Better fix for PR 20499, including preventing strlen from being called on an uninitia...
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
e9d9abd7
YQ
12016-08-23 Yao Qi <yao.qi@linaro.org>
2
3 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
4 gdbserver_spawn.
5 * gdb.server/connect-without-multi-process.exp (do_test):
6 Likewise.
7
3589529e
YQ
82016-08-23 Yao Qi <yao.qi@linaro.org>
9
10 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
11 standalone_txt. Delete gdb_txt and standalone_txt on host
12 and target. Spawn the binary on target. Copy files from
13 target to host.
14
6bb90213
PA
152016-08-22 Pedro Alves <palves@redhat.com>
16
17 PR gdb/20505
18 * gdb.base/vdso-warning.exp: Test core dumps too. Use
19 with_test_prefix. Factor out bits to ...
20 (test_no_vdso): ... this new procedure.
21
20c2c024
CL
222016-08-19 Carl Love <cel@us.ibm.com>
23
24 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
25 maintaining separate logic for constructing the output path.
26 * gdb.arch/powerpc-d128-regs.exp: Likewise.
27 * gdb.arch/ppc-dfp.exp: Likewise.
28 * gdb.arch/ppc-fp.exp: Likewise.
29 * gdb.arch/vsx-regs.exp: Likewise.
30 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
31 binprefix for generating the additional binary files.
32
0646e07d
PA
332016-08-19 Pedro Alves <palves@redhat.com>
34
35 * gdb.trace/mi-trace-frame-collected.exp
36 (test_trace_frame_collected): On x32, expect two registers.
37
46da9242
CL
382016-08-18 Carl Love <cel@us.ibm.com>
39
40 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
41 and sync up the test with tests in gas/testsuite/gas/ppc.
42 * gdb.arch/powerpc-power.exp: Likewise.
43
eb2332d7
SM
442016-08-17 Simon Marchi <simon.marchi@ericsson.com>
45
46 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
47 expected error message.
48
63c61e04
SM
492016-08-17 Simon Marchi <simon.marchi@ericsson.com>
50
51 * gdb.multi/remove-inferiors.exp: New file.
52 * gdb.multi/remove-inferiors.c: New file.
53
7b17065f
YQ
542016-08-12 Yao Qi <yao.qi@linaro.org>
55
56 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
57 argument list.
58
01d3dedf
PA
592016-08-10 Pedro Alves <palves@redhat.com>
60
61 PR gdb/19187
62 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
63 setup_kfails.
64
3eb7562a
PA
652016-08-09 Pedro Alves <palves@redhat.com>
66 Simon Marchi <simon.marchi@ericsson.com>
67
68 PR gdb/20418
69 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
70 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
71
80614914
PA
722016-08-09 Pedro Alves <palves@redhat.com>
73
74 PR mi/20431
75 * gdb.mi/mi-cmd-error.exp: New file.
76
f348d89a
PA
772016-08-09 Pedro Alves <palves@redhat.com>
78
79 PR gdb/18653
80 * gdb.base/signals-state-child.c: New file.
81 * gdb.base/signals-state-child.exp: New file.
82 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
83
e5ca03b4
PA
842016-08-09 Pedro Alves <palves@redhat.com>
85
86 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
87
282a0691
TT
882016-08-03 Tom Tromey <tom@tromey.com>
89
90 PR python/18565:
91 * gdb.python/py-frame-inline.exp: Add Frame.function test.
92
41bfcd63
YQ
932016-08-01 Yao Qi <yao.qi@linaro.org>
94
95 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
96 variable mode to "multi-process" if $multi_process is 1, otherwise
97 set it to "single-process".
98
e3465b24
YQ
992016-08-01 Yao Qi <yao.qi@linaro.org>
100
101 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
102 * gdb.cp/cpexprs.exp: Likewise.
103 * gdb.cp/m-static.exp: Likewise.
104
0b31a4bc
TT
1052016-07-26 Tom Tromey <tom@tromey.com>
106
107 PR python/20190:
108 * gdb.threads/tls.exp (check_thread_local): Add python symbol
109 test.
110
e0461dbb
MM
1112016-07-26 Markus Metzger <markus.t.metzger@intel.com>
112
113 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
114 selecting assembly source files.
115 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
116 assembly source files.
117 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
118 assembly source files.
119 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
120 selecting assembly source files.
121
8194e927
SM
1222016-07-25 Simon Marchi <simon.marchi@ericsson.com>
123
124 * gdb.base/new-ui.exp (do_test_invalid_args): New
125 procedure.
126
c0272db5
TW
1272016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
128
129 * gdb.btrace/reconnect.c: New file.
130 * gdb.btrace/reconnect.exp: New file.
131
e3487908
GKB
1322016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
133
134 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
135 to test_catch_syscall_group.
136 (test_catch_syscall_group): New.
137
12df5c00
TT
1382016-07-21 Tom Tromey <tom@tromey.com>
139
140 * gdb.rust/simple.rs (main): Use empty struct expression.
141 * gdb.rust/simple.exp: Add tests for empty struct expression.
142
bae62ee2
YQ
1432016-07-21 Yao Qi <yao.qi@linaro.org>
144
145 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
146 if gdb_skip_xml_test is true on some targets.
147
b1b53fb3
YQ
1482016-07-21 Yao Qi <yao.qi@linaro.org>
149
150 * gdb.server/solib-list.exp: Unset last_loaded_file.
151
027d97f8
JK
1522016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
153
154 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
155 "step into captured_main (args)".
156
7674d381
JK
1572016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
158
159 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
160
72b5d099
JK
1612016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
162
163 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
164
1f960ced
PA
1652016-07-19 Pedro Alves <palves@redhat.com>
166
167 * gdb.opt/inline-break.exp: Remove optimize=-O2.
168 * gdb.opt/inline-bt.exp: Likewise.
169 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
170 additional_flags=-Winline.
171 * gdb.opt/inline-locals.exp: Likewise.
172 * gdb.opt/inline-markers.c (ATTR): Define.
173 (inlined_fn): Use it.
174
f25827c1
YQ
1752016-07-19 Yao Qi <yao.qi@linaro.org>
176
177 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
178 (test_with_self): Remove some code. Remove argument executable.
179 (top-level): Use do_self_tests.
180
37539ebe
DB
1812016-07-15 Zachary Welch <zwelch@codesourcery.com>
182 Don Breazeal <donb@codesourcery.com>
183
184 * gdb.base/maint.exp: Escape paths used in regular expressions.
185 * gdb.stabs/weird.exp: Likewise.
186
dac790e1
TT
1872016-07-13 Tom Tromey <tom@tromey.com>
188
189 PR python/15620, PR python/18620:
190 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
191 (test_bkpt_events): New procs.
192
93daf339
TT
1932016-07-13 Tom Tromey <tom@tromey.com>
194
195 PR python/17698:
196 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
197 test.
198 (test_watchpoints): Likewise.
199 (test_bkpt_pending): New proc.
200
6571a381
TT
2012016-07-13 Tom Tromey <tom@tromey.com>
202
203 PR cli/18053:
204 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
205 completion test.
206
e8732474
JK
2072016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
208
209 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
210 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
211 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
212 f_label.
213 (g): Rename g_end_lbl to g_label.
214 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
215 low_pc and high_pc.
216 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
217
e0f3fd7c
TT
2182016-07-12 Tom Tromey <tom@tromey.com>
219
220 PR python/19293:
221 * gdb.python/py-unwind-maint.exp: Update tests.
222
3cfe46b6
YQ
2232016-07-12 Yao Qi <yao.qi@linaro.org>
224
225 * lib/selftest-support.exp (selftest_setup): Match the output
226 when captured_main is inlined.
227
4f19a0e6
WT
2282016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
229
230 * gdb.fortran/derived-types.exp (result_line, result_line_2):
231 New variables.
232 (print this%a, print this%b, print this): New tests.
233 * gdb.fortran/derived-types.f90 (this): New object and
234 initialization.
235
986cf455
SM
2362016-07-06 Simon Marchi <simon.marchi@ericsson.com>
237
238 * gdb.ada/arraydim.exp: Remove extra directory level in build
239 directory.
240
f0464b23
SM
2412016-07-06 Simon Marchi <simon.marchi@ericsson.com>
242
243 * lib/ada.exp: Remove extra directory level in build directory.
244 * gdb.ada/cond_lang.exp: Likewise.
245 * gdb.ada/exec_changed.exp: Likewise.
246 * gdb.ada/lang_switch.exp: Likewise.
247
42d94011
MG
2482016-07-06 Manish Goregaokar <manish@mozilla.com>
249
250 * simple.rs: Add test for raw pointer subscripting
251 * simple.exp: Add test expectations
252
647c264c
YQ
2532016-07-05 Yao Qi <yao.qi@linaro.org>
254
255 * gdb.mi/mi-reverse.exp: Match =record-started output.
256
20aa2c60
PA
2572016-07-01 Pedro Alves <palves@redhat.com>
258
259 * gdb.base/jit-reader.exp (info_registers_current_frame): New
260 procedure.
261 (jit_reader_test): Test the jit reader's unwinder.
262 * gdb.base/jithost.c (jit_function_00_code): New global.
263 (main): Use memcpy to fill in the mmapped code, instead of poking
264 bytes manually here.
265 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
266 value.
267 (read_debug_info): Save the function's range.
268 (read_sp): New function.
269 (unwind_frame): Use it. Also unwind RBP.
270 (get_frame_id): Use read_sp.
271 (gdb_init_reader): Use calloc instead of malloc.
272 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
273 parameter. Use gdb_test_multiple.
274
ced2dffb
PA
2752016-07-01 Pedro Alves <palves@redhat.com>
276 Antoine Tremblay <antoine.tremblay@ericsson.com>
277
278 * gdb.threads/process-dies-while-detaching.c: New file.
279 * gdb.threads/process-dies-while-detaching.exp: New file.
280
63000888
PA
2812016-07-01 Pedro Alves <palves@redhat.com>
282
283 * gdb.multi/watchpoint-multi-exit.c: New file.
284 * gdb.multi/watchpoint-multi-exit.exp: New file.
285
038d4868
PA
2862016-06-30 Pedro Alves <palves@redhat.com>
287
288 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
289 unset inferior_spawn_id.
290
994e9c83
PA
2912016-06-30 Pedro Alves <palves@redhat.com>
292
293 * lib/mi-support.exp (default_mi_gdb_start): Declare global
294 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
295
e5653468
YQ
2962016-06-29 Yao Qi <yao.qi@linaro.org>
297
298 * gdb.base/return.c: Add copyright header.
299
803b47e5
TT
3002016-06-29 Tom Tromey <tom@tromey.com>
301
302 PR python/20129:
303 * gdb.python/py-framefilter.exp: Add tests for setting priority
304 and disabling of non-existent frame filter.
305
28244707
YQ
3062016-06-29 Yao Qi <yao.qi@linaro.org>
307
308 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
309 0x0f07ff.
310
a31d2f06
YQ
3112016-06-28 Yao Qi <yao.qi@linaro.org>
312
313 * gdb.base/catch-syscall.exp: Remove check on isnative and target
314 triplets. Start gdb, execute catch syscall, and continue. Check
315 gdb's output to determine catch syscall is supported.
316
921d8f54
MG
3172016-06-27 Manish Goregaokar <manish@mozilla.com>
318
25d49b86
PA
319 * gdb.rust/simple.rs: Add test for returning unit in a function.
320 * gdb.rust/simple.exp: Add expectation for functions returning
321 unit.
921d8f54 322
f4952523
PMR
3232016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
324
325 * gdb.python/py-breakpoint-create-fail.c,
326 gdb.python/py-breakpoint-create-fail.exp,
327 gdb.python/py-breakpoint-create-fail.py: New testcase.
328
fccb08f8
MG
3292016-06-25 Manish Goregaokar <manish@mozilla.com>
330
331 PR gdb/20239
332 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
333 * gdb.rust/simple.exp: Add test expectations for new NonZero
334 tests.
fccb08f8 335
6b850546
DT
3362016-06-24 David Taylor <dtaylor@emc.com>
337
338 * gdb.base/offsets.exp: New file.
339 * gdb.base/offsets.c: New file.
340
17621150
TT
3412016-06-23 Tom Tromey <tom@tromey.com>
342
343 PR gdb/16483:
344 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
345 before any filters are loaded.
346
04d59df6
WT
3472016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
348
349 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
350 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
351 structs.
352 * gdb.fortran/derived-type-function.exp: New file.
353 * gdb.fortran/derived-type-function.f90: New file.
354
355
ac69f786
PA
3562016-06-21 Pedro Alves <palves@redhat.com>
357
358 * gdb.base/new-ui.exp: New file.
359 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
360 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
361 (with_spawn_id): New procedure.
362
49940788
PA
3632016-06-21 Pedro Alves <palves@redhat.com>
364
365 * gdb.mi/mi-exec-run.exp: New file.
366
ef274d26
PA
3672016-06-21 Pedro Alves <palves@redhat.com>
368
369 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
370 breakpoint command's output on the main UI.
371 (test_break): New procedure, factored out from calls in the top
372 level.
373 (top level): Use foreach_with_prefix to test MI as main UI and as
374 separate UI.
375
468afe6c
PA
3762016-06-21 Pedro Alves <palves@redhat.com>
377
378 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
379 (test_awatch_creation_and_listing)
380 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
381 Remove 'type' parameter.
382 (test_watchpoint_all): New parameter mi_mode. Remove
383 with_test_prefix.
384 (top level): Use foreach_with_prefix, and add main/separate UI MI
385 testing axis.
386
51f77c37
PA
3872016-06-21 Pedro Alves <palves@redhat.com>
388
389 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
390 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
391 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
392 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
393 (gdb_main_spawn_id, mi_spawn_id): Declare and
394 comment.
395 (mi_create_inferior_pty): New procedure,
396 factored out from default_mi_gdb_start.
397 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
398 procedures.
399 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
400 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
401 Use mi_create_inferior_pty.
402 (mi_gdb_start): Use eval to pass down args list.
403
8980e177
PA
4042016-06-21 Pedro Alves <palves@redhat.com>
405
406 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
407 * gdb.opt/inline-cmds.exp: Add MI tests.
408
f38d3ad1
PA
4092016-06-21 Pedro Alves <palves@redhat.com>
410
411 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
412
45db7c09
PA
4132016-06-21 Pedro Alves <palves@redhat.com>
414
415 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
416 (top level): Use it instead of mi_execute_to.
417
5a069ab3
PA
4182016-06-21 Pedro Alves <palves@redhat.com>
419
420 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
421 (cont_handler_str): New.
422 (signal_stop_handler): Set stop_handler_str instead of printing to
423 stdout.
424 (continue_handler): Set cont_handler_str instead of printing to
425 stdout.
426 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
427 mi_send_resuming_command. Print stop_handler_str and
428 cont_handler_str instead of expecting the python events print
429 directly.
430
2838cc1d
SD
4312016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
432
433 * gdb.base/jit-reader.exp: New file.
434 * gdb.base/jithost.c: New file.
435 * gdb.base/jithost.h: New file.
436 * gdb.base/jitreader.c : New file.
437 * gdb.base/jit-protocol.h: New file.
438
21a77091
YQ
4392016-06-17 Yao Qi <yao.qi@linaro.org>
440
441 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
442 parameters follow_fork and detach_on_fork. Set follow-fork-mode
443 and detach-on-fork. Adjust tests.
444 (top level): Invoke break_cond_on_syscall with combinations of
445 syscall, follow-fork-mode and detach-on-fork.
446
f50bf8e5
YQ
4472016-06-17 Yao Qi <yao.qi@linaro.org>
448
449 * gdb.base/step-over-exit.c: New.
450 * gdb.base/step-over-exit.exp: New.
451
a28d8e50
YTL
4522016-06-17 Yan-Ting Lin <currygt52@gmail.com>
453
454 * gdb.base/float.exp: Add target check for nds32*-*-*.
455 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
456
cad8e26d
AB
4572016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
458
459 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
460 for unsupported target features.
461 * gdb.base/call-rt-st.exp: Likewise.
462 * gdb.base/call-sc.exp: Likewise.
463 * gdb.base/call-signal-resume.exp: Likewise.
464 * gdb.base/call-strs.exp: Likewise.
465 * gdb.base/callexit.exp: Likewise.
466 * gdb.base/callfuncs.exp: Likewise.
467 * gdb.base/nodebug.exp: Likewise.
468 * gdb.base/printcmds.exp: Likewise.
469 * gdb.base/ptype.exp: Likewise.
470 * gdb.base/structs.exp: Likewise.
471 * gdb.base/unwindonsignal.exp: Likewise.
472 * gdb.cp/gdb2495.exp: Likewise.
473 * gdb.cp/templates.exp: Likewise.
474 * gdb.cp/virtfunc.exp: Likewise.
475 * gdb.threads/hand-call-in-threads.exp: Likewise.
476 * gdb.threads/interrupted-hand-call.exp: Likewise.
477 * gdb.threads/thread-unwindonsignal.exp: Likewise.
478
347dc102
TT
4792016-06-10 Tom Tromey <tom@tromey.com>
480
481 PR rust/20110:
482 * gdb.rust/expr.exp: Add test for integer constant larger than
483 i32.
484
5e13cf25
BH
4852016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
486
487 * gdb.fortran/nested-funcs.exp: New.
488 * gdb.fortran/nested-funcs.f90: New.
489
bb556f1f
TK
4902016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
491
492 * gdb.base/examine-backward.c: New file.
493 * gdb.base/examine-backward.exp: New file.
494
38b022b4
SM
4952016-06-06 Simon Marchi <simon.marchi@ericsson.com>
496
497 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
498 matching.
499
1b40ec05
TT
5002016-06-02 Tom Tromey <tom@tromey.com>
501
502 PR python/18984:
503 * gdb.python/py-shared.exp: Add solib_name test.
504
193bd378
SM
5052016-06-02 Simon Marchi <simon.marchi@ericsson.com>
506
507 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
508
3326303b
MG
5092016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
510
511 PR c++/19893
512 * gdb.dwarf2/implref.exp: Rename to...
513 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
514 * gdb.dwarf2/implref-array.c: New file.
515 * gdb.dwarf2/implref-array.exp: Likewise.
516 * gdb.dwarf2/implref-global.c: Likewise.
517 * gdb.dwarf2/implref-global.exp: Likewise.
518 * gdb.dwarf2/implref-struct.c: Likewise.
519 * gdb.dwarf2/implref-struct.exp: Likewise.
520
825c8ef2
AT
5212016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
522
523 * gdb.trace/trace-condition.exp: Add 64bit tests.
524
2320162a
AT
5252016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
526
527 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
528 bits types.
529 (main): Adapt to 8 to 64 bits types.
530 * gdb.trace/trace-condition.exp: Add new tests.
531
a7818233
AT
5322016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
533
534 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
535
0d336466
AT
5362016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
537
538 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
539 Move condition tests...
540 * gdb.trace/trace-condition.exp: Here.
541
7faeb45a
AT
5422016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
543
544 * gdb.trace/trace-condition.exp: Add counter-case tests.
545
e385593e
JK
5462016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
547
548 PR c++/15231
549 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
550 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
551
744608cc
PA
5522016-05-27 Pedro Alves <palves@redhat.com>
553
554 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
555 New procedure.
556 (top level): Call it, and bail out of DejaGnu is known to be bad.
557
ac775bf4
AB
5582016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
559
560 * gdb.base/whatis.c: Extend the test case.
561 * gdb.base/whatis.exp: Add additional tests.
562
2bbad2ea
BH
5632016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
564
565* gdb.fortran/type.f90: Add pointer variable.
566* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
567
8b70175d
BH
5682016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
569
570 * gdb.fortran/vla-type.exp: Fix testcase name.
571
86d8a848
BH
5722016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
573
574 * gdb.fortran/vla-type.exp: Access elements in nested structs.
575
e188eb36
BH
5762016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
577
578 * gdb.fortran/type.f90: Add nested structures.
579 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
580 * gdb.fortran/derived-type.exp: Adapt expected output.
581 * gdb.fortran/vla-type.exp: Adapt expected output.
582
9b2db1fd
BH
5832016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
584
585 * gdb.fortran/whatis_type.exp: Adapt expected output.
586
72b17055
BH
5872016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
588
589 * gdb.fortran/print_type.exp: Fix expected output.
590 * gdb.fortran/whatis_type.exp: Fix expected output.
591
3cd81d8d
BH
5922016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
593
594 * gdb.fortran/whatis_type.exp: Use multi_line.
595
ddae9462
TT
5962016-05-24 Tom Tromey <tom@tromey.com>
597
598 PR python/17386:
599 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
600 use value as an index.
601
1957f6b8
TT
6022016-05-23 Tom Tromey <tom@tromey.com>
603
604 PR python/17981:
605 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
606 no-breakpoint case.
607
026a9174
PA
6082016-05-24 Pedro Alves <palves@redhat.com>
609
610 PR gdb/19828
611 * gdb.threads/clone-attach-detach.c: New file.
612 * gdb.threads/clone-attach-detach.exp: New file.
613
e70a7231
FR
6142016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
615
616 * gdb.base/annota-input-while-running.exp: Fix syntax error.
617
0f6ed0e0
TT
6182016-05-23 Tom Tromey <tom@tromey.com>
619
620 PR python/19438, PR python/18393:
621 * gdb.python/py-progspace.exp: Add "dir" test.
622 * gdb.python/py-objfile.exp: Add "dir" test.
623
ffd19d61
YQ
6242016-05-23 Yao Qi <yao.qi@linaro.org>
625
626 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
627 * gdb.arch/thumb2-it.exp: Likewise.
628
9e8f9b05
SM
6292016-05-18 Simon Marchi <simon.marchi@ericsson.com>
630
631 * gdb.mi/mi-threads-interrupt.c: New file.
632 * gdb.mi/mi-threads-interrupt.exp: New file.
633
61c6156d
SM
6342016-05-17 Simon Marchi <simon.marchi@ericsson.com>
635
636 PR gdb/18077
637 * gdb.mi/mi-async-run.exp: New file.
638 * gdb.mi/mi-async-run.c: New file.
639
67218854
TT
6402016-05-17 Tom Tromey <tom@tromey.com>
641 Manish Goregaokar <manishsmail@gmail.com>
642
643 * lib/rust-support.exp: New file.
644 * lib/gdb.exp (skip_rust_tests): New proc.
645 (build_executable_from_specs): Handle rust.
646 * lib/future.exp (gdb_find_rustc): New proc.
647 (gdb_default_target_compile): Handle rust.
648 * gdb.rust/expr.exp: New file.
649 * gdb.rust/generics.exp: New file.
650 * gdb.rust/generics.rs: New file.
651 * gdb.rust/methods.exp: New file.
652 * gdb.rust/methods.rs: New file.
653 * gdb.rust/modules.exp: New file.
654 * gdb.rust/modules.rs: New file.
655 * gdb.rust/simple.exp: New file.
656 * gdb.rust/simple.rs: New file.
657
c44af4eb
TT
6582016-05-17 Tom Tromey <tom@tromey.com>
659
660 * gdb.base/default.exp (set language): Add rust.
661
dcd1f979
TT
6622016-05-17 Tom Tromey <tom@tromey.com>
663
664 * gdb.gdb/unittest.exp: New file.
665
155b7f57
YQ
6662016-05-16 Yao Qi <yao.qi@linaro.org>
667
668 * gdb.base/batch-preserve-term-settings.exp: Remove variable
669 shell_prompt. Update shell_prompt_re.
670
8ddd5a6c
DE
6712016-05-12 Doug Evans <dje@google.com>
672
673 PR symtab/19999
674 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
675 $options when building executable.
676 * gdb.dwarf2/fission-loclists-pie.S: New file.
677 * gdb.dwarf2/fission-loclists-pie.exp: New file.
678
02e370d9
SM
6792016-05-04 Simon Marchi <simon.marchi@ericsson.com>
680
681 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
682 of [is_remote target],
683
8929ad8b
SM
6842016-05-04 Simon Marchi <simon.marchi@ericsson.com>
685
686 * lib/gdb.exp (use_gdb_stub): New procedure.
687
6c447423
DE
6882016-05-03 Yunlian Jiang <yunlian@google.com>
689 Doug Evans <dje@google.com>
690
691 PR symtab/19914
692 * gdb.dwarf2/dwp-sepdebug.c: New file.
693 * gdb.dwarf2/dwp-sepdebug.exp: New file.
694
444e826c
SM
6952016-05-02 Simon Marchi <simon.marchi@ericsson.com>
696
697 * gdb.base/detach.exp: Remove is_remote check.
698
740feeaa
SM
6992016-05-02 Simon Marchi <simon.marchi@ericsson.com>
700
701 * gdb.base/annota-input-while-running.exp: Don't check for
702 [is_remote target]. Enable annotations after running to main.
703 Remove unused "set test..." line.
704
9080ac9d
SM
7052016-04-28 Simon Marchi <simon.marchi@ericsson.com>
706
707 * gdb.trace/trace-enable-disable.exp: New file.
708 * gdb.trace/trace-enable-disable.c: New file.
709
952ebca5
SM
7102016-04-28 Simon Marchi <simon.marchi@ericsson.com>
711
712 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
713 use it in info sharedlibrary test.
714 * gdb.trace/ftrace-lock.exp: Likewise.
715 * gdb.trace/ftrace.exp: Likewise.
716 * gdb.trace/range-stepping.exp: Likewise.
717 * gdb.trace/trace-break.exp: Likewise.
718 * gdb.trace/trace-condition.exp: Likewise.
719 * gdb.trace/trace-mt.exp: Likewise.
720
d9019901
SM
7212016-04-27 Simon Marchi <simon.marchi@ericsson.com>
722
723 * lib/gdb.exp (gdb_load_shlibs): Rename to...
724 (gdb_load_shlib): ... this.
725 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
726 gdb_load_shlib.
727 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
728 * gdb.base/ctxobj.exp: Likewise.
729 * gdb.base/dprintf-pending.exp: Likewise.
730 * gdb.base/dso2dso.exp: Likewise.
731 * gdb.base/fixsection.exp: Likewise.
732 * gdb.base/gcore-relro.exp: Likewise.
733 * gdb.base/gdb1555.exp: Likewise.
734 * gdb.base/global-var-nested-by-dso.exp: Likewise.
735 * gdb.base/gnu-ifunc.exp: Likewise.
736 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
737 * gdb.base/jit-so.exp (one_jit_test): Likewise.
738 * gdb.base/pending.exp: Likewise.
739 * gdb.base/print-file-var.exp: Likewise.
740 * gdb.base/print-symbol-loading.exp: Likewise.
741 * gdb.base/shlib-call.exp: Likewise.
742 * gdb.base/shreloc.exp: Likewise.
743 * gdb.base/so-impl-ld.exp: Likewise.
744 * gdb.base/solib-disc.exp: Likewise.
745 * gdb.base/solib-nodir.exp: Likewise.
746 * gdb.base/solib-overlap.exp: Likewise.
747 * gdb.base/solib-symbol.exp: Likewise.
748 * gdb.base/solib-weak.exp (do_test): Likewise.
749 * gdb.base/sym-file.exp: Likewise.
750 * gdb.base/symtab-search-order.exp: Likewise.
751 * gdb.base/type-opaque.exp: Likewise.
752 * gdb.base/unload.exp: Likewise.
753 * gdb.base/watchpoint-solib.exp: Likewise.
754 * gdb.compile/compile.exp: Likewise.
755 * gdb.cp/gdb2384.exp: Likewise.
756 * gdb.cp/infcall-dlopen.exp: Likewise.
757 * gdb.cp/re-set-overloaded.exp: Likewise.
758 * gdb.fortran/library-module.exp: Likewise.
759 * gdb.opt/solib-intra-step.exp: Likewise.
760 * gdb.python/py-finish-breakpoint.exp: Likewise.
761 * gdb.python/py-shared.exp: Likewise.
762 * gdb.reverse/solib-precsave.exp: Likewise.
763 * gdb.reverse/solib-reverse.exp: Likewise.
764 * gdb.server/solib-list.exp: Likewise.
765 * gdb.threads/dlopen-libpthread.exp: Likewise.
766 * gdb.threads/tls-shared.exp: Likewise.
767 * gdb.threads/tls-so_extern.exp: Likewise.
768 * gdb.trace/change-loc.exp: Likewise.
769 * gdb.trace/ftrace-lock.exp: Likewise.
770 * gdb.trace/ftrace.exp: Likewise.
771 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
772 * gdb.trace/pending.exp: Likewise.
773 * gdb.trace/range-stepping.exp: Likewise.
774 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
775 (strace_info_marker): Likewise.
776 (strace_probe_marker): Likewise.
777 (strace_trace_on_same_addr): Likewise.
778 (strace_trace_on_diff_addr): Likewise.
779 * gdb.trace/trace-break.exp: Likewise.
780 * gdb.trace/trace-condition.exp: Likewise.
781 * gdb.trace/trace-mt.exp: Likewise.
782
fca4cfd9
SM
7832016-04-27 Simon Marchi <simon.marchi@ericsson.com>
784
785 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
786 result of gdb_remote_download.
787 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
788 * gdb.base/dso2dso.exp: Likewise.
789 * gdb.base/global-var-nested-by-dso.exp: Likewise.
790 * gdb.base/print-file-var.exp: Likewise.
791 * gdb.base/shlib-call.exp: Likewise.
792 * gdb.base/shreloc.exp: Likewise.
793 * gdb.base/solib-overlap.exp: Likewise.
794 * gdb.base/solib-weak.exp (do_test): Likewise.
795 * gdb.base/unload.exp: Likewise.
796
11cf4ffb
YQ
7972016-04-27 Yao Qi <yao.qi@linaro.org>
798
799 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
800 exists.
801
3e2e34f8
KB
8022016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
803
804 * vla-type.exp: Print structure from toplevel.
805
8f07e298
BH
8062016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
807
808 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
809 of dynamic types.
810 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
811 of dynamic types.
812
9920b434
BH
8132016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
814
815 * gdb.fortran/vla-type.f90: New file.
816 * gdb.fortran/vla-type.exp: New file.
817
f3abeff5
YQ
8182016-04-25 Yao Qi <yao.qi@linaro.org>
819
820 * gdb.base/branch-to-self.c: New file.
821 * gdb.base/branch-to-self.exp: New file.
822
0a5d52f0
YQ
8232016-04-22 Yao Qi <yao.qi@linaro.org>
824
825 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
826 more after $hex.
827
495346f6
YQ
8282016-04-22 Yao Qi <yao.qi@linaro.org>
829
830 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
831 * gdb.base/annota3.exp: Likewise.
832
4a7e075c
YQ
8332016-04-22 Yao Qi <yao.qi@linaro.org>
834
835 * gdb.reverse/step-precsave.exp: Do one step and test program
836 stops in "callee" and do multiple steps until program goes out
837 of "callee".
838 * gdb.reverse/step-reverse.exp: Likewise.
839
5b061e98
YQ
8402016-04-22 Yao Qi <yao.qi@linaro.org>
841
842 * gdb.trace/signal.exp: Also pass if
843 $tracepoint_hits($i) > $iterations.
844
5c5dc57f
YQ
8452016-04-22 Yao Qi <yao.qi@linaro.org>
846
847 * gdb.trace/signal.c: New file.
848 * gdb.trace/signal.exp: New file.
849
a55411b9
DE
8502016-04-19 Doug Evans <xdje42@gmail.com>
851
852 * gdb.base/bad-file.exp: New file.
853
a22df60a
MG
8542016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
855
856 * gdb.dwarf2/implref.exp: New file.
857
0c13f7e5
BH
8582016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
859
860 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
861 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
862 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
863 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
864 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
865 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
866 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
867 * lib/fortran.exp (fortran_int4): New procedure.
868 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
869 (fortran_logical4): Likewise.
870
9b9b09e9
BH
8712016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
872
873 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
874
a14d1f4d
BH
8752016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
876
877 * lib/compiler.c: Add Intel specific preprocessor macros.
878 * lib/compiler.cc: Likewise.
25d49b86 879
7d49b1d0
LM
8802016-04-13 Luis Machado <lgustavo@codesourcery.com>
881
882 * gdb.server/connect-with-no-symbol-file.c: New file.
883 * gdb.server/connect-with-no-symbol-file.exp: New file.
884
8392fa22
SM
8852016-04-13 Simon Marchi <simon.marchi@ericsson.com>
886
887 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
888
8c4c4aeb
SM
8892016-04-13 Simon Marchi <simon.marchi@ericsson.com>
890
891 * boards/gdbserver-base.exp (${board}_download): Copy source file to
892 standard output directory.
893
45e3745e
AT
8942016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
895
896 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
897
e26b7e41
MM
8982016-04-13 Markus Metzger <markus.t.metzger@intel.com>
899
900 * gdb.btrace/instruction_history.c (loop): Add declaration.
901
8ce09462
AT
9022016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
903
904 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
905
2e88a1ea
SM
9062016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
907
908 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
909 parentheses to print.
910 (continue_handler): Likewise.
911
f48e22e3
SM
9122016-04-08 Simon Marchi <simon.marchi@ericsson.com>
913
914 * gdb.server/solib-list.exp: Remove is_remote check.
915 Pass shlib= to gdb_compile. Don't link shared library with
916 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
917 Run binary filename through "readlink -f" on the target.
918
096be756
PA
9192016-04-08 Pedro Alves <palves@redhat.com>
920
921 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
922 interpreter filename as argument to gdbserver_spawn.
923 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
924 Return empty if $last_loaded_file does not exist.
925
06500533
JK
9262016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
927
928 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
929 * gdb.base/jit-main.c: Use exit after usage.
930
2d35e871
JK
9312016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
932
933 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
934 GDBHISTSIZE prior to the tests.
935 * gdb.base/gdbinit-history.exp: Likewise.
936
9372016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
938
939 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
940 instead of build_executable. Use gdb_load_shlibs.
941
c8064e7e
YQ
9422016-04-07 Yao Qi <yao.qi@linaro.org>
943
944 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
945 Execute "si" command.
946
bde47561
YQ
9472016-04-07 Yao Qi <yao.qi@linaro.org>
948
949 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
950 number instead of the comments on some line.
951
b16f8a3b
DB
9522016-04-06 Don Breazeal <donb@codesourcery.com>
953
954 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
955 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
956
c2f901df
SM
9572016-04-06 Simon Marchi <simon.marchi@ericsson.com>
958
959 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
960 standard_output_file. Remove unused binfile variable.
961
ac17fda0
CU
9622016-04-05 Catalin Udma <catalin.udma@freescale.com>
963
964 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
965 * gdb.python/py-mi-objfile.exp: Match "list main" output
966 in console format.
967
03a8c4df
SM
9682016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
969
970 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
971 absolute.
972
6e774b13
SM
9732016-04-05 Simon Marchi <simon.marchi@ericsson.com>
974
975 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
976 absolute.
977 * gdb.trace/ftrace.exp: Likewise.
978 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
979 targets as well.
980 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
981 (gdb_load_shlibs): Copy libraries to test directory when testing
982 natively. Only set solib-search-path if testing remotely.
983 * lib/mi-support.exp (mi_load_shlibs): Likewise.
984
7817ea46
SM
9852016-04-05 Simon Marchi <simon.marchi@ericsson.com>
986
987 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
988 gdb_download. Use it even if the target is not remote.
989 * gdb.base/jit.exp (compile_jit_test): Likewise.
990 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
991 output directory if the destination board is local, otherwise use
992 the standard remote_download from DejaGnu.
993 (gdb_download): Remove.
994 (gdb_load_shlibs): Use gdb_remote_download instead of
995 gdb_download.
996 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
997 Use gdb_remote_download instead of gdb_download. Use it even if
998 the target is not remote.
999 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
1000 instead of gdb_download.
1001
7beb7f68
SM
10022016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
1003
1004 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
1005 (test_insert_delete_modify): Call mi_load_shlibs before trying to
1006 run.
1007
cc63428a
AV
10082016-04-01 Artemiy Volkov <artemiyv@acm.org>
1009
1010 PR gdb/19820
1011 * gdb.base/printcmds.exp: Add artificial arrays tests.
1012
64cdf930
PA
10132016-03-31 Pedro Alves <palves@redhat.com>
1014
1015 PR gdb/19858
1016 * gdb.base/jit-main.c: Include unistd.h.
1017 (ATTACH): Define to 0 if not already defined.
1018 (wait_for_gdb, mypid): New globals.
1019 (WAIT_FOR_GDB): New macro.
1020 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
1021 some breakpoint locations.
1022 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
1023 New procedures.
1024 (one_jit_test): Add REATTACH parameter, and handle it. Use
1025 continue_to_test_location.
1026 (top level): Test attach, and adjusts calls to one_jit_test.
1027
40dea8cb
PA
10282016-03-31 Pedro Alves <palves@redhat.com>
1029
1030 PR gdb/19858
1031 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
1032 BINSUFFIX parameter, and handle it.
1033 (top level): Adjust calls compile_jit_test.
1034
e7ea3ec7
CU
10352016-03-31 Catalin Udma <catalin.udma@freescale.com>
1036
1037 PR python/19743
1038 * gdb.python/py-mi-events-gdb.py: New file.
1039 * gdb.python/py-mi-events.c: New file.
1040 * gdb.python/py-mi-events.exp: New file.
1041
e6359af3
YQ
10422016-03-30 Yao Qi <yao.qi@linaro.org>
1043
1044 * gdb.reverse/until-precsave.exp: Match function name only.
1045 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
1046 Move malloc to a condition block.
1047 * gdb.reverse/until-reverse.exp: Match function name only.
1048
a4105d04
MK
10492016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
1050
1051 * gdb.trace/ftrace.exp: Set arg0exp for s390.
1052 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
1053 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
1054 variable for GPR 0 instead of assuming it is register 0.
1055 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
1056 * lib/trace-support.exp: Add s390 registers.
1057
bfa6adb9
YQ
10582016-03-29 Yao Qi <yao.qi@linaro.org>
1059
1060 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
1061
1e6697ea
YQ
10622016-03-24 Yao Qi <yao.qi@linaro.org>
1063
1064 * gdb.reverse/break-reverse.exp: Add quotation mark in the
1065 test message.
1066
64bcd522
AA
10672016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1068
1069 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
1070 maintaining separate logic for constructing the output path.
1071
7868401b
DB
10722016-03-16 Don Breazeal <donb@codesourcery.com>
1073
1074 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1075 Retry fork and waitpid on interrupted system call errors.
1076 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1077 Use with_timeout_factor to increase timeout by factor of 10.
1078
1cafadb4
DB
10792016-03-15 Don Breazeal <donb@codesourcery.com>
1080
1081 * gdb.cp/scope-err.cc: New test program.
1082 * gdb.cp/scope-err.exp: New test script.
1083 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
1084 lines and "set breakpoint here" comment.
1085 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
1086 Fixed some whitespace and format issues.
1087 * gdb.mi/mi-linespec-err-cp.cc: New test program.
1088 * gdb.mi/mi-linespec-err-cp.exp: New test script.
1089
81516450
DE
10902016-03-15 Doug Evans <dje@google.com>
1091
1092 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
1093 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
1094 All callers updated. Add tests for enums, mixed flags register.
1095
aa52b601
DE
10962016-03-15 Doug Evans <dje@google.com>
1097
1098 * gdb.base/skip.c (main): Call test_skip_file_and_function.
1099 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
1100
fa4ff313
SM
11012016-03-14 Simon Marchi <simon.marchi@ericsson.com>
1102
1103 * gdb.base/default.exp: Add $_as_string to the list of expected
1104 convenience functions.
1105
f2403c39
AB
11062016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
1107
1108 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1109
f2f3ccb9
SM
11102016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1111
1112 * gdb.python/py-as-string.exp: New file.
1113 * gdb.python/py-as-string.c: New file.
1114
00dbd492
PA
11152016-03-09 Pedro Alves <palves@redhat.com>
1116
1117 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1118 signal" -> "Thread NN received signal" output change.
1119 * gdb.threads/ia64-sigill.exp: Likewise.
1120 * gdb.threads/linux-dp.exp: Likewise.
1121 * gdb.threads/manythreads.exp: Likewise.
1122 * gdb.threads/pending-step.exp: Likewise.
1123 * gdb.threads/print-threads.exp: Likewise.
1124 * gdb.threads/sigstep-threads.exp: Likewise.
1125 * gdb.threads/staticthreads.exp: Likewise.
1126 * gdb.threads/tls.exp: Likewise.
1127
1e6697ea
YQ
11282016-03-09 Pedro Alves <palves@redhat.com>
1129
1130 * gdb.base/command-line-input.exp: New file.
1131
b04fd3be
MK
11322016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1133
1134 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1135 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1136 * gdb.trace/pending.exp: Accept leading dot before function name.
1137 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1138 * lib/trace-support.exp: Set registers for ppc.
1139
98fa59e9
MK
11402016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1141
1142 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1143 use it for disassembly; accept .main in addition to main in backtrace.
1144
f77198c8
MK
11452016-03-09 Wei-cheng Wang <cole945@gmail.com>
1146 Marcin Kościelnicki <koriakin@0x04.net>
1147
1148 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1149 (gdb_recursion_test_ptr): New global variable.
1150 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1151 gdb_recursion_test.
1152 (gdb_c_test): Ditto.
1153
ba84e0da
MK
11542016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1155
1156 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1157 ordering.
1158
4366d36e
MK
11592016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1160
1161 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1162 (bar): Add bar_start_lbl label.
1163 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1164 of foo/bar for emitting DWARF and tracing.
1165
5eb264df
SDJ
11662016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1167
1168 * analyze-racy-logs.py: Set executable bit.
1169
fb6a751f
SDJ
11702016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1171
1172 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1173 (CHECK_TARGET_TMP): Likewise.
1174 (check-single-racy): New rule.
1175 (check-parallel-racy): Likewise.
1176 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1177 (do-check-parallel-racy): New rule.
1178 (check-racy/%.exp): Likewise.
1179 * README (Racy testcases): New section.
1180 * analyze-racy-logs.py: New file.
1181
bdf7e230
DE
11822016-03-03 Doug Evans <dje@google.com>
1183
1184 * gdb.base/skip.exp: Use with_test_prefix.
1185
4719d415
YQ
11862016-03-03 Yao Qi <yao.qi@linaro.org>
1187
1188 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1189 Invoke step_over_syscall "clone" and break_cond_on_syscall
1190 "clone".
1191 * gdb.base/step-over-clone.c: New file.
1192
ea507862
YQ
11932016-03-03 Yao Qi <yao.qi@linaro.org>
1194
1195 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1196 code format.
1197
8fc8cbda
YQ
11982016-03-03 Yao Qi <yao.qi@linaro.org>
1199
1200 * gdb.base/disp-step-fork.c: Rename to ...
1201 * gdb.base/step-over-fork.c: ... it. New file.
1202 * gdb.base/disp-step-vfork.c: Rename to ...
1203 * gdb.base/step-over-vfork.c: ... it. New file.
1204 * gdb.base/disp-step-syscall.exp: Rename to ...
1205 * gdb.base/step-over-syscall.exp: ... it. New file.
1206 (disp_step_cross_syscall): Rename to ...
1207 (step_over_syscall): ... it.
1208
92fa70b0
YQ
12092016-03-03 Yao Qi <yao.qi@linaro.org>
1210
1211 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1212 If target supports condition evaluation on target, invoke
1213 break_cond_on_syscall for fork and vfork.
1214
e197ad3c
YQ
12152016-03-03 Yao Qi <yao.qi@linaro.org>
1216
1217 * gdb.base/disp-step-syscall.exp: Don't invoke
1218 support_displaced_stepping.
1219 (disp_step_cross_syscall): Test with displaced stepping off and
1220 on if supported.
1221
0b47da9f
YQ
12222016-03-03 Yao Qi <yao.qi@linaro.org>
1223
1224 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1225 proc.
1226 (setup): New proc.
1227 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1228 and setup.
1229
065ab6dc
BH
12302016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1231
1232 * gdb.fortran/vla-history.exp: Remove breakpoint.
1233
07e448ad 12342016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1235
25d49b86
PA
1236 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1237 exceeds timeout.
07e448ad 1238
9ac2d526 12392016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1240
25d49b86
PA
1241 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1242 breakpoint.
9ac2d526 1243
17807369
BH
12442016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1245
1246 * gdb.mi/vla.f90: Nullify pointer after declaration.
1247
86e501af
PA
12482016-03-01 Pedro Alves <palves@redhat.com>
1249
1250 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1251
1e903e32
PA
12522016-03-01 Pedro Alves <palves@redhat.com>
1253
1254 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1255 before anything else.
1256 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1257 _GNU_SOURCE here.
1258 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1259 before anything else.
1260 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1261
6ccb54e2
PA
12622016-03-01 Pedro Alves <palves@redhat.com>
1263
1264 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1265
30ca9da1
YQ
12662016-03-01 Yao Qi <yao.qi@linaro.org>
1267
1268 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1269 prepare_for_testing.
1270
dc856b38
YQ
12712016-03-01 Yao Qi <yao.qi@linaro.org>
1272
1273 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1274
4a932159
AA
12752016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1276
1277 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1278 manually constructing the output path.
1279
f2489477
AA
12802016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1281
1282 * gdb.arch/s390-stackless.S: New.
1283 * gdb.arch/s390-stackless.exp: New.
1284
38899f16
IB
12852016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1286
1287 * gdb.dlang/circular.c: New file.
1288 * gdb.dlang/circular.exp: New file.
1289
9fde51ed
YQ
12902016-02-26 Yao Qi <yao.qi@linaro.org>
1291
1292 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1293 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1294 (testcases): Update.
1295
ce90fefe
YQ
12962016-02-26 Yao Qi <yao.qi@linaro.org>
1297
1298 * gdb.reverse/aarch64.c: Rename to ...
1299 * gdb.reverse/insn-reverse.c: ... it.
1300 * gdb.reverse/aarch64.exp: Rename to ...
1301 * gdb.reverse/insn-reverse.exp: ... it.
1302
3263bceb
YQ
13032016-02-26 Yao Qi <yao.qi@linaro.org>
1304
1305 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1306 (testcase_ftype): New.
1307 (testcases): New array.
1308 (n_testcases): New.
1309 (main): Call each element in testcases.
1310 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1311 (read_testcase): New.
1312 Do the tests in a loop.
1313
6cb59ff1
YQ
13142016-02-25 Yao Qi <yao.qi@linaro.org>
1315
1316 * gdb.base/branches.c: Remove.
1317
ae91f625
MK
13182016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1319
1320 PR gdb/13808
1321 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1322
678b48b7
MK
13232016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1324
1325 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1326
7337a6f2
MK
13272016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1328
1329 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1330 change x86_64 call_insn to 'callq'.
1331
861ca91f
AT
13322016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1333
1334 * gdb.trace/tfile-avx.c: Move to...
1335 * gdb.trace/tracefile-pseudo-reg.c: Here.
1336 * gdb.trace/tfile-avx.exp: Move to...
1337 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1338
bf74e428
GB
13392016-02-24 Gary Benson <gbenson@redhat.com>
1340
1341 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1342 message on attach.
1343
cce0e923
DE
13442016-02-23 Doug Evans <dje@google.com>
1345
1346 * gdb.base/skip.c (test_skip): New function.
1347 (end_test_skip_file_and_function): New function.
1348 (test_skip_file_and_function): New function.
1349 * gdb.base/skip1.c (test_skip): New function.
1350 (skip1_test_skip_file_and_function): New function.
1351 * gdb.base/skip.exp: Add tests for new skip options.
1352 * gdb.base/skip-solib.exp: Update expected output.
1353 * gdb.perf/skip-command.cc: New file.
1354 * gdb.perf/skip-command.exp: New file.
1355 * gdb.perf/skip-command.py: New file.
1356
4000e47e
MK
13572016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1358
1359 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1360 info registers pattern.
1361
24f75ead
IB
13622016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1363
1364 * lib/future.exp: Add D support.
1365 (gdb_find_gdc): New proc.
1366 (gdb_default_target_compile): Add D support.
1367
fbb7bcbe
WW
13682016-02-18 Wei-cheng Wang <cole945@gmail.com>
1369
1370 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1371 user+system time.
1372 (trace_speed_test): Determine the iteration count for a time
1373 between 15..30 seconds.
1374
012b3a21
WT
13752016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1376
1377 * gdb.arch/i386-mpx-sigsegv.c: New file.
1378 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1379 * gdb.arch/i386-mpx-simple_segv.c: New file.
1380 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1381
2d5189bd
YQ
13822016-02-18 Yao Qi <yao.qi@linaro.org>
1383
1384 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1385 Don't call setup_kfail.
1386
40fb20d0
YQ
13872016-02-18 Yao Qi <yao.qi@linaro.org>
1388
1389 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1390 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1391
21b1f8d2
DE
13922016-02-16 Doug Evans <dje@google.com>
1393
1394 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1395 * gdb.base/skip1.c: Ditto.
1396 * gdb.base/skip.exp: Whitespace cleanup.
1397
4041ed77
DB
13982016-02-16 Don Breazeal <donb@codesourcery.com>
1399
1400 PR remote/19496
1401 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1402 Remove kfail for PR remote/19496.
1403
c4ef31bf
SM
14042016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1405
1406 * lib/gdb.exp (standard_temp_file): Return a path specific to
1407 the runtest invocation.
1408
266b65b3
SM
14092016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1410
1411 * gdb.trace/save-trace.exp: Change relative path to be in the
1412 standard output directory.
1413
a7a0a6a9
JK
14142016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1415
1416 * gdb.arch/i386-prologue.c: Add missing prototypes.
1417
c99dbb42
JK
14182016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1419
1420 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1421 * gdb.arch/i386-prologue.exp: Likewise.
1422 * gdb.arch/i386-size.exp: Likewise.
1423
aa480355
SM
14242016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1425
1426 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1427 define object file path.
1428 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1429 file path.
1430 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1431 standard_output_file to define binfile.
1432
ba881f50
JK
14332016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1434
1435 Fix compatibility with recent gfortran-5.3.1.
1436 * gdb.fortran/vla-history.exp (print vla1 allocated)
1437 (print vla2 allocated, print $2, print $3): Remove
1438 (print $4): Rename to ...
1439 (print $2): ... here.
1440 (print $9): Rename to ...
1441 (print $5): ... here.
1442 (print $10): Rename to ...
1443 (print $6): ... here.
1444 * gdb.fortran/vla.f90: Add pvla initialization.
1445
e9fb005c
JK
14462016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1447
1448 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1449 New test.
1450 * gdb.fortran/vla-value-sub.exp: Likewise.
1451
e44e00ff
MK
14522016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1453
1454 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1455
97e94151
SM
14562016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1457
1458 * i386-biarch-core.exp: Define corefile using
1459 standard_output_file.
1460
01113bc1
YQ
14612016-02-12 Yao Qi <yao.qi@linaro.org>
1462
1463 * gdb.arch/arm-single-step-kernel-helper.c: New.
1464 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1465
33b4777c
MM
14662016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1467
1468 * gdb.btrace/tailcall-only.exp: New.
1469 * gdb.btrace/tailcall-only.c: New.
1470 * gdb.btrace/x86_64-tailcall-only.S: New.
1471 * gdb.btrace/i686-tailcall-only.S: New.
1472
acc23c11
PA
14732016-02-11 Pedro Alves <palves@redhat.com>
1474
1475 * README (Parallel testing): Add missing double quotes.
1476
e352bf0a
PA
14772016-02-11 Pedro Alves <palves@redhat.com>
1478
1479 * README (Parallel testing): New section.
1480 (GDB_PARALLEL): Rewrite.
1481 (FORCE_PARALLEL): Document.
1482
9f5fed78
MK
14832016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1484
1485 * gdb.trace/tfile-avx.c: New test.
1486 * gdb.trace/tfile-avx.exp: New test.
1487
9ef9e6a6
KS
14882016-02-09 Keith Seitz <keiths@redhat.com>
1489
1490 PR breakpoints/19546
1491 * gdb.base/infcall-exec.c: New file.
1492 * gdb.base/infcall-exec2.c: New file.
1493 * gdb.base/infcall-exec.exp: New file.
1494
a96e36da
KS
14952016-02-09 Keith Seitz <keiths@redhat.com>
1496
1497 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1498 (toplevel): Call test_bkpt_address.
1499
9f61929f
KS
15002016-02-09 Keith Seitz <keiths@redhat.com>
1501
1502 PR python/19506
1503 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1504 (toplevel): Call test_bkpt_address.
1505
1e94266c
SM
15062016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1507
1508 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1509 to AC_OUTPUT.
1510 * configure: Regenerate.
1511
2a7f3dff
PA
15122016-02-09 Pedro Alves <palves@redhat.com>
1513
1514 PR breakpoints/19548
1515 * gdb.base/execl-update-breakpoints.c (some_function): New
1516 function.
1517 (main): Call it.
1518 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1519 Tighten expected GDB output.
1520
2151ccc5
SM
15212016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1522
1523 * Makefile.in (ALL_SUBDIRS): Remove.
1524 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1525 (distclean maintainer-clean realclean): Likewise.
1526 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1527 * configure: Regenerate.
1528 * gdb.ada/Makefile.in: Delete.
1529 * gdb.arch/Makefile.in: Likewise.
1530 * gdb.asm/Makefile.in: Likewise.
1531 * gdb.base/Makefile.in: Likewise.
1532 * gdb.btrace/Makefile.in: Likewise.
1533 * gdb.cell/Makefile.in: Likewise.
1534 * gdb.compile/Makefile.in: Likewise.
1535 * gdb.cp/Makefile.in: Likewise.
1536 * gdb.disasm/Makefile.in: Likewise.
1537 * gdb.dlang/Makefile.in: Likewise.
1538 * gdb.dwarf2/Makefile.in: Likewise.
1539 * gdb.fortran/Makefile.in: Likewise.
1540 * gdb.gdb/Makefile.in: Likewise.
1541 * gdb.go/Makefile.in: Likewise.
1542 * gdb.guile/Makefile.in: Likewise.
1543 * gdb.java/Makefile.in: Likewise.
1544 * gdb.linespec/Makefile.in: Likewise.
1545 * gdb.mi/Makefile.in: Likewise.
1546 * gdb.modula2/Makefile.in: Likewise.
1547 * gdb.multi/Makefile.in: Likewise.
1548 * gdb.objc/Makefile.in: Likewise.
1549 * gdb.opencl/Makefile.in: Likewise.
1550 * gdb.opt/Makefile.in: Likewise.
1551 * gdb.pascal/Makefile.in: Likewise.
1552 * gdb.perf/Makefile.in: Likewise.
1553 * gdb.python/Makefile.in: Likewise.
1554 * gdb.reverse/Makefile.in: Likewise.
1555 * gdb.server/Makefile.in: Likewise.
1556 * gdb.stabs/Makefile.in: Likewise.
1557 * gdb.threads/Makefile.in: Likewise.
1558 * gdb.trace/Makefile.in: Likewise.
1559 * gdb.xml/Makefile.in: Likewise.
1560 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1561 GDB_PARALLEL.
1562 (standard_output_file): Remove check for GDB_PARALLEL, always
1563 return path in outputs/$subdir/$testname.
1564
437277d4
SM
15652016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1566
1567 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1568 (site.exp): Assign abs_srcdir to tcl's srcdir.
1569
31d913c7
YQ
15702016-02-04 Yao Qi <yao.qi@linaro.org>
1571
1572 * gdb.base/foll-exec-mode.c: Include limits.h.
1573 (main): Add parameters argc and argv. Get directory from
1574 argv[0].
1575 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1576 compilation.
1577 * gdb.base/foll-exec.c: Include limits.h.
1578 (main): Add parameters argc and argv.
1579 Get directory from argv[0].
1580 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1581 Adjust tests on the number of lines as source code changed.
1582 * gdb.base/foll-vfork-exit.c: Include limits.h.
1583 (main): Add one line of statement before vfork.
1584 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1585 (main): Add parameters argc and argv. Get directory from
1586 argv[0].
1587 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1588 (setup_gdb): Set tbreak to skip some source lines.
1589 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1590 (main): Add parameters argc and argv. Get directory from
1591 argv[0].
1592 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1593 compilation.
1594 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1595 (main): Add parameters argc and argv. Get directory from
1596 argv[0].
1597 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1598 compilation.
1599
9482b9fb
DE
16002016-02-01 Doug Evans <dje@google.com>
1601
1602 * gdb.base/skip.exp: Clean up multiple references to same test name.
1603
6b2e4f10
PA
16042016-02-01 Pedro Alves <palves@redhat.com>
1605
ccb6afd6 1606 PR remote/19496
6b2e4f10
PA
1607 * gdb.threads/forking-threads-plus-breakpoint.exp
1608 (displaced_stepping_supported): New global.
1609 (probe_displaced_stepping_support): New procedure.
1610 (do_test): Add 'displaced' parameter, and use it.
1611 (top level): Check for displaced stepping support. Add displaced
1612 stepping on/off testing axis.
1613
37a8db1a
AB
16142016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1615
1616 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1617 pointer. Don't perform further tests on the unassociated pointer
1618 if the first test fails.
1619
5fdf6324
AB
16202016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1621
1622 * gdb.base/max-value-size.c: New file.
1623 * gdb.base/max-value-size.exp: New file.
1624 * gdb.base/huge.exp: Disable max-value-size for this test.
1625
935c6144
IB
16262016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1627
1628 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1629
7fe8399d
YQ
16302016-01-28 Yao Qi <yao.qi@linaro.org>
1631
1632 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1633
a2077e25
PA
16342016-01-25 Pedro Alves <palves@redhat.com>
1635
1636 PR threads/19461
1637 * gdb.base/fork-running-state.c: New file.
1638 * gdb.base/fork-running-state.exp: New file.
1639
1d2736d4
PA
16402016-01-25 Pedro Alves <palves@redhat.com>
1641
1642 PR gdb/19494
1643 * gdb.base/catch-fork-kill.c: New file.
1644 * gdb.base/catch-fork-kill.exp: New file.
1645
f1da4b11
PA
16462016-01-25 Pedro Alves <palves@redhat.com>
1647
1648 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1649 Delete, moved to lib/gdb.exp.
1650 * gdb.threads/forking-threads-plus-breakpoint.exp
1651 (foreach_with_prefix): Likewise.
1652 * gdb.threads/process-dies-while-handling-bp.exp
1653 (foreach_with_prefix): Likewise.
1654 * lib/gdb.exp (foreach_with_prefix): New procedure.
1655
45f38546
MK
16562016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1657
1658 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1659 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1660
dc29a1ce
MK
16612016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1662
1663 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1664 endian targets.
1665
092127d7
JK
16662016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1667 Pedro Alves <palves@redhat.com>
1668
1669 Fix testsuite compatibility with Guile.
1670 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1671 number.
1672
31d765d3
JK
16732016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1674
1675 Fix testsuite compatibility with Guile.
1676 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1677 (thread 1): New test for backtrace through signal handler.
1678
1ac78c04
YQ
16792016-01-22 Yao Qi <yao.qi@linaro.org>
1680
1681 PR testsuite/19491
1682 * gdb.base/multi-forks.c: Include
1683 ../lib/unbuffer_output.c
1684 (main): Call gdb_unbuffer_output.
1685
4f5946a8
DE
16862016-01-21 Doug Evans <dje@google.com>
1687
1688 * lib/ada.exp (gdb_compile_ada): Fix typo.
1689
305e13e6
JB
16902016-01-21 Joel Brobecker <brobecker@adacore.com>
1691
1692 * gdb.base/break-fun-addr.exp: New file.
1693 * gdb.base/break-fun-addr1.c: New file.
1694 * gdb.base/break-fun-addr2.c: New file.
1695
5f5dfff6
SM
16962016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1697
1698 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1699 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1700 enum flag values.
1701
fd356fa2
AA
17022016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1703
1704 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1705 when GDB can not set the vector return value. Add more comments
1706 for clarification.
1707
9df22175
AT
17082016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1709
1710 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1711 command.
1712
41d1845e
SM
17132016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1714
1715 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1716
01ac6840
SM
17172016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1718
1719 * Makefile.in (check-single): Pass --status to runtest.
1720 (check/%.exp): Likewise.
1721
17222016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1723
1724 * Makefile.in (check-parallel): Propagate return code from make
1725 do-check-parallel.
1726
bd0a71fa
MK
17272016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1728
1729 * gdb.trace/ftrace.exp: Fix expected message on continue.
1730 * gdb.trace/pending.exp: Fix expected message on continue.
1731 * gdb.trace/trace-break.exp: Fix expected message on continue.
1732
8bcbad33
SM
17332016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1734
1735 * lib/gdb.exp (gdb_test): Remove unused global references.
1736
f303dbd6
PA
17372016-01-18 Pedro Alves <palves@redhat.com>
1738
1739 * gdb.base/async-shell.exp: Adjust expected output.
1740 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1741 * gdb.base/siginfo-thread.exp: Adjust expected output.
1742 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1743 * gdb.java/jnpe.exp: Adjust expected output.
1744 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1745 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1746 * gdb.threads/leader-exit.exp: Adjust expected output.
1747 * gdb.threads/manythreads.exp: Adjust expected output.
1748 * gdb.threads/pthreads.exp: Adjust expected output.
1749 * gdb.threads/schedlock.exp: Adjust expected output.
1750 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1751 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1752 expected output.
1753 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1754 output.
1755 * gdb.threads/sigthread.exp: Adjust expected output.
1756 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1757
b2789696
YQ
17582016-01-18 Yao Qi <yao.qi@linaro.org>
1759
1760 * gdb.guile/scm-section-script.c: Replace @progbits with
1761 %progbits.
1762 * gdb.python/py-section-script.c: Likewise.
1763
71ef29a8
PA
17642016-01-15 Pedro Alves <palves@redhat.com>
1765
1766 * gdb.multi/tids.exp: Test star wildcard ranges.
1767
3f5b7598
PA
17682016-01-15 Pedro Alves <palves@redhat.com>
1769
1770 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1771 command from "thread apply" invocation.
1772 (thr_apply_info_thr_invalid): Default the expected output to the
1773 input tid list.
1774 (top level): Add tests that use convenience variables. Add tests
1775 for "thread apply" with a valid TID list, but missing the command.
1776
663f6d42
PA
17772016-01-13 Pedro Alves <palves@redhat.com>
1778
1779 * gdb.base/default.exp: Expect $_gthread as well.
1780 * gdb.multi/tids.exp: Test $_gthread.
1781 * gdb.threads/thread-specific.exp: Test $_gthread.
1782
c84f6bbf
PA
17832016-01-13 Pedro Alves <palves@redhat.com>
1784
1785 * gdb.multi/tids.exp: Test "info threads -gid".
1786
22a02324
PA
17872016-01-13 Pedro Alves <palves@redhat.com>
1788
1789 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1790 Breakpoint.thread.
1791 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1792
5d5658a1
PA
17932016-01-07 Pedro Alves <palves@redhat.com>
1794
1795 * gdb.base/break.exp: Adjust to output changes.
1796 * gdb.base/hbreak2.exp: Likewise.
1797 * gdb.base/sepdebug.exp: Likewise.
1798 * gdb.base/watch_thread_num.exp: Likewise.
1799 * gdb.linespec/keywords.exp: Likewise.
1800 * gdb.multi/info-threads.exp: Likewise.
1801 * gdb.threads/thread-find.exp: Likewise.
1802 * gdb.multi/tids.c: New file.
1803 * gdb.multi/tids.exp: New file.
1804
84654457
PA
18052016-01-13 Pedro Alves <palves@redhat.com>
1806
1807 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1808
e3940304
PA
18092016-01-13 Pedro Alves <palves@redhat.com>
1810
1811 * gdb.base/default.exp: Expect $_inferior as well.
1812 * gdb.multi/base.exp: Test $_inferior.
1813
a911d87a
PA
18142016-01-13 Pedro Alves <palves@redhat.com>
1815
1816 PR breakpoints/19388
1817 * gdb.base/catch-signal-siginfo-cond.c: New file.
1818 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1819
82075af2
JS
18202016-01-12 Josh Stone <jistone@redhat.com>
1821 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1822
1823 * gdb.base/catch-syscall.c (do_execve): New variable.
1824 (main): Conditionally trigger an execve.
1825 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1826 (test_catch_syscall_execve): New, check entry/return across execve.
1827 (do_syscall_tests): Call test_catch_syscall_execve.
1828
e46eeedd
PA
18292016-01-12 Pedro Alves <palves@redhat.com>
1830
1831 * gdb.base/random-signal.exp (do_test): New procedure, with body
1832 of testcase moved in.
1833
01d8c27e
JK
18342016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1835 Pedro Alves <palves@redhat.com>
1836
1837 * gdb.base/funcargs.exp (finish from indirectly called function):
1838 Reintroduce the case for 'First'.
1839
9a706302
JK
18402016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1841 Pedro Alves <palves@redhat.com>
1842
1843 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1844 (tcatch_vfork_then_child_follow_exec)
1845 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1846 identification.
1847
c0ecb95f
JK
18482016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1849
1850 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1851 and repeats to unlimited.
1852 * gdb.python/py-value.exp: Likewise.
1853 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1854 and repeats to unlimited.
1855
6cfc1fcb
JK
18562016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1857
1858 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1859 and reordering the functions.
1860 * gdb.multi/hangout.c: Likewise.
1861 * gdb.multi/hello.c: Likewise.
1862
582a1b00
SM
18632016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1864
1865 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1866 absolute.
1867 (SingleStatisticTestResult.report): Use dict.keys instead of
1868 dict.iterkeys.
1869
79bc59cb
PA
18702016-01-06 Pedro Alves <palves@redhat.com>
1871
1872 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1873
43368e1d
MM
18742016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1875
1876 * gdb.btrace/dlopen.exp: New.
1877 * gdb.btrace/dlopen.c: New.
1878 * gdb.btrace/dlopen-dso.c: New.
1879
79fad5b8
SL
18802015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1881
1882 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1883 PATTERN argument is optional.
1884
ab8314b3
JB
18852015-12-24 Joel Brobecker <brobecker@adacore.com>
1886
1887 * lib/ada.exp (target_compile_ada_from_dir): New function.
1888 (gdb_compile_ada): Reimplement avoiding the use of project files.
1889 * gdb.ada/gnat_ada.gpr: Delete.
1890 * gdb.ada/cond_lang.exp: Adjust test to make path before
1891 filename optional.
1892 * gdb.ada/small_reg_param.exp: Likewise.
1893
fe33faff
SM
18942015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1895
1896 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1897
6d265cb4
TP
18982015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1899
1900 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1901 case.
1902
10125099
SM
19032015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1904
1905 * gdb.base/break.exp: Remove dead code.
1906 * gdb.base/sepdebug.exp: Likewise.
1907
3ca22649
SM
19082015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1909
1910 * gdb.asm/asm-source.exp: Remove HP-UX references.
1911 * gdb.base/annota1.exp: Likewise.
1912 * gdb.base/annota3.exp: Likewise.
1913 * gdb.base/attach.exp: Likewise.
1914 * gdb.base/bigcore.exp: Likewise.
1915 * gdb.base/break.exp: Likewise.
1916 * gdb.base/call-ar-st.exp: Likewise.
1917 * gdb.base/callfuncs.exp: Likewise.
1918 * gdb.base/catch-fork-static.exp: Likewise.
1919 * gdb.base/display.exp: Likewise.
1920 * gdb.base/foll-exec-mode.exp: Likewise.
1921 * gdb.base/foll-exec.exp: Likewise.
1922 * gdb.base/foll-fork.exp: Likewise.
1923 * gdb.base/foll-vfork.exp: Likewise.
1924 * gdb.base/funcargs.exp: Likewise.
1925 * gdb.base/hbreak2.exp: Likewise.
1926 * gdb.base/inferior-died.exp: Likewise.
1927 * gdb.base/interrupt.exp: Likewise.
1928 * gdb.base/multi-forks.exp: Likewise.
1929 * gdb.base/nodebug.exp: Likewise.
1930 * gdb.base/sepdebug.exp: Likewise.
1931 * gdb.base/solib1.c: Likewise.
1932 * gdb.base/step-test.exp: Likewise.
1933 * gdb.mi/non-stop.c: Likewise.
1934 * gdb.mi/pthreads.c: Likewise.
1935 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1936 * gdb.threads/pthreads.c: Likewise.
1937 * gdb.threads/staticthreads.exp: Likewise.
1938 * lib/future.exp: Likewise.
1939 * lib/gdb.exp: Likewise.
1940 * gdb.base/so-indr-cl.c: Remove.
1941 * gdb.base/so-indr-cl.exp: Likewise.
1942 * gdb.base/solib.c: Likewise.
1943 * gdb.base/solib.exp: Likewise.
1944 * gdb.base/solib2.c: Likewise.
1945
b6304613
SM
19462015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1947
1948 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1949 * gdb.base/call-ar-st.exp: Likewise.
1950 * gdb.base/callfuncs.exp: Likewise.
1951 * gdb.base/condbreak.exp: Likewise.
1952 * gdb.base/constvars.exp: Likewise.
1953 * gdb.base/hbreak2.exp: Likewise.
1954 * gdb.base/langs.exp: Likewise.
1955 * gdb.base/list.exp: Likewise.
1956 * gdb.base/long_long.exp: Likewise.
1957 * gdb.base/ptype.exp: Likewise.
1958 * gdb.base/scope.exp: Likewise.
1959 * gdb.base/signals.exp: Likewise.
1960 * gdb.base/so-impl-ld.exp: Likewise.
1961 * gdb.base/varargs.exp: Likewise.
1962 * gdb.base/volatile.exp: Likewise.
1963 * gdb.base/whatis.exp: Likewise.
1964 * gdb.cp/cplusfuncs.exp: Likewise.
1965 * gdb.cp/inherit.exp: Likewise.
1966 * gdb.cp/local.exp: Likewise.
1967 * gdb.cp/member-ptr.exp: Likewise.
1968 * gdb.cp/method.exp: Likewise.
1969 * gdb.cp/overload.exp: Likewise.
1970 * gdb.cp/templates.exp: Likewise.
1971 * gdb.stabs/weird.exp: Likewise.
1972 * lib/compiler.c: Likewise.
1973 * lib/compiler.cc: Likewise.
1974 * lib/cp-support.exp: Likewise.
1975 * lib/gdb.exp: Likewise.
1976
bf401b07
SM
19772015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1978
1979 * configure.ac: Remove HP-UX case.
1980 * configure: Regenerate.
1981
aff9c0f8
SM
19822015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1983
1984 * lib/gdb.exp (gdb_compile): Add function doc.
1985
a6904d5a
PA
19862015-12-17 Pedro Alves <palves@redhat.com>
1987
1988 PR threads/19354
1989 * gdb.multi/info-threads.exp: New file.
1990
a22279dd
YQ
19912015-12-15 Yao Qi <yao.qi@linaro.org>
1992
1993 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1994 is aarch64*-*-*.
1995
0588c796
SL
19962015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1997
1998 * gdb.base/history-duplicates.exp: Skip if no readline support.
1999
5d978e17
SL
20002015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2001
2002 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
2003
7e763b86
SL
20042015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2005
2006 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
2007
87a3a92c
SL
20082015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2009
2010 * gdb.base/completion.exp: Skip tests that interrupt GDB with
2011 ctrl-C if nointerrupts target property is set.
2012 * gdb.base/double-prompt-target-event-error.exp: Likewise.
2013 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
2014 * gdb.base/paginate-bg-execution.exp: Likewise.
2015 * gdb.base/paginate-execution-startup.exp: Likewise.
2016 * gdb.base/random-signal.exp: Likewise.
2017 * gdb.base/range-stepping.exp: Likewise.
2018 * gdb.cp/annota2.exp: Likewise.
2019 * gdb.cp/annota3.exp: Likewise.
2020 * gdb.gdb/selftest.exp: Likewise.
2021 * gdb.threads/continue-pending-status.exp: Likewise.
2022 * gdb.threads/leader-exit.exp: Likewise.
2023 * gdb.threads/manythreads.exp: Likewise.
2024 * gdb.threads/pthreads.exp: Likewise.
2025 * gdb.threads/schedlock.exp: Likewise.
2026 * gdb.threads/sigthread.exp: Likewise.
2027
a8f077dc
DB
20282015-12-11 Don Breazeal <donb@codesourcery.com>
2029
2030 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
2031 remote.
2032 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
2033 * gdb.base/foll-exec.exp (main): Enable for target remote.
2034 * gdb.base/foll-fork.exp (main): Likewise.
2035 * gdb.base/foll-vfork.exp (main): Likewise.
2036 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
2037 (proc continue_to_exit_bp_loc): Use clean_restart.
2038 * gdb.base/pie-execl.exp (main): Disable for target remote.
2039 * gdb.base/watch-vfork.exp (main): Enable for target remote.
2040 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
2041 * gdb.threads/execl.exp (main): Likewise.
2042 * gdb.threads/fork-child-threads.exp (main): Likewise.
2043 * gdb.threads/fork-plus-threads.exp (main): Disable for target
2044 remote.
2045 * gdb.threads/fork-thread-pending.exp (main): Enable for target
2046 remote.
2047 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
2048 pid.tid style ptids, instead of just tid.
2049 * gdb.threads/thread-execl.exp (main): Enable for target remote.
2050 * gdb.threads/watchpoint-fork.exp (main): Likewise.
2051 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
2052 ptids, instead of just tid.
2053
3b2464a8
AB
20542015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2055
2056 * gdb.base/list.exp (test_list_forward): Add end of file error
2057 test.
2058 (test_repeat_list_command): Add end of file error test.
2059 (test_list_backwards): Add beginning of file error test.
2060
a0def019
AB
20612015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2062
2063 * gdb.base/list.exp (test_list_invalid_args): New function,
2064 defined, and called.
2065
5c000dff
AB
20662015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2067
2068 * gdb.base/list.exp (test_list): Make test names unique.
2069
f1637ebe
YQ
20702015-12-11 Yao Qi <yao.qi@linaro.org>
2071
2072 * gdb.base/coremaker2.c: Remove.
2073
36d6fc0a
PA
20742015-12-10 Pedro Alves <palves@redhat.com>
2075
2076 * gdb.multi/base.exp: Remove stale "spaces" references.
2077
762f7747
PA
20782015-12-10 Pedro Alves <palves@redhat.com>
2079
2080 * gdb.multi/base.exp: Don't use nowarnings.
2081 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
2082 * gdb.multi/hangout.c: Include stdio.h.
2083 * gdb.multi/hello.c: Include stdlib.h.
2084 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
2085 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
2086 * gdb.multi/multi-arch.exp: Don't use nowarnings.
2087
28d2bfb9
AB
20882015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
2089
2090 * gdb.dwarf2/dw2-ranges-base.c: New file.
2091 * gdb.dwarf2/dw2-ranges-base.exp: New file.
2092 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
2093 support additional line table, and debug ranges generation.
2094 (Dwarf::ranges): New function, generate .debug_ranges.
2095 (Dwarf::lines): Support generating simple line table programs.
2096 (Dwarf::assemble): Initialise new namespace variables.
2097
5fc2beac
KB
20982015-12-09 Kevin Buettner <kevinb@redhat.com>
2099
2100 * gdb.base/async.exp (proc test_background): Add case for
2101 asynchronous execution not supported.
2102
1c35a88f
LM
21032015-12-09 Luis Machado <lgustavo@codesourcery.com>
2104
2105 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
2106 format and change test names to make them unique.
2107
b593e3d9
RK
21082015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
2109 Pedro Alves <pedro@redhat.com>
2110
2111 PR gdb/18702
2112 Add checking of floatformats setup on x86_64 hosts.
2113 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2114 (smallval, bigval): New labels/constants.
2115 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2116 float" after loading bigval and smallval.
2117
d72413e6
PMR
21182015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2119
2120 * gdb.ada/fun_overload_menu.exp: New testcase.
2121 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2122
ece66d65
JS
21232015-12-04 Josh Stone <jistone@redhat.com>
2124
2125 * gdb.base/catch-fork-static.exp: New.
2126
41d0efca
YQ
21272015-12-03 Yao Qi <yao.qi@linaro.org>
2128
2129 * gdb.base/sizeof.c: Don't include stdio.h and
2130 ../lib/unbuffer_output.c.
2131 (main): New variable 'size' and 'value'. Remove printf and
2132 gdb_unbuffer_output. Assign return value to size and value.
2133 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2134 at the beginning.
2135 (check_sizeof): Check the result by printing variable 'size'.
2136 (check_valueof): Check the result by printing variable 'value'.
2137
99fd02d9
YQ
21382015-12-01 Yao Qi <yao.qi@linaro.org>
2139
2140 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2141 for aarch64*-*-linux* target.
2142
f2faf941
PA
21432015-11-30 Pedro Alves <palves@redhat.com>
2144
2145 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2146
04bf20c5
PA
21472015-11-30 Pedro Alves <palves@redhat.com>
2148
2149 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2150 Handle non-stop mode vCont replies.
2151
09df4675
PA
21522015-11-30 Pedro Alves <palves@redhat.com>
2153
2154 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2155 prepare_for_testing. Start gdb with "set non-stop on" appended to
2156 GDBFLAGS. Lax expected stop output.
2157
58b584af
YQ
21582015-11-27 Yao Qi <yao.qi@linaro.org>
2159
2160 * gdb.arch/arm-neon.exp: New.
2161 * gdb.arch/arm-neon.c: New.
2162
dfcb77a8
YQ
21632015-11-27 Yao Qi <yao.qi@linaro.org>
2164
2165 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2166
88e8ec1b
YQ
21672015-11-27 Yao Qi <yao.qi@linaro.org>
2168
2169 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2170 frames-invalid annotation.
2171
bfde72c2
YQ
21722015-11-27 Yao Qi <yao.qi@linaro.org>
2173
2174 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2175
f6512a69
SM
21762015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2177
2178 * gdb.threads/names.exp: New file.
2179 * gdb.threads/names.c: New file.
2180 * README: Mention gdb,no_thread_names.
2181
46a3515b
MM
21822015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2183
2184 PR 19297
2185 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2186 support" error.
2187
62147a22
PA
21882015-11-24 Pedro Alves <palves@redhat.com>
2189
2190 PR 17539
2191 * gdb.base/display.exp: Expect displays to be sorted in ascending
2192 order. Use multi_line.
2193 * gdb.base/solib-display.exp: Likewise.
2194
2f341b6e
PA
21952015-11-24 Pedro Alves <palves@redhat.com>
2196
2197 PR 17539
25d49b86
PA
2198 * gdb.base/display.exp: Expect displays to be sorted in ascending
2199 order. Use multi_line.
2200 * gdb.base/solib-display.exp: Likewise.
2f341b6e 2201
7e0aa6aa
PA
22022015-11-24 Pedro Alves <palves@redhat.com>
2203
2204 PR 17539
2205 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2206 threads in ascending order.
2207 * gdb.base/foll-fork.exp: Likewise.
2208 * gdb.base/foll-vfork.exp: Likewise.
2209 * gdb.base/multi-forks.exp: Likewise.
2210 * gdb.mi/mi-nonstop.exp: Likewise.
2211 * gdb.mi/mi-nsintrall.exp: Likewise.
2212 * gdb.multi/base.exp: Likewise.
2213 * gdb.multi/multi-arch.exp: Likewise.
2214 * gdb.python/py-inferior.exp: Likewise.
2215 * gdb.threads/break-while-running.exp: Likewise.
2216 * gdb.threads/execl.exp: Likewise.
2217 * gdb.threads/gcore-thread.exp: Likewise.
2218 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2219 * gdb.threads/kill.exp: Likewise.
2220 * gdb.threads/linux-dp.exp: Likewise.
2221 * gdb.threads/multiple-step-overs.exp: Likewise.
2222 * gdb.threads/next-bp-other-thread.exp: Likewise.
2223 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2224 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2225 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2226 * gdb.threads/thread-find.exp: Likewise.
2227 * gdb.threads/tls.exp: Likewise.
2228 * lib/mi-support.exp (mi_reverse_list): Delete.
2229 (mi_check_thread_states): No longer reverse list.
2230
2cc57ad8
PA
22312015-11-24 Pedro Alves <palves@redhat.com>
2232
2233 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2234 use lowercase.
2235
c93e8391
SM
22362015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2237
2238 * gdb.trace/actions.c: Include trace-common.h.
2239 (main): Add a location for a fast tracepoint.
2240 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2241 the normal tracepoints.
2242 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2243
045ccf91
SM
22442015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2245
2246 * save-trace.exp: Factor out code to these...
2247 (gdb_save_tracepoints): New.
2248 (gdb_load_tracepoints): New.
2249 (do_save_load_test): New.
2250
5506f9f6
KB
22512015-11-23 Kevin Buettner <kevinb@redhat.com>
2252
2253 * gdb.base/asmlabel.exp: New test.
2254 * gdb.base/asmlabel.c: New test case.
2255
16c3b12f
JB
22562015-11-23 Joel Brobecker <brobecker@adacore.com>
2257
2258 * gdb.base/wrong_frame_bt_full-main.c: New file.
2259 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2260 * gdb.base/wrong_frame_bt_full.exp: New file.
2261
155bfbd3
JB
22622015-11-23 Joel Brobecker <brobecker@adacore.com>
2263
2264 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2265
bb097445
JM
22662015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2267
206853a0 2268 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
2269 pstate register when comparing registers values in
2270 sparc64-*-linux-gnu targets to avoid spurious differences.
2271
9c88ed8f
JM
22722015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2273
206853a0 2274 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 2275
96161e25
SL
22762015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2277
2278 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2279 as type argument to gdb_compile.
2280 * gdb.base/nested-subp2.exp: Likewise.
2281 * gdb.base/nested-subp3.exp: Likewise.
2282
340c2830
DV
22832015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2284
2285 * lib/dwarf.exp (_note): Fix left shift of negative value.
2286 * gdb.trace/trace-condition.exp: Likewise.
2287
c1862d0f
YQ
22882015-11-13 Yao Qi <yao.qi@linaro.org>
2289
2290 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2291 comments about d10v.
2292 (test_scalar_returns): Likewise.
2293 * gdb.base/d10v.ld: Remove.
2294 * gdb.base/overlays.exp: Remove the target triplet checking for
2295 d10v-*-*.
2296 * gdb.base/structs.exp (test_struct_returns): Remove the
2297 comments about d10v.
2298 (test_struct_calls): Likewise.
2299
77ae9c19
YQ
23002015-11-13 Yao Qi <yao.qi@linaro.org>
2301
2302 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2303 * gdb.base/gnu_vector.c: Don't include stdio.h.
2304 (main): Don't print res and call add_some_intvecs.
2305
430e004e
MK
23062015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2307
2308 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2309 macro.
2310 (func5): Removed.
2311 (func4): Use FAST_TRACEPOINT_LABEL.
2312 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2313 macro.
2314 (func): Removed.
2315 (thread_function): Use FAST_TRACEPOINT_LABEL.
2316 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2317 (func): Remove.
2318 (marker): Use FAST_TRACEPOINT_LABEL.
2319 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2320 (pendfunc1): Remove.
2321 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2322 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2323 (foo): Remove.
2324 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2325 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2326 macro.
2327 (func): Remove.
2328 (marker): Use FAST_TRACEPOINT_LABEL.
2329 * gdb.trace/trace-common.h: New header.
2330 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2331 macro.
2332 (func): Remove.
2333 (marker): Use FAST_TRACEPOINT_LABEL.
2334 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2335 (func): Remove.
2336 (thread_function): Use FAST_TRACEPOINT_LABEL.
2337
6e7675a7
MK
23382015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2339
2340 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2341 in front.
2342 * gdb.trace/change-loc.exp: Use global pcreg definition.
2343 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2344 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2345 in front.
2346 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2347 * gdb.trace/pending.exp: Likewise.
2348 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2349 * gdb.trace/trace-break.exp: Likewise.
2350 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2351 in front.
2352 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2353 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2354 in front.
2355 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2356
dddc0e16
JB
23572015-11-09 Joel Brobecker <brobecker@adacore.com>
2358
2359 * gdb.ada/fin_fun_out: New testcase.
2360
c6f0b406
KB
23612015-11-07 Kevin Buettner <kevinb@redhat.com>
2362
2363 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2364 value associated with DW_AT_byte_size.
2365 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2366 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2367 DW_AT_upper_bound.
2368
f01dcfd9
KB
23692015-11-07 Kevin Buettner <kevinb@redhat.com>
2370
2371 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2372 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2373 version.
2374 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2375 gdb.dwarf2/dw2-canonicalize-type.exp,
2376 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2377 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2378 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2379 provided by gdb_target_symbol_prefix_flags_asm.
2380 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2381 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2382 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2383 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2384 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2385 macros where needed). Use this macro for symbols which require
2386 the prefix provided by SYMBOL_PREFIX.
2387
2223449a
KB
23882015-11-05 Kevin Buettner <kevinb@redhat.com>
2389
2390 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2391 New procs.
2392 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2393 representing expressions, of more than one list element.
2394 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2395 to prepend linker symbol prefix to f.
2396 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2397 table_1 and table_2.
2398 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2399 Likewise, for f and g.
2400 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2401 for ptr.
2402 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2403 for main.
2404 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2405 table_1_ptr and table_2_ptr.
2406
6f2f1a3a
JK
24072015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2408 Joel Brobecker <brobecker@adacore.com>
2409
2410 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2411
566c56c9
MK
24122015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2413
2414 * gdb.reverse/s390-mvcle.c: New test.
2415 * gdb.reverse/s390-mvcle.exp: New file.
2416 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2417
d5f0636b
MK
24182015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2419
2420 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2421
7ad8b86c
MK
24222015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2423
2424 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2425 reaching marker2.
2426 * gdb.reverse/getresuid-reverse.exp: Likewise.
2427 * gdb.reverse/pipe-reverse.exp: Likewise.
2428 * gdb.reverse/readv-reverse.exp: Likewise.
2429 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2430 * gdb.reverse/time-reverse.exp: Likewise.
2431 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2432
4081c0f1
YQ
24332015-10-30 Yao Qi <yao.qi@linaro.org>
2434
2435 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2436 (empty_cycle): Remove.
2437 (main): Don't call empty_cycle. Don't use watch_count_done.
2438 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2439 empty_cycle. Rewrite the code counting HW watchpoints.
2440
452b4ba5
MK
24412015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2442
2443 * gdb.reverse/fstatat-reverse.c: New test.
2444 * gdb.reverse/fstatat-reverse.exp: New file.
2445 * gdb.reverse/getresuid-reverse.c: New test.
2446 * gdb.reverse/getresuid-reverse.exp: New file.
2447 * gdb.reverse/pipe-reverse.c: New test.
2448 * gdb.reverse/pipe-reverse.exp: New file.
2449 * gdb.reverse/readv-reverse.c: New test.
2450 * gdb.reverse/readv-reverse.exp: New file.
2451 * gdb.reverse/recvmsg-reverse.c: New test.
2452 * gdb.reverse/recvmsg-reverse.exp: New file.
2453 * gdb.reverse/time-reverse.c: New test.
2454 * gdb.reverse/time-reverse.exp: New file.
2455 * gdb.reverse/waitpid-reverse.c: New test.
2456 * gdb.reverse/waitpid-reverse.exp: New file.
2457
5e2e7507
JK
24582015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2459
2460 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2461
0fde2c53
DE
24622015-10-26 Doug Evans <dje@google.com>
2463
2464 PR symtab/17391
2465 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2466 * gdb.dwarf2/bad-regnum.c: New file.
2467 * gdb.dwarf2/bad-regnum.exp: New file.
2468
1a70ae97
DE
24692015-10-26 Doug Evans <dje@google.com>
2470
2471 PR python/18938
2472 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2473 file.
2474
27dc26ab
JK
24752015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2476
2477 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2478 for a change by "Mention language in compile error message".
2479
bed91f4d
SM
24802015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2481
2482 PR python/18073
2483 * gdb.python/py-type.c (C::a_method): New.
2484 (C::a_const_method): New.
2485 (C::a_static_method): New.
2486 (a_function): New.
2487 * gdb.python/py-type.exp (test_fields): Test getting fields
2488 from function and method.
2489
3f2f83dd
KB
24902015-10-21 Keven Boell <keven.boell@intel.com>
2491
2492 * gdb.fortran/vla-alloc-assoc.exp: New file.
2493 * gdb.fortran/vla-datatypes.exp: New file.
2494 * gdb.fortran/vla-datatypes.f90: New file.
2495 * gdb.fortran/vla-history.exp: New file.
2496 * gdb.fortran/vla-ptype-sub.exp: New file.
2497 * gdb.fortran/vla-ptype.exp: New file.
2498 * gdb.fortran/vla-sizeof.exp: New file.
2499 * gdb.fortran/vla-sub.f90: New file.
2500 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2501 * gdb.fortran/vla-value-sub-finish.exp: New file.
2502 * gdb.fortran/vla-value-sub.exp: New file.
2503 * gdb.fortran/vla-value.exp: New file.
2504 * gdb.fortran/vla-ptr-info.exp: New file.
2505 * gdb.mi/mi-vla-fortran.exp: New file.
2506 * gdb.mi/vla.f90: New file.
2507
27145d50
SL
25082015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2509
2510 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2511 of hardwired timeout value.
2512
5f3ff4f8
JK
25132015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2514 Pedro Alves <palves@redhat.com>
2515
2516 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2517 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2518
bfd09d20
JS
25192015-10-19 Josh Stone <jistone@redhat.com>
2520
2521 * gdb.base/catch-syscall.c: Include <sched.h>.
2522 (unknown_syscall): New variable.
2523 (main): Trigger a vfork and an unknown syscall.
2524 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2525 (unknown_syscall_number): Likewise.
2526 (check_call_to_syscall): Accept an optional syscall pattern.
2527 (check_return_from_syscall): Likewise.
2528 (check_continue): Likewise.
2529 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2530 (test_catch_syscall_skipping_return): New test toggling off 'catch
2531 syscall' to step over the syscall return, then toggling back on.
2532 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2533 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2534 (do_syscall_tests): Call test_catch_syscall_without_args and
2535 test_catch_syscall_mid_vfork.
2536 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2537 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2538
b32b93c6
AS
25392015-10-19 Andrew Stubbs <ams@codesourcery.com>
2540
2541 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2542 print g_vE): Add new pass patterns.
2543 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2544 print various symbol names for vptr fields.
2545
9d622bda
AB
25462015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2547
2548 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2549 results.
2550
0fd8ac1c
YQ
25512015-10-12 Yao Qi <yao.qi@linaro.org>
2552
2553 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2554
34240514
YQ
25552015-10-12 Yao Qi <yao.qi@linaro.org>
2556
2557 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2558 is aarch64*-*-linux*.
2559
8240f442
YQ
25602015-10-12 Yao Qi <yao.qi@linaro.org>
2561
2562 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2563 (can_relocate_bcond_true): ... it.
2564 (can_relocate_bcond_false): New function.
2565 (foo): Likewise.
2566 (can_relocate_bl): Likewise.
2567 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2568 can_relocate_bl.
2569
2520f728
PMR
25702015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2571
2572 * gdb.base/nested-addr.c: New file.
2573 * gdb.base/nested-addr.exp: New testcase.
2574
abcef95a
MM
25752015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2576
2577 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2578 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2579 its output. Ignore the output of "record goto begin" and instead
2580 check that GDB is replaying.
2581
145e3ddb
PA
25822015-10-09 Pedro Alves <palves@redhat.com>
2583
2584 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2585 (top level): Use it in the run with no args test.
2586
d5d8c4e1
IB
25872015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2588
2589 * gdb.dlang/properties.exp: New file.
2590
06e635ef
SL
25912015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2592
2593 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2594 whether or not address 0x1000 is mapped on the target.
2595
e019fd1d
SM
25962015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2597
2598 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2599 build.
2600
77ba2a67
MM
26012015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2602
2603 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2604 instruction-history test.
2605
c60eb31f
DE
26062015-09-28 Doug Evans <dje@google.com>
2607
2608 * gdb.base/gcore.c (array_func): Add reference to static_array.
2609
9a3c8263
SM
26102015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2611
2612 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2613 source line.
2614
9720e656
SL
26152015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2616
2617 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2618 short or char as base type.
2619
938d3bf2
SL
26202015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2621
2622 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2623 to allow any size enum.
2624
e6c2c623
PMR
26252015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2626
2627 * gdb.ada/array_ptr_renaming.exp: New testcase.
2628 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2629 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2630
06da0f77
PL
26312015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2632
2633 * gdb.trace/ftrace-lock.c: New file.
2634 * gdb.trace/ftrace-lock.exp: New file.
2635
4f51c22a
PL
26362015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2637
2638 * gdb.arch/insn-reloc.c: New file.
2639 * gdb.arch/ftrace-insn-reloc.exp: New file.
2640
7041adf4
PL
26412015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2642
2643 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2644 instruction.
2645 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2646 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2647 * gdb.trace/range-stepping.c: Likewise.
2648 * gdb.trace/trace-break.c: Likewise.
2649 * gdb.trace/trace-mt.c (thread_function): Likewise.
2650 * gdb.trace/ftrace.c (marker): Likewise.
2651 * gdb.trace/trace-condition.c (marker): Likewise.
2652 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2653 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2654 is_aarch64_target.
2655
015d2e7e
DE
26562015-09-18 Doug Evans <xdje42@gmail.com>
2657
2658 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2659 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2660
26b188a2
SL
26612015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2662
2663 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2664 the breakpoint.
2665
79dc332b
SL
26662015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2667
2668 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2669 the pending breakpoint. Remove timeout override for "Run till
2670 MI pending breakpoint on pendfunc3 on thread 2" test.
2671
f57929f2
SL
26722015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2673
2674 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2675 filename pattern.
2676
3f469b17
SL
26772015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2678
2679 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2680 in breakpoint filename pattern.
2681
515b89b3
SL
26822015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2683
7800dbe4
SL
2684 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2685
26862015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2687
515b89b3
SL
2688 * gdb.linespec/explicit.exp: Check for readline support for
2689 tab-completion tests. Fix obvious typo.
2690
d2939ba2
MM
26912015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2692
2693 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2694 and replay.
2695
cbb55fa7
MM
26962015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2697
2698 * gdb.btrace/non-stop.c: New.
2699 * gdb.btrace/non-stop.exp: New.
2700
43691ca1
PL
27012015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2702 Yao Qi <yao.qi@linaro.org>
2703
2704 * gdb.trace/trace-condition.c: New file.
2705 * gdb.trace/trace-condition.exp: New file.
2706
d78908cf
WW
27072015-09-16 Wei-cheng Wang <cole945@gmail.com>
2708
2709 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2710 for testing bytecode compilation.
2711
1ed415e2
PA
27122015-09-16 Pedro Alves <palves@redhat.com>
2713 Sandra Loosemore <sandra@codesourcery.com>
2714
2715 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2716 (SECONDS): Redefine.
2717 (main): Call pthread_kill and alarm early.
2718 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2719 support.
2720 (test): If the target can't hardware step and doesn't support
2721 displaced stepping, increase the timeout.
2722
d136eff5
PA
27232015-09-16 Pedro Alves <palves@redhat.com>
2724
2725 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2726 (enable_debug): New procedures.
2727 (test): Use them. Bail out if waiting for threads fails.
2728 (top level): Bail out if a test fails.
2729
991f019c
YQ
27302015-09-16 Yao Qi <yao.qi@linaro.org>
2731
2732 * gdb.asm/asm-source.exp: Set asm-arch for
2733 aarch64*-*-* target.
2734 * gdb.asm/aarch64.inc: New file.
2735
bfca584f
PMR
27362015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2737
2738 * gdb.ada/array_of_variable_length.exp: New testcase.
2739 * gdb.ada/array_of_variable_length/foo.adb: New file.
2740 * gdb.ada/array_of_variable_length/pck.adb: New file.
2741 * gdb.ada/array_of_variable_length/pck.ads: New file.
2742
b326e587
DE
27432015-09-15 Doug Evans <dje@google.com>
2744
2745 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2746 of function static local variable.
2747
5382cfab
PW
27482015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2749
2750 * gdb.threads/tls-so_extern.exp: New test file.
2751 * gdb.threads/tls-so_extern.c: New test file.
2752 * gdb.threads/tls-so_extern_main.c: New test file.
2753
141c5cc4
JK
27542015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2755
2756 * gdb.opt/solib-intra-step-lib.c: New file.
2757 * gdb.opt/solib-intra-step-main.c: New file.
2758 * gdb.opt/solib-intra-step.exp: New file.
2759
d15dcecd
PA
27602015-09-15 Pedro Alves <palves@redhat.com>
2761
2762 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2763 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2764
4c2f2a79
PA
27652015-09-14 Pedro Alves <palves@redhat.com>
2766
2767 * gdb.base/hook-stop-continue.c: Delete.
2768 * gdb.base/hook-stop-continue.exp: Delete.
2769 * gdb.base/hook-stop-frame.c: Delete.
2770 * gdb.base/hook-stop-frame.exp: Delete.
2771 * gdb.base/hook-stop.c: New file.
2772 * gdb.base/hook-stop.exp: New file.
2773
919e6dbe
PMR
27742015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2775
2776 * gdb.ada/access_to_packed_array.exp: New testcase.
2777 * gdb.ada/access_to_packed_array/foo.adb: New file.
2778 * gdb.ada/access_to_packed_array/pack.adb: New file.
2779 * gdb.ada/access_to_packed_array/pack.ads: New file.
2780
157280a4
MM
27812015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2782
2783 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2784 buffer size test.
2785
2fd33e94
DB
27862015-09-11 Don Breazeal <donb@codesourcery.com>
2787
2788 * gdb.base/foll-exec.c: Add copyright header. Fix
2789 formatting issues.
2790 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2791 (do_exec_tests): Use clean_restart in place of zap_session,
2792 and for test initialization. Fix formatting issues. Use
2793 fail in place of perror.
2794 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2795 an expect statement to match an expression with output from
2796 the program under debug.
2797 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2798 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2799 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2800 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2801 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2802
e70b6e8e
DE
28032015-09-09 Doug Evans <dje@google.com>
2804
2805 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2806
7a551a51
DE
28072015-09-09 Doug Evans <dje@google.com>
2808
2809 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2810
4c666f84
DE
28112015-09-09 Doug Evans <dje@google.com>
2812
2813 * gdb.base/savedregs.exp: Fix typo.
2814
243a9253
PA
28152015-09-09 Pedro Alves <palves@redhat.com>
2816
2817 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2818
c0fa8fbd
SL
28192015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2820
2821 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
2822 command actually switches threads. Give up on remaining
2823 tests if target fails to stop at breakpoint.
2824
cd7c1778
PMR
28252015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2826
2827 * gdb.ada/funcall_char.exp: New testcase.
2828 * gdb.ada/funcall_char/foo.adb: New file.
2829
dc5c8746
PMR
28302015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2831
2832 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2833 expected outputs. Add two testcases for completing ambiguous
2834 functions.
2835 * gdb.ada/complete/aux_pck.adb: New file.
2836 * gdb.ada/complete/aux_pck.ads: New file.
2837 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2838 Ambiguous_Func functions.
2839 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2840 * gdb.ada/complete/pck.adb: Likewise.
2841
4e83a1e7
UW
28422015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2843
2844 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2845 failures to run the test program under GDB.
2846
8ce74153
LM
28472015-08-26 Luis Machado <lgustavo@codesourcery.com>
2848
2849 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2850 to C.
2851
e9756d52
PP
28522015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2853
2854 * gdb.base/run-after-attach.exp: New test file.
2855 * gdb.base/run-after-attach.c: New test file.
2856
8d37573b
DB
28572015-08-26 Don Breazeal <donb@codesourcery.com>
2858
2859 * gdb.base/foll-exec-2.c: New test program.
2860 * gdb.base/foll-exec-2.exp: New test.
2861
63e43d3a
PMR
28622015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2863
2864 * gdb.base/nested-subp1.exp: New file.
2865 * gdb.base/nested-subp1.c: New file.
2866 * gdb.base/nested-subp2.exp: New file.
2867 * gdb.base/nested-subp2.c: New file.
2868 * gdb.base/nested-subp3.exp: New file.
2869 * gdb.base/nested-subp3.c: New file.
2870
3d40fbb5
PA
28712015-08-24 Pedro Alves <palves@redhat.com>
2872
2873 * gdb.server/connect-without-multi-process.c: New file.
2874 * gdb.server/connect-without-multi-process.exp: New file.
2875
4422ac93
LM
28762015-08-24 Luis Machado <lgustavo@codesourcery.com>
2877
2878 * gdb.opt/inline-markers.c: Make z int.
2879
91dddb86
LM
28802015-08-24 Luis Machado <lgustavo@codesourcery.com>
2881
2882 * gdb.opt/inline-markers.c: Make z volatile.
2883
a48847ee
LM
28842015-08-24 Luis Machado <lgustavo@codesourcery.com>
2885
2886 * gdb.opt/inline-bt.c: New volatile global z.
2887 * gdb.opt/inline-cmds.c: Likewise.
2888 * gdb.opt/inline-locals.c: Likewise.
2889 * gdb.opt/inline-markers.c: New extern global z.
2890 (marker): Use z.
2891 (inline_fn): Likewise.
2892
0ebbc52b
PA
28932015-08-24 Pedro Alves <palves@redhat.com>
2894
2895 * config/m32r-stub.exp: Remove file.
2896 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2897 * gdb.base/call-rt-st.exp: Likewise.
2898 * gdb.base/call-strs.exp: Likewise.
2899 * gdb.base/default.exp: Remove references to h8300-*-hms and
2900 *-*-udi*.
2901 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2902
77c365df
AA
29032015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2904
2905 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2906 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2907 and "return" use KFAIL when GDB can not read/write the vector
2908 return value.
2909
4313b8c0
GB
29102015-08-21 Gary Benson <gbenson@redhat.com>
2911
2912 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2913
0e433b32
PA
29142015-08-20 Pedro Alves <palves@redhat.com>
2915
2916 * gdb.server/solib-list.exp: No longer expect an interior stop in
2917 non-stop mode.
2918
221e1a37
PA
29192015-08-20 Pedro Alves <palves@redhat.com>
2920
2921 * gdb.server/connect-stopped-target.c: New file.
2922 * gdb.server/connect-stopped-target.exp: New file.
2923
40e3ad0e
PA
29242015-08-20 Pedro Alves <palves@redhat.com>
2925
2926 * gdb.dwarf2/comp-unit-lang.exp: New file.
2927 * gdb.dwarf2/comp-unit-lang.c: New file.
2928
af39b327
PMR
29292015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2930
2931 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2932 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2933
7d45c7c3 29342015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 2935
7d45c7c3
KB
2936 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2937 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2938
4d6cceb4
DE
29392015-08-18 Doug Evans <dje@google.com>
2940 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2941
2942 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2943 skip_python_tests. New arg prompt_regexp.
2944 (skip_python_tests): New function.
2945 * lib/mi-support.exp (mi_skip_python_tests): New function.
2946 * gdb.python/py-mi-objfile-gdb.py: New file.
2947 * gdb.python/py-mi-objfile.c: New file.
2948 * gdb.python/py-mi-objfile.exp: New file.
2949
ad89c2aa
KS
29502015-08-17 Keith Seitz <keiths@redhat.com>
2951
2952 * gdb.linespec/explicit.exp: Move strace test from here ...
2953 * gdb.trace/strace.exp: ... to here.
2954
e3ae3c43
PP
29552015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2956
2957 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2958 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2959
604b2636
DE
29602015-08-14 Doug Evans <xdje42@gmail.com>
2961
2962 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2963 inferior before selecting a new file.
2964
6ff0ba5f
DE
29652015-08-14 Doug Evans <xdje42@gmail.com>
2966
2967 * gdb.mi/mi-disassemble.exp: Update.
2968 * gdb.base/disasm-optim.S: New file.
2969 * gdb.base/disasm-optim.c: New file.
2970 * gdb.base/disasm-optim.h: New file.
2971 * gdb.base/disasm-optim.exp: New file.
2972
9ca98f92
KS
29732015-08-14 Keith Seitz <keiths@redhat.com>
2974
2975 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2976 "evaluated-by".
2977
52bbc560
JB
29782015-08-13 Joel Brobecker <brobecker@adacore.com>
2979
2980 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2981
5d8c3ed3
PMR
29822015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2983
2984 * gdb.ada/fun_renaming.exp: New testcase.
2985 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2986 * gdb.ada/fun_renaming/pack.adb: New file.
2987 * gdb.ada/fun_renaming/pack.ads: New file.
2988
ea8812bc
KS
29892015-08-12 Keith Seitz <keiths@redhat.com>
2990
2991 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2992 gdb_get_line_number.
2993
4dafcdeb
JB
29942015-08-12 Joel Brobecker <brobecker@adacore.com>
2995
2996 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2997 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2998 gdb.base/dso2dso.exp: New files.
2999
5ba32597
SDJ
30002015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
3001 Pedro Alves <palves@redhat.com>
3002 Keith Seitz <keiths@redhat.com>
3003
3004 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
3005 GDBFLAGS.
3006
b6dafabf
PP
30072015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3008
3009 * gdb.base/gdbhistsize-history.exp
3010 (test_histsize_history_setting): Use save_vars.
3011 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3012 Use save_vars.
3013 (test_no_truncation_of_unlimited_history_file): Use save_vars.
3014 * gdb.base/readline.exp: Use save_vars.
3015
abe8e607
PP
30162015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3017
3018 * lib/gdb.exp (save_vars): New proc.
3019
629500fa
KS
30202015-08-11 Keith Seitz <keiths@redhat.com>
3021
3022 * gdb.base/help.exp: Update help_breakpoint_text.
3023
eb8c4e2e
KS
30242015-08-11 Keith Seitz <keiths@redhat.com>
3025
3026 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
3027 (at toplevel): Call test_explicit_breakpoints.
3028 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
3029 breakpoints.
3030 * lib/mi-support.exp (mi_make_breakpoint): Add support for
3031 breakpoint conditions, "-cond".
3032
87f0e720
KS
30332015-08-11 Keith Seitz <keiths@redhat.com>
3034
3035 * gdb.linespec/3explicit.c: New file.
3036 * gdb.linespec/cpexplicit.cc: New file.
3037 * gdb.linespec/cpexplicit.exp: New file.
3038 * gdb.linespec/explicit.c: New file.
3039 * gdb.linespec/explicit.exp: New file.
3040 * gdb.linespec/explicit2.c: New file.
3041 * gdb.linespec/ls-errs.exp: Add explicit location tests.
3042 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
3043 before using in the matching pattern.
3044 Clarify that `prefix' is a regular expression.
3045
f00aae0f
KS
30462015-08-11 Keith Seitz <keiths@redhat.com>
3047
3048 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
3049 test.
3050 Add tests for missing ",FMT" and ",".
3051
e27852be
DE
30522015-08-10 Doug Evans <dje@google.com>
3053 Keith Seitz <keiths@redhat.com>
3054
3055 PR gdb/17960
3056 * gdb.base/completion.exp: Add location completer tests.
3057
7f03bd92
PA
30582015-08-07 Pedro Alves <palves@redhat.com>
3059
3060 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
3061 tests here.
3062 (top level): Run do_test with and without displaced stepping.
3063
3fc8eb30
PA
30642015-08-07 Pedro Alves <palves@redhat.com>
3065
3066 * gdb.base/valgrind-disp-step.c: New file.
3067 * gdb.base/valgrind-disp-step.exp: New file.
3068
d4569d7b
PA
30692015-08-07 Pedro Alves <palves@redhat.com>
3070
3071 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
3072 Delete function.
3073 (main): Add alarm. Run an infinite loop instead of calling
3074 wait_threads.
3075 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
3076 comment.
3077 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
3078 Delete function.
3079 (main): Add alarm. Run an infinite loop instead of calling
3080 wait_threads.
3081 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
3082 comment.
3083
e1316e60
PA
30842015-08-07 Pedro Alves <palves@redhat.com>
3085
3086 * gdb.base/checkpoint-ns.exp: New file.
3087 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
3088 standard_testfile.
3089
da8c46d2
MM
30902015-08-07 Markus Metzger <markus.t.metzger@intel.com>
3091
3092 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
3093 * gdb.btrace/instruction_history.exp: Update.
3094 * gdb.btrace/tsx.exp: New.
3095 * gdb.btrace/tsx.c: New.
3096
de1c2c52
PA
30972015-08-06 Pedro Alves <palves@redhat.com>
3098
3099 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
3100 increase timeout.
3101 * gdb.reverse/until-precsave.exp: Bump timeouts.
3102
782e0bf4
PA
31032015-08-06 Pedro Alves <palves@redhat.com>
3104
3105 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
3106
83e97ed0
PA
31072015-08-06 Pedro Alves <palves@redhat.com>
3108
3109 PR gdb/18749
3110 * gdb.threads/process-dies-while-handling-bp.c: New file.
3111 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3112
863d01bd
PA
31132015-08-06 Pedro Alves <palves@redhat.com>
3114
3115 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3116 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3117
0a39bb32
PA
31182015-08-05 Pedro Alves <palves@redhat.com>
3119
3120 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3121 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3122
ee2d2b10
SL
31232015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3124
3125 * gdb.base/bp-permanent.exp: Report test as unsupported if
3126 the target cannot stop at the permanent breakpoint.
3127
4e1bdb00
DE
31282015-08-03 Doug Evans <dje@google.com>
3129
3130 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3131 10000.
3132
3d338901
DE
31332015-08-03 Doug Evans <dje@google.com>
3134
3135 * Makefile.in (workers/%.worker, build-perf): New rule.
3136 (GDB_PERFTEST_MODE): New variable.
3137 (check-perf): Use it.
3138 (clean): Clean up gdb.perf parallel build subdirs.
3139 * lib/build-piece.exp: New file.
3140 * lib/gdb.exp (make_gdb_parallel_path): New function
3141 (standard_output_file, standard_temp_file): Call it.
3142 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3143 of $GDB_PARALLEL.
3144 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3145
af061d3e
DE
31462015-08-03 Doug Evans <dje@google.com>
3147
8e1afc81 3148 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
3149 (LOG_FILE_NAME): New global.
3150 (TextReporter.__init__): Initialize self.txt_sum.
3151 (TextReporter.report): Add support for multiple data-points.
3152 Move report to perftest.sum, put raw data in perftest.log.
3153 (TextReporter.start): Open sum and log files.
3154 (TextReporter.end): Close sum and log files.
8e1afc81
DE
3155 * gdb.perf/lib/perftest/testresult.py
3156 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 3157
2c8c5d37
PA
31582015-07-31 Pedro Alves <palves@redhat.com>
3159
3160 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3161 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3162 kill_wait_spawned_process instead of explicit "kill -9".
3163 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3164 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3165 kill_wait_spawned_process.
3166 * gdb.base/attach-twice.exp: Likewise.
3167 * gdb.base/attach.exp: Likewise.
3168 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3169 gdb_test_multiple.
3170 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3171 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3172 kill_wait_spawned_process.
3173 * gdb.base/valgrind-infcall.exp: Likewise.
3174 * gdb.multi/multi-attach.exp: Likewise.
3175 * gdb.python/py-prompt.exp: Likewise.
3176 * gdb.python/py-sync-interp.exp: Likewise.
3177 * gdb.server/ext-attach.exp: Likewise.
3178 * gdb.threads/attach-into-signal.exp (corefunc): Use
3179 spawn_wait_for_attach, spawn_id_get_pid and
3180 kill_wait_spawned_process.
3181 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3182 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3183 spawn_id_get_pid and kill_wait_spawned_process.
3184 * gdb.threads/attach-stopped.exp (corefunc): Use
3185 spawn_wait_for_attach, spawn_id_get_pid and
3186 kill_wait_spawned_process.
3187 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3188 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3189 kill_wait_spawned_process instead of explicit "kill -9".
3190 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3191 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3192 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3193 processes. Don't map cygwin/windows pids here. Now returns a
3194 spawn id list.
3195
032a0fca
SL
31962015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3197
3198 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3199 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3200 correct patch.
3201
61a934ca
SL
32022015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3203
3204 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3205
4bc4d428
SL
32062015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3207
3208 Reapply:
3209 2014-05-21 Mark Wielaard <mjw@redhat.com>
3210
3211 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3212
998d452a
PA
32132015-07-30 Pedro Alves <palves@redhat.com>
3214
3215 * linux-low.c (handle_extended_wait): Set the child's last
3216 reported status to TARGET_WAITKIND_STOPPED.
3217
69dde7dc
PA
32182015-07-30 Pedro Alves <palves@redhat.com>
3219
3220 PR threads/18600
3221 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3222 only shows inferior 1.
3223
4dd63d48
PA
32242015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3225 Pedro Alves <palves@redhat.com>
3226
3227 PR threads/18600
3228 * gdb.threads/fork-plus-threads.c: New file.
3229 * gdb.threads/fork-plus-threads.exp: New file.
3230
d618e4c5
PP
32312015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3232
3233 * gdb.base/batch-preserve-term-settings.exp
3234 (test_terminal_settings_preserved_after_cli_exit): Use
3235 send_quit_command.
3236
1eef6428
PA
32372015-07-29 Pedro Alves <palves@redhat.com>
3238 Don Breazeal <donb@codesourcery.com>
3239
3240 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3241 output from both inferior_spawn_id and gdb_spawn_id.
3242
7da5b897
SDJ
32432015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3244
3245 * gdb.threads/attach-into-signal.exp (corefunc): Use
3246 with_test_prefix on nested loops, uniquefying the test messages.
3247
dac804df
SDJ
32482015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3249
3250 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3251 commit.
3252
06265e53
PP
32532015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3254
3255 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3256 New proc.
3257 (test_terminal_settings_preserved_after_sigterm): New test.
3258
18206ca3
PP
32592015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3260
3261 * gdb.base/batch-preserve-term-settings.exp
3262 (test_terminal_settings_preserved_after_cli_exit): New test.
3263
90074d11
PP
32642015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3265
3266 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3267 manipulation of saved_gdbflags.
3268 (test_terminal_settings_preserved): Remove global declaration of
3269 the unused variable pagination_prompt. Remove manipulation of
3270 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3271 GDBFLAGS.
3272
eb1a7902
PA
32732015-07-29 Pedro Alves <palves@redhat.com>
3274
3275 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3276
8b75dd3b
PA
32772015-07-29 Pedro Alves <palves@redhat.com>
3278
3279 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3280 at the top.
3281
dedad4e3
PA
32822015-07-29 Pedro Alves <palves@redhat.com>
3283
3284 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3285 (main): Call gdb_unbuffer_output.
3286 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3287 (main): Call gdb_unbuffer_output.
3288 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3289 (main): Call gdb_unbuffer_output.
3290 * gdb.base/call-strs.exp: Adjust to step over the
3291 gdb_unbuffer_output call.
3292 * gdb.base/catch-gdb-caused-signals.c: Include
3293 "../lib/unbuffer_output.c".
3294 (main): Call gdb_unbuffer_output.
3295 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3296 (main): Call gdb_unbuffer_output.
3297 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3298 (main): Call gdb_unbuffer_output.
3299 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3300 (main): Call gdb_unbuffer_output.
3301 * gdb.base/shlib-call.exp: Adjust to step over the
3302 gdb_unbuffer_output call.
3303 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3304 (main): Call gdb_unbuffer_output.
3305 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3306 (main): Call gdb_unbuffer_output.
3307 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3308 (main): Rename to ...
3309 (test): ... this.
3310 (main): Reimplement.
3311 * gdb.base/varargs.exp: Run to test instead of to main.
3312 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3313 (main): Call gdb_unbuffer_output.
3314
58789a91
PA
33152015-07-29 Pedro Alves <palves@redhat.com>
3316
3317 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3318 factore out from mi_continue_dprintf. For call-style dprintfs,
3319 expect dprintf output out of $inferior_spawn_id.
3320 (mi_continue_dprintf): Use mi_expect_dprintf.
3321 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3322 (main): Call gdb_unbuffer_output.
3323
e8376742
PA
33242015-07-29 Pedro Alves <palves@redhat.com>
3325
3326 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3327 (default_mi_gdb_start): Set inferior_spawn_id instead of
3328 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3329 gdb_spawn_id.
3330 (mi_gdb_test): Always expect inferior output from both
3331 $inferior_spawn_id and $gdb_spawn_id.
3332
08280010
PA
33332015-07-29 Pedro Alves <palves@redhat.com>
3334
3335 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3336 send_inferior and $inferior_spawn_id.
3337
4d30e432
PA
33382015-07-29 Pedro Alves <palves@redhat.com>
3339
3340 * gdb.gdb/complaints.exp (test_initial_complaints)
3341 (test_serial_complaints, test_short_complaints): Use
3342 gdb_test_stdio.
3343 (test_empty_complaint): Handle $inferior_spawn_id !=
3344 $gdb_spawn_id.
3345
0d30a335
PA
33462015-07-29 Pedro Alves <palves@redhat.com>
3347
3348 * gdb.base/varargs.exp: Use gdb_test_stdio.
3349
39413b29
PA
33502015-07-29 Pedro Alves <palves@redhat.com>
3351
3352 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3353
7cb000a9
PA
33542015-07-29 Pedro Alves <palves@redhat.com>
3355
3356 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3357
d7b8ac82
PA
33582015-07-29 Pedro Alves <palves@redhat.com>
3359
3360 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3361 parameter into two new parameters, "inf_result" and "gdb_result".
3362 Expect inferior output and gdb output from $inferior_spawn_id and
3363 $gdb_spawn_id, respectively. Adjust all callers.
3364
789c3a0c
PA
33652015-07-29 Pedro Alves <palves@redhat.com>
3366
3367 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3368 of gdb_test_sequence.
3369
77e760c3
PA
33702015-07-29 Pedro Alves <palves@redhat.com>
3371
3372 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3373 (saw_spurious_output): Expect inferior output from
3374 $inferior_spawn_id. Use gdb_test_stdio.
3375
8396d2cd
PA
33762015-07-29 Pedro Alves <palves@redhat.com>
3377
3378 * gdb.base/dprintf.exp: Use standard_testfile. Change
3379 prepare_for_testing call.
3380 (srcfile): Don't set.
3381 (restart): New procedure.
3382 (test_dprintf): New procecure, use to continue over dprintfs.
3383 (test_call, test_agent): New procedures, tests moved here.
3384 Restart gdb and recreate dprintfs. Adjust expected output.
3385
2051d61f
PA
33862015-07-29 Pedro Alves <palves@redhat.com>
3387
3388 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3389
452397af
PA
33902015-07-29 Pedro Alves <palves@redhat.com>
3391
3392 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3393
8aed9555
PA
33942015-07-29 Pedro Alves <palves@redhat.com>
3395
3396 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3397 gdb_test_stdio.
3398
188a61b4
PA
33992015-07-29 Pedro Alves <palves@redhat.com>
3400
3401 * lib/gdb.exp (gdb_test_stdio): New procedure.
3402
12264a45
PA
34032015-07-29 Pedro Alves <palves@redhat.com>
3404
3405 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3406
23ffc893
PA
34072015-07-29 Pedro Alves <palves@redhat.com>
3408
3409 * gdb.base/call-signal-resume.exp: Remove check for
3410 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3411 * gdb.base/unwindonsignal.exp: Likewise.
3412 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3413 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3414
65566918
PA
34152015-07-29 Pedro Alves <palves@redhat.com>
3416
3417 * gdb.base/siginfo-addr.c (pass): New function.
3418 (handler): Call it iff si_addr is correct.
3419 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3420 Set a breakpoint at "pass" and continue to it.
3421
d60a9221
SDJ
34222015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3423
3424 * gdb.python/py-objfile.exp: Make some tests have unique names.
3425 * gdb.python/py-pp-registration.exp: Likewise.
3426
bde40b8f
PA
34272015-07-28 Pedro Alves <palves@redhat.com>
3428
3429 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3430
13e1dec8
SM
34312015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3432
3433 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3434
da33c9a7
SM
34352015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3436
3437 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3438
077836f7
PP
34392015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3440
3441 * gdb.base/gdb-sigterm-2.exp: New test.
3442
b8cc7b2e
DE
34432015-07-25 Doug Evans <xdje42@gmail.com>
3444
3445 Revert:
3446 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3447 (workers/%.worker, build-perf): New rule.
3448 (GDB_PERFTEST_MODE): New variable.
3449 (check-perf): Use it.
3450 (clean): Clean up gdb.perf parallel build subdirs.
3451 * lib/build-piece.exp: New file.
3452 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3453 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3454 name.
3455 (standard_temp_file): Ditto.
3456 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3457 of $GDB_PARALLEL.
3458
c8bd4544
DE
34592015-07-24 Doug Evans <dje@google.com>
3460
3461 * gdb.perf/lib/perftest/utils.py: New file.
3462 * gdb.perf/gm-hello.cc: New file.
3463 * gdb.perf/gm-pervasive-typedef.cc: New file.
3464 * gdb.perf/gm-pervasive-typedef.h: New file.
3465 * gdb.perf/gm-std.cc: New file.
3466 * gdb.perf/gm-std.h: New file.
3467 * gdb.perf/gm-use-cerr.cc: New file.
3468 * gdb.perf/gm-utils.h: New file.
3469 * gdb.perf/gmonster-null-lookup.py: New file.
3470 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3471 * gdb.perf/gmonster-print-cerr.py: New file.
3472 * gdb.perf/gmonster-ptype-string.py: New file.
3473 * gdb.perf/gmonster-runto-main.py: New file.
3474 * gdb.perf/gmonster-select-file.py: New file.
3475 * gdb.perf/gmonster1-null-lookup.exp: New file.
3476 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3477 * gdb.perf/gmonster1-print-cerr.exp: New file.
3478 * gdb.perf/gmonster1-ptype-string.exp: New file.
3479 * gdb.perf/gmonster1-runto-main.exp: New file.
3480 * gdb.perf/gmonster1-select-file.exp: New file.
3481 * gdb.perf/gmonster1.cc: New file.
3482 * gdb.perf/gmonster1.exp: New file.
3483 * gdb.perf/gmonster2-null-lookup.exp: New file.
3484 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3485 * gdb.perf/gmonster2-print-cerr.exp: New file.
3486 * gdb.perf/gmonster2-ptype-string.exp: New file.
3487 * gdb.perf/gmonster2-runto-main.exp: New file.
3488 * gdb.perf/gmonster2-select-file.exp: New file.
3489 * gdb.perf/gmonster2.cc: New file.
3490 * gdb.perf/gmonster2.exp: New file.
3491
6eab34f3
DE
34922015-07-24 Doug Evans <dje@google.com>
3493
3494 * gdb.perf/README: New file.
3495 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3496 * lib/gen-perf-test.exp: New file.
3497
63738bfd
DE
34982015-07-24 Doug Evans <dje@google.com>
3499
3500 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3501 (PerfTest::startup): New function.
3502 (PerfTest::run): Return result of calling body.
3503 (PerfTest::assemble): Rewrite.
3504 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3505 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3506 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3507 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3508 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3509
7b606f95
DE
35102015-07-24 Doug Evans <dje@google.com>
3511
3512 * lib/gdb.exp (clean_restart): Make executable optional.
3513
a97b16b8
DE
35142015-07-24 Doug Evans <dje@google.com>
3515
3516 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3517 compiler_info references.
3518 * gdb.cp/temargs.exp: Ditto.
3519 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3520 (get_compiler_info): Early exit if already computed. Set compiler_info
3521 to "unknown" if there was a problem.
3522 (test_compiler_info): Add function comment. Call get_compiler_info.
3523
35baa57f
DE
35242015-07-24 Doug Evans <dje@google.com>
3525
3526 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3527 (workers/%.worker, build-perf): New rule.
3528 (GDB_PERFTEST_MODE): New variable.
3529 (check-perf): Use it.
3530 (clean): Clean up gdb.perf parallel build subdirs.
3531 * lib/build-piece.exp: New file.
3532 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3533 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3534 name.
3535 (standard_temp_file): Ditto.
3536 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3537 of $GDB_PARALLEL.
3538
6ebea266
DE
35392015-07-24 Doug Evans <dje@google.com>
3540
3541 * lib/future.exp (gdb_default_target_compile): New option
3542 "early_flags".
3543 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3544 --as-needed.
3545
1e76a7e9
SDJ
35462015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3547
3548 * gdb.base/catch-syscall.exp: Call gdb_exit before
3549 gdb_skip_xml_test.
3550
5068630a
PA
35512015-07-24 Pedro Alves <palves@redhat.com>
3552
3553 * gdb.python/py-events.exp: Accept output between the stop event
3554 and the prompt.
3555 * gdb.python/py-evsignal.exp: Likewise.
3556 * gdb.python/py-evthreads.exp: Likewise.
3557
77598427
PA
35582015-07-24 Pedro Alves <palves@redhat.com>
3559
3560 PR gdb/18717
3561 * gdb.threads/non-ldr-exit.c: New file.
3562 * gdb.threads/non-ldr-exit.exp: New file.
3563
11e6c98f
YQ
35642015-07-24 Yao Qi <yao.qi@linaro.org>
3565
3566 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3567 restarting process.
3568
51aee833
YQ
35692015-07-24 Yao Qi <yao.qi@linaro.org>
3570
3571 * gdb.server/ext-restart.exp: New file.
3572
8cfe207c
YQ
35732015-07-24 Yao Qi <yao.qi@linaro.org>
3574
3575 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3576 argument options.
3577 * gdb.server/ext-wrapper.exp: New file.
3578
cc12ce38
DE
35792015-07-23 Doug Evans <dje@google.com>
3580
3581 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3582 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3583
d0d84780
PMR
35842015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3585
3586 * gdb.ada/var_arr_typedef.exp: New testcase.
3587 * gdb.ada/var_arr_typedef/pack.adb: New file.
3588 * gdb.ada/var_arr_typedef/pack.ads: New file.
3589 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3590
8b558f79
JB
35912015-07-20 Joel Brobecker <brobecker@adacore.com>
3592
3593 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3594
775a3298
JK
35952015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3596
3597 * gdb.arch/i386-biarch-core.exp: Replace istarget
3598 by "complete set gnutarget". Remove expectation for the "core-file"
3599 command.
3600
db1ff28b
JK
36012015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3602
3603 Revert the previous commit:
3604 Tests for validate symbol file using build-id.
3605
0a94970d
JK
36062015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3607
3608 Tests for validate symbol file using build-id.
3609 * gdb.base/solib-mismatch-lib.c: New file.
3610 * gdb.base/solib-mismatch-libmod.c: New file.
3611 * gdb.base/solib-mismatch.c: New file.
3612 * gdb.base/solib-mismatch.exp: New file.
3613
03346981
SL
36142015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3615
3616 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3617 nios2-*-linux*.
3618 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3619 * gdb.base/siginfo.exp: Likewise.
3620 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3621
42422cc7
PL
36222015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3623
3624 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3625 Move it to ...
3626 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3627 ... here.
3628 * gdb.trace/range-stepping.exp: Check that the target supports
3629 range stepping.
3630
cfa68bae
JK
36312015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3632
3633 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3634
8ffdba26
PA
36352015-07-14 Pedro Alves <palves@redhat.com>
3636
3637 * gdb.base/killed-outside.exp: New file.
3638 * gdb.base/killed-outside.c: New file.
3639
218a5a11
JK
36402015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3641
3642 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3643 (n at main): New.
3644 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3645
e03ed3c6
AA
36462015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3647
3648 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3649 infcall tests instead of setting up for KFAIL.
3650
485668e5
MM
36512015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3652
3653 * gdb.btrace/record_goto-step.exp: New.
3654
08464196
JK
36552015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3656
3657 PR compile/18484
3658 * gdb.compile/compile.c (struct struct_type): Add volatile to
3659 selffield's type.
3660 * gdb.compile/compile.exp
3661 (compile code struct_object.selffield = &struct_object): Skip further
3662 struct_object tests if this one xfails.
3663
bcf5c1d9
RC
36642015-07-08 Robert O'Callahan <robert@ocallahan.org>
3665
3666 PR exp/18617
3667 * gdb.trace/ax.exp: Add test.
3668
4931af25
YQ
36692015-07-07 Yao Qi <yao.qi@linaro.org>
3670
3671 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3672 instead of istarget "aarch64*-*-*".
3673 * gdb.arch/aarch64-fp.exp: Likewise.
3674 * gdb.base/float.exp: Likewise.
3675 * gdb.reverse/aarch64.exp: Likewise.
3676 * lib/gdb.exp (is_aarch64_target): New proc.
3677
9fcf688e
YQ
36782015-07-07 Yao Qi <yao.qi@linaro.org>
3679
3680 * lib/gdb.exp (is_aarch32_target): New proc.
3681 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3682 instead of "istarget "arm*-*-*"".
3683 * gdb.arch/arm-disp-step.exp: Likewise.
3684 * gdb.arch/thumb-bx-pc.exp: Likewise.
3685 * gdb.arch/thumb-prologue.exp: Likewise.
3686 * gdb.arch/thumb-singlestep.exp: Likewise.
3687 * gdb.base/disp-step-syscall.exp: Likewise.
3688 * gdb.base/float.exp: Likewise.
3689
fbd8d50d
YQ
36902015-07-07 Yao Qi <yao.qi@linaro.org>
3691
3692 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3693 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3694
71be1fdc
YQ
36952015-07-07 Yao Qi <yao.qi@linaro.org>
3696
3697 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3698 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3699 if it exists.
3700 * gdb.multi/multi-arch.exp: Likewise.
3701
3e221d36
SM
37022015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3703
3704 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3705 print.
3706
d441430b
YQ
37072015-07-07 Yao Qi <yao.qi@linaro.org>
3708
3709 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3710
06f810bd
MG
37112015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3712
3713 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3714 '[' and ']' characters.
3715
5e61e7c0
IB
37162015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3717
3718 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3719
28bf096c
PA
37202015-06-29 Pedro Alves <palves@redhat.com>
3721
3722 PR threads/18127
3723 * gdb.threads/hand-call-new-thread.c: New file.
3724 * gdb.threads/hand-call-new-thread.c: New file.
3725
ee93cd5e
KS
37262015-06-26 Keith Seitz <keiths@redhat.com>
3727 Doug Evans <dje@google.com>
3728
3729 PR 16253
3730 * gdb.cp/var-tag-2.cc: New file.
3731 * gdb.cp/var-tag-3.cc: New file.
3732 * gdb.cp/var-tag-4.cc: New file.
3733 * gdb.cp/var-tag.cc: New file.
3734 * gdb.cp/var-tag.exp: New file.
3735
fc637f04
PP
37362015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3737
3738 * gdb.base/history-duplicates.exp: New test.
3739
2e52ae68
PP
37402015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3741
3742 * gdb.base/completion.exp: Test the completion of the "focus"
3743 command.
3744
6e22494e
JK
37452015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3746
3747 * gdb.arch/amd64-prologue-skip.S: New file.
3748 * gdb.arch/amd64-prologue-skip.exp: New file.
3749
bf7b9cd9
SM
37502015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3751
3752 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3753 is_address_zero_readable check.
3754
201e8dfd
PB
37552015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3756
3757 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3758 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3759
5cd867b4
YQ
37602015-06-24 Yao Qi <yao.qi@linaro.org>
3761
3762 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3763 linux targets.
3764
4d7be007
YQ
37652015-06-24 Yao Qi <yao.qi@linaro.org>
3766
3767 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3768 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3769 * gdb.base/siginfo-thread.exp: Likewise.
3770
07fcd301
YQ
37712015-06-22 Yao Qi <yao.qi@linaro.org>
3772
3773 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3774
52042a00
YQ
37752015-06-22 Yao Qi <yao.qi@linaro.org>
3776
3777 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3778 aarch64*-*-*.
3779 (skip_hw_watchpoint_tests): Likewise.
3780
74bd41ce
PP
37812015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3782
3783 * gdb.base/gdbinit-history.exp: Test the interaction between
3784 setting GDBHISTSIZE and setting the history size via .gdbinit.
3785
bc460514
PP
37862015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3787
3788 PR gdb/16999
3789 * gdb.base/gdbhistsize-history.exp: New test.
3790
b58c513b
PP
37912015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3792
3793 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3794 with GDBHISTSIZE.
3795 * gdb.base/readline.exp: Likewise.
3796
92046791
YQ
37972015-06-17 Yao Qi <yao.qi@linaro.org>
3798
3799 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3800 line.
3801
2093d2d3
PP
38022015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3803
3804 * gdb.base/gdbinit-history.exp: Add test case to check that
3805 an unlimited history file does not get truncated on exit.
3806
e6c693af
AA
38072015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3808
3809 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3810 (VECTOR): New macro. Use it...
3811 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3812 ...for these typedefs.
3813 (int8, char1, int1, double1): New typedefs.
3814 (struct just_int2, struct two_int2): New structures.
3815 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3816 (add_structvecs, add_singlevecs): New functions.
3817 (main): Call add_some_intvecs twice.
3818 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3819 the compile and exit upon failure. Try compiling for the "native"
3820 architecture. Test inferior function calls with vector arguments
3821 and vector return value handling with "finish" and "return".
3822
c74f7d1c
JT
38232015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3824
3825 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3826 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3827 PE file.
3828 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3829
98aa42ee
AT
38302015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3831
3832 PR breakpoints/16465
3833 * gdb.mi/mi-dprintf-pending.c: New file.
3834 * gdb.mi/mi-dprintf-pending.exp: New test.
3835 * gdb.mi/mi-dprintf-pendshr.c: New file.
3836
7d73c23c 38372015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 3838 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
3839
3840 * gdb.arch/i386-mpx-map.c: New file.
3841 * gdb.arch/i386-mpx-map.exp: New File.
3842
38432015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3844
3845 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3846 * gdb.arch/i386-mpx.exp: Indentation fixed.
3847
38482015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3849
3850 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3851 function and improved indentation.
3852 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3853 gdb_test_multiple. Added additional tests to skip the test.
3854
38552015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3856
3857 * gdb.arch/i386-avx512.c: Change path in include file.
3858 * gdb.arch/i386-avx512.exp: Change include dir path
3859 compilation flag.
3860 * gdb.arch/i386-mpx.c: Change path in include file.
3861 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3862 flag.
3863
d5eba19a
JK
38642015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3865
3866 * gdb.compile/compile-print.exp (compile print *vararray@3)
3867 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3868
7f361056
JK
38692015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3870
3871 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3872 (do not keep jit in memory): ... this.
3873 (expect 5): Change it to ...
3874 (expect no 5): ... this.
3875
3b462ec2
SM
38762015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3877
3878 PR gdb/15564
3879 * gdb.mi/mi-detach.exp: New file.
3880
e0619de6
JK
38812015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3882
3883 PR symtab/18392
3884 * gdb.arch/amd64-tailcall-self.S: New file.
3885 * gdb.arch/amd64-tailcall-self.c: New file.
3886 * gdb.arch/amd64-tailcall-self.exp: New file.
3887
e970cb34
DB
38882015-05-28 Don Breazeal <donb@codesourcery.com>
3889
3890 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3891 tests for remote targets by checking is_target_gdbserver.
3892
b2e2f908
DE
38932015-05-27 Doug Evans <dje@google.com>
3894
3895 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3896 * gdb.dwarf2/opaque-type-lookup.c: New file.
3897 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3898
82c7be31
DE
38992015-05-26 Doug Evans <dje@google.com>
3900
3901 * gdb.cp/iostream.cc: New file.
3902 * gdb.cp/iostream.exp: New file.
3903
b4f54984
DE
39042015-05-26 Doug Evans <dje@google.com>
3905
3906 * gdb.dwarf2/dw2-op-call.exp: Update.
3907 * gdb.dwarf2/dw4-sig-types.exp: Update.
3908 * gdb.dwarf2/implptr.exp: Update.
3909 * gdb.mi/mi-cmd-param-changed.exp: Update.
3910
4ea6efe9
DE
39112015-05-26 Doug Evans <dje@google.com>
3912
3913 * gdb.python/py-lazy-string.c: New file.
3914 * gdb.python/py-lazy-string.exp: New file.
3915 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3916 (main): Update. Add estring3.
3917 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3918 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3919
f6bb7db3
YQ
39202015-05-26 Omair Javaid <omair.javaid@linaro.org>
3921 Yao Qi <yao.qi@linaro.org>
3922
3923 * gdb.reverse/aarch64.c: New.
3924 * gdb.reverse/aarch64.exp: New.
3925
a81bfbd0
OJ
39262015-05-26 Omair Javaid <omair.javaid@linaro.org>
3927
25d49b86
PA
3928 * lib/gdb.exp (supports_process_record): Return true for
3929 aarch64*-linux*.
a81bfbd0
OJ
3930 (supports_reverse): Likewise.
3931
158bf1b4
PP
39322015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3933
3934 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3935 Use with_test_prefix.
3936
a0145030
AB
39372015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3938
3939 * gdb.base/completion.exp: Add test for completion of layout
3940 names.
3941
ebe3b578
AB
39422015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3943
3944 * lib/gdb.exp (skip_tui_tests): New proc.
3945 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3946
84204ed7
PA
39472015-05-19 Pedro Alves <palves@redhat.com>
3948
3949 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3950 Save the whole env array instead of just HOME. Unset HISTSIZE in
3951 the environment while testing. Restore whole environment
3952 afterwards.
3953
37442ce1
DE
39542015-05-16 Doug Evans <xdje42@gmail.com>
3955
3956 * gdb.guile/scm-ports.c: New file.
3957 * gdb.guile/scm-ports.exp: Add memory port tests.
3958
36de76f9
JK
39592015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3960
3961 * gdb.compile/compile-print.c: New file.
3962 * gdb.compile/compile-print.exp: New file.
3963
3a9558c4
JK
39642015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3965
3966 * gdb.compile/compile-ops.exp: Cast param to void.
3967 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3968 (compile code struct_object.selffield = &struct_object): Add xfail.
3969
aa715135
JG
39702015-05-15 Joel Brobecker <brobecker@adacore.com>
3971
3972 * gdb.ada/arr_enum_with_gap: New testcase.
3973
931e5bc3
JG
39742015-05-15 Joel Brobecker <brobecker@adacore.com>
3975
3976 * gdb.ada/byte_packed_arr: New testcase.
3977
9cd4d857
JB
39782015-05-15 Joel Brobecker <brobecker@adacore.com>
3979
3980 * gdb.ada/pckd_neg: New testcase.
3981
ebfd00d2
PP
39822015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3983
3984 PR gdb/17820
3985 * gdb.base/gdbinit-history.exp: New test.
3986 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3987 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3988
4c082a81
SC
39892015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3990
3991 * gdb.python/py-xmethods.cc: Enhance test case.
3992 * gdb.python/py-xmethods.exp: New tests.
3993 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3994 function.
3995 (B_indexoper): Likewise.
3996 (global_dm_list) : Add new xmethod worker functions.
3997
f7797074
SDJ
39982015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3999
4000 * gdb.base/coredump-filter.exp: Correctly unset
4001 "coredump_var_addr" array.
4002
a4674e4e
PA
40032015-05-08 Pedro Alves <palves@redhat.com>
4004
4005 * gdb.server/non-existing-program.exp: Unset spawn_id.
4006
df2eb078
SC
40072015-05-08 Siva Chandra Reddy <sivachandra@google.com>
4008
4009 PR python/18291
4010 * gdb.python/py-xmethods.exp: Add tests.
4011
422349a3
YQ
40122015-05-08 Yao Qi <yao.qi@linaro.org>
4013
4014 PR gdb/18208
4015 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
4016 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
4017 function set_coredump_filter, and remove remote_exec call.
4018 Remove argument ipid. Callers update.
4019 (top level): Don't get inferior's PID.
4020
63fc80ce
AA
40212015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
4022
4023 * gdb.base/watch_thread_num.exp: Skip test on targets without
4024 access watchpoints.
4025
80ad801e
PA
40262015-05-06 Pedro Alves <palves@redhat.com>
4027
4028 PR server/18081
4029 * gdb.server/non-existing-program.exp: New file.
4030
0fa7fe50
JB
40312015-05-05 Joel Brobecker <brobecker@adacore.com>
4032
4033 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
4034
3ea89b92
PMR
40352015-05-05 Joel Brobecker <brobecker@adacore.com>
4036
4037 * gdb.ada/out_of_line_in_inlined: New testcase.
4038
87b8eff0
JB
40392015-05-05 Joel Brobecker <brobecker@adacore.com>
4040
4041 * gdb.ada/var_rec_arr: New testcase.
4042
5fccc635
YQ
40432015-04-30 Yao Qi <yao.qi@linaro.org>
4044
4045 * gdb.base/break-idempotent.exp: If
4046 skip_hw_watchpoint_multi_tests returns true, skip the tests
4047 on "rwatch" and "awatch".
4048
42d38f42
YQ
40492015-04-30 Yao Qi <yao.qi@linaro.org>
4050
4051 * gdb.base/relativedebug.exp: Invoke gdb command
4052 "info sharedlibrary", and if libc.so doesn't have debug info,
4053 skip the test.
4054
2ce1cdbf
DE
40552015-04-29 Doug Evans <dje@google.com>
4056
4057 * gdb.python/py-xmethods.exp: Add ptype tests.
4058 * gdb.python/py-xmethods.py (E_method_char_worker): Add
4059 get_result_type method.
4060
f24a38c5
LM
40612015-04-29 Luis Machado <lgustavo@codesourcery.com>
4062
4063 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
4064 the target does not support hardware watchpoints.
4065
ecbf2b3c
LM
40662015-04-29 Luis Machado <lgustavo@codesourcery.com>
4067
4068 * gdb.base/break-always.exp: Abort testing if writing to memory
4069 causes an error.
4070
34f5f757
DE
40712015-04-28 Doug Evans <dje@google.com>
4072
4073 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
4074 * gdb.python/py-pp-registration.exp: ... here. New file.
4075 * gdb.python/py-pp-registration.c: New file.
4076 * gdb.python/py-pp-registration.py: New file.
4077
69b4374a
DE
40782015-04-28 Doug Evans <dje@google.com>
4079
4080 * gdb.python/py-bad-printers.c: New file.
4081 * gdb.python/py-bad-printers.py: New file.
4082 * gdb.python/py-bad-printers.exp: New file.
4083
59fb7612
SS
40842015-04-28 Sasha Smundak <asmundak@google.com>
4085
4086 * gdb.python/py-type.exp: New test.
4087
2631b16a
AW
40882015-04-28 Andy Wingo <wingo@igalia.com>
4089
4090 * gdb.python/py-parameter.exp:
4091 * gdb.guile/scm-parameter.exp: Escape the path that we are
4092 matching against, as it might contain characters that are special
4093 to regular expressions.
4094
460efde1
JB
40952015-04-27 Joel Brobecker <brobecker@adacore.com>
4096
4097 * gdb.ada/rec_comp: New testcase.
4098
2d369d8e
SDJ
40992015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
4100
4101 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
4102 before using it.
4103
cf75d6c3
AB
41042015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
4105
4106 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4107 new tests for verilog output.
4108
8dbe7ca5
YQ
41092015-04-24 Yao Qi <yao.qi@linaro.org>
4110
4111 * boards/remote-gdbserver-on-localhost.exp: New file.
4112
4ef9fb2f
PA
41132015-04-23 Pedro Alves <palves@redhat.com>
4114
4115 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4116 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4117 "end of file", remove $inferior_spawn_id from the indirect list.
4118
0a803169
PA
41192015-04-23 Pedro Alves <palves@redhat.com>
4120
4121 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4122
749ef8f8
PA
41232015-04-23 Pedro Alves <palves@redhat.com>
4124
4125 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4126 on $any_spawn_id instead of only on $gdb_spawn_id.
4127
8aae4344
PM
41282015-04-21 Pierre Muller <muller@sourceware.org>
4129
4130 PR pascal/17815
4131 * lib/pascal.exp (gpc_compile): Add new option "class".
4132 (fpc_compile): Likewise.
4133 * gdb.pascal/case-insensitive-symbols.pas: New file.
4134 * gdb.pascal/case-insensitive-symbols.exp: New file.
4135
1586c8fb
GB
41362015-04-20 Gary Benson <gbenson@redhat.com>
4137
4138 * gdb.base/attach.exp: Fix three extended remote failures.
4139
1b6e6f5c
GB
41402015-04-17 Gary Benson <gbenson@redhat.com>
4141
4142 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4143 the main executable over the remote protocol.
4144
e797481d
PA
41452015-04-16 Pedro Alves <palves@redhat.com>
4146
4147 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4148 a new gdbserver if gdbserver_reconnect_p is set.
4149
1ca99c42
PA
41502015-04-16 Pedro Alves <palves@redhat.com>
4151
4152 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4153 is set, don't exit gdbserver.
4154
af9fd6f8
AA
41552015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4156
4157 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4158 appropriate .insn, such that an older assembler can be used.
4159 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4160 the z/Architecture instruction set on 31-bit targets as well.
4161
04ff1e61
AA
41622015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4163
4164 * gdb.go/handcall.exp: Remove all logic related to the first
4165 breakpoint and rely on go_runto_main instead.
4166 * gdb.go/strings.exp: Likewise.
4167 * gdb.go/unsafe.exp: Likewise.
4168 * gdb.go/hello.exp: Likewise. Also rename the remaining
4169 breakpoint marker to "breakpoint 1".
4170 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4171 * gdb.go/strings.go: Likewise.
4172 * gdb.go/unsafe.go: Likewise.
4173 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4174 "set breakpoint 2 here" and rename the remaining breakpoint marker
4175 to "breakpoint 1".
4176
40d2f8d6
SM
41772015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4178
4179 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4180 if itertools.imap is not present.
4181 * gdb.python/py-objfile.exp: Add parentheses.
4182 * gdb.python/py-type.exp: Same.
4183 * gdb.python/py-unwind-maint.py: Same.
4184
8cbc97c6
YQ
41852015-04-15 Yao Qi <yao.qi@linaro.org>
4186
4187 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4188 of ":$ptr_size" and set its form explicitly.
4189
45fd756c
YQ
41902015-04-15 Pedro Alves <palves@redhat.com>
4191 Yao Qi <yao.qi@linaro.org>
4192
4193 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4194 timeout by factor of 4.
4195 (test_regular_watch): Likewise.
4196 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4197 * gdb.reverse/sigall-reverse.exp: Likewise.
4198 * gdb.reverse/until-precsave.exp: Likewise.
4199 * lib/gdb.exp (with_timeout_factor): New proc.
4200 (gdb_expect): Move some code to ...
4201 (get_largest_timeout): ... here. New procedure.
4202
9e811bc3
LM
42032015-04-14 Luis Machado <lgustavo@codesourcery.com>
4204
4205 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4206
0ff6fcb2
LM
42072015-04-13 Luis Machado <lgustavo@codesourcery.com>
4208
4209 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4210 to write to the .text section.
4211
7578d5f7
LM
42122015-04-13 Luis Machado <lgustavo@codesourcery.com>
4213
4214 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4215 Handle the case of targets that do not provide PID information.
4216
2efe15c4
YQ
42172015-04-13 Yao Qi <yao.qi@linaro.org>
4218
4219 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4220 and use expect instead of gdb_expect.
4221
8cd8f2f8
SDJ
42222015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4223
4224 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4225 "coredump_var_addr" to avoid naming conflict with other testcases.
4226
9ee41772
PA
42272015-04-10 Pedro Alves <palves@redhat.com>
4228
4229 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4230 gdb_test_sequence and gdb_assert.
4231
07473109
PA
42322015-04-10 Pedro Alves <palves@redhat.com>
4233
4234 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4235 test messages that don't include the breakpoint address.
4236
de3db44c
YQ
42372015-04-10 Yao Qi <yao.qi@linaro.org>
4238
4239 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4240 false for some offset and width combinations which aren't
4241 supported by linux kernel.
4242
c79d856c
PA
42432015-04-10 Pedro Alves <palves@redhat.com>
4244
4245 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4246 procedure, factored out from ...
4247 (top level): ... here. Add "set displaced-stepping" testing axis.
4248 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4249 parameter "displaced". Use it.
4250 (top level): Use foreach and add "set displaced-stepping" testing
4251 axis.
4252
ebc90b50
PA
42532015-04-10 Pedro Alves <palves@redhat.com>
4254
4255 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4256 Remove comment.
4257 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4258 both the address of the instruction that triggers the watchpoint
4259 and the address of the instruction immediately after, and use
4260 those addresses for the test. Fix comment.
4261
8f572e5c
PA
42622015-04-10 Pedro Alves <palves@redhat.com>
4263
4264 * gdb.base/sigstep.exp (breakpoint_to_handler)
4265 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4266 Test "backtrace" in handler.
4267 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4268 (top level): Add new "displaced" test axis to
4269 breakpoint_to_handler, breakpoint_to_handler_entry and
4270 breakpoint_over_handler.
4271
8d707a12
PA
42722015-04-10 Pedro Alves <palves@redhat.com>
4273
4274 PR gdb/18216
4275 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4276
ef713951
YQ
42772015-04-10 Yao Qi <yao.qi@linaro.org>
4278
4279 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4280 (test_add_rn_pc): New function.
4281 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4282 (top level): Invoke test_add_rn_pc.
4283
906d60cf
PA
42842015-04-10 Pedro Alves <palves@redhat.com>
4285
4286 PR gdb/13858
4287 * gdb.base/step-over-no-symbols.exp: New file.
4288
f2983cc3
AW
42892015-04-09 Andy Wingo <wingo@igalia.com>
4290
4291 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4292 after the Python tests.
4293
6d62641c
SDJ
42942015-04-08 Keith Seitz <keiths@redhat.com>
4295
4296 PR python/16699
4297 * gdb.python/py-completion.exp: New tests for completion.
4298 * gdb.python/py-completion.py (CompleteLimit1): New class.
4299 (CompleteLimit2): Likewise.
4300 (CompleteLimit3): Likewise.
4301 (CompleteLimit4): Likewise.
4302 (CompleteLimit5): Likewise.
4303 (CompleteLimit6): Likewise.
4304 (CompleteLimit7): Likewise.
4305
f3770638
PA
43062015-04-08 Pedro Alves <palves@redhat.com>
4307
4308 PR gdb/18214
4309 PR gdb/18216
4310 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4311 function.
4312 (main): Install it as SIGUSR1 handler.
4313 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4314 parameter. Always use "setup" as prefix. Toggle "set
4315 displaced-stepping" off/on depending on global. Don't switch to
4316 thread 1 here.
4317 (top level): Add displaced stepping "off/on" test axis. Update
4318 "setup" calls. Wrap each subtest with with_test_prefix. Test
4319 continuing with a queued signal in each thread.
4320
4496bed7
PA
43212015-04-08 Pedro Alves <palves@redhat.com>
4322
4323 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4324 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4325 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4326 Return early if running to main fails.
4327 * gdb.trace/while-stepping.exp: Likewise.
4328
b97fde92
PA
43292015-04-07 Pedro Alves <palves@redhat.com>
4330
4331 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4332 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4333 interact with inferior program.
4334
f71c18e7
PA
43352015-04-07 Pedro Alves <palves@redhat.com>
4336
4337 * lib/gdb.exp (inferior_spawn_id): New global.
4338 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4339 spawn id after processing the user code.
4340 (default_gdb_start): Set inferior_spawn_id.
4341 (send_inferior): New procedure.
4342 * lib/gdbserver-support.exp (gdbserver_start): Set
4343 inferior_spawn_id.
4344 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4345
6423214f
PA
43462015-04-07 Pedro Alves <palves@redhat.com>
4347
4348 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4349 * lib/gdbserver-support.exp (gdbserver_start): Make
4350 $server_spawn_id global.
4351 (gdbserver_start): Don't wait for gdbserver's spawn id with
4352 expect_background.
4353 (close_gdbserver): New procedure.
4354 (gdb_exit): Rename the default version and reimplement.
4355
71c0ee8c
PA
43562015-04-07 Pedro Alves <palves@redhat.com>
4357
72f4393d 4358 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
4359 append the substituted item, not the original item.
4360
203bc29b
PA
43612015-04-07 Pedro Alves <palves@redhat.com>
4362
4363 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4364 gdb_expect.
4365
508a3ddf
PA
43662015-04-07 Pedro Alves <palves@redhat.com>
4367
4368 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4369 output appearing once only.
4370
9f6dbe2b
PA
43712015-04-07 Pedro Alves <palves@redhat.com>
4372
4373 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4374 that doesn't expect anything. Return early if running to main
4375 fails.
4376
337532fa
YQ
43772015-04-07 Yao Qi <yao.qi@linaro.org>
4378
4379 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4380 (child_function): Call alarm.
4381 (main): Move call to alarm into the loop.
4382 * gdb.threads/non-stop-fair-events.exp: Build program with
4383 -DTIMEOUT=$timeout.
4384
01b622d4
DE
43852015-04-06 Doug Evans <xdje42@gmail.com>
4386
4387 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4388 Fix dest parameter to board_info.
4389 (fpc_compile): Ditto.
4390 (gdb_compile_pascal): Rename dest arg to destfile.
4391
961f4160
PMR
43922015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4393
4394 * gdb.ada/funcall_ref.exp: New file.
4395 * gdb.ada/funcall_ref/foo.adb: New file.
4396
cafda597
YQ
43972015-04-02 Yao Qi <yao.qi@linaro.org>
4398
4399 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4400 is remote.
4401
fed040c6
GB
44022015-04-02 Gary Benson <gbenson@redhat.com>
4403
4404 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4405
d11916aa
SS
44062015-04-01 Sasha Smundak <asmundak@google.com>
4407
4408 * gdb.python/py-unwind-maint.c: New file.
4409 * gdb.python/py-unwind-maint.exp: New test.
4410 * gdb.python/py-unwind-maint.py: New file.
4411 * gdb.python/py-unwind.c: New file.
4412 * gdb.python/py-unwind.exp: New test.
4413 * gdb.python/py-unwind.py: New test.
4414
a1471180
PA
44152015-04-01 Pedro Alves <palves@redhat.com>
4416
4417 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4418 to fail instead of non-existent $test.
4419
0bbeccb1
PA
44202015-04-01 Pedro Alves <palves@redhat.com>
4421
4422 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4423 GDBFLAGS if not empty.
4424
3c724c8c
PMR
44252015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4426
4427 * gdb.ada/complete.exp: Remove "multi_line".
4428 * gdb.ada/info_exc.exp: Remove "multi_line".
4429 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4430 * gdb.ada/ptype_field.exp: Remove "multi_line".
4431 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4432 * gdb.ada/tagged.exp: Remove "multi_line".
4433 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4434 [multi_line ...]
4435 * gdb.btrace/delta.exp: Likewise.
4436 * gdb.btrace/exception.exp: Likewise.
4437 * gdb.btrace/function_call_history.exp: Likewise.
4438 * gdb.btrace/instruction_history.exp: Likewise.
4439 * gdb.btrace/nohist.exp: Likewise.
4440 * gdb.btrace/record_goto.exp: Likewise.
4441 * gdb.btrace/segv.exp: Likewise.
4442 * gdb.btrace/stepi.exp: Likewise.
4443 * gdb.btrace/tailcall.exp: Likewise.
4444 * gdb.btrace/unknown_functions.exp: Likewise.
4445 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4446 * lib/gdb.exp: Add the "multi_line" helper.
4447
4eec2deb
PA
44482015-04-01 Pedro Alves <palves@redhat.com>
4449
4450 * gdb.threads/tid-reuse.c: New file.
4451 * gdb.threads/tid-reuse.exp: New file.
4452
df8411da
SDJ
44532015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4454
4455 PR corefiles/16092
4456 * gdb.base/coredump-filter.c: New file.
4457 * gdb.base/coredump-filter.exp: Likewise.
4458
6ef37366
PM
44592015-03-27 Petr Machata <pmachata@redhat.com>
4460
4461 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4462 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4463 (Dwarf::assemble): Initialize them.
4464 (Dwarf::lines): New function.
4465
7ec911b0
JT
44662015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4467
4468 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4469 SYMBOL_PREFIX for x86_64-*-cygwin.
4470
ff908ebf
AW
44712015-03-26 Andy Wingo <wingo@igalia.com>
4472
4473 PR symtab/18148
4474 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4475 const_value but not a location.
4476 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4477 location defined in non-main CUs are visible.
4478
6d5f0679
YQ
44792015-03-26 Yao Qi <yao.qi@linaro.org>
4480
4481 PR testsuite/18139
4482 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4483 Add a line number entry for the same line.
4484 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4485 Add a line number entry for the same line.
4486
2898689b
YQ
44872015-03-26 Yao Qi <yao.qi@linaro.org>
4488
4489 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4490 .int 0.
4491 (func): Likewise. Add .Lfunc_1 label.
4492 Use .Lfunc_1 label.
4493 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4494 .int 0.
4495 (func): Likewise.
4496 Use .Lfunc_1 label.
4497
85180498
YQ
44982015-03-26 Yao Qi <yao.qi@linaro.org>
4499
4500 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4501 Call gdb_compile instead to compile each .s files without debug
4502 information.
4503
8aa08a8d
YQ
45042015-03-26 Yao Qi <yao.qi@linaro.org>
4505
4506 * gdb.base/savedregs.exp (process_saved_regs): Make
4507 "Saved registers:" optional in the pattern.
4508
66849923
MM
45092015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4510
4511 * gdb.btrace/next.exp: Merged into step.exp.
4512 * gdb.btrace/finish.exp: Merged into step.exp.
4513 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4514 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4515 "record goto" and checking the exact replay position.
4516 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4517 check for "Recording format" in "info record" output.
4518 * gdb.btrace/record_goto.exp: Choose test file based on target.
4519 * gdb.btrace/x86-record_goto.S: Renamed into ...
4520 * gdb.btrace/x86_64-record_goto.S: ... this.
4521 * gdb.btrace/i686-record_goto.S: New.
4522 * gdb.btrace/x86-tailcall.S: Renamed into ...
4523 * gdb.btrace/x86_64-tailcall.S: ... this.
4524 * gdb.btrace/i686-tailcall.S: New.
4525 * gdb.btrace/x86-tailcall.c: Renamed into ...
4526 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4527 separate statements. Update test.
4528 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4529 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4530 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4531 * gdb.btrace/tailcall.exp: Choose test file based on target.
4532 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4533
11cc1b74
MM
45342015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4535
4536 * gdb.btrace/exception.exp: Increase BTS buffer size.
4537
a25d8bf9
PA
45382015-03-24 Pedro Alves <palves@redhat.com>
4539
4540 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4541
856e7dd6
PA
45422015-03-24 Pedro Alves <palves@redhat.com>
4543
4544 * gdb.threads/schedlock.exp (test_step): No longer expect that
4545 "set scheduler-locking step" with "next" over a function call runs
4546 threads unlocked.
4547
ad235a41
AT
45482015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4549
4550 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4551
15630549
AT
45522015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4553
4554 PR breakpoints/16466
4555 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4556 * gdb.mi/mi-pending.c (thread_func): New function.
4557 (int main): Add threading support required.
4558 * gdb.mi/mi-pending.exp: Add tests for this issue.
4559 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4560 (pendfunc2): Remove stdio dependency.
4561 * gdb.mi/mi-pendshr2.c: New file.
4562
693dca06
KS
45632015-03-23 Keith Seitz <keiths@redhat.com>
4564
4565 * gdb.linespec/keywords.c: New file.
4566 * gdb.linespec/keywords.exp: New file.
4567
7e993ebf
KS
45682015-03-23 Keith Seitz <keiths@redhat.com>
4569
4570 PR gdb/18021
4571 * gdb.dwarf2/staticvirtual.exp: New test.
4572
bc23328c
JK
45732015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4574
4575 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4576 * README: Remove HP-UX and gdb.hp.
4577 (configuration):
4578 * configure: Regenerate.
4579 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4580 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4581 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4582 gdb.hp/gdb.defects/Makefile.
4583 * gdb.hp/Makefile.in: File deleted.
4584 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4585 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4586 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4587 * gdb.hp/gdb.aCC/run.c: File deleted.
4588 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4589 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4590 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4591 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4592 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4593 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4594 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4595 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4596 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4597 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4598 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4599 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4600 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4601 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4602 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4603 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4604 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4605 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4606 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4607 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4608 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4609 * gdb.hp/gdb.compat/average.c: File deleted.
4610 * gdb.hp/gdb.compat/sum.c: File deleted.
4611 * gdb.hp/gdb.compat/xdb.c: File deleted.
4612 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4613 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4614 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4615 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4616 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4617 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4618 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4619 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4620 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4621 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4622 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4623 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4624 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4625 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4626 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4627 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4628 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4629 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4630 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4631 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4632 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4633 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4634 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4635 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4636 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4637 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4638 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4639 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4640 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4641 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4642 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4643 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4644 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4645 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4646 * gdb.hp/tools/odump: File deleted.
4647
8bf3b159
PA
46482015-03-19 Pedro Alves <palves@redhat.com>
4649
4650 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4651 (saw_thread_3): New globals.
4652 (top level): Increment them when an event for the corresponding
4653 thread is seen.
4654 (no thread starvation): New test.
4655
eb54c8bf
PA
46562015-03-19 Pedro Alves <palves@redhat.com>
4657
4658 * gdb.threads/continue-pending-status.c: New file.
4659 * gdb.threads/continue-pending-status.exp: New file.
4660
32d2e5d6
PA
46612015-03-18 Pedro Alves <palves@redhat.com>
4662
4663 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4664 Use gdb_is_target_remote instead of is_remote. Use
4665 gdb_test_multiple instead of gdb_expect. Exit early if
4666 gdb_test_multiple hits its internal matches. Tighten stepi tests
4667 expected output. Fail on exit with any signal, instead of just
4668 SIGILL.
4669
f68f11b7
YQ
46702015-03-18 Yao Qi <yao.qi@linaro.org>
4671
4672 PR tdep/18107
4673 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4674 variable.
4675 * gdb.base/catch-syscall.exp: Don't skip it on
4676 aarch64*-*-linux* target. Remove elements in all_syscalls.
4677 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4678 target.
4679 (setup_all_syscalls): New proc.
4680
ca5fd19b
YQ
46812015-03-16 Yao Qi <yao.qi@linaro.org>
4682
4683 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4684 (top level): Skip tests if valid_addr_p returns false for
4685 $cmd1 or $cmd2.
4686
85642ba0
AW
46872015-03-11 Andy Wingo <wingo@igalia.com>
4688
4689 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4690
e03f9645
YQ
46912015-03-11 Yao Qi <yao.qi@linaro.org>
4692
4693 * gdb.base/catch-syscall.exp: Fix typo in comments.
4694
5d0962b2
YQ
46952015-03-11 Yao Qi <yao.qi@linaro.org>
4696
4697 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4698
b2df3cef
PA
46992015-03-09 Pedro Alves <palves@redhat.com>
4700
4701 * dg-extract-results.py: Delete.
4702
ef878e53
PA
47032015-03-09 Pedro Alves <palves@redhat.com>
4704
4705 Merge dg-extract-results.sh from GCC upstream (r218843).
4706
4707 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4708 * dg-extract-results.sh: Use --text with grep to avoid issues with
4709 binary files. Fall back to cat -v, if that doesn't work.
4710
9494d219
PA
47112015-03-05 Pedro Alves <palves@redhat.com>
4712
4713 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4714
a8d9763a
SM
47152015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4716
4717 * lib/mi-support.exp (mi_expect_interrupt): Accept
4718 alternative event for when in all-stop mode.
4719
be9957b8
PA
47202015-03-04 Pedro Alves <palves@redhat.com>
4721
4722 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4723
d57be0f4 47242015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
4725
4726 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4727
c214c7cf
AA
47282015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4729
4730 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4731 regexps for GDB's current line display, accept a hex address
4732 preceding the line number.
4733
6d74a497
AA
47342015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4735
4736 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4737 the 'arch1' variable for "s390*-linux*" targets.
4738
511aee7c
PA
47392015-03-04 Pedro Alves <palves@redhat.com>
4740
4741 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4742 (main): Pass missing retval argument to pthread_join call.
4743
95e50b27
PA
47442015-03-02 Pedro Alves <palves@redhat.com>
4745
4746 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4747 (top level): Call do_test with non-stop as well.
4748
28054d69
PA
47492015-03-02 Pedro Alves <palves@redhat.com>
4750
4751 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4752 -1.
4753
4fa5d7b4
AA
47542015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4755
4756 * gdb.arch/s390-vregs.exp: New test.
4757 * gdb.arch/s390-vregs.S: New file.
4758
97c18565
PA
47592015-02-27 Pedro Alves <palves@redhat.com>
4760
4761 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4762 call to catch_command_errors.
4763 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4764 catch_command_errors.
4765
a37bfa30
PA
47662015-02-27 Pedro Alves <palves@redhat.com>
4767
4768 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4769 "true" for boolean result.
4770 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4771 prototype of main.
4772
6f98576f
PA
47732015-02-27 Pedro Alves <palves@redhat.com>
4774
4775 * lib/unbuffer_output.c: New file.
4776 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4777 (main): Call gdb_unbuffer_output.
4778
eba5ab56
YQ
47792015-02-27 Yao Qi <yao.qi@linaro.org>
4780
4781 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4782 target.
4783
0def5aaa
DE
47842015-02-26 Doug Evans <dje@google.com>
4785
4786 * gdb.cp/class2.cc (Dbase, D): New classes.
4787 (main): New local delta.
4788 * gdb.cp/class2.exp: Test printing delta.
4789 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4790 (dynbar): New global.
4791 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4792
081a1c2c
JK
47932015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4794
4795 * gdb.compile/compile-ifunc.c: New file.
4796 * gdb.compile/compile-ifunc.exp: New file.
4797
2f41223f
AT
47982015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4799
4800 * gdb.base/structs.exp: Check for correct struct on finish.
4801
03eddd80
YQ
48022015-02-26 Yao Qi <yao.qi@linaro.org>
4803
4804 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4805 is zero.
4806
80c57053
JK
48072015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4808
4809 * gdb.arch/cordic.ko.bz2: New file.
4810 * gdb.arch/cordic.ko.debug.bz2: New file.
4811 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4812
21613c12
YQ
48132015-02-25 Yao Qi <yao.qi@linaro.org>
4814
4815 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4816 aarch64*-*-* target.
4817
d8b901ed
PA
48182015-02-23 Pedro Alves <palves@redhat.com>
4819
4820 * lib/gdb.exp (delete_breakpoints): Rewrite using
4821 gdb_test_multiple.
4822
e5b85ead
PA
48232015-02-23 Pedro Alves <palves@redhat.com>
4824
4825 * gdb.base/info-os.c: Include stdlib.h.
4826
85c3a371
DE
48272015-02-22 Doug Evans <xdje42@gmail.com>
4828
4829 PR symtab/17855
4830 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4831 is read after symbols have been re-read.
4832 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4833 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4834
96553a0c
DE
48352015-02-21 Doug Evans <dje@google.com>
4836
4837 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4838
97a0c697
JK
48392015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4840
4841 PR corefiles/17808
4842 * gdb.arch/i386-biarch-core.core.bz2: New file.
4843 * gdb.arch/i386-biarch-core.exp: New file.
4844
a47cd6e9
PA
48452015-02-21 Pedro Alves <palves@redhat.com>
4846
4847 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4848 runto_main fails.
4849
c5facdc4
PA
48502015-02-20 Pedro Alves <palves@redhat.com>
4851
4852 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4853 info probes.
4854
2db9a427
PA
48552015-02-20 Pedro Alves <palves@redhat.com>
4856
4857 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4858
60fb7e9e
PA
48592015-02-20 Pedro Alves <palves@redhat.com>
4860
4861 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4862 clean_restart before gdb_target_supports_trace.
4863
5c5019c2
PA
48642015-02-20 Pedro Alves <palves@redhat.com>
4865
4866 PR threads/18006
4867 * gdb.threads/clone-thread_db.c: New file.
4868 * gdb.threads/clone-thread_db.exp: New file.
4869
c9587f88
AT
48702015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4871
4872 PR breakpoints/16812
4873 * gdb.base/catch-gdb-caused-signals.c: New file.
4874 * gdb.base/catch-gdb-caused-signals.exp: New file.
4875
f6a88844
JM
48762015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4877
4878 * configure: Regenerated.
4879 * configure.ac: Use GDB_AC_TRANSFORM.
4880 * aclocal.m4: sinclude ../transform.m4.
4881
497c491b
JM
48822015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4883
4884 * lib/dtrace.exp: New file.
4885 * gdb.base/dtrace-probe.exp: Likewise.
4886 * gdb.base/dtrace-probe.d: Likewise.
4887 * gdb.base/dtrace-probe.c: Likewise.
4888 * lib/pdtrace.in: Likewise.
4889 * configure.ac: Output variables with the transformed names of
4890 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4891 * configure: Regenerated.
4892
03e98035
JM
48932015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4894
4895 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4896 expected message when trying to access $_probe_* convenience
4897 variables while not on a probe.
4898
63cc30e9
JK
48992015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4900
4901 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4902
0703599a
PA
49032015-02-11 Pedro Alves <pedro@codesourcery.com>
4904
4905 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4906 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4907
7e60a48e
DE
49082015-02-10 Doug Evans <xdje42@gmail.com>
4909
4910 * lib/gdb.exp (gdb_load): Always return a result.
4911
01b088bc
PA
49122015-02-10 Pedro Alves <palves@redhat.com>
4913
4914 * gdb.threads/signal-sigtrap.c: New file.
4915 * gdb.threads/signal-sigtrap.exp: New file.
4916
b05ec7a5
AT
49172015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4918
4919 * gdb.trace/no-attach-trace.c: New file.
4920 * gdb.trace/no-attach-trace.exp: New file.
4921
a2c2acaf
MW
49222015-02-09 Mark Wielaard <mjw@redhat.com>
4923
4924 * gdb.dwarf2/atomic.c: New file.
4925 * gdb.dwarf2/atomic-type.exp: Likewise.
4926
31fd9caa
MM
49272015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4928
4929 * gdb.btrace/buffer-size.exp: Update "info record" output.
4930 * gdb.btrace/delta.exp: Update "info record" output.
4931 * gdb.btrace/enable.exp: Update "info record" output.
4932 * gdb.btrace/finish.exp: Update "info record" output.
4933 * gdb.btrace/instruction_history.exp: Update "info record" output.
4934 * gdb.btrace/next.exp: Update "info record" output.
4935 * gdb.btrace/nexti.exp: Update "info record" output.
4936 * gdb.btrace/step.exp: Update "info record" output.
4937 * gdb.btrace/stepi.exp: Update "info record" output.
4938 * gdb.btrace/nohist.exp: Update "info record" output.
4939
d33501a5
MM
49402015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4941
4942 * gdb.btrace/buffer-size: New.
4943
f4abbc16
MM
49442015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4945
4946 * gdb.btrace/delta.exp: Update "info record" output.
4947 * gdb.btrace/enable.exp: Update "info record" output.
4948 * gdb.btrace/finish.exp: Update "info record" output.
4949 * gdb.btrace/instruction_history.exp: Update "info record" output.
4950 * gdb.btrace/next.exp: Update "info record" output.
4951 * gdb.btrace/nexti.exp: Update "info record" output.
4952 * gdb.btrace/step.exp: Update "info record" output.
4953 * gdb.btrace/stepi.exp: Update "info record" output.
4954 * gdb.btrace/nohist.exp: Update "info record" output.
4955
b9d61307
SM
49562015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4957
4958 PR gdb/15678
4959 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4960
e584fdbc
PA
49612015-02-06 Pedro Alves <palves@redhat.com>
4962
4963 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4964 macro.
4965 (seconds_left, again): New globals.
4966 (main): Wait seconds_left in a 1-second sleep loop instead of
4967 sleeping 180 seconds. If 'again' is set, reset the seconds
4968 counter.
4969 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4970 'again' in the inferior before detaching. Print the seconds left.
4971 (options): New global.
4972 (top level): Build program with -DTIMEOUT=$timeout.
4973
77f41761
PA
49742015-02-06 Pedro Alves <palves@redhat.com>
4975
4976 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4977 determine how many seconds to pass to 'alarm'.
4978 * gdb.base/gdb-sigterm.exp (top level): Build program with
4979 -DTIMEOUT=$timeout.
4980 (do_test): Return success/failure indication. Add more verbose
4981 logging. Don't fail if 200 single steps are seen. Instead, fail
4982 when the test times out.
4983 (passes): New global.
4984 (top level): Break the testing loop if testing fails on any
4985 iteration. Use gdb_assert.
4986
b9394193
DB
49872015-02-04 Don Breazeal <donb@codesourcery.com>
4988
4989 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4990 and initialize them.
4991 (ipc_cleanup): New function.
4992 (main): Don't declare shmid, semid, and msqid. Add a call to
4993 atexit so that we call ipc_cleanup on exit.
4994
42d9e528
PA
49952015-02-04 Pedro Alves <palves@redhat.com>
4996
4997 * boards/native-extended-gdbserver.exp: Remove any target variant
4998 specifications from the board name before clearing the isremote
4999 flag from board_info.
5000
ae6ae975
DE
50012015-01-31 Doug Evans <xdje42@gmail.com>
5002
5003 * gdb.base/maint.exp <maint print type argc>: Update expected output.
5004
cfb069a8
GB
50052015-01-31 Gary Benson <gbenson@redhat.com>
5006
5007 * gdb.base/completion.exp: Disable completion limiting for
5008 existing tests. Add new tests to check completion limiting.
5009 * gdb.linespec/ls-errs.exp: Disable completion limiting.
5010
5dd31d79
DE
50112015-01-31 Doug Evans <xdje42@gmail.com>
5012
5013 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
5014
9f050062
DE
50152015-01-31 Doug Evans <xdje42@gmail.com>
5016
5017 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
5018 entries. Duplicate file section script entries.
5019 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
5020 inlined entries. Add test for safe-path rejection.
5021 * gdb.python/py-section-script.c: Add duplicate inlined section script
5022 entries. Duplicate file section script entries.
5023 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
5024 inlined entries. Add test for safe-path rejection.
5025
df25ebbd
JB
50262015-01-29 Joel Brobecker <brobecker@adacore.com>
5027
5028 * gdb.ada/disc_arr_bound: New testcase.
5029
4a0ca9ec
JB
50302015-01-29 Joel Brobecker <brobecker@adacore.com>
5031
5032 * gdb.ada/mi_var_array: New testcase.
5033
3a8b707a
DE
50342015-01-27 Doug Evans <dje@google.com>
5035
5036 * gdb.python/py-objfile.exp: Add tests for objfile.username.
5037 Add test for objfile.filename, objfile.username after objfile
5038 has been unloaded.
5039
f8313f6e
JB
50402015-01-26 Joel Brobecker <brobecker@adacore.com>
5041
5042 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
5043 the second test to print the name attribute of value
5044 returned by the call to gdb.lookup_type, and adjust
5045 the expected output accordingly.
5046
37bc665e
MW
50472015-01-25 Mark Wielaard <mjw@redhat.com>
5048
5049 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
5050 * gdb.base/disp-step-fork.c: Include unistd.h.
5051 * gdb.base/siginfo-obj.c: Include stdio.h.
5052 * gdb.base/siginfo-thread.c: Likewise.
5053 * gdb.mi/non-stop.c: Include unistd.h.
5054 * gdb.mi/nsthrexec.c: Include stdio.h.
5055 * gdb.mi/pthreads.c: Include unistd.h.
5056 * gdb.modula2/unbounded1.c (main): Declare returns int.
5057 * gdb.reverse/consecutive-reverse.c: Likewise.
5058 * gdb.threads/create-fail.c: Include unistd.h.
5059 * gdb.threads/killed.c: Likewise.
5060 * gdb.threads/linux-dp.c: Likewise.
5061 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
5062 * gdb.threads/non-ldr-exc-2.c: Likewise.
5063 * gdb.threads/non-ldr-exc-3.c: Likewise.
5064 * gdb.threads/non-ldr-exc-4.c: Likewise.
5065 * gdb.threads/pthreads.c: Include unistd.h.
5066 (main): Declare returns int.
5067 * gdb.threads/tls-main.c (foo): New declaration.
5068 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
5069
f7e5394d
SM
50702015-01-23 Simon Marchi <simon.marchi@ericsson.com>
5071
5072 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
5073 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
5074
743649fd
MW
50752015-01-15 Mark Wielaard <mjw@redhat.com>
5076
5077 * gdb.base/noreturn-return.c: New file.
5078 * gdb.base/noreturn-return.exp: New file.
5079 * gdb.base/noreturn-finish.c: New file.
5080 * gdb.base/noreturn-finish.exp: New file.
5081
198297aa
PA
50822015-01-23 Pedro Alves <palves@redhat.com>
5083
5084 * gdb.threads/continue-pending-after-query.c: New file.
5085 * gdb.threads/continue-pending-after-query.exp: New file.
5086
717cf30c
AG
50872015-01-22 Anders Granlund <anders.granlund@ericsson.com>
5088 Simon Marchi <simon.marchi@ericsson.com>
5089
5090 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
5091 * gdb.base/valgrind-db-attach.exp: Same.
5092 * gdb.base/valgrind-infcall.exp: Same.
5093 * lib/mi-support.exp (default_mi_gdb_start): Same.
5094 * lib/prompt.exp (default_prompt_gdb_start): Same.
5095 * lib/gdb.exp (default_gdb_spawn): Same.
5096 (gdb_interact): New.
5097
5098
4b62a76e
JK
50992015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5100
5101 * gdb.compile/compile.exp (pointer to jit function): New test.
5102
b4cdae6f
WW
51032015-01-17 Wei-cheng Wang <cole945@gmail.com>
5104
5105 * lib/gdb.exp (supports_process_record): Return true for
5106 powerpc*-*-linux*.
5107 (supports_reverse): Likewise.
5108
d221e7ef
DB
51092015-01-15 Don Breazeal <donb@codesourcery.com>
5110
5111 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5112 instead of checking whether the target board is remote and
5113 use spawn_wait_for_attach instead of exec/sleep.
5114 * gdb.base/attach-twice.exp: Likewise.
5115
bafffb51
JB
51162015-01-15 Joel Brobecker <brobecker@adacore.com>
5117
5118 * gdb.ada/var_arr_attrs: New testcase.
5119
5589af0e
PA
51202015-01-14 Pedro Alves <palves@redhat.com>
5121 Joel Brobecker <brobecker@adacore.com>
5122
5123 PR gdb/17525
5124 * gdb.base/bp-cmds-execution-x-script.c: New file.
5125 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5126 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5127
6c400b59
PA
51282015-01-14 Pedro Alves <palves@redhat.com>
5129
5130 PR cli/17828
5131 * gdb.base/batch-preserve-term-settings.c: New file.
5132 * gdb.base/batch-preserve-term-settings.exp: New file.
5133
e02c96a7
DE
51342015-01-13 Doug Evans <dje@google.com>
5135
5136 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5137 binary.
5138
576fd14c
JB
51392015-01-13 Joel Brobecker <brobecker@adacore.com>
5140
5141 * Makefile.in (clean mostlyclean): Do not delete *.py.
5142
04dccad0
JB
51432015-01-13 Joel Brobecker <brobecker@adacore.com>
5144
5145 * gdb.python/py-lookup-type.exp: New file.
5146
3d230f71
PA
51472015-01-12 Pedro Alves <palves@redhat.com>
5148
5149 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5150 restore GDBFLAGS before returning.
5151
7e67715d
JK
51522015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5153
5154 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5155 is_amd64_regs_target and is_x86_like_target.
5156
f2e0d4b4
DE
51572015-01-11 Doug Evans <xdje42@gmail.com>
5158
5159 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5160 is given without an explicit form.
5161 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5162 attributes.
5163 * gdb.dwarf/corrupt.exp: Ditto.
5164 * gdb.dwarf2/enum-type.exp: Ditto.
5165 * gdb.trace/entry-values.exp: Ditto.
5166 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5167
439250fb
DE
51682015-01-11 Doug Evans <xdje42@gmail.com>
5169
5170 PR gdb/15830
5171 * gdb.base/maint.exp: Remove references to "maint demangle".
5172 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5173 Add tests for explicitly specifying language to demangle.
5174 * gdb.dlang/demangle.exp: Ditto.
5175
ede9f622
PA
51762015-01-09 Pedro Alves <palves@redhat.com>
5177
5178 * gdb.threads/non-stop-fair-events.c: New file.
5179 * gdb.threads/non-stop-fair-events.exp: New file.
5180
a7b796db
PA
51812015-01-09 Pedro Alves <palves@redhat.com>
5182
5183 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5184 the global scope. Set a breakpoint after all threads are started
5185 rather than stepping over two source lines. Expect the prompt.
5186 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5187 global.
5188 (NUM): Now 15.
5189 (main): Use threads_started_barrier to wait for all threads to
5190 start. Main thread no longer calls thread_function. Exit after
5191 180 seconds.
5192 (loop): New function.
5193 (thread_function): Wait on threads_started_barrier barrier. Call
5194 'loop' at each iteration.
5195 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5196 threads have started, instead of hardcoding number of "next"
5197 steps. Use an access watchpoint instead of a write watchpoint.
5198
9665ffdd
PA
51992015-01-09 Pedro Alves <palves@redhat.com>
5200
5201 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5202 (thread_func): Wait on barrier.
5203 (main): Wait for all threads to start before stopping GDB.
5204 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5205 global.
5206 (thread1_func, thread2_func): Wait on barrier.
5207 (main): Wait for all threads to start before stopping GDB.
5208 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5209 New global.
5210 (thread1_func, thread2_func): Wait on barrier.
5211 (main): Wait for all threads to start before stopping GDB.
5212
c945a99f
PA
52132015-01-09 Pedro Alves <palves@redhat.com>
5214
5215 * gdb.threads/attach-many-short-lived-threads.c: New file.
5216 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5217
c1a747c1
PA
52182014-01-09 Pedro Alves <palves@redhat.com>
5219
5220 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5221 instead of to thread 2.
5222 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5223 Add barrier around each pthread_create call instead of around all
5224 calls.
5225 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5226 Set a break on thread_function and have the child threads hit it
5227 one at at a time.
5228
60b3033e
PA
52292015-01-09 Pedro Alves <palves@redhat.com>
5230
5231 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5232 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5233 false.
5234 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5235 checking whether the target board is remote.
5236 * gdb.multi/multi-attach.exp: Likewise.
5237 * gdb.python/py-sync-interp.exp: Likewise.
5238 * gdb.server/ext-attach.exp: Likewise.
5239 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5240 tests that need to attach, instead of checking whether the target
5241 board is remote at the top of the file.
5242
acc018ac
YQ
52432015-01-08 Yao Qi <yao@codesourcery.com>
5244
5245 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5246
50a18af8
JK
52472015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5248
5249 Fix testcase compilation.
5250 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5251
8503d6e1
JB
52522015-01-06 Joel Brobecker <brobecker@adacore.com>
5253
5254 * gdb.python/py-type.exp: Add a couple test about empty
5255 array creation, and negative-length array creation.
5256
cc73dbcc
DE
52572015-01-02 Doug Evans <xdje42@gmail.com>
5258
5259 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5260
0300bbc7
DE
52612015-01-02 Doug Evans <dje@google.com>
5262
5263 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5264
9d85a0ec
YQ
52652014-12-29 Yao Qi <yao@codesourcery.com>
5266
5267 * gdb.trace/entry-values.exp: Update comments. Rename variable
5268 bar_call_foo to returned_from_foo.
5269
87186c6a
MMN
52702014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5271
5272 PR gdb/17394
5273 * gdb.linespec/break-asm-file.c: New file.
5274 * gdb.linespec/break-asm-file.exp: New file.
5275 * gdb.linespec/break-asm-file0.s: New file.
5276 * gdb.linespec/break-asm-file1.s: New file.
5277
1bab7383
YQ
52782014-12-18 Nigel Stephens <nigel@mips.com>
5279 Maciej W. Rozycki <macro@codesourcery.com>
5280
5281 * gdb.base/float.exp: Handle the new output from "info float" on
5282 MIPS targets.
5283
1bc1068a
JK
52842014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5285
5286 Fix MinGW compilation.
5287 * gdb.compile/compile-ops.exp: Update untested message if
5288 !skip_compile_feature_tests.
5289 * gdb.compile/compile-setjmp.exp: Likewise.
5290 * gdb.compile/compile-tls.exp: Likewise.
5291 * gdb.compile/compile.exp: Likewise.
5292 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5293 supported on this host".
5294
b6615d10
DE
52952014-12-16 Doug Evans <xdje42@gmail.com>
5296
5297 * boards/stabs.exp: New file.
5298
25dda427
AA
52992014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5300
5301 * gdb.base/completion.exp: Adjust to format changes of "maint
5302 print user-registers".
5303
bf330350
CU
53042014-12-16 Catalin Udma <catalin.udma@freescale.com>
5305
5306 PR server/17457
5307 * gdb.arch/aarch64-fp.c: New file.
5308 * gdb.arch/aarch64-fp.exp: New file.
5309
395cf596
SDJ
53102014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5311
5312 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5313 r210637, r210913, r211666, r215400, r215817).
5314
5315 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5316 * dg-extract-results.py: New file.
5317 * dg-extract-results.sh: Use it if the environment seems
5318 suitable.
5319
5320 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5321
5322 * dg-extract-results.py (parse_run): Handle warnings that
5323 are printed before a test harness is run.
5324
5325 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5326
5327 * dg-extract-results.py (Named): Remove __cmp__ method.
5328 (output_variation): Use a key to sort variation.harnesses.
5329
5330 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5331
5332 * dg-extract-results.py: For Python 3, force sys.stdout to
5333 handle surrogate escape sequences.
5334 (safe_open): New function.
5335 (output_segment, main): Use it.
5336
5337 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5338
5339 * dg-extract-results.py (Prog.result_re): Include options
5340 in test name.
5341
5342 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5343
5344 * dg-extract-results.py (output_variation): Always sort if
5345 do_sum.
5346
e882ef3c
SM
53472014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5348
5349 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5350 as long as we get pagination notifications.
5351
4992aa20
JM
53522014-12-15 Jason Merrill <jason@redhat.com>
5353
5354 * Makefile.in (check-gdb.%): Restore.
5355 * README: Mention it.
5356
c1b5a1a6
JB
53572014-12-13 Joel Brobecker <brobecker@adacore.com>
5358
5359 * gdb.ada/str_uninit: New testcase.
5360
5537b577
JK
53612014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5362
5363 PR symtab/17642
5364 * gdb.base/vla-stub-define.c: New file.
5365 * gdb.base/vla-stub.c: New file.
5366 * gdb.base/vla-stub.exp: New file.
5367
bb2ec1b3
TT
53682014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5369 Jan Kratochvil <jan.kratochvil@redhat.com>
5370 Tom Tromey <tromey@redhat.com>
5371
5372 * configure.ac: Add gdb.compile/.
5373 * configure: Regenerate.
5374 * gdb.compile/Makefile.in: New file.
5375 * gdb.compile/compile-ops.exp: New file.
5376 * gdb.compile/compile-ops.c: New file.
5377 * gdb.compile/compile-tls.c: New file.
5378 * gdb.compile/compile-tls.exp: New file.
5379 * gdb.compile/compile-constvar.S: New file.
5380 * gdb.compile/compile-constvar.c: New file.
5381 * gdb.compile/compile-mod.c: New file.
5382 * gdb.compile/compile-nodebug.c: New file.
5383 * gdb.compile/compile-setjmp-mod.c: New file.
5384 * gdb.compile/compile-setjmp.c: New file.
5385 * gdb.compile/compile-setjmp.exp: New file.
5386 * gdb.compile/compile-shlib.c: New file.
5387 * gdb.compile/compile.c: New file.
5388 * gdb.compile/compile.exp: New file.
5389 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5390
4ff709eb
TT
53912014-12-12 Tom Tromey <tromey@redhat.com>
5392
5393 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5394 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5395
6dddd6a5
DE
53962014-12-12 Doug Evans <dje@google.com>
5397
5398 * lib/gdb-python.exp (get_python_valueof): New function.
5399 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5400
71c24708
AA
54012014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5402
5403 * gdb.base/completion.exp: Add test for completion of "info
5404 registers ".
5405
3e29f34a
MR
54062014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5407
5408 * gdb.base/func-ptrs.c: New file.
5409 * gdb.base/func-ptrs.exp: New file.
5410
fc126975
SM
54112014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5412
5413 PR breakpoints/17012
5414 * gdb.base/dprintf-detach.c: New file.
5415 * gdb.base/dprintf-detach.exp: New file.
5416
0a46d518
SM
54172014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5418
5419 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5420 * lib/gdb.exp (target_is_gdbserver): New procedure.
5421
a0be3e44
DE
54222014-12-08 Doug Evans <dje@google.com>
5423
5424 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5425
df1b803a
YQ
54262014-12-05 Yao Qi <yao@codesourcery.com>
5427
5428 * gdb.guile/scm-error.exp: Remove the third argument to
5429 gdb_remote_download.
5430 * gdb.guile/scm-frame-args.exp: Likewise.
5431 * gdb.guile/scm-section-script.exp: Likewise.
5432
ddb9f679
YQ
54332014-12-05 Yao Qi <yao@codesourcery.com>
5434
5435 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5436
86e4ed39
DE
54372014-12-04 Doug Evans <dje@google.com>
5438
5439 * gdb.python/py-objfile.exp: Add tests for
5440 objfile.add_separate_debug_file.
5441
7c50a931
DE
54422014-12-04 Doug Evans <dje@google.com>
5443
5444 * lib/gdb.exp (get_build_id): New function.
5445 (build_id_debug_filename_get): Rewrite to use it.
5446 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5447
621661e3
MR
54482014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5449
5450 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5451 `method(long)', not just 0x0.
5452 * gdb.cp/nsalias.exp: Align code labels to 4.
5453 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5454 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5455 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5456 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5457 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5458 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5459
29f0c3b7
DE
54602014-12-02 Doug Evans <dje@google.com>
5461
e1e061e7 5462 PR symtab/17602
29f0c3b7 5463 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 5464 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
5465 * gdb.cp/anon-ns.exp: Update.
5466
162078c8
NB
54672014-12-02 Nick Bull <nicholaspbull@gmail.com>
5468
5469 * gdb.python/py-events.py (inferior_call_handler): New.
5470 (register_changed_handler, memory_changed_handler): New.
5471 (test_events.invoke): Register new handlers.
5472 * gdb.python/py-events.exp: Add tests for inferior call,
5473 memory_changed and register_changed events.
5474
fdb09caf
AA
54752014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5476
5477 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5478 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5479 if the linker doesn't understand this.
5480
55cfb2c4
SM
54812014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5482
5483 * gdb.python/python.exp: Change expected reply to help().
5484
9e8cd6df
YQ
54852014-12-01 Yao Qi <yao@codesourcery.com>
5486
5487 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5488 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5489 * configure: Re-generated.
5490
6c659fc2
SC
54912014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5492
5493 * gdb.cp/chained-calls.cc: New file.
5494 * gdb.cp/chained-calls.exp: New file.
5495 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5496
d7fc3181
SM
54972014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5498
5499 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5500 * gdb.dwarf2/symtab-producer.exp: Same.
5501 * gdb.gdb/python-interrupts.exp: Same.
5502 * gdb.gdb/python-selftest.exp: Same.
5503 * gdb.python/py-linetable.exp: Same.
5504 * gdb.python/py-type.exp: Same.
5505 * gdb.python/py-value-cc.exp: Same.
5506 * gdb.python/py-value.exp: Same.
5507
10e79639
YQ
55082014-11-28 Yao Qi <yao@codesourcery.com>
5509
5510 * gdb.base/break-probes.exp: Match library name prefixed with
5511 sysroot.
5512
f28a0564
SM
55132014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5514
5515 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5516 test expected output. Add parentheses for the call to print.
5517 Remove L suffix from integers.
5518
3fe1ce1d
DE
55192014-11-26 Doug Evans <dje@google.com>
5520
5521 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5522
84429e27
YQ
55232014-11-22 Yao Qi <yao@codesourcery.com>
5524
5525 * gdb.trace/entry-values.c: Remove asms.
5526 (foo): Add foo_label.
5527 (bar): Add bar_label.
5528 * gdb.trace/entry-values.exp: Remove code computing foo's
5529 length and bar's length.
5530 (Dwarf::assemble): Invoke function_range for bar and use
5531 MACRO_AT_func for foo.
5532
26741859
YQ
55332014-11-22 Yao Qi <yao@codesourcery.com>
5534
5535 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5536 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5537 Use .Lgcc43_procstart instead of gcc43.
5538
45e44d27
JB
55392014-11-21 Joel Brobecker <brobecker@adacore.com>
5540
5541 * gdb.ada/n_arr_bound: New testcase.
5542
458c8db8
SDJ
55432014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5544
5545 PR breakpoints/10737
5546 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5547 test_catch_syscall_multi_arch.
5548 (test_catch_syscall_multi_arch): New function.
5549
43f3e411
DE
55502014-11-20 Doug Evans <xdje42@gmail.com>
5551
5552 * gdb.base/maint.exp: Update expected output.
5553
0d7b2549
AA
55542014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5555
5556 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5557 4-byte instruction on S390.
5558
8908fca5
JB
55592014-11-19 Joel Brobecker <brobecker@adacore.com>
5560
5561 * gdb.ada/arr_arr: New testcase.
5562
4a46959e
JB
55632014-11-19 Joel Brobecker <brobecker@adacore.com>
5564
5565 * gdb.ada/pkd_arr_elem: New Testcase.
5566
470e2f4e
LM
55672014-11-18 Luis Machado <lgustavo@codesourcery.com>
5568
5569 * gdb.reverse/break-precsave: Expect completion message for
5570 core file reads.
5571 * gdb.reverse/consecutive-precsave.exp: Likewise.
5572 * gdb.reverse/finish-precsave.exp: Likewise.
5573 * gdb.reverse/i386-precsave.exp: Likewise.
5574 * gdb.reverse/machinestate-precsave.exp: Likewise.
5575 * gdb.reverse/sigall-precsave.exp: Likewise.
5576 * gdb.reverse/solib-precsave.exp: Likewise.
5577 * gdb.reverse/step-precsave.exp: Likewise.
5578 * gdb.reverse/until-precsave.exp: Likewise.
5579 * gdb.reverse/watch-precsave.exp: Likewise.
5580
a267f3ad
AA
55812014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5582
5583 * gdb.base/bp-permanent.c: Include unistd.h.
5584 * gdb.python/py-framefilter-mi.c (main): Add return type.
5585 * gdb.python/py-framefilter.c (main): Likewise.
5586 * gdb.trace/actions-changed.c (main): Likewise.
5587
12084a9a
AA
55882014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5589
5590 * gdb.mi/until.c: Add eye-catchers.
5591 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5592 line numbers.
5593
dc7e1a77
AA
55942014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5595
5596 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5597 function header variants in break1.c.
5598 * gdb.base/ena-dis-br.exp: Likewise.
5599 * gdb.base/hbreak2.exp: Likewise.
5600 * gdb.reverse/until-precsave.exp: Drop references to removed
5601 non-prototype function header variants in ur1.c.
5602 * gdb.reverse/until-reverse.exp: Likewise.
5603
41c77605
PM
56042014-11-17 Petr Machata <pmachata@redhat.com>
5605
5606 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5607 ${_cu_offset_size} bytes abbrev offset.
5608
34248c3a
DE
56092014-11-15 Doug Evans <xdje42@gmail.com>
5610
5611 PR symtab/17559
5612 * gdb.base/line-symtabs.exp: New file.
5613 * gdb.base/line-symtabs.c: New file.
5614 * gdb.base/line-symtabs.h: New file.
5615
646da059
YQ
56162014-11-14 Yao Qi <yao@codesourcery.com>
5617
5618 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5619 (func): Add label func_label.
5620 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5621 Replace low_pc and high_pc with MACRO_AT_range.
5622 Replace name, low_pc and high_pc with MACRO_AT_func.
5623
9301ebe6
YQ
56242014-11-14 Yao Qi <yao@codesourcery.com>
5625
5626 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5627 Replace name, low_pc and high_pc with MACRO_AT_func.
5628
f166b542
YQ
56292014-11-14 Yao Qi <yao@codesourcery.com>
5630
5631 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5632 produce debug information.
5633 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5634
0f6e71e3
YQ
56352014-11-14 Yao Qi <yao@codesourcery.com>
5636
5637 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5638 object and get function length.
5639 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5640 with MACRO_AT_func.
5641 (top-level): Replace gdb_compile and clean_restart with
5642 prepare_for_testing.
5643 * gdb.dwarf2/main.c (main): Add label main_label.
5644
876c4df9
YQ
56452014-11-14 Yao Qi <yao@codesourcery.com>
5646
5647 * lib/dwarf.exp (function_range): New procedure.
5648 (Dwarf::_handle_macro_at_func): New procedure.
5649 (Dwarf::_handle_macro_at_range): New procedure.
5650 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5651
02ad9cf1
YQ
56522014-11-14 Yao Qi <yao@codesourcery.com>
5653
5654 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5655 (_handle_attribute): New procedure.
5656
a59add0c
AA
56572014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5658
5659 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5660 * gdb.base/call-sc.c (zed): Likewise.
5661 * gdb.base/checkpoint.c (main): Likewise.
5662 * gdb.base/dump.c (main): Likewise.
5663 * gdb.base/gcore.c (main): Likewise.
5664 * gdb.base/huge.c (main): Likewise.
5665 * gdb.base/multi-forks.c (main): Likewise.
5666 * gdb.base/pr10179-a.c (main): Likewise.
5667 * gdb.base/savedregs.c (main): Likewise.
5668 * gdb.base/sigaltstack.c (main): Likewise.
5669 * gdb.base/siginfo.c (main): Likewise.
5670 * gdb.base/structs.c (zed): Likewise.
5671 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5672 * gdb.mi/mi-syn-frame.c (main): Likewise.
5673 * gdb.mi/until.c (foo, main): Likewise.
5674 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5675 * gdb.base/solib-weak.c (foo): Declare.
5676 * gdb.base/attach-twice.c: Include stdio.h.
5677 * gdb.base/weaklib1.c: Likewise.
5678 * gdb.base/weaklib2.c: Likewise.
5679 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5680 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5681 unistd.h.
5682 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5683 * gdb.mi/mi-exit-code.c: Likewise.
5684 * gdb.base/break-interp-lib.c: Include string.h.
5685 * gdb.base/coremaker.c: Likewise.
5686 * gdb.base/testenv.c: Likewise.
5687 * gdb.python/py-finish-breakpoint.c: Likewise.
5688 * gdb.base/inferior-died.c: Include sys/wait.h.
5689 * gdb.base/fileio.c: Include time.h.
5690 * gdb.base/async-shell.c: Include unistd.h.
5691 * gdb.base/dprintf-non-stop.c: Likewise.
5692 * gdb.base/info-os.c: Likewise.
5693 * gdb.mi/mi-console.c: Likewise.
5694 * gdb.mi/watch-nonstop.c: Likewise.
5695 * gdb.python/py-events.c: Likewise.
5696 * gdb.base/async.c (baz): Move up before its invocation.
5697 * gdb.base/code_elim2.c (my_global_func): Likewise.
5698 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5699 * gdb.base/advance.c (func2): Likewise.
5700
3b5d5997
AA
57012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5702
5703 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5704 variant.
5705 * gdb.base/annota3.c: Likewise.
5706 * gdb.base/async.c: Likewise.
5707 * gdb.base/average.c: Likewise.
5708 * gdb.base/call-ar-st.c: Likewise.
5709 * gdb.base/call-rt-st.c: Likewise.
5710 * gdb.base/call-sc.c: Likewise.
5711 * gdb.base/call-strs.c: Likewise.
5712 * gdb.base/ending-run.c: Likewise.
5713 * gdb.base/execd-prog.c: Likewise.
5714 * gdb.base/exprs.c: Likewise.
5715 * gdb.base/foll-exec.c: Likewise.
5716 * gdb.base/foll-fork.c: Likewise.
5717 * gdb.base/foll-vfork.c: Likewise.
5718 * gdb.base/funcargs.c: Likewise.
5719 * gdb.base/gcore.c: Likewise.
5720 * gdb.base/jump.c: Likewise.
5721 * gdb.base/langs0.c: Likewise.
5722 * gdb.base/langs1.c: Likewise.
5723 * gdb.base/langs2.c: Likewise.
5724 * gdb.base/mips_pro.c: Likewise.
5725 * gdb.base/nodebug.c: Likewise.
5726 * gdb.base/opaque0.c: Likewise.
5727 * gdb.base/opaque1.c: Likewise.
5728 * gdb.base/recurse.c: Likewise.
5729 * gdb.base/run.c: Likewise.
5730 * gdb.base/scope0.c: Likewise.
5731 * gdb.base/scope1.c: Likewise.
5732 * gdb.base/setshow.c: Likewise.
5733 * gdb.base/setvar.c: Likewise.
5734 * gdb.base/shmain.c: Likewise.
5735 * gdb.base/shr1.c: Likewise.
5736 * gdb.base/shr2.c: Likewise.
5737 * gdb.base/sigall.c: Likewise.
5738 * gdb.base/signals.c: Likewise.
5739 * gdb.base/so-indr-cl.c: Likewise.
5740 * gdb.base/solib2.c: Likewise.
5741 * gdb.base/structs.c: Likewise.
5742 * gdb.base/sum.c: Likewise.
5743 * gdb.base/vforked-prog.c: Likewise.
5744 * gdb.base/watchpoint.c: Likewise.
5745 * gdb.reverse/shr2.c: Likewise.
5746 * gdb.reverse/until-reverse.c: Likewise.
5747 * gdb.reverse/ur1.c: Likewise.
5748 * gdb.reverse/watch-reverse.c: Likewise.
5749
066a77c5
AA
57502014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5751
5752 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5753 variant.
5754 * gdb.base/sepdebug.exp: Drop references to removed code.
5755
4f204ea5
AA
57562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5757
5758 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5759 variant. Preserve original line numbering.
5760 * gdb.base/list1.c: Likewise.
5761
3b377a3a
AA
57622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5763
5764 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5765 variant.
5766 * gdb.base/break1.c: Likewise.
5767 * gdb.base/break.exp: Drop references to removed code.
5768
e444df73
AA
57692014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5770
5771 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5772 variant.
5773
8008f2a7
AA
57742014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5775
5776 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5777
a5a06887
AA
57782014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5779
5780 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5781 logic into perform_all_tests() and invoke it with and without
5782 function header prototypes.
5783 (do_function_calls): Remove conditional XFAIL for PR 5318.
5784 (rerun_and_prepare): Remove duplicate code.
5785 (perform_all_tests): New. Main logic moved here.
5786
44dba9b9
AA
57872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5788
5789 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5790 code guarded by #ifdef NO_PROTOTYPES.
5791 (t_double_many_args): Likewise.
5792 (DEF_FUNC_MANY_ARGS_1): Likewise.
5793 (DEF_FUNC_VALUES_1): Likewise.
5794 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5795 guarded by #ifdef PROTOTYPES.
5796
d1fbcd56
AA
57972014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5798
5799 * gdb.mi/mi-console.c: Add eye-catcher.
5800 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5801 instead of literal line number.
5802
b0e59b8f
AA
58032014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5804
5805 * gdb.base/shr2.c: Add eye-catcher.
5806 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5807 line number.
5808
78f98cca
AA
58092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5810
5811 * gdb.base/jump.c: Add eye-catchers.
5812 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5813 numbers.
5814
58fa2af0
AA
58152014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5816
5817 * gdb.base/execd-prog.c: Add eye-catchers.
5818 * gdb.base/foll-exec.c: Likewise.
5819 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5820 line numbers.
5821
04e5059b
AA
58222014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5823
5824 * gdb.base/ending-run.c: Add eye-catchers.
5825 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5826 literal line numbers.
5827
dbfdb174
AA
58282014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5829
5830 * gdb.base/call-rt-st.c: Add eye-catchers.
5831 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5832 literal line numbers.
5833
888a2ade
AA
58342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5835
5836 * gdb.base/call-ar-st.c: Add eye-catchers.
5837 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5838 literal line numbers.
5839
6acc2dde
AA
58402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5841
5842 * gdb.base/average.c: Add eye-catchers.
5843 * gdb.base/sum.c: Likewise.
5844 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5845 regexps dynamically.
5846
9ecfcd1d
AA
58472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5848
5849 * gdb.base/solib1.c: Add eye-catchers.
5850 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5851 literal line numbers.
5852
78708b7c
PA
58532014-11-12 Pedro Alves <palves@redhat.com>
5854
5855 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5856 leader has exited.
5857
af48d08f
PA
58582014-11-12 Pedro Alves <palves@redhat.com>
5859
5860 * gdb.arch/i386-bp_permanent.c: New file.
5861 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5862 (srcfile): Set to i386-bp_permanent.c.
5863 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5864 that stepi does not execute the 'leave' instruction, instead of
5865 testing it does execute.
5866 * gdb.base/bp-permanent.c: New file.
5867 * gdb.base/bp-permanent.exp: New file.
5868
af3768e9
DE
58692014-11-10 Doug Evans <xdje42@gmail.com>
5870
5871 PR symtab/17564
5872 * gdb.base/symtab-search-order.exp: New file.
5873 * gdb.base/symtab-search-order.c: New file.
5874 * gdb.base/symtab-search-order-1.c: New file.
5875 * gdb.base/symtab-search-order-shlib-1.c: New file.
5876
9de00a4a
PA
58772014-11-07 Pedro Alves <palves@redhat.com>
5878
5879 PR gdb/17511
5880 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5881 i?86-*-linux*.
5882
e0f52461
SC
58832014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5884
5885 PR c++/17494
5886 * gdb.cp/pr17494.cc: New file.
5887 * gdb.cp/pr17494.exp: New file.
5888
6ce8c980
YQ
58892014-11-02 Yao Qi <yao@codesourcery.com>
5890
5891 * gdb.python/python.exp: Get working directory and match the
5892 output of "set extended-prompt \\w " with it.
5893
02be9a71
DE
58942014-10-30 Doug Evans <dje@google.com>
5895
5896 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5897 in objfiles.
5898 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5899 in progspaces.
5900
3bdff46b
LM
59012014-10-30 Janis Johnson <janisjo@codesourcery.com>
5902
5903 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5904 * gdb.base/realname-expand.exp: Likewise.
5905 * gdb.linespec/macro-relative.exp: Likewise.
5906
ab917dfb
PA
59072014-10-29 Pedro Alves <palves@redhat.com>
5908
5909 PR gdb/17408
5910 * gdb.threads/schedlock.c (some_function): New function.
5911 (call_function): New global.
5912 (MAYBE_CALL_SOME_FUNCTION): New macro.
5913 (thread_function): Call it.
5914 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5915 and use it instead of a global counter. Adjust all callers.
5916 (get_current_thread): Use "find current thread" for test message
5917 here rather than having all callers pass down the same string.
5918 (goto_loop): New procedure, factored out from ...
5919 (my_continue): ... this.
5920 (step_ten_loops): Change parameter from test message to command to
5921 use. Adjust.
5922 (list_count): Delete global.
5923 (check_result): New procedure, factored out from duplicate top
5924 level code.
5925 (continue tests): Wrap in with_test_prefix.
5926 (test_step): New procedure, factored out from duplicate top level
5927 code.
5928 (top level): Test "step" in combination with all scheduler-locking
5929 modes. Test "next" in combination with all scheduler-locking
5930 modes, and in combination with stepping over a function call or
5931 not.
5932 * gdb.threads/next-bp-other-thread.c: New file.
5933 * gdb.threads/next-bp-other-thread.exp: New file.
5934
d3d4baed
PA
59352014-10-29 Pedro Alves <palves@redhat.com>
5936
5937 PR python/17372
5938 * gdb.python/python.exp: Test a multi-line command that spawns
5939 interactive Python.
5940 * gdb.base/multi-line-starts-subshell.exp: New file.
5941
563e8d85
YQ
59422014-10-29 Yao Qi <yao@codesourcery.com>
5943
5944 * gdb.base/fileio.exp: Make directories on host.
5945
0ea4d52e
YQ
59462014-10-29 Yao Qi <yao@codesourcery.com>
5947
5948 * gdb.base/fileio.c (test_write): Close the file.
5949
7f5ef605
PA
59502014-10-28 Pedro Alves <palves@redhat.com>
5951
5952 PR gdb/12623
5953 * gdb.base/sigstep.c (no_handler): New global.
5954 (main): If 'no_handler is true, set the signal handlers to
5955 SIG_IGN.
5956 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5957 with_sw_watch and no_handler parameters. Handle them.
5958 (top level) <stepping over handler when stopped at a breakpoint
5959 test>: Add a test axis for testing with a software watchpoint, and
5960 another for testing with the signal handler set to SIG_IGN.
5961 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5962 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5963
abbdbd03
PA
59642014-10-28 Pedro Alves <palves@redhat.com>
5965
5966 PR gdb/17511
5967 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5968 * gdb.base/sigstep.exp (other_handler_location): New global.
5969 (advance): Support stepping into the signal handler, and running
5970 commands while in the handler.
5971 (in_handler_map): New global.
5972 (top level): In the advance test, add combinations for getting
5973 into the handler with stepping commands, and for running commands
5974 in the handler. Add comment descripting the advancei tests.
5975
1df4399f
PA
59762014-10-28 Pedro Alves <palves@redhat.com>
5977
5978 * gdb.base/sigstep.exp: Use build_executable instead of
5979 prepare_for_testing.
5980 (top level): Move code that starts GDB, runs to main and creates a
5981 display to ...
5982 (restart): ... this new procedure.
5983 (top level): Move backtrace from signal handler test to ...
5984 (validate_backtrace): ... this new procedure.
5985 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5986 with_test_prefix. Always restart GDB.
5987 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5988 with_test_prefix. Always restart GDB. No need to delete
5989 breakpoints after the test.
5990 (test_skip_handler): Remove prefix parameter.
5991 (skip_over_handler, breakpoint_to_handler)
5992 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5993 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5994 restart GDB. No need to delete breakpoints after the test.
5995 (top level): Use foreach to call the test procedures with
5996 different commands.
5997
a5b6e449
PA
59982014-10-28 Pedro Alves <palves@redhat.com>
5999
6000 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
6001 instead of GNATS numbers.
6002 * gdb.base/sigbpt.exp: Likewise.
6003 * gdb.base/siginfo.exp: Likewise.
6004 * gdb.base/sigstep.exp: Likewise.
6005
e5f8a7cc
PA
60062014-10-27 Pedro Alves <palves@redhat.com>
6007
6008 * gdb.base/sigstep.c (dummy): New global.
6009 (main): Issue a couple writes to the new global.
6010 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
6011 procedures.
6012 (skip_over_handler): Use test_skip_handler.
6013 (top level): Call skip_over_handler for stepi and nexti too.
6014 (breakpoint_over_handler): Use test_skip_handler.
6015 (top level): Call breakpoint_over_handler for stepi and nexti too.
6016
763905a3
YQ
60172014-10-27 Yao Qi <yao@codesourcery.com>
6018
6019 * gdb.trace/tfile.c (adjust_function_address)
6020 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
6021 function descriptor.
6022
6f259a23
DB
60232014-10-24 Don Breazeal <donb@codesourcery.com>
6024
6025 * gdb.base/foll-fork.exp (test_follow_fork,
6026 catch_fork_child_follow): Check for updated fork messages emitted
6027 from infrun.c.
6028 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
6029 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
6030 vfork_and_exec_child_follow_through_step): Check for updated vfork
6031 messages emitted from infrun.c.
6032
09dd9a69
PA
60332014-10-24 Pedro Alves <palves@redhat.com>
6034
6035 * gdb.base/corefile.exp: Remove references to ultrix.
6036 * gdb.base/interrupt.exp: Likewise.
6037 * gdb.base/whatis.exp: Likewise.
6038 * gdb.gdb/selftest.exp: Likewise.
6039 * gdb.threads/manythreads.exp: Likewise.
6040 * gdb.threads/print-threads.exp: Likewise.
6041 * gdb.threads/pthreads.exp:: Likewise.
6042 * gdb.threads/schedlock.exp: Likewise.
6043
3433cfa5
SC
60442014-10-24 Siva Chandra Reddy <sivachandra@google.com>
6045
6046 * gdb.cp/non-trivial-retval.cc: Add a test case.
6047 * gdb.cp/non-trivial-retval.exp: Add a test.
6048
092f880b
YQ
60492014-10-20 Yao Qi <yao@codesourcery.com>
6050
6051 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
6052 * gdb.python/py-objfile-script-gdb.py: New file.
6053 * gdb.python/py-objfile-script.exp: Update reference to
6054 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
6055 of remote_download. Remove the dest file.
6056
acbdb7f3
YQ
60572014-10-20 Yao Qi <yao@codesourcery.com>
6058
6059 * gdb.base/checkpoint.exp: Don't remove file copied on host.
6060 * gdb.base/step-line.exp: Likewise.
6061 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6062 * gdb.dwarf2/dw2-basic.exp: Likewise.
6063 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6064 * gdb.dwarf2/dw2-filename.exp: Likewise.
6065 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6066 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6067 * gdb.dwarf2/dw2-producer.exp: Likewise.
6068 * gdb.dwarf2/mac-fileno.exp: Likewise.
6069 * gdb.python/py-frame-args.exp: Likewise.
6070 * gdb.python/py-framefilter.exp: Likewise.
6071 * gdb.python/py-mi.exp: Likewise.
6072 * gdb.python/py-objfile-script.exp: Likewise
6073 * gdb.python/py-pp-integral.exp: Likewise.
6074 * gdb.python/py-pp-re-notag.exp: Likewise.
6075 * gdb.python/py-prettyprint.exp: Likewise.
6076 * gdb.python/py-section-script.exp: Likewise.
6077 * gdb.python/py-typeprint.exp: Likewise.
6078 * gdb.python/py-xmethods.exp: Likewise.
6079 * gdb.stabs/weird.exp: Likewise.
6080 * gdb.xml/tdesc-regs.exp: Likewise.
6081
bd286a29
KCY
60822014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
6083
6084 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
6085 (out_cu): Use addr_len for the size of addresses.
6086 (out_line): Likewise. Size DW_LNE_set_address instruction
6087 according to addr_len.
6088 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
6089 (FUNC): Add START_INSNS to definition.
6090
673dc4a0
YQ
60912014-10-18 Yao Qi <yao@codesourcery.com>
6092
6093 * gdb.base/argv0-symlink.exp: Check argv[0] value if
6094 gdb_has_argv0 return true.
6095 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
6096 check [target_info exists noargs], check [gdb_has_argv0]
6097 instead.
6098 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6099 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
6100 procedures.
6101
4ffbba72
DE
61022014-10-17 Doug Evans <dje@google.com>
6103
6104 * gdb.python/py-events.exp: Update expected output for clear_objfiles
6105 event.
6106 * gdb.python/py-events.py: Add clear_objfiles event.
6107
d096d8c1
DE
61082014-10-17 Doug Evans <dje@google.com>
6109
6110 * gdb.python/py-objfile.exp: Test progspace attribute.
6111
a80db015
LM
61122014-10-17 Luis Machado <lgustavo@codesourcery.com>
6113
6114 * gdb.guile/scm-breakpoint.exp: Do not assume any
6115 directory separators when matching source file paths.
6116 * gdb.python/py-breakpoint.exp: Likewise.
6117 * gdb.reverse/break-precsave.exp: Likewise.
6118 * gdb.reverse/break-reverse.exp: Likewise.
6119 * gdb.reverse/consecutive-precsave.exp: Likewise.
6120 * gdb.reverse/finish-precsave.exp: Likewise.
6121 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6122 * gdb.reverse/finish-reverse.exp: Likewise.
6123 * gdb.reverse/i386-precsave.exp: Likewise.
6124 * gdb.reverse/i387-env-reverse.exp: Likewise.
6125 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6126 * gdb.reverse/machinestate-precsave.exp: Likewise.
6127 * gdb.reverse/machinestate.exp: Likewise.
6128 * gdb.reverse/sigall-precsave.exp: Likewise.
6129 * gdb.reverse/solib-precsave.exp: Likewise.
6130 * gdb.reverse/step-precsave.exp: Likewise.
6131 * gdb.reverse/until-precsave.exp: Likewise.
6132 * gdb.reverse/watch-precsave.exp: Likewise.
6133 * gdb.reverse/watch-reverse.exp: Likewise.
6134
b22089ab
YQ
61352014-10-17 Yao Qi <yao@codesourcery.com>
6136
6137 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6138 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6139
6c4486e6
PA
61402014-10-17 Pedro Alves <palves@redhat.com>
6141
6142 PR gdb/17471
6143 * gdb.base/bg-execution-repeat.c: New file.
6144 * gdb.base/bg-execution-repeat.exp: New file.
6145
0ff33695
PA
61462014-10-17 Pedro Alves <palves@redhat.com>
6147
6148 PR gdb/17300
6149 * gdb.base/continue-all-already-running.c: New file.
6150 * gdb.base/continue-all-already-running.exp: New file.
6151
6fdebc3d
PA
61522014-10-17 Pedro Alves <palves@redhat.com>
6153
6154 PR gdb/17472
6155 * gdb.base/annota-input-while-running.c: New file.
6156 * gdb.base/annota-input-while-running.exp: New file.
6157
32a8097b
PA
61582014-10-17 Pedro Alves <palves@redhat.com>
6159
6160 * gdb.base/callfuncs.exp: emove references to osf.
6161 * gdb.base/sigall.exp: Likewise.
6162 * gdb.gdb/selftest.exp: Likewise.
6163 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6164 * gdb.mi/non-stop.c: Likewise.
6165 * gdb.mi/pthreads.c: Likewise.
6166 * gdb.reverse/sigall-precsave.exp: Likewise.
6167 * gdb.reverse/sigall-reverse.exp: Likewise.
6168 * gdb.threads/pthreads.c: Likewise.
6169 * gdb.threads/pthreads.exp: Likewise.
6170
7a3517ff
YQ
61712014-10-17 Yao Qi <yao@codesourcery.com>
6172
6173 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6174 check 'target_info exists noargs'.
6175 (test_command_prompt_position): Likewise.
6176 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6177 Remove "set args".
6178 (progvar_simple_while_test): Likewise.
6179 (progvar_complex_if_while_test): Likewise.
6180 (if_while_breakpoint_command_test): Likewise.
6181 (infrun_breakpoint_command_test): Likewise.
6182 (breakpoint_command_test): Likewise.
6183 (watchpoint_command_test): Likewise.
6184 (bp_deleted_in_command_test): Likewise.
6185 (temporary_breakpoint_commands): Likewise.
6186
bb99c472
YQ
61872014-10-16 Yao Qi <yao@codesourcery.com>
6188
6189 * gdb.base/remotetimeout.exp: Remove noargs checking.
6190
7c16b83e
PA
61912014-10-15 Pedro Alves <palves@redhat.com>
6192
6193 PR breakpoints/9649
6194 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6195 * gdb.base/breakpoint-in-ro-region.exp
6196 (probe_target_hardware_step): New procedure.
6197 (top level): Probe hardware stepping and hardware breakpoint
6198 support. Test stepping through a read-only region, with both
6199 "breakpoint auto-hw" on and off and both "always-inserted" on and
6200 off.
6201
35a49624
IB
62022014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6203
6204 * gdb.dlang/demangle.exp: Update for demangling changes.
6205
2d1c107c
SC
62062014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6207
6208 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6209 * gdb.cp/non-trivial-retval.exp: Add new tests.
6210
778811d5
SC
62112014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6212
6213 PR c++/13403
6214 PR c++/15154
6215 * gdb.cp/non-trivial-retval.cc: New file.
6216 * gdb.cp/non-trivial-retval.exp: New file.
6217
10c5f0a8
YQ
62182014-10-15 Yao Qi <yao@codesourcery.com>
6219
6220 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6221 remote host.
6222
65d7b369
YQ
62232014-10-15 Yao Qi <yao@codesourcery.com>
6224
6225 * gdb.python/py-symbol.exp: Match file base name if host is
6226 remote, otherwise match file name with dir name.
6227 * gdb.python/py-symtab.exp: Likewise.
6228 * gdb.python/python.exp: Likewise.
6229
46dc1394
YQ
62302014-10-15 Yao Qi <yao@codesourcery.com>
6231
6232 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6233 pattern.
6234 * gdb.python/py-symtab.exp: Likewise.
6235 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6236 locationn.
6237
c40cc657
JB
62382014-10-14 Joel Brobecker <brobecker@adacore.com>
6239
6240 * gdb.ada/addr_arith: New testcase.
6241
2abf49e1
MR
62422014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6243
6244 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6245 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6246 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6247 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6248
f7088df3
SDJ
62492014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6250
6251 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6252 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6253 * gdb.arch/stap-eval-lang-ada.exp: New file.
6254
4dc06805
YQ
62552014-10-14 Yao Qi <yao@codesourcery.com>
6256
6257 * gdb.mi/mi-var-child.c (nothing1): New function.
6258 (nothing2): New function.
6259 (do_children_tests): Set function pointers by nothing1 and
6260 nothing2.
6261 * gdb.mi/mi-var-child.exp: Step over new added statements.
6262 Update test to match the new output.
6263 * gdb.mi/var-cmd.c (nothing1): New function.
6264 (nothing2): New function.
6265 (do_children_tests): Set function pointers by nothing1 and
6266 nothing2.
6267 * gdb.mi/mi-var-display.exp: Update test to match output.
6268 Step to the line specified by $line_dct_nothing.
6269 Increase the number of lines to step.
6270
46a93de2
YQ
62712014-10-14 Yao Qi <yao@codesourcery.com>
6272
6273 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6274 tests.
6275 * gdb.mi/mi2-var-child.exp: Likewise.
6276
14ea52ee
DE
62772014-10-13 Doug Evans <dje@google.com>
6278
6279 * gdb.python/py-objfile.exp: Change name of file name test.
6280
e5c6e92b
DE
62812014-10-13 Doug Evans <dje@google.com>
6282
6283 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6284 from the start of the CU.
6285
c780cc2f
JK
62862014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6287 Yao Qi <yao@codesourcery.com>
6288
6289 Fix "save breakpoints" for "catch" command.
6290 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6291 Remove -nonewline. Match also the added "main" line.
6292
99894e11
JK
62932014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6294
6295 Fix "save breakpoints" for "disable $bpnum" command.
6296 * gdb.base/save-bp.c (main): Add label.
6297 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6298
6e1ac5a3
JK
62992014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6300
6301 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6302
754dd2b0
YQ
63032014-10-11 Yao Qi <yao@codesourcery.com>
6304
6305 * gdb.server/server-kill.exp: Execute command
6306 "set remote trace-status-packet on" before "tstatus".
6307
f90183d7
YQ
63082014-10-11 Yao Qi <yao@codesourcery.com>
6309
6310 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6311 (main): Call getppid.
6312 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6313 and continue to it. Read variable "server_pid".
6314
bf40a607
YQ
63152014-10-11 Yao Qi <yao@codesourcery.com>
6316
6317 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6318
052ca370
YQ
63192014-10-11 Yao Qi <yao@codesourcery.com>
6320
6321 * gdb.threads/thread-find.exp: Don't execute command
6322 "info threads".
6323 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6324 * gdb.threads/linux-dp.exp: Don't check the condition
6325 $threads_created equals to zero.
6326
3831839c
PA
63272014-10-10 Pedro Alves <palves@redhat.com>
6328
6329 * gdb.base/bigcore.exp: Remove references to IRIX.
6330 * gdb.base/funcargs.exp: Likewise.
6331 * gdb.base/interrupt.exp: Likewise.
6332 * gdb.base/mips_pro.exp: Likewise.
6333 * gdb.base/nodebug.exp: Likewise.
6334 * gdb.base/setvar.exp: Likewise.
6335 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6336
8b9a549d
PA
63372014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6338 Pedro Alves <palves@redhat.com>
6339
6340 PR symtab/14466
6341 * gdb.base/vdso-warning.c: New file.
6342 * gdb.base/vdso-warning.exp: New file.
6343
d48ba5e8
DE
63442014-10-02 Doug Evans <dje@google.com>
6345
6346 * gdb.base/structs.c (main): Don't run forever.
6347
2278c276
PA
63482014-10-02 Pedro Alves <palves@redhat.com>
6349
6350 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6351 (top level) <stop threads 1, stop threads 2>: Use it.
6352
b57bacec
PA
63532014-10-02 Pedro Alves <palves@redhat.com>
6354
6355 * gdb.threads/break-while-running.exp (test): Add new
6356 'update_thread_list' argument. Skip "info threads" if false.
6357 (top level): Add new 'update_thread_list' axis.
6358
13fd3ff3
PA
63592014-10-02 Pedro Alves <palves@redhat.com>
6360
6361 PR breakpoints/17431
6362 * gdb.base/execl-update-breakpoints.c: New file.
6363 * gdb.base/execl-update-breakpoints.exp: New file.
6364
0fec99e8
PA
63652014-10-01 Pedro Alves <palves@redhat.com>
6366
6367 * gdb.base/breakpoint-in-ro-region.c: New file.
6368 * gdb.base/breakpoint-in-ro-region.exp: New file.
6369
2ddf4301
SM
63702014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6371
6372 * gdb.mi/mi-exit-code.exp: New file.
6373 * gdb.mi/mi-exit-code.c: New file.
6374
6a5f3f43
YQ
63752014-09-30 Yao Qi <yao@codesourcery.com>
6376
6377 * lib/prelink-support.exp (build_executable_own_libs): Error if
6378 the target isn't native.
6379
345bcc73
YQ
63802014-09-30 Yao Qi <yao@codesourcery.com>
6381
6382 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6383 false.
6384
a25a5a45
PA
63852014-09-22 Pedro Alves <palves@redhat.com>
6386
6387 * gdb.threads/break-while-running.exp: New file.
6388 * gdb.threads/break-while-running.c: New file.
6389
00ba3162
YQ
63902014-09-19 Yao Qi <yao@codesourcery.com>
6391
6392 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6393 Invoke test. Restart GDB with --readnow and invoke test again.
6394
c3b7b696
YQ
63952014-09-19 Yao Qi <yao@codesourcery.com>
6396
6397 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6398 proc set_breakpoint_on_gcd_function. Invoke
6399 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6400 invoke set_breakpoint_on_gcd_function again.
6401
2b4fd423
DE
64022014-09-18 Doug Evans <dje@google.com>
6403
6404 * gdb.dwarf2/symtab-producer.exp: New file.
6405
a5947601
SDJ
64062014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6407
6408 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6409 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6410 * gdb.base/global-var-nested-by-dso.c: Likewise.
6411 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6412
91c19059
SDJ
64132014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6414 Pedro Alves <palves@redhat.com>
6415
6416 * gdb.base/watch-bitfields.exp: Pass string other than test file
6417 name to prepare_for_testing.
6418 (watch): New procedure.
6419 (expect_watchpoint): Use with_test_prefix.
6420 (top level): Factor out tests to ...
6421 (test_watch_location, test_regular_watch): ... these new
6422 procedures, and use with_test_prefix and gdb_continue_to_end.
6423
bb9d5f81
PP
64242014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6425
6426 PR breakpoints/12526
6427 * gdb.base/watch-bitfields.exp: New file.
6428 * gdb.base/watch-bitfields.c: New file.
6429
635856f5
PA
64302014-09-16 Pedro Alves <palves@redhat.com>
6431
6432 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6433 software and hardware addresses, not software address against
6434 itself.
6435
7280ceea
PA
64362014-09-16 Pedro Alves <palves@redhat.com>
6437
6438 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6439 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6440
428b16bd
PA
64412014-09-16 Pedro Alves <palves@redhat.com>
6442
6443 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6444 files.
6445 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6446 "*-*-vxworks*" throughout.
6447 * gdb.base/break.exp: Likewise.
6448 * gdb.base/default.exp: Likewise.
6449 * gdb.base/scope.exp: Likewise.
6450 * gdb.base/sepdebug.exp: Likewise.
6451 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6452 throughout.
6453 * gdb.base/run.c: Likewise.
6454 * gdb.base/sepdebug.c: Likewise.
6455 * gdb.hp/gdb.aCC/run.c: Likewise.
6456 * gdb.reverse/until-reverse.c: Likewise.
6457 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6458
666d413c
YQ
64592014-09-16 Yao Qi <yao@codesourcery.com>
6460
6461 * boards/local-remote-host-native.exp: New file.
6462
57cbd724
DE
64632014-09-14 Doug Evans <xdje42@gmail.com>
6464
6465 * gdb.threads/queue-signal.c (thread_count): New variable.
6466 (thread_count_mutex, thread_count_condvar): New variables.
6467 (incr_thread_count, wait_all_threads_running): New functions.
6468 (main): Wait for all threads to be in their thread functions.
6469
81219e53
DE
64702014-09-13 Doug Evans <xdje42@gmail.com>
6471
6472 * gdb.threads/queue-signal.c: New file.
6473 * gdb.threads/queue-signal.exp: New file.
6474
3714cea7
DE
64752014-09-13 Doug Evans <xdje42@gmail.com>
6476
6477 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6478 be consistent with what default_gdb_init uses.
6479 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6480 the plain text of the prompt. Add some logging printfs.
6481 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6482
fa43b1d7
PA
64832014-09-12 Pedro Alves <palves@redhat.com>
6484
6485 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6486 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6487 * gdb.arch/i386-size-overlap.exp: Likewise.
6488 * gdb.arch/i386-size.exp: Likewise.
6489 * gdb.arch/i386-unwind.exp: Likewise.
6490 * gdb.base/a2-run.exp: Likewise.
6491 * gdb.base/break.exp: Likewise.
6492 * gdb.base/charset.exp: Likewise.
6493 * gdb.base/chng-syms.exp: Likewise.
6494 * gdb.base/commands.exp: Likewise.
6495 * gdb.base/dbx.exp: Likewise.
6496 * gdb.base/find.exp: Likewise.
6497 * gdb.base/funcargs.exp: Likewise.
6498 * gdb.base/jit-simple.exp: Likewise.
6499 * gdb.base/reread.exp: Likewise.
6500 * gdb.base/sepdebug.exp: Likewise.
6501 * gdb.base/step-bt.exp: Likewise.
6502 * gdb.cp/mb-inline.exp: Likewise.
6503 * gdb.cp/mb-templates.exp: Likewise.
6504 * gdb.objc/basicclass.exp: Likewise.
6505 * gdb.threads/killed.exp: Likewise.
6506
9d9bf2df
EBM
65072014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6508
6509 PR tdep/17379
6510 * gdb.arch/powerpc-stackless.S: New file.
6511 * gdb.arch/powerpc-stackless.exp: New file.
6512
1cf2f1b0
JK
65132014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6514
6515 * gdb.base/attach.c: Include unistd.h.
6516 (main): Call alarm. Add label postloop.
6517 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6518 gdb_breakpoint, gdb_continue_to_breakpoint.
6519 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6520
98880d46
PA
65212014-09-11 Pedro Alves <palves@redhat.com>
6522
6523 PR gdb/17347
6524 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6525 * gdb.base/attach.exp (test_command_line_attach_run): New
6526 procedure.
6527 (top level): Call it.
6528
4c92ff2c
PA
65292014-09-11 Pedro Alves <palves@redhat.com>
6530
6531 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6532 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6533 (do_command_attach_tests): Use spawn_wait_for_attach.
6534 * gdb.base/solib-overlap.exp: Likewise.
6535 * gdb.multi/multi-attach.exp: Likewise.
6536 * gdb.python/py-prompt.exp: Likewise.
6537 * gdb.python/py-sync-interp.exp: Likewise.
6538 * gdb.server/ext-attach.exp: Likewise.
6539
3adc1a7d
GKB
65402014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6541
6542 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6543 command in testcase. Simplify testcase.
6544
96334934
JB
65452014-09-10 Joel Brobecker <brobecker@adacore.com>
6546
6547 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6548
eb479039
JB
65492014-09-10 Joel Brobecker <brobecker@adacore.com>
6550
6551 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6552
deede10c
JB
65532014-09-10 Joel Brobecker <brobecker@adacore.com>
6554
6555 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6556
7828a5f5
JB
65572014-09-10 Joel Brobecker <brobecker@adacore.com>
6558
6559 * gdb.dwarf2/dynarr-ptr.c: New file.
6560 * gdb.dwarf2/dynarr-ptr.exp: New file.
6561
33aeebcf
MR
65622014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6563
6564 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6565 of 30 rather than hardcoding 120 for a slow test case. Take the
6566 `gdb,timeout' target setting into account for this calculation.
6567 Don't extend the timeout for the test cases that don't need it.
6568
7b415901
MR
65692014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6570
6571 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6572 a factor of 2 for a slow test case. Take the `gdb,timeout'
6573 target setting into account for this calculation.
6574 * gdb.reverse/until-precsave.exp: Increase the timeout by
6575 a factor of 15 and 3 respectively rather than adding 120
6576 for a pair of slow test cases. Take the `gdb,timeout'
6577 target setting into account for this calculation.
6578
4a40f85a
MR
65792014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6580
6581 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6582 timeout, don't pass one down to gdb_expect.
6583 (gdb_expect): Rework timeout selection.
6584
09635af7
MR
65852014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6586
6587 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6588 exception on timeout.
6589 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6590 (gdbserver_start_extended): Catch any `gdbserver_start' error
6591 exceptions.
6592 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6593 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6594 `gdbserver_gdb_load' error exceptions.
6595
2bdd10b7
MR
65962014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6597
6598 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6599 120 on waiting for the TCP socket to open.
6600
316935f0
DE
66012014-09-09 Doug Evans <xdje42@gmail.com>
6602
6603 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6604 _caller_matches, _any_caller_is, _any_caller_matches.
6605
83740597
DE
66062014-09-09 Doug Evans <xdje42@gmail.com>
6607
6608 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6609
4c122fc3
YQ
66102014-09-09 Yao Qi <yao@codesourcery.com>
6611
6612 * gdb.mi/mi-var-display.exp: Set print symbol off.
6613
a9f116cb
GKB
66142014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6615
6616 PR gdb/17035
6617 * gdb.base/commands.exp: Add tests to verify user-defined
6618 commands with empty bodies.
6619 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6620 python commands in `show user command`.
6621 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6622 scheme commands in `show user command`.
6623
c75bd3a2
JK
66242014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6625
6626 PR python/17355
6627 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6628 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6629 * gdb.python/py-framefilter-invalidarg.exp: New file.
6630 * gdb.python/py-framefilter-invalidarg.py: New file.
6631
faa42425
DE
66322014-09-06 Doug Evans <xdje42@gmail.com>
6633
6634 PR 15276
6635 * gdb.python/py-caller-is.c: New file.
6636 * gdb.python/py-caller-is.exp: New file.
6637
474ca4f6
SDJ
66382014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6639
6640 PR gdb/17235
6641 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6642 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6643
eb0b0463
SDJ
66442014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6645
6646 PR fortran/17237
6647 * gdb.fortran/print-formatted.exp: New file.
6648 * gdb.fortran/print-formatted.f90: Likewise.
6649
5f3b99cf
SS
66502014-09-03 Sasha Smundak <asmundak@google.com>
6651
6652 * gdb.python/py-frame.exp: Test Frame.read_register.
6653
7d793aa9
SDJ
66542014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6655
6656 PR python/16699
6657 * gdb.python/py-completion.exp: New file.
6658 * gdb.python/py-completion.py: Likewise.
6659
fb0576e9
DE
66602014-08-28 Doug Evans <dje@google.com>
6661
6662 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6663 eax,etc. are live with values set by gdb and thus the compiler can't
6664 use them.
6665 * gdb.arch/i386-pseudo.c (main): Ditto.
6666
ee92b0dd
DE
66672014-08-27 Doug Evans <dje@google.com>
6668
6669 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6670
6649db35
DE
66712014-08-25 Doug Evans <dje@google.com>
6672
6673 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6674 (main): Ditto.
6675
564b7600
DE
66762014-08-25 Doug Evans <dje@google.com>
6677
6678 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6679
3881fb67
YQ
66802014-08-24 Yao Qi <yao@codesourcery.com>
6681
6682 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6683 symbol off.
6684 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6685
a05a36a5
DE
66862014-08-22 Doug Evans <dje@google.com>
6687
6688 PR 17276
6689 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6690 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6691 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6692
7c343b48
YQ
66932014-08-22 Yao Qi <yao@codesourcery.com>
6694
6695 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6696 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6697 * gdb.python/python.exp: Likewise. Use .py file on the host
6698 instead of the build.
6699
22fd09ae
JK
67002014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6701
6702 * gdb.threads/gcore-stale-thread.c: New file.
6703 * gdb.threads/gcore-stale-thread.exp: New file.
6704
a8454a7c
PA
67052014-08-21 Pedro Alves <palves@redhat.com>
6706
6707 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6708 * gdb.base/gcore-relro-pie.exp: Likewise.
6709 * gdb.base/gcore-relro.exp: Likewise.
6710 * gdb.base/gcore.exp: Likewise.
6711 * gdb.base/print-symbol-loading.exp: Likewise.
6712 * gdb.threads/gcore-thread.exp: Likewise.
6713 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6714
2a31c623
PA
67152014-08-20 Pedro Alves <palves@redhat.com>
6716 Jan Kratochvil <jan.kratochvil@redhat.com>
6717
6718 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6719 configure.
6720 (EXPECT): Handle READ1 being set.
6721 (all): Depend on EXTRA_RULES.
6722 (check-read1, expect-read1, read1.so, read1): New rules.
6723 * README (Testsuite Parameters): Document the READ1 make variable.
6724 (Race detection): New section.
6725 * configure: Regenerate.
6726 * configure.ac: If build==host==target, and running under a
6727 GNU/glibc system, add read1 to the extra Makefile rules.
6728 (EXTRA_RULES): AC_SUBST it.
6729 * lib/read1.c: New file.
6730
d36430db
JB
67312014-08-20 Joel Brobecker <brobecker@adacore.com>
6732
6733 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6734 the handling of variables declared as a typedef to an array
6735 which a DW_AT_data_location attribute.
6736
9a0dc9e3
PA
67372014-08-19 Andrew Burgess <aburgess@broadcom.com>
6738 Pedro Alves <palves@redhat.com>
6739
6740 PR symtab/14604
6741 PR symtab/14605
6742 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6743 gdb_test.
6744
0718a8da
PA
67452014-08-19 Pedro Alves <palves@redhat.com>
6746
6747 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6748
13b448cd
YQ
67492014-08-19 Yao Qi <yao@codesourcery.com>
6750
6751 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6752 right line.
6753
1cbf5077
DB
67542014-08-18 David Blaikie <dblaikie@gmail.com>
6755
6756 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6757
bf0fae19
JB
67582014-08-18 Joel Brobecker <brobecker@adacore.com>
6759
6760 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6761 attribute in array range.
6762
3c8c5dcc
JB
67632014-08-18 Joel Brobecker <brobecker@adacore.com>
6764
6765 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6766
e66d4446
SC
67672014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6768
6769 PR c++/17132
6770 * gdb.cp/pr17132.cc: New file.
6771 * gdb.cp/pr17132.exp: New file.
6772
940df408
SC
67732014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6774
6775 * gdb.python/py-xmethods.py (A_getarrayind)
6776 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6777 Use 'print' with function call syntax.
6778 (E_method_matcher.match): Fix tab vs space indentation mixup.
6779
ebcc6c3a
YQ
67802014-08-15 Yao Qi <yao@codesourcery.com>
6781
6782 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6783 false.
6784
775e0f04
YQ
67852014-08-15 Yao Qi <yao@codesourcery.com>
6786
6787 * gdb.cp/casts.exp: Set print symbol off.
6788 * gdb.cp/class2.exp: Likewise.
6789 * gdb.cp/overload.exp: Likewise.
6790 * gdb.cp/templates.exp: Likewise.
6791
d769e349
DE
67922014-08-11 Doug Evans <dje@google.com>
6793
6794 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6795 (test_load_shlib): Update.
6796
20c6f1e1
YQ
67972014-08-09 Yao Qi <yao@codesourcery.com>
6798
6799 * gdb.base/display.exp: Invoke is_address_zero_readable.
6800 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6801 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6802 * gdb.base/hbreak-unmapped.exp: Return if
6803 is_address_zero_readable returns true.
6804 * gdb.base/signest.exp: Likewise.
6805 * gdb.base/signull.exp: Likewise.
6806 * gdb.base/sigbpt.exp: Likewise.
6807 * gdb.guile/scm-disasm.exp: Do the test if
6808 is_address_zero_readable returns false.
6809 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6810 * gdb.python/py-arch.exp: Likewise.
6811 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6812 * lib/gdb.exp (is_address_zero_readable): New proc.
6813
5792e8e3
YQ
68142014-08-09 Yao Qi <yao@codesourcery.com>
6815
6816 PR testsuite/13443
6817 * gdb.mi/mi-var-display.exp: Make test messages unique.
6818
3cecbbbe
TT
68192014-08-04 Tom Tromey <tromey@redhat.com>
6820
6821 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
6822 target 0".
6823
00b51ff5
TT
68242014-08-04 Tom Tromey <tromey@redhat.com>
6825
6826 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6827 "target_resume".
6828
6908c509
JB
68292014-08-01 Joel Brobecker <brobecker@adacore.com>
6830
6831 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6832 inner_vla_struct_object_size.
6833 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6834 as xfail.
6835
cc6563d2
PA
68362014-07-30 Pedro Alves <palves@redhat.com>
6837
6838 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6839 comment.
6840
7e09a223
YQ
68412014-07-29 Yao Qi <yao@codesourcery.com>
6842
6843 PR gdb/17206
6844 * gdb.base/until-nodebug.exp: New.
6845
7ebdbe92
DE
68462014-07-28 Doug Evans <xdje42@gmail.com>
6847
6848 PR guile/17203
6849 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6850 previously existing parameter, and previously ambiguously spelled
6851 parameter.
6852
fdb1adc6
WN
68532014-07-28 Will Newton <will.newton@linaro.org>
6854
6855 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6856
186fcde0
DE
68572014-07-26 Ludovic Courtès <ludo@gnu.org>
6858 Doug Evans <xdje42@gmail.com>
6859
6860 PR guile/17146
6861 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6862
70509625
PA
68632014-07-25 Pedro Alves <palves@redhat.com>
6864
6865 * gdb.threads/signal-command-handle-nopass.c: New file.
6866 * gdb.threads/signal-command-handle-nopass.exp: New file.
6867 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6868 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6869 * gdb.threads/signal-delivered-right-thread.c: New file.
6870 * gdb.threads/signal-delivered-right-thread.exp: New file.
6871
c3f814a1
PA
68722014-07-25 Pedro Alves <palves@redhat.com>
6873
6874 * gdb.base/double-prompt-target-event-error.exp
6875 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6876 match.
6877 (cancel_pagination_in_target_event): Rework double prompt
6878 detection.
6879 * gdb.base/paginate-after-ctrl-c-running.exp
6880 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6881 <return>' match.
6882 * gdb.base/paginate-bg-execution.exp
6883 (test_bg_execution_pagination_return)
6884 (test_bg_execution_pagination_cancel): Remove '-notransfer
6885 <return>' matches.
6886 * gdb.base/paginate-execution-startup.exp
6887 (test_fg_execution_pagination_return)
6888 (test_fg_execution_pagination_cancel): Remove '-notransfer
6889 <return>' matches.
6890 * gdb.base/paginate-inferior-exit.exp
6891 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6892 match.
6893 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6894 * lib/gdb.exp (pagination_prompt): Run text through
6895 string_to_regexp.
6896 (gdb_test_multiple): Match $pagination_prompt instead of
6897 "<return>".
6898 (string_to_regexp): Move to lib/gdb-utils.exp.
6899
e214cf6c
JK
69002014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6901
6902 * gdb.arch/amd64-entry-value-paramref.S: New file.
6903 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6904 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6905 * gdb.arch/amd64-optimout-repeat.S: New file.
6906 * gdb.arch/amd64-optimout-repeat.c: New file.
6907 * gdb.arch/amd64-optimout-repeat.exp: New file.
6908
17d0c5c8
JK
69092014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6910
6911 PR gdb/17170
6912 * gdb.base/statistics.exp: New file.
6913
b8b8facf
DE
69142014-07-17 Doug Evans <dje@google.com>
6915
74b49205 6916 PR gdb/17170
b8b8facf
DE
6917 * gdb.base/maint.exp: Update testing of per-command stats.
6918
1b5d0ab3
PA
69192014-07-16 Pedro Alves <palves@redhat.com>
6920
6921 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6922 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6923 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6924 (tfile_write_buf): New functions.
6925 (add_memory_block): Rewrite using the above.
6926 (adjust_function_address): New function.
6927 (FUNCTION_ADDRESS): New macro.
6928 (write_basic_trace_file): Remove short_x local, and use
6929 tfile_write_16. Change type of func_addr local to unsigned long
6930 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6931 here. Cast argument of add_memory_block to char pointer.
6932 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6933 (main): Remove parameters.
6934 * gdb.trace/tfile.exp: Remove nowarnings.
6935
4d974e88
SM
69362014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6937
6938 * gdb.base/debug-expr.exp: Test string evaluation with
6939 "debug expression" on.
6940
41e99568
PA
69412014-07-15 Pedro Alves <palves@redhat.com>
6942
6943 * gdb.base/reread.exp: Use clean_restart.
6944
487d9753
PL
69452014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6946
6947 * gdb.arch/avr-flash-qualifer.c: New.
6948 * gdb.arch/avr-flash-qualifer.exp: New.
6949
cc1c52ad
PA
69502014-07-14 Pedro Alves <palves@redhat.com>
6951
6952 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6953 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6954
1e973570
PA
69552014-07-14 Pedro Alves <palves@redhat.com>
6956
6957 * gdb.base/double-prompt-target-event-error.c: New file.
6958 * gdb.base/double-prompt-target-event-error.exp: New file.
6959
93d6eb10
PA
69602014-07-14 Pedro Alves <palves@redhat.com>
6961
6962 PR gdb/17072
6963 * gdb.base/paginate-inferior-exit.c: New file.
6964 * gdb.base/paginate-inferior-exit.exp: New file.
6965
0017922d
PA
69662014-07-14 Pedro Alves <palves@redhat.com>
6967
6968 PR gdb/17072
6969 * gdb.base/paginate-bg-execution.c: New file.
6970 * gdb.base/paginate-bg-execution.exp: New file.
6971
94696ad3
PA
69722014-07-14 Pedro Alves <palves@redhat.com>
6973
6974 PR gdb/17072
6975 * gdb.base/paginate-execution-startup.c: New file.
6976 * gdb.base/paginate-execution-startup.exp: New file.
6977 * lib/gdb.exp (pagination_prompt): New global.
6978 (default_gdb_spawn): New procedure, factored out from
6979 default_gdb_spawn.
6980 (default_gdb_start): Adjust to call default_gdb_spawn.
6981 (gdb_spawn): New procedure.
6982
bd293940
PA
69832014-07-14 Pedro Alves <palves@redhat.com>
6984
6985 * lib/gdb.exp (gdb_assert): New procedure.
6986 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6987
c933f875
PA
69882014-07-14 Pedro Alves <palves@redhat.com>
6989
6990 * gdb.base/execution-termios.c: New file.
6991 * gdb.base/execution-termios.exp: New file.
6992
d98b7a16
TT
69932014-07-14 Tom Tromey <tromey@redhat.com>
6994
6995 * gdb.cp/vla-cxx.cc: New file.
6996 * gdb.cp/vla-cxx.exp: New file.
6997
548740d6
TT
69982014-07-14 Tom Tromey <tromey@redhat.com>
6999
7000 * gdb.reverse/rerun-prec.c: New file.
7001 * gdb.reverse/rerun-prec.exp: New file.
7002
a25eb028
MR
70032014-07-12 Maciej W. Rozycki <macro@mips.com>
7004 Maciej W. Rozycki <macro@codesourcery.com>
7005
7006 * lib/gdb-utils.exp: New file.
7007 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
7008 inline `gdb_init_command' processing.
7009 (gdb_start_cmd): Likewise.
7010 * lib/mi-support.exp (mi_run_cmd): Likewise.
7011 * README: Document `gdb_init_command' and `gdb_init_commands'.
7012
218c2655
JK
70132014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7014
7015 Fix false FAIL running under a very long directory name.
7016 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
7017 and "set print elements 10000". Twice.
7018
5401fde3
YQ
70192014-07-11 Yao Qi <yao@codesourcery.com>
7020
7021 * gdb.base/exprs.exp: "set print symbol off".
7022
e76126e8
PA
70232014-07-11 Pedro Alves <palves@redhat.com>
7024
7025 * gdb.threads/kill.c: New file.
7026 * gdb.threads/kill.exp: New file.
7027
2d6f0de6
YQ
70282014-07-10 Yao Qi <yao@codesourcery.com>
7029
7030 * gdb.trace/tfile.c (write_basic_trace_file)
7031 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
7032 address written to trace file.
7033
7180e04a
PA
70342014-07-09 Pedro Alves <palves@redhat.com>
7035
7036 * gdb.base/attach-wait-input.exp: New file.
7037 * gdb.base/attach-wait-input.c: New file.
7038
9a9a7608
AB
70392014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7040
7041 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
7042 setting up test structures.
7043 (main): Call new test function.
7044 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
7045 test function, continue into test function and walk test
7046 structures.
7047
161ac41e
YQ
70482014-07-02 Yao Qi <yao@codesourcery.com>
7049
7050 * gdb.trace/entry-values.c: Define labels 'foo_start' and
7051 'bar_start' at the beginning of functions 'foo' and 'bar'
7052 respectively.
7053 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
7054 instead of 'foo' and 'bar'.
7055
1f267ae3
MM
70562014-07-08 Markus Metzger <markus.t.metzger@intel.com>
7057
7058 * gdb.btrace/segv.exp: New.
7059 * gdb.btrace/segv.c: New.
7060
2b239efb
LM
70612014-07-02 Luis Machado <lgustavo@codesourcery.com>
7062
7063 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
7064 instruction.
7065
cf363f18
MW
70662014-06-30 Mark Wielaard <mjw@redhat.com>
7067
7068 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
7069 vulture, vilify, villar): New volatile array constants.
7070 (vindictive, vegetation): New const volatile array constants.
7071 * gdb.base/volatile.exp: Test volatile and const volatile array
7072 types.
7073
aebf9d24
AA
70742014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7075
7076 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
7077 target lacks support for awatch, rwatch, or hbreak.
7078
b67a2c6f
YQ
70792014-06-27 Yao Qi <yao@codesourcery.com>
7080
7081 * gdb.multi/dummy-frame-restore.exp: New.
7082 * gdb.multi/dummy-frame-restore.c: New.
7083
aef92902
MM
70842014-06-25 Markus Metzger <markus.t.metzger@intel.com>
7085
7086 * gdb.btrace/gcore.exp: New.
7087
8e9db26e
PA
70882014-06-23 Pedro Alves <palves@redhat.com>
7089
7090 * gdb.base/watchpoint-reuse-slot.c: New file.
7091 * gdb.base/watchpoint-reuse-slot.exp: New file.
7092
70afc5b7
SC
70932014-06-23 Siva Chandra Reddy <sivachandra@google.com>
7094
7095 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
7096 progspace's filename in 'info', 'enable' and 'disable' command
7097 tests.
7098
b972bd9c
JK
70992014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7100
7101 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
7102 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7103 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
7104
125f8a3d
GB
71052014-06-20 Gary Benson <gbenson@redhat.com>
7106
7107 * gdb.arch/i386-avx.exp: Fix include file location.
7108 * gdb.arch/i386-sse.exp: Likewise.
7109
3ed9baed
IB
71102014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7111
7112 * gdb.dlang/expression.exp: New file.
7113
034f788c
PA
71142014-06-19 Pedro Alves <palves@redhat.com>
7115
7116 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7117 out from ...
7118 (top level): ... here. Iterate running tests under different
7119 scheduler-locking settings.
7120
45371d0c
LM
71212014-06-18 Luis Machado <lgustavo@codesourcery.com>
7122
7123 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7124 to DW_FORM_addr and use non-zero addresses.
7125
5d376983
SC
71262014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7127
7128 PR gdb/17017
7129 * gdb.python/py-xmethods.cc: Add global function call counters and
7130 increment them in their respective functions. Remove "cout"
7131 statements.
7132 * gdb.python/py-xmethods.exp: Make tests check the global function
7133 call counters instead of depending on inferior IO.
7134
a1aa2221
LM
71352014-06-18 Don Breazeal <donb@codesourcery.com>
7136
7137 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7138 Deleted procedure.
7139 (explicit_fork_parent_follow): Deleted procedure.
7140 (explicit_fork_child_follow): Deleted procedure.
7141 (test_follow_fork): New procedure.
7142 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 7143 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
7144 procedure calls.
7145
0fc05997
YQ
71462014-06-17 Yao Qi <yao@codesourcery.com>
7147
7148 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7149 CP1252.
7150
70795c52
LM
71512014-06-17 Luis Machado <lgustavo@codesourcery.com>
7152
7153 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7154 Initialize ptr and S explicitly.
7155 (skip_type_update_when_not_use_rtti_test): Likewise.
7156
6be47f0c
KS
71572014-06-16 Keith Seitz <keiths@redhat.com>
7158
7159 PR mi/15863
7160 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7161 the inferior is started.
7162
d03de421
PA
71632014-06-16 Pedro Alves <palves@redhat.com>
7164
7165 * gdb.base/break-main-file-remove-fail.c: New file.
7166 * gdb.base/break-main-file-remove-fail.exp: New file.
7167 * gdb.base/break-unload-file.exp: Use build_executable instead of
7168 prepare_for_testing.
7169 (test_break): New parameter "initial_load". Handle it.
7170 (top level): Add initial_load cmdline/file axis.
7171
f9579b99
TT
71722014-06-12 Tom Tromey <tromey@redhat.com>
7173
7174 * gdb.base/completion.exp: Don't use directory name in test.
7175
3657956b
GB
71762014-06-09 Gary Benson <gbenson@redhat.com>
7177
7178 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7179 separate the always-available ANSI-standard signals from the
7180 signals that require checking.
7181 (main): Likewise.
7182 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7183 Likewise.
7184 (main): Likewise.
7185
4186eb54
KS
71862014-06-07 Keith Seitz <keiths@redhat.com>
7187
7188 Revert:
7189 PR c++/16253
7190 * gdb.cp/var-tag.cc: New file.
7191 * gdb.cp/var-tag.exp: New file.
7192 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7193 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7194 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7195 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7196
25326a28 71972014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
7198
7199 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7200
829155c9
PA
72012014-06-06 Pedro Alves <palves@redhat.com>
7202
7203 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7204 in target debug output instead of looking at RSP packets,
7205 disabling the test on any target that uses hardware stepping.
7206 Update comments.
7207
61c8d22e
PA
72082014-06-06 Pedro Alves <palves@redhat.com>
7209
7210 * gdb.base/break-unload-file.exp: Fix typo.
7211
d9a47287
YQ
72122014-06-06 Yao Qi <yao@codesourcery.com>
7213
7214 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7215 from "jit_function" to "^jit_function".
7216
e5e01dbf
YQ
72172014-06-06 Yao Qi <yao@codesourcery.com>
7218
7219 * gdb.base/async.c (foo): Add one statement.
7220 * gdb.base/async.exp: Get the next instruction address and
7221 match the output of "nexti" by instruction address. Match
7222 the hex address in the output of "finish".
7223
73ba372c
GB
72242014-06-06 Gary Benson <gbenson@redhat.com>
7225
7226 * gdb.base/call-signals.c: Remove preprocessor conditionals
7227 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7228 SIGSEGV and SIGTERM.
7229 * gdb.base/sigall.c: Likewise.
7230 * gdb.base/unwindonsignal.c: Likewise.
7231 * gdb.reverse/sigall-reverse.c: Likewise.
7232
831517df
YQ
72332014-06-06 Yao Qi <yao@codesourcery.com>
7234
7235 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7236 readable, skip the test.
7237
b8b91e98
YQ
72382014-06-06 Yao Qi <yao@codesourcery.com>
7239
7240 * gdb.threads/staticthreads.c (thread_function): Move the line
7241 setting breakpoint on forward.
7242 * gdb.threads/staticthreads.exp: Update comments.
7243
fb934770
LC
72442014-06-05 Ludovic Courtès <ludo@gnu.org>
7245
7246 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7247 "history-append! type error".
7248
6ef284bd
SM
72492014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7250
7251 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7252 erroneous dprintf expected input.
7253
a872e241
DE
72542014-06-04 Doug Evans <xdje42@gmail.com>
7255
7256 * gdb.guile/scm-generics.exp: Delete.
7257
16f691fb
DE
72582014-06-04 Doug Evans <xdje42@gmail.com>
7259
7260 * gdb.guile/scm-breakpoint.exp: Update.
7261 Add tests for breakpoint registration.
7262
012370f6
TT
72632014-06-04 Tom Tromey <tromey@redhat.com>
7264
7265 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7266 VLA-in-union.
7267 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7268 inner_vla_struct, vla_union types. Initialize objects of those
7269 types and compute their sizes.
7270
9f5a4cef
HZ
72712014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7272 Hui Zhu <hui@codesourcery.com>
7273
7274 * gdb.base/fileio.exp: Add test for shell not available as well as
7275 available.
7276 * gdb.base/fileio.c (test_system): Check for shell twice.
7277
90a45c4d
YQ
72782014-06-04 Yao Qi <yao@codesourcery.com>
7279
7280 * gdb.base/auto-connect-native-target.exp: Remove redundant
7281 space from the regexp pattern.
7282
70017e41
YQ
72832014-06-04 Yao Qi <yao@codesourcery.com>
7284
7285 * gdb.base/default.exp: Replace "child" with "native" in
7286 regexp pattern.
7287
883964a7
SC
72882014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7289
7290 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7291 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7292 * gdb.python/py-xmethods.py: Python script supporting the
7293 new testcase and tests.
7294
ef370185
JB
72952014-06-03 Joel Brobecker <brobecker@adacore.com>
7296 Pedro Alves <palves@redhat.com>
7297
7298 PR breakpoints/17000
7299 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7300 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7301
1e2ccb61
BM
73022014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7303
7304 * gdb.base/subst.exp: Add tests to verify partial path matching
7305 output.
7306
c6ec5ab2
PA
73072014-06-03 Pedro Alves <palves@redhat.com>
7308
7309 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7310 target that doesn't use software single-stepping.
7311
835c559f
PA
73122014-06-03 Pedro Alves <palves@redhat.com>
7313
7314 PR breakpoints/17000
7315 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7316 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7317
06eb1586
DE
73182014-06-02 Doug Evans <xdje42@gmail.com>
7319
7320 * gdb.guile/scm-parameter.exp: New file.
7321
e698b8c4
DE
73222014-06-02 Doug Evans <xdje42@gmail.com>
7323
7324 * gdb.guile/scm-cmd.c: New file.
7325 * gdb.guile/scm-cmd.exp: New file.
7326
ded03782
DE
73272014-06-02 Doug Evans <xdje42@gmail.com>
7328
7329 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7330 pretty-printer lookup.
7331 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7332 (make-pp_s-printer): Call it.
7333 (make-pretty-printer-from-dict): New function.
7334 (lookup-pretty-printer-maker-from-dict): New function.
7335 (*pretty-printer*): Simplify.
7336 (make-objfile-pp_s-printer): New function.
7337 (install-objfile-pretty-printers!): New function.
7338 (make-progspace-pp_s-printer): New function.
7339 (install-progspace-pretty-printers!): New function.
7340 * gdb.guile/scm-progspace.c: New file.
7341 * gdb.guile/scm-progspace.exp: New file.
7342
41fac0cf
PA
73432014-06-02 Pedro Alves <palves@redhat.com>
7344
7345 * gdb.base/dprintf-bp-same-addr.c: New file.
7346 * gdb.base/dprintf-bp-same-addr.exp: New file.
7347
96ae5695
EBM
73482014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7349
7350 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7351 * gdb.arch/powerpc-power.s: Likewise.
7352
da02b3a8
JB
73532014-06-02 Joel Brobecker <brobecker@adacore.com>
7354
7355 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7356
c72b2e7b
YQ
73572014-06-01 Yao Qi <yao@codesourcery.com>
7358
7359 * gdb.base/watchpoint.exp (test_watch_location): Check null
7360 pointer can be dereferenced. If not, do the test, otherwise
7361 skip it.
7362
53e8a631
AB
73632014-05-30 Andrew Burgess <aburgess@broadcom.com>
7364
7365 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7366 results.
7367 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7368
938f0e2f
AB
73692014-05-30 Andrew Burgess <aburgess@broadcom.com>
7370
7371 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7372 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7373 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7374 * gdb.arch/amd64-invalid-stack-top.c: New file.
7375 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7376
9ba6657a
PA
73772014-05-30 Pedro Alves <palves@redhat.com>
7378
7379 PR breakpoints/17000
7380 * gdb.base/sss-bp-on-user-bp.c: New file.
7381 * gdb.base/sss-bp-on-user-bp.exp: New file.
7382
522c09bf
DB
73832014-05-30 David Blaikie <dblaikie@gmail.com>
7384
7385 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7386 gnu_inline semantics via attribute.
7387 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7388 source explicitly specifies the required semantics.
7389
bf4ef81e
MR
73902014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7391
7392 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7393
329ea579
PA
73942014-05-29 Pedro Alves <palves@redhat.com>
7395 Tom Tromey <tromey@redhat.com>
7396
7397 * gdb.base/async-shell.exp: Don't enable target-async.
7398 * gdb.base/async.exp
7399 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7400 parameter. Adjust.
7401 (top level): Don't test with "target-async".
7402 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7403 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7404 * gdb.base/inferior-died.exp: Don't enable target-async.
7405 * gdb.base/interrupt-noterm.exp: Likewise.
7406 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7407 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7408 * gdb.mi/mi-nonstop.exp: Likewise.
7409 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7410 * gdb.mi/mi-nsintrall.exp: Likewise.
7411 * gdb.mi/mi-nsmoribund.exp: Likewise.
7412 * gdb.mi/mi-nsthrexec.exp: Likewise.
7413 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7414 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7415 * gdb.python/py-evsignal.exp: Don't enable target-async.
7416 * gdb.python/py-evthreads.exp: Likewise.
7417 * gdb.python/py-prompt.exp: Likewise.
7418 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7419 * gdb.server/solib-list.exp: Don't enable target-async.
7420 * gdb.threads/thread-specific-bp.exp: Likewise.
7421 * lib/mi-support.exp: Adjust to use mi-async.
7422
fd664c91
PA
74232014-05-29 Pedro Alves <palves@redhat.com>
7424
7425 PR gdb/13860
7426 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7427 reason, even in sync mode.
7428
251bde03
PA
74292014-05-29 Pedro Alves <palves@redhat.com>
7430 Hui Zhu <hui@codesourcery.com>
7431
7432 PR PR15693
7433 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7434 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7435 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7436 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7437
7f3c0343
JB
74382014-05-28 Joel Brobecker <brobecker@adacore.com>
7439
7440 * config/monitor.exp (gdb_target_monitor): Replace use of
7441 "set remotebaud" by "set serial baud".
7442
b2715b27
AW
74432014-05-26 Andy Wingo <wingo@igalia.com>
7444
7445 * gdb.guile/scm-breakpoint.exp:
7446 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7447 properties instead of gdb-object-properties.
7448
498a4489
YQ
74492014-05-26 Yao Qi <yao@codesourcery.com>
7450
7451 * gdb.server/no-thread-db.exp: Specify source file name
7452 explicitly when setting a breakpoint.
7453
589fdceb
MM
74542014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7455
7456 * gdb.btrace/vdso.c: New.
7457 * gdb.btrace/vdso.exp: New.
7458
e9089e05
MM
74592014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7460
7461 * gdb.base/gcore.exp (capture_command_output): Move ...
7462 * lib/gdb.exp (capture_command_output): ... here.
7463
67b5c0c1
MM
74642014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7465
7466 * gdb.btrace/data.exp: Test memory access during btrace replay.
7467
a2199296
SM
74682014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7469
7470 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7471
17b2616c
PA
74722014-05-21 Pedro Alves <palves@redhat.com>
7473
7474 PR gdb/13860
7475 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7476 (top level): Test that output related to execution commands is
7477 sent to the console with CLI commands, but not with MI commands.
7478 Test that breakpoint events are always mirrored to the console.
7479 Also expect the new source line to be output after a "next" in
7480 async mode too. Make it a pass/fail test.
7481 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7482 output.
7483 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7484
5166082f
PA
74852014-05-21 Pedro Alves <palves@redhat.com>
7486
7487 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7488 Use them to test variations of "list" after reaching a breakpoint.
7489 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7490 Test "list" with listsize 10 after reaching a breakpoint.
7491 * gdb.python/python.exp (decode_line current location line
7492 number): Adjust expected line number.
7493
2f25d70f
SM
74942014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7495
7496 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7497 behavior for $args, pass it directly to "run".
7498
ff604a67
MR
74992014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7500
7501 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7502 30000 to 65536.
7503
6a3cb8e8
PA
75042014-05-21 Pedro Alves <palves@redhat.com>
7505
7506 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7507 auto-connect-native-target off".
7508 * gdb.base/auto-connect-native-target.c: New file.
7509 * gdb.base/auto-connect-native-target.exp: New file.
7510
4ebfc96e
PA
75112014-05-21 Pedro Alves <palves@redhat.com>
7512
7513 * gdb.base/default.exp: Test "target native" instead of "target
7514 child".
7515
36d46afb
MW
75162014-05-21 Mark Wielaard <mjw@redhat.com>
7517
7518 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7519
5876f503
JK
75202014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7521
7522 Fix TLS access for -static -pthread.
7523 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7524 <HAVE_TLS> (thread_function, main): Initialize it.
7525 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7526 Add clean_restart.
7527 <$have_tls != "">: Check TLSVAR.
7528
0256a6ac
PA
75292014-05-21 Pedro Alves <palves@redhat.com>
7530
7531 * gdb.base/dcache-line-read-error.c: New.
7532 * gdb.base/dcache-line-read-error.exp: New.
7533
936d2992
PA
75342014-05-20 Pedro Alves <palves@redhat.com>
7535
7536 * gdb.base/compare-sections.c: New file.
7537 * gdb.base/compare-sections.exp: New file.
7538
802e8e6d
PA
75392014-05-20 Pedro Alves <palves@redhat.com>
7540
7541 * gdb.base/break-idempotent.c: New file.
7542 * gdb.base/break-idempotent.exp: New file.
7543
e59fa00f
MM
75442014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7545
7546 * gdb.btrace/nohist.exp: New.
7547
8b696e31
YQ
75482014-05-20 Yao Qi <yao@codesourcery.com>
7549
7550 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7551 gdb.reverse directory and gdb_reverse_timeout exists in board
7552 setting.
7553 * README: Document gdb_reverse_timeout.
7554
73c9764f
YQ
75552014-05-20 Yao Qi <yao@codesourcery.com>
7556
7557 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7558 'test_file_name'. Treat args as a string instead of a list.
7559 (gdb_init): Rename argument 'args' by 'test_file_name'.
7560
f1f4348a
JK
75612014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7562
7563 * gdb.arch/powerpc-power.exp: New file.
7564 * gdb.arch/powerpc-power.s: New file.
7565
0dbe70ce
DE
75662014-05-16 Doug Evans <dje@google.com>
7567
7568 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
7569 * gdb.base/completion.exp: Check that all expected files exist
7570 before doing file completion.
0dbe70ce 7571
8d551b02
DE
75722014-05-16 Doug Evans <dje@google.com>
7573
7574 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7575 Update.
7576 (do_syscall_tests_without_xml): Update.
7577
73eb7709
PA
75782014-05-16 Pedro Alves <palves@redhat.com>
7579
7580 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7581 instead of "unknown output after running".
7582
3fae92fc
YQ
75832014-05-16 Yao Qi <yao@codesourcery.com>
7584
7585 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7586 file1.txt from host at the end.
7587 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7588
c2b2ccc5
DE
75892014-05-15 Doug Evans <dje@google.com>
7590
7591 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7592 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7593 loading file. Add test for TU lookup.
7594
8c217a4b
SM
75952014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7596
7597 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7598 calling "-exec-arguments" or "set args" before running the
7599 inferior.
7600
3deb39c6
SM
76012014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7602
7603 * lib/mi-support.exp (mi_expect_stop): Expect message for
7604 inferiors that exit with non-zero exit code.
7605
71a79f8c
YQ
76062014-05-14 Yao Qi <yao@codesourcery.com>
7607
7608 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7609 match absolute path on remote host.
7610 (test_file_list_exec_source_files): Remove "/" from the
7611 pattern.
7612
f23fcd46
YQ
76132014-05-14 Yao Qi <yao@codesourcery.com>
7614
7615 * boards/local-remote-host-notty.exp (${board}_file): New
7616 proc.
7617
9404b58f
KM
76182014-05-07 Kyle McMartin <kyle@redhat.com>
7619
7620 Pushed by Joel Brobecker <brobecker@adacore.com>.
7621 * gdb.arch/aarch64-atomic-inst.c: New file.
7622 * gdb.arch/aarch64-atomic-inst.exp: New file.
7623
5e45f04c
YQ
76242014-05-07 Yao Qi <yao@codesourcery.com>
7625
7626 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7627 in current context" too.
7628
c888a17d
KS
76292014-05-05 Keith Seitz <keiths@redhat.com>
7630
7631 * gdb.linespec/ls-dollar.exp: Add test for linespec
7632 file:convenience_variable.
7633
290a839c
YQ
76342014-05-05 Yao Qi <yao@codesourcery.com>
7635
7636 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7637 traceframes into tfile and ctf trace files. Read data from
7638 trace file and test collected data.
7639 (gdb_collect_locals_test): Likewise.
7640 (gdb_unavailable_registers_test): Likewise.
7641 (gdb_unavailable_floats): Likewise.
7642 (gdb_collect_globals_test): Likewise.
7643 (top-level): Append "ctf" to trace_file_targets if GDB
7644 supports.
7645
b5262cd0
YQ
76462014-05-05 Yao Qi <yao@codesourcery.com>
7647
7648 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7649 code to ...
7650 (gdb_collect_args_test_1): ... it. New proc.
7651 (gdb_collect_locals_test): Move some code to ...
7652 (gdb_collect_locals_test_1): ... it. New proc.
7653 (gdb_unavailable_registers_test): Move some code to ...
7654 (gdb_unavailable_registers_test_1): ... it. New proc.
7655 (gdb_unavailable_floats): Move some code to ...
7656 (gdb_unavailable_floats_1): ... it. New proc.
7657
30a1e6cc
SDJ
76582014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7659
7660 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7661 probes to test for bitness recognition.
7662 * gdb.arch/amd64-stap-optional-prefix.exp
7663 (test_probe_value_without_reg): New procedure.
7664 Add code to test for different kinds of bitness.
7665
f33da99a
SDJ
76662014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7667
7668 PR breakpoints/16889
7669 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7670 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7671
5b80f00d
PA
76722014-05-01 Pedro Alves <palves@redhat.com>
7673
7674 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7675 gdb_file_cmd if no file is specified.
7676 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7677 last_loaded_file to set the remote exec-file.
7678
f8c2a73c
PA
76792014-05-01 Pedro Alves <palves@redhat.com>
7680
7681 * boards/local-remote-host.exp: New file.
7682
be6e8ac7
PA
76832014-05-01 Pedro Alves <palves@redhat.com>
7684
7685 * boards/local-remote-host.exp: Rename to ...
7686 * boards/local-remote-host-notty.exp: ... this.
7687
cac0dc8f
JB
76882014-04-28 Joel Brobecker <brobecker@adacore.com>
7689
7690 * gdb.ada/dyn_arrayidx: New testcase.
7691
9730e6cc
YQ
76922014-04-26 Yao Qi <yao@codesourcery.com>
7693
7694 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7695 and compute the length of function main. Save it in
7696 $main_length.
7697 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7698 (top-level): Use gdb_compile to compile objects into
7699 executable and restart GDB. Remove invocation to
7700 prepare_for_testing.
7701
7ae1a6a6
PA
77022014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7703 Pedro Alves <palves@redhat.com>
7704
7705 PR server/16255
7706 * gdb.multi/multi-attach.c: New file.
7707 * gdb.multi/multi-attach.exp: New file.
7708
4082afcc
PA
77092014-04-25 Pedro Alves <palves@redhat.com>
7710
7711 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7712 user.
7713 (top level): Test that "set remote conditional-breakpoints-packet
7714 off" works as intended.
7715 * gdb.base/dprintf.exp: Test that "set remote
7716 breakpoint-commands-packet off" works as intended.
7717 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7718 New function.
7719 (top level): Call it.
7720 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7721 remote fast-tracepoints-packet off" works as intended.
7722 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7723 * lib/gdb.exp (gdb_is_target_remote): ... here.
7724
2abc3f8d
DB
77252014-04-24 David Blaikie <dblaikie@gmail.com>
7726
7727 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7728 ensure clang would not discard them.
7729 * gdb.base/gdbvars.c: Ditto.
7730 * gdb.base/memattr.c: Ditto.
7731 * gdb.base/whatis.c: Ditto.
7732 * gdb.python/py-prettyprint.c: Ditto.
7733 * gdb.trace/actions.c: Ditto.
7734 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7735 ensure clang would not discard it.
7736
bfd39632
DB
77372014-04-24 David Blaikie <dblaikie@gmail.com>
7738
7739 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7740 clang to emit the full definition of type required by the test
7741 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7742
22842ff6
DB
77432014-04-24 David Blaikie <dblaikie@gmail.com>
7744
7745 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7746 coax Clang into emitting the definition of the type.
7747 * gdb.cp/pr10728-x.h (y): Ditto.
7748 * gdb.cp/pr10728-y.cc (y): Ditto.
7749
c2e827ad
DB
77502014-04-24 David Blaikie <dblaikie@gmail.com>
7751
7752 * gdb.base/label.exp: XFAIL label related tests under Clang.
7753 * gdb.cp/cplabel.exp: Ditto.
7754 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7755 under Clang those using labels.
7756
4c2d33e7
YQ
77572014-04-25 Yao Qi <yao@codesourcery.com>
7758
7759 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7760 double_label.
7761 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7762 partial_label and double_label.
7763
56083b99
DB
77642014-04-24 David Blaikie <dblaikie@gmail.com>
7765
7766 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7767
25d4e99d
DB
77682014-04-24 David Blaikie <dblaikie@gmail.com>
7769
7770 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7771 of the function to work across GCC and Clang.
7772 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7773 pointer types (const void ** const V void **).
7774
01f9f808
MS
77752014-04-24 Michael Sturm <michael.sturm@mintel.com>
7776 Walfred Tedeschi <walfred.tedeschi@intel.com>
7777
7778 * Makefile.in (EXECUTABLES): Added i386-avx512.
7779 * gdb.arch/i386-avx512.c: New file.
7780 * gdb.arch/i386-avx512.exp: Likewise.
7781
4b48d439
KS
77822014-04-23 Keith Seitz <keiths@redhat.com>
7783
7784 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7785 (mi_make_breakpoint_table): New procedure.
7786 (mi_create_breakpoint): Use mi_make_breakpoint
7787 and return the result.
7788 (mi_make_breakpoint): New procedure.
7789 (mi_build_kv_pairs): New procedure.
7790
7791 * gdb.mi/mi-break.exp: Remove unused globals,
7792 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7793 All callers updated.
7794 * gdb.mi/mi-dprintf.exp: Use variable to track command
7795 number.
7796 Update all callers of mi_create_breakpoint and use
7797 mi_make_breakpoint_table.
7798 Remove any unused global variables.
7799 * gdb.mi/mi-nonstop.exp: Likewise.
7800 * gdb.mi/mi-nsintrall.exp: Likewise.
7801 * gdb.mi/mi-nsmoribund.exp: Likewise.
7802 * gdb.mi/mi-nsthrexec.exp: Likewise.
7803 * gdb.mi/mi-reverse.exp: Likewise.
7804 * gdb.mi/mi-simplerun.exp: Likewise.
7805 * gdb.mi/mi-stepn.exp: Likewise.
7806 * gdb.mi/mi-syn-frame.exp: Likewise.
7807 * gdb.mi/mi-until.exp: Likewise.
7808 * gdb.mi/mi-var-cp.exp: Likewise.
7809 * gdb.mi/mi-var-display.exp: Likewise.
7810 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7811 * gdb.mi/mi2-var-child.exp: Likewise.
7812 * gdb.mi/mi-vla-c99.exp: Likewise.
7813 * lib/mi-support.exp: Likewise.
7814
7815 From Ian Lance Taylor <iant@cygnus.com>:
7816 * lib/gdb.exp (parse_args): New procedure.
7817
08351840
PA
78182014-04-23 Pedro Alves <palves@redhat.com>
7819
7820 * gdb.base/break-unload-file.c: New file.
7821 * gdb.base/break-unload-file.exp: New file.
7822 * gdb.base/sym-file-lib.c (baz): New function.
7823 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7824 field.
7825 (load): Store the segment's mapped size.
7826 (unload): New function.
7827 (unload_shlib): New function.
7828 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7829 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7830 set a breakpoint at baz, and call it.
7831 * gdb.base/sym-file.exp: New tests for stale breakpoint
7832 instructions.
7833
076855f9
PA
78342014-04-23 Pedro Alves <palves@redhat.com>
7835
7836 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7837 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7838 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7839 * gdb.base/hbreak-unmapped.c: New file.
7840 * gdb.base/hbreak-unmapped.exp: New file.
7841 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7842 * lib/gdb.exp (gdb_is_target_remote): ... here.
7843
483805cf
PA
78442014-04-22 Pedro Alves <palves@redhat.com>
7845
7846 * gdb.base/consecutive-step-over.c: New file.
7847 * gdb.base/consecutive-step-over.exp: New file.
7848
06d97543
PA
78492014-04-22 Pedro Alves <palves@redhat.com>
7850
7851 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7852 instead of send_gdb/gdb_expect.
7853
b4429ea2
YQ
78542014-04-22 Yao Qi <yao@codesourcery.com>
7855
7856 * lib/trace-support.exp (generate_tracefile): New procedure.
7857 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7858 return 0.
7859 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7860 if generate_tracefile returns 1.
7861
51d48146
PA
78622014-04-18 Tom Tromey <palves@redhat.com>
7863 Pedro alves <tromey@redhat.com>
7864
7865 PR backtrace/15558
7866 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7867 with a backtrace limit.
7868 * gdb.python/py-frame-inline.exp: Test running to an inline
7869 function with a backtrace limit, and printing the newest frame.
7870 * gdb.python/py-frame-inline.c (main): Call f.
7871
bd1dce5f
MS
78722014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7873
7874 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7875
40d1a503
MS
78762014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7877
7878 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7879 Drop prefix from unsupported source file path.
7880
389b98f7
YQ
78812014-04-17 Yao Qi <yao@codesourcery.com>
7882
7883 * lib/gdb.exp (with_target_charset): New proc.
7884 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7885 with_target_charset.
7886 (test_print_strings): Likewise.
7887 (test_repeat_bytes): Likewise.
7888 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7889 for some tests.
7890
22869d73
KS
78912014-04-16 Keith Seitz <keiths@redhat.com>
7892
7893 PR gdb/15827
7894 * gdb.dwarf2/corrupt.c: New file.
7895 * gdb.dwarf2/corrupt.exp: New file.
7896
c4f87ca6
KS
78972014-04-16 Keith Seitz <keiths@redhat.com>
7898
7899 PR c++/16597
7900 * gdb.cp/namelessclass.cc: New file.
7901 * gdb.cp/namelessclass.exp: New file.
7902 * gdb.cp/namelessclass.S: New file.
7903
ab19de87
DE
79042014-04-16 Doug Evans <dje@google.com>
7905
7906 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7907 Add comment.
7908 (gdbserver_default_get_comm_port): New function.
7909 (gdbserver_start): Check if board file provided
7910 "gdbserver,get_comm_port" and use it if so.
7911 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7912 (gdb,socketport): Set to "stdio".
7913 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7914 (stdio_gdbserver_template): Delete.
7915 (${board}_get_remote_address): Update.
7916 (${board}_build_remote_cmd): Delete.
7917 (${board}_get_comm_port): New function.
7918 (${board}_spawn): Update.
7919 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7920 Delete.
7921 (${board}_get_remote_address): Update.
7922 (${board}_get_comm_port): New function.
7923
fc98a809
AB
79242014-04-16 Andrew Burgess <aburgess@broadcom.com>
7925
7926 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7927 appearing in any order.
7928
87fd9e6e
DE
79292014-04-15 Doug Evans <dje@google.com>
7930
7931 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7932 uninitialized value of "description".
7933
099fc3ea
KS
79342014-04-15 Keith Seitz <keiths@redhat.com>
7935
7936 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7937 Remove unused globals.
7938 (test_running_the_program): Likewise.
7939 (test_controlled_execution): Likewise.
7940 (test_controlling_breakpoints): Likewise.
7941 (test_program_termination): Likewise.
7942
5da151d4
KS
79432014-04-15 Keith Seitz <keiths@redhat.com>
7944
7945 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7946 unused globals.
7947 (test_rbreak_creation_and_listing): Likewise.
7948 (test_ignore_count): Likewise.
7949 (test_error): Likewise.
7950
35e5d2f0
PA
79512014-04-15 Pedro Alves <palves@redhat.com>
7952
7953 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7954 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7955 sym-file-loader.c.
7956 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7957 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7958 to sym-file-loader.c.
7959 (struct library): Forward declare.
7960 (load_shlib, lookup_function): Change prototypes.
7961 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7962 (translate_offset): Remove declarations.
7963 (get_text_addr): New declaration.
7964 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7965 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7966 sym-file-loader.h.
7967 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7968 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7969 here from sym-file-loader.h.
7970 (struct library): New structure.
7971 (load_shlib, lookup_function): Change prototypes and adjust to
7972 work with a struct library.
7973 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7974 (translate_offset): Make static.
7975 (get_text_addr): New function.
7976 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7977
eb4c1710
PA
79782014-04-15 Pedro Alves <palves@redhat.com>
7979
7980 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7981
2d1baf52
PA
79822014-04-15 Pedro Alves <palves@redhat.com>
7983
7984 * gdb.base/sym-file-loader.c: Include <limits.h>.
7985 (SELF_LINK): New define.
7986 (get_origin): New function.
7987 (load_shlib): Use it.
7988 * gdb.base/sym-file.exp: Don't early return if the target is
7989 remote. Use runto_main, and issue fail is that fails. Use
7990 gdb_load_shlibs.
7991 (shlib_name): Delete.
7992 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7993
7dd6df01
PA
79942014-04-15 Pedro Alves <palves@redhat.com>
7995
7996 * gdb.base/sym-file.exp: Remove regex characters from test
7997 message. Don't refer to breakpoint numbers in test messages.
7998
b50c8614
KS
79992014-04-14 Keith Seitz <keiths@redhat.com>
8000
8001 PR c++/16253
8002 * gdb.cp/var-tag.cc: New file.
8003 * gdb.cp/var-tag.exp: New file.
8004 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8005 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8006 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8007 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8008
3d567982
TT
80092014-04-14 Tom Tromey <tromey@redhat.com>
8010
8011 * gdb.cp/classes.exp (test_enums): Handle underlying type.
8012 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
8013 type.
8014 * gdb.cp/enum-class.exp: New file.
8015 * gdb.cp/enum-class.cc: New file.
8016
0626fc76
TT
80172014-04-14 Tom Tromey <tromey@redhat.com>
8018
8019 * gdb.dwarf2/enum-type.exp: New file.
8020
dca325b3
SA
80212014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8022
8023 * gdb.mi/mi-vla-c99.exp: New file.
8024 * gdb.mi/vla.c: New file.
8025
5854b38a
SA
80262014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8027
8028 * gdb.base/vla-datatypes.c: New file.
8029 * gdb.base/vla-datatypes.exp: New file.
8030
463bb957
SA
80312014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8032
8033 * gdb.base/vla-ptr.c: New file.
8034 * gdb.base/vla-ptr.exp: New file.
8035
3dd170be
SA
80362014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8037
8038 * gdb.dwarf2/count.exp: New file.
8039
5ecaaa66
SA
80402014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8041
8042 * gdb.base/vla-sideeffect.c: New file.
8043 * gdb.base/vla-sideeffect.exp: New file.
8044
41f1ada5
DB
80452014-04-14 David Blaikie <dblaikie@gmail.com>
8046
8047 * gdb.mi/non-stop.c: Add return value for non-void function return
8048 statement.
8049 * gdb.threads/staticthreads.c: Ditto.
8050
0be03e84
DE
80512014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8052 Doug Evans <xdje42@gmail.com>
8053
8054 * gdb.guile/scm-value.c: Improve test case.
8055 * gdb.guile/scm-value.exp: Add new test.
8056
f180a1fb
DB
80572014-04-11 David Blaikie <dblaikie@gmail.com>
8058
8059 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
8060 override Clang's default.
8061
6b662e19
JB
80622014-04-11 Joel Brobecker <brobecker@adacore.com>
8063
8064 Revert the following changes (regressions):
8065
8066 * gdb.base/vla-sideeffect.c: New file.
8067 * gdb.base/vla-sideeffect.exp: New file.
8068
8069 * gdb.dwarf2/count.exp: New file.
8070
8071 * gdb.base/vla-multi.c: New file.
8072 * gdb.base/vla-multi.exp: New file.
8073
8074 * gdb.base/vla-ptr.c: New file.
8075 * gdb.base/vla-ptr.exp: New file.
8076
8077 * gdb.base/vla-datatypes.c: New file.
8078 * gdb.base/vla-datatypes.exp: New file.
8079
8080 * gdb.mi/mi-vla-c99.exp: New file.
8081 * gdb.mi/vla.c: New file.
8082
245a5f0b
KS
80832014-04-11 Keith Seitz <keiths@redhat.com>
8084
8085 PR c++/16675
8086 * gdb.cp/cpsizeof.exp: New file.
8087 * gdb.cp/cpsizeof.cc: New file.
8088
58a84dcf
SA
80892014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8090
191a8a90
JB
8091 * gdb.mi/mi-vla-c99.exp: New file.
8092 * gdb.mi/vla.c: New file.
58a84dcf 8093
c8655f75
SA
80942014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8095
8096 * gdb.base/vla-datatypes.c: New file.
8097 * gdb.base/vla-datatypes.exp: New file.
8098
024e13b4
SA
80992014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8100
8101 * gdb.base/vla-ptr.c: New file.
8102 * gdb.base/vla-ptr.exp: New file.
8103
1a237e0e
SA
81042014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8105
8106 * gdb.base/vla-multi.c: New file.
8107 * gdb.base/vla-multi.exp: New file.
8108
504f3432
SA
81092014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8110
8111 * gdb.dwarf2/count.exp: New file.
8112
3bce8237
SA
81132014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8114
191a8a90
JB
8115 * gdb.base/vla-sideeffect.c: New file.
8116 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 8117
322f9c21
YQ
81182014-04-11 Yao Qi <yao@codesourcery.com>
8119
8120 * gdb.base/completion.exp: Check file exists before running tests
8121 on file completion.
8122
d708bcd1
PA
81232014-04-10 Pedro Alves <palves@redhat.com>
8124
8125 * gdb.base/cond-eval-mode.c: New file.
8126 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8127 prepare_for_testing to build the new file. Check result of
8128 runto_main.
8129 (test_break, test_watch): New procedures.
8130 (top level): Use them.
8131
ae1d2761
PM
81322014-04-08 Pierre Muller <muller@sourceware.org>
8133
8134 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8135 Ctrl-V use for mingw hosts.
8136
7af389b8
SC
81372014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8138
8139 * gdb.python/py-value.c: Improve test case.
8140 * gdb.python/py-value.exp: Add new test.
8141
5e703181
DE
81422014-04-07 David Blaikie <dblaikie@gmail.com>
8143
8144 * lib/compiler.c: Identify the clang compiler.
8145 * lib/compiler.cc: Ditto.
8146
9810b410
YQ
81472014-04-03 Yao Qi <yao@codesourcery.com>
8148
8149 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8150
98d1b8dc
AB
81512014-04-01 Anton Blanchard <anton@samba.org>
8152
8153 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8154 messages unique.
8155
3114cea1
AB
81562014-04-01 Anton Blanchard <anton@samba.org>
8157
8158 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8159 prepare_for_testing.
8160
62f7182c
AB
81612014-04-01 Anton Blanchard <anton@samba.org>
8162
8163 * gdb.arch/ppc64-atomic-inst.c: Remove.
8164 * gdb.arch/ppc64-atomic-inst.S: New file.
8165 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8166
770e7fc7
DE
81672014-03-31 Doug Evans <dje@google.com>
8168
8169 * gdb.base/print-symbol-loading-lib.c: New file.
8170 * gdb.base/print-symbol-loading-main.c: New file.
8171 * gdb.base/print-symbol-loading.exp: New file.
8172
46e2bafa
YQ
81732014-03-31 Yao Qi <yao@codesourcery.com>
8174
8175 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8176
8776cfe9
JB
81772014-03-28 Joel Brobecker <brobecker@adacore.com>
8178
8179 * gdb.ada/mi_dyn_arr: New testcase.
8180
5d1ef361
DE
81812014-03-27 Doug Evans <dje@google.com>
8182
8183 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8184
b5bee914
YQ
81852014-03-27 Yao Qi <yao@codesourcery.com>
8186
8187 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8188 if target is nios2-*-*.
8189
0d4d0e77
YQ
81902014-03-26 Yao Qi <yao@codesourcery.com>
8191
8192 * lib/gdb.exp (readline_is_used): New proc.
8193 * gdb.base/completion.exp: Move tests on command complete up.
8194 Skip the rest of tests if readline is not used.
8195 * gdb.ada/complete.exp: Skp the test if readline is not
8196 used.
8197 * gdb.base/filesym.exp: Likewise.
8198 * gdb.base/macscp.exp: Likewise.
8199 * gdb.base/readline-ask.exp: Likewise.
8200 * gdb.base/readline.exp: Likewise.
8201 * gdb.python/py-cmd.exp: Likewise.
8202 * gdb.trace/tfile.exp: Likewise.
8203
29361eee
YQ
82042014-03-26 Yao Qi <yao@codesourcery.com>
8205
8206 * gdb.base/macscp.exp: Fix code format issues.
8207
bc9a5525
UW
82082014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8209
8210 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8211 * gdb.asm/powerpc64le.inc: New file.
8212
d3839ede
PA
82132014-03-25 Pedro Alves <palves@redhat.com>
8214 Doug Evans <dje@google.com>
8215
8216 * gdb.base/source-execution.c: New file.
8217 * gdb.base/source-execution.exp: New file.
8218 * gdb.base/source-execution.gdb: New file.
8219
01672a57
DE
82202014-03-24 Doug Evans <dje@google.com>
8221
8222 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8223 using fission.
8224
88bbeca9
HZ
82252014-03-24 Hui Zhu <hui@codesourcery.com>
8226 Pedro Alves <palves@redhat.com>
8227
8228 PR breakpoints/16101
8229 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8230 test pass/fail messages. Detect missing support for dprintf when
8231 breakpoints are actually inserted.
8232 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8233 breakpoints are actually inserted.
8234 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8235 fails.
8236
d2348791
JK
82372014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8238
8239 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8240
feef67ab
DE
82412014-03-22 Doug Evans <xdje42@gmail.com>
8242
8243 * gdb.python/python.exp (python not supported): Verify multi-line
8244 python command issues an error.
25d743f9 8245 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 8246 guile command issues an error.
feef67ab 8247
ecebef6a
MR
82482014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8249
8250 * gdb.threads/thread-specific.exp: Handle the lack of usable
8251 $this_breakpoint and $this_thread.
8252
ccdd1909
HZ
82532014-03-21 Hui Zhu <hui@codesourcery.com>
8254
8255 * gdb.base/attach.exp (do_command_attach_tests): New.
8256
beb460e8
PA
82572014-03-20 Tom Tromey <tromey@redhat.com>
8258 Pedro Alves <palves@redhat.com>
8259
8260 PR cli/15718
8261 * gdb.base/condbreak-call-false.c: New file.
8262 * gdb.base/condbreak-call-false.exp: New file.
8263
40acf43a
PA
82642014-03-20 Pedro Alves <palves@redhat.com>
8265
8266 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8267 Delete.
8268 (block_signals, unblock_signals): Delete.
8269 (child_function_2, main): Remove references to deleted variable
8270 and functions.
8271
9f5e1e02
PA
82722014-03-20 Pedro Alves <palves@redhat.com>
8273
8274 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8275 Use pthread_kill to signal thread 2.
8276 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8277 Adjust to make the test send itself a signal rather than using the
8278 host's "kill" command.
8279
99619bea
PA
82802014-03-20 Pedro Alves <palves@redhat.com>
8281
8282 * gdb.threads/multiple-step-overs.c: New file.
8283 * gdb.threads/multiple-step-overs.exp: New file.
8284 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8285 Adjust expected infrun debug output.
8286
2adfaa28
PA
82872014-03-20 Pedro Alves <palves@redhat.com>
8288
8289 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8290 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8291
31e77af2
PA
82922014-03-20 Pedro Alves <palves@redhat.com>
8293
8294 PR breakpoints/7143
8295 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8296 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8297 of gdb_test_multiple.
8298 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8299 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8300
b9f437de
PA
83012014-03-20 Pedro Alves <palves@redhat.com>
8302
8303 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8304 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8305
05adc73e
PA
83062014-03-19 Pedro Alves <palves@redhat.com>
8307
8308 * gdb.base/async.exp: Remove early return.
8309
6048b950
PA
83102014-03-19 Pedro Alves <palves@redhat.com>
8311
8312 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8313
8bcfb00a
PA
83142014-03-19 Pedro Alves <palves@redhat.com>
8315
8316 * gdb.base/async.exp (test_background): Expect \r\n after
8317 "completed." in the fail pattern.
8318
884e37dc
PA
83192014-03-19 Pedro Alves <palves@redhat.com>
8320
8321 * gdb.base/async.exp (test_background): New procedure.
8322 Use it for all background execution command tests.
8323
148e57e2
PA
83242014-03-19 Pedro Alves <palves@redhat.com>
8325
8326 * gdb.base/async.exp: Use prepare_for_testing.
8327
f48088c7
PA
83282014-03-19 Pedro Alves <palves@redhat.com>
8329
8330 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8331 the same line.
8332
e2f6c966
PA
83332014-03-19 Pedro Alves <palves@redhat.com>
8334
8335 * gdb.base/async.c (main): Add "jump here" and "until here" line
8336 marker comments.
8337 * gdb.base/async.exp (jump_here): New global.
8338 (jump& test): Use it.
8339 (until_here): New global.
8340 (until& test): Use it.
8341
c30568d4
PA
83422014-03-19 Pedro Alves <palves@redhat.com>
8343
8344 * gdb.base/async.exp: Don't frob gdb_protocol.
8345
0172b6a7
DE
83462014-03-18 Doug Evans <xdje42@gmail.com>
8347
8348 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8349 Fix spelling of exec-done-display.
8350
06c868a8
JK
83512014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8352
8353 PR gdb/15358
8354 * gdb.base/gdb-sigterm.c: New file.
8355 * gdb.base/gdb-sigterm.exp: New file.
8356
0c7e1a46
PA
83572014-03-18 Pedro Alves <palves@redhat.com>
8358
8359 PR gdb/13860
8360 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8361 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8362 solib-event.
8363
f7c77d93
JB
83642014-03-17 Joel Brobecker <brobecker@adacore.com>
8365
8366 * gdb.ada/pckd_arr_ren: New testcase.
8367
5a1e8c7a
DE
83682014-03-13 Doug Evans <xdje42@gmail.com>
8369
8370 PR guile/16612
8371 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8372 collect after discarding symbols.
8373
350e1a76
DE
83742014-03-13 Ludovic Courtès <ludo@gnu.org>
8375 Doug Evans <xdje42@gmail.com>
8376
8377 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8378 to history survives a gc.
8379
a69900ae
PA
83802014-03-13 Pedro Alves <palves@redhat.com>
8381
8382 * gdb.base/default.exp: Don't test "target procfs".
8383
5db9f0bd
PA
83842014-03-13 Pedro Alves <palves@redhat.com>
8385
8386 * gdb.base/default.exp: Update "target child" and "target procfs"
8387 tests to not expect "Unix".
8388
b3ccfe11
TT
83892014-03-12 Tom Tromey <tromey@redhat.com>
8390
8391 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8392 New procs. Add target-async tests.
8393 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8394 Add target-async tests.
8395
646f4417
AA
83962014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8397
8398 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8399 'func_start' and 'func_end' for the beginning and end of the
8400 function code, respectively.
8401 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8402 'func_end' instead of 'func' and 'main'.
8403
288c211f
AA
84042014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8405
8406 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8407 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8408 generate the debug info assembler source.
8409
e0c0f156
AA
84102014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8411
8412 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8413 * gdb.dwarf2/arr-subrange.exp: Likewise.
8414 * gdb.dwarf2/dwz.exp: Likewise.
8415 * gdb.dwarf2/method-ptr.exp: Likewise.
8416 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8417 * gdb.dwarf2/subrange.exp: Likewise.
8418 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8419 * gdb.dwarf2/implptrpiece.exp: Likewise.
8420 * gdb.dwarf2/nostaticblock.exp: Likewise.
8421
0e5c4555
AA
84222014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8423
8424 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8425 directory to absolute path name arguments.
8426
5ec18f2b
JG
84272014-03-10 Joel Brobecker <brobecker@adacore.com>
8428
8429 * gdb.ada/tagged_access: New testcase.
8430
847fc4f2
MM
84312014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8432
8433 * gdb.btrace/data.exp: Update expected output.
8434
cc3da688
YQ
84352014-03-06 Yao Qi <yao@codesourcery.com>
8436
8437 * gdb.trace/pr16508.exp: New file.
8438
0f26cec1
PA
84392014-03-05 Pedro Alves <palves@redhat.com>
8440
8441 PR gdb/16575
8442 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8443 procedure.
8444 (top level): Adjust to use it. Add tests that exercise breakpoint
8445 interaction with the code-cache.
8446
7a5a839f
LC
84472014-02-26 Ludovic Courtès <ludo@gnu.org>
8448
8449 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8450 test for 'history-append!'.
8451
31aa7e4e
JB
84522014-02-26 Joel Brobecker <brobecker@adacore.com>
8453
8454 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8455 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8456 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8457 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8458 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8459 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8460
1b588015
JB
84612014-02-26 Joel Brobecker <brobecker@adacore.com>
8462
8463 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8464 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8465 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8466
55426c9d
JB
84672014-02-26 Joel Brobecker <brobecker@adacore.com>
8468
8469 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8470
dc53a7ad
JB
84712014-02-26 Joel Brobecker <brobecker@adacore.com>
8472
8473 * gdb.dwarf2/arr-stride.c: New file.
8474 * gdb.dwarf2/arr-stride.exp: New file.
8475
12ab52e9
PA
84762014-02-26 Pedro Alves <palves@redhat.com>
8477
8478 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8479 that won't ever trigger. Make sure that GDB reports the correct
8480 breakpoint that caused the stop.
8481
849c862e
JK
84822014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8483
8484 PR gdb/16626
8485 * gdb.base/auto-load-script: New file.
8486 * gdb.base/auto-load.c: New file.
8487 * gdb.base/auto-load.exp: New file.
8488
71b7d793
JK
8489 PR gdb/16626
8490 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8491
e2f0d509
JK
84922014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8493
8494 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8495 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8496
50cc37c8
DE
84972014-02-24 Doug Evans <dje@google.com>
8498
8499 * lib/gdb.exp (run_on_host): Log error output if program fails.
8500
ea4758f2
PA
85012014-02-21 Pedro Alves <palves@redhat.com>
8502
8503 * gdb.threads/step-after-sr-lock.c: Rename to ...
8504 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8505 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8506 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8507 ... this.
8508
d7b30f67
SDJ
85092014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8510
8511 PR tdep/16397
8512 * gdb.arch/amd64-stap-special-operands.exp: New file.
8513 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8514 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8515 * gdb.arch/amd64-stap-triplet.S: Likewise.
8516 * gdb.arch/amd64-stap-triplet.c: Likewise.
8517
83deb43f
JB
85182014-02-20 Joel Brobecker <brobecker@adacore.com>
8519
8520 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8521 in .section pseudo-op.
8522
adde2bff
DE
85232014-02-20 lin zuojian <manjian2006@gmail.com>
8524 Joel Brobecker <brobecker@adacore.com>
8525 Doug Evans <xdje42@gmail.com>
8526
8527 PR symtab/16581
8528 * gdb.dwarf2/dw2-icycle.S: New file.
8529 * gdb.dwarf2/dw2-icycle.c: New file.
8530 * gdb.dwarf2/dw2-icycle.exp: New file.
8531
f7bd0f78
SC
85322014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8533
8534 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8535 operations on gdb.Value objects.
8536 * gdb.python/py-value-cc.exp: Add new test to test operations on
8537 gdb.Value objects.
8538
c17ef0d5
DE
85392014-02-18 Doug Evans <dje@google.com>
8540
8541 * Makefile.in (TESTS): New variable.
8542 (expanded_tests, expanded_tests_or_none): New variables
8543 (check-single): Pass $(expanded_tests_or_none) to runtest.
8544 (check-parallel): Only run tests in $(TESTS) if non-empty.
8545 (check/no-matching-tests-found): New rule.
8546 * README: Document TESTS makefile variable.
8547
5dd3176f
DE
85482014-02-18 Doug Evans <dje@google.com>
8549
8550 * Makefile.in (check-parallel): rm -rf outputs temp.
8551
0b10be4f
JK
85522014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8553
8554 Fix "ERROR: no fileid for" in the testsuite.
8555 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8556
85f224e7
DE
85572014-02-12 Doug Evans <dje@google.com>
8558
8559 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8560 (MISCELLANEOUS): New variable.
8561 (clean): rm -rf $(MISCELLANEOUS).
8562 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8563 dwp live in the same directory as symlinks, with each symlink pointed
8564 to a differently named file in a different directory.
8565
149b30ff
DE
85662014-02-11 Doug Evans <dje@google.com>
8567
8568 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8569 of Tcl file commands.
8570
1dfdac32
MK
85712014-02-10 Mark Kettenis <kettenis@gnu.org>
8572
8573 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8574 "kill -SIGUSR1 -1".
8575
aa4fb036
JB
85762014-02-10 Joel Brobecker <brobecker@adacore.com>
8577
8578 * gdb.ada/tick_length_array_enum_idx: New testcase.
8579
ed3ef339
DE
85802014-02-10 Doug Evans <xdje42@gmail.com>
8581
8582 * configure.ac (AC_OUTPUT): Add gdb.guile.
8583 * configure: Regenerate.
8584 * lib/gdb-guile.exp: New file.
8585 * lib/gdb.exp (get_target_charset): New function.
8586 * gdb.base/help.exp: Update expected output from "apropos apropos".
8587 * gdb.guile/Makefile.in: New file.
8588 * gdb.guile/guile.exp: New file.
8589 * gdb.guile/scm-arch.c: New file.
8590 * gdb.guile/scm-arch.exp: New file.
8591 * gdb.guile/scm-block.c: New file.
8592 * gdb.guile/scm-block.exp: New file.
8593 * gdb.guile/scm-breakpoint.c: New file.
8594 * gdb.guile/scm-breakpoint.exp: New file.
8595 * gdb.guile/scm-disasm.c: New file.
8596 * gdb.guile/scm-disasm.exp: New file.
8597 * gdb.guile/scm-equal.c: New file.
8598 * gdb.guile/scm-equal.exp: New file.
8599 * gdb.guile/scm-error.exp: New file.
8600 * gdb.guile/scm-error.scm: New file.
8601 * gdb.guile/scm-frame-args.c: New file.
8602 * gdb.guile/scm-frame-args.exp: New file.
8603 * gdb.guile/scm-frame-args.scm: New file.
8604 * gdb.guile/scm-frame-inline.c: New file.
8605 * gdb.guile/scm-frame-inline.exp: New file.
8606 * gdb.guile/scm-frame.c: New file.
8607 * gdb.guile/scm-frame.exp: New file.
8608 * gdb.guile/scm-generics.exp: New file.
8609 * gdb.guile/scm-gsmob.exp: New file.
8610 * gdb.guile/scm-iterator.c: New file.
8611 * gdb.guile/scm-iterator.exp: New file.
8612 * gdb.guile/scm-math.c: New file.
8613 * gdb.guile/scm-math.exp: New file.
8614 * gdb.guile/scm-objfile-script-gdb.in: New file.
8615 * gdb.guile/scm-objfile-script.c: New file.
8616 * gdb.guile/scm-objfile-script.exp: New file.
8617 * gdb.guile/scm-objfile.c: New file.
8618 * gdb.guile/scm-objfile.exp: New file.
8619 * gdb.guile/scm-ports.exp: New file.
8620 * gdb.guile/scm-pretty-print.c: New file.
8621 * gdb.guile/scm-pretty-print.exp: New file.
8622 * gdb.guile/scm-pretty-print.scm: New file.
8623 * gdb.guile/scm-section-script.c: New file.
8624 * gdb.guile/scm-section-script.exp: New file.
8625 * gdb.guile/scm-section-script.scm: New file.
8626 * gdb.guile/scm-symbol.c: New file.
8627 * gdb.guile/scm-symbol.exp: New file.
8628 * gdb.guile/scm-symtab-2.c: New file.
8629 * gdb.guile/scm-symtab.c: New file.
8630 * gdb.guile/scm-symtab.exp: New file.
8631 * gdb.guile/scm-type.c: New file.
8632 * gdb.guile/scm-type.exp: New file.
8633 * gdb.guile/scm-value-cc.cc: New file.
8634 * gdb.guile/scm-value-cc.exp: New file.
8635 * gdb.guile/scm-value.c: New file.
8636 * gdb.guile/scm-value.exp: New file.
8637 * gdb.guile/source2.scm: New file.
8638 * gdb.guile/types-module.cc: New file.
8639 * gdb.guile/types-module.exp: New file.
8640
7026a7c1
YQ
86412014-02-10 Yao Qi <yao@codesourcery.com>
8642
8643 PR testsuite/16543
8644 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8645 * configure: Regenerated.
8646 * Makefile.in: New file.
8647
6c466447
AS
86482014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8649
8650 * gdb.python/py-framefilter.exp: Fix typo.
8651
6e854735
YQ
86522014-02-08 Yao Qi <yao@codesourcery.com>
8653
8654 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8655 that no =breakpoint-modified is emitted when breakpoints are
8656 modified through MI commands.
8657
d137e6dc
PA
86582014-02-07 Pedro Alves <pedro@codesourcery.com>
8659 Pedro Alves <palves@redhat.com>
8660
8661 * gdb.threads/step-after-sr-lock.c: New file.
8662 * gdb.threads/step-after-sr-lock.exp: New file.
8663
b5ee5a50
PA
86642014-02-07 Pedro Alves <palves@redhat.com>
8665
8666 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8667
3c77faf3
JK
86682014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8669
8670 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8671 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8672
6dddc817
DE
86732014-02-06 Doug Evans <xdje42@gmail.com>
8674
8675 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8676 output.
8677
8678 * gdb.gdb/python-interrupts.exp: New file.
8679
de7b2893
YQ
86802014-02-05 Yao Qi <yao@codesourcery.com>
8681
8682 * gdb.trace/report.exp (use_collected_data): Test the output
8683 of "info threads" and "info inferiors".
8684
66d032ac
YQ
86852014-02-05 Yao Qi <yao@codesourcery.com>
8686
8687 Revert this patch:
8688
8689 2013-05-24 Yao Qi <yao@codesourcery.com>
8690
8691 * gdb.trace/tfile.exp: Test inferior and thread.
8692
591a12a1
UW
86932014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8694
8695 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8696 on a function.
8697 * gdb.base/step-bt.c: Call hello via function pointer to make
8698 sure its first instruction is executed on powerpc64le-linux.
8699
0ff3e01f
UW
87002014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8701
8702 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8703
084ee545
UW
87042014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8705
8706 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8707 of the test patterns for use on little-endian systems.
8708
6ed14ff3
UW
87092014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8710
8711 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8712 (decimal_vector): Fix for little-endian.
8713
401e27fd
JM
87142014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8715
8716 * gdb.arch/sparc-sysstep.exp: New file.
8717 * gdb.arch/sparc-sysstep.c: Likewise.
8718
8719 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8720
8b924729
EBM
87212014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8722
8723 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8724
fb151210
JB
87252014-01-23 Tom Tromey <tromey@redhat.com>
8726
8727 * gdb.ada/array_char_idx: New testcase.
8728
0740f8d8
TT
87292014-01-23 Tom Tromey <tromey@redhat.com>
8730
8731 PR python/16487:
8732 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8733 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8734 classes.
8735
21909fa1
TT
87362014-01-23 Tom Tromey <tromey@redhat.com>
8737
8738 PR python/16491:
8739 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8740 string from an inferior frame.
8741 * gdb.python/py-framefilter-mi.exp: Update.
8742
87ce2a04
DE
87432014-01-22 Doug Evans <dje@google.com>
8744
8745 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8746
237b092b
AA
87472014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8748
8749 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8750
d674a709
AA
87512014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8752
8753 * gdb.trace/entry-values.exp: Remove excess space character from
8754 regex patterns. Handle s390 call instruction.
8755
20fa3390
AA
87562014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8757
8758 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8759 define "*_start" label. Make "name" static.
8760 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8761 ${name} by references to ${name}_start.
8762
78466714
AA
87632014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8764
8765 * gdb.base/info-macros.exp: Remove "debug" from the compile
8766 options.
8767
ec9f644a
IB
87682014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8769
8770 * gdb.dlang/demangle.exp: New file.
8771
94b1b47e
IB
87722014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8773
8774 * gdb.dlang/primitive-types.exp: New file.
8775
7f420862
IB
87762014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8777
8778 * configure.ac: Create gdb.dlang/Makefile.
8779 * configure: Regenerate.
8780 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8781 * gdb.dlang/Makefile.in: New file.
8782 * lib/d-support.exp: New file.
8783 * lib/gdb.exp (skip_d_tests): New proc.
8784
52834460
MM
87852014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8786
8787 * gdb.btrace/delta.exp: Check reverse stepi.
8788 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8789 * gdb.btrace/finish.exp: New.
8790 * gdb.btrace/next.exp: New.
8791 * gdb.btrace/nexti.exp: New.
8792 * gdb.btrace/record_goto.c: Add comments.
8793 * gdb.btrace/step.exp: New.
8794 * gdb.btrace/stepi.exp: New.
8795 * gdb.btrace/multi-thread-step.c: New.
8796 * gdb.btrace/multi-thread-step.exp: New.
8797 * gdb.btrace/rn-dl-bind.c: New.
8798 * gdb.btrace/rn-dl-bind.exp: New.
8799 * gdb.btrace/data.c: New.
8800 * gdb.btrace/data.exp: New.
8801 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8802
6e07b1d2
MM
88032014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8804
8805 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8806 * gdb.btrace/exception.exp: Update.
8807 * gdb.btrace/instruction_history.exp: Update.
8808 * gdb.btrace/record_goto.exp: Update.
8809 * gdb.btrace/tailcall.exp: Update.
8810 * gdb.btrace/unknown_functions.exp: Update.
8811 * gdb.btrace/delta.exp: New.
8812
0b722aec
MM
88132014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8814
8815 * gdb.btrace/record_goto.exp: Add backtrace test.
8816 * gdb.btrace/tailcall.exp: Add backtrace test.
8817
066ce621
MM
88182014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8819
8820 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8821 * gdb.btrace/record_goto.c: New.
8822 * gdb.btrace/record_goto.exp: New.
8823 * gdb.btrace/x86-record_goto.S: New.
8824
0688d04e
MM
88252014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8826
8827 * gdb.btrace/function_call_history.exp: Update tests.
8828 * gdb.btrace/instruction_history.exp: Update tests.
8829
8710b709
MM
88302014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8831
8832 * gdb.btrace/function_call_history.exp: Fix expected field
8833 order for "record function-call-history".
8834 Add new tests for "record function-call-history /c".
8835 * gdb.btrace/exception.cc: New.
8836 * gdb.btrace/exception.exp: New.
8837 * gdb.btrace/tailcall.exp: New.
8838 * gdb.btrace/x86-tailcall.S: New.
8839 * gdb.btrace/x86-tailcall.c: New.
8840 * gdb.btrace/unknown_functions.c: New.
8841 * gdb.btrace/unknown_functions.exp: New.
8842 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8843
5de9129b
MM
88442014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8845
8846 * gdb.btrace/instruction_history.exp: Update.
8847 * gdb.btrace/function_call_history.exp: Update.
8848
23a7fe75
MM
88492014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8850
8851 * gdb.btrace/function_call_history.exp: Fix expected function
8852 trace.
8853 * gdb.btrace/instruction_history.exp: Initialize traced.
8854 Remove traced_functions.
8855
724c7dd8
MM
88562014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8857
8858 * gdb.btrace/function_call_history.exp: Update
8859 * gdb.btrace/instruction_history.exp: Update.
8860
6d78d93b
MM
88612014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8862
8863 * gdb.btrace/enable.exp: Update expected text.
8864
93a360cc
OJ
88652014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8866
8867 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8868 bytes.
8869
3772b53f
MR
88702014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8871
8872 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8873
596662fa
OJ
88742014-01-15 Omair Javaid <omair.javaid@linaro.org>
8875
8876 * lib/gdb.exp (supports_process_record): Return true for
8877 arm*-linux*. (supports_reverse): Likewise.
8878
b5b08fb4
SC
88792014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8880
8881 PR python/15464
8882 PR python/16113
8883 * gdb.python/py-type.c: Enhance test case.
8884 * gdb.python/py-value-cc.cc: Likewise
8885 * gdb.python/py-type.exp: Add new tests.
8886 * gdb.python/py-value-cc.exp: Likewise
8887
52d7fb13
AA
88882014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8889 Pedro Alves <palves@redhat.com>
8890
8891 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8892 Make "name" extern.
8893 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8894 references to ${name}_start by references to ${name}.
8895
a2cd8cfe
JB
88962014-01-10 Joel Brobecker <brobecker@adacore.com>
8897
8898 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8899
4e23fced
JB
89002014-01-10 Joel Brobecker <brobecker@adacore.com>
8901
8902 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8903
c6a9e42c
PA
89042014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8905 Pedro Alves <palves@redhat.com>
8906
8907 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 8908 mi_gdb_target_load.
c6a9e42c 8909
b7ea362b
PA
89102014-01-08 Pedro Alves <palves@redhat.com>
8911
8912 * gdb.threads/reconnect-signal.c: New file.
8913 * gdb.threads/reconnect-signal.exp: New file.
8914
5e3f4fab
EBM
89152014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8916
8917 * gdb.base/source-dir.exp: New file.
8918
79301218
JB
89192014-01-07 Joel Brobecker <brobecker@adacore.com>
8920
8921 * gdb.ada/mi_interface: New testcase.
8922
8e355c5d
JB
89232014-01-07 Joel Brobecker <brobecker@adacore.com>
8924
8925 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8926 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8927 gdb.ada/pp-rec-component/pck.ads: New files.
8928
c0d48811
JB
89292014-01-07 Joel Brobecker <brobecker@adacore.com>
8930
8931 * gdb.python/py-pp-integral.c: New file.
8932 * gdb.python/py-pp-integral.py: New file.
8933 * gdb.python/py-pp-integral.exp: New file.
8934
17b609c3 8935For older changes see ChangeLog-1993-2013.
c906108c 8936\f
8d8cb839
EZ
8937;; Local Variables:
8938;; mode: change-log
8939;; left-margin: 8
8940;; fill-column: 74
8941;; version-control: never
8942;; End:
902f2ccb 8943
618f726f 8944 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
8945 Copying and distribution of this file, with or without modification,
8946 are permitted provided the copyright notice and this notice are preserved.
This page took 4.037891 seconds and 4 git commands to generate.