Automatic date update in version.in
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
a4297203
PB
12016-09-29 Peter Bergner <bergner@vnet.ibm.com>
2
3 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
4 the compulsory L operand changes.
5 * gdb.arch/powerpc-power.s: Likewise.
6
bb805577
JK
72016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8
9 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
10 * gdb.base/jit-attach-pie.c: New file.
11 * gdb.base/jit-attach-pie.exp: New file.
12
6d61dee5
PA
132016-09-28 Pedro Alves <palves@redhat.com>
14
15 * gdb.base/infcall-input.c: New file.
16 * gdb.base/infcall-input.exp: New file.
17
f73842fc
YQ
182016-09-22 Yao Qi <yao.qi@linaro.org>
19
20 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
21 (gdb_exit): Rename it to ...
22 (gdbserver_gdb_exit): ... Close GDBserver.
23 (gdb_exit): New proc, call gdbserver_gdb_exit.
24 (mi_gdb_exit): Likewise.
25
90681dab
YQ
262016-09-22 Yao Qi <yao.qi@linaro.org>
27
28 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
29 path.
30 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
31 Remove duplication.
32
9c211fd8
YQ
332016-09-22 Yao Qi <yao.qi@linaro.org>
34
35 * lib/gdbserver-support.exp: Check the existence of
36 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
37
ad0a504f
AK
382016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
39
40 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
41
36cf1806
TT
422016-09-21 Tom Tromey <tom@tromey.com>
43
44 PR gdb/20604:
45 * gdb.base/quit.exp: New file.
46
74172ecf
SM
472016-09-21 Simon Marchi <simon.marchi@ericsson.com>
48
49 * .gitignore: New file.
50
3d0ec882
MR
512016-09-21 Maciej W. Rozycki <macro@imgtec.com>
52
53 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
54 throughout.
55
8193adea
AA
562016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
57
58 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
59
d41a5c09
JK
602016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
61
62 * gdb.cp/casts.cc (decltype): Move it ...
63 (main): ... with its call to ...
64 * gdb.cp/casts03.cc: ... a new file.
65 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
66
d2dfe700
JK
672016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
68
69 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
70
e2a92b16
PB
712016-09-15 Peter Bergner <bergner@vnet.ibm.com>
72
73 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
74 and sync up the test with tests in gas/testsuite/gas/ppc.
75 * gdb.arch/powerpc-power.exp: Likewise.
76
49b4de64
JK
772016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
78
79 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
80
2c29df25
SDJ
812016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
82 Jan Kratochvil <jan.kratochvil@redhat.com>
83
84 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
85 make m1's definition to be different from m2's. Use 'dummy' as an
86 argument for probe 'two'.
87
cc3c2846
JB
882016-09-10 Jon Beniston <jon@beniston.com>
89
90 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
91 for sim target.
92
e1b2624a
AA
932016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
94
95 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
96 variable declaration.
97 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
98 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
99 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
100 received HWCAP as its argument.
101
4295e285
PA
1022016-09-06 Pedro Alves <palves@redhat.com>
103
104 * gdb.base/new-ui-pending-input.c: New file.
105 * gdb.base/new-ui-pending-input.exp: New file.
106 * gdb.exp (clear_gdb_spawn_id): New procedure.
107 (with_spawn_id): Check whether gdb_spawn_id exists before
108 referencing it. If gdb_spawn_id didn't exist on entry, clear it
109 on exit.
110
00d5215e
UW
1112016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
112
113 * gdb.base/float128.c: New file.
114 * gdb.base/float128.exp: Likewise.
115 * gdb.base/floatn.c: Likewise.
116 * gdb.base/floatn.exp: Likewise.
117
a9ff5f12
UW
1182016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
119
120 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
121
f245535c
PA
1222016-09-05 Pedro Alves <palves@redhat.com>
123
124 PR backtrace/19927
125 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
126 unwinders are immediately called as side effect of "source" or
127 "disable unwinder" commands.
128 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
129
ae9cf263
YQ
1302016-09-02 Yao Qi <yao.qi@linaro.org>
131
132 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
133 is true and $type is "float" or "double".
134
27aba047
YQ
1352016-09-02 Yao Qi <yao.qi@linaro.org>
136
137 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
138 true.
139 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
140 * gdb.base/call-rt-st.exp: Likewise.
141 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
142 return value instead of gdb,skip_float_test.
143 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
144 (do_function_calls): Use its return value instead of
145 gdb,skip_float_test.
146 * gdb.base/finish.exp: Likewise.
147 * gdb.base/funcargs.exp: Likewise.
148 * gdb.base/return.exp: Likewise.
149 * gdb.base/return2.exp: Likewise.
150 * gdb.base/varargs.exp: Likewise.
151 * lib/gdb.exp (gdb_skip_float_test): Change it to
152 gdb_caching_proc. Detect the broken ptrace on arm-linux.
153
5af962df
AA
1542016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
155
156 * gdb.multi/tids.exp: Test "thread apply all".
157
7fac6910
JK
1582016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
159
160 * gdb.base/default.exp (tty): Remove.
161
bb1fe4ac
KB
1622016-08-24 Kevin Buettner <kevinb@redhat.com>
163
164 * gdb.python/py-recurse-unwind.c: New file.
165 * gdb.python/py-recurse-unwind.py: New file.
166 * gdb.python/py-recurse-unwind.exp: New file.
167
0a1ddfa6
SM
1682016-08-24 Simon Marchi <simon.marchi@ericsson.com>
169
170 * gdb.base/set-inferior-tty.exp: New file.
171 * gdb.base/set-inferior-tty.c: New file.
172
d9de1fe3
PA
1732016-08-23 Pedro Alves <palves@redhat.com>
174
175 PR gdb/20494
176 * gdb.base/new-ui-echo.c: New file.
177 * gdb.base/new-ui-echo.exp: New file.
178
e9d9abd7
YQ
1792016-08-23 Yao Qi <yao.qi@linaro.org>
180
181 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
182 gdbserver_spawn.
183 * gdb.server/connect-without-multi-process.exp (do_test):
184 Likewise.
185
3589529e
YQ
1862016-08-23 Yao Qi <yao.qi@linaro.org>
187
188 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
189 standalone_txt. Delete gdb_txt and standalone_txt on host
190 and target. Spawn the binary on target. Copy files from
191 target to host.
192
6bb90213
PA
1932016-08-22 Pedro Alves <palves@redhat.com>
194
195 PR gdb/20505
196 * gdb.base/vdso-warning.exp: Test core dumps too. Use
197 with_test_prefix. Factor out bits to ...
198 (test_no_vdso): ... this new procedure.
199
20c2c024
CL
2002016-08-19 Carl Love <cel@us.ibm.com>
201
202 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
203 maintaining separate logic for constructing the output path.
204 * gdb.arch/powerpc-d128-regs.exp: Likewise.
205 * gdb.arch/ppc-dfp.exp: Likewise.
206 * gdb.arch/ppc-fp.exp: Likewise.
207 * gdb.arch/vsx-regs.exp: Likewise.
208 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
209 binprefix for generating the additional binary files.
210
0646e07d
PA
2112016-08-19 Pedro Alves <palves@redhat.com>
212
213 * gdb.trace/mi-trace-frame-collected.exp
214 (test_trace_frame_collected): On x32, expect two registers.
215
46da9242
CL
2162016-08-18 Carl Love <cel@us.ibm.com>
217
218 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
219 and sync up the test with tests in gas/testsuite/gas/ppc.
220 * gdb.arch/powerpc-power.exp: Likewise.
221
eb2332d7
SM
2222016-08-17 Simon Marchi <simon.marchi@ericsson.com>
223
224 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
225 expected error message.
226
63c61e04
SM
2272016-08-17 Simon Marchi <simon.marchi@ericsson.com>
228
229 * gdb.multi/remove-inferiors.exp: New file.
230 * gdb.multi/remove-inferiors.c: New file.
231
7b17065f
YQ
2322016-08-12 Yao Qi <yao.qi@linaro.org>
233
234 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
235 argument list.
236
01d3dedf
PA
2372016-08-10 Pedro Alves <palves@redhat.com>
238
239 PR gdb/19187
240 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
241 setup_kfails.
242
3eb7562a
PA
2432016-08-09 Pedro Alves <palves@redhat.com>
244 Simon Marchi <simon.marchi@ericsson.com>
245
246 PR gdb/20418
247 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
248 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
249
80614914
PA
2502016-08-09 Pedro Alves <palves@redhat.com>
251
252 PR mi/20431
253 * gdb.mi/mi-cmd-error.exp: New file.
254
f348d89a
PA
2552016-08-09 Pedro Alves <palves@redhat.com>
256
257 PR gdb/18653
258 * gdb.base/signals-state-child.c: New file.
259 * gdb.base/signals-state-child.exp: New file.
260 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
261
e5ca03b4
PA
2622016-08-09 Pedro Alves <palves@redhat.com>
263
264 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
265
282a0691
TT
2662016-08-03 Tom Tromey <tom@tromey.com>
267
268 PR python/18565:
269 * gdb.python/py-frame-inline.exp: Add Frame.function test.
270
41bfcd63
YQ
2712016-08-01 Yao Qi <yao.qi@linaro.org>
272
273 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
274 variable mode to "multi-process" if $multi_process is 1, otherwise
275 set it to "single-process".
276
e3465b24
YQ
2772016-08-01 Yao Qi <yao.qi@linaro.org>
278
279 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
280 * gdb.cp/cpexprs.exp: Likewise.
281 * gdb.cp/m-static.exp: Likewise.
282
0b31a4bc
TT
2832016-07-26 Tom Tromey <tom@tromey.com>
284
285 PR python/20190:
286 * gdb.threads/tls.exp (check_thread_local): Add python symbol
287 test.
288
e0461dbb
MM
2892016-07-26 Markus Metzger <markus.t.metzger@intel.com>
290
291 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
292 selecting assembly source files.
293 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
294 assembly source files.
295 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
296 assembly source files.
297 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
298 selecting assembly source files.
299
8194e927
SM
3002016-07-25 Simon Marchi <simon.marchi@ericsson.com>
301
302 * gdb.base/new-ui.exp (do_test_invalid_args): New
303 procedure.
304
c0272db5
TW
3052016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
306
307 * gdb.btrace/reconnect.c: New file.
308 * gdb.btrace/reconnect.exp: New file.
309
e3487908
GKB
3102016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
311
312 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
313 to test_catch_syscall_group.
314 (test_catch_syscall_group): New.
315
12df5c00
TT
3162016-07-21 Tom Tromey <tom@tromey.com>
317
318 * gdb.rust/simple.rs (main): Use empty struct expression.
319 * gdb.rust/simple.exp: Add tests for empty struct expression.
320
bae62ee2
YQ
3212016-07-21 Yao Qi <yao.qi@linaro.org>
322
323 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
324 if gdb_skip_xml_test is true on some targets.
325
b1b53fb3
YQ
3262016-07-21 Yao Qi <yao.qi@linaro.org>
327
328 * gdb.server/solib-list.exp: Unset last_loaded_file.
329
027d97f8
JK
3302016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
331
332 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
333 "step into captured_main (args)".
334
7674d381
JK
3352016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
336
337 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
338
72b5d099
JK
3392016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
340
341 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
342
1f960ced
PA
3432016-07-19 Pedro Alves <palves@redhat.com>
344
345 * gdb.opt/inline-break.exp: Remove optimize=-O2.
346 * gdb.opt/inline-bt.exp: Likewise.
347 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
348 additional_flags=-Winline.
349 * gdb.opt/inline-locals.exp: Likewise.
350 * gdb.opt/inline-markers.c (ATTR): Define.
351 (inlined_fn): Use it.
352
f25827c1
YQ
3532016-07-19 Yao Qi <yao.qi@linaro.org>
354
355 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
356 (test_with_self): Remove some code. Remove argument executable.
357 (top-level): Use do_self_tests.
358
37539ebe
DB
3592016-07-15 Zachary Welch <zwelch@codesourcery.com>
360 Don Breazeal <donb@codesourcery.com>
361
362 * gdb.base/maint.exp: Escape paths used in regular expressions.
363 * gdb.stabs/weird.exp: Likewise.
364
dac790e1
TT
3652016-07-13 Tom Tromey <tom@tromey.com>
366
367 PR python/15620, PR python/18620:
368 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
369 (test_bkpt_events): New procs.
370
93daf339
TT
3712016-07-13 Tom Tromey <tom@tromey.com>
372
373 PR python/17698:
374 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
375 test.
376 (test_watchpoints): Likewise.
377 (test_bkpt_pending): New proc.
378
6571a381
TT
3792016-07-13 Tom Tromey <tom@tromey.com>
380
381 PR cli/18053:
382 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
383 completion test.
384
e8732474
JK
3852016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
386
387 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
388 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
389 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
390 f_label.
391 (g): Rename g_end_lbl to g_label.
392 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
393 low_pc and high_pc.
394 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
395
e0f3fd7c
TT
3962016-07-12 Tom Tromey <tom@tromey.com>
397
398 PR python/19293:
399 * gdb.python/py-unwind-maint.exp: Update tests.
400
3cfe46b6
YQ
4012016-07-12 Yao Qi <yao.qi@linaro.org>
402
403 * lib/selftest-support.exp (selftest_setup): Match the output
404 when captured_main is inlined.
405
4f19a0e6
WT
4062016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
407
408 * gdb.fortran/derived-types.exp (result_line, result_line_2):
409 New variables.
410 (print this%a, print this%b, print this): New tests.
411 * gdb.fortran/derived-types.f90 (this): New object and
412 initialization.
413
986cf455
SM
4142016-07-06 Simon Marchi <simon.marchi@ericsson.com>
415
416 * gdb.ada/arraydim.exp: Remove extra directory level in build
417 directory.
418
f0464b23
SM
4192016-07-06 Simon Marchi <simon.marchi@ericsson.com>
420
421 * lib/ada.exp: Remove extra directory level in build directory.
422 * gdb.ada/cond_lang.exp: Likewise.
423 * gdb.ada/exec_changed.exp: Likewise.
424 * gdb.ada/lang_switch.exp: Likewise.
425
42d94011
MG
4262016-07-06 Manish Goregaokar <manish@mozilla.com>
427
428 * simple.rs: Add test for raw pointer subscripting
429 * simple.exp: Add test expectations
430
647c264c
YQ
4312016-07-05 Yao Qi <yao.qi@linaro.org>
432
433 * gdb.mi/mi-reverse.exp: Match =record-started output.
434
20aa2c60
PA
4352016-07-01 Pedro Alves <palves@redhat.com>
436
437 * gdb.base/jit-reader.exp (info_registers_current_frame): New
438 procedure.
439 (jit_reader_test): Test the jit reader's unwinder.
440 * gdb.base/jithost.c (jit_function_00_code): New global.
441 (main): Use memcpy to fill in the mmapped code, instead of poking
442 bytes manually here.
443 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
444 value.
445 (read_debug_info): Save the function's range.
446 (read_sp): New function.
447 (unwind_frame): Use it. Also unwind RBP.
448 (get_frame_id): Use read_sp.
449 (gdb_init_reader): Use calloc instead of malloc.
450 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
451 parameter. Use gdb_test_multiple.
452
ced2dffb
PA
4532016-07-01 Pedro Alves <palves@redhat.com>
454 Antoine Tremblay <antoine.tremblay@ericsson.com>
455
456 * gdb.threads/process-dies-while-detaching.c: New file.
457 * gdb.threads/process-dies-while-detaching.exp: New file.
458
63000888
PA
4592016-07-01 Pedro Alves <palves@redhat.com>
460
461 * gdb.multi/watchpoint-multi-exit.c: New file.
462 * gdb.multi/watchpoint-multi-exit.exp: New file.
463
038d4868
PA
4642016-06-30 Pedro Alves <palves@redhat.com>
465
466 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
467 unset inferior_spawn_id.
468
994e9c83
PA
4692016-06-30 Pedro Alves <palves@redhat.com>
470
471 * lib/mi-support.exp (default_mi_gdb_start): Declare global
472 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
473
e5653468
YQ
4742016-06-29 Yao Qi <yao.qi@linaro.org>
475
476 * gdb.base/return.c: Add copyright header.
477
803b47e5
TT
4782016-06-29 Tom Tromey <tom@tromey.com>
479
480 PR python/20129:
481 * gdb.python/py-framefilter.exp: Add tests for setting priority
482 and disabling of non-existent frame filter.
483
28244707
YQ
4842016-06-29 Yao Qi <yao.qi@linaro.org>
485
486 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
487 0x0f07ff.
488
a31d2f06
YQ
4892016-06-28 Yao Qi <yao.qi@linaro.org>
490
491 * gdb.base/catch-syscall.exp: Remove check on isnative and target
492 triplets. Start gdb, execute catch syscall, and continue. Check
493 gdb's output to determine catch syscall is supported.
494
921d8f54
MG
4952016-06-27 Manish Goregaokar <manish@mozilla.com>
496
25d49b86
PA
497 * gdb.rust/simple.rs: Add test for returning unit in a function.
498 * gdb.rust/simple.exp: Add expectation for functions returning
499 unit.
921d8f54 500
f4952523
PMR
5012016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
502
503 * gdb.python/py-breakpoint-create-fail.c,
504 gdb.python/py-breakpoint-create-fail.exp,
505 gdb.python/py-breakpoint-create-fail.py: New testcase.
506
fccb08f8
MG
5072016-06-25 Manish Goregaokar <manish@mozilla.com>
508
509 PR gdb/20239
510 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
511 * gdb.rust/simple.exp: Add test expectations for new NonZero
512 tests.
fccb08f8 513
6b850546
DT
5142016-06-24 David Taylor <dtaylor@emc.com>
515
516 * gdb.base/offsets.exp: New file.
517 * gdb.base/offsets.c: New file.
518
17621150
TT
5192016-06-23 Tom Tromey <tom@tromey.com>
520
521 PR gdb/16483:
522 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
523 before any filters are loaded.
524
04d59df6
WT
5252016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
526
527 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
528 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
529 structs.
530 * gdb.fortran/derived-type-function.exp: New file.
531 * gdb.fortran/derived-type-function.f90: New file.
532
533
ac69f786
PA
5342016-06-21 Pedro Alves <palves@redhat.com>
535
536 * gdb.base/new-ui.exp: New file.
537 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
538 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
539 (with_spawn_id): New procedure.
540
49940788
PA
5412016-06-21 Pedro Alves <palves@redhat.com>
542
543 * gdb.mi/mi-exec-run.exp: New file.
544
ef274d26
PA
5452016-06-21 Pedro Alves <palves@redhat.com>
546
547 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
548 breakpoint command's output on the main UI.
549 (test_break): New procedure, factored out from calls in the top
550 level.
551 (top level): Use foreach_with_prefix to test MI as main UI and as
552 separate UI.
553
468afe6c
PA
5542016-06-21 Pedro Alves <palves@redhat.com>
555
556 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
557 (test_awatch_creation_and_listing)
558 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
559 Remove 'type' parameter.
560 (test_watchpoint_all): New parameter mi_mode. Remove
561 with_test_prefix.
562 (top level): Use foreach_with_prefix, and add main/separate UI MI
563 testing axis.
564
51f77c37
PA
5652016-06-21 Pedro Alves <palves@redhat.com>
566
567 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
568 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
569 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
570 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
571 (gdb_main_spawn_id, mi_spawn_id): Declare and
572 comment.
573 (mi_create_inferior_pty): New procedure,
574 factored out from default_mi_gdb_start.
575 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
576 procedures.
577 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
578 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
579 Use mi_create_inferior_pty.
580 (mi_gdb_start): Use eval to pass down args list.
581
8980e177
PA
5822016-06-21 Pedro Alves <palves@redhat.com>
583
584 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
585 * gdb.opt/inline-cmds.exp: Add MI tests.
586
f38d3ad1
PA
5872016-06-21 Pedro Alves <palves@redhat.com>
588
589 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
590
45db7c09
PA
5912016-06-21 Pedro Alves <palves@redhat.com>
592
593 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
594 (top level): Use it instead of mi_execute_to.
595
5a069ab3
PA
5962016-06-21 Pedro Alves <palves@redhat.com>
597
598 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
599 (cont_handler_str): New.
600 (signal_stop_handler): Set stop_handler_str instead of printing to
601 stdout.
602 (continue_handler): Set cont_handler_str instead of printing to
603 stdout.
604 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
605 mi_send_resuming_command. Print stop_handler_str and
606 cont_handler_str instead of expecting the python events print
607 directly.
608
2838cc1d
SD
6092016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
610
611 * gdb.base/jit-reader.exp: New file.
612 * gdb.base/jithost.c: New file.
613 * gdb.base/jithost.h: New file.
614 * gdb.base/jitreader.c : New file.
615 * gdb.base/jit-protocol.h: New file.
616
21a77091
YQ
6172016-06-17 Yao Qi <yao.qi@linaro.org>
618
619 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
620 parameters follow_fork and detach_on_fork. Set follow-fork-mode
621 and detach-on-fork. Adjust tests.
622 (top level): Invoke break_cond_on_syscall with combinations of
623 syscall, follow-fork-mode and detach-on-fork.
624
f50bf8e5
YQ
6252016-06-17 Yao Qi <yao.qi@linaro.org>
626
627 * gdb.base/step-over-exit.c: New.
628 * gdb.base/step-over-exit.exp: New.
629
a28d8e50
YTL
6302016-06-17 Yan-Ting Lin <currygt52@gmail.com>
631
632 * gdb.base/float.exp: Add target check for nds32*-*-*.
633 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
634
cad8e26d
AB
6352016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
636
637 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
638 for unsupported target features.
639 * gdb.base/call-rt-st.exp: Likewise.
640 * gdb.base/call-sc.exp: Likewise.
641 * gdb.base/call-signal-resume.exp: Likewise.
642 * gdb.base/call-strs.exp: Likewise.
643 * gdb.base/callexit.exp: Likewise.
644 * gdb.base/callfuncs.exp: Likewise.
645 * gdb.base/nodebug.exp: Likewise.
646 * gdb.base/printcmds.exp: Likewise.
647 * gdb.base/ptype.exp: Likewise.
648 * gdb.base/structs.exp: Likewise.
649 * gdb.base/unwindonsignal.exp: Likewise.
650 * gdb.cp/gdb2495.exp: Likewise.
651 * gdb.cp/templates.exp: Likewise.
652 * gdb.cp/virtfunc.exp: Likewise.
653 * gdb.threads/hand-call-in-threads.exp: Likewise.
654 * gdb.threads/interrupted-hand-call.exp: Likewise.
655 * gdb.threads/thread-unwindonsignal.exp: Likewise.
656
347dc102
TT
6572016-06-10 Tom Tromey <tom@tromey.com>
658
659 PR rust/20110:
660 * gdb.rust/expr.exp: Add test for integer constant larger than
661 i32.
662
5e13cf25
BH
6632016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
664
665 * gdb.fortran/nested-funcs.exp: New.
666 * gdb.fortran/nested-funcs.f90: New.
667
bb556f1f
TK
6682016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
669
670 * gdb.base/examine-backward.c: New file.
671 * gdb.base/examine-backward.exp: New file.
672
38b022b4
SM
6732016-06-06 Simon Marchi <simon.marchi@ericsson.com>
674
675 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
676 matching.
677
1b40ec05
TT
6782016-06-02 Tom Tromey <tom@tromey.com>
679
680 PR python/18984:
681 * gdb.python/py-shared.exp: Add solib_name test.
682
193bd378
SM
6832016-06-02 Simon Marchi <simon.marchi@ericsson.com>
684
685 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
686
3326303b
MG
6872016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
688
689 PR c++/19893
690 * gdb.dwarf2/implref.exp: Rename to...
691 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
692 * gdb.dwarf2/implref-array.c: New file.
693 * gdb.dwarf2/implref-array.exp: Likewise.
694 * gdb.dwarf2/implref-global.c: Likewise.
695 * gdb.dwarf2/implref-global.exp: Likewise.
696 * gdb.dwarf2/implref-struct.c: Likewise.
697 * gdb.dwarf2/implref-struct.exp: Likewise.
698
825c8ef2
AT
6992016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
700
701 * gdb.trace/trace-condition.exp: Add 64bit tests.
702
2320162a
AT
7032016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
704
705 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
706 bits types.
707 (main): Adapt to 8 to 64 bits types.
708 * gdb.trace/trace-condition.exp: Add new tests.
709
a7818233
AT
7102016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
711
712 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
713
0d336466
AT
7142016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
715
716 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
717 Move condition tests...
718 * gdb.trace/trace-condition.exp: Here.
719
7faeb45a
AT
7202016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
721
722 * gdb.trace/trace-condition.exp: Add counter-case tests.
723
e385593e
JK
7242016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
725
726 PR c++/15231
727 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
728 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
729
744608cc
PA
7302016-05-27 Pedro Alves <palves@redhat.com>
731
732 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
733 New procedure.
734 (top level): Call it, and bail out of DejaGnu is known to be bad.
735
ac775bf4
AB
7362016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
737
738 * gdb.base/whatis.c: Extend the test case.
739 * gdb.base/whatis.exp: Add additional tests.
740
2bbad2ea
BH
7412016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
742
743* gdb.fortran/type.f90: Add pointer variable.
744* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
745
8b70175d
BH
7462016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
747
748 * gdb.fortran/vla-type.exp: Fix testcase name.
749
86d8a848
BH
7502016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
751
752 * gdb.fortran/vla-type.exp: Access elements in nested structs.
753
e188eb36
BH
7542016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
755
756 * gdb.fortran/type.f90: Add nested structures.
757 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
758 * gdb.fortran/derived-type.exp: Adapt expected output.
759 * gdb.fortran/vla-type.exp: Adapt expected output.
760
9b2db1fd
BH
7612016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
762
763 * gdb.fortran/whatis_type.exp: Adapt expected output.
764
72b17055
BH
7652016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
766
767 * gdb.fortran/print_type.exp: Fix expected output.
768 * gdb.fortran/whatis_type.exp: Fix expected output.
769
3cd81d8d
BH
7702016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
771
772 * gdb.fortran/whatis_type.exp: Use multi_line.
773
ddae9462
TT
7742016-05-24 Tom Tromey <tom@tromey.com>
775
776 PR python/17386:
777 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
778 use value as an index.
779
1957f6b8
TT
7802016-05-23 Tom Tromey <tom@tromey.com>
781
782 PR python/17981:
783 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
784 no-breakpoint case.
785
026a9174
PA
7862016-05-24 Pedro Alves <palves@redhat.com>
787
788 PR gdb/19828
789 * gdb.threads/clone-attach-detach.c: New file.
790 * gdb.threads/clone-attach-detach.exp: New file.
791
e70a7231
FR
7922016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
793
794 * gdb.base/annota-input-while-running.exp: Fix syntax error.
795
0f6ed0e0
TT
7962016-05-23 Tom Tromey <tom@tromey.com>
797
798 PR python/19438, PR python/18393:
799 * gdb.python/py-progspace.exp: Add "dir" test.
800 * gdb.python/py-objfile.exp: Add "dir" test.
801
ffd19d61
YQ
8022016-05-23 Yao Qi <yao.qi@linaro.org>
803
804 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
805 * gdb.arch/thumb2-it.exp: Likewise.
806
9e8f9b05
SM
8072016-05-18 Simon Marchi <simon.marchi@ericsson.com>
808
809 * gdb.mi/mi-threads-interrupt.c: New file.
810 * gdb.mi/mi-threads-interrupt.exp: New file.
811
61c6156d
SM
8122016-05-17 Simon Marchi <simon.marchi@ericsson.com>
813
814 PR gdb/18077
815 * gdb.mi/mi-async-run.exp: New file.
816 * gdb.mi/mi-async-run.c: New file.
817
67218854
TT
8182016-05-17 Tom Tromey <tom@tromey.com>
819 Manish Goregaokar <manishsmail@gmail.com>
820
821 * lib/rust-support.exp: New file.
822 * lib/gdb.exp (skip_rust_tests): New proc.
823 (build_executable_from_specs): Handle rust.
824 * lib/future.exp (gdb_find_rustc): New proc.
825 (gdb_default_target_compile): Handle rust.
826 * gdb.rust/expr.exp: New file.
827 * gdb.rust/generics.exp: New file.
828 * gdb.rust/generics.rs: New file.
829 * gdb.rust/methods.exp: New file.
830 * gdb.rust/methods.rs: New file.
831 * gdb.rust/modules.exp: New file.
832 * gdb.rust/modules.rs: New file.
833 * gdb.rust/simple.exp: New file.
834 * gdb.rust/simple.rs: New file.
835
c44af4eb
TT
8362016-05-17 Tom Tromey <tom@tromey.com>
837
838 * gdb.base/default.exp (set language): Add rust.
839
dcd1f979
TT
8402016-05-17 Tom Tromey <tom@tromey.com>
841
842 * gdb.gdb/unittest.exp: New file.
843
155b7f57
YQ
8442016-05-16 Yao Qi <yao.qi@linaro.org>
845
846 * gdb.base/batch-preserve-term-settings.exp: Remove variable
847 shell_prompt. Update shell_prompt_re.
848
8ddd5a6c
DE
8492016-05-12 Doug Evans <dje@google.com>
850
851 PR symtab/19999
852 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
853 $options when building executable.
854 * gdb.dwarf2/fission-loclists-pie.S: New file.
855 * gdb.dwarf2/fission-loclists-pie.exp: New file.
856
02e370d9
SM
8572016-05-04 Simon Marchi <simon.marchi@ericsson.com>
858
859 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
860 of [is_remote target],
861
8929ad8b
SM
8622016-05-04 Simon Marchi <simon.marchi@ericsson.com>
863
864 * lib/gdb.exp (use_gdb_stub): New procedure.
865
6c447423
DE
8662016-05-03 Yunlian Jiang <yunlian@google.com>
867 Doug Evans <dje@google.com>
868
869 PR symtab/19914
870 * gdb.dwarf2/dwp-sepdebug.c: New file.
871 * gdb.dwarf2/dwp-sepdebug.exp: New file.
872
444e826c
SM
8732016-05-02 Simon Marchi <simon.marchi@ericsson.com>
874
875 * gdb.base/detach.exp: Remove is_remote check.
876
740feeaa
SM
8772016-05-02 Simon Marchi <simon.marchi@ericsson.com>
878
879 * gdb.base/annota-input-while-running.exp: Don't check for
880 [is_remote target]. Enable annotations after running to main.
881 Remove unused "set test..." line.
882
9080ac9d
SM
8832016-04-28 Simon Marchi <simon.marchi@ericsson.com>
884
885 * gdb.trace/trace-enable-disable.exp: New file.
886 * gdb.trace/trace-enable-disable.c: New file.
887
952ebca5
SM
8882016-04-28 Simon Marchi <simon.marchi@ericsson.com>
889
890 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
891 use it in info sharedlibrary test.
892 * gdb.trace/ftrace-lock.exp: Likewise.
893 * gdb.trace/ftrace.exp: Likewise.
894 * gdb.trace/range-stepping.exp: Likewise.
895 * gdb.trace/trace-break.exp: Likewise.
896 * gdb.trace/trace-condition.exp: Likewise.
897 * gdb.trace/trace-mt.exp: Likewise.
898
d9019901
SM
8992016-04-27 Simon Marchi <simon.marchi@ericsson.com>
900
901 * lib/gdb.exp (gdb_load_shlibs): Rename to...
902 (gdb_load_shlib): ... this.
903 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
904 gdb_load_shlib.
905 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
906 * gdb.base/ctxobj.exp: Likewise.
907 * gdb.base/dprintf-pending.exp: Likewise.
908 * gdb.base/dso2dso.exp: Likewise.
909 * gdb.base/fixsection.exp: Likewise.
910 * gdb.base/gcore-relro.exp: Likewise.
911 * gdb.base/gdb1555.exp: Likewise.
912 * gdb.base/global-var-nested-by-dso.exp: Likewise.
913 * gdb.base/gnu-ifunc.exp: Likewise.
914 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
915 * gdb.base/jit-so.exp (one_jit_test): Likewise.
916 * gdb.base/pending.exp: Likewise.
917 * gdb.base/print-file-var.exp: Likewise.
918 * gdb.base/print-symbol-loading.exp: Likewise.
919 * gdb.base/shlib-call.exp: Likewise.
920 * gdb.base/shreloc.exp: Likewise.
921 * gdb.base/so-impl-ld.exp: Likewise.
922 * gdb.base/solib-disc.exp: Likewise.
923 * gdb.base/solib-nodir.exp: Likewise.
924 * gdb.base/solib-overlap.exp: Likewise.
925 * gdb.base/solib-symbol.exp: Likewise.
926 * gdb.base/solib-weak.exp (do_test): Likewise.
927 * gdb.base/sym-file.exp: Likewise.
928 * gdb.base/symtab-search-order.exp: Likewise.
929 * gdb.base/type-opaque.exp: Likewise.
930 * gdb.base/unload.exp: Likewise.
931 * gdb.base/watchpoint-solib.exp: Likewise.
932 * gdb.compile/compile.exp: Likewise.
933 * gdb.cp/gdb2384.exp: Likewise.
934 * gdb.cp/infcall-dlopen.exp: Likewise.
935 * gdb.cp/re-set-overloaded.exp: Likewise.
936 * gdb.fortran/library-module.exp: Likewise.
937 * gdb.opt/solib-intra-step.exp: Likewise.
938 * gdb.python/py-finish-breakpoint.exp: Likewise.
939 * gdb.python/py-shared.exp: Likewise.
940 * gdb.reverse/solib-precsave.exp: Likewise.
941 * gdb.reverse/solib-reverse.exp: Likewise.
942 * gdb.server/solib-list.exp: Likewise.
943 * gdb.threads/dlopen-libpthread.exp: Likewise.
944 * gdb.threads/tls-shared.exp: Likewise.
945 * gdb.threads/tls-so_extern.exp: Likewise.
946 * gdb.trace/change-loc.exp: Likewise.
947 * gdb.trace/ftrace-lock.exp: Likewise.
948 * gdb.trace/ftrace.exp: Likewise.
949 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
950 * gdb.trace/pending.exp: Likewise.
951 * gdb.trace/range-stepping.exp: Likewise.
952 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
953 (strace_info_marker): Likewise.
954 (strace_probe_marker): Likewise.
955 (strace_trace_on_same_addr): Likewise.
956 (strace_trace_on_diff_addr): Likewise.
957 * gdb.trace/trace-break.exp: Likewise.
958 * gdb.trace/trace-condition.exp: Likewise.
959 * gdb.trace/trace-mt.exp: Likewise.
960
fca4cfd9
SM
9612016-04-27 Simon Marchi <simon.marchi@ericsson.com>
962
963 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
964 result of gdb_remote_download.
965 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
966 * gdb.base/dso2dso.exp: Likewise.
967 * gdb.base/global-var-nested-by-dso.exp: Likewise.
968 * gdb.base/print-file-var.exp: Likewise.
969 * gdb.base/shlib-call.exp: Likewise.
970 * gdb.base/shreloc.exp: Likewise.
971 * gdb.base/solib-overlap.exp: Likewise.
972 * gdb.base/solib-weak.exp (do_test): Likewise.
973 * gdb.base/unload.exp: Likewise.
974
11cf4ffb
YQ
9752016-04-27 Yao Qi <yao.qi@linaro.org>
976
977 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
978 exists.
979
3e2e34f8
KB
9802016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
981
982 * vla-type.exp: Print structure from toplevel.
983
8f07e298
BH
9842016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
985
986 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
987 of dynamic types.
988 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
989 of dynamic types.
990
9920b434
BH
9912016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
992
993 * gdb.fortran/vla-type.f90: New file.
994 * gdb.fortran/vla-type.exp: New file.
995
f3abeff5
YQ
9962016-04-25 Yao Qi <yao.qi@linaro.org>
997
998 * gdb.base/branch-to-self.c: New file.
999 * gdb.base/branch-to-self.exp: New file.
1000
0a5d52f0
YQ
10012016-04-22 Yao Qi <yao.qi@linaro.org>
1002
1003 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
1004 more after $hex.
1005
495346f6
YQ
10062016-04-22 Yao Qi <yao.qi@linaro.org>
1007
1008 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
1009 * gdb.base/annota3.exp: Likewise.
1010
4a7e075c
YQ
10112016-04-22 Yao Qi <yao.qi@linaro.org>
1012
1013 * gdb.reverse/step-precsave.exp: Do one step and test program
1014 stops in "callee" and do multiple steps until program goes out
1015 of "callee".
1016 * gdb.reverse/step-reverse.exp: Likewise.
1017
5b061e98
YQ
10182016-04-22 Yao Qi <yao.qi@linaro.org>
1019
1020 * gdb.trace/signal.exp: Also pass if
1021 $tracepoint_hits($i) > $iterations.
1022
5c5dc57f
YQ
10232016-04-22 Yao Qi <yao.qi@linaro.org>
1024
1025 * gdb.trace/signal.c: New file.
1026 * gdb.trace/signal.exp: New file.
1027
a55411b9
DE
10282016-04-19 Doug Evans <xdje42@gmail.com>
1029
1030 * gdb.base/bad-file.exp: New file.
1031
a22df60a
MG
10322016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
1033
1034 * gdb.dwarf2/implref.exp: New file.
1035
0c13f7e5
BH
10362016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1037
1038 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
1039 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
1040 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
1041 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
1042 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
1043 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
1044 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
1045 * lib/fortran.exp (fortran_int4): New procedure.
1046 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
1047 (fortran_logical4): Likewise.
1048
9b9b09e9
BH
10492016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
1050
1051 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
1052
a14d1f4d
BH
10532016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1054
1055 * lib/compiler.c: Add Intel specific preprocessor macros.
1056 * lib/compiler.cc: Likewise.
25d49b86 1057
7d49b1d0
LM
10582016-04-13 Luis Machado <lgustavo@codesourcery.com>
1059
1060 * gdb.server/connect-with-no-symbol-file.c: New file.
1061 * gdb.server/connect-with-no-symbol-file.exp: New file.
1062
8392fa22
SM
10632016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1064
1065 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
1066
8c4c4aeb
SM
10672016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1068
1069 * boards/gdbserver-base.exp (${board}_download): Copy source file to
1070 standard output directory.
1071
45e3745e
AT
10722016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
1073
1074 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
1075
e26b7e41
MM
10762016-04-13 Markus Metzger <markus.t.metzger@intel.com>
1077
1078 * gdb.btrace/instruction_history.c (loop): Add declaration.
1079
8ce09462
AT
10802016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1081
1082 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
1083
2e88a1ea
SM
10842016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
1085
1086 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
1087 parentheses to print.
1088 (continue_handler): Likewise.
1089
f48e22e3
SM
10902016-04-08 Simon Marchi <simon.marchi@ericsson.com>
1091
1092 * gdb.server/solib-list.exp: Remove is_remote check.
1093 Pass shlib= to gdb_compile. Don't link shared library with
1094 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
1095 Run binary filename through "readlink -f" on the target.
1096
096be756
PA
10972016-04-08 Pedro Alves <palves@redhat.com>
1098
1099 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
1100 interpreter filename as argument to gdbserver_spawn.
1101 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1102 Return empty if $last_loaded_file does not exist.
1103
06500533
JK
11042016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1105
1106 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
1107 * gdb.base/jit-main.c: Use exit after usage.
1108
2d35e871
JK
11092016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1110
1111 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
1112 GDBHISTSIZE prior to the tests.
1113 * gdb.base/gdbinit-history.exp: Likewise.
1114
11152016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
1116
1117 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
1118 instead of build_executable. Use gdb_load_shlibs.
1119
c8064e7e
YQ
11202016-04-07 Yao Qi <yao.qi@linaro.org>
1121
1122 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
1123 Execute "si" command.
1124
bde47561
YQ
11252016-04-07 Yao Qi <yao.qi@linaro.org>
1126
1127 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
1128 number instead of the comments on some line.
1129
b16f8a3b
DB
11302016-04-06 Don Breazeal <donb@codesourcery.com>
1131
1132 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
1133 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
1134
c2f901df
SM
11352016-04-06 Simon Marchi <simon.marchi@ericsson.com>
1136
1137 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
1138 standard_output_file. Remove unused binfile variable.
1139
ac17fda0
CU
11402016-04-05 Catalin Udma <catalin.udma@freescale.com>
1141
1142 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
1143 * gdb.python/py-mi-objfile.exp: Match "list main" output
1144 in console format.
1145
03a8c4df
SM
11462016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
1147
1148 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
1149 absolute.
1150
6e774b13
SM
11512016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1152
1153 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
1154 absolute.
1155 * gdb.trace/ftrace.exp: Likewise.
1156 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
1157 targets as well.
1158 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
1159 (gdb_load_shlibs): Copy libraries to test directory when testing
1160 natively. Only set solib-search-path if testing remotely.
1161 * lib/mi-support.exp (mi_load_shlibs): Likewise.
1162
7817ea46
SM
11632016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1164
1165 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
1166 gdb_download. Use it even if the target is not remote.
1167 * gdb.base/jit.exp (compile_jit_test): Likewise.
1168 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
1169 output directory if the destination board is local, otherwise use
1170 the standard remote_download from DejaGnu.
1171 (gdb_download): Remove.
1172 (gdb_load_shlibs): Use gdb_remote_download instead of
1173 gdb_download.
1174 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1175 Use gdb_remote_download instead of gdb_download. Use it even if
1176 the target is not remote.
1177 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
1178 instead of gdb_download.
1179
7beb7f68
SM
11802016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
1181
1182 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
1183 (test_insert_delete_modify): Call mi_load_shlibs before trying to
1184 run.
1185
cc63428a
AV
11862016-04-01 Artemiy Volkov <artemiyv@acm.org>
1187
1188 PR gdb/19820
1189 * gdb.base/printcmds.exp: Add artificial arrays tests.
1190
64cdf930
PA
11912016-03-31 Pedro Alves <palves@redhat.com>
1192
1193 PR gdb/19858
1194 * gdb.base/jit-main.c: Include unistd.h.
1195 (ATTACH): Define to 0 if not already defined.
1196 (wait_for_gdb, mypid): New globals.
1197 (WAIT_FOR_GDB): New macro.
1198 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
1199 some breakpoint locations.
1200 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
1201 New procedures.
1202 (one_jit_test): Add REATTACH parameter, and handle it. Use
1203 continue_to_test_location.
1204 (top level): Test attach, and adjusts calls to one_jit_test.
1205
40dea8cb
PA
12062016-03-31 Pedro Alves <palves@redhat.com>
1207
1208 PR gdb/19858
1209 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
1210 BINSUFFIX parameter, and handle it.
1211 (top level): Adjust calls compile_jit_test.
1212
e7ea3ec7
CU
12132016-03-31 Catalin Udma <catalin.udma@freescale.com>
1214
1215 PR python/19743
1216 * gdb.python/py-mi-events-gdb.py: New file.
1217 * gdb.python/py-mi-events.c: New file.
1218 * gdb.python/py-mi-events.exp: New file.
1219
e6359af3
YQ
12202016-03-30 Yao Qi <yao.qi@linaro.org>
1221
1222 * gdb.reverse/until-precsave.exp: Match function name only.
1223 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
1224 Move malloc to a condition block.
1225 * gdb.reverse/until-reverse.exp: Match function name only.
1226
a4105d04
MK
12272016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
1228
1229 * gdb.trace/ftrace.exp: Set arg0exp for s390.
1230 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
1231 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
1232 variable for GPR 0 instead of assuming it is register 0.
1233 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
1234 * lib/trace-support.exp: Add s390 registers.
1235
bfa6adb9
YQ
12362016-03-29 Yao Qi <yao.qi@linaro.org>
1237
1238 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
1239
1e6697ea
YQ
12402016-03-24 Yao Qi <yao.qi@linaro.org>
1241
1242 * gdb.reverse/break-reverse.exp: Add quotation mark in the
1243 test message.
1244
64bcd522
AA
12452016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1246
1247 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
1248 maintaining separate logic for constructing the output path.
1249
7868401b
DB
12502016-03-16 Don Breazeal <donb@codesourcery.com>
1251
1252 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1253 Retry fork and waitpid on interrupted system call errors.
1254 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1255 Use with_timeout_factor to increase timeout by factor of 10.
1256
1cafadb4
DB
12572016-03-15 Don Breazeal <donb@codesourcery.com>
1258
1259 * gdb.cp/scope-err.cc: New test program.
1260 * gdb.cp/scope-err.exp: New test script.
1261 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
1262 lines and "set breakpoint here" comment.
1263 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
1264 Fixed some whitespace and format issues.
1265 * gdb.mi/mi-linespec-err-cp.cc: New test program.
1266 * gdb.mi/mi-linespec-err-cp.exp: New test script.
1267
81516450
DE
12682016-03-15 Doug Evans <dje@google.com>
1269
1270 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
1271 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
1272 All callers updated. Add tests for enums, mixed flags register.
1273
aa52b601
DE
12742016-03-15 Doug Evans <dje@google.com>
1275
1276 * gdb.base/skip.c (main): Call test_skip_file_and_function.
1277 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
1278
fa4ff313
SM
12792016-03-14 Simon Marchi <simon.marchi@ericsson.com>
1280
1281 * gdb.base/default.exp: Add $_as_string to the list of expected
1282 convenience functions.
1283
f2403c39
AB
12842016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
1285
1286 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1287
f2f3ccb9
SM
12882016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1289
1290 * gdb.python/py-as-string.exp: New file.
1291 * gdb.python/py-as-string.c: New file.
1292
00dbd492
PA
12932016-03-09 Pedro Alves <palves@redhat.com>
1294
1295 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1296 signal" -> "Thread NN received signal" output change.
1297 * gdb.threads/ia64-sigill.exp: Likewise.
1298 * gdb.threads/linux-dp.exp: Likewise.
1299 * gdb.threads/manythreads.exp: Likewise.
1300 * gdb.threads/pending-step.exp: Likewise.
1301 * gdb.threads/print-threads.exp: Likewise.
1302 * gdb.threads/sigstep-threads.exp: Likewise.
1303 * gdb.threads/staticthreads.exp: Likewise.
1304 * gdb.threads/tls.exp: Likewise.
1305
1e6697ea
YQ
13062016-03-09 Pedro Alves <palves@redhat.com>
1307
1308 * gdb.base/command-line-input.exp: New file.
1309
b04fd3be
MK
13102016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1311
1312 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1313 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1314 * gdb.trace/pending.exp: Accept leading dot before function name.
1315 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1316 * lib/trace-support.exp: Set registers for ppc.
1317
98fa59e9
MK
13182016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1319
1320 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1321 use it for disassembly; accept .main in addition to main in backtrace.
1322
f77198c8
MK
13232016-03-09 Wei-cheng Wang <cole945@gmail.com>
1324 Marcin Kościelnicki <koriakin@0x04.net>
1325
1326 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1327 (gdb_recursion_test_ptr): New global variable.
1328 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1329 gdb_recursion_test.
1330 (gdb_c_test): Ditto.
1331
ba84e0da
MK
13322016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1333
1334 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1335 ordering.
1336
4366d36e
MK
13372016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1338
1339 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1340 (bar): Add bar_start_lbl label.
1341 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1342 of foo/bar for emitting DWARF and tracing.
1343
5eb264df
SDJ
13442016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1345
1346 * analyze-racy-logs.py: Set executable bit.
1347
fb6a751f
SDJ
13482016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1349
1350 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1351 (CHECK_TARGET_TMP): Likewise.
1352 (check-single-racy): New rule.
1353 (check-parallel-racy): Likewise.
1354 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1355 (do-check-parallel-racy): New rule.
1356 (check-racy/%.exp): Likewise.
1357 * README (Racy testcases): New section.
1358 * analyze-racy-logs.py: New file.
1359
bdf7e230
DE
13602016-03-03 Doug Evans <dje@google.com>
1361
1362 * gdb.base/skip.exp: Use with_test_prefix.
1363
4719d415
YQ
13642016-03-03 Yao Qi <yao.qi@linaro.org>
1365
1366 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1367 Invoke step_over_syscall "clone" and break_cond_on_syscall
1368 "clone".
1369 * gdb.base/step-over-clone.c: New file.
1370
ea507862
YQ
13712016-03-03 Yao Qi <yao.qi@linaro.org>
1372
1373 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1374 code format.
1375
8fc8cbda
YQ
13762016-03-03 Yao Qi <yao.qi@linaro.org>
1377
1378 * gdb.base/disp-step-fork.c: Rename to ...
1379 * gdb.base/step-over-fork.c: ... it. New file.
1380 * gdb.base/disp-step-vfork.c: Rename to ...
1381 * gdb.base/step-over-vfork.c: ... it. New file.
1382 * gdb.base/disp-step-syscall.exp: Rename to ...
1383 * gdb.base/step-over-syscall.exp: ... it. New file.
1384 (disp_step_cross_syscall): Rename to ...
1385 (step_over_syscall): ... it.
1386
92fa70b0
YQ
13872016-03-03 Yao Qi <yao.qi@linaro.org>
1388
1389 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1390 If target supports condition evaluation on target, invoke
1391 break_cond_on_syscall for fork and vfork.
1392
e197ad3c
YQ
13932016-03-03 Yao Qi <yao.qi@linaro.org>
1394
1395 * gdb.base/disp-step-syscall.exp: Don't invoke
1396 support_displaced_stepping.
1397 (disp_step_cross_syscall): Test with displaced stepping off and
1398 on if supported.
1399
0b47da9f
YQ
14002016-03-03 Yao Qi <yao.qi@linaro.org>
1401
1402 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1403 proc.
1404 (setup): New proc.
1405 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1406 and setup.
1407
065ab6dc
BH
14082016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1409
1410 * gdb.fortran/vla-history.exp: Remove breakpoint.
1411
07e448ad 14122016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1413
25d49b86
PA
1414 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1415 exceeds timeout.
07e448ad 1416
9ac2d526 14172016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1418
25d49b86
PA
1419 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1420 breakpoint.
9ac2d526 1421
17807369
BH
14222016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1423
1424 * gdb.mi/vla.f90: Nullify pointer after declaration.
1425
86e501af
PA
14262016-03-01 Pedro Alves <palves@redhat.com>
1427
1428 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1429
1e903e32
PA
14302016-03-01 Pedro Alves <palves@redhat.com>
1431
1432 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1433 before anything else.
1434 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1435 _GNU_SOURCE here.
1436 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1437 before anything else.
1438 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1439
6ccb54e2
PA
14402016-03-01 Pedro Alves <palves@redhat.com>
1441
1442 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1443
30ca9da1
YQ
14442016-03-01 Yao Qi <yao.qi@linaro.org>
1445
1446 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1447 prepare_for_testing.
1448
dc856b38
YQ
14492016-03-01 Yao Qi <yao.qi@linaro.org>
1450
1451 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1452
4a932159
AA
14532016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1454
1455 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1456 manually constructing the output path.
1457
f2489477
AA
14582016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1459
1460 * gdb.arch/s390-stackless.S: New.
1461 * gdb.arch/s390-stackless.exp: New.
1462
38899f16
IB
14632016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1464
1465 * gdb.dlang/circular.c: New file.
1466 * gdb.dlang/circular.exp: New file.
1467
9fde51ed
YQ
14682016-02-26 Yao Qi <yao.qi@linaro.org>
1469
1470 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1471 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1472 (testcases): Update.
1473
ce90fefe
YQ
14742016-02-26 Yao Qi <yao.qi@linaro.org>
1475
1476 * gdb.reverse/aarch64.c: Rename to ...
1477 * gdb.reverse/insn-reverse.c: ... it.
1478 * gdb.reverse/aarch64.exp: Rename to ...
1479 * gdb.reverse/insn-reverse.exp: ... it.
1480
3263bceb
YQ
14812016-02-26 Yao Qi <yao.qi@linaro.org>
1482
1483 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1484 (testcase_ftype): New.
1485 (testcases): New array.
1486 (n_testcases): New.
1487 (main): Call each element in testcases.
1488 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1489 (read_testcase): New.
1490 Do the tests in a loop.
1491
6cb59ff1
YQ
14922016-02-25 Yao Qi <yao.qi@linaro.org>
1493
1494 * gdb.base/branches.c: Remove.
1495
ae91f625
MK
14962016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1497
1498 PR gdb/13808
1499 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1500
678b48b7
MK
15012016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1502
1503 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1504
7337a6f2
MK
15052016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1506
1507 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1508 change x86_64 call_insn to 'callq'.
1509
861ca91f
AT
15102016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1511
1512 * gdb.trace/tfile-avx.c: Move to...
1513 * gdb.trace/tracefile-pseudo-reg.c: Here.
1514 * gdb.trace/tfile-avx.exp: Move to...
1515 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1516
bf74e428
GB
15172016-02-24 Gary Benson <gbenson@redhat.com>
1518
1519 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1520 message on attach.
1521
cce0e923
DE
15222016-02-23 Doug Evans <dje@google.com>
1523
1524 * gdb.base/skip.c (test_skip): New function.
1525 (end_test_skip_file_and_function): New function.
1526 (test_skip_file_and_function): New function.
1527 * gdb.base/skip1.c (test_skip): New function.
1528 (skip1_test_skip_file_and_function): New function.
1529 * gdb.base/skip.exp: Add tests for new skip options.
1530 * gdb.base/skip-solib.exp: Update expected output.
1531 * gdb.perf/skip-command.cc: New file.
1532 * gdb.perf/skip-command.exp: New file.
1533 * gdb.perf/skip-command.py: New file.
1534
4000e47e
MK
15352016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1536
1537 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1538 info registers pattern.
1539
24f75ead
IB
15402016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1541
1542 * lib/future.exp: Add D support.
1543 (gdb_find_gdc): New proc.
1544 (gdb_default_target_compile): Add D support.
1545
fbb7bcbe
WW
15462016-02-18 Wei-cheng Wang <cole945@gmail.com>
1547
1548 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1549 user+system time.
1550 (trace_speed_test): Determine the iteration count for a time
1551 between 15..30 seconds.
1552
012b3a21
WT
15532016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1554
1555 * gdb.arch/i386-mpx-sigsegv.c: New file.
1556 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1557 * gdb.arch/i386-mpx-simple_segv.c: New file.
1558 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1559
2d5189bd
YQ
15602016-02-18 Yao Qi <yao.qi@linaro.org>
1561
1562 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1563 Don't call setup_kfail.
1564
40fb20d0
YQ
15652016-02-18 Yao Qi <yao.qi@linaro.org>
1566
1567 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1568 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1569
21b1f8d2
DE
15702016-02-16 Doug Evans <dje@google.com>
1571
1572 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1573 * gdb.base/skip1.c: Ditto.
1574 * gdb.base/skip.exp: Whitespace cleanup.
1575
4041ed77
DB
15762016-02-16 Don Breazeal <donb@codesourcery.com>
1577
1578 PR remote/19496
1579 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1580 Remove kfail for PR remote/19496.
1581
c4ef31bf
SM
15822016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1583
1584 * lib/gdb.exp (standard_temp_file): Return a path specific to
1585 the runtest invocation.
1586
266b65b3
SM
15872016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1588
1589 * gdb.trace/save-trace.exp: Change relative path to be in the
1590 standard output directory.
1591
a7a0a6a9
JK
15922016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1593
1594 * gdb.arch/i386-prologue.c: Add missing prototypes.
1595
c99dbb42
JK
15962016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1597
1598 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1599 * gdb.arch/i386-prologue.exp: Likewise.
1600 * gdb.arch/i386-size.exp: Likewise.
1601
aa480355
SM
16022016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1603
1604 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1605 define object file path.
1606 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1607 file path.
1608 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1609 standard_output_file to define binfile.
1610
ba881f50
JK
16112016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1612
1613 Fix compatibility with recent gfortran-5.3.1.
1614 * gdb.fortran/vla-history.exp (print vla1 allocated)
1615 (print vla2 allocated, print $2, print $3): Remove
1616 (print $4): Rename to ...
1617 (print $2): ... here.
1618 (print $9): Rename to ...
1619 (print $5): ... here.
1620 (print $10): Rename to ...
1621 (print $6): ... here.
1622 * gdb.fortran/vla.f90: Add pvla initialization.
1623
e9fb005c
JK
16242016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1625
1626 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1627 New test.
1628 * gdb.fortran/vla-value-sub.exp: Likewise.
1629
e44e00ff
MK
16302016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1631
1632 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1633
97e94151
SM
16342016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1635
1636 * i386-biarch-core.exp: Define corefile using
1637 standard_output_file.
1638
01113bc1
YQ
16392016-02-12 Yao Qi <yao.qi@linaro.org>
1640
1641 * gdb.arch/arm-single-step-kernel-helper.c: New.
1642 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1643
33b4777c
MM
16442016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1645
1646 * gdb.btrace/tailcall-only.exp: New.
1647 * gdb.btrace/tailcall-only.c: New.
1648 * gdb.btrace/x86_64-tailcall-only.S: New.
1649 * gdb.btrace/i686-tailcall-only.S: New.
1650
acc23c11
PA
16512016-02-11 Pedro Alves <palves@redhat.com>
1652
1653 * README (Parallel testing): Add missing double quotes.
1654
e352bf0a
PA
16552016-02-11 Pedro Alves <palves@redhat.com>
1656
1657 * README (Parallel testing): New section.
1658 (GDB_PARALLEL): Rewrite.
1659 (FORCE_PARALLEL): Document.
1660
9f5fed78
MK
16612016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1662
1663 * gdb.trace/tfile-avx.c: New test.
1664 * gdb.trace/tfile-avx.exp: New test.
1665
9ef9e6a6
KS
16662016-02-09 Keith Seitz <keiths@redhat.com>
1667
1668 PR breakpoints/19546
1669 * gdb.base/infcall-exec.c: New file.
1670 * gdb.base/infcall-exec2.c: New file.
1671 * gdb.base/infcall-exec.exp: New file.
1672
a96e36da
KS
16732016-02-09 Keith Seitz <keiths@redhat.com>
1674
1675 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1676 (toplevel): Call test_bkpt_address.
1677
9f61929f
KS
16782016-02-09 Keith Seitz <keiths@redhat.com>
1679
1680 PR python/19506
1681 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1682 (toplevel): Call test_bkpt_address.
1683
1e94266c
SM
16842016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1685
1686 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1687 to AC_OUTPUT.
1688 * configure: Regenerate.
1689
2a7f3dff
PA
16902016-02-09 Pedro Alves <palves@redhat.com>
1691
1692 PR breakpoints/19548
1693 * gdb.base/execl-update-breakpoints.c (some_function): New
1694 function.
1695 (main): Call it.
1696 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1697 Tighten expected GDB output.
1698
2151ccc5
SM
16992016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1700
1701 * Makefile.in (ALL_SUBDIRS): Remove.
1702 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1703 (distclean maintainer-clean realclean): Likewise.
1704 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1705 * configure: Regenerate.
1706 * gdb.ada/Makefile.in: Delete.
1707 * gdb.arch/Makefile.in: Likewise.
1708 * gdb.asm/Makefile.in: Likewise.
1709 * gdb.base/Makefile.in: Likewise.
1710 * gdb.btrace/Makefile.in: Likewise.
1711 * gdb.cell/Makefile.in: Likewise.
1712 * gdb.compile/Makefile.in: Likewise.
1713 * gdb.cp/Makefile.in: Likewise.
1714 * gdb.disasm/Makefile.in: Likewise.
1715 * gdb.dlang/Makefile.in: Likewise.
1716 * gdb.dwarf2/Makefile.in: Likewise.
1717 * gdb.fortran/Makefile.in: Likewise.
1718 * gdb.gdb/Makefile.in: Likewise.
1719 * gdb.go/Makefile.in: Likewise.
1720 * gdb.guile/Makefile.in: Likewise.
1721 * gdb.java/Makefile.in: Likewise.
1722 * gdb.linespec/Makefile.in: Likewise.
1723 * gdb.mi/Makefile.in: Likewise.
1724 * gdb.modula2/Makefile.in: Likewise.
1725 * gdb.multi/Makefile.in: Likewise.
1726 * gdb.objc/Makefile.in: Likewise.
1727 * gdb.opencl/Makefile.in: Likewise.
1728 * gdb.opt/Makefile.in: Likewise.
1729 * gdb.pascal/Makefile.in: Likewise.
1730 * gdb.perf/Makefile.in: Likewise.
1731 * gdb.python/Makefile.in: Likewise.
1732 * gdb.reverse/Makefile.in: Likewise.
1733 * gdb.server/Makefile.in: Likewise.
1734 * gdb.stabs/Makefile.in: Likewise.
1735 * gdb.threads/Makefile.in: Likewise.
1736 * gdb.trace/Makefile.in: Likewise.
1737 * gdb.xml/Makefile.in: Likewise.
1738 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1739 GDB_PARALLEL.
1740 (standard_output_file): Remove check for GDB_PARALLEL, always
1741 return path in outputs/$subdir/$testname.
1742
437277d4
SM
17432016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1744
1745 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1746 (site.exp): Assign abs_srcdir to tcl's srcdir.
1747
31d913c7
YQ
17482016-02-04 Yao Qi <yao.qi@linaro.org>
1749
1750 * gdb.base/foll-exec-mode.c: Include limits.h.
1751 (main): Add parameters argc and argv. Get directory from
1752 argv[0].
1753 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1754 compilation.
1755 * gdb.base/foll-exec.c: Include limits.h.
1756 (main): Add parameters argc and argv.
1757 Get directory from argv[0].
1758 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1759 Adjust tests on the number of lines as source code changed.
1760 * gdb.base/foll-vfork-exit.c: Include limits.h.
1761 (main): Add one line of statement before vfork.
1762 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1763 (main): Add parameters argc and argv. Get directory from
1764 argv[0].
1765 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1766 (setup_gdb): Set tbreak to skip some source lines.
1767 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1768 (main): Add parameters argc and argv. Get directory from
1769 argv[0].
1770 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1771 compilation.
1772 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1773 (main): Add parameters argc and argv. Get directory from
1774 argv[0].
1775 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1776 compilation.
1777
9482b9fb
DE
17782016-02-01 Doug Evans <dje@google.com>
1779
1780 * gdb.base/skip.exp: Clean up multiple references to same test name.
1781
6b2e4f10
PA
17822016-02-01 Pedro Alves <palves@redhat.com>
1783
ccb6afd6 1784 PR remote/19496
6b2e4f10
PA
1785 * gdb.threads/forking-threads-plus-breakpoint.exp
1786 (displaced_stepping_supported): New global.
1787 (probe_displaced_stepping_support): New procedure.
1788 (do_test): Add 'displaced' parameter, and use it.
1789 (top level): Check for displaced stepping support. Add displaced
1790 stepping on/off testing axis.
1791
37a8db1a
AB
17922016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1793
1794 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1795 pointer. Don't perform further tests on the unassociated pointer
1796 if the first test fails.
1797
5fdf6324
AB
17982016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1799
1800 * gdb.base/max-value-size.c: New file.
1801 * gdb.base/max-value-size.exp: New file.
1802 * gdb.base/huge.exp: Disable max-value-size for this test.
1803
935c6144
IB
18042016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1805
1806 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1807
7fe8399d
YQ
18082016-01-28 Yao Qi <yao.qi@linaro.org>
1809
1810 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1811
a2077e25
PA
18122016-01-25 Pedro Alves <palves@redhat.com>
1813
1814 PR threads/19461
1815 * gdb.base/fork-running-state.c: New file.
1816 * gdb.base/fork-running-state.exp: New file.
1817
1d2736d4
PA
18182016-01-25 Pedro Alves <palves@redhat.com>
1819
1820 PR gdb/19494
1821 * gdb.base/catch-fork-kill.c: New file.
1822 * gdb.base/catch-fork-kill.exp: New file.
1823
f1da4b11
PA
18242016-01-25 Pedro Alves <palves@redhat.com>
1825
1826 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1827 Delete, moved to lib/gdb.exp.
1828 * gdb.threads/forking-threads-plus-breakpoint.exp
1829 (foreach_with_prefix): Likewise.
1830 * gdb.threads/process-dies-while-handling-bp.exp
1831 (foreach_with_prefix): Likewise.
1832 * lib/gdb.exp (foreach_with_prefix): New procedure.
1833
45f38546
MK
18342016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1835
1836 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1837 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1838
dc29a1ce
MK
18392016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1840
1841 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1842 endian targets.
1843
092127d7
JK
18442016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1845 Pedro Alves <palves@redhat.com>
1846
1847 Fix testsuite compatibility with Guile.
1848 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1849 number.
1850
31d765d3
JK
18512016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1852
1853 Fix testsuite compatibility with Guile.
1854 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1855 (thread 1): New test for backtrace through signal handler.
1856
1ac78c04
YQ
18572016-01-22 Yao Qi <yao.qi@linaro.org>
1858
1859 PR testsuite/19491
1860 * gdb.base/multi-forks.c: Include
1861 ../lib/unbuffer_output.c
1862 (main): Call gdb_unbuffer_output.
1863
4f5946a8
DE
18642016-01-21 Doug Evans <dje@google.com>
1865
1866 * lib/ada.exp (gdb_compile_ada): Fix typo.
1867
305e13e6
JB
18682016-01-21 Joel Brobecker <brobecker@adacore.com>
1869
1870 * gdb.base/break-fun-addr.exp: New file.
1871 * gdb.base/break-fun-addr1.c: New file.
1872 * gdb.base/break-fun-addr2.c: New file.
1873
5f5dfff6
SM
18742016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1875
1876 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1877 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1878 enum flag values.
1879
fd356fa2
AA
18802016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1881
1882 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1883 when GDB can not set the vector return value. Add more comments
1884 for clarification.
1885
9df22175
AT
18862016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1887
1888 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1889 command.
1890
41d1845e
SM
18912016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1892
1893 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1894
01ac6840
SM
18952016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1896
1897 * Makefile.in (check-single): Pass --status to runtest.
1898 (check/%.exp): Likewise.
1899
19002016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1901
1902 * Makefile.in (check-parallel): Propagate return code from make
1903 do-check-parallel.
1904
bd0a71fa
MK
19052016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1906
1907 * gdb.trace/ftrace.exp: Fix expected message on continue.
1908 * gdb.trace/pending.exp: Fix expected message on continue.
1909 * gdb.trace/trace-break.exp: Fix expected message on continue.
1910
8bcbad33
SM
19112016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1912
1913 * lib/gdb.exp (gdb_test): Remove unused global references.
1914
f303dbd6
PA
19152016-01-18 Pedro Alves <palves@redhat.com>
1916
1917 * gdb.base/async-shell.exp: Adjust expected output.
1918 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1919 * gdb.base/siginfo-thread.exp: Adjust expected output.
1920 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1921 * gdb.java/jnpe.exp: Adjust expected output.
1922 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1923 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1924 * gdb.threads/leader-exit.exp: Adjust expected output.
1925 * gdb.threads/manythreads.exp: Adjust expected output.
1926 * gdb.threads/pthreads.exp: Adjust expected output.
1927 * gdb.threads/schedlock.exp: Adjust expected output.
1928 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1929 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1930 expected output.
1931 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1932 output.
1933 * gdb.threads/sigthread.exp: Adjust expected output.
1934 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1935
b2789696
YQ
19362016-01-18 Yao Qi <yao.qi@linaro.org>
1937
1938 * gdb.guile/scm-section-script.c: Replace @progbits with
1939 %progbits.
1940 * gdb.python/py-section-script.c: Likewise.
1941
71ef29a8
PA
19422016-01-15 Pedro Alves <palves@redhat.com>
1943
1944 * gdb.multi/tids.exp: Test star wildcard ranges.
1945
3f5b7598
PA
19462016-01-15 Pedro Alves <palves@redhat.com>
1947
1948 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1949 command from "thread apply" invocation.
1950 (thr_apply_info_thr_invalid): Default the expected output to the
1951 input tid list.
1952 (top level): Add tests that use convenience variables. Add tests
1953 for "thread apply" with a valid TID list, but missing the command.
1954
663f6d42
PA
19552016-01-13 Pedro Alves <palves@redhat.com>
1956
1957 * gdb.base/default.exp: Expect $_gthread as well.
1958 * gdb.multi/tids.exp: Test $_gthread.
1959 * gdb.threads/thread-specific.exp: Test $_gthread.
1960
c84f6bbf
PA
19612016-01-13 Pedro Alves <palves@redhat.com>
1962
1963 * gdb.multi/tids.exp: Test "info threads -gid".
1964
22a02324
PA
19652016-01-13 Pedro Alves <palves@redhat.com>
1966
1967 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1968 Breakpoint.thread.
1969 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1970
5d5658a1
PA
19712016-01-07 Pedro Alves <palves@redhat.com>
1972
1973 * gdb.base/break.exp: Adjust to output changes.
1974 * gdb.base/hbreak2.exp: Likewise.
1975 * gdb.base/sepdebug.exp: Likewise.
1976 * gdb.base/watch_thread_num.exp: Likewise.
1977 * gdb.linespec/keywords.exp: Likewise.
1978 * gdb.multi/info-threads.exp: Likewise.
1979 * gdb.threads/thread-find.exp: Likewise.
1980 * gdb.multi/tids.c: New file.
1981 * gdb.multi/tids.exp: New file.
1982
84654457
PA
19832016-01-13 Pedro Alves <palves@redhat.com>
1984
1985 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1986
e3940304
PA
19872016-01-13 Pedro Alves <palves@redhat.com>
1988
1989 * gdb.base/default.exp: Expect $_inferior as well.
1990 * gdb.multi/base.exp: Test $_inferior.
1991
a911d87a
PA
19922016-01-13 Pedro Alves <palves@redhat.com>
1993
1994 PR breakpoints/19388
1995 * gdb.base/catch-signal-siginfo-cond.c: New file.
1996 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1997
82075af2
JS
19982016-01-12 Josh Stone <jistone@redhat.com>
1999 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2000
2001 * gdb.base/catch-syscall.c (do_execve): New variable.
2002 (main): Conditionally trigger an execve.
2003 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
2004 (test_catch_syscall_execve): New, check entry/return across execve.
2005 (do_syscall_tests): Call test_catch_syscall_execve.
2006
e46eeedd
PA
20072016-01-12 Pedro Alves <palves@redhat.com>
2008
2009 * gdb.base/random-signal.exp (do_test): New procedure, with body
2010 of testcase moved in.
2011
01d8c27e
JK
20122016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2013 Pedro Alves <palves@redhat.com>
2014
2015 * gdb.base/funcargs.exp (finish from indirectly called function):
2016 Reintroduce the case for 'First'.
2017
9a706302
JK
20182016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2019 Pedro Alves <palves@redhat.com>
2020
2021 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
2022 (tcatch_vfork_then_child_follow_exec)
2023 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
2024 identification.
2025
c0ecb95f
JK
20262016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2027
2028 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
2029 and repeats to unlimited.
2030 * gdb.python/py-value.exp: Likewise.
2031 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
2032 and repeats to unlimited.
2033
6cfc1fcb
JK
20342016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2035
2036 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
2037 and reordering the functions.
2038 * gdb.multi/hangout.c: Likewise.
2039 * gdb.multi/hello.c: Likewise.
2040
582a1b00
SM
20412016-01-08 Simon Marchi <simon.marchi@ericsson.com>
2042
2043 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
2044 absolute.
2045 (SingleStatisticTestResult.report): Use dict.keys instead of
2046 dict.iterkeys.
2047
79bc59cb
PA
20482016-01-06 Pedro Alves <palves@redhat.com>
2049
2050 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
2051
43368e1d
MM
20522016-01-04 Markus Metzger <markus.t.metzger@intel.com>
2053
2054 * gdb.btrace/dlopen.exp: New.
2055 * gdb.btrace/dlopen.c: New.
2056 * gdb.btrace/dlopen-dso.c: New.
2057
79fad5b8
SL
20582015-12-25 Sandra Loosemore <sandra@codesourcery.com>
2059
2060 * lib/gdb.exp (gdb_test): Update comments to clarify that the
2061 PATTERN argument is optional.
2062
ab8314b3
JB
20632015-12-24 Joel Brobecker <brobecker@adacore.com>
2064
2065 * lib/ada.exp (target_compile_ada_from_dir): New function.
2066 (gdb_compile_ada): Reimplement avoiding the use of project files.
2067 * gdb.ada/gnat_ada.gpr: Delete.
2068 * gdb.ada/cond_lang.exp: Adjust test to make path before
2069 filename optional.
2070 * gdb.ada/small_reg_param.exp: Likewise.
2071
fe33faff
SM
20722015-12-22 Simon Marchi <simon.marchi@ericsson.com>
2073
2074 * gdb.base/foll-vork.exp: Remove HP-UX special case.
2075
6d265cb4
TP
20762015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
2077
2078 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
2079 case.
2080
10125099
SM
20812015-12-21 Simon Marchi <simon.marchi@ericsson.com>
2082
2083 * gdb.base/break.exp: Remove dead code.
2084 * gdb.base/sepdebug.exp: Likewise.
2085
3ca22649
SM
20862015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2087
2088 * gdb.asm/asm-source.exp: Remove HP-UX references.
2089 * gdb.base/annota1.exp: Likewise.
2090 * gdb.base/annota3.exp: Likewise.
2091 * gdb.base/attach.exp: Likewise.
2092 * gdb.base/bigcore.exp: Likewise.
2093 * gdb.base/break.exp: Likewise.
2094 * gdb.base/call-ar-st.exp: Likewise.
2095 * gdb.base/callfuncs.exp: Likewise.
2096 * gdb.base/catch-fork-static.exp: Likewise.
2097 * gdb.base/display.exp: Likewise.
2098 * gdb.base/foll-exec-mode.exp: Likewise.
2099 * gdb.base/foll-exec.exp: Likewise.
2100 * gdb.base/foll-fork.exp: Likewise.
2101 * gdb.base/foll-vfork.exp: Likewise.
2102 * gdb.base/funcargs.exp: Likewise.
2103 * gdb.base/hbreak2.exp: Likewise.
2104 * gdb.base/inferior-died.exp: Likewise.
2105 * gdb.base/interrupt.exp: Likewise.
2106 * gdb.base/multi-forks.exp: Likewise.
2107 * gdb.base/nodebug.exp: Likewise.
2108 * gdb.base/sepdebug.exp: Likewise.
2109 * gdb.base/solib1.c: Likewise.
2110 * gdb.base/step-test.exp: Likewise.
2111 * gdb.mi/non-stop.c: Likewise.
2112 * gdb.mi/pthreads.c: Likewise.
2113 * gdb.multi/bkpt-multi-exec.ex: Likewise.
2114 * gdb.threads/pthreads.c: Likewise.
2115 * gdb.threads/staticthreads.exp: Likewise.
2116 * lib/future.exp: Likewise.
2117 * lib/gdb.exp: Likewise.
2118 * gdb.base/so-indr-cl.c: Remove.
2119 * gdb.base/so-indr-cl.exp: Likewise.
2120 * gdb.base/solib.c: Likewise.
2121 * gdb.base/solib.exp: Likewise.
2122 * gdb.base/solib2.c: Likewise.
2123
b6304613
SM
21242015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2125
2126 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
2127 * gdb.base/call-ar-st.exp: Likewise.
2128 * gdb.base/callfuncs.exp: Likewise.
2129 * gdb.base/condbreak.exp: Likewise.
2130 * gdb.base/constvars.exp: Likewise.
2131 * gdb.base/hbreak2.exp: Likewise.
2132 * gdb.base/langs.exp: Likewise.
2133 * gdb.base/list.exp: Likewise.
2134 * gdb.base/long_long.exp: Likewise.
2135 * gdb.base/ptype.exp: Likewise.
2136 * gdb.base/scope.exp: Likewise.
2137 * gdb.base/signals.exp: Likewise.
2138 * gdb.base/so-impl-ld.exp: Likewise.
2139 * gdb.base/varargs.exp: Likewise.
2140 * gdb.base/volatile.exp: Likewise.
2141 * gdb.base/whatis.exp: Likewise.
2142 * gdb.cp/cplusfuncs.exp: Likewise.
2143 * gdb.cp/inherit.exp: Likewise.
2144 * gdb.cp/local.exp: Likewise.
2145 * gdb.cp/member-ptr.exp: Likewise.
2146 * gdb.cp/method.exp: Likewise.
2147 * gdb.cp/overload.exp: Likewise.
2148 * gdb.cp/templates.exp: Likewise.
2149 * gdb.stabs/weird.exp: Likewise.
2150 * lib/compiler.c: Likewise.
2151 * lib/compiler.cc: Likewise.
2152 * lib/cp-support.exp: Likewise.
2153 * lib/gdb.exp: Likewise.
2154
bf401b07
SM
21552015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
2156
2157 * configure.ac: Remove HP-UX case.
2158 * configure: Regenerate.
2159
aff9c0f8
SM
21602015-12-18 Simon Marchi <simon.marchi@ericsson.com>
2161
2162 * lib/gdb.exp (gdb_compile): Add function doc.
2163
a6904d5a
PA
21642015-12-17 Pedro Alves <palves@redhat.com>
2165
2166 PR threads/19354
2167 * gdb.multi/info-threads.exp: New file.
2168
a22279dd
YQ
21692015-12-15 Yao Qi <yao.qi@linaro.org>
2170
2171 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
2172 is aarch64*-*-*.
2173
0588c796
SL
21742015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2175
2176 * gdb.base/history-duplicates.exp: Skip if no readline support.
2177
5d978e17
SL
21782015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2179
2180 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
2181
7e763b86
SL
21822015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2183
2184 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
2185
87a3a92c
SL
21862015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2187
2188 * gdb.base/completion.exp: Skip tests that interrupt GDB with
2189 ctrl-C if nointerrupts target property is set.
2190 * gdb.base/double-prompt-target-event-error.exp: Likewise.
2191 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
2192 * gdb.base/paginate-bg-execution.exp: Likewise.
2193 * gdb.base/paginate-execution-startup.exp: Likewise.
2194 * gdb.base/random-signal.exp: Likewise.
2195 * gdb.base/range-stepping.exp: Likewise.
2196 * gdb.cp/annota2.exp: Likewise.
2197 * gdb.cp/annota3.exp: Likewise.
2198 * gdb.gdb/selftest.exp: Likewise.
2199 * gdb.threads/continue-pending-status.exp: Likewise.
2200 * gdb.threads/leader-exit.exp: Likewise.
2201 * gdb.threads/manythreads.exp: Likewise.
2202 * gdb.threads/pthreads.exp: Likewise.
2203 * gdb.threads/schedlock.exp: Likewise.
2204 * gdb.threads/sigthread.exp: Likewise.
2205
a8f077dc
DB
22062015-12-11 Don Breazeal <donb@codesourcery.com>
2207
2208 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
2209 remote.
2210 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
2211 * gdb.base/foll-exec.exp (main): Enable for target remote.
2212 * gdb.base/foll-fork.exp (main): Likewise.
2213 * gdb.base/foll-vfork.exp (main): Likewise.
2214 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
2215 (proc continue_to_exit_bp_loc): Use clean_restart.
2216 * gdb.base/pie-execl.exp (main): Disable for target remote.
2217 * gdb.base/watch-vfork.exp (main): Enable for target remote.
2218 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
2219 * gdb.threads/execl.exp (main): Likewise.
2220 * gdb.threads/fork-child-threads.exp (main): Likewise.
2221 * gdb.threads/fork-plus-threads.exp (main): Disable for target
2222 remote.
2223 * gdb.threads/fork-thread-pending.exp (main): Enable for target
2224 remote.
2225 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
2226 pid.tid style ptids, instead of just tid.
2227 * gdb.threads/thread-execl.exp (main): Enable for target remote.
2228 * gdb.threads/watchpoint-fork.exp (main): Likewise.
2229 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
2230 ptids, instead of just tid.
2231
3b2464a8
AB
22322015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2233
2234 * gdb.base/list.exp (test_list_forward): Add end of file error
2235 test.
2236 (test_repeat_list_command): Add end of file error test.
2237 (test_list_backwards): Add beginning of file error test.
2238
a0def019
AB
22392015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2240
2241 * gdb.base/list.exp (test_list_invalid_args): New function,
2242 defined, and called.
2243
5c000dff
AB
22442015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2245
2246 * gdb.base/list.exp (test_list): Make test names unique.
2247
f1637ebe
YQ
22482015-12-11 Yao Qi <yao.qi@linaro.org>
2249
2250 * gdb.base/coremaker2.c: Remove.
2251
36d6fc0a
PA
22522015-12-10 Pedro Alves <palves@redhat.com>
2253
2254 * gdb.multi/base.exp: Remove stale "spaces" references.
2255
762f7747
PA
22562015-12-10 Pedro Alves <palves@redhat.com>
2257
2258 * gdb.multi/base.exp: Don't use nowarnings.
2259 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
2260 * gdb.multi/hangout.c: Include stdio.h.
2261 * gdb.multi/hello.c: Include stdlib.h.
2262 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
2263 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
2264 * gdb.multi/multi-arch.exp: Don't use nowarnings.
2265
28d2bfb9
AB
22662015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
2267
2268 * gdb.dwarf2/dw2-ranges-base.c: New file.
2269 * gdb.dwarf2/dw2-ranges-base.exp: New file.
2270 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
2271 support additional line table, and debug ranges generation.
2272 (Dwarf::ranges): New function, generate .debug_ranges.
2273 (Dwarf::lines): Support generating simple line table programs.
2274 (Dwarf::assemble): Initialise new namespace variables.
2275
5fc2beac
KB
22762015-12-09 Kevin Buettner <kevinb@redhat.com>
2277
2278 * gdb.base/async.exp (proc test_background): Add case for
2279 asynchronous execution not supported.
2280
1c35a88f
LM
22812015-12-09 Luis Machado <lgustavo@codesourcery.com>
2282
2283 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
2284 format and change test names to make them unique.
2285
b593e3d9
RK
22862015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
2287 Pedro Alves <pedro@redhat.com>
2288
2289 PR gdb/18702
2290 Add checking of floatformats setup on x86_64 hosts.
2291 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2292 (smallval, bigval): New labels/constants.
2293 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2294 float" after loading bigval and smallval.
2295
d72413e6
PMR
22962015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2297
2298 * gdb.ada/fun_overload_menu.exp: New testcase.
2299 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2300
ece66d65
JS
23012015-12-04 Josh Stone <jistone@redhat.com>
2302
2303 * gdb.base/catch-fork-static.exp: New.
2304
41d0efca
YQ
23052015-12-03 Yao Qi <yao.qi@linaro.org>
2306
2307 * gdb.base/sizeof.c: Don't include stdio.h and
2308 ../lib/unbuffer_output.c.
2309 (main): New variable 'size' and 'value'. Remove printf and
2310 gdb_unbuffer_output. Assign return value to size and value.
2311 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2312 at the beginning.
2313 (check_sizeof): Check the result by printing variable 'size'.
2314 (check_valueof): Check the result by printing variable 'value'.
2315
99fd02d9
YQ
23162015-12-01 Yao Qi <yao.qi@linaro.org>
2317
2318 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2319 for aarch64*-*-linux* target.
2320
f2faf941
PA
23212015-11-30 Pedro Alves <palves@redhat.com>
2322
2323 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2324
04bf20c5
PA
23252015-11-30 Pedro Alves <palves@redhat.com>
2326
2327 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2328 Handle non-stop mode vCont replies.
2329
09df4675
PA
23302015-11-30 Pedro Alves <palves@redhat.com>
2331
2332 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2333 prepare_for_testing. Start gdb with "set non-stop on" appended to
2334 GDBFLAGS. Lax expected stop output.
2335
58b584af
YQ
23362015-11-27 Yao Qi <yao.qi@linaro.org>
2337
2338 * gdb.arch/arm-neon.exp: New.
2339 * gdb.arch/arm-neon.c: New.
2340
dfcb77a8
YQ
23412015-11-27 Yao Qi <yao.qi@linaro.org>
2342
2343 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2344
88e8ec1b
YQ
23452015-11-27 Yao Qi <yao.qi@linaro.org>
2346
2347 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2348 frames-invalid annotation.
2349
bfde72c2
YQ
23502015-11-27 Yao Qi <yao.qi@linaro.org>
2351
2352 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2353
f6512a69
SM
23542015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2355
2356 * gdb.threads/names.exp: New file.
2357 * gdb.threads/names.c: New file.
2358 * README: Mention gdb,no_thread_names.
2359
46a3515b
MM
23602015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2361
2362 PR 19297
2363 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2364 support" error.
2365
62147a22
PA
23662015-11-24 Pedro Alves <palves@redhat.com>
2367
2368 PR 17539
2369 * gdb.base/display.exp: Expect displays to be sorted in ascending
2370 order. Use multi_line.
2371 * gdb.base/solib-display.exp: Likewise.
2372
2f341b6e
PA
23732015-11-24 Pedro Alves <palves@redhat.com>
2374
2375 PR 17539
25d49b86
PA
2376 * gdb.base/display.exp: Expect displays to be sorted in ascending
2377 order. Use multi_line.
2378 * gdb.base/solib-display.exp: Likewise.
2f341b6e 2379
7e0aa6aa
PA
23802015-11-24 Pedro Alves <palves@redhat.com>
2381
2382 PR 17539
2383 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2384 threads in ascending order.
2385 * gdb.base/foll-fork.exp: Likewise.
2386 * gdb.base/foll-vfork.exp: Likewise.
2387 * gdb.base/multi-forks.exp: Likewise.
2388 * gdb.mi/mi-nonstop.exp: Likewise.
2389 * gdb.mi/mi-nsintrall.exp: Likewise.
2390 * gdb.multi/base.exp: Likewise.
2391 * gdb.multi/multi-arch.exp: Likewise.
2392 * gdb.python/py-inferior.exp: Likewise.
2393 * gdb.threads/break-while-running.exp: Likewise.
2394 * gdb.threads/execl.exp: Likewise.
2395 * gdb.threads/gcore-thread.exp: Likewise.
2396 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2397 * gdb.threads/kill.exp: Likewise.
2398 * gdb.threads/linux-dp.exp: Likewise.
2399 * gdb.threads/multiple-step-overs.exp: Likewise.
2400 * gdb.threads/next-bp-other-thread.exp: Likewise.
2401 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2402 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2403 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2404 * gdb.threads/thread-find.exp: Likewise.
2405 * gdb.threads/tls.exp: Likewise.
2406 * lib/mi-support.exp (mi_reverse_list): Delete.
2407 (mi_check_thread_states): No longer reverse list.
2408
2cc57ad8
PA
24092015-11-24 Pedro Alves <palves@redhat.com>
2410
2411 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2412 use lowercase.
2413
c93e8391
SM
24142015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2415
2416 * gdb.trace/actions.c: Include trace-common.h.
2417 (main): Add a location for a fast tracepoint.
2418 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2419 the normal tracepoints.
2420 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2421
045ccf91
SM
24222015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2423
2424 * save-trace.exp: Factor out code to these...
2425 (gdb_save_tracepoints): New.
2426 (gdb_load_tracepoints): New.
2427 (do_save_load_test): New.
2428
5506f9f6
KB
24292015-11-23 Kevin Buettner <kevinb@redhat.com>
2430
2431 * gdb.base/asmlabel.exp: New test.
2432 * gdb.base/asmlabel.c: New test case.
2433
16c3b12f
JB
24342015-11-23 Joel Brobecker <brobecker@adacore.com>
2435
2436 * gdb.base/wrong_frame_bt_full-main.c: New file.
2437 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2438 * gdb.base/wrong_frame_bt_full.exp: New file.
2439
155bfbd3
JB
24402015-11-23 Joel Brobecker <brobecker@adacore.com>
2441
2442 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2443
bb097445
JM
24442015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2445
206853a0 2446 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
2447 pstate register when comparing registers values in
2448 sparc64-*-linux-gnu targets to avoid spurious differences.
2449
9c88ed8f
JM
24502015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2451
206853a0 2452 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 2453
96161e25
SL
24542015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2455
2456 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2457 as type argument to gdb_compile.
2458 * gdb.base/nested-subp2.exp: Likewise.
2459 * gdb.base/nested-subp3.exp: Likewise.
2460
340c2830
DV
24612015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2462
2463 * lib/dwarf.exp (_note): Fix left shift of negative value.
2464 * gdb.trace/trace-condition.exp: Likewise.
2465
c1862d0f
YQ
24662015-11-13 Yao Qi <yao.qi@linaro.org>
2467
2468 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2469 comments about d10v.
2470 (test_scalar_returns): Likewise.
2471 * gdb.base/d10v.ld: Remove.
2472 * gdb.base/overlays.exp: Remove the target triplet checking for
2473 d10v-*-*.
2474 * gdb.base/structs.exp (test_struct_returns): Remove the
2475 comments about d10v.
2476 (test_struct_calls): Likewise.
2477
77ae9c19
YQ
24782015-11-13 Yao Qi <yao.qi@linaro.org>
2479
2480 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2481 * gdb.base/gnu_vector.c: Don't include stdio.h.
2482 (main): Don't print res and call add_some_intvecs.
2483
430e004e
MK
24842015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2485
2486 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2487 macro.
2488 (func5): Removed.
2489 (func4): Use FAST_TRACEPOINT_LABEL.
2490 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2491 macro.
2492 (func): Removed.
2493 (thread_function): Use FAST_TRACEPOINT_LABEL.
2494 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2495 (func): Remove.
2496 (marker): Use FAST_TRACEPOINT_LABEL.
2497 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2498 (pendfunc1): Remove.
2499 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2500 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2501 (foo): Remove.
2502 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2503 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2504 macro.
2505 (func): Remove.
2506 (marker): Use FAST_TRACEPOINT_LABEL.
2507 * gdb.trace/trace-common.h: New header.
2508 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2509 macro.
2510 (func): Remove.
2511 (marker): Use FAST_TRACEPOINT_LABEL.
2512 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2513 (func): Remove.
2514 (thread_function): Use FAST_TRACEPOINT_LABEL.
2515
6e7675a7
MK
25162015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2517
2518 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2519 in front.
2520 * gdb.trace/change-loc.exp: Use global pcreg definition.
2521 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2522 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2523 in front.
2524 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2525 * gdb.trace/pending.exp: Likewise.
2526 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2527 * gdb.trace/trace-break.exp: Likewise.
2528 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2529 in front.
2530 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2531 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2532 in front.
2533 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2534
dddc0e16
JB
25352015-11-09 Joel Brobecker <brobecker@adacore.com>
2536
2537 * gdb.ada/fin_fun_out: New testcase.
2538
c6f0b406
KB
25392015-11-07 Kevin Buettner <kevinb@redhat.com>
2540
2541 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2542 value associated with DW_AT_byte_size.
2543 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2544 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2545 DW_AT_upper_bound.
2546
f01dcfd9
KB
25472015-11-07 Kevin Buettner <kevinb@redhat.com>
2548
2549 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2550 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2551 version.
2552 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2553 gdb.dwarf2/dw2-canonicalize-type.exp,
2554 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2555 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2556 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2557 provided by gdb_target_symbol_prefix_flags_asm.
2558 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2559 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2560 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2561 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2562 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2563 macros where needed). Use this macro for symbols which require
2564 the prefix provided by SYMBOL_PREFIX.
2565
2223449a
KB
25662015-11-05 Kevin Buettner <kevinb@redhat.com>
2567
2568 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2569 New procs.
2570 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2571 representing expressions, of more than one list element.
2572 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2573 to prepend linker symbol prefix to f.
2574 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2575 table_1 and table_2.
2576 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2577 Likewise, for f and g.
2578 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2579 for ptr.
2580 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2581 for main.
2582 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2583 table_1_ptr and table_2_ptr.
2584
6f2f1a3a
JK
25852015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2586 Joel Brobecker <brobecker@adacore.com>
2587
2588 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2589
566c56c9
MK
25902015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2591
2592 * gdb.reverse/s390-mvcle.c: New test.
2593 * gdb.reverse/s390-mvcle.exp: New file.
2594 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2595
d5f0636b
MK
25962015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2597
2598 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2599
7ad8b86c
MK
26002015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2601
2602 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2603 reaching marker2.
2604 * gdb.reverse/getresuid-reverse.exp: Likewise.
2605 * gdb.reverse/pipe-reverse.exp: Likewise.
2606 * gdb.reverse/readv-reverse.exp: Likewise.
2607 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2608 * gdb.reverse/time-reverse.exp: Likewise.
2609 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2610
4081c0f1
YQ
26112015-10-30 Yao Qi <yao.qi@linaro.org>
2612
2613 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2614 (empty_cycle): Remove.
2615 (main): Don't call empty_cycle. Don't use watch_count_done.
2616 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2617 empty_cycle. Rewrite the code counting HW watchpoints.
2618
452b4ba5
MK
26192015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2620
2621 * gdb.reverse/fstatat-reverse.c: New test.
2622 * gdb.reverse/fstatat-reverse.exp: New file.
2623 * gdb.reverse/getresuid-reverse.c: New test.
2624 * gdb.reverse/getresuid-reverse.exp: New file.
2625 * gdb.reverse/pipe-reverse.c: New test.
2626 * gdb.reverse/pipe-reverse.exp: New file.
2627 * gdb.reverse/readv-reverse.c: New test.
2628 * gdb.reverse/readv-reverse.exp: New file.
2629 * gdb.reverse/recvmsg-reverse.c: New test.
2630 * gdb.reverse/recvmsg-reverse.exp: New file.
2631 * gdb.reverse/time-reverse.c: New test.
2632 * gdb.reverse/time-reverse.exp: New file.
2633 * gdb.reverse/waitpid-reverse.c: New test.
2634 * gdb.reverse/waitpid-reverse.exp: New file.
2635
5e2e7507
JK
26362015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2637
2638 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2639
0fde2c53
DE
26402015-10-26 Doug Evans <dje@google.com>
2641
2642 PR symtab/17391
2643 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2644 * gdb.dwarf2/bad-regnum.c: New file.
2645 * gdb.dwarf2/bad-regnum.exp: New file.
2646
1a70ae97
DE
26472015-10-26 Doug Evans <dje@google.com>
2648
2649 PR python/18938
2650 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2651 file.
2652
27dc26ab
JK
26532015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2654
2655 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2656 for a change by "Mention language in compile error message".
2657
bed91f4d
SM
26582015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2659
2660 PR python/18073
2661 * gdb.python/py-type.c (C::a_method): New.
2662 (C::a_const_method): New.
2663 (C::a_static_method): New.
2664 (a_function): New.
2665 * gdb.python/py-type.exp (test_fields): Test getting fields
2666 from function and method.
2667
3f2f83dd
KB
26682015-10-21 Keven Boell <keven.boell@intel.com>
2669
2670 * gdb.fortran/vla-alloc-assoc.exp: New file.
2671 * gdb.fortran/vla-datatypes.exp: New file.
2672 * gdb.fortran/vla-datatypes.f90: New file.
2673 * gdb.fortran/vla-history.exp: New file.
2674 * gdb.fortran/vla-ptype-sub.exp: New file.
2675 * gdb.fortran/vla-ptype.exp: New file.
2676 * gdb.fortran/vla-sizeof.exp: New file.
2677 * gdb.fortran/vla-sub.f90: New file.
2678 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2679 * gdb.fortran/vla-value-sub-finish.exp: New file.
2680 * gdb.fortran/vla-value-sub.exp: New file.
2681 * gdb.fortran/vla-value.exp: New file.
2682 * gdb.fortran/vla-ptr-info.exp: New file.
2683 * gdb.mi/mi-vla-fortran.exp: New file.
2684 * gdb.mi/vla.f90: New file.
2685
27145d50
SL
26862015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2687
2688 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2689 of hardwired timeout value.
2690
5f3ff4f8
JK
26912015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2692 Pedro Alves <palves@redhat.com>
2693
2694 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2695 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2696
bfd09d20
JS
26972015-10-19 Josh Stone <jistone@redhat.com>
2698
2699 * gdb.base/catch-syscall.c: Include <sched.h>.
2700 (unknown_syscall): New variable.
2701 (main): Trigger a vfork and an unknown syscall.
2702 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2703 (unknown_syscall_number): Likewise.
2704 (check_call_to_syscall): Accept an optional syscall pattern.
2705 (check_return_from_syscall): Likewise.
2706 (check_continue): Likewise.
2707 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2708 (test_catch_syscall_skipping_return): New test toggling off 'catch
2709 syscall' to step over the syscall return, then toggling back on.
2710 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2711 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2712 (do_syscall_tests): Call test_catch_syscall_without_args and
2713 test_catch_syscall_mid_vfork.
2714 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2715 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2716
b32b93c6
AS
27172015-10-19 Andrew Stubbs <ams@codesourcery.com>
2718
2719 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2720 print g_vE): Add new pass patterns.
2721 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2722 print various symbol names for vptr fields.
2723
9d622bda
AB
27242015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2725
2726 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2727 results.
2728
0fd8ac1c
YQ
27292015-10-12 Yao Qi <yao.qi@linaro.org>
2730
2731 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2732
34240514
YQ
27332015-10-12 Yao Qi <yao.qi@linaro.org>
2734
2735 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2736 is aarch64*-*-linux*.
2737
8240f442
YQ
27382015-10-12 Yao Qi <yao.qi@linaro.org>
2739
2740 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2741 (can_relocate_bcond_true): ... it.
2742 (can_relocate_bcond_false): New function.
2743 (foo): Likewise.
2744 (can_relocate_bl): Likewise.
2745 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2746 can_relocate_bl.
2747
2520f728
PMR
27482015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2749
2750 * gdb.base/nested-addr.c: New file.
2751 * gdb.base/nested-addr.exp: New testcase.
2752
abcef95a
MM
27532015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2754
2755 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2756 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2757 its output. Ignore the output of "record goto begin" and instead
2758 check that GDB is replaying.
2759
145e3ddb
PA
27602015-10-09 Pedro Alves <palves@redhat.com>
2761
2762 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2763 (top level): Use it in the run with no args test.
2764
d5d8c4e1
IB
27652015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2766
2767 * gdb.dlang/properties.exp: New file.
2768
06e635ef
SL
27692015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2770
2771 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2772 whether or not address 0x1000 is mapped on the target.
2773
e019fd1d
SM
27742015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2775
2776 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2777 build.
2778
77ba2a67
MM
27792015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2780
2781 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2782 instruction-history test.
2783
c60eb31f
DE
27842015-09-28 Doug Evans <dje@google.com>
2785
2786 * gdb.base/gcore.c (array_func): Add reference to static_array.
2787
9a3c8263
SM
27882015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2789
2790 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2791 source line.
2792
9720e656
SL
27932015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2794
2795 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2796 short or char as base type.
2797
938d3bf2
SL
27982015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2799
2800 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2801 to allow any size enum.
2802
e6c2c623
PMR
28032015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2804
2805 * gdb.ada/array_ptr_renaming.exp: New testcase.
2806 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2807 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2808
06da0f77
PL
28092015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2810
2811 * gdb.trace/ftrace-lock.c: New file.
2812 * gdb.trace/ftrace-lock.exp: New file.
2813
4f51c22a
PL
28142015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2815
2816 * gdb.arch/insn-reloc.c: New file.
2817 * gdb.arch/ftrace-insn-reloc.exp: New file.
2818
7041adf4
PL
28192015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2820
2821 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2822 instruction.
2823 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2824 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2825 * gdb.trace/range-stepping.c: Likewise.
2826 * gdb.trace/trace-break.c: Likewise.
2827 * gdb.trace/trace-mt.c (thread_function): Likewise.
2828 * gdb.trace/ftrace.c (marker): Likewise.
2829 * gdb.trace/trace-condition.c (marker): Likewise.
2830 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2831 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2832 is_aarch64_target.
2833
015d2e7e
DE
28342015-09-18 Doug Evans <xdje42@gmail.com>
2835
2836 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2837 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2838
26b188a2
SL
28392015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2840
2841 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2842 the breakpoint.
2843
79dc332b
SL
28442015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2845
2846 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2847 the pending breakpoint. Remove timeout override for "Run till
2848 MI pending breakpoint on pendfunc3 on thread 2" test.
2849
f57929f2
SL
28502015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2851
2852 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2853 filename pattern.
2854
3f469b17
SL
28552015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2856
2857 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2858 in breakpoint filename pattern.
2859
515b89b3
SL
28602015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2861
7800dbe4
SL
2862 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2863
28642015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2865
515b89b3
SL
2866 * gdb.linespec/explicit.exp: Check for readline support for
2867 tab-completion tests. Fix obvious typo.
2868
d2939ba2
MM
28692015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2870
2871 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2872 and replay.
2873
cbb55fa7
MM
28742015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2875
2876 * gdb.btrace/non-stop.c: New.
2877 * gdb.btrace/non-stop.exp: New.
2878
43691ca1
PL
28792015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2880 Yao Qi <yao.qi@linaro.org>
2881
2882 * gdb.trace/trace-condition.c: New file.
2883 * gdb.trace/trace-condition.exp: New file.
2884
d78908cf
WW
28852015-09-16 Wei-cheng Wang <cole945@gmail.com>
2886
2887 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2888 for testing bytecode compilation.
2889
1ed415e2
PA
28902015-09-16 Pedro Alves <palves@redhat.com>
2891 Sandra Loosemore <sandra@codesourcery.com>
2892
2893 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2894 (SECONDS): Redefine.
2895 (main): Call pthread_kill and alarm early.
2896 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2897 support.
2898 (test): If the target can't hardware step and doesn't support
2899 displaced stepping, increase the timeout.
2900
d136eff5
PA
29012015-09-16 Pedro Alves <palves@redhat.com>
2902
2903 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2904 (enable_debug): New procedures.
2905 (test): Use them. Bail out if waiting for threads fails.
2906 (top level): Bail out if a test fails.
2907
991f019c
YQ
29082015-09-16 Yao Qi <yao.qi@linaro.org>
2909
2910 * gdb.asm/asm-source.exp: Set asm-arch for
2911 aarch64*-*-* target.
2912 * gdb.asm/aarch64.inc: New file.
2913
bfca584f
PMR
29142015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2915
2916 * gdb.ada/array_of_variable_length.exp: New testcase.
2917 * gdb.ada/array_of_variable_length/foo.adb: New file.
2918 * gdb.ada/array_of_variable_length/pck.adb: New file.
2919 * gdb.ada/array_of_variable_length/pck.ads: New file.
2920
b326e587
DE
29212015-09-15 Doug Evans <dje@google.com>
2922
2923 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2924 of function static local variable.
2925
5382cfab
PW
29262015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2927
2928 * gdb.threads/tls-so_extern.exp: New test file.
2929 * gdb.threads/tls-so_extern.c: New test file.
2930 * gdb.threads/tls-so_extern_main.c: New test file.
2931
141c5cc4
JK
29322015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2933
2934 * gdb.opt/solib-intra-step-lib.c: New file.
2935 * gdb.opt/solib-intra-step-main.c: New file.
2936 * gdb.opt/solib-intra-step.exp: New file.
2937
d15dcecd
PA
29382015-09-15 Pedro Alves <palves@redhat.com>
2939
2940 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2941 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2942
4c2f2a79
PA
29432015-09-14 Pedro Alves <palves@redhat.com>
2944
2945 * gdb.base/hook-stop-continue.c: Delete.
2946 * gdb.base/hook-stop-continue.exp: Delete.
2947 * gdb.base/hook-stop-frame.c: Delete.
2948 * gdb.base/hook-stop-frame.exp: Delete.
2949 * gdb.base/hook-stop.c: New file.
2950 * gdb.base/hook-stop.exp: New file.
2951
919e6dbe
PMR
29522015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2953
2954 * gdb.ada/access_to_packed_array.exp: New testcase.
2955 * gdb.ada/access_to_packed_array/foo.adb: New file.
2956 * gdb.ada/access_to_packed_array/pack.adb: New file.
2957 * gdb.ada/access_to_packed_array/pack.ads: New file.
2958
157280a4
MM
29592015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2960
2961 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2962 buffer size test.
2963
2fd33e94
DB
29642015-09-11 Don Breazeal <donb@codesourcery.com>
2965
2966 * gdb.base/foll-exec.c: Add copyright header. Fix
2967 formatting issues.
2968 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2969 (do_exec_tests): Use clean_restart in place of zap_session,
2970 and for test initialization. Fix formatting issues. Use
2971 fail in place of perror.
2972 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2973 an expect statement to match an expression with output from
2974 the program under debug.
2975 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2976 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2977 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2978 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2979 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2980
e70b6e8e
DE
29812015-09-09 Doug Evans <dje@google.com>
2982
2983 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2984
7a551a51
DE
29852015-09-09 Doug Evans <dje@google.com>
2986
2987 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2988
4c666f84
DE
29892015-09-09 Doug Evans <dje@google.com>
2990
2991 * gdb.base/savedregs.exp: Fix typo.
2992
243a9253
PA
29932015-09-09 Pedro Alves <palves@redhat.com>
2994
2995 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2996
c0fa8fbd
SL
29972015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2998
2999 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
3000 command actually switches threads. Give up on remaining
3001 tests if target fails to stop at breakpoint.
3002
cd7c1778
PMR
30032015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
3004
3005 * gdb.ada/funcall_char.exp: New testcase.
3006 * gdb.ada/funcall_char/foo.adb: New file.
3007
dc5c8746
PMR
30082015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
3009
3010 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
3011 expected outputs. Add two testcases for completing ambiguous
3012 functions.
3013 * gdb.ada/complete/aux_pck.adb: New file.
3014 * gdb.ada/complete/aux_pck.ads: New file.
3015 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
3016 Ambiguous_Func functions.
3017 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
3018 * gdb.ada/complete/pck.adb: Likewise.
3019
4e83a1e7
UW
30202015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
3021
3022 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
3023 failures to run the test program under GDB.
3024
8ce74153
LM
30252015-08-26 Luis Machado <lgustavo@codesourcery.com>
3026
3027 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
3028 to C.
3029
e9756d52
PP
30302015-08-26 Patrick Palka <patrick@parcs.ath.cx>
3031
3032 * gdb.base/run-after-attach.exp: New test file.
3033 * gdb.base/run-after-attach.c: New test file.
3034
8d37573b
DB
30352015-08-26 Don Breazeal <donb@codesourcery.com>
3036
3037 * gdb.base/foll-exec-2.c: New test program.
3038 * gdb.base/foll-exec-2.exp: New test.
3039
63e43d3a
PMR
30402015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
3041
3042 * gdb.base/nested-subp1.exp: New file.
3043 * gdb.base/nested-subp1.c: New file.
3044 * gdb.base/nested-subp2.exp: New file.
3045 * gdb.base/nested-subp2.c: New file.
3046 * gdb.base/nested-subp3.exp: New file.
3047 * gdb.base/nested-subp3.c: New file.
3048
3d40fbb5
PA
30492015-08-24 Pedro Alves <palves@redhat.com>
3050
3051 * gdb.server/connect-without-multi-process.c: New file.
3052 * gdb.server/connect-without-multi-process.exp: New file.
3053
4422ac93
LM
30542015-08-24 Luis Machado <lgustavo@codesourcery.com>
3055
3056 * gdb.opt/inline-markers.c: Make z int.
3057
91dddb86
LM
30582015-08-24 Luis Machado <lgustavo@codesourcery.com>
3059
3060 * gdb.opt/inline-markers.c: Make z volatile.
3061
a48847ee
LM
30622015-08-24 Luis Machado <lgustavo@codesourcery.com>
3063
3064 * gdb.opt/inline-bt.c: New volatile global z.
3065 * gdb.opt/inline-cmds.c: Likewise.
3066 * gdb.opt/inline-locals.c: Likewise.
3067 * gdb.opt/inline-markers.c: New extern global z.
3068 (marker): Use z.
3069 (inline_fn): Likewise.
3070
0ebbc52b
PA
30712015-08-24 Pedro Alves <palves@redhat.com>
3072
3073 * config/m32r-stub.exp: Remove file.
3074 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
3075 * gdb.base/call-rt-st.exp: Likewise.
3076 * gdb.base/call-strs.exp: Likewise.
3077 * gdb.base/default.exp: Remove references to h8300-*-hms and
3078 *-*-udi*.
3079 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
3080
77c365df
AA
30812015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3082
3083 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
3084 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
3085 and "return" use KFAIL when GDB can not read/write the vector
3086 return value.
3087
4313b8c0
GB
30882015-08-21 Gary Benson <gbenson@redhat.com>
3089
3090 * gdb.trace/pending.exp: Cope with remote transfer warnings.
3091
0e433b32
PA
30922015-08-20 Pedro Alves <palves@redhat.com>
3093
3094 * gdb.server/solib-list.exp: No longer expect an interior stop in
3095 non-stop mode.
3096
221e1a37
PA
30972015-08-20 Pedro Alves <palves@redhat.com>
3098
3099 * gdb.server/connect-stopped-target.c: New file.
3100 * gdb.server/connect-stopped-target.exp: New file.
3101
40e3ad0e
PA
31022015-08-20 Pedro Alves <palves@redhat.com>
3103
3104 * gdb.dwarf2/comp-unit-lang.exp: New file.
3105 * gdb.dwarf2/comp-unit-lang.c: New file.
3106
af39b327
PMR
31072015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
3108
3109 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
3110 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
3111
7d45c7c3 31122015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 3113
7d45c7c3
KB
3114 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
3115 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
3116
4d6cceb4
DE
31172015-08-18 Doug Evans <dje@google.com>
3118 Adrian Sendroiu <adrian.sendroiu@freescale.com>
3119
3120 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
3121 skip_python_tests. New arg prompt_regexp.
3122 (skip_python_tests): New function.
3123 * lib/mi-support.exp (mi_skip_python_tests): New function.
3124 * gdb.python/py-mi-objfile-gdb.py: New file.
3125 * gdb.python/py-mi-objfile.c: New file.
3126 * gdb.python/py-mi-objfile.exp: New file.
3127
ad89c2aa
KS
31282015-08-17 Keith Seitz <keiths@redhat.com>
3129
3130 * gdb.linespec/explicit.exp: Move strace test from here ...
3131 * gdb.trace/strace.exp: ... to here.
3132
e3ae3c43
PP
31332015-08-15 Patrick Palka <patrick@parcs.ath.cx>
3134
3135 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
3136 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
3137
604b2636
DE
31382015-08-14 Doug Evans <xdje42@gmail.com>
3139
3140 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
3141 inferior before selecting a new file.
3142
6ff0ba5f
DE
31432015-08-14 Doug Evans <xdje42@gmail.com>
3144
3145 * gdb.mi/mi-disassemble.exp: Update.
3146 * gdb.base/disasm-optim.S: New file.
3147 * gdb.base/disasm-optim.c: New file.
3148 * gdb.base/disasm-optim.h: New file.
3149 * gdb.base/disasm-optim.exp: New file.
3150
9ca98f92
KS
31512015-08-14 Keith Seitz <keiths@redhat.com>
3152
3153 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
3154 "evaluated-by".
3155
52bbc560
JB
31562015-08-13 Joel Brobecker <brobecker@adacore.com>
3157
3158 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
3159
5d8c3ed3
PMR
31602015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
3161
3162 * gdb.ada/fun_renaming.exp: New testcase.
3163 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
3164 * gdb.ada/fun_renaming/pack.adb: New file.
3165 * gdb.ada/fun_renaming/pack.ads: New file.
3166
ea8812bc
KS
31672015-08-12 Keith Seitz <keiths@redhat.com>
3168
3169 * gdb.base/dso2dso.exp: Pass basename of source file in call to
3170 gdb_get_line_number.
3171
4dafcdeb
JB
31722015-08-12 Joel Brobecker <brobecker@adacore.com>
3173
3174 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
3175 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
3176 gdb.base/dso2dso.exp: New files.
3177
5ba32597
SDJ
31782015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
3179 Pedro Alves <palves@redhat.com>
3180 Keith Seitz <keiths@redhat.com>
3181
3182 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
3183 GDBFLAGS.
3184
b6dafabf
PP
31852015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3186
3187 * gdb.base/gdbhistsize-history.exp
3188 (test_histsize_history_setting): Use save_vars.
3189 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3190 Use save_vars.
3191 (test_no_truncation_of_unlimited_history_file): Use save_vars.
3192 * gdb.base/readline.exp: Use save_vars.
3193
abe8e607
PP
31942015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3195
3196 * lib/gdb.exp (save_vars): New proc.
3197
629500fa
KS
31982015-08-11 Keith Seitz <keiths@redhat.com>
3199
3200 * gdb.base/help.exp: Update help_breakpoint_text.
3201
eb8c4e2e
KS
32022015-08-11 Keith Seitz <keiths@redhat.com>
3203
3204 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
3205 (at toplevel): Call test_explicit_breakpoints.
3206 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
3207 breakpoints.
3208 * lib/mi-support.exp (mi_make_breakpoint): Add support for
3209 breakpoint conditions, "-cond".
3210
87f0e720
KS
32112015-08-11 Keith Seitz <keiths@redhat.com>
3212
3213 * gdb.linespec/3explicit.c: New file.
3214 * gdb.linespec/cpexplicit.cc: New file.
3215 * gdb.linespec/cpexplicit.exp: New file.
3216 * gdb.linespec/explicit.c: New file.
3217 * gdb.linespec/explicit.exp: New file.
3218 * gdb.linespec/explicit2.c: New file.
3219 * gdb.linespec/ls-errs.exp: Add explicit location tests.
3220 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
3221 before using in the matching pattern.
3222 Clarify that `prefix' is a regular expression.
3223
f00aae0f
KS
32242015-08-11 Keith Seitz <keiths@redhat.com>
3225
3226 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
3227 test.
3228 Add tests for missing ",FMT" and ",".
3229
e27852be
DE
32302015-08-10 Doug Evans <dje@google.com>
3231 Keith Seitz <keiths@redhat.com>
3232
3233 PR gdb/17960
3234 * gdb.base/completion.exp: Add location completer tests.
3235
7f03bd92
PA
32362015-08-07 Pedro Alves <palves@redhat.com>
3237
3238 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
3239 tests here.
3240 (top level): Run do_test with and without displaced stepping.
3241
3fc8eb30
PA
32422015-08-07 Pedro Alves <palves@redhat.com>
3243
3244 * gdb.base/valgrind-disp-step.c: New file.
3245 * gdb.base/valgrind-disp-step.exp: New file.
3246
d4569d7b
PA
32472015-08-07 Pedro Alves <palves@redhat.com>
3248
3249 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
3250 Delete function.
3251 (main): Add alarm. Run an infinite loop instead of calling
3252 wait_threads.
3253 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
3254 comment.
3255 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
3256 Delete function.
3257 (main): Add alarm. Run an infinite loop instead of calling
3258 wait_threads.
3259 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
3260 comment.
3261
e1316e60
PA
32622015-08-07 Pedro Alves <palves@redhat.com>
3263
3264 * gdb.base/checkpoint-ns.exp: New file.
3265 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
3266 standard_testfile.
3267
da8c46d2
MM
32682015-08-07 Markus Metzger <markus.t.metzger@intel.com>
3269
3270 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
3271 * gdb.btrace/instruction_history.exp: Update.
3272 * gdb.btrace/tsx.exp: New.
3273 * gdb.btrace/tsx.c: New.
3274
de1c2c52
PA
32752015-08-06 Pedro Alves <palves@redhat.com>
3276
3277 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
3278 increase timeout.
3279 * gdb.reverse/until-precsave.exp: Bump timeouts.
3280
782e0bf4
PA
32812015-08-06 Pedro Alves <palves@redhat.com>
3282
3283 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
3284
83e97ed0
PA
32852015-08-06 Pedro Alves <palves@redhat.com>
3286
3287 PR gdb/18749
3288 * gdb.threads/process-dies-while-handling-bp.c: New file.
3289 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3290
863d01bd
PA
32912015-08-06 Pedro Alves <palves@redhat.com>
3292
3293 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3294 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3295
0a39bb32
PA
32962015-08-05 Pedro Alves <palves@redhat.com>
3297
3298 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3299 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3300
ee2d2b10
SL
33012015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3302
3303 * gdb.base/bp-permanent.exp: Report test as unsupported if
3304 the target cannot stop at the permanent breakpoint.
3305
4e1bdb00
DE
33062015-08-03 Doug Evans <dje@google.com>
3307
3308 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3309 10000.
3310
3d338901
DE
33112015-08-03 Doug Evans <dje@google.com>
3312
3313 * Makefile.in (workers/%.worker, build-perf): New rule.
3314 (GDB_PERFTEST_MODE): New variable.
3315 (check-perf): Use it.
3316 (clean): Clean up gdb.perf parallel build subdirs.
3317 * lib/build-piece.exp: New file.
3318 * lib/gdb.exp (make_gdb_parallel_path): New function
3319 (standard_output_file, standard_temp_file): Call it.
3320 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3321 of $GDB_PARALLEL.
3322 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3323
af061d3e
DE
33242015-08-03 Doug Evans <dje@google.com>
3325
8e1afc81 3326 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
3327 (LOG_FILE_NAME): New global.
3328 (TextReporter.__init__): Initialize self.txt_sum.
3329 (TextReporter.report): Add support for multiple data-points.
3330 Move report to perftest.sum, put raw data in perftest.log.
3331 (TextReporter.start): Open sum and log files.
3332 (TextReporter.end): Close sum and log files.
8e1afc81
DE
3333 * gdb.perf/lib/perftest/testresult.py
3334 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 3335
2c8c5d37
PA
33362015-07-31 Pedro Alves <palves@redhat.com>
3337
3338 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3339 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3340 kill_wait_spawned_process instead of explicit "kill -9".
3341 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3342 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3343 kill_wait_spawned_process.
3344 * gdb.base/attach-twice.exp: Likewise.
3345 * gdb.base/attach.exp: Likewise.
3346 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3347 gdb_test_multiple.
3348 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3349 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3350 kill_wait_spawned_process.
3351 * gdb.base/valgrind-infcall.exp: Likewise.
3352 * gdb.multi/multi-attach.exp: Likewise.
3353 * gdb.python/py-prompt.exp: Likewise.
3354 * gdb.python/py-sync-interp.exp: Likewise.
3355 * gdb.server/ext-attach.exp: Likewise.
3356 * gdb.threads/attach-into-signal.exp (corefunc): Use
3357 spawn_wait_for_attach, spawn_id_get_pid and
3358 kill_wait_spawned_process.
3359 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3360 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3361 spawn_id_get_pid and kill_wait_spawned_process.
3362 * gdb.threads/attach-stopped.exp (corefunc): Use
3363 spawn_wait_for_attach, spawn_id_get_pid and
3364 kill_wait_spawned_process.
3365 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3366 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3367 kill_wait_spawned_process instead of explicit "kill -9".
3368 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3369 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3370 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3371 processes. Don't map cygwin/windows pids here. Now returns a
3372 spawn id list.
3373
032a0fca
SL
33742015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3375
3376 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3377 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3378 correct patch.
3379
61a934ca
SL
33802015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3381
3382 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3383
4bc4d428
SL
33842015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3385
3386 Reapply:
3387 2014-05-21 Mark Wielaard <mjw@redhat.com>
3388
3389 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3390
998d452a
PA
33912015-07-30 Pedro Alves <palves@redhat.com>
3392
3393 * linux-low.c (handle_extended_wait): Set the child's last
3394 reported status to TARGET_WAITKIND_STOPPED.
3395
69dde7dc
PA
33962015-07-30 Pedro Alves <palves@redhat.com>
3397
3398 PR threads/18600
3399 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3400 only shows inferior 1.
3401
4dd63d48
PA
34022015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3403 Pedro Alves <palves@redhat.com>
3404
3405 PR threads/18600
3406 * gdb.threads/fork-plus-threads.c: New file.
3407 * gdb.threads/fork-plus-threads.exp: New file.
3408
d618e4c5
PP
34092015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3410
3411 * gdb.base/batch-preserve-term-settings.exp
3412 (test_terminal_settings_preserved_after_cli_exit): Use
3413 send_quit_command.
3414
1eef6428
PA
34152015-07-29 Pedro Alves <palves@redhat.com>
3416 Don Breazeal <donb@codesourcery.com>
3417
3418 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3419 output from both inferior_spawn_id and gdb_spawn_id.
3420
7da5b897
SDJ
34212015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3422
3423 * gdb.threads/attach-into-signal.exp (corefunc): Use
3424 with_test_prefix on nested loops, uniquefying the test messages.
3425
dac804df
SDJ
34262015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3427
3428 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3429 commit.
3430
06265e53
PP
34312015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3432
3433 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3434 New proc.
3435 (test_terminal_settings_preserved_after_sigterm): New test.
3436
18206ca3
PP
34372015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3438
3439 * gdb.base/batch-preserve-term-settings.exp
3440 (test_terminal_settings_preserved_after_cli_exit): New test.
3441
90074d11
PP
34422015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3443
3444 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3445 manipulation of saved_gdbflags.
3446 (test_terminal_settings_preserved): Remove global declaration of
3447 the unused variable pagination_prompt. Remove manipulation of
3448 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3449 GDBFLAGS.
3450
eb1a7902
PA
34512015-07-29 Pedro Alves <palves@redhat.com>
3452
3453 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3454
8b75dd3b
PA
34552015-07-29 Pedro Alves <palves@redhat.com>
3456
3457 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3458 at the top.
3459
dedad4e3
PA
34602015-07-29 Pedro Alves <palves@redhat.com>
3461
3462 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3463 (main): Call gdb_unbuffer_output.
3464 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3465 (main): Call gdb_unbuffer_output.
3466 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3467 (main): Call gdb_unbuffer_output.
3468 * gdb.base/call-strs.exp: Adjust to step over the
3469 gdb_unbuffer_output call.
3470 * gdb.base/catch-gdb-caused-signals.c: Include
3471 "../lib/unbuffer_output.c".
3472 (main): Call gdb_unbuffer_output.
3473 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3474 (main): Call gdb_unbuffer_output.
3475 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3476 (main): Call gdb_unbuffer_output.
3477 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3478 (main): Call gdb_unbuffer_output.
3479 * gdb.base/shlib-call.exp: Adjust to step over the
3480 gdb_unbuffer_output call.
3481 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3482 (main): Call gdb_unbuffer_output.
3483 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3484 (main): Call gdb_unbuffer_output.
3485 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3486 (main): Rename to ...
3487 (test): ... this.
3488 (main): Reimplement.
3489 * gdb.base/varargs.exp: Run to test instead of to main.
3490 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3491 (main): Call gdb_unbuffer_output.
3492
58789a91
PA
34932015-07-29 Pedro Alves <palves@redhat.com>
3494
3495 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3496 factore out from mi_continue_dprintf. For call-style dprintfs,
3497 expect dprintf output out of $inferior_spawn_id.
3498 (mi_continue_dprintf): Use mi_expect_dprintf.
3499 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3500 (main): Call gdb_unbuffer_output.
3501
e8376742
PA
35022015-07-29 Pedro Alves <palves@redhat.com>
3503
3504 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3505 (default_mi_gdb_start): Set inferior_spawn_id instead of
3506 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3507 gdb_spawn_id.
3508 (mi_gdb_test): Always expect inferior output from both
3509 $inferior_spawn_id and $gdb_spawn_id.
3510
08280010
PA
35112015-07-29 Pedro Alves <palves@redhat.com>
3512
3513 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3514 send_inferior and $inferior_spawn_id.
3515
4d30e432
PA
35162015-07-29 Pedro Alves <palves@redhat.com>
3517
3518 * gdb.gdb/complaints.exp (test_initial_complaints)
3519 (test_serial_complaints, test_short_complaints): Use
3520 gdb_test_stdio.
3521 (test_empty_complaint): Handle $inferior_spawn_id !=
3522 $gdb_spawn_id.
3523
0d30a335
PA
35242015-07-29 Pedro Alves <palves@redhat.com>
3525
3526 * gdb.base/varargs.exp: Use gdb_test_stdio.
3527
39413b29
PA
35282015-07-29 Pedro Alves <palves@redhat.com>
3529
3530 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3531
7cb000a9
PA
35322015-07-29 Pedro Alves <palves@redhat.com>
3533
3534 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3535
d7b8ac82
PA
35362015-07-29 Pedro Alves <palves@redhat.com>
3537
3538 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3539 parameter into two new parameters, "inf_result" and "gdb_result".
3540 Expect inferior output and gdb output from $inferior_spawn_id and
3541 $gdb_spawn_id, respectively. Adjust all callers.
3542
789c3a0c
PA
35432015-07-29 Pedro Alves <palves@redhat.com>
3544
3545 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3546 of gdb_test_sequence.
3547
77e760c3
PA
35482015-07-29 Pedro Alves <palves@redhat.com>
3549
3550 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3551 (saw_spurious_output): Expect inferior output from
3552 $inferior_spawn_id. Use gdb_test_stdio.
3553
8396d2cd
PA
35542015-07-29 Pedro Alves <palves@redhat.com>
3555
3556 * gdb.base/dprintf.exp: Use standard_testfile. Change
3557 prepare_for_testing call.
3558 (srcfile): Don't set.
3559 (restart): New procedure.
3560 (test_dprintf): New procecure, use to continue over dprintfs.
3561 (test_call, test_agent): New procedures, tests moved here.
3562 Restart gdb and recreate dprintfs. Adjust expected output.
3563
2051d61f
PA
35642015-07-29 Pedro Alves <palves@redhat.com>
3565
3566 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3567
452397af
PA
35682015-07-29 Pedro Alves <palves@redhat.com>
3569
3570 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3571
8aed9555
PA
35722015-07-29 Pedro Alves <palves@redhat.com>
3573
3574 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3575 gdb_test_stdio.
3576
188a61b4
PA
35772015-07-29 Pedro Alves <palves@redhat.com>
3578
3579 * lib/gdb.exp (gdb_test_stdio): New procedure.
3580
12264a45
PA
35812015-07-29 Pedro Alves <palves@redhat.com>
3582
3583 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3584
23ffc893
PA
35852015-07-29 Pedro Alves <palves@redhat.com>
3586
3587 * gdb.base/call-signal-resume.exp: Remove check for
3588 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3589 * gdb.base/unwindonsignal.exp: Likewise.
3590 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3591 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3592
65566918
PA
35932015-07-29 Pedro Alves <palves@redhat.com>
3594
3595 * gdb.base/siginfo-addr.c (pass): New function.
3596 (handler): Call it iff si_addr is correct.
3597 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3598 Set a breakpoint at "pass" and continue to it.
3599
d60a9221
SDJ
36002015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3601
3602 * gdb.python/py-objfile.exp: Make some tests have unique names.
3603 * gdb.python/py-pp-registration.exp: Likewise.
3604
bde40b8f
PA
36052015-07-28 Pedro Alves <palves@redhat.com>
3606
3607 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3608
13e1dec8
SM
36092015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3610
3611 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3612
da33c9a7
SM
36132015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3614
3615 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3616
077836f7
PP
36172015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3618
3619 * gdb.base/gdb-sigterm-2.exp: New test.
3620
b8cc7b2e
DE
36212015-07-25 Doug Evans <xdje42@gmail.com>
3622
3623 Revert:
3624 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3625 (workers/%.worker, build-perf): New rule.
3626 (GDB_PERFTEST_MODE): New variable.
3627 (check-perf): Use it.
3628 (clean): Clean up gdb.perf parallel build subdirs.
3629 * lib/build-piece.exp: New file.
3630 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3631 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3632 name.
3633 (standard_temp_file): Ditto.
3634 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3635 of $GDB_PARALLEL.
3636
c8bd4544
DE
36372015-07-24 Doug Evans <dje@google.com>
3638
3639 * gdb.perf/lib/perftest/utils.py: New file.
3640 * gdb.perf/gm-hello.cc: New file.
3641 * gdb.perf/gm-pervasive-typedef.cc: New file.
3642 * gdb.perf/gm-pervasive-typedef.h: New file.
3643 * gdb.perf/gm-std.cc: New file.
3644 * gdb.perf/gm-std.h: New file.
3645 * gdb.perf/gm-use-cerr.cc: New file.
3646 * gdb.perf/gm-utils.h: New file.
3647 * gdb.perf/gmonster-null-lookup.py: New file.
3648 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3649 * gdb.perf/gmonster-print-cerr.py: New file.
3650 * gdb.perf/gmonster-ptype-string.py: New file.
3651 * gdb.perf/gmonster-runto-main.py: New file.
3652 * gdb.perf/gmonster-select-file.py: New file.
3653 * gdb.perf/gmonster1-null-lookup.exp: New file.
3654 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3655 * gdb.perf/gmonster1-print-cerr.exp: New file.
3656 * gdb.perf/gmonster1-ptype-string.exp: New file.
3657 * gdb.perf/gmonster1-runto-main.exp: New file.
3658 * gdb.perf/gmonster1-select-file.exp: New file.
3659 * gdb.perf/gmonster1.cc: New file.
3660 * gdb.perf/gmonster1.exp: New file.
3661 * gdb.perf/gmonster2-null-lookup.exp: New file.
3662 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3663 * gdb.perf/gmonster2-print-cerr.exp: New file.
3664 * gdb.perf/gmonster2-ptype-string.exp: New file.
3665 * gdb.perf/gmonster2-runto-main.exp: New file.
3666 * gdb.perf/gmonster2-select-file.exp: New file.
3667 * gdb.perf/gmonster2.cc: New file.
3668 * gdb.perf/gmonster2.exp: New file.
3669
6eab34f3
DE
36702015-07-24 Doug Evans <dje@google.com>
3671
3672 * gdb.perf/README: New file.
3673 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3674 * lib/gen-perf-test.exp: New file.
3675
63738bfd
DE
36762015-07-24 Doug Evans <dje@google.com>
3677
3678 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3679 (PerfTest::startup): New function.
3680 (PerfTest::run): Return result of calling body.
3681 (PerfTest::assemble): Rewrite.
3682 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3683 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3684 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3685 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3686 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3687
7b606f95
DE
36882015-07-24 Doug Evans <dje@google.com>
3689
3690 * lib/gdb.exp (clean_restart): Make executable optional.
3691
a97b16b8
DE
36922015-07-24 Doug Evans <dje@google.com>
3693
3694 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3695 compiler_info references.
3696 * gdb.cp/temargs.exp: Ditto.
3697 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3698 (get_compiler_info): Early exit if already computed. Set compiler_info
3699 to "unknown" if there was a problem.
3700 (test_compiler_info): Add function comment. Call get_compiler_info.
3701
35baa57f
DE
37022015-07-24 Doug Evans <dje@google.com>
3703
3704 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3705 (workers/%.worker, build-perf): New rule.
3706 (GDB_PERFTEST_MODE): New variable.
3707 (check-perf): Use it.
3708 (clean): Clean up gdb.perf parallel build subdirs.
3709 * lib/build-piece.exp: New file.
3710 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3711 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3712 name.
3713 (standard_temp_file): Ditto.
3714 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3715 of $GDB_PARALLEL.
3716
6ebea266
DE
37172015-07-24 Doug Evans <dje@google.com>
3718
3719 * lib/future.exp (gdb_default_target_compile): New option
3720 "early_flags".
3721 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3722 --as-needed.
3723
1e76a7e9
SDJ
37242015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3725
3726 * gdb.base/catch-syscall.exp: Call gdb_exit before
3727 gdb_skip_xml_test.
3728
5068630a
PA
37292015-07-24 Pedro Alves <palves@redhat.com>
3730
3731 * gdb.python/py-events.exp: Accept output between the stop event
3732 and the prompt.
3733 * gdb.python/py-evsignal.exp: Likewise.
3734 * gdb.python/py-evthreads.exp: Likewise.
3735
77598427
PA
37362015-07-24 Pedro Alves <palves@redhat.com>
3737
3738 PR gdb/18717
3739 * gdb.threads/non-ldr-exit.c: New file.
3740 * gdb.threads/non-ldr-exit.exp: New file.
3741
11e6c98f
YQ
37422015-07-24 Yao Qi <yao.qi@linaro.org>
3743
3744 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3745 restarting process.
3746
51aee833
YQ
37472015-07-24 Yao Qi <yao.qi@linaro.org>
3748
3749 * gdb.server/ext-restart.exp: New file.
3750
8cfe207c
YQ
37512015-07-24 Yao Qi <yao.qi@linaro.org>
3752
3753 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3754 argument options.
3755 * gdb.server/ext-wrapper.exp: New file.
3756
cc12ce38
DE
37572015-07-23 Doug Evans <dje@google.com>
3758
3759 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3760 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3761
d0d84780
PMR
37622015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3763
3764 * gdb.ada/var_arr_typedef.exp: New testcase.
3765 * gdb.ada/var_arr_typedef/pack.adb: New file.
3766 * gdb.ada/var_arr_typedef/pack.ads: New file.
3767 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3768
8b558f79
JB
37692015-07-20 Joel Brobecker <brobecker@adacore.com>
3770
3771 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3772
775a3298
JK
37732015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3774
3775 * gdb.arch/i386-biarch-core.exp: Replace istarget
3776 by "complete set gnutarget". Remove expectation for the "core-file"
3777 command.
3778
db1ff28b
JK
37792015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3780
3781 Revert the previous commit:
3782 Tests for validate symbol file using build-id.
3783
0a94970d
JK
37842015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3785
3786 Tests for validate symbol file using build-id.
3787 * gdb.base/solib-mismatch-lib.c: New file.
3788 * gdb.base/solib-mismatch-libmod.c: New file.
3789 * gdb.base/solib-mismatch.c: New file.
3790 * gdb.base/solib-mismatch.exp: New file.
3791
03346981
SL
37922015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3793
3794 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3795 nios2-*-linux*.
3796 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3797 * gdb.base/siginfo.exp: Likewise.
3798 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3799
42422cc7
PL
38002015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3801
3802 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3803 Move it to ...
3804 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3805 ... here.
3806 * gdb.trace/range-stepping.exp: Check that the target supports
3807 range stepping.
3808
cfa68bae
JK
38092015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3810
3811 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3812
8ffdba26
PA
38132015-07-14 Pedro Alves <palves@redhat.com>
3814
3815 * gdb.base/killed-outside.exp: New file.
3816 * gdb.base/killed-outside.c: New file.
3817
218a5a11
JK
38182015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3819
3820 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3821 (n at main): New.
3822 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3823
e03ed3c6
AA
38242015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3825
3826 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3827 infcall tests instead of setting up for KFAIL.
3828
485668e5
MM
38292015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3830
3831 * gdb.btrace/record_goto-step.exp: New.
3832
08464196
JK
38332015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3834
3835 PR compile/18484
3836 * gdb.compile/compile.c (struct struct_type): Add volatile to
3837 selffield's type.
3838 * gdb.compile/compile.exp
3839 (compile code struct_object.selffield = &struct_object): Skip further
3840 struct_object tests if this one xfails.
3841
bcf5c1d9
RC
38422015-07-08 Robert O'Callahan <robert@ocallahan.org>
3843
3844 PR exp/18617
3845 * gdb.trace/ax.exp: Add test.
3846
4931af25
YQ
38472015-07-07 Yao Qi <yao.qi@linaro.org>
3848
3849 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3850 instead of istarget "aarch64*-*-*".
3851 * gdb.arch/aarch64-fp.exp: Likewise.
3852 * gdb.base/float.exp: Likewise.
3853 * gdb.reverse/aarch64.exp: Likewise.
3854 * lib/gdb.exp (is_aarch64_target): New proc.
3855
9fcf688e
YQ
38562015-07-07 Yao Qi <yao.qi@linaro.org>
3857
3858 * lib/gdb.exp (is_aarch32_target): New proc.
3859 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3860 instead of "istarget "arm*-*-*"".
3861 * gdb.arch/arm-disp-step.exp: Likewise.
3862 * gdb.arch/thumb-bx-pc.exp: Likewise.
3863 * gdb.arch/thumb-prologue.exp: Likewise.
3864 * gdb.arch/thumb-singlestep.exp: Likewise.
3865 * gdb.base/disp-step-syscall.exp: Likewise.
3866 * gdb.base/float.exp: Likewise.
3867
fbd8d50d
YQ
38682015-07-07 Yao Qi <yao.qi@linaro.org>
3869
3870 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3871 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3872
71be1fdc
YQ
38732015-07-07 Yao Qi <yao.qi@linaro.org>
3874
3875 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3876 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3877 if it exists.
3878 * gdb.multi/multi-arch.exp: Likewise.
3879
3e221d36
SM
38802015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3881
3882 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3883 print.
3884
d441430b
YQ
38852015-07-07 Yao Qi <yao.qi@linaro.org>
3886
3887 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3888
06f810bd
MG
38892015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3890
3891 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3892 '[' and ']' characters.
3893
5e61e7c0
IB
38942015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3895
3896 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3897
28bf096c
PA
38982015-06-29 Pedro Alves <palves@redhat.com>
3899
3900 PR threads/18127
3901 * gdb.threads/hand-call-new-thread.c: New file.
3902 * gdb.threads/hand-call-new-thread.c: New file.
3903
ee93cd5e
KS
39042015-06-26 Keith Seitz <keiths@redhat.com>
3905 Doug Evans <dje@google.com>
3906
3907 PR 16253
3908 * gdb.cp/var-tag-2.cc: New file.
3909 * gdb.cp/var-tag-3.cc: New file.
3910 * gdb.cp/var-tag-4.cc: New file.
3911 * gdb.cp/var-tag.cc: New file.
3912 * gdb.cp/var-tag.exp: New file.
3913
fc637f04
PP
39142015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3915
3916 * gdb.base/history-duplicates.exp: New test.
3917
2e52ae68
PP
39182015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3919
3920 * gdb.base/completion.exp: Test the completion of the "focus"
3921 command.
3922
6e22494e
JK
39232015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3924
3925 * gdb.arch/amd64-prologue-skip.S: New file.
3926 * gdb.arch/amd64-prologue-skip.exp: New file.
3927
bf7b9cd9
SM
39282015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3929
3930 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3931 is_address_zero_readable check.
3932
201e8dfd
PB
39332015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3934
3935 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3936 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3937
5cd867b4
YQ
39382015-06-24 Yao Qi <yao.qi@linaro.org>
3939
3940 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3941 linux targets.
3942
4d7be007
YQ
39432015-06-24 Yao Qi <yao.qi@linaro.org>
3944
3945 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3946 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3947 * gdb.base/siginfo-thread.exp: Likewise.
3948
07fcd301
YQ
39492015-06-22 Yao Qi <yao.qi@linaro.org>
3950
3951 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3952
52042a00
YQ
39532015-06-22 Yao Qi <yao.qi@linaro.org>
3954
3955 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3956 aarch64*-*-*.
3957 (skip_hw_watchpoint_tests): Likewise.
3958
74bd41ce
PP
39592015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3960
3961 * gdb.base/gdbinit-history.exp: Test the interaction between
3962 setting GDBHISTSIZE and setting the history size via .gdbinit.
3963
bc460514
PP
39642015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3965
3966 PR gdb/16999
3967 * gdb.base/gdbhistsize-history.exp: New test.
3968
b58c513b
PP
39692015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3970
3971 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3972 with GDBHISTSIZE.
3973 * gdb.base/readline.exp: Likewise.
3974
92046791
YQ
39752015-06-17 Yao Qi <yao.qi@linaro.org>
3976
3977 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3978 line.
3979
2093d2d3
PP
39802015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3981
3982 * gdb.base/gdbinit-history.exp: Add test case to check that
3983 an unlimited history file does not get truncated on exit.
3984
e6c693af
AA
39852015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3986
3987 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3988 (VECTOR): New macro. Use it...
3989 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3990 ...for these typedefs.
3991 (int8, char1, int1, double1): New typedefs.
3992 (struct just_int2, struct two_int2): New structures.
3993 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3994 (add_structvecs, add_singlevecs): New functions.
3995 (main): Call add_some_intvecs twice.
3996 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3997 the compile and exit upon failure. Try compiling for the "native"
3998 architecture. Test inferior function calls with vector arguments
3999 and vector return value handling with "finish" and "return".
4000
c74f7d1c
JT
40012015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
4002
4003 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
4004 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
4005 PE file.
4006 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
4007
98aa42ee
AT
40082015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
4009
4010 PR breakpoints/16465
4011 * gdb.mi/mi-dprintf-pending.c: New file.
4012 * gdb.mi/mi-dprintf-pending.exp: New test.
4013 * gdb.mi/mi-dprintf-pendshr.c: New file.
4014
7d73c23c 40152015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 4016 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
4017
4018 * gdb.arch/i386-mpx-map.c: New file.
4019 * gdb.arch/i386-mpx-map.exp: New File.
4020
40212015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4022
4023 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
4024 * gdb.arch/i386-mpx.exp: Indentation fixed.
4025
40262015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4027
4028 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
4029 function and improved indentation.
4030 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
4031 gdb_test_multiple. Added additional tests to skip the test.
4032
40332015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4034
4035 * gdb.arch/i386-avx512.c: Change path in include file.
4036 * gdb.arch/i386-avx512.exp: Change include dir path
4037 compilation flag.
4038 * gdb.arch/i386-mpx.c: Change path in include file.
4039 * gdb.arch/i386-mpx.exp: Change include dir path compilation
4040 flag.
4041
d5eba19a
JK
40422015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4043
4044 * gdb.compile/compile-print.exp (compile print *vararray@3)
4045 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
4046
7f361056
JK
40472015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4048
4049 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
4050 (do not keep jit in memory): ... this.
4051 (expect 5): Change it to ...
4052 (expect no 5): ... this.
4053
3b462ec2
SM
40542015-06-02 Simon Marchi <simon.marchi@ericsson.com>
4055
4056 PR gdb/15564
4057 * gdb.mi/mi-detach.exp: New file.
4058
e0619de6
JK
40592015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4060
4061 PR symtab/18392
4062 * gdb.arch/amd64-tailcall-self.S: New file.
4063 * gdb.arch/amd64-tailcall-self.c: New file.
4064 * gdb.arch/amd64-tailcall-self.exp: New file.
4065
e970cb34
DB
40662015-05-28 Don Breazeal <donb@codesourcery.com>
4067
4068 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
4069 tests for remote targets by checking is_target_gdbserver.
4070
b2e2f908
DE
40712015-05-27 Doug Evans <dje@google.com>
4072
4073 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
4074 * gdb.dwarf2/opaque-type-lookup.c: New file.
4075 * gdb.dwarf2/opaque-type-lookup.exp: New file.
4076
82c7be31
DE
40772015-05-26 Doug Evans <dje@google.com>
4078
4079 * gdb.cp/iostream.cc: New file.
4080 * gdb.cp/iostream.exp: New file.
4081
b4f54984
DE
40822015-05-26 Doug Evans <dje@google.com>
4083
4084 * gdb.dwarf2/dw2-op-call.exp: Update.
4085 * gdb.dwarf2/dw4-sig-types.exp: Update.
4086 * gdb.dwarf2/implptr.exp: Update.
4087 * gdb.mi/mi-cmd-param-changed.exp: Update.
4088
4ea6efe9
DE
40892015-05-26 Doug Evans <dje@google.com>
4090
4091 * gdb.python/py-lazy-string.c: New file.
4092 * gdb.python/py-lazy-string.exp: New file.
4093 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
4094 (main): Update. Add estring3.
4095 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
4096 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
4097
f6bb7db3
YQ
40982015-05-26 Omair Javaid <omair.javaid@linaro.org>
4099 Yao Qi <yao.qi@linaro.org>
4100
4101 * gdb.reverse/aarch64.c: New.
4102 * gdb.reverse/aarch64.exp: New.
4103
a81bfbd0
OJ
41042015-05-26 Omair Javaid <omair.javaid@linaro.org>
4105
25d49b86
PA
4106 * lib/gdb.exp (supports_process_record): Return true for
4107 aarch64*-linux*.
a81bfbd0
OJ
4108 (supports_reverse): Likewise.
4109
158bf1b4
PP
41102015-05-22 Patrick Palka <patrick@parcs.ath.cx>
4111
4112 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4113 Use with_test_prefix.
4114
a0145030
AB
41152015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
4116
4117 * gdb.base/completion.exp: Add test for completion of layout
4118 names.
4119
ebe3b578
AB
41202015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
4121
4122 * lib/gdb.exp (skip_tui_tests): New proc.
4123 * gdb.base/tui-layout.exp: Check skip_tui_tests.
4124
84204ed7
PA
41252015-05-19 Pedro Alves <palves@redhat.com>
4126
4127 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4128 Save the whole env array instead of just HOME. Unset HISTSIZE in
4129 the environment while testing. Restore whole environment
4130 afterwards.
4131
37442ce1
DE
41322015-05-16 Doug Evans <xdje42@gmail.com>
4133
4134 * gdb.guile/scm-ports.c: New file.
4135 * gdb.guile/scm-ports.exp: Add memory port tests.
4136
36de76f9
JK
41372015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4138
4139 * gdb.compile/compile-print.c: New file.
4140 * gdb.compile/compile-print.exp: New file.
4141
3a9558c4
JK
41422015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4143
4144 * gdb.compile/compile-ops.exp: Cast param to void.
4145 * gdb.compile/compile.exp: Complete type for _gdb_expr.
4146 (compile code struct_object.selffield = &struct_object): Add xfail.
4147
aa715135
JG
41482015-05-15 Joel Brobecker <brobecker@adacore.com>
4149
4150 * gdb.ada/arr_enum_with_gap: New testcase.
4151
931e5bc3
JG
41522015-05-15 Joel Brobecker <brobecker@adacore.com>
4153
4154 * gdb.ada/byte_packed_arr: New testcase.
4155
9cd4d857
JB
41562015-05-15 Joel Brobecker <brobecker@adacore.com>
4157
4158 * gdb.ada/pckd_neg: New testcase.
4159
ebfd00d2
PP
41602015-05-13 Patrick Palka <patrick@parcs.ath.cx>
4161
4162 PR gdb/17820
4163 * gdb.base/gdbinit-history.exp: New test.
4164 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
4165 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
4166
4c082a81
SC
41672015-05-09 Siva Chandra Reddy <sivachandra@google.com>
4168
4169 * gdb.python/py-xmethods.cc: Enhance test case.
4170 * gdb.python/py-xmethods.exp: New tests.
4171 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
4172 function.
4173 (B_indexoper): Likewise.
4174 (global_dm_list) : Add new xmethod worker functions.
4175
f7797074
SDJ
41762015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
4177
4178 * gdb.base/coredump-filter.exp: Correctly unset
4179 "coredump_var_addr" array.
4180
a4674e4e
PA
41812015-05-08 Pedro Alves <palves@redhat.com>
4182
4183 * gdb.server/non-existing-program.exp: Unset spawn_id.
4184
df2eb078
SC
41852015-05-08 Siva Chandra Reddy <sivachandra@google.com>
4186
4187 PR python/18291
4188 * gdb.python/py-xmethods.exp: Add tests.
4189
422349a3
YQ
41902015-05-08 Yao Qi <yao.qi@linaro.org>
4191
4192 PR gdb/18208
4193 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
4194 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
4195 function set_coredump_filter, and remove remote_exec call.
4196 Remove argument ipid. Callers update.
4197 (top level): Don't get inferior's PID.
4198
63fc80ce
AA
41992015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
4200
4201 * gdb.base/watch_thread_num.exp: Skip test on targets without
4202 access watchpoints.
4203
80ad801e
PA
42042015-05-06 Pedro Alves <palves@redhat.com>
4205
4206 PR server/18081
4207 * gdb.server/non-existing-program.exp: New file.
4208
0fa7fe50
JB
42092015-05-05 Joel Brobecker <brobecker@adacore.com>
4210
4211 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
4212
3ea89b92
PMR
42132015-05-05 Joel Brobecker <brobecker@adacore.com>
4214
4215 * gdb.ada/out_of_line_in_inlined: New testcase.
4216
87b8eff0
JB
42172015-05-05 Joel Brobecker <brobecker@adacore.com>
4218
4219 * gdb.ada/var_rec_arr: New testcase.
4220
5fccc635
YQ
42212015-04-30 Yao Qi <yao.qi@linaro.org>
4222
4223 * gdb.base/break-idempotent.exp: If
4224 skip_hw_watchpoint_multi_tests returns true, skip the tests
4225 on "rwatch" and "awatch".
4226
42d38f42
YQ
42272015-04-30 Yao Qi <yao.qi@linaro.org>
4228
4229 * gdb.base/relativedebug.exp: Invoke gdb command
4230 "info sharedlibrary", and if libc.so doesn't have debug info,
4231 skip the test.
4232
2ce1cdbf
DE
42332015-04-29 Doug Evans <dje@google.com>
4234
4235 * gdb.python/py-xmethods.exp: Add ptype tests.
4236 * gdb.python/py-xmethods.py (E_method_char_worker): Add
4237 get_result_type method.
4238
f24a38c5
LM
42392015-04-29 Luis Machado <lgustavo@codesourcery.com>
4240
4241 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
4242 the target does not support hardware watchpoints.
4243
ecbf2b3c
LM
42442015-04-29 Luis Machado <lgustavo@codesourcery.com>
4245
4246 * gdb.base/break-always.exp: Abort testing if writing to memory
4247 causes an error.
4248
34f5f757
DE
42492015-04-28 Doug Evans <dje@google.com>
4250
4251 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
4252 * gdb.python/py-pp-registration.exp: ... here. New file.
4253 * gdb.python/py-pp-registration.c: New file.
4254 * gdb.python/py-pp-registration.py: New file.
4255
69b4374a
DE
42562015-04-28 Doug Evans <dje@google.com>
4257
4258 * gdb.python/py-bad-printers.c: New file.
4259 * gdb.python/py-bad-printers.py: New file.
4260 * gdb.python/py-bad-printers.exp: New file.
4261
59fb7612
SS
42622015-04-28 Sasha Smundak <asmundak@google.com>
4263
4264 * gdb.python/py-type.exp: New test.
4265
2631b16a
AW
42662015-04-28 Andy Wingo <wingo@igalia.com>
4267
4268 * gdb.python/py-parameter.exp:
4269 * gdb.guile/scm-parameter.exp: Escape the path that we are
4270 matching against, as it might contain characters that are special
4271 to regular expressions.
4272
460efde1
JB
42732015-04-27 Joel Brobecker <brobecker@adacore.com>
4274
4275 * gdb.ada/rec_comp: New testcase.
4276
2d369d8e
SDJ
42772015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
4278
4279 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
4280 before using it.
4281
cf75d6c3
AB
42822015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
4283
4284 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4285 new tests for verilog output.
4286
8dbe7ca5
YQ
42872015-04-24 Yao Qi <yao.qi@linaro.org>
4288
4289 * boards/remote-gdbserver-on-localhost.exp: New file.
4290
4ef9fb2f
PA
42912015-04-23 Pedro Alves <palves@redhat.com>
4292
4293 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4294 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4295 "end of file", remove $inferior_spawn_id from the indirect list.
4296
0a803169
PA
42972015-04-23 Pedro Alves <palves@redhat.com>
4298
4299 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4300
749ef8f8
PA
43012015-04-23 Pedro Alves <palves@redhat.com>
4302
4303 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4304 on $any_spawn_id instead of only on $gdb_spawn_id.
4305
8aae4344
PM
43062015-04-21 Pierre Muller <muller@sourceware.org>
4307
4308 PR pascal/17815
4309 * lib/pascal.exp (gpc_compile): Add new option "class".
4310 (fpc_compile): Likewise.
4311 * gdb.pascal/case-insensitive-symbols.pas: New file.
4312 * gdb.pascal/case-insensitive-symbols.exp: New file.
4313
1586c8fb
GB
43142015-04-20 Gary Benson <gbenson@redhat.com>
4315
4316 * gdb.base/attach.exp: Fix three extended remote failures.
4317
1b6e6f5c
GB
43182015-04-17 Gary Benson <gbenson@redhat.com>
4319
4320 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4321 the main executable over the remote protocol.
4322
e797481d
PA
43232015-04-16 Pedro Alves <palves@redhat.com>
4324
4325 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4326 a new gdbserver if gdbserver_reconnect_p is set.
4327
1ca99c42
PA
43282015-04-16 Pedro Alves <palves@redhat.com>
4329
4330 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4331 is set, don't exit gdbserver.
4332
af9fd6f8
AA
43332015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4334
4335 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4336 appropriate .insn, such that an older assembler can be used.
4337 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4338 the z/Architecture instruction set on 31-bit targets as well.
4339
04ff1e61
AA
43402015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4341
4342 * gdb.go/handcall.exp: Remove all logic related to the first
4343 breakpoint and rely on go_runto_main instead.
4344 * gdb.go/strings.exp: Likewise.
4345 * gdb.go/unsafe.exp: Likewise.
4346 * gdb.go/hello.exp: Likewise. Also rename the remaining
4347 breakpoint marker to "breakpoint 1".
4348 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4349 * gdb.go/strings.go: Likewise.
4350 * gdb.go/unsafe.go: Likewise.
4351 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4352 "set breakpoint 2 here" and rename the remaining breakpoint marker
4353 to "breakpoint 1".
4354
40d2f8d6
SM
43552015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4356
4357 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4358 if itertools.imap is not present.
4359 * gdb.python/py-objfile.exp: Add parentheses.
4360 * gdb.python/py-type.exp: Same.
4361 * gdb.python/py-unwind-maint.py: Same.
4362
8cbc97c6
YQ
43632015-04-15 Yao Qi <yao.qi@linaro.org>
4364
4365 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4366 of ":$ptr_size" and set its form explicitly.
4367
45fd756c
YQ
43682015-04-15 Pedro Alves <palves@redhat.com>
4369 Yao Qi <yao.qi@linaro.org>
4370
4371 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4372 timeout by factor of 4.
4373 (test_regular_watch): Likewise.
4374 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4375 * gdb.reverse/sigall-reverse.exp: Likewise.
4376 * gdb.reverse/until-precsave.exp: Likewise.
4377 * lib/gdb.exp (with_timeout_factor): New proc.
4378 (gdb_expect): Move some code to ...
4379 (get_largest_timeout): ... here. New procedure.
4380
9e811bc3
LM
43812015-04-14 Luis Machado <lgustavo@codesourcery.com>
4382
4383 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4384
0ff6fcb2
LM
43852015-04-13 Luis Machado <lgustavo@codesourcery.com>
4386
4387 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4388 to write to the .text section.
4389
7578d5f7
LM
43902015-04-13 Luis Machado <lgustavo@codesourcery.com>
4391
4392 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4393 Handle the case of targets that do not provide PID information.
4394
2efe15c4
YQ
43952015-04-13 Yao Qi <yao.qi@linaro.org>
4396
4397 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4398 and use expect instead of gdb_expect.
4399
8cd8f2f8
SDJ
44002015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4401
4402 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4403 "coredump_var_addr" to avoid naming conflict with other testcases.
4404
9ee41772
PA
44052015-04-10 Pedro Alves <palves@redhat.com>
4406
4407 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4408 gdb_test_sequence and gdb_assert.
4409
07473109
PA
44102015-04-10 Pedro Alves <palves@redhat.com>
4411
4412 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4413 test messages that don't include the breakpoint address.
4414
de3db44c
YQ
44152015-04-10 Yao Qi <yao.qi@linaro.org>
4416
4417 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4418 false for some offset and width combinations which aren't
4419 supported by linux kernel.
4420
c79d856c
PA
44212015-04-10 Pedro Alves <palves@redhat.com>
4422
4423 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4424 procedure, factored out from ...
4425 (top level): ... here. Add "set displaced-stepping" testing axis.
4426 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4427 parameter "displaced". Use it.
4428 (top level): Use foreach and add "set displaced-stepping" testing
4429 axis.
4430
ebc90b50
PA
44312015-04-10 Pedro Alves <palves@redhat.com>
4432
4433 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4434 Remove comment.
4435 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4436 both the address of the instruction that triggers the watchpoint
4437 and the address of the instruction immediately after, and use
4438 those addresses for the test. Fix comment.
4439
8f572e5c
PA
44402015-04-10 Pedro Alves <palves@redhat.com>
4441
4442 * gdb.base/sigstep.exp (breakpoint_to_handler)
4443 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4444 Test "backtrace" in handler.
4445 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4446 (top level): Add new "displaced" test axis to
4447 breakpoint_to_handler, breakpoint_to_handler_entry and
4448 breakpoint_over_handler.
4449
8d707a12
PA
44502015-04-10 Pedro Alves <palves@redhat.com>
4451
4452 PR gdb/18216
4453 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4454
ef713951
YQ
44552015-04-10 Yao Qi <yao.qi@linaro.org>
4456
4457 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4458 (test_add_rn_pc): New function.
4459 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4460 (top level): Invoke test_add_rn_pc.
4461
906d60cf
PA
44622015-04-10 Pedro Alves <palves@redhat.com>
4463
4464 PR gdb/13858
4465 * gdb.base/step-over-no-symbols.exp: New file.
4466
f2983cc3
AW
44672015-04-09 Andy Wingo <wingo@igalia.com>
4468
4469 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4470 after the Python tests.
4471
6d62641c
SDJ
44722015-04-08 Keith Seitz <keiths@redhat.com>
4473
4474 PR python/16699
4475 * gdb.python/py-completion.exp: New tests for completion.
4476 * gdb.python/py-completion.py (CompleteLimit1): New class.
4477 (CompleteLimit2): Likewise.
4478 (CompleteLimit3): Likewise.
4479 (CompleteLimit4): Likewise.
4480 (CompleteLimit5): Likewise.
4481 (CompleteLimit6): Likewise.
4482 (CompleteLimit7): Likewise.
4483
f3770638
PA
44842015-04-08 Pedro Alves <palves@redhat.com>
4485
4486 PR gdb/18214
4487 PR gdb/18216
4488 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4489 function.
4490 (main): Install it as SIGUSR1 handler.
4491 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4492 parameter. Always use "setup" as prefix. Toggle "set
4493 displaced-stepping" off/on depending on global. Don't switch to
4494 thread 1 here.
4495 (top level): Add displaced stepping "off/on" test axis. Update
4496 "setup" calls. Wrap each subtest with with_test_prefix. Test
4497 continuing with a queued signal in each thread.
4498
4496bed7
PA
44992015-04-08 Pedro Alves <palves@redhat.com>
4500
4501 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4502 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4503 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4504 Return early if running to main fails.
4505 * gdb.trace/while-stepping.exp: Likewise.
4506
b97fde92
PA
45072015-04-07 Pedro Alves <palves@redhat.com>
4508
4509 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4510 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4511 interact with inferior program.
4512
f71c18e7
PA
45132015-04-07 Pedro Alves <palves@redhat.com>
4514
4515 * lib/gdb.exp (inferior_spawn_id): New global.
4516 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4517 spawn id after processing the user code.
4518 (default_gdb_start): Set inferior_spawn_id.
4519 (send_inferior): New procedure.
4520 * lib/gdbserver-support.exp (gdbserver_start): Set
4521 inferior_spawn_id.
4522 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4523
6423214f
PA
45242015-04-07 Pedro Alves <palves@redhat.com>
4525
4526 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4527 * lib/gdbserver-support.exp (gdbserver_start): Make
4528 $server_spawn_id global.
4529 (gdbserver_start): Don't wait for gdbserver's spawn id with
4530 expect_background.
4531 (close_gdbserver): New procedure.
4532 (gdb_exit): Rename the default version and reimplement.
4533
71c0ee8c
PA
45342015-04-07 Pedro Alves <palves@redhat.com>
4535
72f4393d 4536 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
4537 append the substituted item, not the original item.
4538
203bc29b
PA
45392015-04-07 Pedro Alves <palves@redhat.com>
4540
4541 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4542 gdb_expect.
4543
508a3ddf
PA
45442015-04-07 Pedro Alves <palves@redhat.com>
4545
4546 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4547 output appearing once only.
4548
9f6dbe2b
PA
45492015-04-07 Pedro Alves <palves@redhat.com>
4550
4551 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4552 that doesn't expect anything. Return early if running to main
4553 fails.
4554
337532fa
YQ
45552015-04-07 Yao Qi <yao.qi@linaro.org>
4556
4557 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4558 (child_function): Call alarm.
4559 (main): Move call to alarm into the loop.
4560 * gdb.threads/non-stop-fair-events.exp: Build program with
4561 -DTIMEOUT=$timeout.
4562
01b622d4
DE
45632015-04-06 Doug Evans <xdje42@gmail.com>
4564
4565 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4566 Fix dest parameter to board_info.
4567 (fpc_compile): Ditto.
4568 (gdb_compile_pascal): Rename dest arg to destfile.
4569
961f4160
PMR
45702015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4571
4572 * gdb.ada/funcall_ref.exp: New file.
4573 * gdb.ada/funcall_ref/foo.adb: New file.
4574
cafda597
YQ
45752015-04-02 Yao Qi <yao.qi@linaro.org>
4576
4577 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4578 is remote.
4579
fed040c6
GB
45802015-04-02 Gary Benson <gbenson@redhat.com>
4581
4582 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4583
d11916aa
SS
45842015-04-01 Sasha Smundak <asmundak@google.com>
4585
4586 * gdb.python/py-unwind-maint.c: New file.
4587 * gdb.python/py-unwind-maint.exp: New test.
4588 * gdb.python/py-unwind-maint.py: New file.
4589 * gdb.python/py-unwind.c: New file.
4590 * gdb.python/py-unwind.exp: New test.
4591 * gdb.python/py-unwind.py: New test.
4592
a1471180
PA
45932015-04-01 Pedro Alves <palves@redhat.com>
4594
4595 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4596 to fail instead of non-existent $test.
4597
0bbeccb1
PA
45982015-04-01 Pedro Alves <palves@redhat.com>
4599
4600 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4601 GDBFLAGS if not empty.
4602
3c724c8c
PMR
46032015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4604
4605 * gdb.ada/complete.exp: Remove "multi_line".
4606 * gdb.ada/info_exc.exp: Remove "multi_line".
4607 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4608 * gdb.ada/ptype_field.exp: Remove "multi_line".
4609 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4610 * gdb.ada/tagged.exp: Remove "multi_line".
4611 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4612 [multi_line ...]
4613 * gdb.btrace/delta.exp: Likewise.
4614 * gdb.btrace/exception.exp: Likewise.
4615 * gdb.btrace/function_call_history.exp: Likewise.
4616 * gdb.btrace/instruction_history.exp: Likewise.
4617 * gdb.btrace/nohist.exp: Likewise.
4618 * gdb.btrace/record_goto.exp: Likewise.
4619 * gdb.btrace/segv.exp: Likewise.
4620 * gdb.btrace/stepi.exp: Likewise.
4621 * gdb.btrace/tailcall.exp: Likewise.
4622 * gdb.btrace/unknown_functions.exp: Likewise.
4623 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4624 * lib/gdb.exp: Add the "multi_line" helper.
4625
4eec2deb
PA
46262015-04-01 Pedro Alves <palves@redhat.com>
4627
4628 * gdb.threads/tid-reuse.c: New file.
4629 * gdb.threads/tid-reuse.exp: New file.
4630
df8411da
SDJ
46312015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4632
4633 PR corefiles/16092
4634 * gdb.base/coredump-filter.c: New file.
4635 * gdb.base/coredump-filter.exp: Likewise.
4636
6ef37366
PM
46372015-03-27 Petr Machata <pmachata@redhat.com>
4638
4639 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4640 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4641 (Dwarf::assemble): Initialize them.
4642 (Dwarf::lines): New function.
4643
7ec911b0
JT
46442015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4645
4646 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4647 SYMBOL_PREFIX for x86_64-*-cygwin.
4648
ff908ebf
AW
46492015-03-26 Andy Wingo <wingo@igalia.com>
4650
4651 PR symtab/18148
4652 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4653 const_value but not a location.
4654 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4655 location defined in non-main CUs are visible.
4656
6d5f0679
YQ
46572015-03-26 Yao Qi <yao.qi@linaro.org>
4658
4659 PR testsuite/18139
4660 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4661 Add a line number entry for the same line.
4662 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4663 Add a line number entry for the same line.
4664
2898689b
YQ
46652015-03-26 Yao Qi <yao.qi@linaro.org>
4666
4667 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4668 .int 0.
4669 (func): Likewise. Add .Lfunc_1 label.
4670 Use .Lfunc_1 label.
4671 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4672 .int 0.
4673 (func): Likewise.
4674 Use .Lfunc_1 label.
4675
85180498
YQ
46762015-03-26 Yao Qi <yao.qi@linaro.org>
4677
4678 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4679 Call gdb_compile instead to compile each .s files without debug
4680 information.
4681
8aa08a8d
YQ
46822015-03-26 Yao Qi <yao.qi@linaro.org>
4683
4684 * gdb.base/savedregs.exp (process_saved_regs): Make
4685 "Saved registers:" optional in the pattern.
4686
66849923
MM
46872015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4688
4689 * gdb.btrace/next.exp: Merged into step.exp.
4690 * gdb.btrace/finish.exp: Merged into step.exp.
4691 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4692 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4693 "record goto" and checking the exact replay position.
4694 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4695 check for "Recording format" in "info record" output.
4696 * gdb.btrace/record_goto.exp: Choose test file based on target.
4697 * gdb.btrace/x86-record_goto.S: Renamed into ...
4698 * gdb.btrace/x86_64-record_goto.S: ... this.
4699 * gdb.btrace/i686-record_goto.S: New.
4700 * gdb.btrace/x86-tailcall.S: Renamed into ...
4701 * gdb.btrace/x86_64-tailcall.S: ... this.
4702 * gdb.btrace/i686-tailcall.S: New.
4703 * gdb.btrace/x86-tailcall.c: Renamed into ...
4704 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4705 separate statements. Update test.
4706 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4707 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4708 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4709 * gdb.btrace/tailcall.exp: Choose test file based on target.
4710 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4711
11cc1b74
MM
47122015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4713
4714 * gdb.btrace/exception.exp: Increase BTS buffer size.
4715
a25d8bf9
PA
47162015-03-24 Pedro Alves <palves@redhat.com>
4717
4718 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4719
856e7dd6
PA
47202015-03-24 Pedro Alves <palves@redhat.com>
4721
4722 * gdb.threads/schedlock.exp (test_step): No longer expect that
4723 "set scheduler-locking step" with "next" over a function call runs
4724 threads unlocked.
4725
ad235a41
AT
47262015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4727
4728 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4729
15630549
AT
47302015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4731
4732 PR breakpoints/16466
4733 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4734 * gdb.mi/mi-pending.c (thread_func): New function.
4735 (int main): Add threading support required.
4736 * gdb.mi/mi-pending.exp: Add tests for this issue.
4737 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4738 (pendfunc2): Remove stdio dependency.
4739 * gdb.mi/mi-pendshr2.c: New file.
4740
693dca06
KS
47412015-03-23 Keith Seitz <keiths@redhat.com>
4742
4743 * gdb.linespec/keywords.c: New file.
4744 * gdb.linespec/keywords.exp: New file.
4745
7e993ebf
KS
47462015-03-23 Keith Seitz <keiths@redhat.com>
4747
4748 PR gdb/18021
4749 * gdb.dwarf2/staticvirtual.exp: New test.
4750
bc23328c
JK
47512015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4752
4753 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4754 * README: Remove HP-UX and gdb.hp.
4755 (configuration):
4756 * configure: Regenerate.
4757 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4758 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4759 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4760 gdb.hp/gdb.defects/Makefile.
4761 * gdb.hp/Makefile.in: File deleted.
4762 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4763 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4764 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4765 * gdb.hp/gdb.aCC/run.c: File deleted.
4766 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4767 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4768 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4769 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4770 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4771 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4772 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4773 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4774 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4775 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4776 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4777 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4778 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4779 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4780 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4781 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4782 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4783 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4784 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4785 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4786 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4787 * gdb.hp/gdb.compat/average.c: File deleted.
4788 * gdb.hp/gdb.compat/sum.c: File deleted.
4789 * gdb.hp/gdb.compat/xdb.c: File deleted.
4790 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4791 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4792 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4793 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4794 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4795 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4796 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4797 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4798 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4799 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4800 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4801 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4802 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4803 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4804 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4805 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4806 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4807 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4808 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4809 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4810 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4811 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4812 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4813 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4814 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4815 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4816 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4817 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4818 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4819 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4820 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4821 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4822 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4823 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4824 * gdb.hp/tools/odump: File deleted.
4825
8bf3b159
PA
48262015-03-19 Pedro Alves <palves@redhat.com>
4827
4828 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4829 (saw_thread_3): New globals.
4830 (top level): Increment them when an event for the corresponding
4831 thread is seen.
4832 (no thread starvation): New test.
4833
eb54c8bf
PA
48342015-03-19 Pedro Alves <palves@redhat.com>
4835
4836 * gdb.threads/continue-pending-status.c: New file.
4837 * gdb.threads/continue-pending-status.exp: New file.
4838
32d2e5d6
PA
48392015-03-18 Pedro Alves <palves@redhat.com>
4840
4841 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4842 Use gdb_is_target_remote instead of is_remote. Use
4843 gdb_test_multiple instead of gdb_expect. Exit early if
4844 gdb_test_multiple hits its internal matches. Tighten stepi tests
4845 expected output. Fail on exit with any signal, instead of just
4846 SIGILL.
4847
f68f11b7
YQ
48482015-03-18 Yao Qi <yao.qi@linaro.org>
4849
4850 PR tdep/18107
4851 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4852 variable.
4853 * gdb.base/catch-syscall.exp: Don't skip it on
4854 aarch64*-*-linux* target. Remove elements in all_syscalls.
4855 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4856 target.
4857 (setup_all_syscalls): New proc.
4858
ca5fd19b
YQ
48592015-03-16 Yao Qi <yao.qi@linaro.org>
4860
4861 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4862 (top level): Skip tests if valid_addr_p returns false for
4863 $cmd1 or $cmd2.
4864
85642ba0
AW
48652015-03-11 Andy Wingo <wingo@igalia.com>
4866
4867 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4868
e03f9645
YQ
48692015-03-11 Yao Qi <yao.qi@linaro.org>
4870
4871 * gdb.base/catch-syscall.exp: Fix typo in comments.
4872
5d0962b2
YQ
48732015-03-11 Yao Qi <yao.qi@linaro.org>
4874
4875 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4876
b2df3cef
PA
48772015-03-09 Pedro Alves <palves@redhat.com>
4878
4879 * dg-extract-results.py: Delete.
4880
ef878e53
PA
48812015-03-09 Pedro Alves <palves@redhat.com>
4882
4883 Merge dg-extract-results.sh from GCC upstream (r218843).
4884
4885 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4886 * dg-extract-results.sh: Use --text with grep to avoid issues with
4887 binary files. Fall back to cat -v, if that doesn't work.
4888
9494d219
PA
48892015-03-05 Pedro Alves <palves@redhat.com>
4890
4891 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4892
a8d9763a
SM
48932015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4894
4895 * lib/mi-support.exp (mi_expect_interrupt): Accept
4896 alternative event for when in all-stop mode.
4897
be9957b8
PA
48982015-03-04 Pedro Alves <palves@redhat.com>
4899
4900 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4901
d57be0f4 49022015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
4903
4904 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4905
c214c7cf
AA
49062015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4907
4908 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4909 regexps for GDB's current line display, accept a hex address
4910 preceding the line number.
4911
6d74a497
AA
49122015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4913
4914 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4915 the 'arch1' variable for "s390*-linux*" targets.
4916
511aee7c
PA
49172015-03-04 Pedro Alves <palves@redhat.com>
4918
4919 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4920 (main): Pass missing retval argument to pthread_join call.
4921
95e50b27
PA
49222015-03-02 Pedro Alves <palves@redhat.com>
4923
4924 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4925 (top level): Call do_test with non-stop as well.
4926
28054d69
PA
49272015-03-02 Pedro Alves <palves@redhat.com>
4928
4929 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4930 -1.
4931
4fa5d7b4
AA
49322015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4933
4934 * gdb.arch/s390-vregs.exp: New test.
4935 * gdb.arch/s390-vregs.S: New file.
4936
97c18565
PA
49372015-02-27 Pedro Alves <palves@redhat.com>
4938
4939 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4940 call to catch_command_errors.
4941 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4942 catch_command_errors.
4943
a37bfa30
PA
49442015-02-27 Pedro Alves <palves@redhat.com>
4945
4946 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4947 "true" for boolean result.
4948 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4949 prototype of main.
4950
6f98576f
PA
49512015-02-27 Pedro Alves <palves@redhat.com>
4952
4953 * lib/unbuffer_output.c: New file.
4954 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4955 (main): Call gdb_unbuffer_output.
4956
eba5ab56
YQ
49572015-02-27 Yao Qi <yao.qi@linaro.org>
4958
4959 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4960 target.
4961
0def5aaa
DE
49622015-02-26 Doug Evans <dje@google.com>
4963
4964 * gdb.cp/class2.cc (Dbase, D): New classes.
4965 (main): New local delta.
4966 * gdb.cp/class2.exp: Test printing delta.
4967 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4968 (dynbar): New global.
4969 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4970
081a1c2c
JK
49712015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4972
4973 * gdb.compile/compile-ifunc.c: New file.
4974 * gdb.compile/compile-ifunc.exp: New file.
4975
2f41223f
AT
49762015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4977
4978 * gdb.base/structs.exp: Check for correct struct on finish.
4979
03eddd80
YQ
49802015-02-26 Yao Qi <yao.qi@linaro.org>
4981
4982 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4983 is zero.
4984
80c57053
JK
49852015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4986
4987 * gdb.arch/cordic.ko.bz2: New file.
4988 * gdb.arch/cordic.ko.debug.bz2: New file.
4989 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4990
21613c12
YQ
49912015-02-25 Yao Qi <yao.qi@linaro.org>
4992
4993 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4994 aarch64*-*-* target.
4995
d8b901ed
PA
49962015-02-23 Pedro Alves <palves@redhat.com>
4997
4998 * lib/gdb.exp (delete_breakpoints): Rewrite using
4999 gdb_test_multiple.
5000
e5b85ead
PA
50012015-02-23 Pedro Alves <palves@redhat.com>
5002
5003 * gdb.base/info-os.c: Include stdlib.h.
5004
85c3a371
DE
50052015-02-22 Doug Evans <xdje42@gmail.com>
5006
5007 PR symtab/17855
5008 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
5009 is read after symbols have been re-read.
5010 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
5011 * gdb.ada/exec_changed/second.adb (Second): Ditto.
5012
96553a0c
DE
50132015-02-21 Doug Evans <dje@google.com>
5014
5015 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
5016
97a0c697
JK
50172015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5018
5019 PR corefiles/17808
5020 * gdb.arch/i386-biarch-core.core.bz2: New file.
5021 * gdb.arch/i386-biarch-core.exp: New file.
5022
a47cd6e9
PA
50232015-02-21 Pedro Alves <palves@redhat.com>
5024
5025 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
5026 runto_main fails.
5027
c5facdc4
PA
50282015-02-20 Pedro Alves <palves@redhat.com>
5029
5030 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
5031 info probes.
5032
2db9a427
PA
50332015-02-20 Pedro Alves <palves@redhat.com>
5034
5035 * gdb.threads/multi-create-ns-info-thr.exp: New file.
5036
60fb7e9e
PA
50372015-02-20 Pedro Alves <palves@redhat.com>
5038
5039 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
5040 clean_restart before gdb_target_supports_trace.
5041
5c5019c2
PA
50422015-02-20 Pedro Alves <palves@redhat.com>
5043
5044 PR threads/18006
5045 * gdb.threads/clone-thread_db.c: New file.
5046 * gdb.threads/clone-thread_db.exp: New file.
5047
c9587f88
AT
50482015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
5049
5050 PR breakpoints/16812
5051 * gdb.base/catch-gdb-caused-signals.c: New file.
5052 * gdb.base/catch-gdb-caused-signals.exp: New file.
5053
f6a88844
JM
50542015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
5055
5056 * configure: Regenerated.
5057 * configure.ac: Use GDB_AC_TRANSFORM.
5058 * aclocal.m4: sinclude ../transform.m4.
5059
497c491b
JM
50602015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5061
5062 * lib/dtrace.exp: New file.
5063 * gdb.base/dtrace-probe.exp: Likewise.
5064 * gdb.base/dtrace-probe.d: Likewise.
5065 * gdb.base/dtrace-probe.c: Likewise.
5066 * lib/pdtrace.in: Likewise.
5067 * configure.ac: Output variables with the transformed names of
5068 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
5069 * configure: Regenerated.
5070
03e98035
JM
50712015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5072
5073 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
5074 expected message when trying to access $_probe_* convenience
5075 variables while not on a probe.
5076
63cc30e9
JK
50772015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5078
5079 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
5080
0703599a
PA
50812015-02-11 Pedro Alves <pedro@codesourcery.com>
5082
5083 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
5084 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
5085
7e60a48e
DE
50862015-02-10 Doug Evans <xdje42@gmail.com>
5087
5088 * lib/gdb.exp (gdb_load): Always return a result.
5089
01b088bc
PA
50902015-02-10 Pedro Alves <palves@redhat.com>
5091
5092 * gdb.threads/signal-sigtrap.c: New file.
5093 * gdb.threads/signal-sigtrap.exp: New file.
5094
b05ec7a5
AT
50952015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
5096
5097 * gdb.trace/no-attach-trace.c: New file.
5098 * gdb.trace/no-attach-trace.exp: New file.
5099
a2c2acaf
MW
51002015-02-09 Mark Wielaard <mjw@redhat.com>
5101
5102 * gdb.dwarf2/atomic.c: New file.
5103 * gdb.dwarf2/atomic-type.exp: Likewise.
5104
31fd9caa
MM
51052015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5106
5107 * gdb.btrace/buffer-size.exp: Update "info record" output.
5108 * gdb.btrace/delta.exp: Update "info record" output.
5109 * gdb.btrace/enable.exp: Update "info record" output.
5110 * gdb.btrace/finish.exp: Update "info record" output.
5111 * gdb.btrace/instruction_history.exp: Update "info record" output.
5112 * gdb.btrace/next.exp: Update "info record" output.
5113 * gdb.btrace/nexti.exp: Update "info record" output.
5114 * gdb.btrace/step.exp: Update "info record" output.
5115 * gdb.btrace/stepi.exp: Update "info record" output.
5116 * gdb.btrace/nohist.exp: Update "info record" output.
5117
d33501a5
MM
51182015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5119
5120 * gdb.btrace/buffer-size: New.
5121
f4abbc16
MM
51222015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5123
5124 * gdb.btrace/delta.exp: Update "info record" output.
5125 * gdb.btrace/enable.exp: Update "info record" output.
5126 * gdb.btrace/finish.exp: Update "info record" output.
5127 * gdb.btrace/instruction_history.exp: Update "info record" output.
5128 * gdb.btrace/next.exp: Update "info record" output.
5129 * gdb.btrace/nexti.exp: Update "info record" output.
5130 * gdb.btrace/step.exp: Update "info record" output.
5131 * gdb.btrace/stepi.exp: Update "info record" output.
5132 * gdb.btrace/nohist.exp: Update "info record" output.
5133
b9d61307
SM
51342015-02-06 Simon Marchi <simon.marchi@ericsson.com>
5135
5136 PR gdb/15678
5137 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
5138
e584fdbc
PA
51392015-02-06 Pedro Alves <palves@redhat.com>
5140
5141 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
5142 macro.
5143 (seconds_left, again): New globals.
5144 (main): Wait seconds_left in a 1-second sleep loop instead of
5145 sleeping 180 seconds. If 'again' is set, reset the seconds
5146 counter.
5147 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
5148 'again' in the inferior before detaching. Print the seconds left.
5149 (options): New global.
5150 (top level): Build program with -DTIMEOUT=$timeout.
5151
77f41761
PA
51522015-02-06 Pedro Alves <palves@redhat.com>
5153
5154 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
5155 determine how many seconds to pass to 'alarm'.
5156 * gdb.base/gdb-sigterm.exp (top level): Build program with
5157 -DTIMEOUT=$timeout.
5158 (do_test): Return success/failure indication. Add more verbose
5159 logging. Don't fail if 200 single steps are seen. Instead, fail
5160 when the test times out.
5161 (passes): New global.
5162 (top level): Break the testing loop if testing fails on any
5163 iteration. Use gdb_assert.
5164
b9394193
DB
51652015-02-04 Don Breazeal <donb@codesourcery.com>
5166
5167 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
5168 and initialize them.
5169 (ipc_cleanup): New function.
5170 (main): Don't declare shmid, semid, and msqid. Add a call to
5171 atexit so that we call ipc_cleanup on exit.
5172
42d9e528
PA
51732015-02-04 Pedro Alves <palves@redhat.com>
5174
5175 * boards/native-extended-gdbserver.exp: Remove any target variant
5176 specifications from the board name before clearing the isremote
5177 flag from board_info.
5178
ae6ae975
DE
51792015-01-31 Doug Evans <xdje42@gmail.com>
5180
5181 * gdb.base/maint.exp <maint print type argc>: Update expected output.
5182
cfb069a8
GB
51832015-01-31 Gary Benson <gbenson@redhat.com>
5184
5185 * gdb.base/completion.exp: Disable completion limiting for
5186 existing tests. Add new tests to check completion limiting.
5187 * gdb.linespec/ls-errs.exp: Disable completion limiting.
5188
5dd31d79
DE
51892015-01-31 Doug Evans <xdje42@gmail.com>
5190
5191 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
5192
9f050062
DE
51932015-01-31 Doug Evans <xdje42@gmail.com>
5194
5195 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
5196 entries. Duplicate file section script entries.
5197 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
5198 inlined entries. Add test for safe-path rejection.
5199 * gdb.python/py-section-script.c: Add duplicate inlined section script
5200 entries. Duplicate file section script entries.
5201 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
5202 inlined entries. Add test for safe-path rejection.
5203
df25ebbd
JB
52042015-01-29 Joel Brobecker <brobecker@adacore.com>
5205
5206 * gdb.ada/disc_arr_bound: New testcase.
5207
4a0ca9ec
JB
52082015-01-29 Joel Brobecker <brobecker@adacore.com>
5209
5210 * gdb.ada/mi_var_array: New testcase.
5211
3a8b707a
DE
52122015-01-27 Doug Evans <dje@google.com>
5213
5214 * gdb.python/py-objfile.exp: Add tests for objfile.username.
5215 Add test for objfile.filename, objfile.username after objfile
5216 has been unloaded.
5217
f8313f6e
JB
52182015-01-26 Joel Brobecker <brobecker@adacore.com>
5219
5220 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
5221 the second test to print the name attribute of value
5222 returned by the call to gdb.lookup_type, and adjust
5223 the expected output accordingly.
5224
37bc665e
MW
52252015-01-25 Mark Wielaard <mjw@redhat.com>
5226
5227 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
5228 * gdb.base/disp-step-fork.c: Include unistd.h.
5229 * gdb.base/siginfo-obj.c: Include stdio.h.
5230 * gdb.base/siginfo-thread.c: Likewise.
5231 * gdb.mi/non-stop.c: Include unistd.h.
5232 * gdb.mi/nsthrexec.c: Include stdio.h.
5233 * gdb.mi/pthreads.c: Include unistd.h.
5234 * gdb.modula2/unbounded1.c (main): Declare returns int.
5235 * gdb.reverse/consecutive-reverse.c: Likewise.
5236 * gdb.threads/create-fail.c: Include unistd.h.
5237 * gdb.threads/killed.c: Likewise.
5238 * gdb.threads/linux-dp.c: Likewise.
5239 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
5240 * gdb.threads/non-ldr-exc-2.c: Likewise.
5241 * gdb.threads/non-ldr-exc-3.c: Likewise.
5242 * gdb.threads/non-ldr-exc-4.c: Likewise.
5243 * gdb.threads/pthreads.c: Include unistd.h.
5244 (main): Declare returns int.
5245 * gdb.threads/tls-main.c (foo): New declaration.
5246 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
5247
f7e5394d
SM
52482015-01-23 Simon Marchi <simon.marchi@ericsson.com>
5249
5250 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
5251 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
5252
743649fd
MW
52532015-01-15 Mark Wielaard <mjw@redhat.com>
5254
5255 * gdb.base/noreturn-return.c: New file.
5256 * gdb.base/noreturn-return.exp: New file.
5257 * gdb.base/noreturn-finish.c: New file.
5258 * gdb.base/noreturn-finish.exp: New file.
5259
198297aa
PA
52602015-01-23 Pedro Alves <palves@redhat.com>
5261
5262 * gdb.threads/continue-pending-after-query.c: New file.
5263 * gdb.threads/continue-pending-after-query.exp: New file.
5264
717cf30c
AG
52652015-01-22 Anders Granlund <anders.granlund@ericsson.com>
5266 Simon Marchi <simon.marchi@ericsson.com>
5267
5268 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
5269 * gdb.base/valgrind-db-attach.exp: Same.
5270 * gdb.base/valgrind-infcall.exp: Same.
5271 * lib/mi-support.exp (default_mi_gdb_start): Same.
5272 * lib/prompt.exp (default_prompt_gdb_start): Same.
5273 * lib/gdb.exp (default_gdb_spawn): Same.
5274 (gdb_interact): New.
5275
5276
4b62a76e
JK
52772015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5278
5279 * gdb.compile/compile.exp (pointer to jit function): New test.
5280
b4cdae6f
WW
52812015-01-17 Wei-cheng Wang <cole945@gmail.com>
5282
5283 * lib/gdb.exp (supports_process_record): Return true for
5284 powerpc*-*-linux*.
5285 (supports_reverse): Likewise.
5286
d221e7ef
DB
52872015-01-15 Don Breazeal <donb@codesourcery.com>
5288
5289 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5290 instead of checking whether the target board is remote and
5291 use spawn_wait_for_attach instead of exec/sleep.
5292 * gdb.base/attach-twice.exp: Likewise.
5293
bafffb51
JB
52942015-01-15 Joel Brobecker <brobecker@adacore.com>
5295
5296 * gdb.ada/var_arr_attrs: New testcase.
5297
5589af0e
PA
52982015-01-14 Pedro Alves <palves@redhat.com>
5299 Joel Brobecker <brobecker@adacore.com>
5300
5301 PR gdb/17525
5302 * gdb.base/bp-cmds-execution-x-script.c: New file.
5303 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5304 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5305
6c400b59
PA
53062015-01-14 Pedro Alves <palves@redhat.com>
5307
5308 PR cli/17828
5309 * gdb.base/batch-preserve-term-settings.c: New file.
5310 * gdb.base/batch-preserve-term-settings.exp: New file.
5311
e02c96a7
DE
53122015-01-13 Doug Evans <dje@google.com>
5313
5314 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5315 binary.
5316
576fd14c
JB
53172015-01-13 Joel Brobecker <brobecker@adacore.com>
5318
5319 * Makefile.in (clean mostlyclean): Do not delete *.py.
5320
04dccad0
JB
53212015-01-13 Joel Brobecker <brobecker@adacore.com>
5322
5323 * gdb.python/py-lookup-type.exp: New file.
5324
3d230f71
PA
53252015-01-12 Pedro Alves <palves@redhat.com>
5326
5327 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5328 restore GDBFLAGS before returning.
5329
7e67715d
JK
53302015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5331
5332 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5333 is_amd64_regs_target and is_x86_like_target.
5334
f2e0d4b4
DE
53352015-01-11 Doug Evans <xdje42@gmail.com>
5336
5337 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5338 is given without an explicit form.
5339 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5340 attributes.
5341 * gdb.dwarf/corrupt.exp: Ditto.
5342 * gdb.dwarf2/enum-type.exp: Ditto.
5343 * gdb.trace/entry-values.exp: Ditto.
5344 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5345
439250fb
DE
53462015-01-11 Doug Evans <xdje42@gmail.com>
5347
5348 PR gdb/15830
5349 * gdb.base/maint.exp: Remove references to "maint demangle".
5350 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5351 Add tests for explicitly specifying language to demangle.
5352 * gdb.dlang/demangle.exp: Ditto.
5353
ede9f622
PA
53542015-01-09 Pedro Alves <palves@redhat.com>
5355
5356 * gdb.threads/non-stop-fair-events.c: New file.
5357 * gdb.threads/non-stop-fair-events.exp: New file.
5358
a7b796db
PA
53592015-01-09 Pedro Alves <palves@redhat.com>
5360
5361 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5362 the global scope. Set a breakpoint after all threads are started
5363 rather than stepping over two source lines. Expect the prompt.
5364 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5365 global.
5366 (NUM): Now 15.
5367 (main): Use threads_started_barrier to wait for all threads to
5368 start. Main thread no longer calls thread_function. Exit after
5369 180 seconds.
5370 (loop): New function.
5371 (thread_function): Wait on threads_started_barrier barrier. Call
5372 'loop' at each iteration.
5373 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5374 threads have started, instead of hardcoding number of "next"
5375 steps. Use an access watchpoint instead of a write watchpoint.
5376
9665ffdd
PA
53772015-01-09 Pedro Alves <palves@redhat.com>
5378
5379 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5380 (thread_func): Wait on barrier.
5381 (main): Wait for all threads to start before stopping GDB.
5382 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5383 global.
5384 (thread1_func, thread2_func): Wait on barrier.
5385 (main): Wait for all threads to start before stopping GDB.
5386 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5387 New global.
5388 (thread1_func, thread2_func): Wait on barrier.
5389 (main): Wait for all threads to start before stopping GDB.
5390
c945a99f
PA
53912015-01-09 Pedro Alves <palves@redhat.com>
5392
5393 * gdb.threads/attach-many-short-lived-threads.c: New file.
5394 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5395
c1a747c1
PA
53962014-01-09 Pedro Alves <palves@redhat.com>
5397
5398 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5399 instead of to thread 2.
5400 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5401 Add barrier around each pthread_create call instead of around all
5402 calls.
5403 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5404 Set a break on thread_function and have the child threads hit it
5405 one at at a time.
5406
60b3033e
PA
54072015-01-09 Pedro Alves <palves@redhat.com>
5408
5409 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5410 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5411 false.
5412 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5413 checking whether the target board is remote.
5414 * gdb.multi/multi-attach.exp: Likewise.
5415 * gdb.python/py-sync-interp.exp: Likewise.
5416 * gdb.server/ext-attach.exp: Likewise.
5417 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5418 tests that need to attach, instead of checking whether the target
5419 board is remote at the top of the file.
5420
acc018ac
YQ
54212015-01-08 Yao Qi <yao@codesourcery.com>
5422
5423 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5424
50a18af8
JK
54252015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5426
5427 Fix testcase compilation.
5428 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5429
8503d6e1
JB
54302015-01-06 Joel Brobecker <brobecker@adacore.com>
5431
5432 * gdb.python/py-type.exp: Add a couple test about empty
5433 array creation, and negative-length array creation.
5434
cc73dbcc
DE
54352015-01-02 Doug Evans <xdje42@gmail.com>
5436
5437 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5438
0300bbc7
DE
54392015-01-02 Doug Evans <dje@google.com>
5440
5441 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5442
9d85a0ec
YQ
54432014-12-29 Yao Qi <yao@codesourcery.com>
5444
5445 * gdb.trace/entry-values.exp: Update comments. Rename variable
5446 bar_call_foo to returned_from_foo.
5447
87186c6a
MMN
54482014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5449
5450 PR gdb/17394
5451 * gdb.linespec/break-asm-file.c: New file.
5452 * gdb.linespec/break-asm-file.exp: New file.
5453 * gdb.linespec/break-asm-file0.s: New file.
5454 * gdb.linespec/break-asm-file1.s: New file.
5455
1bab7383
YQ
54562014-12-18 Nigel Stephens <nigel@mips.com>
5457 Maciej W. Rozycki <macro@codesourcery.com>
5458
5459 * gdb.base/float.exp: Handle the new output from "info float" on
5460 MIPS targets.
5461
1bc1068a
JK
54622014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5463
5464 Fix MinGW compilation.
5465 * gdb.compile/compile-ops.exp: Update untested message if
5466 !skip_compile_feature_tests.
5467 * gdb.compile/compile-setjmp.exp: Likewise.
5468 * gdb.compile/compile-tls.exp: Likewise.
5469 * gdb.compile/compile.exp: Likewise.
5470 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5471 supported on this host".
5472
b6615d10
DE
54732014-12-16 Doug Evans <xdje42@gmail.com>
5474
5475 * boards/stabs.exp: New file.
5476
25dda427
AA
54772014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5478
5479 * gdb.base/completion.exp: Adjust to format changes of "maint
5480 print user-registers".
5481
bf330350
CU
54822014-12-16 Catalin Udma <catalin.udma@freescale.com>
5483
5484 PR server/17457
5485 * gdb.arch/aarch64-fp.c: New file.
5486 * gdb.arch/aarch64-fp.exp: New file.
5487
395cf596
SDJ
54882014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5489
5490 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5491 r210637, r210913, r211666, r215400, r215817).
5492
5493 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5494 * dg-extract-results.py: New file.
5495 * dg-extract-results.sh: Use it if the environment seems
5496 suitable.
5497
5498 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5499
5500 * dg-extract-results.py (parse_run): Handle warnings that
5501 are printed before a test harness is run.
5502
5503 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5504
5505 * dg-extract-results.py (Named): Remove __cmp__ method.
5506 (output_variation): Use a key to sort variation.harnesses.
5507
5508 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5509
5510 * dg-extract-results.py: For Python 3, force sys.stdout to
5511 handle surrogate escape sequences.
5512 (safe_open): New function.
5513 (output_segment, main): Use it.
5514
5515 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5516
5517 * dg-extract-results.py (Prog.result_re): Include options
5518 in test name.
5519
5520 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5521
5522 * dg-extract-results.py (output_variation): Always sort if
5523 do_sum.
5524
e882ef3c
SM
55252014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5526
5527 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5528 as long as we get pagination notifications.
5529
4992aa20
JM
55302014-12-15 Jason Merrill <jason@redhat.com>
5531
5532 * Makefile.in (check-gdb.%): Restore.
5533 * README: Mention it.
5534
c1b5a1a6
JB
55352014-12-13 Joel Brobecker <brobecker@adacore.com>
5536
5537 * gdb.ada/str_uninit: New testcase.
5538
5537b577
JK
55392014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5540
5541 PR symtab/17642
5542 * gdb.base/vla-stub-define.c: New file.
5543 * gdb.base/vla-stub.c: New file.
5544 * gdb.base/vla-stub.exp: New file.
5545
bb2ec1b3
TT
55462014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5547 Jan Kratochvil <jan.kratochvil@redhat.com>
5548 Tom Tromey <tromey@redhat.com>
5549
5550 * configure.ac: Add gdb.compile/.
5551 * configure: Regenerate.
5552 * gdb.compile/Makefile.in: New file.
5553 * gdb.compile/compile-ops.exp: New file.
5554 * gdb.compile/compile-ops.c: New file.
5555 * gdb.compile/compile-tls.c: New file.
5556 * gdb.compile/compile-tls.exp: New file.
5557 * gdb.compile/compile-constvar.S: New file.
5558 * gdb.compile/compile-constvar.c: New file.
5559 * gdb.compile/compile-mod.c: New file.
5560 * gdb.compile/compile-nodebug.c: New file.
5561 * gdb.compile/compile-setjmp-mod.c: New file.
5562 * gdb.compile/compile-setjmp.c: New file.
5563 * gdb.compile/compile-setjmp.exp: New file.
5564 * gdb.compile/compile-shlib.c: New file.
5565 * gdb.compile/compile.c: New file.
5566 * gdb.compile/compile.exp: New file.
5567 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5568
4ff709eb
TT
55692014-12-12 Tom Tromey <tromey@redhat.com>
5570
5571 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5572 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5573
6dddd6a5
DE
55742014-12-12 Doug Evans <dje@google.com>
5575
5576 * lib/gdb-python.exp (get_python_valueof): New function.
5577 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5578
71c24708
AA
55792014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5580
5581 * gdb.base/completion.exp: Add test for completion of "info
5582 registers ".
5583
3e29f34a
MR
55842014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5585
5586 * gdb.base/func-ptrs.c: New file.
5587 * gdb.base/func-ptrs.exp: New file.
5588
fc126975
SM
55892014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5590
5591 PR breakpoints/17012
5592 * gdb.base/dprintf-detach.c: New file.
5593 * gdb.base/dprintf-detach.exp: New file.
5594
0a46d518
SM
55952014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5596
5597 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5598 * lib/gdb.exp (target_is_gdbserver): New procedure.
5599
a0be3e44
DE
56002014-12-08 Doug Evans <dje@google.com>
5601
5602 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5603
df1b803a
YQ
56042014-12-05 Yao Qi <yao@codesourcery.com>
5605
5606 * gdb.guile/scm-error.exp: Remove the third argument to
5607 gdb_remote_download.
5608 * gdb.guile/scm-frame-args.exp: Likewise.
5609 * gdb.guile/scm-section-script.exp: Likewise.
5610
ddb9f679
YQ
56112014-12-05 Yao Qi <yao@codesourcery.com>
5612
5613 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5614
86e4ed39
DE
56152014-12-04 Doug Evans <dje@google.com>
5616
5617 * gdb.python/py-objfile.exp: Add tests for
5618 objfile.add_separate_debug_file.
5619
7c50a931
DE
56202014-12-04 Doug Evans <dje@google.com>
5621
5622 * lib/gdb.exp (get_build_id): New function.
5623 (build_id_debug_filename_get): Rewrite to use it.
5624 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5625
621661e3
MR
56262014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5627
5628 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5629 `method(long)', not just 0x0.
5630 * gdb.cp/nsalias.exp: Align code labels to 4.
5631 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5632 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5633 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5634 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5635 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5636 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5637
29f0c3b7
DE
56382014-12-02 Doug Evans <dje@google.com>
5639
e1e061e7 5640 PR symtab/17602
29f0c3b7 5641 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 5642 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
5643 * gdb.cp/anon-ns.exp: Update.
5644
162078c8
NB
56452014-12-02 Nick Bull <nicholaspbull@gmail.com>
5646
5647 * gdb.python/py-events.py (inferior_call_handler): New.
5648 (register_changed_handler, memory_changed_handler): New.
5649 (test_events.invoke): Register new handlers.
5650 * gdb.python/py-events.exp: Add tests for inferior call,
5651 memory_changed and register_changed events.
5652
fdb09caf
AA
56532014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5654
5655 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5656 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5657 if the linker doesn't understand this.
5658
55cfb2c4
SM
56592014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5660
5661 * gdb.python/python.exp: Change expected reply to help().
5662
9e8cd6df
YQ
56632014-12-01 Yao Qi <yao@codesourcery.com>
5664
5665 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5666 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5667 * configure: Re-generated.
5668
6c659fc2
SC
56692014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5670
5671 * gdb.cp/chained-calls.cc: New file.
5672 * gdb.cp/chained-calls.exp: New file.
5673 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5674
d7fc3181
SM
56752014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5676
5677 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5678 * gdb.dwarf2/symtab-producer.exp: Same.
5679 * gdb.gdb/python-interrupts.exp: Same.
5680 * gdb.gdb/python-selftest.exp: Same.
5681 * gdb.python/py-linetable.exp: Same.
5682 * gdb.python/py-type.exp: Same.
5683 * gdb.python/py-value-cc.exp: Same.
5684 * gdb.python/py-value.exp: Same.
5685
10e79639
YQ
56862014-11-28 Yao Qi <yao@codesourcery.com>
5687
5688 * gdb.base/break-probes.exp: Match library name prefixed with
5689 sysroot.
5690
f28a0564
SM
56912014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5692
5693 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5694 test expected output. Add parentheses for the call to print.
5695 Remove L suffix from integers.
5696
3fe1ce1d
DE
56972014-11-26 Doug Evans <dje@google.com>
5698
5699 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5700
84429e27
YQ
57012014-11-22 Yao Qi <yao@codesourcery.com>
5702
5703 * gdb.trace/entry-values.c: Remove asms.
5704 (foo): Add foo_label.
5705 (bar): Add bar_label.
5706 * gdb.trace/entry-values.exp: Remove code computing foo's
5707 length and bar's length.
5708 (Dwarf::assemble): Invoke function_range for bar and use
5709 MACRO_AT_func for foo.
5710
26741859
YQ
57112014-11-22 Yao Qi <yao@codesourcery.com>
5712
5713 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5714 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5715 Use .Lgcc43_procstart instead of gcc43.
5716
45e44d27
JB
57172014-11-21 Joel Brobecker <brobecker@adacore.com>
5718
5719 * gdb.ada/n_arr_bound: New testcase.
5720
458c8db8
SDJ
57212014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5722
5723 PR breakpoints/10737
5724 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5725 test_catch_syscall_multi_arch.
5726 (test_catch_syscall_multi_arch): New function.
5727
43f3e411
DE
57282014-11-20 Doug Evans <xdje42@gmail.com>
5729
5730 * gdb.base/maint.exp: Update expected output.
5731
0d7b2549
AA
57322014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5733
5734 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5735 4-byte instruction on S390.
5736
8908fca5
JB
57372014-11-19 Joel Brobecker <brobecker@adacore.com>
5738
5739 * gdb.ada/arr_arr: New testcase.
5740
4a46959e
JB
57412014-11-19 Joel Brobecker <brobecker@adacore.com>
5742
5743 * gdb.ada/pkd_arr_elem: New Testcase.
5744
470e2f4e
LM
57452014-11-18 Luis Machado <lgustavo@codesourcery.com>
5746
5747 * gdb.reverse/break-precsave: Expect completion message for
5748 core file reads.
5749 * gdb.reverse/consecutive-precsave.exp: Likewise.
5750 * gdb.reverse/finish-precsave.exp: Likewise.
5751 * gdb.reverse/i386-precsave.exp: Likewise.
5752 * gdb.reverse/machinestate-precsave.exp: Likewise.
5753 * gdb.reverse/sigall-precsave.exp: Likewise.
5754 * gdb.reverse/solib-precsave.exp: Likewise.
5755 * gdb.reverse/step-precsave.exp: Likewise.
5756 * gdb.reverse/until-precsave.exp: Likewise.
5757 * gdb.reverse/watch-precsave.exp: Likewise.
5758
a267f3ad
AA
57592014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5760
5761 * gdb.base/bp-permanent.c: Include unistd.h.
5762 * gdb.python/py-framefilter-mi.c (main): Add return type.
5763 * gdb.python/py-framefilter.c (main): Likewise.
5764 * gdb.trace/actions-changed.c (main): Likewise.
5765
12084a9a
AA
57662014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5767
5768 * gdb.mi/until.c: Add eye-catchers.
5769 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5770 line numbers.
5771
dc7e1a77
AA
57722014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5773
5774 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5775 function header variants in break1.c.
5776 * gdb.base/ena-dis-br.exp: Likewise.
5777 * gdb.base/hbreak2.exp: Likewise.
5778 * gdb.reverse/until-precsave.exp: Drop references to removed
5779 non-prototype function header variants in ur1.c.
5780 * gdb.reverse/until-reverse.exp: Likewise.
5781
41c77605
PM
57822014-11-17 Petr Machata <pmachata@redhat.com>
5783
5784 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5785 ${_cu_offset_size} bytes abbrev offset.
5786
34248c3a
DE
57872014-11-15 Doug Evans <xdje42@gmail.com>
5788
5789 PR symtab/17559
5790 * gdb.base/line-symtabs.exp: New file.
5791 * gdb.base/line-symtabs.c: New file.
5792 * gdb.base/line-symtabs.h: New file.
5793
646da059
YQ
57942014-11-14 Yao Qi <yao@codesourcery.com>
5795
5796 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5797 (func): Add label func_label.
5798 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5799 Replace low_pc and high_pc with MACRO_AT_range.
5800 Replace name, low_pc and high_pc with MACRO_AT_func.
5801
9301ebe6
YQ
58022014-11-14 Yao Qi <yao@codesourcery.com>
5803
5804 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5805 Replace name, low_pc and high_pc with MACRO_AT_func.
5806
f166b542
YQ
58072014-11-14 Yao Qi <yao@codesourcery.com>
5808
5809 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5810 produce debug information.
5811 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5812
0f6e71e3
YQ
58132014-11-14 Yao Qi <yao@codesourcery.com>
5814
5815 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5816 object and get function length.
5817 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5818 with MACRO_AT_func.
5819 (top-level): Replace gdb_compile and clean_restart with
5820 prepare_for_testing.
5821 * gdb.dwarf2/main.c (main): Add label main_label.
5822
876c4df9
YQ
58232014-11-14 Yao Qi <yao@codesourcery.com>
5824
5825 * lib/dwarf.exp (function_range): New procedure.
5826 (Dwarf::_handle_macro_at_func): New procedure.
5827 (Dwarf::_handle_macro_at_range): New procedure.
5828 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5829
02ad9cf1
YQ
58302014-11-14 Yao Qi <yao@codesourcery.com>
5831
5832 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5833 (_handle_attribute): New procedure.
5834
a59add0c
AA
58352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5836
5837 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5838 * gdb.base/call-sc.c (zed): Likewise.
5839 * gdb.base/checkpoint.c (main): Likewise.
5840 * gdb.base/dump.c (main): Likewise.
5841 * gdb.base/gcore.c (main): Likewise.
5842 * gdb.base/huge.c (main): Likewise.
5843 * gdb.base/multi-forks.c (main): Likewise.
5844 * gdb.base/pr10179-a.c (main): Likewise.
5845 * gdb.base/savedregs.c (main): Likewise.
5846 * gdb.base/sigaltstack.c (main): Likewise.
5847 * gdb.base/siginfo.c (main): Likewise.
5848 * gdb.base/structs.c (zed): Likewise.
5849 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5850 * gdb.mi/mi-syn-frame.c (main): Likewise.
5851 * gdb.mi/until.c (foo, main): Likewise.
5852 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5853 * gdb.base/solib-weak.c (foo): Declare.
5854 * gdb.base/attach-twice.c: Include stdio.h.
5855 * gdb.base/weaklib1.c: Likewise.
5856 * gdb.base/weaklib2.c: Likewise.
5857 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5858 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5859 unistd.h.
5860 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5861 * gdb.mi/mi-exit-code.c: Likewise.
5862 * gdb.base/break-interp-lib.c: Include string.h.
5863 * gdb.base/coremaker.c: Likewise.
5864 * gdb.base/testenv.c: Likewise.
5865 * gdb.python/py-finish-breakpoint.c: Likewise.
5866 * gdb.base/inferior-died.c: Include sys/wait.h.
5867 * gdb.base/fileio.c: Include time.h.
5868 * gdb.base/async-shell.c: Include unistd.h.
5869 * gdb.base/dprintf-non-stop.c: Likewise.
5870 * gdb.base/info-os.c: Likewise.
5871 * gdb.mi/mi-console.c: Likewise.
5872 * gdb.mi/watch-nonstop.c: Likewise.
5873 * gdb.python/py-events.c: Likewise.
5874 * gdb.base/async.c (baz): Move up before its invocation.
5875 * gdb.base/code_elim2.c (my_global_func): Likewise.
5876 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5877 * gdb.base/advance.c (func2): Likewise.
5878
3b5d5997
AA
58792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5880
5881 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5882 variant.
5883 * gdb.base/annota3.c: Likewise.
5884 * gdb.base/async.c: Likewise.
5885 * gdb.base/average.c: Likewise.
5886 * gdb.base/call-ar-st.c: Likewise.
5887 * gdb.base/call-rt-st.c: Likewise.
5888 * gdb.base/call-sc.c: Likewise.
5889 * gdb.base/call-strs.c: Likewise.
5890 * gdb.base/ending-run.c: Likewise.
5891 * gdb.base/execd-prog.c: Likewise.
5892 * gdb.base/exprs.c: Likewise.
5893 * gdb.base/foll-exec.c: Likewise.
5894 * gdb.base/foll-fork.c: Likewise.
5895 * gdb.base/foll-vfork.c: Likewise.
5896 * gdb.base/funcargs.c: Likewise.
5897 * gdb.base/gcore.c: Likewise.
5898 * gdb.base/jump.c: Likewise.
5899 * gdb.base/langs0.c: Likewise.
5900 * gdb.base/langs1.c: Likewise.
5901 * gdb.base/langs2.c: Likewise.
5902 * gdb.base/mips_pro.c: Likewise.
5903 * gdb.base/nodebug.c: Likewise.
5904 * gdb.base/opaque0.c: Likewise.
5905 * gdb.base/opaque1.c: Likewise.
5906 * gdb.base/recurse.c: Likewise.
5907 * gdb.base/run.c: Likewise.
5908 * gdb.base/scope0.c: Likewise.
5909 * gdb.base/scope1.c: Likewise.
5910 * gdb.base/setshow.c: Likewise.
5911 * gdb.base/setvar.c: Likewise.
5912 * gdb.base/shmain.c: Likewise.
5913 * gdb.base/shr1.c: Likewise.
5914 * gdb.base/shr2.c: Likewise.
5915 * gdb.base/sigall.c: Likewise.
5916 * gdb.base/signals.c: Likewise.
5917 * gdb.base/so-indr-cl.c: Likewise.
5918 * gdb.base/solib2.c: Likewise.
5919 * gdb.base/structs.c: Likewise.
5920 * gdb.base/sum.c: Likewise.
5921 * gdb.base/vforked-prog.c: Likewise.
5922 * gdb.base/watchpoint.c: Likewise.
5923 * gdb.reverse/shr2.c: Likewise.
5924 * gdb.reverse/until-reverse.c: Likewise.
5925 * gdb.reverse/ur1.c: Likewise.
5926 * gdb.reverse/watch-reverse.c: Likewise.
5927
066a77c5
AA
59282014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5929
5930 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5931 variant.
5932 * gdb.base/sepdebug.exp: Drop references to removed code.
5933
4f204ea5
AA
59342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5935
5936 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5937 variant. Preserve original line numbering.
5938 * gdb.base/list1.c: Likewise.
5939
3b377a3a
AA
59402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5941
5942 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5943 variant.
5944 * gdb.base/break1.c: Likewise.
5945 * gdb.base/break.exp: Drop references to removed code.
5946
e444df73
AA
59472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5948
5949 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5950 variant.
5951
8008f2a7
AA
59522014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5953
5954 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5955
a5a06887
AA
59562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5957
5958 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5959 logic into perform_all_tests() and invoke it with and without
5960 function header prototypes.
5961 (do_function_calls): Remove conditional XFAIL for PR 5318.
5962 (rerun_and_prepare): Remove duplicate code.
5963 (perform_all_tests): New. Main logic moved here.
5964
44dba9b9
AA
59652014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5966
5967 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5968 code guarded by #ifdef NO_PROTOTYPES.
5969 (t_double_many_args): Likewise.
5970 (DEF_FUNC_MANY_ARGS_1): Likewise.
5971 (DEF_FUNC_VALUES_1): Likewise.
5972 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5973 guarded by #ifdef PROTOTYPES.
5974
d1fbcd56
AA
59752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5976
5977 * gdb.mi/mi-console.c: Add eye-catcher.
5978 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5979 instead of literal line number.
5980
b0e59b8f
AA
59812014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5982
5983 * gdb.base/shr2.c: Add eye-catcher.
5984 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5985 line number.
5986
78f98cca
AA
59872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5988
5989 * gdb.base/jump.c: Add eye-catchers.
5990 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5991 numbers.
5992
58fa2af0
AA
59932014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5994
5995 * gdb.base/execd-prog.c: Add eye-catchers.
5996 * gdb.base/foll-exec.c: Likewise.
5997 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5998 line numbers.
5999
04e5059b
AA
60002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6001
6002 * gdb.base/ending-run.c: Add eye-catchers.
6003 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
6004 literal line numbers.
6005
dbfdb174
AA
60062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6007
6008 * gdb.base/call-rt-st.c: Add eye-catchers.
6009 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
6010 literal line numbers.
6011
888a2ade
AA
60122014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6013
6014 * gdb.base/call-ar-st.c: Add eye-catchers.
6015 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
6016 literal line numbers.
6017
6acc2dde
AA
60182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6019
6020 * gdb.base/average.c: Add eye-catchers.
6021 * gdb.base/sum.c: Likewise.
6022 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
6023 regexps dynamically.
6024
9ecfcd1d
AA
60252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6026
6027 * gdb.base/solib1.c: Add eye-catchers.
6028 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
6029 literal line numbers.
6030
78708b7c
PA
60312014-11-12 Pedro Alves <palves@redhat.com>
6032
6033 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
6034 leader has exited.
6035
af48d08f
PA
60362014-11-12 Pedro Alves <palves@redhat.com>
6037
6038 * gdb.arch/i386-bp_permanent.c: New file.
6039 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
6040 (srcfile): Set to i386-bp_permanent.c.
6041 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
6042 that stepi does not execute the 'leave' instruction, instead of
6043 testing it does execute.
6044 * gdb.base/bp-permanent.c: New file.
6045 * gdb.base/bp-permanent.exp: New file.
6046
af3768e9
DE
60472014-11-10 Doug Evans <xdje42@gmail.com>
6048
6049 PR symtab/17564
6050 * gdb.base/symtab-search-order.exp: New file.
6051 * gdb.base/symtab-search-order.c: New file.
6052 * gdb.base/symtab-search-order-1.c: New file.
6053 * gdb.base/symtab-search-order-shlib-1.c: New file.
6054
9de00a4a
PA
60552014-11-07 Pedro Alves <palves@redhat.com>
6056
6057 PR gdb/17511
6058 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
6059 i?86-*-linux*.
6060
e0f52461
SC
60612014-11-03 Siva Chandra Reddy <sivachandra@google.com>
6062
6063 PR c++/17494
6064 * gdb.cp/pr17494.cc: New file.
6065 * gdb.cp/pr17494.exp: New file.
6066
6ce8c980
YQ
60672014-11-02 Yao Qi <yao@codesourcery.com>
6068
6069 * gdb.python/python.exp: Get working directory and match the
6070 output of "set extended-prompt \\w " with it.
6071
02be9a71
DE
60722014-10-30 Doug Evans <dje@google.com>
6073
6074 * gdb.python/py-objfile.exp: Add tests for setting random attributes
6075 in objfiles.
6076 * gdb.python/py-progspace.exp: Add tests for setting random attributes
6077 in progspaces.
6078
3bdff46b
LM
60792014-10-30 Janis Johnson <janisjo@codesourcery.com>
6080
6081 * gdb.base/fullpath-expand.exp: Skip for a remote host.
6082 * gdb.base/realname-expand.exp: Likewise.
6083 * gdb.linespec/macro-relative.exp: Likewise.
6084
ab917dfb
PA
60852014-10-29 Pedro Alves <palves@redhat.com>
6086
6087 PR gdb/17408
6088 * gdb.threads/schedlock.c (some_function): New function.
6089 (call_function): New global.
6090 (MAYBE_CALL_SOME_FUNCTION): New macro.
6091 (thread_function): Call it.
6092 * gdb.threads/schedlock.exp (get_args): Add description parameter,
6093 and use it instead of a global counter. Adjust all callers.
6094 (get_current_thread): Use "find current thread" for test message
6095 here rather than having all callers pass down the same string.
6096 (goto_loop): New procedure, factored out from ...
6097 (my_continue): ... this.
6098 (step_ten_loops): Change parameter from test message to command to
6099 use. Adjust.
6100 (list_count): Delete global.
6101 (check_result): New procedure, factored out from duplicate top
6102 level code.
6103 (continue tests): Wrap in with_test_prefix.
6104 (test_step): New procedure, factored out from duplicate top level
6105 code.
6106 (top level): Test "step" in combination with all scheduler-locking
6107 modes. Test "next" in combination with all scheduler-locking
6108 modes, and in combination with stepping over a function call or
6109 not.
6110 * gdb.threads/next-bp-other-thread.c: New file.
6111 * gdb.threads/next-bp-other-thread.exp: New file.
6112
d3d4baed
PA
61132014-10-29 Pedro Alves <palves@redhat.com>
6114
6115 PR python/17372
6116 * gdb.python/python.exp: Test a multi-line command that spawns
6117 interactive Python.
6118 * gdb.base/multi-line-starts-subshell.exp: New file.
6119
563e8d85
YQ
61202014-10-29 Yao Qi <yao@codesourcery.com>
6121
6122 * gdb.base/fileio.exp: Make directories on host.
6123
0ea4d52e
YQ
61242014-10-29 Yao Qi <yao@codesourcery.com>
6125
6126 * gdb.base/fileio.c (test_write): Close the file.
6127
7f5ef605
PA
61282014-10-28 Pedro Alves <palves@redhat.com>
6129
6130 PR gdb/12623
6131 * gdb.base/sigstep.c (no_handler): New global.
6132 (main): If 'no_handler is true, set the signal handlers to
6133 SIG_IGN.
6134 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
6135 with_sw_watch and no_handler parameters. Handle them.
6136 (top level) <stepping over handler when stopped at a breakpoint
6137 test>: Add a test axis for testing with a software watchpoint, and
6138 another for testing with the signal handler set to SIG_IGN.
6139 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
6140 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
6141
abbdbd03
PA
61422014-10-28 Pedro Alves <palves@redhat.com>
6143
6144 PR gdb/17511
6145 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
6146 * gdb.base/sigstep.exp (other_handler_location): New global.
6147 (advance): Support stepping into the signal handler, and running
6148 commands while in the handler.
6149 (in_handler_map): New global.
6150 (top level): In the advance test, add combinations for getting
6151 into the handler with stepping commands, and for running commands
6152 in the handler. Add comment descripting the advancei tests.
6153
1df4399f
PA
61542014-10-28 Pedro Alves <palves@redhat.com>
6155
6156 * gdb.base/sigstep.exp: Use build_executable instead of
6157 prepare_for_testing.
6158 (top level): Move code that starts GDB, runs to main and creates a
6159 display to ...
6160 (restart): ... this new procedure.
6161 (top level): Move backtrace from signal handler test to ...
6162 (validate_backtrace): ... this new procedure.
6163 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
6164 with_test_prefix. Always restart GDB.
6165 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
6166 with_test_prefix. Always restart GDB. No need to delete
6167 breakpoints after the test.
6168 (test_skip_handler): Remove prefix parameter.
6169 (skip_over_handler, breakpoint_to_handler)
6170 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
6171 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
6172 restart GDB. No need to delete breakpoints after the test.
6173 (top level): Use foreach to call the test procedures with
6174 different commands.
6175
a5b6e449
PA
61762014-10-28 Pedro Alves <palves@redhat.com>
6177
6178 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
6179 instead of GNATS numbers.
6180 * gdb.base/sigbpt.exp: Likewise.
6181 * gdb.base/siginfo.exp: Likewise.
6182 * gdb.base/sigstep.exp: Likewise.
6183
e5f8a7cc
PA
61842014-10-27 Pedro Alves <palves@redhat.com>
6185
6186 * gdb.base/sigstep.c (dummy): New global.
6187 (main): Issue a couple writes to the new global.
6188 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
6189 procedures.
6190 (skip_over_handler): Use test_skip_handler.
6191 (top level): Call skip_over_handler for stepi and nexti too.
6192 (breakpoint_over_handler): Use test_skip_handler.
6193 (top level): Call breakpoint_over_handler for stepi and nexti too.
6194
763905a3
YQ
61952014-10-27 Yao Qi <yao@codesourcery.com>
6196
6197 * gdb.trace/tfile.c (adjust_function_address)
6198 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
6199 function descriptor.
6200
6f259a23
DB
62012014-10-24 Don Breazeal <donb@codesourcery.com>
6202
6203 * gdb.base/foll-fork.exp (test_follow_fork,
6204 catch_fork_child_follow): Check for updated fork messages emitted
6205 from infrun.c.
6206 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
6207 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
6208 vfork_and_exec_child_follow_through_step): Check for updated vfork
6209 messages emitted from infrun.c.
6210
09dd9a69
PA
62112014-10-24 Pedro Alves <palves@redhat.com>
6212
6213 * gdb.base/corefile.exp: Remove references to ultrix.
6214 * gdb.base/interrupt.exp: Likewise.
6215 * gdb.base/whatis.exp: Likewise.
6216 * gdb.gdb/selftest.exp: Likewise.
6217 * gdb.threads/manythreads.exp: Likewise.
6218 * gdb.threads/print-threads.exp: Likewise.
6219 * gdb.threads/pthreads.exp:: Likewise.
6220 * gdb.threads/schedlock.exp: Likewise.
6221
3433cfa5
SC
62222014-10-24 Siva Chandra Reddy <sivachandra@google.com>
6223
6224 * gdb.cp/non-trivial-retval.cc: Add a test case.
6225 * gdb.cp/non-trivial-retval.exp: Add a test.
6226
092f880b
YQ
62272014-10-20 Yao Qi <yao@codesourcery.com>
6228
6229 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
6230 * gdb.python/py-objfile-script-gdb.py: New file.
6231 * gdb.python/py-objfile-script.exp: Update reference to
6232 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
6233 of remote_download. Remove the dest file.
6234
acbdb7f3
YQ
62352014-10-20 Yao Qi <yao@codesourcery.com>
6236
6237 * gdb.base/checkpoint.exp: Don't remove file copied on host.
6238 * gdb.base/step-line.exp: Likewise.
6239 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6240 * gdb.dwarf2/dw2-basic.exp: Likewise.
6241 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6242 * gdb.dwarf2/dw2-filename.exp: Likewise.
6243 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6244 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6245 * gdb.dwarf2/dw2-producer.exp: Likewise.
6246 * gdb.dwarf2/mac-fileno.exp: Likewise.
6247 * gdb.python/py-frame-args.exp: Likewise.
6248 * gdb.python/py-framefilter.exp: Likewise.
6249 * gdb.python/py-mi.exp: Likewise.
6250 * gdb.python/py-objfile-script.exp: Likewise
6251 * gdb.python/py-pp-integral.exp: Likewise.
6252 * gdb.python/py-pp-re-notag.exp: Likewise.
6253 * gdb.python/py-prettyprint.exp: Likewise.
6254 * gdb.python/py-section-script.exp: Likewise.
6255 * gdb.python/py-typeprint.exp: Likewise.
6256 * gdb.python/py-xmethods.exp: Likewise.
6257 * gdb.stabs/weird.exp: Likewise.
6258 * gdb.xml/tdesc-regs.exp: Likewise.
6259
bd286a29
KCY
62602014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
6261
6262 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
6263 (out_cu): Use addr_len for the size of addresses.
6264 (out_line): Likewise. Size DW_LNE_set_address instruction
6265 according to addr_len.
6266 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
6267 (FUNC): Add START_INSNS to definition.
6268
673dc4a0
YQ
62692014-10-18 Yao Qi <yao@codesourcery.com>
6270
6271 * gdb.base/argv0-symlink.exp: Check argv[0] value if
6272 gdb_has_argv0 return true.
6273 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
6274 check [target_info exists noargs], check [gdb_has_argv0]
6275 instead.
6276 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6277 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
6278 procedures.
6279
4ffbba72
DE
62802014-10-17 Doug Evans <dje@google.com>
6281
6282 * gdb.python/py-events.exp: Update expected output for clear_objfiles
6283 event.
6284 * gdb.python/py-events.py: Add clear_objfiles event.
6285
d096d8c1
DE
62862014-10-17 Doug Evans <dje@google.com>
6287
6288 * gdb.python/py-objfile.exp: Test progspace attribute.
6289
a80db015
LM
62902014-10-17 Luis Machado <lgustavo@codesourcery.com>
6291
6292 * gdb.guile/scm-breakpoint.exp: Do not assume any
6293 directory separators when matching source file paths.
6294 * gdb.python/py-breakpoint.exp: Likewise.
6295 * gdb.reverse/break-precsave.exp: Likewise.
6296 * gdb.reverse/break-reverse.exp: Likewise.
6297 * gdb.reverse/consecutive-precsave.exp: Likewise.
6298 * gdb.reverse/finish-precsave.exp: Likewise.
6299 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6300 * gdb.reverse/finish-reverse.exp: Likewise.
6301 * gdb.reverse/i386-precsave.exp: Likewise.
6302 * gdb.reverse/i387-env-reverse.exp: Likewise.
6303 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6304 * gdb.reverse/machinestate-precsave.exp: Likewise.
6305 * gdb.reverse/machinestate.exp: Likewise.
6306 * gdb.reverse/sigall-precsave.exp: Likewise.
6307 * gdb.reverse/solib-precsave.exp: Likewise.
6308 * gdb.reverse/step-precsave.exp: Likewise.
6309 * gdb.reverse/until-precsave.exp: Likewise.
6310 * gdb.reverse/watch-precsave.exp: Likewise.
6311 * gdb.reverse/watch-reverse.exp: Likewise.
6312
b22089ab
YQ
63132014-10-17 Yao Qi <yao@codesourcery.com>
6314
6315 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6316 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6317
6c4486e6
PA
63182014-10-17 Pedro Alves <palves@redhat.com>
6319
6320 PR gdb/17471
6321 * gdb.base/bg-execution-repeat.c: New file.
6322 * gdb.base/bg-execution-repeat.exp: New file.
6323
0ff33695
PA
63242014-10-17 Pedro Alves <palves@redhat.com>
6325
6326 PR gdb/17300
6327 * gdb.base/continue-all-already-running.c: New file.
6328 * gdb.base/continue-all-already-running.exp: New file.
6329
6fdebc3d
PA
63302014-10-17 Pedro Alves <palves@redhat.com>
6331
6332 PR gdb/17472
6333 * gdb.base/annota-input-while-running.c: New file.
6334 * gdb.base/annota-input-while-running.exp: New file.
6335
32a8097b
PA
63362014-10-17 Pedro Alves <palves@redhat.com>
6337
6338 * gdb.base/callfuncs.exp: emove references to osf.
6339 * gdb.base/sigall.exp: Likewise.
6340 * gdb.gdb/selftest.exp: Likewise.
6341 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6342 * gdb.mi/non-stop.c: Likewise.
6343 * gdb.mi/pthreads.c: Likewise.
6344 * gdb.reverse/sigall-precsave.exp: Likewise.
6345 * gdb.reverse/sigall-reverse.exp: Likewise.
6346 * gdb.threads/pthreads.c: Likewise.
6347 * gdb.threads/pthreads.exp: Likewise.
6348
7a3517ff
YQ
63492014-10-17 Yao Qi <yao@codesourcery.com>
6350
6351 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6352 check 'target_info exists noargs'.
6353 (test_command_prompt_position): Likewise.
6354 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6355 Remove "set args".
6356 (progvar_simple_while_test): Likewise.
6357 (progvar_complex_if_while_test): Likewise.
6358 (if_while_breakpoint_command_test): Likewise.
6359 (infrun_breakpoint_command_test): Likewise.
6360 (breakpoint_command_test): Likewise.
6361 (watchpoint_command_test): Likewise.
6362 (bp_deleted_in_command_test): Likewise.
6363 (temporary_breakpoint_commands): Likewise.
6364
bb99c472
YQ
63652014-10-16 Yao Qi <yao@codesourcery.com>
6366
6367 * gdb.base/remotetimeout.exp: Remove noargs checking.
6368
7c16b83e
PA
63692014-10-15 Pedro Alves <palves@redhat.com>
6370
6371 PR breakpoints/9649
6372 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6373 * gdb.base/breakpoint-in-ro-region.exp
6374 (probe_target_hardware_step): New procedure.
6375 (top level): Probe hardware stepping and hardware breakpoint
6376 support. Test stepping through a read-only region, with both
6377 "breakpoint auto-hw" on and off and both "always-inserted" on and
6378 off.
6379
35a49624
IB
63802014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6381
6382 * gdb.dlang/demangle.exp: Update for demangling changes.
6383
2d1c107c
SC
63842014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6385
6386 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6387 * gdb.cp/non-trivial-retval.exp: Add new tests.
6388
778811d5
SC
63892014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6390
6391 PR c++/13403
6392 PR c++/15154
6393 * gdb.cp/non-trivial-retval.cc: New file.
6394 * gdb.cp/non-trivial-retval.exp: New file.
6395
10c5f0a8
YQ
63962014-10-15 Yao Qi <yao@codesourcery.com>
6397
6398 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6399 remote host.
6400
65d7b369
YQ
64012014-10-15 Yao Qi <yao@codesourcery.com>
6402
6403 * gdb.python/py-symbol.exp: Match file base name if host is
6404 remote, otherwise match file name with dir name.
6405 * gdb.python/py-symtab.exp: Likewise.
6406 * gdb.python/python.exp: Likewise.
6407
46dc1394
YQ
64082014-10-15 Yao Qi <yao@codesourcery.com>
6409
6410 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6411 pattern.
6412 * gdb.python/py-symtab.exp: Likewise.
6413 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6414 locationn.
6415
c40cc657
JB
64162014-10-14 Joel Brobecker <brobecker@adacore.com>
6417
6418 * gdb.ada/addr_arith: New testcase.
6419
2abf49e1
MR
64202014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6421
6422 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6423 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6424 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6425 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6426
f7088df3
SDJ
64272014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6428
6429 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6430 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6431 * gdb.arch/stap-eval-lang-ada.exp: New file.
6432
4dc06805
YQ
64332014-10-14 Yao Qi <yao@codesourcery.com>
6434
6435 * gdb.mi/mi-var-child.c (nothing1): New function.
6436 (nothing2): New function.
6437 (do_children_tests): Set function pointers by nothing1 and
6438 nothing2.
6439 * gdb.mi/mi-var-child.exp: Step over new added statements.
6440 Update test to match the new output.
6441 * gdb.mi/var-cmd.c (nothing1): New function.
6442 (nothing2): New function.
6443 (do_children_tests): Set function pointers by nothing1 and
6444 nothing2.
6445 * gdb.mi/mi-var-display.exp: Update test to match output.
6446 Step to the line specified by $line_dct_nothing.
6447 Increase the number of lines to step.
6448
46a93de2
YQ
64492014-10-14 Yao Qi <yao@codesourcery.com>
6450
6451 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6452 tests.
6453 * gdb.mi/mi2-var-child.exp: Likewise.
6454
14ea52ee
DE
64552014-10-13 Doug Evans <dje@google.com>
6456
6457 * gdb.python/py-objfile.exp: Change name of file name test.
6458
e5c6e92b
DE
64592014-10-13 Doug Evans <dje@google.com>
6460
6461 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6462 from the start of the CU.
6463
c780cc2f
JK
64642014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6465 Yao Qi <yao@codesourcery.com>
6466
6467 Fix "save breakpoints" for "catch" command.
6468 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6469 Remove -nonewline. Match also the added "main" line.
6470
99894e11
JK
64712014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6472
6473 Fix "save breakpoints" for "disable $bpnum" command.
6474 * gdb.base/save-bp.c (main): Add label.
6475 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6476
6e1ac5a3
JK
64772014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6478
6479 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6480
754dd2b0
YQ
64812014-10-11 Yao Qi <yao@codesourcery.com>
6482
6483 * gdb.server/server-kill.exp: Execute command
6484 "set remote trace-status-packet on" before "tstatus".
6485
f90183d7
YQ
64862014-10-11 Yao Qi <yao@codesourcery.com>
6487
6488 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6489 (main): Call getppid.
6490 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6491 and continue to it. Read variable "server_pid".
6492
bf40a607
YQ
64932014-10-11 Yao Qi <yao@codesourcery.com>
6494
6495 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6496
052ca370
YQ
64972014-10-11 Yao Qi <yao@codesourcery.com>
6498
6499 * gdb.threads/thread-find.exp: Don't execute command
6500 "info threads".
6501 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6502 * gdb.threads/linux-dp.exp: Don't check the condition
6503 $threads_created equals to zero.
6504
3831839c
PA
65052014-10-10 Pedro Alves <palves@redhat.com>
6506
6507 * gdb.base/bigcore.exp: Remove references to IRIX.
6508 * gdb.base/funcargs.exp: Likewise.
6509 * gdb.base/interrupt.exp: Likewise.
6510 * gdb.base/mips_pro.exp: Likewise.
6511 * gdb.base/nodebug.exp: Likewise.
6512 * gdb.base/setvar.exp: Likewise.
6513 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6514
8b9a549d
PA
65152014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6516 Pedro Alves <palves@redhat.com>
6517
6518 PR symtab/14466
6519 * gdb.base/vdso-warning.c: New file.
6520 * gdb.base/vdso-warning.exp: New file.
6521
d48ba5e8
DE
65222014-10-02 Doug Evans <dje@google.com>
6523
6524 * gdb.base/structs.c (main): Don't run forever.
6525
2278c276
PA
65262014-10-02 Pedro Alves <palves@redhat.com>
6527
6528 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6529 (top level) <stop threads 1, stop threads 2>: Use it.
6530
b57bacec
PA
65312014-10-02 Pedro Alves <palves@redhat.com>
6532
6533 * gdb.threads/break-while-running.exp (test): Add new
6534 'update_thread_list' argument. Skip "info threads" if false.
6535 (top level): Add new 'update_thread_list' axis.
6536
13fd3ff3
PA
65372014-10-02 Pedro Alves <palves@redhat.com>
6538
6539 PR breakpoints/17431
6540 * gdb.base/execl-update-breakpoints.c: New file.
6541 * gdb.base/execl-update-breakpoints.exp: New file.
6542
0fec99e8
PA
65432014-10-01 Pedro Alves <palves@redhat.com>
6544
6545 * gdb.base/breakpoint-in-ro-region.c: New file.
6546 * gdb.base/breakpoint-in-ro-region.exp: New file.
6547
2ddf4301
SM
65482014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6549
6550 * gdb.mi/mi-exit-code.exp: New file.
6551 * gdb.mi/mi-exit-code.c: New file.
6552
6a5f3f43
YQ
65532014-09-30 Yao Qi <yao@codesourcery.com>
6554
6555 * lib/prelink-support.exp (build_executable_own_libs): Error if
6556 the target isn't native.
6557
345bcc73
YQ
65582014-09-30 Yao Qi <yao@codesourcery.com>
6559
6560 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6561 false.
6562
a25a5a45
PA
65632014-09-22 Pedro Alves <palves@redhat.com>
6564
6565 * gdb.threads/break-while-running.exp: New file.
6566 * gdb.threads/break-while-running.c: New file.
6567
00ba3162
YQ
65682014-09-19 Yao Qi <yao@codesourcery.com>
6569
6570 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6571 Invoke test. Restart GDB with --readnow and invoke test again.
6572
c3b7b696
YQ
65732014-09-19 Yao Qi <yao@codesourcery.com>
6574
6575 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6576 proc set_breakpoint_on_gcd_function. Invoke
6577 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6578 invoke set_breakpoint_on_gcd_function again.
6579
2b4fd423
DE
65802014-09-18 Doug Evans <dje@google.com>
6581
6582 * gdb.dwarf2/symtab-producer.exp: New file.
6583
a5947601
SDJ
65842014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6585
6586 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6587 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6588 * gdb.base/global-var-nested-by-dso.c: Likewise.
6589 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6590
91c19059
SDJ
65912014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6592 Pedro Alves <palves@redhat.com>
6593
6594 * gdb.base/watch-bitfields.exp: Pass string other than test file
6595 name to prepare_for_testing.
6596 (watch): New procedure.
6597 (expect_watchpoint): Use with_test_prefix.
6598 (top level): Factor out tests to ...
6599 (test_watch_location, test_regular_watch): ... these new
6600 procedures, and use with_test_prefix and gdb_continue_to_end.
6601
bb9d5f81
PP
66022014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6603
6604 PR breakpoints/12526
6605 * gdb.base/watch-bitfields.exp: New file.
6606 * gdb.base/watch-bitfields.c: New file.
6607
635856f5
PA
66082014-09-16 Pedro Alves <palves@redhat.com>
6609
6610 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6611 software and hardware addresses, not software address against
6612 itself.
6613
7280ceea
PA
66142014-09-16 Pedro Alves <palves@redhat.com>
6615
6616 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6617 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6618
428b16bd
PA
66192014-09-16 Pedro Alves <palves@redhat.com>
6620
6621 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6622 files.
6623 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6624 "*-*-vxworks*" throughout.
6625 * gdb.base/break.exp: Likewise.
6626 * gdb.base/default.exp: Likewise.
6627 * gdb.base/scope.exp: Likewise.
6628 * gdb.base/sepdebug.exp: Likewise.
6629 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6630 throughout.
6631 * gdb.base/run.c: Likewise.
6632 * gdb.base/sepdebug.c: Likewise.
6633 * gdb.hp/gdb.aCC/run.c: Likewise.
6634 * gdb.reverse/until-reverse.c: Likewise.
6635 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6636
666d413c
YQ
66372014-09-16 Yao Qi <yao@codesourcery.com>
6638
6639 * boards/local-remote-host-native.exp: New file.
6640
57cbd724
DE
66412014-09-14 Doug Evans <xdje42@gmail.com>
6642
6643 * gdb.threads/queue-signal.c (thread_count): New variable.
6644 (thread_count_mutex, thread_count_condvar): New variables.
6645 (incr_thread_count, wait_all_threads_running): New functions.
6646 (main): Wait for all threads to be in their thread functions.
6647
81219e53
DE
66482014-09-13 Doug Evans <xdje42@gmail.com>
6649
6650 * gdb.threads/queue-signal.c: New file.
6651 * gdb.threads/queue-signal.exp: New file.
6652
3714cea7
DE
66532014-09-13 Doug Evans <xdje42@gmail.com>
6654
6655 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6656 be consistent with what default_gdb_init uses.
6657 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6658 the plain text of the prompt. Add some logging printfs.
6659 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6660
fa43b1d7
PA
66612014-09-12 Pedro Alves <palves@redhat.com>
6662
6663 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6664 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6665 * gdb.arch/i386-size-overlap.exp: Likewise.
6666 * gdb.arch/i386-size.exp: Likewise.
6667 * gdb.arch/i386-unwind.exp: Likewise.
6668 * gdb.base/a2-run.exp: Likewise.
6669 * gdb.base/break.exp: Likewise.
6670 * gdb.base/charset.exp: Likewise.
6671 * gdb.base/chng-syms.exp: Likewise.
6672 * gdb.base/commands.exp: Likewise.
6673 * gdb.base/dbx.exp: Likewise.
6674 * gdb.base/find.exp: Likewise.
6675 * gdb.base/funcargs.exp: Likewise.
6676 * gdb.base/jit-simple.exp: Likewise.
6677 * gdb.base/reread.exp: Likewise.
6678 * gdb.base/sepdebug.exp: Likewise.
6679 * gdb.base/step-bt.exp: Likewise.
6680 * gdb.cp/mb-inline.exp: Likewise.
6681 * gdb.cp/mb-templates.exp: Likewise.
6682 * gdb.objc/basicclass.exp: Likewise.
6683 * gdb.threads/killed.exp: Likewise.
6684
9d9bf2df
EBM
66852014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6686
6687 PR tdep/17379
6688 * gdb.arch/powerpc-stackless.S: New file.
6689 * gdb.arch/powerpc-stackless.exp: New file.
6690
1cf2f1b0
JK
66912014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6692
6693 * gdb.base/attach.c: Include unistd.h.
6694 (main): Call alarm. Add label postloop.
6695 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6696 gdb_breakpoint, gdb_continue_to_breakpoint.
6697 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6698
98880d46
PA
66992014-09-11 Pedro Alves <palves@redhat.com>
6700
6701 PR gdb/17347
6702 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6703 * gdb.base/attach.exp (test_command_line_attach_run): New
6704 procedure.
6705 (top level): Call it.
6706
4c92ff2c
PA
67072014-09-11 Pedro Alves <palves@redhat.com>
6708
6709 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6710 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6711 (do_command_attach_tests): Use spawn_wait_for_attach.
6712 * gdb.base/solib-overlap.exp: Likewise.
6713 * gdb.multi/multi-attach.exp: Likewise.
6714 * gdb.python/py-prompt.exp: Likewise.
6715 * gdb.python/py-sync-interp.exp: Likewise.
6716 * gdb.server/ext-attach.exp: Likewise.
6717
3adc1a7d
GKB
67182014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6719
6720 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6721 command in testcase. Simplify testcase.
6722
96334934
JB
67232014-09-10 Joel Brobecker <brobecker@adacore.com>
6724
6725 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6726
eb479039
JB
67272014-09-10 Joel Brobecker <brobecker@adacore.com>
6728
6729 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6730
deede10c
JB
67312014-09-10 Joel Brobecker <brobecker@adacore.com>
6732
6733 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6734
7828a5f5
JB
67352014-09-10 Joel Brobecker <brobecker@adacore.com>
6736
6737 * gdb.dwarf2/dynarr-ptr.c: New file.
6738 * gdb.dwarf2/dynarr-ptr.exp: New file.
6739
33aeebcf
MR
67402014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6741
6742 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6743 of 30 rather than hardcoding 120 for a slow test case. Take the
6744 `gdb,timeout' target setting into account for this calculation.
6745 Don't extend the timeout for the test cases that don't need it.
6746
7b415901
MR
67472014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6748
6749 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6750 a factor of 2 for a slow test case. Take the `gdb,timeout'
6751 target setting into account for this calculation.
6752 * gdb.reverse/until-precsave.exp: Increase the timeout by
6753 a factor of 15 and 3 respectively rather than adding 120
6754 for a pair of slow test cases. Take the `gdb,timeout'
6755 target setting into account for this calculation.
6756
4a40f85a
MR
67572014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6758
6759 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6760 timeout, don't pass one down to gdb_expect.
6761 (gdb_expect): Rework timeout selection.
6762
09635af7
MR
67632014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6764
6765 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6766 exception on timeout.
6767 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6768 (gdbserver_start_extended): Catch any `gdbserver_start' error
6769 exceptions.
6770 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6771 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6772 `gdbserver_gdb_load' error exceptions.
6773
2bdd10b7
MR
67742014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6775
6776 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6777 120 on waiting for the TCP socket to open.
6778
316935f0
DE
67792014-09-09 Doug Evans <xdje42@gmail.com>
6780
6781 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6782 _caller_matches, _any_caller_is, _any_caller_matches.
6783
83740597
DE
67842014-09-09 Doug Evans <xdje42@gmail.com>
6785
6786 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6787
4c122fc3
YQ
67882014-09-09 Yao Qi <yao@codesourcery.com>
6789
6790 * gdb.mi/mi-var-display.exp: Set print symbol off.
6791
a9f116cb
GKB
67922014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6793
6794 PR gdb/17035
6795 * gdb.base/commands.exp: Add tests to verify user-defined
6796 commands with empty bodies.
6797 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6798 python commands in `show user command`.
6799 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6800 scheme commands in `show user command`.
6801
c75bd3a2
JK
68022014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6803
6804 PR python/17355
6805 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6806 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6807 * gdb.python/py-framefilter-invalidarg.exp: New file.
6808 * gdb.python/py-framefilter-invalidarg.py: New file.
6809
faa42425
DE
68102014-09-06 Doug Evans <xdje42@gmail.com>
6811
6812 PR 15276
6813 * gdb.python/py-caller-is.c: New file.
6814 * gdb.python/py-caller-is.exp: New file.
6815
474ca4f6
SDJ
68162014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6817
6818 PR gdb/17235
6819 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6820 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6821
eb0b0463
SDJ
68222014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6823
6824 PR fortran/17237
6825 * gdb.fortran/print-formatted.exp: New file.
6826 * gdb.fortran/print-formatted.f90: Likewise.
6827
5f3b99cf
SS
68282014-09-03 Sasha Smundak <asmundak@google.com>
6829
6830 * gdb.python/py-frame.exp: Test Frame.read_register.
6831
7d793aa9
SDJ
68322014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6833
6834 PR python/16699
6835 * gdb.python/py-completion.exp: New file.
6836 * gdb.python/py-completion.py: Likewise.
6837
fb0576e9
DE
68382014-08-28 Doug Evans <dje@google.com>
6839
6840 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6841 eax,etc. are live with values set by gdb and thus the compiler can't
6842 use them.
6843 * gdb.arch/i386-pseudo.c (main): Ditto.
6844
ee92b0dd
DE
68452014-08-27 Doug Evans <dje@google.com>
6846
6847 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6848
6649db35
DE
68492014-08-25 Doug Evans <dje@google.com>
6850
6851 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6852 (main): Ditto.
6853
564b7600
DE
68542014-08-25 Doug Evans <dje@google.com>
6855
6856 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6857
3881fb67
YQ
68582014-08-24 Yao Qi <yao@codesourcery.com>
6859
6860 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6861 symbol off.
6862 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6863
a05a36a5
DE
68642014-08-22 Doug Evans <dje@google.com>
6865
6866 PR 17276
6867 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6868 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6869 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6870
7c343b48
YQ
68712014-08-22 Yao Qi <yao@codesourcery.com>
6872
6873 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6874 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6875 * gdb.python/python.exp: Likewise. Use .py file on the host
6876 instead of the build.
6877
22fd09ae
JK
68782014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6879
6880 * gdb.threads/gcore-stale-thread.c: New file.
6881 * gdb.threads/gcore-stale-thread.exp: New file.
6882
a8454a7c
PA
68832014-08-21 Pedro Alves <palves@redhat.com>
6884
6885 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6886 * gdb.base/gcore-relro-pie.exp: Likewise.
6887 * gdb.base/gcore-relro.exp: Likewise.
6888 * gdb.base/gcore.exp: Likewise.
6889 * gdb.base/print-symbol-loading.exp: Likewise.
6890 * gdb.threads/gcore-thread.exp: Likewise.
6891 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6892
2a31c623
PA
68932014-08-20 Pedro Alves <palves@redhat.com>
6894 Jan Kratochvil <jan.kratochvil@redhat.com>
6895
6896 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6897 configure.
6898 (EXPECT): Handle READ1 being set.
6899 (all): Depend on EXTRA_RULES.
6900 (check-read1, expect-read1, read1.so, read1): New rules.
6901 * README (Testsuite Parameters): Document the READ1 make variable.
6902 (Race detection): New section.
6903 * configure: Regenerate.
6904 * configure.ac: If build==host==target, and running under a
6905 GNU/glibc system, add read1 to the extra Makefile rules.
6906 (EXTRA_RULES): AC_SUBST it.
6907 * lib/read1.c: New file.
6908
d36430db
JB
69092014-08-20 Joel Brobecker <brobecker@adacore.com>
6910
6911 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6912 the handling of variables declared as a typedef to an array
6913 which a DW_AT_data_location attribute.
6914
9a0dc9e3
PA
69152014-08-19 Andrew Burgess <aburgess@broadcom.com>
6916 Pedro Alves <palves@redhat.com>
6917
6918 PR symtab/14604
6919 PR symtab/14605
6920 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6921 gdb_test.
6922
0718a8da
PA
69232014-08-19 Pedro Alves <palves@redhat.com>
6924
6925 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6926
13b448cd
YQ
69272014-08-19 Yao Qi <yao@codesourcery.com>
6928
6929 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6930 right line.
6931
1cbf5077
DB
69322014-08-18 David Blaikie <dblaikie@gmail.com>
6933
6934 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6935
bf0fae19
JB
69362014-08-18 Joel Brobecker <brobecker@adacore.com>
6937
6938 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6939 attribute in array range.
6940
3c8c5dcc
JB
69412014-08-18 Joel Brobecker <brobecker@adacore.com>
6942
6943 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6944
e66d4446
SC
69452014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6946
6947 PR c++/17132
6948 * gdb.cp/pr17132.cc: New file.
6949 * gdb.cp/pr17132.exp: New file.
6950
940df408
SC
69512014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6952
6953 * gdb.python/py-xmethods.py (A_getarrayind)
6954 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6955 Use 'print' with function call syntax.
6956 (E_method_matcher.match): Fix tab vs space indentation mixup.
6957
ebcc6c3a
YQ
69582014-08-15 Yao Qi <yao@codesourcery.com>
6959
6960 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6961 false.
6962
775e0f04
YQ
69632014-08-15 Yao Qi <yao@codesourcery.com>
6964
6965 * gdb.cp/casts.exp: Set print symbol off.
6966 * gdb.cp/class2.exp: Likewise.
6967 * gdb.cp/overload.exp: Likewise.
6968 * gdb.cp/templates.exp: Likewise.
6969
d769e349
DE
69702014-08-11 Doug Evans <dje@google.com>
6971
6972 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6973 (test_load_shlib): Update.
6974
20c6f1e1
YQ
69752014-08-09 Yao Qi <yao@codesourcery.com>
6976
6977 * gdb.base/display.exp: Invoke is_address_zero_readable.
6978 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6979 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6980 * gdb.base/hbreak-unmapped.exp: Return if
6981 is_address_zero_readable returns true.
6982 * gdb.base/signest.exp: Likewise.
6983 * gdb.base/signull.exp: Likewise.
6984 * gdb.base/sigbpt.exp: Likewise.
6985 * gdb.guile/scm-disasm.exp: Do the test if
6986 is_address_zero_readable returns false.
6987 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6988 * gdb.python/py-arch.exp: Likewise.
6989 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6990 * lib/gdb.exp (is_address_zero_readable): New proc.
6991
5792e8e3
YQ
69922014-08-09 Yao Qi <yao@codesourcery.com>
6993
6994 PR testsuite/13443
6995 * gdb.mi/mi-var-display.exp: Make test messages unique.
6996
3cecbbbe
TT
69972014-08-04 Tom Tromey <tromey@redhat.com>
6998
6999 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
7000 target 0".
7001
00b51ff5
TT
70022014-08-04 Tom Tromey <tromey@redhat.com>
7003
7004 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
7005 "target_resume".
7006
6908c509
JB
70072014-08-01 Joel Brobecker <brobecker@adacore.com>
7008
7009 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
7010 inner_vla_struct_object_size.
7011 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
7012 as xfail.
7013
cc6563d2
PA
70142014-07-30 Pedro Alves <palves@redhat.com>
7015
7016 * gdb.threads/signal-command-handle-nopass.exp (test): Add
7017 comment.
7018
7e09a223
YQ
70192014-07-29 Yao Qi <yao@codesourcery.com>
7020
7021 PR gdb/17206
7022 * gdb.base/until-nodebug.exp: New.
7023
7ebdbe92
DE
70242014-07-28 Doug Evans <xdje42@gmail.com>
7025
7026 PR guile/17203
7027 * gdb.guile/scm-parameter.exp: Add tests for trying to create
7028 previously existing parameter, and previously ambiguously spelled
7029 parameter.
7030
fdb1adc6
WN
70312014-07-28 Will Newton <will.newton@linaro.org>
7032
7033 * gdb.base/varargs.exp: Remove KFAILs for ARM.
7034
186fcde0
DE
70352014-07-26 Ludovic Courtès <ludo@gnu.org>
7036 Doug Evans <xdje42@gmail.com>
7037
7038 PR guile/17146
7039 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
7040
70509625
PA
70412014-07-25 Pedro Alves <palves@redhat.com>
7042
7043 * gdb.threads/signal-command-handle-nopass.c: New file.
7044 * gdb.threads/signal-command-handle-nopass.exp: New file.
7045 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
7046 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
7047 * gdb.threads/signal-delivered-right-thread.c: New file.
7048 * gdb.threads/signal-delivered-right-thread.exp: New file.
7049
c3f814a1
PA
70502014-07-25 Pedro Alves <palves@redhat.com>
7051
7052 * gdb.base/double-prompt-target-event-error.exp
7053 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
7054 match.
7055 (cancel_pagination_in_target_event): Rework double prompt
7056 detection.
7057 * gdb.base/paginate-after-ctrl-c-running.exp
7058 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
7059 <return>' match.
7060 * gdb.base/paginate-bg-execution.exp
7061 (test_bg_execution_pagination_return)
7062 (test_bg_execution_pagination_cancel): Remove '-notransfer
7063 <return>' matches.
7064 * gdb.base/paginate-execution-startup.exp
7065 (test_fg_execution_pagination_return)
7066 (test_fg_execution_pagination_cancel): Remove '-notransfer
7067 <return>' matches.
7068 * gdb.base/paginate-inferior-exit.exp
7069 (test_paginate_inferior_exited): Remove '-notransfer <return>'
7070 match.
7071 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
7072 * lib/gdb.exp (pagination_prompt): Run text through
7073 string_to_regexp.
7074 (gdb_test_multiple): Match $pagination_prompt instead of
7075 "<return>".
7076 (string_to_regexp): Move to lib/gdb-utils.exp.
7077
e214cf6c
JK
70782014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7079
7080 * gdb.arch/amd64-entry-value-paramref.S: New file.
7081 * gdb.arch/amd64-entry-value-paramref.cc: New file.
7082 * gdb.arch/amd64-entry-value-paramref.exp: New file.
7083 * gdb.arch/amd64-optimout-repeat.S: New file.
7084 * gdb.arch/amd64-optimout-repeat.c: New file.
7085 * gdb.arch/amd64-optimout-repeat.exp: New file.
7086
17d0c5c8
JK
70872014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7088
7089 PR gdb/17170
7090 * gdb.base/statistics.exp: New file.
7091
b8b8facf
DE
70922014-07-17 Doug Evans <dje@google.com>
7093
74b49205 7094 PR gdb/17170
b8b8facf
DE
7095 * gdb.base/maint.exp: Update testing of per-command stats.
7096
1b5d0ab3
PA
70972014-07-16 Pedro Alves <palves@redhat.com>
7098
7099 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
7100 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
7101 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
7102 (tfile_write_buf): New functions.
7103 (add_memory_block): Rewrite using the above.
7104 (adjust_function_address): New function.
7105 (FUNCTION_ADDRESS): New macro.
7106 (write_basic_trace_file): Remove short_x local, and use
7107 tfile_write_16. Change type of func_addr local to unsigned long
7108 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
7109 here. Cast argument of add_memory_block to char pointer.
7110 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
7111 (main): Remove parameters.
7112 * gdb.trace/tfile.exp: Remove nowarnings.
7113
4d974e88
SM
71142014-07-15 Simon Marchi <simon.marchi@ericsson.com>
7115
7116 * gdb.base/debug-expr.exp: Test string evaluation with
7117 "debug expression" on.
7118
41e99568
PA
71192014-07-15 Pedro Alves <palves@redhat.com>
7120
7121 * gdb.base/reread.exp: Use clean_restart.
7122
487d9753
PL
71232014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
7124
7125 * gdb.arch/avr-flash-qualifer.c: New.
7126 * gdb.arch/avr-flash-qualifer.exp: New.
7127
cc1c52ad
PA
71282014-07-14 Pedro Alves <palves@redhat.com>
7129
7130 * gdb.base/paginate-after-ctrl-c-running.c: New file.
7131 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
7132
1e973570
PA
71332014-07-14 Pedro Alves <palves@redhat.com>
7134
7135 * gdb.base/double-prompt-target-event-error.c: New file.
7136 * gdb.base/double-prompt-target-event-error.exp: New file.
7137
93d6eb10
PA
71382014-07-14 Pedro Alves <palves@redhat.com>
7139
7140 PR gdb/17072
7141 * gdb.base/paginate-inferior-exit.c: New file.
7142 * gdb.base/paginate-inferior-exit.exp: New file.
7143
0017922d
PA
71442014-07-14 Pedro Alves <palves@redhat.com>
7145
7146 PR gdb/17072
7147 * gdb.base/paginate-bg-execution.c: New file.
7148 * gdb.base/paginate-bg-execution.exp: New file.
7149
94696ad3
PA
71502014-07-14 Pedro Alves <palves@redhat.com>
7151
7152 PR gdb/17072
7153 * gdb.base/paginate-execution-startup.c: New file.
7154 * gdb.base/paginate-execution-startup.exp: New file.
7155 * lib/gdb.exp (pagination_prompt): New global.
7156 (default_gdb_spawn): New procedure, factored out from
7157 default_gdb_spawn.
7158 (default_gdb_start): Adjust to call default_gdb_spawn.
7159 (gdb_spawn): New procedure.
7160
bd293940
PA
71612014-07-14 Pedro Alves <palves@redhat.com>
7162
7163 * lib/gdb.exp (gdb_assert): New procedure.
7164 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
7165
c933f875
PA
71662014-07-14 Pedro Alves <palves@redhat.com>
7167
7168 * gdb.base/execution-termios.c: New file.
7169 * gdb.base/execution-termios.exp: New file.
7170
d98b7a16
TT
71712014-07-14 Tom Tromey <tromey@redhat.com>
7172
7173 * gdb.cp/vla-cxx.cc: New file.
7174 * gdb.cp/vla-cxx.exp: New file.
7175
548740d6
TT
71762014-07-14 Tom Tromey <tromey@redhat.com>
7177
7178 * gdb.reverse/rerun-prec.c: New file.
7179 * gdb.reverse/rerun-prec.exp: New file.
7180
a25eb028
MR
71812014-07-12 Maciej W. Rozycki <macro@mips.com>
7182 Maciej W. Rozycki <macro@codesourcery.com>
7183
7184 * lib/gdb-utils.exp: New file.
7185 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
7186 inline `gdb_init_command' processing.
7187 (gdb_start_cmd): Likewise.
7188 * lib/mi-support.exp (mi_run_cmd): Likewise.
7189 * README: Document `gdb_init_command' and `gdb_init_commands'.
7190
218c2655
JK
71912014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7192
7193 Fix false FAIL running under a very long directory name.
7194 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
7195 and "set print elements 10000". Twice.
7196
5401fde3
YQ
71972014-07-11 Yao Qi <yao@codesourcery.com>
7198
7199 * gdb.base/exprs.exp: "set print symbol off".
7200
e76126e8
PA
72012014-07-11 Pedro Alves <palves@redhat.com>
7202
7203 * gdb.threads/kill.c: New file.
7204 * gdb.threads/kill.exp: New file.
7205
2d6f0de6
YQ
72062014-07-10 Yao Qi <yao@codesourcery.com>
7207
7208 * gdb.trace/tfile.c (write_basic_trace_file)
7209 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
7210 address written to trace file.
7211
7180e04a
PA
72122014-07-09 Pedro Alves <palves@redhat.com>
7213
7214 * gdb.base/attach-wait-input.exp: New file.
7215 * gdb.base/attach-wait-input.c: New file.
7216
9a9a7608
AB
72172014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7218
7219 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
7220 setting up test structures.
7221 (main): Call new test function.
7222 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
7223 test function, continue into test function and walk test
7224 structures.
7225
161ac41e
YQ
72262014-07-02 Yao Qi <yao@codesourcery.com>
7227
7228 * gdb.trace/entry-values.c: Define labels 'foo_start' and
7229 'bar_start' at the beginning of functions 'foo' and 'bar'
7230 respectively.
7231 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
7232 instead of 'foo' and 'bar'.
7233
1f267ae3
MM
72342014-07-08 Markus Metzger <markus.t.metzger@intel.com>
7235
7236 * gdb.btrace/segv.exp: New.
7237 * gdb.btrace/segv.c: New.
7238
2b239efb
LM
72392014-07-02 Luis Machado <lgustavo@codesourcery.com>
7240
7241 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
7242 instruction.
7243
cf363f18
MW
72442014-06-30 Mark Wielaard <mjw@redhat.com>
7245
7246 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
7247 vulture, vilify, villar): New volatile array constants.
7248 (vindictive, vegetation): New const volatile array constants.
7249 * gdb.base/volatile.exp: Test volatile and const volatile array
7250 types.
7251
aebf9d24
AA
72522014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7253
7254 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
7255 target lacks support for awatch, rwatch, or hbreak.
7256
b67a2c6f
YQ
72572014-06-27 Yao Qi <yao@codesourcery.com>
7258
7259 * gdb.multi/dummy-frame-restore.exp: New.
7260 * gdb.multi/dummy-frame-restore.c: New.
7261
aef92902
MM
72622014-06-25 Markus Metzger <markus.t.metzger@intel.com>
7263
7264 * gdb.btrace/gcore.exp: New.
7265
8e9db26e
PA
72662014-06-23 Pedro Alves <palves@redhat.com>
7267
7268 * gdb.base/watchpoint-reuse-slot.c: New file.
7269 * gdb.base/watchpoint-reuse-slot.exp: New file.
7270
70afc5b7
SC
72712014-06-23 Siva Chandra Reddy <sivachandra@google.com>
7272
7273 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
7274 progspace's filename in 'info', 'enable' and 'disable' command
7275 tests.
7276
b972bd9c
JK
72772014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7278
7279 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
7280 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7281 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
7282
125f8a3d
GB
72832014-06-20 Gary Benson <gbenson@redhat.com>
7284
7285 * gdb.arch/i386-avx.exp: Fix include file location.
7286 * gdb.arch/i386-sse.exp: Likewise.
7287
3ed9baed
IB
72882014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7289
7290 * gdb.dlang/expression.exp: New file.
7291
034f788c
PA
72922014-06-19 Pedro Alves <palves@redhat.com>
7293
7294 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7295 out from ...
7296 (top level): ... here. Iterate running tests under different
7297 scheduler-locking settings.
7298
45371d0c
LM
72992014-06-18 Luis Machado <lgustavo@codesourcery.com>
7300
7301 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7302 to DW_FORM_addr and use non-zero addresses.
7303
5d376983
SC
73042014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7305
7306 PR gdb/17017
7307 * gdb.python/py-xmethods.cc: Add global function call counters and
7308 increment them in their respective functions. Remove "cout"
7309 statements.
7310 * gdb.python/py-xmethods.exp: Make tests check the global function
7311 call counters instead of depending on inferior IO.
7312
a1aa2221
LM
73132014-06-18 Don Breazeal <donb@codesourcery.com>
7314
7315 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7316 Deleted procedure.
7317 (explicit_fork_parent_follow): Deleted procedure.
7318 (explicit_fork_child_follow): Deleted procedure.
7319 (test_follow_fork): New procedure.
7320 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 7321 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
7322 procedure calls.
7323
0fc05997
YQ
73242014-06-17 Yao Qi <yao@codesourcery.com>
7325
7326 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7327 CP1252.
7328
70795c52
LM
73292014-06-17 Luis Machado <lgustavo@codesourcery.com>
7330
7331 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7332 Initialize ptr and S explicitly.
7333 (skip_type_update_when_not_use_rtti_test): Likewise.
7334
6be47f0c
KS
73352014-06-16 Keith Seitz <keiths@redhat.com>
7336
7337 PR mi/15863
7338 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7339 the inferior is started.
7340
d03de421
PA
73412014-06-16 Pedro Alves <palves@redhat.com>
7342
7343 * gdb.base/break-main-file-remove-fail.c: New file.
7344 * gdb.base/break-main-file-remove-fail.exp: New file.
7345 * gdb.base/break-unload-file.exp: Use build_executable instead of
7346 prepare_for_testing.
7347 (test_break): New parameter "initial_load". Handle it.
7348 (top level): Add initial_load cmdline/file axis.
7349
f9579b99
TT
73502014-06-12 Tom Tromey <tromey@redhat.com>
7351
7352 * gdb.base/completion.exp: Don't use directory name in test.
7353
3657956b
GB
73542014-06-09 Gary Benson <gbenson@redhat.com>
7355
7356 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7357 separate the always-available ANSI-standard signals from the
7358 signals that require checking.
7359 (main): Likewise.
7360 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7361 Likewise.
7362 (main): Likewise.
7363
4186eb54
KS
73642014-06-07 Keith Seitz <keiths@redhat.com>
7365
7366 Revert:
7367 PR c++/16253
7368 * gdb.cp/var-tag.cc: New file.
7369 * gdb.cp/var-tag.exp: New file.
7370 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7371 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7372 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7373 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7374
25326a28 73752014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
7376
7377 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7378
829155c9
PA
73792014-06-06 Pedro Alves <palves@redhat.com>
7380
7381 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7382 in target debug output instead of looking at RSP packets,
7383 disabling the test on any target that uses hardware stepping.
7384 Update comments.
7385
61c8d22e
PA
73862014-06-06 Pedro Alves <palves@redhat.com>
7387
7388 * gdb.base/break-unload-file.exp: Fix typo.
7389
d9a47287
YQ
73902014-06-06 Yao Qi <yao@codesourcery.com>
7391
7392 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7393 from "jit_function" to "^jit_function".
7394
e5e01dbf
YQ
73952014-06-06 Yao Qi <yao@codesourcery.com>
7396
7397 * gdb.base/async.c (foo): Add one statement.
7398 * gdb.base/async.exp: Get the next instruction address and
7399 match the output of "nexti" by instruction address. Match
7400 the hex address in the output of "finish".
7401
73ba372c
GB
74022014-06-06 Gary Benson <gbenson@redhat.com>
7403
7404 * gdb.base/call-signals.c: Remove preprocessor conditionals
7405 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7406 SIGSEGV and SIGTERM.
7407 * gdb.base/sigall.c: Likewise.
7408 * gdb.base/unwindonsignal.c: Likewise.
7409 * gdb.reverse/sigall-reverse.c: Likewise.
7410
831517df
YQ
74112014-06-06 Yao Qi <yao@codesourcery.com>
7412
7413 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7414 readable, skip the test.
7415
b8b91e98
YQ
74162014-06-06 Yao Qi <yao@codesourcery.com>
7417
7418 * gdb.threads/staticthreads.c (thread_function): Move the line
7419 setting breakpoint on forward.
7420 * gdb.threads/staticthreads.exp: Update comments.
7421
fb934770
LC
74222014-06-05 Ludovic Courtès <ludo@gnu.org>
7423
7424 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7425 "history-append! type error".
7426
6ef284bd
SM
74272014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7428
7429 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7430 erroneous dprintf expected input.
7431
a872e241
DE
74322014-06-04 Doug Evans <xdje42@gmail.com>
7433
7434 * gdb.guile/scm-generics.exp: Delete.
7435
16f691fb
DE
74362014-06-04 Doug Evans <xdje42@gmail.com>
7437
7438 * gdb.guile/scm-breakpoint.exp: Update.
7439 Add tests for breakpoint registration.
7440
012370f6
TT
74412014-06-04 Tom Tromey <tromey@redhat.com>
7442
7443 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7444 VLA-in-union.
7445 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7446 inner_vla_struct, vla_union types. Initialize objects of those
7447 types and compute their sizes.
7448
9f5a4cef
HZ
74492014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7450 Hui Zhu <hui@codesourcery.com>
7451
7452 * gdb.base/fileio.exp: Add test for shell not available as well as
7453 available.
7454 * gdb.base/fileio.c (test_system): Check for shell twice.
7455
90a45c4d
YQ
74562014-06-04 Yao Qi <yao@codesourcery.com>
7457
7458 * gdb.base/auto-connect-native-target.exp: Remove redundant
7459 space from the regexp pattern.
7460
70017e41
YQ
74612014-06-04 Yao Qi <yao@codesourcery.com>
7462
7463 * gdb.base/default.exp: Replace "child" with "native" in
7464 regexp pattern.
7465
883964a7
SC
74662014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7467
7468 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7469 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7470 * gdb.python/py-xmethods.py: Python script supporting the
7471 new testcase and tests.
7472
ef370185
JB
74732014-06-03 Joel Brobecker <brobecker@adacore.com>
7474 Pedro Alves <palves@redhat.com>
7475
7476 PR breakpoints/17000
7477 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7478 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7479
1e2ccb61
BM
74802014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7481
7482 * gdb.base/subst.exp: Add tests to verify partial path matching
7483 output.
7484
c6ec5ab2
PA
74852014-06-03 Pedro Alves <palves@redhat.com>
7486
7487 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7488 target that doesn't use software single-stepping.
7489
835c559f
PA
74902014-06-03 Pedro Alves <palves@redhat.com>
7491
7492 PR breakpoints/17000
7493 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7494 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7495
06eb1586
DE
74962014-06-02 Doug Evans <xdje42@gmail.com>
7497
7498 * gdb.guile/scm-parameter.exp: New file.
7499
e698b8c4
DE
75002014-06-02 Doug Evans <xdje42@gmail.com>
7501
7502 * gdb.guile/scm-cmd.c: New file.
7503 * gdb.guile/scm-cmd.exp: New file.
7504
ded03782
DE
75052014-06-02 Doug Evans <xdje42@gmail.com>
7506
7507 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7508 pretty-printer lookup.
7509 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7510 (make-pp_s-printer): Call it.
7511 (make-pretty-printer-from-dict): New function.
7512 (lookup-pretty-printer-maker-from-dict): New function.
7513 (*pretty-printer*): Simplify.
7514 (make-objfile-pp_s-printer): New function.
7515 (install-objfile-pretty-printers!): New function.
7516 (make-progspace-pp_s-printer): New function.
7517 (install-progspace-pretty-printers!): New function.
7518 * gdb.guile/scm-progspace.c: New file.
7519 * gdb.guile/scm-progspace.exp: New file.
7520
41fac0cf
PA
75212014-06-02 Pedro Alves <palves@redhat.com>
7522
7523 * gdb.base/dprintf-bp-same-addr.c: New file.
7524 * gdb.base/dprintf-bp-same-addr.exp: New file.
7525
96ae5695
EBM
75262014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7527
7528 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7529 * gdb.arch/powerpc-power.s: Likewise.
7530
da02b3a8
JB
75312014-06-02 Joel Brobecker <brobecker@adacore.com>
7532
7533 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7534
c72b2e7b
YQ
75352014-06-01 Yao Qi <yao@codesourcery.com>
7536
7537 * gdb.base/watchpoint.exp (test_watch_location): Check null
7538 pointer can be dereferenced. If not, do the test, otherwise
7539 skip it.
7540
53e8a631
AB
75412014-05-30 Andrew Burgess <aburgess@broadcom.com>
7542
7543 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7544 results.
7545 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7546
938f0e2f
AB
75472014-05-30 Andrew Burgess <aburgess@broadcom.com>
7548
7549 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7550 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7551 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7552 * gdb.arch/amd64-invalid-stack-top.c: New file.
7553 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7554
9ba6657a
PA
75552014-05-30 Pedro Alves <palves@redhat.com>
7556
7557 PR breakpoints/17000
7558 * gdb.base/sss-bp-on-user-bp.c: New file.
7559 * gdb.base/sss-bp-on-user-bp.exp: New file.
7560
522c09bf
DB
75612014-05-30 David Blaikie <dblaikie@gmail.com>
7562
7563 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7564 gnu_inline semantics via attribute.
7565 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7566 source explicitly specifies the required semantics.
7567
bf4ef81e
MR
75682014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7569
7570 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7571
329ea579
PA
75722014-05-29 Pedro Alves <palves@redhat.com>
7573 Tom Tromey <tromey@redhat.com>
7574
7575 * gdb.base/async-shell.exp: Don't enable target-async.
7576 * gdb.base/async.exp
7577 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7578 parameter. Adjust.
7579 (top level): Don't test with "target-async".
7580 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7581 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7582 * gdb.base/inferior-died.exp: Don't enable target-async.
7583 * gdb.base/interrupt-noterm.exp: Likewise.
7584 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7585 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7586 * gdb.mi/mi-nonstop.exp: Likewise.
7587 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7588 * gdb.mi/mi-nsintrall.exp: Likewise.
7589 * gdb.mi/mi-nsmoribund.exp: Likewise.
7590 * gdb.mi/mi-nsthrexec.exp: Likewise.
7591 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7592 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7593 * gdb.python/py-evsignal.exp: Don't enable target-async.
7594 * gdb.python/py-evthreads.exp: Likewise.
7595 * gdb.python/py-prompt.exp: Likewise.
7596 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7597 * gdb.server/solib-list.exp: Don't enable target-async.
7598 * gdb.threads/thread-specific-bp.exp: Likewise.
7599 * lib/mi-support.exp: Adjust to use mi-async.
7600
fd664c91
PA
76012014-05-29 Pedro Alves <palves@redhat.com>
7602
7603 PR gdb/13860
7604 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7605 reason, even in sync mode.
7606
251bde03
PA
76072014-05-29 Pedro Alves <palves@redhat.com>
7608 Hui Zhu <hui@codesourcery.com>
7609
7610 PR PR15693
7611 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7612 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7613 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7614 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7615
7f3c0343
JB
76162014-05-28 Joel Brobecker <brobecker@adacore.com>
7617
7618 * config/monitor.exp (gdb_target_monitor): Replace use of
7619 "set remotebaud" by "set serial baud".
7620
b2715b27
AW
76212014-05-26 Andy Wingo <wingo@igalia.com>
7622
7623 * gdb.guile/scm-breakpoint.exp:
7624 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7625 properties instead of gdb-object-properties.
7626
498a4489
YQ
76272014-05-26 Yao Qi <yao@codesourcery.com>
7628
7629 * gdb.server/no-thread-db.exp: Specify source file name
7630 explicitly when setting a breakpoint.
7631
589fdceb
MM
76322014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7633
7634 * gdb.btrace/vdso.c: New.
7635 * gdb.btrace/vdso.exp: New.
7636
e9089e05
MM
76372014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7638
7639 * gdb.base/gcore.exp (capture_command_output): Move ...
7640 * lib/gdb.exp (capture_command_output): ... here.
7641
67b5c0c1
MM
76422014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7643
7644 * gdb.btrace/data.exp: Test memory access during btrace replay.
7645
a2199296
SM
76462014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7647
7648 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7649
17b2616c
PA
76502014-05-21 Pedro Alves <palves@redhat.com>
7651
7652 PR gdb/13860
7653 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7654 (top level): Test that output related to execution commands is
7655 sent to the console with CLI commands, but not with MI commands.
7656 Test that breakpoint events are always mirrored to the console.
7657 Also expect the new source line to be output after a "next" in
7658 async mode too. Make it a pass/fail test.
7659 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7660 output.
7661 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7662
5166082f
PA
76632014-05-21 Pedro Alves <palves@redhat.com>
7664
7665 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7666 Use them to test variations of "list" after reaching a breakpoint.
7667 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7668 Test "list" with listsize 10 after reaching a breakpoint.
7669 * gdb.python/python.exp (decode_line current location line
7670 number): Adjust expected line number.
7671
2f25d70f
SM
76722014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7673
7674 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7675 behavior for $args, pass it directly to "run".
7676
ff604a67
MR
76772014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7678
7679 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7680 30000 to 65536.
7681
6a3cb8e8
PA
76822014-05-21 Pedro Alves <palves@redhat.com>
7683
7684 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7685 auto-connect-native-target off".
7686 * gdb.base/auto-connect-native-target.c: New file.
7687 * gdb.base/auto-connect-native-target.exp: New file.
7688
4ebfc96e
PA
76892014-05-21 Pedro Alves <palves@redhat.com>
7690
7691 * gdb.base/default.exp: Test "target native" instead of "target
7692 child".
7693
36d46afb
MW
76942014-05-21 Mark Wielaard <mjw@redhat.com>
7695
7696 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7697
5876f503
JK
76982014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7699
7700 Fix TLS access for -static -pthread.
7701 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7702 <HAVE_TLS> (thread_function, main): Initialize it.
7703 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7704 Add clean_restart.
7705 <$have_tls != "">: Check TLSVAR.
7706
0256a6ac
PA
77072014-05-21 Pedro Alves <palves@redhat.com>
7708
7709 * gdb.base/dcache-line-read-error.c: New.
7710 * gdb.base/dcache-line-read-error.exp: New.
7711
936d2992
PA
77122014-05-20 Pedro Alves <palves@redhat.com>
7713
7714 * gdb.base/compare-sections.c: New file.
7715 * gdb.base/compare-sections.exp: New file.
7716
802e8e6d
PA
77172014-05-20 Pedro Alves <palves@redhat.com>
7718
7719 * gdb.base/break-idempotent.c: New file.
7720 * gdb.base/break-idempotent.exp: New file.
7721
e59fa00f
MM
77222014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7723
7724 * gdb.btrace/nohist.exp: New.
7725
8b696e31
YQ
77262014-05-20 Yao Qi <yao@codesourcery.com>
7727
7728 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7729 gdb.reverse directory and gdb_reverse_timeout exists in board
7730 setting.
7731 * README: Document gdb_reverse_timeout.
7732
73c9764f
YQ
77332014-05-20 Yao Qi <yao@codesourcery.com>
7734
7735 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7736 'test_file_name'. Treat args as a string instead of a list.
7737 (gdb_init): Rename argument 'args' by 'test_file_name'.
7738
f1f4348a
JK
77392014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7740
7741 * gdb.arch/powerpc-power.exp: New file.
7742 * gdb.arch/powerpc-power.s: New file.
7743
0dbe70ce
DE
77442014-05-16 Doug Evans <dje@google.com>
7745
7746 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
7747 * gdb.base/completion.exp: Check that all expected files exist
7748 before doing file completion.
0dbe70ce 7749
8d551b02
DE
77502014-05-16 Doug Evans <dje@google.com>
7751
7752 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7753 Update.
7754 (do_syscall_tests_without_xml): Update.
7755
73eb7709
PA
77562014-05-16 Pedro Alves <palves@redhat.com>
7757
7758 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7759 instead of "unknown output after running".
7760
3fae92fc
YQ
77612014-05-16 Yao Qi <yao@codesourcery.com>
7762
7763 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7764 file1.txt from host at the end.
7765 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7766
c2b2ccc5
DE
77672014-05-15 Doug Evans <dje@google.com>
7768
7769 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7770 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7771 loading file. Add test for TU lookup.
7772
8c217a4b
SM
77732014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7774
7775 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7776 calling "-exec-arguments" or "set args" before running the
7777 inferior.
7778
3deb39c6
SM
77792014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7780
7781 * lib/mi-support.exp (mi_expect_stop): Expect message for
7782 inferiors that exit with non-zero exit code.
7783
71a79f8c
YQ
77842014-05-14 Yao Qi <yao@codesourcery.com>
7785
7786 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7787 match absolute path on remote host.
7788 (test_file_list_exec_source_files): Remove "/" from the
7789 pattern.
7790
f23fcd46
YQ
77912014-05-14 Yao Qi <yao@codesourcery.com>
7792
7793 * boards/local-remote-host-notty.exp (${board}_file): New
7794 proc.
7795
9404b58f
KM
77962014-05-07 Kyle McMartin <kyle@redhat.com>
7797
7798 Pushed by Joel Brobecker <brobecker@adacore.com>.
7799 * gdb.arch/aarch64-atomic-inst.c: New file.
7800 * gdb.arch/aarch64-atomic-inst.exp: New file.
7801
5e45f04c
YQ
78022014-05-07 Yao Qi <yao@codesourcery.com>
7803
7804 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7805 in current context" too.
7806
c888a17d
KS
78072014-05-05 Keith Seitz <keiths@redhat.com>
7808
7809 * gdb.linespec/ls-dollar.exp: Add test for linespec
7810 file:convenience_variable.
7811
290a839c
YQ
78122014-05-05 Yao Qi <yao@codesourcery.com>
7813
7814 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7815 traceframes into tfile and ctf trace files. Read data from
7816 trace file and test collected data.
7817 (gdb_collect_locals_test): Likewise.
7818 (gdb_unavailable_registers_test): Likewise.
7819 (gdb_unavailable_floats): Likewise.
7820 (gdb_collect_globals_test): Likewise.
7821 (top-level): Append "ctf" to trace_file_targets if GDB
7822 supports.
7823
b5262cd0
YQ
78242014-05-05 Yao Qi <yao@codesourcery.com>
7825
7826 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7827 code to ...
7828 (gdb_collect_args_test_1): ... it. New proc.
7829 (gdb_collect_locals_test): Move some code to ...
7830 (gdb_collect_locals_test_1): ... it. New proc.
7831 (gdb_unavailable_registers_test): Move some code to ...
7832 (gdb_unavailable_registers_test_1): ... it. New proc.
7833 (gdb_unavailable_floats): Move some code to ...
7834 (gdb_unavailable_floats_1): ... it. New proc.
7835
30a1e6cc
SDJ
78362014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7837
7838 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7839 probes to test for bitness recognition.
7840 * gdb.arch/amd64-stap-optional-prefix.exp
7841 (test_probe_value_without_reg): New procedure.
7842 Add code to test for different kinds of bitness.
7843
f33da99a
SDJ
78442014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7845
7846 PR breakpoints/16889
7847 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7848 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7849
5b80f00d
PA
78502014-05-01 Pedro Alves <palves@redhat.com>
7851
7852 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7853 gdb_file_cmd if no file is specified.
7854 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7855 last_loaded_file to set the remote exec-file.
7856
f8c2a73c
PA
78572014-05-01 Pedro Alves <palves@redhat.com>
7858
7859 * boards/local-remote-host.exp: New file.
7860
be6e8ac7
PA
78612014-05-01 Pedro Alves <palves@redhat.com>
7862
7863 * boards/local-remote-host.exp: Rename to ...
7864 * boards/local-remote-host-notty.exp: ... this.
7865
cac0dc8f
JB
78662014-04-28 Joel Brobecker <brobecker@adacore.com>
7867
7868 * gdb.ada/dyn_arrayidx: New testcase.
7869
9730e6cc
YQ
78702014-04-26 Yao Qi <yao@codesourcery.com>
7871
7872 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7873 and compute the length of function main. Save it in
7874 $main_length.
7875 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7876 (top-level): Use gdb_compile to compile objects into
7877 executable and restart GDB. Remove invocation to
7878 prepare_for_testing.
7879
7ae1a6a6
PA
78802014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7881 Pedro Alves <palves@redhat.com>
7882
7883 PR server/16255
7884 * gdb.multi/multi-attach.c: New file.
7885 * gdb.multi/multi-attach.exp: New file.
7886
4082afcc
PA
78872014-04-25 Pedro Alves <palves@redhat.com>
7888
7889 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7890 user.
7891 (top level): Test that "set remote conditional-breakpoints-packet
7892 off" works as intended.
7893 * gdb.base/dprintf.exp: Test that "set remote
7894 breakpoint-commands-packet off" works as intended.
7895 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7896 New function.
7897 (top level): Call it.
7898 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7899 remote fast-tracepoints-packet off" works as intended.
7900 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7901 * lib/gdb.exp (gdb_is_target_remote): ... here.
7902
2abc3f8d
DB
79032014-04-24 David Blaikie <dblaikie@gmail.com>
7904
7905 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7906 ensure clang would not discard them.
7907 * gdb.base/gdbvars.c: Ditto.
7908 * gdb.base/memattr.c: Ditto.
7909 * gdb.base/whatis.c: Ditto.
7910 * gdb.python/py-prettyprint.c: Ditto.
7911 * gdb.trace/actions.c: Ditto.
7912 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7913 ensure clang would not discard it.
7914
bfd39632
DB
79152014-04-24 David Blaikie <dblaikie@gmail.com>
7916
7917 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7918 clang to emit the full definition of type required by the test
7919 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7920
22842ff6
DB
79212014-04-24 David Blaikie <dblaikie@gmail.com>
7922
7923 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7924 coax Clang into emitting the definition of the type.
7925 * gdb.cp/pr10728-x.h (y): Ditto.
7926 * gdb.cp/pr10728-y.cc (y): Ditto.
7927
c2e827ad
DB
79282014-04-24 David Blaikie <dblaikie@gmail.com>
7929
7930 * gdb.base/label.exp: XFAIL label related tests under Clang.
7931 * gdb.cp/cplabel.exp: Ditto.
7932 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7933 under Clang those using labels.
7934
4c2d33e7
YQ
79352014-04-25 Yao Qi <yao@codesourcery.com>
7936
7937 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7938 double_label.
7939 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7940 partial_label and double_label.
7941
56083b99
DB
79422014-04-24 David Blaikie <dblaikie@gmail.com>
7943
7944 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7945
25d4e99d
DB
79462014-04-24 David Blaikie <dblaikie@gmail.com>
7947
7948 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7949 of the function to work across GCC and Clang.
7950 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7951 pointer types (const void ** const V void **).
7952
01f9f808
MS
79532014-04-24 Michael Sturm <michael.sturm@mintel.com>
7954 Walfred Tedeschi <walfred.tedeschi@intel.com>
7955
7956 * Makefile.in (EXECUTABLES): Added i386-avx512.
7957 * gdb.arch/i386-avx512.c: New file.
7958 * gdb.arch/i386-avx512.exp: Likewise.
7959
4b48d439
KS
79602014-04-23 Keith Seitz <keiths@redhat.com>
7961
7962 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7963 (mi_make_breakpoint_table): New procedure.
7964 (mi_create_breakpoint): Use mi_make_breakpoint
7965 and return the result.
7966 (mi_make_breakpoint): New procedure.
7967 (mi_build_kv_pairs): New procedure.
7968
7969 * gdb.mi/mi-break.exp: Remove unused globals,
7970 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7971 All callers updated.
7972 * gdb.mi/mi-dprintf.exp: Use variable to track command
7973 number.
7974 Update all callers of mi_create_breakpoint and use
7975 mi_make_breakpoint_table.
7976 Remove any unused global variables.
7977 * gdb.mi/mi-nonstop.exp: Likewise.
7978 * gdb.mi/mi-nsintrall.exp: Likewise.
7979 * gdb.mi/mi-nsmoribund.exp: Likewise.
7980 * gdb.mi/mi-nsthrexec.exp: Likewise.
7981 * gdb.mi/mi-reverse.exp: Likewise.
7982 * gdb.mi/mi-simplerun.exp: Likewise.
7983 * gdb.mi/mi-stepn.exp: Likewise.
7984 * gdb.mi/mi-syn-frame.exp: Likewise.
7985 * gdb.mi/mi-until.exp: Likewise.
7986 * gdb.mi/mi-var-cp.exp: Likewise.
7987 * gdb.mi/mi-var-display.exp: Likewise.
7988 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7989 * gdb.mi/mi2-var-child.exp: Likewise.
7990 * gdb.mi/mi-vla-c99.exp: Likewise.
7991 * lib/mi-support.exp: Likewise.
7992
7993 From Ian Lance Taylor <iant@cygnus.com>:
7994 * lib/gdb.exp (parse_args): New procedure.
7995
08351840
PA
79962014-04-23 Pedro Alves <palves@redhat.com>
7997
7998 * gdb.base/break-unload-file.c: New file.
7999 * gdb.base/break-unload-file.exp: New file.
8000 * gdb.base/sym-file-lib.c (baz): New function.
8001 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
8002 field.
8003 (load): Store the segment's mapped size.
8004 (unload): New function.
8005 (unload_shlib): New function.
8006 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
8007 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
8008 set a breakpoint at baz, and call it.
8009 * gdb.base/sym-file.exp: New tests for stale breakpoint
8010 instructions.
8011
076855f9
PA
80122014-04-23 Pedro Alves <palves@redhat.com>
8013
8014 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
8015 * gdb.base/hbreak-in-shr-unsupported.c: New file.
8016 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
8017 * gdb.base/hbreak-unmapped.c: New file.
8018 * gdb.base/hbreak-unmapped.exp: New file.
8019 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
8020 * lib/gdb.exp (gdb_is_target_remote): ... here.
8021
483805cf
PA
80222014-04-22 Pedro Alves <palves@redhat.com>
8023
8024 * gdb.base/consecutive-step-over.c: New file.
8025 * gdb.base/consecutive-step-over.exp: New file.
8026
06d97543
PA
80272014-04-22 Pedro Alves <palves@redhat.com>
8028
8029 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
8030 instead of send_gdb/gdb_expect.
8031
b4429ea2
YQ
80322014-04-22 Yao Qi <yao@codesourcery.com>
8033
8034 * lib/trace-support.exp (generate_tracefile): New procedure.
8035 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
8036 return 0.
8037 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
8038 if generate_tracefile returns 1.
8039
51d48146
PA
80402014-04-18 Tom Tromey <palves@redhat.com>
8041 Pedro alves <tromey@redhat.com>
8042
8043 PR backtrace/15558
8044 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
8045 with a backtrace limit.
8046 * gdb.python/py-frame-inline.exp: Test running to an inline
8047 function with a backtrace limit, and printing the newest frame.
8048 * gdb.python/py-frame-inline.c (main): Call f.
8049
bd1dce5f
MS
80502014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8051
8052 * gdb.java/jnpe.exp: Drop srcdir from untested path.
8053
40d1a503
MS
80542014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8055
8056 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
8057 Drop prefix from unsupported source file path.
8058
389b98f7
YQ
80592014-04-17 Yao Qi <yao@codesourcery.com>
8060
8061 * lib/gdb.exp (with_target_charset): New proc.
8062 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
8063 with_target_charset.
8064 (test_print_strings): Likewise.
8065 (test_repeat_bytes): Likewise.
8066 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
8067 for some tests.
8068
22869d73
KS
80692014-04-16 Keith Seitz <keiths@redhat.com>
8070
8071 PR gdb/15827
8072 * gdb.dwarf2/corrupt.c: New file.
8073 * gdb.dwarf2/corrupt.exp: New file.
8074
c4f87ca6
KS
80752014-04-16 Keith Seitz <keiths@redhat.com>
8076
8077 PR c++/16597
8078 * gdb.cp/namelessclass.cc: New file.
8079 * gdb.cp/namelessclass.exp: New file.
8080 * gdb.cp/namelessclass.S: New file.
8081
ab19de87
DE
80822014-04-16 Doug Evans <dje@google.com>
8083
8084 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
8085 Add comment.
8086 (gdbserver_default_get_comm_port): New function.
8087 (gdbserver_start): Check if board file provided
8088 "gdbserver,get_comm_port" and use it if so.
8089 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
8090 (gdb,socketport): Set to "stdio".
8091 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
8092 (stdio_gdbserver_template): Delete.
8093 (${board}_get_remote_address): Update.
8094 (${board}_build_remote_cmd): Delete.
8095 (${board}_get_comm_port): New function.
8096 (${board}_spawn): Update.
8097 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
8098 Delete.
8099 (${board}_get_remote_address): Update.
8100 (${board}_get_comm_port): New function.
8101
fc98a809
AB
81022014-04-16 Andrew Burgess <aburgess@broadcom.com>
8103
8104 * gdb.base/memattr.exp: Improve regexps to handle memory regions
8105 appearing in any order.
8106
87fd9e6e
DE
81072014-04-15 Doug Evans <dje@google.com>
8108
8109 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
8110 uninitialized value of "description".
8111
099fc3ea
KS
81122014-04-15 Keith Seitz <keiths@redhat.com>
8113
8114 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
8115 Remove unused globals.
8116 (test_running_the_program): Likewise.
8117 (test_controlled_execution): Likewise.
8118 (test_controlling_breakpoints): Likewise.
8119 (test_program_termination): Likewise.
8120
5da151d4
KS
81212014-04-15 Keith Seitz <keiths@redhat.com>
8122
8123 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
8124 unused globals.
8125 (test_rbreak_creation_and_listing): Likewise.
8126 (test_ignore_count): Likewise.
8127 (test_error): Likewise.
8128
35e5d2f0
PA
81292014-04-15 Pedro Alves <palves@redhat.com>
8130
8131 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
8132 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
8133 sym-file-loader.c.
8134 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8135 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8136 to sym-file-loader.c.
8137 (struct library): Forward declare.
8138 (load_shlib, lookup_function): Change prototypes.
8139 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8140 (translate_offset): Remove declarations.
8141 (get_text_addr): New declaration.
8142 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
8143 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
8144 sym-file-loader.h.
8145 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8146 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8147 here from sym-file-loader.h.
8148 (struct library): New structure.
8149 (load_shlib, lookup_function): Change prototypes and adjust to
8150 work with a struct library.
8151 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8152 (translate_offset): Make static.
8153 (get_text_addr): New function.
8154 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
8155
eb4c1710
PA
81562014-04-15 Pedro Alves <palves@redhat.com>
8157
8158 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
8159
2d1baf52
PA
81602014-04-15 Pedro Alves <palves@redhat.com>
8161
8162 * gdb.base/sym-file-loader.c: Include <limits.h>.
8163 (SELF_LINK): New define.
8164 (get_origin): New function.
8165 (load_shlib): Use it.
8166 * gdb.base/sym-file.exp: Don't early return if the target is
8167 remote. Use runto_main, and issue fail is that fails. Use
8168 gdb_load_shlibs.
8169 (shlib_name): Delete.
8170 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
8171
7dd6df01
PA
81722014-04-15 Pedro Alves <palves@redhat.com>
8173
8174 * gdb.base/sym-file.exp: Remove regex characters from test
8175 message. Don't refer to breakpoint numbers in test messages.
8176
b50c8614
KS
81772014-04-14 Keith Seitz <keiths@redhat.com>
8178
8179 PR c++/16253
8180 * gdb.cp/var-tag.cc: New file.
8181 * gdb.cp/var-tag.exp: New file.
8182 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8183 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8184 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8185 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8186
3d567982
TT
81872014-04-14 Tom Tromey <tromey@redhat.com>
8188
8189 * gdb.cp/classes.exp (test_enums): Handle underlying type.
8190 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
8191 type.
8192 * gdb.cp/enum-class.exp: New file.
8193 * gdb.cp/enum-class.cc: New file.
8194
0626fc76
TT
81952014-04-14 Tom Tromey <tromey@redhat.com>
8196
8197 * gdb.dwarf2/enum-type.exp: New file.
8198
dca325b3
SA
81992014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8200
8201 * gdb.mi/mi-vla-c99.exp: New file.
8202 * gdb.mi/vla.c: New file.
8203
5854b38a
SA
82042014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8205
8206 * gdb.base/vla-datatypes.c: New file.
8207 * gdb.base/vla-datatypes.exp: New file.
8208
463bb957
SA
82092014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8210
8211 * gdb.base/vla-ptr.c: New file.
8212 * gdb.base/vla-ptr.exp: New file.
8213
3dd170be
SA
82142014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8215
8216 * gdb.dwarf2/count.exp: New file.
8217
5ecaaa66
SA
82182014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8219
8220 * gdb.base/vla-sideeffect.c: New file.
8221 * gdb.base/vla-sideeffect.exp: New file.
8222
41f1ada5
DB
82232014-04-14 David Blaikie <dblaikie@gmail.com>
8224
8225 * gdb.mi/non-stop.c: Add return value for non-void function return
8226 statement.
8227 * gdb.threads/staticthreads.c: Ditto.
8228
0be03e84
DE
82292014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8230 Doug Evans <xdje42@gmail.com>
8231
8232 * gdb.guile/scm-value.c: Improve test case.
8233 * gdb.guile/scm-value.exp: Add new test.
8234
f180a1fb
DB
82352014-04-11 David Blaikie <dblaikie@gmail.com>
8236
8237 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
8238 override Clang's default.
8239
6b662e19
JB
82402014-04-11 Joel Brobecker <brobecker@adacore.com>
8241
8242 Revert the following changes (regressions):
8243
8244 * gdb.base/vla-sideeffect.c: New file.
8245 * gdb.base/vla-sideeffect.exp: New file.
8246
8247 * gdb.dwarf2/count.exp: New file.
8248
8249 * gdb.base/vla-multi.c: New file.
8250 * gdb.base/vla-multi.exp: New file.
8251
8252 * gdb.base/vla-ptr.c: New file.
8253 * gdb.base/vla-ptr.exp: New file.
8254
8255 * gdb.base/vla-datatypes.c: New file.
8256 * gdb.base/vla-datatypes.exp: New file.
8257
8258 * gdb.mi/mi-vla-c99.exp: New file.
8259 * gdb.mi/vla.c: New file.
8260
245a5f0b
KS
82612014-04-11 Keith Seitz <keiths@redhat.com>
8262
8263 PR c++/16675
8264 * gdb.cp/cpsizeof.exp: New file.
8265 * gdb.cp/cpsizeof.cc: New file.
8266
58a84dcf
SA
82672014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8268
191a8a90
JB
8269 * gdb.mi/mi-vla-c99.exp: New file.
8270 * gdb.mi/vla.c: New file.
58a84dcf 8271
c8655f75
SA
82722014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8273
8274 * gdb.base/vla-datatypes.c: New file.
8275 * gdb.base/vla-datatypes.exp: New file.
8276
024e13b4
SA
82772014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8278
8279 * gdb.base/vla-ptr.c: New file.
8280 * gdb.base/vla-ptr.exp: New file.
8281
1a237e0e
SA
82822014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8283
8284 * gdb.base/vla-multi.c: New file.
8285 * gdb.base/vla-multi.exp: New file.
8286
504f3432
SA
82872014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8288
8289 * gdb.dwarf2/count.exp: New file.
8290
3bce8237
SA
82912014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8292
191a8a90
JB
8293 * gdb.base/vla-sideeffect.c: New file.
8294 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 8295
322f9c21
YQ
82962014-04-11 Yao Qi <yao@codesourcery.com>
8297
8298 * gdb.base/completion.exp: Check file exists before running tests
8299 on file completion.
8300
d708bcd1
PA
83012014-04-10 Pedro Alves <palves@redhat.com>
8302
8303 * gdb.base/cond-eval-mode.c: New file.
8304 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8305 prepare_for_testing to build the new file. Check result of
8306 runto_main.
8307 (test_break, test_watch): New procedures.
8308 (top level): Use them.
8309
ae1d2761
PM
83102014-04-08 Pierre Muller <muller@sourceware.org>
8311
8312 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8313 Ctrl-V use for mingw hosts.
8314
7af389b8
SC
83152014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8316
8317 * gdb.python/py-value.c: Improve test case.
8318 * gdb.python/py-value.exp: Add new test.
8319
5e703181
DE
83202014-04-07 David Blaikie <dblaikie@gmail.com>
8321
8322 * lib/compiler.c: Identify the clang compiler.
8323 * lib/compiler.cc: Ditto.
8324
9810b410
YQ
83252014-04-03 Yao Qi <yao@codesourcery.com>
8326
8327 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8328
98d1b8dc
AB
83292014-04-01 Anton Blanchard <anton@samba.org>
8330
8331 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8332 messages unique.
8333
3114cea1
AB
83342014-04-01 Anton Blanchard <anton@samba.org>
8335
8336 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8337 prepare_for_testing.
8338
62f7182c
AB
83392014-04-01 Anton Blanchard <anton@samba.org>
8340
8341 * gdb.arch/ppc64-atomic-inst.c: Remove.
8342 * gdb.arch/ppc64-atomic-inst.S: New file.
8343 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8344
770e7fc7
DE
83452014-03-31 Doug Evans <dje@google.com>
8346
8347 * gdb.base/print-symbol-loading-lib.c: New file.
8348 * gdb.base/print-symbol-loading-main.c: New file.
8349 * gdb.base/print-symbol-loading.exp: New file.
8350
46e2bafa
YQ
83512014-03-31 Yao Qi <yao@codesourcery.com>
8352
8353 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8354
8776cfe9
JB
83552014-03-28 Joel Brobecker <brobecker@adacore.com>
8356
8357 * gdb.ada/mi_dyn_arr: New testcase.
8358
5d1ef361
DE
83592014-03-27 Doug Evans <dje@google.com>
8360
8361 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8362
b5bee914
YQ
83632014-03-27 Yao Qi <yao@codesourcery.com>
8364
8365 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8366 if target is nios2-*-*.
8367
0d4d0e77
YQ
83682014-03-26 Yao Qi <yao@codesourcery.com>
8369
8370 * lib/gdb.exp (readline_is_used): New proc.
8371 * gdb.base/completion.exp: Move tests on command complete up.
8372 Skip the rest of tests if readline is not used.
8373 * gdb.ada/complete.exp: Skp the test if readline is not
8374 used.
8375 * gdb.base/filesym.exp: Likewise.
8376 * gdb.base/macscp.exp: Likewise.
8377 * gdb.base/readline-ask.exp: Likewise.
8378 * gdb.base/readline.exp: Likewise.
8379 * gdb.python/py-cmd.exp: Likewise.
8380 * gdb.trace/tfile.exp: Likewise.
8381
29361eee
YQ
83822014-03-26 Yao Qi <yao@codesourcery.com>
8383
8384 * gdb.base/macscp.exp: Fix code format issues.
8385
bc9a5525
UW
83862014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8387
8388 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8389 * gdb.asm/powerpc64le.inc: New file.
8390
d3839ede
PA
83912014-03-25 Pedro Alves <palves@redhat.com>
8392 Doug Evans <dje@google.com>
8393
8394 * gdb.base/source-execution.c: New file.
8395 * gdb.base/source-execution.exp: New file.
8396 * gdb.base/source-execution.gdb: New file.
8397
01672a57
DE
83982014-03-24 Doug Evans <dje@google.com>
8399
8400 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8401 using fission.
8402
88bbeca9
HZ
84032014-03-24 Hui Zhu <hui@codesourcery.com>
8404 Pedro Alves <palves@redhat.com>
8405
8406 PR breakpoints/16101
8407 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8408 test pass/fail messages. Detect missing support for dprintf when
8409 breakpoints are actually inserted.
8410 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8411 breakpoints are actually inserted.
8412 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8413 fails.
8414
d2348791
JK
84152014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8416
8417 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8418
feef67ab
DE
84192014-03-22 Doug Evans <xdje42@gmail.com>
8420
8421 * gdb.python/python.exp (python not supported): Verify multi-line
8422 python command issues an error.
25d743f9 8423 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 8424 guile command issues an error.
feef67ab 8425
ecebef6a
MR
84262014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8427
8428 * gdb.threads/thread-specific.exp: Handle the lack of usable
8429 $this_breakpoint and $this_thread.
8430
ccdd1909
HZ
84312014-03-21 Hui Zhu <hui@codesourcery.com>
8432
8433 * gdb.base/attach.exp (do_command_attach_tests): New.
8434
beb460e8
PA
84352014-03-20 Tom Tromey <tromey@redhat.com>
8436 Pedro Alves <palves@redhat.com>
8437
8438 PR cli/15718
8439 * gdb.base/condbreak-call-false.c: New file.
8440 * gdb.base/condbreak-call-false.exp: New file.
8441
40acf43a
PA
84422014-03-20 Pedro Alves <palves@redhat.com>
8443
8444 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8445 Delete.
8446 (block_signals, unblock_signals): Delete.
8447 (child_function_2, main): Remove references to deleted variable
8448 and functions.
8449
9f5e1e02
PA
84502014-03-20 Pedro Alves <palves@redhat.com>
8451
8452 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8453 Use pthread_kill to signal thread 2.
8454 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8455 Adjust to make the test send itself a signal rather than using the
8456 host's "kill" command.
8457
99619bea
PA
84582014-03-20 Pedro Alves <palves@redhat.com>
8459
8460 * gdb.threads/multiple-step-overs.c: New file.
8461 * gdb.threads/multiple-step-overs.exp: New file.
8462 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8463 Adjust expected infrun debug output.
8464
2adfaa28
PA
84652014-03-20 Pedro Alves <palves@redhat.com>
8466
8467 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8468 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8469
31e77af2
PA
84702014-03-20 Pedro Alves <palves@redhat.com>
8471
8472 PR breakpoints/7143
8473 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8474 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8475 of gdb_test_multiple.
8476 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8477 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8478
b9f437de
PA
84792014-03-20 Pedro Alves <palves@redhat.com>
8480
8481 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8482 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8483
05adc73e
PA
84842014-03-19 Pedro Alves <palves@redhat.com>
8485
8486 * gdb.base/async.exp: Remove early return.
8487
6048b950
PA
84882014-03-19 Pedro Alves <palves@redhat.com>
8489
8490 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8491
8bcfb00a
PA
84922014-03-19 Pedro Alves <palves@redhat.com>
8493
8494 * gdb.base/async.exp (test_background): Expect \r\n after
8495 "completed." in the fail pattern.
8496
884e37dc
PA
84972014-03-19 Pedro Alves <palves@redhat.com>
8498
8499 * gdb.base/async.exp (test_background): New procedure.
8500 Use it for all background execution command tests.
8501
148e57e2
PA
85022014-03-19 Pedro Alves <palves@redhat.com>
8503
8504 * gdb.base/async.exp: Use prepare_for_testing.
8505
f48088c7
PA
85062014-03-19 Pedro Alves <palves@redhat.com>
8507
8508 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8509 the same line.
8510
e2f6c966
PA
85112014-03-19 Pedro Alves <palves@redhat.com>
8512
8513 * gdb.base/async.c (main): Add "jump here" and "until here" line
8514 marker comments.
8515 * gdb.base/async.exp (jump_here): New global.
8516 (jump& test): Use it.
8517 (until_here): New global.
8518 (until& test): Use it.
8519
c30568d4
PA
85202014-03-19 Pedro Alves <palves@redhat.com>
8521
8522 * gdb.base/async.exp: Don't frob gdb_protocol.
8523
0172b6a7
DE
85242014-03-18 Doug Evans <xdje42@gmail.com>
8525
8526 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8527 Fix spelling of exec-done-display.
8528
06c868a8
JK
85292014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8530
8531 PR gdb/15358
8532 * gdb.base/gdb-sigterm.c: New file.
8533 * gdb.base/gdb-sigterm.exp: New file.
8534
0c7e1a46
PA
85352014-03-18 Pedro Alves <palves@redhat.com>
8536
8537 PR gdb/13860
8538 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8539 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8540 solib-event.
8541
f7c77d93
JB
85422014-03-17 Joel Brobecker <brobecker@adacore.com>
8543
8544 * gdb.ada/pckd_arr_ren: New testcase.
8545
5a1e8c7a
DE
85462014-03-13 Doug Evans <xdje42@gmail.com>
8547
8548 PR guile/16612
8549 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8550 collect after discarding symbols.
8551
350e1a76
DE
85522014-03-13 Ludovic Courtès <ludo@gnu.org>
8553 Doug Evans <xdje42@gmail.com>
8554
8555 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8556 to history survives a gc.
8557
a69900ae
PA
85582014-03-13 Pedro Alves <palves@redhat.com>
8559
8560 * gdb.base/default.exp: Don't test "target procfs".
8561
5db9f0bd
PA
85622014-03-13 Pedro Alves <palves@redhat.com>
8563
8564 * gdb.base/default.exp: Update "target child" and "target procfs"
8565 tests to not expect "Unix".
8566
b3ccfe11
TT
85672014-03-12 Tom Tromey <tromey@redhat.com>
8568
8569 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8570 New procs. Add target-async tests.
8571 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8572 Add target-async tests.
8573
646f4417
AA
85742014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8575
8576 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8577 'func_start' and 'func_end' for the beginning and end of the
8578 function code, respectively.
8579 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8580 'func_end' instead of 'func' and 'main'.
8581
288c211f
AA
85822014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8583
8584 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8585 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8586 generate the debug info assembler source.
8587
e0c0f156
AA
85882014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8589
8590 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8591 * gdb.dwarf2/arr-subrange.exp: Likewise.
8592 * gdb.dwarf2/dwz.exp: Likewise.
8593 * gdb.dwarf2/method-ptr.exp: Likewise.
8594 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8595 * gdb.dwarf2/subrange.exp: Likewise.
8596 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8597 * gdb.dwarf2/implptrpiece.exp: Likewise.
8598 * gdb.dwarf2/nostaticblock.exp: Likewise.
8599
0e5c4555
AA
86002014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8601
8602 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8603 directory to absolute path name arguments.
8604
5ec18f2b
JG
86052014-03-10 Joel Brobecker <brobecker@adacore.com>
8606
8607 * gdb.ada/tagged_access: New testcase.
8608
847fc4f2
MM
86092014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8610
8611 * gdb.btrace/data.exp: Update expected output.
8612
cc3da688
YQ
86132014-03-06 Yao Qi <yao@codesourcery.com>
8614
8615 * gdb.trace/pr16508.exp: New file.
8616
0f26cec1
PA
86172014-03-05 Pedro Alves <palves@redhat.com>
8618
8619 PR gdb/16575
8620 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8621 procedure.
8622 (top level): Adjust to use it. Add tests that exercise breakpoint
8623 interaction with the code-cache.
8624
7a5a839f
LC
86252014-02-26 Ludovic Courtès <ludo@gnu.org>
8626
8627 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8628 test for 'history-append!'.
8629
31aa7e4e
JB
86302014-02-26 Joel Brobecker <brobecker@adacore.com>
8631
8632 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8633 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8634 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8635 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8636 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8637 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8638
1b588015
JB
86392014-02-26 Joel Brobecker <brobecker@adacore.com>
8640
8641 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8642 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8643 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8644
55426c9d
JB
86452014-02-26 Joel Brobecker <brobecker@adacore.com>
8646
8647 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8648
dc53a7ad
JB
86492014-02-26 Joel Brobecker <brobecker@adacore.com>
8650
8651 * gdb.dwarf2/arr-stride.c: New file.
8652 * gdb.dwarf2/arr-stride.exp: New file.
8653
12ab52e9
PA
86542014-02-26 Pedro Alves <palves@redhat.com>
8655
8656 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8657 that won't ever trigger. Make sure that GDB reports the correct
8658 breakpoint that caused the stop.
8659
849c862e
JK
86602014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8661
8662 PR gdb/16626
8663 * gdb.base/auto-load-script: New file.
8664 * gdb.base/auto-load.c: New file.
8665 * gdb.base/auto-load.exp: New file.
8666
71b7d793
JK
8667 PR gdb/16626
8668 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8669
e2f0d509
JK
86702014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8671
8672 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8673 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8674
50cc37c8
DE
86752014-02-24 Doug Evans <dje@google.com>
8676
8677 * lib/gdb.exp (run_on_host): Log error output if program fails.
8678
ea4758f2
PA
86792014-02-21 Pedro Alves <palves@redhat.com>
8680
8681 * gdb.threads/step-after-sr-lock.c: Rename to ...
8682 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8683 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8684 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8685 ... this.
8686
d7b30f67
SDJ
86872014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8688
8689 PR tdep/16397
8690 * gdb.arch/amd64-stap-special-operands.exp: New file.
8691 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8692 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8693 * gdb.arch/amd64-stap-triplet.S: Likewise.
8694 * gdb.arch/amd64-stap-triplet.c: Likewise.
8695
83deb43f
JB
86962014-02-20 Joel Brobecker <brobecker@adacore.com>
8697
8698 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8699 in .section pseudo-op.
8700
adde2bff
DE
87012014-02-20 lin zuojian <manjian2006@gmail.com>
8702 Joel Brobecker <brobecker@adacore.com>
8703 Doug Evans <xdje42@gmail.com>
8704
8705 PR symtab/16581
8706 * gdb.dwarf2/dw2-icycle.S: New file.
8707 * gdb.dwarf2/dw2-icycle.c: New file.
8708 * gdb.dwarf2/dw2-icycle.exp: New file.
8709
f7bd0f78
SC
87102014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8711
8712 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8713 operations on gdb.Value objects.
8714 * gdb.python/py-value-cc.exp: Add new test to test operations on
8715 gdb.Value objects.
8716
c17ef0d5
DE
87172014-02-18 Doug Evans <dje@google.com>
8718
8719 * Makefile.in (TESTS): New variable.
8720 (expanded_tests, expanded_tests_or_none): New variables
8721 (check-single): Pass $(expanded_tests_or_none) to runtest.
8722 (check-parallel): Only run tests in $(TESTS) if non-empty.
8723 (check/no-matching-tests-found): New rule.
8724 * README: Document TESTS makefile variable.
8725
5dd3176f
DE
87262014-02-18 Doug Evans <dje@google.com>
8727
8728 * Makefile.in (check-parallel): rm -rf outputs temp.
8729
0b10be4f
JK
87302014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8731
8732 Fix "ERROR: no fileid for" in the testsuite.
8733 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8734
85f224e7
DE
87352014-02-12 Doug Evans <dje@google.com>
8736
8737 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8738 (MISCELLANEOUS): New variable.
8739 (clean): rm -rf $(MISCELLANEOUS).
8740 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8741 dwp live in the same directory as symlinks, with each symlink pointed
8742 to a differently named file in a different directory.
8743
149b30ff
DE
87442014-02-11 Doug Evans <dje@google.com>
8745
8746 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8747 of Tcl file commands.
8748
1dfdac32
MK
87492014-02-10 Mark Kettenis <kettenis@gnu.org>
8750
8751 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8752 "kill -SIGUSR1 -1".
8753
aa4fb036
JB
87542014-02-10 Joel Brobecker <brobecker@adacore.com>
8755
8756 * gdb.ada/tick_length_array_enum_idx: New testcase.
8757
ed3ef339
DE
87582014-02-10 Doug Evans <xdje42@gmail.com>
8759
8760 * configure.ac (AC_OUTPUT): Add gdb.guile.
8761 * configure: Regenerate.
8762 * lib/gdb-guile.exp: New file.
8763 * lib/gdb.exp (get_target_charset): New function.
8764 * gdb.base/help.exp: Update expected output from "apropos apropos".
8765 * gdb.guile/Makefile.in: New file.
8766 * gdb.guile/guile.exp: New file.
8767 * gdb.guile/scm-arch.c: New file.
8768 * gdb.guile/scm-arch.exp: New file.
8769 * gdb.guile/scm-block.c: New file.
8770 * gdb.guile/scm-block.exp: New file.
8771 * gdb.guile/scm-breakpoint.c: New file.
8772 * gdb.guile/scm-breakpoint.exp: New file.
8773 * gdb.guile/scm-disasm.c: New file.
8774 * gdb.guile/scm-disasm.exp: New file.
8775 * gdb.guile/scm-equal.c: New file.
8776 * gdb.guile/scm-equal.exp: New file.
8777 * gdb.guile/scm-error.exp: New file.
8778 * gdb.guile/scm-error.scm: New file.
8779 * gdb.guile/scm-frame-args.c: New file.
8780 * gdb.guile/scm-frame-args.exp: New file.
8781 * gdb.guile/scm-frame-args.scm: New file.
8782 * gdb.guile/scm-frame-inline.c: New file.
8783 * gdb.guile/scm-frame-inline.exp: New file.
8784 * gdb.guile/scm-frame.c: New file.
8785 * gdb.guile/scm-frame.exp: New file.
8786 * gdb.guile/scm-generics.exp: New file.
8787 * gdb.guile/scm-gsmob.exp: New file.
8788 * gdb.guile/scm-iterator.c: New file.
8789 * gdb.guile/scm-iterator.exp: New file.
8790 * gdb.guile/scm-math.c: New file.
8791 * gdb.guile/scm-math.exp: New file.
8792 * gdb.guile/scm-objfile-script-gdb.in: New file.
8793 * gdb.guile/scm-objfile-script.c: New file.
8794 * gdb.guile/scm-objfile-script.exp: New file.
8795 * gdb.guile/scm-objfile.c: New file.
8796 * gdb.guile/scm-objfile.exp: New file.
8797 * gdb.guile/scm-ports.exp: New file.
8798 * gdb.guile/scm-pretty-print.c: New file.
8799 * gdb.guile/scm-pretty-print.exp: New file.
8800 * gdb.guile/scm-pretty-print.scm: New file.
8801 * gdb.guile/scm-section-script.c: New file.
8802 * gdb.guile/scm-section-script.exp: New file.
8803 * gdb.guile/scm-section-script.scm: New file.
8804 * gdb.guile/scm-symbol.c: New file.
8805 * gdb.guile/scm-symbol.exp: New file.
8806 * gdb.guile/scm-symtab-2.c: New file.
8807 * gdb.guile/scm-symtab.c: New file.
8808 * gdb.guile/scm-symtab.exp: New file.
8809 * gdb.guile/scm-type.c: New file.
8810 * gdb.guile/scm-type.exp: New file.
8811 * gdb.guile/scm-value-cc.cc: New file.
8812 * gdb.guile/scm-value-cc.exp: New file.
8813 * gdb.guile/scm-value.c: New file.
8814 * gdb.guile/scm-value.exp: New file.
8815 * gdb.guile/source2.scm: New file.
8816 * gdb.guile/types-module.cc: New file.
8817 * gdb.guile/types-module.exp: New file.
8818
7026a7c1
YQ
88192014-02-10 Yao Qi <yao@codesourcery.com>
8820
8821 PR testsuite/16543
8822 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8823 * configure: Regenerated.
8824 * Makefile.in: New file.
8825
6c466447
AS
88262014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8827
8828 * gdb.python/py-framefilter.exp: Fix typo.
8829
6e854735
YQ
88302014-02-08 Yao Qi <yao@codesourcery.com>
8831
8832 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8833 that no =breakpoint-modified is emitted when breakpoints are
8834 modified through MI commands.
8835
d137e6dc
PA
88362014-02-07 Pedro Alves <pedro@codesourcery.com>
8837 Pedro Alves <palves@redhat.com>
8838
8839 * gdb.threads/step-after-sr-lock.c: New file.
8840 * gdb.threads/step-after-sr-lock.exp: New file.
8841
b5ee5a50
PA
88422014-02-07 Pedro Alves <palves@redhat.com>
8843
8844 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8845
3c77faf3
JK
88462014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8847
8848 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8849 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8850
6dddc817
DE
88512014-02-06 Doug Evans <xdje42@gmail.com>
8852
8853 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8854 output.
8855
8856 * gdb.gdb/python-interrupts.exp: New file.
8857
de7b2893
YQ
88582014-02-05 Yao Qi <yao@codesourcery.com>
8859
8860 * gdb.trace/report.exp (use_collected_data): Test the output
8861 of "info threads" and "info inferiors".
8862
66d032ac
YQ
88632014-02-05 Yao Qi <yao@codesourcery.com>
8864
8865 Revert this patch:
8866
8867 2013-05-24 Yao Qi <yao@codesourcery.com>
8868
8869 * gdb.trace/tfile.exp: Test inferior and thread.
8870
591a12a1
UW
88712014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8872
8873 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8874 on a function.
8875 * gdb.base/step-bt.c: Call hello via function pointer to make
8876 sure its first instruction is executed on powerpc64le-linux.
8877
0ff3e01f
UW
88782014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8879
8880 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8881
084ee545
UW
88822014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8883
8884 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8885 of the test patterns for use on little-endian systems.
8886
6ed14ff3
UW
88872014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8888
8889 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8890 (decimal_vector): Fix for little-endian.
8891
401e27fd
JM
88922014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8893
8894 * gdb.arch/sparc-sysstep.exp: New file.
8895 * gdb.arch/sparc-sysstep.c: Likewise.
8896
8897 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8898
8b924729
EBM
88992014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8900
8901 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8902
fb151210
JB
89032014-01-23 Tom Tromey <tromey@redhat.com>
8904
8905 * gdb.ada/array_char_idx: New testcase.
8906
0740f8d8
TT
89072014-01-23 Tom Tromey <tromey@redhat.com>
8908
8909 PR python/16487:
8910 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8911 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8912 classes.
8913
21909fa1
TT
89142014-01-23 Tom Tromey <tromey@redhat.com>
8915
8916 PR python/16491:
8917 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8918 string from an inferior frame.
8919 * gdb.python/py-framefilter-mi.exp: Update.
8920
87ce2a04
DE
89212014-01-22 Doug Evans <dje@google.com>
8922
8923 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8924
237b092b
AA
89252014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8926
8927 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8928
d674a709
AA
89292014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8930
8931 * gdb.trace/entry-values.exp: Remove excess space character from
8932 regex patterns. Handle s390 call instruction.
8933
20fa3390
AA
89342014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8935
8936 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8937 define "*_start" label. Make "name" static.
8938 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8939 ${name} by references to ${name}_start.
8940
78466714
AA
89412014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8942
8943 * gdb.base/info-macros.exp: Remove "debug" from the compile
8944 options.
8945
ec9f644a
IB
89462014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8947
8948 * gdb.dlang/demangle.exp: New file.
8949
94b1b47e
IB
89502014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8951
8952 * gdb.dlang/primitive-types.exp: New file.
8953
7f420862
IB
89542014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8955
8956 * configure.ac: Create gdb.dlang/Makefile.
8957 * configure: Regenerate.
8958 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8959 * gdb.dlang/Makefile.in: New file.
8960 * lib/d-support.exp: New file.
8961 * lib/gdb.exp (skip_d_tests): New proc.
8962
52834460
MM
89632014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8964
8965 * gdb.btrace/delta.exp: Check reverse stepi.
8966 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8967 * gdb.btrace/finish.exp: New.
8968 * gdb.btrace/next.exp: New.
8969 * gdb.btrace/nexti.exp: New.
8970 * gdb.btrace/record_goto.c: Add comments.
8971 * gdb.btrace/step.exp: New.
8972 * gdb.btrace/stepi.exp: New.
8973 * gdb.btrace/multi-thread-step.c: New.
8974 * gdb.btrace/multi-thread-step.exp: New.
8975 * gdb.btrace/rn-dl-bind.c: New.
8976 * gdb.btrace/rn-dl-bind.exp: New.
8977 * gdb.btrace/data.c: New.
8978 * gdb.btrace/data.exp: New.
8979 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8980
6e07b1d2
MM
89812014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8982
8983 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8984 * gdb.btrace/exception.exp: Update.
8985 * gdb.btrace/instruction_history.exp: Update.
8986 * gdb.btrace/record_goto.exp: Update.
8987 * gdb.btrace/tailcall.exp: Update.
8988 * gdb.btrace/unknown_functions.exp: Update.
8989 * gdb.btrace/delta.exp: New.
8990
0b722aec
MM
89912014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8992
8993 * gdb.btrace/record_goto.exp: Add backtrace test.
8994 * gdb.btrace/tailcall.exp: Add backtrace test.
8995
066ce621
MM
89962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8997
8998 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8999 * gdb.btrace/record_goto.c: New.
9000 * gdb.btrace/record_goto.exp: New.
9001 * gdb.btrace/x86-record_goto.S: New.
9002
0688d04e
MM
90032014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9004
9005 * gdb.btrace/function_call_history.exp: Update tests.
9006 * gdb.btrace/instruction_history.exp: Update tests.
9007
8710b709
MM
90082014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9009
9010 * gdb.btrace/function_call_history.exp: Fix expected field
9011 order for "record function-call-history".
9012 Add new tests for "record function-call-history /c".
9013 * gdb.btrace/exception.cc: New.
9014 * gdb.btrace/exception.exp: New.
9015 * gdb.btrace/tailcall.exp: New.
9016 * gdb.btrace/x86-tailcall.S: New.
9017 * gdb.btrace/x86-tailcall.c: New.
9018 * gdb.btrace/unknown_functions.c: New.
9019 * gdb.btrace/unknown_functions.exp: New.
9020 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9021
5de9129b
MM
90222014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9023
9024 * gdb.btrace/instruction_history.exp: Update.
9025 * gdb.btrace/function_call_history.exp: Update.
9026
23a7fe75
MM
90272014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9028
9029 * gdb.btrace/function_call_history.exp: Fix expected function
9030 trace.
9031 * gdb.btrace/instruction_history.exp: Initialize traced.
9032 Remove traced_functions.
9033
724c7dd8
MM
90342014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9035
9036 * gdb.btrace/function_call_history.exp: Update
9037 * gdb.btrace/instruction_history.exp: Update.
9038
6d78d93b
MM
90392014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9040
9041 * gdb.btrace/enable.exp: Update expected text.
9042
93a360cc
OJ
90432014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
9044
9045 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
9046 bytes.
9047
3772b53f
MR
90482014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
9049
9050 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
9051
596662fa
OJ
90522014-01-15 Omair Javaid <omair.javaid@linaro.org>
9053
9054 * lib/gdb.exp (supports_process_record): Return true for
9055 arm*-linux*. (supports_reverse): Likewise.
9056
b5b08fb4
SC
90572014-01-13 Siva Chandra Reddy <sivachandra@google.com>
9058
9059 PR python/15464
9060 PR python/16113
9061 * gdb.python/py-type.c: Enhance test case.
9062 * gdb.python/py-value-cc.cc: Likewise
9063 * gdb.python/py-type.exp: Add new tests.
9064 * gdb.python/py-value-cc.exp: Likewise
9065
52d7fb13
AA
90662014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9067 Pedro Alves <palves@redhat.com>
9068
9069 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
9070 Make "name" extern.
9071 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
9072 references to ${name}_start by references to ${name}.
9073
a2cd8cfe
JB
90742014-01-10 Joel Brobecker <brobecker@adacore.com>
9075
9076 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
9077
4e23fced
JB
90782014-01-10 Joel Brobecker <brobecker@adacore.com>
9079
9080 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
9081
c6a9e42c
PA
90822014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
9083 Pedro Alves <palves@redhat.com>
9084
9085 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 9086 mi_gdb_target_load.
c6a9e42c 9087
b7ea362b
PA
90882014-01-08 Pedro Alves <palves@redhat.com>
9089
9090 * gdb.threads/reconnect-signal.c: New file.
9091 * gdb.threads/reconnect-signal.exp: New file.
9092
5e3f4fab
EBM
90932014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9094
9095 * gdb.base/source-dir.exp: New file.
9096
79301218
JB
90972014-01-07 Joel Brobecker <brobecker@adacore.com>
9098
9099 * gdb.ada/mi_interface: New testcase.
9100
8e355c5d
JB
91012014-01-07 Joel Brobecker <brobecker@adacore.com>
9102
9103 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
9104 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
9105 gdb.ada/pp-rec-component/pck.ads: New files.
9106
c0d48811
JB
91072014-01-07 Joel Brobecker <brobecker@adacore.com>
9108
9109 * gdb.python/py-pp-integral.c: New file.
9110 * gdb.python/py-pp-integral.py: New file.
9111 * gdb.python/py-pp-integral.exp: New file.
9112
17b609c3 9113For older changes see ChangeLog-1993-2013.
c906108c 9114\f
8d8cb839
EZ
9115;; Local Variables:
9116;; mode: change-log
9117;; left-margin: 8
9118;; fill-column: 74
9119;; version-control: never
9120;; End:
902f2ccb 9121
618f726f 9122 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
9123 Copying and distribution of this file, with or without modification,
9124 are permitted provided the copyright notice and this notice are preserved.
This page took 3.364867 seconds and 4 git commands to generate.