]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Fix build with g++ 6.3.1
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
a8806230
YQ
12017-12-07 Yao Qi <yao.qi@linaro.org>
2
3 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
4 malloc and catch syscall.
5
824cc835
PM
62017-12-07 Phil Muldoon <pmuldoon@redhat.com>
7
8 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
9 tests for explicit locations.
10
7cc244de
PA
112017-12-06 Pedro Alves <palves@redhat.com>
12
13 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
14 force-disabling XML descriptions.
15
50a1fdd5
PA
162017-12-04 Pedro Alves <palves@redhat.com>
17
18 PR gdb/22499
19 * gdb.arch/amd64-disp-step-avx.S: New file.
20 * gdb.arch/amd64-disp-step-avx.exp: New file.
21
f0fb2488
PA
222017-12-03 Pedro Alves <palves@redhat.com>
23
24 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
25 and <string.h>.
26 (parent_function): Print distinct messages when waitpid fails, or
27 the child exits with a signal, or the child exits for an unhandled
28 reason.
29 * gdb.threads/process-dies-while-detaching.exp
30 (detach_and_expect_exit): New 'inf_output_re' parameter and use
31 it. Wait for both inferior output and GDB's prompt. Use an
32 indirect spawn id list.
33 (do_detach): New parameter 'child_exit'. Use it to compute
34 expected inferior output.
35 (test_detach, test_detach_watch, test_detach_killed_outside):
36 Adjust to pass down the expected child exit kind.
37
97cbe998
SDJ
382017-12-01 Joel Brobecker <brobecker@adacore.com>
39 Sergio Durigan Junior <sergiodj@redhat.com>
40 Pedro Alves <palves@redhat.com>
41
42 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
43
40fc416f
SDJ
442017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
45
46 * gdb.base/relocate.exp: Add tests to guarantee that arguments
47 to 'symbol-file' and 'add-symbol-file' can be
48 position-independent.
49
1cc75e92
YQ
502017-12-01 Yao Qi <yao.qi@linaro.org>
51
52 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
53 the URL in copyright header.
54 * gdb.arch/aarch64-fp.exp: Likewise.
55 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
56 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
57 * gdb.base/expand-psymtabs.exp: Likewise.
58 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
59 * gdb.fortran/common-block.exp: Likewise.
60 * gdb.fortran/common-block.f90: Likewise.
61 * gdb.fortran/logical.exp: Likewise.
62 * gdb.fortran/vla-datatypes.f90: Likewise.
63 * gdb.fortran/vla-sub.f90: Likewise.
64
875fb7a7
JB
652017-11-30 Joel Brobecker <brobecker@adacore.com>
66
67 * gdb.ada/repeat_dyn: New testcase.
68
6f14765f
UW
692017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
70
71 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
72 Update for changed thread numbering.
73 * gdb.cell/bt.exp: Update for changed GDB output.
74
f1af7b94
SM
752017-11-30 Simon Marchi <simon.marchi@ericsson.com>
76
77 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
78 setting isremote by hand.
79 * boards/dwarf4-gdb-index.exp: Likewise.
80 * boards/fission.exp: Likewise.
81 * boards/stabs.exp: Likewise.
82
e3919f3e
PA
832017-11-30 Pedro Alves <palves@redhat.com>
84
85 * gdb.linespec/cpls-ops.exp
86 (check_explicit_skips_function_argument): Extract the underlying
87 type of size_t instead of hardcoding it.
88
bd69330d
PA
892017-11-29 Pedro Alves <palves@redhat.com>
90
91 PR c++/19436
92 * gdb.linespec/cpls-abi-tag.cc: New file.
93 * gdb.linespec/cpls-abi-tag.exp: New file.
94
a20714ff
PA
952017-11-29 Pedro Alves <palves@redhat.com>
96
97 * gdb.base/langs.exp: Use -qualified.
98 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
99 it.
100 * gdb.cp/namespace.exp: Use -qualified.
101 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
102 (overload-3, template-overload, template-ret-type, const-overload)
103 (const-overload-quoted, anon-ns, ambiguous-prefix): New
104 procedures.
105 (test_driver): Call them.
106 * gdb.cp/save-bp-qualified.cc: New.
107 * gdb.cp/save-bp-qualified.exp: New.
108 * gdb.linespec/explicit.exp: Test -qualified.
109 * lib/completion-support.exp (completion::explicit_opts_list): Add
110 "-qualified".
111 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
112
f6f1d339
PM
1132017-11-29 Phil Muldoon <pmuldoon@redhat.com>
114
115 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
116
02ca603a
TT
1172017-11-29 Tom Tromey <tom@tromey.com>
118
119 * gdb.base/relocate.exp: Update invalid argument test.
120 Add new tests for invalid arguments.
121
ed6c0bfb
TP
1222017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
123
124 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
125 Return 0 as a long.
126 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
127
f106e10e
TP
1282017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
129
130 * gdb.cp/breakpoint.cc (bar): Set return type to void.
131 * gdb.cp/psymtab-parameter.cc (func): Likewise.
132 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
133 func ().
134 * gdb.cp/shadow.cc (B.func): Return 0.
135
10329bb2
JB
1362017-11-27 Joel Brobecker <brobecker@adacore.com>
137
138 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
139 expected output in gdb_expect call to allow the exception
140 message to be present as well. Fix syntax confusion to avoid
141 TCL thinking that exception_name is an array.
142
617cd4bc
UW
1432017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
144
145 * gdb.arch/spu-info.c: Include <unistd.h>.
146 (do_signal_test): Fix broken calls to write.
147 * gdb.arch/spu-info.exp: Use prepare_for_testing.
148 Fix checks for empty mailboxes. Update signal tests for corrected
149 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
150 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
151 * gdb.cell/arch.exp: Use standard_output_file.
152 * gdb.cell/break.exp: Likewise.
153 * gdb.cell/bt.exp: Likewise.
154 * gdb.cell/core.exp: Likewise.
155 * gdb.cell/dwarfaddr.exp: Likewise.
156 * gdb.cell/ea-cache.exp: Likewise.
157 * gdb.cell/ea-standalone.exp: Likewise.
158 * gdb.cell/f-regs.exp: Likewise.
159 * gdb.cell/fork.exp: Likewise.
160 * gdb.cell/gcore.exp: Likewise.
161 * gdb.cell/mem-access.exp: Likewise.
162 * gdb.cell/ptype.exp: Likewise.
163 * gdb.cell/registers.exp: Likewise.
164 * gdb.cell/sizeof.exp: Likewise.
165 * gdb.cell/solib-symbol.exp: Likewise.
166 * gdb.cell/solib.exp: Likewise.
617cd4bc 167
a81aaca0
PA
1682017-11-25 Pedro Alves <palves@redhat.com>
169
170 * gdb.base/complete-empty.exp: New file.
171 * gdb.base/completion.exp: Adjust.
172
6a3c6ee4
PA
1732017-11-25 Pedro Alves <palves@redhat.com>
174
175 * gdb.linespec/cpls-ops.cc: New file.
176 * gdb.linespec/cpls-ops.exp: New file.
177 * lib/completion-support.exp (test_complete_prefix_range_re): New,
178 factored out from ...
179 (test_complete_prefix_range): ... this.
180
8955eb2d
PA
1812017-11-24 Pedro Alves <palves@redhat.com>
182
183 * gdb.linespec/cpcompletion.exp: New file.
184 * gdb.linespec/cpls-hyphen.cc: New file.
185 * gdb.linespec/cpls.cc: New file.
186 * gdb.linespec/cpls2.cc: New file.
187 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
188 test to use test_gdb_complete_unique. Add label completion,
189 keyword completion and explicit location completion tests.
190 * lib/completion-support.exp: New file.
191
e547c119
JB
1922017-11-24 Joel Brobecker <brobecker@adacore.com>
193
194 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
195 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
196 when hitting an exception catchpoint.
197
7c3c1aa8
YQ
1982017-11-22 Yao Qi <yao.qi@linaro.org>
199
200 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
201
41bd68f5
SM
2022017-11-22 Simon Marchi <simon.marchi@ericsson.com>
203
204 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
205 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
206 * gdb.dwarf2/info-locals-optimized-out.c: New file.
207
1daad298
YQ
2082017-11-22 Yao Qi <yao.qi@linaro.org>
209
210 * gdb.base/info-os.exp: Pass pthreads.
211 * gdb.multi/multi-attach.exp: Likewise.
212
88465e87
YQ
2132017-11-22 Yao Qi <yao.qi@linaro.org>
214
215 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
216 compiler.
217
dc196b23
YQ
2182017-11-22 Yao Qi <yao.qi@linaro.org>
219
220 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
221 * gdb.base/break-interp.exp: Likewise.
222 * gdb.base/jit-attach-pie.exp: Likewise.
223
2400729e
UW
2242017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
225
226 * gdb.base/float128.c (large128): New variable.
227 * gdb.base/float128.exp: Add test to print largest __float128 value.
228
7a26362d
UW
2292017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
230
231 * gdb.arch/vsx-regs.exp: Update register content checks.
232
ed0f4273
UW
2332017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
234
235 * gdb.arch/ppc-longdouble.exp: New file.
236 * gdb.arch/ppc-longdouble.c: Likewise.
237
a25d69c6
PA
2382017-11-21 Pedro Alves <palves@redhat.com>
239
240 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
241
73fcf641
PA
2422017-11-20 Pedro Alves <palves@redhat.com>
243
244 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
245 (long_double_typedef): New typedefs.
246 Use DEF on double and long double.
247 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
248 cases.
249 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
250 and 'long_double_ptr_same_size' locals. Use them to decide
251 whether cast from array/function to float is valid/invalid.
252
71a3c369
TT
2532017-11-17 Tom Tromey <tom@tromey.com>
254
255 * gdb.rust/traits.rs: New file.
256 * gdb.rust/traits.exp: New file.
257
ced9779b
JB
2582017-11-17 Joel Brobecker <brobecker@adacore.com>
259
260 * gdb.ada/minsyms: New testcase.
261
a0922d80
PA
2622017-11-16 Pedro Alves <palves@redhat.com>
263
264 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
265 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
266
ea04e54c
PA
2672017-11-16 Pedro Alves <palves@redhat.com>
268
269 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
270 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
271
e849ea89
PA
2722017-11-16 Pedro Alves <palves@redhat.com>
273
274 * gdb.server/reconnect-ctrl-c.c: New file.
275 * gdb.server/reconnect-ctrl-c.exp: New file.
276
d8ae99a7
PM
2772017-11-16 Phil Muldoon <pmuldoon@redhat.com>
278
279 * gdb.python/py-rbreak.exp: New file.
280 * gdb.python/py-rbreak.c: New file.
281 * gdb.python/py-rbreak-func2.c: New file.
282
968a13f8
PA
2832017-11-16 Pedro Alves <palves@redhat.com>
284
285 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
286 pattern.
287 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
288 GDB.
289
71774bc9
SM
2902017-11-15 Simon Marchi <simon.marchi@ericsson.com>
291
292 * gdb.tui/completionn.exp (test_tab_completion): Add space in
293 regex.
294
ddbb44cf
SM
2952017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
296
297 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
298 test names.
299
584a564f
PA
3002017-11-09 Pedro Alves <palves@redhat.com>
301
302 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
303 factored out from ...
304 (top level): ... here, and adjusted to avoid expecting beyond the
305 prompt in a single gdb_test_multiple.
306
5ed7a928
PA
3072017-11-09 Pedro Alves <palves@redhat.com>
308
309 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
310 output.
311 * gdb.server/ext-attach.exp ("kill" test): Likewise.
312 * gdb.server/ext-restart.exp ("kill" test): Likewise.
313 * gdb.server/ext-run.exp ("kill" test): Likewise.
314 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
315
a60e0738
PA
3162017-11-09 Pedro Alves <palves@redhat.com>
317
318 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
319 match till end of line.
320
2c88253f
PA
3212017-11-09 Pedro Alves <palves@redhat.com>
322
323 * gdb.base/memattr.exp: Tighten regexes to match the end line.
324
c7a38517
PA
3252017-11-09 Pedro Alves <palves@redhat.com>
326
327 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
328 New procedures, factored out from ...
329 (top level): ... here, and adjusted to avoid expecting beyond the
330 prompt in one go.
331
f29f4b6b
PA
3322017-11-09 Pedro Alves <palves@redhat.com>
333
334 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
335 output. Fix '?' match.
336
286acbb5
JB
3372017-11-08 Joel Brobecker <brobecker@adacore.com>
338
339 * gdb.ada/scoped_watch: New testcase.
340 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
341 which is actually correct.
342 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
343 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
344
62d7ae92
PA
3452017-11-08 Pedro Alves <palves@redhat.com>
346
347 * gdb.gdb/complaints.exp (test_initial_complaints)
348 (test_serial_complaints, test_short_complaints): Call
349 complaint_internal instead of complaint.
350
280ca31f
DT
3512017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
352
353 * gdb.threads/tls-core.c: New file.
354 * gdb.threads/tls-core.exp: Likewise.
355
b5ec771e
PA
3562017-11-08 Pedro Alves <palves@redhat.com>
357
358 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
359 (p Exported_Capitalized): New test.
360 (p exported_capitalized): New test.
361
a02b41a7
PA
3622017-11-07 Pedro Alves <palves@redhat.com>
363
364 * gdb.cp/ena-dis-br-range.exp: Add more tests.
365
95e95a6d
PA
3662017-11-07 Pedro Alves <palves@redhat.com>
367
368 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
369 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
370 (disable_invalid, disable_inverted, disable_negative): New
371 procedures.
372 ("bad numbers"): New set of tests.
373
cee62dbd
PA
3742017-11-07 Pedro Alves <palves@redhat.com>
375
376 * gdb.cp/ena-dis-br-range.exp: Add tests.
377
cc638e86
PA
3782017-11-07 Pedro Alves <palves@redhat.com>
379
380 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
381
d0fe4701
XR
3822017-11-07 Xavier Roirand <roirand@adacore.com>
383 Pedro Alves <palves@redhat.com>
384
385 * gdb.base/ena-dis-br.exp: Add reference to
386 gdb.cp/ena-dis-br-range.exp.
387 * gdb.cp/ena-dis-br-range.exp: New file.
388 * gdb.cp/ena-dis-br-range.cc: New file.
389
46f67f80
PA
3902017-11-06 Pedro Alves <palves@redhat.com>
391
392 * gdb.base/attach-non-pgrp-leader.c: New.
393 * gdb.base/attach-non-pgrp-leader.exp: New.
394
726e1356
PA
3952017-11-06 Pedro Alves <palves@redhat.com>
396
397 * configure.ac: No longer check for termio.h and sgtty.h.
398 * configure: Regenerate.
399 * remote-utils.c: Include termios.h instead of gdb_termios.h.
400 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
401 Remove termio and sgtty code.
402
50ab6ace
YQ
4032017-11-03 Yao Qi <yao.qi@linaro.org>
404
405 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
406 in GDB is disabled.
407
8e68731c
YQ
4082017-11-03 Yao Qi <yao.qi@linaro.org>
409
410 * gdb.python/py-thrhandle.exp: Skip it if python is not
411 enabled.
412
3a87ae65
SM
4132017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
414
415 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
416 as a breakpoint command.
417
484d8d36
MD
4182017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
419
420 PR python/21213
421 * gdb.python/py-infthread.exp: Test calling
422 InferiorThread.inferior () multiple times in a row.
423
4a27f119
KS
4242017-10-27 Keith Seitz <keiths@redhat.com>
425
426 * gdb.opt/inline-break.exp (break_info_1): New procedure.
427 Test "info break" for every inlined function breakpoint.
428
bb11dd58
YQ
4292017-10-27 Yao Qi <yao.qi@linaro.org>
430
431 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
432
a43f3893
PF
4332017-10-26 Patrick Frants <osscontribute@gmail.com>
434
435 * gdb.cp/classes.exp (test_static_members): Test printing
436 Outer::instance.
437 * gdb.cp/classes.c (struct Inner, struct Outer): New.
438 (Inner::instance, Outer::instance): New.
439
792ccf00
PA
4402017-10-24 Pedro Alves <palves@redhat.com>
441
442 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
443 extra console" test in two stages.
444
eb2bfbad
PA
4452017-10-24 Pedro Alves <palves@redhat.com>
446
447 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
448
1f75a651
PA
4492017-10-24 Pedro Alves <palves@redhat.com>
450
451 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
452 loop.
453
779990d9
PA
4542017-10-24 Pedro Alves <palves@redhat.com>
455
456 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
457 $attempt" and "stoppedtry $stoppedtry" test prefixes.
458
ad9b8f5d
PA
4592017-10-24 Pedro Alves <palves@redhat.com>
460
461 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
462 parameter and handle it. Don't output read value in test name.
463
fee6da6e
PA
4642017-10-24 Pedro Alves <palves@redhat.com>
465
466 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
467 custom test name.
468
10389c2c
PA
4692017-10-24 Pedro Alves <palves@redhat.com>
470
471 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
472 include the unstable output directory name in the test's name.
473 (initial_setup_simple) <'set args'>: Use custom test name.
474
a80e65a9
PA
4752017-10-24 Pedro Alves <palves@redhat.com>
476
477 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
478 with explicit test name.
479
15763a09
PA
4802017-10-20 Pedro Alves <palves@redhat.com>
481
482 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
483 'wait -i'. Use gdb_assert and remote_close.
484
49a4ce2e
AB
4852017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
486
487 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
488 number from variable rather than hard-coded.
489
a75868f5
PA
4902017-10-19 Pedro Alves <palves@redhat.com>
491
492 * gdb.base/long-inferior-output.c: New file.
493 * gdb.base/long-inferior-output.exp: New file.
494
c8ba13ad
KS
4952017-11-18 Keith Seitz <keiths@redhat.com>
496
497 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
498 method.
499 (main): Call it.
500 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
501 Add additional user-defined conversion operator tests.
502
b27de576
PA
5032017-10-17 Pedro Alves <palves@redhat.com>
504
505 * boards/native-stdio-gdbserver.exp: Load "local-board".
506
8484c955
PA
5072017-10-17 Pedro Alves <palves@redhat.com>
508
509 * gdb.base/quit-live.c: New file.
510 * gdb.base/quit-live.exp: New file.
511
83d5a34d
KS
5122017-10-16 Keith Seitz <keiths@redhat.com>
513
514 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
515 (class_with_protected_typedef, class_with_private_typedef)
516 (struct_with_public_typedef, struct_with_protected_typedef)
517 (struct_with_private_typedef): New classes/structs.
518 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
519 typedefs and access specifiers.
520
739b3f1d
PA
5212017-10-16 Pedro Alves <palves@redhat.com>
522 Simon Marchi <simon.marchi@polymtl.ca>
523
524 * README (Local vs Remote vs Native): New section.
525 * boards/local-board.exp: New file, with bits factored out from
526 ...
527 * boards/native-extended-gdbserver.exp: ... here. Load
528 "local-board".
529 * boards/native-gdbserver.exp: Load "local-board".
530 (${board}_spawn, ${board}_exec): Delete.
531 * boards/native-stdio-gdbserver.exp: Most contents factored out to
532 ...
533 * boards/stdio-gdbserver-base.exp: ... this new file.
534 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
535 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
536 procedure.
537 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
538 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
539 stdio_gdbserver_command.
540 (${board}_get_remote_address, ${board}_get_comm_port)
541 (${board}_download, ${board}_upload): Delete.
542 (get_target_remote_pipe_cmd): New.
543
fe68b953
SM
5442017-10-16 Simon Marchi <simon.marchi@ericsson.com>
545
546 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
547 test_bkpt_deletion, test_bkpt_cond_and_cmds,
548 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
549 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
550 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
551 remove with_test_prefix.
552
300b6685
PA
5532017-10-13 Pedro Alves <palves@redhat.com>
554
555 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
556 * gdb.base/annota1.exp: Use it instead of is_remote.
557 * gdb.base/annota3.exp: Use it instead of is_remote.
558 * gdb.cp/annota2.exp: Use it instead of is_remote.
559 * gdb.cp/annota3.exp: Use it instead of is_remote.
560 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
561
50500caf
PA
5622017-10-13 Pedro Alves <palves@redhat.com>
563
564 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
565 (test_num_test_vars, run_and_count_vars, find_env)
566 (test_set_unset_env, test_inherit_env_var): New procedures.
567 (top level): Use them.
568
dad0c6d2
PA
5692017-10-13 Pedro Alves <palves@redhat.com>
570
571 * lib/selftest-support.exp (selftest_setup): Extend comments, and
572 also skip on stub-like targets.
573
8b0553c1
PA
5742017-10-13 Pedro Alves <palves@redhat.com>
575
576 PR gdb/22293
577 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
578 (top level): Move some tests to ...
579 (test_not_found): ... this new procedure.
580 (top level): Call it.
581
7594f623
PA
5822017-10-13 Pedro Alves <palves@redhat.com>
583
584 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
585 expect different "info terminal" output if testing with a
586 non-native target.
587
ebe3b402
PA
5882017-10-13 Pedro Alves <palves@redhat.com>
589 Simon Marchi <simon.marchi@polymtl.ca>
590
591 PR python/12966
592 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
593
42f1b161
PA
5942017-10-13 Pedro Alves <palves@redhat.com>
595
596 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
597 already.
598
8d6ef72b
PA
5992017-10-13 Pedro Alves <palves@redhat.com>
600
601 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
602 is_remote.
603
d7bcd5b8
PA
6042017-10-13 Pedro Alves <palves@redhat.com>
605
606 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
607 is_remote.
608
df479dc6
PA
6092017-10-13 Pedro Alves <palves@redhat.com>
610
611 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
612 is set.
613 (corefile_test_attach): Likewise. Check can_spawn_for_attach
614 instead of is_remote.
615
23fb630a
PA
6162017-10-13 Pedro Alves <palves@redhat.com>
617
618 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
619 (top level): Add comment.
620
cc77b1dc
PA
6212017-10-13 Pedro Alves <palves@redhat.com>
622
623 * gdb.base/remote.exp (top level): Fix comment typo and add
624 missing return.
625
27c9e813
PA
6262017-10-13 Pedro Alves <palves@redhat.com>
627 Simon Marchi <simon.marchi@polymtl.ca>
628
629 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
630 calls and add comments. Skip test if use_gdb_stub is set.
631 (top level): Use "set cwd" command instead of "cd" command.
632
5e830d98
PA
6332017-10-13 Pedro Alves <palves@redhat.com>
634
635 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
636 is_remote target check.
637
f5ca0032
PA
6382017-10-13 Pedro Alves <palves@redhat.com>
639
640 * gdb.base/scope.exp: Use build_executable + clean_restart +
641 gdb_file_cmd instead of prepare_for_testing and no longer skip
642 "before run" tests on is_remote target boards. Update comments.
643 * boards/native-extended-gdbserver.exp
644 (extended_gdbserver_load_last_file): New, factored out from ...
645 (gdb_load): ... this. Move further below and add comment.
646 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
647
8aed1c0d
PA
6482017-10-12 Pedro Alves <palves@redhat.com>
649
650 * gdb.base/attach.exp: Remove references to gdb64.
651 * gdb.base/dbx.exp: Remove references to gdb64.
652
cfa34c87
SM
6532017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
654 Pedro Alves <palves@redhat.com>
655
656 * gdb.base/label.exp: Remove is_remote target check.
657
9192b7de
PA
6582017-10-12 Pedro Alves <palves@redhat.com>
659
660 * gdb.base/auvx.exp (coredir): Update comment.
661 (top level) <core_works>: Use "set cwd" command instead of "cd"
662 command.
663
6bf0052d
PA
6642017-10-12 Pedro Alves <palves@redhat.com>
665 Simon Marchi <simon.marchi@polymtl.ca>
666
667 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
668 target boards.
669
e48ef82d
PA
6702017-10-12 Pedro Alves <palves@redhat.com>
671 Simon Marchi <simon.marchi@polymtl.ca>
672
673 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
674 Instead skip if there's any gdb_protocol set.
675
8d7aea57
SM
6762017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
677 Pedro Alves <palves@redhat.com>
678
679 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
680
30440677
PA
6812017-10-12 Pedro Alves <palves@redhat.com>
682 Simon Marchi <simon.marchi@polymtl.ca>
683
684 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
685 instead of on dejagnu remote boards.
686
4e04f045
PA
6872017-10-12 Pedro Alves <palves@redhat.com>
688 Simon Marchi <simon.marchi@polymtl.ca>
689
690 * gdb.base/inferior-died.exp: Remove is_remote and isnative
691 checks. Use build_executable + clean_restart instead of
692 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
693 of enabling non-stop after starting gdb.
694
871a186e
PA
6952017-10-12 Pedro Alves <palves@redhat.com>
696
697 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
698 * gdb.threads/non-ldr-exc-2.exp: Ditto.
699 * gdb.threads/non-ldr-exc-3.exp: Ditto.
700 * gdb.threads/non-ldr-exc-4.exp: Ditto.
701
56d704da
AK
7022017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
703
704 * gdb.arch/arc-tdesc-cpu.exp: New file.
705 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
706
2f20e312
SM
7072017-10-10 Simon Marchi <simon.marchi@ericsson.com>
708
709 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
710
65630365
PA
7112017-10-10 Pedro Alves <palves@redhat.com>
712
713 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
714 expect CLI output.
715
bf469271
PA
7162017-10-10 Pedro Alves <palves@redhat.com>
717
718 * lib/selftest-support.exp (selftest_setup): Update for
719 captured_command_loop's prototype change.
720
777a42f1
PA
7212017-10-09 Pedro Alves <palves@redhat.com>
722
723 Test both arch1=>arch2 and arch2=>arch1.
724
725 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
726 (srcfile2, binfile2, march1, march2): Remove globals. Largely
727 factored out to...
728 (append_arch1_options, append_arch2_options, append_arch_options)
729 (build_executables): New procedures.
730 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
731 local.
732 (top level): Add new 'first_arch' testing axis.
733
cbd2b4e3
PA
7342017-10-09 Pedro Alves <palves@redhat.com>
735
736 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
737 (barrier): New.
738 (thread_start, all_started): New functions.
739 (main): Spawn new thread and wait until it is scheduled.
740 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
741 option.
742 (do_test): Add 'selected_thread' parameter. Run to all_started
743 instead of main. Explicitly set the breakpoint at main. Switch
744 to the SELECTED_THREAD thread.
745 (top level): Test handling the exec event with either the main
746 thread or the second thread selected.
747
5c9e4427
PA
7482017-10-09 Pedro Alves <palves@redhat.com>
749
750 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
751 logic. Move STOP marker after the value checks.
752 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
753 regexp.
754
b3b7c423
SL
7552017-10-06 Sandra Loosemore <sandra@codesourcery.com>
756
757 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
758
3b4b2f16
UW
7592017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
760
761 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
762 integer-to-dfp conversion.
763 * gdb.base/dfp-test.exp: Likewise.
764
5cd63fda
PA
7652017-10-04 Pedro Alves <palves@redhat.com>
766
767 * gdb.multi/hangout.c: Include <unistd.h>.
768 (hangout_loop): New function.
769 (main): Call alarm. Call hangout_loop in a loop.
770 * gdb.multi/hello.c: Include <unistd.h>.
771 (hello_loop): New function.
772 (main): Call alarm. Call hangout_loop in a loop.
773 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
774 inferior with the other selected.
775
4c71c105
SM
7762017-10-04 Simon Marchi <simon.marchi@ericsson.com>
777
778 * gdb.mi/list-thread-groups-available.exp: New file.
779 * gdb.mi/list-thread-groups-available.c: New file.
780
bc3b087d
SDJ
7812017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
782
783 * gdb.base/set-cwd.exp: Make it available on
784 native-extended-gdbserver.
785
d092c5a2
SDJ
7862017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
787
788 * gdb.base/set-cwd.c: New file.
789 * gdb.base/set-cwd.exp: Likewise.
790
45320ffa
TT
7912017-10-02 Tom Tromey <tom@tromey.com>
792
793 PR rust/22236:
794 * gdb.rust/simple.rs (main): New variable "fslice".
795 * gdb.rust/simple.exp: Add slice tests. Update string tests.
796
b3e3859b
TT
7972017-10-02 Tom Tromey <tom@tromey.com>
798
799 * gdb.rust/simple.exp: Test ptype of a slice.
800
01af5e0d
TT
8012017-10-02 Tom Tromey <tom@tromey.com>
802
803 * gdb.rust/simple.exp: Test index of slice.
804
a9bbfbd8
TT
8052017-09-27 Tom Tromey <tom@tromey.com>
806
807 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
808
df8899e5
TP
8092017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
810 Pedro Alves <palves@redhat.com>
811
812 * gdb.base/compare-sections.exp (get value of read-only section): Read
813 as unsigned value.
814 (corrupt read-only section): Likewise and don't set written if patching
815 failed.
816
757bf54b
KB
8172017-09-21 Kevin Buettner <kevinb@redhat.com>
818
819 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
820 files.
821
06871ae8
PA
8222017-09-20 Pedro Alves <palves@redhat.com>
823
824 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
825 symbol names in gdb's output.
826 * gdb.cp/overload.exp ("list all overloads"): Likewise.
827
e5f25bc5
PA
8282017-09-20 Pedro Alves <palves@redhat.com>
829
830 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
831 Rename to ...
832 (test_list_ambiguous_symbol): ... this and add a symbol name
833 parameter. Adjust.
834 (test_list_ambiguous_function): Reimplement on top of
835 test_list_ambiguous_symbol and also test listing ambiguous
836 variables.
837 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
838 (ambiguous_fun): ... this.
839 (ambiguous_var): New.
840 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
841 (ambiguous_fun): ... this.
842 (ambiguous_var): New.
843
4e5a4f58
JB
8442017-09-19 John Baldwin <jhb@FreeBSD.org>
845
846 * gdb.base/starti.c: New file.
847 * gdb.base/starti.exp: New file.
848 * lib/gdb.exp (gdb_starti_cmd): New procedure.
849
26e53f3e
PA
8502017-09-14 Pedro Alves <palves@redhat.com>
851
852 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
853 (top level): Use it instead of runto.
854
cb791d59
TT
8552017-09-11 Tom Tromey <tom@tromey.com>
856
857 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
858
7c96f8c1
TT
8592017-09-11 Tom Tromey <tom@tromey.com>
860
861 * gdb.python/py-infthread.exp: Add tests for new_thread event.
862 * gdb.python/py-inferior.exp: Add tests for new inferior events.
863
469412dd
CW
8642017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
865
866 * gdb.fortran/printing-types.exp: New file.
867 * gdb.fortran/printing-types.exp: New file.
868
e0f86435
BH
8692017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
870
871 * gdb.fortran/vla-ptype.exp: Fix typos.
872 * gdb.fortran/vla-value.exp: Same.
873
9e9af4be
BH
8742017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
875
876 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
877 * gdb.mi/mi-var-child-f.exp: Likewise.
878 * gdb.mi/mi-vla-fortran.exp: Likewise.
879
a5ad232b
FP
8802017-09-08 Frank Penczek <frank.penczek@intel.com>
881 Christoph Weinmann <christoph.t.weinmann@intel.com>
882 Bernhard Heckel <bernhard.heckel@intel.com>
883
884 * gdb.fortran/ptr-indentation.f90: New file.
885 * gdb.fortran/ptr-indentation.exp: New file.
886
5aec60eb
TT
8872017-09-05 Tom Tromey <tom@tromey.com>
888
889 PR gdb/22010:
890 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
891
8f8f8152
TP
8922017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
893
894 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
895
fbd1b771
JK
8962017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
897
898 * gdb.threads/tls-nodebug-pie.c: New file.
899 * gdb.threads/tls-nodebug-pie.exp: New file.
900
5eb5f850
TT
9012017-09-05 Tom Tromey <tom@tromey.com>
902
903 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
904 for rust.
905
ae780a21
SM
9062017-09-05 Simon Marchi <simon.marchi@ericsson.com>
907
908 * gdb.multi/multi-arch-exec.exp: Test with different
909 "follow-exec-mode" settings.
910 (do_test): New procedure.
911
3693fdb3
PA
9122017-09-04 Pedro Alves <palves@redhat.com>
913
914 * gdb.base/func-static.c (S::method const, S::method volatile)
915 (S::method volatile const): New methods.
916 (c_s, v_s, cv_s): New instances.
917 (main): Call method() on them.
918 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
919 (cannot_resolve): New procedure.
920 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
921 print-quote-unquoted columns.
922 (do_test): Test printing each scope too.
923
e68cb8e0
PA
9242017-09-04 Pedro Alves <palves@redhat.com>
925
926 * gdb.base/local-static.exp: Also test with
927 class::method::variable wholly quoted.
928 * gdb.cp/m-static.exp (class::method::variable): Remove test.
929
858be34c
PA
9302017-09-04 Pedro Alves <palves@redhat.com>
931
932 * gdb.base/local-static.c: New.
933 * gdb.base/local-static.cc: New.
934 * gdb.base/local-static.exp: New.
935
46a4882b
PA
9362017-09-04 Pedro Alves <palves@redhat.com>
937
938 * gdb.asm/asm-source.exp: Add casts to int.
939 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
940 (dataglobal64_1, dataglobal64_2): New globals.
941 * gdb.base/nodebug.exp: Test different expressions involving the
942 new globals, with print, whatis and ptype. Add casts to int.
943 * gdb.base/solib-display.exp: Add casts to int.
944 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
945 * gdb.cp/m-static.exp: Add cast to int.
946 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
947 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
948 tls variable with no debug info without a cast. Test with a cast
949 to int too.
950 * gdb.trace/entry-values.exp: Add casts.
951
2c5a2be1
PA
9522017-09-04 Pedro Alves <palves@redhat.com>
953
954 * gdb.base/nodebug.exp: Test that ptype's error about functions
955 with unknown return type includes the function name too.
956
7022349d
PA
9572017-09-04 Pedro Alves <palves@redhat.com>
958
959 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
960 return type of munmap in infcall.
961 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
962 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
963 type of ftell in infcall.
964 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
965 type of getpid in infcall.
966 * gdb.base/infcall-exec.exp: Cast return type of execlp in
967 infcall.
968 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
969 Bail on failure to extract the pid.
970 * gdb.base/nodebug.c: #include <stdint.h>.
971 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
972 New functions.
973 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
974 Change expected output of print/whatis/ptype with functions with
975 no debug info. Test all supported languages. Call
976 test_call_promotion.
977 * gdb.compile/compile.exp: Adjust expected output to expect
978 warning.
979 * gdb.threads/siginfo-threads.exp: Likewise.
980
54990598
PA
9812017-09-04 Pedro Alves <palves@redhat.com>
982
983 * gdb.base/callfuncs.exp (do_function_calls): New parameter
984 "prototypes". Test calling float functions via prototyped and
985 unprototyped function pointers.
986 (perform_all_tests): New parameter "prototypes". Pass it down.
987 (top level): Pass down "prototypes" parameter to
988 perform_all_tests.
989
34d16ea2
SM
9902017-09-04 Simon Marchi <simon.marchi@ericsson.com>
991
992 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
993 Test with nested loops.
994
9521ecda
SM
9952017-09-04 Simon Marchi <simon.marchi@ericsson.com>
996
997 * gdb.base/commands.exp: Call the new procedures.
998 (loop_break_test, loop_continue_test): New procedures.
999
80a65e9b
SM
10002017-09-04 Simon Marchi <simon.marchi@ericsson.com>
1001
1002 * gdb.base/commands.exp: Call new procedure.
1003 (define_if_without_arg_test): New procedure.
1004
e439fa14
PA
10052017-09-04 Pedro Alves <palves@redhat.com>
1006
1007 * gdb.base/list-ambiguous.exp: New file.
1008 * gdb.base/list-ambiguous0.c: New file.
1009 * gdb.base/list-ambiguous1.c: New file.
1010 * gdb.base/list.exp (test_list_range): Adjust expected output.
1011
0a2dde4a
SDJ
10122017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
1013
1014 * gdb.base/share-env-with-gdbserver.c: New file.
1015 * gdb.base/share-env-with-gdbserver.exp: Likewise.
1016
5e89eb3a
SM
10172017-08-28 Simon Marchi <simon.marchi@ericsson.com>
1018
1019 * gdb.base/commands.exp (gdbvar_simple_if_test,
1020 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
1021 progvar_simple_if_test, progvar_simple_while_test,
1022 progvar_complex_if_while_test, user_defined_command_test,
1023 user_defined_command_args_eval,
1024 user_defined_command_args_stack_test,
1025 user_defined_command_manyargs_test, bp_deleted_in_command_test,
1026 temporary_breakpoint_commands,
1027 gdb_test_no_prompt, redefine_hook_test,
1028 redefine_backtrace_test): Remove "global gdb_prompt".
1029
fd437cbc
SM
10302017-08-28 Simon Marchi <simon.marchi@ericsson.com>
1031
1032 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
1033 New proc, call it from toplevel.
1034
87215ad1
SDJ
10352017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
1036
1037 PR remote/21852
1038 * gdb.server/normal.c: New file, copied from gdb.base.
1039 * gdb.server/run-without-local-binary.exp: New file.
1040
58afddc6
WP
10412017-08-07 Weimin Pan <weimin.pan@oracle.com>
1042
1043 * gdb.arch/sparc64-adi.exp: New file.
1044 * gdb.arch/sparc64-adi.c: New file.
1045
5277199a
PA
10462017-08-22 Pedro Alves <palves@redhat.com>
1047
1048 * gdb.cp/overload.exp (line_range_pattern): New procedure.
1049 (top level): Add "list all overloads" tests.
1050
14278e1f
TT
10512017-08-22 Tom Tromey <tom@tromey.com>
1052
1053 * gdb.gdb/xfullpath.exp: Remove.
1054
bf223d3e
PA
10552017-08-21 Pedro Alves <palves@redhat.com>
1056
1057 PR gdb/19487
1058 * gdb.base/symbol-alias.c: New.
1059 * gdb.base/symbol-alias2.c: New.
1060 * gdb.base/symbol-alias.exp: New.
1061
c973d0aa
PA
10622017-08-21 Pedro Alves <palves@redhat.com>
1063
1064 * gdb.base/dfp-test.c
1065 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
1066 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
1067 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
1068 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
1069 * gdb.base/whatis-ptype-typedefs.c: New.
1070 * gdb.base/whatis-ptype-typedefs.exp: New.
1071 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
1072 (an_int, an_int_type, an_int_type2): New globals.
1073 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
1074 involving typedefs and cast expressions.
1075 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
1076 (lookup_typedefs_function): New.
1077 (typedefs_pretty_printers_dict): New.
1078 (top level): Register lookup_typedefs_function in
1079 gdb.pretty_printers.
1080
6d580b63
YQ
10812017-08-18 Yao Qi <yao.qi@linaro.org>
1082
1083 * gdb.server/unittest.exp: New.
1084
206726fb
SDJ
10852017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
1086
1087 PR gdb/21954
1088 * gdb.base/environ.exp: Add test to check if 'unset environment'
1089 works.
1090
bf0ec4c2
AA
10912017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
1092
1093 * lib/gdb.exp (universal_compile_options): New caching proc.
1094 (gdb_compile): Suppress GCC's coloring of messages.
1095
d6382fff
TT
10962017-08-14 Tom Tromey <tom@tromey.com>
1097
1098 PR gdb/21675:
1099 * gdb.base/printcmds.exp (test_radices): New function.
1100 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
1101 * gdb.base/sizeof.exp (check_valueof): Use p/d.
1102 * lib/gdb.exp (get_integer_valueof): Use p/d.
1103
c2c2dd9f
SM
11042017-08-12 Simon Marchi <simon.marchi@ericsson.com>
1105
1106 * lib/gdb.exp (get_valueof): Don't capture end-of-line
1107 characters.
1108
fdffd6f4
TT
11092017-08-05 Tom Tromey <tom@tromey.com>
1110
1111 * gdb.rust/simple.exp: Allow String to appear in a different
1112 namespace.
1113
27d41eac
YQ
11142017-07-26 Yao Qi <yao.qi@linaro.org>
1115
1116 * gdb.gdb/unittest.exp: Invoke command
1117 "maintenance check xml-descriptions".
1118
031ed05d
AA
11192017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1120
1121 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
1122 calling context.
1123 (hex128): Drop erroneous calculation of parameters.
1124
dcd27ddf
SM
11252017-07-22 Simon Marchi <simon.marchi@ericsson.com>
1126
1127 * gdb.python/py-unwind.exp: Disable stack protection when
1128 building test file.
1129
47e77640
PA
11302017-07-20 Pedro Alves <palves@redhat.com>
1131
1132 * gdb.base/default.exp (set language): Adjust expected output.
1133
62d2a18a
PA
11342017-07-20 Pedro Alves <palves@redhat.com>
1135
1136 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
1137 (test_minsym): ... this, and make static.
1138 (get_pck__foo__bar__minsym): Rename to ...
1139 (get_test_minsym): ... this.
1140 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
1141 symbol names and comments.
1142 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
1143 (get_test_minsym): ... this.
1144 (pck__foo__bar__minsym__2): Rename to ...
1145 (test_minsym): ... this.
1146 (main): Adjust.
1147
c45ec17c
PA
11482017-07-17 Pedro Alves <palves@redhat.com>
1149
1150 * gdb.base/completion.exp: Adjust expected output.
1151 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
1152 the completer works.
1153
c6756f62
PA
11542017-07-17 Pedro Alves <palves@redhat.com>
1155
1156 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
1157
5bd68487
AB
11582017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
1159
1160 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
1161
8880f2a9
TT
11622017-07-14 Tom Tromey <tom@tromey.com>
1163
1164 PR rust/21764:
1165 * gdb.rust/simple.exp: Add tests.
1166
65547233
TT
11672017-07-14 Tom Tromey <tom@tromey.com>
1168
1169 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
1170
8f14146e
PA
11712017-07-14 Pedro Alves <palves@redhat.com>
1172
1173 * gdb.linespec/base/one/thefile.cc (z1): New function.
1174 * gdb.linespec/base/two/thefile.cc (z2): New function.
1175 * gdb.linespec/linespec.exp: Add tests.
1176
b4365d02
AB
11772017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
1178
1179 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
1180 to mi_create_breakpoint.
1181
5d2cbaa5
AB
11822017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
1183
1184 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
1185 mi_create_breakpoint.
1186
11cb5716
IB
11872017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
1188
1189 * gdb.dlang/demangle.exp: Update for demangling changes.
1190
03278692
TT
11912017-07-09 Tom Tromey <tom@tromey.com>
1192
1193 * gdb.dwarf2/shortpiece.exp: New file.
1194
33c5cd75
DB
11952017-07-06 David Blaikie <dblaikie@gmail.com>
1196
1197 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
1198 built from fissiont-multi-cu{1,2}.c.
1199 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
1200 except putting 'main' and 'func' in separate CUs in the same DWO file.
1201 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
1202 test.
1203 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
1204 test.
1205
8455d262
PA
12062017-07-06 Pedro Alves <palves@redhat.com>
1207
1208 * gdb.python/py-unwind.exp: Test flushregs.
1209
dc4bde35
SDJ
12102017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
1211
1212 PR cli/21688
1213 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
1214 tests for alias commands and trailing whitespace.
1215
51ed89aa
SDJ
12162017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
1217
1218 PR cli/21688
1219 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
1220 procedure. Call it.
1221
eb17d413
PA
12222017-06-29 Pedro Alves <palves@redhat.com>
1223
1224 * gdb.base/printcmds.exp: Add tests.
1225
41664b45
DG
12262017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
1227
1228 PR gdb/21337
1229 * gdb.base/reread-readsym.exp: New file.
1230 * gdb.base/reread-readsym.c: New file.
1231
75312ae3
KB
12322017-06-21 Kevin Buettner <kevinb@redhat.com>
1233
1234 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
1235 subpattern.
1236
66953522
PB
12372017-06-19 Peter Bergner <bergner@vnet.ibm.com>
1238
1239 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
1240 extended mnemonic.
1241 * gdb.arch/powerpc-power9.s: Likewise.
1242
5524b525
AA
12432017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
1244
1245 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
1246 on 32-bit x86 targets. Exploit is_*_target macros where
1247 appropriate.
1248
03c8af18
AA
12492017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1250
1251 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
1252 register pieces.
1253
3bf31011
AA
12542017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1255
1256 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
1257 located in one or more DWARF pieces.
1258
805acca0
AA
12592017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1260
1261 * lib/gdb.exp (get_endianness): New proc.
1262 * gdb.arch/aarch64-fp.exp: Use it.
1263 * gdb.arch/altivec-regs.exp: Likewise.
1264 * gdb.arch/e500-regs.exp: Likewise.
1265 * gdb.arch/vsx-regs.exp: Likewise.
1266 * gdb.base/dump.exp: Likewise.
1267 * gdb.base/funcargs.exp: Likewise.
1268 * gdb.base/gnu_vector.exp: Likewise.
1269 * gdb.dwarf2/formdata16.exp: Likewise.
1270 * gdb.dwarf2/implptrpiece.exp: Likewise.
1271 * gdb.dwarf2/nonvar-access.exp: Likewise.
1272 * gdb.python/py-inferior.exp: Likewise.
1273 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
1274
e9352324
AA
12752017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1276
1277 PR gdb/21226
1278 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
1279 stack value pieces are taken from the LSB end.
1280
d5d1163e
AA
12812017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1282
1283 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
1284 variable at nonzero offset.
1285
0567c986
AA
12862017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1287
1288 * gdb.dwarf2/var-access.c: New file.
1289 * gdb.dwarf2/var-access.exp: New test.
1290 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
1291
973e9aab
TT
12922017-06-12 Tom Tromey <tom@tromey.com>
1293
1294 * gdb.dwarf2/formdata16.exp: Add tests.
1295
d9109c80
TT
12962017-06-12 Tom Tromey <tom@tromey.com>
1297
1298 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
1299
30a25466
TT
13002017-06-12 Tom Tromey <tom@tromey.com>
1301
1302 PR exp/16225:
1303 * gdb.reverse/i386-sse-reverse.exp: Update tests.
1304 * gdb.arch/vsx-regs.exp: Update tests.
1305 * gdb.arch/s390-vregs.exp (hex128): New proc.
1306 Update test.
1307 * gdb.arch/altivec-regs.exp: Update tests.
1308
aefd8b33
SDJ
13092017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
1310
1311 * gdb.base/startup-with-shell.c: New file.
1312 * gdb.base/startup-with-shell.exp: Likewise.
1313
2090129c
SDJ
13142017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
1315
1316 * gdb.server/non-existing-program.exp: Update regex in order to
1317 reflect the fact that gdbserver is now using fork_inferior (with a
1318 shell) to startup the inferior.
1319
8e86a419
SM
13202017-05-30 Simon Marchi <simon.marchi@ericsson.com>
1321
1322 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
1323 support function calls from GDB.
1324
e6cf65f2
TT
13252017-05-21 Tom Tromey <tom@tromey.com>
1326
1327 PR rust/21466:
1328 * gdb.rust/unsized.exp: New file.
1329 * gdb.rust/unsized.rs: New file.
1330
43cc5389
TT
13312017-05-19 Tom Tromey <tom@tromey.com>
1332
1333 PR rust/21484:
1334 * gdb.rust/watch.exp: New file.
1335 * gdb.rust/watch.rs: New file.
1336
ec8df234
TT
13372017-05-18 Tom Tromey <tom@tromey.com>
1338
1339 * gdb.rust/simple.exp: Allow Box to be qualified.
1340
3e3e7fae
TP
13412017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
1342
1343 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
1344
59cc050d
PA
13452017-05-18 Pedro Alves <palves@redhat.com>
1346
1347 * gdb.base/fileio.c (test_write, test_read, test_close)
1348 (test_fstat): Don't print 'ret' in the fail path.
1349
c8f6abd1
PA
13502017-05-18 Pedro Alves <palves@redhat.com>
1351
1352 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
1353 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
1354 (test_system, test_rename, test_unlink, test_time): Change
1355 prototypes.
1356 * gdb.base/fileio.exp (stop_msg): Adjust.
1357
d2a03b77
PA
13582017-05-18 Pedro Alves <palves@redhat.com>
1359
1360 * gdb.base/fileio.c (null_str): New global.
1361 (test_stat): Use it.
1362 * gdb.base/fileio.exp: Remove nowarnings.
1363
0d5c6999
YQ
13642017-05-17 Yao Qi <yao.qi@linaro.org>
1365
1366 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
1367
21873064
YQ
13682017-05-17 Simon Marchi <simon.marchi@ericsson.com>
1369
1370 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
1371 argument command.
1372 (top-level): Invoke test_set_inferior_tty.
1373
d512d31c
PA
13742017-05-04 Pedro Alves <palves@redhat.com>
1375
1376 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
1377 Add parens to print call for Python 3.
1378
90cef2ed
KS
13792017-05-03 Keith Seitz <keiths@redhat.com>
1380
1381 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
1382 (main): Call it.
1383
14f819c8
TW
13842017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
1385
1386 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
1387 to prev and next.
1388
913aeadd
TW
13892017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
1390
1391 * gdb.python/py-record-btrace.exp: Remove test for
1392 gdb.BtraceInstruction.error.
1393
a3be24ad
TW
13942017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
1395
1396 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
1397
ae20e79a
TW
13982017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
1399
1400 * gdb.python/py-record-btrace-threads.c: New file.
1401 * gdb.python/py-record-btrace-threads.exp: New file.
1402
45ce1b47
SDJ
14032017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
1404
1405 PR testsuite/8595
1406 * gdb.base/environ.exp: Make test available in all architectures.
1407 Move bits related to "info program" testing to
1408 gdb.base/info-program.exp. Rewrite tests to use the two new
1409 procedures mentione below.
1410 (test_set_show_env_var) New procedure.
1411 (test_set_show_env_var_equal): Likewise.
1412 * gdb.base/info-program.exp: New file.
1413
e15c3eb4
KS
14142017-04-27 Keith Seitz <keiths@redhat.com>
1415
1416 * gdb.cp/oranking.cc (test15): New function.
1417 (main): Call test15 and declare additional variables for testing.
1418 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
1419 "p foo101('abc')" tests.
1420 Add tests for cv qualifier overloads.
1421 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
1422 "lvalue reference overload" test.
1423 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
1424 "print value of f1 on Child&& in f2" test.
1425
3a3fd0fd
PA
14262017-04-19 Pedro Alves <palves@redhat.com>
1427
1428 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
1429 procedure.
1430 (top level): Call it.
1431 * lib/gdb.exp (gdb_define_cmd): New procedure.
1432
53375380
PA
14332017-04-12 Pedro Alves <palves@redhat.com>
1434
1435 PR gdb/21323
1436 * gdb.cp/wide_char_types.c: Include <wchar.h>.
1437 (wchar): New global.
1438 * gdb.cp/wide_char_types.exp (wide_char_types_program)
1439 (do_test_wide_char, wide_char_types_no_program, top level): Add
1440 wchar_t testing.
1441
53e710ac
PA
14422017-04-12 Pedro Alves <palves@redhat.com>
1443
1444 PR c++/21323
1445 * gdb.cp/wide_char_types.c: New file.
1446 * gdb.cp/wide_char_types.exp: New file.
1447
0ad9d8c7
SDJ
14482017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
1449
1450 PR gdb/21352
1451 * gdb.trace/tsv.exp: Add test for "tsave -r".
1452
b1b45502
IB
14532017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
1454
1455 * gdb.dlang/watch-loc.c: New file.
1456 * gdb.dlang/watch-loc.exp: New file.
1457
ec13808e
JK
14582017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1459
1460 * gdb.python/py-section-script.exp (sepdebug): New testcases.
1461
fe5f7374
AK
14622017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
1463
1464 * gdb.arch/arc-analyze-prologue.S: New file.
1465 * gdb.arch/arc-analyze-prologue.exp: Likewise.
1466
eea78757
AK
14672017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
1468
1469 * gdb.arch/arc-decode-insn.S: New file.
1470 * gdb.arch/arc-decode-insn.exp: Likewise.
1471
5badf10a
IR
14722017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
1473
1474 PR tdep/20928
1475 * gdb.arch/sparc64-regs.exp: New file.
1476 * gdb.arch/sparc64-regs.S: Likewise.
1477
cee59b3f
TW
14782017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
1479
1480 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
1481 and memory view on Python 3.
1482
c0f55cc6
AV
14832017-03-20 Artemiy Volkov <artemiyv@acm.org>
1484 Keith Seitz <keiths@redhat.com>
1485
1486 PR gdb/14441
1487 * gdb.cp/demangle.exp: Add rvalue reference tests.
1488 * gdb.cp/rvalue-ref-casts.cc: New file.
1489 * gdb.cp/rvalue-ref-casts.exp: New file.
1490 * gdb.cp/rvalue-ref-overload.cc: New file.
1491 * gdb.cp/rvalue-ref-overload.exp: New file.
1492 * gdb.cp/rvalue-ref-params.cc: New file.
1493 * gdb.cp/rvalue-ref-params.exp: New file.
1494 * gdb.cp/rvalue-ref-sizeof.cc: New file.
1495 * gdb.cp/rvalue-ref-sizeof.exp: New file.
1496 * gdb.cp/rvalue-ref-types.cc: New file.
1497 * gdb.cp/rvalue-ref-types.exp: New file.
1498 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
1499 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
1500
51457a05
MAL
15012017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
1502
1503 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
1504 New procedure.
1505
5b291c04
MAL
15062017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
1507
1508 * lib/mi-support.exp (mi_gdb_test): Add additional message
1509 for unexpected output.
1510
59a56148
AA
15112017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1512
1513 * gdb.base/examine-backward.c (Barrier): New character array
1514 constant, to ensure that TestStrings is preceded by a string
1515 terminator.
1516
7942e96e
AA
15172017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1518
1519 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
1520 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
1521 and implicit pointer into such a location.
1522
6ebac3fb
DE
15232017-03-16 Doug Evans <dje@google.com>
1524
1525 * gdb.python/py-lazy-string (pointer): Really add new typedef.
1526
ec3b243d
TP
15272017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
1528
1529 * gdb.cp/m-static.exp: Fix expectation for prototype of
1530 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
1531
15322017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
1533
1534 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
1535 * gdb.guile/scm-lazy-string.c: New file.
1536 * gdb.guile/scm-value.exp: Move lazy string tests to ...
1537 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
1538 for pointer, array, typedef lazy strings.
1539
2cc36e25 15402017-03-16 Doug Evans <dje@google.com>
34b43320
DE
1541
1542 PR python/17728, python/18439, python/18779
1543 * gdb.python/py-value.c (main) Delete locals sptr, sn.
1544 * gdb.python/py-lazy-string.c (pointer): New typedef.
1545 (main): New locals ptr, array, typedef_ptr.
1546 * gdb.python/py-value.exp: Move lazy string tests to ...
1547 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
1548 array, typedef lazy strings.
ec3b243d 1549
0efcde63
AK
15502017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
1551
1552 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
1553 Add optional 'test' parameter.
1554
7978d7c3
SM
15552017-03-13 Simon Marchi <simon.marchi@ericsson.com>
1556
1557 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
1558 Skip for versions of DejaGnu < 1.5.
1559
896c0c1e
SM
15602017-03-13 Simon Marchi <simon.marchi@ericsson.com>
1561
1562 * lib/gdb.exp (dejagnu_version): New proc.
1563 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
1564 Use dejagnu_version.
1565
5f4d1085
KS
15662017-03-10 Keith Seitz <keiths@redhat.com>
1567
1568 PR c++/8128
1569 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
1570 type from destructor regexps.
1571 Add a branch which actually passes the test.
1572 Adjust "ptype t5i" test names.
1573
1de05205
PA
15742017-03-08 Pedro Alves <palves@redhat.com>
1575
1576 * gdb.base/step-over-exit.exp: Add explicit test message.
1577
c65d6b55
PA
15782017-03-08 Pedro Alves <palves@redhat.com>
1579
1580 PR gdb/18360
1581 * gdb.threads/interrupt-while-step-over.c: New file.
1582 * gdb.threads/interrupt-while-step-over.exp: New file.
1583
2e86a283
PA
15842017-03-08 Pedro Alves <palves@redhat.com>
1585
1586 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
1587 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
1588
25dcbff6
PA
15892017-03-08 Pedro Alves <palves@redhat.com>
1590
1591 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
1592 PKRU as not supported as a PASS.
1593
dc9366eb
PA
15942017-03-08 Pedro Alves <palves@redhat.com>
1595
1596 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
1597 prefix instead of $binfile1/$binfile2.
1598 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
1599 in test message.
1600 * gdb.python/py-completion.exp: Use "load python file" as test
1601 messages instead of unstable path names.
1602
6e5d74e7
PA
16032017-03-08 Pedro Alves <palves@redhat.com>
1604 Jan Kratochvil <jan.kratochvil@redhat.com>
1605
1606 PR cli/21218
1607 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
1608 New proc.
1609 (top level): Call it.
1610
9753a2f6
PA
16112017-03-08 Pedro Alves <palves@redhat.com>
1612
1613 PR tui/21216
1614 * gdb.tui/tui-nl-filtered-output.exp: New file.
1615
1a4dd9dd
PA
16162017-03-08 Pedro Alves <palves@redhat.com>
1617
1618 * gdb.base/completion.exp: Move TUI completion tests to ...
1619 * gdb.tui/completion.exp: ... this new file.
1620
7cbbff33
PA
16212017-03-08 Pedro Alves <palves@redhat.com>
1622
1623 * gdb.base/tui-disasm-long-lines.c,
1624 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
1625 gdb.base/tui-layout.exp: Move to ...
1626 * gdb.tui/: ... this new directory.
1627
5f6fd321
PA
16282017-03-07 Pedro Alves <palves@redhat.com>
1629
1630 * gdb.base/tui-layout.c: New file.
1631 * gdb.base/tui-layout.exp: New file.
1632
44959fa8
PA
16332017-03-07 Pedro Alves <palves@redhat.com>
1634
1635 * gdb.base/tui-layout.c: Rename to ...
1636 * gdb.base/tui-disasm-long-lines.c: ... this.
1637 * gdb.base/tui-layout.exp: Rename to ...
1638 * gdb.base/tui-disasm-long-lines.exp: ... this.
1639
f8c4e718
PA
16402017-03-07 Pedro Alves <palves@redhat.com>
1641
1642 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
1643
6dbb839a 16442017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
1645
1646 * i386-mpx-call.c: New file.
1647 * i386-mpx-call.exp: New file.
1648
65b48a81
PB
16492017-02-28 Peter Bergner <bergner@vnet.ibm.com>
1650
1651 * gdb.arch/powerpc-power.exp: Delete test.
1652 * gdb.arch/powerpc-power.s: Likewise.
1653 * gdb.disasm/disassembler-options.exp: New test.
1654 * gdb.arch/powerpc-altivec.exp: Likewise.
1655 * gdb.arch/powerpc-altivec.s: Likewise.
1656 * gdb.arch/powerpc-altivec2.exp: Likewise.
1657 * gdb.arch/powerpc-altivec2.s: Likewise.
1658 * gdb.arch/powerpc-altivec3.exp: Likewise.
1659 * gdb.arch/powerpc-altivec3.s: Likewise.
1660 * gdb.arch/powerpc-power7.exp: Likewise.
1661 * gdb.arch/powerpc-power7.s: Likewise.
1662 * gdb.arch/powerpc-power8.exp: Likewise.
1663 * gdb.arch/powerpc-power8.s: Likewise.
1664 * gdb.arch/powerpc-power9.exp: Likewise.
1665 * gdb.arch/powerpc-power9.s: Likewise.
1666 * gdb.arch/powerpc-vsx.exp: Likewise.
1667 * gdb.arch/powerpc-vsx.s: Likewise.
1668 * gdb.arch/powerpc-vsx2.exp: Likewise.
1669 * gdb.arch/powerpc-vsx2.s: Likewise.
1670 * gdb.arch/powerpc-vsx3.exp: Likewise.
1671 * gdb.arch/powerpc-vsx3.s: Likewise.
1672 * gdb.arch/arm-disassembler-options.exp: Likewise.
1673 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
1674 * gdb.arch/s390-disassembler-options.exp: Likewise.
1675
17cd4947
LM
16762017-02-23 Luis Machado <lgustavo@codesourcery.com>
1677
1678 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
1679 (check_supported_features): ... this. Changed return type to void.
1680 (supports_rdseed): New static global.
1681 (rdseed): Check supports_rdseed.
1682 (initialize): Call check_supported_features.
1683
2039d74e
EBM
16842017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1685
1686 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
1687 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
1688 and lqarx/stqcx.
1689 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
1690 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
1691
a51d7ecf
EBM
16922017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1693
1694 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
1695 uppercase.
1696
0224619f
JK
16972017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1698
1699 * gdb.dwarf2/formdata16.c: New file.
1700 * gdb.dwarf2/formdata16.exp: New file.
1701 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
1702
216f72a1
JK
17032017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1704
1705 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
1706 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
1707 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
1708 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
1709 DW_AT_GNU_*.
1710
43988095
JK
17112017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1712
1713 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
1714
99e8a4f9
SDJ
17152017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
1716
1717 PR gdb/21164
1718 * gdb.base/maint.exp: Add testcases for when the commands do
1719 not have arguments.
1720
b58a8c0c
TP
17212017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1722
1723 * gdb.cp/chained-calls.exp: Use p instead of P.
1724
4e746bb6
TW
17252017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
1726
1727 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
1728 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
1729
3f77c769
TT
17302017-02-14 Tom Tromey <tom@tromey.com>
1731
1732 PR python/13598:
1733 * gdb.python/py-events.exp: Add before_prompt event tests.
1734
075beec0
AA
17352017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
1736
1737 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
1738
bf5f525c
LM
17392017-02-13 Luis Machado <lgustavo@codesourcery.com>
1740
1741 * gdb.linespec/explicit.c (my_unique_function_name): New function.
1742 (main): Call my_unique_function_name.
1743 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
1744 completion of patterns with a single match.
1745 Add missing -re switches to gdb_test_multiple calls.
1746
13a66184
LM
17472017-02-13 Luis Machado <lgustavo@codesourcery.com>
1748
1749 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
1750 return if core file is not recognized.
1751
26a06916
SM
17522017-02-10 Simon Marchi <simon.marchi@ericsson.com>
1753
1754 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
1755 and extra UIs.
1756
b761ca9e
SM
17572017-02-10 Simon Marchi <simon.marchi@ericsson.com>
1758
1759 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
1760 proc_with_prefix.
1761
b964bee0
TT
17622017-02-10 Tom Tromey <tom@tromey.com>
1763
1764 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
1765
18da0c51
MG
17662017-02-10 Martin Galvan <martingalvan@sourceware.org>
1767
1768 PR gdb/21122
1769 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
1770
604c4576
JG
17712017-02-08 Jerome Guitton <guitton@adacore.com>
1772
1773 * gdb.base/define.exp: Add test for command abbreviations
1774 in define.
1775
20b477a7
LM
17762017-02-06 Luis Machado <lgustavo@codesourcery.com>
1777
1778 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
1779 * gdb.reverse/insn-reverse-x86.c: New file.
1780
3f7b46f2
IR
17812017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
1782
1783 PR tdep/20936
1784 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
1785
f0fd41c1
TT
17862017-02-03 Tom Tromey <tom@tromey.com>
1787
1788 PR rust/21097:
1789 * gdb.rust/simple.exp: Add new tests.
1790
5be5dbf0
PA
17912017-02-02 Pedro Alves <palves@redhat.com>
1792
1793 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
1794 tests.
1795
7346ef59
AA
17962017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1797
1798 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
1799 taking a 2-byte value out of a 4-byte DWARF implicit value on
1800 big-endian targets.
1801 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
1802 logic. Add test cases for DW_OP_implicit.
1803
787f0025
MM
18042017-02-01 Markus Metzger <markus.t.metzger@intel.com>
1805
1806 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
1807
68777c29
MM
18082017-02-01 Markus Metzger <markus.t.metzger@intel.com>
1809
1810 * gdb.btrace/enable.exp: Call gdb_exit before
1811 skip_gdbserver_tests.
1812
0a1c7e28
MM
18132017-02-01 Markus Metzger <markus.t.metzger@intel.com>
1814
1815 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
1816 GDBFLAGS.
1817
b5ac99b0
MM
18182017-02-01 Markus Metzger <markus.t.metzger@intel.com>
1819
1820 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
1821 the test is skipped.
1822 * gdb.btrace/data.exp: Likewise.
1823 * gdb.btrace/delta.exp: Likewise.
1824 * gdb.btrace/dlopen.exp: Likewise.
1825 * gdb.btrace/enable-running.exp: Likewise.
1826 * gdb.btrace/enable.exp: Likewise.
1827 * gdb.btrace/exception.exp: Likewise.
1828 * gdb.btrace/function_call_history.exp: Likewise.
1829 * gdb.btrace/gcore.exp: Likewise.
1830 * gdb.btrace/instruction_history.exp: Likewise.
1831 * gdb.btrace/multi-thread-step.exp: Likewise.
1832 * gdb.btrace/nohist.exp: Likewise.
1833 * gdb.btrace/non-stop.exp: Likewise.
1834 * gdb.btrace/reconnect.exp: Likewise.
1835 * gdb.btrace/record_goto-step.exp: Likewise.
1836 * gdb.btrace/record_goto.exp: Likewise.
1837 * gdb.btrace/rn-dl-bind.exp: Likewise.
1838 * gdb.btrace/segv.exp: Likewise.
1839 * gdb.btrace/step.exp: Likewise.
1840 * gdb.btrace/stepi.exp: Likewise.
1841 * gdb.btrace/tailcall-only.exp: Likewise.
1842 * gdb.btrace/tailcall.exp: Likewise.
1843 * gdb.btrace/tsx.exp: Likewise.
1844 * gdb.btrace/unknown_functions.exp: Likewise.
1845 * gdb.btrace/vdso.exp: Likewise.
1846
cd4007e4
MM
18472017-02-01 Markus Metzger <markus.t.metzger@intel.com>
1848
1849 * gdb.btrace/enable-running.c: New.
1850 * gdb.btrace/enable-running.exp: New.
1851
2735833d
WT
18522017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
1853
1854 * gdb.arch/amd64-gs_base.c: New file.
1855 * gdb.arch/amd64-gs_base.exp: New file.
1856
b51e1e94
LM
18572017-01-26 Luis Machado <lgustavo@codesourcery.com>
1858
1859 * lib/memory.exp: Remove spurious empty newlines.
1860
72ca0410
SM
18612017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
1862
1863 * gdb.python/py-bad-printers.exp: Load python file using "source".
1864 * gdb.python/py-events.exp: Likewise.
1865 * gdb.python/py-evsignal.exp: Likewise.
1866 * gdb.python/py-evthreads.exp: Likewise.
1867 * gdb.python/py-frame-args.exp: Likewise.
1868 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
1869 * gdb.python/py-framefilter-mi.exp: Likewise.
1870 * gdb.python/py-framefilter.exp: Likewise.
1871 * gdb.python/py-mi.exp: Likewise.
1872 * gdb.python/py-pp-maint.exp: Likewise.
1873 * gdb.python/py-pp-registration.exp: Likewise.
1874 * gdb.python/py-prettyprint.exp: Likewise.
1875 (run_lang_tests): Likewise.
1876 * gdb.python/py-typeprint.exp: Likewise.
1877
e309aa65
LM
18782017-01-26 Luis Machado <lgustavo@codesourcery.com>
1879
1880 * lib/memory.exp: New file.
1881 * lib/gdb.exp: Load memory.exp.
1882 * gdb.base/memattr.exp (delete_memory): Move proc to
1883 lib/memory.exp and rename to delete_memory_regions.
1884 Replace delete_memory with delete_memory_regions.
1885 Cleanup memory regions before tests.
1886 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
1887 before tests.
1888
515aff23
LM
18892017-01-26 Luis Machado <lgustavo@codesourcery.com>
1890
1891 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
1892 files.
1893 (initialize): New function conditionally defined.
1894 (testcases): Move within conditional block.
1895 (main): Call initialize.
1896 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
1897 of gdb.reverse/insn-reverse.c.
1898 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
1899 gdb.reverse/insn-reverse.c.
1900
d8b49cf0
YQ
19012017-01-26 Yao Qi <yao.qi@linaro.org>
1902
1903 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
1904 disassemble on address 0.
1905
f13a9a0c
YQ
19062017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
1907 Yao Qi <yao.qi@linaro.org>
1908
1909 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
1910 * gdb.dwarf2/implptr-64bit.S: Remove.
1911 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
1912 variables in caller's context. Add DW_OP_implicit_value.
1913
5ac95241
YQ
19142017-01-25 Yao Qi <yao.qi@linaro.org>
1915
1916 * lib/dwarf.exp (Dwarf::_location): Handle
1917 DW_OP_GNU_implicit_pointer with proper size.
1918
23e82930
LM
19192017-01-20 Luis Machado <lgustavo@codesourcery.com>
1920
1921 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
1922 and add untested calls.
1923
d334ae25
LM
19242017-01-20 Luis Machado <lgustavo@codesourcery.com>
1925
1926 * gdb.python/python.exp: Check line number against what GDB thinks
1927 the line number is for func1.
1928
f5e6296e
IB
19292017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
1930
1931 * gdb.dlang/debug-expr.exp: New file.
1932
5b362f04
LM
19332016-12-23 Luis Machado <lgustavo@codesourcery.com>
1934
1935 Fix test names for the following files:
1936
1937 * gdb.ada/exec_changed.exp
1938 * gdb.ada/info_types.exp
1939 * gdb.arch/aarch64-atomic-inst.exp
1940 * gdb.arch/aarch64-fp.exp
1941 * gdb.arch/altivec-abi.exp
1942 * gdb.arch/altivec-regs.exp
1943 * gdb.arch/amd64-byte.exp
1944 * gdb.arch/amd64-disp-step.exp
1945 * gdb.arch/amd64-dword.exp
1946 * gdb.arch/amd64-entry-value-inline.exp
1947 * gdb.arch/amd64-entry-value-param.exp
1948 * gdb.arch/amd64-entry-value-paramref.exp
1949 * gdb.arch/amd64-entry-value.exp
1950 * gdb.arch/amd64-i386-address.exp
1951 * gdb.arch/amd64-invalid-stack-middle.exp
1952 * gdb.arch/amd64-invalid-stack-top.exp
1953 * gdb.arch/amd64-optimout-repeat.exp
1954 * gdb.arch/amd64-prologue-skip.exp
1955 * gdb.arch/amd64-prologue-xmm.exp
1956 * gdb.arch/amd64-stap-special-operands.exp
1957 * gdb.arch/amd64-stap-wrong-subexp.exp
1958 * gdb.arch/amd64-tailcall-cxx.exp
1959 * gdb.arch/amd64-tailcall-noret.exp
1960 * gdb.arch/amd64-tailcall-ret.exp
1961 * gdb.arch/amd64-tailcall-self.exp
1962 * gdb.arch/amd64-word.exp
1963 * gdb.arch/arm-bl-branch-dest.exp
1964 * gdb.arch/arm-disp-step.exp
1965 * gdb.arch/arm-neon.exp
1966 * gdb.arch/arm-single-step-kernel-helper.exp
1967 * gdb.arch/avr-flash-qualifier.exp
1968 * gdb.arch/disp-step-insn-reloc.exp
1969 * gdb.arch/e500-abi.exp
1970 * gdb.arch/e500-regs.exp
1971 * gdb.arch/ftrace-insn-reloc.exp
1972 * gdb.arch/i386-avx512.exp
1973 * gdb.arch/i386-bp_permanent.exp
1974 * gdb.arch/i386-byte.exp
1975 * gdb.arch/i386-cfi-notcurrent.exp
1976 * gdb.arch/i386-disp-step.exp
1977 * gdb.arch/i386-dr3-watch.exp
1978 * gdb.arch/i386-float.exp
1979 * gdb.arch/i386-gnu-cfi.exp
1980 * gdb.arch/i386-mpx-map.exp
1981 * gdb.arch/i386-mpx-sigsegv.exp
1982 * gdb.arch/i386-mpx-simple_segv.exp
1983 * gdb.arch/i386-mpx.exp
1984 * gdb.arch/i386-permbkpt.exp
1985 * gdb.arch/i386-prologue.exp
1986 * gdb.arch/i386-signal.exp
1987 * gdb.arch/i386-size-overlap.exp
1988 * gdb.arch/i386-unwind.exp
1989 * gdb.arch/i386-word.exp
1990 * gdb.arch/mips-fcr.exp
1991 * gdb.arch/powerpc-d128-regs.exp
1992 * gdb.arch/powerpc-stackless.exp
1993 * gdb.arch/ppc64-atomic-inst.exp
1994 * gdb.arch/s390-stackless.exp
1995 * gdb.arch/s390-tdbregs.exp
1996 * gdb.arch/s390-vregs.exp
1997 * gdb.arch/sparc-sysstep.exp
1998 * gdb.arch/thumb-bx-pc.exp
1999 * gdb.arch/thumb-singlestep.exp
2000 * gdb.arch/thumb2-it.exp
2001 * gdb.arch/vsx-regs.exp
2002 * gdb.asm/asm-source.exp
2003 * gdb.base/a2-run.exp
2004 * gdb.base/advance.exp
2005 * gdb.base/all-bin.exp
2006 * gdb.base/anon.exp
2007 * gdb.base/args.exp
2008 * gdb.base/arithmet.exp
2009 * gdb.base/async-shell.exp
2010 * gdb.base/async.exp
2011 * gdb.base/attach-pie-noexec.exp
2012 * gdb.base/attach-twice.exp
2013 * gdb.base/auto-load.exp
2014 * gdb.base/bang.exp
2015 * gdb.base/bitfields.exp
2016 * gdb.base/break-always.exp
2017 * gdb.base/break-caller-line.exp
2018 * gdb.base/break-entry.exp
2019 * gdb.base/break-inline.exp
2020 * gdb.base/break-on-linker-gcd-function.exp
2021 * gdb.base/break-probes.exp
2022 * gdb.base/break.exp
2023 * gdb.base/breakpoint-shadow.exp
2024 * gdb.base/call-ar-st.exp
2025 * gdb.base/call-sc.exp
2026 * gdb.base/call-signal-resume.exp
2027 * gdb.base/call-strs.exp
2028 * gdb.base/callfuncs.exp
2029 * gdb.base/catch-fork-static.exp
2030 * gdb.base/catch-gdb-caused-signals.exp
2031 * gdb.base/catch-load.exp
2032 * gdb.base/catch-signal-fork.exp
2033 * gdb.base/catch-signal.exp
2034 * gdb.base/catch-syscall.exp
2035 * gdb.base/charset.exp
2036 * gdb.base/checkpoint.exp
2037 * gdb.base/chng-syms.exp
2038 * gdb.base/code-expr.exp
2039 * gdb.base/code_elim.exp
2040 * gdb.base/commands.exp
2041 * gdb.base/completion.exp
2042 * gdb.base/complex.exp
2043 * gdb.base/cond-expr.exp
2044 * gdb.base/condbreak.exp
2045 * gdb.base/consecutive.exp
2046 * gdb.base/continue-all-already-running.exp
2047 * gdb.base/coredump-filter.exp
2048 * gdb.base/corefile.exp
2049 * gdb.base/dbx.exp
2050 * gdb.base/debug-expr.exp
2051 * gdb.base/define.exp
2052 * gdb.base/del.exp
2053 * gdb.base/disabled-location.exp
2054 * gdb.base/disasm-end-cu.exp
2055 * gdb.base/disasm-optim.exp
2056 * gdb.base/display.exp
2057 * gdb.base/duplicate-bp.exp
2058 * gdb.base/ena-dis-br.exp
2059 * gdb.base/ending-run.exp
2060 * gdb.base/enumval.exp
2061 * gdb.base/environ.exp
2062 * gdb.base/eu-strip-infcall.exp
2063 * gdb.base/eval-avoid-side-effects.exp
2064 * gdb.base/eval-skip.exp
2065 * gdb.base/exitsignal.exp
2066 * gdb.base/expand-psymtabs.exp
2067 * gdb.base/filesym.exp
2068 * gdb.base/find-unmapped.exp
2069 * gdb.base/finish.exp
2070 * gdb.base/float.exp
2071 * gdb.base/foll-exec-mode.exp
2072 * gdb.base/foll-exec.exp
2073 * gdb.base/foll-fork.exp
2074 * gdb.base/fortran-sym-case.exp
2075 * gdb.base/freebpcmd.exp
2076 * gdb.base/func-ptr.exp
2077 * gdb.base/func-ptrs.exp
2078 * gdb.base/funcargs.exp
2079 * gdb.base/gcore-buffer-overflow.exp
2080 * gdb.base/gcore-relro-pie.exp
2081 * gdb.base/gcore-relro.exp
2082 * gdb.base/gcore.exp
2083 * gdb.base/gdb1090.exp
2084 * gdb.base/gdb11530.exp
2085 * gdb.base/gdb11531.exp
2086 * gdb.base/gdb1821.exp
2087 * gdb.base/gdbindex-stabs.exp
2088 * gdb.base/gdbvars.exp
2089 * gdb.base/hbreak.exp
2090 * gdb.base/hbreak2.exp
2091 * gdb.base/included.exp
2092 * gdb.base/infcall-input.exp
2093 * gdb.base/inferior-died.exp
2094 * gdb.base/infnan.exp
2095 * gdb.base/info-macros.exp
2096 * gdb.base/info-os.exp
2097 * gdb.base/info-proc.exp
2098 * gdb.base/info-shared.exp
2099 * gdb.base/info-target.exp
2100 * gdb.base/infoline.exp
2101 * gdb.base/interp.exp
2102 * gdb.base/interrupt.exp
2103 * gdb.base/jit-reader.exp
2104 * gdb.base/jit-simple.exp
2105 * gdb.base/kill-after-signal.exp
2106 * gdb.base/kill-detach-inferiors-cmd.exp
2107 * gdb.base/label.exp
2108 * gdb.base/langs.exp
2109 * gdb.base/ldbl_e308.exp
2110 * gdb.base/line-symtabs.exp
2111 * gdb.base/linespecs.exp
2112 * gdb.base/list.exp
2113 * gdb.base/long_long.exp
2114 * gdb.base/longest-types.exp
2115 * gdb.base/maint.exp
2116 * gdb.base/max-value-size.exp
2117 * gdb.base/memattr.exp
2118 * gdb.base/mips_pro.exp
2119 * gdb.base/morestack.exp
2120 * gdb.base/moribund-step.exp
2121 * gdb.base/multi-forks.exp
2122 * gdb.base/nested-addr.exp
2123 * gdb.base/nextoverexit.exp
2124 * gdb.base/noreturn-finish.exp
2125 * gdb.base/noreturn-return.exp
2126 * gdb.base/nostdlib.exp
2127 * gdb.base/offsets.exp
2128 * gdb.base/opaque.exp
2129 * gdb.base/pc-fp.exp
2130 * gdb.base/permissions.exp
2131 * gdb.base/print-symbol-loading.exp
2132 * gdb.base/prologue-include.exp
2133 * gdb.base/psymtab.exp
2134 * gdb.base/ptype.exp
2135 * gdb.base/random-signal.exp
2136 * gdb.base/randomize.exp
2137 * gdb.base/range-stepping.exp
2138 * gdb.base/readline-ask.exp
2139 * gdb.base/recpar.exp
2140 * gdb.base/recurse.exp
2141 * gdb.base/relational.exp
2142 * gdb.base/restore.exp
2143 * gdb.base/return-nodebug.exp
2144 * gdb.base/return.exp
2145 * gdb.base/run-after-attach.exp
2146 * gdb.base/save-bp.exp
2147 * gdb.base/scope.exp
2148 * gdb.base/sect-cmd.exp
2149 * gdb.base/set-lang-auto.exp
2150 * gdb.base/set-noassign.exp
2151 * gdb.base/setvar.exp
2152 * gdb.base/sigall.exp
2153 * gdb.base/sigbpt.exp
2154 * gdb.base/siginfo-addr.exp
2155 * gdb.base/siginfo-infcall.exp
2156 * gdb.base/siginfo-obj.exp
2157 * gdb.base/siginfo.exp
2158 * gdb.base/signals-state-child.exp
2159 * gdb.base/signest.exp
2160 * gdb.base/sigstep.exp
2161 * gdb.base/sizeof.exp
2162 * gdb.base/skip.exp
2163 * gdb.base/solib-corrupted.exp
2164 * gdb.base/solib-nodir.exp
2165 * gdb.base/solib-search.exp
2166 * gdb.base/stack-checking.exp
2167 * gdb.base/stale-infcall.exp
2168 * gdb.base/stap-probe.exp
2169 * gdb.base/start.exp
2170 * gdb.base/step-break.exp
2171 * gdb.base/step-bt.exp
2172 * gdb.base/step-line.exp
2173 * gdb.base/step-over-exit.exp
2174 * gdb.base/step-over-syscall.exp
2175 * gdb.base/step-resume-infcall.exp
2176 * gdb.base/step-test.exp
2177 * gdb.base/store.exp
2178 * gdb.base/structs3.exp
2179 * gdb.base/sym-file.exp
2180 * gdb.base/symbol-without-target_section.exp
2181 * gdb.base/term.exp
2182 * gdb.base/testenv.exp
2183 * gdb.base/ui-redirect.exp
2184 * gdb.base/until.exp
2185 * gdb.base/unwindonsignal.exp
2186 * gdb.base/value-double-free.exp
2187 * gdb.base/vla-datatypes.exp
2188 * gdb.base/vla-ptr.exp
2189 * gdb.base/vla-sideeffect.exp
2190 * gdb.base/volatile.exp
2191 * gdb.base/watch-cond-infcall.exp
2192 * gdb.base/watch-cond.exp
2193 * gdb.base/watch-non-mem.exp
2194 * gdb.base/watch-read.exp
2195 * gdb.base/watch-vfork.exp
2196 * gdb.base/watchpoint-cond-gone.exp
2197 * gdb.base/watchpoint-delete.exp
2198 * gdb.base/watchpoint-hw-hit-once.exp
2199 * gdb.base/watchpoint-hw.exp
2200 * gdb.base/watchpoint-stops-at-right-insn.exp
2201 * gdb.base/watchpoints.exp
2202 * gdb.base/wchar.exp
2203 * gdb.base/whatis-exp.exp
2204 * gdb.btrace/buffer-size.exp
2205 * gdb.btrace/data.exp
2206 * gdb.btrace/delta.exp
2207 * gdb.btrace/dlopen.exp
2208 * gdb.btrace/enable.exp
2209 * gdb.btrace/exception.exp
2210 * gdb.btrace/function_call_history.exp
2211 * gdb.btrace/gcore.exp
2212 * gdb.btrace/instruction_history.exp
2213 * gdb.btrace/nohist.exp
2214 * gdb.btrace/reconnect.exp
2215 * gdb.btrace/record_goto-step.exp
2216 * gdb.btrace/record_goto.exp
2217 * gdb.btrace/rn-dl-bind.exp
2218 * gdb.btrace/segv.exp
2219 * gdb.btrace/step.exp
2220 * gdb.btrace/stepi.exp
2221 * gdb.btrace/tailcall-only.exp
2222 * gdb.btrace/tailcall.exp
2223 * gdb.btrace/tsx.exp
2224 * gdb.btrace/unknown_functions.exp
2225 * gdb.btrace/vdso.exp
2226 * gdb.compile/compile-ifunc.exp
2227 * gdb.compile/compile-ops.exp
2228 * gdb.compile/compile-print.exp
2229 * gdb.compile/compile-setjmp.exp
2230 * gdb.cp/abstract-origin.exp
2231 * gdb.cp/ambiguous.exp
2232 * gdb.cp/annota2.exp
2233 * gdb.cp/annota3.exp
2234 * gdb.cp/anon-ns.exp
2235 * gdb.cp/anon-struct.exp
2236 * gdb.cp/anon-union.exp
2237 * gdb.cp/arg-reference.exp
2238 * gdb.cp/baseenum.exp
2239 * gdb.cp/bool.exp
2240 * gdb.cp/breakpoint.exp
2241 * gdb.cp/bs15503.exp
2242 * gdb.cp/call-c.exp
2243 * gdb.cp/casts.exp
2244 * gdb.cp/chained-calls.exp
2245 * gdb.cp/class2.exp
2246 * gdb.cp/classes.exp
2247 * gdb.cp/cmpd-minsyms.exp
2248 * gdb.cp/converts.exp
2249 * gdb.cp/cp-relocate.exp
2250 * gdb.cp/cpcompletion.exp
2251 * gdb.cp/cpexprs.exp
2252 * gdb.cp/cplabel.exp
2253 * gdb.cp/cplusfuncs.exp
2254 * gdb.cp/cpsizeof.exp
2255 * gdb.cp/ctti.exp
2256 * gdb.cp/derivation.exp
2257 * gdb.cp/destrprint.exp
2258 * gdb.cp/dispcxx.exp
2259 * gdb.cp/enum-class.exp
2260 * gdb.cp/exception.exp
2261 * gdb.cp/exceptprint.exp
2262 * gdb.cp/expand-psymtabs-cxx.exp
2263 * gdb.cp/expand-sals.exp
2264 * gdb.cp/extern-c.exp
2265 * gdb.cp/filename.exp
2266 * gdb.cp/formatted-ref.exp
2267 * gdb.cp/fpointer.exp
2268 * gdb.cp/gdb1355.exp
2269 * gdb.cp/gdb2495.exp
2270 * gdb.cp/hang.exp
2271 * gdb.cp/impl-this.exp
2272 * gdb.cp/infcall-dlopen.exp
2273 * gdb.cp/inherit.exp
2274 * gdb.cp/iostream.exp
2275 * gdb.cp/koenig.exp
2276 * gdb.cp/local.exp
2277 * gdb.cp/m-data.exp
2278 * gdb.cp/m-static.exp
2279 * gdb.cp/mb-ctor.exp
2280 * gdb.cp/mb-inline.exp
2281 * gdb.cp/mb-templates.exp
2282 * gdb.cp/member-name.exp
2283 * gdb.cp/member-ptr.exp
2284 * gdb.cp/meth-typedefs.exp
2285 * gdb.cp/method.exp
2286 * gdb.cp/method2.exp
2287 * gdb.cp/minsym-fallback.exp
2288 * gdb.cp/misc.exp
2289 * gdb.cp/namelessclass.exp
2290 * gdb.cp/namespace-enum.exp
2291 * gdb.cp/namespace-nested-import.exp
2292 * gdb.cp/namespace.exp
2293 * gdb.cp/nextoverthrow.exp
2294 * gdb.cp/no-dmgl-verbose.exp
2295 * gdb.cp/non-trivial-retval.exp
2296 * gdb.cp/noparam.exp
2297 * gdb.cp/nsdecl.exp
2298 * gdb.cp/nsimport.exp
2299 * gdb.cp/nsnested.exp
2300 * gdb.cp/nsnoimports.exp
2301 * gdb.cp/nsrecurs.exp
2302 * gdb.cp/nsstress.exp
2303 * gdb.cp/nsusing.exp
2304 * gdb.cp/operator.exp
2305 * gdb.cp/oranking.exp
2306 * gdb.cp/overload-const.exp
2307 * gdb.cp/overload.exp
2308 * gdb.cp/ovldbreak.exp
2309 * gdb.cp/ovsrch.exp
2310 * gdb.cp/paren-type.exp
2311 * gdb.cp/parse-lang.exp
2312 * gdb.cp/pass-by-ref.exp
2313 * gdb.cp/pr-1023.exp
2314 * gdb.cp/pr-1210.exp
2315 * gdb.cp/pr-574.exp
2316 * gdb.cp/pr10687.exp
2317 * gdb.cp/pr12028.exp
2318 * gdb.cp/pr17132.exp
2319 * gdb.cp/pr17494.exp
2320 * gdb.cp/pr9067.exp
2321 * gdb.cp/pr9167.exp
2322 * gdb.cp/pr9631.exp
2323 * gdb.cp/printmethod.exp
2324 * gdb.cp/psmang.exp
2325 * gdb.cp/psymtab-parameter.exp
2326 * gdb.cp/ptype-cv-cp.exp
2327 * gdb.cp/ptype-flags.exp
2328 * gdb.cp/re-set-overloaded.exp
2329 * gdb.cp/ref-types.exp
2330 * gdb.cp/rtti.exp
2331 * gdb.cp/scope-err.exp
2332 * gdb.cp/shadow.exp
2333 * gdb.cp/smartp.exp
2334 * gdb.cp/static-method.exp
2335 * gdb.cp/static-print-quit.exp
2336 * gdb.cp/temargs.exp
2337 * gdb.cp/templates.exp
2338 * gdb.cp/try_catch.exp
2339 * gdb.cp/typedef-operator.exp
2340 * gdb.cp/typeid.exp
2341 * gdb.cp/userdef.exp
2342 * gdb.cp/using-crash.exp
2343 * gdb.cp/var-tag.exp
2344 * gdb.cp/virtbase.exp
2345 * gdb.cp/virtfunc.exp
2346 * gdb.cp/virtfunc2.exp
2347 * gdb.cp/vla-cxx.exp
2348 * gdb.disasm/t01_mov.exp
2349 * gdb.disasm/t02_mova.exp
2350 * gdb.disasm/t03_add.exp
2351 * gdb.disasm/t04_sub.exp
2352 * gdb.disasm/t05_cmp.exp
2353 * gdb.disasm/t06_ari2.exp
2354 * gdb.disasm/t07_ari3.exp
2355 * gdb.disasm/t08_or.exp
2356 * gdb.disasm/t09_xor.exp
2357 * gdb.disasm/t10_and.exp
2358 * gdb.disasm/t11_logs.exp
2359 * gdb.disasm/t12_bit.exp
2360 * gdb.disasm/t13_otr.exp
2361 * gdb.dlang/circular.exp
2362 * gdb.dwarf2/arr-stride.exp
2363 * gdb.dwarf2/arr-subrange.exp
2364 * gdb.dwarf2/atomic-type.exp
2365 * gdb.dwarf2/bad-regnum.exp
2366 * gdb.dwarf2/bitfield-parent-optimized-out.exp
2367 * gdb.dwarf2/callframecfa.exp
2368 * gdb.dwarf2/clztest.exp
2369 * gdb.dwarf2/corrupt.exp
2370 * gdb.dwarf2/data-loc.exp
2371 * gdb.dwarf2/dup-psym.exp
2372 * gdb.dwarf2/dw2-anon-mptr.exp
2373 * gdb.dwarf2/dw2-anonymous-func.exp
2374 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
2375 * gdb.dwarf2/dw2-bad-unresolved.exp
2376 * gdb.dwarf2/dw2-basic.exp
2377 * gdb.dwarf2/dw2-canonicalize-type.exp
2378 * gdb.dwarf2/dw2-case-insensitive.exp
2379 * gdb.dwarf2/dw2-common-block.exp
2380 * gdb.dwarf2/dw2-compdir-oldgcc.exp
2381 * gdb.dwarf2/dw2-compressed.exp
2382 * gdb.dwarf2/dw2-const.exp
2383 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
2384 * gdb.dwarf2/dw2-cu-size.exp
2385 * gdb.dwarf2/dw2-dup-frame.exp
2386 * gdb.dwarf2/dw2-entry-value.exp
2387 * gdb.dwarf2/dw2-icycle.exp
2388 * gdb.dwarf2/dw2-ifort-parameter.exp
2389 * gdb.dwarf2/dw2-inline-break.exp
2390 * gdb.dwarf2/dw2-inline-param.exp
2391 * gdb.dwarf2/dw2-intercu.exp
2392 * gdb.dwarf2/dw2-intermix.exp
2393 * gdb.dwarf2/dw2-lexical-block-bare.exp
2394 * gdb.dwarf2/dw2-linkage-name-trust.exp
2395 * gdb.dwarf2/dw2-minsym-in-cu.exp
2396 * gdb.dwarf2/dw2-noloc.exp
2397 * gdb.dwarf2/dw2-op-call.exp
2398 * gdb.dwarf2/dw2-op-out-param.exp
2399 * gdb.dwarf2/dw2-opt-structptr.exp
2400 * gdb.dwarf2/dw2-param-error.exp
2401 * gdb.dwarf2/dw2-producer.exp
2402 * gdb.dwarf2/dw2-ranges-base.exp
2403 * gdb.dwarf2/dw2-ref-missing-frame.exp
2404 * gdb.dwarf2/dw2-reg-undefined.exp
2405 * gdb.dwarf2/dw2-regno-invalid.exp
2406 * gdb.dwarf2/dw2-restore.exp
2407 * gdb.dwarf2/dw2-restrict.exp
2408 * gdb.dwarf2/dw2-single-line-discriminators.exp
2409 * gdb.dwarf2/dw2-strp.exp
2410 * gdb.dwarf2/dw2-undefined-ret-addr.exp
2411 * gdb.dwarf2/dw2-unresolved.exp
2412 * gdb.dwarf2/dw2-var-zero-addr.exp
2413 * gdb.dwarf2/dw4-sig-types.exp
2414 * gdb.dwarf2/dwz.exp
2415 * gdb.dwarf2/dynarr-ptr.exp
2416 * gdb.dwarf2/enum-type.exp
2417 * gdb.dwarf2/gdb-index.exp
2418 * gdb.dwarf2/implptr-64bit.exp
2419 * gdb.dwarf2/implptr-optimized-out.exp
2420 * gdb.dwarf2/implptr.exp
2421 * gdb.dwarf2/implref-array.exp
2422 * gdb.dwarf2/implref-const.exp
2423 * gdb.dwarf2/implref-global.exp
2424 * gdb.dwarf2/implref-struct.exp
2425 * gdb.dwarf2/mac-fileno.exp
2426 * gdb.dwarf2/main-subprogram.exp
2427 * gdb.dwarf2/member-ptr-forwardref.exp
2428 * gdb.dwarf2/method-ptr.exp
2429 * gdb.dwarf2/missing-sig-type.exp
2430 * gdb.dwarf2/nonvar-access.exp
2431 * gdb.dwarf2/opaque-type-lookup.exp
2432 * gdb.dwarf2/pieces-optimized-out.exp
2433 * gdb.dwarf2/pieces.exp
2434 * gdb.dwarf2/pr10770.exp
2435 * gdb.dwarf2/pr13961.exp
2436 * gdb.dwarf2/staticvirtual.exp
2437 * gdb.dwarf2/subrange.exp
2438 * gdb.dwarf2/symtab-producer.exp
2439 * gdb.dwarf2/trace-crash.exp
2440 * gdb.dwarf2/typeddwarf.exp
2441 * gdb.dwarf2/valop.exp
2442 * gdb.dwarf2/watch-notconst.exp
2443 * gdb.fortran/array-element.exp
2444 * gdb.fortran/charset.exp
2445 * gdb.fortran/common-block.exp
2446 * gdb.fortran/complex.exp
2447 * gdb.fortran/derived-type-function.exp
2448 * gdb.fortran/derived-type.exp
2449 * gdb.fortran/logical.exp
2450 * gdb.fortran/module.exp
2451 * gdb.fortran/multi-dim.exp
2452 * gdb.fortran/nested-funcs.exp
2453 * gdb.fortran/print-formatted.exp
2454 * gdb.fortran/subarray.exp
2455 * gdb.fortran/vla-alloc-assoc.exp
2456 * gdb.fortran/vla-datatypes.exp
2457 * gdb.fortran/vla-history.exp
2458 * gdb.fortran/vla-ptr-info.exp
2459 * gdb.fortran/vla-ptype-sub.exp
2460 * gdb.fortran/vla-ptype.exp
2461 * gdb.fortran/vla-sizeof.exp
2462 * gdb.fortran/vla-type.exp
2463 * gdb.fortran/vla-value-sub-arbitrary.exp
2464 * gdb.fortran/vla-value-sub-finish.exp
2465 * gdb.fortran/vla-value-sub.exp
2466 * gdb.fortran/vla-value.exp
2467 * gdb.fortran/whatis_type.exp
2468 * gdb.go/chan.exp
2469 * gdb.go/handcall.exp
2470 * gdb.go/hello.exp
2471 * gdb.go/integers.exp
2472 * gdb.go/methods.exp
2473 * gdb.go/package.exp
2474 * gdb.go/strings.exp
2475 * gdb.go/types.exp
2476 * gdb.go/unsafe.exp
2477 * gdb.guile/scm-arch.exp
2478 * gdb.guile/scm-block.exp
2479 * gdb.guile/scm-breakpoint.exp
2480 * gdb.guile/scm-cmd.exp
2481 * gdb.guile/scm-disasm.exp
2482 * gdb.guile/scm-equal.exp
2483 * gdb.guile/scm-frame-args.exp
2484 * gdb.guile/scm-frame-inline.exp
2485 * gdb.guile/scm-frame.exp
2486 * gdb.guile/scm-iterator.exp
2487 * gdb.guile/scm-math.exp
2488 * gdb.guile/scm-objfile.exp
2489 * gdb.guile/scm-ports.exp
2490 * gdb.guile/scm-symbol.exp
2491 * gdb.guile/scm-symtab.exp
2492 * gdb.guile/scm-value-cc.exp
2493 * gdb.guile/types-module.exp
2494 * gdb.linespec/break-ask.exp
2495 * gdb.linespec/cpexplicit.exp
2496 * gdb.linespec/explicit.exp
2497 * gdb.linespec/keywords.exp
2498 * gdb.linespec/linespec.exp
2499 * gdb.linespec/ls-dollar.exp
2500 * gdb.linespec/ls-errs.exp
2501 * gdb.linespec/skip-two.exp
2502 * gdb.linespec/thread.exp
2503 * gdb.mi/mi-async.exp
2504 * gdb.mi/mi-basics.exp
2505 * gdb.mi/mi-break.exp
2506 * gdb.mi/mi-catch-load.exp
2507 * gdb.mi/mi-cli.exp
2508 * gdb.mi/mi-cmd-param-changed.exp
2509 * gdb.mi/mi-console.exp
2510 * gdb.mi/mi-detach.exp
2511 * gdb.mi/mi-disassemble.exp
2512 * gdb.mi/mi-eval.exp
2513 * gdb.mi/mi-file-transfer.exp
2514 * gdb.mi/mi-file.exp
2515 * gdb.mi/mi-fill-memory.exp
2516 * gdb.mi/mi-inheritance-syntax-error.exp
2517 * gdb.mi/mi-linespec-err-cp.exp
2518 * gdb.mi/mi-logging.exp
2519 * gdb.mi/mi-memory-changed.exp
2520 * gdb.mi/mi-read-memory.exp
2521 * gdb.mi/mi-record-changed.exp
2522 * gdb.mi/mi-reg-undefined.exp
2523 * gdb.mi/mi-regs.exp
2524 * gdb.mi/mi-return.exp
2525 * gdb.mi/mi-reverse.exp
2526 * gdb.mi/mi-simplerun.exp
2527 * gdb.mi/mi-solib.exp
2528 * gdb.mi/mi-stack.exp
2529 * gdb.mi/mi-stepi.exp
2530 * gdb.mi/mi-syn-frame.exp
2531 * gdb.mi/mi-until.exp
2532 * gdb.mi/mi-var-block.exp
2533 * gdb.mi/mi-var-child.exp
2534 * gdb.mi/mi-var-cmd.exp
2535 * gdb.mi/mi-var-cp.exp
2536 * gdb.mi/mi-var-display.exp
2537 * gdb.mi/mi-var-invalidate.exp
2538 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
2539 * gdb.mi/mi-vla-fortran.exp
2540 * gdb.mi/mi-watch.exp
2541 * gdb.mi/mi2-var-child.exp
2542 * gdb.mi/user-selected-context-sync.exp
2543 * gdb.modula2/unbounded-array.exp
2544 * gdb.multi/dummy-frame-restore.exp
2545 * gdb.multi/multi-arch-exec.exp
2546 * gdb.multi/multi-arch.exp
2547 * gdb.multi/tids.exp
2548 * gdb.multi/watchpoint-multi.exp
2549 * gdb.opencl/callfuncs.exp
2550 * gdb.opencl/convs_casts.exp
2551 * gdb.opencl/datatypes.exp
2552 * gdb.opencl/operators.exp
2553 * gdb.opencl/vec_comps.exp
2554 * gdb.opt/clobbered-registers-O2.exp
2555 * gdb.opt/inline-break.exp
2556 * gdb.opt/inline-bt.exp
2557 * gdb.opt/inline-cmds.exp
2558 * gdb.opt/inline-locals.exp
2559 * gdb.pascal/case-insensitive-symbols.exp
2560 * gdb.pascal/floats.exp
2561 * gdb.pascal/gdb11492.exp
2562 * gdb.python/lib-types.exp
2563 * gdb.python/py-arch.exp
2564 * gdb.python/py-as-string.exp
2565 * gdb.python/py-bad-printers.exp
2566 * gdb.python/py-block.exp
2567 * gdb.python/py-breakpoint-create-fail.exp
2568 * gdb.python/py-breakpoint.exp
2569 * gdb.python/py-caller-is.exp
2570 * gdb.python/py-cmd.exp
2571 * gdb.python/py-explore-cc.exp
2572 * gdb.python/py-explore.exp
2573 * gdb.python/py-finish-breakpoint.exp
2574 * gdb.python/py-finish-breakpoint2.exp
2575 * gdb.python/py-frame-args.exp
2576 * gdb.python/py-frame-inline.exp
2577 * gdb.python/py-frame.exp
2578 * gdb.python/py-framefilter-mi.exp
2579 * gdb.python/py-infthread.exp
2580 * gdb.python/py-lazy-string.exp
2581 * gdb.python/py-linetable.exp
2582 * gdb.python/py-mi-events.exp
2583 * gdb.python/py-mi-objfile.exp
2584 * gdb.python/py-mi.exp
2585 * gdb.python/py-objfile.exp
2586 * gdb.python/py-pp-integral.exp
2587 * gdb.python/py-pp-maint.exp
2588 * gdb.python/py-pp-re-notag.exp
2589 * gdb.python/py-pp-registration.exp
2590 * gdb.python/py-recurse-unwind.exp
2591 * gdb.python/py-strfns.exp
2592 * gdb.python/py-symbol.exp
2593 * gdb.python/py-symtab.exp
2594 * gdb.python/py-sync-interp.exp
2595 * gdb.python/py-typeprint.exp
2596 * gdb.python/py-unwind-maint.exp
2597 * gdb.python/py-unwind.exp
2598 * gdb.python/py-value-cc.exp
2599 * gdb.python/py-xmethods.exp
2600 * gdb.reverse/amd64-tailcall-reverse.exp
2601 * gdb.reverse/break-precsave.exp
2602 * gdb.reverse/break-reverse.exp
2603 * gdb.reverse/consecutive-precsave.exp
2604 * gdb.reverse/consecutive-reverse.exp
2605 * gdb.reverse/finish-precsave.exp
2606 * gdb.reverse/finish-reverse-bkpt.exp
2607 * gdb.reverse/finish-reverse.exp
2608 * gdb.reverse/fstatat-reverse.exp
2609 * gdb.reverse/getresuid-reverse.exp
2610 * gdb.reverse/i386-precsave.exp
2611 * gdb.reverse/i386-reverse.exp
2612 * gdb.reverse/i386-sse-reverse.exp
2613 * gdb.reverse/i387-env-reverse.exp
2614 * gdb.reverse/i387-stack-reverse.exp
2615 * gdb.reverse/insn-reverse.exp
2616 * gdb.reverse/machinestate-precsave.exp
2617 * gdb.reverse/machinestate.exp
2618 * gdb.reverse/next-reverse-bkpt-over-sr.exp
2619 * gdb.reverse/pipe-reverse.exp
2620 * gdb.reverse/readv-reverse.exp
2621 * gdb.reverse/recvmsg-reverse.exp
2622 * gdb.reverse/rerun-prec.exp
2623 * gdb.reverse/s390-mvcle.exp
2624 * gdb.reverse/step-precsave.exp
2625 * gdb.reverse/step-reverse.exp
2626 * gdb.reverse/time-reverse.exp
2627 * gdb.reverse/until-precsave.exp
2628 * gdb.reverse/until-reverse.exp
2629 * gdb.reverse/waitpid-reverse.exp
2630 * gdb.reverse/watch-precsave.exp
2631 * gdb.reverse/watch-reverse.exp
2632 * gdb.rust/generics.exp
2633 * gdb.rust/methods.exp
2634 * gdb.rust/modules.exp
2635 * gdb.rust/simple.exp
2636 * gdb.server/connect-with-no-symbol-file.exp
2637 * gdb.server/ext-attach.exp
2638 * gdb.server/ext-restart.exp
2639 * gdb.server/ext-wrapper.exp
2640 * gdb.server/file-transfer.exp
2641 * gdb.server/server-exec-info.exp
2642 * gdb.server/server-kill.exp
2643 * gdb.server/server-mon.exp
2644 * gdb.server/wrapper.exp
2645 * gdb.stabs/exclfwd.exp
2646 * gdb.stabs/gdb11479.exp
2647 * gdb.threads/clone-new-thread-event.exp
2648 * gdb.threads/corethreads.exp
2649 * gdb.threads/current-lwp-dead.exp
2650 * gdb.threads/dlopen-libpthread.exp
2651 * gdb.threads/gcore-thread.exp
2652 * gdb.threads/sigstep-threads.exp
2653 * gdb.threads/watchpoint-fork.exp
2654 * gdb.trace/actions-changed.exp
2655 * gdb.trace/backtrace.exp
2656 * gdb.trace/change-loc.exp
2657 * gdb.trace/circ.exp
2658 * gdb.trace/collection.exp
2659 * gdb.trace/disconnected-tracing.exp
2660 * gdb.trace/ftrace.exp
2661 * gdb.trace/mi-trace-frame-collected.exp
2662 * gdb.trace/mi-trace-unavailable.exp
2663 * gdb.trace/mi-traceframe-changed.exp
2664 * gdb.trace/mi-tsv-changed.exp
2665 * gdb.trace/no-attach-trace.exp
2666 * gdb.trace/passc-dyn.exp
2667 * gdb.trace/qtro.exp
2668 * gdb.trace/range-stepping.exp
2669 * gdb.trace/read-memory.exp
2670 * gdb.trace/save-trace.exp
2671 * gdb.trace/signal.exp
2672 * gdb.trace/status-stop.exp
2673 * gdb.trace/tfile.exp
2674 * gdb.trace/trace-break.exp
2675 * gdb.trace/trace-buffer-size.exp
2676 * gdb.trace/trace-condition.exp
2677 * gdb.trace/tracefile-pseudo-reg.exp
2678 * gdb.trace/tstatus.exp
2679 * gdb.trace/unavailable.exp
2680 * gdb.trace/while-dyn.exp
2681 * gdb.trace/while-stepping.exp
2682
34c41c68
DE
26832016-12-22 Doug Evans <xdje42@gmail.com>
2684
2685 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
2686 and msymbols.
2687
16e69324
YQ
26882016-12-19 Yao Qi <yao.qi@linaro.org>
2689
2690 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
2691 (test_with_self): Don't call do_steps_and_nexts, and remove
2692 code about stepping into xmalloc.
2693
f94f411b
YQ
26942016-12-09 Yao Qi <yao.qi@linaro.org>
2695
2696 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
2697
26982016-12-09 Yao Qi <yao.qi@linaro.org>
2699
2700 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
2701
f1b5deee
PA
27022016-12-09 Pedro Alves <palves@redhat.com>
2703
2704 * gdb.base/all-architectures-0.exp: New file.
2705 * gdb.base/all-architectures-1.exp: New file.
2706 * gdb.base/all-architectures-2.exp: New file.
2707 * gdb.base/all-architectures-3.exp: New file.
2708 * gdb.base/all-architectures-4.exp: New file.
2709 * gdb.base/all-architectures-5.exp: New file.
2710 * gdb.base/all-architectures-6.exp: New file.
2711 * gdb.base/all-architectures-7.exp: New file.
2712 * gdb.base/all-architectures.exp.in: New file.
2713
364ca42e
YQ
27142016-12-09 Yao Qi <yao.qi@linaro.org>
2715
2716 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
2717
107c2d62
LM
27182016-12-02 Luis Machado <lgustavo@codesourcery.com>
2719
2720 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
2721 possible.
2722 Remove useless pattern-matching code.
2723
df3ee9ca
PA
27242016-12-02 Pedro Alves <palves@redhat.com>
2725
2726 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
2727 procedure.
2728 (top level): Call it.
2729
ec835369
PA
27302016-12-02 Pedro Alves <palves@redhat.com>
2731
2732 * gdb.base/commands.exp (user_defined_command_args_stack_test):
2733 New procedure.
2734 (top level): Call it.
2735
01770bbd
PA
27362016-12-02 Pedro Alves <palves@redhat.com>
2737
2738 PR cli/20559
2739 * gdb.base/commands.exp (user_defined_command_args_eval): New
2740 procedure.
2741 (top level): Call it.
2742
008459ea
LM
27432016-12-02 Luis Machado <lgustavo@codesourcery.com>
2744
2745 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
2746 timeout handling.
2747
0c1b455e
TT
27482016-12-02 Tom Tromey <tom@tromey.com>
2749
2750 * gdb.dwarf2/main-subprogram.c: New file.
2751 * gdb.dwarf2/main-subprogram.exp: New file.
2752
018572b8
LM
27532016-12-01 Luis Machado <lgustavo@codesourcery.com>
2754
2755 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
2756 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
2757 gdb_test_no_output for a couple of cases.
2758 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
2759
84c93cd5
LM
27602016-12-01 Luis Machado <lgustavo@codesourcery.com>
2761
2762 Fix test names and standardize compilation error messages throughout
2763 the following files:
2764
2765 * gdb.ada/start.exp
2766 * gdb.arch/alpha-step.exp
2767 * gdb.arch/e500-prologue.exp
2768 * gdb.arch/ftrace-insn-reloc.exp
2769 * gdb.arch/gdb1291.exp
2770 * gdb.arch/gdb1431.exp
2771 * gdb.arch/gdb1558.exp
2772 * gdb.arch/i386-dr3-watch.exp
2773 * gdb.arch/i386-sse-stack-align.exp
2774 * gdb.arch/ia64-breakpoint-shadow.exp
2775 * gdb.arch/pa-nullify.exp
2776 * gdb.arch/powerpc-aix-prologue.exp
2777 * gdb.arch/thumb-bx-pc.exp
2778 * gdb.base/annota1.exp
2779 * gdb.base/annota3.exp
2780 * gdb.base/arrayidx.exp
2781 * gdb.base/assign.exp
2782 * gdb.base/attach.exp
2783 * gdb.base/auxv.exp
2784 * gdb.base/bang.exp
2785 * gdb.base/bfp-test.exp
2786 * gdb.base/bigcore.exp
2787 * gdb.base/bitfields2.exp
2788 * gdb.base/break-fun-addr.exp
2789 * gdb.base/break-probes.exp
2790 * gdb.base/call-rt-st.exp
2791 * gdb.base/callexit.exp
2792 * gdb.base/catch-fork-kill.exp
2793 * gdb.base/charset.exp
2794 * gdb.base/checkpoint.exp
2795 * gdb.base/comprdebug.exp
2796 * gdb.base/constvars.exp
2797 * gdb.base/coredump-filter.exp
2798 * gdb.base/cursal.exp
2799 * gdb.base/cvexpr.exp
2800 * gdb.base/detach.exp
2801 * gdb.base/display.exp
2802 * gdb.base/dmsym.exp
2803 * gdb.base/dprintf-pending.exp
2804 * gdb.base/dso2dso.exp
2805 * gdb.base/dtrace-probe.exp
2806 * gdb.base/dump.exp
2807 * gdb.base/enum_cond.exp
2808 * gdb.base/exe-lock.exp
2809 * gdb.base/exec-invalid-sysroot.exp
2810 * gdb.base/execl-update-breakpoints.exp
2811 * gdb.base/exprs.exp
2812 * gdb.base/fileio.exp
2813 * gdb.base/find.exp
2814 * gdb.base/finish.exp
2815 * gdb.base/fixsection.exp
2816 * gdb.base/foll-vfork.exp
2817 * gdb.base/frame-args.exp
2818 * gdb.base/gcore.exp
2819 * gdb.base/gdb1250.exp
2820 * gdb.base/global-var-nested-by-dso.exp
2821 * gdb.base/gnu-ifunc.exp
2822 * gdb.base/hashline1.exp
2823 * gdb.base/hashline2.exp
2824 * gdb.base/hashline3.exp
2825 * gdb.base/hbreak-in-shr-unsupported.exp
2826 * gdb.base/huge.exp
2827 * gdb.base/infcall-input.exp
2828 * gdb.base/info-fun.exp
2829 * gdb.base/info-shared.exp
2830 * gdb.base/jit-simple.exp
2831 * gdb.base/jit-so.exp
2832 * gdb.base/jit.exp
2833 * gdb.base/jump.exp
2834 * gdb.base/label.exp
2835 * gdb.base/lineinc.exp
2836 * gdb.base/logical.exp
2837 * gdb.base/longjmp.exp
2838 * gdb.base/macscp.exp
2839 * gdb.base/miscexprs.exp
2840 * gdb.base/new-ui-echo.exp
2841 * gdb.base/new-ui-pending-input.exp
2842 * gdb.base/new-ui.exp
2843 * gdb.base/nodebug.exp
2844 * gdb.base/nofield.exp
2845 * gdb.base/offsets.exp
2846 * gdb.base/overlays.exp
2847 * gdb.base/pending.exp
2848 * gdb.base/pointers.exp
2849 * gdb.base/pr11022.exp
2850 * gdb.base/printcmds.exp
2851 * gdb.base/prologue.exp
2852 * gdb.base/ptr-typedef.exp
2853 * gdb.base/realname-expand.exp
2854 * gdb.base/relativedebug.exp
2855 * gdb.base/relocate.exp
2856 * gdb.base/remote.exp
2857 * gdb.base/reread.exp
2858 * gdb.base/return2.exp
2859 * gdb.base/savedregs.exp
2860 * gdb.base/sep.exp
2861 * gdb.base/sepdebug.exp
2862 * gdb.base/sepsymtab.exp
2863 * gdb.base/set-inferior-tty.exp
2864 * gdb.base/setshow.exp
2865 * gdb.base/shlib-call.exp
2866 * gdb.base/sigaltstack.exp
2867 * gdb.base/siginfo-addr.exp
2868 * gdb.base/signals.exp
2869 * gdb.base/signull.exp
2870 * gdb.base/sigrepeat.exp
2871 * gdb.base/so-impl-ld.exp
2872 * gdb.base/solib-display.exp
2873 * gdb.base/solib-overlap.exp
2874 * gdb.base/solib-search.exp
2875 * gdb.base/solib-symbol.exp
2876 * gdb.base/structs.exp
2877 * gdb.base/structs2.exp
2878 * gdb.base/symtab-search-order.exp
2879 * gdb.base/twice.exp
2880 * gdb.base/unload.exp
2881 * gdb.base/varargs.exp
2882 * gdb.base/watchpoint-solib.exp
2883 * gdb.base/watchpoint.exp
2884 * gdb.base/whatis.exp
2885 * gdb.base/wrong_frame_bt_full.exp
2886 * gdb.btrace/dlopen.exp
2887 * gdb.cell/ea-standalone.exp
2888 * gdb.cell/ea-test.exp
2889 * gdb.cp/dispcxx.exp
2890 * gdb.cp/gdb2384.exp
2891 * gdb.cp/method2.exp
2892 * gdb.cp/nextoverthrow.exp
2893 * gdb.cp/pr10728.exp
2894 * gdb.disasm/am33.exp
2895 * gdb.disasm/h8300s.exp
2896 * gdb.disasm/mn10300.exp
2897 * gdb.disasm/sh3.exp
2898 * gdb.dwarf2/dw2-dir-file-name.exp
2899 * gdb.fortran/complex.exp
2900 * gdb.fortran/library-module.exp
2901 * gdb.guile/scm-pretty-print.exp
2902 * gdb.guile/scm-symbol.exp
2903 * gdb.guile/scm-type.exp
2904 * gdb.guile/scm-value.exp
2905 * gdb.linespec/linespec.exp
2906 * gdb.mi/gdb701.exp
2907 * gdb.mi/gdb792.exp
2908 * gdb.mi/mi-breakpoint-changed.exp
2909 * gdb.mi/mi-dprintf-pending.exp
2910 * gdb.mi/mi-dprintf.exp
2911 * gdb.mi/mi-exit-code.exp
2912 * gdb.mi/mi-pending.exp
2913 * gdb.mi/mi-solib.exp
2914 * gdb.mi/new-ui-mi-sync.exp
2915 * gdb.mi/pr11022.exp
2916 * gdb.mi/user-selected-context-sync.exp
2917 * gdb.opt/solib-intra-step.exp
2918 * gdb.python/py-events.exp
2919 * gdb.python/py-finish-breakpoint.exp
2920 * gdb.python/py-mi.exp
2921 * gdb.python/py-prettyprint.exp
2922 * gdb.python/py-shared.exp
2923 * gdb.python/py-symbol.exp
2924 * gdb.python/py-template.exp
2925 * gdb.python/py-type.exp
2926 * gdb.python/py-value.exp
2927 * gdb.reverse/solib-precsave.exp
2928 * gdb.reverse/solib-reverse.exp
2929 * gdb.server/solib-list.exp
2930 * gdb.stabs/weird.exp
2931 * gdb.threads/reconnect-signal.exp
2932 * gdb.threads/stepi-random-signal.exp
2933 * gdb.trace/actions.exp
2934 * gdb.trace/ax.exp
2935 * gdb.trace/backtrace.exp
2936 * gdb.trace/change-loc.exp
2937 * gdb.trace/deltrace.exp
2938 * gdb.trace/ftrace-lock.exp
2939 * gdb.trace/ftrace.exp
2940 * gdb.trace/infotrace.exp
2941 * gdb.trace/mi-tracepoint-changed.exp
2942 * gdb.trace/packetlen.exp
2943 * gdb.trace/passcount.exp
2944 * gdb.trace/pending.exp
2945 * gdb.trace/range-stepping.exp
2946 * gdb.trace/report.exp
2947 * gdb.trace/stap-trace.exp
2948 * gdb.trace/tfind.exp
2949 * gdb.trace/trace-break.exp
2950 * gdb.trace/trace-condition.exp
2951 * gdb.trace/trace-enable-disable.exp
2952 * gdb.trace/trace-mt.exp
2953 * gdb.trace/tracecmd.exp
2954 * gdb.trace/tspeed.exp
2955 * gdb.trace/tsv.exp
2956 * lib/perftest.exp
2957
fb9feb35
LM
29582016-12-01 Luis Machado <lgustavo@codesourcery.com>
2959
2960 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
2961 with gdb_test_no_output.
2962 Use command as test name.
2963
cd2ddb6c
LM
29642016-12-01 Luis Machado <lgustavo@codesourcery.com>
2965
2966 Fix test names starting with uppercase throughout the files.
2967
2968 * gdb.ada/assign_1.exp
2969 * gdb.ada/boolean_expr.exp
2970 * gdb.base/arrayidx.exp
2971 * gdb.base/del.exp
2972 * gdb.base/gcore-buffer-overflow.exp
2973 * gdb.base/testenv.exp
2974 * gdb.compile/compile.exp
2975 * gdb.python/py-framefilter-invalidarg.exp
2976 * gdb.python/py-framefilter.exp
2977
bb95117e
LM
29782016-12-01 Luis Machado <lgustavo@codesourcery.com>
2979
2980 Fix test names starting with uppercase throughout the files.
2981
2982 * gdb.ada/array_return.exp
2983 * gdb.ada/expr_delims.exp
2984 * gdb.ada/mi_dyn_arr.exp
2985 * gdb.ada/mi_interface.exp
2986 * gdb.ada/mi_var_array.exp
2987 * gdb.ada/watch_arg.exp
2988 * gdb.arch/alpha-step.exp
2989 * gdb.arch/altivec-regs.exp
2990 * gdb.arch/e500-regs.exp
2991 * gdb.arch/powerpc-d128-regs.exp
2992 * gdb.base/arrayidx.exp
2993 * gdb.base/break.exp
2994 * gdb.base/checkpoint.exp
2995 * gdb.base/debug-expr.exp
2996 * gdb.base/dmsym.exp
2997 * gdb.base/radix.exp
2998 * gdb.base/sepdebug.exp
2999 * gdb.base/testenv.exp
3000 * gdb.base/watch_thread_num.exp
3001 * gdb.base/watchpoint-cond-gone.exp
3002 * gdb.cell/break.exp
3003 * gdb.cell/ea-cache.exp
3004 * gdb.compile/compile.exp
3005 * gdb.cp/gdb2495.exp
3006 * gdb.gdb/selftest.exp
3007 * gdb.gdb/xfullpath.exp
3008 * gdb.go/hello.exp
3009 * gdb.go/integers.exp
3010 * gdb.objc/basicclass.exp
3011 * gdb.pascal/hello.exp
3012 * gdb.pascal/integers.exp
3013 * gdb.python/py-breakpoint.exp
3014 * gdb.python/py-cmd.exp
3015 * gdb.python/py-linetable.exp
3016 * gdb.python/py-xmethods.exp
3017 * gdb.python/python.exp
3018 * gdb.reverse/consecutive-precsave.exp
3019 * gdb.reverse/finish-precsave.exp
3020 * gdb.reverse/i386-precsave.exp
3021 * gdb.reverse/machinestate-precsave.exp
3022 * gdb.reverse/sigall-precsave.exp
3023 * gdb.reverse/solib-precsave.exp
3024 * gdb.reverse/step-precsave.exp
3025 * gdb.reverse/until-precsave.exp
3026 * gdb.reverse/watch-precsave.exp
3027 * gdb.threads/leader-exit.exp
3028 * gdb.threads/pthreads.exp
3029 * gdb.threads/wp-replication.exp
3030 * gdb.trace/actions.exp
3031 * gdb.trace/mi-tsv-changed.exp
3032 * gdb.trace/tsv.exp
3033
de97fdd4
LM
30342016-12-01 Luis Machado <lgustavo@codesourcery.com>
3035
3036 Fix test names starting with uppercase throughout the files.
3037
3038 * gdb.arch/i386-bp_permanent.exp
3039 * gdb.arch/i386-gnu-cfi.exp
3040 * gdb.base/disasm-end-cu.exp
3041 * gdb.base/macscp.exp
3042 * gdb.base/pending.exp
3043 * gdb.base/watch_thread_num.exp
3044 * gdb.cp/exception.exp
3045 * gdb.cp/gdb2495.exp
3046 * gdb.cp/local.exp
3047 * gdb.python/py-evsignal.exp
3048 * gdb.python/python.exp
3049 * gdb.trace/tracecmd.exp
3050
9f058c10
LM
30512016-12-01 Luis Machado <lgustavo@codesourcery.com>
3052
3053 Fix test names starting with uppercase throughout the files.
3054
3055 * gdb.base/charset.exp
3056 * gdb.base/eval.exp
3057 * gdb.base/multi-forks.exp
3058 * gdb.guile/scm-progspace.exp
3059 * gdb.opencl/datatypes.exp
3060 * gdb.python/py-block.exp
3061 * gdb.python/py-function.exp
3062 * gdb.python/py-symbol.exp
3063 * gdb.python/py-symtab.exp
3064 * gdb.python/py-xmethods.exp
3065 * gdb.reverse/break-precsave.exp
3066 * gdb.reverse/break-reverse.exp
3067 * gdb.reverse/consecutive-precsave.exp
3068 * gdb.reverse/consecutive-reverse.exp
3069 * gdb.reverse/finish-precsave.exp
3070 * gdb.reverse/finish-reverse-bkpt.exp
3071 * gdb.reverse/finish-reverse.exp
3072 * gdb.reverse/fstatat-reverse.exp
3073 * gdb.reverse/getresuid-reverse.exp
3074 * gdb.reverse/i386-precsave.exp
3075 * gdb.reverse/i386-reverse.exp
3076 * gdb.reverse/i386-sse-reverse.exp
3077 * gdb.reverse/i387-stack-reverse.exp
3078 * gdb.reverse/insn-reverse.exp
3079 * gdb.reverse/machinestate-precsave.exp
3080 * gdb.reverse/machinestate.exp
3081 * gdb.reverse/next-reverse-bkpt-over-sr.exp
3082 * gdb.reverse/pipe-reverse.exp
3083 * gdb.reverse/readv-reverse.exp
3084 * gdb.reverse/recvmsg-reverse.exp
3085 * gdb.reverse/rerun-prec.exp
3086 * gdb.reverse/s390-mvcle.exp
3087 * gdb.reverse/sigall-precsave.exp
3088 * gdb.reverse/sigall-reverse.exp
3089 * gdb.reverse/solib-precsave.exp
3090 * gdb.reverse/solib-reverse.exp
3091 * gdb.reverse/step-precsave.exp
3092 * gdb.reverse/step-reverse.exp
3093 * gdb.reverse/time-reverse.exp
3094 * gdb.reverse/until-precsave.exp
3095 * gdb.reverse/until-reverse.exp
3096 * gdb.reverse/waitpid-reverse.exp
3097 * gdb.reverse/watch-precsave.exp
3098 * gdb.reverse/watch-reverse.exp
3099
cdc7edd7
LM
31002016-12-01 Luis Machado <lgustavo@codesourcery.com>
3101
3102 Fix test names starting with uppercase throughout the files.
3103
3104 * gdb.arch/i386-mpx-simple_segv.exp
3105 * gdb.arch/i386-mpx.exp
3106 * gdb.arch/i386-permbkpt.exp
3107 * gdb.arch/pa-nullify.exp
3108 * gdb.arch/powerpc-d128-regs.exp
3109 * gdb.arch/vsx-regs.exp
3110 * gdb.base/bfp-test.exp
3111 * gdb.base/break.exp
3112 * gdb.base/breakpoint-shadow.exp
3113 * gdb.base/callfuncs.exp
3114 * gdb.base/charset.exp
3115 * gdb.base/commands.exp
3116 * gdb.base/completion.exp
3117 * gdb.base/dfp-test.exp
3118 * gdb.base/echo.exp
3119 * gdb.base/ending-run.exp
3120 * gdb.base/eval.exp
3121 * gdb.base/expand-psymtabs.exp
3122 * gdb.base/float128.exp
3123 * gdb.base/floatn.exp
3124 * gdb.base/foll-exec-mode.exp
3125 * gdb.base/gdb1056.exp
3126 * gdb.base/gdb11531.exp
3127 * gdb.base/kill-after-signal.exp
3128 * gdb.base/multi-forks.exp
3129 * gdb.base/overlays.exp
3130 * gdb.base/pending.exp
3131 * gdb.base/sepdebug.exp
3132 * gdb.base/testenv.exp
3133 * gdb.base/valgrind-db-attach.exp
3134 * gdb.base/watch_thread_num.exp
3135 * gdb.base/watchpoint-cond-gone.exp
3136 * gdb.base/watchpoint.exp
3137 * gdb.base/watchpoints.exp
3138 * gdb.cp/arg-reference.exp
3139 * gdb.cp/baseenum.exp
3140 * gdb.cp/operator.exp
3141 * gdb.cp/shadow.exp
3142 * gdb.dwarf2/dw2-op-out-param.exp
3143 * gdb.dwarf2/dw2-reg-undefined.exp
3144 * gdb.go/chan.exp
3145 * gdb.go/hello.exp
3146 * gdb.go/integers.exp
3147 * gdb.go/methods.exp
3148 * gdb.go/package.exp
3149 * gdb.guile/scm-parameter.exp
3150 * gdb.guile/scm-progspace.exp
3151 * gdb.guile/scm-value.exp
3152 * gdb.mi/mi-pending.exp
3153 * gdb.mi/user-selected-context-sync.exp
3154 * gdb.multi/multi-attach.exp
3155 * gdb.multi/tids.exp
3156 * gdb.opt/clobbered-registers-O2.exp
3157 * gdb.pascal/floats.exp
3158 * gdb.pascal/integers.exp
3159 * gdb.python/py-block.exp
3160 * gdb.python/py-events.exp
3161 * gdb.python/py-parameter.exp
3162 * gdb.python/py-symbol.exp
3163 * gdb.python/py-symtab.exp
3164 * gdb.python/py-type.exp
3165 * gdb.python/py-value.exp
3166 * gdb.python/py-xmethods.exp
3167 * gdb.python/python.exp
3168 * gdb.reverse/break-precsave.exp
3169 * gdb.reverse/consecutive-precsave.exp
3170 * gdb.reverse/finish-precsave.exp
3171 * gdb.reverse/i386-precsave.exp
3172 * gdb.reverse/machinestate-precsave.exp
3173 * gdb.reverse/sigall-precsave.exp
3174 * gdb.reverse/solib-precsave.exp
3175 * gdb.reverse/step-precsave.exp
3176 * gdb.reverse/until-precsave.exp
3177 * gdb.reverse/watch-precsave.exp
3178 * gdb.server/ext-attach.exp
3179 * gdb.server/ext-restart.exp
3180 * gdb.server/ext-run.exp
3181 * gdb.server/ext-wrapper.exp
3182 * gdb.stabs/gdb11479.exp
3183 * gdb.stabs/weird.exp
3184 * gdb.threads/attach-many-short-lived-threads.exp
3185 * gdb.threads/kill.exp
3186 * gdb.threads/watchpoint-fork.exp
3187
bc6c7af4
LM
31882016-12-01 Luis Machado <lgustavo@codesourcery.com>
3189
3190 Fix test names starting with uppercase throughout all the files below.
3191
3192 * gdb.ada/array_return.exp
3193 * gdb.ada/catch_ex.exp
3194 * gdb.ada/info_exc.exp
3195 * gdb.ada/mi_catch_ex.exp
3196 * gdb.ada/mi_dyn_arr.exp
3197 * gdb.ada/mi_ex_cond.exp
3198 * gdb.ada/mi_exc_info.exp
3199 * gdb.ada/mi_interface.exp
3200 * gdb.ada/mi_task_arg.exp
3201 * gdb.ada/mi_task_info.exp
3202 * gdb.ada/mi_var_array.exp
3203 * gdb.arch/alpha-step.exp
3204 * gdb.arch/amd64-disp-step.exp
3205 * gdb.arch/arm-disp-step.exp
3206 * gdb.arch/disp-step-insn-reloc.exp
3207 * gdb.arch/e500-prologue.exp
3208 * gdb.arch/ftrace-insn-reloc.exp
3209 * gdb.arch/gdb1558.exp
3210 * gdb.arch/i386-bp_permanent.exp
3211 * gdb.arch/i386-disp-step.exp
3212 * gdb.arch/i386-float.exp
3213 * gdb.arch/i386-gnu-cfi.exp
3214 * gdb.arch/ia64-breakpoint-shadow.exp
3215 * gdb.arch/mips16-thunks.exp
3216 * gdb.arch/pa-nullify.exp
3217 * gdb.arch/powerpc-aix-prologue.exp
3218 * gdb.arch/powerpc-power.exp
3219 * gdb.arch/ppc-dfp.exp
3220 * gdb.arch/s390-tdbregs.exp
3221 * gdb.arch/spu-info.exp
3222 * gdb.arch/spu-ls.exp
3223 * gdb.arch/thumb-bx-pc.exp
3224 * gdb.base/advance.exp
3225 * gdb.base/annota-input-while-running.exp
3226 * gdb.base/arrayidx.exp
3227 * gdb.base/asmlabel.exp
3228 * gdb.base/async.exp
3229 * gdb.base/attach-wait-input.exp
3230 * gdb.base/auto-connect-native-target.exp
3231 * gdb.base/batch-preserve-term-settings.exp
3232 * gdb.base/bfp-test.exp
3233 * gdb.base/bigcore.exp
3234 * gdb.base/bp-permanent.exp
3235 * gdb.base/break-always.exp
3236 * gdb.base/break-fun-addr.exp
3237 * gdb.base/break-idempotent.exp
3238 * gdb.base/break-main-file-remove-fail.exp
3239 * gdb.base/break-probes.exp
3240 * gdb.base/break-unload-file.exp
3241 * gdb.base/break.exp
3242 * gdb.base/call-ar-st.exp
3243 * gdb.base/call-rt-st.exp
3244 * gdb.base/call-sc.exp
3245 * gdb.base/call-signal-resume.exp
3246 * gdb.base/call-strs.exp
3247 * gdb.base/callexit.exp
3248 * gdb.base/callfuncs.exp
3249 * gdb.base/catch-gdb-caused-signals.exp
3250 * gdb.base/catch-signal-siginfo-cond.exp
3251 * gdb.base/catch-syscall.exp
3252 * gdb.base/compare-sections.exp
3253 * gdb.base/cond-eval-mode.exp
3254 * gdb.base/condbreak-call-false.exp
3255 * gdb.base/consecutive-step-over.exp
3256 * gdb.base/cursal.exp
3257 * gdb.base/disabled-location.exp
3258 * gdb.base/disasm-end-cu.exp
3259 * gdb.base/display.exp
3260 * gdb.base/double-prompt-target-event-error.exp
3261 * gdb.base/dprintf-bp-same-addr.exp
3262 * gdb.base/dprintf-detach.exp
3263 * gdb.base/dprintf-next.exp
3264 * gdb.base/dprintf-non-stop.exp
3265 * gdb.base/dprintf-pending.exp
3266 * gdb.base/dso2dso.exp
3267 * gdb.base/ending-run.exp
3268 * gdb.base/enum_cond.exp
3269 * gdb.base/examine-backward.exp
3270 * gdb.base/exe-lock.exp
3271 * gdb.base/exec-invalid-sysroot.exp
3272 * gdb.base/execl-update-breakpoints.exp
3273 * gdb.base/execution-termios.exp
3274 * gdb.base/fileio.exp
3275 * gdb.base/fixsection.exp
3276 * gdb.base/foll-exec-mode.exp
3277 * gdb.base/foll-exec.exp
3278 * gdb.base/fork-running-state.exp
3279 * gdb.base/frame-args.exp
3280 * gdb.base/fullpath-expand.exp
3281 * gdb.base/func-ptr.exp
3282 * gdb.base/gcore-relro-pie.exp
3283 * gdb.base/gdb1090.exp
3284 * gdb.base/gdb1555.exp
3285 * gdb.base/global-var-nested-by-dso.exp
3286 * gdb.base/gnu-ifunc.exp
3287 * gdb.base/hbreak-in-shr-unsupported.exp
3288 * gdb.base/hbreak-unmapped.exp
3289 * gdb.base/hook-stop.exp
3290 * gdb.base/infcall-input.exp
3291 * gdb.base/info-fun.exp
3292 * gdb.base/info-shared.exp
3293 * gdb.base/interrupt-noterm.exp
3294 * gdb.base/jit-so.exp
3295 * gdb.base/jit.exp
3296 * gdb.base/line-symtabs.exp
3297 * gdb.base/list.exp
3298 * gdb.base/longjmp.exp
3299 * gdb.base/macscp.exp
3300 * gdb.base/max-value-size.exp
3301 * gdb.base/nodebug.exp
3302 * gdb.base/nofield.exp
3303 * gdb.base/overlays.exp
3304 * gdb.base/paginate-after-ctrl-c-running.exp
3305 * gdb.base/paginate-bg-execution.exp
3306 * gdb.base/paginate-inferior-exit.exp
3307 * gdb.base/pending.exp
3308 * gdb.base/pr11022.exp
3309 * gdb.base/printcmds.exp
3310 * gdb.base/ptr-typedef.exp
3311 * gdb.base/ptype.exp
3312 * gdb.base/randomize.exp
3313 * gdb.base/range-stepping.exp
3314 * gdb.base/realname-expand.exp
3315 * gdb.base/relativedebug.exp
3316 * gdb.base/remote.exp
3317 * gdb.base/savedregs.exp
3318 * gdb.base/sepdebug.exp
3319 * gdb.base/set-noassign.exp
3320 * gdb.base/shlib-call.exp
3321 * gdb.base/shreloc.exp
3322 * gdb.base/sigaltstack.exp
3323 * gdb.base/sigbpt.exp
3324 * gdb.base/siginfo-addr.exp
3325 * gdb.base/siginfo-obj.exp
3326 * gdb.base/siginfo-thread.exp
3327 * gdb.base/signest.exp
3328 * gdb.base/signull.exp
3329 * gdb.base/sigrepeat.exp
3330 * gdb.base/skip.exp
3331 * gdb.base/so-impl-ld.exp
3332 * gdb.base/solib-corrupted.exp
3333 * gdb.base/solib-disc.exp
3334 * gdb.base/solib-display.exp
3335 * gdb.base/solib-overlap.exp
3336 * gdb.base/solib-search.exp
3337 * gdb.base/solib-symbol.exp
3338 * gdb.base/source-execution.exp
3339 * gdb.base/sss-bp-on-user-bp-2.exp
3340 * gdb.base/sss-bp-on-user-bp.exp
3341 * gdb.base/stack-checking.exp
3342 * gdb.base/stale-infcall.exp
3343 * gdb.base/step-break.exp
3344 * gdb.base/step-line.exp
3345 * gdb.base/step-over-exit.exp
3346 * gdb.base/step-test.exp
3347 * gdb.base/structs.exp
3348 * gdb.base/sym-file.exp
3349 * gdb.base/symtab-search-order.exp
3350 * gdb.base/term.exp
3351 * gdb.base/type-opaque.exp
3352 * gdb.base/unload.exp
3353 * gdb.base/until-nodebug.exp
3354 * gdb.base/until.exp
3355 * gdb.base/unwindonsignal.exp
3356 * gdb.base/watch-cond.exp
3357 * gdb.base/watch-non-mem.exp
3358 * gdb.base/watch_thread_num.exp
3359 * gdb.base/watchpoint-reuse-slot.exp
3360 * gdb.base/watchpoint-solib.exp
3361 * gdb.base/watchpoint.exp
3362 * gdb.btrace/dlopen.exp
3363 * gdb.cell/arch.exp
3364 * gdb.cell/break.exp
3365 * gdb.cell/bt.exp
3366 * gdb.cell/core.exp
3367 * gdb.cell/data.exp
3368 * gdb.cell/dwarfaddr.exp
3369 * gdb.cell/ea-cache.exp
3370 * gdb.cell/ea-standalone.exp
3371 * gdb.cell/ea-test.exp
3372 * gdb.cell/f-regs.exp
3373 * gdb.cell/fork.exp
3374 * gdb.cell/gcore.exp
3375 * gdb.cell/mem-access.exp
3376 * gdb.cell/ptype.exp
3377 * gdb.cell/registers.exp
3378 * gdb.cell/sizeof.exp
3379 * gdb.cell/solib-symbol.exp
3380 * gdb.cell/solib.exp
3381 * gdb.compile/compile-tls.exp
3382 * gdb.cp/exception.exp
3383 * gdb.cp/gdb2495.exp
3384 * gdb.cp/local.exp
3385 * gdb.cp/mb-inline.exp
3386 * gdb.cp/mb-templates.exp
3387 * gdb.cp/pr10687.exp
3388 * gdb.cp/pr9167.exp
3389 * gdb.cp/scope-err.exp
3390 * gdb.cp/templates.exp
3391 * gdb.cp/virtfunc.exp
3392 * gdb.dwarf2/dw2-dir-file-name.exp
3393 * gdb.dwarf2/dw2-single-line-discriminators.exp
3394 * gdb.fortran/complex.exp
3395 * gdb.fortran/library-module.exp
3396 * gdb.guile/guile.exp
3397 * gdb.guile/scm-cmd.exp
3398 * gdb.guile/scm-frame-inline.exp
3399 * gdb.guile/scm-objfile.exp
3400 * gdb.guile/scm-pretty-print.exp
3401 * gdb.guile/scm-symbol.exp
3402 * gdb.guile/scm-type.exp
3403 * gdb.guile/scm-value.exp
3404 * gdb.linespec/keywords.exp
3405 * gdb.linespec/ls-errs.exp
3406 * gdb.linespec/macro-relative.exp
3407 * gdb.linespec/thread.exp
3408 * gdb.mi/mi-breakpoint-changed.exp
3409 * gdb.mi/mi-dprintf-pending.exp
3410 * gdb.mi/mi-fullname-deleted.exp
3411 * gdb.mi/mi-logging.exp
3412 * gdb.mi/mi-pending.exp
3413 * gdb.mi/mi-solib.exp
3414 * gdb.mi/new-ui-mi-sync.exp
3415 * gdb.mi/user-selected-context-sync.exp
3416 * gdb.multi/dummy-frame-restore.exp
3417 * gdb.multi/multi-arch-exec.exp
3418 * gdb.multi/remove-inferiors.exp
3419 * gdb.multi/watchpoint-multi-exit.exp
3420 * gdb.opt/solib-intra-step.exp
3421 * gdb.perf/backtrace.exp
3422 * gdb.perf/single-step.exp
3423 * gdb.perf/skip-command.exp
3424 * gdb.perf/skip-prologue.exp
3425 * gdb.perf/solib.exp
3426 * gdb.python/lib-types.exp
3427 * gdb.python/py-as-string.exp
3428 * gdb.python/py-bad-printers.exp
3429 * gdb.python/py-block.exp
3430 * gdb.python/py-breakpoint.exp
3431 * gdb.python/py-cmd.exp
3432 * gdb.python/py-events.exp
3433 * gdb.python/py-evthreads.exp
3434 * gdb.python/py-finish-breakpoint.exp
3435 * gdb.python/py-finish-breakpoint2.exp
3436 * gdb.python/py-frame-inline.exp
3437 * gdb.python/py-frame.exp
3438 * gdb.python/py-inferior.exp
3439 * gdb.python/py-infthread.exp
3440 * gdb.python/py-mi.exp
3441 * gdb.python/py-objfile.exp
3442 * gdb.python/py-pp-maint.exp
3443 * gdb.python/py-pp-registration.exp
3444 * gdb.python/py-prettyprint.exp
3445 * gdb.python/py-recurse-unwind.exp
3446 * gdb.python/py-shared.exp
3447 * gdb.python/py-symbol.exp
3448 * gdb.python/py-symtab.exp
3449 * gdb.python/py-template.exp
3450 * gdb.python/py-type.exp
3451 * gdb.python/py-unwind-maint.exp
3452 * gdb.python/py-unwind.exp
3453 * gdb.python/py-value.exp
3454 * gdb.python/python.exp
3455 * gdb.reverse/finish-reverse-bkpt.exp
3456 * gdb.reverse/insn-reverse.exp
3457 * gdb.reverse/next-reverse-bkpt-over-sr.exp
3458 * gdb.reverse/solib-precsave.exp
3459 * gdb.reverse/solib-reverse.exp
3460 * gdb.stabs/gdb11479.exp
3461 * gdb.stabs/weird.exp
3462 * gdb.threads/fork-child-threads.exp
3463 * gdb.threads/fork-plus-threads.exp
3464 * gdb.threads/fork-thread-pending.exp
3465 * gdb.threads/forking-threads-plus-breakpoint.exp
3466 * gdb.threads/hand-call-in-threads.exp
3467 * gdb.threads/interrupted-hand-call.exp
3468 * gdb.threads/linux-dp.exp
3469 * gdb.threads/local-watch-wrong-thread.exp
3470 * gdb.threads/next-while-other-thread-longjmps.exp
3471 * gdb.threads/non-ldr-exit.exp
3472 * gdb.threads/pending-step.exp
3473 * gdb.threads/print-threads.exp
3474 * gdb.threads/process-dies-while-detaching.exp
3475 * gdb.threads/process-dies-while-handling-bp.exp
3476 * gdb.threads/pthreads.exp
3477 * gdb.threads/queue-signal.exp
3478 * gdb.threads/reconnect-signal.exp
3479 * gdb.threads/signal-command-handle-nopass.exp
3480 * gdb.threads/signal-command-multiple-signals-pending.exp
3481 * gdb.threads/signal-delivered-right-thread.exp
3482 * gdb.threads/signal-sigtrap.exp
3483 * gdb.threads/sigthread.exp
3484 * gdb.threads/staticthreads.exp
3485 * gdb.threads/stepi-random-signal.exp
3486 * gdb.threads/thread-unwindonsignal.exp
3487 * gdb.threads/thread_check.exp
3488 * gdb.threads/thread_events.exp
3489 * gdb.threads/tid-reuse.exp
3490 * gdb.threads/tls-nodebug.exp
3491 * gdb.threads/tls-shared.exp
3492 * gdb.threads/tls-so_extern.exp
3493 * gdb.threads/tls.exp
3494 * gdb.threads/wp-replication.exp
3495 * gdb.trace/actions-changed.exp
3496 * gdb.trace/actions.exp
3497 * gdb.trace/backtrace.exp
3498 * gdb.trace/change-loc.exp
3499 * gdb.trace/collection.exp
3500 * gdb.trace/deltrace.exp
3501 * gdb.trace/disconnected-tracing.exp
3502 * gdb.trace/entry-values.exp
3503 * gdb.trace/ftrace-lock.exp
3504 * gdb.trace/ftrace.exp
3505 * gdb.trace/infotrace.exp
3506 * gdb.trace/mi-trace-frame-collected.exp
3507 * gdb.trace/mi-trace-unavailable.exp
3508 * gdb.trace/mi-traceframe-changed.exp
3509 * gdb.trace/mi-tracepoint-changed.exp
3510 * gdb.trace/mi-tsv-changed.exp
3511 * gdb.trace/no-attach-trace.exp
3512 * gdb.trace/packetlen.exp
3513 * gdb.trace/passc-dyn.exp
3514 * gdb.trace/passcount.exp
3515 * gdb.trace/pending.exp
3516 * gdb.trace/pr16508.exp
3517 * gdb.trace/qtro.exp
3518 * gdb.trace/range-stepping.exp
3519 * gdb.trace/read-memory.exp
3520 * gdb.trace/report.exp
3521 * gdb.trace/save-trace.exp
3522 * gdb.trace/signal.exp
3523 * gdb.trace/stap-trace.exp
3524 * gdb.trace/status-stop.exp
3525 * gdb.trace/strace.exp
3526 * gdb.trace/tfile.exp
3527 * gdb.trace/tfind.exp
3528 * gdb.trace/trace-break.exp
3529 * gdb.trace/trace-condition.exp
3530 * gdb.trace/trace-enable-disable.exp
3531 * gdb.trace/trace-mt.exp
3532 * gdb.trace/tracecmd.exp
3533 * gdb.trace/tracefile-pseudo-reg.exp
3534 * gdb.trace/tspeed.exp
3535 * gdb.trace/tstatus.exp
3536 * gdb.trace/tsv.exp
3537 * gdb.trace/unavailable.exp
3538 * gdb.trace/while-dyn.exp
3539 * gdb.trace/while-stepping.exp
3540 * lib/gdb-guile.exp
3541 * lib/gdb.exp
3542 * lib/mi-support.exp
3543 * lib/pascal.exp
3544 * lib/perftest.exp
3545 * lib/prelink-support.exp
3546 * lib/selftest-support.exp
3547
ad02e4fe
SM
35482016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
3549
3550 * Makefile.in: Include disable-implicit-rules.mk.
3551
22347e55
AA
35522016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3553
3554 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
3555 non-byte-aligned bit fields.
3556
da5b30da
AA
35572016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3558
3559 PR gdb/12616
3560 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
3561 respects the DW_AT_data_bit_offset attribute.
3562
b593ecca
SM
35632016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
3564
3565 * gdb.base/default.exp: Fix output of "set language".
3566
3b165252
SM
35672016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
3568
3569 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
3570 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
3571 make.
3572 * configure.ac: Remove checks for the make program.
3573 * configure: Re-generate.
3574
1a2f3d7f
KB
35752016-11-16 Kevin Buettner <kevinb@redhat.com>
3576
3577 * gdb.python/py-recurse-unwind.c (main): Add loop.
3578 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
3579 to read_register() and gdb.parse_and_eval(). Make each code
3580 call a separate case that can be individually tested.
3581 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
3582 proc. Call cont_and_backtrace for each of the code paths that
3583 we want to test in the unwinder.
3584
b7f38fda
AA
35852016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
3586
3587 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
3588 the definition of struct S.
3589
1f8db343
CM
35902016-11-11 Catherine Moore <clm@codesourcery.com>
3591
3592 * gdb.base/dump.exp: Identify verilog format dump tests as such.
3593
fad0c9fb
PA
35942016-11-09 Pedro Alves <palves@redhat.com>
3595
3596 * gdb.base/commands.exp (runto_or_return): New procedure.
3597 (gdbvar_simple_if_test, gdbvar_simple_while_test)
3598 (gdbvar_complex_if_while_test, progvar_simple_if_test)
3599 (progvar_simple_while_test, progvar_complex_if_while_test)
3600 (if_while_breakpoint_command_test)
3601 (infrun_breakpoint_command_test, breakpoint_command_test)
3602 (user_defined_command_test, watchpoint_command_test)
3603 (test_command_prompt_position, redefine_hook_test)
3604 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
3605 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
3606 multi_line_input and multi_line. Remove gdb_expect and
3607 gdb_stop_suppressing_tests uses.
3608 * lib/gdb.exp (valnum_re): New global.
3609 (multi_line_input): New procedure.
3610
8354c62c
SM
36112016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
3612
3613 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
3614 Remove.
3615 (test_setup): Define with proc_with_prefix.
3616 (test_cli_inferior): Likewise.
3617 (test_cli_thread): Likewise.
3618 (test_cli_frame): Likewise.
3619 (test_cli_select_frame): Likewise.
3620 (test_cli_up_down): Likewise.
3621 (test_mi_thread_select): Likewise.
3622 (test_mi_stack_select_frame): Likewise.
3623 (test_cli_in_mi_inferior): Likewise.
3624 (test_cli_in_mi_thread): Likewise.
3625 (test_cli_in_mi_frame): Likewise.
3626 (top level): Do not use with_test_prefix_procname.
3627
64f367a2
PA
36282016-11-09 Pedro Alves <palves@redhat.com>
3629
3630 * gdb.base/commands.exp (gdbvar_simple_if_test)
3631 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
3632 (progvar_simple_if_test, progvar_simple_while_test)
3633 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
3634 (infrun_breakpoint_command_test, breakpoint_command_test)
3635 (user_defined_command_test, watchpoint_command_test)
3636 (test_command_prompt_position, deprecated_command_test)
3637 (bp_deleted_in_command, temporary_breakpoint_commands)
3638 (stray_arg0_test, source_file_with_indented_comment)
3639 (recursive_source_test, if_commands_test)
3640 (error_clears_commands_left, redefine_hook_test)
3641 (redefine_backtrace_test): Use proc_with_prefix.
3642 * lib/gdb.exp (proc_with_prefix): New proc.
3643
0bb65f1e
AA
36442016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
3645
3646 * gdb.base/tui-layout.c: New file.
3647 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
3648 disassembly window contains very long lines.
3649
7353f247
TT
36502016-11-08 Tom Tromey <tom@tromey.com>
3651
3652 * gdb.python/py-value.exp (test_value_creation): Make "long" test
3653 depend on Python 2.
3654
30a7bb83
TT
36552016-11-08 Tom Tromey <tom@tromey.com>
3656
3657 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
3658 New method.
3659
cdf5a07c
MG
36602016-10-29 Manish Goregaokar <manish@mozilla.com>
3661
2806dc7e 3662 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 3663
51a789c3
MG
36642016-10-27 Manish Goregaokar <manish@mozilla.com>
3665
2806dc7e
PA
3666 * gdb.rust/simple.rs: Add test for univariant enums without
3667 discriminants and for encoded struct-like enums.
51a789c3 3668
f610ab6d
PA
36692016-10-28 Pedro Alves <palves@redhat.com>
3670
3671 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
3672 gdb_test_multiple, tighten regexps and match symtabs and line
3673 tables incrementally.
3674
b129b0ca
LM
36752016-10-28 Luis Machado <lgustavo@codesourcery.com>
3676
3677 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
3678 general.
3679
ecf45d2c
SL
36802016-10-25 Luis Machado <lgustavo@codesourcery.com>
3681
3682 * gdb.base/exec-invalid-sysroot.exp: New file.
3683
b8d38ee4
JK
36842016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3685
3686 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
3687
f90fd8c2
JK
36882016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3689
3690 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
3691
2d2476aa
MR
36922016-10-19 Maciej W. Rozycki <macro@imgtec.com>
3693
2806dc7e
PA
3694 * gdb.base/killed-outside.exp: Remove $options from a call to
3695 `prepare_for_testing'.
2d2476aa 3696
e42b25a0
SM
36972016-10-17 Simon Marchi <simon.marchi@ericsson.com>
3698
3699 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
3700 Change test message.
3701
3ccdb432
SM
37022016-10-17 Simon Marchi <simon.marchi@ericsson.com>
3703
3704 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
3705 Update comment.
3706
5bad3170
SM
37072016-10-17 Simon Marchi <simon.marchi@ericsson.com>
3708
3709 * gdb.trace/mi-trace-save.exp: New file.
3710
5ad9dba7
YQ
37112016-10-13 Yao Qi <yao.qi@linaro.org>
3712
3713 * gdb.base/code_elim.exp (get_var_address): Remove.
3714 * gdb.base/relocate.exp: Likewise.
3715 * gdb.base/shreloc.exp: Likewise.
3716 * lib/gdb.exp (get_var_address): New.
3717
62df7e21
YQ
37182016-10-13 Yao Qi <yao.qi@linaro.org>
3719
3720 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
3721 floating point tests if $skip_float_test is false.
3722
4dac951e
LM
37232016-10-12 Luis Machado <lgustavo@codesourcery.com>
3724
3725 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
3726 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
3727 argc values.
3728 Add 1 to argc so we guarantee distinct initial/modified argc values.
3729
8f1a8fc4
JK
37302016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3731
3732 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
3733
16c85b5d
JK
37342016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3735
3736 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
3737 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
3738 * gdb.arch/vsx-regs.exp: Likewise.
3739
1d0e042a
YQ
37402016-10-07 Yao Qi <yao.qi@linaro.org>
3741
3742 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
3743
68dadef5
MM
37442016-10-07 Markus Metzger <markus.t.metzger@intel.com>
3745
3746 * gdb.python/python.exp: Test decode_line("*0").
3747
33fa2c6e
DE
37482016-10-06 Doug Evans <dje@google.com>
3749
3750 * gdb.python/py-value.exp (test_value_creation): Add test for large
3751 unsigned 64-bit value.
3752
9c37b5ae
TT
37532016-10-06 Tom Tromey <tom@tromey.com>
3754
3755 * gdb.compile/compile.exp: Change java tests to rust.
3756 * gdb.base/setshow.exp: Change java tests to rust.
3757 * gdb.base/default.exp: Remove java from language list.
3758 * README (Examples): Update language example.
3759 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
3760 test.
3761 * lib/gdb.exp (skip_java_tests): Remove.
3762 * lib/java.exp: Remove.
3763 * gdb.java: Remove.
3764
78b86327
MR
37652016-10-06 Maciej W. Rozycki <macro@imgtec.com>
3766
3767 * gdb.arch/mips-fcr.exp: New test.
3768 * gdb.arch/mips-fcr.c: Source for the new test.
3769
7470adbb
MR
37702016-10-06 Maciej W. Rozycki <macro@imgtec.com>
3771
3772 * gdb.base/solib-disc.exp: Use `standard_output_file'
3773 throughout.
3774
4a556533
PA
37752016-10-06 Pedro Alves <palves@redhat.com>
3776
3777 * gdb.base/jit-simple-dl.c: New file.
3778 * gdb.base/jit-simple-jit.c: New file, factored out from ...
3779 * gdb.base/jit-simple.c: ... this.
3780 * gdb.base/jit-simple.exp (jit_run): Delete.
3781 (build_jit): New proc.
3782 (jit_test_reread): Recompile either the main program or the shared
3783 library, depending on what is being tested. Skip changing address
3784 if caller wants to. Compare before/after addresses. If testing
3785 standalone, explicitly load the binary. Test "maint info
3786 breakpoints".
3787 (top level): Add "standalone vs shared lib" and "change address"
3788 vs "same address" axes.
3789
5a122fbc
PA
37902016-10-06 Pedro Alves <palves@redhat.com>
3791
3792 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
3793 call.
3794 (jit_run): Delete.
3795 (jit_test_reread): Use with_test_prefix. Reload the main binary
3796 explicitly. Compare the before/after addresses of the JIT
3797 descriptor.
3798
ee8da4b8
DE
37992016-08-15 Doug Evans <dje@google.com>
3800
3801 * gdb.xml/extra-regs.xml: Update, end field now required, default type
3802 for single bitfields is bool.
3803 * gdb.xml/tdesc-regs.exp: Ditto.
3804
f389f6fe
JK
38052016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3806
3807 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
3808
fdebf1a4
YQ
38092016-10-05 Yao Qi <yao.qi@linaro.org>
3810
3811 * lib/gdb.exp (support_complex_tests): Return zero if
3812 gdb_skip_float_test return true.
3813
9c36d954 38142016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 3815 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
3816
3817 PR gdb/20487
3818 * gdb.mi/user-selected-context-sync.exp: New file.
3819 * gdb.mi/user-selected-context-sync.c: New file.
3820
4034d0ff 38212016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 3822 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
3823
3824 PR gdb/20487
3825 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
3826 =thread-select-event check.
3827
a4297203
PB
38282016-09-29 Peter Bergner <bergner@vnet.ibm.com>
3829
3830 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
3831 the compulsory L operand changes.
3832 * gdb.arch/powerpc-power.s: Likewise.
3833
bb805577
JK
38342016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3835
3836 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
3837 * gdb.base/jit-attach-pie.c: New file.
3838 * gdb.base/jit-attach-pie.exp: New file.
3839
6d61dee5
PA
38402016-09-28 Pedro Alves <palves@redhat.com>
3841
3842 * gdb.base/infcall-input.c: New file.
3843 * gdb.base/infcall-input.exp: New file.
3844
f73842fc
YQ
38452016-09-22 Yao Qi <yao.qi@linaro.org>
3846
3847 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
3848 (gdb_exit): Rename it to ...
3849 (gdbserver_gdb_exit): ... Close GDBserver.
3850 (gdb_exit): New proc, call gdbserver_gdb_exit.
3851 (mi_gdb_exit): Likewise.
3852
90681dab
YQ
38532016-09-22 Yao Qi <yao.qi@linaro.org>
3854
3855 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
3856 path.
3857 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
3858 Remove duplication.
3859
9c211fd8
YQ
38602016-09-22 Yao Qi <yao.qi@linaro.org>
3861
3862 * lib/gdbserver-support.exp: Check the existence of
3863 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
3864
ad0a504f
AK
38652016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
3866
3867 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
3868
36cf1806
TT
38692016-09-21 Tom Tromey <tom@tromey.com>
3870
3871 PR gdb/20604:
3872 * gdb.base/quit.exp: New file.
3873
74172ecf
SM
38742016-09-21 Simon Marchi <simon.marchi@ericsson.com>
3875
3876 * .gitignore: New file.
3877
3d0ec882
MR
38782016-09-21 Maciej W. Rozycki <macro@imgtec.com>
3879
3880 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
3881 throughout.
3882
8193adea
AA
38832016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3884
3885 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
3886
d41a5c09
JK
38872016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3888
3889 * gdb.cp/casts.cc (decltype): Move it ...
3890 (main): ... with its call to ...
3891 * gdb.cp/casts03.cc: ... a new file.
3892 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
3893
d2dfe700
JK
38942016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3895
3896 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
3897
e2a92b16
PB
38982016-09-15 Peter Bergner <bergner@vnet.ibm.com>
3899
3900 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
3901 and sync up the test with tests in gas/testsuite/gas/ppc.
3902 * gdb.arch/powerpc-power.exp: Likewise.
3903
49b4de64
JK
39042016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3905
3906 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
3907
2c29df25
SDJ
39082016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
3909 Jan Kratochvil <jan.kratochvil@redhat.com>
3910
3911 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
3912 make m1's definition to be different from m2's. Use 'dummy' as an
3913 argument for probe 'two'.
3914
cc3c2846
JB
39152016-09-10 Jon Beniston <jon@beniston.com>
3916
3917 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
3918 for sim target.
3919
e1b2624a
AA
39202016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
3921
3922 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
3923 variable declaration.
3924 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
3925 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
3926 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
3927 received HWCAP as its argument.
3928
4295e285
PA
39292016-09-06 Pedro Alves <palves@redhat.com>
3930
3931 * gdb.base/new-ui-pending-input.c: New file.
3932 * gdb.base/new-ui-pending-input.exp: New file.
3933 * gdb.exp (clear_gdb_spawn_id): New procedure.
3934 (with_spawn_id): Check whether gdb_spawn_id exists before
3935 referencing it. If gdb_spawn_id didn't exist on entry, clear it
3936 on exit.
3937
00d5215e
UW
39382016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
3939
3940 * gdb.base/float128.c: New file.
3941 * gdb.base/float128.exp: Likewise.
3942 * gdb.base/floatn.c: Likewise.
3943 * gdb.base/floatn.exp: Likewise.
3944
a9ff5f12
UW
39452016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
3946
3947 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
3948
f245535c
PA
39492016-09-05 Pedro Alves <palves@redhat.com>
3950
3951 PR backtrace/19927
3952 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
3953 unwinders are immediately called as side effect of "source" or
3954 "disable unwinder" commands.
3955 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
3956
ae9cf263
YQ
39572016-09-02 Yao Qi <yao.qi@linaro.org>
3958
3959 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
3960 is true and $type is "float" or "double".
3961
27aba047
YQ
39622016-09-02 Yao Qi <yao.qi@linaro.org>
3963
3964 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
3965 true.
3966 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
3967 * gdb.base/call-rt-st.exp: Likewise.
3968 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
3969 return value instead of gdb,skip_float_test.
3970 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
3971 (do_function_calls): Use its return value instead of
3972 gdb,skip_float_test.
3973 * gdb.base/finish.exp: Likewise.
3974 * gdb.base/funcargs.exp: Likewise.
3975 * gdb.base/return.exp: Likewise.
3976 * gdb.base/return2.exp: Likewise.
3977 * gdb.base/varargs.exp: Likewise.
3978 * lib/gdb.exp (gdb_skip_float_test): Change it to
3979 gdb_caching_proc. Detect the broken ptrace on arm-linux.
3980
5af962df
AA
39812016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
3982
3983 * gdb.multi/tids.exp: Test "thread apply all".
3984
7fac6910
JK
39852016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3986
3987 * gdb.base/default.exp (tty): Remove.
3988
bb1fe4ac
KB
39892016-08-24 Kevin Buettner <kevinb@redhat.com>
3990
2806dc7e
PA
3991 * gdb.python/py-recurse-unwind.c: New file.
3992 * gdb.python/py-recurse-unwind.py: New file.
3993 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 3994
0a1ddfa6
SM
39952016-08-24 Simon Marchi <simon.marchi@ericsson.com>
3996
3997 * gdb.base/set-inferior-tty.exp: New file.
3998 * gdb.base/set-inferior-tty.c: New file.
3999
d9de1fe3
PA
40002016-08-23 Pedro Alves <palves@redhat.com>
4001
4002 PR gdb/20494
4003 * gdb.base/new-ui-echo.c: New file.
4004 * gdb.base/new-ui-echo.exp: New file.
4005
e9d9abd7
YQ
40062016-08-23 Yao Qi <yao.qi@linaro.org>
4007
4008 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
4009 gdbserver_spawn.
4010 * gdb.server/connect-without-multi-process.exp (do_test):
4011 Likewise.
4012
3589529e
YQ
40132016-08-23 Yao Qi <yao.qi@linaro.org>
4014
4015 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
4016 standalone_txt. Delete gdb_txt and standalone_txt on host
4017 and target. Spawn the binary on target. Copy files from
4018 target to host.
4019
6bb90213
PA
40202016-08-22 Pedro Alves <palves@redhat.com>
4021
4022 PR gdb/20505
4023 * gdb.base/vdso-warning.exp: Test core dumps too. Use
4024 with_test_prefix. Factor out bits to ...
4025 (test_no_vdso): ... this new procedure.
4026
20c2c024
CL
40272016-08-19 Carl Love <cel@us.ibm.com>
4028
4029 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
4030 maintaining separate logic for constructing the output path.
4031 * gdb.arch/powerpc-d128-regs.exp: Likewise.
4032 * gdb.arch/ppc-dfp.exp: Likewise.
4033 * gdb.arch/ppc-fp.exp: Likewise.
4034 * gdb.arch/vsx-regs.exp: Likewise.
4035 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
4036 binprefix for generating the additional binary files.
4037
0646e07d
PA
40382016-08-19 Pedro Alves <palves@redhat.com>
4039
4040 * gdb.trace/mi-trace-frame-collected.exp
4041 (test_trace_frame_collected): On x32, expect two registers.
4042
46da9242
CL
40432016-08-18 Carl Love <cel@us.ibm.com>
4044
4045 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
4046 and sync up the test with tests in gas/testsuite/gas/ppc.
4047 * gdb.arch/powerpc-power.exp: Likewise.
4048
eb2332d7
SM
40492016-08-17 Simon Marchi <simon.marchi@ericsson.com>
4050
4051 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
4052 expected error message.
4053
63c61e04
SM
40542016-08-17 Simon Marchi <simon.marchi@ericsson.com>
4055
4056 * gdb.multi/remove-inferiors.exp: New file.
4057 * gdb.multi/remove-inferiors.c: New file.
4058
7b17065f
YQ
40592016-08-12 Yao Qi <yao.qi@linaro.org>
4060
4061 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
4062 argument list.
4063
01d3dedf
PA
40642016-08-10 Pedro Alves <palves@redhat.com>
4065
4066 PR gdb/19187
4067 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
4068 setup_kfails.
4069
3eb7562a
PA
40702016-08-09 Pedro Alves <palves@redhat.com>
4071 Simon Marchi <simon.marchi@ericsson.com>
4072
4073 PR gdb/20418
4074 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
4075 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
4076
80614914
PA
40772016-08-09 Pedro Alves <palves@redhat.com>
4078
4079 PR mi/20431
4080 * gdb.mi/mi-cmd-error.exp: New file.
4081
f348d89a
PA
40822016-08-09 Pedro Alves <palves@redhat.com>
4083
4084 PR gdb/18653
4085 * gdb.base/signals-state-child.c: New file.
4086 * gdb.base/signals-state-child.exp: New file.
4087 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
4088
e5ca03b4
PA
40892016-08-09 Pedro Alves <palves@redhat.com>
4090
4091 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
4092
282a0691
TT
40932016-08-03 Tom Tromey <tom@tromey.com>
4094
4095 PR python/18565:
4096 * gdb.python/py-frame-inline.exp: Add Frame.function test.
4097
41bfcd63
YQ
40982016-08-01 Yao Qi <yao.qi@linaro.org>
4099
4100 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
4101 variable mode to "multi-process" if $multi_process is 1, otherwise
4102 set it to "single-process".
4103
e3465b24
YQ
41042016-08-01 Yao Qi <yao.qi@linaro.org>
4105
4106 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
4107 * gdb.cp/cpexprs.exp: Likewise.
4108 * gdb.cp/m-static.exp: Likewise.
4109
0b31a4bc
TT
41102016-07-26 Tom Tromey <tom@tromey.com>
4111
4112 PR python/20190:
4113 * gdb.threads/tls.exp (check_thread_local): Add python symbol
4114 test.
4115
e0461dbb
MM
41162016-07-26 Markus Metzger <markus.t.metzger@intel.com>
4117
4118 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
4119 selecting assembly source files.
4120 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
4121 assembly source files.
4122 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
4123 assembly source files.
4124 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
4125 selecting assembly source files.
4126
8194e927
SM
41272016-07-25 Simon Marchi <simon.marchi@ericsson.com>
4128
4129 * gdb.base/new-ui.exp (do_test_invalid_args): New
4130 procedure.
4131
c0272db5
TW
41322016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
4133
4134 * gdb.btrace/reconnect.c: New file.
4135 * gdb.btrace/reconnect.exp: New file.
4136
e3487908
GKB
41372016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
4138
4139 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
4140 to test_catch_syscall_group.
4141 (test_catch_syscall_group): New.
4142
12df5c00
TT
41432016-07-21 Tom Tromey <tom@tromey.com>
4144
4145 * gdb.rust/simple.rs (main): Use empty struct expression.
4146 * gdb.rust/simple.exp: Add tests for empty struct expression.
4147
bae62ee2
YQ
41482016-07-21 Yao Qi <yao.qi@linaro.org>
4149
4150 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
4151 if gdb_skip_xml_test is true on some targets.
4152
b1b53fb3
YQ
41532016-07-21 Yao Qi <yao.qi@linaro.org>
4154
4155 * gdb.server/solib-list.exp: Unset last_loaded_file.
4156
027d97f8
JK
41572016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4158
4159 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
4160 "step into captured_main (args)".
4161
7674d381
JK
41622016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4163
4164 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
4165
72b5d099
JK
41662016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4167
4168 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
4169
1f960ced
PA
41702016-07-19 Pedro Alves <palves@redhat.com>
4171
4172 * gdb.opt/inline-break.exp: Remove optimize=-O2.
4173 * gdb.opt/inline-bt.exp: Likewise.
4174 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
4175 additional_flags=-Winline.
4176 * gdb.opt/inline-locals.exp: Likewise.
4177 * gdb.opt/inline-markers.c (ATTR): Define.
4178 (inlined_fn): Use it.
4179
f25827c1
YQ
41802016-07-19 Yao Qi <yao.qi@linaro.org>
4181
4182 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
4183 (test_with_self): Remove some code. Remove argument executable.
4184 (top-level): Use do_self_tests.
4185
37539ebe
DB
41862016-07-15 Zachary Welch <zwelch@codesourcery.com>
4187 Don Breazeal <donb@codesourcery.com>
4188
4189 * gdb.base/maint.exp: Escape paths used in regular expressions.
4190 * gdb.stabs/weird.exp: Likewise.
4191
dac790e1
TT
41922016-07-13 Tom Tromey <tom@tromey.com>
4193
4194 PR python/15620, PR python/18620:
4195 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
4196 (test_bkpt_events): New procs.
4197
93daf339
TT
41982016-07-13 Tom Tromey <tom@tromey.com>
4199
4200 PR python/17698:
4201 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
4202 test.
4203 (test_watchpoints): Likewise.
4204 (test_bkpt_pending): New proc.
4205
6571a381
TT
42062016-07-13 Tom Tromey <tom@tromey.com>
4207
4208 PR cli/18053:
4209 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
4210 completion test.
4211
e8732474
JK
42122016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4213
4214 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
4215 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
4216 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
4217 f_label.
4218 (g): Rename g_end_lbl to g_label.
4219 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
4220 low_pc and high_pc.
4221 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
4222
e0f3fd7c
TT
42232016-07-12 Tom Tromey <tom@tromey.com>
4224
4225 PR python/19293:
4226 * gdb.python/py-unwind-maint.exp: Update tests.
4227
3cfe46b6
YQ
42282016-07-12 Yao Qi <yao.qi@linaro.org>
4229
4230 * lib/selftest-support.exp (selftest_setup): Match the output
4231 when captured_main is inlined.
4232
4f19a0e6
WT
42332016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4234
4235 * gdb.fortran/derived-types.exp (result_line, result_line_2):
4236 New variables.
4237 (print this%a, print this%b, print this): New tests.
4238 * gdb.fortran/derived-types.f90 (this): New object and
4239 initialization.
4240
986cf455
SM
42412016-07-06 Simon Marchi <simon.marchi@ericsson.com>
4242
4243 * gdb.ada/arraydim.exp: Remove extra directory level in build
4244 directory.
4245
f0464b23
SM
42462016-07-06 Simon Marchi <simon.marchi@ericsson.com>
4247
4248 * lib/ada.exp: Remove extra directory level in build directory.
4249 * gdb.ada/cond_lang.exp: Likewise.
4250 * gdb.ada/exec_changed.exp: Likewise.
4251 * gdb.ada/lang_switch.exp: Likewise.
4252
42d94011
MG
42532016-07-06 Manish Goregaokar <manish@mozilla.com>
4254
2806dc7e
PA
4255 * simple.rs: Add test for raw pointer subscripting.
4256 * simple.exp: Add test expectations.
42d94011 4257
647c264c
YQ
42582016-07-05 Yao Qi <yao.qi@linaro.org>
4259
4260 * gdb.mi/mi-reverse.exp: Match =record-started output.
4261
20aa2c60
PA
42622016-07-01 Pedro Alves <palves@redhat.com>
4263
4264 * gdb.base/jit-reader.exp (info_registers_current_frame): New
4265 procedure.
4266 (jit_reader_test): Test the jit reader's unwinder.
4267 * gdb.base/jithost.c (jit_function_00_code): New global.
4268 (main): Use memcpy to fill in the mmapped code, instead of poking
4269 bytes manually here.
4270 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
4271 value.
4272 (read_debug_info): Save the function's range.
4273 (read_sp): New function.
4274 (unwind_frame): Use it. Also unwind RBP.
4275 (get_frame_id): Use read_sp.
4276 (gdb_init_reader): Use calloc instead of malloc.
4277 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
4278 parameter. Use gdb_test_multiple.
4279
ced2dffb
PA
42802016-07-01 Pedro Alves <palves@redhat.com>
4281 Antoine Tremblay <antoine.tremblay@ericsson.com>
4282
4283 * gdb.threads/process-dies-while-detaching.c: New file.
4284 * gdb.threads/process-dies-while-detaching.exp: New file.
4285
63000888
PA
42862016-07-01 Pedro Alves <palves@redhat.com>
4287
4288 * gdb.multi/watchpoint-multi-exit.c: New file.
4289 * gdb.multi/watchpoint-multi-exit.exp: New file.
4290
038d4868
PA
42912016-06-30 Pedro Alves <palves@redhat.com>
4292
4293 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
4294 unset inferior_spawn_id.
4295
994e9c83
PA
42962016-06-30 Pedro Alves <palves@redhat.com>
4297
4298 * lib/mi-support.exp (default_mi_gdb_start): Declare global
4299 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
4300
e5653468
YQ
43012016-06-29 Yao Qi <yao.qi@linaro.org>
4302
4303 * gdb.base/return.c: Add copyright header.
4304
803b47e5
TT
43052016-06-29 Tom Tromey <tom@tromey.com>
4306
4307 PR python/20129:
4308 * gdb.python/py-framefilter.exp: Add tests for setting priority
4309 and disabling of non-existent frame filter.
4310
28244707
YQ
43112016-06-29 Yao Qi <yao.qi@linaro.org>
4312
4313 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
4314 0x0f07ff.
4315
a31d2f06
YQ
43162016-06-28 Yao Qi <yao.qi@linaro.org>
4317
4318 * gdb.base/catch-syscall.exp: Remove check on isnative and target
4319 triplets. Start gdb, execute catch syscall, and continue. Check
4320 gdb's output to determine catch syscall is supported.
4321
921d8f54
MG
43222016-06-27 Manish Goregaokar <manish@mozilla.com>
4323
25d49b86
PA
4324 * gdb.rust/simple.rs: Add test for returning unit in a function.
4325 * gdb.rust/simple.exp: Add expectation for functions returning
4326 unit.
921d8f54 4327
f4952523
PMR
43282016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
4329
4330 * gdb.python/py-breakpoint-create-fail.c,
4331 gdb.python/py-breakpoint-create-fail.exp,
4332 gdb.python/py-breakpoint-create-fail.py: New testcase.
4333
fccb08f8
MG
43342016-06-25 Manish Goregaokar <manish@mozilla.com>
4335
4336 PR gdb/20239
4337 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
4338 * gdb.rust/simple.exp: Add test expectations for new NonZero
4339 tests.
fccb08f8 4340
6b850546
DT
43412016-06-24 David Taylor <dtaylor@emc.com>
4342
4343 * gdb.base/offsets.exp: New file.
4344 * gdb.base/offsets.c: New file.
4345
17621150
TT
43462016-06-23 Tom Tromey <tom@tromey.com>
4347
4348 PR gdb/16483:
4349 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
4350 before any filters are loaded.
4351
04d59df6
WT
43522016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
4353
4354 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
4355 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
4356 structs.
4357 * gdb.fortran/derived-type-function.exp: New file.
4358 * gdb.fortran/derived-type-function.f90: New file.
4359
4360
ac69f786
PA
43612016-06-21 Pedro Alves <palves@redhat.com>
4362
4363 * gdb.base/new-ui.exp: New file.
4364 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
4365 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
4366 (with_spawn_id): New procedure.
4367
49940788
PA
43682016-06-21 Pedro Alves <palves@redhat.com>
4369
4370 * gdb.mi/mi-exec-run.exp: New file.
4371
ef274d26
PA
43722016-06-21 Pedro Alves <palves@redhat.com>
4373
4374 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
4375 breakpoint command's output on the main UI.
4376 (test_break): New procedure, factored out from calls in the top
4377 level.
4378 (top level): Use foreach_with_prefix to test MI as main UI and as
4379 separate UI.
4380
468afe6c
PA
43812016-06-21 Pedro Alves <palves@redhat.com>
4382
4383 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
4384 (test_awatch_creation_and_listing)
4385 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
4386 Remove 'type' parameter.
4387 (test_watchpoint_all): New parameter mi_mode. Remove
4388 with_test_prefix.
4389 (top level): Use foreach_with_prefix, and add main/separate UI MI
4390 testing axis.
4391
51f77c37
PA
43922016-06-21 Pedro Alves <palves@redhat.com>
4393
4394 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
4395 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
4396 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
4397 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
4398 (gdb_main_spawn_id, mi_spawn_id): Declare and
4399 comment.
4400 (mi_create_inferior_pty): New procedure,
4401 factored out from default_mi_gdb_start.
4402 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
4403 procedures.
4404 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
4405 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
4406 Use mi_create_inferior_pty.
4407 (mi_gdb_start): Use eval to pass down args list.
4408
8980e177
PA
44092016-06-21 Pedro Alves <palves@redhat.com>
4410
4411 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
4412 * gdb.opt/inline-cmds.exp: Add MI tests.
4413
f38d3ad1
PA
44142016-06-21 Pedro Alves <palves@redhat.com>
4415
4416 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
4417
45db7c09
PA
44182016-06-21 Pedro Alves <palves@redhat.com>
4419
4420 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
4421 (top level): Use it instead of mi_execute_to.
4422
5a069ab3
PA
44232016-06-21 Pedro Alves <palves@redhat.com>
4424
4425 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
4426 (cont_handler_str): New.
4427 (signal_stop_handler): Set stop_handler_str instead of printing to
4428 stdout.
4429 (continue_handler): Set cont_handler_str instead of printing to
4430 stdout.
4431 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
4432 mi_send_resuming_command. Print stop_handler_str and
4433 cont_handler_str instead of expecting the python events print
4434 directly.
4435
2838cc1d
SD
44362016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
4437
4438 * gdb.base/jit-reader.exp: New file.
4439 * gdb.base/jithost.c: New file.
4440 * gdb.base/jithost.h: New file.
4441 * gdb.base/jitreader.c : New file.
4442 * gdb.base/jit-protocol.h: New file.
4443
21a77091
YQ
44442016-06-17 Yao Qi <yao.qi@linaro.org>
4445
4446 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
4447 parameters follow_fork and detach_on_fork. Set follow-fork-mode
4448 and detach-on-fork. Adjust tests.
4449 (top level): Invoke break_cond_on_syscall with combinations of
4450 syscall, follow-fork-mode and detach-on-fork.
4451
f50bf8e5
YQ
44522016-06-17 Yao Qi <yao.qi@linaro.org>
4453
4454 * gdb.base/step-over-exit.c: New.
4455 * gdb.base/step-over-exit.exp: New.
4456
a28d8e50
YTL
44572016-06-17 Yan-Ting Lin <currygt52@gmail.com>
4458
4459 * gdb.base/float.exp: Add target check for nds32*-*-*.
4460 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
4461
cad8e26d
AB
44622016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
4463
4464 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
4465 for unsupported target features.
4466 * gdb.base/call-rt-st.exp: Likewise.
4467 * gdb.base/call-sc.exp: Likewise.
4468 * gdb.base/call-signal-resume.exp: Likewise.
4469 * gdb.base/call-strs.exp: Likewise.
4470 * gdb.base/callexit.exp: Likewise.
4471 * gdb.base/callfuncs.exp: Likewise.
4472 * gdb.base/nodebug.exp: Likewise.
4473 * gdb.base/printcmds.exp: Likewise.
4474 * gdb.base/ptype.exp: Likewise.
4475 * gdb.base/structs.exp: Likewise.
4476 * gdb.base/unwindonsignal.exp: Likewise.
4477 * gdb.cp/gdb2495.exp: Likewise.
4478 * gdb.cp/templates.exp: Likewise.
4479 * gdb.cp/virtfunc.exp: Likewise.
4480 * gdb.threads/hand-call-in-threads.exp: Likewise.
4481 * gdb.threads/interrupted-hand-call.exp: Likewise.
4482 * gdb.threads/thread-unwindonsignal.exp: Likewise.
4483
347dc102
TT
44842016-06-10 Tom Tromey <tom@tromey.com>
4485
4486 PR rust/20110:
4487 * gdb.rust/expr.exp: Add test for integer constant larger than
4488 i32.
4489
5e13cf25
BH
44902016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
4491
4492 * gdb.fortran/nested-funcs.exp: New.
4493 * gdb.fortran/nested-funcs.f90: New.
4494
bb556f1f
TK
44952016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
4496
4497 * gdb.base/examine-backward.c: New file.
4498 * gdb.base/examine-backward.exp: New file.
4499
38b022b4
SM
45002016-06-06 Simon Marchi <simon.marchi@ericsson.com>
4501
4502 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
4503 matching.
4504
1b40ec05
TT
45052016-06-02 Tom Tromey <tom@tromey.com>
4506
4507 PR python/18984:
4508 * gdb.python/py-shared.exp: Add solib_name test.
4509
193bd378
SM
45102016-06-02 Simon Marchi <simon.marchi@ericsson.com>
4511
4512 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
4513
3326303b
MG
45142016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
4515
4516 PR c++/19893
4517 * gdb.dwarf2/implref.exp: Rename to...
4518 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
4519 * gdb.dwarf2/implref-array.c: New file.
4520 * gdb.dwarf2/implref-array.exp: Likewise.
4521 * gdb.dwarf2/implref-global.c: Likewise.
4522 * gdb.dwarf2/implref-global.exp: Likewise.
4523 * gdb.dwarf2/implref-struct.c: Likewise.
4524 * gdb.dwarf2/implref-struct.exp: Likewise.
4525
825c8ef2
AT
45262016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
4527
4528 * gdb.trace/trace-condition.exp: Add 64bit tests.
4529
2320162a
AT
45302016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
4531
4532 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
4533 bits types.
4534 (main): Adapt to 8 to 64 bits types.
4535 * gdb.trace/trace-condition.exp: Add new tests.
4536
a7818233
AT
45372016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
4538
4539 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
4540
0d336466
AT
45412016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
4542
4543 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
4544 Move condition tests...
4545 * gdb.trace/trace-condition.exp: Here.
4546
7faeb45a
AT
45472016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
4548
4549 * gdb.trace/trace-condition.exp: Add counter-case tests.
4550
e385593e
JK
45512016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4552
4553 PR c++/15231
4554 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
4555 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
4556
744608cc
PA
45572016-05-27 Pedro Alves <palves@redhat.com>
4558
4559 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
4560 New procedure.
4561 (top level): Call it, and bail out of DejaGnu is known to be bad.
4562
ac775bf4
AB
45632016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
4564
4565 * gdb.base/whatis.c: Extend the test case.
4566 * gdb.base/whatis.exp: Add additional tests.
4567
2bbad2ea
BH
45682016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
4569
4570* gdb.fortran/type.f90: Add pointer variable.
4571* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
4572
8b70175d
BH
45732016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
4574
4575 * gdb.fortran/vla-type.exp: Fix testcase name.
4576
86d8a848
BH
45772016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
4578
4579 * gdb.fortran/vla-type.exp: Access elements in nested structs.
4580
e188eb36
BH
45812016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
4582
4583 * gdb.fortran/type.f90: Add nested structures.
4584 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
4585 * gdb.fortran/derived-type.exp: Adapt expected output.
4586 * gdb.fortran/vla-type.exp: Adapt expected output.
4587
9b2db1fd
BH
45882016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
4589
4590 * gdb.fortran/whatis_type.exp: Adapt expected output.
4591
72b17055
BH
45922016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
4593
4594 * gdb.fortran/print_type.exp: Fix expected output.
4595 * gdb.fortran/whatis_type.exp: Fix expected output.
4596
3cd81d8d
BH
45972016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
4598
4599 * gdb.fortran/whatis_type.exp: Use multi_line.
4600
ddae9462
TT
46012016-05-24 Tom Tromey <tom@tromey.com>
4602
4603 PR python/17386:
4604 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
4605 use value as an index.
4606
1957f6b8
TT
46072016-05-23 Tom Tromey <tom@tromey.com>
4608
4609 PR python/17981:
4610 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
4611 no-breakpoint case.
4612
026a9174
PA
46132016-05-24 Pedro Alves <palves@redhat.com>
4614
4615 PR gdb/19828
4616 * gdb.threads/clone-attach-detach.c: New file.
4617 * gdb.threads/clone-attach-detach.exp: New file.
4618
e70a7231
FR
46192016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
4620
4621 * gdb.base/annota-input-while-running.exp: Fix syntax error.
4622
0f6ed0e0
TT
46232016-05-23 Tom Tromey <tom@tromey.com>
4624
4625 PR python/19438, PR python/18393:
4626 * gdb.python/py-progspace.exp: Add "dir" test.
4627 * gdb.python/py-objfile.exp: Add "dir" test.
4628
ffd19d61
YQ
46292016-05-23 Yao Qi <yao.qi@linaro.org>
4630
4631 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
4632 * gdb.arch/thumb2-it.exp: Likewise.
4633
9e8f9b05
SM
46342016-05-18 Simon Marchi <simon.marchi@ericsson.com>
4635
4636 * gdb.mi/mi-threads-interrupt.c: New file.
4637 * gdb.mi/mi-threads-interrupt.exp: New file.
4638
61c6156d
SM
46392016-05-17 Simon Marchi <simon.marchi@ericsson.com>
4640
4641 PR gdb/18077
4642 * gdb.mi/mi-async-run.exp: New file.
4643 * gdb.mi/mi-async-run.c: New file.
4644
67218854
TT
46452016-05-17 Tom Tromey <tom@tromey.com>
4646 Manish Goregaokar <manishsmail@gmail.com>
4647
4648 * lib/rust-support.exp: New file.
4649 * lib/gdb.exp (skip_rust_tests): New proc.
4650 (build_executable_from_specs): Handle rust.
4651 * lib/future.exp (gdb_find_rustc): New proc.
4652 (gdb_default_target_compile): Handle rust.
4653 * gdb.rust/expr.exp: New file.
4654 * gdb.rust/generics.exp: New file.
4655 * gdb.rust/generics.rs: New file.
4656 * gdb.rust/methods.exp: New file.
4657 * gdb.rust/methods.rs: New file.
4658 * gdb.rust/modules.exp: New file.
4659 * gdb.rust/modules.rs: New file.
4660 * gdb.rust/simple.exp: New file.
4661 * gdb.rust/simple.rs: New file.
4662
c44af4eb
TT
46632016-05-17 Tom Tromey <tom@tromey.com>
4664
4665 * gdb.base/default.exp (set language): Add rust.
4666
dcd1f979
TT
46672016-05-17 Tom Tromey <tom@tromey.com>
4668
4669 * gdb.gdb/unittest.exp: New file.
4670
155b7f57
YQ
46712016-05-16 Yao Qi <yao.qi@linaro.org>
4672
4673 * gdb.base/batch-preserve-term-settings.exp: Remove variable
4674 shell_prompt. Update shell_prompt_re.
4675
8ddd5a6c
DE
46762016-05-12 Doug Evans <dje@google.com>
4677
4678 PR symtab/19999
4679 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
4680 $options when building executable.
4681 * gdb.dwarf2/fission-loclists-pie.S: New file.
4682 * gdb.dwarf2/fission-loclists-pie.exp: New file.
4683
02e370d9
SM
46842016-05-04 Simon Marchi <simon.marchi@ericsson.com>
4685
4686 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
4687 of [is_remote target],
4688
8929ad8b
SM
46892016-05-04 Simon Marchi <simon.marchi@ericsson.com>
4690
4691 * lib/gdb.exp (use_gdb_stub): New procedure.
4692
6c447423
DE
46932016-05-03 Yunlian Jiang <yunlian@google.com>
4694 Doug Evans <dje@google.com>
4695
4696 PR symtab/19914
4697 * gdb.dwarf2/dwp-sepdebug.c: New file.
4698 * gdb.dwarf2/dwp-sepdebug.exp: New file.
4699
444e826c
SM
47002016-05-02 Simon Marchi <simon.marchi@ericsson.com>
4701
4702 * gdb.base/detach.exp: Remove is_remote check.
4703
740feeaa
SM
47042016-05-02 Simon Marchi <simon.marchi@ericsson.com>
4705
4706 * gdb.base/annota-input-while-running.exp: Don't check for
4707 [is_remote target]. Enable annotations after running to main.
4708 Remove unused "set test..." line.
4709
9080ac9d
SM
47102016-04-28 Simon Marchi <simon.marchi@ericsson.com>
4711
4712 * gdb.trace/trace-enable-disable.exp: New file.
4713 * gdb.trace/trace-enable-disable.c: New file.
4714
952ebca5
SM
47152016-04-28 Simon Marchi <simon.marchi@ericsson.com>
4716
4717 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
4718 use it in info sharedlibrary test.
4719 * gdb.trace/ftrace-lock.exp: Likewise.
4720 * gdb.trace/ftrace.exp: Likewise.
4721 * gdb.trace/range-stepping.exp: Likewise.
4722 * gdb.trace/trace-break.exp: Likewise.
4723 * gdb.trace/trace-condition.exp: Likewise.
4724 * gdb.trace/trace-mt.exp: Likewise.
4725
d9019901
SM
47262016-04-27 Simon Marchi <simon.marchi@ericsson.com>
4727
4728 * lib/gdb.exp (gdb_load_shlibs): Rename to...
4729 (gdb_load_shlib): ... this.
4730 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
4731 gdb_load_shlib.
4732 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
4733 * gdb.base/ctxobj.exp: Likewise.
4734 * gdb.base/dprintf-pending.exp: Likewise.
4735 * gdb.base/dso2dso.exp: Likewise.
4736 * gdb.base/fixsection.exp: Likewise.
4737 * gdb.base/gcore-relro.exp: Likewise.
4738 * gdb.base/gdb1555.exp: Likewise.
4739 * gdb.base/global-var-nested-by-dso.exp: Likewise.
4740 * gdb.base/gnu-ifunc.exp: Likewise.
4741 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
4742 * gdb.base/jit-so.exp (one_jit_test): Likewise.
4743 * gdb.base/pending.exp: Likewise.
4744 * gdb.base/print-file-var.exp: Likewise.
4745 * gdb.base/print-symbol-loading.exp: Likewise.
4746 * gdb.base/shlib-call.exp: Likewise.
4747 * gdb.base/shreloc.exp: Likewise.
4748 * gdb.base/so-impl-ld.exp: Likewise.
4749 * gdb.base/solib-disc.exp: Likewise.
4750 * gdb.base/solib-nodir.exp: Likewise.
4751 * gdb.base/solib-overlap.exp: Likewise.
4752 * gdb.base/solib-symbol.exp: Likewise.
4753 * gdb.base/solib-weak.exp (do_test): Likewise.
4754 * gdb.base/sym-file.exp: Likewise.
4755 * gdb.base/symtab-search-order.exp: Likewise.
4756 * gdb.base/type-opaque.exp: Likewise.
4757 * gdb.base/unload.exp: Likewise.
4758 * gdb.base/watchpoint-solib.exp: Likewise.
4759 * gdb.compile/compile.exp: Likewise.
4760 * gdb.cp/gdb2384.exp: Likewise.
4761 * gdb.cp/infcall-dlopen.exp: Likewise.
4762 * gdb.cp/re-set-overloaded.exp: Likewise.
4763 * gdb.fortran/library-module.exp: Likewise.
4764 * gdb.opt/solib-intra-step.exp: Likewise.
4765 * gdb.python/py-finish-breakpoint.exp: Likewise.
4766 * gdb.python/py-shared.exp: Likewise.
4767 * gdb.reverse/solib-precsave.exp: Likewise.
4768 * gdb.reverse/solib-reverse.exp: Likewise.
4769 * gdb.server/solib-list.exp: Likewise.
4770 * gdb.threads/dlopen-libpthread.exp: Likewise.
4771 * gdb.threads/tls-shared.exp: Likewise.
4772 * gdb.threads/tls-so_extern.exp: Likewise.
4773 * gdb.trace/change-loc.exp: Likewise.
4774 * gdb.trace/ftrace-lock.exp: Likewise.
4775 * gdb.trace/ftrace.exp: Likewise.
4776 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
4777 * gdb.trace/pending.exp: Likewise.
4778 * gdb.trace/range-stepping.exp: Likewise.
4779 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
4780 (strace_info_marker): Likewise.
4781 (strace_probe_marker): Likewise.
4782 (strace_trace_on_same_addr): Likewise.
4783 (strace_trace_on_diff_addr): Likewise.
4784 * gdb.trace/trace-break.exp: Likewise.
4785 * gdb.trace/trace-condition.exp: Likewise.
4786 * gdb.trace/trace-mt.exp: Likewise.
4787
fca4cfd9
SM
47882016-04-27 Simon Marchi <simon.marchi@ericsson.com>
4789
4790 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
4791 result of gdb_remote_download.
4792 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
4793 * gdb.base/dso2dso.exp: Likewise.
4794 * gdb.base/global-var-nested-by-dso.exp: Likewise.
4795 * gdb.base/print-file-var.exp: Likewise.
4796 * gdb.base/shlib-call.exp: Likewise.
4797 * gdb.base/shreloc.exp: Likewise.
4798 * gdb.base/solib-overlap.exp: Likewise.
4799 * gdb.base/solib-weak.exp (do_test): Likewise.
4800 * gdb.base/unload.exp: Likewise.
4801
11cf4ffb
YQ
48022016-04-27 Yao Qi <yao.qi@linaro.org>
4803
4804 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
4805 exists.
4806
3e2e34f8
KB
48072016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
4808
4809 * vla-type.exp: Print structure from toplevel.
4810
8f07e298
BH
48112016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
4812
4813 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
4814 of dynamic types.
4815 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
4816 of dynamic types.
4817
9920b434
BH
48182016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
4819
4820 * gdb.fortran/vla-type.f90: New file.
4821 * gdb.fortran/vla-type.exp: New file.
4822
f3abeff5
YQ
48232016-04-25 Yao Qi <yao.qi@linaro.org>
4824
4825 * gdb.base/branch-to-self.c: New file.
4826 * gdb.base/branch-to-self.exp: New file.
4827
0a5d52f0
YQ
48282016-04-22 Yao Qi <yao.qi@linaro.org>
4829
4830 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
4831 more after $hex.
4832
495346f6
YQ
48332016-04-22 Yao Qi <yao.qi@linaro.org>
4834
4835 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
4836 * gdb.base/annota3.exp: Likewise.
4837
4a7e075c
YQ
48382016-04-22 Yao Qi <yao.qi@linaro.org>
4839
4840 * gdb.reverse/step-precsave.exp: Do one step and test program
4841 stops in "callee" and do multiple steps until program goes out
4842 of "callee".
4843 * gdb.reverse/step-reverse.exp: Likewise.
4844
5b061e98
YQ
48452016-04-22 Yao Qi <yao.qi@linaro.org>
4846
4847 * gdb.trace/signal.exp: Also pass if
4848 $tracepoint_hits($i) > $iterations.
4849
5c5dc57f
YQ
48502016-04-22 Yao Qi <yao.qi@linaro.org>
4851
4852 * gdb.trace/signal.c: New file.
4853 * gdb.trace/signal.exp: New file.
4854
a55411b9
DE
48552016-04-19 Doug Evans <xdje42@gmail.com>
4856
4857 * gdb.base/bad-file.exp: New file.
4858
a22df60a
MG
48592016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
4860
4861 * gdb.dwarf2/implref.exp: New file.
4862
0c13f7e5
BH
48632016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
4864
4865 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
4866 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
4867 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
4868 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
4869 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
4870 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
4871 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
4872 * lib/fortran.exp (fortran_int4): New procedure.
4873 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
4874 (fortran_logical4): Likewise.
4875
9b9b09e9
BH
48762016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
4877
4878 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
4879
a14d1f4d
BH
48802016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
4881
4882 * lib/compiler.c: Add Intel specific preprocessor macros.
4883 * lib/compiler.cc: Likewise.
25d49b86 4884
7d49b1d0
LM
48852016-04-13 Luis Machado <lgustavo@codesourcery.com>
4886
4887 * gdb.server/connect-with-no-symbol-file.c: New file.
4888 * gdb.server/connect-with-no-symbol-file.exp: New file.
4889
8392fa22
SM
48902016-04-13 Simon Marchi <simon.marchi@ericsson.com>
4891
4892 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
4893
8c4c4aeb
SM
48942016-04-13 Simon Marchi <simon.marchi@ericsson.com>
4895
4896 * boards/gdbserver-base.exp (${board}_download): Copy source file to
4897 standard output directory.
4898
45e3745e
AT
48992016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
4900
4901 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
4902
e26b7e41
MM
49032016-04-13 Markus Metzger <markus.t.metzger@intel.com>
4904
4905 * gdb.btrace/instruction_history.c (loop): Add declaration.
4906
8ce09462
AT
49072016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
4908
4909 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
4910
2e88a1ea
SM
49112016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
4912
4913 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
4914 parentheses to print.
4915 (continue_handler): Likewise.
4916
f48e22e3
SM
49172016-04-08 Simon Marchi <simon.marchi@ericsson.com>
4918
4919 * gdb.server/solib-list.exp: Remove is_remote check.
4920 Pass shlib= to gdb_compile. Don't link shared library with
4921 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
4922 Run binary filename through "readlink -f" on the target.
4923
096be756
PA
49242016-04-08 Pedro Alves <palves@redhat.com>
4925
4926 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
4927 interpreter filename as argument to gdbserver_spawn.
4928 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
4929 Return empty if $last_loaded_file does not exist.
4930
06500533
JK
49312016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4932
4933 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
4934 * gdb.base/jit-main.c: Use exit after usage.
4935
2d35e871
JK
49362016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4937
4938 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
4939 GDBHISTSIZE prior to the tests.
4940 * gdb.base/gdbinit-history.exp: Likewise.
4941
49422016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
4943
4944 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
4945 instead of build_executable. Use gdb_load_shlibs.
4946
c8064e7e
YQ
49472016-04-07 Yao Qi <yao.qi@linaro.org>
4948
4949 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
4950 Execute "si" command.
4951
bde47561
YQ
49522016-04-07 Yao Qi <yao.qi@linaro.org>
4953
4954 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
4955 number instead of the comments on some line.
4956
b16f8a3b
DB
49572016-04-06 Don Breazeal <donb@codesourcery.com>
4958
4959 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
4960 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
4961
c2f901df
SM
49622016-04-06 Simon Marchi <simon.marchi@ericsson.com>
4963
4964 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
4965 standard_output_file. Remove unused binfile variable.
4966
ac17fda0
CU
49672016-04-05 Catalin Udma <catalin.udma@freescale.com>
4968
4969 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
4970 * gdb.python/py-mi-objfile.exp: Match "list main" output
4971 in console format.
4972
03a8c4df
SM
49732016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
4974
4975 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
4976 absolute.
4977
6e774b13
SM
49782016-04-05 Simon Marchi <simon.marchi@ericsson.com>
4979
4980 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
4981 absolute.
4982 * gdb.trace/ftrace.exp: Likewise.
4983 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
4984 targets as well.
4985 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
4986 (gdb_load_shlibs): Copy libraries to test directory when testing
4987 natively. Only set solib-search-path if testing remotely.
4988 * lib/mi-support.exp (mi_load_shlibs): Likewise.
4989
7817ea46
SM
49902016-04-05 Simon Marchi <simon.marchi@ericsson.com>
4991
4992 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
4993 gdb_download. Use it even if the target is not remote.
4994 * gdb.base/jit.exp (compile_jit_test): Likewise.
4995 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
4996 output directory if the destination board is local, otherwise use
4997 the standard remote_download from DejaGnu.
4998 (gdb_download): Remove.
4999 (gdb_load_shlibs): Use gdb_remote_download instead of
5000 gdb_download.
5001 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
5002 Use gdb_remote_download instead of gdb_download. Use it even if
5003 the target is not remote.
5004 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
5005 instead of gdb_download.
5006
7beb7f68
SM
50072016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
5008
5009 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
5010 (test_insert_delete_modify): Call mi_load_shlibs before trying to
5011 run.
5012
cc63428a
AV
50132016-04-01 Artemiy Volkov <artemiyv@acm.org>
5014
5015 PR gdb/19820
5016 * gdb.base/printcmds.exp: Add artificial arrays tests.
5017
64cdf930
PA
50182016-03-31 Pedro Alves <palves@redhat.com>
5019
5020 PR gdb/19858
5021 * gdb.base/jit-main.c: Include unistd.h.
5022 (ATTACH): Define to 0 if not already defined.
5023 (wait_for_gdb, mypid): New globals.
5024 (WAIT_FOR_GDB): New macro.
5025 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
5026 some breakpoint locations.
5027 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
5028 New procedures.
5029 (one_jit_test): Add REATTACH parameter, and handle it. Use
5030 continue_to_test_location.
5031 (top level): Test attach, and adjusts calls to one_jit_test.
5032
40dea8cb
PA
50332016-03-31 Pedro Alves <palves@redhat.com>
5034
5035 PR gdb/19858
5036 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
5037 BINSUFFIX parameter, and handle it.
5038 (top level): Adjust calls compile_jit_test.
5039
e7ea3ec7
CU
50402016-03-31 Catalin Udma <catalin.udma@freescale.com>
5041
5042 PR python/19743
5043 * gdb.python/py-mi-events-gdb.py: New file.
5044 * gdb.python/py-mi-events.c: New file.
5045 * gdb.python/py-mi-events.exp: New file.
5046
e6359af3
YQ
50472016-03-30 Yao Qi <yao.qi@linaro.org>
5048
5049 * gdb.reverse/until-precsave.exp: Match function name only.
5050 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
5051 Move malloc to a condition block.
5052 * gdb.reverse/until-reverse.exp: Match function name only.
5053
a4105d04
MK
50542016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
5055
5056 * gdb.trace/ftrace.exp: Set arg0exp for s390.
5057 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
5058 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
5059 variable for GPR 0 instead of assuming it is register 0.
5060 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
5061 * lib/trace-support.exp: Add s390 registers.
5062
bfa6adb9
YQ
50632016-03-29 Yao Qi <yao.qi@linaro.org>
5064
5065 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
5066
1e6697ea
YQ
50672016-03-24 Yao Qi <yao.qi@linaro.org>
5068
5069 * gdb.reverse/break-reverse.exp: Add quotation mark in the
5070 test message.
5071
64bcd522
AA
50722016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5073
5074 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
5075 maintaining separate logic for constructing the output path.
5076
7868401b
DB
50772016-03-16 Don Breazeal <donb@codesourcery.com>
5078
5079 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
5080 Retry fork and waitpid on interrupted system call errors.
5081 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
5082 Use with_timeout_factor to increase timeout by factor of 10.
5083
1cafadb4
DB
50842016-03-15 Don Breazeal <donb@codesourcery.com>
5085
5086 * gdb.cp/scope-err.cc: New test program.
5087 * gdb.cp/scope-err.exp: New test script.
5088 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
5089 lines and "set breakpoint here" comment.
5090 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
5091 Fixed some whitespace and format issues.
5092 * gdb.mi/mi-linespec-err-cp.cc: New test program.
5093 * gdb.mi/mi-linespec-err-cp.exp: New test script.
5094
81516450
DE
50952016-03-15 Doug Evans <dje@google.com>
5096
5097 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
5098 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
5099 All callers updated. Add tests for enums, mixed flags register.
5100
aa52b601
DE
51012016-03-15 Doug Evans <dje@google.com>
5102
5103 * gdb.base/skip.c (main): Call test_skip_file_and_function.
5104 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
5105
fa4ff313
SM
51062016-03-14 Simon Marchi <simon.marchi@ericsson.com>
5107
5108 * gdb.base/default.exp: Add $_as_string to the list of expected
5109 convenience functions.
5110
f2403c39
AB
51112016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
5112
5113 * gdb.base/maint.exp: New tests for 'maint info line-table'.
5114
f2f3ccb9
SM
51152016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
5116
5117 * gdb.python/py-as-string.exp: New file.
5118 * gdb.python/py-as-string.c: New file.
5119
00dbd492
PA
51202016-03-09 Pedro Alves <palves@redhat.com>
5121
5122 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
5123 signal" -> "Thread NN received signal" output change.
5124 * gdb.threads/ia64-sigill.exp: Likewise.
5125 * gdb.threads/linux-dp.exp: Likewise.
5126 * gdb.threads/manythreads.exp: Likewise.
5127 * gdb.threads/pending-step.exp: Likewise.
5128 * gdb.threads/print-threads.exp: Likewise.
5129 * gdb.threads/sigstep-threads.exp: Likewise.
5130 * gdb.threads/staticthreads.exp: Likewise.
5131 * gdb.threads/tls.exp: Likewise.
5132
1e6697ea
YQ
51332016-03-09 Pedro Alves <palves@redhat.com>
5134
5135 * gdb.base/command-line-input.exp: New file.
5136
b04fd3be
MK
51372016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5138
5139 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
5140 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
5141 * gdb.trace/pending.exp: Accept leading dot before function name.
5142 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
5143 * lib/trace-support.exp: Set registers for ppc.
5144
98fa59e9
MK
51452016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5146
5147 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
5148 use it for disassembly; accept .main in addition to main in backtrace.
5149
f77198c8
MK
51502016-03-09 Wei-cheng Wang <cole945@gmail.com>
5151 Marcin Kościelnicki <koriakin@0x04.net>
5152
5153 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
5154 (gdb_recursion_test_ptr): New global variable.
5155 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
5156 gdb_recursion_test.
5157 (gdb_c_test): Ditto.
5158
ba84e0da
MK
51592016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5160
5161 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
5162 ordering.
5163
4366d36e
MK
51642016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5165
5166 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
5167 (bar): Add bar_start_lbl label.
5168 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
5169 of foo/bar for emitting DWARF and tracing.
5170
5eb264df
SDJ
51712016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
5172
5173 * analyze-racy-logs.py: Set executable bit.
5174
fb6a751f
SDJ
51752016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
5176
5177 * Makefile.in (DEFAULT_RACY_ITER): New variable.
5178 (CHECK_TARGET_TMP): Likewise.
5179 (check-single-racy): New rule.
5180 (check-parallel-racy): Likewise.
5181 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
5182 (do-check-parallel-racy): New rule.
5183 (check-racy/%.exp): Likewise.
5184 * README (Racy testcases): New section.
5185 * analyze-racy-logs.py: New file.
5186
bdf7e230
DE
51872016-03-03 Doug Evans <dje@google.com>
5188
5189 * gdb.base/skip.exp: Use with_test_prefix.
5190
4719d415
YQ
51912016-03-03 Yao Qi <yao.qi@linaro.org>
5192
5193 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
5194 Invoke step_over_syscall "clone" and break_cond_on_syscall
5195 "clone".
5196 * gdb.base/step-over-clone.c: New file.
5197
ea507862
YQ
51982016-03-03 Yao Qi <yao.qi@linaro.org>
5199
5200 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
5201 code format.
5202
8fc8cbda
YQ
52032016-03-03 Yao Qi <yao.qi@linaro.org>
5204
5205 * gdb.base/disp-step-fork.c: Rename to ...
5206 * gdb.base/step-over-fork.c: ... it. New file.
5207 * gdb.base/disp-step-vfork.c: Rename to ...
5208 * gdb.base/step-over-vfork.c: ... it. New file.
5209 * gdb.base/disp-step-syscall.exp: Rename to ...
5210 * gdb.base/step-over-syscall.exp: ... it. New file.
5211 (disp_step_cross_syscall): Rename to ...
5212 (step_over_syscall): ... it.
5213
92fa70b0
YQ
52142016-03-03 Yao Qi <yao.qi@linaro.org>
5215
5216 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
5217 If target supports condition evaluation on target, invoke
5218 break_cond_on_syscall for fork and vfork.
5219
e197ad3c
YQ
52202016-03-03 Yao Qi <yao.qi@linaro.org>
5221
5222 * gdb.base/disp-step-syscall.exp: Don't invoke
5223 support_displaced_stepping.
5224 (disp_step_cross_syscall): Test with displaced stepping off and
5225 on if supported.
5226
0b47da9f
YQ
52272016-03-03 Yao Qi <yao.qi@linaro.org>
5228
5229 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
5230 proc.
5231 (setup): New proc.
5232 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
5233 and setup.
5234
065ab6dc
BH
52352016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
5236
5237 * gdb.fortran/vla-history.exp: Remove breakpoint.
5238
07e448ad 52392016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
5240
25d49b86
PA
5241 * gdb.fortran/vla-history.exp: Lookup array elements and printing
5242 exceeds timeout.
07e448ad 5243
9ac2d526 52442016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
5245
25d49b86
PA
5246 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
5247 breakpoint.
9ac2d526 5248
17807369
BH
52492016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
5250
5251 * gdb.mi/vla.f90: Nullify pointer after declaration.
5252
86e501af
PA
52532016-03-01 Pedro Alves <palves@redhat.com>
5254
5255 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
5256
1e903e32
PA
52572016-03-01 Pedro Alves <palves@redhat.com>
5258
5259 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
5260 before anything else.
5261 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
5262 _GNU_SOURCE here.
5263 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
5264 before anything else.
5265 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
5266
6ccb54e2
PA
52672016-03-01 Pedro Alves <palves@redhat.com>
5268
5269 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
5270
30ca9da1
YQ
52712016-03-01 Yao Qi <yao.qi@linaro.org>
5272
5273 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
5274 prepare_for_testing.
5275
dc856b38
YQ
52762016-03-01 Yao Qi <yao.qi@linaro.org>
5277
5278 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
5279
4a932159
AA
52802016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
5281
5282 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
5283 manually constructing the output path.
5284
f2489477
AA
52852016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
5286
5287 * gdb.arch/s390-stackless.S: New.
5288 * gdb.arch/s390-stackless.exp: New.
5289
38899f16
IB
52902016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
5291
5292 * gdb.dlang/circular.c: New file.
5293 * gdb.dlang/circular.exp: New file.
5294
9fde51ed
YQ
52952016-02-26 Yao Qi <yao.qi@linaro.org>
5296
5297 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
5298 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
5299 (testcases): Update.
5300
ce90fefe
YQ
53012016-02-26 Yao Qi <yao.qi@linaro.org>
5302
5303 * gdb.reverse/aarch64.c: Rename to ...
5304 * gdb.reverse/insn-reverse.c: ... it.
5305 * gdb.reverse/aarch64.exp: Rename to ...
5306 * gdb.reverse/insn-reverse.exp: ... it.
5307
3263bceb
YQ
53082016-02-26 Yao Qi <yao.qi@linaro.org>
5309
5310 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
5311 (testcase_ftype): New.
5312 (testcases): New array.
5313 (n_testcases): New.
5314 (main): Call each element in testcases.
5315 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
5316 (read_testcase): New.
5317 Do the tests in a loop.
5318
6cb59ff1
YQ
53192016-02-25 Yao Qi <yao.qi@linaro.org>
5320
5321 * gdb.base/branches.c: Remove.
5322
ae91f625
MK
53232016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
5324
5325 PR gdb/13808
5326 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
5327
678b48b7
MK
53282016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
5329
5330 * gdb.trace/ftrace.exp: Remove unnecessary target check.
5331
7337a6f2
MK
53322016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
5333
5334 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
5335 change x86_64 call_insn to 'callq'.
5336
861ca91f
AT
53372016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
5338
5339 * gdb.trace/tfile-avx.c: Move to...
5340 * gdb.trace/tracefile-pseudo-reg.c: Here.
5341 * gdb.trace/tfile-avx.exp: Move to...
5342 * gdb.trace/tracefile-pseudo-reg.exp: Here.
5343
bf74e428
GB
53442016-02-24 Gary Benson <gbenson@redhat.com>
5345
5346 * gdb.base/attach-pie-noexec.exp: Do not expect an error
5347 message on attach.
5348
cce0e923
DE
53492016-02-23 Doug Evans <dje@google.com>
5350
5351 * gdb.base/skip.c (test_skip): New function.
5352 (end_test_skip_file_and_function): New function.
5353 (test_skip_file_and_function): New function.
5354 * gdb.base/skip1.c (test_skip): New function.
5355 (skip1_test_skip_file_and_function): New function.
5356 * gdb.base/skip.exp: Add tests for new skip options.
5357 * gdb.base/skip-solib.exp: Update expected output.
5358 * gdb.perf/skip-command.cc: New file.
5359 * gdb.perf/skip-command.exp: New file.
5360 * gdb.perf/skip-command.py: New file.
5361
4000e47e
MK
53622016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
5363
5364 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
5365 info registers pattern.
5366
24f75ead
IB
53672016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
5368
5369 * lib/future.exp: Add D support.
5370 (gdb_find_gdc): New proc.
5371 (gdb_default_target_compile): Add D support.
5372
fbb7bcbe
WW
53732016-02-18 Wei-cheng Wang <cole945@gmail.com>
5374
5375 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
5376 user+system time.
5377 (trace_speed_test): Determine the iteration count for a time
5378 between 15..30 seconds.
5379
012b3a21
WT
53802016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
5381
5382 * gdb.arch/i386-mpx-sigsegv.c: New file.
5383 * gdb.arch/i386-mpx-sigsegv.exp: New file.
5384 * gdb.arch/i386-mpx-simple_segv.c: New file.
5385 * gdb.arch/i386-mpx-simple_segv.exp: New file.
5386
2d5189bd
YQ
53872016-02-18 Yao Qi <yao.qi@linaro.org>
5388
5389 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
5390 Don't call setup_kfail.
5391
40fb20d0
YQ
53922016-02-18 Yao Qi <yao.qi@linaro.org>
5393
5394 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
5395 Set "set breakpoint condition-evaluation" per $cond_bp_target.
5396
21b1f8d2
DE
53972016-02-16 Doug Evans <dje@google.com>
5398
5399 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
5400 * gdb.base/skip1.c: Ditto.
5401 * gdb.base/skip.exp: Whitespace cleanup.
5402
4041ed77
DB
54032016-02-16 Don Breazeal <donb@codesourcery.com>
5404
5405 PR remote/19496
5406 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
5407 Remove kfail for PR remote/19496.
5408
c4ef31bf
SM
54092016-02-16 Simon Marchi <simon.marchi@ericsson.com>
5410
5411 * lib/gdb.exp (standard_temp_file): Return a path specific to
5412 the runtest invocation.
5413
266b65b3
SM
54142016-02-16 Simon Marchi <simon.marchi@ericsson.com>
5415
5416 * gdb.trace/save-trace.exp: Change relative path to be in the
5417 standard output directory.
5418
a7a0a6a9
JK
54192016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5420
5421 * gdb.arch/i386-prologue.c: Add missing prototypes.
5422
c99dbb42
JK
54232016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5424
5425 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
5426 * gdb.arch/i386-prologue.exp: Likewise.
5427 * gdb.arch/i386-size.exp: Likewise.
5428
aa480355
SM
54292016-02-15 Simon Marchi <simon.marchi@ericsson.com>
5430
5431 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
5432 define object file path.
5433 * gdb.btrace/gcore.exp: Use standard_output_file to define core
5434 file path.
5435 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
5436 standard_output_file to define binfile.
5437
ba881f50
JK
54382016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5439
5440 Fix compatibility with recent gfortran-5.3.1.
5441 * gdb.fortran/vla-history.exp (print vla1 allocated)
5442 (print vla2 allocated, print $2, print $3): Remove
5443 (print $4): Rename to ...
5444 (print $2): ... here.
5445 (print $9): Rename to ...
5446 (print $5): ... here.
5447 (print $10): Rename to ...
5448 (print $6): ... here.
5449 * gdb.fortran/vla.f90: Add pvla initialization.
5450
e9fb005c
JK
54512016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5452
5453 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
5454 New test.
5455 * gdb.fortran/vla-value-sub.exp: Likewise.
5456
e44e00ff
MK
54572016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
5458
5459 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
5460
97e94151
SM
54612016-02-12 Simon Marchi <simon.marchi@ericsson.com>
5462
5463 * i386-biarch-core.exp: Define corefile using
5464 standard_output_file.
5465
01113bc1
YQ
54662016-02-12 Yao Qi <yao.qi@linaro.org>
5467
5468 * gdb.arch/arm-single-step-kernel-helper.c: New.
5469 * gdb.arch/arm-single-step-kernel-helper.exp: New.
5470
33b4777c
MM
54712016-02-12 Markus Metzger <markus.t.metzger@intel.com>
5472
5473 * gdb.btrace/tailcall-only.exp: New.
5474 * gdb.btrace/tailcall-only.c: New.
5475 * gdb.btrace/x86_64-tailcall-only.S: New.
5476 * gdb.btrace/i686-tailcall-only.S: New.
5477
acc23c11
PA
54782016-02-11 Pedro Alves <palves@redhat.com>
5479
5480 * README (Parallel testing): Add missing double quotes.
5481
e352bf0a
PA
54822016-02-11 Pedro Alves <palves@redhat.com>
5483
5484 * README (Parallel testing): New section.
5485 (GDB_PARALLEL): Rewrite.
5486 (FORCE_PARALLEL): Document.
5487
9f5fed78
MK
54882016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
5489
5490 * gdb.trace/tfile-avx.c: New test.
5491 * gdb.trace/tfile-avx.exp: New test.
5492
9ef9e6a6
KS
54932016-02-09 Keith Seitz <keiths@redhat.com>
5494
5495 PR breakpoints/19546
5496 * gdb.base/infcall-exec.c: New file.
5497 * gdb.base/infcall-exec2.c: New file.
5498 * gdb.base/infcall-exec.exp: New file.
5499
a96e36da
KS
55002016-02-09 Keith Seitz <keiths@redhat.com>
5501
5502 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
5503 (toplevel): Call test_bkpt_address.
5504
9f61929f
KS
55052016-02-09 Keith Seitz <keiths@redhat.com>
5506
5507 PR python/19506
5508 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
5509 (toplevel): Call test_bkpt_address.
5510
1e94266c
SM
55112016-02-09 Simon Marchi <simon.marchi@ericsson.com>
5512
5513 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
5514 to AC_OUTPUT.
5515 * configure: Regenerate.
5516
2a7f3dff
PA
55172016-02-09 Pedro Alves <palves@redhat.com>
5518
5519 PR breakpoints/19548
5520 * gdb.base/execl-update-breakpoints.c (some_function): New
5521 function.
5522 (main): Call it.
5523 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
5524 Tighten expected GDB output.
5525
2151ccc5
SM
55262016-02-08 Simon Marchi <simon.marchi@ericsson.com>
5527
5528 * Makefile.in (ALL_SUBDIRS): Remove.
5529 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
5530 (distclean maintainer-clean realclean): Likewise.
5531 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
5532 * configure: Regenerate.
5533 * gdb.ada/Makefile.in: Delete.
5534 * gdb.arch/Makefile.in: Likewise.
5535 * gdb.asm/Makefile.in: Likewise.
5536 * gdb.base/Makefile.in: Likewise.
5537 * gdb.btrace/Makefile.in: Likewise.
5538 * gdb.cell/Makefile.in: Likewise.
5539 * gdb.compile/Makefile.in: Likewise.
5540 * gdb.cp/Makefile.in: Likewise.
5541 * gdb.disasm/Makefile.in: Likewise.
5542 * gdb.dlang/Makefile.in: Likewise.
5543 * gdb.dwarf2/Makefile.in: Likewise.
5544 * gdb.fortran/Makefile.in: Likewise.
5545 * gdb.gdb/Makefile.in: Likewise.
5546 * gdb.go/Makefile.in: Likewise.
5547 * gdb.guile/Makefile.in: Likewise.
5548 * gdb.java/Makefile.in: Likewise.
5549 * gdb.linespec/Makefile.in: Likewise.
5550 * gdb.mi/Makefile.in: Likewise.
5551 * gdb.modula2/Makefile.in: Likewise.
5552 * gdb.multi/Makefile.in: Likewise.
5553 * gdb.objc/Makefile.in: Likewise.
5554 * gdb.opencl/Makefile.in: Likewise.
5555 * gdb.opt/Makefile.in: Likewise.
5556 * gdb.pascal/Makefile.in: Likewise.
5557 * gdb.perf/Makefile.in: Likewise.
5558 * gdb.python/Makefile.in: Likewise.
5559 * gdb.reverse/Makefile.in: Likewise.
5560 * gdb.server/Makefile.in: Likewise.
5561 * gdb.stabs/Makefile.in: Likewise.
5562 * gdb.threads/Makefile.in: Likewise.
5563 * gdb.trace/Makefile.in: Likewise.
5564 * gdb.xml/Makefile.in: Likewise.
5565 * lib/gdb.exp (make_gdb_parallel_path): Add check for
5566 GDB_PARALLEL.
5567 (standard_output_file): Remove check for GDB_PARALLEL, always
5568 return path in outputs/$subdir/$testname.
5569
437277d4
SM
55702016-02-08 Simon Marchi <simon.marchi@ericsson.com>
5571
5572 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
5573 (site.exp): Assign abs_srcdir to tcl's srcdir.
5574
31d913c7
YQ
55752016-02-04 Yao Qi <yao.qi@linaro.org>
5576
5577 * gdb.base/foll-exec-mode.c: Include limits.h.
5578 (main): Add parameters argc and argv. Get directory from
5579 argv[0].
5580 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
5581 compilation.
5582 * gdb.base/foll-exec.c: Include limits.h.
5583 (main): Add parameters argc and argv.
5584 Get directory from argv[0].
5585 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
5586 Adjust tests on the number of lines as source code changed.
5587 * gdb.base/foll-vfork-exit.c: Include limits.h.
5588 (main): Add one line of statement before vfork.
5589 * gdb.base/foll-vfork.c: Include limits.h and string.h.
5590 (main): Add parameters argc and argv. Get directory from
5591 argv[0].
5592 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
5593 (setup_gdb): Set tbreak to skip some source lines.
5594 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
5595 (main): Add parameters argc and argv. Get directory from
5596 argv[0].
5597 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
5598 compilation.
5599 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
5600 (main): Add parameters argc and argv. Get directory from
5601 argv[0].
5602 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
5603 compilation.
5604
9482b9fb
DE
56052016-02-01 Doug Evans <dje@google.com>
5606
5607 * gdb.base/skip.exp: Clean up multiple references to same test name.
5608
6b2e4f10
PA
56092016-02-01 Pedro Alves <palves@redhat.com>
5610
ccb6afd6 5611 PR remote/19496
6b2e4f10
PA
5612 * gdb.threads/forking-threads-plus-breakpoint.exp
5613 (displaced_stepping_supported): New global.
5614 (probe_displaced_stepping_support): New procedure.
5615 (do_test): Add 'displaced' parameter, and use it.
5616 (top level): Check for displaced stepping support. Add displaced
5617 stepping on/off testing axis.
5618
37a8db1a
AB
56192016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
5620
5621 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
5622 pointer. Don't perform further tests on the unassociated pointer
5623 if the first test fails.
5624
5fdf6324
AB
56252016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
5626
5627 * gdb.base/max-value-size.c: New file.
5628 * gdb.base/max-value-size.exp: New file.
5629 * gdb.base/huge.exp: Disable max-value-size for this test.
5630
935c6144
IB
56312016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
5632
5633 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
5634
7fe8399d
YQ
56352016-01-28 Yao Qi <yao.qi@linaro.org>
5636
5637 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
5638
a2077e25
PA
56392016-01-25 Pedro Alves <palves@redhat.com>
5640
5641 PR threads/19461
5642 * gdb.base/fork-running-state.c: New file.
5643 * gdb.base/fork-running-state.exp: New file.
5644
1d2736d4
PA
56452016-01-25 Pedro Alves <palves@redhat.com>
5646
5647 PR gdb/19494
5648 * gdb.base/catch-fork-kill.c: New file.
5649 * gdb.base/catch-fork-kill.exp: New file.
5650
f1da4b11
PA
56512016-01-25 Pedro Alves <palves@redhat.com>
5652
5653 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
5654 Delete, moved to lib/gdb.exp.
5655 * gdb.threads/forking-threads-plus-breakpoint.exp
5656 (foreach_with_prefix): Likewise.
5657 * gdb.threads/process-dies-while-handling-bp.exp
5658 (foreach_with_prefix): Likewise.
5659 * lib/gdb.exp (foreach_with_prefix): New procedure.
5660
45f38546
MK
56612016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
5662
5663 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
5664 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
5665
dc29a1ce
MK
56662016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
5667
5668 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
5669 endian targets.
5670
092127d7
JK
56712016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5672 Pedro Alves <palves@redhat.com>
5673
5674 Fix testsuite compatibility with Guile.
5675 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
5676 number.
5677
31d765d3
JK
56782016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5679
5680 Fix testsuite compatibility with Guile.
5681 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
5682 (thread 1): New test for backtrace through signal handler.
5683
1ac78c04
YQ
56842016-01-22 Yao Qi <yao.qi@linaro.org>
5685
5686 PR testsuite/19491
5687 * gdb.base/multi-forks.c: Include
5688 ../lib/unbuffer_output.c
5689 (main): Call gdb_unbuffer_output.
5690
4f5946a8
DE
56912016-01-21 Doug Evans <dje@google.com>
5692
5693 * lib/ada.exp (gdb_compile_ada): Fix typo.
5694
305e13e6
JB
56952016-01-21 Joel Brobecker <brobecker@adacore.com>
5696
5697 * gdb.base/break-fun-addr.exp: New file.
5698 * gdb.base/break-fun-addr1.c: New file.
5699 * gdb.base/break-fun-addr2.c: New file.
5700
5f5dfff6
SM
57012016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
5702
5703 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
5704 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
5705 enum flag values.
5706
fd356fa2
AA
57072016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5708
5709 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
5710 when GDB can not set the vector return value. Add more comments
5711 for clarification.
5712
9df22175
AT
57132016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
5714
5715 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
5716 command.
5717
41d1845e
SM
57182016-01-19 Simon Marchi <simon.marchi@ericsson.com>
5719
5720 * Makefile.in (DO_RUNTEST): Add --status and update usages.
5721
01ac6840
SM
57222016-01-19 Simon Marchi <simon.marchi@ericsson.com>
5723
5724 * Makefile.in (check-single): Pass --status to runtest.
5725 (check/%.exp): Likewise.
5726
57272016-01-19 Simon Marchi <simon.marchi@ericsson.com>
5728
5729 * Makefile.in (check-parallel): Propagate return code from make
5730 do-check-parallel.
5731
bd0a71fa
MK
57322016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
5733
5734 * gdb.trace/ftrace.exp: Fix expected message on continue.
5735 * gdb.trace/pending.exp: Fix expected message on continue.
5736 * gdb.trace/trace-break.exp: Fix expected message on continue.
5737
8bcbad33
SM
57382016-01-18 Simon Marchi <simon.marchi@ericsson.com>
5739
5740 * lib/gdb.exp (gdb_test): Remove unused global references.
5741
f303dbd6
PA
57422016-01-18 Pedro Alves <palves@redhat.com>
5743
5744 * gdb.base/async-shell.exp: Adjust expected output.
5745 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
5746 * gdb.base/siginfo-thread.exp: Adjust expected output.
5747 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
5748 * gdb.java/jnpe.exp: Adjust expected output.
5749 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
5750 * gdb.threads/continue-pending-status.exp: Adjust expected output.
5751 * gdb.threads/leader-exit.exp: Adjust expected output.
5752 * gdb.threads/manythreads.exp: Adjust expected output.
5753 * gdb.threads/pthreads.exp: Adjust expected output.
5754 * gdb.threads/schedlock.exp: Adjust expected output.
5755 * gdb.threads/siginfo-threads.exp: Adjust expected output.
5756 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
5757 expected output.
5758 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
5759 output.
5760 * gdb.threads/sigthread.exp: Adjust expected output.
5761 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
5762
b2789696
YQ
57632016-01-18 Yao Qi <yao.qi@linaro.org>
5764
5765 * gdb.guile/scm-section-script.c: Replace @progbits with
5766 %progbits.
5767 * gdb.python/py-section-script.c: Likewise.
5768
71ef29a8
PA
57692016-01-15 Pedro Alves <palves@redhat.com>
5770
5771 * gdb.multi/tids.exp: Test star wildcard ranges.
5772
3f5b7598
PA
57732016-01-15 Pedro Alves <palves@redhat.com>
5774
5775 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
5776 command from "thread apply" invocation.
5777 (thr_apply_info_thr_invalid): Default the expected output to the
5778 input tid list.
5779 (top level): Add tests that use convenience variables. Add tests
5780 for "thread apply" with a valid TID list, but missing the command.
5781
663f6d42
PA
57822016-01-13 Pedro Alves <palves@redhat.com>
5783
5784 * gdb.base/default.exp: Expect $_gthread as well.
5785 * gdb.multi/tids.exp: Test $_gthread.
5786 * gdb.threads/thread-specific.exp: Test $_gthread.
5787
c84f6bbf
PA
57882016-01-13 Pedro Alves <palves@redhat.com>
5789
5790 * gdb.multi/tids.exp: Test "info threads -gid".
5791
22a02324
PA
57922016-01-13 Pedro Alves <palves@redhat.com>
5793
5794 * gdb.multi/tids.exp: Test InferiorThread.global_num and
5795 Breakpoint.thread.
5796 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
5797
5d5658a1
PA
57982016-01-07 Pedro Alves <palves@redhat.com>
5799
5800 * gdb.base/break.exp: Adjust to output changes.
5801 * gdb.base/hbreak2.exp: Likewise.
5802 * gdb.base/sepdebug.exp: Likewise.
5803 * gdb.base/watch_thread_num.exp: Likewise.
5804 * gdb.linespec/keywords.exp: Likewise.
5805 * gdb.multi/info-threads.exp: Likewise.
5806 * gdb.threads/thread-find.exp: Likewise.
5807 * gdb.multi/tids.c: New file.
5808 * gdb.multi/tids.exp: New file.
5809
84654457
PA
58102016-01-13 Pedro Alves <palves@redhat.com>
5811
5812 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
5813
e3940304
PA
58142016-01-13 Pedro Alves <palves@redhat.com>
5815
5816 * gdb.base/default.exp: Expect $_inferior as well.
5817 * gdb.multi/base.exp: Test $_inferior.
5818
a911d87a
PA
58192016-01-13 Pedro Alves <palves@redhat.com>
5820
5821 PR breakpoints/19388
5822 * gdb.base/catch-signal-siginfo-cond.c: New file.
5823 * gdb.base/catch-signal-siginfo-cond.exp: New file.
5824
82075af2
JS
58252016-01-12 Josh Stone <jistone@redhat.com>
5826 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5827
5828 * gdb.base/catch-syscall.c (do_execve): New variable.
5829 (main): Conditionally trigger an execve.
5830 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
5831 (test_catch_syscall_execve): New, check entry/return across execve.
5832 (do_syscall_tests): Call test_catch_syscall_execve.
5833
e46eeedd
PA
58342016-01-12 Pedro Alves <palves@redhat.com>
5835
5836 * gdb.base/random-signal.exp (do_test): New procedure, with body
5837 of testcase moved in.
5838
01d8c27e
JK
58392016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5840 Pedro Alves <palves@redhat.com>
5841
5842 * gdb.base/funcargs.exp (finish from indirectly called function):
5843 Reintroduce the case for 'First'.
5844
9a706302
JK
58452016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5846 Pedro Alves <palves@redhat.com>
5847
5848 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
5849 (tcatch_vfork_then_child_follow_exec)
5850 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
5851 identification.
5852
c0ecb95f
JK
58532016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5854
5855 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
5856 and repeats to unlimited.
5857 * gdb.python/py-value.exp: Likewise.
5858 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
5859 and repeats to unlimited.
5860
6cfc1fcb
JK
58612016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5862
5863 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
5864 and reordering the functions.
5865 * gdb.multi/hangout.c: Likewise.
5866 * gdb.multi/hello.c: Likewise.
5867
582a1b00
SM
58682016-01-08 Simon Marchi <simon.marchi@ericsson.com>
5869
5870 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
5871 absolute.
5872 (SingleStatisticTestResult.report): Use dict.keys instead of
5873 dict.iterkeys.
5874
79bc59cb
PA
58752016-01-06 Pedro Alves <palves@redhat.com>
5876
5877 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
5878
43368e1d
MM
58792016-01-04 Markus Metzger <markus.t.metzger@intel.com>
5880
5881 * gdb.btrace/dlopen.exp: New.
5882 * gdb.btrace/dlopen.c: New.
5883 * gdb.btrace/dlopen-dso.c: New.
5884
79fad5b8
SL
58852015-12-25 Sandra Loosemore <sandra@codesourcery.com>
5886
5887 * lib/gdb.exp (gdb_test): Update comments to clarify that the
5888 PATTERN argument is optional.
5889
ab8314b3
JB
58902015-12-24 Joel Brobecker <brobecker@adacore.com>
5891
5892 * lib/ada.exp (target_compile_ada_from_dir): New function.
5893 (gdb_compile_ada): Reimplement avoiding the use of project files.
5894 * gdb.ada/gnat_ada.gpr: Delete.
5895 * gdb.ada/cond_lang.exp: Adjust test to make path before
5896 filename optional.
5897 * gdb.ada/small_reg_param.exp: Likewise.
5898
fe33faff
SM
58992015-12-22 Simon Marchi <simon.marchi@ericsson.com>
5900
5901 * gdb.base/foll-vork.exp: Remove HP-UX special case.
5902
6d265cb4
TP
59032015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
5904
5905 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
5906 case.
5907
10125099
SM
59082015-12-21 Simon Marchi <simon.marchi@ericsson.com>
5909
5910 * gdb.base/break.exp: Remove dead code.
5911 * gdb.base/sepdebug.exp: Likewise.
5912
3ca22649
SM
59132015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
5914
5915 * gdb.asm/asm-source.exp: Remove HP-UX references.
5916 * gdb.base/annota1.exp: Likewise.
5917 * gdb.base/annota3.exp: Likewise.
5918 * gdb.base/attach.exp: Likewise.
5919 * gdb.base/bigcore.exp: Likewise.
5920 * gdb.base/break.exp: Likewise.
5921 * gdb.base/call-ar-st.exp: Likewise.
5922 * gdb.base/callfuncs.exp: Likewise.
5923 * gdb.base/catch-fork-static.exp: Likewise.
5924 * gdb.base/display.exp: Likewise.
5925 * gdb.base/foll-exec-mode.exp: Likewise.
5926 * gdb.base/foll-exec.exp: Likewise.
5927 * gdb.base/foll-fork.exp: Likewise.
5928 * gdb.base/foll-vfork.exp: Likewise.
5929 * gdb.base/funcargs.exp: Likewise.
5930 * gdb.base/hbreak2.exp: Likewise.
5931 * gdb.base/inferior-died.exp: Likewise.
5932 * gdb.base/interrupt.exp: Likewise.
5933 * gdb.base/multi-forks.exp: Likewise.
5934 * gdb.base/nodebug.exp: Likewise.
5935 * gdb.base/sepdebug.exp: Likewise.
5936 * gdb.base/solib1.c: Likewise.
5937 * gdb.base/step-test.exp: Likewise.
5938 * gdb.mi/non-stop.c: Likewise.
5939 * gdb.mi/pthreads.c: Likewise.
5940 * gdb.multi/bkpt-multi-exec.ex: Likewise.
5941 * gdb.threads/pthreads.c: Likewise.
5942 * gdb.threads/staticthreads.exp: Likewise.
5943 * lib/future.exp: Likewise.
5944 * lib/gdb.exp: Likewise.
5945 * gdb.base/so-indr-cl.c: Remove.
5946 * gdb.base/so-indr-cl.exp: Likewise.
5947 * gdb.base/solib.c: Likewise.
5948 * gdb.base/solib.exp: Likewise.
5949 * gdb.base/solib2.c: Likewise.
5950
b6304613
SM
59512015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
5952
5953 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
5954 * gdb.base/call-ar-st.exp: Likewise.
5955 * gdb.base/callfuncs.exp: Likewise.
5956 * gdb.base/condbreak.exp: Likewise.
5957 * gdb.base/constvars.exp: Likewise.
5958 * gdb.base/hbreak2.exp: Likewise.
5959 * gdb.base/langs.exp: Likewise.
5960 * gdb.base/list.exp: Likewise.
5961 * gdb.base/long_long.exp: Likewise.
5962 * gdb.base/ptype.exp: Likewise.
5963 * gdb.base/scope.exp: Likewise.
5964 * gdb.base/signals.exp: Likewise.
5965 * gdb.base/so-impl-ld.exp: Likewise.
5966 * gdb.base/varargs.exp: Likewise.
5967 * gdb.base/volatile.exp: Likewise.
5968 * gdb.base/whatis.exp: Likewise.
5969 * gdb.cp/cplusfuncs.exp: Likewise.
5970 * gdb.cp/inherit.exp: Likewise.
5971 * gdb.cp/local.exp: Likewise.
5972 * gdb.cp/member-ptr.exp: Likewise.
5973 * gdb.cp/method.exp: Likewise.
5974 * gdb.cp/overload.exp: Likewise.
5975 * gdb.cp/templates.exp: Likewise.
5976 * gdb.stabs/weird.exp: Likewise.
5977 * lib/compiler.c: Likewise.
5978 * lib/compiler.cc: Likewise.
5979 * lib/cp-support.exp: Likewise.
5980 * lib/gdb.exp: Likewise.
5981
bf401b07
SM
59822015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
5983
5984 * configure.ac: Remove HP-UX case.
5985 * configure: Regenerate.
5986
aff9c0f8
SM
59872015-12-18 Simon Marchi <simon.marchi@ericsson.com>
5988
5989 * lib/gdb.exp (gdb_compile): Add function doc.
5990
a6904d5a
PA
59912015-12-17 Pedro Alves <palves@redhat.com>
5992
5993 PR threads/19354
5994 * gdb.multi/info-threads.exp: New file.
5995
a22279dd
YQ
59962015-12-15 Yao Qi <yao.qi@linaro.org>
5997
5998 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
5999 is aarch64*-*-*.
6000
0588c796
SL
60012015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6002
6003 * gdb.base/history-duplicates.exp: Skip if no readline support.
6004
5d978e17
SL
60052015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6006
6007 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
6008
7e763b86
SL
60092015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6010
6011 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
6012
87a3a92c
SL
60132015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6014
6015 * gdb.base/completion.exp: Skip tests that interrupt GDB with
6016 ctrl-C if nointerrupts target property is set.
6017 * gdb.base/double-prompt-target-event-error.exp: Likewise.
6018 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
6019 * gdb.base/paginate-bg-execution.exp: Likewise.
6020 * gdb.base/paginate-execution-startup.exp: Likewise.
6021 * gdb.base/random-signal.exp: Likewise.
6022 * gdb.base/range-stepping.exp: Likewise.
6023 * gdb.cp/annota2.exp: Likewise.
6024 * gdb.cp/annota3.exp: Likewise.
6025 * gdb.gdb/selftest.exp: Likewise.
6026 * gdb.threads/continue-pending-status.exp: Likewise.
6027 * gdb.threads/leader-exit.exp: Likewise.
6028 * gdb.threads/manythreads.exp: Likewise.
6029 * gdb.threads/pthreads.exp: Likewise.
6030 * gdb.threads/schedlock.exp: Likewise.
6031 * gdb.threads/sigthread.exp: Likewise.
6032
a8f077dc
DB
60332015-12-11 Don Breazeal <donb@codesourcery.com>
6034
6035 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
6036 remote.
6037 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
6038 * gdb.base/foll-exec.exp (main): Enable for target remote.
6039 * gdb.base/foll-fork.exp (main): Likewise.
6040 * gdb.base/foll-vfork.exp (main): Likewise.
6041 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
6042 (proc continue_to_exit_bp_loc): Use clean_restart.
6043 * gdb.base/pie-execl.exp (main): Disable for target remote.
6044 * gdb.base/watch-vfork.exp (main): Enable for target remote.
6045 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
6046 * gdb.threads/execl.exp (main): Likewise.
6047 * gdb.threads/fork-child-threads.exp (main): Likewise.
6048 * gdb.threads/fork-plus-threads.exp (main): Disable for target
6049 remote.
6050 * gdb.threads/fork-thread-pending.exp (main): Enable for target
6051 remote.
6052 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
6053 pid.tid style ptids, instead of just tid.
6054 * gdb.threads/thread-execl.exp (main): Enable for target remote.
6055 * gdb.threads/watchpoint-fork.exp (main): Likewise.
6056 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
6057 ptids, instead of just tid.
6058
3b2464a8
AB
60592015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6060
6061 * gdb.base/list.exp (test_list_forward): Add end of file error
6062 test.
6063 (test_repeat_list_command): Add end of file error test.
6064 (test_list_backwards): Add beginning of file error test.
6065
a0def019
AB
60662015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6067
6068 * gdb.base/list.exp (test_list_invalid_args): New function,
6069 defined, and called.
6070
5c000dff
AB
60712015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6072
6073 * gdb.base/list.exp (test_list): Make test names unique.
6074
f1637ebe
YQ
60752015-12-11 Yao Qi <yao.qi@linaro.org>
6076
6077 * gdb.base/coremaker2.c: Remove.
6078
36d6fc0a
PA
60792015-12-10 Pedro Alves <palves@redhat.com>
6080
6081 * gdb.multi/base.exp: Remove stale "spaces" references.
6082
762f7747
PA
60832015-12-10 Pedro Alves <palves@redhat.com>
6084
6085 * gdb.multi/base.exp: Don't use nowarnings.
6086 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
6087 * gdb.multi/hangout.c: Include stdio.h.
6088 * gdb.multi/hello.c: Include stdlib.h.
6089 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
6090 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
6091 * gdb.multi/multi-arch.exp: Don't use nowarnings.
6092
28d2bfb9
AB
60932015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
6094
6095 * gdb.dwarf2/dw2-ranges-base.c: New file.
6096 * gdb.dwarf2/dw2-ranges-base.exp: New file.
6097 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
6098 support additional line table, and debug ranges generation.
6099 (Dwarf::ranges): New function, generate .debug_ranges.
6100 (Dwarf::lines): Support generating simple line table programs.
6101 (Dwarf::assemble): Initialise new namespace variables.
6102
5fc2beac
KB
61032015-12-09 Kevin Buettner <kevinb@redhat.com>
6104
6105 * gdb.base/async.exp (proc test_background): Add case for
6106 asynchronous execution not supported.
6107
1c35a88f
LM
61082015-12-09 Luis Machado <lgustavo@codesourcery.com>
6109
6110 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
6111 format and change test names to make them unique.
6112
b593e3d9
RK
61132015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
6114 Pedro Alves <pedro@redhat.com>
6115
6116 PR gdb/18702
6117 Add checking of floatformats setup on x86_64 hosts.
6118 * gdb.arch/i386-float.S (main): Load bigval and smallval.
6119 (smallval, bigval): New labels/constants.
6120 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
6121 float" after loading bigval and smallval.
6122
d72413e6
PMR
61232015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
6124
6125 * gdb.ada/fun_overload_menu.exp: New testcase.
6126 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
6127
ece66d65
JS
61282015-12-04 Josh Stone <jistone@redhat.com>
6129
6130 * gdb.base/catch-fork-static.exp: New.
6131
41d0efca
YQ
61322015-12-03 Yao Qi <yao.qi@linaro.org>
6133
6134 * gdb.base/sizeof.c: Don't include stdio.h and
6135 ../lib/unbuffer_output.c.
6136 (main): New variable 'size' and 'value'. Remove printf and
6137 gdb_unbuffer_output. Assign return value to size and value.
6138 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
6139 at the beginning.
6140 (check_sizeof): Check the result by printing variable 'size'.
6141 (check_valueof): Check the result by printing variable 'value'.
6142
99fd02d9
YQ
61432015-12-01 Yao Qi <yao.qi@linaro.org>
6144
6145 * gdb.base/disp-step-syscall.exp: Define syscall instruction
6146 for aarch64*-*-linux* target.
6147
f2faf941
PA
61482015-11-30 Pedro Alves <palves@redhat.com>
6149
6150 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
6151
04bf20c5
PA
61522015-11-30 Pedro Alves <palves@redhat.com>
6153
6154 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
6155 Handle non-stop mode vCont replies.
6156
09df4675
PA
61572015-11-30 Pedro Alves <palves@redhat.com>
6158
6159 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
6160 prepare_for_testing. Start gdb with "set non-stop on" appended to
6161 GDBFLAGS. Lax expected stop output.
6162
58b584af
YQ
61632015-11-27 Yao Qi <yao.qi@linaro.org>
6164
6165 * gdb.arch/arm-neon.exp: New.
6166 * gdb.arch/arm-neon.c: New.
6167
dfcb77a8
YQ
61682015-11-27 Yao Qi <yao.qi@linaro.org>
6169
6170 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
6171
88e8ec1b
YQ
61722015-11-27 Yao Qi <yao.qi@linaro.org>
6173
6174 * gdb.cp/annota2.exp: Allow multiple occurrences of the
6175 frames-invalid annotation.
6176
bfde72c2
YQ
61772015-11-27 Yao Qi <yao.qi@linaro.org>
6178
6179 * gdb.cp/annota2.exp: Use ${frames_invalid}.
6180
f6512a69
SM
61812015-11-26 Simon Marchi <simon.marchi@ericsson.com>
6182
6183 * gdb.threads/names.exp: New file.
6184 * gdb.threads/names.c: New file.
6185 * README: Mention gdb,no_thread_names.
6186
46a3515b
MM
61872015-11-26 Markus Metzger <markus.t.metzger@intel.com>
6188
6189 PR 19297
6190 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
6191 support" error.
6192
62147a22
PA
61932015-11-24 Pedro Alves <palves@redhat.com>
6194
6195 PR 17539
6196 * gdb.base/display.exp: Expect displays to be sorted in ascending
6197 order. Use multi_line.
6198 * gdb.base/solib-display.exp: Likewise.
6199
2f341b6e
PA
62002015-11-24 Pedro Alves <palves@redhat.com>
6201
6202 PR 17539
25d49b86
PA
6203 * gdb.base/display.exp: Expect displays to be sorted in ascending
6204 order. Use multi_line.
6205 * gdb.base/solib-display.exp: Likewise.
2f341b6e 6206
7e0aa6aa
PA
62072015-11-24 Pedro Alves <palves@redhat.com>
6208
6209 PR 17539
6210 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
6211 threads in ascending order.
6212 * gdb.base/foll-fork.exp: Likewise.
6213 * gdb.base/foll-vfork.exp: Likewise.
6214 * gdb.base/multi-forks.exp: Likewise.
6215 * gdb.mi/mi-nonstop.exp: Likewise.
6216 * gdb.mi/mi-nsintrall.exp: Likewise.
6217 * gdb.multi/base.exp: Likewise.
6218 * gdb.multi/multi-arch.exp: Likewise.
6219 * gdb.python/py-inferior.exp: Likewise.
6220 * gdb.threads/break-while-running.exp: Likewise.
6221 * gdb.threads/execl.exp: Likewise.
6222 * gdb.threads/gcore-thread.exp: Likewise.
6223 * gdb.threads/info-threads-cur-sal.exp: Likewise.
6224 * gdb.threads/kill.exp: Likewise.
6225 * gdb.threads/linux-dp.exp: Likewise.
6226 * gdb.threads/multiple-step-overs.exp: Likewise.
6227 * gdb.threads/next-bp-other-thread.exp: Likewise.
6228 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
6229 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
6230 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
6231 * gdb.threads/thread-find.exp: Likewise.
6232 * gdb.threads/tls.exp: Likewise.
6233 * lib/mi-support.exp (mi_reverse_list): Delete.
6234 (mi_check_thread_states): No longer reverse list.
6235
2cc57ad8
PA
62362015-11-24 Pedro Alves <palves@redhat.com>
6237
6238 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
6239 use lowercase.
6240
c93e8391
SM
62412015-11-23 Simon Marchi <simon.marchi@ericsson.com>
6242
6243 * gdb.trace/actions.c: Include trace-common.h.
6244 (main): Add a location for a fast tracepoint.
6245 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
6246 the normal tracepoints.
6247 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
6248
045ccf91
SM
62492015-11-23 Simon Marchi <simon.marchi@ericsson.com>
6250
6251 * save-trace.exp: Factor out code to these...
6252 (gdb_save_tracepoints): New.
6253 (gdb_load_tracepoints): New.
6254 (do_save_load_test): New.
6255
5506f9f6
KB
62562015-11-23 Kevin Buettner <kevinb@redhat.com>
6257
6258 * gdb.base/asmlabel.exp: New test.
6259 * gdb.base/asmlabel.c: New test case.
6260
16c3b12f
JB
62612015-11-23 Joel Brobecker <brobecker@adacore.com>
6262
6263 * gdb.base/wrong_frame_bt_full-main.c: New file.
6264 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
6265 * gdb.base/wrong_frame_bt_full.exp: New file.
6266
155bfbd3
JB
62672015-11-23 Joel Brobecker <brobecker@adacore.com>
6268
6269 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
6270
bb097445
JM
62712015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
6272
206853a0 6273 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
6274 pstate register when comparing registers values in
6275 sparc64-*-linux-gnu targets to avoid spurious differences.
6276
9c88ed8f
JM
62772015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
6278
206853a0 6279 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 6280
96161e25
SL
62812015-11-19 Sandra Loosemore <sandra@codesourcery.com>
6282
6283 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
6284 as type argument to gdb_compile.
6285 * gdb.base/nested-subp2.exp: Likewise.
6286 * gdb.base/nested-subp3.exp: Likewise.
6287
340c2830
DV
62882015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
6289
6290 * lib/dwarf.exp (_note): Fix left shift of negative value.
6291 * gdb.trace/trace-condition.exp: Likewise.
6292
c1862d0f
YQ
62932015-11-13 Yao Qi <yao.qi@linaro.org>
6294
6295 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
6296 comments about d10v.
6297 (test_scalar_returns): Likewise.
6298 * gdb.base/d10v.ld: Remove.
6299 * gdb.base/overlays.exp: Remove the target triplet checking for
6300 d10v-*-*.
6301 * gdb.base/structs.exp (test_struct_returns): Remove the
6302 comments about d10v.
6303 (test_struct_calls): Likewise.
6304
77ae9c19
YQ
63052015-11-13 Yao Qi <yao.qi@linaro.org>
6306
6307 * gdb.base/gnu_vector.exp: Check the return value by "p res".
6308 * gdb.base/gnu_vector.c: Don't include stdio.h.
6309 (main): Don't print res and call add_some_intvecs.
6310
430e004e
MK
63112015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
6312
6313 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
6314 macro.
6315 (func5): Removed.
6316 (func4): Use FAST_TRACEPOINT_LABEL.
6317 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
6318 macro.
6319 (func): Removed.
6320 (thread_function): Use FAST_TRACEPOINT_LABEL.
6321 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
6322 (func): Remove.
6323 (marker): Use FAST_TRACEPOINT_LABEL.
6324 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
6325 (pendfunc1): Remove.
6326 (pendfunc): Use FAST_TRACEPOINT_LABEL.
6327 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
6328 (foo): Remove.
6329 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
6330 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
6331 macro.
6332 (func): Remove.
6333 (marker): Use FAST_TRACEPOINT_LABEL.
6334 * gdb.trace/trace-common.h: New header.
6335 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
6336 macro.
6337 (func): Remove.
6338 (marker): Use FAST_TRACEPOINT_LABEL.
6339 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
6340 (func): Remove.
6341 (thread_function): Use FAST_TRACEPOINT_LABEL.
6342
6e7675a7
MK
63432015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
6344
6345 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
6346 in front.
6347 * gdb.trace/change-loc.exp: Use global pcreg definition.
6348 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
6349 * gdb.trace/entry-values.exp: Use global spreg definition, add $
6350 in front.
6351 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
6352 * gdb.trace/pending.exp: Likewise.
6353 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
6354 * gdb.trace/trace-break.exp: Likewise.
6355 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
6356 in front.
6357 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
6358 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
6359 in front.
6360 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
6361
dddc0e16
JB
63622015-11-09 Joel Brobecker <brobecker@adacore.com>
6363
6364 * gdb.ada/fin_fun_out: New testcase.
6365
c6f0b406
KB
63662015-11-07 Kevin Buettner <kevinb@redhat.com>
6367
6368 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
6369 value associated with DW_AT_byte_size.
6370 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
6371 constants for DW_AT_byte_size, DW_AT_lower_bound, and
6372 DW_AT_upper_bound.
6373
f01dcfd9
KB
63742015-11-07 Kevin Buettner <kevinb@redhat.com>
6375
6376 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
6377 (gdb_target_symbol_prefix_flags): Define in terms of _asm
6378 version.
6379 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
6380 gdb.dwarf2/dw2-canonicalize-type.exp,
6381 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
6382 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
6383 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
6384 provided by gdb_target_symbol_prefix_flags_asm.
6385 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
6386 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
6387 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
6388 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
6389 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
6390 macros where needed). Use this macro for symbols which require
6391 the prefix provided by SYMBOL_PREFIX.
6392
2223449a
KB
63932015-11-05 Kevin Buettner <kevinb@redhat.com>
6394
6395 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
6396 New procs.
6397 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
6398 representing expressions, of more than one list element.
6399 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
6400 to prepend linker symbol prefix to f.
6401 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
6402 table_1 and table_2.
6403 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
6404 Likewise, for f and g.
6405 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
6406 for ptr.
6407 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
6408 for main.
6409 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
6410 table_1_ptr and table_2_ptr.
6411
6f2f1a3a
JK
64122015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6413 Joel Brobecker <brobecker@adacore.com>
6414
6415 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
6416
566c56c9
MK
64172015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
6418
6419 * gdb.reverse/s390-mvcle.c: New test.
6420 * gdb.reverse/s390-mvcle.exp: New file.
6421 * lib/gdb.exp: Enable reverse tests on s390*-linux.
6422
d5f0636b
MK
64232015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
6424
6425 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
6426
7ad8b86c
MK
64272015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
6428
6429 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
6430 reaching marker2.
6431 * gdb.reverse/getresuid-reverse.exp: Likewise.
6432 * gdb.reverse/pipe-reverse.exp: Likewise.
6433 * gdb.reverse/readv-reverse.exp: Likewise.
6434 * gdb.reverse/recvmsg-reverse.exp: Likewise.
6435 * gdb.reverse/time-reverse.exp: Likewise.
6436 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
6437
4081c0f1
YQ
64382015-10-30 Yao Qi <yao.qi@linaro.org>
6439
6440 * gdb.threads/wp-replication.c (watch_count_done): Remove.
6441 (empty_cycle): Remove.
6442 (main): Don't call empty_cycle. Don't use watch_count_done.
6443 * gdb.threads/wp-replication.exp: Don't set breakpoint on
6444 empty_cycle. Rewrite the code counting HW watchpoints.
6445
452b4ba5
MK
64462015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
6447
6448 * gdb.reverse/fstatat-reverse.c: New test.
6449 * gdb.reverse/fstatat-reverse.exp: New file.
6450 * gdb.reverse/getresuid-reverse.c: New test.
6451 * gdb.reverse/getresuid-reverse.exp: New file.
6452 * gdb.reverse/pipe-reverse.c: New test.
6453 * gdb.reverse/pipe-reverse.exp: New file.
6454 * gdb.reverse/readv-reverse.c: New test.
6455 * gdb.reverse/readv-reverse.exp: New file.
6456 * gdb.reverse/recvmsg-reverse.c: New test.
6457 * gdb.reverse/recvmsg-reverse.exp: New file.
6458 * gdb.reverse/time-reverse.c: New test.
6459 * gdb.reverse/time-reverse.exp: New file.
6460 * gdb.reverse/waitpid-reverse.c: New test.
6461 * gdb.reverse/waitpid-reverse.exp: New file.
6462
5e2e7507
JK
64632015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6464
6465 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
6466
0fde2c53
DE
64672015-10-26 Doug Evans <dje@google.com>
6468
6469 PR symtab/17391
6470 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
6471 * gdb.dwarf2/bad-regnum.c: New file.
6472 * gdb.dwarf2/bad-regnum.exp: New file.
6473
1a70ae97
DE
64742015-10-26 Doug Evans <dje@google.com>
6475
6476 PR python/18938
6477 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
6478 file.
6479
27dc26ab
JK
64802015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6481
6482 * gdb.compile/compile.exp (compile code globalvar): Update expectation
6483 for a change by "Mention language in compile error message".
6484
bed91f4d
SM
64852015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
6486
6487 PR python/18073
6488 * gdb.python/py-type.c (C::a_method): New.
6489 (C::a_const_method): New.
6490 (C::a_static_method): New.
6491 (a_function): New.
6492 * gdb.python/py-type.exp (test_fields): Test getting fields
6493 from function and method.
6494
3f2f83dd
KB
64952015-10-21 Keven Boell <keven.boell@intel.com>
6496
6497 * gdb.fortran/vla-alloc-assoc.exp: New file.
6498 * gdb.fortran/vla-datatypes.exp: New file.
6499 * gdb.fortran/vla-datatypes.f90: New file.
6500 * gdb.fortran/vla-history.exp: New file.
6501 * gdb.fortran/vla-ptype-sub.exp: New file.
6502 * gdb.fortran/vla-ptype.exp: New file.
6503 * gdb.fortran/vla-sizeof.exp: New file.
6504 * gdb.fortran/vla-sub.f90: New file.
6505 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
6506 * gdb.fortran/vla-value-sub-finish.exp: New file.
6507 * gdb.fortran/vla-value-sub.exp: New file.
6508 * gdb.fortran/vla-value.exp: New file.
6509 * gdb.fortran/vla-ptr-info.exp: New file.
6510 * gdb.mi/mi-vla-fortran.exp: New file.
6511 * gdb.mi/vla.f90: New file.
6512
27145d50
SL
65132015-10-21 Sandra Loosemore <sandra@codesourcery.com>
6514
6515 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
6516 of hardwired timeout value.
6517
5f3ff4f8
JK
65182015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6519 Pedro Alves <palves@redhat.com>
6520
6521 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
6522 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
6523
bfd09d20
JS
65242015-10-19 Josh Stone <jistone@redhat.com>
6525
6526 * gdb.base/catch-syscall.c: Include <sched.h>.
6527 (unknown_syscall): New variable.
6528 (main): Trigger a vfork and an unknown syscall.
6529 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
6530 (unknown_syscall_number): Likewise.
6531 (check_call_to_syscall): Accept an optional syscall pattern.
6532 (check_return_from_syscall): Likewise.
6533 (check_continue): Likewise.
6534 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
6535 (test_catch_syscall_skipping_return): New test toggling off 'catch
6536 syscall' to step over the syscall return, then toggling back on.
6537 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
6538 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
6539 (do_syscall_tests): Call test_catch_syscall_without_args and
6540 test_catch_syscall_mid_vfork.
6541 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
6542 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
6543
b32b93c6
AS
65442015-10-19 Andrew Stubbs <ams@codesourcery.com>
6545
6546 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
6547 print g_vE): Add new pass patterns.
6548 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
6549 print various symbol names for vptr fields.
6550
9d622bda
AB
65512015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
6552
6553 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
6554 results.
6555
0fd8ac1c
YQ
65562015-10-12 Yao Qi <yao.qi@linaro.org>
6557
6558 * gdb.arch/disp-step-insn-reloc.exp: New test case.
6559
34240514
YQ
65602015-10-12 Yao Qi <yao.qi@linaro.org>
6561
6562 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
6563 is aarch64*-*-linux*.
6564
8240f442
YQ
65652015-10-12 Yao Qi <yao.qi@linaro.org>
6566
6567 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
6568 (can_relocate_bcond_true): ... it.
6569 (can_relocate_bcond_false): New function.
6570 (foo): Likewise.
6571 (can_relocate_bl): Likewise.
6572 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
6573 can_relocate_bl.
6574
2520f728
PMR
65752015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
6576
6577 * gdb.base/nested-addr.c: New file.
6578 * gdb.base/nested-addr.exp: New testcase.
6579
abcef95a
MM
65802015-10-09 Markus Metzger <markus.t.metzger@intel.com>
6581
6582 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
6583 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
6584 its output. Ignore the output of "record goto begin" and instead
6585 check that GDB is replaying.
6586
145e3ddb
PA
65872015-10-09 Pedro Alves <palves@redhat.com>
6588
6589 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
6590 (top level): Use it in the run with no args test.
6591
d5d8c4e1
IB
65922015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
6593
6594 * gdb.dlang/properties.exp: New file.
6595
06e635ef
SL
65962015-10-02 Sandra Loosemore <sandra@codesourcery.com>
6597
6598 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
6599 whether or not address 0x1000 is mapped on the target.
6600
e019fd1d
SM
66012015-09-30 Simon Marchi <simon.marchi@ericsson.com>
6602
6603 * gdb.python/py-type.exp: Do not run tests if binaries fail to
6604 build.
6605
77ba2a67
MM
66062015-09-30 Markus Metzger <markus.t.metzger@intel.com>
6607
6608 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
6609 instruction-history test.
6610
c60eb31f
DE
66112015-09-28 Doug Evans <dje@google.com>
6612
6613 * gdb.base/gcore.c (array_func): Add reference to static_array.
6614
9a3c8263
SM
66152015-09-25 Simon Marchi <simon.marchi@ericsson.com>
6616
6617 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
6618 source line.
6619
9720e656
SL
66202015-09-24 Sandra Loosemore <sandra@codesourcery.com>
6621
6622 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
6623 short or char as base type.
6624
938d3bf2
SL
66252015-09-23 Sandra Loosemore <sandra@codesourcery.com>
6626
6627 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
6628 to allow any size enum.
6629
e6c2c623
PMR
66302015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
6631
6632 * gdb.ada/array_ptr_renaming.exp: New testcase.
6633 * gdb.ada/array_ptr_renaming/foo.adb: New file.
6634 * gdb.ada/array_ptr_renaming/pack.ads: New file.
6635
06da0f77
PL
66362015-09-21 Pierre Langlois <pierre.langlois@arm.com>
6637
6638 * gdb.trace/ftrace-lock.c: New file.
6639 * gdb.trace/ftrace-lock.exp: New file.
6640
4f51c22a
PL
66412015-09-21 Pierre Langlois <pierre.langlois@arm.com>
6642
6643 * gdb.arch/insn-reloc.c: New file.
6644 * gdb.arch/ftrace-insn-reloc.exp: New file.
6645
7041adf4
PL
66462015-09-21 Pierre Langlois <pierre.langlois@arm.com>
6647
6648 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
6649 instruction.
6650 * gdb.trace/pendshr1.c (pendfunc): Likewise.
6651 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
6652 * gdb.trace/range-stepping.c: Likewise.
6653 * gdb.trace/trace-break.c: Likewise.
6654 * gdb.trace/trace-mt.c (thread_function): Likewise.
6655 * gdb.trace/ftrace.c (marker): Likewise.
6656 * gdb.trace/trace-condition.c (marker): Likewise.
6657 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
6658 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
6659 is_aarch64_target.
6660
015d2e7e
DE
66612015-09-18 Doug Evans <xdje42@gmail.com>
6662
6663 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
6664 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
6665
26b188a2
SL
66662015-09-18 Sandra Loosemore <sandra@codesourcery.com>
6667
6668 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
6669 the breakpoint.
6670
79dc332b
SL
66712015-09-18 Sandra Loosemore <sandra@codesourcery.com>
6672
6673 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
6674 the pending breakpoint. Remove timeout override for "Run till
6675 MI pending breakpoint on pendfunc3 on thread 2" test.
6676
f57929f2
SL
66772015-09-18 Sandra Loosemore <sandra@codesourcery.com>
6678
6679 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
6680 filename pattern.
6681
3f469b17
SL
66822015-09-18 Sandra Loosemore <sandra@codesourcery.com>
6683
6684 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
6685 in breakpoint filename pattern.
6686
515b89b3
SL
66872015-09-18 Sandra Loosemore <sandra@codesourcery.com>
6688
7800dbe4
SL
6689 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
6690
66912015-09-18 Sandra Loosemore <sandra@codesourcery.com>
6692
515b89b3
SL
6693 * gdb.linespec/explicit.exp: Check for readline support for
6694 tab-completion tests. Fix obvious typo.
6695
d2939ba2
MM
66962015-09-18 Markus Metzger <markus.t.metzger@intel.com>
6697
6698 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
6699 and replay.
6700
cbb55fa7
MM
67012015-09-18 Markus Metzger <markus.t.metzger@intel.com>
6702
6703 * gdb.btrace/non-stop.c: New.
6704 * gdb.btrace/non-stop.exp: New.
6705
43691ca1
PL
67062015-09-17 Pierre Langlois <pierre.langlois@arm.com>
6707 Yao Qi <yao.qi@linaro.org>
6708
6709 * gdb.trace/trace-condition.c: New file.
6710 * gdb.trace/trace-condition.exp: New file.
6711
d78908cf
WW
67122015-09-16 Wei-cheng Wang <cole945@gmail.com>
6713
6714 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
6715 for testing bytecode compilation.
6716
1ed415e2
PA
67172015-09-16 Pedro Alves <palves@redhat.com>
6718 Sandra Loosemore <sandra@codesourcery.com>
6719
6720 * gdb.threads/non-stop-fair-events.c (timeout): New global.
6721 (SECONDS): Redefine.
6722 (main): Call pthread_kill and alarm early.
6723 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
6724 support.
6725 (test): If the target can't hardware step and doesn't support
6726 displaced stepping, increase the timeout.
6727
d136eff5
PA
67282015-09-16 Pedro Alves <palves@redhat.com>
6729
6730 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
6731 (enable_debug): New procedures.
6732 (test): Use them. Bail out if waiting for threads fails.
6733 (top level): Bail out if a test fails.
6734
991f019c
YQ
67352015-09-16 Yao Qi <yao.qi@linaro.org>
6736
6737 * gdb.asm/asm-source.exp: Set asm-arch for
6738 aarch64*-*-* target.
6739 * gdb.asm/aarch64.inc: New file.
6740
bfca584f
PMR
67412015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
6742
6743 * gdb.ada/array_of_variable_length.exp: New testcase.
6744 * gdb.ada/array_of_variable_length/foo.adb: New file.
6745 * gdb.ada/array_of_variable_length/pck.adb: New file.
6746 * gdb.ada/array_of_variable_length/pck.ads: New file.
6747
b326e587
DE
67482015-09-15 Doug Evans <dje@google.com>
6749
6750 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
6751 of function static local variable.
6752
5382cfab
PW
67532015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6754
6755 * gdb.threads/tls-so_extern.exp: New test file.
6756 * gdb.threads/tls-so_extern.c: New test file.
6757 * gdb.threads/tls-so_extern_main.c: New test file.
6758
141c5cc4
JK
67592015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6760
6761 * gdb.opt/solib-intra-step-lib.c: New file.
6762 * gdb.opt/solib-intra-step-main.c: New file.
6763 * gdb.opt/solib-intra-step.exp: New file.
6764
d15dcecd
PA
67652015-09-15 Pedro Alves <palves@redhat.com>
6766
6767 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
6768 gdb_continue_to_breakpoint instead of gdb_test_multiple.
6769
4c2f2a79
PA
67702015-09-14 Pedro Alves <palves@redhat.com>
6771
6772 * gdb.base/hook-stop-continue.c: Delete.
6773 * gdb.base/hook-stop-continue.exp: Delete.
6774 * gdb.base/hook-stop-frame.c: Delete.
6775 * gdb.base/hook-stop-frame.exp: Delete.
6776 * gdb.base/hook-stop.c: New file.
6777 * gdb.base/hook-stop.exp: New file.
6778
919e6dbe
PMR
67792015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
6780
6781 * gdb.ada/access_to_packed_array.exp: New testcase.
6782 * gdb.ada/access_to_packed_array/foo.adb: New file.
6783 * gdb.ada/access_to_packed_array/pack.adb: New file.
6784 * gdb.ada/access_to_packed_array/pack.ads: New file.
6785
157280a4
MM
67862015-09-14 Markus Metzger <markus.t.metzger@intel.com>
6787
6788 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
6789 buffer size test.
6790
2fd33e94
DB
67912015-09-11 Don Breazeal <donb@codesourcery.com>
6792
6793 * gdb.base/foll-exec.c: Add copyright header. Fix
6794 formatting issues.
6795 * gdb.base/foll-exec.exp (zap_session): Delete proc.
6796 (do_exec_tests): Use clean_restart in place of zap_session,
6797 and for test initialization. Fix formatting issues. Use
6798 fail in place of perror.
6799 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
6800 an expect statement to match an expression with output from
6801 the program under debug.
6802 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
6803 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
6804 * gdb.threads/non-ldr-exc-2.exp: Likewise.
6805 * gdb.threads/non-ldr-exc-3.exp: Likewise.
6806 * gdb.threads/non-ldr-exc-4.exp: Likewise.
6807
e70b6e8e
DE
68082015-09-09 Doug Evans <dje@google.com>
6809
6810 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
6811
7a551a51
DE
68122015-09-09 Doug Evans <dje@google.com>
6813
6814 * gdb.base/pie-execl.exp: Fix result test of build_executable.
6815
4c666f84
DE
68162015-09-09 Doug Evans <dje@google.com>
6817
6818 * gdb.base/savedregs.exp: Fix typo.
6819
243a9253
PA
68202015-09-09 Pedro Alves <palves@redhat.com>
6821
6822 * gdb.mi/mi-cli.exp: Add CLI finish tests.
6823
c0fa8fbd
SL
68242015-09-08 Sandra Loosemore <sandra@codesourcery.com>
6825
6826 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
6827 command actually switches threads. Give up on remaining
6828 tests if target fails to stop at breakpoint.
6829
cd7c1778
PMR
68302015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
6831
6832 * gdb.ada/funcall_char.exp: New testcase.
6833 * gdb.ada/funcall_char/foo.adb: New file.
6834
dc5c8746
PMR
68352015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
6836
6837 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
6838 expected outputs. Add two testcases for completing ambiguous
6839 functions.
6840 * gdb.ada/complete/aux_pck.adb: New file.
6841 * gdb.ada/complete/aux_pck.ads: New file.
6842 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
6843 Ambiguous_Func functions.
6844 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
6845 * gdb.ada/complete/pck.adb: Likewise.
6846
4e83a1e7
UW
68472015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
6848
6849 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
6850 failures to run the test program under GDB.
6851
8ce74153
LM
68522015-08-26 Luis Machado <lgustavo@codesourcery.com>
6853
6854 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
6855 to C.
6856
e9756d52
PP
68572015-08-26 Patrick Palka <patrick@parcs.ath.cx>
6858
6859 * gdb.base/run-after-attach.exp: New test file.
6860 * gdb.base/run-after-attach.c: New test file.
6861
8d37573b
DB
68622015-08-26 Don Breazeal <donb@codesourcery.com>
6863
6864 * gdb.base/foll-exec-2.c: New test program.
6865 * gdb.base/foll-exec-2.exp: New test.
6866
63e43d3a
PMR
68672015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
6868
6869 * gdb.base/nested-subp1.exp: New file.
6870 * gdb.base/nested-subp1.c: New file.
6871 * gdb.base/nested-subp2.exp: New file.
6872 * gdb.base/nested-subp2.c: New file.
6873 * gdb.base/nested-subp3.exp: New file.
6874 * gdb.base/nested-subp3.c: New file.
6875
3d40fbb5
PA
68762015-08-24 Pedro Alves <palves@redhat.com>
6877
6878 * gdb.server/connect-without-multi-process.c: New file.
6879 * gdb.server/connect-without-multi-process.exp: New file.
6880
4422ac93
LM
68812015-08-24 Luis Machado <lgustavo@codesourcery.com>
6882
6883 * gdb.opt/inline-markers.c: Make z int.
6884
91dddb86
LM
68852015-08-24 Luis Machado <lgustavo@codesourcery.com>
6886
6887 * gdb.opt/inline-markers.c: Make z volatile.
6888
a48847ee
LM
68892015-08-24 Luis Machado <lgustavo@codesourcery.com>
6890
6891 * gdb.opt/inline-bt.c: New volatile global z.
6892 * gdb.opt/inline-cmds.c: Likewise.
6893 * gdb.opt/inline-locals.c: Likewise.
6894 * gdb.opt/inline-markers.c: New extern global z.
6895 (marker): Use z.
6896 (inline_fn): Likewise.
6897
0ebbc52b
PA
68982015-08-24 Pedro Alves <palves@redhat.com>
6899
6900 * config/m32r-stub.exp: Remove file.
6901 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
6902 * gdb.base/call-rt-st.exp: Likewise.
6903 * gdb.base/call-strs.exp: Likewise.
6904 * gdb.base/default.exp: Remove references to h8300-*-hms and
6905 *-*-udi*.
6906 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
6907
77c365df
AA
69082015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6909
6910 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
6911 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
6912 and "return" use KFAIL when GDB can not read/write the vector
6913 return value.
6914
4313b8c0
GB
69152015-08-21 Gary Benson <gbenson@redhat.com>
6916
6917 * gdb.trace/pending.exp: Cope with remote transfer warnings.
6918
0e433b32
PA
69192015-08-20 Pedro Alves <palves@redhat.com>
6920
6921 * gdb.server/solib-list.exp: No longer expect an interior stop in
6922 non-stop mode.
6923
221e1a37
PA
69242015-08-20 Pedro Alves <palves@redhat.com>
6925
6926 * gdb.server/connect-stopped-target.c: New file.
6927 * gdb.server/connect-stopped-target.exp: New file.
6928
40e3ad0e
PA
69292015-08-20 Pedro Alves <palves@redhat.com>
6930
6931 * gdb.dwarf2/comp-unit-lang.exp: New file.
6932 * gdb.dwarf2/comp-unit-lang.c: New file.
6933
af39b327
PMR
69342015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
6935
6936 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
6937 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
6938
7d45c7c3 69392015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 6940
7d45c7c3
KB
6941 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
6942 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
6943
4d6cceb4
DE
69442015-08-18 Doug Evans <dje@google.com>
6945 Adrian Sendroiu <adrian.sendroiu@freescale.com>
6946
6947 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
6948 skip_python_tests. New arg prompt_regexp.
6949 (skip_python_tests): New function.
6950 * lib/mi-support.exp (mi_skip_python_tests): New function.
6951 * gdb.python/py-mi-objfile-gdb.py: New file.
6952 * gdb.python/py-mi-objfile.c: New file.
6953 * gdb.python/py-mi-objfile.exp: New file.
6954
ad89c2aa
KS
69552015-08-17 Keith Seitz <keiths@redhat.com>
6956
6957 * gdb.linespec/explicit.exp: Move strace test from here ...
6958 * gdb.trace/strace.exp: ... to here.
6959
e3ae3c43
PP
69602015-08-15 Patrick Palka <patrick@parcs.ath.cx>
6961
6962 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
6963 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
6964
604b2636
DE
69652015-08-14 Doug Evans <xdje42@gmail.com>
6966
6967 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
6968 inferior before selecting a new file.
6969
6ff0ba5f
DE
69702015-08-14 Doug Evans <xdje42@gmail.com>
6971
6972 * gdb.mi/mi-disassemble.exp: Update.
6973 * gdb.base/disasm-optim.S: New file.
6974 * gdb.base/disasm-optim.c: New file.
6975 * gdb.base/disasm-optim.h: New file.
6976 * gdb.base/disasm-optim.exp: New file.
6977
9ca98f92
KS
69782015-08-14 Keith Seitz <keiths@redhat.com>
6979
6980 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
6981 "evaluated-by".
6982
52bbc560
JB
69832015-08-13 Joel Brobecker <brobecker@adacore.com>
6984
6985 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
6986
5d8c3ed3
PMR
69872015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
6988
6989 * gdb.ada/fun_renaming.exp: New testcase.
6990 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
6991 * gdb.ada/fun_renaming/pack.adb: New file.
6992 * gdb.ada/fun_renaming/pack.ads: New file.
6993
ea8812bc
KS
69942015-08-12 Keith Seitz <keiths@redhat.com>
6995
6996 * gdb.base/dso2dso.exp: Pass basename of source file in call to
6997 gdb_get_line_number.
6998
4dafcdeb
JB
69992015-08-12 Joel Brobecker <brobecker@adacore.com>
7000
7001 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
7002 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
7003 gdb.base/dso2dso.exp: New files.
7004
5ba32597
SDJ
70052015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
7006 Pedro Alves <palves@redhat.com>
7007 Keith Seitz <keiths@redhat.com>
7008
7009 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
7010 GDBFLAGS.
7011
b6dafabf
PP
70122015-08-12 Patrick Palka <patrick@parcs.ath.cx>
7013
7014 * gdb.base/gdbhistsize-history.exp
7015 (test_histsize_history_setting): Use save_vars.
7016 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
7017 Use save_vars.
7018 (test_no_truncation_of_unlimited_history_file): Use save_vars.
7019 * gdb.base/readline.exp: Use save_vars.
7020
abe8e607
PP
70212015-08-12 Patrick Palka <patrick@parcs.ath.cx>
7022
7023 * lib/gdb.exp (save_vars): New proc.
7024
629500fa
KS
70252015-08-11 Keith Seitz <keiths@redhat.com>
7026
7027 * gdb.base/help.exp: Update help_breakpoint_text.
7028
eb8c4e2e
KS
70292015-08-11 Keith Seitz <keiths@redhat.com>
7030
7031 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
7032 (at toplevel): Call test_explicit_breakpoints.
7033 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
7034 breakpoints.
7035 * lib/mi-support.exp (mi_make_breakpoint): Add support for
7036 breakpoint conditions, "-cond".
7037
87f0e720
KS
70382015-08-11 Keith Seitz <keiths@redhat.com>
7039
7040 * gdb.linespec/3explicit.c: New file.
7041 * gdb.linespec/cpexplicit.cc: New file.
7042 * gdb.linespec/cpexplicit.exp: New file.
7043 * gdb.linespec/explicit.c: New file.
7044 * gdb.linespec/explicit.exp: New file.
7045 * gdb.linespec/explicit2.c: New file.
7046 * gdb.linespec/ls-errs.exp: Add explicit location tests.
7047 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
7048 before using in the matching pattern.
7049 Clarify that `prefix' is a regular expression.
7050
f00aae0f
KS
70512015-08-11 Keith Seitz <keiths@redhat.com>
7052
7053 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
7054 test.
7055 Add tests for missing ",FMT" and ",".
7056
e27852be
DE
70572015-08-10 Doug Evans <dje@google.com>
7058 Keith Seitz <keiths@redhat.com>
7059
7060 PR gdb/17960
7061 * gdb.base/completion.exp: Add location completer tests.
7062
7f03bd92
PA
70632015-08-07 Pedro Alves <palves@redhat.com>
7064
7065 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
7066 tests here.
7067 (top level): Run do_test with and without displaced stepping.
7068
3fc8eb30
PA
70692015-08-07 Pedro Alves <palves@redhat.com>
7070
7071 * gdb.base/valgrind-disp-step.c: New file.
7072 * gdb.base/valgrind-disp-step.exp: New file.
7073
d4569d7b
PA
70742015-08-07 Pedro Alves <palves@redhat.com>
7075
7076 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
7077 Delete function.
7078 (main): Add alarm. Run an infinite loop instead of calling
7079 wait_threads.
7080 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
7081 comment.
7082 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
7083 Delete function.
7084 (main): Add alarm. Run an infinite loop instead of calling
7085 wait_threads.
7086 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
7087 comment.
7088
e1316e60
PA
70892015-08-07 Pedro Alves <palves@redhat.com>
7090
7091 * gdb.base/checkpoint-ns.exp: New file.
7092 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
7093 standard_testfile.
7094
da8c46d2
MM
70952015-08-07 Markus Metzger <markus.t.metzger@intel.com>
7096
7097 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
7098 * gdb.btrace/instruction_history.exp: Update.
7099 * gdb.btrace/tsx.exp: New.
7100 * gdb.btrace/tsx.c: New.
7101
de1c2c52
PA
71022015-08-06 Pedro Alves <palves@redhat.com>
7103
7104 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
7105 increase timeout.
7106 * gdb.reverse/until-precsave.exp: Bump timeouts.
7107
782e0bf4
PA
71082015-08-06 Pedro Alves <palves@redhat.com>
7109
7110 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
7111
83e97ed0
PA
71122015-08-06 Pedro Alves <palves@redhat.com>
7113
7114 PR gdb/18749
7115 * gdb.threads/process-dies-while-handling-bp.c: New file.
7116 * gdb.threads/process-dies-while-handling-bp.exp: New file.
7117
863d01bd
PA
71182015-08-06 Pedro Alves <palves@redhat.com>
7119
7120 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
7121 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
7122
0a39bb32
PA
71232015-08-05 Pedro Alves <palves@redhat.com>
7124
7125 * gdb.threads/next-while-other-thread-longjmps.c: New file.
7126 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
7127
ee2d2b10
SL
71282015-08-03 Sandra Loosemore <sandra@codesourcery.com>
7129
7130 * gdb.base/bp-permanent.exp: Report test as unsupported if
7131 the target cannot stop at the permanent breakpoint.
7132
4e1bdb00
DE
71332015-08-03 Doug Evans <dje@google.com>
7134
7135 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
7136 10000.
7137
3d338901
DE
71382015-08-03 Doug Evans <dje@google.com>
7139
7140 * Makefile.in (workers/%.worker, build-perf): New rule.
7141 (GDB_PERFTEST_MODE): New variable.
7142 (check-perf): Use it.
7143 (clean): Clean up gdb.perf parallel build subdirs.
7144 * lib/build-piece.exp: New file.
7145 * lib/gdb.exp (make_gdb_parallel_path): New function
7146 (standard_output_file, standard_temp_file): Call it.
7147 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
7148 of $GDB_PARALLEL.
7149 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
7150
af061d3e
DE
71512015-08-03 Doug Evans <dje@google.com>
7152
8e1afc81 7153 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
7154 (LOG_FILE_NAME): New global.
7155 (TextReporter.__init__): Initialize self.txt_sum.
7156 (TextReporter.report): Add support for multiple data-points.
7157 Move report to perftest.sum, put raw data in perftest.log.
7158 (TextReporter.start): Open sum and log files.
7159 (TextReporter.end): Close sum and log files.
8e1afc81
DE
7160 * gdb.perf/lib/perftest/testresult.py
7161 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 7162
2c8c5d37
PA
71632015-07-31 Pedro Alves <palves@redhat.com>
7164
7165 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
7166 Use spawn_id_get_pid. Wait for spawn id after eof. Use
7167 kill_wait_spawned_process instead of explicit "kill -9".
7168 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
7169 returning a spawn id instead of a pid. Use spawn_id_get_pid and
7170 kill_wait_spawned_process.
7171 * gdb.base/attach-twice.exp: Likewise.
7172 * gdb.base/attach.exp: Likewise.
7173 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
7174 gdb_test_multiple.
7175 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
7176 returning a spawn id instead of a pid. Use spawn_id_get_pid and
7177 kill_wait_spawned_process.
7178 * gdb.base/valgrind-infcall.exp: Likewise.
7179 * gdb.multi/multi-attach.exp: Likewise.
7180 * gdb.python/py-prompt.exp: Likewise.
7181 * gdb.python/py-sync-interp.exp: Likewise.
7182 * gdb.server/ext-attach.exp: Likewise.
7183 * gdb.threads/attach-into-signal.exp (corefunc): Use
7184 spawn_wait_for_attach, spawn_id_get_pid and
7185 kill_wait_spawned_process.
7186 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
7187 spawn_wait_for_attach returning a spawn id instead of a pid. Use
7188 spawn_id_get_pid and kill_wait_spawned_process.
7189 * gdb.threads/attach-stopped.exp (corefunc): Use
7190 spawn_wait_for_attach, spawn_id_get_pid and
7191 kill_wait_spawned_process.
7192 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
7193 Use spawn_id_get_pid. Wait for spawn id after eof. Use
7194 kill_wait_spawned_process instead of explicit "kill -9".
7195 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
7196 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
7197 (spawn_wait_for_attach): Use spawn instead of exec to spawn
7198 processes. Don't map cygwin/windows pids here. Now returns a
7199 spawn id list.
7200
032a0fca
SL
72012015-07-30 Sandra Loosemore <sandra@codesourcery.com>
7202
7203 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
7204 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
7205 correct patch.
7206
61a934ca
SL
72072015-07-30 Sandra Loosemore <sandra@codesourcery.com>
7208
7209 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
7210
4bc4d428
SL
72112015-07-30 Sandra Loosemore <sandra@codesourcery.com>
7212
7213 Reapply:
7214 2014-05-21 Mark Wielaard <mjw@redhat.com>
7215
7216 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7217
998d452a
PA
72182015-07-30 Pedro Alves <palves@redhat.com>
7219
7220 * linux-low.c (handle_extended_wait): Set the child's last
7221 reported status to TARGET_WAITKIND_STOPPED.
7222
69dde7dc
PA
72232015-07-30 Pedro Alves <palves@redhat.com>
7224
7225 PR threads/18600
7226 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
7227 only shows inferior 1.
7228
4dd63d48
PA
72292015-07-30 Simon Marchi <simon.marchi@ericsson.com>
7230 Pedro Alves <palves@redhat.com>
7231
7232 PR threads/18600
7233 * gdb.threads/fork-plus-threads.c: New file.
7234 * gdb.threads/fork-plus-threads.exp: New file.
7235
d618e4c5
PP
72362015-07-29 Patrick Palka <patrick@parcs.ath.cx>
7237
7238 * gdb.base/batch-preserve-term-settings.exp
7239 (test_terminal_settings_preserved_after_cli_exit): Use
7240 send_quit_command.
7241
1eef6428
PA
72422015-07-29 Pedro Alves <palves@redhat.com>
7243 Don Breazeal <donb@codesourcery.com>
7244
7245 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
7246 output from both inferior_spawn_id and gdb_spawn_id.
7247
7da5b897
SDJ
72482015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
7249
7250 * gdb.threads/attach-into-signal.exp (corefunc): Use
7251 with_test_prefix on nested loops, uniquefying the test messages.
7252
dac804df
SDJ
72532015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
7254
7255 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
7256 commit.
7257
06265e53
PP
72582015-07-29 Patrick Palka <patrick@parcs.ath.cx>
7259
7260 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
7261 New proc.
7262 (test_terminal_settings_preserved_after_sigterm): New test.
7263
18206ca3
PP
72642015-07-29 Patrick Palka <patrick@parcs.ath.cx>
7265
7266 * gdb.base/batch-preserve-term-settings.exp
7267 (test_terminal_settings_preserved_after_cli_exit): New test.
7268
90074d11
PP
72692015-07-29 Patrick Palka <patrick@parcs.ath.cx>
7270
7271 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
7272 manipulation of saved_gdbflags.
7273 (test_terminal_settings_preserved): Remove global declaration of
7274 the unused variable pagination_prompt. Remove manipulation of
7275 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
7276 GDBFLAGS.
7277
eb1a7902
PA
72782015-07-29 Pedro Alves <palves@redhat.com>
7279
7280 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
7281
8b75dd3b
PA
72822015-07-29 Pedro Alves <palves@redhat.com>
7283
7284 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
7285 at the top.
7286
dedad4e3
PA
72872015-07-29 Pedro Alves <palves@redhat.com>
7288
7289 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
7290 (main): Call gdb_unbuffer_output.
7291 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
7292 (main): Call gdb_unbuffer_output.
7293 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
7294 (main): Call gdb_unbuffer_output.
7295 * gdb.base/call-strs.exp: Adjust to step over the
7296 gdb_unbuffer_output call.
7297 * gdb.base/catch-gdb-caused-signals.c: Include
7298 "../lib/unbuffer_output.c".
7299 (main): Call gdb_unbuffer_output.
7300 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
7301 (main): Call gdb_unbuffer_output.
7302 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
7303 (main): Call gdb_unbuffer_output.
7304 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
7305 (main): Call gdb_unbuffer_output.
7306 * gdb.base/shlib-call.exp: Adjust to step over the
7307 gdb_unbuffer_output call.
7308 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
7309 (main): Call gdb_unbuffer_output.
7310 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
7311 (main): Call gdb_unbuffer_output.
7312 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
7313 (main): Rename to ...
7314 (test): ... this.
7315 (main): Reimplement.
7316 * gdb.base/varargs.exp: Run to test instead of to main.
7317 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
7318 (main): Call gdb_unbuffer_output.
7319
58789a91
PA
73202015-07-29 Pedro Alves <palves@redhat.com>
7321
7322 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
7323 factore out from mi_continue_dprintf. For call-style dprintfs,
7324 expect dprintf output out of $inferior_spawn_id.
7325 (mi_continue_dprintf): Use mi_expect_dprintf.
7326 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
7327 (main): Call gdb_unbuffer_output.
7328
e8376742
PA
73292015-07-29 Pedro Alves <palves@redhat.com>
7330
7331 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
7332 (default_mi_gdb_start): Set inferior_spawn_id instead of
7333 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
7334 gdb_spawn_id.
7335 (mi_gdb_test): Always expect inferior output from both
7336 $inferior_spawn_id and $gdb_spawn_id.
7337
08280010
PA
73382015-07-29 Pedro Alves <palves@redhat.com>
7339
7340 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
7341 send_inferior and $inferior_spawn_id.
7342
4d30e432
PA
73432015-07-29 Pedro Alves <palves@redhat.com>
7344
7345 * gdb.gdb/complaints.exp (test_initial_complaints)
7346 (test_serial_complaints, test_short_complaints): Use
7347 gdb_test_stdio.
7348 (test_empty_complaint): Handle $inferior_spawn_id !=
7349 $gdb_spawn_id.
7350
0d30a335
PA
73512015-07-29 Pedro Alves <palves@redhat.com>
7352
7353 * gdb.base/varargs.exp: Use gdb_test_stdio.
7354
39413b29
PA
73552015-07-29 Pedro Alves <palves@redhat.com>
7356
7357 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
7358
7cb000a9
PA
73592015-07-29 Pedro Alves <palves@redhat.com>
7360
7361 * gdb.base/ending-run.exp: Use gdb_test_stdio.
7362
d7b8ac82
PA
73632015-07-29 Pedro Alves <palves@redhat.com>
7364
7365 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
7366 parameter into two new parameters, "inf_result" and "gdb_result".
7367 Expect inferior output and gdb output from $inferior_spawn_id and
7368 $gdb_spawn_id, respectively. Adjust all callers.
7369
789c3a0c
PA
73702015-07-29 Pedro Alves <palves@redhat.com>
7371
7372 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
7373 of gdb_test_sequence.
7374
77e760c3
PA
73752015-07-29 Pedro Alves <palves@redhat.com>
7376
7377 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
7378 (saw_spurious_output): Expect inferior output from
7379 $inferior_spawn_id. Use gdb_test_stdio.
7380
8396d2cd
PA
73812015-07-29 Pedro Alves <palves@redhat.com>
7382
7383 * gdb.base/dprintf.exp: Use standard_testfile. Change
7384 prepare_for_testing call.
7385 (srcfile): Don't set.
7386 (restart): New procedure.
7387 (test_dprintf): New procecure, use to continue over dprintfs.
7388 (test_call, test_agent): New procedures, tests moved here.
7389 Restart gdb and recreate dprintfs. Adjust expected output.
7390
2051d61f
PA
73912015-07-29 Pedro Alves <palves@redhat.com>
7392
7393 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
7394
452397af
PA
73952015-07-29 Pedro Alves <palves@redhat.com>
7396
7397 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
7398
8aed9555
PA
73992015-07-29 Pedro Alves <palves@redhat.com>
7400
7401 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
7402 gdb_test_stdio.
7403
188a61b4
PA
74042015-07-29 Pedro Alves <palves@redhat.com>
7405
7406 * lib/gdb.exp (gdb_test_stdio): New procedure.
7407
12264a45
PA
74082015-07-29 Pedro Alves <palves@redhat.com>
7409
7410 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
7411
23ffc893
PA
74122015-07-29 Pedro Alves <palves@redhat.com>
7413
7414 * gdb.base/call-signal-resume.exp: Remove check for
7415 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
7416 * gdb.base/unwindonsignal.exp: Likewise.
7417 * gdb.base/call-signals.c (gen_signal): Remove printf call.
7418 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
7419
65566918
PA
74202015-07-29 Pedro Alves <palves@redhat.com>
7421
7422 * gdb.base/siginfo-addr.c (pass): New function.
7423 (handler): Call it iff si_addr is correct.
7424 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
7425 Set a breakpoint at "pass" and continue to it.
7426
d60a9221
SDJ
74272015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
7428
7429 * gdb.python/py-objfile.exp: Make some tests have unique names.
7430 * gdb.python/py-pp-registration.exp: Likewise.
7431
bde40b8f
PA
74322015-07-28 Pedro Alves <palves@redhat.com>
7433
7434 * gdb.server/server-exec-info.exp: Issue a "disconnect".
7435
13e1dec8
SM
74362015-07-27 Simon Marchi <simon.marchi@ericsson.com>
7437
7438 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
7439
da33c9a7
SM
74402015-07-27 Simon Marchi <simon.marchi@ericsson.com>
7441
7442 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
7443
077836f7
PP
74442015-07-27 Patrick Palka <patrick@parcs.ath.cx>
7445
7446 * gdb.base/gdb-sigterm-2.exp: New test.
7447
b8cc7b2e
DE
74482015-07-25 Doug Evans <xdje42@gmail.com>
7449
7450 Revert:
7451 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
7452 (workers/%.worker, build-perf): New rule.
7453 (GDB_PERFTEST_MODE): New variable.
7454 (check-perf): Use it.
7455 (clean): Clean up gdb.perf parallel build subdirs.
7456 * lib/build-piece.exp: New file.
7457 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
7458 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
7459 name.
7460 (standard_temp_file): Ditto.
7461 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
7462 of $GDB_PARALLEL.
7463
c8bd4544
DE
74642015-07-24 Doug Evans <dje@google.com>
7465
7466 * gdb.perf/lib/perftest/utils.py: New file.
7467 * gdb.perf/gm-hello.cc: New file.
7468 * gdb.perf/gm-pervasive-typedef.cc: New file.
7469 * gdb.perf/gm-pervasive-typedef.h: New file.
7470 * gdb.perf/gm-std.cc: New file.
7471 * gdb.perf/gm-std.h: New file.
7472 * gdb.perf/gm-use-cerr.cc: New file.
7473 * gdb.perf/gm-utils.h: New file.
7474 * gdb.perf/gmonster-null-lookup.py: New file.
7475 * gdb.perf/gmonster-pervasive-typedef.py: New file.
7476 * gdb.perf/gmonster-print-cerr.py: New file.
7477 * gdb.perf/gmonster-ptype-string.py: New file.
7478 * gdb.perf/gmonster-runto-main.py: New file.
7479 * gdb.perf/gmonster-select-file.py: New file.
7480 * gdb.perf/gmonster1-null-lookup.exp: New file.
7481 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
7482 * gdb.perf/gmonster1-print-cerr.exp: New file.
7483 * gdb.perf/gmonster1-ptype-string.exp: New file.
7484 * gdb.perf/gmonster1-runto-main.exp: New file.
7485 * gdb.perf/gmonster1-select-file.exp: New file.
7486 * gdb.perf/gmonster1.cc: New file.
7487 * gdb.perf/gmonster1.exp: New file.
7488 * gdb.perf/gmonster2-null-lookup.exp: New file.
7489 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
7490 * gdb.perf/gmonster2-print-cerr.exp: New file.
7491 * gdb.perf/gmonster2-ptype-string.exp: New file.
7492 * gdb.perf/gmonster2-runto-main.exp: New file.
7493 * gdb.perf/gmonster2-select-file.exp: New file.
7494 * gdb.perf/gmonster2.cc: New file.
7495 * gdb.perf/gmonster2.exp: New file.
7496
6eab34f3
DE
74972015-07-24 Doug Evans <dje@google.com>
7498
7499 * gdb.perf/README: New file.
7500 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
7501 * lib/gen-perf-test.exp: New file.
7502
63738bfd
DE
75032015-07-24 Doug Evans <dje@google.com>
7504
7505 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
7506 (PerfTest::startup): New function.
7507 (PerfTest::run): Return result of calling body.
7508 (PerfTest::assemble): Rewrite.
7509 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
7510 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
7511 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
7512 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
7513 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
7514
7b606f95
DE
75152015-07-24 Doug Evans <dje@google.com>
7516
7517 * lib/gdb.exp (clean_restart): Make executable optional.
7518
a97b16b8
DE
75192015-07-24 Doug Evans <dje@google.com>
7520
7521 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
7522 compiler_info references.
7523 * gdb.cp/temargs.exp: Ditto.
7524 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
7525 (get_compiler_info): Early exit if already computed. Set compiler_info
7526 to "unknown" if there was a problem.
7527 (test_compiler_info): Add function comment. Call get_compiler_info.
7528
35baa57f
DE
75292015-07-24 Doug Evans <dje@google.com>
7530
7531 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
7532 (workers/%.worker, build-perf): New rule.
7533 (GDB_PERFTEST_MODE): New variable.
7534 (check-perf): Use it.
7535 (clean): Clean up gdb.perf parallel build subdirs.
7536 * lib/build-piece.exp: New file.
7537 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
7538 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
7539 name.
7540 (standard_temp_file): Ditto.
7541 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
7542 of $GDB_PARALLEL.
7543
6ebea266
DE
75442015-07-24 Doug Evans <dje@google.com>
7545
7546 * lib/future.exp (gdb_default_target_compile): New option
7547 "early_flags".
7548 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
7549 --as-needed.
7550
1e76a7e9
SDJ
75512015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
7552
7553 * gdb.base/catch-syscall.exp: Call gdb_exit before
7554 gdb_skip_xml_test.
7555
5068630a
PA
75562015-07-24 Pedro Alves <palves@redhat.com>
7557
7558 * gdb.python/py-events.exp: Accept output between the stop event
7559 and the prompt.
7560 * gdb.python/py-evsignal.exp: Likewise.
7561 * gdb.python/py-evthreads.exp: Likewise.
7562
77598427
PA
75632015-07-24 Pedro Alves <palves@redhat.com>
7564
7565 PR gdb/18717
7566 * gdb.threads/non-ldr-exit.c: New file.
7567 * gdb.threads/non-ldr-exit.exp: New file.
7568
11e6c98f
YQ
75692015-07-24 Yao Qi <yao.qi@linaro.org>
7570
7571 * gdb.server/ext-wrapper.exp: Test --wrapper option when
7572 restarting process.
7573
51aee833
YQ
75742015-07-24 Yao Qi <yao.qi@linaro.org>
7575
7576 * gdb.server/ext-restart.exp: New file.
7577
8cfe207c
YQ
75782015-07-24 Yao Qi <yao.qi@linaro.org>
7579
7580 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
7581 argument options.
7582 * gdb.server/ext-wrapper.exp: New file.
7583
cc12ce38
DE
75842015-07-23 Doug Evans <dje@google.com>
7585
7586 * gdb.dwarf2/dw2-dummy-cu.S: New file.
7587 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
7588
d0d84780
PMR
75892015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
7590
7591 * gdb.ada/var_arr_typedef.exp: New testcase.
7592 * gdb.ada/var_arr_typedef/pack.adb: New file.
7593 * gdb.ada/var_arr_typedef/pack.ads: New file.
7594 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
7595
8b558f79
JB
75962015-07-20 Joel Brobecker <brobecker@adacore.com>
7597
7598 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
7599
775a3298
JK
76002015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7601
7602 * gdb.arch/i386-biarch-core.exp: Replace istarget
7603 by "complete set gnutarget". Remove expectation for the "core-file"
7604 command.
7605
db1ff28b
JK
76062015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7607
7608 Revert the previous commit:
7609 Tests for validate symbol file using build-id.
7610
0a94970d
JK
76112015-07-15 Aleksandar Ristovski <aristovski@qnx.com
7612
7613 Tests for validate symbol file using build-id.
7614 * gdb.base/solib-mismatch-lib.c: New file.
7615 * gdb.base/solib-mismatch-libmod.c: New file.
7616 * gdb.base/solib-mismatch.c: New file.
7617 * gdb.base/solib-mismatch.exp: New file.
7618
03346981
SL
76192015-07-15 Sandra Loosemore <sandra@codesourcery.com>
7620
7621 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
7622 nios2-*-linux*.
7623 * gdb.base/sigbpt.exp (stepi_out): Likewise.
7624 * gdb.base/siginfo.exp: Likewise.
7625 * gdb.base/sigstep.exp (advance, advancei): Likewise.
7626
42422cc7
PL
76272015-07-15 Pierre Langlois <pierre.langlois@arm.com>
7628
7629 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
7630 Move it to ...
7631 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
7632 ... here.
7633 * gdb.trace/range-stepping.exp: Check that the target supports
7634 range stepping.
7635
cfa68bae
JK
76362015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7637
7638 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
7639
8ffdba26
PA
76402015-07-14 Pedro Alves <palves@redhat.com>
7641
7642 * gdb.base/killed-outside.exp: New file.
7643 * gdb.base/killed-outside.c: New file.
7644
218a5a11
JK
76452015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7646
7647 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
7648 (n at main): New.
7649 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
7650
e03ed3c6
AA
76512015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7652
7653 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
7654 infcall tests instead of setting up for KFAIL.
7655
485668e5
MM
76562015-07-10 Markus Metzger <markus.t.metzger@intel.com>
7657
7658 * gdb.btrace/record_goto-step.exp: New.
7659
08464196
JK
76602015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7661
7662 PR compile/18484
7663 * gdb.compile/compile.c (struct struct_type): Add volatile to
7664 selffield's type.
7665 * gdb.compile/compile.exp
7666 (compile code struct_object.selffield = &struct_object): Skip further
7667 struct_object tests if this one xfails.
7668
bcf5c1d9
RC
76692015-07-08 Robert O'Callahan <robert@ocallahan.org>
7670
7671 PR exp/18617
7672 * gdb.trace/ax.exp: Add test.
7673
4931af25
YQ
76742015-07-07 Yao Qi <yao.qi@linaro.org>
7675
7676 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
7677 instead of istarget "aarch64*-*-*".
7678 * gdb.arch/aarch64-fp.exp: Likewise.
7679 * gdb.base/float.exp: Likewise.
7680 * gdb.reverse/aarch64.exp: Likewise.
7681 * lib/gdb.exp (is_aarch64_target): New proc.
7682
9fcf688e
YQ
76832015-07-07 Yao Qi <yao.qi@linaro.org>
7684
7685 * lib/gdb.exp (is_aarch32_target): New proc.
7686 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
7687 instead of "istarget "arm*-*-*"".
7688 * gdb.arch/arm-disp-step.exp: Likewise.
7689 * gdb.arch/thumb-bx-pc.exp: Likewise.
7690 * gdb.arch/thumb-prologue.exp: Likewise.
7691 * gdb.arch/thumb-singlestep.exp: Likewise.
7692 * gdb.base/disp-step-syscall.exp: Likewise.
7693 * gdb.base/float.exp: Likewise.
7694
fbd8d50d
YQ
76952015-07-07 Yao Qi <yao.qi@linaro.org>
7696
7697 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
7698 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
7699
71be1fdc
YQ
77002015-07-07 Yao Qi <yao.qi@linaro.org>
7701
7702 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
7703 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
7704 if it exists.
7705 * gdb.multi/multi-arch.exp: Likewise.
7706
3e221d36
SM
77072015-07-07 Simon Marchi <simon.marchi@ericsson.com>
7708
7709 * gdb.python/py-lazy-string.exp: Add missing parentheses to
7710 print.
7711
d441430b
YQ
77122015-07-07 Yao Qi <yao.qi@linaro.org>
7713
7714 * gdb.arch/thumb-singlestep.exp: Do one more single step.
7715
06f810bd
MG
77162015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
7717
7718 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
7719 '[' and ']' characters.
7720
5e61e7c0
IB
77212015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
7722
7723 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
7724
28bf096c
PA
77252015-06-29 Pedro Alves <palves@redhat.com>
7726
7727 PR threads/18127
7728 * gdb.threads/hand-call-new-thread.c: New file.
7729 * gdb.threads/hand-call-new-thread.c: New file.
7730
ee93cd5e
KS
77312015-06-26 Keith Seitz <keiths@redhat.com>
7732 Doug Evans <dje@google.com>
7733
7734 PR 16253
7735 * gdb.cp/var-tag-2.cc: New file.
7736 * gdb.cp/var-tag-3.cc: New file.
7737 * gdb.cp/var-tag-4.cc: New file.
7738 * gdb.cp/var-tag.cc: New file.
7739 * gdb.cp/var-tag.exp: New file.
7740
fc637f04
PP
77412015-06-26 Patrick Palka <patrick@parcs.ath.cx>
7742
7743 * gdb.base/history-duplicates.exp: New test.
7744
2e52ae68
PP
77452015-06-26 Patrick Palka <patrick@parcs.ath.cx>
7746
7747 * gdb.base/completion.exp: Test the completion of the "focus"
7748 command.
7749
6e22494e
JK
77502015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7751
7752 * gdb.arch/amd64-prologue-skip.S: New file.
7753 * gdb.arch/amd64-prologue-skip.exp: New file.
7754
bf7b9cd9
SM
77552015-06-25 Simon Marchi <simon.marchi@ericsson.com>
7756
7757 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
7758 is_address_zero_readable check.
7759
201e8dfd
PB
77602015-06-24 Peter Bergner <bergner@vnet.ibm.com>
7761
7762 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
7763 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
7764
5cd867b4
YQ
77652015-06-24 Yao Qi <yao.qi@linaro.org>
7766
7767 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
7768 linux targets.
7769
4d7be007
YQ
77702015-06-24 Yao Qi <yao.qi@linaro.org>
7771
7772 * lib/gdb.exp (supports_get_siginfo_type): New proc.
7773 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
7774 * gdb.base/siginfo-thread.exp: Likewise.
7775
07fcd301
YQ
77762015-06-22 Yao Qi <yao.qi@linaro.org>
7777
7778 * boards/remote-gdbserver-on-localhost.exp: Add comments.
7779
52042a00
YQ
77802015-06-22 Yao Qi <yao.qi@linaro.org>
7781
7782 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
7783 aarch64*-*-*.
7784 (skip_hw_watchpoint_tests): Likewise.
7785
74bd41ce
PP
77862015-06-18 Patrick Palka <patrick@parcs.ath.cx>
7787
7788 * gdb.base/gdbinit-history.exp: Test the interaction between
7789 setting GDBHISTSIZE and setting the history size via .gdbinit.
7790
bc460514
PP
77912015-06-17 Patrick Palka <patrick@parcs.ath.cx>
7792
7793 PR gdb/16999
7794 * gdb.base/gdbhistsize-history.exp: New test.
7795
b58c513b
PP
77962015-06-17 Patrick Palka <patrick@parcs.ath.cx>
7797
7798 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
7799 with GDBHISTSIZE.
7800 * gdb.base/readline.exp: Likewise.
7801
92046791
YQ
78022015-06-17 Yao Qi <yao.qi@linaro.org>
7803
7804 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
7805 line.
7806
2093d2d3
PP
78072015-06-17 Patrick Palka <patrick@parcs.ath.cx>
7808
7809 * gdb.base/gdbinit-history.exp: Add test case to check that
7810 an unlimited history file does not get truncated on exit.
7811
e6c693af
AA
78122015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7813
7814 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
7815 (VECTOR): New macro. Use it...
7816 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
7817 ...for these typedefs.
7818 (int8, char1, int1, double1): New typedefs.
7819 (struct just_int2, struct two_int2): New structures.
7820 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
7821 (add_structvecs, add_singlevecs): New functions.
7822 (main): Call add_some_intvecs twice.
7823 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
7824 the compile and exit upon failure. Try compiling for the "native"
7825 architecture. Test inferior function calls with vector arguments
7826 and vector return value handling with "finish" and "return".
7827
c74f7d1c
JT
78282015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
7829
7830 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
7831 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
7832 PE file.
7833 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
7834
98aa42ee
AT
78352015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
7836
7837 PR breakpoints/16465
7838 * gdb.mi/mi-dprintf-pending.c: New file.
7839 * gdb.mi/mi-dprintf-pending.exp: New test.
7840 * gdb.mi/mi-dprintf-pendshr.c: New file.
7841
7d73c23c 78422015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 7843 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
7844
7845 * gdb.arch/i386-mpx-map.c: New file.
7846 * gdb.arch/i386-mpx-map.exp: New File.
7847
78482015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
7849
7850 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
7851 * gdb.arch/i386-mpx.exp: Indentation fixed.
7852
78532015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
7854
7855 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
7856 function and improved indentation.
7857 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
7858 gdb_test_multiple. Added additional tests to skip the test.
7859
78602015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
7861
7862 * gdb.arch/i386-avx512.c: Change path in include file.
7863 * gdb.arch/i386-avx512.exp: Change include dir path
7864 compilation flag.
7865 * gdb.arch/i386-mpx.c: Change path in include file.
7866 * gdb.arch/i386-mpx.exp: Change include dir path compilation
7867 flag.
7868
d5eba19a
JK
78692015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7870
7871 * gdb.compile/compile-print.exp (compile print *vararray@3)
7872 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
7873
7f361056
JK
78742015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7875
7876 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
7877 (do not keep jit in memory): ... this.
7878 (expect 5): Change it to ...
7879 (expect no 5): ... this.
7880
3b462ec2
SM
78812015-06-02 Simon Marchi <simon.marchi@ericsson.com>
7882
7883 PR gdb/15564
7884 * gdb.mi/mi-detach.exp: New file.
7885
e0619de6
JK
78862015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7887
7888 PR symtab/18392
7889 * gdb.arch/amd64-tailcall-self.S: New file.
7890 * gdb.arch/amd64-tailcall-self.c: New file.
7891 * gdb.arch/amd64-tailcall-self.exp: New file.
7892
e970cb34
DB
78932015-05-28 Don Breazeal <donb@codesourcery.com>
7894
7895 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
7896 tests for remote targets by checking is_target_gdbserver.
7897
b2e2f908
DE
78982015-05-27 Doug Evans <dje@google.com>
7899
7900 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
7901 * gdb.dwarf2/opaque-type-lookup.c: New file.
7902 * gdb.dwarf2/opaque-type-lookup.exp: New file.
7903
82c7be31
DE
79042015-05-26 Doug Evans <dje@google.com>
7905
7906 * gdb.cp/iostream.cc: New file.
7907 * gdb.cp/iostream.exp: New file.
7908
b4f54984
DE
79092015-05-26 Doug Evans <dje@google.com>
7910
7911 * gdb.dwarf2/dw2-op-call.exp: Update.
7912 * gdb.dwarf2/dw4-sig-types.exp: Update.
7913 * gdb.dwarf2/implptr.exp: Update.
7914 * gdb.mi/mi-cmd-param-changed.exp: Update.
7915
4ea6efe9
DE
79162015-05-26 Doug Evans <dje@google.com>
7917
7918 * gdb.python/py-lazy-string.c: New file.
7919 * gdb.python/py-lazy-string.exp: New file.
7920 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
7921 (main): Update. Add estring3.
7922 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
7923 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
7924
f6bb7db3
YQ
79252015-05-26 Omair Javaid <omair.javaid@linaro.org>
7926 Yao Qi <yao.qi@linaro.org>
7927
7928 * gdb.reverse/aarch64.c: New.
7929 * gdb.reverse/aarch64.exp: New.
7930
a81bfbd0
OJ
79312015-05-26 Omair Javaid <omair.javaid@linaro.org>
7932
25d49b86
PA
7933 * lib/gdb.exp (supports_process_record): Return true for
7934 aarch64*-linux*.
a81bfbd0
OJ
7935 (supports_reverse): Likewise.
7936
158bf1b4
PP
79372015-05-22 Patrick Palka <patrick@parcs.ath.cx>
7938
7939 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
7940 Use with_test_prefix.
7941
a0145030
AB
79422015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
7943
7944 * gdb.base/completion.exp: Add test for completion of layout
7945 names.
7946
ebe3b578
AB
79472015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
7948
7949 * lib/gdb.exp (skip_tui_tests): New proc.
7950 * gdb.base/tui-layout.exp: Check skip_tui_tests.
7951
84204ed7
PA
79522015-05-19 Pedro Alves <palves@redhat.com>
7953
7954 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
7955 Save the whole env array instead of just HOME. Unset HISTSIZE in
7956 the environment while testing. Restore whole environment
7957 afterwards.
7958
37442ce1
DE
79592015-05-16 Doug Evans <xdje42@gmail.com>
7960
7961 * gdb.guile/scm-ports.c: New file.
7962 * gdb.guile/scm-ports.exp: Add memory port tests.
7963
36de76f9
JK
79642015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7965
7966 * gdb.compile/compile-print.c: New file.
7967 * gdb.compile/compile-print.exp: New file.
7968
3a9558c4
JK
79692015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7970
7971 * gdb.compile/compile-ops.exp: Cast param to void.
7972 * gdb.compile/compile.exp: Complete type for _gdb_expr.
7973 (compile code struct_object.selffield = &struct_object): Add xfail.
7974
aa715135
JG
79752015-05-15 Joel Brobecker <brobecker@adacore.com>
7976
7977 * gdb.ada/arr_enum_with_gap: New testcase.
7978
931e5bc3
JG
79792015-05-15 Joel Brobecker <brobecker@adacore.com>
7980
7981 * gdb.ada/byte_packed_arr: New testcase.
7982
9cd4d857
JB
79832015-05-15 Joel Brobecker <brobecker@adacore.com>
7984
7985 * gdb.ada/pckd_neg: New testcase.
7986
ebfd00d2
PP
79872015-05-13 Patrick Palka <patrick@parcs.ath.cx>
7988
7989 PR gdb/17820
7990 * gdb.base/gdbinit-history.exp: New test.
7991 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
7992 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
7993
4c082a81
SC
79942015-05-09 Siva Chandra Reddy <sivachandra@google.com>
7995
7996 * gdb.python/py-xmethods.cc: Enhance test case.
7997 * gdb.python/py-xmethods.exp: New tests.
7998 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
7999 function.
8000 (B_indexoper): Likewise.
8001 (global_dm_list) : Add new xmethod worker functions.
8002
f7797074
SDJ
80032015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
8004
8005 * gdb.base/coredump-filter.exp: Correctly unset
8006 "coredump_var_addr" array.
8007
a4674e4e
PA
80082015-05-08 Pedro Alves <palves@redhat.com>
8009
8010 * gdb.server/non-existing-program.exp: Unset spawn_id.
8011
df2eb078
SC
80122015-05-08 Siva Chandra Reddy <sivachandra@google.com>
8013
8014 PR python/18291
8015 * gdb.python/py-xmethods.exp: Add tests.
8016
422349a3
YQ
80172015-05-08 Yao Qi <yao.qi@linaro.org>
8018
8019 PR gdb/18208
8020 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
8021 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
8022 function set_coredump_filter, and remove remote_exec call.
8023 Remove argument ipid. Callers update.
8024 (top level): Don't get inferior's PID.
8025
63fc80ce
AA
80262015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
8027
8028 * gdb.base/watch_thread_num.exp: Skip test on targets without
8029 access watchpoints.
8030
80ad801e
PA
80312015-05-06 Pedro Alves <palves@redhat.com>
8032
8033 PR server/18081
8034 * gdb.server/non-existing-program.exp: New file.
8035
0fa7fe50
JB
80362015-05-05 Joel Brobecker <brobecker@adacore.com>
8037
8038 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
8039
3ea89b92
PMR
80402015-05-05 Joel Brobecker <brobecker@adacore.com>
8041
8042 * gdb.ada/out_of_line_in_inlined: New testcase.
8043
87b8eff0
JB
80442015-05-05 Joel Brobecker <brobecker@adacore.com>
8045
8046 * gdb.ada/var_rec_arr: New testcase.
8047
5fccc635
YQ
80482015-04-30 Yao Qi <yao.qi@linaro.org>
8049
8050 * gdb.base/break-idempotent.exp: If
8051 skip_hw_watchpoint_multi_tests returns true, skip the tests
8052 on "rwatch" and "awatch".
8053
42d38f42
YQ
80542015-04-30 Yao Qi <yao.qi@linaro.org>
8055
8056 * gdb.base/relativedebug.exp: Invoke gdb command
8057 "info sharedlibrary", and if libc.so doesn't have debug info,
8058 skip the test.
8059
2ce1cdbf
DE
80602015-04-29 Doug Evans <dje@google.com>
8061
8062 * gdb.python/py-xmethods.exp: Add ptype tests.
8063 * gdb.python/py-xmethods.py (E_method_char_worker): Add
8064 get_result_type method.
8065
f24a38c5
LM
80662015-04-29 Luis Machado <lgustavo@codesourcery.com>
8067
8068 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
8069 the target does not support hardware watchpoints.
8070
ecbf2b3c
LM
80712015-04-29 Luis Machado <lgustavo@codesourcery.com>
8072
8073 * gdb.base/break-always.exp: Abort testing if writing to memory
8074 causes an error.
8075
34f5f757
DE
80762015-04-28 Doug Evans <dje@google.com>
8077
8078 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
8079 * gdb.python/py-pp-registration.exp: ... here. New file.
8080 * gdb.python/py-pp-registration.c: New file.
8081 * gdb.python/py-pp-registration.py: New file.
8082
69b4374a
DE
80832015-04-28 Doug Evans <dje@google.com>
8084
8085 * gdb.python/py-bad-printers.c: New file.
8086 * gdb.python/py-bad-printers.py: New file.
8087 * gdb.python/py-bad-printers.exp: New file.
8088
59fb7612
SS
80892015-04-28 Sasha Smundak <asmundak@google.com>
8090
8091 * gdb.python/py-type.exp: New test.
8092
2631b16a
AW
80932015-04-28 Andy Wingo <wingo@igalia.com>
8094
8095 * gdb.python/py-parameter.exp:
8096 * gdb.guile/scm-parameter.exp: Escape the path that we are
8097 matching against, as it might contain characters that are special
8098 to regular expressions.
8099
460efde1
JB
81002015-04-27 Joel Brobecker <brobecker@adacore.com>
8101
8102 * gdb.ada/rec_comp: New testcase.
8103
2d369d8e
SDJ
81042015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
8105
8106 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
8107 before using it.
8108
cf75d6c3
AB
81092015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
8110
8111 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
8112 new tests for verilog output.
8113
8dbe7ca5
YQ
81142015-04-24 Yao Qi <yao.qi@linaro.org>
8115
8116 * boards/remote-gdbserver-on-localhost.exp: New file.
8117
4ef9fb2f
PA
81182015-04-23 Pedro Alves <palves@redhat.com>
8119
8120 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
8121 $inferior_spawn_id instead of $inferior_spawn_id directly. On
8122 "end of file", remove $inferior_spawn_id from the indirect list.
8123
0a803169
PA
81242015-04-23 Pedro Alves <palves@redhat.com>
8125
8126 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
8127
749ef8f8
PA
81282015-04-23 Pedro Alves <palves@redhat.com>
8129
8130 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
8131 on $any_spawn_id instead of only on $gdb_spawn_id.
8132
8aae4344
PM
81332015-04-21 Pierre Muller <muller@sourceware.org>
8134
8135 PR pascal/17815
8136 * lib/pascal.exp (gpc_compile): Add new option "class".
8137 (fpc_compile): Likewise.
8138 * gdb.pascal/case-insensitive-symbols.pas: New file.
8139 * gdb.pascal/case-insensitive-symbols.exp: New file.
8140
1586c8fb
GB
81412015-04-20 Gary Benson <gbenson@redhat.com>
8142
8143 * gdb.base/attach.exp: Fix three extended remote failures.
8144
1b6e6f5c
GB
81452015-04-17 Gary Benson <gbenson@redhat.com>
8146
8147 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
8148 the main executable over the remote protocol.
8149
e797481d
PA
81502015-04-16 Pedro Alves <palves@redhat.com>
8151
8152 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
8153 a new gdbserver if gdbserver_reconnect_p is set.
8154
1ca99c42
PA
81552015-04-16 Pedro Alves <palves@redhat.com>
8156
8157 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
8158 is set, don't exit gdbserver.
8159
af9fd6f8
AA
81602015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8161
8162 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
8163 appropriate .insn, such that an older assembler can be used.
8164 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
8165 the z/Architecture instruction set on 31-bit targets as well.
8166
04ff1e61
AA
81672015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8168
8169 * gdb.go/handcall.exp: Remove all logic related to the first
8170 breakpoint and rely on go_runto_main instead.
8171 * gdb.go/strings.exp: Likewise.
8172 * gdb.go/unsafe.exp: Likewise.
8173 * gdb.go/hello.exp: Likewise. Also rename the remaining
8174 breakpoint marker to "breakpoint 1".
8175 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
8176 * gdb.go/strings.go: Likewise.
8177 * gdb.go/unsafe.go: Likewise.
8178 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
8179 "set breakpoint 2 here" and rename the remaining breakpoint marker
8180 to "breakpoint 1".
8181
40d2f8d6
SM
81822015-04-15 Simon Marchi <simon.marchi@ericsson.com>
8183
8184 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
8185 if itertools.imap is not present.
8186 * gdb.python/py-objfile.exp: Add parentheses.
8187 * gdb.python/py-type.exp: Same.
8188 * gdb.python/py-unwind-maint.py: Same.
8189
8cbc97c6
YQ
81902015-04-15 Yao Qi <yao.qi@linaro.org>
8191
8192 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
8193 of ":$ptr_size" and set its form explicitly.
8194
45fd756c
YQ
81952015-04-15 Pedro Alves <palves@redhat.com>
8196 Yao Qi <yao.qi@linaro.org>
8197
8198 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
8199 timeout by factor of 4.
8200 (test_regular_watch): Likewise.
8201 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
8202 * gdb.reverse/sigall-reverse.exp: Likewise.
8203 * gdb.reverse/until-precsave.exp: Likewise.
8204 * lib/gdb.exp (with_timeout_factor): New proc.
8205 (gdb_expect): Move some code to ...
8206 (get_largest_timeout): ... here. New procedure.
8207
9e811bc3
LM
82082015-04-14 Luis Machado <lgustavo@codesourcery.com>
8209
8210 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
8211
0ff6fcb2
LM
82122015-04-13 Luis Machado <lgustavo@codesourcery.com>
8213
8214 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
8215 to write to the .text section.
8216
7578d5f7
LM
82172015-04-13 Luis Machado <lgustavo@codesourcery.com>
8218
8219 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
8220 Handle the case of targets that do not provide PID information.
8221
2efe15c4
YQ
82222015-04-13 Yao Qi <yao.qi@linaro.org>
8223
8224 * lib/gdbserver-support.exp (gdb_exit): Catch exception
8225 and use expect instead of gdb_expect.
8226
8cd8f2f8
SDJ
82272015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
8228
8229 * gdb.base/coredump-filter.exp: Rename variable "addr" to
8230 "coredump_var_addr" to avoid naming conflict with other testcases.
8231
9ee41772
PA
82322015-04-10 Pedro Alves <palves@redhat.com>
8233
8234 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
8235 gdb_test_sequence and gdb_assert.
8236
07473109
PA
82372015-04-10 Pedro Alves <palves@redhat.com>
8238
8239 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
8240 test messages that don't include the breakpoint address.
8241
de3db44c
YQ
82422015-04-10 Yao Qi <yao.qi@linaro.org>
8243
8244 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
8245 false for some offset and width combinations which aren't
8246 supported by linux kernel.
8247
c79d856c
PA
82482015-04-10 Pedro Alves <palves@redhat.com>
8249
8250 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
8251 procedure, factored out from ...
8252 (top level): ... here. Add "set displaced-stepping" testing axis.
8253 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
8254 parameter "displaced". Use it.
8255 (top level): Use foreach and add "set displaced-stepping" testing
8256 axis.
8257
ebc90b50
PA
82582015-04-10 Pedro Alves <palves@redhat.com>
8259
8260 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
8261 Remove comment.
8262 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
8263 both the address of the instruction that triggers the watchpoint
8264 and the address of the instruction immediately after, and use
8265 those addresses for the test. Fix comment.
8266
8f572e5c
PA
82672015-04-10 Pedro Alves <palves@redhat.com>
8268
8269 * gdb.base/sigstep.exp (breakpoint_to_handler)
8270 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
8271 Test "backtrace" in handler.
8272 (breakpoint_over_handler): New parameter 'displaced'. Use it.
8273 (top level): Add new "displaced" test axis to
8274 breakpoint_to_handler, breakpoint_to_handler_entry and
8275 breakpoint_over_handler.
8276
8d707a12
PA
82772015-04-10 Pedro Alves <palves@redhat.com>
8278
8279 PR gdb/18216
8280 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
8281
ef713951
YQ
82822015-04-10 Yao Qi <yao.qi@linaro.org>
8283
8284 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
8285 (test_add_rn_pc): New function.
8286 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
8287 (top level): Invoke test_add_rn_pc.
8288
906d60cf
PA
82892015-04-10 Pedro Alves <palves@redhat.com>
8290
8291 PR gdb/13858
8292 * gdb.base/step-over-no-symbols.exp: New file.
8293
f2983cc3
AW
82942015-04-09 Andy Wingo <wingo@igalia.com>
8295
8296 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
8297 after the Python tests.
8298
6d62641c
SDJ
82992015-04-08 Keith Seitz <keiths@redhat.com>
8300
8301 PR python/16699
8302 * gdb.python/py-completion.exp: New tests for completion.
8303 * gdb.python/py-completion.py (CompleteLimit1): New class.
8304 (CompleteLimit2): Likewise.
8305 (CompleteLimit3): Likewise.
8306 (CompleteLimit4): Likewise.
8307 (CompleteLimit5): Likewise.
8308 (CompleteLimit6): Likewise.
8309 (CompleteLimit7): Likewise.
8310
f3770638
PA
83112015-04-08 Pedro Alves <palves@redhat.com>
8312
8313 PR gdb/18214
8314 PR gdb/18216
8315 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
8316 function.
8317 (main): Install it as SIGUSR1 handler.
8318 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
8319 parameter. Always use "setup" as prefix. Toggle "set
8320 displaced-stepping" off/on depending on global. Don't switch to
8321 thread 1 here.
8322 (top level): Add displaced stepping "off/on" test axis. Update
8323 "setup" calls. Wrap each subtest with with_test_prefix. Test
8324 continuing with a queued signal in each thread.
8325
4496bed7
PA
83262015-04-08 Pedro Alves <palves@redhat.com>
8327
8328 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
8329 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
8330 gdb_breakpoint instead of gdb_test that doesn't expect anything.
8331 Return early if running to main fails.
8332 * gdb.trace/while-stepping.exp: Likewise.
8333
b97fde92
PA
83342015-04-07 Pedro Alves <palves@redhat.com>
8335
8336 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
8337 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
8338 interact with inferior program.
8339
f71c18e7
PA
83402015-04-07 Pedro Alves <palves@redhat.com>
8341
8342 * lib/gdb.exp (inferior_spawn_id): New global.
8343 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
8344 spawn id after processing the user code.
8345 (default_gdb_start): Set inferior_spawn_id.
8346 (send_inferior): New procedure.
8347 * lib/gdbserver-support.exp (gdbserver_start): Set
8348 inferior_spawn_id.
8349 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
8350
6423214f
PA
83512015-04-07 Pedro Alves <palves@redhat.com>
8352
8353 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
8354 * lib/gdbserver-support.exp (gdbserver_start): Make
8355 $server_spawn_id global.
8356 (gdbserver_start): Don't wait for gdbserver's spawn id with
8357 expect_background.
8358 (close_gdbserver): New procedure.
8359 (gdb_exit): Rename the default version and reimplement.
8360
71c0ee8c
PA
83612015-04-07 Pedro Alves <palves@redhat.com>
8362
72f4393d 8363 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
8364 append the substituted item, not the original item.
8365
203bc29b
PA
83662015-04-07 Pedro Alves <palves@redhat.com>
8367
8368 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
8369 gdb_expect.
8370
508a3ddf
PA
83712015-04-07 Pedro Alves <palves@redhat.com>
8372
8373 * gdb.base/interrupt.exp: Don't handle the case of the inferior
8374 output appearing once only.
8375
9f6dbe2b
PA
83762015-04-07 Pedro Alves <palves@redhat.com>
8377
8378 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
8379 that doesn't expect anything. Return early if running to main
8380 fails.
8381
337532fa
YQ
83822015-04-07 Yao Qi <yao.qi@linaro.org>
8383
8384 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
8385 (child_function): Call alarm.
8386 (main): Move call to alarm into the loop.
8387 * gdb.threads/non-stop-fair-events.exp: Build program with
8388 -DTIMEOUT=$timeout.
8389
01b622d4
DE
83902015-04-06 Doug Evans <xdje42@gmail.com>
8391
8392 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
8393 Fix dest parameter to board_info.
8394 (fpc_compile): Ditto.
8395 (gdb_compile_pascal): Rename dest arg to destfile.
8396
961f4160
PMR
83972015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
8398
8399 * gdb.ada/funcall_ref.exp: New file.
8400 * gdb.ada/funcall_ref/foo.adb: New file.
8401
cafda597
YQ
84022015-04-02 Yao Qi <yao.qi@linaro.org>
8403
8404 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
8405 is remote.
8406
fed040c6
GB
84072015-04-02 Gary Benson <gbenson@redhat.com>
8408
8409 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
8410
d11916aa
SS
84112015-04-01 Sasha Smundak <asmundak@google.com>
8412
8413 * gdb.python/py-unwind-maint.c: New file.
8414 * gdb.python/py-unwind-maint.exp: New test.
8415 * gdb.python/py-unwind-maint.py: New file.
8416 * gdb.python/py-unwind.c: New file.
8417 * gdb.python/py-unwind.exp: New test.
8418 * gdb.python/py-unwind.py: New test.
8419
a1471180
PA
84202015-04-01 Pedro Alves <palves@redhat.com>
8421
8422 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
8423 to fail instead of non-existent $test.
8424
0bbeccb1
PA
84252015-04-01 Pedro Alves <palves@redhat.com>
8426
8427 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
8428 GDBFLAGS if not empty.
8429
3c724c8c
PMR
84302015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
8431
8432 * gdb.ada/complete.exp: Remove "multi_line".
8433 * gdb.ada/info_exc.exp: Remove "multi_line".
8434 * gdb.ada/packed_tagged.exp: Remove "multi_line".
8435 * gdb.ada/ptype_field.exp: Remove "multi_line".
8436 * gdb.ada/sym_print_name.exp: Remove "multi_line".
8437 * gdb.ada/tagged.exp: Remove "multi_line".
8438 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
8439 [multi_line ...]
8440 * gdb.btrace/delta.exp: Likewise.
8441 * gdb.btrace/exception.exp: Likewise.
8442 * gdb.btrace/function_call_history.exp: Likewise.
8443 * gdb.btrace/instruction_history.exp: Likewise.
8444 * gdb.btrace/nohist.exp: Likewise.
8445 * gdb.btrace/record_goto.exp: Likewise.
8446 * gdb.btrace/segv.exp: Likewise.
8447 * gdb.btrace/stepi.exp: Likewise.
8448 * gdb.btrace/tailcall.exp: Likewise.
8449 * gdb.btrace/unknown_functions.exp: Likewise.
8450 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
8451 * lib/gdb.exp: Add the "multi_line" helper.
8452
4eec2deb
PA
84532015-04-01 Pedro Alves <palves@redhat.com>
8454
8455 * gdb.threads/tid-reuse.c: New file.
8456 * gdb.threads/tid-reuse.exp: New file.
8457
df8411da
SDJ
84582015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
8459
8460 PR corefiles/16092
8461 * gdb.base/coredump-filter.c: New file.
8462 * gdb.base/coredump-filter.exp: Likewise.
8463
6ef37366
PM
84642015-03-27 Petr Machata <pmachata@redhat.com>
8465
8466 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
8467 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
8468 (Dwarf::assemble): Initialize them.
8469 (Dwarf::lines): New function.
8470
7ec911b0
JT
84712015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
8472
8473 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
8474 SYMBOL_PREFIX for x86_64-*-cygwin.
8475
ff908ebf
AW
84762015-03-26 Andy Wingo <wingo@igalia.com>
8477
8478 PR symtab/18148
8479 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
8480 const_value but not a location.
8481 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
8482 location defined in non-main CUs are visible.
8483
6d5f0679
YQ
84842015-03-26 Yao Qi <yao.qi@linaro.org>
8485
8486 PR testsuite/18139
8487 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
8488 Add a line number entry for the same line.
8489 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
8490 Add a line number entry for the same line.
8491
2898689b
YQ
84922015-03-26 Yao Qi <yao.qi@linaro.org>
8493
8494 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
8495 .int 0.
8496 (func): Likewise. Add .Lfunc_1 label.
8497 Use .Lfunc_1 label.
8498 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
8499 .int 0.
8500 (func): Likewise.
8501 Use .Lfunc_1 label.
8502
85180498
YQ
85032015-03-26 Yao Qi <yao.qi@linaro.org>
8504
8505 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
8506 Call gdb_compile instead to compile each .s files without debug
8507 information.
8508
8aa08a8d
YQ
85092015-03-26 Yao Qi <yao.qi@linaro.org>
8510
8511 * gdb.base/savedregs.exp (process_saved_regs): Make
8512 "Saved registers:" optional in the pattern.
8513
66849923
MM
85142015-03-25 Markus Metzger <markus.t.metzger@intel.com>
8515
8516 * gdb.btrace/next.exp: Merged into step.exp.
8517 * gdb.btrace/finish.exp: Merged into step.exp.
8518 * gdb.btrace/nexti.exp: Merged into stepi.exp.
8519 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
8520 "record goto" and checking the exact replay position.
8521 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
8522 check for "Recording format" in "info record" output.
8523 * gdb.btrace/record_goto.exp: Choose test file based on target.
8524 * gdb.btrace/x86-record_goto.S: Renamed into ...
8525 * gdb.btrace/x86_64-record_goto.S: ... this.
8526 * gdb.btrace/i686-record_goto.S: New.
8527 * gdb.btrace/x86-tailcall.S: Renamed into ...
8528 * gdb.btrace/x86_64-tailcall.S: ... this.
8529 * gdb.btrace/i686-tailcall.S: New.
8530 * gdb.btrace/x86-tailcall.c: Renamed into ...
8531 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
8532 separate statements. Update test.
8533 * gdb.btrace/delta.exp: Use record_goto.c as test file.
8534 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
8535 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
8536 * gdb.btrace/tailcall.exp: Choose test file based on target.
8537 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
8538
11cc1b74
MM
85392015-03-25 Markus Metzger <markus.t.metzger@intel.com>
8540
8541 * gdb.btrace/exception.exp: Increase BTS buffer size.
8542
a25d8bf9
PA
85432015-03-24 Pedro Alves <palves@redhat.com>
8544
8545 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
8546
856e7dd6
PA
85472015-03-24 Pedro Alves <palves@redhat.com>
8548
8549 * gdb.threads/schedlock.exp (test_step): No longer expect that
8550 "set scheduler-locking step" with "next" over a function call runs
8551 threads unlocked.
8552
ad235a41
AT
85532015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
8554
8555 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
8556
15630549
AT
85572015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
8558
8559 PR breakpoints/16466
8560 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
8561 * gdb.mi/mi-pending.c (thread_func): New function.
8562 (int main): Add threading support required.
8563 * gdb.mi/mi-pending.exp: Add tests for this issue.
8564 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
8565 (pendfunc2): Remove stdio dependency.
8566 * gdb.mi/mi-pendshr2.c: New file.
8567
693dca06
KS
85682015-03-23 Keith Seitz <keiths@redhat.com>
8569
8570 * gdb.linespec/keywords.c: New file.
8571 * gdb.linespec/keywords.exp: New file.
8572
7e993ebf
KS
85732015-03-23 Keith Seitz <keiths@redhat.com>
8574
8575 PR gdb/18021
8576 * gdb.dwarf2/staticvirtual.exp: New test.
8577
bc23328c
JK
85782015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8579
8580 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
8581 * README: Remove HP-UX and gdb.hp.
8582 (configuration):
8583 * configure: Regenerate.
8584 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
8585 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
8586 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
8587 gdb.hp/gdb.defects/Makefile.
8588 * gdb.hp/Makefile.in: File deleted.
8589 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
8590 * gdb.hp/gdb.aCC/optimize.c: File deleted.
8591 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
8592 * gdb.hp/gdb.aCC/run.c: File deleted.
8593 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
8594 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
8595 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
8596 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
8597 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
8598 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
8599 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
8600 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
8601 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
8602 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
8603 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
8604 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
8605 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
8606 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
8607 * gdb.hp/gdb.base-hp/reg.s: File deleted.
8608 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
8609 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
8610 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
8611 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
8612 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
8613 * gdb.hp/gdb.compat/Makefile.in: File deleted.
8614 * gdb.hp/gdb.compat/average.c: File deleted.
8615 * gdb.hp/gdb.compat/sum.c: File deleted.
8616 * gdb.hp/gdb.compat/xdb.c: File deleted.
8617 * gdb.hp/gdb.compat/xdb0.c: File deleted.
8618 * gdb.hp/gdb.compat/xdb0.h: File deleted.
8619 * gdb.hp/gdb.compat/xdb1.c: File deleted.
8620 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
8621 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
8622 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
8623 * gdb.hp/gdb.defects/Makefile.in: File deleted.
8624 * gdb.hp/gdb.defects/bs14602.c: File deleted.
8625 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
8626 * gdb.hp/gdb.defects/solib-d.c: File deleted.
8627 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
8628 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
8629 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
8630 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
8631 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
8632 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
8633 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
8634 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
8635 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
8636 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
8637 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
8638 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
8639 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
8640 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
8641 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
8642 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
8643 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
8644 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
8645 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
8646 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
8647 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
8648 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
8649 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
8650 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
8651 * gdb.hp/tools/odump: File deleted.
8652
8bf3b159
PA
86532015-03-19 Pedro Alves <palves@redhat.com>
8654
8655 * gdb.threads/continue-pending-status.exp (saw_thread_2)
8656 (saw_thread_3): New globals.
8657 (top level): Increment them when an event for the corresponding
8658 thread is seen.
8659 (no thread starvation): New test.
8660
eb54c8bf
PA
86612015-03-19 Pedro Alves <palves@redhat.com>
8662
8663 * gdb.threads/continue-pending-status.c: New file.
8664 * gdb.threads/continue-pending-status.exp: New file.
8665
32d2e5d6
PA
86662015-03-18 Pedro Alves <palves@redhat.com>
8667
8668 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
8669 Use gdb_is_target_remote instead of is_remote. Use
8670 gdb_test_multiple instead of gdb_expect. Exit early if
8671 gdb_test_multiple hits its internal matches. Tighten stepi tests
8672 expected output. Fail on exit with any signal, instead of just
8673 SIGILL.
8674
f68f11b7
YQ
86752015-03-18 Yao Qi <yao.qi@linaro.org>
8676
8677 PR tdep/18107
8678 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
8679 variable.
8680 * gdb.base/catch-syscall.exp: Don't skip it on
8681 aarch64*-*-linux* target. Remove elements in all_syscalls.
8682 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
8683 target.
8684 (setup_all_syscalls): New proc.
8685
ca5fd19b
YQ
86862015-03-16 Yao Qi <yao.qi@linaro.org>
8687
8688 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
8689 (top level): Skip tests if valid_addr_p returns false for
8690 $cmd1 or $cmd2.
8691
85642ba0
AW
86922015-03-11 Andy Wingo <wingo@igalia.com>
8693
8694 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
8695
e03f9645
YQ
86962015-03-11 Yao Qi <yao.qi@linaro.org>
8697
8698 * gdb.base/catch-syscall.exp: Fix typo in comments.
8699
5d0962b2
YQ
87002015-03-11 Yao Qi <yao.qi@linaro.org>
8701
8702 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
8703
b2df3cef
PA
87042015-03-09 Pedro Alves <palves@redhat.com>
8705
8706 * dg-extract-results.py: Delete.
8707
ef878e53
PA
87082015-03-09 Pedro Alves <palves@redhat.com>
8709
8710 Merge dg-extract-results.sh from GCC upstream (r218843).
8711
8712 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
8713 * dg-extract-results.sh: Use --text with grep to avoid issues with
8714 binary files. Fall back to cat -v, if that doesn't work.
8715
9494d219
PA
87162015-03-05 Pedro Alves <palves@redhat.com>
8717
8718 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
8719
a8d9763a
SM
87202015-03-04 Simon Marchi <simon.marchi@ericsson.com>
8721
8722 * lib/mi-support.exp (mi_expect_interrupt): Accept
8723 alternative event for when in all-stop mode.
8724
be9957b8
PA
87252015-03-04 Pedro Alves <palves@redhat.com>
8726
8727 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
8728
d57be0f4 87292015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
8730
8731 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
8732
c214c7cf
AA
87332015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
8734
8735 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
8736 regexps for GDB's current line display, accept a hex address
8737 preceding the line number.
8738
6d74a497
AA
87392015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
8740
8741 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
8742 the 'arch1' variable for "s390*-linux*" targets.
8743
511aee7c
PA
87442015-03-04 Pedro Alves <palves@redhat.com>
8745
8746 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
8747 (main): Pass missing retval argument to pthread_join call.
8748
95e50b27
PA
87492015-03-02 Pedro Alves <palves@redhat.com>
8750
8751 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
8752 (top level): Call do_test with non-stop as well.
8753
28054d69
PA
87542015-03-02 Pedro Alves <palves@redhat.com>
8755
8756 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
8757 -1.
8758
4fa5d7b4
AA
87592015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
8760
8761 * gdb.arch/s390-vregs.exp: New test.
8762 * gdb.arch/s390-vregs.S: New file.
8763
97c18565
PA
87642015-02-27 Pedro Alves <palves@redhat.com>
8765
8766 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
8767 call to catch_command_errors.
8768 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
8769 catch_command_errors.
8770
a37bfa30
PA
87712015-02-27 Pedro Alves <palves@redhat.com>
8772
8773 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
8774 "true" for boolean result.
8775 * gdb.gdb/selftest.exp (test_with_self): Also accept full
8776 prototype of main.
8777
6f98576f
PA
87782015-02-27 Pedro Alves <palves@redhat.com>
8779
8780 * lib/unbuffer_output.c: New file.
8781 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
8782 (main): Call gdb_unbuffer_output.
8783
eba5ab56
YQ
87842015-02-27 Yao Qi <yao.qi@linaro.org>
8785
8786 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
8787 target.
8788
0def5aaa
DE
87892015-02-26 Doug Evans <dje@google.com>
8790
8791 * gdb.cp/class2.cc (Dbase, D): New classes.
8792 (main): New local delta.
8793 * gdb.cp/class2.exp: Test printing delta.
8794 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
8795 (dynbar): New global.
8796 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
8797
081a1c2c
JK
87982015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8799
8800 * gdb.compile/compile-ifunc.c: New file.
8801 * gdb.compile/compile-ifunc.exp: New file.
8802
2f41223f
AT
88032015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
8804
8805 * gdb.base/structs.exp: Check for correct struct on finish.
8806
03eddd80
YQ
88072015-02-26 Yao Qi <yao.qi@linaro.org>
8808
8809 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
8810 is zero.
8811
80c57053
JK
88122015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8813
8814 * gdb.arch/cordic.ko.bz2: New file.
8815 * gdb.arch/cordic.ko.debug.bz2: New file.
8816 * gdb.arch/ppc64-symtab-cordic.exp: New file.
8817
21613c12
YQ
88182015-02-25 Yao Qi <yao.qi@linaro.org>
8819
8820 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
8821 aarch64*-*-* target.
8822
d8b901ed
PA
88232015-02-23 Pedro Alves <palves@redhat.com>
8824
8825 * lib/gdb.exp (delete_breakpoints): Rewrite using
8826 gdb_test_multiple.
8827
e5b85ead
PA
88282015-02-23 Pedro Alves <palves@redhat.com>
8829
8830 * gdb.base/info-os.c: Include stdlib.h.
8831
85c3a371
DE
88322015-02-22 Doug Evans <xdje42@gmail.com>
8833
8834 PR symtab/17855
8835 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
8836 is read after symbols have been re-read.
8837 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
8838 * gdb.ada/exec_changed/second.adb (Second): Ditto.
8839
96553a0c
DE
88402015-02-21 Doug Evans <dje@google.com>
8841
8842 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
8843
97a0c697
JK
88442015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8845
8846 PR corefiles/17808
8847 * gdb.arch/i386-biarch-core.core.bz2: New file.
8848 * gdb.arch/i386-biarch-core.exp: New file.
8849
a47cd6e9
PA
88502015-02-21 Pedro Alves <palves@redhat.com>
8851
8852 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
8853 runto_main fails.
8854
c5facdc4
PA
88552015-02-20 Pedro Alves <palves@redhat.com>
8856
8857 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
8858 info probes.
8859
2db9a427
PA
88602015-02-20 Pedro Alves <palves@redhat.com>
8861
8862 * gdb.threads/multi-create-ns-info-thr.exp: New file.
8863
60fb7e9e
PA
88642015-02-20 Pedro Alves <palves@redhat.com>
8865
8866 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
8867 clean_restart before gdb_target_supports_trace.
8868
5c5019c2
PA
88692015-02-20 Pedro Alves <palves@redhat.com>
8870
8871 PR threads/18006
8872 * gdb.threads/clone-thread_db.c: New file.
8873 * gdb.threads/clone-thread_db.exp: New file.
8874
c9587f88
AT
88752015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
8876
8877 PR breakpoints/16812
8878 * gdb.base/catch-gdb-caused-signals.c: New file.
8879 * gdb.base/catch-gdb-caused-signals.exp: New file.
8880
f6a88844
JM
88812015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
8882
8883 * configure: Regenerated.
8884 * configure.ac: Use GDB_AC_TRANSFORM.
8885 * aclocal.m4: sinclude ../transform.m4.
8886
497c491b
JM
88872015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
8888
8889 * lib/dtrace.exp: New file.
8890 * gdb.base/dtrace-probe.exp: Likewise.
8891 * gdb.base/dtrace-probe.d: Likewise.
8892 * gdb.base/dtrace-probe.c: Likewise.
8893 * lib/pdtrace.in: Likewise.
8894 * configure.ac: Output variables with the transformed names of
8895 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
8896 * configure: Regenerated.
8897
03e98035
JM
88982015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
8899
8900 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
8901 expected message when trying to access $_probe_* convenience
8902 variables while not on a probe.
8903
63cc30e9
JK
89042015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8905
8906 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
8907
0703599a
PA
89082015-02-11 Pedro Alves <pedro@codesourcery.com>
8909
8910 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
8911 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
8912
7e60a48e
DE
89132015-02-10 Doug Evans <xdje42@gmail.com>
8914
8915 * lib/gdb.exp (gdb_load): Always return a result.
8916
01b088bc
PA
89172015-02-10 Pedro Alves <palves@redhat.com>
8918
8919 * gdb.threads/signal-sigtrap.c: New file.
8920 * gdb.threads/signal-sigtrap.exp: New file.
8921
b05ec7a5
AT
89222015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
8923
8924 * gdb.trace/no-attach-trace.c: New file.
8925 * gdb.trace/no-attach-trace.exp: New file.
8926
a2c2acaf
MW
89272015-02-09 Mark Wielaard <mjw@redhat.com>
8928
8929 * gdb.dwarf2/atomic.c: New file.
8930 * gdb.dwarf2/atomic-type.exp: Likewise.
8931
31fd9caa
MM
89322015-02-09 Markus Metzger <markus.t.metzger@intel.com>
8933
8934 * gdb.btrace/buffer-size.exp: Update "info record" output.
8935 * gdb.btrace/delta.exp: Update "info record" output.
8936 * gdb.btrace/enable.exp: Update "info record" output.
8937 * gdb.btrace/finish.exp: Update "info record" output.
8938 * gdb.btrace/instruction_history.exp: Update "info record" output.
8939 * gdb.btrace/next.exp: Update "info record" output.
8940 * gdb.btrace/nexti.exp: Update "info record" output.
8941 * gdb.btrace/step.exp: Update "info record" output.
8942 * gdb.btrace/stepi.exp: Update "info record" output.
8943 * gdb.btrace/nohist.exp: Update "info record" output.
8944
d33501a5
MM
89452015-02-09 Markus Metzger <markus.t.metzger@intel.com>
8946
8947 * gdb.btrace/buffer-size: New.
8948
f4abbc16
MM
89492015-02-09 Markus Metzger <markus.t.metzger@intel.com>
8950
8951 * gdb.btrace/delta.exp: Update "info record" output.
8952 * gdb.btrace/enable.exp: Update "info record" output.
8953 * gdb.btrace/finish.exp: Update "info record" output.
8954 * gdb.btrace/instruction_history.exp: Update "info record" output.
8955 * gdb.btrace/next.exp: Update "info record" output.
8956 * gdb.btrace/nexti.exp: Update "info record" output.
8957 * gdb.btrace/step.exp: Update "info record" output.
8958 * gdb.btrace/stepi.exp: Update "info record" output.
8959 * gdb.btrace/nohist.exp: Update "info record" output.
8960
b9d61307
SM
89612015-02-06 Simon Marchi <simon.marchi@ericsson.com>
8962
8963 PR gdb/15678
8964 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
8965
e584fdbc
PA
89662015-02-06 Pedro Alves <palves@redhat.com>
8967
8968 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
8969 macro.
8970 (seconds_left, again): New globals.
8971 (main): Wait seconds_left in a 1-second sleep loop instead of
8972 sleeping 180 seconds. If 'again' is set, reset the seconds
8973 counter.
8974 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
8975 'again' in the inferior before detaching. Print the seconds left.
8976 (options): New global.
8977 (top level): Build program with -DTIMEOUT=$timeout.
8978
77f41761
PA
89792015-02-06 Pedro Alves <palves@redhat.com>
8980
8981 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
8982 determine how many seconds to pass to 'alarm'.
8983 * gdb.base/gdb-sigterm.exp (top level): Build program with
8984 -DTIMEOUT=$timeout.
8985 (do_test): Return success/failure indication. Add more verbose
8986 logging. Don't fail if 200 single steps are seen. Instead, fail
8987 when the test times out.
8988 (passes): New global.
8989 (top level): Break the testing loop if testing fails on any
8990 iteration. Use gdb_assert.
8991
b9394193
DB
89922015-02-04 Don Breazeal <donb@codesourcery.com>
8993
8994 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
8995 and initialize them.
8996 (ipc_cleanup): New function.
8997 (main): Don't declare shmid, semid, and msqid. Add a call to
8998 atexit so that we call ipc_cleanup on exit.
8999
42d9e528
PA
90002015-02-04 Pedro Alves <palves@redhat.com>
9001
9002 * boards/native-extended-gdbserver.exp: Remove any target variant
9003 specifications from the board name before clearing the isremote
9004 flag from board_info.
9005
ae6ae975
DE
90062015-01-31 Doug Evans <xdje42@gmail.com>
9007
9008 * gdb.base/maint.exp <maint print type argc>: Update expected output.
9009
cfb069a8
GB
90102015-01-31 Gary Benson <gbenson@redhat.com>
9011
9012 * gdb.base/completion.exp: Disable completion limiting for
9013 existing tests. Add new tests to check completion limiting.
9014 * gdb.linespec/ls-errs.exp: Disable completion limiting.
9015
5dd31d79
DE
90162015-01-31 Doug Evans <xdje42@gmail.com>
9017
9018 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
9019
9f050062
DE
90202015-01-31 Doug Evans <xdje42@gmail.com>
9021
9022 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
9023 entries. Duplicate file section script entries.
9024 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
9025 inlined entries. Add test for safe-path rejection.
9026 * gdb.python/py-section-script.c: Add duplicate inlined section script
9027 entries. Duplicate file section script entries.
9028 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
9029 inlined entries. Add test for safe-path rejection.
9030
df25ebbd
JB
90312015-01-29 Joel Brobecker <brobecker@adacore.com>
9032
9033 * gdb.ada/disc_arr_bound: New testcase.
9034
4a0ca9ec
JB
90352015-01-29 Joel Brobecker <brobecker@adacore.com>
9036
9037 * gdb.ada/mi_var_array: New testcase.
9038
3a8b707a
DE
90392015-01-27 Doug Evans <dje@google.com>
9040
9041 * gdb.python/py-objfile.exp: Add tests for objfile.username.
9042 Add test for objfile.filename, objfile.username after objfile
9043 has been unloaded.
9044
f8313f6e
JB
90452015-01-26 Joel Brobecker <brobecker@adacore.com>
9046
9047 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
9048 the second test to print the name attribute of value
9049 returned by the call to gdb.lookup_type, and adjust
9050 the expected output accordingly.
9051
37bc665e
MW
90522015-01-25 Mark Wielaard <mjw@redhat.com>
9053
9054 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
9055 * gdb.base/disp-step-fork.c: Include unistd.h.
9056 * gdb.base/siginfo-obj.c: Include stdio.h.
9057 * gdb.base/siginfo-thread.c: Likewise.
9058 * gdb.mi/non-stop.c: Include unistd.h.
9059 * gdb.mi/nsthrexec.c: Include stdio.h.
9060 * gdb.mi/pthreads.c: Include unistd.h.
9061 * gdb.modula2/unbounded1.c (main): Declare returns int.
9062 * gdb.reverse/consecutive-reverse.c: Likewise.
9063 * gdb.threads/create-fail.c: Include unistd.h.
9064 * gdb.threads/killed.c: Likewise.
9065 * gdb.threads/linux-dp.c: Likewise.
9066 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
9067 * gdb.threads/non-ldr-exc-2.c: Likewise.
9068 * gdb.threads/non-ldr-exc-3.c: Likewise.
9069 * gdb.threads/non-ldr-exc-4.c: Likewise.
9070 * gdb.threads/pthreads.c: Include unistd.h.
9071 (main): Declare returns int.
9072 * gdb.threads/tls-main.c (foo): New declaration.
9073 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
9074
f7e5394d
SM
90752015-01-23 Simon Marchi <simon.marchi@ericsson.com>
9076
9077 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
9078 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
9079
743649fd
MW
90802015-01-15 Mark Wielaard <mjw@redhat.com>
9081
9082 * gdb.base/noreturn-return.c: New file.
9083 * gdb.base/noreturn-return.exp: New file.
9084 * gdb.base/noreturn-finish.c: New file.
9085 * gdb.base/noreturn-finish.exp: New file.
9086
198297aa
PA
90872015-01-23 Pedro Alves <palves@redhat.com>
9088
9089 * gdb.threads/continue-pending-after-query.c: New file.
9090 * gdb.threads/continue-pending-after-query.exp: New file.
9091
717cf30c
AG
90922015-01-22 Anders Granlund <anders.granlund@ericsson.com>
9093 Simon Marchi <simon.marchi@ericsson.com>
9094
9095 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
9096 * gdb.base/valgrind-db-attach.exp: Same.
9097 * gdb.base/valgrind-infcall.exp: Same.
9098 * lib/mi-support.exp (default_mi_gdb_start): Same.
9099 * lib/prompt.exp (default_prompt_gdb_start): Same.
9100 * lib/gdb.exp (default_gdb_spawn): Same.
9101 (gdb_interact): New.
9102
9103
4b62a76e
JK
91042015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9105
9106 * gdb.compile/compile.exp (pointer to jit function): New test.
9107
b4cdae6f
WW
91082015-01-17 Wei-cheng Wang <cole945@gmail.com>
9109
9110 * lib/gdb.exp (supports_process_record): Return true for
9111 powerpc*-*-linux*.
9112 (supports_reverse): Likewise.
9113
d221e7ef
DB
91142015-01-15 Don Breazeal <donb@codesourcery.com>
9115
9116 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
9117 instead of checking whether the target board is remote and
9118 use spawn_wait_for_attach instead of exec/sleep.
9119 * gdb.base/attach-twice.exp: Likewise.
9120
bafffb51
JB
91212015-01-15 Joel Brobecker <brobecker@adacore.com>
9122
9123 * gdb.ada/var_arr_attrs: New testcase.
9124
5589af0e
PA
91252015-01-14 Pedro Alves <palves@redhat.com>
9126 Joel Brobecker <brobecker@adacore.com>
9127
9128 PR gdb/17525
9129 * gdb.base/bp-cmds-execution-x-script.c: New file.
9130 * gdb.base/bp-cmds-execution-x-script.exp: New file.
9131 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
9132
6c400b59
PA
91332015-01-14 Pedro Alves <palves@redhat.com>
9134
9135 PR cli/17828
9136 * gdb.base/batch-preserve-term-settings.c: New file.
9137 * gdb.base/batch-preserve-term-settings.exp: New file.
9138
e02c96a7
DE
91392015-01-13 Doug Evans <dje@google.com>
9140
9141 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
9142 binary.
9143
576fd14c
JB
91442015-01-13 Joel Brobecker <brobecker@adacore.com>
9145
9146 * Makefile.in (clean mostlyclean): Do not delete *.py.
9147
04dccad0
JB
91482015-01-13 Joel Brobecker <brobecker@adacore.com>
9149
9150 * gdb.python/py-lookup-type.exp: New file.
9151
3d230f71
PA
91522015-01-12 Pedro Alves <palves@redhat.com>
9153
9154 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
9155 restore GDBFLAGS before returning.
9156
7e67715d
JK
91572015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9158
9159 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
9160 is_amd64_regs_target and is_x86_like_target.
9161
f2e0d4b4
DE
91622015-01-11 Doug Evans <xdje42@gmail.com>
9163
9164 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
9165 is given without an explicit form.
9166 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
9167 attributes.
9168 * gdb.dwarf/corrupt.exp: Ditto.
9169 * gdb.dwarf2/enum-type.exp: Ditto.
9170 * gdb.trace/entry-values.exp: Ditto.
9171 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
9172
439250fb
DE
91732015-01-11 Doug Evans <xdje42@gmail.com>
9174
9175 PR gdb/15830
9176 * gdb.base/maint.exp: Remove references to "maint demangle".
9177 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
9178 Add tests for explicitly specifying language to demangle.
9179 * gdb.dlang/demangle.exp: Ditto.
9180
ede9f622
PA
91812015-01-09 Pedro Alves <palves@redhat.com>
9182
9183 * gdb.threads/non-stop-fair-events.c: New file.
9184 * gdb.threads/non-stop-fair-events.exp: New file.
9185
a7b796db
PA
91862015-01-09 Pedro Alves <palves@redhat.com>
9187
9188 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
9189 the global scope. Set a breakpoint after all threads are started
9190 rather than stepping over two source lines. Expect the prompt.
9191 * gdb.base/watch_thread_num.c (threads_started_barrier): New
9192 global.
9193 (NUM): Now 15.
9194 (main): Use threads_started_barrier to wait for all threads to
9195 start. Main thread no longer calls thread_function. Exit after
9196 180 seconds.
9197 (loop): New function.
9198 (thread_function): Wait on threads_started_barrier barrier. Call
9199 'loop' at each iteration.
9200 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
9201 threads have started, instead of hardcoding number of "next"
9202 steps. Use an access watchpoint instead of a write watchpoint.
9203
9665ffdd
PA
92042015-01-09 Pedro Alves <palves@redhat.com>
9205
9206 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
9207 (thread_func): Wait on barrier.
9208 (main): Wait for all threads to start before stopping GDB.
9209 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
9210 global.
9211 (thread1_func, thread2_func): Wait on barrier.
9212 (main): Wait for all threads to start before stopping GDB.
9213 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
9214 New global.
9215 (thread1_func, thread2_func): Wait on barrier.
9216 (main): Wait for all threads to start before stopping GDB.
9217
c945a99f
PA
92182015-01-09 Pedro Alves <palves@redhat.com>
9219
9220 * gdb.threads/attach-many-short-lived-threads.c: New file.
9221 * gdb.threads/attach-many-short-lived-threads.exp: New file.
9222
c1a747c1
PA
92232014-01-09 Pedro Alves <palves@redhat.com>
9224
9225 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
9226 instead of to thread 2.
9227 * gdb.threads/signal-command-multiple-signals-pending.c (main):
9228 Add barrier around each pthread_create call instead of around all
9229 calls.
9230 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
9231 Set a break on thread_function and have the child threads hit it
9232 one at at a time.
9233
60b3033e
PA
92342015-01-09 Pedro Alves <palves@redhat.com>
9235
9236 * lib/gdb.exp (can_spawn_for_attach): New procedure.
9237 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
9238 false.
9239 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
9240 checking whether the target board is remote.
9241 * gdb.multi/multi-attach.exp: Likewise.
9242 * gdb.python/py-sync-interp.exp: Likewise.
9243 * gdb.server/ext-attach.exp: Likewise.
9244 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
9245 tests that need to attach, instead of checking whether the target
9246 board is remote at the top of the file.
9247
acc018ac
YQ
92482015-01-08 Yao Qi <yao@codesourcery.com>
9249
9250 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
9251
50a18af8
JK
92522015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9253
9254 Fix testcase compilation.
9255 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
9256
8503d6e1
JB
92572015-01-06 Joel Brobecker <brobecker@adacore.com>
9258
9259 * gdb.python/py-type.exp: Add a couple test about empty
9260 array creation, and negative-length array creation.
9261
cc73dbcc
DE
92622015-01-02 Doug Evans <xdje42@gmail.com>
9263
9264 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
9265
0300bbc7
DE
92662015-01-02 Doug Evans <dje@google.com>
9267
9268 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
9269
9d85a0ec
YQ
92702014-12-29 Yao Qi <yao@codesourcery.com>
9271
9272 * gdb.trace/entry-values.exp: Update comments. Rename variable
9273 bar_call_foo to returned_from_foo.
9274
87186c6a
MMN
92752014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
9276
9277 PR gdb/17394
9278 * gdb.linespec/break-asm-file.c: New file.
9279 * gdb.linespec/break-asm-file.exp: New file.
9280 * gdb.linespec/break-asm-file0.s: New file.
9281 * gdb.linespec/break-asm-file1.s: New file.
9282
1bab7383
YQ
92832014-12-18 Nigel Stephens <nigel@mips.com>
9284 Maciej W. Rozycki <macro@codesourcery.com>
9285
9286 * gdb.base/float.exp: Handle the new output from "info float" on
9287 MIPS targets.
9288
1bc1068a
JK
92892014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9290
9291 Fix MinGW compilation.
9292 * gdb.compile/compile-ops.exp: Update untested message if
9293 !skip_compile_feature_tests.
9294 * gdb.compile/compile-setjmp.exp: Likewise.
9295 * gdb.compile/compile-tls.exp: Likewise.
9296 * gdb.compile/compile.exp: Likewise.
9297 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
9298 supported on this host".
9299
b6615d10
DE
93002014-12-16 Doug Evans <xdje42@gmail.com>
9301
9302 * boards/stabs.exp: New file.
9303
25dda427
AA
93042014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
9305
9306 * gdb.base/completion.exp: Adjust to format changes of "maint
9307 print user-registers".
9308
bf330350
CU
93092014-12-16 Catalin Udma <catalin.udma@freescale.com>
9310
9311 PR server/17457
9312 * gdb.arch/aarch64-fp.c: New file.
9313 * gdb.arch/aarch64-fp.exp: New file.
9314
395cf596
SDJ
93152014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
9316
9317 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
9318 r210637, r210913, r211666, r215400, r215817).
9319
9320 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
9321 * dg-extract-results.py: New file.
9322 * dg-extract-results.sh: Use it if the environment seems
9323 suitable.
9324
9325 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
9326
9327 * dg-extract-results.py (parse_run): Handle warnings that
9328 are printed before a test harness is run.
9329
9330 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
9331
9332 * dg-extract-results.py (Named): Remove __cmp__ method.
9333 (output_variation): Use a key to sort variation.harnesses.
9334
9335 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
9336
9337 * dg-extract-results.py: For Python 3, force sys.stdout to
9338 handle surrogate escape sequences.
9339 (safe_open): New function.
9340 (output_segment, main): Use it.
9341
9342 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
9343
9344 * dg-extract-results.py (Prog.result_re): Include options
9345 in test name.
9346
9347 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
9348
9349 * dg-extract-results.py (output_variation): Always sort if
9350 do_sum.
9351
e882ef3c
SM
93522014-12-15 Simon Marchi <simon.marchi@ericsson.com>
9353
9354 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
9355 as long as we get pagination notifications.
9356
4992aa20
JM
93572014-12-15 Jason Merrill <jason@redhat.com>
9358
9359 * Makefile.in (check-gdb.%): Restore.
9360 * README: Mention it.
9361
c1b5a1a6
JB
93622014-12-13 Joel Brobecker <brobecker@adacore.com>
9363
9364 * gdb.ada/str_uninit: New testcase.
9365
5537b577
JK
93662014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9367
9368 PR symtab/17642
9369 * gdb.base/vla-stub-define.c: New file.
9370 * gdb.base/vla-stub.c: New file.
9371 * gdb.base/vla-stub.exp: New file.
9372
bb2ec1b3
TT
93732014-12-12 Phil Muldoon <pmuldoon@redhat.com>
9374 Jan Kratochvil <jan.kratochvil@redhat.com>
9375 Tom Tromey <tromey@redhat.com>
9376
9377 * configure.ac: Add gdb.compile/.
9378 * configure: Regenerate.
9379 * gdb.compile/Makefile.in: New file.
9380 * gdb.compile/compile-ops.exp: New file.
9381 * gdb.compile/compile-ops.c: New file.
9382 * gdb.compile/compile-tls.c: New file.
9383 * gdb.compile/compile-tls.exp: New file.
9384 * gdb.compile/compile-constvar.S: New file.
9385 * gdb.compile/compile-constvar.c: New file.
9386 * gdb.compile/compile-mod.c: New file.
9387 * gdb.compile/compile-nodebug.c: New file.
9388 * gdb.compile/compile-setjmp-mod.c: New file.
9389 * gdb.compile/compile-setjmp.c: New file.
9390 * gdb.compile/compile-setjmp.exp: New file.
9391 * gdb.compile/compile-shlib.c: New file.
9392 * gdb.compile/compile.c: New file.
9393 * gdb.compile/compile.exp: New file.
9394 * lib/gdb.exp (skip_compile_feature_tests): New proc.
9395
4ff709eb
TT
93962014-12-12 Tom Tromey <tromey@redhat.com>
9397
9398 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
9399 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
9400
6dddd6a5
DE
94012014-12-12 Doug Evans <dje@google.com>
9402
9403 * lib/gdb-python.exp (get_python_valueof): New function.
9404 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
9405
71c24708
AA
94062014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9407
9408 * gdb.base/completion.exp: Add test for completion of "info
9409 registers ".
9410
3e29f34a
MR
94112014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
9412
9413 * gdb.base/func-ptrs.c: New file.
9414 * gdb.base/func-ptrs.exp: New file.
9415
fc126975
SM
94162014-12-10 Simon Marchi <simon.marchi@ericsson.com>
9417
9418 PR breakpoints/17012
9419 * gdb.base/dprintf-detach.c: New file.
9420 * gdb.base/dprintf-detach.exp: New file.
9421
0a46d518
SM
94222014-12-10 Simon Marchi <simon.marchi@ericsson.com>
9423
9424 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
9425 * lib/gdb.exp (target_is_gdbserver): New procedure.
9426
a0be3e44
DE
94272014-12-08 Doug Evans <dje@google.com>
9428
9429 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
9430
df1b803a
YQ
94312014-12-05 Yao Qi <yao@codesourcery.com>
9432
9433 * gdb.guile/scm-error.exp: Remove the third argument to
9434 gdb_remote_download.
9435 * gdb.guile/scm-frame-args.exp: Likewise.
9436 * gdb.guile/scm-section-script.exp: Likewise.
9437
ddb9f679
YQ
94382014-12-05 Yao Qi <yao@codesourcery.com>
9439
9440 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
9441
86e4ed39
DE
94422014-12-04 Doug Evans <dje@google.com>
9443
9444 * gdb.python/py-objfile.exp: Add tests for
9445 objfile.add_separate_debug_file.
9446
7c50a931
DE
94472014-12-04 Doug Evans <dje@google.com>
9448
9449 * lib/gdb.exp (get_build_id): New function.
9450 (build_id_debug_filename_get): Rewrite to use it.
9451 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
9452
621661e3
MR
94532014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
9454
9455 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
9456 `method(long)', not just 0x0.
9457 * gdb.cp/nsalias.exp: Align code labels to 4.
9458 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
9459 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
9460 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
9461 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
9462 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
9463 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
9464
29f0c3b7
DE
94652014-12-02 Doug Evans <dje@google.com>
9466
e1e061e7 9467 PR symtab/17602
29f0c3b7 9468 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 9469 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
9470 * gdb.cp/anon-ns.exp: Update.
9471
162078c8
NB
94722014-12-02 Nick Bull <nicholaspbull@gmail.com>
9473
9474 * gdb.python/py-events.py (inferior_call_handler): New.
9475 (register_changed_handler, memory_changed_handler): New.
9476 (test_events.invoke): Register new handlers.
9477 * gdb.python/py-events.exp: Add tests for inferior call,
9478 memory_changed and register_changed events.
9479
fdb09caf
AA
94802014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
9481
9482 * gdb.base/execl-update-breakpoints.exp: Specify the link address
9483 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
9484 if the linker doesn't understand this.
9485
55cfb2c4
SM
94862014-12-01 Simon Marchi <simon.marchi@ericsson.com>
9487
9488 * gdb.python/python.exp: Change expected reply to help().
9489
9e8cd6df
YQ
94902014-12-01 Yao Qi <yao@codesourcery.com>
9491
9492 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
9493 AC_CONFIG_SUBDIRS(gdb.gdbtk).
9494 * configure: Re-generated.
9495
6c659fc2
SC
94962014-11-28 Siva Chandra Reddy <sivachandra@google.com>
9497
9498 * gdb.cp/chained-calls.cc: New file.
9499 * gdb.cp/chained-calls.exp: New file.
9500 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
9501
d7fc3181
SM
95022014-11-28 Simon Marchi <simon.marchi@ericsson.com>
9503
9504 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
9505 * gdb.dwarf2/symtab-producer.exp: Same.
9506 * gdb.gdb/python-interrupts.exp: Same.
9507 * gdb.gdb/python-selftest.exp: Same.
9508 * gdb.python/py-linetable.exp: Same.
9509 * gdb.python/py-type.exp: Same.
9510 * gdb.python/py-value-cc.exp: Same.
9511 * gdb.python/py-value.exp: Same.
9512
10e79639
YQ
95132014-11-28 Yao Qi <yao@codesourcery.com>
9514
9515 * gdb.base/break-probes.exp: Match library name prefixed with
9516 sysroot.
9517
f28a0564
SM
95182014-11-27 Simon Marchi <simon.marchi@ericsson.com>
9519
9520 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
9521 test expected output. Add parentheses for the call to print.
9522 Remove L suffix from integers.
9523
3fe1ce1d
DE
95242014-11-26 Doug Evans <dje@google.com>
9525
9526 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
9527
84429e27
YQ
95282014-11-22 Yao Qi <yao@codesourcery.com>
9529
9530 * gdb.trace/entry-values.c: Remove asms.
9531 (foo): Add foo_label.
9532 (bar): Add bar_label.
9533 * gdb.trace/entry-values.exp: Remove code computing foo's
9534 length and bar's length.
9535 (Dwarf::assemble): Invoke function_range for bar and use
9536 MACRO_AT_func for foo.
9537
26741859
YQ
95382014-11-22 Yao Qi <yao@codesourcery.com>
9539
9540 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
9541 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
9542 Use .Lgcc43_procstart instead of gcc43.
9543
45e44d27
JB
95442014-11-21 Joel Brobecker <brobecker@adacore.com>
9545
9546 * gdb.ada/n_arr_bound: New testcase.
9547
458c8db8
SDJ
95482014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
9549
9550 PR breakpoints/10737
9551 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
9552 test_catch_syscall_multi_arch.
9553 (test_catch_syscall_multi_arch): New function.
9554
43f3e411
DE
95552014-11-20 Doug Evans <xdje42@gmail.com>
9556
9557 * gdb.base/maint.exp: Update expected output.
9558
0d7b2549
AA
95592014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9560
9561 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
9562 4-byte instruction on S390.
9563
8908fca5
JB
95642014-11-19 Joel Brobecker <brobecker@adacore.com>
9565
9566 * gdb.ada/arr_arr: New testcase.
9567
4a46959e
JB
95682014-11-19 Joel Brobecker <brobecker@adacore.com>
9569
9570 * gdb.ada/pkd_arr_elem: New Testcase.
9571
470e2f4e
LM
95722014-11-18 Luis Machado <lgustavo@codesourcery.com>
9573
9574 * gdb.reverse/break-precsave: Expect completion message for
9575 core file reads.
9576 * gdb.reverse/consecutive-precsave.exp: Likewise.
9577 * gdb.reverse/finish-precsave.exp: Likewise.
9578 * gdb.reverse/i386-precsave.exp: Likewise.
9579 * gdb.reverse/machinestate-precsave.exp: Likewise.
9580 * gdb.reverse/sigall-precsave.exp: Likewise.
9581 * gdb.reverse/solib-precsave.exp: Likewise.
9582 * gdb.reverse/step-precsave.exp: Likewise.
9583 * gdb.reverse/until-precsave.exp: Likewise.
9584 * gdb.reverse/watch-precsave.exp: Likewise.
9585
a267f3ad
AA
95862014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9587
9588 * gdb.base/bp-permanent.c: Include unistd.h.
9589 * gdb.python/py-framefilter-mi.c (main): Add return type.
9590 * gdb.python/py-framefilter.c (main): Likewise.
9591 * gdb.trace/actions-changed.c (main): Likewise.
9592
12084a9a
AA
95932014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9594
9595 * gdb.mi/until.c: Add eye-catchers.
9596 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
9597 line numbers.
9598
dc7e1a77
AA
95992014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9600
9601 * gdb.base/condbreak.exp: Drop references to removed non-prototype
9602 function header variants in break1.c.
9603 * gdb.base/ena-dis-br.exp: Likewise.
9604 * gdb.base/hbreak2.exp: Likewise.
9605 * gdb.reverse/until-precsave.exp: Drop references to removed
9606 non-prototype function header variants in ur1.c.
9607 * gdb.reverse/until-reverse.exp: Likewise.
9608
41c77605
PM
96092014-11-17 Petr Machata <pmachata@redhat.com>
9610
9611 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
9612 ${_cu_offset_size} bytes abbrev offset.
9613
34248c3a
DE
96142014-11-15 Doug Evans <xdje42@gmail.com>
9615
9616 PR symtab/17559
9617 * gdb.base/line-symtabs.exp: New file.
9618 * gdb.base/line-symtabs.c: New file.
9619 * gdb.base/line-symtabs.h: New file.
9620
646da059
YQ
96212014-11-14 Yao Qi <yao@codesourcery.com>
9622
9623 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
9624 (func): Add label func_label.
9625 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
9626 Replace low_pc and high_pc with MACRO_AT_range.
9627 Replace name, low_pc and high_pc with MACRO_AT_func.
9628
9301ebe6
YQ
96292014-11-14 Yao Qi <yao@codesourcery.com>
9630
9631 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
9632 Replace name, low_pc and high_pc with MACRO_AT_func.
9633
f166b542
YQ
96342014-11-14 Yao Qi <yao@codesourcery.com>
9635
9636 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
9637 produce debug information.
9638 * gdb.dwarf2/implptr-optimized-out.S: Removed.
9639
0f6e71e3
YQ
96402014-11-14 Yao Qi <yao@codesourcery.com>
9641
9642 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
9643 object and get function length.
9644 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
9645 with MACRO_AT_func.
9646 (top-level): Replace gdb_compile and clean_restart with
9647 prepare_for_testing.
9648 * gdb.dwarf2/main.c (main): Add label main_label.
9649
876c4df9
YQ
96502014-11-14 Yao Qi <yao@codesourcery.com>
9651
9652 * lib/dwarf.exp (function_range): New procedure.
9653 (Dwarf::_handle_macro_at_func): New procedure.
9654 (Dwarf::_handle_macro_at_range): New procedure.
9655 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
9656
02ad9cf1
YQ
96572014-11-14 Yao Qi <yao@codesourcery.com>
9658
9659 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
9660 (_handle_attribute): New procedure.
9661
a59add0c
AA
96622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9663
9664 * gdb.ada/cond_lang/foo.c (callme): Add return type.
9665 * gdb.base/call-sc.c (zed): Likewise.
9666 * gdb.base/checkpoint.c (main): Likewise.
9667 * gdb.base/dump.c (main): Likewise.
9668 * gdb.base/gcore.c (main): Likewise.
9669 * gdb.base/huge.c (main): Likewise.
9670 * gdb.base/multi-forks.c (main): Likewise.
9671 * gdb.base/pr10179-a.c (main): Likewise.
9672 * gdb.base/savedregs.c (main): Likewise.
9673 * gdb.base/sigaltstack.c (main): Likewise.
9674 * gdb.base/siginfo.c (main): Likewise.
9675 * gdb.base/structs.c (zed): Likewise.
9676 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
9677 * gdb.mi/mi-syn-frame.c (main): Likewise.
9678 * gdb.mi/until.c (foo, main): Likewise.
9679 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
9680 * gdb.base/solib-weak.c (foo): Declare.
9681 * gdb.base/attach-twice.c: Include stdio.h.
9682 * gdb.base/weaklib1.c: Likewise.
9683 * gdb.base/weaklib2.c: Likewise.
9684 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
9685 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
9686 unistd.h.
9687 * gdb.base/attach-pie-misread.c: Include stdlib.h.
9688 * gdb.mi/mi-exit-code.c: Likewise.
9689 * gdb.base/break-interp-lib.c: Include string.h.
9690 * gdb.base/coremaker.c: Likewise.
9691 * gdb.base/testenv.c: Likewise.
9692 * gdb.python/py-finish-breakpoint.c: Likewise.
9693 * gdb.base/inferior-died.c: Include sys/wait.h.
9694 * gdb.base/fileio.c: Include time.h.
9695 * gdb.base/async-shell.c: Include unistd.h.
9696 * gdb.base/dprintf-non-stop.c: Likewise.
9697 * gdb.base/info-os.c: Likewise.
9698 * gdb.mi/mi-console.c: Likewise.
9699 * gdb.mi/watch-nonstop.c: Likewise.
9700 * gdb.python/py-events.c: Likewise.
9701 * gdb.base/async.c (baz): Move up before its invocation.
9702 * gdb.base/code_elim2.c (my_global_func): Likewise.
9703 * gdb.base/skip-solib-lib.c (multiply): Likewise.
9704 * gdb.base/advance.c (func2): Likewise.
9705
3b5d5997
AA
97062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9707
9708 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
9709 variant.
9710 * gdb.base/annota3.c: Likewise.
9711 * gdb.base/async.c: Likewise.
9712 * gdb.base/average.c: Likewise.
9713 * gdb.base/call-ar-st.c: Likewise.
9714 * gdb.base/call-rt-st.c: Likewise.
9715 * gdb.base/call-sc.c: Likewise.
9716 * gdb.base/call-strs.c: Likewise.
9717 * gdb.base/ending-run.c: Likewise.
9718 * gdb.base/execd-prog.c: Likewise.
9719 * gdb.base/exprs.c: Likewise.
9720 * gdb.base/foll-exec.c: Likewise.
9721 * gdb.base/foll-fork.c: Likewise.
9722 * gdb.base/foll-vfork.c: Likewise.
9723 * gdb.base/funcargs.c: Likewise.
9724 * gdb.base/gcore.c: Likewise.
9725 * gdb.base/jump.c: Likewise.
9726 * gdb.base/langs0.c: Likewise.
9727 * gdb.base/langs1.c: Likewise.
9728 * gdb.base/langs2.c: Likewise.
9729 * gdb.base/mips_pro.c: Likewise.
9730 * gdb.base/nodebug.c: Likewise.
9731 * gdb.base/opaque0.c: Likewise.
9732 * gdb.base/opaque1.c: Likewise.
9733 * gdb.base/recurse.c: Likewise.
9734 * gdb.base/run.c: Likewise.
9735 * gdb.base/scope0.c: Likewise.
9736 * gdb.base/scope1.c: Likewise.
9737 * gdb.base/setshow.c: Likewise.
9738 * gdb.base/setvar.c: Likewise.
9739 * gdb.base/shmain.c: Likewise.
9740 * gdb.base/shr1.c: Likewise.
9741 * gdb.base/shr2.c: Likewise.
9742 * gdb.base/sigall.c: Likewise.
9743 * gdb.base/signals.c: Likewise.
9744 * gdb.base/so-indr-cl.c: Likewise.
9745 * gdb.base/solib2.c: Likewise.
9746 * gdb.base/structs.c: Likewise.
9747 * gdb.base/sum.c: Likewise.
9748 * gdb.base/vforked-prog.c: Likewise.
9749 * gdb.base/watchpoint.c: Likewise.
9750 * gdb.reverse/shr2.c: Likewise.
9751 * gdb.reverse/until-reverse.c: Likewise.
9752 * gdb.reverse/ur1.c: Likewise.
9753 * gdb.reverse/watch-reverse.c: Likewise.
9754
066a77c5
AA
97552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9756
9757 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
9758 variant.
9759 * gdb.base/sepdebug.exp: Drop references to removed code.
9760
4f204ea5
AA
97612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9762
9763 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
9764 variant. Preserve original line numbering.
9765 * gdb.base/list1.c: Likewise.
9766
3b377a3a
AA
97672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9768
9769 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
9770 variant.
9771 * gdb.base/break1.c: Likewise.
9772 * gdb.base/break.exp: Drop references to removed code.
9773
e444df73
AA
97742014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9775
9776 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
9777 variant.
9778
8008f2a7
AA
97792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9780
9781 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
9782
a5a06887
AA
97832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9784
9785 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
9786 logic into perform_all_tests() and invoke it with and without
9787 function header prototypes.
9788 (do_function_calls): Remove conditional XFAIL for PR 5318.
9789 (rerun_and_prepare): Remove duplicate code.
9790 (perform_all_tests): New. Main logic moved here.
9791
44dba9b9
AA
97922014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9793
9794 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
9795 code guarded by #ifdef NO_PROTOTYPES.
9796 (t_double_many_args): Likewise.
9797 (DEF_FUNC_MANY_ARGS_1): Likewise.
9798 (DEF_FUNC_VALUES_1): Likewise.
9799 (t_structs_ldc): Renamed from t_structs_fc in conditional code
9800 guarded by #ifdef PROTOTYPES.
9801
d1fbcd56
AA
98022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9803
9804 * gdb.mi/mi-console.c: Add eye-catcher.
9805 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
9806 instead of literal line number.
9807
b0e59b8f
AA
98082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9809
9810 * gdb.base/shr2.c: Add eye-catcher.
9811 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
9812 line number.
9813
78f98cca
AA
98142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9815
9816 * gdb.base/jump.c: Add eye-catchers.
9817 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
9818 numbers.
9819
58fa2af0
AA
98202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9821
9822 * gdb.base/execd-prog.c: Add eye-catchers.
9823 * gdb.base/foll-exec.c: Likewise.
9824 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
9825 line numbers.
9826
04e5059b
AA
98272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9828
9829 * gdb.base/ending-run.c: Add eye-catchers.
9830 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
9831 literal line numbers.
9832
dbfdb174
AA
98332014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9834
9835 * gdb.base/call-rt-st.c: Add eye-catchers.
9836 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
9837 literal line numbers.
9838
888a2ade
AA
98392014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9840
9841 * gdb.base/call-ar-st.c: Add eye-catchers.
9842 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
9843 literal line numbers.
9844
6acc2dde
AA
98452014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9846
9847 * gdb.base/average.c: Add eye-catchers.
9848 * gdb.base/sum.c: Likewise.
9849 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
9850 regexps dynamically.
9851
9ecfcd1d
AA
98522014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9853
9854 * gdb.base/solib1.c: Add eye-catchers.
9855 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
9856 literal line numbers.
9857
78708b7c
PA
98582014-11-12 Pedro Alves <palves@redhat.com>
9859
9860 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
9861 leader has exited.
9862
af48d08f
PA
98632014-11-12 Pedro Alves <palves@redhat.com>
9864
9865 * gdb.arch/i386-bp_permanent.c: New file.
9866 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
9867 (srcfile): Set to i386-bp_permanent.c.
9868 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
9869 that stepi does not execute the 'leave' instruction, instead of
9870 testing it does execute.
9871 * gdb.base/bp-permanent.c: New file.
9872 * gdb.base/bp-permanent.exp: New file.
9873
af3768e9
DE
98742014-11-10 Doug Evans <xdje42@gmail.com>
9875
9876 PR symtab/17564
9877 * gdb.base/symtab-search-order.exp: New file.
9878 * gdb.base/symtab-search-order.c: New file.
9879 * gdb.base/symtab-search-order-1.c: New file.
9880 * gdb.base/symtab-search-order-shlib-1.c: New file.
9881
9de00a4a
PA
98822014-11-07 Pedro Alves <palves@redhat.com>
9883
9884 PR gdb/17511
9885 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
9886 i?86-*-linux*.
9887
e0f52461
SC
98882014-11-03 Siva Chandra Reddy <sivachandra@google.com>
9889
9890 PR c++/17494
9891 * gdb.cp/pr17494.cc: New file.
9892 * gdb.cp/pr17494.exp: New file.
9893
6ce8c980
YQ
98942014-11-02 Yao Qi <yao@codesourcery.com>
9895
9896 * gdb.python/python.exp: Get working directory and match the
9897 output of "set extended-prompt \\w " with it.
9898
02be9a71
DE
98992014-10-30 Doug Evans <dje@google.com>
9900
9901 * gdb.python/py-objfile.exp: Add tests for setting random attributes
9902 in objfiles.
9903 * gdb.python/py-progspace.exp: Add tests for setting random attributes
9904 in progspaces.
9905
3bdff46b
LM
99062014-10-30 Janis Johnson <janisjo@codesourcery.com>
9907
9908 * gdb.base/fullpath-expand.exp: Skip for a remote host.
9909 * gdb.base/realname-expand.exp: Likewise.
9910 * gdb.linespec/macro-relative.exp: Likewise.
9911
ab917dfb
PA
99122014-10-29 Pedro Alves <palves@redhat.com>
9913
9914 PR gdb/17408
9915 * gdb.threads/schedlock.c (some_function): New function.
9916 (call_function): New global.
9917 (MAYBE_CALL_SOME_FUNCTION): New macro.
9918 (thread_function): Call it.
9919 * gdb.threads/schedlock.exp (get_args): Add description parameter,
9920 and use it instead of a global counter. Adjust all callers.
9921 (get_current_thread): Use "find current thread" for test message
9922 here rather than having all callers pass down the same string.
9923 (goto_loop): New procedure, factored out from ...
9924 (my_continue): ... this.
9925 (step_ten_loops): Change parameter from test message to command to
9926 use. Adjust.
9927 (list_count): Delete global.
9928 (check_result): New procedure, factored out from duplicate top
9929 level code.
9930 (continue tests): Wrap in with_test_prefix.
9931 (test_step): New procedure, factored out from duplicate top level
9932 code.
9933 (top level): Test "step" in combination with all scheduler-locking
9934 modes. Test "next" in combination with all scheduler-locking
9935 modes, and in combination with stepping over a function call or
9936 not.
9937 * gdb.threads/next-bp-other-thread.c: New file.
9938 * gdb.threads/next-bp-other-thread.exp: New file.
9939
d3d4baed
PA
99402014-10-29 Pedro Alves <palves@redhat.com>
9941
9942 PR python/17372
9943 * gdb.python/python.exp: Test a multi-line command that spawns
9944 interactive Python.
9945 * gdb.base/multi-line-starts-subshell.exp: New file.
9946
563e8d85
YQ
99472014-10-29 Yao Qi <yao@codesourcery.com>
9948
9949 * gdb.base/fileio.exp: Make directories on host.
9950
0ea4d52e
YQ
99512014-10-29 Yao Qi <yao@codesourcery.com>
9952
9953 * gdb.base/fileio.c (test_write): Close the file.
9954
7f5ef605
PA
99552014-10-28 Pedro Alves <palves@redhat.com>
9956
9957 PR gdb/12623
9958 * gdb.base/sigstep.c (no_handler): New global.
9959 (main): If 'no_handler is true, set the signal handlers to
9960 SIG_IGN.
9961 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
9962 with_sw_watch and no_handler parameters. Handle them.
9963 (top level) <stepping over handler when stopped at a breakpoint
9964 test>: Add a test axis for testing with a software watchpoint, and
9965 another for testing with the signal handler set to SIG_IGN.
9966 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
9967 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
9968
abbdbd03
PA
99692014-10-28 Pedro Alves <palves@redhat.com>
9970
9971 PR gdb/17511
9972 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
9973 * gdb.base/sigstep.exp (other_handler_location): New global.
9974 (advance): Support stepping into the signal handler, and running
9975 commands while in the handler.
9976 (in_handler_map): New global.
9977 (top level): In the advance test, add combinations for getting
9978 into the handler with stepping commands, and for running commands
9979 in the handler. Add comment descripting the advancei tests.
9980
1df4399f
PA
99812014-10-28 Pedro Alves <palves@redhat.com>
9982
9983 * gdb.base/sigstep.exp: Use build_executable instead of
9984 prepare_for_testing.
9985 (top level): Move code that starts GDB, runs to main and creates a
9986 display to ...
9987 (restart): ... this new procedure.
9988 (top level): Move backtrace from signal handler test to ...
9989 (validate_backtrace): ... this new procedure.
9990 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
9991 with_test_prefix. Always restart GDB.
9992 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
9993 with_test_prefix. Always restart GDB. No need to delete
9994 breakpoints after the test.
9995 (test_skip_handler): Remove prefix parameter.
9996 (skip_over_handler, breakpoint_to_handler)
9997 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
9998 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
9999 restart GDB. No need to delete breakpoints after the test.
10000 (top level): Use foreach to call the test procedures with
10001 different commands.
10002
a5b6e449
PA
100032014-10-28 Pedro Alves <palves@redhat.com>
10004
10005 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
10006 instead of GNATS numbers.
10007 * gdb.base/sigbpt.exp: Likewise.
10008 * gdb.base/siginfo.exp: Likewise.
10009 * gdb.base/sigstep.exp: Likewise.
10010
e5f8a7cc
PA
100112014-10-27 Pedro Alves <palves@redhat.com>
10012
10013 * gdb.base/sigstep.c (dummy): New global.
10014 (main): Issue a couple writes to the new global.
10015 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
10016 procedures.
10017 (skip_over_handler): Use test_skip_handler.
10018 (top level): Call skip_over_handler for stepi and nexti too.
10019 (breakpoint_over_handler): Use test_skip_handler.
10020 (top level): Call breakpoint_over_handler for stepi and nexti too.
10021
763905a3
YQ
100222014-10-27 Yao Qi <yao@codesourcery.com>
10023
10024 * gdb.trace/tfile.c (adjust_function_address)
10025 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
10026 function descriptor.
10027
6f259a23
DB
100282014-10-24 Don Breazeal <donb@codesourcery.com>
10029
10030 * gdb.base/foll-fork.exp (test_follow_fork,
10031 catch_fork_child_follow): Check for updated fork messages emitted
10032 from infrun.c.
10033 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
10034 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
10035 vfork_and_exec_child_follow_through_step): Check for updated vfork
10036 messages emitted from infrun.c.
10037
09dd9a69
PA
100382014-10-24 Pedro Alves <palves@redhat.com>
10039
10040 * gdb.base/corefile.exp: Remove references to ultrix.
10041 * gdb.base/interrupt.exp: Likewise.
10042 * gdb.base/whatis.exp: Likewise.
10043 * gdb.gdb/selftest.exp: Likewise.
10044 * gdb.threads/manythreads.exp: Likewise.
10045 * gdb.threads/print-threads.exp: Likewise.
10046 * gdb.threads/pthreads.exp:: Likewise.
10047 * gdb.threads/schedlock.exp: Likewise.
10048
3433cfa5
SC
100492014-10-24 Siva Chandra Reddy <sivachandra@google.com>
10050
10051 * gdb.cp/non-trivial-retval.cc: Add a test case.
10052 * gdb.cp/non-trivial-retval.exp: Add a test.
10053
092f880b
YQ
100542014-10-20 Yao Qi <yao@codesourcery.com>
10055
10056 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
10057 * gdb.python/py-objfile-script-gdb.py: New file.
10058 * gdb.python/py-objfile-script.exp: Update reference to
10059 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
10060 of remote_download. Remove the dest file.
10061
acbdb7f3
YQ
100622014-10-20 Yao Qi <yao@codesourcery.com>
10063
10064 * gdb.base/checkpoint.exp: Don't remove file copied on host.
10065 * gdb.base/step-line.exp: Likewise.
10066 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
10067 * gdb.dwarf2/dw2-basic.exp: Likewise.
10068 * gdb.dwarf2/dw2-compressed.exp: Likewise.
10069 * gdb.dwarf2/dw2-filename.exp: Likewise.
10070 * gdb.dwarf2/dw2-intercu.exp: Likewise.
10071 * gdb.dwarf2/dw2-intermix.exp: Likewise.
10072 * gdb.dwarf2/dw2-producer.exp: Likewise.
10073 * gdb.dwarf2/mac-fileno.exp: Likewise.
10074 * gdb.python/py-frame-args.exp: Likewise.
10075 * gdb.python/py-framefilter.exp: Likewise.
10076 * gdb.python/py-mi.exp: Likewise.
10077 * gdb.python/py-objfile-script.exp: Likewise
10078 * gdb.python/py-pp-integral.exp: Likewise.
10079 * gdb.python/py-pp-re-notag.exp: Likewise.
10080 * gdb.python/py-prettyprint.exp: Likewise.
10081 * gdb.python/py-section-script.exp: Likewise.
10082 * gdb.python/py-typeprint.exp: Likewise.
10083 * gdb.python/py-xmethods.exp: Likewise.
10084 * gdb.stabs/weird.exp: Likewise.
10085 * gdb.xml/tdesc-regs.exp: Likewise.
10086
bd286a29
KCY
100872014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
10088
10089 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
10090 (out_cu): Use addr_len for the size of addresses.
10091 (out_line): Likewise. Size DW_LNE_set_address instruction
10092 according to addr_len.
10093 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
10094 (FUNC): Add START_INSNS to definition.
10095
673dc4a0
YQ
100962014-10-18 Yao Qi <yao@codesourcery.com>
10097
10098 * gdb.base/argv0-symlink.exp: Check argv[0] value if
10099 gdb_has_argv0 return true.
10100 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
10101 check [target_info exists noargs], check [gdb_has_argv0]
10102 instead.
10103 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
10104 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
10105 procedures.
10106
4ffbba72
DE
101072014-10-17 Doug Evans <dje@google.com>
10108
10109 * gdb.python/py-events.exp: Update expected output for clear_objfiles
10110 event.
10111 * gdb.python/py-events.py: Add clear_objfiles event.
10112
d096d8c1
DE
101132014-10-17 Doug Evans <dje@google.com>
10114
10115 * gdb.python/py-objfile.exp: Test progspace attribute.
10116
a80db015
LM
101172014-10-17 Luis Machado <lgustavo@codesourcery.com>
10118
10119 * gdb.guile/scm-breakpoint.exp: Do not assume any
10120 directory separators when matching source file paths.
10121 * gdb.python/py-breakpoint.exp: Likewise.
10122 * gdb.reverse/break-precsave.exp: Likewise.
10123 * gdb.reverse/break-reverse.exp: Likewise.
10124 * gdb.reverse/consecutive-precsave.exp: Likewise.
10125 * gdb.reverse/finish-precsave.exp: Likewise.
10126 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
10127 * gdb.reverse/finish-reverse.exp: Likewise.
10128 * gdb.reverse/i386-precsave.exp: Likewise.
10129 * gdb.reverse/i387-env-reverse.exp: Likewise.
10130 * gdb.reverse/i387-stack-reverse.exp: Likewise.
10131 * gdb.reverse/machinestate-precsave.exp: Likewise.
10132 * gdb.reverse/machinestate.exp: Likewise.
10133 * gdb.reverse/sigall-precsave.exp: Likewise.
10134 * gdb.reverse/solib-precsave.exp: Likewise.
10135 * gdb.reverse/step-precsave.exp: Likewise.
10136 * gdb.reverse/until-precsave.exp: Likewise.
10137 * gdb.reverse/watch-precsave.exp: Likewise.
10138 * gdb.reverse/watch-reverse.exp: Likewise.
10139
b22089ab
YQ
101402014-10-17 Yao Qi <yao@codesourcery.com>
10141
10142 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
10143 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
10144
6c4486e6
PA
101452014-10-17 Pedro Alves <palves@redhat.com>
10146
10147 PR gdb/17471
10148 * gdb.base/bg-execution-repeat.c: New file.
10149 * gdb.base/bg-execution-repeat.exp: New file.
10150
0ff33695
PA
101512014-10-17 Pedro Alves <palves@redhat.com>
10152
10153 PR gdb/17300
10154 * gdb.base/continue-all-already-running.c: New file.
10155 * gdb.base/continue-all-already-running.exp: New file.
10156
6fdebc3d
PA
101572014-10-17 Pedro Alves <palves@redhat.com>
10158
10159 PR gdb/17472
10160 * gdb.base/annota-input-while-running.c: New file.
10161 * gdb.base/annota-input-while-running.exp: New file.
10162
32a8097b
PA
101632014-10-17 Pedro Alves <palves@redhat.com>
10164
10165 * gdb.base/callfuncs.exp: emove references to osf.
10166 * gdb.base/sigall.exp: Likewise.
10167 * gdb.gdb/selftest.exp: Likewise.
10168 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
10169 * gdb.mi/non-stop.c: Likewise.
10170 * gdb.mi/pthreads.c: Likewise.
10171 * gdb.reverse/sigall-precsave.exp: Likewise.
10172 * gdb.reverse/sigall-reverse.exp: Likewise.
10173 * gdb.threads/pthreads.c: Likewise.
10174 * gdb.threads/pthreads.exp: Likewise.
10175
7a3517ff
YQ
101762014-10-17 Yao Qi <yao@codesourcery.com>
10177
10178 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
10179 check 'target_info exists noargs'.
10180 (test_command_prompt_position): Likewise.
10181 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
10182 Remove "set args".
10183 (progvar_simple_while_test): Likewise.
10184 (progvar_complex_if_while_test): Likewise.
10185 (if_while_breakpoint_command_test): Likewise.
10186 (infrun_breakpoint_command_test): Likewise.
10187 (breakpoint_command_test): Likewise.
10188 (watchpoint_command_test): Likewise.
10189 (bp_deleted_in_command_test): Likewise.
10190 (temporary_breakpoint_commands): Likewise.
10191
bb99c472
YQ
101922014-10-16 Yao Qi <yao@codesourcery.com>
10193
10194 * gdb.base/remotetimeout.exp: Remove noargs checking.
10195
7c16b83e
PA
101962014-10-15 Pedro Alves <palves@redhat.com>
10197
10198 PR breakpoints/9649
10199 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
10200 * gdb.base/breakpoint-in-ro-region.exp
10201 (probe_target_hardware_step): New procedure.
10202 (top level): Probe hardware stepping and hardware breakpoint
10203 support. Test stepping through a read-only region, with both
10204 "breakpoint auto-hw" on and off and both "always-inserted" on and
10205 off.
10206
35a49624
IB
102072014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
10208
10209 * gdb.dlang/demangle.exp: Update for demangling changes.
10210
2d1c107c
SC
102112014-10-15 Siva Chandra Reddy <sivachandra@google.com>
10212
10213 * gdb.cp/non-trivial-retval.cc: Add new test cases.
10214 * gdb.cp/non-trivial-retval.exp: Add new tests.
10215
778811d5
SC
102162014-10-15 Siva Chandra Reddy <sivachandra@google.com>
10217
10218 PR c++/13403
10219 PR c++/15154
10220 * gdb.cp/non-trivial-retval.cc: New file.
10221 * gdb.cp/non-trivial-retval.exp: New file.
10222
10c5f0a8
YQ
102232014-10-15 Yao Qi <yao@codesourcery.com>
10224
10225 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
10226 remote host.
10227
65d7b369
YQ
102282014-10-15 Yao Qi <yao@codesourcery.com>
10229
10230 * gdb.python/py-symbol.exp: Match file base name if host is
10231 remote, otherwise match file name with dir name.
10232 * gdb.python/py-symtab.exp: Likewise.
10233 * gdb.python/python.exp: Likewise.
10234
46dc1394
YQ
102352014-10-15 Yao Qi <yao@codesourcery.com>
10236
10237 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
10238 pattern.
10239 * gdb.python/py-symtab.exp: Likewise.
10240 * gdb.python/python.exp: Remove trailing ".*". Fix typo
10241 locationn.
10242
c40cc657
JB
102432014-10-14 Joel Brobecker <brobecker@adacore.com>
10244
10245 * gdb.ada/addr_arith: New testcase.
10246
2abf49e1
MR
102472014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
10248
10249 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
10250 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
10251 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
10252 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
10253
f7088df3
SDJ
102542014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
10255
10256 * gdb.arch/stap-eval-lang-ada.S: Likewise.
10257 * gdb.arch/stap-eval-lang-ada.c: Likewise.
10258 * gdb.arch/stap-eval-lang-ada.exp: New file.
10259
4dc06805
YQ
102602014-10-14 Yao Qi <yao@codesourcery.com>
10261
10262 * gdb.mi/mi-var-child.c (nothing1): New function.
10263 (nothing2): New function.
10264 (do_children_tests): Set function pointers by nothing1 and
10265 nothing2.
10266 * gdb.mi/mi-var-child.exp: Step over new added statements.
10267 Update test to match the new output.
10268 * gdb.mi/var-cmd.c (nothing1): New function.
10269 (nothing2): New function.
10270 (do_children_tests): Set function pointers by nothing1 and
10271 nothing2.
10272 * gdb.mi/mi-var-display.exp: Update test to match output.
10273 Step to the line specified by $line_dct_nothing.
10274 Increase the number of lines to step.
10275
46a93de2
YQ
102762014-10-14 Yao Qi <yao@codesourcery.com>
10277
10278 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
10279 tests.
10280 * gdb.mi/mi2-var-child.exp: Likewise.
10281
14ea52ee
DE
102822014-10-13 Doug Evans <dje@google.com>
10283
10284 * gdb.python/py-objfile.exp: Change name of file name test.
10285
e5c6e92b
DE
102862014-10-13 Doug Evans <dje@google.com>
10287
10288 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
10289 from the start of the CU.
10290
c780cc2f
JK
102912014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10292 Yao Qi <yao@codesourcery.com>
10293
10294 Fix "save breakpoints" for "catch" command.
10295 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
10296 Remove -nonewline. Match also the added "main" line.
10297
99894e11
JK
102982014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10299
10300 Fix "save breakpoints" for "disable $bpnum" command.
10301 * gdb.base/save-bp.c (main): Add label.
10302 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
10303
6e1ac5a3
JK
103042014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10305
10306 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
10307
754dd2b0
YQ
103082014-10-11 Yao Qi <yao@codesourcery.com>
10309
10310 * gdb.server/server-kill.exp: Execute command
10311 "set remote trace-status-packet on" before "tstatus".
10312
f90183d7
YQ
103132014-10-11 Yao Qi <yao@codesourcery.com>
10314
10315 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
10316 (main): Call getppid.
10317 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
10318 and continue to it. Read variable "server_pid".
10319
bf40a607
YQ
103202014-10-11 Yao Qi <yao@codesourcery.com>
10321
10322 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
10323
052ca370
YQ
103242014-10-11 Yao Qi <yao@codesourcery.com>
10325
10326 * gdb.threads/thread-find.exp: Don't execute command
10327 "info threads".
10328 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
10329 * gdb.threads/linux-dp.exp: Don't check the condition
10330 $threads_created equals to zero.
10331
3831839c
PA
103322014-10-10 Pedro Alves <palves@redhat.com>
10333
10334 * gdb.base/bigcore.exp: Remove references to IRIX.
10335 * gdb.base/funcargs.exp: Likewise.
10336 * gdb.base/interrupt.exp: Likewise.
10337 * gdb.base/mips_pro.exp: Likewise.
10338 * gdb.base/nodebug.exp: Likewise.
10339 * gdb.base/setvar.exp: Likewise.
10340 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
10341
8b9a549d
PA
103422014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10343 Pedro Alves <palves@redhat.com>
10344
10345 PR symtab/14466
10346 * gdb.base/vdso-warning.c: New file.
10347 * gdb.base/vdso-warning.exp: New file.
10348
d48ba5e8
DE
103492014-10-02 Doug Evans <dje@google.com>
10350
10351 * gdb.base/structs.c (main): Don't run forever.
10352
2278c276
PA
103532014-10-02 Pedro Alves <palves@redhat.com>
10354
10355 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
10356 (top level) <stop threads 1, stop threads 2>: Use it.
10357
b57bacec
PA
103582014-10-02 Pedro Alves <palves@redhat.com>
10359
10360 * gdb.threads/break-while-running.exp (test): Add new
10361 'update_thread_list' argument. Skip "info threads" if false.
10362 (top level): Add new 'update_thread_list' axis.
10363
13fd3ff3
PA
103642014-10-02 Pedro Alves <palves@redhat.com>
10365
10366 PR breakpoints/17431
10367 * gdb.base/execl-update-breakpoints.c: New file.
10368 * gdb.base/execl-update-breakpoints.exp: New file.
10369
0fec99e8
PA
103702014-10-01 Pedro Alves <palves@redhat.com>
10371
10372 * gdb.base/breakpoint-in-ro-region.c: New file.
10373 * gdb.base/breakpoint-in-ro-region.exp: New file.
10374
2ddf4301
SM
103752014-10-01 Simon Marchi <simon.marchi@ericsson.com>
10376
10377 * gdb.mi/mi-exit-code.exp: New file.
10378 * gdb.mi/mi-exit-code.c: New file.
10379
6a5f3f43
YQ
103802014-09-30 Yao Qi <yao@codesourcery.com>
10381
10382 * lib/prelink-support.exp (build_executable_own_libs): Error if
10383 the target isn't native.
10384
345bcc73
YQ
103852014-09-30 Yao Qi <yao@codesourcery.com>
10386
10387 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
10388 false.
10389
a25a5a45
PA
103902014-09-22 Pedro Alves <palves@redhat.com>
10391
10392 * gdb.threads/break-while-running.exp: New file.
10393 * gdb.threads/break-while-running.c: New file.
10394
00ba3162
YQ
103952014-09-19 Yao Qi <yao@codesourcery.com>
10396
10397 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
10398 Invoke test. Restart GDB with --readnow and invoke test again.
10399
c3b7b696
YQ
104002014-09-19 Yao Qi <yao@codesourcery.com>
10401
10402 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
10403 proc set_breakpoint_on_gcd_function. Invoke
10404 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
10405 invoke set_breakpoint_on_gcd_function again.
10406
2b4fd423
DE
104072014-09-18 Doug Evans <dje@google.com>
10408
10409 * gdb.dwarf2/symtab-producer.exp: New file.
10410
a5947601
SDJ
104112014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
10412
10413 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
10414 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
10415 * gdb.base/global-var-nested-by-dso.c: Likewise.
10416 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10417
91c19059
SDJ
104182014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
10419 Pedro Alves <palves@redhat.com>
10420
10421 * gdb.base/watch-bitfields.exp: Pass string other than test file
10422 name to prepare_for_testing.
10423 (watch): New procedure.
10424 (expect_watchpoint): Use with_test_prefix.
10425 (top level): Factor out tests to ...
10426 (test_watch_location, test_regular_watch): ... these new
10427 procedures, and use with_test_prefix and gdb_continue_to_end.
10428
bb9d5f81
PP
104292014-09-16 Patrick Palka <patrick@parcs.ath.cx>
10430
10431 PR breakpoints/12526
10432 * gdb.base/watch-bitfields.exp: New file.
10433 * gdb.base/watch-bitfields.c: New file.
10434
635856f5
PA
104352014-09-16 Pedro Alves <palves@redhat.com>
10436
10437 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
10438 software and hardware addresses, not software address against
10439 itself.
10440
7280ceea
PA
104412014-09-16 Pedro Alves <palves@redhat.com>
10442
10443 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
10444 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
10445
428b16bd
PA
104462014-09-16 Pedro Alves <palves@redhat.com>
10447
10448 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
10449 files.
10450 * gdb.base/a2-run.exp: Remove all code guarded by istarget
10451 "*-*-vxworks*" throughout.
10452 * gdb.base/break.exp: Likewise.
10453 * gdb.base/default.exp: Likewise.
10454 * gdb.base/scope.exp: Likewise.
10455 * gdb.base/sepdebug.exp: Likewise.
10456 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
10457 throughout.
10458 * gdb.base/run.c: Likewise.
10459 * gdb.base/sepdebug.c: Likewise.
10460 * gdb.hp/gdb.aCC/run.c: Likewise.
10461 * gdb.reverse/until-reverse.c: Likewise.
10462 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
10463
666d413c
YQ
104642014-09-16 Yao Qi <yao@codesourcery.com>
10465
10466 * boards/local-remote-host-native.exp: New file.
10467
57cbd724
DE
104682014-09-14 Doug Evans <xdje42@gmail.com>
10469
10470 * gdb.threads/queue-signal.c (thread_count): New variable.
10471 (thread_count_mutex, thread_count_condvar): New variables.
10472 (incr_thread_count, wait_all_threads_running): New functions.
10473 (main): Wait for all threads to be in their thread functions.
10474
81219e53
DE
104752014-09-13 Doug Evans <xdje42@gmail.com>
10476
10477 * gdb.threads/queue-signal.c: New file.
10478 * gdb.threads/queue-signal.exp: New file.
10479
3714cea7
DE
104802014-09-13 Doug Evans <xdje42@gmail.com>
10481
10482 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
10483 be consistent with what default_gdb_init uses.
10484 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
10485 the plain text of the prompt. Add some logging printfs.
10486 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
10487
fa43b1d7
PA
104882014-09-12 Pedro Alves <palves@redhat.com>
10489
10490 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
10491 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
10492 * gdb.arch/i386-size-overlap.exp: Likewise.
10493 * gdb.arch/i386-size.exp: Likewise.
10494 * gdb.arch/i386-unwind.exp: Likewise.
10495 * gdb.base/a2-run.exp: Likewise.
10496 * gdb.base/break.exp: Likewise.
10497 * gdb.base/charset.exp: Likewise.
10498 * gdb.base/chng-syms.exp: Likewise.
10499 * gdb.base/commands.exp: Likewise.
10500 * gdb.base/dbx.exp: Likewise.
10501 * gdb.base/find.exp: Likewise.
10502 * gdb.base/funcargs.exp: Likewise.
10503 * gdb.base/jit-simple.exp: Likewise.
10504 * gdb.base/reread.exp: Likewise.
10505 * gdb.base/sepdebug.exp: Likewise.
10506 * gdb.base/step-bt.exp: Likewise.
10507 * gdb.cp/mb-inline.exp: Likewise.
10508 * gdb.cp/mb-templates.exp: Likewise.
10509 * gdb.objc/basicclass.exp: Likewise.
10510 * gdb.threads/killed.exp: Likewise.
10511
9d9bf2df
EBM
105122014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10513
10514 PR tdep/17379
10515 * gdb.arch/powerpc-stackless.S: New file.
10516 * gdb.arch/powerpc-stackless.exp: New file.
10517
1cf2f1b0
JK
105182014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10519
10520 * gdb.base/attach.c: Include unistd.h.
10521 (main): Call alarm. Add label postloop.
10522 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
10523 gdb_breakpoint, gdb_continue_to_breakpoint.
10524 (test_command_line_attach_run): Kill ${testpid} in one exit path.
10525
98880d46
PA
105262014-09-11 Pedro Alves <palves@redhat.com>
10527
10528 PR gdb/17347
10529 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
10530 * gdb.base/attach.exp (test_command_line_attach_run): New
10531 procedure.
10532 (top level): Call it.
10533
4c92ff2c
PA
105342014-09-11 Pedro Alves <palves@redhat.com>
10535
10536 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
10537 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
10538 (do_command_attach_tests): Use spawn_wait_for_attach.
10539 * gdb.base/solib-overlap.exp: Likewise.
10540 * gdb.multi/multi-attach.exp: Likewise.
10541 * gdb.python/py-prompt.exp: Likewise.
10542 * gdb.python/py-sync-interp.exp: Likewise.
10543 * gdb.server/ext-attach.exp: Likewise.
10544
3adc1a7d
GKB
105452014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
10546
10547 * gdb.fortran/array-element.exp: Remove unexpected "continue"
10548 command in testcase. Simplify testcase.
10549
96334934
JB
105502014-09-10 Joel Brobecker <brobecker@adacore.com>
10551
10552 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
10553
eb479039
JB
105542014-09-10 Joel Brobecker <brobecker@adacore.com>
10555
10556 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
10557
deede10c
JB
105582014-09-10 Joel Brobecker <brobecker@adacore.com>
10559
10560 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
10561
7828a5f5
JB
105622014-09-10 Joel Brobecker <brobecker@adacore.com>
10563
10564 * gdb.dwarf2/dynarr-ptr.c: New file.
10565 * gdb.dwarf2/dynarr-ptr.exp: New file.
10566
33aeebcf
MR
105672014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10568
10569 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
10570 of 30 rather than hardcoding 120 for a slow test case. Take the
10571 `gdb,timeout' target setting into account for this calculation.
10572 Don't extend the timeout for the test cases that don't need it.
10573
7b415901
MR
105742014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10575
10576 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
10577 a factor of 2 for a slow test case. Take the `gdb,timeout'
10578 target setting into account for this calculation.
10579 * gdb.reverse/until-precsave.exp: Increase the timeout by
10580 a factor of 15 and 3 respectively rather than adding 120
10581 for a pair of slow test cases. Take the `gdb,timeout'
10582 target setting into account for this calculation.
10583
4a40f85a
MR
105842014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10585
10586 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
10587 timeout, don't pass one down to gdb_expect.
10588 (gdb_expect): Rework timeout selection.
10589
09635af7
MR
105902014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10591
10592 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
10593 exception on timeout.
10594 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
10595 (gdbserver_start_extended): Catch any `gdbserver_start' error
10596 exceptions.
10597 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
10598 * lib/mi-support.exp (mi_gdb_target_load): Catch any
10599 `gdbserver_gdb_load' error exceptions.
10600
2bdd10b7
MR
106012014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10602
10603 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
10604 120 on waiting for the TCP socket to open.
10605
316935f0
DE
106062014-09-09 Doug Evans <xdje42@gmail.com>
10607
10608 * gdb.base/default.exp (show_conv_list): Add _caller_is,
10609 _caller_matches, _any_caller_is, _any_caller_matches.
10610
83740597
DE
106112014-09-09 Doug Evans <xdje42@gmail.com>
10612
10613 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
10614
4c122fc3
YQ
106152014-09-09 Yao Qi <yao@codesourcery.com>
10616
10617 * gdb.mi/mi-var-display.exp: Set print symbol off.
10618
a9f116cb
GKB
106192014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
10620
10621 PR gdb/17035
10622 * gdb.base/commands.exp: Add tests to verify user-defined
10623 commands with empty bodies.
10624 * gdb.python/py-cmd.exp: Test that we don't show user-defined
10625 python commands in `show user command`.
10626 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
10627 scheme commands in `show user command`.
10628
c75bd3a2
JK
106292014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10630
10631 PR python/17355
10632 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
10633 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
10634 * gdb.python/py-framefilter-invalidarg.exp: New file.
10635 * gdb.python/py-framefilter-invalidarg.py: New file.
10636
faa42425
DE
106372014-09-06 Doug Evans <xdje42@gmail.com>
10638
10639 PR 15276
10640 * gdb.python/py-caller-is.c: New file.
10641 * gdb.python/py-caller-is.exp: New file.
10642
474ca4f6
SDJ
106432014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
10644
10645 PR gdb/17235
10646 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
10647 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
10648
eb0b0463
SDJ
106492014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
10650
10651 PR fortran/17237
10652 * gdb.fortran/print-formatted.exp: New file.
10653 * gdb.fortran/print-formatted.f90: Likewise.
10654
5f3b99cf
SS
106552014-09-03 Sasha Smundak <asmundak@google.com>
10656
10657 * gdb.python/py-frame.exp: Test Frame.read_register.
10658
7d793aa9
SDJ
106592014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
10660
10661 PR python/16699
10662 * gdb.python/py-completion.exp: New file.
10663 * gdb.python/py-completion.py: Likewise.
10664
fb0576e9
DE
106652014-08-28 Doug Evans <dje@google.com>
10666
10667 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
10668 eax,etc. are live with values set by gdb and thus the compiler can't
10669 use them.
10670 * gdb.arch/i386-pseudo.c (main): Ditto.
10671
ee92b0dd
DE
106722014-08-27 Doug Evans <dje@google.com>
10673
10674 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
10675
6649db35
DE
106762014-08-25 Doug Evans <dje@google.com>
10677
10678 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
10679 (main): Ditto.
10680
564b7600
DE
106812014-08-25 Doug Evans <dje@google.com>
10682
10683 * gdb.threads/thread-execl.exp: #include <stdio.h>.
10684
3881fb67
YQ
106852014-08-24 Yao Qi <yao@codesourcery.com>
10686
10687 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
10688 symbol off.
10689 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
10690
a05a36a5
DE
106912014-08-22 Doug Evans <dje@google.com>
10692
10693 PR 17276
10694 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
10695 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
10696 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
10697
7c343b48
YQ
106982014-08-22 Yao Qi <yao@codesourcery.com>
10699
10700 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
10701 * gdb.python/py-finish-breakpoint2.exp: Likewise.
10702 * gdb.python/python.exp: Likewise. Use .py file on the host
10703 instead of the build.
10704
22fd09ae
JK
107052014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10706
10707 * gdb.threads/gcore-stale-thread.c: New file.
10708 * gdb.threads/gcore-stale-thread.exp: New file.
10709
a8454a7c
PA
107102014-08-21 Pedro Alves <palves@redhat.com>
10711
10712 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
10713 * gdb.base/gcore-relro-pie.exp: Likewise.
10714 * gdb.base/gcore-relro.exp: Likewise.
10715 * gdb.base/gcore.exp: Likewise.
10716 * gdb.base/print-symbol-loading.exp: Likewise.
10717 * gdb.threads/gcore-thread.exp: Likewise.
10718 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
10719
2a31c623
PA
107202014-08-20 Pedro Alves <palves@redhat.com>
10721 Jan Kratochvil <jan.kratochvil@redhat.com>
10722
10723 * Makefile.in (EXTRA_RULES, CC): New variables, get from
10724 configure.
10725 (EXPECT): Handle READ1 being set.
10726 (all): Depend on EXTRA_RULES.
10727 (check-read1, expect-read1, read1.so, read1): New rules.
10728 * README (Testsuite Parameters): Document the READ1 make variable.
10729 (Race detection): New section.
10730 * configure: Regenerate.
10731 * configure.ac: If build==host==target, and running under a
10732 GNU/glibc system, add read1 to the extra Makefile rules.
10733 (EXTRA_RULES): AC_SUBST it.
10734 * lib/read1.c: New file.
10735
d36430db
JB
107362014-08-20 Joel Brobecker <brobecker@adacore.com>
10737
10738 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
10739 the handling of variables declared as a typedef to an array
10740 which a DW_AT_data_location attribute.
10741
9a0dc9e3
PA
107422014-08-19 Andrew Burgess <aburgess@broadcom.com>
10743 Pedro Alves <palves@redhat.com>
10744
10745 PR symtab/14604
10746 PR symtab/14605
10747 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
10748 gdb_test.
10749
0718a8da
PA
107502014-08-19 Pedro Alves <palves@redhat.com>
10751
10752 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
10753
13b448cd
YQ
107542014-08-19 Yao Qi <yao@codesourcery.com>
10755
10756 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
10757 right line.
10758
1cbf5077
DB
107592014-08-18 David Blaikie <dblaikie@gmail.com>
10760
10761 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
10762
bf0fae19
JB
107632014-08-18 Joel Brobecker <brobecker@adacore.com>
10764
10765 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
10766 attribute in array range.
10767
3c8c5dcc
JB
107682014-08-18 Joel Brobecker <brobecker@adacore.com>
10769
10770 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
10771
e66d4446
SC
107722014-08-15 Siva Chandra Reddy <sivachandra@google.com>
10773
10774 PR c++/17132
10775 * gdb.cp/pr17132.cc: New file.
10776 * gdb.cp/pr17132.exp: New file.
10777
940df408
SC
107782014-08-15 Siva Chandra Reddy <sivachandra@google.com>
10779
10780 * gdb.python/py-xmethods.py (A_getarrayind)
10781 (E_method_char_worker.__call__, E_method_int_worker.__call__):
10782 Use 'print' with function call syntax.
10783 (E_method_matcher.match): Fix tab vs space indentation mixup.
10784
ebcc6c3a
YQ
107852014-08-15 Yao Qi <yao@codesourcery.com>
10786
10787 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
10788 false.
10789
775e0f04
YQ
107902014-08-15 Yao Qi <yao@codesourcery.com>
10791
10792 * gdb.cp/casts.exp: Set print symbol off.
10793 * gdb.cp/class2.exp: Likewise.
10794 * gdb.cp/overload.exp: Likewise.
10795 * gdb.cp/templates.exp: Likewise.
10796
d769e349
DE
107972014-08-11 Doug Evans <dje@google.com>
10798
10799 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
10800 (test_load_shlib): Update.
10801
20c6f1e1
YQ
108022014-08-09 Yao Qi <yao@codesourcery.com>
10803
10804 * gdb.base/display.exp: Invoke is_address_zero_readable.
10805 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
10806 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
10807 * gdb.base/hbreak-unmapped.exp: Return if
10808 is_address_zero_readable returns true.
10809 * gdb.base/signest.exp: Likewise.
10810 * gdb.base/signull.exp: Likewise.
10811 * gdb.base/sigbpt.exp: Likewise.
10812 * gdb.guile/scm-disasm.exp: Do the test if
10813 is_address_zero_readable returns false.
10814 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
10815 * gdb.python/py-arch.exp: Likewise.
10816 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
10817 * lib/gdb.exp (is_address_zero_readable): New proc.
10818
5792e8e3
YQ
108192014-08-09 Yao Qi <yao@codesourcery.com>
10820
10821 PR testsuite/13443
10822 * gdb.mi/mi-var-display.exp: Make test messages unique.
10823
3cecbbbe
TT
108242014-08-04 Tom Tromey <tromey@redhat.com>
10825
10826 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
10827 target 0".
10828
00b51ff5
TT
108292014-08-04 Tom Tromey <tromey@redhat.com>
10830
10831 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
10832 "target_resume".
10833
6908c509
JB
108342014-08-01 Joel Brobecker <brobecker@adacore.com>
10835
10836 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
10837 inner_vla_struct_object_size.
10838 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
10839 as xfail.
10840
cc6563d2
PA
108412014-07-30 Pedro Alves <palves@redhat.com>
10842
10843 * gdb.threads/signal-command-handle-nopass.exp (test): Add
10844 comment.
10845
7e09a223
YQ
108462014-07-29 Yao Qi <yao@codesourcery.com>
10847
10848 PR gdb/17206
10849 * gdb.base/until-nodebug.exp: New.
10850
7ebdbe92
DE
108512014-07-28 Doug Evans <xdje42@gmail.com>
10852
10853 PR guile/17203
10854 * gdb.guile/scm-parameter.exp: Add tests for trying to create
10855 previously existing parameter, and previously ambiguously spelled
10856 parameter.
10857
fdb1adc6
WN
108582014-07-28 Will Newton <will.newton@linaro.org>
10859
10860 * gdb.base/varargs.exp: Remove KFAILs for ARM.
10861
186fcde0
DE
108622014-07-26 Ludovic Courtès <ludo@gnu.org>
10863 Doug Evans <xdje42@gmail.com>
10864
10865 PR guile/17146
10866 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
10867
70509625
PA
108682014-07-25 Pedro Alves <palves@redhat.com>
10869
10870 * gdb.threads/signal-command-handle-nopass.c: New file.
10871 * gdb.threads/signal-command-handle-nopass.exp: New file.
10872 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
10873 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
10874 * gdb.threads/signal-delivered-right-thread.c: New file.
10875 * gdb.threads/signal-delivered-right-thread.exp: New file.
10876
c3f814a1
PA
108772014-07-25 Pedro Alves <palves@redhat.com>
10878
10879 * gdb.base/double-prompt-target-event-error.exp
10880 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
10881 match.
10882 (cancel_pagination_in_target_event): Rework double prompt
10883 detection.
10884 * gdb.base/paginate-after-ctrl-c-running.exp
10885 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
10886 <return>' match.
10887 * gdb.base/paginate-bg-execution.exp
10888 (test_bg_execution_pagination_return)
10889 (test_bg_execution_pagination_cancel): Remove '-notransfer
10890 <return>' matches.
10891 * gdb.base/paginate-execution-startup.exp
10892 (test_fg_execution_pagination_return)
10893 (test_fg_execution_pagination_cancel): Remove '-notransfer
10894 <return>' matches.
10895 * gdb.base/paginate-inferior-exit.exp
10896 (test_paginate_inferior_exited): Remove '-notransfer <return>'
10897 match.
10898 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
10899 * lib/gdb.exp (pagination_prompt): Run text through
10900 string_to_regexp.
10901 (gdb_test_multiple): Match $pagination_prompt instead of
10902 "<return>".
10903 (string_to_regexp): Move to lib/gdb-utils.exp.
10904
e214cf6c
JK
109052014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10906
10907 * gdb.arch/amd64-entry-value-paramref.S: New file.
10908 * gdb.arch/amd64-entry-value-paramref.cc: New file.
10909 * gdb.arch/amd64-entry-value-paramref.exp: New file.
10910 * gdb.arch/amd64-optimout-repeat.S: New file.
10911 * gdb.arch/amd64-optimout-repeat.c: New file.
10912 * gdb.arch/amd64-optimout-repeat.exp: New file.
10913
17d0c5c8
JK
109142014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10915
10916 PR gdb/17170
10917 * gdb.base/statistics.exp: New file.
10918
b8b8facf
DE
109192014-07-17 Doug Evans <dje@google.com>
10920
74b49205 10921 PR gdb/17170
b8b8facf
DE
10922 * gdb.base/maint.exp: Update testing of per-command stats.
10923
1b5d0ab3
PA
109242014-07-16 Pedro Alves <palves@redhat.com>
10925
10926 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
10927 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
10928 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
10929 (tfile_write_buf): New functions.
10930 (add_memory_block): Rewrite using the above.
10931 (adjust_function_address): New function.
10932 (FUNCTION_ADDRESS): New macro.
10933 (write_basic_trace_file): Remove short_x local, and use
10934 tfile_write_16. Change type of func_addr local to unsigned long
10935 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
10936 here. Cast argument of add_memory_block to char pointer.
10937 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
10938 (main): Remove parameters.
10939 * gdb.trace/tfile.exp: Remove nowarnings.
10940
4d974e88
SM
109412014-07-15 Simon Marchi <simon.marchi@ericsson.com>
10942
10943 * gdb.base/debug-expr.exp: Test string evaluation with
10944 "debug expression" on.
10945
41e99568
PA
109462014-07-15 Pedro Alves <palves@redhat.com>
10947
10948 * gdb.base/reread.exp: Use clean_restart.
10949
487d9753
PL
109502014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
10951
10952 * gdb.arch/avr-flash-qualifer.c: New.
10953 * gdb.arch/avr-flash-qualifer.exp: New.
10954
cc1c52ad
PA
109552014-07-14 Pedro Alves <palves@redhat.com>
10956
10957 * gdb.base/paginate-after-ctrl-c-running.c: New file.
10958 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
10959
1e973570
PA
109602014-07-14 Pedro Alves <palves@redhat.com>
10961
10962 * gdb.base/double-prompt-target-event-error.c: New file.
10963 * gdb.base/double-prompt-target-event-error.exp: New file.
10964
93d6eb10
PA
109652014-07-14 Pedro Alves <palves@redhat.com>
10966
10967 PR gdb/17072
10968 * gdb.base/paginate-inferior-exit.c: New file.
10969 * gdb.base/paginate-inferior-exit.exp: New file.
10970
0017922d
PA
109712014-07-14 Pedro Alves <palves@redhat.com>
10972
10973 PR gdb/17072
10974 * gdb.base/paginate-bg-execution.c: New file.
10975 * gdb.base/paginate-bg-execution.exp: New file.
10976
94696ad3
PA
109772014-07-14 Pedro Alves <palves@redhat.com>
10978
10979 PR gdb/17072
10980 * gdb.base/paginate-execution-startup.c: New file.
10981 * gdb.base/paginate-execution-startup.exp: New file.
10982 * lib/gdb.exp (pagination_prompt): New global.
10983 (default_gdb_spawn): New procedure, factored out from
10984 default_gdb_spawn.
10985 (default_gdb_start): Adjust to call default_gdb_spawn.
10986 (gdb_spawn): New procedure.
10987
bd293940
PA
109882014-07-14 Pedro Alves <palves@redhat.com>
10989
10990 * lib/gdb.exp (gdb_assert): New procedure.
10991 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
10992
c933f875
PA
109932014-07-14 Pedro Alves <palves@redhat.com>
10994
10995 * gdb.base/execution-termios.c: New file.
10996 * gdb.base/execution-termios.exp: New file.
10997
d98b7a16
TT
109982014-07-14 Tom Tromey <tromey@redhat.com>
10999
11000 * gdb.cp/vla-cxx.cc: New file.
11001 * gdb.cp/vla-cxx.exp: New file.
11002
548740d6
TT
110032014-07-14 Tom Tromey <tromey@redhat.com>
11004
11005 * gdb.reverse/rerun-prec.c: New file.
11006 * gdb.reverse/rerun-prec.exp: New file.
11007
a25eb028
MR
110082014-07-12 Maciej W. Rozycki <macro@mips.com>
11009 Maciej W. Rozycki <macro@codesourcery.com>
11010
11011 * lib/gdb-utils.exp: New file.
11012 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
11013 inline `gdb_init_command' processing.
11014 (gdb_start_cmd): Likewise.
11015 * lib/mi-support.exp (mi_run_cmd): Likewise.
11016 * README: Document `gdb_init_command' and `gdb_init_commands'.
11017
218c2655
JK
110182014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11019
11020 Fix false FAIL running under a very long directory name.
11021 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
11022 and "set print elements 10000". Twice.
11023
5401fde3
YQ
110242014-07-11 Yao Qi <yao@codesourcery.com>
11025
11026 * gdb.base/exprs.exp: "set print symbol off".
11027
e76126e8
PA
110282014-07-11 Pedro Alves <palves@redhat.com>
11029
11030 * gdb.threads/kill.c: New file.
11031 * gdb.threads/kill.exp: New file.
11032
2d6f0de6
YQ
110332014-07-10 Yao Qi <yao@codesourcery.com>
11034
11035 * gdb.trace/tfile.c (write_basic_trace_file)
11036 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
11037 address written to trace file.
11038
7180e04a
PA
110392014-07-09 Pedro Alves <palves@redhat.com>
11040
11041 * gdb.base/attach-wait-input.exp: New file.
11042 * gdb.base/attach-wait-input.c: New file.
11043
9a9a7608
AB
110442014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
11045
11046 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
11047 setting up test structures.
11048 (main): Call new test function.
11049 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
11050 test function, continue into test function and walk test
11051 structures.
11052
161ac41e
YQ
110532014-07-02 Yao Qi <yao@codesourcery.com>
11054
11055 * gdb.trace/entry-values.c: Define labels 'foo_start' and
11056 'bar_start' at the beginning of functions 'foo' and 'bar'
11057 respectively.
11058 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
11059 instead of 'foo' and 'bar'.
11060
1f267ae3
MM
110612014-07-08 Markus Metzger <markus.t.metzger@intel.com>
11062
11063 * gdb.btrace/segv.exp: New.
11064 * gdb.btrace/segv.c: New.
11065
2b239efb
LM
110662014-07-02 Luis Machado <lgustavo@codesourcery.com>
11067
11068 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
11069 instruction.
11070
cf363f18
MW
110712014-06-30 Mark Wielaard <mjw@redhat.com>
11072
11073 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
11074 vulture, vilify, villar): New volatile array constants.
11075 (vindictive, vegetation): New const volatile array constants.
11076 * gdb.base/volatile.exp: Test volatile and const volatile array
11077 types.
11078
aebf9d24
AA
110792014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
11080
11081 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
11082 target lacks support for awatch, rwatch, or hbreak.
11083
b67a2c6f
YQ
110842014-06-27 Yao Qi <yao@codesourcery.com>
11085
11086 * gdb.multi/dummy-frame-restore.exp: New.
11087 * gdb.multi/dummy-frame-restore.c: New.
11088
aef92902
MM
110892014-06-25 Markus Metzger <markus.t.metzger@intel.com>
11090
11091 * gdb.btrace/gcore.exp: New.
11092
8e9db26e
PA
110932014-06-23 Pedro Alves <palves@redhat.com>
11094
11095 * gdb.base/watchpoint-reuse-slot.c: New file.
11096 * gdb.base/watchpoint-reuse-slot.exp: New file.
11097
70afc5b7
SC
110982014-06-23 Siva Chandra Reddy <sivachandra@google.com>
11099
11100 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
11101 progspace's filename in 'info', 'enable' and 'disable' command
11102 tests.
11103
b972bd9c
JK
111042014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11105
11106 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
11107 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
11108 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
11109
125f8a3d
GB
111102014-06-20 Gary Benson <gbenson@redhat.com>
11111
11112 * gdb.arch/i386-avx.exp: Fix include file location.
11113 * gdb.arch/i386-sse.exp: Likewise.
11114
3ed9baed
IB
111152014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
11116
11117 * gdb.dlang/expression.exp: New file.
11118
034f788c
PA
111192014-06-19 Pedro Alves <palves@redhat.com>
11120
11121 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
11122 out from ...
11123 (top level): ... here. Iterate running tests under different
11124 scheduler-locking settings.
11125
45371d0c
LM
111262014-06-18 Luis Machado <lgustavo@codesourcery.com>
11127
11128 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
11129 to DW_FORM_addr and use non-zero addresses.
11130
5d376983
SC
111312014-06-18 Siva Chandra Reddy <sivachandra@google.com>
11132
11133 PR gdb/17017
11134 * gdb.python/py-xmethods.cc: Add global function call counters and
11135 increment them in their respective functions. Remove "cout"
11136 statements.
11137 * gdb.python/py-xmethods.exp: Make tests check the global function
11138 call counters instead of depending on inferior IO.
11139
a1aa2221
LM
111402014-06-18 Don Breazeal <donb@codesourcery.com>
11141
11142 * gdb.base/foll-fork.exp (default_fork_parent_follow):
11143 Deleted procedure.
11144 (explicit_fork_parent_follow): Deleted procedure.
11145 (explicit_fork_child_follow): Deleted procedure.
11146 (test_follow_fork): New procedure.
11147 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 11148 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
11149 procedure calls.
11150
0fc05997
YQ
111512014-06-17 Yao Qi <yao@codesourcery.com>
11152
11153 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
11154 CP1252.
11155
70795c52
LM
111562014-06-17 Luis Machado <lgustavo@codesourcery.com>
11157
11158 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
11159 Initialize ptr and S explicitly.
11160 (skip_type_update_when_not_use_rtti_test): Likewise.
11161
6be47f0c
KS
111622014-06-16 Keith Seitz <keiths@redhat.com>
11163
11164 PR mi/15863
11165 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
11166 the inferior is started.
11167
d03de421
PA
111682014-06-16 Pedro Alves <palves@redhat.com>
11169
11170 * gdb.base/break-main-file-remove-fail.c: New file.
11171 * gdb.base/break-main-file-remove-fail.exp: New file.
11172 * gdb.base/break-unload-file.exp: Use build_executable instead of
11173 prepare_for_testing.
11174 (test_break): New parameter "initial_load". Handle it.
11175 (top level): Add initial_load cmdline/file axis.
11176
f9579b99
TT
111772014-06-12 Tom Tromey <tromey@redhat.com>
11178
11179 * gdb.base/completion.exp: Don't use directory name in test.
11180
3657956b
GB
111812014-06-09 Gary Benson <gbenson@redhat.com>
11182
11183 * gdb.base/sigall.c [Functions to send signals]: Reorder to
11184 separate the always-available ANSI-standard signals from the
11185 signals that require checking.
11186 (main): Likewise.
11187 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
11188 Likewise.
11189 (main): Likewise.
11190
4186eb54
KS
111912014-06-07 Keith Seitz <keiths@redhat.com>
11192
11193 Revert:
11194 PR c++/16253
11195 * gdb.cp/var-tag.cc: New file.
11196 * gdb.cp/var-tag.exp: New file.
11197 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
11198 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
11199 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
11200 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
11201
25326a28 112022014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
11203
11204 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
11205
829155c9
PA
112062014-06-06 Pedro Alves <palves@redhat.com>
11207
11208 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
11209 in target debug output instead of looking at RSP packets,
11210 disabling the test on any target that uses hardware stepping.
11211 Update comments.
11212
61c8d22e
PA
112132014-06-06 Pedro Alves <palves@redhat.com>
11214
11215 * gdb.base/break-unload-file.exp: Fix typo.
11216
d9a47287
YQ
112172014-06-06 Yao Qi <yao@codesourcery.com>
11218
11219 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
11220 from "jit_function" to "^jit_function".
11221
e5e01dbf
YQ
112222014-06-06 Yao Qi <yao@codesourcery.com>
11223
11224 * gdb.base/async.c (foo): Add one statement.
11225 * gdb.base/async.exp: Get the next instruction address and
11226 match the output of "nexti" by instruction address. Match
11227 the hex address in the output of "finish".
11228
73ba372c
GB
112292014-06-06 Gary Benson <gbenson@redhat.com>
11230
11231 * gdb.base/call-signals.c: Remove preprocessor conditionals
11232 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
11233 SIGSEGV and SIGTERM.
11234 * gdb.base/sigall.c: Likewise.
11235 * gdb.base/unwindonsignal.c: Likewise.
11236 * gdb.reverse/sigall-reverse.c: Likewise.
11237
831517df
YQ
112382014-06-06 Yao Qi <yao@codesourcery.com>
11239
11240 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
11241 readable, skip the test.
11242
b8b91e98
YQ
112432014-06-06 Yao Qi <yao@codesourcery.com>
11244
11245 * gdb.threads/staticthreads.c (thread_function): Move the line
11246 setting breakpoint on forward.
11247 * gdb.threads/staticthreads.exp: Update comments.
11248
fb934770
LC
112492014-06-05 Ludovic Courtès <ludo@gnu.org>
11250
11251 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
11252 "history-append! type error".
11253
6ef284bd
SM
112542014-06-05 Simon Marchi <simon.marchi@ericsson.com>
11255
11256 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
11257 erroneous dprintf expected input.
11258
a872e241
DE
112592014-06-04 Doug Evans <xdje42@gmail.com>
11260
11261 * gdb.guile/scm-generics.exp: Delete.
11262
16f691fb
DE
112632014-06-04 Doug Evans <xdje42@gmail.com>
11264
11265 * gdb.guile/scm-breakpoint.exp: Update.
11266 Add tests for breakpoint registration.
11267
012370f6
TT
112682014-06-04 Tom Tromey <tromey@redhat.com>
11269
11270 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
11271 VLA-in-union.
11272 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
11273 inner_vla_struct, vla_union types. Initialize objects of those
11274 types and compute their sizes.
11275
9f5a4cef
HZ
112762014-06-04 Nathan Sidwell <nathan@codesourcery.com>
11277 Hui Zhu <hui@codesourcery.com>
11278
11279 * gdb.base/fileio.exp: Add test for shell not available as well as
11280 available.
11281 * gdb.base/fileio.c (test_system): Check for shell twice.
11282
90a45c4d
YQ
112832014-06-04 Yao Qi <yao@codesourcery.com>
11284
11285 * gdb.base/auto-connect-native-target.exp: Remove redundant
11286 space from the regexp pattern.
11287
70017e41
YQ
112882014-06-04 Yao Qi <yao@codesourcery.com>
11289
11290 * gdb.base/default.exp: Replace "child" with "native" in
11291 regexp pattern.
11292
883964a7
SC
112932014-06-03 Siva Chandra Reddy <sivachandra@google.com>
11294
11295 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
11296 * gdb.python/py-xmethods.exp: New tests to test xmethods.
11297 * gdb.python/py-xmethods.py: Python script supporting the
11298 new testcase and tests.
11299
ef370185
JB
113002014-06-03 Joel Brobecker <brobecker@adacore.com>
11301 Pedro Alves <palves@redhat.com>
11302
11303 PR breakpoints/17000
11304 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
11305 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
11306
1e2ccb61
BM
113072014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
11308
11309 * gdb.base/subst.exp: Add tests to verify partial path matching
11310 output.
11311
c6ec5ab2
PA
113122014-06-03 Pedro Alves <palves@redhat.com>
11313
11314 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
11315 target that doesn't use software single-stepping.
11316
835c559f
PA
113172014-06-03 Pedro Alves <palves@redhat.com>
11318
11319 PR breakpoints/17000
11320 * gdb.base/sss-bp-on-user-bp-2.c: New file.
11321 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
11322
06eb1586
DE
113232014-06-02 Doug Evans <xdje42@gmail.com>
11324
11325 * gdb.guile/scm-parameter.exp: New file.
11326
e698b8c4
DE
113272014-06-02 Doug Evans <xdje42@gmail.com>
11328
11329 * gdb.guile/scm-cmd.c: New file.
11330 * gdb.guile/scm-cmd.exp: New file.
11331
ded03782
DE
113322014-06-02 Doug Evans <xdje42@gmail.com>
11333
11334 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
11335 pretty-printer lookup.
11336 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
11337 (make-pp_s-printer): Call it.
11338 (make-pretty-printer-from-dict): New function.
11339 (lookup-pretty-printer-maker-from-dict): New function.
11340 (*pretty-printer*): Simplify.
11341 (make-objfile-pp_s-printer): New function.
11342 (install-objfile-pretty-printers!): New function.
11343 (make-progspace-pp_s-printer): New function.
11344 (install-progspace-pretty-printers!): New function.
11345 * gdb.guile/scm-progspace.c: New file.
11346 * gdb.guile/scm-progspace.exp: New file.
11347
41fac0cf
PA
113482014-06-02 Pedro Alves <palves@redhat.com>
11349
11350 * gdb.base/dprintf-bp-same-addr.c: New file.
11351 * gdb.base/dprintf-bp-same-addr.exp: New file.
11352
96ae5695
EBM
113532014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11354
11355 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
11356 * gdb.arch/powerpc-power.s: Likewise.
11357
da02b3a8
JB
113582014-06-02 Joel Brobecker <brobecker@adacore.com>
11359
11360 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
11361
c72b2e7b
YQ
113622014-06-01 Yao Qi <yao@codesourcery.com>
11363
11364 * gdb.base/watchpoint.exp (test_watch_location): Check null
11365 pointer can be dereferenced. If not, do the test, otherwise
11366 skip it.
11367
53e8a631
AB
113682014-05-30 Andrew Burgess <aburgess@broadcom.com>
11369
11370 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
11371 results.
11372 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
11373
938f0e2f
AB
113742014-05-30 Andrew Burgess <aburgess@broadcom.com>
11375
11376 * gdb.arch/amd64-invalid-stack-middle.S: New file.
11377 * gdb.arch/amd64-invalid-stack-middle.c: New file.
11378 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
11379 * gdb.arch/amd64-invalid-stack-top.c: New file.
11380 * gdb.arch/amd64-invalid-stack-top.exp: New file.
11381
9ba6657a
PA
113822014-05-30 Pedro Alves <palves@redhat.com>
11383
11384 PR breakpoints/17000
11385 * gdb.base/sss-bp-on-user-bp.c: New file.
11386 * gdb.base/sss-bp-on-user-bp.exp: New file.
11387
522c09bf
DB
113882014-05-30 David Blaikie <dblaikie@gmail.com>
11389
11390 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
11391 gnu_inline semantics via attribute.
11392 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
11393 source explicitly specifies the required semantics.
11394
bf4ef81e
MR
113952014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
11396
11397 * gdb.reverse/sigall-reverse.exp: Fix a typo.
11398
329ea579
PA
113992014-05-29 Pedro Alves <palves@redhat.com>
11400 Tom Tromey <tromey@redhat.com>
11401
11402 * gdb.base/async-shell.exp: Don't enable target-async.
11403 * gdb.base/async.exp
11404 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
11405 parameter. Adjust.
11406 (top level): Don't test with "target-async".
11407 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
11408 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
11409 * gdb.base/inferior-died.exp: Don't enable target-async.
11410 * gdb.base/interrupt-noterm.exp: Likewise.
11411 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
11412 * gdb.mi/mi-nonstop-exit.exp: Likewise.
11413 * gdb.mi/mi-nonstop.exp: Likewise.
11414 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
11415 * gdb.mi/mi-nsintrall.exp: Likewise.
11416 * gdb.mi/mi-nsmoribund.exp: Likewise.
11417 * gdb.mi/mi-nsthrexec.exp: Likewise.
11418 * gdb.mi/mi-watch-nonstop.exp: Likewise.
11419 * gdb.multi/watchpoint-multi.exp: Adjust comment.
11420 * gdb.python/py-evsignal.exp: Don't enable target-async.
11421 * gdb.python/py-evthreads.exp: Likewise.
11422 * gdb.python/py-prompt.exp: Likewise.
11423 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
11424 * gdb.server/solib-list.exp: Don't enable target-async.
11425 * gdb.threads/thread-specific-bp.exp: Likewise.
11426 * lib/mi-support.exp: Adjust to use mi-async.
11427
fd664c91
PA
114282014-05-29 Pedro Alves <palves@redhat.com>
11429
11430 PR gdb/13860
11431 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
11432 reason, even in sync mode.
11433
251bde03
PA
114342014-05-29 Pedro Alves <palves@redhat.com>
11435 Hui Zhu <hui@codesourcery.com>
11436
11437 PR PR15693
11438 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
11439 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
11440 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
11441 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
11442
7f3c0343
JB
114432014-05-28 Joel Brobecker <brobecker@adacore.com>
11444
11445 * config/monitor.exp (gdb_target_monitor): Replace use of
11446 "set remotebaud" by "set serial baud".
11447
b2715b27
AW
114482014-05-26 Andy Wingo <wingo@igalia.com>
11449
11450 * gdb.guile/scm-breakpoint.exp:
11451 * gdb.guile/scm-gsmob.exp: Update to use plain old object
11452 properties instead of gdb-object-properties.
11453
498a4489
YQ
114542014-05-26 Yao Qi <yao@codesourcery.com>
11455
11456 * gdb.server/no-thread-db.exp: Specify source file name
11457 explicitly when setting a breakpoint.
11458
589fdceb
MM
114592014-05-23 Markus Metzger <markus.t.metzger@intel.com>
11460
11461 * gdb.btrace/vdso.c: New.
11462 * gdb.btrace/vdso.exp: New.
11463
e9089e05
MM
114642014-05-23 Markus Metzger <markus.t.metzger@intel.com>
11465
11466 * gdb.base/gcore.exp (capture_command_output): Move ...
11467 * lib/gdb.exp (capture_command_output): ... here.
11468
67b5c0c1
MM
114692014-05-23 Markus Metzger <markus.t.metzger@intel.com>
11470
11471 * gdb.btrace/data.exp: Test memory access during btrace replay.
11472
a2199296
SM
114732014-05-22 Simon Marchi <simon.marchi@ericsson.com>
11474
11475 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
11476
17b2616c
PA
114772014-05-21 Pedro Alves <palves@redhat.com>
11478
11479 PR gdb/13860
11480 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
11481 (top level): Test that output related to execution commands is
11482 sent to the console with CLI commands, but not with MI commands.
11483 Test that breakpoint events are always mirrored to the console.
11484 Also expect the new source line to be output after a "next" in
11485 async mode too. Make it a pass/fail test.
11486 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
11487 output.
11488 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
11489
5166082f
PA
114902014-05-21 Pedro Alves <palves@redhat.com>
11491
11492 * gdb.base/list.exp (build_pattern, test_list): New procedures.
11493 Use them to test variations of "list" after reaching a breakpoint.
11494 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
11495 Test "list" with listsize 10 after reaching a breakpoint.
11496 * gdb.python/python.exp (decode_line current location line
11497 number): Adjust expected line number.
11498
2f25d70f
SM
114992014-05-21 Simon Marchi <simon.marchi@ericsson.com>
11500
11501 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
11502 behavior for $args, pass it directly to "run".
11503
ff604a67
MR
115042014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
11505
11506 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
11507 30000 to 65536.
11508
6a3cb8e8
PA
115092014-05-21 Pedro Alves <palves@redhat.com>
11510
11511 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
11512 auto-connect-native-target off".
11513 * gdb.base/auto-connect-native-target.c: New file.
11514 * gdb.base/auto-connect-native-target.exp: New file.
11515
4ebfc96e
PA
115162014-05-21 Pedro Alves <palves@redhat.com>
11517
11518 * gdb.base/default.exp: Test "target native" instead of "target
11519 child".
11520
36d46afb
MW
115212014-05-21 Mark Wielaard <mjw@redhat.com>
11522
11523 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
11524
5876f503
JK
115252014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11526
11527 Fix TLS access for -static -pthread.
11528 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
11529 <HAVE_TLS> (thread_function, main): Initialize it.
11530 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
11531 Add clean_restart.
11532 <$have_tls != "">: Check TLSVAR.
11533
0256a6ac
PA
115342014-05-21 Pedro Alves <palves@redhat.com>
11535
11536 * gdb.base/dcache-line-read-error.c: New.
11537 * gdb.base/dcache-line-read-error.exp: New.
11538
936d2992
PA
115392014-05-20 Pedro Alves <palves@redhat.com>
11540
11541 * gdb.base/compare-sections.c: New file.
11542 * gdb.base/compare-sections.exp: New file.
11543
802e8e6d
PA
115442014-05-20 Pedro Alves <palves@redhat.com>
11545
11546 * gdb.base/break-idempotent.c: New file.
11547 * gdb.base/break-idempotent.exp: New file.
11548
e59fa00f
MM
115492014-05-20 Markus Metzger <markus.t.metzger@intel.com>
11550
11551 * gdb.btrace/nohist.exp: New.
11552
8b696e31
YQ
115532014-05-20 Yao Qi <yao@codesourcery.com>
11554
11555 * lib/gdb.exp (gdb_init): Set timeout if test file is under
11556 gdb.reverse directory and gdb_reverse_timeout exists in board
11557 setting.
11558 * README: Document gdb_reverse_timeout.
11559
73c9764f
YQ
115602014-05-20 Yao Qi <yao@codesourcery.com>
11561
11562 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
11563 'test_file_name'. Treat args as a string instead of a list.
11564 (gdb_init): Rename argument 'args' by 'test_file_name'.
11565
f1f4348a
JK
115662014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11567
11568 * gdb.arch/powerpc-power.exp: New file.
11569 * gdb.arch/powerpc-power.s: New file.
11570
0dbe70ce
DE
115712014-05-16 Doug Evans <dje@google.com>
11572
11573 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
11574 * gdb.base/completion.exp: Check that all expected files exist
11575 before doing file completion.
0dbe70ce 11576
8d551b02
DE
115772014-05-16 Doug Evans <dje@google.com>
11578
11579 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
11580 Update.
11581 (do_syscall_tests_without_xml): Update.
11582
73eb7709
PA
115832014-05-16 Pedro Alves <palves@redhat.com>
11584
11585 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
11586 instead of "unknown output after running".
11587
3fae92fc
YQ
115882014-05-16 Yao Qi <yao@codesourcery.com>
11589
11590 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
11591 file1.txt from host at the end.
11592 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
11593
c2b2ccc5
DE
115942014-05-15 Doug Evans <dje@google.com>
11595
11596 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
11597 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
11598 loading file. Add test for TU lookup.
11599
8c217a4b
SM
116002014-05-15 Simon Marchi <simon.marchi@ericsson.com>
11601
11602 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
11603 calling "-exec-arguments" or "set args" before running the
11604 inferior.
11605
3deb39c6
SM
116062014-05-15 Simon Marchi <simon.marchi@ericsson.com>
11607
11608 * lib/mi-support.exp (mi_expect_stop): Expect message for
11609 inferiors that exit with non-zero exit code.
11610
71a79f8c
YQ
116112014-05-14 Yao Qi <yao@codesourcery.com>
11612
11613 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
11614 match absolute path on remote host.
11615 (test_file_list_exec_source_files): Remove "/" from the
11616 pattern.
11617
f23fcd46
YQ
116182014-05-14 Yao Qi <yao@codesourcery.com>
11619
11620 * boards/local-remote-host-notty.exp (${board}_file): New
11621 proc.
11622
9404b58f
KM
116232014-05-07 Kyle McMartin <kyle@redhat.com>
11624
11625 Pushed by Joel Brobecker <brobecker@adacore.com>.
11626 * gdb.arch/aarch64-atomic-inst.c: New file.
11627 * gdb.arch/aarch64-atomic-inst.exp: New file.
11628
5e45f04c
YQ
116292014-05-07 Yao Qi <yao@codesourcery.com>
11630
11631 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
11632 in current context" too.
11633
c888a17d
KS
116342014-05-05 Keith Seitz <keiths@redhat.com>
11635
11636 * gdb.linespec/ls-dollar.exp: Add test for linespec
11637 file:convenience_variable.
11638
290a839c
YQ
116392014-05-05 Yao Qi <yao@codesourcery.com>
11640
11641 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
11642 traceframes into tfile and ctf trace files. Read data from
11643 trace file and test collected data.
11644 (gdb_collect_locals_test): Likewise.
11645 (gdb_unavailable_registers_test): Likewise.
11646 (gdb_unavailable_floats): Likewise.
11647 (gdb_collect_globals_test): Likewise.
11648 (top-level): Append "ctf" to trace_file_targets if GDB
11649 supports.
11650
b5262cd0
YQ
116512014-05-05 Yao Qi <yao@codesourcery.com>
11652
11653 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
11654 code to ...
11655 (gdb_collect_args_test_1): ... it. New proc.
11656 (gdb_collect_locals_test): Move some code to ...
11657 (gdb_collect_locals_test_1): ... it. New proc.
11658 (gdb_unavailable_registers_test): Move some code to ...
11659 (gdb_unavailable_registers_test_1): ... it. New proc.
11660 (gdb_unavailable_floats): Move some code to ...
11661 (gdb_unavailable_floats_1): ... it. New proc.
11662
30a1e6cc
SDJ
116632014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
11664
11665 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
11666 probes to test for bitness recognition.
11667 * gdb.arch/amd64-stap-optional-prefix.exp
11668 (test_probe_value_without_reg): New procedure.
11669 Add code to test for different kinds of bitness.
11670
f33da99a
SDJ
116712014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
11672
11673 PR breakpoints/16889
11674 * gdb.arch/amd64-stap-optional-prefix.S: New file.
11675 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
11676
5b80f00d
PA
116772014-05-01 Pedro Alves <palves@redhat.com>
11678
11679 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
11680 gdb_file_cmd if no file is specified.
11681 * boards/native-extended-gdbserver.exp (gdb_load): Use the
11682 last_loaded_file to set the remote exec-file.
11683
f8c2a73c
PA
116842014-05-01 Pedro Alves <palves@redhat.com>
11685
11686 * boards/local-remote-host.exp: New file.
11687
be6e8ac7
PA
116882014-05-01 Pedro Alves <palves@redhat.com>
11689
11690 * boards/local-remote-host.exp: Rename to ...
11691 * boards/local-remote-host-notty.exp: ... this.
11692
cac0dc8f
JB
116932014-04-28 Joel Brobecker <brobecker@adacore.com>
11694
11695 * gdb.ada/dyn_arrayidx: New testcase.
11696
9730e6cc
YQ
116972014-04-26 Yao Qi <yao@codesourcery.com>
11698
11699 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
11700 and compute the length of function main. Save it in
11701 $main_length.
11702 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
11703 (top-level): Use gdb_compile to compile objects into
11704 executable and restart GDB. Remove invocation to
11705 prepare_for_testing.
11706
7ae1a6a6
PA
117072014-04-25 Simon Marchi <simon.marchi@ericsson.com>
11708 Pedro Alves <palves@redhat.com>
11709
11710 PR server/16255
11711 * gdb.multi/multi-attach.c: New file.
11712 * gdb.multi/multi-attach.exp: New file.
11713
4082afcc
PA
117142014-04-25 Pedro Alves <palves@redhat.com>
11715
11716 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
11717 user.
11718 (top level): Test that "set remote conditional-breakpoints-packet
11719 off" works as intended.
11720 * gdb.base/dprintf.exp: Test that "set remote
11721 breakpoint-commands-packet off" works as intended.
11722 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
11723 New function.
11724 (top level): Call it.
11725 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
11726 remote fast-tracepoints-packet off" works as intended.
11727 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
11728 * lib/gdb.exp (gdb_is_target_remote): ... here.
11729
2abc3f8d
DB
117302014-04-24 David Blaikie <dblaikie@gmail.com>
11731
11732 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
11733 ensure clang would not discard them.
11734 * gdb.base/gdbvars.c: Ditto.
11735 * gdb.base/memattr.c: Ditto.
11736 * gdb.base/whatis.c: Ditto.
11737 * gdb.python/py-prettyprint.c: Ditto.
11738 * gdb.trace/actions.c: Ditto.
11739 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
11740 ensure clang would not discard it.
11741
bfd39632
DB
117422014-04-24 David Blaikie <dblaikie@gmail.com>
11743
11744 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
11745 clang to emit the full definition of type required by the test
11746 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
11747
22842ff6
DB
117482014-04-24 David Blaikie <dblaikie@gmail.com>
11749
11750 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
11751 coax Clang into emitting the definition of the type.
11752 * gdb.cp/pr10728-x.h (y): Ditto.
11753 * gdb.cp/pr10728-y.cc (y): Ditto.
11754
c2e827ad
DB
117552014-04-24 David Blaikie <dblaikie@gmail.com>
11756
11757 * gdb.base/label.exp: XFAIL label related tests under Clang.
11758 * gdb.cp/cplabel.exp: Ditto.
11759 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
11760 under Clang those using labels.
11761
4c2d33e7
YQ
117622014-04-25 Yao Qi <yao@codesourcery.com>
11763
11764 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
11765 double_label.
11766 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
11767 partial_label and double_label.
11768
56083b99
DB
117692014-04-24 David Blaikie <dblaikie@gmail.com>
11770
11771 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
11772
25d4e99d
DB
117732014-04-24 David Blaikie <dblaikie@gmail.com>
11774
11775 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
11776 of the function to work across GCC and Clang.
11777 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
11778 pointer types (const void ** const V void **).
11779
01f9f808
MS
117802014-04-24 Michael Sturm <michael.sturm@mintel.com>
11781 Walfred Tedeschi <walfred.tedeschi@intel.com>
11782
11783 * Makefile.in (EXECUTABLES): Added i386-avx512.
11784 * gdb.arch/i386-avx512.c: New file.
11785 * gdb.arch/i386-avx512.exp: Likewise.
11786
4b48d439
KS
117872014-04-23 Keith Seitz <keiths@redhat.com>
11788
11789 * lib/mi-support.exp (mi_list_breakpoints): Delete.
11790 (mi_make_breakpoint_table): New procedure.
11791 (mi_create_breakpoint): Use mi_make_breakpoint
11792 and return the result.
11793 (mi_make_breakpoint): New procedure.
11794 (mi_build_kv_pairs): New procedure.
11795
11796 * gdb.mi/mi-break.exp: Remove unused globals,
11797 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
11798 All callers updated.
11799 * gdb.mi/mi-dprintf.exp: Use variable to track command
11800 number.
11801 Update all callers of mi_create_breakpoint and use
11802 mi_make_breakpoint_table.
11803 Remove any unused global variables.
11804 * gdb.mi/mi-nonstop.exp: Likewise.
11805 * gdb.mi/mi-nsintrall.exp: Likewise.
11806 * gdb.mi/mi-nsmoribund.exp: Likewise.
11807 * gdb.mi/mi-nsthrexec.exp: Likewise.
11808 * gdb.mi/mi-reverse.exp: Likewise.
11809 * gdb.mi/mi-simplerun.exp: Likewise.
11810 * gdb.mi/mi-stepn.exp: Likewise.
11811 * gdb.mi/mi-syn-frame.exp: Likewise.
11812 * gdb.mi/mi-until.exp: Likewise.
11813 * gdb.mi/mi-var-cp.exp: Likewise.
11814 * gdb.mi/mi-var-display.exp: Likewise.
11815 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
11816 * gdb.mi/mi2-var-child.exp: Likewise.
11817 * gdb.mi/mi-vla-c99.exp: Likewise.
11818 * lib/mi-support.exp: Likewise.
11819
11820 From Ian Lance Taylor <iant@cygnus.com>:
11821 * lib/gdb.exp (parse_args): New procedure.
11822
08351840
PA
118232014-04-23 Pedro Alves <palves@redhat.com>
11824
11825 * gdb.base/break-unload-file.c: New file.
11826 * gdb.base/break-unload-file.exp: New file.
11827 * gdb.base/sym-file-lib.c (baz): New function.
11828 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
11829 field.
11830 (load): Store the segment's mapped size.
11831 (unload): New function.
11832 (unload_shlib): New function.
11833 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
11834 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
11835 set a breakpoint at baz, and call it.
11836 * gdb.base/sym-file.exp: New tests for stale breakpoint
11837 instructions.
11838
076855f9
PA
118392014-04-23 Pedro Alves <palves@redhat.com>
11840
11841 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
11842 * gdb.base/hbreak-in-shr-unsupported.c: New file.
11843 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
11844 * gdb.base/hbreak-unmapped.c: New file.
11845 * gdb.base/hbreak-unmapped.exp: New file.
11846 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
11847 * lib/gdb.exp (gdb_is_target_remote): ... here.
11848
483805cf
PA
118492014-04-22 Pedro Alves <palves@redhat.com>
11850
11851 * gdb.base/consecutive-step-over.c: New file.
11852 * gdb.base/consecutive-step-over.exp: New file.
11853
06d97543
PA
118542014-04-22 Pedro Alves <palves@redhat.com>
11855
11856 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
11857 instead of send_gdb/gdb_expect.
11858
b4429ea2
YQ
118592014-04-22 Yao Qi <yao@codesourcery.com>
11860
11861 * lib/trace-support.exp (generate_tracefile): New procedure.
11862 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
11863 return 0.
11864 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
11865 if generate_tracefile returns 1.
11866
51d48146
PA
118672014-04-18 Tom Tromey <palves@redhat.com>
11868 Pedro alves <tromey@redhat.com>
11869
11870 PR backtrace/15558
11871 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
11872 with a backtrace limit.
11873 * gdb.python/py-frame-inline.exp: Test running to an inline
11874 function with a backtrace limit, and printing the newest frame.
11875 * gdb.python/py-frame-inline.c (main): Call f.
11876
bd1dce5f
MS
118772014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
11878
11879 * gdb.java/jnpe.exp: Drop srcdir from untested path.
11880
40d1a503
MS
118812014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
11882
11883 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
11884 Drop prefix from unsupported source file path.
11885
389b98f7
YQ
118862014-04-17 Yao Qi <yao@codesourcery.com>
11887
11888 * lib/gdb.exp (with_target_charset): New proc.
11889 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
11890 with_target_charset.
11891 (test_print_strings): Likewise.
11892 (test_repeat_bytes): Likewise.
11893 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
11894 for some tests.
11895
22869d73
KS
118962014-04-16 Keith Seitz <keiths@redhat.com>
11897
11898 PR gdb/15827
11899 * gdb.dwarf2/corrupt.c: New file.
11900 * gdb.dwarf2/corrupt.exp: New file.
11901
c4f87ca6
KS
119022014-04-16 Keith Seitz <keiths@redhat.com>
11903
11904 PR c++/16597
11905 * gdb.cp/namelessclass.cc: New file.
11906 * gdb.cp/namelessclass.exp: New file.
11907 * gdb.cp/namelessclass.S: New file.
11908
ab19de87
DE
119092014-04-16 Doug Evans <dje@google.com>
11910
11911 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
11912 Add comment.
11913 (gdbserver_default_get_comm_port): New function.
11914 (gdbserver_start): Check if board file provided
11915 "gdbserver,get_comm_port" and use it if so.
11916 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
11917 (gdb,socketport): Set to "stdio".
11918 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
11919 (stdio_gdbserver_template): Delete.
11920 (${board}_get_remote_address): Update.
11921 (${board}_build_remote_cmd): Delete.
11922 (${board}_get_comm_port): New function.
11923 (${board}_spawn): Update.
11924 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
11925 Delete.
11926 (${board}_get_remote_address): Update.
11927 (${board}_get_comm_port): New function.
11928
fc98a809
AB
119292014-04-16 Andrew Burgess <aburgess@broadcom.com>
11930
11931 * gdb.base/memattr.exp: Improve regexps to handle memory regions
11932 appearing in any order.
11933
87fd9e6e
DE
119342014-04-15 Doug Evans <dje@google.com>
11935
11936 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
11937 uninitialized value of "description".
11938
099fc3ea
KS
119392014-04-15 Keith Seitz <keiths@redhat.com>
11940
11941 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
11942 Remove unused globals.
11943 (test_running_the_program): Likewise.
11944 (test_controlled_execution): Likewise.
11945 (test_controlling_breakpoints): Likewise.
11946 (test_program_termination): Likewise.
11947
5da151d4
KS
119482014-04-15 Keith Seitz <keiths@redhat.com>
11949
11950 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
11951 unused globals.
11952 (test_rbreak_creation_and_listing): Likewise.
11953 (test_ignore_count): Likewise.
11954 (test_error): Likewise.
11955
35e5d2f0
PA
119562014-04-15 Pedro Alves <palves@redhat.com>
11957
11958 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
11959 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
11960 sym-file-loader.c.
11961 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
11962 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
11963 to sym-file-loader.c.
11964 (struct library): Forward declare.
11965 (load_shlib, lookup_function): Change prototypes.
11966 (find_shstrtab, find_strtab, find_shdr, find_symtab)
11967 (translate_offset): Remove declarations.
11968 (get_text_addr): New declaration.
11969 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
11970 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
11971 sym-file-loader.h.
11972 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
11973 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
11974 here from sym-file-loader.h.
11975 (struct library): New structure.
11976 (load_shlib, lookup_function): Change prototypes and adjust to
11977 work with a struct library.
11978 (find_shstrtab, find_strtab, find_shdr, find_symtab)
11979 (translate_offset): Make static.
11980 (get_text_addr): New function.
11981 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
11982
eb4c1710
PA
119832014-04-15 Pedro Alves <palves@redhat.com>
11984
11985 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
11986
2d1baf52
PA
119872014-04-15 Pedro Alves <palves@redhat.com>
11988
11989 * gdb.base/sym-file-loader.c: Include <limits.h>.
11990 (SELF_LINK): New define.
11991 (get_origin): New function.
11992 (load_shlib): Use it.
11993 * gdb.base/sym-file.exp: Don't early return if the target is
11994 remote. Use runto_main, and issue fail is that fails. Use
11995 gdb_load_shlibs.
11996 (shlib_name): Delete.
11997 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
11998
7dd6df01
PA
119992014-04-15 Pedro Alves <palves@redhat.com>
12000
12001 * gdb.base/sym-file.exp: Remove regex characters from test
12002 message. Don't refer to breakpoint numbers in test messages.
12003
b50c8614
KS
120042014-04-14 Keith Seitz <keiths@redhat.com>
12005
12006 PR c++/16253
12007 * gdb.cp/var-tag.cc: New file.
12008 * gdb.cp/var-tag.exp: New file.
12009 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
12010 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
12011 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
12012 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
12013
3d567982
TT
120142014-04-14 Tom Tromey <tromey@redhat.com>
12015
12016 * gdb.cp/classes.exp (test_enums): Handle underlying type.
12017 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
12018 type.
12019 * gdb.cp/enum-class.exp: New file.
12020 * gdb.cp/enum-class.cc: New file.
12021
0626fc76
TT
120222014-04-14 Tom Tromey <tromey@redhat.com>
12023
12024 * gdb.dwarf2/enum-type.exp: New file.
12025
dca325b3
SA
120262014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12027
12028 * gdb.mi/mi-vla-c99.exp: New file.
12029 * gdb.mi/vla.c: New file.
12030
5854b38a
SA
120312014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12032
12033 * gdb.base/vla-datatypes.c: New file.
12034 * gdb.base/vla-datatypes.exp: New file.
12035
463bb957
SA
120362014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12037
12038 * gdb.base/vla-ptr.c: New file.
12039 * gdb.base/vla-ptr.exp: New file.
12040
3dd170be
SA
120412014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12042
12043 * gdb.dwarf2/count.exp: New file.
12044
5ecaaa66
SA
120452014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12046
12047 * gdb.base/vla-sideeffect.c: New file.
12048 * gdb.base/vla-sideeffect.exp: New file.
12049
41f1ada5
DB
120502014-04-14 David Blaikie <dblaikie@gmail.com>
12051
12052 * gdb.mi/non-stop.c: Add return value for non-void function return
12053 statement.
12054 * gdb.threads/staticthreads.c: Ditto.
12055
0be03e84
DE
120562014-04-12 Siva Chandra Reddy <sivachandra@google.com>
12057 Doug Evans <xdje42@gmail.com>
12058
12059 * gdb.guile/scm-value.c: Improve test case.
12060 * gdb.guile/scm-value.exp: Add new test.
12061
f180a1fb
DB
120622014-04-11 David Blaikie <dblaikie@gmail.com>
12063
12064 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
12065 override Clang's default.
12066
6b662e19
JB
120672014-04-11 Joel Brobecker <brobecker@adacore.com>
12068
12069 Revert the following changes (regressions):
12070
12071 * gdb.base/vla-sideeffect.c: New file.
12072 * gdb.base/vla-sideeffect.exp: New file.
12073
12074 * gdb.dwarf2/count.exp: New file.
12075
12076 * gdb.base/vla-multi.c: New file.
12077 * gdb.base/vla-multi.exp: New file.
12078
12079 * gdb.base/vla-ptr.c: New file.
12080 * gdb.base/vla-ptr.exp: New file.
12081
12082 * gdb.base/vla-datatypes.c: New file.
12083 * gdb.base/vla-datatypes.exp: New file.
12084
12085 * gdb.mi/mi-vla-c99.exp: New file.
12086 * gdb.mi/vla.c: New file.
12087
245a5f0b
KS
120882014-04-11 Keith Seitz <keiths@redhat.com>
12089
12090 PR c++/16675
12091 * gdb.cp/cpsizeof.exp: New file.
12092 * gdb.cp/cpsizeof.cc: New file.
12093
58a84dcf
SA
120942014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12095
191a8a90
JB
12096 * gdb.mi/mi-vla-c99.exp: New file.
12097 * gdb.mi/vla.c: New file.
58a84dcf 12098
c8655f75
SA
120992014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12100
12101 * gdb.base/vla-datatypes.c: New file.
12102 * gdb.base/vla-datatypes.exp: New file.
12103
024e13b4
SA
121042014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12105
12106 * gdb.base/vla-ptr.c: New file.
12107 * gdb.base/vla-ptr.exp: New file.
12108
1a237e0e
SA
121092014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12110
12111 * gdb.base/vla-multi.c: New file.
12112 * gdb.base/vla-multi.exp: New file.
12113
504f3432
SA
121142014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12115
12116 * gdb.dwarf2/count.exp: New file.
12117
3bce8237
SA
121182014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12119
191a8a90
JB
12120 * gdb.base/vla-sideeffect.c: New file.
12121 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 12122
322f9c21
YQ
121232014-04-11 Yao Qi <yao@codesourcery.com>
12124
12125 * gdb.base/completion.exp: Check file exists before running tests
12126 on file completion.
12127
d708bcd1
PA
121282014-04-10 Pedro Alves <palves@redhat.com>
12129
12130 * gdb.base/cond-eval-mode.c: New file.
12131 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
12132 prepare_for_testing to build the new file. Check result of
12133 runto_main.
12134 (test_break, test_watch): New procedures.
12135 (top level): Use them.
12136
ae1d2761
PM
121372014-04-08 Pierre Muller <muller@sourceware.org>
12138
12139 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
12140 Ctrl-V use for mingw hosts.
12141
7af389b8
SC
121422014-04-07 Siva Chandra Reddy <sivachandra@google.com>
12143
12144 * gdb.python/py-value.c: Improve test case.
12145 * gdb.python/py-value.exp: Add new test.
12146
5e703181
DE
121472014-04-07 David Blaikie <dblaikie@gmail.com>
12148
12149 * lib/compiler.c: Identify the clang compiler.
12150 * lib/compiler.cc: Ditto.
12151
9810b410
YQ
121522014-04-03 Yao Qi <yao@codesourcery.com>
12153
12154 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
12155
98d1b8dc
AB
121562014-04-01 Anton Blanchard <anton@samba.org>
12157
12158 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
12159 messages unique.
12160
3114cea1
AB
121612014-04-01 Anton Blanchard <anton@samba.org>
12162
12163 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
12164 prepare_for_testing.
12165
62f7182c
AB
121662014-04-01 Anton Blanchard <anton@samba.org>
12167
12168 * gdb.arch/ppc64-atomic-inst.c: Remove.
12169 * gdb.arch/ppc64-atomic-inst.S: New file.
12170 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
12171
770e7fc7
DE
121722014-03-31 Doug Evans <dje@google.com>
12173
12174 * gdb.base/print-symbol-loading-lib.c: New file.
12175 * gdb.base/print-symbol-loading-main.c: New file.
12176 * gdb.base/print-symbol-loading.exp: New file.
12177
46e2bafa
YQ
121782014-03-31 Yao Qi <yao@codesourcery.com>
12179
12180 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
12181
8776cfe9
JB
121822014-03-28 Joel Brobecker <brobecker@adacore.com>
12183
12184 * gdb.ada/mi_dyn_arr: New testcase.
12185
5d1ef361
DE
121862014-03-27 Doug Evans <dje@google.com>
12187
12188 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
12189
b5bee914
YQ
121902014-03-27 Yao Qi <yao@codesourcery.com>
12191
12192 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
12193 if target is nios2-*-*.
12194
0d4d0e77
YQ
121952014-03-26 Yao Qi <yao@codesourcery.com>
12196
12197 * lib/gdb.exp (readline_is_used): New proc.
12198 * gdb.base/completion.exp: Move tests on command complete up.
12199 Skip the rest of tests if readline is not used.
12200 * gdb.ada/complete.exp: Skp the test if readline is not
12201 used.
12202 * gdb.base/filesym.exp: Likewise.
12203 * gdb.base/macscp.exp: Likewise.
12204 * gdb.base/readline-ask.exp: Likewise.
12205 * gdb.base/readline.exp: Likewise.
12206 * gdb.python/py-cmd.exp: Likewise.
12207 * gdb.trace/tfile.exp: Likewise.
12208
29361eee
YQ
122092014-03-26 Yao Qi <yao@codesourcery.com>
12210
12211 * gdb.base/macscp.exp: Fix code format issues.
12212
bc9a5525
UW
122132014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
12214
12215 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
12216 * gdb.asm/powerpc64le.inc: New file.
12217
d3839ede
PA
122182014-03-25 Pedro Alves <palves@redhat.com>
12219 Doug Evans <dje@google.com>
12220
12221 * gdb.base/source-execution.c: New file.
12222 * gdb.base/source-execution.exp: New file.
12223 * gdb.base/source-execution.gdb: New file.
12224
01672a57
DE
122252014-03-24 Doug Evans <dje@google.com>
12226
12227 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
12228 using fission.
12229
88bbeca9
HZ
122302014-03-24 Hui Zhu <hui@codesourcery.com>
12231 Pedro Alves <palves@redhat.com>
12232
12233 PR breakpoints/16101
12234 * gdb.base/dprintf.exp: Use unsupported rather than changing the
12235 test pass/fail messages. Detect missing support for dprintf when
12236 breakpoints are actually inserted.
12237 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
12238 breakpoints are actually inserted.
12239 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
12240 fails.
12241
d2348791
JK
122422014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12243
12244 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
12245
feef67ab
DE
122462014-03-22 Doug Evans <xdje42@gmail.com>
12247
12248 * gdb.python/python.exp (python not supported): Verify multi-line
12249 python command issues an error.
25d743f9 12250 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 12251 guile command issues an error.
feef67ab 12252
ecebef6a
MR
122532014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
12254
12255 * gdb.threads/thread-specific.exp: Handle the lack of usable
12256 $this_breakpoint and $this_thread.
12257
ccdd1909
HZ
122582014-03-21 Hui Zhu <hui@codesourcery.com>
12259
12260 * gdb.base/attach.exp (do_command_attach_tests): New.
12261
beb460e8
PA
122622014-03-20 Tom Tromey <tromey@redhat.com>
12263 Pedro Alves <palves@redhat.com>
12264
12265 PR cli/15718
12266 * gdb.base/condbreak-call-false.c: New file.
12267 * gdb.base/condbreak-call-false.exp: New file.
12268
40acf43a
PA
122692014-03-20 Pedro Alves <palves@redhat.com>
12270
12271 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
12272 Delete.
12273 (block_signals, unblock_signals): Delete.
12274 (child_function_2, main): Remove references to deleted variable
12275 and functions.
12276
9f5e1e02
PA
122772014-03-20 Pedro Alves <palves@redhat.com>
12278
12279 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
12280 Use pthread_kill to signal thread 2.
12281 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
12282 Adjust to make the test send itself a signal rather than using the
12283 host's "kill" command.
12284
99619bea
PA
122852014-03-20 Pedro Alves <palves@redhat.com>
12286
12287 * gdb.threads/multiple-step-overs.c: New file.
12288 * gdb.threads/multiple-step-overs.exp: New file.
12289 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
12290 Adjust expected infrun debug output.
12291
2adfaa28
PA
122922014-03-20 Pedro Alves <palves@redhat.com>
12293
12294 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
12295 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
12296
31e77af2
PA
122972014-03-20 Pedro Alves <palves@redhat.com>
12298
12299 PR breakpoints/7143
12300 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
12301 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
12302 of gdb_test_multiple.
12303 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
12304 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
12305
b9f437de
PA
123062014-03-20 Pedro Alves <palves@redhat.com>
12307
12308 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
12309 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
12310
05adc73e
PA
123112014-03-19 Pedro Alves <palves@redhat.com>
12312
12313 * gdb.base/async.exp: Remove early return.
12314
6048b950
PA
123152014-03-19 Pedro Alves <palves@redhat.com>
12316
12317 * gdb.base/async.exp (step& tests): Pass explicit test messages.
12318
8bcfb00a
PA
123192014-03-19 Pedro Alves <palves@redhat.com>
12320
12321 * gdb.base/async.exp (test_background): Expect \r\n after
12322 "completed." in the fail pattern.
12323
884e37dc
PA
123242014-03-19 Pedro Alves <palves@redhat.com>
12325
12326 * gdb.base/async.exp (test_background): New procedure.
12327 Use it for all background execution command tests.
12328
148e57e2
PA
123292014-03-19 Pedro Alves <palves@redhat.com>
12330
12331 * gdb.base/async.exp: Use prepare_for_testing.
12332
f48088c7
PA
123332014-03-19 Pedro Alves <palves@redhat.com>
12334
12335 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
12336 the same line.
12337
e2f6c966
PA
123382014-03-19 Pedro Alves <palves@redhat.com>
12339
12340 * gdb.base/async.c (main): Add "jump here" and "until here" line
12341 marker comments.
12342 * gdb.base/async.exp (jump_here): New global.
12343 (jump& test): Use it.
12344 (until_here): New global.
12345 (until& test): Use it.
12346
c30568d4
PA
123472014-03-19 Pedro Alves <palves@redhat.com>
12348
12349 * gdb.base/async.exp: Don't frob gdb_protocol.
12350
0172b6a7
DE
123512014-03-18 Doug Evans <xdje42@gmail.com>
12352
12353 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
12354 Fix spelling of exec-done-display.
12355
06c868a8
JK
123562014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
12357
12358 PR gdb/15358
12359 * gdb.base/gdb-sigterm.c: New file.
12360 * gdb.base/gdb-sigterm.exp: New file.
12361
0c7e1a46
PA
123622014-03-18 Pedro Alves <palves@redhat.com>
12363
12364 PR gdb/13860
12365 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
12366 * lib/mi-support.exp (mi_expect_stop): Add special handling for
12367 solib-event.
12368
f7c77d93
JB
123692014-03-17 Joel Brobecker <brobecker@adacore.com>
12370
12371 * gdb.ada/pckd_arr_ren: New testcase.
12372
5a1e8c7a
DE
123732014-03-13 Doug Evans <xdje42@gmail.com>
12374
12375 PR guile/16612
12376 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
12377 collect after discarding symbols.
12378
350e1a76
DE
123792014-03-13 Ludovic Courtès <ludo@gnu.org>
12380 Doug Evans <xdje42@gmail.com>
12381
12382 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
12383 to history survives a gc.
12384
a69900ae
PA
123852014-03-13 Pedro Alves <palves@redhat.com>
12386
12387 * gdb.base/default.exp: Don't test "target procfs".
12388
5db9f0bd
PA
123892014-03-13 Pedro Alves <palves@redhat.com>
12390
12391 * gdb.base/default.exp: Update "target child" and "target procfs"
12392 tests to not expect "Unix".
12393
b3ccfe11
TT
123942014-03-12 Tom Tromey <tromey@redhat.com>
12395
12396 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
12397 New procs. Add target-async tests.
12398 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
12399 Add target-async tests.
12400
646f4417
AA
124012014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
12402
12403 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
12404 'func_start' and 'func_end' for the beginning and end of the
12405 function code, respectively.
12406 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
12407 'func_end' instead of 'func' and 'main'.
12408
288c211f
AA
124092014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
12410
12411 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
12412 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
12413 generate the debug info assembler source.
12414
e0c0f156
AA
124152014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
12416
12417 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
12418 * gdb.dwarf2/arr-subrange.exp: Likewise.
12419 * gdb.dwarf2/dwz.exp: Likewise.
12420 * gdb.dwarf2/method-ptr.exp: Likewise.
12421 * gdb.dwarf2/missing-sig-type.exp: Likewise.
12422 * gdb.dwarf2/subrange.exp: Likewise.
12423 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
12424 * gdb.dwarf2/implptrpiece.exp: Likewise.
12425 * gdb.dwarf2/nostaticblock.exp: Likewise.
12426
0e5c4555
AA
124272014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
12428
12429 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
12430 directory to absolute path name arguments.
12431
5ec18f2b
JG
124322014-03-10 Joel Brobecker <brobecker@adacore.com>
12433
12434 * gdb.ada/tagged_access: New testcase.
12435
847fc4f2
MM
124362014-03-07 Markus Metzger <markus.t.metzger@intel.com>
12437
12438 * gdb.btrace/data.exp: Update expected output.
12439
cc3da688
YQ
124402014-03-06 Yao Qi <yao@codesourcery.com>
12441
12442 * gdb.trace/pr16508.exp: New file.
12443
0f26cec1
PA
124442014-03-05 Pedro Alves <palves@redhat.com>
12445
12446 PR gdb/16575
12447 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
12448 procedure.
12449 (top level): Adjust to use it. Add tests that exercise breakpoint
12450 interaction with the code-cache.
12451
7a5a839f
LC
124522014-02-26 Ludovic Courtès <ludo@gnu.org>
12453
12454 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
12455 test for 'history-append!'.
12456
31aa7e4e
JB
124572014-02-26 Joel Brobecker <brobecker@adacore.com>
12458
12459 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
12460 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
12461 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
12462 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
12463 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
12464 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
12465
1b588015
JB
124662014-02-26 Joel Brobecker <brobecker@adacore.com>
12467
12468 * testsuite/gdb.python/py-pp-re-notag.c: New file.
12469 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
12470 * testsuite/gdb.python/py-pp-re-notag.p: New file.
12471
55426c9d
JB
124722014-02-26 Joel Brobecker <brobecker@adacore.com>
12473
12474 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
12475
dc53a7ad
JB
124762014-02-26 Joel Brobecker <brobecker@adacore.com>
12477
12478 * gdb.dwarf2/arr-stride.c: New file.
12479 * gdb.dwarf2/arr-stride.exp: New file.
12480
12ab52e9
PA
124812014-02-26 Pedro Alves <palves@redhat.com>
12482
12483 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
12484 that won't ever trigger. Make sure that GDB reports the correct
12485 breakpoint that caused the stop.
12486
849c862e
JK
124872014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12488
12489 PR gdb/16626
12490 * gdb.base/auto-load-script: New file.
12491 * gdb.base/auto-load.c: New file.
12492 * gdb.base/auto-load.exp: New file.
12493
71b7d793
JK
12494 PR gdb/16626
12495 * gdb.base/auto-load.exp: Fix out-of-srctree run.
12496
e2f0d509
JK
124972014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12498
12499 Fix dw2-icycle.exp -fsanitize=address GDB crash.
12500 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
12501
50cc37c8
DE
125022014-02-24 Doug Evans <dje@google.com>
12503
12504 * lib/gdb.exp (run_on_host): Log error output if program fails.
12505
ea4758f2
PA
125062014-02-21 Pedro Alves <palves@redhat.com>
12507
12508 * gdb.threads/step-after-sr-lock.c: Rename to ...
12509 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
12510 * gdb.threads/step-after-sr-lock.exp: Rename to ...
12511 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
12512 ... this.
12513
d7b30f67
SDJ
125142014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
12515
12516 PR tdep/16397
12517 * gdb.arch/amd64-stap-special-operands.exp: New file.
12518 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
12519 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
12520 * gdb.arch/amd64-stap-triplet.S: Likewise.
12521 * gdb.arch/amd64-stap-triplet.c: Likewise.
12522
83deb43f
JB
125232014-02-20 Joel Brobecker <brobecker@adacore.com>
12524
12525 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
12526 in .section pseudo-op.
12527
adde2bff
DE
125282014-02-20 lin zuojian <manjian2006@gmail.com>
12529 Joel Brobecker <brobecker@adacore.com>
12530 Doug Evans <xdje42@gmail.com>
12531
12532 PR symtab/16581
12533 * gdb.dwarf2/dw2-icycle.S: New file.
12534 * gdb.dwarf2/dw2-icycle.c: New file.
12535 * gdb.dwarf2/dw2-icycle.exp: New file.
12536
f7bd0f78
SC
125372014-02-19 Siva Chandra Reddy <sivachandra@google.com>
12538
12539 * gdb.python/py-value-cc.cc: Improve test case to enable testing
12540 operations on gdb.Value objects.
12541 * gdb.python/py-value-cc.exp: Add new test to test operations on
12542 gdb.Value objects.
12543
c17ef0d5
DE
125442014-02-18 Doug Evans <dje@google.com>
12545
12546 * Makefile.in (TESTS): New variable.
12547 (expanded_tests, expanded_tests_or_none): New variables
12548 (check-single): Pass $(expanded_tests_or_none) to runtest.
12549 (check-parallel): Only run tests in $(TESTS) if non-empty.
12550 (check/no-matching-tests-found): New rule.
12551 * README: Document TESTS makefile variable.
12552
5dd3176f
DE
125532014-02-18 Doug Evans <dje@google.com>
12554
12555 * Makefile.in (check-parallel): rm -rf outputs temp.
12556
0b10be4f
JK
125572014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12558
12559 Fix "ERROR: no fileid for" in the testsuite.
12560 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
12561
85f224e7
DE
125622014-02-12 Doug Evans <dje@google.com>
12563
12564 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
12565 (MISCELLANEOUS): New variable.
12566 (clean): rm -rf $(MISCELLANEOUS).
12567 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
12568 dwp live in the same directory as symlinks, with each symlink pointed
12569 to a differently named file in a different directory.
12570
149b30ff
DE
125712014-02-11 Doug Evans <dje@google.com>
12572
12573 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
12574 of Tcl file commands.
12575
1dfdac32
MK
125762014-02-10 Mark Kettenis <kettenis@gnu.org>
12577
12578 * gdb.threads/step-after-sr-lock.exp: Avoid executing
12579 "kill -SIGUSR1 -1".
12580
aa4fb036
JB
125812014-02-10 Joel Brobecker <brobecker@adacore.com>
12582
12583 * gdb.ada/tick_length_array_enum_idx: New testcase.
12584
ed3ef339
DE
125852014-02-10 Doug Evans <xdje42@gmail.com>
12586
12587 * configure.ac (AC_OUTPUT): Add gdb.guile.
12588 * configure: Regenerate.
12589 * lib/gdb-guile.exp: New file.
12590 * lib/gdb.exp (get_target_charset): New function.
12591 * gdb.base/help.exp: Update expected output from "apropos apropos".
12592 * gdb.guile/Makefile.in: New file.
12593 * gdb.guile/guile.exp: New file.
12594 * gdb.guile/scm-arch.c: New file.
12595 * gdb.guile/scm-arch.exp: New file.
12596 * gdb.guile/scm-block.c: New file.
12597 * gdb.guile/scm-block.exp: New file.
12598 * gdb.guile/scm-breakpoint.c: New file.
12599 * gdb.guile/scm-breakpoint.exp: New file.
12600 * gdb.guile/scm-disasm.c: New file.
12601 * gdb.guile/scm-disasm.exp: New file.
12602 * gdb.guile/scm-equal.c: New file.
12603 * gdb.guile/scm-equal.exp: New file.
12604 * gdb.guile/scm-error.exp: New file.
12605 * gdb.guile/scm-error.scm: New file.
12606 * gdb.guile/scm-frame-args.c: New file.
12607 * gdb.guile/scm-frame-args.exp: New file.
12608 * gdb.guile/scm-frame-args.scm: New file.
12609 * gdb.guile/scm-frame-inline.c: New file.
12610 * gdb.guile/scm-frame-inline.exp: New file.
12611 * gdb.guile/scm-frame.c: New file.
12612 * gdb.guile/scm-frame.exp: New file.
12613 * gdb.guile/scm-generics.exp: New file.
12614 * gdb.guile/scm-gsmob.exp: New file.
12615 * gdb.guile/scm-iterator.c: New file.
12616 * gdb.guile/scm-iterator.exp: New file.
12617 * gdb.guile/scm-math.c: New file.
12618 * gdb.guile/scm-math.exp: New file.
12619 * gdb.guile/scm-objfile-script-gdb.in: New file.
12620 * gdb.guile/scm-objfile-script.c: New file.
12621 * gdb.guile/scm-objfile-script.exp: New file.
12622 * gdb.guile/scm-objfile.c: New file.
12623 * gdb.guile/scm-objfile.exp: New file.
12624 * gdb.guile/scm-ports.exp: New file.
12625 * gdb.guile/scm-pretty-print.c: New file.
12626 * gdb.guile/scm-pretty-print.exp: New file.
12627 * gdb.guile/scm-pretty-print.scm: New file.
12628 * gdb.guile/scm-section-script.c: New file.
12629 * gdb.guile/scm-section-script.exp: New file.
12630 * gdb.guile/scm-section-script.scm: New file.
12631 * gdb.guile/scm-symbol.c: New file.
12632 * gdb.guile/scm-symbol.exp: New file.
12633 * gdb.guile/scm-symtab-2.c: New file.
12634 * gdb.guile/scm-symtab.c: New file.
12635 * gdb.guile/scm-symtab.exp: New file.
12636 * gdb.guile/scm-type.c: New file.
12637 * gdb.guile/scm-type.exp: New file.
12638 * gdb.guile/scm-value-cc.cc: New file.
12639 * gdb.guile/scm-value-cc.exp: New file.
12640 * gdb.guile/scm-value.c: New file.
12641 * gdb.guile/scm-value.exp: New file.
12642 * gdb.guile/source2.scm: New file.
12643 * gdb.guile/types-module.cc: New file.
12644 * gdb.guile/types-module.exp: New file.
12645
7026a7c1
YQ
126462014-02-10 Yao Qi <yao@codesourcery.com>
12647
12648 PR testsuite/16543
12649 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
12650 * configure: Regenerated.
12651 * Makefile.in: New file.
12652
6c466447
AS
126532014-02-08 Andreas Schwab <schwab@linux-m68k.org>
12654
12655 * gdb.python/py-framefilter.exp: Fix typo.
12656
6e854735
YQ
126572014-02-08 Yao Qi <yao@codesourcery.com>
12658
12659 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
12660 that no =breakpoint-modified is emitted when breakpoints are
12661 modified through MI commands.
12662
d137e6dc
PA
126632014-02-07 Pedro Alves <pedro@codesourcery.com>
12664 Pedro Alves <palves@redhat.com>
12665
12666 * gdb.threads/step-after-sr-lock.c: New file.
12667 * gdb.threads/step-after-sr-lock.exp: New file.
12668
b5ee5a50
PA
126692014-02-07 Pedro Alves <palves@redhat.com>
12670
12671 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
12672
3c77faf3
JK
126732014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
12674
12675 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
12676 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
12677
6dddc817
DE
126782014-02-06 Doug Evans <xdje42@gmail.com>
12679
12680 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
12681 output.
12682
12683 * gdb.gdb/python-interrupts.exp: New file.
12684
de7b2893
YQ
126852014-02-05 Yao Qi <yao@codesourcery.com>
12686
12687 * gdb.trace/report.exp (use_collected_data): Test the output
12688 of "info threads" and "info inferiors".
12689
66d032ac
YQ
126902014-02-05 Yao Qi <yao@codesourcery.com>
12691
12692 Revert this patch:
12693
12694 2013-05-24 Yao Qi <yao@codesourcery.com>
12695
12696 * gdb.trace/tfile.exp: Test inferior and thread.
12697
591a12a1
UW
126982014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
12699
12700 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
12701 on a function.
12702 * gdb.base/step-bt.c: Call hello via function pointer to make
12703 sure its first instruction is executed on powerpc64le-linux.
12704
0ff3e01f
UW
127052014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
12706
12707 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
12708
084ee545
UW
127092014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
12710
12711 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
12712 of the test patterns for use on little-endian systems.
12713
6ed14ff3
UW
127142014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
12715
12716 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
12717 (decimal_vector): Fix for little-endian.
12718
401e27fd
JM
127192014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
12720
12721 * gdb.arch/sparc-sysstep.exp: New file.
12722 * gdb.arch/sparc-sysstep.c: Likewise.
12723
12724 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
12725
8b924729
EBM
127262014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12727
12728 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
12729
fb151210
JB
127302014-01-23 Tom Tromey <tromey@redhat.com>
12731
12732 * gdb.ada/array_char_idx: New testcase.
12733
0740f8d8
TT
127342014-01-23 Tom Tromey <tromey@redhat.com>
12735
12736 PR python/16487:
12737 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
12738 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
12739 classes.
12740
21909fa1
TT
127412014-01-23 Tom Tromey <tromey@redhat.com>
12742
12743 PR python/16491:
12744 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
12745 string from an inferior frame.
12746 * gdb.python/py-framefilter-mi.exp: Update.
12747
87ce2a04
DE
127482014-01-22 Doug Evans <dje@google.com>
12749
12750 * gdb.server/server-mon.exp: Add tests for "set debug-format".
12751
237b092b
AA
127522014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
12753
12754 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
12755
d674a709
AA
127562014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
12757
12758 * gdb.trace/entry-values.exp: Remove excess space character from
12759 regex patterns. Handle s390 call instruction.
12760
20fa3390
AA
127612014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
12762
12763 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
12764 define "*_start" label. Make "name" static.
12765 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
12766 ${name} by references to ${name}_start.
12767
78466714
AA
127682014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
12769
12770 * gdb.base/info-macros.exp: Remove "debug" from the compile
12771 options.
12772
ec9f644a
IB
127732014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12774
12775 * gdb.dlang/demangle.exp: New file.
12776
94b1b47e
IB
127772014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12778
12779 * gdb.dlang/primitive-types.exp: New file.
12780
7f420862
IB
127812014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12782
12783 * configure.ac: Create gdb.dlang/Makefile.
12784 * configure: Regenerate.
12785 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
12786 * gdb.dlang/Makefile.in: New file.
12787 * lib/d-support.exp: New file.
12788 * lib/gdb.exp (skip_d_tests): New proc.
12789
52834460
MM
127902014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12791
12792 * gdb.btrace/delta.exp: Check reverse stepi.
12793 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
12794 * gdb.btrace/finish.exp: New.
12795 * gdb.btrace/next.exp: New.
12796 * gdb.btrace/nexti.exp: New.
12797 * gdb.btrace/record_goto.c: Add comments.
12798 * gdb.btrace/step.exp: New.
12799 * gdb.btrace/stepi.exp: New.
12800 * gdb.btrace/multi-thread-step.c: New.
12801 * gdb.btrace/multi-thread-step.exp: New.
12802 * gdb.btrace/rn-dl-bind.c: New.
12803 * gdb.btrace/rn-dl-bind.exp: New.
12804 * gdb.btrace/data.c: New.
12805 * gdb.btrace/data.exp: New.
12806 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
12807
6e07b1d2
MM
128082014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12809
12810 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
12811 * gdb.btrace/exception.exp: Update.
12812 * gdb.btrace/instruction_history.exp: Update.
12813 * gdb.btrace/record_goto.exp: Update.
12814 * gdb.btrace/tailcall.exp: Update.
12815 * gdb.btrace/unknown_functions.exp: Update.
12816 * gdb.btrace/delta.exp: New.
12817
0b722aec
MM
128182014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12819
12820 * gdb.btrace/record_goto.exp: Add backtrace test.
12821 * gdb.btrace/tailcall.exp: Add backtrace test.
12822
066ce621
MM
128232014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12824
12825 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
12826 * gdb.btrace/record_goto.c: New.
12827 * gdb.btrace/record_goto.exp: New.
12828 * gdb.btrace/x86-record_goto.S: New.
12829
0688d04e
MM
128302014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12831
12832 * gdb.btrace/function_call_history.exp: Update tests.
12833 * gdb.btrace/instruction_history.exp: Update tests.
12834
8710b709
MM
128352014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12836
12837 * gdb.btrace/function_call_history.exp: Fix expected field
12838 order for "record function-call-history".
12839 Add new tests for "record function-call-history /c".
12840 * gdb.btrace/exception.cc: New.
12841 * gdb.btrace/exception.exp: New.
12842 * gdb.btrace/tailcall.exp: New.
12843 * gdb.btrace/x86-tailcall.S: New.
12844 * gdb.btrace/x86-tailcall.c: New.
12845 * gdb.btrace/unknown_functions.c: New.
12846 * gdb.btrace/unknown_functions.exp: New.
12847 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
12848
5de9129b
MM
128492014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12850
12851 * gdb.btrace/instruction_history.exp: Update.
12852 * gdb.btrace/function_call_history.exp: Update.
12853
23a7fe75
MM
128542014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12855
12856 * gdb.btrace/function_call_history.exp: Fix expected function
12857 trace.
12858 * gdb.btrace/instruction_history.exp: Initialize traced.
12859 Remove traced_functions.
12860
724c7dd8
MM
128612014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12862
12863 * gdb.btrace/function_call_history.exp: Update
12864 * gdb.btrace/instruction_history.exp: Update.
12865
6d78d93b
MM
128662014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12867
12868 * gdb.btrace/enable.exp: Update expected text.
12869
93a360cc
OJ
128702014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
12871
12872 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
12873 bytes.
12874
3772b53f
MR
128752014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
12876
12877 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
12878
596662fa
OJ
128792014-01-15 Omair Javaid <omair.javaid@linaro.org>
12880
12881 * lib/gdb.exp (supports_process_record): Return true for
12882 arm*-linux*. (supports_reverse): Likewise.
12883
b5b08fb4
SC
128842014-01-13 Siva Chandra Reddy <sivachandra@google.com>
12885
12886 PR python/15464
12887 PR python/16113
12888 * gdb.python/py-type.c: Enhance test case.
12889 * gdb.python/py-value-cc.cc: Likewise
12890 * gdb.python/py-type.exp: Add new tests.
12891 * gdb.python/py-value-cc.exp: Likewise
12892
52d7fb13
AA
128932014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
12894 Pedro Alves <palves@redhat.com>
12895
12896 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
12897 Make "name" extern.
12898 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
12899 references to ${name}_start by references to ${name}.
12900
a2cd8cfe
JB
129012014-01-10 Joel Brobecker <brobecker@adacore.com>
12902
12903 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
12904
4e23fced
JB
129052014-01-10 Joel Brobecker <brobecker@adacore.com>
12906
12907 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
12908
c6a9e42c
PA
129092014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
12910 Pedro Alves <palves@redhat.com>
12911
12912 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 12913 mi_gdb_target_load.
c6a9e42c 12914
b7ea362b
PA
129152014-01-08 Pedro Alves <palves@redhat.com>
12916
12917 * gdb.threads/reconnect-signal.c: New file.
12918 * gdb.threads/reconnect-signal.exp: New file.
12919
5e3f4fab
EBM
129202014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12921
12922 * gdb.base/source-dir.exp: New file.
12923
79301218
JB
129242014-01-07 Joel Brobecker <brobecker@adacore.com>
12925
12926 * gdb.ada/mi_interface: New testcase.
12927
8e355c5d
JB
129282014-01-07 Joel Brobecker <brobecker@adacore.com>
12929
12930 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
12931 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
12932 gdb.ada/pp-rec-component/pck.ads: New files.
12933
c0d48811
JB
129342014-01-07 Joel Brobecker <brobecker@adacore.com>
12935
12936 * gdb.python/py-pp-integral.c: New file.
12937 * gdb.python/py-pp-integral.py: New file.
12938 * gdb.python/py-pp-integral.exp: New file.
12939
17b609c3 12940For older changes see ChangeLog-1993-2013.
c906108c 12941\f
8d8cb839
EZ
12942;; Local Variables:
12943;; mode: change-log
12944;; left-margin: 8
12945;; fill-column: 74
12946;; version-control: never
12947;; End:
902f2ccb 12948
61baf725 12949 Copyright 2014-2017 Free Software Foundation, Inc.
902f2ccb
MC
12950 Copying and distribution of this file, with or without modification,
12951 are permitted provided the copyright notice and this notice are preserved.