]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Update French translation in bfd sub-directory
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
adf8243b
RK
12018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
2
3 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
4 "info reg" with "\[ \t\]*".
5 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
6 "\[ \t\]+".
7 * gdb.arch/s390-multiarch.exp: Ditto.
8 * gdb.base/pc-fp.exp: Ditto.
9 * gdb.reverse/i386-precsave.exp: Ditto.
10 * gdb.reverse/i386-reverse.exp: Ditto.
11 * gdb.reverse/i387-env-reverse.exp: Ditto.
12 * gdb.reverse/i387-stack-reverse.exp: Ditto.
13
dcc06925
AA
142018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
15
16 * lib/gdb.exp (gdb_compile): Re-enable use of
17 universal_compile_options for languages other than Rust.
18
25d4fd80
AA
192018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
20
21 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
22
ee7f689e 232018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
24
25 PR gdb/16577
26 * gdb.base/solib-vanish.exp: New.
27 * gdb.base/solib-vanish-main.c: New.
28 * gdb.base/solib-vanish-lib1.c: New.
29 * gdb.base/solib-vanish-lib2.c: New.
30
d8447b6b
YQ
312018-01-17 Yao Qi <yao.qi@linaro.org>
32
33 * gdb.compile/compile.exp: Match the address printed for
34 frame in the output of command "bt".
35
86d6a90c
TT
362018-01-15 Tom Tromey <tom@tromey.com>
37
38 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
39 compute sp_reg.
40
cbcdb1aa
AB
412018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
42
43 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
44 to prepare.
45 (prepare): Return 0 on error, 1 on success.
46
eea61984
PA
472018-01-12 Pedro Alves <palves@redhat.com>
48
49 * gdb.base/continue-after-aborted-step-over.c: New.
50 * gdb.base/continue-after-aborted-step-over.exp: New.
51
6181e9c2
SM
522018-01-11 Simon Marchi <simon.marchi@ericsson.com>
53
54 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
55 options when not creating an executable.
56
3cada740
PA
572018-01-11 Pedro Alves <palves@redhat.com>
58
59 PR remote/22597
60 * gdb.server/stop-reply-no-thread.c: New file.
61 * gdb.server/stop-reply-no-thread.exp: New file.
62
c63d3e8d
PA
632018-01-10 Pedro Alves <palves@redhat.com>
64
65 PR gdb/22670
66 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
67 functions too. Test setting breakpoints and printing C functions
68 with no debug info too.
69 * gdb.ada/bp_c_mixed_case/qux.c: New file.
70
d4c2a405
PA
712018-01-10 Pedro Alves <palves@redhat.com>
72
73 PR gdb/22670
74 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
75 a fail.
76
8825213e
PA
772018-01-10 Pedro Alves <palves@redhat.com>
78
79 PR gdb/22670
80 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
81
605fd3c6
YQ
822018-01-08 Simon Marchi <simon.marchi@ericsson.com>
83
84 * gdb.server/unittest.exp: Match the output in non-development
85 mode.
86
1e5ded6c
YQ
872018-01-08 Simon Marchi <simon.marchi@ericsson.com>
88
89 * gdb.gdb/unittest.exp: Match output in non-development mode.
90
30066b0b
JB
912018-01-08 Joel Brobecker <brobecker@adacore.com>
92
93 * gdb.ada/access_tagged_param.exp: Relax expected output
94 for value of "ObjL" in "continue" to pck.inspect breakpoint
95 test.
96
04bafb1e
XR
972018-01-08 Joel Brobecker <brobecker@adacore.com>
98
9f86398b
JB
99 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
100 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 101
e379cee6
PA
1022018-01-05 Pedro Alves <palves@redhat.com>
103
104 PR gdb/18653
105 * gdb.base/libsegfault.exp: New.
106
de63c46b
PA
1072018-01-05 Joel Brobecker <brobecker@adacore.com>
108
109 PR gdb/22670
110 * gdb.ada/access_tagged_param.exp: New file.
111 * gdb.ada/access_tagged_param/foo.adb: New file.
112
f98fc17b
PA
1132018-01-05 Pedro Alves <palves@redhat.com>
114
115 PR gdb/22670
116 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
117 exercise lower case too, and to exercise both full matching and
118 wild matching.
119
342f8240
JB
1202018-01-05 Joel Brobecker <brobecker@adacore.com>
121
122 * gdb.ada/rename_subscript_param: New testcase.
123
7150d33c
JG
1242018-01-05 Jerome Guitton <guitton@adacore.com>
125
126 * gdb.ada/arr_acc_idx_w_gap: New testcase.
127
cc0e770c
JB
1282018-01-05 Joel Brobecker <brobecker@adacore.com>
129
130 * gdb.ada/convvar_comp: New testcase.
131
672a41aa 1322018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
133
134 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
135 (My_Table): New global variable.
136 * testsuite/gdb.ada/array_char_idx.exp: Add test.
137
7365ec2f
JB
1382018-01-04 Joel Brobecker <brobecker@adacore.com>
139
140 PR gdb/22670
141 * gdb.ada/maint_with_ada: New testcase.
142
289483b6
JB
1432018-01-04 Joel Brobecker <brobecker@adacore.com>
144
145 PR gdb/22670
146 * gdb.ada/bp_c_mixed_case: New testcase.
147
344420da
JB
1482018-01-04 Joel Brobecker <brobecker@adacore.com>
149
150 PR gdb/22670
151 * gdb.ada/complete.exp: Add "complete break ada" test.
152
66fc87a0
JB
1532018-01-04 Joel Brobecker <brobecker@adacore.com>
154
155 PR gdb/22670
156 * gdb.ada/info_addr_mixed_case: New testcase.
157
9f757bf7
XR
1582018-01-03 Xavier Roirand <roirand@adacore.com>
159
160 * gdb.ada/excep_handle.exp: New testcase.
161 * gdb.ada/excep_handle/foo.adb: New file.
162 * gdb.ada/excep_handle/pck.ads: New file.
163
bd570f80
JB
1642018-01-03 Joel Brobecker <brobecker@adacore.com>
165
166 * gdb.base/step-line.c: Add extra empty line in copyright header.
167 * gdb.base/step-line.inp: Likewise.
168
9fe561ab
JB
1692018-01-02 Joel Brobecker <brobecker@adacore.com>
170
171 * gdb.ada/dyn_stride.exp: Add slice test.
172
a405673c
JB
1732018-01-02 Joel Brobecker <brobecker@adacore.com>
174
175 * gdb.ada/dyn_stride: New testcase.
176
cef0f868
SH
1772017-12-27 Stafford Horne <shorne@gmail.com>
178
179 * gdb.xml/extra-regs.xml: Add example foo reggroup.
180 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
181
b67d92b0
SH
1822017-12-27 Stafford Horne <shorne@gmail.com>
183
184 * gdb.base/reggroups.c: New file.
185 * gdb.base/reggroups.exp: New file.
186
eccab96d
JB
1872017-12-18 Joel Brobecker <brobecker@adacore.com>
188
189 * gdb.dwarf2/ada-valprint-error.c: New file.
190 * gdb.dwarf2/ada-valprint-error.exp: New file.
191
0e2da9f0
JB
1922017-12-18 Joel Brobecker <brobecker@adacore.com>
193
194 * gdb.ada/assign_arr: New testcase.
195
cb923fcc
XR
1962017-12-18 Xavier Roirand <roirand@adacore.com>
197
198 * gdb.ada/funcall_ptr: New testcase.
199
7c161838
SDJ
2002017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
201
202 PR cli/16224
203 * gdb.base/ptype-offsets.cc: New file.
204 * gdb.base/ptype-offsets.exp: New file.
205
1af17fd9
YQ
2062017-12-15 Yao Qi <yao.qi@linaro.org>
207
208 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
209 if XML is disabled.
210
828d5846
XR
2112017-12-15 Xavier Roirand <roirand@adacore.com>
212
213 * gdb.ada/same_component_name: New testcase.
214
79e8fcaa
JB
2152017-12-14 Joel Brobecker <brobecker@adacore.com>
216
217 * gdb.ada/str_binop_equal: New testcase.
218
e05fa6f9
JB
2192017-12-14 Joel Brobecker <brobecker@adacore.com>
220
221 * gdb.ada/task_switch_in_core: New testcase.
222
b89641ba
SM
2232017-12-13 Simon Marchi <simon.marchi@ericsson.com>
224
225 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
226 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
227 call test_bkpt_qualified.
228 (test_bkpt_qualified): New proc.
229
6892d2e4
PA
2302017-12-13 Pedro Alves <palves@redhat.com>
231
232 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
233 Tighten regexp by matching with an anchor.
234
a22ecf70
PA
2352017-12-13 Pedro Alves <palves@redhat.com>
236
237 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
238 ("expression with namespace"): New set of tests.
239 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
240 (Nested::Test_NS::qux): New.
241 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
242 defaults to 'start_quote_char' and 'end_quote_char' parameters.
243
9937536c
JB
2442017-12-13 Joel Brobecker <brobecker@adacore.com>
245
246 * gdb.base/server-del-break.c: New file.
247 * gdb.base/server-del-break.exp: New file.
248
fe49c6f5
SH
2492017-12-12 Stafford Horne <shorne@gmail.com>
250
251 * gdb.xml/tdesc-regs.exp: Add or1k support.
252
c3d18620
SH
2532017-12-12 Stafford Horne <shorne@gmail.com>
254
255 * gdb.base/bp-permanent.c: Define nop of or1k.
256
c5f9cfc8
JB
2572017-12-11 Joel Brobecker <brobecker@adacore.com>
258
259 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
260 output with components being reordered.
261
a9c135fc
JB
2622017-12-11 Joel Brobecker <brobecker@adacore.com>
263
264 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
265 output with components being reordered.
266
927aa2e7
JK
2672017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
268 Pedro Alves <palves@redhat.com>
269
270 * gdb.base/maint.exp (check for .gdb_index): Check also for
271 .debug_names.
272 * gdb.dlang/watch-loc.c (.debug_aranges): New.
273 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
274 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
275 (.gdb_index used after symbol reloading): Support also .debug_names.
276 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
277
f17d9474
YQ
2782017-12-08 Yao Qi <yao.qi@linaro.org>
279
280 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
281 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
282
a0de8c21
YQ
2832017-12-08 Yao Qi <yao.qi@linaro.org>
284
285 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
286 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
287
a738ea1d
YQ
2882017-12-08 Yao Qi <yao.qi@linaro.org>
289
290 * gdb.arch/aarch64-tagged-pointer.c: New file.
291 * gdb.arch/aarch64-tagged-pointer.exp: New file.
292
1cd9a73b
SDJ
2932017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
294
295 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
296 "int".
297
fa6eb693
KS
2982017-12-07 Keith Seitz <keiths@redhat.com>
299
300 PR breakpoints/22569
301 * gdb.linespec/ls-errs.exp: Change expected result of "break
302 -source this file has spaces.c -line 3".
303 Check that an explicit source file followed by whitespace is
304 identified as an invalid explicit location.
305
883fd55a
KS
3062017-12-07 Keith Seitz <keiths@redhat.com>
307
308 * gdb.cp/nested-types.cc: New file.
309 * gdb.cp/nested-types.exp: New file.
310 * lib/cp-support.exp: Load data-structures.exp library.
311 (debug_cp_test_ptype_class): New global.
312 (cp_ptype_class_verbose, next_line): New procedures.
313 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
314 Add and document new return value.
315 Switch the list of lines to a queue.
316 Add support for new `type' key for nested type definitions.
317 Add debugging/troubleshooting messages.
318 * lib/data-structures.exp: New file.
319
ec72db3e
SM
3202017-12-07 Simon Marchi <simon.marchi@ericsson.com>
321
322 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
323 with proc_with_prefix, don't use with_test_prefix.
324
99598d71
TT
3252017-12-07 Tom Tromey <tom@tromey.com>
326
327 * gdb.base/break.exp: Add test for empty "commands".
328
a8806230
YQ
3292017-12-07 Yao Qi <yao.qi@linaro.org>
330
331 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
332 malloc and catch syscall.
333
824cc835
PM
3342017-12-07 Phil Muldoon <pmuldoon@redhat.com>
335
336 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
337 tests for explicit locations.
338
7cc244de
PA
3392017-12-06 Pedro Alves <palves@redhat.com>
340
341 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
342 force-disabling XML descriptions.
343
50a1fdd5
PA
3442017-12-04 Pedro Alves <palves@redhat.com>
345
346 PR gdb/22499
347 * gdb.arch/amd64-disp-step-avx.S: New file.
348 * gdb.arch/amd64-disp-step-avx.exp: New file.
349
f0fb2488
PA
3502017-12-03 Pedro Alves <palves@redhat.com>
351
352 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
353 and <string.h>.
354 (parent_function): Print distinct messages when waitpid fails, or
355 the child exits with a signal, or the child exits for an unhandled
356 reason.
357 * gdb.threads/process-dies-while-detaching.exp
358 (detach_and_expect_exit): New 'inf_output_re' parameter and use
359 it. Wait for both inferior output and GDB's prompt. Use an
360 indirect spawn id list.
361 (do_detach): New parameter 'child_exit'. Use it to compute
362 expected inferior output.
363 (test_detach, test_detach_watch, test_detach_killed_outside):
364 Adjust to pass down the expected child exit kind.
365
97cbe998
SDJ
3662017-12-01 Joel Brobecker <brobecker@adacore.com>
367 Sergio Durigan Junior <sergiodj@redhat.com>
368 Pedro Alves <palves@redhat.com>
369
370 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
371
40fc416f
SDJ
3722017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
373
374 * gdb.base/relocate.exp: Add tests to guarantee that arguments
375 to 'symbol-file' and 'add-symbol-file' can be
376 position-independent.
377
1cc75e92
YQ
3782017-12-01 Yao Qi <yao.qi@linaro.org>
379
380 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
381 the URL in copyright header.
382 * gdb.arch/aarch64-fp.exp: Likewise.
383 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
384 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
385 * gdb.base/expand-psymtabs.exp: Likewise.
386 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
387 * gdb.fortran/common-block.exp: Likewise.
388 * gdb.fortran/common-block.f90: Likewise.
389 * gdb.fortran/logical.exp: Likewise.
390 * gdb.fortran/vla-datatypes.f90: Likewise.
391 * gdb.fortran/vla-sub.f90: Likewise.
392
875fb7a7
JB
3932017-11-30 Joel Brobecker <brobecker@adacore.com>
394
395 * gdb.ada/repeat_dyn: New testcase.
396
6f14765f
UW
3972017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
398
399 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
400 Update for changed thread numbering.
401 * gdb.cell/bt.exp: Update for changed GDB output.
402
f1af7b94
SM
4032017-11-30 Simon Marchi <simon.marchi@ericsson.com>
404
405 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
406 setting isremote by hand.
407 * boards/dwarf4-gdb-index.exp: Likewise.
408 * boards/fission.exp: Likewise.
409 * boards/stabs.exp: Likewise.
410
e3919f3e
PA
4112017-11-30 Pedro Alves <palves@redhat.com>
412
413 * gdb.linespec/cpls-ops.exp
414 (check_explicit_skips_function_argument): Extract the underlying
415 type of size_t instead of hardcoding it.
416
bd69330d
PA
4172017-11-29 Pedro Alves <palves@redhat.com>
418
419 PR c++/19436
420 * gdb.linespec/cpls-abi-tag.cc: New file.
421 * gdb.linespec/cpls-abi-tag.exp: New file.
422
a20714ff
PA
4232017-11-29 Pedro Alves <palves@redhat.com>
424
425 * gdb.base/langs.exp: Use -qualified.
426 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
427 it.
428 * gdb.cp/namespace.exp: Use -qualified.
429 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
430 (overload-3, template-overload, template-ret-type, const-overload)
431 (const-overload-quoted, anon-ns, ambiguous-prefix): New
432 procedures.
433 (test_driver): Call them.
434 * gdb.cp/save-bp-qualified.cc: New.
435 * gdb.cp/save-bp-qualified.exp: New.
436 * gdb.linespec/explicit.exp: Test -qualified.
437 * lib/completion-support.exp (completion::explicit_opts_list): Add
438 "-qualified".
439 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
440
f6f1d339
PM
4412017-11-29 Phil Muldoon <pmuldoon@redhat.com>
442
443 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
444
02ca603a
TT
4452017-11-29 Tom Tromey <tom@tromey.com>
446
447 * gdb.base/relocate.exp: Update invalid argument test.
448 Add new tests for invalid arguments.
449
ed6c0bfb
TP
4502017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
451
452 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
453 Return 0 as a long.
454 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
455
f106e10e
TP
4562017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
457
458 * gdb.cp/breakpoint.cc (bar): Set return type to void.
459 * gdb.cp/psymtab-parameter.cc (func): Likewise.
460 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
461 func ().
462 * gdb.cp/shadow.cc (B.func): Return 0.
463
10329bb2
JB
4642017-11-27 Joel Brobecker <brobecker@adacore.com>
465
466 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
467 expected output in gdb_expect call to allow the exception
468 message to be present as well. Fix syntax confusion to avoid
469 TCL thinking that exception_name is an array.
470
617cd4bc
UW
4712017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
472
473 * gdb.arch/spu-info.c: Include <unistd.h>.
474 (do_signal_test): Fix broken calls to write.
475 * gdb.arch/spu-info.exp: Use prepare_for_testing.
476 Fix checks for empty mailboxes. Update signal tests for corrected
477 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
478 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
479 * gdb.cell/arch.exp: Use standard_output_file.
480 * gdb.cell/break.exp: Likewise.
481 * gdb.cell/bt.exp: Likewise.
482 * gdb.cell/core.exp: Likewise.
483 * gdb.cell/dwarfaddr.exp: Likewise.
484 * gdb.cell/ea-cache.exp: Likewise.
485 * gdb.cell/ea-standalone.exp: Likewise.
486 * gdb.cell/f-regs.exp: Likewise.
487 * gdb.cell/fork.exp: Likewise.
488 * gdb.cell/gcore.exp: Likewise.
489 * gdb.cell/mem-access.exp: Likewise.
490 * gdb.cell/ptype.exp: Likewise.
491 * gdb.cell/registers.exp: Likewise.
492 * gdb.cell/sizeof.exp: Likewise.
493 * gdb.cell/solib-symbol.exp: Likewise.
494 * gdb.cell/solib.exp: Likewise.
617cd4bc 495
a81aaca0
PA
4962017-11-25 Pedro Alves <palves@redhat.com>
497
498 * gdb.base/complete-empty.exp: New file.
499 * gdb.base/completion.exp: Adjust.
500
6a3c6ee4
PA
5012017-11-25 Pedro Alves <palves@redhat.com>
502
503 * gdb.linespec/cpls-ops.cc: New file.
504 * gdb.linespec/cpls-ops.exp: New file.
505 * lib/completion-support.exp (test_complete_prefix_range_re): New,
506 factored out from ...
507 (test_complete_prefix_range): ... this.
508
8955eb2d
PA
5092017-11-24 Pedro Alves <palves@redhat.com>
510
511 * gdb.linespec/cpcompletion.exp: New file.
512 * gdb.linespec/cpls-hyphen.cc: New file.
513 * gdb.linespec/cpls.cc: New file.
514 * gdb.linespec/cpls2.cc: New file.
515 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
516 test to use test_gdb_complete_unique. Add label completion,
517 keyword completion and explicit location completion tests.
518 * lib/completion-support.exp: New file.
519
e547c119
JB
5202017-11-24 Joel Brobecker <brobecker@adacore.com>
521
522 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
523 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
524 when hitting an exception catchpoint.
525
7c3c1aa8
YQ
5262017-11-22 Yao Qi <yao.qi@linaro.org>
527
528 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
529
41bd68f5
SM
5302017-11-22 Simon Marchi <simon.marchi@ericsson.com>
531
532 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
533 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
534 * gdb.dwarf2/info-locals-optimized-out.c: New file.
535
1daad298
YQ
5362017-11-22 Yao Qi <yao.qi@linaro.org>
537
538 * gdb.base/info-os.exp: Pass pthreads.
539 * gdb.multi/multi-attach.exp: Likewise.
540
88465e87
YQ
5412017-11-22 Yao Qi <yao.qi@linaro.org>
542
543 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
544 compiler.
545
dc196b23
YQ
5462017-11-22 Yao Qi <yao.qi@linaro.org>
547
548 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
549 * gdb.base/break-interp.exp: Likewise.
550 * gdb.base/jit-attach-pie.exp: Likewise.
551
2400729e
UW
5522017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
553
554 * gdb.base/float128.c (large128): New variable.
555 * gdb.base/float128.exp: Add test to print largest __float128 value.
556
7a26362d
UW
5572017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
558
559 * gdb.arch/vsx-regs.exp: Update register content checks.
560
ed0f4273
UW
5612017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
562
563 * gdb.arch/ppc-longdouble.exp: New file.
564 * gdb.arch/ppc-longdouble.c: Likewise.
565
a25d69c6
PA
5662017-11-21 Pedro Alves <palves@redhat.com>
567
568 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
569
73fcf641
PA
5702017-11-20 Pedro Alves <palves@redhat.com>
571
572 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
573 (long_double_typedef): New typedefs.
574 Use DEF on double and long double.
575 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
576 cases.
577 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
578 and 'long_double_ptr_same_size' locals. Use them to decide
579 whether cast from array/function to float is valid/invalid.
580
71a3c369
TT
5812017-11-17 Tom Tromey <tom@tromey.com>
582
583 * gdb.rust/traits.rs: New file.
584 * gdb.rust/traits.exp: New file.
585
ced9779b
JB
5862017-11-17 Joel Brobecker <brobecker@adacore.com>
587
588 * gdb.ada/minsyms: New testcase.
589
a0922d80
PA
5902017-11-16 Pedro Alves <palves@redhat.com>
591
592 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
593 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
594
ea04e54c
PA
5952017-11-16 Pedro Alves <palves@redhat.com>
596
597 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
598 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
599
e849ea89
PA
6002017-11-16 Pedro Alves <palves@redhat.com>
601
602 * gdb.server/reconnect-ctrl-c.c: New file.
603 * gdb.server/reconnect-ctrl-c.exp: New file.
604
d8ae99a7
PM
6052017-11-16 Phil Muldoon <pmuldoon@redhat.com>
606
607 * gdb.python/py-rbreak.exp: New file.
608 * gdb.python/py-rbreak.c: New file.
609 * gdb.python/py-rbreak-func2.c: New file.
610
968a13f8
PA
6112017-11-16 Pedro Alves <palves@redhat.com>
612
613 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
614 pattern.
615 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
616 GDB.
617
71774bc9
SM
6182017-11-15 Simon Marchi <simon.marchi@ericsson.com>
619
620 * gdb.tui/completionn.exp (test_tab_completion): Add space in
621 regex.
622
ddbb44cf
SM
6232017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
624
625 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
626 test names.
627
584a564f
PA
6282017-11-09 Pedro Alves <palves@redhat.com>
629
630 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
631 factored out from ...
632 (top level): ... here, and adjusted to avoid expecting beyond the
633 prompt in a single gdb_test_multiple.
634
5ed7a928
PA
6352017-11-09 Pedro Alves <palves@redhat.com>
636
637 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
638 output.
639 * gdb.server/ext-attach.exp ("kill" test): Likewise.
640 * gdb.server/ext-restart.exp ("kill" test): Likewise.
641 * gdb.server/ext-run.exp ("kill" test): Likewise.
642 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
643
a60e0738
PA
6442017-11-09 Pedro Alves <palves@redhat.com>
645
646 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
647 match till end of line.
648
2c88253f
PA
6492017-11-09 Pedro Alves <palves@redhat.com>
650
651 * gdb.base/memattr.exp: Tighten regexes to match the end line.
652
c7a38517
PA
6532017-11-09 Pedro Alves <palves@redhat.com>
654
655 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
656 New procedures, factored out from ...
657 (top level): ... here, and adjusted to avoid expecting beyond the
658 prompt in one go.
659
f29f4b6b
PA
6602017-11-09 Pedro Alves <palves@redhat.com>
661
662 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
663 output. Fix '?' match.
664
286acbb5
JB
6652017-11-08 Joel Brobecker <brobecker@adacore.com>
666
667 * gdb.ada/scoped_watch: New testcase.
668 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
669 which is actually correct.
670 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
671 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
672
62d7ae92
PA
6732017-11-08 Pedro Alves <palves@redhat.com>
674
675 * gdb.gdb/complaints.exp (test_initial_complaints)
676 (test_serial_complaints, test_short_complaints): Call
677 complaint_internal instead of complaint.
678
280ca31f
DT
6792017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
680
681 * gdb.threads/tls-core.c: New file.
682 * gdb.threads/tls-core.exp: Likewise.
683
b5ec771e
PA
6842017-11-08 Pedro Alves <palves@redhat.com>
685
686 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
687 (p Exported_Capitalized): New test.
688 (p exported_capitalized): New test.
689
a02b41a7
PA
6902017-11-07 Pedro Alves <palves@redhat.com>
691
692 * gdb.cp/ena-dis-br-range.exp: Add more tests.
693
95e95a6d
PA
6942017-11-07 Pedro Alves <palves@redhat.com>
695
696 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
697 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
698 (disable_invalid, disable_inverted, disable_negative): New
699 procedures.
700 ("bad numbers"): New set of tests.
701
cee62dbd
PA
7022017-11-07 Pedro Alves <palves@redhat.com>
703
704 * gdb.cp/ena-dis-br-range.exp: Add tests.
705
cc638e86
PA
7062017-11-07 Pedro Alves <palves@redhat.com>
707
708 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
709
d0fe4701
XR
7102017-11-07 Xavier Roirand <roirand@adacore.com>
711 Pedro Alves <palves@redhat.com>
712
713 * gdb.base/ena-dis-br.exp: Add reference to
714 gdb.cp/ena-dis-br-range.exp.
715 * gdb.cp/ena-dis-br-range.exp: New file.
716 * gdb.cp/ena-dis-br-range.cc: New file.
717
46f67f80
PA
7182017-11-06 Pedro Alves <palves@redhat.com>
719
720 * gdb.base/attach-non-pgrp-leader.c: New.
721 * gdb.base/attach-non-pgrp-leader.exp: New.
722
726e1356
PA
7232017-11-06 Pedro Alves <palves@redhat.com>
724
725 * configure.ac: No longer check for termio.h and sgtty.h.
726 * configure: Regenerate.
727 * remote-utils.c: Include termios.h instead of gdb_termios.h.
728 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
729 Remove termio and sgtty code.
730
50ab6ace
YQ
7312017-11-03 Yao Qi <yao.qi@linaro.org>
732
733 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
734 in GDB is disabled.
735
8e68731c
YQ
7362017-11-03 Yao Qi <yao.qi@linaro.org>
737
738 * gdb.python/py-thrhandle.exp: Skip it if python is not
739 enabled.
740
3a87ae65
SM
7412017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
742
743 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
744 as a breakpoint command.
745
484d8d36
MD
7462017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
747
748 PR python/21213
749 * gdb.python/py-infthread.exp: Test calling
750 InferiorThread.inferior () multiple times in a row.
751
4a27f119
KS
7522017-10-27 Keith Seitz <keiths@redhat.com>
753
754 * gdb.opt/inline-break.exp (break_info_1): New procedure.
755 Test "info break" for every inlined function breakpoint.
756
bb11dd58
YQ
7572017-10-27 Yao Qi <yao.qi@linaro.org>
758
759 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
760
a43f3893
PF
7612017-10-26 Patrick Frants <osscontribute@gmail.com>
762
763 * gdb.cp/classes.exp (test_static_members): Test printing
764 Outer::instance.
765 * gdb.cp/classes.c (struct Inner, struct Outer): New.
766 (Inner::instance, Outer::instance): New.
767
792ccf00
PA
7682017-10-24 Pedro Alves <palves@redhat.com>
769
770 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
771 extra console" test in two stages.
772
eb2bfbad
PA
7732017-10-24 Pedro Alves <palves@redhat.com>
774
775 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
776
1f75a651
PA
7772017-10-24 Pedro Alves <palves@redhat.com>
778
779 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
780 loop.
781
779990d9
PA
7822017-10-24 Pedro Alves <palves@redhat.com>
783
784 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
785 $attempt" and "stoppedtry $stoppedtry" test prefixes.
786
ad9b8f5d
PA
7872017-10-24 Pedro Alves <palves@redhat.com>
788
789 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
790 parameter and handle it. Don't output read value in test name.
791
fee6da6e
PA
7922017-10-24 Pedro Alves <palves@redhat.com>
793
794 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
795 custom test name.
796
10389c2c
PA
7972017-10-24 Pedro Alves <palves@redhat.com>
798
799 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
800 include the unstable output directory name in the test's name.
801 (initial_setup_simple) <'set args'>: Use custom test name.
802
a80e65a9
PA
8032017-10-24 Pedro Alves <palves@redhat.com>
804
805 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
806 with explicit test name.
807
15763a09
PA
8082017-10-20 Pedro Alves <palves@redhat.com>
809
810 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
811 'wait -i'. Use gdb_assert and remote_close.
812
49a4ce2e
AB
8132017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
814
815 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
816 number from variable rather than hard-coded.
817
a75868f5
PA
8182017-10-19 Pedro Alves <palves@redhat.com>
819
820 * gdb.base/long-inferior-output.c: New file.
821 * gdb.base/long-inferior-output.exp: New file.
822
c8ba13ad
KS
8232017-11-18 Keith Seitz <keiths@redhat.com>
824
825 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
826 method.
827 (main): Call it.
828 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
829 Add additional user-defined conversion operator tests.
830
b27de576
PA
8312017-10-17 Pedro Alves <palves@redhat.com>
832
833 * boards/native-stdio-gdbserver.exp: Load "local-board".
834
8484c955
PA
8352017-10-17 Pedro Alves <palves@redhat.com>
836
837 * gdb.base/quit-live.c: New file.
838 * gdb.base/quit-live.exp: New file.
839
83d5a34d
KS
8402017-10-16 Keith Seitz <keiths@redhat.com>
841
842 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
843 (class_with_protected_typedef, class_with_private_typedef)
844 (struct_with_public_typedef, struct_with_protected_typedef)
845 (struct_with_private_typedef): New classes/structs.
846 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
847 typedefs and access specifiers.
848
739b3f1d
PA
8492017-10-16 Pedro Alves <palves@redhat.com>
850 Simon Marchi <simon.marchi@polymtl.ca>
851
852 * README (Local vs Remote vs Native): New section.
853 * boards/local-board.exp: New file, with bits factored out from
854 ...
855 * boards/native-extended-gdbserver.exp: ... here. Load
856 "local-board".
857 * boards/native-gdbserver.exp: Load "local-board".
858 (${board}_spawn, ${board}_exec): Delete.
859 * boards/native-stdio-gdbserver.exp: Most contents factored out to
860 ...
861 * boards/stdio-gdbserver-base.exp: ... this new file.
862 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
863 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
864 procedure.
865 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
866 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
867 stdio_gdbserver_command.
868 (${board}_get_remote_address, ${board}_get_comm_port)
869 (${board}_download, ${board}_upload): Delete.
870 (get_target_remote_pipe_cmd): New.
871
fe68b953
SM
8722017-10-16 Simon Marchi <simon.marchi@ericsson.com>
873
874 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
875 test_bkpt_deletion, test_bkpt_cond_and_cmds,
876 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
877 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
878 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
879 remove with_test_prefix.
880
300b6685
PA
8812017-10-13 Pedro Alves <palves@redhat.com>
882
883 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
884 * gdb.base/annota1.exp: Use it instead of is_remote.
885 * gdb.base/annota3.exp: Use it instead of is_remote.
886 * gdb.cp/annota2.exp: Use it instead of is_remote.
887 * gdb.cp/annota3.exp: Use it instead of is_remote.
888 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
889
50500caf
PA
8902017-10-13 Pedro Alves <palves@redhat.com>
891
892 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
893 (test_num_test_vars, run_and_count_vars, find_env)
894 (test_set_unset_env, test_inherit_env_var): New procedures.
895 (top level): Use them.
896
dad0c6d2
PA
8972017-10-13 Pedro Alves <palves@redhat.com>
898
899 * lib/selftest-support.exp (selftest_setup): Extend comments, and
900 also skip on stub-like targets.
901
8b0553c1
PA
9022017-10-13 Pedro Alves <palves@redhat.com>
903
904 PR gdb/22293
905 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
906 (top level): Move some tests to ...
907 (test_not_found): ... this new procedure.
908 (top level): Call it.
909
7594f623
PA
9102017-10-13 Pedro Alves <palves@redhat.com>
911
912 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
913 expect different "info terminal" output if testing with a
914 non-native target.
915
ebe3b402
PA
9162017-10-13 Pedro Alves <palves@redhat.com>
917 Simon Marchi <simon.marchi@polymtl.ca>
918
919 PR python/12966
920 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
921
42f1b161
PA
9222017-10-13 Pedro Alves <palves@redhat.com>
923
924 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
925 already.
926
8d6ef72b
PA
9272017-10-13 Pedro Alves <palves@redhat.com>
928
929 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
930 is_remote.
931
d7bcd5b8
PA
9322017-10-13 Pedro Alves <palves@redhat.com>
933
934 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
935 is_remote.
936
df479dc6
PA
9372017-10-13 Pedro Alves <palves@redhat.com>
938
939 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
940 is set.
941 (corefile_test_attach): Likewise. Check can_spawn_for_attach
942 instead of is_remote.
943
23fb630a
PA
9442017-10-13 Pedro Alves <palves@redhat.com>
945
946 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
947 (top level): Add comment.
948
cc77b1dc
PA
9492017-10-13 Pedro Alves <palves@redhat.com>
950
951 * gdb.base/remote.exp (top level): Fix comment typo and add
952 missing return.
953
27c9e813
PA
9542017-10-13 Pedro Alves <palves@redhat.com>
955 Simon Marchi <simon.marchi@polymtl.ca>
956
957 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
958 calls and add comments. Skip test if use_gdb_stub is set.
959 (top level): Use "set cwd" command instead of "cd" command.
960
5e830d98
PA
9612017-10-13 Pedro Alves <palves@redhat.com>
962
963 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
964 is_remote target check.
965
f5ca0032
PA
9662017-10-13 Pedro Alves <palves@redhat.com>
967
968 * gdb.base/scope.exp: Use build_executable + clean_restart +
969 gdb_file_cmd instead of prepare_for_testing and no longer skip
970 "before run" tests on is_remote target boards. Update comments.
971 * boards/native-extended-gdbserver.exp
972 (extended_gdbserver_load_last_file): New, factored out from ...
973 (gdb_load): ... this. Move further below and add comment.
974 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
975
8aed1c0d
PA
9762017-10-12 Pedro Alves <palves@redhat.com>
977
978 * gdb.base/attach.exp: Remove references to gdb64.
979 * gdb.base/dbx.exp: Remove references to gdb64.
980
cfa34c87
SM
9812017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
982 Pedro Alves <palves@redhat.com>
983
984 * gdb.base/label.exp: Remove is_remote target check.
985
9192b7de
PA
9862017-10-12 Pedro Alves <palves@redhat.com>
987
988 * gdb.base/auvx.exp (coredir): Update comment.
989 (top level) <core_works>: Use "set cwd" command instead of "cd"
990 command.
991
6bf0052d
PA
9922017-10-12 Pedro Alves <palves@redhat.com>
993 Simon Marchi <simon.marchi@polymtl.ca>
994
995 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
996 target boards.
997
e48ef82d
PA
9982017-10-12 Pedro Alves <palves@redhat.com>
999 Simon Marchi <simon.marchi@polymtl.ca>
1000
1001 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
1002 Instead skip if there's any gdb_protocol set.
1003
8d7aea57
SM
10042017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
1005 Pedro Alves <palves@redhat.com>
1006
1007 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
1008
30440677
PA
10092017-10-12 Pedro Alves <palves@redhat.com>
1010 Simon Marchi <simon.marchi@polymtl.ca>
1011
1012 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
1013 instead of on dejagnu remote boards.
1014
4e04f045 10152017-10-12 Pedro Alves <palves@redhat.com>
175654b9 1016 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
1017
1018 * gdb.base/inferior-died.exp: Remove is_remote and isnative
1019 checks. Use build_executable + clean_restart instead of
1020 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
1021 of enabling non-stop after starting gdb.
1022
871a186e
PA
10232017-10-12 Pedro Alves <palves@redhat.com>
1024
1025 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
1026 * gdb.threads/non-ldr-exc-2.exp: Ditto.
1027 * gdb.threads/non-ldr-exc-3.exp: Ditto.
1028 * gdb.threads/non-ldr-exc-4.exp: Ditto.
1029
56d704da
AK
10302017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
1031
1032 * gdb.arch/arc-tdesc-cpu.exp: New file.
1033 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
1034
2f20e312
SM
10352017-10-10 Simon Marchi <simon.marchi@ericsson.com>
1036
1037 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
1038
65630365
PA
10392017-10-10 Pedro Alves <palves@redhat.com>
1040
1041 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
1042 expect CLI output.
1043
bf469271
PA
10442017-10-10 Pedro Alves <palves@redhat.com>
1045
1046 * lib/selftest-support.exp (selftest_setup): Update for
1047 captured_command_loop's prototype change.
1048
777a42f1
PA
10492017-10-09 Pedro Alves <palves@redhat.com>
1050
1051 Test both arch1=>arch2 and arch2=>arch1.
1052
1053 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
1054 (srcfile2, binfile2, march1, march2): Remove globals. Largely
1055 factored out to...
1056 (append_arch1_options, append_arch2_options, append_arch_options)
1057 (build_executables): New procedures.
1058 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
1059 local.
1060 (top level): Add new 'first_arch' testing axis.
1061
cbd2b4e3
PA
10622017-10-09 Pedro Alves <palves@redhat.com>
1063
1064 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
1065 (barrier): New.
1066 (thread_start, all_started): New functions.
1067 (main): Spawn new thread and wait until it is scheduled.
1068 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
1069 option.
1070 (do_test): Add 'selected_thread' parameter. Run to all_started
1071 instead of main. Explicitly set the breakpoint at main. Switch
1072 to the SELECTED_THREAD thread.
1073 (top level): Test handling the exec event with either the main
1074 thread or the second thread selected.
1075
5c9e4427
PA
10762017-10-09 Pedro Alves <palves@redhat.com>
1077
1078 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
1079 logic. Move STOP marker after the value checks.
1080 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
1081 regexp.
1082
b3b7c423
SL
10832017-10-06 Sandra Loosemore <sandra@codesourcery.com>
1084
1085 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
1086
3b4b2f16
UW
10872017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
1088
1089 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
1090 integer-to-dfp conversion.
1091 * gdb.base/dfp-test.exp: Likewise.
1092
5cd63fda
PA
10932017-10-04 Pedro Alves <palves@redhat.com>
1094
1095 * gdb.multi/hangout.c: Include <unistd.h>.
1096 (hangout_loop): New function.
1097 (main): Call alarm. Call hangout_loop in a loop.
1098 * gdb.multi/hello.c: Include <unistd.h>.
1099 (hello_loop): New function.
1100 (main): Call alarm. Call hangout_loop in a loop.
1101 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
1102 inferior with the other selected.
1103
4c71c105
SM
11042017-10-04 Simon Marchi <simon.marchi@ericsson.com>
1105
1106 * gdb.mi/list-thread-groups-available.exp: New file.
1107 * gdb.mi/list-thread-groups-available.c: New file.
1108
bc3b087d
SDJ
11092017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
1110
1111 * gdb.base/set-cwd.exp: Make it available on
1112 native-extended-gdbserver.
1113
d092c5a2
SDJ
11142017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
1115
1116 * gdb.base/set-cwd.c: New file.
1117 * gdb.base/set-cwd.exp: Likewise.
1118
45320ffa
TT
11192017-10-02 Tom Tromey <tom@tromey.com>
1120
1121 PR rust/22236:
1122 * gdb.rust/simple.rs (main): New variable "fslice".
1123 * gdb.rust/simple.exp: Add slice tests. Update string tests.
1124
b3e3859b
TT
11252017-10-02 Tom Tromey <tom@tromey.com>
1126
1127 * gdb.rust/simple.exp: Test ptype of a slice.
1128
01af5e0d
TT
11292017-10-02 Tom Tromey <tom@tromey.com>
1130
1131 * gdb.rust/simple.exp: Test index of slice.
1132
a9bbfbd8
TT
11332017-09-27 Tom Tromey <tom@tromey.com>
1134
1135 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
1136
df8899e5
TP
11372017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
1138 Pedro Alves <palves@redhat.com>
1139
1140 * gdb.base/compare-sections.exp (get value of read-only section): Read
1141 as unsigned value.
1142 (corrupt read-only section): Likewise and don't set written if patching
1143 failed.
1144
757bf54b
KB
11452017-09-21 Kevin Buettner <kevinb@redhat.com>
1146
1147 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
1148 files.
1149
06871ae8
PA
11502017-09-20 Pedro Alves <palves@redhat.com>
1151
1152 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
1153 symbol names in gdb's output.
1154 * gdb.cp/overload.exp ("list all overloads"): Likewise.
1155
e5f25bc5
PA
11562017-09-20 Pedro Alves <palves@redhat.com>
1157
1158 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
1159 Rename to ...
1160 (test_list_ambiguous_symbol): ... this and add a symbol name
1161 parameter. Adjust.
1162 (test_list_ambiguous_function): Reimplement on top of
1163 test_list_ambiguous_symbol and also test listing ambiguous
1164 variables.
1165 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
1166 (ambiguous_fun): ... this.
1167 (ambiguous_var): New.
1168 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
1169 (ambiguous_fun): ... this.
1170 (ambiguous_var): New.
1171
4e5a4f58
JB
11722017-09-19 John Baldwin <jhb@FreeBSD.org>
1173
1174 * gdb.base/starti.c: New file.
1175 * gdb.base/starti.exp: New file.
1176 * lib/gdb.exp (gdb_starti_cmd): New procedure.
1177
26e53f3e
PA
11782017-09-14 Pedro Alves <palves@redhat.com>
1179
1180 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
1181 (top level): Use it instead of runto.
1182
cb791d59
TT
11832017-09-11 Tom Tromey <tom@tromey.com>
1184
1185 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
1186
7c96f8c1
TT
11872017-09-11 Tom Tromey <tom@tromey.com>
1188
1189 * gdb.python/py-infthread.exp: Add tests for new_thread event.
1190 * gdb.python/py-inferior.exp: Add tests for new inferior events.
1191
469412dd
CW
11922017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
1193
1194 * gdb.fortran/printing-types.exp: New file.
1195 * gdb.fortran/printing-types.exp: New file.
1196
e0f86435
BH
11972017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
1198
1199 * gdb.fortran/vla-ptype.exp: Fix typos.
1200 * gdb.fortran/vla-value.exp: Same.
1201
9e9af4be
BH
12022017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
1203
1204 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
1205 * gdb.mi/mi-var-child-f.exp: Likewise.
1206 * gdb.mi/mi-vla-fortran.exp: Likewise.
1207
a5ad232b
FP
12082017-09-08 Frank Penczek <frank.penczek@intel.com>
1209 Christoph Weinmann <christoph.t.weinmann@intel.com>
1210 Bernhard Heckel <bernhard.heckel@intel.com>
1211
1212 * gdb.fortran/ptr-indentation.f90: New file.
1213 * gdb.fortran/ptr-indentation.exp: New file.
1214
5aec60eb
TT
12152017-09-05 Tom Tromey <tom@tromey.com>
1216
1217 PR gdb/22010:
1218 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
1219
8f8f8152
TP
12202017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1221
1222 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
1223
fbd1b771
JK
12242017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1225
1226 * gdb.threads/tls-nodebug-pie.c: New file.
1227 * gdb.threads/tls-nodebug-pie.exp: New file.
1228
5eb5f850
TT
12292017-09-05 Tom Tromey <tom@tromey.com>
1230
1231 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
1232 for rust.
1233
ae780a21
SM
12342017-09-05 Simon Marchi <simon.marchi@ericsson.com>
1235
1236 * gdb.multi/multi-arch-exec.exp: Test with different
1237 "follow-exec-mode" settings.
1238 (do_test): New procedure.
1239
3693fdb3
PA
12402017-09-04 Pedro Alves <palves@redhat.com>
1241
1242 * gdb.base/func-static.c (S::method const, S::method volatile)
1243 (S::method volatile const): New methods.
1244 (c_s, v_s, cv_s): New instances.
1245 (main): Call method() on them.
1246 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
1247 (cannot_resolve): New procedure.
1248 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
1249 print-quote-unquoted columns.
1250 (do_test): Test printing each scope too.
1251
e68cb8e0
PA
12522017-09-04 Pedro Alves <palves@redhat.com>
1253
1254 * gdb.base/local-static.exp: Also test with
1255 class::method::variable wholly quoted.
1256 * gdb.cp/m-static.exp (class::method::variable): Remove test.
1257
858be34c
PA
12582017-09-04 Pedro Alves <palves@redhat.com>
1259
1260 * gdb.base/local-static.c: New.
1261 * gdb.base/local-static.cc: New.
1262 * gdb.base/local-static.exp: New.
1263
46a4882b
PA
12642017-09-04 Pedro Alves <palves@redhat.com>
1265
1266 * gdb.asm/asm-source.exp: Add casts to int.
1267 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
1268 (dataglobal64_1, dataglobal64_2): New globals.
1269 * gdb.base/nodebug.exp: Test different expressions involving the
1270 new globals, with print, whatis and ptype. Add casts to int.
1271 * gdb.base/solib-display.exp: Add casts to int.
1272 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
1273 * gdb.cp/m-static.exp: Add cast to int.
1274 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
1275 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
1276 tls variable with no debug info without a cast. Test with a cast
1277 to int too.
1278 * gdb.trace/entry-values.exp: Add casts.
1279
2c5a2be1
PA
12802017-09-04 Pedro Alves <palves@redhat.com>
1281
1282 * gdb.base/nodebug.exp: Test that ptype's error about functions
1283 with unknown return type includes the function name too.
1284
7022349d
PA
12852017-09-04 Pedro Alves <palves@redhat.com>
1286
1287 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
1288 return type of munmap in infcall.
1289 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
1290 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
1291 type of ftell in infcall.
1292 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
1293 type of getpid in infcall.
1294 * gdb.base/infcall-exec.exp: Cast return type of execlp in
1295 infcall.
1296 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
1297 Bail on failure to extract the pid.
1298 * gdb.base/nodebug.c: #include <stdint.h>.
1299 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
1300 New functions.
1301 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
1302 Change expected output of print/whatis/ptype with functions with
1303 no debug info. Test all supported languages. Call
1304 test_call_promotion.
1305 * gdb.compile/compile.exp: Adjust expected output to expect
1306 warning.
1307 * gdb.threads/siginfo-threads.exp: Likewise.
1308
54990598
PA
13092017-09-04 Pedro Alves <palves@redhat.com>
1310
1311 * gdb.base/callfuncs.exp (do_function_calls): New parameter
1312 "prototypes". Test calling float functions via prototyped and
1313 unprototyped function pointers.
1314 (perform_all_tests): New parameter "prototypes". Pass it down.
1315 (top level): Pass down "prototypes" parameter to
1316 perform_all_tests.
1317
34d16ea2
SM
13182017-09-04 Simon Marchi <simon.marchi@ericsson.com>
1319
1320 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
1321 Test with nested loops.
1322
9521ecda
SM
13232017-09-04 Simon Marchi <simon.marchi@ericsson.com>
1324
1325 * gdb.base/commands.exp: Call the new procedures.
1326 (loop_break_test, loop_continue_test): New procedures.
1327
80a65e9b
SM
13282017-09-04 Simon Marchi <simon.marchi@ericsson.com>
1329
1330 * gdb.base/commands.exp: Call new procedure.
1331 (define_if_without_arg_test): New procedure.
1332
e439fa14
PA
13332017-09-04 Pedro Alves <palves@redhat.com>
1334
1335 * gdb.base/list-ambiguous.exp: New file.
1336 * gdb.base/list-ambiguous0.c: New file.
1337 * gdb.base/list-ambiguous1.c: New file.
1338 * gdb.base/list.exp (test_list_range): Adjust expected output.
1339
0a2dde4a
SDJ
13402017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
1341
1342 * gdb.base/share-env-with-gdbserver.c: New file.
1343 * gdb.base/share-env-with-gdbserver.exp: Likewise.
1344
5e89eb3a
SM
13452017-08-28 Simon Marchi <simon.marchi@ericsson.com>
1346
1347 * gdb.base/commands.exp (gdbvar_simple_if_test,
1348 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
1349 progvar_simple_if_test, progvar_simple_while_test,
1350 progvar_complex_if_while_test, user_defined_command_test,
1351 user_defined_command_args_eval,
1352 user_defined_command_args_stack_test,
1353 user_defined_command_manyargs_test, bp_deleted_in_command_test,
1354 temporary_breakpoint_commands,
1355 gdb_test_no_prompt, redefine_hook_test,
1356 redefine_backtrace_test): Remove "global gdb_prompt".
1357
fd437cbc
SM
13582017-08-28 Simon Marchi <simon.marchi@ericsson.com>
1359
1360 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
1361 New proc, call it from toplevel.
1362
87215ad1
SDJ
13632017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
1364
1365 PR remote/21852
1366 * gdb.server/normal.c: New file, copied from gdb.base.
1367 * gdb.server/run-without-local-binary.exp: New file.
1368
58afddc6
WP
13692017-08-07 Weimin Pan <weimin.pan@oracle.com>
1370
1371 * gdb.arch/sparc64-adi.exp: New file.
1372 * gdb.arch/sparc64-adi.c: New file.
1373
5277199a
PA
13742017-08-22 Pedro Alves <palves@redhat.com>
1375
1376 * gdb.cp/overload.exp (line_range_pattern): New procedure.
1377 (top level): Add "list all overloads" tests.
1378
14278e1f
TT
13792017-08-22 Tom Tromey <tom@tromey.com>
1380
1381 * gdb.gdb/xfullpath.exp: Remove.
1382
bf223d3e
PA
13832017-08-21 Pedro Alves <palves@redhat.com>
1384
1385 PR gdb/19487
1386 * gdb.base/symbol-alias.c: New.
1387 * gdb.base/symbol-alias2.c: New.
1388 * gdb.base/symbol-alias.exp: New.
1389
c973d0aa
PA
13902017-08-21 Pedro Alves <palves@redhat.com>
1391
1392 * gdb.base/dfp-test.c
1393 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
1394 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
1395 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
1396 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
1397 * gdb.base/whatis-ptype-typedefs.c: New.
1398 * gdb.base/whatis-ptype-typedefs.exp: New.
1399 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
1400 (an_int, an_int_type, an_int_type2): New globals.
1401 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
1402 involving typedefs and cast expressions.
1403 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
1404 (lookup_typedefs_function): New.
1405 (typedefs_pretty_printers_dict): New.
1406 (top level): Register lookup_typedefs_function in
1407 gdb.pretty_printers.
1408
6d580b63
YQ
14092017-08-18 Yao Qi <yao.qi@linaro.org>
1410
1411 * gdb.server/unittest.exp: New.
1412
206726fb
SDJ
14132017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
1414
1415 PR gdb/21954
1416 * gdb.base/environ.exp: Add test to check if 'unset environment'
1417 works.
1418
bf0ec4c2
AA
14192017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
1420
1421 * lib/gdb.exp (universal_compile_options): New caching proc.
1422 (gdb_compile): Suppress GCC's coloring of messages.
1423
d6382fff
TT
14242017-08-14 Tom Tromey <tom@tromey.com>
1425
1426 PR gdb/21675:
1427 * gdb.base/printcmds.exp (test_radices): New function.
1428 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
1429 * gdb.base/sizeof.exp (check_valueof): Use p/d.
1430 * lib/gdb.exp (get_integer_valueof): Use p/d.
1431
c2c2dd9f
SM
14322017-08-12 Simon Marchi <simon.marchi@ericsson.com>
1433
1434 * lib/gdb.exp (get_valueof): Don't capture end-of-line
1435 characters.
1436
fdffd6f4
TT
14372017-08-05 Tom Tromey <tom@tromey.com>
1438
1439 * gdb.rust/simple.exp: Allow String to appear in a different
1440 namespace.
1441
27d41eac
YQ
14422017-07-26 Yao Qi <yao.qi@linaro.org>
1443
1444 * gdb.gdb/unittest.exp: Invoke command
1445 "maintenance check xml-descriptions".
1446
031ed05d
AA
14472017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1448
1449 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
1450 calling context.
1451 (hex128): Drop erroneous calculation of parameters.
1452
dcd27ddf
SM
14532017-07-22 Simon Marchi <simon.marchi@ericsson.com>
1454
1455 * gdb.python/py-unwind.exp: Disable stack protection when
1456 building test file.
1457
47e77640
PA
14582017-07-20 Pedro Alves <palves@redhat.com>
1459
1460 * gdb.base/default.exp (set language): Adjust expected output.
1461
62d2a18a
PA
14622017-07-20 Pedro Alves <palves@redhat.com>
1463
1464 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
1465 (test_minsym): ... this, and make static.
1466 (get_pck__foo__bar__minsym): Rename to ...
1467 (get_test_minsym): ... this.
1468 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
1469 symbol names and comments.
1470 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
1471 (get_test_minsym): ... this.
1472 (pck__foo__bar__minsym__2): Rename to ...
1473 (test_minsym): ... this.
1474 (main): Adjust.
1475
c45ec17c
PA
14762017-07-17 Pedro Alves <palves@redhat.com>
1477
1478 * gdb.base/completion.exp: Adjust expected output.
1479 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
1480 the completer works.
1481
c6756f62
PA
14822017-07-17 Pedro Alves <palves@redhat.com>
1483
1484 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
1485
5bd68487
AB
14862017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
1487
1488 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
1489
8880f2a9
TT
14902017-07-14 Tom Tromey <tom@tromey.com>
1491
1492 PR rust/21764:
1493 * gdb.rust/simple.exp: Add tests.
1494
65547233
TT
14952017-07-14 Tom Tromey <tom@tromey.com>
1496
1497 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
1498
8f14146e
PA
14992017-07-14 Pedro Alves <palves@redhat.com>
1500
1501 * gdb.linespec/base/one/thefile.cc (z1): New function.
1502 * gdb.linespec/base/two/thefile.cc (z2): New function.
1503 * gdb.linespec/linespec.exp: Add tests.
1504
b4365d02
AB
15052017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
1506
1507 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
1508 to mi_create_breakpoint.
1509
5d2cbaa5
AB
15102017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
1511
1512 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
1513 mi_create_breakpoint.
1514
11cb5716
IB
15152017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
1516
1517 * gdb.dlang/demangle.exp: Update for demangling changes.
1518
03278692
TT
15192017-07-09 Tom Tromey <tom@tromey.com>
1520
1521 * gdb.dwarf2/shortpiece.exp: New file.
1522
33c5cd75
DB
15232017-07-06 David Blaikie <dblaikie@gmail.com>
1524
1525 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
1526 built from fissiont-multi-cu{1,2}.c.
1527 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
1528 except putting 'main' and 'func' in separate CUs in the same DWO file.
1529 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
1530 test.
1531 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
1532 test.
1533
8455d262
PA
15342017-07-06 Pedro Alves <palves@redhat.com>
1535
1536 * gdb.python/py-unwind.exp: Test flushregs.
1537
dc4bde35
SDJ
15382017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
1539
1540 PR cli/21688
1541 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
1542 tests for alias commands and trailing whitespace.
1543
51ed89aa
SDJ
15442017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
1545
1546 PR cli/21688
1547 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
1548 procedure. Call it.
1549
eb17d413
PA
15502017-06-29 Pedro Alves <palves@redhat.com>
1551
1552 * gdb.base/printcmds.exp: Add tests.
1553
41664b45
DG
15542017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
1555
1556 PR gdb/21337
1557 * gdb.base/reread-readsym.exp: New file.
1558 * gdb.base/reread-readsym.c: New file.
1559
75312ae3
KB
15602017-06-21 Kevin Buettner <kevinb@redhat.com>
1561
1562 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
1563 subpattern.
1564
66953522
PB
15652017-06-19 Peter Bergner <bergner@vnet.ibm.com>
1566
1567 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
1568 extended mnemonic.
1569 * gdb.arch/powerpc-power9.s: Likewise.
1570
5524b525
AA
15712017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
1572
1573 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
1574 on 32-bit x86 targets. Exploit is_*_target macros where
1575 appropriate.
1576
03c8af18
AA
15772017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1578
1579 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
1580 register pieces.
1581
3bf31011
AA
15822017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1583
1584 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
1585 located in one or more DWARF pieces.
1586
805acca0
AA
15872017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1588
1589 * lib/gdb.exp (get_endianness): New proc.
1590 * gdb.arch/aarch64-fp.exp: Use it.
1591 * gdb.arch/altivec-regs.exp: Likewise.
1592 * gdb.arch/e500-regs.exp: Likewise.
1593 * gdb.arch/vsx-regs.exp: Likewise.
1594 * gdb.base/dump.exp: Likewise.
1595 * gdb.base/funcargs.exp: Likewise.
1596 * gdb.base/gnu_vector.exp: Likewise.
1597 * gdb.dwarf2/formdata16.exp: Likewise.
1598 * gdb.dwarf2/implptrpiece.exp: Likewise.
1599 * gdb.dwarf2/nonvar-access.exp: Likewise.
1600 * gdb.python/py-inferior.exp: Likewise.
1601 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
1602
e9352324
AA
16032017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1604
1605 PR gdb/21226
1606 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
1607 stack value pieces are taken from the LSB end.
1608
d5d1163e
AA
16092017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1610
1611 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
1612 variable at nonzero offset.
1613
0567c986
AA
16142017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1615
1616 * gdb.dwarf2/var-access.c: New file.
1617 * gdb.dwarf2/var-access.exp: New test.
1618 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
1619
973e9aab
TT
16202017-06-12 Tom Tromey <tom@tromey.com>
1621
1622 * gdb.dwarf2/formdata16.exp: Add tests.
1623
d9109c80
TT
16242017-06-12 Tom Tromey <tom@tromey.com>
1625
1626 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
1627
30a25466
TT
16282017-06-12 Tom Tromey <tom@tromey.com>
1629
1630 PR exp/16225:
1631 * gdb.reverse/i386-sse-reverse.exp: Update tests.
1632 * gdb.arch/vsx-regs.exp: Update tests.
1633 * gdb.arch/s390-vregs.exp (hex128): New proc.
1634 Update test.
1635 * gdb.arch/altivec-regs.exp: Update tests.
1636
aefd8b33
SDJ
16372017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
1638
1639 * gdb.base/startup-with-shell.c: New file.
1640 * gdb.base/startup-with-shell.exp: Likewise.
1641
2090129c
SDJ
16422017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
1643
1644 * gdb.server/non-existing-program.exp: Update regex in order to
1645 reflect the fact that gdbserver is now using fork_inferior (with a
1646 shell) to startup the inferior.
1647
8e86a419
SM
16482017-05-30 Simon Marchi <simon.marchi@ericsson.com>
1649
1650 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
1651 support function calls from GDB.
1652
e6cf65f2
TT
16532017-05-21 Tom Tromey <tom@tromey.com>
1654
1655 PR rust/21466:
1656 * gdb.rust/unsized.exp: New file.
1657 * gdb.rust/unsized.rs: New file.
1658
43cc5389
TT
16592017-05-19 Tom Tromey <tom@tromey.com>
1660
1661 PR rust/21484:
1662 * gdb.rust/watch.exp: New file.
1663 * gdb.rust/watch.rs: New file.
1664
ec8df234
TT
16652017-05-18 Tom Tromey <tom@tromey.com>
1666
1667 * gdb.rust/simple.exp: Allow Box to be qualified.
1668
3e3e7fae
TP
16692017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
1670
1671 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
1672
59cc050d
PA
16732017-05-18 Pedro Alves <palves@redhat.com>
1674
1675 * gdb.base/fileio.c (test_write, test_read, test_close)
1676 (test_fstat): Don't print 'ret' in the fail path.
1677
c8f6abd1
PA
16782017-05-18 Pedro Alves <palves@redhat.com>
1679
1680 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
1681 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
1682 (test_system, test_rename, test_unlink, test_time): Change
1683 prototypes.
1684 * gdb.base/fileio.exp (stop_msg): Adjust.
1685
d2a03b77
PA
16862017-05-18 Pedro Alves <palves@redhat.com>
1687
1688 * gdb.base/fileio.c (null_str): New global.
1689 (test_stat): Use it.
1690 * gdb.base/fileio.exp: Remove nowarnings.
1691
0d5c6999
YQ
16922017-05-17 Yao Qi <yao.qi@linaro.org>
1693
1694 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
1695
21873064
YQ
16962017-05-17 Simon Marchi <simon.marchi@ericsson.com>
1697
1698 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
1699 argument command.
1700 (top-level): Invoke test_set_inferior_tty.
1701
d512d31c
PA
17022017-05-04 Pedro Alves <palves@redhat.com>
1703
1704 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
1705 Add parens to print call for Python 3.
1706
90cef2ed
KS
17072017-05-03 Keith Seitz <keiths@redhat.com>
1708
1709 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
1710 (main): Call it.
1711
14f819c8
TW
17122017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
1713
1714 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
1715 to prev and next.
1716
913aeadd
TW
17172017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
1718
1719 * gdb.python/py-record-btrace.exp: Remove test for
1720 gdb.BtraceInstruction.error.
1721
a3be24ad
TW
17222017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
1723
1724 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
1725
ae20e79a
TW
17262017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
1727
1728 * gdb.python/py-record-btrace-threads.c: New file.
1729 * gdb.python/py-record-btrace-threads.exp: New file.
1730
45ce1b47
SDJ
17312017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
1732
1733 PR testsuite/8595
1734 * gdb.base/environ.exp: Make test available in all architectures.
1735 Move bits related to "info program" testing to
1736 gdb.base/info-program.exp. Rewrite tests to use the two new
1737 procedures mentione below.
1738 (test_set_show_env_var) New procedure.
1739 (test_set_show_env_var_equal): Likewise.
1740 * gdb.base/info-program.exp: New file.
1741
e15c3eb4
KS
17422017-04-27 Keith Seitz <keiths@redhat.com>
1743
1744 * gdb.cp/oranking.cc (test15): New function.
1745 (main): Call test15 and declare additional variables for testing.
1746 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
1747 "p foo101('abc')" tests.
1748 Add tests for cv qualifier overloads.
1749 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
1750 "lvalue reference overload" test.
1751 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
1752 "print value of f1 on Child&& in f2" test.
1753
3a3fd0fd
PA
17542017-04-19 Pedro Alves <palves@redhat.com>
1755
1756 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
1757 procedure.
1758 (top level): Call it.
1759 * lib/gdb.exp (gdb_define_cmd): New procedure.
1760
53375380
PA
17612017-04-12 Pedro Alves <palves@redhat.com>
1762
1763 PR gdb/21323
1764 * gdb.cp/wide_char_types.c: Include <wchar.h>.
1765 (wchar): New global.
1766 * gdb.cp/wide_char_types.exp (wide_char_types_program)
1767 (do_test_wide_char, wide_char_types_no_program, top level): Add
1768 wchar_t testing.
1769
53e710ac
PA
17702017-04-12 Pedro Alves <palves@redhat.com>
1771
1772 PR c++/21323
1773 * gdb.cp/wide_char_types.c: New file.
1774 * gdb.cp/wide_char_types.exp: New file.
1775
0ad9d8c7
SDJ
17762017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
1777
1778 PR gdb/21352
1779 * gdb.trace/tsv.exp: Add test for "tsave -r".
1780
b1b45502
IB
17812017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
1782
1783 * gdb.dlang/watch-loc.c: New file.
1784 * gdb.dlang/watch-loc.exp: New file.
1785
ec13808e
JK
17862017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1787
1788 * gdb.python/py-section-script.exp (sepdebug): New testcases.
1789
fe5f7374
AK
17902017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
1791
1792 * gdb.arch/arc-analyze-prologue.S: New file.
1793 * gdb.arch/arc-analyze-prologue.exp: Likewise.
1794
eea78757
AK
17952017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
1796
1797 * gdb.arch/arc-decode-insn.S: New file.
1798 * gdb.arch/arc-decode-insn.exp: Likewise.
1799
5badf10a
IR
18002017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
1801
1802 PR tdep/20928
1803 * gdb.arch/sparc64-regs.exp: New file.
1804 * gdb.arch/sparc64-regs.S: Likewise.
1805
cee59b3f
TW
18062017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
1807
1808 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
1809 and memory view on Python 3.
1810
c0f55cc6
AV
18112017-03-20 Artemiy Volkov <artemiyv@acm.org>
1812 Keith Seitz <keiths@redhat.com>
1813
1814 PR gdb/14441
1815 * gdb.cp/demangle.exp: Add rvalue reference tests.
1816 * gdb.cp/rvalue-ref-casts.cc: New file.
1817 * gdb.cp/rvalue-ref-casts.exp: New file.
1818 * gdb.cp/rvalue-ref-overload.cc: New file.
1819 * gdb.cp/rvalue-ref-overload.exp: New file.
1820 * gdb.cp/rvalue-ref-params.cc: New file.
1821 * gdb.cp/rvalue-ref-params.exp: New file.
1822 * gdb.cp/rvalue-ref-sizeof.cc: New file.
1823 * gdb.cp/rvalue-ref-sizeof.exp: New file.
1824 * gdb.cp/rvalue-ref-types.cc: New file.
1825 * gdb.cp/rvalue-ref-types.exp: New file.
1826 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
1827 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
1828
51457a05
MAL
18292017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
1830
1831 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
1832 New procedure.
1833
5b291c04
MAL
18342017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
1835
1836 * lib/mi-support.exp (mi_gdb_test): Add additional message
1837 for unexpected output.
1838
59a56148
AA
18392017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1840
1841 * gdb.base/examine-backward.c (Barrier): New character array
1842 constant, to ensure that TestStrings is preceded by a string
1843 terminator.
1844
7942e96e
AA
18452017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1846
1847 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
1848 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
1849 and implicit pointer into such a location.
1850
6ebac3fb
DE
18512017-03-16 Doug Evans <dje@google.com>
1852
1853 * gdb.python/py-lazy-string (pointer): Really add new typedef.
1854
ec3b243d
TP
18552017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
1856
1857 * gdb.cp/m-static.exp: Fix expectation for prototype of
1858 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
1859
18602017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
1861
1862 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
1863 * gdb.guile/scm-lazy-string.c: New file.
1864 * gdb.guile/scm-value.exp: Move lazy string tests to ...
1865 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
1866 for pointer, array, typedef lazy strings.
1867
2cc36e25 18682017-03-16 Doug Evans <dje@google.com>
34b43320
DE
1869
1870 PR python/17728, python/18439, python/18779
1871 * gdb.python/py-value.c (main) Delete locals sptr, sn.
1872 * gdb.python/py-lazy-string.c (pointer): New typedef.
1873 (main): New locals ptr, array, typedef_ptr.
1874 * gdb.python/py-value.exp: Move lazy string tests to ...
1875 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
1876 array, typedef lazy strings.
ec3b243d 1877
0efcde63
AK
18782017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
1879
1880 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
1881 Add optional 'test' parameter.
1882
7978d7c3
SM
18832017-03-13 Simon Marchi <simon.marchi@ericsson.com>
1884
1885 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
1886 Skip for versions of DejaGnu < 1.5.
1887
896c0c1e
SM
18882017-03-13 Simon Marchi <simon.marchi@ericsson.com>
1889
1890 * lib/gdb.exp (dejagnu_version): New proc.
1891 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
1892 Use dejagnu_version.
1893
5f4d1085
KS
18942017-03-10 Keith Seitz <keiths@redhat.com>
1895
1896 PR c++/8128
1897 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
1898 type from destructor regexps.
1899 Add a branch which actually passes the test.
1900 Adjust "ptype t5i" test names.
1901
1de05205
PA
19022017-03-08 Pedro Alves <palves@redhat.com>
1903
1904 * gdb.base/step-over-exit.exp: Add explicit test message.
1905
c65d6b55
PA
19062017-03-08 Pedro Alves <palves@redhat.com>
1907
1908 PR gdb/18360
1909 * gdb.threads/interrupt-while-step-over.c: New file.
1910 * gdb.threads/interrupt-while-step-over.exp: New file.
1911
2e86a283
PA
19122017-03-08 Pedro Alves <palves@redhat.com>
1913
1914 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
1915 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
1916
25dcbff6
PA
19172017-03-08 Pedro Alves <palves@redhat.com>
1918
1919 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
1920 PKRU as not supported as a PASS.
1921
dc9366eb
PA
19222017-03-08 Pedro Alves <palves@redhat.com>
1923
1924 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
1925 prefix instead of $binfile1/$binfile2.
1926 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
1927 in test message.
1928 * gdb.python/py-completion.exp: Use "load python file" as test
1929 messages instead of unstable path names.
1930
6e5d74e7
PA
19312017-03-08 Pedro Alves <palves@redhat.com>
1932 Jan Kratochvil <jan.kratochvil@redhat.com>
1933
1934 PR cli/21218
1935 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
1936 New proc.
1937 (top level): Call it.
1938
9753a2f6
PA
19392017-03-08 Pedro Alves <palves@redhat.com>
1940
1941 PR tui/21216
1942 * gdb.tui/tui-nl-filtered-output.exp: New file.
1943
1a4dd9dd
PA
19442017-03-08 Pedro Alves <palves@redhat.com>
1945
1946 * gdb.base/completion.exp: Move TUI completion tests to ...
1947 * gdb.tui/completion.exp: ... this new file.
1948
7cbbff33
PA
19492017-03-08 Pedro Alves <palves@redhat.com>
1950
1951 * gdb.base/tui-disasm-long-lines.c,
1952 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
1953 gdb.base/tui-layout.exp: Move to ...
1954 * gdb.tui/: ... this new directory.
1955
5f6fd321
PA
19562017-03-07 Pedro Alves <palves@redhat.com>
1957
1958 * gdb.base/tui-layout.c: New file.
1959 * gdb.base/tui-layout.exp: New file.
1960
44959fa8
PA
19612017-03-07 Pedro Alves <palves@redhat.com>
1962
1963 * gdb.base/tui-layout.c: Rename to ...
1964 * gdb.base/tui-disasm-long-lines.c: ... this.
1965 * gdb.base/tui-layout.exp: Rename to ...
1966 * gdb.base/tui-disasm-long-lines.exp: ... this.
1967
f8c4e718
PA
19682017-03-07 Pedro Alves <palves@redhat.com>
1969
1970 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
1971
6dbb839a 19722017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
1973
1974 * i386-mpx-call.c: New file.
1975 * i386-mpx-call.exp: New file.
1976
65b48a81
PB
19772017-02-28 Peter Bergner <bergner@vnet.ibm.com>
1978
1979 * gdb.arch/powerpc-power.exp: Delete test.
1980 * gdb.arch/powerpc-power.s: Likewise.
1981 * gdb.disasm/disassembler-options.exp: New test.
1982 * gdb.arch/powerpc-altivec.exp: Likewise.
1983 * gdb.arch/powerpc-altivec.s: Likewise.
1984 * gdb.arch/powerpc-altivec2.exp: Likewise.
1985 * gdb.arch/powerpc-altivec2.s: Likewise.
1986 * gdb.arch/powerpc-altivec3.exp: Likewise.
1987 * gdb.arch/powerpc-altivec3.s: Likewise.
1988 * gdb.arch/powerpc-power7.exp: Likewise.
1989 * gdb.arch/powerpc-power7.s: Likewise.
1990 * gdb.arch/powerpc-power8.exp: Likewise.
1991 * gdb.arch/powerpc-power8.s: Likewise.
1992 * gdb.arch/powerpc-power9.exp: Likewise.
1993 * gdb.arch/powerpc-power9.s: Likewise.
1994 * gdb.arch/powerpc-vsx.exp: Likewise.
1995 * gdb.arch/powerpc-vsx.s: Likewise.
1996 * gdb.arch/powerpc-vsx2.exp: Likewise.
1997 * gdb.arch/powerpc-vsx2.s: Likewise.
1998 * gdb.arch/powerpc-vsx3.exp: Likewise.
1999 * gdb.arch/powerpc-vsx3.s: Likewise.
2000 * gdb.arch/arm-disassembler-options.exp: Likewise.
2001 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
2002 * gdb.arch/s390-disassembler-options.exp: Likewise.
2003
17cd4947
LM
20042017-02-23 Luis Machado <lgustavo@codesourcery.com>
2005
2006 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
2007 (check_supported_features): ... this. Changed return type to void.
2008 (supports_rdseed): New static global.
2009 (rdseed): Check supports_rdseed.
2010 (initialize): Call check_supported_features.
2011
2039d74e
EBM
20122017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2013
2014 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
2015 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
2016 and lqarx/stqcx.
2017 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
2018 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
2019
a51d7ecf
EBM
20202017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2021
2022 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
2023 uppercase.
2024
0224619f
JK
20252017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2026
2027 * gdb.dwarf2/formdata16.c: New file.
2028 * gdb.dwarf2/formdata16.exp: New file.
2029 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
2030
216f72a1
JK
20312017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2032
2033 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
2034 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
2035 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
2036 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
2037 DW_AT_GNU_*.
2038
43988095
JK
20392017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2040
2041 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
2042
99e8a4f9
SDJ
20432017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
2044
2045 PR gdb/21164
2046 * gdb.base/maint.exp: Add testcases for when the commands do
2047 not have arguments.
2048
b58a8c0c
TP
20492017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
2050
2051 * gdb.cp/chained-calls.exp: Use p instead of P.
2052
4e746bb6
TW
20532017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
2054
2055 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
2056 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
2057
3f77c769
TT
20582017-02-14 Tom Tromey <tom@tromey.com>
2059
2060 PR python/13598:
2061 * gdb.python/py-events.exp: Add before_prompt event tests.
2062
075beec0
AA
20632017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2064
2065 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
2066
bf5f525c
LM
20672017-02-13 Luis Machado <lgustavo@codesourcery.com>
2068
2069 * gdb.linespec/explicit.c (my_unique_function_name): New function.
2070 (main): Call my_unique_function_name.
2071 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
2072 completion of patterns with a single match.
2073 Add missing -re switches to gdb_test_multiple calls.
2074
13a66184
LM
20752017-02-13 Luis Machado <lgustavo@codesourcery.com>
2076
2077 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
2078 return if core file is not recognized.
2079
26a06916
SM
20802017-02-10 Simon Marchi <simon.marchi@ericsson.com>
2081
2082 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
2083 and extra UIs.
2084
b761ca9e
SM
20852017-02-10 Simon Marchi <simon.marchi@ericsson.com>
2086
2087 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
2088 proc_with_prefix.
2089
b964bee0
TT
20902017-02-10 Tom Tromey <tom@tromey.com>
2091
2092 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
2093
18da0c51
MG
20942017-02-10 Martin Galvan <martingalvan@sourceware.org>
2095
2096 PR gdb/21122
2097 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
2098
604c4576
JG
20992017-02-08 Jerome Guitton <guitton@adacore.com>
2100
2101 * gdb.base/define.exp: Add test for command abbreviations
2102 in define.
2103
20b477a7
LM
21042017-02-06 Luis Machado <lgustavo@codesourcery.com>
2105
2106 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
2107 * gdb.reverse/insn-reverse-x86.c: New file.
2108
3f7b46f2
IR
21092017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
2110
2111 PR tdep/20936
2112 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
2113
f0fd41c1
TT
21142017-02-03 Tom Tromey <tom@tromey.com>
2115
2116 PR rust/21097:
2117 * gdb.rust/simple.exp: Add new tests.
2118
5be5dbf0
PA
21192017-02-02 Pedro Alves <palves@redhat.com>
2120
2121 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
2122 tests.
2123
7346ef59
AA
21242017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
2125
2126 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
2127 taking a 2-byte value out of a 4-byte DWARF implicit value on
2128 big-endian targets.
2129 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
2130 logic. Add test cases for DW_OP_implicit.
2131
787f0025
MM
21322017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2133
2134 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
2135
68777c29
MM
21362017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2137
2138 * gdb.btrace/enable.exp: Call gdb_exit before
2139 skip_gdbserver_tests.
2140
0a1c7e28
MM
21412017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2142
2143 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
2144 GDBFLAGS.
2145
b5ac99b0
MM
21462017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2147
2148 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
2149 the test is skipped.
2150 * gdb.btrace/data.exp: Likewise.
2151 * gdb.btrace/delta.exp: Likewise.
2152 * gdb.btrace/dlopen.exp: Likewise.
2153 * gdb.btrace/enable-running.exp: Likewise.
2154 * gdb.btrace/enable.exp: Likewise.
2155 * gdb.btrace/exception.exp: Likewise.
2156 * gdb.btrace/function_call_history.exp: Likewise.
2157 * gdb.btrace/gcore.exp: Likewise.
2158 * gdb.btrace/instruction_history.exp: Likewise.
2159 * gdb.btrace/multi-thread-step.exp: Likewise.
2160 * gdb.btrace/nohist.exp: Likewise.
2161 * gdb.btrace/non-stop.exp: Likewise.
2162 * gdb.btrace/reconnect.exp: Likewise.
2163 * gdb.btrace/record_goto-step.exp: Likewise.
2164 * gdb.btrace/record_goto.exp: Likewise.
2165 * gdb.btrace/rn-dl-bind.exp: Likewise.
2166 * gdb.btrace/segv.exp: Likewise.
2167 * gdb.btrace/step.exp: Likewise.
2168 * gdb.btrace/stepi.exp: Likewise.
2169 * gdb.btrace/tailcall-only.exp: Likewise.
2170 * gdb.btrace/tailcall.exp: Likewise.
2171 * gdb.btrace/tsx.exp: Likewise.
2172 * gdb.btrace/unknown_functions.exp: Likewise.
2173 * gdb.btrace/vdso.exp: Likewise.
2174
cd4007e4
MM
21752017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2176
2177 * gdb.btrace/enable-running.c: New.
2178 * gdb.btrace/enable-running.exp: New.
2179
2735833d
WT
21802017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
2181
2182 * gdb.arch/amd64-gs_base.c: New file.
2183 * gdb.arch/amd64-gs_base.exp: New file.
2184
b51e1e94
LM
21852017-01-26 Luis Machado <lgustavo@codesourcery.com>
2186
2187 * lib/memory.exp: Remove spurious empty newlines.
2188
72ca0410
SM
21892017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
2190
2191 * gdb.python/py-bad-printers.exp: Load python file using "source".
2192 * gdb.python/py-events.exp: Likewise.
2193 * gdb.python/py-evsignal.exp: Likewise.
2194 * gdb.python/py-evthreads.exp: Likewise.
2195 * gdb.python/py-frame-args.exp: Likewise.
2196 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
2197 * gdb.python/py-framefilter-mi.exp: Likewise.
2198 * gdb.python/py-framefilter.exp: Likewise.
2199 * gdb.python/py-mi.exp: Likewise.
2200 * gdb.python/py-pp-maint.exp: Likewise.
2201 * gdb.python/py-pp-registration.exp: Likewise.
2202 * gdb.python/py-prettyprint.exp: Likewise.
2203 (run_lang_tests): Likewise.
2204 * gdb.python/py-typeprint.exp: Likewise.
2205
e309aa65
LM
22062017-01-26 Luis Machado <lgustavo@codesourcery.com>
2207
2208 * lib/memory.exp: New file.
2209 * lib/gdb.exp: Load memory.exp.
2210 * gdb.base/memattr.exp (delete_memory): Move proc to
2211 lib/memory.exp and rename to delete_memory_regions.
2212 Replace delete_memory with delete_memory_regions.
2213 Cleanup memory regions before tests.
2214 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
2215 before tests.
2216
515aff23
LM
22172017-01-26 Luis Machado <lgustavo@codesourcery.com>
2218
2219 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
2220 files.
2221 (initialize): New function conditionally defined.
2222 (testcases): Move within conditional block.
2223 (main): Call initialize.
2224 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
2225 of gdb.reverse/insn-reverse.c.
2226 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
2227 gdb.reverse/insn-reverse.c.
2228
d8b49cf0
YQ
22292017-01-26 Yao Qi <yao.qi@linaro.org>
2230
2231 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
2232 disassemble on address 0.
2233
f13a9a0c
YQ
22342017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
2235 Yao Qi <yao.qi@linaro.org>
2236
2237 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
2238 * gdb.dwarf2/implptr-64bit.S: Remove.
2239 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
2240 variables in caller's context. Add DW_OP_implicit_value.
2241
5ac95241
YQ
22422017-01-25 Yao Qi <yao.qi@linaro.org>
2243
2244 * lib/dwarf.exp (Dwarf::_location): Handle
2245 DW_OP_GNU_implicit_pointer with proper size.
2246
23e82930
LM
22472017-01-20 Luis Machado <lgustavo@codesourcery.com>
2248
2249 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
2250 and add untested calls.
2251
d334ae25
LM
22522017-01-20 Luis Machado <lgustavo@codesourcery.com>
2253
2254 * gdb.python/python.exp: Check line number against what GDB thinks
2255 the line number is for func1.
2256
f5e6296e
IB
22572017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
2258
2259 * gdb.dlang/debug-expr.exp: New file.
2260
5b362f04
LM
22612016-12-23 Luis Machado <lgustavo@codesourcery.com>
2262
2263 Fix test names for the following files:
2264
2265 * gdb.ada/exec_changed.exp
2266 * gdb.ada/info_types.exp
2267 * gdb.arch/aarch64-atomic-inst.exp
2268 * gdb.arch/aarch64-fp.exp
2269 * gdb.arch/altivec-abi.exp
2270 * gdb.arch/altivec-regs.exp
2271 * gdb.arch/amd64-byte.exp
2272 * gdb.arch/amd64-disp-step.exp
2273 * gdb.arch/amd64-dword.exp
2274 * gdb.arch/amd64-entry-value-inline.exp
2275 * gdb.arch/amd64-entry-value-param.exp
2276 * gdb.arch/amd64-entry-value-paramref.exp
2277 * gdb.arch/amd64-entry-value.exp
2278 * gdb.arch/amd64-i386-address.exp
2279 * gdb.arch/amd64-invalid-stack-middle.exp
2280 * gdb.arch/amd64-invalid-stack-top.exp
2281 * gdb.arch/amd64-optimout-repeat.exp
2282 * gdb.arch/amd64-prologue-skip.exp
2283 * gdb.arch/amd64-prologue-xmm.exp
2284 * gdb.arch/amd64-stap-special-operands.exp
2285 * gdb.arch/amd64-stap-wrong-subexp.exp
2286 * gdb.arch/amd64-tailcall-cxx.exp
2287 * gdb.arch/amd64-tailcall-noret.exp
2288 * gdb.arch/amd64-tailcall-ret.exp
2289 * gdb.arch/amd64-tailcall-self.exp
2290 * gdb.arch/amd64-word.exp
2291 * gdb.arch/arm-bl-branch-dest.exp
2292 * gdb.arch/arm-disp-step.exp
2293 * gdb.arch/arm-neon.exp
2294 * gdb.arch/arm-single-step-kernel-helper.exp
2295 * gdb.arch/avr-flash-qualifier.exp
2296 * gdb.arch/disp-step-insn-reloc.exp
2297 * gdb.arch/e500-abi.exp
2298 * gdb.arch/e500-regs.exp
2299 * gdb.arch/ftrace-insn-reloc.exp
2300 * gdb.arch/i386-avx512.exp
2301 * gdb.arch/i386-bp_permanent.exp
2302 * gdb.arch/i386-byte.exp
2303 * gdb.arch/i386-cfi-notcurrent.exp
2304 * gdb.arch/i386-disp-step.exp
2305 * gdb.arch/i386-dr3-watch.exp
2306 * gdb.arch/i386-float.exp
2307 * gdb.arch/i386-gnu-cfi.exp
2308 * gdb.arch/i386-mpx-map.exp
2309 * gdb.arch/i386-mpx-sigsegv.exp
2310 * gdb.arch/i386-mpx-simple_segv.exp
2311 * gdb.arch/i386-mpx.exp
2312 * gdb.arch/i386-permbkpt.exp
2313 * gdb.arch/i386-prologue.exp
2314 * gdb.arch/i386-signal.exp
2315 * gdb.arch/i386-size-overlap.exp
2316 * gdb.arch/i386-unwind.exp
2317 * gdb.arch/i386-word.exp
2318 * gdb.arch/mips-fcr.exp
2319 * gdb.arch/powerpc-d128-regs.exp
2320 * gdb.arch/powerpc-stackless.exp
2321 * gdb.arch/ppc64-atomic-inst.exp
2322 * gdb.arch/s390-stackless.exp
2323 * gdb.arch/s390-tdbregs.exp
2324 * gdb.arch/s390-vregs.exp
2325 * gdb.arch/sparc-sysstep.exp
2326 * gdb.arch/thumb-bx-pc.exp
2327 * gdb.arch/thumb-singlestep.exp
2328 * gdb.arch/thumb2-it.exp
2329 * gdb.arch/vsx-regs.exp
2330 * gdb.asm/asm-source.exp
2331 * gdb.base/a2-run.exp
2332 * gdb.base/advance.exp
2333 * gdb.base/all-bin.exp
2334 * gdb.base/anon.exp
2335 * gdb.base/args.exp
2336 * gdb.base/arithmet.exp
2337 * gdb.base/async-shell.exp
2338 * gdb.base/async.exp
2339 * gdb.base/attach-pie-noexec.exp
2340 * gdb.base/attach-twice.exp
2341 * gdb.base/auto-load.exp
2342 * gdb.base/bang.exp
2343 * gdb.base/bitfields.exp
2344 * gdb.base/break-always.exp
2345 * gdb.base/break-caller-line.exp
2346 * gdb.base/break-entry.exp
2347 * gdb.base/break-inline.exp
2348 * gdb.base/break-on-linker-gcd-function.exp
2349 * gdb.base/break-probes.exp
2350 * gdb.base/break.exp
2351 * gdb.base/breakpoint-shadow.exp
2352 * gdb.base/call-ar-st.exp
2353 * gdb.base/call-sc.exp
2354 * gdb.base/call-signal-resume.exp
2355 * gdb.base/call-strs.exp
2356 * gdb.base/callfuncs.exp
2357 * gdb.base/catch-fork-static.exp
2358 * gdb.base/catch-gdb-caused-signals.exp
2359 * gdb.base/catch-load.exp
2360 * gdb.base/catch-signal-fork.exp
2361 * gdb.base/catch-signal.exp
2362 * gdb.base/catch-syscall.exp
2363 * gdb.base/charset.exp
2364 * gdb.base/checkpoint.exp
2365 * gdb.base/chng-syms.exp
2366 * gdb.base/code-expr.exp
2367 * gdb.base/code_elim.exp
2368 * gdb.base/commands.exp
2369 * gdb.base/completion.exp
2370 * gdb.base/complex.exp
2371 * gdb.base/cond-expr.exp
2372 * gdb.base/condbreak.exp
2373 * gdb.base/consecutive.exp
2374 * gdb.base/continue-all-already-running.exp
2375 * gdb.base/coredump-filter.exp
2376 * gdb.base/corefile.exp
2377 * gdb.base/dbx.exp
2378 * gdb.base/debug-expr.exp
2379 * gdb.base/define.exp
2380 * gdb.base/del.exp
2381 * gdb.base/disabled-location.exp
2382 * gdb.base/disasm-end-cu.exp
2383 * gdb.base/disasm-optim.exp
2384 * gdb.base/display.exp
2385 * gdb.base/duplicate-bp.exp
2386 * gdb.base/ena-dis-br.exp
2387 * gdb.base/ending-run.exp
2388 * gdb.base/enumval.exp
2389 * gdb.base/environ.exp
2390 * gdb.base/eu-strip-infcall.exp
2391 * gdb.base/eval-avoid-side-effects.exp
2392 * gdb.base/eval-skip.exp
2393 * gdb.base/exitsignal.exp
2394 * gdb.base/expand-psymtabs.exp
2395 * gdb.base/filesym.exp
2396 * gdb.base/find-unmapped.exp
2397 * gdb.base/finish.exp
2398 * gdb.base/float.exp
2399 * gdb.base/foll-exec-mode.exp
2400 * gdb.base/foll-exec.exp
2401 * gdb.base/foll-fork.exp
2402 * gdb.base/fortran-sym-case.exp
2403 * gdb.base/freebpcmd.exp
2404 * gdb.base/func-ptr.exp
2405 * gdb.base/func-ptrs.exp
2406 * gdb.base/funcargs.exp
2407 * gdb.base/gcore-buffer-overflow.exp
2408 * gdb.base/gcore-relro-pie.exp
2409 * gdb.base/gcore-relro.exp
2410 * gdb.base/gcore.exp
2411 * gdb.base/gdb1090.exp
2412 * gdb.base/gdb11530.exp
2413 * gdb.base/gdb11531.exp
2414 * gdb.base/gdb1821.exp
2415 * gdb.base/gdbindex-stabs.exp
2416 * gdb.base/gdbvars.exp
2417 * gdb.base/hbreak.exp
2418 * gdb.base/hbreak2.exp
2419 * gdb.base/included.exp
2420 * gdb.base/infcall-input.exp
2421 * gdb.base/inferior-died.exp
2422 * gdb.base/infnan.exp
2423 * gdb.base/info-macros.exp
2424 * gdb.base/info-os.exp
2425 * gdb.base/info-proc.exp
2426 * gdb.base/info-shared.exp
2427 * gdb.base/info-target.exp
2428 * gdb.base/infoline.exp
2429 * gdb.base/interp.exp
2430 * gdb.base/interrupt.exp
2431 * gdb.base/jit-reader.exp
2432 * gdb.base/jit-simple.exp
2433 * gdb.base/kill-after-signal.exp
2434 * gdb.base/kill-detach-inferiors-cmd.exp
2435 * gdb.base/label.exp
2436 * gdb.base/langs.exp
2437 * gdb.base/ldbl_e308.exp
2438 * gdb.base/line-symtabs.exp
2439 * gdb.base/linespecs.exp
2440 * gdb.base/list.exp
2441 * gdb.base/long_long.exp
2442 * gdb.base/longest-types.exp
2443 * gdb.base/maint.exp
2444 * gdb.base/max-value-size.exp
2445 * gdb.base/memattr.exp
2446 * gdb.base/mips_pro.exp
2447 * gdb.base/morestack.exp
2448 * gdb.base/moribund-step.exp
2449 * gdb.base/multi-forks.exp
2450 * gdb.base/nested-addr.exp
2451 * gdb.base/nextoverexit.exp
2452 * gdb.base/noreturn-finish.exp
2453 * gdb.base/noreturn-return.exp
2454 * gdb.base/nostdlib.exp
2455 * gdb.base/offsets.exp
2456 * gdb.base/opaque.exp
2457 * gdb.base/pc-fp.exp
2458 * gdb.base/permissions.exp
2459 * gdb.base/print-symbol-loading.exp
2460 * gdb.base/prologue-include.exp
2461 * gdb.base/psymtab.exp
2462 * gdb.base/ptype.exp
2463 * gdb.base/random-signal.exp
2464 * gdb.base/randomize.exp
2465 * gdb.base/range-stepping.exp
2466 * gdb.base/readline-ask.exp
2467 * gdb.base/recpar.exp
2468 * gdb.base/recurse.exp
2469 * gdb.base/relational.exp
2470 * gdb.base/restore.exp
2471 * gdb.base/return-nodebug.exp
2472 * gdb.base/return.exp
2473 * gdb.base/run-after-attach.exp
2474 * gdb.base/save-bp.exp
2475 * gdb.base/scope.exp
2476 * gdb.base/sect-cmd.exp
2477 * gdb.base/set-lang-auto.exp
2478 * gdb.base/set-noassign.exp
2479 * gdb.base/setvar.exp
2480 * gdb.base/sigall.exp
2481 * gdb.base/sigbpt.exp
2482 * gdb.base/siginfo-addr.exp
2483 * gdb.base/siginfo-infcall.exp
2484 * gdb.base/siginfo-obj.exp
2485 * gdb.base/siginfo.exp
2486 * gdb.base/signals-state-child.exp
2487 * gdb.base/signest.exp
2488 * gdb.base/sigstep.exp
2489 * gdb.base/sizeof.exp
2490 * gdb.base/skip.exp
2491 * gdb.base/solib-corrupted.exp
2492 * gdb.base/solib-nodir.exp
2493 * gdb.base/solib-search.exp
2494 * gdb.base/stack-checking.exp
2495 * gdb.base/stale-infcall.exp
2496 * gdb.base/stap-probe.exp
2497 * gdb.base/start.exp
2498 * gdb.base/step-break.exp
2499 * gdb.base/step-bt.exp
2500 * gdb.base/step-line.exp
2501 * gdb.base/step-over-exit.exp
2502 * gdb.base/step-over-syscall.exp
2503 * gdb.base/step-resume-infcall.exp
2504 * gdb.base/step-test.exp
2505 * gdb.base/store.exp
2506 * gdb.base/structs3.exp
2507 * gdb.base/sym-file.exp
2508 * gdb.base/symbol-without-target_section.exp
2509 * gdb.base/term.exp
2510 * gdb.base/testenv.exp
2511 * gdb.base/ui-redirect.exp
2512 * gdb.base/until.exp
2513 * gdb.base/unwindonsignal.exp
2514 * gdb.base/value-double-free.exp
2515 * gdb.base/vla-datatypes.exp
2516 * gdb.base/vla-ptr.exp
2517 * gdb.base/vla-sideeffect.exp
2518 * gdb.base/volatile.exp
2519 * gdb.base/watch-cond-infcall.exp
2520 * gdb.base/watch-cond.exp
2521 * gdb.base/watch-non-mem.exp
2522 * gdb.base/watch-read.exp
2523 * gdb.base/watch-vfork.exp
2524 * gdb.base/watchpoint-cond-gone.exp
2525 * gdb.base/watchpoint-delete.exp
2526 * gdb.base/watchpoint-hw-hit-once.exp
2527 * gdb.base/watchpoint-hw.exp
2528 * gdb.base/watchpoint-stops-at-right-insn.exp
2529 * gdb.base/watchpoints.exp
2530 * gdb.base/wchar.exp
2531 * gdb.base/whatis-exp.exp
2532 * gdb.btrace/buffer-size.exp
2533 * gdb.btrace/data.exp
2534 * gdb.btrace/delta.exp
2535 * gdb.btrace/dlopen.exp
2536 * gdb.btrace/enable.exp
2537 * gdb.btrace/exception.exp
2538 * gdb.btrace/function_call_history.exp
2539 * gdb.btrace/gcore.exp
2540 * gdb.btrace/instruction_history.exp
2541 * gdb.btrace/nohist.exp
2542 * gdb.btrace/reconnect.exp
2543 * gdb.btrace/record_goto-step.exp
2544 * gdb.btrace/record_goto.exp
2545 * gdb.btrace/rn-dl-bind.exp
2546 * gdb.btrace/segv.exp
2547 * gdb.btrace/step.exp
2548 * gdb.btrace/stepi.exp
2549 * gdb.btrace/tailcall-only.exp
2550 * gdb.btrace/tailcall.exp
2551 * gdb.btrace/tsx.exp
2552 * gdb.btrace/unknown_functions.exp
2553 * gdb.btrace/vdso.exp
2554 * gdb.compile/compile-ifunc.exp
2555 * gdb.compile/compile-ops.exp
2556 * gdb.compile/compile-print.exp
2557 * gdb.compile/compile-setjmp.exp
2558 * gdb.cp/abstract-origin.exp
2559 * gdb.cp/ambiguous.exp
2560 * gdb.cp/annota2.exp
2561 * gdb.cp/annota3.exp
2562 * gdb.cp/anon-ns.exp
2563 * gdb.cp/anon-struct.exp
2564 * gdb.cp/anon-union.exp
2565 * gdb.cp/arg-reference.exp
2566 * gdb.cp/baseenum.exp
2567 * gdb.cp/bool.exp
2568 * gdb.cp/breakpoint.exp
2569 * gdb.cp/bs15503.exp
2570 * gdb.cp/call-c.exp
2571 * gdb.cp/casts.exp
2572 * gdb.cp/chained-calls.exp
2573 * gdb.cp/class2.exp
2574 * gdb.cp/classes.exp
2575 * gdb.cp/cmpd-minsyms.exp
2576 * gdb.cp/converts.exp
2577 * gdb.cp/cp-relocate.exp
2578 * gdb.cp/cpcompletion.exp
2579 * gdb.cp/cpexprs.exp
2580 * gdb.cp/cplabel.exp
2581 * gdb.cp/cplusfuncs.exp
2582 * gdb.cp/cpsizeof.exp
2583 * gdb.cp/ctti.exp
2584 * gdb.cp/derivation.exp
2585 * gdb.cp/destrprint.exp
2586 * gdb.cp/dispcxx.exp
2587 * gdb.cp/enum-class.exp
2588 * gdb.cp/exception.exp
2589 * gdb.cp/exceptprint.exp
2590 * gdb.cp/expand-psymtabs-cxx.exp
2591 * gdb.cp/expand-sals.exp
2592 * gdb.cp/extern-c.exp
2593 * gdb.cp/filename.exp
2594 * gdb.cp/formatted-ref.exp
2595 * gdb.cp/fpointer.exp
2596 * gdb.cp/gdb1355.exp
2597 * gdb.cp/gdb2495.exp
2598 * gdb.cp/hang.exp
2599 * gdb.cp/impl-this.exp
2600 * gdb.cp/infcall-dlopen.exp
2601 * gdb.cp/inherit.exp
2602 * gdb.cp/iostream.exp
2603 * gdb.cp/koenig.exp
2604 * gdb.cp/local.exp
2605 * gdb.cp/m-data.exp
2606 * gdb.cp/m-static.exp
2607 * gdb.cp/mb-ctor.exp
2608 * gdb.cp/mb-inline.exp
2609 * gdb.cp/mb-templates.exp
2610 * gdb.cp/member-name.exp
2611 * gdb.cp/member-ptr.exp
2612 * gdb.cp/meth-typedefs.exp
2613 * gdb.cp/method.exp
2614 * gdb.cp/method2.exp
2615 * gdb.cp/minsym-fallback.exp
2616 * gdb.cp/misc.exp
2617 * gdb.cp/namelessclass.exp
2618 * gdb.cp/namespace-enum.exp
2619 * gdb.cp/namespace-nested-import.exp
2620 * gdb.cp/namespace.exp
2621 * gdb.cp/nextoverthrow.exp
2622 * gdb.cp/no-dmgl-verbose.exp
2623 * gdb.cp/non-trivial-retval.exp
2624 * gdb.cp/noparam.exp
2625 * gdb.cp/nsdecl.exp
2626 * gdb.cp/nsimport.exp
2627 * gdb.cp/nsnested.exp
2628 * gdb.cp/nsnoimports.exp
2629 * gdb.cp/nsrecurs.exp
2630 * gdb.cp/nsstress.exp
2631 * gdb.cp/nsusing.exp
2632 * gdb.cp/operator.exp
2633 * gdb.cp/oranking.exp
2634 * gdb.cp/overload-const.exp
2635 * gdb.cp/overload.exp
2636 * gdb.cp/ovldbreak.exp
2637 * gdb.cp/ovsrch.exp
2638 * gdb.cp/paren-type.exp
2639 * gdb.cp/parse-lang.exp
2640 * gdb.cp/pass-by-ref.exp
2641 * gdb.cp/pr-1023.exp
2642 * gdb.cp/pr-1210.exp
2643 * gdb.cp/pr-574.exp
2644 * gdb.cp/pr10687.exp
2645 * gdb.cp/pr12028.exp
2646 * gdb.cp/pr17132.exp
2647 * gdb.cp/pr17494.exp
2648 * gdb.cp/pr9067.exp
2649 * gdb.cp/pr9167.exp
2650 * gdb.cp/pr9631.exp
2651 * gdb.cp/printmethod.exp
2652 * gdb.cp/psmang.exp
2653 * gdb.cp/psymtab-parameter.exp
2654 * gdb.cp/ptype-cv-cp.exp
2655 * gdb.cp/ptype-flags.exp
2656 * gdb.cp/re-set-overloaded.exp
2657 * gdb.cp/ref-types.exp
2658 * gdb.cp/rtti.exp
2659 * gdb.cp/scope-err.exp
2660 * gdb.cp/shadow.exp
2661 * gdb.cp/smartp.exp
2662 * gdb.cp/static-method.exp
2663 * gdb.cp/static-print-quit.exp
2664 * gdb.cp/temargs.exp
2665 * gdb.cp/templates.exp
2666 * gdb.cp/try_catch.exp
2667 * gdb.cp/typedef-operator.exp
2668 * gdb.cp/typeid.exp
2669 * gdb.cp/userdef.exp
2670 * gdb.cp/using-crash.exp
2671 * gdb.cp/var-tag.exp
2672 * gdb.cp/virtbase.exp
2673 * gdb.cp/virtfunc.exp
2674 * gdb.cp/virtfunc2.exp
2675 * gdb.cp/vla-cxx.exp
2676 * gdb.disasm/t01_mov.exp
2677 * gdb.disasm/t02_mova.exp
2678 * gdb.disasm/t03_add.exp
2679 * gdb.disasm/t04_sub.exp
2680 * gdb.disasm/t05_cmp.exp
2681 * gdb.disasm/t06_ari2.exp
2682 * gdb.disasm/t07_ari3.exp
2683 * gdb.disasm/t08_or.exp
2684 * gdb.disasm/t09_xor.exp
2685 * gdb.disasm/t10_and.exp
2686 * gdb.disasm/t11_logs.exp
2687 * gdb.disasm/t12_bit.exp
2688 * gdb.disasm/t13_otr.exp
2689 * gdb.dlang/circular.exp
2690 * gdb.dwarf2/arr-stride.exp
2691 * gdb.dwarf2/arr-subrange.exp
2692 * gdb.dwarf2/atomic-type.exp
2693 * gdb.dwarf2/bad-regnum.exp
2694 * gdb.dwarf2/bitfield-parent-optimized-out.exp
2695 * gdb.dwarf2/callframecfa.exp
2696 * gdb.dwarf2/clztest.exp
2697 * gdb.dwarf2/corrupt.exp
2698 * gdb.dwarf2/data-loc.exp
2699 * gdb.dwarf2/dup-psym.exp
2700 * gdb.dwarf2/dw2-anon-mptr.exp
2701 * gdb.dwarf2/dw2-anonymous-func.exp
2702 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
2703 * gdb.dwarf2/dw2-bad-unresolved.exp
2704 * gdb.dwarf2/dw2-basic.exp
2705 * gdb.dwarf2/dw2-canonicalize-type.exp
2706 * gdb.dwarf2/dw2-case-insensitive.exp
2707 * gdb.dwarf2/dw2-common-block.exp
2708 * gdb.dwarf2/dw2-compdir-oldgcc.exp
2709 * gdb.dwarf2/dw2-compressed.exp
2710 * gdb.dwarf2/dw2-const.exp
2711 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
2712 * gdb.dwarf2/dw2-cu-size.exp
2713 * gdb.dwarf2/dw2-dup-frame.exp
2714 * gdb.dwarf2/dw2-entry-value.exp
2715 * gdb.dwarf2/dw2-icycle.exp
2716 * gdb.dwarf2/dw2-ifort-parameter.exp
2717 * gdb.dwarf2/dw2-inline-break.exp
2718 * gdb.dwarf2/dw2-inline-param.exp
2719 * gdb.dwarf2/dw2-intercu.exp
2720 * gdb.dwarf2/dw2-intermix.exp
2721 * gdb.dwarf2/dw2-lexical-block-bare.exp
2722 * gdb.dwarf2/dw2-linkage-name-trust.exp
2723 * gdb.dwarf2/dw2-minsym-in-cu.exp
2724 * gdb.dwarf2/dw2-noloc.exp
2725 * gdb.dwarf2/dw2-op-call.exp
2726 * gdb.dwarf2/dw2-op-out-param.exp
2727 * gdb.dwarf2/dw2-opt-structptr.exp
2728 * gdb.dwarf2/dw2-param-error.exp
2729 * gdb.dwarf2/dw2-producer.exp
2730 * gdb.dwarf2/dw2-ranges-base.exp
2731 * gdb.dwarf2/dw2-ref-missing-frame.exp
2732 * gdb.dwarf2/dw2-reg-undefined.exp
2733 * gdb.dwarf2/dw2-regno-invalid.exp
2734 * gdb.dwarf2/dw2-restore.exp
2735 * gdb.dwarf2/dw2-restrict.exp
2736 * gdb.dwarf2/dw2-single-line-discriminators.exp
2737 * gdb.dwarf2/dw2-strp.exp
2738 * gdb.dwarf2/dw2-undefined-ret-addr.exp
2739 * gdb.dwarf2/dw2-unresolved.exp
2740 * gdb.dwarf2/dw2-var-zero-addr.exp
2741 * gdb.dwarf2/dw4-sig-types.exp
2742 * gdb.dwarf2/dwz.exp
2743 * gdb.dwarf2/dynarr-ptr.exp
2744 * gdb.dwarf2/enum-type.exp
2745 * gdb.dwarf2/gdb-index.exp
2746 * gdb.dwarf2/implptr-64bit.exp
2747 * gdb.dwarf2/implptr-optimized-out.exp
2748 * gdb.dwarf2/implptr.exp
2749 * gdb.dwarf2/implref-array.exp
2750 * gdb.dwarf2/implref-const.exp
2751 * gdb.dwarf2/implref-global.exp
2752 * gdb.dwarf2/implref-struct.exp
2753 * gdb.dwarf2/mac-fileno.exp
2754 * gdb.dwarf2/main-subprogram.exp
2755 * gdb.dwarf2/member-ptr-forwardref.exp
2756 * gdb.dwarf2/method-ptr.exp
2757 * gdb.dwarf2/missing-sig-type.exp
2758 * gdb.dwarf2/nonvar-access.exp
2759 * gdb.dwarf2/opaque-type-lookup.exp
2760 * gdb.dwarf2/pieces-optimized-out.exp
2761 * gdb.dwarf2/pieces.exp
2762 * gdb.dwarf2/pr10770.exp
2763 * gdb.dwarf2/pr13961.exp
2764 * gdb.dwarf2/staticvirtual.exp
2765 * gdb.dwarf2/subrange.exp
2766 * gdb.dwarf2/symtab-producer.exp
2767 * gdb.dwarf2/trace-crash.exp
2768 * gdb.dwarf2/typeddwarf.exp
2769 * gdb.dwarf2/valop.exp
2770 * gdb.dwarf2/watch-notconst.exp
2771 * gdb.fortran/array-element.exp
2772 * gdb.fortran/charset.exp
2773 * gdb.fortran/common-block.exp
2774 * gdb.fortran/complex.exp
2775 * gdb.fortran/derived-type-function.exp
2776 * gdb.fortran/derived-type.exp
2777 * gdb.fortran/logical.exp
2778 * gdb.fortran/module.exp
2779 * gdb.fortran/multi-dim.exp
2780 * gdb.fortran/nested-funcs.exp
2781 * gdb.fortran/print-formatted.exp
2782 * gdb.fortran/subarray.exp
2783 * gdb.fortran/vla-alloc-assoc.exp
2784 * gdb.fortran/vla-datatypes.exp
2785 * gdb.fortran/vla-history.exp
2786 * gdb.fortran/vla-ptr-info.exp
2787 * gdb.fortran/vla-ptype-sub.exp
2788 * gdb.fortran/vla-ptype.exp
2789 * gdb.fortran/vla-sizeof.exp
2790 * gdb.fortran/vla-type.exp
2791 * gdb.fortran/vla-value-sub-arbitrary.exp
2792 * gdb.fortran/vla-value-sub-finish.exp
2793 * gdb.fortran/vla-value-sub.exp
2794 * gdb.fortran/vla-value.exp
2795 * gdb.fortran/whatis_type.exp
2796 * gdb.go/chan.exp
2797 * gdb.go/handcall.exp
2798 * gdb.go/hello.exp
2799 * gdb.go/integers.exp
2800 * gdb.go/methods.exp
2801 * gdb.go/package.exp
2802 * gdb.go/strings.exp
2803 * gdb.go/types.exp
2804 * gdb.go/unsafe.exp
2805 * gdb.guile/scm-arch.exp
2806 * gdb.guile/scm-block.exp
2807 * gdb.guile/scm-breakpoint.exp
2808 * gdb.guile/scm-cmd.exp
2809 * gdb.guile/scm-disasm.exp
2810 * gdb.guile/scm-equal.exp
2811 * gdb.guile/scm-frame-args.exp
2812 * gdb.guile/scm-frame-inline.exp
2813 * gdb.guile/scm-frame.exp
2814 * gdb.guile/scm-iterator.exp
2815 * gdb.guile/scm-math.exp
2816 * gdb.guile/scm-objfile.exp
2817 * gdb.guile/scm-ports.exp
2818 * gdb.guile/scm-symbol.exp
2819 * gdb.guile/scm-symtab.exp
2820 * gdb.guile/scm-value-cc.exp
2821 * gdb.guile/types-module.exp
2822 * gdb.linespec/break-ask.exp
2823 * gdb.linespec/cpexplicit.exp
2824 * gdb.linespec/explicit.exp
2825 * gdb.linespec/keywords.exp
2826 * gdb.linespec/linespec.exp
2827 * gdb.linespec/ls-dollar.exp
2828 * gdb.linespec/ls-errs.exp
2829 * gdb.linespec/skip-two.exp
2830 * gdb.linespec/thread.exp
2831 * gdb.mi/mi-async.exp
2832 * gdb.mi/mi-basics.exp
2833 * gdb.mi/mi-break.exp
2834 * gdb.mi/mi-catch-load.exp
2835 * gdb.mi/mi-cli.exp
2836 * gdb.mi/mi-cmd-param-changed.exp
2837 * gdb.mi/mi-console.exp
2838 * gdb.mi/mi-detach.exp
2839 * gdb.mi/mi-disassemble.exp
2840 * gdb.mi/mi-eval.exp
2841 * gdb.mi/mi-file-transfer.exp
2842 * gdb.mi/mi-file.exp
2843 * gdb.mi/mi-fill-memory.exp
2844 * gdb.mi/mi-inheritance-syntax-error.exp
2845 * gdb.mi/mi-linespec-err-cp.exp
2846 * gdb.mi/mi-logging.exp
2847 * gdb.mi/mi-memory-changed.exp
2848 * gdb.mi/mi-read-memory.exp
2849 * gdb.mi/mi-record-changed.exp
2850 * gdb.mi/mi-reg-undefined.exp
2851 * gdb.mi/mi-regs.exp
2852 * gdb.mi/mi-return.exp
2853 * gdb.mi/mi-reverse.exp
2854 * gdb.mi/mi-simplerun.exp
2855 * gdb.mi/mi-solib.exp
2856 * gdb.mi/mi-stack.exp
2857 * gdb.mi/mi-stepi.exp
2858 * gdb.mi/mi-syn-frame.exp
2859 * gdb.mi/mi-until.exp
2860 * gdb.mi/mi-var-block.exp
2861 * gdb.mi/mi-var-child.exp
2862 * gdb.mi/mi-var-cmd.exp
2863 * gdb.mi/mi-var-cp.exp
2864 * gdb.mi/mi-var-display.exp
2865 * gdb.mi/mi-var-invalidate.exp
2866 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
2867 * gdb.mi/mi-vla-fortran.exp
2868 * gdb.mi/mi-watch.exp
2869 * gdb.mi/mi2-var-child.exp
2870 * gdb.mi/user-selected-context-sync.exp
2871 * gdb.modula2/unbounded-array.exp
2872 * gdb.multi/dummy-frame-restore.exp
2873 * gdb.multi/multi-arch-exec.exp
2874 * gdb.multi/multi-arch.exp
2875 * gdb.multi/tids.exp
2876 * gdb.multi/watchpoint-multi.exp
2877 * gdb.opencl/callfuncs.exp
2878 * gdb.opencl/convs_casts.exp
2879 * gdb.opencl/datatypes.exp
2880 * gdb.opencl/operators.exp
2881 * gdb.opencl/vec_comps.exp
2882 * gdb.opt/clobbered-registers-O2.exp
2883 * gdb.opt/inline-break.exp
2884 * gdb.opt/inline-bt.exp
2885 * gdb.opt/inline-cmds.exp
2886 * gdb.opt/inline-locals.exp
2887 * gdb.pascal/case-insensitive-symbols.exp
2888 * gdb.pascal/floats.exp
2889 * gdb.pascal/gdb11492.exp
2890 * gdb.python/lib-types.exp
2891 * gdb.python/py-arch.exp
2892 * gdb.python/py-as-string.exp
2893 * gdb.python/py-bad-printers.exp
2894 * gdb.python/py-block.exp
2895 * gdb.python/py-breakpoint-create-fail.exp
2896 * gdb.python/py-breakpoint.exp
2897 * gdb.python/py-caller-is.exp
2898 * gdb.python/py-cmd.exp
2899 * gdb.python/py-explore-cc.exp
2900 * gdb.python/py-explore.exp
2901 * gdb.python/py-finish-breakpoint.exp
2902 * gdb.python/py-finish-breakpoint2.exp
2903 * gdb.python/py-frame-args.exp
2904 * gdb.python/py-frame-inline.exp
2905 * gdb.python/py-frame.exp
2906 * gdb.python/py-framefilter-mi.exp
2907 * gdb.python/py-infthread.exp
2908 * gdb.python/py-lazy-string.exp
2909 * gdb.python/py-linetable.exp
2910 * gdb.python/py-mi-events.exp
2911 * gdb.python/py-mi-objfile.exp
2912 * gdb.python/py-mi.exp
2913 * gdb.python/py-objfile.exp
2914 * gdb.python/py-pp-integral.exp
2915 * gdb.python/py-pp-maint.exp
2916 * gdb.python/py-pp-re-notag.exp
2917 * gdb.python/py-pp-registration.exp
2918 * gdb.python/py-recurse-unwind.exp
2919 * gdb.python/py-strfns.exp
2920 * gdb.python/py-symbol.exp
2921 * gdb.python/py-symtab.exp
2922 * gdb.python/py-sync-interp.exp
2923 * gdb.python/py-typeprint.exp
2924 * gdb.python/py-unwind-maint.exp
2925 * gdb.python/py-unwind.exp
2926 * gdb.python/py-value-cc.exp
2927 * gdb.python/py-xmethods.exp
2928 * gdb.reverse/amd64-tailcall-reverse.exp
2929 * gdb.reverse/break-precsave.exp
2930 * gdb.reverse/break-reverse.exp
2931 * gdb.reverse/consecutive-precsave.exp
2932 * gdb.reverse/consecutive-reverse.exp
2933 * gdb.reverse/finish-precsave.exp
2934 * gdb.reverse/finish-reverse-bkpt.exp
2935 * gdb.reverse/finish-reverse.exp
2936 * gdb.reverse/fstatat-reverse.exp
2937 * gdb.reverse/getresuid-reverse.exp
2938 * gdb.reverse/i386-precsave.exp
2939 * gdb.reverse/i386-reverse.exp
2940 * gdb.reverse/i386-sse-reverse.exp
2941 * gdb.reverse/i387-env-reverse.exp
2942 * gdb.reverse/i387-stack-reverse.exp
2943 * gdb.reverse/insn-reverse.exp
2944 * gdb.reverse/machinestate-precsave.exp
2945 * gdb.reverse/machinestate.exp
2946 * gdb.reverse/next-reverse-bkpt-over-sr.exp
2947 * gdb.reverse/pipe-reverse.exp
2948 * gdb.reverse/readv-reverse.exp
2949 * gdb.reverse/recvmsg-reverse.exp
2950 * gdb.reverse/rerun-prec.exp
2951 * gdb.reverse/s390-mvcle.exp
2952 * gdb.reverse/step-precsave.exp
2953 * gdb.reverse/step-reverse.exp
2954 * gdb.reverse/time-reverse.exp
2955 * gdb.reverse/until-precsave.exp
2956 * gdb.reverse/until-reverse.exp
2957 * gdb.reverse/waitpid-reverse.exp
2958 * gdb.reverse/watch-precsave.exp
2959 * gdb.reverse/watch-reverse.exp
2960 * gdb.rust/generics.exp
2961 * gdb.rust/methods.exp
2962 * gdb.rust/modules.exp
2963 * gdb.rust/simple.exp
2964 * gdb.server/connect-with-no-symbol-file.exp
2965 * gdb.server/ext-attach.exp
2966 * gdb.server/ext-restart.exp
2967 * gdb.server/ext-wrapper.exp
2968 * gdb.server/file-transfer.exp
2969 * gdb.server/server-exec-info.exp
2970 * gdb.server/server-kill.exp
2971 * gdb.server/server-mon.exp
2972 * gdb.server/wrapper.exp
2973 * gdb.stabs/exclfwd.exp
2974 * gdb.stabs/gdb11479.exp
2975 * gdb.threads/clone-new-thread-event.exp
2976 * gdb.threads/corethreads.exp
2977 * gdb.threads/current-lwp-dead.exp
2978 * gdb.threads/dlopen-libpthread.exp
2979 * gdb.threads/gcore-thread.exp
2980 * gdb.threads/sigstep-threads.exp
2981 * gdb.threads/watchpoint-fork.exp
2982 * gdb.trace/actions-changed.exp
2983 * gdb.trace/backtrace.exp
2984 * gdb.trace/change-loc.exp
2985 * gdb.trace/circ.exp
2986 * gdb.trace/collection.exp
2987 * gdb.trace/disconnected-tracing.exp
2988 * gdb.trace/ftrace.exp
2989 * gdb.trace/mi-trace-frame-collected.exp
2990 * gdb.trace/mi-trace-unavailable.exp
2991 * gdb.trace/mi-traceframe-changed.exp
2992 * gdb.trace/mi-tsv-changed.exp
2993 * gdb.trace/no-attach-trace.exp
2994 * gdb.trace/passc-dyn.exp
2995 * gdb.trace/qtro.exp
2996 * gdb.trace/range-stepping.exp
2997 * gdb.trace/read-memory.exp
2998 * gdb.trace/save-trace.exp
2999 * gdb.trace/signal.exp
3000 * gdb.trace/status-stop.exp
3001 * gdb.trace/tfile.exp
3002 * gdb.trace/trace-break.exp
3003 * gdb.trace/trace-buffer-size.exp
3004 * gdb.trace/trace-condition.exp
3005 * gdb.trace/tracefile-pseudo-reg.exp
3006 * gdb.trace/tstatus.exp
3007 * gdb.trace/unavailable.exp
3008 * gdb.trace/while-dyn.exp
3009 * gdb.trace/while-stepping.exp
3010
34c41c68
DE
30112016-12-22 Doug Evans <xdje42@gmail.com>
3012
3013 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
3014 and msymbols.
3015
16e69324
YQ
30162016-12-19 Yao Qi <yao.qi@linaro.org>
3017
3018 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
3019 (test_with_self): Don't call do_steps_and_nexts, and remove
3020 code about stepping into xmalloc.
3021
f94f411b
YQ
30222016-12-09 Yao Qi <yao.qi@linaro.org>
3023
3024 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
3025
30262016-12-09 Yao Qi <yao.qi@linaro.org>
3027
3028 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
3029
f1b5deee
PA
30302016-12-09 Pedro Alves <palves@redhat.com>
3031
3032 * gdb.base/all-architectures-0.exp: New file.
3033 * gdb.base/all-architectures-1.exp: New file.
3034 * gdb.base/all-architectures-2.exp: New file.
3035 * gdb.base/all-architectures-3.exp: New file.
3036 * gdb.base/all-architectures-4.exp: New file.
3037 * gdb.base/all-architectures-5.exp: New file.
3038 * gdb.base/all-architectures-6.exp: New file.
3039 * gdb.base/all-architectures-7.exp: New file.
3040 * gdb.base/all-architectures.exp.in: New file.
3041
364ca42e
YQ
30422016-12-09 Yao Qi <yao.qi@linaro.org>
3043
3044 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
3045
107c2d62
LM
30462016-12-02 Luis Machado <lgustavo@codesourcery.com>
3047
3048 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
3049 possible.
3050 Remove useless pattern-matching code.
3051
df3ee9ca
PA
30522016-12-02 Pedro Alves <palves@redhat.com>
3053
3054 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
3055 procedure.
3056 (top level): Call it.
3057
ec835369
PA
30582016-12-02 Pedro Alves <palves@redhat.com>
3059
3060 * gdb.base/commands.exp (user_defined_command_args_stack_test):
3061 New procedure.
3062 (top level): Call it.
3063
01770bbd
PA
30642016-12-02 Pedro Alves <palves@redhat.com>
3065
3066 PR cli/20559
3067 * gdb.base/commands.exp (user_defined_command_args_eval): New
3068 procedure.
3069 (top level): Call it.
3070
008459ea
LM
30712016-12-02 Luis Machado <lgustavo@codesourcery.com>
3072
3073 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
3074 timeout handling.
3075
0c1b455e
TT
30762016-12-02 Tom Tromey <tom@tromey.com>
3077
3078 * gdb.dwarf2/main-subprogram.c: New file.
3079 * gdb.dwarf2/main-subprogram.exp: New file.
3080
018572b8
LM
30812016-12-01 Luis Machado <lgustavo@codesourcery.com>
3082
3083 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
3084 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
3085 gdb_test_no_output for a couple of cases.
3086 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
3087
84c93cd5
LM
30882016-12-01 Luis Machado <lgustavo@codesourcery.com>
3089
3090 Fix test names and standardize compilation error messages throughout
3091 the following files:
3092
3093 * gdb.ada/start.exp
3094 * gdb.arch/alpha-step.exp
3095 * gdb.arch/e500-prologue.exp
3096 * gdb.arch/ftrace-insn-reloc.exp
3097 * gdb.arch/gdb1291.exp
3098 * gdb.arch/gdb1431.exp
3099 * gdb.arch/gdb1558.exp
3100 * gdb.arch/i386-dr3-watch.exp
3101 * gdb.arch/i386-sse-stack-align.exp
3102 * gdb.arch/ia64-breakpoint-shadow.exp
3103 * gdb.arch/pa-nullify.exp
3104 * gdb.arch/powerpc-aix-prologue.exp
3105 * gdb.arch/thumb-bx-pc.exp
3106 * gdb.base/annota1.exp
3107 * gdb.base/annota3.exp
3108 * gdb.base/arrayidx.exp
3109 * gdb.base/assign.exp
3110 * gdb.base/attach.exp
3111 * gdb.base/auxv.exp
3112 * gdb.base/bang.exp
3113 * gdb.base/bfp-test.exp
3114 * gdb.base/bigcore.exp
3115 * gdb.base/bitfields2.exp
3116 * gdb.base/break-fun-addr.exp
3117 * gdb.base/break-probes.exp
3118 * gdb.base/call-rt-st.exp
3119 * gdb.base/callexit.exp
3120 * gdb.base/catch-fork-kill.exp
3121 * gdb.base/charset.exp
3122 * gdb.base/checkpoint.exp
3123 * gdb.base/comprdebug.exp
3124 * gdb.base/constvars.exp
3125 * gdb.base/coredump-filter.exp
3126 * gdb.base/cursal.exp
3127 * gdb.base/cvexpr.exp
3128 * gdb.base/detach.exp
3129 * gdb.base/display.exp
3130 * gdb.base/dmsym.exp
3131 * gdb.base/dprintf-pending.exp
3132 * gdb.base/dso2dso.exp
3133 * gdb.base/dtrace-probe.exp
3134 * gdb.base/dump.exp
3135 * gdb.base/enum_cond.exp
3136 * gdb.base/exe-lock.exp
3137 * gdb.base/exec-invalid-sysroot.exp
3138 * gdb.base/execl-update-breakpoints.exp
3139 * gdb.base/exprs.exp
3140 * gdb.base/fileio.exp
3141 * gdb.base/find.exp
3142 * gdb.base/finish.exp
3143 * gdb.base/fixsection.exp
3144 * gdb.base/foll-vfork.exp
3145 * gdb.base/frame-args.exp
3146 * gdb.base/gcore.exp
3147 * gdb.base/gdb1250.exp
3148 * gdb.base/global-var-nested-by-dso.exp
3149 * gdb.base/gnu-ifunc.exp
3150 * gdb.base/hashline1.exp
3151 * gdb.base/hashline2.exp
3152 * gdb.base/hashline3.exp
3153 * gdb.base/hbreak-in-shr-unsupported.exp
3154 * gdb.base/huge.exp
3155 * gdb.base/infcall-input.exp
3156 * gdb.base/info-fun.exp
3157 * gdb.base/info-shared.exp
3158 * gdb.base/jit-simple.exp
3159 * gdb.base/jit-so.exp
3160 * gdb.base/jit.exp
3161 * gdb.base/jump.exp
3162 * gdb.base/label.exp
3163 * gdb.base/lineinc.exp
3164 * gdb.base/logical.exp
3165 * gdb.base/longjmp.exp
3166 * gdb.base/macscp.exp
3167 * gdb.base/miscexprs.exp
3168 * gdb.base/new-ui-echo.exp
3169 * gdb.base/new-ui-pending-input.exp
3170 * gdb.base/new-ui.exp
3171 * gdb.base/nodebug.exp
3172 * gdb.base/nofield.exp
3173 * gdb.base/offsets.exp
3174 * gdb.base/overlays.exp
3175 * gdb.base/pending.exp
3176 * gdb.base/pointers.exp
3177 * gdb.base/pr11022.exp
3178 * gdb.base/printcmds.exp
3179 * gdb.base/prologue.exp
3180 * gdb.base/ptr-typedef.exp
3181 * gdb.base/realname-expand.exp
3182 * gdb.base/relativedebug.exp
3183 * gdb.base/relocate.exp
3184 * gdb.base/remote.exp
3185 * gdb.base/reread.exp
3186 * gdb.base/return2.exp
3187 * gdb.base/savedregs.exp
3188 * gdb.base/sep.exp
3189 * gdb.base/sepdebug.exp
3190 * gdb.base/sepsymtab.exp
3191 * gdb.base/set-inferior-tty.exp
3192 * gdb.base/setshow.exp
3193 * gdb.base/shlib-call.exp
3194 * gdb.base/sigaltstack.exp
3195 * gdb.base/siginfo-addr.exp
3196 * gdb.base/signals.exp
3197 * gdb.base/signull.exp
3198 * gdb.base/sigrepeat.exp
3199 * gdb.base/so-impl-ld.exp
3200 * gdb.base/solib-display.exp
3201 * gdb.base/solib-overlap.exp
3202 * gdb.base/solib-search.exp
3203 * gdb.base/solib-symbol.exp
3204 * gdb.base/structs.exp
3205 * gdb.base/structs2.exp
3206 * gdb.base/symtab-search-order.exp
3207 * gdb.base/twice.exp
3208 * gdb.base/unload.exp
3209 * gdb.base/varargs.exp
3210 * gdb.base/watchpoint-solib.exp
3211 * gdb.base/watchpoint.exp
3212 * gdb.base/whatis.exp
3213 * gdb.base/wrong_frame_bt_full.exp
3214 * gdb.btrace/dlopen.exp
3215 * gdb.cell/ea-standalone.exp
3216 * gdb.cell/ea-test.exp
3217 * gdb.cp/dispcxx.exp
3218 * gdb.cp/gdb2384.exp
3219 * gdb.cp/method2.exp
3220 * gdb.cp/nextoverthrow.exp
3221 * gdb.cp/pr10728.exp
3222 * gdb.disasm/am33.exp
3223 * gdb.disasm/h8300s.exp
3224 * gdb.disasm/mn10300.exp
3225 * gdb.disasm/sh3.exp
3226 * gdb.dwarf2/dw2-dir-file-name.exp
3227 * gdb.fortran/complex.exp
3228 * gdb.fortran/library-module.exp
3229 * gdb.guile/scm-pretty-print.exp
3230 * gdb.guile/scm-symbol.exp
3231 * gdb.guile/scm-type.exp
3232 * gdb.guile/scm-value.exp
3233 * gdb.linespec/linespec.exp
3234 * gdb.mi/gdb701.exp
3235 * gdb.mi/gdb792.exp
3236 * gdb.mi/mi-breakpoint-changed.exp
3237 * gdb.mi/mi-dprintf-pending.exp
3238 * gdb.mi/mi-dprintf.exp
3239 * gdb.mi/mi-exit-code.exp
3240 * gdb.mi/mi-pending.exp
3241 * gdb.mi/mi-solib.exp
3242 * gdb.mi/new-ui-mi-sync.exp
3243 * gdb.mi/pr11022.exp
3244 * gdb.mi/user-selected-context-sync.exp
3245 * gdb.opt/solib-intra-step.exp
3246 * gdb.python/py-events.exp
3247 * gdb.python/py-finish-breakpoint.exp
3248 * gdb.python/py-mi.exp
3249 * gdb.python/py-prettyprint.exp
3250 * gdb.python/py-shared.exp
3251 * gdb.python/py-symbol.exp
3252 * gdb.python/py-template.exp
3253 * gdb.python/py-type.exp
3254 * gdb.python/py-value.exp
3255 * gdb.reverse/solib-precsave.exp
3256 * gdb.reverse/solib-reverse.exp
3257 * gdb.server/solib-list.exp
3258 * gdb.stabs/weird.exp
3259 * gdb.threads/reconnect-signal.exp
3260 * gdb.threads/stepi-random-signal.exp
3261 * gdb.trace/actions.exp
3262 * gdb.trace/ax.exp
3263 * gdb.trace/backtrace.exp
3264 * gdb.trace/change-loc.exp
3265 * gdb.trace/deltrace.exp
3266 * gdb.trace/ftrace-lock.exp
3267 * gdb.trace/ftrace.exp
3268 * gdb.trace/infotrace.exp
3269 * gdb.trace/mi-tracepoint-changed.exp
3270 * gdb.trace/packetlen.exp
3271 * gdb.trace/passcount.exp
3272 * gdb.trace/pending.exp
3273 * gdb.trace/range-stepping.exp
3274 * gdb.trace/report.exp
3275 * gdb.trace/stap-trace.exp
3276 * gdb.trace/tfind.exp
3277 * gdb.trace/trace-break.exp
3278 * gdb.trace/trace-condition.exp
3279 * gdb.trace/trace-enable-disable.exp
3280 * gdb.trace/trace-mt.exp
3281 * gdb.trace/tracecmd.exp
3282 * gdb.trace/tspeed.exp
3283 * gdb.trace/tsv.exp
3284 * lib/perftest.exp
3285
fb9feb35
LM
32862016-12-01 Luis Machado <lgustavo@codesourcery.com>
3287
3288 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
3289 with gdb_test_no_output.
3290 Use command as test name.
3291
cd2ddb6c
LM
32922016-12-01 Luis Machado <lgustavo@codesourcery.com>
3293
3294 Fix test names starting with uppercase throughout the files.
3295
3296 * gdb.ada/assign_1.exp
3297 * gdb.ada/boolean_expr.exp
3298 * gdb.base/arrayidx.exp
3299 * gdb.base/del.exp
3300 * gdb.base/gcore-buffer-overflow.exp
3301 * gdb.base/testenv.exp
3302 * gdb.compile/compile.exp
3303 * gdb.python/py-framefilter-invalidarg.exp
3304 * gdb.python/py-framefilter.exp
3305
bb95117e
LM
33062016-12-01 Luis Machado <lgustavo@codesourcery.com>
3307
3308 Fix test names starting with uppercase throughout the files.
3309
3310 * gdb.ada/array_return.exp
3311 * gdb.ada/expr_delims.exp
3312 * gdb.ada/mi_dyn_arr.exp
3313 * gdb.ada/mi_interface.exp
3314 * gdb.ada/mi_var_array.exp
3315 * gdb.ada/watch_arg.exp
3316 * gdb.arch/alpha-step.exp
3317 * gdb.arch/altivec-regs.exp
3318 * gdb.arch/e500-regs.exp
3319 * gdb.arch/powerpc-d128-regs.exp
3320 * gdb.base/arrayidx.exp
3321 * gdb.base/break.exp
3322 * gdb.base/checkpoint.exp
3323 * gdb.base/debug-expr.exp
3324 * gdb.base/dmsym.exp
3325 * gdb.base/radix.exp
3326 * gdb.base/sepdebug.exp
3327 * gdb.base/testenv.exp
3328 * gdb.base/watch_thread_num.exp
3329 * gdb.base/watchpoint-cond-gone.exp
3330 * gdb.cell/break.exp
3331 * gdb.cell/ea-cache.exp
3332 * gdb.compile/compile.exp
3333 * gdb.cp/gdb2495.exp
3334 * gdb.gdb/selftest.exp
3335 * gdb.gdb/xfullpath.exp
3336 * gdb.go/hello.exp
3337 * gdb.go/integers.exp
3338 * gdb.objc/basicclass.exp
3339 * gdb.pascal/hello.exp
3340 * gdb.pascal/integers.exp
3341 * gdb.python/py-breakpoint.exp
3342 * gdb.python/py-cmd.exp
3343 * gdb.python/py-linetable.exp
3344 * gdb.python/py-xmethods.exp
3345 * gdb.python/python.exp
3346 * gdb.reverse/consecutive-precsave.exp
3347 * gdb.reverse/finish-precsave.exp
3348 * gdb.reverse/i386-precsave.exp
3349 * gdb.reverse/machinestate-precsave.exp
3350 * gdb.reverse/sigall-precsave.exp
3351 * gdb.reverse/solib-precsave.exp
3352 * gdb.reverse/step-precsave.exp
3353 * gdb.reverse/until-precsave.exp
3354 * gdb.reverse/watch-precsave.exp
3355 * gdb.threads/leader-exit.exp
3356 * gdb.threads/pthreads.exp
3357 * gdb.threads/wp-replication.exp
3358 * gdb.trace/actions.exp
3359 * gdb.trace/mi-tsv-changed.exp
3360 * gdb.trace/tsv.exp
3361
de97fdd4
LM
33622016-12-01 Luis Machado <lgustavo@codesourcery.com>
3363
3364 Fix test names starting with uppercase throughout the files.
3365
3366 * gdb.arch/i386-bp_permanent.exp
3367 * gdb.arch/i386-gnu-cfi.exp
3368 * gdb.base/disasm-end-cu.exp
3369 * gdb.base/macscp.exp
3370 * gdb.base/pending.exp
3371 * gdb.base/watch_thread_num.exp
3372 * gdb.cp/exception.exp
3373 * gdb.cp/gdb2495.exp
3374 * gdb.cp/local.exp
3375 * gdb.python/py-evsignal.exp
3376 * gdb.python/python.exp
3377 * gdb.trace/tracecmd.exp
3378
9f058c10
LM
33792016-12-01 Luis Machado <lgustavo@codesourcery.com>
3380
3381 Fix test names starting with uppercase throughout the files.
3382
3383 * gdb.base/charset.exp
3384 * gdb.base/eval.exp
3385 * gdb.base/multi-forks.exp
3386 * gdb.guile/scm-progspace.exp
3387 * gdb.opencl/datatypes.exp
3388 * gdb.python/py-block.exp
3389 * gdb.python/py-function.exp
3390 * gdb.python/py-symbol.exp
3391 * gdb.python/py-symtab.exp
3392 * gdb.python/py-xmethods.exp
3393 * gdb.reverse/break-precsave.exp
3394 * gdb.reverse/break-reverse.exp
3395 * gdb.reverse/consecutive-precsave.exp
3396 * gdb.reverse/consecutive-reverse.exp
3397 * gdb.reverse/finish-precsave.exp
3398 * gdb.reverse/finish-reverse-bkpt.exp
3399 * gdb.reverse/finish-reverse.exp
3400 * gdb.reverse/fstatat-reverse.exp
3401 * gdb.reverse/getresuid-reverse.exp
3402 * gdb.reverse/i386-precsave.exp
3403 * gdb.reverse/i386-reverse.exp
3404 * gdb.reverse/i386-sse-reverse.exp
3405 * gdb.reverse/i387-stack-reverse.exp
3406 * gdb.reverse/insn-reverse.exp
3407 * gdb.reverse/machinestate-precsave.exp
3408 * gdb.reverse/machinestate.exp
3409 * gdb.reverse/next-reverse-bkpt-over-sr.exp
3410 * gdb.reverse/pipe-reverse.exp
3411 * gdb.reverse/readv-reverse.exp
3412 * gdb.reverse/recvmsg-reverse.exp
3413 * gdb.reverse/rerun-prec.exp
3414 * gdb.reverse/s390-mvcle.exp
3415 * gdb.reverse/sigall-precsave.exp
3416 * gdb.reverse/sigall-reverse.exp
3417 * gdb.reverse/solib-precsave.exp
3418 * gdb.reverse/solib-reverse.exp
3419 * gdb.reverse/step-precsave.exp
3420 * gdb.reverse/step-reverse.exp
3421 * gdb.reverse/time-reverse.exp
3422 * gdb.reverse/until-precsave.exp
3423 * gdb.reverse/until-reverse.exp
3424 * gdb.reverse/waitpid-reverse.exp
3425 * gdb.reverse/watch-precsave.exp
3426 * gdb.reverse/watch-reverse.exp
3427
cdc7edd7
LM
34282016-12-01 Luis Machado <lgustavo@codesourcery.com>
3429
3430 Fix test names starting with uppercase throughout the files.
3431
3432 * gdb.arch/i386-mpx-simple_segv.exp
3433 * gdb.arch/i386-mpx.exp
3434 * gdb.arch/i386-permbkpt.exp
3435 * gdb.arch/pa-nullify.exp
3436 * gdb.arch/powerpc-d128-regs.exp
3437 * gdb.arch/vsx-regs.exp
3438 * gdb.base/bfp-test.exp
3439 * gdb.base/break.exp
3440 * gdb.base/breakpoint-shadow.exp
3441 * gdb.base/callfuncs.exp
3442 * gdb.base/charset.exp
3443 * gdb.base/commands.exp
3444 * gdb.base/completion.exp
3445 * gdb.base/dfp-test.exp
3446 * gdb.base/echo.exp
3447 * gdb.base/ending-run.exp
3448 * gdb.base/eval.exp
3449 * gdb.base/expand-psymtabs.exp
3450 * gdb.base/float128.exp
3451 * gdb.base/floatn.exp
3452 * gdb.base/foll-exec-mode.exp
3453 * gdb.base/gdb1056.exp
3454 * gdb.base/gdb11531.exp
3455 * gdb.base/kill-after-signal.exp
3456 * gdb.base/multi-forks.exp
3457 * gdb.base/overlays.exp
3458 * gdb.base/pending.exp
3459 * gdb.base/sepdebug.exp
3460 * gdb.base/testenv.exp
3461 * gdb.base/valgrind-db-attach.exp
3462 * gdb.base/watch_thread_num.exp
3463 * gdb.base/watchpoint-cond-gone.exp
3464 * gdb.base/watchpoint.exp
3465 * gdb.base/watchpoints.exp
3466 * gdb.cp/arg-reference.exp
3467 * gdb.cp/baseenum.exp
3468 * gdb.cp/operator.exp
3469 * gdb.cp/shadow.exp
3470 * gdb.dwarf2/dw2-op-out-param.exp
3471 * gdb.dwarf2/dw2-reg-undefined.exp
3472 * gdb.go/chan.exp
3473 * gdb.go/hello.exp
3474 * gdb.go/integers.exp
3475 * gdb.go/methods.exp
3476 * gdb.go/package.exp
3477 * gdb.guile/scm-parameter.exp
3478 * gdb.guile/scm-progspace.exp
3479 * gdb.guile/scm-value.exp
3480 * gdb.mi/mi-pending.exp
3481 * gdb.mi/user-selected-context-sync.exp
3482 * gdb.multi/multi-attach.exp
3483 * gdb.multi/tids.exp
3484 * gdb.opt/clobbered-registers-O2.exp
3485 * gdb.pascal/floats.exp
3486 * gdb.pascal/integers.exp
3487 * gdb.python/py-block.exp
3488 * gdb.python/py-events.exp
3489 * gdb.python/py-parameter.exp
3490 * gdb.python/py-symbol.exp
3491 * gdb.python/py-symtab.exp
3492 * gdb.python/py-type.exp
3493 * gdb.python/py-value.exp
3494 * gdb.python/py-xmethods.exp
3495 * gdb.python/python.exp
3496 * gdb.reverse/break-precsave.exp
3497 * gdb.reverse/consecutive-precsave.exp
3498 * gdb.reverse/finish-precsave.exp
3499 * gdb.reverse/i386-precsave.exp
3500 * gdb.reverse/machinestate-precsave.exp
3501 * gdb.reverse/sigall-precsave.exp
3502 * gdb.reverse/solib-precsave.exp
3503 * gdb.reverse/step-precsave.exp
3504 * gdb.reverse/until-precsave.exp
3505 * gdb.reverse/watch-precsave.exp
3506 * gdb.server/ext-attach.exp
3507 * gdb.server/ext-restart.exp
3508 * gdb.server/ext-run.exp
3509 * gdb.server/ext-wrapper.exp
3510 * gdb.stabs/gdb11479.exp
3511 * gdb.stabs/weird.exp
3512 * gdb.threads/attach-many-short-lived-threads.exp
3513 * gdb.threads/kill.exp
3514 * gdb.threads/watchpoint-fork.exp
3515
bc6c7af4
LM
35162016-12-01 Luis Machado <lgustavo@codesourcery.com>
3517
3518 Fix test names starting with uppercase throughout all the files below.
3519
3520 * gdb.ada/array_return.exp
3521 * gdb.ada/catch_ex.exp
3522 * gdb.ada/info_exc.exp
3523 * gdb.ada/mi_catch_ex.exp
3524 * gdb.ada/mi_dyn_arr.exp
3525 * gdb.ada/mi_ex_cond.exp
3526 * gdb.ada/mi_exc_info.exp
3527 * gdb.ada/mi_interface.exp
3528 * gdb.ada/mi_task_arg.exp
3529 * gdb.ada/mi_task_info.exp
3530 * gdb.ada/mi_var_array.exp
3531 * gdb.arch/alpha-step.exp
3532 * gdb.arch/amd64-disp-step.exp
3533 * gdb.arch/arm-disp-step.exp
3534 * gdb.arch/disp-step-insn-reloc.exp
3535 * gdb.arch/e500-prologue.exp
3536 * gdb.arch/ftrace-insn-reloc.exp
3537 * gdb.arch/gdb1558.exp
3538 * gdb.arch/i386-bp_permanent.exp
3539 * gdb.arch/i386-disp-step.exp
3540 * gdb.arch/i386-float.exp
3541 * gdb.arch/i386-gnu-cfi.exp
3542 * gdb.arch/ia64-breakpoint-shadow.exp
3543 * gdb.arch/mips16-thunks.exp
3544 * gdb.arch/pa-nullify.exp
3545 * gdb.arch/powerpc-aix-prologue.exp
3546 * gdb.arch/powerpc-power.exp
3547 * gdb.arch/ppc-dfp.exp
3548 * gdb.arch/s390-tdbregs.exp
3549 * gdb.arch/spu-info.exp
3550 * gdb.arch/spu-ls.exp
3551 * gdb.arch/thumb-bx-pc.exp
3552 * gdb.base/advance.exp
3553 * gdb.base/annota-input-while-running.exp
3554 * gdb.base/arrayidx.exp
3555 * gdb.base/asmlabel.exp
3556 * gdb.base/async.exp
3557 * gdb.base/attach-wait-input.exp
3558 * gdb.base/auto-connect-native-target.exp
3559 * gdb.base/batch-preserve-term-settings.exp
3560 * gdb.base/bfp-test.exp
3561 * gdb.base/bigcore.exp
3562 * gdb.base/bp-permanent.exp
3563 * gdb.base/break-always.exp
3564 * gdb.base/break-fun-addr.exp
3565 * gdb.base/break-idempotent.exp
3566 * gdb.base/break-main-file-remove-fail.exp
3567 * gdb.base/break-probes.exp
3568 * gdb.base/break-unload-file.exp
3569 * gdb.base/break.exp
3570 * gdb.base/call-ar-st.exp
3571 * gdb.base/call-rt-st.exp
3572 * gdb.base/call-sc.exp
3573 * gdb.base/call-signal-resume.exp
3574 * gdb.base/call-strs.exp
3575 * gdb.base/callexit.exp
3576 * gdb.base/callfuncs.exp
3577 * gdb.base/catch-gdb-caused-signals.exp
3578 * gdb.base/catch-signal-siginfo-cond.exp
3579 * gdb.base/catch-syscall.exp
3580 * gdb.base/compare-sections.exp
3581 * gdb.base/cond-eval-mode.exp
3582 * gdb.base/condbreak-call-false.exp
3583 * gdb.base/consecutive-step-over.exp
3584 * gdb.base/cursal.exp
3585 * gdb.base/disabled-location.exp
3586 * gdb.base/disasm-end-cu.exp
3587 * gdb.base/display.exp
3588 * gdb.base/double-prompt-target-event-error.exp
3589 * gdb.base/dprintf-bp-same-addr.exp
3590 * gdb.base/dprintf-detach.exp
3591 * gdb.base/dprintf-next.exp
3592 * gdb.base/dprintf-non-stop.exp
3593 * gdb.base/dprintf-pending.exp
3594 * gdb.base/dso2dso.exp
3595 * gdb.base/ending-run.exp
3596 * gdb.base/enum_cond.exp
3597 * gdb.base/examine-backward.exp
3598 * gdb.base/exe-lock.exp
3599 * gdb.base/exec-invalid-sysroot.exp
3600 * gdb.base/execl-update-breakpoints.exp
3601 * gdb.base/execution-termios.exp
3602 * gdb.base/fileio.exp
3603 * gdb.base/fixsection.exp
3604 * gdb.base/foll-exec-mode.exp
3605 * gdb.base/foll-exec.exp
3606 * gdb.base/fork-running-state.exp
3607 * gdb.base/frame-args.exp
3608 * gdb.base/fullpath-expand.exp
3609 * gdb.base/func-ptr.exp
3610 * gdb.base/gcore-relro-pie.exp
3611 * gdb.base/gdb1090.exp
3612 * gdb.base/gdb1555.exp
3613 * gdb.base/global-var-nested-by-dso.exp
3614 * gdb.base/gnu-ifunc.exp
3615 * gdb.base/hbreak-in-shr-unsupported.exp
3616 * gdb.base/hbreak-unmapped.exp
3617 * gdb.base/hook-stop.exp
3618 * gdb.base/infcall-input.exp
3619 * gdb.base/info-fun.exp
3620 * gdb.base/info-shared.exp
3621 * gdb.base/interrupt-noterm.exp
3622 * gdb.base/jit-so.exp
3623 * gdb.base/jit.exp
3624 * gdb.base/line-symtabs.exp
3625 * gdb.base/list.exp
3626 * gdb.base/longjmp.exp
3627 * gdb.base/macscp.exp
3628 * gdb.base/max-value-size.exp
3629 * gdb.base/nodebug.exp
3630 * gdb.base/nofield.exp
3631 * gdb.base/overlays.exp
3632 * gdb.base/paginate-after-ctrl-c-running.exp
3633 * gdb.base/paginate-bg-execution.exp
3634 * gdb.base/paginate-inferior-exit.exp
3635 * gdb.base/pending.exp
3636 * gdb.base/pr11022.exp
3637 * gdb.base/printcmds.exp
3638 * gdb.base/ptr-typedef.exp
3639 * gdb.base/ptype.exp
3640 * gdb.base/randomize.exp
3641 * gdb.base/range-stepping.exp
3642 * gdb.base/realname-expand.exp
3643 * gdb.base/relativedebug.exp
3644 * gdb.base/remote.exp
3645 * gdb.base/savedregs.exp
3646 * gdb.base/sepdebug.exp
3647 * gdb.base/set-noassign.exp
3648 * gdb.base/shlib-call.exp
3649 * gdb.base/shreloc.exp
3650 * gdb.base/sigaltstack.exp
3651 * gdb.base/sigbpt.exp
3652 * gdb.base/siginfo-addr.exp
3653 * gdb.base/siginfo-obj.exp
3654 * gdb.base/siginfo-thread.exp
3655 * gdb.base/signest.exp
3656 * gdb.base/signull.exp
3657 * gdb.base/sigrepeat.exp
3658 * gdb.base/skip.exp
3659 * gdb.base/so-impl-ld.exp
3660 * gdb.base/solib-corrupted.exp
3661 * gdb.base/solib-disc.exp
3662 * gdb.base/solib-display.exp
3663 * gdb.base/solib-overlap.exp
3664 * gdb.base/solib-search.exp
3665 * gdb.base/solib-symbol.exp
3666 * gdb.base/source-execution.exp
3667 * gdb.base/sss-bp-on-user-bp-2.exp
3668 * gdb.base/sss-bp-on-user-bp.exp
3669 * gdb.base/stack-checking.exp
3670 * gdb.base/stale-infcall.exp
3671 * gdb.base/step-break.exp
3672 * gdb.base/step-line.exp
3673 * gdb.base/step-over-exit.exp
3674 * gdb.base/step-test.exp
3675 * gdb.base/structs.exp
3676 * gdb.base/sym-file.exp
3677 * gdb.base/symtab-search-order.exp
3678 * gdb.base/term.exp
3679 * gdb.base/type-opaque.exp
3680 * gdb.base/unload.exp
3681 * gdb.base/until-nodebug.exp
3682 * gdb.base/until.exp
3683 * gdb.base/unwindonsignal.exp
3684 * gdb.base/watch-cond.exp
3685 * gdb.base/watch-non-mem.exp
3686 * gdb.base/watch_thread_num.exp
3687 * gdb.base/watchpoint-reuse-slot.exp
3688 * gdb.base/watchpoint-solib.exp
3689 * gdb.base/watchpoint.exp
3690 * gdb.btrace/dlopen.exp
3691 * gdb.cell/arch.exp
3692 * gdb.cell/break.exp
3693 * gdb.cell/bt.exp
3694 * gdb.cell/core.exp
3695 * gdb.cell/data.exp
3696 * gdb.cell/dwarfaddr.exp
3697 * gdb.cell/ea-cache.exp
3698 * gdb.cell/ea-standalone.exp
3699 * gdb.cell/ea-test.exp
3700 * gdb.cell/f-regs.exp
3701 * gdb.cell/fork.exp
3702 * gdb.cell/gcore.exp
3703 * gdb.cell/mem-access.exp
3704 * gdb.cell/ptype.exp
3705 * gdb.cell/registers.exp
3706 * gdb.cell/sizeof.exp
3707 * gdb.cell/solib-symbol.exp
3708 * gdb.cell/solib.exp
3709 * gdb.compile/compile-tls.exp
3710 * gdb.cp/exception.exp
3711 * gdb.cp/gdb2495.exp
3712 * gdb.cp/local.exp
3713 * gdb.cp/mb-inline.exp
3714 * gdb.cp/mb-templates.exp
3715 * gdb.cp/pr10687.exp
3716 * gdb.cp/pr9167.exp
3717 * gdb.cp/scope-err.exp
3718 * gdb.cp/templates.exp
3719 * gdb.cp/virtfunc.exp
3720 * gdb.dwarf2/dw2-dir-file-name.exp
3721 * gdb.dwarf2/dw2-single-line-discriminators.exp
3722 * gdb.fortran/complex.exp
3723 * gdb.fortran/library-module.exp
3724 * gdb.guile/guile.exp
3725 * gdb.guile/scm-cmd.exp
3726 * gdb.guile/scm-frame-inline.exp
3727 * gdb.guile/scm-objfile.exp
3728 * gdb.guile/scm-pretty-print.exp
3729 * gdb.guile/scm-symbol.exp
3730 * gdb.guile/scm-type.exp
3731 * gdb.guile/scm-value.exp
3732 * gdb.linespec/keywords.exp
3733 * gdb.linespec/ls-errs.exp
3734 * gdb.linespec/macro-relative.exp
3735 * gdb.linespec/thread.exp
3736 * gdb.mi/mi-breakpoint-changed.exp
3737 * gdb.mi/mi-dprintf-pending.exp
3738 * gdb.mi/mi-fullname-deleted.exp
3739 * gdb.mi/mi-logging.exp
3740 * gdb.mi/mi-pending.exp
3741 * gdb.mi/mi-solib.exp
3742 * gdb.mi/new-ui-mi-sync.exp
3743 * gdb.mi/user-selected-context-sync.exp
3744 * gdb.multi/dummy-frame-restore.exp
3745 * gdb.multi/multi-arch-exec.exp
3746 * gdb.multi/remove-inferiors.exp
3747 * gdb.multi/watchpoint-multi-exit.exp
3748 * gdb.opt/solib-intra-step.exp
3749 * gdb.perf/backtrace.exp
3750 * gdb.perf/single-step.exp
3751 * gdb.perf/skip-command.exp
3752 * gdb.perf/skip-prologue.exp
3753 * gdb.perf/solib.exp
3754 * gdb.python/lib-types.exp
3755 * gdb.python/py-as-string.exp
3756 * gdb.python/py-bad-printers.exp
3757 * gdb.python/py-block.exp
3758 * gdb.python/py-breakpoint.exp
3759 * gdb.python/py-cmd.exp
3760 * gdb.python/py-events.exp
3761 * gdb.python/py-evthreads.exp
3762 * gdb.python/py-finish-breakpoint.exp
3763 * gdb.python/py-finish-breakpoint2.exp
3764 * gdb.python/py-frame-inline.exp
3765 * gdb.python/py-frame.exp
3766 * gdb.python/py-inferior.exp
3767 * gdb.python/py-infthread.exp
3768 * gdb.python/py-mi.exp
3769 * gdb.python/py-objfile.exp
3770 * gdb.python/py-pp-maint.exp
3771 * gdb.python/py-pp-registration.exp
3772 * gdb.python/py-prettyprint.exp
3773 * gdb.python/py-recurse-unwind.exp
3774 * gdb.python/py-shared.exp
3775 * gdb.python/py-symbol.exp
3776 * gdb.python/py-symtab.exp
3777 * gdb.python/py-template.exp
3778 * gdb.python/py-type.exp
3779 * gdb.python/py-unwind-maint.exp
3780 * gdb.python/py-unwind.exp
3781 * gdb.python/py-value.exp
3782 * gdb.python/python.exp
3783 * gdb.reverse/finish-reverse-bkpt.exp
3784 * gdb.reverse/insn-reverse.exp
3785 * gdb.reverse/next-reverse-bkpt-over-sr.exp
3786 * gdb.reverse/solib-precsave.exp
3787 * gdb.reverse/solib-reverse.exp
3788 * gdb.stabs/gdb11479.exp
3789 * gdb.stabs/weird.exp
3790 * gdb.threads/fork-child-threads.exp
3791 * gdb.threads/fork-plus-threads.exp
3792 * gdb.threads/fork-thread-pending.exp
3793 * gdb.threads/forking-threads-plus-breakpoint.exp
3794 * gdb.threads/hand-call-in-threads.exp
3795 * gdb.threads/interrupted-hand-call.exp
3796 * gdb.threads/linux-dp.exp
3797 * gdb.threads/local-watch-wrong-thread.exp
3798 * gdb.threads/next-while-other-thread-longjmps.exp
3799 * gdb.threads/non-ldr-exit.exp
3800 * gdb.threads/pending-step.exp
3801 * gdb.threads/print-threads.exp
3802 * gdb.threads/process-dies-while-detaching.exp
3803 * gdb.threads/process-dies-while-handling-bp.exp
3804 * gdb.threads/pthreads.exp
3805 * gdb.threads/queue-signal.exp
3806 * gdb.threads/reconnect-signal.exp
3807 * gdb.threads/signal-command-handle-nopass.exp
3808 * gdb.threads/signal-command-multiple-signals-pending.exp
3809 * gdb.threads/signal-delivered-right-thread.exp
3810 * gdb.threads/signal-sigtrap.exp
3811 * gdb.threads/sigthread.exp
3812 * gdb.threads/staticthreads.exp
3813 * gdb.threads/stepi-random-signal.exp
3814 * gdb.threads/thread-unwindonsignal.exp
3815 * gdb.threads/thread_check.exp
3816 * gdb.threads/thread_events.exp
3817 * gdb.threads/tid-reuse.exp
3818 * gdb.threads/tls-nodebug.exp
3819 * gdb.threads/tls-shared.exp
3820 * gdb.threads/tls-so_extern.exp
3821 * gdb.threads/tls.exp
3822 * gdb.threads/wp-replication.exp
3823 * gdb.trace/actions-changed.exp
3824 * gdb.trace/actions.exp
3825 * gdb.trace/backtrace.exp
3826 * gdb.trace/change-loc.exp
3827 * gdb.trace/collection.exp
3828 * gdb.trace/deltrace.exp
3829 * gdb.trace/disconnected-tracing.exp
3830 * gdb.trace/entry-values.exp
3831 * gdb.trace/ftrace-lock.exp
3832 * gdb.trace/ftrace.exp
3833 * gdb.trace/infotrace.exp
3834 * gdb.trace/mi-trace-frame-collected.exp
3835 * gdb.trace/mi-trace-unavailable.exp
3836 * gdb.trace/mi-traceframe-changed.exp
3837 * gdb.trace/mi-tracepoint-changed.exp
3838 * gdb.trace/mi-tsv-changed.exp
3839 * gdb.trace/no-attach-trace.exp
3840 * gdb.trace/packetlen.exp
3841 * gdb.trace/passc-dyn.exp
3842 * gdb.trace/passcount.exp
3843 * gdb.trace/pending.exp
3844 * gdb.trace/pr16508.exp
3845 * gdb.trace/qtro.exp
3846 * gdb.trace/range-stepping.exp
3847 * gdb.trace/read-memory.exp
3848 * gdb.trace/report.exp
3849 * gdb.trace/save-trace.exp
3850 * gdb.trace/signal.exp
3851 * gdb.trace/stap-trace.exp
3852 * gdb.trace/status-stop.exp
3853 * gdb.trace/strace.exp
3854 * gdb.trace/tfile.exp
3855 * gdb.trace/tfind.exp
3856 * gdb.trace/trace-break.exp
3857 * gdb.trace/trace-condition.exp
3858 * gdb.trace/trace-enable-disable.exp
3859 * gdb.trace/trace-mt.exp
3860 * gdb.trace/tracecmd.exp
3861 * gdb.trace/tracefile-pseudo-reg.exp
3862 * gdb.trace/tspeed.exp
3863 * gdb.trace/tstatus.exp
3864 * gdb.trace/tsv.exp
3865 * gdb.trace/unavailable.exp
3866 * gdb.trace/while-dyn.exp
3867 * gdb.trace/while-stepping.exp
3868 * lib/gdb-guile.exp
3869 * lib/gdb.exp
3870 * lib/mi-support.exp
3871 * lib/pascal.exp
3872 * lib/perftest.exp
3873 * lib/prelink-support.exp
3874 * lib/selftest-support.exp
3875
ad02e4fe
SM
38762016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
3877
3878 * Makefile.in: Include disable-implicit-rules.mk.
3879
22347e55
AA
38802016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3881
3882 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
3883 non-byte-aligned bit fields.
3884
da5b30da
AA
38852016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3886
3887 PR gdb/12616
3888 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
3889 respects the DW_AT_data_bit_offset attribute.
3890
b593ecca
SM
38912016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
3892
3893 * gdb.base/default.exp: Fix output of "set language".
3894
3b165252
SM
38952016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
3896
3897 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
3898 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
3899 make.
3900 * configure.ac: Remove checks for the make program.
3901 * configure: Re-generate.
3902
1a2f3d7f
KB
39032016-11-16 Kevin Buettner <kevinb@redhat.com>
3904
3905 * gdb.python/py-recurse-unwind.c (main): Add loop.
3906 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
3907 to read_register() and gdb.parse_and_eval(). Make each code
3908 call a separate case that can be individually tested.
3909 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
3910 proc. Call cont_and_backtrace for each of the code paths that
3911 we want to test in the unwinder.
3912
b7f38fda
AA
39132016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
3914
3915 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
3916 the definition of struct S.
3917
1f8db343
CM
39182016-11-11 Catherine Moore <clm@codesourcery.com>
3919
3920 * gdb.base/dump.exp: Identify verilog format dump tests as such.
3921
fad0c9fb
PA
39222016-11-09 Pedro Alves <palves@redhat.com>
3923
3924 * gdb.base/commands.exp (runto_or_return): New procedure.
3925 (gdbvar_simple_if_test, gdbvar_simple_while_test)
3926 (gdbvar_complex_if_while_test, progvar_simple_if_test)
3927 (progvar_simple_while_test, progvar_complex_if_while_test)
3928 (if_while_breakpoint_command_test)
3929 (infrun_breakpoint_command_test, breakpoint_command_test)
3930 (user_defined_command_test, watchpoint_command_test)
3931 (test_command_prompt_position, redefine_hook_test)
3932 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
3933 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
3934 multi_line_input and multi_line. Remove gdb_expect and
3935 gdb_stop_suppressing_tests uses.
3936 * lib/gdb.exp (valnum_re): New global.
3937 (multi_line_input): New procedure.
3938
8354c62c
SM
39392016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
3940
3941 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
3942 Remove.
3943 (test_setup): Define with proc_with_prefix.
3944 (test_cli_inferior): Likewise.
3945 (test_cli_thread): Likewise.
3946 (test_cli_frame): Likewise.
3947 (test_cli_select_frame): Likewise.
3948 (test_cli_up_down): Likewise.
3949 (test_mi_thread_select): Likewise.
3950 (test_mi_stack_select_frame): Likewise.
3951 (test_cli_in_mi_inferior): Likewise.
3952 (test_cli_in_mi_thread): Likewise.
3953 (test_cli_in_mi_frame): Likewise.
3954 (top level): Do not use with_test_prefix_procname.
3955
64f367a2
PA
39562016-11-09 Pedro Alves <palves@redhat.com>
3957
3958 * gdb.base/commands.exp (gdbvar_simple_if_test)
3959 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
3960 (progvar_simple_if_test, progvar_simple_while_test)
3961 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
3962 (infrun_breakpoint_command_test, breakpoint_command_test)
3963 (user_defined_command_test, watchpoint_command_test)
3964 (test_command_prompt_position, deprecated_command_test)
3965 (bp_deleted_in_command, temporary_breakpoint_commands)
3966 (stray_arg0_test, source_file_with_indented_comment)
3967 (recursive_source_test, if_commands_test)
3968 (error_clears_commands_left, redefine_hook_test)
3969 (redefine_backtrace_test): Use proc_with_prefix.
3970 * lib/gdb.exp (proc_with_prefix): New proc.
3971
0bb65f1e
AA
39722016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
3973
3974 * gdb.base/tui-layout.c: New file.
3975 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
3976 disassembly window contains very long lines.
3977
7353f247
TT
39782016-11-08 Tom Tromey <tom@tromey.com>
3979
3980 * gdb.python/py-value.exp (test_value_creation): Make "long" test
3981 depend on Python 2.
3982
30a7bb83
TT
39832016-11-08 Tom Tromey <tom@tromey.com>
3984
3985 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
3986 New method.
3987
cdf5a07c
MG
39882016-10-29 Manish Goregaokar <manish@mozilla.com>
3989
2806dc7e 3990 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 3991
51a789c3
MG
39922016-10-27 Manish Goregaokar <manish@mozilla.com>
3993
2806dc7e
PA
3994 * gdb.rust/simple.rs: Add test for univariant enums without
3995 discriminants and for encoded struct-like enums.
51a789c3 3996
f610ab6d
PA
39972016-10-28 Pedro Alves <palves@redhat.com>
3998
3999 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
4000 gdb_test_multiple, tighten regexps and match symtabs and line
4001 tables incrementally.
4002
b129b0ca
LM
40032016-10-28 Luis Machado <lgustavo@codesourcery.com>
4004
4005 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
4006 general.
4007
ecf45d2c
SL
40082016-10-25 Luis Machado <lgustavo@codesourcery.com>
4009
4010 * gdb.base/exec-invalid-sysroot.exp: New file.
4011
b8d38ee4
JK
40122016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4013
4014 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
4015
f90fd8c2
JK
40162016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4017
4018 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
4019
2d2476aa
MR
40202016-10-19 Maciej W. Rozycki <macro@imgtec.com>
4021
2806dc7e
PA
4022 * gdb.base/killed-outside.exp: Remove $options from a call to
4023 `prepare_for_testing'.
2d2476aa 4024
e42b25a0
SM
40252016-10-17 Simon Marchi <simon.marchi@ericsson.com>
4026
4027 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
4028 Change test message.
4029
3ccdb432
SM
40302016-10-17 Simon Marchi <simon.marchi@ericsson.com>
4031
4032 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
4033 Update comment.
4034
5bad3170
SM
40352016-10-17 Simon Marchi <simon.marchi@ericsson.com>
4036
4037 * gdb.trace/mi-trace-save.exp: New file.
4038
5ad9dba7
YQ
40392016-10-13 Yao Qi <yao.qi@linaro.org>
4040
4041 * gdb.base/code_elim.exp (get_var_address): Remove.
4042 * gdb.base/relocate.exp: Likewise.
4043 * gdb.base/shreloc.exp: Likewise.
4044 * lib/gdb.exp (get_var_address): New.
4045
62df7e21
YQ
40462016-10-13 Yao Qi <yao.qi@linaro.org>
4047
4048 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
4049 floating point tests if $skip_float_test is false.
4050
4dac951e
LM
40512016-10-12 Luis Machado <lgustavo@codesourcery.com>
4052
4053 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
4054 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
4055 argc values.
4056 Add 1 to argc so we guarantee distinct initial/modified argc values.
4057
8f1a8fc4
JK
40582016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4059
4060 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
4061
16c85b5d
JK
40622016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4063
4064 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
4065 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
4066 * gdb.arch/vsx-regs.exp: Likewise.
4067
1d0e042a
YQ
40682016-10-07 Yao Qi <yao.qi@linaro.org>
4069
4070 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
4071
68dadef5
MM
40722016-10-07 Markus Metzger <markus.t.metzger@intel.com>
4073
4074 * gdb.python/python.exp: Test decode_line("*0").
4075
33fa2c6e
DE
40762016-10-06 Doug Evans <dje@google.com>
4077
4078 * gdb.python/py-value.exp (test_value_creation): Add test for large
4079 unsigned 64-bit value.
4080
9c37b5ae
TT
40812016-10-06 Tom Tromey <tom@tromey.com>
4082
4083 * gdb.compile/compile.exp: Change java tests to rust.
4084 * gdb.base/setshow.exp: Change java tests to rust.
4085 * gdb.base/default.exp: Remove java from language list.
4086 * README (Examples): Update language example.
4087 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
4088 test.
4089 * lib/gdb.exp (skip_java_tests): Remove.
4090 * lib/java.exp: Remove.
4091 * gdb.java: Remove.
4092
78b86327
MR
40932016-10-06 Maciej W. Rozycki <macro@imgtec.com>
4094
4095 * gdb.arch/mips-fcr.exp: New test.
4096 * gdb.arch/mips-fcr.c: Source for the new test.
4097
7470adbb
MR
40982016-10-06 Maciej W. Rozycki <macro@imgtec.com>
4099
4100 * gdb.base/solib-disc.exp: Use `standard_output_file'
4101 throughout.
4102
4a556533
PA
41032016-10-06 Pedro Alves <palves@redhat.com>
4104
4105 * gdb.base/jit-simple-dl.c: New file.
4106 * gdb.base/jit-simple-jit.c: New file, factored out from ...
4107 * gdb.base/jit-simple.c: ... this.
4108 * gdb.base/jit-simple.exp (jit_run): Delete.
4109 (build_jit): New proc.
4110 (jit_test_reread): Recompile either the main program or the shared
4111 library, depending on what is being tested. Skip changing address
4112 if caller wants to. Compare before/after addresses. If testing
4113 standalone, explicitly load the binary. Test "maint info
4114 breakpoints".
4115 (top level): Add "standalone vs shared lib" and "change address"
4116 vs "same address" axes.
4117
5a122fbc
PA
41182016-10-06 Pedro Alves <palves@redhat.com>
4119
4120 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
4121 call.
4122 (jit_run): Delete.
4123 (jit_test_reread): Use with_test_prefix. Reload the main binary
4124 explicitly. Compare the before/after addresses of the JIT
4125 descriptor.
4126
ee8da4b8
DE
41272016-08-15 Doug Evans <dje@google.com>
4128
4129 * gdb.xml/extra-regs.xml: Update, end field now required, default type
4130 for single bitfields is bool.
4131 * gdb.xml/tdesc-regs.exp: Ditto.
4132
f389f6fe
JK
41332016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4134
4135 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
4136
fdebf1a4
YQ
41372016-10-05 Yao Qi <yao.qi@linaro.org>
4138
4139 * lib/gdb.exp (support_complex_tests): Return zero if
4140 gdb_skip_float_test return true.
4141
9c36d954 41422016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 4143 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
4144
4145 PR gdb/20487
4146 * gdb.mi/user-selected-context-sync.exp: New file.
4147 * gdb.mi/user-selected-context-sync.c: New file.
4148
4034d0ff 41492016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 4150 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
4151
4152 PR gdb/20487
4153 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
4154 =thread-select-event check.
4155
a4297203
PB
41562016-09-29 Peter Bergner <bergner@vnet.ibm.com>
4157
4158 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
4159 the compulsory L operand changes.
4160 * gdb.arch/powerpc-power.s: Likewise.
4161
bb805577
JK
41622016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4163
4164 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
4165 * gdb.base/jit-attach-pie.c: New file.
4166 * gdb.base/jit-attach-pie.exp: New file.
4167
6d61dee5
PA
41682016-09-28 Pedro Alves <palves@redhat.com>
4169
4170 * gdb.base/infcall-input.c: New file.
4171 * gdb.base/infcall-input.exp: New file.
4172
f73842fc
YQ
41732016-09-22 Yao Qi <yao.qi@linaro.org>
4174
4175 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
4176 (gdb_exit): Rename it to ...
4177 (gdbserver_gdb_exit): ... Close GDBserver.
4178 (gdb_exit): New proc, call gdbserver_gdb_exit.
4179 (mi_gdb_exit): Likewise.
4180
90681dab
YQ
41812016-09-22 Yao Qi <yao.qi@linaro.org>
4182
4183 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
4184 path.
4185 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
4186 Remove duplication.
4187
9c211fd8
YQ
41882016-09-22 Yao Qi <yao.qi@linaro.org>
4189
4190 * lib/gdbserver-support.exp: Check the existence of
4191 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
4192
ad0a504f
AK
41932016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
4194
4195 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
4196
36cf1806
TT
41972016-09-21 Tom Tromey <tom@tromey.com>
4198
4199 PR gdb/20604:
4200 * gdb.base/quit.exp: New file.
4201
74172ecf
SM
42022016-09-21 Simon Marchi <simon.marchi@ericsson.com>
4203
4204 * .gitignore: New file.
4205
3d0ec882
MR
42062016-09-21 Maciej W. Rozycki <macro@imgtec.com>
4207
4208 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
4209 throughout.
4210
8193adea
AA
42112016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4212
4213 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
4214
d41a5c09
JK
42152016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4216
4217 * gdb.cp/casts.cc (decltype): Move it ...
4218 (main): ... with its call to ...
4219 * gdb.cp/casts03.cc: ... a new file.
4220 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
4221
d2dfe700
JK
42222016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4223
4224 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
4225
e2a92b16
PB
42262016-09-15 Peter Bergner <bergner@vnet.ibm.com>
4227
4228 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
4229 and sync up the test with tests in gas/testsuite/gas/ppc.
4230 * gdb.arch/powerpc-power.exp: Likewise.
4231
49b4de64
JK
42322016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4233
4234 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
4235
2c29df25
SDJ
42362016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
4237 Jan Kratochvil <jan.kratochvil@redhat.com>
4238
4239 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
4240 make m1's definition to be different from m2's. Use 'dummy' as an
4241 argument for probe 'two'.
4242
cc3c2846
JB
42432016-09-10 Jon Beniston <jon@beniston.com>
4244
4245 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
4246 for sim target.
4247
e1b2624a
AA
42482016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
4249
4250 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
4251 variable declaration.
4252 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
4253 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
4254 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
4255 received HWCAP as its argument.
4256
4295e285
PA
42572016-09-06 Pedro Alves <palves@redhat.com>
4258
4259 * gdb.base/new-ui-pending-input.c: New file.
4260 * gdb.base/new-ui-pending-input.exp: New file.
4261 * gdb.exp (clear_gdb_spawn_id): New procedure.
4262 (with_spawn_id): Check whether gdb_spawn_id exists before
4263 referencing it. If gdb_spawn_id didn't exist on entry, clear it
4264 on exit.
4265
00d5215e
UW
42662016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
4267
4268 * gdb.base/float128.c: New file.
4269 * gdb.base/float128.exp: Likewise.
4270 * gdb.base/floatn.c: Likewise.
4271 * gdb.base/floatn.exp: Likewise.
4272
a9ff5f12
UW
42732016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
4274
4275 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
4276
f245535c
PA
42772016-09-05 Pedro Alves <palves@redhat.com>
4278
4279 PR backtrace/19927
4280 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
4281 unwinders are immediately called as side effect of "source" or
4282 "disable unwinder" commands.
4283 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
4284
ae9cf263
YQ
42852016-09-02 Yao Qi <yao.qi@linaro.org>
4286
4287 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
4288 is true and $type is "float" or "double".
4289
27aba047
YQ
42902016-09-02 Yao Qi <yao.qi@linaro.org>
4291
4292 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
4293 true.
4294 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
4295 * gdb.base/call-rt-st.exp: Likewise.
4296 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
4297 return value instead of gdb,skip_float_test.
4298 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
4299 (do_function_calls): Use its return value instead of
4300 gdb,skip_float_test.
4301 * gdb.base/finish.exp: Likewise.
4302 * gdb.base/funcargs.exp: Likewise.
4303 * gdb.base/return.exp: Likewise.
4304 * gdb.base/return2.exp: Likewise.
4305 * gdb.base/varargs.exp: Likewise.
4306 * lib/gdb.exp (gdb_skip_float_test): Change it to
4307 gdb_caching_proc. Detect the broken ptrace on arm-linux.
4308
5af962df
AA
43092016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
4310
4311 * gdb.multi/tids.exp: Test "thread apply all".
4312
7fac6910
JK
43132016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4314
4315 * gdb.base/default.exp (tty): Remove.
4316
bb1fe4ac
KB
43172016-08-24 Kevin Buettner <kevinb@redhat.com>
4318
2806dc7e
PA
4319 * gdb.python/py-recurse-unwind.c: New file.
4320 * gdb.python/py-recurse-unwind.py: New file.
4321 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 4322
0a1ddfa6
SM
43232016-08-24 Simon Marchi <simon.marchi@ericsson.com>
4324
4325 * gdb.base/set-inferior-tty.exp: New file.
4326 * gdb.base/set-inferior-tty.c: New file.
4327
d9de1fe3
PA
43282016-08-23 Pedro Alves <palves@redhat.com>
4329
4330 PR gdb/20494
4331 * gdb.base/new-ui-echo.c: New file.
4332 * gdb.base/new-ui-echo.exp: New file.
4333
e9d9abd7
YQ
43342016-08-23 Yao Qi <yao.qi@linaro.org>
4335
4336 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
4337 gdbserver_spawn.
4338 * gdb.server/connect-without-multi-process.exp (do_test):
4339 Likewise.
4340
3589529e
YQ
43412016-08-23 Yao Qi <yao.qi@linaro.org>
4342
4343 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
4344 standalone_txt. Delete gdb_txt and standalone_txt on host
4345 and target. Spawn the binary on target. Copy files from
4346 target to host.
4347
6bb90213
PA
43482016-08-22 Pedro Alves <palves@redhat.com>
4349
4350 PR gdb/20505
4351 * gdb.base/vdso-warning.exp: Test core dumps too. Use
4352 with_test_prefix. Factor out bits to ...
4353 (test_no_vdso): ... this new procedure.
4354
20c2c024
CL
43552016-08-19 Carl Love <cel@us.ibm.com>
4356
4357 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
4358 maintaining separate logic for constructing the output path.
4359 * gdb.arch/powerpc-d128-regs.exp: Likewise.
4360 * gdb.arch/ppc-dfp.exp: Likewise.
4361 * gdb.arch/ppc-fp.exp: Likewise.
4362 * gdb.arch/vsx-regs.exp: Likewise.
4363 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
4364 binprefix for generating the additional binary files.
4365
0646e07d
PA
43662016-08-19 Pedro Alves <palves@redhat.com>
4367
4368 * gdb.trace/mi-trace-frame-collected.exp
4369 (test_trace_frame_collected): On x32, expect two registers.
4370
46da9242
CL
43712016-08-18 Carl Love <cel@us.ibm.com>
4372
4373 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
4374 and sync up the test with tests in gas/testsuite/gas/ppc.
4375 * gdb.arch/powerpc-power.exp: Likewise.
4376
eb2332d7
SM
43772016-08-17 Simon Marchi <simon.marchi@ericsson.com>
4378
4379 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
4380 expected error message.
4381
63c61e04
SM
43822016-08-17 Simon Marchi <simon.marchi@ericsson.com>
4383
4384 * gdb.multi/remove-inferiors.exp: New file.
4385 * gdb.multi/remove-inferiors.c: New file.
4386
7b17065f
YQ
43872016-08-12 Yao Qi <yao.qi@linaro.org>
4388
4389 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
4390 argument list.
4391
01d3dedf
PA
43922016-08-10 Pedro Alves <palves@redhat.com>
4393
4394 PR gdb/19187
4395 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
4396 setup_kfails.
4397
3eb7562a
PA
43982016-08-09 Pedro Alves <palves@redhat.com>
4399 Simon Marchi <simon.marchi@ericsson.com>
4400
4401 PR gdb/20418
4402 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
4403 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
4404
80614914
PA
44052016-08-09 Pedro Alves <palves@redhat.com>
4406
4407 PR mi/20431
4408 * gdb.mi/mi-cmd-error.exp: New file.
4409
f348d89a
PA
44102016-08-09 Pedro Alves <palves@redhat.com>
4411
4412 PR gdb/18653
4413 * gdb.base/signals-state-child.c: New file.
4414 * gdb.base/signals-state-child.exp: New file.
4415 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
4416
e5ca03b4
PA
44172016-08-09 Pedro Alves <palves@redhat.com>
4418
4419 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
4420
282a0691
TT
44212016-08-03 Tom Tromey <tom@tromey.com>
4422
4423 PR python/18565:
4424 * gdb.python/py-frame-inline.exp: Add Frame.function test.
4425
41bfcd63
YQ
44262016-08-01 Yao Qi <yao.qi@linaro.org>
4427
4428 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
4429 variable mode to "multi-process" if $multi_process is 1, otherwise
4430 set it to "single-process".
4431
e3465b24
YQ
44322016-08-01 Yao Qi <yao.qi@linaro.org>
4433
4434 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
4435 * gdb.cp/cpexprs.exp: Likewise.
4436 * gdb.cp/m-static.exp: Likewise.
4437
0b31a4bc
TT
44382016-07-26 Tom Tromey <tom@tromey.com>
4439
4440 PR python/20190:
4441 * gdb.threads/tls.exp (check_thread_local): Add python symbol
4442 test.
4443
e0461dbb
MM
44442016-07-26 Markus Metzger <markus.t.metzger@intel.com>
4445
4446 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
4447 selecting assembly source files.
4448 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
4449 assembly source files.
4450 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
4451 assembly source files.
4452 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
4453 selecting assembly source files.
4454
8194e927
SM
44552016-07-25 Simon Marchi <simon.marchi@ericsson.com>
4456
4457 * gdb.base/new-ui.exp (do_test_invalid_args): New
4458 procedure.
4459
c0272db5
TW
44602016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
4461
4462 * gdb.btrace/reconnect.c: New file.
4463 * gdb.btrace/reconnect.exp: New file.
4464
e3487908
GKB
44652016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
4466
4467 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
4468 to test_catch_syscall_group.
4469 (test_catch_syscall_group): New.
4470
12df5c00
TT
44712016-07-21 Tom Tromey <tom@tromey.com>
4472
4473 * gdb.rust/simple.rs (main): Use empty struct expression.
4474 * gdb.rust/simple.exp: Add tests for empty struct expression.
4475
bae62ee2
YQ
44762016-07-21 Yao Qi <yao.qi@linaro.org>
4477
4478 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
4479 if gdb_skip_xml_test is true on some targets.
4480
b1b53fb3
YQ
44812016-07-21 Yao Qi <yao.qi@linaro.org>
4482
4483 * gdb.server/solib-list.exp: Unset last_loaded_file.
4484
027d97f8
JK
44852016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4486
4487 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
4488 "step into captured_main (args)".
4489
7674d381
JK
44902016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4491
4492 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
4493
72b5d099
JK
44942016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4495
4496 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
4497
1f960ced
PA
44982016-07-19 Pedro Alves <palves@redhat.com>
4499
4500 * gdb.opt/inline-break.exp: Remove optimize=-O2.
4501 * gdb.opt/inline-bt.exp: Likewise.
4502 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
4503 additional_flags=-Winline.
4504 * gdb.opt/inline-locals.exp: Likewise.
4505 * gdb.opt/inline-markers.c (ATTR): Define.
4506 (inlined_fn): Use it.
4507
f25827c1
YQ
45082016-07-19 Yao Qi <yao.qi@linaro.org>
4509
4510 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
4511 (test_with_self): Remove some code. Remove argument executable.
4512 (top-level): Use do_self_tests.
4513
37539ebe
DB
45142016-07-15 Zachary Welch <zwelch@codesourcery.com>
4515 Don Breazeal <donb@codesourcery.com>
4516
4517 * gdb.base/maint.exp: Escape paths used in regular expressions.
4518 * gdb.stabs/weird.exp: Likewise.
4519
dac790e1
TT
45202016-07-13 Tom Tromey <tom@tromey.com>
4521
4522 PR python/15620, PR python/18620:
4523 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
4524 (test_bkpt_events): New procs.
4525
93daf339
TT
45262016-07-13 Tom Tromey <tom@tromey.com>
4527
4528 PR python/17698:
4529 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
4530 test.
4531 (test_watchpoints): Likewise.
4532 (test_bkpt_pending): New proc.
4533
6571a381
TT
45342016-07-13 Tom Tromey <tom@tromey.com>
4535
4536 PR cli/18053:
4537 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
4538 completion test.
4539
e8732474
JK
45402016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4541
4542 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
4543 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
4544 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
4545 f_label.
4546 (g): Rename g_end_lbl to g_label.
4547 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
4548 low_pc and high_pc.
4549 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
4550
e0f3fd7c
TT
45512016-07-12 Tom Tromey <tom@tromey.com>
4552
4553 PR python/19293:
4554 * gdb.python/py-unwind-maint.exp: Update tests.
4555
3cfe46b6
YQ
45562016-07-12 Yao Qi <yao.qi@linaro.org>
4557
4558 * lib/selftest-support.exp (selftest_setup): Match the output
4559 when captured_main is inlined.
4560
4f19a0e6
WT
45612016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4562
4563 * gdb.fortran/derived-types.exp (result_line, result_line_2):
4564 New variables.
4565 (print this%a, print this%b, print this): New tests.
4566 * gdb.fortran/derived-types.f90 (this): New object and
4567 initialization.
4568
986cf455
SM
45692016-07-06 Simon Marchi <simon.marchi@ericsson.com>
4570
4571 * gdb.ada/arraydim.exp: Remove extra directory level in build
4572 directory.
4573
f0464b23
SM
45742016-07-06 Simon Marchi <simon.marchi@ericsson.com>
4575
4576 * lib/ada.exp: Remove extra directory level in build directory.
4577 * gdb.ada/cond_lang.exp: Likewise.
4578 * gdb.ada/exec_changed.exp: Likewise.
4579 * gdb.ada/lang_switch.exp: Likewise.
4580
42d94011
MG
45812016-07-06 Manish Goregaokar <manish@mozilla.com>
4582
2806dc7e
PA
4583 * simple.rs: Add test for raw pointer subscripting.
4584 * simple.exp: Add test expectations.
42d94011 4585
647c264c
YQ
45862016-07-05 Yao Qi <yao.qi@linaro.org>
4587
4588 * gdb.mi/mi-reverse.exp: Match =record-started output.
4589
20aa2c60
PA
45902016-07-01 Pedro Alves <palves@redhat.com>
4591
4592 * gdb.base/jit-reader.exp (info_registers_current_frame): New
4593 procedure.
4594 (jit_reader_test): Test the jit reader's unwinder.
4595 * gdb.base/jithost.c (jit_function_00_code): New global.
4596 (main): Use memcpy to fill in the mmapped code, instead of poking
4597 bytes manually here.
4598 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
4599 value.
4600 (read_debug_info): Save the function's range.
4601 (read_sp): New function.
4602 (unwind_frame): Use it. Also unwind RBP.
4603 (get_frame_id): Use read_sp.
4604 (gdb_init_reader): Use calloc instead of malloc.
4605 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
4606 parameter. Use gdb_test_multiple.
4607
ced2dffb
PA
46082016-07-01 Pedro Alves <palves@redhat.com>
4609 Antoine Tremblay <antoine.tremblay@ericsson.com>
4610
4611 * gdb.threads/process-dies-while-detaching.c: New file.
4612 * gdb.threads/process-dies-while-detaching.exp: New file.
4613
63000888
PA
46142016-07-01 Pedro Alves <palves@redhat.com>
4615
4616 * gdb.multi/watchpoint-multi-exit.c: New file.
4617 * gdb.multi/watchpoint-multi-exit.exp: New file.
4618
038d4868
PA
46192016-06-30 Pedro Alves <palves@redhat.com>
4620
4621 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
4622 unset inferior_spawn_id.
4623
994e9c83
PA
46242016-06-30 Pedro Alves <palves@redhat.com>
4625
4626 * lib/mi-support.exp (default_mi_gdb_start): Declare global
4627 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
4628
e5653468
YQ
46292016-06-29 Yao Qi <yao.qi@linaro.org>
4630
4631 * gdb.base/return.c: Add copyright header.
4632
803b47e5
TT
46332016-06-29 Tom Tromey <tom@tromey.com>
4634
4635 PR python/20129:
4636 * gdb.python/py-framefilter.exp: Add tests for setting priority
4637 and disabling of non-existent frame filter.
4638
28244707
YQ
46392016-06-29 Yao Qi <yao.qi@linaro.org>
4640
4641 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
4642 0x0f07ff.
4643
a31d2f06
YQ
46442016-06-28 Yao Qi <yao.qi@linaro.org>
4645
4646 * gdb.base/catch-syscall.exp: Remove check on isnative and target
4647 triplets. Start gdb, execute catch syscall, and continue. Check
4648 gdb's output to determine catch syscall is supported.
4649
921d8f54
MG
46502016-06-27 Manish Goregaokar <manish@mozilla.com>
4651
25d49b86
PA
4652 * gdb.rust/simple.rs: Add test for returning unit in a function.
4653 * gdb.rust/simple.exp: Add expectation for functions returning
4654 unit.
921d8f54 4655
f4952523
PMR
46562016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
4657
4658 * gdb.python/py-breakpoint-create-fail.c,
4659 gdb.python/py-breakpoint-create-fail.exp,
4660 gdb.python/py-breakpoint-create-fail.py: New testcase.
4661
fccb08f8
MG
46622016-06-25 Manish Goregaokar <manish@mozilla.com>
4663
4664 PR gdb/20239
4665 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
4666 * gdb.rust/simple.exp: Add test expectations for new NonZero
4667 tests.
fccb08f8 4668
6b850546
DT
46692016-06-24 David Taylor <dtaylor@emc.com>
4670
4671 * gdb.base/offsets.exp: New file.
4672 * gdb.base/offsets.c: New file.
4673
17621150
TT
46742016-06-23 Tom Tromey <tom@tromey.com>
4675
4676 PR gdb/16483:
4677 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
4678 before any filters are loaded.
4679
04d59df6
WT
46802016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
4681
4682 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
4683 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
4684 structs.
4685 * gdb.fortran/derived-type-function.exp: New file.
4686 * gdb.fortran/derived-type-function.f90: New file.
4687
4688
ac69f786
PA
46892016-06-21 Pedro Alves <palves@redhat.com>
4690
4691 * gdb.base/new-ui.exp: New file.
4692 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
4693 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
4694 (with_spawn_id): New procedure.
4695
49940788
PA
46962016-06-21 Pedro Alves <palves@redhat.com>
4697
4698 * gdb.mi/mi-exec-run.exp: New file.
4699
ef274d26
PA
47002016-06-21 Pedro Alves <palves@redhat.com>
4701
4702 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
4703 breakpoint command's output on the main UI.
4704 (test_break): New procedure, factored out from calls in the top
4705 level.
4706 (top level): Use foreach_with_prefix to test MI as main UI and as
4707 separate UI.
4708
468afe6c
PA
47092016-06-21 Pedro Alves <palves@redhat.com>
4710
4711 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
4712 (test_awatch_creation_and_listing)
4713 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
4714 Remove 'type' parameter.
4715 (test_watchpoint_all): New parameter mi_mode. Remove
4716 with_test_prefix.
4717 (top level): Use foreach_with_prefix, and add main/separate UI MI
4718 testing axis.
4719
51f77c37
PA
47202016-06-21 Pedro Alves <palves@redhat.com>
4721
4722 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
4723 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
4724 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
4725 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
4726 (gdb_main_spawn_id, mi_spawn_id): Declare and
4727 comment.
4728 (mi_create_inferior_pty): New procedure,
4729 factored out from default_mi_gdb_start.
4730 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
4731 procedures.
4732 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
4733 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
4734 Use mi_create_inferior_pty.
4735 (mi_gdb_start): Use eval to pass down args list.
4736
8980e177
PA
47372016-06-21 Pedro Alves <palves@redhat.com>
4738
4739 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
4740 * gdb.opt/inline-cmds.exp: Add MI tests.
4741
f38d3ad1
PA
47422016-06-21 Pedro Alves <palves@redhat.com>
4743
4744 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
4745
45db7c09
PA
47462016-06-21 Pedro Alves <palves@redhat.com>
4747
4748 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
4749 (top level): Use it instead of mi_execute_to.
4750
5a069ab3
PA
47512016-06-21 Pedro Alves <palves@redhat.com>
4752
4753 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
4754 (cont_handler_str): New.
4755 (signal_stop_handler): Set stop_handler_str instead of printing to
4756 stdout.
4757 (continue_handler): Set cont_handler_str instead of printing to
4758 stdout.
4759 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
4760 mi_send_resuming_command. Print stop_handler_str and
4761 cont_handler_str instead of expecting the python events print
4762 directly.
4763
2838cc1d
SD
47642016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
4765
4766 * gdb.base/jit-reader.exp: New file.
4767 * gdb.base/jithost.c: New file.
4768 * gdb.base/jithost.h: New file.
4769 * gdb.base/jitreader.c : New file.
4770 * gdb.base/jit-protocol.h: New file.
4771
21a77091
YQ
47722016-06-17 Yao Qi <yao.qi@linaro.org>
4773
4774 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
4775 parameters follow_fork and detach_on_fork. Set follow-fork-mode
4776 and detach-on-fork. Adjust tests.
4777 (top level): Invoke break_cond_on_syscall with combinations of
4778 syscall, follow-fork-mode and detach-on-fork.
4779
f50bf8e5
YQ
47802016-06-17 Yao Qi <yao.qi@linaro.org>
4781
4782 * gdb.base/step-over-exit.c: New.
4783 * gdb.base/step-over-exit.exp: New.
4784
a28d8e50
YTL
47852016-06-17 Yan-Ting Lin <currygt52@gmail.com>
4786
4787 * gdb.base/float.exp: Add target check for nds32*-*-*.
4788 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
4789
cad8e26d
AB
47902016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
4791
4792 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
4793 for unsupported target features.
4794 * gdb.base/call-rt-st.exp: Likewise.
4795 * gdb.base/call-sc.exp: Likewise.
4796 * gdb.base/call-signal-resume.exp: Likewise.
4797 * gdb.base/call-strs.exp: Likewise.
4798 * gdb.base/callexit.exp: Likewise.
4799 * gdb.base/callfuncs.exp: Likewise.
4800 * gdb.base/nodebug.exp: Likewise.
4801 * gdb.base/printcmds.exp: Likewise.
4802 * gdb.base/ptype.exp: Likewise.
4803 * gdb.base/structs.exp: Likewise.
4804 * gdb.base/unwindonsignal.exp: Likewise.
4805 * gdb.cp/gdb2495.exp: Likewise.
4806 * gdb.cp/templates.exp: Likewise.
4807 * gdb.cp/virtfunc.exp: Likewise.
4808 * gdb.threads/hand-call-in-threads.exp: Likewise.
4809 * gdb.threads/interrupted-hand-call.exp: Likewise.
4810 * gdb.threads/thread-unwindonsignal.exp: Likewise.
4811
347dc102
TT
48122016-06-10 Tom Tromey <tom@tromey.com>
4813
4814 PR rust/20110:
4815 * gdb.rust/expr.exp: Add test for integer constant larger than
4816 i32.
4817
5e13cf25
BH
48182016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
4819
4820 * gdb.fortran/nested-funcs.exp: New.
4821 * gdb.fortran/nested-funcs.f90: New.
4822
bb556f1f
TK
48232016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
4824
4825 * gdb.base/examine-backward.c: New file.
4826 * gdb.base/examine-backward.exp: New file.
4827
38b022b4
SM
48282016-06-06 Simon Marchi <simon.marchi@ericsson.com>
4829
4830 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
4831 matching.
4832
1b40ec05
TT
48332016-06-02 Tom Tromey <tom@tromey.com>
4834
4835 PR python/18984:
4836 * gdb.python/py-shared.exp: Add solib_name test.
4837
193bd378
SM
48382016-06-02 Simon Marchi <simon.marchi@ericsson.com>
4839
4840 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
4841
3326303b
MG
48422016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
4843
4844 PR c++/19893
4845 * gdb.dwarf2/implref.exp: Rename to...
4846 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
4847 * gdb.dwarf2/implref-array.c: New file.
4848 * gdb.dwarf2/implref-array.exp: Likewise.
4849 * gdb.dwarf2/implref-global.c: Likewise.
4850 * gdb.dwarf2/implref-global.exp: Likewise.
4851 * gdb.dwarf2/implref-struct.c: Likewise.
4852 * gdb.dwarf2/implref-struct.exp: Likewise.
4853
825c8ef2
AT
48542016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
4855
4856 * gdb.trace/trace-condition.exp: Add 64bit tests.
4857
2320162a
AT
48582016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
4859
4860 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
4861 bits types.
4862 (main): Adapt to 8 to 64 bits types.
4863 * gdb.trace/trace-condition.exp: Add new tests.
4864
a7818233
AT
48652016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
4866
4867 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
4868
0d336466
AT
48692016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
4870
4871 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
4872 Move condition tests...
4873 * gdb.trace/trace-condition.exp: Here.
4874
7faeb45a
AT
48752016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
4876
4877 * gdb.trace/trace-condition.exp: Add counter-case tests.
4878
e385593e
JK
48792016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4880
4881 PR c++/15231
4882 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
4883 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
4884
744608cc
PA
48852016-05-27 Pedro Alves <palves@redhat.com>
4886
4887 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
4888 New procedure.
4889 (top level): Call it, and bail out of DejaGnu is known to be bad.
4890
ac775bf4
AB
48912016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
4892
4893 * gdb.base/whatis.c: Extend the test case.
4894 * gdb.base/whatis.exp: Add additional tests.
4895
2bbad2ea
BH
48962016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
4897
4898* gdb.fortran/type.f90: Add pointer variable.
4899* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
4900
8b70175d
BH
49012016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
4902
4903 * gdb.fortran/vla-type.exp: Fix testcase name.
4904
86d8a848
BH
49052016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
4906
4907 * gdb.fortran/vla-type.exp: Access elements in nested structs.
4908
e188eb36
BH
49092016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
4910
4911 * gdb.fortran/type.f90: Add nested structures.
4912 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
4913 * gdb.fortran/derived-type.exp: Adapt expected output.
4914 * gdb.fortran/vla-type.exp: Adapt expected output.
4915
9b2db1fd
BH
49162016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
4917
4918 * gdb.fortran/whatis_type.exp: Adapt expected output.
4919
72b17055
BH
49202016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
4921
4922 * gdb.fortran/print_type.exp: Fix expected output.
4923 * gdb.fortran/whatis_type.exp: Fix expected output.
4924
3cd81d8d
BH
49252016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
4926
4927 * gdb.fortran/whatis_type.exp: Use multi_line.
4928
ddae9462
TT
49292016-05-24 Tom Tromey <tom@tromey.com>
4930
4931 PR python/17386:
4932 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
4933 use value as an index.
4934
1957f6b8
TT
49352016-05-23 Tom Tromey <tom@tromey.com>
4936
4937 PR python/17981:
4938 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
4939 no-breakpoint case.
4940
026a9174
PA
49412016-05-24 Pedro Alves <palves@redhat.com>
4942
4943 PR gdb/19828
4944 * gdb.threads/clone-attach-detach.c: New file.
4945 * gdb.threads/clone-attach-detach.exp: New file.
4946
e70a7231
FR
49472016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
4948
4949 * gdb.base/annota-input-while-running.exp: Fix syntax error.
4950
0f6ed0e0
TT
49512016-05-23 Tom Tromey <tom@tromey.com>
4952
4953 PR python/19438, PR python/18393:
4954 * gdb.python/py-progspace.exp: Add "dir" test.
4955 * gdb.python/py-objfile.exp: Add "dir" test.
4956
ffd19d61
YQ
49572016-05-23 Yao Qi <yao.qi@linaro.org>
4958
4959 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
4960 * gdb.arch/thumb2-it.exp: Likewise.
4961
9e8f9b05
SM
49622016-05-18 Simon Marchi <simon.marchi@ericsson.com>
4963
4964 * gdb.mi/mi-threads-interrupt.c: New file.
4965 * gdb.mi/mi-threads-interrupt.exp: New file.
4966
61c6156d
SM
49672016-05-17 Simon Marchi <simon.marchi@ericsson.com>
4968
4969 PR gdb/18077
4970 * gdb.mi/mi-async-run.exp: New file.
4971 * gdb.mi/mi-async-run.c: New file.
4972
67218854
TT
49732016-05-17 Tom Tromey <tom@tromey.com>
4974 Manish Goregaokar <manishsmail@gmail.com>
4975
4976 * lib/rust-support.exp: New file.
4977 * lib/gdb.exp (skip_rust_tests): New proc.
4978 (build_executable_from_specs): Handle rust.
4979 * lib/future.exp (gdb_find_rustc): New proc.
4980 (gdb_default_target_compile): Handle rust.
4981 * gdb.rust/expr.exp: New file.
4982 * gdb.rust/generics.exp: New file.
4983 * gdb.rust/generics.rs: New file.
4984 * gdb.rust/methods.exp: New file.
4985 * gdb.rust/methods.rs: New file.
4986 * gdb.rust/modules.exp: New file.
4987 * gdb.rust/modules.rs: New file.
4988 * gdb.rust/simple.exp: New file.
4989 * gdb.rust/simple.rs: New file.
4990
c44af4eb
TT
49912016-05-17 Tom Tromey <tom@tromey.com>
4992
4993 * gdb.base/default.exp (set language): Add rust.
4994
dcd1f979
TT
49952016-05-17 Tom Tromey <tom@tromey.com>
4996
4997 * gdb.gdb/unittest.exp: New file.
4998
155b7f57
YQ
49992016-05-16 Yao Qi <yao.qi@linaro.org>
5000
5001 * gdb.base/batch-preserve-term-settings.exp: Remove variable
5002 shell_prompt. Update shell_prompt_re.
5003
8ddd5a6c
DE
50042016-05-12 Doug Evans <dje@google.com>
5005
5006 PR symtab/19999
5007 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
5008 $options when building executable.
5009 * gdb.dwarf2/fission-loclists-pie.S: New file.
5010 * gdb.dwarf2/fission-loclists-pie.exp: New file.
5011
02e370d9
SM
50122016-05-04 Simon Marchi <simon.marchi@ericsson.com>
5013
5014 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
5015 of [is_remote target],
5016
8929ad8b
SM
50172016-05-04 Simon Marchi <simon.marchi@ericsson.com>
5018
5019 * lib/gdb.exp (use_gdb_stub): New procedure.
5020
6c447423
DE
50212016-05-03 Yunlian Jiang <yunlian@google.com>
5022 Doug Evans <dje@google.com>
5023
5024 PR symtab/19914
5025 * gdb.dwarf2/dwp-sepdebug.c: New file.
5026 * gdb.dwarf2/dwp-sepdebug.exp: New file.
5027
444e826c
SM
50282016-05-02 Simon Marchi <simon.marchi@ericsson.com>
5029
5030 * gdb.base/detach.exp: Remove is_remote check.
5031
740feeaa
SM
50322016-05-02 Simon Marchi <simon.marchi@ericsson.com>
5033
5034 * gdb.base/annota-input-while-running.exp: Don't check for
5035 [is_remote target]. Enable annotations after running to main.
5036 Remove unused "set test..." line.
5037
9080ac9d
SM
50382016-04-28 Simon Marchi <simon.marchi@ericsson.com>
5039
5040 * gdb.trace/trace-enable-disable.exp: New file.
5041 * gdb.trace/trace-enable-disable.c: New file.
5042
952ebca5
SM
50432016-04-28 Simon Marchi <simon.marchi@ericsson.com>
5044
5045 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
5046 use it in info sharedlibrary test.
5047 * gdb.trace/ftrace-lock.exp: Likewise.
5048 * gdb.trace/ftrace.exp: Likewise.
5049 * gdb.trace/range-stepping.exp: Likewise.
5050 * gdb.trace/trace-break.exp: Likewise.
5051 * gdb.trace/trace-condition.exp: Likewise.
5052 * gdb.trace/trace-mt.exp: Likewise.
5053
d9019901
SM
50542016-04-27 Simon Marchi <simon.marchi@ericsson.com>
5055
5056 * lib/gdb.exp (gdb_load_shlibs): Rename to...
5057 (gdb_load_shlib): ... this.
5058 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
5059 gdb_load_shlib.
5060 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
5061 * gdb.base/ctxobj.exp: Likewise.
5062 * gdb.base/dprintf-pending.exp: Likewise.
5063 * gdb.base/dso2dso.exp: Likewise.
5064 * gdb.base/fixsection.exp: Likewise.
5065 * gdb.base/gcore-relro.exp: Likewise.
5066 * gdb.base/gdb1555.exp: Likewise.
5067 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5068 * gdb.base/gnu-ifunc.exp: Likewise.
5069 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
5070 * gdb.base/jit-so.exp (one_jit_test): Likewise.
5071 * gdb.base/pending.exp: Likewise.
5072 * gdb.base/print-file-var.exp: Likewise.
5073 * gdb.base/print-symbol-loading.exp: Likewise.
5074 * gdb.base/shlib-call.exp: Likewise.
5075 * gdb.base/shreloc.exp: Likewise.
5076 * gdb.base/so-impl-ld.exp: Likewise.
5077 * gdb.base/solib-disc.exp: Likewise.
5078 * gdb.base/solib-nodir.exp: Likewise.
5079 * gdb.base/solib-overlap.exp: Likewise.
5080 * gdb.base/solib-symbol.exp: Likewise.
5081 * gdb.base/solib-weak.exp (do_test): Likewise.
5082 * gdb.base/sym-file.exp: Likewise.
5083 * gdb.base/symtab-search-order.exp: Likewise.
5084 * gdb.base/type-opaque.exp: Likewise.
5085 * gdb.base/unload.exp: Likewise.
5086 * gdb.base/watchpoint-solib.exp: Likewise.
5087 * gdb.compile/compile.exp: Likewise.
5088 * gdb.cp/gdb2384.exp: Likewise.
5089 * gdb.cp/infcall-dlopen.exp: Likewise.
5090 * gdb.cp/re-set-overloaded.exp: Likewise.
5091 * gdb.fortran/library-module.exp: Likewise.
5092 * gdb.opt/solib-intra-step.exp: Likewise.
5093 * gdb.python/py-finish-breakpoint.exp: Likewise.
5094 * gdb.python/py-shared.exp: Likewise.
5095 * gdb.reverse/solib-precsave.exp: Likewise.
5096 * gdb.reverse/solib-reverse.exp: Likewise.
5097 * gdb.server/solib-list.exp: Likewise.
5098 * gdb.threads/dlopen-libpthread.exp: Likewise.
5099 * gdb.threads/tls-shared.exp: Likewise.
5100 * gdb.threads/tls-so_extern.exp: Likewise.
5101 * gdb.trace/change-loc.exp: Likewise.
5102 * gdb.trace/ftrace-lock.exp: Likewise.
5103 * gdb.trace/ftrace.exp: Likewise.
5104 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
5105 * gdb.trace/pending.exp: Likewise.
5106 * gdb.trace/range-stepping.exp: Likewise.
5107 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
5108 (strace_info_marker): Likewise.
5109 (strace_probe_marker): Likewise.
5110 (strace_trace_on_same_addr): Likewise.
5111 (strace_trace_on_diff_addr): Likewise.
5112 * gdb.trace/trace-break.exp: Likewise.
5113 * gdb.trace/trace-condition.exp: Likewise.
5114 * gdb.trace/trace-mt.exp: Likewise.
5115
fca4cfd9
SM
51162016-04-27 Simon Marchi <simon.marchi@ericsson.com>
5117
5118 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
5119 result of gdb_remote_download.
5120 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
5121 * gdb.base/dso2dso.exp: Likewise.
5122 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5123 * gdb.base/print-file-var.exp: Likewise.
5124 * gdb.base/shlib-call.exp: Likewise.
5125 * gdb.base/shreloc.exp: Likewise.
5126 * gdb.base/solib-overlap.exp: Likewise.
5127 * gdb.base/solib-weak.exp (do_test): Likewise.
5128 * gdb.base/unload.exp: Likewise.
5129
11cf4ffb
YQ
51302016-04-27 Yao Qi <yao.qi@linaro.org>
5131
5132 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
5133 exists.
5134
3e2e34f8
KB
51352016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5136
5137 * vla-type.exp: Print structure from toplevel.
5138
8f07e298
BH
51392016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5140
5141 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
5142 of dynamic types.
5143 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
5144 of dynamic types.
5145
9920b434
BH
51462016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5147
5148 * gdb.fortran/vla-type.f90: New file.
5149 * gdb.fortran/vla-type.exp: New file.
5150
f3abeff5
YQ
51512016-04-25 Yao Qi <yao.qi@linaro.org>
5152
5153 * gdb.base/branch-to-self.c: New file.
5154 * gdb.base/branch-to-self.exp: New file.
5155
0a5d52f0
YQ
51562016-04-22 Yao Qi <yao.qi@linaro.org>
5157
5158 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
5159 more after $hex.
5160
495346f6
YQ
51612016-04-22 Yao Qi <yao.qi@linaro.org>
5162
5163 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
5164 * gdb.base/annota3.exp: Likewise.
5165
4a7e075c
YQ
51662016-04-22 Yao Qi <yao.qi@linaro.org>
5167
5168 * gdb.reverse/step-precsave.exp: Do one step and test program
5169 stops in "callee" and do multiple steps until program goes out
5170 of "callee".
5171 * gdb.reverse/step-reverse.exp: Likewise.
5172
5b061e98
YQ
51732016-04-22 Yao Qi <yao.qi@linaro.org>
5174
5175 * gdb.trace/signal.exp: Also pass if
5176 $tracepoint_hits($i) > $iterations.
5177
5c5dc57f
YQ
51782016-04-22 Yao Qi <yao.qi@linaro.org>
5179
5180 * gdb.trace/signal.c: New file.
5181 * gdb.trace/signal.exp: New file.
5182
a55411b9
DE
51832016-04-19 Doug Evans <xdje42@gmail.com>
5184
5185 * gdb.base/bad-file.exp: New file.
5186
a22df60a
MG
51872016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
5188
5189 * gdb.dwarf2/implref.exp: New file.
5190
0c13f7e5
BH
51912016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
5192
5193 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
5194 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
5195 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
5196 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
5197 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
5198 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
5199 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
5200 * lib/fortran.exp (fortran_int4): New procedure.
5201 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
5202 (fortran_logical4): Likewise.
5203
9b9b09e9
BH
52042016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
5205
5206 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
5207
a14d1f4d
BH
52082016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
5209
5210 * lib/compiler.c: Add Intel specific preprocessor macros.
5211 * lib/compiler.cc: Likewise.
25d49b86 5212
7d49b1d0
LM
52132016-04-13 Luis Machado <lgustavo@codesourcery.com>
5214
5215 * gdb.server/connect-with-no-symbol-file.c: New file.
5216 * gdb.server/connect-with-no-symbol-file.exp: New file.
5217
8392fa22
SM
52182016-04-13 Simon Marchi <simon.marchi@ericsson.com>
5219
5220 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
5221
8c4c4aeb
SM
52222016-04-13 Simon Marchi <simon.marchi@ericsson.com>
5223
5224 * boards/gdbserver-base.exp (${board}_download): Copy source file to
5225 standard output directory.
5226
45e3745e
AT
52272016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
5228
5229 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
5230
e26b7e41
MM
52312016-04-13 Markus Metzger <markus.t.metzger@intel.com>
5232
5233 * gdb.btrace/instruction_history.c (loop): Add declaration.
5234
8ce09462
AT
52352016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
5236
5237 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
5238
2e88a1ea
SM
52392016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
5240
5241 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
5242 parentheses to print.
5243 (continue_handler): Likewise.
5244
f48e22e3
SM
52452016-04-08 Simon Marchi <simon.marchi@ericsson.com>
5246
5247 * gdb.server/solib-list.exp: Remove is_remote check.
5248 Pass shlib= to gdb_compile. Don't link shared library with
5249 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
5250 Run binary filename through "readlink -f" on the target.
5251
096be756
PA
52522016-04-08 Pedro Alves <palves@redhat.com>
5253
5254 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
5255 interpreter filename as argument to gdbserver_spawn.
5256 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
5257 Return empty if $last_loaded_file does not exist.
5258
06500533
JK
52592016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5260
5261 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
5262 * gdb.base/jit-main.c: Use exit after usage.
5263
2d35e871
JK
52642016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5265
5266 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
5267 GDBHISTSIZE prior to the tests.
5268 * gdb.base/gdbinit-history.exp: Likewise.
5269
52702016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
5271
5272 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
5273 instead of build_executable. Use gdb_load_shlibs.
5274
c8064e7e
YQ
52752016-04-07 Yao Qi <yao.qi@linaro.org>
5276
5277 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
5278 Execute "si" command.
5279
bde47561
YQ
52802016-04-07 Yao Qi <yao.qi@linaro.org>
5281
5282 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
5283 number instead of the comments on some line.
5284
b16f8a3b
DB
52852016-04-06 Don Breazeal <donb@codesourcery.com>
5286
5287 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
5288 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
5289
c2f901df
SM
52902016-04-06 Simon Marchi <simon.marchi@ericsson.com>
5291
5292 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
5293 standard_output_file. Remove unused binfile variable.
5294
ac17fda0
CU
52952016-04-05 Catalin Udma <catalin.udma@freescale.com>
5296
5297 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
5298 * gdb.python/py-mi-objfile.exp: Match "list main" output
5299 in console format.
5300
03a8c4df
SM
53012016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
5302
5303 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
5304 absolute.
5305
6e774b13
SM
53062016-04-05 Simon Marchi <simon.marchi@ericsson.com>
5307
5308 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
5309 absolute.
5310 * gdb.trace/ftrace.exp: Likewise.
5311 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
5312 targets as well.
5313 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
5314 (gdb_load_shlibs): Copy libraries to test directory when testing
5315 natively. Only set solib-search-path if testing remotely.
5316 * lib/mi-support.exp (mi_load_shlibs): Likewise.
5317
7817ea46
SM
53182016-04-05 Simon Marchi <simon.marchi@ericsson.com>
5319
5320 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
5321 gdb_download. Use it even if the target is not remote.
5322 * gdb.base/jit.exp (compile_jit_test): Likewise.
5323 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
5324 output directory if the destination board is local, otherwise use
5325 the standard remote_download from DejaGnu.
5326 (gdb_download): Remove.
5327 (gdb_load_shlibs): Use gdb_remote_download instead of
5328 gdb_download.
5329 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
5330 Use gdb_remote_download instead of gdb_download. Use it even if
5331 the target is not remote.
5332 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
5333 instead of gdb_download.
5334
7beb7f68
SM
53352016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
5336
5337 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
5338 (test_insert_delete_modify): Call mi_load_shlibs before trying to
5339 run.
5340
cc63428a
AV
53412016-04-01 Artemiy Volkov <artemiyv@acm.org>
5342
5343 PR gdb/19820
5344 * gdb.base/printcmds.exp: Add artificial arrays tests.
5345
64cdf930
PA
53462016-03-31 Pedro Alves <palves@redhat.com>
5347
5348 PR gdb/19858
5349 * gdb.base/jit-main.c: Include unistd.h.
5350 (ATTACH): Define to 0 if not already defined.
5351 (wait_for_gdb, mypid): New globals.
5352 (WAIT_FOR_GDB): New macro.
5353 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
5354 some breakpoint locations.
5355 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
5356 New procedures.
5357 (one_jit_test): Add REATTACH parameter, and handle it. Use
5358 continue_to_test_location.
5359 (top level): Test attach, and adjusts calls to one_jit_test.
5360
40dea8cb
PA
53612016-03-31 Pedro Alves <palves@redhat.com>
5362
5363 PR gdb/19858
5364 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
5365 BINSUFFIX parameter, and handle it.
5366 (top level): Adjust calls compile_jit_test.
5367
e7ea3ec7
CU
53682016-03-31 Catalin Udma <catalin.udma@freescale.com>
5369
5370 PR python/19743
5371 * gdb.python/py-mi-events-gdb.py: New file.
5372 * gdb.python/py-mi-events.c: New file.
5373 * gdb.python/py-mi-events.exp: New file.
5374
e6359af3
YQ
53752016-03-30 Yao Qi <yao.qi@linaro.org>
5376
5377 * gdb.reverse/until-precsave.exp: Match function name only.
5378 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
5379 Move malloc to a condition block.
5380 * gdb.reverse/until-reverse.exp: Match function name only.
5381
a4105d04
MK
53822016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
5383
5384 * gdb.trace/ftrace.exp: Set arg0exp for s390.
5385 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
5386 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
5387 variable for GPR 0 instead of assuming it is register 0.
5388 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
5389 * lib/trace-support.exp: Add s390 registers.
5390
bfa6adb9
YQ
53912016-03-29 Yao Qi <yao.qi@linaro.org>
5392
5393 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
5394
1e6697ea
YQ
53952016-03-24 Yao Qi <yao.qi@linaro.org>
5396
5397 * gdb.reverse/break-reverse.exp: Add quotation mark in the
5398 test message.
5399
64bcd522
AA
54002016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5401
5402 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
5403 maintaining separate logic for constructing the output path.
5404
7868401b
DB
54052016-03-16 Don Breazeal <donb@codesourcery.com>
5406
5407 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
5408 Retry fork and waitpid on interrupted system call errors.
5409 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
5410 Use with_timeout_factor to increase timeout by factor of 10.
5411
1cafadb4
DB
54122016-03-15 Don Breazeal <donb@codesourcery.com>
5413
5414 * gdb.cp/scope-err.cc: New test program.
5415 * gdb.cp/scope-err.exp: New test script.
5416 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
5417 lines and "set breakpoint here" comment.
5418 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
5419 Fixed some whitespace and format issues.
5420 * gdb.mi/mi-linespec-err-cp.cc: New test program.
5421 * gdb.mi/mi-linespec-err-cp.exp: New test script.
5422
81516450
DE
54232016-03-15 Doug Evans <dje@google.com>
5424
5425 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
5426 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
5427 All callers updated. Add tests for enums, mixed flags register.
5428
aa52b601
DE
54292016-03-15 Doug Evans <dje@google.com>
5430
5431 * gdb.base/skip.c (main): Call test_skip_file_and_function.
5432 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
5433
fa4ff313
SM
54342016-03-14 Simon Marchi <simon.marchi@ericsson.com>
5435
5436 * gdb.base/default.exp: Add $_as_string to the list of expected
5437 convenience functions.
5438
f2403c39
AB
54392016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
5440
5441 * gdb.base/maint.exp: New tests for 'maint info line-table'.
5442
f2f3ccb9
SM
54432016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
5444
5445 * gdb.python/py-as-string.exp: New file.
5446 * gdb.python/py-as-string.c: New file.
5447
00dbd492
PA
54482016-03-09 Pedro Alves <palves@redhat.com>
5449
5450 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
5451 signal" -> "Thread NN received signal" output change.
5452 * gdb.threads/ia64-sigill.exp: Likewise.
5453 * gdb.threads/linux-dp.exp: Likewise.
5454 * gdb.threads/manythreads.exp: Likewise.
5455 * gdb.threads/pending-step.exp: Likewise.
5456 * gdb.threads/print-threads.exp: Likewise.
5457 * gdb.threads/sigstep-threads.exp: Likewise.
5458 * gdb.threads/staticthreads.exp: Likewise.
5459 * gdb.threads/tls.exp: Likewise.
5460
1e6697ea
YQ
54612016-03-09 Pedro Alves <palves@redhat.com>
5462
5463 * gdb.base/command-line-input.exp: New file.
5464
b04fd3be
MK
54652016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5466
5467 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
5468 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
5469 * gdb.trace/pending.exp: Accept leading dot before function name.
5470 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
5471 * lib/trace-support.exp: Set registers for ppc.
5472
98fa59e9
MK
54732016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5474
5475 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
5476 use it for disassembly; accept .main in addition to main in backtrace.
5477
f77198c8
MK
54782016-03-09 Wei-cheng Wang <cole945@gmail.com>
5479 Marcin Kościelnicki <koriakin@0x04.net>
5480
5481 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
5482 (gdb_recursion_test_ptr): New global variable.
5483 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
5484 gdb_recursion_test.
5485 (gdb_c_test): Ditto.
5486
ba84e0da
MK
54872016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5488
5489 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
5490 ordering.
5491
4366d36e
MK
54922016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5493
5494 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
5495 (bar): Add bar_start_lbl label.
5496 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
5497 of foo/bar for emitting DWARF and tracing.
5498
5eb264df
SDJ
54992016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
5500
5501 * analyze-racy-logs.py: Set executable bit.
5502
fb6a751f
SDJ
55032016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
5504
5505 * Makefile.in (DEFAULT_RACY_ITER): New variable.
5506 (CHECK_TARGET_TMP): Likewise.
5507 (check-single-racy): New rule.
5508 (check-parallel-racy): Likewise.
5509 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
5510 (do-check-parallel-racy): New rule.
5511 (check-racy/%.exp): Likewise.
5512 * README (Racy testcases): New section.
5513 * analyze-racy-logs.py: New file.
5514
bdf7e230
DE
55152016-03-03 Doug Evans <dje@google.com>
5516
5517 * gdb.base/skip.exp: Use with_test_prefix.
5518
4719d415
YQ
55192016-03-03 Yao Qi <yao.qi@linaro.org>
5520
5521 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
5522 Invoke step_over_syscall "clone" and break_cond_on_syscall
5523 "clone".
5524 * gdb.base/step-over-clone.c: New file.
5525
ea507862
YQ
55262016-03-03 Yao Qi <yao.qi@linaro.org>
5527
5528 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
5529 code format.
5530
8fc8cbda
YQ
55312016-03-03 Yao Qi <yao.qi@linaro.org>
5532
5533 * gdb.base/disp-step-fork.c: Rename to ...
5534 * gdb.base/step-over-fork.c: ... it. New file.
5535 * gdb.base/disp-step-vfork.c: Rename to ...
5536 * gdb.base/step-over-vfork.c: ... it. New file.
5537 * gdb.base/disp-step-syscall.exp: Rename to ...
5538 * gdb.base/step-over-syscall.exp: ... it. New file.
5539 (disp_step_cross_syscall): Rename to ...
5540 (step_over_syscall): ... it.
5541
92fa70b0
YQ
55422016-03-03 Yao Qi <yao.qi@linaro.org>
5543
5544 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
5545 If target supports condition evaluation on target, invoke
5546 break_cond_on_syscall for fork and vfork.
5547
e197ad3c
YQ
55482016-03-03 Yao Qi <yao.qi@linaro.org>
5549
5550 * gdb.base/disp-step-syscall.exp: Don't invoke
5551 support_displaced_stepping.
5552 (disp_step_cross_syscall): Test with displaced stepping off and
5553 on if supported.
5554
0b47da9f
YQ
55552016-03-03 Yao Qi <yao.qi@linaro.org>
5556
5557 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
5558 proc.
5559 (setup): New proc.
5560 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
5561 and setup.
5562
065ab6dc
BH
55632016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
5564
5565 * gdb.fortran/vla-history.exp: Remove breakpoint.
5566
07e448ad 55672016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
5568
25d49b86
PA
5569 * gdb.fortran/vla-history.exp: Lookup array elements and printing
5570 exceeds timeout.
07e448ad 5571
9ac2d526 55722016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
5573
25d49b86
PA
5574 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
5575 breakpoint.
9ac2d526 5576
17807369
BH
55772016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
5578
5579 * gdb.mi/vla.f90: Nullify pointer after declaration.
5580
86e501af
PA
55812016-03-01 Pedro Alves <palves@redhat.com>
5582
5583 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
5584
1e903e32
PA
55852016-03-01 Pedro Alves <palves@redhat.com>
5586
5587 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
5588 before anything else.
5589 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
5590 _GNU_SOURCE here.
5591 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
5592 before anything else.
5593 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
5594
6ccb54e2
PA
55952016-03-01 Pedro Alves <palves@redhat.com>
5596
5597 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
5598
30ca9da1
YQ
55992016-03-01 Yao Qi <yao.qi@linaro.org>
5600
5601 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
5602 prepare_for_testing.
5603
dc856b38
YQ
56042016-03-01 Yao Qi <yao.qi@linaro.org>
5605
5606 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
5607
4a932159
AA
56082016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
5609
5610 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
5611 manually constructing the output path.
5612
f2489477
AA
56132016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
5614
5615 * gdb.arch/s390-stackless.S: New.
5616 * gdb.arch/s390-stackless.exp: New.
5617
38899f16
IB
56182016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
5619
5620 * gdb.dlang/circular.c: New file.
5621 * gdb.dlang/circular.exp: New file.
5622
9fde51ed
YQ
56232016-02-26 Yao Qi <yao.qi@linaro.org>
5624
5625 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
5626 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
5627 (testcases): Update.
5628
ce90fefe
YQ
56292016-02-26 Yao Qi <yao.qi@linaro.org>
5630
5631 * gdb.reverse/aarch64.c: Rename to ...
5632 * gdb.reverse/insn-reverse.c: ... it.
5633 * gdb.reverse/aarch64.exp: Rename to ...
5634 * gdb.reverse/insn-reverse.exp: ... it.
5635
3263bceb
YQ
56362016-02-26 Yao Qi <yao.qi@linaro.org>
5637
5638 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
5639 (testcase_ftype): New.
5640 (testcases): New array.
5641 (n_testcases): New.
5642 (main): Call each element in testcases.
5643 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
5644 (read_testcase): New.
5645 Do the tests in a loop.
5646
6cb59ff1
YQ
56472016-02-25 Yao Qi <yao.qi@linaro.org>
5648
5649 * gdb.base/branches.c: Remove.
5650
ae91f625
MK
56512016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
5652
5653 PR gdb/13808
5654 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
5655
678b48b7
MK
56562016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
5657
5658 * gdb.trace/ftrace.exp: Remove unnecessary target check.
5659
7337a6f2
MK
56602016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
5661
5662 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
5663 change x86_64 call_insn to 'callq'.
5664
861ca91f
AT
56652016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
5666
5667 * gdb.trace/tfile-avx.c: Move to...
5668 * gdb.trace/tracefile-pseudo-reg.c: Here.
5669 * gdb.trace/tfile-avx.exp: Move to...
5670 * gdb.trace/tracefile-pseudo-reg.exp: Here.
5671
bf74e428
GB
56722016-02-24 Gary Benson <gbenson@redhat.com>
5673
5674 * gdb.base/attach-pie-noexec.exp: Do not expect an error
5675 message on attach.
5676
cce0e923
DE
56772016-02-23 Doug Evans <dje@google.com>
5678
5679 * gdb.base/skip.c (test_skip): New function.
5680 (end_test_skip_file_and_function): New function.
5681 (test_skip_file_and_function): New function.
5682 * gdb.base/skip1.c (test_skip): New function.
5683 (skip1_test_skip_file_and_function): New function.
5684 * gdb.base/skip.exp: Add tests for new skip options.
5685 * gdb.base/skip-solib.exp: Update expected output.
5686 * gdb.perf/skip-command.cc: New file.
5687 * gdb.perf/skip-command.exp: New file.
5688 * gdb.perf/skip-command.py: New file.
5689
4000e47e
MK
56902016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
5691
5692 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
5693 info registers pattern.
5694
24f75ead
IB
56952016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
5696
5697 * lib/future.exp: Add D support.
5698 (gdb_find_gdc): New proc.
5699 (gdb_default_target_compile): Add D support.
5700
fbb7bcbe
WW
57012016-02-18 Wei-cheng Wang <cole945@gmail.com>
5702
5703 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
5704 user+system time.
5705 (trace_speed_test): Determine the iteration count for a time
5706 between 15..30 seconds.
5707
012b3a21
WT
57082016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
5709
5710 * gdb.arch/i386-mpx-sigsegv.c: New file.
5711 * gdb.arch/i386-mpx-sigsegv.exp: New file.
5712 * gdb.arch/i386-mpx-simple_segv.c: New file.
5713 * gdb.arch/i386-mpx-simple_segv.exp: New file.
5714
2d5189bd
YQ
57152016-02-18 Yao Qi <yao.qi@linaro.org>
5716
5717 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
5718 Don't call setup_kfail.
5719
40fb20d0
YQ
57202016-02-18 Yao Qi <yao.qi@linaro.org>
5721
5722 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
5723 Set "set breakpoint condition-evaluation" per $cond_bp_target.
5724
21b1f8d2
DE
57252016-02-16 Doug Evans <dje@google.com>
5726
5727 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
5728 * gdb.base/skip1.c: Ditto.
5729 * gdb.base/skip.exp: Whitespace cleanup.
5730
4041ed77
DB
57312016-02-16 Don Breazeal <donb@codesourcery.com>
5732
5733 PR remote/19496
5734 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
5735 Remove kfail for PR remote/19496.
5736
c4ef31bf
SM
57372016-02-16 Simon Marchi <simon.marchi@ericsson.com>
5738
5739 * lib/gdb.exp (standard_temp_file): Return a path specific to
5740 the runtest invocation.
5741
266b65b3
SM
57422016-02-16 Simon Marchi <simon.marchi@ericsson.com>
5743
5744 * gdb.trace/save-trace.exp: Change relative path to be in the
5745 standard output directory.
5746
a7a0a6a9
JK
57472016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5748
5749 * gdb.arch/i386-prologue.c: Add missing prototypes.
5750
c99dbb42
JK
57512016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5752
5753 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
5754 * gdb.arch/i386-prologue.exp: Likewise.
5755 * gdb.arch/i386-size.exp: Likewise.
5756
aa480355
SM
57572016-02-15 Simon Marchi <simon.marchi@ericsson.com>
5758
5759 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
5760 define object file path.
5761 * gdb.btrace/gcore.exp: Use standard_output_file to define core
5762 file path.
5763 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
5764 standard_output_file to define binfile.
5765
ba881f50
JK
57662016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5767
5768 Fix compatibility with recent gfortran-5.3.1.
5769 * gdb.fortran/vla-history.exp (print vla1 allocated)
5770 (print vla2 allocated, print $2, print $3): Remove
5771 (print $4): Rename to ...
5772 (print $2): ... here.
5773 (print $9): Rename to ...
5774 (print $5): ... here.
5775 (print $10): Rename to ...
5776 (print $6): ... here.
5777 * gdb.fortran/vla.f90: Add pvla initialization.
5778
e9fb005c
JK
57792016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5780
5781 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
5782 New test.
5783 * gdb.fortran/vla-value-sub.exp: Likewise.
5784
e44e00ff
MK
57852016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
5786
5787 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
5788
97e94151
SM
57892016-02-12 Simon Marchi <simon.marchi@ericsson.com>
5790
5791 * i386-biarch-core.exp: Define corefile using
5792 standard_output_file.
5793
01113bc1
YQ
57942016-02-12 Yao Qi <yao.qi@linaro.org>
5795
5796 * gdb.arch/arm-single-step-kernel-helper.c: New.
5797 * gdb.arch/arm-single-step-kernel-helper.exp: New.
5798
33b4777c
MM
57992016-02-12 Markus Metzger <markus.t.metzger@intel.com>
5800
5801 * gdb.btrace/tailcall-only.exp: New.
5802 * gdb.btrace/tailcall-only.c: New.
5803 * gdb.btrace/x86_64-tailcall-only.S: New.
5804 * gdb.btrace/i686-tailcall-only.S: New.
5805
acc23c11
PA
58062016-02-11 Pedro Alves <palves@redhat.com>
5807
5808 * README (Parallel testing): Add missing double quotes.
5809
e352bf0a
PA
58102016-02-11 Pedro Alves <palves@redhat.com>
5811
5812 * README (Parallel testing): New section.
5813 (GDB_PARALLEL): Rewrite.
5814 (FORCE_PARALLEL): Document.
5815
9f5fed78
MK
58162016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
5817
5818 * gdb.trace/tfile-avx.c: New test.
5819 * gdb.trace/tfile-avx.exp: New test.
5820
9ef9e6a6
KS
58212016-02-09 Keith Seitz <keiths@redhat.com>
5822
5823 PR breakpoints/19546
5824 * gdb.base/infcall-exec.c: New file.
5825 * gdb.base/infcall-exec2.c: New file.
5826 * gdb.base/infcall-exec.exp: New file.
5827
a96e36da
KS
58282016-02-09 Keith Seitz <keiths@redhat.com>
5829
5830 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
5831 (toplevel): Call test_bkpt_address.
5832
9f61929f
KS
58332016-02-09 Keith Seitz <keiths@redhat.com>
5834
5835 PR python/19506
5836 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
5837 (toplevel): Call test_bkpt_address.
5838
1e94266c
SM
58392016-02-09 Simon Marchi <simon.marchi@ericsson.com>
5840
5841 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
5842 to AC_OUTPUT.
5843 * configure: Regenerate.
5844
2a7f3dff
PA
58452016-02-09 Pedro Alves <palves@redhat.com>
5846
5847 PR breakpoints/19548
5848 * gdb.base/execl-update-breakpoints.c (some_function): New
5849 function.
5850 (main): Call it.
5851 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
5852 Tighten expected GDB output.
5853
2151ccc5
SM
58542016-02-08 Simon Marchi <simon.marchi@ericsson.com>
5855
5856 * Makefile.in (ALL_SUBDIRS): Remove.
5857 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
5858 (distclean maintainer-clean realclean): Likewise.
5859 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
5860 * configure: Regenerate.
5861 * gdb.ada/Makefile.in: Delete.
5862 * gdb.arch/Makefile.in: Likewise.
5863 * gdb.asm/Makefile.in: Likewise.
5864 * gdb.base/Makefile.in: Likewise.
5865 * gdb.btrace/Makefile.in: Likewise.
5866 * gdb.cell/Makefile.in: Likewise.
5867 * gdb.compile/Makefile.in: Likewise.
5868 * gdb.cp/Makefile.in: Likewise.
5869 * gdb.disasm/Makefile.in: Likewise.
5870 * gdb.dlang/Makefile.in: Likewise.
5871 * gdb.dwarf2/Makefile.in: Likewise.
5872 * gdb.fortran/Makefile.in: Likewise.
5873 * gdb.gdb/Makefile.in: Likewise.
5874 * gdb.go/Makefile.in: Likewise.
5875 * gdb.guile/Makefile.in: Likewise.
5876 * gdb.java/Makefile.in: Likewise.
5877 * gdb.linespec/Makefile.in: Likewise.
5878 * gdb.mi/Makefile.in: Likewise.
5879 * gdb.modula2/Makefile.in: Likewise.
5880 * gdb.multi/Makefile.in: Likewise.
5881 * gdb.objc/Makefile.in: Likewise.
5882 * gdb.opencl/Makefile.in: Likewise.
5883 * gdb.opt/Makefile.in: Likewise.
5884 * gdb.pascal/Makefile.in: Likewise.
5885 * gdb.perf/Makefile.in: Likewise.
5886 * gdb.python/Makefile.in: Likewise.
5887 * gdb.reverse/Makefile.in: Likewise.
5888 * gdb.server/Makefile.in: Likewise.
5889 * gdb.stabs/Makefile.in: Likewise.
5890 * gdb.threads/Makefile.in: Likewise.
5891 * gdb.trace/Makefile.in: Likewise.
5892 * gdb.xml/Makefile.in: Likewise.
5893 * lib/gdb.exp (make_gdb_parallel_path): Add check for
5894 GDB_PARALLEL.
5895 (standard_output_file): Remove check for GDB_PARALLEL, always
5896 return path in outputs/$subdir/$testname.
5897
437277d4
SM
58982016-02-08 Simon Marchi <simon.marchi@ericsson.com>
5899
5900 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
5901 (site.exp): Assign abs_srcdir to tcl's srcdir.
5902
31d913c7
YQ
59032016-02-04 Yao Qi <yao.qi@linaro.org>
5904
5905 * gdb.base/foll-exec-mode.c: Include limits.h.
5906 (main): Add parameters argc and argv. Get directory from
5907 argv[0].
5908 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
5909 compilation.
5910 * gdb.base/foll-exec.c: Include limits.h.
5911 (main): Add parameters argc and argv.
5912 Get directory from argv[0].
5913 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
5914 Adjust tests on the number of lines as source code changed.
5915 * gdb.base/foll-vfork-exit.c: Include limits.h.
5916 (main): Add one line of statement before vfork.
5917 * gdb.base/foll-vfork.c: Include limits.h and string.h.
5918 (main): Add parameters argc and argv. Get directory from
5919 argv[0].
5920 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
5921 (setup_gdb): Set tbreak to skip some source lines.
5922 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
5923 (main): Add parameters argc and argv. Get directory from
5924 argv[0].
5925 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
5926 compilation.
5927 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
5928 (main): Add parameters argc and argv. Get directory from
5929 argv[0].
5930 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
5931 compilation.
5932
9482b9fb
DE
59332016-02-01 Doug Evans <dje@google.com>
5934
5935 * gdb.base/skip.exp: Clean up multiple references to same test name.
5936
6b2e4f10
PA
59372016-02-01 Pedro Alves <palves@redhat.com>
5938
ccb6afd6 5939 PR remote/19496
6b2e4f10
PA
5940 * gdb.threads/forking-threads-plus-breakpoint.exp
5941 (displaced_stepping_supported): New global.
5942 (probe_displaced_stepping_support): New procedure.
5943 (do_test): Add 'displaced' parameter, and use it.
5944 (top level): Check for displaced stepping support. Add displaced
5945 stepping on/off testing axis.
5946
37a8db1a
AB
59472016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
5948
5949 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
5950 pointer. Don't perform further tests on the unassociated pointer
5951 if the first test fails.
5952
5fdf6324
AB
59532016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
5954
5955 * gdb.base/max-value-size.c: New file.
5956 * gdb.base/max-value-size.exp: New file.
5957 * gdb.base/huge.exp: Disable max-value-size for this test.
5958
935c6144
IB
59592016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
5960
5961 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
5962
7fe8399d
YQ
59632016-01-28 Yao Qi <yao.qi@linaro.org>
5964
5965 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
5966
a2077e25
PA
59672016-01-25 Pedro Alves <palves@redhat.com>
5968
5969 PR threads/19461
5970 * gdb.base/fork-running-state.c: New file.
5971 * gdb.base/fork-running-state.exp: New file.
5972
1d2736d4
PA
59732016-01-25 Pedro Alves <palves@redhat.com>
5974
5975 PR gdb/19494
5976 * gdb.base/catch-fork-kill.c: New file.
5977 * gdb.base/catch-fork-kill.exp: New file.
5978
f1da4b11
PA
59792016-01-25 Pedro Alves <palves@redhat.com>
5980
5981 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
5982 Delete, moved to lib/gdb.exp.
5983 * gdb.threads/forking-threads-plus-breakpoint.exp
5984 (foreach_with_prefix): Likewise.
5985 * gdb.threads/process-dies-while-handling-bp.exp
5986 (foreach_with_prefix): Likewise.
5987 * lib/gdb.exp (foreach_with_prefix): New procedure.
5988
45f38546
MK
59892016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
5990
5991 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
5992 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
5993
dc29a1ce
MK
59942016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
5995
5996 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
5997 endian targets.
5998
092127d7
JK
59992016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6000 Pedro Alves <palves@redhat.com>
6001
6002 Fix testsuite compatibility with Guile.
6003 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
6004 number.
6005
31d765d3
JK
60062016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6007
6008 Fix testsuite compatibility with Guile.
6009 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
6010 (thread 1): New test for backtrace through signal handler.
6011
1ac78c04
YQ
60122016-01-22 Yao Qi <yao.qi@linaro.org>
6013
6014 PR testsuite/19491
6015 * gdb.base/multi-forks.c: Include
6016 ../lib/unbuffer_output.c
6017 (main): Call gdb_unbuffer_output.
6018
4f5946a8
DE
60192016-01-21 Doug Evans <dje@google.com>
6020
6021 * lib/ada.exp (gdb_compile_ada): Fix typo.
6022
305e13e6
JB
60232016-01-21 Joel Brobecker <brobecker@adacore.com>
6024
6025 * gdb.base/break-fun-addr.exp: New file.
6026 * gdb.base/break-fun-addr1.c: New file.
6027 * gdb.base/break-fun-addr2.c: New file.
6028
5f5dfff6
SM
60292016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
6030
6031 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
6032 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
6033 enum flag values.
6034
fd356fa2
AA
60352016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6036
6037 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
6038 when GDB can not set the vector return value. Add more comments
6039 for clarification.
6040
9df22175
AT
60412016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
6042
6043 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
6044 command.
6045
41d1845e
SM
60462016-01-19 Simon Marchi <simon.marchi@ericsson.com>
6047
6048 * Makefile.in (DO_RUNTEST): Add --status and update usages.
6049
01ac6840
SM
60502016-01-19 Simon Marchi <simon.marchi@ericsson.com>
6051
6052 * Makefile.in (check-single): Pass --status to runtest.
6053 (check/%.exp): Likewise.
6054
60552016-01-19 Simon Marchi <simon.marchi@ericsson.com>
6056
6057 * Makefile.in (check-parallel): Propagate return code from make
6058 do-check-parallel.
6059
bd0a71fa
MK
60602016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
6061
6062 * gdb.trace/ftrace.exp: Fix expected message on continue.
6063 * gdb.trace/pending.exp: Fix expected message on continue.
6064 * gdb.trace/trace-break.exp: Fix expected message on continue.
6065
8bcbad33
SM
60662016-01-18 Simon Marchi <simon.marchi@ericsson.com>
6067
6068 * lib/gdb.exp (gdb_test): Remove unused global references.
6069
f303dbd6
PA
60702016-01-18 Pedro Alves <palves@redhat.com>
6071
6072 * gdb.base/async-shell.exp: Adjust expected output.
6073 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
6074 * gdb.base/siginfo-thread.exp: Adjust expected output.
6075 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
6076 * gdb.java/jnpe.exp: Adjust expected output.
6077 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
6078 * gdb.threads/continue-pending-status.exp: Adjust expected output.
6079 * gdb.threads/leader-exit.exp: Adjust expected output.
6080 * gdb.threads/manythreads.exp: Adjust expected output.
6081 * gdb.threads/pthreads.exp: Adjust expected output.
6082 * gdb.threads/schedlock.exp: Adjust expected output.
6083 * gdb.threads/siginfo-threads.exp: Adjust expected output.
6084 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
6085 expected output.
6086 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
6087 output.
6088 * gdb.threads/sigthread.exp: Adjust expected output.
6089 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
6090
b2789696
YQ
60912016-01-18 Yao Qi <yao.qi@linaro.org>
6092
6093 * gdb.guile/scm-section-script.c: Replace @progbits with
6094 %progbits.
6095 * gdb.python/py-section-script.c: Likewise.
6096
71ef29a8
PA
60972016-01-15 Pedro Alves <palves@redhat.com>
6098
6099 * gdb.multi/tids.exp: Test star wildcard ranges.
6100
3f5b7598
PA
61012016-01-15 Pedro Alves <palves@redhat.com>
6102
6103 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
6104 command from "thread apply" invocation.
6105 (thr_apply_info_thr_invalid): Default the expected output to the
6106 input tid list.
6107 (top level): Add tests that use convenience variables. Add tests
6108 for "thread apply" with a valid TID list, but missing the command.
6109
663f6d42
PA
61102016-01-13 Pedro Alves <palves@redhat.com>
6111
6112 * gdb.base/default.exp: Expect $_gthread as well.
6113 * gdb.multi/tids.exp: Test $_gthread.
6114 * gdb.threads/thread-specific.exp: Test $_gthread.
6115
c84f6bbf
PA
61162016-01-13 Pedro Alves <palves@redhat.com>
6117
6118 * gdb.multi/tids.exp: Test "info threads -gid".
6119
22a02324
PA
61202016-01-13 Pedro Alves <palves@redhat.com>
6121
6122 * gdb.multi/tids.exp: Test InferiorThread.global_num and
6123 Breakpoint.thread.
6124 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
6125
5d5658a1
PA
61262016-01-07 Pedro Alves <palves@redhat.com>
6127
6128 * gdb.base/break.exp: Adjust to output changes.
6129 * gdb.base/hbreak2.exp: Likewise.
6130 * gdb.base/sepdebug.exp: Likewise.
6131 * gdb.base/watch_thread_num.exp: Likewise.
6132 * gdb.linespec/keywords.exp: Likewise.
6133 * gdb.multi/info-threads.exp: Likewise.
6134 * gdb.threads/thread-find.exp: Likewise.
6135 * gdb.multi/tids.c: New file.
6136 * gdb.multi/tids.exp: New file.
6137
84654457
PA
61382016-01-13 Pedro Alves <palves@redhat.com>
6139
6140 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
6141
e3940304
PA
61422016-01-13 Pedro Alves <palves@redhat.com>
6143
6144 * gdb.base/default.exp: Expect $_inferior as well.
6145 * gdb.multi/base.exp: Test $_inferior.
6146
a911d87a
PA
61472016-01-13 Pedro Alves <palves@redhat.com>
6148
6149 PR breakpoints/19388
6150 * gdb.base/catch-signal-siginfo-cond.c: New file.
6151 * gdb.base/catch-signal-siginfo-cond.exp: New file.
6152
82075af2
JS
61532016-01-12 Josh Stone <jistone@redhat.com>
6154 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6155
6156 * gdb.base/catch-syscall.c (do_execve): New variable.
6157 (main): Conditionally trigger an execve.
6158 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
6159 (test_catch_syscall_execve): New, check entry/return across execve.
6160 (do_syscall_tests): Call test_catch_syscall_execve.
6161
e46eeedd
PA
61622016-01-12 Pedro Alves <palves@redhat.com>
6163
6164 * gdb.base/random-signal.exp (do_test): New procedure, with body
6165 of testcase moved in.
6166
01d8c27e
JK
61672016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6168 Pedro Alves <palves@redhat.com>
6169
6170 * gdb.base/funcargs.exp (finish from indirectly called function):
6171 Reintroduce the case for 'First'.
6172
9a706302
JK
61732016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6174 Pedro Alves <palves@redhat.com>
6175
6176 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
6177 (tcatch_vfork_then_child_follow_exec)
6178 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
6179 identification.
6180
c0ecb95f
JK
61812016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6182
6183 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
6184 and repeats to unlimited.
6185 * gdb.python/py-value.exp: Likewise.
6186 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
6187 and repeats to unlimited.
6188
6cfc1fcb
JK
61892016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6190
6191 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
6192 and reordering the functions.
6193 * gdb.multi/hangout.c: Likewise.
6194 * gdb.multi/hello.c: Likewise.
6195
582a1b00
SM
61962016-01-08 Simon Marchi <simon.marchi@ericsson.com>
6197
6198 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
6199 absolute.
6200 (SingleStatisticTestResult.report): Use dict.keys instead of
6201 dict.iterkeys.
6202
79bc59cb
PA
62032016-01-06 Pedro Alves <palves@redhat.com>
6204
6205 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
6206
43368e1d
MM
62072016-01-04 Markus Metzger <markus.t.metzger@intel.com>
6208
6209 * gdb.btrace/dlopen.exp: New.
6210 * gdb.btrace/dlopen.c: New.
6211 * gdb.btrace/dlopen-dso.c: New.
6212
79fad5b8
SL
62132015-12-25 Sandra Loosemore <sandra@codesourcery.com>
6214
6215 * lib/gdb.exp (gdb_test): Update comments to clarify that the
6216 PATTERN argument is optional.
6217
ab8314b3
JB
62182015-12-24 Joel Brobecker <brobecker@adacore.com>
6219
6220 * lib/ada.exp (target_compile_ada_from_dir): New function.
6221 (gdb_compile_ada): Reimplement avoiding the use of project files.
6222 * gdb.ada/gnat_ada.gpr: Delete.
6223 * gdb.ada/cond_lang.exp: Adjust test to make path before
6224 filename optional.
6225 * gdb.ada/small_reg_param.exp: Likewise.
6226
fe33faff
SM
62272015-12-22 Simon Marchi <simon.marchi@ericsson.com>
6228
6229 * gdb.base/foll-vork.exp: Remove HP-UX special case.
6230
6d265cb4
TP
62312015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
6232
6233 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
6234 case.
6235
10125099
SM
62362015-12-21 Simon Marchi <simon.marchi@ericsson.com>
6237
6238 * gdb.base/break.exp: Remove dead code.
6239 * gdb.base/sepdebug.exp: Likewise.
6240
3ca22649
SM
62412015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
6242
6243 * gdb.asm/asm-source.exp: Remove HP-UX references.
6244 * gdb.base/annota1.exp: Likewise.
6245 * gdb.base/annota3.exp: Likewise.
6246 * gdb.base/attach.exp: Likewise.
6247 * gdb.base/bigcore.exp: Likewise.
6248 * gdb.base/break.exp: Likewise.
6249 * gdb.base/call-ar-st.exp: Likewise.
6250 * gdb.base/callfuncs.exp: Likewise.
6251 * gdb.base/catch-fork-static.exp: Likewise.
6252 * gdb.base/display.exp: Likewise.
6253 * gdb.base/foll-exec-mode.exp: Likewise.
6254 * gdb.base/foll-exec.exp: Likewise.
6255 * gdb.base/foll-fork.exp: Likewise.
6256 * gdb.base/foll-vfork.exp: Likewise.
6257 * gdb.base/funcargs.exp: Likewise.
6258 * gdb.base/hbreak2.exp: Likewise.
6259 * gdb.base/inferior-died.exp: Likewise.
6260 * gdb.base/interrupt.exp: Likewise.
6261 * gdb.base/multi-forks.exp: Likewise.
6262 * gdb.base/nodebug.exp: Likewise.
6263 * gdb.base/sepdebug.exp: Likewise.
6264 * gdb.base/solib1.c: Likewise.
6265 * gdb.base/step-test.exp: Likewise.
6266 * gdb.mi/non-stop.c: Likewise.
6267 * gdb.mi/pthreads.c: Likewise.
6268 * gdb.multi/bkpt-multi-exec.ex: Likewise.
6269 * gdb.threads/pthreads.c: Likewise.
6270 * gdb.threads/staticthreads.exp: Likewise.
6271 * lib/future.exp: Likewise.
6272 * lib/gdb.exp: Likewise.
6273 * gdb.base/so-indr-cl.c: Remove.
6274 * gdb.base/so-indr-cl.exp: Likewise.
6275 * gdb.base/solib.c: Likewise.
6276 * gdb.base/solib.exp: Likewise.
6277 * gdb.base/solib2.c: Likewise.
6278
b6304613
SM
62792015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
6280
6281 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
6282 * gdb.base/call-ar-st.exp: Likewise.
6283 * gdb.base/callfuncs.exp: Likewise.
6284 * gdb.base/condbreak.exp: Likewise.
6285 * gdb.base/constvars.exp: Likewise.
6286 * gdb.base/hbreak2.exp: Likewise.
6287 * gdb.base/langs.exp: Likewise.
6288 * gdb.base/list.exp: Likewise.
6289 * gdb.base/long_long.exp: Likewise.
6290 * gdb.base/ptype.exp: Likewise.
6291 * gdb.base/scope.exp: Likewise.
6292 * gdb.base/signals.exp: Likewise.
6293 * gdb.base/so-impl-ld.exp: Likewise.
6294 * gdb.base/varargs.exp: Likewise.
6295 * gdb.base/volatile.exp: Likewise.
6296 * gdb.base/whatis.exp: Likewise.
6297 * gdb.cp/cplusfuncs.exp: Likewise.
6298 * gdb.cp/inherit.exp: Likewise.
6299 * gdb.cp/local.exp: Likewise.
6300 * gdb.cp/member-ptr.exp: Likewise.
6301 * gdb.cp/method.exp: Likewise.
6302 * gdb.cp/overload.exp: Likewise.
6303 * gdb.cp/templates.exp: Likewise.
6304 * gdb.stabs/weird.exp: Likewise.
6305 * lib/compiler.c: Likewise.
6306 * lib/compiler.cc: Likewise.
6307 * lib/cp-support.exp: Likewise.
6308 * lib/gdb.exp: Likewise.
6309
bf401b07
SM
63102015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
6311
6312 * configure.ac: Remove HP-UX case.
6313 * configure: Regenerate.
6314
aff9c0f8
SM
63152015-12-18 Simon Marchi <simon.marchi@ericsson.com>
6316
6317 * lib/gdb.exp (gdb_compile): Add function doc.
6318
a6904d5a
PA
63192015-12-17 Pedro Alves <palves@redhat.com>
6320
6321 PR threads/19354
6322 * gdb.multi/info-threads.exp: New file.
6323
a22279dd
YQ
63242015-12-15 Yao Qi <yao.qi@linaro.org>
6325
6326 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
6327 is aarch64*-*-*.
6328
0588c796
SL
63292015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6330
6331 * gdb.base/history-duplicates.exp: Skip if no readline support.
6332
5d978e17
SL
63332015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6334
6335 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
6336
7e763b86
SL
63372015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6338
6339 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
6340
87a3a92c
SL
63412015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6342
6343 * gdb.base/completion.exp: Skip tests that interrupt GDB with
6344 ctrl-C if nointerrupts target property is set.
6345 * gdb.base/double-prompt-target-event-error.exp: Likewise.
6346 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
6347 * gdb.base/paginate-bg-execution.exp: Likewise.
6348 * gdb.base/paginate-execution-startup.exp: Likewise.
6349 * gdb.base/random-signal.exp: Likewise.
6350 * gdb.base/range-stepping.exp: Likewise.
6351 * gdb.cp/annota2.exp: Likewise.
6352 * gdb.cp/annota3.exp: Likewise.
6353 * gdb.gdb/selftest.exp: Likewise.
6354 * gdb.threads/continue-pending-status.exp: Likewise.
6355 * gdb.threads/leader-exit.exp: Likewise.
6356 * gdb.threads/manythreads.exp: Likewise.
6357 * gdb.threads/pthreads.exp: Likewise.
6358 * gdb.threads/schedlock.exp: Likewise.
6359 * gdb.threads/sigthread.exp: Likewise.
6360
a8f077dc
DB
63612015-12-11 Don Breazeal <donb@codesourcery.com>
6362
6363 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
6364 remote.
6365 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
6366 * gdb.base/foll-exec.exp (main): Enable for target remote.
6367 * gdb.base/foll-fork.exp (main): Likewise.
6368 * gdb.base/foll-vfork.exp (main): Likewise.
6369 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
6370 (proc continue_to_exit_bp_loc): Use clean_restart.
6371 * gdb.base/pie-execl.exp (main): Disable for target remote.
6372 * gdb.base/watch-vfork.exp (main): Enable for target remote.
6373 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
6374 * gdb.threads/execl.exp (main): Likewise.
6375 * gdb.threads/fork-child-threads.exp (main): Likewise.
6376 * gdb.threads/fork-plus-threads.exp (main): Disable for target
6377 remote.
6378 * gdb.threads/fork-thread-pending.exp (main): Enable for target
6379 remote.
6380 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
6381 pid.tid style ptids, instead of just tid.
6382 * gdb.threads/thread-execl.exp (main): Enable for target remote.
6383 * gdb.threads/watchpoint-fork.exp (main): Likewise.
6384 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
6385 ptids, instead of just tid.
6386
3b2464a8
AB
63872015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6388
6389 * gdb.base/list.exp (test_list_forward): Add end of file error
6390 test.
6391 (test_repeat_list_command): Add end of file error test.
6392 (test_list_backwards): Add beginning of file error test.
6393
a0def019
AB
63942015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6395
6396 * gdb.base/list.exp (test_list_invalid_args): New function,
6397 defined, and called.
6398
5c000dff
AB
63992015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6400
6401 * gdb.base/list.exp (test_list): Make test names unique.
6402
f1637ebe
YQ
64032015-12-11 Yao Qi <yao.qi@linaro.org>
6404
6405 * gdb.base/coremaker2.c: Remove.
6406
36d6fc0a
PA
64072015-12-10 Pedro Alves <palves@redhat.com>
6408
6409 * gdb.multi/base.exp: Remove stale "spaces" references.
6410
762f7747
PA
64112015-12-10 Pedro Alves <palves@redhat.com>
6412
6413 * gdb.multi/base.exp: Don't use nowarnings.
6414 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
6415 * gdb.multi/hangout.c: Include stdio.h.
6416 * gdb.multi/hello.c: Include stdlib.h.
6417 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
6418 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
6419 * gdb.multi/multi-arch.exp: Don't use nowarnings.
6420
28d2bfb9
AB
64212015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
6422
6423 * gdb.dwarf2/dw2-ranges-base.c: New file.
6424 * gdb.dwarf2/dw2-ranges-base.exp: New file.
6425 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
6426 support additional line table, and debug ranges generation.
6427 (Dwarf::ranges): New function, generate .debug_ranges.
6428 (Dwarf::lines): Support generating simple line table programs.
6429 (Dwarf::assemble): Initialise new namespace variables.
6430
5fc2beac
KB
64312015-12-09 Kevin Buettner <kevinb@redhat.com>
6432
6433 * gdb.base/async.exp (proc test_background): Add case for
6434 asynchronous execution not supported.
6435
1c35a88f
LM
64362015-12-09 Luis Machado <lgustavo@codesourcery.com>
6437
6438 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
6439 format and change test names to make them unique.
6440
b593e3d9
RK
64412015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
6442 Pedro Alves <pedro@redhat.com>
6443
6444 PR gdb/18702
6445 Add checking of floatformats setup on x86_64 hosts.
6446 * gdb.arch/i386-float.S (main): Load bigval and smallval.
6447 (smallval, bigval): New labels/constants.
6448 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
6449 float" after loading bigval and smallval.
6450
d72413e6
PMR
64512015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
6452
6453 * gdb.ada/fun_overload_menu.exp: New testcase.
6454 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
6455
ece66d65
JS
64562015-12-04 Josh Stone <jistone@redhat.com>
6457
6458 * gdb.base/catch-fork-static.exp: New.
6459
41d0efca
YQ
64602015-12-03 Yao Qi <yao.qi@linaro.org>
6461
6462 * gdb.base/sizeof.c: Don't include stdio.h and
6463 ../lib/unbuffer_output.c.
6464 (main): New variable 'size' and 'value'. Remove printf and
6465 gdb_unbuffer_output. Assign return value to size and value.
6466 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
6467 at the beginning.
6468 (check_sizeof): Check the result by printing variable 'size'.
6469 (check_valueof): Check the result by printing variable 'value'.
6470
99fd02d9
YQ
64712015-12-01 Yao Qi <yao.qi@linaro.org>
6472
6473 * gdb.base/disp-step-syscall.exp: Define syscall instruction
6474 for aarch64*-*-linux* target.
6475
f2faf941
PA
64762015-11-30 Pedro Alves <palves@redhat.com>
6477
6478 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
6479
04bf20c5
PA
64802015-11-30 Pedro Alves <palves@redhat.com>
6481
6482 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
6483 Handle non-stop mode vCont replies.
6484
09df4675
PA
64852015-11-30 Pedro Alves <palves@redhat.com>
6486
6487 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
6488 prepare_for_testing. Start gdb with "set non-stop on" appended to
6489 GDBFLAGS. Lax expected stop output.
6490
58b584af
YQ
64912015-11-27 Yao Qi <yao.qi@linaro.org>
6492
6493 * gdb.arch/arm-neon.exp: New.
6494 * gdb.arch/arm-neon.c: New.
6495
dfcb77a8
YQ
64962015-11-27 Yao Qi <yao.qi@linaro.org>
6497
6498 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
6499
88e8ec1b
YQ
65002015-11-27 Yao Qi <yao.qi@linaro.org>
6501
6502 * gdb.cp/annota2.exp: Allow multiple occurrences of the
6503 frames-invalid annotation.
6504
bfde72c2
YQ
65052015-11-27 Yao Qi <yao.qi@linaro.org>
6506
6507 * gdb.cp/annota2.exp: Use ${frames_invalid}.
6508
f6512a69
SM
65092015-11-26 Simon Marchi <simon.marchi@ericsson.com>
6510
6511 * gdb.threads/names.exp: New file.
6512 * gdb.threads/names.c: New file.
6513 * README: Mention gdb,no_thread_names.
6514
46a3515b
MM
65152015-11-26 Markus Metzger <markus.t.metzger@intel.com>
6516
6517 PR 19297
6518 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
6519 support" error.
6520
62147a22
PA
65212015-11-24 Pedro Alves <palves@redhat.com>
6522
6523 PR 17539
6524 * gdb.base/display.exp: Expect displays to be sorted in ascending
6525 order. Use multi_line.
6526 * gdb.base/solib-display.exp: Likewise.
6527
2f341b6e
PA
65282015-11-24 Pedro Alves <palves@redhat.com>
6529
6530 PR 17539
25d49b86
PA
6531 * gdb.base/display.exp: Expect displays to be sorted in ascending
6532 order. Use multi_line.
6533 * gdb.base/solib-display.exp: Likewise.
2f341b6e 6534
7e0aa6aa
PA
65352015-11-24 Pedro Alves <palves@redhat.com>
6536
6537 PR 17539
6538 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
6539 threads in ascending order.
6540 * gdb.base/foll-fork.exp: Likewise.
6541 * gdb.base/foll-vfork.exp: Likewise.
6542 * gdb.base/multi-forks.exp: Likewise.
6543 * gdb.mi/mi-nonstop.exp: Likewise.
6544 * gdb.mi/mi-nsintrall.exp: Likewise.
6545 * gdb.multi/base.exp: Likewise.
6546 * gdb.multi/multi-arch.exp: Likewise.
6547 * gdb.python/py-inferior.exp: Likewise.
6548 * gdb.threads/break-while-running.exp: Likewise.
6549 * gdb.threads/execl.exp: Likewise.
6550 * gdb.threads/gcore-thread.exp: Likewise.
6551 * gdb.threads/info-threads-cur-sal.exp: Likewise.
6552 * gdb.threads/kill.exp: Likewise.
6553 * gdb.threads/linux-dp.exp: Likewise.
6554 * gdb.threads/multiple-step-overs.exp: Likewise.
6555 * gdb.threads/next-bp-other-thread.exp: Likewise.
6556 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
6557 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
6558 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
6559 * gdb.threads/thread-find.exp: Likewise.
6560 * gdb.threads/tls.exp: Likewise.
6561 * lib/mi-support.exp (mi_reverse_list): Delete.
6562 (mi_check_thread_states): No longer reverse list.
6563
2cc57ad8
PA
65642015-11-24 Pedro Alves <palves@redhat.com>
6565
6566 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
6567 use lowercase.
6568
c93e8391
SM
65692015-11-23 Simon Marchi <simon.marchi@ericsson.com>
6570
6571 * gdb.trace/actions.c: Include trace-common.h.
6572 (main): Add a location for a fast tracepoint.
6573 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
6574 the normal tracepoints.
6575 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
6576
045ccf91
SM
65772015-11-23 Simon Marchi <simon.marchi@ericsson.com>
6578
6579 * save-trace.exp: Factor out code to these...
6580 (gdb_save_tracepoints): New.
6581 (gdb_load_tracepoints): New.
6582 (do_save_load_test): New.
6583
5506f9f6
KB
65842015-11-23 Kevin Buettner <kevinb@redhat.com>
6585
6586 * gdb.base/asmlabel.exp: New test.
6587 * gdb.base/asmlabel.c: New test case.
6588
16c3b12f
JB
65892015-11-23 Joel Brobecker <brobecker@adacore.com>
6590
6591 * gdb.base/wrong_frame_bt_full-main.c: New file.
6592 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
6593 * gdb.base/wrong_frame_bt_full.exp: New file.
6594
155bfbd3
JB
65952015-11-23 Joel Brobecker <brobecker@adacore.com>
6596
6597 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
6598
bb097445
JM
65992015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
6600
206853a0 6601 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
6602 pstate register when comparing registers values in
6603 sparc64-*-linux-gnu targets to avoid spurious differences.
6604
9c88ed8f
JM
66052015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
6606
206853a0 6607 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 6608
96161e25
SL
66092015-11-19 Sandra Loosemore <sandra@codesourcery.com>
6610
6611 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
6612 as type argument to gdb_compile.
6613 * gdb.base/nested-subp2.exp: Likewise.
6614 * gdb.base/nested-subp3.exp: Likewise.
6615
340c2830
DV
66162015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
6617
6618 * lib/dwarf.exp (_note): Fix left shift of negative value.
6619 * gdb.trace/trace-condition.exp: Likewise.
6620
c1862d0f
YQ
66212015-11-13 Yao Qi <yao.qi@linaro.org>
6622
6623 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
6624 comments about d10v.
6625 (test_scalar_returns): Likewise.
6626 * gdb.base/d10v.ld: Remove.
6627 * gdb.base/overlays.exp: Remove the target triplet checking for
6628 d10v-*-*.
6629 * gdb.base/structs.exp (test_struct_returns): Remove the
6630 comments about d10v.
6631 (test_struct_calls): Likewise.
6632
77ae9c19
YQ
66332015-11-13 Yao Qi <yao.qi@linaro.org>
6634
6635 * gdb.base/gnu_vector.exp: Check the return value by "p res".
6636 * gdb.base/gnu_vector.c: Don't include stdio.h.
6637 (main): Don't print res and call add_some_intvecs.
6638
430e004e
MK
66392015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
6640
6641 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
6642 macro.
6643 (func5): Removed.
6644 (func4): Use FAST_TRACEPOINT_LABEL.
6645 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
6646 macro.
6647 (func): Removed.
6648 (thread_function): Use FAST_TRACEPOINT_LABEL.
6649 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
6650 (func): Remove.
6651 (marker): Use FAST_TRACEPOINT_LABEL.
6652 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
6653 (pendfunc1): Remove.
6654 (pendfunc): Use FAST_TRACEPOINT_LABEL.
6655 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
6656 (foo): Remove.
6657 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
6658 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
6659 macro.
6660 (func): Remove.
6661 (marker): Use FAST_TRACEPOINT_LABEL.
6662 * gdb.trace/trace-common.h: New header.
6663 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
6664 macro.
6665 (func): Remove.
6666 (marker): Use FAST_TRACEPOINT_LABEL.
6667 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
6668 (func): Remove.
6669 (thread_function): Use FAST_TRACEPOINT_LABEL.
6670
6e7675a7
MK
66712015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
6672
6673 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
6674 in front.
6675 * gdb.trace/change-loc.exp: Use global pcreg definition.
6676 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
6677 * gdb.trace/entry-values.exp: Use global spreg definition, add $
6678 in front.
6679 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
6680 * gdb.trace/pending.exp: Likewise.
6681 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
6682 * gdb.trace/trace-break.exp: Likewise.
6683 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
6684 in front.
6685 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
6686 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
6687 in front.
6688 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
6689
dddc0e16
JB
66902015-11-09 Joel Brobecker <brobecker@adacore.com>
6691
6692 * gdb.ada/fin_fun_out: New testcase.
6693
c6f0b406
KB
66942015-11-07 Kevin Buettner <kevinb@redhat.com>
6695
6696 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
6697 value associated with DW_AT_byte_size.
6698 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
6699 constants for DW_AT_byte_size, DW_AT_lower_bound, and
6700 DW_AT_upper_bound.
6701
f01dcfd9
KB
67022015-11-07 Kevin Buettner <kevinb@redhat.com>
6703
6704 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
6705 (gdb_target_symbol_prefix_flags): Define in terms of _asm
6706 version.
6707 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
6708 gdb.dwarf2/dw2-canonicalize-type.exp,
6709 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
6710 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
6711 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
6712 provided by gdb_target_symbol_prefix_flags_asm.
6713 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
6714 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
6715 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
6716 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
6717 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
6718 macros where needed). Use this macro for symbols which require
6719 the prefix provided by SYMBOL_PREFIX.
6720
2223449a
KB
67212015-11-05 Kevin Buettner <kevinb@redhat.com>
6722
6723 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
6724 New procs.
6725 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
6726 representing expressions, of more than one list element.
6727 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
6728 to prepend linker symbol prefix to f.
6729 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
6730 table_1 and table_2.
6731 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
6732 Likewise, for f and g.
6733 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
6734 for ptr.
6735 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
6736 for main.
6737 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
6738 table_1_ptr and table_2_ptr.
6739
6f2f1a3a
JK
67402015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6741 Joel Brobecker <brobecker@adacore.com>
6742
6743 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
6744
566c56c9
MK
67452015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
6746
6747 * gdb.reverse/s390-mvcle.c: New test.
6748 * gdb.reverse/s390-mvcle.exp: New file.
6749 * lib/gdb.exp: Enable reverse tests on s390*-linux.
6750
d5f0636b
MK
67512015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
6752
6753 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
6754
7ad8b86c
MK
67552015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
6756
6757 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
6758 reaching marker2.
6759 * gdb.reverse/getresuid-reverse.exp: Likewise.
6760 * gdb.reverse/pipe-reverse.exp: Likewise.
6761 * gdb.reverse/readv-reverse.exp: Likewise.
6762 * gdb.reverse/recvmsg-reverse.exp: Likewise.
6763 * gdb.reverse/time-reverse.exp: Likewise.
6764 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
6765
4081c0f1
YQ
67662015-10-30 Yao Qi <yao.qi@linaro.org>
6767
6768 * gdb.threads/wp-replication.c (watch_count_done): Remove.
6769 (empty_cycle): Remove.
6770 (main): Don't call empty_cycle. Don't use watch_count_done.
6771 * gdb.threads/wp-replication.exp: Don't set breakpoint on
6772 empty_cycle. Rewrite the code counting HW watchpoints.
6773
452b4ba5
MK
67742015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
6775
6776 * gdb.reverse/fstatat-reverse.c: New test.
6777 * gdb.reverse/fstatat-reverse.exp: New file.
6778 * gdb.reverse/getresuid-reverse.c: New test.
6779 * gdb.reverse/getresuid-reverse.exp: New file.
6780 * gdb.reverse/pipe-reverse.c: New test.
6781 * gdb.reverse/pipe-reverse.exp: New file.
6782 * gdb.reverse/readv-reverse.c: New test.
6783 * gdb.reverse/readv-reverse.exp: New file.
6784 * gdb.reverse/recvmsg-reverse.c: New test.
6785 * gdb.reverse/recvmsg-reverse.exp: New file.
6786 * gdb.reverse/time-reverse.c: New test.
6787 * gdb.reverse/time-reverse.exp: New file.
6788 * gdb.reverse/waitpid-reverse.c: New test.
6789 * gdb.reverse/waitpid-reverse.exp: New file.
6790
5e2e7507
JK
67912015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6792
6793 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
6794
0fde2c53
DE
67952015-10-26 Doug Evans <dje@google.com>
6796
6797 PR symtab/17391
6798 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
6799 * gdb.dwarf2/bad-regnum.c: New file.
6800 * gdb.dwarf2/bad-regnum.exp: New file.
6801
1a70ae97
DE
68022015-10-26 Doug Evans <dje@google.com>
6803
6804 PR python/18938
6805 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
6806 file.
6807
27dc26ab
JK
68082015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6809
6810 * gdb.compile/compile.exp (compile code globalvar): Update expectation
6811 for a change by "Mention language in compile error message".
6812
bed91f4d
SM
68132015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
6814
6815 PR python/18073
6816 * gdb.python/py-type.c (C::a_method): New.
6817 (C::a_const_method): New.
6818 (C::a_static_method): New.
6819 (a_function): New.
6820 * gdb.python/py-type.exp (test_fields): Test getting fields
6821 from function and method.
6822
3f2f83dd
KB
68232015-10-21 Keven Boell <keven.boell@intel.com>
6824
6825 * gdb.fortran/vla-alloc-assoc.exp: New file.
6826 * gdb.fortran/vla-datatypes.exp: New file.
6827 * gdb.fortran/vla-datatypes.f90: New file.
6828 * gdb.fortran/vla-history.exp: New file.
6829 * gdb.fortran/vla-ptype-sub.exp: New file.
6830 * gdb.fortran/vla-ptype.exp: New file.
6831 * gdb.fortran/vla-sizeof.exp: New file.
6832 * gdb.fortran/vla-sub.f90: New file.
6833 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
6834 * gdb.fortran/vla-value-sub-finish.exp: New file.
6835 * gdb.fortran/vla-value-sub.exp: New file.
6836 * gdb.fortran/vla-value.exp: New file.
6837 * gdb.fortran/vla-ptr-info.exp: New file.
6838 * gdb.mi/mi-vla-fortran.exp: New file.
6839 * gdb.mi/vla.f90: New file.
6840
27145d50
SL
68412015-10-21 Sandra Loosemore <sandra@codesourcery.com>
6842
6843 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
6844 of hardwired timeout value.
6845
5f3ff4f8
JK
68462015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6847 Pedro Alves <palves@redhat.com>
6848
6849 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
6850 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
6851
bfd09d20
JS
68522015-10-19 Josh Stone <jistone@redhat.com>
6853
6854 * gdb.base/catch-syscall.c: Include <sched.h>.
6855 (unknown_syscall): New variable.
6856 (main): Trigger a vfork and an unknown syscall.
6857 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
6858 (unknown_syscall_number): Likewise.
6859 (check_call_to_syscall): Accept an optional syscall pattern.
6860 (check_return_from_syscall): Likewise.
6861 (check_continue): Likewise.
6862 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
6863 (test_catch_syscall_skipping_return): New test toggling off 'catch
6864 syscall' to step over the syscall return, then toggling back on.
6865 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
6866 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
6867 (do_syscall_tests): Call test_catch_syscall_without_args and
6868 test_catch_syscall_mid_vfork.
6869 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
6870 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
6871
b32b93c6
AS
68722015-10-19 Andrew Stubbs <ams@codesourcery.com>
6873
6874 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
6875 print g_vE): Add new pass patterns.
6876 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
6877 print various symbol names for vptr fields.
6878
9d622bda
AB
68792015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
6880
6881 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
6882 results.
6883
0fd8ac1c
YQ
68842015-10-12 Yao Qi <yao.qi@linaro.org>
6885
6886 * gdb.arch/disp-step-insn-reloc.exp: New test case.
6887
34240514
YQ
68882015-10-12 Yao Qi <yao.qi@linaro.org>
6889
6890 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
6891 is aarch64*-*-linux*.
6892
8240f442
YQ
68932015-10-12 Yao Qi <yao.qi@linaro.org>
6894
6895 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
6896 (can_relocate_bcond_true): ... it.
6897 (can_relocate_bcond_false): New function.
6898 (foo): Likewise.
6899 (can_relocate_bl): Likewise.
6900 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
6901 can_relocate_bl.
6902
2520f728
PMR
69032015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
6904
6905 * gdb.base/nested-addr.c: New file.
6906 * gdb.base/nested-addr.exp: New testcase.
6907
abcef95a
MM
69082015-10-09 Markus Metzger <markus.t.metzger@intel.com>
6909
6910 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
6911 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
6912 its output. Ignore the output of "record goto begin" and instead
6913 check that GDB is replaying.
6914
145e3ddb
PA
69152015-10-09 Pedro Alves <palves@redhat.com>
6916
6917 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
6918 (top level): Use it in the run with no args test.
6919
d5d8c4e1
IB
69202015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
6921
6922 * gdb.dlang/properties.exp: New file.
6923
06e635ef
SL
69242015-10-02 Sandra Loosemore <sandra@codesourcery.com>
6925
6926 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
6927 whether or not address 0x1000 is mapped on the target.
6928
e019fd1d
SM
69292015-09-30 Simon Marchi <simon.marchi@ericsson.com>
6930
6931 * gdb.python/py-type.exp: Do not run tests if binaries fail to
6932 build.
6933
77ba2a67
MM
69342015-09-30 Markus Metzger <markus.t.metzger@intel.com>
6935
6936 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
6937 instruction-history test.
6938
c60eb31f
DE
69392015-09-28 Doug Evans <dje@google.com>
6940
6941 * gdb.base/gcore.c (array_func): Add reference to static_array.
6942
9a3c8263
SM
69432015-09-25 Simon Marchi <simon.marchi@ericsson.com>
6944
6945 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
6946 source line.
6947
9720e656
SL
69482015-09-24 Sandra Loosemore <sandra@codesourcery.com>
6949
6950 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
6951 short or char as base type.
6952
938d3bf2
SL
69532015-09-23 Sandra Loosemore <sandra@codesourcery.com>
6954
6955 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
6956 to allow any size enum.
6957
e6c2c623
PMR
69582015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
6959
6960 * gdb.ada/array_ptr_renaming.exp: New testcase.
6961 * gdb.ada/array_ptr_renaming/foo.adb: New file.
6962 * gdb.ada/array_ptr_renaming/pack.ads: New file.
6963
06da0f77
PL
69642015-09-21 Pierre Langlois <pierre.langlois@arm.com>
6965
6966 * gdb.trace/ftrace-lock.c: New file.
6967 * gdb.trace/ftrace-lock.exp: New file.
6968
4f51c22a
PL
69692015-09-21 Pierre Langlois <pierre.langlois@arm.com>
6970
6971 * gdb.arch/insn-reloc.c: New file.
6972 * gdb.arch/ftrace-insn-reloc.exp: New file.
6973
7041adf4
PL
69742015-09-21 Pierre Langlois <pierre.langlois@arm.com>
6975
6976 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
6977 instruction.
6978 * gdb.trace/pendshr1.c (pendfunc): Likewise.
6979 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
6980 * gdb.trace/range-stepping.c: Likewise.
6981 * gdb.trace/trace-break.c: Likewise.
6982 * gdb.trace/trace-mt.c (thread_function): Likewise.
6983 * gdb.trace/ftrace.c (marker): Likewise.
6984 * gdb.trace/trace-condition.c (marker): Likewise.
6985 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
6986 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
6987 is_aarch64_target.
6988
015d2e7e
DE
69892015-09-18 Doug Evans <xdje42@gmail.com>
6990
6991 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
6992 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
6993
26b188a2
SL
69942015-09-18 Sandra Loosemore <sandra@codesourcery.com>
6995
6996 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
6997 the breakpoint.
6998
79dc332b
SL
69992015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7000
7001 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
7002 the pending breakpoint. Remove timeout override for "Run till
7003 MI pending breakpoint on pendfunc3 on thread 2" test.
7004
f57929f2
SL
70052015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7006
7007 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
7008 filename pattern.
7009
3f469b17
SL
70102015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7011
7012 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
7013 in breakpoint filename pattern.
7014
515b89b3
SL
70152015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7016
7800dbe4
SL
7017 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
7018
70192015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7020
515b89b3
SL
7021 * gdb.linespec/explicit.exp: Check for readline support for
7022 tab-completion tests. Fix obvious typo.
7023
d2939ba2
MM
70242015-09-18 Markus Metzger <markus.t.metzger@intel.com>
7025
7026 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
7027 and replay.
7028
cbb55fa7
MM
70292015-09-18 Markus Metzger <markus.t.metzger@intel.com>
7030
7031 * gdb.btrace/non-stop.c: New.
7032 * gdb.btrace/non-stop.exp: New.
7033
43691ca1
PL
70342015-09-17 Pierre Langlois <pierre.langlois@arm.com>
7035 Yao Qi <yao.qi@linaro.org>
7036
7037 * gdb.trace/trace-condition.c: New file.
7038 * gdb.trace/trace-condition.exp: New file.
7039
d78908cf
WW
70402015-09-16 Wei-cheng Wang <cole945@gmail.com>
7041
7042 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
7043 for testing bytecode compilation.
7044
1ed415e2
PA
70452015-09-16 Pedro Alves <palves@redhat.com>
7046 Sandra Loosemore <sandra@codesourcery.com>
7047
7048 * gdb.threads/non-stop-fair-events.c (timeout): New global.
7049 (SECONDS): Redefine.
7050 (main): Call pthread_kill and alarm early.
7051 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
7052 support.
7053 (test): If the target can't hardware step and doesn't support
7054 displaced stepping, increase the timeout.
7055
d136eff5
PA
70562015-09-16 Pedro Alves <palves@redhat.com>
7057
7058 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
7059 (enable_debug): New procedures.
7060 (test): Use them. Bail out if waiting for threads fails.
7061 (top level): Bail out if a test fails.
7062
991f019c
YQ
70632015-09-16 Yao Qi <yao.qi@linaro.org>
7064
7065 * gdb.asm/asm-source.exp: Set asm-arch for
7066 aarch64*-*-* target.
7067 * gdb.asm/aarch64.inc: New file.
7068
bfca584f
PMR
70692015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
7070
7071 * gdb.ada/array_of_variable_length.exp: New testcase.
7072 * gdb.ada/array_of_variable_length/foo.adb: New file.
7073 * gdb.ada/array_of_variable_length/pck.adb: New file.
7074 * gdb.ada/array_of_variable_length/pck.ads: New file.
7075
b326e587
DE
70762015-09-15 Doug Evans <dje@google.com>
7077
7078 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
7079 of function static local variable.
7080
5382cfab
PW
70812015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7082
7083 * gdb.threads/tls-so_extern.exp: New test file.
7084 * gdb.threads/tls-so_extern.c: New test file.
7085 * gdb.threads/tls-so_extern_main.c: New test file.
7086
141c5cc4
JK
70872015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7088
7089 * gdb.opt/solib-intra-step-lib.c: New file.
7090 * gdb.opt/solib-intra-step-main.c: New file.
7091 * gdb.opt/solib-intra-step.exp: New file.
7092
d15dcecd
PA
70932015-09-15 Pedro Alves <palves@redhat.com>
7094
7095 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
7096 gdb_continue_to_breakpoint instead of gdb_test_multiple.
7097
4c2f2a79
PA
70982015-09-14 Pedro Alves <palves@redhat.com>
7099
7100 * gdb.base/hook-stop-continue.c: Delete.
7101 * gdb.base/hook-stop-continue.exp: Delete.
7102 * gdb.base/hook-stop-frame.c: Delete.
7103 * gdb.base/hook-stop-frame.exp: Delete.
7104 * gdb.base/hook-stop.c: New file.
7105 * gdb.base/hook-stop.exp: New file.
7106
919e6dbe
PMR
71072015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
7108
7109 * gdb.ada/access_to_packed_array.exp: New testcase.
7110 * gdb.ada/access_to_packed_array/foo.adb: New file.
7111 * gdb.ada/access_to_packed_array/pack.adb: New file.
7112 * gdb.ada/access_to_packed_array/pack.ads: New file.
7113
157280a4
MM
71142015-09-14 Markus Metzger <markus.t.metzger@intel.com>
7115
7116 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
7117 buffer size test.
7118
2fd33e94
DB
71192015-09-11 Don Breazeal <donb@codesourcery.com>
7120
7121 * gdb.base/foll-exec.c: Add copyright header. Fix
7122 formatting issues.
7123 * gdb.base/foll-exec.exp (zap_session): Delete proc.
7124 (do_exec_tests): Use clean_restart in place of zap_session,
7125 and for test initialization. Fix formatting issues. Use
7126 fail in place of perror.
7127 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
7128 an expect statement to match an expression with output from
7129 the program under debug.
7130 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
7131 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
7132 * gdb.threads/non-ldr-exc-2.exp: Likewise.
7133 * gdb.threads/non-ldr-exc-3.exp: Likewise.
7134 * gdb.threads/non-ldr-exc-4.exp: Likewise.
7135
e70b6e8e
DE
71362015-09-09 Doug Evans <dje@google.com>
7137
7138 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
7139
7a551a51
DE
71402015-09-09 Doug Evans <dje@google.com>
7141
7142 * gdb.base/pie-execl.exp: Fix result test of build_executable.
7143
4c666f84
DE
71442015-09-09 Doug Evans <dje@google.com>
7145
7146 * gdb.base/savedregs.exp: Fix typo.
7147
243a9253
PA
71482015-09-09 Pedro Alves <palves@redhat.com>
7149
7150 * gdb.mi/mi-cli.exp: Add CLI finish tests.
7151
c0fa8fbd
SL
71522015-09-08 Sandra Loosemore <sandra@codesourcery.com>
7153
7154 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
7155 command actually switches threads. Give up on remaining
7156 tests if target fails to stop at breakpoint.
7157
cd7c1778
PMR
71582015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
7159
7160 * gdb.ada/funcall_char.exp: New testcase.
7161 * gdb.ada/funcall_char/foo.adb: New file.
7162
dc5c8746
PMR
71632015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
7164
7165 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
7166 expected outputs. Add two testcases for completing ambiguous
7167 functions.
7168 * gdb.ada/complete/aux_pck.adb: New file.
7169 * gdb.ada/complete/aux_pck.ads: New file.
7170 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
7171 Ambiguous_Func functions.
7172 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
7173 * gdb.ada/complete/pck.adb: Likewise.
7174
4e83a1e7
UW
71752015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
7176
7177 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
7178 failures to run the test program under GDB.
7179
8ce74153
LM
71802015-08-26 Luis Machado <lgustavo@codesourcery.com>
7181
7182 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
7183 to C.
7184
e9756d52
PP
71852015-08-26 Patrick Palka <patrick@parcs.ath.cx>
7186
7187 * gdb.base/run-after-attach.exp: New test file.
7188 * gdb.base/run-after-attach.c: New test file.
7189
8d37573b
DB
71902015-08-26 Don Breazeal <donb@codesourcery.com>
7191
7192 * gdb.base/foll-exec-2.c: New test program.
7193 * gdb.base/foll-exec-2.exp: New test.
7194
63e43d3a
PMR
71952015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
7196
7197 * gdb.base/nested-subp1.exp: New file.
7198 * gdb.base/nested-subp1.c: New file.
7199 * gdb.base/nested-subp2.exp: New file.
7200 * gdb.base/nested-subp2.c: New file.
7201 * gdb.base/nested-subp3.exp: New file.
7202 * gdb.base/nested-subp3.c: New file.
7203
3d40fbb5
PA
72042015-08-24 Pedro Alves <palves@redhat.com>
7205
7206 * gdb.server/connect-without-multi-process.c: New file.
7207 * gdb.server/connect-without-multi-process.exp: New file.
7208
4422ac93
LM
72092015-08-24 Luis Machado <lgustavo@codesourcery.com>
7210
7211 * gdb.opt/inline-markers.c: Make z int.
7212
91dddb86
LM
72132015-08-24 Luis Machado <lgustavo@codesourcery.com>
7214
7215 * gdb.opt/inline-markers.c: Make z volatile.
7216
a48847ee
LM
72172015-08-24 Luis Machado <lgustavo@codesourcery.com>
7218
7219 * gdb.opt/inline-bt.c: New volatile global z.
7220 * gdb.opt/inline-cmds.c: Likewise.
7221 * gdb.opt/inline-locals.c: Likewise.
7222 * gdb.opt/inline-markers.c: New extern global z.
7223 (marker): Use z.
7224 (inline_fn): Likewise.
7225
0ebbc52b
PA
72262015-08-24 Pedro Alves <palves@redhat.com>
7227
7228 * config/m32r-stub.exp: Remove file.
7229 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
7230 * gdb.base/call-rt-st.exp: Likewise.
7231 * gdb.base/call-strs.exp: Likewise.
7232 * gdb.base/default.exp: Remove references to h8300-*-hms and
7233 *-*-udi*.
7234 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
7235
77c365df
AA
72362015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7237
7238 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
7239 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
7240 and "return" use KFAIL when GDB can not read/write the vector
7241 return value.
7242
4313b8c0
GB
72432015-08-21 Gary Benson <gbenson@redhat.com>
7244
7245 * gdb.trace/pending.exp: Cope with remote transfer warnings.
7246
0e433b32
PA
72472015-08-20 Pedro Alves <palves@redhat.com>
7248
7249 * gdb.server/solib-list.exp: No longer expect an interior stop in
7250 non-stop mode.
7251
221e1a37
PA
72522015-08-20 Pedro Alves <palves@redhat.com>
7253
7254 * gdb.server/connect-stopped-target.c: New file.
7255 * gdb.server/connect-stopped-target.exp: New file.
7256
40e3ad0e
PA
72572015-08-20 Pedro Alves <palves@redhat.com>
7258
7259 * gdb.dwarf2/comp-unit-lang.exp: New file.
7260 * gdb.dwarf2/comp-unit-lang.c: New file.
7261
af39b327
PMR
72622015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
7263
7264 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
7265 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
7266
7d45c7c3 72672015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 7268
7d45c7c3
KB
7269 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
7270 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
7271
4d6cceb4
DE
72722015-08-18 Doug Evans <dje@google.com>
7273 Adrian Sendroiu <adrian.sendroiu@freescale.com>
7274
7275 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
7276 skip_python_tests. New arg prompt_regexp.
7277 (skip_python_tests): New function.
7278 * lib/mi-support.exp (mi_skip_python_tests): New function.
7279 * gdb.python/py-mi-objfile-gdb.py: New file.
7280 * gdb.python/py-mi-objfile.c: New file.
7281 * gdb.python/py-mi-objfile.exp: New file.
7282
ad89c2aa
KS
72832015-08-17 Keith Seitz <keiths@redhat.com>
7284
7285 * gdb.linespec/explicit.exp: Move strace test from here ...
7286 * gdb.trace/strace.exp: ... to here.
7287
e3ae3c43
PP
72882015-08-15 Patrick Palka <patrick@parcs.ath.cx>
7289
7290 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
7291 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
7292
604b2636
DE
72932015-08-14 Doug Evans <xdje42@gmail.com>
7294
7295 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
7296 inferior before selecting a new file.
7297
6ff0ba5f
DE
72982015-08-14 Doug Evans <xdje42@gmail.com>
7299
7300 * gdb.mi/mi-disassemble.exp: Update.
7301 * gdb.base/disasm-optim.S: New file.
7302 * gdb.base/disasm-optim.c: New file.
7303 * gdb.base/disasm-optim.h: New file.
7304 * gdb.base/disasm-optim.exp: New file.
7305
9ca98f92
KS
73062015-08-14 Keith Seitz <keiths@redhat.com>
7307
7308 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
7309 "evaluated-by".
7310
52bbc560
JB
73112015-08-13 Joel Brobecker <brobecker@adacore.com>
7312
7313 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
7314
5d8c3ed3
PMR
73152015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
7316
7317 * gdb.ada/fun_renaming.exp: New testcase.
7318 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
7319 * gdb.ada/fun_renaming/pack.adb: New file.
7320 * gdb.ada/fun_renaming/pack.ads: New file.
7321
ea8812bc
KS
73222015-08-12 Keith Seitz <keiths@redhat.com>
7323
7324 * gdb.base/dso2dso.exp: Pass basename of source file in call to
7325 gdb_get_line_number.
7326
4dafcdeb
JB
73272015-08-12 Joel Brobecker <brobecker@adacore.com>
7328
7329 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
7330 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
7331 gdb.base/dso2dso.exp: New files.
7332
5ba32597
SDJ
73332015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
7334 Pedro Alves <palves@redhat.com>
7335 Keith Seitz <keiths@redhat.com>
7336
7337 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
7338 GDBFLAGS.
7339
b6dafabf
PP
73402015-08-12 Patrick Palka <patrick@parcs.ath.cx>
7341
7342 * gdb.base/gdbhistsize-history.exp
7343 (test_histsize_history_setting): Use save_vars.
7344 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
7345 Use save_vars.
7346 (test_no_truncation_of_unlimited_history_file): Use save_vars.
7347 * gdb.base/readline.exp: Use save_vars.
7348
abe8e607
PP
73492015-08-12 Patrick Palka <patrick@parcs.ath.cx>
7350
7351 * lib/gdb.exp (save_vars): New proc.
7352
629500fa
KS
73532015-08-11 Keith Seitz <keiths@redhat.com>
7354
7355 * gdb.base/help.exp: Update help_breakpoint_text.
7356
eb8c4e2e
KS
73572015-08-11 Keith Seitz <keiths@redhat.com>
7358
7359 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
7360 (at toplevel): Call test_explicit_breakpoints.
7361 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
7362 breakpoints.
7363 * lib/mi-support.exp (mi_make_breakpoint): Add support for
7364 breakpoint conditions, "-cond".
7365
87f0e720
KS
73662015-08-11 Keith Seitz <keiths@redhat.com>
7367
7368 * gdb.linespec/3explicit.c: New file.
7369 * gdb.linespec/cpexplicit.cc: New file.
7370 * gdb.linespec/cpexplicit.exp: New file.
7371 * gdb.linespec/explicit.c: New file.
7372 * gdb.linespec/explicit.exp: New file.
7373 * gdb.linespec/explicit2.c: New file.
7374 * gdb.linespec/ls-errs.exp: Add explicit location tests.
7375 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
7376 before using in the matching pattern.
7377 Clarify that `prefix' is a regular expression.
7378
f00aae0f
KS
73792015-08-11 Keith Seitz <keiths@redhat.com>
7380
7381 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
7382 test.
7383 Add tests for missing ",FMT" and ",".
7384
e27852be
DE
73852015-08-10 Doug Evans <dje@google.com>
7386 Keith Seitz <keiths@redhat.com>
7387
7388 PR gdb/17960
7389 * gdb.base/completion.exp: Add location completer tests.
7390
7f03bd92
PA
73912015-08-07 Pedro Alves <palves@redhat.com>
7392
7393 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
7394 tests here.
7395 (top level): Run do_test with and without displaced stepping.
7396
3fc8eb30
PA
73972015-08-07 Pedro Alves <palves@redhat.com>
7398
7399 * gdb.base/valgrind-disp-step.c: New file.
7400 * gdb.base/valgrind-disp-step.exp: New file.
7401
d4569d7b
PA
74022015-08-07 Pedro Alves <palves@redhat.com>
7403
7404 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
7405 Delete function.
7406 (main): Add alarm. Run an infinite loop instead of calling
7407 wait_threads.
7408 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
7409 comment.
7410 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
7411 Delete function.
7412 (main): Add alarm. Run an infinite loop instead of calling
7413 wait_threads.
7414 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
7415 comment.
7416
e1316e60
PA
74172015-08-07 Pedro Alves <palves@redhat.com>
7418
7419 * gdb.base/checkpoint-ns.exp: New file.
7420 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
7421 standard_testfile.
7422
da8c46d2
MM
74232015-08-07 Markus Metzger <markus.t.metzger@intel.com>
7424
7425 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
7426 * gdb.btrace/instruction_history.exp: Update.
7427 * gdb.btrace/tsx.exp: New.
7428 * gdb.btrace/tsx.c: New.
7429
de1c2c52
PA
74302015-08-06 Pedro Alves <palves@redhat.com>
7431
7432 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
7433 increase timeout.
7434 * gdb.reverse/until-precsave.exp: Bump timeouts.
7435
782e0bf4
PA
74362015-08-06 Pedro Alves <palves@redhat.com>
7437
7438 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
7439
83e97ed0
PA
74402015-08-06 Pedro Alves <palves@redhat.com>
7441
7442 PR gdb/18749
7443 * gdb.threads/process-dies-while-handling-bp.c: New file.
7444 * gdb.threads/process-dies-while-handling-bp.exp: New file.
7445
863d01bd
PA
74462015-08-06 Pedro Alves <palves@redhat.com>
7447
7448 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
7449 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
7450
0a39bb32
PA
74512015-08-05 Pedro Alves <palves@redhat.com>
7452
7453 * gdb.threads/next-while-other-thread-longjmps.c: New file.
7454 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
7455
ee2d2b10
SL
74562015-08-03 Sandra Loosemore <sandra@codesourcery.com>
7457
7458 * gdb.base/bp-permanent.exp: Report test as unsupported if
7459 the target cannot stop at the permanent breakpoint.
7460
4e1bdb00
DE
74612015-08-03 Doug Evans <dje@google.com>
7462
7463 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
7464 10000.
7465
3d338901
DE
74662015-08-03 Doug Evans <dje@google.com>
7467
7468 * Makefile.in (workers/%.worker, build-perf): New rule.
7469 (GDB_PERFTEST_MODE): New variable.
7470 (check-perf): Use it.
7471 (clean): Clean up gdb.perf parallel build subdirs.
7472 * lib/build-piece.exp: New file.
7473 * lib/gdb.exp (make_gdb_parallel_path): New function
7474 (standard_output_file, standard_temp_file): Call it.
7475 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
7476 of $GDB_PARALLEL.
7477 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
7478
af061d3e
DE
74792015-08-03 Doug Evans <dje@google.com>
7480
8e1afc81 7481 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
7482 (LOG_FILE_NAME): New global.
7483 (TextReporter.__init__): Initialize self.txt_sum.
7484 (TextReporter.report): Add support for multiple data-points.
7485 Move report to perftest.sum, put raw data in perftest.log.
7486 (TextReporter.start): Open sum and log files.
7487 (TextReporter.end): Close sum and log files.
8e1afc81
DE
7488 * gdb.perf/lib/perftest/testresult.py
7489 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 7490
2c8c5d37
PA
74912015-07-31 Pedro Alves <palves@redhat.com>
7492
7493 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
7494 Use spawn_id_get_pid. Wait for spawn id after eof. Use
7495 kill_wait_spawned_process instead of explicit "kill -9".
7496 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
7497 returning a spawn id instead of a pid. Use spawn_id_get_pid and
7498 kill_wait_spawned_process.
7499 * gdb.base/attach-twice.exp: Likewise.
7500 * gdb.base/attach.exp: Likewise.
7501 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
7502 gdb_test_multiple.
7503 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
7504 returning a spawn id instead of a pid. Use spawn_id_get_pid and
7505 kill_wait_spawned_process.
7506 * gdb.base/valgrind-infcall.exp: Likewise.
7507 * gdb.multi/multi-attach.exp: Likewise.
7508 * gdb.python/py-prompt.exp: Likewise.
7509 * gdb.python/py-sync-interp.exp: Likewise.
7510 * gdb.server/ext-attach.exp: Likewise.
7511 * gdb.threads/attach-into-signal.exp (corefunc): Use
7512 spawn_wait_for_attach, spawn_id_get_pid and
7513 kill_wait_spawned_process.
7514 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
7515 spawn_wait_for_attach returning a spawn id instead of a pid. Use
7516 spawn_id_get_pid and kill_wait_spawned_process.
7517 * gdb.threads/attach-stopped.exp (corefunc): Use
7518 spawn_wait_for_attach, spawn_id_get_pid and
7519 kill_wait_spawned_process.
7520 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
7521 Use spawn_id_get_pid. Wait for spawn id after eof. Use
7522 kill_wait_spawned_process instead of explicit "kill -9".
7523 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
7524 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
7525 (spawn_wait_for_attach): Use spawn instead of exec to spawn
7526 processes. Don't map cygwin/windows pids here. Now returns a
7527 spawn id list.
7528
032a0fca
SL
75292015-07-30 Sandra Loosemore <sandra@codesourcery.com>
7530
7531 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
7532 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
7533 correct patch.
7534
61a934ca
SL
75352015-07-30 Sandra Loosemore <sandra@codesourcery.com>
7536
7537 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
7538
4bc4d428
SL
75392015-07-30 Sandra Loosemore <sandra@codesourcery.com>
7540
7541 Reapply:
7542 2014-05-21 Mark Wielaard <mjw@redhat.com>
7543
7544 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7545
998d452a
PA
75462015-07-30 Pedro Alves <palves@redhat.com>
7547
7548 * linux-low.c (handle_extended_wait): Set the child's last
7549 reported status to TARGET_WAITKIND_STOPPED.
7550
69dde7dc
PA
75512015-07-30 Pedro Alves <palves@redhat.com>
7552
7553 PR threads/18600
7554 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
7555 only shows inferior 1.
7556
4dd63d48
PA
75572015-07-30 Simon Marchi <simon.marchi@ericsson.com>
7558 Pedro Alves <palves@redhat.com>
7559
7560 PR threads/18600
7561 * gdb.threads/fork-plus-threads.c: New file.
7562 * gdb.threads/fork-plus-threads.exp: New file.
7563
d618e4c5
PP
75642015-07-29 Patrick Palka <patrick@parcs.ath.cx>
7565
7566 * gdb.base/batch-preserve-term-settings.exp
7567 (test_terminal_settings_preserved_after_cli_exit): Use
7568 send_quit_command.
7569
1eef6428
PA
75702015-07-29 Pedro Alves <palves@redhat.com>
7571 Don Breazeal <donb@codesourcery.com>
7572
7573 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
7574 output from both inferior_spawn_id and gdb_spawn_id.
7575
7da5b897
SDJ
75762015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
7577
7578 * gdb.threads/attach-into-signal.exp (corefunc): Use
7579 with_test_prefix on nested loops, uniquefying the test messages.
7580
dac804df
SDJ
75812015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
7582
7583 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
7584 commit.
7585
06265e53
PP
75862015-07-29 Patrick Palka <patrick@parcs.ath.cx>
7587
7588 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
7589 New proc.
7590 (test_terminal_settings_preserved_after_sigterm): New test.
7591
18206ca3
PP
75922015-07-29 Patrick Palka <patrick@parcs.ath.cx>
7593
7594 * gdb.base/batch-preserve-term-settings.exp
7595 (test_terminal_settings_preserved_after_cli_exit): New test.
7596
90074d11
PP
75972015-07-29 Patrick Palka <patrick@parcs.ath.cx>
7598
7599 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
7600 manipulation of saved_gdbflags.
7601 (test_terminal_settings_preserved): Remove global declaration of
7602 the unused variable pagination_prompt. Remove manipulation of
7603 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
7604 GDBFLAGS.
7605
eb1a7902
PA
76062015-07-29 Pedro Alves <palves@redhat.com>
7607
7608 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
7609
8b75dd3b
PA
76102015-07-29 Pedro Alves <palves@redhat.com>
7611
7612 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
7613 at the top.
7614
dedad4e3
PA
76152015-07-29 Pedro Alves <palves@redhat.com>
7616
7617 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
7618 (main): Call gdb_unbuffer_output.
7619 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
7620 (main): Call gdb_unbuffer_output.
7621 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
7622 (main): Call gdb_unbuffer_output.
7623 * gdb.base/call-strs.exp: Adjust to step over the
7624 gdb_unbuffer_output call.
7625 * gdb.base/catch-gdb-caused-signals.c: Include
7626 "../lib/unbuffer_output.c".
7627 (main): Call gdb_unbuffer_output.
7628 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
7629 (main): Call gdb_unbuffer_output.
7630 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
7631 (main): Call gdb_unbuffer_output.
7632 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
7633 (main): Call gdb_unbuffer_output.
7634 * gdb.base/shlib-call.exp: Adjust to step over the
7635 gdb_unbuffer_output call.
7636 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
7637 (main): Call gdb_unbuffer_output.
7638 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
7639 (main): Call gdb_unbuffer_output.
7640 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
7641 (main): Rename to ...
7642 (test): ... this.
7643 (main): Reimplement.
7644 * gdb.base/varargs.exp: Run to test instead of to main.
7645 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
7646 (main): Call gdb_unbuffer_output.
7647
58789a91
PA
76482015-07-29 Pedro Alves <palves@redhat.com>
7649
7650 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
7651 factore out from mi_continue_dprintf. For call-style dprintfs,
7652 expect dprintf output out of $inferior_spawn_id.
7653 (mi_continue_dprintf): Use mi_expect_dprintf.
7654 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
7655 (main): Call gdb_unbuffer_output.
7656
e8376742
PA
76572015-07-29 Pedro Alves <palves@redhat.com>
7658
7659 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
7660 (default_mi_gdb_start): Set inferior_spawn_id instead of
7661 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
7662 gdb_spawn_id.
7663 (mi_gdb_test): Always expect inferior output from both
7664 $inferior_spawn_id and $gdb_spawn_id.
7665
08280010
PA
76662015-07-29 Pedro Alves <palves@redhat.com>
7667
7668 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
7669 send_inferior and $inferior_spawn_id.
7670
4d30e432
PA
76712015-07-29 Pedro Alves <palves@redhat.com>
7672
7673 * gdb.gdb/complaints.exp (test_initial_complaints)
7674 (test_serial_complaints, test_short_complaints): Use
7675 gdb_test_stdio.
7676 (test_empty_complaint): Handle $inferior_spawn_id !=
7677 $gdb_spawn_id.
7678
0d30a335
PA
76792015-07-29 Pedro Alves <palves@redhat.com>
7680
7681 * gdb.base/varargs.exp: Use gdb_test_stdio.
7682
39413b29
PA
76832015-07-29 Pedro Alves <palves@redhat.com>
7684
7685 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
7686
7cb000a9
PA
76872015-07-29 Pedro Alves <palves@redhat.com>
7688
7689 * gdb.base/ending-run.exp: Use gdb_test_stdio.
7690
d7b8ac82
PA
76912015-07-29 Pedro Alves <palves@redhat.com>
7692
7693 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
7694 parameter into two new parameters, "inf_result" and "gdb_result".
7695 Expect inferior output and gdb output from $inferior_spawn_id and
7696 $gdb_spawn_id, respectively. Adjust all callers.
7697
789c3a0c
PA
76982015-07-29 Pedro Alves <palves@redhat.com>
7699
7700 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
7701 of gdb_test_sequence.
7702
77e760c3
PA
77032015-07-29 Pedro Alves <palves@redhat.com>
7704
7705 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
7706 (saw_spurious_output): Expect inferior output from
7707 $inferior_spawn_id. Use gdb_test_stdio.
7708
8396d2cd
PA
77092015-07-29 Pedro Alves <palves@redhat.com>
7710
7711 * gdb.base/dprintf.exp: Use standard_testfile. Change
7712 prepare_for_testing call.
7713 (srcfile): Don't set.
7714 (restart): New procedure.
7715 (test_dprintf): New procecure, use to continue over dprintfs.
7716 (test_call, test_agent): New procedures, tests moved here.
7717 Restart gdb and recreate dprintfs. Adjust expected output.
7718
2051d61f
PA
77192015-07-29 Pedro Alves <palves@redhat.com>
7720
7721 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
7722
452397af
PA
77232015-07-29 Pedro Alves <palves@redhat.com>
7724
7725 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
7726
8aed9555
PA
77272015-07-29 Pedro Alves <palves@redhat.com>
7728
7729 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
7730 gdb_test_stdio.
7731
188a61b4
PA
77322015-07-29 Pedro Alves <palves@redhat.com>
7733
7734 * lib/gdb.exp (gdb_test_stdio): New procedure.
7735
12264a45
PA
77362015-07-29 Pedro Alves <palves@redhat.com>
7737
7738 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
7739
23ffc893
PA
77402015-07-29 Pedro Alves <palves@redhat.com>
7741
7742 * gdb.base/call-signal-resume.exp: Remove check for
7743 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
7744 * gdb.base/unwindonsignal.exp: Likewise.
7745 * gdb.base/call-signals.c (gen_signal): Remove printf call.
7746 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
7747
65566918
PA
77482015-07-29 Pedro Alves <palves@redhat.com>
7749
7750 * gdb.base/siginfo-addr.c (pass): New function.
7751 (handler): Call it iff si_addr is correct.
7752 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
7753 Set a breakpoint at "pass" and continue to it.
7754
d60a9221
SDJ
77552015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
7756
7757 * gdb.python/py-objfile.exp: Make some tests have unique names.
7758 * gdb.python/py-pp-registration.exp: Likewise.
7759
bde40b8f
PA
77602015-07-28 Pedro Alves <palves@redhat.com>
7761
7762 * gdb.server/server-exec-info.exp: Issue a "disconnect".
7763
13e1dec8
SM
77642015-07-27 Simon Marchi <simon.marchi@ericsson.com>
7765
7766 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
7767
da33c9a7
SM
77682015-07-27 Simon Marchi <simon.marchi@ericsson.com>
7769
7770 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
7771
077836f7
PP
77722015-07-27 Patrick Palka <patrick@parcs.ath.cx>
7773
7774 * gdb.base/gdb-sigterm-2.exp: New test.
7775
b8cc7b2e
DE
77762015-07-25 Doug Evans <xdje42@gmail.com>
7777
7778 Revert:
7779 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
7780 (workers/%.worker, build-perf): New rule.
7781 (GDB_PERFTEST_MODE): New variable.
7782 (check-perf): Use it.
7783 (clean): Clean up gdb.perf parallel build subdirs.
7784 * lib/build-piece.exp: New file.
7785 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
7786 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
7787 name.
7788 (standard_temp_file): Ditto.
7789 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
7790 of $GDB_PARALLEL.
7791
c8bd4544
DE
77922015-07-24 Doug Evans <dje@google.com>
7793
7794 * gdb.perf/lib/perftest/utils.py: New file.
7795 * gdb.perf/gm-hello.cc: New file.
7796 * gdb.perf/gm-pervasive-typedef.cc: New file.
7797 * gdb.perf/gm-pervasive-typedef.h: New file.
7798 * gdb.perf/gm-std.cc: New file.
7799 * gdb.perf/gm-std.h: New file.
7800 * gdb.perf/gm-use-cerr.cc: New file.
7801 * gdb.perf/gm-utils.h: New file.
7802 * gdb.perf/gmonster-null-lookup.py: New file.
7803 * gdb.perf/gmonster-pervasive-typedef.py: New file.
7804 * gdb.perf/gmonster-print-cerr.py: New file.
7805 * gdb.perf/gmonster-ptype-string.py: New file.
7806 * gdb.perf/gmonster-runto-main.py: New file.
7807 * gdb.perf/gmonster-select-file.py: New file.
7808 * gdb.perf/gmonster1-null-lookup.exp: New file.
7809 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
7810 * gdb.perf/gmonster1-print-cerr.exp: New file.
7811 * gdb.perf/gmonster1-ptype-string.exp: New file.
7812 * gdb.perf/gmonster1-runto-main.exp: New file.
7813 * gdb.perf/gmonster1-select-file.exp: New file.
7814 * gdb.perf/gmonster1.cc: New file.
7815 * gdb.perf/gmonster1.exp: New file.
7816 * gdb.perf/gmonster2-null-lookup.exp: New file.
7817 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
7818 * gdb.perf/gmonster2-print-cerr.exp: New file.
7819 * gdb.perf/gmonster2-ptype-string.exp: New file.
7820 * gdb.perf/gmonster2-runto-main.exp: New file.
7821 * gdb.perf/gmonster2-select-file.exp: New file.
7822 * gdb.perf/gmonster2.cc: New file.
7823 * gdb.perf/gmonster2.exp: New file.
7824
6eab34f3
DE
78252015-07-24 Doug Evans <dje@google.com>
7826
7827 * gdb.perf/README: New file.
7828 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
7829 * lib/gen-perf-test.exp: New file.
7830
63738bfd
DE
78312015-07-24 Doug Evans <dje@google.com>
7832
7833 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
7834 (PerfTest::startup): New function.
7835 (PerfTest::run): Return result of calling body.
7836 (PerfTest::assemble): Rewrite.
7837 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
7838 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
7839 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
7840 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
7841 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
7842
7b606f95
DE
78432015-07-24 Doug Evans <dje@google.com>
7844
7845 * lib/gdb.exp (clean_restart): Make executable optional.
7846
a97b16b8
DE
78472015-07-24 Doug Evans <dje@google.com>
7848
7849 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
7850 compiler_info references.
7851 * gdb.cp/temargs.exp: Ditto.
7852 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
7853 (get_compiler_info): Early exit if already computed. Set compiler_info
7854 to "unknown" if there was a problem.
7855 (test_compiler_info): Add function comment. Call get_compiler_info.
7856
35baa57f
DE
78572015-07-24 Doug Evans <dje@google.com>
7858
7859 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
7860 (workers/%.worker, build-perf): New rule.
7861 (GDB_PERFTEST_MODE): New variable.
7862 (check-perf): Use it.
7863 (clean): Clean up gdb.perf parallel build subdirs.
7864 * lib/build-piece.exp: New file.
7865 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
7866 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
7867 name.
7868 (standard_temp_file): Ditto.
7869 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
7870 of $GDB_PARALLEL.
7871
6ebea266
DE
78722015-07-24 Doug Evans <dje@google.com>
7873
7874 * lib/future.exp (gdb_default_target_compile): New option
7875 "early_flags".
7876 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
7877 --as-needed.
7878
1e76a7e9
SDJ
78792015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
7880
7881 * gdb.base/catch-syscall.exp: Call gdb_exit before
7882 gdb_skip_xml_test.
7883
5068630a
PA
78842015-07-24 Pedro Alves <palves@redhat.com>
7885
7886 * gdb.python/py-events.exp: Accept output between the stop event
7887 and the prompt.
7888 * gdb.python/py-evsignal.exp: Likewise.
7889 * gdb.python/py-evthreads.exp: Likewise.
7890
77598427
PA
78912015-07-24 Pedro Alves <palves@redhat.com>
7892
7893 PR gdb/18717
7894 * gdb.threads/non-ldr-exit.c: New file.
7895 * gdb.threads/non-ldr-exit.exp: New file.
7896
11e6c98f
YQ
78972015-07-24 Yao Qi <yao.qi@linaro.org>
7898
7899 * gdb.server/ext-wrapper.exp: Test --wrapper option when
7900 restarting process.
7901
51aee833
YQ
79022015-07-24 Yao Qi <yao.qi@linaro.org>
7903
7904 * gdb.server/ext-restart.exp: New file.
7905
8cfe207c
YQ
79062015-07-24 Yao Qi <yao.qi@linaro.org>
7907
7908 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
7909 argument options.
7910 * gdb.server/ext-wrapper.exp: New file.
7911
cc12ce38
DE
79122015-07-23 Doug Evans <dje@google.com>
7913
7914 * gdb.dwarf2/dw2-dummy-cu.S: New file.
7915 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
7916
d0d84780
PMR
79172015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
7918
7919 * gdb.ada/var_arr_typedef.exp: New testcase.
7920 * gdb.ada/var_arr_typedef/pack.adb: New file.
7921 * gdb.ada/var_arr_typedef/pack.ads: New file.
7922 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
7923
8b558f79
JB
79242015-07-20 Joel Brobecker <brobecker@adacore.com>
7925
7926 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
7927
775a3298
JK
79282015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7929
7930 * gdb.arch/i386-biarch-core.exp: Replace istarget
7931 by "complete set gnutarget". Remove expectation for the "core-file"
7932 command.
7933
db1ff28b
JK
79342015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7935
7936 Revert the previous commit:
7937 Tests for validate symbol file using build-id.
7938
0a94970d
JK
79392015-07-15 Aleksandar Ristovski <aristovski@qnx.com
7940
7941 Tests for validate symbol file using build-id.
7942 * gdb.base/solib-mismatch-lib.c: New file.
7943 * gdb.base/solib-mismatch-libmod.c: New file.
7944 * gdb.base/solib-mismatch.c: New file.
7945 * gdb.base/solib-mismatch.exp: New file.
7946
03346981
SL
79472015-07-15 Sandra Loosemore <sandra@codesourcery.com>
7948
7949 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
7950 nios2-*-linux*.
7951 * gdb.base/sigbpt.exp (stepi_out): Likewise.
7952 * gdb.base/siginfo.exp: Likewise.
7953 * gdb.base/sigstep.exp (advance, advancei): Likewise.
7954
42422cc7
PL
79552015-07-15 Pierre Langlois <pierre.langlois@arm.com>
7956
7957 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
7958 Move it to ...
7959 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
7960 ... here.
7961 * gdb.trace/range-stepping.exp: Check that the target supports
7962 range stepping.
7963
cfa68bae
JK
79642015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7965
7966 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
7967
8ffdba26
PA
79682015-07-14 Pedro Alves <palves@redhat.com>
7969
7970 * gdb.base/killed-outside.exp: New file.
7971 * gdb.base/killed-outside.c: New file.
7972
218a5a11
JK
79732015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7974
7975 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
7976 (n at main): New.
7977 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
7978
e03ed3c6
AA
79792015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7980
7981 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
7982 infcall tests instead of setting up for KFAIL.
7983
485668e5
MM
79842015-07-10 Markus Metzger <markus.t.metzger@intel.com>
7985
7986 * gdb.btrace/record_goto-step.exp: New.
7987
08464196
JK
79882015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7989
7990 PR compile/18484
7991 * gdb.compile/compile.c (struct struct_type): Add volatile to
7992 selffield's type.
7993 * gdb.compile/compile.exp
7994 (compile code struct_object.selffield = &struct_object): Skip further
7995 struct_object tests if this one xfails.
7996
bcf5c1d9
RC
79972015-07-08 Robert O'Callahan <robert@ocallahan.org>
7998
7999 PR exp/18617
8000 * gdb.trace/ax.exp: Add test.
8001
4931af25
YQ
80022015-07-07 Yao Qi <yao.qi@linaro.org>
8003
8004 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
8005 instead of istarget "aarch64*-*-*".
8006 * gdb.arch/aarch64-fp.exp: Likewise.
8007 * gdb.base/float.exp: Likewise.
8008 * gdb.reverse/aarch64.exp: Likewise.
8009 * lib/gdb.exp (is_aarch64_target): New proc.
8010
9fcf688e
YQ
80112015-07-07 Yao Qi <yao.qi@linaro.org>
8012
8013 * lib/gdb.exp (is_aarch32_target): New proc.
8014 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
8015 instead of "istarget "arm*-*-*"".
8016 * gdb.arch/arm-disp-step.exp: Likewise.
8017 * gdb.arch/thumb-bx-pc.exp: Likewise.
8018 * gdb.arch/thumb-prologue.exp: Likewise.
8019 * gdb.arch/thumb-singlestep.exp: Likewise.
8020 * gdb.base/disp-step-syscall.exp: Likewise.
8021 * gdb.base/float.exp: Likewise.
8022
fbd8d50d
YQ
80232015-07-07 Yao Qi <yao.qi@linaro.org>
8024
8025 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
8026 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
8027
71be1fdc
YQ
80282015-07-07 Yao Qi <yao.qi@linaro.org>
8029
8030 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
8031 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
8032 if it exists.
8033 * gdb.multi/multi-arch.exp: Likewise.
8034
3e221d36
SM
80352015-07-07 Simon Marchi <simon.marchi@ericsson.com>
8036
8037 * gdb.python/py-lazy-string.exp: Add missing parentheses to
8038 print.
8039
d441430b
YQ
80402015-07-07 Yao Qi <yao.qi@linaro.org>
8041
8042 * gdb.arch/thumb-singlestep.exp: Do one more single step.
8043
06f810bd
MG
80442015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
8045
8046 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
8047 '[' and ']' characters.
8048
5e61e7c0
IB
80492015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
8050
8051 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
8052
28bf096c
PA
80532015-06-29 Pedro Alves <palves@redhat.com>
8054
8055 PR threads/18127
8056 * gdb.threads/hand-call-new-thread.c: New file.
8057 * gdb.threads/hand-call-new-thread.c: New file.
8058
ee93cd5e
KS
80592015-06-26 Keith Seitz <keiths@redhat.com>
8060 Doug Evans <dje@google.com>
8061
8062 PR 16253
8063 * gdb.cp/var-tag-2.cc: New file.
8064 * gdb.cp/var-tag-3.cc: New file.
8065 * gdb.cp/var-tag-4.cc: New file.
8066 * gdb.cp/var-tag.cc: New file.
8067 * gdb.cp/var-tag.exp: New file.
8068
fc637f04
PP
80692015-06-26 Patrick Palka <patrick@parcs.ath.cx>
8070
8071 * gdb.base/history-duplicates.exp: New test.
8072
2e52ae68
PP
80732015-06-26 Patrick Palka <patrick@parcs.ath.cx>
8074
8075 * gdb.base/completion.exp: Test the completion of the "focus"
8076 command.
8077
6e22494e
JK
80782015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8079
8080 * gdb.arch/amd64-prologue-skip.S: New file.
8081 * gdb.arch/amd64-prologue-skip.exp: New file.
8082
bf7b9cd9
SM
80832015-06-25 Simon Marchi <simon.marchi@ericsson.com>
8084
8085 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
8086 is_address_zero_readable check.
8087
201e8dfd
PB
80882015-06-24 Peter Bergner <bergner@vnet.ibm.com>
8089
8090 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
8091 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
8092
5cd867b4
YQ
80932015-06-24 Yao Qi <yao.qi@linaro.org>
8094
8095 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
8096 linux targets.
8097
4d7be007
YQ
80982015-06-24 Yao Qi <yao.qi@linaro.org>
8099
8100 * lib/gdb.exp (supports_get_siginfo_type): New proc.
8101 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
8102 * gdb.base/siginfo-thread.exp: Likewise.
8103
07fcd301
YQ
81042015-06-22 Yao Qi <yao.qi@linaro.org>
8105
8106 * boards/remote-gdbserver-on-localhost.exp: Add comments.
8107
52042a00
YQ
81082015-06-22 Yao Qi <yao.qi@linaro.org>
8109
8110 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
8111 aarch64*-*-*.
8112 (skip_hw_watchpoint_tests): Likewise.
8113
74bd41ce
PP
81142015-06-18 Patrick Palka <patrick@parcs.ath.cx>
8115
8116 * gdb.base/gdbinit-history.exp: Test the interaction between
8117 setting GDBHISTSIZE and setting the history size via .gdbinit.
8118
bc460514
PP
81192015-06-17 Patrick Palka <patrick@parcs.ath.cx>
8120
8121 PR gdb/16999
8122 * gdb.base/gdbhistsize-history.exp: New test.
8123
b58c513b
PP
81242015-06-17 Patrick Palka <patrick@parcs.ath.cx>
8125
8126 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
8127 with GDBHISTSIZE.
8128 * gdb.base/readline.exp: Likewise.
8129
92046791
YQ
81302015-06-17 Yao Qi <yao.qi@linaro.org>
8131
8132 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
8133 line.
8134
2093d2d3
PP
81352015-06-17 Patrick Palka <patrick@parcs.ath.cx>
8136
8137 * gdb.base/gdbinit-history.exp: Add test case to check that
8138 an unlimited history file does not get truncated on exit.
8139
e6c693af
AA
81402015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8141
8142 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
8143 (VECTOR): New macro. Use it...
8144 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
8145 ...for these typedefs.
8146 (int8, char1, int1, double1): New typedefs.
8147 (struct just_int2, struct two_int2): New structures.
8148 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
8149 (add_structvecs, add_singlevecs): New functions.
8150 (main): Call add_some_intvecs twice.
8151 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
8152 the compile and exit upon failure. Try compiling for the "native"
8153 architecture. Test inferior function calls with vector arguments
8154 and vector return value handling with "finish" and "return".
8155
c74f7d1c
JT
81562015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
8157
8158 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
8159 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
8160 PE file.
8161 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
8162
98aa42ee
AT
81632015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
8164
8165 PR breakpoints/16465
8166 * gdb.mi/mi-dprintf-pending.c: New file.
8167 * gdb.mi/mi-dprintf-pending.exp: New test.
8168 * gdb.mi/mi-dprintf-pendshr.c: New file.
8169
7d73c23c 81702015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 8171 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
8172
8173 * gdb.arch/i386-mpx-map.c: New file.
8174 * gdb.arch/i386-mpx-map.exp: New File.
8175
81762015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8177
8178 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
8179 * gdb.arch/i386-mpx.exp: Indentation fixed.
8180
81812015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8182
8183 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
8184 function and improved indentation.
8185 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
8186 gdb_test_multiple. Added additional tests to skip the test.
8187
81882015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8189
8190 * gdb.arch/i386-avx512.c: Change path in include file.
8191 * gdb.arch/i386-avx512.exp: Change include dir path
8192 compilation flag.
8193 * gdb.arch/i386-mpx.c: Change path in include file.
8194 * gdb.arch/i386-mpx.exp: Change include dir path compilation
8195 flag.
8196
d5eba19a
JK
81972015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8198
8199 * gdb.compile/compile-print.exp (compile print *vararray@3)
8200 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
8201
7f361056
JK
82022015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8203
8204 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
8205 (do not keep jit in memory): ... this.
8206 (expect 5): Change it to ...
8207 (expect no 5): ... this.
8208
3b462ec2
SM
82092015-06-02 Simon Marchi <simon.marchi@ericsson.com>
8210
8211 PR gdb/15564
8212 * gdb.mi/mi-detach.exp: New file.
8213
e0619de6
JK
82142015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8215
8216 PR symtab/18392
8217 * gdb.arch/amd64-tailcall-self.S: New file.
8218 * gdb.arch/amd64-tailcall-self.c: New file.
8219 * gdb.arch/amd64-tailcall-self.exp: New file.
8220
e970cb34
DB
82212015-05-28 Don Breazeal <donb@codesourcery.com>
8222
8223 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
8224 tests for remote targets by checking is_target_gdbserver.
8225
b2e2f908
DE
82262015-05-27 Doug Evans <dje@google.com>
8227
8228 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
8229 * gdb.dwarf2/opaque-type-lookup.c: New file.
8230 * gdb.dwarf2/opaque-type-lookup.exp: New file.
8231
82c7be31
DE
82322015-05-26 Doug Evans <dje@google.com>
8233
8234 * gdb.cp/iostream.cc: New file.
8235 * gdb.cp/iostream.exp: New file.
8236
b4f54984
DE
82372015-05-26 Doug Evans <dje@google.com>
8238
8239 * gdb.dwarf2/dw2-op-call.exp: Update.
8240 * gdb.dwarf2/dw4-sig-types.exp: Update.
8241 * gdb.dwarf2/implptr.exp: Update.
8242 * gdb.mi/mi-cmd-param-changed.exp: Update.
8243
4ea6efe9
DE
82442015-05-26 Doug Evans <dje@google.com>
8245
8246 * gdb.python/py-lazy-string.c: New file.
8247 * gdb.python/py-lazy-string.exp: New file.
8248 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
8249 (main): Update. Add estring3.
8250 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
8251 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
8252
f6bb7db3
YQ
82532015-05-26 Omair Javaid <omair.javaid@linaro.org>
8254 Yao Qi <yao.qi@linaro.org>
8255
8256 * gdb.reverse/aarch64.c: New.
8257 * gdb.reverse/aarch64.exp: New.
8258
a81bfbd0
OJ
82592015-05-26 Omair Javaid <omair.javaid@linaro.org>
8260
25d49b86
PA
8261 * lib/gdb.exp (supports_process_record): Return true for
8262 aarch64*-linux*.
a81bfbd0
OJ
8263 (supports_reverse): Likewise.
8264
158bf1b4
PP
82652015-05-22 Patrick Palka <patrick@parcs.ath.cx>
8266
8267 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8268 Use with_test_prefix.
8269
a0145030
AB
82702015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
8271
8272 * gdb.base/completion.exp: Add test for completion of layout
8273 names.
8274
ebe3b578
AB
82752015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
8276
8277 * lib/gdb.exp (skip_tui_tests): New proc.
8278 * gdb.base/tui-layout.exp: Check skip_tui_tests.
8279
84204ed7
PA
82802015-05-19 Pedro Alves <palves@redhat.com>
8281
8282 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8283 Save the whole env array instead of just HOME. Unset HISTSIZE in
8284 the environment while testing. Restore whole environment
8285 afterwards.
8286
37442ce1
DE
82872015-05-16 Doug Evans <xdje42@gmail.com>
8288
8289 * gdb.guile/scm-ports.c: New file.
8290 * gdb.guile/scm-ports.exp: Add memory port tests.
8291
36de76f9
JK
82922015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8293
8294 * gdb.compile/compile-print.c: New file.
8295 * gdb.compile/compile-print.exp: New file.
8296
3a9558c4
JK
82972015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8298
8299 * gdb.compile/compile-ops.exp: Cast param to void.
8300 * gdb.compile/compile.exp: Complete type for _gdb_expr.
8301 (compile code struct_object.selffield = &struct_object): Add xfail.
8302
aa715135
JG
83032015-05-15 Joel Brobecker <brobecker@adacore.com>
8304
8305 * gdb.ada/arr_enum_with_gap: New testcase.
8306
931e5bc3
JG
83072015-05-15 Joel Brobecker <brobecker@adacore.com>
8308
8309 * gdb.ada/byte_packed_arr: New testcase.
8310
9cd4d857
JB
83112015-05-15 Joel Brobecker <brobecker@adacore.com>
8312
8313 * gdb.ada/pckd_neg: New testcase.
8314
ebfd00d2
PP
83152015-05-13 Patrick Palka <patrick@parcs.ath.cx>
8316
8317 PR gdb/17820
8318 * gdb.base/gdbinit-history.exp: New test.
8319 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
8320 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
8321
4c082a81
SC
83222015-05-09 Siva Chandra Reddy <sivachandra@google.com>
8323
8324 * gdb.python/py-xmethods.cc: Enhance test case.
8325 * gdb.python/py-xmethods.exp: New tests.
8326 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
8327 function.
8328 (B_indexoper): Likewise.
8329 (global_dm_list) : Add new xmethod worker functions.
8330
f7797074
SDJ
83312015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
8332
8333 * gdb.base/coredump-filter.exp: Correctly unset
8334 "coredump_var_addr" array.
8335
a4674e4e
PA
83362015-05-08 Pedro Alves <palves@redhat.com>
8337
8338 * gdb.server/non-existing-program.exp: Unset spawn_id.
8339
df2eb078
SC
83402015-05-08 Siva Chandra Reddy <sivachandra@google.com>
8341
8342 PR python/18291
8343 * gdb.python/py-xmethods.exp: Add tests.
8344
422349a3
YQ
83452015-05-08 Yao Qi <yao.qi@linaro.org>
8346
8347 PR gdb/18208
8348 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
8349 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
8350 function set_coredump_filter, and remove remote_exec call.
8351 Remove argument ipid. Callers update.
8352 (top level): Don't get inferior's PID.
8353
63fc80ce
AA
83542015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
8355
8356 * gdb.base/watch_thread_num.exp: Skip test on targets without
8357 access watchpoints.
8358
80ad801e
PA
83592015-05-06 Pedro Alves <palves@redhat.com>
8360
8361 PR server/18081
8362 * gdb.server/non-existing-program.exp: New file.
8363
0fa7fe50
JB
83642015-05-05 Joel Brobecker <brobecker@adacore.com>
8365
8366 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
8367
3ea89b92
PMR
83682015-05-05 Joel Brobecker <brobecker@adacore.com>
8369
8370 * gdb.ada/out_of_line_in_inlined: New testcase.
8371
87b8eff0
JB
83722015-05-05 Joel Brobecker <brobecker@adacore.com>
8373
8374 * gdb.ada/var_rec_arr: New testcase.
8375
5fccc635
YQ
83762015-04-30 Yao Qi <yao.qi@linaro.org>
8377
8378 * gdb.base/break-idempotent.exp: If
8379 skip_hw_watchpoint_multi_tests returns true, skip the tests
8380 on "rwatch" and "awatch".
8381
42d38f42
YQ
83822015-04-30 Yao Qi <yao.qi@linaro.org>
8383
8384 * gdb.base/relativedebug.exp: Invoke gdb command
8385 "info sharedlibrary", and if libc.so doesn't have debug info,
8386 skip the test.
8387
2ce1cdbf
DE
83882015-04-29 Doug Evans <dje@google.com>
8389
8390 * gdb.python/py-xmethods.exp: Add ptype tests.
8391 * gdb.python/py-xmethods.py (E_method_char_worker): Add
8392 get_result_type method.
8393
f24a38c5
LM
83942015-04-29 Luis Machado <lgustavo@codesourcery.com>
8395
8396 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
8397 the target does not support hardware watchpoints.
8398
ecbf2b3c
LM
83992015-04-29 Luis Machado <lgustavo@codesourcery.com>
8400
8401 * gdb.base/break-always.exp: Abort testing if writing to memory
8402 causes an error.
8403
34f5f757
DE
84042015-04-28 Doug Evans <dje@google.com>
8405
8406 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
8407 * gdb.python/py-pp-registration.exp: ... here. New file.
8408 * gdb.python/py-pp-registration.c: New file.
8409 * gdb.python/py-pp-registration.py: New file.
8410
69b4374a
DE
84112015-04-28 Doug Evans <dje@google.com>
8412
8413 * gdb.python/py-bad-printers.c: New file.
8414 * gdb.python/py-bad-printers.py: New file.
8415 * gdb.python/py-bad-printers.exp: New file.
8416
59fb7612
SS
84172015-04-28 Sasha Smundak <asmundak@google.com>
8418
8419 * gdb.python/py-type.exp: New test.
8420
2631b16a
AW
84212015-04-28 Andy Wingo <wingo@igalia.com>
8422
8423 * gdb.python/py-parameter.exp:
8424 * gdb.guile/scm-parameter.exp: Escape the path that we are
8425 matching against, as it might contain characters that are special
8426 to regular expressions.
8427
460efde1
JB
84282015-04-27 Joel Brobecker <brobecker@adacore.com>
8429
8430 * gdb.ada/rec_comp: New testcase.
8431
2d369d8e
SDJ
84322015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
8433
8434 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
8435 before using it.
8436
cf75d6c3
AB
84372015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
8438
8439 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
8440 new tests for verilog output.
8441
8dbe7ca5
YQ
84422015-04-24 Yao Qi <yao.qi@linaro.org>
8443
8444 * boards/remote-gdbserver-on-localhost.exp: New file.
8445
4ef9fb2f
PA
84462015-04-23 Pedro Alves <palves@redhat.com>
8447
8448 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
8449 $inferior_spawn_id instead of $inferior_spawn_id directly. On
8450 "end of file", remove $inferior_spawn_id from the indirect list.
8451
0a803169
PA
84522015-04-23 Pedro Alves <palves@redhat.com>
8453
8454 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
8455
749ef8f8
PA
84562015-04-23 Pedro Alves <palves@redhat.com>
8457
8458 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
8459 on $any_spawn_id instead of only on $gdb_spawn_id.
8460
8aae4344
PM
84612015-04-21 Pierre Muller <muller@sourceware.org>
8462
8463 PR pascal/17815
8464 * lib/pascal.exp (gpc_compile): Add new option "class".
8465 (fpc_compile): Likewise.
8466 * gdb.pascal/case-insensitive-symbols.pas: New file.
8467 * gdb.pascal/case-insensitive-symbols.exp: New file.
8468
1586c8fb
GB
84692015-04-20 Gary Benson <gbenson@redhat.com>
8470
8471 * gdb.base/attach.exp: Fix three extended remote failures.
8472
1b6e6f5c
GB
84732015-04-17 Gary Benson <gbenson@redhat.com>
8474
8475 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
8476 the main executable over the remote protocol.
8477
e797481d
PA
84782015-04-16 Pedro Alves <palves@redhat.com>
8479
8480 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
8481 a new gdbserver if gdbserver_reconnect_p is set.
8482
1ca99c42
PA
84832015-04-16 Pedro Alves <palves@redhat.com>
8484
8485 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
8486 is set, don't exit gdbserver.
8487
af9fd6f8
AA
84882015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8489
8490 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
8491 appropriate .insn, such that an older assembler can be used.
8492 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
8493 the z/Architecture instruction set on 31-bit targets as well.
8494
04ff1e61
AA
84952015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8496
8497 * gdb.go/handcall.exp: Remove all logic related to the first
8498 breakpoint and rely on go_runto_main instead.
8499 * gdb.go/strings.exp: Likewise.
8500 * gdb.go/unsafe.exp: Likewise.
8501 * gdb.go/hello.exp: Likewise. Also rename the remaining
8502 breakpoint marker to "breakpoint 1".
8503 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
8504 * gdb.go/strings.go: Likewise.
8505 * gdb.go/unsafe.go: Likewise.
8506 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
8507 "set breakpoint 2 here" and rename the remaining breakpoint marker
8508 to "breakpoint 1".
8509
40d2f8d6
SM
85102015-04-15 Simon Marchi <simon.marchi@ericsson.com>
8511
8512 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
8513 if itertools.imap is not present.
8514 * gdb.python/py-objfile.exp: Add parentheses.
8515 * gdb.python/py-type.exp: Same.
8516 * gdb.python/py-unwind-maint.py: Same.
8517
8cbc97c6
YQ
85182015-04-15 Yao Qi <yao.qi@linaro.org>
8519
8520 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
8521 of ":$ptr_size" and set its form explicitly.
8522
45fd756c
YQ
85232015-04-15 Pedro Alves <palves@redhat.com>
8524 Yao Qi <yao.qi@linaro.org>
8525
8526 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
8527 timeout by factor of 4.
8528 (test_regular_watch): Likewise.
8529 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
8530 * gdb.reverse/sigall-reverse.exp: Likewise.
8531 * gdb.reverse/until-precsave.exp: Likewise.
8532 * lib/gdb.exp (with_timeout_factor): New proc.
8533 (gdb_expect): Move some code to ...
8534 (get_largest_timeout): ... here. New procedure.
8535
9e811bc3
LM
85362015-04-14 Luis Machado <lgustavo@codesourcery.com>
8537
8538 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
8539
0ff6fcb2
LM
85402015-04-13 Luis Machado <lgustavo@codesourcery.com>
8541
8542 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
8543 to write to the .text section.
8544
7578d5f7
LM
85452015-04-13 Luis Machado <lgustavo@codesourcery.com>
8546
8547 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
8548 Handle the case of targets that do not provide PID information.
8549
2efe15c4
YQ
85502015-04-13 Yao Qi <yao.qi@linaro.org>
8551
8552 * lib/gdbserver-support.exp (gdb_exit): Catch exception
8553 and use expect instead of gdb_expect.
8554
8cd8f2f8
SDJ
85552015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
8556
8557 * gdb.base/coredump-filter.exp: Rename variable "addr" to
8558 "coredump_var_addr" to avoid naming conflict with other testcases.
8559
9ee41772
PA
85602015-04-10 Pedro Alves <palves@redhat.com>
8561
8562 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
8563 gdb_test_sequence and gdb_assert.
8564
07473109
PA
85652015-04-10 Pedro Alves <palves@redhat.com>
8566
8567 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
8568 test messages that don't include the breakpoint address.
8569
de3db44c
YQ
85702015-04-10 Yao Qi <yao.qi@linaro.org>
8571
8572 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
8573 false for some offset and width combinations which aren't
8574 supported by linux kernel.
8575
c79d856c
PA
85762015-04-10 Pedro Alves <palves@redhat.com>
8577
8578 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
8579 procedure, factored out from ...
8580 (top level): ... here. Add "set displaced-stepping" testing axis.
8581 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
8582 parameter "displaced". Use it.
8583 (top level): Use foreach and add "set displaced-stepping" testing
8584 axis.
8585
ebc90b50
PA
85862015-04-10 Pedro Alves <palves@redhat.com>
8587
8588 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
8589 Remove comment.
8590 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
8591 both the address of the instruction that triggers the watchpoint
8592 and the address of the instruction immediately after, and use
8593 those addresses for the test. Fix comment.
8594
8f572e5c
PA
85952015-04-10 Pedro Alves <palves@redhat.com>
8596
8597 * gdb.base/sigstep.exp (breakpoint_to_handler)
8598 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
8599 Test "backtrace" in handler.
8600 (breakpoint_over_handler): New parameter 'displaced'. Use it.
8601 (top level): Add new "displaced" test axis to
8602 breakpoint_to_handler, breakpoint_to_handler_entry and
8603 breakpoint_over_handler.
8604
8d707a12
PA
86052015-04-10 Pedro Alves <palves@redhat.com>
8606
8607 PR gdb/18216
8608 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
8609
ef713951
YQ
86102015-04-10 Yao Qi <yao.qi@linaro.org>
8611
8612 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
8613 (test_add_rn_pc): New function.
8614 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
8615 (top level): Invoke test_add_rn_pc.
8616
906d60cf
PA
86172015-04-10 Pedro Alves <palves@redhat.com>
8618
8619 PR gdb/13858
8620 * gdb.base/step-over-no-symbols.exp: New file.
8621
f2983cc3
AW
86222015-04-09 Andy Wingo <wingo@igalia.com>
8623
8624 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
8625 after the Python tests.
8626
6d62641c
SDJ
86272015-04-08 Keith Seitz <keiths@redhat.com>
8628
8629 PR python/16699
8630 * gdb.python/py-completion.exp: New tests for completion.
8631 * gdb.python/py-completion.py (CompleteLimit1): New class.
8632 (CompleteLimit2): Likewise.
8633 (CompleteLimit3): Likewise.
8634 (CompleteLimit4): Likewise.
8635 (CompleteLimit5): Likewise.
8636 (CompleteLimit6): Likewise.
8637 (CompleteLimit7): Likewise.
8638
f3770638
PA
86392015-04-08 Pedro Alves <palves@redhat.com>
8640
8641 PR gdb/18214
8642 PR gdb/18216
8643 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
8644 function.
8645 (main): Install it as SIGUSR1 handler.
8646 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
8647 parameter. Always use "setup" as prefix. Toggle "set
8648 displaced-stepping" off/on depending on global. Don't switch to
8649 thread 1 here.
8650 (top level): Add displaced stepping "off/on" test axis. Update
8651 "setup" calls. Wrap each subtest with with_test_prefix. Test
8652 continuing with a queued signal in each thread.
8653
4496bed7
PA
86542015-04-08 Pedro Alves <palves@redhat.com>
8655
8656 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
8657 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
8658 gdb_breakpoint instead of gdb_test that doesn't expect anything.
8659 Return early if running to main fails.
8660 * gdb.trace/while-stepping.exp: Likewise.
8661
b97fde92
PA
86622015-04-07 Pedro Alves <palves@redhat.com>
8663
8664 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
8665 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
8666 interact with inferior program.
8667
f71c18e7
PA
86682015-04-07 Pedro Alves <palves@redhat.com>
8669
8670 * lib/gdb.exp (inferior_spawn_id): New global.
8671 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
8672 spawn id after processing the user code.
8673 (default_gdb_start): Set inferior_spawn_id.
8674 (send_inferior): New procedure.
8675 * lib/gdbserver-support.exp (gdbserver_start): Set
8676 inferior_spawn_id.
8677 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
8678
6423214f
PA
86792015-04-07 Pedro Alves <palves@redhat.com>
8680
8681 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
8682 * lib/gdbserver-support.exp (gdbserver_start): Make
8683 $server_spawn_id global.
8684 (gdbserver_start): Don't wait for gdbserver's spawn id with
8685 expect_background.
8686 (close_gdbserver): New procedure.
8687 (gdb_exit): Rename the default version and reimplement.
8688
71c0ee8c
PA
86892015-04-07 Pedro Alves <palves@redhat.com>
8690
72f4393d 8691 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
8692 append the substituted item, not the original item.
8693
203bc29b
PA
86942015-04-07 Pedro Alves <palves@redhat.com>
8695
8696 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
8697 gdb_expect.
8698
508a3ddf
PA
86992015-04-07 Pedro Alves <palves@redhat.com>
8700
8701 * gdb.base/interrupt.exp: Don't handle the case of the inferior
8702 output appearing once only.
8703
9f6dbe2b
PA
87042015-04-07 Pedro Alves <palves@redhat.com>
8705
8706 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
8707 that doesn't expect anything. Return early if running to main
8708 fails.
8709
337532fa
YQ
87102015-04-07 Yao Qi <yao.qi@linaro.org>
8711
8712 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
8713 (child_function): Call alarm.
8714 (main): Move call to alarm into the loop.
8715 * gdb.threads/non-stop-fair-events.exp: Build program with
8716 -DTIMEOUT=$timeout.
8717
01b622d4
DE
87182015-04-06 Doug Evans <xdje42@gmail.com>
8719
8720 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
8721 Fix dest parameter to board_info.
8722 (fpc_compile): Ditto.
8723 (gdb_compile_pascal): Rename dest arg to destfile.
8724
961f4160
PMR
87252015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
8726
8727 * gdb.ada/funcall_ref.exp: New file.
8728 * gdb.ada/funcall_ref/foo.adb: New file.
8729
cafda597
YQ
87302015-04-02 Yao Qi <yao.qi@linaro.org>
8731
8732 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
8733 is remote.
8734
fed040c6
GB
87352015-04-02 Gary Benson <gbenson@redhat.com>
8736
8737 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
8738
d11916aa
SS
87392015-04-01 Sasha Smundak <asmundak@google.com>
8740
8741 * gdb.python/py-unwind-maint.c: New file.
8742 * gdb.python/py-unwind-maint.exp: New test.
8743 * gdb.python/py-unwind-maint.py: New file.
8744 * gdb.python/py-unwind.c: New file.
8745 * gdb.python/py-unwind.exp: New test.
8746 * gdb.python/py-unwind.py: New test.
8747
a1471180
PA
87482015-04-01 Pedro Alves <palves@redhat.com>
8749
8750 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
8751 to fail instead of non-existent $test.
8752
0bbeccb1
PA
87532015-04-01 Pedro Alves <palves@redhat.com>
8754
8755 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
8756 GDBFLAGS if not empty.
8757
3c724c8c
PMR
87582015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
8759
8760 * gdb.ada/complete.exp: Remove "multi_line".
8761 * gdb.ada/info_exc.exp: Remove "multi_line".
8762 * gdb.ada/packed_tagged.exp: Remove "multi_line".
8763 * gdb.ada/ptype_field.exp: Remove "multi_line".
8764 * gdb.ada/sym_print_name.exp: Remove "multi_line".
8765 * gdb.ada/tagged.exp: Remove "multi_line".
8766 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
8767 [multi_line ...]
8768 * gdb.btrace/delta.exp: Likewise.
8769 * gdb.btrace/exception.exp: Likewise.
8770 * gdb.btrace/function_call_history.exp: Likewise.
8771 * gdb.btrace/instruction_history.exp: Likewise.
8772 * gdb.btrace/nohist.exp: Likewise.
8773 * gdb.btrace/record_goto.exp: Likewise.
8774 * gdb.btrace/segv.exp: Likewise.
8775 * gdb.btrace/stepi.exp: Likewise.
8776 * gdb.btrace/tailcall.exp: Likewise.
8777 * gdb.btrace/unknown_functions.exp: Likewise.
8778 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
8779 * lib/gdb.exp: Add the "multi_line" helper.
8780
4eec2deb
PA
87812015-04-01 Pedro Alves <palves@redhat.com>
8782
8783 * gdb.threads/tid-reuse.c: New file.
8784 * gdb.threads/tid-reuse.exp: New file.
8785
df8411da
SDJ
87862015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
8787
8788 PR corefiles/16092
8789 * gdb.base/coredump-filter.c: New file.
8790 * gdb.base/coredump-filter.exp: Likewise.
8791
6ef37366
PM
87922015-03-27 Petr Machata <pmachata@redhat.com>
8793
8794 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
8795 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
8796 (Dwarf::assemble): Initialize them.
8797 (Dwarf::lines): New function.
8798
7ec911b0
JT
87992015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
8800
8801 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
8802 SYMBOL_PREFIX for x86_64-*-cygwin.
8803
ff908ebf
AW
88042015-03-26 Andy Wingo <wingo@igalia.com>
8805
8806 PR symtab/18148
8807 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
8808 const_value but not a location.
8809 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
8810 location defined in non-main CUs are visible.
8811
6d5f0679
YQ
88122015-03-26 Yao Qi <yao.qi@linaro.org>
8813
8814 PR testsuite/18139
8815 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
8816 Add a line number entry for the same line.
8817 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
8818 Add a line number entry for the same line.
8819
2898689b
YQ
88202015-03-26 Yao Qi <yao.qi@linaro.org>
8821
8822 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
8823 .int 0.
8824 (func): Likewise. Add .Lfunc_1 label.
8825 Use .Lfunc_1 label.
8826 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
8827 .int 0.
8828 (func): Likewise.
8829 Use .Lfunc_1 label.
8830
85180498
YQ
88312015-03-26 Yao Qi <yao.qi@linaro.org>
8832
8833 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
8834 Call gdb_compile instead to compile each .s files without debug
8835 information.
8836
8aa08a8d
YQ
88372015-03-26 Yao Qi <yao.qi@linaro.org>
8838
8839 * gdb.base/savedregs.exp (process_saved_regs): Make
8840 "Saved registers:" optional in the pattern.
8841
66849923
MM
88422015-03-25 Markus Metzger <markus.t.metzger@intel.com>
8843
8844 * gdb.btrace/next.exp: Merged into step.exp.
8845 * gdb.btrace/finish.exp: Merged into step.exp.
8846 * gdb.btrace/nexti.exp: Merged into stepi.exp.
8847 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
8848 "record goto" and checking the exact replay position.
8849 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
8850 check for "Recording format" in "info record" output.
8851 * gdb.btrace/record_goto.exp: Choose test file based on target.
8852 * gdb.btrace/x86-record_goto.S: Renamed into ...
8853 * gdb.btrace/x86_64-record_goto.S: ... this.
8854 * gdb.btrace/i686-record_goto.S: New.
8855 * gdb.btrace/x86-tailcall.S: Renamed into ...
8856 * gdb.btrace/x86_64-tailcall.S: ... this.
8857 * gdb.btrace/i686-tailcall.S: New.
8858 * gdb.btrace/x86-tailcall.c: Renamed into ...
8859 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
8860 separate statements. Update test.
8861 * gdb.btrace/delta.exp: Use record_goto.c as test file.
8862 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
8863 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
8864 * gdb.btrace/tailcall.exp: Choose test file based on target.
8865 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
8866
11cc1b74
MM
88672015-03-25 Markus Metzger <markus.t.metzger@intel.com>
8868
8869 * gdb.btrace/exception.exp: Increase BTS buffer size.
8870
a25d8bf9
PA
88712015-03-24 Pedro Alves <palves@redhat.com>
8872
8873 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
8874
856e7dd6
PA
88752015-03-24 Pedro Alves <palves@redhat.com>
8876
8877 * gdb.threads/schedlock.exp (test_step): No longer expect that
8878 "set scheduler-locking step" with "next" over a function call runs
8879 threads unlocked.
8880
ad235a41
AT
88812015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
8882
8883 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
8884
15630549
AT
88852015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
8886
8887 PR breakpoints/16466
8888 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
8889 * gdb.mi/mi-pending.c (thread_func): New function.
8890 (int main): Add threading support required.
8891 * gdb.mi/mi-pending.exp: Add tests for this issue.
8892 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
8893 (pendfunc2): Remove stdio dependency.
8894 * gdb.mi/mi-pendshr2.c: New file.
8895
693dca06
KS
88962015-03-23 Keith Seitz <keiths@redhat.com>
8897
8898 * gdb.linespec/keywords.c: New file.
8899 * gdb.linespec/keywords.exp: New file.
8900
7e993ebf
KS
89012015-03-23 Keith Seitz <keiths@redhat.com>
8902
8903 PR gdb/18021
8904 * gdb.dwarf2/staticvirtual.exp: New test.
8905
bc23328c
JK
89062015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8907
8908 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
8909 * README: Remove HP-UX and gdb.hp.
8910 (configuration):
8911 * configure: Regenerate.
8912 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
8913 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
8914 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
8915 gdb.hp/gdb.defects/Makefile.
8916 * gdb.hp/Makefile.in: File deleted.
8917 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
8918 * gdb.hp/gdb.aCC/optimize.c: File deleted.
8919 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
8920 * gdb.hp/gdb.aCC/run.c: File deleted.
8921 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
8922 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
8923 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
8924 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
8925 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
8926 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
8927 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
8928 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
8929 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
8930 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
8931 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
8932 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
8933 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
8934 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
8935 * gdb.hp/gdb.base-hp/reg.s: File deleted.
8936 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
8937 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
8938 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
8939 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
8940 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
8941 * gdb.hp/gdb.compat/Makefile.in: File deleted.
8942 * gdb.hp/gdb.compat/average.c: File deleted.
8943 * gdb.hp/gdb.compat/sum.c: File deleted.
8944 * gdb.hp/gdb.compat/xdb.c: File deleted.
8945 * gdb.hp/gdb.compat/xdb0.c: File deleted.
8946 * gdb.hp/gdb.compat/xdb0.h: File deleted.
8947 * gdb.hp/gdb.compat/xdb1.c: File deleted.
8948 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
8949 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
8950 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
8951 * gdb.hp/gdb.defects/Makefile.in: File deleted.
8952 * gdb.hp/gdb.defects/bs14602.c: File deleted.
8953 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
8954 * gdb.hp/gdb.defects/solib-d.c: File deleted.
8955 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
8956 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
8957 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
8958 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
8959 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
8960 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
8961 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
8962 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
8963 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
8964 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
8965 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
8966 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
8967 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
8968 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
8969 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
8970 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
8971 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
8972 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
8973 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
8974 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
8975 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
8976 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
8977 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
8978 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
8979 * gdb.hp/tools/odump: File deleted.
8980
8bf3b159
PA
89812015-03-19 Pedro Alves <palves@redhat.com>
8982
8983 * gdb.threads/continue-pending-status.exp (saw_thread_2)
8984 (saw_thread_3): New globals.
8985 (top level): Increment them when an event for the corresponding
8986 thread is seen.
8987 (no thread starvation): New test.
8988
eb54c8bf
PA
89892015-03-19 Pedro Alves <palves@redhat.com>
8990
8991 * gdb.threads/continue-pending-status.c: New file.
8992 * gdb.threads/continue-pending-status.exp: New file.
8993
32d2e5d6
PA
89942015-03-18 Pedro Alves <palves@redhat.com>
8995
8996 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
8997 Use gdb_is_target_remote instead of is_remote. Use
8998 gdb_test_multiple instead of gdb_expect. Exit early if
8999 gdb_test_multiple hits its internal matches. Tighten stepi tests
9000 expected output. Fail on exit with any signal, instead of just
9001 SIGILL.
9002
f68f11b7
YQ
90032015-03-18 Yao Qi <yao.qi@linaro.org>
9004
9005 PR tdep/18107
9006 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
9007 variable.
9008 * gdb.base/catch-syscall.exp: Don't skip it on
9009 aarch64*-*-linux* target. Remove elements in all_syscalls.
9010 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
9011 target.
9012 (setup_all_syscalls): New proc.
9013
ca5fd19b
YQ
90142015-03-16 Yao Qi <yao.qi@linaro.org>
9015
9016 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
9017 (top level): Skip tests if valid_addr_p returns false for
9018 $cmd1 or $cmd2.
9019
85642ba0
AW
90202015-03-11 Andy Wingo <wingo@igalia.com>
9021
9022 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
9023
e03f9645
YQ
90242015-03-11 Yao Qi <yao.qi@linaro.org>
9025
9026 * gdb.base/catch-syscall.exp: Fix typo in comments.
9027
5d0962b2
YQ
90282015-03-11 Yao Qi <yao.qi@linaro.org>
9029
9030 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
9031
b2df3cef
PA
90322015-03-09 Pedro Alves <palves@redhat.com>
9033
9034 * dg-extract-results.py: Delete.
9035
ef878e53
PA
90362015-03-09 Pedro Alves <palves@redhat.com>
9037
9038 Merge dg-extract-results.sh from GCC upstream (r218843).
9039
9040 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
9041 * dg-extract-results.sh: Use --text with grep to avoid issues with
9042 binary files. Fall back to cat -v, if that doesn't work.
9043
9494d219
PA
90442015-03-05 Pedro Alves <palves@redhat.com>
9045
9046 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
9047
a8d9763a
SM
90482015-03-04 Simon Marchi <simon.marchi@ericsson.com>
9049
9050 * lib/mi-support.exp (mi_expect_interrupt): Accept
9051 alternative event for when in all-stop mode.
9052
be9957b8
PA
90532015-03-04 Pedro Alves <palves@redhat.com>
9054
9055 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
9056
d57be0f4 90572015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
9058
9059 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
9060
c214c7cf
AA
90612015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
9062
9063 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
9064 regexps for GDB's current line display, accept a hex address
9065 preceding the line number.
9066
6d74a497
AA
90672015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
9068
9069 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
9070 the 'arch1' variable for "s390*-linux*" targets.
9071
511aee7c
PA
90722015-03-04 Pedro Alves <palves@redhat.com>
9073
9074 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
9075 (main): Pass missing retval argument to pthread_join call.
9076
95e50b27
PA
90772015-03-02 Pedro Alves <palves@redhat.com>
9078
9079 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
9080 (top level): Call do_test with non-stop as well.
9081
28054d69
PA
90822015-03-02 Pedro Alves <palves@redhat.com>
9083
9084 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
9085 -1.
9086
4fa5d7b4
AA
90872015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
9088
9089 * gdb.arch/s390-vregs.exp: New test.
9090 * gdb.arch/s390-vregs.S: New file.
9091
97c18565
PA
90922015-02-27 Pedro Alves <palves@redhat.com>
9093
9094 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
9095 call to catch_command_errors.
9096 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
9097 catch_command_errors.
9098
a37bfa30
PA
90992015-02-27 Pedro Alves <palves@redhat.com>
9100
9101 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
9102 "true" for boolean result.
9103 * gdb.gdb/selftest.exp (test_with_self): Also accept full
9104 prototype of main.
9105
6f98576f
PA
91062015-02-27 Pedro Alves <palves@redhat.com>
9107
9108 * lib/unbuffer_output.c: New file.
9109 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
9110 (main): Call gdb_unbuffer_output.
9111
eba5ab56
YQ
91122015-02-27 Yao Qi <yao.qi@linaro.org>
9113
9114 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
9115 target.
9116
0def5aaa
DE
91172015-02-26 Doug Evans <dje@google.com>
9118
9119 * gdb.cp/class2.cc (Dbase, D): New classes.
9120 (main): New local delta.
9121 * gdb.cp/class2.exp: Test printing delta.
9122 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
9123 (dynbar): New global.
9124 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
9125
081a1c2c
JK
91262015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9127
9128 * gdb.compile/compile-ifunc.c: New file.
9129 * gdb.compile/compile-ifunc.exp: New file.
9130
2f41223f
AT
91312015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
9132
9133 * gdb.base/structs.exp: Check for correct struct on finish.
9134
03eddd80
YQ
91352015-02-26 Yao Qi <yao.qi@linaro.org>
9136
9137 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
9138 is zero.
9139
80c57053
JK
91402015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9141
9142 * gdb.arch/cordic.ko.bz2: New file.
9143 * gdb.arch/cordic.ko.debug.bz2: New file.
9144 * gdb.arch/ppc64-symtab-cordic.exp: New file.
9145
21613c12
YQ
91462015-02-25 Yao Qi <yao.qi@linaro.org>
9147
9148 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
9149 aarch64*-*-* target.
9150
d8b901ed
PA
91512015-02-23 Pedro Alves <palves@redhat.com>
9152
9153 * lib/gdb.exp (delete_breakpoints): Rewrite using
9154 gdb_test_multiple.
9155
e5b85ead
PA
91562015-02-23 Pedro Alves <palves@redhat.com>
9157
9158 * gdb.base/info-os.c: Include stdlib.h.
9159
85c3a371
DE
91602015-02-22 Doug Evans <xdje42@gmail.com>
9161
9162 PR symtab/17855
9163 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
9164 is read after symbols have been re-read.
9165 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
9166 * gdb.ada/exec_changed/second.adb (Second): Ditto.
9167
96553a0c
DE
91682015-02-21 Doug Evans <dje@google.com>
9169
9170 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
9171
97a0c697
JK
91722015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9173
9174 PR corefiles/17808
9175 * gdb.arch/i386-biarch-core.core.bz2: New file.
9176 * gdb.arch/i386-biarch-core.exp: New file.
9177
a47cd6e9
PA
91782015-02-21 Pedro Alves <palves@redhat.com>
9179
9180 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
9181 runto_main fails.
9182
c5facdc4
PA
91832015-02-20 Pedro Alves <palves@redhat.com>
9184
9185 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
9186 info probes.
9187
2db9a427
PA
91882015-02-20 Pedro Alves <palves@redhat.com>
9189
9190 * gdb.threads/multi-create-ns-info-thr.exp: New file.
9191
60fb7e9e
PA
91922015-02-20 Pedro Alves <palves@redhat.com>
9193
9194 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
9195 clean_restart before gdb_target_supports_trace.
9196
5c5019c2
PA
91972015-02-20 Pedro Alves <palves@redhat.com>
9198
9199 PR threads/18006
9200 * gdb.threads/clone-thread_db.c: New file.
9201 * gdb.threads/clone-thread_db.exp: New file.
9202
c9587f88
AT
92032015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
9204
9205 PR breakpoints/16812
9206 * gdb.base/catch-gdb-caused-signals.c: New file.
9207 * gdb.base/catch-gdb-caused-signals.exp: New file.
9208
f6a88844
JM
92092015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
9210
9211 * configure: Regenerated.
9212 * configure.ac: Use GDB_AC_TRANSFORM.
9213 * aclocal.m4: sinclude ../transform.m4.
9214
497c491b
JM
92152015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9216
9217 * lib/dtrace.exp: New file.
9218 * gdb.base/dtrace-probe.exp: Likewise.
9219 * gdb.base/dtrace-probe.d: Likewise.
9220 * gdb.base/dtrace-probe.c: Likewise.
9221 * lib/pdtrace.in: Likewise.
9222 * configure.ac: Output variables with the transformed names of
9223 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
9224 * configure: Regenerated.
9225
03e98035
JM
92262015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9227
9228 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
9229 expected message when trying to access $_probe_* convenience
9230 variables while not on a probe.
9231
63cc30e9
JK
92322015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9233
9234 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
9235
0703599a
PA
92362015-02-11 Pedro Alves <pedro@codesourcery.com>
9237
9238 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
9239 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
9240
7e60a48e
DE
92412015-02-10 Doug Evans <xdje42@gmail.com>
9242
9243 * lib/gdb.exp (gdb_load): Always return a result.
9244
01b088bc
PA
92452015-02-10 Pedro Alves <palves@redhat.com>
9246
9247 * gdb.threads/signal-sigtrap.c: New file.
9248 * gdb.threads/signal-sigtrap.exp: New file.
9249
b05ec7a5
AT
92502015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
9251
9252 * gdb.trace/no-attach-trace.c: New file.
9253 * gdb.trace/no-attach-trace.exp: New file.
9254
a2c2acaf
MW
92552015-02-09 Mark Wielaard <mjw@redhat.com>
9256
9257 * gdb.dwarf2/atomic.c: New file.
9258 * gdb.dwarf2/atomic-type.exp: Likewise.
9259
31fd9caa
MM
92602015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9261
9262 * gdb.btrace/buffer-size.exp: Update "info record" output.
9263 * gdb.btrace/delta.exp: Update "info record" output.
9264 * gdb.btrace/enable.exp: Update "info record" output.
9265 * gdb.btrace/finish.exp: Update "info record" output.
9266 * gdb.btrace/instruction_history.exp: Update "info record" output.
9267 * gdb.btrace/next.exp: Update "info record" output.
9268 * gdb.btrace/nexti.exp: Update "info record" output.
9269 * gdb.btrace/step.exp: Update "info record" output.
9270 * gdb.btrace/stepi.exp: Update "info record" output.
9271 * gdb.btrace/nohist.exp: Update "info record" output.
9272
d33501a5
MM
92732015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9274
9275 * gdb.btrace/buffer-size: New.
9276
f4abbc16
MM
92772015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9278
9279 * gdb.btrace/delta.exp: Update "info record" output.
9280 * gdb.btrace/enable.exp: Update "info record" output.
9281 * gdb.btrace/finish.exp: Update "info record" output.
9282 * gdb.btrace/instruction_history.exp: Update "info record" output.
9283 * gdb.btrace/next.exp: Update "info record" output.
9284 * gdb.btrace/nexti.exp: Update "info record" output.
9285 * gdb.btrace/step.exp: Update "info record" output.
9286 * gdb.btrace/stepi.exp: Update "info record" output.
9287 * gdb.btrace/nohist.exp: Update "info record" output.
9288
b9d61307
SM
92892015-02-06 Simon Marchi <simon.marchi@ericsson.com>
9290
9291 PR gdb/15678
9292 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
9293
e584fdbc
PA
92942015-02-06 Pedro Alves <palves@redhat.com>
9295
9296 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
9297 macro.
9298 (seconds_left, again): New globals.
9299 (main): Wait seconds_left in a 1-second sleep loop instead of
9300 sleeping 180 seconds. If 'again' is set, reset the seconds
9301 counter.
9302 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
9303 'again' in the inferior before detaching. Print the seconds left.
9304 (options): New global.
9305 (top level): Build program with -DTIMEOUT=$timeout.
9306
77f41761
PA
93072015-02-06 Pedro Alves <palves@redhat.com>
9308
9309 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
9310 determine how many seconds to pass to 'alarm'.
9311 * gdb.base/gdb-sigterm.exp (top level): Build program with
9312 -DTIMEOUT=$timeout.
9313 (do_test): Return success/failure indication. Add more verbose
9314 logging. Don't fail if 200 single steps are seen. Instead, fail
9315 when the test times out.
9316 (passes): New global.
9317 (top level): Break the testing loop if testing fails on any
9318 iteration. Use gdb_assert.
9319
b9394193
DB
93202015-02-04 Don Breazeal <donb@codesourcery.com>
9321
9322 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
9323 and initialize them.
9324 (ipc_cleanup): New function.
9325 (main): Don't declare shmid, semid, and msqid. Add a call to
9326 atexit so that we call ipc_cleanup on exit.
9327
42d9e528
PA
93282015-02-04 Pedro Alves <palves@redhat.com>
9329
9330 * boards/native-extended-gdbserver.exp: Remove any target variant
9331 specifications from the board name before clearing the isremote
9332 flag from board_info.
9333
ae6ae975
DE
93342015-01-31 Doug Evans <xdje42@gmail.com>
9335
9336 * gdb.base/maint.exp <maint print type argc>: Update expected output.
9337
cfb069a8
GB
93382015-01-31 Gary Benson <gbenson@redhat.com>
9339
9340 * gdb.base/completion.exp: Disable completion limiting for
9341 existing tests. Add new tests to check completion limiting.
9342 * gdb.linespec/ls-errs.exp: Disable completion limiting.
9343
5dd31d79
DE
93442015-01-31 Doug Evans <xdje42@gmail.com>
9345
9346 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
9347
9f050062
DE
93482015-01-31 Doug Evans <xdje42@gmail.com>
9349
9350 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
9351 entries. Duplicate file section script entries.
9352 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
9353 inlined entries. Add test for safe-path rejection.
9354 * gdb.python/py-section-script.c: Add duplicate inlined section script
9355 entries. Duplicate file section script entries.
9356 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
9357 inlined entries. Add test for safe-path rejection.
9358
df25ebbd
JB
93592015-01-29 Joel Brobecker <brobecker@adacore.com>
9360
9361 * gdb.ada/disc_arr_bound: New testcase.
9362
4a0ca9ec
JB
93632015-01-29 Joel Brobecker <brobecker@adacore.com>
9364
9365 * gdb.ada/mi_var_array: New testcase.
9366
3a8b707a
DE
93672015-01-27 Doug Evans <dje@google.com>
9368
9369 * gdb.python/py-objfile.exp: Add tests for objfile.username.
9370 Add test for objfile.filename, objfile.username after objfile
9371 has been unloaded.
9372
f8313f6e
JB
93732015-01-26 Joel Brobecker <brobecker@adacore.com>
9374
9375 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
9376 the second test to print the name attribute of value
9377 returned by the call to gdb.lookup_type, and adjust
9378 the expected output accordingly.
9379
37bc665e
MW
93802015-01-25 Mark Wielaard <mjw@redhat.com>
9381
9382 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
9383 * gdb.base/disp-step-fork.c: Include unistd.h.
9384 * gdb.base/siginfo-obj.c: Include stdio.h.
9385 * gdb.base/siginfo-thread.c: Likewise.
9386 * gdb.mi/non-stop.c: Include unistd.h.
9387 * gdb.mi/nsthrexec.c: Include stdio.h.
9388 * gdb.mi/pthreads.c: Include unistd.h.
9389 * gdb.modula2/unbounded1.c (main): Declare returns int.
9390 * gdb.reverse/consecutive-reverse.c: Likewise.
9391 * gdb.threads/create-fail.c: Include unistd.h.
9392 * gdb.threads/killed.c: Likewise.
9393 * gdb.threads/linux-dp.c: Likewise.
9394 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
9395 * gdb.threads/non-ldr-exc-2.c: Likewise.
9396 * gdb.threads/non-ldr-exc-3.c: Likewise.
9397 * gdb.threads/non-ldr-exc-4.c: Likewise.
9398 * gdb.threads/pthreads.c: Include unistd.h.
9399 (main): Declare returns int.
9400 * gdb.threads/tls-main.c (foo): New declaration.
9401 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
9402
f7e5394d
SM
94032015-01-23 Simon Marchi <simon.marchi@ericsson.com>
9404
9405 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
9406 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
9407
743649fd
MW
94082015-01-15 Mark Wielaard <mjw@redhat.com>
9409
9410 * gdb.base/noreturn-return.c: New file.
9411 * gdb.base/noreturn-return.exp: New file.
9412 * gdb.base/noreturn-finish.c: New file.
9413 * gdb.base/noreturn-finish.exp: New file.
9414
198297aa
PA
94152015-01-23 Pedro Alves <palves@redhat.com>
9416
9417 * gdb.threads/continue-pending-after-query.c: New file.
9418 * gdb.threads/continue-pending-after-query.exp: New file.
9419
717cf30c
AG
94202015-01-22 Anders Granlund <anders.granlund@ericsson.com>
9421 Simon Marchi <simon.marchi@ericsson.com>
9422
9423 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
9424 * gdb.base/valgrind-db-attach.exp: Same.
9425 * gdb.base/valgrind-infcall.exp: Same.
9426 * lib/mi-support.exp (default_mi_gdb_start): Same.
9427 * lib/prompt.exp (default_prompt_gdb_start): Same.
9428 * lib/gdb.exp (default_gdb_spawn): Same.
9429 (gdb_interact): New.
9430
9431
4b62a76e
JK
94322015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9433
9434 * gdb.compile/compile.exp (pointer to jit function): New test.
9435
b4cdae6f
WW
94362015-01-17 Wei-cheng Wang <cole945@gmail.com>
9437
9438 * lib/gdb.exp (supports_process_record): Return true for
9439 powerpc*-*-linux*.
9440 (supports_reverse): Likewise.
9441
d221e7ef
DB
94422015-01-15 Don Breazeal <donb@codesourcery.com>
9443
9444 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
9445 instead of checking whether the target board is remote and
9446 use spawn_wait_for_attach instead of exec/sleep.
9447 * gdb.base/attach-twice.exp: Likewise.
9448
bafffb51
JB
94492015-01-15 Joel Brobecker <brobecker@adacore.com>
9450
9451 * gdb.ada/var_arr_attrs: New testcase.
9452
5589af0e
PA
94532015-01-14 Pedro Alves <palves@redhat.com>
9454 Joel Brobecker <brobecker@adacore.com>
9455
9456 PR gdb/17525
9457 * gdb.base/bp-cmds-execution-x-script.c: New file.
9458 * gdb.base/bp-cmds-execution-x-script.exp: New file.
9459 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
9460
6c400b59
PA
94612015-01-14 Pedro Alves <palves@redhat.com>
9462
9463 PR cli/17828
9464 * gdb.base/batch-preserve-term-settings.c: New file.
9465 * gdb.base/batch-preserve-term-settings.exp: New file.
9466
e02c96a7
DE
94672015-01-13 Doug Evans <dje@google.com>
9468
9469 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
9470 binary.
9471
576fd14c
JB
94722015-01-13 Joel Brobecker <brobecker@adacore.com>
9473
9474 * Makefile.in (clean mostlyclean): Do not delete *.py.
9475
04dccad0
JB
94762015-01-13 Joel Brobecker <brobecker@adacore.com>
9477
9478 * gdb.python/py-lookup-type.exp: New file.
9479
3d230f71
PA
94802015-01-12 Pedro Alves <palves@redhat.com>
9481
9482 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
9483 restore GDBFLAGS before returning.
9484
7e67715d
JK
94852015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9486
9487 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
9488 is_amd64_regs_target and is_x86_like_target.
9489
f2e0d4b4
DE
94902015-01-11 Doug Evans <xdje42@gmail.com>
9491
9492 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
9493 is given without an explicit form.
9494 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
9495 attributes.
9496 * gdb.dwarf/corrupt.exp: Ditto.
9497 * gdb.dwarf2/enum-type.exp: Ditto.
9498 * gdb.trace/entry-values.exp: Ditto.
9499 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
9500
439250fb
DE
95012015-01-11 Doug Evans <xdje42@gmail.com>
9502
9503 PR gdb/15830
9504 * gdb.base/maint.exp: Remove references to "maint demangle".
9505 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
9506 Add tests for explicitly specifying language to demangle.
9507 * gdb.dlang/demangle.exp: Ditto.
9508
ede9f622
PA
95092015-01-09 Pedro Alves <palves@redhat.com>
9510
9511 * gdb.threads/non-stop-fair-events.c: New file.
9512 * gdb.threads/non-stop-fair-events.exp: New file.
9513
a7b796db
PA
95142015-01-09 Pedro Alves <palves@redhat.com>
9515
9516 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
9517 the global scope. Set a breakpoint after all threads are started
9518 rather than stepping over two source lines. Expect the prompt.
9519 * gdb.base/watch_thread_num.c (threads_started_barrier): New
9520 global.
9521 (NUM): Now 15.
9522 (main): Use threads_started_barrier to wait for all threads to
9523 start. Main thread no longer calls thread_function. Exit after
9524 180 seconds.
9525 (loop): New function.
9526 (thread_function): Wait on threads_started_barrier barrier. Call
9527 'loop' at each iteration.
9528 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
9529 threads have started, instead of hardcoding number of "next"
9530 steps. Use an access watchpoint instead of a write watchpoint.
9531
9665ffdd
PA
95322015-01-09 Pedro Alves <palves@redhat.com>
9533
9534 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
9535 (thread_func): Wait on barrier.
9536 (main): Wait for all threads to start before stopping GDB.
9537 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
9538 global.
9539 (thread1_func, thread2_func): Wait on barrier.
9540 (main): Wait for all threads to start before stopping GDB.
9541 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
9542 New global.
9543 (thread1_func, thread2_func): Wait on barrier.
9544 (main): Wait for all threads to start before stopping GDB.
9545
c945a99f
PA
95462015-01-09 Pedro Alves <palves@redhat.com>
9547
9548 * gdb.threads/attach-many-short-lived-threads.c: New file.
9549 * gdb.threads/attach-many-short-lived-threads.exp: New file.
9550
c1a747c1
PA
95512014-01-09 Pedro Alves <palves@redhat.com>
9552
9553 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
9554 instead of to thread 2.
9555 * gdb.threads/signal-command-multiple-signals-pending.c (main):
9556 Add barrier around each pthread_create call instead of around all
9557 calls.
9558 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
9559 Set a break on thread_function and have the child threads hit it
9560 one at at a time.
9561
60b3033e
PA
95622015-01-09 Pedro Alves <palves@redhat.com>
9563
9564 * lib/gdb.exp (can_spawn_for_attach): New procedure.
9565 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
9566 false.
9567 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
9568 checking whether the target board is remote.
9569 * gdb.multi/multi-attach.exp: Likewise.
9570 * gdb.python/py-sync-interp.exp: Likewise.
9571 * gdb.server/ext-attach.exp: Likewise.
9572 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
9573 tests that need to attach, instead of checking whether the target
9574 board is remote at the top of the file.
9575
acc018ac
YQ
95762015-01-08 Yao Qi <yao@codesourcery.com>
9577
9578 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
9579
50a18af8
JK
95802015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9581
9582 Fix testcase compilation.
9583 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
9584
8503d6e1
JB
95852015-01-06 Joel Brobecker <brobecker@adacore.com>
9586
9587 * gdb.python/py-type.exp: Add a couple test about empty
9588 array creation, and negative-length array creation.
9589
cc73dbcc
DE
95902015-01-02 Doug Evans <xdje42@gmail.com>
9591
9592 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
9593
0300bbc7
DE
95942015-01-02 Doug Evans <dje@google.com>
9595
9596 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
9597
9d85a0ec
YQ
95982014-12-29 Yao Qi <yao@codesourcery.com>
9599
9600 * gdb.trace/entry-values.exp: Update comments. Rename variable
9601 bar_call_foo to returned_from_foo.
9602
87186c6a
MMN
96032014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
9604
9605 PR gdb/17394
9606 * gdb.linespec/break-asm-file.c: New file.
9607 * gdb.linespec/break-asm-file.exp: New file.
9608 * gdb.linespec/break-asm-file0.s: New file.
9609 * gdb.linespec/break-asm-file1.s: New file.
9610
1bab7383
YQ
96112014-12-18 Nigel Stephens <nigel@mips.com>
9612 Maciej W. Rozycki <macro@codesourcery.com>
9613
9614 * gdb.base/float.exp: Handle the new output from "info float" on
9615 MIPS targets.
9616
1bc1068a
JK
96172014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9618
9619 Fix MinGW compilation.
9620 * gdb.compile/compile-ops.exp: Update untested message if
9621 !skip_compile_feature_tests.
9622 * gdb.compile/compile-setjmp.exp: Likewise.
9623 * gdb.compile/compile-tls.exp: Likewise.
9624 * gdb.compile/compile.exp: Likewise.
9625 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
9626 supported on this host".
9627
b6615d10
DE
96282014-12-16 Doug Evans <xdje42@gmail.com>
9629
9630 * boards/stabs.exp: New file.
9631
25dda427
AA
96322014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
9633
9634 * gdb.base/completion.exp: Adjust to format changes of "maint
9635 print user-registers".
9636
bf330350
CU
96372014-12-16 Catalin Udma <catalin.udma@freescale.com>
9638
9639 PR server/17457
9640 * gdb.arch/aarch64-fp.c: New file.
9641 * gdb.arch/aarch64-fp.exp: New file.
9642
395cf596
SDJ
96432014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
9644
9645 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
9646 r210637, r210913, r211666, r215400, r215817).
9647
9648 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
9649 * dg-extract-results.py: New file.
9650 * dg-extract-results.sh: Use it if the environment seems
9651 suitable.
9652
9653 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
9654
9655 * dg-extract-results.py (parse_run): Handle warnings that
9656 are printed before a test harness is run.
9657
9658 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
9659
9660 * dg-extract-results.py (Named): Remove __cmp__ method.
9661 (output_variation): Use a key to sort variation.harnesses.
9662
9663 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
9664
9665 * dg-extract-results.py: For Python 3, force sys.stdout to
9666 handle surrogate escape sequences.
9667 (safe_open): New function.
9668 (output_segment, main): Use it.
9669
9670 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
9671
9672 * dg-extract-results.py (Prog.result_re): Include options
9673 in test name.
9674
9675 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
9676
9677 * dg-extract-results.py (output_variation): Always sort if
9678 do_sum.
9679
e882ef3c
SM
96802014-12-15 Simon Marchi <simon.marchi@ericsson.com>
9681
9682 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
9683 as long as we get pagination notifications.
9684
4992aa20
JM
96852014-12-15 Jason Merrill <jason@redhat.com>
9686
9687 * Makefile.in (check-gdb.%): Restore.
9688 * README: Mention it.
9689
c1b5a1a6
JB
96902014-12-13 Joel Brobecker <brobecker@adacore.com>
9691
9692 * gdb.ada/str_uninit: New testcase.
9693
5537b577
JK
96942014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9695
9696 PR symtab/17642
9697 * gdb.base/vla-stub-define.c: New file.
9698 * gdb.base/vla-stub.c: New file.
9699 * gdb.base/vla-stub.exp: New file.
9700
bb2ec1b3
TT
97012014-12-12 Phil Muldoon <pmuldoon@redhat.com>
9702 Jan Kratochvil <jan.kratochvil@redhat.com>
9703 Tom Tromey <tromey@redhat.com>
9704
9705 * configure.ac: Add gdb.compile/.
9706 * configure: Regenerate.
9707 * gdb.compile/Makefile.in: New file.
9708 * gdb.compile/compile-ops.exp: New file.
9709 * gdb.compile/compile-ops.c: New file.
9710 * gdb.compile/compile-tls.c: New file.
9711 * gdb.compile/compile-tls.exp: New file.
9712 * gdb.compile/compile-constvar.S: New file.
9713 * gdb.compile/compile-constvar.c: New file.
9714 * gdb.compile/compile-mod.c: New file.
9715 * gdb.compile/compile-nodebug.c: New file.
9716 * gdb.compile/compile-setjmp-mod.c: New file.
9717 * gdb.compile/compile-setjmp.c: New file.
9718 * gdb.compile/compile-setjmp.exp: New file.
9719 * gdb.compile/compile-shlib.c: New file.
9720 * gdb.compile/compile.c: New file.
9721 * gdb.compile/compile.exp: New file.
9722 * lib/gdb.exp (skip_compile_feature_tests): New proc.
9723
4ff709eb
TT
97242014-12-12 Tom Tromey <tromey@redhat.com>
9725
9726 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
9727 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
9728
6dddd6a5
DE
97292014-12-12 Doug Evans <dje@google.com>
9730
9731 * lib/gdb-python.exp (get_python_valueof): New function.
9732 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
9733
71c24708
AA
97342014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9735
9736 * gdb.base/completion.exp: Add test for completion of "info
9737 registers ".
9738
3e29f34a
MR
97392014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
9740
9741 * gdb.base/func-ptrs.c: New file.
9742 * gdb.base/func-ptrs.exp: New file.
9743
fc126975
SM
97442014-12-10 Simon Marchi <simon.marchi@ericsson.com>
9745
9746 PR breakpoints/17012
9747 * gdb.base/dprintf-detach.c: New file.
9748 * gdb.base/dprintf-detach.exp: New file.
9749
0a46d518
SM
97502014-12-10 Simon Marchi <simon.marchi@ericsson.com>
9751
9752 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
9753 * lib/gdb.exp (target_is_gdbserver): New procedure.
9754
a0be3e44
DE
97552014-12-08 Doug Evans <dje@google.com>
9756
9757 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
9758
df1b803a
YQ
97592014-12-05 Yao Qi <yao@codesourcery.com>
9760
9761 * gdb.guile/scm-error.exp: Remove the third argument to
9762 gdb_remote_download.
9763 * gdb.guile/scm-frame-args.exp: Likewise.
9764 * gdb.guile/scm-section-script.exp: Likewise.
9765
ddb9f679
YQ
97662014-12-05 Yao Qi <yao@codesourcery.com>
9767
9768 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
9769
86e4ed39
DE
97702014-12-04 Doug Evans <dje@google.com>
9771
9772 * gdb.python/py-objfile.exp: Add tests for
9773 objfile.add_separate_debug_file.
9774
7c50a931
DE
97752014-12-04 Doug Evans <dje@google.com>
9776
9777 * lib/gdb.exp (get_build_id): New function.
9778 (build_id_debug_filename_get): Rewrite to use it.
9779 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
9780
621661e3
MR
97812014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
9782
9783 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
9784 `method(long)', not just 0x0.
9785 * gdb.cp/nsalias.exp: Align code labels to 4.
9786 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
9787 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
9788 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
9789 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
9790 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
9791 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
9792
29f0c3b7
DE
97932014-12-02 Doug Evans <dje@google.com>
9794
e1e061e7 9795 PR symtab/17602
29f0c3b7 9796 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 9797 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
9798 * gdb.cp/anon-ns.exp: Update.
9799
162078c8
NB
98002014-12-02 Nick Bull <nicholaspbull@gmail.com>
9801
9802 * gdb.python/py-events.py (inferior_call_handler): New.
9803 (register_changed_handler, memory_changed_handler): New.
9804 (test_events.invoke): Register new handlers.
9805 * gdb.python/py-events.exp: Add tests for inferior call,
9806 memory_changed and register_changed events.
9807
fdb09caf
AA
98082014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
9809
9810 * gdb.base/execl-update-breakpoints.exp: Specify the link address
9811 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
9812 if the linker doesn't understand this.
9813
55cfb2c4
SM
98142014-12-01 Simon Marchi <simon.marchi@ericsson.com>
9815
9816 * gdb.python/python.exp: Change expected reply to help().
9817
9e8cd6df
YQ
98182014-12-01 Yao Qi <yao@codesourcery.com>
9819
9820 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
9821 AC_CONFIG_SUBDIRS(gdb.gdbtk).
9822 * configure: Re-generated.
9823
6c659fc2
SC
98242014-11-28 Siva Chandra Reddy <sivachandra@google.com>
9825
9826 * gdb.cp/chained-calls.cc: New file.
9827 * gdb.cp/chained-calls.exp: New file.
9828 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
9829
d7fc3181
SM
98302014-11-28 Simon Marchi <simon.marchi@ericsson.com>
9831
9832 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
9833 * gdb.dwarf2/symtab-producer.exp: Same.
9834 * gdb.gdb/python-interrupts.exp: Same.
9835 * gdb.gdb/python-selftest.exp: Same.
9836 * gdb.python/py-linetable.exp: Same.
9837 * gdb.python/py-type.exp: Same.
9838 * gdb.python/py-value-cc.exp: Same.
9839 * gdb.python/py-value.exp: Same.
9840
10e79639
YQ
98412014-11-28 Yao Qi <yao@codesourcery.com>
9842
9843 * gdb.base/break-probes.exp: Match library name prefixed with
9844 sysroot.
9845
f28a0564
SM
98462014-11-27 Simon Marchi <simon.marchi@ericsson.com>
9847
9848 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
9849 test expected output. Add parentheses for the call to print.
9850 Remove L suffix from integers.
9851
3fe1ce1d
DE
98522014-11-26 Doug Evans <dje@google.com>
9853
9854 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
9855
84429e27
YQ
98562014-11-22 Yao Qi <yao@codesourcery.com>
9857
9858 * gdb.trace/entry-values.c: Remove asms.
9859 (foo): Add foo_label.
9860 (bar): Add bar_label.
9861 * gdb.trace/entry-values.exp: Remove code computing foo's
9862 length and bar's length.
9863 (Dwarf::assemble): Invoke function_range for bar and use
9864 MACRO_AT_func for foo.
9865
26741859
YQ
98662014-11-22 Yao Qi <yao@codesourcery.com>
9867
9868 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
9869 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
9870 Use .Lgcc43_procstart instead of gcc43.
9871
45e44d27
JB
98722014-11-21 Joel Brobecker <brobecker@adacore.com>
9873
9874 * gdb.ada/n_arr_bound: New testcase.
9875
458c8db8
SDJ
98762014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
9877
9878 PR breakpoints/10737
9879 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
9880 test_catch_syscall_multi_arch.
9881 (test_catch_syscall_multi_arch): New function.
9882
43f3e411
DE
98832014-11-20 Doug Evans <xdje42@gmail.com>
9884
9885 * gdb.base/maint.exp: Update expected output.
9886
0d7b2549
AA
98872014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9888
9889 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
9890 4-byte instruction on S390.
9891
8908fca5
JB
98922014-11-19 Joel Brobecker <brobecker@adacore.com>
9893
9894 * gdb.ada/arr_arr: New testcase.
9895
4a46959e
JB
98962014-11-19 Joel Brobecker <brobecker@adacore.com>
9897
9898 * gdb.ada/pkd_arr_elem: New Testcase.
9899
470e2f4e
LM
99002014-11-18 Luis Machado <lgustavo@codesourcery.com>
9901
9902 * gdb.reverse/break-precsave: Expect completion message for
9903 core file reads.
9904 * gdb.reverse/consecutive-precsave.exp: Likewise.
9905 * gdb.reverse/finish-precsave.exp: Likewise.
9906 * gdb.reverse/i386-precsave.exp: Likewise.
9907 * gdb.reverse/machinestate-precsave.exp: Likewise.
9908 * gdb.reverse/sigall-precsave.exp: Likewise.
9909 * gdb.reverse/solib-precsave.exp: Likewise.
9910 * gdb.reverse/step-precsave.exp: Likewise.
9911 * gdb.reverse/until-precsave.exp: Likewise.
9912 * gdb.reverse/watch-precsave.exp: Likewise.
9913
a267f3ad
AA
99142014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9915
9916 * gdb.base/bp-permanent.c: Include unistd.h.
9917 * gdb.python/py-framefilter-mi.c (main): Add return type.
9918 * gdb.python/py-framefilter.c (main): Likewise.
9919 * gdb.trace/actions-changed.c (main): Likewise.
9920
12084a9a
AA
99212014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9922
9923 * gdb.mi/until.c: Add eye-catchers.
9924 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
9925 line numbers.
9926
dc7e1a77
AA
99272014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9928
9929 * gdb.base/condbreak.exp: Drop references to removed non-prototype
9930 function header variants in break1.c.
9931 * gdb.base/ena-dis-br.exp: Likewise.
9932 * gdb.base/hbreak2.exp: Likewise.
9933 * gdb.reverse/until-precsave.exp: Drop references to removed
9934 non-prototype function header variants in ur1.c.
9935 * gdb.reverse/until-reverse.exp: Likewise.
9936
41c77605
PM
99372014-11-17 Petr Machata <pmachata@redhat.com>
9938
9939 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
9940 ${_cu_offset_size} bytes abbrev offset.
9941
34248c3a
DE
99422014-11-15 Doug Evans <xdje42@gmail.com>
9943
9944 PR symtab/17559
9945 * gdb.base/line-symtabs.exp: New file.
9946 * gdb.base/line-symtabs.c: New file.
9947 * gdb.base/line-symtabs.h: New file.
9948
646da059
YQ
99492014-11-14 Yao Qi <yao@codesourcery.com>
9950
9951 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
9952 (func): Add label func_label.
9953 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
9954 Replace low_pc and high_pc with MACRO_AT_range.
9955 Replace name, low_pc and high_pc with MACRO_AT_func.
9956
9301ebe6
YQ
99572014-11-14 Yao Qi <yao@codesourcery.com>
9958
9959 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
9960 Replace name, low_pc and high_pc with MACRO_AT_func.
9961
f166b542
YQ
99622014-11-14 Yao Qi <yao@codesourcery.com>
9963
9964 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
9965 produce debug information.
9966 * gdb.dwarf2/implptr-optimized-out.S: Removed.
9967
0f6e71e3
YQ
99682014-11-14 Yao Qi <yao@codesourcery.com>
9969
9970 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
9971 object and get function length.
9972 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
9973 with MACRO_AT_func.
9974 (top-level): Replace gdb_compile and clean_restart with
9975 prepare_for_testing.
9976 * gdb.dwarf2/main.c (main): Add label main_label.
9977
876c4df9
YQ
99782014-11-14 Yao Qi <yao@codesourcery.com>
9979
9980 * lib/dwarf.exp (function_range): New procedure.
9981 (Dwarf::_handle_macro_at_func): New procedure.
9982 (Dwarf::_handle_macro_at_range): New procedure.
9983 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
9984
02ad9cf1
YQ
99852014-11-14 Yao Qi <yao@codesourcery.com>
9986
9987 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
9988 (_handle_attribute): New procedure.
9989
a59add0c
AA
99902014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9991
9992 * gdb.ada/cond_lang/foo.c (callme): Add return type.
9993 * gdb.base/call-sc.c (zed): Likewise.
9994 * gdb.base/checkpoint.c (main): Likewise.
9995 * gdb.base/dump.c (main): Likewise.
9996 * gdb.base/gcore.c (main): Likewise.
9997 * gdb.base/huge.c (main): Likewise.
9998 * gdb.base/multi-forks.c (main): Likewise.
9999 * gdb.base/pr10179-a.c (main): Likewise.
10000 * gdb.base/savedregs.c (main): Likewise.
10001 * gdb.base/sigaltstack.c (main): Likewise.
10002 * gdb.base/siginfo.c (main): Likewise.
10003 * gdb.base/structs.c (zed): Likewise.
10004 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
10005 * gdb.mi/mi-syn-frame.c (main): Likewise.
10006 * gdb.mi/until.c (foo, main): Likewise.
10007 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
10008 * gdb.base/solib-weak.c (foo): Declare.
10009 * gdb.base/attach-twice.c: Include stdio.h.
10010 * gdb.base/weaklib1.c: Likewise.
10011 * gdb.base/weaklib2.c: Likewise.
10012 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
10013 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
10014 unistd.h.
10015 * gdb.base/attach-pie-misread.c: Include stdlib.h.
10016 * gdb.mi/mi-exit-code.c: Likewise.
10017 * gdb.base/break-interp-lib.c: Include string.h.
10018 * gdb.base/coremaker.c: Likewise.
10019 * gdb.base/testenv.c: Likewise.
10020 * gdb.python/py-finish-breakpoint.c: Likewise.
10021 * gdb.base/inferior-died.c: Include sys/wait.h.
10022 * gdb.base/fileio.c: Include time.h.
10023 * gdb.base/async-shell.c: Include unistd.h.
10024 * gdb.base/dprintf-non-stop.c: Likewise.
10025 * gdb.base/info-os.c: Likewise.
10026 * gdb.mi/mi-console.c: Likewise.
10027 * gdb.mi/watch-nonstop.c: Likewise.
10028 * gdb.python/py-events.c: Likewise.
10029 * gdb.base/async.c (baz): Move up before its invocation.
10030 * gdb.base/code_elim2.c (my_global_func): Likewise.
10031 * gdb.base/skip-solib-lib.c (multiply): Likewise.
10032 * gdb.base/advance.c (func2): Likewise.
10033
3b5d5997
AA
100342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10035
10036 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
10037 variant.
10038 * gdb.base/annota3.c: Likewise.
10039 * gdb.base/async.c: Likewise.
10040 * gdb.base/average.c: Likewise.
10041 * gdb.base/call-ar-st.c: Likewise.
10042 * gdb.base/call-rt-st.c: Likewise.
10043 * gdb.base/call-sc.c: Likewise.
10044 * gdb.base/call-strs.c: Likewise.
10045 * gdb.base/ending-run.c: Likewise.
10046 * gdb.base/execd-prog.c: Likewise.
10047 * gdb.base/exprs.c: Likewise.
10048 * gdb.base/foll-exec.c: Likewise.
10049 * gdb.base/foll-fork.c: Likewise.
10050 * gdb.base/foll-vfork.c: Likewise.
10051 * gdb.base/funcargs.c: Likewise.
10052 * gdb.base/gcore.c: Likewise.
10053 * gdb.base/jump.c: Likewise.
10054 * gdb.base/langs0.c: Likewise.
10055 * gdb.base/langs1.c: Likewise.
10056 * gdb.base/langs2.c: Likewise.
10057 * gdb.base/mips_pro.c: Likewise.
10058 * gdb.base/nodebug.c: Likewise.
10059 * gdb.base/opaque0.c: Likewise.
10060 * gdb.base/opaque1.c: Likewise.
10061 * gdb.base/recurse.c: Likewise.
10062 * gdb.base/run.c: Likewise.
10063 * gdb.base/scope0.c: Likewise.
10064 * gdb.base/scope1.c: Likewise.
10065 * gdb.base/setshow.c: Likewise.
10066 * gdb.base/setvar.c: Likewise.
10067 * gdb.base/shmain.c: Likewise.
10068 * gdb.base/shr1.c: Likewise.
10069 * gdb.base/shr2.c: Likewise.
10070 * gdb.base/sigall.c: Likewise.
10071 * gdb.base/signals.c: Likewise.
10072 * gdb.base/so-indr-cl.c: Likewise.
10073 * gdb.base/solib2.c: Likewise.
10074 * gdb.base/structs.c: Likewise.
10075 * gdb.base/sum.c: Likewise.
10076 * gdb.base/vforked-prog.c: Likewise.
10077 * gdb.base/watchpoint.c: Likewise.
10078 * gdb.reverse/shr2.c: Likewise.
10079 * gdb.reverse/until-reverse.c: Likewise.
10080 * gdb.reverse/ur1.c: Likewise.
10081 * gdb.reverse/watch-reverse.c: Likewise.
10082
066a77c5
AA
100832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10084
10085 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
10086 variant.
10087 * gdb.base/sepdebug.exp: Drop references to removed code.
10088
4f204ea5
AA
100892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10090
10091 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
10092 variant. Preserve original line numbering.
10093 * gdb.base/list1.c: Likewise.
10094
3b377a3a
AA
100952014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10096
10097 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
10098 variant.
10099 * gdb.base/break1.c: Likewise.
10100 * gdb.base/break.exp: Drop references to removed code.
10101
e444df73
AA
101022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10103
10104 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
10105 variant.
10106
8008f2a7
AA
101072014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10108
10109 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
10110
a5a06887
AA
101112014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10112
10113 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
10114 logic into perform_all_tests() and invoke it with and without
10115 function header prototypes.
10116 (do_function_calls): Remove conditional XFAIL for PR 5318.
10117 (rerun_and_prepare): Remove duplicate code.
10118 (perform_all_tests): New. Main logic moved here.
10119
44dba9b9
AA
101202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10121
10122 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
10123 code guarded by #ifdef NO_PROTOTYPES.
10124 (t_double_many_args): Likewise.
10125 (DEF_FUNC_MANY_ARGS_1): Likewise.
10126 (DEF_FUNC_VALUES_1): Likewise.
10127 (t_structs_ldc): Renamed from t_structs_fc in conditional code
10128 guarded by #ifdef PROTOTYPES.
10129
d1fbcd56
AA
101302014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10131
10132 * gdb.mi/mi-console.c: Add eye-catcher.
10133 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
10134 instead of literal line number.
10135
b0e59b8f
AA
101362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10137
10138 * gdb.base/shr2.c: Add eye-catcher.
10139 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
10140 line number.
10141
78f98cca
AA
101422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10143
10144 * gdb.base/jump.c: Add eye-catchers.
10145 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
10146 numbers.
10147
58fa2af0
AA
101482014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10149
10150 * gdb.base/execd-prog.c: Add eye-catchers.
10151 * gdb.base/foll-exec.c: Likewise.
10152 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
10153 line numbers.
10154
04e5059b
AA
101552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10156
10157 * gdb.base/ending-run.c: Add eye-catchers.
10158 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
10159 literal line numbers.
10160
dbfdb174
AA
101612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10162
10163 * gdb.base/call-rt-st.c: Add eye-catchers.
10164 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
10165 literal line numbers.
10166
888a2ade
AA
101672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10168
10169 * gdb.base/call-ar-st.c: Add eye-catchers.
10170 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
10171 literal line numbers.
10172
6acc2dde
AA
101732014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10174
10175 * gdb.base/average.c: Add eye-catchers.
10176 * gdb.base/sum.c: Likewise.
10177 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
10178 regexps dynamically.
10179
9ecfcd1d
AA
101802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10181
10182 * gdb.base/solib1.c: Add eye-catchers.
10183 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
10184 literal line numbers.
10185
78708b7c
PA
101862014-11-12 Pedro Alves <palves@redhat.com>
10187
10188 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
10189 leader has exited.
10190
af48d08f
PA
101912014-11-12 Pedro Alves <palves@redhat.com>
10192
10193 * gdb.arch/i386-bp_permanent.c: New file.
10194 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
10195 (srcfile): Set to i386-bp_permanent.c.
10196 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
10197 that stepi does not execute the 'leave' instruction, instead of
10198 testing it does execute.
10199 * gdb.base/bp-permanent.c: New file.
10200 * gdb.base/bp-permanent.exp: New file.
10201
af3768e9
DE
102022014-11-10 Doug Evans <xdje42@gmail.com>
10203
10204 PR symtab/17564
10205 * gdb.base/symtab-search-order.exp: New file.
10206 * gdb.base/symtab-search-order.c: New file.
10207 * gdb.base/symtab-search-order-1.c: New file.
10208 * gdb.base/symtab-search-order-shlib-1.c: New file.
10209
9de00a4a
PA
102102014-11-07 Pedro Alves <palves@redhat.com>
10211
10212 PR gdb/17511
10213 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
10214 i?86-*-linux*.
10215
e0f52461
SC
102162014-11-03 Siva Chandra Reddy <sivachandra@google.com>
10217
10218 PR c++/17494
10219 * gdb.cp/pr17494.cc: New file.
10220 * gdb.cp/pr17494.exp: New file.
10221
6ce8c980
YQ
102222014-11-02 Yao Qi <yao@codesourcery.com>
10223
10224 * gdb.python/python.exp: Get working directory and match the
10225 output of "set extended-prompt \\w " with it.
10226
02be9a71
DE
102272014-10-30 Doug Evans <dje@google.com>
10228
10229 * gdb.python/py-objfile.exp: Add tests for setting random attributes
10230 in objfiles.
10231 * gdb.python/py-progspace.exp: Add tests for setting random attributes
10232 in progspaces.
10233
3bdff46b
LM
102342014-10-30 Janis Johnson <janisjo@codesourcery.com>
10235
10236 * gdb.base/fullpath-expand.exp: Skip for a remote host.
10237 * gdb.base/realname-expand.exp: Likewise.
10238 * gdb.linespec/macro-relative.exp: Likewise.
10239
ab917dfb
PA
102402014-10-29 Pedro Alves <palves@redhat.com>
10241
10242 PR gdb/17408
10243 * gdb.threads/schedlock.c (some_function): New function.
10244 (call_function): New global.
10245 (MAYBE_CALL_SOME_FUNCTION): New macro.
10246 (thread_function): Call it.
10247 * gdb.threads/schedlock.exp (get_args): Add description parameter,
10248 and use it instead of a global counter. Adjust all callers.
10249 (get_current_thread): Use "find current thread" for test message
10250 here rather than having all callers pass down the same string.
10251 (goto_loop): New procedure, factored out from ...
10252 (my_continue): ... this.
10253 (step_ten_loops): Change parameter from test message to command to
10254 use. Adjust.
10255 (list_count): Delete global.
10256 (check_result): New procedure, factored out from duplicate top
10257 level code.
10258 (continue tests): Wrap in with_test_prefix.
10259 (test_step): New procedure, factored out from duplicate top level
10260 code.
10261 (top level): Test "step" in combination with all scheduler-locking
10262 modes. Test "next" in combination with all scheduler-locking
10263 modes, and in combination with stepping over a function call or
10264 not.
10265 * gdb.threads/next-bp-other-thread.c: New file.
10266 * gdb.threads/next-bp-other-thread.exp: New file.
10267
d3d4baed
PA
102682014-10-29 Pedro Alves <palves@redhat.com>
10269
10270 PR python/17372
10271 * gdb.python/python.exp: Test a multi-line command that spawns
10272 interactive Python.
10273 * gdb.base/multi-line-starts-subshell.exp: New file.
10274
563e8d85
YQ
102752014-10-29 Yao Qi <yao@codesourcery.com>
10276
10277 * gdb.base/fileio.exp: Make directories on host.
10278
0ea4d52e
YQ
102792014-10-29 Yao Qi <yao@codesourcery.com>
10280
10281 * gdb.base/fileio.c (test_write): Close the file.
10282
7f5ef605
PA
102832014-10-28 Pedro Alves <palves@redhat.com>
10284
10285 PR gdb/12623
10286 * gdb.base/sigstep.c (no_handler): New global.
10287 (main): If 'no_handler is true, set the signal handlers to
10288 SIG_IGN.
10289 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
10290 with_sw_watch and no_handler parameters. Handle them.
10291 (top level) <stepping over handler when stopped at a breakpoint
10292 test>: Add a test axis for testing with a software watchpoint, and
10293 another for testing with the signal handler set to SIG_IGN.
10294 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
10295 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
10296
abbdbd03
PA
102972014-10-28 Pedro Alves <palves@redhat.com>
10298
10299 PR gdb/17511
10300 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
10301 * gdb.base/sigstep.exp (other_handler_location): New global.
10302 (advance): Support stepping into the signal handler, and running
10303 commands while in the handler.
10304 (in_handler_map): New global.
10305 (top level): In the advance test, add combinations for getting
10306 into the handler with stepping commands, and for running commands
10307 in the handler. Add comment descripting the advancei tests.
10308
1df4399f
PA
103092014-10-28 Pedro Alves <palves@redhat.com>
10310
10311 * gdb.base/sigstep.exp: Use build_executable instead of
10312 prepare_for_testing.
10313 (top level): Move code that starts GDB, runs to main and creates a
10314 display to ...
10315 (restart): ... this new procedure.
10316 (top level): Move backtrace from signal handler test to ...
10317 (validate_backtrace): ... this new procedure.
10318 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
10319 with_test_prefix. Always restart GDB.
10320 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
10321 with_test_prefix. Always restart GDB. No need to delete
10322 breakpoints after the test.
10323 (test_skip_handler): Remove prefix parameter.
10324 (skip_over_handler, breakpoint_to_handler)
10325 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
10326 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
10327 restart GDB. No need to delete breakpoints after the test.
10328 (top level): Use foreach to call the test procedures with
10329 different commands.
10330
a5b6e449
PA
103312014-10-28 Pedro Alves <palves@redhat.com>
10332
10333 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
10334 instead of GNATS numbers.
10335 * gdb.base/sigbpt.exp: Likewise.
10336 * gdb.base/siginfo.exp: Likewise.
10337 * gdb.base/sigstep.exp: Likewise.
10338
e5f8a7cc
PA
103392014-10-27 Pedro Alves <palves@redhat.com>
10340
10341 * gdb.base/sigstep.c (dummy): New global.
10342 (main): Issue a couple writes to the new global.
10343 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
10344 procedures.
10345 (skip_over_handler): Use test_skip_handler.
10346 (top level): Call skip_over_handler for stepi and nexti too.
10347 (breakpoint_over_handler): Use test_skip_handler.
10348 (top level): Call breakpoint_over_handler for stepi and nexti too.
10349
763905a3
YQ
103502014-10-27 Yao Qi <yao@codesourcery.com>
10351
10352 * gdb.trace/tfile.c (adjust_function_address)
10353 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
10354 function descriptor.
10355
6f259a23
DB
103562014-10-24 Don Breazeal <donb@codesourcery.com>
10357
10358 * gdb.base/foll-fork.exp (test_follow_fork,
10359 catch_fork_child_follow): Check for updated fork messages emitted
10360 from infrun.c.
10361 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
10362 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
10363 vfork_and_exec_child_follow_through_step): Check for updated vfork
10364 messages emitted from infrun.c.
10365
09dd9a69
PA
103662014-10-24 Pedro Alves <palves@redhat.com>
10367
10368 * gdb.base/corefile.exp: Remove references to ultrix.
10369 * gdb.base/interrupt.exp: Likewise.
10370 * gdb.base/whatis.exp: Likewise.
10371 * gdb.gdb/selftest.exp: Likewise.
10372 * gdb.threads/manythreads.exp: Likewise.
10373 * gdb.threads/print-threads.exp: Likewise.
10374 * gdb.threads/pthreads.exp:: Likewise.
10375 * gdb.threads/schedlock.exp: Likewise.
10376
3433cfa5
SC
103772014-10-24 Siva Chandra Reddy <sivachandra@google.com>
10378
10379 * gdb.cp/non-trivial-retval.cc: Add a test case.
10380 * gdb.cp/non-trivial-retval.exp: Add a test.
10381
092f880b
YQ
103822014-10-20 Yao Qi <yao@codesourcery.com>
10383
10384 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
10385 * gdb.python/py-objfile-script-gdb.py: New file.
10386 * gdb.python/py-objfile-script.exp: Update reference to
10387 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
10388 of remote_download. Remove the dest file.
10389
acbdb7f3
YQ
103902014-10-20 Yao Qi <yao@codesourcery.com>
10391
10392 * gdb.base/checkpoint.exp: Don't remove file copied on host.
10393 * gdb.base/step-line.exp: Likewise.
10394 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
10395 * gdb.dwarf2/dw2-basic.exp: Likewise.
10396 * gdb.dwarf2/dw2-compressed.exp: Likewise.
10397 * gdb.dwarf2/dw2-filename.exp: Likewise.
10398 * gdb.dwarf2/dw2-intercu.exp: Likewise.
10399 * gdb.dwarf2/dw2-intermix.exp: Likewise.
10400 * gdb.dwarf2/dw2-producer.exp: Likewise.
10401 * gdb.dwarf2/mac-fileno.exp: Likewise.
10402 * gdb.python/py-frame-args.exp: Likewise.
10403 * gdb.python/py-framefilter.exp: Likewise.
10404 * gdb.python/py-mi.exp: Likewise.
10405 * gdb.python/py-objfile-script.exp: Likewise
10406 * gdb.python/py-pp-integral.exp: Likewise.
10407 * gdb.python/py-pp-re-notag.exp: Likewise.
10408 * gdb.python/py-prettyprint.exp: Likewise.
10409 * gdb.python/py-section-script.exp: Likewise.
10410 * gdb.python/py-typeprint.exp: Likewise.
10411 * gdb.python/py-xmethods.exp: Likewise.
10412 * gdb.stabs/weird.exp: Likewise.
10413 * gdb.xml/tdesc-regs.exp: Likewise.
10414
bd286a29
KCY
104152014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
10416
10417 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
10418 (out_cu): Use addr_len for the size of addresses.
10419 (out_line): Likewise. Size DW_LNE_set_address instruction
10420 according to addr_len.
10421 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
10422 (FUNC): Add START_INSNS to definition.
10423
673dc4a0
YQ
104242014-10-18 Yao Qi <yao@codesourcery.com>
10425
10426 * gdb.base/argv0-symlink.exp: Check argv[0] value if
10427 gdb_has_argv0 return true.
10428 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
10429 check [target_info exists noargs], check [gdb_has_argv0]
10430 instead.
10431 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
10432 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
10433 procedures.
10434
4ffbba72
DE
104352014-10-17 Doug Evans <dje@google.com>
10436
10437 * gdb.python/py-events.exp: Update expected output for clear_objfiles
10438 event.
10439 * gdb.python/py-events.py: Add clear_objfiles event.
10440
d096d8c1
DE
104412014-10-17 Doug Evans <dje@google.com>
10442
10443 * gdb.python/py-objfile.exp: Test progspace attribute.
10444
a80db015
LM
104452014-10-17 Luis Machado <lgustavo@codesourcery.com>
10446
10447 * gdb.guile/scm-breakpoint.exp: Do not assume any
10448 directory separators when matching source file paths.
10449 * gdb.python/py-breakpoint.exp: Likewise.
10450 * gdb.reverse/break-precsave.exp: Likewise.
10451 * gdb.reverse/break-reverse.exp: Likewise.
10452 * gdb.reverse/consecutive-precsave.exp: Likewise.
10453 * gdb.reverse/finish-precsave.exp: Likewise.
10454 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
10455 * gdb.reverse/finish-reverse.exp: Likewise.
10456 * gdb.reverse/i386-precsave.exp: Likewise.
10457 * gdb.reverse/i387-env-reverse.exp: Likewise.
10458 * gdb.reverse/i387-stack-reverse.exp: Likewise.
10459 * gdb.reverse/machinestate-precsave.exp: Likewise.
10460 * gdb.reverse/machinestate.exp: Likewise.
10461 * gdb.reverse/sigall-precsave.exp: Likewise.
10462 * gdb.reverse/solib-precsave.exp: Likewise.
10463 * gdb.reverse/step-precsave.exp: Likewise.
10464 * gdb.reverse/until-precsave.exp: Likewise.
10465 * gdb.reverse/watch-precsave.exp: Likewise.
10466 * gdb.reverse/watch-reverse.exp: Likewise.
10467
b22089ab
YQ
104682014-10-17 Yao Qi <yao@codesourcery.com>
10469
10470 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
10471 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
10472
6c4486e6
PA
104732014-10-17 Pedro Alves <palves@redhat.com>
10474
10475 PR gdb/17471
10476 * gdb.base/bg-execution-repeat.c: New file.
10477 * gdb.base/bg-execution-repeat.exp: New file.
10478
0ff33695
PA
104792014-10-17 Pedro Alves <palves@redhat.com>
10480
10481 PR gdb/17300
10482 * gdb.base/continue-all-already-running.c: New file.
10483 * gdb.base/continue-all-already-running.exp: New file.
10484
6fdebc3d
PA
104852014-10-17 Pedro Alves <palves@redhat.com>
10486
10487 PR gdb/17472
10488 * gdb.base/annota-input-while-running.c: New file.
10489 * gdb.base/annota-input-while-running.exp: New file.
10490
32a8097b
PA
104912014-10-17 Pedro Alves <palves@redhat.com>
10492
10493 * gdb.base/callfuncs.exp: emove references to osf.
10494 * gdb.base/sigall.exp: Likewise.
10495 * gdb.gdb/selftest.exp: Likewise.
10496 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
10497 * gdb.mi/non-stop.c: Likewise.
10498 * gdb.mi/pthreads.c: Likewise.
10499 * gdb.reverse/sigall-precsave.exp: Likewise.
10500 * gdb.reverse/sigall-reverse.exp: Likewise.
10501 * gdb.threads/pthreads.c: Likewise.
10502 * gdb.threads/pthreads.exp: Likewise.
10503
7a3517ff
YQ
105042014-10-17 Yao Qi <yao@codesourcery.com>
10505
10506 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
10507 check 'target_info exists noargs'.
10508 (test_command_prompt_position): Likewise.
10509 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
10510 Remove "set args".
10511 (progvar_simple_while_test): Likewise.
10512 (progvar_complex_if_while_test): Likewise.
10513 (if_while_breakpoint_command_test): Likewise.
10514 (infrun_breakpoint_command_test): Likewise.
10515 (breakpoint_command_test): Likewise.
10516 (watchpoint_command_test): Likewise.
10517 (bp_deleted_in_command_test): Likewise.
10518 (temporary_breakpoint_commands): Likewise.
10519
bb99c472
YQ
105202014-10-16 Yao Qi <yao@codesourcery.com>
10521
10522 * gdb.base/remotetimeout.exp: Remove noargs checking.
10523
7c16b83e
PA
105242014-10-15 Pedro Alves <palves@redhat.com>
10525
10526 PR breakpoints/9649
10527 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
10528 * gdb.base/breakpoint-in-ro-region.exp
10529 (probe_target_hardware_step): New procedure.
10530 (top level): Probe hardware stepping and hardware breakpoint
10531 support. Test stepping through a read-only region, with both
10532 "breakpoint auto-hw" on and off and both "always-inserted" on and
10533 off.
10534
35a49624
IB
105352014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
10536
10537 * gdb.dlang/demangle.exp: Update for demangling changes.
10538
2d1c107c
SC
105392014-10-15 Siva Chandra Reddy <sivachandra@google.com>
10540
10541 * gdb.cp/non-trivial-retval.cc: Add new test cases.
10542 * gdb.cp/non-trivial-retval.exp: Add new tests.
10543
778811d5
SC
105442014-10-15 Siva Chandra Reddy <sivachandra@google.com>
10545
10546 PR c++/13403
10547 PR c++/15154
10548 * gdb.cp/non-trivial-retval.cc: New file.
10549 * gdb.cp/non-trivial-retval.exp: New file.
10550
10c5f0a8
YQ
105512014-10-15 Yao Qi <yao@codesourcery.com>
10552
10553 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
10554 remote host.
10555
65d7b369
YQ
105562014-10-15 Yao Qi <yao@codesourcery.com>
10557
10558 * gdb.python/py-symbol.exp: Match file base name if host is
10559 remote, otherwise match file name with dir name.
10560 * gdb.python/py-symtab.exp: Likewise.
10561 * gdb.python/python.exp: Likewise.
10562
46dc1394
YQ
105632014-10-15 Yao Qi <yao@codesourcery.com>
10564
10565 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
10566 pattern.
10567 * gdb.python/py-symtab.exp: Likewise.
10568 * gdb.python/python.exp: Remove trailing ".*". Fix typo
10569 locationn.
10570
c40cc657
JB
105712014-10-14 Joel Brobecker <brobecker@adacore.com>
10572
10573 * gdb.ada/addr_arith: New testcase.
10574
2abf49e1
MR
105752014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
10576
10577 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
10578 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
10579 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
10580 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
10581
f7088df3
SDJ
105822014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
10583
10584 * gdb.arch/stap-eval-lang-ada.S: Likewise.
10585 * gdb.arch/stap-eval-lang-ada.c: Likewise.
10586 * gdb.arch/stap-eval-lang-ada.exp: New file.
10587
4dc06805
YQ
105882014-10-14 Yao Qi <yao@codesourcery.com>
10589
10590 * gdb.mi/mi-var-child.c (nothing1): New function.
10591 (nothing2): New function.
10592 (do_children_tests): Set function pointers by nothing1 and
10593 nothing2.
10594 * gdb.mi/mi-var-child.exp: Step over new added statements.
10595 Update test to match the new output.
10596 * gdb.mi/var-cmd.c (nothing1): New function.
10597 (nothing2): New function.
10598 (do_children_tests): Set function pointers by nothing1 and
10599 nothing2.
10600 * gdb.mi/mi-var-display.exp: Update test to match output.
10601 Step to the line specified by $line_dct_nothing.
10602 Increase the number of lines to step.
10603
46a93de2
YQ
106042014-10-14 Yao Qi <yao@codesourcery.com>
10605
10606 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
10607 tests.
10608 * gdb.mi/mi2-var-child.exp: Likewise.
10609
14ea52ee
DE
106102014-10-13 Doug Evans <dje@google.com>
10611
10612 * gdb.python/py-objfile.exp: Change name of file name test.
10613
e5c6e92b
DE
106142014-10-13 Doug Evans <dje@google.com>
10615
10616 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
10617 from the start of the CU.
10618
c780cc2f
JK
106192014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10620 Yao Qi <yao@codesourcery.com>
10621
10622 Fix "save breakpoints" for "catch" command.
10623 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
10624 Remove -nonewline. Match also the added "main" line.
10625
99894e11
JK
106262014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10627
10628 Fix "save breakpoints" for "disable $bpnum" command.
10629 * gdb.base/save-bp.c (main): Add label.
10630 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
10631
6e1ac5a3
JK
106322014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10633
10634 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
10635
754dd2b0
YQ
106362014-10-11 Yao Qi <yao@codesourcery.com>
10637
10638 * gdb.server/server-kill.exp: Execute command
10639 "set remote trace-status-packet on" before "tstatus".
10640
f90183d7
YQ
106412014-10-11 Yao Qi <yao@codesourcery.com>
10642
10643 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
10644 (main): Call getppid.
10645 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
10646 and continue to it. Read variable "server_pid".
10647
bf40a607
YQ
106482014-10-11 Yao Qi <yao@codesourcery.com>
10649
10650 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
10651
052ca370
YQ
106522014-10-11 Yao Qi <yao@codesourcery.com>
10653
10654 * gdb.threads/thread-find.exp: Don't execute command
10655 "info threads".
10656 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
10657 * gdb.threads/linux-dp.exp: Don't check the condition
10658 $threads_created equals to zero.
10659
3831839c
PA
106602014-10-10 Pedro Alves <palves@redhat.com>
10661
10662 * gdb.base/bigcore.exp: Remove references to IRIX.
10663 * gdb.base/funcargs.exp: Likewise.
10664 * gdb.base/interrupt.exp: Likewise.
10665 * gdb.base/mips_pro.exp: Likewise.
10666 * gdb.base/nodebug.exp: Likewise.
10667 * gdb.base/setvar.exp: Likewise.
10668 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
10669
8b9a549d
PA
106702014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10671 Pedro Alves <palves@redhat.com>
10672
10673 PR symtab/14466
10674 * gdb.base/vdso-warning.c: New file.
10675 * gdb.base/vdso-warning.exp: New file.
10676
d48ba5e8
DE
106772014-10-02 Doug Evans <dje@google.com>
10678
10679 * gdb.base/structs.c (main): Don't run forever.
10680
2278c276
PA
106812014-10-02 Pedro Alves <palves@redhat.com>
10682
10683 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
10684 (top level) <stop threads 1, stop threads 2>: Use it.
10685
b57bacec
PA
106862014-10-02 Pedro Alves <palves@redhat.com>
10687
10688 * gdb.threads/break-while-running.exp (test): Add new
10689 'update_thread_list' argument. Skip "info threads" if false.
10690 (top level): Add new 'update_thread_list' axis.
10691
13fd3ff3
PA
106922014-10-02 Pedro Alves <palves@redhat.com>
10693
10694 PR breakpoints/17431
10695 * gdb.base/execl-update-breakpoints.c: New file.
10696 * gdb.base/execl-update-breakpoints.exp: New file.
10697
0fec99e8
PA
106982014-10-01 Pedro Alves <palves@redhat.com>
10699
10700 * gdb.base/breakpoint-in-ro-region.c: New file.
10701 * gdb.base/breakpoint-in-ro-region.exp: New file.
10702
2ddf4301
SM
107032014-10-01 Simon Marchi <simon.marchi@ericsson.com>
10704
10705 * gdb.mi/mi-exit-code.exp: New file.
10706 * gdb.mi/mi-exit-code.c: New file.
10707
6a5f3f43
YQ
107082014-09-30 Yao Qi <yao@codesourcery.com>
10709
10710 * lib/prelink-support.exp (build_executable_own_libs): Error if
10711 the target isn't native.
10712
345bcc73
YQ
107132014-09-30 Yao Qi <yao@codesourcery.com>
10714
10715 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
10716 false.
10717
a25a5a45
PA
107182014-09-22 Pedro Alves <palves@redhat.com>
10719
10720 * gdb.threads/break-while-running.exp: New file.
10721 * gdb.threads/break-while-running.c: New file.
10722
00ba3162
YQ
107232014-09-19 Yao Qi <yao@codesourcery.com>
10724
10725 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
10726 Invoke test. Restart GDB with --readnow and invoke test again.
10727
c3b7b696
YQ
107282014-09-19 Yao Qi <yao@codesourcery.com>
10729
10730 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
10731 proc set_breakpoint_on_gcd_function. Invoke
10732 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
10733 invoke set_breakpoint_on_gcd_function again.
10734
2b4fd423
DE
107352014-09-18 Doug Evans <dje@google.com>
10736
10737 * gdb.dwarf2/symtab-producer.exp: New file.
10738
a5947601
SDJ
107392014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
10740
10741 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
10742 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
10743 * gdb.base/global-var-nested-by-dso.c: Likewise.
10744 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10745
91c19059
SDJ
107462014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
10747 Pedro Alves <palves@redhat.com>
10748
10749 * gdb.base/watch-bitfields.exp: Pass string other than test file
10750 name to prepare_for_testing.
10751 (watch): New procedure.
10752 (expect_watchpoint): Use with_test_prefix.
10753 (top level): Factor out tests to ...
10754 (test_watch_location, test_regular_watch): ... these new
10755 procedures, and use with_test_prefix and gdb_continue_to_end.
10756
bb9d5f81
PP
107572014-09-16 Patrick Palka <patrick@parcs.ath.cx>
10758
10759 PR breakpoints/12526
10760 * gdb.base/watch-bitfields.exp: New file.
10761 * gdb.base/watch-bitfields.c: New file.
10762
635856f5
PA
107632014-09-16 Pedro Alves <palves@redhat.com>
10764
10765 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
10766 software and hardware addresses, not software address against
10767 itself.
10768
7280ceea
PA
107692014-09-16 Pedro Alves <palves@redhat.com>
10770
10771 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
10772 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
10773
428b16bd
PA
107742014-09-16 Pedro Alves <palves@redhat.com>
10775
10776 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
10777 files.
10778 * gdb.base/a2-run.exp: Remove all code guarded by istarget
10779 "*-*-vxworks*" throughout.
10780 * gdb.base/break.exp: Likewise.
10781 * gdb.base/default.exp: Likewise.
10782 * gdb.base/scope.exp: Likewise.
10783 * gdb.base/sepdebug.exp: Likewise.
10784 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
10785 throughout.
10786 * gdb.base/run.c: Likewise.
10787 * gdb.base/sepdebug.c: Likewise.
10788 * gdb.hp/gdb.aCC/run.c: Likewise.
10789 * gdb.reverse/until-reverse.c: Likewise.
10790 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
10791
666d413c
YQ
107922014-09-16 Yao Qi <yao@codesourcery.com>
10793
10794 * boards/local-remote-host-native.exp: New file.
10795
57cbd724
DE
107962014-09-14 Doug Evans <xdje42@gmail.com>
10797
10798 * gdb.threads/queue-signal.c (thread_count): New variable.
10799 (thread_count_mutex, thread_count_condvar): New variables.
10800 (incr_thread_count, wait_all_threads_running): New functions.
10801 (main): Wait for all threads to be in their thread functions.
10802
81219e53
DE
108032014-09-13 Doug Evans <xdje42@gmail.com>
10804
10805 * gdb.threads/queue-signal.c: New file.
10806 * gdb.threads/queue-signal.exp: New file.
10807
3714cea7
DE
108082014-09-13 Doug Evans <xdje42@gmail.com>
10809
10810 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
10811 be consistent with what default_gdb_init uses.
10812 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
10813 the plain text of the prompt. Add some logging printfs.
10814 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
10815
fa43b1d7
PA
108162014-09-12 Pedro Alves <palves@redhat.com>
10817
10818 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
10819 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
10820 * gdb.arch/i386-size-overlap.exp: Likewise.
10821 * gdb.arch/i386-size.exp: Likewise.
10822 * gdb.arch/i386-unwind.exp: Likewise.
10823 * gdb.base/a2-run.exp: Likewise.
10824 * gdb.base/break.exp: Likewise.
10825 * gdb.base/charset.exp: Likewise.
10826 * gdb.base/chng-syms.exp: Likewise.
10827 * gdb.base/commands.exp: Likewise.
10828 * gdb.base/dbx.exp: Likewise.
10829 * gdb.base/find.exp: Likewise.
10830 * gdb.base/funcargs.exp: Likewise.
10831 * gdb.base/jit-simple.exp: Likewise.
10832 * gdb.base/reread.exp: Likewise.
10833 * gdb.base/sepdebug.exp: Likewise.
10834 * gdb.base/step-bt.exp: Likewise.
10835 * gdb.cp/mb-inline.exp: Likewise.
10836 * gdb.cp/mb-templates.exp: Likewise.
10837 * gdb.objc/basicclass.exp: Likewise.
10838 * gdb.threads/killed.exp: Likewise.
10839
9d9bf2df
EBM
108402014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10841
10842 PR tdep/17379
10843 * gdb.arch/powerpc-stackless.S: New file.
10844 * gdb.arch/powerpc-stackless.exp: New file.
10845
1cf2f1b0
JK
108462014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10847
10848 * gdb.base/attach.c: Include unistd.h.
10849 (main): Call alarm. Add label postloop.
10850 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
10851 gdb_breakpoint, gdb_continue_to_breakpoint.
10852 (test_command_line_attach_run): Kill ${testpid} in one exit path.
10853
98880d46
PA
108542014-09-11 Pedro Alves <palves@redhat.com>
10855
10856 PR gdb/17347
10857 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
10858 * gdb.base/attach.exp (test_command_line_attach_run): New
10859 procedure.
10860 (top level): Call it.
10861
4c92ff2c
PA
108622014-09-11 Pedro Alves <palves@redhat.com>
10863
10864 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
10865 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
10866 (do_command_attach_tests): Use spawn_wait_for_attach.
10867 * gdb.base/solib-overlap.exp: Likewise.
10868 * gdb.multi/multi-attach.exp: Likewise.
10869 * gdb.python/py-prompt.exp: Likewise.
10870 * gdb.python/py-sync-interp.exp: Likewise.
10871 * gdb.server/ext-attach.exp: Likewise.
10872
3adc1a7d
GKB
108732014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
10874
10875 * gdb.fortran/array-element.exp: Remove unexpected "continue"
10876 command in testcase. Simplify testcase.
10877
96334934
JB
108782014-09-10 Joel Brobecker <brobecker@adacore.com>
10879
10880 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
10881
eb479039
JB
108822014-09-10 Joel Brobecker <brobecker@adacore.com>
10883
10884 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
10885
deede10c
JB
108862014-09-10 Joel Brobecker <brobecker@adacore.com>
10887
10888 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
10889
7828a5f5
JB
108902014-09-10 Joel Brobecker <brobecker@adacore.com>
10891
10892 * gdb.dwarf2/dynarr-ptr.c: New file.
10893 * gdb.dwarf2/dynarr-ptr.exp: New file.
10894
33aeebcf
MR
108952014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10896
10897 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
10898 of 30 rather than hardcoding 120 for a slow test case. Take the
10899 `gdb,timeout' target setting into account for this calculation.
10900 Don't extend the timeout for the test cases that don't need it.
10901
7b415901
MR
109022014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10903
10904 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
10905 a factor of 2 for a slow test case. Take the `gdb,timeout'
10906 target setting into account for this calculation.
10907 * gdb.reverse/until-precsave.exp: Increase the timeout by
10908 a factor of 15 and 3 respectively rather than adding 120
10909 for a pair of slow test cases. Take the `gdb,timeout'
10910 target setting into account for this calculation.
10911
4a40f85a
MR
109122014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10913
10914 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
10915 timeout, don't pass one down to gdb_expect.
10916 (gdb_expect): Rework timeout selection.
10917
09635af7
MR
109182014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10919
10920 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
10921 exception on timeout.
10922 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
10923 (gdbserver_start_extended): Catch any `gdbserver_start' error
10924 exceptions.
10925 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
10926 * lib/mi-support.exp (mi_gdb_target_load): Catch any
10927 `gdbserver_gdb_load' error exceptions.
10928
2bdd10b7
MR
109292014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10930
10931 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
10932 120 on waiting for the TCP socket to open.
10933
316935f0
DE
109342014-09-09 Doug Evans <xdje42@gmail.com>
10935
10936 * gdb.base/default.exp (show_conv_list): Add _caller_is,
10937 _caller_matches, _any_caller_is, _any_caller_matches.
10938
83740597
DE
109392014-09-09 Doug Evans <xdje42@gmail.com>
10940
10941 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
10942
4c122fc3
YQ
109432014-09-09 Yao Qi <yao@codesourcery.com>
10944
10945 * gdb.mi/mi-var-display.exp: Set print symbol off.
10946
a9f116cb
GKB
109472014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
10948
10949 PR gdb/17035
10950 * gdb.base/commands.exp: Add tests to verify user-defined
10951 commands with empty bodies.
10952 * gdb.python/py-cmd.exp: Test that we don't show user-defined
10953 python commands in `show user command`.
10954 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
10955 scheme commands in `show user command`.
10956
c75bd3a2
JK
109572014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10958
10959 PR python/17355
10960 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
10961 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
10962 * gdb.python/py-framefilter-invalidarg.exp: New file.
10963 * gdb.python/py-framefilter-invalidarg.py: New file.
10964
faa42425
DE
109652014-09-06 Doug Evans <xdje42@gmail.com>
10966
10967 PR 15276
10968 * gdb.python/py-caller-is.c: New file.
10969 * gdb.python/py-caller-is.exp: New file.
10970
474ca4f6
SDJ
109712014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
10972
10973 PR gdb/17235
10974 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
10975 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
10976
eb0b0463
SDJ
109772014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
10978
10979 PR fortran/17237
10980 * gdb.fortran/print-formatted.exp: New file.
10981 * gdb.fortran/print-formatted.f90: Likewise.
10982
5f3b99cf
SS
109832014-09-03 Sasha Smundak <asmundak@google.com>
10984
10985 * gdb.python/py-frame.exp: Test Frame.read_register.
10986
7d793aa9
SDJ
109872014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
10988
10989 PR python/16699
10990 * gdb.python/py-completion.exp: New file.
10991 * gdb.python/py-completion.py: Likewise.
10992
fb0576e9
DE
109932014-08-28 Doug Evans <dje@google.com>
10994
10995 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
10996 eax,etc. are live with values set by gdb and thus the compiler can't
10997 use them.
10998 * gdb.arch/i386-pseudo.c (main): Ditto.
10999
ee92b0dd
DE
110002014-08-27 Doug Evans <dje@google.com>
11001
11002 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
11003
6649db35
DE
110042014-08-25 Doug Evans <dje@google.com>
11005
11006 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
11007 (main): Ditto.
11008
564b7600
DE
110092014-08-25 Doug Evans <dje@google.com>
11010
11011 * gdb.threads/thread-execl.exp: #include <stdio.h>.
11012
3881fb67
YQ
110132014-08-24 Yao Qi <yao@codesourcery.com>
11014
11015 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
11016 symbol off.
11017 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
11018
a05a36a5
DE
110192014-08-22 Doug Evans <dje@google.com>
11020
11021 PR 17276
11022 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
11023 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
11024 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
11025
7c343b48
YQ
110262014-08-22 Yao Qi <yao@codesourcery.com>
11027
11028 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
11029 * gdb.python/py-finish-breakpoint2.exp: Likewise.
11030 * gdb.python/python.exp: Likewise. Use .py file on the host
11031 instead of the build.
11032
22fd09ae
JK
110332014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11034
11035 * gdb.threads/gcore-stale-thread.c: New file.
11036 * gdb.threads/gcore-stale-thread.exp: New file.
11037
a8454a7c
PA
110382014-08-21 Pedro Alves <palves@redhat.com>
11039
11040 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
11041 * gdb.base/gcore-relro-pie.exp: Likewise.
11042 * gdb.base/gcore-relro.exp: Likewise.
11043 * gdb.base/gcore.exp: Likewise.
11044 * gdb.base/print-symbol-loading.exp: Likewise.
11045 * gdb.threads/gcore-thread.exp: Likewise.
11046 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
11047
2a31c623
PA
110482014-08-20 Pedro Alves <palves@redhat.com>
11049 Jan Kratochvil <jan.kratochvil@redhat.com>
11050
11051 * Makefile.in (EXTRA_RULES, CC): New variables, get from
11052 configure.
11053 (EXPECT): Handle READ1 being set.
11054 (all): Depend on EXTRA_RULES.
11055 (check-read1, expect-read1, read1.so, read1): New rules.
11056 * README (Testsuite Parameters): Document the READ1 make variable.
11057 (Race detection): New section.
11058 * configure: Regenerate.
11059 * configure.ac: If build==host==target, and running under a
11060 GNU/glibc system, add read1 to the extra Makefile rules.
11061 (EXTRA_RULES): AC_SUBST it.
11062 * lib/read1.c: New file.
11063
d36430db
JB
110642014-08-20 Joel Brobecker <brobecker@adacore.com>
11065
11066 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
11067 the handling of variables declared as a typedef to an array
11068 which a DW_AT_data_location attribute.
11069
9a0dc9e3
PA
110702014-08-19 Andrew Burgess <aburgess@broadcom.com>
11071 Pedro Alves <palves@redhat.com>
11072
11073 PR symtab/14604
11074 PR symtab/14605
11075 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
11076 gdb_test.
11077
0718a8da
PA
110782014-08-19 Pedro Alves <palves@redhat.com>
11079
11080 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
11081
13b448cd
YQ
110822014-08-19 Yao Qi <yao@codesourcery.com>
11083
11084 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
11085 right line.
11086
1cbf5077
DB
110872014-08-18 David Blaikie <dblaikie@gmail.com>
11088
11089 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
11090
bf0fae19
JB
110912014-08-18 Joel Brobecker <brobecker@adacore.com>
11092
11093 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
11094 attribute in array range.
11095
3c8c5dcc
JB
110962014-08-18 Joel Brobecker <brobecker@adacore.com>
11097
11098 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
11099
e66d4446
SC
111002014-08-15 Siva Chandra Reddy <sivachandra@google.com>
11101
11102 PR c++/17132
11103 * gdb.cp/pr17132.cc: New file.
11104 * gdb.cp/pr17132.exp: New file.
11105
940df408
SC
111062014-08-15 Siva Chandra Reddy <sivachandra@google.com>
11107
11108 * gdb.python/py-xmethods.py (A_getarrayind)
11109 (E_method_char_worker.__call__, E_method_int_worker.__call__):
11110 Use 'print' with function call syntax.
11111 (E_method_matcher.match): Fix tab vs space indentation mixup.
11112
ebcc6c3a
YQ
111132014-08-15 Yao Qi <yao@codesourcery.com>
11114
11115 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
11116 false.
11117
775e0f04
YQ
111182014-08-15 Yao Qi <yao@codesourcery.com>
11119
11120 * gdb.cp/casts.exp: Set print symbol off.
11121 * gdb.cp/class2.exp: Likewise.
11122 * gdb.cp/overload.exp: Likewise.
11123 * gdb.cp/templates.exp: Likewise.
11124
d769e349
DE
111252014-08-11 Doug Evans <dje@google.com>
11126
11127 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
11128 (test_load_shlib): Update.
11129
20c6f1e1
YQ
111302014-08-09 Yao Qi <yao@codesourcery.com>
11131
11132 * gdb.base/display.exp: Invoke is_address_zero_readable.
11133 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
11134 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
11135 * gdb.base/hbreak-unmapped.exp: Return if
11136 is_address_zero_readable returns true.
11137 * gdb.base/signest.exp: Likewise.
11138 * gdb.base/signull.exp: Likewise.
11139 * gdb.base/sigbpt.exp: Likewise.
11140 * gdb.guile/scm-disasm.exp: Do the test if
11141 is_address_zero_readable returns false.
11142 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
11143 * gdb.python/py-arch.exp: Likewise.
11144 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
11145 * lib/gdb.exp (is_address_zero_readable): New proc.
11146
5792e8e3
YQ
111472014-08-09 Yao Qi <yao@codesourcery.com>
11148
11149 PR testsuite/13443
11150 * gdb.mi/mi-var-display.exp: Make test messages unique.
11151
3cecbbbe
TT
111522014-08-04 Tom Tromey <tromey@redhat.com>
11153
11154 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
11155 target 0".
11156
00b51ff5
TT
111572014-08-04 Tom Tromey <tromey@redhat.com>
11158
11159 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
11160 "target_resume".
11161
6908c509
JB
111622014-08-01 Joel Brobecker <brobecker@adacore.com>
11163
11164 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
11165 inner_vla_struct_object_size.
11166 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
11167 as xfail.
11168
cc6563d2
PA
111692014-07-30 Pedro Alves <palves@redhat.com>
11170
11171 * gdb.threads/signal-command-handle-nopass.exp (test): Add
11172 comment.
11173
7e09a223
YQ
111742014-07-29 Yao Qi <yao@codesourcery.com>
11175
11176 PR gdb/17206
11177 * gdb.base/until-nodebug.exp: New.
11178
7ebdbe92
DE
111792014-07-28 Doug Evans <xdje42@gmail.com>
11180
11181 PR guile/17203
11182 * gdb.guile/scm-parameter.exp: Add tests for trying to create
11183 previously existing parameter, and previously ambiguously spelled
11184 parameter.
11185
fdb1adc6
WN
111862014-07-28 Will Newton <will.newton@linaro.org>
11187
11188 * gdb.base/varargs.exp: Remove KFAILs for ARM.
11189
186fcde0
DE
111902014-07-26 Ludovic Courtès <ludo@gnu.org>
11191 Doug Evans <xdje42@gmail.com>
11192
11193 PR guile/17146
11194 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
11195
70509625
PA
111962014-07-25 Pedro Alves <palves@redhat.com>
11197
11198 * gdb.threads/signal-command-handle-nopass.c: New file.
11199 * gdb.threads/signal-command-handle-nopass.exp: New file.
11200 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
11201 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
11202 * gdb.threads/signal-delivered-right-thread.c: New file.
11203 * gdb.threads/signal-delivered-right-thread.exp: New file.
11204
c3f814a1
PA
112052014-07-25 Pedro Alves <palves@redhat.com>
11206
11207 * gdb.base/double-prompt-target-event-error.exp
11208 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
11209 match.
11210 (cancel_pagination_in_target_event): Rework double prompt
11211 detection.
11212 * gdb.base/paginate-after-ctrl-c-running.exp
11213 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
11214 <return>' match.
11215 * gdb.base/paginate-bg-execution.exp
11216 (test_bg_execution_pagination_return)
11217 (test_bg_execution_pagination_cancel): Remove '-notransfer
11218 <return>' matches.
11219 * gdb.base/paginate-execution-startup.exp
11220 (test_fg_execution_pagination_return)
11221 (test_fg_execution_pagination_cancel): Remove '-notransfer
11222 <return>' matches.
11223 * gdb.base/paginate-inferior-exit.exp
11224 (test_paginate_inferior_exited): Remove '-notransfer <return>'
11225 match.
11226 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
11227 * lib/gdb.exp (pagination_prompt): Run text through
11228 string_to_regexp.
11229 (gdb_test_multiple): Match $pagination_prompt instead of
11230 "<return>".
11231 (string_to_regexp): Move to lib/gdb-utils.exp.
11232
e214cf6c
JK
112332014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11234
11235 * gdb.arch/amd64-entry-value-paramref.S: New file.
11236 * gdb.arch/amd64-entry-value-paramref.cc: New file.
11237 * gdb.arch/amd64-entry-value-paramref.exp: New file.
11238 * gdb.arch/amd64-optimout-repeat.S: New file.
11239 * gdb.arch/amd64-optimout-repeat.c: New file.
11240 * gdb.arch/amd64-optimout-repeat.exp: New file.
11241
17d0c5c8
JK
112422014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11243
11244 PR gdb/17170
11245 * gdb.base/statistics.exp: New file.
11246
b8b8facf
DE
112472014-07-17 Doug Evans <dje@google.com>
11248
74b49205 11249 PR gdb/17170
b8b8facf
DE
11250 * gdb.base/maint.exp: Update testing of per-command stats.
11251
1b5d0ab3
PA
112522014-07-16 Pedro Alves <palves@redhat.com>
11253
11254 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
11255 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
11256 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
11257 (tfile_write_buf): New functions.
11258 (add_memory_block): Rewrite using the above.
11259 (adjust_function_address): New function.
11260 (FUNCTION_ADDRESS): New macro.
11261 (write_basic_trace_file): Remove short_x local, and use
11262 tfile_write_16. Change type of func_addr local to unsigned long
11263 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
11264 here. Cast argument of add_memory_block to char pointer.
11265 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
11266 (main): Remove parameters.
11267 * gdb.trace/tfile.exp: Remove nowarnings.
11268
4d974e88
SM
112692014-07-15 Simon Marchi <simon.marchi@ericsson.com>
11270
11271 * gdb.base/debug-expr.exp: Test string evaluation with
11272 "debug expression" on.
11273
41e99568
PA
112742014-07-15 Pedro Alves <palves@redhat.com>
11275
11276 * gdb.base/reread.exp: Use clean_restart.
11277
487d9753
PL
112782014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
11279
11280 * gdb.arch/avr-flash-qualifer.c: New.
11281 * gdb.arch/avr-flash-qualifer.exp: New.
11282
cc1c52ad
PA
112832014-07-14 Pedro Alves <palves@redhat.com>
11284
11285 * gdb.base/paginate-after-ctrl-c-running.c: New file.
11286 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
11287
1e973570
PA
112882014-07-14 Pedro Alves <palves@redhat.com>
11289
11290 * gdb.base/double-prompt-target-event-error.c: New file.
11291 * gdb.base/double-prompt-target-event-error.exp: New file.
11292
93d6eb10
PA
112932014-07-14 Pedro Alves <palves@redhat.com>
11294
11295 PR gdb/17072
11296 * gdb.base/paginate-inferior-exit.c: New file.
11297 * gdb.base/paginate-inferior-exit.exp: New file.
11298
0017922d
PA
112992014-07-14 Pedro Alves <palves@redhat.com>
11300
11301 PR gdb/17072
11302 * gdb.base/paginate-bg-execution.c: New file.
11303 * gdb.base/paginate-bg-execution.exp: New file.
11304
94696ad3
PA
113052014-07-14 Pedro Alves <palves@redhat.com>
11306
11307 PR gdb/17072
11308 * gdb.base/paginate-execution-startup.c: New file.
11309 * gdb.base/paginate-execution-startup.exp: New file.
11310 * lib/gdb.exp (pagination_prompt): New global.
11311 (default_gdb_spawn): New procedure, factored out from
11312 default_gdb_spawn.
11313 (default_gdb_start): Adjust to call default_gdb_spawn.
11314 (gdb_spawn): New procedure.
11315
bd293940
PA
113162014-07-14 Pedro Alves <palves@redhat.com>
11317
11318 * lib/gdb.exp (gdb_assert): New procedure.
11319 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
11320
c933f875
PA
113212014-07-14 Pedro Alves <palves@redhat.com>
11322
11323 * gdb.base/execution-termios.c: New file.
11324 * gdb.base/execution-termios.exp: New file.
11325
d98b7a16
TT
113262014-07-14 Tom Tromey <tromey@redhat.com>
11327
11328 * gdb.cp/vla-cxx.cc: New file.
11329 * gdb.cp/vla-cxx.exp: New file.
11330
548740d6
TT
113312014-07-14 Tom Tromey <tromey@redhat.com>
11332
11333 * gdb.reverse/rerun-prec.c: New file.
11334 * gdb.reverse/rerun-prec.exp: New file.
11335
a25eb028
MR
113362014-07-12 Maciej W. Rozycki <macro@mips.com>
11337 Maciej W. Rozycki <macro@codesourcery.com>
11338
11339 * lib/gdb-utils.exp: New file.
11340 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
11341 inline `gdb_init_command' processing.
11342 (gdb_start_cmd): Likewise.
11343 * lib/mi-support.exp (mi_run_cmd): Likewise.
11344 * README: Document `gdb_init_command' and `gdb_init_commands'.
11345
218c2655
JK
113462014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11347
11348 Fix false FAIL running under a very long directory name.
11349 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
11350 and "set print elements 10000". Twice.
11351
5401fde3
YQ
113522014-07-11 Yao Qi <yao@codesourcery.com>
11353
11354 * gdb.base/exprs.exp: "set print symbol off".
11355
e76126e8
PA
113562014-07-11 Pedro Alves <palves@redhat.com>
11357
11358 * gdb.threads/kill.c: New file.
11359 * gdb.threads/kill.exp: New file.
11360
2d6f0de6
YQ
113612014-07-10 Yao Qi <yao@codesourcery.com>
11362
11363 * gdb.trace/tfile.c (write_basic_trace_file)
11364 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
11365 address written to trace file.
11366
7180e04a
PA
113672014-07-09 Pedro Alves <palves@redhat.com>
11368
11369 * gdb.base/attach-wait-input.exp: New file.
11370 * gdb.base/attach-wait-input.c: New file.
11371
9a9a7608
AB
113722014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
11373
11374 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
11375 setting up test structures.
11376 (main): Call new test function.
11377 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
11378 test function, continue into test function and walk test
11379 structures.
11380
161ac41e
YQ
113812014-07-02 Yao Qi <yao@codesourcery.com>
11382
11383 * gdb.trace/entry-values.c: Define labels 'foo_start' and
11384 'bar_start' at the beginning of functions 'foo' and 'bar'
11385 respectively.
11386 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
11387 instead of 'foo' and 'bar'.
11388
1f267ae3
MM
113892014-07-08 Markus Metzger <markus.t.metzger@intel.com>
11390
11391 * gdb.btrace/segv.exp: New.
11392 * gdb.btrace/segv.c: New.
11393
2b239efb
LM
113942014-07-02 Luis Machado <lgustavo@codesourcery.com>
11395
11396 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
11397 instruction.
11398
cf363f18
MW
113992014-06-30 Mark Wielaard <mjw@redhat.com>
11400
11401 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
11402 vulture, vilify, villar): New volatile array constants.
11403 (vindictive, vegetation): New const volatile array constants.
11404 * gdb.base/volatile.exp: Test volatile and const volatile array
11405 types.
11406
aebf9d24
AA
114072014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
11408
11409 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
11410 target lacks support for awatch, rwatch, or hbreak.
11411
b67a2c6f
YQ
114122014-06-27 Yao Qi <yao@codesourcery.com>
11413
11414 * gdb.multi/dummy-frame-restore.exp: New.
11415 * gdb.multi/dummy-frame-restore.c: New.
11416
aef92902
MM
114172014-06-25 Markus Metzger <markus.t.metzger@intel.com>
11418
11419 * gdb.btrace/gcore.exp: New.
11420
8e9db26e
PA
114212014-06-23 Pedro Alves <palves@redhat.com>
11422
11423 * gdb.base/watchpoint-reuse-slot.c: New file.
11424 * gdb.base/watchpoint-reuse-slot.exp: New file.
11425
70afc5b7
SC
114262014-06-23 Siva Chandra Reddy <sivachandra@google.com>
11427
11428 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
11429 progspace's filename in 'info', 'enable' and 'disable' command
11430 tests.
11431
b972bd9c
JK
114322014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11433
11434 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
11435 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
11436 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
11437
125f8a3d
GB
114382014-06-20 Gary Benson <gbenson@redhat.com>
11439
11440 * gdb.arch/i386-avx.exp: Fix include file location.
11441 * gdb.arch/i386-sse.exp: Likewise.
11442
3ed9baed
IB
114432014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
11444
11445 * gdb.dlang/expression.exp: New file.
11446
034f788c
PA
114472014-06-19 Pedro Alves <palves@redhat.com>
11448
11449 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
11450 out from ...
11451 (top level): ... here. Iterate running tests under different
11452 scheduler-locking settings.
11453
45371d0c
LM
114542014-06-18 Luis Machado <lgustavo@codesourcery.com>
11455
11456 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
11457 to DW_FORM_addr and use non-zero addresses.
11458
5d376983
SC
114592014-06-18 Siva Chandra Reddy <sivachandra@google.com>
11460
11461 PR gdb/17017
11462 * gdb.python/py-xmethods.cc: Add global function call counters and
11463 increment them in their respective functions. Remove "cout"
11464 statements.
11465 * gdb.python/py-xmethods.exp: Make tests check the global function
11466 call counters instead of depending on inferior IO.
11467
a1aa2221
LM
114682014-06-18 Don Breazeal <donb@codesourcery.com>
11469
11470 * gdb.base/foll-fork.exp (default_fork_parent_follow):
11471 Deleted procedure.
11472 (explicit_fork_parent_follow): Deleted procedure.
11473 (explicit_fork_child_follow): Deleted procedure.
11474 (test_follow_fork): New procedure.
11475 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 11476 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
11477 procedure calls.
11478
0fc05997
YQ
114792014-06-17 Yao Qi <yao@codesourcery.com>
11480
11481 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
11482 CP1252.
11483
70795c52
LM
114842014-06-17 Luis Machado <lgustavo@codesourcery.com>
11485
11486 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
11487 Initialize ptr and S explicitly.
11488 (skip_type_update_when_not_use_rtti_test): Likewise.
11489
6be47f0c
KS
114902014-06-16 Keith Seitz <keiths@redhat.com>
11491
11492 PR mi/15863
11493 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
11494 the inferior is started.
11495
d03de421
PA
114962014-06-16 Pedro Alves <palves@redhat.com>
11497
11498 * gdb.base/break-main-file-remove-fail.c: New file.
11499 * gdb.base/break-main-file-remove-fail.exp: New file.
11500 * gdb.base/break-unload-file.exp: Use build_executable instead of
11501 prepare_for_testing.
11502 (test_break): New parameter "initial_load". Handle it.
11503 (top level): Add initial_load cmdline/file axis.
11504
f9579b99
TT
115052014-06-12 Tom Tromey <tromey@redhat.com>
11506
11507 * gdb.base/completion.exp: Don't use directory name in test.
11508
3657956b
GB
115092014-06-09 Gary Benson <gbenson@redhat.com>
11510
11511 * gdb.base/sigall.c [Functions to send signals]: Reorder to
11512 separate the always-available ANSI-standard signals from the
11513 signals that require checking.
11514 (main): Likewise.
11515 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
11516 Likewise.
11517 (main): Likewise.
11518
4186eb54
KS
115192014-06-07 Keith Seitz <keiths@redhat.com>
11520
11521 Revert:
11522 PR c++/16253
11523 * gdb.cp/var-tag.cc: New file.
11524 * gdb.cp/var-tag.exp: New file.
11525 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
11526 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
11527 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
11528 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
11529
25326a28 115302014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
11531
11532 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
11533
829155c9
PA
115342014-06-06 Pedro Alves <palves@redhat.com>
11535
11536 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
11537 in target debug output instead of looking at RSP packets,
11538 disabling the test on any target that uses hardware stepping.
11539 Update comments.
11540
61c8d22e
PA
115412014-06-06 Pedro Alves <palves@redhat.com>
11542
11543 * gdb.base/break-unload-file.exp: Fix typo.
11544
d9a47287
YQ
115452014-06-06 Yao Qi <yao@codesourcery.com>
11546
11547 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
11548 from "jit_function" to "^jit_function".
11549
e5e01dbf
YQ
115502014-06-06 Yao Qi <yao@codesourcery.com>
11551
11552 * gdb.base/async.c (foo): Add one statement.
11553 * gdb.base/async.exp: Get the next instruction address and
11554 match the output of "nexti" by instruction address. Match
11555 the hex address in the output of "finish".
11556
73ba372c
GB
115572014-06-06 Gary Benson <gbenson@redhat.com>
11558
11559 * gdb.base/call-signals.c: Remove preprocessor conditionals
11560 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
11561 SIGSEGV and SIGTERM.
11562 * gdb.base/sigall.c: Likewise.
11563 * gdb.base/unwindonsignal.c: Likewise.
11564 * gdb.reverse/sigall-reverse.c: Likewise.
11565
831517df
YQ
115662014-06-06 Yao Qi <yao@codesourcery.com>
11567
11568 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
11569 readable, skip the test.
11570
b8b91e98
YQ
115712014-06-06 Yao Qi <yao@codesourcery.com>
11572
11573 * gdb.threads/staticthreads.c (thread_function): Move the line
11574 setting breakpoint on forward.
11575 * gdb.threads/staticthreads.exp: Update comments.
11576
fb934770
LC
115772014-06-05 Ludovic Courtès <ludo@gnu.org>
11578
11579 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
11580 "history-append! type error".
11581
6ef284bd
SM
115822014-06-05 Simon Marchi <simon.marchi@ericsson.com>
11583
11584 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
11585 erroneous dprintf expected input.
11586
a872e241
DE
115872014-06-04 Doug Evans <xdje42@gmail.com>
11588
11589 * gdb.guile/scm-generics.exp: Delete.
11590
16f691fb
DE
115912014-06-04 Doug Evans <xdje42@gmail.com>
11592
11593 * gdb.guile/scm-breakpoint.exp: Update.
11594 Add tests for breakpoint registration.
11595
012370f6
TT
115962014-06-04 Tom Tromey <tromey@redhat.com>
11597
11598 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
11599 VLA-in-union.
11600 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
11601 inner_vla_struct, vla_union types. Initialize objects of those
11602 types and compute their sizes.
11603
9f5a4cef
HZ
116042014-06-04 Nathan Sidwell <nathan@codesourcery.com>
11605 Hui Zhu <hui@codesourcery.com>
11606
11607 * gdb.base/fileio.exp: Add test for shell not available as well as
11608 available.
11609 * gdb.base/fileio.c (test_system): Check for shell twice.
11610
90a45c4d
YQ
116112014-06-04 Yao Qi <yao@codesourcery.com>
11612
11613 * gdb.base/auto-connect-native-target.exp: Remove redundant
11614 space from the regexp pattern.
11615
70017e41
YQ
116162014-06-04 Yao Qi <yao@codesourcery.com>
11617
11618 * gdb.base/default.exp: Replace "child" with "native" in
11619 regexp pattern.
11620
883964a7
SC
116212014-06-03 Siva Chandra Reddy <sivachandra@google.com>
11622
11623 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
11624 * gdb.python/py-xmethods.exp: New tests to test xmethods.
11625 * gdb.python/py-xmethods.py: Python script supporting the
11626 new testcase and tests.
11627
ef370185
JB
116282014-06-03 Joel Brobecker <brobecker@adacore.com>
11629 Pedro Alves <palves@redhat.com>
11630
11631 PR breakpoints/17000
11632 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
11633 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
11634
1e2ccb61
BM
116352014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
11636
11637 * gdb.base/subst.exp: Add tests to verify partial path matching
11638 output.
11639
c6ec5ab2
PA
116402014-06-03 Pedro Alves <palves@redhat.com>
11641
11642 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
11643 target that doesn't use software single-stepping.
11644
835c559f
PA
116452014-06-03 Pedro Alves <palves@redhat.com>
11646
11647 PR breakpoints/17000
11648 * gdb.base/sss-bp-on-user-bp-2.c: New file.
11649 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
11650
06eb1586
DE
116512014-06-02 Doug Evans <xdje42@gmail.com>
11652
11653 * gdb.guile/scm-parameter.exp: New file.
11654
e698b8c4
DE
116552014-06-02 Doug Evans <xdje42@gmail.com>
11656
11657 * gdb.guile/scm-cmd.c: New file.
11658 * gdb.guile/scm-cmd.exp: New file.
11659
ded03782
DE
116602014-06-02 Doug Evans <xdje42@gmail.com>
11661
11662 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
11663 pretty-printer lookup.
11664 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
11665 (make-pp_s-printer): Call it.
11666 (make-pretty-printer-from-dict): New function.
11667 (lookup-pretty-printer-maker-from-dict): New function.
11668 (*pretty-printer*): Simplify.
11669 (make-objfile-pp_s-printer): New function.
11670 (install-objfile-pretty-printers!): New function.
11671 (make-progspace-pp_s-printer): New function.
11672 (install-progspace-pretty-printers!): New function.
11673 * gdb.guile/scm-progspace.c: New file.
11674 * gdb.guile/scm-progspace.exp: New file.
11675
41fac0cf
PA
116762014-06-02 Pedro Alves <palves@redhat.com>
11677
11678 * gdb.base/dprintf-bp-same-addr.c: New file.
11679 * gdb.base/dprintf-bp-same-addr.exp: New file.
11680
96ae5695
EBM
116812014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11682
11683 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
11684 * gdb.arch/powerpc-power.s: Likewise.
11685
da02b3a8
JB
116862014-06-02 Joel Brobecker <brobecker@adacore.com>
11687
11688 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
11689
c72b2e7b
YQ
116902014-06-01 Yao Qi <yao@codesourcery.com>
11691
11692 * gdb.base/watchpoint.exp (test_watch_location): Check null
11693 pointer can be dereferenced. If not, do the test, otherwise
11694 skip it.
11695
53e8a631
AB
116962014-05-30 Andrew Burgess <aburgess@broadcom.com>
11697
11698 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
11699 results.
11700 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
11701
938f0e2f
AB
117022014-05-30 Andrew Burgess <aburgess@broadcom.com>
11703
11704 * gdb.arch/amd64-invalid-stack-middle.S: New file.
11705 * gdb.arch/amd64-invalid-stack-middle.c: New file.
11706 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
11707 * gdb.arch/amd64-invalid-stack-top.c: New file.
11708 * gdb.arch/amd64-invalid-stack-top.exp: New file.
11709
9ba6657a
PA
117102014-05-30 Pedro Alves <palves@redhat.com>
11711
11712 PR breakpoints/17000
11713 * gdb.base/sss-bp-on-user-bp.c: New file.
11714 * gdb.base/sss-bp-on-user-bp.exp: New file.
11715
522c09bf
DB
117162014-05-30 David Blaikie <dblaikie@gmail.com>
11717
11718 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
11719 gnu_inline semantics via attribute.
11720 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
11721 source explicitly specifies the required semantics.
11722
bf4ef81e
MR
117232014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
11724
11725 * gdb.reverse/sigall-reverse.exp: Fix a typo.
11726
329ea579
PA
117272014-05-29 Pedro Alves <palves@redhat.com>
11728 Tom Tromey <tromey@redhat.com>
11729
11730 * gdb.base/async-shell.exp: Don't enable target-async.
11731 * gdb.base/async.exp
11732 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
11733 parameter. Adjust.
11734 (top level): Don't test with "target-async".
11735 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
11736 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
11737 * gdb.base/inferior-died.exp: Don't enable target-async.
11738 * gdb.base/interrupt-noterm.exp: Likewise.
11739 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
11740 * gdb.mi/mi-nonstop-exit.exp: Likewise.
11741 * gdb.mi/mi-nonstop.exp: Likewise.
11742 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
11743 * gdb.mi/mi-nsintrall.exp: Likewise.
11744 * gdb.mi/mi-nsmoribund.exp: Likewise.
11745 * gdb.mi/mi-nsthrexec.exp: Likewise.
11746 * gdb.mi/mi-watch-nonstop.exp: Likewise.
11747 * gdb.multi/watchpoint-multi.exp: Adjust comment.
11748 * gdb.python/py-evsignal.exp: Don't enable target-async.
11749 * gdb.python/py-evthreads.exp: Likewise.
11750 * gdb.python/py-prompt.exp: Likewise.
11751 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
11752 * gdb.server/solib-list.exp: Don't enable target-async.
11753 * gdb.threads/thread-specific-bp.exp: Likewise.
11754 * lib/mi-support.exp: Adjust to use mi-async.
11755
fd664c91
PA
117562014-05-29 Pedro Alves <palves@redhat.com>
11757
11758 PR gdb/13860
11759 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
11760 reason, even in sync mode.
11761
251bde03
PA
117622014-05-29 Pedro Alves <palves@redhat.com>
11763 Hui Zhu <hui@codesourcery.com>
11764
11765 PR PR15693
11766 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
11767 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
11768 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
11769 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
11770
7f3c0343
JB
117712014-05-28 Joel Brobecker <brobecker@adacore.com>
11772
11773 * config/monitor.exp (gdb_target_monitor): Replace use of
11774 "set remotebaud" by "set serial baud".
11775
b2715b27
AW
117762014-05-26 Andy Wingo <wingo@igalia.com>
11777
11778 * gdb.guile/scm-breakpoint.exp:
11779 * gdb.guile/scm-gsmob.exp: Update to use plain old object
11780 properties instead of gdb-object-properties.
11781
498a4489
YQ
117822014-05-26 Yao Qi <yao@codesourcery.com>
11783
11784 * gdb.server/no-thread-db.exp: Specify source file name
11785 explicitly when setting a breakpoint.
11786
589fdceb
MM
117872014-05-23 Markus Metzger <markus.t.metzger@intel.com>
11788
11789 * gdb.btrace/vdso.c: New.
11790 * gdb.btrace/vdso.exp: New.
11791
e9089e05
MM
117922014-05-23 Markus Metzger <markus.t.metzger@intel.com>
11793
11794 * gdb.base/gcore.exp (capture_command_output): Move ...
11795 * lib/gdb.exp (capture_command_output): ... here.
11796
67b5c0c1
MM
117972014-05-23 Markus Metzger <markus.t.metzger@intel.com>
11798
11799 * gdb.btrace/data.exp: Test memory access during btrace replay.
11800
a2199296
SM
118012014-05-22 Simon Marchi <simon.marchi@ericsson.com>
11802
11803 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
11804
17b2616c
PA
118052014-05-21 Pedro Alves <palves@redhat.com>
11806
11807 PR gdb/13860
11808 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
11809 (top level): Test that output related to execution commands is
11810 sent to the console with CLI commands, but not with MI commands.
11811 Test that breakpoint events are always mirrored to the console.
11812 Also expect the new source line to be output after a "next" in
11813 async mode too. Make it a pass/fail test.
11814 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
11815 output.
11816 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
11817
5166082f
PA
118182014-05-21 Pedro Alves <palves@redhat.com>
11819
11820 * gdb.base/list.exp (build_pattern, test_list): New procedures.
11821 Use them to test variations of "list" after reaching a breakpoint.
11822 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
11823 Test "list" with listsize 10 after reaching a breakpoint.
11824 * gdb.python/python.exp (decode_line current location line
11825 number): Adjust expected line number.
11826
2f25d70f
SM
118272014-05-21 Simon Marchi <simon.marchi@ericsson.com>
11828
11829 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
11830 behavior for $args, pass it directly to "run".
11831
ff604a67
MR
118322014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
11833
11834 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
11835 30000 to 65536.
11836
6a3cb8e8
PA
118372014-05-21 Pedro Alves <palves@redhat.com>
11838
11839 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
11840 auto-connect-native-target off".
11841 * gdb.base/auto-connect-native-target.c: New file.
11842 * gdb.base/auto-connect-native-target.exp: New file.
11843
4ebfc96e
PA
118442014-05-21 Pedro Alves <palves@redhat.com>
11845
11846 * gdb.base/default.exp: Test "target native" instead of "target
11847 child".
11848
36d46afb
MW
118492014-05-21 Mark Wielaard <mjw@redhat.com>
11850
11851 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
11852
5876f503
JK
118532014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11854
11855 Fix TLS access for -static -pthread.
11856 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
11857 <HAVE_TLS> (thread_function, main): Initialize it.
11858 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
11859 Add clean_restart.
11860 <$have_tls != "">: Check TLSVAR.
11861
0256a6ac
PA
118622014-05-21 Pedro Alves <palves@redhat.com>
11863
11864 * gdb.base/dcache-line-read-error.c: New.
11865 * gdb.base/dcache-line-read-error.exp: New.
11866
936d2992
PA
118672014-05-20 Pedro Alves <palves@redhat.com>
11868
11869 * gdb.base/compare-sections.c: New file.
11870 * gdb.base/compare-sections.exp: New file.
11871
802e8e6d
PA
118722014-05-20 Pedro Alves <palves@redhat.com>
11873
11874 * gdb.base/break-idempotent.c: New file.
11875 * gdb.base/break-idempotent.exp: New file.
11876
e59fa00f
MM
118772014-05-20 Markus Metzger <markus.t.metzger@intel.com>
11878
11879 * gdb.btrace/nohist.exp: New.
11880
8b696e31
YQ
118812014-05-20 Yao Qi <yao@codesourcery.com>
11882
11883 * lib/gdb.exp (gdb_init): Set timeout if test file is under
11884 gdb.reverse directory and gdb_reverse_timeout exists in board
11885 setting.
11886 * README: Document gdb_reverse_timeout.
11887
73c9764f
YQ
118882014-05-20 Yao Qi <yao@codesourcery.com>
11889
11890 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
11891 'test_file_name'. Treat args as a string instead of a list.
11892 (gdb_init): Rename argument 'args' by 'test_file_name'.
11893
f1f4348a
JK
118942014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11895
11896 * gdb.arch/powerpc-power.exp: New file.
11897 * gdb.arch/powerpc-power.s: New file.
11898
0dbe70ce
DE
118992014-05-16 Doug Evans <dje@google.com>
11900
11901 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
11902 * gdb.base/completion.exp: Check that all expected files exist
11903 before doing file completion.
0dbe70ce 11904
8d551b02
DE
119052014-05-16 Doug Evans <dje@google.com>
11906
11907 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
11908 Update.
11909 (do_syscall_tests_without_xml): Update.
11910
73eb7709
PA
119112014-05-16 Pedro Alves <palves@redhat.com>
11912
11913 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
11914 instead of "unknown output after running".
11915
3fae92fc
YQ
119162014-05-16 Yao Qi <yao@codesourcery.com>
11917
11918 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
11919 file1.txt from host at the end.
11920 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
11921
c2b2ccc5
DE
119222014-05-15 Doug Evans <dje@google.com>
11923
11924 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
11925 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
11926 loading file. Add test for TU lookup.
11927
8c217a4b
SM
119282014-05-15 Simon Marchi <simon.marchi@ericsson.com>
11929
11930 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
11931 calling "-exec-arguments" or "set args" before running the
11932 inferior.
11933
3deb39c6
SM
119342014-05-15 Simon Marchi <simon.marchi@ericsson.com>
11935
11936 * lib/mi-support.exp (mi_expect_stop): Expect message for
11937 inferiors that exit with non-zero exit code.
11938
71a79f8c
YQ
119392014-05-14 Yao Qi <yao@codesourcery.com>
11940
11941 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
11942 match absolute path on remote host.
11943 (test_file_list_exec_source_files): Remove "/" from the
11944 pattern.
11945
f23fcd46
YQ
119462014-05-14 Yao Qi <yao@codesourcery.com>
11947
11948 * boards/local-remote-host-notty.exp (${board}_file): New
11949 proc.
11950
9404b58f
KM
119512014-05-07 Kyle McMartin <kyle@redhat.com>
11952
11953 Pushed by Joel Brobecker <brobecker@adacore.com>.
11954 * gdb.arch/aarch64-atomic-inst.c: New file.
11955 * gdb.arch/aarch64-atomic-inst.exp: New file.
11956
5e45f04c
YQ
119572014-05-07 Yao Qi <yao@codesourcery.com>
11958
11959 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
11960 in current context" too.
11961
c888a17d
KS
119622014-05-05 Keith Seitz <keiths@redhat.com>
11963
11964 * gdb.linespec/ls-dollar.exp: Add test for linespec
11965 file:convenience_variable.
11966
290a839c
YQ
119672014-05-05 Yao Qi <yao@codesourcery.com>
11968
11969 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
11970 traceframes into tfile and ctf trace files. Read data from
11971 trace file and test collected data.
11972 (gdb_collect_locals_test): Likewise.
11973 (gdb_unavailable_registers_test): Likewise.
11974 (gdb_unavailable_floats): Likewise.
11975 (gdb_collect_globals_test): Likewise.
11976 (top-level): Append "ctf" to trace_file_targets if GDB
11977 supports.
11978
b5262cd0
YQ
119792014-05-05 Yao Qi <yao@codesourcery.com>
11980
11981 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
11982 code to ...
11983 (gdb_collect_args_test_1): ... it. New proc.
11984 (gdb_collect_locals_test): Move some code to ...
11985 (gdb_collect_locals_test_1): ... it. New proc.
11986 (gdb_unavailable_registers_test): Move some code to ...
11987 (gdb_unavailable_registers_test_1): ... it. New proc.
11988 (gdb_unavailable_floats): Move some code to ...
11989 (gdb_unavailable_floats_1): ... it. New proc.
11990
30a1e6cc
SDJ
119912014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
11992
11993 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
11994 probes to test for bitness recognition.
11995 * gdb.arch/amd64-stap-optional-prefix.exp
11996 (test_probe_value_without_reg): New procedure.
11997 Add code to test for different kinds of bitness.
11998
f33da99a
SDJ
119992014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
12000
12001 PR breakpoints/16889
12002 * gdb.arch/amd64-stap-optional-prefix.S: New file.
12003 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
12004
5b80f00d
PA
120052014-05-01 Pedro Alves <palves@redhat.com>
12006
12007 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
12008 gdb_file_cmd if no file is specified.
12009 * boards/native-extended-gdbserver.exp (gdb_load): Use the
12010 last_loaded_file to set the remote exec-file.
12011
f8c2a73c
PA
120122014-05-01 Pedro Alves <palves@redhat.com>
12013
12014 * boards/local-remote-host.exp: New file.
12015
be6e8ac7
PA
120162014-05-01 Pedro Alves <palves@redhat.com>
12017
12018 * boards/local-remote-host.exp: Rename to ...
12019 * boards/local-remote-host-notty.exp: ... this.
12020
cac0dc8f
JB
120212014-04-28 Joel Brobecker <brobecker@adacore.com>
12022
12023 * gdb.ada/dyn_arrayidx: New testcase.
12024
9730e6cc
YQ
120252014-04-26 Yao Qi <yao@codesourcery.com>
12026
12027 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
12028 and compute the length of function main. Save it in
12029 $main_length.
12030 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
12031 (top-level): Use gdb_compile to compile objects into
12032 executable and restart GDB. Remove invocation to
12033 prepare_for_testing.
12034
7ae1a6a6
PA
120352014-04-25 Simon Marchi <simon.marchi@ericsson.com>
12036 Pedro Alves <palves@redhat.com>
12037
12038 PR server/16255
12039 * gdb.multi/multi-attach.c: New file.
12040 * gdb.multi/multi-attach.exp: New file.
12041
4082afcc
PA
120422014-04-25 Pedro Alves <palves@redhat.com>
12043
12044 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
12045 user.
12046 (top level): Test that "set remote conditional-breakpoints-packet
12047 off" works as intended.
12048 * gdb.base/dprintf.exp: Test that "set remote
12049 breakpoint-commands-packet off" works as intended.
12050 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
12051 New function.
12052 (top level): Call it.
12053 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
12054 remote fast-tracepoints-packet off" works as intended.
12055 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
12056 * lib/gdb.exp (gdb_is_target_remote): ... here.
12057
2abc3f8d
DB
120582014-04-24 David Blaikie <dblaikie@gmail.com>
12059
12060 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
12061 ensure clang would not discard them.
12062 * gdb.base/gdbvars.c: Ditto.
12063 * gdb.base/memattr.c: Ditto.
12064 * gdb.base/whatis.c: Ditto.
12065 * gdb.python/py-prettyprint.c: Ditto.
12066 * gdb.trace/actions.c: Ditto.
12067 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
12068 ensure clang would not discard it.
12069
bfd39632
DB
120702014-04-24 David Blaikie <dblaikie@gmail.com>
12071
12072 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
12073 clang to emit the full definition of type required by the test
12074 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
12075
22842ff6
DB
120762014-04-24 David Blaikie <dblaikie@gmail.com>
12077
12078 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
12079 coax Clang into emitting the definition of the type.
12080 * gdb.cp/pr10728-x.h (y): Ditto.
12081 * gdb.cp/pr10728-y.cc (y): Ditto.
12082
c2e827ad
DB
120832014-04-24 David Blaikie <dblaikie@gmail.com>
12084
12085 * gdb.base/label.exp: XFAIL label related tests under Clang.
12086 * gdb.cp/cplabel.exp: Ditto.
12087 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
12088 under Clang those using labels.
12089
4c2d33e7
YQ
120902014-04-25 Yao Qi <yao@codesourcery.com>
12091
12092 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
12093 double_label.
12094 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
12095 partial_label and double_label.
12096
56083b99
DB
120972014-04-24 David Blaikie <dblaikie@gmail.com>
12098
12099 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
12100
25d4e99d
DB
121012014-04-24 David Blaikie <dblaikie@gmail.com>
12102
12103 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
12104 of the function to work across GCC and Clang.
12105 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
12106 pointer types (const void ** const V void **).
12107
01f9f808
MS
121082014-04-24 Michael Sturm <michael.sturm@mintel.com>
12109 Walfred Tedeschi <walfred.tedeschi@intel.com>
12110
12111 * Makefile.in (EXECUTABLES): Added i386-avx512.
12112 * gdb.arch/i386-avx512.c: New file.
12113 * gdb.arch/i386-avx512.exp: Likewise.
12114
4b48d439
KS
121152014-04-23 Keith Seitz <keiths@redhat.com>
12116
12117 * lib/mi-support.exp (mi_list_breakpoints): Delete.
12118 (mi_make_breakpoint_table): New procedure.
12119 (mi_create_breakpoint): Use mi_make_breakpoint
12120 and return the result.
12121 (mi_make_breakpoint): New procedure.
12122 (mi_build_kv_pairs): New procedure.
12123
12124 * gdb.mi/mi-break.exp: Remove unused globals,
12125 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
12126 All callers updated.
12127 * gdb.mi/mi-dprintf.exp: Use variable to track command
12128 number.
12129 Update all callers of mi_create_breakpoint and use
12130 mi_make_breakpoint_table.
12131 Remove any unused global variables.
12132 * gdb.mi/mi-nonstop.exp: Likewise.
12133 * gdb.mi/mi-nsintrall.exp: Likewise.
12134 * gdb.mi/mi-nsmoribund.exp: Likewise.
12135 * gdb.mi/mi-nsthrexec.exp: Likewise.
12136 * gdb.mi/mi-reverse.exp: Likewise.
12137 * gdb.mi/mi-simplerun.exp: Likewise.
12138 * gdb.mi/mi-stepn.exp: Likewise.
12139 * gdb.mi/mi-syn-frame.exp: Likewise.
12140 * gdb.mi/mi-until.exp: Likewise.
12141 * gdb.mi/mi-var-cp.exp: Likewise.
12142 * gdb.mi/mi-var-display.exp: Likewise.
12143 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
12144 * gdb.mi/mi2-var-child.exp: Likewise.
12145 * gdb.mi/mi-vla-c99.exp: Likewise.
12146 * lib/mi-support.exp: Likewise.
12147
12148 From Ian Lance Taylor <iant@cygnus.com>:
12149 * lib/gdb.exp (parse_args): New procedure.
12150
08351840
PA
121512014-04-23 Pedro Alves <palves@redhat.com>
12152
12153 * gdb.base/break-unload-file.c: New file.
12154 * gdb.base/break-unload-file.exp: New file.
12155 * gdb.base/sym-file-lib.c (baz): New function.
12156 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
12157 field.
12158 (load): Store the segment's mapped size.
12159 (unload): New function.
12160 (unload_shlib): New function.
12161 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
12162 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
12163 set a breakpoint at baz, and call it.
12164 * gdb.base/sym-file.exp: New tests for stale breakpoint
12165 instructions.
12166
076855f9
PA
121672014-04-23 Pedro Alves <palves@redhat.com>
12168
12169 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
12170 * gdb.base/hbreak-in-shr-unsupported.c: New file.
12171 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
12172 * gdb.base/hbreak-unmapped.c: New file.
12173 * gdb.base/hbreak-unmapped.exp: New file.
12174 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
12175 * lib/gdb.exp (gdb_is_target_remote): ... here.
12176
483805cf
PA
121772014-04-22 Pedro Alves <palves@redhat.com>
12178
12179 * gdb.base/consecutive-step-over.c: New file.
12180 * gdb.base/consecutive-step-over.exp: New file.
12181
06d97543
PA
121822014-04-22 Pedro Alves <palves@redhat.com>
12183
12184 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
12185 instead of send_gdb/gdb_expect.
12186
b4429ea2
YQ
121872014-04-22 Yao Qi <yao@codesourcery.com>
12188
12189 * lib/trace-support.exp (generate_tracefile): New procedure.
12190 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
12191 return 0.
12192 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
12193 if generate_tracefile returns 1.
12194
51d48146
PA
121952014-04-18 Tom Tromey <palves@redhat.com>
12196 Pedro alves <tromey@redhat.com>
12197
12198 PR backtrace/15558
12199 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
12200 with a backtrace limit.
12201 * gdb.python/py-frame-inline.exp: Test running to an inline
12202 function with a backtrace limit, and printing the newest frame.
12203 * gdb.python/py-frame-inline.c (main): Call f.
12204
bd1dce5f
MS
122052014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
12206
12207 * gdb.java/jnpe.exp: Drop srcdir from untested path.
12208
40d1a503
MS
122092014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
12210
12211 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
12212 Drop prefix from unsupported source file path.
12213
389b98f7
YQ
122142014-04-17 Yao Qi <yao@codesourcery.com>
12215
12216 * lib/gdb.exp (with_target_charset): New proc.
12217 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
12218 with_target_charset.
12219 (test_print_strings): Likewise.
12220 (test_repeat_bytes): Likewise.
12221 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
12222 for some tests.
12223
22869d73
KS
122242014-04-16 Keith Seitz <keiths@redhat.com>
12225
12226 PR gdb/15827
12227 * gdb.dwarf2/corrupt.c: New file.
12228 * gdb.dwarf2/corrupt.exp: New file.
12229
c4f87ca6
KS
122302014-04-16 Keith Seitz <keiths@redhat.com>
12231
12232 PR c++/16597
12233 * gdb.cp/namelessclass.cc: New file.
12234 * gdb.cp/namelessclass.exp: New file.
12235 * gdb.cp/namelessclass.S: New file.
12236
ab19de87
DE
122372014-04-16 Doug Evans <dje@google.com>
12238
12239 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
12240 Add comment.
12241 (gdbserver_default_get_comm_port): New function.
12242 (gdbserver_start): Check if board file provided
12243 "gdbserver,get_comm_port" and use it if so.
12244 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
12245 (gdb,socketport): Set to "stdio".
12246 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
12247 (stdio_gdbserver_template): Delete.
12248 (${board}_get_remote_address): Update.
12249 (${board}_build_remote_cmd): Delete.
12250 (${board}_get_comm_port): New function.
12251 (${board}_spawn): Update.
12252 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
12253 Delete.
12254 (${board}_get_remote_address): Update.
12255 (${board}_get_comm_port): New function.
12256
fc98a809
AB
122572014-04-16 Andrew Burgess <aburgess@broadcom.com>
12258
12259 * gdb.base/memattr.exp: Improve regexps to handle memory regions
12260 appearing in any order.
12261
87fd9e6e
DE
122622014-04-15 Doug Evans <dje@google.com>
12263
12264 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
12265 uninitialized value of "description".
12266
099fc3ea
KS
122672014-04-15 Keith Seitz <keiths@redhat.com>
12268
12269 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
12270 Remove unused globals.
12271 (test_running_the_program): Likewise.
12272 (test_controlled_execution): Likewise.
12273 (test_controlling_breakpoints): Likewise.
12274 (test_program_termination): Likewise.
12275
5da151d4
KS
122762014-04-15 Keith Seitz <keiths@redhat.com>
12277
12278 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
12279 unused globals.
12280 (test_rbreak_creation_and_listing): Likewise.
12281 (test_ignore_count): Likewise.
12282 (test_error): Likewise.
12283
35e5d2f0
PA
122842014-04-15 Pedro Alves <palves@redhat.com>
12285
12286 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
12287 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
12288 sym-file-loader.c.
12289 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
12290 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
12291 to sym-file-loader.c.
12292 (struct library): Forward declare.
12293 (load_shlib, lookup_function): Change prototypes.
12294 (find_shstrtab, find_strtab, find_shdr, find_symtab)
12295 (translate_offset): Remove declarations.
12296 (get_text_addr): New declaration.
12297 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
12298 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
12299 sym-file-loader.h.
12300 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
12301 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
12302 here from sym-file-loader.h.
12303 (struct library): New structure.
12304 (load_shlib, lookup_function): Change prototypes and adjust to
12305 work with a struct library.
12306 (find_shstrtab, find_strtab, find_shdr, find_symtab)
12307 (translate_offset): Make static.
12308 (get_text_addr): New function.
12309 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
12310
eb4c1710
PA
123112014-04-15 Pedro Alves <palves@redhat.com>
12312
12313 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
12314
2d1baf52
PA
123152014-04-15 Pedro Alves <palves@redhat.com>
12316
12317 * gdb.base/sym-file-loader.c: Include <limits.h>.
12318 (SELF_LINK): New define.
12319 (get_origin): New function.
12320 (load_shlib): Use it.
12321 * gdb.base/sym-file.exp: Don't early return if the target is
12322 remote. Use runto_main, and issue fail is that fails. Use
12323 gdb_load_shlibs.
12324 (shlib_name): Delete.
12325 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
12326
7dd6df01
PA
123272014-04-15 Pedro Alves <palves@redhat.com>
12328
12329 * gdb.base/sym-file.exp: Remove regex characters from test
12330 message. Don't refer to breakpoint numbers in test messages.
12331
b50c8614
KS
123322014-04-14 Keith Seitz <keiths@redhat.com>
12333
12334 PR c++/16253
12335 * gdb.cp/var-tag.cc: New file.
12336 * gdb.cp/var-tag.exp: New file.
12337 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
12338 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
12339 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
12340 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
12341
3d567982
TT
123422014-04-14 Tom Tromey <tromey@redhat.com>
12343
12344 * gdb.cp/classes.exp (test_enums): Handle underlying type.
12345 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
12346 type.
12347 * gdb.cp/enum-class.exp: New file.
12348 * gdb.cp/enum-class.cc: New file.
12349
0626fc76
TT
123502014-04-14 Tom Tromey <tromey@redhat.com>
12351
12352 * gdb.dwarf2/enum-type.exp: New file.
12353
dca325b3
SA
123542014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12355
12356 * gdb.mi/mi-vla-c99.exp: New file.
12357 * gdb.mi/vla.c: New file.
12358
5854b38a
SA
123592014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12360
12361 * gdb.base/vla-datatypes.c: New file.
12362 * gdb.base/vla-datatypes.exp: New file.
12363
463bb957
SA
123642014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12365
12366 * gdb.base/vla-ptr.c: New file.
12367 * gdb.base/vla-ptr.exp: New file.
12368
3dd170be
SA
123692014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12370
12371 * gdb.dwarf2/count.exp: New file.
12372
5ecaaa66
SA
123732014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12374
12375 * gdb.base/vla-sideeffect.c: New file.
12376 * gdb.base/vla-sideeffect.exp: New file.
12377
41f1ada5
DB
123782014-04-14 David Blaikie <dblaikie@gmail.com>
12379
12380 * gdb.mi/non-stop.c: Add return value for non-void function return
12381 statement.
12382 * gdb.threads/staticthreads.c: Ditto.
12383
0be03e84
DE
123842014-04-12 Siva Chandra Reddy <sivachandra@google.com>
12385 Doug Evans <xdje42@gmail.com>
12386
12387 * gdb.guile/scm-value.c: Improve test case.
12388 * gdb.guile/scm-value.exp: Add new test.
12389
f180a1fb
DB
123902014-04-11 David Blaikie <dblaikie@gmail.com>
12391
12392 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
12393 override Clang's default.
12394
6b662e19
JB
123952014-04-11 Joel Brobecker <brobecker@adacore.com>
12396
12397 Revert the following changes (regressions):
12398
12399 * gdb.base/vla-sideeffect.c: New file.
12400 * gdb.base/vla-sideeffect.exp: New file.
12401
12402 * gdb.dwarf2/count.exp: New file.
12403
12404 * gdb.base/vla-multi.c: New file.
12405 * gdb.base/vla-multi.exp: New file.
12406
12407 * gdb.base/vla-ptr.c: New file.
12408 * gdb.base/vla-ptr.exp: New file.
12409
12410 * gdb.base/vla-datatypes.c: New file.
12411 * gdb.base/vla-datatypes.exp: New file.
12412
12413 * gdb.mi/mi-vla-c99.exp: New file.
12414 * gdb.mi/vla.c: New file.
12415
245a5f0b
KS
124162014-04-11 Keith Seitz <keiths@redhat.com>
12417
12418 PR c++/16675
12419 * gdb.cp/cpsizeof.exp: New file.
12420 * gdb.cp/cpsizeof.cc: New file.
12421
58a84dcf
SA
124222014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12423
191a8a90
JB
12424 * gdb.mi/mi-vla-c99.exp: New file.
12425 * gdb.mi/vla.c: New file.
58a84dcf 12426
c8655f75
SA
124272014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12428
12429 * gdb.base/vla-datatypes.c: New file.
12430 * gdb.base/vla-datatypes.exp: New file.
12431
024e13b4
SA
124322014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12433
12434 * gdb.base/vla-ptr.c: New file.
12435 * gdb.base/vla-ptr.exp: New file.
12436
1a237e0e
SA
124372014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12438
12439 * gdb.base/vla-multi.c: New file.
12440 * gdb.base/vla-multi.exp: New file.
12441
504f3432
SA
124422014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12443
12444 * gdb.dwarf2/count.exp: New file.
12445
3bce8237
SA
124462014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12447
191a8a90
JB
12448 * gdb.base/vla-sideeffect.c: New file.
12449 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 12450
322f9c21
YQ
124512014-04-11 Yao Qi <yao@codesourcery.com>
12452
12453 * gdb.base/completion.exp: Check file exists before running tests
12454 on file completion.
12455
d708bcd1
PA
124562014-04-10 Pedro Alves <palves@redhat.com>
12457
12458 * gdb.base/cond-eval-mode.c: New file.
12459 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
12460 prepare_for_testing to build the new file. Check result of
12461 runto_main.
12462 (test_break, test_watch): New procedures.
12463 (top level): Use them.
12464
ae1d2761
PM
124652014-04-08 Pierre Muller <muller@sourceware.org>
12466
12467 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
12468 Ctrl-V use for mingw hosts.
12469
7af389b8
SC
124702014-04-07 Siva Chandra Reddy <sivachandra@google.com>
12471
12472 * gdb.python/py-value.c: Improve test case.
12473 * gdb.python/py-value.exp: Add new test.
12474
5e703181
DE
124752014-04-07 David Blaikie <dblaikie@gmail.com>
12476
12477 * lib/compiler.c: Identify the clang compiler.
12478 * lib/compiler.cc: Ditto.
12479
9810b410
YQ
124802014-04-03 Yao Qi <yao@codesourcery.com>
12481
12482 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
12483
98d1b8dc
AB
124842014-04-01 Anton Blanchard <anton@samba.org>
12485
12486 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
12487 messages unique.
12488
3114cea1
AB
124892014-04-01 Anton Blanchard <anton@samba.org>
12490
12491 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
12492 prepare_for_testing.
12493
62f7182c
AB
124942014-04-01 Anton Blanchard <anton@samba.org>
12495
12496 * gdb.arch/ppc64-atomic-inst.c: Remove.
12497 * gdb.arch/ppc64-atomic-inst.S: New file.
12498 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
12499
770e7fc7
DE
125002014-03-31 Doug Evans <dje@google.com>
12501
12502 * gdb.base/print-symbol-loading-lib.c: New file.
12503 * gdb.base/print-symbol-loading-main.c: New file.
12504 * gdb.base/print-symbol-loading.exp: New file.
12505
46e2bafa
YQ
125062014-03-31 Yao Qi <yao@codesourcery.com>
12507
12508 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
12509
8776cfe9
JB
125102014-03-28 Joel Brobecker <brobecker@adacore.com>
12511
12512 * gdb.ada/mi_dyn_arr: New testcase.
12513
5d1ef361
DE
125142014-03-27 Doug Evans <dje@google.com>
12515
12516 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
12517
b5bee914
YQ
125182014-03-27 Yao Qi <yao@codesourcery.com>
12519
12520 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
12521 if target is nios2-*-*.
12522
0d4d0e77
YQ
125232014-03-26 Yao Qi <yao@codesourcery.com>
12524
12525 * lib/gdb.exp (readline_is_used): New proc.
12526 * gdb.base/completion.exp: Move tests on command complete up.
12527 Skip the rest of tests if readline is not used.
12528 * gdb.ada/complete.exp: Skp the test if readline is not
12529 used.
12530 * gdb.base/filesym.exp: Likewise.
12531 * gdb.base/macscp.exp: Likewise.
12532 * gdb.base/readline-ask.exp: Likewise.
12533 * gdb.base/readline.exp: Likewise.
12534 * gdb.python/py-cmd.exp: Likewise.
12535 * gdb.trace/tfile.exp: Likewise.
12536
29361eee
YQ
125372014-03-26 Yao Qi <yao@codesourcery.com>
12538
12539 * gdb.base/macscp.exp: Fix code format issues.
12540
bc9a5525
UW
125412014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
12542
12543 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
12544 * gdb.asm/powerpc64le.inc: New file.
12545
d3839ede
PA
125462014-03-25 Pedro Alves <palves@redhat.com>
12547 Doug Evans <dje@google.com>
12548
12549 * gdb.base/source-execution.c: New file.
12550 * gdb.base/source-execution.exp: New file.
12551 * gdb.base/source-execution.gdb: New file.
12552
01672a57
DE
125532014-03-24 Doug Evans <dje@google.com>
12554
12555 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
12556 using fission.
12557
88bbeca9
HZ
125582014-03-24 Hui Zhu <hui@codesourcery.com>
12559 Pedro Alves <palves@redhat.com>
12560
12561 PR breakpoints/16101
12562 * gdb.base/dprintf.exp: Use unsupported rather than changing the
12563 test pass/fail messages. Detect missing support for dprintf when
12564 breakpoints are actually inserted.
12565 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
12566 breakpoints are actually inserted.
12567 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
12568 fails.
12569
d2348791
JK
125702014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12571
12572 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
12573
feef67ab
DE
125742014-03-22 Doug Evans <xdje42@gmail.com>
12575
12576 * gdb.python/python.exp (python not supported): Verify multi-line
12577 python command issues an error.
25d743f9 12578 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 12579 guile command issues an error.
feef67ab 12580
ecebef6a
MR
125812014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
12582
12583 * gdb.threads/thread-specific.exp: Handle the lack of usable
12584 $this_breakpoint and $this_thread.
12585
ccdd1909
HZ
125862014-03-21 Hui Zhu <hui@codesourcery.com>
12587
12588 * gdb.base/attach.exp (do_command_attach_tests): New.
12589
beb460e8
PA
125902014-03-20 Tom Tromey <tromey@redhat.com>
12591 Pedro Alves <palves@redhat.com>
12592
12593 PR cli/15718
12594 * gdb.base/condbreak-call-false.c: New file.
12595 * gdb.base/condbreak-call-false.exp: New file.
12596
40acf43a
PA
125972014-03-20 Pedro Alves <palves@redhat.com>
12598
12599 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
12600 Delete.
12601 (block_signals, unblock_signals): Delete.
12602 (child_function_2, main): Remove references to deleted variable
12603 and functions.
12604
9f5e1e02
PA
126052014-03-20 Pedro Alves <palves@redhat.com>
12606
12607 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
12608 Use pthread_kill to signal thread 2.
12609 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
12610 Adjust to make the test send itself a signal rather than using the
12611 host's "kill" command.
12612
99619bea
PA
126132014-03-20 Pedro Alves <palves@redhat.com>
12614
12615 * gdb.threads/multiple-step-overs.c: New file.
12616 * gdb.threads/multiple-step-overs.exp: New file.
12617 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
12618 Adjust expected infrun debug output.
12619
2adfaa28
PA
126202014-03-20 Pedro Alves <palves@redhat.com>
12621
12622 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
12623 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
12624
31e77af2
PA
126252014-03-20 Pedro Alves <palves@redhat.com>
12626
12627 PR breakpoints/7143
12628 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
12629 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
12630 of gdb_test_multiple.
12631 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
12632 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
12633
b9f437de
PA
126342014-03-20 Pedro Alves <palves@redhat.com>
12635
12636 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
12637 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
12638
05adc73e
PA
126392014-03-19 Pedro Alves <palves@redhat.com>
12640
12641 * gdb.base/async.exp: Remove early return.
12642
6048b950
PA
126432014-03-19 Pedro Alves <palves@redhat.com>
12644
12645 * gdb.base/async.exp (step& tests): Pass explicit test messages.
12646
8bcfb00a
PA
126472014-03-19 Pedro Alves <palves@redhat.com>
12648
12649 * gdb.base/async.exp (test_background): Expect \r\n after
12650 "completed." in the fail pattern.
12651
884e37dc
PA
126522014-03-19 Pedro Alves <palves@redhat.com>
12653
12654 * gdb.base/async.exp (test_background): New procedure.
12655 Use it for all background execution command tests.
12656
148e57e2
PA
126572014-03-19 Pedro Alves <palves@redhat.com>
12658
12659 * gdb.base/async.exp: Use prepare_for_testing.
12660
f48088c7
PA
126612014-03-19 Pedro Alves <palves@redhat.com>
12662
12663 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
12664 the same line.
12665
e2f6c966
PA
126662014-03-19 Pedro Alves <palves@redhat.com>
12667
12668 * gdb.base/async.c (main): Add "jump here" and "until here" line
12669 marker comments.
12670 * gdb.base/async.exp (jump_here): New global.
12671 (jump& test): Use it.
12672 (until_here): New global.
12673 (until& test): Use it.
12674
c30568d4
PA
126752014-03-19 Pedro Alves <palves@redhat.com>
12676
12677 * gdb.base/async.exp: Don't frob gdb_protocol.
12678
0172b6a7
DE
126792014-03-18 Doug Evans <xdje42@gmail.com>
12680
12681 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
12682 Fix spelling of exec-done-display.
12683
06c868a8
JK
126842014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
12685
12686 PR gdb/15358
12687 * gdb.base/gdb-sigterm.c: New file.
12688 * gdb.base/gdb-sigterm.exp: New file.
12689
0c7e1a46
PA
126902014-03-18 Pedro Alves <palves@redhat.com>
12691
12692 PR gdb/13860
12693 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
12694 * lib/mi-support.exp (mi_expect_stop): Add special handling for
12695 solib-event.
12696
f7c77d93
JB
126972014-03-17 Joel Brobecker <brobecker@adacore.com>
12698
12699 * gdb.ada/pckd_arr_ren: New testcase.
12700
5a1e8c7a
DE
127012014-03-13 Doug Evans <xdje42@gmail.com>
12702
12703 PR guile/16612
12704 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
12705 collect after discarding symbols.
12706
350e1a76
DE
127072014-03-13 Ludovic Courtès <ludo@gnu.org>
12708 Doug Evans <xdje42@gmail.com>
12709
12710 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
12711 to history survives a gc.
12712
a69900ae
PA
127132014-03-13 Pedro Alves <palves@redhat.com>
12714
12715 * gdb.base/default.exp: Don't test "target procfs".
12716
5db9f0bd
PA
127172014-03-13 Pedro Alves <palves@redhat.com>
12718
12719 * gdb.base/default.exp: Update "target child" and "target procfs"
12720 tests to not expect "Unix".
12721
b3ccfe11
TT
127222014-03-12 Tom Tromey <tromey@redhat.com>
12723
12724 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
12725 New procs. Add target-async tests.
12726 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
12727 Add target-async tests.
12728
646f4417
AA
127292014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
12730
12731 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
12732 'func_start' and 'func_end' for the beginning and end of the
12733 function code, respectively.
12734 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
12735 'func_end' instead of 'func' and 'main'.
12736
288c211f
AA
127372014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
12738
12739 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
12740 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
12741 generate the debug info assembler source.
12742
e0c0f156
AA
127432014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
12744
12745 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
12746 * gdb.dwarf2/arr-subrange.exp: Likewise.
12747 * gdb.dwarf2/dwz.exp: Likewise.
12748 * gdb.dwarf2/method-ptr.exp: Likewise.
12749 * gdb.dwarf2/missing-sig-type.exp: Likewise.
12750 * gdb.dwarf2/subrange.exp: Likewise.
12751 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
12752 * gdb.dwarf2/implptrpiece.exp: Likewise.
12753 * gdb.dwarf2/nostaticblock.exp: Likewise.
12754
0e5c4555
AA
127552014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
12756
12757 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
12758 directory to absolute path name arguments.
12759
5ec18f2b
JG
127602014-03-10 Joel Brobecker <brobecker@adacore.com>
12761
12762 * gdb.ada/tagged_access: New testcase.
12763
847fc4f2
MM
127642014-03-07 Markus Metzger <markus.t.metzger@intel.com>
12765
12766 * gdb.btrace/data.exp: Update expected output.
12767
cc3da688
YQ
127682014-03-06 Yao Qi <yao@codesourcery.com>
12769
12770 * gdb.trace/pr16508.exp: New file.
12771
0f26cec1
PA
127722014-03-05 Pedro Alves <palves@redhat.com>
12773
12774 PR gdb/16575
12775 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
12776 procedure.
12777 (top level): Adjust to use it. Add tests that exercise breakpoint
12778 interaction with the code-cache.
12779
7a5a839f
LC
127802014-02-26 Ludovic Courtès <ludo@gnu.org>
12781
12782 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
12783 test for 'history-append!'.
12784
31aa7e4e
JB
127852014-02-26 Joel Brobecker <brobecker@adacore.com>
12786
12787 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
12788 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
12789 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
12790 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
12791 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
12792 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
12793
1b588015
JB
127942014-02-26 Joel Brobecker <brobecker@adacore.com>
12795
12796 * testsuite/gdb.python/py-pp-re-notag.c: New file.
12797 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
12798 * testsuite/gdb.python/py-pp-re-notag.p: New file.
12799
55426c9d
JB
128002014-02-26 Joel Brobecker <brobecker@adacore.com>
12801
12802 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
12803
dc53a7ad
JB
128042014-02-26 Joel Brobecker <brobecker@adacore.com>
12805
12806 * gdb.dwarf2/arr-stride.c: New file.
12807 * gdb.dwarf2/arr-stride.exp: New file.
12808
12ab52e9
PA
128092014-02-26 Pedro Alves <palves@redhat.com>
12810
12811 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
12812 that won't ever trigger. Make sure that GDB reports the correct
12813 breakpoint that caused the stop.
12814
849c862e
JK
128152014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12816
12817 PR gdb/16626
12818 * gdb.base/auto-load-script: New file.
12819 * gdb.base/auto-load.c: New file.
12820 * gdb.base/auto-load.exp: New file.
12821
71b7d793
JK
12822 PR gdb/16626
12823 * gdb.base/auto-load.exp: Fix out-of-srctree run.
12824
e2f0d509
JK
128252014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12826
12827 Fix dw2-icycle.exp -fsanitize=address GDB crash.
12828 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
12829
50cc37c8
DE
128302014-02-24 Doug Evans <dje@google.com>
12831
12832 * lib/gdb.exp (run_on_host): Log error output if program fails.
12833
ea4758f2
PA
128342014-02-21 Pedro Alves <palves@redhat.com>
12835
12836 * gdb.threads/step-after-sr-lock.c: Rename to ...
12837 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
12838 * gdb.threads/step-after-sr-lock.exp: Rename to ...
12839 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
12840 ... this.
12841
d7b30f67
SDJ
128422014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
12843
12844 PR tdep/16397
12845 * gdb.arch/amd64-stap-special-operands.exp: New file.
12846 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
12847 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
12848 * gdb.arch/amd64-stap-triplet.S: Likewise.
12849 * gdb.arch/amd64-stap-triplet.c: Likewise.
12850
83deb43f
JB
128512014-02-20 Joel Brobecker <brobecker@adacore.com>
12852
12853 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
12854 in .section pseudo-op.
12855
adde2bff
DE
128562014-02-20 lin zuojian <manjian2006@gmail.com>
12857 Joel Brobecker <brobecker@adacore.com>
12858 Doug Evans <xdje42@gmail.com>
12859
12860 PR symtab/16581
12861 * gdb.dwarf2/dw2-icycle.S: New file.
12862 * gdb.dwarf2/dw2-icycle.c: New file.
12863 * gdb.dwarf2/dw2-icycle.exp: New file.
12864
f7bd0f78
SC
128652014-02-19 Siva Chandra Reddy <sivachandra@google.com>
12866
12867 * gdb.python/py-value-cc.cc: Improve test case to enable testing
12868 operations on gdb.Value objects.
12869 * gdb.python/py-value-cc.exp: Add new test to test operations on
12870 gdb.Value objects.
12871
c17ef0d5
DE
128722014-02-18 Doug Evans <dje@google.com>
12873
12874 * Makefile.in (TESTS): New variable.
12875 (expanded_tests, expanded_tests_or_none): New variables
12876 (check-single): Pass $(expanded_tests_or_none) to runtest.
12877 (check-parallel): Only run tests in $(TESTS) if non-empty.
12878 (check/no-matching-tests-found): New rule.
12879 * README: Document TESTS makefile variable.
12880
5dd3176f
DE
128812014-02-18 Doug Evans <dje@google.com>
12882
12883 * Makefile.in (check-parallel): rm -rf outputs temp.
12884
0b10be4f
JK
128852014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12886
12887 Fix "ERROR: no fileid for" in the testsuite.
12888 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
12889
85f224e7
DE
128902014-02-12 Doug Evans <dje@google.com>
12891
12892 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
12893 (MISCELLANEOUS): New variable.
12894 (clean): rm -rf $(MISCELLANEOUS).
12895 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
12896 dwp live in the same directory as symlinks, with each symlink pointed
12897 to a differently named file in a different directory.
12898
149b30ff
DE
128992014-02-11 Doug Evans <dje@google.com>
12900
12901 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
12902 of Tcl file commands.
12903
1dfdac32
MK
129042014-02-10 Mark Kettenis <kettenis@gnu.org>
12905
12906 * gdb.threads/step-after-sr-lock.exp: Avoid executing
12907 "kill -SIGUSR1 -1".
12908
aa4fb036
JB
129092014-02-10 Joel Brobecker <brobecker@adacore.com>
12910
12911 * gdb.ada/tick_length_array_enum_idx: New testcase.
12912
ed3ef339
DE
129132014-02-10 Doug Evans <xdje42@gmail.com>
12914
12915 * configure.ac (AC_OUTPUT): Add gdb.guile.
12916 * configure: Regenerate.
12917 * lib/gdb-guile.exp: New file.
12918 * lib/gdb.exp (get_target_charset): New function.
12919 * gdb.base/help.exp: Update expected output from "apropos apropos".
12920 * gdb.guile/Makefile.in: New file.
12921 * gdb.guile/guile.exp: New file.
12922 * gdb.guile/scm-arch.c: New file.
12923 * gdb.guile/scm-arch.exp: New file.
12924 * gdb.guile/scm-block.c: New file.
12925 * gdb.guile/scm-block.exp: New file.
12926 * gdb.guile/scm-breakpoint.c: New file.
12927 * gdb.guile/scm-breakpoint.exp: New file.
12928 * gdb.guile/scm-disasm.c: New file.
12929 * gdb.guile/scm-disasm.exp: New file.
12930 * gdb.guile/scm-equal.c: New file.
12931 * gdb.guile/scm-equal.exp: New file.
12932 * gdb.guile/scm-error.exp: New file.
12933 * gdb.guile/scm-error.scm: New file.
12934 * gdb.guile/scm-frame-args.c: New file.
12935 * gdb.guile/scm-frame-args.exp: New file.
12936 * gdb.guile/scm-frame-args.scm: New file.
12937 * gdb.guile/scm-frame-inline.c: New file.
12938 * gdb.guile/scm-frame-inline.exp: New file.
12939 * gdb.guile/scm-frame.c: New file.
12940 * gdb.guile/scm-frame.exp: New file.
12941 * gdb.guile/scm-generics.exp: New file.
12942 * gdb.guile/scm-gsmob.exp: New file.
12943 * gdb.guile/scm-iterator.c: New file.
12944 * gdb.guile/scm-iterator.exp: New file.
12945 * gdb.guile/scm-math.c: New file.
12946 * gdb.guile/scm-math.exp: New file.
12947 * gdb.guile/scm-objfile-script-gdb.in: New file.
12948 * gdb.guile/scm-objfile-script.c: New file.
12949 * gdb.guile/scm-objfile-script.exp: New file.
12950 * gdb.guile/scm-objfile.c: New file.
12951 * gdb.guile/scm-objfile.exp: New file.
12952 * gdb.guile/scm-ports.exp: New file.
12953 * gdb.guile/scm-pretty-print.c: New file.
12954 * gdb.guile/scm-pretty-print.exp: New file.
12955 * gdb.guile/scm-pretty-print.scm: New file.
12956 * gdb.guile/scm-section-script.c: New file.
12957 * gdb.guile/scm-section-script.exp: New file.
12958 * gdb.guile/scm-section-script.scm: New file.
12959 * gdb.guile/scm-symbol.c: New file.
12960 * gdb.guile/scm-symbol.exp: New file.
12961 * gdb.guile/scm-symtab-2.c: New file.
12962 * gdb.guile/scm-symtab.c: New file.
12963 * gdb.guile/scm-symtab.exp: New file.
12964 * gdb.guile/scm-type.c: New file.
12965 * gdb.guile/scm-type.exp: New file.
12966 * gdb.guile/scm-value-cc.cc: New file.
12967 * gdb.guile/scm-value-cc.exp: New file.
12968 * gdb.guile/scm-value.c: New file.
12969 * gdb.guile/scm-value.exp: New file.
12970 * gdb.guile/source2.scm: New file.
12971 * gdb.guile/types-module.cc: New file.
12972 * gdb.guile/types-module.exp: New file.
12973
7026a7c1
YQ
129742014-02-10 Yao Qi <yao@codesourcery.com>
12975
12976 PR testsuite/16543
12977 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
12978 * configure: Regenerated.
12979 * Makefile.in: New file.
12980
6c466447
AS
129812014-02-08 Andreas Schwab <schwab@linux-m68k.org>
12982
12983 * gdb.python/py-framefilter.exp: Fix typo.
12984
6e854735
YQ
129852014-02-08 Yao Qi <yao@codesourcery.com>
12986
12987 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
12988 that no =breakpoint-modified is emitted when breakpoints are
12989 modified through MI commands.
12990
d137e6dc
PA
129912014-02-07 Pedro Alves <pedro@codesourcery.com>
12992 Pedro Alves <palves@redhat.com>
12993
12994 * gdb.threads/step-after-sr-lock.c: New file.
12995 * gdb.threads/step-after-sr-lock.exp: New file.
12996
b5ee5a50
PA
129972014-02-07 Pedro Alves <palves@redhat.com>
12998
12999 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
13000
3c77faf3
JK
130012014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
13002
13003 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
13004 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
13005
6dddc817
DE
130062014-02-06 Doug Evans <xdje42@gmail.com>
13007
13008 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
13009 output.
13010
13011 * gdb.gdb/python-interrupts.exp: New file.
13012
de7b2893
YQ
130132014-02-05 Yao Qi <yao@codesourcery.com>
13014
13015 * gdb.trace/report.exp (use_collected_data): Test the output
13016 of "info threads" and "info inferiors".
13017
66d032ac
YQ
130182014-02-05 Yao Qi <yao@codesourcery.com>
13019
13020 Revert this patch:
13021
13022 2013-05-24 Yao Qi <yao@codesourcery.com>
13023
13024 * gdb.trace/tfile.exp: Test inferior and thread.
13025
591a12a1
UW
130262014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13027
13028 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
13029 on a function.
13030 * gdb.base/step-bt.c: Call hello via function pointer to make
13031 sure its first instruction is executed on powerpc64le-linux.
13032
0ff3e01f
UW
130332014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13034
13035 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
13036
084ee545
UW
130372014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13038
13039 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
13040 of the test patterns for use on little-endian systems.
13041
6ed14ff3
UW
130422014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13043
13044 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
13045 (decimal_vector): Fix for little-endian.
13046
401e27fd
JM
130472014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
13048
13049 * gdb.arch/sparc-sysstep.exp: New file.
13050 * gdb.arch/sparc-sysstep.c: Likewise.
13051
13052 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
13053
8b924729
EBM
130542014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13055
13056 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
13057
fb151210
JB
130582014-01-23 Tom Tromey <tromey@redhat.com>
13059
13060 * gdb.ada/array_char_idx: New testcase.
13061
0740f8d8
TT
130622014-01-23 Tom Tromey <tromey@redhat.com>
13063
13064 PR python/16487:
13065 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
13066 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
13067 classes.
13068
21909fa1
TT
130692014-01-23 Tom Tromey <tromey@redhat.com>
13070
13071 PR python/16491:
13072 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
13073 string from an inferior frame.
13074 * gdb.python/py-framefilter-mi.exp: Update.
13075
87ce2a04
DE
130762014-01-22 Doug Evans <dje@google.com>
13077
13078 * gdb.server/server-mon.exp: Add tests for "set debug-format".
13079
237b092b
AA
130802014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13081
13082 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
13083
d674a709
AA
130842014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13085
13086 * gdb.trace/entry-values.exp: Remove excess space character from
13087 regex patterns. Handle s390 call instruction.
13088
20fa3390
AA
130892014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13090
13091 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
13092 define "*_start" label. Make "name" static.
13093 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
13094 ${name} by references to ${name}_start.
13095
78466714
AA
130962014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13097
13098 * gdb.base/info-macros.exp: Remove "debug" from the compile
13099 options.
13100
ec9f644a
IB
131012014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13102
13103 * gdb.dlang/demangle.exp: New file.
13104
94b1b47e
IB
131052014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13106
13107 * gdb.dlang/primitive-types.exp: New file.
13108
7f420862
IB
131092014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13110
13111 * configure.ac: Create gdb.dlang/Makefile.
13112 * configure: Regenerate.
13113 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
13114 * gdb.dlang/Makefile.in: New file.
13115 * lib/d-support.exp: New file.
13116 * lib/gdb.exp (skip_d_tests): New proc.
13117
52834460
MM
131182014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13119
13120 * gdb.btrace/delta.exp: Check reverse stepi.
13121 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
13122 * gdb.btrace/finish.exp: New.
13123 * gdb.btrace/next.exp: New.
13124 * gdb.btrace/nexti.exp: New.
13125 * gdb.btrace/record_goto.c: Add comments.
13126 * gdb.btrace/step.exp: New.
13127 * gdb.btrace/stepi.exp: New.
13128 * gdb.btrace/multi-thread-step.c: New.
13129 * gdb.btrace/multi-thread-step.exp: New.
13130 * gdb.btrace/rn-dl-bind.c: New.
13131 * gdb.btrace/rn-dl-bind.exp: New.
13132 * gdb.btrace/data.c: New.
13133 * gdb.btrace/data.exp: New.
13134 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
13135
6e07b1d2
MM
131362014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13137
13138 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
13139 * gdb.btrace/exception.exp: Update.
13140 * gdb.btrace/instruction_history.exp: Update.
13141 * gdb.btrace/record_goto.exp: Update.
13142 * gdb.btrace/tailcall.exp: Update.
13143 * gdb.btrace/unknown_functions.exp: Update.
13144 * gdb.btrace/delta.exp: New.
13145
0b722aec
MM
131462014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13147
13148 * gdb.btrace/record_goto.exp: Add backtrace test.
13149 * gdb.btrace/tailcall.exp: Add backtrace test.
13150
066ce621
MM
131512014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13152
13153 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
13154 * gdb.btrace/record_goto.c: New.
13155 * gdb.btrace/record_goto.exp: New.
13156 * gdb.btrace/x86-record_goto.S: New.
13157
0688d04e
MM
131582014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13159
13160 * gdb.btrace/function_call_history.exp: Update tests.
13161 * gdb.btrace/instruction_history.exp: Update tests.
13162
8710b709
MM
131632014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13164
13165 * gdb.btrace/function_call_history.exp: Fix expected field
13166 order for "record function-call-history".
13167 Add new tests for "record function-call-history /c".
13168 * gdb.btrace/exception.cc: New.
13169 * gdb.btrace/exception.exp: New.
13170 * gdb.btrace/tailcall.exp: New.
13171 * gdb.btrace/x86-tailcall.S: New.
13172 * gdb.btrace/x86-tailcall.c: New.
13173 * gdb.btrace/unknown_functions.c: New.
13174 * gdb.btrace/unknown_functions.exp: New.
13175 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
13176
5de9129b
MM
131772014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13178
13179 * gdb.btrace/instruction_history.exp: Update.
13180 * gdb.btrace/function_call_history.exp: Update.
13181
23a7fe75
MM
131822014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13183
13184 * gdb.btrace/function_call_history.exp: Fix expected function
13185 trace.
13186 * gdb.btrace/instruction_history.exp: Initialize traced.
13187 Remove traced_functions.
13188
724c7dd8
MM
131892014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13190
13191 * gdb.btrace/function_call_history.exp: Update
13192 * gdb.btrace/instruction_history.exp: Update.
13193
6d78d93b
MM
131942014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13195
13196 * gdb.btrace/enable.exp: Update expected text.
13197
93a360cc
OJ
131982014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
13199
13200 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
13201 bytes.
13202
3772b53f
MR
132032014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
13204
13205 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
13206
596662fa
OJ
132072014-01-15 Omair Javaid <omair.javaid@linaro.org>
13208
13209 * lib/gdb.exp (supports_process_record): Return true for
13210 arm*-linux*. (supports_reverse): Likewise.
13211
b5b08fb4
SC
132122014-01-13 Siva Chandra Reddy <sivachandra@google.com>
13213
13214 PR python/15464
13215 PR python/16113
13216 * gdb.python/py-type.c: Enhance test case.
13217 * gdb.python/py-value-cc.cc: Likewise
13218 * gdb.python/py-type.exp: Add new tests.
13219 * gdb.python/py-value-cc.exp: Likewise
13220
52d7fb13
AA
132212014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13222 Pedro Alves <palves@redhat.com>
13223
13224 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
13225 Make "name" extern.
13226 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
13227 references to ${name}_start by references to ${name}.
13228
a2cd8cfe
JB
132292014-01-10 Joel Brobecker <brobecker@adacore.com>
13230
13231 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
13232
4e23fced
JB
132332014-01-10 Joel Brobecker <brobecker@adacore.com>
13234
13235 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
13236
c6a9e42c
PA
132372014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
13238 Pedro Alves <palves@redhat.com>
13239
13240 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 13241 mi_gdb_target_load.
c6a9e42c 13242
b7ea362b
PA
132432014-01-08 Pedro Alves <palves@redhat.com>
13244
13245 * gdb.threads/reconnect-signal.c: New file.
13246 * gdb.threads/reconnect-signal.exp: New file.
13247
5e3f4fab
EBM
132482014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13249
13250 * gdb.base/source-dir.exp: New file.
13251
79301218
JB
132522014-01-07 Joel Brobecker <brobecker@adacore.com>
13253
13254 * gdb.ada/mi_interface: New testcase.
13255
8e355c5d
JB
132562014-01-07 Joel Brobecker <brobecker@adacore.com>
13257
13258 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
13259 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
13260 gdb.ada/pp-rec-component/pck.ads: New files.
13261
c0d48811
JB
132622014-01-07 Joel Brobecker <brobecker@adacore.com>
13263
13264 * gdb.python/py-pp-integral.c: New file.
13265 * gdb.python/py-pp-integral.py: New file.
13266 * gdb.python/py-pp-integral.exp: New file.
13267
17b609c3 13268For older changes see ChangeLog-1993-2013.
c906108c 13269\f
8d8cb839
EZ
13270;; Local Variables:
13271;; mode: change-log
13272;; left-margin: 8
13273;; fill-column: 74
13274;; version-control: never
13275;; End:
902f2ccb 13276
e2882c85 13277 Copyright 2014-2018 Free Software Foundation, Inc.
902f2ccb
MC
13278 Copying and distribution of this file, with or without modification,
13279 are permitted provided the copyright notice and this notice are preserved.