PR 20569, segv in follow_exec
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
ecf45d2c
SL
12016-10-25 Luis Machado <lgustavo@codesourcery.com>
2
3 * gdb.base/exec-invalid-sysroot.exp: New file.
4
b8d38ee4
JK
52016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6
7 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
8
f90fd8c2
JK
92016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10
11 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
12
2d2476aa
MR
132016-10-19 Maciej W. Rozycki <macro@imgtec.com>
14
15 * gdb.base/killed-outside.exp: Remove $options from a call to
16 `prepare_for_testing'.
17
e42b25a0
SM
182016-10-17 Simon Marchi <simon.marchi@ericsson.com>
19
20 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
21 Change test message.
22
3ccdb432
SM
232016-10-17 Simon Marchi <simon.marchi@ericsson.com>
24
25 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
26 Update comment.
27
5bad3170
SM
282016-10-17 Simon Marchi <simon.marchi@ericsson.com>
29
30 * gdb.trace/mi-trace-save.exp: New file.
31
5ad9dba7
YQ
322016-10-13 Yao Qi <yao.qi@linaro.org>
33
34 * gdb.base/code_elim.exp (get_var_address): Remove.
35 * gdb.base/relocate.exp: Likewise.
36 * gdb.base/shreloc.exp: Likewise.
37 * lib/gdb.exp (get_var_address): New.
38
62df7e21
YQ
392016-10-13 Yao Qi <yao.qi@linaro.org>
40
41 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
42 floating point tests if $skip_float_test is false.
43
4dac951e
LM
442016-10-12 Luis Machado <lgustavo@codesourcery.com>
45
46 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
47 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
48 argc values.
49 Add 1 to argc so we guarantee distinct initial/modified argc values.
50
8f1a8fc4
JK
512016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
52
53 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
54
16c85b5d
JK
552016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
56
57 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
58 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
59 * gdb.arch/vsx-regs.exp: Likewise.
60
1d0e042a
YQ
612016-10-07 Yao Qi <yao.qi@linaro.org>
62
63 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
64
68dadef5
MM
652016-10-07 Markus Metzger <markus.t.metzger@intel.com>
66
67 * gdb.python/python.exp: Test decode_line("*0").
68
33fa2c6e
DE
692016-10-06 Doug Evans <dje@google.com>
70
71 * gdb.python/py-value.exp (test_value_creation): Add test for large
72 unsigned 64-bit value.
73
9c37b5ae
TT
742016-10-06 Tom Tromey <tom@tromey.com>
75
76 * gdb.compile/compile.exp: Change java tests to rust.
77 * gdb.base/setshow.exp: Change java tests to rust.
78 * gdb.base/default.exp: Remove java from language list.
79 * README (Examples): Update language example.
80 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
81 test.
82 * lib/gdb.exp (skip_java_tests): Remove.
83 * lib/java.exp: Remove.
84 * gdb.java: Remove.
85
78b86327
MR
862016-10-06 Maciej W. Rozycki <macro@imgtec.com>
87
88 * gdb.arch/mips-fcr.exp: New test.
89 * gdb.arch/mips-fcr.c: Source for the new test.
90
7470adbb
MR
912016-10-06 Maciej W. Rozycki <macro@imgtec.com>
92
93 * gdb.base/solib-disc.exp: Use `standard_output_file'
94 throughout.
95
4a556533
PA
962016-10-06 Pedro Alves <palves@redhat.com>
97
98 * gdb.base/jit-simple-dl.c: New file.
99 * gdb.base/jit-simple-jit.c: New file, factored out from ...
100 * gdb.base/jit-simple.c: ... this.
101 * gdb.base/jit-simple.exp (jit_run): Delete.
102 (build_jit): New proc.
103 (jit_test_reread): Recompile either the main program or the shared
104 library, depending on what is being tested. Skip changing address
105 if caller wants to. Compare before/after addresses. If testing
106 standalone, explicitly load the binary. Test "maint info
107 breakpoints".
108 (top level): Add "standalone vs shared lib" and "change address"
109 vs "same address" axes.
110
5a122fbc
PA
1112016-10-06 Pedro Alves <palves@redhat.com>
112
113 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
114 call.
115 (jit_run): Delete.
116 (jit_test_reread): Use with_test_prefix. Reload the main binary
117 explicitly. Compare the before/after addresses of the JIT
118 descriptor.
119
ee8da4b8
DE
1202016-08-15 Doug Evans <dje@google.com>
121
122 * gdb.xml/extra-regs.xml: Update, end field now required, default type
123 for single bitfields is bool.
124 * gdb.xml/tdesc-regs.exp: Ditto.
125
f389f6fe
JK
1262016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
127
128 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
129
fdebf1a4
YQ
1302016-10-05 Yao Qi <yao.qi@linaro.org>
131
132 * lib/gdb.exp (support_complex_tests): Return zero if
133 gdb_skip_float_test return true.
134
9c36d954
AT
1352016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
1362016-10-03 Simon Marchi <simon.marchi@ericsson.com>
137
138 PR gdb/20487
139 * gdb.mi/user-selected-context-sync.exp: New file.
140 * gdb.mi/user-selected-context-sync.c: New file.
141
4034d0ff
AT
1422016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
1432016-10-03 Simon Marchi <simon.marchi@ericsson.com>
144
145 PR gdb/20487
146 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
147 =thread-select-event check.
148
a4297203
PB
1492016-09-29 Peter Bergner <bergner@vnet.ibm.com>
150
151 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
152 the compulsory L operand changes.
153 * gdb.arch/powerpc-power.s: Likewise.
154
bb805577
JK
1552016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
156
157 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
158 * gdb.base/jit-attach-pie.c: New file.
159 * gdb.base/jit-attach-pie.exp: New file.
160
6d61dee5
PA
1612016-09-28 Pedro Alves <palves@redhat.com>
162
163 * gdb.base/infcall-input.c: New file.
164 * gdb.base/infcall-input.exp: New file.
165
f73842fc
YQ
1662016-09-22 Yao Qi <yao.qi@linaro.org>
167
168 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
169 (gdb_exit): Rename it to ...
170 (gdbserver_gdb_exit): ... Close GDBserver.
171 (gdb_exit): New proc, call gdbserver_gdb_exit.
172 (mi_gdb_exit): Likewise.
173
90681dab
YQ
1742016-09-22 Yao Qi <yao.qi@linaro.org>
175
176 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
177 path.
178 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
179 Remove duplication.
180
9c211fd8
YQ
1812016-09-22 Yao Qi <yao.qi@linaro.org>
182
183 * lib/gdbserver-support.exp: Check the existence of
184 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
185
ad0a504f
AK
1862016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
187
188 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
189
36cf1806
TT
1902016-09-21 Tom Tromey <tom@tromey.com>
191
192 PR gdb/20604:
193 * gdb.base/quit.exp: New file.
194
74172ecf
SM
1952016-09-21 Simon Marchi <simon.marchi@ericsson.com>
196
197 * .gitignore: New file.
198
3d0ec882
MR
1992016-09-21 Maciej W. Rozycki <macro@imgtec.com>
200
201 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
202 throughout.
203
8193adea
AA
2042016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
205
206 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
207
d41a5c09
JK
2082016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
209
210 * gdb.cp/casts.cc (decltype): Move it ...
211 (main): ... with its call to ...
212 * gdb.cp/casts03.cc: ... a new file.
213 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
214
d2dfe700
JK
2152016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
216
217 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
218
e2a92b16
PB
2192016-09-15 Peter Bergner <bergner@vnet.ibm.com>
220
221 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
222 and sync up the test with tests in gas/testsuite/gas/ppc.
223 * gdb.arch/powerpc-power.exp: Likewise.
224
49b4de64
JK
2252016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
226
227 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
228
2c29df25
SDJ
2292016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
230 Jan Kratochvil <jan.kratochvil@redhat.com>
231
232 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
233 make m1's definition to be different from m2's. Use 'dummy' as an
234 argument for probe 'two'.
235
cc3c2846
JB
2362016-09-10 Jon Beniston <jon@beniston.com>
237
238 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
239 for sim target.
240
e1b2624a
AA
2412016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
242
243 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
244 variable declaration.
245 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
246 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
247 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
248 received HWCAP as its argument.
249
4295e285
PA
2502016-09-06 Pedro Alves <palves@redhat.com>
251
252 * gdb.base/new-ui-pending-input.c: New file.
253 * gdb.base/new-ui-pending-input.exp: New file.
254 * gdb.exp (clear_gdb_spawn_id): New procedure.
255 (with_spawn_id): Check whether gdb_spawn_id exists before
256 referencing it. If gdb_spawn_id didn't exist on entry, clear it
257 on exit.
258
00d5215e
UW
2592016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
260
261 * gdb.base/float128.c: New file.
262 * gdb.base/float128.exp: Likewise.
263 * gdb.base/floatn.c: Likewise.
264 * gdb.base/floatn.exp: Likewise.
265
a9ff5f12
UW
2662016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
267
268 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
269
f245535c
PA
2702016-09-05 Pedro Alves <palves@redhat.com>
271
272 PR backtrace/19927
273 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
274 unwinders are immediately called as side effect of "source" or
275 "disable unwinder" commands.
276 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
277
ae9cf263
YQ
2782016-09-02 Yao Qi <yao.qi@linaro.org>
279
280 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
281 is true and $type is "float" or "double".
282
27aba047
YQ
2832016-09-02 Yao Qi <yao.qi@linaro.org>
284
285 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
286 true.
287 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
288 * gdb.base/call-rt-st.exp: Likewise.
289 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
290 return value instead of gdb,skip_float_test.
291 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
292 (do_function_calls): Use its return value instead of
293 gdb,skip_float_test.
294 * gdb.base/finish.exp: Likewise.
295 * gdb.base/funcargs.exp: Likewise.
296 * gdb.base/return.exp: Likewise.
297 * gdb.base/return2.exp: Likewise.
298 * gdb.base/varargs.exp: Likewise.
299 * lib/gdb.exp (gdb_skip_float_test): Change it to
300 gdb_caching_proc. Detect the broken ptrace on arm-linux.
301
5af962df
AA
3022016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
303
304 * gdb.multi/tids.exp: Test "thread apply all".
305
7fac6910
JK
3062016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
307
308 * gdb.base/default.exp (tty): Remove.
309
bb1fe4ac
KB
3102016-08-24 Kevin Buettner <kevinb@redhat.com>
311
312 * gdb.python/py-recurse-unwind.c: New file.
313 * gdb.python/py-recurse-unwind.py: New file.
314 * gdb.python/py-recurse-unwind.exp: New file.
315
0a1ddfa6
SM
3162016-08-24 Simon Marchi <simon.marchi@ericsson.com>
317
318 * gdb.base/set-inferior-tty.exp: New file.
319 * gdb.base/set-inferior-tty.c: New file.
320
d9de1fe3
PA
3212016-08-23 Pedro Alves <palves@redhat.com>
322
323 PR gdb/20494
324 * gdb.base/new-ui-echo.c: New file.
325 * gdb.base/new-ui-echo.exp: New file.
326
e9d9abd7
YQ
3272016-08-23 Yao Qi <yao.qi@linaro.org>
328
329 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
330 gdbserver_spawn.
331 * gdb.server/connect-without-multi-process.exp (do_test):
332 Likewise.
333
3589529e
YQ
3342016-08-23 Yao Qi <yao.qi@linaro.org>
335
336 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
337 standalone_txt. Delete gdb_txt and standalone_txt on host
338 and target. Spawn the binary on target. Copy files from
339 target to host.
340
6bb90213
PA
3412016-08-22 Pedro Alves <palves@redhat.com>
342
343 PR gdb/20505
344 * gdb.base/vdso-warning.exp: Test core dumps too. Use
345 with_test_prefix. Factor out bits to ...
346 (test_no_vdso): ... this new procedure.
347
20c2c024
CL
3482016-08-19 Carl Love <cel@us.ibm.com>
349
350 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
351 maintaining separate logic for constructing the output path.
352 * gdb.arch/powerpc-d128-regs.exp: Likewise.
353 * gdb.arch/ppc-dfp.exp: Likewise.
354 * gdb.arch/ppc-fp.exp: Likewise.
355 * gdb.arch/vsx-regs.exp: Likewise.
356 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
357 binprefix for generating the additional binary files.
358
0646e07d
PA
3592016-08-19 Pedro Alves <palves@redhat.com>
360
361 * gdb.trace/mi-trace-frame-collected.exp
362 (test_trace_frame_collected): On x32, expect two registers.
363
46da9242
CL
3642016-08-18 Carl Love <cel@us.ibm.com>
365
366 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
367 and sync up the test with tests in gas/testsuite/gas/ppc.
368 * gdb.arch/powerpc-power.exp: Likewise.
369
eb2332d7
SM
3702016-08-17 Simon Marchi <simon.marchi@ericsson.com>
371
372 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
373 expected error message.
374
63c61e04
SM
3752016-08-17 Simon Marchi <simon.marchi@ericsson.com>
376
377 * gdb.multi/remove-inferiors.exp: New file.
378 * gdb.multi/remove-inferiors.c: New file.
379
7b17065f
YQ
3802016-08-12 Yao Qi <yao.qi@linaro.org>
381
382 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
383 argument list.
384
01d3dedf
PA
3852016-08-10 Pedro Alves <palves@redhat.com>
386
387 PR gdb/19187
388 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
389 setup_kfails.
390
3eb7562a
PA
3912016-08-09 Pedro Alves <palves@redhat.com>
392 Simon Marchi <simon.marchi@ericsson.com>
393
394 PR gdb/20418
395 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
396 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
397
80614914
PA
3982016-08-09 Pedro Alves <palves@redhat.com>
399
400 PR mi/20431
401 * gdb.mi/mi-cmd-error.exp: New file.
402
f348d89a
PA
4032016-08-09 Pedro Alves <palves@redhat.com>
404
405 PR gdb/18653
406 * gdb.base/signals-state-child.c: New file.
407 * gdb.base/signals-state-child.exp: New file.
408 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
409
e5ca03b4
PA
4102016-08-09 Pedro Alves <palves@redhat.com>
411
412 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
413
282a0691
TT
4142016-08-03 Tom Tromey <tom@tromey.com>
415
416 PR python/18565:
417 * gdb.python/py-frame-inline.exp: Add Frame.function test.
418
41bfcd63
YQ
4192016-08-01 Yao Qi <yao.qi@linaro.org>
420
421 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
422 variable mode to "multi-process" if $multi_process is 1, otherwise
423 set it to "single-process".
424
e3465b24
YQ
4252016-08-01 Yao Qi <yao.qi@linaro.org>
426
427 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
428 * gdb.cp/cpexprs.exp: Likewise.
429 * gdb.cp/m-static.exp: Likewise.
430
0b31a4bc
TT
4312016-07-26 Tom Tromey <tom@tromey.com>
432
433 PR python/20190:
434 * gdb.threads/tls.exp (check_thread_local): Add python symbol
435 test.
436
e0461dbb
MM
4372016-07-26 Markus Metzger <markus.t.metzger@intel.com>
438
439 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
440 selecting assembly source files.
441 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
442 assembly source files.
443 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
444 assembly source files.
445 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
446 selecting assembly source files.
447
8194e927
SM
4482016-07-25 Simon Marchi <simon.marchi@ericsson.com>
449
450 * gdb.base/new-ui.exp (do_test_invalid_args): New
451 procedure.
452
c0272db5
TW
4532016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
454
455 * gdb.btrace/reconnect.c: New file.
456 * gdb.btrace/reconnect.exp: New file.
457
e3487908
GKB
4582016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
459
460 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
461 to test_catch_syscall_group.
462 (test_catch_syscall_group): New.
463
12df5c00
TT
4642016-07-21 Tom Tromey <tom@tromey.com>
465
466 * gdb.rust/simple.rs (main): Use empty struct expression.
467 * gdb.rust/simple.exp: Add tests for empty struct expression.
468
bae62ee2
YQ
4692016-07-21 Yao Qi <yao.qi@linaro.org>
470
471 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
472 if gdb_skip_xml_test is true on some targets.
473
b1b53fb3
YQ
4742016-07-21 Yao Qi <yao.qi@linaro.org>
475
476 * gdb.server/solib-list.exp: Unset last_loaded_file.
477
027d97f8
JK
4782016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
479
480 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
481 "step into captured_main (args)".
482
7674d381
JK
4832016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
484
485 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
486
72b5d099
JK
4872016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
488
489 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
490
1f960ced
PA
4912016-07-19 Pedro Alves <palves@redhat.com>
492
493 * gdb.opt/inline-break.exp: Remove optimize=-O2.
494 * gdb.opt/inline-bt.exp: Likewise.
495 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
496 additional_flags=-Winline.
497 * gdb.opt/inline-locals.exp: Likewise.
498 * gdb.opt/inline-markers.c (ATTR): Define.
499 (inlined_fn): Use it.
500
f25827c1
YQ
5012016-07-19 Yao Qi <yao.qi@linaro.org>
502
503 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
504 (test_with_self): Remove some code. Remove argument executable.
505 (top-level): Use do_self_tests.
506
37539ebe
DB
5072016-07-15 Zachary Welch <zwelch@codesourcery.com>
508 Don Breazeal <donb@codesourcery.com>
509
510 * gdb.base/maint.exp: Escape paths used in regular expressions.
511 * gdb.stabs/weird.exp: Likewise.
512
dac790e1
TT
5132016-07-13 Tom Tromey <tom@tromey.com>
514
515 PR python/15620, PR python/18620:
516 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
517 (test_bkpt_events): New procs.
518
93daf339
TT
5192016-07-13 Tom Tromey <tom@tromey.com>
520
521 PR python/17698:
522 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
523 test.
524 (test_watchpoints): Likewise.
525 (test_bkpt_pending): New proc.
526
6571a381
TT
5272016-07-13 Tom Tromey <tom@tromey.com>
528
529 PR cli/18053:
530 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
531 completion test.
532
e8732474
JK
5332016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
534
535 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
536 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
537 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
538 f_label.
539 (g): Rename g_end_lbl to g_label.
540 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
541 low_pc and high_pc.
542 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
543
e0f3fd7c
TT
5442016-07-12 Tom Tromey <tom@tromey.com>
545
546 PR python/19293:
547 * gdb.python/py-unwind-maint.exp: Update tests.
548
3cfe46b6
YQ
5492016-07-12 Yao Qi <yao.qi@linaro.org>
550
551 * lib/selftest-support.exp (selftest_setup): Match the output
552 when captured_main is inlined.
553
4f19a0e6
WT
5542016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
555
556 * gdb.fortran/derived-types.exp (result_line, result_line_2):
557 New variables.
558 (print this%a, print this%b, print this): New tests.
559 * gdb.fortran/derived-types.f90 (this): New object and
560 initialization.
561
986cf455
SM
5622016-07-06 Simon Marchi <simon.marchi@ericsson.com>
563
564 * gdb.ada/arraydim.exp: Remove extra directory level in build
565 directory.
566
f0464b23
SM
5672016-07-06 Simon Marchi <simon.marchi@ericsson.com>
568
569 * lib/ada.exp: Remove extra directory level in build directory.
570 * gdb.ada/cond_lang.exp: Likewise.
571 * gdb.ada/exec_changed.exp: Likewise.
572 * gdb.ada/lang_switch.exp: Likewise.
573
42d94011
MG
5742016-07-06 Manish Goregaokar <manish@mozilla.com>
575
576 * simple.rs: Add test for raw pointer subscripting
577 * simple.exp: Add test expectations
578
647c264c
YQ
5792016-07-05 Yao Qi <yao.qi@linaro.org>
580
581 * gdb.mi/mi-reverse.exp: Match =record-started output.
582
20aa2c60
PA
5832016-07-01 Pedro Alves <palves@redhat.com>
584
585 * gdb.base/jit-reader.exp (info_registers_current_frame): New
586 procedure.
587 (jit_reader_test): Test the jit reader's unwinder.
588 * gdb.base/jithost.c (jit_function_00_code): New global.
589 (main): Use memcpy to fill in the mmapped code, instead of poking
590 bytes manually here.
591 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
592 value.
593 (read_debug_info): Save the function's range.
594 (read_sp): New function.
595 (unwind_frame): Use it. Also unwind RBP.
596 (get_frame_id): Use read_sp.
597 (gdb_init_reader): Use calloc instead of malloc.
598 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
599 parameter. Use gdb_test_multiple.
600
ced2dffb
PA
6012016-07-01 Pedro Alves <palves@redhat.com>
602 Antoine Tremblay <antoine.tremblay@ericsson.com>
603
604 * gdb.threads/process-dies-while-detaching.c: New file.
605 * gdb.threads/process-dies-while-detaching.exp: New file.
606
63000888
PA
6072016-07-01 Pedro Alves <palves@redhat.com>
608
609 * gdb.multi/watchpoint-multi-exit.c: New file.
610 * gdb.multi/watchpoint-multi-exit.exp: New file.
611
038d4868
PA
6122016-06-30 Pedro Alves <palves@redhat.com>
613
614 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
615 unset inferior_spawn_id.
616
994e9c83
PA
6172016-06-30 Pedro Alves <palves@redhat.com>
618
619 * lib/mi-support.exp (default_mi_gdb_start): Declare global
620 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
621
e5653468
YQ
6222016-06-29 Yao Qi <yao.qi@linaro.org>
623
624 * gdb.base/return.c: Add copyright header.
625
803b47e5
TT
6262016-06-29 Tom Tromey <tom@tromey.com>
627
628 PR python/20129:
629 * gdb.python/py-framefilter.exp: Add tests for setting priority
630 and disabling of non-existent frame filter.
631
28244707
YQ
6322016-06-29 Yao Qi <yao.qi@linaro.org>
633
634 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
635 0x0f07ff.
636
a31d2f06
YQ
6372016-06-28 Yao Qi <yao.qi@linaro.org>
638
639 * gdb.base/catch-syscall.exp: Remove check on isnative and target
640 triplets. Start gdb, execute catch syscall, and continue. Check
641 gdb's output to determine catch syscall is supported.
642
921d8f54
MG
6432016-06-27 Manish Goregaokar <manish@mozilla.com>
644
25d49b86
PA
645 * gdb.rust/simple.rs: Add test for returning unit in a function.
646 * gdb.rust/simple.exp: Add expectation for functions returning
647 unit.
921d8f54 648
f4952523
PMR
6492016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
650
651 * gdb.python/py-breakpoint-create-fail.c,
652 gdb.python/py-breakpoint-create-fail.exp,
653 gdb.python/py-breakpoint-create-fail.py: New testcase.
654
fccb08f8
MG
6552016-06-25 Manish Goregaokar <manish@mozilla.com>
656
657 PR gdb/20239
658 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
659 * gdb.rust/simple.exp: Add test expectations for new NonZero
660 tests.
fccb08f8 661
6b850546
DT
6622016-06-24 David Taylor <dtaylor@emc.com>
663
664 * gdb.base/offsets.exp: New file.
665 * gdb.base/offsets.c: New file.
666
17621150
TT
6672016-06-23 Tom Tromey <tom@tromey.com>
668
669 PR gdb/16483:
670 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
671 before any filters are loaded.
672
04d59df6
WT
6732016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
674
675 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
676 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
677 structs.
678 * gdb.fortran/derived-type-function.exp: New file.
679 * gdb.fortran/derived-type-function.f90: New file.
680
681
ac69f786
PA
6822016-06-21 Pedro Alves <palves@redhat.com>
683
684 * gdb.base/new-ui.exp: New file.
685 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
686 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
687 (with_spawn_id): New procedure.
688
49940788
PA
6892016-06-21 Pedro Alves <palves@redhat.com>
690
691 * gdb.mi/mi-exec-run.exp: New file.
692
ef274d26
PA
6932016-06-21 Pedro Alves <palves@redhat.com>
694
695 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
696 breakpoint command's output on the main UI.
697 (test_break): New procedure, factored out from calls in the top
698 level.
699 (top level): Use foreach_with_prefix to test MI as main UI and as
700 separate UI.
701
468afe6c
PA
7022016-06-21 Pedro Alves <palves@redhat.com>
703
704 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
705 (test_awatch_creation_and_listing)
706 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
707 Remove 'type' parameter.
708 (test_watchpoint_all): New parameter mi_mode. Remove
709 with_test_prefix.
710 (top level): Use foreach_with_prefix, and add main/separate UI MI
711 testing axis.
712
51f77c37
PA
7132016-06-21 Pedro Alves <palves@redhat.com>
714
715 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
716 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
717 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
718 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
719 (gdb_main_spawn_id, mi_spawn_id): Declare and
720 comment.
721 (mi_create_inferior_pty): New procedure,
722 factored out from default_mi_gdb_start.
723 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
724 procedures.
725 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
726 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
727 Use mi_create_inferior_pty.
728 (mi_gdb_start): Use eval to pass down args list.
729
8980e177
PA
7302016-06-21 Pedro Alves <palves@redhat.com>
731
732 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
733 * gdb.opt/inline-cmds.exp: Add MI tests.
734
f38d3ad1
PA
7352016-06-21 Pedro Alves <palves@redhat.com>
736
737 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
738
45db7c09
PA
7392016-06-21 Pedro Alves <palves@redhat.com>
740
741 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
742 (top level): Use it instead of mi_execute_to.
743
5a069ab3
PA
7442016-06-21 Pedro Alves <palves@redhat.com>
745
746 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
747 (cont_handler_str): New.
748 (signal_stop_handler): Set stop_handler_str instead of printing to
749 stdout.
750 (continue_handler): Set cont_handler_str instead of printing to
751 stdout.
752 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
753 mi_send_resuming_command. Print stop_handler_str and
754 cont_handler_str instead of expecting the python events print
755 directly.
756
2838cc1d
SD
7572016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
758
759 * gdb.base/jit-reader.exp: New file.
760 * gdb.base/jithost.c: New file.
761 * gdb.base/jithost.h: New file.
762 * gdb.base/jitreader.c : New file.
763 * gdb.base/jit-protocol.h: New file.
764
21a77091
YQ
7652016-06-17 Yao Qi <yao.qi@linaro.org>
766
767 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
768 parameters follow_fork and detach_on_fork. Set follow-fork-mode
769 and detach-on-fork. Adjust tests.
770 (top level): Invoke break_cond_on_syscall with combinations of
771 syscall, follow-fork-mode and detach-on-fork.
772
f50bf8e5
YQ
7732016-06-17 Yao Qi <yao.qi@linaro.org>
774
775 * gdb.base/step-over-exit.c: New.
776 * gdb.base/step-over-exit.exp: New.
777
a28d8e50
YTL
7782016-06-17 Yan-Ting Lin <currygt52@gmail.com>
779
780 * gdb.base/float.exp: Add target check for nds32*-*-*.
781 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
782
cad8e26d
AB
7832016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
784
785 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
786 for unsupported target features.
787 * gdb.base/call-rt-st.exp: Likewise.
788 * gdb.base/call-sc.exp: Likewise.
789 * gdb.base/call-signal-resume.exp: Likewise.
790 * gdb.base/call-strs.exp: Likewise.
791 * gdb.base/callexit.exp: Likewise.
792 * gdb.base/callfuncs.exp: Likewise.
793 * gdb.base/nodebug.exp: Likewise.
794 * gdb.base/printcmds.exp: Likewise.
795 * gdb.base/ptype.exp: Likewise.
796 * gdb.base/structs.exp: Likewise.
797 * gdb.base/unwindonsignal.exp: Likewise.
798 * gdb.cp/gdb2495.exp: Likewise.
799 * gdb.cp/templates.exp: Likewise.
800 * gdb.cp/virtfunc.exp: Likewise.
801 * gdb.threads/hand-call-in-threads.exp: Likewise.
802 * gdb.threads/interrupted-hand-call.exp: Likewise.
803 * gdb.threads/thread-unwindonsignal.exp: Likewise.
804
347dc102
TT
8052016-06-10 Tom Tromey <tom@tromey.com>
806
807 PR rust/20110:
808 * gdb.rust/expr.exp: Add test for integer constant larger than
809 i32.
810
5e13cf25
BH
8112016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
812
813 * gdb.fortran/nested-funcs.exp: New.
814 * gdb.fortran/nested-funcs.f90: New.
815
bb556f1f
TK
8162016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
817
818 * gdb.base/examine-backward.c: New file.
819 * gdb.base/examine-backward.exp: New file.
820
38b022b4
SM
8212016-06-06 Simon Marchi <simon.marchi@ericsson.com>
822
823 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
824 matching.
825
1b40ec05
TT
8262016-06-02 Tom Tromey <tom@tromey.com>
827
828 PR python/18984:
829 * gdb.python/py-shared.exp: Add solib_name test.
830
193bd378
SM
8312016-06-02 Simon Marchi <simon.marchi@ericsson.com>
832
833 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
834
3326303b
MG
8352016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
836
837 PR c++/19893
838 * gdb.dwarf2/implref.exp: Rename to...
839 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
840 * gdb.dwarf2/implref-array.c: New file.
841 * gdb.dwarf2/implref-array.exp: Likewise.
842 * gdb.dwarf2/implref-global.c: Likewise.
843 * gdb.dwarf2/implref-global.exp: Likewise.
844 * gdb.dwarf2/implref-struct.c: Likewise.
845 * gdb.dwarf2/implref-struct.exp: Likewise.
846
825c8ef2
AT
8472016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
848
849 * gdb.trace/trace-condition.exp: Add 64bit tests.
850
2320162a
AT
8512016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
852
853 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
854 bits types.
855 (main): Adapt to 8 to 64 bits types.
856 * gdb.trace/trace-condition.exp: Add new tests.
857
a7818233
AT
8582016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
859
860 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
861
0d336466
AT
8622016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
863
864 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
865 Move condition tests...
866 * gdb.trace/trace-condition.exp: Here.
867
7faeb45a
AT
8682016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
869
870 * gdb.trace/trace-condition.exp: Add counter-case tests.
871
e385593e
JK
8722016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
873
874 PR c++/15231
875 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
876 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
877
744608cc
PA
8782016-05-27 Pedro Alves <palves@redhat.com>
879
880 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
881 New procedure.
882 (top level): Call it, and bail out of DejaGnu is known to be bad.
883
ac775bf4
AB
8842016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
885
886 * gdb.base/whatis.c: Extend the test case.
887 * gdb.base/whatis.exp: Add additional tests.
888
2bbad2ea
BH
8892016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
890
891* gdb.fortran/type.f90: Add pointer variable.
892* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
893
8b70175d
BH
8942016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
895
896 * gdb.fortran/vla-type.exp: Fix testcase name.
897
86d8a848
BH
8982016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
899
900 * gdb.fortran/vla-type.exp: Access elements in nested structs.
901
e188eb36
BH
9022016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
903
904 * gdb.fortran/type.f90: Add nested structures.
905 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
906 * gdb.fortran/derived-type.exp: Adapt expected output.
907 * gdb.fortran/vla-type.exp: Adapt expected output.
908
9b2db1fd
BH
9092016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
910
911 * gdb.fortran/whatis_type.exp: Adapt expected output.
912
72b17055
BH
9132016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
914
915 * gdb.fortran/print_type.exp: Fix expected output.
916 * gdb.fortran/whatis_type.exp: Fix expected output.
917
3cd81d8d
BH
9182016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
919
920 * gdb.fortran/whatis_type.exp: Use multi_line.
921
ddae9462
TT
9222016-05-24 Tom Tromey <tom@tromey.com>
923
924 PR python/17386:
925 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
926 use value as an index.
927
1957f6b8
TT
9282016-05-23 Tom Tromey <tom@tromey.com>
929
930 PR python/17981:
931 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
932 no-breakpoint case.
933
026a9174
PA
9342016-05-24 Pedro Alves <palves@redhat.com>
935
936 PR gdb/19828
937 * gdb.threads/clone-attach-detach.c: New file.
938 * gdb.threads/clone-attach-detach.exp: New file.
939
e70a7231
FR
9402016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
941
942 * gdb.base/annota-input-while-running.exp: Fix syntax error.
943
0f6ed0e0
TT
9442016-05-23 Tom Tromey <tom@tromey.com>
945
946 PR python/19438, PR python/18393:
947 * gdb.python/py-progspace.exp: Add "dir" test.
948 * gdb.python/py-objfile.exp: Add "dir" test.
949
ffd19d61
YQ
9502016-05-23 Yao Qi <yao.qi@linaro.org>
951
952 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
953 * gdb.arch/thumb2-it.exp: Likewise.
954
9e8f9b05
SM
9552016-05-18 Simon Marchi <simon.marchi@ericsson.com>
956
957 * gdb.mi/mi-threads-interrupt.c: New file.
958 * gdb.mi/mi-threads-interrupt.exp: New file.
959
61c6156d
SM
9602016-05-17 Simon Marchi <simon.marchi@ericsson.com>
961
962 PR gdb/18077
963 * gdb.mi/mi-async-run.exp: New file.
964 * gdb.mi/mi-async-run.c: New file.
965
67218854
TT
9662016-05-17 Tom Tromey <tom@tromey.com>
967 Manish Goregaokar <manishsmail@gmail.com>
968
969 * lib/rust-support.exp: New file.
970 * lib/gdb.exp (skip_rust_tests): New proc.
971 (build_executable_from_specs): Handle rust.
972 * lib/future.exp (gdb_find_rustc): New proc.
973 (gdb_default_target_compile): Handle rust.
974 * gdb.rust/expr.exp: New file.
975 * gdb.rust/generics.exp: New file.
976 * gdb.rust/generics.rs: New file.
977 * gdb.rust/methods.exp: New file.
978 * gdb.rust/methods.rs: New file.
979 * gdb.rust/modules.exp: New file.
980 * gdb.rust/modules.rs: New file.
981 * gdb.rust/simple.exp: New file.
982 * gdb.rust/simple.rs: New file.
983
c44af4eb
TT
9842016-05-17 Tom Tromey <tom@tromey.com>
985
986 * gdb.base/default.exp (set language): Add rust.
987
dcd1f979
TT
9882016-05-17 Tom Tromey <tom@tromey.com>
989
990 * gdb.gdb/unittest.exp: New file.
991
155b7f57
YQ
9922016-05-16 Yao Qi <yao.qi@linaro.org>
993
994 * gdb.base/batch-preserve-term-settings.exp: Remove variable
995 shell_prompt. Update shell_prompt_re.
996
8ddd5a6c
DE
9972016-05-12 Doug Evans <dje@google.com>
998
999 PR symtab/19999
1000 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
1001 $options when building executable.
1002 * gdb.dwarf2/fission-loclists-pie.S: New file.
1003 * gdb.dwarf2/fission-loclists-pie.exp: New file.
1004
02e370d9
SM
10052016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1006
1007 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
1008 of [is_remote target],
1009
8929ad8b
SM
10102016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1011
1012 * lib/gdb.exp (use_gdb_stub): New procedure.
1013
6c447423
DE
10142016-05-03 Yunlian Jiang <yunlian@google.com>
1015 Doug Evans <dje@google.com>
1016
1017 PR symtab/19914
1018 * gdb.dwarf2/dwp-sepdebug.c: New file.
1019 * gdb.dwarf2/dwp-sepdebug.exp: New file.
1020
444e826c
SM
10212016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1022
1023 * gdb.base/detach.exp: Remove is_remote check.
1024
740feeaa
SM
10252016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1026
1027 * gdb.base/annota-input-while-running.exp: Don't check for
1028 [is_remote target]. Enable annotations after running to main.
1029 Remove unused "set test..." line.
1030
9080ac9d
SM
10312016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1032
1033 * gdb.trace/trace-enable-disable.exp: New file.
1034 * gdb.trace/trace-enable-disable.c: New file.
1035
952ebca5
SM
10362016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1037
1038 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
1039 use it in info sharedlibrary test.
1040 * gdb.trace/ftrace-lock.exp: Likewise.
1041 * gdb.trace/ftrace.exp: Likewise.
1042 * gdb.trace/range-stepping.exp: Likewise.
1043 * gdb.trace/trace-break.exp: Likewise.
1044 * gdb.trace/trace-condition.exp: Likewise.
1045 * gdb.trace/trace-mt.exp: Likewise.
1046
d9019901
SM
10472016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1048
1049 * lib/gdb.exp (gdb_load_shlibs): Rename to...
1050 (gdb_load_shlib): ... this.
1051 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
1052 gdb_load_shlib.
1053 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
1054 * gdb.base/ctxobj.exp: Likewise.
1055 * gdb.base/dprintf-pending.exp: Likewise.
1056 * gdb.base/dso2dso.exp: Likewise.
1057 * gdb.base/fixsection.exp: Likewise.
1058 * gdb.base/gcore-relro.exp: Likewise.
1059 * gdb.base/gdb1555.exp: Likewise.
1060 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1061 * gdb.base/gnu-ifunc.exp: Likewise.
1062 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
1063 * gdb.base/jit-so.exp (one_jit_test): Likewise.
1064 * gdb.base/pending.exp: Likewise.
1065 * gdb.base/print-file-var.exp: Likewise.
1066 * gdb.base/print-symbol-loading.exp: Likewise.
1067 * gdb.base/shlib-call.exp: Likewise.
1068 * gdb.base/shreloc.exp: Likewise.
1069 * gdb.base/so-impl-ld.exp: Likewise.
1070 * gdb.base/solib-disc.exp: Likewise.
1071 * gdb.base/solib-nodir.exp: Likewise.
1072 * gdb.base/solib-overlap.exp: Likewise.
1073 * gdb.base/solib-symbol.exp: Likewise.
1074 * gdb.base/solib-weak.exp (do_test): Likewise.
1075 * gdb.base/sym-file.exp: Likewise.
1076 * gdb.base/symtab-search-order.exp: Likewise.
1077 * gdb.base/type-opaque.exp: Likewise.
1078 * gdb.base/unload.exp: Likewise.
1079 * gdb.base/watchpoint-solib.exp: Likewise.
1080 * gdb.compile/compile.exp: Likewise.
1081 * gdb.cp/gdb2384.exp: Likewise.
1082 * gdb.cp/infcall-dlopen.exp: Likewise.
1083 * gdb.cp/re-set-overloaded.exp: Likewise.
1084 * gdb.fortran/library-module.exp: Likewise.
1085 * gdb.opt/solib-intra-step.exp: Likewise.
1086 * gdb.python/py-finish-breakpoint.exp: Likewise.
1087 * gdb.python/py-shared.exp: Likewise.
1088 * gdb.reverse/solib-precsave.exp: Likewise.
1089 * gdb.reverse/solib-reverse.exp: Likewise.
1090 * gdb.server/solib-list.exp: Likewise.
1091 * gdb.threads/dlopen-libpthread.exp: Likewise.
1092 * gdb.threads/tls-shared.exp: Likewise.
1093 * gdb.threads/tls-so_extern.exp: Likewise.
1094 * gdb.trace/change-loc.exp: Likewise.
1095 * gdb.trace/ftrace-lock.exp: Likewise.
1096 * gdb.trace/ftrace.exp: Likewise.
1097 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
1098 * gdb.trace/pending.exp: Likewise.
1099 * gdb.trace/range-stepping.exp: Likewise.
1100 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
1101 (strace_info_marker): Likewise.
1102 (strace_probe_marker): Likewise.
1103 (strace_trace_on_same_addr): Likewise.
1104 (strace_trace_on_diff_addr): Likewise.
1105 * gdb.trace/trace-break.exp: Likewise.
1106 * gdb.trace/trace-condition.exp: Likewise.
1107 * gdb.trace/trace-mt.exp: Likewise.
1108
fca4cfd9
SM
11092016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1110
1111 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
1112 result of gdb_remote_download.
1113 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
1114 * gdb.base/dso2dso.exp: Likewise.
1115 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1116 * gdb.base/print-file-var.exp: Likewise.
1117 * gdb.base/shlib-call.exp: Likewise.
1118 * gdb.base/shreloc.exp: Likewise.
1119 * gdb.base/solib-overlap.exp: Likewise.
1120 * gdb.base/solib-weak.exp (do_test): Likewise.
1121 * gdb.base/unload.exp: Likewise.
1122
11cf4ffb
YQ
11232016-04-27 Yao Qi <yao.qi@linaro.org>
1124
1125 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
1126 exists.
1127
3e2e34f8
KB
11282016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1129
1130 * vla-type.exp: Print structure from toplevel.
1131
8f07e298
BH
11322016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1133
1134 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
1135 of dynamic types.
1136 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
1137 of dynamic types.
1138
9920b434
BH
11392016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1140
1141 * gdb.fortran/vla-type.f90: New file.
1142 * gdb.fortran/vla-type.exp: New file.
1143
f3abeff5
YQ
11442016-04-25 Yao Qi <yao.qi@linaro.org>
1145
1146 * gdb.base/branch-to-self.c: New file.
1147 * gdb.base/branch-to-self.exp: New file.
1148
0a5d52f0
YQ
11492016-04-22 Yao Qi <yao.qi@linaro.org>
1150
1151 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
1152 more after $hex.
1153
495346f6
YQ
11542016-04-22 Yao Qi <yao.qi@linaro.org>
1155
1156 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
1157 * gdb.base/annota3.exp: Likewise.
1158
4a7e075c
YQ
11592016-04-22 Yao Qi <yao.qi@linaro.org>
1160
1161 * gdb.reverse/step-precsave.exp: Do one step and test program
1162 stops in "callee" and do multiple steps until program goes out
1163 of "callee".
1164 * gdb.reverse/step-reverse.exp: Likewise.
1165
5b061e98
YQ
11662016-04-22 Yao Qi <yao.qi@linaro.org>
1167
1168 * gdb.trace/signal.exp: Also pass if
1169 $tracepoint_hits($i) > $iterations.
1170
5c5dc57f
YQ
11712016-04-22 Yao Qi <yao.qi@linaro.org>
1172
1173 * gdb.trace/signal.c: New file.
1174 * gdb.trace/signal.exp: New file.
1175
a55411b9
DE
11762016-04-19 Doug Evans <xdje42@gmail.com>
1177
1178 * gdb.base/bad-file.exp: New file.
1179
a22df60a
MG
11802016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
1181
1182 * gdb.dwarf2/implref.exp: New file.
1183
0c13f7e5
BH
11842016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1185
1186 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
1187 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
1188 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
1189 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
1190 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
1191 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
1192 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
1193 * lib/fortran.exp (fortran_int4): New procedure.
1194 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
1195 (fortran_logical4): Likewise.
1196
9b9b09e9
BH
11972016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
1198
1199 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
1200
a14d1f4d
BH
12012016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1202
1203 * lib/compiler.c: Add Intel specific preprocessor macros.
1204 * lib/compiler.cc: Likewise.
25d49b86 1205
7d49b1d0
LM
12062016-04-13 Luis Machado <lgustavo@codesourcery.com>
1207
1208 * gdb.server/connect-with-no-symbol-file.c: New file.
1209 * gdb.server/connect-with-no-symbol-file.exp: New file.
1210
8392fa22
SM
12112016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1212
1213 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
1214
8c4c4aeb
SM
12152016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1216
1217 * boards/gdbserver-base.exp (${board}_download): Copy source file to
1218 standard output directory.
1219
45e3745e
AT
12202016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
1221
1222 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
1223
e26b7e41
MM
12242016-04-13 Markus Metzger <markus.t.metzger@intel.com>
1225
1226 * gdb.btrace/instruction_history.c (loop): Add declaration.
1227
8ce09462
AT
12282016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1229
1230 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
1231
2e88a1ea
SM
12322016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
1233
1234 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
1235 parentheses to print.
1236 (continue_handler): Likewise.
1237
f48e22e3
SM
12382016-04-08 Simon Marchi <simon.marchi@ericsson.com>
1239
1240 * gdb.server/solib-list.exp: Remove is_remote check.
1241 Pass shlib= to gdb_compile. Don't link shared library with
1242 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
1243 Run binary filename through "readlink -f" on the target.
1244
096be756
PA
12452016-04-08 Pedro Alves <palves@redhat.com>
1246
1247 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
1248 interpreter filename as argument to gdbserver_spawn.
1249 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1250 Return empty if $last_loaded_file does not exist.
1251
06500533
JK
12522016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1253
1254 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
1255 * gdb.base/jit-main.c: Use exit after usage.
1256
2d35e871
JK
12572016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1258
1259 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
1260 GDBHISTSIZE prior to the tests.
1261 * gdb.base/gdbinit-history.exp: Likewise.
1262
12632016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
1264
1265 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
1266 instead of build_executable. Use gdb_load_shlibs.
1267
c8064e7e
YQ
12682016-04-07 Yao Qi <yao.qi@linaro.org>
1269
1270 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
1271 Execute "si" command.
1272
bde47561
YQ
12732016-04-07 Yao Qi <yao.qi@linaro.org>
1274
1275 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
1276 number instead of the comments on some line.
1277
b16f8a3b
DB
12782016-04-06 Don Breazeal <donb@codesourcery.com>
1279
1280 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
1281 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
1282
c2f901df
SM
12832016-04-06 Simon Marchi <simon.marchi@ericsson.com>
1284
1285 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
1286 standard_output_file. Remove unused binfile variable.
1287
ac17fda0
CU
12882016-04-05 Catalin Udma <catalin.udma@freescale.com>
1289
1290 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
1291 * gdb.python/py-mi-objfile.exp: Match "list main" output
1292 in console format.
1293
03a8c4df
SM
12942016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
1295
1296 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
1297 absolute.
1298
6e774b13
SM
12992016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1300
1301 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
1302 absolute.
1303 * gdb.trace/ftrace.exp: Likewise.
1304 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
1305 targets as well.
1306 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
1307 (gdb_load_shlibs): Copy libraries to test directory when testing
1308 natively. Only set solib-search-path if testing remotely.
1309 * lib/mi-support.exp (mi_load_shlibs): Likewise.
1310
7817ea46
SM
13112016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1312
1313 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
1314 gdb_download. Use it even if the target is not remote.
1315 * gdb.base/jit.exp (compile_jit_test): Likewise.
1316 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
1317 output directory if the destination board is local, otherwise use
1318 the standard remote_download from DejaGnu.
1319 (gdb_download): Remove.
1320 (gdb_load_shlibs): Use gdb_remote_download instead of
1321 gdb_download.
1322 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1323 Use gdb_remote_download instead of gdb_download. Use it even if
1324 the target is not remote.
1325 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
1326 instead of gdb_download.
1327
7beb7f68
SM
13282016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
1329
1330 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
1331 (test_insert_delete_modify): Call mi_load_shlibs before trying to
1332 run.
1333
cc63428a
AV
13342016-04-01 Artemiy Volkov <artemiyv@acm.org>
1335
1336 PR gdb/19820
1337 * gdb.base/printcmds.exp: Add artificial arrays tests.
1338
64cdf930
PA
13392016-03-31 Pedro Alves <palves@redhat.com>
1340
1341 PR gdb/19858
1342 * gdb.base/jit-main.c: Include unistd.h.
1343 (ATTACH): Define to 0 if not already defined.
1344 (wait_for_gdb, mypid): New globals.
1345 (WAIT_FOR_GDB): New macro.
1346 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
1347 some breakpoint locations.
1348 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
1349 New procedures.
1350 (one_jit_test): Add REATTACH parameter, and handle it. Use
1351 continue_to_test_location.
1352 (top level): Test attach, and adjusts calls to one_jit_test.
1353
40dea8cb
PA
13542016-03-31 Pedro Alves <palves@redhat.com>
1355
1356 PR gdb/19858
1357 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
1358 BINSUFFIX parameter, and handle it.
1359 (top level): Adjust calls compile_jit_test.
1360
e7ea3ec7
CU
13612016-03-31 Catalin Udma <catalin.udma@freescale.com>
1362
1363 PR python/19743
1364 * gdb.python/py-mi-events-gdb.py: New file.
1365 * gdb.python/py-mi-events.c: New file.
1366 * gdb.python/py-mi-events.exp: New file.
1367
e6359af3
YQ
13682016-03-30 Yao Qi <yao.qi@linaro.org>
1369
1370 * gdb.reverse/until-precsave.exp: Match function name only.
1371 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
1372 Move malloc to a condition block.
1373 * gdb.reverse/until-reverse.exp: Match function name only.
1374
a4105d04
MK
13752016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
1376
1377 * gdb.trace/ftrace.exp: Set arg0exp for s390.
1378 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
1379 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
1380 variable for GPR 0 instead of assuming it is register 0.
1381 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
1382 * lib/trace-support.exp: Add s390 registers.
1383
bfa6adb9
YQ
13842016-03-29 Yao Qi <yao.qi@linaro.org>
1385
1386 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
1387
1e6697ea
YQ
13882016-03-24 Yao Qi <yao.qi@linaro.org>
1389
1390 * gdb.reverse/break-reverse.exp: Add quotation mark in the
1391 test message.
1392
64bcd522
AA
13932016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1394
1395 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
1396 maintaining separate logic for constructing the output path.
1397
7868401b
DB
13982016-03-16 Don Breazeal <donb@codesourcery.com>
1399
1400 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1401 Retry fork and waitpid on interrupted system call errors.
1402 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1403 Use with_timeout_factor to increase timeout by factor of 10.
1404
1cafadb4
DB
14052016-03-15 Don Breazeal <donb@codesourcery.com>
1406
1407 * gdb.cp/scope-err.cc: New test program.
1408 * gdb.cp/scope-err.exp: New test script.
1409 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
1410 lines and "set breakpoint here" comment.
1411 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
1412 Fixed some whitespace and format issues.
1413 * gdb.mi/mi-linespec-err-cp.cc: New test program.
1414 * gdb.mi/mi-linespec-err-cp.exp: New test script.
1415
81516450
DE
14162016-03-15 Doug Evans <dje@google.com>
1417
1418 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
1419 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
1420 All callers updated. Add tests for enums, mixed flags register.
1421
aa52b601
DE
14222016-03-15 Doug Evans <dje@google.com>
1423
1424 * gdb.base/skip.c (main): Call test_skip_file_and_function.
1425 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
1426
fa4ff313
SM
14272016-03-14 Simon Marchi <simon.marchi@ericsson.com>
1428
1429 * gdb.base/default.exp: Add $_as_string to the list of expected
1430 convenience functions.
1431
f2403c39
AB
14322016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
1433
1434 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1435
f2f3ccb9
SM
14362016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1437
1438 * gdb.python/py-as-string.exp: New file.
1439 * gdb.python/py-as-string.c: New file.
1440
00dbd492
PA
14412016-03-09 Pedro Alves <palves@redhat.com>
1442
1443 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1444 signal" -> "Thread NN received signal" output change.
1445 * gdb.threads/ia64-sigill.exp: Likewise.
1446 * gdb.threads/linux-dp.exp: Likewise.
1447 * gdb.threads/manythreads.exp: Likewise.
1448 * gdb.threads/pending-step.exp: Likewise.
1449 * gdb.threads/print-threads.exp: Likewise.
1450 * gdb.threads/sigstep-threads.exp: Likewise.
1451 * gdb.threads/staticthreads.exp: Likewise.
1452 * gdb.threads/tls.exp: Likewise.
1453
1e6697ea
YQ
14542016-03-09 Pedro Alves <palves@redhat.com>
1455
1456 * gdb.base/command-line-input.exp: New file.
1457
b04fd3be
MK
14582016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1459
1460 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1461 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1462 * gdb.trace/pending.exp: Accept leading dot before function name.
1463 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1464 * lib/trace-support.exp: Set registers for ppc.
1465
98fa59e9
MK
14662016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1467
1468 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1469 use it for disassembly; accept .main in addition to main in backtrace.
1470
f77198c8
MK
14712016-03-09 Wei-cheng Wang <cole945@gmail.com>
1472 Marcin Kościelnicki <koriakin@0x04.net>
1473
1474 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1475 (gdb_recursion_test_ptr): New global variable.
1476 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1477 gdb_recursion_test.
1478 (gdb_c_test): Ditto.
1479
ba84e0da
MK
14802016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1481
1482 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1483 ordering.
1484
4366d36e
MK
14852016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1486
1487 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1488 (bar): Add bar_start_lbl label.
1489 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1490 of foo/bar for emitting DWARF and tracing.
1491
5eb264df
SDJ
14922016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1493
1494 * analyze-racy-logs.py: Set executable bit.
1495
fb6a751f
SDJ
14962016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1497
1498 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1499 (CHECK_TARGET_TMP): Likewise.
1500 (check-single-racy): New rule.
1501 (check-parallel-racy): Likewise.
1502 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1503 (do-check-parallel-racy): New rule.
1504 (check-racy/%.exp): Likewise.
1505 * README (Racy testcases): New section.
1506 * analyze-racy-logs.py: New file.
1507
bdf7e230
DE
15082016-03-03 Doug Evans <dje@google.com>
1509
1510 * gdb.base/skip.exp: Use with_test_prefix.
1511
4719d415
YQ
15122016-03-03 Yao Qi <yao.qi@linaro.org>
1513
1514 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1515 Invoke step_over_syscall "clone" and break_cond_on_syscall
1516 "clone".
1517 * gdb.base/step-over-clone.c: New file.
1518
ea507862
YQ
15192016-03-03 Yao Qi <yao.qi@linaro.org>
1520
1521 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1522 code format.
1523
8fc8cbda
YQ
15242016-03-03 Yao Qi <yao.qi@linaro.org>
1525
1526 * gdb.base/disp-step-fork.c: Rename to ...
1527 * gdb.base/step-over-fork.c: ... it. New file.
1528 * gdb.base/disp-step-vfork.c: Rename to ...
1529 * gdb.base/step-over-vfork.c: ... it. New file.
1530 * gdb.base/disp-step-syscall.exp: Rename to ...
1531 * gdb.base/step-over-syscall.exp: ... it. New file.
1532 (disp_step_cross_syscall): Rename to ...
1533 (step_over_syscall): ... it.
1534
92fa70b0
YQ
15352016-03-03 Yao Qi <yao.qi@linaro.org>
1536
1537 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1538 If target supports condition evaluation on target, invoke
1539 break_cond_on_syscall for fork and vfork.
1540
e197ad3c
YQ
15412016-03-03 Yao Qi <yao.qi@linaro.org>
1542
1543 * gdb.base/disp-step-syscall.exp: Don't invoke
1544 support_displaced_stepping.
1545 (disp_step_cross_syscall): Test with displaced stepping off and
1546 on if supported.
1547
0b47da9f
YQ
15482016-03-03 Yao Qi <yao.qi@linaro.org>
1549
1550 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1551 proc.
1552 (setup): New proc.
1553 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1554 and setup.
1555
065ab6dc
BH
15562016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1557
1558 * gdb.fortran/vla-history.exp: Remove breakpoint.
1559
07e448ad 15602016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1561
25d49b86
PA
1562 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1563 exceeds timeout.
07e448ad 1564
9ac2d526 15652016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1566
25d49b86
PA
1567 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1568 breakpoint.
9ac2d526 1569
17807369
BH
15702016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1571
1572 * gdb.mi/vla.f90: Nullify pointer after declaration.
1573
86e501af
PA
15742016-03-01 Pedro Alves <palves@redhat.com>
1575
1576 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1577
1e903e32
PA
15782016-03-01 Pedro Alves <palves@redhat.com>
1579
1580 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1581 before anything else.
1582 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1583 _GNU_SOURCE here.
1584 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1585 before anything else.
1586 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1587
6ccb54e2
PA
15882016-03-01 Pedro Alves <palves@redhat.com>
1589
1590 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1591
30ca9da1
YQ
15922016-03-01 Yao Qi <yao.qi@linaro.org>
1593
1594 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1595 prepare_for_testing.
1596
dc856b38
YQ
15972016-03-01 Yao Qi <yao.qi@linaro.org>
1598
1599 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1600
4a932159
AA
16012016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1602
1603 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1604 manually constructing the output path.
1605
f2489477
AA
16062016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1607
1608 * gdb.arch/s390-stackless.S: New.
1609 * gdb.arch/s390-stackless.exp: New.
1610
38899f16
IB
16112016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1612
1613 * gdb.dlang/circular.c: New file.
1614 * gdb.dlang/circular.exp: New file.
1615
9fde51ed
YQ
16162016-02-26 Yao Qi <yao.qi@linaro.org>
1617
1618 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1619 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1620 (testcases): Update.
1621
ce90fefe
YQ
16222016-02-26 Yao Qi <yao.qi@linaro.org>
1623
1624 * gdb.reverse/aarch64.c: Rename to ...
1625 * gdb.reverse/insn-reverse.c: ... it.
1626 * gdb.reverse/aarch64.exp: Rename to ...
1627 * gdb.reverse/insn-reverse.exp: ... it.
1628
3263bceb
YQ
16292016-02-26 Yao Qi <yao.qi@linaro.org>
1630
1631 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1632 (testcase_ftype): New.
1633 (testcases): New array.
1634 (n_testcases): New.
1635 (main): Call each element in testcases.
1636 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1637 (read_testcase): New.
1638 Do the tests in a loop.
1639
6cb59ff1
YQ
16402016-02-25 Yao Qi <yao.qi@linaro.org>
1641
1642 * gdb.base/branches.c: Remove.
1643
ae91f625
MK
16442016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1645
1646 PR gdb/13808
1647 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1648
678b48b7
MK
16492016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1650
1651 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1652
7337a6f2
MK
16532016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1654
1655 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1656 change x86_64 call_insn to 'callq'.
1657
861ca91f
AT
16582016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1659
1660 * gdb.trace/tfile-avx.c: Move to...
1661 * gdb.trace/tracefile-pseudo-reg.c: Here.
1662 * gdb.trace/tfile-avx.exp: Move to...
1663 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1664
bf74e428
GB
16652016-02-24 Gary Benson <gbenson@redhat.com>
1666
1667 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1668 message on attach.
1669
cce0e923
DE
16702016-02-23 Doug Evans <dje@google.com>
1671
1672 * gdb.base/skip.c (test_skip): New function.
1673 (end_test_skip_file_and_function): New function.
1674 (test_skip_file_and_function): New function.
1675 * gdb.base/skip1.c (test_skip): New function.
1676 (skip1_test_skip_file_and_function): New function.
1677 * gdb.base/skip.exp: Add tests for new skip options.
1678 * gdb.base/skip-solib.exp: Update expected output.
1679 * gdb.perf/skip-command.cc: New file.
1680 * gdb.perf/skip-command.exp: New file.
1681 * gdb.perf/skip-command.py: New file.
1682
4000e47e
MK
16832016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1684
1685 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1686 info registers pattern.
1687
24f75ead
IB
16882016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1689
1690 * lib/future.exp: Add D support.
1691 (gdb_find_gdc): New proc.
1692 (gdb_default_target_compile): Add D support.
1693
fbb7bcbe
WW
16942016-02-18 Wei-cheng Wang <cole945@gmail.com>
1695
1696 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1697 user+system time.
1698 (trace_speed_test): Determine the iteration count for a time
1699 between 15..30 seconds.
1700
012b3a21
WT
17012016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1702
1703 * gdb.arch/i386-mpx-sigsegv.c: New file.
1704 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1705 * gdb.arch/i386-mpx-simple_segv.c: New file.
1706 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1707
2d5189bd
YQ
17082016-02-18 Yao Qi <yao.qi@linaro.org>
1709
1710 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1711 Don't call setup_kfail.
1712
40fb20d0
YQ
17132016-02-18 Yao Qi <yao.qi@linaro.org>
1714
1715 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1716 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1717
21b1f8d2
DE
17182016-02-16 Doug Evans <dje@google.com>
1719
1720 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1721 * gdb.base/skip1.c: Ditto.
1722 * gdb.base/skip.exp: Whitespace cleanup.
1723
4041ed77
DB
17242016-02-16 Don Breazeal <donb@codesourcery.com>
1725
1726 PR remote/19496
1727 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1728 Remove kfail for PR remote/19496.
1729
c4ef31bf
SM
17302016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1731
1732 * lib/gdb.exp (standard_temp_file): Return a path specific to
1733 the runtest invocation.
1734
266b65b3
SM
17352016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1736
1737 * gdb.trace/save-trace.exp: Change relative path to be in the
1738 standard output directory.
1739
a7a0a6a9
JK
17402016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1741
1742 * gdb.arch/i386-prologue.c: Add missing prototypes.
1743
c99dbb42
JK
17442016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1745
1746 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1747 * gdb.arch/i386-prologue.exp: Likewise.
1748 * gdb.arch/i386-size.exp: Likewise.
1749
aa480355
SM
17502016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1751
1752 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1753 define object file path.
1754 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1755 file path.
1756 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1757 standard_output_file to define binfile.
1758
ba881f50
JK
17592016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1760
1761 Fix compatibility with recent gfortran-5.3.1.
1762 * gdb.fortran/vla-history.exp (print vla1 allocated)
1763 (print vla2 allocated, print $2, print $3): Remove
1764 (print $4): Rename to ...
1765 (print $2): ... here.
1766 (print $9): Rename to ...
1767 (print $5): ... here.
1768 (print $10): Rename to ...
1769 (print $6): ... here.
1770 * gdb.fortran/vla.f90: Add pvla initialization.
1771
e9fb005c
JK
17722016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1773
1774 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1775 New test.
1776 * gdb.fortran/vla-value-sub.exp: Likewise.
1777
e44e00ff
MK
17782016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1779
1780 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1781
97e94151
SM
17822016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1783
1784 * i386-biarch-core.exp: Define corefile using
1785 standard_output_file.
1786
01113bc1
YQ
17872016-02-12 Yao Qi <yao.qi@linaro.org>
1788
1789 * gdb.arch/arm-single-step-kernel-helper.c: New.
1790 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1791
33b4777c
MM
17922016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1793
1794 * gdb.btrace/tailcall-only.exp: New.
1795 * gdb.btrace/tailcall-only.c: New.
1796 * gdb.btrace/x86_64-tailcall-only.S: New.
1797 * gdb.btrace/i686-tailcall-only.S: New.
1798
acc23c11
PA
17992016-02-11 Pedro Alves <palves@redhat.com>
1800
1801 * README (Parallel testing): Add missing double quotes.
1802
e352bf0a
PA
18032016-02-11 Pedro Alves <palves@redhat.com>
1804
1805 * README (Parallel testing): New section.
1806 (GDB_PARALLEL): Rewrite.
1807 (FORCE_PARALLEL): Document.
1808
9f5fed78
MK
18092016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1810
1811 * gdb.trace/tfile-avx.c: New test.
1812 * gdb.trace/tfile-avx.exp: New test.
1813
9ef9e6a6
KS
18142016-02-09 Keith Seitz <keiths@redhat.com>
1815
1816 PR breakpoints/19546
1817 * gdb.base/infcall-exec.c: New file.
1818 * gdb.base/infcall-exec2.c: New file.
1819 * gdb.base/infcall-exec.exp: New file.
1820
a96e36da
KS
18212016-02-09 Keith Seitz <keiths@redhat.com>
1822
1823 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1824 (toplevel): Call test_bkpt_address.
1825
9f61929f
KS
18262016-02-09 Keith Seitz <keiths@redhat.com>
1827
1828 PR python/19506
1829 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1830 (toplevel): Call test_bkpt_address.
1831
1e94266c
SM
18322016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1833
1834 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1835 to AC_OUTPUT.
1836 * configure: Regenerate.
1837
2a7f3dff
PA
18382016-02-09 Pedro Alves <palves@redhat.com>
1839
1840 PR breakpoints/19548
1841 * gdb.base/execl-update-breakpoints.c (some_function): New
1842 function.
1843 (main): Call it.
1844 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1845 Tighten expected GDB output.
1846
2151ccc5
SM
18472016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1848
1849 * Makefile.in (ALL_SUBDIRS): Remove.
1850 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1851 (distclean maintainer-clean realclean): Likewise.
1852 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1853 * configure: Regenerate.
1854 * gdb.ada/Makefile.in: Delete.
1855 * gdb.arch/Makefile.in: Likewise.
1856 * gdb.asm/Makefile.in: Likewise.
1857 * gdb.base/Makefile.in: Likewise.
1858 * gdb.btrace/Makefile.in: Likewise.
1859 * gdb.cell/Makefile.in: Likewise.
1860 * gdb.compile/Makefile.in: Likewise.
1861 * gdb.cp/Makefile.in: Likewise.
1862 * gdb.disasm/Makefile.in: Likewise.
1863 * gdb.dlang/Makefile.in: Likewise.
1864 * gdb.dwarf2/Makefile.in: Likewise.
1865 * gdb.fortran/Makefile.in: Likewise.
1866 * gdb.gdb/Makefile.in: Likewise.
1867 * gdb.go/Makefile.in: Likewise.
1868 * gdb.guile/Makefile.in: Likewise.
1869 * gdb.java/Makefile.in: Likewise.
1870 * gdb.linespec/Makefile.in: Likewise.
1871 * gdb.mi/Makefile.in: Likewise.
1872 * gdb.modula2/Makefile.in: Likewise.
1873 * gdb.multi/Makefile.in: Likewise.
1874 * gdb.objc/Makefile.in: Likewise.
1875 * gdb.opencl/Makefile.in: Likewise.
1876 * gdb.opt/Makefile.in: Likewise.
1877 * gdb.pascal/Makefile.in: Likewise.
1878 * gdb.perf/Makefile.in: Likewise.
1879 * gdb.python/Makefile.in: Likewise.
1880 * gdb.reverse/Makefile.in: Likewise.
1881 * gdb.server/Makefile.in: Likewise.
1882 * gdb.stabs/Makefile.in: Likewise.
1883 * gdb.threads/Makefile.in: Likewise.
1884 * gdb.trace/Makefile.in: Likewise.
1885 * gdb.xml/Makefile.in: Likewise.
1886 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1887 GDB_PARALLEL.
1888 (standard_output_file): Remove check for GDB_PARALLEL, always
1889 return path in outputs/$subdir/$testname.
1890
437277d4
SM
18912016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1892
1893 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1894 (site.exp): Assign abs_srcdir to tcl's srcdir.
1895
31d913c7
YQ
18962016-02-04 Yao Qi <yao.qi@linaro.org>
1897
1898 * gdb.base/foll-exec-mode.c: Include limits.h.
1899 (main): Add parameters argc and argv. Get directory from
1900 argv[0].
1901 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1902 compilation.
1903 * gdb.base/foll-exec.c: Include limits.h.
1904 (main): Add parameters argc and argv.
1905 Get directory from argv[0].
1906 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1907 Adjust tests on the number of lines as source code changed.
1908 * gdb.base/foll-vfork-exit.c: Include limits.h.
1909 (main): Add one line of statement before vfork.
1910 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1911 (main): Add parameters argc and argv. Get directory from
1912 argv[0].
1913 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1914 (setup_gdb): Set tbreak to skip some source lines.
1915 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1916 (main): Add parameters argc and argv. Get directory from
1917 argv[0].
1918 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1919 compilation.
1920 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1921 (main): Add parameters argc and argv. Get directory from
1922 argv[0].
1923 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1924 compilation.
1925
9482b9fb
DE
19262016-02-01 Doug Evans <dje@google.com>
1927
1928 * gdb.base/skip.exp: Clean up multiple references to same test name.
1929
6b2e4f10
PA
19302016-02-01 Pedro Alves <palves@redhat.com>
1931
ccb6afd6 1932 PR remote/19496
6b2e4f10
PA
1933 * gdb.threads/forking-threads-plus-breakpoint.exp
1934 (displaced_stepping_supported): New global.
1935 (probe_displaced_stepping_support): New procedure.
1936 (do_test): Add 'displaced' parameter, and use it.
1937 (top level): Check for displaced stepping support. Add displaced
1938 stepping on/off testing axis.
1939
37a8db1a
AB
19402016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1941
1942 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1943 pointer. Don't perform further tests on the unassociated pointer
1944 if the first test fails.
1945
5fdf6324
AB
19462016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1947
1948 * gdb.base/max-value-size.c: New file.
1949 * gdb.base/max-value-size.exp: New file.
1950 * gdb.base/huge.exp: Disable max-value-size for this test.
1951
935c6144
IB
19522016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1953
1954 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1955
7fe8399d
YQ
19562016-01-28 Yao Qi <yao.qi@linaro.org>
1957
1958 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1959
a2077e25
PA
19602016-01-25 Pedro Alves <palves@redhat.com>
1961
1962 PR threads/19461
1963 * gdb.base/fork-running-state.c: New file.
1964 * gdb.base/fork-running-state.exp: New file.
1965
1d2736d4
PA
19662016-01-25 Pedro Alves <palves@redhat.com>
1967
1968 PR gdb/19494
1969 * gdb.base/catch-fork-kill.c: New file.
1970 * gdb.base/catch-fork-kill.exp: New file.
1971
f1da4b11
PA
19722016-01-25 Pedro Alves <palves@redhat.com>
1973
1974 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1975 Delete, moved to lib/gdb.exp.
1976 * gdb.threads/forking-threads-plus-breakpoint.exp
1977 (foreach_with_prefix): Likewise.
1978 * gdb.threads/process-dies-while-handling-bp.exp
1979 (foreach_with_prefix): Likewise.
1980 * lib/gdb.exp (foreach_with_prefix): New procedure.
1981
45f38546
MK
19822016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1983
1984 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1985 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1986
dc29a1ce
MK
19872016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1988
1989 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1990 endian targets.
1991
092127d7
JK
19922016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1993 Pedro Alves <palves@redhat.com>
1994
1995 Fix testsuite compatibility with Guile.
1996 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1997 number.
1998
31d765d3
JK
19992016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2000
2001 Fix testsuite compatibility with Guile.
2002 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
2003 (thread 1): New test for backtrace through signal handler.
2004
1ac78c04
YQ
20052016-01-22 Yao Qi <yao.qi@linaro.org>
2006
2007 PR testsuite/19491
2008 * gdb.base/multi-forks.c: Include
2009 ../lib/unbuffer_output.c
2010 (main): Call gdb_unbuffer_output.
2011
4f5946a8
DE
20122016-01-21 Doug Evans <dje@google.com>
2013
2014 * lib/ada.exp (gdb_compile_ada): Fix typo.
2015
305e13e6
JB
20162016-01-21 Joel Brobecker <brobecker@adacore.com>
2017
2018 * gdb.base/break-fun-addr.exp: New file.
2019 * gdb.base/break-fun-addr1.c: New file.
2020 * gdb.base/break-fun-addr2.c: New file.
2021
5f5dfff6
SM
20222016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
2023
2024 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
2025 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
2026 enum flag values.
2027
fd356fa2
AA
20282016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2029
2030 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
2031 when GDB can not set the vector return value. Add more comments
2032 for clarification.
2033
9df22175
AT
20342016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
2035
2036 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
2037 command.
2038
41d1845e
SM
20392016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2040
2041 * Makefile.in (DO_RUNTEST): Add --status and update usages.
2042
01ac6840
SM
20432016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2044
2045 * Makefile.in (check-single): Pass --status to runtest.
2046 (check/%.exp): Likewise.
2047
20482016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2049
2050 * Makefile.in (check-parallel): Propagate return code from make
2051 do-check-parallel.
2052
bd0a71fa
MK
20532016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
2054
2055 * gdb.trace/ftrace.exp: Fix expected message on continue.
2056 * gdb.trace/pending.exp: Fix expected message on continue.
2057 * gdb.trace/trace-break.exp: Fix expected message on continue.
2058
8bcbad33
SM
20592016-01-18 Simon Marchi <simon.marchi@ericsson.com>
2060
2061 * lib/gdb.exp (gdb_test): Remove unused global references.
2062
f303dbd6
PA
20632016-01-18 Pedro Alves <palves@redhat.com>
2064
2065 * gdb.base/async-shell.exp: Adjust expected output.
2066 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
2067 * gdb.base/siginfo-thread.exp: Adjust expected output.
2068 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
2069 * gdb.java/jnpe.exp: Adjust expected output.
2070 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
2071 * gdb.threads/continue-pending-status.exp: Adjust expected output.
2072 * gdb.threads/leader-exit.exp: Adjust expected output.
2073 * gdb.threads/manythreads.exp: Adjust expected output.
2074 * gdb.threads/pthreads.exp: Adjust expected output.
2075 * gdb.threads/schedlock.exp: Adjust expected output.
2076 * gdb.threads/siginfo-threads.exp: Adjust expected output.
2077 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
2078 expected output.
2079 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
2080 output.
2081 * gdb.threads/sigthread.exp: Adjust expected output.
2082 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
2083
b2789696
YQ
20842016-01-18 Yao Qi <yao.qi@linaro.org>
2085
2086 * gdb.guile/scm-section-script.c: Replace @progbits with
2087 %progbits.
2088 * gdb.python/py-section-script.c: Likewise.
2089
71ef29a8
PA
20902016-01-15 Pedro Alves <palves@redhat.com>
2091
2092 * gdb.multi/tids.exp: Test star wildcard ranges.
2093
3f5b7598
PA
20942016-01-15 Pedro Alves <palves@redhat.com>
2095
2096 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
2097 command from "thread apply" invocation.
2098 (thr_apply_info_thr_invalid): Default the expected output to the
2099 input tid list.
2100 (top level): Add tests that use convenience variables. Add tests
2101 for "thread apply" with a valid TID list, but missing the command.
2102
663f6d42
PA
21032016-01-13 Pedro Alves <palves@redhat.com>
2104
2105 * gdb.base/default.exp: Expect $_gthread as well.
2106 * gdb.multi/tids.exp: Test $_gthread.
2107 * gdb.threads/thread-specific.exp: Test $_gthread.
2108
c84f6bbf
PA
21092016-01-13 Pedro Alves <palves@redhat.com>
2110
2111 * gdb.multi/tids.exp: Test "info threads -gid".
2112
22a02324
PA
21132016-01-13 Pedro Alves <palves@redhat.com>
2114
2115 * gdb.multi/tids.exp: Test InferiorThread.global_num and
2116 Breakpoint.thread.
2117 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
2118
5d5658a1
PA
21192016-01-07 Pedro Alves <palves@redhat.com>
2120
2121 * gdb.base/break.exp: Adjust to output changes.
2122 * gdb.base/hbreak2.exp: Likewise.
2123 * gdb.base/sepdebug.exp: Likewise.
2124 * gdb.base/watch_thread_num.exp: Likewise.
2125 * gdb.linespec/keywords.exp: Likewise.
2126 * gdb.multi/info-threads.exp: Likewise.
2127 * gdb.threads/thread-find.exp: Likewise.
2128 * gdb.multi/tids.c: New file.
2129 * gdb.multi/tids.exp: New file.
2130
84654457
PA
21312016-01-13 Pedro Alves <palves@redhat.com>
2132
2133 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
2134
e3940304
PA
21352016-01-13 Pedro Alves <palves@redhat.com>
2136
2137 * gdb.base/default.exp: Expect $_inferior as well.
2138 * gdb.multi/base.exp: Test $_inferior.
2139
a911d87a
PA
21402016-01-13 Pedro Alves <palves@redhat.com>
2141
2142 PR breakpoints/19388
2143 * gdb.base/catch-signal-siginfo-cond.c: New file.
2144 * gdb.base/catch-signal-siginfo-cond.exp: New file.
2145
82075af2
JS
21462016-01-12 Josh Stone <jistone@redhat.com>
2147 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2148
2149 * gdb.base/catch-syscall.c (do_execve): New variable.
2150 (main): Conditionally trigger an execve.
2151 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
2152 (test_catch_syscall_execve): New, check entry/return across execve.
2153 (do_syscall_tests): Call test_catch_syscall_execve.
2154
e46eeedd
PA
21552016-01-12 Pedro Alves <palves@redhat.com>
2156
2157 * gdb.base/random-signal.exp (do_test): New procedure, with body
2158 of testcase moved in.
2159
01d8c27e
JK
21602016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2161 Pedro Alves <palves@redhat.com>
2162
2163 * gdb.base/funcargs.exp (finish from indirectly called function):
2164 Reintroduce the case for 'First'.
2165
9a706302
JK
21662016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2167 Pedro Alves <palves@redhat.com>
2168
2169 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
2170 (tcatch_vfork_then_child_follow_exec)
2171 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
2172 identification.
2173
c0ecb95f
JK
21742016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2175
2176 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
2177 and repeats to unlimited.
2178 * gdb.python/py-value.exp: Likewise.
2179 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
2180 and repeats to unlimited.
2181
6cfc1fcb
JK
21822016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2183
2184 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
2185 and reordering the functions.
2186 * gdb.multi/hangout.c: Likewise.
2187 * gdb.multi/hello.c: Likewise.
2188
582a1b00
SM
21892016-01-08 Simon Marchi <simon.marchi@ericsson.com>
2190
2191 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
2192 absolute.
2193 (SingleStatisticTestResult.report): Use dict.keys instead of
2194 dict.iterkeys.
2195
79bc59cb
PA
21962016-01-06 Pedro Alves <palves@redhat.com>
2197
2198 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
2199
43368e1d
MM
22002016-01-04 Markus Metzger <markus.t.metzger@intel.com>
2201
2202 * gdb.btrace/dlopen.exp: New.
2203 * gdb.btrace/dlopen.c: New.
2204 * gdb.btrace/dlopen-dso.c: New.
2205
79fad5b8
SL
22062015-12-25 Sandra Loosemore <sandra@codesourcery.com>
2207
2208 * lib/gdb.exp (gdb_test): Update comments to clarify that the
2209 PATTERN argument is optional.
2210
ab8314b3
JB
22112015-12-24 Joel Brobecker <brobecker@adacore.com>
2212
2213 * lib/ada.exp (target_compile_ada_from_dir): New function.
2214 (gdb_compile_ada): Reimplement avoiding the use of project files.
2215 * gdb.ada/gnat_ada.gpr: Delete.
2216 * gdb.ada/cond_lang.exp: Adjust test to make path before
2217 filename optional.
2218 * gdb.ada/small_reg_param.exp: Likewise.
2219
fe33faff
SM
22202015-12-22 Simon Marchi <simon.marchi@ericsson.com>
2221
2222 * gdb.base/foll-vork.exp: Remove HP-UX special case.
2223
6d265cb4
TP
22242015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
2225
2226 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
2227 case.
2228
10125099
SM
22292015-12-21 Simon Marchi <simon.marchi@ericsson.com>
2230
2231 * gdb.base/break.exp: Remove dead code.
2232 * gdb.base/sepdebug.exp: Likewise.
2233
3ca22649
SM
22342015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2235
2236 * gdb.asm/asm-source.exp: Remove HP-UX references.
2237 * gdb.base/annota1.exp: Likewise.
2238 * gdb.base/annota3.exp: Likewise.
2239 * gdb.base/attach.exp: Likewise.
2240 * gdb.base/bigcore.exp: Likewise.
2241 * gdb.base/break.exp: Likewise.
2242 * gdb.base/call-ar-st.exp: Likewise.
2243 * gdb.base/callfuncs.exp: Likewise.
2244 * gdb.base/catch-fork-static.exp: Likewise.
2245 * gdb.base/display.exp: Likewise.
2246 * gdb.base/foll-exec-mode.exp: Likewise.
2247 * gdb.base/foll-exec.exp: Likewise.
2248 * gdb.base/foll-fork.exp: Likewise.
2249 * gdb.base/foll-vfork.exp: Likewise.
2250 * gdb.base/funcargs.exp: Likewise.
2251 * gdb.base/hbreak2.exp: Likewise.
2252 * gdb.base/inferior-died.exp: Likewise.
2253 * gdb.base/interrupt.exp: Likewise.
2254 * gdb.base/multi-forks.exp: Likewise.
2255 * gdb.base/nodebug.exp: Likewise.
2256 * gdb.base/sepdebug.exp: Likewise.
2257 * gdb.base/solib1.c: Likewise.
2258 * gdb.base/step-test.exp: Likewise.
2259 * gdb.mi/non-stop.c: Likewise.
2260 * gdb.mi/pthreads.c: Likewise.
2261 * gdb.multi/bkpt-multi-exec.ex: Likewise.
2262 * gdb.threads/pthreads.c: Likewise.
2263 * gdb.threads/staticthreads.exp: Likewise.
2264 * lib/future.exp: Likewise.
2265 * lib/gdb.exp: Likewise.
2266 * gdb.base/so-indr-cl.c: Remove.
2267 * gdb.base/so-indr-cl.exp: Likewise.
2268 * gdb.base/solib.c: Likewise.
2269 * gdb.base/solib.exp: Likewise.
2270 * gdb.base/solib2.c: Likewise.
2271
b6304613
SM
22722015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2273
2274 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
2275 * gdb.base/call-ar-st.exp: Likewise.
2276 * gdb.base/callfuncs.exp: Likewise.
2277 * gdb.base/condbreak.exp: Likewise.
2278 * gdb.base/constvars.exp: Likewise.
2279 * gdb.base/hbreak2.exp: Likewise.
2280 * gdb.base/langs.exp: Likewise.
2281 * gdb.base/list.exp: Likewise.
2282 * gdb.base/long_long.exp: Likewise.
2283 * gdb.base/ptype.exp: Likewise.
2284 * gdb.base/scope.exp: Likewise.
2285 * gdb.base/signals.exp: Likewise.
2286 * gdb.base/so-impl-ld.exp: Likewise.
2287 * gdb.base/varargs.exp: Likewise.
2288 * gdb.base/volatile.exp: Likewise.
2289 * gdb.base/whatis.exp: Likewise.
2290 * gdb.cp/cplusfuncs.exp: Likewise.
2291 * gdb.cp/inherit.exp: Likewise.
2292 * gdb.cp/local.exp: Likewise.
2293 * gdb.cp/member-ptr.exp: Likewise.
2294 * gdb.cp/method.exp: Likewise.
2295 * gdb.cp/overload.exp: Likewise.
2296 * gdb.cp/templates.exp: Likewise.
2297 * gdb.stabs/weird.exp: Likewise.
2298 * lib/compiler.c: Likewise.
2299 * lib/compiler.cc: Likewise.
2300 * lib/cp-support.exp: Likewise.
2301 * lib/gdb.exp: Likewise.
2302
bf401b07
SM
23032015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
2304
2305 * configure.ac: Remove HP-UX case.
2306 * configure: Regenerate.
2307
aff9c0f8
SM
23082015-12-18 Simon Marchi <simon.marchi@ericsson.com>
2309
2310 * lib/gdb.exp (gdb_compile): Add function doc.
2311
a6904d5a
PA
23122015-12-17 Pedro Alves <palves@redhat.com>
2313
2314 PR threads/19354
2315 * gdb.multi/info-threads.exp: New file.
2316
a22279dd
YQ
23172015-12-15 Yao Qi <yao.qi@linaro.org>
2318
2319 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
2320 is aarch64*-*-*.
2321
0588c796
SL
23222015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2323
2324 * gdb.base/history-duplicates.exp: Skip if no readline support.
2325
5d978e17
SL
23262015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2327
2328 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
2329
7e763b86
SL
23302015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2331
2332 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
2333
87a3a92c
SL
23342015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2335
2336 * gdb.base/completion.exp: Skip tests that interrupt GDB with
2337 ctrl-C if nointerrupts target property is set.
2338 * gdb.base/double-prompt-target-event-error.exp: Likewise.
2339 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
2340 * gdb.base/paginate-bg-execution.exp: Likewise.
2341 * gdb.base/paginate-execution-startup.exp: Likewise.
2342 * gdb.base/random-signal.exp: Likewise.
2343 * gdb.base/range-stepping.exp: Likewise.
2344 * gdb.cp/annota2.exp: Likewise.
2345 * gdb.cp/annota3.exp: Likewise.
2346 * gdb.gdb/selftest.exp: Likewise.
2347 * gdb.threads/continue-pending-status.exp: Likewise.
2348 * gdb.threads/leader-exit.exp: Likewise.
2349 * gdb.threads/manythreads.exp: Likewise.
2350 * gdb.threads/pthreads.exp: Likewise.
2351 * gdb.threads/schedlock.exp: Likewise.
2352 * gdb.threads/sigthread.exp: Likewise.
2353
a8f077dc
DB
23542015-12-11 Don Breazeal <donb@codesourcery.com>
2355
2356 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
2357 remote.
2358 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
2359 * gdb.base/foll-exec.exp (main): Enable for target remote.
2360 * gdb.base/foll-fork.exp (main): Likewise.
2361 * gdb.base/foll-vfork.exp (main): Likewise.
2362 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
2363 (proc continue_to_exit_bp_loc): Use clean_restart.
2364 * gdb.base/pie-execl.exp (main): Disable for target remote.
2365 * gdb.base/watch-vfork.exp (main): Enable for target remote.
2366 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
2367 * gdb.threads/execl.exp (main): Likewise.
2368 * gdb.threads/fork-child-threads.exp (main): Likewise.
2369 * gdb.threads/fork-plus-threads.exp (main): Disable for target
2370 remote.
2371 * gdb.threads/fork-thread-pending.exp (main): Enable for target
2372 remote.
2373 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
2374 pid.tid style ptids, instead of just tid.
2375 * gdb.threads/thread-execl.exp (main): Enable for target remote.
2376 * gdb.threads/watchpoint-fork.exp (main): Likewise.
2377 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
2378 ptids, instead of just tid.
2379
3b2464a8
AB
23802015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2381
2382 * gdb.base/list.exp (test_list_forward): Add end of file error
2383 test.
2384 (test_repeat_list_command): Add end of file error test.
2385 (test_list_backwards): Add beginning of file error test.
2386
a0def019
AB
23872015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2388
2389 * gdb.base/list.exp (test_list_invalid_args): New function,
2390 defined, and called.
2391
5c000dff
AB
23922015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2393
2394 * gdb.base/list.exp (test_list): Make test names unique.
2395
f1637ebe
YQ
23962015-12-11 Yao Qi <yao.qi@linaro.org>
2397
2398 * gdb.base/coremaker2.c: Remove.
2399
36d6fc0a
PA
24002015-12-10 Pedro Alves <palves@redhat.com>
2401
2402 * gdb.multi/base.exp: Remove stale "spaces" references.
2403
762f7747
PA
24042015-12-10 Pedro Alves <palves@redhat.com>
2405
2406 * gdb.multi/base.exp: Don't use nowarnings.
2407 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
2408 * gdb.multi/hangout.c: Include stdio.h.
2409 * gdb.multi/hello.c: Include stdlib.h.
2410 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
2411 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
2412 * gdb.multi/multi-arch.exp: Don't use nowarnings.
2413
28d2bfb9
AB
24142015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
2415
2416 * gdb.dwarf2/dw2-ranges-base.c: New file.
2417 * gdb.dwarf2/dw2-ranges-base.exp: New file.
2418 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
2419 support additional line table, and debug ranges generation.
2420 (Dwarf::ranges): New function, generate .debug_ranges.
2421 (Dwarf::lines): Support generating simple line table programs.
2422 (Dwarf::assemble): Initialise new namespace variables.
2423
5fc2beac
KB
24242015-12-09 Kevin Buettner <kevinb@redhat.com>
2425
2426 * gdb.base/async.exp (proc test_background): Add case for
2427 asynchronous execution not supported.
2428
1c35a88f
LM
24292015-12-09 Luis Machado <lgustavo@codesourcery.com>
2430
2431 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
2432 format and change test names to make them unique.
2433
b593e3d9
RK
24342015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
2435 Pedro Alves <pedro@redhat.com>
2436
2437 PR gdb/18702
2438 Add checking of floatformats setup on x86_64 hosts.
2439 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2440 (smallval, bigval): New labels/constants.
2441 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2442 float" after loading bigval and smallval.
2443
d72413e6
PMR
24442015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2445
2446 * gdb.ada/fun_overload_menu.exp: New testcase.
2447 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2448
ece66d65
JS
24492015-12-04 Josh Stone <jistone@redhat.com>
2450
2451 * gdb.base/catch-fork-static.exp: New.
2452
41d0efca
YQ
24532015-12-03 Yao Qi <yao.qi@linaro.org>
2454
2455 * gdb.base/sizeof.c: Don't include stdio.h and
2456 ../lib/unbuffer_output.c.
2457 (main): New variable 'size' and 'value'. Remove printf and
2458 gdb_unbuffer_output. Assign return value to size and value.
2459 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2460 at the beginning.
2461 (check_sizeof): Check the result by printing variable 'size'.
2462 (check_valueof): Check the result by printing variable 'value'.
2463
99fd02d9
YQ
24642015-12-01 Yao Qi <yao.qi@linaro.org>
2465
2466 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2467 for aarch64*-*-linux* target.
2468
f2faf941
PA
24692015-11-30 Pedro Alves <palves@redhat.com>
2470
2471 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2472
04bf20c5
PA
24732015-11-30 Pedro Alves <palves@redhat.com>
2474
2475 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2476 Handle non-stop mode vCont replies.
2477
09df4675
PA
24782015-11-30 Pedro Alves <palves@redhat.com>
2479
2480 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2481 prepare_for_testing. Start gdb with "set non-stop on" appended to
2482 GDBFLAGS. Lax expected stop output.
2483
58b584af
YQ
24842015-11-27 Yao Qi <yao.qi@linaro.org>
2485
2486 * gdb.arch/arm-neon.exp: New.
2487 * gdb.arch/arm-neon.c: New.
2488
dfcb77a8
YQ
24892015-11-27 Yao Qi <yao.qi@linaro.org>
2490
2491 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2492
88e8ec1b
YQ
24932015-11-27 Yao Qi <yao.qi@linaro.org>
2494
2495 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2496 frames-invalid annotation.
2497
bfde72c2
YQ
24982015-11-27 Yao Qi <yao.qi@linaro.org>
2499
2500 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2501
f6512a69
SM
25022015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2503
2504 * gdb.threads/names.exp: New file.
2505 * gdb.threads/names.c: New file.
2506 * README: Mention gdb,no_thread_names.
2507
46a3515b
MM
25082015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2509
2510 PR 19297
2511 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2512 support" error.
2513
62147a22
PA
25142015-11-24 Pedro Alves <palves@redhat.com>
2515
2516 PR 17539
2517 * gdb.base/display.exp: Expect displays to be sorted in ascending
2518 order. Use multi_line.
2519 * gdb.base/solib-display.exp: Likewise.
2520
2f341b6e
PA
25212015-11-24 Pedro Alves <palves@redhat.com>
2522
2523 PR 17539
25d49b86
PA
2524 * gdb.base/display.exp: Expect displays to be sorted in ascending
2525 order. Use multi_line.
2526 * gdb.base/solib-display.exp: Likewise.
2f341b6e 2527
7e0aa6aa
PA
25282015-11-24 Pedro Alves <palves@redhat.com>
2529
2530 PR 17539
2531 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2532 threads in ascending order.
2533 * gdb.base/foll-fork.exp: Likewise.
2534 * gdb.base/foll-vfork.exp: Likewise.
2535 * gdb.base/multi-forks.exp: Likewise.
2536 * gdb.mi/mi-nonstop.exp: Likewise.
2537 * gdb.mi/mi-nsintrall.exp: Likewise.
2538 * gdb.multi/base.exp: Likewise.
2539 * gdb.multi/multi-arch.exp: Likewise.
2540 * gdb.python/py-inferior.exp: Likewise.
2541 * gdb.threads/break-while-running.exp: Likewise.
2542 * gdb.threads/execl.exp: Likewise.
2543 * gdb.threads/gcore-thread.exp: Likewise.
2544 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2545 * gdb.threads/kill.exp: Likewise.
2546 * gdb.threads/linux-dp.exp: Likewise.
2547 * gdb.threads/multiple-step-overs.exp: Likewise.
2548 * gdb.threads/next-bp-other-thread.exp: Likewise.
2549 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2550 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2551 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2552 * gdb.threads/thread-find.exp: Likewise.
2553 * gdb.threads/tls.exp: Likewise.
2554 * lib/mi-support.exp (mi_reverse_list): Delete.
2555 (mi_check_thread_states): No longer reverse list.
2556
2cc57ad8
PA
25572015-11-24 Pedro Alves <palves@redhat.com>
2558
2559 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2560 use lowercase.
2561
c93e8391
SM
25622015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2563
2564 * gdb.trace/actions.c: Include trace-common.h.
2565 (main): Add a location for a fast tracepoint.
2566 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2567 the normal tracepoints.
2568 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2569
045ccf91
SM
25702015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2571
2572 * save-trace.exp: Factor out code to these...
2573 (gdb_save_tracepoints): New.
2574 (gdb_load_tracepoints): New.
2575 (do_save_load_test): New.
2576
5506f9f6
KB
25772015-11-23 Kevin Buettner <kevinb@redhat.com>
2578
2579 * gdb.base/asmlabel.exp: New test.
2580 * gdb.base/asmlabel.c: New test case.
2581
16c3b12f
JB
25822015-11-23 Joel Brobecker <brobecker@adacore.com>
2583
2584 * gdb.base/wrong_frame_bt_full-main.c: New file.
2585 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2586 * gdb.base/wrong_frame_bt_full.exp: New file.
2587
155bfbd3
JB
25882015-11-23 Joel Brobecker <brobecker@adacore.com>
2589
2590 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2591
bb097445
JM
25922015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2593
206853a0 2594 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
2595 pstate register when comparing registers values in
2596 sparc64-*-linux-gnu targets to avoid spurious differences.
2597
9c88ed8f
JM
25982015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2599
206853a0 2600 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 2601
96161e25
SL
26022015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2603
2604 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2605 as type argument to gdb_compile.
2606 * gdb.base/nested-subp2.exp: Likewise.
2607 * gdb.base/nested-subp3.exp: Likewise.
2608
340c2830
DV
26092015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2610
2611 * lib/dwarf.exp (_note): Fix left shift of negative value.
2612 * gdb.trace/trace-condition.exp: Likewise.
2613
c1862d0f
YQ
26142015-11-13 Yao Qi <yao.qi@linaro.org>
2615
2616 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2617 comments about d10v.
2618 (test_scalar_returns): Likewise.
2619 * gdb.base/d10v.ld: Remove.
2620 * gdb.base/overlays.exp: Remove the target triplet checking for
2621 d10v-*-*.
2622 * gdb.base/structs.exp (test_struct_returns): Remove the
2623 comments about d10v.
2624 (test_struct_calls): Likewise.
2625
77ae9c19
YQ
26262015-11-13 Yao Qi <yao.qi@linaro.org>
2627
2628 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2629 * gdb.base/gnu_vector.c: Don't include stdio.h.
2630 (main): Don't print res and call add_some_intvecs.
2631
430e004e
MK
26322015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2633
2634 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2635 macro.
2636 (func5): Removed.
2637 (func4): Use FAST_TRACEPOINT_LABEL.
2638 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2639 macro.
2640 (func): Removed.
2641 (thread_function): Use FAST_TRACEPOINT_LABEL.
2642 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2643 (func): Remove.
2644 (marker): Use FAST_TRACEPOINT_LABEL.
2645 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2646 (pendfunc1): Remove.
2647 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2648 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2649 (foo): Remove.
2650 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2651 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2652 macro.
2653 (func): Remove.
2654 (marker): Use FAST_TRACEPOINT_LABEL.
2655 * gdb.trace/trace-common.h: New header.
2656 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2657 macro.
2658 (func): Remove.
2659 (marker): Use FAST_TRACEPOINT_LABEL.
2660 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2661 (func): Remove.
2662 (thread_function): Use FAST_TRACEPOINT_LABEL.
2663
6e7675a7
MK
26642015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2665
2666 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2667 in front.
2668 * gdb.trace/change-loc.exp: Use global pcreg definition.
2669 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2670 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2671 in front.
2672 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2673 * gdb.trace/pending.exp: Likewise.
2674 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2675 * gdb.trace/trace-break.exp: Likewise.
2676 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2677 in front.
2678 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2679 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2680 in front.
2681 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2682
dddc0e16
JB
26832015-11-09 Joel Brobecker <brobecker@adacore.com>
2684
2685 * gdb.ada/fin_fun_out: New testcase.
2686
c6f0b406
KB
26872015-11-07 Kevin Buettner <kevinb@redhat.com>
2688
2689 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2690 value associated with DW_AT_byte_size.
2691 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2692 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2693 DW_AT_upper_bound.
2694
f01dcfd9
KB
26952015-11-07 Kevin Buettner <kevinb@redhat.com>
2696
2697 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2698 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2699 version.
2700 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2701 gdb.dwarf2/dw2-canonicalize-type.exp,
2702 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2703 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2704 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2705 provided by gdb_target_symbol_prefix_flags_asm.
2706 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2707 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2708 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2709 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2710 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2711 macros where needed). Use this macro for symbols which require
2712 the prefix provided by SYMBOL_PREFIX.
2713
2223449a
KB
27142015-11-05 Kevin Buettner <kevinb@redhat.com>
2715
2716 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2717 New procs.
2718 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2719 representing expressions, of more than one list element.
2720 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2721 to prepend linker symbol prefix to f.
2722 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2723 table_1 and table_2.
2724 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2725 Likewise, for f and g.
2726 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2727 for ptr.
2728 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2729 for main.
2730 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2731 table_1_ptr and table_2_ptr.
2732
6f2f1a3a
JK
27332015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2734 Joel Brobecker <brobecker@adacore.com>
2735
2736 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2737
566c56c9
MK
27382015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2739
2740 * gdb.reverse/s390-mvcle.c: New test.
2741 * gdb.reverse/s390-mvcle.exp: New file.
2742 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2743
d5f0636b
MK
27442015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2745
2746 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2747
7ad8b86c
MK
27482015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2749
2750 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2751 reaching marker2.
2752 * gdb.reverse/getresuid-reverse.exp: Likewise.
2753 * gdb.reverse/pipe-reverse.exp: Likewise.
2754 * gdb.reverse/readv-reverse.exp: Likewise.
2755 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2756 * gdb.reverse/time-reverse.exp: Likewise.
2757 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2758
4081c0f1
YQ
27592015-10-30 Yao Qi <yao.qi@linaro.org>
2760
2761 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2762 (empty_cycle): Remove.
2763 (main): Don't call empty_cycle. Don't use watch_count_done.
2764 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2765 empty_cycle. Rewrite the code counting HW watchpoints.
2766
452b4ba5
MK
27672015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2768
2769 * gdb.reverse/fstatat-reverse.c: New test.
2770 * gdb.reverse/fstatat-reverse.exp: New file.
2771 * gdb.reverse/getresuid-reverse.c: New test.
2772 * gdb.reverse/getresuid-reverse.exp: New file.
2773 * gdb.reverse/pipe-reverse.c: New test.
2774 * gdb.reverse/pipe-reverse.exp: New file.
2775 * gdb.reverse/readv-reverse.c: New test.
2776 * gdb.reverse/readv-reverse.exp: New file.
2777 * gdb.reverse/recvmsg-reverse.c: New test.
2778 * gdb.reverse/recvmsg-reverse.exp: New file.
2779 * gdb.reverse/time-reverse.c: New test.
2780 * gdb.reverse/time-reverse.exp: New file.
2781 * gdb.reverse/waitpid-reverse.c: New test.
2782 * gdb.reverse/waitpid-reverse.exp: New file.
2783
5e2e7507
JK
27842015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2785
2786 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2787
0fde2c53
DE
27882015-10-26 Doug Evans <dje@google.com>
2789
2790 PR symtab/17391
2791 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2792 * gdb.dwarf2/bad-regnum.c: New file.
2793 * gdb.dwarf2/bad-regnum.exp: New file.
2794
1a70ae97
DE
27952015-10-26 Doug Evans <dje@google.com>
2796
2797 PR python/18938
2798 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2799 file.
2800
27dc26ab
JK
28012015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2802
2803 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2804 for a change by "Mention language in compile error message".
2805
bed91f4d
SM
28062015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2807
2808 PR python/18073
2809 * gdb.python/py-type.c (C::a_method): New.
2810 (C::a_const_method): New.
2811 (C::a_static_method): New.
2812 (a_function): New.
2813 * gdb.python/py-type.exp (test_fields): Test getting fields
2814 from function and method.
2815
3f2f83dd
KB
28162015-10-21 Keven Boell <keven.boell@intel.com>
2817
2818 * gdb.fortran/vla-alloc-assoc.exp: New file.
2819 * gdb.fortran/vla-datatypes.exp: New file.
2820 * gdb.fortran/vla-datatypes.f90: New file.
2821 * gdb.fortran/vla-history.exp: New file.
2822 * gdb.fortran/vla-ptype-sub.exp: New file.
2823 * gdb.fortran/vla-ptype.exp: New file.
2824 * gdb.fortran/vla-sizeof.exp: New file.
2825 * gdb.fortran/vla-sub.f90: New file.
2826 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2827 * gdb.fortran/vla-value-sub-finish.exp: New file.
2828 * gdb.fortran/vla-value-sub.exp: New file.
2829 * gdb.fortran/vla-value.exp: New file.
2830 * gdb.fortran/vla-ptr-info.exp: New file.
2831 * gdb.mi/mi-vla-fortran.exp: New file.
2832 * gdb.mi/vla.f90: New file.
2833
27145d50
SL
28342015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2835
2836 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2837 of hardwired timeout value.
2838
5f3ff4f8
JK
28392015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2840 Pedro Alves <palves@redhat.com>
2841
2842 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2843 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2844
bfd09d20
JS
28452015-10-19 Josh Stone <jistone@redhat.com>
2846
2847 * gdb.base/catch-syscall.c: Include <sched.h>.
2848 (unknown_syscall): New variable.
2849 (main): Trigger a vfork and an unknown syscall.
2850 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2851 (unknown_syscall_number): Likewise.
2852 (check_call_to_syscall): Accept an optional syscall pattern.
2853 (check_return_from_syscall): Likewise.
2854 (check_continue): Likewise.
2855 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2856 (test_catch_syscall_skipping_return): New test toggling off 'catch
2857 syscall' to step over the syscall return, then toggling back on.
2858 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2859 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2860 (do_syscall_tests): Call test_catch_syscall_without_args and
2861 test_catch_syscall_mid_vfork.
2862 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2863 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2864
b32b93c6
AS
28652015-10-19 Andrew Stubbs <ams@codesourcery.com>
2866
2867 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2868 print g_vE): Add new pass patterns.
2869 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2870 print various symbol names for vptr fields.
2871
9d622bda
AB
28722015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2873
2874 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2875 results.
2876
0fd8ac1c
YQ
28772015-10-12 Yao Qi <yao.qi@linaro.org>
2878
2879 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2880
34240514
YQ
28812015-10-12 Yao Qi <yao.qi@linaro.org>
2882
2883 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2884 is aarch64*-*-linux*.
2885
8240f442
YQ
28862015-10-12 Yao Qi <yao.qi@linaro.org>
2887
2888 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2889 (can_relocate_bcond_true): ... it.
2890 (can_relocate_bcond_false): New function.
2891 (foo): Likewise.
2892 (can_relocate_bl): Likewise.
2893 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2894 can_relocate_bl.
2895
2520f728
PMR
28962015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2897
2898 * gdb.base/nested-addr.c: New file.
2899 * gdb.base/nested-addr.exp: New testcase.
2900
abcef95a
MM
29012015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2902
2903 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2904 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2905 its output. Ignore the output of "record goto begin" and instead
2906 check that GDB is replaying.
2907
145e3ddb
PA
29082015-10-09 Pedro Alves <palves@redhat.com>
2909
2910 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2911 (top level): Use it in the run with no args test.
2912
d5d8c4e1
IB
29132015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2914
2915 * gdb.dlang/properties.exp: New file.
2916
06e635ef
SL
29172015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2918
2919 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2920 whether or not address 0x1000 is mapped on the target.
2921
e019fd1d
SM
29222015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2923
2924 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2925 build.
2926
77ba2a67
MM
29272015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2928
2929 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2930 instruction-history test.
2931
c60eb31f
DE
29322015-09-28 Doug Evans <dje@google.com>
2933
2934 * gdb.base/gcore.c (array_func): Add reference to static_array.
2935
9a3c8263
SM
29362015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2937
2938 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2939 source line.
2940
9720e656
SL
29412015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2942
2943 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2944 short or char as base type.
2945
938d3bf2
SL
29462015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2947
2948 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2949 to allow any size enum.
2950
e6c2c623
PMR
29512015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2952
2953 * gdb.ada/array_ptr_renaming.exp: New testcase.
2954 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2955 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2956
06da0f77
PL
29572015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2958
2959 * gdb.trace/ftrace-lock.c: New file.
2960 * gdb.trace/ftrace-lock.exp: New file.
2961
4f51c22a
PL
29622015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2963
2964 * gdb.arch/insn-reloc.c: New file.
2965 * gdb.arch/ftrace-insn-reloc.exp: New file.
2966
7041adf4
PL
29672015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2968
2969 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2970 instruction.
2971 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2972 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2973 * gdb.trace/range-stepping.c: Likewise.
2974 * gdb.trace/trace-break.c: Likewise.
2975 * gdb.trace/trace-mt.c (thread_function): Likewise.
2976 * gdb.trace/ftrace.c (marker): Likewise.
2977 * gdb.trace/trace-condition.c (marker): Likewise.
2978 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2979 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2980 is_aarch64_target.
2981
015d2e7e
DE
29822015-09-18 Doug Evans <xdje42@gmail.com>
2983
2984 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2985 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2986
26b188a2
SL
29872015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2988
2989 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2990 the breakpoint.
2991
79dc332b
SL
29922015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2993
2994 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2995 the pending breakpoint. Remove timeout override for "Run till
2996 MI pending breakpoint on pendfunc3 on thread 2" test.
2997
f57929f2
SL
29982015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2999
3000 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
3001 filename pattern.
3002
3f469b17
SL
30032015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3004
3005 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
3006 in breakpoint filename pattern.
3007
515b89b3
SL
30082015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3009
7800dbe4
SL
3010 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
3011
30122015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3013
515b89b3
SL
3014 * gdb.linespec/explicit.exp: Check for readline support for
3015 tab-completion tests. Fix obvious typo.
3016
d2939ba2
MM
30172015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3018
3019 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
3020 and replay.
3021
cbb55fa7
MM
30222015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3023
3024 * gdb.btrace/non-stop.c: New.
3025 * gdb.btrace/non-stop.exp: New.
3026
43691ca1
PL
30272015-09-17 Pierre Langlois <pierre.langlois@arm.com>
3028 Yao Qi <yao.qi@linaro.org>
3029
3030 * gdb.trace/trace-condition.c: New file.
3031 * gdb.trace/trace-condition.exp: New file.
3032
d78908cf
WW
30332015-09-16 Wei-cheng Wang <cole945@gmail.com>
3034
3035 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
3036 for testing bytecode compilation.
3037
1ed415e2
PA
30382015-09-16 Pedro Alves <palves@redhat.com>
3039 Sandra Loosemore <sandra@codesourcery.com>
3040
3041 * gdb.threads/non-stop-fair-events.c (timeout): New global.
3042 (SECONDS): Redefine.
3043 (main): Call pthread_kill and alarm early.
3044 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
3045 support.
3046 (test): If the target can't hardware step and doesn't support
3047 displaced stepping, increase the timeout.
3048
d136eff5
PA
30492015-09-16 Pedro Alves <palves@redhat.com>
3050
3051 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
3052 (enable_debug): New procedures.
3053 (test): Use them. Bail out if waiting for threads fails.
3054 (top level): Bail out if a test fails.
3055
991f019c
YQ
30562015-09-16 Yao Qi <yao.qi@linaro.org>
3057
3058 * gdb.asm/asm-source.exp: Set asm-arch for
3059 aarch64*-*-* target.
3060 * gdb.asm/aarch64.inc: New file.
3061
bfca584f
PMR
30622015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
3063
3064 * gdb.ada/array_of_variable_length.exp: New testcase.
3065 * gdb.ada/array_of_variable_length/foo.adb: New file.
3066 * gdb.ada/array_of_variable_length/pck.adb: New file.
3067 * gdb.ada/array_of_variable_length/pck.ads: New file.
3068
b326e587
DE
30692015-09-15 Doug Evans <dje@google.com>
3070
3071 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
3072 of function static local variable.
3073
5382cfab
PW
30742015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3075
3076 * gdb.threads/tls-so_extern.exp: New test file.
3077 * gdb.threads/tls-so_extern.c: New test file.
3078 * gdb.threads/tls-so_extern_main.c: New test file.
3079
141c5cc4
JK
30802015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3081
3082 * gdb.opt/solib-intra-step-lib.c: New file.
3083 * gdb.opt/solib-intra-step-main.c: New file.
3084 * gdb.opt/solib-intra-step.exp: New file.
3085
d15dcecd
PA
30862015-09-15 Pedro Alves <palves@redhat.com>
3087
3088 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
3089 gdb_continue_to_breakpoint instead of gdb_test_multiple.
3090
4c2f2a79
PA
30912015-09-14 Pedro Alves <palves@redhat.com>
3092
3093 * gdb.base/hook-stop-continue.c: Delete.
3094 * gdb.base/hook-stop-continue.exp: Delete.
3095 * gdb.base/hook-stop-frame.c: Delete.
3096 * gdb.base/hook-stop-frame.exp: Delete.
3097 * gdb.base/hook-stop.c: New file.
3098 * gdb.base/hook-stop.exp: New file.
3099
919e6dbe
PMR
31002015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
3101
3102 * gdb.ada/access_to_packed_array.exp: New testcase.
3103 * gdb.ada/access_to_packed_array/foo.adb: New file.
3104 * gdb.ada/access_to_packed_array/pack.adb: New file.
3105 * gdb.ada/access_to_packed_array/pack.ads: New file.
3106
157280a4
MM
31072015-09-14 Markus Metzger <markus.t.metzger@intel.com>
3108
3109 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
3110 buffer size test.
3111
2fd33e94
DB
31122015-09-11 Don Breazeal <donb@codesourcery.com>
3113
3114 * gdb.base/foll-exec.c: Add copyright header. Fix
3115 formatting issues.
3116 * gdb.base/foll-exec.exp (zap_session): Delete proc.
3117 (do_exec_tests): Use clean_restart in place of zap_session,
3118 and for test initialization. Fix formatting issues. Use
3119 fail in place of perror.
3120 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
3121 an expect statement to match an expression with output from
3122 the program under debug.
3123 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
3124 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
3125 * gdb.threads/non-ldr-exc-2.exp: Likewise.
3126 * gdb.threads/non-ldr-exc-3.exp: Likewise.
3127 * gdb.threads/non-ldr-exc-4.exp: Likewise.
3128
e70b6e8e
DE
31292015-09-09 Doug Evans <dje@google.com>
3130
3131 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
3132
7a551a51
DE
31332015-09-09 Doug Evans <dje@google.com>
3134
3135 * gdb.base/pie-execl.exp: Fix result test of build_executable.
3136
4c666f84
DE
31372015-09-09 Doug Evans <dje@google.com>
3138
3139 * gdb.base/savedregs.exp: Fix typo.
3140
243a9253
PA
31412015-09-09 Pedro Alves <palves@redhat.com>
3142
3143 * gdb.mi/mi-cli.exp: Add CLI finish tests.
3144
c0fa8fbd
SL
31452015-09-08 Sandra Loosemore <sandra@codesourcery.com>
3146
3147 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
3148 command actually switches threads. Give up on remaining
3149 tests if target fails to stop at breakpoint.
3150
cd7c1778
PMR
31512015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
3152
3153 * gdb.ada/funcall_char.exp: New testcase.
3154 * gdb.ada/funcall_char/foo.adb: New file.
3155
dc5c8746
PMR
31562015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
3157
3158 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
3159 expected outputs. Add two testcases for completing ambiguous
3160 functions.
3161 * gdb.ada/complete/aux_pck.adb: New file.
3162 * gdb.ada/complete/aux_pck.ads: New file.
3163 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
3164 Ambiguous_Func functions.
3165 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
3166 * gdb.ada/complete/pck.adb: Likewise.
3167
4e83a1e7
UW
31682015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
3169
3170 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
3171 failures to run the test program under GDB.
3172
8ce74153
LM
31732015-08-26 Luis Machado <lgustavo@codesourcery.com>
3174
3175 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
3176 to C.
3177
e9756d52
PP
31782015-08-26 Patrick Palka <patrick@parcs.ath.cx>
3179
3180 * gdb.base/run-after-attach.exp: New test file.
3181 * gdb.base/run-after-attach.c: New test file.
3182
8d37573b
DB
31832015-08-26 Don Breazeal <donb@codesourcery.com>
3184
3185 * gdb.base/foll-exec-2.c: New test program.
3186 * gdb.base/foll-exec-2.exp: New test.
3187
63e43d3a
PMR
31882015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
3189
3190 * gdb.base/nested-subp1.exp: New file.
3191 * gdb.base/nested-subp1.c: New file.
3192 * gdb.base/nested-subp2.exp: New file.
3193 * gdb.base/nested-subp2.c: New file.
3194 * gdb.base/nested-subp3.exp: New file.
3195 * gdb.base/nested-subp3.c: New file.
3196
3d40fbb5
PA
31972015-08-24 Pedro Alves <palves@redhat.com>
3198
3199 * gdb.server/connect-without-multi-process.c: New file.
3200 * gdb.server/connect-without-multi-process.exp: New file.
3201
4422ac93
LM
32022015-08-24 Luis Machado <lgustavo@codesourcery.com>
3203
3204 * gdb.opt/inline-markers.c: Make z int.
3205
91dddb86
LM
32062015-08-24 Luis Machado <lgustavo@codesourcery.com>
3207
3208 * gdb.opt/inline-markers.c: Make z volatile.
3209
a48847ee
LM
32102015-08-24 Luis Machado <lgustavo@codesourcery.com>
3211
3212 * gdb.opt/inline-bt.c: New volatile global z.
3213 * gdb.opt/inline-cmds.c: Likewise.
3214 * gdb.opt/inline-locals.c: Likewise.
3215 * gdb.opt/inline-markers.c: New extern global z.
3216 (marker): Use z.
3217 (inline_fn): Likewise.
3218
0ebbc52b
PA
32192015-08-24 Pedro Alves <palves@redhat.com>
3220
3221 * config/m32r-stub.exp: Remove file.
3222 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
3223 * gdb.base/call-rt-st.exp: Likewise.
3224 * gdb.base/call-strs.exp: Likewise.
3225 * gdb.base/default.exp: Remove references to h8300-*-hms and
3226 *-*-udi*.
3227 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
3228
77c365df
AA
32292015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3230
3231 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
3232 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
3233 and "return" use KFAIL when GDB can not read/write the vector
3234 return value.
3235
4313b8c0
GB
32362015-08-21 Gary Benson <gbenson@redhat.com>
3237
3238 * gdb.trace/pending.exp: Cope with remote transfer warnings.
3239
0e433b32
PA
32402015-08-20 Pedro Alves <palves@redhat.com>
3241
3242 * gdb.server/solib-list.exp: No longer expect an interior stop in
3243 non-stop mode.
3244
221e1a37
PA
32452015-08-20 Pedro Alves <palves@redhat.com>
3246
3247 * gdb.server/connect-stopped-target.c: New file.
3248 * gdb.server/connect-stopped-target.exp: New file.
3249
40e3ad0e
PA
32502015-08-20 Pedro Alves <palves@redhat.com>
3251
3252 * gdb.dwarf2/comp-unit-lang.exp: New file.
3253 * gdb.dwarf2/comp-unit-lang.c: New file.
3254
af39b327
PMR
32552015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
3256
3257 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
3258 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
3259
7d45c7c3 32602015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 3261
7d45c7c3
KB
3262 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
3263 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
3264
4d6cceb4
DE
32652015-08-18 Doug Evans <dje@google.com>
3266 Adrian Sendroiu <adrian.sendroiu@freescale.com>
3267
3268 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
3269 skip_python_tests. New arg prompt_regexp.
3270 (skip_python_tests): New function.
3271 * lib/mi-support.exp (mi_skip_python_tests): New function.
3272 * gdb.python/py-mi-objfile-gdb.py: New file.
3273 * gdb.python/py-mi-objfile.c: New file.
3274 * gdb.python/py-mi-objfile.exp: New file.
3275
ad89c2aa
KS
32762015-08-17 Keith Seitz <keiths@redhat.com>
3277
3278 * gdb.linespec/explicit.exp: Move strace test from here ...
3279 * gdb.trace/strace.exp: ... to here.
3280
e3ae3c43
PP
32812015-08-15 Patrick Palka <patrick@parcs.ath.cx>
3282
3283 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
3284 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
3285
604b2636
DE
32862015-08-14 Doug Evans <xdje42@gmail.com>
3287
3288 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
3289 inferior before selecting a new file.
3290
6ff0ba5f
DE
32912015-08-14 Doug Evans <xdje42@gmail.com>
3292
3293 * gdb.mi/mi-disassemble.exp: Update.
3294 * gdb.base/disasm-optim.S: New file.
3295 * gdb.base/disasm-optim.c: New file.
3296 * gdb.base/disasm-optim.h: New file.
3297 * gdb.base/disasm-optim.exp: New file.
3298
9ca98f92
KS
32992015-08-14 Keith Seitz <keiths@redhat.com>
3300
3301 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
3302 "evaluated-by".
3303
52bbc560
JB
33042015-08-13 Joel Brobecker <brobecker@adacore.com>
3305
3306 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
3307
5d8c3ed3
PMR
33082015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
3309
3310 * gdb.ada/fun_renaming.exp: New testcase.
3311 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
3312 * gdb.ada/fun_renaming/pack.adb: New file.
3313 * gdb.ada/fun_renaming/pack.ads: New file.
3314
ea8812bc
KS
33152015-08-12 Keith Seitz <keiths@redhat.com>
3316
3317 * gdb.base/dso2dso.exp: Pass basename of source file in call to
3318 gdb_get_line_number.
3319
4dafcdeb
JB
33202015-08-12 Joel Brobecker <brobecker@adacore.com>
3321
3322 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
3323 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
3324 gdb.base/dso2dso.exp: New files.
3325
5ba32597
SDJ
33262015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
3327 Pedro Alves <palves@redhat.com>
3328 Keith Seitz <keiths@redhat.com>
3329
3330 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
3331 GDBFLAGS.
3332
b6dafabf
PP
33332015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3334
3335 * gdb.base/gdbhistsize-history.exp
3336 (test_histsize_history_setting): Use save_vars.
3337 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3338 Use save_vars.
3339 (test_no_truncation_of_unlimited_history_file): Use save_vars.
3340 * gdb.base/readline.exp: Use save_vars.
3341
abe8e607
PP
33422015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3343
3344 * lib/gdb.exp (save_vars): New proc.
3345
629500fa
KS
33462015-08-11 Keith Seitz <keiths@redhat.com>
3347
3348 * gdb.base/help.exp: Update help_breakpoint_text.
3349
eb8c4e2e
KS
33502015-08-11 Keith Seitz <keiths@redhat.com>
3351
3352 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
3353 (at toplevel): Call test_explicit_breakpoints.
3354 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
3355 breakpoints.
3356 * lib/mi-support.exp (mi_make_breakpoint): Add support for
3357 breakpoint conditions, "-cond".
3358
87f0e720
KS
33592015-08-11 Keith Seitz <keiths@redhat.com>
3360
3361 * gdb.linespec/3explicit.c: New file.
3362 * gdb.linespec/cpexplicit.cc: New file.
3363 * gdb.linespec/cpexplicit.exp: New file.
3364 * gdb.linespec/explicit.c: New file.
3365 * gdb.linespec/explicit.exp: New file.
3366 * gdb.linespec/explicit2.c: New file.
3367 * gdb.linespec/ls-errs.exp: Add explicit location tests.
3368 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
3369 before using in the matching pattern.
3370 Clarify that `prefix' is a regular expression.
3371
f00aae0f
KS
33722015-08-11 Keith Seitz <keiths@redhat.com>
3373
3374 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
3375 test.
3376 Add tests for missing ",FMT" and ",".
3377
e27852be
DE
33782015-08-10 Doug Evans <dje@google.com>
3379 Keith Seitz <keiths@redhat.com>
3380
3381 PR gdb/17960
3382 * gdb.base/completion.exp: Add location completer tests.
3383
7f03bd92
PA
33842015-08-07 Pedro Alves <palves@redhat.com>
3385
3386 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
3387 tests here.
3388 (top level): Run do_test with and without displaced stepping.
3389
3fc8eb30
PA
33902015-08-07 Pedro Alves <palves@redhat.com>
3391
3392 * gdb.base/valgrind-disp-step.c: New file.
3393 * gdb.base/valgrind-disp-step.exp: New file.
3394
d4569d7b
PA
33952015-08-07 Pedro Alves <palves@redhat.com>
3396
3397 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
3398 Delete function.
3399 (main): Add alarm. Run an infinite loop instead of calling
3400 wait_threads.
3401 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
3402 comment.
3403 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
3404 Delete function.
3405 (main): Add alarm. Run an infinite loop instead of calling
3406 wait_threads.
3407 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
3408 comment.
3409
e1316e60
PA
34102015-08-07 Pedro Alves <palves@redhat.com>
3411
3412 * gdb.base/checkpoint-ns.exp: New file.
3413 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
3414 standard_testfile.
3415
da8c46d2
MM
34162015-08-07 Markus Metzger <markus.t.metzger@intel.com>
3417
3418 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
3419 * gdb.btrace/instruction_history.exp: Update.
3420 * gdb.btrace/tsx.exp: New.
3421 * gdb.btrace/tsx.c: New.
3422
de1c2c52
PA
34232015-08-06 Pedro Alves <palves@redhat.com>
3424
3425 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
3426 increase timeout.
3427 * gdb.reverse/until-precsave.exp: Bump timeouts.
3428
782e0bf4
PA
34292015-08-06 Pedro Alves <palves@redhat.com>
3430
3431 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
3432
83e97ed0
PA
34332015-08-06 Pedro Alves <palves@redhat.com>
3434
3435 PR gdb/18749
3436 * gdb.threads/process-dies-while-handling-bp.c: New file.
3437 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3438
863d01bd
PA
34392015-08-06 Pedro Alves <palves@redhat.com>
3440
3441 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3442 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3443
0a39bb32
PA
34442015-08-05 Pedro Alves <palves@redhat.com>
3445
3446 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3447 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3448
ee2d2b10
SL
34492015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3450
3451 * gdb.base/bp-permanent.exp: Report test as unsupported if
3452 the target cannot stop at the permanent breakpoint.
3453
4e1bdb00
DE
34542015-08-03 Doug Evans <dje@google.com>
3455
3456 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3457 10000.
3458
3d338901
DE
34592015-08-03 Doug Evans <dje@google.com>
3460
3461 * Makefile.in (workers/%.worker, build-perf): New rule.
3462 (GDB_PERFTEST_MODE): New variable.
3463 (check-perf): Use it.
3464 (clean): Clean up gdb.perf parallel build subdirs.
3465 * lib/build-piece.exp: New file.
3466 * lib/gdb.exp (make_gdb_parallel_path): New function
3467 (standard_output_file, standard_temp_file): Call it.
3468 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3469 of $GDB_PARALLEL.
3470 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3471
af061d3e
DE
34722015-08-03 Doug Evans <dje@google.com>
3473
8e1afc81 3474 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
3475 (LOG_FILE_NAME): New global.
3476 (TextReporter.__init__): Initialize self.txt_sum.
3477 (TextReporter.report): Add support for multiple data-points.
3478 Move report to perftest.sum, put raw data in perftest.log.
3479 (TextReporter.start): Open sum and log files.
3480 (TextReporter.end): Close sum and log files.
8e1afc81
DE
3481 * gdb.perf/lib/perftest/testresult.py
3482 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 3483
2c8c5d37
PA
34842015-07-31 Pedro Alves <palves@redhat.com>
3485
3486 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3487 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3488 kill_wait_spawned_process instead of explicit "kill -9".
3489 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3490 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3491 kill_wait_spawned_process.
3492 * gdb.base/attach-twice.exp: Likewise.
3493 * gdb.base/attach.exp: Likewise.
3494 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3495 gdb_test_multiple.
3496 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3497 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3498 kill_wait_spawned_process.
3499 * gdb.base/valgrind-infcall.exp: Likewise.
3500 * gdb.multi/multi-attach.exp: Likewise.
3501 * gdb.python/py-prompt.exp: Likewise.
3502 * gdb.python/py-sync-interp.exp: Likewise.
3503 * gdb.server/ext-attach.exp: Likewise.
3504 * gdb.threads/attach-into-signal.exp (corefunc): Use
3505 spawn_wait_for_attach, spawn_id_get_pid and
3506 kill_wait_spawned_process.
3507 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3508 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3509 spawn_id_get_pid and kill_wait_spawned_process.
3510 * gdb.threads/attach-stopped.exp (corefunc): Use
3511 spawn_wait_for_attach, spawn_id_get_pid and
3512 kill_wait_spawned_process.
3513 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3514 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3515 kill_wait_spawned_process instead of explicit "kill -9".
3516 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3517 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3518 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3519 processes. Don't map cygwin/windows pids here. Now returns a
3520 spawn id list.
3521
032a0fca
SL
35222015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3523
3524 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3525 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3526 correct patch.
3527
61a934ca
SL
35282015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3529
3530 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3531
4bc4d428
SL
35322015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3533
3534 Reapply:
3535 2014-05-21 Mark Wielaard <mjw@redhat.com>
3536
3537 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3538
998d452a
PA
35392015-07-30 Pedro Alves <palves@redhat.com>
3540
3541 * linux-low.c (handle_extended_wait): Set the child's last
3542 reported status to TARGET_WAITKIND_STOPPED.
3543
69dde7dc
PA
35442015-07-30 Pedro Alves <palves@redhat.com>
3545
3546 PR threads/18600
3547 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3548 only shows inferior 1.
3549
4dd63d48
PA
35502015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3551 Pedro Alves <palves@redhat.com>
3552
3553 PR threads/18600
3554 * gdb.threads/fork-plus-threads.c: New file.
3555 * gdb.threads/fork-plus-threads.exp: New file.
3556
d618e4c5
PP
35572015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3558
3559 * gdb.base/batch-preserve-term-settings.exp
3560 (test_terminal_settings_preserved_after_cli_exit): Use
3561 send_quit_command.
3562
1eef6428
PA
35632015-07-29 Pedro Alves <palves@redhat.com>
3564 Don Breazeal <donb@codesourcery.com>
3565
3566 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3567 output from both inferior_spawn_id and gdb_spawn_id.
3568
7da5b897
SDJ
35692015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3570
3571 * gdb.threads/attach-into-signal.exp (corefunc): Use
3572 with_test_prefix on nested loops, uniquefying the test messages.
3573
dac804df
SDJ
35742015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3575
3576 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3577 commit.
3578
06265e53
PP
35792015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3580
3581 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3582 New proc.
3583 (test_terminal_settings_preserved_after_sigterm): New test.
3584
18206ca3
PP
35852015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3586
3587 * gdb.base/batch-preserve-term-settings.exp
3588 (test_terminal_settings_preserved_after_cli_exit): New test.
3589
90074d11
PP
35902015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3591
3592 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3593 manipulation of saved_gdbflags.
3594 (test_terminal_settings_preserved): Remove global declaration of
3595 the unused variable pagination_prompt. Remove manipulation of
3596 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3597 GDBFLAGS.
3598
eb1a7902
PA
35992015-07-29 Pedro Alves <palves@redhat.com>
3600
3601 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3602
8b75dd3b
PA
36032015-07-29 Pedro Alves <palves@redhat.com>
3604
3605 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3606 at the top.
3607
dedad4e3
PA
36082015-07-29 Pedro Alves <palves@redhat.com>
3609
3610 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3611 (main): Call gdb_unbuffer_output.
3612 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3613 (main): Call gdb_unbuffer_output.
3614 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3615 (main): Call gdb_unbuffer_output.
3616 * gdb.base/call-strs.exp: Adjust to step over the
3617 gdb_unbuffer_output call.
3618 * gdb.base/catch-gdb-caused-signals.c: Include
3619 "../lib/unbuffer_output.c".
3620 (main): Call gdb_unbuffer_output.
3621 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3622 (main): Call gdb_unbuffer_output.
3623 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3624 (main): Call gdb_unbuffer_output.
3625 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3626 (main): Call gdb_unbuffer_output.
3627 * gdb.base/shlib-call.exp: Adjust to step over the
3628 gdb_unbuffer_output call.
3629 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3630 (main): Call gdb_unbuffer_output.
3631 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3632 (main): Call gdb_unbuffer_output.
3633 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3634 (main): Rename to ...
3635 (test): ... this.
3636 (main): Reimplement.
3637 * gdb.base/varargs.exp: Run to test instead of to main.
3638 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3639 (main): Call gdb_unbuffer_output.
3640
58789a91
PA
36412015-07-29 Pedro Alves <palves@redhat.com>
3642
3643 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3644 factore out from mi_continue_dprintf. For call-style dprintfs,
3645 expect dprintf output out of $inferior_spawn_id.
3646 (mi_continue_dprintf): Use mi_expect_dprintf.
3647 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3648 (main): Call gdb_unbuffer_output.
3649
e8376742
PA
36502015-07-29 Pedro Alves <palves@redhat.com>
3651
3652 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3653 (default_mi_gdb_start): Set inferior_spawn_id instead of
3654 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3655 gdb_spawn_id.
3656 (mi_gdb_test): Always expect inferior output from both
3657 $inferior_spawn_id and $gdb_spawn_id.
3658
08280010
PA
36592015-07-29 Pedro Alves <palves@redhat.com>
3660
3661 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3662 send_inferior and $inferior_spawn_id.
3663
4d30e432
PA
36642015-07-29 Pedro Alves <palves@redhat.com>
3665
3666 * gdb.gdb/complaints.exp (test_initial_complaints)
3667 (test_serial_complaints, test_short_complaints): Use
3668 gdb_test_stdio.
3669 (test_empty_complaint): Handle $inferior_spawn_id !=
3670 $gdb_spawn_id.
3671
0d30a335
PA
36722015-07-29 Pedro Alves <palves@redhat.com>
3673
3674 * gdb.base/varargs.exp: Use gdb_test_stdio.
3675
39413b29
PA
36762015-07-29 Pedro Alves <palves@redhat.com>
3677
3678 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3679
7cb000a9
PA
36802015-07-29 Pedro Alves <palves@redhat.com>
3681
3682 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3683
d7b8ac82
PA
36842015-07-29 Pedro Alves <palves@redhat.com>
3685
3686 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3687 parameter into two new parameters, "inf_result" and "gdb_result".
3688 Expect inferior output and gdb output from $inferior_spawn_id and
3689 $gdb_spawn_id, respectively. Adjust all callers.
3690
789c3a0c
PA
36912015-07-29 Pedro Alves <palves@redhat.com>
3692
3693 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3694 of gdb_test_sequence.
3695
77e760c3
PA
36962015-07-29 Pedro Alves <palves@redhat.com>
3697
3698 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3699 (saw_spurious_output): Expect inferior output from
3700 $inferior_spawn_id. Use gdb_test_stdio.
3701
8396d2cd
PA
37022015-07-29 Pedro Alves <palves@redhat.com>
3703
3704 * gdb.base/dprintf.exp: Use standard_testfile. Change
3705 prepare_for_testing call.
3706 (srcfile): Don't set.
3707 (restart): New procedure.
3708 (test_dprintf): New procecure, use to continue over dprintfs.
3709 (test_call, test_agent): New procedures, tests moved here.
3710 Restart gdb and recreate dprintfs. Adjust expected output.
3711
2051d61f
PA
37122015-07-29 Pedro Alves <palves@redhat.com>
3713
3714 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3715
452397af
PA
37162015-07-29 Pedro Alves <palves@redhat.com>
3717
3718 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3719
8aed9555
PA
37202015-07-29 Pedro Alves <palves@redhat.com>
3721
3722 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3723 gdb_test_stdio.
3724
188a61b4
PA
37252015-07-29 Pedro Alves <palves@redhat.com>
3726
3727 * lib/gdb.exp (gdb_test_stdio): New procedure.
3728
12264a45
PA
37292015-07-29 Pedro Alves <palves@redhat.com>
3730
3731 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3732
23ffc893
PA
37332015-07-29 Pedro Alves <palves@redhat.com>
3734
3735 * gdb.base/call-signal-resume.exp: Remove check for
3736 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3737 * gdb.base/unwindonsignal.exp: Likewise.
3738 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3739 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3740
65566918
PA
37412015-07-29 Pedro Alves <palves@redhat.com>
3742
3743 * gdb.base/siginfo-addr.c (pass): New function.
3744 (handler): Call it iff si_addr is correct.
3745 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3746 Set a breakpoint at "pass" and continue to it.
3747
d60a9221
SDJ
37482015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3749
3750 * gdb.python/py-objfile.exp: Make some tests have unique names.
3751 * gdb.python/py-pp-registration.exp: Likewise.
3752
bde40b8f
PA
37532015-07-28 Pedro Alves <palves@redhat.com>
3754
3755 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3756
13e1dec8
SM
37572015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3758
3759 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3760
da33c9a7
SM
37612015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3762
3763 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3764
077836f7
PP
37652015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3766
3767 * gdb.base/gdb-sigterm-2.exp: New test.
3768
b8cc7b2e
DE
37692015-07-25 Doug Evans <xdje42@gmail.com>
3770
3771 Revert:
3772 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3773 (workers/%.worker, build-perf): New rule.
3774 (GDB_PERFTEST_MODE): New variable.
3775 (check-perf): Use it.
3776 (clean): Clean up gdb.perf parallel build subdirs.
3777 * lib/build-piece.exp: New file.
3778 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3779 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3780 name.
3781 (standard_temp_file): Ditto.
3782 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3783 of $GDB_PARALLEL.
3784
c8bd4544
DE
37852015-07-24 Doug Evans <dje@google.com>
3786
3787 * gdb.perf/lib/perftest/utils.py: New file.
3788 * gdb.perf/gm-hello.cc: New file.
3789 * gdb.perf/gm-pervasive-typedef.cc: New file.
3790 * gdb.perf/gm-pervasive-typedef.h: New file.
3791 * gdb.perf/gm-std.cc: New file.
3792 * gdb.perf/gm-std.h: New file.
3793 * gdb.perf/gm-use-cerr.cc: New file.
3794 * gdb.perf/gm-utils.h: New file.
3795 * gdb.perf/gmonster-null-lookup.py: New file.
3796 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3797 * gdb.perf/gmonster-print-cerr.py: New file.
3798 * gdb.perf/gmonster-ptype-string.py: New file.
3799 * gdb.perf/gmonster-runto-main.py: New file.
3800 * gdb.perf/gmonster-select-file.py: New file.
3801 * gdb.perf/gmonster1-null-lookup.exp: New file.
3802 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3803 * gdb.perf/gmonster1-print-cerr.exp: New file.
3804 * gdb.perf/gmonster1-ptype-string.exp: New file.
3805 * gdb.perf/gmonster1-runto-main.exp: New file.
3806 * gdb.perf/gmonster1-select-file.exp: New file.
3807 * gdb.perf/gmonster1.cc: New file.
3808 * gdb.perf/gmonster1.exp: New file.
3809 * gdb.perf/gmonster2-null-lookup.exp: New file.
3810 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3811 * gdb.perf/gmonster2-print-cerr.exp: New file.
3812 * gdb.perf/gmonster2-ptype-string.exp: New file.
3813 * gdb.perf/gmonster2-runto-main.exp: New file.
3814 * gdb.perf/gmonster2-select-file.exp: New file.
3815 * gdb.perf/gmonster2.cc: New file.
3816 * gdb.perf/gmonster2.exp: New file.
3817
6eab34f3
DE
38182015-07-24 Doug Evans <dje@google.com>
3819
3820 * gdb.perf/README: New file.
3821 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3822 * lib/gen-perf-test.exp: New file.
3823
63738bfd
DE
38242015-07-24 Doug Evans <dje@google.com>
3825
3826 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3827 (PerfTest::startup): New function.
3828 (PerfTest::run): Return result of calling body.
3829 (PerfTest::assemble): Rewrite.
3830 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3831 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3832 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3833 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3834 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3835
7b606f95
DE
38362015-07-24 Doug Evans <dje@google.com>
3837
3838 * lib/gdb.exp (clean_restart): Make executable optional.
3839
a97b16b8
DE
38402015-07-24 Doug Evans <dje@google.com>
3841
3842 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3843 compiler_info references.
3844 * gdb.cp/temargs.exp: Ditto.
3845 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3846 (get_compiler_info): Early exit if already computed. Set compiler_info
3847 to "unknown" if there was a problem.
3848 (test_compiler_info): Add function comment. Call get_compiler_info.
3849
35baa57f
DE
38502015-07-24 Doug Evans <dje@google.com>
3851
3852 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3853 (workers/%.worker, build-perf): New rule.
3854 (GDB_PERFTEST_MODE): New variable.
3855 (check-perf): Use it.
3856 (clean): Clean up gdb.perf parallel build subdirs.
3857 * lib/build-piece.exp: New file.
3858 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3859 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3860 name.
3861 (standard_temp_file): Ditto.
3862 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3863 of $GDB_PARALLEL.
3864
6ebea266
DE
38652015-07-24 Doug Evans <dje@google.com>
3866
3867 * lib/future.exp (gdb_default_target_compile): New option
3868 "early_flags".
3869 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3870 --as-needed.
3871
1e76a7e9
SDJ
38722015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3873
3874 * gdb.base/catch-syscall.exp: Call gdb_exit before
3875 gdb_skip_xml_test.
3876
5068630a
PA
38772015-07-24 Pedro Alves <palves@redhat.com>
3878
3879 * gdb.python/py-events.exp: Accept output between the stop event
3880 and the prompt.
3881 * gdb.python/py-evsignal.exp: Likewise.
3882 * gdb.python/py-evthreads.exp: Likewise.
3883
77598427
PA
38842015-07-24 Pedro Alves <palves@redhat.com>
3885
3886 PR gdb/18717
3887 * gdb.threads/non-ldr-exit.c: New file.
3888 * gdb.threads/non-ldr-exit.exp: New file.
3889
11e6c98f
YQ
38902015-07-24 Yao Qi <yao.qi@linaro.org>
3891
3892 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3893 restarting process.
3894
51aee833
YQ
38952015-07-24 Yao Qi <yao.qi@linaro.org>
3896
3897 * gdb.server/ext-restart.exp: New file.
3898
8cfe207c
YQ
38992015-07-24 Yao Qi <yao.qi@linaro.org>
3900
3901 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3902 argument options.
3903 * gdb.server/ext-wrapper.exp: New file.
3904
cc12ce38
DE
39052015-07-23 Doug Evans <dje@google.com>
3906
3907 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3908 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3909
d0d84780
PMR
39102015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3911
3912 * gdb.ada/var_arr_typedef.exp: New testcase.
3913 * gdb.ada/var_arr_typedef/pack.adb: New file.
3914 * gdb.ada/var_arr_typedef/pack.ads: New file.
3915 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3916
8b558f79
JB
39172015-07-20 Joel Brobecker <brobecker@adacore.com>
3918
3919 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3920
775a3298
JK
39212015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3922
3923 * gdb.arch/i386-biarch-core.exp: Replace istarget
3924 by "complete set gnutarget". Remove expectation for the "core-file"
3925 command.
3926
db1ff28b
JK
39272015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3928
3929 Revert the previous commit:
3930 Tests for validate symbol file using build-id.
3931
0a94970d
JK
39322015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3933
3934 Tests for validate symbol file using build-id.
3935 * gdb.base/solib-mismatch-lib.c: New file.
3936 * gdb.base/solib-mismatch-libmod.c: New file.
3937 * gdb.base/solib-mismatch.c: New file.
3938 * gdb.base/solib-mismatch.exp: New file.
3939
03346981
SL
39402015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3941
3942 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3943 nios2-*-linux*.
3944 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3945 * gdb.base/siginfo.exp: Likewise.
3946 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3947
42422cc7
PL
39482015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3949
3950 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3951 Move it to ...
3952 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3953 ... here.
3954 * gdb.trace/range-stepping.exp: Check that the target supports
3955 range stepping.
3956
cfa68bae
JK
39572015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3958
3959 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3960
8ffdba26
PA
39612015-07-14 Pedro Alves <palves@redhat.com>
3962
3963 * gdb.base/killed-outside.exp: New file.
3964 * gdb.base/killed-outside.c: New file.
3965
218a5a11
JK
39662015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3967
3968 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3969 (n at main): New.
3970 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3971
e03ed3c6
AA
39722015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3973
3974 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3975 infcall tests instead of setting up for KFAIL.
3976
485668e5
MM
39772015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3978
3979 * gdb.btrace/record_goto-step.exp: New.
3980
08464196
JK
39812015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3982
3983 PR compile/18484
3984 * gdb.compile/compile.c (struct struct_type): Add volatile to
3985 selffield's type.
3986 * gdb.compile/compile.exp
3987 (compile code struct_object.selffield = &struct_object): Skip further
3988 struct_object tests if this one xfails.
3989
bcf5c1d9
RC
39902015-07-08 Robert O'Callahan <robert@ocallahan.org>
3991
3992 PR exp/18617
3993 * gdb.trace/ax.exp: Add test.
3994
4931af25
YQ
39952015-07-07 Yao Qi <yao.qi@linaro.org>
3996
3997 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3998 instead of istarget "aarch64*-*-*".
3999 * gdb.arch/aarch64-fp.exp: Likewise.
4000 * gdb.base/float.exp: Likewise.
4001 * gdb.reverse/aarch64.exp: Likewise.
4002 * lib/gdb.exp (is_aarch64_target): New proc.
4003
9fcf688e
YQ
40042015-07-07 Yao Qi <yao.qi@linaro.org>
4005
4006 * lib/gdb.exp (is_aarch32_target): New proc.
4007 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
4008 instead of "istarget "arm*-*-*"".
4009 * gdb.arch/arm-disp-step.exp: Likewise.
4010 * gdb.arch/thumb-bx-pc.exp: Likewise.
4011 * gdb.arch/thumb-prologue.exp: Likewise.
4012 * gdb.arch/thumb-singlestep.exp: Likewise.
4013 * gdb.base/disp-step-syscall.exp: Likewise.
4014 * gdb.base/float.exp: Likewise.
4015
fbd8d50d
YQ
40162015-07-07 Yao Qi <yao.qi@linaro.org>
4017
4018 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
4019 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
4020
71be1fdc
YQ
40212015-07-07 Yao Qi <yao.qi@linaro.org>
4022
4023 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
4024 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
4025 if it exists.
4026 * gdb.multi/multi-arch.exp: Likewise.
4027
3e221d36
SM
40282015-07-07 Simon Marchi <simon.marchi@ericsson.com>
4029
4030 * gdb.python/py-lazy-string.exp: Add missing parentheses to
4031 print.
4032
d441430b
YQ
40332015-07-07 Yao Qi <yao.qi@linaro.org>
4034
4035 * gdb.arch/thumb-singlestep.exp: Do one more single step.
4036
06f810bd
MG
40372015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
4038
4039 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
4040 '[' and ']' characters.
4041
5e61e7c0
IB
40422015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
4043
4044 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4045
28bf096c
PA
40462015-06-29 Pedro Alves <palves@redhat.com>
4047
4048 PR threads/18127
4049 * gdb.threads/hand-call-new-thread.c: New file.
4050 * gdb.threads/hand-call-new-thread.c: New file.
4051
ee93cd5e
KS
40522015-06-26 Keith Seitz <keiths@redhat.com>
4053 Doug Evans <dje@google.com>
4054
4055 PR 16253
4056 * gdb.cp/var-tag-2.cc: New file.
4057 * gdb.cp/var-tag-3.cc: New file.
4058 * gdb.cp/var-tag-4.cc: New file.
4059 * gdb.cp/var-tag.cc: New file.
4060 * gdb.cp/var-tag.exp: New file.
4061
fc637f04
PP
40622015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4063
4064 * gdb.base/history-duplicates.exp: New test.
4065
2e52ae68
PP
40662015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4067
4068 * gdb.base/completion.exp: Test the completion of the "focus"
4069 command.
4070
6e22494e
JK
40712015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4072
4073 * gdb.arch/amd64-prologue-skip.S: New file.
4074 * gdb.arch/amd64-prologue-skip.exp: New file.
4075
bf7b9cd9
SM
40762015-06-25 Simon Marchi <simon.marchi@ericsson.com>
4077
4078 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
4079 is_address_zero_readable check.
4080
201e8dfd
PB
40812015-06-24 Peter Bergner <bergner@vnet.ibm.com>
4082
4083 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
4084 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
4085
5cd867b4
YQ
40862015-06-24 Yao Qi <yao.qi@linaro.org>
4087
4088 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
4089 linux targets.
4090
4d7be007
YQ
40912015-06-24 Yao Qi <yao.qi@linaro.org>
4092
4093 * lib/gdb.exp (supports_get_siginfo_type): New proc.
4094 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
4095 * gdb.base/siginfo-thread.exp: Likewise.
4096
07fcd301
YQ
40972015-06-22 Yao Qi <yao.qi@linaro.org>
4098
4099 * boards/remote-gdbserver-on-localhost.exp: Add comments.
4100
52042a00
YQ
41012015-06-22 Yao Qi <yao.qi@linaro.org>
4102
4103 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
4104 aarch64*-*-*.
4105 (skip_hw_watchpoint_tests): Likewise.
4106
74bd41ce
PP
41072015-06-18 Patrick Palka <patrick@parcs.ath.cx>
4108
4109 * gdb.base/gdbinit-history.exp: Test the interaction between
4110 setting GDBHISTSIZE and setting the history size via .gdbinit.
4111
bc460514
PP
41122015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4113
4114 PR gdb/16999
4115 * gdb.base/gdbhistsize-history.exp: New test.
4116
b58c513b
PP
41172015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4118
4119 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
4120 with GDBHISTSIZE.
4121 * gdb.base/readline.exp: Likewise.
4122
92046791
YQ
41232015-06-17 Yao Qi <yao.qi@linaro.org>
4124
4125 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
4126 line.
4127
2093d2d3
PP
41282015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4129
4130 * gdb.base/gdbinit-history.exp: Add test case to check that
4131 an unlimited history file does not get truncated on exit.
4132
e6c693af
AA
41332015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4134
4135 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
4136 (VECTOR): New macro. Use it...
4137 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
4138 ...for these typedefs.
4139 (int8, char1, int1, double1): New typedefs.
4140 (struct just_int2, struct two_int2): New structures.
4141 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
4142 (add_structvecs, add_singlevecs): New functions.
4143 (main): Call add_some_intvecs twice.
4144 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
4145 the compile and exit upon failure. Try compiling for the "native"
4146 architecture. Test inferior function calls with vector arguments
4147 and vector return value handling with "finish" and "return".
4148
c74f7d1c
JT
41492015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
4150
4151 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
4152 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
4153 PE file.
4154 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
4155
98aa42ee
AT
41562015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
4157
4158 PR breakpoints/16465
4159 * gdb.mi/mi-dprintf-pending.c: New file.
4160 * gdb.mi/mi-dprintf-pending.exp: New test.
4161 * gdb.mi/mi-dprintf-pendshr.c: New file.
4162
7d73c23c 41632015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 4164 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
4165
4166 * gdb.arch/i386-mpx-map.c: New file.
4167 * gdb.arch/i386-mpx-map.exp: New File.
4168
41692015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4170
4171 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
4172 * gdb.arch/i386-mpx.exp: Indentation fixed.
4173
41742015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4175
4176 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
4177 function and improved indentation.
4178 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
4179 gdb_test_multiple. Added additional tests to skip the test.
4180
41812015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4182
4183 * gdb.arch/i386-avx512.c: Change path in include file.
4184 * gdb.arch/i386-avx512.exp: Change include dir path
4185 compilation flag.
4186 * gdb.arch/i386-mpx.c: Change path in include file.
4187 * gdb.arch/i386-mpx.exp: Change include dir path compilation
4188 flag.
4189
d5eba19a
JK
41902015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4191
4192 * gdb.compile/compile-print.exp (compile print *vararray@3)
4193 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
4194
7f361056
JK
41952015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4196
4197 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
4198 (do not keep jit in memory): ... this.
4199 (expect 5): Change it to ...
4200 (expect no 5): ... this.
4201
3b462ec2
SM
42022015-06-02 Simon Marchi <simon.marchi@ericsson.com>
4203
4204 PR gdb/15564
4205 * gdb.mi/mi-detach.exp: New file.
4206
e0619de6
JK
42072015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4208
4209 PR symtab/18392
4210 * gdb.arch/amd64-tailcall-self.S: New file.
4211 * gdb.arch/amd64-tailcall-self.c: New file.
4212 * gdb.arch/amd64-tailcall-self.exp: New file.
4213
e970cb34
DB
42142015-05-28 Don Breazeal <donb@codesourcery.com>
4215
4216 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
4217 tests for remote targets by checking is_target_gdbserver.
4218
b2e2f908
DE
42192015-05-27 Doug Evans <dje@google.com>
4220
4221 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
4222 * gdb.dwarf2/opaque-type-lookup.c: New file.
4223 * gdb.dwarf2/opaque-type-lookup.exp: New file.
4224
82c7be31
DE
42252015-05-26 Doug Evans <dje@google.com>
4226
4227 * gdb.cp/iostream.cc: New file.
4228 * gdb.cp/iostream.exp: New file.
4229
b4f54984
DE
42302015-05-26 Doug Evans <dje@google.com>
4231
4232 * gdb.dwarf2/dw2-op-call.exp: Update.
4233 * gdb.dwarf2/dw4-sig-types.exp: Update.
4234 * gdb.dwarf2/implptr.exp: Update.
4235 * gdb.mi/mi-cmd-param-changed.exp: Update.
4236
4ea6efe9
DE
42372015-05-26 Doug Evans <dje@google.com>
4238
4239 * gdb.python/py-lazy-string.c: New file.
4240 * gdb.python/py-lazy-string.exp: New file.
4241 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
4242 (main): Update. Add estring3.
4243 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
4244 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
4245
f6bb7db3
YQ
42462015-05-26 Omair Javaid <omair.javaid@linaro.org>
4247 Yao Qi <yao.qi@linaro.org>
4248
4249 * gdb.reverse/aarch64.c: New.
4250 * gdb.reverse/aarch64.exp: New.
4251
a81bfbd0
OJ
42522015-05-26 Omair Javaid <omair.javaid@linaro.org>
4253
25d49b86
PA
4254 * lib/gdb.exp (supports_process_record): Return true for
4255 aarch64*-linux*.
a81bfbd0
OJ
4256 (supports_reverse): Likewise.
4257
158bf1b4
PP
42582015-05-22 Patrick Palka <patrick@parcs.ath.cx>
4259
4260 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4261 Use with_test_prefix.
4262
a0145030
AB
42632015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
4264
4265 * gdb.base/completion.exp: Add test for completion of layout
4266 names.
4267
ebe3b578
AB
42682015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
4269
4270 * lib/gdb.exp (skip_tui_tests): New proc.
4271 * gdb.base/tui-layout.exp: Check skip_tui_tests.
4272
84204ed7
PA
42732015-05-19 Pedro Alves <palves@redhat.com>
4274
4275 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4276 Save the whole env array instead of just HOME. Unset HISTSIZE in
4277 the environment while testing. Restore whole environment
4278 afterwards.
4279
37442ce1
DE
42802015-05-16 Doug Evans <xdje42@gmail.com>
4281
4282 * gdb.guile/scm-ports.c: New file.
4283 * gdb.guile/scm-ports.exp: Add memory port tests.
4284
36de76f9
JK
42852015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4286
4287 * gdb.compile/compile-print.c: New file.
4288 * gdb.compile/compile-print.exp: New file.
4289
3a9558c4
JK
42902015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4291
4292 * gdb.compile/compile-ops.exp: Cast param to void.
4293 * gdb.compile/compile.exp: Complete type for _gdb_expr.
4294 (compile code struct_object.selffield = &struct_object): Add xfail.
4295
aa715135
JG
42962015-05-15 Joel Brobecker <brobecker@adacore.com>
4297
4298 * gdb.ada/arr_enum_with_gap: New testcase.
4299
931e5bc3
JG
43002015-05-15 Joel Brobecker <brobecker@adacore.com>
4301
4302 * gdb.ada/byte_packed_arr: New testcase.
4303
9cd4d857
JB
43042015-05-15 Joel Brobecker <brobecker@adacore.com>
4305
4306 * gdb.ada/pckd_neg: New testcase.
4307
ebfd00d2
PP
43082015-05-13 Patrick Palka <patrick@parcs.ath.cx>
4309
4310 PR gdb/17820
4311 * gdb.base/gdbinit-history.exp: New test.
4312 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
4313 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
4314
4c082a81
SC
43152015-05-09 Siva Chandra Reddy <sivachandra@google.com>
4316
4317 * gdb.python/py-xmethods.cc: Enhance test case.
4318 * gdb.python/py-xmethods.exp: New tests.
4319 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
4320 function.
4321 (B_indexoper): Likewise.
4322 (global_dm_list) : Add new xmethod worker functions.
4323
f7797074
SDJ
43242015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
4325
4326 * gdb.base/coredump-filter.exp: Correctly unset
4327 "coredump_var_addr" array.
4328
a4674e4e
PA
43292015-05-08 Pedro Alves <palves@redhat.com>
4330
4331 * gdb.server/non-existing-program.exp: Unset spawn_id.
4332
df2eb078
SC
43332015-05-08 Siva Chandra Reddy <sivachandra@google.com>
4334
4335 PR python/18291
4336 * gdb.python/py-xmethods.exp: Add tests.
4337
422349a3
YQ
43382015-05-08 Yao Qi <yao.qi@linaro.org>
4339
4340 PR gdb/18208
4341 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
4342 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
4343 function set_coredump_filter, and remove remote_exec call.
4344 Remove argument ipid. Callers update.
4345 (top level): Don't get inferior's PID.
4346
63fc80ce
AA
43472015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
4348
4349 * gdb.base/watch_thread_num.exp: Skip test on targets without
4350 access watchpoints.
4351
80ad801e
PA
43522015-05-06 Pedro Alves <palves@redhat.com>
4353
4354 PR server/18081
4355 * gdb.server/non-existing-program.exp: New file.
4356
0fa7fe50
JB
43572015-05-05 Joel Brobecker <brobecker@adacore.com>
4358
4359 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
4360
3ea89b92
PMR
43612015-05-05 Joel Brobecker <brobecker@adacore.com>
4362
4363 * gdb.ada/out_of_line_in_inlined: New testcase.
4364
87b8eff0
JB
43652015-05-05 Joel Brobecker <brobecker@adacore.com>
4366
4367 * gdb.ada/var_rec_arr: New testcase.
4368
5fccc635
YQ
43692015-04-30 Yao Qi <yao.qi@linaro.org>
4370
4371 * gdb.base/break-idempotent.exp: If
4372 skip_hw_watchpoint_multi_tests returns true, skip the tests
4373 on "rwatch" and "awatch".
4374
42d38f42
YQ
43752015-04-30 Yao Qi <yao.qi@linaro.org>
4376
4377 * gdb.base/relativedebug.exp: Invoke gdb command
4378 "info sharedlibrary", and if libc.so doesn't have debug info,
4379 skip the test.
4380
2ce1cdbf
DE
43812015-04-29 Doug Evans <dje@google.com>
4382
4383 * gdb.python/py-xmethods.exp: Add ptype tests.
4384 * gdb.python/py-xmethods.py (E_method_char_worker): Add
4385 get_result_type method.
4386
f24a38c5
LM
43872015-04-29 Luis Machado <lgustavo@codesourcery.com>
4388
4389 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
4390 the target does not support hardware watchpoints.
4391
ecbf2b3c
LM
43922015-04-29 Luis Machado <lgustavo@codesourcery.com>
4393
4394 * gdb.base/break-always.exp: Abort testing if writing to memory
4395 causes an error.
4396
34f5f757
DE
43972015-04-28 Doug Evans <dje@google.com>
4398
4399 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
4400 * gdb.python/py-pp-registration.exp: ... here. New file.
4401 * gdb.python/py-pp-registration.c: New file.
4402 * gdb.python/py-pp-registration.py: New file.
4403
69b4374a
DE
44042015-04-28 Doug Evans <dje@google.com>
4405
4406 * gdb.python/py-bad-printers.c: New file.
4407 * gdb.python/py-bad-printers.py: New file.
4408 * gdb.python/py-bad-printers.exp: New file.
4409
59fb7612
SS
44102015-04-28 Sasha Smundak <asmundak@google.com>
4411
4412 * gdb.python/py-type.exp: New test.
4413
2631b16a
AW
44142015-04-28 Andy Wingo <wingo@igalia.com>
4415
4416 * gdb.python/py-parameter.exp:
4417 * gdb.guile/scm-parameter.exp: Escape the path that we are
4418 matching against, as it might contain characters that are special
4419 to regular expressions.
4420
460efde1
JB
44212015-04-27 Joel Brobecker <brobecker@adacore.com>
4422
4423 * gdb.ada/rec_comp: New testcase.
4424
2d369d8e
SDJ
44252015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
4426
4427 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
4428 before using it.
4429
cf75d6c3
AB
44302015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
4431
4432 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4433 new tests for verilog output.
4434
8dbe7ca5
YQ
44352015-04-24 Yao Qi <yao.qi@linaro.org>
4436
4437 * boards/remote-gdbserver-on-localhost.exp: New file.
4438
4ef9fb2f
PA
44392015-04-23 Pedro Alves <palves@redhat.com>
4440
4441 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4442 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4443 "end of file", remove $inferior_spawn_id from the indirect list.
4444
0a803169
PA
44452015-04-23 Pedro Alves <palves@redhat.com>
4446
4447 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4448
749ef8f8
PA
44492015-04-23 Pedro Alves <palves@redhat.com>
4450
4451 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4452 on $any_spawn_id instead of only on $gdb_spawn_id.
4453
8aae4344
PM
44542015-04-21 Pierre Muller <muller@sourceware.org>
4455
4456 PR pascal/17815
4457 * lib/pascal.exp (gpc_compile): Add new option "class".
4458 (fpc_compile): Likewise.
4459 * gdb.pascal/case-insensitive-symbols.pas: New file.
4460 * gdb.pascal/case-insensitive-symbols.exp: New file.
4461
1586c8fb
GB
44622015-04-20 Gary Benson <gbenson@redhat.com>
4463
4464 * gdb.base/attach.exp: Fix three extended remote failures.
4465
1b6e6f5c
GB
44662015-04-17 Gary Benson <gbenson@redhat.com>
4467
4468 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4469 the main executable over the remote protocol.
4470
e797481d
PA
44712015-04-16 Pedro Alves <palves@redhat.com>
4472
4473 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4474 a new gdbserver if gdbserver_reconnect_p is set.
4475
1ca99c42
PA
44762015-04-16 Pedro Alves <palves@redhat.com>
4477
4478 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4479 is set, don't exit gdbserver.
4480
af9fd6f8
AA
44812015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4482
4483 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4484 appropriate .insn, such that an older assembler can be used.
4485 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4486 the z/Architecture instruction set on 31-bit targets as well.
4487
04ff1e61
AA
44882015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4489
4490 * gdb.go/handcall.exp: Remove all logic related to the first
4491 breakpoint and rely on go_runto_main instead.
4492 * gdb.go/strings.exp: Likewise.
4493 * gdb.go/unsafe.exp: Likewise.
4494 * gdb.go/hello.exp: Likewise. Also rename the remaining
4495 breakpoint marker to "breakpoint 1".
4496 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4497 * gdb.go/strings.go: Likewise.
4498 * gdb.go/unsafe.go: Likewise.
4499 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4500 "set breakpoint 2 here" and rename the remaining breakpoint marker
4501 to "breakpoint 1".
4502
40d2f8d6
SM
45032015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4504
4505 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4506 if itertools.imap is not present.
4507 * gdb.python/py-objfile.exp: Add parentheses.
4508 * gdb.python/py-type.exp: Same.
4509 * gdb.python/py-unwind-maint.py: Same.
4510
8cbc97c6
YQ
45112015-04-15 Yao Qi <yao.qi@linaro.org>
4512
4513 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4514 of ":$ptr_size" and set its form explicitly.
4515
45fd756c
YQ
45162015-04-15 Pedro Alves <palves@redhat.com>
4517 Yao Qi <yao.qi@linaro.org>
4518
4519 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4520 timeout by factor of 4.
4521 (test_regular_watch): Likewise.
4522 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4523 * gdb.reverse/sigall-reverse.exp: Likewise.
4524 * gdb.reverse/until-precsave.exp: Likewise.
4525 * lib/gdb.exp (with_timeout_factor): New proc.
4526 (gdb_expect): Move some code to ...
4527 (get_largest_timeout): ... here. New procedure.
4528
9e811bc3
LM
45292015-04-14 Luis Machado <lgustavo@codesourcery.com>
4530
4531 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4532
0ff6fcb2
LM
45332015-04-13 Luis Machado <lgustavo@codesourcery.com>
4534
4535 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4536 to write to the .text section.
4537
7578d5f7
LM
45382015-04-13 Luis Machado <lgustavo@codesourcery.com>
4539
4540 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4541 Handle the case of targets that do not provide PID information.
4542
2efe15c4
YQ
45432015-04-13 Yao Qi <yao.qi@linaro.org>
4544
4545 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4546 and use expect instead of gdb_expect.
4547
8cd8f2f8
SDJ
45482015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4549
4550 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4551 "coredump_var_addr" to avoid naming conflict with other testcases.
4552
9ee41772
PA
45532015-04-10 Pedro Alves <palves@redhat.com>
4554
4555 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4556 gdb_test_sequence and gdb_assert.
4557
07473109
PA
45582015-04-10 Pedro Alves <palves@redhat.com>
4559
4560 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4561 test messages that don't include the breakpoint address.
4562
de3db44c
YQ
45632015-04-10 Yao Qi <yao.qi@linaro.org>
4564
4565 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4566 false for some offset and width combinations which aren't
4567 supported by linux kernel.
4568
c79d856c
PA
45692015-04-10 Pedro Alves <palves@redhat.com>
4570
4571 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4572 procedure, factored out from ...
4573 (top level): ... here. Add "set displaced-stepping" testing axis.
4574 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4575 parameter "displaced". Use it.
4576 (top level): Use foreach and add "set displaced-stepping" testing
4577 axis.
4578
ebc90b50
PA
45792015-04-10 Pedro Alves <palves@redhat.com>
4580
4581 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4582 Remove comment.
4583 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4584 both the address of the instruction that triggers the watchpoint
4585 and the address of the instruction immediately after, and use
4586 those addresses for the test. Fix comment.
4587
8f572e5c
PA
45882015-04-10 Pedro Alves <palves@redhat.com>
4589
4590 * gdb.base/sigstep.exp (breakpoint_to_handler)
4591 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4592 Test "backtrace" in handler.
4593 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4594 (top level): Add new "displaced" test axis to
4595 breakpoint_to_handler, breakpoint_to_handler_entry and
4596 breakpoint_over_handler.
4597
8d707a12
PA
45982015-04-10 Pedro Alves <palves@redhat.com>
4599
4600 PR gdb/18216
4601 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4602
ef713951
YQ
46032015-04-10 Yao Qi <yao.qi@linaro.org>
4604
4605 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4606 (test_add_rn_pc): New function.
4607 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4608 (top level): Invoke test_add_rn_pc.
4609
906d60cf
PA
46102015-04-10 Pedro Alves <palves@redhat.com>
4611
4612 PR gdb/13858
4613 * gdb.base/step-over-no-symbols.exp: New file.
4614
f2983cc3
AW
46152015-04-09 Andy Wingo <wingo@igalia.com>
4616
4617 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4618 after the Python tests.
4619
6d62641c
SDJ
46202015-04-08 Keith Seitz <keiths@redhat.com>
4621
4622 PR python/16699
4623 * gdb.python/py-completion.exp: New tests for completion.
4624 * gdb.python/py-completion.py (CompleteLimit1): New class.
4625 (CompleteLimit2): Likewise.
4626 (CompleteLimit3): Likewise.
4627 (CompleteLimit4): Likewise.
4628 (CompleteLimit5): Likewise.
4629 (CompleteLimit6): Likewise.
4630 (CompleteLimit7): Likewise.
4631
f3770638
PA
46322015-04-08 Pedro Alves <palves@redhat.com>
4633
4634 PR gdb/18214
4635 PR gdb/18216
4636 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4637 function.
4638 (main): Install it as SIGUSR1 handler.
4639 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4640 parameter. Always use "setup" as prefix. Toggle "set
4641 displaced-stepping" off/on depending on global. Don't switch to
4642 thread 1 here.
4643 (top level): Add displaced stepping "off/on" test axis. Update
4644 "setup" calls. Wrap each subtest with with_test_prefix. Test
4645 continuing with a queued signal in each thread.
4646
4496bed7
PA
46472015-04-08 Pedro Alves <palves@redhat.com>
4648
4649 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4650 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4651 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4652 Return early if running to main fails.
4653 * gdb.trace/while-stepping.exp: Likewise.
4654
b97fde92
PA
46552015-04-07 Pedro Alves <palves@redhat.com>
4656
4657 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4658 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4659 interact with inferior program.
4660
f71c18e7
PA
46612015-04-07 Pedro Alves <palves@redhat.com>
4662
4663 * lib/gdb.exp (inferior_spawn_id): New global.
4664 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4665 spawn id after processing the user code.
4666 (default_gdb_start): Set inferior_spawn_id.
4667 (send_inferior): New procedure.
4668 * lib/gdbserver-support.exp (gdbserver_start): Set
4669 inferior_spawn_id.
4670 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4671
6423214f
PA
46722015-04-07 Pedro Alves <palves@redhat.com>
4673
4674 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4675 * lib/gdbserver-support.exp (gdbserver_start): Make
4676 $server_spawn_id global.
4677 (gdbserver_start): Don't wait for gdbserver's spawn id with
4678 expect_background.
4679 (close_gdbserver): New procedure.
4680 (gdb_exit): Rename the default version and reimplement.
4681
71c0ee8c
PA
46822015-04-07 Pedro Alves <palves@redhat.com>
4683
72f4393d 4684 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
4685 append the substituted item, not the original item.
4686
203bc29b
PA
46872015-04-07 Pedro Alves <palves@redhat.com>
4688
4689 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4690 gdb_expect.
4691
508a3ddf
PA
46922015-04-07 Pedro Alves <palves@redhat.com>
4693
4694 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4695 output appearing once only.
4696
9f6dbe2b
PA
46972015-04-07 Pedro Alves <palves@redhat.com>
4698
4699 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4700 that doesn't expect anything. Return early if running to main
4701 fails.
4702
337532fa
YQ
47032015-04-07 Yao Qi <yao.qi@linaro.org>
4704
4705 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4706 (child_function): Call alarm.
4707 (main): Move call to alarm into the loop.
4708 * gdb.threads/non-stop-fair-events.exp: Build program with
4709 -DTIMEOUT=$timeout.
4710
01b622d4
DE
47112015-04-06 Doug Evans <xdje42@gmail.com>
4712
4713 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4714 Fix dest parameter to board_info.
4715 (fpc_compile): Ditto.
4716 (gdb_compile_pascal): Rename dest arg to destfile.
4717
961f4160
PMR
47182015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4719
4720 * gdb.ada/funcall_ref.exp: New file.
4721 * gdb.ada/funcall_ref/foo.adb: New file.
4722
cafda597
YQ
47232015-04-02 Yao Qi <yao.qi@linaro.org>
4724
4725 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4726 is remote.
4727
fed040c6
GB
47282015-04-02 Gary Benson <gbenson@redhat.com>
4729
4730 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4731
d11916aa
SS
47322015-04-01 Sasha Smundak <asmundak@google.com>
4733
4734 * gdb.python/py-unwind-maint.c: New file.
4735 * gdb.python/py-unwind-maint.exp: New test.
4736 * gdb.python/py-unwind-maint.py: New file.
4737 * gdb.python/py-unwind.c: New file.
4738 * gdb.python/py-unwind.exp: New test.
4739 * gdb.python/py-unwind.py: New test.
4740
a1471180
PA
47412015-04-01 Pedro Alves <palves@redhat.com>
4742
4743 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4744 to fail instead of non-existent $test.
4745
0bbeccb1
PA
47462015-04-01 Pedro Alves <palves@redhat.com>
4747
4748 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4749 GDBFLAGS if not empty.
4750
3c724c8c
PMR
47512015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4752
4753 * gdb.ada/complete.exp: Remove "multi_line".
4754 * gdb.ada/info_exc.exp: Remove "multi_line".
4755 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4756 * gdb.ada/ptype_field.exp: Remove "multi_line".
4757 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4758 * gdb.ada/tagged.exp: Remove "multi_line".
4759 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4760 [multi_line ...]
4761 * gdb.btrace/delta.exp: Likewise.
4762 * gdb.btrace/exception.exp: Likewise.
4763 * gdb.btrace/function_call_history.exp: Likewise.
4764 * gdb.btrace/instruction_history.exp: Likewise.
4765 * gdb.btrace/nohist.exp: Likewise.
4766 * gdb.btrace/record_goto.exp: Likewise.
4767 * gdb.btrace/segv.exp: Likewise.
4768 * gdb.btrace/stepi.exp: Likewise.
4769 * gdb.btrace/tailcall.exp: Likewise.
4770 * gdb.btrace/unknown_functions.exp: Likewise.
4771 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4772 * lib/gdb.exp: Add the "multi_line" helper.
4773
4eec2deb
PA
47742015-04-01 Pedro Alves <palves@redhat.com>
4775
4776 * gdb.threads/tid-reuse.c: New file.
4777 * gdb.threads/tid-reuse.exp: New file.
4778
df8411da
SDJ
47792015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4780
4781 PR corefiles/16092
4782 * gdb.base/coredump-filter.c: New file.
4783 * gdb.base/coredump-filter.exp: Likewise.
4784
6ef37366
PM
47852015-03-27 Petr Machata <pmachata@redhat.com>
4786
4787 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4788 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4789 (Dwarf::assemble): Initialize them.
4790 (Dwarf::lines): New function.
4791
7ec911b0
JT
47922015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4793
4794 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4795 SYMBOL_PREFIX for x86_64-*-cygwin.
4796
ff908ebf
AW
47972015-03-26 Andy Wingo <wingo@igalia.com>
4798
4799 PR symtab/18148
4800 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4801 const_value but not a location.
4802 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4803 location defined in non-main CUs are visible.
4804
6d5f0679
YQ
48052015-03-26 Yao Qi <yao.qi@linaro.org>
4806
4807 PR testsuite/18139
4808 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4809 Add a line number entry for the same line.
4810 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4811 Add a line number entry for the same line.
4812
2898689b
YQ
48132015-03-26 Yao Qi <yao.qi@linaro.org>
4814
4815 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4816 .int 0.
4817 (func): Likewise. Add .Lfunc_1 label.
4818 Use .Lfunc_1 label.
4819 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4820 .int 0.
4821 (func): Likewise.
4822 Use .Lfunc_1 label.
4823
85180498
YQ
48242015-03-26 Yao Qi <yao.qi@linaro.org>
4825
4826 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4827 Call gdb_compile instead to compile each .s files without debug
4828 information.
4829
8aa08a8d
YQ
48302015-03-26 Yao Qi <yao.qi@linaro.org>
4831
4832 * gdb.base/savedregs.exp (process_saved_regs): Make
4833 "Saved registers:" optional in the pattern.
4834
66849923
MM
48352015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4836
4837 * gdb.btrace/next.exp: Merged into step.exp.
4838 * gdb.btrace/finish.exp: Merged into step.exp.
4839 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4840 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4841 "record goto" and checking the exact replay position.
4842 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4843 check for "Recording format" in "info record" output.
4844 * gdb.btrace/record_goto.exp: Choose test file based on target.
4845 * gdb.btrace/x86-record_goto.S: Renamed into ...
4846 * gdb.btrace/x86_64-record_goto.S: ... this.
4847 * gdb.btrace/i686-record_goto.S: New.
4848 * gdb.btrace/x86-tailcall.S: Renamed into ...
4849 * gdb.btrace/x86_64-tailcall.S: ... this.
4850 * gdb.btrace/i686-tailcall.S: New.
4851 * gdb.btrace/x86-tailcall.c: Renamed into ...
4852 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4853 separate statements. Update test.
4854 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4855 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4856 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4857 * gdb.btrace/tailcall.exp: Choose test file based on target.
4858 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4859
11cc1b74
MM
48602015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4861
4862 * gdb.btrace/exception.exp: Increase BTS buffer size.
4863
a25d8bf9
PA
48642015-03-24 Pedro Alves <palves@redhat.com>
4865
4866 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4867
856e7dd6
PA
48682015-03-24 Pedro Alves <palves@redhat.com>
4869
4870 * gdb.threads/schedlock.exp (test_step): No longer expect that
4871 "set scheduler-locking step" with "next" over a function call runs
4872 threads unlocked.
4873
ad235a41
AT
48742015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4875
4876 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4877
15630549
AT
48782015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4879
4880 PR breakpoints/16466
4881 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4882 * gdb.mi/mi-pending.c (thread_func): New function.
4883 (int main): Add threading support required.
4884 * gdb.mi/mi-pending.exp: Add tests for this issue.
4885 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4886 (pendfunc2): Remove stdio dependency.
4887 * gdb.mi/mi-pendshr2.c: New file.
4888
693dca06
KS
48892015-03-23 Keith Seitz <keiths@redhat.com>
4890
4891 * gdb.linespec/keywords.c: New file.
4892 * gdb.linespec/keywords.exp: New file.
4893
7e993ebf
KS
48942015-03-23 Keith Seitz <keiths@redhat.com>
4895
4896 PR gdb/18021
4897 * gdb.dwarf2/staticvirtual.exp: New test.
4898
bc23328c
JK
48992015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4900
4901 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4902 * README: Remove HP-UX and gdb.hp.
4903 (configuration):
4904 * configure: Regenerate.
4905 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4906 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4907 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4908 gdb.hp/gdb.defects/Makefile.
4909 * gdb.hp/Makefile.in: File deleted.
4910 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4911 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4912 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4913 * gdb.hp/gdb.aCC/run.c: File deleted.
4914 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4915 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4916 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4917 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4918 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4919 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4920 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4921 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4922 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4923 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4924 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4925 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4926 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4927 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4928 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4929 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4930 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4931 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4932 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4933 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4934 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4935 * gdb.hp/gdb.compat/average.c: File deleted.
4936 * gdb.hp/gdb.compat/sum.c: File deleted.
4937 * gdb.hp/gdb.compat/xdb.c: File deleted.
4938 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4939 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4940 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4941 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4942 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4943 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4944 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4945 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4946 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4947 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4948 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4949 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4950 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4951 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4952 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4953 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4954 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4955 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4956 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4957 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4958 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4959 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4960 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4961 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4962 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4963 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4964 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4965 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4966 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4967 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4968 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4969 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4970 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4971 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4972 * gdb.hp/tools/odump: File deleted.
4973
8bf3b159
PA
49742015-03-19 Pedro Alves <palves@redhat.com>
4975
4976 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4977 (saw_thread_3): New globals.
4978 (top level): Increment them when an event for the corresponding
4979 thread is seen.
4980 (no thread starvation): New test.
4981
eb54c8bf
PA
49822015-03-19 Pedro Alves <palves@redhat.com>
4983
4984 * gdb.threads/continue-pending-status.c: New file.
4985 * gdb.threads/continue-pending-status.exp: New file.
4986
32d2e5d6
PA
49872015-03-18 Pedro Alves <palves@redhat.com>
4988
4989 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4990 Use gdb_is_target_remote instead of is_remote. Use
4991 gdb_test_multiple instead of gdb_expect. Exit early if
4992 gdb_test_multiple hits its internal matches. Tighten stepi tests
4993 expected output. Fail on exit with any signal, instead of just
4994 SIGILL.
4995
f68f11b7
YQ
49962015-03-18 Yao Qi <yao.qi@linaro.org>
4997
4998 PR tdep/18107
4999 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
5000 variable.
5001 * gdb.base/catch-syscall.exp: Don't skip it on
5002 aarch64*-*-linux* target. Remove elements in all_syscalls.
5003 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
5004 target.
5005 (setup_all_syscalls): New proc.
5006
ca5fd19b
YQ
50072015-03-16 Yao Qi <yao.qi@linaro.org>
5008
5009 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
5010 (top level): Skip tests if valid_addr_p returns false for
5011 $cmd1 or $cmd2.
5012
85642ba0
AW
50132015-03-11 Andy Wingo <wingo@igalia.com>
5014
5015 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
5016
e03f9645
YQ
50172015-03-11 Yao Qi <yao.qi@linaro.org>
5018
5019 * gdb.base/catch-syscall.exp: Fix typo in comments.
5020
5d0962b2
YQ
50212015-03-11 Yao Qi <yao.qi@linaro.org>
5022
5023 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
5024
b2df3cef
PA
50252015-03-09 Pedro Alves <palves@redhat.com>
5026
5027 * dg-extract-results.py: Delete.
5028
ef878e53
PA
50292015-03-09 Pedro Alves <palves@redhat.com>
5030
5031 Merge dg-extract-results.sh from GCC upstream (r218843).
5032
5033 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
5034 * dg-extract-results.sh: Use --text with grep to avoid issues with
5035 binary files. Fall back to cat -v, if that doesn't work.
5036
9494d219
PA
50372015-03-05 Pedro Alves <palves@redhat.com>
5038
5039 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
5040
a8d9763a
SM
50412015-03-04 Simon Marchi <simon.marchi@ericsson.com>
5042
5043 * lib/mi-support.exp (mi_expect_interrupt): Accept
5044 alternative event for when in all-stop mode.
5045
be9957b8
PA
50462015-03-04 Pedro Alves <palves@redhat.com>
5047
5048 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
5049
d57be0f4 50502015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
5051
5052 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
5053
c214c7cf
AA
50542015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5055
5056 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
5057 regexps for GDB's current line display, accept a hex address
5058 preceding the line number.
5059
6d74a497
AA
50602015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5061
5062 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
5063 the 'arch1' variable for "s390*-linux*" targets.
5064
511aee7c
PA
50652015-03-04 Pedro Alves <palves@redhat.com>
5066
5067 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
5068 (main): Pass missing retval argument to pthread_join call.
5069
95e50b27
PA
50702015-03-02 Pedro Alves <palves@redhat.com>
5071
5072 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
5073 (top level): Call do_test with non-stop as well.
5074
28054d69
PA
50752015-03-02 Pedro Alves <palves@redhat.com>
5076
5077 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
5078 -1.
5079
4fa5d7b4
AA
50802015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5081
5082 * gdb.arch/s390-vregs.exp: New test.
5083 * gdb.arch/s390-vregs.S: New file.
5084
97c18565
PA
50852015-02-27 Pedro Alves <palves@redhat.com>
5086
5087 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
5088 call to catch_command_errors.
5089 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
5090 catch_command_errors.
5091
a37bfa30
PA
50922015-02-27 Pedro Alves <palves@redhat.com>
5093
5094 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
5095 "true" for boolean result.
5096 * gdb.gdb/selftest.exp (test_with_self): Also accept full
5097 prototype of main.
5098
6f98576f
PA
50992015-02-27 Pedro Alves <palves@redhat.com>
5100
5101 * lib/unbuffer_output.c: New file.
5102 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
5103 (main): Call gdb_unbuffer_output.
5104
eba5ab56
YQ
51052015-02-27 Yao Qi <yao.qi@linaro.org>
5106
5107 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
5108 target.
5109
0def5aaa
DE
51102015-02-26 Doug Evans <dje@google.com>
5111
5112 * gdb.cp/class2.cc (Dbase, D): New classes.
5113 (main): New local delta.
5114 * gdb.cp/class2.exp: Test printing delta.
5115 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
5116 (dynbar): New global.
5117 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
5118
081a1c2c
JK
51192015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5120
5121 * gdb.compile/compile-ifunc.c: New file.
5122 * gdb.compile/compile-ifunc.exp: New file.
5123
2f41223f
AT
51242015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
5125
5126 * gdb.base/structs.exp: Check for correct struct on finish.
5127
03eddd80
YQ
51282015-02-26 Yao Qi <yao.qi@linaro.org>
5129
5130 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
5131 is zero.
5132
80c57053
JK
51332015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5134
5135 * gdb.arch/cordic.ko.bz2: New file.
5136 * gdb.arch/cordic.ko.debug.bz2: New file.
5137 * gdb.arch/ppc64-symtab-cordic.exp: New file.
5138
21613c12
YQ
51392015-02-25 Yao Qi <yao.qi@linaro.org>
5140
5141 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
5142 aarch64*-*-* target.
5143
d8b901ed
PA
51442015-02-23 Pedro Alves <palves@redhat.com>
5145
5146 * lib/gdb.exp (delete_breakpoints): Rewrite using
5147 gdb_test_multiple.
5148
e5b85ead
PA
51492015-02-23 Pedro Alves <palves@redhat.com>
5150
5151 * gdb.base/info-os.c: Include stdlib.h.
5152
85c3a371
DE
51532015-02-22 Doug Evans <xdje42@gmail.com>
5154
5155 PR symtab/17855
5156 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
5157 is read after symbols have been re-read.
5158 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
5159 * gdb.ada/exec_changed/second.adb (Second): Ditto.
5160
96553a0c
DE
51612015-02-21 Doug Evans <dje@google.com>
5162
5163 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
5164
97a0c697
JK
51652015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5166
5167 PR corefiles/17808
5168 * gdb.arch/i386-biarch-core.core.bz2: New file.
5169 * gdb.arch/i386-biarch-core.exp: New file.
5170
a47cd6e9
PA
51712015-02-21 Pedro Alves <palves@redhat.com>
5172
5173 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
5174 runto_main fails.
5175
c5facdc4
PA
51762015-02-20 Pedro Alves <palves@redhat.com>
5177
5178 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
5179 info probes.
5180
2db9a427
PA
51812015-02-20 Pedro Alves <palves@redhat.com>
5182
5183 * gdb.threads/multi-create-ns-info-thr.exp: New file.
5184
60fb7e9e
PA
51852015-02-20 Pedro Alves <palves@redhat.com>
5186
5187 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
5188 clean_restart before gdb_target_supports_trace.
5189
5c5019c2
PA
51902015-02-20 Pedro Alves <palves@redhat.com>
5191
5192 PR threads/18006
5193 * gdb.threads/clone-thread_db.c: New file.
5194 * gdb.threads/clone-thread_db.exp: New file.
5195
c9587f88
AT
51962015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
5197
5198 PR breakpoints/16812
5199 * gdb.base/catch-gdb-caused-signals.c: New file.
5200 * gdb.base/catch-gdb-caused-signals.exp: New file.
5201
f6a88844
JM
52022015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
5203
5204 * configure: Regenerated.
5205 * configure.ac: Use GDB_AC_TRANSFORM.
5206 * aclocal.m4: sinclude ../transform.m4.
5207
497c491b
JM
52082015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5209
5210 * lib/dtrace.exp: New file.
5211 * gdb.base/dtrace-probe.exp: Likewise.
5212 * gdb.base/dtrace-probe.d: Likewise.
5213 * gdb.base/dtrace-probe.c: Likewise.
5214 * lib/pdtrace.in: Likewise.
5215 * configure.ac: Output variables with the transformed names of
5216 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
5217 * configure: Regenerated.
5218
03e98035
JM
52192015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5220
5221 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
5222 expected message when trying to access $_probe_* convenience
5223 variables while not on a probe.
5224
63cc30e9
JK
52252015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5226
5227 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
5228
0703599a
PA
52292015-02-11 Pedro Alves <pedro@codesourcery.com>
5230
5231 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
5232 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
5233
7e60a48e
DE
52342015-02-10 Doug Evans <xdje42@gmail.com>
5235
5236 * lib/gdb.exp (gdb_load): Always return a result.
5237
01b088bc
PA
52382015-02-10 Pedro Alves <palves@redhat.com>
5239
5240 * gdb.threads/signal-sigtrap.c: New file.
5241 * gdb.threads/signal-sigtrap.exp: New file.
5242
b05ec7a5
AT
52432015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
5244
5245 * gdb.trace/no-attach-trace.c: New file.
5246 * gdb.trace/no-attach-trace.exp: New file.
5247
a2c2acaf
MW
52482015-02-09 Mark Wielaard <mjw@redhat.com>
5249
5250 * gdb.dwarf2/atomic.c: New file.
5251 * gdb.dwarf2/atomic-type.exp: Likewise.
5252
31fd9caa
MM
52532015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5254
5255 * gdb.btrace/buffer-size.exp: Update "info record" output.
5256 * gdb.btrace/delta.exp: Update "info record" output.
5257 * gdb.btrace/enable.exp: Update "info record" output.
5258 * gdb.btrace/finish.exp: Update "info record" output.
5259 * gdb.btrace/instruction_history.exp: Update "info record" output.
5260 * gdb.btrace/next.exp: Update "info record" output.
5261 * gdb.btrace/nexti.exp: Update "info record" output.
5262 * gdb.btrace/step.exp: Update "info record" output.
5263 * gdb.btrace/stepi.exp: Update "info record" output.
5264 * gdb.btrace/nohist.exp: Update "info record" output.
5265
d33501a5
MM
52662015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5267
5268 * gdb.btrace/buffer-size: New.
5269
f4abbc16
MM
52702015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5271
5272 * gdb.btrace/delta.exp: Update "info record" output.
5273 * gdb.btrace/enable.exp: Update "info record" output.
5274 * gdb.btrace/finish.exp: Update "info record" output.
5275 * gdb.btrace/instruction_history.exp: Update "info record" output.
5276 * gdb.btrace/next.exp: Update "info record" output.
5277 * gdb.btrace/nexti.exp: Update "info record" output.
5278 * gdb.btrace/step.exp: Update "info record" output.
5279 * gdb.btrace/stepi.exp: Update "info record" output.
5280 * gdb.btrace/nohist.exp: Update "info record" output.
5281
b9d61307
SM
52822015-02-06 Simon Marchi <simon.marchi@ericsson.com>
5283
5284 PR gdb/15678
5285 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
5286
e584fdbc
PA
52872015-02-06 Pedro Alves <palves@redhat.com>
5288
5289 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
5290 macro.
5291 (seconds_left, again): New globals.
5292 (main): Wait seconds_left in a 1-second sleep loop instead of
5293 sleeping 180 seconds. If 'again' is set, reset the seconds
5294 counter.
5295 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
5296 'again' in the inferior before detaching. Print the seconds left.
5297 (options): New global.
5298 (top level): Build program with -DTIMEOUT=$timeout.
5299
77f41761
PA
53002015-02-06 Pedro Alves <palves@redhat.com>
5301
5302 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
5303 determine how many seconds to pass to 'alarm'.
5304 * gdb.base/gdb-sigterm.exp (top level): Build program with
5305 -DTIMEOUT=$timeout.
5306 (do_test): Return success/failure indication. Add more verbose
5307 logging. Don't fail if 200 single steps are seen. Instead, fail
5308 when the test times out.
5309 (passes): New global.
5310 (top level): Break the testing loop if testing fails on any
5311 iteration. Use gdb_assert.
5312
b9394193
DB
53132015-02-04 Don Breazeal <donb@codesourcery.com>
5314
5315 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
5316 and initialize them.
5317 (ipc_cleanup): New function.
5318 (main): Don't declare shmid, semid, and msqid. Add a call to
5319 atexit so that we call ipc_cleanup on exit.
5320
42d9e528
PA
53212015-02-04 Pedro Alves <palves@redhat.com>
5322
5323 * boards/native-extended-gdbserver.exp: Remove any target variant
5324 specifications from the board name before clearing the isremote
5325 flag from board_info.
5326
ae6ae975
DE
53272015-01-31 Doug Evans <xdje42@gmail.com>
5328
5329 * gdb.base/maint.exp <maint print type argc>: Update expected output.
5330
cfb069a8
GB
53312015-01-31 Gary Benson <gbenson@redhat.com>
5332
5333 * gdb.base/completion.exp: Disable completion limiting for
5334 existing tests. Add new tests to check completion limiting.
5335 * gdb.linespec/ls-errs.exp: Disable completion limiting.
5336
5dd31d79
DE
53372015-01-31 Doug Evans <xdje42@gmail.com>
5338
5339 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
5340
9f050062
DE
53412015-01-31 Doug Evans <xdje42@gmail.com>
5342
5343 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
5344 entries. Duplicate file section script entries.
5345 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
5346 inlined entries. Add test for safe-path rejection.
5347 * gdb.python/py-section-script.c: Add duplicate inlined section script
5348 entries. Duplicate file section script entries.
5349 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
5350 inlined entries. Add test for safe-path rejection.
5351
df25ebbd
JB
53522015-01-29 Joel Brobecker <brobecker@adacore.com>
5353
5354 * gdb.ada/disc_arr_bound: New testcase.
5355
4a0ca9ec
JB
53562015-01-29 Joel Brobecker <brobecker@adacore.com>
5357
5358 * gdb.ada/mi_var_array: New testcase.
5359
3a8b707a
DE
53602015-01-27 Doug Evans <dje@google.com>
5361
5362 * gdb.python/py-objfile.exp: Add tests for objfile.username.
5363 Add test for objfile.filename, objfile.username after objfile
5364 has been unloaded.
5365
f8313f6e
JB
53662015-01-26 Joel Brobecker <brobecker@adacore.com>
5367
5368 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
5369 the second test to print the name attribute of value
5370 returned by the call to gdb.lookup_type, and adjust
5371 the expected output accordingly.
5372
37bc665e
MW
53732015-01-25 Mark Wielaard <mjw@redhat.com>
5374
5375 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
5376 * gdb.base/disp-step-fork.c: Include unistd.h.
5377 * gdb.base/siginfo-obj.c: Include stdio.h.
5378 * gdb.base/siginfo-thread.c: Likewise.
5379 * gdb.mi/non-stop.c: Include unistd.h.
5380 * gdb.mi/nsthrexec.c: Include stdio.h.
5381 * gdb.mi/pthreads.c: Include unistd.h.
5382 * gdb.modula2/unbounded1.c (main): Declare returns int.
5383 * gdb.reverse/consecutive-reverse.c: Likewise.
5384 * gdb.threads/create-fail.c: Include unistd.h.
5385 * gdb.threads/killed.c: Likewise.
5386 * gdb.threads/linux-dp.c: Likewise.
5387 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
5388 * gdb.threads/non-ldr-exc-2.c: Likewise.
5389 * gdb.threads/non-ldr-exc-3.c: Likewise.
5390 * gdb.threads/non-ldr-exc-4.c: Likewise.
5391 * gdb.threads/pthreads.c: Include unistd.h.
5392 (main): Declare returns int.
5393 * gdb.threads/tls-main.c (foo): New declaration.
5394 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
5395
f7e5394d
SM
53962015-01-23 Simon Marchi <simon.marchi@ericsson.com>
5397
5398 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
5399 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
5400
743649fd
MW
54012015-01-15 Mark Wielaard <mjw@redhat.com>
5402
5403 * gdb.base/noreturn-return.c: New file.
5404 * gdb.base/noreturn-return.exp: New file.
5405 * gdb.base/noreturn-finish.c: New file.
5406 * gdb.base/noreturn-finish.exp: New file.
5407
198297aa
PA
54082015-01-23 Pedro Alves <palves@redhat.com>
5409
5410 * gdb.threads/continue-pending-after-query.c: New file.
5411 * gdb.threads/continue-pending-after-query.exp: New file.
5412
717cf30c
AG
54132015-01-22 Anders Granlund <anders.granlund@ericsson.com>
5414 Simon Marchi <simon.marchi@ericsson.com>
5415
5416 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
5417 * gdb.base/valgrind-db-attach.exp: Same.
5418 * gdb.base/valgrind-infcall.exp: Same.
5419 * lib/mi-support.exp (default_mi_gdb_start): Same.
5420 * lib/prompt.exp (default_prompt_gdb_start): Same.
5421 * lib/gdb.exp (default_gdb_spawn): Same.
5422 (gdb_interact): New.
5423
5424
4b62a76e
JK
54252015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5426
5427 * gdb.compile/compile.exp (pointer to jit function): New test.
5428
b4cdae6f
WW
54292015-01-17 Wei-cheng Wang <cole945@gmail.com>
5430
5431 * lib/gdb.exp (supports_process_record): Return true for
5432 powerpc*-*-linux*.
5433 (supports_reverse): Likewise.
5434
d221e7ef
DB
54352015-01-15 Don Breazeal <donb@codesourcery.com>
5436
5437 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5438 instead of checking whether the target board is remote and
5439 use spawn_wait_for_attach instead of exec/sleep.
5440 * gdb.base/attach-twice.exp: Likewise.
5441
bafffb51
JB
54422015-01-15 Joel Brobecker <brobecker@adacore.com>
5443
5444 * gdb.ada/var_arr_attrs: New testcase.
5445
5589af0e
PA
54462015-01-14 Pedro Alves <palves@redhat.com>
5447 Joel Brobecker <brobecker@adacore.com>
5448
5449 PR gdb/17525
5450 * gdb.base/bp-cmds-execution-x-script.c: New file.
5451 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5452 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5453
6c400b59
PA
54542015-01-14 Pedro Alves <palves@redhat.com>
5455
5456 PR cli/17828
5457 * gdb.base/batch-preserve-term-settings.c: New file.
5458 * gdb.base/batch-preserve-term-settings.exp: New file.
5459
e02c96a7
DE
54602015-01-13 Doug Evans <dje@google.com>
5461
5462 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5463 binary.
5464
576fd14c
JB
54652015-01-13 Joel Brobecker <brobecker@adacore.com>
5466
5467 * Makefile.in (clean mostlyclean): Do not delete *.py.
5468
04dccad0
JB
54692015-01-13 Joel Brobecker <brobecker@adacore.com>
5470
5471 * gdb.python/py-lookup-type.exp: New file.
5472
3d230f71
PA
54732015-01-12 Pedro Alves <palves@redhat.com>
5474
5475 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5476 restore GDBFLAGS before returning.
5477
7e67715d
JK
54782015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5479
5480 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5481 is_amd64_regs_target and is_x86_like_target.
5482
f2e0d4b4
DE
54832015-01-11 Doug Evans <xdje42@gmail.com>
5484
5485 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5486 is given without an explicit form.
5487 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5488 attributes.
5489 * gdb.dwarf/corrupt.exp: Ditto.
5490 * gdb.dwarf2/enum-type.exp: Ditto.
5491 * gdb.trace/entry-values.exp: Ditto.
5492 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5493
439250fb
DE
54942015-01-11 Doug Evans <xdje42@gmail.com>
5495
5496 PR gdb/15830
5497 * gdb.base/maint.exp: Remove references to "maint demangle".
5498 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5499 Add tests for explicitly specifying language to demangle.
5500 * gdb.dlang/demangle.exp: Ditto.
5501
ede9f622
PA
55022015-01-09 Pedro Alves <palves@redhat.com>
5503
5504 * gdb.threads/non-stop-fair-events.c: New file.
5505 * gdb.threads/non-stop-fair-events.exp: New file.
5506
a7b796db
PA
55072015-01-09 Pedro Alves <palves@redhat.com>
5508
5509 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5510 the global scope. Set a breakpoint after all threads are started
5511 rather than stepping over two source lines. Expect the prompt.
5512 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5513 global.
5514 (NUM): Now 15.
5515 (main): Use threads_started_barrier to wait for all threads to
5516 start. Main thread no longer calls thread_function. Exit after
5517 180 seconds.
5518 (loop): New function.
5519 (thread_function): Wait on threads_started_barrier barrier. Call
5520 'loop' at each iteration.
5521 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5522 threads have started, instead of hardcoding number of "next"
5523 steps. Use an access watchpoint instead of a write watchpoint.
5524
9665ffdd
PA
55252015-01-09 Pedro Alves <palves@redhat.com>
5526
5527 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5528 (thread_func): Wait on barrier.
5529 (main): Wait for all threads to start before stopping GDB.
5530 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5531 global.
5532 (thread1_func, thread2_func): Wait on barrier.
5533 (main): Wait for all threads to start before stopping GDB.
5534 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5535 New global.
5536 (thread1_func, thread2_func): Wait on barrier.
5537 (main): Wait for all threads to start before stopping GDB.
5538
c945a99f
PA
55392015-01-09 Pedro Alves <palves@redhat.com>
5540
5541 * gdb.threads/attach-many-short-lived-threads.c: New file.
5542 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5543
c1a747c1
PA
55442014-01-09 Pedro Alves <palves@redhat.com>
5545
5546 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5547 instead of to thread 2.
5548 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5549 Add barrier around each pthread_create call instead of around all
5550 calls.
5551 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5552 Set a break on thread_function and have the child threads hit it
5553 one at at a time.
5554
60b3033e
PA
55552015-01-09 Pedro Alves <palves@redhat.com>
5556
5557 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5558 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5559 false.
5560 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5561 checking whether the target board is remote.
5562 * gdb.multi/multi-attach.exp: Likewise.
5563 * gdb.python/py-sync-interp.exp: Likewise.
5564 * gdb.server/ext-attach.exp: Likewise.
5565 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5566 tests that need to attach, instead of checking whether the target
5567 board is remote at the top of the file.
5568
acc018ac
YQ
55692015-01-08 Yao Qi <yao@codesourcery.com>
5570
5571 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5572
50a18af8
JK
55732015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5574
5575 Fix testcase compilation.
5576 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5577
8503d6e1
JB
55782015-01-06 Joel Brobecker <brobecker@adacore.com>
5579
5580 * gdb.python/py-type.exp: Add a couple test about empty
5581 array creation, and negative-length array creation.
5582
cc73dbcc
DE
55832015-01-02 Doug Evans <xdje42@gmail.com>
5584
5585 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5586
0300bbc7
DE
55872015-01-02 Doug Evans <dje@google.com>
5588
5589 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5590
9d85a0ec
YQ
55912014-12-29 Yao Qi <yao@codesourcery.com>
5592
5593 * gdb.trace/entry-values.exp: Update comments. Rename variable
5594 bar_call_foo to returned_from_foo.
5595
87186c6a
MMN
55962014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5597
5598 PR gdb/17394
5599 * gdb.linespec/break-asm-file.c: New file.
5600 * gdb.linespec/break-asm-file.exp: New file.
5601 * gdb.linespec/break-asm-file0.s: New file.
5602 * gdb.linespec/break-asm-file1.s: New file.
5603
1bab7383
YQ
56042014-12-18 Nigel Stephens <nigel@mips.com>
5605 Maciej W. Rozycki <macro@codesourcery.com>
5606
5607 * gdb.base/float.exp: Handle the new output from "info float" on
5608 MIPS targets.
5609
1bc1068a
JK
56102014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5611
5612 Fix MinGW compilation.
5613 * gdb.compile/compile-ops.exp: Update untested message if
5614 !skip_compile_feature_tests.
5615 * gdb.compile/compile-setjmp.exp: Likewise.
5616 * gdb.compile/compile-tls.exp: Likewise.
5617 * gdb.compile/compile.exp: Likewise.
5618 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5619 supported on this host".
5620
b6615d10
DE
56212014-12-16 Doug Evans <xdje42@gmail.com>
5622
5623 * boards/stabs.exp: New file.
5624
25dda427
AA
56252014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5626
5627 * gdb.base/completion.exp: Adjust to format changes of "maint
5628 print user-registers".
5629
bf330350
CU
56302014-12-16 Catalin Udma <catalin.udma@freescale.com>
5631
5632 PR server/17457
5633 * gdb.arch/aarch64-fp.c: New file.
5634 * gdb.arch/aarch64-fp.exp: New file.
5635
395cf596
SDJ
56362014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5637
5638 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5639 r210637, r210913, r211666, r215400, r215817).
5640
5641 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5642 * dg-extract-results.py: New file.
5643 * dg-extract-results.sh: Use it if the environment seems
5644 suitable.
5645
5646 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5647
5648 * dg-extract-results.py (parse_run): Handle warnings that
5649 are printed before a test harness is run.
5650
5651 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5652
5653 * dg-extract-results.py (Named): Remove __cmp__ method.
5654 (output_variation): Use a key to sort variation.harnesses.
5655
5656 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5657
5658 * dg-extract-results.py: For Python 3, force sys.stdout to
5659 handle surrogate escape sequences.
5660 (safe_open): New function.
5661 (output_segment, main): Use it.
5662
5663 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5664
5665 * dg-extract-results.py (Prog.result_re): Include options
5666 in test name.
5667
5668 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5669
5670 * dg-extract-results.py (output_variation): Always sort if
5671 do_sum.
5672
e882ef3c
SM
56732014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5674
5675 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5676 as long as we get pagination notifications.
5677
4992aa20
JM
56782014-12-15 Jason Merrill <jason@redhat.com>
5679
5680 * Makefile.in (check-gdb.%): Restore.
5681 * README: Mention it.
5682
c1b5a1a6
JB
56832014-12-13 Joel Brobecker <brobecker@adacore.com>
5684
5685 * gdb.ada/str_uninit: New testcase.
5686
5537b577
JK
56872014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5688
5689 PR symtab/17642
5690 * gdb.base/vla-stub-define.c: New file.
5691 * gdb.base/vla-stub.c: New file.
5692 * gdb.base/vla-stub.exp: New file.
5693
bb2ec1b3
TT
56942014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5695 Jan Kratochvil <jan.kratochvil@redhat.com>
5696 Tom Tromey <tromey@redhat.com>
5697
5698 * configure.ac: Add gdb.compile/.
5699 * configure: Regenerate.
5700 * gdb.compile/Makefile.in: New file.
5701 * gdb.compile/compile-ops.exp: New file.
5702 * gdb.compile/compile-ops.c: New file.
5703 * gdb.compile/compile-tls.c: New file.
5704 * gdb.compile/compile-tls.exp: New file.
5705 * gdb.compile/compile-constvar.S: New file.
5706 * gdb.compile/compile-constvar.c: New file.
5707 * gdb.compile/compile-mod.c: New file.
5708 * gdb.compile/compile-nodebug.c: New file.
5709 * gdb.compile/compile-setjmp-mod.c: New file.
5710 * gdb.compile/compile-setjmp.c: New file.
5711 * gdb.compile/compile-setjmp.exp: New file.
5712 * gdb.compile/compile-shlib.c: New file.
5713 * gdb.compile/compile.c: New file.
5714 * gdb.compile/compile.exp: New file.
5715 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5716
4ff709eb
TT
57172014-12-12 Tom Tromey <tromey@redhat.com>
5718
5719 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5720 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5721
6dddd6a5
DE
57222014-12-12 Doug Evans <dje@google.com>
5723
5724 * lib/gdb-python.exp (get_python_valueof): New function.
5725 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5726
71c24708
AA
57272014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5728
5729 * gdb.base/completion.exp: Add test for completion of "info
5730 registers ".
5731
3e29f34a
MR
57322014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5733
5734 * gdb.base/func-ptrs.c: New file.
5735 * gdb.base/func-ptrs.exp: New file.
5736
fc126975
SM
57372014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5738
5739 PR breakpoints/17012
5740 * gdb.base/dprintf-detach.c: New file.
5741 * gdb.base/dprintf-detach.exp: New file.
5742
0a46d518
SM
57432014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5744
5745 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5746 * lib/gdb.exp (target_is_gdbserver): New procedure.
5747
a0be3e44
DE
57482014-12-08 Doug Evans <dje@google.com>
5749
5750 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5751
df1b803a
YQ
57522014-12-05 Yao Qi <yao@codesourcery.com>
5753
5754 * gdb.guile/scm-error.exp: Remove the third argument to
5755 gdb_remote_download.
5756 * gdb.guile/scm-frame-args.exp: Likewise.
5757 * gdb.guile/scm-section-script.exp: Likewise.
5758
ddb9f679
YQ
57592014-12-05 Yao Qi <yao@codesourcery.com>
5760
5761 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5762
86e4ed39
DE
57632014-12-04 Doug Evans <dje@google.com>
5764
5765 * gdb.python/py-objfile.exp: Add tests for
5766 objfile.add_separate_debug_file.
5767
7c50a931
DE
57682014-12-04 Doug Evans <dje@google.com>
5769
5770 * lib/gdb.exp (get_build_id): New function.
5771 (build_id_debug_filename_get): Rewrite to use it.
5772 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5773
621661e3
MR
57742014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5775
5776 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5777 `method(long)', not just 0x0.
5778 * gdb.cp/nsalias.exp: Align code labels to 4.
5779 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5780 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5781 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5782 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5783 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5784 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5785
29f0c3b7
DE
57862014-12-02 Doug Evans <dje@google.com>
5787
e1e061e7 5788 PR symtab/17602
29f0c3b7 5789 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 5790 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
5791 * gdb.cp/anon-ns.exp: Update.
5792
162078c8
NB
57932014-12-02 Nick Bull <nicholaspbull@gmail.com>
5794
5795 * gdb.python/py-events.py (inferior_call_handler): New.
5796 (register_changed_handler, memory_changed_handler): New.
5797 (test_events.invoke): Register new handlers.
5798 * gdb.python/py-events.exp: Add tests for inferior call,
5799 memory_changed and register_changed events.
5800
fdb09caf
AA
58012014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5802
5803 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5804 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5805 if the linker doesn't understand this.
5806
55cfb2c4
SM
58072014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5808
5809 * gdb.python/python.exp: Change expected reply to help().
5810
9e8cd6df
YQ
58112014-12-01 Yao Qi <yao@codesourcery.com>
5812
5813 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5814 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5815 * configure: Re-generated.
5816
6c659fc2
SC
58172014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5818
5819 * gdb.cp/chained-calls.cc: New file.
5820 * gdb.cp/chained-calls.exp: New file.
5821 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5822
d7fc3181
SM
58232014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5824
5825 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5826 * gdb.dwarf2/symtab-producer.exp: Same.
5827 * gdb.gdb/python-interrupts.exp: Same.
5828 * gdb.gdb/python-selftest.exp: Same.
5829 * gdb.python/py-linetable.exp: Same.
5830 * gdb.python/py-type.exp: Same.
5831 * gdb.python/py-value-cc.exp: Same.
5832 * gdb.python/py-value.exp: Same.
5833
10e79639
YQ
58342014-11-28 Yao Qi <yao@codesourcery.com>
5835
5836 * gdb.base/break-probes.exp: Match library name prefixed with
5837 sysroot.
5838
f28a0564
SM
58392014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5840
5841 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5842 test expected output. Add parentheses for the call to print.
5843 Remove L suffix from integers.
5844
3fe1ce1d
DE
58452014-11-26 Doug Evans <dje@google.com>
5846
5847 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5848
84429e27
YQ
58492014-11-22 Yao Qi <yao@codesourcery.com>
5850
5851 * gdb.trace/entry-values.c: Remove asms.
5852 (foo): Add foo_label.
5853 (bar): Add bar_label.
5854 * gdb.trace/entry-values.exp: Remove code computing foo's
5855 length and bar's length.
5856 (Dwarf::assemble): Invoke function_range for bar and use
5857 MACRO_AT_func for foo.
5858
26741859
YQ
58592014-11-22 Yao Qi <yao@codesourcery.com>
5860
5861 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5862 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5863 Use .Lgcc43_procstart instead of gcc43.
5864
45e44d27
JB
58652014-11-21 Joel Brobecker <brobecker@adacore.com>
5866
5867 * gdb.ada/n_arr_bound: New testcase.
5868
458c8db8
SDJ
58692014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5870
5871 PR breakpoints/10737
5872 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5873 test_catch_syscall_multi_arch.
5874 (test_catch_syscall_multi_arch): New function.
5875
43f3e411
DE
58762014-11-20 Doug Evans <xdje42@gmail.com>
5877
5878 * gdb.base/maint.exp: Update expected output.
5879
0d7b2549
AA
58802014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5881
5882 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5883 4-byte instruction on S390.
5884
8908fca5
JB
58852014-11-19 Joel Brobecker <brobecker@adacore.com>
5886
5887 * gdb.ada/arr_arr: New testcase.
5888
4a46959e
JB
58892014-11-19 Joel Brobecker <brobecker@adacore.com>
5890
5891 * gdb.ada/pkd_arr_elem: New Testcase.
5892
470e2f4e
LM
58932014-11-18 Luis Machado <lgustavo@codesourcery.com>
5894
5895 * gdb.reverse/break-precsave: Expect completion message for
5896 core file reads.
5897 * gdb.reverse/consecutive-precsave.exp: Likewise.
5898 * gdb.reverse/finish-precsave.exp: Likewise.
5899 * gdb.reverse/i386-precsave.exp: Likewise.
5900 * gdb.reverse/machinestate-precsave.exp: Likewise.
5901 * gdb.reverse/sigall-precsave.exp: Likewise.
5902 * gdb.reverse/solib-precsave.exp: Likewise.
5903 * gdb.reverse/step-precsave.exp: Likewise.
5904 * gdb.reverse/until-precsave.exp: Likewise.
5905 * gdb.reverse/watch-precsave.exp: Likewise.
5906
a267f3ad
AA
59072014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5908
5909 * gdb.base/bp-permanent.c: Include unistd.h.
5910 * gdb.python/py-framefilter-mi.c (main): Add return type.
5911 * gdb.python/py-framefilter.c (main): Likewise.
5912 * gdb.trace/actions-changed.c (main): Likewise.
5913
12084a9a
AA
59142014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5915
5916 * gdb.mi/until.c: Add eye-catchers.
5917 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5918 line numbers.
5919
dc7e1a77
AA
59202014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5921
5922 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5923 function header variants in break1.c.
5924 * gdb.base/ena-dis-br.exp: Likewise.
5925 * gdb.base/hbreak2.exp: Likewise.
5926 * gdb.reverse/until-precsave.exp: Drop references to removed
5927 non-prototype function header variants in ur1.c.
5928 * gdb.reverse/until-reverse.exp: Likewise.
5929
41c77605
PM
59302014-11-17 Petr Machata <pmachata@redhat.com>
5931
5932 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5933 ${_cu_offset_size} bytes abbrev offset.
5934
34248c3a
DE
59352014-11-15 Doug Evans <xdje42@gmail.com>
5936
5937 PR symtab/17559
5938 * gdb.base/line-symtabs.exp: New file.
5939 * gdb.base/line-symtabs.c: New file.
5940 * gdb.base/line-symtabs.h: New file.
5941
646da059
YQ
59422014-11-14 Yao Qi <yao@codesourcery.com>
5943
5944 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5945 (func): Add label func_label.
5946 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5947 Replace low_pc and high_pc with MACRO_AT_range.
5948 Replace name, low_pc and high_pc with MACRO_AT_func.
5949
9301ebe6
YQ
59502014-11-14 Yao Qi <yao@codesourcery.com>
5951
5952 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5953 Replace name, low_pc and high_pc with MACRO_AT_func.
5954
f166b542
YQ
59552014-11-14 Yao Qi <yao@codesourcery.com>
5956
5957 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5958 produce debug information.
5959 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5960
0f6e71e3
YQ
59612014-11-14 Yao Qi <yao@codesourcery.com>
5962
5963 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5964 object and get function length.
5965 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5966 with MACRO_AT_func.
5967 (top-level): Replace gdb_compile and clean_restart with
5968 prepare_for_testing.
5969 * gdb.dwarf2/main.c (main): Add label main_label.
5970
876c4df9
YQ
59712014-11-14 Yao Qi <yao@codesourcery.com>
5972
5973 * lib/dwarf.exp (function_range): New procedure.
5974 (Dwarf::_handle_macro_at_func): New procedure.
5975 (Dwarf::_handle_macro_at_range): New procedure.
5976 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5977
02ad9cf1
YQ
59782014-11-14 Yao Qi <yao@codesourcery.com>
5979
5980 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5981 (_handle_attribute): New procedure.
5982
a59add0c
AA
59832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5984
5985 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5986 * gdb.base/call-sc.c (zed): Likewise.
5987 * gdb.base/checkpoint.c (main): Likewise.
5988 * gdb.base/dump.c (main): Likewise.
5989 * gdb.base/gcore.c (main): Likewise.
5990 * gdb.base/huge.c (main): Likewise.
5991 * gdb.base/multi-forks.c (main): Likewise.
5992 * gdb.base/pr10179-a.c (main): Likewise.
5993 * gdb.base/savedregs.c (main): Likewise.
5994 * gdb.base/sigaltstack.c (main): Likewise.
5995 * gdb.base/siginfo.c (main): Likewise.
5996 * gdb.base/structs.c (zed): Likewise.
5997 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5998 * gdb.mi/mi-syn-frame.c (main): Likewise.
5999 * gdb.mi/until.c (foo, main): Likewise.
6000 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
6001 * gdb.base/solib-weak.c (foo): Declare.
6002 * gdb.base/attach-twice.c: Include stdio.h.
6003 * gdb.base/weaklib1.c: Likewise.
6004 * gdb.base/weaklib2.c: Likewise.
6005 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
6006 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
6007 unistd.h.
6008 * gdb.base/attach-pie-misread.c: Include stdlib.h.
6009 * gdb.mi/mi-exit-code.c: Likewise.
6010 * gdb.base/break-interp-lib.c: Include string.h.
6011 * gdb.base/coremaker.c: Likewise.
6012 * gdb.base/testenv.c: Likewise.
6013 * gdb.python/py-finish-breakpoint.c: Likewise.
6014 * gdb.base/inferior-died.c: Include sys/wait.h.
6015 * gdb.base/fileio.c: Include time.h.
6016 * gdb.base/async-shell.c: Include unistd.h.
6017 * gdb.base/dprintf-non-stop.c: Likewise.
6018 * gdb.base/info-os.c: Likewise.
6019 * gdb.mi/mi-console.c: Likewise.
6020 * gdb.mi/watch-nonstop.c: Likewise.
6021 * gdb.python/py-events.c: Likewise.
6022 * gdb.base/async.c (baz): Move up before its invocation.
6023 * gdb.base/code_elim2.c (my_global_func): Likewise.
6024 * gdb.base/skip-solib-lib.c (multiply): Likewise.
6025 * gdb.base/advance.c (func2): Likewise.
6026
3b5d5997
AA
60272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6028
6029 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
6030 variant.
6031 * gdb.base/annota3.c: Likewise.
6032 * gdb.base/async.c: Likewise.
6033 * gdb.base/average.c: Likewise.
6034 * gdb.base/call-ar-st.c: Likewise.
6035 * gdb.base/call-rt-st.c: Likewise.
6036 * gdb.base/call-sc.c: Likewise.
6037 * gdb.base/call-strs.c: Likewise.
6038 * gdb.base/ending-run.c: Likewise.
6039 * gdb.base/execd-prog.c: Likewise.
6040 * gdb.base/exprs.c: Likewise.
6041 * gdb.base/foll-exec.c: Likewise.
6042 * gdb.base/foll-fork.c: Likewise.
6043 * gdb.base/foll-vfork.c: Likewise.
6044 * gdb.base/funcargs.c: Likewise.
6045 * gdb.base/gcore.c: Likewise.
6046 * gdb.base/jump.c: Likewise.
6047 * gdb.base/langs0.c: Likewise.
6048 * gdb.base/langs1.c: Likewise.
6049 * gdb.base/langs2.c: Likewise.
6050 * gdb.base/mips_pro.c: Likewise.
6051 * gdb.base/nodebug.c: Likewise.
6052 * gdb.base/opaque0.c: Likewise.
6053 * gdb.base/opaque1.c: Likewise.
6054 * gdb.base/recurse.c: Likewise.
6055 * gdb.base/run.c: Likewise.
6056 * gdb.base/scope0.c: Likewise.
6057 * gdb.base/scope1.c: Likewise.
6058 * gdb.base/setshow.c: Likewise.
6059 * gdb.base/setvar.c: Likewise.
6060 * gdb.base/shmain.c: Likewise.
6061 * gdb.base/shr1.c: Likewise.
6062 * gdb.base/shr2.c: Likewise.
6063 * gdb.base/sigall.c: Likewise.
6064 * gdb.base/signals.c: Likewise.
6065 * gdb.base/so-indr-cl.c: Likewise.
6066 * gdb.base/solib2.c: Likewise.
6067 * gdb.base/structs.c: Likewise.
6068 * gdb.base/sum.c: Likewise.
6069 * gdb.base/vforked-prog.c: Likewise.
6070 * gdb.base/watchpoint.c: Likewise.
6071 * gdb.reverse/shr2.c: Likewise.
6072 * gdb.reverse/until-reverse.c: Likewise.
6073 * gdb.reverse/ur1.c: Likewise.
6074 * gdb.reverse/watch-reverse.c: Likewise.
6075
066a77c5
AA
60762014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6077
6078 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
6079 variant.
6080 * gdb.base/sepdebug.exp: Drop references to removed code.
6081
4f204ea5
AA
60822014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6083
6084 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
6085 variant. Preserve original line numbering.
6086 * gdb.base/list1.c: Likewise.
6087
3b377a3a
AA
60882014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6089
6090 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
6091 variant.
6092 * gdb.base/break1.c: Likewise.
6093 * gdb.base/break.exp: Drop references to removed code.
6094
e444df73
AA
60952014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6096
6097 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
6098 variant.
6099
8008f2a7
AA
61002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6101
6102 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
6103
a5a06887
AA
61042014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6105
6106 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
6107 logic into perform_all_tests() and invoke it with and without
6108 function header prototypes.
6109 (do_function_calls): Remove conditional XFAIL for PR 5318.
6110 (rerun_and_prepare): Remove duplicate code.
6111 (perform_all_tests): New. Main logic moved here.
6112
44dba9b9
AA
61132014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6114
6115 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
6116 code guarded by #ifdef NO_PROTOTYPES.
6117 (t_double_many_args): Likewise.
6118 (DEF_FUNC_MANY_ARGS_1): Likewise.
6119 (DEF_FUNC_VALUES_1): Likewise.
6120 (t_structs_ldc): Renamed from t_structs_fc in conditional code
6121 guarded by #ifdef PROTOTYPES.
6122
d1fbcd56
AA
61232014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6124
6125 * gdb.mi/mi-console.c: Add eye-catcher.
6126 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
6127 instead of literal line number.
6128
b0e59b8f
AA
61292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6130
6131 * gdb.base/shr2.c: Add eye-catcher.
6132 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
6133 line number.
6134
78f98cca
AA
61352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6136
6137 * gdb.base/jump.c: Add eye-catchers.
6138 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
6139 numbers.
6140
58fa2af0
AA
61412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6142
6143 * gdb.base/execd-prog.c: Add eye-catchers.
6144 * gdb.base/foll-exec.c: Likewise.
6145 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
6146 line numbers.
6147
04e5059b
AA
61482014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6149
6150 * gdb.base/ending-run.c: Add eye-catchers.
6151 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
6152 literal line numbers.
6153
dbfdb174
AA
61542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6155
6156 * gdb.base/call-rt-st.c: Add eye-catchers.
6157 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
6158 literal line numbers.
6159
888a2ade
AA
61602014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6161
6162 * gdb.base/call-ar-st.c: Add eye-catchers.
6163 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
6164 literal line numbers.
6165
6acc2dde
AA
61662014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6167
6168 * gdb.base/average.c: Add eye-catchers.
6169 * gdb.base/sum.c: Likewise.
6170 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
6171 regexps dynamically.
6172
9ecfcd1d
AA
61732014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6174
6175 * gdb.base/solib1.c: Add eye-catchers.
6176 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
6177 literal line numbers.
6178
78708b7c
PA
61792014-11-12 Pedro Alves <palves@redhat.com>
6180
6181 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
6182 leader has exited.
6183
af48d08f
PA
61842014-11-12 Pedro Alves <palves@redhat.com>
6185
6186 * gdb.arch/i386-bp_permanent.c: New file.
6187 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
6188 (srcfile): Set to i386-bp_permanent.c.
6189 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
6190 that stepi does not execute the 'leave' instruction, instead of
6191 testing it does execute.
6192 * gdb.base/bp-permanent.c: New file.
6193 * gdb.base/bp-permanent.exp: New file.
6194
af3768e9
DE
61952014-11-10 Doug Evans <xdje42@gmail.com>
6196
6197 PR symtab/17564
6198 * gdb.base/symtab-search-order.exp: New file.
6199 * gdb.base/symtab-search-order.c: New file.
6200 * gdb.base/symtab-search-order-1.c: New file.
6201 * gdb.base/symtab-search-order-shlib-1.c: New file.
6202
9de00a4a
PA
62032014-11-07 Pedro Alves <palves@redhat.com>
6204
6205 PR gdb/17511
6206 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
6207 i?86-*-linux*.
6208
e0f52461
SC
62092014-11-03 Siva Chandra Reddy <sivachandra@google.com>
6210
6211 PR c++/17494
6212 * gdb.cp/pr17494.cc: New file.
6213 * gdb.cp/pr17494.exp: New file.
6214
6ce8c980
YQ
62152014-11-02 Yao Qi <yao@codesourcery.com>
6216
6217 * gdb.python/python.exp: Get working directory and match the
6218 output of "set extended-prompt \\w " with it.
6219
02be9a71
DE
62202014-10-30 Doug Evans <dje@google.com>
6221
6222 * gdb.python/py-objfile.exp: Add tests for setting random attributes
6223 in objfiles.
6224 * gdb.python/py-progspace.exp: Add tests for setting random attributes
6225 in progspaces.
6226
3bdff46b
LM
62272014-10-30 Janis Johnson <janisjo@codesourcery.com>
6228
6229 * gdb.base/fullpath-expand.exp: Skip for a remote host.
6230 * gdb.base/realname-expand.exp: Likewise.
6231 * gdb.linespec/macro-relative.exp: Likewise.
6232
ab917dfb
PA
62332014-10-29 Pedro Alves <palves@redhat.com>
6234
6235 PR gdb/17408
6236 * gdb.threads/schedlock.c (some_function): New function.
6237 (call_function): New global.
6238 (MAYBE_CALL_SOME_FUNCTION): New macro.
6239 (thread_function): Call it.
6240 * gdb.threads/schedlock.exp (get_args): Add description parameter,
6241 and use it instead of a global counter. Adjust all callers.
6242 (get_current_thread): Use "find current thread" for test message
6243 here rather than having all callers pass down the same string.
6244 (goto_loop): New procedure, factored out from ...
6245 (my_continue): ... this.
6246 (step_ten_loops): Change parameter from test message to command to
6247 use. Adjust.
6248 (list_count): Delete global.
6249 (check_result): New procedure, factored out from duplicate top
6250 level code.
6251 (continue tests): Wrap in with_test_prefix.
6252 (test_step): New procedure, factored out from duplicate top level
6253 code.
6254 (top level): Test "step" in combination with all scheduler-locking
6255 modes. Test "next" in combination with all scheduler-locking
6256 modes, and in combination with stepping over a function call or
6257 not.
6258 * gdb.threads/next-bp-other-thread.c: New file.
6259 * gdb.threads/next-bp-other-thread.exp: New file.
6260
d3d4baed
PA
62612014-10-29 Pedro Alves <palves@redhat.com>
6262
6263 PR python/17372
6264 * gdb.python/python.exp: Test a multi-line command that spawns
6265 interactive Python.
6266 * gdb.base/multi-line-starts-subshell.exp: New file.
6267
563e8d85
YQ
62682014-10-29 Yao Qi <yao@codesourcery.com>
6269
6270 * gdb.base/fileio.exp: Make directories on host.
6271
0ea4d52e
YQ
62722014-10-29 Yao Qi <yao@codesourcery.com>
6273
6274 * gdb.base/fileio.c (test_write): Close the file.
6275
7f5ef605
PA
62762014-10-28 Pedro Alves <palves@redhat.com>
6277
6278 PR gdb/12623
6279 * gdb.base/sigstep.c (no_handler): New global.
6280 (main): If 'no_handler is true, set the signal handlers to
6281 SIG_IGN.
6282 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
6283 with_sw_watch and no_handler parameters. Handle them.
6284 (top level) <stepping over handler when stopped at a breakpoint
6285 test>: Add a test axis for testing with a software watchpoint, and
6286 another for testing with the signal handler set to SIG_IGN.
6287 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
6288 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
6289
abbdbd03
PA
62902014-10-28 Pedro Alves <palves@redhat.com>
6291
6292 PR gdb/17511
6293 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
6294 * gdb.base/sigstep.exp (other_handler_location): New global.
6295 (advance): Support stepping into the signal handler, and running
6296 commands while in the handler.
6297 (in_handler_map): New global.
6298 (top level): In the advance test, add combinations for getting
6299 into the handler with stepping commands, and for running commands
6300 in the handler. Add comment descripting the advancei tests.
6301
1df4399f
PA
63022014-10-28 Pedro Alves <palves@redhat.com>
6303
6304 * gdb.base/sigstep.exp: Use build_executable instead of
6305 prepare_for_testing.
6306 (top level): Move code that starts GDB, runs to main and creates a
6307 display to ...
6308 (restart): ... this new procedure.
6309 (top level): Move backtrace from signal handler test to ...
6310 (validate_backtrace): ... this new procedure.
6311 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
6312 with_test_prefix. Always restart GDB.
6313 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
6314 with_test_prefix. Always restart GDB. No need to delete
6315 breakpoints after the test.
6316 (test_skip_handler): Remove prefix parameter.
6317 (skip_over_handler, breakpoint_to_handler)
6318 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
6319 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
6320 restart GDB. No need to delete breakpoints after the test.
6321 (top level): Use foreach to call the test procedures with
6322 different commands.
6323
a5b6e449
PA
63242014-10-28 Pedro Alves <palves@redhat.com>
6325
6326 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
6327 instead of GNATS numbers.
6328 * gdb.base/sigbpt.exp: Likewise.
6329 * gdb.base/siginfo.exp: Likewise.
6330 * gdb.base/sigstep.exp: Likewise.
6331
e5f8a7cc
PA
63322014-10-27 Pedro Alves <palves@redhat.com>
6333
6334 * gdb.base/sigstep.c (dummy): New global.
6335 (main): Issue a couple writes to the new global.
6336 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
6337 procedures.
6338 (skip_over_handler): Use test_skip_handler.
6339 (top level): Call skip_over_handler for stepi and nexti too.
6340 (breakpoint_over_handler): Use test_skip_handler.
6341 (top level): Call breakpoint_over_handler for stepi and nexti too.
6342
763905a3
YQ
63432014-10-27 Yao Qi <yao@codesourcery.com>
6344
6345 * gdb.trace/tfile.c (adjust_function_address)
6346 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
6347 function descriptor.
6348
6f259a23
DB
63492014-10-24 Don Breazeal <donb@codesourcery.com>
6350
6351 * gdb.base/foll-fork.exp (test_follow_fork,
6352 catch_fork_child_follow): Check for updated fork messages emitted
6353 from infrun.c.
6354 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
6355 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
6356 vfork_and_exec_child_follow_through_step): Check for updated vfork
6357 messages emitted from infrun.c.
6358
09dd9a69
PA
63592014-10-24 Pedro Alves <palves@redhat.com>
6360
6361 * gdb.base/corefile.exp: Remove references to ultrix.
6362 * gdb.base/interrupt.exp: Likewise.
6363 * gdb.base/whatis.exp: Likewise.
6364 * gdb.gdb/selftest.exp: Likewise.
6365 * gdb.threads/manythreads.exp: Likewise.
6366 * gdb.threads/print-threads.exp: Likewise.
6367 * gdb.threads/pthreads.exp:: Likewise.
6368 * gdb.threads/schedlock.exp: Likewise.
6369
3433cfa5
SC
63702014-10-24 Siva Chandra Reddy <sivachandra@google.com>
6371
6372 * gdb.cp/non-trivial-retval.cc: Add a test case.
6373 * gdb.cp/non-trivial-retval.exp: Add a test.
6374
092f880b
YQ
63752014-10-20 Yao Qi <yao@codesourcery.com>
6376
6377 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
6378 * gdb.python/py-objfile-script-gdb.py: New file.
6379 * gdb.python/py-objfile-script.exp: Update reference to
6380 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
6381 of remote_download. Remove the dest file.
6382
acbdb7f3
YQ
63832014-10-20 Yao Qi <yao@codesourcery.com>
6384
6385 * gdb.base/checkpoint.exp: Don't remove file copied on host.
6386 * gdb.base/step-line.exp: Likewise.
6387 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6388 * gdb.dwarf2/dw2-basic.exp: Likewise.
6389 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6390 * gdb.dwarf2/dw2-filename.exp: Likewise.
6391 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6392 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6393 * gdb.dwarf2/dw2-producer.exp: Likewise.
6394 * gdb.dwarf2/mac-fileno.exp: Likewise.
6395 * gdb.python/py-frame-args.exp: Likewise.
6396 * gdb.python/py-framefilter.exp: Likewise.
6397 * gdb.python/py-mi.exp: Likewise.
6398 * gdb.python/py-objfile-script.exp: Likewise
6399 * gdb.python/py-pp-integral.exp: Likewise.
6400 * gdb.python/py-pp-re-notag.exp: Likewise.
6401 * gdb.python/py-prettyprint.exp: Likewise.
6402 * gdb.python/py-section-script.exp: Likewise.
6403 * gdb.python/py-typeprint.exp: Likewise.
6404 * gdb.python/py-xmethods.exp: Likewise.
6405 * gdb.stabs/weird.exp: Likewise.
6406 * gdb.xml/tdesc-regs.exp: Likewise.
6407
bd286a29
KCY
64082014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
6409
6410 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
6411 (out_cu): Use addr_len for the size of addresses.
6412 (out_line): Likewise. Size DW_LNE_set_address instruction
6413 according to addr_len.
6414 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
6415 (FUNC): Add START_INSNS to definition.
6416
673dc4a0
YQ
64172014-10-18 Yao Qi <yao@codesourcery.com>
6418
6419 * gdb.base/argv0-symlink.exp: Check argv[0] value if
6420 gdb_has_argv0 return true.
6421 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
6422 check [target_info exists noargs], check [gdb_has_argv0]
6423 instead.
6424 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6425 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
6426 procedures.
6427
4ffbba72
DE
64282014-10-17 Doug Evans <dje@google.com>
6429
6430 * gdb.python/py-events.exp: Update expected output for clear_objfiles
6431 event.
6432 * gdb.python/py-events.py: Add clear_objfiles event.
6433
d096d8c1
DE
64342014-10-17 Doug Evans <dje@google.com>
6435
6436 * gdb.python/py-objfile.exp: Test progspace attribute.
6437
a80db015
LM
64382014-10-17 Luis Machado <lgustavo@codesourcery.com>
6439
6440 * gdb.guile/scm-breakpoint.exp: Do not assume any
6441 directory separators when matching source file paths.
6442 * gdb.python/py-breakpoint.exp: Likewise.
6443 * gdb.reverse/break-precsave.exp: Likewise.
6444 * gdb.reverse/break-reverse.exp: Likewise.
6445 * gdb.reverse/consecutive-precsave.exp: Likewise.
6446 * gdb.reverse/finish-precsave.exp: Likewise.
6447 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6448 * gdb.reverse/finish-reverse.exp: Likewise.
6449 * gdb.reverse/i386-precsave.exp: Likewise.
6450 * gdb.reverse/i387-env-reverse.exp: Likewise.
6451 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6452 * gdb.reverse/machinestate-precsave.exp: Likewise.
6453 * gdb.reverse/machinestate.exp: Likewise.
6454 * gdb.reverse/sigall-precsave.exp: Likewise.
6455 * gdb.reverse/solib-precsave.exp: Likewise.
6456 * gdb.reverse/step-precsave.exp: Likewise.
6457 * gdb.reverse/until-precsave.exp: Likewise.
6458 * gdb.reverse/watch-precsave.exp: Likewise.
6459 * gdb.reverse/watch-reverse.exp: Likewise.
6460
b22089ab
YQ
64612014-10-17 Yao Qi <yao@codesourcery.com>
6462
6463 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6464 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6465
6c4486e6
PA
64662014-10-17 Pedro Alves <palves@redhat.com>
6467
6468 PR gdb/17471
6469 * gdb.base/bg-execution-repeat.c: New file.
6470 * gdb.base/bg-execution-repeat.exp: New file.
6471
0ff33695
PA
64722014-10-17 Pedro Alves <palves@redhat.com>
6473
6474 PR gdb/17300
6475 * gdb.base/continue-all-already-running.c: New file.
6476 * gdb.base/continue-all-already-running.exp: New file.
6477
6fdebc3d
PA
64782014-10-17 Pedro Alves <palves@redhat.com>
6479
6480 PR gdb/17472
6481 * gdb.base/annota-input-while-running.c: New file.
6482 * gdb.base/annota-input-while-running.exp: New file.
6483
32a8097b
PA
64842014-10-17 Pedro Alves <palves@redhat.com>
6485
6486 * gdb.base/callfuncs.exp: emove references to osf.
6487 * gdb.base/sigall.exp: Likewise.
6488 * gdb.gdb/selftest.exp: Likewise.
6489 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6490 * gdb.mi/non-stop.c: Likewise.
6491 * gdb.mi/pthreads.c: Likewise.
6492 * gdb.reverse/sigall-precsave.exp: Likewise.
6493 * gdb.reverse/sigall-reverse.exp: Likewise.
6494 * gdb.threads/pthreads.c: Likewise.
6495 * gdb.threads/pthreads.exp: Likewise.
6496
7a3517ff
YQ
64972014-10-17 Yao Qi <yao@codesourcery.com>
6498
6499 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6500 check 'target_info exists noargs'.
6501 (test_command_prompt_position): Likewise.
6502 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6503 Remove "set args".
6504 (progvar_simple_while_test): Likewise.
6505 (progvar_complex_if_while_test): Likewise.
6506 (if_while_breakpoint_command_test): Likewise.
6507 (infrun_breakpoint_command_test): Likewise.
6508 (breakpoint_command_test): Likewise.
6509 (watchpoint_command_test): Likewise.
6510 (bp_deleted_in_command_test): Likewise.
6511 (temporary_breakpoint_commands): Likewise.
6512
bb99c472
YQ
65132014-10-16 Yao Qi <yao@codesourcery.com>
6514
6515 * gdb.base/remotetimeout.exp: Remove noargs checking.
6516
7c16b83e
PA
65172014-10-15 Pedro Alves <palves@redhat.com>
6518
6519 PR breakpoints/9649
6520 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6521 * gdb.base/breakpoint-in-ro-region.exp
6522 (probe_target_hardware_step): New procedure.
6523 (top level): Probe hardware stepping and hardware breakpoint
6524 support. Test stepping through a read-only region, with both
6525 "breakpoint auto-hw" on and off and both "always-inserted" on and
6526 off.
6527
35a49624
IB
65282014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6529
6530 * gdb.dlang/demangle.exp: Update for demangling changes.
6531
2d1c107c
SC
65322014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6533
6534 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6535 * gdb.cp/non-trivial-retval.exp: Add new tests.
6536
778811d5
SC
65372014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6538
6539 PR c++/13403
6540 PR c++/15154
6541 * gdb.cp/non-trivial-retval.cc: New file.
6542 * gdb.cp/non-trivial-retval.exp: New file.
6543
10c5f0a8
YQ
65442014-10-15 Yao Qi <yao@codesourcery.com>
6545
6546 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6547 remote host.
6548
65d7b369
YQ
65492014-10-15 Yao Qi <yao@codesourcery.com>
6550
6551 * gdb.python/py-symbol.exp: Match file base name if host is
6552 remote, otherwise match file name with dir name.
6553 * gdb.python/py-symtab.exp: Likewise.
6554 * gdb.python/python.exp: Likewise.
6555
46dc1394
YQ
65562014-10-15 Yao Qi <yao@codesourcery.com>
6557
6558 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6559 pattern.
6560 * gdb.python/py-symtab.exp: Likewise.
6561 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6562 locationn.
6563
c40cc657
JB
65642014-10-14 Joel Brobecker <brobecker@adacore.com>
6565
6566 * gdb.ada/addr_arith: New testcase.
6567
2abf49e1
MR
65682014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6569
6570 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6571 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6572 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6573 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6574
f7088df3
SDJ
65752014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6576
6577 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6578 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6579 * gdb.arch/stap-eval-lang-ada.exp: New file.
6580
4dc06805
YQ
65812014-10-14 Yao Qi <yao@codesourcery.com>
6582
6583 * gdb.mi/mi-var-child.c (nothing1): New function.
6584 (nothing2): New function.
6585 (do_children_tests): Set function pointers by nothing1 and
6586 nothing2.
6587 * gdb.mi/mi-var-child.exp: Step over new added statements.
6588 Update test to match the new output.
6589 * gdb.mi/var-cmd.c (nothing1): New function.
6590 (nothing2): New function.
6591 (do_children_tests): Set function pointers by nothing1 and
6592 nothing2.
6593 * gdb.mi/mi-var-display.exp: Update test to match output.
6594 Step to the line specified by $line_dct_nothing.
6595 Increase the number of lines to step.
6596
46a93de2
YQ
65972014-10-14 Yao Qi <yao@codesourcery.com>
6598
6599 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6600 tests.
6601 * gdb.mi/mi2-var-child.exp: Likewise.
6602
14ea52ee
DE
66032014-10-13 Doug Evans <dje@google.com>
6604
6605 * gdb.python/py-objfile.exp: Change name of file name test.
6606
e5c6e92b
DE
66072014-10-13 Doug Evans <dje@google.com>
6608
6609 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6610 from the start of the CU.
6611
c780cc2f
JK
66122014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6613 Yao Qi <yao@codesourcery.com>
6614
6615 Fix "save breakpoints" for "catch" command.
6616 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6617 Remove -nonewline. Match also the added "main" line.
6618
99894e11
JK
66192014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6620
6621 Fix "save breakpoints" for "disable $bpnum" command.
6622 * gdb.base/save-bp.c (main): Add label.
6623 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6624
6e1ac5a3
JK
66252014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6626
6627 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6628
754dd2b0
YQ
66292014-10-11 Yao Qi <yao@codesourcery.com>
6630
6631 * gdb.server/server-kill.exp: Execute command
6632 "set remote trace-status-packet on" before "tstatus".
6633
f90183d7
YQ
66342014-10-11 Yao Qi <yao@codesourcery.com>
6635
6636 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6637 (main): Call getppid.
6638 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6639 and continue to it. Read variable "server_pid".
6640
bf40a607
YQ
66412014-10-11 Yao Qi <yao@codesourcery.com>
6642
6643 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6644
052ca370
YQ
66452014-10-11 Yao Qi <yao@codesourcery.com>
6646
6647 * gdb.threads/thread-find.exp: Don't execute command
6648 "info threads".
6649 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6650 * gdb.threads/linux-dp.exp: Don't check the condition
6651 $threads_created equals to zero.
6652
3831839c
PA
66532014-10-10 Pedro Alves <palves@redhat.com>
6654
6655 * gdb.base/bigcore.exp: Remove references to IRIX.
6656 * gdb.base/funcargs.exp: Likewise.
6657 * gdb.base/interrupt.exp: Likewise.
6658 * gdb.base/mips_pro.exp: Likewise.
6659 * gdb.base/nodebug.exp: Likewise.
6660 * gdb.base/setvar.exp: Likewise.
6661 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6662
8b9a549d
PA
66632014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6664 Pedro Alves <palves@redhat.com>
6665
6666 PR symtab/14466
6667 * gdb.base/vdso-warning.c: New file.
6668 * gdb.base/vdso-warning.exp: New file.
6669
d48ba5e8
DE
66702014-10-02 Doug Evans <dje@google.com>
6671
6672 * gdb.base/structs.c (main): Don't run forever.
6673
2278c276
PA
66742014-10-02 Pedro Alves <palves@redhat.com>
6675
6676 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6677 (top level) <stop threads 1, stop threads 2>: Use it.
6678
b57bacec
PA
66792014-10-02 Pedro Alves <palves@redhat.com>
6680
6681 * gdb.threads/break-while-running.exp (test): Add new
6682 'update_thread_list' argument. Skip "info threads" if false.
6683 (top level): Add new 'update_thread_list' axis.
6684
13fd3ff3
PA
66852014-10-02 Pedro Alves <palves@redhat.com>
6686
6687 PR breakpoints/17431
6688 * gdb.base/execl-update-breakpoints.c: New file.
6689 * gdb.base/execl-update-breakpoints.exp: New file.
6690
0fec99e8
PA
66912014-10-01 Pedro Alves <palves@redhat.com>
6692
6693 * gdb.base/breakpoint-in-ro-region.c: New file.
6694 * gdb.base/breakpoint-in-ro-region.exp: New file.
6695
2ddf4301
SM
66962014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6697
6698 * gdb.mi/mi-exit-code.exp: New file.
6699 * gdb.mi/mi-exit-code.c: New file.
6700
6a5f3f43
YQ
67012014-09-30 Yao Qi <yao@codesourcery.com>
6702
6703 * lib/prelink-support.exp (build_executable_own_libs): Error if
6704 the target isn't native.
6705
345bcc73
YQ
67062014-09-30 Yao Qi <yao@codesourcery.com>
6707
6708 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6709 false.
6710
a25a5a45
PA
67112014-09-22 Pedro Alves <palves@redhat.com>
6712
6713 * gdb.threads/break-while-running.exp: New file.
6714 * gdb.threads/break-while-running.c: New file.
6715
00ba3162
YQ
67162014-09-19 Yao Qi <yao@codesourcery.com>
6717
6718 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6719 Invoke test. Restart GDB with --readnow and invoke test again.
6720
c3b7b696
YQ
67212014-09-19 Yao Qi <yao@codesourcery.com>
6722
6723 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6724 proc set_breakpoint_on_gcd_function. Invoke
6725 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6726 invoke set_breakpoint_on_gcd_function again.
6727
2b4fd423
DE
67282014-09-18 Doug Evans <dje@google.com>
6729
6730 * gdb.dwarf2/symtab-producer.exp: New file.
6731
a5947601
SDJ
67322014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6733
6734 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6735 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6736 * gdb.base/global-var-nested-by-dso.c: Likewise.
6737 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6738
91c19059
SDJ
67392014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6740 Pedro Alves <palves@redhat.com>
6741
6742 * gdb.base/watch-bitfields.exp: Pass string other than test file
6743 name to prepare_for_testing.
6744 (watch): New procedure.
6745 (expect_watchpoint): Use with_test_prefix.
6746 (top level): Factor out tests to ...
6747 (test_watch_location, test_regular_watch): ... these new
6748 procedures, and use with_test_prefix and gdb_continue_to_end.
6749
bb9d5f81
PP
67502014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6751
6752 PR breakpoints/12526
6753 * gdb.base/watch-bitfields.exp: New file.
6754 * gdb.base/watch-bitfields.c: New file.
6755
635856f5
PA
67562014-09-16 Pedro Alves <palves@redhat.com>
6757
6758 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6759 software and hardware addresses, not software address against
6760 itself.
6761
7280ceea
PA
67622014-09-16 Pedro Alves <palves@redhat.com>
6763
6764 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6765 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6766
428b16bd
PA
67672014-09-16 Pedro Alves <palves@redhat.com>
6768
6769 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6770 files.
6771 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6772 "*-*-vxworks*" throughout.
6773 * gdb.base/break.exp: Likewise.
6774 * gdb.base/default.exp: Likewise.
6775 * gdb.base/scope.exp: Likewise.
6776 * gdb.base/sepdebug.exp: Likewise.
6777 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6778 throughout.
6779 * gdb.base/run.c: Likewise.
6780 * gdb.base/sepdebug.c: Likewise.
6781 * gdb.hp/gdb.aCC/run.c: Likewise.
6782 * gdb.reverse/until-reverse.c: Likewise.
6783 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6784
666d413c
YQ
67852014-09-16 Yao Qi <yao@codesourcery.com>
6786
6787 * boards/local-remote-host-native.exp: New file.
6788
57cbd724
DE
67892014-09-14 Doug Evans <xdje42@gmail.com>
6790
6791 * gdb.threads/queue-signal.c (thread_count): New variable.
6792 (thread_count_mutex, thread_count_condvar): New variables.
6793 (incr_thread_count, wait_all_threads_running): New functions.
6794 (main): Wait for all threads to be in their thread functions.
6795
81219e53
DE
67962014-09-13 Doug Evans <xdje42@gmail.com>
6797
6798 * gdb.threads/queue-signal.c: New file.
6799 * gdb.threads/queue-signal.exp: New file.
6800
3714cea7
DE
68012014-09-13 Doug Evans <xdje42@gmail.com>
6802
6803 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6804 be consistent with what default_gdb_init uses.
6805 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6806 the plain text of the prompt. Add some logging printfs.
6807 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6808
fa43b1d7
PA
68092014-09-12 Pedro Alves <palves@redhat.com>
6810
6811 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6812 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6813 * gdb.arch/i386-size-overlap.exp: Likewise.
6814 * gdb.arch/i386-size.exp: Likewise.
6815 * gdb.arch/i386-unwind.exp: Likewise.
6816 * gdb.base/a2-run.exp: Likewise.
6817 * gdb.base/break.exp: Likewise.
6818 * gdb.base/charset.exp: Likewise.
6819 * gdb.base/chng-syms.exp: Likewise.
6820 * gdb.base/commands.exp: Likewise.
6821 * gdb.base/dbx.exp: Likewise.
6822 * gdb.base/find.exp: Likewise.
6823 * gdb.base/funcargs.exp: Likewise.
6824 * gdb.base/jit-simple.exp: Likewise.
6825 * gdb.base/reread.exp: Likewise.
6826 * gdb.base/sepdebug.exp: Likewise.
6827 * gdb.base/step-bt.exp: Likewise.
6828 * gdb.cp/mb-inline.exp: Likewise.
6829 * gdb.cp/mb-templates.exp: Likewise.
6830 * gdb.objc/basicclass.exp: Likewise.
6831 * gdb.threads/killed.exp: Likewise.
6832
9d9bf2df
EBM
68332014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6834
6835 PR tdep/17379
6836 * gdb.arch/powerpc-stackless.S: New file.
6837 * gdb.arch/powerpc-stackless.exp: New file.
6838
1cf2f1b0
JK
68392014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6840
6841 * gdb.base/attach.c: Include unistd.h.
6842 (main): Call alarm. Add label postloop.
6843 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6844 gdb_breakpoint, gdb_continue_to_breakpoint.
6845 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6846
98880d46
PA
68472014-09-11 Pedro Alves <palves@redhat.com>
6848
6849 PR gdb/17347
6850 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6851 * gdb.base/attach.exp (test_command_line_attach_run): New
6852 procedure.
6853 (top level): Call it.
6854
4c92ff2c
PA
68552014-09-11 Pedro Alves <palves@redhat.com>
6856
6857 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6858 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6859 (do_command_attach_tests): Use spawn_wait_for_attach.
6860 * gdb.base/solib-overlap.exp: Likewise.
6861 * gdb.multi/multi-attach.exp: Likewise.
6862 * gdb.python/py-prompt.exp: Likewise.
6863 * gdb.python/py-sync-interp.exp: Likewise.
6864 * gdb.server/ext-attach.exp: Likewise.
6865
3adc1a7d
GKB
68662014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6867
6868 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6869 command in testcase. Simplify testcase.
6870
96334934
JB
68712014-09-10 Joel Brobecker <brobecker@adacore.com>
6872
6873 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6874
eb479039
JB
68752014-09-10 Joel Brobecker <brobecker@adacore.com>
6876
6877 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6878
deede10c
JB
68792014-09-10 Joel Brobecker <brobecker@adacore.com>
6880
6881 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6882
7828a5f5
JB
68832014-09-10 Joel Brobecker <brobecker@adacore.com>
6884
6885 * gdb.dwarf2/dynarr-ptr.c: New file.
6886 * gdb.dwarf2/dynarr-ptr.exp: New file.
6887
33aeebcf
MR
68882014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6889
6890 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6891 of 30 rather than hardcoding 120 for a slow test case. Take the
6892 `gdb,timeout' target setting into account for this calculation.
6893 Don't extend the timeout for the test cases that don't need it.
6894
7b415901
MR
68952014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6896
6897 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6898 a factor of 2 for a slow test case. Take the `gdb,timeout'
6899 target setting into account for this calculation.
6900 * gdb.reverse/until-precsave.exp: Increase the timeout by
6901 a factor of 15 and 3 respectively rather than adding 120
6902 for a pair of slow test cases. Take the `gdb,timeout'
6903 target setting into account for this calculation.
6904
4a40f85a
MR
69052014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6906
6907 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6908 timeout, don't pass one down to gdb_expect.
6909 (gdb_expect): Rework timeout selection.
6910
09635af7
MR
69112014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6912
6913 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6914 exception on timeout.
6915 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6916 (gdbserver_start_extended): Catch any `gdbserver_start' error
6917 exceptions.
6918 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6919 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6920 `gdbserver_gdb_load' error exceptions.
6921
2bdd10b7
MR
69222014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6923
6924 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6925 120 on waiting for the TCP socket to open.
6926
316935f0
DE
69272014-09-09 Doug Evans <xdje42@gmail.com>
6928
6929 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6930 _caller_matches, _any_caller_is, _any_caller_matches.
6931
83740597
DE
69322014-09-09 Doug Evans <xdje42@gmail.com>
6933
6934 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6935
4c122fc3
YQ
69362014-09-09 Yao Qi <yao@codesourcery.com>
6937
6938 * gdb.mi/mi-var-display.exp: Set print symbol off.
6939
a9f116cb
GKB
69402014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6941
6942 PR gdb/17035
6943 * gdb.base/commands.exp: Add tests to verify user-defined
6944 commands with empty bodies.
6945 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6946 python commands in `show user command`.
6947 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6948 scheme commands in `show user command`.
6949
c75bd3a2
JK
69502014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6951
6952 PR python/17355
6953 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6954 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6955 * gdb.python/py-framefilter-invalidarg.exp: New file.
6956 * gdb.python/py-framefilter-invalidarg.py: New file.
6957
faa42425
DE
69582014-09-06 Doug Evans <xdje42@gmail.com>
6959
6960 PR 15276
6961 * gdb.python/py-caller-is.c: New file.
6962 * gdb.python/py-caller-is.exp: New file.
6963
474ca4f6
SDJ
69642014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6965
6966 PR gdb/17235
6967 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6968 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6969
eb0b0463
SDJ
69702014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6971
6972 PR fortran/17237
6973 * gdb.fortran/print-formatted.exp: New file.
6974 * gdb.fortran/print-formatted.f90: Likewise.
6975
5f3b99cf
SS
69762014-09-03 Sasha Smundak <asmundak@google.com>
6977
6978 * gdb.python/py-frame.exp: Test Frame.read_register.
6979
7d793aa9
SDJ
69802014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6981
6982 PR python/16699
6983 * gdb.python/py-completion.exp: New file.
6984 * gdb.python/py-completion.py: Likewise.
6985
fb0576e9
DE
69862014-08-28 Doug Evans <dje@google.com>
6987
6988 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6989 eax,etc. are live with values set by gdb and thus the compiler can't
6990 use them.
6991 * gdb.arch/i386-pseudo.c (main): Ditto.
6992
ee92b0dd
DE
69932014-08-27 Doug Evans <dje@google.com>
6994
6995 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6996
6649db35
DE
69972014-08-25 Doug Evans <dje@google.com>
6998
6999 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
7000 (main): Ditto.
7001
564b7600
DE
70022014-08-25 Doug Evans <dje@google.com>
7003
7004 * gdb.threads/thread-execl.exp: #include <stdio.h>.
7005
3881fb67
YQ
70062014-08-24 Yao Qi <yao@codesourcery.com>
7007
7008 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
7009 symbol off.
7010 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
7011
a05a36a5
DE
70122014-08-22 Doug Evans <dje@google.com>
7013
7014 PR 17276
7015 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
7016 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
7017 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
7018
7c343b48
YQ
70192014-08-22 Yao Qi <yao@codesourcery.com>
7020
7021 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
7022 * gdb.python/py-finish-breakpoint2.exp: Likewise.
7023 * gdb.python/python.exp: Likewise. Use .py file on the host
7024 instead of the build.
7025
22fd09ae
JK
70262014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7027
7028 * gdb.threads/gcore-stale-thread.c: New file.
7029 * gdb.threads/gcore-stale-thread.exp: New file.
7030
a8454a7c
PA
70312014-08-21 Pedro Alves <palves@redhat.com>
7032
7033 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
7034 * gdb.base/gcore-relro-pie.exp: Likewise.
7035 * gdb.base/gcore-relro.exp: Likewise.
7036 * gdb.base/gcore.exp: Likewise.
7037 * gdb.base/print-symbol-loading.exp: Likewise.
7038 * gdb.threads/gcore-thread.exp: Likewise.
7039 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
7040
2a31c623
PA
70412014-08-20 Pedro Alves <palves@redhat.com>
7042 Jan Kratochvil <jan.kratochvil@redhat.com>
7043
7044 * Makefile.in (EXTRA_RULES, CC): New variables, get from
7045 configure.
7046 (EXPECT): Handle READ1 being set.
7047 (all): Depend on EXTRA_RULES.
7048 (check-read1, expect-read1, read1.so, read1): New rules.
7049 * README (Testsuite Parameters): Document the READ1 make variable.
7050 (Race detection): New section.
7051 * configure: Regenerate.
7052 * configure.ac: If build==host==target, and running under a
7053 GNU/glibc system, add read1 to the extra Makefile rules.
7054 (EXTRA_RULES): AC_SUBST it.
7055 * lib/read1.c: New file.
7056
d36430db
JB
70572014-08-20 Joel Brobecker <brobecker@adacore.com>
7058
7059 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
7060 the handling of variables declared as a typedef to an array
7061 which a DW_AT_data_location attribute.
7062
9a0dc9e3
PA
70632014-08-19 Andrew Burgess <aburgess@broadcom.com>
7064 Pedro Alves <palves@redhat.com>
7065
7066 PR symtab/14604
7067 PR symtab/14605
7068 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
7069 gdb_test.
7070
0718a8da
PA
70712014-08-19 Pedro Alves <palves@redhat.com>
7072
7073 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
7074
13b448cd
YQ
70752014-08-19 Yao Qi <yao@codesourcery.com>
7076
7077 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
7078 right line.
7079
1cbf5077
DB
70802014-08-18 David Blaikie <dblaikie@gmail.com>
7081
7082 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
7083
bf0fae19
JB
70842014-08-18 Joel Brobecker <brobecker@adacore.com>
7085
7086 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
7087 attribute in array range.
7088
3c8c5dcc
JB
70892014-08-18 Joel Brobecker <brobecker@adacore.com>
7090
7091 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
7092
e66d4446
SC
70932014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7094
7095 PR c++/17132
7096 * gdb.cp/pr17132.cc: New file.
7097 * gdb.cp/pr17132.exp: New file.
7098
940df408
SC
70992014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7100
7101 * gdb.python/py-xmethods.py (A_getarrayind)
7102 (E_method_char_worker.__call__, E_method_int_worker.__call__):
7103 Use 'print' with function call syntax.
7104 (E_method_matcher.match): Fix tab vs space indentation mixup.
7105
ebcc6c3a
YQ
71062014-08-15 Yao Qi <yao@codesourcery.com>
7107
7108 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
7109 false.
7110
775e0f04
YQ
71112014-08-15 Yao Qi <yao@codesourcery.com>
7112
7113 * gdb.cp/casts.exp: Set print symbol off.
7114 * gdb.cp/class2.exp: Likewise.
7115 * gdb.cp/overload.exp: Likewise.
7116 * gdb.cp/templates.exp: Likewise.
7117
d769e349
DE
71182014-08-11 Doug Evans <dje@google.com>
7119
7120 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
7121 (test_load_shlib): Update.
7122
20c6f1e1
YQ
71232014-08-09 Yao Qi <yao@codesourcery.com>
7124
7125 * gdb.base/display.exp: Invoke is_address_zero_readable.
7126 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
7127 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
7128 * gdb.base/hbreak-unmapped.exp: Return if
7129 is_address_zero_readable returns true.
7130 * gdb.base/signest.exp: Likewise.
7131 * gdb.base/signull.exp: Likewise.
7132 * gdb.base/sigbpt.exp: Likewise.
7133 * gdb.guile/scm-disasm.exp: Do the test if
7134 is_address_zero_readable returns false.
7135 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
7136 * gdb.python/py-arch.exp: Likewise.
7137 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
7138 * lib/gdb.exp (is_address_zero_readable): New proc.
7139
5792e8e3
YQ
71402014-08-09 Yao Qi <yao@codesourcery.com>
7141
7142 PR testsuite/13443
7143 * gdb.mi/mi-var-display.exp: Make test messages unique.
7144
3cecbbbe
TT
71452014-08-04 Tom Tromey <tromey@redhat.com>
7146
7147 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
7148 target 0".
7149
00b51ff5
TT
71502014-08-04 Tom Tromey <tromey@redhat.com>
7151
7152 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
7153 "target_resume".
7154
6908c509
JB
71552014-08-01 Joel Brobecker <brobecker@adacore.com>
7156
7157 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
7158 inner_vla_struct_object_size.
7159 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
7160 as xfail.
7161
cc6563d2
PA
71622014-07-30 Pedro Alves <palves@redhat.com>
7163
7164 * gdb.threads/signal-command-handle-nopass.exp (test): Add
7165 comment.
7166
7e09a223
YQ
71672014-07-29 Yao Qi <yao@codesourcery.com>
7168
7169 PR gdb/17206
7170 * gdb.base/until-nodebug.exp: New.
7171
7ebdbe92
DE
71722014-07-28 Doug Evans <xdje42@gmail.com>
7173
7174 PR guile/17203
7175 * gdb.guile/scm-parameter.exp: Add tests for trying to create
7176 previously existing parameter, and previously ambiguously spelled
7177 parameter.
7178
fdb1adc6
WN
71792014-07-28 Will Newton <will.newton@linaro.org>
7180
7181 * gdb.base/varargs.exp: Remove KFAILs for ARM.
7182
186fcde0
DE
71832014-07-26 Ludovic Courtès <ludo@gnu.org>
7184 Doug Evans <xdje42@gmail.com>
7185
7186 PR guile/17146
7187 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
7188
70509625
PA
71892014-07-25 Pedro Alves <palves@redhat.com>
7190
7191 * gdb.threads/signal-command-handle-nopass.c: New file.
7192 * gdb.threads/signal-command-handle-nopass.exp: New file.
7193 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
7194 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
7195 * gdb.threads/signal-delivered-right-thread.c: New file.
7196 * gdb.threads/signal-delivered-right-thread.exp: New file.
7197
c3f814a1
PA
71982014-07-25 Pedro Alves <palves@redhat.com>
7199
7200 * gdb.base/double-prompt-target-event-error.exp
7201 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
7202 match.
7203 (cancel_pagination_in_target_event): Rework double prompt
7204 detection.
7205 * gdb.base/paginate-after-ctrl-c-running.exp
7206 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
7207 <return>' match.
7208 * gdb.base/paginate-bg-execution.exp
7209 (test_bg_execution_pagination_return)
7210 (test_bg_execution_pagination_cancel): Remove '-notransfer
7211 <return>' matches.
7212 * gdb.base/paginate-execution-startup.exp
7213 (test_fg_execution_pagination_return)
7214 (test_fg_execution_pagination_cancel): Remove '-notransfer
7215 <return>' matches.
7216 * gdb.base/paginate-inferior-exit.exp
7217 (test_paginate_inferior_exited): Remove '-notransfer <return>'
7218 match.
7219 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
7220 * lib/gdb.exp (pagination_prompt): Run text through
7221 string_to_regexp.
7222 (gdb_test_multiple): Match $pagination_prompt instead of
7223 "<return>".
7224 (string_to_regexp): Move to lib/gdb-utils.exp.
7225
e214cf6c
JK
72262014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7227
7228 * gdb.arch/amd64-entry-value-paramref.S: New file.
7229 * gdb.arch/amd64-entry-value-paramref.cc: New file.
7230 * gdb.arch/amd64-entry-value-paramref.exp: New file.
7231 * gdb.arch/amd64-optimout-repeat.S: New file.
7232 * gdb.arch/amd64-optimout-repeat.c: New file.
7233 * gdb.arch/amd64-optimout-repeat.exp: New file.
7234
17d0c5c8
JK
72352014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7236
7237 PR gdb/17170
7238 * gdb.base/statistics.exp: New file.
7239
b8b8facf
DE
72402014-07-17 Doug Evans <dje@google.com>
7241
74b49205 7242 PR gdb/17170
b8b8facf
DE
7243 * gdb.base/maint.exp: Update testing of per-command stats.
7244
1b5d0ab3
PA
72452014-07-16 Pedro Alves <palves@redhat.com>
7246
7247 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
7248 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
7249 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
7250 (tfile_write_buf): New functions.
7251 (add_memory_block): Rewrite using the above.
7252 (adjust_function_address): New function.
7253 (FUNCTION_ADDRESS): New macro.
7254 (write_basic_trace_file): Remove short_x local, and use
7255 tfile_write_16. Change type of func_addr local to unsigned long
7256 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
7257 here. Cast argument of add_memory_block to char pointer.
7258 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
7259 (main): Remove parameters.
7260 * gdb.trace/tfile.exp: Remove nowarnings.
7261
4d974e88
SM
72622014-07-15 Simon Marchi <simon.marchi@ericsson.com>
7263
7264 * gdb.base/debug-expr.exp: Test string evaluation with
7265 "debug expression" on.
7266
41e99568
PA
72672014-07-15 Pedro Alves <palves@redhat.com>
7268
7269 * gdb.base/reread.exp: Use clean_restart.
7270
487d9753
PL
72712014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
7272
7273 * gdb.arch/avr-flash-qualifer.c: New.
7274 * gdb.arch/avr-flash-qualifer.exp: New.
7275
cc1c52ad
PA
72762014-07-14 Pedro Alves <palves@redhat.com>
7277
7278 * gdb.base/paginate-after-ctrl-c-running.c: New file.
7279 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
7280
1e973570
PA
72812014-07-14 Pedro Alves <palves@redhat.com>
7282
7283 * gdb.base/double-prompt-target-event-error.c: New file.
7284 * gdb.base/double-prompt-target-event-error.exp: New file.
7285
93d6eb10
PA
72862014-07-14 Pedro Alves <palves@redhat.com>
7287
7288 PR gdb/17072
7289 * gdb.base/paginate-inferior-exit.c: New file.
7290 * gdb.base/paginate-inferior-exit.exp: New file.
7291
0017922d
PA
72922014-07-14 Pedro Alves <palves@redhat.com>
7293
7294 PR gdb/17072
7295 * gdb.base/paginate-bg-execution.c: New file.
7296 * gdb.base/paginate-bg-execution.exp: New file.
7297
94696ad3
PA
72982014-07-14 Pedro Alves <palves@redhat.com>
7299
7300 PR gdb/17072
7301 * gdb.base/paginate-execution-startup.c: New file.
7302 * gdb.base/paginate-execution-startup.exp: New file.
7303 * lib/gdb.exp (pagination_prompt): New global.
7304 (default_gdb_spawn): New procedure, factored out from
7305 default_gdb_spawn.
7306 (default_gdb_start): Adjust to call default_gdb_spawn.
7307 (gdb_spawn): New procedure.
7308
bd293940
PA
73092014-07-14 Pedro Alves <palves@redhat.com>
7310
7311 * lib/gdb.exp (gdb_assert): New procedure.
7312 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
7313
c933f875
PA
73142014-07-14 Pedro Alves <palves@redhat.com>
7315
7316 * gdb.base/execution-termios.c: New file.
7317 * gdb.base/execution-termios.exp: New file.
7318
d98b7a16
TT
73192014-07-14 Tom Tromey <tromey@redhat.com>
7320
7321 * gdb.cp/vla-cxx.cc: New file.
7322 * gdb.cp/vla-cxx.exp: New file.
7323
548740d6
TT
73242014-07-14 Tom Tromey <tromey@redhat.com>
7325
7326 * gdb.reverse/rerun-prec.c: New file.
7327 * gdb.reverse/rerun-prec.exp: New file.
7328
a25eb028
MR
73292014-07-12 Maciej W. Rozycki <macro@mips.com>
7330 Maciej W. Rozycki <macro@codesourcery.com>
7331
7332 * lib/gdb-utils.exp: New file.
7333 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
7334 inline `gdb_init_command' processing.
7335 (gdb_start_cmd): Likewise.
7336 * lib/mi-support.exp (mi_run_cmd): Likewise.
7337 * README: Document `gdb_init_command' and `gdb_init_commands'.
7338
218c2655
JK
73392014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7340
7341 Fix false FAIL running under a very long directory name.
7342 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
7343 and "set print elements 10000". Twice.
7344
5401fde3
YQ
73452014-07-11 Yao Qi <yao@codesourcery.com>
7346
7347 * gdb.base/exprs.exp: "set print symbol off".
7348
e76126e8
PA
73492014-07-11 Pedro Alves <palves@redhat.com>
7350
7351 * gdb.threads/kill.c: New file.
7352 * gdb.threads/kill.exp: New file.
7353
2d6f0de6
YQ
73542014-07-10 Yao Qi <yao@codesourcery.com>
7355
7356 * gdb.trace/tfile.c (write_basic_trace_file)
7357 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
7358 address written to trace file.
7359
7180e04a
PA
73602014-07-09 Pedro Alves <palves@redhat.com>
7361
7362 * gdb.base/attach-wait-input.exp: New file.
7363 * gdb.base/attach-wait-input.c: New file.
7364
9a9a7608
AB
73652014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7366
7367 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
7368 setting up test structures.
7369 (main): Call new test function.
7370 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
7371 test function, continue into test function and walk test
7372 structures.
7373
161ac41e
YQ
73742014-07-02 Yao Qi <yao@codesourcery.com>
7375
7376 * gdb.trace/entry-values.c: Define labels 'foo_start' and
7377 'bar_start' at the beginning of functions 'foo' and 'bar'
7378 respectively.
7379 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
7380 instead of 'foo' and 'bar'.
7381
1f267ae3
MM
73822014-07-08 Markus Metzger <markus.t.metzger@intel.com>
7383
7384 * gdb.btrace/segv.exp: New.
7385 * gdb.btrace/segv.c: New.
7386
2b239efb
LM
73872014-07-02 Luis Machado <lgustavo@codesourcery.com>
7388
7389 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
7390 instruction.
7391
cf363f18
MW
73922014-06-30 Mark Wielaard <mjw@redhat.com>
7393
7394 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
7395 vulture, vilify, villar): New volatile array constants.
7396 (vindictive, vegetation): New const volatile array constants.
7397 * gdb.base/volatile.exp: Test volatile and const volatile array
7398 types.
7399
aebf9d24
AA
74002014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7401
7402 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
7403 target lacks support for awatch, rwatch, or hbreak.
7404
b67a2c6f
YQ
74052014-06-27 Yao Qi <yao@codesourcery.com>
7406
7407 * gdb.multi/dummy-frame-restore.exp: New.
7408 * gdb.multi/dummy-frame-restore.c: New.
7409
aef92902
MM
74102014-06-25 Markus Metzger <markus.t.metzger@intel.com>
7411
7412 * gdb.btrace/gcore.exp: New.
7413
8e9db26e
PA
74142014-06-23 Pedro Alves <palves@redhat.com>
7415
7416 * gdb.base/watchpoint-reuse-slot.c: New file.
7417 * gdb.base/watchpoint-reuse-slot.exp: New file.
7418
70afc5b7
SC
74192014-06-23 Siva Chandra Reddy <sivachandra@google.com>
7420
7421 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
7422 progspace's filename in 'info', 'enable' and 'disable' command
7423 tests.
7424
b972bd9c
JK
74252014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7426
7427 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
7428 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7429 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
7430
125f8a3d
GB
74312014-06-20 Gary Benson <gbenson@redhat.com>
7432
7433 * gdb.arch/i386-avx.exp: Fix include file location.
7434 * gdb.arch/i386-sse.exp: Likewise.
7435
3ed9baed
IB
74362014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7437
7438 * gdb.dlang/expression.exp: New file.
7439
034f788c
PA
74402014-06-19 Pedro Alves <palves@redhat.com>
7441
7442 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7443 out from ...
7444 (top level): ... here. Iterate running tests under different
7445 scheduler-locking settings.
7446
45371d0c
LM
74472014-06-18 Luis Machado <lgustavo@codesourcery.com>
7448
7449 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7450 to DW_FORM_addr and use non-zero addresses.
7451
5d376983
SC
74522014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7453
7454 PR gdb/17017
7455 * gdb.python/py-xmethods.cc: Add global function call counters and
7456 increment them in their respective functions. Remove "cout"
7457 statements.
7458 * gdb.python/py-xmethods.exp: Make tests check the global function
7459 call counters instead of depending on inferior IO.
7460
a1aa2221
LM
74612014-06-18 Don Breazeal <donb@codesourcery.com>
7462
7463 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7464 Deleted procedure.
7465 (explicit_fork_parent_follow): Deleted procedure.
7466 (explicit_fork_child_follow): Deleted procedure.
7467 (test_follow_fork): New procedure.
7468 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 7469 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
7470 procedure calls.
7471
0fc05997
YQ
74722014-06-17 Yao Qi <yao@codesourcery.com>
7473
7474 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7475 CP1252.
7476
70795c52
LM
74772014-06-17 Luis Machado <lgustavo@codesourcery.com>
7478
7479 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7480 Initialize ptr and S explicitly.
7481 (skip_type_update_when_not_use_rtti_test): Likewise.
7482
6be47f0c
KS
74832014-06-16 Keith Seitz <keiths@redhat.com>
7484
7485 PR mi/15863
7486 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7487 the inferior is started.
7488
d03de421
PA
74892014-06-16 Pedro Alves <palves@redhat.com>
7490
7491 * gdb.base/break-main-file-remove-fail.c: New file.
7492 * gdb.base/break-main-file-remove-fail.exp: New file.
7493 * gdb.base/break-unload-file.exp: Use build_executable instead of
7494 prepare_for_testing.
7495 (test_break): New parameter "initial_load". Handle it.
7496 (top level): Add initial_load cmdline/file axis.
7497
f9579b99
TT
74982014-06-12 Tom Tromey <tromey@redhat.com>
7499
7500 * gdb.base/completion.exp: Don't use directory name in test.
7501
3657956b
GB
75022014-06-09 Gary Benson <gbenson@redhat.com>
7503
7504 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7505 separate the always-available ANSI-standard signals from the
7506 signals that require checking.
7507 (main): Likewise.
7508 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7509 Likewise.
7510 (main): Likewise.
7511
4186eb54
KS
75122014-06-07 Keith Seitz <keiths@redhat.com>
7513
7514 Revert:
7515 PR c++/16253
7516 * gdb.cp/var-tag.cc: New file.
7517 * gdb.cp/var-tag.exp: New file.
7518 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7519 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7520 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7521 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7522
25326a28 75232014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
7524
7525 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7526
829155c9
PA
75272014-06-06 Pedro Alves <palves@redhat.com>
7528
7529 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7530 in target debug output instead of looking at RSP packets,
7531 disabling the test on any target that uses hardware stepping.
7532 Update comments.
7533
61c8d22e
PA
75342014-06-06 Pedro Alves <palves@redhat.com>
7535
7536 * gdb.base/break-unload-file.exp: Fix typo.
7537
d9a47287
YQ
75382014-06-06 Yao Qi <yao@codesourcery.com>
7539
7540 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7541 from "jit_function" to "^jit_function".
7542
e5e01dbf
YQ
75432014-06-06 Yao Qi <yao@codesourcery.com>
7544
7545 * gdb.base/async.c (foo): Add one statement.
7546 * gdb.base/async.exp: Get the next instruction address and
7547 match the output of "nexti" by instruction address. Match
7548 the hex address in the output of "finish".
7549
73ba372c
GB
75502014-06-06 Gary Benson <gbenson@redhat.com>
7551
7552 * gdb.base/call-signals.c: Remove preprocessor conditionals
7553 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7554 SIGSEGV and SIGTERM.
7555 * gdb.base/sigall.c: Likewise.
7556 * gdb.base/unwindonsignal.c: Likewise.
7557 * gdb.reverse/sigall-reverse.c: Likewise.
7558
831517df
YQ
75592014-06-06 Yao Qi <yao@codesourcery.com>
7560
7561 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7562 readable, skip the test.
7563
b8b91e98
YQ
75642014-06-06 Yao Qi <yao@codesourcery.com>
7565
7566 * gdb.threads/staticthreads.c (thread_function): Move the line
7567 setting breakpoint on forward.
7568 * gdb.threads/staticthreads.exp: Update comments.
7569
fb934770
LC
75702014-06-05 Ludovic Courtès <ludo@gnu.org>
7571
7572 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7573 "history-append! type error".
7574
6ef284bd
SM
75752014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7576
7577 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7578 erroneous dprintf expected input.
7579
a872e241
DE
75802014-06-04 Doug Evans <xdje42@gmail.com>
7581
7582 * gdb.guile/scm-generics.exp: Delete.
7583
16f691fb
DE
75842014-06-04 Doug Evans <xdje42@gmail.com>
7585
7586 * gdb.guile/scm-breakpoint.exp: Update.
7587 Add tests for breakpoint registration.
7588
012370f6
TT
75892014-06-04 Tom Tromey <tromey@redhat.com>
7590
7591 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7592 VLA-in-union.
7593 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7594 inner_vla_struct, vla_union types. Initialize objects of those
7595 types and compute their sizes.
7596
9f5a4cef
HZ
75972014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7598 Hui Zhu <hui@codesourcery.com>
7599
7600 * gdb.base/fileio.exp: Add test for shell not available as well as
7601 available.
7602 * gdb.base/fileio.c (test_system): Check for shell twice.
7603
90a45c4d
YQ
76042014-06-04 Yao Qi <yao@codesourcery.com>
7605
7606 * gdb.base/auto-connect-native-target.exp: Remove redundant
7607 space from the regexp pattern.
7608
70017e41
YQ
76092014-06-04 Yao Qi <yao@codesourcery.com>
7610
7611 * gdb.base/default.exp: Replace "child" with "native" in
7612 regexp pattern.
7613
883964a7
SC
76142014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7615
7616 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7617 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7618 * gdb.python/py-xmethods.py: Python script supporting the
7619 new testcase and tests.
7620
ef370185
JB
76212014-06-03 Joel Brobecker <brobecker@adacore.com>
7622 Pedro Alves <palves@redhat.com>
7623
7624 PR breakpoints/17000
7625 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7626 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7627
1e2ccb61
BM
76282014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7629
7630 * gdb.base/subst.exp: Add tests to verify partial path matching
7631 output.
7632
c6ec5ab2
PA
76332014-06-03 Pedro Alves <palves@redhat.com>
7634
7635 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7636 target that doesn't use software single-stepping.
7637
835c559f
PA
76382014-06-03 Pedro Alves <palves@redhat.com>
7639
7640 PR breakpoints/17000
7641 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7642 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7643
06eb1586
DE
76442014-06-02 Doug Evans <xdje42@gmail.com>
7645
7646 * gdb.guile/scm-parameter.exp: New file.
7647
e698b8c4
DE
76482014-06-02 Doug Evans <xdje42@gmail.com>
7649
7650 * gdb.guile/scm-cmd.c: New file.
7651 * gdb.guile/scm-cmd.exp: New file.
7652
ded03782
DE
76532014-06-02 Doug Evans <xdje42@gmail.com>
7654
7655 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7656 pretty-printer lookup.
7657 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7658 (make-pp_s-printer): Call it.
7659 (make-pretty-printer-from-dict): New function.
7660 (lookup-pretty-printer-maker-from-dict): New function.
7661 (*pretty-printer*): Simplify.
7662 (make-objfile-pp_s-printer): New function.
7663 (install-objfile-pretty-printers!): New function.
7664 (make-progspace-pp_s-printer): New function.
7665 (install-progspace-pretty-printers!): New function.
7666 * gdb.guile/scm-progspace.c: New file.
7667 * gdb.guile/scm-progspace.exp: New file.
7668
41fac0cf
PA
76692014-06-02 Pedro Alves <palves@redhat.com>
7670
7671 * gdb.base/dprintf-bp-same-addr.c: New file.
7672 * gdb.base/dprintf-bp-same-addr.exp: New file.
7673
96ae5695
EBM
76742014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7675
7676 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7677 * gdb.arch/powerpc-power.s: Likewise.
7678
da02b3a8
JB
76792014-06-02 Joel Brobecker <brobecker@adacore.com>
7680
7681 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7682
c72b2e7b
YQ
76832014-06-01 Yao Qi <yao@codesourcery.com>
7684
7685 * gdb.base/watchpoint.exp (test_watch_location): Check null
7686 pointer can be dereferenced. If not, do the test, otherwise
7687 skip it.
7688
53e8a631
AB
76892014-05-30 Andrew Burgess <aburgess@broadcom.com>
7690
7691 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7692 results.
7693 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7694
938f0e2f
AB
76952014-05-30 Andrew Burgess <aburgess@broadcom.com>
7696
7697 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7698 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7699 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7700 * gdb.arch/amd64-invalid-stack-top.c: New file.
7701 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7702
9ba6657a
PA
77032014-05-30 Pedro Alves <palves@redhat.com>
7704
7705 PR breakpoints/17000
7706 * gdb.base/sss-bp-on-user-bp.c: New file.
7707 * gdb.base/sss-bp-on-user-bp.exp: New file.
7708
522c09bf
DB
77092014-05-30 David Blaikie <dblaikie@gmail.com>
7710
7711 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7712 gnu_inline semantics via attribute.
7713 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7714 source explicitly specifies the required semantics.
7715
bf4ef81e
MR
77162014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7717
7718 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7719
329ea579
PA
77202014-05-29 Pedro Alves <palves@redhat.com>
7721 Tom Tromey <tromey@redhat.com>
7722
7723 * gdb.base/async-shell.exp: Don't enable target-async.
7724 * gdb.base/async.exp
7725 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7726 parameter. Adjust.
7727 (top level): Don't test with "target-async".
7728 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7729 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7730 * gdb.base/inferior-died.exp: Don't enable target-async.
7731 * gdb.base/interrupt-noterm.exp: Likewise.
7732 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7733 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7734 * gdb.mi/mi-nonstop.exp: Likewise.
7735 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7736 * gdb.mi/mi-nsintrall.exp: Likewise.
7737 * gdb.mi/mi-nsmoribund.exp: Likewise.
7738 * gdb.mi/mi-nsthrexec.exp: Likewise.
7739 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7740 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7741 * gdb.python/py-evsignal.exp: Don't enable target-async.
7742 * gdb.python/py-evthreads.exp: Likewise.
7743 * gdb.python/py-prompt.exp: Likewise.
7744 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7745 * gdb.server/solib-list.exp: Don't enable target-async.
7746 * gdb.threads/thread-specific-bp.exp: Likewise.
7747 * lib/mi-support.exp: Adjust to use mi-async.
7748
fd664c91
PA
77492014-05-29 Pedro Alves <palves@redhat.com>
7750
7751 PR gdb/13860
7752 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7753 reason, even in sync mode.
7754
251bde03
PA
77552014-05-29 Pedro Alves <palves@redhat.com>
7756 Hui Zhu <hui@codesourcery.com>
7757
7758 PR PR15693
7759 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7760 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7761 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7762 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7763
7f3c0343
JB
77642014-05-28 Joel Brobecker <brobecker@adacore.com>
7765
7766 * config/monitor.exp (gdb_target_monitor): Replace use of
7767 "set remotebaud" by "set serial baud".
7768
b2715b27
AW
77692014-05-26 Andy Wingo <wingo@igalia.com>
7770
7771 * gdb.guile/scm-breakpoint.exp:
7772 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7773 properties instead of gdb-object-properties.
7774
498a4489
YQ
77752014-05-26 Yao Qi <yao@codesourcery.com>
7776
7777 * gdb.server/no-thread-db.exp: Specify source file name
7778 explicitly when setting a breakpoint.
7779
589fdceb
MM
77802014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7781
7782 * gdb.btrace/vdso.c: New.
7783 * gdb.btrace/vdso.exp: New.
7784
e9089e05
MM
77852014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7786
7787 * gdb.base/gcore.exp (capture_command_output): Move ...
7788 * lib/gdb.exp (capture_command_output): ... here.
7789
67b5c0c1
MM
77902014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7791
7792 * gdb.btrace/data.exp: Test memory access during btrace replay.
7793
a2199296
SM
77942014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7795
7796 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7797
17b2616c
PA
77982014-05-21 Pedro Alves <palves@redhat.com>
7799
7800 PR gdb/13860
7801 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7802 (top level): Test that output related to execution commands is
7803 sent to the console with CLI commands, but not with MI commands.
7804 Test that breakpoint events are always mirrored to the console.
7805 Also expect the new source line to be output after a "next" in
7806 async mode too. Make it a pass/fail test.
7807 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7808 output.
7809 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7810
5166082f
PA
78112014-05-21 Pedro Alves <palves@redhat.com>
7812
7813 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7814 Use them to test variations of "list" after reaching a breakpoint.
7815 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7816 Test "list" with listsize 10 after reaching a breakpoint.
7817 * gdb.python/python.exp (decode_line current location line
7818 number): Adjust expected line number.
7819
2f25d70f
SM
78202014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7821
7822 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7823 behavior for $args, pass it directly to "run".
7824
ff604a67
MR
78252014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7826
7827 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7828 30000 to 65536.
7829
6a3cb8e8
PA
78302014-05-21 Pedro Alves <palves@redhat.com>
7831
7832 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7833 auto-connect-native-target off".
7834 * gdb.base/auto-connect-native-target.c: New file.
7835 * gdb.base/auto-connect-native-target.exp: New file.
7836
4ebfc96e
PA
78372014-05-21 Pedro Alves <palves@redhat.com>
7838
7839 * gdb.base/default.exp: Test "target native" instead of "target
7840 child".
7841
36d46afb
MW
78422014-05-21 Mark Wielaard <mjw@redhat.com>
7843
7844 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7845
5876f503
JK
78462014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7847
7848 Fix TLS access for -static -pthread.
7849 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7850 <HAVE_TLS> (thread_function, main): Initialize it.
7851 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7852 Add clean_restart.
7853 <$have_tls != "">: Check TLSVAR.
7854
0256a6ac
PA
78552014-05-21 Pedro Alves <palves@redhat.com>
7856
7857 * gdb.base/dcache-line-read-error.c: New.
7858 * gdb.base/dcache-line-read-error.exp: New.
7859
936d2992
PA
78602014-05-20 Pedro Alves <palves@redhat.com>
7861
7862 * gdb.base/compare-sections.c: New file.
7863 * gdb.base/compare-sections.exp: New file.
7864
802e8e6d
PA
78652014-05-20 Pedro Alves <palves@redhat.com>
7866
7867 * gdb.base/break-idempotent.c: New file.
7868 * gdb.base/break-idempotent.exp: New file.
7869
e59fa00f
MM
78702014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7871
7872 * gdb.btrace/nohist.exp: New.
7873
8b696e31
YQ
78742014-05-20 Yao Qi <yao@codesourcery.com>
7875
7876 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7877 gdb.reverse directory and gdb_reverse_timeout exists in board
7878 setting.
7879 * README: Document gdb_reverse_timeout.
7880
73c9764f
YQ
78812014-05-20 Yao Qi <yao@codesourcery.com>
7882
7883 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7884 'test_file_name'. Treat args as a string instead of a list.
7885 (gdb_init): Rename argument 'args' by 'test_file_name'.
7886
f1f4348a
JK
78872014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7888
7889 * gdb.arch/powerpc-power.exp: New file.
7890 * gdb.arch/powerpc-power.s: New file.
7891
0dbe70ce
DE
78922014-05-16 Doug Evans <dje@google.com>
7893
7894 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
7895 * gdb.base/completion.exp: Check that all expected files exist
7896 before doing file completion.
0dbe70ce 7897
8d551b02
DE
78982014-05-16 Doug Evans <dje@google.com>
7899
7900 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7901 Update.
7902 (do_syscall_tests_without_xml): Update.
7903
73eb7709
PA
79042014-05-16 Pedro Alves <palves@redhat.com>
7905
7906 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7907 instead of "unknown output after running".
7908
3fae92fc
YQ
79092014-05-16 Yao Qi <yao@codesourcery.com>
7910
7911 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7912 file1.txt from host at the end.
7913 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7914
c2b2ccc5
DE
79152014-05-15 Doug Evans <dje@google.com>
7916
7917 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7918 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7919 loading file. Add test for TU lookup.
7920
8c217a4b
SM
79212014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7922
7923 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7924 calling "-exec-arguments" or "set args" before running the
7925 inferior.
7926
3deb39c6
SM
79272014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7928
7929 * lib/mi-support.exp (mi_expect_stop): Expect message for
7930 inferiors that exit with non-zero exit code.
7931
71a79f8c
YQ
79322014-05-14 Yao Qi <yao@codesourcery.com>
7933
7934 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7935 match absolute path on remote host.
7936 (test_file_list_exec_source_files): Remove "/" from the
7937 pattern.
7938
f23fcd46
YQ
79392014-05-14 Yao Qi <yao@codesourcery.com>
7940
7941 * boards/local-remote-host-notty.exp (${board}_file): New
7942 proc.
7943
9404b58f
KM
79442014-05-07 Kyle McMartin <kyle@redhat.com>
7945
7946 Pushed by Joel Brobecker <brobecker@adacore.com>.
7947 * gdb.arch/aarch64-atomic-inst.c: New file.
7948 * gdb.arch/aarch64-atomic-inst.exp: New file.
7949
5e45f04c
YQ
79502014-05-07 Yao Qi <yao@codesourcery.com>
7951
7952 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7953 in current context" too.
7954
c888a17d
KS
79552014-05-05 Keith Seitz <keiths@redhat.com>
7956
7957 * gdb.linespec/ls-dollar.exp: Add test for linespec
7958 file:convenience_variable.
7959
290a839c
YQ
79602014-05-05 Yao Qi <yao@codesourcery.com>
7961
7962 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7963 traceframes into tfile and ctf trace files. Read data from
7964 trace file and test collected data.
7965 (gdb_collect_locals_test): Likewise.
7966 (gdb_unavailable_registers_test): Likewise.
7967 (gdb_unavailable_floats): Likewise.
7968 (gdb_collect_globals_test): Likewise.
7969 (top-level): Append "ctf" to trace_file_targets if GDB
7970 supports.
7971
b5262cd0
YQ
79722014-05-05 Yao Qi <yao@codesourcery.com>
7973
7974 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7975 code to ...
7976 (gdb_collect_args_test_1): ... it. New proc.
7977 (gdb_collect_locals_test): Move some code to ...
7978 (gdb_collect_locals_test_1): ... it. New proc.
7979 (gdb_unavailable_registers_test): Move some code to ...
7980 (gdb_unavailable_registers_test_1): ... it. New proc.
7981 (gdb_unavailable_floats): Move some code to ...
7982 (gdb_unavailable_floats_1): ... it. New proc.
7983
30a1e6cc
SDJ
79842014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7985
7986 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7987 probes to test for bitness recognition.
7988 * gdb.arch/amd64-stap-optional-prefix.exp
7989 (test_probe_value_without_reg): New procedure.
7990 Add code to test for different kinds of bitness.
7991
f33da99a
SDJ
79922014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7993
7994 PR breakpoints/16889
7995 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7996 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7997
5b80f00d
PA
79982014-05-01 Pedro Alves <palves@redhat.com>
7999
8000 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
8001 gdb_file_cmd if no file is specified.
8002 * boards/native-extended-gdbserver.exp (gdb_load): Use the
8003 last_loaded_file to set the remote exec-file.
8004
f8c2a73c
PA
80052014-05-01 Pedro Alves <palves@redhat.com>
8006
8007 * boards/local-remote-host.exp: New file.
8008
be6e8ac7
PA
80092014-05-01 Pedro Alves <palves@redhat.com>
8010
8011 * boards/local-remote-host.exp: Rename to ...
8012 * boards/local-remote-host-notty.exp: ... this.
8013
cac0dc8f
JB
80142014-04-28 Joel Brobecker <brobecker@adacore.com>
8015
8016 * gdb.ada/dyn_arrayidx: New testcase.
8017
9730e6cc
YQ
80182014-04-26 Yao Qi <yao@codesourcery.com>
8019
8020 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
8021 and compute the length of function main. Save it in
8022 $main_length.
8023 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
8024 (top-level): Use gdb_compile to compile objects into
8025 executable and restart GDB. Remove invocation to
8026 prepare_for_testing.
8027
7ae1a6a6
PA
80282014-04-25 Simon Marchi <simon.marchi@ericsson.com>
8029 Pedro Alves <palves@redhat.com>
8030
8031 PR server/16255
8032 * gdb.multi/multi-attach.c: New file.
8033 * gdb.multi/multi-attach.exp: New file.
8034
4082afcc
PA
80352014-04-25 Pedro Alves <palves@redhat.com>
8036
8037 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
8038 user.
8039 (top level): Test that "set remote conditional-breakpoints-packet
8040 off" works as intended.
8041 * gdb.base/dprintf.exp: Test that "set remote
8042 breakpoint-commands-packet off" works as intended.
8043 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
8044 New function.
8045 (top level): Call it.
8046 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
8047 remote fast-tracepoints-packet off" works as intended.
8048 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
8049 * lib/gdb.exp (gdb_is_target_remote): ... here.
8050
2abc3f8d
DB
80512014-04-24 David Blaikie <dblaikie@gmail.com>
8052
8053 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
8054 ensure clang would not discard them.
8055 * gdb.base/gdbvars.c: Ditto.
8056 * gdb.base/memattr.c: Ditto.
8057 * gdb.base/whatis.c: Ditto.
8058 * gdb.python/py-prettyprint.c: Ditto.
8059 * gdb.trace/actions.c: Ditto.
8060 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
8061 ensure clang would not discard it.
8062
bfd39632
DB
80632014-04-24 David Blaikie <dblaikie@gmail.com>
8064
8065 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
8066 clang to emit the full definition of type required by the test
8067 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
8068
22842ff6
DB
80692014-04-24 David Blaikie <dblaikie@gmail.com>
8070
8071 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
8072 coax Clang into emitting the definition of the type.
8073 * gdb.cp/pr10728-x.h (y): Ditto.
8074 * gdb.cp/pr10728-y.cc (y): Ditto.
8075
c2e827ad
DB
80762014-04-24 David Blaikie <dblaikie@gmail.com>
8077
8078 * gdb.base/label.exp: XFAIL label related tests under Clang.
8079 * gdb.cp/cplabel.exp: Ditto.
8080 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
8081 under Clang those using labels.
8082
4c2d33e7
YQ
80832014-04-25 Yao Qi <yao@codesourcery.com>
8084
8085 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
8086 double_label.
8087 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
8088 partial_label and double_label.
8089
56083b99
DB
80902014-04-24 David Blaikie <dblaikie@gmail.com>
8091
8092 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
8093
25d4e99d
DB
80942014-04-24 David Blaikie <dblaikie@gmail.com>
8095
8096 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
8097 of the function to work across GCC and Clang.
8098 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
8099 pointer types (const void ** const V void **).
8100
01f9f808
MS
81012014-04-24 Michael Sturm <michael.sturm@mintel.com>
8102 Walfred Tedeschi <walfred.tedeschi@intel.com>
8103
8104 * Makefile.in (EXECUTABLES): Added i386-avx512.
8105 * gdb.arch/i386-avx512.c: New file.
8106 * gdb.arch/i386-avx512.exp: Likewise.
8107
4b48d439
KS
81082014-04-23 Keith Seitz <keiths@redhat.com>
8109
8110 * lib/mi-support.exp (mi_list_breakpoints): Delete.
8111 (mi_make_breakpoint_table): New procedure.
8112 (mi_create_breakpoint): Use mi_make_breakpoint
8113 and return the result.
8114 (mi_make_breakpoint): New procedure.
8115 (mi_build_kv_pairs): New procedure.
8116
8117 * gdb.mi/mi-break.exp: Remove unused globals,
8118 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
8119 All callers updated.
8120 * gdb.mi/mi-dprintf.exp: Use variable to track command
8121 number.
8122 Update all callers of mi_create_breakpoint and use
8123 mi_make_breakpoint_table.
8124 Remove any unused global variables.
8125 * gdb.mi/mi-nonstop.exp: Likewise.
8126 * gdb.mi/mi-nsintrall.exp: Likewise.
8127 * gdb.mi/mi-nsmoribund.exp: Likewise.
8128 * gdb.mi/mi-nsthrexec.exp: Likewise.
8129 * gdb.mi/mi-reverse.exp: Likewise.
8130 * gdb.mi/mi-simplerun.exp: Likewise.
8131 * gdb.mi/mi-stepn.exp: Likewise.
8132 * gdb.mi/mi-syn-frame.exp: Likewise.
8133 * gdb.mi/mi-until.exp: Likewise.
8134 * gdb.mi/mi-var-cp.exp: Likewise.
8135 * gdb.mi/mi-var-display.exp: Likewise.
8136 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
8137 * gdb.mi/mi2-var-child.exp: Likewise.
8138 * gdb.mi/mi-vla-c99.exp: Likewise.
8139 * lib/mi-support.exp: Likewise.
8140
8141 From Ian Lance Taylor <iant@cygnus.com>:
8142 * lib/gdb.exp (parse_args): New procedure.
8143
08351840
PA
81442014-04-23 Pedro Alves <palves@redhat.com>
8145
8146 * gdb.base/break-unload-file.c: New file.
8147 * gdb.base/break-unload-file.exp: New file.
8148 * gdb.base/sym-file-lib.c (baz): New function.
8149 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
8150 field.
8151 (load): Store the segment's mapped size.
8152 (unload): New function.
8153 (unload_shlib): New function.
8154 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
8155 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
8156 set a breakpoint at baz, and call it.
8157 * gdb.base/sym-file.exp: New tests for stale breakpoint
8158 instructions.
8159
076855f9
PA
81602014-04-23 Pedro Alves <palves@redhat.com>
8161
8162 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
8163 * gdb.base/hbreak-in-shr-unsupported.c: New file.
8164 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
8165 * gdb.base/hbreak-unmapped.c: New file.
8166 * gdb.base/hbreak-unmapped.exp: New file.
8167 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
8168 * lib/gdb.exp (gdb_is_target_remote): ... here.
8169
483805cf
PA
81702014-04-22 Pedro Alves <palves@redhat.com>
8171
8172 * gdb.base/consecutive-step-over.c: New file.
8173 * gdb.base/consecutive-step-over.exp: New file.
8174
06d97543
PA
81752014-04-22 Pedro Alves <palves@redhat.com>
8176
8177 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
8178 instead of send_gdb/gdb_expect.
8179
b4429ea2
YQ
81802014-04-22 Yao Qi <yao@codesourcery.com>
8181
8182 * lib/trace-support.exp (generate_tracefile): New procedure.
8183 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
8184 return 0.
8185 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
8186 if generate_tracefile returns 1.
8187
51d48146
PA
81882014-04-18 Tom Tromey <palves@redhat.com>
8189 Pedro alves <tromey@redhat.com>
8190
8191 PR backtrace/15558
8192 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
8193 with a backtrace limit.
8194 * gdb.python/py-frame-inline.exp: Test running to an inline
8195 function with a backtrace limit, and printing the newest frame.
8196 * gdb.python/py-frame-inline.c (main): Call f.
8197
bd1dce5f
MS
81982014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8199
8200 * gdb.java/jnpe.exp: Drop srcdir from untested path.
8201
40d1a503
MS
82022014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8203
8204 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
8205 Drop prefix from unsupported source file path.
8206
389b98f7
YQ
82072014-04-17 Yao Qi <yao@codesourcery.com>
8208
8209 * lib/gdb.exp (with_target_charset): New proc.
8210 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
8211 with_target_charset.
8212 (test_print_strings): Likewise.
8213 (test_repeat_bytes): Likewise.
8214 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
8215 for some tests.
8216
22869d73
KS
82172014-04-16 Keith Seitz <keiths@redhat.com>
8218
8219 PR gdb/15827
8220 * gdb.dwarf2/corrupt.c: New file.
8221 * gdb.dwarf2/corrupt.exp: New file.
8222
c4f87ca6
KS
82232014-04-16 Keith Seitz <keiths@redhat.com>
8224
8225 PR c++/16597
8226 * gdb.cp/namelessclass.cc: New file.
8227 * gdb.cp/namelessclass.exp: New file.
8228 * gdb.cp/namelessclass.S: New file.
8229
ab19de87
DE
82302014-04-16 Doug Evans <dje@google.com>
8231
8232 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
8233 Add comment.
8234 (gdbserver_default_get_comm_port): New function.
8235 (gdbserver_start): Check if board file provided
8236 "gdbserver,get_comm_port" and use it if so.
8237 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
8238 (gdb,socketport): Set to "stdio".
8239 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
8240 (stdio_gdbserver_template): Delete.
8241 (${board}_get_remote_address): Update.
8242 (${board}_build_remote_cmd): Delete.
8243 (${board}_get_comm_port): New function.
8244 (${board}_spawn): Update.
8245 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
8246 Delete.
8247 (${board}_get_remote_address): Update.
8248 (${board}_get_comm_port): New function.
8249
fc98a809
AB
82502014-04-16 Andrew Burgess <aburgess@broadcom.com>
8251
8252 * gdb.base/memattr.exp: Improve regexps to handle memory regions
8253 appearing in any order.
8254
87fd9e6e
DE
82552014-04-15 Doug Evans <dje@google.com>
8256
8257 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
8258 uninitialized value of "description".
8259
099fc3ea
KS
82602014-04-15 Keith Seitz <keiths@redhat.com>
8261
8262 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
8263 Remove unused globals.
8264 (test_running_the_program): Likewise.
8265 (test_controlled_execution): Likewise.
8266 (test_controlling_breakpoints): Likewise.
8267 (test_program_termination): Likewise.
8268
5da151d4
KS
82692014-04-15 Keith Seitz <keiths@redhat.com>
8270
8271 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
8272 unused globals.
8273 (test_rbreak_creation_and_listing): Likewise.
8274 (test_ignore_count): Likewise.
8275 (test_error): Likewise.
8276
35e5d2f0
PA
82772014-04-15 Pedro Alves <palves@redhat.com>
8278
8279 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
8280 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
8281 sym-file-loader.c.
8282 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8283 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8284 to sym-file-loader.c.
8285 (struct library): Forward declare.
8286 (load_shlib, lookup_function): Change prototypes.
8287 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8288 (translate_offset): Remove declarations.
8289 (get_text_addr): New declaration.
8290 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
8291 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
8292 sym-file-loader.h.
8293 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8294 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8295 here from sym-file-loader.h.
8296 (struct library): New structure.
8297 (load_shlib, lookup_function): Change prototypes and adjust to
8298 work with a struct library.
8299 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8300 (translate_offset): Make static.
8301 (get_text_addr): New function.
8302 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
8303
eb4c1710
PA
83042014-04-15 Pedro Alves <palves@redhat.com>
8305
8306 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
8307
2d1baf52
PA
83082014-04-15 Pedro Alves <palves@redhat.com>
8309
8310 * gdb.base/sym-file-loader.c: Include <limits.h>.
8311 (SELF_LINK): New define.
8312 (get_origin): New function.
8313 (load_shlib): Use it.
8314 * gdb.base/sym-file.exp: Don't early return if the target is
8315 remote. Use runto_main, and issue fail is that fails. Use
8316 gdb_load_shlibs.
8317 (shlib_name): Delete.
8318 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
8319
7dd6df01
PA
83202014-04-15 Pedro Alves <palves@redhat.com>
8321
8322 * gdb.base/sym-file.exp: Remove regex characters from test
8323 message. Don't refer to breakpoint numbers in test messages.
8324
b50c8614
KS
83252014-04-14 Keith Seitz <keiths@redhat.com>
8326
8327 PR c++/16253
8328 * gdb.cp/var-tag.cc: New file.
8329 * gdb.cp/var-tag.exp: New file.
8330 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8331 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8332 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8333 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8334
3d567982
TT
83352014-04-14 Tom Tromey <tromey@redhat.com>
8336
8337 * gdb.cp/classes.exp (test_enums): Handle underlying type.
8338 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
8339 type.
8340 * gdb.cp/enum-class.exp: New file.
8341 * gdb.cp/enum-class.cc: New file.
8342
0626fc76
TT
83432014-04-14 Tom Tromey <tromey@redhat.com>
8344
8345 * gdb.dwarf2/enum-type.exp: New file.
8346
dca325b3
SA
83472014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8348
8349 * gdb.mi/mi-vla-c99.exp: New file.
8350 * gdb.mi/vla.c: New file.
8351
5854b38a
SA
83522014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8353
8354 * gdb.base/vla-datatypes.c: New file.
8355 * gdb.base/vla-datatypes.exp: New file.
8356
463bb957
SA
83572014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8358
8359 * gdb.base/vla-ptr.c: New file.
8360 * gdb.base/vla-ptr.exp: New file.
8361
3dd170be
SA
83622014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8363
8364 * gdb.dwarf2/count.exp: New file.
8365
5ecaaa66
SA
83662014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8367
8368 * gdb.base/vla-sideeffect.c: New file.
8369 * gdb.base/vla-sideeffect.exp: New file.
8370
41f1ada5
DB
83712014-04-14 David Blaikie <dblaikie@gmail.com>
8372
8373 * gdb.mi/non-stop.c: Add return value for non-void function return
8374 statement.
8375 * gdb.threads/staticthreads.c: Ditto.
8376
0be03e84
DE
83772014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8378 Doug Evans <xdje42@gmail.com>
8379
8380 * gdb.guile/scm-value.c: Improve test case.
8381 * gdb.guile/scm-value.exp: Add new test.
8382
f180a1fb
DB
83832014-04-11 David Blaikie <dblaikie@gmail.com>
8384
8385 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
8386 override Clang's default.
8387
6b662e19
JB
83882014-04-11 Joel Brobecker <brobecker@adacore.com>
8389
8390 Revert the following changes (regressions):
8391
8392 * gdb.base/vla-sideeffect.c: New file.
8393 * gdb.base/vla-sideeffect.exp: New file.
8394
8395 * gdb.dwarf2/count.exp: New file.
8396
8397 * gdb.base/vla-multi.c: New file.
8398 * gdb.base/vla-multi.exp: New file.
8399
8400 * gdb.base/vla-ptr.c: New file.
8401 * gdb.base/vla-ptr.exp: New file.
8402
8403 * gdb.base/vla-datatypes.c: New file.
8404 * gdb.base/vla-datatypes.exp: New file.
8405
8406 * gdb.mi/mi-vla-c99.exp: New file.
8407 * gdb.mi/vla.c: New file.
8408
245a5f0b
KS
84092014-04-11 Keith Seitz <keiths@redhat.com>
8410
8411 PR c++/16675
8412 * gdb.cp/cpsizeof.exp: New file.
8413 * gdb.cp/cpsizeof.cc: New file.
8414
58a84dcf
SA
84152014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8416
191a8a90
JB
8417 * gdb.mi/mi-vla-c99.exp: New file.
8418 * gdb.mi/vla.c: New file.
58a84dcf 8419
c8655f75
SA
84202014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8421
8422 * gdb.base/vla-datatypes.c: New file.
8423 * gdb.base/vla-datatypes.exp: New file.
8424
024e13b4
SA
84252014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8426
8427 * gdb.base/vla-ptr.c: New file.
8428 * gdb.base/vla-ptr.exp: New file.
8429
1a237e0e
SA
84302014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8431
8432 * gdb.base/vla-multi.c: New file.
8433 * gdb.base/vla-multi.exp: New file.
8434
504f3432
SA
84352014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8436
8437 * gdb.dwarf2/count.exp: New file.
8438
3bce8237
SA
84392014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8440
191a8a90
JB
8441 * gdb.base/vla-sideeffect.c: New file.
8442 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 8443
322f9c21
YQ
84442014-04-11 Yao Qi <yao@codesourcery.com>
8445
8446 * gdb.base/completion.exp: Check file exists before running tests
8447 on file completion.
8448
d708bcd1
PA
84492014-04-10 Pedro Alves <palves@redhat.com>
8450
8451 * gdb.base/cond-eval-mode.c: New file.
8452 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8453 prepare_for_testing to build the new file. Check result of
8454 runto_main.
8455 (test_break, test_watch): New procedures.
8456 (top level): Use them.
8457
ae1d2761
PM
84582014-04-08 Pierre Muller <muller@sourceware.org>
8459
8460 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8461 Ctrl-V use for mingw hosts.
8462
7af389b8
SC
84632014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8464
8465 * gdb.python/py-value.c: Improve test case.
8466 * gdb.python/py-value.exp: Add new test.
8467
5e703181
DE
84682014-04-07 David Blaikie <dblaikie@gmail.com>
8469
8470 * lib/compiler.c: Identify the clang compiler.
8471 * lib/compiler.cc: Ditto.
8472
9810b410
YQ
84732014-04-03 Yao Qi <yao@codesourcery.com>
8474
8475 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8476
98d1b8dc
AB
84772014-04-01 Anton Blanchard <anton@samba.org>
8478
8479 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8480 messages unique.
8481
3114cea1
AB
84822014-04-01 Anton Blanchard <anton@samba.org>
8483
8484 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8485 prepare_for_testing.
8486
62f7182c
AB
84872014-04-01 Anton Blanchard <anton@samba.org>
8488
8489 * gdb.arch/ppc64-atomic-inst.c: Remove.
8490 * gdb.arch/ppc64-atomic-inst.S: New file.
8491 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8492
770e7fc7
DE
84932014-03-31 Doug Evans <dje@google.com>
8494
8495 * gdb.base/print-symbol-loading-lib.c: New file.
8496 * gdb.base/print-symbol-loading-main.c: New file.
8497 * gdb.base/print-symbol-loading.exp: New file.
8498
46e2bafa
YQ
84992014-03-31 Yao Qi <yao@codesourcery.com>
8500
8501 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8502
8776cfe9
JB
85032014-03-28 Joel Brobecker <brobecker@adacore.com>
8504
8505 * gdb.ada/mi_dyn_arr: New testcase.
8506
5d1ef361
DE
85072014-03-27 Doug Evans <dje@google.com>
8508
8509 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8510
b5bee914
YQ
85112014-03-27 Yao Qi <yao@codesourcery.com>
8512
8513 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8514 if target is nios2-*-*.
8515
0d4d0e77
YQ
85162014-03-26 Yao Qi <yao@codesourcery.com>
8517
8518 * lib/gdb.exp (readline_is_used): New proc.
8519 * gdb.base/completion.exp: Move tests on command complete up.
8520 Skip the rest of tests if readline is not used.
8521 * gdb.ada/complete.exp: Skp the test if readline is not
8522 used.
8523 * gdb.base/filesym.exp: Likewise.
8524 * gdb.base/macscp.exp: Likewise.
8525 * gdb.base/readline-ask.exp: Likewise.
8526 * gdb.base/readline.exp: Likewise.
8527 * gdb.python/py-cmd.exp: Likewise.
8528 * gdb.trace/tfile.exp: Likewise.
8529
29361eee
YQ
85302014-03-26 Yao Qi <yao@codesourcery.com>
8531
8532 * gdb.base/macscp.exp: Fix code format issues.
8533
bc9a5525
UW
85342014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8535
8536 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8537 * gdb.asm/powerpc64le.inc: New file.
8538
d3839ede
PA
85392014-03-25 Pedro Alves <palves@redhat.com>
8540 Doug Evans <dje@google.com>
8541
8542 * gdb.base/source-execution.c: New file.
8543 * gdb.base/source-execution.exp: New file.
8544 * gdb.base/source-execution.gdb: New file.
8545
01672a57
DE
85462014-03-24 Doug Evans <dje@google.com>
8547
8548 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8549 using fission.
8550
88bbeca9
HZ
85512014-03-24 Hui Zhu <hui@codesourcery.com>
8552 Pedro Alves <palves@redhat.com>
8553
8554 PR breakpoints/16101
8555 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8556 test pass/fail messages. Detect missing support for dprintf when
8557 breakpoints are actually inserted.
8558 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8559 breakpoints are actually inserted.
8560 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8561 fails.
8562
d2348791
JK
85632014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8564
8565 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8566
feef67ab
DE
85672014-03-22 Doug Evans <xdje42@gmail.com>
8568
8569 * gdb.python/python.exp (python not supported): Verify multi-line
8570 python command issues an error.
25d743f9 8571 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 8572 guile command issues an error.
feef67ab 8573
ecebef6a
MR
85742014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8575
8576 * gdb.threads/thread-specific.exp: Handle the lack of usable
8577 $this_breakpoint and $this_thread.
8578
ccdd1909
HZ
85792014-03-21 Hui Zhu <hui@codesourcery.com>
8580
8581 * gdb.base/attach.exp (do_command_attach_tests): New.
8582
beb460e8
PA
85832014-03-20 Tom Tromey <tromey@redhat.com>
8584 Pedro Alves <palves@redhat.com>
8585
8586 PR cli/15718
8587 * gdb.base/condbreak-call-false.c: New file.
8588 * gdb.base/condbreak-call-false.exp: New file.
8589
40acf43a
PA
85902014-03-20 Pedro Alves <palves@redhat.com>
8591
8592 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8593 Delete.
8594 (block_signals, unblock_signals): Delete.
8595 (child_function_2, main): Remove references to deleted variable
8596 and functions.
8597
9f5e1e02
PA
85982014-03-20 Pedro Alves <palves@redhat.com>
8599
8600 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8601 Use pthread_kill to signal thread 2.
8602 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8603 Adjust to make the test send itself a signal rather than using the
8604 host's "kill" command.
8605
99619bea
PA
86062014-03-20 Pedro Alves <palves@redhat.com>
8607
8608 * gdb.threads/multiple-step-overs.c: New file.
8609 * gdb.threads/multiple-step-overs.exp: New file.
8610 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8611 Adjust expected infrun debug output.
8612
2adfaa28
PA
86132014-03-20 Pedro Alves <palves@redhat.com>
8614
8615 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8616 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8617
31e77af2
PA
86182014-03-20 Pedro Alves <palves@redhat.com>
8619
8620 PR breakpoints/7143
8621 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8622 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8623 of gdb_test_multiple.
8624 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8625 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8626
b9f437de
PA
86272014-03-20 Pedro Alves <palves@redhat.com>
8628
8629 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8630 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8631
05adc73e
PA
86322014-03-19 Pedro Alves <palves@redhat.com>
8633
8634 * gdb.base/async.exp: Remove early return.
8635
6048b950
PA
86362014-03-19 Pedro Alves <palves@redhat.com>
8637
8638 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8639
8bcfb00a
PA
86402014-03-19 Pedro Alves <palves@redhat.com>
8641
8642 * gdb.base/async.exp (test_background): Expect \r\n after
8643 "completed." in the fail pattern.
8644
884e37dc
PA
86452014-03-19 Pedro Alves <palves@redhat.com>
8646
8647 * gdb.base/async.exp (test_background): New procedure.
8648 Use it for all background execution command tests.
8649
148e57e2
PA
86502014-03-19 Pedro Alves <palves@redhat.com>
8651
8652 * gdb.base/async.exp: Use prepare_for_testing.
8653
f48088c7
PA
86542014-03-19 Pedro Alves <palves@redhat.com>
8655
8656 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8657 the same line.
8658
e2f6c966
PA
86592014-03-19 Pedro Alves <palves@redhat.com>
8660
8661 * gdb.base/async.c (main): Add "jump here" and "until here" line
8662 marker comments.
8663 * gdb.base/async.exp (jump_here): New global.
8664 (jump& test): Use it.
8665 (until_here): New global.
8666 (until& test): Use it.
8667
c30568d4
PA
86682014-03-19 Pedro Alves <palves@redhat.com>
8669
8670 * gdb.base/async.exp: Don't frob gdb_protocol.
8671
0172b6a7
DE
86722014-03-18 Doug Evans <xdje42@gmail.com>
8673
8674 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8675 Fix spelling of exec-done-display.
8676
06c868a8
JK
86772014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8678
8679 PR gdb/15358
8680 * gdb.base/gdb-sigterm.c: New file.
8681 * gdb.base/gdb-sigterm.exp: New file.
8682
0c7e1a46
PA
86832014-03-18 Pedro Alves <palves@redhat.com>
8684
8685 PR gdb/13860
8686 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8687 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8688 solib-event.
8689
f7c77d93
JB
86902014-03-17 Joel Brobecker <brobecker@adacore.com>
8691
8692 * gdb.ada/pckd_arr_ren: New testcase.
8693
5a1e8c7a
DE
86942014-03-13 Doug Evans <xdje42@gmail.com>
8695
8696 PR guile/16612
8697 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8698 collect after discarding symbols.
8699
350e1a76
DE
87002014-03-13 Ludovic Courtès <ludo@gnu.org>
8701 Doug Evans <xdje42@gmail.com>
8702
8703 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8704 to history survives a gc.
8705
a69900ae
PA
87062014-03-13 Pedro Alves <palves@redhat.com>
8707
8708 * gdb.base/default.exp: Don't test "target procfs".
8709
5db9f0bd
PA
87102014-03-13 Pedro Alves <palves@redhat.com>
8711
8712 * gdb.base/default.exp: Update "target child" and "target procfs"
8713 tests to not expect "Unix".
8714
b3ccfe11
TT
87152014-03-12 Tom Tromey <tromey@redhat.com>
8716
8717 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8718 New procs. Add target-async tests.
8719 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8720 Add target-async tests.
8721
646f4417
AA
87222014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8723
8724 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8725 'func_start' and 'func_end' for the beginning and end of the
8726 function code, respectively.
8727 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8728 'func_end' instead of 'func' and 'main'.
8729
288c211f
AA
87302014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8731
8732 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8733 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8734 generate the debug info assembler source.
8735
e0c0f156
AA
87362014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8737
8738 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8739 * gdb.dwarf2/arr-subrange.exp: Likewise.
8740 * gdb.dwarf2/dwz.exp: Likewise.
8741 * gdb.dwarf2/method-ptr.exp: Likewise.
8742 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8743 * gdb.dwarf2/subrange.exp: Likewise.
8744 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8745 * gdb.dwarf2/implptrpiece.exp: Likewise.
8746 * gdb.dwarf2/nostaticblock.exp: Likewise.
8747
0e5c4555
AA
87482014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8749
8750 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8751 directory to absolute path name arguments.
8752
5ec18f2b
JG
87532014-03-10 Joel Brobecker <brobecker@adacore.com>
8754
8755 * gdb.ada/tagged_access: New testcase.
8756
847fc4f2
MM
87572014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8758
8759 * gdb.btrace/data.exp: Update expected output.
8760
cc3da688
YQ
87612014-03-06 Yao Qi <yao@codesourcery.com>
8762
8763 * gdb.trace/pr16508.exp: New file.
8764
0f26cec1
PA
87652014-03-05 Pedro Alves <palves@redhat.com>
8766
8767 PR gdb/16575
8768 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8769 procedure.
8770 (top level): Adjust to use it. Add tests that exercise breakpoint
8771 interaction with the code-cache.
8772
7a5a839f
LC
87732014-02-26 Ludovic Courtès <ludo@gnu.org>
8774
8775 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8776 test for 'history-append!'.
8777
31aa7e4e
JB
87782014-02-26 Joel Brobecker <brobecker@adacore.com>
8779
8780 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8781 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8782 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8783 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8784 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8785 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8786
1b588015
JB
87872014-02-26 Joel Brobecker <brobecker@adacore.com>
8788
8789 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8790 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8791 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8792
55426c9d
JB
87932014-02-26 Joel Brobecker <brobecker@adacore.com>
8794
8795 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8796
dc53a7ad
JB
87972014-02-26 Joel Brobecker <brobecker@adacore.com>
8798
8799 * gdb.dwarf2/arr-stride.c: New file.
8800 * gdb.dwarf2/arr-stride.exp: New file.
8801
12ab52e9
PA
88022014-02-26 Pedro Alves <palves@redhat.com>
8803
8804 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8805 that won't ever trigger. Make sure that GDB reports the correct
8806 breakpoint that caused the stop.
8807
849c862e
JK
88082014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8809
8810 PR gdb/16626
8811 * gdb.base/auto-load-script: New file.
8812 * gdb.base/auto-load.c: New file.
8813 * gdb.base/auto-load.exp: New file.
8814
71b7d793
JK
8815 PR gdb/16626
8816 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8817
e2f0d509
JK
88182014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8819
8820 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8821 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8822
50cc37c8
DE
88232014-02-24 Doug Evans <dje@google.com>
8824
8825 * lib/gdb.exp (run_on_host): Log error output if program fails.
8826
ea4758f2
PA
88272014-02-21 Pedro Alves <palves@redhat.com>
8828
8829 * gdb.threads/step-after-sr-lock.c: Rename to ...
8830 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8831 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8832 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8833 ... this.
8834
d7b30f67
SDJ
88352014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8836
8837 PR tdep/16397
8838 * gdb.arch/amd64-stap-special-operands.exp: New file.
8839 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8840 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8841 * gdb.arch/amd64-stap-triplet.S: Likewise.
8842 * gdb.arch/amd64-stap-triplet.c: Likewise.
8843
83deb43f
JB
88442014-02-20 Joel Brobecker <brobecker@adacore.com>
8845
8846 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8847 in .section pseudo-op.
8848
adde2bff
DE
88492014-02-20 lin zuojian <manjian2006@gmail.com>
8850 Joel Brobecker <brobecker@adacore.com>
8851 Doug Evans <xdje42@gmail.com>
8852
8853 PR symtab/16581
8854 * gdb.dwarf2/dw2-icycle.S: New file.
8855 * gdb.dwarf2/dw2-icycle.c: New file.
8856 * gdb.dwarf2/dw2-icycle.exp: New file.
8857
f7bd0f78
SC
88582014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8859
8860 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8861 operations on gdb.Value objects.
8862 * gdb.python/py-value-cc.exp: Add new test to test operations on
8863 gdb.Value objects.
8864
c17ef0d5
DE
88652014-02-18 Doug Evans <dje@google.com>
8866
8867 * Makefile.in (TESTS): New variable.
8868 (expanded_tests, expanded_tests_or_none): New variables
8869 (check-single): Pass $(expanded_tests_or_none) to runtest.
8870 (check-parallel): Only run tests in $(TESTS) if non-empty.
8871 (check/no-matching-tests-found): New rule.
8872 * README: Document TESTS makefile variable.
8873
5dd3176f
DE
88742014-02-18 Doug Evans <dje@google.com>
8875
8876 * Makefile.in (check-parallel): rm -rf outputs temp.
8877
0b10be4f
JK
88782014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8879
8880 Fix "ERROR: no fileid for" in the testsuite.
8881 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8882
85f224e7
DE
88832014-02-12 Doug Evans <dje@google.com>
8884
8885 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8886 (MISCELLANEOUS): New variable.
8887 (clean): rm -rf $(MISCELLANEOUS).
8888 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8889 dwp live in the same directory as symlinks, with each symlink pointed
8890 to a differently named file in a different directory.
8891
149b30ff
DE
88922014-02-11 Doug Evans <dje@google.com>
8893
8894 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8895 of Tcl file commands.
8896
1dfdac32
MK
88972014-02-10 Mark Kettenis <kettenis@gnu.org>
8898
8899 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8900 "kill -SIGUSR1 -1".
8901
aa4fb036
JB
89022014-02-10 Joel Brobecker <brobecker@adacore.com>
8903
8904 * gdb.ada/tick_length_array_enum_idx: New testcase.
8905
ed3ef339
DE
89062014-02-10 Doug Evans <xdje42@gmail.com>
8907
8908 * configure.ac (AC_OUTPUT): Add gdb.guile.
8909 * configure: Regenerate.
8910 * lib/gdb-guile.exp: New file.
8911 * lib/gdb.exp (get_target_charset): New function.
8912 * gdb.base/help.exp: Update expected output from "apropos apropos".
8913 * gdb.guile/Makefile.in: New file.
8914 * gdb.guile/guile.exp: New file.
8915 * gdb.guile/scm-arch.c: New file.
8916 * gdb.guile/scm-arch.exp: New file.
8917 * gdb.guile/scm-block.c: New file.
8918 * gdb.guile/scm-block.exp: New file.
8919 * gdb.guile/scm-breakpoint.c: New file.
8920 * gdb.guile/scm-breakpoint.exp: New file.
8921 * gdb.guile/scm-disasm.c: New file.
8922 * gdb.guile/scm-disasm.exp: New file.
8923 * gdb.guile/scm-equal.c: New file.
8924 * gdb.guile/scm-equal.exp: New file.
8925 * gdb.guile/scm-error.exp: New file.
8926 * gdb.guile/scm-error.scm: New file.
8927 * gdb.guile/scm-frame-args.c: New file.
8928 * gdb.guile/scm-frame-args.exp: New file.
8929 * gdb.guile/scm-frame-args.scm: New file.
8930 * gdb.guile/scm-frame-inline.c: New file.
8931 * gdb.guile/scm-frame-inline.exp: New file.
8932 * gdb.guile/scm-frame.c: New file.
8933 * gdb.guile/scm-frame.exp: New file.
8934 * gdb.guile/scm-generics.exp: New file.
8935 * gdb.guile/scm-gsmob.exp: New file.
8936 * gdb.guile/scm-iterator.c: New file.
8937 * gdb.guile/scm-iterator.exp: New file.
8938 * gdb.guile/scm-math.c: New file.
8939 * gdb.guile/scm-math.exp: New file.
8940 * gdb.guile/scm-objfile-script-gdb.in: New file.
8941 * gdb.guile/scm-objfile-script.c: New file.
8942 * gdb.guile/scm-objfile-script.exp: New file.
8943 * gdb.guile/scm-objfile.c: New file.
8944 * gdb.guile/scm-objfile.exp: New file.
8945 * gdb.guile/scm-ports.exp: New file.
8946 * gdb.guile/scm-pretty-print.c: New file.
8947 * gdb.guile/scm-pretty-print.exp: New file.
8948 * gdb.guile/scm-pretty-print.scm: New file.
8949 * gdb.guile/scm-section-script.c: New file.
8950 * gdb.guile/scm-section-script.exp: New file.
8951 * gdb.guile/scm-section-script.scm: New file.
8952 * gdb.guile/scm-symbol.c: New file.
8953 * gdb.guile/scm-symbol.exp: New file.
8954 * gdb.guile/scm-symtab-2.c: New file.
8955 * gdb.guile/scm-symtab.c: New file.
8956 * gdb.guile/scm-symtab.exp: New file.
8957 * gdb.guile/scm-type.c: New file.
8958 * gdb.guile/scm-type.exp: New file.
8959 * gdb.guile/scm-value-cc.cc: New file.
8960 * gdb.guile/scm-value-cc.exp: New file.
8961 * gdb.guile/scm-value.c: New file.
8962 * gdb.guile/scm-value.exp: New file.
8963 * gdb.guile/source2.scm: New file.
8964 * gdb.guile/types-module.cc: New file.
8965 * gdb.guile/types-module.exp: New file.
8966
7026a7c1
YQ
89672014-02-10 Yao Qi <yao@codesourcery.com>
8968
8969 PR testsuite/16543
8970 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8971 * configure: Regenerated.
8972 * Makefile.in: New file.
8973
6c466447
AS
89742014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8975
8976 * gdb.python/py-framefilter.exp: Fix typo.
8977
6e854735
YQ
89782014-02-08 Yao Qi <yao@codesourcery.com>
8979
8980 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8981 that no =breakpoint-modified is emitted when breakpoints are
8982 modified through MI commands.
8983
d137e6dc
PA
89842014-02-07 Pedro Alves <pedro@codesourcery.com>
8985 Pedro Alves <palves@redhat.com>
8986
8987 * gdb.threads/step-after-sr-lock.c: New file.
8988 * gdb.threads/step-after-sr-lock.exp: New file.
8989
b5ee5a50
PA
89902014-02-07 Pedro Alves <palves@redhat.com>
8991
8992 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8993
3c77faf3
JK
89942014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8995
8996 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8997 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8998
6dddc817
DE
89992014-02-06 Doug Evans <xdje42@gmail.com>
9000
9001 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
9002 output.
9003
9004 * gdb.gdb/python-interrupts.exp: New file.
9005
de7b2893
YQ
90062014-02-05 Yao Qi <yao@codesourcery.com>
9007
9008 * gdb.trace/report.exp (use_collected_data): Test the output
9009 of "info threads" and "info inferiors".
9010
66d032ac
YQ
90112014-02-05 Yao Qi <yao@codesourcery.com>
9012
9013 Revert this patch:
9014
9015 2013-05-24 Yao Qi <yao@codesourcery.com>
9016
9017 * gdb.trace/tfile.exp: Test inferior and thread.
9018
591a12a1
UW
90192014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9020
9021 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
9022 on a function.
9023 * gdb.base/step-bt.c: Call hello via function pointer to make
9024 sure its first instruction is executed on powerpc64le-linux.
9025
0ff3e01f
UW
90262014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9027
9028 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
9029
084ee545
UW
90302014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9031
9032 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
9033 of the test patterns for use on little-endian systems.
9034
6ed14ff3
UW
90352014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9036
9037 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
9038 (decimal_vector): Fix for little-endian.
9039
401e27fd
JM
90402014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
9041
9042 * gdb.arch/sparc-sysstep.exp: New file.
9043 * gdb.arch/sparc-sysstep.c: Likewise.
9044
9045 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
9046
8b924729
EBM
90472014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9048
9049 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
9050
fb151210
JB
90512014-01-23 Tom Tromey <tromey@redhat.com>
9052
9053 * gdb.ada/array_char_idx: New testcase.
9054
0740f8d8
TT
90552014-01-23 Tom Tromey <tromey@redhat.com>
9056
9057 PR python/16487:
9058 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
9059 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
9060 classes.
9061
21909fa1
TT
90622014-01-23 Tom Tromey <tromey@redhat.com>
9063
9064 PR python/16491:
9065 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
9066 string from an inferior frame.
9067 * gdb.python/py-framefilter-mi.exp: Update.
9068
87ce2a04
DE
90692014-01-22 Doug Evans <dje@google.com>
9070
9071 * gdb.server/server-mon.exp: Add tests for "set debug-format".
9072
237b092b
AA
90732014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9074
9075 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
9076
d674a709
AA
90772014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9078
9079 * gdb.trace/entry-values.exp: Remove excess space character from
9080 regex patterns. Handle s390 call instruction.
9081
20fa3390
AA
90822014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9083
9084 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
9085 define "*_start" label. Make "name" static.
9086 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
9087 ${name} by references to ${name}_start.
9088
78466714
AA
90892014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9090
9091 * gdb.base/info-macros.exp: Remove "debug" from the compile
9092 options.
9093
ec9f644a
IB
90942014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9095
9096 * gdb.dlang/demangle.exp: New file.
9097
94b1b47e
IB
90982014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9099
9100 * gdb.dlang/primitive-types.exp: New file.
9101
7f420862
IB
91022014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9103
9104 * configure.ac: Create gdb.dlang/Makefile.
9105 * configure: Regenerate.
9106 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
9107 * gdb.dlang/Makefile.in: New file.
9108 * lib/d-support.exp: New file.
9109 * lib/gdb.exp (skip_d_tests): New proc.
9110
52834460
MM
91112014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9112
9113 * gdb.btrace/delta.exp: Check reverse stepi.
9114 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
9115 * gdb.btrace/finish.exp: New.
9116 * gdb.btrace/next.exp: New.
9117 * gdb.btrace/nexti.exp: New.
9118 * gdb.btrace/record_goto.c: Add comments.
9119 * gdb.btrace/step.exp: New.
9120 * gdb.btrace/stepi.exp: New.
9121 * gdb.btrace/multi-thread-step.c: New.
9122 * gdb.btrace/multi-thread-step.exp: New.
9123 * gdb.btrace/rn-dl-bind.c: New.
9124 * gdb.btrace/rn-dl-bind.exp: New.
9125 * gdb.btrace/data.c: New.
9126 * gdb.btrace/data.exp: New.
9127 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9128
6e07b1d2
MM
91292014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9130
9131 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
9132 * gdb.btrace/exception.exp: Update.
9133 * gdb.btrace/instruction_history.exp: Update.
9134 * gdb.btrace/record_goto.exp: Update.
9135 * gdb.btrace/tailcall.exp: Update.
9136 * gdb.btrace/unknown_functions.exp: Update.
9137 * gdb.btrace/delta.exp: New.
9138
0b722aec
MM
91392014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9140
9141 * gdb.btrace/record_goto.exp: Add backtrace test.
9142 * gdb.btrace/tailcall.exp: Add backtrace test.
9143
066ce621
MM
91442014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9145
9146 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
9147 * gdb.btrace/record_goto.c: New.
9148 * gdb.btrace/record_goto.exp: New.
9149 * gdb.btrace/x86-record_goto.S: New.
9150
0688d04e
MM
91512014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9152
9153 * gdb.btrace/function_call_history.exp: Update tests.
9154 * gdb.btrace/instruction_history.exp: Update tests.
9155
8710b709
MM
91562014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9157
9158 * gdb.btrace/function_call_history.exp: Fix expected field
9159 order for "record function-call-history".
9160 Add new tests for "record function-call-history /c".
9161 * gdb.btrace/exception.cc: New.
9162 * gdb.btrace/exception.exp: New.
9163 * gdb.btrace/tailcall.exp: New.
9164 * gdb.btrace/x86-tailcall.S: New.
9165 * gdb.btrace/x86-tailcall.c: New.
9166 * gdb.btrace/unknown_functions.c: New.
9167 * gdb.btrace/unknown_functions.exp: New.
9168 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9169
5de9129b
MM
91702014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9171
9172 * gdb.btrace/instruction_history.exp: Update.
9173 * gdb.btrace/function_call_history.exp: Update.
9174
23a7fe75
MM
91752014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9176
9177 * gdb.btrace/function_call_history.exp: Fix expected function
9178 trace.
9179 * gdb.btrace/instruction_history.exp: Initialize traced.
9180 Remove traced_functions.
9181
724c7dd8
MM
91822014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9183
9184 * gdb.btrace/function_call_history.exp: Update
9185 * gdb.btrace/instruction_history.exp: Update.
9186
6d78d93b
MM
91872014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9188
9189 * gdb.btrace/enable.exp: Update expected text.
9190
93a360cc
OJ
91912014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
9192
9193 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
9194 bytes.
9195
3772b53f
MR
91962014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
9197
9198 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
9199
596662fa
OJ
92002014-01-15 Omair Javaid <omair.javaid@linaro.org>
9201
9202 * lib/gdb.exp (supports_process_record): Return true for
9203 arm*-linux*. (supports_reverse): Likewise.
9204
b5b08fb4
SC
92052014-01-13 Siva Chandra Reddy <sivachandra@google.com>
9206
9207 PR python/15464
9208 PR python/16113
9209 * gdb.python/py-type.c: Enhance test case.
9210 * gdb.python/py-value-cc.cc: Likewise
9211 * gdb.python/py-type.exp: Add new tests.
9212 * gdb.python/py-value-cc.exp: Likewise
9213
52d7fb13
AA
92142014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9215 Pedro Alves <palves@redhat.com>
9216
9217 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
9218 Make "name" extern.
9219 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
9220 references to ${name}_start by references to ${name}.
9221
a2cd8cfe
JB
92222014-01-10 Joel Brobecker <brobecker@adacore.com>
9223
9224 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
9225
4e23fced
JB
92262014-01-10 Joel Brobecker <brobecker@adacore.com>
9227
9228 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
9229
c6a9e42c
PA
92302014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
9231 Pedro Alves <palves@redhat.com>
9232
9233 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 9234 mi_gdb_target_load.
c6a9e42c 9235
b7ea362b
PA
92362014-01-08 Pedro Alves <palves@redhat.com>
9237
9238 * gdb.threads/reconnect-signal.c: New file.
9239 * gdb.threads/reconnect-signal.exp: New file.
9240
5e3f4fab
EBM
92412014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9242
9243 * gdb.base/source-dir.exp: New file.
9244
79301218
JB
92452014-01-07 Joel Brobecker <brobecker@adacore.com>
9246
9247 * gdb.ada/mi_interface: New testcase.
9248
8e355c5d
JB
92492014-01-07 Joel Brobecker <brobecker@adacore.com>
9250
9251 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
9252 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
9253 gdb.ada/pp-rec-component/pck.ads: New files.
9254
c0d48811
JB
92552014-01-07 Joel Brobecker <brobecker@adacore.com>
9256
9257 * gdb.python/py-pp-integral.c: New file.
9258 * gdb.python/py-pp-integral.py: New file.
9259 * gdb.python/py-pp-integral.exp: New file.
9260
17b609c3 9261For older changes see ChangeLog-1993-2013.
c906108c 9262\f
8d8cb839
EZ
9263;; Local Variables:
9264;; mode: change-log
9265;; left-margin: 8
9266;; fill-column: 74
9267;; version-control: never
9268;; End:
902f2ccb 9269
618f726f 9270 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
9271 Copying and distribution of this file, with or without modification,
9272 are permitted provided the copyright notice and this notice are preserved.
This page took 2.815456 seconds and 4 git commands to generate.