Add workaround for bash 4.2 scripting problem.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
4a556533
PA
12016-10-06 Pedro Alves <palves@redhat.com>
2
3 * gdb.base/jit-simple-dl.c: New file.
4 * gdb.base/jit-simple-jit.c: New file, factored out from ...
5 * gdb.base/jit-simple.c: ... this.
6 * gdb.base/jit-simple.exp (jit_run): Delete.
7 (build_jit): New proc.
8 (jit_test_reread): Recompile either the main program or the shared
9 library, depending on what is being tested. Skip changing address
10 if caller wants to. Compare before/after addresses. If testing
11 standalone, explicitly load the binary. Test "maint info
12 breakpoints".
13 (top level): Add "standalone vs shared lib" and "change address"
14 vs "same address" axes.
15
5a122fbc
PA
162016-10-06 Pedro Alves <palves@redhat.com>
17
18 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
19 call.
20 (jit_run): Delete.
21 (jit_test_reread): Use with_test_prefix. Reload the main binary
22 explicitly. Compare the before/after addresses of the JIT
23 descriptor.
24
ee8da4b8
DE
252016-08-15 Doug Evans <dje@google.com>
26
27 * gdb.xml/extra-regs.xml: Update, end field now required, default type
28 for single bitfields is bool.
29 * gdb.xml/tdesc-regs.exp: Ditto.
30
f389f6fe
JK
312016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
32
33 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
34
fdebf1a4
YQ
352016-10-05 Yao Qi <yao.qi@linaro.org>
36
37 * lib/gdb.exp (support_complex_tests): Return zero if
38 gdb_skip_float_test return true.
39
9c36d954
AT
402016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
412016-10-03 Simon Marchi <simon.marchi@ericsson.com>
42
43 PR gdb/20487
44 * gdb.mi/user-selected-context-sync.exp: New file.
45 * gdb.mi/user-selected-context-sync.c: New file.
46
4034d0ff
AT
472016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
482016-10-03 Simon Marchi <simon.marchi@ericsson.com>
49
50 PR gdb/20487
51 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
52 =thread-select-event check.
53
a4297203
PB
542016-09-29 Peter Bergner <bergner@vnet.ibm.com>
55
56 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
57 the compulsory L operand changes.
58 * gdb.arch/powerpc-power.s: Likewise.
59
bb805577
JK
602016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
61
62 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
63 * gdb.base/jit-attach-pie.c: New file.
64 * gdb.base/jit-attach-pie.exp: New file.
65
6d61dee5
PA
662016-09-28 Pedro Alves <palves@redhat.com>
67
68 * gdb.base/infcall-input.c: New file.
69 * gdb.base/infcall-input.exp: New file.
70
f73842fc
YQ
712016-09-22 Yao Qi <yao.qi@linaro.org>
72
73 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
74 (gdb_exit): Rename it to ...
75 (gdbserver_gdb_exit): ... Close GDBserver.
76 (gdb_exit): New proc, call gdbserver_gdb_exit.
77 (mi_gdb_exit): Likewise.
78
90681dab
YQ
792016-09-22 Yao Qi <yao.qi@linaro.org>
80
81 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
82 path.
83 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
84 Remove duplication.
85
9c211fd8
YQ
862016-09-22 Yao Qi <yao.qi@linaro.org>
87
88 * lib/gdbserver-support.exp: Check the existence of
89 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
90
ad0a504f
AK
912016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
92
93 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
94
36cf1806
TT
952016-09-21 Tom Tromey <tom@tromey.com>
96
97 PR gdb/20604:
98 * gdb.base/quit.exp: New file.
99
74172ecf
SM
1002016-09-21 Simon Marchi <simon.marchi@ericsson.com>
101
102 * .gitignore: New file.
103
3d0ec882
MR
1042016-09-21 Maciej W. Rozycki <macro@imgtec.com>
105
106 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
107 throughout.
108
8193adea
AA
1092016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
110
111 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
112
d41a5c09
JK
1132016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
114
115 * gdb.cp/casts.cc (decltype): Move it ...
116 (main): ... with its call to ...
117 * gdb.cp/casts03.cc: ... a new file.
118 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
119
d2dfe700
JK
1202016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
121
122 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
123
e2a92b16
PB
1242016-09-15 Peter Bergner <bergner@vnet.ibm.com>
125
126 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
127 and sync up the test with tests in gas/testsuite/gas/ppc.
128 * gdb.arch/powerpc-power.exp: Likewise.
129
49b4de64
JK
1302016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
131
132 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
133
2c29df25
SDJ
1342016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
135 Jan Kratochvil <jan.kratochvil@redhat.com>
136
137 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
138 make m1's definition to be different from m2's. Use 'dummy' as an
139 argument for probe 'two'.
140
cc3c2846
JB
1412016-09-10 Jon Beniston <jon@beniston.com>
142
143 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
144 for sim target.
145
e1b2624a
AA
1462016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
147
148 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
149 variable declaration.
150 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
151 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
152 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
153 received HWCAP as its argument.
154
4295e285
PA
1552016-09-06 Pedro Alves <palves@redhat.com>
156
157 * gdb.base/new-ui-pending-input.c: New file.
158 * gdb.base/new-ui-pending-input.exp: New file.
159 * gdb.exp (clear_gdb_spawn_id): New procedure.
160 (with_spawn_id): Check whether gdb_spawn_id exists before
161 referencing it. If gdb_spawn_id didn't exist on entry, clear it
162 on exit.
163
00d5215e
UW
1642016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
165
166 * gdb.base/float128.c: New file.
167 * gdb.base/float128.exp: Likewise.
168 * gdb.base/floatn.c: Likewise.
169 * gdb.base/floatn.exp: Likewise.
170
a9ff5f12
UW
1712016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
172
173 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
174
f245535c
PA
1752016-09-05 Pedro Alves <palves@redhat.com>
176
177 PR backtrace/19927
178 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
179 unwinders are immediately called as side effect of "source" or
180 "disable unwinder" commands.
181 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
182
ae9cf263
YQ
1832016-09-02 Yao Qi <yao.qi@linaro.org>
184
185 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
186 is true and $type is "float" or "double".
187
27aba047
YQ
1882016-09-02 Yao Qi <yao.qi@linaro.org>
189
190 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
191 true.
192 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
193 * gdb.base/call-rt-st.exp: Likewise.
194 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
195 return value instead of gdb,skip_float_test.
196 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
197 (do_function_calls): Use its return value instead of
198 gdb,skip_float_test.
199 * gdb.base/finish.exp: Likewise.
200 * gdb.base/funcargs.exp: Likewise.
201 * gdb.base/return.exp: Likewise.
202 * gdb.base/return2.exp: Likewise.
203 * gdb.base/varargs.exp: Likewise.
204 * lib/gdb.exp (gdb_skip_float_test): Change it to
205 gdb_caching_proc. Detect the broken ptrace on arm-linux.
206
5af962df
AA
2072016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
208
209 * gdb.multi/tids.exp: Test "thread apply all".
210
7fac6910
JK
2112016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
212
213 * gdb.base/default.exp (tty): Remove.
214
bb1fe4ac
KB
2152016-08-24 Kevin Buettner <kevinb@redhat.com>
216
217 * gdb.python/py-recurse-unwind.c: New file.
218 * gdb.python/py-recurse-unwind.py: New file.
219 * gdb.python/py-recurse-unwind.exp: New file.
220
0a1ddfa6
SM
2212016-08-24 Simon Marchi <simon.marchi@ericsson.com>
222
223 * gdb.base/set-inferior-tty.exp: New file.
224 * gdb.base/set-inferior-tty.c: New file.
225
d9de1fe3
PA
2262016-08-23 Pedro Alves <palves@redhat.com>
227
228 PR gdb/20494
229 * gdb.base/new-ui-echo.c: New file.
230 * gdb.base/new-ui-echo.exp: New file.
231
e9d9abd7
YQ
2322016-08-23 Yao Qi <yao.qi@linaro.org>
233
234 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
235 gdbserver_spawn.
236 * gdb.server/connect-without-multi-process.exp (do_test):
237 Likewise.
238
3589529e
YQ
2392016-08-23 Yao Qi <yao.qi@linaro.org>
240
241 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
242 standalone_txt. Delete gdb_txt and standalone_txt on host
243 and target. Spawn the binary on target. Copy files from
244 target to host.
245
6bb90213
PA
2462016-08-22 Pedro Alves <palves@redhat.com>
247
248 PR gdb/20505
249 * gdb.base/vdso-warning.exp: Test core dumps too. Use
250 with_test_prefix. Factor out bits to ...
251 (test_no_vdso): ... this new procedure.
252
20c2c024
CL
2532016-08-19 Carl Love <cel@us.ibm.com>
254
255 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
256 maintaining separate logic for constructing the output path.
257 * gdb.arch/powerpc-d128-regs.exp: Likewise.
258 * gdb.arch/ppc-dfp.exp: Likewise.
259 * gdb.arch/ppc-fp.exp: Likewise.
260 * gdb.arch/vsx-regs.exp: Likewise.
261 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
262 binprefix for generating the additional binary files.
263
0646e07d
PA
2642016-08-19 Pedro Alves <palves@redhat.com>
265
266 * gdb.trace/mi-trace-frame-collected.exp
267 (test_trace_frame_collected): On x32, expect two registers.
268
46da9242
CL
2692016-08-18 Carl Love <cel@us.ibm.com>
270
271 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
272 and sync up the test with tests in gas/testsuite/gas/ppc.
273 * gdb.arch/powerpc-power.exp: Likewise.
274
eb2332d7
SM
2752016-08-17 Simon Marchi <simon.marchi@ericsson.com>
276
277 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
278 expected error message.
279
63c61e04
SM
2802016-08-17 Simon Marchi <simon.marchi@ericsson.com>
281
282 * gdb.multi/remove-inferiors.exp: New file.
283 * gdb.multi/remove-inferiors.c: New file.
284
7b17065f
YQ
2852016-08-12 Yao Qi <yao.qi@linaro.org>
286
287 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
288 argument list.
289
01d3dedf
PA
2902016-08-10 Pedro Alves <palves@redhat.com>
291
292 PR gdb/19187
293 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
294 setup_kfails.
295
3eb7562a
PA
2962016-08-09 Pedro Alves <palves@redhat.com>
297 Simon Marchi <simon.marchi@ericsson.com>
298
299 PR gdb/20418
300 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
301 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
302
80614914
PA
3032016-08-09 Pedro Alves <palves@redhat.com>
304
305 PR mi/20431
306 * gdb.mi/mi-cmd-error.exp: New file.
307
f348d89a
PA
3082016-08-09 Pedro Alves <palves@redhat.com>
309
310 PR gdb/18653
311 * gdb.base/signals-state-child.c: New file.
312 * gdb.base/signals-state-child.exp: New file.
313 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
314
e5ca03b4
PA
3152016-08-09 Pedro Alves <palves@redhat.com>
316
317 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
318
282a0691
TT
3192016-08-03 Tom Tromey <tom@tromey.com>
320
321 PR python/18565:
322 * gdb.python/py-frame-inline.exp: Add Frame.function test.
323
41bfcd63
YQ
3242016-08-01 Yao Qi <yao.qi@linaro.org>
325
326 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
327 variable mode to "multi-process" if $multi_process is 1, otherwise
328 set it to "single-process".
329
e3465b24
YQ
3302016-08-01 Yao Qi <yao.qi@linaro.org>
331
332 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
333 * gdb.cp/cpexprs.exp: Likewise.
334 * gdb.cp/m-static.exp: Likewise.
335
0b31a4bc
TT
3362016-07-26 Tom Tromey <tom@tromey.com>
337
338 PR python/20190:
339 * gdb.threads/tls.exp (check_thread_local): Add python symbol
340 test.
341
e0461dbb
MM
3422016-07-26 Markus Metzger <markus.t.metzger@intel.com>
343
344 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
345 selecting assembly source files.
346 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
347 assembly source files.
348 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
349 assembly source files.
350 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
351 selecting assembly source files.
352
8194e927
SM
3532016-07-25 Simon Marchi <simon.marchi@ericsson.com>
354
355 * gdb.base/new-ui.exp (do_test_invalid_args): New
356 procedure.
357
c0272db5
TW
3582016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
359
360 * gdb.btrace/reconnect.c: New file.
361 * gdb.btrace/reconnect.exp: New file.
362
e3487908
GKB
3632016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
364
365 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
366 to test_catch_syscall_group.
367 (test_catch_syscall_group): New.
368
12df5c00
TT
3692016-07-21 Tom Tromey <tom@tromey.com>
370
371 * gdb.rust/simple.rs (main): Use empty struct expression.
372 * gdb.rust/simple.exp: Add tests for empty struct expression.
373
bae62ee2
YQ
3742016-07-21 Yao Qi <yao.qi@linaro.org>
375
376 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
377 if gdb_skip_xml_test is true on some targets.
378
b1b53fb3
YQ
3792016-07-21 Yao Qi <yao.qi@linaro.org>
380
381 * gdb.server/solib-list.exp: Unset last_loaded_file.
382
027d97f8
JK
3832016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
384
385 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
386 "step into captured_main (args)".
387
7674d381
JK
3882016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
389
390 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
391
72b5d099
JK
3922016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
393
394 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
395
1f960ced
PA
3962016-07-19 Pedro Alves <palves@redhat.com>
397
398 * gdb.opt/inline-break.exp: Remove optimize=-O2.
399 * gdb.opt/inline-bt.exp: Likewise.
400 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
401 additional_flags=-Winline.
402 * gdb.opt/inline-locals.exp: Likewise.
403 * gdb.opt/inline-markers.c (ATTR): Define.
404 (inlined_fn): Use it.
405
f25827c1
YQ
4062016-07-19 Yao Qi <yao.qi@linaro.org>
407
408 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
409 (test_with_self): Remove some code. Remove argument executable.
410 (top-level): Use do_self_tests.
411
37539ebe
DB
4122016-07-15 Zachary Welch <zwelch@codesourcery.com>
413 Don Breazeal <donb@codesourcery.com>
414
415 * gdb.base/maint.exp: Escape paths used in regular expressions.
416 * gdb.stabs/weird.exp: Likewise.
417
dac790e1
TT
4182016-07-13 Tom Tromey <tom@tromey.com>
419
420 PR python/15620, PR python/18620:
421 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
422 (test_bkpt_events): New procs.
423
93daf339
TT
4242016-07-13 Tom Tromey <tom@tromey.com>
425
426 PR python/17698:
427 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
428 test.
429 (test_watchpoints): Likewise.
430 (test_bkpt_pending): New proc.
431
6571a381
TT
4322016-07-13 Tom Tromey <tom@tromey.com>
433
434 PR cli/18053:
435 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
436 completion test.
437
e8732474
JK
4382016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
439
440 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
441 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
442 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
443 f_label.
444 (g): Rename g_end_lbl to g_label.
445 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
446 low_pc and high_pc.
447 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
448
e0f3fd7c
TT
4492016-07-12 Tom Tromey <tom@tromey.com>
450
451 PR python/19293:
452 * gdb.python/py-unwind-maint.exp: Update tests.
453
3cfe46b6
YQ
4542016-07-12 Yao Qi <yao.qi@linaro.org>
455
456 * lib/selftest-support.exp (selftest_setup): Match the output
457 when captured_main is inlined.
458
4f19a0e6
WT
4592016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
460
461 * gdb.fortran/derived-types.exp (result_line, result_line_2):
462 New variables.
463 (print this%a, print this%b, print this): New tests.
464 * gdb.fortran/derived-types.f90 (this): New object and
465 initialization.
466
986cf455
SM
4672016-07-06 Simon Marchi <simon.marchi@ericsson.com>
468
469 * gdb.ada/arraydim.exp: Remove extra directory level in build
470 directory.
471
f0464b23
SM
4722016-07-06 Simon Marchi <simon.marchi@ericsson.com>
473
474 * lib/ada.exp: Remove extra directory level in build directory.
475 * gdb.ada/cond_lang.exp: Likewise.
476 * gdb.ada/exec_changed.exp: Likewise.
477 * gdb.ada/lang_switch.exp: Likewise.
478
42d94011
MG
4792016-07-06 Manish Goregaokar <manish@mozilla.com>
480
481 * simple.rs: Add test for raw pointer subscripting
482 * simple.exp: Add test expectations
483
647c264c
YQ
4842016-07-05 Yao Qi <yao.qi@linaro.org>
485
486 * gdb.mi/mi-reverse.exp: Match =record-started output.
487
20aa2c60
PA
4882016-07-01 Pedro Alves <palves@redhat.com>
489
490 * gdb.base/jit-reader.exp (info_registers_current_frame): New
491 procedure.
492 (jit_reader_test): Test the jit reader's unwinder.
493 * gdb.base/jithost.c (jit_function_00_code): New global.
494 (main): Use memcpy to fill in the mmapped code, instead of poking
495 bytes manually here.
496 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
497 value.
498 (read_debug_info): Save the function's range.
499 (read_sp): New function.
500 (unwind_frame): Use it. Also unwind RBP.
501 (get_frame_id): Use read_sp.
502 (gdb_init_reader): Use calloc instead of malloc.
503 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
504 parameter. Use gdb_test_multiple.
505
ced2dffb
PA
5062016-07-01 Pedro Alves <palves@redhat.com>
507 Antoine Tremblay <antoine.tremblay@ericsson.com>
508
509 * gdb.threads/process-dies-while-detaching.c: New file.
510 * gdb.threads/process-dies-while-detaching.exp: New file.
511
63000888
PA
5122016-07-01 Pedro Alves <palves@redhat.com>
513
514 * gdb.multi/watchpoint-multi-exit.c: New file.
515 * gdb.multi/watchpoint-multi-exit.exp: New file.
516
038d4868
PA
5172016-06-30 Pedro Alves <palves@redhat.com>
518
519 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
520 unset inferior_spawn_id.
521
994e9c83
PA
5222016-06-30 Pedro Alves <palves@redhat.com>
523
524 * lib/mi-support.exp (default_mi_gdb_start): Declare global
525 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
526
e5653468
YQ
5272016-06-29 Yao Qi <yao.qi@linaro.org>
528
529 * gdb.base/return.c: Add copyright header.
530
803b47e5
TT
5312016-06-29 Tom Tromey <tom@tromey.com>
532
533 PR python/20129:
534 * gdb.python/py-framefilter.exp: Add tests for setting priority
535 and disabling of non-existent frame filter.
536
28244707
YQ
5372016-06-29 Yao Qi <yao.qi@linaro.org>
538
539 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
540 0x0f07ff.
541
a31d2f06
YQ
5422016-06-28 Yao Qi <yao.qi@linaro.org>
543
544 * gdb.base/catch-syscall.exp: Remove check on isnative and target
545 triplets. Start gdb, execute catch syscall, and continue. Check
546 gdb's output to determine catch syscall is supported.
547
921d8f54
MG
5482016-06-27 Manish Goregaokar <manish@mozilla.com>
549
25d49b86
PA
550 * gdb.rust/simple.rs: Add test for returning unit in a function.
551 * gdb.rust/simple.exp: Add expectation for functions returning
552 unit.
921d8f54 553
f4952523
PMR
5542016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
555
556 * gdb.python/py-breakpoint-create-fail.c,
557 gdb.python/py-breakpoint-create-fail.exp,
558 gdb.python/py-breakpoint-create-fail.py: New testcase.
559
fccb08f8
MG
5602016-06-25 Manish Goregaokar <manish@mozilla.com>
561
562 PR gdb/20239
563 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
564 * gdb.rust/simple.exp: Add test expectations for new NonZero
565 tests.
fccb08f8 566
6b850546
DT
5672016-06-24 David Taylor <dtaylor@emc.com>
568
569 * gdb.base/offsets.exp: New file.
570 * gdb.base/offsets.c: New file.
571
17621150
TT
5722016-06-23 Tom Tromey <tom@tromey.com>
573
574 PR gdb/16483:
575 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
576 before any filters are loaded.
577
04d59df6
WT
5782016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
579
580 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
581 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
582 structs.
583 * gdb.fortran/derived-type-function.exp: New file.
584 * gdb.fortran/derived-type-function.f90: New file.
585
586
ac69f786
PA
5872016-06-21 Pedro Alves <palves@redhat.com>
588
589 * gdb.base/new-ui.exp: New file.
590 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
591 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
592 (with_spawn_id): New procedure.
593
49940788
PA
5942016-06-21 Pedro Alves <palves@redhat.com>
595
596 * gdb.mi/mi-exec-run.exp: New file.
597
ef274d26
PA
5982016-06-21 Pedro Alves <palves@redhat.com>
599
600 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
601 breakpoint command's output on the main UI.
602 (test_break): New procedure, factored out from calls in the top
603 level.
604 (top level): Use foreach_with_prefix to test MI as main UI and as
605 separate UI.
606
468afe6c
PA
6072016-06-21 Pedro Alves <palves@redhat.com>
608
609 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
610 (test_awatch_creation_and_listing)
611 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
612 Remove 'type' parameter.
613 (test_watchpoint_all): New parameter mi_mode. Remove
614 with_test_prefix.
615 (top level): Use foreach_with_prefix, and add main/separate UI MI
616 testing axis.
617
51f77c37
PA
6182016-06-21 Pedro Alves <palves@redhat.com>
619
620 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
621 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
622 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
623 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
624 (gdb_main_spawn_id, mi_spawn_id): Declare and
625 comment.
626 (mi_create_inferior_pty): New procedure,
627 factored out from default_mi_gdb_start.
628 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
629 procedures.
630 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
631 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
632 Use mi_create_inferior_pty.
633 (mi_gdb_start): Use eval to pass down args list.
634
8980e177
PA
6352016-06-21 Pedro Alves <palves@redhat.com>
636
637 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
638 * gdb.opt/inline-cmds.exp: Add MI tests.
639
f38d3ad1
PA
6402016-06-21 Pedro Alves <palves@redhat.com>
641
642 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
643
45db7c09
PA
6442016-06-21 Pedro Alves <palves@redhat.com>
645
646 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
647 (top level): Use it instead of mi_execute_to.
648
5a069ab3
PA
6492016-06-21 Pedro Alves <palves@redhat.com>
650
651 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
652 (cont_handler_str): New.
653 (signal_stop_handler): Set stop_handler_str instead of printing to
654 stdout.
655 (continue_handler): Set cont_handler_str instead of printing to
656 stdout.
657 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
658 mi_send_resuming_command. Print stop_handler_str and
659 cont_handler_str instead of expecting the python events print
660 directly.
661
2838cc1d
SD
6622016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
663
664 * gdb.base/jit-reader.exp: New file.
665 * gdb.base/jithost.c: New file.
666 * gdb.base/jithost.h: New file.
667 * gdb.base/jitreader.c : New file.
668 * gdb.base/jit-protocol.h: New file.
669
21a77091
YQ
6702016-06-17 Yao Qi <yao.qi@linaro.org>
671
672 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
673 parameters follow_fork and detach_on_fork. Set follow-fork-mode
674 and detach-on-fork. Adjust tests.
675 (top level): Invoke break_cond_on_syscall with combinations of
676 syscall, follow-fork-mode and detach-on-fork.
677
f50bf8e5
YQ
6782016-06-17 Yao Qi <yao.qi@linaro.org>
679
680 * gdb.base/step-over-exit.c: New.
681 * gdb.base/step-over-exit.exp: New.
682
a28d8e50
YTL
6832016-06-17 Yan-Ting Lin <currygt52@gmail.com>
684
685 * gdb.base/float.exp: Add target check for nds32*-*-*.
686 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
687
cad8e26d
AB
6882016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
689
690 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
691 for unsupported target features.
692 * gdb.base/call-rt-st.exp: Likewise.
693 * gdb.base/call-sc.exp: Likewise.
694 * gdb.base/call-signal-resume.exp: Likewise.
695 * gdb.base/call-strs.exp: Likewise.
696 * gdb.base/callexit.exp: Likewise.
697 * gdb.base/callfuncs.exp: Likewise.
698 * gdb.base/nodebug.exp: Likewise.
699 * gdb.base/printcmds.exp: Likewise.
700 * gdb.base/ptype.exp: Likewise.
701 * gdb.base/structs.exp: Likewise.
702 * gdb.base/unwindonsignal.exp: Likewise.
703 * gdb.cp/gdb2495.exp: Likewise.
704 * gdb.cp/templates.exp: Likewise.
705 * gdb.cp/virtfunc.exp: Likewise.
706 * gdb.threads/hand-call-in-threads.exp: Likewise.
707 * gdb.threads/interrupted-hand-call.exp: Likewise.
708 * gdb.threads/thread-unwindonsignal.exp: Likewise.
709
347dc102
TT
7102016-06-10 Tom Tromey <tom@tromey.com>
711
712 PR rust/20110:
713 * gdb.rust/expr.exp: Add test for integer constant larger than
714 i32.
715
5e13cf25
BH
7162016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
717
718 * gdb.fortran/nested-funcs.exp: New.
719 * gdb.fortran/nested-funcs.f90: New.
720
bb556f1f
TK
7212016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
722
723 * gdb.base/examine-backward.c: New file.
724 * gdb.base/examine-backward.exp: New file.
725
38b022b4
SM
7262016-06-06 Simon Marchi <simon.marchi@ericsson.com>
727
728 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
729 matching.
730
1b40ec05
TT
7312016-06-02 Tom Tromey <tom@tromey.com>
732
733 PR python/18984:
734 * gdb.python/py-shared.exp: Add solib_name test.
735
193bd378
SM
7362016-06-02 Simon Marchi <simon.marchi@ericsson.com>
737
738 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
739
3326303b
MG
7402016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
741
742 PR c++/19893
743 * gdb.dwarf2/implref.exp: Rename to...
744 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
745 * gdb.dwarf2/implref-array.c: New file.
746 * gdb.dwarf2/implref-array.exp: Likewise.
747 * gdb.dwarf2/implref-global.c: Likewise.
748 * gdb.dwarf2/implref-global.exp: Likewise.
749 * gdb.dwarf2/implref-struct.c: Likewise.
750 * gdb.dwarf2/implref-struct.exp: Likewise.
751
825c8ef2
AT
7522016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
753
754 * gdb.trace/trace-condition.exp: Add 64bit tests.
755
2320162a
AT
7562016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
757
758 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
759 bits types.
760 (main): Adapt to 8 to 64 bits types.
761 * gdb.trace/trace-condition.exp: Add new tests.
762
a7818233
AT
7632016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
764
765 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
766
0d336466
AT
7672016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
768
769 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
770 Move condition tests...
771 * gdb.trace/trace-condition.exp: Here.
772
7faeb45a
AT
7732016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
774
775 * gdb.trace/trace-condition.exp: Add counter-case tests.
776
e385593e
JK
7772016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
778
779 PR c++/15231
780 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
781 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
782
744608cc
PA
7832016-05-27 Pedro Alves <palves@redhat.com>
784
785 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
786 New procedure.
787 (top level): Call it, and bail out of DejaGnu is known to be bad.
788
ac775bf4
AB
7892016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
790
791 * gdb.base/whatis.c: Extend the test case.
792 * gdb.base/whatis.exp: Add additional tests.
793
2bbad2ea
BH
7942016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
795
796* gdb.fortran/type.f90: Add pointer variable.
797* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
798
8b70175d
BH
7992016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
800
801 * gdb.fortran/vla-type.exp: Fix testcase name.
802
86d8a848
BH
8032016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
804
805 * gdb.fortran/vla-type.exp: Access elements in nested structs.
806
e188eb36
BH
8072016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
808
809 * gdb.fortran/type.f90: Add nested structures.
810 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
811 * gdb.fortran/derived-type.exp: Adapt expected output.
812 * gdb.fortran/vla-type.exp: Adapt expected output.
813
9b2db1fd
BH
8142016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
815
816 * gdb.fortran/whatis_type.exp: Adapt expected output.
817
72b17055
BH
8182016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
819
820 * gdb.fortran/print_type.exp: Fix expected output.
821 * gdb.fortran/whatis_type.exp: Fix expected output.
822
3cd81d8d
BH
8232016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
824
825 * gdb.fortran/whatis_type.exp: Use multi_line.
826
ddae9462
TT
8272016-05-24 Tom Tromey <tom@tromey.com>
828
829 PR python/17386:
830 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
831 use value as an index.
832
1957f6b8
TT
8332016-05-23 Tom Tromey <tom@tromey.com>
834
835 PR python/17981:
836 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
837 no-breakpoint case.
838
026a9174
PA
8392016-05-24 Pedro Alves <palves@redhat.com>
840
841 PR gdb/19828
842 * gdb.threads/clone-attach-detach.c: New file.
843 * gdb.threads/clone-attach-detach.exp: New file.
844
e70a7231
FR
8452016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
846
847 * gdb.base/annota-input-while-running.exp: Fix syntax error.
848
0f6ed0e0
TT
8492016-05-23 Tom Tromey <tom@tromey.com>
850
851 PR python/19438, PR python/18393:
852 * gdb.python/py-progspace.exp: Add "dir" test.
853 * gdb.python/py-objfile.exp: Add "dir" test.
854
ffd19d61
YQ
8552016-05-23 Yao Qi <yao.qi@linaro.org>
856
857 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
858 * gdb.arch/thumb2-it.exp: Likewise.
859
9e8f9b05
SM
8602016-05-18 Simon Marchi <simon.marchi@ericsson.com>
861
862 * gdb.mi/mi-threads-interrupt.c: New file.
863 * gdb.mi/mi-threads-interrupt.exp: New file.
864
61c6156d
SM
8652016-05-17 Simon Marchi <simon.marchi@ericsson.com>
866
867 PR gdb/18077
868 * gdb.mi/mi-async-run.exp: New file.
869 * gdb.mi/mi-async-run.c: New file.
870
67218854
TT
8712016-05-17 Tom Tromey <tom@tromey.com>
872 Manish Goregaokar <manishsmail@gmail.com>
873
874 * lib/rust-support.exp: New file.
875 * lib/gdb.exp (skip_rust_tests): New proc.
876 (build_executable_from_specs): Handle rust.
877 * lib/future.exp (gdb_find_rustc): New proc.
878 (gdb_default_target_compile): Handle rust.
879 * gdb.rust/expr.exp: New file.
880 * gdb.rust/generics.exp: New file.
881 * gdb.rust/generics.rs: New file.
882 * gdb.rust/methods.exp: New file.
883 * gdb.rust/methods.rs: New file.
884 * gdb.rust/modules.exp: New file.
885 * gdb.rust/modules.rs: New file.
886 * gdb.rust/simple.exp: New file.
887 * gdb.rust/simple.rs: New file.
888
c44af4eb
TT
8892016-05-17 Tom Tromey <tom@tromey.com>
890
891 * gdb.base/default.exp (set language): Add rust.
892
dcd1f979
TT
8932016-05-17 Tom Tromey <tom@tromey.com>
894
895 * gdb.gdb/unittest.exp: New file.
896
155b7f57
YQ
8972016-05-16 Yao Qi <yao.qi@linaro.org>
898
899 * gdb.base/batch-preserve-term-settings.exp: Remove variable
900 shell_prompt. Update shell_prompt_re.
901
8ddd5a6c
DE
9022016-05-12 Doug Evans <dje@google.com>
903
904 PR symtab/19999
905 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
906 $options when building executable.
907 * gdb.dwarf2/fission-loclists-pie.S: New file.
908 * gdb.dwarf2/fission-loclists-pie.exp: New file.
909
02e370d9
SM
9102016-05-04 Simon Marchi <simon.marchi@ericsson.com>
911
912 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
913 of [is_remote target],
914
8929ad8b
SM
9152016-05-04 Simon Marchi <simon.marchi@ericsson.com>
916
917 * lib/gdb.exp (use_gdb_stub): New procedure.
918
6c447423
DE
9192016-05-03 Yunlian Jiang <yunlian@google.com>
920 Doug Evans <dje@google.com>
921
922 PR symtab/19914
923 * gdb.dwarf2/dwp-sepdebug.c: New file.
924 * gdb.dwarf2/dwp-sepdebug.exp: New file.
925
444e826c
SM
9262016-05-02 Simon Marchi <simon.marchi@ericsson.com>
927
928 * gdb.base/detach.exp: Remove is_remote check.
929
740feeaa
SM
9302016-05-02 Simon Marchi <simon.marchi@ericsson.com>
931
932 * gdb.base/annota-input-while-running.exp: Don't check for
933 [is_remote target]. Enable annotations after running to main.
934 Remove unused "set test..." line.
935
9080ac9d
SM
9362016-04-28 Simon Marchi <simon.marchi@ericsson.com>
937
938 * gdb.trace/trace-enable-disable.exp: New file.
939 * gdb.trace/trace-enable-disable.c: New file.
940
952ebca5
SM
9412016-04-28 Simon Marchi <simon.marchi@ericsson.com>
942
943 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
944 use it in info sharedlibrary test.
945 * gdb.trace/ftrace-lock.exp: Likewise.
946 * gdb.trace/ftrace.exp: Likewise.
947 * gdb.trace/range-stepping.exp: Likewise.
948 * gdb.trace/trace-break.exp: Likewise.
949 * gdb.trace/trace-condition.exp: Likewise.
950 * gdb.trace/trace-mt.exp: Likewise.
951
d9019901
SM
9522016-04-27 Simon Marchi <simon.marchi@ericsson.com>
953
954 * lib/gdb.exp (gdb_load_shlibs): Rename to...
955 (gdb_load_shlib): ... this.
956 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
957 gdb_load_shlib.
958 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
959 * gdb.base/ctxobj.exp: Likewise.
960 * gdb.base/dprintf-pending.exp: Likewise.
961 * gdb.base/dso2dso.exp: Likewise.
962 * gdb.base/fixsection.exp: Likewise.
963 * gdb.base/gcore-relro.exp: Likewise.
964 * gdb.base/gdb1555.exp: Likewise.
965 * gdb.base/global-var-nested-by-dso.exp: Likewise.
966 * gdb.base/gnu-ifunc.exp: Likewise.
967 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
968 * gdb.base/jit-so.exp (one_jit_test): Likewise.
969 * gdb.base/pending.exp: Likewise.
970 * gdb.base/print-file-var.exp: Likewise.
971 * gdb.base/print-symbol-loading.exp: Likewise.
972 * gdb.base/shlib-call.exp: Likewise.
973 * gdb.base/shreloc.exp: Likewise.
974 * gdb.base/so-impl-ld.exp: Likewise.
975 * gdb.base/solib-disc.exp: Likewise.
976 * gdb.base/solib-nodir.exp: Likewise.
977 * gdb.base/solib-overlap.exp: Likewise.
978 * gdb.base/solib-symbol.exp: Likewise.
979 * gdb.base/solib-weak.exp (do_test): Likewise.
980 * gdb.base/sym-file.exp: Likewise.
981 * gdb.base/symtab-search-order.exp: Likewise.
982 * gdb.base/type-opaque.exp: Likewise.
983 * gdb.base/unload.exp: Likewise.
984 * gdb.base/watchpoint-solib.exp: Likewise.
985 * gdb.compile/compile.exp: Likewise.
986 * gdb.cp/gdb2384.exp: Likewise.
987 * gdb.cp/infcall-dlopen.exp: Likewise.
988 * gdb.cp/re-set-overloaded.exp: Likewise.
989 * gdb.fortran/library-module.exp: Likewise.
990 * gdb.opt/solib-intra-step.exp: Likewise.
991 * gdb.python/py-finish-breakpoint.exp: Likewise.
992 * gdb.python/py-shared.exp: Likewise.
993 * gdb.reverse/solib-precsave.exp: Likewise.
994 * gdb.reverse/solib-reverse.exp: Likewise.
995 * gdb.server/solib-list.exp: Likewise.
996 * gdb.threads/dlopen-libpthread.exp: Likewise.
997 * gdb.threads/tls-shared.exp: Likewise.
998 * gdb.threads/tls-so_extern.exp: Likewise.
999 * gdb.trace/change-loc.exp: Likewise.
1000 * gdb.trace/ftrace-lock.exp: Likewise.
1001 * gdb.trace/ftrace.exp: Likewise.
1002 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
1003 * gdb.trace/pending.exp: Likewise.
1004 * gdb.trace/range-stepping.exp: Likewise.
1005 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
1006 (strace_info_marker): Likewise.
1007 (strace_probe_marker): Likewise.
1008 (strace_trace_on_same_addr): Likewise.
1009 (strace_trace_on_diff_addr): Likewise.
1010 * gdb.trace/trace-break.exp: Likewise.
1011 * gdb.trace/trace-condition.exp: Likewise.
1012 * gdb.trace/trace-mt.exp: Likewise.
1013
fca4cfd9
SM
10142016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1015
1016 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
1017 result of gdb_remote_download.
1018 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
1019 * gdb.base/dso2dso.exp: Likewise.
1020 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1021 * gdb.base/print-file-var.exp: Likewise.
1022 * gdb.base/shlib-call.exp: Likewise.
1023 * gdb.base/shreloc.exp: Likewise.
1024 * gdb.base/solib-overlap.exp: Likewise.
1025 * gdb.base/solib-weak.exp (do_test): Likewise.
1026 * gdb.base/unload.exp: Likewise.
1027
11cf4ffb
YQ
10282016-04-27 Yao Qi <yao.qi@linaro.org>
1029
1030 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
1031 exists.
1032
3e2e34f8
KB
10332016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1034
1035 * vla-type.exp: Print structure from toplevel.
1036
8f07e298
BH
10372016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1038
1039 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
1040 of dynamic types.
1041 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
1042 of dynamic types.
1043
9920b434
BH
10442016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1045
1046 * gdb.fortran/vla-type.f90: New file.
1047 * gdb.fortran/vla-type.exp: New file.
1048
f3abeff5
YQ
10492016-04-25 Yao Qi <yao.qi@linaro.org>
1050
1051 * gdb.base/branch-to-self.c: New file.
1052 * gdb.base/branch-to-self.exp: New file.
1053
0a5d52f0
YQ
10542016-04-22 Yao Qi <yao.qi@linaro.org>
1055
1056 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
1057 more after $hex.
1058
495346f6
YQ
10592016-04-22 Yao Qi <yao.qi@linaro.org>
1060
1061 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
1062 * gdb.base/annota3.exp: Likewise.
1063
4a7e075c
YQ
10642016-04-22 Yao Qi <yao.qi@linaro.org>
1065
1066 * gdb.reverse/step-precsave.exp: Do one step and test program
1067 stops in "callee" and do multiple steps until program goes out
1068 of "callee".
1069 * gdb.reverse/step-reverse.exp: Likewise.
1070
5b061e98
YQ
10712016-04-22 Yao Qi <yao.qi@linaro.org>
1072
1073 * gdb.trace/signal.exp: Also pass if
1074 $tracepoint_hits($i) > $iterations.
1075
5c5dc57f
YQ
10762016-04-22 Yao Qi <yao.qi@linaro.org>
1077
1078 * gdb.trace/signal.c: New file.
1079 * gdb.trace/signal.exp: New file.
1080
a55411b9
DE
10812016-04-19 Doug Evans <xdje42@gmail.com>
1082
1083 * gdb.base/bad-file.exp: New file.
1084
a22df60a
MG
10852016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
1086
1087 * gdb.dwarf2/implref.exp: New file.
1088
0c13f7e5
BH
10892016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1090
1091 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
1092 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
1093 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
1094 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
1095 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
1096 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
1097 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
1098 * lib/fortran.exp (fortran_int4): New procedure.
1099 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
1100 (fortran_logical4): Likewise.
1101
9b9b09e9
BH
11022016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
1103
1104 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
1105
a14d1f4d
BH
11062016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1107
1108 * lib/compiler.c: Add Intel specific preprocessor macros.
1109 * lib/compiler.cc: Likewise.
25d49b86 1110
7d49b1d0
LM
11112016-04-13 Luis Machado <lgustavo@codesourcery.com>
1112
1113 * gdb.server/connect-with-no-symbol-file.c: New file.
1114 * gdb.server/connect-with-no-symbol-file.exp: New file.
1115
8392fa22
SM
11162016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1117
1118 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
1119
8c4c4aeb
SM
11202016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1121
1122 * boards/gdbserver-base.exp (${board}_download): Copy source file to
1123 standard output directory.
1124
45e3745e
AT
11252016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
1126
1127 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
1128
e26b7e41
MM
11292016-04-13 Markus Metzger <markus.t.metzger@intel.com>
1130
1131 * gdb.btrace/instruction_history.c (loop): Add declaration.
1132
8ce09462
AT
11332016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1134
1135 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
1136
2e88a1ea
SM
11372016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
1138
1139 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
1140 parentheses to print.
1141 (continue_handler): Likewise.
1142
f48e22e3
SM
11432016-04-08 Simon Marchi <simon.marchi@ericsson.com>
1144
1145 * gdb.server/solib-list.exp: Remove is_remote check.
1146 Pass shlib= to gdb_compile. Don't link shared library with
1147 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
1148 Run binary filename through "readlink -f" on the target.
1149
096be756
PA
11502016-04-08 Pedro Alves <palves@redhat.com>
1151
1152 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
1153 interpreter filename as argument to gdbserver_spawn.
1154 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1155 Return empty if $last_loaded_file does not exist.
1156
06500533
JK
11572016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1158
1159 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
1160 * gdb.base/jit-main.c: Use exit after usage.
1161
2d35e871
JK
11622016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1163
1164 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
1165 GDBHISTSIZE prior to the tests.
1166 * gdb.base/gdbinit-history.exp: Likewise.
1167
11682016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
1169
1170 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
1171 instead of build_executable. Use gdb_load_shlibs.
1172
c8064e7e
YQ
11732016-04-07 Yao Qi <yao.qi@linaro.org>
1174
1175 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
1176 Execute "si" command.
1177
bde47561
YQ
11782016-04-07 Yao Qi <yao.qi@linaro.org>
1179
1180 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
1181 number instead of the comments on some line.
1182
b16f8a3b
DB
11832016-04-06 Don Breazeal <donb@codesourcery.com>
1184
1185 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
1186 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
1187
c2f901df
SM
11882016-04-06 Simon Marchi <simon.marchi@ericsson.com>
1189
1190 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
1191 standard_output_file. Remove unused binfile variable.
1192
ac17fda0
CU
11932016-04-05 Catalin Udma <catalin.udma@freescale.com>
1194
1195 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
1196 * gdb.python/py-mi-objfile.exp: Match "list main" output
1197 in console format.
1198
03a8c4df
SM
11992016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
1200
1201 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
1202 absolute.
1203
6e774b13
SM
12042016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1205
1206 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
1207 absolute.
1208 * gdb.trace/ftrace.exp: Likewise.
1209 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
1210 targets as well.
1211 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
1212 (gdb_load_shlibs): Copy libraries to test directory when testing
1213 natively. Only set solib-search-path if testing remotely.
1214 * lib/mi-support.exp (mi_load_shlibs): Likewise.
1215
7817ea46
SM
12162016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1217
1218 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
1219 gdb_download. Use it even if the target is not remote.
1220 * gdb.base/jit.exp (compile_jit_test): Likewise.
1221 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
1222 output directory if the destination board is local, otherwise use
1223 the standard remote_download from DejaGnu.
1224 (gdb_download): Remove.
1225 (gdb_load_shlibs): Use gdb_remote_download instead of
1226 gdb_download.
1227 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1228 Use gdb_remote_download instead of gdb_download. Use it even if
1229 the target is not remote.
1230 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
1231 instead of gdb_download.
1232
7beb7f68
SM
12332016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
1234
1235 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
1236 (test_insert_delete_modify): Call mi_load_shlibs before trying to
1237 run.
1238
cc63428a
AV
12392016-04-01 Artemiy Volkov <artemiyv@acm.org>
1240
1241 PR gdb/19820
1242 * gdb.base/printcmds.exp: Add artificial arrays tests.
1243
64cdf930
PA
12442016-03-31 Pedro Alves <palves@redhat.com>
1245
1246 PR gdb/19858
1247 * gdb.base/jit-main.c: Include unistd.h.
1248 (ATTACH): Define to 0 if not already defined.
1249 (wait_for_gdb, mypid): New globals.
1250 (WAIT_FOR_GDB): New macro.
1251 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
1252 some breakpoint locations.
1253 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
1254 New procedures.
1255 (one_jit_test): Add REATTACH parameter, and handle it. Use
1256 continue_to_test_location.
1257 (top level): Test attach, and adjusts calls to one_jit_test.
1258
40dea8cb
PA
12592016-03-31 Pedro Alves <palves@redhat.com>
1260
1261 PR gdb/19858
1262 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
1263 BINSUFFIX parameter, and handle it.
1264 (top level): Adjust calls compile_jit_test.
1265
e7ea3ec7
CU
12662016-03-31 Catalin Udma <catalin.udma@freescale.com>
1267
1268 PR python/19743
1269 * gdb.python/py-mi-events-gdb.py: New file.
1270 * gdb.python/py-mi-events.c: New file.
1271 * gdb.python/py-mi-events.exp: New file.
1272
e6359af3
YQ
12732016-03-30 Yao Qi <yao.qi@linaro.org>
1274
1275 * gdb.reverse/until-precsave.exp: Match function name only.
1276 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
1277 Move malloc to a condition block.
1278 * gdb.reverse/until-reverse.exp: Match function name only.
1279
a4105d04
MK
12802016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
1281
1282 * gdb.trace/ftrace.exp: Set arg0exp for s390.
1283 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
1284 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
1285 variable for GPR 0 instead of assuming it is register 0.
1286 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
1287 * lib/trace-support.exp: Add s390 registers.
1288
bfa6adb9
YQ
12892016-03-29 Yao Qi <yao.qi@linaro.org>
1290
1291 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
1292
1e6697ea
YQ
12932016-03-24 Yao Qi <yao.qi@linaro.org>
1294
1295 * gdb.reverse/break-reverse.exp: Add quotation mark in the
1296 test message.
1297
64bcd522
AA
12982016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1299
1300 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
1301 maintaining separate logic for constructing the output path.
1302
7868401b
DB
13032016-03-16 Don Breazeal <donb@codesourcery.com>
1304
1305 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1306 Retry fork and waitpid on interrupted system call errors.
1307 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1308 Use with_timeout_factor to increase timeout by factor of 10.
1309
1cafadb4
DB
13102016-03-15 Don Breazeal <donb@codesourcery.com>
1311
1312 * gdb.cp/scope-err.cc: New test program.
1313 * gdb.cp/scope-err.exp: New test script.
1314 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
1315 lines and "set breakpoint here" comment.
1316 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
1317 Fixed some whitespace and format issues.
1318 * gdb.mi/mi-linespec-err-cp.cc: New test program.
1319 * gdb.mi/mi-linespec-err-cp.exp: New test script.
1320
81516450
DE
13212016-03-15 Doug Evans <dje@google.com>
1322
1323 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
1324 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
1325 All callers updated. Add tests for enums, mixed flags register.
1326
aa52b601
DE
13272016-03-15 Doug Evans <dje@google.com>
1328
1329 * gdb.base/skip.c (main): Call test_skip_file_and_function.
1330 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
1331
fa4ff313
SM
13322016-03-14 Simon Marchi <simon.marchi@ericsson.com>
1333
1334 * gdb.base/default.exp: Add $_as_string to the list of expected
1335 convenience functions.
1336
f2403c39
AB
13372016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
1338
1339 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1340
f2f3ccb9
SM
13412016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1342
1343 * gdb.python/py-as-string.exp: New file.
1344 * gdb.python/py-as-string.c: New file.
1345
00dbd492
PA
13462016-03-09 Pedro Alves <palves@redhat.com>
1347
1348 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1349 signal" -> "Thread NN received signal" output change.
1350 * gdb.threads/ia64-sigill.exp: Likewise.
1351 * gdb.threads/linux-dp.exp: Likewise.
1352 * gdb.threads/manythreads.exp: Likewise.
1353 * gdb.threads/pending-step.exp: Likewise.
1354 * gdb.threads/print-threads.exp: Likewise.
1355 * gdb.threads/sigstep-threads.exp: Likewise.
1356 * gdb.threads/staticthreads.exp: Likewise.
1357 * gdb.threads/tls.exp: Likewise.
1358
1e6697ea
YQ
13592016-03-09 Pedro Alves <palves@redhat.com>
1360
1361 * gdb.base/command-line-input.exp: New file.
1362
b04fd3be
MK
13632016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1364
1365 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1366 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1367 * gdb.trace/pending.exp: Accept leading dot before function name.
1368 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1369 * lib/trace-support.exp: Set registers for ppc.
1370
98fa59e9
MK
13712016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1372
1373 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1374 use it for disassembly; accept .main in addition to main in backtrace.
1375
f77198c8
MK
13762016-03-09 Wei-cheng Wang <cole945@gmail.com>
1377 Marcin Kościelnicki <koriakin@0x04.net>
1378
1379 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1380 (gdb_recursion_test_ptr): New global variable.
1381 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1382 gdb_recursion_test.
1383 (gdb_c_test): Ditto.
1384
ba84e0da
MK
13852016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1386
1387 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1388 ordering.
1389
4366d36e
MK
13902016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1391
1392 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1393 (bar): Add bar_start_lbl label.
1394 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1395 of foo/bar for emitting DWARF and tracing.
1396
5eb264df
SDJ
13972016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1398
1399 * analyze-racy-logs.py: Set executable bit.
1400
fb6a751f
SDJ
14012016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1402
1403 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1404 (CHECK_TARGET_TMP): Likewise.
1405 (check-single-racy): New rule.
1406 (check-parallel-racy): Likewise.
1407 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1408 (do-check-parallel-racy): New rule.
1409 (check-racy/%.exp): Likewise.
1410 * README (Racy testcases): New section.
1411 * analyze-racy-logs.py: New file.
1412
bdf7e230
DE
14132016-03-03 Doug Evans <dje@google.com>
1414
1415 * gdb.base/skip.exp: Use with_test_prefix.
1416
4719d415
YQ
14172016-03-03 Yao Qi <yao.qi@linaro.org>
1418
1419 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1420 Invoke step_over_syscall "clone" and break_cond_on_syscall
1421 "clone".
1422 * gdb.base/step-over-clone.c: New file.
1423
ea507862
YQ
14242016-03-03 Yao Qi <yao.qi@linaro.org>
1425
1426 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1427 code format.
1428
8fc8cbda
YQ
14292016-03-03 Yao Qi <yao.qi@linaro.org>
1430
1431 * gdb.base/disp-step-fork.c: Rename to ...
1432 * gdb.base/step-over-fork.c: ... it. New file.
1433 * gdb.base/disp-step-vfork.c: Rename to ...
1434 * gdb.base/step-over-vfork.c: ... it. New file.
1435 * gdb.base/disp-step-syscall.exp: Rename to ...
1436 * gdb.base/step-over-syscall.exp: ... it. New file.
1437 (disp_step_cross_syscall): Rename to ...
1438 (step_over_syscall): ... it.
1439
92fa70b0
YQ
14402016-03-03 Yao Qi <yao.qi@linaro.org>
1441
1442 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1443 If target supports condition evaluation on target, invoke
1444 break_cond_on_syscall for fork and vfork.
1445
e197ad3c
YQ
14462016-03-03 Yao Qi <yao.qi@linaro.org>
1447
1448 * gdb.base/disp-step-syscall.exp: Don't invoke
1449 support_displaced_stepping.
1450 (disp_step_cross_syscall): Test with displaced stepping off and
1451 on if supported.
1452
0b47da9f
YQ
14532016-03-03 Yao Qi <yao.qi@linaro.org>
1454
1455 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1456 proc.
1457 (setup): New proc.
1458 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1459 and setup.
1460
065ab6dc
BH
14612016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1462
1463 * gdb.fortran/vla-history.exp: Remove breakpoint.
1464
07e448ad 14652016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1466
25d49b86
PA
1467 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1468 exceeds timeout.
07e448ad 1469
9ac2d526 14702016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1471
25d49b86
PA
1472 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1473 breakpoint.
9ac2d526 1474
17807369
BH
14752016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1476
1477 * gdb.mi/vla.f90: Nullify pointer after declaration.
1478
86e501af
PA
14792016-03-01 Pedro Alves <palves@redhat.com>
1480
1481 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1482
1e903e32
PA
14832016-03-01 Pedro Alves <palves@redhat.com>
1484
1485 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1486 before anything else.
1487 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1488 _GNU_SOURCE here.
1489 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1490 before anything else.
1491 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1492
6ccb54e2
PA
14932016-03-01 Pedro Alves <palves@redhat.com>
1494
1495 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1496
30ca9da1
YQ
14972016-03-01 Yao Qi <yao.qi@linaro.org>
1498
1499 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1500 prepare_for_testing.
1501
dc856b38
YQ
15022016-03-01 Yao Qi <yao.qi@linaro.org>
1503
1504 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1505
4a932159
AA
15062016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1507
1508 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1509 manually constructing the output path.
1510
f2489477
AA
15112016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1512
1513 * gdb.arch/s390-stackless.S: New.
1514 * gdb.arch/s390-stackless.exp: New.
1515
38899f16
IB
15162016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1517
1518 * gdb.dlang/circular.c: New file.
1519 * gdb.dlang/circular.exp: New file.
1520
9fde51ed
YQ
15212016-02-26 Yao Qi <yao.qi@linaro.org>
1522
1523 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1524 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1525 (testcases): Update.
1526
ce90fefe
YQ
15272016-02-26 Yao Qi <yao.qi@linaro.org>
1528
1529 * gdb.reverse/aarch64.c: Rename to ...
1530 * gdb.reverse/insn-reverse.c: ... it.
1531 * gdb.reverse/aarch64.exp: Rename to ...
1532 * gdb.reverse/insn-reverse.exp: ... it.
1533
3263bceb
YQ
15342016-02-26 Yao Qi <yao.qi@linaro.org>
1535
1536 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1537 (testcase_ftype): New.
1538 (testcases): New array.
1539 (n_testcases): New.
1540 (main): Call each element in testcases.
1541 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1542 (read_testcase): New.
1543 Do the tests in a loop.
1544
6cb59ff1
YQ
15452016-02-25 Yao Qi <yao.qi@linaro.org>
1546
1547 * gdb.base/branches.c: Remove.
1548
ae91f625
MK
15492016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1550
1551 PR gdb/13808
1552 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1553
678b48b7
MK
15542016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1555
1556 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1557
7337a6f2
MK
15582016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1559
1560 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1561 change x86_64 call_insn to 'callq'.
1562
861ca91f
AT
15632016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1564
1565 * gdb.trace/tfile-avx.c: Move to...
1566 * gdb.trace/tracefile-pseudo-reg.c: Here.
1567 * gdb.trace/tfile-avx.exp: Move to...
1568 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1569
bf74e428
GB
15702016-02-24 Gary Benson <gbenson@redhat.com>
1571
1572 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1573 message on attach.
1574
cce0e923
DE
15752016-02-23 Doug Evans <dje@google.com>
1576
1577 * gdb.base/skip.c (test_skip): New function.
1578 (end_test_skip_file_and_function): New function.
1579 (test_skip_file_and_function): New function.
1580 * gdb.base/skip1.c (test_skip): New function.
1581 (skip1_test_skip_file_and_function): New function.
1582 * gdb.base/skip.exp: Add tests for new skip options.
1583 * gdb.base/skip-solib.exp: Update expected output.
1584 * gdb.perf/skip-command.cc: New file.
1585 * gdb.perf/skip-command.exp: New file.
1586 * gdb.perf/skip-command.py: New file.
1587
4000e47e
MK
15882016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1589
1590 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1591 info registers pattern.
1592
24f75ead
IB
15932016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1594
1595 * lib/future.exp: Add D support.
1596 (gdb_find_gdc): New proc.
1597 (gdb_default_target_compile): Add D support.
1598
fbb7bcbe
WW
15992016-02-18 Wei-cheng Wang <cole945@gmail.com>
1600
1601 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1602 user+system time.
1603 (trace_speed_test): Determine the iteration count for a time
1604 between 15..30 seconds.
1605
012b3a21
WT
16062016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1607
1608 * gdb.arch/i386-mpx-sigsegv.c: New file.
1609 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1610 * gdb.arch/i386-mpx-simple_segv.c: New file.
1611 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1612
2d5189bd
YQ
16132016-02-18 Yao Qi <yao.qi@linaro.org>
1614
1615 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1616 Don't call setup_kfail.
1617
40fb20d0
YQ
16182016-02-18 Yao Qi <yao.qi@linaro.org>
1619
1620 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1621 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1622
21b1f8d2
DE
16232016-02-16 Doug Evans <dje@google.com>
1624
1625 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1626 * gdb.base/skip1.c: Ditto.
1627 * gdb.base/skip.exp: Whitespace cleanup.
1628
4041ed77
DB
16292016-02-16 Don Breazeal <donb@codesourcery.com>
1630
1631 PR remote/19496
1632 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1633 Remove kfail for PR remote/19496.
1634
c4ef31bf
SM
16352016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1636
1637 * lib/gdb.exp (standard_temp_file): Return a path specific to
1638 the runtest invocation.
1639
266b65b3
SM
16402016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1641
1642 * gdb.trace/save-trace.exp: Change relative path to be in the
1643 standard output directory.
1644
a7a0a6a9
JK
16452016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1646
1647 * gdb.arch/i386-prologue.c: Add missing prototypes.
1648
c99dbb42
JK
16492016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1650
1651 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1652 * gdb.arch/i386-prologue.exp: Likewise.
1653 * gdb.arch/i386-size.exp: Likewise.
1654
aa480355
SM
16552016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1656
1657 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1658 define object file path.
1659 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1660 file path.
1661 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1662 standard_output_file to define binfile.
1663
ba881f50
JK
16642016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1665
1666 Fix compatibility with recent gfortran-5.3.1.
1667 * gdb.fortran/vla-history.exp (print vla1 allocated)
1668 (print vla2 allocated, print $2, print $3): Remove
1669 (print $4): Rename to ...
1670 (print $2): ... here.
1671 (print $9): Rename to ...
1672 (print $5): ... here.
1673 (print $10): Rename to ...
1674 (print $6): ... here.
1675 * gdb.fortran/vla.f90: Add pvla initialization.
1676
e9fb005c
JK
16772016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1678
1679 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1680 New test.
1681 * gdb.fortran/vla-value-sub.exp: Likewise.
1682
e44e00ff
MK
16832016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1684
1685 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1686
97e94151
SM
16872016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1688
1689 * i386-biarch-core.exp: Define corefile using
1690 standard_output_file.
1691
01113bc1
YQ
16922016-02-12 Yao Qi <yao.qi@linaro.org>
1693
1694 * gdb.arch/arm-single-step-kernel-helper.c: New.
1695 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1696
33b4777c
MM
16972016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1698
1699 * gdb.btrace/tailcall-only.exp: New.
1700 * gdb.btrace/tailcall-only.c: New.
1701 * gdb.btrace/x86_64-tailcall-only.S: New.
1702 * gdb.btrace/i686-tailcall-only.S: New.
1703
acc23c11
PA
17042016-02-11 Pedro Alves <palves@redhat.com>
1705
1706 * README (Parallel testing): Add missing double quotes.
1707
e352bf0a
PA
17082016-02-11 Pedro Alves <palves@redhat.com>
1709
1710 * README (Parallel testing): New section.
1711 (GDB_PARALLEL): Rewrite.
1712 (FORCE_PARALLEL): Document.
1713
9f5fed78
MK
17142016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1715
1716 * gdb.trace/tfile-avx.c: New test.
1717 * gdb.trace/tfile-avx.exp: New test.
1718
9ef9e6a6
KS
17192016-02-09 Keith Seitz <keiths@redhat.com>
1720
1721 PR breakpoints/19546
1722 * gdb.base/infcall-exec.c: New file.
1723 * gdb.base/infcall-exec2.c: New file.
1724 * gdb.base/infcall-exec.exp: New file.
1725
a96e36da
KS
17262016-02-09 Keith Seitz <keiths@redhat.com>
1727
1728 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1729 (toplevel): Call test_bkpt_address.
1730
9f61929f
KS
17312016-02-09 Keith Seitz <keiths@redhat.com>
1732
1733 PR python/19506
1734 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1735 (toplevel): Call test_bkpt_address.
1736
1e94266c
SM
17372016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1738
1739 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1740 to AC_OUTPUT.
1741 * configure: Regenerate.
1742
2a7f3dff
PA
17432016-02-09 Pedro Alves <palves@redhat.com>
1744
1745 PR breakpoints/19548
1746 * gdb.base/execl-update-breakpoints.c (some_function): New
1747 function.
1748 (main): Call it.
1749 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1750 Tighten expected GDB output.
1751
2151ccc5
SM
17522016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1753
1754 * Makefile.in (ALL_SUBDIRS): Remove.
1755 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1756 (distclean maintainer-clean realclean): Likewise.
1757 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1758 * configure: Regenerate.
1759 * gdb.ada/Makefile.in: Delete.
1760 * gdb.arch/Makefile.in: Likewise.
1761 * gdb.asm/Makefile.in: Likewise.
1762 * gdb.base/Makefile.in: Likewise.
1763 * gdb.btrace/Makefile.in: Likewise.
1764 * gdb.cell/Makefile.in: Likewise.
1765 * gdb.compile/Makefile.in: Likewise.
1766 * gdb.cp/Makefile.in: Likewise.
1767 * gdb.disasm/Makefile.in: Likewise.
1768 * gdb.dlang/Makefile.in: Likewise.
1769 * gdb.dwarf2/Makefile.in: Likewise.
1770 * gdb.fortran/Makefile.in: Likewise.
1771 * gdb.gdb/Makefile.in: Likewise.
1772 * gdb.go/Makefile.in: Likewise.
1773 * gdb.guile/Makefile.in: Likewise.
1774 * gdb.java/Makefile.in: Likewise.
1775 * gdb.linespec/Makefile.in: Likewise.
1776 * gdb.mi/Makefile.in: Likewise.
1777 * gdb.modula2/Makefile.in: Likewise.
1778 * gdb.multi/Makefile.in: Likewise.
1779 * gdb.objc/Makefile.in: Likewise.
1780 * gdb.opencl/Makefile.in: Likewise.
1781 * gdb.opt/Makefile.in: Likewise.
1782 * gdb.pascal/Makefile.in: Likewise.
1783 * gdb.perf/Makefile.in: Likewise.
1784 * gdb.python/Makefile.in: Likewise.
1785 * gdb.reverse/Makefile.in: Likewise.
1786 * gdb.server/Makefile.in: Likewise.
1787 * gdb.stabs/Makefile.in: Likewise.
1788 * gdb.threads/Makefile.in: Likewise.
1789 * gdb.trace/Makefile.in: Likewise.
1790 * gdb.xml/Makefile.in: Likewise.
1791 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1792 GDB_PARALLEL.
1793 (standard_output_file): Remove check for GDB_PARALLEL, always
1794 return path in outputs/$subdir/$testname.
1795
437277d4
SM
17962016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1797
1798 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1799 (site.exp): Assign abs_srcdir to tcl's srcdir.
1800
31d913c7
YQ
18012016-02-04 Yao Qi <yao.qi@linaro.org>
1802
1803 * gdb.base/foll-exec-mode.c: Include limits.h.
1804 (main): Add parameters argc and argv. Get directory from
1805 argv[0].
1806 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1807 compilation.
1808 * gdb.base/foll-exec.c: Include limits.h.
1809 (main): Add parameters argc and argv.
1810 Get directory from argv[0].
1811 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1812 Adjust tests on the number of lines as source code changed.
1813 * gdb.base/foll-vfork-exit.c: Include limits.h.
1814 (main): Add one line of statement before vfork.
1815 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1816 (main): Add parameters argc and argv. Get directory from
1817 argv[0].
1818 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1819 (setup_gdb): Set tbreak to skip some source lines.
1820 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1821 (main): Add parameters argc and argv. Get directory from
1822 argv[0].
1823 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1824 compilation.
1825 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1826 (main): Add parameters argc and argv. Get directory from
1827 argv[0].
1828 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1829 compilation.
1830
9482b9fb
DE
18312016-02-01 Doug Evans <dje@google.com>
1832
1833 * gdb.base/skip.exp: Clean up multiple references to same test name.
1834
6b2e4f10
PA
18352016-02-01 Pedro Alves <palves@redhat.com>
1836
ccb6afd6 1837 PR remote/19496
6b2e4f10
PA
1838 * gdb.threads/forking-threads-plus-breakpoint.exp
1839 (displaced_stepping_supported): New global.
1840 (probe_displaced_stepping_support): New procedure.
1841 (do_test): Add 'displaced' parameter, and use it.
1842 (top level): Check for displaced stepping support. Add displaced
1843 stepping on/off testing axis.
1844
37a8db1a
AB
18452016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1846
1847 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1848 pointer. Don't perform further tests on the unassociated pointer
1849 if the first test fails.
1850
5fdf6324
AB
18512016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1852
1853 * gdb.base/max-value-size.c: New file.
1854 * gdb.base/max-value-size.exp: New file.
1855 * gdb.base/huge.exp: Disable max-value-size for this test.
1856
935c6144
IB
18572016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1858
1859 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1860
7fe8399d
YQ
18612016-01-28 Yao Qi <yao.qi@linaro.org>
1862
1863 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1864
a2077e25
PA
18652016-01-25 Pedro Alves <palves@redhat.com>
1866
1867 PR threads/19461
1868 * gdb.base/fork-running-state.c: New file.
1869 * gdb.base/fork-running-state.exp: New file.
1870
1d2736d4
PA
18712016-01-25 Pedro Alves <palves@redhat.com>
1872
1873 PR gdb/19494
1874 * gdb.base/catch-fork-kill.c: New file.
1875 * gdb.base/catch-fork-kill.exp: New file.
1876
f1da4b11
PA
18772016-01-25 Pedro Alves <palves@redhat.com>
1878
1879 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1880 Delete, moved to lib/gdb.exp.
1881 * gdb.threads/forking-threads-plus-breakpoint.exp
1882 (foreach_with_prefix): Likewise.
1883 * gdb.threads/process-dies-while-handling-bp.exp
1884 (foreach_with_prefix): Likewise.
1885 * lib/gdb.exp (foreach_with_prefix): New procedure.
1886
45f38546
MK
18872016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1888
1889 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1890 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1891
dc29a1ce
MK
18922016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1893
1894 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1895 endian targets.
1896
092127d7
JK
18972016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1898 Pedro Alves <palves@redhat.com>
1899
1900 Fix testsuite compatibility with Guile.
1901 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1902 number.
1903
31d765d3
JK
19042016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1905
1906 Fix testsuite compatibility with Guile.
1907 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1908 (thread 1): New test for backtrace through signal handler.
1909
1ac78c04
YQ
19102016-01-22 Yao Qi <yao.qi@linaro.org>
1911
1912 PR testsuite/19491
1913 * gdb.base/multi-forks.c: Include
1914 ../lib/unbuffer_output.c
1915 (main): Call gdb_unbuffer_output.
1916
4f5946a8
DE
19172016-01-21 Doug Evans <dje@google.com>
1918
1919 * lib/ada.exp (gdb_compile_ada): Fix typo.
1920
305e13e6
JB
19212016-01-21 Joel Brobecker <brobecker@adacore.com>
1922
1923 * gdb.base/break-fun-addr.exp: New file.
1924 * gdb.base/break-fun-addr1.c: New file.
1925 * gdb.base/break-fun-addr2.c: New file.
1926
5f5dfff6
SM
19272016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1928
1929 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1930 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1931 enum flag values.
1932
fd356fa2
AA
19332016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1934
1935 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1936 when GDB can not set the vector return value. Add more comments
1937 for clarification.
1938
9df22175
AT
19392016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1940
1941 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1942 command.
1943
41d1845e
SM
19442016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1945
1946 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1947
01ac6840
SM
19482016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1949
1950 * Makefile.in (check-single): Pass --status to runtest.
1951 (check/%.exp): Likewise.
1952
19532016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1954
1955 * Makefile.in (check-parallel): Propagate return code from make
1956 do-check-parallel.
1957
bd0a71fa
MK
19582016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1959
1960 * gdb.trace/ftrace.exp: Fix expected message on continue.
1961 * gdb.trace/pending.exp: Fix expected message on continue.
1962 * gdb.trace/trace-break.exp: Fix expected message on continue.
1963
8bcbad33
SM
19642016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1965
1966 * lib/gdb.exp (gdb_test): Remove unused global references.
1967
f303dbd6
PA
19682016-01-18 Pedro Alves <palves@redhat.com>
1969
1970 * gdb.base/async-shell.exp: Adjust expected output.
1971 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1972 * gdb.base/siginfo-thread.exp: Adjust expected output.
1973 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1974 * gdb.java/jnpe.exp: Adjust expected output.
1975 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1976 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1977 * gdb.threads/leader-exit.exp: Adjust expected output.
1978 * gdb.threads/manythreads.exp: Adjust expected output.
1979 * gdb.threads/pthreads.exp: Adjust expected output.
1980 * gdb.threads/schedlock.exp: Adjust expected output.
1981 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1982 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1983 expected output.
1984 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1985 output.
1986 * gdb.threads/sigthread.exp: Adjust expected output.
1987 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1988
b2789696
YQ
19892016-01-18 Yao Qi <yao.qi@linaro.org>
1990
1991 * gdb.guile/scm-section-script.c: Replace @progbits with
1992 %progbits.
1993 * gdb.python/py-section-script.c: Likewise.
1994
71ef29a8
PA
19952016-01-15 Pedro Alves <palves@redhat.com>
1996
1997 * gdb.multi/tids.exp: Test star wildcard ranges.
1998
3f5b7598
PA
19992016-01-15 Pedro Alves <palves@redhat.com>
2000
2001 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
2002 command from "thread apply" invocation.
2003 (thr_apply_info_thr_invalid): Default the expected output to the
2004 input tid list.
2005 (top level): Add tests that use convenience variables. Add tests
2006 for "thread apply" with a valid TID list, but missing the command.
2007
663f6d42
PA
20082016-01-13 Pedro Alves <palves@redhat.com>
2009
2010 * gdb.base/default.exp: Expect $_gthread as well.
2011 * gdb.multi/tids.exp: Test $_gthread.
2012 * gdb.threads/thread-specific.exp: Test $_gthread.
2013
c84f6bbf
PA
20142016-01-13 Pedro Alves <palves@redhat.com>
2015
2016 * gdb.multi/tids.exp: Test "info threads -gid".
2017
22a02324
PA
20182016-01-13 Pedro Alves <palves@redhat.com>
2019
2020 * gdb.multi/tids.exp: Test InferiorThread.global_num and
2021 Breakpoint.thread.
2022 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
2023
5d5658a1
PA
20242016-01-07 Pedro Alves <palves@redhat.com>
2025
2026 * gdb.base/break.exp: Adjust to output changes.
2027 * gdb.base/hbreak2.exp: Likewise.
2028 * gdb.base/sepdebug.exp: Likewise.
2029 * gdb.base/watch_thread_num.exp: Likewise.
2030 * gdb.linespec/keywords.exp: Likewise.
2031 * gdb.multi/info-threads.exp: Likewise.
2032 * gdb.threads/thread-find.exp: Likewise.
2033 * gdb.multi/tids.c: New file.
2034 * gdb.multi/tids.exp: New file.
2035
84654457
PA
20362016-01-13 Pedro Alves <palves@redhat.com>
2037
2038 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
2039
e3940304
PA
20402016-01-13 Pedro Alves <palves@redhat.com>
2041
2042 * gdb.base/default.exp: Expect $_inferior as well.
2043 * gdb.multi/base.exp: Test $_inferior.
2044
a911d87a
PA
20452016-01-13 Pedro Alves <palves@redhat.com>
2046
2047 PR breakpoints/19388
2048 * gdb.base/catch-signal-siginfo-cond.c: New file.
2049 * gdb.base/catch-signal-siginfo-cond.exp: New file.
2050
82075af2
JS
20512016-01-12 Josh Stone <jistone@redhat.com>
2052 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2053
2054 * gdb.base/catch-syscall.c (do_execve): New variable.
2055 (main): Conditionally trigger an execve.
2056 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
2057 (test_catch_syscall_execve): New, check entry/return across execve.
2058 (do_syscall_tests): Call test_catch_syscall_execve.
2059
e46eeedd
PA
20602016-01-12 Pedro Alves <palves@redhat.com>
2061
2062 * gdb.base/random-signal.exp (do_test): New procedure, with body
2063 of testcase moved in.
2064
01d8c27e
JK
20652016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2066 Pedro Alves <palves@redhat.com>
2067
2068 * gdb.base/funcargs.exp (finish from indirectly called function):
2069 Reintroduce the case for 'First'.
2070
9a706302
JK
20712016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2072 Pedro Alves <palves@redhat.com>
2073
2074 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
2075 (tcatch_vfork_then_child_follow_exec)
2076 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
2077 identification.
2078
c0ecb95f
JK
20792016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2080
2081 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
2082 and repeats to unlimited.
2083 * gdb.python/py-value.exp: Likewise.
2084 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
2085 and repeats to unlimited.
2086
6cfc1fcb
JK
20872016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2088
2089 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
2090 and reordering the functions.
2091 * gdb.multi/hangout.c: Likewise.
2092 * gdb.multi/hello.c: Likewise.
2093
582a1b00
SM
20942016-01-08 Simon Marchi <simon.marchi@ericsson.com>
2095
2096 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
2097 absolute.
2098 (SingleStatisticTestResult.report): Use dict.keys instead of
2099 dict.iterkeys.
2100
79bc59cb
PA
21012016-01-06 Pedro Alves <palves@redhat.com>
2102
2103 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
2104
43368e1d
MM
21052016-01-04 Markus Metzger <markus.t.metzger@intel.com>
2106
2107 * gdb.btrace/dlopen.exp: New.
2108 * gdb.btrace/dlopen.c: New.
2109 * gdb.btrace/dlopen-dso.c: New.
2110
79fad5b8
SL
21112015-12-25 Sandra Loosemore <sandra@codesourcery.com>
2112
2113 * lib/gdb.exp (gdb_test): Update comments to clarify that the
2114 PATTERN argument is optional.
2115
ab8314b3
JB
21162015-12-24 Joel Brobecker <brobecker@adacore.com>
2117
2118 * lib/ada.exp (target_compile_ada_from_dir): New function.
2119 (gdb_compile_ada): Reimplement avoiding the use of project files.
2120 * gdb.ada/gnat_ada.gpr: Delete.
2121 * gdb.ada/cond_lang.exp: Adjust test to make path before
2122 filename optional.
2123 * gdb.ada/small_reg_param.exp: Likewise.
2124
fe33faff
SM
21252015-12-22 Simon Marchi <simon.marchi@ericsson.com>
2126
2127 * gdb.base/foll-vork.exp: Remove HP-UX special case.
2128
6d265cb4
TP
21292015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
2130
2131 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
2132 case.
2133
10125099
SM
21342015-12-21 Simon Marchi <simon.marchi@ericsson.com>
2135
2136 * gdb.base/break.exp: Remove dead code.
2137 * gdb.base/sepdebug.exp: Likewise.
2138
3ca22649
SM
21392015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2140
2141 * gdb.asm/asm-source.exp: Remove HP-UX references.
2142 * gdb.base/annota1.exp: Likewise.
2143 * gdb.base/annota3.exp: Likewise.
2144 * gdb.base/attach.exp: Likewise.
2145 * gdb.base/bigcore.exp: Likewise.
2146 * gdb.base/break.exp: Likewise.
2147 * gdb.base/call-ar-st.exp: Likewise.
2148 * gdb.base/callfuncs.exp: Likewise.
2149 * gdb.base/catch-fork-static.exp: Likewise.
2150 * gdb.base/display.exp: Likewise.
2151 * gdb.base/foll-exec-mode.exp: Likewise.
2152 * gdb.base/foll-exec.exp: Likewise.
2153 * gdb.base/foll-fork.exp: Likewise.
2154 * gdb.base/foll-vfork.exp: Likewise.
2155 * gdb.base/funcargs.exp: Likewise.
2156 * gdb.base/hbreak2.exp: Likewise.
2157 * gdb.base/inferior-died.exp: Likewise.
2158 * gdb.base/interrupt.exp: Likewise.
2159 * gdb.base/multi-forks.exp: Likewise.
2160 * gdb.base/nodebug.exp: Likewise.
2161 * gdb.base/sepdebug.exp: Likewise.
2162 * gdb.base/solib1.c: Likewise.
2163 * gdb.base/step-test.exp: Likewise.
2164 * gdb.mi/non-stop.c: Likewise.
2165 * gdb.mi/pthreads.c: Likewise.
2166 * gdb.multi/bkpt-multi-exec.ex: Likewise.
2167 * gdb.threads/pthreads.c: Likewise.
2168 * gdb.threads/staticthreads.exp: Likewise.
2169 * lib/future.exp: Likewise.
2170 * lib/gdb.exp: Likewise.
2171 * gdb.base/so-indr-cl.c: Remove.
2172 * gdb.base/so-indr-cl.exp: Likewise.
2173 * gdb.base/solib.c: Likewise.
2174 * gdb.base/solib.exp: Likewise.
2175 * gdb.base/solib2.c: Likewise.
2176
b6304613
SM
21772015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2178
2179 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
2180 * gdb.base/call-ar-st.exp: Likewise.
2181 * gdb.base/callfuncs.exp: Likewise.
2182 * gdb.base/condbreak.exp: Likewise.
2183 * gdb.base/constvars.exp: Likewise.
2184 * gdb.base/hbreak2.exp: Likewise.
2185 * gdb.base/langs.exp: Likewise.
2186 * gdb.base/list.exp: Likewise.
2187 * gdb.base/long_long.exp: Likewise.
2188 * gdb.base/ptype.exp: Likewise.
2189 * gdb.base/scope.exp: Likewise.
2190 * gdb.base/signals.exp: Likewise.
2191 * gdb.base/so-impl-ld.exp: Likewise.
2192 * gdb.base/varargs.exp: Likewise.
2193 * gdb.base/volatile.exp: Likewise.
2194 * gdb.base/whatis.exp: Likewise.
2195 * gdb.cp/cplusfuncs.exp: Likewise.
2196 * gdb.cp/inherit.exp: Likewise.
2197 * gdb.cp/local.exp: Likewise.
2198 * gdb.cp/member-ptr.exp: Likewise.
2199 * gdb.cp/method.exp: Likewise.
2200 * gdb.cp/overload.exp: Likewise.
2201 * gdb.cp/templates.exp: Likewise.
2202 * gdb.stabs/weird.exp: Likewise.
2203 * lib/compiler.c: Likewise.
2204 * lib/compiler.cc: Likewise.
2205 * lib/cp-support.exp: Likewise.
2206 * lib/gdb.exp: Likewise.
2207
bf401b07
SM
22082015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
2209
2210 * configure.ac: Remove HP-UX case.
2211 * configure: Regenerate.
2212
aff9c0f8
SM
22132015-12-18 Simon Marchi <simon.marchi@ericsson.com>
2214
2215 * lib/gdb.exp (gdb_compile): Add function doc.
2216
a6904d5a
PA
22172015-12-17 Pedro Alves <palves@redhat.com>
2218
2219 PR threads/19354
2220 * gdb.multi/info-threads.exp: New file.
2221
a22279dd
YQ
22222015-12-15 Yao Qi <yao.qi@linaro.org>
2223
2224 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
2225 is aarch64*-*-*.
2226
0588c796
SL
22272015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2228
2229 * gdb.base/history-duplicates.exp: Skip if no readline support.
2230
5d978e17
SL
22312015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2232
2233 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
2234
7e763b86
SL
22352015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2236
2237 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
2238
87a3a92c
SL
22392015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2240
2241 * gdb.base/completion.exp: Skip tests that interrupt GDB with
2242 ctrl-C if nointerrupts target property is set.
2243 * gdb.base/double-prompt-target-event-error.exp: Likewise.
2244 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
2245 * gdb.base/paginate-bg-execution.exp: Likewise.
2246 * gdb.base/paginate-execution-startup.exp: Likewise.
2247 * gdb.base/random-signal.exp: Likewise.
2248 * gdb.base/range-stepping.exp: Likewise.
2249 * gdb.cp/annota2.exp: Likewise.
2250 * gdb.cp/annota3.exp: Likewise.
2251 * gdb.gdb/selftest.exp: Likewise.
2252 * gdb.threads/continue-pending-status.exp: Likewise.
2253 * gdb.threads/leader-exit.exp: Likewise.
2254 * gdb.threads/manythreads.exp: Likewise.
2255 * gdb.threads/pthreads.exp: Likewise.
2256 * gdb.threads/schedlock.exp: Likewise.
2257 * gdb.threads/sigthread.exp: Likewise.
2258
a8f077dc
DB
22592015-12-11 Don Breazeal <donb@codesourcery.com>
2260
2261 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
2262 remote.
2263 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
2264 * gdb.base/foll-exec.exp (main): Enable for target remote.
2265 * gdb.base/foll-fork.exp (main): Likewise.
2266 * gdb.base/foll-vfork.exp (main): Likewise.
2267 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
2268 (proc continue_to_exit_bp_loc): Use clean_restart.
2269 * gdb.base/pie-execl.exp (main): Disable for target remote.
2270 * gdb.base/watch-vfork.exp (main): Enable for target remote.
2271 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
2272 * gdb.threads/execl.exp (main): Likewise.
2273 * gdb.threads/fork-child-threads.exp (main): Likewise.
2274 * gdb.threads/fork-plus-threads.exp (main): Disable for target
2275 remote.
2276 * gdb.threads/fork-thread-pending.exp (main): Enable for target
2277 remote.
2278 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
2279 pid.tid style ptids, instead of just tid.
2280 * gdb.threads/thread-execl.exp (main): Enable for target remote.
2281 * gdb.threads/watchpoint-fork.exp (main): Likewise.
2282 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
2283 ptids, instead of just tid.
2284
3b2464a8
AB
22852015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2286
2287 * gdb.base/list.exp (test_list_forward): Add end of file error
2288 test.
2289 (test_repeat_list_command): Add end of file error test.
2290 (test_list_backwards): Add beginning of file error test.
2291
a0def019
AB
22922015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2293
2294 * gdb.base/list.exp (test_list_invalid_args): New function,
2295 defined, and called.
2296
5c000dff
AB
22972015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2298
2299 * gdb.base/list.exp (test_list): Make test names unique.
2300
f1637ebe
YQ
23012015-12-11 Yao Qi <yao.qi@linaro.org>
2302
2303 * gdb.base/coremaker2.c: Remove.
2304
36d6fc0a
PA
23052015-12-10 Pedro Alves <palves@redhat.com>
2306
2307 * gdb.multi/base.exp: Remove stale "spaces" references.
2308
762f7747
PA
23092015-12-10 Pedro Alves <palves@redhat.com>
2310
2311 * gdb.multi/base.exp: Don't use nowarnings.
2312 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
2313 * gdb.multi/hangout.c: Include stdio.h.
2314 * gdb.multi/hello.c: Include stdlib.h.
2315 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
2316 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
2317 * gdb.multi/multi-arch.exp: Don't use nowarnings.
2318
28d2bfb9
AB
23192015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
2320
2321 * gdb.dwarf2/dw2-ranges-base.c: New file.
2322 * gdb.dwarf2/dw2-ranges-base.exp: New file.
2323 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
2324 support additional line table, and debug ranges generation.
2325 (Dwarf::ranges): New function, generate .debug_ranges.
2326 (Dwarf::lines): Support generating simple line table programs.
2327 (Dwarf::assemble): Initialise new namespace variables.
2328
5fc2beac
KB
23292015-12-09 Kevin Buettner <kevinb@redhat.com>
2330
2331 * gdb.base/async.exp (proc test_background): Add case for
2332 asynchronous execution not supported.
2333
1c35a88f
LM
23342015-12-09 Luis Machado <lgustavo@codesourcery.com>
2335
2336 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
2337 format and change test names to make them unique.
2338
b593e3d9
RK
23392015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
2340 Pedro Alves <pedro@redhat.com>
2341
2342 PR gdb/18702
2343 Add checking of floatformats setup on x86_64 hosts.
2344 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2345 (smallval, bigval): New labels/constants.
2346 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2347 float" after loading bigval and smallval.
2348
d72413e6
PMR
23492015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2350
2351 * gdb.ada/fun_overload_menu.exp: New testcase.
2352 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2353
ece66d65
JS
23542015-12-04 Josh Stone <jistone@redhat.com>
2355
2356 * gdb.base/catch-fork-static.exp: New.
2357
41d0efca
YQ
23582015-12-03 Yao Qi <yao.qi@linaro.org>
2359
2360 * gdb.base/sizeof.c: Don't include stdio.h and
2361 ../lib/unbuffer_output.c.
2362 (main): New variable 'size' and 'value'. Remove printf and
2363 gdb_unbuffer_output. Assign return value to size and value.
2364 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2365 at the beginning.
2366 (check_sizeof): Check the result by printing variable 'size'.
2367 (check_valueof): Check the result by printing variable 'value'.
2368
99fd02d9
YQ
23692015-12-01 Yao Qi <yao.qi@linaro.org>
2370
2371 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2372 for aarch64*-*-linux* target.
2373
f2faf941
PA
23742015-11-30 Pedro Alves <palves@redhat.com>
2375
2376 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2377
04bf20c5
PA
23782015-11-30 Pedro Alves <palves@redhat.com>
2379
2380 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2381 Handle non-stop mode vCont replies.
2382
09df4675
PA
23832015-11-30 Pedro Alves <palves@redhat.com>
2384
2385 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2386 prepare_for_testing. Start gdb with "set non-stop on" appended to
2387 GDBFLAGS. Lax expected stop output.
2388
58b584af
YQ
23892015-11-27 Yao Qi <yao.qi@linaro.org>
2390
2391 * gdb.arch/arm-neon.exp: New.
2392 * gdb.arch/arm-neon.c: New.
2393
dfcb77a8
YQ
23942015-11-27 Yao Qi <yao.qi@linaro.org>
2395
2396 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2397
88e8ec1b
YQ
23982015-11-27 Yao Qi <yao.qi@linaro.org>
2399
2400 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2401 frames-invalid annotation.
2402
bfde72c2
YQ
24032015-11-27 Yao Qi <yao.qi@linaro.org>
2404
2405 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2406
f6512a69
SM
24072015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2408
2409 * gdb.threads/names.exp: New file.
2410 * gdb.threads/names.c: New file.
2411 * README: Mention gdb,no_thread_names.
2412
46a3515b
MM
24132015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2414
2415 PR 19297
2416 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2417 support" error.
2418
62147a22
PA
24192015-11-24 Pedro Alves <palves@redhat.com>
2420
2421 PR 17539
2422 * gdb.base/display.exp: Expect displays to be sorted in ascending
2423 order. Use multi_line.
2424 * gdb.base/solib-display.exp: Likewise.
2425
2f341b6e
PA
24262015-11-24 Pedro Alves <palves@redhat.com>
2427
2428 PR 17539
25d49b86
PA
2429 * gdb.base/display.exp: Expect displays to be sorted in ascending
2430 order. Use multi_line.
2431 * gdb.base/solib-display.exp: Likewise.
2f341b6e 2432
7e0aa6aa
PA
24332015-11-24 Pedro Alves <palves@redhat.com>
2434
2435 PR 17539
2436 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2437 threads in ascending order.
2438 * gdb.base/foll-fork.exp: Likewise.
2439 * gdb.base/foll-vfork.exp: Likewise.
2440 * gdb.base/multi-forks.exp: Likewise.
2441 * gdb.mi/mi-nonstop.exp: Likewise.
2442 * gdb.mi/mi-nsintrall.exp: Likewise.
2443 * gdb.multi/base.exp: Likewise.
2444 * gdb.multi/multi-arch.exp: Likewise.
2445 * gdb.python/py-inferior.exp: Likewise.
2446 * gdb.threads/break-while-running.exp: Likewise.
2447 * gdb.threads/execl.exp: Likewise.
2448 * gdb.threads/gcore-thread.exp: Likewise.
2449 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2450 * gdb.threads/kill.exp: Likewise.
2451 * gdb.threads/linux-dp.exp: Likewise.
2452 * gdb.threads/multiple-step-overs.exp: Likewise.
2453 * gdb.threads/next-bp-other-thread.exp: Likewise.
2454 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2455 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2456 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2457 * gdb.threads/thread-find.exp: Likewise.
2458 * gdb.threads/tls.exp: Likewise.
2459 * lib/mi-support.exp (mi_reverse_list): Delete.
2460 (mi_check_thread_states): No longer reverse list.
2461
2cc57ad8
PA
24622015-11-24 Pedro Alves <palves@redhat.com>
2463
2464 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2465 use lowercase.
2466
c93e8391
SM
24672015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2468
2469 * gdb.trace/actions.c: Include trace-common.h.
2470 (main): Add a location for a fast tracepoint.
2471 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2472 the normal tracepoints.
2473 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2474
045ccf91
SM
24752015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2476
2477 * save-trace.exp: Factor out code to these...
2478 (gdb_save_tracepoints): New.
2479 (gdb_load_tracepoints): New.
2480 (do_save_load_test): New.
2481
5506f9f6
KB
24822015-11-23 Kevin Buettner <kevinb@redhat.com>
2483
2484 * gdb.base/asmlabel.exp: New test.
2485 * gdb.base/asmlabel.c: New test case.
2486
16c3b12f
JB
24872015-11-23 Joel Brobecker <brobecker@adacore.com>
2488
2489 * gdb.base/wrong_frame_bt_full-main.c: New file.
2490 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2491 * gdb.base/wrong_frame_bt_full.exp: New file.
2492
155bfbd3
JB
24932015-11-23 Joel Brobecker <brobecker@adacore.com>
2494
2495 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2496
bb097445
JM
24972015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2498
206853a0 2499 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
2500 pstate register when comparing registers values in
2501 sparc64-*-linux-gnu targets to avoid spurious differences.
2502
9c88ed8f
JM
25032015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2504
206853a0 2505 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 2506
96161e25
SL
25072015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2508
2509 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2510 as type argument to gdb_compile.
2511 * gdb.base/nested-subp2.exp: Likewise.
2512 * gdb.base/nested-subp3.exp: Likewise.
2513
340c2830
DV
25142015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2515
2516 * lib/dwarf.exp (_note): Fix left shift of negative value.
2517 * gdb.trace/trace-condition.exp: Likewise.
2518
c1862d0f
YQ
25192015-11-13 Yao Qi <yao.qi@linaro.org>
2520
2521 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2522 comments about d10v.
2523 (test_scalar_returns): Likewise.
2524 * gdb.base/d10v.ld: Remove.
2525 * gdb.base/overlays.exp: Remove the target triplet checking for
2526 d10v-*-*.
2527 * gdb.base/structs.exp (test_struct_returns): Remove the
2528 comments about d10v.
2529 (test_struct_calls): Likewise.
2530
77ae9c19
YQ
25312015-11-13 Yao Qi <yao.qi@linaro.org>
2532
2533 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2534 * gdb.base/gnu_vector.c: Don't include stdio.h.
2535 (main): Don't print res and call add_some_intvecs.
2536
430e004e
MK
25372015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2538
2539 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2540 macro.
2541 (func5): Removed.
2542 (func4): Use FAST_TRACEPOINT_LABEL.
2543 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2544 macro.
2545 (func): Removed.
2546 (thread_function): Use FAST_TRACEPOINT_LABEL.
2547 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2548 (func): Remove.
2549 (marker): Use FAST_TRACEPOINT_LABEL.
2550 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2551 (pendfunc1): Remove.
2552 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2553 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2554 (foo): Remove.
2555 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2556 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2557 macro.
2558 (func): Remove.
2559 (marker): Use FAST_TRACEPOINT_LABEL.
2560 * gdb.trace/trace-common.h: New header.
2561 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2562 macro.
2563 (func): Remove.
2564 (marker): Use FAST_TRACEPOINT_LABEL.
2565 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2566 (func): Remove.
2567 (thread_function): Use FAST_TRACEPOINT_LABEL.
2568
6e7675a7
MK
25692015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2570
2571 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2572 in front.
2573 * gdb.trace/change-loc.exp: Use global pcreg definition.
2574 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2575 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2576 in front.
2577 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2578 * gdb.trace/pending.exp: Likewise.
2579 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2580 * gdb.trace/trace-break.exp: Likewise.
2581 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2582 in front.
2583 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2584 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2585 in front.
2586 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2587
dddc0e16
JB
25882015-11-09 Joel Brobecker <brobecker@adacore.com>
2589
2590 * gdb.ada/fin_fun_out: New testcase.
2591
c6f0b406
KB
25922015-11-07 Kevin Buettner <kevinb@redhat.com>
2593
2594 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2595 value associated with DW_AT_byte_size.
2596 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2597 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2598 DW_AT_upper_bound.
2599
f01dcfd9
KB
26002015-11-07 Kevin Buettner <kevinb@redhat.com>
2601
2602 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2603 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2604 version.
2605 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2606 gdb.dwarf2/dw2-canonicalize-type.exp,
2607 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2608 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2609 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2610 provided by gdb_target_symbol_prefix_flags_asm.
2611 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2612 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2613 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2614 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2615 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2616 macros where needed). Use this macro for symbols which require
2617 the prefix provided by SYMBOL_PREFIX.
2618
2223449a
KB
26192015-11-05 Kevin Buettner <kevinb@redhat.com>
2620
2621 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2622 New procs.
2623 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2624 representing expressions, of more than one list element.
2625 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2626 to prepend linker symbol prefix to f.
2627 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2628 table_1 and table_2.
2629 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2630 Likewise, for f and g.
2631 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2632 for ptr.
2633 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2634 for main.
2635 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2636 table_1_ptr and table_2_ptr.
2637
6f2f1a3a
JK
26382015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2639 Joel Brobecker <brobecker@adacore.com>
2640
2641 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2642
566c56c9
MK
26432015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2644
2645 * gdb.reverse/s390-mvcle.c: New test.
2646 * gdb.reverse/s390-mvcle.exp: New file.
2647 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2648
d5f0636b
MK
26492015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2650
2651 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2652
7ad8b86c
MK
26532015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2654
2655 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2656 reaching marker2.
2657 * gdb.reverse/getresuid-reverse.exp: Likewise.
2658 * gdb.reverse/pipe-reverse.exp: Likewise.
2659 * gdb.reverse/readv-reverse.exp: Likewise.
2660 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2661 * gdb.reverse/time-reverse.exp: Likewise.
2662 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2663
4081c0f1
YQ
26642015-10-30 Yao Qi <yao.qi@linaro.org>
2665
2666 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2667 (empty_cycle): Remove.
2668 (main): Don't call empty_cycle. Don't use watch_count_done.
2669 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2670 empty_cycle. Rewrite the code counting HW watchpoints.
2671
452b4ba5
MK
26722015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2673
2674 * gdb.reverse/fstatat-reverse.c: New test.
2675 * gdb.reverse/fstatat-reverse.exp: New file.
2676 * gdb.reverse/getresuid-reverse.c: New test.
2677 * gdb.reverse/getresuid-reverse.exp: New file.
2678 * gdb.reverse/pipe-reverse.c: New test.
2679 * gdb.reverse/pipe-reverse.exp: New file.
2680 * gdb.reverse/readv-reverse.c: New test.
2681 * gdb.reverse/readv-reverse.exp: New file.
2682 * gdb.reverse/recvmsg-reverse.c: New test.
2683 * gdb.reverse/recvmsg-reverse.exp: New file.
2684 * gdb.reverse/time-reverse.c: New test.
2685 * gdb.reverse/time-reverse.exp: New file.
2686 * gdb.reverse/waitpid-reverse.c: New test.
2687 * gdb.reverse/waitpid-reverse.exp: New file.
2688
5e2e7507
JK
26892015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2690
2691 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2692
0fde2c53
DE
26932015-10-26 Doug Evans <dje@google.com>
2694
2695 PR symtab/17391
2696 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2697 * gdb.dwarf2/bad-regnum.c: New file.
2698 * gdb.dwarf2/bad-regnum.exp: New file.
2699
1a70ae97
DE
27002015-10-26 Doug Evans <dje@google.com>
2701
2702 PR python/18938
2703 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2704 file.
2705
27dc26ab
JK
27062015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2707
2708 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2709 for a change by "Mention language in compile error message".
2710
bed91f4d
SM
27112015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2712
2713 PR python/18073
2714 * gdb.python/py-type.c (C::a_method): New.
2715 (C::a_const_method): New.
2716 (C::a_static_method): New.
2717 (a_function): New.
2718 * gdb.python/py-type.exp (test_fields): Test getting fields
2719 from function and method.
2720
3f2f83dd
KB
27212015-10-21 Keven Boell <keven.boell@intel.com>
2722
2723 * gdb.fortran/vla-alloc-assoc.exp: New file.
2724 * gdb.fortran/vla-datatypes.exp: New file.
2725 * gdb.fortran/vla-datatypes.f90: New file.
2726 * gdb.fortran/vla-history.exp: New file.
2727 * gdb.fortran/vla-ptype-sub.exp: New file.
2728 * gdb.fortran/vla-ptype.exp: New file.
2729 * gdb.fortran/vla-sizeof.exp: New file.
2730 * gdb.fortran/vla-sub.f90: New file.
2731 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2732 * gdb.fortran/vla-value-sub-finish.exp: New file.
2733 * gdb.fortran/vla-value-sub.exp: New file.
2734 * gdb.fortran/vla-value.exp: New file.
2735 * gdb.fortran/vla-ptr-info.exp: New file.
2736 * gdb.mi/mi-vla-fortran.exp: New file.
2737 * gdb.mi/vla.f90: New file.
2738
27145d50
SL
27392015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2740
2741 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2742 of hardwired timeout value.
2743
5f3ff4f8
JK
27442015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2745 Pedro Alves <palves@redhat.com>
2746
2747 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2748 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2749
bfd09d20
JS
27502015-10-19 Josh Stone <jistone@redhat.com>
2751
2752 * gdb.base/catch-syscall.c: Include <sched.h>.
2753 (unknown_syscall): New variable.
2754 (main): Trigger a vfork and an unknown syscall.
2755 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2756 (unknown_syscall_number): Likewise.
2757 (check_call_to_syscall): Accept an optional syscall pattern.
2758 (check_return_from_syscall): Likewise.
2759 (check_continue): Likewise.
2760 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2761 (test_catch_syscall_skipping_return): New test toggling off 'catch
2762 syscall' to step over the syscall return, then toggling back on.
2763 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2764 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2765 (do_syscall_tests): Call test_catch_syscall_without_args and
2766 test_catch_syscall_mid_vfork.
2767 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2768 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2769
b32b93c6
AS
27702015-10-19 Andrew Stubbs <ams@codesourcery.com>
2771
2772 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2773 print g_vE): Add new pass patterns.
2774 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2775 print various symbol names for vptr fields.
2776
9d622bda
AB
27772015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2778
2779 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2780 results.
2781
0fd8ac1c
YQ
27822015-10-12 Yao Qi <yao.qi@linaro.org>
2783
2784 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2785
34240514
YQ
27862015-10-12 Yao Qi <yao.qi@linaro.org>
2787
2788 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2789 is aarch64*-*-linux*.
2790
8240f442
YQ
27912015-10-12 Yao Qi <yao.qi@linaro.org>
2792
2793 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2794 (can_relocate_bcond_true): ... it.
2795 (can_relocate_bcond_false): New function.
2796 (foo): Likewise.
2797 (can_relocate_bl): Likewise.
2798 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2799 can_relocate_bl.
2800
2520f728
PMR
28012015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2802
2803 * gdb.base/nested-addr.c: New file.
2804 * gdb.base/nested-addr.exp: New testcase.
2805
abcef95a
MM
28062015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2807
2808 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2809 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2810 its output. Ignore the output of "record goto begin" and instead
2811 check that GDB is replaying.
2812
145e3ddb
PA
28132015-10-09 Pedro Alves <palves@redhat.com>
2814
2815 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2816 (top level): Use it in the run with no args test.
2817
d5d8c4e1
IB
28182015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2819
2820 * gdb.dlang/properties.exp: New file.
2821
06e635ef
SL
28222015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2823
2824 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2825 whether or not address 0x1000 is mapped on the target.
2826
e019fd1d
SM
28272015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2828
2829 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2830 build.
2831
77ba2a67
MM
28322015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2833
2834 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2835 instruction-history test.
2836
c60eb31f
DE
28372015-09-28 Doug Evans <dje@google.com>
2838
2839 * gdb.base/gcore.c (array_func): Add reference to static_array.
2840
9a3c8263
SM
28412015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2842
2843 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2844 source line.
2845
9720e656
SL
28462015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2847
2848 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2849 short or char as base type.
2850
938d3bf2
SL
28512015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2852
2853 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2854 to allow any size enum.
2855
e6c2c623
PMR
28562015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2857
2858 * gdb.ada/array_ptr_renaming.exp: New testcase.
2859 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2860 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2861
06da0f77
PL
28622015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2863
2864 * gdb.trace/ftrace-lock.c: New file.
2865 * gdb.trace/ftrace-lock.exp: New file.
2866
4f51c22a
PL
28672015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2868
2869 * gdb.arch/insn-reloc.c: New file.
2870 * gdb.arch/ftrace-insn-reloc.exp: New file.
2871
7041adf4
PL
28722015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2873
2874 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2875 instruction.
2876 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2877 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2878 * gdb.trace/range-stepping.c: Likewise.
2879 * gdb.trace/trace-break.c: Likewise.
2880 * gdb.trace/trace-mt.c (thread_function): Likewise.
2881 * gdb.trace/ftrace.c (marker): Likewise.
2882 * gdb.trace/trace-condition.c (marker): Likewise.
2883 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2884 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2885 is_aarch64_target.
2886
015d2e7e
DE
28872015-09-18 Doug Evans <xdje42@gmail.com>
2888
2889 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2890 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2891
26b188a2
SL
28922015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2893
2894 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2895 the breakpoint.
2896
79dc332b
SL
28972015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2898
2899 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2900 the pending breakpoint. Remove timeout override for "Run till
2901 MI pending breakpoint on pendfunc3 on thread 2" test.
2902
f57929f2
SL
29032015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2904
2905 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2906 filename pattern.
2907
3f469b17
SL
29082015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2909
2910 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2911 in breakpoint filename pattern.
2912
515b89b3
SL
29132015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2914
7800dbe4
SL
2915 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2916
29172015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2918
515b89b3
SL
2919 * gdb.linespec/explicit.exp: Check for readline support for
2920 tab-completion tests. Fix obvious typo.
2921
d2939ba2
MM
29222015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2923
2924 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2925 and replay.
2926
cbb55fa7
MM
29272015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2928
2929 * gdb.btrace/non-stop.c: New.
2930 * gdb.btrace/non-stop.exp: New.
2931
43691ca1
PL
29322015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2933 Yao Qi <yao.qi@linaro.org>
2934
2935 * gdb.trace/trace-condition.c: New file.
2936 * gdb.trace/trace-condition.exp: New file.
2937
d78908cf
WW
29382015-09-16 Wei-cheng Wang <cole945@gmail.com>
2939
2940 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2941 for testing bytecode compilation.
2942
1ed415e2
PA
29432015-09-16 Pedro Alves <palves@redhat.com>
2944 Sandra Loosemore <sandra@codesourcery.com>
2945
2946 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2947 (SECONDS): Redefine.
2948 (main): Call pthread_kill and alarm early.
2949 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2950 support.
2951 (test): If the target can't hardware step and doesn't support
2952 displaced stepping, increase the timeout.
2953
d136eff5
PA
29542015-09-16 Pedro Alves <palves@redhat.com>
2955
2956 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2957 (enable_debug): New procedures.
2958 (test): Use them. Bail out if waiting for threads fails.
2959 (top level): Bail out if a test fails.
2960
991f019c
YQ
29612015-09-16 Yao Qi <yao.qi@linaro.org>
2962
2963 * gdb.asm/asm-source.exp: Set asm-arch for
2964 aarch64*-*-* target.
2965 * gdb.asm/aarch64.inc: New file.
2966
bfca584f
PMR
29672015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2968
2969 * gdb.ada/array_of_variable_length.exp: New testcase.
2970 * gdb.ada/array_of_variable_length/foo.adb: New file.
2971 * gdb.ada/array_of_variable_length/pck.adb: New file.
2972 * gdb.ada/array_of_variable_length/pck.ads: New file.
2973
b326e587
DE
29742015-09-15 Doug Evans <dje@google.com>
2975
2976 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2977 of function static local variable.
2978
5382cfab
PW
29792015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2980
2981 * gdb.threads/tls-so_extern.exp: New test file.
2982 * gdb.threads/tls-so_extern.c: New test file.
2983 * gdb.threads/tls-so_extern_main.c: New test file.
2984
141c5cc4
JK
29852015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2986
2987 * gdb.opt/solib-intra-step-lib.c: New file.
2988 * gdb.opt/solib-intra-step-main.c: New file.
2989 * gdb.opt/solib-intra-step.exp: New file.
2990
d15dcecd
PA
29912015-09-15 Pedro Alves <palves@redhat.com>
2992
2993 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2994 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2995
4c2f2a79
PA
29962015-09-14 Pedro Alves <palves@redhat.com>
2997
2998 * gdb.base/hook-stop-continue.c: Delete.
2999 * gdb.base/hook-stop-continue.exp: Delete.
3000 * gdb.base/hook-stop-frame.c: Delete.
3001 * gdb.base/hook-stop-frame.exp: Delete.
3002 * gdb.base/hook-stop.c: New file.
3003 * gdb.base/hook-stop.exp: New file.
3004
919e6dbe
PMR
30052015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
3006
3007 * gdb.ada/access_to_packed_array.exp: New testcase.
3008 * gdb.ada/access_to_packed_array/foo.adb: New file.
3009 * gdb.ada/access_to_packed_array/pack.adb: New file.
3010 * gdb.ada/access_to_packed_array/pack.ads: New file.
3011
157280a4
MM
30122015-09-14 Markus Metzger <markus.t.metzger@intel.com>
3013
3014 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
3015 buffer size test.
3016
2fd33e94
DB
30172015-09-11 Don Breazeal <donb@codesourcery.com>
3018
3019 * gdb.base/foll-exec.c: Add copyright header. Fix
3020 formatting issues.
3021 * gdb.base/foll-exec.exp (zap_session): Delete proc.
3022 (do_exec_tests): Use clean_restart in place of zap_session,
3023 and for test initialization. Fix formatting issues. Use
3024 fail in place of perror.
3025 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
3026 an expect statement to match an expression with output from
3027 the program under debug.
3028 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
3029 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
3030 * gdb.threads/non-ldr-exc-2.exp: Likewise.
3031 * gdb.threads/non-ldr-exc-3.exp: Likewise.
3032 * gdb.threads/non-ldr-exc-4.exp: Likewise.
3033
e70b6e8e
DE
30342015-09-09 Doug Evans <dje@google.com>
3035
3036 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
3037
7a551a51
DE
30382015-09-09 Doug Evans <dje@google.com>
3039
3040 * gdb.base/pie-execl.exp: Fix result test of build_executable.
3041
4c666f84
DE
30422015-09-09 Doug Evans <dje@google.com>
3043
3044 * gdb.base/savedregs.exp: Fix typo.
3045
243a9253
PA
30462015-09-09 Pedro Alves <palves@redhat.com>
3047
3048 * gdb.mi/mi-cli.exp: Add CLI finish tests.
3049
c0fa8fbd
SL
30502015-09-08 Sandra Loosemore <sandra@codesourcery.com>
3051
3052 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
3053 command actually switches threads. Give up on remaining
3054 tests if target fails to stop at breakpoint.
3055
cd7c1778
PMR
30562015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
3057
3058 * gdb.ada/funcall_char.exp: New testcase.
3059 * gdb.ada/funcall_char/foo.adb: New file.
3060
dc5c8746
PMR
30612015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
3062
3063 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
3064 expected outputs. Add two testcases for completing ambiguous
3065 functions.
3066 * gdb.ada/complete/aux_pck.adb: New file.
3067 * gdb.ada/complete/aux_pck.ads: New file.
3068 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
3069 Ambiguous_Func functions.
3070 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
3071 * gdb.ada/complete/pck.adb: Likewise.
3072
4e83a1e7
UW
30732015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
3074
3075 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
3076 failures to run the test program under GDB.
3077
8ce74153
LM
30782015-08-26 Luis Machado <lgustavo@codesourcery.com>
3079
3080 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
3081 to C.
3082
e9756d52
PP
30832015-08-26 Patrick Palka <patrick@parcs.ath.cx>
3084
3085 * gdb.base/run-after-attach.exp: New test file.
3086 * gdb.base/run-after-attach.c: New test file.
3087
8d37573b
DB
30882015-08-26 Don Breazeal <donb@codesourcery.com>
3089
3090 * gdb.base/foll-exec-2.c: New test program.
3091 * gdb.base/foll-exec-2.exp: New test.
3092
63e43d3a
PMR
30932015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
3094
3095 * gdb.base/nested-subp1.exp: New file.
3096 * gdb.base/nested-subp1.c: New file.
3097 * gdb.base/nested-subp2.exp: New file.
3098 * gdb.base/nested-subp2.c: New file.
3099 * gdb.base/nested-subp3.exp: New file.
3100 * gdb.base/nested-subp3.c: New file.
3101
3d40fbb5
PA
31022015-08-24 Pedro Alves <palves@redhat.com>
3103
3104 * gdb.server/connect-without-multi-process.c: New file.
3105 * gdb.server/connect-without-multi-process.exp: New file.
3106
4422ac93
LM
31072015-08-24 Luis Machado <lgustavo@codesourcery.com>
3108
3109 * gdb.opt/inline-markers.c: Make z int.
3110
91dddb86
LM
31112015-08-24 Luis Machado <lgustavo@codesourcery.com>
3112
3113 * gdb.opt/inline-markers.c: Make z volatile.
3114
a48847ee
LM
31152015-08-24 Luis Machado <lgustavo@codesourcery.com>
3116
3117 * gdb.opt/inline-bt.c: New volatile global z.
3118 * gdb.opt/inline-cmds.c: Likewise.
3119 * gdb.opt/inline-locals.c: Likewise.
3120 * gdb.opt/inline-markers.c: New extern global z.
3121 (marker): Use z.
3122 (inline_fn): Likewise.
3123
0ebbc52b
PA
31242015-08-24 Pedro Alves <palves@redhat.com>
3125
3126 * config/m32r-stub.exp: Remove file.
3127 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
3128 * gdb.base/call-rt-st.exp: Likewise.
3129 * gdb.base/call-strs.exp: Likewise.
3130 * gdb.base/default.exp: Remove references to h8300-*-hms and
3131 *-*-udi*.
3132 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
3133
77c365df
AA
31342015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3135
3136 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
3137 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
3138 and "return" use KFAIL when GDB can not read/write the vector
3139 return value.
3140
4313b8c0
GB
31412015-08-21 Gary Benson <gbenson@redhat.com>
3142
3143 * gdb.trace/pending.exp: Cope with remote transfer warnings.
3144
0e433b32
PA
31452015-08-20 Pedro Alves <palves@redhat.com>
3146
3147 * gdb.server/solib-list.exp: No longer expect an interior stop in
3148 non-stop mode.
3149
221e1a37
PA
31502015-08-20 Pedro Alves <palves@redhat.com>
3151
3152 * gdb.server/connect-stopped-target.c: New file.
3153 * gdb.server/connect-stopped-target.exp: New file.
3154
40e3ad0e
PA
31552015-08-20 Pedro Alves <palves@redhat.com>
3156
3157 * gdb.dwarf2/comp-unit-lang.exp: New file.
3158 * gdb.dwarf2/comp-unit-lang.c: New file.
3159
af39b327
PMR
31602015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
3161
3162 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
3163 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
3164
7d45c7c3 31652015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 3166
7d45c7c3
KB
3167 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
3168 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
3169
4d6cceb4
DE
31702015-08-18 Doug Evans <dje@google.com>
3171 Adrian Sendroiu <adrian.sendroiu@freescale.com>
3172
3173 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
3174 skip_python_tests. New arg prompt_regexp.
3175 (skip_python_tests): New function.
3176 * lib/mi-support.exp (mi_skip_python_tests): New function.
3177 * gdb.python/py-mi-objfile-gdb.py: New file.
3178 * gdb.python/py-mi-objfile.c: New file.
3179 * gdb.python/py-mi-objfile.exp: New file.
3180
ad89c2aa
KS
31812015-08-17 Keith Seitz <keiths@redhat.com>
3182
3183 * gdb.linespec/explicit.exp: Move strace test from here ...
3184 * gdb.trace/strace.exp: ... to here.
3185
e3ae3c43
PP
31862015-08-15 Patrick Palka <patrick@parcs.ath.cx>
3187
3188 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
3189 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
3190
604b2636
DE
31912015-08-14 Doug Evans <xdje42@gmail.com>
3192
3193 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
3194 inferior before selecting a new file.
3195
6ff0ba5f
DE
31962015-08-14 Doug Evans <xdje42@gmail.com>
3197
3198 * gdb.mi/mi-disassemble.exp: Update.
3199 * gdb.base/disasm-optim.S: New file.
3200 * gdb.base/disasm-optim.c: New file.
3201 * gdb.base/disasm-optim.h: New file.
3202 * gdb.base/disasm-optim.exp: New file.
3203
9ca98f92
KS
32042015-08-14 Keith Seitz <keiths@redhat.com>
3205
3206 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
3207 "evaluated-by".
3208
52bbc560
JB
32092015-08-13 Joel Brobecker <brobecker@adacore.com>
3210
3211 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
3212
5d8c3ed3
PMR
32132015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
3214
3215 * gdb.ada/fun_renaming.exp: New testcase.
3216 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
3217 * gdb.ada/fun_renaming/pack.adb: New file.
3218 * gdb.ada/fun_renaming/pack.ads: New file.
3219
ea8812bc
KS
32202015-08-12 Keith Seitz <keiths@redhat.com>
3221
3222 * gdb.base/dso2dso.exp: Pass basename of source file in call to
3223 gdb_get_line_number.
3224
4dafcdeb
JB
32252015-08-12 Joel Brobecker <brobecker@adacore.com>
3226
3227 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
3228 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
3229 gdb.base/dso2dso.exp: New files.
3230
5ba32597
SDJ
32312015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
3232 Pedro Alves <palves@redhat.com>
3233 Keith Seitz <keiths@redhat.com>
3234
3235 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
3236 GDBFLAGS.
3237
b6dafabf
PP
32382015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3239
3240 * gdb.base/gdbhistsize-history.exp
3241 (test_histsize_history_setting): Use save_vars.
3242 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3243 Use save_vars.
3244 (test_no_truncation_of_unlimited_history_file): Use save_vars.
3245 * gdb.base/readline.exp: Use save_vars.
3246
abe8e607
PP
32472015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3248
3249 * lib/gdb.exp (save_vars): New proc.
3250
629500fa
KS
32512015-08-11 Keith Seitz <keiths@redhat.com>
3252
3253 * gdb.base/help.exp: Update help_breakpoint_text.
3254
eb8c4e2e
KS
32552015-08-11 Keith Seitz <keiths@redhat.com>
3256
3257 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
3258 (at toplevel): Call test_explicit_breakpoints.
3259 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
3260 breakpoints.
3261 * lib/mi-support.exp (mi_make_breakpoint): Add support for
3262 breakpoint conditions, "-cond".
3263
87f0e720
KS
32642015-08-11 Keith Seitz <keiths@redhat.com>
3265
3266 * gdb.linespec/3explicit.c: New file.
3267 * gdb.linespec/cpexplicit.cc: New file.
3268 * gdb.linespec/cpexplicit.exp: New file.
3269 * gdb.linespec/explicit.c: New file.
3270 * gdb.linespec/explicit.exp: New file.
3271 * gdb.linespec/explicit2.c: New file.
3272 * gdb.linespec/ls-errs.exp: Add explicit location tests.
3273 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
3274 before using in the matching pattern.
3275 Clarify that `prefix' is a regular expression.
3276
f00aae0f
KS
32772015-08-11 Keith Seitz <keiths@redhat.com>
3278
3279 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
3280 test.
3281 Add tests for missing ",FMT" and ",".
3282
e27852be
DE
32832015-08-10 Doug Evans <dje@google.com>
3284 Keith Seitz <keiths@redhat.com>
3285
3286 PR gdb/17960
3287 * gdb.base/completion.exp: Add location completer tests.
3288
7f03bd92
PA
32892015-08-07 Pedro Alves <palves@redhat.com>
3290
3291 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
3292 tests here.
3293 (top level): Run do_test with and without displaced stepping.
3294
3fc8eb30
PA
32952015-08-07 Pedro Alves <palves@redhat.com>
3296
3297 * gdb.base/valgrind-disp-step.c: New file.
3298 * gdb.base/valgrind-disp-step.exp: New file.
3299
d4569d7b
PA
33002015-08-07 Pedro Alves <palves@redhat.com>
3301
3302 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
3303 Delete function.
3304 (main): Add alarm. Run an infinite loop instead of calling
3305 wait_threads.
3306 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
3307 comment.
3308 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
3309 Delete function.
3310 (main): Add alarm. Run an infinite loop instead of calling
3311 wait_threads.
3312 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
3313 comment.
3314
e1316e60
PA
33152015-08-07 Pedro Alves <palves@redhat.com>
3316
3317 * gdb.base/checkpoint-ns.exp: New file.
3318 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
3319 standard_testfile.
3320
da8c46d2
MM
33212015-08-07 Markus Metzger <markus.t.metzger@intel.com>
3322
3323 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
3324 * gdb.btrace/instruction_history.exp: Update.
3325 * gdb.btrace/tsx.exp: New.
3326 * gdb.btrace/tsx.c: New.
3327
de1c2c52
PA
33282015-08-06 Pedro Alves <palves@redhat.com>
3329
3330 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
3331 increase timeout.
3332 * gdb.reverse/until-precsave.exp: Bump timeouts.
3333
782e0bf4
PA
33342015-08-06 Pedro Alves <palves@redhat.com>
3335
3336 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
3337
83e97ed0
PA
33382015-08-06 Pedro Alves <palves@redhat.com>
3339
3340 PR gdb/18749
3341 * gdb.threads/process-dies-while-handling-bp.c: New file.
3342 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3343
863d01bd
PA
33442015-08-06 Pedro Alves <palves@redhat.com>
3345
3346 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3347 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3348
0a39bb32
PA
33492015-08-05 Pedro Alves <palves@redhat.com>
3350
3351 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3352 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3353
ee2d2b10
SL
33542015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3355
3356 * gdb.base/bp-permanent.exp: Report test as unsupported if
3357 the target cannot stop at the permanent breakpoint.
3358
4e1bdb00
DE
33592015-08-03 Doug Evans <dje@google.com>
3360
3361 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3362 10000.
3363
3d338901
DE
33642015-08-03 Doug Evans <dje@google.com>
3365
3366 * Makefile.in (workers/%.worker, build-perf): New rule.
3367 (GDB_PERFTEST_MODE): New variable.
3368 (check-perf): Use it.
3369 (clean): Clean up gdb.perf parallel build subdirs.
3370 * lib/build-piece.exp: New file.
3371 * lib/gdb.exp (make_gdb_parallel_path): New function
3372 (standard_output_file, standard_temp_file): Call it.
3373 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3374 of $GDB_PARALLEL.
3375 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3376
af061d3e
DE
33772015-08-03 Doug Evans <dje@google.com>
3378
8e1afc81 3379 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
3380 (LOG_FILE_NAME): New global.
3381 (TextReporter.__init__): Initialize self.txt_sum.
3382 (TextReporter.report): Add support for multiple data-points.
3383 Move report to perftest.sum, put raw data in perftest.log.
3384 (TextReporter.start): Open sum and log files.
3385 (TextReporter.end): Close sum and log files.
8e1afc81
DE
3386 * gdb.perf/lib/perftest/testresult.py
3387 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 3388
2c8c5d37
PA
33892015-07-31 Pedro Alves <palves@redhat.com>
3390
3391 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3392 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3393 kill_wait_spawned_process instead of explicit "kill -9".
3394 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3395 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3396 kill_wait_spawned_process.
3397 * gdb.base/attach-twice.exp: Likewise.
3398 * gdb.base/attach.exp: Likewise.
3399 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3400 gdb_test_multiple.
3401 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3402 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3403 kill_wait_spawned_process.
3404 * gdb.base/valgrind-infcall.exp: Likewise.
3405 * gdb.multi/multi-attach.exp: Likewise.
3406 * gdb.python/py-prompt.exp: Likewise.
3407 * gdb.python/py-sync-interp.exp: Likewise.
3408 * gdb.server/ext-attach.exp: Likewise.
3409 * gdb.threads/attach-into-signal.exp (corefunc): Use
3410 spawn_wait_for_attach, spawn_id_get_pid and
3411 kill_wait_spawned_process.
3412 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3413 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3414 spawn_id_get_pid and kill_wait_spawned_process.
3415 * gdb.threads/attach-stopped.exp (corefunc): Use
3416 spawn_wait_for_attach, spawn_id_get_pid and
3417 kill_wait_spawned_process.
3418 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3419 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3420 kill_wait_spawned_process instead of explicit "kill -9".
3421 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3422 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3423 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3424 processes. Don't map cygwin/windows pids here. Now returns a
3425 spawn id list.
3426
032a0fca
SL
34272015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3428
3429 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3430 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3431 correct patch.
3432
61a934ca
SL
34332015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3434
3435 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3436
4bc4d428
SL
34372015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3438
3439 Reapply:
3440 2014-05-21 Mark Wielaard <mjw@redhat.com>
3441
3442 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3443
998d452a
PA
34442015-07-30 Pedro Alves <palves@redhat.com>
3445
3446 * linux-low.c (handle_extended_wait): Set the child's last
3447 reported status to TARGET_WAITKIND_STOPPED.
3448
69dde7dc
PA
34492015-07-30 Pedro Alves <palves@redhat.com>
3450
3451 PR threads/18600
3452 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3453 only shows inferior 1.
3454
4dd63d48
PA
34552015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3456 Pedro Alves <palves@redhat.com>
3457
3458 PR threads/18600
3459 * gdb.threads/fork-plus-threads.c: New file.
3460 * gdb.threads/fork-plus-threads.exp: New file.
3461
d618e4c5
PP
34622015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3463
3464 * gdb.base/batch-preserve-term-settings.exp
3465 (test_terminal_settings_preserved_after_cli_exit): Use
3466 send_quit_command.
3467
1eef6428
PA
34682015-07-29 Pedro Alves <palves@redhat.com>
3469 Don Breazeal <donb@codesourcery.com>
3470
3471 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3472 output from both inferior_spawn_id and gdb_spawn_id.
3473
7da5b897
SDJ
34742015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3475
3476 * gdb.threads/attach-into-signal.exp (corefunc): Use
3477 with_test_prefix on nested loops, uniquefying the test messages.
3478
dac804df
SDJ
34792015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3480
3481 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3482 commit.
3483
06265e53
PP
34842015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3485
3486 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3487 New proc.
3488 (test_terminal_settings_preserved_after_sigterm): New test.
3489
18206ca3
PP
34902015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3491
3492 * gdb.base/batch-preserve-term-settings.exp
3493 (test_terminal_settings_preserved_after_cli_exit): New test.
3494
90074d11
PP
34952015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3496
3497 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3498 manipulation of saved_gdbflags.
3499 (test_terminal_settings_preserved): Remove global declaration of
3500 the unused variable pagination_prompt. Remove manipulation of
3501 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3502 GDBFLAGS.
3503
eb1a7902
PA
35042015-07-29 Pedro Alves <palves@redhat.com>
3505
3506 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3507
8b75dd3b
PA
35082015-07-29 Pedro Alves <palves@redhat.com>
3509
3510 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3511 at the top.
3512
dedad4e3
PA
35132015-07-29 Pedro Alves <palves@redhat.com>
3514
3515 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3516 (main): Call gdb_unbuffer_output.
3517 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3518 (main): Call gdb_unbuffer_output.
3519 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3520 (main): Call gdb_unbuffer_output.
3521 * gdb.base/call-strs.exp: Adjust to step over the
3522 gdb_unbuffer_output call.
3523 * gdb.base/catch-gdb-caused-signals.c: Include
3524 "../lib/unbuffer_output.c".
3525 (main): Call gdb_unbuffer_output.
3526 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3527 (main): Call gdb_unbuffer_output.
3528 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3529 (main): Call gdb_unbuffer_output.
3530 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3531 (main): Call gdb_unbuffer_output.
3532 * gdb.base/shlib-call.exp: Adjust to step over the
3533 gdb_unbuffer_output call.
3534 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3535 (main): Call gdb_unbuffer_output.
3536 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3537 (main): Call gdb_unbuffer_output.
3538 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3539 (main): Rename to ...
3540 (test): ... this.
3541 (main): Reimplement.
3542 * gdb.base/varargs.exp: Run to test instead of to main.
3543 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3544 (main): Call gdb_unbuffer_output.
3545
58789a91
PA
35462015-07-29 Pedro Alves <palves@redhat.com>
3547
3548 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3549 factore out from mi_continue_dprintf. For call-style dprintfs,
3550 expect dprintf output out of $inferior_spawn_id.
3551 (mi_continue_dprintf): Use mi_expect_dprintf.
3552 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3553 (main): Call gdb_unbuffer_output.
3554
e8376742
PA
35552015-07-29 Pedro Alves <palves@redhat.com>
3556
3557 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3558 (default_mi_gdb_start): Set inferior_spawn_id instead of
3559 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3560 gdb_spawn_id.
3561 (mi_gdb_test): Always expect inferior output from both
3562 $inferior_spawn_id and $gdb_spawn_id.
3563
08280010
PA
35642015-07-29 Pedro Alves <palves@redhat.com>
3565
3566 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3567 send_inferior and $inferior_spawn_id.
3568
4d30e432
PA
35692015-07-29 Pedro Alves <palves@redhat.com>
3570
3571 * gdb.gdb/complaints.exp (test_initial_complaints)
3572 (test_serial_complaints, test_short_complaints): Use
3573 gdb_test_stdio.
3574 (test_empty_complaint): Handle $inferior_spawn_id !=
3575 $gdb_spawn_id.
3576
0d30a335
PA
35772015-07-29 Pedro Alves <palves@redhat.com>
3578
3579 * gdb.base/varargs.exp: Use gdb_test_stdio.
3580
39413b29
PA
35812015-07-29 Pedro Alves <palves@redhat.com>
3582
3583 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3584
7cb000a9
PA
35852015-07-29 Pedro Alves <palves@redhat.com>
3586
3587 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3588
d7b8ac82
PA
35892015-07-29 Pedro Alves <palves@redhat.com>
3590
3591 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3592 parameter into two new parameters, "inf_result" and "gdb_result".
3593 Expect inferior output and gdb output from $inferior_spawn_id and
3594 $gdb_spawn_id, respectively. Adjust all callers.
3595
789c3a0c
PA
35962015-07-29 Pedro Alves <palves@redhat.com>
3597
3598 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3599 of gdb_test_sequence.
3600
77e760c3
PA
36012015-07-29 Pedro Alves <palves@redhat.com>
3602
3603 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3604 (saw_spurious_output): Expect inferior output from
3605 $inferior_spawn_id. Use gdb_test_stdio.
3606
8396d2cd
PA
36072015-07-29 Pedro Alves <palves@redhat.com>
3608
3609 * gdb.base/dprintf.exp: Use standard_testfile. Change
3610 prepare_for_testing call.
3611 (srcfile): Don't set.
3612 (restart): New procedure.
3613 (test_dprintf): New procecure, use to continue over dprintfs.
3614 (test_call, test_agent): New procedures, tests moved here.
3615 Restart gdb and recreate dprintfs. Adjust expected output.
3616
2051d61f
PA
36172015-07-29 Pedro Alves <palves@redhat.com>
3618
3619 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3620
452397af
PA
36212015-07-29 Pedro Alves <palves@redhat.com>
3622
3623 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3624
8aed9555
PA
36252015-07-29 Pedro Alves <palves@redhat.com>
3626
3627 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3628 gdb_test_stdio.
3629
188a61b4
PA
36302015-07-29 Pedro Alves <palves@redhat.com>
3631
3632 * lib/gdb.exp (gdb_test_stdio): New procedure.
3633
12264a45
PA
36342015-07-29 Pedro Alves <palves@redhat.com>
3635
3636 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3637
23ffc893
PA
36382015-07-29 Pedro Alves <palves@redhat.com>
3639
3640 * gdb.base/call-signal-resume.exp: Remove check for
3641 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3642 * gdb.base/unwindonsignal.exp: Likewise.
3643 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3644 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3645
65566918
PA
36462015-07-29 Pedro Alves <palves@redhat.com>
3647
3648 * gdb.base/siginfo-addr.c (pass): New function.
3649 (handler): Call it iff si_addr is correct.
3650 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3651 Set a breakpoint at "pass" and continue to it.
3652
d60a9221
SDJ
36532015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3654
3655 * gdb.python/py-objfile.exp: Make some tests have unique names.
3656 * gdb.python/py-pp-registration.exp: Likewise.
3657
bde40b8f
PA
36582015-07-28 Pedro Alves <palves@redhat.com>
3659
3660 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3661
13e1dec8
SM
36622015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3663
3664 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3665
da33c9a7
SM
36662015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3667
3668 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3669
077836f7
PP
36702015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3671
3672 * gdb.base/gdb-sigterm-2.exp: New test.
3673
b8cc7b2e
DE
36742015-07-25 Doug Evans <xdje42@gmail.com>
3675
3676 Revert:
3677 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3678 (workers/%.worker, build-perf): New rule.
3679 (GDB_PERFTEST_MODE): New variable.
3680 (check-perf): Use it.
3681 (clean): Clean up gdb.perf parallel build subdirs.
3682 * lib/build-piece.exp: New file.
3683 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3684 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3685 name.
3686 (standard_temp_file): Ditto.
3687 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3688 of $GDB_PARALLEL.
3689
c8bd4544
DE
36902015-07-24 Doug Evans <dje@google.com>
3691
3692 * gdb.perf/lib/perftest/utils.py: New file.
3693 * gdb.perf/gm-hello.cc: New file.
3694 * gdb.perf/gm-pervasive-typedef.cc: New file.
3695 * gdb.perf/gm-pervasive-typedef.h: New file.
3696 * gdb.perf/gm-std.cc: New file.
3697 * gdb.perf/gm-std.h: New file.
3698 * gdb.perf/gm-use-cerr.cc: New file.
3699 * gdb.perf/gm-utils.h: New file.
3700 * gdb.perf/gmonster-null-lookup.py: New file.
3701 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3702 * gdb.perf/gmonster-print-cerr.py: New file.
3703 * gdb.perf/gmonster-ptype-string.py: New file.
3704 * gdb.perf/gmonster-runto-main.py: New file.
3705 * gdb.perf/gmonster-select-file.py: New file.
3706 * gdb.perf/gmonster1-null-lookup.exp: New file.
3707 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3708 * gdb.perf/gmonster1-print-cerr.exp: New file.
3709 * gdb.perf/gmonster1-ptype-string.exp: New file.
3710 * gdb.perf/gmonster1-runto-main.exp: New file.
3711 * gdb.perf/gmonster1-select-file.exp: New file.
3712 * gdb.perf/gmonster1.cc: New file.
3713 * gdb.perf/gmonster1.exp: New file.
3714 * gdb.perf/gmonster2-null-lookup.exp: New file.
3715 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3716 * gdb.perf/gmonster2-print-cerr.exp: New file.
3717 * gdb.perf/gmonster2-ptype-string.exp: New file.
3718 * gdb.perf/gmonster2-runto-main.exp: New file.
3719 * gdb.perf/gmonster2-select-file.exp: New file.
3720 * gdb.perf/gmonster2.cc: New file.
3721 * gdb.perf/gmonster2.exp: New file.
3722
6eab34f3
DE
37232015-07-24 Doug Evans <dje@google.com>
3724
3725 * gdb.perf/README: New file.
3726 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3727 * lib/gen-perf-test.exp: New file.
3728
63738bfd
DE
37292015-07-24 Doug Evans <dje@google.com>
3730
3731 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3732 (PerfTest::startup): New function.
3733 (PerfTest::run): Return result of calling body.
3734 (PerfTest::assemble): Rewrite.
3735 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3736 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3737 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3738 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3739 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3740
7b606f95
DE
37412015-07-24 Doug Evans <dje@google.com>
3742
3743 * lib/gdb.exp (clean_restart): Make executable optional.
3744
a97b16b8
DE
37452015-07-24 Doug Evans <dje@google.com>
3746
3747 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3748 compiler_info references.
3749 * gdb.cp/temargs.exp: Ditto.
3750 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3751 (get_compiler_info): Early exit if already computed. Set compiler_info
3752 to "unknown" if there was a problem.
3753 (test_compiler_info): Add function comment. Call get_compiler_info.
3754
35baa57f
DE
37552015-07-24 Doug Evans <dje@google.com>
3756
3757 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3758 (workers/%.worker, build-perf): New rule.
3759 (GDB_PERFTEST_MODE): New variable.
3760 (check-perf): Use it.
3761 (clean): Clean up gdb.perf parallel build subdirs.
3762 * lib/build-piece.exp: New file.
3763 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3764 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3765 name.
3766 (standard_temp_file): Ditto.
3767 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3768 of $GDB_PARALLEL.
3769
6ebea266
DE
37702015-07-24 Doug Evans <dje@google.com>
3771
3772 * lib/future.exp (gdb_default_target_compile): New option
3773 "early_flags".
3774 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3775 --as-needed.
3776
1e76a7e9
SDJ
37772015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3778
3779 * gdb.base/catch-syscall.exp: Call gdb_exit before
3780 gdb_skip_xml_test.
3781
5068630a
PA
37822015-07-24 Pedro Alves <palves@redhat.com>
3783
3784 * gdb.python/py-events.exp: Accept output between the stop event
3785 and the prompt.
3786 * gdb.python/py-evsignal.exp: Likewise.
3787 * gdb.python/py-evthreads.exp: Likewise.
3788
77598427
PA
37892015-07-24 Pedro Alves <palves@redhat.com>
3790
3791 PR gdb/18717
3792 * gdb.threads/non-ldr-exit.c: New file.
3793 * gdb.threads/non-ldr-exit.exp: New file.
3794
11e6c98f
YQ
37952015-07-24 Yao Qi <yao.qi@linaro.org>
3796
3797 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3798 restarting process.
3799
51aee833
YQ
38002015-07-24 Yao Qi <yao.qi@linaro.org>
3801
3802 * gdb.server/ext-restart.exp: New file.
3803
8cfe207c
YQ
38042015-07-24 Yao Qi <yao.qi@linaro.org>
3805
3806 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3807 argument options.
3808 * gdb.server/ext-wrapper.exp: New file.
3809
cc12ce38
DE
38102015-07-23 Doug Evans <dje@google.com>
3811
3812 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3813 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3814
d0d84780
PMR
38152015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3816
3817 * gdb.ada/var_arr_typedef.exp: New testcase.
3818 * gdb.ada/var_arr_typedef/pack.adb: New file.
3819 * gdb.ada/var_arr_typedef/pack.ads: New file.
3820 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3821
8b558f79
JB
38222015-07-20 Joel Brobecker <brobecker@adacore.com>
3823
3824 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3825
775a3298
JK
38262015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3827
3828 * gdb.arch/i386-biarch-core.exp: Replace istarget
3829 by "complete set gnutarget". Remove expectation for the "core-file"
3830 command.
3831
db1ff28b
JK
38322015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3833
3834 Revert the previous commit:
3835 Tests for validate symbol file using build-id.
3836
0a94970d
JK
38372015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3838
3839 Tests for validate symbol file using build-id.
3840 * gdb.base/solib-mismatch-lib.c: New file.
3841 * gdb.base/solib-mismatch-libmod.c: New file.
3842 * gdb.base/solib-mismatch.c: New file.
3843 * gdb.base/solib-mismatch.exp: New file.
3844
03346981
SL
38452015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3846
3847 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3848 nios2-*-linux*.
3849 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3850 * gdb.base/siginfo.exp: Likewise.
3851 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3852
42422cc7
PL
38532015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3854
3855 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3856 Move it to ...
3857 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3858 ... here.
3859 * gdb.trace/range-stepping.exp: Check that the target supports
3860 range stepping.
3861
cfa68bae
JK
38622015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3863
3864 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3865
8ffdba26
PA
38662015-07-14 Pedro Alves <palves@redhat.com>
3867
3868 * gdb.base/killed-outside.exp: New file.
3869 * gdb.base/killed-outside.c: New file.
3870
218a5a11
JK
38712015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3872
3873 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3874 (n at main): New.
3875 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3876
e03ed3c6
AA
38772015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3878
3879 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3880 infcall tests instead of setting up for KFAIL.
3881
485668e5
MM
38822015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3883
3884 * gdb.btrace/record_goto-step.exp: New.
3885
08464196
JK
38862015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3887
3888 PR compile/18484
3889 * gdb.compile/compile.c (struct struct_type): Add volatile to
3890 selffield's type.
3891 * gdb.compile/compile.exp
3892 (compile code struct_object.selffield = &struct_object): Skip further
3893 struct_object tests if this one xfails.
3894
bcf5c1d9
RC
38952015-07-08 Robert O'Callahan <robert@ocallahan.org>
3896
3897 PR exp/18617
3898 * gdb.trace/ax.exp: Add test.
3899
4931af25
YQ
39002015-07-07 Yao Qi <yao.qi@linaro.org>
3901
3902 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3903 instead of istarget "aarch64*-*-*".
3904 * gdb.arch/aarch64-fp.exp: Likewise.
3905 * gdb.base/float.exp: Likewise.
3906 * gdb.reverse/aarch64.exp: Likewise.
3907 * lib/gdb.exp (is_aarch64_target): New proc.
3908
9fcf688e
YQ
39092015-07-07 Yao Qi <yao.qi@linaro.org>
3910
3911 * lib/gdb.exp (is_aarch32_target): New proc.
3912 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3913 instead of "istarget "arm*-*-*"".
3914 * gdb.arch/arm-disp-step.exp: Likewise.
3915 * gdb.arch/thumb-bx-pc.exp: Likewise.
3916 * gdb.arch/thumb-prologue.exp: Likewise.
3917 * gdb.arch/thumb-singlestep.exp: Likewise.
3918 * gdb.base/disp-step-syscall.exp: Likewise.
3919 * gdb.base/float.exp: Likewise.
3920
fbd8d50d
YQ
39212015-07-07 Yao Qi <yao.qi@linaro.org>
3922
3923 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3924 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3925
71be1fdc
YQ
39262015-07-07 Yao Qi <yao.qi@linaro.org>
3927
3928 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3929 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3930 if it exists.
3931 * gdb.multi/multi-arch.exp: Likewise.
3932
3e221d36
SM
39332015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3934
3935 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3936 print.
3937
d441430b
YQ
39382015-07-07 Yao Qi <yao.qi@linaro.org>
3939
3940 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3941
06f810bd
MG
39422015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3943
3944 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3945 '[' and ']' characters.
3946
5e61e7c0
IB
39472015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3948
3949 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3950
28bf096c
PA
39512015-06-29 Pedro Alves <palves@redhat.com>
3952
3953 PR threads/18127
3954 * gdb.threads/hand-call-new-thread.c: New file.
3955 * gdb.threads/hand-call-new-thread.c: New file.
3956
ee93cd5e
KS
39572015-06-26 Keith Seitz <keiths@redhat.com>
3958 Doug Evans <dje@google.com>
3959
3960 PR 16253
3961 * gdb.cp/var-tag-2.cc: New file.
3962 * gdb.cp/var-tag-3.cc: New file.
3963 * gdb.cp/var-tag-4.cc: New file.
3964 * gdb.cp/var-tag.cc: New file.
3965 * gdb.cp/var-tag.exp: New file.
3966
fc637f04
PP
39672015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3968
3969 * gdb.base/history-duplicates.exp: New test.
3970
2e52ae68
PP
39712015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3972
3973 * gdb.base/completion.exp: Test the completion of the "focus"
3974 command.
3975
6e22494e
JK
39762015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3977
3978 * gdb.arch/amd64-prologue-skip.S: New file.
3979 * gdb.arch/amd64-prologue-skip.exp: New file.
3980
bf7b9cd9
SM
39812015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3982
3983 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3984 is_address_zero_readable check.
3985
201e8dfd
PB
39862015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3987
3988 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3989 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3990
5cd867b4
YQ
39912015-06-24 Yao Qi <yao.qi@linaro.org>
3992
3993 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3994 linux targets.
3995
4d7be007
YQ
39962015-06-24 Yao Qi <yao.qi@linaro.org>
3997
3998 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3999 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
4000 * gdb.base/siginfo-thread.exp: Likewise.
4001
07fcd301
YQ
40022015-06-22 Yao Qi <yao.qi@linaro.org>
4003
4004 * boards/remote-gdbserver-on-localhost.exp: Add comments.
4005
52042a00
YQ
40062015-06-22 Yao Qi <yao.qi@linaro.org>
4007
4008 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
4009 aarch64*-*-*.
4010 (skip_hw_watchpoint_tests): Likewise.
4011
74bd41ce
PP
40122015-06-18 Patrick Palka <patrick@parcs.ath.cx>
4013
4014 * gdb.base/gdbinit-history.exp: Test the interaction between
4015 setting GDBHISTSIZE and setting the history size via .gdbinit.
4016
bc460514
PP
40172015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4018
4019 PR gdb/16999
4020 * gdb.base/gdbhistsize-history.exp: New test.
4021
b58c513b
PP
40222015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4023
4024 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
4025 with GDBHISTSIZE.
4026 * gdb.base/readline.exp: Likewise.
4027
92046791
YQ
40282015-06-17 Yao Qi <yao.qi@linaro.org>
4029
4030 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
4031 line.
4032
2093d2d3
PP
40332015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4034
4035 * gdb.base/gdbinit-history.exp: Add test case to check that
4036 an unlimited history file does not get truncated on exit.
4037
e6c693af
AA
40382015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4039
4040 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
4041 (VECTOR): New macro. Use it...
4042 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
4043 ...for these typedefs.
4044 (int8, char1, int1, double1): New typedefs.
4045 (struct just_int2, struct two_int2): New structures.
4046 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
4047 (add_structvecs, add_singlevecs): New functions.
4048 (main): Call add_some_intvecs twice.
4049 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
4050 the compile and exit upon failure. Try compiling for the "native"
4051 architecture. Test inferior function calls with vector arguments
4052 and vector return value handling with "finish" and "return".
4053
c74f7d1c
JT
40542015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
4055
4056 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
4057 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
4058 PE file.
4059 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
4060
98aa42ee
AT
40612015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
4062
4063 PR breakpoints/16465
4064 * gdb.mi/mi-dprintf-pending.c: New file.
4065 * gdb.mi/mi-dprintf-pending.exp: New test.
4066 * gdb.mi/mi-dprintf-pendshr.c: New file.
4067
7d73c23c 40682015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 4069 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
4070
4071 * gdb.arch/i386-mpx-map.c: New file.
4072 * gdb.arch/i386-mpx-map.exp: New File.
4073
40742015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4075
4076 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
4077 * gdb.arch/i386-mpx.exp: Indentation fixed.
4078
40792015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4080
4081 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
4082 function and improved indentation.
4083 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
4084 gdb_test_multiple. Added additional tests to skip the test.
4085
40862015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4087
4088 * gdb.arch/i386-avx512.c: Change path in include file.
4089 * gdb.arch/i386-avx512.exp: Change include dir path
4090 compilation flag.
4091 * gdb.arch/i386-mpx.c: Change path in include file.
4092 * gdb.arch/i386-mpx.exp: Change include dir path compilation
4093 flag.
4094
d5eba19a
JK
40952015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4096
4097 * gdb.compile/compile-print.exp (compile print *vararray@3)
4098 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
4099
7f361056
JK
41002015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4101
4102 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
4103 (do not keep jit in memory): ... this.
4104 (expect 5): Change it to ...
4105 (expect no 5): ... this.
4106
3b462ec2
SM
41072015-06-02 Simon Marchi <simon.marchi@ericsson.com>
4108
4109 PR gdb/15564
4110 * gdb.mi/mi-detach.exp: New file.
4111
e0619de6
JK
41122015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4113
4114 PR symtab/18392
4115 * gdb.arch/amd64-tailcall-self.S: New file.
4116 * gdb.arch/amd64-tailcall-self.c: New file.
4117 * gdb.arch/amd64-tailcall-self.exp: New file.
4118
e970cb34
DB
41192015-05-28 Don Breazeal <donb@codesourcery.com>
4120
4121 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
4122 tests for remote targets by checking is_target_gdbserver.
4123
b2e2f908
DE
41242015-05-27 Doug Evans <dje@google.com>
4125
4126 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
4127 * gdb.dwarf2/opaque-type-lookup.c: New file.
4128 * gdb.dwarf2/opaque-type-lookup.exp: New file.
4129
82c7be31
DE
41302015-05-26 Doug Evans <dje@google.com>
4131
4132 * gdb.cp/iostream.cc: New file.
4133 * gdb.cp/iostream.exp: New file.
4134
b4f54984
DE
41352015-05-26 Doug Evans <dje@google.com>
4136
4137 * gdb.dwarf2/dw2-op-call.exp: Update.
4138 * gdb.dwarf2/dw4-sig-types.exp: Update.
4139 * gdb.dwarf2/implptr.exp: Update.
4140 * gdb.mi/mi-cmd-param-changed.exp: Update.
4141
4ea6efe9
DE
41422015-05-26 Doug Evans <dje@google.com>
4143
4144 * gdb.python/py-lazy-string.c: New file.
4145 * gdb.python/py-lazy-string.exp: New file.
4146 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
4147 (main): Update. Add estring3.
4148 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
4149 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
4150
f6bb7db3
YQ
41512015-05-26 Omair Javaid <omair.javaid@linaro.org>
4152 Yao Qi <yao.qi@linaro.org>
4153
4154 * gdb.reverse/aarch64.c: New.
4155 * gdb.reverse/aarch64.exp: New.
4156
a81bfbd0
OJ
41572015-05-26 Omair Javaid <omair.javaid@linaro.org>
4158
25d49b86
PA
4159 * lib/gdb.exp (supports_process_record): Return true for
4160 aarch64*-linux*.
a81bfbd0
OJ
4161 (supports_reverse): Likewise.
4162
158bf1b4
PP
41632015-05-22 Patrick Palka <patrick@parcs.ath.cx>
4164
4165 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4166 Use with_test_prefix.
4167
a0145030
AB
41682015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
4169
4170 * gdb.base/completion.exp: Add test for completion of layout
4171 names.
4172
ebe3b578
AB
41732015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
4174
4175 * lib/gdb.exp (skip_tui_tests): New proc.
4176 * gdb.base/tui-layout.exp: Check skip_tui_tests.
4177
84204ed7
PA
41782015-05-19 Pedro Alves <palves@redhat.com>
4179
4180 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4181 Save the whole env array instead of just HOME. Unset HISTSIZE in
4182 the environment while testing. Restore whole environment
4183 afterwards.
4184
37442ce1
DE
41852015-05-16 Doug Evans <xdje42@gmail.com>
4186
4187 * gdb.guile/scm-ports.c: New file.
4188 * gdb.guile/scm-ports.exp: Add memory port tests.
4189
36de76f9
JK
41902015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4191
4192 * gdb.compile/compile-print.c: New file.
4193 * gdb.compile/compile-print.exp: New file.
4194
3a9558c4
JK
41952015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4196
4197 * gdb.compile/compile-ops.exp: Cast param to void.
4198 * gdb.compile/compile.exp: Complete type for _gdb_expr.
4199 (compile code struct_object.selffield = &struct_object): Add xfail.
4200
aa715135
JG
42012015-05-15 Joel Brobecker <brobecker@adacore.com>
4202
4203 * gdb.ada/arr_enum_with_gap: New testcase.
4204
931e5bc3
JG
42052015-05-15 Joel Brobecker <brobecker@adacore.com>
4206
4207 * gdb.ada/byte_packed_arr: New testcase.
4208
9cd4d857
JB
42092015-05-15 Joel Brobecker <brobecker@adacore.com>
4210
4211 * gdb.ada/pckd_neg: New testcase.
4212
ebfd00d2
PP
42132015-05-13 Patrick Palka <patrick@parcs.ath.cx>
4214
4215 PR gdb/17820
4216 * gdb.base/gdbinit-history.exp: New test.
4217 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
4218 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
4219
4c082a81
SC
42202015-05-09 Siva Chandra Reddy <sivachandra@google.com>
4221
4222 * gdb.python/py-xmethods.cc: Enhance test case.
4223 * gdb.python/py-xmethods.exp: New tests.
4224 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
4225 function.
4226 (B_indexoper): Likewise.
4227 (global_dm_list) : Add new xmethod worker functions.
4228
f7797074
SDJ
42292015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
4230
4231 * gdb.base/coredump-filter.exp: Correctly unset
4232 "coredump_var_addr" array.
4233
a4674e4e
PA
42342015-05-08 Pedro Alves <palves@redhat.com>
4235
4236 * gdb.server/non-existing-program.exp: Unset spawn_id.
4237
df2eb078
SC
42382015-05-08 Siva Chandra Reddy <sivachandra@google.com>
4239
4240 PR python/18291
4241 * gdb.python/py-xmethods.exp: Add tests.
4242
422349a3
YQ
42432015-05-08 Yao Qi <yao.qi@linaro.org>
4244
4245 PR gdb/18208
4246 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
4247 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
4248 function set_coredump_filter, and remove remote_exec call.
4249 Remove argument ipid. Callers update.
4250 (top level): Don't get inferior's PID.
4251
63fc80ce
AA
42522015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
4253
4254 * gdb.base/watch_thread_num.exp: Skip test on targets without
4255 access watchpoints.
4256
80ad801e
PA
42572015-05-06 Pedro Alves <palves@redhat.com>
4258
4259 PR server/18081
4260 * gdb.server/non-existing-program.exp: New file.
4261
0fa7fe50
JB
42622015-05-05 Joel Brobecker <brobecker@adacore.com>
4263
4264 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
4265
3ea89b92
PMR
42662015-05-05 Joel Brobecker <brobecker@adacore.com>
4267
4268 * gdb.ada/out_of_line_in_inlined: New testcase.
4269
87b8eff0
JB
42702015-05-05 Joel Brobecker <brobecker@adacore.com>
4271
4272 * gdb.ada/var_rec_arr: New testcase.
4273
5fccc635
YQ
42742015-04-30 Yao Qi <yao.qi@linaro.org>
4275
4276 * gdb.base/break-idempotent.exp: If
4277 skip_hw_watchpoint_multi_tests returns true, skip the tests
4278 on "rwatch" and "awatch".
4279
42d38f42
YQ
42802015-04-30 Yao Qi <yao.qi@linaro.org>
4281
4282 * gdb.base/relativedebug.exp: Invoke gdb command
4283 "info sharedlibrary", and if libc.so doesn't have debug info,
4284 skip the test.
4285
2ce1cdbf
DE
42862015-04-29 Doug Evans <dje@google.com>
4287
4288 * gdb.python/py-xmethods.exp: Add ptype tests.
4289 * gdb.python/py-xmethods.py (E_method_char_worker): Add
4290 get_result_type method.
4291
f24a38c5
LM
42922015-04-29 Luis Machado <lgustavo@codesourcery.com>
4293
4294 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
4295 the target does not support hardware watchpoints.
4296
ecbf2b3c
LM
42972015-04-29 Luis Machado <lgustavo@codesourcery.com>
4298
4299 * gdb.base/break-always.exp: Abort testing if writing to memory
4300 causes an error.
4301
34f5f757
DE
43022015-04-28 Doug Evans <dje@google.com>
4303
4304 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
4305 * gdb.python/py-pp-registration.exp: ... here. New file.
4306 * gdb.python/py-pp-registration.c: New file.
4307 * gdb.python/py-pp-registration.py: New file.
4308
69b4374a
DE
43092015-04-28 Doug Evans <dje@google.com>
4310
4311 * gdb.python/py-bad-printers.c: New file.
4312 * gdb.python/py-bad-printers.py: New file.
4313 * gdb.python/py-bad-printers.exp: New file.
4314
59fb7612
SS
43152015-04-28 Sasha Smundak <asmundak@google.com>
4316
4317 * gdb.python/py-type.exp: New test.
4318
2631b16a
AW
43192015-04-28 Andy Wingo <wingo@igalia.com>
4320
4321 * gdb.python/py-parameter.exp:
4322 * gdb.guile/scm-parameter.exp: Escape the path that we are
4323 matching against, as it might contain characters that are special
4324 to regular expressions.
4325
460efde1
JB
43262015-04-27 Joel Brobecker <brobecker@adacore.com>
4327
4328 * gdb.ada/rec_comp: New testcase.
4329
2d369d8e
SDJ
43302015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
4331
4332 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
4333 before using it.
4334
cf75d6c3
AB
43352015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
4336
4337 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4338 new tests for verilog output.
4339
8dbe7ca5
YQ
43402015-04-24 Yao Qi <yao.qi@linaro.org>
4341
4342 * boards/remote-gdbserver-on-localhost.exp: New file.
4343
4ef9fb2f
PA
43442015-04-23 Pedro Alves <palves@redhat.com>
4345
4346 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4347 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4348 "end of file", remove $inferior_spawn_id from the indirect list.
4349
0a803169
PA
43502015-04-23 Pedro Alves <palves@redhat.com>
4351
4352 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4353
749ef8f8
PA
43542015-04-23 Pedro Alves <palves@redhat.com>
4355
4356 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4357 on $any_spawn_id instead of only on $gdb_spawn_id.
4358
8aae4344
PM
43592015-04-21 Pierre Muller <muller@sourceware.org>
4360
4361 PR pascal/17815
4362 * lib/pascal.exp (gpc_compile): Add new option "class".
4363 (fpc_compile): Likewise.
4364 * gdb.pascal/case-insensitive-symbols.pas: New file.
4365 * gdb.pascal/case-insensitive-symbols.exp: New file.
4366
1586c8fb
GB
43672015-04-20 Gary Benson <gbenson@redhat.com>
4368
4369 * gdb.base/attach.exp: Fix three extended remote failures.
4370
1b6e6f5c
GB
43712015-04-17 Gary Benson <gbenson@redhat.com>
4372
4373 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4374 the main executable over the remote protocol.
4375
e797481d
PA
43762015-04-16 Pedro Alves <palves@redhat.com>
4377
4378 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4379 a new gdbserver if gdbserver_reconnect_p is set.
4380
1ca99c42
PA
43812015-04-16 Pedro Alves <palves@redhat.com>
4382
4383 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4384 is set, don't exit gdbserver.
4385
af9fd6f8
AA
43862015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4387
4388 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4389 appropriate .insn, such that an older assembler can be used.
4390 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4391 the z/Architecture instruction set on 31-bit targets as well.
4392
04ff1e61
AA
43932015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4394
4395 * gdb.go/handcall.exp: Remove all logic related to the first
4396 breakpoint and rely on go_runto_main instead.
4397 * gdb.go/strings.exp: Likewise.
4398 * gdb.go/unsafe.exp: Likewise.
4399 * gdb.go/hello.exp: Likewise. Also rename the remaining
4400 breakpoint marker to "breakpoint 1".
4401 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4402 * gdb.go/strings.go: Likewise.
4403 * gdb.go/unsafe.go: Likewise.
4404 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4405 "set breakpoint 2 here" and rename the remaining breakpoint marker
4406 to "breakpoint 1".
4407
40d2f8d6
SM
44082015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4409
4410 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4411 if itertools.imap is not present.
4412 * gdb.python/py-objfile.exp: Add parentheses.
4413 * gdb.python/py-type.exp: Same.
4414 * gdb.python/py-unwind-maint.py: Same.
4415
8cbc97c6
YQ
44162015-04-15 Yao Qi <yao.qi@linaro.org>
4417
4418 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4419 of ":$ptr_size" and set its form explicitly.
4420
45fd756c
YQ
44212015-04-15 Pedro Alves <palves@redhat.com>
4422 Yao Qi <yao.qi@linaro.org>
4423
4424 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4425 timeout by factor of 4.
4426 (test_regular_watch): Likewise.
4427 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4428 * gdb.reverse/sigall-reverse.exp: Likewise.
4429 * gdb.reverse/until-precsave.exp: Likewise.
4430 * lib/gdb.exp (with_timeout_factor): New proc.
4431 (gdb_expect): Move some code to ...
4432 (get_largest_timeout): ... here. New procedure.
4433
9e811bc3
LM
44342015-04-14 Luis Machado <lgustavo@codesourcery.com>
4435
4436 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4437
0ff6fcb2
LM
44382015-04-13 Luis Machado <lgustavo@codesourcery.com>
4439
4440 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4441 to write to the .text section.
4442
7578d5f7
LM
44432015-04-13 Luis Machado <lgustavo@codesourcery.com>
4444
4445 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4446 Handle the case of targets that do not provide PID information.
4447
2efe15c4
YQ
44482015-04-13 Yao Qi <yao.qi@linaro.org>
4449
4450 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4451 and use expect instead of gdb_expect.
4452
8cd8f2f8
SDJ
44532015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4454
4455 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4456 "coredump_var_addr" to avoid naming conflict with other testcases.
4457
9ee41772
PA
44582015-04-10 Pedro Alves <palves@redhat.com>
4459
4460 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4461 gdb_test_sequence and gdb_assert.
4462
07473109
PA
44632015-04-10 Pedro Alves <palves@redhat.com>
4464
4465 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4466 test messages that don't include the breakpoint address.
4467
de3db44c
YQ
44682015-04-10 Yao Qi <yao.qi@linaro.org>
4469
4470 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4471 false for some offset and width combinations which aren't
4472 supported by linux kernel.
4473
c79d856c
PA
44742015-04-10 Pedro Alves <palves@redhat.com>
4475
4476 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4477 procedure, factored out from ...
4478 (top level): ... here. Add "set displaced-stepping" testing axis.
4479 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4480 parameter "displaced". Use it.
4481 (top level): Use foreach and add "set displaced-stepping" testing
4482 axis.
4483
ebc90b50
PA
44842015-04-10 Pedro Alves <palves@redhat.com>
4485
4486 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4487 Remove comment.
4488 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4489 both the address of the instruction that triggers the watchpoint
4490 and the address of the instruction immediately after, and use
4491 those addresses for the test. Fix comment.
4492
8f572e5c
PA
44932015-04-10 Pedro Alves <palves@redhat.com>
4494
4495 * gdb.base/sigstep.exp (breakpoint_to_handler)
4496 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4497 Test "backtrace" in handler.
4498 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4499 (top level): Add new "displaced" test axis to
4500 breakpoint_to_handler, breakpoint_to_handler_entry and
4501 breakpoint_over_handler.
4502
8d707a12
PA
45032015-04-10 Pedro Alves <palves@redhat.com>
4504
4505 PR gdb/18216
4506 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4507
ef713951
YQ
45082015-04-10 Yao Qi <yao.qi@linaro.org>
4509
4510 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4511 (test_add_rn_pc): New function.
4512 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4513 (top level): Invoke test_add_rn_pc.
4514
906d60cf
PA
45152015-04-10 Pedro Alves <palves@redhat.com>
4516
4517 PR gdb/13858
4518 * gdb.base/step-over-no-symbols.exp: New file.
4519
f2983cc3
AW
45202015-04-09 Andy Wingo <wingo@igalia.com>
4521
4522 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4523 after the Python tests.
4524
6d62641c
SDJ
45252015-04-08 Keith Seitz <keiths@redhat.com>
4526
4527 PR python/16699
4528 * gdb.python/py-completion.exp: New tests for completion.
4529 * gdb.python/py-completion.py (CompleteLimit1): New class.
4530 (CompleteLimit2): Likewise.
4531 (CompleteLimit3): Likewise.
4532 (CompleteLimit4): Likewise.
4533 (CompleteLimit5): Likewise.
4534 (CompleteLimit6): Likewise.
4535 (CompleteLimit7): Likewise.
4536
f3770638
PA
45372015-04-08 Pedro Alves <palves@redhat.com>
4538
4539 PR gdb/18214
4540 PR gdb/18216
4541 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4542 function.
4543 (main): Install it as SIGUSR1 handler.
4544 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4545 parameter. Always use "setup" as prefix. Toggle "set
4546 displaced-stepping" off/on depending on global. Don't switch to
4547 thread 1 here.
4548 (top level): Add displaced stepping "off/on" test axis. Update
4549 "setup" calls. Wrap each subtest with with_test_prefix. Test
4550 continuing with a queued signal in each thread.
4551
4496bed7
PA
45522015-04-08 Pedro Alves <palves@redhat.com>
4553
4554 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4555 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4556 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4557 Return early if running to main fails.
4558 * gdb.trace/while-stepping.exp: Likewise.
4559
b97fde92
PA
45602015-04-07 Pedro Alves <palves@redhat.com>
4561
4562 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4563 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4564 interact with inferior program.
4565
f71c18e7
PA
45662015-04-07 Pedro Alves <palves@redhat.com>
4567
4568 * lib/gdb.exp (inferior_spawn_id): New global.
4569 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4570 spawn id after processing the user code.
4571 (default_gdb_start): Set inferior_spawn_id.
4572 (send_inferior): New procedure.
4573 * lib/gdbserver-support.exp (gdbserver_start): Set
4574 inferior_spawn_id.
4575 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4576
6423214f
PA
45772015-04-07 Pedro Alves <palves@redhat.com>
4578
4579 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4580 * lib/gdbserver-support.exp (gdbserver_start): Make
4581 $server_spawn_id global.
4582 (gdbserver_start): Don't wait for gdbserver's spawn id with
4583 expect_background.
4584 (close_gdbserver): New procedure.
4585 (gdb_exit): Rename the default version and reimplement.
4586
71c0ee8c
PA
45872015-04-07 Pedro Alves <palves@redhat.com>
4588
72f4393d 4589 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
4590 append the substituted item, not the original item.
4591
203bc29b
PA
45922015-04-07 Pedro Alves <palves@redhat.com>
4593
4594 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4595 gdb_expect.
4596
508a3ddf
PA
45972015-04-07 Pedro Alves <palves@redhat.com>
4598
4599 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4600 output appearing once only.
4601
9f6dbe2b
PA
46022015-04-07 Pedro Alves <palves@redhat.com>
4603
4604 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4605 that doesn't expect anything. Return early if running to main
4606 fails.
4607
337532fa
YQ
46082015-04-07 Yao Qi <yao.qi@linaro.org>
4609
4610 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4611 (child_function): Call alarm.
4612 (main): Move call to alarm into the loop.
4613 * gdb.threads/non-stop-fair-events.exp: Build program with
4614 -DTIMEOUT=$timeout.
4615
01b622d4
DE
46162015-04-06 Doug Evans <xdje42@gmail.com>
4617
4618 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4619 Fix dest parameter to board_info.
4620 (fpc_compile): Ditto.
4621 (gdb_compile_pascal): Rename dest arg to destfile.
4622
961f4160
PMR
46232015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4624
4625 * gdb.ada/funcall_ref.exp: New file.
4626 * gdb.ada/funcall_ref/foo.adb: New file.
4627
cafda597
YQ
46282015-04-02 Yao Qi <yao.qi@linaro.org>
4629
4630 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4631 is remote.
4632
fed040c6
GB
46332015-04-02 Gary Benson <gbenson@redhat.com>
4634
4635 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4636
d11916aa
SS
46372015-04-01 Sasha Smundak <asmundak@google.com>
4638
4639 * gdb.python/py-unwind-maint.c: New file.
4640 * gdb.python/py-unwind-maint.exp: New test.
4641 * gdb.python/py-unwind-maint.py: New file.
4642 * gdb.python/py-unwind.c: New file.
4643 * gdb.python/py-unwind.exp: New test.
4644 * gdb.python/py-unwind.py: New test.
4645
a1471180
PA
46462015-04-01 Pedro Alves <palves@redhat.com>
4647
4648 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4649 to fail instead of non-existent $test.
4650
0bbeccb1
PA
46512015-04-01 Pedro Alves <palves@redhat.com>
4652
4653 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4654 GDBFLAGS if not empty.
4655
3c724c8c
PMR
46562015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4657
4658 * gdb.ada/complete.exp: Remove "multi_line".
4659 * gdb.ada/info_exc.exp: Remove "multi_line".
4660 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4661 * gdb.ada/ptype_field.exp: Remove "multi_line".
4662 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4663 * gdb.ada/tagged.exp: Remove "multi_line".
4664 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4665 [multi_line ...]
4666 * gdb.btrace/delta.exp: Likewise.
4667 * gdb.btrace/exception.exp: Likewise.
4668 * gdb.btrace/function_call_history.exp: Likewise.
4669 * gdb.btrace/instruction_history.exp: Likewise.
4670 * gdb.btrace/nohist.exp: Likewise.
4671 * gdb.btrace/record_goto.exp: Likewise.
4672 * gdb.btrace/segv.exp: Likewise.
4673 * gdb.btrace/stepi.exp: Likewise.
4674 * gdb.btrace/tailcall.exp: Likewise.
4675 * gdb.btrace/unknown_functions.exp: Likewise.
4676 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4677 * lib/gdb.exp: Add the "multi_line" helper.
4678
4eec2deb
PA
46792015-04-01 Pedro Alves <palves@redhat.com>
4680
4681 * gdb.threads/tid-reuse.c: New file.
4682 * gdb.threads/tid-reuse.exp: New file.
4683
df8411da
SDJ
46842015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4685
4686 PR corefiles/16092
4687 * gdb.base/coredump-filter.c: New file.
4688 * gdb.base/coredump-filter.exp: Likewise.
4689
6ef37366
PM
46902015-03-27 Petr Machata <pmachata@redhat.com>
4691
4692 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4693 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4694 (Dwarf::assemble): Initialize them.
4695 (Dwarf::lines): New function.
4696
7ec911b0
JT
46972015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4698
4699 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4700 SYMBOL_PREFIX for x86_64-*-cygwin.
4701
ff908ebf
AW
47022015-03-26 Andy Wingo <wingo@igalia.com>
4703
4704 PR symtab/18148
4705 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4706 const_value but not a location.
4707 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4708 location defined in non-main CUs are visible.
4709
6d5f0679
YQ
47102015-03-26 Yao Qi <yao.qi@linaro.org>
4711
4712 PR testsuite/18139
4713 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4714 Add a line number entry for the same line.
4715 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4716 Add a line number entry for the same line.
4717
2898689b
YQ
47182015-03-26 Yao Qi <yao.qi@linaro.org>
4719
4720 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4721 .int 0.
4722 (func): Likewise. Add .Lfunc_1 label.
4723 Use .Lfunc_1 label.
4724 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4725 .int 0.
4726 (func): Likewise.
4727 Use .Lfunc_1 label.
4728
85180498
YQ
47292015-03-26 Yao Qi <yao.qi@linaro.org>
4730
4731 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4732 Call gdb_compile instead to compile each .s files without debug
4733 information.
4734
8aa08a8d
YQ
47352015-03-26 Yao Qi <yao.qi@linaro.org>
4736
4737 * gdb.base/savedregs.exp (process_saved_regs): Make
4738 "Saved registers:" optional in the pattern.
4739
66849923
MM
47402015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4741
4742 * gdb.btrace/next.exp: Merged into step.exp.
4743 * gdb.btrace/finish.exp: Merged into step.exp.
4744 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4745 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4746 "record goto" and checking the exact replay position.
4747 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4748 check for "Recording format" in "info record" output.
4749 * gdb.btrace/record_goto.exp: Choose test file based on target.
4750 * gdb.btrace/x86-record_goto.S: Renamed into ...
4751 * gdb.btrace/x86_64-record_goto.S: ... this.
4752 * gdb.btrace/i686-record_goto.S: New.
4753 * gdb.btrace/x86-tailcall.S: Renamed into ...
4754 * gdb.btrace/x86_64-tailcall.S: ... this.
4755 * gdb.btrace/i686-tailcall.S: New.
4756 * gdb.btrace/x86-tailcall.c: Renamed into ...
4757 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4758 separate statements. Update test.
4759 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4760 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4761 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4762 * gdb.btrace/tailcall.exp: Choose test file based on target.
4763 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4764
11cc1b74
MM
47652015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4766
4767 * gdb.btrace/exception.exp: Increase BTS buffer size.
4768
a25d8bf9
PA
47692015-03-24 Pedro Alves <palves@redhat.com>
4770
4771 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4772
856e7dd6
PA
47732015-03-24 Pedro Alves <palves@redhat.com>
4774
4775 * gdb.threads/schedlock.exp (test_step): No longer expect that
4776 "set scheduler-locking step" with "next" over a function call runs
4777 threads unlocked.
4778
ad235a41
AT
47792015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4780
4781 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4782
15630549
AT
47832015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4784
4785 PR breakpoints/16466
4786 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4787 * gdb.mi/mi-pending.c (thread_func): New function.
4788 (int main): Add threading support required.
4789 * gdb.mi/mi-pending.exp: Add tests for this issue.
4790 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4791 (pendfunc2): Remove stdio dependency.
4792 * gdb.mi/mi-pendshr2.c: New file.
4793
693dca06
KS
47942015-03-23 Keith Seitz <keiths@redhat.com>
4795
4796 * gdb.linespec/keywords.c: New file.
4797 * gdb.linespec/keywords.exp: New file.
4798
7e993ebf
KS
47992015-03-23 Keith Seitz <keiths@redhat.com>
4800
4801 PR gdb/18021
4802 * gdb.dwarf2/staticvirtual.exp: New test.
4803
bc23328c
JK
48042015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4805
4806 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4807 * README: Remove HP-UX and gdb.hp.
4808 (configuration):
4809 * configure: Regenerate.
4810 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4811 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4812 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4813 gdb.hp/gdb.defects/Makefile.
4814 * gdb.hp/Makefile.in: File deleted.
4815 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4816 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4817 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4818 * gdb.hp/gdb.aCC/run.c: File deleted.
4819 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4820 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4821 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4822 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4823 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4824 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4825 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4826 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4827 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4828 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4829 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4830 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4831 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4832 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4833 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4834 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4835 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4836 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4837 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4838 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4839 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4840 * gdb.hp/gdb.compat/average.c: File deleted.
4841 * gdb.hp/gdb.compat/sum.c: File deleted.
4842 * gdb.hp/gdb.compat/xdb.c: File deleted.
4843 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4844 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4845 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4846 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4847 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4848 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4849 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4850 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4851 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4852 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4853 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4854 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4855 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4856 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4857 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4858 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4859 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4860 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4861 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4862 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4863 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4864 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4865 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4866 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4867 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4868 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4869 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4870 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4871 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4872 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4873 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4874 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4875 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4876 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4877 * gdb.hp/tools/odump: File deleted.
4878
8bf3b159
PA
48792015-03-19 Pedro Alves <palves@redhat.com>
4880
4881 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4882 (saw_thread_3): New globals.
4883 (top level): Increment them when an event for the corresponding
4884 thread is seen.
4885 (no thread starvation): New test.
4886
eb54c8bf
PA
48872015-03-19 Pedro Alves <palves@redhat.com>
4888
4889 * gdb.threads/continue-pending-status.c: New file.
4890 * gdb.threads/continue-pending-status.exp: New file.
4891
32d2e5d6
PA
48922015-03-18 Pedro Alves <palves@redhat.com>
4893
4894 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4895 Use gdb_is_target_remote instead of is_remote. Use
4896 gdb_test_multiple instead of gdb_expect. Exit early if
4897 gdb_test_multiple hits its internal matches. Tighten stepi tests
4898 expected output. Fail on exit with any signal, instead of just
4899 SIGILL.
4900
f68f11b7
YQ
49012015-03-18 Yao Qi <yao.qi@linaro.org>
4902
4903 PR tdep/18107
4904 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4905 variable.
4906 * gdb.base/catch-syscall.exp: Don't skip it on
4907 aarch64*-*-linux* target. Remove elements in all_syscalls.
4908 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4909 target.
4910 (setup_all_syscalls): New proc.
4911
ca5fd19b
YQ
49122015-03-16 Yao Qi <yao.qi@linaro.org>
4913
4914 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4915 (top level): Skip tests if valid_addr_p returns false for
4916 $cmd1 or $cmd2.
4917
85642ba0
AW
49182015-03-11 Andy Wingo <wingo@igalia.com>
4919
4920 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4921
e03f9645
YQ
49222015-03-11 Yao Qi <yao.qi@linaro.org>
4923
4924 * gdb.base/catch-syscall.exp: Fix typo in comments.
4925
5d0962b2
YQ
49262015-03-11 Yao Qi <yao.qi@linaro.org>
4927
4928 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4929
b2df3cef
PA
49302015-03-09 Pedro Alves <palves@redhat.com>
4931
4932 * dg-extract-results.py: Delete.
4933
ef878e53
PA
49342015-03-09 Pedro Alves <palves@redhat.com>
4935
4936 Merge dg-extract-results.sh from GCC upstream (r218843).
4937
4938 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4939 * dg-extract-results.sh: Use --text with grep to avoid issues with
4940 binary files. Fall back to cat -v, if that doesn't work.
4941
9494d219
PA
49422015-03-05 Pedro Alves <palves@redhat.com>
4943
4944 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4945
a8d9763a
SM
49462015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4947
4948 * lib/mi-support.exp (mi_expect_interrupt): Accept
4949 alternative event for when in all-stop mode.
4950
be9957b8
PA
49512015-03-04 Pedro Alves <palves@redhat.com>
4952
4953 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4954
d57be0f4 49552015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
4956
4957 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4958
c214c7cf
AA
49592015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4960
4961 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4962 regexps for GDB's current line display, accept a hex address
4963 preceding the line number.
4964
6d74a497
AA
49652015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4966
4967 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4968 the 'arch1' variable for "s390*-linux*" targets.
4969
511aee7c
PA
49702015-03-04 Pedro Alves <palves@redhat.com>
4971
4972 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4973 (main): Pass missing retval argument to pthread_join call.
4974
95e50b27
PA
49752015-03-02 Pedro Alves <palves@redhat.com>
4976
4977 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4978 (top level): Call do_test with non-stop as well.
4979
28054d69
PA
49802015-03-02 Pedro Alves <palves@redhat.com>
4981
4982 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4983 -1.
4984
4fa5d7b4
AA
49852015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4986
4987 * gdb.arch/s390-vregs.exp: New test.
4988 * gdb.arch/s390-vregs.S: New file.
4989
97c18565
PA
49902015-02-27 Pedro Alves <palves@redhat.com>
4991
4992 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4993 call to catch_command_errors.
4994 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4995 catch_command_errors.
4996
a37bfa30
PA
49972015-02-27 Pedro Alves <palves@redhat.com>
4998
4999 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
5000 "true" for boolean result.
5001 * gdb.gdb/selftest.exp (test_with_self): Also accept full
5002 prototype of main.
5003
6f98576f
PA
50042015-02-27 Pedro Alves <palves@redhat.com>
5005
5006 * lib/unbuffer_output.c: New file.
5007 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
5008 (main): Call gdb_unbuffer_output.
5009
eba5ab56
YQ
50102015-02-27 Yao Qi <yao.qi@linaro.org>
5011
5012 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
5013 target.
5014
0def5aaa
DE
50152015-02-26 Doug Evans <dje@google.com>
5016
5017 * gdb.cp/class2.cc (Dbase, D): New classes.
5018 (main): New local delta.
5019 * gdb.cp/class2.exp: Test printing delta.
5020 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
5021 (dynbar): New global.
5022 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
5023
081a1c2c
JK
50242015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5025
5026 * gdb.compile/compile-ifunc.c: New file.
5027 * gdb.compile/compile-ifunc.exp: New file.
5028
2f41223f
AT
50292015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
5030
5031 * gdb.base/structs.exp: Check for correct struct on finish.
5032
03eddd80
YQ
50332015-02-26 Yao Qi <yao.qi@linaro.org>
5034
5035 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
5036 is zero.
5037
80c57053
JK
50382015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5039
5040 * gdb.arch/cordic.ko.bz2: New file.
5041 * gdb.arch/cordic.ko.debug.bz2: New file.
5042 * gdb.arch/ppc64-symtab-cordic.exp: New file.
5043
21613c12
YQ
50442015-02-25 Yao Qi <yao.qi@linaro.org>
5045
5046 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
5047 aarch64*-*-* target.
5048
d8b901ed
PA
50492015-02-23 Pedro Alves <palves@redhat.com>
5050
5051 * lib/gdb.exp (delete_breakpoints): Rewrite using
5052 gdb_test_multiple.
5053
e5b85ead
PA
50542015-02-23 Pedro Alves <palves@redhat.com>
5055
5056 * gdb.base/info-os.c: Include stdlib.h.
5057
85c3a371
DE
50582015-02-22 Doug Evans <xdje42@gmail.com>
5059
5060 PR symtab/17855
5061 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
5062 is read after symbols have been re-read.
5063 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
5064 * gdb.ada/exec_changed/second.adb (Second): Ditto.
5065
96553a0c
DE
50662015-02-21 Doug Evans <dje@google.com>
5067
5068 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
5069
97a0c697
JK
50702015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5071
5072 PR corefiles/17808
5073 * gdb.arch/i386-biarch-core.core.bz2: New file.
5074 * gdb.arch/i386-biarch-core.exp: New file.
5075
a47cd6e9
PA
50762015-02-21 Pedro Alves <palves@redhat.com>
5077
5078 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
5079 runto_main fails.
5080
c5facdc4
PA
50812015-02-20 Pedro Alves <palves@redhat.com>
5082
5083 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
5084 info probes.
5085
2db9a427
PA
50862015-02-20 Pedro Alves <palves@redhat.com>
5087
5088 * gdb.threads/multi-create-ns-info-thr.exp: New file.
5089
60fb7e9e
PA
50902015-02-20 Pedro Alves <palves@redhat.com>
5091
5092 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
5093 clean_restart before gdb_target_supports_trace.
5094
5c5019c2
PA
50952015-02-20 Pedro Alves <palves@redhat.com>
5096
5097 PR threads/18006
5098 * gdb.threads/clone-thread_db.c: New file.
5099 * gdb.threads/clone-thread_db.exp: New file.
5100
c9587f88
AT
51012015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
5102
5103 PR breakpoints/16812
5104 * gdb.base/catch-gdb-caused-signals.c: New file.
5105 * gdb.base/catch-gdb-caused-signals.exp: New file.
5106
f6a88844
JM
51072015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
5108
5109 * configure: Regenerated.
5110 * configure.ac: Use GDB_AC_TRANSFORM.
5111 * aclocal.m4: sinclude ../transform.m4.
5112
497c491b
JM
51132015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5114
5115 * lib/dtrace.exp: New file.
5116 * gdb.base/dtrace-probe.exp: Likewise.
5117 * gdb.base/dtrace-probe.d: Likewise.
5118 * gdb.base/dtrace-probe.c: Likewise.
5119 * lib/pdtrace.in: Likewise.
5120 * configure.ac: Output variables with the transformed names of
5121 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
5122 * configure: Regenerated.
5123
03e98035
JM
51242015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5125
5126 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
5127 expected message when trying to access $_probe_* convenience
5128 variables while not on a probe.
5129
63cc30e9
JK
51302015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5131
5132 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
5133
0703599a
PA
51342015-02-11 Pedro Alves <pedro@codesourcery.com>
5135
5136 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
5137 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
5138
7e60a48e
DE
51392015-02-10 Doug Evans <xdje42@gmail.com>
5140
5141 * lib/gdb.exp (gdb_load): Always return a result.
5142
01b088bc
PA
51432015-02-10 Pedro Alves <palves@redhat.com>
5144
5145 * gdb.threads/signal-sigtrap.c: New file.
5146 * gdb.threads/signal-sigtrap.exp: New file.
5147
b05ec7a5
AT
51482015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
5149
5150 * gdb.trace/no-attach-trace.c: New file.
5151 * gdb.trace/no-attach-trace.exp: New file.
5152
a2c2acaf
MW
51532015-02-09 Mark Wielaard <mjw@redhat.com>
5154
5155 * gdb.dwarf2/atomic.c: New file.
5156 * gdb.dwarf2/atomic-type.exp: Likewise.
5157
31fd9caa
MM
51582015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5159
5160 * gdb.btrace/buffer-size.exp: Update "info record" output.
5161 * gdb.btrace/delta.exp: Update "info record" output.
5162 * gdb.btrace/enable.exp: Update "info record" output.
5163 * gdb.btrace/finish.exp: Update "info record" output.
5164 * gdb.btrace/instruction_history.exp: Update "info record" output.
5165 * gdb.btrace/next.exp: Update "info record" output.
5166 * gdb.btrace/nexti.exp: Update "info record" output.
5167 * gdb.btrace/step.exp: Update "info record" output.
5168 * gdb.btrace/stepi.exp: Update "info record" output.
5169 * gdb.btrace/nohist.exp: Update "info record" output.
5170
d33501a5
MM
51712015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5172
5173 * gdb.btrace/buffer-size: New.
5174
f4abbc16
MM
51752015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5176
5177 * gdb.btrace/delta.exp: Update "info record" output.
5178 * gdb.btrace/enable.exp: Update "info record" output.
5179 * gdb.btrace/finish.exp: Update "info record" output.
5180 * gdb.btrace/instruction_history.exp: Update "info record" output.
5181 * gdb.btrace/next.exp: Update "info record" output.
5182 * gdb.btrace/nexti.exp: Update "info record" output.
5183 * gdb.btrace/step.exp: Update "info record" output.
5184 * gdb.btrace/stepi.exp: Update "info record" output.
5185 * gdb.btrace/nohist.exp: Update "info record" output.
5186
b9d61307
SM
51872015-02-06 Simon Marchi <simon.marchi@ericsson.com>
5188
5189 PR gdb/15678
5190 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
5191
e584fdbc
PA
51922015-02-06 Pedro Alves <palves@redhat.com>
5193
5194 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
5195 macro.
5196 (seconds_left, again): New globals.
5197 (main): Wait seconds_left in a 1-second sleep loop instead of
5198 sleeping 180 seconds. If 'again' is set, reset the seconds
5199 counter.
5200 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
5201 'again' in the inferior before detaching. Print the seconds left.
5202 (options): New global.
5203 (top level): Build program with -DTIMEOUT=$timeout.
5204
77f41761
PA
52052015-02-06 Pedro Alves <palves@redhat.com>
5206
5207 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
5208 determine how many seconds to pass to 'alarm'.
5209 * gdb.base/gdb-sigterm.exp (top level): Build program with
5210 -DTIMEOUT=$timeout.
5211 (do_test): Return success/failure indication. Add more verbose
5212 logging. Don't fail if 200 single steps are seen. Instead, fail
5213 when the test times out.
5214 (passes): New global.
5215 (top level): Break the testing loop if testing fails on any
5216 iteration. Use gdb_assert.
5217
b9394193
DB
52182015-02-04 Don Breazeal <donb@codesourcery.com>
5219
5220 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
5221 and initialize them.
5222 (ipc_cleanup): New function.
5223 (main): Don't declare shmid, semid, and msqid. Add a call to
5224 atexit so that we call ipc_cleanup on exit.
5225
42d9e528
PA
52262015-02-04 Pedro Alves <palves@redhat.com>
5227
5228 * boards/native-extended-gdbserver.exp: Remove any target variant
5229 specifications from the board name before clearing the isremote
5230 flag from board_info.
5231
ae6ae975
DE
52322015-01-31 Doug Evans <xdje42@gmail.com>
5233
5234 * gdb.base/maint.exp <maint print type argc>: Update expected output.
5235
cfb069a8
GB
52362015-01-31 Gary Benson <gbenson@redhat.com>
5237
5238 * gdb.base/completion.exp: Disable completion limiting for
5239 existing tests. Add new tests to check completion limiting.
5240 * gdb.linespec/ls-errs.exp: Disable completion limiting.
5241
5dd31d79
DE
52422015-01-31 Doug Evans <xdje42@gmail.com>
5243
5244 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
5245
9f050062
DE
52462015-01-31 Doug Evans <xdje42@gmail.com>
5247
5248 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
5249 entries. Duplicate file section script entries.
5250 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
5251 inlined entries. Add test for safe-path rejection.
5252 * gdb.python/py-section-script.c: Add duplicate inlined section script
5253 entries. Duplicate file section script entries.
5254 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
5255 inlined entries. Add test for safe-path rejection.
5256
df25ebbd
JB
52572015-01-29 Joel Brobecker <brobecker@adacore.com>
5258
5259 * gdb.ada/disc_arr_bound: New testcase.
5260
4a0ca9ec
JB
52612015-01-29 Joel Brobecker <brobecker@adacore.com>
5262
5263 * gdb.ada/mi_var_array: New testcase.
5264
3a8b707a
DE
52652015-01-27 Doug Evans <dje@google.com>
5266
5267 * gdb.python/py-objfile.exp: Add tests for objfile.username.
5268 Add test for objfile.filename, objfile.username after objfile
5269 has been unloaded.
5270
f8313f6e
JB
52712015-01-26 Joel Brobecker <brobecker@adacore.com>
5272
5273 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
5274 the second test to print the name attribute of value
5275 returned by the call to gdb.lookup_type, and adjust
5276 the expected output accordingly.
5277
37bc665e
MW
52782015-01-25 Mark Wielaard <mjw@redhat.com>
5279
5280 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
5281 * gdb.base/disp-step-fork.c: Include unistd.h.
5282 * gdb.base/siginfo-obj.c: Include stdio.h.
5283 * gdb.base/siginfo-thread.c: Likewise.
5284 * gdb.mi/non-stop.c: Include unistd.h.
5285 * gdb.mi/nsthrexec.c: Include stdio.h.
5286 * gdb.mi/pthreads.c: Include unistd.h.
5287 * gdb.modula2/unbounded1.c (main): Declare returns int.
5288 * gdb.reverse/consecutive-reverse.c: Likewise.
5289 * gdb.threads/create-fail.c: Include unistd.h.
5290 * gdb.threads/killed.c: Likewise.
5291 * gdb.threads/linux-dp.c: Likewise.
5292 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
5293 * gdb.threads/non-ldr-exc-2.c: Likewise.
5294 * gdb.threads/non-ldr-exc-3.c: Likewise.
5295 * gdb.threads/non-ldr-exc-4.c: Likewise.
5296 * gdb.threads/pthreads.c: Include unistd.h.
5297 (main): Declare returns int.
5298 * gdb.threads/tls-main.c (foo): New declaration.
5299 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
5300
f7e5394d
SM
53012015-01-23 Simon Marchi <simon.marchi@ericsson.com>
5302
5303 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
5304 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
5305
743649fd
MW
53062015-01-15 Mark Wielaard <mjw@redhat.com>
5307
5308 * gdb.base/noreturn-return.c: New file.
5309 * gdb.base/noreturn-return.exp: New file.
5310 * gdb.base/noreturn-finish.c: New file.
5311 * gdb.base/noreturn-finish.exp: New file.
5312
198297aa
PA
53132015-01-23 Pedro Alves <palves@redhat.com>
5314
5315 * gdb.threads/continue-pending-after-query.c: New file.
5316 * gdb.threads/continue-pending-after-query.exp: New file.
5317
717cf30c
AG
53182015-01-22 Anders Granlund <anders.granlund@ericsson.com>
5319 Simon Marchi <simon.marchi@ericsson.com>
5320
5321 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
5322 * gdb.base/valgrind-db-attach.exp: Same.
5323 * gdb.base/valgrind-infcall.exp: Same.
5324 * lib/mi-support.exp (default_mi_gdb_start): Same.
5325 * lib/prompt.exp (default_prompt_gdb_start): Same.
5326 * lib/gdb.exp (default_gdb_spawn): Same.
5327 (gdb_interact): New.
5328
5329
4b62a76e
JK
53302015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5331
5332 * gdb.compile/compile.exp (pointer to jit function): New test.
5333
b4cdae6f
WW
53342015-01-17 Wei-cheng Wang <cole945@gmail.com>
5335
5336 * lib/gdb.exp (supports_process_record): Return true for
5337 powerpc*-*-linux*.
5338 (supports_reverse): Likewise.
5339
d221e7ef
DB
53402015-01-15 Don Breazeal <donb@codesourcery.com>
5341
5342 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5343 instead of checking whether the target board is remote and
5344 use spawn_wait_for_attach instead of exec/sleep.
5345 * gdb.base/attach-twice.exp: Likewise.
5346
bafffb51
JB
53472015-01-15 Joel Brobecker <brobecker@adacore.com>
5348
5349 * gdb.ada/var_arr_attrs: New testcase.
5350
5589af0e
PA
53512015-01-14 Pedro Alves <palves@redhat.com>
5352 Joel Brobecker <brobecker@adacore.com>
5353
5354 PR gdb/17525
5355 * gdb.base/bp-cmds-execution-x-script.c: New file.
5356 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5357 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5358
6c400b59
PA
53592015-01-14 Pedro Alves <palves@redhat.com>
5360
5361 PR cli/17828
5362 * gdb.base/batch-preserve-term-settings.c: New file.
5363 * gdb.base/batch-preserve-term-settings.exp: New file.
5364
e02c96a7
DE
53652015-01-13 Doug Evans <dje@google.com>
5366
5367 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5368 binary.
5369
576fd14c
JB
53702015-01-13 Joel Brobecker <brobecker@adacore.com>
5371
5372 * Makefile.in (clean mostlyclean): Do not delete *.py.
5373
04dccad0
JB
53742015-01-13 Joel Brobecker <brobecker@adacore.com>
5375
5376 * gdb.python/py-lookup-type.exp: New file.
5377
3d230f71
PA
53782015-01-12 Pedro Alves <palves@redhat.com>
5379
5380 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5381 restore GDBFLAGS before returning.
5382
7e67715d
JK
53832015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5384
5385 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5386 is_amd64_regs_target and is_x86_like_target.
5387
f2e0d4b4
DE
53882015-01-11 Doug Evans <xdje42@gmail.com>
5389
5390 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5391 is given without an explicit form.
5392 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5393 attributes.
5394 * gdb.dwarf/corrupt.exp: Ditto.
5395 * gdb.dwarf2/enum-type.exp: Ditto.
5396 * gdb.trace/entry-values.exp: Ditto.
5397 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5398
439250fb
DE
53992015-01-11 Doug Evans <xdje42@gmail.com>
5400
5401 PR gdb/15830
5402 * gdb.base/maint.exp: Remove references to "maint demangle".
5403 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5404 Add tests for explicitly specifying language to demangle.
5405 * gdb.dlang/demangle.exp: Ditto.
5406
ede9f622
PA
54072015-01-09 Pedro Alves <palves@redhat.com>
5408
5409 * gdb.threads/non-stop-fair-events.c: New file.
5410 * gdb.threads/non-stop-fair-events.exp: New file.
5411
a7b796db
PA
54122015-01-09 Pedro Alves <palves@redhat.com>
5413
5414 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5415 the global scope. Set a breakpoint after all threads are started
5416 rather than stepping over two source lines. Expect the prompt.
5417 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5418 global.
5419 (NUM): Now 15.
5420 (main): Use threads_started_barrier to wait for all threads to
5421 start. Main thread no longer calls thread_function. Exit after
5422 180 seconds.
5423 (loop): New function.
5424 (thread_function): Wait on threads_started_barrier barrier. Call
5425 'loop' at each iteration.
5426 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5427 threads have started, instead of hardcoding number of "next"
5428 steps. Use an access watchpoint instead of a write watchpoint.
5429
9665ffdd
PA
54302015-01-09 Pedro Alves <palves@redhat.com>
5431
5432 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5433 (thread_func): Wait on barrier.
5434 (main): Wait for all threads to start before stopping GDB.
5435 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5436 global.
5437 (thread1_func, thread2_func): Wait on barrier.
5438 (main): Wait for all threads to start before stopping GDB.
5439 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5440 New global.
5441 (thread1_func, thread2_func): Wait on barrier.
5442 (main): Wait for all threads to start before stopping GDB.
5443
c945a99f
PA
54442015-01-09 Pedro Alves <palves@redhat.com>
5445
5446 * gdb.threads/attach-many-short-lived-threads.c: New file.
5447 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5448
c1a747c1
PA
54492014-01-09 Pedro Alves <palves@redhat.com>
5450
5451 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5452 instead of to thread 2.
5453 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5454 Add barrier around each pthread_create call instead of around all
5455 calls.
5456 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5457 Set a break on thread_function and have the child threads hit it
5458 one at at a time.
5459
60b3033e
PA
54602015-01-09 Pedro Alves <palves@redhat.com>
5461
5462 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5463 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5464 false.
5465 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5466 checking whether the target board is remote.
5467 * gdb.multi/multi-attach.exp: Likewise.
5468 * gdb.python/py-sync-interp.exp: Likewise.
5469 * gdb.server/ext-attach.exp: Likewise.
5470 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5471 tests that need to attach, instead of checking whether the target
5472 board is remote at the top of the file.
5473
acc018ac
YQ
54742015-01-08 Yao Qi <yao@codesourcery.com>
5475
5476 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5477
50a18af8
JK
54782015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5479
5480 Fix testcase compilation.
5481 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5482
8503d6e1
JB
54832015-01-06 Joel Brobecker <brobecker@adacore.com>
5484
5485 * gdb.python/py-type.exp: Add a couple test about empty
5486 array creation, and negative-length array creation.
5487
cc73dbcc
DE
54882015-01-02 Doug Evans <xdje42@gmail.com>
5489
5490 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5491
0300bbc7
DE
54922015-01-02 Doug Evans <dje@google.com>
5493
5494 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5495
9d85a0ec
YQ
54962014-12-29 Yao Qi <yao@codesourcery.com>
5497
5498 * gdb.trace/entry-values.exp: Update comments. Rename variable
5499 bar_call_foo to returned_from_foo.
5500
87186c6a
MMN
55012014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5502
5503 PR gdb/17394
5504 * gdb.linespec/break-asm-file.c: New file.
5505 * gdb.linespec/break-asm-file.exp: New file.
5506 * gdb.linespec/break-asm-file0.s: New file.
5507 * gdb.linespec/break-asm-file1.s: New file.
5508
1bab7383
YQ
55092014-12-18 Nigel Stephens <nigel@mips.com>
5510 Maciej W. Rozycki <macro@codesourcery.com>
5511
5512 * gdb.base/float.exp: Handle the new output from "info float" on
5513 MIPS targets.
5514
1bc1068a
JK
55152014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5516
5517 Fix MinGW compilation.
5518 * gdb.compile/compile-ops.exp: Update untested message if
5519 !skip_compile_feature_tests.
5520 * gdb.compile/compile-setjmp.exp: Likewise.
5521 * gdb.compile/compile-tls.exp: Likewise.
5522 * gdb.compile/compile.exp: Likewise.
5523 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5524 supported on this host".
5525
b6615d10
DE
55262014-12-16 Doug Evans <xdje42@gmail.com>
5527
5528 * boards/stabs.exp: New file.
5529
25dda427
AA
55302014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5531
5532 * gdb.base/completion.exp: Adjust to format changes of "maint
5533 print user-registers".
5534
bf330350
CU
55352014-12-16 Catalin Udma <catalin.udma@freescale.com>
5536
5537 PR server/17457
5538 * gdb.arch/aarch64-fp.c: New file.
5539 * gdb.arch/aarch64-fp.exp: New file.
5540
395cf596
SDJ
55412014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5542
5543 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5544 r210637, r210913, r211666, r215400, r215817).
5545
5546 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5547 * dg-extract-results.py: New file.
5548 * dg-extract-results.sh: Use it if the environment seems
5549 suitable.
5550
5551 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5552
5553 * dg-extract-results.py (parse_run): Handle warnings that
5554 are printed before a test harness is run.
5555
5556 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5557
5558 * dg-extract-results.py (Named): Remove __cmp__ method.
5559 (output_variation): Use a key to sort variation.harnesses.
5560
5561 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5562
5563 * dg-extract-results.py: For Python 3, force sys.stdout to
5564 handle surrogate escape sequences.
5565 (safe_open): New function.
5566 (output_segment, main): Use it.
5567
5568 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5569
5570 * dg-extract-results.py (Prog.result_re): Include options
5571 in test name.
5572
5573 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5574
5575 * dg-extract-results.py (output_variation): Always sort if
5576 do_sum.
5577
e882ef3c
SM
55782014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5579
5580 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5581 as long as we get pagination notifications.
5582
4992aa20
JM
55832014-12-15 Jason Merrill <jason@redhat.com>
5584
5585 * Makefile.in (check-gdb.%): Restore.
5586 * README: Mention it.
5587
c1b5a1a6
JB
55882014-12-13 Joel Brobecker <brobecker@adacore.com>
5589
5590 * gdb.ada/str_uninit: New testcase.
5591
5537b577
JK
55922014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5593
5594 PR symtab/17642
5595 * gdb.base/vla-stub-define.c: New file.
5596 * gdb.base/vla-stub.c: New file.
5597 * gdb.base/vla-stub.exp: New file.
5598
bb2ec1b3
TT
55992014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5600 Jan Kratochvil <jan.kratochvil@redhat.com>
5601 Tom Tromey <tromey@redhat.com>
5602
5603 * configure.ac: Add gdb.compile/.
5604 * configure: Regenerate.
5605 * gdb.compile/Makefile.in: New file.
5606 * gdb.compile/compile-ops.exp: New file.
5607 * gdb.compile/compile-ops.c: New file.
5608 * gdb.compile/compile-tls.c: New file.
5609 * gdb.compile/compile-tls.exp: New file.
5610 * gdb.compile/compile-constvar.S: New file.
5611 * gdb.compile/compile-constvar.c: New file.
5612 * gdb.compile/compile-mod.c: New file.
5613 * gdb.compile/compile-nodebug.c: New file.
5614 * gdb.compile/compile-setjmp-mod.c: New file.
5615 * gdb.compile/compile-setjmp.c: New file.
5616 * gdb.compile/compile-setjmp.exp: New file.
5617 * gdb.compile/compile-shlib.c: New file.
5618 * gdb.compile/compile.c: New file.
5619 * gdb.compile/compile.exp: New file.
5620 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5621
4ff709eb
TT
56222014-12-12 Tom Tromey <tromey@redhat.com>
5623
5624 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5625 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5626
6dddd6a5
DE
56272014-12-12 Doug Evans <dje@google.com>
5628
5629 * lib/gdb-python.exp (get_python_valueof): New function.
5630 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5631
71c24708
AA
56322014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5633
5634 * gdb.base/completion.exp: Add test for completion of "info
5635 registers ".
5636
3e29f34a
MR
56372014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5638
5639 * gdb.base/func-ptrs.c: New file.
5640 * gdb.base/func-ptrs.exp: New file.
5641
fc126975
SM
56422014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5643
5644 PR breakpoints/17012
5645 * gdb.base/dprintf-detach.c: New file.
5646 * gdb.base/dprintf-detach.exp: New file.
5647
0a46d518
SM
56482014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5649
5650 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5651 * lib/gdb.exp (target_is_gdbserver): New procedure.
5652
a0be3e44
DE
56532014-12-08 Doug Evans <dje@google.com>
5654
5655 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5656
df1b803a
YQ
56572014-12-05 Yao Qi <yao@codesourcery.com>
5658
5659 * gdb.guile/scm-error.exp: Remove the third argument to
5660 gdb_remote_download.
5661 * gdb.guile/scm-frame-args.exp: Likewise.
5662 * gdb.guile/scm-section-script.exp: Likewise.
5663
ddb9f679
YQ
56642014-12-05 Yao Qi <yao@codesourcery.com>
5665
5666 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5667
86e4ed39
DE
56682014-12-04 Doug Evans <dje@google.com>
5669
5670 * gdb.python/py-objfile.exp: Add tests for
5671 objfile.add_separate_debug_file.
5672
7c50a931
DE
56732014-12-04 Doug Evans <dje@google.com>
5674
5675 * lib/gdb.exp (get_build_id): New function.
5676 (build_id_debug_filename_get): Rewrite to use it.
5677 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5678
621661e3
MR
56792014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5680
5681 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5682 `method(long)', not just 0x0.
5683 * gdb.cp/nsalias.exp: Align code labels to 4.
5684 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5685 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5686 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5687 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5688 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5689 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5690
29f0c3b7
DE
56912014-12-02 Doug Evans <dje@google.com>
5692
e1e061e7 5693 PR symtab/17602
29f0c3b7 5694 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 5695 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
5696 * gdb.cp/anon-ns.exp: Update.
5697
162078c8
NB
56982014-12-02 Nick Bull <nicholaspbull@gmail.com>
5699
5700 * gdb.python/py-events.py (inferior_call_handler): New.
5701 (register_changed_handler, memory_changed_handler): New.
5702 (test_events.invoke): Register new handlers.
5703 * gdb.python/py-events.exp: Add tests for inferior call,
5704 memory_changed and register_changed events.
5705
fdb09caf
AA
57062014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5707
5708 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5709 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5710 if the linker doesn't understand this.
5711
55cfb2c4
SM
57122014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5713
5714 * gdb.python/python.exp: Change expected reply to help().
5715
9e8cd6df
YQ
57162014-12-01 Yao Qi <yao@codesourcery.com>
5717
5718 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5719 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5720 * configure: Re-generated.
5721
6c659fc2
SC
57222014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5723
5724 * gdb.cp/chained-calls.cc: New file.
5725 * gdb.cp/chained-calls.exp: New file.
5726 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5727
d7fc3181
SM
57282014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5729
5730 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5731 * gdb.dwarf2/symtab-producer.exp: Same.
5732 * gdb.gdb/python-interrupts.exp: Same.
5733 * gdb.gdb/python-selftest.exp: Same.
5734 * gdb.python/py-linetable.exp: Same.
5735 * gdb.python/py-type.exp: Same.
5736 * gdb.python/py-value-cc.exp: Same.
5737 * gdb.python/py-value.exp: Same.
5738
10e79639
YQ
57392014-11-28 Yao Qi <yao@codesourcery.com>
5740
5741 * gdb.base/break-probes.exp: Match library name prefixed with
5742 sysroot.
5743
f28a0564
SM
57442014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5745
5746 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5747 test expected output. Add parentheses for the call to print.
5748 Remove L suffix from integers.
5749
3fe1ce1d
DE
57502014-11-26 Doug Evans <dje@google.com>
5751
5752 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5753
84429e27
YQ
57542014-11-22 Yao Qi <yao@codesourcery.com>
5755
5756 * gdb.trace/entry-values.c: Remove asms.
5757 (foo): Add foo_label.
5758 (bar): Add bar_label.
5759 * gdb.trace/entry-values.exp: Remove code computing foo's
5760 length and bar's length.
5761 (Dwarf::assemble): Invoke function_range for bar and use
5762 MACRO_AT_func for foo.
5763
26741859
YQ
57642014-11-22 Yao Qi <yao@codesourcery.com>
5765
5766 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5767 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5768 Use .Lgcc43_procstart instead of gcc43.
5769
45e44d27
JB
57702014-11-21 Joel Brobecker <brobecker@adacore.com>
5771
5772 * gdb.ada/n_arr_bound: New testcase.
5773
458c8db8
SDJ
57742014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5775
5776 PR breakpoints/10737
5777 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5778 test_catch_syscall_multi_arch.
5779 (test_catch_syscall_multi_arch): New function.
5780
43f3e411
DE
57812014-11-20 Doug Evans <xdje42@gmail.com>
5782
5783 * gdb.base/maint.exp: Update expected output.
5784
0d7b2549
AA
57852014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5786
5787 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5788 4-byte instruction on S390.
5789
8908fca5
JB
57902014-11-19 Joel Brobecker <brobecker@adacore.com>
5791
5792 * gdb.ada/arr_arr: New testcase.
5793
4a46959e
JB
57942014-11-19 Joel Brobecker <brobecker@adacore.com>
5795
5796 * gdb.ada/pkd_arr_elem: New Testcase.
5797
470e2f4e
LM
57982014-11-18 Luis Machado <lgustavo@codesourcery.com>
5799
5800 * gdb.reverse/break-precsave: Expect completion message for
5801 core file reads.
5802 * gdb.reverse/consecutive-precsave.exp: Likewise.
5803 * gdb.reverse/finish-precsave.exp: Likewise.
5804 * gdb.reverse/i386-precsave.exp: Likewise.
5805 * gdb.reverse/machinestate-precsave.exp: Likewise.
5806 * gdb.reverse/sigall-precsave.exp: Likewise.
5807 * gdb.reverse/solib-precsave.exp: Likewise.
5808 * gdb.reverse/step-precsave.exp: Likewise.
5809 * gdb.reverse/until-precsave.exp: Likewise.
5810 * gdb.reverse/watch-precsave.exp: Likewise.
5811
a267f3ad
AA
58122014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5813
5814 * gdb.base/bp-permanent.c: Include unistd.h.
5815 * gdb.python/py-framefilter-mi.c (main): Add return type.
5816 * gdb.python/py-framefilter.c (main): Likewise.
5817 * gdb.trace/actions-changed.c (main): Likewise.
5818
12084a9a
AA
58192014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5820
5821 * gdb.mi/until.c: Add eye-catchers.
5822 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5823 line numbers.
5824
dc7e1a77
AA
58252014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5826
5827 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5828 function header variants in break1.c.
5829 * gdb.base/ena-dis-br.exp: Likewise.
5830 * gdb.base/hbreak2.exp: Likewise.
5831 * gdb.reverse/until-precsave.exp: Drop references to removed
5832 non-prototype function header variants in ur1.c.
5833 * gdb.reverse/until-reverse.exp: Likewise.
5834
41c77605
PM
58352014-11-17 Petr Machata <pmachata@redhat.com>
5836
5837 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5838 ${_cu_offset_size} bytes abbrev offset.
5839
34248c3a
DE
58402014-11-15 Doug Evans <xdje42@gmail.com>
5841
5842 PR symtab/17559
5843 * gdb.base/line-symtabs.exp: New file.
5844 * gdb.base/line-symtabs.c: New file.
5845 * gdb.base/line-symtabs.h: New file.
5846
646da059
YQ
58472014-11-14 Yao Qi <yao@codesourcery.com>
5848
5849 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5850 (func): Add label func_label.
5851 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5852 Replace low_pc and high_pc with MACRO_AT_range.
5853 Replace name, low_pc and high_pc with MACRO_AT_func.
5854
9301ebe6
YQ
58552014-11-14 Yao Qi <yao@codesourcery.com>
5856
5857 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5858 Replace name, low_pc and high_pc with MACRO_AT_func.
5859
f166b542
YQ
58602014-11-14 Yao Qi <yao@codesourcery.com>
5861
5862 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5863 produce debug information.
5864 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5865
0f6e71e3
YQ
58662014-11-14 Yao Qi <yao@codesourcery.com>
5867
5868 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5869 object and get function length.
5870 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5871 with MACRO_AT_func.
5872 (top-level): Replace gdb_compile and clean_restart with
5873 prepare_for_testing.
5874 * gdb.dwarf2/main.c (main): Add label main_label.
5875
876c4df9
YQ
58762014-11-14 Yao Qi <yao@codesourcery.com>
5877
5878 * lib/dwarf.exp (function_range): New procedure.
5879 (Dwarf::_handle_macro_at_func): New procedure.
5880 (Dwarf::_handle_macro_at_range): New procedure.
5881 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5882
02ad9cf1
YQ
58832014-11-14 Yao Qi <yao@codesourcery.com>
5884
5885 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5886 (_handle_attribute): New procedure.
5887
a59add0c
AA
58882014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5889
5890 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5891 * gdb.base/call-sc.c (zed): Likewise.
5892 * gdb.base/checkpoint.c (main): Likewise.
5893 * gdb.base/dump.c (main): Likewise.
5894 * gdb.base/gcore.c (main): Likewise.
5895 * gdb.base/huge.c (main): Likewise.
5896 * gdb.base/multi-forks.c (main): Likewise.
5897 * gdb.base/pr10179-a.c (main): Likewise.
5898 * gdb.base/savedregs.c (main): Likewise.
5899 * gdb.base/sigaltstack.c (main): Likewise.
5900 * gdb.base/siginfo.c (main): Likewise.
5901 * gdb.base/structs.c (zed): Likewise.
5902 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5903 * gdb.mi/mi-syn-frame.c (main): Likewise.
5904 * gdb.mi/until.c (foo, main): Likewise.
5905 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5906 * gdb.base/solib-weak.c (foo): Declare.
5907 * gdb.base/attach-twice.c: Include stdio.h.
5908 * gdb.base/weaklib1.c: Likewise.
5909 * gdb.base/weaklib2.c: Likewise.
5910 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5911 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5912 unistd.h.
5913 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5914 * gdb.mi/mi-exit-code.c: Likewise.
5915 * gdb.base/break-interp-lib.c: Include string.h.
5916 * gdb.base/coremaker.c: Likewise.
5917 * gdb.base/testenv.c: Likewise.
5918 * gdb.python/py-finish-breakpoint.c: Likewise.
5919 * gdb.base/inferior-died.c: Include sys/wait.h.
5920 * gdb.base/fileio.c: Include time.h.
5921 * gdb.base/async-shell.c: Include unistd.h.
5922 * gdb.base/dprintf-non-stop.c: Likewise.
5923 * gdb.base/info-os.c: Likewise.
5924 * gdb.mi/mi-console.c: Likewise.
5925 * gdb.mi/watch-nonstop.c: Likewise.
5926 * gdb.python/py-events.c: Likewise.
5927 * gdb.base/async.c (baz): Move up before its invocation.
5928 * gdb.base/code_elim2.c (my_global_func): Likewise.
5929 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5930 * gdb.base/advance.c (func2): Likewise.
5931
3b5d5997
AA
59322014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5933
5934 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5935 variant.
5936 * gdb.base/annota3.c: Likewise.
5937 * gdb.base/async.c: Likewise.
5938 * gdb.base/average.c: Likewise.
5939 * gdb.base/call-ar-st.c: Likewise.
5940 * gdb.base/call-rt-st.c: Likewise.
5941 * gdb.base/call-sc.c: Likewise.
5942 * gdb.base/call-strs.c: Likewise.
5943 * gdb.base/ending-run.c: Likewise.
5944 * gdb.base/execd-prog.c: Likewise.
5945 * gdb.base/exprs.c: Likewise.
5946 * gdb.base/foll-exec.c: Likewise.
5947 * gdb.base/foll-fork.c: Likewise.
5948 * gdb.base/foll-vfork.c: Likewise.
5949 * gdb.base/funcargs.c: Likewise.
5950 * gdb.base/gcore.c: Likewise.
5951 * gdb.base/jump.c: Likewise.
5952 * gdb.base/langs0.c: Likewise.
5953 * gdb.base/langs1.c: Likewise.
5954 * gdb.base/langs2.c: Likewise.
5955 * gdb.base/mips_pro.c: Likewise.
5956 * gdb.base/nodebug.c: Likewise.
5957 * gdb.base/opaque0.c: Likewise.
5958 * gdb.base/opaque1.c: Likewise.
5959 * gdb.base/recurse.c: Likewise.
5960 * gdb.base/run.c: Likewise.
5961 * gdb.base/scope0.c: Likewise.
5962 * gdb.base/scope1.c: Likewise.
5963 * gdb.base/setshow.c: Likewise.
5964 * gdb.base/setvar.c: Likewise.
5965 * gdb.base/shmain.c: Likewise.
5966 * gdb.base/shr1.c: Likewise.
5967 * gdb.base/shr2.c: Likewise.
5968 * gdb.base/sigall.c: Likewise.
5969 * gdb.base/signals.c: Likewise.
5970 * gdb.base/so-indr-cl.c: Likewise.
5971 * gdb.base/solib2.c: Likewise.
5972 * gdb.base/structs.c: Likewise.
5973 * gdb.base/sum.c: Likewise.
5974 * gdb.base/vforked-prog.c: Likewise.
5975 * gdb.base/watchpoint.c: Likewise.
5976 * gdb.reverse/shr2.c: Likewise.
5977 * gdb.reverse/until-reverse.c: Likewise.
5978 * gdb.reverse/ur1.c: Likewise.
5979 * gdb.reverse/watch-reverse.c: Likewise.
5980
066a77c5
AA
59812014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5982
5983 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5984 variant.
5985 * gdb.base/sepdebug.exp: Drop references to removed code.
5986
4f204ea5
AA
59872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5988
5989 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5990 variant. Preserve original line numbering.
5991 * gdb.base/list1.c: Likewise.
5992
3b377a3a
AA
59932014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5994
5995 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5996 variant.
5997 * gdb.base/break1.c: Likewise.
5998 * gdb.base/break.exp: Drop references to removed code.
5999
e444df73
AA
60002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6001
6002 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
6003 variant.
6004
8008f2a7
AA
60052014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6006
6007 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
6008
a5a06887
AA
60092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6010
6011 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
6012 logic into perform_all_tests() and invoke it with and without
6013 function header prototypes.
6014 (do_function_calls): Remove conditional XFAIL for PR 5318.
6015 (rerun_and_prepare): Remove duplicate code.
6016 (perform_all_tests): New. Main logic moved here.
6017
44dba9b9
AA
60182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6019
6020 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
6021 code guarded by #ifdef NO_PROTOTYPES.
6022 (t_double_many_args): Likewise.
6023 (DEF_FUNC_MANY_ARGS_1): Likewise.
6024 (DEF_FUNC_VALUES_1): Likewise.
6025 (t_structs_ldc): Renamed from t_structs_fc in conditional code
6026 guarded by #ifdef PROTOTYPES.
6027
d1fbcd56
AA
60282014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6029
6030 * gdb.mi/mi-console.c: Add eye-catcher.
6031 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
6032 instead of literal line number.
6033
b0e59b8f
AA
60342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6035
6036 * gdb.base/shr2.c: Add eye-catcher.
6037 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
6038 line number.
6039
78f98cca
AA
60402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6041
6042 * gdb.base/jump.c: Add eye-catchers.
6043 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
6044 numbers.
6045
58fa2af0
AA
60462014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6047
6048 * gdb.base/execd-prog.c: Add eye-catchers.
6049 * gdb.base/foll-exec.c: Likewise.
6050 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
6051 line numbers.
6052
04e5059b
AA
60532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6054
6055 * gdb.base/ending-run.c: Add eye-catchers.
6056 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
6057 literal line numbers.
6058
dbfdb174
AA
60592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6060
6061 * gdb.base/call-rt-st.c: Add eye-catchers.
6062 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
6063 literal line numbers.
6064
888a2ade
AA
60652014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6066
6067 * gdb.base/call-ar-st.c: Add eye-catchers.
6068 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
6069 literal line numbers.
6070
6acc2dde
AA
60712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6072
6073 * gdb.base/average.c: Add eye-catchers.
6074 * gdb.base/sum.c: Likewise.
6075 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
6076 regexps dynamically.
6077
9ecfcd1d
AA
60782014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6079
6080 * gdb.base/solib1.c: Add eye-catchers.
6081 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
6082 literal line numbers.
6083
78708b7c
PA
60842014-11-12 Pedro Alves <palves@redhat.com>
6085
6086 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
6087 leader has exited.
6088
af48d08f
PA
60892014-11-12 Pedro Alves <palves@redhat.com>
6090
6091 * gdb.arch/i386-bp_permanent.c: New file.
6092 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
6093 (srcfile): Set to i386-bp_permanent.c.
6094 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
6095 that stepi does not execute the 'leave' instruction, instead of
6096 testing it does execute.
6097 * gdb.base/bp-permanent.c: New file.
6098 * gdb.base/bp-permanent.exp: New file.
6099
af3768e9
DE
61002014-11-10 Doug Evans <xdje42@gmail.com>
6101
6102 PR symtab/17564
6103 * gdb.base/symtab-search-order.exp: New file.
6104 * gdb.base/symtab-search-order.c: New file.
6105 * gdb.base/symtab-search-order-1.c: New file.
6106 * gdb.base/symtab-search-order-shlib-1.c: New file.
6107
9de00a4a
PA
61082014-11-07 Pedro Alves <palves@redhat.com>
6109
6110 PR gdb/17511
6111 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
6112 i?86-*-linux*.
6113
e0f52461
SC
61142014-11-03 Siva Chandra Reddy <sivachandra@google.com>
6115
6116 PR c++/17494
6117 * gdb.cp/pr17494.cc: New file.
6118 * gdb.cp/pr17494.exp: New file.
6119
6ce8c980
YQ
61202014-11-02 Yao Qi <yao@codesourcery.com>
6121
6122 * gdb.python/python.exp: Get working directory and match the
6123 output of "set extended-prompt \\w " with it.
6124
02be9a71
DE
61252014-10-30 Doug Evans <dje@google.com>
6126
6127 * gdb.python/py-objfile.exp: Add tests for setting random attributes
6128 in objfiles.
6129 * gdb.python/py-progspace.exp: Add tests for setting random attributes
6130 in progspaces.
6131
3bdff46b
LM
61322014-10-30 Janis Johnson <janisjo@codesourcery.com>
6133
6134 * gdb.base/fullpath-expand.exp: Skip for a remote host.
6135 * gdb.base/realname-expand.exp: Likewise.
6136 * gdb.linespec/macro-relative.exp: Likewise.
6137
ab917dfb
PA
61382014-10-29 Pedro Alves <palves@redhat.com>
6139
6140 PR gdb/17408
6141 * gdb.threads/schedlock.c (some_function): New function.
6142 (call_function): New global.
6143 (MAYBE_CALL_SOME_FUNCTION): New macro.
6144 (thread_function): Call it.
6145 * gdb.threads/schedlock.exp (get_args): Add description parameter,
6146 and use it instead of a global counter. Adjust all callers.
6147 (get_current_thread): Use "find current thread" for test message
6148 here rather than having all callers pass down the same string.
6149 (goto_loop): New procedure, factored out from ...
6150 (my_continue): ... this.
6151 (step_ten_loops): Change parameter from test message to command to
6152 use. Adjust.
6153 (list_count): Delete global.
6154 (check_result): New procedure, factored out from duplicate top
6155 level code.
6156 (continue tests): Wrap in with_test_prefix.
6157 (test_step): New procedure, factored out from duplicate top level
6158 code.
6159 (top level): Test "step" in combination with all scheduler-locking
6160 modes. Test "next" in combination with all scheduler-locking
6161 modes, and in combination with stepping over a function call or
6162 not.
6163 * gdb.threads/next-bp-other-thread.c: New file.
6164 * gdb.threads/next-bp-other-thread.exp: New file.
6165
d3d4baed
PA
61662014-10-29 Pedro Alves <palves@redhat.com>
6167
6168 PR python/17372
6169 * gdb.python/python.exp: Test a multi-line command that spawns
6170 interactive Python.
6171 * gdb.base/multi-line-starts-subshell.exp: New file.
6172
563e8d85
YQ
61732014-10-29 Yao Qi <yao@codesourcery.com>
6174
6175 * gdb.base/fileio.exp: Make directories on host.
6176
0ea4d52e
YQ
61772014-10-29 Yao Qi <yao@codesourcery.com>
6178
6179 * gdb.base/fileio.c (test_write): Close the file.
6180
7f5ef605
PA
61812014-10-28 Pedro Alves <palves@redhat.com>
6182
6183 PR gdb/12623
6184 * gdb.base/sigstep.c (no_handler): New global.
6185 (main): If 'no_handler is true, set the signal handlers to
6186 SIG_IGN.
6187 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
6188 with_sw_watch and no_handler parameters. Handle them.
6189 (top level) <stepping over handler when stopped at a breakpoint
6190 test>: Add a test axis for testing with a software watchpoint, and
6191 another for testing with the signal handler set to SIG_IGN.
6192 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
6193 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
6194
abbdbd03
PA
61952014-10-28 Pedro Alves <palves@redhat.com>
6196
6197 PR gdb/17511
6198 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
6199 * gdb.base/sigstep.exp (other_handler_location): New global.
6200 (advance): Support stepping into the signal handler, and running
6201 commands while in the handler.
6202 (in_handler_map): New global.
6203 (top level): In the advance test, add combinations for getting
6204 into the handler with stepping commands, and for running commands
6205 in the handler. Add comment descripting the advancei tests.
6206
1df4399f
PA
62072014-10-28 Pedro Alves <palves@redhat.com>
6208
6209 * gdb.base/sigstep.exp: Use build_executable instead of
6210 prepare_for_testing.
6211 (top level): Move code that starts GDB, runs to main and creates a
6212 display to ...
6213 (restart): ... this new procedure.
6214 (top level): Move backtrace from signal handler test to ...
6215 (validate_backtrace): ... this new procedure.
6216 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
6217 with_test_prefix. Always restart GDB.
6218 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
6219 with_test_prefix. Always restart GDB. No need to delete
6220 breakpoints after the test.
6221 (test_skip_handler): Remove prefix parameter.
6222 (skip_over_handler, breakpoint_to_handler)
6223 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
6224 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
6225 restart GDB. No need to delete breakpoints after the test.
6226 (top level): Use foreach to call the test procedures with
6227 different commands.
6228
a5b6e449
PA
62292014-10-28 Pedro Alves <palves@redhat.com>
6230
6231 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
6232 instead of GNATS numbers.
6233 * gdb.base/sigbpt.exp: Likewise.
6234 * gdb.base/siginfo.exp: Likewise.
6235 * gdb.base/sigstep.exp: Likewise.
6236
e5f8a7cc
PA
62372014-10-27 Pedro Alves <palves@redhat.com>
6238
6239 * gdb.base/sigstep.c (dummy): New global.
6240 (main): Issue a couple writes to the new global.
6241 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
6242 procedures.
6243 (skip_over_handler): Use test_skip_handler.
6244 (top level): Call skip_over_handler for stepi and nexti too.
6245 (breakpoint_over_handler): Use test_skip_handler.
6246 (top level): Call breakpoint_over_handler for stepi and nexti too.
6247
763905a3
YQ
62482014-10-27 Yao Qi <yao@codesourcery.com>
6249
6250 * gdb.trace/tfile.c (adjust_function_address)
6251 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
6252 function descriptor.
6253
6f259a23
DB
62542014-10-24 Don Breazeal <donb@codesourcery.com>
6255
6256 * gdb.base/foll-fork.exp (test_follow_fork,
6257 catch_fork_child_follow): Check for updated fork messages emitted
6258 from infrun.c.
6259 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
6260 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
6261 vfork_and_exec_child_follow_through_step): Check for updated vfork
6262 messages emitted from infrun.c.
6263
09dd9a69
PA
62642014-10-24 Pedro Alves <palves@redhat.com>
6265
6266 * gdb.base/corefile.exp: Remove references to ultrix.
6267 * gdb.base/interrupt.exp: Likewise.
6268 * gdb.base/whatis.exp: Likewise.
6269 * gdb.gdb/selftest.exp: Likewise.
6270 * gdb.threads/manythreads.exp: Likewise.
6271 * gdb.threads/print-threads.exp: Likewise.
6272 * gdb.threads/pthreads.exp:: Likewise.
6273 * gdb.threads/schedlock.exp: Likewise.
6274
3433cfa5
SC
62752014-10-24 Siva Chandra Reddy <sivachandra@google.com>
6276
6277 * gdb.cp/non-trivial-retval.cc: Add a test case.
6278 * gdb.cp/non-trivial-retval.exp: Add a test.
6279
092f880b
YQ
62802014-10-20 Yao Qi <yao@codesourcery.com>
6281
6282 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
6283 * gdb.python/py-objfile-script-gdb.py: New file.
6284 * gdb.python/py-objfile-script.exp: Update reference to
6285 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
6286 of remote_download. Remove the dest file.
6287
acbdb7f3
YQ
62882014-10-20 Yao Qi <yao@codesourcery.com>
6289
6290 * gdb.base/checkpoint.exp: Don't remove file copied on host.
6291 * gdb.base/step-line.exp: Likewise.
6292 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6293 * gdb.dwarf2/dw2-basic.exp: Likewise.
6294 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6295 * gdb.dwarf2/dw2-filename.exp: Likewise.
6296 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6297 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6298 * gdb.dwarf2/dw2-producer.exp: Likewise.
6299 * gdb.dwarf2/mac-fileno.exp: Likewise.
6300 * gdb.python/py-frame-args.exp: Likewise.
6301 * gdb.python/py-framefilter.exp: Likewise.
6302 * gdb.python/py-mi.exp: Likewise.
6303 * gdb.python/py-objfile-script.exp: Likewise
6304 * gdb.python/py-pp-integral.exp: Likewise.
6305 * gdb.python/py-pp-re-notag.exp: Likewise.
6306 * gdb.python/py-prettyprint.exp: Likewise.
6307 * gdb.python/py-section-script.exp: Likewise.
6308 * gdb.python/py-typeprint.exp: Likewise.
6309 * gdb.python/py-xmethods.exp: Likewise.
6310 * gdb.stabs/weird.exp: Likewise.
6311 * gdb.xml/tdesc-regs.exp: Likewise.
6312
bd286a29
KCY
63132014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
6314
6315 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
6316 (out_cu): Use addr_len for the size of addresses.
6317 (out_line): Likewise. Size DW_LNE_set_address instruction
6318 according to addr_len.
6319 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
6320 (FUNC): Add START_INSNS to definition.
6321
673dc4a0
YQ
63222014-10-18 Yao Qi <yao@codesourcery.com>
6323
6324 * gdb.base/argv0-symlink.exp: Check argv[0] value if
6325 gdb_has_argv0 return true.
6326 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
6327 check [target_info exists noargs], check [gdb_has_argv0]
6328 instead.
6329 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6330 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
6331 procedures.
6332
4ffbba72
DE
63332014-10-17 Doug Evans <dje@google.com>
6334
6335 * gdb.python/py-events.exp: Update expected output for clear_objfiles
6336 event.
6337 * gdb.python/py-events.py: Add clear_objfiles event.
6338
d096d8c1
DE
63392014-10-17 Doug Evans <dje@google.com>
6340
6341 * gdb.python/py-objfile.exp: Test progspace attribute.
6342
a80db015
LM
63432014-10-17 Luis Machado <lgustavo@codesourcery.com>
6344
6345 * gdb.guile/scm-breakpoint.exp: Do not assume any
6346 directory separators when matching source file paths.
6347 * gdb.python/py-breakpoint.exp: Likewise.
6348 * gdb.reverse/break-precsave.exp: Likewise.
6349 * gdb.reverse/break-reverse.exp: Likewise.
6350 * gdb.reverse/consecutive-precsave.exp: Likewise.
6351 * gdb.reverse/finish-precsave.exp: Likewise.
6352 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6353 * gdb.reverse/finish-reverse.exp: Likewise.
6354 * gdb.reverse/i386-precsave.exp: Likewise.
6355 * gdb.reverse/i387-env-reverse.exp: Likewise.
6356 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6357 * gdb.reverse/machinestate-precsave.exp: Likewise.
6358 * gdb.reverse/machinestate.exp: Likewise.
6359 * gdb.reverse/sigall-precsave.exp: Likewise.
6360 * gdb.reverse/solib-precsave.exp: Likewise.
6361 * gdb.reverse/step-precsave.exp: Likewise.
6362 * gdb.reverse/until-precsave.exp: Likewise.
6363 * gdb.reverse/watch-precsave.exp: Likewise.
6364 * gdb.reverse/watch-reverse.exp: Likewise.
6365
b22089ab
YQ
63662014-10-17 Yao Qi <yao@codesourcery.com>
6367
6368 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6369 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6370
6c4486e6
PA
63712014-10-17 Pedro Alves <palves@redhat.com>
6372
6373 PR gdb/17471
6374 * gdb.base/bg-execution-repeat.c: New file.
6375 * gdb.base/bg-execution-repeat.exp: New file.
6376
0ff33695
PA
63772014-10-17 Pedro Alves <palves@redhat.com>
6378
6379 PR gdb/17300
6380 * gdb.base/continue-all-already-running.c: New file.
6381 * gdb.base/continue-all-already-running.exp: New file.
6382
6fdebc3d
PA
63832014-10-17 Pedro Alves <palves@redhat.com>
6384
6385 PR gdb/17472
6386 * gdb.base/annota-input-while-running.c: New file.
6387 * gdb.base/annota-input-while-running.exp: New file.
6388
32a8097b
PA
63892014-10-17 Pedro Alves <palves@redhat.com>
6390
6391 * gdb.base/callfuncs.exp: emove references to osf.
6392 * gdb.base/sigall.exp: Likewise.
6393 * gdb.gdb/selftest.exp: Likewise.
6394 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6395 * gdb.mi/non-stop.c: Likewise.
6396 * gdb.mi/pthreads.c: Likewise.
6397 * gdb.reverse/sigall-precsave.exp: Likewise.
6398 * gdb.reverse/sigall-reverse.exp: Likewise.
6399 * gdb.threads/pthreads.c: Likewise.
6400 * gdb.threads/pthreads.exp: Likewise.
6401
7a3517ff
YQ
64022014-10-17 Yao Qi <yao@codesourcery.com>
6403
6404 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6405 check 'target_info exists noargs'.
6406 (test_command_prompt_position): Likewise.
6407 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6408 Remove "set args".
6409 (progvar_simple_while_test): Likewise.
6410 (progvar_complex_if_while_test): Likewise.
6411 (if_while_breakpoint_command_test): Likewise.
6412 (infrun_breakpoint_command_test): Likewise.
6413 (breakpoint_command_test): Likewise.
6414 (watchpoint_command_test): Likewise.
6415 (bp_deleted_in_command_test): Likewise.
6416 (temporary_breakpoint_commands): Likewise.
6417
bb99c472
YQ
64182014-10-16 Yao Qi <yao@codesourcery.com>
6419
6420 * gdb.base/remotetimeout.exp: Remove noargs checking.
6421
7c16b83e
PA
64222014-10-15 Pedro Alves <palves@redhat.com>
6423
6424 PR breakpoints/9649
6425 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6426 * gdb.base/breakpoint-in-ro-region.exp
6427 (probe_target_hardware_step): New procedure.
6428 (top level): Probe hardware stepping and hardware breakpoint
6429 support. Test stepping through a read-only region, with both
6430 "breakpoint auto-hw" on and off and both "always-inserted" on and
6431 off.
6432
35a49624
IB
64332014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6434
6435 * gdb.dlang/demangle.exp: Update for demangling changes.
6436
2d1c107c
SC
64372014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6438
6439 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6440 * gdb.cp/non-trivial-retval.exp: Add new tests.
6441
778811d5
SC
64422014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6443
6444 PR c++/13403
6445 PR c++/15154
6446 * gdb.cp/non-trivial-retval.cc: New file.
6447 * gdb.cp/non-trivial-retval.exp: New file.
6448
10c5f0a8
YQ
64492014-10-15 Yao Qi <yao@codesourcery.com>
6450
6451 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6452 remote host.
6453
65d7b369
YQ
64542014-10-15 Yao Qi <yao@codesourcery.com>
6455
6456 * gdb.python/py-symbol.exp: Match file base name if host is
6457 remote, otherwise match file name with dir name.
6458 * gdb.python/py-symtab.exp: Likewise.
6459 * gdb.python/python.exp: Likewise.
6460
46dc1394
YQ
64612014-10-15 Yao Qi <yao@codesourcery.com>
6462
6463 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6464 pattern.
6465 * gdb.python/py-symtab.exp: Likewise.
6466 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6467 locationn.
6468
c40cc657
JB
64692014-10-14 Joel Brobecker <brobecker@adacore.com>
6470
6471 * gdb.ada/addr_arith: New testcase.
6472
2abf49e1
MR
64732014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6474
6475 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6476 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6477 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6478 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6479
f7088df3
SDJ
64802014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6481
6482 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6483 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6484 * gdb.arch/stap-eval-lang-ada.exp: New file.
6485
4dc06805
YQ
64862014-10-14 Yao Qi <yao@codesourcery.com>
6487
6488 * gdb.mi/mi-var-child.c (nothing1): New function.
6489 (nothing2): New function.
6490 (do_children_tests): Set function pointers by nothing1 and
6491 nothing2.
6492 * gdb.mi/mi-var-child.exp: Step over new added statements.
6493 Update test to match the new output.
6494 * gdb.mi/var-cmd.c (nothing1): New function.
6495 (nothing2): New function.
6496 (do_children_tests): Set function pointers by nothing1 and
6497 nothing2.
6498 * gdb.mi/mi-var-display.exp: Update test to match output.
6499 Step to the line specified by $line_dct_nothing.
6500 Increase the number of lines to step.
6501
46a93de2
YQ
65022014-10-14 Yao Qi <yao@codesourcery.com>
6503
6504 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6505 tests.
6506 * gdb.mi/mi2-var-child.exp: Likewise.
6507
14ea52ee
DE
65082014-10-13 Doug Evans <dje@google.com>
6509
6510 * gdb.python/py-objfile.exp: Change name of file name test.
6511
e5c6e92b
DE
65122014-10-13 Doug Evans <dje@google.com>
6513
6514 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6515 from the start of the CU.
6516
c780cc2f
JK
65172014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6518 Yao Qi <yao@codesourcery.com>
6519
6520 Fix "save breakpoints" for "catch" command.
6521 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6522 Remove -nonewline. Match also the added "main" line.
6523
99894e11
JK
65242014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6525
6526 Fix "save breakpoints" for "disable $bpnum" command.
6527 * gdb.base/save-bp.c (main): Add label.
6528 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6529
6e1ac5a3
JK
65302014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6531
6532 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6533
754dd2b0
YQ
65342014-10-11 Yao Qi <yao@codesourcery.com>
6535
6536 * gdb.server/server-kill.exp: Execute command
6537 "set remote trace-status-packet on" before "tstatus".
6538
f90183d7
YQ
65392014-10-11 Yao Qi <yao@codesourcery.com>
6540
6541 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6542 (main): Call getppid.
6543 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6544 and continue to it. Read variable "server_pid".
6545
bf40a607
YQ
65462014-10-11 Yao Qi <yao@codesourcery.com>
6547
6548 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6549
052ca370
YQ
65502014-10-11 Yao Qi <yao@codesourcery.com>
6551
6552 * gdb.threads/thread-find.exp: Don't execute command
6553 "info threads".
6554 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6555 * gdb.threads/linux-dp.exp: Don't check the condition
6556 $threads_created equals to zero.
6557
3831839c
PA
65582014-10-10 Pedro Alves <palves@redhat.com>
6559
6560 * gdb.base/bigcore.exp: Remove references to IRIX.
6561 * gdb.base/funcargs.exp: Likewise.
6562 * gdb.base/interrupt.exp: Likewise.
6563 * gdb.base/mips_pro.exp: Likewise.
6564 * gdb.base/nodebug.exp: Likewise.
6565 * gdb.base/setvar.exp: Likewise.
6566 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6567
8b9a549d
PA
65682014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6569 Pedro Alves <palves@redhat.com>
6570
6571 PR symtab/14466
6572 * gdb.base/vdso-warning.c: New file.
6573 * gdb.base/vdso-warning.exp: New file.
6574
d48ba5e8
DE
65752014-10-02 Doug Evans <dje@google.com>
6576
6577 * gdb.base/structs.c (main): Don't run forever.
6578
2278c276
PA
65792014-10-02 Pedro Alves <palves@redhat.com>
6580
6581 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6582 (top level) <stop threads 1, stop threads 2>: Use it.
6583
b57bacec
PA
65842014-10-02 Pedro Alves <palves@redhat.com>
6585
6586 * gdb.threads/break-while-running.exp (test): Add new
6587 'update_thread_list' argument. Skip "info threads" if false.
6588 (top level): Add new 'update_thread_list' axis.
6589
13fd3ff3
PA
65902014-10-02 Pedro Alves <palves@redhat.com>
6591
6592 PR breakpoints/17431
6593 * gdb.base/execl-update-breakpoints.c: New file.
6594 * gdb.base/execl-update-breakpoints.exp: New file.
6595
0fec99e8
PA
65962014-10-01 Pedro Alves <palves@redhat.com>
6597
6598 * gdb.base/breakpoint-in-ro-region.c: New file.
6599 * gdb.base/breakpoint-in-ro-region.exp: New file.
6600
2ddf4301
SM
66012014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6602
6603 * gdb.mi/mi-exit-code.exp: New file.
6604 * gdb.mi/mi-exit-code.c: New file.
6605
6a5f3f43
YQ
66062014-09-30 Yao Qi <yao@codesourcery.com>
6607
6608 * lib/prelink-support.exp (build_executable_own_libs): Error if
6609 the target isn't native.
6610
345bcc73
YQ
66112014-09-30 Yao Qi <yao@codesourcery.com>
6612
6613 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6614 false.
6615
a25a5a45
PA
66162014-09-22 Pedro Alves <palves@redhat.com>
6617
6618 * gdb.threads/break-while-running.exp: New file.
6619 * gdb.threads/break-while-running.c: New file.
6620
00ba3162
YQ
66212014-09-19 Yao Qi <yao@codesourcery.com>
6622
6623 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6624 Invoke test. Restart GDB with --readnow and invoke test again.
6625
c3b7b696
YQ
66262014-09-19 Yao Qi <yao@codesourcery.com>
6627
6628 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6629 proc set_breakpoint_on_gcd_function. Invoke
6630 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6631 invoke set_breakpoint_on_gcd_function again.
6632
2b4fd423
DE
66332014-09-18 Doug Evans <dje@google.com>
6634
6635 * gdb.dwarf2/symtab-producer.exp: New file.
6636
a5947601
SDJ
66372014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6638
6639 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6640 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6641 * gdb.base/global-var-nested-by-dso.c: Likewise.
6642 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6643
91c19059
SDJ
66442014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6645 Pedro Alves <palves@redhat.com>
6646
6647 * gdb.base/watch-bitfields.exp: Pass string other than test file
6648 name to prepare_for_testing.
6649 (watch): New procedure.
6650 (expect_watchpoint): Use with_test_prefix.
6651 (top level): Factor out tests to ...
6652 (test_watch_location, test_regular_watch): ... these new
6653 procedures, and use with_test_prefix and gdb_continue_to_end.
6654
bb9d5f81
PP
66552014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6656
6657 PR breakpoints/12526
6658 * gdb.base/watch-bitfields.exp: New file.
6659 * gdb.base/watch-bitfields.c: New file.
6660
635856f5
PA
66612014-09-16 Pedro Alves <palves@redhat.com>
6662
6663 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6664 software and hardware addresses, not software address against
6665 itself.
6666
7280ceea
PA
66672014-09-16 Pedro Alves <palves@redhat.com>
6668
6669 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6670 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6671
428b16bd
PA
66722014-09-16 Pedro Alves <palves@redhat.com>
6673
6674 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6675 files.
6676 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6677 "*-*-vxworks*" throughout.
6678 * gdb.base/break.exp: Likewise.
6679 * gdb.base/default.exp: Likewise.
6680 * gdb.base/scope.exp: Likewise.
6681 * gdb.base/sepdebug.exp: Likewise.
6682 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6683 throughout.
6684 * gdb.base/run.c: Likewise.
6685 * gdb.base/sepdebug.c: Likewise.
6686 * gdb.hp/gdb.aCC/run.c: Likewise.
6687 * gdb.reverse/until-reverse.c: Likewise.
6688 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6689
666d413c
YQ
66902014-09-16 Yao Qi <yao@codesourcery.com>
6691
6692 * boards/local-remote-host-native.exp: New file.
6693
57cbd724
DE
66942014-09-14 Doug Evans <xdje42@gmail.com>
6695
6696 * gdb.threads/queue-signal.c (thread_count): New variable.
6697 (thread_count_mutex, thread_count_condvar): New variables.
6698 (incr_thread_count, wait_all_threads_running): New functions.
6699 (main): Wait for all threads to be in their thread functions.
6700
81219e53
DE
67012014-09-13 Doug Evans <xdje42@gmail.com>
6702
6703 * gdb.threads/queue-signal.c: New file.
6704 * gdb.threads/queue-signal.exp: New file.
6705
3714cea7
DE
67062014-09-13 Doug Evans <xdje42@gmail.com>
6707
6708 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6709 be consistent with what default_gdb_init uses.
6710 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6711 the plain text of the prompt. Add some logging printfs.
6712 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6713
fa43b1d7
PA
67142014-09-12 Pedro Alves <palves@redhat.com>
6715
6716 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6717 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6718 * gdb.arch/i386-size-overlap.exp: Likewise.
6719 * gdb.arch/i386-size.exp: Likewise.
6720 * gdb.arch/i386-unwind.exp: Likewise.
6721 * gdb.base/a2-run.exp: Likewise.
6722 * gdb.base/break.exp: Likewise.
6723 * gdb.base/charset.exp: Likewise.
6724 * gdb.base/chng-syms.exp: Likewise.
6725 * gdb.base/commands.exp: Likewise.
6726 * gdb.base/dbx.exp: Likewise.
6727 * gdb.base/find.exp: Likewise.
6728 * gdb.base/funcargs.exp: Likewise.
6729 * gdb.base/jit-simple.exp: Likewise.
6730 * gdb.base/reread.exp: Likewise.
6731 * gdb.base/sepdebug.exp: Likewise.
6732 * gdb.base/step-bt.exp: Likewise.
6733 * gdb.cp/mb-inline.exp: Likewise.
6734 * gdb.cp/mb-templates.exp: Likewise.
6735 * gdb.objc/basicclass.exp: Likewise.
6736 * gdb.threads/killed.exp: Likewise.
6737
9d9bf2df
EBM
67382014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6739
6740 PR tdep/17379
6741 * gdb.arch/powerpc-stackless.S: New file.
6742 * gdb.arch/powerpc-stackless.exp: New file.
6743
1cf2f1b0
JK
67442014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6745
6746 * gdb.base/attach.c: Include unistd.h.
6747 (main): Call alarm. Add label postloop.
6748 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6749 gdb_breakpoint, gdb_continue_to_breakpoint.
6750 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6751
98880d46
PA
67522014-09-11 Pedro Alves <palves@redhat.com>
6753
6754 PR gdb/17347
6755 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6756 * gdb.base/attach.exp (test_command_line_attach_run): New
6757 procedure.
6758 (top level): Call it.
6759
4c92ff2c
PA
67602014-09-11 Pedro Alves <palves@redhat.com>
6761
6762 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6763 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6764 (do_command_attach_tests): Use spawn_wait_for_attach.
6765 * gdb.base/solib-overlap.exp: Likewise.
6766 * gdb.multi/multi-attach.exp: Likewise.
6767 * gdb.python/py-prompt.exp: Likewise.
6768 * gdb.python/py-sync-interp.exp: Likewise.
6769 * gdb.server/ext-attach.exp: Likewise.
6770
3adc1a7d
GKB
67712014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6772
6773 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6774 command in testcase. Simplify testcase.
6775
96334934
JB
67762014-09-10 Joel Brobecker <brobecker@adacore.com>
6777
6778 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6779
eb479039
JB
67802014-09-10 Joel Brobecker <brobecker@adacore.com>
6781
6782 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6783
deede10c
JB
67842014-09-10 Joel Brobecker <brobecker@adacore.com>
6785
6786 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6787
7828a5f5
JB
67882014-09-10 Joel Brobecker <brobecker@adacore.com>
6789
6790 * gdb.dwarf2/dynarr-ptr.c: New file.
6791 * gdb.dwarf2/dynarr-ptr.exp: New file.
6792
33aeebcf
MR
67932014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6794
6795 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6796 of 30 rather than hardcoding 120 for a slow test case. Take the
6797 `gdb,timeout' target setting into account for this calculation.
6798 Don't extend the timeout for the test cases that don't need it.
6799
7b415901
MR
68002014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6801
6802 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6803 a factor of 2 for a slow test case. Take the `gdb,timeout'
6804 target setting into account for this calculation.
6805 * gdb.reverse/until-precsave.exp: Increase the timeout by
6806 a factor of 15 and 3 respectively rather than adding 120
6807 for a pair of slow test cases. Take the `gdb,timeout'
6808 target setting into account for this calculation.
6809
4a40f85a
MR
68102014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6811
6812 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6813 timeout, don't pass one down to gdb_expect.
6814 (gdb_expect): Rework timeout selection.
6815
09635af7
MR
68162014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6817
6818 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6819 exception on timeout.
6820 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6821 (gdbserver_start_extended): Catch any `gdbserver_start' error
6822 exceptions.
6823 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6824 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6825 `gdbserver_gdb_load' error exceptions.
6826
2bdd10b7
MR
68272014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6828
6829 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6830 120 on waiting for the TCP socket to open.
6831
316935f0
DE
68322014-09-09 Doug Evans <xdje42@gmail.com>
6833
6834 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6835 _caller_matches, _any_caller_is, _any_caller_matches.
6836
83740597
DE
68372014-09-09 Doug Evans <xdje42@gmail.com>
6838
6839 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6840
4c122fc3
YQ
68412014-09-09 Yao Qi <yao@codesourcery.com>
6842
6843 * gdb.mi/mi-var-display.exp: Set print symbol off.
6844
a9f116cb
GKB
68452014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6846
6847 PR gdb/17035
6848 * gdb.base/commands.exp: Add tests to verify user-defined
6849 commands with empty bodies.
6850 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6851 python commands in `show user command`.
6852 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6853 scheme commands in `show user command`.
6854
c75bd3a2
JK
68552014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6856
6857 PR python/17355
6858 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6859 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6860 * gdb.python/py-framefilter-invalidarg.exp: New file.
6861 * gdb.python/py-framefilter-invalidarg.py: New file.
6862
faa42425
DE
68632014-09-06 Doug Evans <xdje42@gmail.com>
6864
6865 PR 15276
6866 * gdb.python/py-caller-is.c: New file.
6867 * gdb.python/py-caller-is.exp: New file.
6868
474ca4f6
SDJ
68692014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6870
6871 PR gdb/17235
6872 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6873 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6874
eb0b0463
SDJ
68752014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6876
6877 PR fortran/17237
6878 * gdb.fortran/print-formatted.exp: New file.
6879 * gdb.fortran/print-formatted.f90: Likewise.
6880
5f3b99cf
SS
68812014-09-03 Sasha Smundak <asmundak@google.com>
6882
6883 * gdb.python/py-frame.exp: Test Frame.read_register.
6884
7d793aa9
SDJ
68852014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6886
6887 PR python/16699
6888 * gdb.python/py-completion.exp: New file.
6889 * gdb.python/py-completion.py: Likewise.
6890
fb0576e9
DE
68912014-08-28 Doug Evans <dje@google.com>
6892
6893 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6894 eax,etc. are live with values set by gdb and thus the compiler can't
6895 use them.
6896 * gdb.arch/i386-pseudo.c (main): Ditto.
6897
ee92b0dd
DE
68982014-08-27 Doug Evans <dje@google.com>
6899
6900 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6901
6649db35
DE
69022014-08-25 Doug Evans <dje@google.com>
6903
6904 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6905 (main): Ditto.
6906
564b7600
DE
69072014-08-25 Doug Evans <dje@google.com>
6908
6909 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6910
3881fb67
YQ
69112014-08-24 Yao Qi <yao@codesourcery.com>
6912
6913 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6914 symbol off.
6915 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6916
a05a36a5
DE
69172014-08-22 Doug Evans <dje@google.com>
6918
6919 PR 17276
6920 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6921 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6922 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6923
7c343b48
YQ
69242014-08-22 Yao Qi <yao@codesourcery.com>
6925
6926 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6927 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6928 * gdb.python/python.exp: Likewise. Use .py file on the host
6929 instead of the build.
6930
22fd09ae
JK
69312014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6932
6933 * gdb.threads/gcore-stale-thread.c: New file.
6934 * gdb.threads/gcore-stale-thread.exp: New file.
6935
a8454a7c
PA
69362014-08-21 Pedro Alves <palves@redhat.com>
6937
6938 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6939 * gdb.base/gcore-relro-pie.exp: Likewise.
6940 * gdb.base/gcore-relro.exp: Likewise.
6941 * gdb.base/gcore.exp: Likewise.
6942 * gdb.base/print-symbol-loading.exp: Likewise.
6943 * gdb.threads/gcore-thread.exp: Likewise.
6944 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6945
2a31c623
PA
69462014-08-20 Pedro Alves <palves@redhat.com>
6947 Jan Kratochvil <jan.kratochvil@redhat.com>
6948
6949 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6950 configure.
6951 (EXPECT): Handle READ1 being set.
6952 (all): Depend on EXTRA_RULES.
6953 (check-read1, expect-read1, read1.so, read1): New rules.
6954 * README (Testsuite Parameters): Document the READ1 make variable.
6955 (Race detection): New section.
6956 * configure: Regenerate.
6957 * configure.ac: If build==host==target, and running under a
6958 GNU/glibc system, add read1 to the extra Makefile rules.
6959 (EXTRA_RULES): AC_SUBST it.
6960 * lib/read1.c: New file.
6961
d36430db
JB
69622014-08-20 Joel Brobecker <brobecker@adacore.com>
6963
6964 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6965 the handling of variables declared as a typedef to an array
6966 which a DW_AT_data_location attribute.
6967
9a0dc9e3
PA
69682014-08-19 Andrew Burgess <aburgess@broadcom.com>
6969 Pedro Alves <palves@redhat.com>
6970
6971 PR symtab/14604
6972 PR symtab/14605
6973 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6974 gdb_test.
6975
0718a8da
PA
69762014-08-19 Pedro Alves <palves@redhat.com>
6977
6978 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6979
13b448cd
YQ
69802014-08-19 Yao Qi <yao@codesourcery.com>
6981
6982 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6983 right line.
6984
1cbf5077
DB
69852014-08-18 David Blaikie <dblaikie@gmail.com>
6986
6987 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6988
bf0fae19
JB
69892014-08-18 Joel Brobecker <brobecker@adacore.com>
6990
6991 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6992 attribute in array range.
6993
3c8c5dcc
JB
69942014-08-18 Joel Brobecker <brobecker@adacore.com>
6995
6996 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6997
e66d4446
SC
69982014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6999
7000 PR c++/17132
7001 * gdb.cp/pr17132.cc: New file.
7002 * gdb.cp/pr17132.exp: New file.
7003
940df408
SC
70042014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7005
7006 * gdb.python/py-xmethods.py (A_getarrayind)
7007 (E_method_char_worker.__call__, E_method_int_worker.__call__):
7008 Use 'print' with function call syntax.
7009 (E_method_matcher.match): Fix tab vs space indentation mixup.
7010
ebcc6c3a
YQ
70112014-08-15 Yao Qi <yao@codesourcery.com>
7012
7013 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
7014 false.
7015
775e0f04
YQ
70162014-08-15 Yao Qi <yao@codesourcery.com>
7017
7018 * gdb.cp/casts.exp: Set print symbol off.
7019 * gdb.cp/class2.exp: Likewise.
7020 * gdb.cp/overload.exp: Likewise.
7021 * gdb.cp/templates.exp: Likewise.
7022
d769e349
DE
70232014-08-11 Doug Evans <dje@google.com>
7024
7025 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
7026 (test_load_shlib): Update.
7027
20c6f1e1
YQ
70282014-08-09 Yao Qi <yao@codesourcery.com>
7029
7030 * gdb.base/display.exp: Invoke is_address_zero_readable.
7031 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
7032 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
7033 * gdb.base/hbreak-unmapped.exp: Return if
7034 is_address_zero_readable returns true.
7035 * gdb.base/signest.exp: Likewise.
7036 * gdb.base/signull.exp: Likewise.
7037 * gdb.base/sigbpt.exp: Likewise.
7038 * gdb.guile/scm-disasm.exp: Do the test if
7039 is_address_zero_readable returns false.
7040 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
7041 * gdb.python/py-arch.exp: Likewise.
7042 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
7043 * lib/gdb.exp (is_address_zero_readable): New proc.
7044
5792e8e3
YQ
70452014-08-09 Yao Qi <yao@codesourcery.com>
7046
7047 PR testsuite/13443
7048 * gdb.mi/mi-var-display.exp: Make test messages unique.
7049
3cecbbbe
TT
70502014-08-04 Tom Tromey <tromey@redhat.com>
7051
7052 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
7053 target 0".
7054
00b51ff5
TT
70552014-08-04 Tom Tromey <tromey@redhat.com>
7056
7057 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
7058 "target_resume".
7059
6908c509
JB
70602014-08-01 Joel Brobecker <brobecker@adacore.com>
7061
7062 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
7063 inner_vla_struct_object_size.
7064 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
7065 as xfail.
7066
cc6563d2
PA
70672014-07-30 Pedro Alves <palves@redhat.com>
7068
7069 * gdb.threads/signal-command-handle-nopass.exp (test): Add
7070 comment.
7071
7e09a223
YQ
70722014-07-29 Yao Qi <yao@codesourcery.com>
7073
7074 PR gdb/17206
7075 * gdb.base/until-nodebug.exp: New.
7076
7ebdbe92
DE
70772014-07-28 Doug Evans <xdje42@gmail.com>
7078
7079 PR guile/17203
7080 * gdb.guile/scm-parameter.exp: Add tests for trying to create
7081 previously existing parameter, and previously ambiguously spelled
7082 parameter.
7083
fdb1adc6
WN
70842014-07-28 Will Newton <will.newton@linaro.org>
7085
7086 * gdb.base/varargs.exp: Remove KFAILs for ARM.
7087
186fcde0
DE
70882014-07-26 Ludovic Courtès <ludo@gnu.org>
7089 Doug Evans <xdje42@gmail.com>
7090
7091 PR guile/17146
7092 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
7093
70509625
PA
70942014-07-25 Pedro Alves <palves@redhat.com>
7095
7096 * gdb.threads/signal-command-handle-nopass.c: New file.
7097 * gdb.threads/signal-command-handle-nopass.exp: New file.
7098 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
7099 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
7100 * gdb.threads/signal-delivered-right-thread.c: New file.
7101 * gdb.threads/signal-delivered-right-thread.exp: New file.
7102
c3f814a1
PA
71032014-07-25 Pedro Alves <palves@redhat.com>
7104
7105 * gdb.base/double-prompt-target-event-error.exp
7106 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
7107 match.
7108 (cancel_pagination_in_target_event): Rework double prompt
7109 detection.
7110 * gdb.base/paginate-after-ctrl-c-running.exp
7111 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
7112 <return>' match.
7113 * gdb.base/paginate-bg-execution.exp
7114 (test_bg_execution_pagination_return)
7115 (test_bg_execution_pagination_cancel): Remove '-notransfer
7116 <return>' matches.
7117 * gdb.base/paginate-execution-startup.exp
7118 (test_fg_execution_pagination_return)
7119 (test_fg_execution_pagination_cancel): Remove '-notransfer
7120 <return>' matches.
7121 * gdb.base/paginate-inferior-exit.exp
7122 (test_paginate_inferior_exited): Remove '-notransfer <return>'
7123 match.
7124 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
7125 * lib/gdb.exp (pagination_prompt): Run text through
7126 string_to_regexp.
7127 (gdb_test_multiple): Match $pagination_prompt instead of
7128 "<return>".
7129 (string_to_regexp): Move to lib/gdb-utils.exp.
7130
e214cf6c
JK
71312014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7132
7133 * gdb.arch/amd64-entry-value-paramref.S: New file.
7134 * gdb.arch/amd64-entry-value-paramref.cc: New file.
7135 * gdb.arch/amd64-entry-value-paramref.exp: New file.
7136 * gdb.arch/amd64-optimout-repeat.S: New file.
7137 * gdb.arch/amd64-optimout-repeat.c: New file.
7138 * gdb.arch/amd64-optimout-repeat.exp: New file.
7139
17d0c5c8
JK
71402014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7141
7142 PR gdb/17170
7143 * gdb.base/statistics.exp: New file.
7144
b8b8facf
DE
71452014-07-17 Doug Evans <dje@google.com>
7146
74b49205 7147 PR gdb/17170
b8b8facf
DE
7148 * gdb.base/maint.exp: Update testing of per-command stats.
7149
1b5d0ab3
PA
71502014-07-16 Pedro Alves <palves@redhat.com>
7151
7152 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
7153 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
7154 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
7155 (tfile_write_buf): New functions.
7156 (add_memory_block): Rewrite using the above.
7157 (adjust_function_address): New function.
7158 (FUNCTION_ADDRESS): New macro.
7159 (write_basic_trace_file): Remove short_x local, and use
7160 tfile_write_16. Change type of func_addr local to unsigned long
7161 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
7162 here. Cast argument of add_memory_block to char pointer.
7163 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
7164 (main): Remove parameters.
7165 * gdb.trace/tfile.exp: Remove nowarnings.
7166
4d974e88
SM
71672014-07-15 Simon Marchi <simon.marchi@ericsson.com>
7168
7169 * gdb.base/debug-expr.exp: Test string evaluation with
7170 "debug expression" on.
7171
41e99568
PA
71722014-07-15 Pedro Alves <palves@redhat.com>
7173
7174 * gdb.base/reread.exp: Use clean_restart.
7175
487d9753
PL
71762014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
7177
7178 * gdb.arch/avr-flash-qualifer.c: New.
7179 * gdb.arch/avr-flash-qualifer.exp: New.
7180
cc1c52ad
PA
71812014-07-14 Pedro Alves <palves@redhat.com>
7182
7183 * gdb.base/paginate-after-ctrl-c-running.c: New file.
7184 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
7185
1e973570
PA
71862014-07-14 Pedro Alves <palves@redhat.com>
7187
7188 * gdb.base/double-prompt-target-event-error.c: New file.
7189 * gdb.base/double-prompt-target-event-error.exp: New file.
7190
93d6eb10
PA
71912014-07-14 Pedro Alves <palves@redhat.com>
7192
7193 PR gdb/17072
7194 * gdb.base/paginate-inferior-exit.c: New file.
7195 * gdb.base/paginate-inferior-exit.exp: New file.
7196
0017922d
PA
71972014-07-14 Pedro Alves <palves@redhat.com>
7198
7199 PR gdb/17072
7200 * gdb.base/paginate-bg-execution.c: New file.
7201 * gdb.base/paginate-bg-execution.exp: New file.
7202
94696ad3
PA
72032014-07-14 Pedro Alves <palves@redhat.com>
7204
7205 PR gdb/17072
7206 * gdb.base/paginate-execution-startup.c: New file.
7207 * gdb.base/paginate-execution-startup.exp: New file.
7208 * lib/gdb.exp (pagination_prompt): New global.
7209 (default_gdb_spawn): New procedure, factored out from
7210 default_gdb_spawn.
7211 (default_gdb_start): Adjust to call default_gdb_spawn.
7212 (gdb_spawn): New procedure.
7213
bd293940
PA
72142014-07-14 Pedro Alves <palves@redhat.com>
7215
7216 * lib/gdb.exp (gdb_assert): New procedure.
7217 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
7218
c933f875
PA
72192014-07-14 Pedro Alves <palves@redhat.com>
7220
7221 * gdb.base/execution-termios.c: New file.
7222 * gdb.base/execution-termios.exp: New file.
7223
d98b7a16
TT
72242014-07-14 Tom Tromey <tromey@redhat.com>
7225
7226 * gdb.cp/vla-cxx.cc: New file.
7227 * gdb.cp/vla-cxx.exp: New file.
7228
548740d6
TT
72292014-07-14 Tom Tromey <tromey@redhat.com>
7230
7231 * gdb.reverse/rerun-prec.c: New file.
7232 * gdb.reverse/rerun-prec.exp: New file.
7233
a25eb028
MR
72342014-07-12 Maciej W. Rozycki <macro@mips.com>
7235 Maciej W. Rozycki <macro@codesourcery.com>
7236
7237 * lib/gdb-utils.exp: New file.
7238 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
7239 inline `gdb_init_command' processing.
7240 (gdb_start_cmd): Likewise.
7241 * lib/mi-support.exp (mi_run_cmd): Likewise.
7242 * README: Document `gdb_init_command' and `gdb_init_commands'.
7243
218c2655
JK
72442014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7245
7246 Fix false FAIL running under a very long directory name.
7247 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
7248 and "set print elements 10000". Twice.
7249
5401fde3
YQ
72502014-07-11 Yao Qi <yao@codesourcery.com>
7251
7252 * gdb.base/exprs.exp: "set print symbol off".
7253
e76126e8
PA
72542014-07-11 Pedro Alves <palves@redhat.com>
7255
7256 * gdb.threads/kill.c: New file.
7257 * gdb.threads/kill.exp: New file.
7258
2d6f0de6
YQ
72592014-07-10 Yao Qi <yao@codesourcery.com>
7260
7261 * gdb.trace/tfile.c (write_basic_trace_file)
7262 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
7263 address written to trace file.
7264
7180e04a
PA
72652014-07-09 Pedro Alves <palves@redhat.com>
7266
7267 * gdb.base/attach-wait-input.exp: New file.
7268 * gdb.base/attach-wait-input.c: New file.
7269
9a9a7608
AB
72702014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7271
7272 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
7273 setting up test structures.
7274 (main): Call new test function.
7275 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
7276 test function, continue into test function and walk test
7277 structures.
7278
161ac41e
YQ
72792014-07-02 Yao Qi <yao@codesourcery.com>
7280
7281 * gdb.trace/entry-values.c: Define labels 'foo_start' and
7282 'bar_start' at the beginning of functions 'foo' and 'bar'
7283 respectively.
7284 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
7285 instead of 'foo' and 'bar'.
7286
1f267ae3
MM
72872014-07-08 Markus Metzger <markus.t.metzger@intel.com>
7288
7289 * gdb.btrace/segv.exp: New.
7290 * gdb.btrace/segv.c: New.
7291
2b239efb
LM
72922014-07-02 Luis Machado <lgustavo@codesourcery.com>
7293
7294 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
7295 instruction.
7296
cf363f18
MW
72972014-06-30 Mark Wielaard <mjw@redhat.com>
7298
7299 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
7300 vulture, vilify, villar): New volatile array constants.
7301 (vindictive, vegetation): New const volatile array constants.
7302 * gdb.base/volatile.exp: Test volatile and const volatile array
7303 types.
7304
aebf9d24
AA
73052014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7306
7307 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
7308 target lacks support for awatch, rwatch, or hbreak.
7309
b67a2c6f
YQ
73102014-06-27 Yao Qi <yao@codesourcery.com>
7311
7312 * gdb.multi/dummy-frame-restore.exp: New.
7313 * gdb.multi/dummy-frame-restore.c: New.
7314
aef92902
MM
73152014-06-25 Markus Metzger <markus.t.metzger@intel.com>
7316
7317 * gdb.btrace/gcore.exp: New.
7318
8e9db26e
PA
73192014-06-23 Pedro Alves <palves@redhat.com>
7320
7321 * gdb.base/watchpoint-reuse-slot.c: New file.
7322 * gdb.base/watchpoint-reuse-slot.exp: New file.
7323
70afc5b7
SC
73242014-06-23 Siva Chandra Reddy <sivachandra@google.com>
7325
7326 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
7327 progspace's filename in 'info', 'enable' and 'disable' command
7328 tests.
7329
b972bd9c
JK
73302014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7331
7332 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
7333 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7334 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
7335
125f8a3d
GB
73362014-06-20 Gary Benson <gbenson@redhat.com>
7337
7338 * gdb.arch/i386-avx.exp: Fix include file location.
7339 * gdb.arch/i386-sse.exp: Likewise.
7340
3ed9baed
IB
73412014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7342
7343 * gdb.dlang/expression.exp: New file.
7344
034f788c
PA
73452014-06-19 Pedro Alves <palves@redhat.com>
7346
7347 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7348 out from ...
7349 (top level): ... here. Iterate running tests under different
7350 scheduler-locking settings.
7351
45371d0c
LM
73522014-06-18 Luis Machado <lgustavo@codesourcery.com>
7353
7354 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7355 to DW_FORM_addr and use non-zero addresses.
7356
5d376983
SC
73572014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7358
7359 PR gdb/17017
7360 * gdb.python/py-xmethods.cc: Add global function call counters and
7361 increment them in their respective functions. Remove "cout"
7362 statements.
7363 * gdb.python/py-xmethods.exp: Make tests check the global function
7364 call counters instead of depending on inferior IO.
7365
a1aa2221
LM
73662014-06-18 Don Breazeal <donb@codesourcery.com>
7367
7368 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7369 Deleted procedure.
7370 (explicit_fork_parent_follow): Deleted procedure.
7371 (explicit_fork_child_follow): Deleted procedure.
7372 (test_follow_fork): New procedure.
7373 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 7374 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
7375 procedure calls.
7376
0fc05997
YQ
73772014-06-17 Yao Qi <yao@codesourcery.com>
7378
7379 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7380 CP1252.
7381
70795c52
LM
73822014-06-17 Luis Machado <lgustavo@codesourcery.com>
7383
7384 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7385 Initialize ptr and S explicitly.
7386 (skip_type_update_when_not_use_rtti_test): Likewise.
7387
6be47f0c
KS
73882014-06-16 Keith Seitz <keiths@redhat.com>
7389
7390 PR mi/15863
7391 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7392 the inferior is started.
7393
d03de421
PA
73942014-06-16 Pedro Alves <palves@redhat.com>
7395
7396 * gdb.base/break-main-file-remove-fail.c: New file.
7397 * gdb.base/break-main-file-remove-fail.exp: New file.
7398 * gdb.base/break-unload-file.exp: Use build_executable instead of
7399 prepare_for_testing.
7400 (test_break): New parameter "initial_load". Handle it.
7401 (top level): Add initial_load cmdline/file axis.
7402
f9579b99
TT
74032014-06-12 Tom Tromey <tromey@redhat.com>
7404
7405 * gdb.base/completion.exp: Don't use directory name in test.
7406
3657956b
GB
74072014-06-09 Gary Benson <gbenson@redhat.com>
7408
7409 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7410 separate the always-available ANSI-standard signals from the
7411 signals that require checking.
7412 (main): Likewise.
7413 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7414 Likewise.
7415 (main): Likewise.
7416
4186eb54
KS
74172014-06-07 Keith Seitz <keiths@redhat.com>
7418
7419 Revert:
7420 PR c++/16253
7421 * gdb.cp/var-tag.cc: New file.
7422 * gdb.cp/var-tag.exp: New file.
7423 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7424 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7425 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7426 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7427
25326a28 74282014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
7429
7430 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7431
829155c9
PA
74322014-06-06 Pedro Alves <palves@redhat.com>
7433
7434 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7435 in target debug output instead of looking at RSP packets,
7436 disabling the test on any target that uses hardware stepping.
7437 Update comments.
7438
61c8d22e
PA
74392014-06-06 Pedro Alves <palves@redhat.com>
7440
7441 * gdb.base/break-unload-file.exp: Fix typo.
7442
d9a47287
YQ
74432014-06-06 Yao Qi <yao@codesourcery.com>
7444
7445 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7446 from "jit_function" to "^jit_function".
7447
e5e01dbf
YQ
74482014-06-06 Yao Qi <yao@codesourcery.com>
7449
7450 * gdb.base/async.c (foo): Add one statement.
7451 * gdb.base/async.exp: Get the next instruction address and
7452 match the output of "nexti" by instruction address. Match
7453 the hex address in the output of "finish".
7454
73ba372c
GB
74552014-06-06 Gary Benson <gbenson@redhat.com>
7456
7457 * gdb.base/call-signals.c: Remove preprocessor conditionals
7458 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7459 SIGSEGV and SIGTERM.
7460 * gdb.base/sigall.c: Likewise.
7461 * gdb.base/unwindonsignal.c: Likewise.
7462 * gdb.reverse/sigall-reverse.c: Likewise.
7463
831517df
YQ
74642014-06-06 Yao Qi <yao@codesourcery.com>
7465
7466 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7467 readable, skip the test.
7468
b8b91e98
YQ
74692014-06-06 Yao Qi <yao@codesourcery.com>
7470
7471 * gdb.threads/staticthreads.c (thread_function): Move the line
7472 setting breakpoint on forward.
7473 * gdb.threads/staticthreads.exp: Update comments.
7474
fb934770
LC
74752014-06-05 Ludovic Courtès <ludo@gnu.org>
7476
7477 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7478 "history-append! type error".
7479
6ef284bd
SM
74802014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7481
7482 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7483 erroneous dprintf expected input.
7484
a872e241
DE
74852014-06-04 Doug Evans <xdje42@gmail.com>
7486
7487 * gdb.guile/scm-generics.exp: Delete.
7488
16f691fb
DE
74892014-06-04 Doug Evans <xdje42@gmail.com>
7490
7491 * gdb.guile/scm-breakpoint.exp: Update.
7492 Add tests for breakpoint registration.
7493
012370f6
TT
74942014-06-04 Tom Tromey <tromey@redhat.com>
7495
7496 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7497 VLA-in-union.
7498 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7499 inner_vla_struct, vla_union types. Initialize objects of those
7500 types and compute their sizes.
7501
9f5a4cef
HZ
75022014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7503 Hui Zhu <hui@codesourcery.com>
7504
7505 * gdb.base/fileio.exp: Add test for shell not available as well as
7506 available.
7507 * gdb.base/fileio.c (test_system): Check for shell twice.
7508
90a45c4d
YQ
75092014-06-04 Yao Qi <yao@codesourcery.com>
7510
7511 * gdb.base/auto-connect-native-target.exp: Remove redundant
7512 space from the regexp pattern.
7513
70017e41
YQ
75142014-06-04 Yao Qi <yao@codesourcery.com>
7515
7516 * gdb.base/default.exp: Replace "child" with "native" in
7517 regexp pattern.
7518
883964a7
SC
75192014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7520
7521 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7522 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7523 * gdb.python/py-xmethods.py: Python script supporting the
7524 new testcase and tests.
7525
ef370185
JB
75262014-06-03 Joel Brobecker <brobecker@adacore.com>
7527 Pedro Alves <palves@redhat.com>
7528
7529 PR breakpoints/17000
7530 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7531 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7532
1e2ccb61
BM
75332014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7534
7535 * gdb.base/subst.exp: Add tests to verify partial path matching
7536 output.
7537
c6ec5ab2
PA
75382014-06-03 Pedro Alves <palves@redhat.com>
7539
7540 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7541 target that doesn't use software single-stepping.
7542
835c559f
PA
75432014-06-03 Pedro Alves <palves@redhat.com>
7544
7545 PR breakpoints/17000
7546 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7547 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7548
06eb1586
DE
75492014-06-02 Doug Evans <xdje42@gmail.com>
7550
7551 * gdb.guile/scm-parameter.exp: New file.
7552
e698b8c4
DE
75532014-06-02 Doug Evans <xdje42@gmail.com>
7554
7555 * gdb.guile/scm-cmd.c: New file.
7556 * gdb.guile/scm-cmd.exp: New file.
7557
ded03782
DE
75582014-06-02 Doug Evans <xdje42@gmail.com>
7559
7560 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7561 pretty-printer lookup.
7562 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7563 (make-pp_s-printer): Call it.
7564 (make-pretty-printer-from-dict): New function.
7565 (lookup-pretty-printer-maker-from-dict): New function.
7566 (*pretty-printer*): Simplify.
7567 (make-objfile-pp_s-printer): New function.
7568 (install-objfile-pretty-printers!): New function.
7569 (make-progspace-pp_s-printer): New function.
7570 (install-progspace-pretty-printers!): New function.
7571 * gdb.guile/scm-progspace.c: New file.
7572 * gdb.guile/scm-progspace.exp: New file.
7573
41fac0cf
PA
75742014-06-02 Pedro Alves <palves@redhat.com>
7575
7576 * gdb.base/dprintf-bp-same-addr.c: New file.
7577 * gdb.base/dprintf-bp-same-addr.exp: New file.
7578
96ae5695
EBM
75792014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7580
7581 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7582 * gdb.arch/powerpc-power.s: Likewise.
7583
da02b3a8
JB
75842014-06-02 Joel Brobecker <brobecker@adacore.com>
7585
7586 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7587
c72b2e7b
YQ
75882014-06-01 Yao Qi <yao@codesourcery.com>
7589
7590 * gdb.base/watchpoint.exp (test_watch_location): Check null
7591 pointer can be dereferenced. If not, do the test, otherwise
7592 skip it.
7593
53e8a631
AB
75942014-05-30 Andrew Burgess <aburgess@broadcom.com>
7595
7596 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7597 results.
7598 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7599
938f0e2f
AB
76002014-05-30 Andrew Burgess <aburgess@broadcom.com>
7601
7602 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7603 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7604 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7605 * gdb.arch/amd64-invalid-stack-top.c: New file.
7606 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7607
9ba6657a
PA
76082014-05-30 Pedro Alves <palves@redhat.com>
7609
7610 PR breakpoints/17000
7611 * gdb.base/sss-bp-on-user-bp.c: New file.
7612 * gdb.base/sss-bp-on-user-bp.exp: New file.
7613
522c09bf
DB
76142014-05-30 David Blaikie <dblaikie@gmail.com>
7615
7616 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7617 gnu_inline semantics via attribute.
7618 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7619 source explicitly specifies the required semantics.
7620
bf4ef81e
MR
76212014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7622
7623 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7624
329ea579
PA
76252014-05-29 Pedro Alves <palves@redhat.com>
7626 Tom Tromey <tromey@redhat.com>
7627
7628 * gdb.base/async-shell.exp: Don't enable target-async.
7629 * gdb.base/async.exp
7630 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7631 parameter. Adjust.
7632 (top level): Don't test with "target-async".
7633 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7634 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7635 * gdb.base/inferior-died.exp: Don't enable target-async.
7636 * gdb.base/interrupt-noterm.exp: Likewise.
7637 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7638 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7639 * gdb.mi/mi-nonstop.exp: Likewise.
7640 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7641 * gdb.mi/mi-nsintrall.exp: Likewise.
7642 * gdb.mi/mi-nsmoribund.exp: Likewise.
7643 * gdb.mi/mi-nsthrexec.exp: Likewise.
7644 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7645 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7646 * gdb.python/py-evsignal.exp: Don't enable target-async.
7647 * gdb.python/py-evthreads.exp: Likewise.
7648 * gdb.python/py-prompt.exp: Likewise.
7649 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7650 * gdb.server/solib-list.exp: Don't enable target-async.
7651 * gdb.threads/thread-specific-bp.exp: Likewise.
7652 * lib/mi-support.exp: Adjust to use mi-async.
7653
fd664c91
PA
76542014-05-29 Pedro Alves <palves@redhat.com>
7655
7656 PR gdb/13860
7657 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7658 reason, even in sync mode.
7659
251bde03
PA
76602014-05-29 Pedro Alves <palves@redhat.com>
7661 Hui Zhu <hui@codesourcery.com>
7662
7663 PR PR15693
7664 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7665 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7666 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7667 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7668
7f3c0343
JB
76692014-05-28 Joel Brobecker <brobecker@adacore.com>
7670
7671 * config/monitor.exp (gdb_target_monitor): Replace use of
7672 "set remotebaud" by "set serial baud".
7673
b2715b27
AW
76742014-05-26 Andy Wingo <wingo@igalia.com>
7675
7676 * gdb.guile/scm-breakpoint.exp:
7677 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7678 properties instead of gdb-object-properties.
7679
498a4489
YQ
76802014-05-26 Yao Qi <yao@codesourcery.com>
7681
7682 * gdb.server/no-thread-db.exp: Specify source file name
7683 explicitly when setting a breakpoint.
7684
589fdceb
MM
76852014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7686
7687 * gdb.btrace/vdso.c: New.
7688 * gdb.btrace/vdso.exp: New.
7689
e9089e05
MM
76902014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7691
7692 * gdb.base/gcore.exp (capture_command_output): Move ...
7693 * lib/gdb.exp (capture_command_output): ... here.
7694
67b5c0c1
MM
76952014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7696
7697 * gdb.btrace/data.exp: Test memory access during btrace replay.
7698
a2199296
SM
76992014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7700
7701 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7702
17b2616c
PA
77032014-05-21 Pedro Alves <palves@redhat.com>
7704
7705 PR gdb/13860
7706 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7707 (top level): Test that output related to execution commands is
7708 sent to the console with CLI commands, but not with MI commands.
7709 Test that breakpoint events are always mirrored to the console.
7710 Also expect the new source line to be output after a "next" in
7711 async mode too. Make it a pass/fail test.
7712 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7713 output.
7714 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7715
5166082f
PA
77162014-05-21 Pedro Alves <palves@redhat.com>
7717
7718 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7719 Use them to test variations of "list" after reaching a breakpoint.
7720 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7721 Test "list" with listsize 10 after reaching a breakpoint.
7722 * gdb.python/python.exp (decode_line current location line
7723 number): Adjust expected line number.
7724
2f25d70f
SM
77252014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7726
7727 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7728 behavior for $args, pass it directly to "run".
7729
ff604a67
MR
77302014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7731
7732 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7733 30000 to 65536.
7734
6a3cb8e8
PA
77352014-05-21 Pedro Alves <palves@redhat.com>
7736
7737 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7738 auto-connect-native-target off".
7739 * gdb.base/auto-connect-native-target.c: New file.
7740 * gdb.base/auto-connect-native-target.exp: New file.
7741
4ebfc96e
PA
77422014-05-21 Pedro Alves <palves@redhat.com>
7743
7744 * gdb.base/default.exp: Test "target native" instead of "target
7745 child".
7746
36d46afb
MW
77472014-05-21 Mark Wielaard <mjw@redhat.com>
7748
7749 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7750
5876f503
JK
77512014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7752
7753 Fix TLS access for -static -pthread.
7754 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7755 <HAVE_TLS> (thread_function, main): Initialize it.
7756 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7757 Add clean_restart.
7758 <$have_tls != "">: Check TLSVAR.
7759
0256a6ac
PA
77602014-05-21 Pedro Alves <palves@redhat.com>
7761
7762 * gdb.base/dcache-line-read-error.c: New.
7763 * gdb.base/dcache-line-read-error.exp: New.
7764
936d2992
PA
77652014-05-20 Pedro Alves <palves@redhat.com>
7766
7767 * gdb.base/compare-sections.c: New file.
7768 * gdb.base/compare-sections.exp: New file.
7769
802e8e6d
PA
77702014-05-20 Pedro Alves <palves@redhat.com>
7771
7772 * gdb.base/break-idempotent.c: New file.
7773 * gdb.base/break-idempotent.exp: New file.
7774
e59fa00f
MM
77752014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7776
7777 * gdb.btrace/nohist.exp: New.
7778
8b696e31
YQ
77792014-05-20 Yao Qi <yao@codesourcery.com>
7780
7781 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7782 gdb.reverse directory and gdb_reverse_timeout exists in board
7783 setting.
7784 * README: Document gdb_reverse_timeout.
7785
73c9764f
YQ
77862014-05-20 Yao Qi <yao@codesourcery.com>
7787
7788 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7789 'test_file_name'. Treat args as a string instead of a list.
7790 (gdb_init): Rename argument 'args' by 'test_file_name'.
7791
f1f4348a
JK
77922014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7793
7794 * gdb.arch/powerpc-power.exp: New file.
7795 * gdb.arch/powerpc-power.s: New file.
7796
0dbe70ce
DE
77972014-05-16 Doug Evans <dje@google.com>
7798
7799 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
7800 * gdb.base/completion.exp: Check that all expected files exist
7801 before doing file completion.
0dbe70ce 7802
8d551b02
DE
78032014-05-16 Doug Evans <dje@google.com>
7804
7805 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7806 Update.
7807 (do_syscall_tests_without_xml): Update.
7808
73eb7709
PA
78092014-05-16 Pedro Alves <palves@redhat.com>
7810
7811 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7812 instead of "unknown output after running".
7813
3fae92fc
YQ
78142014-05-16 Yao Qi <yao@codesourcery.com>
7815
7816 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7817 file1.txt from host at the end.
7818 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7819
c2b2ccc5
DE
78202014-05-15 Doug Evans <dje@google.com>
7821
7822 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7823 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7824 loading file. Add test for TU lookup.
7825
8c217a4b
SM
78262014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7827
7828 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7829 calling "-exec-arguments" or "set args" before running the
7830 inferior.
7831
3deb39c6
SM
78322014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7833
7834 * lib/mi-support.exp (mi_expect_stop): Expect message for
7835 inferiors that exit with non-zero exit code.
7836
71a79f8c
YQ
78372014-05-14 Yao Qi <yao@codesourcery.com>
7838
7839 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7840 match absolute path on remote host.
7841 (test_file_list_exec_source_files): Remove "/" from the
7842 pattern.
7843
f23fcd46
YQ
78442014-05-14 Yao Qi <yao@codesourcery.com>
7845
7846 * boards/local-remote-host-notty.exp (${board}_file): New
7847 proc.
7848
9404b58f
KM
78492014-05-07 Kyle McMartin <kyle@redhat.com>
7850
7851 Pushed by Joel Brobecker <brobecker@adacore.com>.
7852 * gdb.arch/aarch64-atomic-inst.c: New file.
7853 * gdb.arch/aarch64-atomic-inst.exp: New file.
7854
5e45f04c
YQ
78552014-05-07 Yao Qi <yao@codesourcery.com>
7856
7857 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7858 in current context" too.
7859
c888a17d
KS
78602014-05-05 Keith Seitz <keiths@redhat.com>
7861
7862 * gdb.linespec/ls-dollar.exp: Add test for linespec
7863 file:convenience_variable.
7864
290a839c
YQ
78652014-05-05 Yao Qi <yao@codesourcery.com>
7866
7867 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7868 traceframes into tfile and ctf trace files. Read data from
7869 trace file and test collected data.
7870 (gdb_collect_locals_test): Likewise.
7871 (gdb_unavailable_registers_test): Likewise.
7872 (gdb_unavailable_floats): Likewise.
7873 (gdb_collect_globals_test): Likewise.
7874 (top-level): Append "ctf" to trace_file_targets if GDB
7875 supports.
7876
b5262cd0
YQ
78772014-05-05 Yao Qi <yao@codesourcery.com>
7878
7879 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7880 code to ...
7881 (gdb_collect_args_test_1): ... it. New proc.
7882 (gdb_collect_locals_test): Move some code to ...
7883 (gdb_collect_locals_test_1): ... it. New proc.
7884 (gdb_unavailable_registers_test): Move some code to ...
7885 (gdb_unavailable_registers_test_1): ... it. New proc.
7886 (gdb_unavailable_floats): Move some code to ...
7887 (gdb_unavailable_floats_1): ... it. New proc.
7888
30a1e6cc
SDJ
78892014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7890
7891 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7892 probes to test for bitness recognition.
7893 * gdb.arch/amd64-stap-optional-prefix.exp
7894 (test_probe_value_without_reg): New procedure.
7895 Add code to test for different kinds of bitness.
7896
f33da99a
SDJ
78972014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7898
7899 PR breakpoints/16889
7900 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7901 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7902
5b80f00d
PA
79032014-05-01 Pedro Alves <palves@redhat.com>
7904
7905 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7906 gdb_file_cmd if no file is specified.
7907 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7908 last_loaded_file to set the remote exec-file.
7909
f8c2a73c
PA
79102014-05-01 Pedro Alves <palves@redhat.com>
7911
7912 * boards/local-remote-host.exp: New file.
7913
be6e8ac7
PA
79142014-05-01 Pedro Alves <palves@redhat.com>
7915
7916 * boards/local-remote-host.exp: Rename to ...
7917 * boards/local-remote-host-notty.exp: ... this.
7918
cac0dc8f
JB
79192014-04-28 Joel Brobecker <brobecker@adacore.com>
7920
7921 * gdb.ada/dyn_arrayidx: New testcase.
7922
9730e6cc
YQ
79232014-04-26 Yao Qi <yao@codesourcery.com>
7924
7925 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7926 and compute the length of function main. Save it in
7927 $main_length.
7928 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7929 (top-level): Use gdb_compile to compile objects into
7930 executable and restart GDB. Remove invocation to
7931 prepare_for_testing.
7932
7ae1a6a6
PA
79332014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7934 Pedro Alves <palves@redhat.com>
7935
7936 PR server/16255
7937 * gdb.multi/multi-attach.c: New file.
7938 * gdb.multi/multi-attach.exp: New file.
7939
4082afcc
PA
79402014-04-25 Pedro Alves <palves@redhat.com>
7941
7942 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7943 user.
7944 (top level): Test that "set remote conditional-breakpoints-packet
7945 off" works as intended.
7946 * gdb.base/dprintf.exp: Test that "set remote
7947 breakpoint-commands-packet off" works as intended.
7948 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7949 New function.
7950 (top level): Call it.
7951 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7952 remote fast-tracepoints-packet off" works as intended.
7953 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7954 * lib/gdb.exp (gdb_is_target_remote): ... here.
7955
2abc3f8d
DB
79562014-04-24 David Blaikie <dblaikie@gmail.com>
7957
7958 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7959 ensure clang would not discard them.
7960 * gdb.base/gdbvars.c: Ditto.
7961 * gdb.base/memattr.c: Ditto.
7962 * gdb.base/whatis.c: Ditto.
7963 * gdb.python/py-prettyprint.c: Ditto.
7964 * gdb.trace/actions.c: Ditto.
7965 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7966 ensure clang would not discard it.
7967
bfd39632
DB
79682014-04-24 David Blaikie <dblaikie@gmail.com>
7969
7970 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7971 clang to emit the full definition of type required by the test
7972 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7973
22842ff6
DB
79742014-04-24 David Blaikie <dblaikie@gmail.com>
7975
7976 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7977 coax Clang into emitting the definition of the type.
7978 * gdb.cp/pr10728-x.h (y): Ditto.
7979 * gdb.cp/pr10728-y.cc (y): Ditto.
7980
c2e827ad
DB
79812014-04-24 David Blaikie <dblaikie@gmail.com>
7982
7983 * gdb.base/label.exp: XFAIL label related tests under Clang.
7984 * gdb.cp/cplabel.exp: Ditto.
7985 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7986 under Clang those using labels.
7987
4c2d33e7
YQ
79882014-04-25 Yao Qi <yao@codesourcery.com>
7989
7990 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7991 double_label.
7992 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7993 partial_label and double_label.
7994
56083b99
DB
79952014-04-24 David Blaikie <dblaikie@gmail.com>
7996
7997 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7998
25d4e99d
DB
79992014-04-24 David Blaikie <dblaikie@gmail.com>
8000
8001 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
8002 of the function to work across GCC and Clang.
8003 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
8004 pointer types (const void ** const V void **).
8005
01f9f808
MS
80062014-04-24 Michael Sturm <michael.sturm@mintel.com>
8007 Walfred Tedeschi <walfred.tedeschi@intel.com>
8008
8009 * Makefile.in (EXECUTABLES): Added i386-avx512.
8010 * gdb.arch/i386-avx512.c: New file.
8011 * gdb.arch/i386-avx512.exp: Likewise.
8012
4b48d439
KS
80132014-04-23 Keith Seitz <keiths@redhat.com>
8014
8015 * lib/mi-support.exp (mi_list_breakpoints): Delete.
8016 (mi_make_breakpoint_table): New procedure.
8017 (mi_create_breakpoint): Use mi_make_breakpoint
8018 and return the result.
8019 (mi_make_breakpoint): New procedure.
8020 (mi_build_kv_pairs): New procedure.
8021
8022 * gdb.mi/mi-break.exp: Remove unused globals,
8023 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
8024 All callers updated.
8025 * gdb.mi/mi-dprintf.exp: Use variable to track command
8026 number.
8027 Update all callers of mi_create_breakpoint and use
8028 mi_make_breakpoint_table.
8029 Remove any unused global variables.
8030 * gdb.mi/mi-nonstop.exp: Likewise.
8031 * gdb.mi/mi-nsintrall.exp: Likewise.
8032 * gdb.mi/mi-nsmoribund.exp: Likewise.
8033 * gdb.mi/mi-nsthrexec.exp: Likewise.
8034 * gdb.mi/mi-reverse.exp: Likewise.
8035 * gdb.mi/mi-simplerun.exp: Likewise.
8036 * gdb.mi/mi-stepn.exp: Likewise.
8037 * gdb.mi/mi-syn-frame.exp: Likewise.
8038 * gdb.mi/mi-until.exp: Likewise.
8039 * gdb.mi/mi-var-cp.exp: Likewise.
8040 * gdb.mi/mi-var-display.exp: Likewise.
8041 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
8042 * gdb.mi/mi2-var-child.exp: Likewise.
8043 * gdb.mi/mi-vla-c99.exp: Likewise.
8044 * lib/mi-support.exp: Likewise.
8045
8046 From Ian Lance Taylor <iant@cygnus.com>:
8047 * lib/gdb.exp (parse_args): New procedure.
8048
08351840
PA
80492014-04-23 Pedro Alves <palves@redhat.com>
8050
8051 * gdb.base/break-unload-file.c: New file.
8052 * gdb.base/break-unload-file.exp: New file.
8053 * gdb.base/sym-file-lib.c (baz): New function.
8054 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
8055 field.
8056 (load): Store the segment's mapped size.
8057 (unload): New function.
8058 (unload_shlib): New function.
8059 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
8060 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
8061 set a breakpoint at baz, and call it.
8062 * gdb.base/sym-file.exp: New tests for stale breakpoint
8063 instructions.
8064
076855f9
PA
80652014-04-23 Pedro Alves <palves@redhat.com>
8066
8067 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
8068 * gdb.base/hbreak-in-shr-unsupported.c: New file.
8069 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
8070 * gdb.base/hbreak-unmapped.c: New file.
8071 * gdb.base/hbreak-unmapped.exp: New file.
8072 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
8073 * lib/gdb.exp (gdb_is_target_remote): ... here.
8074
483805cf
PA
80752014-04-22 Pedro Alves <palves@redhat.com>
8076
8077 * gdb.base/consecutive-step-over.c: New file.
8078 * gdb.base/consecutive-step-over.exp: New file.
8079
06d97543
PA
80802014-04-22 Pedro Alves <palves@redhat.com>
8081
8082 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
8083 instead of send_gdb/gdb_expect.
8084
b4429ea2
YQ
80852014-04-22 Yao Qi <yao@codesourcery.com>
8086
8087 * lib/trace-support.exp (generate_tracefile): New procedure.
8088 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
8089 return 0.
8090 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
8091 if generate_tracefile returns 1.
8092
51d48146
PA
80932014-04-18 Tom Tromey <palves@redhat.com>
8094 Pedro alves <tromey@redhat.com>
8095
8096 PR backtrace/15558
8097 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
8098 with a backtrace limit.
8099 * gdb.python/py-frame-inline.exp: Test running to an inline
8100 function with a backtrace limit, and printing the newest frame.
8101 * gdb.python/py-frame-inline.c (main): Call f.
8102
bd1dce5f
MS
81032014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8104
8105 * gdb.java/jnpe.exp: Drop srcdir from untested path.
8106
40d1a503
MS
81072014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8108
8109 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
8110 Drop prefix from unsupported source file path.
8111
389b98f7
YQ
81122014-04-17 Yao Qi <yao@codesourcery.com>
8113
8114 * lib/gdb.exp (with_target_charset): New proc.
8115 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
8116 with_target_charset.
8117 (test_print_strings): Likewise.
8118 (test_repeat_bytes): Likewise.
8119 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
8120 for some tests.
8121
22869d73
KS
81222014-04-16 Keith Seitz <keiths@redhat.com>
8123
8124 PR gdb/15827
8125 * gdb.dwarf2/corrupt.c: New file.
8126 * gdb.dwarf2/corrupt.exp: New file.
8127
c4f87ca6
KS
81282014-04-16 Keith Seitz <keiths@redhat.com>
8129
8130 PR c++/16597
8131 * gdb.cp/namelessclass.cc: New file.
8132 * gdb.cp/namelessclass.exp: New file.
8133 * gdb.cp/namelessclass.S: New file.
8134
ab19de87
DE
81352014-04-16 Doug Evans <dje@google.com>
8136
8137 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
8138 Add comment.
8139 (gdbserver_default_get_comm_port): New function.
8140 (gdbserver_start): Check if board file provided
8141 "gdbserver,get_comm_port" and use it if so.
8142 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
8143 (gdb,socketport): Set to "stdio".
8144 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
8145 (stdio_gdbserver_template): Delete.
8146 (${board}_get_remote_address): Update.
8147 (${board}_build_remote_cmd): Delete.
8148 (${board}_get_comm_port): New function.
8149 (${board}_spawn): Update.
8150 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
8151 Delete.
8152 (${board}_get_remote_address): Update.
8153 (${board}_get_comm_port): New function.
8154
fc98a809
AB
81552014-04-16 Andrew Burgess <aburgess@broadcom.com>
8156
8157 * gdb.base/memattr.exp: Improve regexps to handle memory regions
8158 appearing in any order.
8159
87fd9e6e
DE
81602014-04-15 Doug Evans <dje@google.com>
8161
8162 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
8163 uninitialized value of "description".
8164
099fc3ea
KS
81652014-04-15 Keith Seitz <keiths@redhat.com>
8166
8167 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
8168 Remove unused globals.
8169 (test_running_the_program): Likewise.
8170 (test_controlled_execution): Likewise.
8171 (test_controlling_breakpoints): Likewise.
8172 (test_program_termination): Likewise.
8173
5da151d4
KS
81742014-04-15 Keith Seitz <keiths@redhat.com>
8175
8176 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
8177 unused globals.
8178 (test_rbreak_creation_and_listing): Likewise.
8179 (test_ignore_count): Likewise.
8180 (test_error): Likewise.
8181
35e5d2f0
PA
81822014-04-15 Pedro Alves <palves@redhat.com>
8183
8184 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
8185 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
8186 sym-file-loader.c.
8187 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8188 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8189 to sym-file-loader.c.
8190 (struct library): Forward declare.
8191 (load_shlib, lookup_function): Change prototypes.
8192 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8193 (translate_offset): Remove declarations.
8194 (get_text_addr): New declaration.
8195 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
8196 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
8197 sym-file-loader.h.
8198 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8199 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8200 here from sym-file-loader.h.
8201 (struct library): New structure.
8202 (load_shlib, lookup_function): Change prototypes and adjust to
8203 work with a struct library.
8204 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8205 (translate_offset): Make static.
8206 (get_text_addr): New function.
8207 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
8208
eb4c1710
PA
82092014-04-15 Pedro Alves <palves@redhat.com>
8210
8211 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
8212
2d1baf52
PA
82132014-04-15 Pedro Alves <palves@redhat.com>
8214
8215 * gdb.base/sym-file-loader.c: Include <limits.h>.
8216 (SELF_LINK): New define.
8217 (get_origin): New function.
8218 (load_shlib): Use it.
8219 * gdb.base/sym-file.exp: Don't early return if the target is
8220 remote. Use runto_main, and issue fail is that fails. Use
8221 gdb_load_shlibs.
8222 (shlib_name): Delete.
8223 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
8224
7dd6df01
PA
82252014-04-15 Pedro Alves <palves@redhat.com>
8226
8227 * gdb.base/sym-file.exp: Remove regex characters from test
8228 message. Don't refer to breakpoint numbers in test messages.
8229
b50c8614
KS
82302014-04-14 Keith Seitz <keiths@redhat.com>
8231
8232 PR c++/16253
8233 * gdb.cp/var-tag.cc: New file.
8234 * gdb.cp/var-tag.exp: New file.
8235 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8236 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8237 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8238 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8239
3d567982
TT
82402014-04-14 Tom Tromey <tromey@redhat.com>
8241
8242 * gdb.cp/classes.exp (test_enums): Handle underlying type.
8243 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
8244 type.
8245 * gdb.cp/enum-class.exp: New file.
8246 * gdb.cp/enum-class.cc: New file.
8247
0626fc76
TT
82482014-04-14 Tom Tromey <tromey@redhat.com>
8249
8250 * gdb.dwarf2/enum-type.exp: New file.
8251
dca325b3
SA
82522014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8253
8254 * gdb.mi/mi-vla-c99.exp: New file.
8255 * gdb.mi/vla.c: New file.
8256
5854b38a
SA
82572014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8258
8259 * gdb.base/vla-datatypes.c: New file.
8260 * gdb.base/vla-datatypes.exp: New file.
8261
463bb957
SA
82622014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8263
8264 * gdb.base/vla-ptr.c: New file.
8265 * gdb.base/vla-ptr.exp: New file.
8266
3dd170be
SA
82672014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8268
8269 * gdb.dwarf2/count.exp: New file.
8270
5ecaaa66
SA
82712014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8272
8273 * gdb.base/vla-sideeffect.c: New file.
8274 * gdb.base/vla-sideeffect.exp: New file.
8275
41f1ada5
DB
82762014-04-14 David Blaikie <dblaikie@gmail.com>
8277
8278 * gdb.mi/non-stop.c: Add return value for non-void function return
8279 statement.
8280 * gdb.threads/staticthreads.c: Ditto.
8281
0be03e84
DE
82822014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8283 Doug Evans <xdje42@gmail.com>
8284
8285 * gdb.guile/scm-value.c: Improve test case.
8286 * gdb.guile/scm-value.exp: Add new test.
8287
f180a1fb
DB
82882014-04-11 David Blaikie <dblaikie@gmail.com>
8289
8290 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
8291 override Clang's default.
8292
6b662e19
JB
82932014-04-11 Joel Brobecker <brobecker@adacore.com>
8294
8295 Revert the following changes (regressions):
8296
8297 * gdb.base/vla-sideeffect.c: New file.
8298 * gdb.base/vla-sideeffect.exp: New file.
8299
8300 * gdb.dwarf2/count.exp: New file.
8301
8302 * gdb.base/vla-multi.c: New file.
8303 * gdb.base/vla-multi.exp: New file.
8304
8305 * gdb.base/vla-ptr.c: New file.
8306 * gdb.base/vla-ptr.exp: New file.
8307
8308 * gdb.base/vla-datatypes.c: New file.
8309 * gdb.base/vla-datatypes.exp: New file.
8310
8311 * gdb.mi/mi-vla-c99.exp: New file.
8312 * gdb.mi/vla.c: New file.
8313
245a5f0b
KS
83142014-04-11 Keith Seitz <keiths@redhat.com>
8315
8316 PR c++/16675
8317 * gdb.cp/cpsizeof.exp: New file.
8318 * gdb.cp/cpsizeof.cc: New file.
8319
58a84dcf
SA
83202014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8321
191a8a90
JB
8322 * gdb.mi/mi-vla-c99.exp: New file.
8323 * gdb.mi/vla.c: New file.
58a84dcf 8324
c8655f75
SA
83252014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8326
8327 * gdb.base/vla-datatypes.c: New file.
8328 * gdb.base/vla-datatypes.exp: New file.
8329
024e13b4
SA
83302014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8331
8332 * gdb.base/vla-ptr.c: New file.
8333 * gdb.base/vla-ptr.exp: New file.
8334
1a237e0e
SA
83352014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8336
8337 * gdb.base/vla-multi.c: New file.
8338 * gdb.base/vla-multi.exp: New file.
8339
504f3432
SA
83402014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8341
8342 * gdb.dwarf2/count.exp: New file.
8343
3bce8237
SA
83442014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8345
191a8a90
JB
8346 * gdb.base/vla-sideeffect.c: New file.
8347 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 8348
322f9c21
YQ
83492014-04-11 Yao Qi <yao@codesourcery.com>
8350
8351 * gdb.base/completion.exp: Check file exists before running tests
8352 on file completion.
8353
d708bcd1
PA
83542014-04-10 Pedro Alves <palves@redhat.com>
8355
8356 * gdb.base/cond-eval-mode.c: New file.
8357 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8358 prepare_for_testing to build the new file. Check result of
8359 runto_main.
8360 (test_break, test_watch): New procedures.
8361 (top level): Use them.
8362
ae1d2761
PM
83632014-04-08 Pierre Muller <muller@sourceware.org>
8364
8365 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8366 Ctrl-V use for mingw hosts.
8367
7af389b8
SC
83682014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8369
8370 * gdb.python/py-value.c: Improve test case.
8371 * gdb.python/py-value.exp: Add new test.
8372
5e703181
DE
83732014-04-07 David Blaikie <dblaikie@gmail.com>
8374
8375 * lib/compiler.c: Identify the clang compiler.
8376 * lib/compiler.cc: Ditto.
8377
9810b410
YQ
83782014-04-03 Yao Qi <yao@codesourcery.com>
8379
8380 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8381
98d1b8dc
AB
83822014-04-01 Anton Blanchard <anton@samba.org>
8383
8384 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8385 messages unique.
8386
3114cea1
AB
83872014-04-01 Anton Blanchard <anton@samba.org>
8388
8389 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8390 prepare_for_testing.
8391
62f7182c
AB
83922014-04-01 Anton Blanchard <anton@samba.org>
8393
8394 * gdb.arch/ppc64-atomic-inst.c: Remove.
8395 * gdb.arch/ppc64-atomic-inst.S: New file.
8396 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8397
770e7fc7
DE
83982014-03-31 Doug Evans <dje@google.com>
8399
8400 * gdb.base/print-symbol-loading-lib.c: New file.
8401 * gdb.base/print-symbol-loading-main.c: New file.
8402 * gdb.base/print-symbol-loading.exp: New file.
8403
46e2bafa
YQ
84042014-03-31 Yao Qi <yao@codesourcery.com>
8405
8406 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8407
8776cfe9
JB
84082014-03-28 Joel Brobecker <brobecker@adacore.com>
8409
8410 * gdb.ada/mi_dyn_arr: New testcase.
8411
5d1ef361
DE
84122014-03-27 Doug Evans <dje@google.com>
8413
8414 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8415
b5bee914
YQ
84162014-03-27 Yao Qi <yao@codesourcery.com>
8417
8418 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8419 if target is nios2-*-*.
8420
0d4d0e77
YQ
84212014-03-26 Yao Qi <yao@codesourcery.com>
8422
8423 * lib/gdb.exp (readline_is_used): New proc.
8424 * gdb.base/completion.exp: Move tests on command complete up.
8425 Skip the rest of tests if readline is not used.
8426 * gdb.ada/complete.exp: Skp the test if readline is not
8427 used.
8428 * gdb.base/filesym.exp: Likewise.
8429 * gdb.base/macscp.exp: Likewise.
8430 * gdb.base/readline-ask.exp: Likewise.
8431 * gdb.base/readline.exp: Likewise.
8432 * gdb.python/py-cmd.exp: Likewise.
8433 * gdb.trace/tfile.exp: Likewise.
8434
29361eee
YQ
84352014-03-26 Yao Qi <yao@codesourcery.com>
8436
8437 * gdb.base/macscp.exp: Fix code format issues.
8438
bc9a5525
UW
84392014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8440
8441 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8442 * gdb.asm/powerpc64le.inc: New file.
8443
d3839ede
PA
84442014-03-25 Pedro Alves <palves@redhat.com>
8445 Doug Evans <dje@google.com>
8446
8447 * gdb.base/source-execution.c: New file.
8448 * gdb.base/source-execution.exp: New file.
8449 * gdb.base/source-execution.gdb: New file.
8450
01672a57
DE
84512014-03-24 Doug Evans <dje@google.com>
8452
8453 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8454 using fission.
8455
88bbeca9
HZ
84562014-03-24 Hui Zhu <hui@codesourcery.com>
8457 Pedro Alves <palves@redhat.com>
8458
8459 PR breakpoints/16101
8460 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8461 test pass/fail messages. Detect missing support for dprintf when
8462 breakpoints are actually inserted.
8463 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8464 breakpoints are actually inserted.
8465 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8466 fails.
8467
d2348791
JK
84682014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8469
8470 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8471
feef67ab
DE
84722014-03-22 Doug Evans <xdje42@gmail.com>
8473
8474 * gdb.python/python.exp (python not supported): Verify multi-line
8475 python command issues an error.
25d743f9 8476 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 8477 guile command issues an error.
feef67ab 8478
ecebef6a
MR
84792014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8480
8481 * gdb.threads/thread-specific.exp: Handle the lack of usable
8482 $this_breakpoint and $this_thread.
8483
ccdd1909
HZ
84842014-03-21 Hui Zhu <hui@codesourcery.com>
8485
8486 * gdb.base/attach.exp (do_command_attach_tests): New.
8487
beb460e8
PA
84882014-03-20 Tom Tromey <tromey@redhat.com>
8489 Pedro Alves <palves@redhat.com>
8490
8491 PR cli/15718
8492 * gdb.base/condbreak-call-false.c: New file.
8493 * gdb.base/condbreak-call-false.exp: New file.
8494
40acf43a
PA
84952014-03-20 Pedro Alves <palves@redhat.com>
8496
8497 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8498 Delete.
8499 (block_signals, unblock_signals): Delete.
8500 (child_function_2, main): Remove references to deleted variable
8501 and functions.
8502
9f5e1e02
PA
85032014-03-20 Pedro Alves <palves@redhat.com>
8504
8505 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8506 Use pthread_kill to signal thread 2.
8507 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8508 Adjust to make the test send itself a signal rather than using the
8509 host's "kill" command.
8510
99619bea
PA
85112014-03-20 Pedro Alves <palves@redhat.com>
8512
8513 * gdb.threads/multiple-step-overs.c: New file.
8514 * gdb.threads/multiple-step-overs.exp: New file.
8515 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8516 Adjust expected infrun debug output.
8517
2adfaa28
PA
85182014-03-20 Pedro Alves <palves@redhat.com>
8519
8520 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8521 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8522
31e77af2
PA
85232014-03-20 Pedro Alves <palves@redhat.com>
8524
8525 PR breakpoints/7143
8526 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8527 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8528 of gdb_test_multiple.
8529 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8530 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8531
b9f437de
PA
85322014-03-20 Pedro Alves <palves@redhat.com>
8533
8534 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8535 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8536
05adc73e
PA
85372014-03-19 Pedro Alves <palves@redhat.com>
8538
8539 * gdb.base/async.exp: Remove early return.
8540
6048b950
PA
85412014-03-19 Pedro Alves <palves@redhat.com>
8542
8543 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8544
8bcfb00a
PA
85452014-03-19 Pedro Alves <palves@redhat.com>
8546
8547 * gdb.base/async.exp (test_background): Expect \r\n after
8548 "completed." in the fail pattern.
8549
884e37dc
PA
85502014-03-19 Pedro Alves <palves@redhat.com>
8551
8552 * gdb.base/async.exp (test_background): New procedure.
8553 Use it for all background execution command tests.
8554
148e57e2
PA
85552014-03-19 Pedro Alves <palves@redhat.com>
8556
8557 * gdb.base/async.exp: Use prepare_for_testing.
8558
f48088c7
PA
85592014-03-19 Pedro Alves <palves@redhat.com>
8560
8561 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8562 the same line.
8563
e2f6c966
PA
85642014-03-19 Pedro Alves <palves@redhat.com>
8565
8566 * gdb.base/async.c (main): Add "jump here" and "until here" line
8567 marker comments.
8568 * gdb.base/async.exp (jump_here): New global.
8569 (jump& test): Use it.
8570 (until_here): New global.
8571 (until& test): Use it.
8572
c30568d4
PA
85732014-03-19 Pedro Alves <palves@redhat.com>
8574
8575 * gdb.base/async.exp: Don't frob gdb_protocol.
8576
0172b6a7
DE
85772014-03-18 Doug Evans <xdje42@gmail.com>
8578
8579 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8580 Fix spelling of exec-done-display.
8581
06c868a8
JK
85822014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8583
8584 PR gdb/15358
8585 * gdb.base/gdb-sigterm.c: New file.
8586 * gdb.base/gdb-sigterm.exp: New file.
8587
0c7e1a46
PA
85882014-03-18 Pedro Alves <palves@redhat.com>
8589
8590 PR gdb/13860
8591 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8592 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8593 solib-event.
8594
f7c77d93
JB
85952014-03-17 Joel Brobecker <brobecker@adacore.com>
8596
8597 * gdb.ada/pckd_arr_ren: New testcase.
8598
5a1e8c7a
DE
85992014-03-13 Doug Evans <xdje42@gmail.com>
8600
8601 PR guile/16612
8602 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8603 collect after discarding symbols.
8604
350e1a76
DE
86052014-03-13 Ludovic Courtès <ludo@gnu.org>
8606 Doug Evans <xdje42@gmail.com>
8607
8608 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8609 to history survives a gc.
8610
a69900ae
PA
86112014-03-13 Pedro Alves <palves@redhat.com>
8612
8613 * gdb.base/default.exp: Don't test "target procfs".
8614
5db9f0bd
PA
86152014-03-13 Pedro Alves <palves@redhat.com>
8616
8617 * gdb.base/default.exp: Update "target child" and "target procfs"
8618 tests to not expect "Unix".
8619
b3ccfe11
TT
86202014-03-12 Tom Tromey <tromey@redhat.com>
8621
8622 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8623 New procs. Add target-async tests.
8624 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8625 Add target-async tests.
8626
646f4417
AA
86272014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8628
8629 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8630 'func_start' and 'func_end' for the beginning and end of the
8631 function code, respectively.
8632 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8633 'func_end' instead of 'func' and 'main'.
8634
288c211f
AA
86352014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8636
8637 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8638 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8639 generate the debug info assembler source.
8640
e0c0f156
AA
86412014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8642
8643 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8644 * gdb.dwarf2/arr-subrange.exp: Likewise.
8645 * gdb.dwarf2/dwz.exp: Likewise.
8646 * gdb.dwarf2/method-ptr.exp: Likewise.
8647 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8648 * gdb.dwarf2/subrange.exp: Likewise.
8649 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8650 * gdb.dwarf2/implptrpiece.exp: Likewise.
8651 * gdb.dwarf2/nostaticblock.exp: Likewise.
8652
0e5c4555
AA
86532014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8654
8655 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8656 directory to absolute path name arguments.
8657
5ec18f2b
JG
86582014-03-10 Joel Brobecker <brobecker@adacore.com>
8659
8660 * gdb.ada/tagged_access: New testcase.
8661
847fc4f2
MM
86622014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8663
8664 * gdb.btrace/data.exp: Update expected output.
8665
cc3da688
YQ
86662014-03-06 Yao Qi <yao@codesourcery.com>
8667
8668 * gdb.trace/pr16508.exp: New file.
8669
0f26cec1
PA
86702014-03-05 Pedro Alves <palves@redhat.com>
8671
8672 PR gdb/16575
8673 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8674 procedure.
8675 (top level): Adjust to use it. Add tests that exercise breakpoint
8676 interaction with the code-cache.
8677
7a5a839f
LC
86782014-02-26 Ludovic Courtès <ludo@gnu.org>
8679
8680 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8681 test for 'history-append!'.
8682
31aa7e4e
JB
86832014-02-26 Joel Brobecker <brobecker@adacore.com>
8684
8685 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8686 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8687 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8688 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8689 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8690 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8691
1b588015
JB
86922014-02-26 Joel Brobecker <brobecker@adacore.com>
8693
8694 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8695 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8696 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8697
55426c9d
JB
86982014-02-26 Joel Brobecker <brobecker@adacore.com>
8699
8700 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8701
dc53a7ad
JB
87022014-02-26 Joel Brobecker <brobecker@adacore.com>
8703
8704 * gdb.dwarf2/arr-stride.c: New file.
8705 * gdb.dwarf2/arr-stride.exp: New file.
8706
12ab52e9
PA
87072014-02-26 Pedro Alves <palves@redhat.com>
8708
8709 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8710 that won't ever trigger. Make sure that GDB reports the correct
8711 breakpoint that caused the stop.
8712
849c862e
JK
87132014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8714
8715 PR gdb/16626
8716 * gdb.base/auto-load-script: New file.
8717 * gdb.base/auto-load.c: New file.
8718 * gdb.base/auto-load.exp: New file.
8719
71b7d793
JK
8720 PR gdb/16626
8721 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8722
e2f0d509
JK
87232014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8724
8725 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8726 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8727
50cc37c8
DE
87282014-02-24 Doug Evans <dje@google.com>
8729
8730 * lib/gdb.exp (run_on_host): Log error output if program fails.
8731
ea4758f2
PA
87322014-02-21 Pedro Alves <palves@redhat.com>
8733
8734 * gdb.threads/step-after-sr-lock.c: Rename to ...
8735 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8736 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8737 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8738 ... this.
8739
d7b30f67
SDJ
87402014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8741
8742 PR tdep/16397
8743 * gdb.arch/amd64-stap-special-operands.exp: New file.
8744 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8745 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8746 * gdb.arch/amd64-stap-triplet.S: Likewise.
8747 * gdb.arch/amd64-stap-triplet.c: Likewise.
8748
83deb43f
JB
87492014-02-20 Joel Brobecker <brobecker@adacore.com>
8750
8751 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8752 in .section pseudo-op.
8753
adde2bff
DE
87542014-02-20 lin zuojian <manjian2006@gmail.com>
8755 Joel Brobecker <brobecker@adacore.com>
8756 Doug Evans <xdje42@gmail.com>
8757
8758 PR symtab/16581
8759 * gdb.dwarf2/dw2-icycle.S: New file.
8760 * gdb.dwarf2/dw2-icycle.c: New file.
8761 * gdb.dwarf2/dw2-icycle.exp: New file.
8762
f7bd0f78
SC
87632014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8764
8765 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8766 operations on gdb.Value objects.
8767 * gdb.python/py-value-cc.exp: Add new test to test operations on
8768 gdb.Value objects.
8769
c17ef0d5
DE
87702014-02-18 Doug Evans <dje@google.com>
8771
8772 * Makefile.in (TESTS): New variable.
8773 (expanded_tests, expanded_tests_or_none): New variables
8774 (check-single): Pass $(expanded_tests_or_none) to runtest.
8775 (check-parallel): Only run tests in $(TESTS) if non-empty.
8776 (check/no-matching-tests-found): New rule.
8777 * README: Document TESTS makefile variable.
8778
5dd3176f
DE
87792014-02-18 Doug Evans <dje@google.com>
8780
8781 * Makefile.in (check-parallel): rm -rf outputs temp.
8782
0b10be4f
JK
87832014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8784
8785 Fix "ERROR: no fileid for" in the testsuite.
8786 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8787
85f224e7
DE
87882014-02-12 Doug Evans <dje@google.com>
8789
8790 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8791 (MISCELLANEOUS): New variable.
8792 (clean): rm -rf $(MISCELLANEOUS).
8793 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8794 dwp live in the same directory as symlinks, with each symlink pointed
8795 to a differently named file in a different directory.
8796
149b30ff
DE
87972014-02-11 Doug Evans <dje@google.com>
8798
8799 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8800 of Tcl file commands.
8801
1dfdac32
MK
88022014-02-10 Mark Kettenis <kettenis@gnu.org>
8803
8804 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8805 "kill -SIGUSR1 -1".
8806
aa4fb036
JB
88072014-02-10 Joel Brobecker <brobecker@adacore.com>
8808
8809 * gdb.ada/tick_length_array_enum_idx: New testcase.
8810
ed3ef339
DE
88112014-02-10 Doug Evans <xdje42@gmail.com>
8812
8813 * configure.ac (AC_OUTPUT): Add gdb.guile.
8814 * configure: Regenerate.
8815 * lib/gdb-guile.exp: New file.
8816 * lib/gdb.exp (get_target_charset): New function.
8817 * gdb.base/help.exp: Update expected output from "apropos apropos".
8818 * gdb.guile/Makefile.in: New file.
8819 * gdb.guile/guile.exp: New file.
8820 * gdb.guile/scm-arch.c: New file.
8821 * gdb.guile/scm-arch.exp: New file.
8822 * gdb.guile/scm-block.c: New file.
8823 * gdb.guile/scm-block.exp: New file.
8824 * gdb.guile/scm-breakpoint.c: New file.
8825 * gdb.guile/scm-breakpoint.exp: New file.
8826 * gdb.guile/scm-disasm.c: New file.
8827 * gdb.guile/scm-disasm.exp: New file.
8828 * gdb.guile/scm-equal.c: New file.
8829 * gdb.guile/scm-equal.exp: New file.
8830 * gdb.guile/scm-error.exp: New file.
8831 * gdb.guile/scm-error.scm: New file.
8832 * gdb.guile/scm-frame-args.c: New file.
8833 * gdb.guile/scm-frame-args.exp: New file.
8834 * gdb.guile/scm-frame-args.scm: New file.
8835 * gdb.guile/scm-frame-inline.c: New file.
8836 * gdb.guile/scm-frame-inline.exp: New file.
8837 * gdb.guile/scm-frame.c: New file.
8838 * gdb.guile/scm-frame.exp: New file.
8839 * gdb.guile/scm-generics.exp: New file.
8840 * gdb.guile/scm-gsmob.exp: New file.
8841 * gdb.guile/scm-iterator.c: New file.
8842 * gdb.guile/scm-iterator.exp: New file.
8843 * gdb.guile/scm-math.c: New file.
8844 * gdb.guile/scm-math.exp: New file.
8845 * gdb.guile/scm-objfile-script-gdb.in: New file.
8846 * gdb.guile/scm-objfile-script.c: New file.
8847 * gdb.guile/scm-objfile-script.exp: New file.
8848 * gdb.guile/scm-objfile.c: New file.
8849 * gdb.guile/scm-objfile.exp: New file.
8850 * gdb.guile/scm-ports.exp: New file.
8851 * gdb.guile/scm-pretty-print.c: New file.
8852 * gdb.guile/scm-pretty-print.exp: New file.
8853 * gdb.guile/scm-pretty-print.scm: New file.
8854 * gdb.guile/scm-section-script.c: New file.
8855 * gdb.guile/scm-section-script.exp: New file.
8856 * gdb.guile/scm-section-script.scm: New file.
8857 * gdb.guile/scm-symbol.c: New file.
8858 * gdb.guile/scm-symbol.exp: New file.
8859 * gdb.guile/scm-symtab-2.c: New file.
8860 * gdb.guile/scm-symtab.c: New file.
8861 * gdb.guile/scm-symtab.exp: New file.
8862 * gdb.guile/scm-type.c: New file.
8863 * gdb.guile/scm-type.exp: New file.
8864 * gdb.guile/scm-value-cc.cc: New file.
8865 * gdb.guile/scm-value-cc.exp: New file.
8866 * gdb.guile/scm-value.c: New file.
8867 * gdb.guile/scm-value.exp: New file.
8868 * gdb.guile/source2.scm: New file.
8869 * gdb.guile/types-module.cc: New file.
8870 * gdb.guile/types-module.exp: New file.
8871
7026a7c1
YQ
88722014-02-10 Yao Qi <yao@codesourcery.com>
8873
8874 PR testsuite/16543
8875 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8876 * configure: Regenerated.
8877 * Makefile.in: New file.
8878
6c466447
AS
88792014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8880
8881 * gdb.python/py-framefilter.exp: Fix typo.
8882
6e854735
YQ
88832014-02-08 Yao Qi <yao@codesourcery.com>
8884
8885 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8886 that no =breakpoint-modified is emitted when breakpoints are
8887 modified through MI commands.
8888
d137e6dc
PA
88892014-02-07 Pedro Alves <pedro@codesourcery.com>
8890 Pedro Alves <palves@redhat.com>
8891
8892 * gdb.threads/step-after-sr-lock.c: New file.
8893 * gdb.threads/step-after-sr-lock.exp: New file.
8894
b5ee5a50
PA
88952014-02-07 Pedro Alves <palves@redhat.com>
8896
8897 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8898
3c77faf3
JK
88992014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8900
8901 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8902 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8903
6dddc817
DE
89042014-02-06 Doug Evans <xdje42@gmail.com>
8905
8906 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8907 output.
8908
8909 * gdb.gdb/python-interrupts.exp: New file.
8910
de7b2893
YQ
89112014-02-05 Yao Qi <yao@codesourcery.com>
8912
8913 * gdb.trace/report.exp (use_collected_data): Test the output
8914 of "info threads" and "info inferiors".
8915
66d032ac
YQ
89162014-02-05 Yao Qi <yao@codesourcery.com>
8917
8918 Revert this patch:
8919
8920 2013-05-24 Yao Qi <yao@codesourcery.com>
8921
8922 * gdb.trace/tfile.exp: Test inferior and thread.
8923
591a12a1
UW
89242014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8925
8926 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8927 on a function.
8928 * gdb.base/step-bt.c: Call hello via function pointer to make
8929 sure its first instruction is executed on powerpc64le-linux.
8930
0ff3e01f
UW
89312014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8932
8933 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8934
084ee545
UW
89352014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8936
8937 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8938 of the test patterns for use on little-endian systems.
8939
6ed14ff3
UW
89402014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8941
8942 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8943 (decimal_vector): Fix for little-endian.
8944
401e27fd
JM
89452014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8946
8947 * gdb.arch/sparc-sysstep.exp: New file.
8948 * gdb.arch/sparc-sysstep.c: Likewise.
8949
8950 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8951
8b924729
EBM
89522014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8953
8954 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8955
fb151210
JB
89562014-01-23 Tom Tromey <tromey@redhat.com>
8957
8958 * gdb.ada/array_char_idx: New testcase.
8959
0740f8d8
TT
89602014-01-23 Tom Tromey <tromey@redhat.com>
8961
8962 PR python/16487:
8963 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8964 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8965 classes.
8966
21909fa1
TT
89672014-01-23 Tom Tromey <tromey@redhat.com>
8968
8969 PR python/16491:
8970 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8971 string from an inferior frame.
8972 * gdb.python/py-framefilter-mi.exp: Update.
8973
87ce2a04
DE
89742014-01-22 Doug Evans <dje@google.com>
8975
8976 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8977
237b092b
AA
89782014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8979
8980 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8981
d674a709
AA
89822014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8983
8984 * gdb.trace/entry-values.exp: Remove excess space character from
8985 regex patterns. Handle s390 call instruction.
8986
20fa3390
AA
89872014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8988
8989 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8990 define "*_start" label. Make "name" static.
8991 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8992 ${name} by references to ${name}_start.
8993
78466714
AA
89942014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8995
8996 * gdb.base/info-macros.exp: Remove "debug" from the compile
8997 options.
8998
ec9f644a
IB
89992014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9000
9001 * gdb.dlang/demangle.exp: New file.
9002
94b1b47e
IB
90032014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9004
9005 * gdb.dlang/primitive-types.exp: New file.
9006
7f420862
IB
90072014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9008
9009 * configure.ac: Create gdb.dlang/Makefile.
9010 * configure: Regenerate.
9011 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
9012 * gdb.dlang/Makefile.in: New file.
9013 * lib/d-support.exp: New file.
9014 * lib/gdb.exp (skip_d_tests): New proc.
9015
52834460
MM
90162014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9017
9018 * gdb.btrace/delta.exp: Check reverse stepi.
9019 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
9020 * gdb.btrace/finish.exp: New.
9021 * gdb.btrace/next.exp: New.
9022 * gdb.btrace/nexti.exp: New.
9023 * gdb.btrace/record_goto.c: Add comments.
9024 * gdb.btrace/step.exp: New.
9025 * gdb.btrace/stepi.exp: New.
9026 * gdb.btrace/multi-thread-step.c: New.
9027 * gdb.btrace/multi-thread-step.exp: New.
9028 * gdb.btrace/rn-dl-bind.c: New.
9029 * gdb.btrace/rn-dl-bind.exp: New.
9030 * gdb.btrace/data.c: New.
9031 * gdb.btrace/data.exp: New.
9032 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9033
6e07b1d2
MM
90342014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9035
9036 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
9037 * gdb.btrace/exception.exp: Update.
9038 * gdb.btrace/instruction_history.exp: Update.
9039 * gdb.btrace/record_goto.exp: Update.
9040 * gdb.btrace/tailcall.exp: Update.
9041 * gdb.btrace/unknown_functions.exp: Update.
9042 * gdb.btrace/delta.exp: New.
9043
0b722aec
MM
90442014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9045
9046 * gdb.btrace/record_goto.exp: Add backtrace test.
9047 * gdb.btrace/tailcall.exp: Add backtrace test.
9048
066ce621
MM
90492014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9050
9051 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
9052 * gdb.btrace/record_goto.c: New.
9053 * gdb.btrace/record_goto.exp: New.
9054 * gdb.btrace/x86-record_goto.S: New.
9055
0688d04e
MM
90562014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9057
9058 * gdb.btrace/function_call_history.exp: Update tests.
9059 * gdb.btrace/instruction_history.exp: Update tests.
9060
8710b709
MM
90612014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9062
9063 * gdb.btrace/function_call_history.exp: Fix expected field
9064 order for "record function-call-history".
9065 Add new tests for "record function-call-history /c".
9066 * gdb.btrace/exception.cc: New.
9067 * gdb.btrace/exception.exp: New.
9068 * gdb.btrace/tailcall.exp: New.
9069 * gdb.btrace/x86-tailcall.S: New.
9070 * gdb.btrace/x86-tailcall.c: New.
9071 * gdb.btrace/unknown_functions.c: New.
9072 * gdb.btrace/unknown_functions.exp: New.
9073 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9074
5de9129b
MM
90752014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9076
9077 * gdb.btrace/instruction_history.exp: Update.
9078 * gdb.btrace/function_call_history.exp: Update.
9079
23a7fe75
MM
90802014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9081
9082 * gdb.btrace/function_call_history.exp: Fix expected function
9083 trace.
9084 * gdb.btrace/instruction_history.exp: Initialize traced.
9085 Remove traced_functions.
9086
724c7dd8
MM
90872014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9088
9089 * gdb.btrace/function_call_history.exp: Update
9090 * gdb.btrace/instruction_history.exp: Update.
9091
6d78d93b
MM
90922014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9093
9094 * gdb.btrace/enable.exp: Update expected text.
9095
93a360cc
OJ
90962014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
9097
9098 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
9099 bytes.
9100
3772b53f
MR
91012014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
9102
9103 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
9104
596662fa
OJ
91052014-01-15 Omair Javaid <omair.javaid@linaro.org>
9106
9107 * lib/gdb.exp (supports_process_record): Return true for
9108 arm*-linux*. (supports_reverse): Likewise.
9109
b5b08fb4
SC
91102014-01-13 Siva Chandra Reddy <sivachandra@google.com>
9111
9112 PR python/15464
9113 PR python/16113
9114 * gdb.python/py-type.c: Enhance test case.
9115 * gdb.python/py-value-cc.cc: Likewise
9116 * gdb.python/py-type.exp: Add new tests.
9117 * gdb.python/py-value-cc.exp: Likewise
9118
52d7fb13
AA
91192014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9120 Pedro Alves <palves@redhat.com>
9121
9122 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
9123 Make "name" extern.
9124 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
9125 references to ${name}_start by references to ${name}.
9126
a2cd8cfe
JB
91272014-01-10 Joel Brobecker <brobecker@adacore.com>
9128
9129 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
9130
4e23fced
JB
91312014-01-10 Joel Brobecker <brobecker@adacore.com>
9132
9133 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
9134
c6a9e42c
PA
91352014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
9136 Pedro Alves <palves@redhat.com>
9137
9138 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 9139 mi_gdb_target_load.
c6a9e42c 9140
b7ea362b
PA
91412014-01-08 Pedro Alves <palves@redhat.com>
9142
9143 * gdb.threads/reconnect-signal.c: New file.
9144 * gdb.threads/reconnect-signal.exp: New file.
9145
5e3f4fab
EBM
91462014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9147
9148 * gdb.base/source-dir.exp: New file.
9149
79301218
JB
91502014-01-07 Joel Brobecker <brobecker@adacore.com>
9151
9152 * gdb.ada/mi_interface: New testcase.
9153
8e355c5d
JB
91542014-01-07 Joel Brobecker <brobecker@adacore.com>
9155
9156 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
9157 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
9158 gdb.ada/pp-rec-component/pck.ads: New files.
9159
c0d48811
JB
91602014-01-07 Joel Brobecker <brobecker@adacore.com>
9161
9162 * gdb.python/py-pp-integral.c: New file.
9163 * gdb.python/py-pp-integral.py: New file.
9164 * gdb.python/py-pp-integral.exp: New file.
9165
17b609c3 9166For older changes see ChangeLog-1993-2013.
c906108c 9167\f
8d8cb839
EZ
9168;; Local Variables:
9169;; mode: change-log
9170;; left-margin: 8
9171;; fill-column: 74
9172;; version-control: never
9173;; End:
902f2ccb 9174
618f726f 9175 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
9176 Copying and distribution of this file, with or without modification,
9177 are permitted provided the copyright notice and this notice are preserved.
This page took 3.449016 seconds and 4 git commands to generate.