Automatic date update in version.in
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
ae9cf263
YQ
12016-09-02 Yao Qi <yao.qi@linaro.org>
2
3 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
4 is true and $type is "float" or "double".
5
27aba047
YQ
62016-09-02 Yao Qi <yao.qi@linaro.org>
7
8 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
9 true.
10 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
11 * gdb.base/call-rt-st.exp: Likewise.
12 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
13 return value instead of gdb,skip_float_test.
14 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
15 (do_function_calls): Use its return value instead of
16 gdb,skip_float_test.
17 * gdb.base/finish.exp: Likewise.
18 * gdb.base/funcargs.exp: Likewise.
19 * gdb.base/return.exp: Likewise.
20 * gdb.base/return2.exp: Likewise.
21 * gdb.base/varargs.exp: Likewise.
22 * lib/gdb.exp (gdb_skip_float_test): Change it to
23 gdb_caching_proc. Detect the broken ptrace on arm-linux.
24
5af962df
AA
252016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
26
27 * gdb.multi/tids.exp: Test "thread apply all".
28
7fac6910
JK
292016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
30
31 * gdb.base/default.exp (tty): Remove.
32
bb1fe4ac
KB
332016-08-24 Kevin Buettner <kevinb@redhat.com>
34
35 * gdb.python/py-recurse-unwind.c: New file.
36 * gdb.python/py-recurse-unwind.py: New file.
37 * gdb.python/py-recurse-unwind.exp: New file.
38
0a1ddfa6
SM
392016-08-24 Simon Marchi <simon.marchi@ericsson.com>
40
41 * gdb.base/set-inferior-tty.exp: New file.
42 * gdb.base/set-inferior-tty.c: New file.
43
d9de1fe3
PA
442016-08-23 Pedro Alves <palves@redhat.com>
45
46 PR gdb/20494
47 * gdb.base/new-ui-echo.c: New file.
48 * gdb.base/new-ui-echo.exp: New file.
49
e9d9abd7
YQ
502016-08-23 Yao Qi <yao.qi@linaro.org>
51
52 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
53 gdbserver_spawn.
54 * gdb.server/connect-without-multi-process.exp (do_test):
55 Likewise.
56
3589529e
YQ
572016-08-23 Yao Qi <yao.qi@linaro.org>
58
59 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
60 standalone_txt. Delete gdb_txt and standalone_txt on host
61 and target. Spawn the binary on target. Copy files from
62 target to host.
63
6bb90213
PA
642016-08-22 Pedro Alves <palves@redhat.com>
65
66 PR gdb/20505
67 * gdb.base/vdso-warning.exp: Test core dumps too. Use
68 with_test_prefix. Factor out bits to ...
69 (test_no_vdso): ... this new procedure.
70
20c2c024
CL
712016-08-19 Carl Love <cel@us.ibm.com>
72
73 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
74 maintaining separate logic for constructing the output path.
75 * gdb.arch/powerpc-d128-regs.exp: Likewise.
76 * gdb.arch/ppc-dfp.exp: Likewise.
77 * gdb.arch/ppc-fp.exp: Likewise.
78 * gdb.arch/vsx-regs.exp: Likewise.
79 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
80 binprefix for generating the additional binary files.
81
0646e07d
PA
822016-08-19 Pedro Alves <palves@redhat.com>
83
84 * gdb.trace/mi-trace-frame-collected.exp
85 (test_trace_frame_collected): On x32, expect two registers.
86
46da9242
CL
872016-08-18 Carl Love <cel@us.ibm.com>
88
89 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
90 and sync up the test with tests in gas/testsuite/gas/ppc.
91 * gdb.arch/powerpc-power.exp: Likewise.
92
eb2332d7
SM
932016-08-17 Simon Marchi <simon.marchi@ericsson.com>
94
95 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
96 expected error message.
97
63c61e04
SM
982016-08-17 Simon Marchi <simon.marchi@ericsson.com>
99
100 * gdb.multi/remove-inferiors.exp: New file.
101 * gdb.multi/remove-inferiors.c: New file.
102
7b17065f
YQ
1032016-08-12 Yao Qi <yao.qi@linaro.org>
104
105 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
106 argument list.
107
01d3dedf
PA
1082016-08-10 Pedro Alves <palves@redhat.com>
109
110 PR gdb/19187
111 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
112 setup_kfails.
113
3eb7562a
PA
1142016-08-09 Pedro Alves <palves@redhat.com>
115 Simon Marchi <simon.marchi@ericsson.com>
116
117 PR gdb/20418
118 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
119 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
120
80614914
PA
1212016-08-09 Pedro Alves <palves@redhat.com>
122
123 PR mi/20431
124 * gdb.mi/mi-cmd-error.exp: New file.
125
f348d89a
PA
1262016-08-09 Pedro Alves <palves@redhat.com>
127
128 PR gdb/18653
129 * gdb.base/signals-state-child.c: New file.
130 * gdb.base/signals-state-child.exp: New file.
131 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
132
e5ca03b4
PA
1332016-08-09 Pedro Alves <palves@redhat.com>
134
135 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
136
282a0691
TT
1372016-08-03 Tom Tromey <tom@tromey.com>
138
139 PR python/18565:
140 * gdb.python/py-frame-inline.exp: Add Frame.function test.
141
41bfcd63
YQ
1422016-08-01 Yao Qi <yao.qi@linaro.org>
143
144 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
145 variable mode to "multi-process" if $multi_process is 1, otherwise
146 set it to "single-process".
147
e3465b24
YQ
1482016-08-01 Yao Qi <yao.qi@linaro.org>
149
150 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
151 * gdb.cp/cpexprs.exp: Likewise.
152 * gdb.cp/m-static.exp: Likewise.
153
0b31a4bc
TT
1542016-07-26 Tom Tromey <tom@tromey.com>
155
156 PR python/20190:
157 * gdb.threads/tls.exp (check_thread_local): Add python symbol
158 test.
159
e0461dbb
MM
1602016-07-26 Markus Metzger <markus.t.metzger@intel.com>
161
162 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
163 selecting assembly source files.
164 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
165 assembly source files.
166 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
167 assembly source files.
168 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
169 selecting assembly source files.
170
8194e927
SM
1712016-07-25 Simon Marchi <simon.marchi@ericsson.com>
172
173 * gdb.base/new-ui.exp (do_test_invalid_args): New
174 procedure.
175
c0272db5
TW
1762016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
177
178 * gdb.btrace/reconnect.c: New file.
179 * gdb.btrace/reconnect.exp: New file.
180
e3487908
GKB
1812016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
182
183 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
184 to test_catch_syscall_group.
185 (test_catch_syscall_group): New.
186
12df5c00
TT
1872016-07-21 Tom Tromey <tom@tromey.com>
188
189 * gdb.rust/simple.rs (main): Use empty struct expression.
190 * gdb.rust/simple.exp: Add tests for empty struct expression.
191
bae62ee2
YQ
1922016-07-21 Yao Qi <yao.qi@linaro.org>
193
194 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
195 if gdb_skip_xml_test is true on some targets.
196
b1b53fb3
YQ
1972016-07-21 Yao Qi <yao.qi@linaro.org>
198
199 * gdb.server/solib-list.exp: Unset last_loaded_file.
200
027d97f8
JK
2012016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
202
203 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
204 "step into captured_main (args)".
205
7674d381
JK
2062016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
207
208 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
209
72b5d099
JK
2102016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
211
212 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
213
1f960ced
PA
2142016-07-19 Pedro Alves <palves@redhat.com>
215
216 * gdb.opt/inline-break.exp: Remove optimize=-O2.
217 * gdb.opt/inline-bt.exp: Likewise.
218 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
219 additional_flags=-Winline.
220 * gdb.opt/inline-locals.exp: Likewise.
221 * gdb.opt/inline-markers.c (ATTR): Define.
222 (inlined_fn): Use it.
223
f25827c1
YQ
2242016-07-19 Yao Qi <yao.qi@linaro.org>
225
226 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
227 (test_with_self): Remove some code. Remove argument executable.
228 (top-level): Use do_self_tests.
229
37539ebe
DB
2302016-07-15 Zachary Welch <zwelch@codesourcery.com>
231 Don Breazeal <donb@codesourcery.com>
232
233 * gdb.base/maint.exp: Escape paths used in regular expressions.
234 * gdb.stabs/weird.exp: Likewise.
235
dac790e1
TT
2362016-07-13 Tom Tromey <tom@tromey.com>
237
238 PR python/15620, PR python/18620:
239 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
240 (test_bkpt_events): New procs.
241
93daf339
TT
2422016-07-13 Tom Tromey <tom@tromey.com>
243
244 PR python/17698:
245 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
246 test.
247 (test_watchpoints): Likewise.
248 (test_bkpt_pending): New proc.
249
6571a381
TT
2502016-07-13 Tom Tromey <tom@tromey.com>
251
252 PR cli/18053:
253 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
254 completion test.
255
e8732474
JK
2562016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
257
258 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
259 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
260 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
261 f_label.
262 (g): Rename g_end_lbl to g_label.
263 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
264 low_pc and high_pc.
265 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
266
e0f3fd7c
TT
2672016-07-12 Tom Tromey <tom@tromey.com>
268
269 PR python/19293:
270 * gdb.python/py-unwind-maint.exp: Update tests.
271
3cfe46b6
YQ
2722016-07-12 Yao Qi <yao.qi@linaro.org>
273
274 * lib/selftest-support.exp (selftest_setup): Match the output
275 when captured_main is inlined.
276
4f19a0e6
WT
2772016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
278
279 * gdb.fortran/derived-types.exp (result_line, result_line_2):
280 New variables.
281 (print this%a, print this%b, print this): New tests.
282 * gdb.fortran/derived-types.f90 (this): New object and
283 initialization.
284
986cf455
SM
2852016-07-06 Simon Marchi <simon.marchi@ericsson.com>
286
287 * gdb.ada/arraydim.exp: Remove extra directory level in build
288 directory.
289
f0464b23
SM
2902016-07-06 Simon Marchi <simon.marchi@ericsson.com>
291
292 * lib/ada.exp: Remove extra directory level in build directory.
293 * gdb.ada/cond_lang.exp: Likewise.
294 * gdb.ada/exec_changed.exp: Likewise.
295 * gdb.ada/lang_switch.exp: Likewise.
296
42d94011
MG
2972016-07-06 Manish Goregaokar <manish@mozilla.com>
298
299 * simple.rs: Add test for raw pointer subscripting
300 * simple.exp: Add test expectations
301
647c264c
YQ
3022016-07-05 Yao Qi <yao.qi@linaro.org>
303
304 * gdb.mi/mi-reverse.exp: Match =record-started output.
305
20aa2c60
PA
3062016-07-01 Pedro Alves <palves@redhat.com>
307
308 * gdb.base/jit-reader.exp (info_registers_current_frame): New
309 procedure.
310 (jit_reader_test): Test the jit reader's unwinder.
311 * gdb.base/jithost.c (jit_function_00_code): New global.
312 (main): Use memcpy to fill in the mmapped code, instead of poking
313 bytes manually here.
314 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
315 value.
316 (read_debug_info): Save the function's range.
317 (read_sp): New function.
318 (unwind_frame): Use it. Also unwind RBP.
319 (get_frame_id): Use read_sp.
320 (gdb_init_reader): Use calloc instead of malloc.
321 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
322 parameter. Use gdb_test_multiple.
323
ced2dffb
PA
3242016-07-01 Pedro Alves <palves@redhat.com>
325 Antoine Tremblay <antoine.tremblay@ericsson.com>
326
327 * gdb.threads/process-dies-while-detaching.c: New file.
328 * gdb.threads/process-dies-while-detaching.exp: New file.
329
63000888
PA
3302016-07-01 Pedro Alves <palves@redhat.com>
331
332 * gdb.multi/watchpoint-multi-exit.c: New file.
333 * gdb.multi/watchpoint-multi-exit.exp: New file.
334
038d4868
PA
3352016-06-30 Pedro Alves <palves@redhat.com>
336
337 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
338 unset inferior_spawn_id.
339
994e9c83
PA
3402016-06-30 Pedro Alves <palves@redhat.com>
341
342 * lib/mi-support.exp (default_mi_gdb_start): Declare global
343 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
344
e5653468
YQ
3452016-06-29 Yao Qi <yao.qi@linaro.org>
346
347 * gdb.base/return.c: Add copyright header.
348
803b47e5
TT
3492016-06-29 Tom Tromey <tom@tromey.com>
350
351 PR python/20129:
352 * gdb.python/py-framefilter.exp: Add tests for setting priority
353 and disabling of non-existent frame filter.
354
28244707
YQ
3552016-06-29 Yao Qi <yao.qi@linaro.org>
356
357 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
358 0x0f07ff.
359
a31d2f06
YQ
3602016-06-28 Yao Qi <yao.qi@linaro.org>
361
362 * gdb.base/catch-syscall.exp: Remove check on isnative and target
363 triplets. Start gdb, execute catch syscall, and continue. Check
364 gdb's output to determine catch syscall is supported.
365
921d8f54
MG
3662016-06-27 Manish Goregaokar <manish@mozilla.com>
367
25d49b86
PA
368 * gdb.rust/simple.rs: Add test for returning unit in a function.
369 * gdb.rust/simple.exp: Add expectation for functions returning
370 unit.
921d8f54 371
f4952523
PMR
3722016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
373
374 * gdb.python/py-breakpoint-create-fail.c,
375 gdb.python/py-breakpoint-create-fail.exp,
376 gdb.python/py-breakpoint-create-fail.py: New testcase.
377
fccb08f8
MG
3782016-06-25 Manish Goregaokar <manish@mozilla.com>
379
380 PR gdb/20239
381 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
382 * gdb.rust/simple.exp: Add test expectations for new NonZero
383 tests.
fccb08f8 384
6b850546
DT
3852016-06-24 David Taylor <dtaylor@emc.com>
386
387 * gdb.base/offsets.exp: New file.
388 * gdb.base/offsets.c: New file.
389
17621150
TT
3902016-06-23 Tom Tromey <tom@tromey.com>
391
392 PR gdb/16483:
393 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
394 before any filters are loaded.
395
04d59df6
WT
3962016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
397
398 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
399 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
400 structs.
401 * gdb.fortran/derived-type-function.exp: New file.
402 * gdb.fortran/derived-type-function.f90: New file.
403
404
ac69f786
PA
4052016-06-21 Pedro Alves <palves@redhat.com>
406
407 * gdb.base/new-ui.exp: New file.
408 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
409 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
410 (with_spawn_id): New procedure.
411
49940788
PA
4122016-06-21 Pedro Alves <palves@redhat.com>
413
414 * gdb.mi/mi-exec-run.exp: New file.
415
ef274d26
PA
4162016-06-21 Pedro Alves <palves@redhat.com>
417
418 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
419 breakpoint command's output on the main UI.
420 (test_break): New procedure, factored out from calls in the top
421 level.
422 (top level): Use foreach_with_prefix to test MI as main UI and as
423 separate UI.
424
468afe6c
PA
4252016-06-21 Pedro Alves <palves@redhat.com>
426
427 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
428 (test_awatch_creation_and_listing)
429 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
430 Remove 'type' parameter.
431 (test_watchpoint_all): New parameter mi_mode. Remove
432 with_test_prefix.
433 (top level): Use foreach_with_prefix, and add main/separate UI MI
434 testing axis.
435
51f77c37
PA
4362016-06-21 Pedro Alves <palves@redhat.com>
437
438 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
439 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
440 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
441 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
442 (gdb_main_spawn_id, mi_spawn_id): Declare and
443 comment.
444 (mi_create_inferior_pty): New procedure,
445 factored out from default_mi_gdb_start.
446 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
447 procedures.
448 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
449 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
450 Use mi_create_inferior_pty.
451 (mi_gdb_start): Use eval to pass down args list.
452
8980e177
PA
4532016-06-21 Pedro Alves <palves@redhat.com>
454
455 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
456 * gdb.opt/inline-cmds.exp: Add MI tests.
457
f38d3ad1
PA
4582016-06-21 Pedro Alves <palves@redhat.com>
459
460 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
461
45db7c09
PA
4622016-06-21 Pedro Alves <palves@redhat.com>
463
464 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
465 (top level): Use it instead of mi_execute_to.
466
5a069ab3
PA
4672016-06-21 Pedro Alves <palves@redhat.com>
468
469 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
470 (cont_handler_str): New.
471 (signal_stop_handler): Set stop_handler_str instead of printing to
472 stdout.
473 (continue_handler): Set cont_handler_str instead of printing to
474 stdout.
475 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
476 mi_send_resuming_command. Print stop_handler_str and
477 cont_handler_str instead of expecting the python events print
478 directly.
479
2838cc1d
SD
4802016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
481
482 * gdb.base/jit-reader.exp: New file.
483 * gdb.base/jithost.c: New file.
484 * gdb.base/jithost.h: New file.
485 * gdb.base/jitreader.c : New file.
486 * gdb.base/jit-protocol.h: New file.
487
21a77091
YQ
4882016-06-17 Yao Qi <yao.qi@linaro.org>
489
490 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
491 parameters follow_fork and detach_on_fork. Set follow-fork-mode
492 and detach-on-fork. Adjust tests.
493 (top level): Invoke break_cond_on_syscall with combinations of
494 syscall, follow-fork-mode and detach-on-fork.
495
f50bf8e5
YQ
4962016-06-17 Yao Qi <yao.qi@linaro.org>
497
498 * gdb.base/step-over-exit.c: New.
499 * gdb.base/step-over-exit.exp: New.
500
a28d8e50
YTL
5012016-06-17 Yan-Ting Lin <currygt52@gmail.com>
502
503 * gdb.base/float.exp: Add target check for nds32*-*-*.
504 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
505
cad8e26d
AB
5062016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
507
508 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
509 for unsupported target features.
510 * gdb.base/call-rt-st.exp: Likewise.
511 * gdb.base/call-sc.exp: Likewise.
512 * gdb.base/call-signal-resume.exp: Likewise.
513 * gdb.base/call-strs.exp: Likewise.
514 * gdb.base/callexit.exp: Likewise.
515 * gdb.base/callfuncs.exp: Likewise.
516 * gdb.base/nodebug.exp: Likewise.
517 * gdb.base/printcmds.exp: Likewise.
518 * gdb.base/ptype.exp: Likewise.
519 * gdb.base/structs.exp: Likewise.
520 * gdb.base/unwindonsignal.exp: Likewise.
521 * gdb.cp/gdb2495.exp: Likewise.
522 * gdb.cp/templates.exp: Likewise.
523 * gdb.cp/virtfunc.exp: Likewise.
524 * gdb.threads/hand-call-in-threads.exp: Likewise.
525 * gdb.threads/interrupted-hand-call.exp: Likewise.
526 * gdb.threads/thread-unwindonsignal.exp: Likewise.
527
347dc102
TT
5282016-06-10 Tom Tromey <tom@tromey.com>
529
530 PR rust/20110:
531 * gdb.rust/expr.exp: Add test for integer constant larger than
532 i32.
533
5e13cf25
BH
5342016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
535
536 * gdb.fortran/nested-funcs.exp: New.
537 * gdb.fortran/nested-funcs.f90: New.
538
bb556f1f
TK
5392016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
540
541 * gdb.base/examine-backward.c: New file.
542 * gdb.base/examine-backward.exp: New file.
543
38b022b4
SM
5442016-06-06 Simon Marchi <simon.marchi@ericsson.com>
545
546 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
547 matching.
548
1b40ec05
TT
5492016-06-02 Tom Tromey <tom@tromey.com>
550
551 PR python/18984:
552 * gdb.python/py-shared.exp: Add solib_name test.
553
193bd378
SM
5542016-06-02 Simon Marchi <simon.marchi@ericsson.com>
555
556 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
557
3326303b
MG
5582016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
559
560 PR c++/19893
561 * gdb.dwarf2/implref.exp: Rename to...
562 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
563 * gdb.dwarf2/implref-array.c: New file.
564 * gdb.dwarf2/implref-array.exp: Likewise.
565 * gdb.dwarf2/implref-global.c: Likewise.
566 * gdb.dwarf2/implref-global.exp: Likewise.
567 * gdb.dwarf2/implref-struct.c: Likewise.
568 * gdb.dwarf2/implref-struct.exp: Likewise.
569
825c8ef2
AT
5702016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
571
572 * gdb.trace/trace-condition.exp: Add 64bit tests.
573
2320162a
AT
5742016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
575
576 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
577 bits types.
578 (main): Adapt to 8 to 64 bits types.
579 * gdb.trace/trace-condition.exp: Add new tests.
580
a7818233
AT
5812016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
582
583 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
584
0d336466
AT
5852016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
586
587 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
588 Move condition tests...
589 * gdb.trace/trace-condition.exp: Here.
590
7faeb45a
AT
5912016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
592
593 * gdb.trace/trace-condition.exp: Add counter-case tests.
594
e385593e
JK
5952016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
596
597 PR c++/15231
598 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
599 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
600
744608cc
PA
6012016-05-27 Pedro Alves <palves@redhat.com>
602
603 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
604 New procedure.
605 (top level): Call it, and bail out of DejaGnu is known to be bad.
606
ac775bf4
AB
6072016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
608
609 * gdb.base/whatis.c: Extend the test case.
610 * gdb.base/whatis.exp: Add additional tests.
611
2bbad2ea
BH
6122016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
613
614* gdb.fortran/type.f90: Add pointer variable.
615* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
616
8b70175d
BH
6172016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
618
619 * gdb.fortran/vla-type.exp: Fix testcase name.
620
86d8a848
BH
6212016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
622
623 * gdb.fortran/vla-type.exp: Access elements in nested structs.
624
e188eb36
BH
6252016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
626
627 * gdb.fortran/type.f90: Add nested structures.
628 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
629 * gdb.fortran/derived-type.exp: Adapt expected output.
630 * gdb.fortran/vla-type.exp: Adapt expected output.
631
9b2db1fd
BH
6322016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
633
634 * gdb.fortran/whatis_type.exp: Adapt expected output.
635
72b17055
BH
6362016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
637
638 * gdb.fortran/print_type.exp: Fix expected output.
639 * gdb.fortran/whatis_type.exp: Fix expected output.
640
3cd81d8d
BH
6412016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
642
643 * gdb.fortran/whatis_type.exp: Use multi_line.
644
ddae9462
TT
6452016-05-24 Tom Tromey <tom@tromey.com>
646
647 PR python/17386:
648 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
649 use value as an index.
650
1957f6b8
TT
6512016-05-23 Tom Tromey <tom@tromey.com>
652
653 PR python/17981:
654 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
655 no-breakpoint case.
656
026a9174
PA
6572016-05-24 Pedro Alves <palves@redhat.com>
658
659 PR gdb/19828
660 * gdb.threads/clone-attach-detach.c: New file.
661 * gdb.threads/clone-attach-detach.exp: New file.
662
e70a7231
FR
6632016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
664
665 * gdb.base/annota-input-while-running.exp: Fix syntax error.
666
0f6ed0e0
TT
6672016-05-23 Tom Tromey <tom@tromey.com>
668
669 PR python/19438, PR python/18393:
670 * gdb.python/py-progspace.exp: Add "dir" test.
671 * gdb.python/py-objfile.exp: Add "dir" test.
672
ffd19d61
YQ
6732016-05-23 Yao Qi <yao.qi@linaro.org>
674
675 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
676 * gdb.arch/thumb2-it.exp: Likewise.
677
9e8f9b05
SM
6782016-05-18 Simon Marchi <simon.marchi@ericsson.com>
679
680 * gdb.mi/mi-threads-interrupt.c: New file.
681 * gdb.mi/mi-threads-interrupt.exp: New file.
682
61c6156d
SM
6832016-05-17 Simon Marchi <simon.marchi@ericsson.com>
684
685 PR gdb/18077
686 * gdb.mi/mi-async-run.exp: New file.
687 * gdb.mi/mi-async-run.c: New file.
688
67218854
TT
6892016-05-17 Tom Tromey <tom@tromey.com>
690 Manish Goregaokar <manishsmail@gmail.com>
691
692 * lib/rust-support.exp: New file.
693 * lib/gdb.exp (skip_rust_tests): New proc.
694 (build_executable_from_specs): Handle rust.
695 * lib/future.exp (gdb_find_rustc): New proc.
696 (gdb_default_target_compile): Handle rust.
697 * gdb.rust/expr.exp: New file.
698 * gdb.rust/generics.exp: New file.
699 * gdb.rust/generics.rs: New file.
700 * gdb.rust/methods.exp: New file.
701 * gdb.rust/methods.rs: New file.
702 * gdb.rust/modules.exp: New file.
703 * gdb.rust/modules.rs: New file.
704 * gdb.rust/simple.exp: New file.
705 * gdb.rust/simple.rs: New file.
706
c44af4eb
TT
7072016-05-17 Tom Tromey <tom@tromey.com>
708
709 * gdb.base/default.exp (set language): Add rust.
710
dcd1f979
TT
7112016-05-17 Tom Tromey <tom@tromey.com>
712
713 * gdb.gdb/unittest.exp: New file.
714
155b7f57
YQ
7152016-05-16 Yao Qi <yao.qi@linaro.org>
716
717 * gdb.base/batch-preserve-term-settings.exp: Remove variable
718 shell_prompt. Update shell_prompt_re.
719
8ddd5a6c
DE
7202016-05-12 Doug Evans <dje@google.com>
721
722 PR symtab/19999
723 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
724 $options when building executable.
725 * gdb.dwarf2/fission-loclists-pie.S: New file.
726 * gdb.dwarf2/fission-loclists-pie.exp: New file.
727
02e370d9
SM
7282016-05-04 Simon Marchi <simon.marchi@ericsson.com>
729
730 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
731 of [is_remote target],
732
8929ad8b
SM
7332016-05-04 Simon Marchi <simon.marchi@ericsson.com>
734
735 * lib/gdb.exp (use_gdb_stub): New procedure.
736
6c447423
DE
7372016-05-03 Yunlian Jiang <yunlian@google.com>
738 Doug Evans <dje@google.com>
739
740 PR symtab/19914
741 * gdb.dwarf2/dwp-sepdebug.c: New file.
742 * gdb.dwarf2/dwp-sepdebug.exp: New file.
743
444e826c
SM
7442016-05-02 Simon Marchi <simon.marchi@ericsson.com>
745
746 * gdb.base/detach.exp: Remove is_remote check.
747
740feeaa
SM
7482016-05-02 Simon Marchi <simon.marchi@ericsson.com>
749
750 * gdb.base/annota-input-while-running.exp: Don't check for
751 [is_remote target]. Enable annotations after running to main.
752 Remove unused "set test..." line.
753
9080ac9d
SM
7542016-04-28 Simon Marchi <simon.marchi@ericsson.com>
755
756 * gdb.trace/trace-enable-disable.exp: New file.
757 * gdb.trace/trace-enable-disable.c: New file.
758
952ebca5
SM
7592016-04-28 Simon Marchi <simon.marchi@ericsson.com>
760
761 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
762 use it in info sharedlibrary test.
763 * gdb.trace/ftrace-lock.exp: Likewise.
764 * gdb.trace/ftrace.exp: Likewise.
765 * gdb.trace/range-stepping.exp: Likewise.
766 * gdb.trace/trace-break.exp: Likewise.
767 * gdb.trace/trace-condition.exp: Likewise.
768 * gdb.trace/trace-mt.exp: Likewise.
769
d9019901
SM
7702016-04-27 Simon Marchi <simon.marchi@ericsson.com>
771
772 * lib/gdb.exp (gdb_load_shlibs): Rename to...
773 (gdb_load_shlib): ... this.
774 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
775 gdb_load_shlib.
776 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
777 * gdb.base/ctxobj.exp: Likewise.
778 * gdb.base/dprintf-pending.exp: Likewise.
779 * gdb.base/dso2dso.exp: Likewise.
780 * gdb.base/fixsection.exp: Likewise.
781 * gdb.base/gcore-relro.exp: Likewise.
782 * gdb.base/gdb1555.exp: Likewise.
783 * gdb.base/global-var-nested-by-dso.exp: Likewise.
784 * gdb.base/gnu-ifunc.exp: Likewise.
785 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
786 * gdb.base/jit-so.exp (one_jit_test): Likewise.
787 * gdb.base/pending.exp: Likewise.
788 * gdb.base/print-file-var.exp: Likewise.
789 * gdb.base/print-symbol-loading.exp: Likewise.
790 * gdb.base/shlib-call.exp: Likewise.
791 * gdb.base/shreloc.exp: Likewise.
792 * gdb.base/so-impl-ld.exp: Likewise.
793 * gdb.base/solib-disc.exp: Likewise.
794 * gdb.base/solib-nodir.exp: Likewise.
795 * gdb.base/solib-overlap.exp: Likewise.
796 * gdb.base/solib-symbol.exp: Likewise.
797 * gdb.base/solib-weak.exp (do_test): Likewise.
798 * gdb.base/sym-file.exp: Likewise.
799 * gdb.base/symtab-search-order.exp: Likewise.
800 * gdb.base/type-opaque.exp: Likewise.
801 * gdb.base/unload.exp: Likewise.
802 * gdb.base/watchpoint-solib.exp: Likewise.
803 * gdb.compile/compile.exp: Likewise.
804 * gdb.cp/gdb2384.exp: Likewise.
805 * gdb.cp/infcall-dlopen.exp: Likewise.
806 * gdb.cp/re-set-overloaded.exp: Likewise.
807 * gdb.fortran/library-module.exp: Likewise.
808 * gdb.opt/solib-intra-step.exp: Likewise.
809 * gdb.python/py-finish-breakpoint.exp: Likewise.
810 * gdb.python/py-shared.exp: Likewise.
811 * gdb.reverse/solib-precsave.exp: Likewise.
812 * gdb.reverse/solib-reverse.exp: Likewise.
813 * gdb.server/solib-list.exp: Likewise.
814 * gdb.threads/dlopen-libpthread.exp: Likewise.
815 * gdb.threads/tls-shared.exp: Likewise.
816 * gdb.threads/tls-so_extern.exp: Likewise.
817 * gdb.trace/change-loc.exp: Likewise.
818 * gdb.trace/ftrace-lock.exp: Likewise.
819 * gdb.trace/ftrace.exp: Likewise.
820 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
821 * gdb.trace/pending.exp: Likewise.
822 * gdb.trace/range-stepping.exp: Likewise.
823 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
824 (strace_info_marker): Likewise.
825 (strace_probe_marker): Likewise.
826 (strace_trace_on_same_addr): Likewise.
827 (strace_trace_on_diff_addr): Likewise.
828 * gdb.trace/trace-break.exp: Likewise.
829 * gdb.trace/trace-condition.exp: Likewise.
830 * gdb.trace/trace-mt.exp: Likewise.
831
fca4cfd9
SM
8322016-04-27 Simon Marchi <simon.marchi@ericsson.com>
833
834 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
835 result of gdb_remote_download.
836 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
837 * gdb.base/dso2dso.exp: Likewise.
838 * gdb.base/global-var-nested-by-dso.exp: Likewise.
839 * gdb.base/print-file-var.exp: Likewise.
840 * gdb.base/shlib-call.exp: Likewise.
841 * gdb.base/shreloc.exp: Likewise.
842 * gdb.base/solib-overlap.exp: Likewise.
843 * gdb.base/solib-weak.exp (do_test): Likewise.
844 * gdb.base/unload.exp: Likewise.
845
11cf4ffb
YQ
8462016-04-27 Yao Qi <yao.qi@linaro.org>
847
848 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
849 exists.
850
3e2e34f8
KB
8512016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
852
853 * vla-type.exp: Print structure from toplevel.
854
8f07e298
BH
8552016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
856
857 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
858 of dynamic types.
859 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
860 of dynamic types.
861
9920b434
BH
8622016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
863
864 * gdb.fortran/vla-type.f90: New file.
865 * gdb.fortran/vla-type.exp: New file.
866
f3abeff5
YQ
8672016-04-25 Yao Qi <yao.qi@linaro.org>
868
869 * gdb.base/branch-to-self.c: New file.
870 * gdb.base/branch-to-self.exp: New file.
871
0a5d52f0
YQ
8722016-04-22 Yao Qi <yao.qi@linaro.org>
873
874 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
875 more after $hex.
876
495346f6
YQ
8772016-04-22 Yao Qi <yao.qi@linaro.org>
878
879 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
880 * gdb.base/annota3.exp: Likewise.
881
4a7e075c
YQ
8822016-04-22 Yao Qi <yao.qi@linaro.org>
883
884 * gdb.reverse/step-precsave.exp: Do one step and test program
885 stops in "callee" and do multiple steps until program goes out
886 of "callee".
887 * gdb.reverse/step-reverse.exp: Likewise.
888
5b061e98
YQ
8892016-04-22 Yao Qi <yao.qi@linaro.org>
890
891 * gdb.trace/signal.exp: Also pass if
892 $tracepoint_hits($i) > $iterations.
893
5c5dc57f
YQ
8942016-04-22 Yao Qi <yao.qi@linaro.org>
895
896 * gdb.trace/signal.c: New file.
897 * gdb.trace/signal.exp: New file.
898
a55411b9
DE
8992016-04-19 Doug Evans <xdje42@gmail.com>
900
901 * gdb.base/bad-file.exp: New file.
902
a22df60a
MG
9032016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
904
905 * gdb.dwarf2/implref.exp: New file.
906
0c13f7e5
BH
9072016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
908
909 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
910 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
911 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
912 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
913 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
914 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
915 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
916 * lib/fortran.exp (fortran_int4): New procedure.
917 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
918 (fortran_logical4): Likewise.
919
9b9b09e9
BH
9202016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
921
922 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
923
a14d1f4d
BH
9242016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
925
926 * lib/compiler.c: Add Intel specific preprocessor macros.
927 * lib/compiler.cc: Likewise.
25d49b86 928
7d49b1d0
LM
9292016-04-13 Luis Machado <lgustavo@codesourcery.com>
930
931 * gdb.server/connect-with-no-symbol-file.c: New file.
932 * gdb.server/connect-with-no-symbol-file.exp: New file.
933
8392fa22
SM
9342016-04-13 Simon Marchi <simon.marchi@ericsson.com>
935
936 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
937
8c4c4aeb
SM
9382016-04-13 Simon Marchi <simon.marchi@ericsson.com>
939
940 * boards/gdbserver-base.exp (${board}_download): Copy source file to
941 standard output directory.
942
45e3745e
AT
9432016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
944
945 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
946
e26b7e41
MM
9472016-04-13 Markus Metzger <markus.t.metzger@intel.com>
948
949 * gdb.btrace/instruction_history.c (loop): Add declaration.
950
8ce09462
AT
9512016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
952
953 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
954
2e88a1ea
SM
9552016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
956
957 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
958 parentheses to print.
959 (continue_handler): Likewise.
960
f48e22e3
SM
9612016-04-08 Simon Marchi <simon.marchi@ericsson.com>
962
963 * gdb.server/solib-list.exp: Remove is_remote check.
964 Pass shlib= to gdb_compile. Don't link shared library with
965 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
966 Run binary filename through "readlink -f" on the target.
967
096be756
PA
9682016-04-08 Pedro Alves <palves@redhat.com>
969
970 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
971 interpreter filename as argument to gdbserver_spawn.
972 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
973 Return empty if $last_loaded_file does not exist.
974
06500533
JK
9752016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
976
977 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
978 * gdb.base/jit-main.c: Use exit after usage.
979
2d35e871
JK
9802016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
981
982 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
983 GDBHISTSIZE prior to the tests.
984 * gdb.base/gdbinit-history.exp: Likewise.
985
9862016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
987
988 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
989 instead of build_executable. Use gdb_load_shlibs.
990
c8064e7e
YQ
9912016-04-07 Yao Qi <yao.qi@linaro.org>
992
993 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
994 Execute "si" command.
995
bde47561
YQ
9962016-04-07 Yao Qi <yao.qi@linaro.org>
997
998 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
999 number instead of the comments on some line.
1000
b16f8a3b
DB
10012016-04-06 Don Breazeal <donb@codesourcery.com>
1002
1003 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
1004 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
1005
c2f901df
SM
10062016-04-06 Simon Marchi <simon.marchi@ericsson.com>
1007
1008 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
1009 standard_output_file. Remove unused binfile variable.
1010
ac17fda0
CU
10112016-04-05 Catalin Udma <catalin.udma@freescale.com>
1012
1013 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
1014 * gdb.python/py-mi-objfile.exp: Match "list main" output
1015 in console format.
1016
03a8c4df
SM
10172016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
1018
1019 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
1020 absolute.
1021
6e774b13
SM
10222016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1023
1024 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
1025 absolute.
1026 * gdb.trace/ftrace.exp: Likewise.
1027 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
1028 targets as well.
1029 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
1030 (gdb_load_shlibs): Copy libraries to test directory when testing
1031 natively. Only set solib-search-path if testing remotely.
1032 * lib/mi-support.exp (mi_load_shlibs): Likewise.
1033
7817ea46
SM
10342016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1035
1036 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
1037 gdb_download. Use it even if the target is not remote.
1038 * gdb.base/jit.exp (compile_jit_test): Likewise.
1039 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
1040 output directory if the destination board is local, otherwise use
1041 the standard remote_download from DejaGnu.
1042 (gdb_download): Remove.
1043 (gdb_load_shlibs): Use gdb_remote_download instead of
1044 gdb_download.
1045 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1046 Use gdb_remote_download instead of gdb_download. Use it even if
1047 the target is not remote.
1048 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
1049 instead of gdb_download.
1050
7beb7f68
SM
10512016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
1052
1053 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
1054 (test_insert_delete_modify): Call mi_load_shlibs before trying to
1055 run.
1056
cc63428a
AV
10572016-04-01 Artemiy Volkov <artemiyv@acm.org>
1058
1059 PR gdb/19820
1060 * gdb.base/printcmds.exp: Add artificial arrays tests.
1061
64cdf930
PA
10622016-03-31 Pedro Alves <palves@redhat.com>
1063
1064 PR gdb/19858
1065 * gdb.base/jit-main.c: Include unistd.h.
1066 (ATTACH): Define to 0 if not already defined.
1067 (wait_for_gdb, mypid): New globals.
1068 (WAIT_FOR_GDB): New macro.
1069 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
1070 some breakpoint locations.
1071 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
1072 New procedures.
1073 (one_jit_test): Add REATTACH parameter, and handle it. Use
1074 continue_to_test_location.
1075 (top level): Test attach, and adjusts calls to one_jit_test.
1076
40dea8cb
PA
10772016-03-31 Pedro Alves <palves@redhat.com>
1078
1079 PR gdb/19858
1080 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
1081 BINSUFFIX parameter, and handle it.
1082 (top level): Adjust calls compile_jit_test.
1083
e7ea3ec7
CU
10842016-03-31 Catalin Udma <catalin.udma@freescale.com>
1085
1086 PR python/19743
1087 * gdb.python/py-mi-events-gdb.py: New file.
1088 * gdb.python/py-mi-events.c: New file.
1089 * gdb.python/py-mi-events.exp: New file.
1090
e6359af3
YQ
10912016-03-30 Yao Qi <yao.qi@linaro.org>
1092
1093 * gdb.reverse/until-precsave.exp: Match function name only.
1094 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
1095 Move malloc to a condition block.
1096 * gdb.reverse/until-reverse.exp: Match function name only.
1097
a4105d04
MK
10982016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
1099
1100 * gdb.trace/ftrace.exp: Set arg0exp for s390.
1101 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
1102 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
1103 variable for GPR 0 instead of assuming it is register 0.
1104 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
1105 * lib/trace-support.exp: Add s390 registers.
1106
bfa6adb9
YQ
11072016-03-29 Yao Qi <yao.qi@linaro.org>
1108
1109 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
1110
1e6697ea
YQ
11112016-03-24 Yao Qi <yao.qi@linaro.org>
1112
1113 * gdb.reverse/break-reverse.exp: Add quotation mark in the
1114 test message.
1115
64bcd522
AA
11162016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1117
1118 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
1119 maintaining separate logic for constructing the output path.
1120
7868401b
DB
11212016-03-16 Don Breazeal <donb@codesourcery.com>
1122
1123 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1124 Retry fork and waitpid on interrupted system call errors.
1125 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1126 Use with_timeout_factor to increase timeout by factor of 10.
1127
1cafadb4
DB
11282016-03-15 Don Breazeal <donb@codesourcery.com>
1129
1130 * gdb.cp/scope-err.cc: New test program.
1131 * gdb.cp/scope-err.exp: New test script.
1132 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
1133 lines and "set breakpoint here" comment.
1134 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
1135 Fixed some whitespace and format issues.
1136 * gdb.mi/mi-linespec-err-cp.cc: New test program.
1137 * gdb.mi/mi-linespec-err-cp.exp: New test script.
1138
81516450
DE
11392016-03-15 Doug Evans <dje@google.com>
1140
1141 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
1142 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
1143 All callers updated. Add tests for enums, mixed flags register.
1144
aa52b601
DE
11452016-03-15 Doug Evans <dje@google.com>
1146
1147 * gdb.base/skip.c (main): Call test_skip_file_and_function.
1148 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
1149
fa4ff313
SM
11502016-03-14 Simon Marchi <simon.marchi@ericsson.com>
1151
1152 * gdb.base/default.exp: Add $_as_string to the list of expected
1153 convenience functions.
1154
f2403c39
AB
11552016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
1156
1157 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1158
f2f3ccb9
SM
11592016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1160
1161 * gdb.python/py-as-string.exp: New file.
1162 * gdb.python/py-as-string.c: New file.
1163
00dbd492
PA
11642016-03-09 Pedro Alves <palves@redhat.com>
1165
1166 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1167 signal" -> "Thread NN received signal" output change.
1168 * gdb.threads/ia64-sigill.exp: Likewise.
1169 * gdb.threads/linux-dp.exp: Likewise.
1170 * gdb.threads/manythreads.exp: Likewise.
1171 * gdb.threads/pending-step.exp: Likewise.
1172 * gdb.threads/print-threads.exp: Likewise.
1173 * gdb.threads/sigstep-threads.exp: Likewise.
1174 * gdb.threads/staticthreads.exp: Likewise.
1175 * gdb.threads/tls.exp: Likewise.
1176
1e6697ea
YQ
11772016-03-09 Pedro Alves <palves@redhat.com>
1178
1179 * gdb.base/command-line-input.exp: New file.
1180
b04fd3be
MK
11812016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1182
1183 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1184 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1185 * gdb.trace/pending.exp: Accept leading dot before function name.
1186 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1187 * lib/trace-support.exp: Set registers for ppc.
1188
98fa59e9
MK
11892016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1190
1191 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1192 use it for disassembly; accept .main in addition to main in backtrace.
1193
f77198c8
MK
11942016-03-09 Wei-cheng Wang <cole945@gmail.com>
1195 Marcin Kościelnicki <koriakin@0x04.net>
1196
1197 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1198 (gdb_recursion_test_ptr): New global variable.
1199 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1200 gdb_recursion_test.
1201 (gdb_c_test): Ditto.
1202
ba84e0da
MK
12032016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1204
1205 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1206 ordering.
1207
4366d36e
MK
12082016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1209
1210 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1211 (bar): Add bar_start_lbl label.
1212 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1213 of foo/bar for emitting DWARF and tracing.
1214
5eb264df
SDJ
12152016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1216
1217 * analyze-racy-logs.py: Set executable bit.
1218
fb6a751f
SDJ
12192016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1220
1221 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1222 (CHECK_TARGET_TMP): Likewise.
1223 (check-single-racy): New rule.
1224 (check-parallel-racy): Likewise.
1225 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1226 (do-check-parallel-racy): New rule.
1227 (check-racy/%.exp): Likewise.
1228 * README (Racy testcases): New section.
1229 * analyze-racy-logs.py: New file.
1230
bdf7e230
DE
12312016-03-03 Doug Evans <dje@google.com>
1232
1233 * gdb.base/skip.exp: Use with_test_prefix.
1234
4719d415
YQ
12352016-03-03 Yao Qi <yao.qi@linaro.org>
1236
1237 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1238 Invoke step_over_syscall "clone" and break_cond_on_syscall
1239 "clone".
1240 * gdb.base/step-over-clone.c: New file.
1241
ea507862
YQ
12422016-03-03 Yao Qi <yao.qi@linaro.org>
1243
1244 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1245 code format.
1246
8fc8cbda
YQ
12472016-03-03 Yao Qi <yao.qi@linaro.org>
1248
1249 * gdb.base/disp-step-fork.c: Rename to ...
1250 * gdb.base/step-over-fork.c: ... it. New file.
1251 * gdb.base/disp-step-vfork.c: Rename to ...
1252 * gdb.base/step-over-vfork.c: ... it. New file.
1253 * gdb.base/disp-step-syscall.exp: Rename to ...
1254 * gdb.base/step-over-syscall.exp: ... it. New file.
1255 (disp_step_cross_syscall): Rename to ...
1256 (step_over_syscall): ... it.
1257
92fa70b0
YQ
12582016-03-03 Yao Qi <yao.qi@linaro.org>
1259
1260 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1261 If target supports condition evaluation on target, invoke
1262 break_cond_on_syscall for fork and vfork.
1263
e197ad3c
YQ
12642016-03-03 Yao Qi <yao.qi@linaro.org>
1265
1266 * gdb.base/disp-step-syscall.exp: Don't invoke
1267 support_displaced_stepping.
1268 (disp_step_cross_syscall): Test with displaced stepping off and
1269 on if supported.
1270
0b47da9f
YQ
12712016-03-03 Yao Qi <yao.qi@linaro.org>
1272
1273 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1274 proc.
1275 (setup): New proc.
1276 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1277 and setup.
1278
065ab6dc
BH
12792016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1280
1281 * gdb.fortran/vla-history.exp: Remove breakpoint.
1282
07e448ad 12832016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1284
25d49b86
PA
1285 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1286 exceeds timeout.
07e448ad 1287
9ac2d526 12882016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1289
25d49b86
PA
1290 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1291 breakpoint.
9ac2d526 1292
17807369
BH
12932016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1294
1295 * gdb.mi/vla.f90: Nullify pointer after declaration.
1296
86e501af
PA
12972016-03-01 Pedro Alves <palves@redhat.com>
1298
1299 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1300
1e903e32
PA
13012016-03-01 Pedro Alves <palves@redhat.com>
1302
1303 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1304 before anything else.
1305 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1306 _GNU_SOURCE here.
1307 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1308 before anything else.
1309 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1310
6ccb54e2
PA
13112016-03-01 Pedro Alves <palves@redhat.com>
1312
1313 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1314
30ca9da1
YQ
13152016-03-01 Yao Qi <yao.qi@linaro.org>
1316
1317 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1318 prepare_for_testing.
1319
dc856b38
YQ
13202016-03-01 Yao Qi <yao.qi@linaro.org>
1321
1322 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1323
4a932159
AA
13242016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1325
1326 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1327 manually constructing the output path.
1328
f2489477
AA
13292016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1330
1331 * gdb.arch/s390-stackless.S: New.
1332 * gdb.arch/s390-stackless.exp: New.
1333
38899f16
IB
13342016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1335
1336 * gdb.dlang/circular.c: New file.
1337 * gdb.dlang/circular.exp: New file.
1338
9fde51ed
YQ
13392016-02-26 Yao Qi <yao.qi@linaro.org>
1340
1341 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1342 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1343 (testcases): Update.
1344
ce90fefe
YQ
13452016-02-26 Yao Qi <yao.qi@linaro.org>
1346
1347 * gdb.reverse/aarch64.c: Rename to ...
1348 * gdb.reverse/insn-reverse.c: ... it.
1349 * gdb.reverse/aarch64.exp: Rename to ...
1350 * gdb.reverse/insn-reverse.exp: ... it.
1351
3263bceb
YQ
13522016-02-26 Yao Qi <yao.qi@linaro.org>
1353
1354 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1355 (testcase_ftype): New.
1356 (testcases): New array.
1357 (n_testcases): New.
1358 (main): Call each element in testcases.
1359 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1360 (read_testcase): New.
1361 Do the tests in a loop.
1362
6cb59ff1
YQ
13632016-02-25 Yao Qi <yao.qi@linaro.org>
1364
1365 * gdb.base/branches.c: Remove.
1366
ae91f625
MK
13672016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1368
1369 PR gdb/13808
1370 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1371
678b48b7
MK
13722016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1373
1374 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1375
7337a6f2
MK
13762016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1377
1378 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1379 change x86_64 call_insn to 'callq'.
1380
861ca91f
AT
13812016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1382
1383 * gdb.trace/tfile-avx.c: Move to...
1384 * gdb.trace/tracefile-pseudo-reg.c: Here.
1385 * gdb.trace/tfile-avx.exp: Move to...
1386 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1387
bf74e428
GB
13882016-02-24 Gary Benson <gbenson@redhat.com>
1389
1390 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1391 message on attach.
1392
cce0e923
DE
13932016-02-23 Doug Evans <dje@google.com>
1394
1395 * gdb.base/skip.c (test_skip): New function.
1396 (end_test_skip_file_and_function): New function.
1397 (test_skip_file_and_function): New function.
1398 * gdb.base/skip1.c (test_skip): New function.
1399 (skip1_test_skip_file_and_function): New function.
1400 * gdb.base/skip.exp: Add tests for new skip options.
1401 * gdb.base/skip-solib.exp: Update expected output.
1402 * gdb.perf/skip-command.cc: New file.
1403 * gdb.perf/skip-command.exp: New file.
1404 * gdb.perf/skip-command.py: New file.
1405
4000e47e
MK
14062016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1407
1408 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1409 info registers pattern.
1410
24f75ead
IB
14112016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1412
1413 * lib/future.exp: Add D support.
1414 (gdb_find_gdc): New proc.
1415 (gdb_default_target_compile): Add D support.
1416
fbb7bcbe
WW
14172016-02-18 Wei-cheng Wang <cole945@gmail.com>
1418
1419 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1420 user+system time.
1421 (trace_speed_test): Determine the iteration count for a time
1422 between 15..30 seconds.
1423
012b3a21
WT
14242016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1425
1426 * gdb.arch/i386-mpx-sigsegv.c: New file.
1427 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1428 * gdb.arch/i386-mpx-simple_segv.c: New file.
1429 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1430
2d5189bd
YQ
14312016-02-18 Yao Qi <yao.qi@linaro.org>
1432
1433 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1434 Don't call setup_kfail.
1435
40fb20d0
YQ
14362016-02-18 Yao Qi <yao.qi@linaro.org>
1437
1438 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1439 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1440
21b1f8d2
DE
14412016-02-16 Doug Evans <dje@google.com>
1442
1443 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1444 * gdb.base/skip1.c: Ditto.
1445 * gdb.base/skip.exp: Whitespace cleanup.
1446
4041ed77
DB
14472016-02-16 Don Breazeal <donb@codesourcery.com>
1448
1449 PR remote/19496
1450 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1451 Remove kfail for PR remote/19496.
1452
c4ef31bf
SM
14532016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1454
1455 * lib/gdb.exp (standard_temp_file): Return a path specific to
1456 the runtest invocation.
1457
266b65b3
SM
14582016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1459
1460 * gdb.trace/save-trace.exp: Change relative path to be in the
1461 standard output directory.
1462
a7a0a6a9
JK
14632016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1464
1465 * gdb.arch/i386-prologue.c: Add missing prototypes.
1466
c99dbb42
JK
14672016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1468
1469 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1470 * gdb.arch/i386-prologue.exp: Likewise.
1471 * gdb.arch/i386-size.exp: Likewise.
1472
aa480355
SM
14732016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1474
1475 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1476 define object file path.
1477 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1478 file path.
1479 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1480 standard_output_file to define binfile.
1481
ba881f50
JK
14822016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1483
1484 Fix compatibility with recent gfortran-5.3.1.
1485 * gdb.fortran/vla-history.exp (print vla1 allocated)
1486 (print vla2 allocated, print $2, print $3): Remove
1487 (print $4): Rename to ...
1488 (print $2): ... here.
1489 (print $9): Rename to ...
1490 (print $5): ... here.
1491 (print $10): Rename to ...
1492 (print $6): ... here.
1493 * gdb.fortran/vla.f90: Add pvla initialization.
1494
e9fb005c
JK
14952016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1496
1497 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1498 New test.
1499 * gdb.fortran/vla-value-sub.exp: Likewise.
1500
e44e00ff
MK
15012016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1502
1503 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1504
97e94151
SM
15052016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1506
1507 * i386-biarch-core.exp: Define corefile using
1508 standard_output_file.
1509
01113bc1
YQ
15102016-02-12 Yao Qi <yao.qi@linaro.org>
1511
1512 * gdb.arch/arm-single-step-kernel-helper.c: New.
1513 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1514
33b4777c
MM
15152016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1516
1517 * gdb.btrace/tailcall-only.exp: New.
1518 * gdb.btrace/tailcall-only.c: New.
1519 * gdb.btrace/x86_64-tailcall-only.S: New.
1520 * gdb.btrace/i686-tailcall-only.S: New.
1521
acc23c11
PA
15222016-02-11 Pedro Alves <palves@redhat.com>
1523
1524 * README (Parallel testing): Add missing double quotes.
1525
e352bf0a
PA
15262016-02-11 Pedro Alves <palves@redhat.com>
1527
1528 * README (Parallel testing): New section.
1529 (GDB_PARALLEL): Rewrite.
1530 (FORCE_PARALLEL): Document.
1531
9f5fed78
MK
15322016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1533
1534 * gdb.trace/tfile-avx.c: New test.
1535 * gdb.trace/tfile-avx.exp: New test.
1536
9ef9e6a6
KS
15372016-02-09 Keith Seitz <keiths@redhat.com>
1538
1539 PR breakpoints/19546
1540 * gdb.base/infcall-exec.c: New file.
1541 * gdb.base/infcall-exec2.c: New file.
1542 * gdb.base/infcall-exec.exp: New file.
1543
a96e36da
KS
15442016-02-09 Keith Seitz <keiths@redhat.com>
1545
1546 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1547 (toplevel): Call test_bkpt_address.
1548
9f61929f
KS
15492016-02-09 Keith Seitz <keiths@redhat.com>
1550
1551 PR python/19506
1552 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1553 (toplevel): Call test_bkpt_address.
1554
1e94266c
SM
15552016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1556
1557 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1558 to AC_OUTPUT.
1559 * configure: Regenerate.
1560
2a7f3dff
PA
15612016-02-09 Pedro Alves <palves@redhat.com>
1562
1563 PR breakpoints/19548
1564 * gdb.base/execl-update-breakpoints.c (some_function): New
1565 function.
1566 (main): Call it.
1567 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1568 Tighten expected GDB output.
1569
2151ccc5
SM
15702016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1571
1572 * Makefile.in (ALL_SUBDIRS): Remove.
1573 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1574 (distclean maintainer-clean realclean): Likewise.
1575 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1576 * configure: Regenerate.
1577 * gdb.ada/Makefile.in: Delete.
1578 * gdb.arch/Makefile.in: Likewise.
1579 * gdb.asm/Makefile.in: Likewise.
1580 * gdb.base/Makefile.in: Likewise.
1581 * gdb.btrace/Makefile.in: Likewise.
1582 * gdb.cell/Makefile.in: Likewise.
1583 * gdb.compile/Makefile.in: Likewise.
1584 * gdb.cp/Makefile.in: Likewise.
1585 * gdb.disasm/Makefile.in: Likewise.
1586 * gdb.dlang/Makefile.in: Likewise.
1587 * gdb.dwarf2/Makefile.in: Likewise.
1588 * gdb.fortran/Makefile.in: Likewise.
1589 * gdb.gdb/Makefile.in: Likewise.
1590 * gdb.go/Makefile.in: Likewise.
1591 * gdb.guile/Makefile.in: Likewise.
1592 * gdb.java/Makefile.in: Likewise.
1593 * gdb.linespec/Makefile.in: Likewise.
1594 * gdb.mi/Makefile.in: Likewise.
1595 * gdb.modula2/Makefile.in: Likewise.
1596 * gdb.multi/Makefile.in: Likewise.
1597 * gdb.objc/Makefile.in: Likewise.
1598 * gdb.opencl/Makefile.in: Likewise.
1599 * gdb.opt/Makefile.in: Likewise.
1600 * gdb.pascal/Makefile.in: Likewise.
1601 * gdb.perf/Makefile.in: Likewise.
1602 * gdb.python/Makefile.in: Likewise.
1603 * gdb.reverse/Makefile.in: Likewise.
1604 * gdb.server/Makefile.in: Likewise.
1605 * gdb.stabs/Makefile.in: Likewise.
1606 * gdb.threads/Makefile.in: Likewise.
1607 * gdb.trace/Makefile.in: Likewise.
1608 * gdb.xml/Makefile.in: Likewise.
1609 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1610 GDB_PARALLEL.
1611 (standard_output_file): Remove check for GDB_PARALLEL, always
1612 return path in outputs/$subdir/$testname.
1613
437277d4
SM
16142016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1615
1616 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1617 (site.exp): Assign abs_srcdir to tcl's srcdir.
1618
31d913c7
YQ
16192016-02-04 Yao Qi <yao.qi@linaro.org>
1620
1621 * gdb.base/foll-exec-mode.c: Include limits.h.
1622 (main): Add parameters argc and argv. Get directory from
1623 argv[0].
1624 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1625 compilation.
1626 * gdb.base/foll-exec.c: Include limits.h.
1627 (main): Add parameters argc and argv.
1628 Get directory from argv[0].
1629 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1630 Adjust tests on the number of lines as source code changed.
1631 * gdb.base/foll-vfork-exit.c: Include limits.h.
1632 (main): Add one line of statement before vfork.
1633 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1634 (main): Add parameters argc and argv. Get directory from
1635 argv[0].
1636 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1637 (setup_gdb): Set tbreak to skip some source lines.
1638 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1639 (main): Add parameters argc and argv. Get directory from
1640 argv[0].
1641 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1642 compilation.
1643 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1644 (main): Add parameters argc and argv. Get directory from
1645 argv[0].
1646 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1647 compilation.
1648
9482b9fb
DE
16492016-02-01 Doug Evans <dje@google.com>
1650
1651 * gdb.base/skip.exp: Clean up multiple references to same test name.
1652
6b2e4f10
PA
16532016-02-01 Pedro Alves <palves@redhat.com>
1654
ccb6afd6 1655 PR remote/19496
6b2e4f10
PA
1656 * gdb.threads/forking-threads-plus-breakpoint.exp
1657 (displaced_stepping_supported): New global.
1658 (probe_displaced_stepping_support): New procedure.
1659 (do_test): Add 'displaced' parameter, and use it.
1660 (top level): Check for displaced stepping support. Add displaced
1661 stepping on/off testing axis.
1662
37a8db1a
AB
16632016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1664
1665 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1666 pointer. Don't perform further tests on the unassociated pointer
1667 if the first test fails.
1668
5fdf6324
AB
16692016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1670
1671 * gdb.base/max-value-size.c: New file.
1672 * gdb.base/max-value-size.exp: New file.
1673 * gdb.base/huge.exp: Disable max-value-size for this test.
1674
935c6144
IB
16752016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1676
1677 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1678
7fe8399d
YQ
16792016-01-28 Yao Qi <yao.qi@linaro.org>
1680
1681 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1682
a2077e25
PA
16832016-01-25 Pedro Alves <palves@redhat.com>
1684
1685 PR threads/19461
1686 * gdb.base/fork-running-state.c: New file.
1687 * gdb.base/fork-running-state.exp: New file.
1688
1d2736d4
PA
16892016-01-25 Pedro Alves <palves@redhat.com>
1690
1691 PR gdb/19494
1692 * gdb.base/catch-fork-kill.c: New file.
1693 * gdb.base/catch-fork-kill.exp: New file.
1694
f1da4b11
PA
16952016-01-25 Pedro Alves <palves@redhat.com>
1696
1697 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1698 Delete, moved to lib/gdb.exp.
1699 * gdb.threads/forking-threads-plus-breakpoint.exp
1700 (foreach_with_prefix): Likewise.
1701 * gdb.threads/process-dies-while-handling-bp.exp
1702 (foreach_with_prefix): Likewise.
1703 * lib/gdb.exp (foreach_with_prefix): New procedure.
1704
45f38546
MK
17052016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1706
1707 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1708 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1709
dc29a1ce
MK
17102016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1711
1712 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1713 endian targets.
1714
092127d7
JK
17152016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1716 Pedro Alves <palves@redhat.com>
1717
1718 Fix testsuite compatibility with Guile.
1719 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1720 number.
1721
31d765d3
JK
17222016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1723
1724 Fix testsuite compatibility with Guile.
1725 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1726 (thread 1): New test for backtrace through signal handler.
1727
1ac78c04
YQ
17282016-01-22 Yao Qi <yao.qi@linaro.org>
1729
1730 PR testsuite/19491
1731 * gdb.base/multi-forks.c: Include
1732 ../lib/unbuffer_output.c
1733 (main): Call gdb_unbuffer_output.
1734
4f5946a8
DE
17352016-01-21 Doug Evans <dje@google.com>
1736
1737 * lib/ada.exp (gdb_compile_ada): Fix typo.
1738
305e13e6
JB
17392016-01-21 Joel Brobecker <brobecker@adacore.com>
1740
1741 * gdb.base/break-fun-addr.exp: New file.
1742 * gdb.base/break-fun-addr1.c: New file.
1743 * gdb.base/break-fun-addr2.c: New file.
1744
5f5dfff6
SM
17452016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1746
1747 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1748 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1749 enum flag values.
1750
fd356fa2
AA
17512016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1752
1753 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1754 when GDB can not set the vector return value. Add more comments
1755 for clarification.
1756
9df22175
AT
17572016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1758
1759 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1760 command.
1761
41d1845e
SM
17622016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1763
1764 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1765
01ac6840
SM
17662016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1767
1768 * Makefile.in (check-single): Pass --status to runtest.
1769 (check/%.exp): Likewise.
1770
17712016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1772
1773 * Makefile.in (check-parallel): Propagate return code from make
1774 do-check-parallel.
1775
bd0a71fa
MK
17762016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1777
1778 * gdb.trace/ftrace.exp: Fix expected message on continue.
1779 * gdb.trace/pending.exp: Fix expected message on continue.
1780 * gdb.trace/trace-break.exp: Fix expected message on continue.
1781
8bcbad33
SM
17822016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1783
1784 * lib/gdb.exp (gdb_test): Remove unused global references.
1785
f303dbd6
PA
17862016-01-18 Pedro Alves <palves@redhat.com>
1787
1788 * gdb.base/async-shell.exp: Adjust expected output.
1789 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1790 * gdb.base/siginfo-thread.exp: Adjust expected output.
1791 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1792 * gdb.java/jnpe.exp: Adjust expected output.
1793 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1794 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1795 * gdb.threads/leader-exit.exp: Adjust expected output.
1796 * gdb.threads/manythreads.exp: Adjust expected output.
1797 * gdb.threads/pthreads.exp: Adjust expected output.
1798 * gdb.threads/schedlock.exp: Adjust expected output.
1799 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1800 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1801 expected output.
1802 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1803 output.
1804 * gdb.threads/sigthread.exp: Adjust expected output.
1805 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1806
b2789696
YQ
18072016-01-18 Yao Qi <yao.qi@linaro.org>
1808
1809 * gdb.guile/scm-section-script.c: Replace @progbits with
1810 %progbits.
1811 * gdb.python/py-section-script.c: Likewise.
1812
71ef29a8
PA
18132016-01-15 Pedro Alves <palves@redhat.com>
1814
1815 * gdb.multi/tids.exp: Test star wildcard ranges.
1816
3f5b7598
PA
18172016-01-15 Pedro Alves <palves@redhat.com>
1818
1819 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1820 command from "thread apply" invocation.
1821 (thr_apply_info_thr_invalid): Default the expected output to the
1822 input tid list.
1823 (top level): Add tests that use convenience variables. Add tests
1824 for "thread apply" with a valid TID list, but missing the command.
1825
663f6d42
PA
18262016-01-13 Pedro Alves <palves@redhat.com>
1827
1828 * gdb.base/default.exp: Expect $_gthread as well.
1829 * gdb.multi/tids.exp: Test $_gthread.
1830 * gdb.threads/thread-specific.exp: Test $_gthread.
1831
c84f6bbf
PA
18322016-01-13 Pedro Alves <palves@redhat.com>
1833
1834 * gdb.multi/tids.exp: Test "info threads -gid".
1835
22a02324
PA
18362016-01-13 Pedro Alves <palves@redhat.com>
1837
1838 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1839 Breakpoint.thread.
1840 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1841
5d5658a1
PA
18422016-01-07 Pedro Alves <palves@redhat.com>
1843
1844 * gdb.base/break.exp: Adjust to output changes.
1845 * gdb.base/hbreak2.exp: Likewise.
1846 * gdb.base/sepdebug.exp: Likewise.
1847 * gdb.base/watch_thread_num.exp: Likewise.
1848 * gdb.linespec/keywords.exp: Likewise.
1849 * gdb.multi/info-threads.exp: Likewise.
1850 * gdb.threads/thread-find.exp: Likewise.
1851 * gdb.multi/tids.c: New file.
1852 * gdb.multi/tids.exp: New file.
1853
84654457
PA
18542016-01-13 Pedro Alves <palves@redhat.com>
1855
1856 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1857
e3940304
PA
18582016-01-13 Pedro Alves <palves@redhat.com>
1859
1860 * gdb.base/default.exp: Expect $_inferior as well.
1861 * gdb.multi/base.exp: Test $_inferior.
1862
a911d87a
PA
18632016-01-13 Pedro Alves <palves@redhat.com>
1864
1865 PR breakpoints/19388
1866 * gdb.base/catch-signal-siginfo-cond.c: New file.
1867 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1868
82075af2
JS
18692016-01-12 Josh Stone <jistone@redhat.com>
1870 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1871
1872 * gdb.base/catch-syscall.c (do_execve): New variable.
1873 (main): Conditionally trigger an execve.
1874 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1875 (test_catch_syscall_execve): New, check entry/return across execve.
1876 (do_syscall_tests): Call test_catch_syscall_execve.
1877
e46eeedd
PA
18782016-01-12 Pedro Alves <palves@redhat.com>
1879
1880 * gdb.base/random-signal.exp (do_test): New procedure, with body
1881 of testcase moved in.
1882
01d8c27e
JK
18832016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1884 Pedro Alves <palves@redhat.com>
1885
1886 * gdb.base/funcargs.exp (finish from indirectly called function):
1887 Reintroduce the case for 'First'.
1888
9a706302
JK
18892016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1890 Pedro Alves <palves@redhat.com>
1891
1892 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1893 (tcatch_vfork_then_child_follow_exec)
1894 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1895 identification.
1896
c0ecb95f
JK
18972016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1898
1899 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1900 and repeats to unlimited.
1901 * gdb.python/py-value.exp: Likewise.
1902 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1903 and repeats to unlimited.
1904
6cfc1fcb
JK
19052016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1906
1907 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1908 and reordering the functions.
1909 * gdb.multi/hangout.c: Likewise.
1910 * gdb.multi/hello.c: Likewise.
1911
582a1b00
SM
19122016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1913
1914 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1915 absolute.
1916 (SingleStatisticTestResult.report): Use dict.keys instead of
1917 dict.iterkeys.
1918
79bc59cb
PA
19192016-01-06 Pedro Alves <palves@redhat.com>
1920
1921 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1922
43368e1d
MM
19232016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1924
1925 * gdb.btrace/dlopen.exp: New.
1926 * gdb.btrace/dlopen.c: New.
1927 * gdb.btrace/dlopen-dso.c: New.
1928
79fad5b8
SL
19292015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1930
1931 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1932 PATTERN argument is optional.
1933
ab8314b3
JB
19342015-12-24 Joel Brobecker <brobecker@adacore.com>
1935
1936 * lib/ada.exp (target_compile_ada_from_dir): New function.
1937 (gdb_compile_ada): Reimplement avoiding the use of project files.
1938 * gdb.ada/gnat_ada.gpr: Delete.
1939 * gdb.ada/cond_lang.exp: Adjust test to make path before
1940 filename optional.
1941 * gdb.ada/small_reg_param.exp: Likewise.
1942
fe33faff
SM
19432015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1944
1945 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1946
6d265cb4
TP
19472015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1948
1949 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1950 case.
1951
10125099
SM
19522015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1953
1954 * gdb.base/break.exp: Remove dead code.
1955 * gdb.base/sepdebug.exp: Likewise.
1956
3ca22649
SM
19572015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1958
1959 * gdb.asm/asm-source.exp: Remove HP-UX references.
1960 * gdb.base/annota1.exp: Likewise.
1961 * gdb.base/annota3.exp: Likewise.
1962 * gdb.base/attach.exp: Likewise.
1963 * gdb.base/bigcore.exp: Likewise.
1964 * gdb.base/break.exp: Likewise.
1965 * gdb.base/call-ar-st.exp: Likewise.
1966 * gdb.base/callfuncs.exp: Likewise.
1967 * gdb.base/catch-fork-static.exp: Likewise.
1968 * gdb.base/display.exp: Likewise.
1969 * gdb.base/foll-exec-mode.exp: Likewise.
1970 * gdb.base/foll-exec.exp: Likewise.
1971 * gdb.base/foll-fork.exp: Likewise.
1972 * gdb.base/foll-vfork.exp: Likewise.
1973 * gdb.base/funcargs.exp: Likewise.
1974 * gdb.base/hbreak2.exp: Likewise.
1975 * gdb.base/inferior-died.exp: Likewise.
1976 * gdb.base/interrupt.exp: Likewise.
1977 * gdb.base/multi-forks.exp: Likewise.
1978 * gdb.base/nodebug.exp: Likewise.
1979 * gdb.base/sepdebug.exp: Likewise.
1980 * gdb.base/solib1.c: Likewise.
1981 * gdb.base/step-test.exp: Likewise.
1982 * gdb.mi/non-stop.c: Likewise.
1983 * gdb.mi/pthreads.c: Likewise.
1984 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1985 * gdb.threads/pthreads.c: Likewise.
1986 * gdb.threads/staticthreads.exp: Likewise.
1987 * lib/future.exp: Likewise.
1988 * lib/gdb.exp: Likewise.
1989 * gdb.base/so-indr-cl.c: Remove.
1990 * gdb.base/so-indr-cl.exp: Likewise.
1991 * gdb.base/solib.c: Likewise.
1992 * gdb.base/solib.exp: Likewise.
1993 * gdb.base/solib2.c: Likewise.
1994
b6304613
SM
19952015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1996
1997 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1998 * gdb.base/call-ar-st.exp: Likewise.
1999 * gdb.base/callfuncs.exp: Likewise.
2000 * gdb.base/condbreak.exp: Likewise.
2001 * gdb.base/constvars.exp: Likewise.
2002 * gdb.base/hbreak2.exp: Likewise.
2003 * gdb.base/langs.exp: Likewise.
2004 * gdb.base/list.exp: Likewise.
2005 * gdb.base/long_long.exp: Likewise.
2006 * gdb.base/ptype.exp: Likewise.
2007 * gdb.base/scope.exp: Likewise.
2008 * gdb.base/signals.exp: Likewise.
2009 * gdb.base/so-impl-ld.exp: Likewise.
2010 * gdb.base/varargs.exp: Likewise.
2011 * gdb.base/volatile.exp: Likewise.
2012 * gdb.base/whatis.exp: Likewise.
2013 * gdb.cp/cplusfuncs.exp: Likewise.
2014 * gdb.cp/inherit.exp: Likewise.
2015 * gdb.cp/local.exp: Likewise.
2016 * gdb.cp/member-ptr.exp: Likewise.
2017 * gdb.cp/method.exp: Likewise.
2018 * gdb.cp/overload.exp: Likewise.
2019 * gdb.cp/templates.exp: Likewise.
2020 * gdb.stabs/weird.exp: Likewise.
2021 * lib/compiler.c: Likewise.
2022 * lib/compiler.cc: Likewise.
2023 * lib/cp-support.exp: Likewise.
2024 * lib/gdb.exp: Likewise.
2025
bf401b07
SM
20262015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
2027
2028 * configure.ac: Remove HP-UX case.
2029 * configure: Regenerate.
2030
aff9c0f8
SM
20312015-12-18 Simon Marchi <simon.marchi@ericsson.com>
2032
2033 * lib/gdb.exp (gdb_compile): Add function doc.
2034
a6904d5a
PA
20352015-12-17 Pedro Alves <palves@redhat.com>
2036
2037 PR threads/19354
2038 * gdb.multi/info-threads.exp: New file.
2039
a22279dd
YQ
20402015-12-15 Yao Qi <yao.qi@linaro.org>
2041
2042 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
2043 is aarch64*-*-*.
2044
0588c796
SL
20452015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2046
2047 * gdb.base/history-duplicates.exp: Skip if no readline support.
2048
5d978e17
SL
20492015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2050
2051 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
2052
7e763b86
SL
20532015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2054
2055 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
2056
87a3a92c
SL
20572015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2058
2059 * gdb.base/completion.exp: Skip tests that interrupt GDB with
2060 ctrl-C if nointerrupts target property is set.
2061 * gdb.base/double-prompt-target-event-error.exp: Likewise.
2062 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
2063 * gdb.base/paginate-bg-execution.exp: Likewise.
2064 * gdb.base/paginate-execution-startup.exp: Likewise.
2065 * gdb.base/random-signal.exp: Likewise.
2066 * gdb.base/range-stepping.exp: Likewise.
2067 * gdb.cp/annota2.exp: Likewise.
2068 * gdb.cp/annota3.exp: Likewise.
2069 * gdb.gdb/selftest.exp: Likewise.
2070 * gdb.threads/continue-pending-status.exp: Likewise.
2071 * gdb.threads/leader-exit.exp: Likewise.
2072 * gdb.threads/manythreads.exp: Likewise.
2073 * gdb.threads/pthreads.exp: Likewise.
2074 * gdb.threads/schedlock.exp: Likewise.
2075 * gdb.threads/sigthread.exp: Likewise.
2076
a8f077dc
DB
20772015-12-11 Don Breazeal <donb@codesourcery.com>
2078
2079 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
2080 remote.
2081 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
2082 * gdb.base/foll-exec.exp (main): Enable for target remote.
2083 * gdb.base/foll-fork.exp (main): Likewise.
2084 * gdb.base/foll-vfork.exp (main): Likewise.
2085 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
2086 (proc continue_to_exit_bp_loc): Use clean_restart.
2087 * gdb.base/pie-execl.exp (main): Disable for target remote.
2088 * gdb.base/watch-vfork.exp (main): Enable for target remote.
2089 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
2090 * gdb.threads/execl.exp (main): Likewise.
2091 * gdb.threads/fork-child-threads.exp (main): Likewise.
2092 * gdb.threads/fork-plus-threads.exp (main): Disable for target
2093 remote.
2094 * gdb.threads/fork-thread-pending.exp (main): Enable for target
2095 remote.
2096 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
2097 pid.tid style ptids, instead of just tid.
2098 * gdb.threads/thread-execl.exp (main): Enable for target remote.
2099 * gdb.threads/watchpoint-fork.exp (main): Likewise.
2100 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
2101 ptids, instead of just tid.
2102
3b2464a8
AB
21032015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2104
2105 * gdb.base/list.exp (test_list_forward): Add end of file error
2106 test.
2107 (test_repeat_list_command): Add end of file error test.
2108 (test_list_backwards): Add beginning of file error test.
2109
a0def019
AB
21102015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2111
2112 * gdb.base/list.exp (test_list_invalid_args): New function,
2113 defined, and called.
2114
5c000dff
AB
21152015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2116
2117 * gdb.base/list.exp (test_list): Make test names unique.
2118
f1637ebe
YQ
21192015-12-11 Yao Qi <yao.qi@linaro.org>
2120
2121 * gdb.base/coremaker2.c: Remove.
2122
36d6fc0a
PA
21232015-12-10 Pedro Alves <palves@redhat.com>
2124
2125 * gdb.multi/base.exp: Remove stale "spaces" references.
2126
762f7747
PA
21272015-12-10 Pedro Alves <palves@redhat.com>
2128
2129 * gdb.multi/base.exp: Don't use nowarnings.
2130 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
2131 * gdb.multi/hangout.c: Include stdio.h.
2132 * gdb.multi/hello.c: Include stdlib.h.
2133 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
2134 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
2135 * gdb.multi/multi-arch.exp: Don't use nowarnings.
2136
28d2bfb9
AB
21372015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
2138
2139 * gdb.dwarf2/dw2-ranges-base.c: New file.
2140 * gdb.dwarf2/dw2-ranges-base.exp: New file.
2141 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
2142 support additional line table, and debug ranges generation.
2143 (Dwarf::ranges): New function, generate .debug_ranges.
2144 (Dwarf::lines): Support generating simple line table programs.
2145 (Dwarf::assemble): Initialise new namespace variables.
2146
5fc2beac
KB
21472015-12-09 Kevin Buettner <kevinb@redhat.com>
2148
2149 * gdb.base/async.exp (proc test_background): Add case for
2150 asynchronous execution not supported.
2151
1c35a88f
LM
21522015-12-09 Luis Machado <lgustavo@codesourcery.com>
2153
2154 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
2155 format and change test names to make them unique.
2156
b593e3d9
RK
21572015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
2158 Pedro Alves <pedro@redhat.com>
2159
2160 PR gdb/18702
2161 Add checking of floatformats setup on x86_64 hosts.
2162 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2163 (smallval, bigval): New labels/constants.
2164 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2165 float" after loading bigval and smallval.
2166
d72413e6
PMR
21672015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2168
2169 * gdb.ada/fun_overload_menu.exp: New testcase.
2170 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2171
ece66d65
JS
21722015-12-04 Josh Stone <jistone@redhat.com>
2173
2174 * gdb.base/catch-fork-static.exp: New.
2175
41d0efca
YQ
21762015-12-03 Yao Qi <yao.qi@linaro.org>
2177
2178 * gdb.base/sizeof.c: Don't include stdio.h and
2179 ../lib/unbuffer_output.c.
2180 (main): New variable 'size' and 'value'. Remove printf and
2181 gdb_unbuffer_output. Assign return value to size and value.
2182 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2183 at the beginning.
2184 (check_sizeof): Check the result by printing variable 'size'.
2185 (check_valueof): Check the result by printing variable 'value'.
2186
99fd02d9
YQ
21872015-12-01 Yao Qi <yao.qi@linaro.org>
2188
2189 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2190 for aarch64*-*-linux* target.
2191
f2faf941
PA
21922015-11-30 Pedro Alves <palves@redhat.com>
2193
2194 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2195
04bf20c5
PA
21962015-11-30 Pedro Alves <palves@redhat.com>
2197
2198 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2199 Handle non-stop mode vCont replies.
2200
09df4675
PA
22012015-11-30 Pedro Alves <palves@redhat.com>
2202
2203 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2204 prepare_for_testing. Start gdb with "set non-stop on" appended to
2205 GDBFLAGS. Lax expected stop output.
2206
58b584af
YQ
22072015-11-27 Yao Qi <yao.qi@linaro.org>
2208
2209 * gdb.arch/arm-neon.exp: New.
2210 * gdb.arch/arm-neon.c: New.
2211
dfcb77a8
YQ
22122015-11-27 Yao Qi <yao.qi@linaro.org>
2213
2214 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2215
88e8ec1b
YQ
22162015-11-27 Yao Qi <yao.qi@linaro.org>
2217
2218 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2219 frames-invalid annotation.
2220
bfde72c2
YQ
22212015-11-27 Yao Qi <yao.qi@linaro.org>
2222
2223 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2224
f6512a69
SM
22252015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2226
2227 * gdb.threads/names.exp: New file.
2228 * gdb.threads/names.c: New file.
2229 * README: Mention gdb,no_thread_names.
2230
46a3515b
MM
22312015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2232
2233 PR 19297
2234 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2235 support" error.
2236
62147a22
PA
22372015-11-24 Pedro Alves <palves@redhat.com>
2238
2239 PR 17539
2240 * gdb.base/display.exp: Expect displays to be sorted in ascending
2241 order. Use multi_line.
2242 * gdb.base/solib-display.exp: Likewise.
2243
2f341b6e
PA
22442015-11-24 Pedro Alves <palves@redhat.com>
2245
2246 PR 17539
25d49b86
PA
2247 * gdb.base/display.exp: Expect displays to be sorted in ascending
2248 order. Use multi_line.
2249 * gdb.base/solib-display.exp: Likewise.
2f341b6e 2250
7e0aa6aa
PA
22512015-11-24 Pedro Alves <palves@redhat.com>
2252
2253 PR 17539
2254 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2255 threads in ascending order.
2256 * gdb.base/foll-fork.exp: Likewise.
2257 * gdb.base/foll-vfork.exp: Likewise.
2258 * gdb.base/multi-forks.exp: Likewise.
2259 * gdb.mi/mi-nonstop.exp: Likewise.
2260 * gdb.mi/mi-nsintrall.exp: Likewise.
2261 * gdb.multi/base.exp: Likewise.
2262 * gdb.multi/multi-arch.exp: Likewise.
2263 * gdb.python/py-inferior.exp: Likewise.
2264 * gdb.threads/break-while-running.exp: Likewise.
2265 * gdb.threads/execl.exp: Likewise.
2266 * gdb.threads/gcore-thread.exp: Likewise.
2267 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2268 * gdb.threads/kill.exp: Likewise.
2269 * gdb.threads/linux-dp.exp: Likewise.
2270 * gdb.threads/multiple-step-overs.exp: Likewise.
2271 * gdb.threads/next-bp-other-thread.exp: Likewise.
2272 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2273 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2274 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2275 * gdb.threads/thread-find.exp: Likewise.
2276 * gdb.threads/tls.exp: Likewise.
2277 * lib/mi-support.exp (mi_reverse_list): Delete.
2278 (mi_check_thread_states): No longer reverse list.
2279
2cc57ad8
PA
22802015-11-24 Pedro Alves <palves@redhat.com>
2281
2282 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2283 use lowercase.
2284
c93e8391
SM
22852015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2286
2287 * gdb.trace/actions.c: Include trace-common.h.
2288 (main): Add a location for a fast tracepoint.
2289 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2290 the normal tracepoints.
2291 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2292
045ccf91
SM
22932015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2294
2295 * save-trace.exp: Factor out code to these...
2296 (gdb_save_tracepoints): New.
2297 (gdb_load_tracepoints): New.
2298 (do_save_load_test): New.
2299
5506f9f6
KB
23002015-11-23 Kevin Buettner <kevinb@redhat.com>
2301
2302 * gdb.base/asmlabel.exp: New test.
2303 * gdb.base/asmlabel.c: New test case.
2304
16c3b12f
JB
23052015-11-23 Joel Brobecker <brobecker@adacore.com>
2306
2307 * gdb.base/wrong_frame_bt_full-main.c: New file.
2308 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2309 * gdb.base/wrong_frame_bt_full.exp: New file.
2310
155bfbd3
JB
23112015-11-23 Joel Brobecker <brobecker@adacore.com>
2312
2313 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2314
bb097445
JM
23152015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2316
206853a0 2317 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
2318 pstate register when comparing registers values in
2319 sparc64-*-linux-gnu targets to avoid spurious differences.
2320
9c88ed8f
JM
23212015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2322
206853a0 2323 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 2324
96161e25
SL
23252015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2326
2327 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2328 as type argument to gdb_compile.
2329 * gdb.base/nested-subp2.exp: Likewise.
2330 * gdb.base/nested-subp3.exp: Likewise.
2331
340c2830
DV
23322015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2333
2334 * lib/dwarf.exp (_note): Fix left shift of negative value.
2335 * gdb.trace/trace-condition.exp: Likewise.
2336
c1862d0f
YQ
23372015-11-13 Yao Qi <yao.qi@linaro.org>
2338
2339 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2340 comments about d10v.
2341 (test_scalar_returns): Likewise.
2342 * gdb.base/d10v.ld: Remove.
2343 * gdb.base/overlays.exp: Remove the target triplet checking for
2344 d10v-*-*.
2345 * gdb.base/structs.exp (test_struct_returns): Remove the
2346 comments about d10v.
2347 (test_struct_calls): Likewise.
2348
77ae9c19
YQ
23492015-11-13 Yao Qi <yao.qi@linaro.org>
2350
2351 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2352 * gdb.base/gnu_vector.c: Don't include stdio.h.
2353 (main): Don't print res and call add_some_intvecs.
2354
430e004e
MK
23552015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2356
2357 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2358 macro.
2359 (func5): Removed.
2360 (func4): Use FAST_TRACEPOINT_LABEL.
2361 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2362 macro.
2363 (func): Removed.
2364 (thread_function): Use FAST_TRACEPOINT_LABEL.
2365 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2366 (func): Remove.
2367 (marker): Use FAST_TRACEPOINT_LABEL.
2368 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2369 (pendfunc1): Remove.
2370 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2371 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2372 (foo): Remove.
2373 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2374 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2375 macro.
2376 (func): Remove.
2377 (marker): Use FAST_TRACEPOINT_LABEL.
2378 * gdb.trace/trace-common.h: New header.
2379 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2380 macro.
2381 (func): Remove.
2382 (marker): Use FAST_TRACEPOINT_LABEL.
2383 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2384 (func): Remove.
2385 (thread_function): Use FAST_TRACEPOINT_LABEL.
2386
6e7675a7
MK
23872015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2388
2389 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2390 in front.
2391 * gdb.trace/change-loc.exp: Use global pcreg definition.
2392 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2393 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2394 in front.
2395 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2396 * gdb.trace/pending.exp: Likewise.
2397 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2398 * gdb.trace/trace-break.exp: Likewise.
2399 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2400 in front.
2401 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2402 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2403 in front.
2404 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2405
dddc0e16
JB
24062015-11-09 Joel Brobecker <brobecker@adacore.com>
2407
2408 * gdb.ada/fin_fun_out: New testcase.
2409
c6f0b406
KB
24102015-11-07 Kevin Buettner <kevinb@redhat.com>
2411
2412 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2413 value associated with DW_AT_byte_size.
2414 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2415 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2416 DW_AT_upper_bound.
2417
f01dcfd9
KB
24182015-11-07 Kevin Buettner <kevinb@redhat.com>
2419
2420 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2421 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2422 version.
2423 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2424 gdb.dwarf2/dw2-canonicalize-type.exp,
2425 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2426 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2427 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2428 provided by gdb_target_symbol_prefix_flags_asm.
2429 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2430 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2431 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2432 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2433 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2434 macros where needed). Use this macro for symbols which require
2435 the prefix provided by SYMBOL_PREFIX.
2436
2223449a
KB
24372015-11-05 Kevin Buettner <kevinb@redhat.com>
2438
2439 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2440 New procs.
2441 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2442 representing expressions, of more than one list element.
2443 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2444 to prepend linker symbol prefix to f.
2445 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2446 table_1 and table_2.
2447 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2448 Likewise, for f and g.
2449 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2450 for ptr.
2451 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2452 for main.
2453 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2454 table_1_ptr and table_2_ptr.
2455
6f2f1a3a
JK
24562015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2457 Joel Brobecker <brobecker@adacore.com>
2458
2459 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2460
566c56c9
MK
24612015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2462
2463 * gdb.reverse/s390-mvcle.c: New test.
2464 * gdb.reverse/s390-mvcle.exp: New file.
2465 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2466
d5f0636b
MK
24672015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2468
2469 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2470
7ad8b86c
MK
24712015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2472
2473 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2474 reaching marker2.
2475 * gdb.reverse/getresuid-reverse.exp: Likewise.
2476 * gdb.reverse/pipe-reverse.exp: Likewise.
2477 * gdb.reverse/readv-reverse.exp: Likewise.
2478 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2479 * gdb.reverse/time-reverse.exp: Likewise.
2480 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2481
4081c0f1
YQ
24822015-10-30 Yao Qi <yao.qi@linaro.org>
2483
2484 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2485 (empty_cycle): Remove.
2486 (main): Don't call empty_cycle. Don't use watch_count_done.
2487 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2488 empty_cycle. Rewrite the code counting HW watchpoints.
2489
452b4ba5
MK
24902015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2491
2492 * gdb.reverse/fstatat-reverse.c: New test.
2493 * gdb.reverse/fstatat-reverse.exp: New file.
2494 * gdb.reverse/getresuid-reverse.c: New test.
2495 * gdb.reverse/getresuid-reverse.exp: New file.
2496 * gdb.reverse/pipe-reverse.c: New test.
2497 * gdb.reverse/pipe-reverse.exp: New file.
2498 * gdb.reverse/readv-reverse.c: New test.
2499 * gdb.reverse/readv-reverse.exp: New file.
2500 * gdb.reverse/recvmsg-reverse.c: New test.
2501 * gdb.reverse/recvmsg-reverse.exp: New file.
2502 * gdb.reverse/time-reverse.c: New test.
2503 * gdb.reverse/time-reverse.exp: New file.
2504 * gdb.reverse/waitpid-reverse.c: New test.
2505 * gdb.reverse/waitpid-reverse.exp: New file.
2506
5e2e7507
JK
25072015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2508
2509 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2510
0fde2c53
DE
25112015-10-26 Doug Evans <dje@google.com>
2512
2513 PR symtab/17391
2514 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2515 * gdb.dwarf2/bad-regnum.c: New file.
2516 * gdb.dwarf2/bad-regnum.exp: New file.
2517
1a70ae97
DE
25182015-10-26 Doug Evans <dje@google.com>
2519
2520 PR python/18938
2521 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2522 file.
2523
27dc26ab
JK
25242015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2525
2526 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2527 for a change by "Mention language in compile error message".
2528
bed91f4d
SM
25292015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2530
2531 PR python/18073
2532 * gdb.python/py-type.c (C::a_method): New.
2533 (C::a_const_method): New.
2534 (C::a_static_method): New.
2535 (a_function): New.
2536 * gdb.python/py-type.exp (test_fields): Test getting fields
2537 from function and method.
2538
3f2f83dd
KB
25392015-10-21 Keven Boell <keven.boell@intel.com>
2540
2541 * gdb.fortran/vla-alloc-assoc.exp: New file.
2542 * gdb.fortran/vla-datatypes.exp: New file.
2543 * gdb.fortran/vla-datatypes.f90: New file.
2544 * gdb.fortran/vla-history.exp: New file.
2545 * gdb.fortran/vla-ptype-sub.exp: New file.
2546 * gdb.fortran/vla-ptype.exp: New file.
2547 * gdb.fortran/vla-sizeof.exp: New file.
2548 * gdb.fortran/vla-sub.f90: New file.
2549 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2550 * gdb.fortran/vla-value-sub-finish.exp: New file.
2551 * gdb.fortran/vla-value-sub.exp: New file.
2552 * gdb.fortran/vla-value.exp: New file.
2553 * gdb.fortran/vla-ptr-info.exp: New file.
2554 * gdb.mi/mi-vla-fortran.exp: New file.
2555 * gdb.mi/vla.f90: New file.
2556
27145d50
SL
25572015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2558
2559 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2560 of hardwired timeout value.
2561
5f3ff4f8
JK
25622015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2563 Pedro Alves <palves@redhat.com>
2564
2565 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2566 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2567
bfd09d20
JS
25682015-10-19 Josh Stone <jistone@redhat.com>
2569
2570 * gdb.base/catch-syscall.c: Include <sched.h>.
2571 (unknown_syscall): New variable.
2572 (main): Trigger a vfork and an unknown syscall.
2573 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2574 (unknown_syscall_number): Likewise.
2575 (check_call_to_syscall): Accept an optional syscall pattern.
2576 (check_return_from_syscall): Likewise.
2577 (check_continue): Likewise.
2578 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2579 (test_catch_syscall_skipping_return): New test toggling off 'catch
2580 syscall' to step over the syscall return, then toggling back on.
2581 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2582 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2583 (do_syscall_tests): Call test_catch_syscall_without_args and
2584 test_catch_syscall_mid_vfork.
2585 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2586 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2587
b32b93c6
AS
25882015-10-19 Andrew Stubbs <ams@codesourcery.com>
2589
2590 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2591 print g_vE): Add new pass patterns.
2592 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2593 print various symbol names for vptr fields.
2594
9d622bda
AB
25952015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2596
2597 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2598 results.
2599
0fd8ac1c
YQ
26002015-10-12 Yao Qi <yao.qi@linaro.org>
2601
2602 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2603
34240514
YQ
26042015-10-12 Yao Qi <yao.qi@linaro.org>
2605
2606 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2607 is aarch64*-*-linux*.
2608
8240f442
YQ
26092015-10-12 Yao Qi <yao.qi@linaro.org>
2610
2611 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2612 (can_relocate_bcond_true): ... it.
2613 (can_relocate_bcond_false): New function.
2614 (foo): Likewise.
2615 (can_relocate_bl): Likewise.
2616 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2617 can_relocate_bl.
2618
2520f728
PMR
26192015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2620
2621 * gdb.base/nested-addr.c: New file.
2622 * gdb.base/nested-addr.exp: New testcase.
2623
abcef95a
MM
26242015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2625
2626 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2627 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2628 its output. Ignore the output of "record goto begin" and instead
2629 check that GDB is replaying.
2630
145e3ddb
PA
26312015-10-09 Pedro Alves <palves@redhat.com>
2632
2633 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2634 (top level): Use it in the run with no args test.
2635
d5d8c4e1
IB
26362015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2637
2638 * gdb.dlang/properties.exp: New file.
2639
06e635ef
SL
26402015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2641
2642 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2643 whether or not address 0x1000 is mapped on the target.
2644
e019fd1d
SM
26452015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2646
2647 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2648 build.
2649
77ba2a67
MM
26502015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2651
2652 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2653 instruction-history test.
2654
c60eb31f
DE
26552015-09-28 Doug Evans <dje@google.com>
2656
2657 * gdb.base/gcore.c (array_func): Add reference to static_array.
2658
9a3c8263
SM
26592015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2660
2661 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2662 source line.
2663
9720e656
SL
26642015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2665
2666 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2667 short or char as base type.
2668
938d3bf2
SL
26692015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2670
2671 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2672 to allow any size enum.
2673
e6c2c623
PMR
26742015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2675
2676 * gdb.ada/array_ptr_renaming.exp: New testcase.
2677 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2678 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2679
06da0f77
PL
26802015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2681
2682 * gdb.trace/ftrace-lock.c: New file.
2683 * gdb.trace/ftrace-lock.exp: New file.
2684
4f51c22a
PL
26852015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2686
2687 * gdb.arch/insn-reloc.c: New file.
2688 * gdb.arch/ftrace-insn-reloc.exp: New file.
2689
7041adf4
PL
26902015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2691
2692 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2693 instruction.
2694 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2695 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2696 * gdb.trace/range-stepping.c: Likewise.
2697 * gdb.trace/trace-break.c: Likewise.
2698 * gdb.trace/trace-mt.c (thread_function): Likewise.
2699 * gdb.trace/ftrace.c (marker): Likewise.
2700 * gdb.trace/trace-condition.c (marker): Likewise.
2701 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2702 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2703 is_aarch64_target.
2704
015d2e7e
DE
27052015-09-18 Doug Evans <xdje42@gmail.com>
2706
2707 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2708 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2709
26b188a2
SL
27102015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2711
2712 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2713 the breakpoint.
2714
79dc332b
SL
27152015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2716
2717 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2718 the pending breakpoint. Remove timeout override for "Run till
2719 MI pending breakpoint on pendfunc3 on thread 2" test.
2720
f57929f2
SL
27212015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2722
2723 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2724 filename pattern.
2725
3f469b17
SL
27262015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2727
2728 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2729 in breakpoint filename pattern.
2730
515b89b3
SL
27312015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2732
7800dbe4
SL
2733 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2734
27352015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2736
515b89b3
SL
2737 * gdb.linespec/explicit.exp: Check for readline support for
2738 tab-completion tests. Fix obvious typo.
2739
d2939ba2
MM
27402015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2741
2742 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2743 and replay.
2744
cbb55fa7
MM
27452015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2746
2747 * gdb.btrace/non-stop.c: New.
2748 * gdb.btrace/non-stop.exp: New.
2749
43691ca1
PL
27502015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2751 Yao Qi <yao.qi@linaro.org>
2752
2753 * gdb.trace/trace-condition.c: New file.
2754 * gdb.trace/trace-condition.exp: New file.
2755
d78908cf
WW
27562015-09-16 Wei-cheng Wang <cole945@gmail.com>
2757
2758 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2759 for testing bytecode compilation.
2760
1ed415e2
PA
27612015-09-16 Pedro Alves <palves@redhat.com>
2762 Sandra Loosemore <sandra@codesourcery.com>
2763
2764 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2765 (SECONDS): Redefine.
2766 (main): Call pthread_kill and alarm early.
2767 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2768 support.
2769 (test): If the target can't hardware step and doesn't support
2770 displaced stepping, increase the timeout.
2771
d136eff5
PA
27722015-09-16 Pedro Alves <palves@redhat.com>
2773
2774 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2775 (enable_debug): New procedures.
2776 (test): Use them. Bail out if waiting for threads fails.
2777 (top level): Bail out if a test fails.
2778
991f019c
YQ
27792015-09-16 Yao Qi <yao.qi@linaro.org>
2780
2781 * gdb.asm/asm-source.exp: Set asm-arch for
2782 aarch64*-*-* target.
2783 * gdb.asm/aarch64.inc: New file.
2784
bfca584f
PMR
27852015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2786
2787 * gdb.ada/array_of_variable_length.exp: New testcase.
2788 * gdb.ada/array_of_variable_length/foo.adb: New file.
2789 * gdb.ada/array_of_variable_length/pck.adb: New file.
2790 * gdb.ada/array_of_variable_length/pck.ads: New file.
2791
b326e587
DE
27922015-09-15 Doug Evans <dje@google.com>
2793
2794 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2795 of function static local variable.
2796
5382cfab
PW
27972015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2798
2799 * gdb.threads/tls-so_extern.exp: New test file.
2800 * gdb.threads/tls-so_extern.c: New test file.
2801 * gdb.threads/tls-so_extern_main.c: New test file.
2802
141c5cc4
JK
28032015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2804
2805 * gdb.opt/solib-intra-step-lib.c: New file.
2806 * gdb.opt/solib-intra-step-main.c: New file.
2807 * gdb.opt/solib-intra-step.exp: New file.
2808
d15dcecd
PA
28092015-09-15 Pedro Alves <palves@redhat.com>
2810
2811 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2812 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2813
4c2f2a79
PA
28142015-09-14 Pedro Alves <palves@redhat.com>
2815
2816 * gdb.base/hook-stop-continue.c: Delete.
2817 * gdb.base/hook-stop-continue.exp: Delete.
2818 * gdb.base/hook-stop-frame.c: Delete.
2819 * gdb.base/hook-stop-frame.exp: Delete.
2820 * gdb.base/hook-stop.c: New file.
2821 * gdb.base/hook-stop.exp: New file.
2822
919e6dbe
PMR
28232015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2824
2825 * gdb.ada/access_to_packed_array.exp: New testcase.
2826 * gdb.ada/access_to_packed_array/foo.adb: New file.
2827 * gdb.ada/access_to_packed_array/pack.adb: New file.
2828 * gdb.ada/access_to_packed_array/pack.ads: New file.
2829
157280a4
MM
28302015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2831
2832 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2833 buffer size test.
2834
2fd33e94
DB
28352015-09-11 Don Breazeal <donb@codesourcery.com>
2836
2837 * gdb.base/foll-exec.c: Add copyright header. Fix
2838 formatting issues.
2839 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2840 (do_exec_tests): Use clean_restart in place of zap_session,
2841 and for test initialization. Fix formatting issues. Use
2842 fail in place of perror.
2843 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2844 an expect statement to match an expression with output from
2845 the program under debug.
2846 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2847 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2848 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2849 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2850 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2851
e70b6e8e
DE
28522015-09-09 Doug Evans <dje@google.com>
2853
2854 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2855
7a551a51
DE
28562015-09-09 Doug Evans <dje@google.com>
2857
2858 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2859
4c666f84
DE
28602015-09-09 Doug Evans <dje@google.com>
2861
2862 * gdb.base/savedregs.exp: Fix typo.
2863
243a9253
PA
28642015-09-09 Pedro Alves <palves@redhat.com>
2865
2866 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2867
c0fa8fbd
SL
28682015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2869
2870 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
2871 command actually switches threads. Give up on remaining
2872 tests if target fails to stop at breakpoint.
2873
cd7c1778
PMR
28742015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2875
2876 * gdb.ada/funcall_char.exp: New testcase.
2877 * gdb.ada/funcall_char/foo.adb: New file.
2878
dc5c8746
PMR
28792015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2880
2881 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2882 expected outputs. Add two testcases for completing ambiguous
2883 functions.
2884 * gdb.ada/complete/aux_pck.adb: New file.
2885 * gdb.ada/complete/aux_pck.ads: New file.
2886 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2887 Ambiguous_Func functions.
2888 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2889 * gdb.ada/complete/pck.adb: Likewise.
2890
4e83a1e7
UW
28912015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2892
2893 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2894 failures to run the test program under GDB.
2895
8ce74153
LM
28962015-08-26 Luis Machado <lgustavo@codesourcery.com>
2897
2898 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2899 to C.
2900
e9756d52
PP
29012015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2902
2903 * gdb.base/run-after-attach.exp: New test file.
2904 * gdb.base/run-after-attach.c: New test file.
2905
8d37573b
DB
29062015-08-26 Don Breazeal <donb@codesourcery.com>
2907
2908 * gdb.base/foll-exec-2.c: New test program.
2909 * gdb.base/foll-exec-2.exp: New test.
2910
63e43d3a
PMR
29112015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2912
2913 * gdb.base/nested-subp1.exp: New file.
2914 * gdb.base/nested-subp1.c: New file.
2915 * gdb.base/nested-subp2.exp: New file.
2916 * gdb.base/nested-subp2.c: New file.
2917 * gdb.base/nested-subp3.exp: New file.
2918 * gdb.base/nested-subp3.c: New file.
2919
3d40fbb5
PA
29202015-08-24 Pedro Alves <palves@redhat.com>
2921
2922 * gdb.server/connect-without-multi-process.c: New file.
2923 * gdb.server/connect-without-multi-process.exp: New file.
2924
4422ac93
LM
29252015-08-24 Luis Machado <lgustavo@codesourcery.com>
2926
2927 * gdb.opt/inline-markers.c: Make z int.
2928
91dddb86
LM
29292015-08-24 Luis Machado <lgustavo@codesourcery.com>
2930
2931 * gdb.opt/inline-markers.c: Make z volatile.
2932
a48847ee
LM
29332015-08-24 Luis Machado <lgustavo@codesourcery.com>
2934
2935 * gdb.opt/inline-bt.c: New volatile global z.
2936 * gdb.opt/inline-cmds.c: Likewise.
2937 * gdb.opt/inline-locals.c: Likewise.
2938 * gdb.opt/inline-markers.c: New extern global z.
2939 (marker): Use z.
2940 (inline_fn): Likewise.
2941
0ebbc52b
PA
29422015-08-24 Pedro Alves <palves@redhat.com>
2943
2944 * config/m32r-stub.exp: Remove file.
2945 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2946 * gdb.base/call-rt-st.exp: Likewise.
2947 * gdb.base/call-strs.exp: Likewise.
2948 * gdb.base/default.exp: Remove references to h8300-*-hms and
2949 *-*-udi*.
2950 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2951
77c365df
AA
29522015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2953
2954 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2955 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2956 and "return" use KFAIL when GDB can not read/write the vector
2957 return value.
2958
4313b8c0
GB
29592015-08-21 Gary Benson <gbenson@redhat.com>
2960
2961 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2962
0e433b32
PA
29632015-08-20 Pedro Alves <palves@redhat.com>
2964
2965 * gdb.server/solib-list.exp: No longer expect an interior stop in
2966 non-stop mode.
2967
221e1a37
PA
29682015-08-20 Pedro Alves <palves@redhat.com>
2969
2970 * gdb.server/connect-stopped-target.c: New file.
2971 * gdb.server/connect-stopped-target.exp: New file.
2972
40e3ad0e
PA
29732015-08-20 Pedro Alves <palves@redhat.com>
2974
2975 * gdb.dwarf2/comp-unit-lang.exp: New file.
2976 * gdb.dwarf2/comp-unit-lang.c: New file.
2977
af39b327
PMR
29782015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2979
2980 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2981 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2982
7d45c7c3 29832015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 2984
7d45c7c3
KB
2985 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2986 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2987
4d6cceb4
DE
29882015-08-18 Doug Evans <dje@google.com>
2989 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2990
2991 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2992 skip_python_tests. New arg prompt_regexp.
2993 (skip_python_tests): New function.
2994 * lib/mi-support.exp (mi_skip_python_tests): New function.
2995 * gdb.python/py-mi-objfile-gdb.py: New file.
2996 * gdb.python/py-mi-objfile.c: New file.
2997 * gdb.python/py-mi-objfile.exp: New file.
2998
ad89c2aa
KS
29992015-08-17 Keith Seitz <keiths@redhat.com>
3000
3001 * gdb.linespec/explicit.exp: Move strace test from here ...
3002 * gdb.trace/strace.exp: ... to here.
3003
e3ae3c43
PP
30042015-08-15 Patrick Palka <patrick@parcs.ath.cx>
3005
3006 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
3007 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
3008
604b2636
DE
30092015-08-14 Doug Evans <xdje42@gmail.com>
3010
3011 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
3012 inferior before selecting a new file.
3013
6ff0ba5f
DE
30142015-08-14 Doug Evans <xdje42@gmail.com>
3015
3016 * gdb.mi/mi-disassemble.exp: Update.
3017 * gdb.base/disasm-optim.S: New file.
3018 * gdb.base/disasm-optim.c: New file.
3019 * gdb.base/disasm-optim.h: New file.
3020 * gdb.base/disasm-optim.exp: New file.
3021
9ca98f92
KS
30222015-08-14 Keith Seitz <keiths@redhat.com>
3023
3024 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
3025 "evaluated-by".
3026
52bbc560
JB
30272015-08-13 Joel Brobecker <brobecker@adacore.com>
3028
3029 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
3030
5d8c3ed3
PMR
30312015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
3032
3033 * gdb.ada/fun_renaming.exp: New testcase.
3034 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
3035 * gdb.ada/fun_renaming/pack.adb: New file.
3036 * gdb.ada/fun_renaming/pack.ads: New file.
3037
ea8812bc
KS
30382015-08-12 Keith Seitz <keiths@redhat.com>
3039
3040 * gdb.base/dso2dso.exp: Pass basename of source file in call to
3041 gdb_get_line_number.
3042
4dafcdeb
JB
30432015-08-12 Joel Brobecker <brobecker@adacore.com>
3044
3045 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
3046 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
3047 gdb.base/dso2dso.exp: New files.
3048
5ba32597
SDJ
30492015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
3050 Pedro Alves <palves@redhat.com>
3051 Keith Seitz <keiths@redhat.com>
3052
3053 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
3054 GDBFLAGS.
3055
b6dafabf
PP
30562015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3057
3058 * gdb.base/gdbhistsize-history.exp
3059 (test_histsize_history_setting): Use save_vars.
3060 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3061 Use save_vars.
3062 (test_no_truncation_of_unlimited_history_file): Use save_vars.
3063 * gdb.base/readline.exp: Use save_vars.
3064
abe8e607
PP
30652015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3066
3067 * lib/gdb.exp (save_vars): New proc.
3068
629500fa
KS
30692015-08-11 Keith Seitz <keiths@redhat.com>
3070
3071 * gdb.base/help.exp: Update help_breakpoint_text.
3072
eb8c4e2e
KS
30732015-08-11 Keith Seitz <keiths@redhat.com>
3074
3075 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
3076 (at toplevel): Call test_explicit_breakpoints.
3077 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
3078 breakpoints.
3079 * lib/mi-support.exp (mi_make_breakpoint): Add support for
3080 breakpoint conditions, "-cond".
3081
87f0e720
KS
30822015-08-11 Keith Seitz <keiths@redhat.com>
3083
3084 * gdb.linespec/3explicit.c: New file.
3085 * gdb.linespec/cpexplicit.cc: New file.
3086 * gdb.linespec/cpexplicit.exp: New file.
3087 * gdb.linespec/explicit.c: New file.
3088 * gdb.linespec/explicit.exp: New file.
3089 * gdb.linespec/explicit2.c: New file.
3090 * gdb.linespec/ls-errs.exp: Add explicit location tests.
3091 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
3092 before using in the matching pattern.
3093 Clarify that `prefix' is a regular expression.
3094
f00aae0f
KS
30952015-08-11 Keith Seitz <keiths@redhat.com>
3096
3097 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
3098 test.
3099 Add tests for missing ",FMT" and ",".
3100
e27852be
DE
31012015-08-10 Doug Evans <dje@google.com>
3102 Keith Seitz <keiths@redhat.com>
3103
3104 PR gdb/17960
3105 * gdb.base/completion.exp: Add location completer tests.
3106
7f03bd92
PA
31072015-08-07 Pedro Alves <palves@redhat.com>
3108
3109 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
3110 tests here.
3111 (top level): Run do_test with and without displaced stepping.
3112
3fc8eb30
PA
31132015-08-07 Pedro Alves <palves@redhat.com>
3114
3115 * gdb.base/valgrind-disp-step.c: New file.
3116 * gdb.base/valgrind-disp-step.exp: New file.
3117
d4569d7b
PA
31182015-08-07 Pedro Alves <palves@redhat.com>
3119
3120 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
3121 Delete function.
3122 (main): Add alarm. Run an infinite loop instead of calling
3123 wait_threads.
3124 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
3125 comment.
3126 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
3127 Delete function.
3128 (main): Add alarm. Run an infinite loop instead of calling
3129 wait_threads.
3130 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
3131 comment.
3132
e1316e60
PA
31332015-08-07 Pedro Alves <palves@redhat.com>
3134
3135 * gdb.base/checkpoint-ns.exp: New file.
3136 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
3137 standard_testfile.
3138
da8c46d2
MM
31392015-08-07 Markus Metzger <markus.t.metzger@intel.com>
3140
3141 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
3142 * gdb.btrace/instruction_history.exp: Update.
3143 * gdb.btrace/tsx.exp: New.
3144 * gdb.btrace/tsx.c: New.
3145
de1c2c52
PA
31462015-08-06 Pedro Alves <palves@redhat.com>
3147
3148 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
3149 increase timeout.
3150 * gdb.reverse/until-precsave.exp: Bump timeouts.
3151
782e0bf4
PA
31522015-08-06 Pedro Alves <palves@redhat.com>
3153
3154 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
3155
83e97ed0
PA
31562015-08-06 Pedro Alves <palves@redhat.com>
3157
3158 PR gdb/18749
3159 * gdb.threads/process-dies-while-handling-bp.c: New file.
3160 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3161
863d01bd
PA
31622015-08-06 Pedro Alves <palves@redhat.com>
3163
3164 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3165 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3166
0a39bb32
PA
31672015-08-05 Pedro Alves <palves@redhat.com>
3168
3169 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3170 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3171
ee2d2b10
SL
31722015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3173
3174 * gdb.base/bp-permanent.exp: Report test as unsupported if
3175 the target cannot stop at the permanent breakpoint.
3176
4e1bdb00
DE
31772015-08-03 Doug Evans <dje@google.com>
3178
3179 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3180 10000.
3181
3d338901
DE
31822015-08-03 Doug Evans <dje@google.com>
3183
3184 * Makefile.in (workers/%.worker, build-perf): New rule.
3185 (GDB_PERFTEST_MODE): New variable.
3186 (check-perf): Use it.
3187 (clean): Clean up gdb.perf parallel build subdirs.
3188 * lib/build-piece.exp: New file.
3189 * lib/gdb.exp (make_gdb_parallel_path): New function
3190 (standard_output_file, standard_temp_file): Call it.
3191 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3192 of $GDB_PARALLEL.
3193 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3194
af061d3e
DE
31952015-08-03 Doug Evans <dje@google.com>
3196
8e1afc81 3197 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
3198 (LOG_FILE_NAME): New global.
3199 (TextReporter.__init__): Initialize self.txt_sum.
3200 (TextReporter.report): Add support for multiple data-points.
3201 Move report to perftest.sum, put raw data in perftest.log.
3202 (TextReporter.start): Open sum and log files.
3203 (TextReporter.end): Close sum and log files.
8e1afc81
DE
3204 * gdb.perf/lib/perftest/testresult.py
3205 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 3206
2c8c5d37
PA
32072015-07-31 Pedro Alves <palves@redhat.com>
3208
3209 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3210 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3211 kill_wait_spawned_process instead of explicit "kill -9".
3212 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3213 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3214 kill_wait_spawned_process.
3215 * gdb.base/attach-twice.exp: Likewise.
3216 * gdb.base/attach.exp: Likewise.
3217 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3218 gdb_test_multiple.
3219 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3220 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3221 kill_wait_spawned_process.
3222 * gdb.base/valgrind-infcall.exp: Likewise.
3223 * gdb.multi/multi-attach.exp: Likewise.
3224 * gdb.python/py-prompt.exp: Likewise.
3225 * gdb.python/py-sync-interp.exp: Likewise.
3226 * gdb.server/ext-attach.exp: Likewise.
3227 * gdb.threads/attach-into-signal.exp (corefunc): Use
3228 spawn_wait_for_attach, spawn_id_get_pid and
3229 kill_wait_spawned_process.
3230 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3231 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3232 spawn_id_get_pid and kill_wait_spawned_process.
3233 * gdb.threads/attach-stopped.exp (corefunc): Use
3234 spawn_wait_for_attach, spawn_id_get_pid and
3235 kill_wait_spawned_process.
3236 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3237 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3238 kill_wait_spawned_process instead of explicit "kill -9".
3239 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3240 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3241 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3242 processes. Don't map cygwin/windows pids here. Now returns a
3243 spawn id list.
3244
032a0fca
SL
32452015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3246
3247 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3248 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3249 correct patch.
3250
61a934ca
SL
32512015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3252
3253 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3254
4bc4d428
SL
32552015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3256
3257 Reapply:
3258 2014-05-21 Mark Wielaard <mjw@redhat.com>
3259
3260 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3261
998d452a
PA
32622015-07-30 Pedro Alves <palves@redhat.com>
3263
3264 * linux-low.c (handle_extended_wait): Set the child's last
3265 reported status to TARGET_WAITKIND_STOPPED.
3266
69dde7dc
PA
32672015-07-30 Pedro Alves <palves@redhat.com>
3268
3269 PR threads/18600
3270 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3271 only shows inferior 1.
3272
4dd63d48
PA
32732015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3274 Pedro Alves <palves@redhat.com>
3275
3276 PR threads/18600
3277 * gdb.threads/fork-plus-threads.c: New file.
3278 * gdb.threads/fork-plus-threads.exp: New file.
3279
d618e4c5
PP
32802015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3281
3282 * gdb.base/batch-preserve-term-settings.exp
3283 (test_terminal_settings_preserved_after_cli_exit): Use
3284 send_quit_command.
3285
1eef6428
PA
32862015-07-29 Pedro Alves <palves@redhat.com>
3287 Don Breazeal <donb@codesourcery.com>
3288
3289 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3290 output from both inferior_spawn_id and gdb_spawn_id.
3291
7da5b897
SDJ
32922015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3293
3294 * gdb.threads/attach-into-signal.exp (corefunc): Use
3295 with_test_prefix on nested loops, uniquefying the test messages.
3296
dac804df
SDJ
32972015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3298
3299 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3300 commit.
3301
06265e53
PP
33022015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3303
3304 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3305 New proc.
3306 (test_terminal_settings_preserved_after_sigterm): New test.
3307
18206ca3
PP
33082015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3309
3310 * gdb.base/batch-preserve-term-settings.exp
3311 (test_terminal_settings_preserved_after_cli_exit): New test.
3312
90074d11
PP
33132015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3314
3315 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3316 manipulation of saved_gdbflags.
3317 (test_terminal_settings_preserved): Remove global declaration of
3318 the unused variable pagination_prompt. Remove manipulation of
3319 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3320 GDBFLAGS.
3321
eb1a7902
PA
33222015-07-29 Pedro Alves <palves@redhat.com>
3323
3324 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3325
8b75dd3b
PA
33262015-07-29 Pedro Alves <palves@redhat.com>
3327
3328 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3329 at the top.
3330
dedad4e3
PA
33312015-07-29 Pedro Alves <palves@redhat.com>
3332
3333 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3334 (main): Call gdb_unbuffer_output.
3335 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3336 (main): Call gdb_unbuffer_output.
3337 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3338 (main): Call gdb_unbuffer_output.
3339 * gdb.base/call-strs.exp: Adjust to step over the
3340 gdb_unbuffer_output call.
3341 * gdb.base/catch-gdb-caused-signals.c: Include
3342 "../lib/unbuffer_output.c".
3343 (main): Call gdb_unbuffer_output.
3344 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3345 (main): Call gdb_unbuffer_output.
3346 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3347 (main): Call gdb_unbuffer_output.
3348 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3349 (main): Call gdb_unbuffer_output.
3350 * gdb.base/shlib-call.exp: Adjust to step over the
3351 gdb_unbuffer_output call.
3352 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3353 (main): Call gdb_unbuffer_output.
3354 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3355 (main): Call gdb_unbuffer_output.
3356 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3357 (main): Rename to ...
3358 (test): ... this.
3359 (main): Reimplement.
3360 * gdb.base/varargs.exp: Run to test instead of to main.
3361 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3362 (main): Call gdb_unbuffer_output.
3363
58789a91
PA
33642015-07-29 Pedro Alves <palves@redhat.com>
3365
3366 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3367 factore out from mi_continue_dprintf. For call-style dprintfs,
3368 expect dprintf output out of $inferior_spawn_id.
3369 (mi_continue_dprintf): Use mi_expect_dprintf.
3370 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3371 (main): Call gdb_unbuffer_output.
3372
e8376742
PA
33732015-07-29 Pedro Alves <palves@redhat.com>
3374
3375 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3376 (default_mi_gdb_start): Set inferior_spawn_id instead of
3377 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3378 gdb_spawn_id.
3379 (mi_gdb_test): Always expect inferior output from both
3380 $inferior_spawn_id and $gdb_spawn_id.
3381
08280010
PA
33822015-07-29 Pedro Alves <palves@redhat.com>
3383
3384 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3385 send_inferior and $inferior_spawn_id.
3386
4d30e432
PA
33872015-07-29 Pedro Alves <palves@redhat.com>
3388
3389 * gdb.gdb/complaints.exp (test_initial_complaints)
3390 (test_serial_complaints, test_short_complaints): Use
3391 gdb_test_stdio.
3392 (test_empty_complaint): Handle $inferior_spawn_id !=
3393 $gdb_spawn_id.
3394
0d30a335
PA
33952015-07-29 Pedro Alves <palves@redhat.com>
3396
3397 * gdb.base/varargs.exp: Use gdb_test_stdio.
3398
39413b29
PA
33992015-07-29 Pedro Alves <palves@redhat.com>
3400
3401 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3402
7cb000a9
PA
34032015-07-29 Pedro Alves <palves@redhat.com>
3404
3405 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3406
d7b8ac82
PA
34072015-07-29 Pedro Alves <palves@redhat.com>
3408
3409 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3410 parameter into two new parameters, "inf_result" and "gdb_result".
3411 Expect inferior output and gdb output from $inferior_spawn_id and
3412 $gdb_spawn_id, respectively. Adjust all callers.
3413
789c3a0c
PA
34142015-07-29 Pedro Alves <palves@redhat.com>
3415
3416 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3417 of gdb_test_sequence.
3418
77e760c3
PA
34192015-07-29 Pedro Alves <palves@redhat.com>
3420
3421 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3422 (saw_spurious_output): Expect inferior output from
3423 $inferior_spawn_id. Use gdb_test_stdio.
3424
8396d2cd
PA
34252015-07-29 Pedro Alves <palves@redhat.com>
3426
3427 * gdb.base/dprintf.exp: Use standard_testfile. Change
3428 prepare_for_testing call.
3429 (srcfile): Don't set.
3430 (restart): New procedure.
3431 (test_dprintf): New procecure, use to continue over dprintfs.
3432 (test_call, test_agent): New procedures, tests moved here.
3433 Restart gdb and recreate dprintfs. Adjust expected output.
3434
2051d61f
PA
34352015-07-29 Pedro Alves <palves@redhat.com>
3436
3437 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3438
452397af
PA
34392015-07-29 Pedro Alves <palves@redhat.com>
3440
3441 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3442
8aed9555
PA
34432015-07-29 Pedro Alves <palves@redhat.com>
3444
3445 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3446 gdb_test_stdio.
3447
188a61b4
PA
34482015-07-29 Pedro Alves <palves@redhat.com>
3449
3450 * lib/gdb.exp (gdb_test_stdio): New procedure.
3451
12264a45
PA
34522015-07-29 Pedro Alves <palves@redhat.com>
3453
3454 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3455
23ffc893
PA
34562015-07-29 Pedro Alves <palves@redhat.com>
3457
3458 * gdb.base/call-signal-resume.exp: Remove check for
3459 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3460 * gdb.base/unwindonsignal.exp: Likewise.
3461 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3462 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3463
65566918
PA
34642015-07-29 Pedro Alves <palves@redhat.com>
3465
3466 * gdb.base/siginfo-addr.c (pass): New function.
3467 (handler): Call it iff si_addr is correct.
3468 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3469 Set a breakpoint at "pass" and continue to it.
3470
d60a9221
SDJ
34712015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3472
3473 * gdb.python/py-objfile.exp: Make some tests have unique names.
3474 * gdb.python/py-pp-registration.exp: Likewise.
3475
bde40b8f
PA
34762015-07-28 Pedro Alves <palves@redhat.com>
3477
3478 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3479
13e1dec8
SM
34802015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3481
3482 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3483
da33c9a7
SM
34842015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3485
3486 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3487
077836f7
PP
34882015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3489
3490 * gdb.base/gdb-sigterm-2.exp: New test.
3491
b8cc7b2e
DE
34922015-07-25 Doug Evans <xdje42@gmail.com>
3493
3494 Revert:
3495 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3496 (workers/%.worker, build-perf): New rule.
3497 (GDB_PERFTEST_MODE): New variable.
3498 (check-perf): Use it.
3499 (clean): Clean up gdb.perf parallel build subdirs.
3500 * lib/build-piece.exp: New file.
3501 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3502 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3503 name.
3504 (standard_temp_file): Ditto.
3505 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3506 of $GDB_PARALLEL.
3507
c8bd4544
DE
35082015-07-24 Doug Evans <dje@google.com>
3509
3510 * gdb.perf/lib/perftest/utils.py: New file.
3511 * gdb.perf/gm-hello.cc: New file.
3512 * gdb.perf/gm-pervasive-typedef.cc: New file.
3513 * gdb.perf/gm-pervasive-typedef.h: New file.
3514 * gdb.perf/gm-std.cc: New file.
3515 * gdb.perf/gm-std.h: New file.
3516 * gdb.perf/gm-use-cerr.cc: New file.
3517 * gdb.perf/gm-utils.h: New file.
3518 * gdb.perf/gmonster-null-lookup.py: New file.
3519 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3520 * gdb.perf/gmonster-print-cerr.py: New file.
3521 * gdb.perf/gmonster-ptype-string.py: New file.
3522 * gdb.perf/gmonster-runto-main.py: New file.
3523 * gdb.perf/gmonster-select-file.py: New file.
3524 * gdb.perf/gmonster1-null-lookup.exp: New file.
3525 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3526 * gdb.perf/gmonster1-print-cerr.exp: New file.
3527 * gdb.perf/gmonster1-ptype-string.exp: New file.
3528 * gdb.perf/gmonster1-runto-main.exp: New file.
3529 * gdb.perf/gmonster1-select-file.exp: New file.
3530 * gdb.perf/gmonster1.cc: New file.
3531 * gdb.perf/gmonster1.exp: New file.
3532 * gdb.perf/gmonster2-null-lookup.exp: New file.
3533 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3534 * gdb.perf/gmonster2-print-cerr.exp: New file.
3535 * gdb.perf/gmonster2-ptype-string.exp: New file.
3536 * gdb.perf/gmonster2-runto-main.exp: New file.
3537 * gdb.perf/gmonster2-select-file.exp: New file.
3538 * gdb.perf/gmonster2.cc: New file.
3539 * gdb.perf/gmonster2.exp: New file.
3540
6eab34f3
DE
35412015-07-24 Doug Evans <dje@google.com>
3542
3543 * gdb.perf/README: New file.
3544 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3545 * lib/gen-perf-test.exp: New file.
3546
63738bfd
DE
35472015-07-24 Doug Evans <dje@google.com>
3548
3549 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3550 (PerfTest::startup): New function.
3551 (PerfTest::run): Return result of calling body.
3552 (PerfTest::assemble): Rewrite.
3553 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3554 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3555 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3556 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3557 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3558
7b606f95
DE
35592015-07-24 Doug Evans <dje@google.com>
3560
3561 * lib/gdb.exp (clean_restart): Make executable optional.
3562
a97b16b8
DE
35632015-07-24 Doug Evans <dje@google.com>
3564
3565 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3566 compiler_info references.
3567 * gdb.cp/temargs.exp: Ditto.
3568 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3569 (get_compiler_info): Early exit if already computed. Set compiler_info
3570 to "unknown" if there was a problem.
3571 (test_compiler_info): Add function comment. Call get_compiler_info.
3572
35baa57f
DE
35732015-07-24 Doug Evans <dje@google.com>
3574
3575 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3576 (workers/%.worker, build-perf): New rule.
3577 (GDB_PERFTEST_MODE): New variable.
3578 (check-perf): Use it.
3579 (clean): Clean up gdb.perf parallel build subdirs.
3580 * lib/build-piece.exp: New file.
3581 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3582 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3583 name.
3584 (standard_temp_file): Ditto.
3585 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3586 of $GDB_PARALLEL.
3587
6ebea266
DE
35882015-07-24 Doug Evans <dje@google.com>
3589
3590 * lib/future.exp (gdb_default_target_compile): New option
3591 "early_flags".
3592 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3593 --as-needed.
3594
1e76a7e9
SDJ
35952015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3596
3597 * gdb.base/catch-syscall.exp: Call gdb_exit before
3598 gdb_skip_xml_test.
3599
5068630a
PA
36002015-07-24 Pedro Alves <palves@redhat.com>
3601
3602 * gdb.python/py-events.exp: Accept output between the stop event
3603 and the prompt.
3604 * gdb.python/py-evsignal.exp: Likewise.
3605 * gdb.python/py-evthreads.exp: Likewise.
3606
77598427
PA
36072015-07-24 Pedro Alves <palves@redhat.com>
3608
3609 PR gdb/18717
3610 * gdb.threads/non-ldr-exit.c: New file.
3611 * gdb.threads/non-ldr-exit.exp: New file.
3612
11e6c98f
YQ
36132015-07-24 Yao Qi <yao.qi@linaro.org>
3614
3615 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3616 restarting process.
3617
51aee833
YQ
36182015-07-24 Yao Qi <yao.qi@linaro.org>
3619
3620 * gdb.server/ext-restart.exp: New file.
3621
8cfe207c
YQ
36222015-07-24 Yao Qi <yao.qi@linaro.org>
3623
3624 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3625 argument options.
3626 * gdb.server/ext-wrapper.exp: New file.
3627
cc12ce38
DE
36282015-07-23 Doug Evans <dje@google.com>
3629
3630 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3631 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3632
d0d84780
PMR
36332015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3634
3635 * gdb.ada/var_arr_typedef.exp: New testcase.
3636 * gdb.ada/var_arr_typedef/pack.adb: New file.
3637 * gdb.ada/var_arr_typedef/pack.ads: New file.
3638 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3639
8b558f79
JB
36402015-07-20 Joel Brobecker <brobecker@adacore.com>
3641
3642 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3643
775a3298
JK
36442015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3645
3646 * gdb.arch/i386-biarch-core.exp: Replace istarget
3647 by "complete set gnutarget". Remove expectation for the "core-file"
3648 command.
3649
db1ff28b
JK
36502015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3651
3652 Revert the previous commit:
3653 Tests for validate symbol file using build-id.
3654
0a94970d
JK
36552015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3656
3657 Tests for validate symbol file using build-id.
3658 * gdb.base/solib-mismatch-lib.c: New file.
3659 * gdb.base/solib-mismatch-libmod.c: New file.
3660 * gdb.base/solib-mismatch.c: New file.
3661 * gdb.base/solib-mismatch.exp: New file.
3662
03346981
SL
36632015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3664
3665 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3666 nios2-*-linux*.
3667 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3668 * gdb.base/siginfo.exp: Likewise.
3669 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3670
42422cc7
PL
36712015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3672
3673 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3674 Move it to ...
3675 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3676 ... here.
3677 * gdb.trace/range-stepping.exp: Check that the target supports
3678 range stepping.
3679
cfa68bae
JK
36802015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3681
3682 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3683
8ffdba26
PA
36842015-07-14 Pedro Alves <palves@redhat.com>
3685
3686 * gdb.base/killed-outside.exp: New file.
3687 * gdb.base/killed-outside.c: New file.
3688
218a5a11
JK
36892015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3690
3691 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3692 (n at main): New.
3693 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3694
e03ed3c6
AA
36952015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3696
3697 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3698 infcall tests instead of setting up for KFAIL.
3699
485668e5
MM
37002015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3701
3702 * gdb.btrace/record_goto-step.exp: New.
3703
08464196
JK
37042015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3705
3706 PR compile/18484
3707 * gdb.compile/compile.c (struct struct_type): Add volatile to
3708 selffield's type.
3709 * gdb.compile/compile.exp
3710 (compile code struct_object.selffield = &struct_object): Skip further
3711 struct_object tests if this one xfails.
3712
bcf5c1d9
RC
37132015-07-08 Robert O'Callahan <robert@ocallahan.org>
3714
3715 PR exp/18617
3716 * gdb.trace/ax.exp: Add test.
3717
4931af25
YQ
37182015-07-07 Yao Qi <yao.qi@linaro.org>
3719
3720 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3721 instead of istarget "aarch64*-*-*".
3722 * gdb.arch/aarch64-fp.exp: Likewise.
3723 * gdb.base/float.exp: Likewise.
3724 * gdb.reverse/aarch64.exp: Likewise.
3725 * lib/gdb.exp (is_aarch64_target): New proc.
3726
9fcf688e
YQ
37272015-07-07 Yao Qi <yao.qi@linaro.org>
3728
3729 * lib/gdb.exp (is_aarch32_target): New proc.
3730 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3731 instead of "istarget "arm*-*-*"".
3732 * gdb.arch/arm-disp-step.exp: Likewise.
3733 * gdb.arch/thumb-bx-pc.exp: Likewise.
3734 * gdb.arch/thumb-prologue.exp: Likewise.
3735 * gdb.arch/thumb-singlestep.exp: Likewise.
3736 * gdb.base/disp-step-syscall.exp: Likewise.
3737 * gdb.base/float.exp: Likewise.
3738
fbd8d50d
YQ
37392015-07-07 Yao Qi <yao.qi@linaro.org>
3740
3741 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3742 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3743
71be1fdc
YQ
37442015-07-07 Yao Qi <yao.qi@linaro.org>
3745
3746 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3747 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3748 if it exists.
3749 * gdb.multi/multi-arch.exp: Likewise.
3750
3e221d36
SM
37512015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3752
3753 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3754 print.
3755
d441430b
YQ
37562015-07-07 Yao Qi <yao.qi@linaro.org>
3757
3758 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3759
06f810bd
MG
37602015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3761
3762 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3763 '[' and ']' characters.
3764
5e61e7c0
IB
37652015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3766
3767 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3768
28bf096c
PA
37692015-06-29 Pedro Alves <palves@redhat.com>
3770
3771 PR threads/18127
3772 * gdb.threads/hand-call-new-thread.c: New file.
3773 * gdb.threads/hand-call-new-thread.c: New file.
3774
ee93cd5e
KS
37752015-06-26 Keith Seitz <keiths@redhat.com>
3776 Doug Evans <dje@google.com>
3777
3778 PR 16253
3779 * gdb.cp/var-tag-2.cc: New file.
3780 * gdb.cp/var-tag-3.cc: New file.
3781 * gdb.cp/var-tag-4.cc: New file.
3782 * gdb.cp/var-tag.cc: New file.
3783 * gdb.cp/var-tag.exp: New file.
3784
fc637f04
PP
37852015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3786
3787 * gdb.base/history-duplicates.exp: New test.
3788
2e52ae68
PP
37892015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3790
3791 * gdb.base/completion.exp: Test the completion of the "focus"
3792 command.
3793
6e22494e
JK
37942015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3795
3796 * gdb.arch/amd64-prologue-skip.S: New file.
3797 * gdb.arch/amd64-prologue-skip.exp: New file.
3798
bf7b9cd9
SM
37992015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3800
3801 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3802 is_address_zero_readable check.
3803
201e8dfd
PB
38042015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3805
3806 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3807 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3808
5cd867b4
YQ
38092015-06-24 Yao Qi <yao.qi@linaro.org>
3810
3811 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3812 linux targets.
3813
4d7be007
YQ
38142015-06-24 Yao Qi <yao.qi@linaro.org>
3815
3816 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3817 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3818 * gdb.base/siginfo-thread.exp: Likewise.
3819
07fcd301
YQ
38202015-06-22 Yao Qi <yao.qi@linaro.org>
3821
3822 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3823
52042a00
YQ
38242015-06-22 Yao Qi <yao.qi@linaro.org>
3825
3826 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3827 aarch64*-*-*.
3828 (skip_hw_watchpoint_tests): Likewise.
3829
74bd41ce
PP
38302015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3831
3832 * gdb.base/gdbinit-history.exp: Test the interaction between
3833 setting GDBHISTSIZE and setting the history size via .gdbinit.
3834
bc460514
PP
38352015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3836
3837 PR gdb/16999
3838 * gdb.base/gdbhistsize-history.exp: New test.
3839
b58c513b
PP
38402015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3841
3842 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3843 with GDBHISTSIZE.
3844 * gdb.base/readline.exp: Likewise.
3845
92046791
YQ
38462015-06-17 Yao Qi <yao.qi@linaro.org>
3847
3848 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3849 line.
3850
2093d2d3
PP
38512015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3852
3853 * gdb.base/gdbinit-history.exp: Add test case to check that
3854 an unlimited history file does not get truncated on exit.
3855
e6c693af
AA
38562015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3857
3858 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3859 (VECTOR): New macro. Use it...
3860 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3861 ...for these typedefs.
3862 (int8, char1, int1, double1): New typedefs.
3863 (struct just_int2, struct two_int2): New structures.
3864 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3865 (add_structvecs, add_singlevecs): New functions.
3866 (main): Call add_some_intvecs twice.
3867 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3868 the compile and exit upon failure. Try compiling for the "native"
3869 architecture. Test inferior function calls with vector arguments
3870 and vector return value handling with "finish" and "return".
3871
c74f7d1c
JT
38722015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3873
3874 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3875 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3876 PE file.
3877 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3878
98aa42ee
AT
38792015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3880
3881 PR breakpoints/16465
3882 * gdb.mi/mi-dprintf-pending.c: New file.
3883 * gdb.mi/mi-dprintf-pending.exp: New test.
3884 * gdb.mi/mi-dprintf-pendshr.c: New file.
3885
7d73c23c 38862015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 3887 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
3888
3889 * gdb.arch/i386-mpx-map.c: New file.
3890 * gdb.arch/i386-mpx-map.exp: New File.
3891
38922015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3893
3894 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3895 * gdb.arch/i386-mpx.exp: Indentation fixed.
3896
38972015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3898
3899 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3900 function and improved indentation.
3901 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3902 gdb_test_multiple. Added additional tests to skip the test.
3903
39042015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3905
3906 * gdb.arch/i386-avx512.c: Change path in include file.
3907 * gdb.arch/i386-avx512.exp: Change include dir path
3908 compilation flag.
3909 * gdb.arch/i386-mpx.c: Change path in include file.
3910 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3911 flag.
3912
d5eba19a
JK
39132015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3914
3915 * gdb.compile/compile-print.exp (compile print *vararray@3)
3916 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3917
7f361056
JK
39182015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3919
3920 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3921 (do not keep jit in memory): ... this.
3922 (expect 5): Change it to ...
3923 (expect no 5): ... this.
3924
3b462ec2
SM
39252015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3926
3927 PR gdb/15564
3928 * gdb.mi/mi-detach.exp: New file.
3929
e0619de6
JK
39302015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3931
3932 PR symtab/18392
3933 * gdb.arch/amd64-tailcall-self.S: New file.
3934 * gdb.arch/amd64-tailcall-self.c: New file.
3935 * gdb.arch/amd64-tailcall-self.exp: New file.
3936
e970cb34
DB
39372015-05-28 Don Breazeal <donb@codesourcery.com>
3938
3939 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3940 tests for remote targets by checking is_target_gdbserver.
3941
b2e2f908
DE
39422015-05-27 Doug Evans <dje@google.com>
3943
3944 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3945 * gdb.dwarf2/opaque-type-lookup.c: New file.
3946 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3947
82c7be31
DE
39482015-05-26 Doug Evans <dje@google.com>
3949
3950 * gdb.cp/iostream.cc: New file.
3951 * gdb.cp/iostream.exp: New file.
3952
b4f54984
DE
39532015-05-26 Doug Evans <dje@google.com>
3954
3955 * gdb.dwarf2/dw2-op-call.exp: Update.
3956 * gdb.dwarf2/dw4-sig-types.exp: Update.
3957 * gdb.dwarf2/implptr.exp: Update.
3958 * gdb.mi/mi-cmd-param-changed.exp: Update.
3959
4ea6efe9
DE
39602015-05-26 Doug Evans <dje@google.com>
3961
3962 * gdb.python/py-lazy-string.c: New file.
3963 * gdb.python/py-lazy-string.exp: New file.
3964 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3965 (main): Update. Add estring3.
3966 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3967 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3968
f6bb7db3
YQ
39692015-05-26 Omair Javaid <omair.javaid@linaro.org>
3970 Yao Qi <yao.qi@linaro.org>
3971
3972 * gdb.reverse/aarch64.c: New.
3973 * gdb.reverse/aarch64.exp: New.
3974
a81bfbd0
OJ
39752015-05-26 Omair Javaid <omair.javaid@linaro.org>
3976
25d49b86
PA
3977 * lib/gdb.exp (supports_process_record): Return true for
3978 aarch64*-linux*.
a81bfbd0
OJ
3979 (supports_reverse): Likewise.
3980
158bf1b4
PP
39812015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3982
3983 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3984 Use with_test_prefix.
3985
a0145030
AB
39862015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3987
3988 * gdb.base/completion.exp: Add test for completion of layout
3989 names.
3990
ebe3b578
AB
39912015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3992
3993 * lib/gdb.exp (skip_tui_tests): New proc.
3994 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3995
84204ed7
PA
39962015-05-19 Pedro Alves <palves@redhat.com>
3997
3998 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3999 Save the whole env array instead of just HOME. Unset HISTSIZE in
4000 the environment while testing. Restore whole environment
4001 afterwards.
4002
37442ce1
DE
40032015-05-16 Doug Evans <xdje42@gmail.com>
4004
4005 * gdb.guile/scm-ports.c: New file.
4006 * gdb.guile/scm-ports.exp: Add memory port tests.
4007
36de76f9
JK
40082015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4009
4010 * gdb.compile/compile-print.c: New file.
4011 * gdb.compile/compile-print.exp: New file.
4012
3a9558c4
JK
40132015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4014
4015 * gdb.compile/compile-ops.exp: Cast param to void.
4016 * gdb.compile/compile.exp: Complete type for _gdb_expr.
4017 (compile code struct_object.selffield = &struct_object): Add xfail.
4018
aa715135
JG
40192015-05-15 Joel Brobecker <brobecker@adacore.com>
4020
4021 * gdb.ada/arr_enum_with_gap: New testcase.
4022
931e5bc3
JG
40232015-05-15 Joel Brobecker <brobecker@adacore.com>
4024
4025 * gdb.ada/byte_packed_arr: New testcase.
4026
9cd4d857
JB
40272015-05-15 Joel Brobecker <brobecker@adacore.com>
4028
4029 * gdb.ada/pckd_neg: New testcase.
4030
ebfd00d2
PP
40312015-05-13 Patrick Palka <patrick@parcs.ath.cx>
4032
4033 PR gdb/17820
4034 * gdb.base/gdbinit-history.exp: New test.
4035 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
4036 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
4037
4c082a81
SC
40382015-05-09 Siva Chandra Reddy <sivachandra@google.com>
4039
4040 * gdb.python/py-xmethods.cc: Enhance test case.
4041 * gdb.python/py-xmethods.exp: New tests.
4042 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
4043 function.
4044 (B_indexoper): Likewise.
4045 (global_dm_list) : Add new xmethod worker functions.
4046
f7797074
SDJ
40472015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
4048
4049 * gdb.base/coredump-filter.exp: Correctly unset
4050 "coredump_var_addr" array.
4051
a4674e4e
PA
40522015-05-08 Pedro Alves <palves@redhat.com>
4053
4054 * gdb.server/non-existing-program.exp: Unset spawn_id.
4055
df2eb078
SC
40562015-05-08 Siva Chandra Reddy <sivachandra@google.com>
4057
4058 PR python/18291
4059 * gdb.python/py-xmethods.exp: Add tests.
4060
422349a3
YQ
40612015-05-08 Yao Qi <yao.qi@linaro.org>
4062
4063 PR gdb/18208
4064 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
4065 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
4066 function set_coredump_filter, and remove remote_exec call.
4067 Remove argument ipid. Callers update.
4068 (top level): Don't get inferior's PID.
4069
63fc80ce
AA
40702015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
4071
4072 * gdb.base/watch_thread_num.exp: Skip test on targets without
4073 access watchpoints.
4074
80ad801e
PA
40752015-05-06 Pedro Alves <palves@redhat.com>
4076
4077 PR server/18081
4078 * gdb.server/non-existing-program.exp: New file.
4079
0fa7fe50
JB
40802015-05-05 Joel Brobecker <brobecker@adacore.com>
4081
4082 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
4083
3ea89b92
PMR
40842015-05-05 Joel Brobecker <brobecker@adacore.com>
4085
4086 * gdb.ada/out_of_line_in_inlined: New testcase.
4087
87b8eff0
JB
40882015-05-05 Joel Brobecker <brobecker@adacore.com>
4089
4090 * gdb.ada/var_rec_arr: New testcase.
4091
5fccc635
YQ
40922015-04-30 Yao Qi <yao.qi@linaro.org>
4093
4094 * gdb.base/break-idempotent.exp: If
4095 skip_hw_watchpoint_multi_tests returns true, skip the tests
4096 on "rwatch" and "awatch".
4097
42d38f42
YQ
40982015-04-30 Yao Qi <yao.qi@linaro.org>
4099
4100 * gdb.base/relativedebug.exp: Invoke gdb command
4101 "info sharedlibrary", and if libc.so doesn't have debug info,
4102 skip the test.
4103
2ce1cdbf
DE
41042015-04-29 Doug Evans <dje@google.com>
4105
4106 * gdb.python/py-xmethods.exp: Add ptype tests.
4107 * gdb.python/py-xmethods.py (E_method_char_worker): Add
4108 get_result_type method.
4109
f24a38c5
LM
41102015-04-29 Luis Machado <lgustavo@codesourcery.com>
4111
4112 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
4113 the target does not support hardware watchpoints.
4114
ecbf2b3c
LM
41152015-04-29 Luis Machado <lgustavo@codesourcery.com>
4116
4117 * gdb.base/break-always.exp: Abort testing if writing to memory
4118 causes an error.
4119
34f5f757
DE
41202015-04-28 Doug Evans <dje@google.com>
4121
4122 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
4123 * gdb.python/py-pp-registration.exp: ... here. New file.
4124 * gdb.python/py-pp-registration.c: New file.
4125 * gdb.python/py-pp-registration.py: New file.
4126
69b4374a
DE
41272015-04-28 Doug Evans <dje@google.com>
4128
4129 * gdb.python/py-bad-printers.c: New file.
4130 * gdb.python/py-bad-printers.py: New file.
4131 * gdb.python/py-bad-printers.exp: New file.
4132
59fb7612
SS
41332015-04-28 Sasha Smundak <asmundak@google.com>
4134
4135 * gdb.python/py-type.exp: New test.
4136
2631b16a
AW
41372015-04-28 Andy Wingo <wingo@igalia.com>
4138
4139 * gdb.python/py-parameter.exp:
4140 * gdb.guile/scm-parameter.exp: Escape the path that we are
4141 matching against, as it might contain characters that are special
4142 to regular expressions.
4143
460efde1
JB
41442015-04-27 Joel Brobecker <brobecker@adacore.com>
4145
4146 * gdb.ada/rec_comp: New testcase.
4147
2d369d8e
SDJ
41482015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
4149
4150 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
4151 before using it.
4152
cf75d6c3
AB
41532015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
4154
4155 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4156 new tests for verilog output.
4157
8dbe7ca5
YQ
41582015-04-24 Yao Qi <yao.qi@linaro.org>
4159
4160 * boards/remote-gdbserver-on-localhost.exp: New file.
4161
4ef9fb2f
PA
41622015-04-23 Pedro Alves <palves@redhat.com>
4163
4164 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4165 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4166 "end of file", remove $inferior_spawn_id from the indirect list.
4167
0a803169
PA
41682015-04-23 Pedro Alves <palves@redhat.com>
4169
4170 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4171
749ef8f8
PA
41722015-04-23 Pedro Alves <palves@redhat.com>
4173
4174 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4175 on $any_spawn_id instead of only on $gdb_spawn_id.
4176
8aae4344
PM
41772015-04-21 Pierre Muller <muller@sourceware.org>
4178
4179 PR pascal/17815
4180 * lib/pascal.exp (gpc_compile): Add new option "class".
4181 (fpc_compile): Likewise.
4182 * gdb.pascal/case-insensitive-symbols.pas: New file.
4183 * gdb.pascal/case-insensitive-symbols.exp: New file.
4184
1586c8fb
GB
41852015-04-20 Gary Benson <gbenson@redhat.com>
4186
4187 * gdb.base/attach.exp: Fix three extended remote failures.
4188
1b6e6f5c
GB
41892015-04-17 Gary Benson <gbenson@redhat.com>
4190
4191 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4192 the main executable over the remote protocol.
4193
e797481d
PA
41942015-04-16 Pedro Alves <palves@redhat.com>
4195
4196 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4197 a new gdbserver if gdbserver_reconnect_p is set.
4198
1ca99c42
PA
41992015-04-16 Pedro Alves <palves@redhat.com>
4200
4201 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4202 is set, don't exit gdbserver.
4203
af9fd6f8
AA
42042015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4205
4206 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4207 appropriate .insn, such that an older assembler can be used.
4208 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4209 the z/Architecture instruction set on 31-bit targets as well.
4210
04ff1e61
AA
42112015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4212
4213 * gdb.go/handcall.exp: Remove all logic related to the first
4214 breakpoint and rely on go_runto_main instead.
4215 * gdb.go/strings.exp: Likewise.
4216 * gdb.go/unsafe.exp: Likewise.
4217 * gdb.go/hello.exp: Likewise. Also rename the remaining
4218 breakpoint marker to "breakpoint 1".
4219 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4220 * gdb.go/strings.go: Likewise.
4221 * gdb.go/unsafe.go: Likewise.
4222 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4223 "set breakpoint 2 here" and rename the remaining breakpoint marker
4224 to "breakpoint 1".
4225
40d2f8d6
SM
42262015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4227
4228 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4229 if itertools.imap is not present.
4230 * gdb.python/py-objfile.exp: Add parentheses.
4231 * gdb.python/py-type.exp: Same.
4232 * gdb.python/py-unwind-maint.py: Same.
4233
8cbc97c6
YQ
42342015-04-15 Yao Qi <yao.qi@linaro.org>
4235
4236 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4237 of ":$ptr_size" and set its form explicitly.
4238
45fd756c
YQ
42392015-04-15 Pedro Alves <palves@redhat.com>
4240 Yao Qi <yao.qi@linaro.org>
4241
4242 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4243 timeout by factor of 4.
4244 (test_regular_watch): Likewise.
4245 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4246 * gdb.reverse/sigall-reverse.exp: Likewise.
4247 * gdb.reverse/until-precsave.exp: Likewise.
4248 * lib/gdb.exp (with_timeout_factor): New proc.
4249 (gdb_expect): Move some code to ...
4250 (get_largest_timeout): ... here. New procedure.
4251
9e811bc3
LM
42522015-04-14 Luis Machado <lgustavo@codesourcery.com>
4253
4254 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4255
0ff6fcb2
LM
42562015-04-13 Luis Machado <lgustavo@codesourcery.com>
4257
4258 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4259 to write to the .text section.
4260
7578d5f7
LM
42612015-04-13 Luis Machado <lgustavo@codesourcery.com>
4262
4263 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4264 Handle the case of targets that do not provide PID information.
4265
2efe15c4
YQ
42662015-04-13 Yao Qi <yao.qi@linaro.org>
4267
4268 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4269 and use expect instead of gdb_expect.
4270
8cd8f2f8
SDJ
42712015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4272
4273 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4274 "coredump_var_addr" to avoid naming conflict with other testcases.
4275
9ee41772
PA
42762015-04-10 Pedro Alves <palves@redhat.com>
4277
4278 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4279 gdb_test_sequence and gdb_assert.
4280
07473109
PA
42812015-04-10 Pedro Alves <palves@redhat.com>
4282
4283 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4284 test messages that don't include the breakpoint address.
4285
de3db44c
YQ
42862015-04-10 Yao Qi <yao.qi@linaro.org>
4287
4288 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4289 false for some offset and width combinations which aren't
4290 supported by linux kernel.
4291
c79d856c
PA
42922015-04-10 Pedro Alves <palves@redhat.com>
4293
4294 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4295 procedure, factored out from ...
4296 (top level): ... here. Add "set displaced-stepping" testing axis.
4297 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4298 parameter "displaced". Use it.
4299 (top level): Use foreach and add "set displaced-stepping" testing
4300 axis.
4301
ebc90b50
PA
43022015-04-10 Pedro Alves <palves@redhat.com>
4303
4304 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4305 Remove comment.
4306 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4307 both the address of the instruction that triggers the watchpoint
4308 and the address of the instruction immediately after, and use
4309 those addresses for the test. Fix comment.
4310
8f572e5c
PA
43112015-04-10 Pedro Alves <palves@redhat.com>
4312
4313 * gdb.base/sigstep.exp (breakpoint_to_handler)
4314 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4315 Test "backtrace" in handler.
4316 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4317 (top level): Add new "displaced" test axis to
4318 breakpoint_to_handler, breakpoint_to_handler_entry and
4319 breakpoint_over_handler.
4320
8d707a12
PA
43212015-04-10 Pedro Alves <palves@redhat.com>
4322
4323 PR gdb/18216
4324 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4325
ef713951
YQ
43262015-04-10 Yao Qi <yao.qi@linaro.org>
4327
4328 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4329 (test_add_rn_pc): New function.
4330 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4331 (top level): Invoke test_add_rn_pc.
4332
906d60cf
PA
43332015-04-10 Pedro Alves <palves@redhat.com>
4334
4335 PR gdb/13858
4336 * gdb.base/step-over-no-symbols.exp: New file.
4337
f2983cc3
AW
43382015-04-09 Andy Wingo <wingo@igalia.com>
4339
4340 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4341 after the Python tests.
4342
6d62641c
SDJ
43432015-04-08 Keith Seitz <keiths@redhat.com>
4344
4345 PR python/16699
4346 * gdb.python/py-completion.exp: New tests for completion.
4347 * gdb.python/py-completion.py (CompleteLimit1): New class.
4348 (CompleteLimit2): Likewise.
4349 (CompleteLimit3): Likewise.
4350 (CompleteLimit4): Likewise.
4351 (CompleteLimit5): Likewise.
4352 (CompleteLimit6): Likewise.
4353 (CompleteLimit7): Likewise.
4354
f3770638
PA
43552015-04-08 Pedro Alves <palves@redhat.com>
4356
4357 PR gdb/18214
4358 PR gdb/18216
4359 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4360 function.
4361 (main): Install it as SIGUSR1 handler.
4362 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4363 parameter. Always use "setup" as prefix. Toggle "set
4364 displaced-stepping" off/on depending on global. Don't switch to
4365 thread 1 here.
4366 (top level): Add displaced stepping "off/on" test axis. Update
4367 "setup" calls. Wrap each subtest with with_test_prefix. Test
4368 continuing with a queued signal in each thread.
4369
4496bed7
PA
43702015-04-08 Pedro Alves <palves@redhat.com>
4371
4372 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4373 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4374 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4375 Return early if running to main fails.
4376 * gdb.trace/while-stepping.exp: Likewise.
4377
b97fde92
PA
43782015-04-07 Pedro Alves <palves@redhat.com>
4379
4380 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4381 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4382 interact with inferior program.
4383
f71c18e7
PA
43842015-04-07 Pedro Alves <palves@redhat.com>
4385
4386 * lib/gdb.exp (inferior_spawn_id): New global.
4387 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4388 spawn id after processing the user code.
4389 (default_gdb_start): Set inferior_spawn_id.
4390 (send_inferior): New procedure.
4391 * lib/gdbserver-support.exp (gdbserver_start): Set
4392 inferior_spawn_id.
4393 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4394
6423214f
PA
43952015-04-07 Pedro Alves <palves@redhat.com>
4396
4397 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4398 * lib/gdbserver-support.exp (gdbserver_start): Make
4399 $server_spawn_id global.
4400 (gdbserver_start): Don't wait for gdbserver's spawn id with
4401 expect_background.
4402 (close_gdbserver): New procedure.
4403 (gdb_exit): Rename the default version and reimplement.
4404
71c0ee8c
PA
44052015-04-07 Pedro Alves <palves@redhat.com>
4406
72f4393d 4407 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
4408 append the substituted item, not the original item.
4409
203bc29b
PA
44102015-04-07 Pedro Alves <palves@redhat.com>
4411
4412 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4413 gdb_expect.
4414
508a3ddf
PA
44152015-04-07 Pedro Alves <palves@redhat.com>
4416
4417 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4418 output appearing once only.
4419
9f6dbe2b
PA
44202015-04-07 Pedro Alves <palves@redhat.com>
4421
4422 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4423 that doesn't expect anything. Return early if running to main
4424 fails.
4425
337532fa
YQ
44262015-04-07 Yao Qi <yao.qi@linaro.org>
4427
4428 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4429 (child_function): Call alarm.
4430 (main): Move call to alarm into the loop.
4431 * gdb.threads/non-stop-fair-events.exp: Build program with
4432 -DTIMEOUT=$timeout.
4433
01b622d4
DE
44342015-04-06 Doug Evans <xdje42@gmail.com>
4435
4436 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4437 Fix dest parameter to board_info.
4438 (fpc_compile): Ditto.
4439 (gdb_compile_pascal): Rename dest arg to destfile.
4440
961f4160
PMR
44412015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4442
4443 * gdb.ada/funcall_ref.exp: New file.
4444 * gdb.ada/funcall_ref/foo.adb: New file.
4445
cafda597
YQ
44462015-04-02 Yao Qi <yao.qi@linaro.org>
4447
4448 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4449 is remote.
4450
fed040c6
GB
44512015-04-02 Gary Benson <gbenson@redhat.com>
4452
4453 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4454
d11916aa
SS
44552015-04-01 Sasha Smundak <asmundak@google.com>
4456
4457 * gdb.python/py-unwind-maint.c: New file.
4458 * gdb.python/py-unwind-maint.exp: New test.
4459 * gdb.python/py-unwind-maint.py: New file.
4460 * gdb.python/py-unwind.c: New file.
4461 * gdb.python/py-unwind.exp: New test.
4462 * gdb.python/py-unwind.py: New test.
4463
a1471180
PA
44642015-04-01 Pedro Alves <palves@redhat.com>
4465
4466 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4467 to fail instead of non-existent $test.
4468
0bbeccb1
PA
44692015-04-01 Pedro Alves <palves@redhat.com>
4470
4471 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4472 GDBFLAGS if not empty.
4473
3c724c8c
PMR
44742015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4475
4476 * gdb.ada/complete.exp: Remove "multi_line".
4477 * gdb.ada/info_exc.exp: Remove "multi_line".
4478 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4479 * gdb.ada/ptype_field.exp: Remove "multi_line".
4480 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4481 * gdb.ada/tagged.exp: Remove "multi_line".
4482 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4483 [multi_line ...]
4484 * gdb.btrace/delta.exp: Likewise.
4485 * gdb.btrace/exception.exp: Likewise.
4486 * gdb.btrace/function_call_history.exp: Likewise.
4487 * gdb.btrace/instruction_history.exp: Likewise.
4488 * gdb.btrace/nohist.exp: Likewise.
4489 * gdb.btrace/record_goto.exp: Likewise.
4490 * gdb.btrace/segv.exp: Likewise.
4491 * gdb.btrace/stepi.exp: Likewise.
4492 * gdb.btrace/tailcall.exp: Likewise.
4493 * gdb.btrace/unknown_functions.exp: Likewise.
4494 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4495 * lib/gdb.exp: Add the "multi_line" helper.
4496
4eec2deb
PA
44972015-04-01 Pedro Alves <palves@redhat.com>
4498
4499 * gdb.threads/tid-reuse.c: New file.
4500 * gdb.threads/tid-reuse.exp: New file.
4501
df8411da
SDJ
45022015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4503
4504 PR corefiles/16092
4505 * gdb.base/coredump-filter.c: New file.
4506 * gdb.base/coredump-filter.exp: Likewise.
4507
6ef37366
PM
45082015-03-27 Petr Machata <pmachata@redhat.com>
4509
4510 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4511 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4512 (Dwarf::assemble): Initialize them.
4513 (Dwarf::lines): New function.
4514
7ec911b0
JT
45152015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4516
4517 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4518 SYMBOL_PREFIX for x86_64-*-cygwin.
4519
ff908ebf
AW
45202015-03-26 Andy Wingo <wingo@igalia.com>
4521
4522 PR symtab/18148
4523 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4524 const_value but not a location.
4525 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4526 location defined in non-main CUs are visible.
4527
6d5f0679
YQ
45282015-03-26 Yao Qi <yao.qi@linaro.org>
4529
4530 PR testsuite/18139
4531 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4532 Add a line number entry for the same line.
4533 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4534 Add a line number entry for the same line.
4535
2898689b
YQ
45362015-03-26 Yao Qi <yao.qi@linaro.org>
4537
4538 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4539 .int 0.
4540 (func): Likewise. Add .Lfunc_1 label.
4541 Use .Lfunc_1 label.
4542 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4543 .int 0.
4544 (func): Likewise.
4545 Use .Lfunc_1 label.
4546
85180498
YQ
45472015-03-26 Yao Qi <yao.qi@linaro.org>
4548
4549 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4550 Call gdb_compile instead to compile each .s files without debug
4551 information.
4552
8aa08a8d
YQ
45532015-03-26 Yao Qi <yao.qi@linaro.org>
4554
4555 * gdb.base/savedregs.exp (process_saved_regs): Make
4556 "Saved registers:" optional in the pattern.
4557
66849923
MM
45582015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4559
4560 * gdb.btrace/next.exp: Merged into step.exp.
4561 * gdb.btrace/finish.exp: Merged into step.exp.
4562 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4563 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4564 "record goto" and checking the exact replay position.
4565 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4566 check for "Recording format" in "info record" output.
4567 * gdb.btrace/record_goto.exp: Choose test file based on target.
4568 * gdb.btrace/x86-record_goto.S: Renamed into ...
4569 * gdb.btrace/x86_64-record_goto.S: ... this.
4570 * gdb.btrace/i686-record_goto.S: New.
4571 * gdb.btrace/x86-tailcall.S: Renamed into ...
4572 * gdb.btrace/x86_64-tailcall.S: ... this.
4573 * gdb.btrace/i686-tailcall.S: New.
4574 * gdb.btrace/x86-tailcall.c: Renamed into ...
4575 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4576 separate statements. Update test.
4577 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4578 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4579 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4580 * gdb.btrace/tailcall.exp: Choose test file based on target.
4581 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4582
11cc1b74
MM
45832015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4584
4585 * gdb.btrace/exception.exp: Increase BTS buffer size.
4586
a25d8bf9
PA
45872015-03-24 Pedro Alves <palves@redhat.com>
4588
4589 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4590
856e7dd6
PA
45912015-03-24 Pedro Alves <palves@redhat.com>
4592
4593 * gdb.threads/schedlock.exp (test_step): No longer expect that
4594 "set scheduler-locking step" with "next" over a function call runs
4595 threads unlocked.
4596
ad235a41
AT
45972015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4598
4599 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4600
15630549
AT
46012015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4602
4603 PR breakpoints/16466
4604 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4605 * gdb.mi/mi-pending.c (thread_func): New function.
4606 (int main): Add threading support required.
4607 * gdb.mi/mi-pending.exp: Add tests for this issue.
4608 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4609 (pendfunc2): Remove stdio dependency.
4610 * gdb.mi/mi-pendshr2.c: New file.
4611
693dca06
KS
46122015-03-23 Keith Seitz <keiths@redhat.com>
4613
4614 * gdb.linespec/keywords.c: New file.
4615 * gdb.linespec/keywords.exp: New file.
4616
7e993ebf
KS
46172015-03-23 Keith Seitz <keiths@redhat.com>
4618
4619 PR gdb/18021
4620 * gdb.dwarf2/staticvirtual.exp: New test.
4621
bc23328c
JK
46222015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4623
4624 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4625 * README: Remove HP-UX and gdb.hp.
4626 (configuration):
4627 * configure: Regenerate.
4628 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4629 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4630 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4631 gdb.hp/gdb.defects/Makefile.
4632 * gdb.hp/Makefile.in: File deleted.
4633 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4634 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4635 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4636 * gdb.hp/gdb.aCC/run.c: File deleted.
4637 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4638 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4639 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4640 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4641 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4642 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4643 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4644 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4645 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4646 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4647 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4648 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4649 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4650 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4651 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4652 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4653 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4654 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4655 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4656 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4657 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4658 * gdb.hp/gdb.compat/average.c: File deleted.
4659 * gdb.hp/gdb.compat/sum.c: File deleted.
4660 * gdb.hp/gdb.compat/xdb.c: File deleted.
4661 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4662 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4663 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4664 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4665 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4666 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4667 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4668 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4669 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4670 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4671 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4672 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4673 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4674 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4675 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4676 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4677 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4678 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4679 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4680 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4681 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4682 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4683 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4684 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4685 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4686 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4687 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4688 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4689 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4690 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4691 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4692 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4693 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4694 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4695 * gdb.hp/tools/odump: File deleted.
4696
8bf3b159
PA
46972015-03-19 Pedro Alves <palves@redhat.com>
4698
4699 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4700 (saw_thread_3): New globals.
4701 (top level): Increment them when an event for the corresponding
4702 thread is seen.
4703 (no thread starvation): New test.
4704
eb54c8bf
PA
47052015-03-19 Pedro Alves <palves@redhat.com>
4706
4707 * gdb.threads/continue-pending-status.c: New file.
4708 * gdb.threads/continue-pending-status.exp: New file.
4709
32d2e5d6
PA
47102015-03-18 Pedro Alves <palves@redhat.com>
4711
4712 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4713 Use gdb_is_target_remote instead of is_remote. Use
4714 gdb_test_multiple instead of gdb_expect. Exit early if
4715 gdb_test_multiple hits its internal matches. Tighten stepi tests
4716 expected output. Fail on exit with any signal, instead of just
4717 SIGILL.
4718
f68f11b7
YQ
47192015-03-18 Yao Qi <yao.qi@linaro.org>
4720
4721 PR tdep/18107
4722 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4723 variable.
4724 * gdb.base/catch-syscall.exp: Don't skip it on
4725 aarch64*-*-linux* target. Remove elements in all_syscalls.
4726 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4727 target.
4728 (setup_all_syscalls): New proc.
4729
ca5fd19b
YQ
47302015-03-16 Yao Qi <yao.qi@linaro.org>
4731
4732 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4733 (top level): Skip tests if valid_addr_p returns false for
4734 $cmd1 or $cmd2.
4735
85642ba0
AW
47362015-03-11 Andy Wingo <wingo@igalia.com>
4737
4738 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4739
e03f9645
YQ
47402015-03-11 Yao Qi <yao.qi@linaro.org>
4741
4742 * gdb.base/catch-syscall.exp: Fix typo in comments.
4743
5d0962b2
YQ
47442015-03-11 Yao Qi <yao.qi@linaro.org>
4745
4746 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4747
b2df3cef
PA
47482015-03-09 Pedro Alves <palves@redhat.com>
4749
4750 * dg-extract-results.py: Delete.
4751
ef878e53
PA
47522015-03-09 Pedro Alves <palves@redhat.com>
4753
4754 Merge dg-extract-results.sh from GCC upstream (r218843).
4755
4756 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4757 * dg-extract-results.sh: Use --text with grep to avoid issues with
4758 binary files. Fall back to cat -v, if that doesn't work.
4759
9494d219
PA
47602015-03-05 Pedro Alves <palves@redhat.com>
4761
4762 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4763
a8d9763a
SM
47642015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4765
4766 * lib/mi-support.exp (mi_expect_interrupt): Accept
4767 alternative event for when in all-stop mode.
4768
be9957b8
PA
47692015-03-04 Pedro Alves <palves@redhat.com>
4770
4771 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4772
d57be0f4 47732015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
4774
4775 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4776
c214c7cf
AA
47772015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4778
4779 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4780 regexps for GDB's current line display, accept a hex address
4781 preceding the line number.
4782
6d74a497
AA
47832015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4784
4785 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4786 the 'arch1' variable for "s390*-linux*" targets.
4787
511aee7c
PA
47882015-03-04 Pedro Alves <palves@redhat.com>
4789
4790 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4791 (main): Pass missing retval argument to pthread_join call.
4792
95e50b27
PA
47932015-03-02 Pedro Alves <palves@redhat.com>
4794
4795 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4796 (top level): Call do_test with non-stop as well.
4797
28054d69
PA
47982015-03-02 Pedro Alves <palves@redhat.com>
4799
4800 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4801 -1.
4802
4fa5d7b4
AA
48032015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4804
4805 * gdb.arch/s390-vregs.exp: New test.
4806 * gdb.arch/s390-vregs.S: New file.
4807
97c18565
PA
48082015-02-27 Pedro Alves <palves@redhat.com>
4809
4810 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4811 call to catch_command_errors.
4812 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4813 catch_command_errors.
4814
a37bfa30
PA
48152015-02-27 Pedro Alves <palves@redhat.com>
4816
4817 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4818 "true" for boolean result.
4819 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4820 prototype of main.
4821
6f98576f
PA
48222015-02-27 Pedro Alves <palves@redhat.com>
4823
4824 * lib/unbuffer_output.c: New file.
4825 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4826 (main): Call gdb_unbuffer_output.
4827
eba5ab56
YQ
48282015-02-27 Yao Qi <yao.qi@linaro.org>
4829
4830 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4831 target.
4832
0def5aaa
DE
48332015-02-26 Doug Evans <dje@google.com>
4834
4835 * gdb.cp/class2.cc (Dbase, D): New classes.
4836 (main): New local delta.
4837 * gdb.cp/class2.exp: Test printing delta.
4838 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4839 (dynbar): New global.
4840 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4841
081a1c2c
JK
48422015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4843
4844 * gdb.compile/compile-ifunc.c: New file.
4845 * gdb.compile/compile-ifunc.exp: New file.
4846
2f41223f
AT
48472015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4848
4849 * gdb.base/structs.exp: Check for correct struct on finish.
4850
03eddd80
YQ
48512015-02-26 Yao Qi <yao.qi@linaro.org>
4852
4853 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4854 is zero.
4855
80c57053
JK
48562015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4857
4858 * gdb.arch/cordic.ko.bz2: New file.
4859 * gdb.arch/cordic.ko.debug.bz2: New file.
4860 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4861
21613c12
YQ
48622015-02-25 Yao Qi <yao.qi@linaro.org>
4863
4864 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4865 aarch64*-*-* target.
4866
d8b901ed
PA
48672015-02-23 Pedro Alves <palves@redhat.com>
4868
4869 * lib/gdb.exp (delete_breakpoints): Rewrite using
4870 gdb_test_multiple.
4871
e5b85ead
PA
48722015-02-23 Pedro Alves <palves@redhat.com>
4873
4874 * gdb.base/info-os.c: Include stdlib.h.
4875
85c3a371
DE
48762015-02-22 Doug Evans <xdje42@gmail.com>
4877
4878 PR symtab/17855
4879 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4880 is read after symbols have been re-read.
4881 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4882 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4883
96553a0c
DE
48842015-02-21 Doug Evans <dje@google.com>
4885
4886 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4887
97a0c697
JK
48882015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4889
4890 PR corefiles/17808
4891 * gdb.arch/i386-biarch-core.core.bz2: New file.
4892 * gdb.arch/i386-biarch-core.exp: New file.
4893
a47cd6e9
PA
48942015-02-21 Pedro Alves <palves@redhat.com>
4895
4896 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4897 runto_main fails.
4898
c5facdc4
PA
48992015-02-20 Pedro Alves <palves@redhat.com>
4900
4901 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4902 info probes.
4903
2db9a427
PA
49042015-02-20 Pedro Alves <palves@redhat.com>
4905
4906 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4907
60fb7e9e
PA
49082015-02-20 Pedro Alves <palves@redhat.com>
4909
4910 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4911 clean_restart before gdb_target_supports_trace.
4912
5c5019c2
PA
49132015-02-20 Pedro Alves <palves@redhat.com>
4914
4915 PR threads/18006
4916 * gdb.threads/clone-thread_db.c: New file.
4917 * gdb.threads/clone-thread_db.exp: New file.
4918
c9587f88
AT
49192015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4920
4921 PR breakpoints/16812
4922 * gdb.base/catch-gdb-caused-signals.c: New file.
4923 * gdb.base/catch-gdb-caused-signals.exp: New file.
4924
f6a88844
JM
49252015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4926
4927 * configure: Regenerated.
4928 * configure.ac: Use GDB_AC_TRANSFORM.
4929 * aclocal.m4: sinclude ../transform.m4.
4930
497c491b
JM
49312015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4932
4933 * lib/dtrace.exp: New file.
4934 * gdb.base/dtrace-probe.exp: Likewise.
4935 * gdb.base/dtrace-probe.d: Likewise.
4936 * gdb.base/dtrace-probe.c: Likewise.
4937 * lib/pdtrace.in: Likewise.
4938 * configure.ac: Output variables with the transformed names of
4939 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4940 * configure: Regenerated.
4941
03e98035
JM
49422015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4943
4944 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4945 expected message when trying to access $_probe_* convenience
4946 variables while not on a probe.
4947
63cc30e9
JK
49482015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4949
4950 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4951
0703599a
PA
49522015-02-11 Pedro Alves <pedro@codesourcery.com>
4953
4954 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4955 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4956
7e60a48e
DE
49572015-02-10 Doug Evans <xdje42@gmail.com>
4958
4959 * lib/gdb.exp (gdb_load): Always return a result.
4960
01b088bc
PA
49612015-02-10 Pedro Alves <palves@redhat.com>
4962
4963 * gdb.threads/signal-sigtrap.c: New file.
4964 * gdb.threads/signal-sigtrap.exp: New file.
4965
b05ec7a5
AT
49662015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4967
4968 * gdb.trace/no-attach-trace.c: New file.
4969 * gdb.trace/no-attach-trace.exp: New file.
4970
a2c2acaf
MW
49712015-02-09 Mark Wielaard <mjw@redhat.com>
4972
4973 * gdb.dwarf2/atomic.c: New file.
4974 * gdb.dwarf2/atomic-type.exp: Likewise.
4975
31fd9caa
MM
49762015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4977
4978 * gdb.btrace/buffer-size.exp: Update "info record" output.
4979 * gdb.btrace/delta.exp: Update "info record" output.
4980 * gdb.btrace/enable.exp: Update "info record" output.
4981 * gdb.btrace/finish.exp: Update "info record" output.
4982 * gdb.btrace/instruction_history.exp: Update "info record" output.
4983 * gdb.btrace/next.exp: Update "info record" output.
4984 * gdb.btrace/nexti.exp: Update "info record" output.
4985 * gdb.btrace/step.exp: Update "info record" output.
4986 * gdb.btrace/stepi.exp: Update "info record" output.
4987 * gdb.btrace/nohist.exp: Update "info record" output.
4988
d33501a5
MM
49892015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4990
4991 * gdb.btrace/buffer-size: New.
4992
f4abbc16
MM
49932015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4994
4995 * gdb.btrace/delta.exp: Update "info record" output.
4996 * gdb.btrace/enable.exp: Update "info record" output.
4997 * gdb.btrace/finish.exp: Update "info record" output.
4998 * gdb.btrace/instruction_history.exp: Update "info record" output.
4999 * gdb.btrace/next.exp: Update "info record" output.
5000 * gdb.btrace/nexti.exp: Update "info record" output.
5001 * gdb.btrace/step.exp: Update "info record" output.
5002 * gdb.btrace/stepi.exp: Update "info record" output.
5003 * gdb.btrace/nohist.exp: Update "info record" output.
5004
b9d61307
SM
50052015-02-06 Simon Marchi <simon.marchi@ericsson.com>
5006
5007 PR gdb/15678
5008 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
5009
e584fdbc
PA
50102015-02-06 Pedro Alves <palves@redhat.com>
5011
5012 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
5013 macro.
5014 (seconds_left, again): New globals.
5015 (main): Wait seconds_left in a 1-second sleep loop instead of
5016 sleeping 180 seconds. If 'again' is set, reset the seconds
5017 counter.
5018 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
5019 'again' in the inferior before detaching. Print the seconds left.
5020 (options): New global.
5021 (top level): Build program with -DTIMEOUT=$timeout.
5022
77f41761
PA
50232015-02-06 Pedro Alves <palves@redhat.com>
5024
5025 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
5026 determine how many seconds to pass to 'alarm'.
5027 * gdb.base/gdb-sigterm.exp (top level): Build program with
5028 -DTIMEOUT=$timeout.
5029 (do_test): Return success/failure indication. Add more verbose
5030 logging. Don't fail if 200 single steps are seen. Instead, fail
5031 when the test times out.
5032 (passes): New global.
5033 (top level): Break the testing loop if testing fails on any
5034 iteration. Use gdb_assert.
5035
b9394193
DB
50362015-02-04 Don Breazeal <donb@codesourcery.com>
5037
5038 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
5039 and initialize them.
5040 (ipc_cleanup): New function.
5041 (main): Don't declare shmid, semid, and msqid. Add a call to
5042 atexit so that we call ipc_cleanup on exit.
5043
42d9e528
PA
50442015-02-04 Pedro Alves <palves@redhat.com>
5045
5046 * boards/native-extended-gdbserver.exp: Remove any target variant
5047 specifications from the board name before clearing the isremote
5048 flag from board_info.
5049
ae6ae975
DE
50502015-01-31 Doug Evans <xdje42@gmail.com>
5051
5052 * gdb.base/maint.exp <maint print type argc>: Update expected output.
5053
cfb069a8
GB
50542015-01-31 Gary Benson <gbenson@redhat.com>
5055
5056 * gdb.base/completion.exp: Disable completion limiting for
5057 existing tests. Add new tests to check completion limiting.
5058 * gdb.linespec/ls-errs.exp: Disable completion limiting.
5059
5dd31d79
DE
50602015-01-31 Doug Evans <xdje42@gmail.com>
5061
5062 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
5063
9f050062
DE
50642015-01-31 Doug Evans <xdje42@gmail.com>
5065
5066 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
5067 entries. Duplicate file section script entries.
5068 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
5069 inlined entries. Add test for safe-path rejection.
5070 * gdb.python/py-section-script.c: Add duplicate inlined section script
5071 entries. Duplicate file section script entries.
5072 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
5073 inlined entries. Add test for safe-path rejection.
5074
df25ebbd
JB
50752015-01-29 Joel Brobecker <brobecker@adacore.com>
5076
5077 * gdb.ada/disc_arr_bound: New testcase.
5078
4a0ca9ec
JB
50792015-01-29 Joel Brobecker <brobecker@adacore.com>
5080
5081 * gdb.ada/mi_var_array: New testcase.
5082
3a8b707a
DE
50832015-01-27 Doug Evans <dje@google.com>
5084
5085 * gdb.python/py-objfile.exp: Add tests for objfile.username.
5086 Add test for objfile.filename, objfile.username after objfile
5087 has been unloaded.
5088
f8313f6e
JB
50892015-01-26 Joel Brobecker <brobecker@adacore.com>
5090
5091 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
5092 the second test to print the name attribute of value
5093 returned by the call to gdb.lookup_type, and adjust
5094 the expected output accordingly.
5095
37bc665e
MW
50962015-01-25 Mark Wielaard <mjw@redhat.com>
5097
5098 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
5099 * gdb.base/disp-step-fork.c: Include unistd.h.
5100 * gdb.base/siginfo-obj.c: Include stdio.h.
5101 * gdb.base/siginfo-thread.c: Likewise.
5102 * gdb.mi/non-stop.c: Include unistd.h.
5103 * gdb.mi/nsthrexec.c: Include stdio.h.
5104 * gdb.mi/pthreads.c: Include unistd.h.
5105 * gdb.modula2/unbounded1.c (main): Declare returns int.
5106 * gdb.reverse/consecutive-reverse.c: Likewise.
5107 * gdb.threads/create-fail.c: Include unistd.h.
5108 * gdb.threads/killed.c: Likewise.
5109 * gdb.threads/linux-dp.c: Likewise.
5110 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
5111 * gdb.threads/non-ldr-exc-2.c: Likewise.
5112 * gdb.threads/non-ldr-exc-3.c: Likewise.
5113 * gdb.threads/non-ldr-exc-4.c: Likewise.
5114 * gdb.threads/pthreads.c: Include unistd.h.
5115 (main): Declare returns int.
5116 * gdb.threads/tls-main.c (foo): New declaration.
5117 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
5118
f7e5394d
SM
51192015-01-23 Simon Marchi <simon.marchi@ericsson.com>
5120
5121 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
5122 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
5123
743649fd
MW
51242015-01-15 Mark Wielaard <mjw@redhat.com>
5125
5126 * gdb.base/noreturn-return.c: New file.
5127 * gdb.base/noreturn-return.exp: New file.
5128 * gdb.base/noreturn-finish.c: New file.
5129 * gdb.base/noreturn-finish.exp: New file.
5130
198297aa
PA
51312015-01-23 Pedro Alves <palves@redhat.com>
5132
5133 * gdb.threads/continue-pending-after-query.c: New file.
5134 * gdb.threads/continue-pending-after-query.exp: New file.
5135
717cf30c
AG
51362015-01-22 Anders Granlund <anders.granlund@ericsson.com>
5137 Simon Marchi <simon.marchi@ericsson.com>
5138
5139 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
5140 * gdb.base/valgrind-db-attach.exp: Same.
5141 * gdb.base/valgrind-infcall.exp: Same.
5142 * lib/mi-support.exp (default_mi_gdb_start): Same.
5143 * lib/prompt.exp (default_prompt_gdb_start): Same.
5144 * lib/gdb.exp (default_gdb_spawn): Same.
5145 (gdb_interact): New.
5146
5147
4b62a76e
JK
51482015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5149
5150 * gdb.compile/compile.exp (pointer to jit function): New test.
5151
b4cdae6f
WW
51522015-01-17 Wei-cheng Wang <cole945@gmail.com>
5153
5154 * lib/gdb.exp (supports_process_record): Return true for
5155 powerpc*-*-linux*.
5156 (supports_reverse): Likewise.
5157
d221e7ef
DB
51582015-01-15 Don Breazeal <donb@codesourcery.com>
5159
5160 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5161 instead of checking whether the target board is remote and
5162 use spawn_wait_for_attach instead of exec/sleep.
5163 * gdb.base/attach-twice.exp: Likewise.
5164
bafffb51
JB
51652015-01-15 Joel Brobecker <brobecker@adacore.com>
5166
5167 * gdb.ada/var_arr_attrs: New testcase.
5168
5589af0e
PA
51692015-01-14 Pedro Alves <palves@redhat.com>
5170 Joel Brobecker <brobecker@adacore.com>
5171
5172 PR gdb/17525
5173 * gdb.base/bp-cmds-execution-x-script.c: New file.
5174 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5175 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5176
6c400b59
PA
51772015-01-14 Pedro Alves <palves@redhat.com>
5178
5179 PR cli/17828
5180 * gdb.base/batch-preserve-term-settings.c: New file.
5181 * gdb.base/batch-preserve-term-settings.exp: New file.
5182
e02c96a7
DE
51832015-01-13 Doug Evans <dje@google.com>
5184
5185 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5186 binary.
5187
576fd14c
JB
51882015-01-13 Joel Brobecker <brobecker@adacore.com>
5189
5190 * Makefile.in (clean mostlyclean): Do not delete *.py.
5191
04dccad0
JB
51922015-01-13 Joel Brobecker <brobecker@adacore.com>
5193
5194 * gdb.python/py-lookup-type.exp: New file.
5195
3d230f71
PA
51962015-01-12 Pedro Alves <palves@redhat.com>
5197
5198 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5199 restore GDBFLAGS before returning.
5200
7e67715d
JK
52012015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5202
5203 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5204 is_amd64_regs_target and is_x86_like_target.
5205
f2e0d4b4
DE
52062015-01-11 Doug Evans <xdje42@gmail.com>
5207
5208 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5209 is given without an explicit form.
5210 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5211 attributes.
5212 * gdb.dwarf/corrupt.exp: Ditto.
5213 * gdb.dwarf2/enum-type.exp: Ditto.
5214 * gdb.trace/entry-values.exp: Ditto.
5215 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5216
439250fb
DE
52172015-01-11 Doug Evans <xdje42@gmail.com>
5218
5219 PR gdb/15830
5220 * gdb.base/maint.exp: Remove references to "maint demangle".
5221 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5222 Add tests for explicitly specifying language to demangle.
5223 * gdb.dlang/demangle.exp: Ditto.
5224
ede9f622
PA
52252015-01-09 Pedro Alves <palves@redhat.com>
5226
5227 * gdb.threads/non-stop-fair-events.c: New file.
5228 * gdb.threads/non-stop-fair-events.exp: New file.
5229
a7b796db
PA
52302015-01-09 Pedro Alves <palves@redhat.com>
5231
5232 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5233 the global scope. Set a breakpoint after all threads are started
5234 rather than stepping over two source lines. Expect the prompt.
5235 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5236 global.
5237 (NUM): Now 15.
5238 (main): Use threads_started_barrier to wait for all threads to
5239 start. Main thread no longer calls thread_function. Exit after
5240 180 seconds.
5241 (loop): New function.
5242 (thread_function): Wait on threads_started_barrier barrier. Call
5243 'loop' at each iteration.
5244 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5245 threads have started, instead of hardcoding number of "next"
5246 steps. Use an access watchpoint instead of a write watchpoint.
5247
9665ffdd
PA
52482015-01-09 Pedro Alves <palves@redhat.com>
5249
5250 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5251 (thread_func): Wait on barrier.
5252 (main): Wait for all threads to start before stopping GDB.
5253 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5254 global.
5255 (thread1_func, thread2_func): Wait on barrier.
5256 (main): Wait for all threads to start before stopping GDB.
5257 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5258 New global.
5259 (thread1_func, thread2_func): Wait on barrier.
5260 (main): Wait for all threads to start before stopping GDB.
5261
c945a99f
PA
52622015-01-09 Pedro Alves <palves@redhat.com>
5263
5264 * gdb.threads/attach-many-short-lived-threads.c: New file.
5265 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5266
c1a747c1
PA
52672014-01-09 Pedro Alves <palves@redhat.com>
5268
5269 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5270 instead of to thread 2.
5271 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5272 Add barrier around each pthread_create call instead of around all
5273 calls.
5274 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5275 Set a break on thread_function and have the child threads hit it
5276 one at at a time.
5277
60b3033e
PA
52782015-01-09 Pedro Alves <palves@redhat.com>
5279
5280 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5281 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5282 false.
5283 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5284 checking whether the target board is remote.
5285 * gdb.multi/multi-attach.exp: Likewise.
5286 * gdb.python/py-sync-interp.exp: Likewise.
5287 * gdb.server/ext-attach.exp: Likewise.
5288 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5289 tests that need to attach, instead of checking whether the target
5290 board is remote at the top of the file.
5291
acc018ac
YQ
52922015-01-08 Yao Qi <yao@codesourcery.com>
5293
5294 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5295
50a18af8
JK
52962015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5297
5298 Fix testcase compilation.
5299 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5300
8503d6e1
JB
53012015-01-06 Joel Brobecker <brobecker@adacore.com>
5302
5303 * gdb.python/py-type.exp: Add a couple test about empty
5304 array creation, and negative-length array creation.
5305
cc73dbcc
DE
53062015-01-02 Doug Evans <xdje42@gmail.com>
5307
5308 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5309
0300bbc7
DE
53102015-01-02 Doug Evans <dje@google.com>
5311
5312 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5313
9d85a0ec
YQ
53142014-12-29 Yao Qi <yao@codesourcery.com>
5315
5316 * gdb.trace/entry-values.exp: Update comments. Rename variable
5317 bar_call_foo to returned_from_foo.
5318
87186c6a
MMN
53192014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5320
5321 PR gdb/17394
5322 * gdb.linespec/break-asm-file.c: New file.
5323 * gdb.linespec/break-asm-file.exp: New file.
5324 * gdb.linespec/break-asm-file0.s: New file.
5325 * gdb.linespec/break-asm-file1.s: New file.
5326
1bab7383
YQ
53272014-12-18 Nigel Stephens <nigel@mips.com>
5328 Maciej W. Rozycki <macro@codesourcery.com>
5329
5330 * gdb.base/float.exp: Handle the new output from "info float" on
5331 MIPS targets.
5332
1bc1068a
JK
53332014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5334
5335 Fix MinGW compilation.
5336 * gdb.compile/compile-ops.exp: Update untested message if
5337 !skip_compile_feature_tests.
5338 * gdb.compile/compile-setjmp.exp: Likewise.
5339 * gdb.compile/compile-tls.exp: Likewise.
5340 * gdb.compile/compile.exp: Likewise.
5341 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5342 supported on this host".
5343
b6615d10
DE
53442014-12-16 Doug Evans <xdje42@gmail.com>
5345
5346 * boards/stabs.exp: New file.
5347
25dda427
AA
53482014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5349
5350 * gdb.base/completion.exp: Adjust to format changes of "maint
5351 print user-registers".
5352
bf330350
CU
53532014-12-16 Catalin Udma <catalin.udma@freescale.com>
5354
5355 PR server/17457
5356 * gdb.arch/aarch64-fp.c: New file.
5357 * gdb.arch/aarch64-fp.exp: New file.
5358
395cf596
SDJ
53592014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5360
5361 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5362 r210637, r210913, r211666, r215400, r215817).
5363
5364 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5365 * dg-extract-results.py: New file.
5366 * dg-extract-results.sh: Use it if the environment seems
5367 suitable.
5368
5369 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5370
5371 * dg-extract-results.py (parse_run): Handle warnings that
5372 are printed before a test harness is run.
5373
5374 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5375
5376 * dg-extract-results.py (Named): Remove __cmp__ method.
5377 (output_variation): Use a key to sort variation.harnesses.
5378
5379 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5380
5381 * dg-extract-results.py: For Python 3, force sys.stdout to
5382 handle surrogate escape sequences.
5383 (safe_open): New function.
5384 (output_segment, main): Use it.
5385
5386 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5387
5388 * dg-extract-results.py (Prog.result_re): Include options
5389 in test name.
5390
5391 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5392
5393 * dg-extract-results.py (output_variation): Always sort if
5394 do_sum.
5395
e882ef3c
SM
53962014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5397
5398 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5399 as long as we get pagination notifications.
5400
4992aa20
JM
54012014-12-15 Jason Merrill <jason@redhat.com>
5402
5403 * Makefile.in (check-gdb.%): Restore.
5404 * README: Mention it.
5405
c1b5a1a6
JB
54062014-12-13 Joel Brobecker <brobecker@adacore.com>
5407
5408 * gdb.ada/str_uninit: New testcase.
5409
5537b577
JK
54102014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5411
5412 PR symtab/17642
5413 * gdb.base/vla-stub-define.c: New file.
5414 * gdb.base/vla-stub.c: New file.
5415 * gdb.base/vla-stub.exp: New file.
5416
bb2ec1b3
TT
54172014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5418 Jan Kratochvil <jan.kratochvil@redhat.com>
5419 Tom Tromey <tromey@redhat.com>
5420
5421 * configure.ac: Add gdb.compile/.
5422 * configure: Regenerate.
5423 * gdb.compile/Makefile.in: New file.
5424 * gdb.compile/compile-ops.exp: New file.
5425 * gdb.compile/compile-ops.c: New file.
5426 * gdb.compile/compile-tls.c: New file.
5427 * gdb.compile/compile-tls.exp: New file.
5428 * gdb.compile/compile-constvar.S: New file.
5429 * gdb.compile/compile-constvar.c: New file.
5430 * gdb.compile/compile-mod.c: New file.
5431 * gdb.compile/compile-nodebug.c: New file.
5432 * gdb.compile/compile-setjmp-mod.c: New file.
5433 * gdb.compile/compile-setjmp.c: New file.
5434 * gdb.compile/compile-setjmp.exp: New file.
5435 * gdb.compile/compile-shlib.c: New file.
5436 * gdb.compile/compile.c: New file.
5437 * gdb.compile/compile.exp: New file.
5438 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5439
4ff709eb
TT
54402014-12-12 Tom Tromey <tromey@redhat.com>
5441
5442 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5443 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5444
6dddd6a5
DE
54452014-12-12 Doug Evans <dje@google.com>
5446
5447 * lib/gdb-python.exp (get_python_valueof): New function.
5448 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5449
71c24708
AA
54502014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5451
5452 * gdb.base/completion.exp: Add test for completion of "info
5453 registers ".
5454
3e29f34a
MR
54552014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5456
5457 * gdb.base/func-ptrs.c: New file.
5458 * gdb.base/func-ptrs.exp: New file.
5459
fc126975
SM
54602014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5461
5462 PR breakpoints/17012
5463 * gdb.base/dprintf-detach.c: New file.
5464 * gdb.base/dprintf-detach.exp: New file.
5465
0a46d518
SM
54662014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5467
5468 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5469 * lib/gdb.exp (target_is_gdbserver): New procedure.
5470
a0be3e44
DE
54712014-12-08 Doug Evans <dje@google.com>
5472
5473 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5474
df1b803a
YQ
54752014-12-05 Yao Qi <yao@codesourcery.com>
5476
5477 * gdb.guile/scm-error.exp: Remove the third argument to
5478 gdb_remote_download.
5479 * gdb.guile/scm-frame-args.exp: Likewise.
5480 * gdb.guile/scm-section-script.exp: Likewise.
5481
ddb9f679
YQ
54822014-12-05 Yao Qi <yao@codesourcery.com>
5483
5484 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5485
86e4ed39
DE
54862014-12-04 Doug Evans <dje@google.com>
5487
5488 * gdb.python/py-objfile.exp: Add tests for
5489 objfile.add_separate_debug_file.
5490
7c50a931
DE
54912014-12-04 Doug Evans <dje@google.com>
5492
5493 * lib/gdb.exp (get_build_id): New function.
5494 (build_id_debug_filename_get): Rewrite to use it.
5495 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5496
621661e3
MR
54972014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5498
5499 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5500 `method(long)', not just 0x0.
5501 * gdb.cp/nsalias.exp: Align code labels to 4.
5502 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5503 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5504 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5505 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5506 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5507 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5508
29f0c3b7
DE
55092014-12-02 Doug Evans <dje@google.com>
5510
e1e061e7 5511 PR symtab/17602
29f0c3b7 5512 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 5513 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
5514 * gdb.cp/anon-ns.exp: Update.
5515
162078c8
NB
55162014-12-02 Nick Bull <nicholaspbull@gmail.com>
5517
5518 * gdb.python/py-events.py (inferior_call_handler): New.
5519 (register_changed_handler, memory_changed_handler): New.
5520 (test_events.invoke): Register new handlers.
5521 * gdb.python/py-events.exp: Add tests for inferior call,
5522 memory_changed and register_changed events.
5523
fdb09caf
AA
55242014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5525
5526 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5527 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5528 if the linker doesn't understand this.
5529
55cfb2c4
SM
55302014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5531
5532 * gdb.python/python.exp: Change expected reply to help().
5533
9e8cd6df
YQ
55342014-12-01 Yao Qi <yao@codesourcery.com>
5535
5536 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5537 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5538 * configure: Re-generated.
5539
6c659fc2
SC
55402014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5541
5542 * gdb.cp/chained-calls.cc: New file.
5543 * gdb.cp/chained-calls.exp: New file.
5544 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5545
d7fc3181
SM
55462014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5547
5548 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5549 * gdb.dwarf2/symtab-producer.exp: Same.
5550 * gdb.gdb/python-interrupts.exp: Same.
5551 * gdb.gdb/python-selftest.exp: Same.
5552 * gdb.python/py-linetable.exp: Same.
5553 * gdb.python/py-type.exp: Same.
5554 * gdb.python/py-value-cc.exp: Same.
5555 * gdb.python/py-value.exp: Same.
5556
10e79639
YQ
55572014-11-28 Yao Qi <yao@codesourcery.com>
5558
5559 * gdb.base/break-probes.exp: Match library name prefixed with
5560 sysroot.
5561
f28a0564
SM
55622014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5563
5564 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5565 test expected output. Add parentheses for the call to print.
5566 Remove L suffix from integers.
5567
3fe1ce1d
DE
55682014-11-26 Doug Evans <dje@google.com>
5569
5570 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5571
84429e27
YQ
55722014-11-22 Yao Qi <yao@codesourcery.com>
5573
5574 * gdb.trace/entry-values.c: Remove asms.
5575 (foo): Add foo_label.
5576 (bar): Add bar_label.
5577 * gdb.trace/entry-values.exp: Remove code computing foo's
5578 length and bar's length.
5579 (Dwarf::assemble): Invoke function_range for bar and use
5580 MACRO_AT_func for foo.
5581
26741859
YQ
55822014-11-22 Yao Qi <yao@codesourcery.com>
5583
5584 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5585 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5586 Use .Lgcc43_procstart instead of gcc43.
5587
45e44d27
JB
55882014-11-21 Joel Brobecker <brobecker@adacore.com>
5589
5590 * gdb.ada/n_arr_bound: New testcase.
5591
458c8db8
SDJ
55922014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5593
5594 PR breakpoints/10737
5595 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5596 test_catch_syscall_multi_arch.
5597 (test_catch_syscall_multi_arch): New function.
5598
43f3e411
DE
55992014-11-20 Doug Evans <xdje42@gmail.com>
5600
5601 * gdb.base/maint.exp: Update expected output.
5602
0d7b2549
AA
56032014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5604
5605 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5606 4-byte instruction on S390.
5607
8908fca5
JB
56082014-11-19 Joel Brobecker <brobecker@adacore.com>
5609
5610 * gdb.ada/arr_arr: New testcase.
5611
4a46959e
JB
56122014-11-19 Joel Brobecker <brobecker@adacore.com>
5613
5614 * gdb.ada/pkd_arr_elem: New Testcase.
5615
470e2f4e
LM
56162014-11-18 Luis Machado <lgustavo@codesourcery.com>
5617
5618 * gdb.reverse/break-precsave: Expect completion message for
5619 core file reads.
5620 * gdb.reverse/consecutive-precsave.exp: Likewise.
5621 * gdb.reverse/finish-precsave.exp: Likewise.
5622 * gdb.reverse/i386-precsave.exp: Likewise.
5623 * gdb.reverse/machinestate-precsave.exp: Likewise.
5624 * gdb.reverse/sigall-precsave.exp: Likewise.
5625 * gdb.reverse/solib-precsave.exp: Likewise.
5626 * gdb.reverse/step-precsave.exp: Likewise.
5627 * gdb.reverse/until-precsave.exp: Likewise.
5628 * gdb.reverse/watch-precsave.exp: Likewise.
5629
a267f3ad
AA
56302014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5631
5632 * gdb.base/bp-permanent.c: Include unistd.h.
5633 * gdb.python/py-framefilter-mi.c (main): Add return type.
5634 * gdb.python/py-framefilter.c (main): Likewise.
5635 * gdb.trace/actions-changed.c (main): Likewise.
5636
12084a9a
AA
56372014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5638
5639 * gdb.mi/until.c: Add eye-catchers.
5640 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5641 line numbers.
5642
dc7e1a77
AA
56432014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5644
5645 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5646 function header variants in break1.c.
5647 * gdb.base/ena-dis-br.exp: Likewise.
5648 * gdb.base/hbreak2.exp: Likewise.
5649 * gdb.reverse/until-precsave.exp: Drop references to removed
5650 non-prototype function header variants in ur1.c.
5651 * gdb.reverse/until-reverse.exp: Likewise.
5652
41c77605
PM
56532014-11-17 Petr Machata <pmachata@redhat.com>
5654
5655 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5656 ${_cu_offset_size} bytes abbrev offset.
5657
34248c3a
DE
56582014-11-15 Doug Evans <xdje42@gmail.com>
5659
5660 PR symtab/17559
5661 * gdb.base/line-symtabs.exp: New file.
5662 * gdb.base/line-symtabs.c: New file.
5663 * gdb.base/line-symtabs.h: New file.
5664
646da059
YQ
56652014-11-14 Yao Qi <yao@codesourcery.com>
5666
5667 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5668 (func): Add label func_label.
5669 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5670 Replace low_pc and high_pc with MACRO_AT_range.
5671 Replace name, low_pc and high_pc with MACRO_AT_func.
5672
9301ebe6
YQ
56732014-11-14 Yao Qi <yao@codesourcery.com>
5674
5675 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5676 Replace name, low_pc and high_pc with MACRO_AT_func.
5677
f166b542
YQ
56782014-11-14 Yao Qi <yao@codesourcery.com>
5679
5680 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5681 produce debug information.
5682 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5683
0f6e71e3
YQ
56842014-11-14 Yao Qi <yao@codesourcery.com>
5685
5686 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5687 object and get function length.
5688 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5689 with MACRO_AT_func.
5690 (top-level): Replace gdb_compile and clean_restart with
5691 prepare_for_testing.
5692 * gdb.dwarf2/main.c (main): Add label main_label.
5693
876c4df9
YQ
56942014-11-14 Yao Qi <yao@codesourcery.com>
5695
5696 * lib/dwarf.exp (function_range): New procedure.
5697 (Dwarf::_handle_macro_at_func): New procedure.
5698 (Dwarf::_handle_macro_at_range): New procedure.
5699 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5700
02ad9cf1
YQ
57012014-11-14 Yao Qi <yao@codesourcery.com>
5702
5703 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5704 (_handle_attribute): New procedure.
5705
a59add0c
AA
57062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5707
5708 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5709 * gdb.base/call-sc.c (zed): Likewise.
5710 * gdb.base/checkpoint.c (main): Likewise.
5711 * gdb.base/dump.c (main): Likewise.
5712 * gdb.base/gcore.c (main): Likewise.
5713 * gdb.base/huge.c (main): Likewise.
5714 * gdb.base/multi-forks.c (main): Likewise.
5715 * gdb.base/pr10179-a.c (main): Likewise.
5716 * gdb.base/savedregs.c (main): Likewise.
5717 * gdb.base/sigaltstack.c (main): Likewise.
5718 * gdb.base/siginfo.c (main): Likewise.
5719 * gdb.base/structs.c (zed): Likewise.
5720 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5721 * gdb.mi/mi-syn-frame.c (main): Likewise.
5722 * gdb.mi/until.c (foo, main): Likewise.
5723 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5724 * gdb.base/solib-weak.c (foo): Declare.
5725 * gdb.base/attach-twice.c: Include stdio.h.
5726 * gdb.base/weaklib1.c: Likewise.
5727 * gdb.base/weaklib2.c: Likewise.
5728 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5729 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5730 unistd.h.
5731 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5732 * gdb.mi/mi-exit-code.c: Likewise.
5733 * gdb.base/break-interp-lib.c: Include string.h.
5734 * gdb.base/coremaker.c: Likewise.
5735 * gdb.base/testenv.c: Likewise.
5736 * gdb.python/py-finish-breakpoint.c: Likewise.
5737 * gdb.base/inferior-died.c: Include sys/wait.h.
5738 * gdb.base/fileio.c: Include time.h.
5739 * gdb.base/async-shell.c: Include unistd.h.
5740 * gdb.base/dprintf-non-stop.c: Likewise.
5741 * gdb.base/info-os.c: Likewise.
5742 * gdb.mi/mi-console.c: Likewise.
5743 * gdb.mi/watch-nonstop.c: Likewise.
5744 * gdb.python/py-events.c: Likewise.
5745 * gdb.base/async.c (baz): Move up before its invocation.
5746 * gdb.base/code_elim2.c (my_global_func): Likewise.
5747 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5748 * gdb.base/advance.c (func2): Likewise.
5749
3b5d5997
AA
57502014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5751
5752 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5753 variant.
5754 * gdb.base/annota3.c: Likewise.
5755 * gdb.base/async.c: Likewise.
5756 * gdb.base/average.c: Likewise.
5757 * gdb.base/call-ar-st.c: Likewise.
5758 * gdb.base/call-rt-st.c: Likewise.
5759 * gdb.base/call-sc.c: Likewise.
5760 * gdb.base/call-strs.c: Likewise.
5761 * gdb.base/ending-run.c: Likewise.
5762 * gdb.base/execd-prog.c: Likewise.
5763 * gdb.base/exprs.c: Likewise.
5764 * gdb.base/foll-exec.c: Likewise.
5765 * gdb.base/foll-fork.c: Likewise.
5766 * gdb.base/foll-vfork.c: Likewise.
5767 * gdb.base/funcargs.c: Likewise.
5768 * gdb.base/gcore.c: Likewise.
5769 * gdb.base/jump.c: Likewise.
5770 * gdb.base/langs0.c: Likewise.
5771 * gdb.base/langs1.c: Likewise.
5772 * gdb.base/langs2.c: Likewise.
5773 * gdb.base/mips_pro.c: Likewise.
5774 * gdb.base/nodebug.c: Likewise.
5775 * gdb.base/opaque0.c: Likewise.
5776 * gdb.base/opaque1.c: Likewise.
5777 * gdb.base/recurse.c: Likewise.
5778 * gdb.base/run.c: Likewise.
5779 * gdb.base/scope0.c: Likewise.
5780 * gdb.base/scope1.c: Likewise.
5781 * gdb.base/setshow.c: Likewise.
5782 * gdb.base/setvar.c: Likewise.
5783 * gdb.base/shmain.c: Likewise.
5784 * gdb.base/shr1.c: Likewise.
5785 * gdb.base/shr2.c: Likewise.
5786 * gdb.base/sigall.c: Likewise.
5787 * gdb.base/signals.c: Likewise.
5788 * gdb.base/so-indr-cl.c: Likewise.
5789 * gdb.base/solib2.c: Likewise.
5790 * gdb.base/structs.c: Likewise.
5791 * gdb.base/sum.c: Likewise.
5792 * gdb.base/vforked-prog.c: Likewise.
5793 * gdb.base/watchpoint.c: Likewise.
5794 * gdb.reverse/shr2.c: Likewise.
5795 * gdb.reverse/until-reverse.c: Likewise.
5796 * gdb.reverse/ur1.c: Likewise.
5797 * gdb.reverse/watch-reverse.c: Likewise.
5798
066a77c5
AA
57992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5800
5801 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5802 variant.
5803 * gdb.base/sepdebug.exp: Drop references to removed code.
5804
4f204ea5
AA
58052014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5806
5807 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5808 variant. Preserve original line numbering.
5809 * gdb.base/list1.c: Likewise.
5810
3b377a3a
AA
58112014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5812
5813 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5814 variant.
5815 * gdb.base/break1.c: Likewise.
5816 * gdb.base/break.exp: Drop references to removed code.
5817
e444df73
AA
58182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5819
5820 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5821 variant.
5822
8008f2a7
AA
58232014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5824
5825 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5826
a5a06887
AA
58272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5828
5829 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5830 logic into perform_all_tests() and invoke it with and without
5831 function header prototypes.
5832 (do_function_calls): Remove conditional XFAIL for PR 5318.
5833 (rerun_and_prepare): Remove duplicate code.
5834 (perform_all_tests): New. Main logic moved here.
5835
44dba9b9
AA
58362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5837
5838 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5839 code guarded by #ifdef NO_PROTOTYPES.
5840 (t_double_many_args): Likewise.
5841 (DEF_FUNC_MANY_ARGS_1): Likewise.
5842 (DEF_FUNC_VALUES_1): Likewise.
5843 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5844 guarded by #ifdef PROTOTYPES.
5845
d1fbcd56
AA
58462014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5847
5848 * gdb.mi/mi-console.c: Add eye-catcher.
5849 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5850 instead of literal line number.
5851
b0e59b8f
AA
58522014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5853
5854 * gdb.base/shr2.c: Add eye-catcher.
5855 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5856 line number.
5857
78f98cca
AA
58582014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5859
5860 * gdb.base/jump.c: Add eye-catchers.
5861 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5862 numbers.
5863
58fa2af0
AA
58642014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5865
5866 * gdb.base/execd-prog.c: Add eye-catchers.
5867 * gdb.base/foll-exec.c: Likewise.
5868 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5869 line numbers.
5870
04e5059b
AA
58712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5872
5873 * gdb.base/ending-run.c: Add eye-catchers.
5874 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5875 literal line numbers.
5876
dbfdb174
AA
58772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5878
5879 * gdb.base/call-rt-st.c: Add eye-catchers.
5880 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5881 literal line numbers.
5882
888a2ade
AA
58832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5884
5885 * gdb.base/call-ar-st.c: Add eye-catchers.
5886 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5887 literal line numbers.
5888
6acc2dde
AA
58892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5890
5891 * gdb.base/average.c: Add eye-catchers.
5892 * gdb.base/sum.c: Likewise.
5893 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5894 regexps dynamically.
5895
9ecfcd1d
AA
58962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5897
5898 * gdb.base/solib1.c: Add eye-catchers.
5899 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5900 literal line numbers.
5901
78708b7c
PA
59022014-11-12 Pedro Alves <palves@redhat.com>
5903
5904 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5905 leader has exited.
5906
af48d08f
PA
59072014-11-12 Pedro Alves <palves@redhat.com>
5908
5909 * gdb.arch/i386-bp_permanent.c: New file.
5910 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5911 (srcfile): Set to i386-bp_permanent.c.
5912 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5913 that stepi does not execute the 'leave' instruction, instead of
5914 testing it does execute.
5915 * gdb.base/bp-permanent.c: New file.
5916 * gdb.base/bp-permanent.exp: New file.
5917
af3768e9
DE
59182014-11-10 Doug Evans <xdje42@gmail.com>
5919
5920 PR symtab/17564
5921 * gdb.base/symtab-search-order.exp: New file.
5922 * gdb.base/symtab-search-order.c: New file.
5923 * gdb.base/symtab-search-order-1.c: New file.
5924 * gdb.base/symtab-search-order-shlib-1.c: New file.
5925
9de00a4a
PA
59262014-11-07 Pedro Alves <palves@redhat.com>
5927
5928 PR gdb/17511
5929 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5930 i?86-*-linux*.
5931
e0f52461
SC
59322014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5933
5934 PR c++/17494
5935 * gdb.cp/pr17494.cc: New file.
5936 * gdb.cp/pr17494.exp: New file.
5937
6ce8c980
YQ
59382014-11-02 Yao Qi <yao@codesourcery.com>
5939
5940 * gdb.python/python.exp: Get working directory and match the
5941 output of "set extended-prompt \\w " with it.
5942
02be9a71
DE
59432014-10-30 Doug Evans <dje@google.com>
5944
5945 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5946 in objfiles.
5947 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5948 in progspaces.
5949
3bdff46b
LM
59502014-10-30 Janis Johnson <janisjo@codesourcery.com>
5951
5952 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5953 * gdb.base/realname-expand.exp: Likewise.
5954 * gdb.linespec/macro-relative.exp: Likewise.
5955
ab917dfb
PA
59562014-10-29 Pedro Alves <palves@redhat.com>
5957
5958 PR gdb/17408
5959 * gdb.threads/schedlock.c (some_function): New function.
5960 (call_function): New global.
5961 (MAYBE_CALL_SOME_FUNCTION): New macro.
5962 (thread_function): Call it.
5963 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5964 and use it instead of a global counter. Adjust all callers.
5965 (get_current_thread): Use "find current thread" for test message
5966 here rather than having all callers pass down the same string.
5967 (goto_loop): New procedure, factored out from ...
5968 (my_continue): ... this.
5969 (step_ten_loops): Change parameter from test message to command to
5970 use. Adjust.
5971 (list_count): Delete global.
5972 (check_result): New procedure, factored out from duplicate top
5973 level code.
5974 (continue tests): Wrap in with_test_prefix.
5975 (test_step): New procedure, factored out from duplicate top level
5976 code.
5977 (top level): Test "step" in combination with all scheduler-locking
5978 modes. Test "next" in combination with all scheduler-locking
5979 modes, and in combination with stepping over a function call or
5980 not.
5981 * gdb.threads/next-bp-other-thread.c: New file.
5982 * gdb.threads/next-bp-other-thread.exp: New file.
5983
d3d4baed
PA
59842014-10-29 Pedro Alves <palves@redhat.com>
5985
5986 PR python/17372
5987 * gdb.python/python.exp: Test a multi-line command that spawns
5988 interactive Python.
5989 * gdb.base/multi-line-starts-subshell.exp: New file.
5990
563e8d85
YQ
59912014-10-29 Yao Qi <yao@codesourcery.com>
5992
5993 * gdb.base/fileio.exp: Make directories on host.
5994
0ea4d52e
YQ
59952014-10-29 Yao Qi <yao@codesourcery.com>
5996
5997 * gdb.base/fileio.c (test_write): Close the file.
5998
7f5ef605
PA
59992014-10-28 Pedro Alves <palves@redhat.com>
6000
6001 PR gdb/12623
6002 * gdb.base/sigstep.c (no_handler): New global.
6003 (main): If 'no_handler is true, set the signal handlers to
6004 SIG_IGN.
6005 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
6006 with_sw_watch and no_handler parameters. Handle them.
6007 (top level) <stepping over handler when stopped at a breakpoint
6008 test>: Add a test axis for testing with a software watchpoint, and
6009 another for testing with the signal handler set to SIG_IGN.
6010 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
6011 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
6012
abbdbd03
PA
60132014-10-28 Pedro Alves <palves@redhat.com>
6014
6015 PR gdb/17511
6016 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
6017 * gdb.base/sigstep.exp (other_handler_location): New global.
6018 (advance): Support stepping into the signal handler, and running
6019 commands while in the handler.
6020 (in_handler_map): New global.
6021 (top level): In the advance test, add combinations for getting
6022 into the handler with stepping commands, and for running commands
6023 in the handler. Add comment descripting the advancei tests.
6024
1df4399f
PA
60252014-10-28 Pedro Alves <palves@redhat.com>
6026
6027 * gdb.base/sigstep.exp: Use build_executable instead of
6028 prepare_for_testing.
6029 (top level): Move code that starts GDB, runs to main and creates a
6030 display to ...
6031 (restart): ... this new procedure.
6032 (top level): Move backtrace from signal handler test to ...
6033 (validate_backtrace): ... this new procedure.
6034 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
6035 with_test_prefix. Always restart GDB.
6036 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
6037 with_test_prefix. Always restart GDB. No need to delete
6038 breakpoints after the test.
6039 (test_skip_handler): Remove prefix parameter.
6040 (skip_over_handler, breakpoint_to_handler)
6041 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
6042 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
6043 restart GDB. No need to delete breakpoints after the test.
6044 (top level): Use foreach to call the test procedures with
6045 different commands.
6046
a5b6e449
PA
60472014-10-28 Pedro Alves <palves@redhat.com>
6048
6049 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
6050 instead of GNATS numbers.
6051 * gdb.base/sigbpt.exp: Likewise.
6052 * gdb.base/siginfo.exp: Likewise.
6053 * gdb.base/sigstep.exp: Likewise.
6054
e5f8a7cc
PA
60552014-10-27 Pedro Alves <palves@redhat.com>
6056
6057 * gdb.base/sigstep.c (dummy): New global.
6058 (main): Issue a couple writes to the new global.
6059 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
6060 procedures.
6061 (skip_over_handler): Use test_skip_handler.
6062 (top level): Call skip_over_handler for stepi and nexti too.
6063 (breakpoint_over_handler): Use test_skip_handler.
6064 (top level): Call breakpoint_over_handler for stepi and nexti too.
6065
763905a3
YQ
60662014-10-27 Yao Qi <yao@codesourcery.com>
6067
6068 * gdb.trace/tfile.c (adjust_function_address)
6069 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
6070 function descriptor.
6071
6f259a23
DB
60722014-10-24 Don Breazeal <donb@codesourcery.com>
6073
6074 * gdb.base/foll-fork.exp (test_follow_fork,
6075 catch_fork_child_follow): Check for updated fork messages emitted
6076 from infrun.c.
6077 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
6078 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
6079 vfork_and_exec_child_follow_through_step): Check for updated vfork
6080 messages emitted from infrun.c.
6081
09dd9a69
PA
60822014-10-24 Pedro Alves <palves@redhat.com>
6083
6084 * gdb.base/corefile.exp: Remove references to ultrix.
6085 * gdb.base/interrupt.exp: Likewise.
6086 * gdb.base/whatis.exp: Likewise.
6087 * gdb.gdb/selftest.exp: Likewise.
6088 * gdb.threads/manythreads.exp: Likewise.
6089 * gdb.threads/print-threads.exp: Likewise.
6090 * gdb.threads/pthreads.exp:: Likewise.
6091 * gdb.threads/schedlock.exp: Likewise.
6092
3433cfa5
SC
60932014-10-24 Siva Chandra Reddy <sivachandra@google.com>
6094
6095 * gdb.cp/non-trivial-retval.cc: Add a test case.
6096 * gdb.cp/non-trivial-retval.exp: Add a test.
6097
092f880b
YQ
60982014-10-20 Yao Qi <yao@codesourcery.com>
6099
6100 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
6101 * gdb.python/py-objfile-script-gdb.py: New file.
6102 * gdb.python/py-objfile-script.exp: Update reference to
6103 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
6104 of remote_download. Remove the dest file.
6105
acbdb7f3
YQ
61062014-10-20 Yao Qi <yao@codesourcery.com>
6107
6108 * gdb.base/checkpoint.exp: Don't remove file copied on host.
6109 * gdb.base/step-line.exp: Likewise.
6110 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6111 * gdb.dwarf2/dw2-basic.exp: Likewise.
6112 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6113 * gdb.dwarf2/dw2-filename.exp: Likewise.
6114 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6115 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6116 * gdb.dwarf2/dw2-producer.exp: Likewise.
6117 * gdb.dwarf2/mac-fileno.exp: Likewise.
6118 * gdb.python/py-frame-args.exp: Likewise.
6119 * gdb.python/py-framefilter.exp: Likewise.
6120 * gdb.python/py-mi.exp: Likewise.
6121 * gdb.python/py-objfile-script.exp: Likewise
6122 * gdb.python/py-pp-integral.exp: Likewise.
6123 * gdb.python/py-pp-re-notag.exp: Likewise.
6124 * gdb.python/py-prettyprint.exp: Likewise.
6125 * gdb.python/py-section-script.exp: Likewise.
6126 * gdb.python/py-typeprint.exp: Likewise.
6127 * gdb.python/py-xmethods.exp: Likewise.
6128 * gdb.stabs/weird.exp: Likewise.
6129 * gdb.xml/tdesc-regs.exp: Likewise.
6130
bd286a29
KCY
61312014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
6132
6133 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
6134 (out_cu): Use addr_len for the size of addresses.
6135 (out_line): Likewise. Size DW_LNE_set_address instruction
6136 according to addr_len.
6137 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
6138 (FUNC): Add START_INSNS to definition.
6139
673dc4a0
YQ
61402014-10-18 Yao Qi <yao@codesourcery.com>
6141
6142 * gdb.base/argv0-symlink.exp: Check argv[0] value if
6143 gdb_has_argv0 return true.
6144 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
6145 check [target_info exists noargs], check [gdb_has_argv0]
6146 instead.
6147 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6148 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
6149 procedures.
6150
4ffbba72
DE
61512014-10-17 Doug Evans <dje@google.com>
6152
6153 * gdb.python/py-events.exp: Update expected output for clear_objfiles
6154 event.
6155 * gdb.python/py-events.py: Add clear_objfiles event.
6156
d096d8c1
DE
61572014-10-17 Doug Evans <dje@google.com>
6158
6159 * gdb.python/py-objfile.exp: Test progspace attribute.
6160
a80db015
LM
61612014-10-17 Luis Machado <lgustavo@codesourcery.com>
6162
6163 * gdb.guile/scm-breakpoint.exp: Do not assume any
6164 directory separators when matching source file paths.
6165 * gdb.python/py-breakpoint.exp: Likewise.
6166 * gdb.reverse/break-precsave.exp: Likewise.
6167 * gdb.reverse/break-reverse.exp: Likewise.
6168 * gdb.reverse/consecutive-precsave.exp: Likewise.
6169 * gdb.reverse/finish-precsave.exp: Likewise.
6170 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6171 * gdb.reverse/finish-reverse.exp: Likewise.
6172 * gdb.reverse/i386-precsave.exp: Likewise.
6173 * gdb.reverse/i387-env-reverse.exp: Likewise.
6174 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6175 * gdb.reverse/machinestate-precsave.exp: Likewise.
6176 * gdb.reverse/machinestate.exp: Likewise.
6177 * gdb.reverse/sigall-precsave.exp: Likewise.
6178 * gdb.reverse/solib-precsave.exp: Likewise.
6179 * gdb.reverse/step-precsave.exp: Likewise.
6180 * gdb.reverse/until-precsave.exp: Likewise.
6181 * gdb.reverse/watch-precsave.exp: Likewise.
6182 * gdb.reverse/watch-reverse.exp: Likewise.
6183
b22089ab
YQ
61842014-10-17 Yao Qi <yao@codesourcery.com>
6185
6186 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6187 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6188
6c4486e6
PA
61892014-10-17 Pedro Alves <palves@redhat.com>
6190
6191 PR gdb/17471
6192 * gdb.base/bg-execution-repeat.c: New file.
6193 * gdb.base/bg-execution-repeat.exp: New file.
6194
0ff33695
PA
61952014-10-17 Pedro Alves <palves@redhat.com>
6196
6197 PR gdb/17300
6198 * gdb.base/continue-all-already-running.c: New file.
6199 * gdb.base/continue-all-already-running.exp: New file.
6200
6fdebc3d
PA
62012014-10-17 Pedro Alves <palves@redhat.com>
6202
6203 PR gdb/17472
6204 * gdb.base/annota-input-while-running.c: New file.
6205 * gdb.base/annota-input-while-running.exp: New file.
6206
32a8097b
PA
62072014-10-17 Pedro Alves <palves@redhat.com>
6208
6209 * gdb.base/callfuncs.exp: emove references to osf.
6210 * gdb.base/sigall.exp: Likewise.
6211 * gdb.gdb/selftest.exp: Likewise.
6212 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6213 * gdb.mi/non-stop.c: Likewise.
6214 * gdb.mi/pthreads.c: Likewise.
6215 * gdb.reverse/sigall-precsave.exp: Likewise.
6216 * gdb.reverse/sigall-reverse.exp: Likewise.
6217 * gdb.threads/pthreads.c: Likewise.
6218 * gdb.threads/pthreads.exp: Likewise.
6219
7a3517ff
YQ
62202014-10-17 Yao Qi <yao@codesourcery.com>
6221
6222 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6223 check 'target_info exists noargs'.
6224 (test_command_prompt_position): Likewise.
6225 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6226 Remove "set args".
6227 (progvar_simple_while_test): Likewise.
6228 (progvar_complex_if_while_test): Likewise.
6229 (if_while_breakpoint_command_test): Likewise.
6230 (infrun_breakpoint_command_test): Likewise.
6231 (breakpoint_command_test): Likewise.
6232 (watchpoint_command_test): Likewise.
6233 (bp_deleted_in_command_test): Likewise.
6234 (temporary_breakpoint_commands): Likewise.
6235
bb99c472
YQ
62362014-10-16 Yao Qi <yao@codesourcery.com>
6237
6238 * gdb.base/remotetimeout.exp: Remove noargs checking.
6239
7c16b83e
PA
62402014-10-15 Pedro Alves <palves@redhat.com>
6241
6242 PR breakpoints/9649
6243 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6244 * gdb.base/breakpoint-in-ro-region.exp
6245 (probe_target_hardware_step): New procedure.
6246 (top level): Probe hardware stepping and hardware breakpoint
6247 support. Test stepping through a read-only region, with both
6248 "breakpoint auto-hw" on and off and both "always-inserted" on and
6249 off.
6250
35a49624
IB
62512014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6252
6253 * gdb.dlang/demangle.exp: Update for demangling changes.
6254
2d1c107c
SC
62552014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6256
6257 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6258 * gdb.cp/non-trivial-retval.exp: Add new tests.
6259
778811d5
SC
62602014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6261
6262 PR c++/13403
6263 PR c++/15154
6264 * gdb.cp/non-trivial-retval.cc: New file.
6265 * gdb.cp/non-trivial-retval.exp: New file.
6266
10c5f0a8
YQ
62672014-10-15 Yao Qi <yao@codesourcery.com>
6268
6269 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6270 remote host.
6271
65d7b369
YQ
62722014-10-15 Yao Qi <yao@codesourcery.com>
6273
6274 * gdb.python/py-symbol.exp: Match file base name if host is
6275 remote, otherwise match file name with dir name.
6276 * gdb.python/py-symtab.exp: Likewise.
6277 * gdb.python/python.exp: Likewise.
6278
46dc1394
YQ
62792014-10-15 Yao Qi <yao@codesourcery.com>
6280
6281 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6282 pattern.
6283 * gdb.python/py-symtab.exp: Likewise.
6284 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6285 locationn.
6286
c40cc657
JB
62872014-10-14 Joel Brobecker <brobecker@adacore.com>
6288
6289 * gdb.ada/addr_arith: New testcase.
6290
2abf49e1
MR
62912014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6292
6293 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6294 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6295 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6296 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6297
f7088df3
SDJ
62982014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6299
6300 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6301 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6302 * gdb.arch/stap-eval-lang-ada.exp: New file.
6303
4dc06805
YQ
63042014-10-14 Yao Qi <yao@codesourcery.com>
6305
6306 * gdb.mi/mi-var-child.c (nothing1): New function.
6307 (nothing2): New function.
6308 (do_children_tests): Set function pointers by nothing1 and
6309 nothing2.
6310 * gdb.mi/mi-var-child.exp: Step over new added statements.
6311 Update test to match the new output.
6312 * gdb.mi/var-cmd.c (nothing1): New function.
6313 (nothing2): New function.
6314 (do_children_tests): Set function pointers by nothing1 and
6315 nothing2.
6316 * gdb.mi/mi-var-display.exp: Update test to match output.
6317 Step to the line specified by $line_dct_nothing.
6318 Increase the number of lines to step.
6319
46a93de2
YQ
63202014-10-14 Yao Qi <yao@codesourcery.com>
6321
6322 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6323 tests.
6324 * gdb.mi/mi2-var-child.exp: Likewise.
6325
14ea52ee
DE
63262014-10-13 Doug Evans <dje@google.com>
6327
6328 * gdb.python/py-objfile.exp: Change name of file name test.
6329
e5c6e92b
DE
63302014-10-13 Doug Evans <dje@google.com>
6331
6332 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6333 from the start of the CU.
6334
c780cc2f
JK
63352014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6336 Yao Qi <yao@codesourcery.com>
6337
6338 Fix "save breakpoints" for "catch" command.
6339 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6340 Remove -nonewline. Match also the added "main" line.
6341
99894e11
JK
63422014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6343
6344 Fix "save breakpoints" for "disable $bpnum" command.
6345 * gdb.base/save-bp.c (main): Add label.
6346 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6347
6e1ac5a3
JK
63482014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6349
6350 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6351
754dd2b0
YQ
63522014-10-11 Yao Qi <yao@codesourcery.com>
6353
6354 * gdb.server/server-kill.exp: Execute command
6355 "set remote trace-status-packet on" before "tstatus".
6356
f90183d7
YQ
63572014-10-11 Yao Qi <yao@codesourcery.com>
6358
6359 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6360 (main): Call getppid.
6361 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6362 and continue to it. Read variable "server_pid".
6363
bf40a607
YQ
63642014-10-11 Yao Qi <yao@codesourcery.com>
6365
6366 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6367
052ca370
YQ
63682014-10-11 Yao Qi <yao@codesourcery.com>
6369
6370 * gdb.threads/thread-find.exp: Don't execute command
6371 "info threads".
6372 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6373 * gdb.threads/linux-dp.exp: Don't check the condition
6374 $threads_created equals to zero.
6375
3831839c
PA
63762014-10-10 Pedro Alves <palves@redhat.com>
6377
6378 * gdb.base/bigcore.exp: Remove references to IRIX.
6379 * gdb.base/funcargs.exp: Likewise.
6380 * gdb.base/interrupt.exp: Likewise.
6381 * gdb.base/mips_pro.exp: Likewise.
6382 * gdb.base/nodebug.exp: Likewise.
6383 * gdb.base/setvar.exp: Likewise.
6384 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6385
8b9a549d
PA
63862014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6387 Pedro Alves <palves@redhat.com>
6388
6389 PR symtab/14466
6390 * gdb.base/vdso-warning.c: New file.
6391 * gdb.base/vdso-warning.exp: New file.
6392
d48ba5e8
DE
63932014-10-02 Doug Evans <dje@google.com>
6394
6395 * gdb.base/structs.c (main): Don't run forever.
6396
2278c276
PA
63972014-10-02 Pedro Alves <palves@redhat.com>
6398
6399 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6400 (top level) <stop threads 1, stop threads 2>: Use it.
6401
b57bacec
PA
64022014-10-02 Pedro Alves <palves@redhat.com>
6403
6404 * gdb.threads/break-while-running.exp (test): Add new
6405 'update_thread_list' argument. Skip "info threads" if false.
6406 (top level): Add new 'update_thread_list' axis.
6407
13fd3ff3
PA
64082014-10-02 Pedro Alves <palves@redhat.com>
6409
6410 PR breakpoints/17431
6411 * gdb.base/execl-update-breakpoints.c: New file.
6412 * gdb.base/execl-update-breakpoints.exp: New file.
6413
0fec99e8
PA
64142014-10-01 Pedro Alves <palves@redhat.com>
6415
6416 * gdb.base/breakpoint-in-ro-region.c: New file.
6417 * gdb.base/breakpoint-in-ro-region.exp: New file.
6418
2ddf4301
SM
64192014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6420
6421 * gdb.mi/mi-exit-code.exp: New file.
6422 * gdb.mi/mi-exit-code.c: New file.
6423
6a5f3f43
YQ
64242014-09-30 Yao Qi <yao@codesourcery.com>
6425
6426 * lib/prelink-support.exp (build_executable_own_libs): Error if
6427 the target isn't native.
6428
345bcc73
YQ
64292014-09-30 Yao Qi <yao@codesourcery.com>
6430
6431 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6432 false.
6433
a25a5a45
PA
64342014-09-22 Pedro Alves <palves@redhat.com>
6435
6436 * gdb.threads/break-while-running.exp: New file.
6437 * gdb.threads/break-while-running.c: New file.
6438
00ba3162
YQ
64392014-09-19 Yao Qi <yao@codesourcery.com>
6440
6441 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6442 Invoke test. Restart GDB with --readnow and invoke test again.
6443
c3b7b696
YQ
64442014-09-19 Yao Qi <yao@codesourcery.com>
6445
6446 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6447 proc set_breakpoint_on_gcd_function. Invoke
6448 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6449 invoke set_breakpoint_on_gcd_function again.
6450
2b4fd423
DE
64512014-09-18 Doug Evans <dje@google.com>
6452
6453 * gdb.dwarf2/symtab-producer.exp: New file.
6454
a5947601
SDJ
64552014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6456
6457 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6458 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6459 * gdb.base/global-var-nested-by-dso.c: Likewise.
6460 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6461
91c19059
SDJ
64622014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6463 Pedro Alves <palves@redhat.com>
6464
6465 * gdb.base/watch-bitfields.exp: Pass string other than test file
6466 name to prepare_for_testing.
6467 (watch): New procedure.
6468 (expect_watchpoint): Use with_test_prefix.
6469 (top level): Factor out tests to ...
6470 (test_watch_location, test_regular_watch): ... these new
6471 procedures, and use with_test_prefix and gdb_continue_to_end.
6472
bb9d5f81
PP
64732014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6474
6475 PR breakpoints/12526
6476 * gdb.base/watch-bitfields.exp: New file.
6477 * gdb.base/watch-bitfields.c: New file.
6478
635856f5
PA
64792014-09-16 Pedro Alves <palves@redhat.com>
6480
6481 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6482 software and hardware addresses, not software address against
6483 itself.
6484
7280ceea
PA
64852014-09-16 Pedro Alves <palves@redhat.com>
6486
6487 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6488 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6489
428b16bd
PA
64902014-09-16 Pedro Alves <palves@redhat.com>
6491
6492 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6493 files.
6494 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6495 "*-*-vxworks*" throughout.
6496 * gdb.base/break.exp: Likewise.
6497 * gdb.base/default.exp: Likewise.
6498 * gdb.base/scope.exp: Likewise.
6499 * gdb.base/sepdebug.exp: Likewise.
6500 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6501 throughout.
6502 * gdb.base/run.c: Likewise.
6503 * gdb.base/sepdebug.c: Likewise.
6504 * gdb.hp/gdb.aCC/run.c: Likewise.
6505 * gdb.reverse/until-reverse.c: Likewise.
6506 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6507
666d413c
YQ
65082014-09-16 Yao Qi <yao@codesourcery.com>
6509
6510 * boards/local-remote-host-native.exp: New file.
6511
57cbd724
DE
65122014-09-14 Doug Evans <xdje42@gmail.com>
6513
6514 * gdb.threads/queue-signal.c (thread_count): New variable.
6515 (thread_count_mutex, thread_count_condvar): New variables.
6516 (incr_thread_count, wait_all_threads_running): New functions.
6517 (main): Wait for all threads to be in their thread functions.
6518
81219e53
DE
65192014-09-13 Doug Evans <xdje42@gmail.com>
6520
6521 * gdb.threads/queue-signal.c: New file.
6522 * gdb.threads/queue-signal.exp: New file.
6523
3714cea7
DE
65242014-09-13 Doug Evans <xdje42@gmail.com>
6525
6526 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6527 be consistent with what default_gdb_init uses.
6528 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6529 the plain text of the prompt. Add some logging printfs.
6530 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6531
fa43b1d7
PA
65322014-09-12 Pedro Alves <palves@redhat.com>
6533
6534 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6535 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6536 * gdb.arch/i386-size-overlap.exp: Likewise.
6537 * gdb.arch/i386-size.exp: Likewise.
6538 * gdb.arch/i386-unwind.exp: Likewise.
6539 * gdb.base/a2-run.exp: Likewise.
6540 * gdb.base/break.exp: Likewise.
6541 * gdb.base/charset.exp: Likewise.
6542 * gdb.base/chng-syms.exp: Likewise.
6543 * gdb.base/commands.exp: Likewise.
6544 * gdb.base/dbx.exp: Likewise.
6545 * gdb.base/find.exp: Likewise.
6546 * gdb.base/funcargs.exp: Likewise.
6547 * gdb.base/jit-simple.exp: Likewise.
6548 * gdb.base/reread.exp: Likewise.
6549 * gdb.base/sepdebug.exp: Likewise.
6550 * gdb.base/step-bt.exp: Likewise.
6551 * gdb.cp/mb-inline.exp: Likewise.
6552 * gdb.cp/mb-templates.exp: Likewise.
6553 * gdb.objc/basicclass.exp: Likewise.
6554 * gdb.threads/killed.exp: Likewise.
6555
9d9bf2df
EBM
65562014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6557
6558 PR tdep/17379
6559 * gdb.arch/powerpc-stackless.S: New file.
6560 * gdb.arch/powerpc-stackless.exp: New file.
6561
1cf2f1b0
JK
65622014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6563
6564 * gdb.base/attach.c: Include unistd.h.
6565 (main): Call alarm. Add label postloop.
6566 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6567 gdb_breakpoint, gdb_continue_to_breakpoint.
6568 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6569
98880d46
PA
65702014-09-11 Pedro Alves <palves@redhat.com>
6571
6572 PR gdb/17347
6573 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6574 * gdb.base/attach.exp (test_command_line_attach_run): New
6575 procedure.
6576 (top level): Call it.
6577
4c92ff2c
PA
65782014-09-11 Pedro Alves <palves@redhat.com>
6579
6580 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6581 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6582 (do_command_attach_tests): Use spawn_wait_for_attach.
6583 * gdb.base/solib-overlap.exp: Likewise.
6584 * gdb.multi/multi-attach.exp: Likewise.
6585 * gdb.python/py-prompt.exp: Likewise.
6586 * gdb.python/py-sync-interp.exp: Likewise.
6587 * gdb.server/ext-attach.exp: Likewise.
6588
3adc1a7d
GKB
65892014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6590
6591 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6592 command in testcase. Simplify testcase.
6593
96334934
JB
65942014-09-10 Joel Brobecker <brobecker@adacore.com>
6595
6596 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6597
eb479039
JB
65982014-09-10 Joel Brobecker <brobecker@adacore.com>
6599
6600 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6601
deede10c
JB
66022014-09-10 Joel Brobecker <brobecker@adacore.com>
6603
6604 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6605
7828a5f5
JB
66062014-09-10 Joel Brobecker <brobecker@adacore.com>
6607
6608 * gdb.dwarf2/dynarr-ptr.c: New file.
6609 * gdb.dwarf2/dynarr-ptr.exp: New file.
6610
33aeebcf
MR
66112014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6612
6613 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6614 of 30 rather than hardcoding 120 for a slow test case. Take the
6615 `gdb,timeout' target setting into account for this calculation.
6616 Don't extend the timeout for the test cases that don't need it.
6617
7b415901
MR
66182014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6619
6620 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6621 a factor of 2 for a slow test case. Take the `gdb,timeout'
6622 target setting into account for this calculation.
6623 * gdb.reverse/until-precsave.exp: Increase the timeout by
6624 a factor of 15 and 3 respectively rather than adding 120
6625 for a pair of slow test cases. Take the `gdb,timeout'
6626 target setting into account for this calculation.
6627
4a40f85a
MR
66282014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6629
6630 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6631 timeout, don't pass one down to gdb_expect.
6632 (gdb_expect): Rework timeout selection.
6633
09635af7
MR
66342014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6635
6636 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6637 exception on timeout.
6638 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6639 (gdbserver_start_extended): Catch any `gdbserver_start' error
6640 exceptions.
6641 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6642 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6643 `gdbserver_gdb_load' error exceptions.
6644
2bdd10b7
MR
66452014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6646
6647 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6648 120 on waiting for the TCP socket to open.
6649
316935f0
DE
66502014-09-09 Doug Evans <xdje42@gmail.com>
6651
6652 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6653 _caller_matches, _any_caller_is, _any_caller_matches.
6654
83740597
DE
66552014-09-09 Doug Evans <xdje42@gmail.com>
6656
6657 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6658
4c122fc3
YQ
66592014-09-09 Yao Qi <yao@codesourcery.com>
6660
6661 * gdb.mi/mi-var-display.exp: Set print symbol off.
6662
a9f116cb
GKB
66632014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6664
6665 PR gdb/17035
6666 * gdb.base/commands.exp: Add tests to verify user-defined
6667 commands with empty bodies.
6668 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6669 python commands in `show user command`.
6670 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6671 scheme commands in `show user command`.
6672
c75bd3a2
JK
66732014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6674
6675 PR python/17355
6676 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6677 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6678 * gdb.python/py-framefilter-invalidarg.exp: New file.
6679 * gdb.python/py-framefilter-invalidarg.py: New file.
6680
faa42425
DE
66812014-09-06 Doug Evans <xdje42@gmail.com>
6682
6683 PR 15276
6684 * gdb.python/py-caller-is.c: New file.
6685 * gdb.python/py-caller-is.exp: New file.
6686
474ca4f6
SDJ
66872014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6688
6689 PR gdb/17235
6690 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6691 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6692
eb0b0463
SDJ
66932014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6694
6695 PR fortran/17237
6696 * gdb.fortran/print-formatted.exp: New file.
6697 * gdb.fortran/print-formatted.f90: Likewise.
6698
5f3b99cf
SS
66992014-09-03 Sasha Smundak <asmundak@google.com>
6700
6701 * gdb.python/py-frame.exp: Test Frame.read_register.
6702
7d793aa9
SDJ
67032014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6704
6705 PR python/16699
6706 * gdb.python/py-completion.exp: New file.
6707 * gdb.python/py-completion.py: Likewise.
6708
fb0576e9
DE
67092014-08-28 Doug Evans <dje@google.com>
6710
6711 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6712 eax,etc. are live with values set by gdb and thus the compiler can't
6713 use them.
6714 * gdb.arch/i386-pseudo.c (main): Ditto.
6715
ee92b0dd
DE
67162014-08-27 Doug Evans <dje@google.com>
6717
6718 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6719
6649db35
DE
67202014-08-25 Doug Evans <dje@google.com>
6721
6722 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6723 (main): Ditto.
6724
564b7600
DE
67252014-08-25 Doug Evans <dje@google.com>
6726
6727 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6728
3881fb67
YQ
67292014-08-24 Yao Qi <yao@codesourcery.com>
6730
6731 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6732 symbol off.
6733 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6734
a05a36a5
DE
67352014-08-22 Doug Evans <dje@google.com>
6736
6737 PR 17276
6738 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6739 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6740 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6741
7c343b48
YQ
67422014-08-22 Yao Qi <yao@codesourcery.com>
6743
6744 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6745 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6746 * gdb.python/python.exp: Likewise. Use .py file on the host
6747 instead of the build.
6748
22fd09ae
JK
67492014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6750
6751 * gdb.threads/gcore-stale-thread.c: New file.
6752 * gdb.threads/gcore-stale-thread.exp: New file.
6753
a8454a7c
PA
67542014-08-21 Pedro Alves <palves@redhat.com>
6755
6756 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6757 * gdb.base/gcore-relro-pie.exp: Likewise.
6758 * gdb.base/gcore-relro.exp: Likewise.
6759 * gdb.base/gcore.exp: Likewise.
6760 * gdb.base/print-symbol-loading.exp: Likewise.
6761 * gdb.threads/gcore-thread.exp: Likewise.
6762 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6763
2a31c623
PA
67642014-08-20 Pedro Alves <palves@redhat.com>
6765 Jan Kratochvil <jan.kratochvil@redhat.com>
6766
6767 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6768 configure.
6769 (EXPECT): Handle READ1 being set.
6770 (all): Depend on EXTRA_RULES.
6771 (check-read1, expect-read1, read1.so, read1): New rules.
6772 * README (Testsuite Parameters): Document the READ1 make variable.
6773 (Race detection): New section.
6774 * configure: Regenerate.
6775 * configure.ac: If build==host==target, and running under a
6776 GNU/glibc system, add read1 to the extra Makefile rules.
6777 (EXTRA_RULES): AC_SUBST it.
6778 * lib/read1.c: New file.
6779
d36430db
JB
67802014-08-20 Joel Brobecker <brobecker@adacore.com>
6781
6782 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6783 the handling of variables declared as a typedef to an array
6784 which a DW_AT_data_location attribute.
6785
9a0dc9e3
PA
67862014-08-19 Andrew Burgess <aburgess@broadcom.com>
6787 Pedro Alves <palves@redhat.com>
6788
6789 PR symtab/14604
6790 PR symtab/14605
6791 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6792 gdb_test.
6793
0718a8da
PA
67942014-08-19 Pedro Alves <palves@redhat.com>
6795
6796 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6797
13b448cd
YQ
67982014-08-19 Yao Qi <yao@codesourcery.com>
6799
6800 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6801 right line.
6802
1cbf5077
DB
68032014-08-18 David Blaikie <dblaikie@gmail.com>
6804
6805 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6806
bf0fae19
JB
68072014-08-18 Joel Brobecker <brobecker@adacore.com>
6808
6809 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6810 attribute in array range.
6811
3c8c5dcc
JB
68122014-08-18 Joel Brobecker <brobecker@adacore.com>
6813
6814 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6815
e66d4446
SC
68162014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6817
6818 PR c++/17132
6819 * gdb.cp/pr17132.cc: New file.
6820 * gdb.cp/pr17132.exp: New file.
6821
940df408
SC
68222014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6823
6824 * gdb.python/py-xmethods.py (A_getarrayind)
6825 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6826 Use 'print' with function call syntax.
6827 (E_method_matcher.match): Fix tab vs space indentation mixup.
6828
ebcc6c3a
YQ
68292014-08-15 Yao Qi <yao@codesourcery.com>
6830
6831 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6832 false.
6833
775e0f04
YQ
68342014-08-15 Yao Qi <yao@codesourcery.com>
6835
6836 * gdb.cp/casts.exp: Set print symbol off.
6837 * gdb.cp/class2.exp: Likewise.
6838 * gdb.cp/overload.exp: Likewise.
6839 * gdb.cp/templates.exp: Likewise.
6840
d769e349
DE
68412014-08-11 Doug Evans <dje@google.com>
6842
6843 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6844 (test_load_shlib): Update.
6845
20c6f1e1
YQ
68462014-08-09 Yao Qi <yao@codesourcery.com>
6847
6848 * gdb.base/display.exp: Invoke is_address_zero_readable.
6849 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6850 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6851 * gdb.base/hbreak-unmapped.exp: Return if
6852 is_address_zero_readable returns true.
6853 * gdb.base/signest.exp: Likewise.
6854 * gdb.base/signull.exp: Likewise.
6855 * gdb.base/sigbpt.exp: Likewise.
6856 * gdb.guile/scm-disasm.exp: Do the test if
6857 is_address_zero_readable returns false.
6858 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6859 * gdb.python/py-arch.exp: Likewise.
6860 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6861 * lib/gdb.exp (is_address_zero_readable): New proc.
6862
5792e8e3
YQ
68632014-08-09 Yao Qi <yao@codesourcery.com>
6864
6865 PR testsuite/13443
6866 * gdb.mi/mi-var-display.exp: Make test messages unique.
6867
3cecbbbe
TT
68682014-08-04 Tom Tromey <tromey@redhat.com>
6869
6870 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
6871 target 0".
6872
00b51ff5
TT
68732014-08-04 Tom Tromey <tromey@redhat.com>
6874
6875 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6876 "target_resume".
6877
6908c509
JB
68782014-08-01 Joel Brobecker <brobecker@adacore.com>
6879
6880 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6881 inner_vla_struct_object_size.
6882 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6883 as xfail.
6884
cc6563d2
PA
68852014-07-30 Pedro Alves <palves@redhat.com>
6886
6887 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6888 comment.
6889
7e09a223
YQ
68902014-07-29 Yao Qi <yao@codesourcery.com>
6891
6892 PR gdb/17206
6893 * gdb.base/until-nodebug.exp: New.
6894
7ebdbe92
DE
68952014-07-28 Doug Evans <xdje42@gmail.com>
6896
6897 PR guile/17203
6898 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6899 previously existing parameter, and previously ambiguously spelled
6900 parameter.
6901
fdb1adc6
WN
69022014-07-28 Will Newton <will.newton@linaro.org>
6903
6904 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6905
186fcde0
DE
69062014-07-26 Ludovic Courtès <ludo@gnu.org>
6907 Doug Evans <xdje42@gmail.com>
6908
6909 PR guile/17146
6910 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6911
70509625
PA
69122014-07-25 Pedro Alves <palves@redhat.com>
6913
6914 * gdb.threads/signal-command-handle-nopass.c: New file.
6915 * gdb.threads/signal-command-handle-nopass.exp: New file.
6916 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6917 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6918 * gdb.threads/signal-delivered-right-thread.c: New file.
6919 * gdb.threads/signal-delivered-right-thread.exp: New file.
6920
c3f814a1
PA
69212014-07-25 Pedro Alves <palves@redhat.com>
6922
6923 * gdb.base/double-prompt-target-event-error.exp
6924 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6925 match.
6926 (cancel_pagination_in_target_event): Rework double prompt
6927 detection.
6928 * gdb.base/paginate-after-ctrl-c-running.exp
6929 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6930 <return>' match.
6931 * gdb.base/paginate-bg-execution.exp
6932 (test_bg_execution_pagination_return)
6933 (test_bg_execution_pagination_cancel): Remove '-notransfer
6934 <return>' matches.
6935 * gdb.base/paginate-execution-startup.exp
6936 (test_fg_execution_pagination_return)
6937 (test_fg_execution_pagination_cancel): Remove '-notransfer
6938 <return>' matches.
6939 * gdb.base/paginate-inferior-exit.exp
6940 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6941 match.
6942 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6943 * lib/gdb.exp (pagination_prompt): Run text through
6944 string_to_regexp.
6945 (gdb_test_multiple): Match $pagination_prompt instead of
6946 "<return>".
6947 (string_to_regexp): Move to lib/gdb-utils.exp.
6948
e214cf6c
JK
69492014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6950
6951 * gdb.arch/amd64-entry-value-paramref.S: New file.
6952 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6953 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6954 * gdb.arch/amd64-optimout-repeat.S: New file.
6955 * gdb.arch/amd64-optimout-repeat.c: New file.
6956 * gdb.arch/amd64-optimout-repeat.exp: New file.
6957
17d0c5c8
JK
69582014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6959
6960 PR gdb/17170
6961 * gdb.base/statistics.exp: New file.
6962
b8b8facf
DE
69632014-07-17 Doug Evans <dje@google.com>
6964
74b49205 6965 PR gdb/17170
b8b8facf
DE
6966 * gdb.base/maint.exp: Update testing of per-command stats.
6967
1b5d0ab3
PA
69682014-07-16 Pedro Alves <palves@redhat.com>
6969
6970 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6971 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6972 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6973 (tfile_write_buf): New functions.
6974 (add_memory_block): Rewrite using the above.
6975 (adjust_function_address): New function.
6976 (FUNCTION_ADDRESS): New macro.
6977 (write_basic_trace_file): Remove short_x local, and use
6978 tfile_write_16. Change type of func_addr local to unsigned long
6979 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6980 here. Cast argument of add_memory_block to char pointer.
6981 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6982 (main): Remove parameters.
6983 * gdb.trace/tfile.exp: Remove nowarnings.
6984
4d974e88
SM
69852014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6986
6987 * gdb.base/debug-expr.exp: Test string evaluation with
6988 "debug expression" on.
6989
41e99568
PA
69902014-07-15 Pedro Alves <palves@redhat.com>
6991
6992 * gdb.base/reread.exp: Use clean_restart.
6993
487d9753
PL
69942014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6995
6996 * gdb.arch/avr-flash-qualifer.c: New.
6997 * gdb.arch/avr-flash-qualifer.exp: New.
6998
cc1c52ad
PA
69992014-07-14 Pedro Alves <palves@redhat.com>
7000
7001 * gdb.base/paginate-after-ctrl-c-running.c: New file.
7002 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
7003
1e973570
PA
70042014-07-14 Pedro Alves <palves@redhat.com>
7005
7006 * gdb.base/double-prompt-target-event-error.c: New file.
7007 * gdb.base/double-prompt-target-event-error.exp: New file.
7008
93d6eb10
PA
70092014-07-14 Pedro Alves <palves@redhat.com>
7010
7011 PR gdb/17072
7012 * gdb.base/paginate-inferior-exit.c: New file.
7013 * gdb.base/paginate-inferior-exit.exp: New file.
7014
0017922d
PA
70152014-07-14 Pedro Alves <palves@redhat.com>
7016
7017 PR gdb/17072
7018 * gdb.base/paginate-bg-execution.c: New file.
7019 * gdb.base/paginate-bg-execution.exp: New file.
7020
94696ad3
PA
70212014-07-14 Pedro Alves <palves@redhat.com>
7022
7023 PR gdb/17072
7024 * gdb.base/paginate-execution-startup.c: New file.
7025 * gdb.base/paginate-execution-startup.exp: New file.
7026 * lib/gdb.exp (pagination_prompt): New global.
7027 (default_gdb_spawn): New procedure, factored out from
7028 default_gdb_spawn.
7029 (default_gdb_start): Adjust to call default_gdb_spawn.
7030 (gdb_spawn): New procedure.
7031
bd293940
PA
70322014-07-14 Pedro Alves <palves@redhat.com>
7033
7034 * lib/gdb.exp (gdb_assert): New procedure.
7035 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
7036
c933f875
PA
70372014-07-14 Pedro Alves <palves@redhat.com>
7038
7039 * gdb.base/execution-termios.c: New file.
7040 * gdb.base/execution-termios.exp: New file.
7041
d98b7a16
TT
70422014-07-14 Tom Tromey <tromey@redhat.com>
7043
7044 * gdb.cp/vla-cxx.cc: New file.
7045 * gdb.cp/vla-cxx.exp: New file.
7046
548740d6
TT
70472014-07-14 Tom Tromey <tromey@redhat.com>
7048
7049 * gdb.reverse/rerun-prec.c: New file.
7050 * gdb.reverse/rerun-prec.exp: New file.
7051
a25eb028
MR
70522014-07-12 Maciej W. Rozycki <macro@mips.com>
7053 Maciej W. Rozycki <macro@codesourcery.com>
7054
7055 * lib/gdb-utils.exp: New file.
7056 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
7057 inline `gdb_init_command' processing.
7058 (gdb_start_cmd): Likewise.
7059 * lib/mi-support.exp (mi_run_cmd): Likewise.
7060 * README: Document `gdb_init_command' and `gdb_init_commands'.
7061
218c2655
JK
70622014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7063
7064 Fix false FAIL running under a very long directory name.
7065 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
7066 and "set print elements 10000". Twice.
7067
5401fde3
YQ
70682014-07-11 Yao Qi <yao@codesourcery.com>
7069
7070 * gdb.base/exprs.exp: "set print symbol off".
7071
e76126e8
PA
70722014-07-11 Pedro Alves <palves@redhat.com>
7073
7074 * gdb.threads/kill.c: New file.
7075 * gdb.threads/kill.exp: New file.
7076
2d6f0de6
YQ
70772014-07-10 Yao Qi <yao@codesourcery.com>
7078
7079 * gdb.trace/tfile.c (write_basic_trace_file)
7080 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
7081 address written to trace file.
7082
7180e04a
PA
70832014-07-09 Pedro Alves <palves@redhat.com>
7084
7085 * gdb.base/attach-wait-input.exp: New file.
7086 * gdb.base/attach-wait-input.c: New file.
7087
9a9a7608
AB
70882014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7089
7090 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
7091 setting up test structures.
7092 (main): Call new test function.
7093 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
7094 test function, continue into test function and walk test
7095 structures.
7096
161ac41e
YQ
70972014-07-02 Yao Qi <yao@codesourcery.com>
7098
7099 * gdb.trace/entry-values.c: Define labels 'foo_start' and
7100 'bar_start' at the beginning of functions 'foo' and 'bar'
7101 respectively.
7102 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
7103 instead of 'foo' and 'bar'.
7104
1f267ae3
MM
71052014-07-08 Markus Metzger <markus.t.metzger@intel.com>
7106
7107 * gdb.btrace/segv.exp: New.
7108 * gdb.btrace/segv.c: New.
7109
2b239efb
LM
71102014-07-02 Luis Machado <lgustavo@codesourcery.com>
7111
7112 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
7113 instruction.
7114
cf363f18
MW
71152014-06-30 Mark Wielaard <mjw@redhat.com>
7116
7117 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
7118 vulture, vilify, villar): New volatile array constants.
7119 (vindictive, vegetation): New const volatile array constants.
7120 * gdb.base/volatile.exp: Test volatile and const volatile array
7121 types.
7122
aebf9d24
AA
71232014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7124
7125 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
7126 target lacks support for awatch, rwatch, or hbreak.
7127
b67a2c6f
YQ
71282014-06-27 Yao Qi <yao@codesourcery.com>
7129
7130 * gdb.multi/dummy-frame-restore.exp: New.
7131 * gdb.multi/dummy-frame-restore.c: New.
7132
aef92902
MM
71332014-06-25 Markus Metzger <markus.t.metzger@intel.com>
7134
7135 * gdb.btrace/gcore.exp: New.
7136
8e9db26e
PA
71372014-06-23 Pedro Alves <palves@redhat.com>
7138
7139 * gdb.base/watchpoint-reuse-slot.c: New file.
7140 * gdb.base/watchpoint-reuse-slot.exp: New file.
7141
70afc5b7
SC
71422014-06-23 Siva Chandra Reddy <sivachandra@google.com>
7143
7144 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
7145 progspace's filename in 'info', 'enable' and 'disable' command
7146 tests.
7147
b972bd9c
JK
71482014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7149
7150 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
7151 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7152 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
7153
125f8a3d
GB
71542014-06-20 Gary Benson <gbenson@redhat.com>
7155
7156 * gdb.arch/i386-avx.exp: Fix include file location.
7157 * gdb.arch/i386-sse.exp: Likewise.
7158
3ed9baed
IB
71592014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7160
7161 * gdb.dlang/expression.exp: New file.
7162
034f788c
PA
71632014-06-19 Pedro Alves <palves@redhat.com>
7164
7165 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7166 out from ...
7167 (top level): ... here. Iterate running tests under different
7168 scheduler-locking settings.
7169
45371d0c
LM
71702014-06-18 Luis Machado <lgustavo@codesourcery.com>
7171
7172 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7173 to DW_FORM_addr and use non-zero addresses.
7174
5d376983
SC
71752014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7176
7177 PR gdb/17017
7178 * gdb.python/py-xmethods.cc: Add global function call counters and
7179 increment them in their respective functions. Remove "cout"
7180 statements.
7181 * gdb.python/py-xmethods.exp: Make tests check the global function
7182 call counters instead of depending on inferior IO.
7183
a1aa2221
LM
71842014-06-18 Don Breazeal <donb@codesourcery.com>
7185
7186 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7187 Deleted procedure.
7188 (explicit_fork_parent_follow): Deleted procedure.
7189 (explicit_fork_child_follow): Deleted procedure.
7190 (test_follow_fork): New procedure.
7191 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 7192 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
7193 procedure calls.
7194
0fc05997
YQ
71952014-06-17 Yao Qi <yao@codesourcery.com>
7196
7197 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7198 CP1252.
7199
70795c52
LM
72002014-06-17 Luis Machado <lgustavo@codesourcery.com>
7201
7202 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7203 Initialize ptr and S explicitly.
7204 (skip_type_update_when_not_use_rtti_test): Likewise.
7205
6be47f0c
KS
72062014-06-16 Keith Seitz <keiths@redhat.com>
7207
7208 PR mi/15863
7209 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7210 the inferior is started.
7211
d03de421
PA
72122014-06-16 Pedro Alves <palves@redhat.com>
7213
7214 * gdb.base/break-main-file-remove-fail.c: New file.
7215 * gdb.base/break-main-file-remove-fail.exp: New file.
7216 * gdb.base/break-unload-file.exp: Use build_executable instead of
7217 prepare_for_testing.
7218 (test_break): New parameter "initial_load". Handle it.
7219 (top level): Add initial_load cmdline/file axis.
7220
f9579b99
TT
72212014-06-12 Tom Tromey <tromey@redhat.com>
7222
7223 * gdb.base/completion.exp: Don't use directory name in test.
7224
3657956b
GB
72252014-06-09 Gary Benson <gbenson@redhat.com>
7226
7227 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7228 separate the always-available ANSI-standard signals from the
7229 signals that require checking.
7230 (main): Likewise.
7231 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7232 Likewise.
7233 (main): Likewise.
7234
4186eb54
KS
72352014-06-07 Keith Seitz <keiths@redhat.com>
7236
7237 Revert:
7238 PR c++/16253
7239 * gdb.cp/var-tag.cc: New file.
7240 * gdb.cp/var-tag.exp: New file.
7241 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7242 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7243 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7244 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7245
25326a28 72462014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
7247
7248 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7249
829155c9
PA
72502014-06-06 Pedro Alves <palves@redhat.com>
7251
7252 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7253 in target debug output instead of looking at RSP packets,
7254 disabling the test on any target that uses hardware stepping.
7255 Update comments.
7256
61c8d22e
PA
72572014-06-06 Pedro Alves <palves@redhat.com>
7258
7259 * gdb.base/break-unload-file.exp: Fix typo.
7260
d9a47287
YQ
72612014-06-06 Yao Qi <yao@codesourcery.com>
7262
7263 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7264 from "jit_function" to "^jit_function".
7265
e5e01dbf
YQ
72662014-06-06 Yao Qi <yao@codesourcery.com>
7267
7268 * gdb.base/async.c (foo): Add one statement.
7269 * gdb.base/async.exp: Get the next instruction address and
7270 match the output of "nexti" by instruction address. Match
7271 the hex address in the output of "finish".
7272
73ba372c
GB
72732014-06-06 Gary Benson <gbenson@redhat.com>
7274
7275 * gdb.base/call-signals.c: Remove preprocessor conditionals
7276 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7277 SIGSEGV and SIGTERM.
7278 * gdb.base/sigall.c: Likewise.
7279 * gdb.base/unwindonsignal.c: Likewise.
7280 * gdb.reverse/sigall-reverse.c: Likewise.
7281
831517df
YQ
72822014-06-06 Yao Qi <yao@codesourcery.com>
7283
7284 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7285 readable, skip the test.
7286
b8b91e98
YQ
72872014-06-06 Yao Qi <yao@codesourcery.com>
7288
7289 * gdb.threads/staticthreads.c (thread_function): Move the line
7290 setting breakpoint on forward.
7291 * gdb.threads/staticthreads.exp: Update comments.
7292
fb934770
LC
72932014-06-05 Ludovic Courtès <ludo@gnu.org>
7294
7295 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7296 "history-append! type error".
7297
6ef284bd
SM
72982014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7299
7300 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7301 erroneous dprintf expected input.
7302
a872e241
DE
73032014-06-04 Doug Evans <xdje42@gmail.com>
7304
7305 * gdb.guile/scm-generics.exp: Delete.
7306
16f691fb
DE
73072014-06-04 Doug Evans <xdje42@gmail.com>
7308
7309 * gdb.guile/scm-breakpoint.exp: Update.
7310 Add tests for breakpoint registration.
7311
012370f6
TT
73122014-06-04 Tom Tromey <tromey@redhat.com>
7313
7314 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7315 VLA-in-union.
7316 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7317 inner_vla_struct, vla_union types. Initialize objects of those
7318 types and compute their sizes.
7319
9f5a4cef
HZ
73202014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7321 Hui Zhu <hui@codesourcery.com>
7322
7323 * gdb.base/fileio.exp: Add test for shell not available as well as
7324 available.
7325 * gdb.base/fileio.c (test_system): Check for shell twice.
7326
90a45c4d
YQ
73272014-06-04 Yao Qi <yao@codesourcery.com>
7328
7329 * gdb.base/auto-connect-native-target.exp: Remove redundant
7330 space from the regexp pattern.
7331
70017e41
YQ
73322014-06-04 Yao Qi <yao@codesourcery.com>
7333
7334 * gdb.base/default.exp: Replace "child" with "native" in
7335 regexp pattern.
7336
883964a7
SC
73372014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7338
7339 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7340 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7341 * gdb.python/py-xmethods.py: Python script supporting the
7342 new testcase and tests.
7343
ef370185
JB
73442014-06-03 Joel Brobecker <brobecker@adacore.com>
7345 Pedro Alves <palves@redhat.com>
7346
7347 PR breakpoints/17000
7348 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7349 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7350
1e2ccb61
BM
73512014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7352
7353 * gdb.base/subst.exp: Add tests to verify partial path matching
7354 output.
7355
c6ec5ab2
PA
73562014-06-03 Pedro Alves <palves@redhat.com>
7357
7358 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7359 target that doesn't use software single-stepping.
7360
835c559f
PA
73612014-06-03 Pedro Alves <palves@redhat.com>
7362
7363 PR breakpoints/17000
7364 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7365 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7366
06eb1586
DE
73672014-06-02 Doug Evans <xdje42@gmail.com>
7368
7369 * gdb.guile/scm-parameter.exp: New file.
7370
e698b8c4
DE
73712014-06-02 Doug Evans <xdje42@gmail.com>
7372
7373 * gdb.guile/scm-cmd.c: New file.
7374 * gdb.guile/scm-cmd.exp: New file.
7375
ded03782
DE
73762014-06-02 Doug Evans <xdje42@gmail.com>
7377
7378 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7379 pretty-printer lookup.
7380 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7381 (make-pp_s-printer): Call it.
7382 (make-pretty-printer-from-dict): New function.
7383 (lookup-pretty-printer-maker-from-dict): New function.
7384 (*pretty-printer*): Simplify.
7385 (make-objfile-pp_s-printer): New function.
7386 (install-objfile-pretty-printers!): New function.
7387 (make-progspace-pp_s-printer): New function.
7388 (install-progspace-pretty-printers!): New function.
7389 * gdb.guile/scm-progspace.c: New file.
7390 * gdb.guile/scm-progspace.exp: New file.
7391
41fac0cf
PA
73922014-06-02 Pedro Alves <palves@redhat.com>
7393
7394 * gdb.base/dprintf-bp-same-addr.c: New file.
7395 * gdb.base/dprintf-bp-same-addr.exp: New file.
7396
96ae5695
EBM
73972014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7398
7399 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7400 * gdb.arch/powerpc-power.s: Likewise.
7401
da02b3a8
JB
74022014-06-02 Joel Brobecker <brobecker@adacore.com>
7403
7404 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7405
c72b2e7b
YQ
74062014-06-01 Yao Qi <yao@codesourcery.com>
7407
7408 * gdb.base/watchpoint.exp (test_watch_location): Check null
7409 pointer can be dereferenced. If not, do the test, otherwise
7410 skip it.
7411
53e8a631
AB
74122014-05-30 Andrew Burgess <aburgess@broadcom.com>
7413
7414 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7415 results.
7416 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7417
938f0e2f
AB
74182014-05-30 Andrew Burgess <aburgess@broadcom.com>
7419
7420 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7421 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7422 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7423 * gdb.arch/amd64-invalid-stack-top.c: New file.
7424 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7425
9ba6657a
PA
74262014-05-30 Pedro Alves <palves@redhat.com>
7427
7428 PR breakpoints/17000
7429 * gdb.base/sss-bp-on-user-bp.c: New file.
7430 * gdb.base/sss-bp-on-user-bp.exp: New file.
7431
522c09bf
DB
74322014-05-30 David Blaikie <dblaikie@gmail.com>
7433
7434 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7435 gnu_inline semantics via attribute.
7436 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7437 source explicitly specifies the required semantics.
7438
bf4ef81e
MR
74392014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7440
7441 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7442
329ea579
PA
74432014-05-29 Pedro Alves <palves@redhat.com>
7444 Tom Tromey <tromey@redhat.com>
7445
7446 * gdb.base/async-shell.exp: Don't enable target-async.
7447 * gdb.base/async.exp
7448 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7449 parameter. Adjust.
7450 (top level): Don't test with "target-async".
7451 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7452 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7453 * gdb.base/inferior-died.exp: Don't enable target-async.
7454 * gdb.base/interrupt-noterm.exp: Likewise.
7455 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7456 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7457 * gdb.mi/mi-nonstop.exp: Likewise.
7458 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7459 * gdb.mi/mi-nsintrall.exp: Likewise.
7460 * gdb.mi/mi-nsmoribund.exp: Likewise.
7461 * gdb.mi/mi-nsthrexec.exp: Likewise.
7462 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7463 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7464 * gdb.python/py-evsignal.exp: Don't enable target-async.
7465 * gdb.python/py-evthreads.exp: Likewise.
7466 * gdb.python/py-prompt.exp: Likewise.
7467 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7468 * gdb.server/solib-list.exp: Don't enable target-async.
7469 * gdb.threads/thread-specific-bp.exp: Likewise.
7470 * lib/mi-support.exp: Adjust to use mi-async.
7471
fd664c91
PA
74722014-05-29 Pedro Alves <palves@redhat.com>
7473
7474 PR gdb/13860
7475 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7476 reason, even in sync mode.
7477
251bde03
PA
74782014-05-29 Pedro Alves <palves@redhat.com>
7479 Hui Zhu <hui@codesourcery.com>
7480
7481 PR PR15693
7482 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7483 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7484 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7485 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7486
7f3c0343
JB
74872014-05-28 Joel Brobecker <brobecker@adacore.com>
7488
7489 * config/monitor.exp (gdb_target_monitor): Replace use of
7490 "set remotebaud" by "set serial baud".
7491
b2715b27
AW
74922014-05-26 Andy Wingo <wingo@igalia.com>
7493
7494 * gdb.guile/scm-breakpoint.exp:
7495 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7496 properties instead of gdb-object-properties.
7497
498a4489
YQ
74982014-05-26 Yao Qi <yao@codesourcery.com>
7499
7500 * gdb.server/no-thread-db.exp: Specify source file name
7501 explicitly when setting a breakpoint.
7502
589fdceb
MM
75032014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7504
7505 * gdb.btrace/vdso.c: New.
7506 * gdb.btrace/vdso.exp: New.
7507
e9089e05
MM
75082014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7509
7510 * gdb.base/gcore.exp (capture_command_output): Move ...
7511 * lib/gdb.exp (capture_command_output): ... here.
7512
67b5c0c1
MM
75132014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7514
7515 * gdb.btrace/data.exp: Test memory access during btrace replay.
7516
a2199296
SM
75172014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7518
7519 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7520
17b2616c
PA
75212014-05-21 Pedro Alves <palves@redhat.com>
7522
7523 PR gdb/13860
7524 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7525 (top level): Test that output related to execution commands is
7526 sent to the console with CLI commands, but not with MI commands.
7527 Test that breakpoint events are always mirrored to the console.
7528 Also expect the new source line to be output after a "next" in
7529 async mode too. Make it a pass/fail test.
7530 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7531 output.
7532 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7533
5166082f
PA
75342014-05-21 Pedro Alves <palves@redhat.com>
7535
7536 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7537 Use them to test variations of "list" after reaching a breakpoint.
7538 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7539 Test "list" with listsize 10 after reaching a breakpoint.
7540 * gdb.python/python.exp (decode_line current location line
7541 number): Adjust expected line number.
7542
2f25d70f
SM
75432014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7544
7545 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7546 behavior for $args, pass it directly to "run".
7547
ff604a67
MR
75482014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7549
7550 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7551 30000 to 65536.
7552
6a3cb8e8
PA
75532014-05-21 Pedro Alves <palves@redhat.com>
7554
7555 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7556 auto-connect-native-target off".
7557 * gdb.base/auto-connect-native-target.c: New file.
7558 * gdb.base/auto-connect-native-target.exp: New file.
7559
4ebfc96e
PA
75602014-05-21 Pedro Alves <palves@redhat.com>
7561
7562 * gdb.base/default.exp: Test "target native" instead of "target
7563 child".
7564
36d46afb
MW
75652014-05-21 Mark Wielaard <mjw@redhat.com>
7566
7567 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7568
5876f503
JK
75692014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7570
7571 Fix TLS access for -static -pthread.
7572 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7573 <HAVE_TLS> (thread_function, main): Initialize it.
7574 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7575 Add clean_restart.
7576 <$have_tls != "">: Check TLSVAR.
7577
0256a6ac
PA
75782014-05-21 Pedro Alves <palves@redhat.com>
7579
7580 * gdb.base/dcache-line-read-error.c: New.
7581 * gdb.base/dcache-line-read-error.exp: New.
7582
936d2992
PA
75832014-05-20 Pedro Alves <palves@redhat.com>
7584
7585 * gdb.base/compare-sections.c: New file.
7586 * gdb.base/compare-sections.exp: New file.
7587
802e8e6d
PA
75882014-05-20 Pedro Alves <palves@redhat.com>
7589
7590 * gdb.base/break-idempotent.c: New file.
7591 * gdb.base/break-idempotent.exp: New file.
7592
e59fa00f
MM
75932014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7594
7595 * gdb.btrace/nohist.exp: New.
7596
8b696e31
YQ
75972014-05-20 Yao Qi <yao@codesourcery.com>
7598
7599 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7600 gdb.reverse directory and gdb_reverse_timeout exists in board
7601 setting.
7602 * README: Document gdb_reverse_timeout.
7603
73c9764f
YQ
76042014-05-20 Yao Qi <yao@codesourcery.com>
7605
7606 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7607 'test_file_name'. Treat args as a string instead of a list.
7608 (gdb_init): Rename argument 'args' by 'test_file_name'.
7609
f1f4348a
JK
76102014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7611
7612 * gdb.arch/powerpc-power.exp: New file.
7613 * gdb.arch/powerpc-power.s: New file.
7614
0dbe70ce
DE
76152014-05-16 Doug Evans <dje@google.com>
7616
7617 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
7618 * gdb.base/completion.exp: Check that all expected files exist
7619 before doing file completion.
0dbe70ce 7620
8d551b02
DE
76212014-05-16 Doug Evans <dje@google.com>
7622
7623 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7624 Update.
7625 (do_syscall_tests_without_xml): Update.
7626
73eb7709
PA
76272014-05-16 Pedro Alves <palves@redhat.com>
7628
7629 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7630 instead of "unknown output after running".
7631
3fae92fc
YQ
76322014-05-16 Yao Qi <yao@codesourcery.com>
7633
7634 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7635 file1.txt from host at the end.
7636 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7637
c2b2ccc5
DE
76382014-05-15 Doug Evans <dje@google.com>
7639
7640 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7641 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7642 loading file. Add test for TU lookup.
7643
8c217a4b
SM
76442014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7645
7646 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7647 calling "-exec-arguments" or "set args" before running the
7648 inferior.
7649
3deb39c6
SM
76502014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7651
7652 * lib/mi-support.exp (mi_expect_stop): Expect message for
7653 inferiors that exit with non-zero exit code.
7654
71a79f8c
YQ
76552014-05-14 Yao Qi <yao@codesourcery.com>
7656
7657 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7658 match absolute path on remote host.
7659 (test_file_list_exec_source_files): Remove "/" from the
7660 pattern.
7661
f23fcd46
YQ
76622014-05-14 Yao Qi <yao@codesourcery.com>
7663
7664 * boards/local-remote-host-notty.exp (${board}_file): New
7665 proc.
7666
9404b58f
KM
76672014-05-07 Kyle McMartin <kyle@redhat.com>
7668
7669 Pushed by Joel Brobecker <brobecker@adacore.com>.
7670 * gdb.arch/aarch64-atomic-inst.c: New file.
7671 * gdb.arch/aarch64-atomic-inst.exp: New file.
7672
5e45f04c
YQ
76732014-05-07 Yao Qi <yao@codesourcery.com>
7674
7675 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7676 in current context" too.
7677
c888a17d
KS
76782014-05-05 Keith Seitz <keiths@redhat.com>
7679
7680 * gdb.linespec/ls-dollar.exp: Add test for linespec
7681 file:convenience_variable.
7682
290a839c
YQ
76832014-05-05 Yao Qi <yao@codesourcery.com>
7684
7685 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7686 traceframes into tfile and ctf trace files. Read data from
7687 trace file and test collected data.
7688 (gdb_collect_locals_test): Likewise.
7689 (gdb_unavailable_registers_test): Likewise.
7690 (gdb_unavailable_floats): Likewise.
7691 (gdb_collect_globals_test): Likewise.
7692 (top-level): Append "ctf" to trace_file_targets if GDB
7693 supports.
7694
b5262cd0
YQ
76952014-05-05 Yao Qi <yao@codesourcery.com>
7696
7697 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7698 code to ...
7699 (gdb_collect_args_test_1): ... it. New proc.
7700 (gdb_collect_locals_test): Move some code to ...
7701 (gdb_collect_locals_test_1): ... it. New proc.
7702 (gdb_unavailable_registers_test): Move some code to ...
7703 (gdb_unavailable_registers_test_1): ... it. New proc.
7704 (gdb_unavailable_floats): Move some code to ...
7705 (gdb_unavailable_floats_1): ... it. New proc.
7706
30a1e6cc
SDJ
77072014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7708
7709 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7710 probes to test for bitness recognition.
7711 * gdb.arch/amd64-stap-optional-prefix.exp
7712 (test_probe_value_without_reg): New procedure.
7713 Add code to test for different kinds of bitness.
7714
f33da99a
SDJ
77152014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7716
7717 PR breakpoints/16889
7718 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7719 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7720
5b80f00d
PA
77212014-05-01 Pedro Alves <palves@redhat.com>
7722
7723 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7724 gdb_file_cmd if no file is specified.
7725 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7726 last_loaded_file to set the remote exec-file.
7727
f8c2a73c
PA
77282014-05-01 Pedro Alves <palves@redhat.com>
7729
7730 * boards/local-remote-host.exp: New file.
7731
be6e8ac7
PA
77322014-05-01 Pedro Alves <palves@redhat.com>
7733
7734 * boards/local-remote-host.exp: Rename to ...
7735 * boards/local-remote-host-notty.exp: ... this.
7736
cac0dc8f
JB
77372014-04-28 Joel Brobecker <brobecker@adacore.com>
7738
7739 * gdb.ada/dyn_arrayidx: New testcase.
7740
9730e6cc
YQ
77412014-04-26 Yao Qi <yao@codesourcery.com>
7742
7743 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7744 and compute the length of function main. Save it in
7745 $main_length.
7746 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7747 (top-level): Use gdb_compile to compile objects into
7748 executable and restart GDB. Remove invocation to
7749 prepare_for_testing.
7750
7ae1a6a6
PA
77512014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7752 Pedro Alves <palves@redhat.com>
7753
7754 PR server/16255
7755 * gdb.multi/multi-attach.c: New file.
7756 * gdb.multi/multi-attach.exp: New file.
7757
4082afcc
PA
77582014-04-25 Pedro Alves <palves@redhat.com>
7759
7760 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7761 user.
7762 (top level): Test that "set remote conditional-breakpoints-packet
7763 off" works as intended.
7764 * gdb.base/dprintf.exp: Test that "set remote
7765 breakpoint-commands-packet off" works as intended.
7766 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7767 New function.
7768 (top level): Call it.
7769 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7770 remote fast-tracepoints-packet off" works as intended.
7771 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7772 * lib/gdb.exp (gdb_is_target_remote): ... here.
7773
2abc3f8d
DB
77742014-04-24 David Blaikie <dblaikie@gmail.com>
7775
7776 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7777 ensure clang would not discard them.
7778 * gdb.base/gdbvars.c: Ditto.
7779 * gdb.base/memattr.c: Ditto.
7780 * gdb.base/whatis.c: Ditto.
7781 * gdb.python/py-prettyprint.c: Ditto.
7782 * gdb.trace/actions.c: Ditto.
7783 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7784 ensure clang would not discard it.
7785
bfd39632
DB
77862014-04-24 David Blaikie <dblaikie@gmail.com>
7787
7788 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7789 clang to emit the full definition of type required by the test
7790 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7791
22842ff6
DB
77922014-04-24 David Blaikie <dblaikie@gmail.com>
7793
7794 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7795 coax Clang into emitting the definition of the type.
7796 * gdb.cp/pr10728-x.h (y): Ditto.
7797 * gdb.cp/pr10728-y.cc (y): Ditto.
7798
c2e827ad
DB
77992014-04-24 David Blaikie <dblaikie@gmail.com>
7800
7801 * gdb.base/label.exp: XFAIL label related tests under Clang.
7802 * gdb.cp/cplabel.exp: Ditto.
7803 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7804 under Clang those using labels.
7805
4c2d33e7
YQ
78062014-04-25 Yao Qi <yao@codesourcery.com>
7807
7808 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7809 double_label.
7810 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7811 partial_label and double_label.
7812
56083b99
DB
78132014-04-24 David Blaikie <dblaikie@gmail.com>
7814
7815 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7816
25d4e99d
DB
78172014-04-24 David Blaikie <dblaikie@gmail.com>
7818
7819 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7820 of the function to work across GCC and Clang.
7821 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7822 pointer types (const void ** const V void **).
7823
01f9f808
MS
78242014-04-24 Michael Sturm <michael.sturm@mintel.com>
7825 Walfred Tedeschi <walfred.tedeschi@intel.com>
7826
7827 * Makefile.in (EXECUTABLES): Added i386-avx512.
7828 * gdb.arch/i386-avx512.c: New file.
7829 * gdb.arch/i386-avx512.exp: Likewise.
7830
4b48d439
KS
78312014-04-23 Keith Seitz <keiths@redhat.com>
7832
7833 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7834 (mi_make_breakpoint_table): New procedure.
7835 (mi_create_breakpoint): Use mi_make_breakpoint
7836 and return the result.
7837 (mi_make_breakpoint): New procedure.
7838 (mi_build_kv_pairs): New procedure.
7839
7840 * gdb.mi/mi-break.exp: Remove unused globals,
7841 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7842 All callers updated.
7843 * gdb.mi/mi-dprintf.exp: Use variable to track command
7844 number.
7845 Update all callers of mi_create_breakpoint and use
7846 mi_make_breakpoint_table.
7847 Remove any unused global variables.
7848 * gdb.mi/mi-nonstop.exp: Likewise.
7849 * gdb.mi/mi-nsintrall.exp: Likewise.
7850 * gdb.mi/mi-nsmoribund.exp: Likewise.
7851 * gdb.mi/mi-nsthrexec.exp: Likewise.
7852 * gdb.mi/mi-reverse.exp: Likewise.
7853 * gdb.mi/mi-simplerun.exp: Likewise.
7854 * gdb.mi/mi-stepn.exp: Likewise.
7855 * gdb.mi/mi-syn-frame.exp: Likewise.
7856 * gdb.mi/mi-until.exp: Likewise.
7857 * gdb.mi/mi-var-cp.exp: Likewise.
7858 * gdb.mi/mi-var-display.exp: Likewise.
7859 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7860 * gdb.mi/mi2-var-child.exp: Likewise.
7861 * gdb.mi/mi-vla-c99.exp: Likewise.
7862 * lib/mi-support.exp: Likewise.
7863
7864 From Ian Lance Taylor <iant@cygnus.com>:
7865 * lib/gdb.exp (parse_args): New procedure.
7866
08351840
PA
78672014-04-23 Pedro Alves <palves@redhat.com>
7868
7869 * gdb.base/break-unload-file.c: New file.
7870 * gdb.base/break-unload-file.exp: New file.
7871 * gdb.base/sym-file-lib.c (baz): New function.
7872 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7873 field.
7874 (load): Store the segment's mapped size.
7875 (unload): New function.
7876 (unload_shlib): New function.
7877 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7878 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7879 set a breakpoint at baz, and call it.
7880 * gdb.base/sym-file.exp: New tests for stale breakpoint
7881 instructions.
7882
076855f9
PA
78832014-04-23 Pedro Alves <palves@redhat.com>
7884
7885 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7886 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7887 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7888 * gdb.base/hbreak-unmapped.c: New file.
7889 * gdb.base/hbreak-unmapped.exp: New file.
7890 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7891 * lib/gdb.exp (gdb_is_target_remote): ... here.
7892
483805cf
PA
78932014-04-22 Pedro Alves <palves@redhat.com>
7894
7895 * gdb.base/consecutive-step-over.c: New file.
7896 * gdb.base/consecutive-step-over.exp: New file.
7897
06d97543
PA
78982014-04-22 Pedro Alves <palves@redhat.com>
7899
7900 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7901 instead of send_gdb/gdb_expect.
7902
b4429ea2
YQ
79032014-04-22 Yao Qi <yao@codesourcery.com>
7904
7905 * lib/trace-support.exp (generate_tracefile): New procedure.
7906 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7907 return 0.
7908 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7909 if generate_tracefile returns 1.
7910
51d48146
PA
79112014-04-18 Tom Tromey <palves@redhat.com>
7912 Pedro alves <tromey@redhat.com>
7913
7914 PR backtrace/15558
7915 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7916 with a backtrace limit.
7917 * gdb.python/py-frame-inline.exp: Test running to an inline
7918 function with a backtrace limit, and printing the newest frame.
7919 * gdb.python/py-frame-inline.c (main): Call f.
7920
bd1dce5f
MS
79212014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7922
7923 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7924
40d1a503
MS
79252014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7926
7927 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7928 Drop prefix from unsupported source file path.
7929
389b98f7
YQ
79302014-04-17 Yao Qi <yao@codesourcery.com>
7931
7932 * lib/gdb.exp (with_target_charset): New proc.
7933 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7934 with_target_charset.
7935 (test_print_strings): Likewise.
7936 (test_repeat_bytes): Likewise.
7937 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7938 for some tests.
7939
22869d73
KS
79402014-04-16 Keith Seitz <keiths@redhat.com>
7941
7942 PR gdb/15827
7943 * gdb.dwarf2/corrupt.c: New file.
7944 * gdb.dwarf2/corrupt.exp: New file.
7945
c4f87ca6
KS
79462014-04-16 Keith Seitz <keiths@redhat.com>
7947
7948 PR c++/16597
7949 * gdb.cp/namelessclass.cc: New file.
7950 * gdb.cp/namelessclass.exp: New file.
7951 * gdb.cp/namelessclass.S: New file.
7952
ab19de87
DE
79532014-04-16 Doug Evans <dje@google.com>
7954
7955 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7956 Add comment.
7957 (gdbserver_default_get_comm_port): New function.
7958 (gdbserver_start): Check if board file provided
7959 "gdbserver,get_comm_port" and use it if so.
7960 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7961 (gdb,socketport): Set to "stdio".
7962 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7963 (stdio_gdbserver_template): Delete.
7964 (${board}_get_remote_address): Update.
7965 (${board}_build_remote_cmd): Delete.
7966 (${board}_get_comm_port): New function.
7967 (${board}_spawn): Update.
7968 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7969 Delete.
7970 (${board}_get_remote_address): Update.
7971 (${board}_get_comm_port): New function.
7972
fc98a809
AB
79732014-04-16 Andrew Burgess <aburgess@broadcom.com>
7974
7975 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7976 appearing in any order.
7977
87fd9e6e
DE
79782014-04-15 Doug Evans <dje@google.com>
7979
7980 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7981 uninitialized value of "description".
7982
099fc3ea
KS
79832014-04-15 Keith Seitz <keiths@redhat.com>
7984
7985 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7986 Remove unused globals.
7987 (test_running_the_program): Likewise.
7988 (test_controlled_execution): Likewise.
7989 (test_controlling_breakpoints): Likewise.
7990 (test_program_termination): Likewise.
7991
5da151d4
KS
79922014-04-15 Keith Seitz <keiths@redhat.com>
7993
7994 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7995 unused globals.
7996 (test_rbreak_creation_and_listing): Likewise.
7997 (test_ignore_count): Likewise.
7998 (test_error): Likewise.
7999
35e5d2f0
PA
80002014-04-15 Pedro Alves <palves@redhat.com>
8001
8002 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
8003 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
8004 sym-file-loader.c.
8005 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8006 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8007 to sym-file-loader.c.
8008 (struct library): Forward declare.
8009 (load_shlib, lookup_function): Change prototypes.
8010 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8011 (translate_offset): Remove declarations.
8012 (get_text_addr): New declaration.
8013 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
8014 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
8015 sym-file-loader.h.
8016 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8017 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8018 here from sym-file-loader.h.
8019 (struct library): New structure.
8020 (load_shlib, lookup_function): Change prototypes and adjust to
8021 work with a struct library.
8022 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8023 (translate_offset): Make static.
8024 (get_text_addr): New function.
8025 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
8026
eb4c1710
PA
80272014-04-15 Pedro Alves <palves@redhat.com>
8028
8029 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
8030
2d1baf52
PA
80312014-04-15 Pedro Alves <palves@redhat.com>
8032
8033 * gdb.base/sym-file-loader.c: Include <limits.h>.
8034 (SELF_LINK): New define.
8035 (get_origin): New function.
8036 (load_shlib): Use it.
8037 * gdb.base/sym-file.exp: Don't early return if the target is
8038 remote. Use runto_main, and issue fail is that fails. Use
8039 gdb_load_shlibs.
8040 (shlib_name): Delete.
8041 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
8042
7dd6df01
PA
80432014-04-15 Pedro Alves <palves@redhat.com>
8044
8045 * gdb.base/sym-file.exp: Remove regex characters from test
8046 message. Don't refer to breakpoint numbers in test messages.
8047
b50c8614
KS
80482014-04-14 Keith Seitz <keiths@redhat.com>
8049
8050 PR c++/16253
8051 * gdb.cp/var-tag.cc: New file.
8052 * gdb.cp/var-tag.exp: New file.
8053 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8054 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8055 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8056 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8057
3d567982
TT
80582014-04-14 Tom Tromey <tromey@redhat.com>
8059
8060 * gdb.cp/classes.exp (test_enums): Handle underlying type.
8061 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
8062 type.
8063 * gdb.cp/enum-class.exp: New file.
8064 * gdb.cp/enum-class.cc: New file.
8065
0626fc76
TT
80662014-04-14 Tom Tromey <tromey@redhat.com>
8067
8068 * gdb.dwarf2/enum-type.exp: New file.
8069
dca325b3
SA
80702014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8071
8072 * gdb.mi/mi-vla-c99.exp: New file.
8073 * gdb.mi/vla.c: New file.
8074
5854b38a
SA
80752014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8076
8077 * gdb.base/vla-datatypes.c: New file.
8078 * gdb.base/vla-datatypes.exp: New file.
8079
463bb957
SA
80802014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8081
8082 * gdb.base/vla-ptr.c: New file.
8083 * gdb.base/vla-ptr.exp: New file.
8084
3dd170be
SA
80852014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8086
8087 * gdb.dwarf2/count.exp: New file.
8088
5ecaaa66
SA
80892014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8090
8091 * gdb.base/vla-sideeffect.c: New file.
8092 * gdb.base/vla-sideeffect.exp: New file.
8093
41f1ada5
DB
80942014-04-14 David Blaikie <dblaikie@gmail.com>
8095
8096 * gdb.mi/non-stop.c: Add return value for non-void function return
8097 statement.
8098 * gdb.threads/staticthreads.c: Ditto.
8099
0be03e84
DE
81002014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8101 Doug Evans <xdje42@gmail.com>
8102
8103 * gdb.guile/scm-value.c: Improve test case.
8104 * gdb.guile/scm-value.exp: Add new test.
8105
f180a1fb
DB
81062014-04-11 David Blaikie <dblaikie@gmail.com>
8107
8108 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
8109 override Clang's default.
8110
6b662e19
JB
81112014-04-11 Joel Brobecker <brobecker@adacore.com>
8112
8113 Revert the following changes (regressions):
8114
8115 * gdb.base/vla-sideeffect.c: New file.
8116 * gdb.base/vla-sideeffect.exp: New file.
8117
8118 * gdb.dwarf2/count.exp: New file.
8119
8120 * gdb.base/vla-multi.c: New file.
8121 * gdb.base/vla-multi.exp: New file.
8122
8123 * gdb.base/vla-ptr.c: New file.
8124 * gdb.base/vla-ptr.exp: New file.
8125
8126 * gdb.base/vla-datatypes.c: New file.
8127 * gdb.base/vla-datatypes.exp: New file.
8128
8129 * gdb.mi/mi-vla-c99.exp: New file.
8130 * gdb.mi/vla.c: New file.
8131
245a5f0b
KS
81322014-04-11 Keith Seitz <keiths@redhat.com>
8133
8134 PR c++/16675
8135 * gdb.cp/cpsizeof.exp: New file.
8136 * gdb.cp/cpsizeof.cc: New file.
8137
58a84dcf
SA
81382014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8139
191a8a90
JB
8140 * gdb.mi/mi-vla-c99.exp: New file.
8141 * gdb.mi/vla.c: New file.
58a84dcf 8142
c8655f75
SA
81432014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8144
8145 * gdb.base/vla-datatypes.c: New file.
8146 * gdb.base/vla-datatypes.exp: New file.
8147
024e13b4
SA
81482014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8149
8150 * gdb.base/vla-ptr.c: New file.
8151 * gdb.base/vla-ptr.exp: New file.
8152
1a237e0e
SA
81532014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8154
8155 * gdb.base/vla-multi.c: New file.
8156 * gdb.base/vla-multi.exp: New file.
8157
504f3432
SA
81582014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8159
8160 * gdb.dwarf2/count.exp: New file.
8161
3bce8237
SA
81622014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8163
191a8a90
JB
8164 * gdb.base/vla-sideeffect.c: New file.
8165 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 8166
322f9c21
YQ
81672014-04-11 Yao Qi <yao@codesourcery.com>
8168
8169 * gdb.base/completion.exp: Check file exists before running tests
8170 on file completion.
8171
d708bcd1
PA
81722014-04-10 Pedro Alves <palves@redhat.com>
8173
8174 * gdb.base/cond-eval-mode.c: New file.
8175 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8176 prepare_for_testing to build the new file. Check result of
8177 runto_main.
8178 (test_break, test_watch): New procedures.
8179 (top level): Use them.
8180
ae1d2761
PM
81812014-04-08 Pierre Muller <muller@sourceware.org>
8182
8183 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8184 Ctrl-V use for mingw hosts.
8185
7af389b8
SC
81862014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8187
8188 * gdb.python/py-value.c: Improve test case.
8189 * gdb.python/py-value.exp: Add new test.
8190
5e703181
DE
81912014-04-07 David Blaikie <dblaikie@gmail.com>
8192
8193 * lib/compiler.c: Identify the clang compiler.
8194 * lib/compiler.cc: Ditto.
8195
9810b410
YQ
81962014-04-03 Yao Qi <yao@codesourcery.com>
8197
8198 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8199
98d1b8dc
AB
82002014-04-01 Anton Blanchard <anton@samba.org>
8201
8202 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8203 messages unique.
8204
3114cea1
AB
82052014-04-01 Anton Blanchard <anton@samba.org>
8206
8207 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8208 prepare_for_testing.
8209
62f7182c
AB
82102014-04-01 Anton Blanchard <anton@samba.org>
8211
8212 * gdb.arch/ppc64-atomic-inst.c: Remove.
8213 * gdb.arch/ppc64-atomic-inst.S: New file.
8214 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8215
770e7fc7
DE
82162014-03-31 Doug Evans <dje@google.com>
8217
8218 * gdb.base/print-symbol-loading-lib.c: New file.
8219 * gdb.base/print-symbol-loading-main.c: New file.
8220 * gdb.base/print-symbol-loading.exp: New file.
8221
46e2bafa
YQ
82222014-03-31 Yao Qi <yao@codesourcery.com>
8223
8224 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8225
8776cfe9
JB
82262014-03-28 Joel Brobecker <brobecker@adacore.com>
8227
8228 * gdb.ada/mi_dyn_arr: New testcase.
8229
5d1ef361
DE
82302014-03-27 Doug Evans <dje@google.com>
8231
8232 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8233
b5bee914
YQ
82342014-03-27 Yao Qi <yao@codesourcery.com>
8235
8236 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8237 if target is nios2-*-*.
8238
0d4d0e77
YQ
82392014-03-26 Yao Qi <yao@codesourcery.com>
8240
8241 * lib/gdb.exp (readline_is_used): New proc.
8242 * gdb.base/completion.exp: Move tests on command complete up.
8243 Skip the rest of tests if readline is not used.
8244 * gdb.ada/complete.exp: Skp the test if readline is not
8245 used.
8246 * gdb.base/filesym.exp: Likewise.
8247 * gdb.base/macscp.exp: Likewise.
8248 * gdb.base/readline-ask.exp: Likewise.
8249 * gdb.base/readline.exp: Likewise.
8250 * gdb.python/py-cmd.exp: Likewise.
8251 * gdb.trace/tfile.exp: Likewise.
8252
29361eee
YQ
82532014-03-26 Yao Qi <yao@codesourcery.com>
8254
8255 * gdb.base/macscp.exp: Fix code format issues.
8256
bc9a5525
UW
82572014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8258
8259 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8260 * gdb.asm/powerpc64le.inc: New file.
8261
d3839ede
PA
82622014-03-25 Pedro Alves <palves@redhat.com>
8263 Doug Evans <dje@google.com>
8264
8265 * gdb.base/source-execution.c: New file.
8266 * gdb.base/source-execution.exp: New file.
8267 * gdb.base/source-execution.gdb: New file.
8268
01672a57
DE
82692014-03-24 Doug Evans <dje@google.com>
8270
8271 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8272 using fission.
8273
88bbeca9
HZ
82742014-03-24 Hui Zhu <hui@codesourcery.com>
8275 Pedro Alves <palves@redhat.com>
8276
8277 PR breakpoints/16101
8278 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8279 test pass/fail messages. Detect missing support for dprintf when
8280 breakpoints are actually inserted.
8281 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8282 breakpoints are actually inserted.
8283 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8284 fails.
8285
d2348791
JK
82862014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8287
8288 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8289
feef67ab
DE
82902014-03-22 Doug Evans <xdje42@gmail.com>
8291
8292 * gdb.python/python.exp (python not supported): Verify multi-line
8293 python command issues an error.
25d743f9 8294 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 8295 guile command issues an error.
feef67ab 8296
ecebef6a
MR
82972014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8298
8299 * gdb.threads/thread-specific.exp: Handle the lack of usable
8300 $this_breakpoint and $this_thread.
8301
ccdd1909
HZ
83022014-03-21 Hui Zhu <hui@codesourcery.com>
8303
8304 * gdb.base/attach.exp (do_command_attach_tests): New.
8305
beb460e8
PA
83062014-03-20 Tom Tromey <tromey@redhat.com>
8307 Pedro Alves <palves@redhat.com>
8308
8309 PR cli/15718
8310 * gdb.base/condbreak-call-false.c: New file.
8311 * gdb.base/condbreak-call-false.exp: New file.
8312
40acf43a
PA
83132014-03-20 Pedro Alves <palves@redhat.com>
8314
8315 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8316 Delete.
8317 (block_signals, unblock_signals): Delete.
8318 (child_function_2, main): Remove references to deleted variable
8319 and functions.
8320
9f5e1e02
PA
83212014-03-20 Pedro Alves <palves@redhat.com>
8322
8323 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8324 Use pthread_kill to signal thread 2.
8325 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8326 Adjust to make the test send itself a signal rather than using the
8327 host's "kill" command.
8328
99619bea
PA
83292014-03-20 Pedro Alves <palves@redhat.com>
8330
8331 * gdb.threads/multiple-step-overs.c: New file.
8332 * gdb.threads/multiple-step-overs.exp: New file.
8333 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8334 Adjust expected infrun debug output.
8335
2adfaa28
PA
83362014-03-20 Pedro Alves <palves@redhat.com>
8337
8338 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8339 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8340
31e77af2
PA
83412014-03-20 Pedro Alves <palves@redhat.com>
8342
8343 PR breakpoints/7143
8344 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8345 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8346 of gdb_test_multiple.
8347 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8348 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8349
b9f437de
PA
83502014-03-20 Pedro Alves <palves@redhat.com>
8351
8352 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8353 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8354
05adc73e
PA
83552014-03-19 Pedro Alves <palves@redhat.com>
8356
8357 * gdb.base/async.exp: Remove early return.
8358
6048b950
PA
83592014-03-19 Pedro Alves <palves@redhat.com>
8360
8361 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8362
8bcfb00a
PA
83632014-03-19 Pedro Alves <palves@redhat.com>
8364
8365 * gdb.base/async.exp (test_background): Expect \r\n after
8366 "completed." in the fail pattern.
8367
884e37dc
PA
83682014-03-19 Pedro Alves <palves@redhat.com>
8369
8370 * gdb.base/async.exp (test_background): New procedure.
8371 Use it for all background execution command tests.
8372
148e57e2
PA
83732014-03-19 Pedro Alves <palves@redhat.com>
8374
8375 * gdb.base/async.exp: Use prepare_for_testing.
8376
f48088c7
PA
83772014-03-19 Pedro Alves <palves@redhat.com>
8378
8379 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8380 the same line.
8381
e2f6c966
PA
83822014-03-19 Pedro Alves <palves@redhat.com>
8383
8384 * gdb.base/async.c (main): Add "jump here" and "until here" line
8385 marker comments.
8386 * gdb.base/async.exp (jump_here): New global.
8387 (jump& test): Use it.
8388 (until_here): New global.
8389 (until& test): Use it.
8390
c30568d4
PA
83912014-03-19 Pedro Alves <palves@redhat.com>
8392
8393 * gdb.base/async.exp: Don't frob gdb_protocol.
8394
0172b6a7
DE
83952014-03-18 Doug Evans <xdje42@gmail.com>
8396
8397 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8398 Fix spelling of exec-done-display.
8399
06c868a8
JK
84002014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8401
8402 PR gdb/15358
8403 * gdb.base/gdb-sigterm.c: New file.
8404 * gdb.base/gdb-sigterm.exp: New file.
8405
0c7e1a46
PA
84062014-03-18 Pedro Alves <palves@redhat.com>
8407
8408 PR gdb/13860
8409 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8410 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8411 solib-event.
8412
f7c77d93
JB
84132014-03-17 Joel Brobecker <brobecker@adacore.com>
8414
8415 * gdb.ada/pckd_arr_ren: New testcase.
8416
5a1e8c7a
DE
84172014-03-13 Doug Evans <xdje42@gmail.com>
8418
8419 PR guile/16612
8420 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8421 collect after discarding symbols.
8422
350e1a76
DE
84232014-03-13 Ludovic Courtès <ludo@gnu.org>
8424 Doug Evans <xdje42@gmail.com>
8425
8426 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8427 to history survives a gc.
8428
a69900ae
PA
84292014-03-13 Pedro Alves <palves@redhat.com>
8430
8431 * gdb.base/default.exp: Don't test "target procfs".
8432
5db9f0bd
PA
84332014-03-13 Pedro Alves <palves@redhat.com>
8434
8435 * gdb.base/default.exp: Update "target child" and "target procfs"
8436 tests to not expect "Unix".
8437
b3ccfe11
TT
84382014-03-12 Tom Tromey <tromey@redhat.com>
8439
8440 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8441 New procs. Add target-async tests.
8442 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8443 Add target-async tests.
8444
646f4417
AA
84452014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8446
8447 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8448 'func_start' and 'func_end' for the beginning and end of the
8449 function code, respectively.
8450 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8451 'func_end' instead of 'func' and 'main'.
8452
288c211f
AA
84532014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8454
8455 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8456 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8457 generate the debug info assembler source.
8458
e0c0f156
AA
84592014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8460
8461 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8462 * gdb.dwarf2/arr-subrange.exp: Likewise.
8463 * gdb.dwarf2/dwz.exp: Likewise.
8464 * gdb.dwarf2/method-ptr.exp: Likewise.
8465 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8466 * gdb.dwarf2/subrange.exp: Likewise.
8467 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8468 * gdb.dwarf2/implptrpiece.exp: Likewise.
8469 * gdb.dwarf2/nostaticblock.exp: Likewise.
8470
0e5c4555
AA
84712014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8472
8473 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8474 directory to absolute path name arguments.
8475
5ec18f2b
JG
84762014-03-10 Joel Brobecker <brobecker@adacore.com>
8477
8478 * gdb.ada/tagged_access: New testcase.
8479
847fc4f2
MM
84802014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8481
8482 * gdb.btrace/data.exp: Update expected output.
8483
cc3da688
YQ
84842014-03-06 Yao Qi <yao@codesourcery.com>
8485
8486 * gdb.trace/pr16508.exp: New file.
8487
0f26cec1
PA
84882014-03-05 Pedro Alves <palves@redhat.com>
8489
8490 PR gdb/16575
8491 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8492 procedure.
8493 (top level): Adjust to use it. Add tests that exercise breakpoint
8494 interaction with the code-cache.
8495
7a5a839f
LC
84962014-02-26 Ludovic Courtès <ludo@gnu.org>
8497
8498 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8499 test for 'history-append!'.
8500
31aa7e4e
JB
85012014-02-26 Joel Brobecker <brobecker@adacore.com>
8502
8503 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8504 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8505 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8506 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8507 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8508 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8509
1b588015
JB
85102014-02-26 Joel Brobecker <brobecker@adacore.com>
8511
8512 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8513 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8514 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8515
55426c9d
JB
85162014-02-26 Joel Brobecker <brobecker@adacore.com>
8517
8518 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8519
dc53a7ad
JB
85202014-02-26 Joel Brobecker <brobecker@adacore.com>
8521
8522 * gdb.dwarf2/arr-stride.c: New file.
8523 * gdb.dwarf2/arr-stride.exp: New file.
8524
12ab52e9
PA
85252014-02-26 Pedro Alves <palves@redhat.com>
8526
8527 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8528 that won't ever trigger. Make sure that GDB reports the correct
8529 breakpoint that caused the stop.
8530
849c862e
JK
85312014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8532
8533 PR gdb/16626
8534 * gdb.base/auto-load-script: New file.
8535 * gdb.base/auto-load.c: New file.
8536 * gdb.base/auto-load.exp: New file.
8537
71b7d793
JK
8538 PR gdb/16626
8539 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8540
e2f0d509
JK
85412014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8542
8543 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8544 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8545
50cc37c8
DE
85462014-02-24 Doug Evans <dje@google.com>
8547
8548 * lib/gdb.exp (run_on_host): Log error output if program fails.
8549
ea4758f2
PA
85502014-02-21 Pedro Alves <palves@redhat.com>
8551
8552 * gdb.threads/step-after-sr-lock.c: Rename to ...
8553 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8554 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8555 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8556 ... this.
8557
d7b30f67
SDJ
85582014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8559
8560 PR tdep/16397
8561 * gdb.arch/amd64-stap-special-operands.exp: New file.
8562 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8563 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8564 * gdb.arch/amd64-stap-triplet.S: Likewise.
8565 * gdb.arch/amd64-stap-triplet.c: Likewise.
8566
83deb43f
JB
85672014-02-20 Joel Brobecker <brobecker@adacore.com>
8568
8569 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8570 in .section pseudo-op.
8571
adde2bff
DE
85722014-02-20 lin zuojian <manjian2006@gmail.com>
8573 Joel Brobecker <brobecker@adacore.com>
8574 Doug Evans <xdje42@gmail.com>
8575
8576 PR symtab/16581
8577 * gdb.dwarf2/dw2-icycle.S: New file.
8578 * gdb.dwarf2/dw2-icycle.c: New file.
8579 * gdb.dwarf2/dw2-icycle.exp: New file.
8580
f7bd0f78
SC
85812014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8582
8583 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8584 operations on gdb.Value objects.
8585 * gdb.python/py-value-cc.exp: Add new test to test operations on
8586 gdb.Value objects.
8587
c17ef0d5
DE
85882014-02-18 Doug Evans <dje@google.com>
8589
8590 * Makefile.in (TESTS): New variable.
8591 (expanded_tests, expanded_tests_or_none): New variables
8592 (check-single): Pass $(expanded_tests_or_none) to runtest.
8593 (check-parallel): Only run tests in $(TESTS) if non-empty.
8594 (check/no-matching-tests-found): New rule.
8595 * README: Document TESTS makefile variable.
8596
5dd3176f
DE
85972014-02-18 Doug Evans <dje@google.com>
8598
8599 * Makefile.in (check-parallel): rm -rf outputs temp.
8600
0b10be4f
JK
86012014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8602
8603 Fix "ERROR: no fileid for" in the testsuite.
8604 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8605
85f224e7
DE
86062014-02-12 Doug Evans <dje@google.com>
8607
8608 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8609 (MISCELLANEOUS): New variable.
8610 (clean): rm -rf $(MISCELLANEOUS).
8611 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8612 dwp live in the same directory as symlinks, with each symlink pointed
8613 to a differently named file in a different directory.
8614
149b30ff
DE
86152014-02-11 Doug Evans <dje@google.com>
8616
8617 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8618 of Tcl file commands.
8619
1dfdac32
MK
86202014-02-10 Mark Kettenis <kettenis@gnu.org>
8621
8622 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8623 "kill -SIGUSR1 -1".
8624
aa4fb036
JB
86252014-02-10 Joel Brobecker <brobecker@adacore.com>
8626
8627 * gdb.ada/tick_length_array_enum_idx: New testcase.
8628
ed3ef339
DE
86292014-02-10 Doug Evans <xdje42@gmail.com>
8630
8631 * configure.ac (AC_OUTPUT): Add gdb.guile.
8632 * configure: Regenerate.
8633 * lib/gdb-guile.exp: New file.
8634 * lib/gdb.exp (get_target_charset): New function.
8635 * gdb.base/help.exp: Update expected output from "apropos apropos".
8636 * gdb.guile/Makefile.in: New file.
8637 * gdb.guile/guile.exp: New file.
8638 * gdb.guile/scm-arch.c: New file.
8639 * gdb.guile/scm-arch.exp: New file.
8640 * gdb.guile/scm-block.c: New file.
8641 * gdb.guile/scm-block.exp: New file.
8642 * gdb.guile/scm-breakpoint.c: New file.
8643 * gdb.guile/scm-breakpoint.exp: New file.
8644 * gdb.guile/scm-disasm.c: New file.
8645 * gdb.guile/scm-disasm.exp: New file.
8646 * gdb.guile/scm-equal.c: New file.
8647 * gdb.guile/scm-equal.exp: New file.
8648 * gdb.guile/scm-error.exp: New file.
8649 * gdb.guile/scm-error.scm: New file.
8650 * gdb.guile/scm-frame-args.c: New file.
8651 * gdb.guile/scm-frame-args.exp: New file.
8652 * gdb.guile/scm-frame-args.scm: New file.
8653 * gdb.guile/scm-frame-inline.c: New file.
8654 * gdb.guile/scm-frame-inline.exp: New file.
8655 * gdb.guile/scm-frame.c: New file.
8656 * gdb.guile/scm-frame.exp: New file.
8657 * gdb.guile/scm-generics.exp: New file.
8658 * gdb.guile/scm-gsmob.exp: New file.
8659 * gdb.guile/scm-iterator.c: New file.
8660 * gdb.guile/scm-iterator.exp: New file.
8661 * gdb.guile/scm-math.c: New file.
8662 * gdb.guile/scm-math.exp: New file.
8663 * gdb.guile/scm-objfile-script-gdb.in: New file.
8664 * gdb.guile/scm-objfile-script.c: New file.
8665 * gdb.guile/scm-objfile-script.exp: New file.
8666 * gdb.guile/scm-objfile.c: New file.
8667 * gdb.guile/scm-objfile.exp: New file.
8668 * gdb.guile/scm-ports.exp: New file.
8669 * gdb.guile/scm-pretty-print.c: New file.
8670 * gdb.guile/scm-pretty-print.exp: New file.
8671 * gdb.guile/scm-pretty-print.scm: New file.
8672 * gdb.guile/scm-section-script.c: New file.
8673 * gdb.guile/scm-section-script.exp: New file.
8674 * gdb.guile/scm-section-script.scm: New file.
8675 * gdb.guile/scm-symbol.c: New file.
8676 * gdb.guile/scm-symbol.exp: New file.
8677 * gdb.guile/scm-symtab-2.c: New file.
8678 * gdb.guile/scm-symtab.c: New file.
8679 * gdb.guile/scm-symtab.exp: New file.
8680 * gdb.guile/scm-type.c: New file.
8681 * gdb.guile/scm-type.exp: New file.
8682 * gdb.guile/scm-value-cc.cc: New file.
8683 * gdb.guile/scm-value-cc.exp: New file.
8684 * gdb.guile/scm-value.c: New file.
8685 * gdb.guile/scm-value.exp: New file.
8686 * gdb.guile/source2.scm: New file.
8687 * gdb.guile/types-module.cc: New file.
8688 * gdb.guile/types-module.exp: New file.
8689
7026a7c1
YQ
86902014-02-10 Yao Qi <yao@codesourcery.com>
8691
8692 PR testsuite/16543
8693 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8694 * configure: Regenerated.
8695 * Makefile.in: New file.
8696
6c466447
AS
86972014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8698
8699 * gdb.python/py-framefilter.exp: Fix typo.
8700
6e854735
YQ
87012014-02-08 Yao Qi <yao@codesourcery.com>
8702
8703 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8704 that no =breakpoint-modified is emitted when breakpoints are
8705 modified through MI commands.
8706
d137e6dc
PA
87072014-02-07 Pedro Alves <pedro@codesourcery.com>
8708 Pedro Alves <palves@redhat.com>
8709
8710 * gdb.threads/step-after-sr-lock.c: New file.
8711 * gdb.threads/step-after-sr-lock.exp: New file.
8712
b5ee5a50
PA
87132014-02-07 Pedro Alves <palves@redhat.com>
8714
8715 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8716
3c77faf3
JK
87172014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8718
8719 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8720 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8721
6dddc817
DE
87222014-02-06 Doug Evans <xdje42@gmail.com>
8723
8724 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8725 output.
8726
8727 * gdb.gdb/python-interrupts.exp: New file.
8728
de7b2893
YQ
87292014-02-05 Yao Qi <yao@codesourcery.com>
8730
8731 * gdb.trace/report.exp (use_collected_data): Test the output
8732 of "info threads" and "info inferiors".
8733
66d032ac
YQ
87342014-02-05 Yao Qi <yao@codesourcery.com>
8735
8736 Revert this patch:
8737
8738 2013-05-24 Yao Qi <yao@codesourcery.com>
8739
8740 * gdb.trace/tfile.exp: Test inferior and thread.
8741
591a12a1
UW
87422014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8743
8744 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8745 on a function.
8746 * gdb.base/step-bt.c: Call hello via function pointer to make
8747 sure its first instruction is executed on powerpc64le-linux.
8748
0ff3e01f
UW
87492014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8750
8751 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8752
084ee545
UW
87532014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8754
8755 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8756 of the test patterns for use on little-endian systems.
8757
6ed14ff3
UW
87582014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8759
8760 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8761 (decimal_vector): Fix for little-endian.
8762
401e27fd
JM
87632014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8764
8765 * gdb.arch/sparc-sysstep.exp: New file.
8766 * gdb.arch/sparc-sysstep.c: Likewise.
8767
8768 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8769
8b924729
EBM
87702014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8771
8772 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8773
fb151210
JB
87742014-01-23 Tom Tromey <tromey@redhat.com>
8775
8776 * gdb.ada/array_char_idx: New testcase.
8777
0740f8d8
TT
87782014-01-23 Tom Tromey <tromey@redhat.com>
8779
8780 PR python/16487:
8781 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8782 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8783 classes.
8784
21909fa1
TT
87852014-01-23 Tom Tromey <tromey@redhat.com>
8786
8787 PR python/16491:
8788 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8789 string from an inferior frame.
8790 * gdb.python/py-framefilter-mi.exp: Update.
8791
87ce2a04
DE
87922014-01-22 Doug Evans <dje@google.com>
8793
8794 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8795
237b092b
AA
87962014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8797
8798 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8799
d674a709
AA
88002014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8801
8802 * gdb.trace/entry-values.exp: Remove excess space character from
8803 regex patterns. Handle s390 call instruction.
8804
20fa3390
AA
88052014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8806
8807 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8808 define "*_start" label. Make "name" static.
8809 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8810 ${name} by references to ${name}_start.
8811
78466714
AA
88122014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8813
8814 * gdb.base/info-macros.exp: Remove "debug" from the compile
8815 options.
8816
ec9f644a
IB
88172014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8818
8819 * gdb.dlang/demangle.exp: New file.
8820
94b1b47e
IB
88212014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8822
8823 * gdb.dlang/primitive-types.exp: New file.
8824
7f420862
IB
88252014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8826
8827 * configure.ac: Create gdb.dlang/Makefile.
8828 * configure: Regenerate.
8829 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8830 * gdb.dlang/Makefile.in: New file.
8831 * lib/d-support.exp: New file.
8832 * lib/gdb.exp (skip_d_tests): New proc.
8833
52834460
MM
88342014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8835
8836 * gdb.btrace/delta.exp: Check reverse stepi.
8837 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8838 * gdb.btrace/finish.exp: New.
8839 * gdb.btrace/next.exp: New.
8840 * gdb.btrace/nexti.exp: New.
8841 * gdb.btrace/record_goto.c: Add comments.
8842 * gdb.btrace/step.exp: New.
8843 * gdb.btrace/stepi.exp: New.
8844 * gdb.btrace/multi-thread-step.c: New.
8845 * gdb.btrace/multi-thread-step.exp: New.
8846 * gdb.btrace/rn-dl-bind.c: New.
8847 * gdb.btrace/rn-dl-bind.exp: New.
8848 * gdb.btrace/data.c: New.
8849 * gdb.btrace/data.exp: New.
8850 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8851
6e07b1d2
MM
88522014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8853
8854 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8855 * gdb.btrace/exception.exp: Update.
8856 * gdb.btrace/instruction_history.exp: Update.
8857 * gdb.btrace/record_goto.exp: Update.
8858 * gdb.btrace/tailcall.exp: Update.
8859 * gdb.btrace/unknown_functions.exp: Update.
8860 * gdb.btrace/delta.exp: New.
8861
0b722aec
MM
88622014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8863
8864 * gdb.btrace/record_goto.exp: Add backtrace test.
8865 * gdb.btrace/tailcall.exp: Add backtrace test.
8866
066ce621
MM
88672014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8868
8869 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8870 * gdb.btrace/record_goto.c: New.
8871 * gdb.btrace/record_goto.exp: New.
8872 * gdb.btrace/x86-record_goto.S: New.
8873
0688d04e
MM
88742014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8875
8876 * gdb.btrace/function_call_history.exp: Update tests.
8877 * gdb.btrace/instruction_history.exp: Update tests.
8878
8710b709
MM
88792014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8880
8881 * gdb.btrace/function_call_history.exp: Fix expected field
8882 order for "record function-call-history".
8883 Add new tests for "record function-call-history /c".
8884 * gdb.btrace/exception.cc: New.
8885 * gdb.btrace/exception.exp: New.
8886 * gdb.btrace/tailcall.exp: New.
8887 * gdb.btrace/x86-tailcall.S: New.
8888 * gdb.btrace/x86-tailcall.c: New.
8889 * gdb.btrace/unknown_functions.c: New.
8890 * gdb.btrace/unknown_functions.exp: New.
8891 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8892
5de9129b
MM
88932014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8894
8895 * gdb.btrace/instruction_history.exp: Update.
8896 * gdb.btrace/function_call_history.exp: Update.
8897
23a7fe75
MM
88982014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8899
8900 * gdb.btrace/function_call_history.exp: Fix expected function
8901 trace.
8902 * gdb.btrace/instruction_history.exp: Initialize traced.
8903 Remove traced_functions.
8904
724c7dd8
MM
89052014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8906
8907 * gdb.btrace/function_call_history.exp: Update
8908 * gdb.btrace/instruction_history.exp: Update.
8909
6d78d93b
MM
89102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8911
8912 * gdb.btrace/enable.exp: Update expected text.
8913
93a360cc
OJ
89142014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8915
8916 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8917 bytes.
8918
3772b53f
MR
89192014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8920
8921 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8922
596662fa
OJ
89232014-01-15 Omair Javaid <omair.javaid@linaro.org>
8924
8925 * lib/gdb.exp (supports_process_record): Return true for
8926 arm*-linux*. (supports_reverse): Likewise.
8927
b5b08fb4
SC
89282014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8929
8930 PR python/15464
8931 PR python/16113
8932 * gdb.python/py-type.c: Enhance test case.
8933 * gdb.python/py-value-cc.cc: Likewise
8934 * gdb.python/py-type.exp: Add new tests.
8935 * gdb.python/py-value-cc.exp: Likewise
8936
52d7fb13
AA
89372014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8938 Pedro Alves <palves@redhat.com>
8939
8940 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8941 Make "name" extern.
8942 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8943 references to ${name}_start by references to ${name}.
8944
a2cd8cfe
JB
89452014-01-10 Joel Brobecker <brobecker@adacore.com>
8946
8947 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8948
4e23fced
JB
89492014-01-10 Joel Brobecker <brobecker@adacore.com>
8950
8951 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8952
c6a9e42c
PA
89532014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8954 Pedro Alves <palves@redhat.com>
8955
8956 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 8957 mi_gdb_target_load.
c6a9e42c 8958
b7ea362b
PA
89592014-01-08 Pedro Alves <palves@redhat.com>
8960
8961 * gdb.threads/reconnect-signal.c: New file.
8962 * gdb.threads/reconnect-signal.exp: New file.
8963
5e3f4fab
EBM
89642014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8965
8966 * gdb.base/source-dir.exp: New file.
8967
79301218
JB
89682014-01-07 Joel Brobecker <brobecker@adacore.com>
8969
8970 * gdb.ada/mi_interface: New testcase.
8971
8e355c5d
JB
89722014-01-07 Joel Brobecker <brobecker@adacore.com>
8973
8974 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8975 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8976 gdb.ada/pp-rec-component/pck.ads: New files.
8977
c0d48811
JB
89782014-01-07 Joel Brobecker <brobecker@adacore.com>
8979
8980 * gdb.python/py-pp-integral.c: New file.
8981 * gdb.python/py-pp-integral.py: New file.
8982 * gdb.python/py-pp-integral.exp: New file.
8983
17b609c3 8984For older changes see ChangeLog-1993-2013.
c906108c 8985\f
8d8cb839
EZ
8986;; Local Variables:
8987;; mode: change-log
8988;; left-margin: 8
8989;; fill-column: 74
8990;; version-control: never
8991;; End:
902f2ccb 8992
618f726f 8993 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
8994 Copying and distribution of this file, with or without modification,
8995 are permitted provided the copyright notice and this notice are preserved.
This page took 3.033312 seconds and 4 git commands to generate.