Add testcase for GDB hang fixed by previous commit
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2018-01-12 Pedro Alves <palves@redhat.com>
2
3 * gdb.base/continue-after-aborted-step-over.c: New.
4 * gdb.base/continue-after-aborted-step-over.exp: New.
5
6 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
7
8 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
9 options when not creating an executable.
10
11 2018-01-11 Pedro Alves <palves@redhat.com>
12
13 PR remote/22597
14 * gdb.server/stop-reply-no-thread.c: New file.
15 * gdb.server/stop-reply-no-thread.exp: New file.
16
17 2018-01-10 Pedro Alves <palves@redhat.com>
18
19 PR gdb/22670
20 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
21 functions too. Test setting breakpoints and printing C functions
22 with no debug info too.
23 * gdb.ada/bp_c_mixed_case/qux.c: New file.
24
25 2018-01-10 Pedro Alves <palves@redhat.com>
26
27 PR gdb/22670
28 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
29 a fail.
30
31 2018-01-10 Pedro Alves <palves@redhat.com>
32
33 PR gdb/22670
34 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
35
36 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
37
38 * gdb.server/unittest.exp: Match the output in non-development
39 mode.
40
41 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
42
43 * gdb.gdb/unittest.exp: Match output in non-development mode.
44
45 2018-01-08 Joel Brobecker <brobecker@adacore.com>
46
47 * gdb.ada/access_tagged_param.exp: Relax expected output
48 for value of "ObjL" in "continue" to pck.inspect breakpoint
49 test.
50
51 2018-01-08 Joel Brobecker <brobecker@adacore.com>
52
53 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
54 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
55
56 2018-01-05 Pedro Alves <palves@redhat.com>
57
58 PR gdb/18653
59 * gdb.base/libsegfault.exp: New.
60
61 2018-01-05 Joel Brobecker <brobecker@adacore.com>
62
63 PR gdb/22670
64 * gdb.ada/access_tagged_param.exp: New file.
65 * gdb.ada/access_tagged_param/foo.adb: New file.
66
67 2018-01-05 Pedro Alves <palves@redhat.com>
68
69 PR gdb/22670
70 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
71 exercise lower case too, and to exercise both full matching and
72 wild matching.
73
74 2018-01-05 Joel Brobecker <brobecker@adacore.com>
75
76 * gdb.ada/rename_subscript_param: New testcase.
77
78 2018-01-05 Jerome Guitton <guitton@adacore.com>
79
80 * gdb.ada/arr_acc_idx_w_gap: New testcase.
81
82 2018-01-05 Joel Brobecker <brobecker@adacore.com>
83
84 * gdb.ada/convvar_comp: New testcase.
85
86 2018-01-05 Xavier Roirand <roirand@adacore.com>
87
88 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
89 (My_Table): New global variable.
90 * testsuite/gdb.ada/array_char_idx.exp: Add test.
91
92 2018-01-04 Joel Brobecker <brobecker@adacore.com>
93
94 PR gdb/22670
95 * gdb.ada/maint_with_ada: New testcase.
96
97 2018-01-04 Joel Brobecker <brobecker@adacore.com>
98
99 PR gdb/22670
100 * gdb.ada/bp_c_mixed_case: New testcase.
101
102 2018-01-04 Joel Brobecker <brobecker@adacore.com>
103
104 PR gdb/22670
105 * gdb.ada/complete.exp: Add "complete break ada" test.
106
107 2018-01-04 Joel Brobecker <brobecker@adacore.com>
108
109 PR gdb/22670
110 * gdb.ada/info_addr_mixed_case: New testcase.
111
112 2018-01-03 Xavier Roirand <roirand@adacore.com>
113
114 * gdb.ada/excep_handle.exp: New testcase.
115 * gdb.ada/excep_handle/foo.adb: New file.
116 * gdb.ada/excep_handle/pck.ads: New file.
117
118 2018-01-03 Joel Brobecker <brobecker@adacore.com>
119
120 * gdb.base/step-line.c: Add extra empty line in copyright header.
121 * gdb.base/step-line.inp: Likewise.
122
123 2018-01-02 Joel Brobecker <brobecker@adacore.com>
124
125 * gdb.ada/dyn_stride.exp: Add slice test.
126
127 2018-01-02 Joel Brobecker <brobecker@adacore.com>
128
129 * gdb.ada/dyn_stride: New testcase.
130
131 2017-12-27 Stafford Horne <shorne@gmail.com>
132
133 * gdb.xml/extra-regs.xml: Add example foo reggroup.
134 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
135
136 2017-12-27 Stafford Horne <shorne@gmail.com>
137
138 * gdb.base/reggroups.c: New file.
139 * gdb.base/reggroups.exp: New file.
140
141 2017-12-18 Joel Brobecker <brobecker@adacore.com>
142
143 * gdb.dwarf2/ada-valprint-error.c: New file.
144 * gdb.dwarf2/ada-valprint-error.exp: New file.
145
146 2017-12-18 Joel Brobecker <brobecker@adacore.com>
147
148 * gdb.ada/assign_arr: New testcase.
149
150 2017-12-18 Xavier Roirand <roirand@adacore.com>
151
152 * gdb.ada/funcall_ptr: New testcase.
153
154 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
155
156 PR cli/16224
157 * gdb.base/ptype-offsets.cc: New file.
158 * gdb.base/ptype-offsets.exp: New file.
159
160 2017-12-15 Yao Qi <yao.qi@linaro.org>
161
162 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
163 if XML is disabled.
164
165 2017-12-15 Xavier Roirand <roirand@adacore.com>
166
167 * gdb.ada/same_component_name: New testcase.
168
169 2017-12-14 Joel Brobecker <brobecker@adacore.com>
170
171 * gdb.ada/str_binop_equal: New testcase.
172
173 2017-12-14 Joel Brobecker <brobecker@adacore.com>
174
175 * gdb.ada/task_switch_in_core: New testcase.
176
177 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
178
179 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
180 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
181 call test_bkpt_qualified.
182 (test_bkpt_qualified): New proc.
183
184 2017-12-13 Pedro Alves <palves@redhat.com>
185
186 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
187 Tighten regexp by matching with an anchor.
188
189 2017-12-13 Pedro Alves <palves@redhat.com>
190
191 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
192 ("expression with namespace"): New set of tests.
193 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
194 (Nested::Test_NS::qux): New.
195 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
196 defaults to 'start_quote_char' and 'end_quote_char' parameters.
197
198 2017-12-13 Joel Brobecker <brobecker@adacore.com>
199
200 * gdb.base/server-del-break.c: New file.
201 * gdb.base/server-del-break.exp: New file.
202
203 2017-12-12 Stafford Horne <shorne@gmail.com>
204
205 * gdb.xml/tdesc-regs.exp: Add or1k support.
206
207 2017-12-12 Stafford Horne <shorne@gmail.com>
208
209 * gdb.base/bp-permanent.c: Define nop of or1k.
210
211 2017-12-11 Joel Brobecker <brobecker@adacore.com>
212
213 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
214 output with components being reordered.
215
216 2017-12-11 Joel Brobecker <brobecker@adacore.com>
217
218 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
219 output with components being reordered.
220
221 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
222 Pedro Alves <palves@redhat.com>
223
224 * gdb.base/maint.exp (check for .gdb_index): Check also for
225 .debug_names.
226 * gdb.dlang/watch-loc.c (.debug_aranges): New.
227 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
228 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
229 (.gdb_index used after symbol reloading): Support also .debug_names.
230 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
231
232 2017-12-08 Yao Qi <yao.qi@linaro.org>
233
234 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
235 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
236
237 2017-12-08 Yao Qi <yao.qi@linaro.org>
238
239 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
240 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
241
242 2017-12-08 Yao Qi <yao.qi@linaro.org>
243
244 * gdb.arch/aarch64-tagged-pointer.c: New file.
245 * gdb.arch/aarch64-tagged-pointer.exp: New file.
246
247 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
248
249 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
250 "int".
251
252 2017-12-07 Keith Seitz <keiths@redhat.com>
253
254 PR breakpoints/22569
255 * gdb.linespec/ls-errs.exp: Change expected result of "break
256 -source this file has spaces.c -line 3".
257 Check that an explicit source file followed by whitespace is
258 identified as an invalid explicit location.
259
260 2017-12-07 Keith Seitz <keiths@redhat.com>
261
262 * gdb.cp/nested-types.cc: New file.
263 * gdb.cp/nested-types.exp: New file.
264 * lib/cp-support.exp: Load data-structures.exp library.
265 (debug_cp_test_ptype_class): New global.
266 (cp_ptype_class_verbose, next_line): New procedures.
267 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
268 Add and document new return value.
269 Switch the list of lines to a queue.
270 Add support for new `type' key for nested type definitions.
271 Add debugging/troubleshooting messages.
272 * lib/data-structures.exp: New file.
273
274 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
275
276 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
277 with proc_with_prefix, don't use with_test_prefix.
278
279 2017-12-07 Tom Tromey <tom@tromey.com>
280
281 * gdb.base/break.exp: Add test for empty "commands".
282
283 2017-12-07 Yao Qi <yao.qi@linaro.org>
284
285 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
286 malloc and catch syscall.
287
288 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
289
290 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
291 tests for explicit locations.
292
293 2017-12-06 Pedro Alves <palves@redhat.com>
294
295 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
296 force-disabling XML descriptions.
297
298 2017-12-04 Pedro Alves <palves@redhat.com>
299
300 PR gdb/22499
301 * gdb.arch/amd64-disp-step-avx.S: New file.
302 * gdb.arch/amd64-disp-step-avx.exp: New file.
303
304 2017-12-03 Pedro Alves <palves@redhat.com>
305
306 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
307 and <string.h>.
308 (parent_function): Print distinct messages when waitpid fails, or
309 the child exits with a signal, or the child exits for an unhandled
310 reason.
311 * gdb.threads/process-dies-while-detaching.exp
312 (detach_and_expect_exit): New 'inf_output_re' parameter and use
313 it. Wait for both inferior output and GDB's prompt. Use an
314 indirect spawn id list.
315 (do_detach): New parameter 'child_exit'. Use it to compute
316 expected inferior output.
317 (test_detach, test_detach_watch, test_detach_killed_outside):
318 Adjust to pass down the expected child exit kind.
319
320 2017-12-01 Joel Brobecker <brobecker@adacore.com>
321 Sergio Durigan Junior <sergiodj@redhat.com>
322 Pedro Alves <palves@redhat.com>
323
324 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
325
326 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
327
328 * gdb.base/relocate.exp: Add tests to guarantee that arguments
329 to 'symbol-file' and 'add-symbol-file' can be
330 position-independent.
331
332 2017-12-01 Yao Qi <yao.qi@linaro.org>
333
334 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
335 the URL in copyright header.
336 * gdb.arch/aarch64-fp.exp: Likewise.
337 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
338 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
339 * gdb.base/expand-psymtabs.exp: Likewise.
340 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
341 * gdb.fortran/common-block.exp: Likewise.
342 * gdb.fortran/common-block.f90: Likewise.
343 * gdb.fortran/logical.exp: Likewise.
344 * gdb.fortran/vla-datatypes.f90: Likewise.
345 * gdb.fortran/vla-sub.f90: Likewise.
346
347 2017-11-30 Joel Brobecker <brobecker@adacore.com>
348
349 * gdb.ada/repeat_dyn: New testcase.
350
351 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
352
353 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
354 Update for changed thread numbering.
355 * gdb.cell/bt.exp: Update for changed GDB output.
356
357 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
358
359 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
360 setting isremote by hand.
361 * boards/dwarf4-gdb-index.exp: Likewise.
362 * boards/fission.exp: Likewise.
363 * boards/stabs.exp: Likewise.
364
365 2017-11-30 Pedro Alves <palves@redhat.com>
366
367 * gdb.linespec/cpls-ops.exp
368 (check_explicit_skips_function_argument): Extract the underlying
369 type of size_t instead of hardcoding it.
370
371 2017-11-29 Pedro Alves <palves@redhat.com>
372
373 PR c++/19436
374 * gdb.linespec/cpls-abi-tag.cc: New file.
375 * gdb.linespec/cpls-abi-tag.exp: New file.
376
377 2017-11-29 Pedro Alves <palves@redhat.com>
378
379 * gdb.base/langs.exp: Use -qualified.
380 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
381 it.
382 * gdb.cp/namespace.exp: Use -qualified.
383 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
384 (overload-3, template-overload, template-ret-type, const-overload)
385 (const-overload-quoted, anon-ns, ambiguous-prefix): New
386 procedures.
387 (test_driver): Call them.
388 * gdb.cp/save-bp-qualified.cc: New.
389 * gdb.cp/save-bp-qualified.exp: New.
390 * gdb.linespec/explicit.exp: Test -qualified.
391 * lib/completion-support.exp (completion::explicit_opts_list): Add
392 "-qualified".
393 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
394
395 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
396
397 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
398
399 2017-11-29 Tom Tromey <tom@tromey.com>
400
401 * gdb.base/relocate.exp: Update invalid argument test.
402 Add new tests for invalid arguments.
403
404 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
405
406 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
407 Return 0 as a long.
408 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
409
410 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
411
412 * gdb.cp/breakpoint.cc (bar): Set return type to void.
413 * gdb.cp/psymtab-parameter.cc (func): Likewise.
414 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
415 func ().
416 * gdb.cp/shadow.cc (B.func): Return 0.
417
418 2017-11-27 Joel Brobecker <brobecker@adacore.com>
419
420 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
421 expected output in gdb_expect call to allow the exception
422 message to be present as well. Fix syntax confusion to avoid
423 TCL thinking that exception_name is an array.
424
425 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
426
427 * gdb.arch/spu-info.c: Include <unistd.h>.
428 (do_signal_test): Fix broken calls to write.
429 * gdb.arch/spu-info.exp: Use prepare_for_testing.
430 Fix checks for empty mailboxes. Update signal tests for corrected
431 do_signal_test routine. Allow nonzero event status.
432 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
433 * gdb.cell/arch.exp: Use standard_output_file.
434 * gdb.cell/break.exp: Likewise.
435 * gdb.cell/bt.exp: Likewise.
436 * gdb.cell/core.exp: Likewise.
437 * gdb.cell/dwarfaddr.exp: Likewise.
438 * gdb.cell/ea-cache.exp: Likewise.
439 * gdb.cell/ea-standalone.exp: Likewise.
440 * gdb.cell/f-regs.exp: Likewise.
441 * gdb.cell/fork.exp: Likewise.
442 * gdb.cell/gcore.exp: Likewise.
443 * gdb.cell/mem-access.exp: Likewise.
444 * gdb.cell/ptype.exp: Likewise.
445 * gdb.cell/registers.exp: Likewise.
446 * gdb.cell/sizeof.exp: Likewise.
447 * gdb.cell/solib-symbol.exp: Likewise.
448 * gdb.cell/solib.exp: Likewise.
449
450 2017-11-25 Pedro Alves <palves@redhat.com>
451
452 * gdb.base/complete-empty.exp: New file.
453 * gdb.base/completion.exp: Adjust.
454
455 2017-11-25 Pedro Alves <palves@redhat.com>
456
457 * gdb.linespec/cpls-ops.cc: New file.
458 * gdb.linespec/cpls-ops.exp: New file.
459 * lib/completion-support.exp (test_complete_prefix_range_re): New,
460 factored out from ...
461 (test_complete_prefix_range): ... this.
462
463 2017-11-24 Pedro Alves <palves@redhat.com>
464
465 * gdb.linespec/cpcompletion.exp: New file.
466 * gdb.linespec/cpls-hyphen.cc: New file.
467 * gdb.linespec/cpls.cc: New file.
468 * gdb.linespec/cpls2.cc: New file.
469 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
470 test to use test_gdb_complete_unique. Add label completion,
471 keyword completion and explicit location completion tests.
472 * lib/completion-support.exp: New file.
473
474 2017-11-24 Joel Brobecker <brobecker@adacore.com>
475
476 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
477 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
478 when hitting an exception catchpoint.
479
480 2017-11-22 Yao Qi <yao.qi@linaro.org>
481
482 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
483
484 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
485
486 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
487 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
488 * gdb.dwarf2/info-locals-optimized-out.c: New file.
489
490 2017-11-22 Yao Qi <yao.qi@linaro.org>
491
492 * gdb.base/info-os.exp: Pass pthreads.
493 * gdb.multi/multi-attach.exp: Likewise.
494
495 2017-11-22 Yao Qi <yao.qi@linaro.org>
496
497 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
498 compiler.
499
500 2017-11-22 Yao Qi <yao.qi@linaro.org>
501
502 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
503 * gdb.base/break-interp.exp: Likewise.
504 * gdb.base/jit-attach-pie.exp: Likewise.
505
506 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
507
508 * gdb.base/float128.c (large128): New variable.
509 * gdb.base/float128.exp: Add test to print largest __float128 value.
510
511 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
512
513 * gdb.arch/vsx-regs.exp: Update register content checks.
514
515 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
516
517 * gdb.arch/ppc-longdouble.exp: New file.
518 * gdb.arch/ppc-longdouble.c: Likewise.
519
520 2017-11-21 Pedro Alves <palves@redhat.com>
521
522 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
523
524 2017-11-20 Pedro Alves <palves@redhat.com>
525
526 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
527 (long_double_typedef): New typedefs.
528 Use DEF on double and long double.
529 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
530 cases.
531 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
532 and 'long_double_ptr_same_size' locals. Use them to decide
533 whether cast from array/function to float is valid/invalid.
534
535 2017-11-17 Tom Tromey <tom@tromey.com>
536
537 * gdb.rust/traits.rs: New file.
538 * gdb.rust/traits.exp: New file.
539
540 2017-11-17 Joel Brobecker <brobecker@adacore.com>
541
542 * gdb.ada/minsyms: New testcase.
543
544 2017-11-16 Pedro Alves <palves@redhat.com>
545
546 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
547 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
548
549 2017-11-16 Pedro Alves <palves@redhat.com>
550
551 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
552 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
553
554 2017-11-16 Pedro Alves <palves@redhat.com>
555
556 * gdb.server/reconnect-ctrl-c.c: New file.
557 * gdb.server/reconnect-ctrl-c.exp: New file.
558
559 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
560
561 * gdb.python/py-rbreak.exp: New file.
562 * gdb.python/py-rbreak.c: New file.
563 * gdb.python/py-rbreak-func2.c: New file.
564
565 2017-11-16 Pedro Alves <palves@redhat.com>
566
567 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
568 pattern.
569 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
570 GDB.
571
572 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
573
574 * gdb.tui/completionn.exp (test_tab_completion): Add space in
575 regex.
576
577 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
578
579 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
580 test names.
581
582 2017-11-09 Pedro Alves <palves@redhat.com>
583
584 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
585 factored out from ...
586 (top level): ... here, and adjusted to avoid expecting beyond the
587 prompt in a single gdb_test_multiple.
588
589 2017-11-09 Pedro Alves <palves@redhat.com>
590
591 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
592 output.
593 * gdb.server/ext-attach.exp ("kill" test): Likewise.
594 * gdb.server/ext-restart.exp ("kill" test): Likewise.
595 * gdb.server/ext-run.exp ("kill" test): Likewise.
596 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
597
598 2017-11-09 Pedro Alves <palves@redhat.com>
599
600 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
601 match till end of line.
602
603 2017-11-09 Pedro Alves <palves@redhat.com>
604
605 * gdb.base/memattr.exp: Tighten regexes to match the end line.
606
607 2017-11-09 Pedro Alves <palves@redhat.com>
608
609 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
610 New procedures, factored out from ...
611 (top level): ... here, and adjusted to avoid expecting beyond the
612 prompt in one go.
613
614 2017-11-09 Pedro Alves <palves@redhat.com>
615
616 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
617 output. Fix '?' match.
618
619 2017-11-08 Joel Brobecker <brobecker@adacore.com>
620
621 * gdb.ada/scoped_watch: New testcase.
622 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
623 which is actually correct.
624 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
625 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
626
627 2017-11-08 Pedro Alves <palves@redhat.com>
628
629 * gdb.gdb/complaints.exp (test_initial_complaints)
630 (test_serial_complaints, test_short_complaints): Call
631 complaint_internal instead of complaint.
632
633 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
634
635 * gdb.threads/tls-core.c: New file.
636 * gdb.threads/tls-core.exp: Likewise.
637
638 2017-11-08 Pedro Alves <palves@redhat.com>
639
640 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
641 (p Exported_Capitalized): New test.
642 (p exported_capitalized): New test.
643
644 2017-11-07 Pedro Alves <palves@redhat.com>
645
646 * gdb.cp/ena-dis-br-range.exp: Add more tests.
647
648 2017-11-07 Pedro Alves <palves@redhat.com>
649
650 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
651 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
652 (disable_invalid, disable_inverted, disable_negative): New
653 procedures.
654 ("bad numbers"): New set of tests.
655
656 2017-11-07 Pedro Alves <palves@redhat.com>
657
658 * gdb.cp/ena-dis-br-range.exp: Add tests.
659
660 2017-11-07 Pedro Alves <palves@redhat.com>
661
662 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
663
664 2017-11-07 Xavier Roirand <roirand@adacore.com>
665 Pedro Alves <palves@redhat.com>
666
667 * gdb.base/ena-dis-br.exp: Add reference to
668 gdb.cp/ena-dis-br-range.exp.
669 * gdb.cp/ena-dis-br-range.exp: New file.
670 * gdb.cp/ena-dis-br-range.cc: New file.
671
672 2017-11-06 Pedro Alves <palves@redhat.com>
673
674 * gdb.base/attach-non-pgrp-leader.c: New.
675 * gdb.base/attach-non-pgrp-leader.exp: New.
676
677 2017-11-06 Pedro Alves <palves@redhat.com>
678
679 * configure.ac: No longer check for termio.h and sgtty.h.
680 * configure: Regenerate.
681 * remote-utils.c: Include termios.h instead of gdb_termios.h.
682 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
683 Remove termio and sgtty code.
684
685 2017-11-03 Yao Qi <yao.qi@linaro.org>
686
687 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
688 in GDB is disabled.
689
690 2017-11-03 Yao Qi <yao.qi@linaro.org>
691
692 * gdb.python/py-thrhandle.exp: Skip it if python is not
693 enabled.
694
695 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
696
697 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
698 as a breakpoint command.
699
700 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
701
702 PR python/21213
703 * gdb.python/py-infthread.exp: Test calling
704 InferiorThread.inferior () multiple times in a row.
705
706 2017-10-27 Keith Seitz <keiths@redhat.com>
707
708 * gdb.opt/inline-break.exp (break_info_1): New procedure.
709 Test "info break" for every inlined function breakpoint.
710
711 2017-10-27 Yao Qi <yao.qi@linaro.org>
712
713 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
714
715 2017-10-26 Patrick Frants <osscontribute@gmail.com>
716
717 * gdb.cp/classes.exp (test_static_members): Test printing
718 Outer::instance.
719 * gdb.cp/classes.c (struct Inner, struct Outer): New.
720 (Inner::instance, Outer::instance): New.
721
722 2017-10-24 Pedro Alves <palves@redhat.com>
723
724 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
725 extra console" test in two stages.
726
727 2017-10-24 Pedro Alves <palves@redhat.com>
728
729 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
730
731 2017-10-24 Pedro Alves <palves@redhat.com>
732
733 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
734 loop.
735
736 2017-10-24 Pedro Alves <palves@redhat.com>
737
738 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
739 $attempt" and "stoppedtry $stoppedtry" test prefixes.
740
741 2017-10-24 Pedro Alves <palves@redhat.com>
742
743 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
744 parameter and handle it. Don't output read value in test name.
745
746 2017-10-24 Pedro Alves <palves@redhat.com>
747
748 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
749 custom test name.
750
751 2017-10-24 Pedro Alves <palves@redhat.com>
752
753 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
754 include the unstable output directory name in the test's name.
755 (initial_setup_simple) <'set args'>: Use custom test name.
756
757 2017-10-24 Pedro Alves <palves@redhat.com>
758
759 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
760 with explicit test name.
761
762 2017-10-20 Pedro Alves <palves@redhat.com>
763
764 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
765 'wait -i'. Use gdb_assert and remote_close.
766
767 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
768
769 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
770 number from variable rather than hard-coded.
771
772 2017-10-19 Pedro Alves <palves@redhat.com>
773
774 * gdb.base/long-inferior-output.c: New file.
775 * gdb.base/long-inferior-output.exp: New file.
776
777 2017-11-18 Keith Seitz <keiths@redhat.com>
778
779 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
780 method.
781 (main): Call it.
782 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
783 Add additional user-defined conversion operator tests.
784
785 2017-10-17 Pedro Alves <palves@redhat.com>
786
787 * boards/native-stdio-gdbserver.exp: Load "local-board".
788
789 2017-10-17 Pedro Alves <palves@redhat.com>
790
791 * gdb.base/quit-live.c: New file.
792 * gdb.base/quit-live.exp: New file.
793
794 2017-10-16 Keith Seitz <keiths@redhat.com>
795
796 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
797 (class_with_protected_typedef, class_with_private_typedef)
798 (struct_with_public_typedef, struct_with_protected_typedef)
799 (struct_with_private_typedef): New classes/structs.
800 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
801 typedefs and access specifiers.
802
803 2017-10-16 Pedro Alves <palves@redhat.com>
804 Simon Marchi <simon.marchi@polymtl.ca>
805
806 * README (Local vs Remote vs Native): New section.
807 * boards/local-board.exp: New file, with bits factored out from
808 ...
809 * boards/native-extended-gdbserver.exp: ... here. Load
810 "local-board".
811 * boards/native-gdbserver.exp: Load "local-board".
812 (${board}_spawn, ${board}_exec): Delete.
813 * boards/native-stdio-gdbserver.exp: Most contents factored out to
814 ...
815 * boards/stdio-gdbserver-base.exp: ... this new file.
816 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
817 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
818 procedure.
819 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
820 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
821 stdio_gdbserver_command.
822 (${board}_get_remote_address, ${board}_get_comm_port)
823 (${board}_download, ${board}_upload): Delete.
824 (get_target_remote_pipe_cmd): New.
825
826 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
827
828 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
829 test_bkpt_deletion, test_bkpt_cond_and_cmds,
830 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
831 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
832 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
833 remove with_test_prefix.
834
835 2017-10-13 Pedro Alves <palves@redhat.com>
836
837 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
838 * gdb.base/annota1.exp: Use it instead of is_remote.
839 * gdb.base/annota3.exp: Use it instead of is_remote.
840 * gdb.cp/annota2.exp: Use it instead of is_remote.
841 * gdb.cp/annota3.exp: Use it instead of is_remote.
842 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
843
844 2017-10-13 Pedro Alves <palves@redhat.com>
845
846 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
847 (test_num_test_vars, run_and_count_vars, find_env)
848 (test_set_unset_env, test_inherit_env_var): New procedures.
849 (top level): Use them.
850
851 2017-10-13 Pedro Alves <palves@redhat.com>
852
853 * lib/selftest-support.exp (selftest_setup): Extend comments, and
854 also skip on stub-like targets.
855
856 2017-10-13 Pedro Alves <palves@redhat.com>
857
858 PR gdb/22293
859 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
860 (top level): Move some tests to ...
861 (test_not_found): ... this new procedure.
862 (top level): Call it.
863
864 2017-10-13 Pedro Alves <palves@redhat.com>
865
866 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
867 expect different "info terminal" output if testing with a
868 non-native target.
869
870 2017-10-13 Pedro Alves <palves@redhat.com>
871 Simon Marchi <simon.marchi@polymtl.ca>
872
873 PR python/12966
874 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
875
876 2017-10-13 Pedro Alves <palves@redhat.com>
877
878 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
879 already.
880
881 2017-10-13 Pedro Alves <palves@redhat.com>
882
883 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
884 is_remote.
885
886 2017-10-13 Pedro Alves <palves@redhat.com>
887
888 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
889 is_remote.
890
891 2017-10-13 Pedro Alves <palves@redhat.com>
892
893 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
894 is set.
895 (corefile_test_attach): Likewise. Check can_spawn_for_attach
896 instead of is_remote.
897
898 2017-10-13 Pedro Alves <palves@redhat.com>
899
900 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
901 (top level): Add comment.
902
903 2017-10-13 Pedro Alves <palves@redhat.com>
904
905 * gdb.base/remote.exp (top level): Fix comment typo and add
906 missing return.
907
908 2017-10-13 Pedro Alves <palves@redhat.com>
909 Simon Marchi <simon.marchi@polymtl.ca>
910
911 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
912 calls and add comments. Skip test if use_gdb_stub is set.
913 (top level): Use "set cwd" command instead of "cd" command.
914
915 2017-10-13 Pedro Alves <palves@redhat.com>
916
917 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
918 is_remote target check.
919
920 2017-10-13 Pedro Alves <palves@redhat.com>
921
922 * gdb.base/scope.exp: Use build_executable + clean_restart +
923 gdb_file_cmd instead of prepare_for_testing and no longer skip
924 "before run" tests on is_remote target boards. Update comments.
925 * boards/native-extended-gdbserver.exp
926 (extended_gdbserver_load_last_file): New, factored out from ...
927 (gdb_load): ... this. Move further below and add comment.
928 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
929
930 2017-10-12 Pedro Alves <palves@redhat.com>
931
932 * gdb.base/attach.exp: Remove references to gdb64.
933 * gdb.base/dbx.exp: Remove references to gdb64.
934
935 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
936 Pedro Alves <palves@redhat.com>
937
938 * gdb.base/label.exp: Remove is_remote target check.
939
940 2017-10-12 Pedro Alves <palves@redhat.com>
941
942 * gdb.base/auvx.exp (coredir): Update comment.
943 (top level) <core_works>: Use "set cwd" command instead of "cd"
944 command.
945
946 2017-10-12 Pedro Alves <palves@redhat.com>
947 Simon Marchi <simon.marchi@polymtl.ca>
948
949 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
950 target boards.
951
952 2017-10-12 Pedro Alves <palves@redhat.com>
953 Simon Marchi <simon.marchi@polymtl.ca>
954
955 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
956 Instead skip if there's any gdb_protocol set.
957
958 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
959 Pedro Alves <palves@redhat.com>
960
961 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
962
963 2017-10-12 Pedro Alves <palves@redhat.com>
964 Simon Marchi <simon.marchi@polymtl.ca>
965
966 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
967 instead of on dejagnu remote boards.
968
969 2017-10-12 Pedro Alves <palves@redhat.com>
970 Simon Marchi <simon.marchi@polymtl.ca>
971
972 * gdb.base/inferior-died.exp: Remove is_remote and isnative
973 checks. Use build_executable + clean_restart instead of
974 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
975 of enabling non-stop after starting gdb.
976
977 2017-10-12 Pedro Alves <palves@redhat.com>
978
979 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
980 * gdb.threads/non-ldr-exc-2.exp: Ditto.
981 * gdb.threads/non-ldr-exc-3.exp: Ditto.
982 * gdb.threads/non-ldr-exc-4.exp: Ditto.
983
984 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
985
986 * gdb.arch/arc-tdesc-cpu.exp: New file.
987 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
988
989 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
990
991 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
992
993 2017-10-10 Pedro Alves <palves@redhat.com>
994
995 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
996 expect CLI output.
997
998 2017-10-10 Pedro Alves <palves@redhat.com>
999
1000 * lib/selftest-support.exp (selftest_setup): Update for
1001 captured_command_loop's prototype change.
1002
1003 2017-10-09 Pedro Alves <palves@redhat.com>
1004
1005 Test both arch1=>arch2 and arch2=>arch1.
1006
1007 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
1008 (srcfile2, binfile2, march1, march2): Remove globals. Largely
1009 factored out to...
1010 (append_arch1_options, append_arch2_options, append_arch_options)
1011 (build_executables): New procedures.
1012 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
1013 local.
1014 (top level): Add new 'first_arch' testing axis.
1015
1016 2017-10-09 Pedro Alves <palves@redhat.com>
1017
1018 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
1019 (barrier): New.
1020 (thread_start, all_started): New functions.
1021 (main): Spawn new thread and wait until it is scheduled.
1022 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
1023 option.
1024 (do_test): Add 'selected_thread' parameter. Run to all_started
1025 instead of main. Explicitly set the breakpoint at main. Switch
1026 to the SELECTED_THREAD thread.
1027 (top level): Test handling the exec event with either the main
1028 thread or the second thread selected.
1029
1030 2017-10-09 Pedro Alves <palves@redhat.com>
1031
1032 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
1033 logic. Move STOP marker after the value checks.
1034 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
1035 regexp.
1036
1037 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
1038
1039 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
1040
1041 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
1042
1043 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
1044 integer-to-dfp conversion.
1045 * gdb.base/dfp-test.exp: Likewise.
1046
1047 2017-10-04 Pedro Alves <palves@redhat.com>
1048
1049 * gdb.multi/hangout.c: Include <unistd.h>.
1050 (hangout_loop): New function.
1051 (main): Call alarm. Call hangout_loop in a loop.
1052 * gdb.multi/hello.c: Include <unistd.h>.
1053 (hello_loop): New function.
1054 (main): Call alarm. Call hangout_loop in a loop.
1055 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
1056 inferior with the other selected.
1057
1058 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
1059
1060 * gdb.mi/list-thread-groups-available.exp: New file.
1061 * gdb.mi/list-thread-groups-available.c: New file.
1062
1063 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
1064
1065 * gdb.base/set-cwd.exp: Make it available on
1066 native-extended-gdbserver.
1067
1068 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
1069
1070 * gdb.base/set-cwd.c: New file.
1071 * gdb.base/set-cwd.exp: Likewise.
1072
1073 2017-10-02 Tom Tromey <tom@tromey.com>
1074
1075 PR rust/22236:
1076 * gdb.rust/simple.rs (main): New variable "fslice".
1077 * gdb.rust/simple.exp: Add slice tests. Update string tests.
1078
1079 2017-10-02 Tom Tromey <tom@tromey.com>
1080
1081 * gdb.rust/simple.exp: Test ptype of a slice.
1082
1083 2017-10-02 Tom Tromey <tom@tromey.com>
1084
1085 * gdb.rust/simple.exp: Test index of slice.
1086
1087 2017-09-27 Tom Tromey <tom@tromey.com>
1088
1089 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
1090
1091 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
1092 Pedro Alves <palves@redhat.com>
1093
1094 * gdb.base/compare-sections.exp (get value of read-only section): Read
1095 as unsigned value.
1096 (corrupt read-only section): Likewise and don't set written if patching
1097 failed.
1098
1099 2017-09-21 Kevin Buettner <kevinb@redhat.com>
1100
1101 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
1102 files.
1103
1104 2017-09-20 Pedro Alves <palves@redhat.com>
1105
1106 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
1107 symbol names in gdb's output.
1108 * gdb.cp/overload.exp ("list all overloads"): Likewise.
1109
1110 2017-09-20 Pedro Alves <palves@redhat.com>
1111
1112 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
1113 Rename to ...
1114 (test_list_ambiguous_symbol): ... this and add a symbol name
1115 parameter. Adjust.
1116 (test_list_ambiguous_function): Reimplement on top of
1117 test_list_ambiguous_symbol and also test listing ambiguous
1118 variables.
1119 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
1120 (ambiguous_fun): ... this.
1121 (ambiguous_var): New.
1122 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
1123 (ambiguous_fun): ... this.
1124 (ambiguous_var): New.
1125
1126 2017-09-19 John Baldwin <jhb@FreeBSD.org>
1127
1128 * gdb.base/starti.c: New file.
1129 * gdb.base/starti.exp: New file.
1130 * lib/gdb.exp (gdb_starti_cmd): New procedure.
1131
1132 2017-09-14 Pedro Alves <palves@redhat.com>
1133
1134 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
1135 (top level): Use it instead of runto.
1136
1137 2017-09-11 Tom Tromey <tom@tromey.com>
1138
1139 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
1140
1141 2017-09-11 Tom Tromey <tom@tromey.com>
1142
1143 * gdb.python/py-infthread.exp: Add tests for new_thread event.
1144 * gdb.python/py-inferior.exp: Add tests for new inferior events.
1145
1146 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
1147
1148 * gdb.fortran/printing-types.exp: New file.
1149 * gdb.fortran/printing-types.exp: New file.
1150
1151 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
1152
1153 * gdb.fortran/vla-ptype.exp: Fix typos.
1154 * gdb.fortran/vla-value.exp: Same.
1155
1156 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
1157
1158 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
1159 * gdb.mi/mi-var-child-f.exp: Likewise.
1160 * gdb.mi/mi-vla-fortran.exp: Likewise.
1161
1162 2017-09-08 Frank Penczek <frank.penczek@intel.com>
1163 Christoph Weinmann <christoph.t.weinmann@intel.com>
1164 Bernhard Heckel <bernhard.heckel@intel.com>
1165
1166 * gdb.fortran/ptr-indentation.f90: New file.
1167 * gdb.fortran/ptr-indentation.exp: New file.
1168
1169 2017-09-05 Tom Tromey <tom@tromey.com>
1170
1171 PR gdb/22010:
1172 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
1173
1174 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1175
1176 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
1177
1178 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1179
1180 * gdb.threads/tls-nodebug-pie.c: New file.
1181 * gdb.threads/tls-nodebug-pie.exp: New file.
1182
1183 2017-09-05 Tom Tromey <tom@tromey.com>
1184
1185 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
1186 for rust.
1187
1188 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
1189
1190 * gdb.multi/multi-arch-exec.exp: Test with different
1191 "follow-exec-mode" settings.
1192 (do_test): New procedure.
1193
1194 2017-09-04 Pedro Alves <palves@redhat.com>
1195
1196 * gdb.base/func-static.c (S::method const, S::method volatile)
1197 (S::method volatile const): New methods.
1198 (c_s, v_s, cv_s): New instances.
1199 (main): Call method() on them.
1200 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
1201 (cannot_resolve): New procedure.
1202 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
1203 print-quote-unquoted columns.
1204 (do_test): Test printing each scope too.
1205
1206 2017-09-04 Pedro Alves <palves@redhat.com>
1207
1208 * gdb.base/local-static.exp: Also test with
1209 class::method::variable wholly quoted.
1210 * gdb.cp/m-static.exp (class::method::variable): Remove test.
1211
1212 2017-09-04 Pedro Alves <palves@redhat.com>
1213
1214 * gdb.base/local-static.c: New.
1215 * gdb.base/local-static.cc: New.
1216 * gdb.base/local-static.exp: New.
1217
1218 2017-09-04 Pedro Alves <palves@redhat.com>
1219
1220 * gdb.asm/asm-source.exp: Add casts to int.
1221 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
1222 (dataglobal64_1, dataglobal64_2): New globals.
1223 * gdb.base/nodebug.exp: Test different expressions involving the
1224 new globals, with print, whatis and ptype. Add casts to int.
1225 * gdb.base/solib-display.exp: Add casts to int.
1226 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
1227 * gdb.cp/m-static.exp: Add cast to int.
1228 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
1229 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
1230 tls variable with no debug info without a cast. Test with a cast
1231 to int too.
1232 * gdb.trace/entry-values.exp: Add casts.
1233
1234 2017-09-04 Pedro Alves <palves@redhat.com>
1235
1236 * gdb.base/nodebug.exp: Test that ptype's error about functions
1237 with unknown return type includes the function name too.
1238
1239 2017-09-04 Pedro Alves <palves@redhat.com>
1240
1241 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
1242 return type of munmap in infcall.
1243 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
1244 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
1245 type of ftell in infcall.
1246 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
1247 type of getpid in infcall.
1248 * gdb.base/infcall-exec.exp: Cast return type of execlp in
1249 infcall.
1250 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
1251 Bail on failure to extract the pid.
1252 * gdb.base/nodebug.c: #include <stdint.h>.
1253 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
1254 New functions.
1255 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
1256 Change expected output of print/whatis/ptype with functions with
1257 no debug info. Test all supported languages. Call
1258 test_call_promotion.
1259 * gdb.compile/compile.exp: Adjust expected output to expect
1260 warning.
1261 * gdb.threads/siginfo-threads.exp: Likewise.
1262
1263 2017-09-04 Pedro Alves <palves@redhat.com>
1264
1265 * gdb.base/callfuncs.exp (do_function_calls): New parameter
1266 "prototypes". Test calling float functions via prototyped and
1267 unprototyped function pointers.
1268 (perform_all_tests): New parameter "prototypes". Pass it down.
1269 (top level): Pass down "prototypes" parameter to
1270 perform_all_tests.
1271
1272 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
1273
1274 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
1275 Test with nested loops.
1276
1277 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
1278
1279 * gdb.base/commands.exp: Call the new procedures.
1280 (loop_break_test, loop_continue_test): New procedures.
1281
1282 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
1283
1284 * gdb.base/commands.exp: Call new procedure.
1285 (define_if_without_arg_test): New procedure.
1286
1287 2017-09-04 Pedro Alves <palves@redhat.com>
1288
1289 * gdb.base/list-ambiguous.exp: New file.
1290 * gdb.base/list-ambiguous0.c: New file.
1291 * gdb.base/list-ambiguous1.c: New file.
1292 * gdb.base/list.exp (test_list_range): Adjust expected output.
1293
1294 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
1295
1296 * gdb.base/share-env-with-gdbserver.c: New file.
1297 * gdb.base/share-env-with-gdbserver.exp: Likewise.
1298
1299 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
1300
1301 * gdb.base/commands.exp (gdbvar_simple_if_test,
1302 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
1303 progvar_simple_if_test, progvar_simple_while_test,
1304 progvar_complex_if_while_test, user_defined_command_test,
1305 user_defined_command_args_eval,
1306 user_defined_command_args_stack_test,
1307 user_defined_command_manyargs_test, bp_deleted_in_command_test,
1308 temporary_breakpoint_commands,
1309 gdb_test_no_prompt, redefine_hook_test,
1310 redefine_backtrace_test): Remove "global gdb_prompt".
1311
1312 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
1313
1314 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
1315 New proc, call it from toplevel.
1316
1317 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
1318
1319 PR remote/21852
1320 * gdb.server/normal.c: New file, copied from gdb.base.
1321 * gdb.server/run-without-local-binary.exp: New file.
1322
1323 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
1324
1325 * gdb.arch/sparc64-adi.exp: New file.
1326 * gdb.arch/sparc64-adi.c: New file.
1327
1328 2017-08-22 Pedro Alves <palves@redhat.com>
1329
1330 * gdb.cp/overload.exp (line_range_pattern): New procedure.
1331 (top level): Add "list all overloads" tests.
1332
1333 2017-08-22 Tom Tromey <tom@tromey.com>
1334
1335 * gdb.gdb/xfullpath.exp: Remove.
1336
1337 2017-08-21 Pedro Alves <palves@redhat.com>
1338
1339 PR gdb/19487
1340 * gdb.base/symbol-alias.c: New.
1341 * gdb.base/symbol-alias2.c: New.
1342 * gdb.base/symbol-alias.exp: New.
1343
1344 2017-08-21 Pedro Alves <palves@redhat.com>
1345
1346 * gdb.base/dfp-test.c
1347 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
1348 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
1349 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
1350 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
1351 * gdb.base/whatis-ptype-typedefs.c: New.
1352 * gdb.base/whatis-ptype-typedefs.exp: New.
1353 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
1354 (an_int, an_int_type, an_int_type2): New globals.
1355 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
1356 involving typedefs and cast expressions.
1357 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
1358 (lookup_typedefs_function): New.
1359 (typedefs_pretty_printers_dict): New.
1360 (top level): Register lookup_typedefs_function in
1361 gdb.pretty_printers.
1362
1363 2017-08-18 Yao Qi <yao.qi@linaro.org>
1364
1365 * gdb.server/unittest.exp: New.
1366
1367 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
1368
1369 PR gdb/21954
1370 * gdb.base/environ.exp: Add test to check if 'unset environment'
1371 works.
1372
1373 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
1374
1375 * lib/gdb.exp (universal_compile_options): New caching proc.
1376 (gdb_compile): Suppress GCC's coloring of messages.
1377
1378 2017-08-14 Tom Tromey <tom@tromey.com>
1379
1380 PR gdb/21675:
1381 * gdb.base/printcmds.exp (test_radices): New function.
1382 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
1383 * gdb.base/sizeof.exp (check_valueof): Use p/d.
1384 * lib/gdb.exp (get_integer_valueof): Use p/d.
1385
1386 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
1387
1388 * lib/gdb.exp (get_valueof): Don't capture end-of-line
1389 characters.
1390
1391 2017-08-05 Tom Tromey <tom@tromey.com>
1392
1393 * gdb.rust/simple.exp: Allow String to appear in a different
1394 namespace.
1395
1396 2017-07-26 Yao Qi <yao.qi@linaro.org>
1397
1398 * gdb.gdb/unittest.exp: Invoke command
1399 "maintenance check xml-descriptions".
1400
1401 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1402
1403 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
1404 calling context.
1405 (hex128): Drop erroneous calculation of parameters.
1406
1407 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
1408
1409 * gdb.python/py-unwind.exp: Disable stack protection when
1410 building test file.
1411
1412 2017-07-20 Pedro Alves <palves@redhat.com>
1413
1414 * gdb.base/default.exp (set language): Adjust expected output.
1415
1416 2017-07-20 Pedro Alves <palves@redhat.com>
1417
1418 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
1419 (test_minsym): ... this, and make static.
1420 (get_pck__foo__bar__minsym): Rename to ...
1421 (get_test_minsym): ... this.
1422 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
1423 symbol names and comments.
1424 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
1425 (get_test_minsym): ... this.
1426 (pck__foo__bar__minsym__2): Rename to ...
1427 (test_minsym): ... this.
1428 (main): Adjust.
1429
1430 2017-07-17 Pedro Alves <palves@redhat.com>
1431
1432 * gdb.base/completion.exp: Adjust expected output.
1433 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
1434 the completer works.
1435
1436 2017-07-17 Pedro Alves <palves@redhat.com>
1437
1438 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
1439
1440 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
1441
1442 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
1443
1444 2017-07-14 Tom Tromey <tom@tromey.com>
1445
1446 PR rust/21764:
1447 * gdb.rust/simple.exp: Add tests.
1448
1449 2017-07-14 Tom Tromey <tom@tromey.com>
1450
1451 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
1452
1453 2017-07-14 Pedro Alves <palves@redhat.com>
1454
1455 * gdb.linespec/base/one/thefile.cc (z1): New function.
1456 * gdb.linespec/base/two/thefile.cc (z2): New function.
1457 * gdb.linespec/linespec.exp: Add tests.
1458
1459 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
1460
1461 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
1462 to mi_create_breakpoint.
1463
1464 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
1465
1466 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
1467 mi_create_breakpoint.
1468
1469 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
1470
1471 * gdb.dlang/demangle.exp: Update for demangling changes.
1472
1473 2017-07-09 Tom Tromey <tom@tromey.com>
1474
1475 * gdb.dwarf2/shortpiece.exp: New file.
1476
1477 2017-07-06 David Blaikie <dblaikie@gmail.com>
1478
1479 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
1480 built from fissiont-multi-cu{1,2}.c.
1481 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
1482 except putting 'main' and 'func' in separate CUs in the same DWO file.
1483 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
1484 test.
1485 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
1486 test.
1487
1488 2017-07-06 Pedro Alves <palves@redhat.com>
1489
1490 * gdb.python/py-unwind.exp: Test flushregs.
1491
1492 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
1493
1494 PR cli/21688
1495 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
1496 tests for alias commands and trailing whitespace.
1497
1498 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
1499
1500 PR cli/21688
1501 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
1502 procedure. Call it.
1503
1504 2017-06-29 Pedro Alves <palves@redhat.com>
1505
1506 * gdb.base/printcmds.exp: Add tests.
1507
1508 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
1509
1510 PR gdb/21337
1511 * gdb.base/reread-readsym.exp: New file.
1512 * gdb.base/reread-readsym.c: New file.
1513
1514 2017-06-21 Kevin Buettner <kevinb@redhat.com>
1515
1516 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
1517 subpattern.
1518
1519 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
1520
1521 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
1522 extended mnemonic.
1523 * gdb.arch/powerpc-power9.s: Likewise.
1524
1525 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
1526
1527 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
1528 on 32-bit x86 targets. Exploit is_*_target macros where
1529 appropriate.
1530
1531 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1532
1533 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
1534 register pieces.
1535
1536 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1537
1538 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
1539 located in one or more DWARF pieces.
1540
1541 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1542
1543 * lib/gdb.exp (get_endianness): New proc.
1544 * gdb.arch/aarch64-fp.exp: Use it.
1545 * gdb.arch/altivec-regs.exp: Likewise.
1546 * gdb.arch/e500-regs.exp: Likewise.
1547 * gdb.arch/vsx-regs.exp: Likewise.
1548 * gdb.base/dump.exp: Likewise.
1549 * gdb.base/funcargs.exp: Likewise.
1550 * gdb.base/gnu_vector.exp: Likewise.
1551 * gdb.dwarf2/formdata16.exp: Likewise.
1552 * gdb.dwarf2/implptrpiece.exp: Likewise.
1553 * gdb.dwarf2/nonvar-access.exp: Likewise.
1554 * gdb.python/py-inferior.exp: Likewise.
1555 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
1556
1557 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1558
1559 PR gdb/21226
1560 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
1561 stack value pieces are taken from the LSB end.
1562
1563 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1564
1565 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
1566 variable at nonzero offset.
1567
1568 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1569
1570 * gdb.dwarf2/var-access.c: New file.
1571 * gdb.dwarf2/var-access.exp: New test.
1572 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
1573
1574 2017-06-12 Tom Tromey <tom@tromey.com>
1575
1576 * gdb.dwarf2/formdata16.exp: Add tests.
1577
1578 2017-06-12 Tom Tromey <tom@tromey.com>
1579
1580 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
1581
1582 2017-06-12 Tom Tromey <tom@tromey.com>
1583
1584 PR exp/16225:
1585 * gdb.reverse/i386-sse-reverse.exp: Update tests.
1586 * gdb.arch/vsx-regs.exp: Update tests.
1587 * gdb.arch/s390-vregs.exp (hex128): New proc.
1588 Update test.
1589 * gdb.arch/altivec-regs.exp: Update tests.
1590
1591 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
1592
1593 * gdb.base/startup-with-shell.c: New file.
1594 * gdb.base/startup-with-shell.exp: Likewise.
1595
1596 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
1597
1598 * gdb.server/non-existing-program.exp: Update regex in order to
1599 reflect the fact that gdbserver is now using fork_inferior (with a
1600 shell) to startup the inferior.
1601
1602 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
1603
1604 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
1605 support function calls from GDB.
1606
1607 2017-05-21 Tom Tromey <tom@tromey.com>
1608
1609 PR rust/21466:
1610 * gdb.rust/unsized.exp: New file.
1611 * gdb.rust/unsized.rs: New file.
1612
1613 2017-05-19 Tom Tromey <tom@tromey.com>
1614
1615 PR rust/21484:
1616 * gdb.rust/watch.exp: New file.
1617 * gdb.rust/watch.rs: New file.
1618
1619 2017-05-18 Tom Tromey <tom@tromey.com>
1620
1621 * gdb.rust/simple.exp: Allow Box to be qualified.
1622
1623 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
1624
1625 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
1626
1627 2017-05-18 Pedro Alves <palves@redhat.com>
1628
1629 * gdb.base/fileio.c (test_write, test_read, test_close)
1630 (test_fstat): Don't print 'ret' in the fail path.
1631
1632 2017-05-18 Pedro Alves <palves@redhat.com>
1633
1634 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
1635 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
1636 (test_system, test_rename, test_unlink, test_time): Change
1637 prototypes.
1638 * gdb.base/fileio.exp (stop_msg): Adjust.
1639
1640 2017-05-18 Pedro Alves <palves@redhat.com>
1641
1642 * gdb.base/fileio.c (null_str): New global.
1643 (test_stat): Use it.
1644 * gdb.base/fileio.exp: Remove nowarnings.
1645
1646 2017-05-17 Yao Qi <yao.qi@linaro.org>
1647
1648 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
1649
1650 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
1651
1652 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
1653 argument command.
1654 (top-level): Invoke test_set_inferior_tty.
1655
1656 2017-05-04 Pedro Alves <palves@redhat.com>
1657
1658 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
1659 Add parens to print call for Python 3.
1660
1661 2017-05-03 Keith Seitz <keiths@redhat.com>
1662
1663 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
1664 (main): Call it.
1665
1666 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
1667
1668 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
1669 to prev and next.
1670
1671 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
1672
1673 * gdb.python/py-record-btrace.exp: Remove test for
1674 gdb.BtraceInstruction.error.
1675
1676 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
1677
1678 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
1679
1680 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
1681
1682 * gdb.python/py-record-btrace-threads.c: New file.
1683 * gdb.python/py-record-btrace-threads.exp: New file.
1684
1685 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
1686
1687 PR testsuite/8595
1688 * gdb.base/environ.exp: Make test available in all architectures.
1689 Move bits related to "info program" testing to
1690 gdb.base/info-program.exp. Rewrite tests to use the two new
1691 procedures mentione below.
1692 (test_set_show_env_var) New procedure.
1693 (test_set_show_env_var_equal): Likewise.
1694 * gdb.base/info-program.exp: New file.
1695
1696 2017-04-27 Keith Seitz <keiths@redhat.com>
1697
1698 * gdb.cp/oranking.cc (test15): New function.
1699 (main): Call test15 and declare additional variables for testing.
1700 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
1701 "p foo101('abc')" tests.
1702 Add tests for cv qualifier overloads.
1703 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
1704 "lvalue reference overload" test.
1705 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
1706 "print value of f1 on Child&& in f2" test.
1707
1708 2017-04-19 Pedro Alves <palves@redhat.com>
1709
1710 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
1711 procedure.
1712 (top level): Call it.
1713 * lib/gdb.exp (gdb_define_cmd): New procedure.
1714
1715 2017-04-12 Pedro Alves <palves@redhat.com>
1716
1717 PR gdb/21323
1718 * gdb.cp/wide_char_types.c: Include <wchar.h>.
1719 (wchar): New global.
1720 * gdb.cp/wide_char_types.exp (wide_char_types_program)
1721 (do_test_wide_char, wide_char_types_no_program, top level): Add
1722 wchar_t testing.
1723
1724 2017-04-12 Pedro Alves <palves@redhat.com>
1725
1726 PR c++/21323
1727 * gdb.cp/wide_char_types.c: New file.
1728 * gdb.cp/wide_char_types.exp: New file.
1729
1730 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
1731
1732 PR gdb/21352
1733 * gdb.trace/tsv.exp: Add test for "tsave -r".
1734
1735 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
1736
1737 * gdb.dlang/watch-loc.c: New file.
1738 * gdb.dlang/watch-loc.exp: New file.
1739
1740 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1741
1742 * gdb.python/py-section-script.exp (sepdebug): New testcases.
1743
1744 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
1745
1746 * gdb.arch/arc-analyze-prologue.S: New file.
1747 * gdb.arch/arc-analyze-prologue.exp: Likewise.
1748
1749 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
1750
1751 * gdb.arch/arc-decode-insn.S: New file.
1752 * gdb.arch/arc-decode-insn.exp: Likewise.
1753
1754 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
1755
1756 PR tdep/20928
1757 * gdb.arch/sparc64-regs.exp: New file.
1758 * gdb.arch/sparc64-regs.S: Likewise.
1759
1760 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
1761
1762 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
1763 and memory view on Python 3.
1764
1765 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
1766 Keith Seitz <keiths@redhat.com>
1767
1768 PR gdb/14441
1769 * gdb.cp/demangle.exp: Add rvalue reference tests.
1770 * gdb.cp/rvalue-ref-casts.cc: New file.
1771 * gdb.cp/rvalue-ref-casts.exp: New file.
1772 * gdb.cp/rvalue-ref-overload.cc: New file.
1773 * gdb.cp/rvalue-ref-overload.exp: New file.
1774 * gdb.cp/rvalue-ref-params.cc: New file.
1775 * gdb.cp/rvalue-ref-params.exp: New file.
1776 * gdb.cp/rvalue-ref-sizeof.cc: New file.
1777 * gdb.cp/rvalue-ref-sizeof.exp: New file.
1778 * gdb.cp/rvalue-ref-types.cc: New file.
1779 * gdb.cp/rvalue-ref-types.exp: New file.
1780 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
1781 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
1782
1783 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
1784
1785 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
1786 New procedure.
1787
1788 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
1789
1790 * lib/mi-support.exp (mi_gdb_test): Add additional message
1791 for unexpected output.
1792
1793 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1794
1795 * gdb.base/examine-backward.c (Barrier): New character array
1796 constant, to ensure that TestStrings is preceded by a string
1797 terminator.
1798
1799 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1800
1801 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
1802 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
1803 and implicit pointer into such a location.
1804
1805 2017-03-16 Doug Evans <dje@google.com>
1806
1807 * gdb.python/py-lazy-string (pointer): Really add new typedef.
1808
1809 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
1810
1811 * gdb.cp/m-static.exp: Fix expectation for prototype of
1812 test5.single_constructor and single_constructor::single_constructor.
1813
1814 2017-03-16 Doug Evans <dje@google.com>
1815
1816 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
1817 * gdb.guile/scm-lazy-string.c: New file.
1818 * gdb.guile/scm-value.exp: Move lazy string tests to ...
1819 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
1820 for pointer, array, typedef lazy strings.
1821
1822 2017-03-16 Doug Evans <dje@google.com>
1823
1824 PR python/17728, python/18439, python/18779
1825 * gdb.python/py-value.c (main) Delete locals sptr, sn.
1826 * gdb.python/py-lazy-string.c (pointer): New typedef.
1827 (main): New locals ptr, array, typedef_ptr.
1828 * gdb.python/py-value.exp: Move lazy string tests to ...
1829 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
1830 array, typedef lazy strings.
1831
1832 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
1833
1834 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
1835 Add optional 'test' parameter.
1836
1837 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
1838
1839 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
1840 Skip for versions of DejaGnu < 1.5.
1841
1842 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
1843
1844 * lib/gdb.exp (dejagnu_version): New proc.
1845 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
1846 Use dejagnu_version.
1847
1848 2017-03-10 Keith Seitz <keiths@redhat.com>
1849
1850 PR c++/8128
1851 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
1852 type from destructor regexps.
1853 Add a branch which actually passes the test.
1854 Adjust "ptype t5i" test names.
1855
1856 2017-03-08 Pedro Alves <palves@redhat.com>
1857
1858 * gdb.base/step-over-exit.exp: Add explicit test message.
1859
1860 2017-03-08 Pedro Alves <palves@redhat.com>
1861
1862 PR gdb/18360
1863 * gdb.threads/interrupt-while-step-over.c: New file.
1864 * gdb.threads/interrupt-while-step-over.exp: New file.
1865
1866 2017-03-08 Pedro Alves <palves@redhat.com>
1867
1868 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
1869 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
1870
1871 2017-03-08 Pedro Alves <palves@redhat.com>
1872
1873 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
1874 PKRU as not supported as a PASS.
1875
1876 2017-03-08 Pedro Alves <palves@redhat.com>
1877
1878 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
1879 prefix instead of $binfile1/$binfile2.
1880 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
1881 in test message.
1882 * gdb.python/py-completion.exp: Use "load python file" as test
1883 messages instead of unstable path names.
1884
1885 2017-03-08 Pedro Alves <palves@redhat.com>
1886 Jan Kratochvil <jan.kratochvil@redhat.com>
1887
1888 PR cli/21218
1889 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
1890 New proc.
1891 (top level): Call it.
1892
1893 2017-03-08 Pedro Alves <palves@redhat.com>
1894
1895 PR tui/21216
1896 * gdb.tui/tui-nl-filtered-output.exp: New file.
1897
1898 2017-03-08 Pedro Alves <palves@redhat.com>
1899
1900 * gdb.base/completion.exp: Move TUI completion tests to ...
1901 * gdb.tui/completion.exp: ... this new file.
1902
1903 2017-03-08 Pedro Alves <palves@redhat.com>
1904
1905 * gdb.base/tui-disasm-long-lines.c,
1906 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
1907 gdb.base/tui-layout.exp: Move to ...
1908 * gdb.tui/: ... this new directory.
1909
1910 2017-03-07 Pedro Alves <palves@redhat.com>
1911
1912 * gdb.base/tui-layout.c: New file.
1913 * gdb.base/tui-layout.exp: New file.
1914
1915 2017-03-07 Pedro Alves <palves@redhat.com>
1916
1917 * gdb.base/tui-layout.c: Rename to ...
1918 * gdb.base/tui-disasm-long-lines.c: ... this.
1919 * gdb.base/tui-layout.exp: Rename to ...
1920 * gdb.base/tui-disasm-long-lines.exp: ... this.
1921
1922 2017-03-07 Pedro Alves <palves@redhat.com>
1923
1924 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
1925
1926 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
1927
1928 * i386-mpx-call.c: New file.
1929 * i386-mpx-call.exp: New file.
1930
1931 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
1932
1933 * gdb.arch/powerpc-power.exp: Delete test.
1934 * gdb.arch/powerpc-power.s: Likewise.
1935 * gdb.disasm/disassembler-options.exp: New test.
1936 * gdb.arch/powerpc-altivec.exp: Likewise.
1937 * gdb.arch/powerpc-altivec.s: Likewise.
1938 * gdb.arch/powerpc-altivec2.exp: Likewise.
1939 * gdb.arch/powerpc-altivec2.s: Likewise.
1940 * gdb.arch/powerpc-altivec3.exp: Likewise.
1941 * gdb.arch/powerpc-altivec3.s: Likewise.
1942 * gdb.arch/powerpc-power7.exp: Likewise.
1943 * gdb.arch/powerpc-power7.s: Likewise.
1944 * gdb.arch/powerpc-power8.exp: Likewise.
1945 * gdb.arch/powerpc-power8.s: Likewise.
1946 * gdb.arch/powerpc-power9.exp: Likewise.
1947 * gdb.arch/powerpc-power9.s: Likewise.
1948 * gdb.arch/powerpc-vsx.exp: Likewise.
1949 * gdb.arch/powerpc-vsx.s: Likewise.
1950 * gdb.arch/powerpc-vsx2.exp: Likewise.
1951 * gdb.arch/powerpc-vsx2.s: Likewise.
1952 * gdb.arch/powerpc-vsx3.exp: Likewise.
1953 * gdb.arch/powerpc-vsx3.s: Likewise.
1954 * gdb.arch/arm-disassembler-options.exp: Likewise.
1955 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
1956 * gdb.arch/s390-disassembler-options.exp: Likewise.
1957
1958 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
1959
1960 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
1961 (check_supported_features): ... this. Changed return type to void.
1962 (supports_rdseed): New static global.
1963 (rdseed): Check supports_rdseed.
1964 (initialize): Call check_supported_features.
1965
1966 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1967
1968 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
1969 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
1970 and lqarx/stqcx.
1971 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
1972 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
1973
1974 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1975
1976 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
1977 uppercase.
1978
1979 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1980
1981 * gdb.dwarf2/formdata16.c: New file.
1982 * gdb.dwarf2/formdata16.exp: New file.
1983 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
1984
1985 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1986
1987 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
1988 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
1989 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
1990 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
1991 DW_AT_GNU_*.
1992
1993 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1994
1995 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
1996
1997 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
1998
1999 PR gdb/21164
2000 * gdb.base/maint.exp: Add testcases for when the commands do
2001 not have arguments.
2002
2003 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
2004
2005 * gdb.cp/chained-calls.exp: Use p instead of P.
2006
2007 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
2008
2009 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
2010 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
2011
2012 2017-02-14 Tom Tromey <tom@tromey.com>
2013
2014 PR python/13598:
2015 * gdb.python/py-events.exp: Add before_prompt event tests.
2016
2017 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2018
2019 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
2020
2021 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
2022
2023 * gdb.linespec/explicit.c (my_unique_function_name): New function.
2024 (main): Call my_unique_function_name.
2025 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
2026 completion of patterns with a single match.
2027 Add missing -re switches to gdb_test_multiple calls.
2028
2029 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
2030
2031 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
2032 return if core file is not recognized.
2033
2034 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
2035
2036 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
2037 and extra UIs.
2038
2039 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
2040
2041 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
2042 proc_with_prefix.
2043
2044 2017-02-10 Tom Tromey <tom@tromey.com>
2045
2046 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
2047
2048 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
2049
2050 PR gdb/21122
2051 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
2052
2053 2017-02-08 Jerome Guitton <guitton@adacore.com>
2054
2055 * gdb.base/define.exp: Add test for command abbreviations
2056 in define.
2057
2058 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
2059
2060 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
2061 * gdb.reverse/insn-reverse-x86.c: New file.
2062
2063 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
2064
2065 PR tdep/20936
2066 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
2067
2068 2017-02-03 Tom Tromey <tom@tromey.com>
2069
2070 PR rust/21097:
2071 * gdb.rust/simple.exp: Add new tests.
2072
2073 2017-02-02 Pedro Alves <palves@redhat.com>
2074
2075 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
2076 tests.
2077
2078 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
2079
2080 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
2081 taking a 2-byte value out of a 4-byte DWARF implicit value on
2082 big-endian targets.
2083 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
2084 logic. Add test cases for DW_OP_implicit.
2085
2086 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2087
2088 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
2089
2090 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2091
2092 * gdb.btrace/enable.exp: Call gdb_exit before
2093 skip_gdbserver_tests.
2094
2095 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2096
2097 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
2098 GDBFLAGS.
2099
2100 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2101
2102 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
2103 the test is skipped.
2104 * gdb.btrace/data.exp: Likewise.
2105 * gdb.btrace/delta.exp: Likewise.
2106 * gdb.btrace/dlopen.exp: Likewise.
2107 * gdb.btrace/enable-running.exp: Likewise.
2108 * gdb.btrace/enable.exp: Likewise.
2109 * gdb.btrace/exception.exp: Likewise.
2110 * gdb.btrace/function_call_history.exp: Likewise.
2111 * gdb.btrace/gcore.exp: Likewise.
2112 * gdb.btrace/instruction_history.exp: Likewise.
2113 * gdb.btrace/multi-thread-step.exp: Likewise.
2114 * gdb.btrace/nohist.exp: Likewise.
2115 * gdb.btrace/non-stop.exp: Likewise.
2116 * gdb.btrace/reconnect.exp: Likewise.
2117 * gdb.btrace/record_goto-step.exp: Likewise.
2118 * gdb.btrace/record_goto.exp: Likewise.
2119 * gdb.btrace/rn-dl-bind.exp: Likewise.
2120 * gdb.btrace/segv.exp: Likewise.
2121 * gdb.btrace/step.exp: Likewise.
2122 * gdb.btrace/stepi.exp: Likewise.
2123 * gdb.btrace/tailcall-only.exp: Likewise.
2124 * gdb.btrace/tailcall.exp: Likewise.
2125 * gdb.btrace/tsx.exp: Likewise.
2126 * gdb.btrace/unknown_functions.exp: Likewise.
2127 * gdb.btrace/vdso.exp: Likewise.
2128
2129 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2130
2131 * gdb.btrace/enable-running.c: New.
2132 * gdb.btrace/enable-running.exp: New.
2133
2134 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
2135
2136 * gdb.arch/amd64-gs_base.c: New file.
2137 * gdb.arch/amd64-gs_base.exp: New file.
2138
2139 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
2140
2141 * lib/memory.exp: Remove spurious empty newlines.
2142
2143 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
2144
2145 * gdb.python/py-bad-printers.exp: Load python file using "source".
2146 * gdb.python/py-events.exp: Likewise.
2147 * gdb.python/py-evsignal.exp: Likewise.
2148 * gdb.python/py-evthreads.exp: Likewise.
2149 * gdb.python/py-frame-args.exp: Likewise.
2150 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
2151 * gdb.python/py-framefilter-mi.exp: Likewise.
2152 * gdb.python/py-framefilter.exp: Likewise.
2153 * gdb.python/py-mi.exp: Likewise.
2154 * gdb.python/py-pp-maint.exp: Likewise.
2155 * gdb.python/py-pp-registration.exp: Likewise.
2156 * gdb.python/py-prettyprint.exp: Likewise.
2157 (run_lang_tests): Likewise.
2158 * gdb.python/py-typeprint.exp: Likewise.
2159
2160 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
2161
2162 * lib/memory.exp: New file.
2163 * lib/gdb.exp: Load memory.exp.
2164 * gdb.base/memattr.exp (delete_memory): Move proc to
2165 lib/memory.exp and rename to delete_memory_regions.
2166 Replace delete_memory with delete_memory_regions.
2167 Cleanup memory regions before tests.
2168 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
2169 before tests.
2170
2171 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
2172
2173 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
2174 files.
2175 (initialize): New function conditionally defined.
2176 (testcases): Move within conditional block.
2177 (main): Call initialize.
2178 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
2179 of gdb.reverse/insn-reverse.c.
2180 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
2181 gdb.reverse/insn-reverse.c.
2182
2183 2017-01-26 Yao Qi <yao.qi@linaro.org>
2184
2185 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
2186 disassemble on address 0.
2187
2188 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
2189 Yao Qi <yao.qi@linaro.org>
2190
2191 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
2192 * gdb.dwarf2/implptr-64bit.S: Remove.
2193 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
2194 variables in caller's context. Add DW_OP_implicit_value.
2195
2196 2017-01-25 Yao Qi <yao.qi@linaro.org>
2197
2198 * lib/dwarf.exp (Dwarf::_location): Handle
2199 DW_OP_GNU_implicit_pointer with proper size.
2200
2201 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
2202
2203 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
2204 and add untested calls.
2205
2206 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
2207
2208 * gdb.python/python.exp: Check line number against what GDB thinks
2209 the line number is for func1.
2210
2211 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
2212
2213 * gdb.dlang/debug-expr.exp: New file.
2214
2215 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
2216
2217 Fix test names for the following files:
2218
2219 * gdb.ada/exec_changed.exp
2220 * gdb.ada/info_types.exp
2221 * gdb.arch/aarch64-atomic-inst.exp
2222 * gdb.arch/aarch64-fp.exp
2223 * gdb.arch/altivec-abi.exp
2224 * gdb.arch/altivec-regs.exp
2225 * gdb.arch/amd64-byte.exp
2226 * gdb.arch/amd64-disp-step.exp
2227 * gdb.arch/amd64-dword.exp
2228 * gdb.arch/amd64-entry-value-inline.exp
2229 * gdb.arch/amd64-entry-value-param.exp
2230 * gdb.arch/amd64-entry-value-paramref.exp
2231 * gdb.arch/amd64-entry-value.exp
2232 * gdb.arch/amd64-i386-address.exp
2233 * gdb.arch/amd64-invalid-stack-middle.exp
2234 * gdb.arch/amd64-invalid-stack-top.exp
2235 * gdb.arch/amd64-optimout-repeat.exp
2236 * gdb.arch/amd64-prologue-skip.exp
2237 * gdb.arch/amd64-prologue-xmm.exp
2238 * gdb.arch/amd64-stap-special-operands.exp
2239 * gdb.arch/amd64-stap-wrong-subexp.exp
2240 * gdb.arch/amd64-tailcall-cxx.exp
2241 * gdb.arch/amd64-tailcall-noret.exp
2242 * gdb.arch/amd64-tailcall-ret.exp
2243 * gdb.arch/amd64-tailcall-self.exp
2244 * gdb.arch/amd64-word.exp
2245 * gdb.arch/arm-bl-branch-dest.exp
2246 * gdb.arch/arm-disp-step.exp
2247 * gdb.arch/arm-neon.exp
2248 * gdb.arch/arm-single-step-kernel-helper.exp
2249 * gdb.arch/avr-flash-qualifier.exp
2250 * gdb.arch/disp-step-insn-reloc.exp
2251 * gdb.arch/e500-abi.exp
2252 * gdb.arch/e500-regs.exp
2253 * gdb.arch/ftrace-insn-reloc.exp
2254 * gdb.arch/i386-avx512.exp
2255 * gdb.arch/i386-bp_permanent.exp
2256 * gdb.arch/i386-byte.exp
2257 * gdb.arch/i386-cfi-notcurrent.exp
2258 * gdb.arch/i386-disp-step.exp
2259 * gdb.arch/i386-dr3-watch.exp
2260 * gdb.arch/i386-float.exp
2261 * gdb.arch/i386-gnu-cfi.exp
2262 * gdb.arch/i386-mpx-map.exp
2263 * gdb.arch/i386-mpx-sigsegv.exp
2264 * gdb.arch/i386-mpx-simple_segv.exp
2265 * gdb.arch/i386-mpx.exp
2266 * gdb.arch/i386-permbkpt.exp
2267 * gdb.arch/i386-prologue.exp
2268 * gdb.arch/i386-signal.exp
2269 * gdb.arch/i386-size-overlap.exp
2270 * gdb.arch/i386-unwind.exp
2271 * gdb.arch/i386-word.exp
2272 * gdb.arch/mips-fcr.exp
2273 * gdb.arch/powerpc-d128-regs.exp
2274 * gdb.arch/powerpc-stackless.exp
2275 * gdb.arch/ppc64-atomic-inst.exp
2276 * gdb.arch/s390-stackless.exp
2277 * gdb.arch/s390-tdbregs.exp
2278 * gdb.arch/s390-vregs.exp
2279 * gdb.arch/sparc-sysstep.exp
2280 * gdb.arch/thumb-bx-pc.exp
2281 * gdb.arch/thumb-singlestep.exp
2282 * gdb.arch/thumb2-it.exp
2283 * gdb.arch/vsx-regs.exp
2284 * gdb.asm/asm-source.exp
2285 * gdb.base/a2-run.exp
2286 * gdb.base/advance.exp
2287 * gdb.base/all-bin.exp
2288 * gdb.base/anon.exp
2289 * gdb.base/args.exp
2290 * gdb.base/arithmet.exp
2291 * gdb.base/async-shell.exp
2292 * gdb.base/async.exp
2293 * gdb.base/attach-pie-noexec.exp
2294 * gdb.base/attach-twice.exp
2295 * gdb.base/auto-load.exp
2296 * gdb.base/bang.exp
2297 * gdb.base/bitfields.exp
2298 * gdb.base/break-always.exp
2299 * gdb.base/break-caller-line.exp
2300 * gdb.base/break-entry.exp
2301 * gdb.base/break-inline.exp
2302 * gdb.base/break-on-linker-gcd-function.exp
2303 * gdb.base/break-probes.exp
2304 * gdb.base/break.exp
2305 * gdb.base/breakpoint-shadow.exp
2306 * gdb.base/call-ar-st.exp
2307 * gdb.base/call-sc.exp
2308 * gdb.base/call-signal-resume.exp
2309 * gdb.base/call-strs.exp
2310 * gdb.base/callfuncs.exp
2311 * gdb.base/catch-fork-static.exp
2312 * gdb.base/catch-gdb-caused-signals.exp
2313 * gdb.base/catch-load.exp
2314 * gdb.base/catch-signal-fork.exp
2315 * gdb.base/catch-signal.exp
2316 * gdb.base/catch-syscall.exp
2317 * gdb.base/charset.exp
2318 * gdb.base/checkpoint.exp
2319 * gdb.base/chng-syms.exp
2320 * gdb.base/code-expr.exp
2321 * gdb.base/code_elim.exp
2322 * gdb.base/commands.exp
2323 * gdb.base/completion.exp
2324 * gdb.base/complex.exp
2325 * gdb.base/cond-expr.exp
2326 * gdb.base/condbreak.exp
2327 * gdb.base/consecutive.exp
2328 * gdb.base/continue-all-already-running.exp
2329 * gdb.base/coredump-filter.exp
2330 * gdb.base/corefile.exp
2331 * gdb.base/dbx.exp
2332 * gdb.base/debug-expr.exp
2333 * gdb.base/define.exp
2334 * gdb.base/del.exp
2335 * gdb.base/disabled-location.exp
2336 * gdb.base/disasm-end-cu.exp
2337 * gdb.base/disasm-optim.exp
2338 * gdb.base/display.exp
2339 * gdb.base/duplicate-bp.exp
2340 * gdb.base/ena-dis-br.exp
2341 * gdb.base/ending-run.exp
2342 * gdb.base/enumval.exp
2343 * gdb.base/environ.exp
2344 * gdb.base/eu-strip-infcall.exp
2345 * gdb.base/eval-avoid-side-effects.exp
2346 * gdb.base/eval-skip.exp
2347 * gdb.base/exitsignal.exp
2348 * gdb.base/expand-psymtabs.exp
2349 * gdb.base/filesym.exp
2350 * gdb.base/find-unmapped.exp
2351 * gdb.base/finish.exp
2352 * gdb.base/float.exp
2353 * gdb.base/foll-exec-mode.exp
2354 * gdb.base/foll-exec.exp
2355 * gdb.base/foll-fork.exp
2356 * gdb.base/fortran-sym-case.exp
2357 * gdb.base/freebpcmd.exp
2358 * gdb.base/func-ptr.exp
2359 * gdb.base/func-ptrs.exp
2360 * gdb.base/funcargs.exp
2361 * gdb.base/gcore-buffer-overflow.exp
2362 * gdb.base/gcore-relro-pie.exp
2363 * gdb.base/gcore-relro.exp
2364 * gdb.base/gcore.exp
2365 * gdb.base/gdb1090.exp
2366 * gdb.base/gdb11530.exp
2367 * gdb.base/gdb11531.exp
2368 * gdb.base/gdb1821.exp
2369 * gdb.base/gdbindex-stabs.exp
2370 * gdb.base/gdbvars.exp
2371 * gdb.base/hbreak.exp
2372 * gdb.base/hbreak2.exp
2373 * gdb.base/included.exp
2374 * gdb.base/infcall-input.exp
2375 * gdb.base/inferior-died.exp
2376 * gdb.base/infnan.exp
2377 * gdb.base/info-macros.exp
2378 * gdb.base/info-os.exp
2379 * gdb.base/info-proc.exp
2380 * gdb.base/info-shared.exp
2381 * gdb.base/info-target.exp
2382 * gdb.base/infoline.exp
2383 * gdb.base/interp.exp
2384 * gdb.base/interrupt.exp
2385 * gdb.base/jit-reader.exp
2386 * gdb.base/jit-simple.exp
2387 * gdb.base/kill-after-signal.exp
2388 * gdb.base/kill-detach-inferiors-cmd.exp
2389 * gdb.base/label.exp
2390 * gdb.base/langs.exp
2391 * gdb.base/ldbl_e308.exp
2392 * gdb.base/line-symtabs.exp
2393 * gdb.base/linespecs.exp
2394 * gdb.base/list.exp
2395 * gdb.base/long_long.exp
2396 * gdb.base/longest-types.exp
2397 * gdb.base/maint.exp
2398 * gdb.base/max-value-size.exp
2399 * gdb.base/memattr.exp
2400 * gdb.base/mips_pro.exp
2401 * gdb.base/morestack.exp
2402 * gdb.base/moribund-step.exp
2403 * gdb.base/multi-forks.exp
2404 * gdb.base/nested-addr.exp
2405 * gdb.base/nextoverexit.exp
2406 * gdb.base/noreturn-finish.exp
2407 * gdb.base/noreturn-return.exp
2408 * gdb.base/nostdlib.exp
2409 * gdb.base/offsets.exp
2410 * gdb.base/opaque.exp
2411 * gdb.base/pc-fp.exp
2412 * gdb.base/permissions.exp
2413 * gdb.base/print-symbol-loading.exp
2414 * gdb.base/prologue-include.exp
2415 * gdb.base/psymtab.exp
2416 * gdb.base/ptype.exp
2417 * gdb.base/random-signal.exp
2418 * gdb.base/randomize.exp
2419 * gdb.base/range-stepping.exp
2420 * gdb.base/readline-ask.exp
2421 * gdb.base/recpar.exp
2422 * gdb.base/recurse.exp
2423 * gdb.base/relational.exp
2424 * gdb.base/restore.exp
2425 * gdb.base/return-nodebug.exp
2426 * gdb.base/return.exp
2427 * gdb.base/run-after-attach.exp
2428 * gdb.base/save-bp.exp
2429 * gdb.base/scope.exp
2430 * gdb.base/sect-cmd.exp
2431 * gdb.base/set-lang-auto.exp
2432 * gdb.base/set-noassign.exp
2433 * gdb.base/setvar.exp
2434 * gdb.base/sigall.exp
2435 * gdb.base/sigbpt.exp
2436 * gdb.base/siginfo-addr.exp
2437 * gdb.base/siginfo-infcall.exp
2438 * gdb.base/siginfo-obj.exp
2439 * gdb.base/siginfo.exp
2440 * gdb.base/signals-state-child.exp
2441 * gdb.base/signest.exp
2442 * gdb.base/sigstep.exp
2443 * gdb.base/sizeof.exp
2444 * gdb.base/skip.exp
2445 * gdb.base/solib-corrupted.exp
2446 * gdb.base/solib-nodir.exp
2447 * gdb.base/solib-search.exp
2448 * gdb.base/stack-checking.exp
2449 * gdb.base/stale-infcall.exp
2450 * gdb.base/stap-probe.exp
2451 * gdb.base/start.exp
2452 * gdb.base/step-break.exp
2453 * gdb.base/step-bt.exp
2454 * gdb.base/step-line.exp
2455 * gdb.base/step-over-exit.exp
2456 * gdb.base/step-over-syscall.exp
2457 * gdb.base/step-resume-infcall.exp
2458 * gdb.base/step-test.exp
2459 * gdb.base/store.exp
2460 * gdb.base/structs3.exp
2461 * gdb.base/sym-file.exp
2462 * gdb.base/symbol-without-target_section.exp
2463 * gdb.base/term.exp
2464 * gdb.base/testenv.exp
2465 * gdb.base/ui-redirect.exp
2466 * gdb.base/until.exp
2467 * gdb.base/unwindonsignal.exp
2468 * gdb.base/value-double-free.exp
2469 * gdb.base/vla-datatypes.exp
2470 * gdb.base/vla-ptr.exp
2471 * gdb.base/vla-sideeffect.exp
2472 * gdb.base/volatile.exp
2473 * gdb.base/watch-cond-infcall.exp
2474 * gdb.base/watch-cond.exp
2475 * gdb.base/watch-non-mem.exp
2476 * gdb.base/watch-read.exp
2477 * gdb.base/watch-vfork.exp
2478 * gdb.base/watchpoint-cond-gone.exp
2479 * gdb.base/watchpoint-delete.exp
2480 * gdb.base/watchpoint-hw-hit-once.exp
2481 * gdb.base/watchpoint-hw.exp
2482 * gdb.base/watchpoint-stops-at-right-insn.exp
2483 * gdb.base/watchpoints.exp
2484 * gdb.base/wchar.exp
2485 * gdb.base/whatis-exp.exp
2486 * gdb.btrace/buffer-size.exp
2487 * gdb.btrace/data.exp
2488 * gdb.btrace/delta.exp
2489 * gdb.btrace/dlopen.exp
2490 * gdb.btrace/enable.exp
2491 * gdb.btrace/exception.exp
2492 * gdb.btrace/function_call_history.exp
2493 * gdb.btrace/gcore.exp
2494 * gdb.btrace/instruction_history.exp
2495 * gdb.btrace/nohist.exp
2496 * gdb.btrace/reconnect.exp
2497 * gdb.btrace/record_goto-step.exp
2498 * gdb.btrace/record_goto.exp
2499 * gdb.btrace/rn-dl-bind.exp
2500 * gdb.btrace/segv.exp
2501 * gdb.btrace/step.exp
2502 * gdb.btrace/stepi.exp
2503 * gdb.btrace/tailcall-only.exp
2504 * gdb.btrace/tailcall.exp
2505 * gdb.btrace/tsx.exp
2506 * gdb.btrace/unknown_functions.exp
2507 * gdb.btrace/vdso.exp
2508 * gdb.compile/compile-ifunc.exp
2509 * gdb.compile/compile-ops.exp
2510 * gdb.compile/compile-print.exp
2511 * gdb.compile/compile-setjmp.exp
2512 * gdb.cp/abstract-origin.exp
2513 * gdb.cp/ambiguous.exp
2514 * gdb.cp/annota2.exp
2515 * gdb.cp/annota3.exp
2516 * gdb.cp/anon-ns.exp
2517 * gdb.cp/anon-struct.exp
2518 * gdb.cp/anon-union.exp
2519 * gdb.cp/arg-reference.exp
2520 * gdb.cp/baseenum.exp
2521 * gdb.cp/bool.exp
2522 * gdb.cp/breakpoint.exp
2523 * gdb.cp/bs15503.exp
2524 * gdb.cp/call-c.exp
2525 * gdb.cp/casts.exp
2526 * gdb.cp/chained-calls.exp
2527 * gdb.cp/class2.exp
2528 * gdb.cp/classes.exp
2529 * gdb.cp/cmpd-minsyms.exp
2530 * gdb.cp/converts.exp
2531 * gdb.cp/cp-relocate.exp
2532 * gdb.cp/cpcompletion.exp
2533 * gdb.cp/cpexprs.exp
2534 * gdb.cp/cplabel.exp
2535 * gdb.cp/cplusfuncs.exp
2536 * gdb.cp/cpsizeof.exp
2537 * gdb.cp/ctti.exp
2538 * gdb.cp/derivation.exp
2539 * gdb.cp/destrprint.exp
2540 * gdb.cp/dispcxx.exp
2541 * gdb.cp/enum-class.exp
2542 * gdb.cp/exception.exp
2543 * gdb.cp/exceptprint.exp
2544 * gdb.cp/expand-psymtabs-cxx.exp
2545 * gdb.cp/expand-sals.exp
2546 * gdb.cp/extern-c.exp
2547 * gdb.cp/filename.exp
2548 * gdb.cp/formatted-ref.exp
2549 * gdb.cp/fpointer.exp
2550 * gdb.cp/gdb1355.exp
2551 * gdb.cp/gdb2495.exp
2552 * gdb.cp/hang.exp
2553 * gdb.cp/impl-this.exp
2554 * gdb.cp/infcall-dlopen.exp
2555 * gdb.cp/inherit.exp
2556 * gdb.cp/iostream.exp
2557 * gdb.cp/koenig.exp
2558 * gdb.cp/local.exp
2559 * gdb.cp/m-data.exp
2560 * gdb.cp/m-static.exp
2561 * gdb.cp/mb-ctor.exp
2562 * gdb.cp/mb-inline.exp
2563 * gdb.cp/mb-templates.exp
2564 * gdb.cp/member-name.exp
2565 * gdb.cp/member-ptr.exp
2566 * gdb.cp/meth-typedefs.exp
2567 * gdb.cp/method.exp
2568 * gdb.cp/method2.exp
2569 * gdb.cp/minsym-fallback.exp
2570 * gdb.cp/misc.exp
2571 * gdb.cp/namelessclass.exp
2572 * gdb.cp/namespace-enum.exp
2573 * gdb.cp/namespace-nested-import.exp
2574 * gdb.cp/namespace.exp
2575 * gdb.cp/nextoverthrow.exp
2576 * gdb.cp/no-dmgl-verbose.exp
2577 * gdb.cp/non-trivial-retval.exp
2578 * gdb.cp/noparam.exp
2579 * gdb.cp/nsdecl.exp
2580 * gdb.cp/nsimport.exp
2581 * gdb.cp/nsnested.exp
2582 * gdb.cp/nsnoimports.exp
2583 * gdb.cp/nsrecurs.exp
2584 * gdb.cp/nsstress.exp
2585 * gdb.cp/nsusing.exp
2586 * gdb.cp/operator.exp
2587 * gdb.cp/oranking.exp
2588 * gdb.cp/overload-const.exp
2589 * gdb.cp/overload.exp
2590 * gdb.cp/ovldbreak.exp
2591 * gdb.cp/ovsrch.exp
2592 * gdb.cp/paren-type.exp
2593 * gdb.cp/parse-lang.exp
2594 * gdb.cp/pass-by-ref.exp
2595 * gdb.cp/pr-1023.exp
2596 * gdb.cp/pr-1210.exp
2597 * gdb.cp/pr-574.exp
2598 * gdb.cp/pr10687.exp
2599 * gdb.cp/pr12028.exp
2600 * gdb.cp/pr17132.exp
2601 * gdb.cp/pr17494.exp
2602 * gdb.cp/pr9067.exp
2603 * gdb.cp/pr9167.exp
2604 * gdb.cp/pr9631.exp
2605 * gdb.cp/printmethod.exp
2606 * gdb.cp/psmang.exp
2607 * gdb.cp/psymtab-parameter.exp
2608 * gdb.cp/ptype-cv-cp.exp
2609 * gdb.cp/ptype-flags.exp
2610 * gdb.cp/re-set-overloaded.exp
2611 * gdb.cp/ref-types.exp
2612 * gdb.cp/rtti.exp
2613 * gdb.cp/scope-err.exp
2614 * gdb.cp/shadow.exp
2615 * gdb.cp/smartp.exp
2616 * gdb.cp/static-method.exp
2617 * gdb.cp/static-print-quit.exp
2618 * gdb.cp/temargs.exp
2619 * gdb.cp/templates.exp
2620 * gdb.cp/try_catch.exp
2621 * gdb.cp/typedef-operator.exp
2622 * gdb.cp/typeid.exp
2623 * gdb.cp/userdef.exp
2624 * gdb.cp/using-crash.exp
2625 * gdb.cp/var-tag.exp
2626 * gdb.cp/virtbase.exp
2627 * gdb.cp/virtfunc.exp
2628 * gdb.cp/virtfunc2.exp
2629 * gdb.cp/vla-cxx.exp
2630 * gdb.disasm/t01_mov.exp
2631 * gdb.disasm/t02_mova.exp
2632 * gdb.disasm/t03_add.exp
2633 * gdb.disasm/t04_sub.exp
2634 * gdb.disasm/t05_cmp.exp
2635 * gdb.disasm/t06_ari2.exp
2636 * gdb.disasm/t07_ari3.exp
2637 * gdb.disasm/t08_or.exp
2638 * gdb.disasm/t09_xor.exp
2639 * gdb.disasm/t10_and.exp
2640 * gdb.disasm/t11_logs.exp
2641 * gdb.disasm/t12_bit.exp
2642 * gdb.disasm/t13_otr.exp
2643 * gdb.dlang/circular.exp
2644 * gdb.dwarf2/arr-stride.exp
2645 * gdb.dwarf2/arr-subrange.exp
2646 * gdb.dwarf2/atomic-type.exp
2647 * gdb.dwarf2/bad-regnum.exp
2648 * gdb.dwarf2/bitfield-parent-optimized-out.exp
2649 * gdb.dwarf2/callframecfa.exp
2650 * gdb.dwarf2/clztest.exp
2651 * gdb.dwarf2/corrupt.exp
2652 * gdb.dwarf2/data-loc.exp
2653 * gdb.dwarf2/dup-psym.exp
2654 * gdb.dwarf2/dw2-anon-mptr.exp
2655 * gdb.dwarf2/dw2-anonymous-func.exp
2656 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
2657 * gdb.dwarf2/dw2-bad-unresolved.exp
2658 * gdb.dwarf2/dw2-basic.exp
2659 * gdb.dwarf2/dw2-canonicalize-type.exp
2660 * gdb.dwarf2/dw2-case-insensitive.exp
2661 * gdb.dwarf2/dw2-common-block.exp
2662 * gdb.dwarf2/dw2-compdir-oldgcc.exp
2663 * gdb.dwarf2/dw2-compressed.exp
2664 * gdb.dwarf2/dw2-const.exp
2665 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
2666 * gdb.dwarf2/dw2-cu-size.exp
2667 * gdb.dwarf2/dw2-dup-frame.exp
2668 * gdb.dwarf2/dw2-entry-value.exp
2669 * gdb.dwarf2/dw2-icycle.exp
2670 * gdb.dwarf2/dw2-ifort-parameter.exp
2671 * gdb.dwarf2/dw2-inline-break.exp
2672 * gdb.dwarf2/dw2-inline-param.exp
2673 * gdb.dwarf2/dw2-intercu.exp
2674 * gdb.dwarf2/dw2-intermix.exp
2675 * gdb.dwarf2/dw2-lexical-block-bare.exp
2676 * gdb.dwarf2/dw2-linkage-name-trust.exp
2677 * gdb.dwarf2/dw2-minsym-in-cu.exp
2678 * gdb.dwarf2/dw2-noloc.exp
2679 * gdb.dwarf2/dw2-op-call.exp
2680 * gdb.dwarf2/dw2-op-out-param.exp
2681 * gdb.dwarf2/dw2-opt-structptr.exp
2682 * gdb.dwarf2/dw2-param-error.exp
2683 * gdb.dwarf2/dw2-producer.exp
2684 * gdb.dwarf2/dw2-ranges-base.exp
2685 * gdb.dwarf2/dw2-ref-missing-frame.exp
2686 * gdb.dwarf2/dw2-reg-undefined.exp
2687 * gdb.dwarf2/dw2-regno-invalid.exp
2688 * gdb.dwarf2/dw2-restore.exp
2689 * gdb.dwarf2/dw2-restrict.exp
2690 * gdb.dwarf2/dw2-single-line-discriminators.exp
2691 * gdb.dwarf2/dw2-strp.exp
2692 * gdb.dwarf2/dw2-undefined-ret-addr.exp
2693 * gdb.dwarf2/dw2-unresolved.exp
2694 * gdb.dwarf2/dw2-var-zero-addr.exp
2695 * gdb.dwarf2/dw4-sig-types.exp
2696 * gdb.dwarf2/dwz.exp
2697 * gdb.dwarf2/dynarr-ptr.exp
2698 * gdb.dwarf2/enum-type.exp
2699 * gdb.dwarf2/gdb-index.exp
2700 * gdb.dwarf2/implptr-64bit.exp
2701 * gdb.dwarf2/implptr-optimized-out.exp
2702 * gdb.dwarf2/implptr.exp
2703 * gdb.dwarf2/implref-array.exp
2704 * gdb.dwarf2/implref-const.exp
2705 * gdb.dwarf2/implref-global.exp
2706 * gdb.dwarf2/implref-struct.exp
2707 * gdb.dwarf2/mac-fileno.exp
2708 * gdb.dwarf2/main-subprogram.exp
2709 * gdb.dwarf2/member-ptr-forwardref.exp
2710 * gdb.dwarf2/method-ptr.exp
2711 * gdb.dwarf2/missing-sig-type.exp
2712 * gdb.dwarf2/nonvar-access.exp
2713 * gdb.dwarf2/opaque-type-lookup.exp
2714 * gdb.dwarf2/pieces-optimized-out.exp
2715 * gdb.dwarf2/pieces.exp
2716 * gdb.dwarf2/pr10770.exp
2717 * gdb.dwarf2/pr13961.exp
2718 * gdb.dwarf2/staticvirtual.exp
2719 * gdb.dwarf2/subrange.exp
2720 * gdb.dwarf2/symtab-producer.exp
2721 * gdb.dwarf2/trace-crash.exp
2722 * gdb.dwarf2/typeddwarf.exp
2723 * gdb.dwarf2/valop.exp
2724 * gdb.dwarf2/watch-notconst.exp
2725 * gdb.fortran/array-element.exp
2726 * gdb.fortran/charset.exp
2727 * gdb.fortran/common-block.exp
2728 * gdb.fortran/complex.exp
2729 * gdb.fortran/derived-type-function.exp
2730 * gdb.fortran/derived-type.exp
2731 * gdb.fortran/logical.exp
2732 * gdb.fortran/module.exp
2733 * gdb.fortran/multi-dim.exp
2734 * gdb.fortran/nested-funcs.exp
2735 * gdb.fortran/print-formatted.exp
2736 * gdb.fortran/subarray.exp
2737 * gdb.fortran/vla-alloc-assoc.exp
2738 * gdb.fortran/vla-datatypes.exp
2739 * gdb.fortran/vla-history.exp
2740 * gdb.fortran/vla-ptr-info.exp
2741 * gdb.fortran/vla-ptype-sub.exp
2742 * gdb.fortran/vla-ptype.exp
2743 * gdb.fortran/vla-sizeof.exp
2744 * gdb.fortran/vla-type.exp
2745 * gdb.fortran/vla-value-sub-arbitrary.exp
2746 * gdb.fortran/vla-value-sub-finish.exp
2747 * gdb.fortran/vla-value-sub.exp
2748 * gdb.fortran/vla-value.exp
2749 * gdb.fortran/whatis_type.exp
2750 * gdb.go/chan.exp
2751 * gdb.go/handcall.exp
2752 * gdb.go/hello.exp
2753 * gdb.go/integers.exp
2754 * gdb.go/methods.exp
2755 * gdb.go/package.exp
2756 * gdb.go/strings.exp
2757 * gdb.go/types.exp
2758 * gdb.go/unsafe.exp
2759 * gdb.guile/scm-arch.exp
2760 * gdb.guile/scm-block.exp
2761 * gdb.guile/scm-breakpoint.exp
2762 * gdb.guile/scm-cmd.exp
2763 * gdb.guile/scm-disasm.exp
2764 * gdb.guile/scm-equal.exp
2765 * gdb.guile/scm-frame-args.exp
2766 * gdb.guile/scm-frame-inline.exp
2767 * gdb.guile/scm-frame.exp
2768 * gdb.guile/scm-iterator.exp
2769 * gdb.guile/scm-math.exp
2770 * gdb.guile/scm-objfile.exp
2771 * gdb.guile/scm-ports.exp
2772 * gdb.guile/scm-symbol.exp
2773 * gdb.guile/scm-symtab.exp
2774 * gdb.guile/scm-value-cc.exp
2775 * gdb.guile/types-module.exp
2776 * gdb.linespec/break-ask.exp
2777 * gdb.linespec/cpexplicit.exp
2778 * gdb.linespec/explicit.exp
2779 * gdb.linespec/keywords.exp
2780 * gdb.linespec/linespec.exp
2781 * gdb.linespec/ls-dollar.exp
2782 * gdb.linespec/ls-errs.exp
2783 * gdb.linespec/skip-two.exp
2784 * gdb.linespec/thread.exp
2785 * gdb.mi/mi-async.exp
2786 * gdb.mi/mi-basics.exp
2787 * gdb.mi/mi-break.exp
2788 * gdb.mi/mi-catch-load.exp
2789 * gdb.mi/mi-cli.exp
2790 * gdb.mi/mi-cmd-param-changed.exp
2791 * gdb.mi/mi-console.exp
2792 * gdb.mi/mi-detach.exp
2793 * gdb.mi/mi-disassemble.exp
2794 * gdb.mi/mi-eval.exp
2795 * gdb.mi/mi-file-transfer.exp
2796 * gdb.mi/mi-file.exp
2797 * gdb.mi/mi-fill-memory.exp
2798 * gdb.mi/mi-inheritance-syntax-error.exp
2799 * gdb.mi/mi-linespec-err-cp.exp
2800 * gdb.mi/mi-logging.exp
2801 * gdb.mi/mi-memory-changed.exp
2802 * gdb.mi/mi-read-memory.exp
2803 * gdb.mi/mi-record-changed.exp
2804 * gdb.mi/mi-reg-undefined.exp
2805 * gdb.mi/mi-regs.exp
2806 * gdb.mi/mi-return.exp
2807 * gdb.mi/mi-reverse.exp
2808 * gdb.mi/mi-simplerun.exp
2809 * gdb.mi/mi-solib.exp
2810 * gdb.mi/mi-stack.exp
2811 * gdb.mi/mi-stepi.exp
2812 * gdb.mi/mi-syn-frame.exp
2813 * gdb.mi/mi-until.exp
2814 * gdb.mi/mi-var-block.exp
2815 * gdb.mi/mi-var-child.exp
2816 * gdb.mi/mi-var-cmd.exp
2817 * gdb.mi/mi-var-cp.exp
2818 * gdb.mi/mi-var-display.exp
2819 * gdb.mi/mi-var-invalidate.exp
2820 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
2821 * gdb.mi/mi-vla-fortran.exp
2822 * gdb.mi/mi-watch.exp
2823 * gdb.mi/mi2-var-child.exp
2824 * gdb.mi/user-selected-context-sync.exp
2825 * gdb.modula2/unbounded-array.exp
2826 * gdb.multi/dummy-frame-restore.exp
2827 * gdb.multi/multi-arch-exec.exp
2828 * gdb.multi/multi-arch.exp
2829 * gdb.multi/tids.exp
2830 * gdb.multi/watchpoint-multi.exp
2831 * gdb.opencl/callfuncs.exp
2832 * gdb.opencl/convs_casts.exp
2833 * gdb.opencl/datatypes.exp
2834 * gdb.opencl/operators.exp
2835 * gdb.opencl/vec_comps.exp
2836 * gdb.opt/clobbered-registers-O2.exp
2837 * gdb.opt/inline-break.exp
2838 * gdb.opt/inline-bt.exp
2839 * gdb.opt/inline-cmds.exp
2840 * gdb.opt/inline-locals.exp
2841 * gdb.pascal/case-insensitive-symbols.exp
2842 * gdb.pascal/floats.exp
2843 * gdb.pascal/gdb11492.exp
2844 * gdb.python/lib-types.exp
2845 * gdb.python/py-arch.exp
2846 * gdb.python/py-as-string.exp
2847 * gdb.python/py-bad-printers.exp
2848 * gdb.python/py-block.exp
2849 * gdb.python/py-breakpoint-create-fail.exp
2850 * gdb.python/py-breakpoint.exp
2851 * gdb.python/py-caller-is.exp
2852 * gdb.python/py-cmd.exp
2853 * gdb.python/py-explore-cc.exp
2854 * gdb.python/py-explore.exp
2855 * gdb.python/py-finish-breakpoint.exp
2856 * gdb.python/py-finish-breakpoint2.exp
2857 * gdb.python/py-frame-args.exp
2858 * gdb.python/py-frame-inline.exp
2859 * gdb.python/py-frame.exp
2860 * gdb.python/py-framefilter-mi.exp
2861 * gdb.python/py-infthread.exp
2862 * gdb.python/py-lazy-string.exp
2863 * gdb.python/py-linetable.exp
2864 * gdb.python/py-mi-events.exp
2865 * gdb.python/py-mi-objfile.exp
2866 * gdb.python/py-mi.exp
2867 * gdb.python/py-objfile.exp
2868 * gdb.python/py-pp-integral.exp
2869 * gdb.python/py-pp-maint.exp
2870 * gdb.python/py-pp-re-notag.exp
2871 * gdb.python/py-pp-registration.exp
2872 * gdb.python/py-recurse-unwind.exp
2873 * gdb.python/py-strfns.exp
2874 * gdb.python/py-symbol.exp
2875 * gdb.python/py-symtab.exp
2876 * gdb.python/py-sync-interp.exp
2877 * gdb.python/py-typeprint.exp
2878 * gdb.python/py-unwind-maint.exp
2879 * gdb.python/py-unwind.exp
2880 * gdb.python/py-value-cc.exp
2881 * gdb.python/py-xmethods.exp
2882 * gdb.reverse/amd64-tailcall-reverse.exp
2883 * gdb.reverse/break-precsave.exp
2884 * gdb.reverse/break-reverse.exp
2885 * gdb.reverse/consecutive-precsave.exp
2886 * gdb.reverse/consecutive-reverse.exp
2887 * gdb.reverse/finish-precsave.exp
2888 * gdb.reverse/finish-reverse-bkpt.exp
2889 * gdb.reverse/finish-reverse.exp
2890 * gdb.reverse/fstatat-reverse.exp
2891 * gdb.reverse/getresuid-reverse.exp
2892 * gdb.reverse/i386-precsave.exp
2893 * gdb.reverse/i386-reverse.exp
2894 * gdb.reverse/i386-sse-reverse.exp
2895 * gdb.reverse/i387-env-reverse.exp
2896 * gdb.reverse/i387-stack-reverse.exp
2897 * gdb.reverse/insn-reverse.exp
2898 * gdb.reverse/machinestate-precsave.exp
2899 * gdb.reverse/machinestate.exp
2900 * gdb.reverse/next-reverse-bkpt-over-sr.exp
2901 * gdb.reverse/pipe-reverse.exp
2902 * gdb.reverse/readv-reverse.exp
2903 * gdb.reverse/recvmsg-reverse.exp
2904 * gdb.reverse/rerun-prec.exp
2905 * gdb.reverse/s390-mvcle.exp
2906 * gdb.reverse/step-precsave.exp
2907 * gdb.reverse/step-reverse.exp
2908 * gdb.reverse/time-reverse.exp
2909 * gdb.reverse/until-precsave.exp
2910 * gdb.reverse/until-reverse.exp
2911 * gdb.reverse/waitpid-reverse.exp
2912 * gdb.reverse/watch-precsave.exp
2913 * gdb.reverse/watch-reverse.exp
2914 * gdb.rust/generics.exp
2915 * gdb.rust/methods.exp
2916 * gdb.rust/modules.exp
2917 * gdb.rust/simple.exp
2918 * gdb.server/connect-with-no-symbol-file.exp
2919 * gdb.server/ext-attach.exp
2920 * gdb.server/ext-restart.exp
2921 * gdb.server/ext-wrapper.exp
2922 * gdb.server/file-transfer.exp
2923 * gdb.server/server-exec-info.exp
2924 * gdb.server/server-kill.exp
2925 * gdb.server/server-mon.exp
2926 * gdb.server/wrapper.exp
2927 * gdb.stabs/exclfwd.exp
2928 * gdb.stabs/gdb11479.exp
2929 * gdb.threads/clone-new-thread-event.exp
2930 * gdb.threads/corethreads.exp
2931 * gdb.threads/current-lwp-dead.exp
2932 * gdb.threads/dlopen-libpthread.exp
2933 * gdb.threads/gcore-thread.exp
2934 * gdb.threads/sigstep-threads.exp
2935 * gdb.threads/watchpoint-fork.exp
2936 * gdb.trace/actions-changed.exp
2937 * gdb.trace/backtrace.exp
2938 * gdb.trace/change-loc.exp
2939 * gdb.trace/circ.exp
2940 * gdb.trace/collection.exp
2941 * gdb.trace/disconnected-tracing.exp
2942 * gdb.trace/ftrace.exp
2943 * gdb.trace/mi-trace-frame-collected.exp
2944 * gdb.trace/mi-trace-unavailable.exp
2945 * gdb.trace/mi-traceframe-changed.exp
2946 * gdb.trace/mi-tsv-changed.exp
2947 * gdb.trace/no-attach-trace.exp
2948 * gdb.trace/passc-dyn.exp
2949 * gdb.trace/qtro.exp
2950 * gdb.trace/range-stepping.exp
2951 * gdb.trace/read-memory.exp
2952 * gdb.trace/save-trace.exp
2953 * gdb.trace/signal.exp
2954 * gdb.trace/status-stop.exp
2955 * gdb.trace/tfile.exp
2956 * gdb.trace/trace-break.exp
2957 * gdb.trace/trace-buffer-size.exp
2958 * gdb.trace/trace-condition.exp
2959 * gdb.trace/tracefile-pseudo-reg.exp
2960 * gdb.trace/tstatus.exp
2961 * gdb.trace/unavailable.exp
2962 * gdb.trace/while-dyn.exp
2963 * gdb.trace/while-stepping.exp
2964
2965 2016-12-22 Doug Evans <xdje42@gmail.com>
2966
2967 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
2968 and msymbols.
2969
2970 2016-12-19 Yao Qi <yao.qi@linaro.org>
2971
2972 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
2973 (test_with_self): Don't call do_steps_and_nexts, and remove
2974 code about stepping into xmalloc.
2975
2976 2016-12-09 Yao Qi <yao.qi@linaro.org>
2977
2978 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
2979
2980 2016-12-09 Yao Qi <yao.qi@linaro.org>
2981
2982 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
2983
2984 2016-12-09 Pedro Alves <palves@redhat.com>
2985
2986 * gdb.base/all-architectures-0.exp: New file.
2987 * gdb.base/all-architectures-1.exp: New file.
2988 * gdb.base/all-architectures-2.exp: New file.
2989 * gdb.base/all-architectures-3.exp: New file.
2990 * gdb.base/all-architectures-4.exp: New file.
2991 * gdb.base/all-architectures-5.exp: New file.
2992 * gdb.base/all-architectures-6.exp: New file.
2993 * gdb.base/all-architectures-7.exp: New file.
2994 * gdb.base/all-architectures.exp.in: New file.
2995
2996 2016-12-09 Yao Qi <yao.qi@linaro.org>
2997
2998 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
2999
3000 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
3001
3002 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
3003 possible.
3004 Remove useless pattern-matching code.
3005
3006 2016-12-02 Pedro Alves <palves@redhat.com>
3007
3008 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
3009 procedure.
3010 (top level): Call it.
3011
3012 2016-12-02 Pedro Alves <palves@redhat.com>
3013
3014 * gdb.base/commands.exp (user_defined_command_args_stack_test):
3015 New procedure.
3016 (top level): Call it.
3017
3018 2016-12-02 Pedro Alves <palves@redhat.com>
3019
3020 PR cli/20559
3021 * gdb.base/commands.exp (user_defined_command_args_eval): New
3022 procedure.
3023 (top level): Call it.
3024
3025 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
3026
3027 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
3028 timeout handling.
3029
3030 2016-12-02 Tom Tromey <tom@tromey.com>
3031
3032 * gdb.dwarf2/main-subprogram.c: New file.
3033 * gdb.dwarf2/main-subprogram.exp: New file.
3034
3035 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3036
3037 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
3038 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
3039 gdb_test_no_output for a couple of cases.
3040 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
3041
3042 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3043
3044 Fix test names and standardize compilation error messages throughout
3045 the following files:
3046
3047 * gdb.ada/start.exp
3048 * gdb.arch/alpha-step.exp
3049 * gdb.arch/e500-prologue.exp
3050 * gdb.arch/ftrace-insn-reloc.exp
3051 * gdb.arch/gdb1291.exp
3052 * gdb.arch/gdb1431.exp
3053 * gdb.arch/gdb1558.exp
3054 * gdb.arch/i386-dr3-watch.exp
3055 * gdb.arch/i386-sse-stack-align.exp
3056 * gdb.arch/ia64-breakpoint-shadow.exp
3057 * gdb.arch/pa-nullify.exp
3058 * gdb.arch/powerpc-aix-prologue.exp
3059 * gdb.arch/thumb-bx-pc.exp
3060 * gdb.base/annota1.exp
3061 * gdb.base/annota3.exp
3062 * gdb.base/arrayidx.exp
3063 * gdb.base/assign.exp
3064 * gdb.base/attach.exp
3065 * gdb.base/auxv.exp
3066 * gdb.base/bang.exp
3067 * gdb.base/bfp-test.exp
3068 * gdb.base/bigcore.exp
3069 * gdb.base/bitfields2.exp
3070 * gdb.base/break-fun-addr.exp
3071 * gdb.base/break-probes.exp
3072 * gdb.base/call-rt-st.exp
3073 * gdb.base/callexit.exp
3074 * gdb.base/catch-fork-kill.exp
3075 * gdb.base/charset.exp
3076 * gdb.base/checkpoint.exp
3077 * gdb.base/comprdebug.exp
3078 * gdb.base/constvars.exp
3079 * gdb.base/coredump-filter.exp
3080 * gdb.base/cursal.exp
3081 * gdb.base/cvexpr.exp
3082 * gdb.base/detach.exp
3083 * gdb.base/display.exp
3084 * gdb.base/dmsym.exp
3085 * gdb.base/dprintf-pending.exp
3086 * gdb.base/dso2dso.exp
3087 * gdb.base/dtrace-probe.exp
3088 * gdb.base/dump.exp
3089 * gdb.base/enum_cond.exp
3090 * gdb.base/exe-lock.exp
3091 * gdb.base/exec-invalid-sysroot.exp
3092 * gdb.base/execl-update-breakpoints.exp
3093 * gdb.base/exprs.exp
3094 * gdb.base/fileio.exp
3095 * gdb.base/find.exp
3096 * gdb.base/finish.exp
3097 * gdb.base/fixsection.exp
3098 * gdb.base/foll-vfork.exp
3099 * gdb.base/frame-args.exp
3100 * gdb.base/gcore.exp
3101 * gdb.base/gdb1250.exp
3102 * gdb.base/global-var-nested-by-dso.exp
3103 * gdb.base/gnu-ifunc.exp
3104 * gdb.base/hashline1.exp
3105 * gdb.base/hashline2.exp
3106 * gdb.base/hashline3.exp
3107 * gdb.base/hbreak-in-shr-unsupported.exp
3108 * gdb.base/huge.exp
3109 * gdb.base/infcall-input.exp
3110 * gdb.base/info-fun.exp
3111 * gdb.base/info-shared.exp
3112 * gdb.base/jit-simple.exp
3113 * gdb.base/jit-so.exp
3114 * gdb.base/jit.exp
3115 * gdb.base/jump.exp
3116 * gdb.base/label.exp
3117 * gdb.base/lineinc.exp
3118 * gdb.base/logical.exp
3119 * gdb.base/longjmp.exp
3120 * gdb.base/macscp.exp
3121 * gdb.base/miscexprs.exp
3122 * gdb.base/new-ui-echo.exp
3123 * gdb.base/new-ui-pending-input.exp
3124 * gdb.base/new-ui.exp
3125 * gdb.base/nodebug.exp
3126 * gdb.base/nofield.exp
3127 * gdb.base/offsets.exp
3128 * gdb.base/overlays.exp
3129 * gdb.base/pending.exp
3130 * gdb.base/pointers.exp
3131 * gdb.base/pr11022.exp
3132 * gdb.base/printcmds.exp
3133 * gdb.base/prologue.exp
3134 * gdb.base/ptr-typedef.exp
3135 * gdb.base/realname-expand.exp
3136 * gdb.base/relativedebug.exp
3137 * gdb.base/relocate.exp
3138 * gdb.base/remote.exp
3139 * gdb.base/reread.exp
3140 * gdb.base/return2.exp
3141 * gdb.base/savedregs.exp
3142 * gdb.base/sep.exp
3143 * gdb.base/sepdebug.exp
3144 * gdb.base/sepsymtab.exp
3145 * gdb.base/set-inferior-tty.exp
3146 * gdb.base/setshow.exp
3147 * gdb.base/shlib-call.exp
3148 * gdb.base/sigaltstack.exp
3149 * gdb.base/siginfo-addr.exp
3150 * gdb.base/signals.exp
3151 * gdb.base/signull.exp
3152 * gdb.base/sigrepeat.exp
3153 * gdb.base/so-impl-ld.exp
3154 * gdb.base/solib-display.exp
3155 * gdb.base/solib-overlap.exp
3156 * gdb.base/solib-search.exp
3157 * gdb.base/solib-symbol.exp
3158 * gdb.base/structs.exp
3159 * gdb.base/structs2.exp
3160 * gdb.base/symtab-search-order.exp
3161 * gdb.base/twice.exp
3162 * gdb.base/unload.exp
3163 * gdb.base/varargs.exp
3164 * gdb.base/watchpoint-solib.exp
3165 * gdb.base/watchpoint.exp
3166 * gdb.base/whatis.exp
3167 * gdb.base/wrong_frame_bt_full.exp
3168 * gdb.btrace/dlopen.exp
3169 * gdb.cell/ea-standalone.exp
3170 * gdb.cell/ea-test.exp
3171 * gdb.cp/dispcxx.exp
3172 * gdb.cp/gdb2384.exp
3173 * gdb.cp/method2.exp
3174 * gdb.cp/nextoverthrow.exp
3175 * gdb.cp/pr10728.exp
3176 * gdb.disasm/am33.exp
3177 * gdb.disasm/h8300s.exp
3178 * gdb.disasm/mn10300.exp
3179 * gdb.disasm/sh3.exp
3180 * gdb.dwarf2/dw2-dir-file-name.exp
3181 * gdb.fortran/complex.exp
3182 * gdb.fortran/library-module.exp
3183 * gdb.guile/scm-pretty-print.exp
3184 * gdb.guile/scm-symbol.exp
3185 * gdb.guile/scm-type.exp
3186 * gdb.guile/scm-value.exp
3187 * gdb.linespec/linespec.exp
3188 * gdb.mi/gdb701.exp
3189 * gdb.mi/gdb792.exp
3190 * gdb.mi/mi-breakpoint-changed.exp
3191 * gdb.mi/mi-dprintf-pending.exp
3192 * gdb.mi/mi-dprintf.exp
3193 * gdb.mi/mi-exit-code.exp
3194 * gdb.mi/mi-pending.exp
3195 * gdb.mi/mi-solib.exp
3196 * gdb.mi/new-ui-mi-sync.exp
3197 * gdb.mi/pr11022.exp
3198 * gdb.mi/user-selected-context-sync.exp
3199 * gdb.opt/solib-intra-step.exp
3200 * gdb.python/py-events.exp
3201 * gdb.python/py-finish-breakpoint.exp
3202 * gdb.python/py-mi.exp
3203 * gdb.python/py-prettyprint.exp
3204 * gdb.python/py-shared.exp
3205 * gdb.python/py-symbol.exp
3206 * gdb.python/py-template.exp
3207 * gdb.python/py-type.exp
3208 * gdb.python/py-value.exp
3209 * gdb.reverse/solib-precsave.exp
3210 * gdb.reverse/solib-reverse.exp
3211 * gdb.server/solib-list.exp
3212 * gdb.stabs/weird.exp
3213 * gdb.threads/reconnect-signal.exp
3214 * gdb.threads/stepi-random-signal.exp
3215 * gdb.trace/actions.exp
3216 * gdb.trace/ax.exp
3217 * gdb.trace/backtrace.exp
3218 * gdb.trace/change-loc.exp
3219 * gdb.trace/deltrace.exp
3220 * gdb.trace/ftrace-lock.exp
3221 * gdb.trace/ftrace.exp
3222 * gdb.trace/infotrace.exp
3223 * gdb.trace/mi-tracepoint-changed.exp
3224 * gdb.trace/packetlen.exp
3225 * gdb.trace/passcount.exp
3226 * gdb.trace/pending.exp
3227 * gdb.trace/range-stepping.exp
3228 * gdb.trace/report.exp
3229 * gdb.trace/stap-trace.exp
3230 * gdb.trace/tfind.exp
3231 * gdb.trace/trace-break.exp
3232 * gdb.trace/trace-condition.exp
3233 * gdb.trace/trace-enable-disable.exp
3234 * gdb.trace/trace-mt.exp
3235 * gdb.trace/tracecmd.exp
3236 * gdb.trace/tspeed.exp
3237 * gdb.trace/tsv.exp
3238 * lib/perftest.exp
3239
3240 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3241
3242 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
3243 with gdb_test_no_output.
3244 Use command as test name.
3245
3246 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3247
3248 Fix test names starting with uppercase throughout the files.
3249
3250 * gdb.ada/assign_1.exp
3251 * gdb.ada/boolean_expr.exp
3252 * gdb.base/arrayidx.exp
3253 * gdb.base/del.exp
3254 * gdb.base/gcore-buffer-overflow.exp
3255 * gdb.base/testenv.exp
3256 * gdb.compile/compile.exp
3257 * gdb.python/py-framefilter-invalidarg.exp
3258 * gdb.python/py-framefilter.exp
3259
3260 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3261
3262 Fix test names starting with uppercase throughout the files.
3263
3264 * gdb.ada/array_return.exp
3265 * gdb.ada/expr_delims.exp
3266 * gdb.ada/mi_dyn_arr.exp
3267 * gdb.ada/mi_interface.exp
3268 * gdb.ada/mi_var_array.exp
3269 * gdb.ada/watch_arg.exp
3270 * gdb.arch/alpha-step.exp
3271 * gdb.arch/altivec-regs.exp
3272 * gdb.arch/e500-regs.exp
3273 * gdb.arch/powerpc-d128-regs.exp
3274 * gdb.base/arrayidx.exp
3275 * gdb.base/break.exp
3276 * gdb.base/checkpoint.exp
3277 * gdb.base/debug-expr.exp
3278 * gdb.base/dmsym.exp
3279 * gdb.base/radix.exp
3280 * gdb.base/sepdebug.exp
3281 * gdb.base/testenv.exp
3282 * gdb.base/watch_thread_num.exp
3283 * gdb.base/watchpoint-cond-gone.exp
3284 * gdb.cell/break.exp
3285 * gdb.cell/ea-cache.exp
3286 * gdb.compile/compile.exp
3287 * gdb.cp/gdb2495.exp
3288 * gdb.gdb/selftest.exp
3289 * gdb.gdb/xfullpath.exp
3290 * gdb.go/hello.exp
3291 * gdb.go/integers.exp
3292 * gdb.objc/basicclass.exp
3293 * gdb.pascal/hello.exp
3294 * gdb.pascal/integers.exp
3295 * gdb.python/py-breakpoint.exp
3296 * gdb.python/py-cmd.exp
3297 * gdb.python/py-linetable.exp
3298 * gdb.python/py-xmethods.exp
3299 * gdb.python/python.exp
3300 * gdb.reverse/consecutive-precsave.exp
3301 * gdb.reverse/finish-precsave.exp
3302 * gdb.reverse/i386-precsave.exp
3303 * gdb.reverse/machinestate-precsave.exp
3304 * gdb.reverse/sigall-precsave.exp
3305 * gdb.reverse/solib-precsave.exp
3306 * gdb.reverse/step-precsave.exp
3307 * gdb.reverse/until-precsave.exp
3308 * gdb.reverse/watch-precsave.exp
3309 * gdb.threads/leader-exit.exp
3310 * gdb.threads/pthreads.exp
3311 * gdb.threads/wp-replication.exp
3312 * gdb.trace/actions.exp
3313 * gdb.trace/mi-tsv-changed.exp
3314 * gdb.trace/tsv.exp
3315
3316 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3317
3318 Fix test names starting with uppercase throughout the files.
3319
3320 * gdb.arch/i386-bp_permanent.exp
3321 * gdb.arch/i386-gnu-cfi.exp
3322 * gdb.base/disasm-end-cu.exp
3323 * gdb.base/macscp.exp
3324 * gdb.base/pending.exp
3325 * gdb.base/watch_thread_num.exp
3326 * gdb.cp/exception.exp
3327 * gdb.cp/gdb2495.exp
3328 * gdb.cp/local.exp
3329 * gdb.python/py-evsignal.exp
3330 * gdb.python/python.exp
3331 * gdb.trace/tracecmd.exp
3332
3333 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3334
3335 Fix test names starting with uppercase throughout the files.
3336
3337 * gdb.base/charset.exp
3338 * gdb.base/eval.exp
3339 * gdb.base/multi-forks.exp
3340 * gdb.guile/scm-progspace.exp
3341 * gdb.opencl/datatypes.exp
3342 * gdb.python/py-block.exp
3343 * gdb.python/py-function.exp
3344 * gdb.python/py-symbol.exp
3345 * gdb.python/py-symtab.exp
3346 * gdb.python/py-xmethods.exp
3347 * gdb.reverse/break-precsave.exp
3348 * gdb.reverse/break-reverse.exp
3349 * gdb.reverse/consecutive-precsave.exp
3350 * gdb.reverse/consecutive-reverse.exp
3351 * gdb.reverse/finish-precsave.exp
3352 * gdb.reverse/finish-reverse-bkpt.exp
3353 * gdb.reverse/finish-reverse.exp
3354 * gdb.reverse/fstatat-reverse.exp
3355 * gdb.reverse/getresuid-reverse.exp
3356 * gdb.reverse/i386-precsave.exp
3357 * gdb.reverse/i386-reverse.exp
3358 * gdb.reverse/i386-sse-reverse.exp
3359 * gdb.reverse/i387-stack-reverse.exp
3360 * gdb.reverse/insn-reverse.exp
3361 * gdb.reverse/machinestate-precsave.exp
3362 * gdb.reverse/machinestate.exp
3363 * gdb.reverse/next-reverse-bkpt-over-sr.exp
3364 * gdb.reverse/pipe-reverse.exp
3365 * gdb.reverse/readv-reverse.exp
3366 * gdb.reverse/recvmsg-reverse.exp
3367 * gdb.reverse/rerun-prec.exp
3368 * gdb.reverse/s390-mvcle.exp
3369 * gdb.reverse/sigall-precsave.exp
3370 * gdb.reverse/sigall-reverse.exp
3371 * gdb.reverse/solib-precsave.exp
3372 * gdb.reverse/solib-reverse.exp
3373 * gdb.reverse/step-precsave.exp
3374 * gdb.reverse/step-reverse.exp
3375 * gdb.reverse/time-reverse.exp
3376 * gdb.reverse/until-precsave.exp
3377 * gdb.reverse/until-reverse.exp
3378 * gdb.reverse/waitpid-reverse.exp
3379 * gdb.reverse/watch-precsave.exp
3380 * gdb.reverse/watch-reverse.exp
3381
3382 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3383
3384 Fix test names starting with uppercase throughout the files.
3385
3386 * gdb.arch/i386-mpx-simple_segv.exp
3387 * gdb.arch/i386-mpx.exp
3388 * gdb.arch/i386-permbkpt.exp
3389 * gdb.arch/pa-nullify.exp
3390 * gdb.arch/powerpc-d128-regs.exp
3391 * gdb.arch/vsx-regs.exp
3392 * gdb.base/bfp-test.exp
3393 * gdb.base/break.exp
3394 * gdb.base/breakpoint-shadow.exp
3395 * gdb.base/callfuncs.exp
3396 * gdb.base/charset.exp
3397 * gdb.base/commands.exp
3398 * gdb.base/completion.exp
3399 * gdb.base/dfp-test.exp
3400 * gdb.base/echo.exp
3401 * gdb.base/ending-run.exp
3402 * gdb.base/eval.exp
3403 * gdb.base/expand-psymtabs.exp
3404 * gdb.base/float128.exp
3405 * gdb.base/floatn.exp
3406 * gdb.base/foll-exec-mode.exp
3407 * gdb.base/gdb1056.exp
3408 * gdb.base/gdb11531.exp
3409 * gdb.base/kill-after-signal.exp
3410 * gdb.base/multi-forks.exp
3411 * gdb.base/overlays.exp
3412 * gdb.base/pending.exp
3413 * gdb.base/sepdebug.exp
3414 * gdb.base/testenv.exp
3415 * gdb.base/valgrind-db-attach.exp
3416 * gdb.base/watch_thread_num.exp
3417 * gdb.base/watchpoint-cond-gone.exp
3418 * gdb.base/watchpoint.exp
3419 * gdb.base/watchpoints.exp
3420 * gdb.cp/arg-reference.exp
3421 * gdb.cp/baseenum.exp
3422 * gdb.cp/operator.exp
3423 * gdb.cp/shadow.exp
3424 * gdb.dwarf2/dw2-op-out-param.exp
3425 * gdb.dwarf2/dw2-reg-undefined.exp
3426 * gdb.go/chan.exp
3427 * gdb.go/hello.exp
3428 * gdb.go/integers.exp
3429 * gdb.go/methods.exp
3430 * gdb.go/package.exp
3431 * gdb.guile/scm-parameter.exp
3432 * gdb.guile/scm-progspace.exp
3433 * gdb.guile/scm-value.exp
3434 * gdb.mi/mi-pending.exp
3435 * gdb.mi/user-selected-context-sync.exp
3436 * gdb.multi/multi-attach.exp
3437 * gdb.multi/tids.exp
3438 * gdb.opt/clobbered-registers-O2.exp
3439 * gdb.pascal/floats.exp
3440 * gdb.pascal/integers.exp
3441 * gdb.python/py-block.exp
3442 * gdb.python/py-events.exp
3443 * gdb.python/py-parameter.exp
3444 * gdb.python/py-symbol.exp
3445 * gdb.python/py-symtab.exp
3446 * gdb.python/py-type.exp
3447 * gdb.python/py-value.exp
3448 * gdb.python/py-xmethods.exp
3449 * gdb.python/python.exp
3450 * gdb.reverse/break-precsave.exp
3451 * gdb.reverse/consecutive-precsave.exp
3452 * gdb.reverse/finish-precsave.exp
3453 * gdb.reverse/i386-precsave.exp
3454 * gdb.reverse/machinestate-precsave.exp
3455 * gdb.reverse/sigall-precsave.exp
3456 * gdb.reverse/solib-precsave.exp
3457 * gdb.reverse/step-precsave.exp
3458 * gdb.reverse/until-precsave.exp
3459 * gdb.reverse/watch-precsave.exp
3460 * gdb.server/ext-attach.exp
3461 * gdb.server/ext-restart.exp
3462 * gdb.server/ext-run.exp
3463 * gdb.server/ext-wrapper.exp
3464 * gdb.stabs/gdb11479.exp
3465 * gdb.stabs/weird.exp
3466 * gdb.threads/attach-many-short-lived-threads.exp
3467 * gdb.threads/kill.exp
3468 * gdb.threads/watchpoint-fork.exp
3469
3470 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3471
3472 Fix test names starting with uppercase throughout all the files below.
3473
3474 * gdb.ada/array_return.exp
3475 * gdb.ada/catch_ex.exp
3476 * gdb.ada/info_exc.exp
3477 * gdb.ada/mi_catch_ex.exp
3478 * gdb.ada/mi_dyn_arr.exp
3479 * gdb.ada/mi_ex_cond.exp
3480 * gdb.ada/mi_exc_info.exp
3481 * gdb.ada/mi_interface.exp
3482 * gdb.ada/mi_task_arg.exp
3483 * gdb.ada/mi_task_info.exp
3484 * gdb.ada/mi_var_array.exp
3485 * gdb.arch/alpha-step.exp
3486 * gdb.arch/amd64-disp-step.exp
3487 * gdb.arch/arm-disp-step.exp
3488 * gdb.arch/disp-step-insn-reloc.exp
3489 * gdb.arch/e500-prologue.exp
3490 * gdb.arch/ftrace-insn-reloc.exp
3491 * gdb.arch/gdb1558.exp
3492 * gdb.arch/i386-bp_permanent.exp
3493 * gdb.arch/i386-disp-step.exp
3494 * gdb.arch/i386-float.exp
3495 * gdb.arch/i386-gnu-cfi.exp
3496 * gdb.arch/ia64-breakpoint-shadow.exp
3497 * gdb.arch/mips16-thunks.exp
3498 * gdb.arch/pa-nullify.exp
3499 * gdb.arch/powerpc-aix-prologue.exp
3500 * gdb.arch/powerpc-power.exp
3501 * gdb.arch/ppc-dfp.exp
3502 * gdb.arch/s390-tdbregs.exp
3503 * gdb.arch/spu-info.exp
3504 * gdb.arch/spu-ls.exp
3505 * gdb.arch/thumb-bx-pc.exp
3506 * gdb.base/advance.exp
3507 * gdb.base/annota-input-while-running.exp
3508 * gdb.base/arrayidx.exp
3509 * gdb.base/asmlabel.exp
3510 * gdb.base/async.exp
3511 * gdb.base/attach-wait-input.exp
3512 * gdb.base/auto-connect-native-target.exp
3513 * gdb.base/batch-preserve-term-settings.exp
3514 * gdb.base/bfp-test.exp
3515 * gdb.base/bigcore.exp
3516 * gdb.base/bp-permanent.exp
3517 * gdb.base/break-always.exp
3518 * gdb.base/break-fun-addr.exp
3519 * gdb.base/break-idempotent.exp
3520 * gdb.base/break-main-file-remove-fail.exp
3521 * gdb.base/break-probes.exp
3522 * gdb.base/break-unload-file.exp
3523 * gdb.base/break.exp
3524 * gdb.base/call-ar-st.exp
3525 * gdb.base/call-rt-st.exp
3526 * gdb.base/call-sc.exp
3527 * gdb.base/call-signal-resume.exp
3528 * gdb.base/call-strs.exp
3529 * gdb.base/callexit.exp
3530 * gdb.base/callfuncs.exp
3531 * gdb.base/catch-gdb-caused-signals.exp
3532 * gdb.base/catch-signal-siginfo-cond.exp
3533 * gdb.base/catch-syscall.exp
3534 * gdb.base/compare-sections.exp
3535 * gdb.base/cond-eval-mode.exp
3536 * gdb.base/condbreak-call-false.exp
3537 * gdb.base/consecutive-step-over.exp
3538 * gdb.base/cursal.exp
3539 * gdb.base/disabled-location.exp
3540 * gdb.base/disasm-end-cu.exp
3541 * gdb.base/display.exp
3542 * gdb.base/double-prompt-target-event-error.exp
3543 * gdb.base/dprintf-bp-same-addr.exp
3544 * gdb.base/dprintf-detach.exp
3545 * gdb.base/dprintf-next.exp
3546 * gdb.base/dprintf-non-stop.exp
3547 * gdb.base/dprintf-pending.exp
3548 * gdb.base/dso2dso.exp
3549 * gdb.base/ending-run.exp
3550 * gdb.base/enum_cond.exp
3551 * gdb.base/examine-backward.exp
3552 * gdb.base/exe-lock.exp
3553 * gdb.base/exec-invalid-sysroot.exp
3554 * gdb.base/execl-update-breakpoints.exp
3555 * gdb.base/execution-termios.exp
3556 * gdb.base/fileio.exp
3557 * gdb.base/fixsection.exp
3558 * gdb.base/foll-exec-mode.exp
3559 * gdb.base/foll-exec.exp
3560 * gdb.base/fork-running-state.exp
3561 * gdb.base/frame-args.exp
3562 * gdb.base/fullpath-expand.exp
3563 * gdb.base/func-ptr.exp
3564 * gdb.base/gcore-relro-pie.exp
3565 * gdb.base/gdb1090.exp
3566 * gdb.base/gdb1555.exp
3567 * gdb.base/global-var-nested-by-dso.exp
3568 * gdb.base/gnu-ifunc.exp
3569 * gdb.base/hbreak-in-shr-unsupported.exp
3570 * gdb.base/hbreak-unmapped.exp
3571 * gdb.base/hook-stop.exp
3572 * gdb.base/infcall-input.exp
3573 * gdb.base/info-fun.exp
3574 * gdb.base/info-shared.exp
3575 * gdb.base/interrupt-noterm.exp
3576 * gdb.base/jit-so.exp
3577 * gdb.base/jit.exp
3578 * gdb.base/line-symtabs.exp
3579 * gdb.base/list.exp
3580 * gdb.base/longjmp.exp
3581 * gdb.base/macscp.exp
3582 * gdb.base/max-value-size.exp
3583 * gdb.base/nodebug.exp
3584 * gdb.base/nofield.exp
3585 * gdb.base/overlays.exp
3586 * gdb.base/paginate-after-ctrl-c-running.exp
3587 * gdb.base/paginate-bg-execution.exp
3588 * gdb.base/paginate-inferior-exit.exp
3589 * gdb.base/pending.exp
3590 * gdb.base/pr11022.exp
3591 * gdb.base/printcmds.exp
3592 * gdb.base/ptr-typedef.exp
3593 * gdb.base/ptype.exp
3594 * gdb.base/randomize.exp
3595 * gdb.base/range-stepping.exp
3596 * gdb.base/realname-expand.exp
3597 * gdb.base/relativedebug.exp
3598 * gdb.base/remote.exp
3599 * gdb.base/savedregs.exp
3600 * gdb.base/sepdebug.exp
3601 * gdb.base/set-noassign.exp
3602 * gdb.base/shlib-call.exp
3603 * gdb.base/shreloc.exp
3604 * gdb.base/sigaltstack.exp
3605 * gdb.base/sigbpt.exp
3606 * gdb.base/siginfo-addr.exp
3607 * gdb.base/siginfo-obj.exp
3608 * gdb.base/siginfo-thread.exp
3609 * gdb.base/signest.exp
3610 * gdb.base/signull.exp
3611 * gdb.base/sigrepeat.exp
3612 * gdb.base/skip.exp
3613 * gdb.base/so-impl-ld.exp
3614 * gdb.base/solib-corrupted.exp
3615 * gdb.base/solib-disc.exp
3616 * gdb.base/solib-display.exp
3617 * gdb.base/solib-overlap.exp
3618 * gdb.base/solib-search.exp
3619 * gdb.base/solib-symbol.exp
3620 * gdb.base/source-execution.exp
3621 * gdb.base/sss-bp-on-user-bp-2.exp
3622 * gdb.base/sss-bp-on-user-bp.exp
3623 * gdb.base/stack-checking.exp
3624 * gdb.base/stale-infcall.exp
3625 * gdb.base/step-break.exp
3626 * gdb.base/step-line.exp
3627 * gdb.base/step-over-exit.exp
3628 * gdb.base/step-test.exp
3629 * gdb.base/structs.exp
3630 * gdb.base/sym-file.exp
3631 * gdb.base/symtab-search-order.exp
3632 * gdb.base/term.exp
3633 * gdb.base/type-opaque.exp
3634 * gdb.base/unload.exp
3635 * gdb.base/until-nodebug.exp
3636 * gdb.base/until.exp
3637 * gdb.base/unwindonsignal.exp
3638 * gdb.base/watch-cond.exp
3639 * gdb.base/watch-non-mem.exp
3640 * gdb.base/watch_thread_num.exp
3641 * gdb.base/watchpoint-reuse-slot.exp
3642 * gdb.base/watchpoint-solib.exp
3643 * gdb.base/watchpoint.exp
3644 * gdb.btrace/dlopen.exp
3645 * gdb.cell/arch.exp
3646 * gdb.cell/break.exp
3647 * gdb.cell/bt.exp
3648 * gdb.cell/core.exp
3649 * gdb.cell/data.exp
3650 * gdb.cell/dwarfaddr.exp
3651 * gdb.cell/ea-cache.exp
3652 * gdb.cell/ea-standalone.exp
3653 * gdb.cell/ea-test.exp
3654 * gdb.cell/f-regs.exp
3655 * gdb.cell/fork.exp
3656 * gdb.cell/gcore.exp
3657 * gdb.cell/mem-access.exp
3658 * gdb.cell/ptype.exp
3659 * gdb.cell/registers.exp
3660 * gdb.cell/sizeof.exp
3661 * gdb.cell/solib-symbol.exp
3662 * gdb.cell/solib.exp
3663 * gdb.compile/compile-tls.exp
3664 * gdb.cp/exception.exp
3665 * gdb.cp/gdb2495.exp
3666 * gdb.cp/local.exp
3667 * gdb.cp/mb-inline.exp
3668 * gdb.cp/mb-templates.exp
3669 * gdb.cp/pr10687.exp
3670 * gdb.cp/pr9167.exp
3671 * gdb.cp/scope-err.exp
3672 * gdb.cp/templates.exp
3673 * gdb.cp/virtfunc.exp
3674 * gdb.dwarf2/dw2-dir-file-name.exp
3675 * gdb.dwarf2/dw2-single-line-discriminators.exp
3676 * gdb.fortran/complex.exp
3677 * gdb.fortran/library-module.exp
3678 * gdb.guile/guile.exp
3679 * gdb.guile/scm-cmd.exp
3680 * gdb.guile/scm-frame-inline.exp
3681 * gdb.guile/scm-objfile.exp
3682 * gdb.guile/scm-pretty-print.exp
3683 * gdb.guile/scm-symbol.exp
3684 * gdb.guile/scm-type.exp
3685 * gdb.guile/scm-value.exp
3686 * gdb.linespec/keywords.exp
3687 * gdb.linespec/ls-errs.exp
3688 * gdb.linespec/macro-relative.exp
3689 * gdb.linespec/thread.exp
3690 * gdb.mi/mi-breakpoint-changed.exp
3691 * gdb.mi/mi-dprintf-pending.exp
3692 * gdb.mi/mi-fullname-deleted.exp
3693 * gdb.mi/mi-logging.exp
3694 * gdb.mi/mi-pending.exp
3695 * gdb.mi/mi-solib.exp
3696 * gdb.mi/new-ui-mi-sync.exp
3697 * gdb.mi/user-selected-context-sync.exp
3698 * gdb.multi/dummy-frame-restore.exp
3699 * gdb.multi/multi-arch-exec.exp
3700 * gdb.multi/remove-inferiors.exp
3701 * gdb.multi/watchpoint-multi-exit.exp
3702 * gdb.opt/solib-intra-step.exp
3703 * gdb.perf/backtrace.exp
3704 * gdb.perf/single-step.exp
3705 * gdb.perf/skip-command.exp
3706 * gdb.perf/skip-prologue.exp
3707 * gdb.perf/solib.exp
3708 * gdb.python/lib-types.exp
3709 * gdb.python/py-as-string.exp
3710 * gdb.python/py-bad-printers.exp
3711 * gdb.python/py-block.exp
3712 * gdb.python/py-breakpoint.exp
3713 * gdb.python/py-cmd.exp
3714 * gdb.python/py-events.exp
3715 * gdb.python/py-evthreads.exp
3716 * gdb.python/py-finish-breakpoint.exp
3717 * gdb.python/py-finish-breakpoint2.exp
3718 * gdb.python/py-frame-inline.exp
3719 * gdb.python/py-frame.exp
3720 * gdb.python/py-inferior.exp
3721 * gdb.python/py-infthread.exp
3722 * gdb.python/py-mi.exp
3723 * gdb.python/py-objfile.exp
3724 * gdb.python/py-pp-maint.exp
3725 * gdb.python/py-pp-registration.exp
3726 * gdb.python/py-prettyprint.exp
3727 * gdb.python/py-recurse-unwind.exp
3728 * gdb.python/py-shared.exp
3729 * gdb.python/py-symbol.exp
3730 * gdb.python/py-symtab.exp
3731 * gdb.python/py-template.exp
3732 * gdb.python/py-type.exp
3733 * gdb.python/py-unwind-maint.exp
3734 * gdb.python/py-unwind.exp
3735 * gdb.python/py-value.exp
3736 * gdb.python/python.exp
3737 * gdb.reverse/finish-reverse-bkpt.exp
3738 * gdb.reverse/insn-reverse.exp
3739 * gdb.reverse/next-reverse-bkpt-over-sr.exp
3740 * gdb.reverse/solib-precsave.exp
3741 * gdb.reverse/solib-reverse.exp
3742 * gdb.stabs/gdb11479.exp
3743 * gdb.stabs/weird.exp
3744 * gdb.threads/fork-child-threads.exp
3745 * gdb.threads/fork-plus-threads.exp
3746 * gdb.threads/fork-thread-pending.exp
3747 * gdb.threads/forking-threads-plus-breakpoint.exp
3748 * gdb.threads/hand-call-in-threads.exp
3749 * gdb.threads/interrupted-hand-call.exp
3750 * gdb.threads/linux-dp.exp
3751 * gdb.threads/local-watch-wrong-thread.exp
3752 * gdb.threads/next-while-other-thread-longjmps.exp
3753 * gdb.threads/non-ldr-exit.exp
3754 * gdb.threads/pending-step.exp
3755 * gdb.threads/print-threads.exp
3756 * gdb.threads/process-dies-while-detaching.exp
3757 * gdb.threads/process-dies-while-handling-bp.exp
3758 * gdb.threads/pthreads.exp
3759 * gdb.threads/queue-signal.exp
3760 * gdb.threads/reconnect-signal.exp
3761 * gdb.threads/signal-command-handle-nopass.exp
3762 * gdb.threads/signal-command-multiple-signals-pending.exp
3763 * gdb.threads/signal-delivered-right-thread.exp
3764 * gdb.threads/signal-sigtrap.exp
3765 * gdb.threads/sigthread.exp
3766 * gdb.threads/staticthreads.exp
3767 * gdb.threads/stepi-random-signal.exp
3768 * gdb.threads/thread-unwindonsignal.exp
3769 * gdb.threads/thread_check.exp
3770 * gdb.threads/thread_events.exp
3771 * gdb.threads/tid-reuse.exp
3772 * gdb.threads/tls-nodebug.exp
3773 * gdb.threads/tls-shared.exp
3774 * gdb.threads/tls-so_extern.exp
3775 * gdb.threads/tls.exp
3776 * gdb.threads/wp-replication.exp
3777 * gdb.trace/actions-changed.exp
3778 * gdb.trace/actions.exp
3779 * gdb.trace/backtrace.exp
3780 * gdb.trace/change-loc.exp
3781 * gdb.trace/collection.exp
3782 * gdb.trace/deltrace.exp
3783 * gdb.trace/disconnected-tracing.exp
3784 * gdb.trace/entry-values.exp
3785 * gdb.trace/ftrace-lock.exp
3786 * gdb.trace/ftrace.exp
3787 * gdb.trace/infotrace.exp
3788 * gdb.trace/mi-trace-frame-collected.exp
3789 * gdb.trace/mi-trace-unavailable.exp
3790 * gdb.trace/mi-traceframe-changed.exp
3791 * gdb.trace/mi-tracepoint-changed.exp
3792 * gdb.trace/mi-tsv-changed.exp
3793 * gdb.trace/no-attach-trace.exp
3794 * gdb.trace/packetlen.exp
3795 * gdb.trace/passc-dyn.exp
3796 * gdb.trace/passcount.exp
3797 * gdb.trace/pending.exp
3798 * gdb.trace/pr16508.exp
3799 * gdb.trace/qtro.exp
3800 * gdb.trace/range-stepping.exp
3801 * gdb.trace/read-memory.exp
3802 * gdb.trace/report.exp
3803 * gdb.trace/save-trace.exp
3804 * gdb.trace/signal.exp
3805 * gdb.trace/stap-trace.exp
3806 * gdb.trace/status-stop.exp
3807 * gdb.trace/strace.exp
3808 * gdb.trace/tfile.exp
3809 * gdb.trace/tfind.exp
3810 * gdb.trace/trace-break.exp
3811 * gdb.trace/trace-condition.exp
3812 * gdb.trace/trace-enable-disable.exp
3813 * gdb.trace/trace-mt.exp
3814 * gdb.trace/tracecmd.exp
3815 * gdb.trace/tracefile-pseudo-reg.exp
3816 * gdb.trace/tspeed.exp
3817 * gdb.trace/tstatus.exp
3818 * gdb.trace/tsv.exp
3819 * gdb.trace/unavailable.exp
3820 * gdb.trace/while-dyn.exp
3821 * gdb.trace/while-stepping.exp
3822 * lib/gdb-guile.exp
3823 * lib/gdb.exp
3824 * lib/mi-support.exp
3825 * lib/pascal.exp
3826 * lib/perftest.exp
3827 * lib/prelink-support.exp
3828 * lib/selftest-support.exp
3829
3830 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
3831
3832 * Makefile.in: Include disable-implicit-rules.mk.
3833
3834 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3835
3836 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
3837 non-byte-aligned bit fields.
3838
3839 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3840
3841 PR gdb/12616
3842 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
3843 respects the DW_AT_data_bit_offset attribute.
3844
3845 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
3846
3847 * gdb.base/default.exp: Fix output of "set language".
3848
3849 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
3850
3851 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
3852 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
3853 make.
3854 * configure.ac: Remove checks for the make program.
3855 * configure: Re-generate.
3856
3857 2016-11-16 Kevin Buettner <kevinb@redhat.com>
3858
3859 * gdb.python/py-recurse-unwind.c (main): Add loop.
3860 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
3861 to read_register() and gdb.parse_and_eval(). Make each code
3862 call a separate case that can be individually tested.
3863 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
3864 proc. Call cont_and_backtrace for each of the code paths that
3865 we want to test in the unwinder.
3866
3867 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
3868
3869 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
3870 the definition of struct S.
3871
3872 2016-11-11 Catherine Moore <clm@codesourcery.com>
3873
3874 * gdb.base/dump.exp: Identify verilog format dump tests as such.
3875
3876 2016-11-09 Pedro Alves <palves@redhat.com>
3877
3878 * gdb.base/commands.exp (runto_or_return): New procedure.
3879 (gdbvar_simple_if_test, gdbvar_simple_while_test)
3880 (gdbvar_complex_if_while_test, progvar_simple_if_test)
3881 (progvar_simple_while_test, progvar_complex_if_while_test)
3882 (if_while_breakpoint_command_test)
3883 (infrun_breakpoint_command_test, breakpoint_command_test)
3884 (user_defined_command_test, watchpoint_command_test)
3885 (test_command_prompt_position, redefine_hook_test)
3886 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
3887 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
3888 multi_line_input and multi_line. Remove gdb_expect and
3889 gdb_stop_suppressing_tests uses.
3890 * lib/gdb.exp (valnum_re): New global.
3891 (multi_line_input): New procedure.
3892
3893 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
3894
3895 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
3896 Remove.
3897 (test_setup): Define with proc_with_prefix.
3898 (test_cli_inferior): Likewise.
3899 (test_cli_thread): Likewise.
3900 (test_cli_frame): Likewise.
3901 (test_cli_select_frame): Likewise.
3902 (test_cli_up_down): Likewise.
3903 (test_mi_thread_select): Likewise.
3904 (test_mi_stack_select_frame): Likewise.
3905 (test_cli_in_mi_inferior): Likewise.
3906 (test_cli_in_mi_thread): Likewise.
3907 (test_cli_in_mi_frame): Likewise.
3908 (top level): Do not use with_test_prefix_procname.
3909
3910 2016-11-09 Pedro Alves <palves@redhat.com>
3911
3912 * gdb.base/commands.exp (gdbvar_simple_if_test)
3913 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
3914 (progvar_simple_if_test, progvar_simple_while_test)
3915 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
3916 (infrun_breakpoint_command_test, breakpoint_command_test)
3917 (user_defined_command_test, watchpoint_command_test)
3918 (test_command_prompt_position, deprecated_command_test)
3919 (bp_deleted_in_command, temporary_breakpoint_commands)
3920 (stray_arg0_test, source_file_with_indented_comment)
3921 (recursive_source_test, if_commands_test)
3922 (error_clears_commands_left, redefine_hook_test)
3923 (redefine_backtrace_test): Use proc_with_prefix.
3924 * lib/gdb.exp (proc_with_prefix): New proc.
3925
3926 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
3927
3928 * gdb.base/tui-layout.c: New file.
3929 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
3930 disassembly window contains very long lines.
3931
3932 2016-11-08 Tom Tromey <tom@tromey.com>
3933
3934 * gdb.python/py-value.exp (test_value_creation): Make "long" test
3935 depend on Python 2.
3936
3937 2016-11-08 Tom Tromey <tom@tromey.com>
3938
3939 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
3940 New method.
3941
3942 2016-10-29 Manish Goregaokar <manish@mozilla.com>
3943
3944 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
3945
3946 2016-10-27 Manish Goregaokar <manish@mozilla.com>
3947
3948 * gdb.rust/simple.rs: Add test for univariant enums without
3949 discriminants and for encoded struct-like enums.
3950
3951 2016-10-28 Pedro Alves <palves@redhat.com>
3952
3953 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
3954 gdb_test_multiple, tighten regexps and match symtabs and line
3955 tables incrementally.
3956
3957 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
3958
3959 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
3960 general.
3961
3962 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
3963
3964 * gdb.base/exec-invalid-sysroot.exp: New file.
3965
3966 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3967
3968 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
3969
3970 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3971
3972 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
3973
3974 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
3975
3976 * gdb.base/killed-outside.exp: Remove $options from a call to
3977 `prepare_for_testing'.
3978
3979 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
3980
3981 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
3982 Change test message.
3983
3984 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
3985
3986 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
3987 Update comment.
3988
3989 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
3990
3991 * gdb.trace/mi-trace-save.exp: New file.
3992
3993 2016-10-13 Yao Qi <yao.qi@linaro.org>
3994
3995 * gdb.base/code_elim.exp (get_var_address): Remove.
3996 * gdb.base/relocate.exp: Likewise.
3997 * gdb.base/shreloc.exp: Likewise.
3998 * lib/gdb.exp (get_var_address): New.
3999
4000 2016-10-13 Yao Qi <yao.qi@linaro.org>
4001
4002 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
4003 floating point tests if $skip_float_test is false.
4004
4005 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
4006
4007 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
4008 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
4009 argc values.
4010 Add 1 to argc so we guarantee distinct initial/modified argc values.
4011
4012 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4013
4014 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
4015
4016 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4017
4018 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
4019 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
4020 * gdb.arch/vsx-regs.exp: Likewise.
4021
4022 2016-10-07 Yao Qi <yao.qi@linaro.org>
4023
4024 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
4025
4026 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
4027
4028 * gdb.python/python.exp: Test decode_line("*0").
4029
4030 2016-10-06 Doug Evans <dje@google.com>
4031
4032 * gdb.python/py-value.exp (test_value_creation): Add test for large
4033 unsigned 64-bit value.
4034
4035 2016-10-06 Tom Tromey <tom@tromey.com>
4036
4037 * gdb.compile/compile.exp: Change java tests to rust.
4038 * gdb.base/setshow.exp: Change java tests to rust.
4039 * gdb.base/default.exp: Remove java from language list.
4040 * README (Examples): Update language example.
4041 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
4042 test.
4043 * lib/gdb.exp (skip_java_tests): Remove.
4044 * lib/java.exp: Remove.
4045 * gdb.java: Remove.
4046
4047 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
4048
4049 * gdb.arch/mips-fcr.exp: New test.
4050 * gdb.arch/mips-fcr.c: Source for the new test.
4051
4052 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
4053
4054 * gdb.base/solib-disc.exp: Use `standard_output_file'
4055 throughout.
4056
4057 2016-10-06 Pedro Alves <palves@redhat.com>
4058
4059 * gdb.base/jit-simple-dl.c: New file.
4060 * gdb.base/jit-simple-jit.c: New file, factored out from ...
4061 * gdb.base/jit-simple.c: ... this.
4062 * gdb.base/jit-simple.exp (jit_run): Delete.
4063 (build_jit): New proc.
4064 (jit_test_reread): Recompile either the main program or the shared
4065 library, depending on what is being tested. Skip changing address
4066 if caller wants to. Compare before/after addresses. If testing
4067 standalone, explicitly load the binary. Test "maint info
4068 breakpoints".
4069 (top level): Add "standalone vs shared lib" and "change address"
4070 vs "same address" axes.
4071
4072 2016-10-06 Pedro Alves <palves@redhat.com>
4073
4074 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
4075 call.
4076 (jit_run): Delete.
4077 (jit_test_reread): Use with_test_prefix. Reload the main binary
4078 explicitly. Compare the before/after addresses of the JIT
4079 descriptor.
4080
4081 2016-08-15 Doug Evans <dje@google.com>
4082
4083 * gdb.xml/extra-regs.xml: Update, end field now required, default type
4084 for single bitfields is bool.
4085 * gdb.xml/tdesc-regs.exp: Ditto.
4086
4087 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4088
4089 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
4090
4091 2016-10-05 Yao Qi <yao.qi@linaro.org>
4092
4093 * lib/gdb.exp (support_complex_tests): Return zero if
4094 gdb_skip_float_test return true.
4095
4096 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
4097 Simon Marchi <simon.marchi@ericsson.com>
4098
4099 PR gdb/20487
4100 * gdb.mi/user-selected-context-sync.exp: New file.
4101 * gdb.mi/user-selected-context-sync.c: New file.
4102
4103 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
4104 Simon Marchi <simon.marchi@ericsson.com>
4105
4106 PR gdb/20487
4107 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
4108 =thread-select-event check.
4109
4110 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
4111
4112 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
4113 the compulsory L operand changes.
4114 * gdb.arch/powerpc-power.s: Likewise.
4115
4116 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4117
4118 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
4119 * gdb.base/jit-attach-pie.c: New file.
4120 * gdb.base/jit-attach-pie.exp: New file.
4121
4122 2016-09-28 Pedro Alves <palves@redhat.com>
4123
4124 * gdb.base/infcall-input.c: New file.
4125 * gdb.base/infcall-input.exp: New file.
4126
4127 2016-09-22 Yao Qi <yao.qi@linaro.org>
4128
4129 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
4130 (gdb_exit): Rename it to ...
4131 (gdbserver_gdb_exit): ... Close GDBserver.
4132 (gdb_exit): New proc, call gdbserver_gdb_exit.
4133 (mi_gdb_exit): Likewise.
4134
4135 2016-09-22 Yao Qi <yao.qi@linaro.org>
4136
4137 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
4138 path.
4139 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
4140 Remove duplication.
4141
4142 2016-09-22 Yao Qi <yao.qi@linaro.org>
4143
4144 * lib/gdbserver-support.exp: Check the existence of
4145 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
4146
4147 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
4148
4149 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
4150
4151 2016-09-21 Tom Tromey <tom@tromey.com>
4152
4153 PR gdb/20604:
4154 * gdb.base/quit.exp: New file.
4155
4156 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
4157
4158 * .gitignore: New file.
4159
4160 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
4161
4162 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
4163 throughout.
4164
4165 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4166
4167 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
4168
4169 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4170
4171 * gdb.cp/casts.cc (decltype): Move it ...
4172 (main): ... with its call to ...
4173 * gdb.cp/casts03.cc: ... a new file.
4174 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
4175
4176 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4177
4178 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
4179
4180 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
4181
4182 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
4183 and sync up the test with tests in gas/testsuite/gas/ppc.
4184 * gdb.arch/powerpc-power.exp: Likewise.
4185
4186 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4187
4188 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
4189
4190 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
4191 Jan Kratochvil <jan.kratochvil@redhat.com>
4192
4193 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
4194 make m1's definition to be different from m2's. Use 'dummy' as an
4195 argument for probe 'two'.
4196
4197 2016-09-10 Jon Beniston <jon@beniston.com>
4198
4199 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
4200 for sim target.
4201
4202 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
4203
4204 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
4205 variable declaration.
4206 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
4207 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
4208 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
4209 received HWCAP as its argument.
4210
4211 2016-09-06 Pedro Alves <palves@redhat.com>
4212
4213 * gdb.base/new-ui-pending-input.c: New file.
4214 * gdb.base/new-ui-pending-input.exp: New file.
4215 * gdb.exp (clear_gdb_spawn_id): New procedure.
4216 (with_spawn_id): Check whether gdb_spawn_id exists before
4217 referencing it. If gdb_spawn_id didn't exist on entry, clear it
4218 on exit.
4219
4220 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
4221
4222 * gdb.base/float128.c: New file.
4223 * gdb.base/float128.exp: Likewise.
4224 * gdb.base/floatn.c: Likewise.
4225 * gdb.base/floatn.exp: Likewise.
4226
4227 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
4228
4229 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
4230
4231 2016-09-05 Pedro Alves <palves@redhat.com>
4232
4233 PR backtrace/19927
4234 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
4235 unwinders are immediately called as side effect of "source" or
4236 "disable unwinder" commands.
4237 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
4238
4239 2016-09-02 Yao Qi <yao.qi@linaro.org>
4240
4241 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
4242 is true and $type is "float" or "double".
4243
4244 2016-09-02 Yao Qi <yao.qi@linaro.org>
4245
4246 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
4247 true.
4248 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
4249 * gdb.base/call-rt-st.exp: Likewise.
4250 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
4251 return value instead of gdb,skip_float_test.
4252 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
4253 (do_function_calls): Use its return value instead of
4254 gdb,skip_float_test.
4255 * gdb.base/finish.exp: Likewise.
4256 * gdb.base/funcargs.exp: Likewise.
4257 * gdb.base/return.exp: Likewise.
4258 * gdb.base/return2.exp: Likewise.
4259 * gdb.base/varargs.exp: Likewise.
4260 * lib/gdb.exp (gdb_skip_float_test): Change it to
4261 gdb_caching_proc. Detect the broken ptrace on arm-linux.
4262
4263 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
4264
4265 * gdb.multi/tids.exp: Test "thread apply all".
4266
4267 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4268
4269 * gdb.base/default.exp (tty): Remove.
4270
4271 2016-08-24 Kevin Buettner <kevinb@redhat.com>
4272
4273 * gdb.python/py-recurse-unwind.c: New file.
4274 * gdb.python/py-recurse-unwind.py: New file.
4275 * gdb.python/py-recurse-unwind.exp: New file.
4276
4277 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
4278
4279 * gdb.base/set-inferior-tty.exp: New file.
4280 * gdb.base/set-inferior-tty.c: New file.
4281
4282 2016-08-23 Pedro Alves <palves@redhat.com>
4283
4284 PR gdb/20494
4285 * gdb.base/new-ui-echo.c: New file.
4286 * gdb.base/new-ui-echo.exp: New file.
4287
4288 2016-08-23 Yao Qi <yao.qi@linaro.org>
4289
4290 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
4291 gdbserver_spawn.
4292 * gdb.server/connect-without-multi-process.exp (do_test):
4293 Likewise.
4294
4295 2016-08-23 Yao Qi <yao.qi@linaro.org>
4296
4297 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
4298 standalone_txt. Delete gdb_txt and standalone_txt on host
4299 and target. Spawn the binary on target. Copy files from
4300 target to host.
4301
4302 2016-08-22 Pedro Alves <palves@redhat.com>
4303
4304 PR gdb/20505
4305 * gdb.base/vdso-warning.exp: Test core dumps too. Use
4306 with_test_prefix. Factor out bits to ...
4307 (test_no_vdso): ... this new procedure.
4308
4309 2016-08-19 Carl Love <cel@us.ibm.com>
4310
4311 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
4312 maintaining separate logic for constructing the output path.
4313 * gdb.arch/powerpc-d128-regs.exp: Likewise.
4314 * gdb.arch/ppc-dfp.exp: Likewise.
4315 * gdb.arch/ppc-fp.exp: Likewise.
4316 * gdb.arch/vsx-regs.exp: Likewise.
4317 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
4318 binprefix for generating the additional binary files.
4319
4320 2016-08-19 Pedro Alves <palves@redhat.com>
4321
4322 * gdb.trace/mi-trace-frame-collected.exp
4323 (test_trace_frame_collected): On x32, expect two registers.
4324
4325 2016-08-18 Carl Love <cel@us.ibm.com>
4326
4327 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
4328 and sync up the test with tests in gas/testsuite/gas/ppc.
4329 * gdb.arch/powerpc-power.exp: Likewise.
4330
4331 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
4332
4333 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
4334 expected error message.
4335
4336 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
4337
4338 * gdb.multi/remove-inferiors.exp: New file.
4339 * gdb.multi/remove-inferiors.c: New file.
4340
4341 2016-08-12 Yao Qi <yao.qi@linaro.org>
4342
4343 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
4344 argument list.
4345
4346 2016-08-10 Pedro Alves <palves@redhat.com>
4347
4348 PR gdb/19187
4349 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
4350 setup_kfails.
4351
4352 2016-08-09 Pedro Alves <palves@redhat.com>
4353 Simon Marchi <simon.marchi@ericsson.com>
4354
4355 PR gdb/20418
4356 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
4357 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
4358
4359 2016-08-09 Pedro Alves <palves@redhat.com>
4360
4361 PR mi/20431
4362 * gdb.mi/mi-cmd-error.exp: New file.
4363
4364 2016-08-09 Pedro Alves <palves@redhat.com>
4365
4366 PR gdb/18653
4367 * gdb.base/signals-state-child.c: New file.
4368 * gdb.base/signals-state-child.exp: New file.
4369 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
4370
4371 2016-08-09 Pedro Alves <palves@redhat.com>
4372
4373 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
4374
4375 2016-08-03 Tom Tromey <tom@tromey.com>
4376
4377 PR python/18565:
4378 * gdb.python/py-frame-inline.exp: Add Frame.function test.
4379
4380 2016-08-01 Yao Qi <yao.qi@linaro.org>
4381
4382 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
4383 variable mode to "multi-process" if $multi_process is 1, otherwise
4384 set it to "single-process".
4385
4386 2016-08-01 Yao Qi <yao.qi@linaro.org>
4387
4388 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
4389 * gdb.cp/cpexprs.exp: Likewise.
4390 * gdb.cp/m-static.exp: Likewise.
4391
4392 2016-07-26 Tom Tromey <tom@tromey.com>
4393
4394 PR python/20190:
4395 * gdb.threads/tls.exp (check_thread_local): Add python symbol
4396 test.
4397
4398 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
4399
4400 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
4401 selecting assembly source files.
4402 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
4403 assembly source files.
4404 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
4405 assembly source files.
4406 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
4407 selecting assembly source files.
4408
4409 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
4410
4411 * gdb.base/new-ui.exp (do_test_invalid_args): New
4412 procedure.
4413
4414 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
4415
4416 * gdb.btrace/reconnect.c: New file.
4417 * gdb.btrace/reconnect.exp: New file.
4418
4419 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
4420
4421 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
4422 to test_catch_syscall_group.
4423 (test_catch_syscall_group): New.
4424
4425 2016-07-21 Tom Tromey <tom@tromey.com>
4426
4427 * gdb.rust/simple.rs (main): Use empty struct expression.
4428 * gdb.rust/simple.exp: Add tests for empty struct expression.
4429
4430 2016-07-21 Yao Qi <yao.qi@linaro.org>
4431
4432 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
4433 if gdb_skip_xml_test is true on some targets.
4434
4435 2016-07-21 Yao Qi <yao.qi@linaro.org>
4436
4437 * gdb.server/solib-list.exp: Unset last_loaded_file.
4438
4439 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4440
4441 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
4442 "step into captured_main (args)".
4443
4444 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4445
4446 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
4447
4448 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4449
4450 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
4451
4452 2016-07-19 Pedro Alves <palves@redhat.com>
4453
4454 * gdb.opt/inline-break.exp: Remove optimize=-O2.
4455 * gdb.opt/inline-bt.exp: Likewise.
4456 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
4457 additional_flags=-Winline.
4458 * gdb.opt/inline-locals.exp: Likewise.
4459 * gdb.opt/inline-markers.c (ATTR): Define.
4460 (inlined_fn): Use it.
4461
4462 2016-07-19 Yao Qi <yao.qi@linaro.org>
4463
4464 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
4465 (test_with_self): Remove some code. Remove argument executable.
4466 (top-level): Use do_self_tests.
4467
4468 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
4469 Don Breazeal <donb@codesourcery.com>
4470
4471 * gdb.base/maint.exp: Escape paths used in regular expressions.
4472 * gdb.stabs/weird.exp: Likewise.
4473
4474 2016-07-13 Tom Tromey <tom@tromey.com>
4475
4476 PR python/15620, PR python/18620:
4477 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
4478 (test_bkpt_events): New procs.
4479
4480 2016-07-13 Tom Tromey <tom@tromey.com>
4481
4482 PR python/17698:
4483 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
4484 test.
4485 (test_watchpoints): Likewise.
4486 (test_bkpt_pending): New proc.
4487
4488 2016-07-13 Tom Tromey <tom@tromey.com>
4489
4490 PR cli/18053:
4491 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
4492 completion test.
4493
4494 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4495
4496 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
4497 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
4498 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
4499 f_label.
4500 (g): Rename g_end_lbl to g_label.
4501 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
4502 low_pc and high_pc.
4503 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
4504
4505 2016-07-12 Tom Tromey <tom@tromey.com>
4506
4507 PR python/19293:
4508 * gdb.python/py-unwind-maint.exp: Update tests.
4509
4510 2016-07-12 Yao Qi <yao.qi@linaro.org>
4511
4512 * lib/selftest-support.exp (selftest_setup): Match the output
4513 when captured_main is inlined.
4514
4515 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4516
4517 * gdb.fortran/derived-types.exp (result_line, result_line_2):
4518 New variables.
4519 (print this%a, print this%b, print this): New tests.
4520 * gdb.fortran/derived-types.f90 (this): New object and
4521 initialization.
4522
4523 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
4524
4525 * gdb.ada/arraydim.exp: Remove extra directory level in build
4526 directory.
4527
4528 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
4529
4530 * lib/ada.exp: Remove extra directory level in build directory.
4531 * gdb.ada/cond_lang.exp: Likewise.
4532 * gdb.ada/exec_changed.exp: Likewise.
4533 * gdb.ada/lang_switch.exp: Likewise.
4534
4535 2016-07-06 Manish Goregaokar <manish@mozilla.com>
4536
4537 * simple.rs: Add test for raw pointer subscripting.
4538 * simple.exp: Add test expectations.
4539
4540 2016-07-05 Yao Qi <yao.qi@linaro.org>
4541
4542 * gdb.mi/mi-reverse.exp: Match =record-started output.
4543
4544 2016-07-01 Pedro Alves <palves@redhat.com>
4545
4546 * gdb.base/jit-reader.exp (info_registers_current_frame): New
4547 procedure.
4548 (jit_reader_test): Test the jit reader's unwinder.
4549 * gdb.base/jithost.c (jit_function_00_code): New global.
4550 (main): Use memcpy to fill in the mmapped code, instead of poking
4551 bytes manually here.
4552 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
4553 value.
4554 (read_debug_info): Save the function's range.
4555 (read_sp): New function.
4556 (unwind_frame): Use it. Also unwind RBP.
4557 (get_frame_id): Use read_sp.
4558 (gdb_init_reader): Use calloc instead of malloc.
4559 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
4560 parameter. Use gdb_test_multiple.
4561
4562 2016-07-01 Pedro Alves <palves@redhat.com>
4563 Antoine Tremblay <antoine.tremblay@ericsson.com>
4564
4565 * gdb.threads/process-dies-while-detaching.c: New file.
4566 * gdb.threads/process-dies-while-detaching.exp: New file.
4567
4568 2016-07-01 Pedro Alves <palves@redhat.com>
4569
4570 * gdb.multi/watchpoint-multi-exit.c: New file.
4571 * gdb.multi/watchpoint-multi-exit.exp: New file.
4572
4573 2016-06-30 Pedro Alves <palves@redhat.com>
4574
4575 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
4576 unset inferior_spawn_id.
4577
4578 2016-06-30 Pedro Alves <palves@redhat.com>
4579
4580 * lib/mi-support.exp (default_mi_gdb_start): Declare global
4581 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
4582
4583 2016-06-29 Yao Qi <yao.qi@linaro.org>
4584
4585 * gdb.base/return.c: Add copyright header.
4586
4587 2016-06-29 Tom Tromey <tom@tromey.com>
4588
4589 PR python/20129:
4590 * gdb.python/py-framefilter.exp: Add tests for setting priority
4591 and disabling of non-existent frame filter.
4592
4593 2016-06-29 Yao Qi <yao.qi@linaro.org>
4594
4595 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
4596 0x0f07ff.
4597
4598 2016-06-28 Yao Qi <yao.qi@linaro.org>
4599
4600 * gdb.base/catch-syscall.exp: Remove check on isnative and target
4601 triplets. Start gdb, execute catch syscall, and continue. Check
4602 gdb's output to determine catch syscall is supported.
4603
4604 2016-06-27 Manish Goregaokar <manish@mozilla.com>
4605
4606 * gdb.rust/simple.rs: Add test for returning unit in a function.
4607 * gdb.rust/simple.exp: Add expectation for functions returning
4608 unit.
4609
4610 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
4611
4612 * gdb.python/py-breakpoint-create-fail.c,
4613 gdb.python/py-breakpoint-create-fail.exp,
4614 gdb.python/py-breakpoint-create-fail.py: New testcase.
4615
4616 2016-06-25 Manish Goregaokar <manish@mozilla.com>
4617
4618 PR gdb/20239
4619 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
4620 * gdb.rust/simple.exp: Add test expectations for new NonZero
4621 tests.
4622
4623 2016-06-24 David Taylor <dtaylor@emc.com>
4624
4625 * gdb.base/offsets.exp: New file.
4626 * gdb.base/offsets.c: New file.
4627
4628 2016-06-23 Tom Tromey <tom@tromey.com>
4629
4630 PR gdb/16483:
4631 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
4632 before any filters are loaded.
4633
4634 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
4635
4636 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
4637 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
4638 structs.
4639 * gdb.fortran/derived-type-function.exp: New file.
4640 * gdb.fortran/derived-type-function.f90: New file.
4641
4642
4643 2016-06-21 Pedro Alves <palves@redhat.com>
4644
4645 * gdb.base/new-ui.exp: New file.
4646 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
4647 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
4648 (with_spawn_id): New procedure.
4649
4650 2016-06-21 Pedro Alves <palves@redhat.com>
4651
4652 * gdb.mi/mi-exec-run.exp: New file.
4653
4654 2016-06-21 Pedro Alves <palves@redhat.com>
4655
4656 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
4657 breakpoint command's output on the main UI.
4658 (test_break): New procedure, factored out from calls in the top
4659 level.
4660 (top level): Use foreach_with_prefix to test MI as main UI and as
4661 separate UI.
4662
4663 2016-06-21 Pedro Alves <palves@redhat.com>
4664
4665 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
4666 (test_awatch_creation_and_listing)
4667 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
4668 Remove 'type' parameter.
4669 (test_watchpoint_all): New parameter mi_mode. Remove
4670 with_test_prefix.
4671 (top level): Use foreach_with_prefix, and add main/separate UI MI
4672 testing axis.
4673
4674 2016-06-21 Pedro Alves <palves@redhat.com>
4675
4676 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
4677 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
4678 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
4679 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
4680 (gdb_main_spawn_id, mi_spawn_id): Declare and
4681 comment.
4682 (mi_create_inferior_pty): New procedure,
4683 factored out from default_mi_gdb_start.
4684 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
4685 procedures.
4686 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
4687 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
4688 Use mi_create_inferior_pty.
4689 (mi_gdb_start): Use eval to pass down args list.
4690
4691 2016-06-21 Pedro Alves <palves@redhat.com>
4692
4693 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
4694 * gdb.opt/inline-cmds.exp: Add MI tests.
4695
4696 2016-06-21 Pedro Alves <palves@redhat.com>
4697
4698 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
4699
4700 2016-06-21 Pedro Alves <palves@redhat.com>
4701
4702 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
4703 (top level): Use it instead of mi_execute_to.
4704
4705 2016-06-21 Pedro Alves <palves@redhat.com>
4706
4707 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
4708 (cont_handler_str): New.
4709 (signal_stop_handler): Set stop_handler_str instead of printing to
4710 stdout.
4711 (continue_handler): Set cont_handler_str instead of printing to
4712 stdout.
4713 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
4714 mi_send_resuming_command. Print stop_handler_str and
4715 cont_handler_str instead of expecting the python events print
4716 directly.
4717
4718 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
4719
4720 * gdb.base/jit-reader.exp: New file.
4721 * gdb.base/jithost.c: New file.
4722 * gdb.base/jithost.h: New file.
4723 * gdb.base/jitreader.c : New file.
4724 * gdb.base/jit-protocol.h: New file.
4725
4726 2016-06-17 Yao Qi <yao.qi@linaro.org>
4727
4728 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
4729 parameters follow_fork and detach_on_fork. Set follow-fork-mode
4730 and detach-on-fork. Adjust tests.
4731 (top level): Invoke break_cond_on_syscall with combinations of
4732 syscall, follow-fork-mode and detach-on-fork.
4733
4734 2016-06-17 Yao Qi <yao.qi@linaro.org>
4735
4736 * gdb.base/step-over-exit.c: New.
4737 * gdb.base/step-over-exit.exp: New.
4738
4739 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
4740
4741 * gdb.base/float.exp: Add target check for nds32*-*-*.
4742 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
4743
4744 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
4745
4746 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
4747 for unsupported target features.
4748 * gdb.base/call-rt-st.exp: Likewise.
4749 * gdb.base/call-sc.exp: Likewise.
4750 * gdb.base/call-signal-resume.exp: Likewise.
4751 * gdb.base/call-strs.exp: Likewise.
4752 * gdb.base/callexit.exp: Likewise.
4753 * gdb.base/callfuncs.exp: Likewise.
4754 * gdb.base/nodebug.exp: Likewise.
4755 * gdb.base/printcmds.exp: Likewise.
4756 * gdb.base/ptype.exp: Likewise.
4757 * gdb.base/structs.exp: Likewise.
4758 * gdb.base/unwindonsignal.exp: Likewise.
4759 * gdb.cp/gdb2495.exp: Likewise.
4760 * gdb.cp/templates.exp: Likewise.
4761 * gdb.cp/virtfunc.exp: Likewise.
4762 * gdb.threads/hand-call-in-threads.exp: Likewise.
4763 * gdb.threads/interrupted-hand-call.exp: Likewise.
4764 * gdb.threads/thread-unwindonsignal.exp: Likewise.
4765
4766 2016-06-10 Tom Tromey <tom@tromey.com>
4767
4768 PR rust/20110:
4769 * gdb.rust/expr.exp: Add test for integer constant larger than
4770 i32.
4771
4772 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
4773
4774 * gdb.fortran/nested-funcs.exp: New.
4775 * gdb.fortran/nested-funcs.f90: New.
4776
4777 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
4778
4779 * gdb.base/examine-backward.c: New file.
4780 * gdb.base/examine-backward.exp: New file.
4781
4782 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
4783
4784 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
4785 matching.
4786
4787 2016-06-02 Tom Tromey <tom@tromey.com>
4788
4789 PR python/18984:
4790 * gdb.python/py-shared.exp: Add solib_name test.
4791
4792 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
4793
4794 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
4795
4796 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
4797
4798 PR c++/19893
4799 * gdb.dwarf2/implref.exp: Rename to...
4800 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
4801 * gdb.dwarf2/implref-array.c: New file.
4802 * gdb.dwarf2/implref-array.exp: Likewise.
4803 * gdb.dwarf2/implref-global.c: Likewise.
4804 * gdb.dwarf2/implref-global.exp: Likewise.
4805 * gdb.dwarf2/implref-struct.c: Likewise.
4806 * gdb.dwarf2/implref-struct.exp: Likewise.
4807
4808 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
4809
4810 * gdb.trace/trace-condition.exp: Add 64bit tests.
4811
4812 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
4813
4814 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
4815 bits types.
4816 (main): Adapt to 8 to 64 bits types.
4817 * gdb.trace/trace-condition.exp: Add new tests.
4818
4819 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
4820
4821 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
4822
4823 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
4824
4825 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
4826 Move condition tests...
4827 * gdb.trace/trace-condition.exp: Here.
4828
4829 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
4830
4831 * gdb.trace/trace-condition.exp: Add counter-case tests.
4832
4833 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4834
4835 PR c++/15231
4836 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
4837 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
4838
4839 2016-05-27 Pedro Alves <palves@redhat.com>
4840
4841 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
4842 New procedure.
4843 (top level): Call it, and bail out of DejaGnu is known to be bad.
4844
4845 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
4846
4847 * gdb.base/whatis.c: Extend the test case.
4848 * gdb.base/whatis.exp: Add additional tests.
4849
4850 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
4851
4852 * gdb.fortran/type.f90: Add pointer variable.
4853 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
4854
4855 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
4856
4857 * gdb.fortran/vla-type.exp: Fix testcase name.
4858
4859 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
4860
4861 * gdb.fortran/vla-type.exp: Access elements in nested structs.
4862
4863 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
4864
4865 * gdb.fortran/type.f90: Add nested structures.
4866 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
4867 * gdb.fortran/derived-type.exp: Adapt expected output.
4868 * gdb.fortran/vla-type.exp: Adapt expected output.
4869
4870 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
4871
4872 * gdb.fortran/whatis_type.exp: Adapt expected output.
4873
4874 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
4875
4876 * gdb.fortran/print_type.exp: Fix expected output.
4877 * gdb.fortran/whatis_type.exp: Fix expected output.
4878
4879 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
4880
4881 * gdb.fortran/whatis_type.exp: Use multi_line.
4882
4883 2016-05-24 Tom Tromey <tom@tromey.com>
4884
4885 PR python/17386:
4886 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
4887 use value as an index.
4888
4889 2016-05-23 Tom Tromey <tom@tromey.com>
4890
4891 PR python/17981:
4892 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
4893 no-breakpoint case.
4894
4895 2016-05-24 Pedro Alves <palves@redhat.com>
4896
4897 PR gdb/19828
4898 * gdb.threads/clone-attach-detach.c: New file.
4899 * gdb.threads/clone-attach-detach.exp: New file.
4900
4901 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
4902
4903 * gdb.base/annota-input-while-running.exp: Fix syntax error.
4904
4905 2016-05-23 Tom Tromey <tom@tromey.com>
4906
4907 PR python/19438, PR python/18393:
4908 * gdb.python/py-progspace.exp: Add "dir" test.
4909 * gdb.python/py-objfile.exp: Add "dir" test.
4910
4911 2016-05-23 Yao Qi <yao.qi@linaro.org>
4912
4913 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
4914 * gdb.arch/thumb2-it.exp: Likewise.
4915
4916 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
4917
4918 * gdb.mi/mi-threads-interrupt.c: New file.
4919 * gdb.mi/mi-threads-interrupt.exp: New file.
4920
4921 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
4922
4923 PR gdb/18077
4924 * gdb.mi/mi-async-run.exp: New file.
4925 * gdb.mi/mi-async-run.c: New file.
4926
4927 2016-05-17 Tom Tromey <tom@tromey.com>
4928 Manish Goregaokar <manishsmail@gmail.com>
4929
4930 * lib/rust-support.exp: New file.
4931 * lib/gdb.exp (skip_rust_tests): New proc.
4932 (build_executable_from_specs): Handle rust.
4933 * lib/future.exp (gdb_find_rustc): New proc.
4934 (gdb_default_target_compile): Handle rust.
4935 * gdb.rust/expr.exp: New file.
4936 * gdb.rust/generics.exp: New file.
4937 * gdb.rust/generics.rs: New file.
4938 * gdb.rust/methods.exp: New file.
4939 * gdb.rust/methods.rs: New file.
4940 * gdb.rust/modules.exp: New file.
4941 * gdb.rust/modules.rs: New file.
4942 * gdb.rust/simple.exp: New file.
4943 * gdb.rust/simple.rs: New file.
4944
4945 2016-05-17 Tom Tromey <tom@tromey.com>
4946
4947 * gdb.base/default.exp (set language): Add rust.
4948
4949 2016-05-17 Tom Tromey <tom@tromey.com>
4950
4951 * gdb.gdb/unittest.exp: New file.
4952
4953 2016-05-16 Yao Qi <yao.qi@linaro.org>
4954
4955 * gdb.base/batch-preserve-term-settings.exp: Remove variable
4956 shell_prompt. Update shell_prompt_re.
4957
4958 2016-05-12 Doug Evans <dje@google.com>
4959
4960 PR symtab/19999
4961 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
4962 $options when building executable.
4963 * gdb.dwarf2/fission-loclists-pie.S: New file.
4964 * gdb.dwarf2/fission-loclists-pie.exp: New file.
4965
4966 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
4967
4968 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
4969 of [is_remote target],
4970
4971 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
4972
4973 * lib/gdb.exp (use_gdb_stub): New procedure.
4974
4975 2016-05-03 Yunlian Jiang <yunlian@google.com>
4976 Doug Evans <dje@google.com>
4977
4978 PR symtab/19914
4979 * gdb.dwarf2/dwp-sepdebug.c: New file.
4980 * gdb.dwarf2/dwp-sepdebug.exp: New file.
4981
4982 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
4983
4984 * gdb.base/detach.exp: Remove is_remote check.
4985
4986 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
4987
4988 * gdb.base/annota-input-while-running.exp: Don't check for
4989 [is_remote target]. Enable annotations after running to main.
4990 Remove unused "set test..." line.
4991
4992 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
4993
4994 * gdb.trace/trace-enable-disable.exp: New file.
4995 * gdb.trace/trace-enable-disable.c: New file.
4996
4997 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
4998
4999 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
5000 use it in info sharedlibrary test.
5001 * gdb.trace/ftrace-lock.exp: Likewise.
5002 * gdb.trace/ftrace.exp: Likewise.
5003 * gdb.trace/range-stepping.exp: Likewise.
5004 * gdb.trace/trace-break.exp: Likewise.
5005 * gdb.trace/trace-condition.exp: Likewise.
5006 * gdb.trace/trace-mt.exp: Likewise.
5007
5008 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
5009
5010 * lib/gdb.exp (gdb_load_shlibs): Rename to...
5011 (gdb_load_shlib): ... this.
5012 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
5013 gdb_load_shlib.
5014 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
5015 * gdb.base/ctxobj.exp: Likewise.
5016 * gdb.base/dprintf-pending.exp: Likewise.
5017 * gdb.base/dso2dso.exp: Likewise.
5018 * gdb.base/fixsection.exp: Likewise.
5019 * gdb.base/gcore-relro.exp: Likewise.
5020 * gdb.base/gdb1555.exp: Likewise.
5021 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5022 * gdb.base/gnu-ifunc.exp: Likewise.
5023 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
5024 * gdb.base/jit-so.exp (one_jit_test): Likewise.
5025 * gdb.base/pending.exp: Likewise.
5026 * gdb.base/print-file-var.exp: Likewise.
5027 * gdb.base/print-symbol-loading.exp: Likewise.
5028 * gdb.base/shlib-call.exp: Likewise.
5029 * gdb.base/shreloc.exp: Likewise.
5030 * gdb.base/so-impl-ld.exp: Likewise.
5031 * gdb.base/solib-disc.exp: Likewise.
5032 * gdb.base/solib-nodir.exp: Likewise.
5033 * gdb.base/solib-overlap.exp: Likewise.
5034 * gdb.base/solib-symbol.exp: Likewise.
5035 * gdb.base/solib-weak.exp (do_test): Likewise.
5036 * gdb.base/sym-file.exp: Likewise.
5037 * gdb.base/symtab-search-order.exp: Likewise.
5038 * gdb.base/type-opaque.exp: Likewise.
5039 * gdb.base/unload.exp: Likewise.
5040 * gdb.base/watchpoint-solib.exp: Likewise.
5041 * gdb.compile/compile.exp: Likewise.
5042 * gdb.cp/gdb2384.exp: Likewise.
5043 * gdb.cp/infcall-dlopen.exp: Likewise.
5044 * gdb.cp/re-set-overloaded.exp: Likewise.
5045 * gdb.fortran/library-module.exp: Likewise.
5046 * gdb.opt/solib-intra-step.exp: Likewise.
5047 * gdb.python/py-finish-breakpoint.exp: Likewise.
5048 * gdb.python/py-shared.exp: Likewise.
5049 * gdb.reverse/solib-precsave.exp: Likewise.
5050 * gdb.reverse/solib-reverse.exp: Likewise.
5051 * gdb.server/solib-list.exp: Likewise.
5052 * gdb.threads/dlopen-libpthread.exp: Likewise.
5053 * gdb.threads/tls-shared.exp: Likewise.
5054 * gdb.threads/tls-so_extern.exp: Likewise.
5055 * gdb.trace/change-loc.exp: Likewise.
5056 * gdb.trace/ftrace-lock.exp: Likewise.
5057 * gdb.trace/ftrace.exp: Likewise.
5058 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
5059 * gdb.trace/pending.exp: Likewise.
5060 * gdb.trace/range-stepping.exp: Likewise.
5061 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
5062 (strace_info_marker): Likewise.
5063 (strace_probe_marker): Likewise.
5064 (strace_trace_on_same_addr): Likewise.
5065 (strace_trace_on_diff_addr): Likewise.
5066 * gdb.trace/trace-break.exp: Likewise.
5067 * gdb.trace/trace-condition.exp: Likewise.
5068 * gdb.trace/trace-mt.exp: Likewise.
5069
5070 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
5071
5072 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
5073 result of gdb_remote_download.
5074 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
5075 * gdb.base/dso2dso.exp: Likewise.
5076 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5077 * gdb.base/print-file-var.exp: Likewise.
5078 * gdb.base/shlib-call.exp: Likewise.
5079 * gdb.base/shreloc.exp: Likewise.
5080 * gdb.base/solib-overlap.exp: Likewise.
5081 * gdb.base/solib-weak.exp (do_test): Likewise.
5082 * gdb.base/unload.exp: Likewise.
5083
5084 2016-04-27 Yao Qi <yao.qi@linaro.org>
5085
5086 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
5087 exists.
5088
5089 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5090
5091 * vla-type.exp: Print structure from toplevel.
5092
5093 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5094
5095 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
5096 of dynamic types.
5097 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
5098 of dynamic types.
5099
5100 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5101
5102 * gdb.fortran/vla-type.f90: New file.
5103 * gdb.fortran/vla-type.exp: New file.
5104
5105 2016-04-25 Yao Qi <yao.qi@linaro.org>
5106
5107 * gdb.base/branch-to-self.c: New file.
5108 * gdb.base/branch-to-self.exp: New file.
5109
5110 2016-04-22 Yao Qi <yao.qi@linaro.org>
5111
5112 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
5113 more after $hex.
5114
5115 2016-04-22 Yao Qi <yao.qi@linaro.org>
5116
5117 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
5118 * gdb.base/annota3.exp: Likewise.
5119
5120 2016-04-22 Yao Qi <yao.qi@linaro.org>
5121
5122 * gdb.reverse/step-precsave.exp: Do one step and test program
5123 stops in "callee" and do multiple steps until program goes out
5124 of "callee".
5125 * gdb.reverse/step-reverse.exp: Likewise.
5126
5127 2016-04-22 Yao Qi <yao.qi@linaro.org>
5128
5129 * gdb.trace/signal.exp: Also pass if
5130 $tracepoint_hits($i) > $iterations.
5131
5132 2016-04-22 Yao Qi <yao.qi@linaro.org>
5133
5134 * gdb.trace/signal.c: New file.
5135 * gdb.trace/signal.exp: New file.
5136
5137 2016-04-19 Doug Evans <xdje42@gmail.com>
5138
5139 * gdb.base/bad-file.exp: New file.
5140
5141 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
5142
5143 * gdb.dwarf2/implref.exp: New file.
5144
5145 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
5146
5147 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
5148 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
5149 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
5150 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
5151 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
5152 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
5153 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
5154 * lib/fortran.exp (fortran_int4): New procedure.
5155 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
5156 (fortran_logical4): Likewise.
5157
5158 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
5159
5160 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
5161
5162 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
5163
5164 * lib/compiler.c: Add Intel specific preprocessor macros.
5165 * lib/compiler.cc: Likewise.
5166
5167 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
5168
5169 * gdb.server/connect-with-no-symbol-file.c: New file.
5170 * gdb.server/connect-with-no-symbol-file.exp: New file.
5171
5172 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
5173
5174 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
5175
5176 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
5177
5178 * boards/gdbserver-base.exp (${board}_download): Copy source file to
5179 standard output directory.
5180
5181 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
5182
5183 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
5184
5185 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
5186
5187 * gdb.btrace/instruction_history.c (loop): Add declaration.
5188
5189 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
5190
5191 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
5192
5193 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
5194
5195 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
5196 parentheses to print.
5197 (continue_handler): Likewise.
5198
5199 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
5200
5201 * gdb.server/solib-list.exp: Remove is_remote check.
5202 Pass shlib= to gdb_compile. Don't link shared library with
5203 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
5204 Run binary filename through "readlink -f" on the target.
5205
5206 2016-04-08 Pedro Alves <palves@redhat.com>
5207
5208 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
5209 interpreter filename as argument to gdbserver_spawn.
5210 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
5211 Return empty if $last_loaded_file does not exist.
5212
5213 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5214
5215 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
5216 * gdb.base/jit-main.c: Use exit after usage.
5217
5218 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5219
5220 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
5221 GDBHISTSIZE prior to the tests.
5222 * gdb.base/gdbinit-history.exp: Likewise.
5223
5224 2016-04-07 Pedro Alves <palves@redhat.com>
5225
5226 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
5227 instead of build_executable. Use gdb_load_shlibs.
5228
5229 2016-04-07 Yao Qi <yao.qi@linaro.org>
5230
5231 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
5232 Execute "si" command.
5233
5234 2016-04-07 Yao Qi <yao.qi@linaro.org>
5235
5236 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
5237 number instead of the comments on some line.
5238
5239 2016-04-06 Don Breazeal <donb@codesourcery.com>
5240
5241 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
5242 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
5243
5244 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
5245
5246 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
5247 standard_output_file. Remove unused binfile variable.
5248
5249 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
5250
5251 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
5252 * gdb.python/py-mi-objfile.exp: Match "list main" output
5253 in console format.
5254
5255 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
5256
5257 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
5258 absolute.
5259
5260 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
5261
5262 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
5263 absolute.
5264 * gdb.trace/ftrace.exp: Likewise.
5265 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
5266 targets as well.
5267 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
5268 (gdb_load_shlibs): Copy libraries to test directory when testing
5269 natively. Only set solib-search-path if testing remotely.
5270 * lib/mi-support.exp (mi_load_shlibs): Likewise.
5271
5272 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
5273
5274 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
5275 gdb_download. Use it even if the target is not remote.
5276 * gdb.base/jit.exp (compile_jit_test): Likewise.
5277 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
5278 output directory if the destination board is local, otherwise use
5279 the standard remote_download from DejaGnu.
5280 (gdb_download): Remove.
5281 (gdb_load_shlibs): Use gdb_remote_download instead of
5282 gdb_download.
5283 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
5284 Use gdb_remote_download instead of gdb_download. Use it even if
5285 the target is not remote.
5286 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
5287 instead of gdb_download.
5288
5289 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
5290
5291 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
5292 (test_insert_delete_modify): Call mi_load_shlibs before trying to
5293 run.
5294
5295 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
5296
5297 PR gdb/19820
5298 * gdb.base/printcmds.exp: Add artificial arrays tests.
5299
5300 2016-03-31 Pedro Alves <palves@redhat.com>
5301
5302 PR gdb/19858
5303 * gdb.base/jit-main.c: Include unistd.h.
5304 (ATTACH): Define to 0 if not already defined.
5305 (wait_for_gdb, mypid): New globals.
5306 (WAIT_FOR_GDB): New macro.
5307 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
5308 some breakpoint locations.
5309 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
5310 New procedures.
5311 (one_jit_test): Add REATTACH parameter, and handle it. Use
5312 continue_to_test_location.
5313 (top level): Test attach, and adjusts calls to one_jit_test.
5314
5315 2016-03-31 Pedro Alves <palves@redhat.com>
5316
5317 PR gdb/19858
5318 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
5319 BINSUFFIX parameter, and handle it.
5320 (top level): Adjust calls compile_jit_test.
5321
5322 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
5323
5324 PR python/19743
5325 * gdb.python/py-mi-events-gdb.py: New file.
5326 * gdb.python/py-mi-events.c: New file.
5327 * gdb.python/py-mi-events.exp: New file.
5328
5329 2016-03-30 Yao Qi <yao.qi@linaro.org>
5330
5331 * gdb.reverse/until-precsave.exp: Match function name only.
5332 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
5333 Move malloc to a condition block.
5334 * gdb.reverse/until-reverse.exp: Match function name only.
5335
5336 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
5337
5338 * gdb.trace/ftrace.exp: Set arg0exp for s390.
5339 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
5340 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
5341 variable for GPR 0 instead of assuming it is register 0.
5342 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
5343 * lib/trace-support.exp: Add s390 registers.
5344
5345 2016-03-29 Yao Qi <yao.qi@linaro.org>
5346
5347 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
5348
5349 2016-03-24 Yao Qi <yao.qi@linaro.org>
5350
5351 * gdb.reverse/break-reverse.exp: Add quotation mark in the
5352 test message.
5353
5354 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5355
5356 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
5357 maintaining separate logic for constructing the output path.
5358
5359 2016-03-16 Don Breazeal <donb@codesourcery.com>
5360
5361 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
5362 Retry fork and waitpid on interrupted system call errors.
5363 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
5364 Use with_timeout_factor to increase timeout by factor of 10.
5365
5366 2016-03-15 Don Breazeal <donb@codesourcery.com>
5367
5368 * gdb.cp/scope-err.cc: New test program.
5369 * gdb.cp/scope-err.exp: New test script.
5370 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
5371 lines and "set breakpoint here" comment.
5372 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
5373 Fixed some whitespace and format issues.
5374 * gdb.mi/mi-linespec-err-cp.cc: New test program.
5375 * gdb.mi/mi-linespec-err-cp.exp: New test script.
5376
5377 2016-03-15 Doug Evans <dje@google.com>
5378
5379 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
5380 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
5381 All callers updated. Add tests for enums, mixed flags register.
5382
5383 2016-03-15 Doug Evans <dje@google.com>
5384
5385 * gdb.base/skip.c (main): Call test_skip_file_and_function.
5386 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
5387
5388 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
5389
5390 * gdb.base/default.exp: Add $_as_string to the list of expected
5391 convenience functions.
5392
5393 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
5394
5395 * gdb.base/maint.exp: New tests for 'maint info line-table'.
5396
5397 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
5398
5399 * gdb.python/py-as-string.exp: New file.
5400 * gdb.python/py-as-string.c: New file.
5401
5402 2016-03-09 Pedro Alves <palves@redhat.com>
5403
5404 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
5405 signal" -> "Thread NN received signal" output change.
5406 * gdb.threads/ia64-sigill.exp: Likewise.
5407 * gdb.threads/linux-dp.exp: Likewise.
5408 * gdb.threads/manythreads.exp: Likewise.
5409 * gdb.threads/pending-step.exp: Likewise.
5410 * gdb.threads/print-threads.exp: Likewise.
5411 * gdb.threads/sigstep-threads.exp: Likewise.
5412 * gdb.threads/staticthreads.exp: Likewise.
5413 * gdb.threads/tls.exp: Likewise.
5414
5415 2016-03-09 Pedro Alves <palves@redhat.com>
5416
5417 * gdb.base/command-line-input.exp: New file.
5418
5419 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5420
5421 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
5422 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
5423 * gdb.trace/pending.exp: Accept leading dot before function name.
5424 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
5425 * lib/trace-support.exp: Set registers for ppc.
5426
5427 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5428
5429 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
5430 use it for disassembly; accept .main in addition to main in backtrace.
5431
5432 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
5433 Marcin Kościelnicki <koriakin@0x04.net>
5434
5435 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
5436 (gdb_recursion_test_ptr): New global variable.
5437 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
5438 gdb_recursion_test.
5439 (gdb_c_test): Ditto.
5440
5441 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5442
5443 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
5444 ordering.
5445
5446 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5447
5448 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
5449 (bar): Add bar_start_lbl label.
5450 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
5451 of foo/bar for emitting DWARF and tracing.
5452
5453 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
5454
5455 * analyze-racy-logs.py: Set executable bit.
5456
5457 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
5458
5459 * Makefile.in (DEFAULT_RACY_ITER): New variable.
5460 (CHECK_TARGET_TMP): Likewise.
5461 (check-single-racy): New rule.
5462 (check-parallel-racy): Likewise.
5463 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
5464 (do-check-parallel-racy): New rule.
5465 (check-racy/%.exp): Likewise.
5466 * README (Racy testcases): New section.
5467 * analyze-racy-logs.py: New file.
5468
5469 2016-03-03 Doug Evans <dje@google.com>
5470
5471 * gdb.base/skip.exp: Use with_test_prefix.
5472
5473 2016-03-03 Yao Qi <yao.qi@linaro.org>
5474
5475 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
5476 Invoke step_over_syscall "clone" and break_cond_on_syscall
5477 "clone".
5478 * gdb.base/step-over-clone.c: New file.
5479
5480 2016-03-03 Yao Qi <yao.qi@linaro.org>
5481
5482 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
5483 code format.
5484
5485 2016-03-03 Yao Qi <yao.qi@linaro.org>
5486
5487 * gdb.base/disp-step-fork.c: Rename to ...
5488 * gdb.base/step-over-fork.c: ... it. New file.
5489 * gdb.base/disp-step-vfork.c: Rename to ...
5490 * gdb.base/step-over-vfork.c: ... it. New file.
5491 * gdb.base/disp-step-syscall.exp: Rename to ...
5492 * gdb.base/step-over-syscall.exp: ... it. New file.
5493 (disp_step_cross_syscall): Rename to ...
5494 (step_over_syscall): ... it.
5495
5496 2016-03-03 Yao Qi <yao.qi@linaro.org>
5497
5498 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
5499 If target supports condition evaluation on target, invoke
5500 break_cond_on_syscall for fork and vfork.
5501
5502 2016-03-03 Yao Qi <yao.qi@linaro.org>
5503
5504 * gdb.base/disp-step-syscall.exp: Don't invoke
5505 support_displaced_stepping.
5506 (disp_step_cross_syscall): Test with displaced stepping off and
5507 on if supported.
5508
5509 2016-03-03 Yao Qi <yao.qi@linaro.org>
5510
5511 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
5512 proc.
5513 (setup): New proc.
5514 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
5515 and setup.
5516
5517 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
5518
5519 * gdb.fortran/vla-history.exp: Remove breakpoint.
5520
5521 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
5522
5523 * gdb.fortran/vla-history.exp: Lookup array elements and printing
5524 exceeds timeout.
5525
5526 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
5527
5528 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
5529 breakpoint.
5530
5531 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
5532
5533 * gdb.mi/vla.f90: Nullify pointer after declaration.
5534
5535 2016-03-01 Pedro Alves <palves@redhat.com>
5536
5537 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
5538
5539 2016-03-01 Pedro Alves <palves@redhat.com>
5540
5541 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
5542 before anything else.
5543 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
5544 _GNU_SOURCE here.
5545 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
5546 before anything else.
5547 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
5548
5549 2016-03-01 Pedro Alves <palves@redhat.com>
5550
5551 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
5552
5553 2016-03-01 Yao Qi <yao.qi@linaro.org>
5554
5555 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
5556 prepare_for_testing.
5557
5558 2016-03-01 Yao Qi <yao.qi@linaro.org>
5559
5560 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
5561
5562 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
5563
5564 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
5565 manually constructing the output path.
5566
5567 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
5568
5569 * gdb.arch/s390-stackless.S: New.
5570 * gdb.arch/s390-stackless.exp: New.
5571
5572 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
5573
5574 * gdb.dlang/circular.c: New file.
5575 * gdb.dlang/circular.exp: New file.
5576
5577 2016-02-26 Yao Qi <yao.qi@linaro.org>
5578
5579 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
5580 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
5581 (testcases): Update.
5582
5583 2016-02-26 Yao Qi <yao.qi@linaro.org>
5584
5585 * gdb.reverse/aarch64.c: Rename to ...
5586 * gdb.reverse/insn-reverse.c: ... it.
5587 * gdb.reverse/aarch64.exp: Rename to ...
5588 * gdb.reverse/insn-reverse.exp: ... it.
5589
5590 2016-02-26 Yao Qi <yao.qi@linaro.org>
5591
5592 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
5593 (testcase_ftype): New.
5594 (testcases): New array.
5595 (n_testcases): New.
5596 (main): Call each element in testcases.
5597 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
5598 (read_testcase): New.
5599 Do the tests in a loop.
5600
5601 2016-02-25 Yao Qi <yao.qi@linaro.org>
5602
5603 * gdb.base/branches.c: Remove.
5604
5605 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
5606
5607 PR gdb/13808
5608 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
5609
5610 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
5611
5612 * gdb.trace/ftrace.exp: Remove unnecessary target check.
5613
5614 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
5615
5616 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
5617 change x86_64 call_insn to 'callq'.
5618
5619 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
5620
5621 * gdb.trace/tfile-avx.c: Move to...
5622 * gdb.trace/tracefile-pseudo-reg.c: Here.
5623 * gdb.trace/tfile-avx.exp: Move to...
5624 * gdb.trace/tracefile-pseudo-reg.exp: Here.
5625
5626 2016-02-24 Gary Benson <gbenson@redhat.com>
5627
5628 * gdb.base/attach-pie-noexec.exp: Do not expect an error
5629 message on attach.
5630
5631 2016-02-23 Doug Evans <dje@google.com>
5632
5633 * gdb.base/skip.c (test_skip): New function.
5634 (end_test_skip_file_and_function): New function.
5635 (test_skip_file_and_function): New function.
5636 * gdb.base/skip1.c (test_skip): New function.
5637 (skip1_test_skip_file_and_function): New function.
5638 * gdb.base/skip.exp: Add tests for new skip options.
5639 * gdb.base/skip-solib.exp: Update expected output.
5640 * gdb.perf/skip-command.cc: New file.
5641 * gdb.perf/skip-command.exp: New file.
5642 * gdb.perf/skip-command.py: New file.
5643
5644 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
5645
5646 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
5647 info registers pattern.
5648
5649 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
5650
5651 * lib/future.exp: Add D support.
5652 (gdb_find_gdc): New proc.
5653 (gdb_default_target_compile): Add D support.
5654
5655 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
5656
5657 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
5658 user+system time.
5659 (trace_speed_test): Determine the iteration count for a time
5660 between 15..30 seconds.
5661
5662 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
5663
5664 * gdb.arch/i386-mpx-sigsegv.c: New file.
5665 * gdb.arch/i386-mpx-sigsegv.exp: New file.
5666 * gdb.arch/i386-mpx-simple_segv.c: New file.
5667 * gdb.arch/i386-mpx-simple_segv.exp: New file.
5668
5669 2016-02-18 Yao Qi <yao.qi@linaro.org>
5670
5671 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
5672 Don't call setup_kfail.
5673
5674 2016-02-18 Yao Qi <yao.qi@linaro.org>
5675
5676 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
5677 Set "set breakpoint condition-evaluation" per $cond_bp_target.
5678
5679 2016-02-16 Doug Evans <dje@google.com>
5680
5681 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
5682 * gdb.base/skip1.c: Ditto.
5683 * gdb.base/skip.exp: Whitespace cleanup.
5684
5685 2016-02-16 Don Breazeal <donb@codesourcery.com>
5686
5687 PR remote/19496
5688 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
5689 Remove kfail for PR remote/19496.
5690
5691 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
5692
5693 * lib/gdb.exp (standard_temp_file): Return a path specific to
5694 the runtest invocation.
5695
5696 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
5697
5698 * gdb.trace/save-trace.exp: Change relative path to be in the
5699 standard output directory.
5700
5701 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5702
5703 * gdb.arch/i386-prologue.c: Add missing prototypes.
5704
5705 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5706
5707 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
5708 * gdb.arch/i386-prologue.exp: Likewise.
5709 * gdb.arch/i386-size.exp: Likewise.
5710
5711 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
5712
5713 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
5714 define object file path.
5715 * gdb.btrace/gcore.exp: Use standard_output_file to define core
5716 file path.
5717 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
5718 standard_output_file to define binfile.
5719
5720 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5721
5722 Fix compatibility with recent gfortran-5.3.1.
5723 * gdb.fortran/vla-history.exp (print vla1 allocated)
5724 (print vla2 allocated, print $2, print $3): Remove
5725 (print $4): Rename to ...
5726 (print $2): ... here.
5727 (print $9): Rename to ...
5728 (print $5): ... here.
5729 (print $10): Rename to ...
5730 (print $6): ... here.
5731 * gdb.fortran/vla.f90: Add pvla initialization.
5732
5733 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5734
5735 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
5736 New test.
5737 * gdb.fortran/vla-value-sub.exp: Likewise.
5738
5739 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
5740
5741 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
5742
5743 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
5744
5745 * i386-biarch-core.exp: Define corefile using
5746 standard_output_file.
5747
5748 2016-02-12 Yao Qi <yao.qi@linaro.org>
5749
5750 * gdb.arch/arm-single-step-kernel-helper.c: New.
5751 * gdb.arch/arm-single-step-kernel-helper.exp: New.
5752
5753 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
5754
5755 * gdb.btrace/tailcall-only.exp: New.
5756 * gdb.btrace/tailcall-only.c: New.
5757 * gdb.btrace/x86_64-tailcall-only.S: New.
5758 * gdb.btrace/i686-tailcall-only.S: New.
5759
5760 2016-02-11 Pedro Alves <palves@redhat.com>
5761
5762 * README (Parallel testing): Add missing double quotes.
5763
5764 2016-02-11 Pedro Alves <palves@redhat.com>
5765
5766 * README (Parallel testing): New section.
5767 (GDB_PARALLEL): Rewrite.
5768 (FORCE_PARALLEL): Document.
5769
5770 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
5771
5772 * gdb.trace/tfile-avx.c: New test.
5773 * gdb.trace/tfile-avx.exp: New test.
5774
5775 2016-02-09 Keith Seitz <keiths@redhat.com>
5776
5777 PR breakpoints/19546
5778 * gdb.base/infcall-exec.c: New file.
5779 * gdb.base/infcall-exec2.c: New file.
5780 * gdb.base/infcall-exec.exp: New file.
5781
5782 2016-02-09 Keith Seitz <keiths@redhat.com>
5783
5784 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
5785 (toplevel): Call test_bkpt_address.
5786
5787 2016-02-09 Keith Seitz <keiths@redhat.com>
5788
5789 PR python/19506
5790 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
5791 (toplevel): Call test_bkpt_address.
5792
5793 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
5794
5795 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
5796 to AC_OUTPUT.
5797 * configure: Regenerate.
5798
5799 2016-02-09 Pedro Alves <palves@redhat.com>
5800
5801 PR breakpoints/19548
5802 * gdb.base/execl-update-breakpoints.c (some_function): New
5803 function.
5804 (main): Call it.
5805 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
5806 Tighten expected GDB output.
5807
5808 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
5809
5810 * Makefile.in (ALL_SUBDIRS): Remove.
5811 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
5812 (distclean maintainer-clean realclean): Likewise.
5813 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
5814 * configure: Regenerate.
5815 * gdb.ada/Makefile.in: Delete.
5816 * gdb.arch/Makefile.in: Likewise.
5817 * gdb.asm/Makefile.in: Likewise.
5818 * gdb.base/Makefile.in: Likewise.
5819 * gdb.btrace/Makefile.in: Likewise.
5820 * gdb.cell/Makefile.in: Likewise.
5821 * gdb.compile/Makefile.in: Likewise.
5822 * gdb.cp/Makefile.in: Likewise.
5823 * gdb.disasm/Makefile.in: Likewise.
5824 * gdb.dlang/Makefile.in: Likewise.
5825 * gdb.dwarf2/Makefile.in: Likewise.
5826 * gdb.fortran/Makefile.in: Likewise.
5827 * gdb.gdb/Makefile.in: Likewise.
5828 * gdb.go/Makefile.in: Likewise.
5829 * gdb.guile/Makefile.in: Likewise.
5830 * gdb.java/Makefile.in: Likewise.
5831 * gdb.linespec/Makefile.in: Likewise.
5832 * gdb.mi/Makefile.in: Likewise.
5833 * gdb.modula2/Makefile.in: Likewise.
5834 * gdb.multi/Makefile.in: Likewise.
5835 * gdb.objc/Makefile.in: Likewise.
5836 * gdb.opencl/Makefile.in: Likewise.
5837 * gdb.opt/Makefile.in: Likewise.
5838 * gdb.pascal/Makefile.in: Likewise.
5839 * gdb.perf/Makefile.in: Likewise.
5840 * gdb.python/Makefile.in: Likewise.
5841 * gdb.reverse/Makefile.in: Likewise.
5842 * gdb.server/Makefile.in: Likewise.
5843 * gdb.stabs/Makefile.in: Likewise.
5844 * gdb.threads/Makefile.in: Likewise.
5845 * gdb.trace/Makefile.in: Likewise.
5846 * gdb.xml/Makefile.in: Likewise.
5847 * lib/gdb.exp (make_gdb_parallel_path): Add check for
5848 GDB_PARALLEL.
5849 (standard_output_file): Remove check for GDB_PARALLEL, always
5850 return path in outputs/$subdir/$testname.
5851
5852 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
5853
5854 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
5855 (site.exp): Assign abs_srcdir to tcl's srcdir.
5856
5857 2016-02-04 Yao Qi <yao.qi@linaro.org>
5858
5859 * gdb.base/foll-exec-mode.c: Include limits.h.
5860 (main): Add parameters argc and argv. Get directory from
5861 argv[0].
5862 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
5863 compilation.
5864 * gdb.base/foll-exec.c: Include limits.h.
5865 (main): Add parameters argc and argv.
5866 Get directory from argv[0].
5867 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
5868 Adjust tests on the number of lines as source code changed.
5869 * gdb.base/foll-vfork-exit.c: Include limits.h.
5870 (main): Add one line of statement before vfork.
5871 * gdb.base/foll-vfork.c: Include limits.h and string.h.
5872 (main): Add parameters argc and argv. Get directory from
5873 argv[0].
5874 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
5875 (setup_gdb): Set tbreak to skip some source lines.
5876 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
5877 (main): Add parameters argc and argv. Get directory from
5878 argv[0].
5879 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
5880 compilation.
5881 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
5882 (main): Add parameters argc and argv. Get directory from
5883 argv[0].
5884 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
5885 compilation.
5886
5887 2016-02-01 Doug Evans <dje@google.com>
5888
5889 * gdb.base/skip.exp: Clean up multiple references to same test name.
5890
5891 2016-02-01 Pedro Alves <palves@redhat.com>
5892
5893 PR remote/19496
5894 * gdb.threads/forking-threads-plus-breakpoint.exp
5895 (displaced_stepping_supported): New global.
5896 (probe_displaced_stepping_support): New procedure.
5897 (do_test): Add 'displaced' parameter, and use it.
5898 (top level): Check for displaced stepping support. Add displaced
5899 stepping on/off testing axis.
5900
5901 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
5902
5903 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
5904 pointer. Don't perform further tests on the unassociated pointer
5905 if the first test fails.
5906
5907 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
5908
5909 * gdb.base/max-value-size.c: New file.
5910 * gdb.base/max-value-size.exp: New file.
5911 * gdb.base/huge.exp: Disable max-value-size for this test.
5912
5913 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
5914
5915 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
5916
5917 2016-01-28 Yao Qi <yao.qi@linaro.org>
5918
5919 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
5920
5921 2016-01-25 Pedro Alves <palves@redhat.com>
5922
5923 PR threads/19461
5924 * gdb.base/fork-running-state.c: New file.
5925 * gdb.base/fork-running-state.exp: New file.
5926
5927 2016-01-25 Pedro Alves <palves@redhat.com>
5928
5929 PR gdb/19494
5930 * gdb.base/catch-fork-kill.c: New file.
5931 * gdb.base/catch-fork-kill.exp: New file.
5932
5933 2016-01-25 Pedro Alves <palves@redhat.com>
5934
5935 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
5936 Delete, moved to lib/gdb.exp.
5937 * gdb.threads/forking-threads-plus-breakpoint.exp
5938 (foreach_with_prefix): Likewise.
5939 * gdb.threads/process-dies-while-handling-bp.exp
5940 (foreach_with_prefix): Likewise.
5941 * lib/gdb.exp (foreach_with_prefix): New procedure.
5942
5943 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
5944
5945 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
5946 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
5947
5948 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
5949
5950 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
5951 endian targets.
5952
5953 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5954 Pedro Alves <palves@redhat.com>
5955
5956 Fix testsuite compatibility with Guile.
5957 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
5958 number.
5959
5960 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5961
5962 Fix testsuite compatibility with Guile.
5963 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
5964 (thread 1): New test for backtrace through signal handler.
5965
5966 2016-01-22 Yao Qi <yao.qi@linaro.org>
5967
5968 PR testsuite/19491
5969 * gdb.base/multi-forks.c: Include
5970 ../lib/unbuffer_output.c
5971 (main): Call gdb_unbuffer_output.
5972
5973 2016-01-21 Doug Evans <dje@google.com>
5974
5975 * lib/ada.exp (gdb_compile_ada): Fix typo.
5976
5977 2016-01-21 Joel Brobecker <brobecker@adacore.com>
5978
5979 * gdb.base/break-fun-addr.exp: New file.
5980 * gdb.base/break-fun-addr1.c: New file.
5981 * gdb.base/break-fun-addr2.c: New file.
5982
5983 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
5984
5985 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
5986 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
5987 enum flag values.
5988
5989 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5990
5991 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
5992 when GDB can not set the vector return value. Add more comments
5993 for clarification.
5994
5995 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
5996
5997 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
5998 command.
5999
6000 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
6001
6002 * Makefile.in (DO_RUNTEST): Add --status and update usages.
6003
6004 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
6005
6006 * Makefile.in (check-single): Pass --status to runtest.
6007 (check/%.exp): Likewise.
6008
6009 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
6010
6011 * Makefile.in (check-parallel): Propagate return code from make
6012 do-check-parallel.
6013
6014 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
6015
6016 * gdb.trace/ftrace.exp: Fix expected message on continue.
6017 * gdb.trace/pending.exp: Fix expected message on continue.
6018 * gdb.trace/trace-break.exp: Fix expected message on continue.
6019
6020 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
6021
6022 * lib/gdb.exp (gdb_test): Remove unused global references.
6023
6024 2016-01-18 Pedro Alves <palves@redhat.com>
6025
6026 * gdb.base/async-shell.exp: Adjust expected output.
6027 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
6028 * gdb.base/siginfo-thread.exp: Adjust expected output.
6029 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
6030 * gdb.java/jnpe.exp: Adjust expected output.
6031 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
6032 * gdb.threads/continue-pending-status.exp: Adjust expected output.
6033 * gdb.threads/leader-exit.exp: Adjust expected output.
6034 * gdb.threads/manythreads.exp: Adjust expected output.
6035 * gdb.threads/pthreads.exp: Adjust expected output.
6036 * gdb.threads/schedlock.exp: Adjust expected output.
6037 * gdb.threads/siginfo-threads.exp: Adjust expected output.
6038 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
6039 expected output.
6040 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
6041 output.
6042 * gdb.threads/sigthread.exp: Adjust expected output.
6043 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
6044
6045 2016-01-18 Yao Qi <yao.qi@linaro.org>
6046
6047 * gdb.guile/scm-section-script.c: Replace @progbits with
6048 %progbits.
6049 * gdb.python/py-section-script.c: Likewise.
6050
6051 2016-01-15 Pedro Alves <palves@redhat.com>
6052
6053 * gdb.multi/tids.exp: Test star wildcard ranges.
6054
6055 2016-01-15 Pedro Alves <palves@redhat.com>
6056
6057 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
6058 command from "thread apply" invocation.
6059 (thr_apply_info_thr_invalid): Default the expected output to the
6060 input tid list.
6061 (top level): Add tests that use convenience variables. Add tests
6062 for "thread apply" with a valid TID list, but missing the command.
6063
6064 2016-01-13 Pedro Alves <palves@redhat.com>
6065
6066 * gdb.base/default.exp: Expect $_gthread as well.
6067 * gdb.multi/tids.exp: Test $_gthread.
6068 * gdb.threads/thread-specific.exp: Test $_gthread.
6069
6070 2016-01-13 Pedro Alves <palves@redhat.com>
6071
6072 * gdb.multi/tids.exp: Test "info threads -gid".
6073
6074 2016-01-13 Pedro Alves <palves@redhat.com>
6075
6076 * gdb.multi/tids.exp: Test InferiorThread.global_num and
6077 Breakpoint.thread.
6078 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
6079
6080 2016-01-07 Pedro Alves <palves@redhat.com>
6081
6082 * gdb.base/break.exp: Adjust to output changes.
6083 * gdb.base/hbreak2.exp: Likewise.
6084 * gdb.base/sepdebug.exp: Likewise.
6085 * gdb.base/watch_thread_num.exp: Likewise.
6086 * gdb.linespec/keywords.exp: Likewise.
6087 * gdb.multi/info-threads.exp: Likewise.
6088 * gdb.threads/thread-find.exp: Likewise.
6089 * gdb.multi/tids.c: New file.
6090 * gdb.multi/tids.exp: New file.
6091
6092 2016-01-13 Pedro Alves <palves@redhat.com>
6093
6094 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
6095
6096 2016-01-13 Pedro Alves <palves@redhat.com>
6097
6098 * gdb.base/default.exp: Expect $_inferior as well.
6099 * gdb.multi/base.exp: Test $_inferior.
6100
6101 2016-01-13 Pedro Alves <palves@redhat.com>
6102
6103 PR breakpoints/19388
6104 * gdb.base/catch-signal-siginfo-cond.c: New file.
6105 * gdb.base/catch-signal-siginfo-cond.exp: New file.
6106
6107 2016-01-12 Josh Stone <jistone@redhat.com>
6108 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6109
6110 * gdb.base/catch-syscall.c (do_execve): New variable.
6111 (main): Conditionally trigger an execve.
6112 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
6113 (test_catch_syscall_execve): New, check entry/return across execve.
6114 (do_syscall_tests): Call test_catch_syscall_execve.
6115
6116 2016-01-12 Pedro Alves <palves@redhat.com>
6117
6118 * gdb.base/random-signal.exp (do_test): New procedure, with body
6119 of testcase moved in.
6120
6121 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6122 Pedro Alves <palves@redhat.com>
6123
6124 * gdb.base/funcargs.exp (finish from indirectly called function):
6125 Reintroduce the case for 'First'.
6126
6127 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6128 Pedro Alves <palves@redhat.com>
6129
6130 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
6131 (tcatch_vfork_then_child_follow_exec)
6132 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
6133 identification.
6134
6135 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6136
6137 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
6138 and repeats to unlimited.
6139 * gdb.python/py-value.exp: Likewise.
6140 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
6141 and repeats to unlimited.
6142
6143 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6144
6145 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
6146 and reordering the functions.
6147 * gdb.multi/hangout.c: Likewise.
6148 * gdb.multi/hello.c: Likewise.
6149
6150 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
6151
6152 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
6153 absolute.
6154 (SingleStatisticTestResult.report): Use dict.keys instead of
6155 dict.iterkeys.
6156
6157 2016-01-06 Pedro Alves <palves@redhat.com>
6158
6159 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
6160
6161 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
6162
6163 * gdb.btrace/dlopen.exp: New.
6164 * gdb.btrace/dlopen.c: New.
6165 * gdb.btrace/dlopen-dso.c: New.
6166
6167 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
6168
6169 * lib/gdb.exp (gdb_test): Update comments to clarify that the
6170 PATTERN argument is optional.
6171
6172 2015-12-24 Joel Brobecker <brobecker@adacore.com>
6173
6174 * lib/ada.exp (target_compile_ada_from_dir): New function.
6175 (gdb_compile_ada): Reimplement avoiding the use of project files.
6176 * gdb.ada/gnat_ada.gpr: Delete.
6177 * gdb.ada/cond_lang.exp: Adjust test to make path before
6178 filename optional.
6179 * gdb.ada/small_reg_param.exp: Likewise.
6180
6181 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
6182
6183 * gdb.base/foll-vork.exp: Remove HP-UX special case.
6184
6185 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
6186
6187 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
6188 case.
6189
6190 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
6191
6192 * gdb.base/break.exp: Remove dead code.
6193 * gdb.base/sepdebug.exp: Likewise.
6194
6195 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
6196
6197 * gdb.asm/asm-source.exp: Remove HP-UX references.
6198 * gdb.base/annota1.exp: Likewise.
6199 * gdb.base/annota3.exp: Likewise.
6200 * gdb.base/attach.exp: Likewise.
6201 * gdb.base/bigcore.exp: Likewise.
6202 * gdb.base/break.exp: Likewise.
6203 * gdb.base/call-ar-st.exp: Likewise.
6204 * gdb.base/callfuncs.exp: Likewise.
6205 * gdb.base/catch-fork-static.exp: Likewise.
6206 * gdb.base/display.exp: Likewise.
6207 * gdb.base/foll-exec-mode.exp: Likewise.
6208 * gdb.base/foll-exec.exp: Likewise.
6209 * gdb.base/foll-fork.exp: Likewise.
6210 * gdb.base/foll-vfork.exp: Likewise.
6211 * gdb.base/funcargs.exp: Likewise.
6212 * gdb.base/hbreak2.exp: Likewise.
6213 * gdb.base/inferior-died.exp: Likewise.
6214 * gdb.base/interrupt.exp: Likewise.
6215 * gdb.base/multi-forks.exp: Likewise.
6216 * gdb.base/nodebug.exp: Likewise.
6217 * gdb.base/sepdebug.exp: Likewise.
6218 * gdb.base/solib1.c: Likewise.
6219 * gdb.base/step-test.exp: Likewise.
6220 * gdb.mi/non-stop.c: Likewise.
6221 * gdb.mi/pthreads.c: Likewise.
6222 * gdb.multi/bkpt-multi-exec.ex: Likewise.
6223 * gdb.threads/pthreads.c: Likewise.
6224 * gdb.threads/staticthreads.exp: Likewise.
6225 * lib/future.exp: Likewise.
6226 * lib/gdb.exp: Likewise.
6227 * gdb.base/so-indr-cl.c: Remove.
6228 * gdb.base/so-indr-cl.exp: Likewise.
6229 * gdb.base/solib.c: Likewise.
6230 * gdb.base/solib.exp: Likewise.
6231 * gdb.base/solib2.c: Likewise.
6232
6233 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
6234
6235 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
6236 * gdb.base/call-ar-st.exp: Likewise.
6237 * gdb.base/callfuncs.exp: Likewise.
6238 * gdb.base/condbreak.exp: Likewise.
6239 * gdb.base/constvars.exp: Likewise.
6240 * gdb.base/hbreak2.exp: Likewise.
6241 * gdb.base/langs.exp: Likewise.
6242 * gdb.base/list.exp: Likewise.
6243 * gdb.base/long_long.exp: Likewise.
6244 * gdb.base/ptype.exp: Likewise.
6245 * gdb.base/scope.exp: Likewise.
6246 * gdb.base/signals.exp: Likewise.
6247 * gdb.base/so-impl-ld.exp: Likewise.
6248 * gdb.base/varargs.exp: Likewise.
6249 * gdb.base/volatile.exp: Likewise.
6250 * gdb.base/whatis.exp: Likewise.
6251 * gdb.cp/cplusfuncs.exp: Likewise.
6252 * gdb.cp/inherit.exp: Likewise.
6253 * gdb.cp/local.exp: Likewise.
6254 * gdb.cp/member-ptr.exp: Likewise.
6255 * gdb.cp/method.exp: Likewise.
6256 * gdb.cp/overload.exp: Likewise.
6257 * gdb.cp/templates.exp: Likewise.
6258 * gdb.stabs/weird.exp: Likewise.
6259 * lib/compiler.c: Likewise.
6260 * lib/compiler.cc: Likewise.
6261 * lib/cp-support.exp: Likewise.
6262 * lib/gdb.exp: Likewise.
6263
6264 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
6265
6266 * configure.ac: Remove HP-UX case.
6267 * configure: Regenerate.
6268
6269 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
6270
6271 * lib/gdb.exp (gdb_compile): Add function doc.
6272
6273 2015-12-17 Pedro Alves <palves@redhat.com>
6274
6275 PR threads/19354
6276 * gdb.multi/info-threads.exp: New file.
6277
6278 2015-12-15 Yao Qi <yao.qi@linaro.org>
6279
6280 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
6281 is aarch64*-*-*.
6282
6283 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6284
6285 * gdb.base/history-duplicates.exp: Skip if no readline support.
6286
6287 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6288
6289 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
6290
6291 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6292
6293 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
6294
6295 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6296
6297 * gdb.base/completion.exp: Skip tests that interrupt GDB with
6298 ctrl-C if nointerrupts target property is set.
6299 * gdb.base/double-prompt-target-event-error.exp: Likewise.
6300 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
6301 * gdb.base/paginate-bg-execution.exp: Likewise.
6302 * gdb.base/paginate-execution-startup.exp: Likewise.
6303 * gdb.base/random-signal.exp: Likewise.
6304 * gdb.base/range-stepping.exp: Likewise.
6305 * gdb.cp/annota2.exp: Likewise.
6306 * gdb.cp/annota3.exp: Likewise.
6307 * gdb.gdb/selftest.exp: Likewise.
6308 * gdb.threads/continue-pending-status.exp: Likewise.
6309 * gdb.threads/leader-exit.exp: Likewise.
6310 * gdb.threads/manythreads.exp: Likewise.
6311 * gdb.threads/pthreads.exp: Likewise.
6312 * gdb.threads/schedlock.exp: Likewise.
6313 * gdb.threads/sigthread.exp: Likewise.
6314
6315 2015-12-11 Don Breazeal <donb@codesourcery.com>
6316
6317 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
6318 remote.
6319 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
6320 * gdb.base/foll-exec.exp (main): Enable for target remote.
6321 * gdb.base/foll-fork.exp (main): Likewise.
6322 * gdb.base/foll-vfork.exp (main): Likewise.
6323 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
6324 (proc continue_to_exit_bp_loc): Use clean_restart.
6325 * gdb.base/pie-execl.exp (main): Disable for target remote.
6326 * gdb.base/watch-vfork.exp (main): Enable for target remote.
6327 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
6328 * gdb.threads/execl.exp (main): Likewise.
6329 * gdb.threads/fork-child-threads.exp (main): Likewise.
6330 * gdb.threads/fork-plus-threads.exp (main): Disable for target
6331 remote.
6332 * gdb.threads/fork-thread-pending.exp (main): Enable for target
6333 remote.
6334 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
6335 pid.tid style ptids, instead of just tid.
6336 * gdb.threads/thread-execl.exp (main): Enable for target remote.
6337 * gdb.threads/watchpoint-fork.exp (main): Likewise.
6338 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
6339 ptids, instead of just tid.
6340
6341 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6342
6343 * gdb.base/list.exp (test_list_forward): Add end of file error
6344 test.
6345 (test_repeat_list_command): Add end of file error test.
6346 (test_list_backwards): Add beginning of file error test.
6347
6348 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6349
6350 * gdb.base/list.exp (test_list_invalid_args): New function,
6351 defined, and called.
6352
6353 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6354
6355 * gdb.base/list.exp (test_list): Make test names unique.
6356
6357 2015-12-11 Yao Qi <yao.qi@linaro.org>
6358
6359 * gdb.base/coremaker2.c: Remove.
6360
6361 2015-12-10 Pedro Alves <palves@redhat.com>
6362
6363 * gdb.multi/base.exp: Remove stale "spaces" references.
6364
6365 2015-12-10 Pedro Alves <palves@redhat.com>
6366
6367 * gdb.multi/base.exp: Don't use nowarnings.
6368 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
6369 * gdb.multi/hangout.c: Include stdio.h.
6370 * gdb.multi/hello.c: Include stdlib.h.
6371 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
6372 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
6373 * gdb.multi/multi-arch.exp: Don't use nowarnings.
6374
6375 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
6376
6377 * gdb.dwarf2/dw2-ranges-base.c: New file.
6378 * gdb.dwarf2/dw2-ranges-base.exp: New file.
6379 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
6380 support additional line table, and debug ranges generation.
6381 (Dwarf::ranges): New function, generate .debug_ranges.
6382 (Dwarf::lines): Support generating simple line table programs.
6383 (Dwarf::assemble): Initialise new namespace variables.
6384
6385 2015-12-09 Kevin Buettner <kevinb@redhat.com>
6386
6387 * gdb.base/async.exp (proc test_background): Add case for
6388 asynchronous execution not supported.
6389
6390 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
6391
6392 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
6393 format and change test names to make them unique.
6394
6395 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
6396 Pedro Alves <pedro@redhat.com>
6397
6398 PR gdb/18702
6399 Add checking of floatformats setup on x86_64 hosts.
6400 * gdb.arch/i386-float.S (main): Load bigval and smallval.
6401 (smallval, bigval): New labels/constants.
6402 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
6403 float" after loading bigval and smallval.
6404
6405 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
6406
6407 * gdb.ada/fun_overload_menu.exp: New testcase.
6408 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
6409
6410 2015-12-04 Josh Stone <jistone@redhat.com>
6411
6412 * gdb.base/catch-fork-static.exp: New.
6413
6414 2015-12-03 Yao Qi <yao.qi@linaro.org>
6415
6416 * gdb.base/sizeof.c: Don't include stdio.h and
6417 ../lib/unbuffer_output.c.
6418 (main): New variable 'size' and 'value'. Remove printf and
6419 gdb_unbuffer_output. Assign return value to size and value.
6420 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
6421 at the beginning.
6422 (check_sizeof): Check the result by printing variable 'size'.
6423 (check_valueof): Check the result by printing variable 'value'.
6424
6425 2015-12-01 Yao Qi <yao.qi@linaro.org>
6426
6427 * gdb.base/disp-step-syscall.exp: Define syscall instruction
6428 for aarch64*-*-linux* target.
6429
6430 2015-11-30 Pedro Alves <palves@redhat.com>
6431
6432 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
6433
6434 2015-11-30 Pedro Alves <palves@redhat.com>
6435
6436 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
6437 Handle non-stop mode vCont replies.
6438
6439 2015-11-30 Pedro Alves <palves@redhat.com>
6440
6441 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
6442 prepare_for_testing. Start gdb with "set non-stop on" appended to
6443 GDBFLAGS. Lax expected stop output.
6444
6445 2015-11-27 Yao Qi <yao.qi@linaro.org>
6446
6447 * gdb.arch/arm-neon.exp: New.
6448 * gdb.arch/arm-neon.c: New.
6449
6450 2015-11-27 Yao Qi <yao.qi@linaro.org>
6451
6452 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
6453
6454 2015-11-27 Yao Qi <yao.qi@linaro.org>
6455
6456 * gdb.cp/annota2.exp: Allow multiple occurrences of the
6457 frames-invalid annotation.
6458
6459 2015-11-27 Yao Qi <yao.qi@linaro.org>
6460
6461 * gdb.cp/annota2.exp: Use ${frames_invalid}.
6462
6463 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
6464
6465 * gdb.threads/names.exp: New file.
6466 * gdb.threads/names.c: New file.
6467 * README: Mention gdb,no_thread_names.
6468
6469 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
6470
6471 PR 19297
6472 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
6473 support" error.
6474
6475 2015-11-24 Pedro Alves <palves@redhat.com>
6476
6477 PR 17539
6478 * gdb.base/display.exp: Expect displays to be sorted in ascending
6479 order. Use multi_line.
6480 * gdb.base/solib-display.exp: Likewise.
6481
6482 2015-11-24 Pedro Alves <palves@redhat.com>
6483
6484 PR 17539
6485 * gdb.base/display.exp: Expect displays to be sorted in ascending
6486 order. Use multi_line.
6487 * gdb.base/solib-display.exp: Likewise.
6488
6489 2015-11-24 Pedro Alves <palves@redhat.com>
6490
6491 PR 17539
6492 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
6493 threads in ascending order.
6494 * gdb.base/foll-fork.exp: Likewise.
6495 * gdb.base/foll-vfork.exp: Likewise.
6496 * gdb.base/multi-forks.exp: Likewise.
6497 * gdb.mi/mi-nonstop.exp: Likewise.
6498 * gdb.mi/mi-nsintrall.exp: Likewise.
6499 * gdb.multi/base.exp: Likewise.
6500 * gdb.multi/multi-arch.exp: Likewise.
6501 * gdb.python/py-inferior.exp: Likewise.
6502 * gdb.threads/break-while-running.exp: Likewise.
6503 * gdb.threads/execl.exp: Likewise.
6504 * gdb.threads/gcore-thread.exp: Likewise.
6505 * gdb.threads/info-threads-cur-sal.exp: Likewise.
6506 * gdb.threads/kill.exp: Likewise.
6507 * gdb.threads/linux-dp.exp: Likewise.
6508 * gdb.threads/multiple-step-overs.exp: Likewise.
6509 * gdb.threads/next-bp-other-thread.exp: Likewise.
6510 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
6511 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
6512 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
6513 * gdb.threads/thread-find.exp: Likewise.
6514 * gdb.threads/tls.exp: Likewise.
6515 * lib/mi-support.exp (mi_reverse_list): Delete.
6516 (mi_check_thread_states): No longer reverse list.
6517
6518 2015-11-24 Pedro Alves <palves@redhat.com>
6519
6520 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
6521 use lowercase.
6522
6523 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
6524
6525 * gdb.trace/actions.c: Include trace-common.h.
6526 (main): Add a location for a fast tracepoint.
6527 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
6528 the normal tracepoints.
6529 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
6530
6531 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
6532
6533 * save-trace.exp: Factor out code to these...
6534 (gdb_save_tracepoints): New.
6535 (gdb_load_tracepoints): New.
6536 (do_save_load_test): New.
6537
6538 2015-11-23 Kevin Buettner <kevinb@redhat.com>
6539
6540 * gdb.base/asmlabel.exp: New test.
6541 * gdb.base/asmlabel.c: New test case.
6542
6543 2015-11-23 Joel Brobecker <brobecker@adacore.com>
6544
6545 * gdb.base/wrong_frame_bt_full-main.c: New file.
6546 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
6547 * gdb.base/wrong_frame_bt_full.exp: New file.
6548
6549 2015-11-23 Joel Brobecker <brobecker@adacore.com>
6550
6551 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
6552
6553 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
6554
6555 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
6556 pstate register when comparing registers values in
6557 sparc64-*-linux-gnu targets to avoid spurious differences.
6558
6559 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
6560
6561 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
6562
6563 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
6564
6565 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
6566 as type argument to gdb_compile.
6567 * gdb.base/nested-subp2.exp: Likewise.
6568 * gdb.base/nested-subp3.exp: Likewise.
6569
6570 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
6571
6572 * lib/dwarf.exp (_note): Fix left shift of negative value.
6573 * gdb.trace/trace-condition.exp: Likewise.
6574
6575 2015-11-13 Yao Qi <yao.qi@linaro.org>
6576
6577 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
6578 comments about d10v.
6579 (test_scalar_returns): Likewise.
6580 * gdb.base/d10v.ld: Remove.
6581 * gdb.base/overlays.exp: Remove the target triplet checking for
6582 d10v-*-*.
6583 * gdb.base/structs.exp (test_struct_returns): Remove the
6584 comments about d10v.
6585 (test_struct_calls): Likewise.
6586
6587 2015-11-13 Yao Qi <yao.qi@linaro.org>
6588
6589 * gdb.base/gnu_vector.exp: Check the return value by "p res".
6590 * gdb.base/gnu_vector.c: Don't include stdio.h.
6591 (main): Don't print res and call add_some_intvecs.
6592
6593 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
6594
6595 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
6596 macro.
6597 (func5): Removed.
6598 (func4): Use FAST_TRACEPOINT_LABEL.
6599 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
6600 macro.
6601 (func): Removed.
6602 (thread_function): Use FAST_TRACEPOINT_LABEL.
6603 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
6604 (func): Remove.
6605 (marker): Use FAST_TRACEPOINT_LABEL.
6606 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
6607 (pendfunc1): Remove.
6608 (pendfunc): Use FAST_TRACEPOINT_LABEL.
6609 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
6610 (foo): Remove.
6611 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
6612 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
6613 macro.
6614 (func): Remove.
6615 (marker): Use FAST_TRACEPOINT_LABEL.
6616 * gdb.trace/trace-common.h: New header.
6617 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
6618 macro.
6619 (func): Remove.
6620 (marker): Use FAST_TRACEPOINT_LABEL.
6621 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
6622 (func): Remove.
6623 (thread_function): Use FAST_TRACEPOINT_LABEL.
6624
6625 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
6626
6627 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
6628 in front.
6629 * gdb.trace/change-loc.exp: Use global pcreg definition.
6630 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
6631 * gdb.trace/entry-values.exp: Use global spreg definition, add $
6632 in front.
6633 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
6634 * gdb.trace/pending.exp: Likewise.
6635 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
6636 * gdb.trace/trace-break.exp: Likewise.
6637 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
6638 in front.
6639 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
6640 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
6641 in front.
6642 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
6643
6644 2015-11-09 Joel Brobecker <brobecker@adacore.com>
6645
6646 * gdb.ada/fin_fun_out: New testcase.
6647
6648 2015-11-07 Kevin Buettner <kevinb@redhat.com>
6649
6650 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
6651 value associated with DW_AT_byte_size.
6652 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
6653 constants for DW_AT_byte_size, DW_AT_lower_bound, and
6654 DW_AT_upper_bound.
6655
6656 2015-11-07 Kevin Buettner <kevinb@redhat.com>
6657
6658 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
6659 (gdb_target_symbol_prefix_flags): Define in terms of _asm
6660 version.
6661 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
6662 gdb.dwarf2/dw2-canonicalize-type.exp,
6663 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
6664 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
6665 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
6666 provided by gdb_target_symbol_prefix_flags_asm.
6667 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
6668 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
6669 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
6670 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
6671 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
6672 macros where needed). Use this macro for symbols which require
6673 the prefix provided by SYMBOL_PREFIX.
6674
6675 2015-11-05 Kevin Buettner <kevinb@redhat.com>
6676
6677 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
6678 New procs.
6679 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
6680 representing expressions, of more than one list element.
6681 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
6682 to prepend linker symbol prefix to f.
6683 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
6684 table_1 and table_2.
6685 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
6686 Likewise, for f and g.
6687 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
6688 for ptr.
6689 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
6690 for main.
6691 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
6692 table_1_ptr and table_2_ptr.
6693
6694 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6695 Joel Brobecker <brobecker@adacore.com>
6696
6697 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
6698
6699 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
6700
6701 * gdb.reverse/s390-mvcle.c: New test.
6702 * gdb.reverse/s390-mvcle.exp: New file.
6703 * lib/gdb.exp: Enable reverse tests on s390*-linux.
6704
6705 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
6706
6707 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
6708
6709 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
6710
6711 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
6712 reaching marker2.
6713 * gdb.reverse/getresuid-reverse.exp: Likewise.
6714 * gdb.reverse/pipe-reverse.exp: Likewise.
6715 * gdb.reverse/readv-reverse.exp: Likewise.
6716 * gdb.reverse/recvmsg-reverse.exp: Likewise.
6717 * gdb.reverse/time-reverse.exp: Likewise.
6718 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
6719
6720 2015-10-30 Yao Qi <yao.qi@linaro.org>
6721
6722 * gdb.threads/wp-replication.c (watch_count_done): Remove.
6723 (empty_cycle): Remove.
6724 (main): Don't call empty_cycle. Don't use watch_count_done.
6725 * gdb.threads/wp-replication.exp: Don't set breakpoint on
6726 empty_cycle. Rewrite the code counting HW watchpoints.
6727
6728 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
6729
6730 * gdb.reverse/fstatat-reverse.c: New test.
6731 * gdb.reverse/fstatat-reverse.exp: New file.
6732 * gdb.reverse/getresuid-reverse.c: New test.
6733 * gdb.reverse/getresuid-reverse.exp: New file.
6734 * gdb.reverse/pipe-reverse.c: New test.
6735 * gdb.reverse/pipe-reverse.exp: New file.
6736 * gdb.reverse/readv-reverse.c: New test.
6737 * gdb.reverse/readv-reverse.exp: New file.
6738 * gdb.reverse/recvmsg-reverse.c: New test.
6739 * gdb.reverse/recvmsg-reverse.exp: New file.
6740 * gdb.reverse/time-reverse.c: New test.
6741 * gdb.reverse/time-reverse.exp: New file.
6742 * gdb.reverse/waitpid-reverse.c: New test.
6743 * gdb.reverse/waitpid-reverse.exp: New file.
6744
6745 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6746
6747 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
6748
6749 2015-10-26 Doug Evans <dje@google.com>
6750
6751 PR symtab/17391
6752 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
6753 * gdb.dwarf2/bad-regnum.c: New file.
6754 * gdb.dwarf2/bad-regnum.exp: New file.
6755
6756 2015-10-26 Doug Evans <dje@google.com>
6757
6758 PR python/18938
6759 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
6760 file.
6761
6762 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6763
6764 * gdb.compile/compile.exp (compile code globalvar): Update expectation
6765 for a change by "Mention language in compile error message".
6766
6767 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
6768
6769 PR python/18073
6770 * gdb.python/py-type.c (C::a_method): New.
6771 (C::a_const_method): New.
6772 (C::a_static_method): New.
6773 (a_function): New.
6774 * gdb.python/py-type.exp (test_fields): Test getting fields
6775 from function and method.
6776
6777 2015-10-21 Keven Boell <keven.boell@intel.com>
6778
6779 * gdb.fortran/vla-alloc-assoc.exp: New file.
6780 * gdb.fortran/vla-datatypes.exp: New file.
6781 * gdb.fortran/vla-datatypes.f90: New file.
6782 * gdb.fortran/vla-history.exp: New file.
6783 * gdb.fortran/vla-ptype-sub.exp: New file.
6784 * gdb.fortran/vla-ptype.exp: New file.
6785 * gdb.fortran/vla-sizeof.exp: New file.
6786 * gdb.fortran/vla-sub.f90: New file.
6787 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
6788 * gdb.fortran/vla-value-sub-finish.exp: New file.
6789 * gdb.fortran/vla-value-sub.exp: New file.
6790 * gdb.fortran/vla-value.exp: New file.
6791 * gdb.fortran/vla-ptr-info.exp: New file.
6792 * gdb.mi/mi-vla-fortran.exp: New file.
6793 * gdb.mi/vla.f90: New file.
6794
6795 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
6796
6797 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
6798 of hardwired timeout value.
6799
6800 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6801 Pedro Alves <palves@redhat.com>
6802
6803 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
6804 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
6805
6806 2015-10-19 Josh Stone <jistone@redhat.com>
6807
6808 * gdb.base/catch-syscall.c: Include <sched.h>.
6809 (unknown_syscall): New variable.
6810 (main): Trigger a vfork and an unknown syscall.
6811 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
6812 (unknown_syscall_number): Likewise.
6813 (check_call_to_syscall): Accept an optional syscall pattern.
6814 (check_return_from_syscall): Likewise.
6815 (check_continue): Likewise.
6816 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
6817 (test_catch_syscall_skipping_return): New test toggling off 'catch
6818 syscall' to step over the syscall return, then toggling back on.
6819 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
6820 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
6821 (do_syscall_tests): Call test_catch_syscall_without_args and
6822 test_catch_syscall_mid_vfork.
6823 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
6824 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
6825
6826 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
6827
6828 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
6829 print g_vE): Add new pass patterns.
6830 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
6831 print various symbol names for vptr fields.
6832
6833 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
6834
6835 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
6836 results.
6837
6838 2015-10-12 Yao Qi <yao.qi@linaro.org>
6839
6840 * gdb.arch/disp-step-insn-reloc.exp: New test case.
6841
6842 2015-10-12 Yao Qi <yao.qi@linaro.org>
6843
6844 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
6845 is aarch64*-*-linux*.
6846
6847 2015-10-12 Yao Qi <yao.qi@linaro.org>
6848
6849 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
6850 (can_relocate_bcond_true): ... it.
6851 (can_relocate_bcond_false): New function.
6852 (foo): Likewise.
6853 (can_relocate_bl): Likewise.
6854 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
6855 can_relocate_bl.
6856
6857 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
6858
6859 * gdb.base/nested-addr.c: New file.
6860 * gdb.base/nested-addr.exp: New testcase.
6861
6862 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
6863
6864 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
6865 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
6866 its output. Ignore the output of "record goto begin" and instead
6867 check that GDB is replaying.
6868
6869 2015-10-09 Pedro Alves <palves@redhat.com>
6870
6871 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
6872 (top level): Use it in the run with no args test.
6873
6874 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
6875
6876 * gdb.dlang/properties.exp: New file.
6877
6878 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
6879
6880 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
6881 whether or not address 0x1000 is mapped on the target.
6882
6883 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
6884
6885 * gdb.python/py-type.exp: Do not run tests if binaries fail to
6886 build.
6887
6888 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
6889
6890 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
6891 instruction-history test.
6892
6893 2015-09-28 Doug Evans <dje@google.com>
6894
6895 * gdb.base/gcore.c (array_func): Add reference to static_array.
6896
6897 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
6898
6899 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
6900 source line.
6901
6902 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
6903
6904 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
6905 short or char as base type.
6906
6907 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
6908
6909 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
6910 to allow any size enum.
6911
6912 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
6913
6914 * gdb.ada/array_ptr_renaming.exp: New testcase.
6915 * gdb.ada/array_ptr_renaming/foo.adb: New file.
6916 * gdb.ada/array_ptr_renaming/pack.ads: New file.
6917
6918 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
6919
6920 * gdb.trace/ftrace-lock.c: New file.
6921 * gdb.trace/ftrace-lock.exp: New file.
6922
6923 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
6924
6925 * gdb.arch/insn-reloc.c: New file.
6926 * gdb.arch/ftrace-insn-reloc.exp: New file.
6927
6928 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
6929
6930 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
6931 instruction.
6932 * gdb.trace/pendshr1.c (pendfunc): Likewise.
6933 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
6934 * gdb.trace/range-stepping.c: Likewise.
6935 * gdb.trace/trace-break.c: Likewise.
6936 * gdb.trace/trace-mt.c (thread_function): Likewise.
6937 * gdb.trace/ftrace.c (marker): Likewise.
6938 * gdb.trace/trace-condition.c (marker): Likewise.
6939 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
6940 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
6941 is_aarch64_target.
6942
6943 2015-09-18 Doug Evans <xdje42@gmail.com>
6944
6945 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
6946 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
6947
6948 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
6949
6950 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
6951 the breakpoint.
6952
6953 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
6954
6955 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
6956 the pending breakpoint. Remove timeout override for "Run till
6957 MI pending breakpoint on pendfunc3 on thread 2" test.
6958
6959 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
6960
6961 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
6962 filename pattern.
6963
6964 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
6965
6966 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
6967 in breakpoint filename pattern.
6968
6969 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
6970
6971 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
6972
6973 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
6974
6975 * gdb.linespec/explicit.exp: Check for readline support for
6976 tab-completion tests. Fix obvious typo.
6977
6978 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
6979
6980 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
6981 and replay.
6982
6983 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
6984
6985 * gdb.btrace/non-stop.c: New.
6986 * gdb.btrace/non-stop.exp: New.
6987
6988 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
6989 Yao Qi <yao.qi@linaro.org>
6990
6991 * gdb.trace/trace-condition.c: New file.
6992 * gdb.trace/trace-condition.exp: New file.
6993
6994 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
6995
6996 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
6997 for testing bytecode compilation.
6998
6999 2015-09-16 Pedro Alves <palves@redhat.com>
7000 Sandra Loosemore <sandra@codesourcery.com>
7001
7002 * gdb.threads/non-stop-fair-events.c (timeout): New global.
7003 (SECONDS): Redefine.
7004 (main): Call pthread_kill and alarm early.
7005 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
7006 support.
7007 (test): If the target can't hardware step and doesn't support
7008 displaced stepping, increase the timeout.
7009
7010 2015-09-16 Pedro Alves <palves@redhat.com>
7011
7012 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
7013 (enable_debug): New procedures.
7014 (test): Use them. Bail out if waiting for threads fails.
7015 (top level): Bail out if a test fails.
7016
7017 2015-09-16 Yao Qi <yao.qi@linaro.org>
7018
7019 * gdb.asm/asm-source.exp: Set asm-arch for
7020 aarch64*-*-* target.
7021 * gdb.asm/aarch64.inc: New file.
7022
7023 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
7024
7025 * gdb.ada/array_of_variable_length.exp: New testcase.
7026 * gdb.ada/array_of_variable_length/foo.adb: New file.
7027 * gdb.ada/array_of_variable_length/pck.adb: New file.
7028 * gdb.ada/array_of_variable_length/pck.ads: New file.
7029
7030 2015-09-15 Doug Evans <dje@google.com>
7031
7032 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
7033 of function static local variable.
7034
7035 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7036
7037 * gdb.threads/tls-so_extern.exp: New test file.
7038 * gdb.threads/tls-so_extern.c: New test file.
7039 * gdb.threads/tls-so_extern_main.c: New test file.
7040
7041 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7042
7043 * gdb.opt/solib-intra-step-lib.c: New file.
7044 * gdb.opt/solib-intra-step-main.c: New file.
7045 * gdb.opt/solib-intra-step.exp: New file.
7046
7047 2015-09-15 Pedro Alves <palves@redhat.com>
7048
7049 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
7050 gdb_continue_to_breakpoint instead of gdb_test_multiple.
7051
7052 2015-09-14 Pedro Alves <palves@redhat.com>
7053
7054 * gdb.base/hook-stop-continue.c: Delete.
7055 * gdb.base/hook-stop-continue.exp: Delete.
7056 * gdb.base/hook-stop-frame.c: Delete.
7057 * gdb.base/hook-stop-frame.exp: Delete.
7058 * gdb.base/hook-stop.c: New file.
7059 * gdb.base/hook-stop.exp: New file.
7060
7061 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
7062
7063 * gdb.ada/access_to_packed_array.exp: New testcase.
7064 * gdb.ada/access_to_packed_array/foo.adb: New file.
7065 * gdb.ada/access_to_packed_array/pack.adb: New file.
7066 * gdb.ada/access_to_packed_array/pack.ads: New file.
7067
7068 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
7069
7070 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
7071 buffer size test.
7072
7073 2015-09-11 Don Breazeal <donb@codesourcery.com>
7074
7075 * gdb.base/foll-exec.c: Add copyright header. Fix
7076 formatting issues.
7077 * gdb.base/foll-exec.exp (zap_session): Delete proc.
7078 (do_exec_tests): Use clean_restart in place of zap_session,
7079 and for test initialization. Fix formatting issues. Use
7080 fail in place of perror.
7081 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
7082 an expect statement to match an expression with output from
7083 the program under debug.
7084 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
7085 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
7086 * gdb.threads/non-ldr-exc-2.exp: Likewise.
7087 * gdb.threads/non-ldr-exc-3.exp: Likewise.
7088 * gdb.threads/non-ldr-exc-4.exp: Likewise.
7089
7090 2015-09-09 Doug Evans <dje@google.com>
7091
7092 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
7093
7094 2015-09-09 Doug Evans <dje@google.com>
7095
7096 * gdb.base/pie-execl.exp: Fix result test of build_executable.
7097
7098 2015-09-09 Doug Evans <dje@google.com>
7099
7100 * gdb.base/savedregs.exp: Fix typo.
7101
7102 2015-09-09 Pedro Alves <palves@redhat.com>
7103
7104 * gdb.mi/mi-cli.exp: Add CLI finish tests.
7105
7106 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
7107
7108 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
7109 command actually switches threads. Give up on remaining
7110 tests if target fails to stop at breakpoint.
7111
7112 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
7113
7114 * gdb.ada/funcall_char.exp: New testcase.
7115 * gdb.ada/funcall_char/foo.adb: New file.
7116
7117 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
7118
7119 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
7120 expected outputs. Add two testcases for completing ambiguous
7121 functions.
7122 * gdb.ada/complete/aux_pck.adb: New file.
7123 * gdb.ada/complete/aux_pck.ads: New file.
7124 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
7125 Ambiguous_Func functions.
7126 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
7127 * gdb.ada/complete/pck.adb: Likewise.
7128
7129 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
7130
7131 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
7132 failures to run the test program under GDB.
7133
7134 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
7135
7136 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
7137 to C.
7138
7139 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
7140
7141 * gdb.base/run-after-attach.exp: New test file.
7142 * gdb.base/run-after-attach.c: New test file.
7143
7144 2015-08-26 Don Breazeal <donb@codesourcery.com>
7145
7146 * gdb.base/foll-exec-2.c: New test program.
7147 * gdb.base/foll-exec-2.exp: New test.
7148
7149 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
7150
7151 * gdb.base/nested-subp1.exp: New file.
7152 * gdb.base/nested-subp1.c: New file.
7153 * gdb.base/nested-subp2.exp: New file.
7154 * gdb.base/nested-subp2.c: New file.
7155 * gdb.base/nested-subp3.exp: New file.
7156 * gdb.base/nested-subp3.c: New file.
7157
7158 2015-08-24 Pedro Alves <palves@redhat.com>
7159
7160 * gdb.server/connect-without-multi-process.c: New file.
7161 * gdb.server/connect-without-multi-process.exp: New file.
7162
7163 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
7164
7165 * gdb.opt/inline-markers.c: Make z int.
7166
7167 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
7168
7169 * gdb.opt/inline-markers.c: Make z volatile.
7170
7171 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
7172
7173 * gdb.opt/inline-bt.c: New volatile global z.
7174 * gdb.opt/inline-cmds.c: Likewise.
7175 * gdb.opt/inline-locals.c: Likewise.
7176 * gdb.opt/inline-markers.c: New extern global z.
7177 (marker): Use z.
7178 (inline_fn): Likewise.
7179
7180 2015-08-24 Pedro Alves <palves@redhat.com>
7181
7182 * config/m32r-stub.exp: Remove file.
7183 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
7184 * gdb.base/call-rt-st.exp: Likewise.
7185 * gdb.base/call-strs.exp: Likewise.
7186 * gdb.base/default.exp: Remove references to h8300-*-hms and
7187 *-*-udi*.
7188 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
7189
7190 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7191
7192 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
7193 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
7194 and "return" use KFAIL when GDB can not read/write the vector
7195 return value.
7196
7197 2015-08-21 Gary Benson <gbenson@redhat.com>
7198
7199 * gdb.trace/pending.exp: Cope with remote transfer warnings.
7200
7201 2015-08-20 Pedro Alves <palves@redhat.com>
7202
7203 * gdb.server/solib-list.exp: No longer expect an interior stop in
7204 non-stop mode.
7205
7206 2015-08-20 Pedro Alves <palves@redhat.com>
7207
7208 * gdb.server/connect-stopped-target.c: New file.
7209 * gdb.server/connect-stopped-target.exp: New file.
7210
7211 2015-08-20 Pedro Alves <palves@redhat.com>
7212
7213 * gdb.dwarf2/comp-unit-lang.exp: New file.
7214 * gdb.dwarf2/comp-unit-lang.c: New file.
7215
7216 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
7217
7218 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
7219 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
7220
7221 2015-08-19 Kevin Buettner <kevinb@redhat.com>
7222
7223 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
7224 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
7225
7226 2015-08-18 Doug Evans <dje@google.com>
7227 Adrian Sendroiu <adrian.sendroiu@freescale.com>
7228
7229 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
7230 skip_python_tests. New arg prompt_regexp.
7231 (skip_python_tests): New function.
7232 * lib/mi-support.exp (mi_skip_python_tests): New function.
7233 * gdb.python/py-mi-objfile-gdb.py: New file.
7234 * gdb.python/py-mi-objfile.c: New file.
7235 * gdb.python/py-mi-objfile.exp: New file.
7236
7237 2015-08-17 Keith Seitz <keiths@redhat.com>
7238
7239 * gdb.linespec/explicit.exp: Move strace test from here ...
7240 * gdb.trace/strace.exp: ... to here.
7241
7242 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
7243
7244 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
7245 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
7246
7247 2015-08-14 Doug Evans <xdje42@gmail.com>
7248
7249 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
7250 inferior before selecting a new file.
7251
7252 2015-08-14 Doug Evans <xdje42@gmail.com>
7253
7254 * gdb.mi/mi-disassemble.exp: Update.
7255 * gdb.base/disasm-optim.S: New file.
7256 * gdb.base/disasm-optim.c: New file.
7257 * gdb.base/disasm-optim.h: New file.
7258 * gdb.base/disasm-optim.exp: New file.
7259
7260 2015-08-14 Keith Seitz <keiths@redhat.com>
7261
7262 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
7263 "evaluated-by".
7264
7265 2015-08-13 Joel Brobecker <brobecker@adacore.com>
7266
7267 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
7268
7269 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
7270
7271 * gdb.ada/fun_renaming.exp: New testcase.
7272 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
7273 * gdb.ada/fun_renaming/pack.adb: New file.
7274 * gdb.ada/fun_renaming/pack.ads: New file.
7275
7276 2015-08-12 Keith Seitz <keiths@redhat.com>
7277
7278 * gdb.base/dso2dso.exp: Pass basename of source file in call to
7279 gdb_get_line_number.
7280
7281 2015-08-12 Joel Brobecker <brobecker@adacore.com>
7282
7283 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
7284 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
7285 gdb.base/dso2dso.exp: New files.
7286
7287 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
7288 Pedro Alves <palves@redhat.com>
7289 Keith Seitz <keiths@redhat.com>
7290
7291 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
7292 GDBFLAGS.
7293
7294 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
7295
7296 * gdb.base/gdbhistsize-history.exp
7297 (test_histsize_history_setting): Use save_vars.
7298 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
7299 Use save_vars.
7300 (test_no_truncation_of_unlimited_history_file): Use save_vars.
7301 * gdb.base/readline.exp: Use save_vars.
7302
7303 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
7304
7305 * lib/gdb.exp (save_vars): New proc.
7306
7307 2015-08-11 Keith Seitz <keiths@redhat.com>
7308
7309 * gdb.base/help.exp: Update help_breakpoint_text.
7310
7311 2015-08-11 Keith Seitz <keiths@redhat.com>
7312
7313 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
7314 (at toplevel): Call test_explicit_breakpoints.
7315 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
7316 breakpoints.
7317 * lib/mi-support.exp (mi_make_breakpoint): Add support for
7318 breakpoint conditions, "-cond".
7319
7320 2015-08-11 Keith Seitz <keiths@redhat.com>
7321
7322 * gdb.linespec/3explicit.c: New file.
7323 * gdb.linespec/cpexplicit.cc: New file.
7324 * gdb.linespec/cpexplicit.exp: New file.
7325 * gdb.linespec/explicit.c: New file.
7326 * gdb.linespec/explicit.exp: New file.
7327 * gdb.linespec/explicit2.c: New file.
7328 * gdb.linespec/ls-errs.exp: Add explicit location tests.
7329 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
7330 before using in the matching pattern.
7331 Clarify that `prefix' is a regular expression.
7332
7333 2015-08-11 Keith Seitz <keiths@redhat.com>
7334
7335 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
7336 test.
7337 Add tests for missing ",FMT" and ",".
7338
7339 2015-08-10 Doug Evans <dje@google.com>
7340 Keith Seitz <keiths@redhat.com>
7341
7342 PR gdb/17960
7343 * gdb.base/completion.exp: Add location completer tests.
7344
7345 2015-08-07 Pedro Alves <palves@redhat.com>
7346
7347 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
7348 tests here.
7349 (top level): Run do_test with and without displaced stepping.
7350
7351 2015-08-07 Pedro Alves <palves@redhat.com>
7352
7353 * gdb.base/valgrind-disp-step.c: New file.
7354 * gdb.base/valgrind-disp-step.exp: New file.
7355
7356 2015-08-07 Pedro Alves <palves@redhat.com>
7357
7358 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
7359 Delete function.
7360 (main): Add alarm. Run an infinite loop instead of calling
7361 wait_threads.
7362 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
7363 comment.
7364 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
7365 Delete function.
7366 (main): Add alarm. Run an infinite loop instead of calling
7367 wait_threads.
7368 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
7369 comment.
7370
7371 2015-08-07 Pedro Alves <palves@redhat.com>
7372
7373 * gdb.base/checkpoint-ns.exp: New file.
7374 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
7375 standard_testfile.
7376
7377 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
7378
7379 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
7380 * gdb.btrace/instruction_history.exp: Update.
7381 * gdb.btrace/tsx.exp: New.
7382 * gdb.btrace/tsx.c: New.
7383
7384 2015-08-06 Pedro Alves <palves@redhat.com>
7385
7386 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
7387 increase timeout.
7388 * gdb.reverse/until-precsave.exp: Bump timeouts.
7389
7390 2015-08-06 Pedro Alves <palves@redhat.com>
7391
7392 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
7393
7394 2015-08-06 Pedro Alves <palves@redhat.com>
7395
7396 PR gdb/18749
7397 * gdb.threads/process-dies-while-handling-bp.c: New file.
7398 * gdb.threads/process-dies-while-handling-bp.exp: New file.
7399
7400 2015-08-06 Pedro Alves <palves@redhat.com>
7401
7402 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
7403 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
7404
7405 2015-08-05 Pedro Alves <palves@redhat.com>
7406
7407 * gdb.threads/next-while-other-thread-longjmps.c: New file.
7408 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
7409
7410 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
7411
7412 * gdb.base/bp-permanent.exp: Report test as unsupported if
7413 the target cannot stop at the permanent breakpoint.
7414
7415 2015-08-03 Doug Evans <dje@google.com>
7416
7417 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
7418 10000.
7419
7420 2015-08-03 Doug Evans <dje@google.com>
7421
7422 * Makefile.in (workers/%.worker, build-perf): New rule.
7423 (GDB_PERFTEST_MODE): New variable.
7424 (check-perf): Use it.
7425 (clean): Clean up gdb.perf parallel build subdirs.
7426 * lib/build-piece.exp: New file.
7427 * lib/gdb.exp (make_gdb_parallel_path): New function
7428 (standard_output_file, standard_temp_file): Call it.
7429 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
7430 of $GDB_PARALLEL.
7431 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
7432
7433 2015-08-03 Doug Evans <dje@google.com>
7434
7435 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
7436 (LOG_FILE_NAME): New global.
7437 (TextReporter.__init__): Initialize self.txt_sum.
7438 (TextReporter.report): Add support for multiple data-points.
7439 Move report to perftest.sum, put raw data in perftest.log.
7440 (TextReporter.start): Open sum and log files.
7441 (TextReporter.end): Close sum and log files.
7442 * gdb.perf/lib/perftest/testresult.py
7443 (SingleStatisticTestResult.record): Handle multiple data-points.
7444
7445 2015-07-31 Pedro Alves <palves@redhat.com>
7446
7447 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
7448 Use spawn_id_get_pid. Wait for spawn id after eof. Use
7449 kill_wait_spawned_process instead of explicit "kill -9".
7450 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
7451 returning a spawn id instead of a pid. Use spawn_id_get_pid and
7452 kill_wait_spawned_process.
7453 * gdb.base/attach-twice.exp: Likewise.
7454 * gdb.base/attach.exp: Likewise.
7455 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
7456 gdb_test_multiple.
7457 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
7458 returning a spawn id instead of a pid. Use spawn_id_get_pid and
7459 kill_wait_spawned_process.
7460 * gdb.base/valgrind-infcall.exp: Likewise.
7461 * gdb.multi/multi-attach.exp: Likewise.
7462 * gdb.python/py-prompt.exp: Likewise.
7463 * gdb.python/py-sync-interp.exp: Likewise.
7464 * gdb.server/ext-attach.exp: Likewise.
7465 * gdb.threads/attach-into-signal.exp (corefunc): Use
7466 spawn_wait_for_attach, spawn_id_get_pid and
7467 kill_wait_spawned_process.
7468 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
7469 spawn_wait_for_attach returning a spawn id instead of a pid. Use
7470 spawn_id_get_pid and kill_wait_spawned_process.
7471 * gdb.threads/attach-stopped.exp (corefunc): Use
7472 spawn_wait_for_attach, spawn_id_get_pid and
7473 kill_wait_spawned_process.
7474 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
7475 Use spawn_id_get_pid. Wait for spawn id after eof. Use
7476 kill_wait_spawned_process instead of explicit "kill -9".
7477 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
7478 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
7479 (spawn_wait_for_attach): Use spawn instead of exec to spawn
7480 processes. Don't map cygwin/windows pids here. Now returns a
7481 spawn id list.
7482
7483 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
7484
7485 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
7486 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
7487 correct patch.
7488
7489 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
7490
7491 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
7492
7493 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
7494
7495 Reapply:
7496 2014-05-21 Mark Wielaard <mjw@redhat.com>
7497
7498 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7499
7500 2015-07-30 Pedro Alves <palves@redhat.com>
7501
7502 * linux-low.c (handle_extended_wait): Set the child's last
7503 reported status to TARGET_WAITKIND_STOPPED.
7504
7505 2015-07-30 Pedro Alves <palves@redhat.com>
7506
7507 PR threads/18600
7508 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
7509 only shows inferior 1.
7510
7511 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
7512 Pedro Alves <palves@redhat.com>
7513
7514 PR threads/18600
7515 * gdb.threads/fork-plus-threads.c: New file.
7516 * gdb.threads/fork-plus-threads.exp: New file.
7517
7518 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
7519
7520 * gdb.base/batch-preserve-term-settings.exp
7521 (test_terminal_settings_preserved_after_cli_exit): Use
7522 send_quit_command.
7523
7524 2015-07-29 Pedro Alves <palves@redhat.com>
7525 Don Breazeal <donb@codesourcery.com>
7526
7527 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
7528 output from both inferior_spawn_id and gdb_spawn_id.
7529
7530 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
7531
7532 * gdb.threads/attach-into-signal.exp (corefunc): Use
7533 with_test_prefix on nested loops, uniquefying the test messages.
7534
7535 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
7536
7537 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
7538 commit.
7539
7540 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
7541
7542 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
7543 New proc.
7544 (test_terminal_settings_preserved_after_sigterm): New test.
7545
7546 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
7547
7548 * gdb.base/batch-preserve-term-settings.exp
7549 (test_terminal_settings_preserved_after_cli_exit): New test.
7550
7551 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
7552
7553 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
7554 manipulation of saved_gdbflags.
7555 (test_terminal_settings_preserved): Remove global declaration of
7556 the unused variable pagination_prompt. Remove manipulation of
7557 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
7558 GDBFLAGS.
7559
7560 2015-07-29 Pedro Alves <palves@redhat.com>
7561
7562 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
7563
7564 2015-07-29 Pedro Alves <palves@redhat.com>
7565
7566 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
7567 at the top.
7568
7569 2015-07-29 Pedro Alves <palves@redhat.com>
7570
7571 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
7572 (main): Call gdb_unbuffer_output.
7573 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
7574 (main): Call gdb_unbuffer_output.
7575 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
7576 (main): Call gdb_unbuffer_output.
7577 * gdb.base/call-strs.exp: Adjust to step over the
7578 gdb_unbuffer_output call.
7579 * gdb.base/catch-gdb-caused-signals.c: Include
7580 "../lib/unbuffer_output.c".
7581 (main): Call gdb_unbuffer_output.
7582 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
7583 (main): Call gdb_unbuffer_output.
7584 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
7585 (main): Call gdb_unbuffer_output.
7586 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
7587 (main): Call gdb_unbuffer_output.
7588 * gdb.base/shlib-call.exp: Adjust to step over the
7589 gdb_unbuffer_output call.
7590 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
7591 (main): Call gdb_unbuffer_output.
7592 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
7593 (main): Call gdb_unbuffer_output.
7594 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
7595 (main): Rename to ...
7596 (test): ... this.
7597 (main): Reimplement.
7598 * gdb.base/varargs.exp: Run to test instead of to main.
7599 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
7600 (main): Call gdb_unbuffer_output.
7601
7602 2015-07-29 Pedro Alves <palves@redhat.com>
7603
7604 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
7605 factore out from mi_continue_dprintf. For call-style dprintfs,
7606 expect dprintf output out of $inferior_spawn_id.
7607 (mi_continue_dprintf): Use mi_expect_dprintf.
7608 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
7609 (main): Call gdb_unbuffer_output.
7610
7611 2015-07-29 Pedro Alves <palves@redhat.com>
7612
7613 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
7614 (default_mi_gdb_start): Set inferior_spawn_id instead of
7615 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
7616 gdb_spawn_id.
7617 (mi_gdb_test): Always expect inferior output from both
7618 $inferior_spawn_id and $gdb_spawn_id.
7619
7620 2015-07-29 Pedro Alves <palves@redhat.com>
7621
7622 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
7623 send_inferior and $inferior_spawn_id.
7624
7625 2015-07-29 Pedro Alves <palves@redhat.com>
7626
7627 * gdb.gdb/complaints.exp (test_initial_complaints)
7628 (test_serial_complaints, test_short_complaints): Use
7629 gdb_test_stdio.
7630 (test_empty_complaint): Handle $inferior_spawn_id !=
7631 $gdb_spawn_id.
7632
7633 2015-07-29 Pedro Alves <palves@redhat.com>
7634
7635 * gdb.base/varargs.exp: Use gdb_test_stdio.
7636
7637 2015-07-29 Pedro Alves <palves@redhat.com>
7638
7639 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
7640
7641 2015-07-29 Pedro Alves <palves@redhat.com>
7642
7643 * gdb.base/ending-run.exp: Use gdb_test_stdio.
7644
7645 2015-07-29 Pedro Alves <palves@redhat.com>
7646
7647 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
7648 parameter into two new parameters, "inf_result" and "gdb_result".
7649 Expect inferior output and gdb output from $inferior_spawn_id and
7650 $gdb_spawn_id, respectively. Adjust all callers.
7651
7652 2015-07-29 Pedro Alves <palves@redhat.com>
7653
7654 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
7655 of gdb_test_sequence.
7656
7657 2015-07-29 Pedro Alves <palves@redhat.com>
7658
7659 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
7660 (saw_spurious_output): Expect inferior output from
7661 $inferior_spawn_id. Use gdb_test_stdio.
7662
7663 2015-07-29 Pedro Alves <palves@redhat.com>
7664
7665 * gdb.base/dprintf.exp: Use standard_testfile. Change
7666 prepare_for_testing call.
7667 (srcfile): Don't set.
7668 (restart): New procedure.
7669 (test_dprintf): New procecure, use to continue over dprintfs.
7670 (test_call, test_agent): New procedures, tests moved here.
7671 Restart gdb and recreate dprintfs. Adjust expected output.
7672
7673 2015-07-29 Pedro Alves <palves@redhat.com>
7674
7675 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
7676
7677 2015-07-29 Pedro Alves <palves@redhat.com>
7678
7679 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
7680
7681 2015-07-29 Pedro Alves <palves@redhat.com>
7682
7683 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
7684 gdb_test_stdio.
7685
7686 2015-07-29 Pedro Alves <palves@redhat.com>
7687
7688 * lib/gdb.exp (gdb_test_stdio): New procedure.
7689
7690 2015-07-29 Pedro Alves <palves@redhat.com>
7691
7692 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
7693
7694 2015-07-29 Pedro Alves <palves@redhat.com>
7695
7696 * gdb.base/call-signal-resume.exp: Remove check for
7697 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
7698 * gdb.base/unwindonsignal.exp: Likewise.
7699 * gdb.base/call-signals.c (gen_signal): Remove printf call.
7700 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
7701
7702 2015-07-29 Pedro Alves <palves@redhat.com>
7703
7704 * gdb.base/siginfo-addr.c (pass): New function.
7705 (handler): Call it iff si_addr is correct.
7706 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
7707 Set a breakpoint at "pass" and continue to it.
7708
7709 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
7710
7711 * gdb.python/py-objfile.exp: Make some tests have unique names.
7712 * gdb.python/py-pp-registration.exp: Likewise.
7713
7714 2015-07-28 Pedro Alves <palves@redhat.com>
7715
7716 * gdb.server/server-exec-info.exp: Issue a "disconnect".
7717
7718 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
7719
7720 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
7721
7722 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
7723
7724 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
7725
7726 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
7727
7728 * gdb.base/gdb-sigterm-2.exp: New test.
7729
7730 2015-07-25 Doug Evans <xdje42@gmail.com>
7731
7732 Revert:
7733 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
7734 (workers/%.worker, build-perf): New rule.
7735 (GDB_PERFTEST_MODE): New variable.
7736 (check-perf): Use it.
7737 (clean): Clean up gdb.perf parallel build subdirs.
7738 * lib/build-piece.exp: New file.
7739 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
7740 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
7741 name.
7742 (standard_temp_file): Ditto.
7743 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
7744 of $GDB_PARALLEL.
7745
7746 2015-07-24 Doug Evans <dje@google.com>
7747
7748 * gdb.perf/lib/perftest/utils.py: New file.
7749 * gdb.perf/gm-hello.cc: New file.
7750 * gdb.perf/gm-pervasive-typedef.cc: New file.
7751 * gdb.perf/gm-pervasive-typedef.h: New file.
7752 * gdb.perf/gm-std.cc: New file.
7753 * gdb.perf/gm-std.h: New file.
7754 * gdb.perf/gm-use-cerr.cc: New file.
7755 * gdb.perf/gm-utils.h: New file.
7756 * gdb.perf/gmonster-null-lookup.py: New file.
7757 * gdb.perf/gmonster-pervasive-typedef.py: New file.
7758 * gdb.perf/gmonster-print-cerr.py: New file.
7759 * gdb.perf/gmonster-ptype-string.py: New file.
7760 * gdb.perf/gmonster-runto-main.py: New file.
7761 * gdb.perf/gmonster-select-file.py: New file.
7762 * gdb.perf/gmonster1-null-lookup.exp: New file.
7763 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
7764 * gdb.perf/gmonster1-print-cerr.exp: New file.
7765 * gdb.perf/gmonster1-ptype-string.exp: New file.
7766 * gdb.perf/gmonster1-runto-main.exp: New file.
7767 * gdb.perf/gmonster1-select-file.exp: New file.
7768 * gdb.perf/gmonster1.cc: New file.
7769 * gdb.perf/gmonster1.exp: New file.
7770 * gdb.perf/gmonster2-null-lookup.exp: New file.
7771 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
7772 * gdb.perf/gmonster2-print-cerr.exp: New file.
7773 * gdb.perf/gmonster2-ptype-string.exp: New file.
7774 * gdb.perf/gmonster2-runto-main.exp: New file.
7775 * gdb.perf/gmonster2-select-file.exp: New file.
7776 * gdb.perf/gmonster2.cc: New file.
7777 * gdb.perf/gmonster2.exp: New file.
7778
7779 2015-07-24 Doug Evans <dje@google.com>
7780
7781 * gdb.perf/README: New file.
7782 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
7783 * lib/gen-perf-test.exp: New file.
7784
7785 2015-07-24 Doug Evans <dje@google.com>
7786
7787 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
7788 (PerfTest::startup): New function.
7789 (PerfTest::run): Return result of calling body.
7790 (PerfTest::assemble): Rewrite.
7791 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
7792 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
7793 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
7794 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
7795 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
7796
7797 2015-07-24 Doug Evans <dje@google.com>
7798
7799 * lib/gdb.exp (clean_restart): Make executable optional.
7800
7801 2015-07-24 Doug Evans <dje@google.com>
7802
7803 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
7804 compiler_info references.
7805 * gdb.cp/temargs.exp: Ditto.
7806 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
7807 (get_compiler_info): Early exit if already computed. Set compiler_info
7808 to "unknown" if there was a problem.
7809 (test_compiler_info): Add function comment. Call get_compiler_info.
7810
7811 2015-07-24 Doug Evans <dje@google.com>
7812
7813 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
7814 (workers/%.worker, build-perf): New rule.
7815 (GDB_PERFTEST_MODE): New variable.
7816 (check-perf): Use it.
7817 (clean): Clean up gdb.perf parallel build subdirs.
7818 * lib/build-piece.exp: New file.
7819 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
7820 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
7821 name.
7822 (standard_temp_file): Ditto.
7823 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
7824 of $GDB_PARALLEL.
7825
7826 2015-07-24 Doug Evans <dje@google.com>
7827
7828 * lib/future.exp (gdb_default_target_compile): New option
7829 "early_flags".
7830 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
7831 --as-needed.
7832
7833 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
7834
7835 * gdb.base/catch-syscall.exp: Call gdb_exit before
7836 gdb_skip_xml_test.
7837
7838 2015-07-24 Pedro Alves <palves@redhat.com>
7839
7840 * gdb.python/py-events.exp: Accept output between the stop event
7841 and the prompt.
7842 * gdb.python/py-evsignal.exp: Likewise.
7843 * gdb.python/py-evthreads.exp: Likewise.
7844
7845 2015-07-24 Pedro Alves <palves@redhat.com>
7846
7847 PR gdb/18717
7848 * gdb.threads/non-ldr-exit.c: New file.
7849 * gdb.threads/non-ldr-exit.exp: New file.
7850
7851 2015-07-24 Yao Qi <yao.qi@linaro.org>
7852
7853 * gdb.server/ext-wrapper.exp: Test --wrapper option when
7854 restarting process.
7855
7856 2015-07-24 Yao Qi <yao.qi@linaro.org>
7857
7858 * gdb.server/ext-restart.exp: New file.
7859
7860 2015-07-24 Yao Qi <yao.qi@linaro.org>
7861
7862 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
7863 argument options.
7864 * gdb.server/ext-wrapper.exp: New file.
7865
7866 2015-07-23 Doug Evans <dje@google.com>
7867
7868 * gdb.dwarf2/dw2-dummy-cu.S: New file.
7869 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
7870
7871 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
7872
7873 * gdb.ada/var_arr_typedef.exp: New testcase.
7874 * gdb.ada/var_arr_typedef/pack.adb: New file.
7875 * gdb.ada/var_arr_typedef/pack.ads: New file.
7876 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
7877
7878 2015-07-20 Joel Brobecker <brobecker@adacore.com>
7879
7880 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
7881
7882 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7883
7884 * gdb.arch/i386-biarch-core.exp: Replace istarget
7885 by "complete set gnutarget". Remove expectation for the "core-file"
7886 command.
7887
7888 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7889
7890 Revert the previous commit:
7891 Tests for validate symbol file using build-id.
7892
7893 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
7894
7895 Tests for validate symbol file using build-id.
7896 * gdb.base/solib-mismatch-lib.c: New file.
7897 * gdb.base/solib-mismatch-libmod.c: New file.
7898 * gdb.base/solib-mismatch.c: New file.
7899 * gdb.base/solib-mismatch.exp: New file.
7900
7901 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
7902
7903 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
7904 nios2-*-linux*.
7905 * gdb.base/sigbpt.exp (stepi_out): Likewise.
7906 * gdb.base/siginfo.exp: Likewise.
7907 * gdb.base/sigstep.exp (advance, advancei): Likewise.
7908
7909 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
7910
7911 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
7912 Move it to ...
7913 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
7914 ... here.
7915 * gdb.trace/range-stepping.exp: Check that the target supports
7916 range stepping.
7917
7918 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7919
7920 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
7921
7922 2015-07-14 Pedro Alves <palves@redhat.com>
7923
7924 * gdb.base/killed-outside.exp: New file.
7925 * gdb.base/killed-outside.c: New file.
7926
7927 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7928
7929 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
7930 (n at main): New.
7931 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
7932
7933 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7934
7935 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
7936 infcall tests instead of setting up for KFAIL.
7937
7938 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
7939
7940 * gdb.btrace/record_goto-step.exp: New.
7941
7942 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7943
7944 PR compile/18484
7945 * gdb.compile/compile.c (struct struct_type): Add volatile to
7946 selffield's type.
7947 * gdb.compile/compile.exp
7948 (compile code struct_object.selffield = &struct_object): Skip further
7949 struct_object tests if this one xfails.
7950
7951 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
7952
7953 PR exp/18617
7954 * gdb.trace/ax.exp: Add test.
7955
7956 2015-07-07 Yao Qi <yao.qi@linaro.org>
7957
7958 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
7959 instead of istarget "aarch64*-*-*".
7960 * gdb.arch/aarch64-fp.exp: Likewise.
7961 * gdb.base/float.exp: Likewise.
7962 * gdb.reverse/aarch64.exp: Likewise.
7963 * lib/gdb.exp (is_aarch64_target): New proc.
7964
7965 2015-07-07 Yao Qi <yao.qi@linaro.org>
7966
7967 * lib/gdb.exp (is_aarch32_target): New proc.
7968 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
7969 instead of "istarget "arm*-*-*"".
7970 * gdb.arch/arm-disp-step.exp: Likewise.
7971 * gdb.arch/thumb-bx-pc.exp: Likewise.
7972 * gdb.arch/thumb-prologue.exp: Likewise.
7973 * gdb.arch/thumb-singlestep.exp: Likewise.
7974 * gdb.base/disp-step-syscall.exp: Likewise.
7975 * gdb.base/float.exp: Likewise.
7976
7977 2015-07-07 Yao Qi <yao.qi@linaro.org>
7978
7979 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
7980 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
7981
7982 2015-07-07 Yao Qi <yao.qi@linaro.org>
7983
7984 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
7985 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
7986 if it exists.
7987 * gdb.multi/multi-arch.exp: Likewise.
7988
7989 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
7990
7991 * gdb.python/py-lazy-string.exp: Add missing parentheses to
7992 print.
7993
7994 2015-07-07 Yao Qi <yao.qi@linaro.org>
7995
7996 * gdb.arch/thumb-singlestep.exp: Do one more single step.
7997
7998 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
7999
8000 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
8001 '[' and ']' characters.
8002
8003 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
8004
8005 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
8006
8007 2015-06-29 Pedro Alves <palves@redhat.com>
8008
8009 PR threads/18127
8010 * gdb.threads/hand-call-new-thread.c: New file.
8011 * gdb.threads/hand-call-new-thread.c: New file.
8012
8013 2015-06-26 Keith Seitz <keiths@redhat.com>
8014 Doug Evans <dje@google.com>
8015
8016 PR 16253
8017 * gdb.cp/var-tag-2.cc: New file.
8018 * gdb.cp/var-tag-3.cc: New file.
8019 * gdb.cp/var-tag-4.cc: New file.
8020 * gdb.cp/var-tag.cc: New file.
8021 * gdb.cp/var-tag.exp: New file.
8022
8023 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
8024
8025 * gdb.base/history-duplicates.exp: New test.
8026
8027 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
8028
8029 * gdb.base/completion.exp: Test the completion of the "focus"
8030 command.
8031
8032 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8033
8034 * gdb.arch/amd64-prologue-skip.S: New file.
8035 * gdb.arch/amd64-prologue-skip.exp: New file.
8036
8037 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
8038
8039 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
8040 is_address_zero_readable check.
8041
8042 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
8043
8044 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
8045 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
8046
8047 2015-06-24 Yao Qi <yao.qi@linaro.org>
8048
8049 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
8050 linux targets.
8051
8052 2015-06-24 Yao Qi <yao.qi@linaro.org>
8053
8054 * lib/gdb.exp (supports_get_siginfo_type): New proc.
8055 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
8056 * gdb.base/siginfo-thread.exp: Likewise.
8057
8058 2015-06-22 Yao Qi <yao.qi@linaro.org>
8059
8060 * boards/remote-gdbserver-on-localhost.exp: Add comments.
8061
8062 2015-06-22 Yao Qi <yao.qi@linaro.org>
8063
8064 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
8065 aarch64*-*-*.
8066 (skip_hw_watchpoint_tests): Likewise.
8067
8068 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
8069
8070 * gdb.base/gdbinit-history.exp: Test the interaction between
8071 setting GDBHISTSIZE and setting the history size via .gdbinit.
8072
8073 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
8074
8075 PR gdb/16999
8076 * gdb.base/gdbhistsize-history.exp: New test.
8077
8078 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
8079
8080 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
8081 with GDBHISTSIZE.
8082 * gdb.base/readline.exp: Likewise.
8083
8084 2015-06-17 Yao Qi <yao.qi@linaro.org>
8085
8086 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
8087 line.
8088
8089 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
8090
8091 * gdb.base/gdbinit-history.exp: Add test case to check that
8092 an unlimited history file does not get truncated on exit.
8093
8094 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8095
8096 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
8097 (VECTOR): New macro. Use it...
8098 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
8099 ...for these typedefs.
8100 (int8, char1, int1, double1): New typedefs.
8101 (struct just_int2, struct two_int2): New structures.
8102 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
8103 (add_structvecs, add_singlevecs): New functions.
8104 (main): Call add_some_intvecs twice.
8105 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
8106 the compile and exit upon failure. Try compiling for the "native"
8107 architecture. Test inferior function calls with vector arguments
8108 and vector return value handling with "finish" and "return".
8109
8110 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
8111
8112 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
8113 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
8114 PE file.
8115 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
8116
8117 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
8118
8119 PR breakpoints/16465
8120 * gdb.mi/mi-dprintf-pending.c: New file.
8121 * gdb.mi/mi-dprintf-pending.exp: New test.
8122 * gdb.mi/mi-dprintf-pendshr.c: New file.
8123
8124 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8125 Mircea Gherzan <mircea.gherzan@intel.com>
8126
8127 * gdb.arch/i386-mpx-map.c: New file.
8128 * gdb.arch/i386-mpx-map.exp: New File.
8129
8130 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8131
8132 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
8133 * gdb.arch/i386-mpx.exp: Indentation fixed.
8134
8135 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8136
8137 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
8138 function and improved indentation.
8139 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
8140 gdb_test_multiple. Added additional tests to skip the test.
8141
8142 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8143
8144 * gdb.arch/i386-avx512.c: Change path in include file.
8145 * gdb.arch/i386-avx512.exp: Change include dir path
8146 compilation flag.
8147 * gdb.arch/i386-mpx.c: Change path in include file.
8148 * gdb.arch/i386-mpx.exp: Change include dir path compilation
8149 flag.
8150
8151 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8152
8153 * gdb.compile/compile-print.exp (compile print *vararray@3)
8154 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
8155
8156 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8157
8158 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
8159 (do not keep jit in memory): ... this.
8160 (expect 5): Change it to ...
8161 (expect no 5): ... this.
8162
8163 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
8164
8165 PR gdb/15564
8166 * gdb.mi/mi-detach.exp: New file.
8167
8168 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8169
8170 PR symtab/18392
8171 * gdb.arch/amd64-tailcall-self.S: New file.
8172 * gdb.arch/amd64-tailcall-self.c: New file.
8173 * gdb.arch/amd64-tailcall-self.exp: New file.
8174
8175 2015-05-28 Don Breazeal <donb@codesourcery.com>
8176
8177 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
8178 tests for remote targets by checking is_target_gdbserver.
8179
8180 2015-05-27 Doug Evans <dje@google.com>
8181
8182 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
8183 * gdb.dwarf2/opaque-type-lookup.c: New file.
8184 * gdb.dwarf2/opaque-type-lookup.exp: New file.
8185
8186 2015-05-26 Doug Evans <dje@google.com>
8187
8188 * gdb.cp/iostream.cc: New file.
8189 * gdb.cp/iostream.exp: New file.
8190
8191 2015-05-26 Doug Evans <dje@google.com>
8192
8193 * gdb.dwarf2/dw2-op-call.exp: Update.
8194 * gdb.dwarf2/dw4-sig-types.exp: Update.
8195 * gdb.dwarf2/implptr.exp: Update.
8196 * gdb.mi/mi-cmd-param-changed.exp: Update.
8197
8198 2015-05-26 Doug Evans <dje@google.com>
8199
8200 * gdb.python/py-lazy-string.c: New file.
8201 * gdb.python/py-lazy-string.exp: New file.
8202 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
8203 (main): Update. Add estring3.
8204 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
8205 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
8206
8207 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
8208 Yao Qi <yao.qi@linaro.org>
8209
8210 * gdb.reverse/aarch64.c: New.
8211 * gdb.reverse/aarch64.exp: New.
8212
8213 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
8214
8215 * lib/gdb.exp (supports_process_record): Return true for
8216 aarch64*-linux*.
8217 (supports_reverse): Likewise.
8218
8219 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
8220
8221 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8222 Use with_test_prefix.
8223
8224 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
8225
8226 * gdb.base/completion.exp: Add test for completion of layout
8227 names.
8228
8229 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
8230
8231 * lib/gdb.exp (skip_tui_tests): New proc.
8232 * gdb.base/tui-layout.exp: Check skip_tui_tests.
8233
8234 2015-05-19 Pedro Alves <palves@redhat.com>
8235
8236 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8237 Save the whole env array instead of just HOME. Unset HISTSIZE in
8238 the environment while testing. Restore whole environment
8239 afterwards.
8240
8241 2015-05-16 Doug Evans <xdje42@gmail.com>
8242
8243 * gdb.guile/scm-ports.c: New file.
8244 * gdb.guile/scm-ports.exp: Add memory port tests.
8245
8246 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8247
8248 * gdb.compile/compile-print.c: New file.
8249 * gdb.compile/compile-print.exp: New file.
8250
8251 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8252
8253 * gdb.compile/compile-ops.exp: Cast param to void.
8254 * gdb.compile/compile.exp: Complete type for _gdb_expr.
8255 (compile code struct_object.selffield = &struct_object): Add xfail.
8256
8257 2015-05-15 Joel Brobecker <brobecker@adacore.com>
8258
8259 * gdb.ada/arr_enum_with_gap: New testcase.
8260
8261 2015-05-15 Joel Brobecker <brobecker@adacore.com>
8262
8263 * gdb.ada/byte_packed_arr: New testcase.
8264
8265 2015-05-15 Joel Brobecker <brobecker@adacore.com>
8266
8267 * gdb.ada/pckd_neg: New testcase.
8268
8269 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
8270
8271 PR gdb/17820
8272 * gdb.base/gdbinit-history.exp: New test.
8273 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
8274 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
8275
8276 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
8277
8278 * gdb.python/py-xmethods.cc: Enhance test case.
8279 * gdb.python/py-xmethods.exp: New tests.
8280 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
8281 function.
8282 (B_indexoper): Likewise.
8283 (global_dm_list) : Add new xmethod worker functions.
8284
8285 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
8286
8287 * gdb.base/coredump-filter.exp: Correctly unset
8288 "coredump_var_addr" array.
8289
8290 2015-05-08 Pedro Alves <palves@redhat.com>
8291
8292 * gdb.server/non-existing-program.exp: Unset spawn_id.
8293
8294 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
8295
8296 PR python/18291
8297 * gdb.python/py-xmethods.exp: Add tests.
8298
8299 2015-05-08 Yao Qi <yao.qi@linaro.org>
8300
8301 PR gdb/18208
8302 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
8303 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
8304 function set_coredump_filter, and remove remote_exec call.
8305 Remove argument ipid. Callers update.
8306 (top level): Don't get inferior's PID.
8307
8308 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
8309
8310 * gdb.base/watch_thread_num.exp: Skip test on targets without
8311 access watchpoints.
8312
8313 2015-05-06 Pedro Alves <palves@redhat.com>
8314
8315 PR server/18081
8316 * gdb.server/non-existing-program.exp: New file.
8317
8318 2015-05-05 Joel Brobecker <brobecker@adacore.com>
8319
8320 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
8321
8322 2015-05-05 Joel Brobecker <brobecker@adacore.com>
8323
8324 * gdb.ada/out_of_line_in_inlined: New testcase.
8325
8326 2015-05-05 Joel Brobecker <brobecker@adacore.com>
8327
8328 * gdb.ada/var_rec_arr: New testcase.
8329
8330 2015-04-30 Yao Qi <yao.qi@linaro.org>
8331
8332 * gdb.base/break-idempotent.exp: If
8333 skip_hw_watchpoint_multi_tests returns true, skip the tests
8334 on "rwatch" and "awatch".
8335
8336 2015-04-30 Yao Qi <yao.qi@linaro.org>
8337
8338 * gdb.base/relativedebug.exp: Invoke gdb command
8339 "info sharedlibrary", and if libc.so doesn't have debug info,
8340 skip the test.
8341
8342 2015-04-29 Doug Evans <dje@google.com>
8343
8344 * gdb.python/py-xmethods.exp: Add ptype tests.
8345 * gdb.python/py-xmethods.py (E_method_char_worker): Add
8346 get_result_type method.
8347
8348 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
8349
8350 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
8351 the target does not support hardware watchpoints.
8352
8353 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
8354
8355 * gdb.base/break-always.exp: Abort testing if writing to memory
8356 causes an error.
8357
8358 2015-04-28 Doug Evans <dje@google.com>
8359
8360 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
8361 * gdb.python/py-pp-registration.exp: ... here. New file.
8362 * gdb.python/py-pp-registration.c: New file.
8363 * gdb.python/py-pp-registration.py: New file.
8364
8365 2015-04-28 Doug Evans <dje@google.com>
8366
8367 * gdb.python/py-bad-printers.c: New file.
8368 * gdb.python/py-bad-printers.py: New file.
8369 * gdb.python/py-bad-printers.exp: New file.
8370
8371 2015-04-28 Sasha Smundak <asmundak@google.com>
8372
8373 * gdb.python/py-type.exp: New test.
8374
8375 2015-04-28 Andy Wingo <wingo@igalia.com>
8376
8377 * gdb.python/py-parameter.exp:
8378 * gdb.guile/scm-parameter.exp: Escape the path that we are
8379 matching against, as it might contain characters that are special
8380 to regular expressions.
8381
8382 2015-04-27 Joel Brobecker <brobecker@adacore.com>
8383
8384 * gdb.ada/rec_comp: New testcase.
8385
8386 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
8387
8388 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
8389 before using it.
8390
8391 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
8392
8393 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
8394 new tests for verilog output.
8395
8396 2015-04-24 Yao Qi <yao.qi@linaro.org>
8397
8398 * boards/remote-gdbserver-on-localhost.exp: New file.
8399
8400 2015-04-23 Pedro Alves <palves@redhat.com>
8401
8402 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
8403 $inferior_spawn_id instead of $inferior_spawn_id directly. On
8404 "end of file", remove $inferior_spawn_id from the indirect list.
8405
8406 2015-04-23 Pedro Alves <palves@redhat.com>
8407
8408 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
8409
8410 2015-04-23 Pedro Alves <palves@redhat.com>
8411
8412 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
8413 on $any_spawn_id instead of only on $gdb_spawn_id.
8414
8415 2015-04-21 Pierre Muller <muller@sourceware.org>
8416
8417 PR pascal/17815
8418 * lib/pascal.exp (gpc_compile): Add new option "class".
8419 (fpc_compile): Likewise.
8420 * gdb.pascal/case-insensitive-symbols.pas: New file.
8421 * gdb.pascal/case-insensitive-symbols.exp: New file.
8422
8423 2015-04-20 Gary Benson <gbenson@redhat.com>
8424
8425 * gdb.base/attach.exp: Fix three extended remote failures.
8426
8427 2015-04-17 Gary Benson <gbenson@redhat.com>
8428
8429 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
8430 the main executable over the remote protocol.
8431
8432 2015-04-16 Pedro Alves <palves@redhat.com>
8433
8434 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
8435 a new gdbserver if gdbserver_reconnect_p is set.
8436
8437 2015-04-16 Pedro Alves <palves@redhat.com>
8438
8439 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
8440 is set, don't exit gdbserver.
8441
8442 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8443
8444 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
8445 appropriate .insn, such that an older assembler can be used.
8446 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
8447 the z/Architecture instruction set on 31-bit targets as well.
8448
8449 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8450
8451 * gdb.go/handcall.exp: Remove all logic related to the first
8452 breakpoint and rely on go_runto_main instead.
8453 * gdb.go/strings.exp: Likewise.
8454 * gdb.go/unsafe.exp: Likewise.
8455 * gdb.go/hello.exp: Likewise. Also rename the remaining
8456 breakpoint marker to "breakpoint 1".
8457 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
8458 * gdb.go/strings.go: Likewise.
8459 * gdb.go/unsafe.go: Likewise.
8460 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
8461 "set breakpoint 2 here" and rename the remaining breakpoint marker
8462 to "breakpoint 1".
8463
8464 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
8465
8466 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
8467 if itertools.imap is not present.
8468 * gdb.python/py-objfile.exp: Add parentheses.
8469 * gdb.python/py-type.exp: Same.
8470 * gdb.python/py-unwind-maint.py: Same.
8471
8472 2015-04-15 Yao Qi <yao.qi@linaro.org>
8473
8474 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
8475 of ":$ptr_size" and set its form explicitly.
8476
8477 2015-04-15 Pedro Alves <palves@redhat.com>
8478 Yao Qi <yao.qi@linaro.org>
8479
8480 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
8481 timeout by factor of 4.
8482 (test_regular_watch): Likewise.
8483 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
8484 * gdb.reverse/sigall-reverse.exp: Likewise.
8485 * gdb.reverse/until-precsave.exp: Likewise.
8486 * lib/gdb.exp (with_timeout_factor): New proc.
8487 (gdb_expect): Move some code to ...
8488 (get_largest_timeout): ... here. New procedure.
8489
8490 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
8491
8492 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
8493
8494 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
8495
8496 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
8497 to write to the .text section.
8498
8499 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
8500
8501 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
8502 Handle the case of targets that do not provide PID information.
8503
8504 2015-04-13 Yao Qi <yao.qi@linaro.org>
8505
8506 * lib/gdbserver-support.exp (gdb_exit): Catch exception
8507 and use expect instead of gdb_expect.
8508
8509 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
8510
8511 * gdb.base/coredump-filter.exp: Rename variable "addr" to
8512 "coredump_var_addr" to avoid naming conflict with other testcases.
8513
8514 2015-04-10 Pedro Alves <palves@redhat.com>
8515
8516 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
8517 gdb_test_sequence and gdb_assert.
8518
8519 2015-04-10 Pedro Alves <palves@redhat.com>
8520
8521 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
8522 test messages that don't include the breakpoint address.
8523
8524 2015-04-10 Yao Qi <yao.qi@linaro.org>
8525
8526 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
8527 false for some offset and width combinations which aren't
8528 supported by linux kernel.
8529
8530 2015-04-10 Pedro Alves <palves@redhat.com>
8531
8532 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
8533 procedure, factored out from ...
8534 (top level): ... here. Add "set displaced-stepping" testing axis.
8535 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
8536 parameter "displaced". Use it.
8537 (top level): Use foreach and add "set displaced-stepping" testing
8538 axis.
8539
8540 2015-04-10 Pedro Alves <palves@redhat.com>
8541
8542 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
8543 Remove comment.
8544 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
8545 both the address of the instruction that triggers the watchpoint
8546 and the address of the instruction immediately after, and use
8547 those addresses for the test. Fix comment.
8548
8549 2015-04-10 Pedro Alves <palves@redhat.com>
8550
8551 * gdb.base/sigstep.exp (breakpoint_to_handler)
8552 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
8553 Test "backtrace" in handler.
8554 (breakpoint_over_handler): New parameter 'displaced'. Use it.
8555 (top level): Add new "displaced" test axis to
8556 breakpoint_to_handler, breakpoint_to_handler_entry and
8557 breakpoint_over_handler.
8558
8559 2015-04-10 Pedro Alves <palves@redhat.com>
8560
8561 PR gdb/18216
8562 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
8563
8564 2015-04-10 Yao Qi <yao.qi@linaro.org>
8565
8566 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
8567 (test_add_rn_pc): New function.
8568 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
8569 (top level): Invoke test_add_rn_pc.
8570
8571 2015-04-10 Pedro Alves <palves@redhat.com>
8572
8573 PR gdb/13858
8574 * gdb.base/step-over-no-symbols.exp: New file.
8575
8576 2015-04-09 Andy Wingo <wingo@igalia.com>
8577
8578 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
8579 after the Python tests.
8580
8581 2015-04-08 Keith Seitz <keiths@redhat.com>
8582
8583 PR python/16699
8584 * gdb.python/py-completion.exp: New tests for completion.
8585 * gdb.python/py-completion.py (CompleteLimit1): New class.
8586 (CompleteLimit2): Likewise.
8587 (CompleteLimit3): Likewise.
8588 (CompleteLimit4): Likewise.
8589 (CompleteLimit5): Likewise.
8590 (CompleteLimit6): Likewise.
8591 (CompleteLimit7): Likewise.
8592
8593 2015-04-08 Pedro Alves <palves@redhat.com>
8594
8595 PR gdb/18214
8596 PR gdb/18216
8597 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
8598 function.
8599 (main): Install it as SIGUSR1 handler.
8600 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
8601 parameter. Always use "setup" as prefix. Toggle "set
8602 displaced-stepping" off/on depending on global. Don't switch to
8603 thread 1 here.
8604 (top level): Add displaced stepping "off/on" test axis. Update
8605 "setup" calls. Wrap each subtest with with_test_prefix. Test
8606 continuing with a queued signal in each thread.
8607
8608 2015-04-08 Pedro Alves <palves@redhat.com>
8609
8610 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
8611 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
8612 gdb_breakpoint instead of gdb_test that doesn't expect anything.
8613 Return early if running to main fails.
8614 * gdb.trace/while-stepping.exp: Likewise.
8615
8616 2015-04-07 Pedro Alves <palves@redhat.com>
8617
8618 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
8619 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
8620 interact with inferior program.
8621
8622 2015-04-07 Pedro Alves <palves@redhat.com>
8623
8624 * lib/gdb.exp (inferior_spawn_id): New global.
8625 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
8626 spawn id after processing the user code.
8627 (default_gdb_start): Set inferior_spawn_id.
8628 (send_inferior): New procedure.
8629 * lib/gdbserver-support.exp (gdbserver_start): Set
8630 inferior_spawn_id.
8631 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
8632
8633 2015-04-07 Pedro Alves <palves@redhat.com>
8634
8635 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
8636 * lib/gdbserver-support.exp (gdbserver_start): Make
8637 $server_spawn_id global.
8638 (gdbserver_start): Don't wait for gdbserver's spawn id with
8639 expect_background.
8640 (close_gdbserver): New procedure.
8641 (gdb_exit): Rename the default version and reimplement.
8642
8643 2015-04-07 Pedro Alves <palves@redhat.com>
8644
8645 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
8646 append the substituted item, not the original item.
8647
8648 2015-04-07 Pedro Alves <palves@redhat.com>
8649
8650 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
8651 gdb_expect.
8652
8653 2015-04-07 Pedro Alves <palves@redhat.com>
8654
8655 * gdb.base/interrupt.exp: Don't handle the case of the inferior
8656 output appearing once only.
8657
8658 2015-04-07 Pedro Alves <palves@redhat.com>
8659
8660 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
8661 that doesn't expect anything. Return early if running to main
8662 fails.
8663
8664 2015-04-07 Yao Qi <yao.qi@linaro.org>
8665
8666 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
8667 (child_function): Call alarm.
8668 (main): Move call to alarm into the loop.
8669 * gdb.threads/non-stop-fair-events.exp: Build program with
8670 -DTIMEOUT=$timeout.
8671
8672 2015-04-06 Doug Evans <xdje42@gmail.com>
8673
8674 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
8675 Fix dest parameter to board_info.
8676 (fpc_compile): Ditto.
8677 (gdb_compile_pascal): Rename dest arg to destfile.
8678
8679 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
8680
8681 * gdb.ada/funcall_ref.exp: New file.
8682 * gdb.ada/funcall_ref/foo.adb: New file.
8683
8684 2015-04-02 Yao Qi <yao.qi@linaro.org>
8685
8686 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
8687 is remote.
8688
8689 2015-04-02 Gary Benson <gbenson@redhat.com>
8690
8691 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
8692
8693 2015-04-01 Sasha Smundak <asmundak@google.com>
8694
8695 * gdb.python/py-unwind-maint.c: New file.
8696 * gdb.python/py-unwind-maint.exp: New test.
8697 * gdb.python/py-unwind-maint.py: New file.
8698 * gdb.python/py-unwind.c: New file.
8699 * gdb.python/py-unwind.exp: New test.
8700 * gdb.python/py-unwind.py: New test.
8701
8702 2015-04-01 Pedro Alves <palves@redhat.com>
8703
8704 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
8705 to fail instead of non-existent $test.
8706
8707 2015-04-01 Pedro Alves <palves@redhat.com>
8708
8709 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
8710 GDBFLAGS if not empty.
8711
8712 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
8713
8714 * gdb.ada/complete.exp: Remove "multi_line".
8715 * gdb.ada/info_exc.exp: Remove "multi_line".
8716 * gdb.ada/packed_tagged.exp: Remove "multi_line".
8717 * gdb.ada/ptype_field.exp: Remove "multi_line".
8718 * gdb.ada/sym_print_name.exp: Remove "multi_line".
8719 * gdb.ada/tagged.exp: Remove "multi_line".
8720 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
8721 [multi_line ...]
8722 * gdb.btrace/delta.exp: Likewise.
8723 * gdb.btrace/exception.exp: Likewise.
8724 * gdb.btrace/function_call_history.exp: Likewise.
8725 * gdb.btrace/instruction_history.exp: Likewise.
8726 * gdb.btrace/nohist.exp: Likewise.
8727 * gdb.btrace/record_goto.exp: Likewise.
8728 * gdb.btrace/segv.exp: Likewise.
8729 * gdb.btrace/stepi.exp: Likewise.
8730 * gdb.btrace/tailcall.exp: Likewise.
8731 * gdb.btrace/unknown_functions.exp: Likewise.
8732 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
8733 * lib/gdb.exp: Add the "multi_line" helper.
8734
8735 2015-04-01 Pedro Alves <palves@redhat.com>
8736
8737 * gdb.threads/tid-reuse.c: New file.
8738 * gdb.threads/tid-reuse.exp: New file.
8739
8740 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
8741
8742 PR corefiles/16092
8743 * gdb.base/coredump-filter.c: New file.
8744 * gdb.base/coredump-filter.exp: Likewise.
8745
8746 2015-03-27 Petr Machata <pmachata@redhat.com>
8747
8748 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
8749 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
8750 (Dwarf::assemble): Initialize them.
8751 (Dwarf::lines): New function.
8752
8753 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
8754
8755 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
8756 SYMBOL_PREFIX for x86_64-*-cygwin.
8757
8758 2015-03-26 Andy Wingo <wingo@igalia.com>
8759
8760 PR symtab/18148
8761 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
8762 const_value but not a location.
8763 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
8764 location defined in non-main CUs are visible.
8765
8766 2015-03-26 Yao Qi <yao.qi@linaro.org>
8767
8768 PR testsuite/18139
8769 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
8770 Add a line number entry for the same line.
8771 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
8772 Add a line number entry for the same line.
8773
8774 2015-03-26 Yao Qi <yao.qi@linaro.org>
8775
8776 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
8777 .int 0.
8778 (func): Likewise. Add .Lfunc_1 label.
8779 Use .Lfunc_1 label.
8780 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
8781 .int 0.
8782 (func): Likewise.
8783 Use .Lfunc_1 label.
8784
8785 2015-03-26 Yao Qi <yao.qi@linaro.org>
8786
8787 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
8788 Call gdb_compile instead to compile each .s files without debug
8789 information.
8790
8791 2015-03-26 Yao Qi <yao.qi@linaro.org>
8792
8793 * gdb.base/savedregs.exp (process_saved_regs): Make
8794 "Saved registers:" optional in the pattern.
8795
8796 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
8797
8798 * gdb.btrace/next.exp: Merged into step.exp.
8799 * gdb.btrace/finish.exp: Merged into step.exp.
8800 * gdb.btrace/nexti.exp: Merged into stepi.exp.
8801 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
8802 "record goto" and checking the exact replay position.
8803 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
8804 check for "Recording format" in "info record" output.
8805 * gdb.btrace/record_goto.exp: Choose test file based on target.
8806 * gdb.btrace/x86-record_goto.S: Renamed into ...
8807 * gdb.btrace/x86_64-record_goto.S: ... this.
8808 * gdb.btrace/i686-record_goto.S: New.
8809 * gdb.btrace/x86-tailcall.S: Renamed into ...
8810 * gdb.btrace/x86_64-tailcall.S: ... this.
8811 * gdb.btrace/i686-tailcall.S: New.
8812 * gdb.btrace/x86-tailcall.c: Renamed into ...
8813 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
8814 separate statements. Update test.
8815 * gdb.btrace/delta.exp: Use record_goto.c as test file.
8816 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
8817 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
8818 * gdb.btrace/tailcall.exp: Choose test file based on target.
8819 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
8820
8821 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
8822
8823 * gdb.btrace/exception.exp: Increase BTS buffer size.
8824
8825 2015-03-24 Pedro Alves <palves@redhat.com>
8826
8827 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
8828
8829 2015-03-24 Pedro Alves <palves@redhat.com>
8830
8831 * gdb.threads/schedlock.exp (test_step): No longer expect that
8832 "set scheduler-locking step" with "next" over a function call runs
8833 threads unlocked.
8834
8835 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
8836
8837 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
8838
8839 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
8840
8841 PR breakpoints/16466
8842 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
8843 * gdb.mi/mi-pending.c (thread_func): New function.
8844 (int main): Add threading support required.
8845 * gdb.mi/mi-pending.exp: Add tests for this issue.
8846 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
8847 (pendfunc2): Remove stdio dependency.
8848 * gdb.mi/mi-pendshr2.c: New file.
8849
8850 2015-03-23 Keith Seitz <keiths@redhat.com>
8851
8852 * gdb.linespec/keywords.c: New file.
8853 * gdb.linespec/keywords.exp: New file.
8854
8855 2015-03-23 Keith Seitz <keiths@redhat.com>
8856
8857 PR gdb/18021
8858 * gdb.dwarf2/staticvirtual.exp: New test.
8859
8860 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8861
8862 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
8863 * README: Remove HP-UX and gdb.hp.
8864 (configuration):
8865 * configure: Regenerate.
8866 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
8867 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
8868 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
8869 gdb.hp/gdb.defects/Makefile.
8870 * gdb.hp/Makefile.in: File deleted.
8871 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
8872 * gdb.hp/gdb.aCC/optimize.c: File deleted.
8873 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
8874 * gdb.hp/gdb.aCC/run.c: File deleted.
8875 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
8876 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
8877 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
8878 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
8879 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
8880 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
8881 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
8882 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
8883 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
8884 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
8885 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
8886 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
8887 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
8888 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
8889 * gdb.hp/gdb.base-hp/reg.s: File deleted.
8890 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
8891 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
8892 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
8893 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
8894 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
8895 * gdb.hp/gdb.compat/Makefile.in: File deleted.
8896 * gdb.hp/gdb.compat/average.c: File deleted.
8897 * gdb.hp/gdb.compat/sum.c: File deleted.
8898 * gdb.hp/gdb.compat/xdb.c: File deleted.
8899 * gdb.hp/gdb.compat/xdb0.c: File deleted.
8900 * gdb.hp/gdb.compat/xdb0.h: File deleted.
8901 * gdb.hp/gdb.compat/xdb1.c: File deleted.
8902 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
8903 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
8904 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
8905 * gdb.hp/gdb.defects/Makefile.in: File deleted.
8906 * gdb.hp/gdb.defects/bs14602.c: File deleted.
8907 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
8908 * gdb.hp/gdb.defects/solib-d.c: File deleted.
8909 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
8910 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
8911 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
8912 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
8913 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
8914 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
8915 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
8916 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
8917 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
8918 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
8919 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
8920 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
8921 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
8922 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
8923 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
8924 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
8925 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
8926 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
8927 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
8928 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
8929 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
8930 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
8931 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
8932 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
8933 * gdb.hp/tools/odump: File deleted.
8934
8935 2015-03-19 Pedro Alves <palves@redhat.com>
8936
8937 * gdb.threads/continue-pending-status.exp (saw_thread_2)
8938 (saw_thread_3): New globals.
8939 (top level): Increment them when an event for the corresponding
8940 thread is seen.
8941 (no thread starvation): New test.
8942
8943 2015-03-19 Pedro Alves <palves@redhat.com>
8944
8945 * gdb.threads/continue-pending-status.c: New file.
8946 * gdb.threads/continue-pending-status.exp: New file.
8947
8948 2015-03-18 Pedro Alves <palves@redhat.com>
8949
8950 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
8951 Use gdb_is_target_remote instead of is_remote. Use
8952 gdb_test_multiple instead of gdb_expect. Exit early if
8953 gdb_test_multiple hits its internal matches. Tighten stepi tests
8954 expected output. Fail on exit with any signal, instead of just
8955 SIGILL.
8956
8957 2015-03-18 Yao Qi <yao.qi@linaro.org>
8958
8959 PR tdep/18107
8960 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
8961 variable.
8962 * gdb.base/catch-syscall.exp: Don't skip it on
8963 aarch64*-*-linux* target. Remove elements in all_syscalls.
8964 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
8965 target.
8966 (setup_all_syscalls): New proc.
8967
8968 2015-03-16 Yao Qi <yao.qi@linaro.org>
8969
8970 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
8971 (top level): Skip tests if valid_addr_p returns false for
8972 $cmd1 or $cmd2.
8973
8974 2015-03-11 Andy Wingo <wingo@igalia.com>
8975
8976 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
8977
8978 2015-03-11 Yao Qi <yao.qi@linaro.org>
8979
8980 * gdb.base/catch-syscall.exp: Fix typo in comments.
8981
8982 2015-03-11 Yao Qi <yao.qi@linaro.org>
8983
8984 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
8985
8986 2015-03-09 Pedro Alves <palves@redhat.com>
8987
8988 * dg-extract-results.py: Delete.
8989
8990 2015-03-09 Pedro Alves <palves@redhat.com>
8991
8992 Merge dg-extract-results.sh from GCC upstream (r218843).
8993
8994 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
8995 * dg-extract-results.sh: Use --text with grep to avoid issues with
8996 binary files. Fall back to cat -v, if that doesn't work.
8997
8998 2015-03-05 Pedro Alves <palves@redhat.com>
8999
9000 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
9001
9002 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
9003
9004 * lib/mi-support.exp (mi_expect_interrupt): Accept
9005 alternative event for when in all-stop mode.
9006
9007 2015-03-04 Pedro Alves <palves@redhat.com>
9008
9009 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
9010
9011 2015-03-04 Mark Kettenis <kettenis@gnu.org>
9012
9013 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
9014
9015 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
9016
9017 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
9018 regexps for GDB's current line display, accept a hex address
9019 preceding the line number.
9020
9021 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
9022
9023 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
9024 the 'arch1' variable for "s390*-linux*" targets.
9025
9026 2015-03-04 Pedro Alves <palves@redhat.com>
9027
9028 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
9029 (main): Pass missing retval argument to pthread_join call.
9030
9031 2015-03-02 Pedro Alves <palves@redhat.com>
9032
9033 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
9034 (top level): Call do_test with non-stop as well.
9035
9036 2015-03-02 Pedro Alves <palves@redhat.com>
9037
9038 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
9039 -1.
9040
9041 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
9042
9043 * gdb.arch/s390-vregs.exp: New test.
9044 * gdb.arch/s390-vregs.S: New file.
9045
9046 2015-02-27 Pedro Alves <palves@redhat.com>
9047
9048 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
9049 call to catch_command_errors.
9050 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
9051 catch_command_errors.
9052
9053 2015-02-27 Pedro Alves <palves@redhat.com>
9054
9055 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
9056 "true" for boolean result.
9057 * gdb.gdb/selftest.exp (test_with_self): Also accept full
9058 prototype of main.
9059
9060 2015-02-27 Pedro Alves <palves@redhat.com>
9061
9062 * lib/unbuffer_output.c: New file.
9063 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
9064 (main): Call gdb_unbuffer_output.
9065
9066 2015-02-27 Yao Qi <yao.qi@linaro.org>
9067
9068 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
9069 target.
9070
9071 2015-02-26 Doug Evans <dje@google.com>
9072
9073 * gdb.cp/class2.cc (Dbase, D): New classes.
9074 (main): New local delta.
9075 * gdb.cp/class2.exp: Test printing delta.
9076 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
9077 (dynbar): New global.
9078 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
9079
9080 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9081
9082 * gdb.compile/compile-ifunc.c: New file.
9083 * gdb.compile/compile-ifunc.exp: New file.
9084
9085 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
9086
9087 * gdb.base/structs.exp: Check for correct struct on finish.
9088
9089 2015-02-26 Yao Qi <yao.qi@linaro.org>
9090
9091 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
9092 is zero.
9093
9094 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9095
9096 * gdb.arch/cordic.ko.bz2: New file.
9097 * gdb.arch/cordic.ko.debug.bz2: New file.
9098 * gdb.arch/ppc64-symtab-cordic.exp: New file.
9099
9100 2015-02-25 Yao Qi <yao.qi@linaro.org>
9101
9102 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
9103 aarch64*-*-* target.
9104
9105 2015-02-23 Pedro Alves <palves@redhat.com>
9106
9107 * lib/gdb.exp (delete_breakpoints): Rewrite using
9108 gdb_test_multiple.
9109
9110 2015-02-23 Pedro Alves <palves@redhat.com>
9111
9112 * gdb.base/info-os.c: Include stdlib.h.
9113
9114 2015-02-22 Doug Evans <xdje42@gmail.com>
9115
9116 PR symtab/17855
9117 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
9118 is read after symbols have been re-read.
9119 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
9120 * gdb.ada/exec_changed/second.adb (Second): Ditto.
9121
9122 2015-02-21 Doug Evans <dje@google.com>
9123
9124 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
9125
9126 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9127
9128 PR corefiles/17808
9129 * gdb.arch/i386-biarch-core.core.bz2: New file.
9130 * gdb.arch/i386-biarch-core.exp: New file.
9131
9132 2015-02-21 Pedro Alves <palves@redhat.com>
9133
9134 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
9135 runto_main fails.
9136
9137 2015-02-20 Pedro Alves <palves@redhat.com>
9138
9139 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
9140 info probes.
9141
9142 2015-02-20 Pedro Alves <palves@redhat.com>
9143
9144 * gdb.threads/multi-create-ns-info-thr.exp: New file.
9145
9146 2015-02-20 Pedro Alves <palves@redhat.com>
9147
9148 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
9149 clean_restart before gdb_target_supports_trace.
9150
9151 2015-02-20 Pedro Alves <palves@redhat.com>
9152
9153 PR threads/18006
9154 * gdb.threads/clone-thread_db.c: New file.
9155 * gdb.threads/clone-thread_db.exp: New file.
9156
9157 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
9158
9159 PR breakpoints/16812
9160 * gdb.base/catch-gdb-caused-signals.c: New file.
9161 * gdb.base/catch-gdb-caused-signals.exp: New file.
9162
9163 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
9164
9165 * configure: Regenerated.
9166 * configure.ac: Use GDB_AC_TRANSFORM.
9167 * aclocal.m4: sinclude ../transform.m4.
9168
9169 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9170
9171 * lib/dtrace.exp: New file.
9172 * gdb.base/dtrace-probe.exp: Likewise.
9173 * gdb.base/dtrace-probe.d: Likewise.
9174 * gdb.base/dtrace-probe.c: Likewise.
9175 * lib/pdtrace.in: Likewise.
9176 * configure.ac: Output variables with the transformed names of
9177 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
9178 * configure: Regenerated.
9179
9180 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9181
9182 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
9183 expected message when trying to access $_probe_* convenience
9184 variables while not on a probe.
9185
9186 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9187
9188 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
9189
9190 2015-02-11 Pedro Alves <pedro@codesourcery.com>
9191
9192 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
9193 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
9194
9195 2015-02-10 Doug Evans <xdje42@gmail.com>
9196
9197 * lib/gdb.exp (gdb_load): Always return a result.
9198
9199 2015-02-10 Pedro Alves <palves@redhat.com>
9200
9201 * gdb.threads/signal-sigtrap.c: New file.
9202 * gdb.threads/signal-sigtrap.exp: New file.
9203
9204 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
9205
9206 * gdb.trace/no-attach-trace.c: New file.
9207 * gdb.trace/no-attach-trace.exp: New file.
9208
9209 2015-02-09 Mark Wielaard <mjw@redhat.com>
9210
9211 * gdb.dwarf2/atomic.c: New file.
9212 * gdb.dwarf2/atomic-type.exp: Likewise.
9213
9214 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9215
9216 * gdb.btrace/buffer-size.exp: Update "info record" output.
9217 * gdb.btrace/delta.exp: Update "info record" output.
9218 * gdb.btrace/enable.exp: Update "info record" output.
9219 * gdb.btrace/finish.exp: Update "info record" output.
9220 * gdb.btrace/instruction_history.exp: Update "info record" output.
9221 * gdb.btrace/next.exp: Update "info record" output.
9222 * gdb.btrace/nexti.exp: Update "info record" output.
9223 * gdb.btrace/step.exp: Update "info record" output.
9224 * gdb.btrace/stepi.exp: Update "info record" output.
9225 * gdb.btrace/nohist.exp: Update "info record" output.
9226
9227 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9228
9229 * gdb.btrace/buffer-size: New.
9230
9231 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9232
9233 * gdb.btrace/delta.exp: Update "info record" output.
9234 * gdb.btrace/enable.exp: Update "info record" output.
9235 * gdb.btrace/finish.exp: Update "info record" output.
9236 * gdb.btrace/instruction_history.exp: Update "info record" output.
9237 * gdb.btrace/next.exp: Update "info record" output.
9238 * gdb.btrace/nexti.exp: Update "info record" output.
9239 * gdb.btrace/step.exp: Update "info record" output.
9240 * gdb.btrace/stepi.exp: Update "info record" output.
9241 * gdb.btrace/nohist.exp: Update "info record" output.
9242
9243 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
9244
9245 PR gdb/15678
9246 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
9247
9248 2015-02-06 Pedro Alves <palves@redhat.com>
9249
9250 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
9251 macro.
9252 (seconds_left, again): New globals.
9253 (main): Wait seconds_left in a 1-second sleep loop instead of
9254 sleeping 180 seconds. If 'again' is set, reset the seconds
9255 counter.
9256 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
9257 'again' in the inferior before detaching. Print the seconds left.
9258 (options): New global.
9259 (top level): Build program with -DTIMEOUT=$timeout.
9260
9261 2015-02-06 Pedro Alves <palves@redhat.com>
9262
9263 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
9264 determine how many seconds to pass to 'alarm'.
9265 * gdb.base/gdb-sigterm.exp (top level): Build program with
9266 -DTIMEOUT=$timeout.
9267 (do_test): Return success/failure indication. Add more verbose
9268 logging. Don't fail if 200 single steps are seen. Instead, fail
9269 when the test times out.
9270 (passes): New global.
9271 (top level): Break the testing loop if testing fails on any
9272 iteration. Use gdb_assert.
9273
9274 2015-02-04 Don Breazeal <donb@codesourcery.com>
9275
9276 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
9277 and initialize them.
9278 (ipc_cleanup): New function.
9279 (main): Don't declare shmid, semid, and msqid. Add a call to
9280 atexit so that we call ipc_cleanup on exit.
9281
9282 2015-02-04 Pedro Alves <palves@redhat.com>
9283
9284 * boards/native-extended-gdbserver.exp: Remove any target variant
9285 specifications from the board name before clearing the isremote
9286 flag from board_info.
9287
9288 2015-01-31 Doug Evans <xdje42@gmail.com>
9289
9290 * gdb.base/maint.exp <maint print type argc>: Update expected output.
9291
9292 2015-01-31 Gary Benson <gbenson@redhat.com>
9293
9294 * gdb.base/completion.exp: Disable completion limiting for
9295 existing tests. Add new tests to check completion limiting.
9296 * gdb.linespec/ls-errs.exp: Disable completion limiting.
9297
9298 2015-01-31 Doug Evans <xdje42@gmail.com>
9299
9300 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
9301
9302 2015-01-31 Doug Evans <xdje42@gmail.com>
9303
9304 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
9305 entries. Duplicate file section script entries.
9306 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
9307 inlined entries. Add test for safe-path rejection.
9308 * gdb.python/py-section-script.c: Add duplicate inlined section script
9309 entries. Duplicate file section script entries.
9310 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
9311 inlined entries. Add test for safe-path rejection.
9312
9313 2015-01-29 Joel Brobecker <brobecker@adacore.com>
9314
9315 * gdb.ada/disc_arr_bound: New testcase.
9316
9317 2015-01-29 Joel Brobecker <brobecker@adacore.com>
9318
9319 * gdb.ada/mi_var_array: New testcase.
9320
9321 2015-01-27 Doug Evans <dje@google.com>
9322
9323 * gdb.python/py-objfile.exp: Add tests for objfile.username.
9324 Add test for objfile.filename, objfile.username after objfile
9325 has been unloaded.
9326
9327 2015-01-26 Joel Brobecker <brobecker@adacore.com>
9328
9329 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
9330 the second test to print the name attribute of value
9331 returned by the call to gdb.lookup_type, and adjust
9332 the expected output accordingly.
9333
9334 2015-01-25 Mark Wielaard <mjw@redhat.com>
9335
9336 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
9337 * gdb.base/disp-step-fork.c: Include unistd.h.
9338 * gdb.base/siginfo-obj.c: Include stdio.h.
9339 * gdb.base/siginfo-thread.c: Likewise.
9340 * gdb.mi/non-stop.c: Include unistd.h.
9341 * gdb.mi/nsthrexec.c: Include stdio.h.
9342 * gdb.mi/pthreads.c: Include unistd.h.
9343 * gdb.modula2/unbounded1.c (main): Declare returns int.
9344 * gdb.reverse/consecutive-reverse.c: Likewise.
9345 * gdb.threads/create-fail.c: Include unistd.h.
9346 * gdb.threads/killed.c: Likewise.
9347 * gdb.threads/linux-dp.c: Likewise.
9348 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
9349 * gdb.threads/non-ldr-exc-2.c: Likewise.
9350 * gdb.threads/non-ldr-exc-3.c: Likewise.
9351 * gdb.threads/non-ldr-exc-4.c: Likewise.
9352 * gdb.threads/pthreads.c: Include unistd.h.
9353 (main): Declare returns int.
9354 * gdb.threads/tls-main.c (foo): New declaration.
9355 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
9356
9357 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
9358
9359 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
9360 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
9361
9362 2015-01-15 Mark Wielaard <mjw@redhat.com>
9363
9364 * gdb.base/noreturn-return.c: New file.
9365 * gdb.base/noreturn-return.exp: New file.
9366 * gdb.base/noreturn-finish.c: New file.
9367 * gdb.base/noreturn-finish.exp: New file.
9368
9369 2015-01-23 Pedro Alves <palves@redhat.com>
9370
9371 * gdb.threads/continue-pending-after-query.c: New file.
9372 * gdb.threads/continue-pending-after-query.exp: New file.
9373
9374 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
9375 Simon Marchi <simon.marchi@ericsson.com>
9376
9377 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
9378 * gdb.base/valgrind-db-attach.exp: Same.
9379 * gdb.base/valgrind-infcall.exp: Same.
9380 * lib/mi-support.exp (default_mi_gdb_start): Same.
9381 * lib/prompt.exp (default_prompt_gdb_start): Same.
9382 * lib/gdb.exp (default_gdb_spawn): Same.
9383 (gdb_interact): New.
9384
9385
9386 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9387
9388 * gdb.compile/compile.exp (pointer to jit function): New test.
9389
9390 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
9391
9392 * lib/gdb.exp (supports_process_record): Return true for
9393 powerpc*-*-linux*.
9394 (supports_reverse): Likewise.
9395
9396 2015-01-15 Don Breazeal <donb@codesourcery.com>
9397
9398 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
9399 instead of checking whether the target board is remote and
9400 use spawn_wait_for_attach instead of exec/sleep.
9401 * gdb.base/attach-twice.exp: Likewise.
9402
9403 2015-01-15 Joel Brobecker <brobecker@adacore.com>
9404
9405 * gdb.ada/var_arr_attrs: New testcase.
9406
9407 2015-01-14 Pedro Alves <palves@redhat.com>
9408 Joel Brobecker <brobecker@adacore.com>
9409
9410 PR gdb/17525
9411 * gdb.base/bp-cmds-execution-x-script.c: New file.
9412 * gdb.base/bp-cmds-execution-x-script.exp: New file.
9413 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
9414
9415 2015-01-14 Pedro Alves <palves@redhat.com>
9416
9417 PR cli/17828
9418 * gdb.base/batch-preserve-term-settings.c: New file.
9419 * gdb.base/batch-preserve-term-settings.exp: New file.
9420
9421 2015-01-13 Doug Evans <dje@google.com>
9422
9423 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
9424 binary.
9425
9426 2015-01-13 Joel Brobecker <brobecker@adacore.com>
9427
9428 * Makefile.in (clean mostlyclean): Do not delete *.py.
9429
9430 2015-01-13 Joel Brobecker <brobecker@adacore.com>
9431
9432 * gdb.python/py-lookup-type.exp: New file.
9433
9434 2015-01-12 Pedro Alves <palves@redhat.com>
9435
9436 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
9437 restore GDBFLAGS before returning.
9438
9439 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9440
9441 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
9442 is_amd64_regs_target and is_x86_like_target.
9443
9444 2015-01-11 Doug Evans <xdje42@gmail.com>
9445
9446 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
9447 is given without an explicit form.
9448 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
9449 attributes.
9450 * gdb.dwarf/corrupt.exp: Ditto.
9451 * gdb.dwarf2/enum-type.exp: Ditto.
9452 * gdb.trace/entry-values.exp: Ditto.
9453 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
9454
9455 2015-01-11 Doug Evans <xdje42@gmail.com>
9456
9457 PR gdb/15830
9458 * gdb.base/maint.exp: Remove references to "maint demangle".
9459 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
9460 Add tests for explicitly specifying language to demangle.
9461 * gdb.dlang/demangle.exp: Ditto.
9462
9463 2015-01-09 Pedro Alves <palves@redhat.com>
9464
9465 * gdb.threads/non-stop-fair-events.c: New file.
9466 * gdb.threads/non-stop-fair-events.exp: New file.
9467
9468 2015-01-09 Pedro Alves <palves@redhat.com>
9469
9470 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
9471 the global scope. Set a breakpoint after all threads are started
9472 rather than stepping over two source lines. Expect the prompt.
9473 * gdb.base/watch_thread_num.c (threads_started_barrier): New
9474 global.
9475 (NUM): Now 15.
9476 (main): Use threads_started_barrier to wait for all threads to
9477 start. Main thread no longer calls thread_function. Exit after
9478 180 seconds.
9479 (loop): New function.
9480 (thread_function): Wait on threads_started_barrier barrier. Call
9481 'loop' at each iteration.
9482 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
9483 threads have started, instead of hardcoding number of "next"
9484 steps. Use an access watchpoint instead of a write watchpoint.
9485
9486 2015-01-09 Pedro Alves <palves@redhat.com>
9487
9488 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
9489 (thread_func): Wait on barrier.
9490 (main): Wait for all threads to start before stopping GDB.
9491 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
9492 global.
9493 (thread1_func, thread2_func): Wait on barrier.
9494 (main): Wait for all threads to start before stopping GDB.
9495 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
9496 New global.
9497 (thread1_func, thread2_func): Wait on barrier.
9498 (main): Wait for all threads to start before stopping GDB.
9499
9500 2015-01-09 Pedro Alves <palves@redhat.com>
9501
9502 * gdb.threads/attach-many-short-lived-threads.c: New file.
9503 * gdb.threads/attach-many-short-lived-threads.exp: New file.
9504
9505 2014-01-09 Pedro Alves <palves@redhat.com>
9506
9507 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
9508 instead of to thread 2.
9509 * gdb.threads/signal-command-multiple-signals-pending.c (main):
9510 Add barrier around each pthread_create call instead of around all
9511 calls.
9512 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
9513 Set a break on thread_function and have the child threads hit it
9514 one at at a time.
9515
9516 2015-01-09 Pedro Alves <palves@redhat.com>
9517
9518 * lib/gdb.exp (can_spawn_for_attach): New procedure.
9519 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
9520 false.
9521 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
9522 checking whether the target board is remote.
9523 * gdb.multi/multi-attach.exp: Likewise.
9524 * gdb.python/py-sync-interp.exp: Likewise.
9525 * gdb.server/ext-attach.exp: Likewise.
9526 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
9527 tests that need to attach, instead of checking whether the target
9528 board is remote at the top of the file.
9529
9530 2015-01-08 Yao Qi <yao@codesourcery.com>
9531
9532 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
9533
9534 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9535
9536 Fix testcase compilation.
9537 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
9538
9539 2015-01-06 Joel Brobecker <brobecker@adacore.com>
9540
9541 * gdb.python/py-type.exp: Add a couple test about empty
9542 array creation, and negative-length array creation.
9543
9544 2015-01-02 Doug Evans <xdje42@gmail.com>
9545
9546 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
9547
9548 2015-01-02 Doug Evans <dje@google.com>
9549
9550 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
9551
9552 2014-12-29 Yao Qi <yao@codesourcery.com>
9553
9554 * gdb.trace/entry-values.exp: Update comments. Rename variable
9555 bar_call_foo to returned_from_foo.
9556
9557 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
9558
9559 PR gdb/17394
9560 * gdb.linespec/break-asm-file.c: New file.
9561 * gdb.linespec/break-asm-file.exp: New file.
9562 * gdb.linespec/break-asm-file0.s: New file.
9563 * gdb.linespec/break-asm-file1.s: New file.
9564
9565 2014-12-18 Nigel Stephens <nigel@mips.com>
9566 Maciej W. Rozycki <macro@codesourcery.com>
9567
9568 * gdb.base/float.exp: Handle the new output from "info float" on
9569 MIPS targets.
9570
9571 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9572
9573 Fix MinGW compilation.
9574 * gdb.compile/compile-ops.exp: Update untested message if
9575 !skip_compile_feature_tests.
9576 * gdb.compile/compile-setjmp.exp: Likewise.
9577 * gdb.compile/compile-tls.exp: Likewise.
9578 * gdb.compile/compile.exp: Likewise.
9579 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
9580 supported on this host".
9581
9582 2014-12-16 Doug Evans <xdje42@gmail.com>
9583
9584 * boards/stabs.exp: New file.
9585
9586 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
9587
9588 * gdb.base/completion.exp: Adjust to format changes of "maint
9589 print user-registers".
9590
9591 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
9592
9593 PR server/17457
9594 * gdb.arch/aarch64-fp.c: New file.
9595 * gdb.arch/aarch64-fp.exp: New file.
9596
9597 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
9598
9599 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
9600 r210637, r210913, r211666, r215400, r215817).
9601
9602 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
9603 * dg-extract-results.py: New file.
9604 * dg-extract-results.sh: Use it if the environment seems
9605 suitable.
9606
9607 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
9608
9609 * dg-extract-results.py (parse_run): Handle warnings that
9610 are printed before a test harness is run.
9611
9612 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
9613
9614 * dg-extract-results.py (Named): Remove __cmp__ method.
9615 (output_variation): Use a key to sort variation.harnesses.
9616
9617 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
9618
9619 * dg-extract-results.py: For Python 3, force sys.stdout to
9620 handle surrogate escape sequences.
9621 (safe_open): New function.
9622 (output_segment, main): Use it.
9623
9624 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
9625
9626 * dg-extract-results.py (Prog.result_re): Include options
9627 in test name.
9628
9629 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
9630
9631 * dg-extract-results.py (output_variation): Always sort if
9632 do_sum.
9633
9634 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
9635
9636 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
9637 as long as we get pagination notifications.
9638
9639 2014-12-15 Jason Merrill <jason@redhat.com>
9640
9641 * Makefile.in (check-gdb.%): Restore.
9642 * README: Mention it.
9643
9644 2014-12-13 Joel Brobecker <brobecker@adacore.com>
9645
9646 * gdb.ada/str_uninit: New testcase.
9647
9648 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9649
9650 PR symtab/17642
9651 * gdb.base/vla-stub-define.c: New file.
9652 * gdb.base/vla-stub.c: New file.
9653 * gdb.base/vla-stub.exp: New file.
9654
9655 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
9656 Jan Kratochvil <jan.kratochvil@redhat.com>
9657 Tom Tromey <tromey@redhat.com>
9658
9659 * configure.ac: Add gdb.compile/.
9660 * configure: Regenerate.
9661 * gdb.compile/Makefile.in: New file.
9662 * gdb.compile/compile-ops.exp: New file.
9663 * gdb.compile/compile-ops.c: New file.
9664 * gdb.compile/compile-tls.c: New file.
9665 * gdb.compile/compile-tls.exp: New file.
9666 * gdb.compile/compile-constvar.S: New file.
9667 * gdb.compile/compile-constvar.c: New file.
9668 * gdb.compile/compile-mod.c: New file.
9669 * gdb.compile/compile-nodebug.c: New file.
9670 * gdb.compile/compile-setjmp-mod.c: New file.
9671 * gdb.compile/compile-setjmp.c: New file.
9672 * gdb.compile/compile-setjmp.exp: New file.
9673 * gdb.compile/compile-shlib.c: New file.
9674 * gdb.compile/compile.c: New file.
9675 * gdb.compile/compile.exp: New file.
9676 * lib/gdb.exp (skip_compile_feature_tests): New proc.
9677
9678 2014-12-12 Tom Tromey <tromey@redhat.com>
9679
9680 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
9681 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
9682
9683 2014-12-12 Doug Evans <dje@google.com>
9684
9685 * lib/gdb-python.exp (get_python_valueof): New function.
9686 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
9687
9688 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9689
9690 * gdb.base/completion.exp: Add test for completion of "info
9691 registers ".
9692
9693 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
9694
9695 * gdb.base/func-ptrs.c: New file.
9696 * gdb.base/func-ptrs.exp: New file.
9697
9698 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
9699
9700 PR breakpoints/17012
9701 * gdb.base/dprintf-detach.c: New file.
9702 * gdb.base/dprintf-detach.exp: New file.
9703
9704 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
9705
9706 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
9707 * lib/gdb.exp (target_is_gdbserver): New procedure.
9708
9709 2014-12-08 Doug Evans <dje@google.com>
9710
9711 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
9712
9713 2014-12-05 Yao Qi <yao@codesourcery.com>
9714
9715 * gdb.guile/scm-error.exp: Remove the third argument to
9716 gdb_remote_download.
9717 * gdb.guile/scm-frame-args.exp: Likewise.
9718 * gdb.guile/scm-section-script.exp: Likewise.
9719
9720 2014-12-05 Yao Qi <yao@codesourcery.com>
9721
9722 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
9723
9724 2014-12-04 Doug Evans <dje@google.com>
9725
9726 * gdb.python/py-objfile.exp: Add tests for
9727 objfile.add_separate_debug_file.
9728
9729 2014-12-04 Doug Evans <dje@google.com>
9730
9731 * lib/gdb.exp (get_build_id): New function.
9732 (build_id_debug_filename_get): Rewrite to use it.
9733 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
9734
9735 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
9736
9737 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
9738 `method(long)', not just 0x0.
9739 * gdb.cp/nsalias.exp: Align code labels to 4.
9740 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
9741 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
9742 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
9743 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
9744 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
9745 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
9746
9747 2014-12-02 Doug Evans <dje@google.com>
9748
9749 PR symtab/17602
9750 * gdb.cp/anon-ns.cc: Move guts of this file to ...
9751 * gdb.cp/anon-ns2.cc: ... here. New file.
9752 * gdb.cp/anon-ns.exp: Update.
9753
9754 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
9755
9756 * gdb.python/py-events.py (inferior_call_handler): New.
9757 (register_changed_handler, memory_changed_handler): New.
9758 (test_events.invoke): Register new handlers.
9759 * gdb.python/py-events.exp: Add tests for inferior call,
9760 memory_changed and register_changed events.
9761
9762 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
9763
9764 * gdb.base/execl-update-breakpoints.exp: Specify the link address
9765 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
9766 if the linker doesn't understand this.
9767
9768 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
9769
9770 * gdb.python/python.exp: Change expected reply to help().
9771
9772 2014-12-01 Yao Qi <yao@codesourcery.com>
9773
9774 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
9775 AC_CONFIG_SUBDIRS(gdb.gdbtk).
9776 * configure: Re-generated.
9777
9778 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
9779
9780 * gdb.cp/chained-calls.cc: New file.
9781 * gdb.cp/chained-calls.exp: New file.
9782 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
9783
9784 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
9785
9786 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
9787 * gdb.dwarf2/symtab-producer.exp: Same.
9788 * gdb.gdb/python-interrupts.exp: Same.
9789 * gdb.gdb/python-selftest.exp: Same.
9790 * gdb.python/py-linetable.exp: Same.
9791 * gdb.python/py-type.exp: Same.
9792 * gdb.python/py-value-cc.exp: Same.
9793 * gdb.python/py-value.exp: Same.
9794
9795 2014-11-28 Yao Qi <yao@codesourcery.com>
9796
9797 * gdb.base/break-probes.exp: Match library name prefixed with
9798 sysroot.
9799
9800 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
9801
9802 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
9803 test expected output. Add parentheses for the call to print.
9804 Remove L suffix from integers.
9805
9806 2014-11-26 Doug Evans <dje@google.com>
9807
9808 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
9809
9810 2014-11-22 Yao Qi <yao@codesourcery.com>
9811
9812 * gdb.trace/entry-values.c: Remove asms.
9813 (foo): Add foo_label.
9814 (bar): Add bar_label.
9815 * gdb.trace/entry-values.exp: Remove code computing foo's
9816 length and bar's length.
9817 (Dwarf::assemble): Invoke function_range for bar and use
9818 MACRO_AT_func for foo.
9819
9820 2014-11-22 Yao Qi <yao@codesourcery.com>
9821
9822 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
9823 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
9824 Use .Lgcc43_procstart instead of gcc43.
9825
9826 2014-11-21 Joel Brobecker <brobecker@adacore.com>
9827
9828 * gdb.ada/n_arr_bound: New testcase.
9829
9830 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
9831
9832 PR breakpoints/10737
9833 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
9834 test_catch_syscall_multi_arch.
9835 (test_catch_syscall_multi_arch): New function.
9836
9837 2014-11-20 Doug Evans <xdje42@gmail.com>
9838
9839 * gdb.base/maint.exp: Update expected output.
9840
9841 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9842
9843 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
9844 4-byte instruction on S390.
9845
9846 2014-11-19 Joel Brobecker <brobecker@adacore.com>
9847
9848 * gdb.ada/arr_arr: New testcase.
9849
9850 2014-11-19 Joel Brobecker <brobecker@adacore.com>
9851
9852 * gdb.ada/pkd_arr_elem: New Testcase.
9853
9854 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
9855
9856 * gdb.reverse/break-precsave: Expect completion message for
9857 core file reads.
9858 * gdb.reverse/consecutive-precsave.exp: Likewise.
9859 * gdb.reverse/finish-precsave.exp: Likewise.
9860 * gdb.reverse/i386-precsave.exp: Likewise.
9861 * gdb.reverse/machinestate-precsave.exp: Likewise.
9862 * gdb.reverse/sigall-precsave.exp: Likewise.
9863 * gdb.reverse/solib-precsave.exp: Likewise.
9864 * gdb.reverse/step-precsave.exp: Likewise.
9865 * gdb.reverse/until-precsave.exp: Likewise.
9866 * gdb.reverse/watch-precsave.exp: Likewise.
9867
9868 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9869
9870 * gdb.base/bp-permanent.c: Include unistd.h.
9871 * gdb.python/py-framefilter-mi.c (main): Add return type.
9872 * gdb.python/py-framefilter.c (main): Likewise.
9873 * gdb.trace/actions-changed.c (main): Likewise.
9874
9875 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9876
9877 * gdb.mi/until.c: Add eye-catchers.
9878 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
9879 line numbers.
9880
9881 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9882
9883 * gdb.base/condbreak.exp: Drop references to removed non-prototype
9884 function header variants in break1.c.
9885 * gdb.base/ena-dis-br.exp: Likewise.
9886 * gdb.base/hbreak2.exp: Likewise.
9887 * gdb.reverse/until-precsave.exp: Drop references to removed
9888 non-prototype function header variants in ur1.c.
9889 * gdb.reverse/until-reverse.exp: Likewise.
9890
9891 2014-11-17 Petr Machata <pmachata@redhat.com>
9892
9893 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
9894 ${_cu_offset_size} bytes abbrev offset.
9895
9896 2014-11-15 Doug Evans <xdje42@gmail.com>
9897
9898 PR symtab/17559
9899 * gdb.base/line-symtabs.exp: New file.
9900 * gdb.base/line-symtabs.c: New file.
9901 * gdb.base/line-symtabs.h: New file.
9902
9903 2014-11-14 Yao Qi <yao@codesourcery.com>
9904
9905 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
9906 (func): Add label func_label.
9907 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
9908 Replace low_pc and high_pc with MACRO_AT_range.
9909 Replace name, low_pc and high_pc with MACRO_AT_func.
9910
9911 2014-11-14 Yao Qi <yao@codesourcery.com>
9912
9913 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
9914 Replace name, low_pc and high_pc with MACRO_AT_func.
9915
9916 2014-11-14 Yao Qi <yao@codesourcery.com>
9917
9918 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
9919 produce debug information.
9920 * gdb.dwarf2/implptr-optimized-out.S: Removed.
9921
9922 2014-11-14 Yao Qi <yao@codesourcery.com>
9923
9924 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
9925 object and get function length.
9926 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
9927 with MACRO_AT_func.
9928 (top-level): Replace gdb_compile and clean_restart with
9929 prepare_for_testing.
9930 * gdb.dwarf2/main.c (main): Add label main_label.
9931
9932 2014-11-14 Yao Qi <yao@codesourcery.com>
9933
9934 * lib/dwarf.exp (function_range): New procedure.
9935 (Dwarf::_handle_macro_at_func): New procedure.
9936 (Dwarf::_handle_macro_at_range): New procedure.
9937 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
9938
9939 2014-11-14 Yao Qi <yao@codesourcery.com>
9940
9941 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
9942 (_handle_attribute): New procedure.
9943
9944 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9945
9946 * gdb.ada/cond_lang/foo.c (callme): Add return type.
9947 * gdb.base/call-sc.c (zed): Likewise.
9948 * gdb.base/checkpoint.c (main): Likewise.
9949 * gdb.base/dump.c (main): Likewise.
9950 * gdb.base/gcore.c (main): Likewise.
9951 * gdb.base/huge.c (main): Likewise.
9952 * gdb.base/multi-forks.c (main): Likewise.
9953 * gdb.base/pr10179-a.c (main): Likewise.
9954 * gdb.base/savedregs.c (main): Likewise.
9955 * gdb.base/sigaltstack.c (main): Likewise.
9956 * gdb.base/siginfo.c (main): Likewise.
9957 * gdb.base/structs.c (zed): Likewise.
9958 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
9959 * gdb.mi/mi-syn-frame.c (main): Likewise.
9960 * gdb.mi/until.c (foo, main): Likewise.
9961 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
9962 * gdb.base/solib-weak.c (foo): Declare.
9963 * gdb.base/attach-twice.c: Include stdio.h.
9964 * gdb.base/weaklib1.c: Likewise.
9965 * gdb.base/weaklib2.c: Likewise.
9966 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
9967 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
9968 unistd.h.
9969 * gdb.base/attach-pie-misread.c: Include stdlib.h.
9970 * gdb.mi/mi-exit-code.c: Likewise.
9971 * gdb.base/break-interp-lib.c: Include string.h.
9972 * gdb.base/coremaker.c: Likewise.
9973 * gdb.base/testenv.c: Likewise.
9974 * gdb.python/py-finish-breakpoint.c: Likewise.
9975 * gdb.base/inferior-died.c: Include sys/wait.h.
9976 * gdb.base/fileio.c: Include time.h.
9977 * gdb.base/async-shell.c: Include unistd.h.
9978 * gdb.base/dprintf-non-stop.c: Likewise.
9979 * gdb.base/info-os.c: Likewise.
9980 * gdb.mi/mi-console.c: Likewise.
9981 * gdb.mi/watch-nonstop.c: Likewise.
9982 * gdb.python/py-events.c: Likewise.
9983 * gdb.base/async.c (baz): Move up before its invocation.
9984 * gdb.base/code_elim2.c (my_global_func): Likewise.
9985 * gdb.base/skip-solib-lib.c (multiply): Likewise.
9986 * gdb.base/advance.c (func2): Likewise.
9987
9988 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9989
9990 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
9991 variant.
9992 * gdb.base/annota3.c: Likewise.
9993 * gdb.base/async.c: Likewise.
9994 * gdb.base/average.c: Likewise.
9995 * gdb.base/call-ar-st.c: Likewise.
9996 * gdb.base/call-rt-st.c: Likewise.
9997 * gdb.base/call-sc.c: Likewise.
9998 * gdb.base/call-strs.c: Likewise.
9999 * gdb.base/ending-run.c: Likewise.
10000 * gdb.base/execd-prog.c: Likewise.
10001 * gdb.base/exprs.c: Likewise.
10002 * gdb.base/foll-exec.c: Likewise.
10003 * gdb.base/foll-fork.c: Likewise.
10004 * gdb.base/foll-vfork.c: Likewise.
10005 * gdb.base/funcargs.c: Likewise.
10006 * gdb.base/gcore.c: Likewise.
10007 * gdb.base/jump.c: Likewise.
10008 * gdb.base/langs0.c: Likewise.
10009 * gdb.base/langs1.c: Likewise.
10010 * gdb.base/langs2.c: Likewise.
10011 * gdb.base/mips_pro.c: Likewise.
10012 * gdb.base/nodebug.c: Likewise.
10013 * gdb.base/opaque0.c: Likewise.
10014 * gdb.base/opaque1.c: Likewise.
10015 * gdb.base/recurse.c: Likewise.
10016 * gdb.base/run.c: Likewise.
10017 * gdb.base/scope0.c: Likewise.
10018 * gdb.base/scope1.c: Likewise.
10019 * gdb.base/setshow.c: Likewise.
10020 * gdb.base/setvar.c: Likewise.
10021 * gdb.base/shmain.c: Likewise.
10022 * gdb.base/shr1.c: Likewise.
10023 * gdb.base/shr2.c: Likewise.
10024 * gdb.base/sigall.c: Likewise.
10025 * gdb.base/signals.c: Likewise.
10026 * gdb.base/so-indr-cl.c: Likewise.
10027 * gdb.base/solib2.c: Likewise.
10028 * gdb.base/structs.c: Likewise.
10029 * gdb.base/sum.c: Likewise.
10030 * gdb.base/vforked-prog.c: Likewise.
10031 * gdb.base/watchpoint.c: Likewise.
10032 * gdb.reverse/shr2.c: Likewise.
10033 * gdb.reverse/until-reverse.c: Likewise.
10034 * gdb.reverse/ur1.c: Likewise.
10035 * gdb.reverse/watch-reverse.c: Likewise.
10036
10037 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10038
10039 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
10040 variant.
10041 * gdb.base/sepdebug.exp: Drop references to removed code.
10042
10043 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10044
10045 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
10046 variant. Preserve original line numbering.
10047 * gdb.base/list1.c: Likewise.
10048
10049 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10050
10051 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
10052 variant.
10053 * gdb.base/break1.c: Likewise.
10054 * gdb.base/break.exp: Drop references to removed code.
10055
10056 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10057
10058 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
10059 variant.
10060
10061 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10062
10063 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
10064
10065 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10066
10067 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
10068 logic into perform_all_tests() and invoke it with and without
10069 function header prototypes.
10070 (do_function_calls): Remove conditional XFAIL for PR 5318.
10071 (rerun_and_prepare): Remove duplicate code.
10072 (perform_all_tests): New. Main logic moved here.
10073
10074 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10075
10076 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
10077 code guarded by #ifdef NO_PROTOTYPES.
10078 (t_double_many_args): Likewise.
10079 (DEF_FUNC_MANY_ARGS_1): Likewise.
10080 (DEF_FUNC_VALUES_1): Likewise.
10081 (t_structs_ldc): Renamed from t_structs_fc in conditional code
10082 guarded by #ifdef PROTOTYPES.
10083
10084 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10085
10086 * gdb.mi/mi-console.c: Add eye-catcher.
10087 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
10088 instead of literal line number.
10089
10090 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10091
10092 * gdb.base/shr2.c: Add eye-catcher.
10093 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
10094 line number.
10095
10096 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10097
10098 * gdb.base/jump.c: Add eye-catchers.
10099 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
10100 numbers.
10101
10102 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10103
10104 * gdb.base/execd-prog.c: Add eye-catchers.
10105 * gdb.base/foll-exec.c: Likewise.
10106 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
10107 line numbers.
10108
10109 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10110
10111 * gdb.base/ending-run.c: Add eye-catchers.
10112 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
10113 literal line numbers.
10114
10115 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10116
10117 * gdb.base/call-rt-st.c: Add eye-catchers.
10118 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
10119 literal line numbers.
10120
10121 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10122
10123 * gdb.base/call-ar-st.c: Add eye-catchers.
10124 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
10125 literal line numbers.
10126
10127 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10128
10129 * gdb.base/average.c: Add eye-catchers.
10130 * gdb.base/sum.c: Likewise.
10131 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
10132 regexps dynamically.
10133
10134 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10135
10136 * gdb.base/solib1.c: Add eye-catchers.
10137 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
10138 literal line numbers.
10139
10140 2014-11-12 Pedro Alves <palves@redhat.com>
10141
10142 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
10143 leader has exited.
10144
10145 2014-11-12 Pedro Alves <palves@redhat.com>
10146
10147 * gdb.arch/i386-bp_permanent.c: New file.
10148 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
10149 (srcfile): Set to i386-bp_permanent.c.
10150 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
10151 that stepi does not execute the 'leave' instruction, instead of
10152 testing it does execute.
10153 * gdb.base/bp-permanent.c: New file.
10154 * gdb.base/bp-permanent.exp: New file.
10155
10156 2014-11-10 Doug Evans <xdje42@gmail.com>
10157
10158 PR symtab/17564
10159 * gdb.base/symtab-search-order.exp: New file.
10160 * gdb.base/symtab-search-order.c: New file.
10161 * gdb.base/symtab-search-order-1.c: New file.
10162 * gdb.base/symtab-search-order-shlib-1.c: New file.
10163
10164 2014-11-07 Pedro Alves <palves@redhat.com>
10165
10166 PR gdb/17511
10167 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
10168 i?86-*-linux*.
10169
10170 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
10171
10172 PR c++/17494
10173 * gdb.cp/pr17494.cc: New file.
10174 * gdb.cp/pr17494.exp: New file.
10175
10176 2014-11-02 Yao Qi <yao@codesourcery.com>
10177
10178 * gdb.python/python.exp: Get working directory and match the
10179 output of "set extended-prompt \\w " with it.
10180
10181 2014-10-30 Doug Evans <dje@google.com>
10182
10183 * gdb.python/py-objfile.exp: Add tests for setting random attributes
10184 in objfiles.
10185 * gdb.python/py-progspace.exp: Add tests for setting random attributes
10186 in progspaces.
10187
10188 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
10189
10190 * gdb.base/fullpath-expand.exp: Skip for a remote host.
10191 * gdb.base/realname-expand.exp: Likewise.
10192 * gdb.linespec/macro-relative.exp: Likewise.
10193
10194 2014-10-29 Pedro Alves <palves@redhat.com>
10195
10196 PR gdb/17408
10197 * gdb.threads/schedlock.c (some_function): New function.
10198 (call_function): New global.
10199 (MAYBE_CALL_SOME_FUNCTION): New macro.
10200 (thread_function): Call it.
10201 * gdb.threads/schedlock.exp (get_args): Add description parameter,
10202 and use it instead of a global counter. Adjust all callers.
10203 (get_current_thread): Use "find current thread" for test message
10204 here rather than having all callers pass down the same string.
10205 (goto_loop): New procedure, factored out from ...
10206 (my_continue): ... this.
10207 (step_ten_loops): Change parameter from test message to command to
10208 use. Adjust.
10209 (list_count): Delete global.
10210 (check_result): New procedure, factored out from duplicate top
10211 level code.
10212 (continue tests): Wrap in with_test_prefix.
10213 (test_step): New procedure, factored out from duplicate top level
10214 code.
10215 (top level): Test "step" in combination with all scheduler-locking
10216 modes. Test "next" in combination with all scheduler-locking
10217 modes, and in combination with stepping over a function call or
10218 not.
10219 * gdb.threads/next-bp-other-thread.c: New file.
10220 * gdb.threads/next-bp-other-thread.exp: New file.
10221
10222 2014-10-29 Pedro Alves <palves@redhat.com>
10223
10224 PR python/17372
10225 * gdb.python/python.exp: Test a multi-line command that spawns
10226 interactive Python.
10227 * gdb.base/multi-line-starts-subshell.exp: New file.
10228
10229 2014-10-29 Yao Qi <yao@codesourcery.com>
10230
10231 * gdb.base/fileio.exp: Make directories on host.
10232
10233 2014-10-29 Yao Qi <yao@codesourcery.com>
10234
10235 * gdb.base/fileio.c (test_write): Close the file.
10236
10237 2014-10-28 Pedro Alves <palves@redhat.com>
10238
10239 PR gdb/12623
10240 * gdb.base/sigstep.c (no_handler): New global.
10241 (main): If 'no_handler is true, set the signal handlers to
10242 SIG_IGN.
10243 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
10244 with_sw_watch and no_handler parameters. Handle them.
10245 (top level) <stepping over handler when stopped at a breakpoint
10246 test>: Add a test axis for testing with a software watchpoint, and
10247 another for testing with the signal handler set to SIG_IGN.
10248 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
10249 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
10250
10251 2014-10-28 Pedro Alves <palves@redhat.com>
10252
10253 PR gdb/17511
10254 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
10255 * gdb.base/sigstep.exp (other_handler_location): New global.
10256 (advance): Support stepping into the signal handler, and running
10257 commands while in the handler.
10258 (in_handler_map): New global.
10259 (top level): In the advance test, add combinations for getting
10260 into the handler with stepping commands, and for running commands
10261 in the handler. Add comment descripting the advancei tests.
10262
10263 2014-10-28 Pedro Alves <palves@redhat.com>
10264
10265 * gdb.base/sigstep.exp: Use build_executable instead of
10266 prepare_for_testing.
10267 (top level): Move code that starts GDB, runs to main and creates a
10268 display to ...
10269 (restart): ... this new procedure.
10270 (top level): Move backtrace from signal handler test to ...
10271 (validate_backtrace): ... this new procedure.
10272 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
10273 with_test_prefix. Always restart GDB.
10274 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
10275 with_test_prefix. Always restart GDB. No need to delete
10276 breakpoints after the test.
10277 (test_skip_handler): Remove prefix parameter.
10278 (skip_over_handler, breakpoint_to_handler)
10279 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
10280 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
10281 restart GDB. No need to delete breakpoints after the test.
10282 (top level): Use foreach to call the test procedures with
10283 different commands.
10284
10285 2014-10-28 Pedro Alves <palves@redhat.com>
10286
10287 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
10288 instead of GNATS numbers.
10289 * gdb.base/sigbpt.exp: Likewise.
10290 * gdb.base/siginfo.exp: Likewise.
10291 * gdb.base/sigstep.exp: Likewise.
10292
10293 2014-10-27 Pedro Alves <palves@redhat.com>
10294
10295 * gdb.base/sigstep.c (dummy): New global.
10296 (main): Issue a couple writes to the new global.
10297 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
10298 procedures.
10299 (skip_over_handler): Use test_skip_handler.
10300 (top level): Call skip_over_handler for stepi and nexti too.
10301 (breakpoint_over_handler): Use test_skip_handler.
10302 (top level): Call breakpoint_over_handler for stepi and nexti too.
10303
10304 2014-10-27 Yao Qi <yao@codesourcery.com>
10305
10306 * gdb.trace/tfile.c (adjust_function_address)
10307 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
10308 function descriptor.
10309
10310 2014-10-24 Don Breazeal <donb@codesourcery.com>
10311
10312 * gdb.base/foll-fork.exp (test_follow_fork,
10313 catch_fork_child_follow): Check for updated fork messages emitted
10314 from infrun.c.
10315 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
10316 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
10317 vfork_and_exec_child_follow_through_step): Check for updated vfork
10318 messages emitted from infrun.c.
10319
10320 2014-10-24 Pedro Alves <palves@redhat.com>
10321
10322 * gdb.base/corefile.exp: Remove references to ultrix.
10323 * gdb.base/interrupt.exp: Likewise.
10324 * gdb.base/whatis.exp: Likewise.
10325 * gdb.gdb/selftest.exp: Likewise.
10326 * gdb.threads/manythreads.exp: Likewise.
10327 * gdb.threads/print-threads.exp: Likewise.
10328 * gdb.threads/pthreads.exp:: Likewise.
10329 * gdb.threads/schedlock.exp: Likewise.
10330
10331 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
10332
10333 * gdb.cp/non-trivial-retval.cc: Add a test case.
10334 * gdb.cp/non-trivial-retval.exp: Add a test.
10335
10336 2014-10-20 Yao Qi <yao@codesourcery.com>
10337
10338 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
10339 * gdb.python/py-objfile-script-gdb.py: New file.
10340 * gdb.python/py-objfile-script.exp: Update reference to
10341 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
10342 of remote_download. Remove the dest file.
10343
10344 2014-10-20 Yao Qi <yao@codesourcery.com>
10345
10346 * gdb.base/checkpoint.exp: Don't remove file copied on host.
10347 * gdb.base/step-line.exp: Likewise.
10348 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
10349 * gdb.dwarf2/dw2-basic.exp: Likewise.
10350 * gdb.dwarf2/dw2-compressed.exp: Likewise.
10351 * gdb.dwarf2/dw2-filename.exp: Likewise.
10352 * gdb.dwarf2/dw2-intercu.exp: Likewise.
10353 * gdb.dwarf2/dw2-intermix.exp: Likewise.
10354 * gdb.dwarf2/dw2-producer.exp: Likewise.
10355 * gdb.dwarf2/mac-fileno.exp: Likewise.
10356 * gdb.python/py-frame-args.exp: Likewise.
10357 * gdb.python/py-framefilter.exp: Likewise.
10358 * gdb.python/py-mi.exp: Likewise.
10359 * gdb.python/py-objfile-script.exp: Likewise
10360 * gdb.python/py-pp-integral.exp: Likewise.
10361 * gdb.python/py-pp-re-notag.exp: Likewise.
10362 * gdb.python/py-prettyprint.exp: Likewise.
10363 * gdb.python/py-section-script.exp: Likewise.
10364 * gdb.python/py-typeprint.exp: Likewise.
10365 * gdb.python/py-xmethods.exp: Likewise.
10366 * gdb.stabs/weird.exp: Likewise.
10367 * gdb.xml/tdesc-regs.exp: Likewise.
10368
10369 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
10370
10371 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
10372 (out_cu): Use addr_len for the size of addresses.
10373 (out_line): Likewise. Size DW_LNE_set_address instruction
10374 according to addr_len.
10375 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
10376 (FUNC): Add START_INSNS to definition.
10377
10378 2014-10-18 Yao Qi <yao@codesourcery.com>
10379
10380 * gdb.base/argv0-symlink.exp: Check argv[0] value if
10381 gdb_has_argv0 return true.
10382 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
10383 check [target_info exists noargs], check [gdb_has_argv0]
10384 instead.
10385 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
10386 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
10387 procedures.
10388
10389 2014-10-17 Doug Evans <dje@google.com>
10390
10391 * gdb.python/py-events.exp: Update expected output for clear_objfiles
10392 event.
10393 * gdb.python/py-events.py: Add clear_objfiles event.
10394
10395 2014-10-17 Doug Evans <dje@google.com>
10396
10397 * gdb.python/py-objfile.exp: Test progspace attribute.
10398
10399 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
10400
10401 * gdb.guile/scm-breakpoint.exp: Do not assume any
10402 directory separators when matching source file paths.
10403 * gdb.python/py-breakpoint.exp: Likewise.
10404 * gdb.reverse/break-precsave.exp: Likewise.
10405 * gdb.reverse/break-reverse.exp: Likewise.
10406 * gdb.reverse/consecutive-precsave.exp: Likewise.
10407 * gdb.reverse/finish-precsave.exp: Likewise.
10408 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
10409 * gdb.reverse/finish-reverse.exp: Likewise.
10410 * gdb.reverse/i386-precsave.exp: Likewise.
10411 * gdb.reverse/i387-env-reverse.exp: Likewise.
10412 * gdb.reverse/i387-stack-reverse.exp: Likewise.
10413 * gdb.reverse/machinestate-precsave.exp: Likewise.
10414 * gdb.reverse/machinestate.exp: Likewise.
10415 * gdb.reverse/sigall-precsave.exp: Likewise.
10416 * gdb.reverse/solib-precsave.exp: Likewise.
10417 * gdb.reverse/step-precsave.exp: Likewise.
10418 * gdb.reverse/until-precsave.exp: Likewise.
10419 * gdb.reverse/watch-precsave.exp: Likewise.
10420 * gdb.reverse/watch-reverse.exp: Likewise.
10421
10422 2014-10-17 Yao Qi <yao@codesourcery.com>
10423
10424 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
10425 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
10426
10427 2014-10-17 Pedro Alves <palves@redhat.com>
10428
10429 PR gdb/17471
10430 * gdb.base/bg-execution-repeat.c: New file.
10431 * gdb.base/bg-execution-repeat.exp: New file.
10432
10433 2014-10-17 Pedro Alves <palves@redhat.com>
10434
10435 PR gdb/17300
10436 * gdb.base/continue-all-already-running.c: New file.
10437 * gdb.base/continue-all-already-running.exp: New file.
10438
10439 2014-10-17 Pedro Alves <palves@redhat.com>
10440
10441 PR gdb/17472
10442 * gdb.base/annota-input-while-running.c: New file.
10443 * gdb.base/annota-input-while-running.exp: New file.
10444
10445 2014-10-17 Pedro Alves <palves@redhat.com>
10446
10447 * gdb.base/callfuncs.exp: emove references to osf.
10448 * gdb.base/sigall.exp: Likewise.
10449 * gdb.gdb/selftest.exp: Likewise.
10450 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
10451 * gdb.mi/non-stop.c: Likewise.
10452 * gdb.mi/pthreads.c: Likewise.
10453 * gdb.reverse/sigall-precsave.exp: Likewise.
10454 * gdb.reverse/sigall-reverse.exp: Likewise.
10455 * gdb.threads/pthreads.c: Likewise.
10456 * gdb.threads/pthreads.exp: Likewise.
10457
10458 2014-10-17 Yao Qi <yao@codesourcery.com>
10459
10460 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
10461 check 'target_info exists noargs'.
10462 (test_command_prompt_position): Likewise.
10463 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
10464 Remove "set args".
10465 (progvar_simple_while_test): Likewise.
10466 (progvar_complex_if_while_test): Likewise.
10467 (if_while_breakpoint_command_test): Likewise.
10468 (infrun_breakpoint_command_test): Likewise.
10469 (breakpoint_command_test): Likewise.
10470 (watchpoint_command_test): Likewise.
10471 (bp_deleted_in_command_test): Likewise.
10472 (temporary_breakpoint_commands): Likewise.
10473
10474 2014-10-16 Yao Qi <yao@codesourcery.com>
10475
10476 * gdb.base/remotetimeout.exp: Remove noargs checking.
10477
10478 2014-10-15 Pedro Alves <palves@redhat.com>
10479
10480 PR breakpoints/9649
10481 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
10482 * gdb.base/breakpoint-in-ro-region.exp
10483 (probe_target_hardware_step): New procedure.
10484 (top level): Probe hardware stepping and hardware breakpoint
10485 support. Test stepping through a read-only region, with both
10486 "breakpoint auto-hw" on and off and both "always-inserted" on and
10487 off.
10488
10489 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
10490
10491 * gdb.dlang/demangle.exp: Update for demangling changes.
10492
10493 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
10494
10495 * gdb.cp/non-trivial-retval.cc: Add new test cases.
10496 * gdb.cp/non-trivial-retval.exp: Add new tests.
10497
10498 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
10499
10500 PR c++/13403
10501 PR c++/15154
10502 * gdb.cp/non-trivial-retval.cc: New file.
10503 * gdb.cp/non-trivial-retval.exp: New file.
10504
10505 2014-10-15 Yao Qi <yao@codesourcery.com>
10506
10507 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
10508 remote host.
10509
10510 2014-10-15 Yao Qi <yao@codesourcery.com>
10511
10512 * gdb.python/py-symbol.exp: Match file base name if host is
10513 remote, otherwise match file name with dir name.
10514 * gdb.python/py-symtab.exp: Likewise.
10515 * gdb.python/python.exp: Likewise.
10516
10517 2014-10-15 Yao Qi <yao@codesourcery.com>
10518
10519 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
10520 pattern.
10521 * gdb.python/py-symtab.exp: Likewise.
10522 * gdb.python/python.exp: Remove trailing ".*". Fix typo
10523 locationn.
10524
10525 2014-10-14 Joel Brobecker <brobecker@adacore.com>
10526
10527 * gdb.ada/addr_arith: New testcase.
10528
10529 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
10530
10531 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
10532 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
10533 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
10534 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
10535
10536 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
10537
10538 * gdb.arch/stap-eval-lang-ada.S: Likewise.
10539 * gdb.arch/stap-eval-lang-ada.c: Likewise.
10540 * gdb.arch/stap-eval-lang-ada.exp: New file.
10541
10542 2014-10-14 Yao Qi <yao@codesourcery.com>
10543
10544 * gdb.mi/mi-var-child.c (nothing1): New function.
10545 (nothing2): New function.
10546 (do_children_tests): Set function pointers by nothing1 and
10547 nothing2.
10548 * gdb.mi/mi-var-child.exp: Step over new added statements.
10549 Update test to match the new output.
10550 * gdb.mi/var-cmd.c (nothing1): New function.
10551 (nothing2): New function.
10552 (do_children_tests): Set function pointers by nothing1 and
10553 nothing2.
10554 * gdb.mi/mi-var-display.exp: Update test to match output.
10555 Step to the line specified by $line_dct_nothing.
10556 Increase the number of lines to step.
10557
10558 2014-10-14 Yao Qi <yao@codesourcery.com>
10559
10560 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
10561 tests.
10562 * gdb.mi/mi2-var-child.exp: Likewise.
10563
10564 2014-10-13 Doug Evans <dje@google.com>
10565
10566 * gdb.python/py-objfile.exp: Change name of file name test.
10567
10568 2014-10-13 Doug Evans <dje@google.com>
10569
10570 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
10571 from the start of the CU.
10572
10573 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10574 Yao Qi <yao@codesourcery.com>
10575
10576 Fix "save breakpoints" for "catch" command.
10577 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
10578 Remove -nonewline. Match also the added "main" line.
10579
10580 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10581
10582 Fix "save breakpoints" for "disable $bpnum" command.
10583 * gdb.base/save-bp.c (main): Add label.
10584 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
10585
10586 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10587
10588 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
10589
10590 2014-10-11 Yao Qi <yao@codesourcery.com>
10591
10592 * gdb.server/server-kill.exp: Execute command
10593 "set remote trace-status-packet on" before "tstatus".
10594
10595 2014-10-11 Yao Qi <yao@codesourcery.com>
10596
10597 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
10598 (main): Call getppid.
10599 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
10600 and continue to it. Read variable "server_pid".
10601
10602 2014-10-11 Yao Qi <yao@codesourcery.com>
10603
10604 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
10605
10606 2014-10-11 Yao Qi <yao@codesourcery.com>
10607
10608 * gdb.threads/thread-find.exp: Don't execute command
10609 "info threads".
10610 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
10611 * gdb.threads/linux-dp.exp: Don't check the condition
10612 $threads_created equals to zero.
10613
10614 2014-10-10 Pedro Alves <palves@redhat.com>
10615
10616 * gdb.base/bigcore.exp: Remove references to IRIX.
10617 * gdb.base/funcargs.exp: Likewise.
10618 * gdb.base/interrupt.exp: Likewise.
10619 * gdb.base/mips_pro.exp: Likewise.
10620 * gdb.base/nodebug.exp: Likewise.
10621 * gdb.base/setvar.exp: Likewise.
10622 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
10623
10624 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10625 Pedro Alves <palves@redhat.com>
10626
10627 PR symtab/14466
10628 * gdb.base/vdso-warning.c: New file.
10629 * gdb.base/vdso-warning.exp: New file.
10630
10631 2014-10-02 Doug Evans <dje@google.com>
10632
10633 * gdb.base/structs.c (main): Don't run forever.
10634
10635 2014-10-02 Pedro Alves <palves@redhat.com>
10636
10637 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
10638 (top level) <stop threads 1, stop threads 2>: Use it.
10639
10640 2014-10-02 Pedro Alves <palves@redhat.com>
10641
10642 * gdb.threads/break-while-running.exp (test): Add new
10643 'update_thread_list' argument. Skip "info threads" if false.
10644 (top level): Add new 'update_thread_list' axis.
10645
10646 2014-10-02 Pedro Alves <palves@redhat.com>
10647
10648 PR breakpoints/17431
10649 * gdb.base/execl-update-breakpoints.c: New file.
10650 * gdb.base/execl-update-breakpoints.exp: New file.
10651
10652 2014-10-01 Pedro Alves <palves@redhat.com>
10653
10654 * gdb.base/breakpoint-in-ro-region.c: New file.
10655 * gdb.base/breakpoint-in-ro-region.exp: New file.
10656
10657 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
10658
10659 * gdb.mi/mi-exit-code.exp: New file.
10660 * gdb.mi/mi-exit-code.c: New file.
10661
10662 2014-09-30 Yao Qi <yao@codesourcery.com>
10663
10664 * lib/prelink-support.exp (build_executable_own_libs): Error if
10665 the target isn't native.
10666
10667 2014-09-30 Yao Qi <yao@codesourcery.com>
10668
10669 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
10670 false.
10671
10672 2014-09-22 Pedro Alves <palves@redhat.com>
10673
10674 * gdb.threads/break-while-running.exp: New file.
10675 * gdb.threads/break-while-running.c: New file.
10676
10677 2014-09-19 Yao Qi <yao@codesourcery.com>
10678
10679 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
10680 Invoke test. Restart GDB with --readnow and invoke test again.
10681
10682 2014-09-19 Yao Qi <yao@codesourcery.com>
10683
10684 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
10685 proc set_breakpoint_on_gcd_function. Invoke
10686 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
10687 invoke set_breakpoint_on_gcd_function again.
10688
10689 2014-09-18 Doug Evans <dje@google.com>
10690
10691 * gdb.dwarf2/symtab-producer.exp: New file.
10692
10693 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
10694
10695 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
10696 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
10697 * gdb.base/global-var-nested-by-dso.c: Likewise.
10698 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10699
10700 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
10701 Pedro Alves <palves@redhat.com>
10702
10703 * gdb.base/watch-bitfields.exp: Pass string other than test file
10704 name to prepare_for_testing.
10705 (watch): New procedure.
10706 (expect_watchpoint): Use with_test_prefix.
10707 (top level): Factor out tests to ...
10708 (test_watch_location, test_regular_watch): ... these new
10709 procedures, and use with_test_prefix and gdb_continue_to_end.
10710
10711 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
10712
10713 PR breakpoints/12526
10714 * gdb.base/watch-bitfields.exp: New file.
10715 * gdb.base/watch-bitfields.c: New file.
10716
10717 2014-09-16 Pedro Alves <palves@redhat.com>
10718
10719 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
10720 software and hardware addresses, not software address against
10721 itself.
10722
10723 2014-09-16 Pedro Alves <palves@redhat.com>
10724
10725 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
10726 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
10727
10728 2014-09-16 Pedro Alves <palves@redhat.com>
10729
10730 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
10731 files.
10732 * gdb.base/a2-run.exp: Remove all code guarded by istarget
10733 "*-*-vxworks*" throughout.
10734 * gdb.base/break.exp: Likewise.
10735 * gdb.base/default.exp: Likewise.
10736 * gdb.base/scope.exp: Likewise.
10737 * gdb.base/sepdebug.exp: Likewise.
10738 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
10739 throughout.
10740 * gdb.base/run.c: Likewise.
10741 * gdb.base/sepdebug.c: Likewise.
10742 * gdb.hp/gdb.aCC/run.c: Likewise.
10743 * gdb.reverse/until-reverse.c: Likewise.
10744 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
10745
10746 2014-09-16 Yao Qi <yao@codesourcery.com>
10747
10748 * boards/local-remote-host-native.exp: New file.
10749
10750 2014-09-14 Doug Evans <xdje42@gmail.com>
10751
10752 * gdb.threads/queue-signal.c (thread_count): New variable.
10753 (thread_count_mutex, thread_count_condvar): New variables.
10754 (incr_thread_count, wait_all_threads_running): New functions.
10755 (main): Wait for all threads to be in their thread functions.
10756
10757 2014-09-13 Doug Evans <xdje42@gmail.com>
10758
10759 * gdb.threads/queue-signal.c: New file.
10760 * gdb.threads/queue-signal.exp: New file.
10761
10762 2014-09-13 Doug Evans <xdje42@gmail.com>
10763
10764 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
10765 be consistent with what default_gdb_init uses.
10766 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
10767 the plain text of the prompt. Add some logging printfs.
10768 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
10769
10770 2014-09-12 Pedro Alves <palves@redhat.com>
10771
10772 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
10773 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
10774 * gdb.arch/i386-size-overlap.exp: Likewise.
10775 * gdb.arch/i386-size.exp: Likewise.
10776 * gdb.arch/i386-unwind.exp: Likewise.
10777 * gdb.base/a2-run.exp: Likewise.
10778 * gdb.base/break.exp: Likewise.
10779 * gdb.base/charset.exp: Likewise.
10780 * gdb.base/chng-syms.exp: Likewise.
10781 * gdb.base/commands.exp: Likewise.
10782 * gdb.base/dbx.exp: Likewise.
10783 * gdb.base/find.exp: Likewise.
10784 * gdb.base/funcargs.exp: Likewise.
10785 * gdb.base/jit-simple.exp: Likewise.
10786 * gdb.base/reread.exp: Likewise.
10787 * gdb.base/sepdebug.exp: Likewise.
10788 * gdb.base/step-bt.exp: Likewise.
10789 * gdb.cp/mb-inline.exp: Likewise.
10790 * gdb.cp/mb-templates.exp: Likewise.
10791 * gdb.objc/basicclass.exp: Likewise.
10792 * gdb.threads/killed.exp: Likewise.
10793
10794 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10795
10796 PR tdep/17379
10797 * gdb.arch/powerpc-stackless.S: New file.
10798 * gdb.arch/powerpc-stackless.exp: New file.
10799
10800 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10801
10802 * gdb.base/attach.c: Include unistd.h.
10803 (main): Call alarm. Add label postloop.
10804 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
10805 gdb_breakpoint, gdb_continue_to_breakpoint.
10806 (test_command_line_attach_run): Kill ${testpid} in one exit path.
10807
10808 2014-09-11 Pedro Alves <palves@redhat.com>
10809
10810 PR gdb/17347
10811 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
10812 * gdb.base/attach.exp (test_command_line_attach_run): New
10813 procedure.
10814 (top level): Call it.
10815
10816 2014-09-11 Pedro Alves <palves@redhat.com>
10817
10818 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
10819 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
10820 (do_command_attach_tests): Use spawn_wait_for_attach.
10821 * gdb.base/solib-overlap.exp: Likewise.
10822 * gdb.multi/multi-attach.exp: Likewise.
10823 * gdb.python/py-prompt.exp: Likewise.
10824 * gdb.python/py-sync-interp.exp: Likewise.
10825 * gdb.server/ext-attach.exp: Likewise.
10826
10827 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
10828
10829 * gdb.fortran/array-element.exp: Remove unexpected "continue"
10830 command in testcase. Simplify testcase.
10831
10832 2014-09-10 Joel Brobecker <brobecker@adacore.com>
10833
10834 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
10835
10836 2014-09-10 Joel Brobecker <brobecker@adacore.com>
10837
10838 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
10839
10840 2014-09-10 Joel Brobecker <brobecker@adacore.com>
10841
10842 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
10843
10844 2014-09-10 Joel Brobecker <brobecker@adacore.com>
10845
10846 * gdb.dwarf2/dynarr-ptr.c: New file.
10847 * gdb.dwarf2/dynarr-ptr.exp: New file.
10848
10849 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10850
10851 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
10852 of 30 rather than hardcoding 120 for a slow test case. Take the
10853 `gdb,timeout' target setting into account for this calculation.
10854 Don't extend the timeout for the test cases that don't need it.
10855
10856 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10857
10858 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
10859 a factor of 2 for a slow test case. Take the `gdb,timeout'
10860 target setting into account for this calculation.
10861 * gdb.reverse/until-precsave.exp: Increase the timeout by
10862 a factor of 15 and 3 respectively rather than adding 120
10863 for a pair of slow test cases. Take the `gdb,timeout'
10864 target setting into account for this calculation.
10865
10866 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10867
10868 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
10869 timeout, don't pass one down to gdb_expect.
10870 (gdb_expect): Rework timeout selection.
10871
10872 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10873
10874 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
10875 exception on timeout.
10876 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
10877 (gdbserver_start_extended): Catch any `gdbserver_start' error
10878 exceptions.
10879 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
10880 * lib/mi-support.exp (mi_gdb_target_load): Catch any
10881 `gdbserver_gdb_load' error exceptions.
10882
10883 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10884
10885 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
10886 120 on waiting for the TCP socket to open.
10887
10888 2014-09-09 Doug Evans <xdje42@gmail.com>
10889
10890 * gdb.base/default.exp (show_conv_list): Add _caller_is,
10891 _caller_matches, _any_caller_is, _any_caller_matches.
10892
10893 2014-09-09 Doug Evans <xdje42@gmail.com>
10894
10895 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
10896
10897 2014-09-09 Yao Qi <yao@codesourcery.com>
10898
10899 * gdb.mi/mi-var-display.exp: Set print symbol off.
10900
10901 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
10902
10903 PR gdb/17035
10904 * gdb.base/commands.exp: Add tests to verify user-defined
10905 commands with empty bodies.
10906 * gdb.python/py-cmd.exp: Test that we don't show user-defined
10907 python commands in `show user command`.
10908 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
10909 scheme commands in `show user command`.
10910
10911 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10912
10913 PR python/17355
10914 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
10915 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
10916 * gdb.python/py-framefilter-invalidarg.exp: New file.
10917 * gdb.python/py-framefilter-invalidarg.py: New file.
10918
10919 2014-09-06 Doug Evans <xdje42@gmail.com>
10920
10921 PR 15276
10922 * gdb.python/py-caller-is.c: New file.
10923 * gdb.python/py-caller-is.exp: New file.
10924
10925 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
10926
10927 PR gdb/17235
10928 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
10929 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
10930
10931 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
10932
10933 PR fortran/17237
10934 * gdb.fortran/print-formatted.exp: New file.
10935 * gdb.fortran/print-formatted.f90: Likewise.
10936
10937 2014-09-03 Sasha Smundak <asmundak@google.com>
10938
10939 * gdb.python/py-frame.exp: Test Frame.read_register.
10940
10941 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
10942
10943 PR python/16699
10944 * gdb.python/py-completion.exp: New file.
10945 * gdb.python/py-completion.py: Likewise.
10946
10947 2014-08-28 Doug Evans <dje@google.com>
10948
10949 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
10950 eax,etc. are live with values set by gdb and thus the compiler can't
10951 use them.
10952 * gdb.arch/i386-pseudo.c (main): Ditto.
10953
10954 2014-08-27 Doug Evans <dje@google.com>
10955
10956 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
10957
10958 2014-08-25 Doug Evans <dje@google.com>
10959
10960 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
10961 (main): Ditto.
10962
10963 2014-08-25 Doug Evans <dje@google.com>
10964
10965 * gdb.threads/thread-execl.exp: #include <stdio.h>.
10966
10967 2014-08-24 Yao Qi <yao@codesourcery.com>
10968
10969 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
10970 symbol off.
10971 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
10972
10973 2014-08-22 Doug Evans <dje@google.com>
10974
10975 PR 17276
10976 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
10977 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
10978 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
10979
10980 2014-08-22 Yao Qi <yao@codesourcery.com>
10981
10982 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
10983 * gdb.python/py-finish-breakpoint2.exp: Likewise.
10984 * gdb.python/python.exp: Likewise. Use .py file on the host
10985 instead of the build.
10986
10987 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10988
10989 * gdb.threads/gcore-stale-thread.c: New file.
10990 * gdb.threads/gcore-stale-thread.exp: New file.
10991
10992 2014-08-21 Pedro Alves <palves@redhat.com>
10993
10994 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
10995 * gdb.base/gcore-relro-pie.exp: Likewise.
10996 * gdb.base/gcore-relro.exp: Likewise.
10997 * gdb.base/gcore.exp: Likewise.
10998 * gdb.base/print-symbol-loading.exp: Likewise.
10999 * gdb.threads/gcore-thread.exp: Likewise.
11000 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
11001
11002 2014-08-20 Pedro Alves <palves@redhat.com>
11003 Jan Kratochvil <jan.kratochvil@redhat.com>
11004
11005 * Makefile.in (EXTRA_RULES, CC): New variables, get from
11006 configure.
11007 (EXPECT): Handle READ1 being set.
11008 (all): Depend on EXTRA_RULES.
11009 (check-read1, expect-read1, read1.so, read1): New rules.
11010 * README (Testsuite Parameters): Document the READ1 make variable.
11011 (Race detection): New section.
11012 * configure: Regenerate.
11013 * configure.ac: If build==host==target, and running under a
11014 GNU/glibc system, add read1 to the extra Makefile rules.
11015 (EXTRA_RULES): AC_SUBST it.
11016 * lib/read1.c: New file.
11017
11018 2014-08-20 Joel Brobecker <brobecker@adacore.com>
11019
11020 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
11021 the handling of variables declared as a typedef to an array
11022 which a DW_AT_data_location attribute.
11023
11024 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
11025 Pedro Alves <palves@redhat.com>
11026
11027 PR symtab/14604
11028 PR symtab/14605
11029 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
11030 gdb_test.
11031
11032 2014-08-19 Pedro Alves <palves@redhat.com>
11033
11034 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
11035
11036 2014-08-19 Yao Qi <yao@codesourcery.com>
11037
11038 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
11039 right line.
11040
11041 2014-08-18 David Blaikie <dblaikie@gmail.com>
11042
11043 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
11044
11045 2014-08-18 Joel Brobecker <brobecker@adacore.com>
11046
11047 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
11048 attribute in array range.
11049
11050 2014-08-18 Joel Brobecker <brobecker@adacore.com>
11051
11052 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
11053
11054 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
11055
11056 PR c++/17132
11057 * gdb.cp/pr17132.cc: New file.
11058 * gdb.cp/pr17132.exp: New file.
11059
11060 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
11061
11062 * gdb.python/py-xmethods.py (A_getarrayind)
11063 (E_method_char_worker.__call__, E_method_int_worker.__call__):
11064 Use 'print' with function call syntax.
11065 (E_method_matcher.match): Fix tab vs space indentation mixup.
11066
11067 2014-08-15 Yao Qi <yao@codesourcery.com>
11068
11069 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
11070 false.
11071
11072 2014-08-15 Yao Qi <yao@codesourcery.com>
11073
11074 * gdb.cp/casts.exp: Set print symbol off.
11075 * gdb.cp/class2.exp: Likewise.
11076 * gdb.cp/overload.exp: Likewise.
11077 * gdb.cp/templates.exp: Likewise.
11078
11079 2014-08-11 Doug Evans <dje@google.com>
11080
11081 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
11082 (test_load_shlib): Update.
11083
11084 2014-08-09 Yao Qi <yao@codesourcery.com>
11085
11086 * gdb.base/display.exp: Invoke is_address_zero_readable.
11087 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
11088 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
11089 * gdb.base/hbreak-unmapped.exp: Return if
11090 is_address_zero_readable returns true.
11091 * gdb.base/signest.exp: Likewise.
11092 * gdb.base/signull.exp: Likewise.
11093 * gdb.base/sigbpt.exp: Likewise.
11094 * gdb.guile/scm-disasm.exp: Do the test if
11095 is_address_zero_readable returns false.
11096 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
11097 * gdb.python/py-arch.exp: Likewise.
11098 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
11099 * lib/gdb.exp (is_address_zero_readable): New proc.
11100
11101 2014-08-09 Yao Qi <yao@codesourcery.com>
11102
11103 PR testsuite/13443
11104 * gdb.mi/mi-var-display.exp: Make test messages unique.
11105
11106 2014-08-04 Tom Tromey <tromey@redhat.com>
11107
11108 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
11109 target 0".
11110
11111 2014-08-04 Tom Tromey <tromey@redhat.com>
11112
11113 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
11114 "target_resume".
11115
11116 2014-08-01 Joel Brobecker <brobecker@adacore.com>
11117
11118 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
11119 inner_vla_struct_object_size.
11120 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
11121 as xfail.
11122
11123 2014-07-30 Pedro Alves <palves@redhat.com>
11124
11125 * gdb.threads/signal-command-handle-nopass.exp (test): Add
11126 comment.
11127
11128 2014-07-29 Yao Qi <yao@codesourcery.com>
11129
11130 PR gdb/17206
11131 * gdb.base/until-nodebug.exp: New.
11132
11133 2014-07-28 Doug Evans <xdje42@gmail.com>
11134
11135 PR guile/17203
11136 * gdb.guile/scm-parameter.exp: Add tests for trying to create
11137 previously existing parameter, and previously ambiguously spelled
11138 parameter.
11139
11140 2014-07-28 Will Newton <will.newton@linaro.org>
11141
11142 * gdb.base/varargs.exp: Remove KFAILs for ARM.
11143
11144 2014-07-26 Ludovic Courtès <ludo@gnu.org>
11145 Doug Evans <xdje42@gmail.com>
11146
11147 PR guile/17146
11148 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
11149
11150 2014-07-25 Pedro Alves <palves@redhat.com>
11151
11152 * gdb.threads/signal-command-handle-nopass.c: New file.
11153 * gdb.threads/signal-command-handle-nopass.exp: New file.
11154 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
11155 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
11156 * gdb.threads/signal-delivered-right-thread.c: New file.
11157 * gdb.threads/signal-delivered-right-thread.exp: New file.
11158
11159 2014-07-25 Pedro Alves <palves@redhat.com>
11160
11161 * gdb.base/double-prompt-target-event-error.exp
11162 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
11163 match.
11164 (cancel_pagination_in_target_event): Rework double prompt
11165 detection.
11166 * gdb.base/paginate-after-ctrl-c-running.exp
11167 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
11168 <return>' match.
11169 * gdb.base/paginate-bg-execution.exp
11170 (test_bg_execution_pagination_return)
11171 (test_bg_execution_pagination_cancel): Remove '-notransfer
11172 <return>' matches.
11173 * gdb.base/paginate-execution-startup.exp
11174 (test_fg_execution_pagination_return)
11175 (test_fg_execution_pagination_cancel): Remove '-notransfer
11176 <return>' matches.
11177 * gdb.base/paginate-inferior-exit.exp
11178 (test_paginate_inferior_exited): Remove '-notransfer <return>'
11179 match.
11180 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
11181 * lib/gdb.exp (pagination_prompt): Run text through
11182 string_to_regexp.
11183 (gdb_test_multiple): Match $pagination_prompt instead of
11184 "<return>".
11185 (string_to_regexp): Move to lib/gdb-utils.exp.
11186
11187 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11188
11189 * gdb.arch/amd64-entry-value-paramref.S: New file.
11190 * gdb.arch/amd64-entry-value-paramref.cc: New file.
11191 * gdb.arch/amd64-entry-value-paramref.exp: New file.
11192 * gdb.arch/amd64-optimout-repeat.S: New file.
11193 * gdb.arch/amd64-optimout-repeat.c: New file.
11194 * gdb.arch/amd64-optimout-repeat.exp: New file.
11195
11196 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11197
11198 PR gdb/17170
11199 * gdb.base/statistics.exp: New file.
11200
11201 2014-07-17 Doug Evans <dje@google.com>
11202
11203 PR gdb/17170
11204 * gdb.base/maint.exp: Update testing of per-command stats.
11205
11206 2014-07-16 Pedro Alves <palves@redhat.com>
11207
11208 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
11209 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
11210 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
11211 (tfile_write_buf): New functions.
11212 (add_memory_block): Rewrite using the above.
11213 (adjust_function_address): New function.
11214 (FUNCTION_ADDRESS): New macro.
11215 (write_basic_trace_file): Remove short_x local, and use
11216 tfile_write_16. Change type of func_addr local to unsigned long
11217 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
11218 here. Cast argument of add_memory_block to char pointer.
11219 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
11220 (main): Remove parameters.
11221 * gdb.trace/tfile.exp: Remove nowarnings.
11222
11223 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
11224
11225 * gdb.base/debug-expr.exp: Test string evaluation with
11226 "debug expression" on.
11227
11228 2014-07-15 Pedro Alves <palves@redhat.com>
11229
11230 * gdb.base/reread.exp: Use clean_restart.
11231
11232 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
11233
11234 * gdb.arch/avr-flash-qualifer.c: New.
11235 * gdb.arch/avr-flash-qualifer.exp: New.
11236
11237 2014-07-14 Pedro Alves <palves@redhat.com>
11238
11239 * gdb.base/paginate-after-ctrl-c-running.c: New file.
11240 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
11241
11242 2014-07-14 Pedro Alves <palves@redhat.com>
11243
11244 * gdb.base/double-prompt-target-event-error.c: New file.
11245 * gdb.base/double-prompt-target-event-error.exp: New file.
11246
11247 2014-07-14 Pedro Alves <palves@redhat.com>
11248
11249 PR gdb/17072
11250 * gdb.base/paginate-inferior-exit.c: New file.
11251 * gdb.base/paginate-inferior-exit.exp: New file.
11252
11253 2014-07-14 Pedro Alves <palves@redhat.com>
11254
11255 PR gdb/17072
11256 * gdb.base/paginate-bg-execution.c: New file.
11257 * gdb.base/paginate-bg-execution.exp: New file.
11258
11259 2014-07-14 Pedro Alves <palves@redhat.com>
11260
11261 PR gdb/17072
11262 * gdb.base/paginate-execution-startup.c: New file.
11263 * gdb.base/paginate-execution-startup.exp: New file.
11264 * lib/gdb.exp (pagination_prompt): New global.
11265 (default_gdb_spawn): New procedure, factored out from
11266 default_gdb_spawn.
11267 (default_gdb_start): Adjust to call default_gdb_spawn.
11268 (gdb_spawn): New procedure.
11269
11270 2014-07-14 Pedro Alves <palves@redhat.com>
11271
11272 * lib/gdb.exp (gdb_assert): New procedure.
11273 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
11274
11275 2014-07-14 Pedro Alves <palves@redhat.com>
11276
11277 * gdb.base/execution-termios.c: New file.
11278 * gdb.base/execution-termios.exp: New file.
11279
11280 2014-07-14 Tom Tromey <tromey@redhat.com>
11281
11282 * gdb.cp/vla-cxx.cc: New file.
11283 * gdb.cp/vla-cxx.exp: New file.
11284
11285 2014-07-14 Tom Tromey <tromey@redhat.com>
11286
11287 * gdb.reverse/rerun-prec.c: New file.
11288 * gdb.reverse/rerun-prec.exp: New file.
11289
11290 2014-07-12 Maciej W. Rozycki <macro@mips.com>
11291 Maciej W. Rozycki <macro@codesourcery.com>
11292
11293 * lib/gdb-utils.exp: New file.
11294 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
11295 inline `gdb_init_command' processing.
11296 (gdb_start_cmd): Likewise.
11297 * lib/mi-support.exp (mi_run_cmd): Likewise.
11298 * README: Document `gdb_init_command' and `gdb_init_commands'.
11299
11300 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11301
11302 Fix false FAIL running under a very long directory name.
11303 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
11304 and "set print elements 10000". Twice.
11305
11306 2014-07-11 Yao Qi <yao@codesourcery.com>
11307
11308 * gdb.base/exprs.exp: "set print symbol off".
11309
11310 2014-07-11 Pedro Alves <palves@redhat.com>
11311
11312 * gdb.threads/kill.c: New file.
11313 * gdb.threads/kill.exp: New file.
11314
11315 2014-07-10 Yao Qi <yao@codesourcery.com>
11316
11317 * gdb.trace/tfile.c (write_basic_trace_file)
11318 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
11319 address written to trace file.
11320
11321 2014-07-09 Pedro Alves <palves@redhat.com>
11322
11323 * gdb.base/attach-wait-input.exp: New file.
11324 * gdb.base/attach-wait-input.c: New file.
11325
11326 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
11327
11328 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
11329 setting up test structures.
11330 (main): Call new test function.
11331 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
11332 test function, continue into test function and walk test
11333 structures.
11334
11335 2014-07-02 Yao Qi <yao@codesourcery.com>
11336
11337 * gdb.trace/entry-values.c: Define labels 'foo_start' and
11338 'bar_start' at the beginning of functions 'foo' and 'bar'
11339 respectively.
11340 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
11341 instead of 'foo' and 'bar'.
11342
11343 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
11344
11345 * gdb.btrace/segv.exp: New.
11346 * gdb.btrace/segv.c: New.
11347
11348 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
11349
11350 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
11351 instruction.
11352
11353 2014-06-30 Mark Wielaard <mjw@redhat.com>
11354
11355 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
11356 vulture, vilify, villar): New volatile array constants.
11357 (vindictive, vegetation): New const volatile array constants.
11358 * gdb.base/volatile.exp: Test volatile and const volatile array
11359 types.
11360
11361 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
11362
11363 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
11364 target lacks support for awatch, rwatch, or hbreak.
11365
11366 2014-06-27 Yao Qi <yao@codesourcery.com>
11367
11368 * gdb.multi/dummy-frame-restore.exp: New.
11369 * gdb.multi/dummy-frame-restore.c: New.
11370
11371 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
11372
11373 * gdb.btrace/gcore.exp: New.
11374
11375 2014-06-23 Pedro Alves <palves@redhat.com>
11376
11377 * gdb.base/watchpoint-reuse-slot.c: New file.
11378 * gdb.base/watchpoint-reuse-slot.exp: New file.
11379
11380 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
11381
11382 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
11383 progspace's filename in 'info', 'enable' and 'disable' command
11384 tests.
11385
11386 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11387
11388 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
11389 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
11390 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
11391
11392 2014-06-20 Gary Benson <gbenson@redhat.com>
11393
11394 * gdb.arch/i386-avx.exp: Fix include file location.
11395 * gdb.arch/i386-sse.exp: Likewise.
11396
11397 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
11398
11399 * gdb.dlang/expression.exp: New file.
11400
11401 2014-06-19 Pedro Alves <palves@redhat.com>
11402
11403 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
11404 out from ...
11405 (top level): ... here. Iterate running tests under different
11406 scheduler-locking settings.
11407
11408 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
11409
11410 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
11411 to DW_FORM_addr and use non-zero addresses.
11412
11413 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
11414
11415 PR gdb/17017
11416 * gdb.python/py-xmethods.cc: Add global function call counters and
11417 increment them in their respective functions. Remove "cout"
11418 statements.
11419 * gdb.python/py-xmethods.exp: Make tests check the global function
11420 call counters instead of depending on inferior IO.
11421
11422 2014-06-18 Don Breazeal <donb@codesourcery.com>
11423
11424 * gdb.base/foll-fork.exp (default_fork_parent_follow):
11425 Deleted procedure.
11426 (explicit_fork_parent_follow): Deleted procedure.
11427 (explicit_fork_child_follow): Deleted procedure.
11428 (test_follow_fork): New procedure.
11429 (do_fork_tests): Replace calls to deleted procedures with
11430 calls to test_follow_fork and reset GDB for subsequent
11431 procedure calls.
11432
11433 2014-06-17 Yao Qi <yao@codesourcery.com>
11434
11435 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
11436 CP1252.
11437
11438 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
11439
11440 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
11441 Initialize ptr and S explicitly.
11442 (skip_type_update_when_not_use_rtti_test): Likewise.
11443
11444 2014-06-16 Keith Seitz <keiths@redhat.com>
11445
11446 PR mi/15863
11447 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
11448 the inferior is started.
11449
11450 2014-06-16 Pedro Alves <palves@redhat.com>
11451
11452 * gdb.base/break-main-file-remove-fail.c: New file.
11453 * gdb.base/break-main-file-remove-fail.exp: New file.
11454 * gdb.base/break-unload-file.exp: Use build_executable instead of
11455 prepare_for_testing.
11456 (test_break): New parameter "initial_load". Handle it.
11457 (top level): Add initial_load cmdline/file axis.
11458
11459 2014-06-12 Tom Tromey <tromey@redhat.com>
11460
11461 * gdb.base/completion.exp: Don't use directory name in test.
11462
11463 2014-06-09 Gary Benson <gbenson@redhat.com>
11464
11465 * gdb.base/sigall.c [Functions to send signals]: Reorder to
11466 separate the always-available ANSI-standard signals from the
11467 signals that require checking.
11468 (main): Likewise.
11469 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
11470 Likewise.
11471 (main): Likewise.
11472
11473 2014-06-07 Keith Seitz <keiths@redhat.com>
11474
11475 Revert:
11476 PR c++/16253
11477 * gdb.cp/var-tag.cc: New file.
11478 * gdb.cp/var-tag.exp: New file.
11479 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
11480 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
11481 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
11482 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
11483
11484 2014-06-06 Doug Evans <xdje42@gmail.com>
11485
11486 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
11487
11488 2014-06-06 Pedro Alves <palves@redhat.com>
11489
11490 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
11491 in target debug output instead of looking at RSP packets,
11492 disabling the test on any target that uses hardware stepping.
11493 Update comments.
11494
11495 2014-06-06 Pedro Alves <palves@redhat.com>
11496
11497 * gdb.base/break-unload-file.exp: Fix typo.
11498
11499 2014-06-06 Yao Qi <yao@codesourcery.com>
11500
11501 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
11502 from "jit_function" to "^jit_function".
11503
11504 2014-06-06 Yao Qi <yao@codesourcery.com>
11505
11506 * gdb.base/async.c (foo): Add one statement.
11507 * gdb.base/async.exp: Get the next instruction address and
11508 match the output of "nexti" by instruction address. Match
11509 the hex address in the output of "finish".
11510
11511 2014-06-06 Gary Benson <gbenson@redhat.com>
11512
11513 * gdb.base/call-signals.c: Remove preprocessor conditionals
11514 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
11515 SIGSEGV and SIGTERM.
11516 * gdb.base/sigall.c: Likewise.
11517 * gdb.base/unwindonsignal.c: Likewise.
11518 * gdb.reverse/sigall-reverse.c: Likewise.
11519
11520 2014-06-06 Yao Qi <yao@codesourcery.com>
11521
11522 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
11523 readable, skip the test.
11524
11525 2014-06-06 Yao Qi <yao@codesourcery.com>
11526
11527 * gdb.threads/staticthreads.c (thread_function): Move the line
11528 setting breakpoint on forward.
11529 * gdb.threads/staticthreads.exp: Update comments.
11530
11531 2014-06-05 Ludovic Courtès <ludo@gnu.org>
11532
11533 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
11534 "history-append! type error".
11535
11536 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
11537
11538 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
11539 erroneous dprintf expected input.
11540
11541 2014-06-04 Doug Evans <xdje42@gmail.com>
11542
11543 * gdb.guile/scm-generics.exp: Delete.
11544
11545 2014-06-04 Doug Evans <xdje42@gmail.com>
11546
11547 * gdb.guile/scm-breakpoint.exp: Update.
11548 Add tests for breakpoint registration.
11549
11550 2014-06-04 Tom Tromey <tromey@redhat.com>
11551
11552 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
11553 VLA-in-union.
11554 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
11555 inner_vla_struct, vla_union types. Initialize objects of those
11556 types and compute their sizes.
11557
11558 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
11559 Hui Zhu <hui@codesourcery.com>
11560
11561 * gdb.base/fileio.exp: Add test for shell not available as well as
11562 available.
11563 * gdb.base/fileio.c (test_system): Check for shell twice.
11564
11565 2014-06-04 Yao Qi <yao@codesourcery.com>
11566
11567 * gdb.base/auto-connect-native-target.exp: Remove redundant
11568 space from the regexp pattern.
11569
11570 2014-06-04 Yao Qi <yao@codesourcery.com>
11571
11572 * gdb.base/default.exp: Replace "child" with "native" in
11573 regexp pattern.
11574
11575 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
11576
11577 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
11578 * gdb.python/py-xmethods.exp: New tests to test xmethods.
11579 * gdb.python/py-xmethods.py: Python script supporting the
11580 new testcase and tests.
11581
11582 2014-06-03 Joel Brobecker <brobecker@adacore.com>
11583 Pedro Alves <palves@redhat.com>
11584
11585 PR breakpoints/17000
11586 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
11587 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
11588
11589 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
11590
11591 * gdb.base/subst.exp: Add tests to verify partial path matching
11592 output.
11593
11594 2014-06-03 Pedro Alves <palves@redhat.com>
11595
11596 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
11597 target that doesn't use software single-stepping.
11598
11599 2014-06-03 Pedro Alves <palves@redhat.com>
11600
11601 PR breakpoints/17000
11602 * gdb.base/sss-bp-on-user-bp-2.c: New file.
11603 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
11604
11605 2014-06-02 Doug Evans <xdje42@gmail.com>
11606
11607 * gdb.guile/scm-parameter.exp: New file.
11608
11609 2014-06-02 Doug Evans <xdje42@gmail.com>
11610
11611 * gdb.guile/scm-cmd.c: New file.
11612 * gdb.guile/scm-cmd.exp: New file.
11613
11614 2014-06-02 Doug Evans <xdje42@gmail.com>
11615
11616 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
11617 pretty-printer lookup.
11618 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
11619 (make-pp_s-printer): Call it.
11620 (make-pretty-printer-from-dict): New function.
11621 (lookup-pretty-printer-maker-from-dict): New function.
11622 (*pretty-printer*): Simplify.
11623 (make-objfile-pp_s-printer): New function.
11624 (install-objfile-pretty-printers!): New function.
11625 (make-progspace-pp_s-printer): New function.
11626 (install-progspace-pretty-printers!): New function.
11627 * gdb.guile/scm-progspace.c: New file.
11628 * gdb.guile/scm-progspace.exp: New file.
11629
11630 2014-06-02 Pedro Alves <palves@redhat.com>
11631
11632 * gdb.base/dprintf-bp-same-addr.c: New file.
11633 * gdb.base/dprintf-bp-same-addr.exp: New file.
11634
11635 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11636
11637 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
11638 * gdb.arch/powerpc-power.s: Likewise.
11639
11640 2014-06-02 Joel Brobecker <brobecker@adacore.com>
11641
11642 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
11643
11644 2014-06-01 Yao Qi <yao@codesourcery.com>
11645
11646 * gdb.base/watchpoint.exp (test_watch_location): Check null
11647 pointer can be dereferenced. If not, do the test, otherwise
11648 skip it.
11649
11650 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
11651
11652 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
11653 results.
11654 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
11655
11656 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
11657
11658 * gdb.arch/amd64-invalid-stack-middle.S: New file.
11659 * gdb.arch/amd64-invalid-stack-middle.c: New file.
11660 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
11661 * gdb.arch/amd64-invalid-stack-top.c: New file.
11662 * gdb.arch/amd64-invalid-stack-top.exp: New file.
11663
11664 2014-05-30 Pedro Alves <palves@redhat.com>
11665
11666 PR breakpoints/17000
11667 * gdb.base/sss-bp-on-user-bp.c: New file.
11668 * gdb.base/sss-bp-on-user-bp.exp: New file.
11669
11670 2014-05-30 David Blaikie <dblaikie@gmail.com>
11671
11672 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
11673 gnu_inline semantics via attribute.
11674 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
11675 source explicitly specifies the required semantics.
11676
11677 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
11678
11679 * gdb.reverse/sigall-reverse.exp: Fix a typo.
11680
11681 2014-05-29 Pedro Alves <palves@redhat.com>
11682 Tom Tromey <tromey@redhat.com>
11683
11684 * gdb.base/async-shell.exp: Don't enable target-async.
11685 * gdb.base/async.exp
11686 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
11687 parameter. Adjust.
11688 (top level): Don't test with "target-async".
11689 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
11690 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
11691 * gdb.base/inferior-died.exp: Don't enable target-async.
11692 * gdb.base/interrupt-noterm.exp: Likewise.
11693 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
11694 * gdb.mi/mi-nonstop-exit.exp: Likewise.
11695 * gdb.mi/mi-nonstop.exp: Likewise.
11696 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
11697 * gdb.mi/mi-nsintrall.exp: Likewise.
11698 * gdb.mi/mi-nsmoribund.exp: Likewise.
11699 * gdb.mi/mi-nsthrexec.exp: Likewise.
11700 * gdb.mi/mi-watch-nonstop.exp: Likewise.
11701 * gdb.multi/watchpoint-multi.exp: Adjust comment.
11702 * gdb.python/py-evsignal.exp: Don't enable target-async.
11703 * gdb.python/py-evthreads.exp: Likewise.
11704 * gdb.python/py-prompt.exp: Likewise.
11705 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
11706 * gdb.server/solib-list.exp: Don't enable target-async.
11707 * gdb.threads/thread-specific-bp.exp: Likewise.
11708 * lib/mi-support.exp: Adjust to use mi-async.
11709
11710 2014-05-29 Pedro Alves <palves@redhat.com>
11711
11712 PR gdb/13860
11713 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
11714 reason, even in sync mode.
11715
11716 2014-05-29 Pedro Alves <palves@redhat.com>
11717 Hui Zhu <hui@codesourcery.com>
11718
11719 PR PR15693
11720 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
11721 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
11722 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
11723 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
11724
11725 2014-05-28 Joel Brobecker <brobecker@adacore.com>
11726
11727 * config/monitor.exp (gdb_target_monitor): Replace use of
11728 "set remotebaud" by "set serial baud".
11729
11730 2014-05-26 Andy Wingo <wingo@igalia.com>
11731
11732 * gdb.guile/scm-breakpoint.exp:
11733 * gdb.guile/scm-gsmob.exp: Update to use plain old object
11734 properties instead of gdb-object-properties.
11735
11736 2014-05-26 Yao Qi <yao@codesourcery.com>
11737
11738 * gdb.server/no-thread-db.exp: Specify source file name
11739 explicitly when setting a breakpoint.
11740
11741 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
11742
11743 * gdb.btrace/vdso.c: New.
11744 * gdb.btrace/vdso.exp: New.
11745
11746 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
11747
11748 * gdb.base/gcore.exp (capture_command_output): Move ...
11749 * lib/gdb.exp (capture_command_output): ... here.
11750
11751 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
11752
11753 * gdb.btrace/data.exp: Test memory access during btrace replay.
11754
11755 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
11756
11757 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
11758
11759 2014-05-21 Pedro Alves <palves@redhat.com>
11760
11761 PR gdb/13860
11762 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
11763 (top level): Test that output related to execution commands is
11764 sent to the console with CLI commands, but not with MI commands.
11765 Test that breakpoint events are always mirrored to the console.
11766 Also expect the new source line to be output after a "next" in
11767 async mode too. Make it a pass/fail test.
11768 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
11769 output.
11770 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
11771
11772 2014-05-21 Pedro Alves <palves@redhat.com>
11773
11774 * gdb.base/list.exp (build_pattern, test_list): New procedures.
11775 Use them to test variations of "list" after reaching a breakpoint.
11776 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
11777 Test "list" with listsize 10 after reaching a breakpoint.
11778 * gdb.python/python.exp (decode_line current location line
11779 number): Adjust expected line number.
11780
11781 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
11782
11783 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
11784 behavior for $args, pass it directly to "run".
11785
11786 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
11787
11788 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
11789 30000 to 65536.
11790
11791 2014-05-21 Pedro Alves <palves@redhat.com>
11792
11793 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
11794 auto-connect-native-target off".
11795 * gdb.base/auto-connect-native-target.c: New file.
11796 * gdb.base/auto-connect-native-target.exp: New file.
11797
11798 2014-05-21 Pedro Alves <palves@redhat.com>
11799
11800 * gdb.base/default.exp: Test "target native" instead of "target
11801 child".
11802
11803 2014-05-21 Mark Wielaard <mjw@redhat.com>
11804
11805 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
11806
11807 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11808
11809 Fix TLS access for -static -pthread.
11810 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
11811 <HAVE_TLS> (thread_function, main): Initialize it.
11812 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
11813 Add clean_restart.
11814 <$have_tls != "">: Check TLSVAR.
11815
11816 2014-05-21 Pedro Alves <palves@redhat.com>
11817
11818 * gdb.base/dcache-line-read-error.c: New.
11819 * gdb.base/dcache-line-read-error.exp: New.
11820
11821 2014-05-20 Pedro Alves <palves@redhat.com>
11822
11823 * gdb.base/compare-sections.c: New file.
11824 * gdb.base/compare-sections.exp: New file.
11825
11826 2014-05-20 Pedro Alves <palves@redhat.com>
11827
11828 * gdb.base/break-idempotent.c: New file.
11829 * gdb.base/break-idempotent.exp: New file.
11830
11831 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
11832
11833 * gdb.btrace/nohist.exp: New.
11834
11835 2014-05-20 Yao Qi <yao@codesourcery.com>
11836
11837 * lib/gdb.exp (gdb_init): Set timeout if test file is under
11838 gdb.reverse directory and gdb_reverse_timeout exists in board
11839 setting.
11840 * README: Document gdb_reverse_timeout.
11841
11842 2014-05-20 Yao Qi <yao@codesourcery.com>
11843
11844 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
11845 'test_file_name'. Treat args as a string instead of a list.
11846 (gdb_init): Rename argument 'args' by 'test_file_name'.
11847
11848 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11849
11850 * gdb.arch/powerpc-power.exp: New file.
11851 * gdb.arch/powerpc-power.s: New file.
11852
11853 2014-05-16 Doug Evans <dje@google.com>
11854
11855 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
11856 * gdb.base/completion.exp: Check that all expected files exist
11857 before doing file completion.
11858
11859 2014-05-16 Doug Evans <dje@google.com>
11860
11861 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
11862 Update.
11863 (do_syscall_tests_without_xml): Update.
11864
11865 2014-05-16 Pedro Alves <palves@redhat.com>
11866
11867 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
11868 instead of "unknown output after running".
11869
11870 2014-05-16 Yao Qi <yao@codesourcery.com>
11871
11872 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
11873 file1.txt from host at the end.
11874 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
11875
11876 2014-05-15 Doug Evans <dje@google.com>
11877
11878 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
11879 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
11880 loading file. Add test for TU lookup.
11881
11882 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
11883
11884 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
11885 calling "-exec-arguments" or "set args" before running the
11886 inferior.
11887
11888 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
11889
11890 * lib/mi-support.exp (mi_expect_stop): Expect message for
11891 inferiors that exit with non-zero exit code.
11892
11893 2014-05-14 Yao Qi <yao@codesourcery.com>
11894
11895 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
11896 match absolute path on remote host.
11897 (test_file_list_exec_source_files): Remove "/" from the
11898 pattern.
11899
11900 2014-05-14 Yao Qi <yao@codesourcery.com>
11901
11902 * boards/local-remote-host-notty.exp (${board}_file): New
11903 proc.
11904
11905 2014-05-07 Kyle McMartin <kyle@redhat.com>
11906
11907 Pushed by Joel Brobecker <brobecker@adacore.com>.
11908 * gdb.arch/aarch64-atomic-inst.c: New file.
11909 * gdb.arch/aarch64-atomic-inst.exp: New file.
11910
11911 2014-05-07 Yao Qi <yao@codesourcery.com>
11912
11913 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
11914 in current context" too.
11915
11916 2014-05-05 Keith Seitz <keiths@redhat.com>
11917
11918 * gdb.linespec/ls-dollar.exp: Add test for linespec
11919 file:convenience_variable.
11920
11921 2014-05-05 Yao Qi <yao@codesourcery.com>
11922
11923 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
11924 traceframes into tfile and ctf trace files. Read data from
11925 trace file and test collected data.
11926 (gdb_collect_locals_test): Likewise.
11927 (gdb_unavailable_registers_test): Likewise.
11928 (gdb_unavailable_floats): Likewise.
11929 (gdb_collect_globals_test): Likewise.
11930 (top-level): Append "ctf" to trace_file_targets if GDB
11931 supports.
11932
11933 2014-05-05 Yao Qi <yao@codesourcery.com>
11934
11935 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
11936 code to ...
11937 (gdb_collect_args_test_1): ... it. New proc.
11938 (gdb_collect_locals_test): Move some code to ...
11939 (gdb_collect_locals_test_1): ... it. New proc.
11940 (gdb_unavailable_registers_test): Move some code to ...
11941 (gdb_unavailable_registers_test_1): ... it. New proc.
11942 (gdb_unavailable_floats): Move some code to ...
11943 (gdb_unavailable_floats_1): ... it. New proc.
11944
11945 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
11946
11947 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
11948 probes to test for bitness recognition.
11949 * gdb.arch/amd64-stap-optional-prefix.exp
11950 (test_probe_value_without_reg): New procedure.
11951 Add code to test for different kinds of bitness.
11952
11953 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
11954
11955 PR breakpoints/16889
11956 * gdb.arch/amd64-stap-optional-prefix.S: New file.
11957 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
11958
11959 2014-05-01 Pedro Alves <palves@redhat.com>
11960
11961 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
11962 gdb_file_cmd if no file is specified.
11963 * boards/native-extended-gdbserver.exp (gdb_load): Use the
11964 last_loaded_file to set the remote exec-file.
11965
11966 2014-05-01 Pedro Alves <palves@redhat.com>
11967
11968 * boards/local-remote-host.exp: New file.
11969
11970 2014-05-01 Pedro Alves <palves@redhat.com>
11971
11972 * boards/local-remote-host.exp: Rename to ...
11973 * boards/local-remote-host-notty.exp: ... this.
11974
11975 2014-04-28 Joel Brobecker <brobecker@adacore.com>
11976
11977 * gdb.ada/dyn_arrayidx: New testcase.
11978
11979 2014-04-26 Yao Qi <yao@codesourcery.com>
11980
11981 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
11982 and compute the length of function main. Save it in
11983 $main_length.
11984 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
11985 (top-level): Use gdb_compile to compile objects into
11986 executable and restart GDB. Remove invocation to
11987 prepare_for_testing.
11988
11989 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
11990 Pedro Alves <palves@redhat.com>
11991
11992 PR server/16255
11993 * gdb.multi/multi-attach.c: New file.
11994 * gdb.multi/multi-attach.exp: New file.
11995
11996 2014-04-25 Pedro Alves <palves@redhat.com>
11997
11998 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
11999 user.
12000 (top level): Test that "set remote conditional-breakpoints-packet
12001 off" works as intended.
12002 * gdb.base/dprintf.exp: Test that "set remote
12003 breakpoint-commands-packet off" works as intended.
12004 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
12005 New function.
12006 (top level): Call it.
12007 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
12008 remote fast-tracepoints-packet off" works as intended.
12009 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
12010 * lib/gdb.exp (gdb_is_target_remote): ... here.
12011
12012 2014-04-24 David Blaikie <dblaikie@gmail.com>
12013
12014 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
12015 ensure clang would not discard them.
12016 * gdb.base/gdbvars.c: Ditto.
12017 * gdb.base/memattr.c: Ditto.
12018 * gdb.base/whatis.c: Ditto.
12019 * gdb.python/py-prettyprint.c: Ditto.
12020 * gdb.trace/actions.c: Ditto.
12021 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
12022 ensure clang would not discard it.
12023
12024 2014-04-24 David Blaikie <dblaikie@gmail.com>
12025
12026 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
12027 clang to emit the full definition of type required by the test
12028 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
12029
12030 2014-04-24 David Blaikie <dblaikie@gmail.com>
12031
12032 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
12033 coax Clang into emitting the definition of the type.
12034 * gdb.cp/pr10728-x.h (y): Ditto.
12035 * gdb.cp/pr10728-y.cc (y): Ditto.
12036
12037 2014-04-24 David Blaikie <dblaikie@gmail.com>
12038
12039 * gdb.base/label.exp: XFAIL label related tests under Clang.
12040 * gdb.cp/cplabel.exp: Ditto.
12041 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
12042 under Clang those using labels.
12043
12044 2014-04-25 Yao Qi <yao@codesourcery.com>
12045
12046 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
12047 double_label.
12048 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
12049 partial_label and double_label.
12050
12051 2014-04-24 David Blaikie <dblaikie@gmail.com>
12052
12053 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
12054
12055 2014-04-24 David Blaikie <dblaikie@gmail.com>
12056
12057 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
12058 of the function to work across GCC and Clang.
12059 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
12060 pointer types (const void ** const V void **).
12061
12062 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
12063 Walfred Tedeschi <walfred.tedeschi@intel.com>
12064
12065 * Makefile.in (EXECUTABLES): Added i386-avx512.
12066 * gdb.arch/i386-avx512.c: New file.
12067 * gdb.arch/i386-avx512.exp: Likewise.
12068
12069 2014-04-23 Keith Seitz <keiths@redhat.com>
12070
12071 * lib/mi-support.exp (mi_list_breakpoints): Delete.
12072 (mi_make_breakpoint_table): New procedure.
12073 (mi_create_breakpoint): Use mi_make_breakpoint
12074 and return the result.
12075 (mi_make_breakpoint): New procedure.
12076 (mi_build_kv_pairs): New procedure.
12077
12078 * gdb.mi/mi-break.exp: Remove unused globals,
12079 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
12080 All callers updated.
12081 * gdb.mi/mi-dprintf.exp: Use variable to track command
12082 number.
12083 Update all callers of mi_create_breakpoint and use
12084 mi_make_breakpoint_table.
12085 Remove any unused global variables.
12086 * gdb.mi/mi-nonstop.exp: Likewise.
12087 * gdb.mi/mi-nsintrall.exp: Likewise.
12088 * gdb.mi/mi-nsmoribund.exp: Likewise.
12089 * gdb.mi/mi-nsthrexec.exp: Likewise.
12090 * gdb.mi/mi-reverse.exp: Likewise.
12091 * gdb.mi/mi-simplerun.exp: Likewise.
12092 * gdb.mi/mi-stepn.exp: Likewise.
12093 * gdb.mi/mi-syn-frame.exp: Likewise.
12094 * gdb.mi/mi-until.exp: Likewise.
12095 * gdb.mi/mi-var-cp.exp: Likewise.
12096 * gdb.mi/mi-var-display.exp: Likewise.
12097 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
12098 * gdb.mi/mi2-var-child.exp: Likewise.
12099 * gdb.mi/mi-vla-c99.exp: Likewise.
12100 * lib/mi-support.exp: Likewise.
12101
12102 From Ian Lance Taylor <iant@cygnus.com>:
12103 * lib/gdb.exp (parse_args): New procedure.
12104
12105 2014-04-23 Pedro Alves <palves@redhat.com>
12106
12107 * gdb.base/break-unload-file.c: New file.
12108 * gdb.base/break-unload-file.exp: New file.
12109 * gdb.base/sym-file-lib.c (baz): New function.
12110 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
12111 field.
12112 (load): Store the segment's mapped size.
12113 (unload): New function.
12114 (unload_shlib): New function.
12115 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
12116 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
12117 set a breakpoint at baz, and call it.
12118 * gdb.base/sym-file.exp: New tests for stale breakpoint
12119 instructions.
12120
12121 2014-04-23 Pedro Alves <palves@redhat.com>
12122
12123 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
12124 * gdb.base/hbreak-in-shr-unsupported.c: New file.
12125 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
12126 * gdb.base/hbreak-unmapped.c: New file.
12127 * gdb.base/hbreak-unmapped.exp: New file.
12128 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
12129 * lib/gdb.exp (gdb_is_target_remote): ... here.
12130
12131 2014-04-22 Pedro Alves <palves@redhat.com>
12132
12133 * gdb.base/consecutive-step-over.c: New file.
12134 * gdb.base/consecutive-step-over.exp: New file.
12135
12136 2014-04-22 Pedro Alves <palves@redhat.com>
12137
12138 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
12139 instead of send_gdb/gdb_expect.
12140
12141 2014-04-22 Yao Qi <yao@codesourcery.com>
12142
12143 * lib/trace-support.exp (generate_tracefile): New procedure.
12144 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
12145 return 0.
12146 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
12147 if generate_tracefile returns 1.
12148
12149 2014-04-18 Tom Tromey <palves@redhat.com>
12150 Pedro alves <tromey@redhat.com>
12151
12152 PR backtrace/15558
12153 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
12154 with a backtrace limit.
12155 * gdb.python/py-frame-inline.exp: Test running to an inline
12156 function with a backtrace limit, and printing the newest frame.
12157 * gdb.python/py-frame-inline.c (main): Call f.
12158
12159 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
12160
12161 * gdb.java/jnpe.exp: Drop srcdir from untested path.
12162
12163 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
12164
12165 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
12166 Drop prefix from unsupported source file path.
12167
12168 2014-04-17 Yao Qi <yao@codesourcery.com>
12169
12170 * lib/gdb.exp (with_target_charset): New proc.
12171 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
12172 with_target_charset.
12173 (test_print_strings): Likewise.
12174 (test_repeat_bytes): Likewise.
12175 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
12176 for some tests.
12177
12178 2014-04-16 Keith Seitz <keiths@redhat.com>
12179
12180 PR gdb/15827
12181 * gdb.dwarf2/corrupt.c: New file.
12182 * gdb.dwarf2/corrupt.exp: New file.
12183
12184 2014-04-16 Keith Seitz <keiths@redhat.com>
12185
12186 PR c++/16597
12187 * gdb.cp/namelessclass.cc: New file.
12188 * gdb.cp/namelessclass.exp: New file.
12189 * gdb.cp/namelessclass.S: New file.
12190
12191 2014-04-16 Doug Evans <dje@google.com>
12192
12193 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
12194 Add comment.
12195 (gdbserver_default_get_comm_port): New function.
12196 (gdbserver_start): Check if board file provided
12197 "gdbserver,get_comm_port" and use it if so.
12198 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
12199 (gdb,socketport): Set to "stdio".
12200 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
12201 (stdio_gdbserver_template): Delete.
12202 (${board}_get_remote_address): Update.
12203 (${board}_build_remote_cmd): Delete.
12204 (${board}_get_comm_port): New function.
12205 (${board}_spawn): Update.
12206 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
12207 Delete.
12208 (${board}_get_remote_address): Update.
12209 (${board}_get_comm_port): New function.
12210
12211 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
12212
12213 * gdb.base/memattr.exp: Improve regexps to handle memory regions
12214 appearing in any order.
12215
12216 2014-04-15 Doug Evans <dje@google.com>
12217
12218 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
12219 uninitialized value of "description".
12220
12221 2014-04-15 Keith Seitz <keiths@redhat.com>
12222
12223 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
12224 Remove unused globals.
12225 (test_running_the_program): Likewise.
12226 (test_controlled_execution): Likewise.
12227 (test_controlling_breakpoints): Likewise.
12228 (test_program_termination): Likewise.
12229
12230 2014-04-15 Keith Seitz <keiths@redhat.com>
12231
12232 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
12233 unused globals.
12234 (test_rbreak_creation_and_listing): Likewise.
12235 (test_ignore_count): Likewise.
12236 (test_error): Likewise.
12237
12238 2014-04-15 Pedro Alves <palves@redhat.com>
12239
12240 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
12241 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
12242 sym-file-loader.c.
12243 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
12244 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
12245 to sym-file-loader.c.
12246 (struct library): Forward declare.
12247 (load_shlib, lookup_function): Change prototypes.
12248 (find_shstrtab, find_strtab, find_shdr, find_symtab)
12249 (translate_offset): Remove declarations.
12250 (get_text_addr): New declaration.
12251 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
12252 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
12253 sym-file-loader.h.
12254 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
12255 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
12256 here from sym-file-loader.h.
12257 (struct library): New structure.
12258 (load_shlib, lookup_function): Change prototypes and adjust to
12259 work with a struct library.
12260 (find_shstrtab, find_strtab, find_shdr, find_symtab)
12261 (translate_offset): Make static.
12262 (get_text_addr): New function.
12263 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
12264
12265 2014-04-15 Pedro Alves <palves@redhat.com>
12266
12267 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
12268
12269 2014-04-15 Pedro Alves <palves@redhat.com>
12270
12271 * gdb.base/sym-file-loader.c: Include <limits.h>.
12272 (SELF_LINK): New define.
12273 (get_origin): New function.
12274 (load_shlib): Use it.
12275 * gdb.base/sym-file.exp: Don't early return if the target is
12276 remote. Use runto_main, and issue fail is that fails. Use
12277 gdb_load_shlibs.
12278 (shlib_name): Delete.
12279 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
12280
12281 2014-04-15 Pedro Alves <palves@redhat.com>
12282
12283 * gdb.base/sym-file.exp: Remove regex characters from test
12284 message. Don't refer to breakpoint numbers in test messages.
12285
12286 2014-04-14 Keith Seitz <keiths@redhat.com>
12287
12288 PR c++/16253
12289 * gdb.cp/var-tag.cc: New file.
12290 * gdb.cp/var-tag.exp: New file.
12291 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
12292 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
12293 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
12294 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
12295
12296 2014-04-14 Tom Tromey <tromey@redhat.com>
12297
12298 * gdb.cp/classes.exp (test_enums): Handle underlying type.
12299 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
12300 type.
12301 * gdb.cp/enum-class.exp: New file.
12302 * gdb.cp/enum-class.cc: New file.
12303
12304 2014-04-14 Tom Tromey <tromey@redhat.com>
12305
12306 * gdb.dwarf2/enum-type.exp: New file.
12307
12308 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12309
12310 * gdb.mi/mi-vla-c99.exp: New file.
12311 * gdb.mi/vla.c: New file.
12312
12313 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12314
12315 * gdb.base/vla-datatypes.c: New file.
12316 * gdb.base/vla-datatypes.exp: New file.
12317
12318 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12319
12320 * gdb.base/vla-ptr.c: New file.
12321 * gdb.base/vla-ptr.exp: New file.
12322
12323 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12324
12325 * gdb.dwarf2/count.exp: New file.
12326
12327 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12328
12329 * gdb.base/vla-sideeffect.c: New file.
12330 * gdb.base/vla-sideeffect.exp: New file.
12331
12332 2014-04-14 David Blaikie <dblaikie@gmail.com>
12333
12334 * gdb.mi/non-stop.c: Add return value for non-void function return
12335 statement.
12336 * gdb.threads/staticthreads.c: Ditto.
12337
12338 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
12339 Doug Evans <xdje42@gmail.com>
12340
12341 * gdb.guile/scm-value.c: Improve test case.
12342 * gdb.guile/scm-value.exp: Add new test.
12343
12344 2014-04-11 David Blaikie <dblaikie@gmail.com>
12345
12346 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
12347 override Clang's default.
12348
12349 2014-04-11 Joel Brobecker <brobecker@adacore.com>
12350
12351 Revert the following changes (regressions):
12352
12353 * gdb.base/vla-sideeffect.c: New file.
12354 * gdb.base/vla-sideeffect.exp: New file.
12355
12356 * gdb.dwarf2/count.exp: New file.
12357
12358 * gdb.base/vla-multi.c: New file.
12359 * gdb.base/vla-multi.exp: New file.
12360
12361 * gdb.base/vla-ptr.c: New file.
12362 * gdb.base/vla-ptr.exp: New file.
12363
12364 * gdb.base/vla-datatypes.c: New file.
12365 * gdb.base/vla-datatypes.exp: New file.
12366
12367 * gdb.mi/mi-vla-c99.exp: New file.
12368 * gdb.mi/vla.c: New file.
12369
12370 2014-04-11 Keith Seitz <keiths@redhat.com>
12371
12372 PR c++/16675
12373 * gdb.cp/cpsizeof.exp: New file.
12374 * gdb.cp/cpsizeof.cc: New file.
12375
12376 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12377
12378 * gdb.mi/mi-vla-c99.exp: New file.
12379 * gdb.mi/vla.c: New file.
12380
12381 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12382
12383 * gdb.base/vla-datatypes.c: New file.
12384 * gdb.base/vla-datatypes.exp: New file.
12385
12386 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12387
12388 * gdb.base/vla-ptr.c: New file.
12389 * gdb.base/vla-ptr.exp: New file.
12390
12391 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12392
12393 * gdb.base/vla-multi.c: New file.
12394 * gdb.base/vla-multi.exp: New file.
12395
12396 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12397
12398 * gdb.dwarf2/count.exp: New file.
12399
12400 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12401
12402 * gdb.base/vla-sideeffect.c: New file.
12403 * gdb.base/vla-sideeffect.exp: New file.
12404
12405 2014-04-11 Yao Qi <yao@codesourcery.com>
12406
12407 * gdb.base/completion.exp: Check file exists before running tests
12408 on file completion.
12409
12410 2014-04-10 Pedro Alves <palves@redhat.com>
12411
12412 * gdb.base/cond-eval-mode.c: New file.
12413 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
12414 prepare_for_testing to build the new file. Check result of
12415 runto_main.
12416 (test_break, test_watch): New procedures.
12417 (top level): Use them.
12418
12419 2014-04-08 Pierre Muller <muller@sourceware.org>
12420
12421 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
12422 Ctrl-V use for mingw hosts.
12423
12424 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
12425
12426 * gdb.python/py-value.c: Improve test case.
12427 * gdb.python/py-value.exp: Add new test.
12428
12429 2014-04-07 David Blaikie <dblaikie@gmail.com>
12430
12431 * lib/compiler.c: Identify the clang compiler.
12432 * lib/compiler.cc: Ditto.
12433
12434 2014-04-03 Yao Qi <yao@codesourcery.com>
12435
12436 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
12437
12438 2014-04-01 Anton Blanchard <anton@samba.org>
12439
12440 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
12441 messages unique.
12442
12443 2014-04-01 Anton Blanchard <anton@samba.org>
12444
12445 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
12446 prepare_for_testing.
12447
12448 2014-04-01 Anton Blanchard <anton@samba.org>
12449
12450 * gdb.arch/ppc64-atomic-inst.c: Remove.
12451 * gdb.arch/ppc64-atomic-inst.S: New file.
12452 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
12453
12454 2014-03-31 Doug Evans <dje@google.com>
12455
12456 * gdb.base/print-symbol-loading-lib.c: New file.
12457 * gdb.base/print-symbol-loading-main.c: New file.
12458 * gdb.base/print-symbol-loading.exp: New file.
12459
12460 2014-03-31 Yao Qi <yao@codesourcery.com>
12461
12462 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
12463
12464 2014-03-28 Joel Brobecker <brobecker@adacore.com>
12465
12466 * gdb.ada/mi_dyn_arr: New testcase.
12467
12468 2014-03-27 Doug Evans <dje@google.com>
12469
12470 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
12471
12472 2014-03-27 Yao Qi <yao@codesourcery.com>
12473
12474 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
12475 if target is nios2-*-*.
12476
12477 2014-03-26 Yao Qi <yao@codesourcery.com>
12478
12479 * lib/gdb.exp (readline_is_used): New proc.
12480 * gdb.base/completion.exp: Move tests on command complete up.
12481 Skip the rest of tests if readline is not used.
12482 * gdb.ada/complete.exp: Skp the test if readline is not
12483 used.
12484 * gdb.base/filesym.exp: Likewise.
12485 * gdb.base/macscp.exp: Likewise.
12486 * gdb.base/readline-ask.exp: Likewise.
12487 * gdb.base/readline.exp: Likewise.
12488 * gdb.python/py-cmd.exp: Likewise.
12489 * gdb.trace/tfile.exp: Likewise.
12490
12491 2014-03-26 Yao Qi <yao@codesourcery.com>
12492
12493 * gdb.base/macscp.exp: Fix code format issues.
12494
12495 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
12496
12497 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
12498 * gdb.asm/powerpc64le.inc: New file.
12499
12500 2014-03-25 Pedro Alves <palves@redhat.com>
12501 Doug Evans <dje@google.com>
12502
12503 * gdb.base/source-execution.c: New file.
12504 * gdb.base/source-execution.exp: New file.
12505 * gdb.base/source-execution.gdb: New file.
12506
12507 2014-03-24 Doug Evans <dje@google.com>
12508
12509 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
12510 using fission.
12511
12512 2014-03-24 Hui Zhu <hui@codesourcery.com>
12513 Pedro Alves <palves@redhat.com>
12514
12515 PR breakpoints/16101
12516 * gdb.base/dprintf.exp: Use unsupported rather than changing the
12517 test pass/fail messages. Detect missing support for dprintf when
12518 breakpoints are actually inserted.
12519 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
12520 breakpoints are actually inserted.
12521 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
12522 fails.
12523
12524 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12525
12526 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
12527
12528 2014-03-22 Doug Evans <xdje42@gmail.com>
12529
12530 * gdb.python/python.exp (python not supported): Verify multi-line
12531 python command issues an error.
12532 * gdb.guile/guile.exp (guile not supported): Verify multi-line
12533 guile command issues an error.
12534
12535 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
12536
12537 * gdb.threads/thread-specific.exp: Handle the lack of usable
12538 $this_breakpoint and $this_thread.
12539
12540 2014-03-21 Hui Zhu <hui@codesourcery.com>
12541
12542 * gdb.base/attach.exp (do_command_attach_tests): New.
12543
12544 2014-03-20 Tom Tromey <tromey@redhat.com>
12545 Pedro Alves <palves@redhat.com>
12546
12547 PR cli/15718
12548 * gdb.base/condbreak-call-false.c: New file.
12549 * gdb.base/condbreak-call-false.exp: New file.
12550
12551 2014-03-20 Pedro Alves <palves@redhat.com>
12552
12553 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
12554 Delete.
12555 (block_signals, unblock_signals): Delete.
12556 (child_function_2, main): Remove references to deleted variable
12557 and functions.
12558
12559 2014-03-20 Pedro Alves <palves@redhat.com>
12560
12561 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
12562 Use pthread_kill to signal thread 2.
12563 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
12564 Adjust to make the test send itself a signal rather than using the
12565 host's "kill" command.
12566
12567 2014-03-20 Pedro Alves <palves@redhat.com>
12568
12569 * gdb.threads/multiple-step-overs.c: New file.
12570 * gdb.threads/multiple-step-overs.exp: New file.
12571 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
12572 Adjust expected infrun debug output.
12573
12574 2014-03-20 Pedro Alves <palves@redhat.com>
12575
12576 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
12577 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
12578
12579 2014-03-20 Pedro Alves <palves@redhat.com>
12580
12581 PR breakpoints/7143
12582 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
12583 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
12584 of gdb_test_multiple.
12585 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
12586 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
12587
12588 2014-03-20 Pedro Alves <palves@redhat.com>
12589
12590 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
12591 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
12592
12593 2014-03-19 Pedro Alves <palves@redhat.com>
12594
12595 * gdb.base/async.exp: Remove early return.
12596
12597 2014-03-19 Pedro Alves <palves@redhat.com>
12598
12599 * gdb.base/async.exp (step& tests): Pass explicit test messages.
12600
12601 2014-03-19 Pedro Alves <palves@redhat.com>
12602
12603 * gdb.base/async.exp (test_background): Expect \r\n after
12604 "completed." in the fail pattern.
12605
12606 2014-03-19 Pedro Alves <palves@redhat.com>
12607
12608 * gdb.base/async.exp (test_background): New procedure.
12609 Use it for all background execution command tests.
12610
12611 2014-03-19 Pedro Alves <palves@redhat.com>
12612
12613 * gdb.base/async.exp: Use prepare_for_testing.
12614
12615 2014-03-19 Pedro Alves <palves@redhat.com>
12616
12617 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
12618 the same line.
12619
12620 2014-03-19 Pedro Alves <palves@redhat.com>
12621
12622 * gdb.base/async.c (main): Add "jump here" and "until here" line
12623 marker comments.
12624 * gdb.base/async.exp (jump_here): New global.
12625 (jump& test): Use it.
12626 (until_here): New global.
12627 (until& test): Use it.
12628
12629 2014-03-19 Pedro Alves <palves@redhat.com>
12630
12631 * gdb.base/async.exp: Don't frob gdb_protocol.
12632
12633 2014-03-18 Doug Evans <xdje42@gmail.com>
12634
12635 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
12636 Fix spelling of exec-done-display.
12637
12638 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
12639
12640 PR gdb/15358
12641 * gdb.base/gdb-sigterm.c: New file.
12642 * gdb.base/gdb-sigterm.exp: New file.
12643
12644 2014-03-18 Pedro Alves <palves@redhat.com>
12645
12646 PR gdb/13860
12647 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
12648 * lib/mi-support.exp (mi_expect_stop): Add special handling for
12649 solib-event.
12650
12651 2014-03-17 Joel Brobecker <brobecker@adacore.com>
12652
12653 * gdb.ada/pckd_arr_ren: New testcase.
12654
12655 2014-03-13 Doug Evans <xdje42@gmail.com>
12656
12657 PR guile/16612
12658 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
12659 collect after discarding symbols.
12660
12661 2014-03-13 Ludovic Courtès <ludo@gnu.org>
12662 Doug Evans <xdje42@gmail.com>
12663
12664 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
12665 to history survives a gc.
12666
12667 2014-03-13 Pedro Alves <palves@redhat.com>
12668
12669 * gdb.base/default.exp: Don't test "target procfs".
12670
12671 2014-03-13 Pedro Alves <palves@redhat.com>
12672
12673 * gdb.base/default.exp: Update "target child" and "target procfs"
12674 tests to not expect "Unix".
12675
12676 2014-03-12 Tom Tromey <tromey@redhat.com>
12677
12678 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
12679 New procs. Add target-async tests.
12680 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
12681 Add target-async tests.
12682
12683 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
12684
12685 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
12686 'func_start' and 'func_end' for the beginning and end of the
12687 function code, respectively.
12688 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
12689 'func_end' instead of 'func' and 'main'.
12690
12691 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
12692
12693 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
12694 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
12695 generate the debug info assembler source.
12696
12697 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
12698
12699 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
12700 * gdb.dwarf2/arr-subrange.exp: Likewise.
12701 * gdb.dwarf2/dwz.exp: Likewise.
12702 * gdb.dwarf2/method-ptr.exp: Likewise.
12703 * gdb.dwarf2/missing-sig-type.exp: Likewise.
12704 * gdb.dwarf2/subrange.exp: Likewise.
12705 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
12706 * gdb.dwarf2/implptrpiece.exp: Likewise.
12707 * gdb.dwarf2/nostaticblock.exp: Likewise.
12708
12709 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
12710
12711 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
12712 directory to absolute path name arguments.
12713
12714 2014-03-10 Joel Brobecker <brobecker@adacore.com>
12715
12716 * gdb.ada/tagged_access: New testcase.
12717
12718 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
12719
12720 * gdb.btrace/data.exp: Update expected output.
12721
12722 2014-03-06 Yao Qi <yao@codesourcery.com>
12723
12724 * gdb.trace/pr16508.exp: New file.
12725
12726 2014-03-05 Pedro Alves <palves@redhat.com>
12727
12728 PR gdb/16575
12729 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
12730 procedure.
12731 (top level): Adjust to use it. Add tests that exercise breakpoint
12732 interaction with the code-cache.
12733
12734 2014-02-26 Ludovic Courtès <ludo@gnu.org>
12735
12736 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
12737 test for 'history-append!'.
12738
12739 2014-02-26 Joel Brobecker <brobecker@adacore.com>
12740
12741 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
12742 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
12743 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
12744 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
12745 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
12746 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
12747
12748 2014-02-26 Joel Brobecker <brobecker@adacore.com>
12749
12750 * testsuite/gdb.python/py-pp-re-notag.c: New file.
12751 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
12752 * testsuite/gdb.python/py-pp-re-notag.p: New file.
12753
12754 2014-02-26 Joel Brobecker <brobecker@adacore.com>
12755
12756 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
12757
12758 2014-02-26 Joel Brobecker <brobecker@adacore.com>
12759
12760 * gdb.dwarf2/arr-stride.c: New file.
12761 * gdb.dwarf2/arr-stride.exp: New file.
12762
12763 2014-02-26 Pedro Alves <palves@redhat.com>
12764
12765 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
12766 that won't ever trigger. Make sure that GDB reports the correct
12767 breakpoint that caused the stop.
12768
12769 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12770
12771 PR gdb/16626
12772 * gdb.base/auto-load-script: New file.
12773 * gdb.base/auto-load.c: New file.
12774 * gdb.base/auto-load.exp: New file.
12775
12776 PR gdb/16626
12777 * gdb.base/auto-load.exp: Fix out-of-srctree run.
12778
12779 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12780
12781 Fix dw2-icycle.exp -fsanitize=address GDB crash.
12782 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
12783
12784 2014-02-24 Doug Evans <dje@google.com>
12785
12786 * lib/gdb.exp (run_on_host): Log error output if program fails.
12787
12788 2014-02-21 Pedro Alves <palves@redhat.com>
12789
12790 * gdb.threads/step-after-sr-lock.c: Rename to ...
12791 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
12792 * gdb.threads/step-after-sr-lock.exp: Rename to ...
12793 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
12794 ... this.
12795
12796 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
12797
12798 PR tdep/16397
12799 * gdb.arch/amd64-stap-special-operands.exp: New file.
12800 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
12801 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
12802 * gdb.arch/amd64-stap-triplet.S: Likewise.
12803 * gdb.arch/amd64-stap-triplet.c: Likewise.
12804
12805 2014-02-20 Joel Brobecker <brobecker@adacore.com>
12806
12807 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
12808 in .section pseudo-op.
12809
12810 2014-02-20 lin zuojian <manjian2006@gmail.com>
12811 Joel Brobecker <brobecker@adacore.com>
12812 Doug Evans <xdje42@gmail.com>
12813
12814 PR symtab/16581
12815 * gdb.dwarf2/dw2-icycle.S: New file.
12816 * gdb.dwarf2/dw2-icycle.c: New file.
12817 * gdb.dwarf2/dw2-icycle.exp: New file.
12818
12819 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
12820
12821 * gdb.python/py-value-cc.cc: Improve test case to enable testing
12822 operations on gdb.Value objects.
12823 * gdb.python/py-value-cc.exp: Add new test to test operations on
12824 gdb.Value objects.
12825
12826 2014-02-18 Doug Evans <dje@google.com>
12827
12828 * Makefile.in (TESTS): New variable.
12829 (expanded_tests, expanded_tests_or_none): New variables
12830 (check-single): Pass $(expanded_tests_or_none) to runtest.
12831 (check-parallel): Only run tests in $(TESTS) if non-empty.
12832 (check/no-matching-tests-found): New rule.
12833 * README: Document TESTS makefile variable.
12834
12835 2014-02-18 Doug Evans <dje@google.com>
12836
12837 * Makefile.in (check-parallel): rm -rf outputs temp.
12838
12839 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12840
12841 Fix "ERROR: no fileid for" in the testsuite.
12842 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
12843
12844 2014-02-12 Doug Evans <dje@google.com>
12845
12846 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
12847 (MISCELLANEOUS): New variable.
12848 (clean): rm -rf $(MISCELLANEOUS).
12849 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
12850 dwp live in the same directory as symlinks, with each symlink pointed
12851 to a differently named file in a different directory.
12852
12853 2014-02-11 Doug Evans <dje@google.com>
12854
12855 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
12856 of Tcl file commands.
12857
12858 2014-02-10 Mark Kettenis <kettenis@gnu.org>
12859
12860 * gdb.threads/step-after-sr-lock.exp: Avoid executing
12861 "kill -SIGUSR1 -1".
12862
12863 2014-02-10 Joel Brobecker <brobecker@adacore.com>
12864
12865 * gdb.ada/tick_length_array_enum_idx: New testcase.
12866
12867 2014-02-10 Doug Evans <xdje42@gmail.com>
12868
12869 * configure.ac (AC_OUTPUT): Add gdb.guile.
12870 * configure: Regenerate.
12871 * lib/gdb-guile.exp: New file.
12872 * lib/gdb.exp (get_target_charset): New function.
12873 * gdb.base/help.exp: Update expected output from "apropos apropos".
12874 * gdb.guile/Makefile.in: New file.
12875 * gdb.guile/guile.exp: New file.
12876 * gdb.guile/scm-arch.c: New file.
12877 * gdb.guile/scm-arch.exp: New file.
12878 * gdb.guile/scm-block.c: New file.
12879 * gdb.guile/scm-block.exp: New file.
12880 * gdb.guile/scm-breakpoint.c: New file.
12881 * gdb.guile/scm-breakpoint.exp: New file.
12882 * gdb.guile/scm-disasm.c: New file.
12883 * gdb.guile/scm-disasm.exp: New file.
12884 * gdb.guile/scm-equal.c: New file.
12885 * gdb.guile/scm-equal.exp: New file.
12886 * gdb.guile/scm-error.exp: New file.
12887 * gdb.guile/scm-error.scm: New file.
12888 * gdb.guile/scm-frame-args.c: New file.
12889 * gdb.guile/scm-frame-args.exp: New file.
12890 * gdb.guile/scm-frame-args.scm: New file.
12891 * gdb.guile/scm-frame-inline.c: New file.
12892 * gdb.guile/scm-frame-inline.exp: New file.
12893 * gdb.guile/scm-frame.c: New file.
12894 * gdb.guile/scm-frame.exp: New file.
12895 * gdb.guile/scm-generics.exp: New file.
12896 * gdb.guile/scm-gsmob.exp: New file.
12897 * gdb.guile/scm-iterator.c: New file.
12898 * gdb.guile/scm-iterator.exp: New file.
12899 * gdb.guile/scm-math.c: New file.
12900 * gdb.guile/scm-math.exp: New file.
12901 * gdb.guile/scm-objfile-script-gdb.in: New file.
12902 * gdb.guile/scm-objfile-script.c: New file.
12903 * gdb.guile/scm-objfile-script.exp: New file.
12904 * gdb.guile/scm-objfile.c: New file.
12905 * gdb.guile/scm-objfile.exp: New file.
12906 * gdb.guile/scm-ports.exp: New file.
12907 * gdb.guile/scm-pretty-print.c: New file.
12908 * gdb.guile/scm-pretty-print.exp: New file.
12909 * gdb.guile/scm-pretty-print.scm: New file.
12910 * gdb.guile/scm-section-script.c: New file.
12911 * gdb.guile/scm-section-script.exp: New file.
12912 * gdb.guile/scm-section-script.scm: New file.
12913 * gdb.guile/scm-symbol.c: New file.
12914 * gdb.guile/scm-symbol.exp: New file.
12915 * gdb.guile/scm-symtab-2.c: New file.
12916 * gdb.guile/scm-symtab.c: New file.
12917 * gdb.guile/scm-symtab.exp: New file.
12918 * gdb.guile/scm-type.c: New file.
12919 * gdb.guile/scm-type.exp: New file.
12920 * gdb.guile/scm-value-cc.cc: New file.
12921 * gdb.guile/scm-value-cc.exp: New file.
12922 * gdb.guile/scm-value.c: New file.
12923 * gdb.guile/scm-value.exp: New file.
12924 * gdb.guile/source2.scm: New file.
12925 * gdb.guile/types-module.cc: New file.
12926 * gdb.guile/types-module.exp: New file.
12927
12928 2014-02-10 Yao Qi <yao@codesourcery.com>
12929
12930 PR testsuite/16543
12931 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
12932 * configure: Regenerated.
12933 * Makefile.in: New file.
12934
12935 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
12936
12937 * gdb.python/py-framefilter.exp: Fix typo.
12938
12939 2014-02-08 Yao Qi <yao@codesourcery.com>
12940
12941 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
12942 that no =breakpoint-modified is emitted when breakpoints are
12943 modified through MI commands.
12944
12945 2014-02-07 Pedro Alves <pedro@codesourcery.com>
12946 Pedro Alves <palves@redhat.com>
12947
12948 * gdb.threads/step-after-sr-lock.c: New file.
12949 * gdb.threads/step-after-sr-lock.exp: New file.
12950
12951 2014-02-07 Pedro Alves <palves@redhat.com>
12952
12953 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
12954
12955 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
12956
12957 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
12958 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
12959
12960 2014-02-06 Doug Evans <xdje42@gmail.com>
12961
12962 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
12963 output.
12964
12965 * gdb.gdb/python-interrupts.exp: New file.
12966
12967 2014-02-05 Yao Qi <yao@codesourcery.com>
12968
12969 * gdb.trace/report.exp (use_collected_data): Test the output
12970 of "info threads" and "info inferiors".
12971
12972 2014-02-05 Yao Qi <yao@codesourcery.com>
12973
12974 Revert this patch:
12975
12976 2013-05-24 Yao Qi <yao@codesourcery.com>
12977
12978 * gdb.trace/tfile.exp: Test inferior and thread.
12979
12980 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
12981
12982 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
12983 on a function.
12984 * gdb.base/step-bt.c: Call hello via function pointer to make
12985 sure its first instruction is executed on powerpc64le-linux.
12986
12987 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
12988
12989 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
12990
12991 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
12992
12993 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
12994 of the test patterns for use on little-endian systems.
12995
12996 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
12997
12998 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
12999 (decimal_vector): Fix for little-endian.
13000
13001 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
13002
13003 * gdb.arch/sparc-sysstep.exp: New file.
13004 * gdb.arch/sparc-sysstep.c: Likewise.
13005
13006 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
13007
13008 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13009
13010 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
13011
13012 2014-01-23 Tom Tromey <tromey@redhat.com>
13013
13014 * gdb.ada/array_char_idx: New testcase.
13015
13016 2014-01-23 Tom Tromey <tromey@redhat.com>
13017
13018 PR python/16487:
13019 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
13020 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
13021 classes.
13022
13023 2014-01-23 Tom Tromey <tromey@redhat.com>
13024
13025 PR python/16491:
13026 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
13027 string from an inferior frame.
13028 * gdb.python/py-framefilter-mi.exp: Update.
13029
13030 2014-01-22 Doug Evans <dje@google.com>
13031
13032 * gdb.server/server-mon.exp: Add tests for "set debug-format".
13033
13034 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13035
13036 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
13037
13038 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13039
13040 * gdb.trace/entry-values.exp: Remove excess space character from
13041 regex patterns. Handle s390 call instruction.
13042
13043 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13044
13045 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
13046 define "*_start" label. Make "name" static.
13047 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
13048 ${name} by references to ${name}_start.
13049
13050 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13051
13052 * gdb.base/info-macros.exp: Remove "debug" from the compile
13053 options.
13054
13055 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13056
13057 * gdb.dlang/demangle.exp: New file.
13058
13059 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13060
13061 * gdb.dlang/primitive-types.exp: New file.
13062
13063 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13064
13065 * configure.ac: Create gdb.dlang/Makefile.
13066 * configure: Regenerate.
13067 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
13068 * gdb.dlang/Makefile.in: New file.
13069 * lib/d-support.exp: New file.
13070 * lib/gdb.exp (skip_d_tests): New proc.
13071
13072 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13073
13074 * gdb.btrace/delta.exp: Check reverse stepi.
13075 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
13076 * gdb.btrace/finish.exp: New.
13077 * gdb.btrace/next.exp: New.
13078 * gdb.btrace/nexti.exp: New.
13079 * gdb.btrace/record_goto.c: Add comments.
13080 * gdb.btrace/step.exp: New.
13081 * gdb.btrace/stepi.exp: New.
13082 * gdb.btrace/multi-thread-step.c: New.
13083 * gdb.btrace/multi-thread-step.exp: New.
13084 * gdb.btrace/rn-dl-bind.c: New.
13085 * gdb.btrace/rn-dl-bind.exp: New.
13086 * gdb.btrace/data.c: New.
13087 * gdb.btrace/data.exp: New.
13088 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
13089
13090 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13091
13092 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
13093 * gdb.btrace/exception.exp: Update.
13094 * gdb.btrace/instruction_history.exp: Update.
13095 * gdb.btrace/record_goto.exp: Update.
13096 * gdb.btrace/tailcall.exp: Update.
13097 * gdb.btrace/unknown_functions.exp: Update.
13098 * gdb.btrace/delta.exp: New.
13099
13100 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13101
13102 * gdb.btrace/record_goto.exp: Add backtrace test.
13103 * gdb.btrace/tailcall.exp: Add backtrace test.
13104
13105 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13106
13107 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
13108 * gdb.btrace/record_goto.c: New.
13109 * gdb.btrace/record_goto.exp: New.
13110 * gdb.btrace/x86-record_goto.S: New.
13111
13112 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13113
13114 * gdb.btrace/function_call_history.exp: Update tests.
13115 * gdb.btrace/instruction_history.exp: Update tests.
13116
13117 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13118
13119 * gdb.btrace/function_call_history.exp: Fix expected field
13120 order for "record function-call-history".
13121 Add new tests for "record function-call-history /c".
13122 * gdb.btrace/exception.cc: New.
13123 * gdb.btrace/exception.exp: New.
13124 * gdb.btrace/tailcall.exp: New.
13125 * gdb.btrace/x86-tailcall.S: New.
13126 * gdb.btrace/x86-tailcall.c: New.
13127 * gdb.btrace/unknown_functions.c: New.
13128 * gdb.btrace/unknown_functions.exp: New.
13129 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
13130
13131 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13132
13133 * gdb.btrace/instruction_history.exp: Update.
13134 * gdb.btrace/function_call_history.exp: Update.
13135
13136 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13137
13138 * gdb.btrace/function_call_history.exp: Fix expected function
13139 trace.
13140 * gdb.btrace/instruction_history.exp: Initialize traced.
13141 Remove traced_functions.
13142
13143 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13144
13145 * gdb.btrace/function_call_history.exp: Update
13146 * gdb.btrace/instruction_history.exp: Update.
13147
13148 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13149
13150 * gdb.btrace/enable.exp: Update expected text.
13151
13152 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
13153
13154 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
13155 bytes.
13156
13157 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
13158
13159 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
13160
13161 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
13162
13163 * lib/gdb.exp (supports_process_record): Return true for
13164 arm*-linux*. (supports_reverse): Likewise.
13165
13166 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
13167
13168 PR python/15464
13169 PR python/16113
13170 * gdb.python/py-type.c: Enhance test case.
13171 * gdb.python/py-value-cc.cc: Likewise
13172 * gdb.python/py-type.exp: Add new tests.
13173 * gdb.python/py-value-cc.exp: Likewise
13174
13175 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13176 Pedro Alves <palves@redhat.com>
13177
13178 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
13179 Make "name" extern.
13180 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
13181 references to ${name}_start by references to ${name}.
13182
13183 2014-01-10 Joel Brobecker <brobecker@adacore.com>
13184
13185 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
13186
13187 2014-01-10 Joel Brobecker <brobecker@adacore.com>
13188
13189 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
13190
13191 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
13192 Pedro Alves <palves@redhat.com>
13193
13194 * gdb.mi/mi-info-os.exp: Connect to the target with
13195 mi_gdb_target_load.
13196
13197 2014-01-08 Pedro Alves <palves@redhat.com>
13198
13199 * gdb.threads/reconnect-signal.c: New file.
13200 * gdb.threads/reconnect-signal.exp: New file.
13201
13202 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13203
13204 * gdb.base/source-dir.exp: New file.
13205
13206 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13207
13208 * gdb.ada/mi_interface: New testcase.
13209
13210 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13211
13212 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
13213 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
13214 gdb.ada/pp-rec-component/pck.ads: New files.
13215
13216 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13217
13218 * gdb.python/py-pp-integral.c: New file.
13219 * gdb.python/py-pp-integral.py: New file.
13220 * gdb.python/py-pp-integral.exp: New file.
13221
13222 For older changes see ChangeLog-1993-2013.
13223 \f
13224 ;; Local Variables:
13225 ;; mode: change-log
13226 ;; left-margin: 8
13227 ;; fill-column: 74
13228 ;; version-control: never
13229 ;; End:
13230
13231 Copyright 2014-2018 Free Software Foundation, Inc.
13232 Copying and distribution of this file, with or without modification,
13233 are permitted provided the copyright notice and this notice are preserved.
This page took 0.532402 seconds and 5 git commands to generate.