]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Fix for gdb.base/pc-fp.exp.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
d9de1fe3
PA
12016-08-23 Pedro Alves <palves@redhat.com>
2
3 PR gdb/20494
4 * gdb.base/new-ui-echo.c: New file.
5 * gdb.base/new-ui-echo.exp: New file.
6
e9d9abd7
YQ
72016-08-23 Yao Qi <yao.qi@linaro.org>
8
9 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
10 gdbserver_spawn.
11 * gdb.server/connect-without-multi-process.exp (do_test):
12 Likewise.
13
3589529e
YQ
142016-08-23 Yao Qi <yao.qi@linaro.org>
15
16 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
17 standalone_txt. Delete gdb_txt and standalone_txt on host
18 and target. Spawn the binary on target. Copy files from
19 target to host.
20
6bb90213
PA
212016-08-22 Pedro Alves <palves@redhat.com>
22
23 PR gdb/20505
24 * gdb.base/vdso-warning.exp: Test core dumps too. Use
25 with_test_prefix. Factor out bits to ...
26 (test_no_vdso): ... this new procedure.
27
20c2c024
CL
282016-08-19 Carl Love <cel@us.ibm.com>
29
30 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
31 maintaining separate logic for constructing the output path.
32 * gdb.arch/powerpc-d128-regs.exp: Likewise.
33 * gdb.arch/ppc-dfp.exp: Likewise.
34 * gdb.arch/ppc-fp.exp: Likewise.
35 * gdb.arch/vsx-regs.exp: Likewise.
36 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
37 binprefix for generating the additional binary files.
38
0646e07d
PA
392016-08-19 Pedro Alves <palves@redhat.com>
40
41 * gdb.trace/mi-trace-frame-collected.exp
42 (test_trace_frame_collected): On x32, expect two registers.
43
46da9242
CL
442016-08-18 Carl Love <cel@us.ibm.com>
45
46 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
47 and sync up the test with tests in gas/testsuite/gas/ppc.
48 * gdb.arch/powerpc-power.exp: Likewise.
49
eb2332d7
SM
502016-08-17 Simon Marchi <simon.marchi@ericsson.com>
51
52 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
53 expected error message.
54
63c61e04
SM
552016-08-17 Simon Marchi <simon.marchi@ericsson.com>
56
57 * gdb.multi/remove-inferiors.exp: New file.
58 * gdb.multi/remove-inferiors.c: New file.
59
7b17065f
YQ
602016-08-12 Yao Qi <yao.qi@linaro.org>
61
62 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
63 argument list.
64
01d3dedf
PA
652016-08-10 Pedro Alves <palves@redhat.com>
66
67 PR gdb/19187
68 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
69 setup_kfails.
70
3eb7562a
PA
712016-08-09 Pedro Alves <palves@redhat.com>
72 Simon Marchi <simon.marchi@ericsson.com>
73
74 PR gdb/20418
75 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
76 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
77
80614914
PA
782016-08-09 Pedro Alves <palves@redhat.com>
79
80 PR mi/20431
81 * gdb.mi/mi-cmd-error.exp: New file.
82
f348d89a
PA
832016-08-09 Pedro Alves <palves@redhat.com>
84
85 PR gdb/18653
86 * gdb.base/signals-state-child.c: New file.
87 * gdb.base/signals-state-child.exp: New file.
88 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
89
e5ca03b4
PA
902016-08-09 Pedro Alves <palves@redhat.com>
91
92 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
93
282a0691
TT
942016-08-03 Tom Tromey <tom@tromey.com>
95
96 PR python/18565:
97 * gdb.python/py-frame-inline.exp: Add Frame.function test.
98
41bfcd63
YQ
992016-08-01 Yao Qi <yao.qi@linaro.org>
100
101 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
102 variable mode to "multi-process" if $multi_process is 1, otherwise
103 set it to "single-process".
104
e3465b24
YQ
1052016-08-01 Yao Qi <yao.qi@linaro.org>
106
107 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
108 * gdb.cp/cpexprs.exp: Likewise.
109 * gdb.cp/m-static.exp: Likewise.
110
0b31a4bc
TT
1112016-07-26 Tom Tromey <tom@tromey.com>
112
113 PR python/20190:
114 * gdb.threads/tls.exp (check_thread_local): Add python symbol
115 test.
116
e0461dbb
MM
1172016-07-26 Markus Metzger <markus.t.metzger@intel.com>
118
119 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
120 selecting assembly source files.
121 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
122 assembly source files.
123 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
124 assembly source files.
125 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
126 selecting assembly source files.
127
8194e927
SM
1282016-07-25 Simon Marchi <simon.marchi@ericsson.com>
129
130 * gdb.base/new-ui.exp (do_test_invalid_args): New
131 procedure.
132
c0272db5
TW
1332016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
134
135 * gdb.btrace/reconnect.c: New file.
136 * gdb.btrace/reconnect.exp: New file.
137
e3487908
GKB
1382016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
139
140 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
141 to test_catch_syscall_group.
142 (test_catch_syscall_group): New.
143
12df5c00
TT
1442016-07-21 Tom Tromey <tom@tromey.com>
145
146 * gdb.rust/simple.rs (main): Use empty struct expression.
147 * gdb.rust/simple.exp: Add tests for empty struct expression.
148
bae62ee2
YQ
1492016-07-21 Yao Qi <yao.qi@linaro.org>
150
151 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
152 if gdb_skip_xml_test is true on some targets.
153
b1b53fb3
YQ
1542016-07-21 Yao Qi <yao.qi@linaro.org>
155
156 * gdb.server/solib-list.exp: Unset last_loaded_file.
157
027d97f8
JK
1582016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
159
160 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
161 "step into captured_main (args)".
162
7674d381
JK
1632016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
164
165 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
166
72b5d099
JK
1672016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
168
169 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
170
1f960ced
PA
1712016-07-19 Pedro Alves <palves@redhat.com>
172
173 * gdb.opt/inline-break.exp: Remove optimize=-O2.
174 * gdb.opt/inline-bt.exp: Likewise.
175 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
176 additional_flags=-Winline.
177 * gdb.opt/inline-locals.exp: Likewise.
178 * gdb.opt/inline-markers.c (ATTR): Define.
179 (inlined_fn): Use it.
180
f25827c1
YQ
1812016-07-19 Yao Qi <yao.qi@linaro.org>
182
183 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
184 (test_with_self): Remove some code. Remove argument executable.
185 (top-level): Use do_self_tests.
186
37539ebe
DB
1872016-07-15 Zachary Welch <zwelch@codesourcery.com>
188 Don Breazeal <donb@codesourcery.com>
189
190 * gdb.base/maint.exp: Escape paths used in regular expressions.
191 * gdb.stabs/weird.exp: Likewise.
192
dac790e1
TT
1932016-07-13 Tom Tromey <tom@tromey.com>
194
195 PR python/15620, PR python/18620:
196 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
197 (test_bkpt_events): New procs.
198
93daf339
TT
1992016-07-13 Tom Tromey <tom@tromey.com>
200
201 PR python/17698:
202 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
203 test.
204 (test_watchpoints): Likewise.
205 (test_bkpt_pending): New proc.
206
6571a381
TT
2072016-07-13 Tom Tromey <tom@tromey.com>
208
209 PR cli/18053:
210 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
211 completion test.
212
e8732474
JK
2132016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
214
215 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
216 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
217 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
218 f_label.
219 (g): Rename g_end_lbl to g_label.
220 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
221 low_pc and high_pc.
222 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
223
e0f3fd7c
TT
2242016-07-12 Tom Tromey <tom@tromey.com>
225
226 PR python/19293:
227 * gdb.python/py-unwind-maint.exp: Update tests.
228
3cfe46b6
YQ
2292016-07-12 Yao Qi <yao.qi@linaro.org>
230
231 * lib/selftest-support.exp (selftest_setup): Match the output
232 when captured_main is inlined.
233
4f19a0e6
WT
2342016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
235
236 * gdb.fortran/derived-types.exp (result_line, result_line_2):
237 New variables.
238 (print this%a, print this%b, print this): New tests.
239 * gdb.fortran/derived-types.f90 (this): New object and
240 initialization.
241
986cf455
SM
2422016-07-06 Simon Marchi <simon.marchi@ericsson.com>
243
244 * gdb.ada/arraydim.exp: Remove extra directory level in build
245 directory.
246
f0464b23
SM
2472016-07-06 Simon Marchi <simon.marchi@ericsson.com>
248
249 * lib/ada.exp: Remove extra directory level in build directory.
250 * gdb.ada/cond_lang.exp: Likewise.
251 * gdb.ada/exec_changed.exp: Likewise.
252 * gdb.ada/lang_switch.exp: Likewise.
253
42d94011
MG
2542016-07-06 Manish Goregaokar <manish@mozilla.com>
255
256 * simple.rs: Add test for raw pointer subscripting
257 * simple.exp: Add test expectations
258
647c264c
YQ
2592016-07-05 Yao Qi <yao.qi@linaro.org>
260
261 * gdb.mi/mi-reverse.exp: Match =record-started output.
262
20aa2c60
PA
2632016-07-01 Pedro Alves <palves@redhat.com>
264
265 * gdb.base/jit-reader.exp (info_registers_current_frame): New
266 procedure.
267 (jit_reader_test): Test the jit reader's unwinder.
268 * gdb.base/jithost.c (jit_function_00_code): New global.
269 (main): Use memcpy to fill in the mmapped code, instead of poking
270 bytes manually here.
271 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
272 value.
273 (read_debug_info): Save the function's range.
274 (read_sp): New function.
275 (unwind_frame): Use it. Also unwind RBP.
276 (get_frame_id): Use read_sp.
277 (gdb_init_reader): Use calloc instead of malloc.
278 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
279 parameter. Use gdb_test_multiple.
280
ced2dffb
PA
2812016-07-01 Pedro Alves <palves@redhat.com>
282 Antoine Tremblay <antoine.tremblay@ericsson.com>
283
284 * gdb.threads/process-dies-while-detaching.c: New file.
285 * gdb.threads/process-dies-while-detaching.exp: New file.
286
63000888
PA
2872016-07-01 Pedro Alves <palves@redhat.com>
288
289 * gdb.multi/watchpoint-multi-exit.c: New file.
290 * gdb.multi/watchpoint-multi-exit.exp: New file.
291
038d4868
PA
2922016-06-30 Pedro Alves <palves@redhat.com>
293
294 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
295 unset inferior_spawn_id.
296
994e9c83
PA
2972016-06-30 Pedro Alves <palves@redhat.com>
298
299 * lib/mi-support.exp (default_mi_gdb_start): Declare global
300 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
301
e5653468
YQ
3022016-06-29 Yao Qi <yao.qi@linaro.org>
303
304 * gdb.base/return.c: Add copyright header.
305
803b47e5
TT
3062016-06-29 Tom Tromey <tom@tromey.com>
307
308 PR python/20129:
309 * gdb.python/py-framefilter.exp: Add tests for setting priority
310 and disabling of non-existent frame filter.
311
28244707
YQ
3122016-06-29 Yao Qi <yao.qi@linaro.org>
313
314 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
315 0x0f07ff.
316
a31d2f06
YQ
3172016-06-28 Yao Qi <yao.qi@linaro.org>
318
319 * gdb.base/catch-syscall.exp: Remove check on isnative and target
320 triplets. Start gdb, execute catch syscall, and continue. Check
321 gdb's output to determine catch syscall is supported.
322
921d8f54
MG
3232016-06-27 Manish Goregaokar <manish@mozilla.com>
324
25d49b86
PA
325 * gdb.rust/simple.rs: Add test for returning unit in a function.
326 * gdb.rust/simple.exp: Add expectation for functions returning
327 unit.
921d8f54 328
f4952523
PMR
3292016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
330
331 * gdb.python/py-breakpoint-create-fail.c,
332 gdb.python/py-breakpoint-create-fail.exp,
333 gdb.python/py-breakpoint-create-fail.py: New testcase.
334
fccb08f8
MG
3352016-06-25 Manish Goregaokar <manish@mozilla.com>
336
337 PR gdb/20239
338 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
339 * gdb.rust/simple.exp: Add test expectations for new NonZero
340 tests.
fccb08f8 341
6b850546
DT
3422016-06-24 David Taylor <dtaylor@emc.com>
343
344 * gdb.base/offsets.exp: New file.
345 * gdb.base/offsets.c: New file.
346
17621150
TT
3472016-06-23 Tom Tromey <tom@tromey.com>
348
349 PR gdb/16483:
350 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
351 before any filters are loaded.
352
04d59df6
WT
3532016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
354
355 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
356 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
357 structs.
358 * gdb.fortran/derived-type-function.exp: New file.
359 * gdb.fortran/derived-type-function.f90: New file.
360
361
ac69f786
PA
3622016-06-21 Pedro Alves <palves@redhat.com>
363
364 * gdb.base/new-ui.exp: New file.
365 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
366 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
367 (with_spawn_id): New procedure.
368
49940788
PA
3692016-06-21 Pedro Alves <palves@redhat.com>
370
371 * gdb.mi/mi-exec-run.exp: New file.
372
ef274d26
PA
3732016-06-21 Pedro Alves <palves@redhat.com>
374
375 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
376 breakpoint command's output on the main UI.
377 (test_break): New procedure, factored out from calls in the top
378 level.
379 (top level): Use foreach_with_prefix to test MI as main UI and as
380 separate UI.
381
468afe6c
PA
3822016-06-21 Pedro Alves <palves@redhat.com>
383
384 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
385 (test_awatch_creation_and_listing)
386 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
387 Remove 'type' parameter.
388 (test_watchpoint_all): New parameter mi_mode. Remove
389 with_test_prefix.
390 (top level): Use foreach_with_prefix, and add main/separate UI MI
391 testing axis.
392
51f77c37
PA
3932016-06-21 Pedro Alves <palves@redhat.com>
394
395 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
396 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
397 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
398 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
399 (gdb_main_spawn_id, mi_spawn_id): Declare and
400 comment.
401 (mi_create_inferior_pty): New procedure,
402 factored out from default_mi_gdb_start.
403 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
404 procedures.
405 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
406 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
407 Use mi_create_inferior_pty.
408 (mi_gdb_start): Use eval to pass down args list.
409
8980e177
PA
4102016-06-21 Pedro Alves <palves@redhat.com>
411
412 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
413 * gdb.opt/inline-cmds.exp: Add MI tests.
414
f38d3ad1
PA
4152016-06-21 Pedro Alves <palves@redhat.com>
416
417 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
418
45db7c09
PA
4192016-06-21 Pedro Alves <palves@redhat.com>
420
421 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
422 (top level): Use it instead of mi_execute_to.
423
5a069ab3
PA
4242016-06-21 Pedro Alves <palves@redhat.com>
425
426 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
427 (cont_handler_str): New.
428 (signal_stop_handler): Set stop_handler_str instead of printing to
429 stdout.
430 (continue_handler): Set cont_handler_str instead of printing to
431 stdout.
432 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
433 mi_send_resuming_command. Print stop_handler_str and
434 cont_handler_str instead of expecting the python events print
435 directly.
436
2838cc1d
SD
4372016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
438
439 * gdb.base/jit-reader.exp: New file.
440 * gdb.base/jithost.c: New file.
441 * gdb.base/jithost.h: New file.
442 * gdb.base/jitreader.c : New file.
443 * gdb.base/jit-protocol.h: New file.
444
21a77091
YQ
4452016-06-17 Yao Qi <yao.qi@linaro.org>
446
447 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
448 parameters follow_fork and detach_on_fork. Set follow-fork-mode
449 and detach-on-fork. Adjust tests.
450 (top level): Invoke break_cond_on_syscall with combinations of
451 syscall, follow-fork-mode and detach-on-fork.
452
f50bf8e5
YQ
4532016-06-17 Yao Qi <yao.qi@linaro.org>
454
455 * gdb.base/step-over-exit.c: New.
456 * gdb.base/step-over-exit.exp: New.
457
a28d8e50
YTL
4582016-06-17 Yan-Ting Lin <currygt52@gmail.com>
459
460 * gdb.base/float.exp: Add target check for nds32*-*-*.
461 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
462
cad8e26d
AB
4632016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
464
465 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
466 for unsupported target features.
467 * gdb.base/call-rt-st.exp: Likewise.
468 * gdb.base/call-sc.exp: Likewise.
469 * gdb.base/call-signal-resume.exp: Likewise.
470 * gdb.base/call-strs.exp: Likewise.
471 * gdb.base/callexit.exp: Likewise.
472 * gdb.base/callfuncs.exp: Likewise.
473 * gdb.base/nodebug.exp: Likewise.
474 * gdb.base/printcmds.exp: Likewise.
475 * gdb.base/ptype.exp: Likewise.
476 * gdb.base/structs.exp: Likewise.
477 * gdb.base/unwindonsignal.exp: Likewise.
478 * gdb.cp/gdb2495.exp: Likewise.
479 * gdb.cp/templates.exp: Likewise.
480 * gdb.cp/virtfunc.exp: Likewise.
481 * gdb.threads/hand-call-in-threads.exp: Likewise.
482 * gdb.threads/interrupted-hand-call.exp: Likewise.
483 * gdb.threads/thread-unwindonsignal.exp: Likewise.
484
347dc102
TT
4852016-06-10 Tom Tromey <tom@tromey.com>
486
487 PR rust/20110:
488 * gdb.rust/expr.exp: Add test for integer constant larger than
489 i32.
490
5e13cf25
BH
4912016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
492
493 * gdb.fortran/nested-funcs.exp: New.
494 * gdb.fortran/nested-funcs.f90: New.
495
bb556f1f
TK
4962016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
497
498 * gdb.base/examine-backward.c: New file.
499 * gdb.base/examine-backward.exp: New file.
500
38b022b4
SM
5012016-06-06 Simon Marchi <simon.marchi@ericsson.com>
502
503 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
504 matching.
505
1b40ec05
TT
5062016-06-02 Tom Tromey <tom@tromey.com>
507
508 PR python/18984:
509 * gdb.python/py-shared.exp: Add solib_name test.
510
193bd378
SM
5112016-06-02 Simon Marchi <simon.marchi@ericsson.com>
512
513 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
514
3326303b
MG
5152016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
516
517 PR c++/19893
518 * gdb.dwarf2/implref.exp: Rename to...
519 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
520 * gdb.dwarf2/implref-array.c: New file.
521 * gdb.dwarf2/implref-array.exp: Likewise.
522 * gdb.dwarf2/implref-global.c: Likewise.
523 * gdb.dwarf2/implref-global.exp: Likewise.
524 * gdb.dwarf2/implref-struct.c: Likewise.
525 * gdb.dwarf2/implref-struct.exp: Likewise.
526
825c8ef2
AT
5272016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
528
529 * gdb.trace/trace-condition.exp: Add 64bit tests.
530
2320162a
AT
5312016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
532
533 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
534 bits types.
535 (main): Adapt to 8 to 64 bits types.
536 * gdb.trace/trace-condition.exp: Add new tests.
537
a7818233
AT
5382016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
539
540 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
541
0d336466
AT
5422016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
543
544 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
545 Move condition tests...
546 * gdb.trace/trace-condition.exp: Here.
547
7faeb45a
AT
5482016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
549
550 * gdb.trace/trace-condition.exp: Add counter-case tests.
551
e385593e
JK
5522016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
553
554 PR c++/15231
555 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
556 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
557
744608cc
PA
5582016-05-27 Pedro Alves <palves@redhat.com>
559
560 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
561 New procedure.
562 (top level): Call it, and bail out of DejaGnu is known to be bad.
563
ac775bf4
AB
5642016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
565
566 * gdb.base/whatis.c: Extend the test case.
567 * gdb.base/whatis.exp: Add additional tests.
568
2bbad2ea
BH
5692016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
570
571* gdb.fortran/type.f90: Add pointer variable.
572* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
573
8b70175d
BH
5742016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
575
576 * gdb.fortran/vla-type.exp: Fix testcase name.
577
86d8a848
BH
5782016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
579
580 * gdb.fortran/vla-type.exp: Access elements in nested structs.
581
e188eb36
BH
5822016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
583
584 * gdb.fortran/type.f90: Add nested structures.
585 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
586 * gdb.fortran/derived-type.exp: Adapt expected output.
587 * gdb.fortran/vla-type.exp: Adapt expected output.
588
9b2db1fd
BH
5892016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
590
591 * gdb.fortran/whatis_type.exp: Adapt expected output.
592
72b17055
BH
5932016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
594
595 * gdb.fortran/print_type.exp: Fix expected output.
596 * gdb.fortran/whatis_type.exp: Fix expected output.
597
3cd81d8d
BH
5982016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
599
600 * gdb.fortran/whatis_type.exp: Use multi_line.
601
ddae9462
TT
6022016-05-24 Tom Tromey <tom@tromey.com>
603
604 PR python/17386:
605 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
606 use value as an index.
607
1957f6b8
TT
6082016-05-23 Tom Tromey <tom@tromey.com>
609
610 PR python/17981:
611 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
612 no-breakpoint case.
613
026a9174
PA
6142016-05-24 Pedro Alves <palves@redhat.com>
615
616 PR gdb/19828
617 * gdb.threads/clone-attach-detach.c: New file.
618 * gdb.threads/clone-attach-detach.exp: New file.
619
e70a7231
FR
6202016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
621
622 * gdb.base/annota-input-while-running.exp: Fix syntax error.
623
0f6ed0e0
TT
6242016-05-23 Tom Tromey <tom@tromey.com>
625
626 PR python/19438, PR python/18393:
627 * gdb.python/py-progspace.exp: Add "dir" test.
628 * gdb.python/py-objfile.exp: Add "dir" test.
629
ffd19d61
YQ
6302016-05-23 Yao Qi <yao.qi@linaro.org>
631
632 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
633 * gdb.arch/thumb2-it.exp: Likewise.
634
9e8f9b05
SM
6352016-05-18 Simon Marchi <simon.marchi@ericsson.com>
636
637 * gdb.mi/mi-threads-interrupt.c: New file.
638 * gdb.mi/mi-threads-interrupt.exp: New file.
639
61c6156d
SM
6402016-05-17 Simon Marchi <simon.marchi@ericsson.com>
641
642 PR gdb/18077
643 * gdb.mi/mi-async-run.exp: New file.
644 * gdb.mi/mi-async-run.c: New file.
645
67218854
TT
6462016-05-17 Tom Tromey <tom@tromey.com>
647 Manish Goregaokar <manishsmail@gmail.com>
648
649 * lib/rust-support.exp: New file.
650 * lib/gdb.exp (skip_rust_tests): New proc.
651 (build_executable_from_specs): Handle rust.
652 * lib/future.exp (gdb_find_rustc): New proc.
653 (gdb_default_target_compile): Handle rust.
654 * gdb.rust/expr.exp: New file.
655 * gdb.rust/generics.exp: New file.
656 * gdb.rust/generics.rs: New file.
657 * gdb.rust/methods.exp: New file.
658 * gdb.rust/methods.rs: New file.
659 * gdb.rust/modules.exp: New file.
660 * gdb.rust/modules.rs: New file.
661 * gdb.rust/simple.exp: New file.
662 * gdb.rust/simple.rs: New file.
663
c44af4eb
TT
6642016-05-17 Tom Tromey <tom@tromey.com>
665
666 * gdb.base/default.exp (set language): Add rust.
667
dcd1f979
TT
6682016-05-17 Tom Tromey <tom@tromey.com>
669
670 * gdb.gdb/unittest.exp: New file.
671
155b7f57
YQ
6722016-05-16 Yao Qi <yao.qi@linaro.org>
673
674 * gdb.base/batch-preserve-term-settings.exp: Remove variable
675 shell_prompt. Update shell_prompt_re.
676
8ddd5a6c
DE
6772016-05-12 Doug Evans <dje@google.com>
678
679 PR symtab/19999
680 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
681 $options when building executable.
682 * gdb.dwarf2/fission-loclists-pie.S: New file.
683 * gdb.dwarf2/fission-loclists-pie.exp: New file.
684
02e370d9
SM
6852016-05-04 Simon Marchi <simon.marchi@ericsson.com>
686
687 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
688 of [is_remote target],
689
8929ad8b
SM
6902016-05-04 Simon Marchi <simon.marchi@ericsson.com>
691
692 * lib/gdb.exp (use_gdb_stub): New procedure.
693
6c447423
DE
6942016-05-03 Yunlian Jiang <yunlian@google.com>
695 Doug Evans <dje@google.com>
696
697 PR symtab/19914
698 * gdb.dwarf2/dwp-sepdebug.c: New file.
699 * gdb.dwarf2/dwp-sepdebug.exp: New file.
700
444e826c
SM
7012016-05-02 Simon Marchi <simon.marchi@ericsson.com>
702
703 * gdb.base/detach.exp: Remove is_remote check.
704
740feeaa
SM
7052016-05-02 Simon Marchi <simon.marchi@ericsson.com>
706
707 * gdb.base/annota-input-while-running.exp: Don't check for
708 [is_remote target]. Enable annotations after running to main.
709 Remove unused "set test..." line.
710
9080ac9d
SM
7112016-04-28 Simon Marchi <simon.marchi@ericsson.com>
712
713 * gdb.trace/trace-enable-disable.exp: New file.
714 * gdb.trace/trace-enable-disable.c: New file.
715
952ebca5
SM
7162016-04-28 Simon Marchi <simon.marchi@ericsson.com>
717
718 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
719 use it in info sharedlibrary test.
720 * gdb.trace/ftrace-lock.exp: Likewise.
721 * gdb.trace/ftrace.exp: Likewise.
722 * gdb.trace/range-stepping.exp: Likewise.
723 * gdb.trace/trace-break.exp: Likewise.
724 * gdb.trace/trace-condition.exp: Likewise.
725 * gdb.trace/trace-mt.exp: Likewise.
726
d9019901
SM
7272016-04-27 Simon Marchi <simon.marchi@ericsson.com>
728
729 * lib/gdb.exp (gdb_load_shlibs): Rename to...
730 (gdb_load_shlib): ... this.
731 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
732 gdb_load_shlib.
733 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
734 * gdb.base/ctxobj.exp: Likewise.
735 * gdb.base/dprintf-pending.exp: Likewise.
736 * gdb.base/dso2dso.exp: Likewise.
737 * gdb.base/fixsection.exp: Likewise.
738 * gdb.base/gcore-relro.exp: Likewise.
739 * gdb.base/gdb1555.exp: Likewise.
740 * gdb.base/global-var-nested-by-dso.exp: Likewise.
741 * gdb.base/gnu-ifunc.exp: Likewise.
742 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
743 * gdb.base/jit-so.exp (one_jit_test): Likewise.
744 * gdb.base/pending.exp: Likewise.
745 * gdb.base/print-file-var.exp: Likewise.
746 * gdb.base/print-symbol-loading.exp: Likewise.
747 * gdb.base/shlib-call.exp: Likewise.
748 * gdb.base/shreloc.exp: Likewise.
749 * gdb.base/so-impl-ld.exp: Likewise.
750 * gdb.base/solib-disc.exp: Likewise.
751 * gdb.base/solib-nodir.exp: Likewise.
752 * gdb.base/solib-overlap.exp: Likewise.
753 * gdb.base/solib-symbol.exp: Likewise.
754 * gdb.base/solib-weak.exp (do_test): Likewise.
755 * gdb.base/sym-file.exp: Likewise.
756 * gdb.base/symtab-search-order.exp: Likewise.
757 * gdb.base/type-opaque.exp: Likewise.
758 * gdb.base/unload.exp: Likewise.
759 * gdb.base/watchpoint-solib.exp: Likewise.
760 * gdb.compile/compile.exp: Likewise.
761 * gdb.cp/gdb2384.exp: Likewise.
762 * gdb.cp/infcall-dlopen.exp: Likewise.
763 * gdb.cp/re-set-overloaded.exp: Likewise.
764 * gdb.fortran/library-module.exp: Likewise.
765 * gdb.opt/solib-intra-step.exp: Likewise.
766 * gdb.python/py-finish-breakpoint.exp: Likewise.
767 * gdb.python/py-shared.exp: Likewise.
768 * gdb.reverse/solib-precsave.exp: Likewise.
769 * gdb.reverse/solib-reverse.exp: Likewise.
770 * gdb.server/solib-list.exp: Likewise.
771 * gdb.threads/dlopen-libpthread.exp: Likewise.
772 * gdb.threads/tls-shared.exp: Likewise.
773 * gdb.threads/tls-so_extern.exp: Likewise.
774 * gdb.trace/change-loc.exp: Likewise.
775 * gdb.trace/ftrace-lock.exp: Likewise.
776 * gdb.trace/ftrace.exp: Likewise.
777 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
778 * gdb.trace/pending.exp: Likewise.
779 * gdb.trace/range-stepping.exp: Likewise.
780 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
781 (strace_info_marker): Likewise.
782 (strace_probe_marker): Likewise.
783 (strace_trace_on_same_addr): Likewise.
784 (strace_trace_on_diff_addr): Likewise.
785 * gdb.trace/trace-break.exp: Likewise.
786 * gdb.trace/trace-condition.exp: Likewise.
787 * gdb.trace/trace-mt.exp: Likewise.
788
fca4cfd9
SM
7892016-04-27 Simon Marchi <simon.marchi@ericsson.com>
790
791 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
792 result of gdb_remote_download.
793 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
794 * gdb.base/dso2dso.exp: Likewise.
795 * gdb.base/global-var-nested-by-dso.exp: Likewise.
796 * gdb.base/print-file-var.exp: Likewise.
797 * gdb.base/shlib-call.exp: Likewise.
798 * gdb.base/shreloc.exp: Likewise.
799 * gdb.base/solib-overlap.exp: Likewise.
800 * gdb.base/solib-weak.exp (do_test): Likewise.
801 * gdb.base/unload.exp: Likewise.
802
11cf4ffb
YQ
8032016-04-27 Yao Qi <yao.qi@linaro.org>
804
805 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
806 exists.
807
3e2e34f8
KB
8082016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
809
810 * vla-type.exp: Print structure from toplevel.
811
8f07e298
BH
8122016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
813
814 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
815 of dynamic types.
816 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
817 of dynamic types.
818
9920b434
BH
8192016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
820
821 * gdb.fortran/vla-type.f90: New file.
822 * gdb.fortran/vla-type.exp: New file.
823
f3abeff5
YQ
8242016-04-25 Yao Qi <yao.qi@linaro.org>
825
826 * gdb.base/branch-to-self.c: New file.
827 * gdb.base/branch-to-self.exp: New file.
828
0a5d52f0
YQ
8292016-04-22 Yao Qi <yao.qi@linaro.org>
830
831 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
832 more after $hex.
833
495346f6
YQ
8342016-04-22 Yao Qi <yao.qi@linaro.org>
835
836 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
837 * gdb.base/annota3.exp: Likewise.
838
4a7e075c
YQ
8392016-04-22 Yao Qi <yao.qi@linaro.org>
840
841 * gdb.reverse/step-precsave.exp: Do one step and test program
842 stops in "callee" and do multiple steps until program goes out
843 of "callee".
844 * gdb.reverse/step-reverse.exp: Likewise.
845
5b061e98
YQ
8462016-04-22 Yao Qi <yao.qi@linaro.org>
847
848 * gdb.trace/signal.exp: Also pass if
849 $tracepoint_hits($i) > $iterations.
850
5c5dc57f
YQ
8512016-04-22 Yao Qi <yao.qi@linaro.org>
852
853 * gdb.trace/signal.c: New file.
854 * gdb.trace/signal.exp: New file.
855
a55411b9
DE
8562016-04-19 Doug Evans <xdje42@gmail.com>
857
858 * gdb.base/bad-file.exp: New file.
859
a22df60a
MG
8602016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
861
862 * gdb.dwarf2/implref.exp: New file.
863
0c13f7e5
BH
8642016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
865
866 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
867 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
868 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
869 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
870 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
871 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
872 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
873 * lib/fortran.exp (fortran_int4): New procedure.
874 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
875 (fortran_logical4): Likewise.
876
9b9b09e9
BH
8772016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
878
879 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
880
a14d1f4d
BH
8812016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
882
883 * lib/compiler.c: Add Intel specific preprocessor macros.
884 * lib/compiler.cc: Likewise.
25d49b86 885
7d49b1d0
LM
8862016-04-13 Luis Machado <lgustavo@codesourcery.com>
887
888 * gdb.server/connect-with-no-symbol-file.c: New file.
889 * gdb.server/connect-with-no-symbol-file.exp: New file.
890
8392fa22
SM
8912016-04-13 Simon Marchi <simon.marchi@ericsson.com>
892
893 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
894
8c4c4aeb
SM
8952016-04-13 Simon Marchi <simon.marchi@ericsson.com>
896
897 * boards/gdbserver-base.exp (${board}_download): Copy source file to
898 standard output directory.
899
45e3745e
AT
9002016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
901
902 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
903
e26b7e41
MM
9042016-04-13 Markus Metzger <markus.t.metzger@intel.com>
905
906 * gdb.btrace/instruction_history.c (loop): Add declaration.
907
8ce09462
AT
9082016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
909
910 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
911
2e88a1ea
SM
9122016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
913
914 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
915 parentheses to print.
916 (continue_handler): Likewise.
917
f48e22e3
SM
9182016-04-08 Simon Marchi <simon.marchi@ericsson.com>
919
920 * gdb.server/solib-list.exp: Remove is_remote check.
921 Pass shlib= to gdb_compile. Don't link shared library with
922 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
923 Run binary filename through "readlink -f" on the target.
924
096be756
PA
9252016-04-08 Pedro Alves <palves@redhat.com>
926
927 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
928 interpreter filename as argument to gdbserver_spawn.
929 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
930 Return empty if $last_loaded_file does not exist.
931
06500533
JK
9322016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
933
934 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
935 * gdb.base/jit-main.c: Use exit after usage.
936
2d35e871
JK
9372016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
938
939 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
940 GDBHISTSIZE prior to the tests.
941 * gdb.base/gdbinit-history.exp: Likewise.
942
9432016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
944
945 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
946 instead of build_executable. Use gdb_load_shlibs.
947
c8064e7e
YQ
9482016-04-07 Yao Qi <yao.qi@linaro.org>
949
950 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
951 Execute "si" command.
952
bde47561
YQ
9532016-04-07 Yao Qi <yao.qi@linaro.org>
954
955 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
956 number instead of the comments on some line.
957
b16f8a3b
DB
9582016-04-06 Don Breazeal <donb@codesourcery.com>
959
960 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
961 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
962
c2f901df
SM
9632016-04-06 Simon Marchi <simon.marchi@ericsson.com>
964
965 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
966 standard_output_file. Remove unused binfile variable.
967
ac17fda0
CU
9682016-04-05 Catalin Udma <catalin.udma@freescale.com>
969
970 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
971 * gdb.python/py-mi-objfile.exp: Match "list main" output
972 in console format.
973
03a8c4df
SM
9742016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
975
976 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
977 absolute.
978
6e774b13
SM
9792016-04-05 Simon Marchi <simon.marchi@ericsson.com>
980
981 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
982 absolute.
983 * gdb.trace/ftrace.exp: Likewise.
984 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
985 targets as well.
986 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
987 (gdb_load_shlibs): Copy libraries to test directory when testing
988 natively. Only set solib-search-path if testing remotely.
989 * lib/mi-support.exp (mi_load_shlibs): Likewise.
990
7817ea46
SM
9912016-04-05 Simon Marchi <simon.marchi@ericsson.com>
992
993 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
994 gdb_download. Use it even if the target is not remote.
995 * gdb.base/jit.exp (compile_jit_test): Likewise.
996 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
997 output directory if the destination board is local, otherwise use
998 the standard remote_download from DejaGnu.
999 (gdb_download): Remove.
1000 (gdb_load_shlibs): Use gdb_remote_download instead of
1001 gdb_download.
1002 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1003 Use gdb_remote_download instead of gdb_download. Use it even if
1004 the target is not remote.
1005 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
1006 instead of gdb_download.
1007
7beb7f68
SM
10082016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
1009
1010 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
1011 (test_insert_delete_modify): Call mi_load_shlibs before trying to
1012 run.
1013
cc63428a
AV
10142016-04-01 Artemiy Volkov <artemiyv@acm.org>
1015
1016 PR gdb/19820
1017 * gdb.base/printcmds.exp: Add artificial arrays tests.
1018
64cdf930
PA
10192016-03-31 Pedro Alves <palves@redhat.com>
1020
1021 PR gdb/19858
1022 * gdb.base/jit-main.c: Include unistd.h.
1023 (ATTACH): Define to 0 if not already defined.
1024 (wait_for_gdb, mypid): New globals.
1025 (WAIT_FOR_GDB): New macro.
1026 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
1027 some breakpoint locations.
1028 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
1029 New procedures.
1030 (one_jit_test): Add REATTACH parameter, and handle it. Use
1031 continue_to_test_location.
1032 (top level): Test attach, and adjusts calls to one_jit_test.
1033
40dea8cb
PA
10342016-03-31 Pedro Alves <palves@redhat.com>
1035
1036 PR gdb/19858
1037 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
1038 BINSUFFIX parameter, and handle it.
1039 (top level): Adjust calls compile_jit_test.
1040
e7ea3ec7
CU
10412016-03-31 Catalin Udma <catalin.udma@freescale.com>
1042
1043 PR python/19743
1044 * gdb.python/py-mi-events-gdb.py: New file.
1045 * gdb.python/py-mi-events.c: New file.
1046 * gdb.python/py-mi-events.exp: New file.
1047
e6359af3
YQ
10482016-03-30 Yao Qi <yao.qi@linaro.org>
1049
1050 * gdb.reverse/until-precsave.exp: Match function name only.
1051 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
1052 Move malloc to a condition block.
1053 * gdb.reverse/until-reverse.exp: Match function name only.
1054
a4105d04
MK
10552016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
1056
1057 * gdb.trace/ftrace.exp: Set arg0exp for s390.
1058 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
1059 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
1060 variable for GPR 0 instead of assuming it is register 0.
1061 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
1062 * lib/trace-support.exp: Add s390 registers.
1063
bfa6adb9
YQ
10642016-03-29 Yao Qi <yao.qi@linaro.org>
1065
1066 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
1067
1e6697ea
YQ
10682016-03-24 Yao Qi <yao.qi@linaro.org>
1069
1070 * gdb.reverse/break-reverse.exp: Add quotation mark in the
1071 test message.
1072
64bcd522
AA
10732016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1074
1075 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
1076 maintaining separate logic for constructing the output path.
1077
7868401b
DB
10782016-03-16 Don Breazeal <donb@codesourcery.com>
1079
1080 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1081 Retry fork and waitpid on interrupted system call errors.
1082 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1083 Use with_timeout_factor to increase timeout by factor of 10.
1084
1cafadb4
DB
10852016-03-15 Don Breazeal <donb@codesourcery.com>
1086
1087 * gdb.cp/scope-err.cc: New test program.
1088 * gdb.cp/scope-err.exp: New test script.
1089 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
1090 lines and "set breakpoint here" comment.
1091 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
1092 Fixed some whitespace and format issues.
1093 * gdb.mi/mi-linespec-err-cp.cc: New test program.
1094 * gdb.mi/mi-linespec-err-cp.exp: New test script.
1095
81516450
DE
10962016-03-15 Doug Evans <dje@google.com>
1097
1098 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
1099 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
1100 All callers updated. Add tests for enums, mixed flags register.
1101
aa52b601
DE
11022016-03-15 Doug Evans <dje@google.com>
1103
1104 * gdb.base/skip.c (main): Call test_skip_file_and_function.
1105 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
1106
fa4ff313
SM
11072016-03-14 Simon Marchi <simon.marchi@ericsson.com>
1108
1109 * gdb.base/default.exp: Add $_as_string to the list of expected
1110 convenience functions.
1111
f2403c39
AB
11122016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
1113
1114 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1115
f2f3ccb9
SM
11162016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1117
1118 * gdb.python/py-as-string.exp: New file.
1119 * gdb.python/py-as-string.c: New file.
1120
00dbd492
PA
11212016-03-09 Pedro Alves <palves@redhat.com>
1122
1123 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1124 signal" -> "Thread NN received signal" output change.
1125 * gdb.threads/ia64-sigill.exp: Likewise.
1126 * gdb.threads/linux-dp.exp: Likewise.
1127 * gdb.threads/manythreads.exp: Likewise.
1128 * gdb.threads/pending-step.exp: Likewise.
1129 * gdb.threads/print-threads.exp: Likewise.
1130 * gdb.threads/sigstep-threads.exp: Likewise.
1131 * gdb.threads/staticthreads.exp: Likewise.
1132 * gdb.threads/tls.exp: Likewise.
1133
1e6697ea
YQ
11342016-03-09 Pedro Alves <palves@redhat.com>
1135
1136 * gdb.base/command-line-input.exp: New file.
1137
b04fd3be
MK
11382016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1139
1140 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1141 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1142 * gdb.trace/pending.exp: Accept leading dot before function name.
1143 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1144 * lib/trace-support.exp: Set registers for ppc.
1145
98fa59e9
MK
11462016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1147
1148 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1149 use it for disassembly; accept .main in addition to main in backtrace.
1150
f77198c8
MK
11512016-03-09 Wei-cheng Wang <cole945@gmail.com>
1152 Marcin Kościelnicki <koriakin@0x04.net>
1153
1154 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1155 (gdb_recursion_test_ptr): New global variable.
1156 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1157 gdb_recursion_test.
1158 (gdb_c_test): Ditto.
1159
ba84e0da
MK
11602016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1161
1162 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1163 ordering.
1164
4366d36e
MK
11652016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1166
1167 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1168 (bar): Add bar_start_lbl label.
1169 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1170 of foo/bar for emitting DWARF and tracing.
1171
5eb264df
SDJ
11722016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1173
1174 * analyze-racy-logs.py: Set executable bit.
1175
fb6a751f
SDJ
11762016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1177
1178 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1179 (CHECK_TARGET_TMP): Likewise.
1180 (check-single-racy): New rule.
1181 (check-parallel-racy): Likewise.
1182 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1183 (do-check-parallel-racy): New rule.
1184 (check-racy/%.exp): Likewise.
1185 * README (Racy testcases): New section.
1186 * analyze-racy-logs.py: New file.
1187
bdf7e230
DE
11882016-03-03 Doug Evans <dje@google.com>
1189
1190 * gdb.base/skip.exp: Use with_test_prefix.
1191
4719d415
YQ
11922016-03-03 Yao Qi <yao.qi@linaro.org>
1193
1194 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1195 Invoke step_over_syscall "clone" and break_cond_on_syscall
1196 "clone".
1197 * gdb.base/step-over-clone.c: New file.
1198
ea507862
YQ
11992016-03-03 Yao Qi <yao.qi@linaro.org>
1200
1201 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1202 code format.
1203
8fc8cbda
YQ
12042016-03-03 Yao Qi <yao.qi@linaro.org>
1205
1206 * gdb.base/disp-step-fork.c: Rename to ...
1207 * gdb.base/step-over-fork.c: ... it. New file.
1208 * gdb.base/disp-step-vfork.c: Rename to ...
1209 * gdb.base/step-over-vfork.c: ... it. New file.
1210 * gdb.base/disp-step-syscall.exp: Rename to ...
1211 * gdb.base/step-over-syscall.exp: ... it. New file.
1212 (disp_step_cross_syscall): Rename to ...
1213 (step_over_syscall): ... it.
1214
92fa70b0
YQ
12152016-03-03 Yao Qi <yao.qi@linaro.org>
1216
1217 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1218 If target supports condition evaluation on target, invoke
1219 break_cond_on_syscall for fork and vfork.
1220
e197ad3c
YQ
12212016-03-03 Yao Qi <yao.qi@linaro.org>
1222
1223 * gdb.base/disp-step-syscall.exp: Don't invoke
1224 support_displaced_stepping.
1225 (disp_step_cross_syscall): Test with displaced stepping off and
1226 on if supported.
1227
0b47da9f
YQ
12282016-03-03 Yao Qi <yao.qi@linaro.org>
1229
1230 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1231 proc.
1232 (setup): New proc.
1233 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1234 and setup.
1235
065ab6dc
BH
12362016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1237
1238 * gdb.fortran/vla-history.exp: Remove breakpoint.
1239
07e448ad 12402016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1241
25d49b86
PA
1242 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1243 exceeds timeout.
07e448ad 1244
9ac2d526 12452016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1246
25d49b86
PA
1247 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1248 breakpoint.
9ac2d526 1249
17807369
BH
12502016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1251
1252 * gdb.mi/vla.f90: Nullify pointer after declaration.
1253
86e501af
PA
12542016-03-01 Pedro Alves <palves@redhat.com>
1255
1256 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1257
1e903e32
PA
12582016-03-01 Pedro Alves <palves@redhat.com>
1259
1260 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1261 before anything else.
1262 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1263 _GNU_SOURCE here.
1264 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1265 before anything else.
1266 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1267
6ccb54e2
PA
12682016-03-01 Pedro Alves <palves@redhat.com>
1269
1270 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1271
30ca9da1
YQ
12722016-03-01 Yao Qi <yao.qi@linaro.org>
1273
1274 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1275 prepare_for_testing.
1276
dc856b38
YQ
12772016-03-01 Yao Qi <yao.qi@linaro.org>
1278
1279 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1280
4a932159
AA
12812016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1282
1283 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1284 manually constructing the output path.
1285
f2489477
AA
12862016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1287
1288 * gdb.arch/s390-stackless.S: New.
1289 * gdb.arch/s390-stackless.exp: New.
1290
38899f16
IB
12912016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1292
1293 * gdb.dlang/circular.c: New file.
1294 * gdb.dlang/circular.exp: New file.
1295
9fde51ed
YQ
12962016-02-26 Yao Qi <yao.qi@linaro.org>
1297
1298 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1299 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1300 (testcases): Update.
1301
ce90fefe
YQ
13022016-02-26 Yao Qi <yao.qi@linaro.org>
1303
1304 * gdb.reverse/aarch64.c: Rename to ...
1305 * gdb.reverse/insn-reverse.c: ... it.
1306 * gdb.reverse/aarch64.exp: Rename to ...
1307 * gdb.reverse/insn-reverse.exp: ... it.
1308
3263bceb
YQ
13092016-02-26 Yao Qi <yao.qi@linaro.org>
1310
1311 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1312 (testcase_ftype): New.
1313 (testcases): New array.
1314 (n_testcases): New.
1315 (main): Call each element in testcases.
1316 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1317 (read_testcase): New.
1318 Do the tests in a loop.
1319
6cb59ff1
YQ
13202016-02-25 Yao Qi <yao.qi@linaro.org>
1321
1322 * gdb.base/branches.c: Remove.
1323
ae91f625
MK
13242016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1325
1326 PR gdb/13808
1327 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1328
678b48b7
MK
13292016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1330
1331 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1332
7337a6f2
MK
13332016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1334
1335 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1336 change x86_64 call_insn to 'callq'.
1337
861ca91f
AT
13382016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1339
1340 * gdb.trace/tfile-avx.c: Move to...
1341 * gdb.trace/tracefile-pseudo-reg.c: Here.
1342 * gdb.trace/tfile-avx.exp: Move to...
1343 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1344
bf74e428
GB
13452016-02-24 Gary Benson <gbenson@redhat.com>
1346
1347 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1348 message on attach.
1349
cce0e923
DE
13502016-02-23 Doug Evans <dje@google.com>
1351
1352 * gdb.base/skip.c (test_skip): New function.
1353 (end_test_skip_file_and_function): New function.
1354 (test_skip_file_and_function): New function.
1355 * gdb.base/skip1.c (test_skip): New function.
1356 (skip1_test_skip_file_and_function): New function.
1357 * gdb.base/skip.exp: Add tests for new skip options.
1358 * gdb.base/skip-solib.exp: Update expected output.
1359 * gdb.perf/skip-command.cc: New file.
1360 * gdb.perf/skip-command.exp: New file.
1361 * gdb.perf/skip-command.py: New file.
1362
4000e47e
MK
13632016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1364
1365 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1366 info registers pattern.
1367
24f75ead
IB
13682016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1369
1370 * lib/future.exp: Add D support.
1371 (gdb_find_gdc): New proc.
1372 (gdb_default_target_compile): Add D support.
1373
fbb7bcbe
WW
13742016-02-18 Wei-cheng Wang <cole945@gmail.com>
1375
1376 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1377 user+system time.
1378 (trace_speed_test): Determine the iteration count for a time
1379 between 15..30 seconds.
1380
012b3a21
WT
13812016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1382
1383 * gdb.arch/i386-mpx-sigsegv.c: New file.
1384 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1385 * gdb.arch/i386-mpx-simple_segv.c: New file.
1386 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1387
2d5189bd
YQ
13882016-02-18 Yao Qi <yao.qi@linaro.org>
1389
1390 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1391 Don't call setup_kfail.
1392
40fb20d0
YQ
13932016-02-18 Yao Qi <yao.qi@linaro.org>
1394
1395 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1396 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1397
21b1f8d2
DE
13982016-02-16 Doug Evans <dje@google.com>
1399
1400 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1401 * gdb.base/skip1.c: Ditto.
1402 * gdb.base/skip.exp: Whitespace cleanup.
1403
4041ed77
DB
14042016-02-16 Don Breazeal <donb@codesourcery.com>
1405
1406 PR remote/19496
1407 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1408 Remove kfail for PR remote/19496.
1409
c4ef31bf
SM
14102016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1411
1412 * lib/gdb.exp (standard_temp_file): Return a path specific to
1413 the runtest invocation.
1414
266b65b3
SM
14152016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1416
1417 * gdb.trace/save-trace.exp: Change relative path to be in the
1418 standard output directory.
1419
a7a0a6a9
JK
14202016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1421
1422 * gdb.arch/i386-prologue.c: Add missing prototypes.
1423
c99dbb42
JK
14242016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1425
1426 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1427 * gdb.arch/i386-prologue.exp: Likewise.
1428 * gdb.arch/i386-size.exp: Likewise.
1429
aa480355
SM
14302016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1431
1432 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1433 define object file path.
1434 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1435 file path.
1436 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1437 standard_output_file to define binfile.
1438
ba881f50
JK
14392016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1440
1441 Fix compatibility with recent gfortran-5.3.1.
1442 * gdb.fortran/vla-history.exp (print vla1 allocated)
1443 (print vla2 allocated, print $2, print $3): Remove
1444 (print $4): Rename to ...
1445 (print $2): ... here.
1446 (print $9): Rename to ...
1447 (print $5): ... here.
1448 (print $10): Rename to ...
1449 (print $6): ... here.
1450 * gdb.fortran/vla.f90: Add pvla initialization.
1451
e9fb005c
JK
14522016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1453
1454 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1455 New test.
1456 * gdb.fortran/vla-value-sub.exp: Likewise.
1457
e44e00ff
MK
14582016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1459
1460 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1461
97e94151
SM
14622016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1463
1464 * i386-biarch-core.exp: Define corefile using
1465 standard_output_file.
1466
01113bc1
YQ
14672016-02-12 Yao Qi <yao.qi@linaro.org>
1468
1469 * gdb.arch/arm-single-step-kernel-helper.c: New.
1470 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1471
33b4777c
MM
14722016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1473
1474 * gdb.btrace/tailcall-only.exp: New.
1475 * gdb.btrace/tailcall-only.c: New.
1476 * gdb.btrace/x86_64-tailcall-only.S: New.
1477 * gdb.btrace/i686-tailcall-only.S: New.
1478
acc23c11
PA
14792016-02-11 Pedro Alves <palves@redhat.com>
1480
1481 * README (Parallel testing): Add missing double quotes.
1482
e352bf0a
PA
14832016-02-11 Pedro Alves <palves@redhat.com>
1484
1485 * README (Parallel testing): New section.
1486 (GDB_PARALLEL): Rewrite.
1487 (FORCE_PARALLEL): Document.
1488
9f5fed78
MK
14892016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1490
1491 * gdb.trace/tfile-avx.c: New test.
1492 * gdb.trace/tfile-avx.exp: New test.
1493
9ef9e6a6
KS
14942016-02-09 Keith Seitz <keiths@redhat.com>
1495
1496 PR breakpoints/19546
1497 * gdb.base/infcall-exec.c: New file.
1498 * gdb.base/infcall-exec2.c: New file.
1499 * gdb.base/infcall-exec.exp: New file.
1500
a96e36da
KS
15012016-02-09 Keith Seitz <keiths@redhat.com>
1502
1503 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1504 (toplevel): Call test_bkpt_address.
1505
9f61929f
KS
15062016-02-09 Keith Seitz <keiths@redhat.com>
1507
1508 PR python/19506
1509 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1510 (toplevel): Call test_bkpt_address.
1511
1e94266c
SM
15122016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1513
1514 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1515 to AC_OUTPUT.
1516 * configure: Regenerate.
1517
2a7f3dff
PA
15182016-02-09 Pedro Alves <palves@redhat.com>
1519
1520 PR breakpoints/19548
1521 * gdb.base/execl-update-breakpoints.c (some_function): New
1522 function.
1523 (main): Call it.
1524 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1525 Tighten expected GDB output.
1526
2151ccc5
SM
15272016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1528
1529 * Makefile.in (ALL_SUBDIRS): Remove.
1530 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1531 (distclean maintainer-clean realclean): Likewise.
1532 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1533 * configure: Regenerate.
1534 * gdb.ada/Makefile.in: Delete.
1535 * gdb.arch/Makefile.in: Likewise.
1536 * gdb.asm/Makefile.in: Likewise.
1537 * gdb.base/Makefile.in: Likewise.
1538 * gdb.btrace/Makefile.in: Likewise.
1539 * gdb.cell/Makefile.in: Likewise.
1540 * gdb.compile/Makefile.in: Likewise.
1541 * gdb.cp/Makefile.in: Likewise.
1542 * gdb.disasm/Makefile.in: Likewise.
1543 * gdb.dlang/Makefile.in: Likewise.
1544 * gdb.dwarf2/Makefile.in: Likewise.
1545 * gdb.fortran/Makefile.in: Likewise.
1546 * gdb.gdb/Makefile.in: Likewise.
1547 * gdb.go/Makefile.in: Likewise.
1548 * gdb.guile/Makefile.in: Likewise.
1549 * gdb.java/Makefile.in: Likewise.
1550 * gdb.linespec/Makefile.in: Likewise.
1551 * gdb.mi/Makefile.in: Likewise.
1552 * gdb.modula2/Makefile.in: Likewise.
1553 * gdb.multi/Makefile.in: Likewise.
1554 * gdb.objc/Makefile.in: Likewise.
1555 * gdb.opencl/Makefile.in: Likewise.
1556 * gdb.opt/Makefile.in: Likewise.
1557 * gdb.pascal/Makefile.in: Likewise.
1558 * gdb.perf/Makefile.in: Likewise.
1559 * gdb.python/Makefile.in: Likewise.
1560 * gdb.reverse/Makefile.in: Likewise.
1561 * gdb.server/Makefile.in: Likewise.
1562 * gdb.stabs/Makefile.in: Likewise.
1563 * gdb.threads/Makefile.in: Likewise.
1564 * gdb.trace/Makefile.in: Likewise.
1565 * gdb.xml/Makefile.in: Likewise.
1566 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1567 GDB_PARALLEL.
1568 (standard_output_file): Remove check for GDB_PARALLEL, always
1569 return path in outputs/$subdir/$testname.
1570
437277d4
SM
15712016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1572
1573 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1574 (site.exp): Assign abs_srcdir to tcl's srcdir.
1575
31d913c7
YQ
15762016-02-04 Yao Qi <yao.qi@linaro.org>
1577
1578 * gdb.base/foll-exec-mode.c: Include limits.h.
1579 (main): Add parameters argc and argv. Get directory from
1580 argv[0].
1581 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1582 compilation.
1583 * gdb.base/foll-exec.c: Include limits.h.
1584 (main): Add parameters argc and argv.
1585 Get directory from argv[0].
1586 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1587 Adjust tests on the number of lines as source code changed.
1588 * gdb.base/foll-vfork-exit.c: Include limits.h.
1589 (main): Add one line of statement before vfork.
1590 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1591 (main): Add parameters argc and argv. Get directory from
1592 argv[0].
1593 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1594 (setup_gdb): Set tbreak to skip some source lines.
1595 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1596 (main): Add parameters argc and argv. Get directory from
1597 argv[0].
1598 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1599 compilation.
1600 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1601 (main): Add parameters argc and argv. Get directory from
1602 argv[0].
1603 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1604 compilation.
1605
9482b9fb
DE
16062016-02-01 Doug Evans <dje@google.com>
1607
1608 * gdb.base/skip.exp: Clean up multiple references to same test name.
1609
6b2e4f10
PA
16102016-02-01 Pedro Alves <palves@redhat.com>
1611
ccb6afd6 1612 PR remote/19496
6b2e4f10
PA
1613 * gdb.threads/forking-threads-plus-breakpoint.exp
1614 (displaced_stepping_supported): New global.
1615 (probe_displaced_stepping_support): New procedure.
1616 (do_test): Add 'displaced' parameter, and use it.
1617 (top level): Check for displaced stepping support. Add displaced
1618 stepping on/off testing axis.
1619
37a8db1a
AB
16202016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1621
1622 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1623 pointer. Don't perform further tests on the unassociated pointer
1624 if the first test fails.
1625
5fdf6324
AB
16262016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1627
1628 * gdb.base/max-value-size.c: New file.
1629 * gdb.base/max-value-size.exp: New file.
1630 * gdb.base/huge.exp: Disable max-value-size for this test.
1631
935c6144
IB
16322016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1633
1634 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1635
7fe8399d
YQ
16362016-01-28 Yao Qi <yao.qi@linaro.org>
1637
1638 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1639
a2077e25
PA
16402016-01-25 Pedro Alves <palves@redhat.com>
1641
1642 PR threads/19461
1643 * gdb.base/fork-running-state.c: New file.
1644 * gdb.base/fork-running-state.exp: New file.
1645
1d2736d4
PA
16462016-01-25 Pedro Alves <palves@redhat.com>
1647
1648 PR gdb/19494
1649 * gdb.base/catch-fork-kill.c: New file.
1650 * gdb.base/catch-fork-kill.exp: New file.
1651
f1da4b11
PA
16522016-01-25 Pedro Alves <palves@redhat.com>
1653
1654 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1655 Delete, moved to lib/gdb.exp.
1656 * gdb.threads/forking-threads-plus-breakpoint.exp
1657 (foreach_with_prefix): Likewise.
1658 * gdb.threads/process-dies-while-handling-bp.exp
1659 (foreach_with_prefix): Likewise.
1660 * lib/gdb.exp (foreach_with_prefix): New procedure.
1661
45f38546
MK
16622016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1663
1664 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1665 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1666
dc29a1ce
MK
16672016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1668
1669 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1670 endian targets.
1671
092127d7
JK
16722016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1673 Pedro Alves <palves@redhat.com>
1674
1675 Fix testsuite compatibility with Guile.
1676 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1677 number.
1678
31d765d3
JK
16792016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1680
1681 Fix testsuite compatibility with Guile.
1682 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1683 (thread 1): New test for backtrace through signal handler.
1684
1ac78c04
YQ
16852016-01-22 Yao Qi <yao.qi@linaro.org>
1686
1687 PR testsuite/19491
1688 * gdb.base/multi-forks.c: Include
1689 ../lib/unbuffer_output.c
1690 (main): Call gdb_unbuffer_output.
1691
4f5946a8
DE
16922016-01-21 Doug Evans <dje@google.com>
1693
1694 * lib/ada.exp (gdb_compile_ada): Fix typo.
1695
305e13e6
JB
16962016-01-21 Joel Brobecker <brobecker@adacore.com>
1697
1698 * gdb.base/break-fun-addr.exp: New file.
1699 * gdb.base/break-fun-addr1.c: New file.
1700 * gdb.base/break-fun-addr2.c: New file.
1701
5f5dfff6
SM
17022016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1703
1704 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1705 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1706 enum flag values.
1707
fd356fa2
AA
17082016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1709
1710 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1711 when GDB can not set the vector return value. Add more comments
1712 for clarification.
1713
9df22175
AT
17142016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1715
1716 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1717 command.
1718
41d1845e
SM
17192016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1720
1721 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1722
01ac6840
SM
17232016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1724
1725 * Makefile.in (check-single): Pass --status to runtest.
1726 (check/%.exp): Likewise.
1727
17282016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1729
1730 * Makefile.in (check-parallel): Propagate return code from make
1731 do-check-parallel.
1732
bd0a71fa
MK
17332016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1734
1735 * gdb.trace/ftrace.exp: Fix expected message on continue.
1736 * gdb.trace/pending.exp: Fix expected message on continue.
1737 * gdb.trace/trace-break.exp: Fix expected message on continue.
1738
8bcbad33
SM
17392016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1740
1741 * lib/gdb.exp (gdb_test): Remove unused global references.
1742
f303dbd6
PA
17432016-01-18 Pedro Alves <palves@redhat.com>
1744
1745 * gdb.base/async-shell.exp: Adjust expected output.
1746 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1747 * gdb.base/siginfo-thread.exp: Adjust expected output.
1748 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1749 * gdb.java/jnpe.exp: Adjust expected output.
1750 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1751 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1752 * gdb.threads/leader-exit.exp: Adjust expected output.
1753 * gdb.threads/manythreads.exp: Adjust expected output.
1754 * gdb.threads/pthreads.exp: Adjust expected output.
1755 * gdb.threads/schedlock.exp: Adjust expected output.
1756 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1757 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1758 expected output.
1759 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1760 output.
1761 * gdb.threads/sigthread.exp: Adjust expected output.
1762 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1763
b2789696
YQ
17642016-01-18 Yao Qi <yao.qi@linaro.org>
1765
1766 * gdb.guile/scm-section-script.c: Replace @progbits with
1767 %progbits.
1768 * gdb.python/py-section-script.c: Likewise.
1769
71ef29a8
PA
17702016-01-15 Pedro Alves <palves@redhat.com>
1771
1772 * gdb.multi/tids.exp: Test star wildcard ranges.
1773
3f5b7598
PA
17742016-01-15 Pedro Alves <palves@redhat.com>
1775
1776 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1777 command from "thread apply" invocation.
1778 (thr_apply_info_thr_invalid): Default the expected output to the
1779 input tid list.
1780 (top level): Add tests that use convenience variables. Add tests
1781 for "thread apply" with a valid TID list, but missing the command.
1782
663f6d42
PA
17832016-01-13 Pedro Alves <palves@redhat.com>
1784
1785 * gdb.base/default.exp: Expect $_gthread as well.
1786 * gdb.multi/tids.exp: Test $_gthread.
1787 * gdb.threads/thread-specific.exp: Test $_gthread.
1788
c84f6bbf
PA
17892016-01-13 Pedro Alves <palves@redhat.com>
1790
1791 * gdb.multi/tids.exp: Test "info threads -gid".
1792
22a02324
PA
17932016-01-13 Pedro Alves <palves@redhat.com>
1794
1795 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1796 Breakpoint.thread.
1797 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1798
5d5658a1
PA
17992016-01-07 Pedro Alves <palves@redhat.com>
1800
1801 * gdb.base/break.exp: Adjust to output changes.
1802 * gdb.base/hbreak2.exp: Likewise.
1803 * gdb.base/sepdebug.exp: Likewise.
1804 * gdb.base/watch_thread_num.exp: Likewise.
1805 * gdb.linespec/keywords.exp: Likewise.
1806 * gdb.multi/info-threads.exp: Likewise.
1807 * gdb.threads/thread-find.exp: Likewise.
1808 * gdb.multi/tids.c: New file.
1809 * gdb.multi/tids.exp: New file.
1810
84654457
PA
18112016-01-13 Pedro Alves <palves@redhat.com>
1812
1813 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1814
e3940304
PA
18152016-01-13 Pedro Alves <palves@redhat.com>
1816
1817 * gdb.base/default.exp: Expect $_inferior as well.
1818 * gdb.multi/base.exp: Test $_inferior.
1819
a911d87a
PA
18202016-01-13 Pedro Alves <palves@redhat.com>
1821
1822 PR breakpoints/19388
1823 * gdb.base/catch-signal-siginfo-cond.c: New file.
1824 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1825
82075af2
JS
18262016-01-12 Josh Stone <jistone@redhat.com>
1827 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1828
1829 * gdb.base/catch-syscall.c (do_execve): New variable.
1830 (main): Conditionally trigger an execve.
1831 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1832 (test_catch_syscall_execve): New, check entry/return across execve.
1833 (do_syscall_tests): Call test_catch_syscall_execve.
1834
e46eeedd
PA
18352016-01-12 Pedro Alves <palves@redhat.com>
1836
1837 * gdb.base/random-signal.exp (do_test): New procedure, with body
1838 of testcase moved in.
1839
01d8c27e
JK
18402016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1841 Pedro Alves <palves@redhat.com>
1842
1843 * gdb.base/funcargs.exp (finish from indirectly called function):
1844 Reintroduce the case for 'First'.
1845
9a706302
JK
18462016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1847 Pedro Alves <palves@redhat.com>
1848
1849 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1850 (tcatch_vfork_then_child_follow_exec)
1851 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1852 identification.
1853
c0ecb95f
JK
18542016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1855
1856 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1857 and repeats to unlimited.
1858 * gdb.python/py-value.exp: Likewise.
1859 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1860 and repeats to unlimited.
1861
6cfc1fcb
JK
18622016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1863
1864 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1865 and reordering the functions.
1866 * gdb.multi/hangout.c: Likewise.
1867 * gdb.multi/hello.c: Likewise.
1868
582a1b00
SM
18692016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1870
1871 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1872 absolute.
1873 (SingleStatisticTestResult.report): Use dict.keys instead of
1874 dict.iterkeys.
1875
79bc59cb
PA
18762016-01-06 Pedro Alves <palves@redhat.com>
1877
1878 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1879
43368e1d
MM
18802016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1881
1882 * gdb.btrace/dlopen.exp: New.
1883 * gdb.btrace/dlopen.c: New.
1884 * gdb.btrace/dlopen-dso.c: New.
1885
79fad5b8
SL
18862015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1887
1888 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1889 PATTERN argument is optional.
1890
ab8314b3
JB
18912015-12-24 Joel Brobecker <brobecker@adacore.com>
1892
1893 * lib/ada.exp (target_compile_ada_from_dir): New function.
1894 (gdb_compile_ada): Reimplement avoiding the use of project files.
1895 * gdb.ada/gnat_ada.gpr: Delete.
1896 * gdb.ada/cond_lang.exp: Adjust test to make path before
1897 filename optional.
1898 * gdb.ada/small_reg_param.exp: Likewise.
1899
fe33faff
SM
19002015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1901
1902 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1903
6d265cb4
TP
19042015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1905
1906 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1907 case.
1908
10125099
SM
19092015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1910
1911 * gdb.base/break.exp: Remove dead code.
1912 * gdb.base/sepdebug.exp: Likewise.
1913
3ca22649
SM
19142015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1915
1916 * gdb.asm/asm-source.exp: Remove HP-UX references.
1917 * gdb.base/annota1.exp: Likewise.
1918 * gdb.base/annota3.exp: Likewise.
1919 * gdb.base/attach.exp: Likewise.
1920 * gdb.base/bigcore.exp: Likewise.
1921 * gdb.base/break.exp: Likewise.
1922 * gdb.base/call-ar-st.exp: Likewise.
1923 * gdb.base/callfuncs.exp: Likewise.
1924 * gdb.base/catch-fork-static.exp: Likewise.
1925 * gdb.base/display.exp: Likewise.
1926 * gdb.base/foll-exec-mode.exp: Likewise.
1927 * gdb.base/foll-exec.exp: Likewise.
1928 * gdb.base/foll-fork.exp: Likewise.
1929 * gdb.base/foll-vfork.exp: Likewise.
1930 * gdb.base/funcargs.exp: Likewise.
1931 * gdb.base/hbreak2.exp: Likewise.
1932 * gdb.base/inferior-died.exp: Likewise.
1933 * gdb.base/interrupt.exp: Likewise.
1934 * gdb.base/multi-forks.exp: Likewise.
1935 * gdb.base/nodebug.exp: Likewise.
1936 * gdb.base/sepdebug.exp: Likewise.
1937 * gdb.base/solib1.c: Likewise.
1938 * gdb.base/step-test.exp: Likewise.
1939 * gdb.mi/non-stop.c: Likewise.
1940 * gdb.mi/pthreads.c: Likewise.
1941 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1942 * gdb.threads/pthreads.c: Likewise.
1943 * gdb.threads/staticthreads.exp: Likewise.
1944 * lib/future.exp: Likewise.
1945 * lib/gdb.exp: Likewise.
1946 * gdb.base/so-indr-cl.c: Remove.
1947 * gdb.base/so-indr-cl.exp: Likewise.
1948 * gdb.base/solib.c: Likewise.
1949 * gdb.base/solib.exp: Likewise.
1950 * gdb.base/solib2.c: Likewise.
1951
b6304613
SM
19522015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1953
1954 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1955 * gdb.base/call-ar-st.exp: Likewise.
1956 * gdb.base/callfuncs.exp: Likewise.
1957 * gdb.base/condbreak.exp: Likewise.
1958 * gdb.base/constvars.exp: Likewise.
1959 * gdb.base/hbreak2.exp: Likewise.
1960 * gdb.base/langs.exp: Likewise.
1961 * gdb.base/list.exp: Likewise.
1962 * gdb.base/long_long.exp: Likewise.
1963 * gdb.base/ptype.exp: Likewise.
1964 * gdb.base/scope.exp: Likewise.
1965 * gdb.base/signals.exp: Likewise.
1966 * gdb.base/so-impl-ld.exp: Likewise.
1967 * gdb.base/varargs.exp: Likewise.
1968 * gdb.base/volatile.exp: Likewise.
1969 * gdb.base/whatis.exp: Likewise.
1970 * gdb.cp/cplusfuncs.exp: Likewise.
1971 * gdb.cp/inherit.exp: Likewise.
1972 * gdb.cp/local.exp: Likewise.
1973 * gdb.cp/member-ptr.exp: Likewise.
1974 * gdb.cp/method.exp: Likewise.
1975 * gdb.cp/overload.exp: Likewise.
1976 * gdb.cp/templates.exp: Likewise.
1977 * gdb.stabs/weird.exp: Likewise.
1978 * lib/compiler.c: Likewise.
1979 * lib/compiler.cc: Likewise.
1980 * lib/cp-support.exp: Likewise.
1981 * lib/gdb.exp: Likewise.
1982
bf401b07
SM
19832015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1984
1985 * configure.ac: Remove HP-UX case.
1986 * configure: Regenerate.
1987
aff9c0f8
SM
19882015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1989
1990 * lib/gdb.exp (gdb_compile): Add function doc.
1991
a6904d5a
PA
19922015-12-17 Pedro Alves <palves@redhat.com>
1993
1994 PR threads/19354
1995 * gdb.multi/info-threads.exp: New file.
1996
a22279dd
YQ
19972015-12-15 Yao Qi <yao.qi@linaro.org>
1998
1999 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
2000 is aarch64*-*-*.
2001
0588c796
SL
20022015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2003
2004 * gdb.base/history-duplicates.exp: Skip if no readline support.
2005
5d978e17
SL
20062015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2007
2008 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
2009
7e763b86
SL
20102015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2011
2012 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
2013
87a3a92c
SL
20142015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2015
2016 * gdb.base/completion.exp: Skip tests that interrupt GDB with
2017 ctrl-C if nointerrupts target property is set.
2018 * gdb.base/double-prompt-target-event-error.exp: Likewise.
2019 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
2020 * gdb.base/paginate-bg-execution.exp: Likewise.
2021 * gdb.base/paginate-execution-startup.exp: Likewise.
2022 * gdb.base/random-signal.exp: Likewise.
2023 * gdb.base/range-stepping.exp: Likewise.
2024 * gdb.cp/annota2.exp: Likewise.
2025 * gdb.cp/annota3.exp: Likewise.
2026 * gdb.gdb/selftest.exp: Likewise.
2027 * gdb.threads/continue-pending-status.exp: Likewise.
2028 * gdb.threads/leader-exit.exp: Likewise.
2029 * gdb.threads/manythreads.exp: Likewise.
2030 * gdb.threads/pthreads.exp: Likewise.
2031 * gdb.threads/schedlock.exp: Likewise.
2032 * gdb.threads/sigthread.exp: Likewise.
2033
a8f077dc
DB
20342015-12-11 Don Breazeal <donb@codesourcery.com>
2035
2036 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
2037 remote.
2038 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
2039 * gdb.base/foll-exec.exp (main): Enable for target remote.
2040 * gdb.base/foll-fork.exp (main): Likewise.
2041 * gdb.base/foll-vfork.exp (main): Likewise.
2042 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
2043 (proc continue_to_exit_bp_loc): Use clean_restart.
2044 * gdb.base/pie-execl.exp (main): Disable for target remote.
2045 * gdb.base/watch-vfork.exp (main): Enable for target remote.
2046 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
2047 * gdb.threads/execl.exp (main): Likewise.
2048 * gdb.threads/fork-child-threads.exp (main): Likewise.
2049 * gdb.threads/fork-plus-threads.exp (main): Disable for target
2050 remote.
2051 * gdb.threads/fork-thread-pending.exp (main): Enable for target
2052 remote.
2053 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
2054 pid.tid style ptids, instead of just tid.
2055 * gdb.threads/thread-execl.exp (main): Enable for target remote.
2056 * gdb.threads/watchpoint-fork.exp (main): Likewise.
2057 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
2058 ptids, instead of just tid.
2059
3b2464a8
AB
20602015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2061
2062 * gdb.base/list.exp (test_list_forward): Add end of file error
2063 test.
2064 (test_repeat_list_command): Add end of file error test.
2065 (test_list_backwards): Add beginning of file error test.
2066
a0def019
AB
20672015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2068
2069 * gdb.base/list.exp (test_list_invalid_args): New function,
2070 defined, and called.
2071
5c000dff
AB
20722015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2073
2074 * gdb.base/list.exp (test_list): Make test names unique.
2075
f1637ebe
YQ
20762015-12-11 Yao Qi <yao.qi@linaro.org>
2077
2078 * gdb.base/coremaker2.c: Remove.
2079
36d6fc0a
PA
20802015-12-10 Pedro Alves <palves@redhat.com>
2081
2082 * gdb.multi/base.exp: Remove stale "spaces" references.
2083
762f7747
PA
20842015-12-10 Pedro Alves <palves@redhat.com>
2085
2086 * gdb.multi/base.exp: Don't use nowarnings.
2087 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
2088 * gdb.multi/hangout.c: Include stdio.h.
2089 * gdb.multi/hello.c: Include stdlib.h.
2090 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
2091 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
2092 * gdb.multi/multi-arch.exp: Don't use nowarnings.
2093
28d2bfb9
AB
20942015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
2095
2096 * gdb.dwarf2/dw2-ranges-base.c: New file.
2097 * gdb.dwarf2/dw2-ranges-base.exp: New file.
2098 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
2099 support additional line table, and debug ranges generation.
2100 (Dwarf::ranges): New function, generate .debug_ranges.
2101 (Dwarf::lines): Support generating simple line table programs.
2102 (Dwarf::assemble): Initialise new namespace variables.
2103
5fc2beac
KB
21042015-12-09 Kevin Buettner <kevinb@redhat.com>
2105
2106 * gdb.base/async.exp (proc test_background): Add case for
2107 asynchronous execution not supported.
2108
1c35a88f
LM
21092015-12-09 Luis Machado <lgustavo@codesourcery.com>
2110
2111 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
2112 format and change test names to make them unique.
2113
b593e3d9
RK
21142015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
2115 Pedro Alves <pedro@redhat.com>
2116
2117 PR gdb/18702
2118 Add checking of floatformats setup on x86_64 hosts.
2119 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2120 (smallval, bigval): New labels/constants.
2121 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2122 float" after loading bigval and smallval.
2123
d72413e6
PMR
21242015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2125
2126 * gdb.ada/fun_overload_menu.exp: New testcase.
2127 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2128
ece66d65
JS
21292015-12-04 Josh Stone <jistone@redhat.com>
2130
2131 * gdb.base/catch-fork-static.exp: New.
2132
41d0efca
YQ
21332015-12-03 Yao Qi <yao.qi@linaro.org>
2134
2135 * gdb.base/sizeof.c: Don't include stdio.h and
2136 ../lib/unbuffer_output.c.
2137 (main): New variable 'size' and 'value'. Remove printf and
2138 gdb_unbuffer_output. Assign return value to size and value.
2139 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2140 at the beginning.
2141 (check_sizeof): Check the result by printing variable 'size'.
2142 (check_valueof): Check the result by printing variable 'value'.
2143
99fd02d9
YQ
21442015-12-01 Yao Qi <yao.qi@linaro.org>
2145
2146 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2147 for aarch64*-*-linux* target.
2148
f2faf941
PA
21492015-11-30 Pedro Alves <palves@redhat.com>
2150
2151 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2152
04bf20c5
PA
21532015-11-30 Pedro Alves <palves@redhat.com>
2154
2155 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2156 Handle non-stop mode vCont replies.
2157
09df4675
PA
21582015-11-30 Pedro Alves <palves@redhat.com>
2159
2160 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2161 prepare_for_testing. Start gdb with "set non-stop on" appended to
2162 GDBFLAGS. Lax expected stop output.
2163
58b584af
YQ
21642015-11-27 Yao Qi <yao.qi@linaro.org>
2165
2166 * gdb.arch/arm-neon.exp: New.
2167 * gdb.arch/arm-neon.c: New.
2168
dfcb77a8
YQ
21692015-11-27 Yao Qi <yao.qi@linaro.org>
2170
2171 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2172
88e8ec1b
YQ
21732015-11-27 Yao Qi <yao.qi@linaro.org>
2174
2175 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2176 frames-invalid annotation.
2177
bfde72c2
YQ
21782015-11-27 Yao Qi <yao.qi@linaro.org>
2179
2180 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2181
f6512a69
SM
21822015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2183
2184 * gdb.threads/names.exp: New file.
2185 * gdb.threads/names.c: New file.
2186 * README: Mention gdb,no_thread_names.
2187
46a3515b
MM
21882015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2189
2190 PR 19297
2191 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2192 support" error.
2193
62147a22
PA
21942015-11-24 Pedro Alves <palves@redhat.com>
2195
2196 PR 17539
2197 * gdb.base/display.exp: Expect displays to be sorted in ascending
2198 order. Use multi_line.
2199 * gdb.base/solib-display.exp: Likewise.
2200
2f341b6e
PA
22012015-11-24 Pedro Alves <palves@redhat.com>
2202
2203 PR 17539
25d49b86
PA
2204 * gdb.base/display.exp: Expect displays to be sorted in ascending
2205 order. Use multi_line.
2206 * gdb.base/solib-display.exp: Likewise.
2f341b6e 2207
7e0aa6aa
PA
22082015-11-24 Pedro Alves <palves@redhat.com>
2209
2210 PR 17539
2211 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2212 threads in ascending order.
2213 * gdb.base/foll-fork.exp: Likewise.
2214 * gdb.base/foll-vfork.exp: Likewise.
2215 * gdb.base/multi-forks.exp: Likewise.
2216 * gdb.mi/mi-nonstop.exp: Likewise.
2217 * gdb.mi/mi-nsintrall.exp: Likewise.
2218 * gdb.multi/base.exp: Likewise.
2219 * gdb.multi/multi-arch.exp: Likewise.
2220 * gdb.python/py-inferior.exp: Likewise.
2221 * gdb.threads/break-while-running.exp: Likewise.
2222 * gdb.threads/execl.exp: Likewise.
2223 * gdb.threads/gcore-thread.exp: Likewise.
2224 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2225 * gdb.threads/kill.exp: Likewise.
2226 * gdb.threads/linux-dp.exp: Likewise.
2227 * gdb.threads/multiple-step-overs.exp: Likewise.
2228 * gdb.threads/next-bp-other-thread.exp: Likewise.
2229 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2230 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2231 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2232 * gdb.threads/thread-find.exp: Likewise.
2233 * gdb.threads/tls.exp: Likewise.
2234 * lib/mi-support.exp (mi_reverse_list): Delete.
2235 (mi_check_thread_states): No longer reverse list.
2236
2cc57ad8
PA
22372015-11-24 Pedro Alves <palves@redhat.com>
2238
2239 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2240 use lowercase.
2241
c93e8391
SM
22422015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2243
2244 * gdb.trace/actions.c: Include trace-common.h.
2245 (main): Add a location for a fast tracepoint.
2246 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2247 the normal tracepoints.
2248 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2249
045ccf91
SM
22502015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2251
2252 * save-trace.exp: Factor out code to these...
2253 (gdb_save_tracepoints): New.
2254 (gdb_load_tracepoints): New.
2255 (do_save_load_test): New.
2256
5506f9f6
KB
22572015-11-23 Kevin Buettner <kevinb@redhat.com>
2258
2259 * gdb.base/asmlabel.exp: New test.
2260 * gdb.base/asmlabel.c: New test case.
2261
16c3b12f
JB
22622015-11-23 Joel Brobecker <brobecker@adacore.com>
2263
2264 * gdb.base/wrong_frame_bt_full-main.c: New file.
2265 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2266 * gdb.base/wrong_frame_bt_full.exp: New file.
2267
155bfbd3
JB
22682015-11-23 Joel Brobecker <brobecker@adacore.com>
2269
2270 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2271
bb097445
JM
22722015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2273
206853a0 2274 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
2275 pstate register when comparing registers values in
2276 sparc64-*-linux-gnu targets to avoid spurious differences.
2277
9c88ed8f
JM
22782015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2279
206853a0 2280 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 2281
96161e25
SL
22822015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2283
2284 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2285 as type argument to gdb_compile.
2286 * gdb.base/nested-subp2.exp: Likewise.
2287 * gdb.base/nested-subp3.exp: Likewise.
2288
340c2830
DV
22892015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2290
2291 * lib/dwarf.exp (_note): Fix left shift of negative value.
2292 * gdb.trace/trace-condition.exp: Likewise.
2293
c1862d0f
YQ
22942015-11-13 Yao Qi <yao.qi@linaro.org>
2295
2296 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2297 comments about d10v.
2298 (test_scalar_returns): Likewise.
2299 * gdb.base/d10v.ld: Remove.
2300 * gdb.base/overlays.exp: Remove the target triplet checking for
2301 d10v-*-*.
2302 * gdb.base/structs.exp (test_struct_returns): Remove the
2303 comments about d10v.
2304 (test_struct_calls): Likewise.
2305
77ae9c19
YQ
23062015-11-13 Yao Qi <yao.qi@linaro.org>
2307
2308 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2309 * gdb.base/gnu_vector.c: Don't include stdio.h.
2310 (main): Don't print res and call add_some_intvecs.
2311
430e004e
MK
23122015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2313
2314 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2315 macro.
2316 (func5): Removed.
2317 (func4): Use FAST_TRACEPOINT_LABEL.
2318 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2319 macro.
2320 (func): Removed.
2321 (thread_function): Use FAST_TRACEPOINT_LABEL.
2322 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2323 (func): Remove.
2324 (marker): Use FAST_TRACEPOINT_LABEL.
2325 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2326 (pendfunc1): Remove.
2327 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2328 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2329 (foo): Remove.
2330 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2331 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2332 macro.
2333 (func): Remove.
2334 (marker): Use FAST_TRACEPOINT_LABEL.
2335 * gdb.trace/trace-common.h: New header.
2336 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2337 macro.
2338 (func): Remove.
2339 (marker): Use FAST_TRACEPOINT_LABEL.
2340 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2341 (func): Remove.
2342 (thread_function): Use FAST_TRACEPOINT_LABEL.
2343
6e7675a7
MK
23442015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2345
2346 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2347 in front.
2348 * gdb.trace/change-loc.exp: Use global pcreg definition.
2349 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2350 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2351 in front.
2352 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2353 * gdb.trace/pending.exp: Likewise.
2354 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2355 * gdb.trace/trace-break.exp: Likewise.
2356 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2357 in front.
2358 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2359 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2360 in front.
2361 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2362
dddc0e16
JB
23632015-11-09 Joel Brobecker <brobecker@adacore.com>
2364
2365 * gdb.ada/fin_fun_out: New testcase.
2366
c6f0b406
KB
23672015-11-07 Kevin Buettner <kevinb@redhat.com>
2368
2369 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2370 value associated with DW_AT_byte_size.
2371 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2372 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2373 DW_AT_upper_bound.
2374
f01dcfd9
KB
23752015-11-07 Kevin Buettner <kevinb@redhat.com>
2376
2377 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2378 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2379 version.
2380 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2381 gdb.dwarf2/dw2-canonicalize-type.exp,
2382 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2383 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2384 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2385 provided by gdb_target_symbol_prefix_flags_asm.
2386 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2387 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2388 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2389 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2390 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2391 macros where needed). Use this macro for symbols which require
2392 the prefix provided by SYMBOL_PREFIX.
2393
2223449a
KB
23942015-11-05 Kevin Buettner <kevinb@redhat.com>
2395
2396 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2397 New procs.
2398 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2399 representing expressions, of more than one list element.
2400 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2401 to prepend linker symbol prefix to f.
2402 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2403 table_1 and table_2.
2404 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2405 Likewise, for f and g.
2406 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2407 for ptr.
2408 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2409 for main.
2410 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2411 table_1_ptr and table_2_ptr.
2412
6f2f1a3a
JK
24132015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2414 Joel Brobecker <brobecker@adacore.com>
2415
2416 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2417
566c56c9
MK
24182015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2419
2420 * gdb.reverse/s390-mvcle.c: New test.
2421 * gdb.reverse/s390-mvcle.exp: New file.
2422 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2423
d5f0636b
MK
24242015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2425
2426 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2427
7ad8b86c
MK
24282015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2429
2430 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2431 reaching marker2.
2432 * gdb.reverse/getresuid-reverse.exp: Likewise.
2433 * gdb.reverse/pipe-reverse.exp: Likewise.
2434 * gdb.reverse/readv-reverse.exp: Likewise.
2435 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2436 * gdb.reverse/time-reverse.exp: Likewise.
2437 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2438
4081c0f1
YQ
24392015-10-30 Yao Qi <yao.qi@linaro.org>
2440
2441 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2442 (empty_cycle): Remove.
2443 (main): Don't call empty_cycle. Don't use watch_count_done.
2444 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2445 empty_cycle. Rewrite the code counting HW watchpoints.
2446
452b4ba5
MK
24472015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2448
2449 * gdb.reverse/fstatat-reverse.c: New test.
2450 * gdb.reverse/fstatat-reverse.exp: New file.
2451 * gdb.reverse/getresuid-reverse.c: New test.
2452 * gdb.reverse/getresuid-reverse.exp: New file.
2453 * gdb.reverse/pipe-reverse.c: New test.
2454 * gdb.reverse/pipe-reverse.exp: New file.
2455 * gdb.reverse/readv-reverse.c: New test.
2456 * gdb.reverse/readv-reverse.exp: New file.
2457 * gdb.reverse/recvmsg-reverse.c: New test.
2458 * gdb.reverse/recvmsg-reverse.exp: New file.
2459 * gdb.reverse/time-reverse.c: New test.
2460 * gdb.reverse/time-reverse.exp: New file.
2461 * gdb.reverse/waitpid-reverse.c: New test.
2462 * gdb.reverse/waitpid-reverse.exp: New file.
2463
5e2e7507
JK
24642015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2465
2466 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2467
0fde2c53
DE
24682015-10-26 Doug Evans <dje@google.com>
2469
2470 PR symtab/17391
2471 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2472 * gdb.dwarf2/bad-regnum.c: New file.
2473 * gdb.dwarf2/bad-regnum.exp: New file.
2474
1a70ae97
DE
24752015-10-26 Doug Evans <dje@google.com>
2476
2477 PR python/18938
2478 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2479 file.
2480
27dc26ab
JK
24812015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2482
2483 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2484 for a change by "Mention language in compile error message".
2485
bed91f4d
SM
24862015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2487
2488 PR python/18073
2489 * gdb.python/py-type.c (C::a_method): New.
2490 (C::a_const_method): New.
2491 (C::a_static_method): New.
2492 (a_function): New.
2493 * gdb.python/py-type.exp (test_fields): Test getting fields
2494 from function and method.
2495
3f2f83dd
KB
24962015-10-21 Keven Boell <keven.boell@intel.com>
2497
2498 * gdb.fortran/vla-alloc-assoc.exp: New file.
2499 * gdb.fortran/vla-datatypes.exp: New file.
2500 * gdb.fortran/vla-datatypes.f90: New file.
2501 * gdb.fortran/vla-history.exp: New file.
2502 * gdb.fortran/vla-ptype-sub.exp: New file.
2503 * gdb.fortran/vla-ptype.exp: New file.
2504 * gdb.fortran/vla-sizeof.exp: New file.
2505 * gdb.fortran/vla-sub.f90: New file.
2506 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2507 * gdb.fortran/vla-value-sub-finish.exp: New file.
2508 * gdb.fortran/vla-value-sub.exp: New file.
2509 * gdb.fortran/vla-value.exp: New file.
2510 * gdb.fortran/vla-ptr-info.exp: New file.
2511 * gdb.mi/mi-vla-fortran.exp: New file.
2512 * gdb.mi/vla.f90: New file.
2513
27145d50
SL
25142015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2515
2516 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2517 of hardwired timeout value.
2518
5f3ff4f8
JK
25192015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2520 Pedro Alves <palves@redhat.com>
2521
2522 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2523 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2524
bfd09d20
JS
25252015-10-19 Josh Stone <jistone@redhat.com>
2526
2527 * gdb.base/catch-syscall.c: Include <sched.h>.
2528 (unknown_syscall): New variable.
2529 (main): Trigger a vfork and an unknown syscall.
2530 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2531 (unknown_syscall_number): Likewise.
2532 (check_call_to_syscall): Accept an optional syscall pattern.
2533 (check_return_from_syscall): Likewise.
2534 (check_continue): Likewise.
2535 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2536 (test_catch_syscall_skipping_return): New test toggling off 'catch
2537 syscall' to step over the syscall return, then toggling back on.
2538 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2539 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2540 (do_syscall_tests): Call test_catch_syscall_without_args and
2541 test_catch_syscall_mid_vfork.
2542 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2543 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2544
b32b93c6
AS
25452015-10-19 Andrew Stubbs <ams@codesourcery.com>
2546
2547 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2548 print g_vE): Add new pass patterns.
2549 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2550 print various symbol names for vptr fields.
2551
9d622bda
AB
25522015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2553
2554 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2555 results.
2556
0fd8ac1c
YQ
25572015-10-12 Yao Qi <yao.qi@linaro.org>
2558
2559 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2560
34240514
YQ
25612015-10-12 Yao Qi <yao.qi@linaro.org>
2562
2563 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2564 is aarch64*-*-linux*.
2565
8240f442
YQ
25662015-10-12 Yao Qi <yao.qi@linaro.org>
2567
2568 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2569 (can_relocate_bcond_true): ... it.
2570 (can_relocate_bcond_false): New function.
2571 (foo): Likewise.
2572 (can_relocate_bl): Likewise.
2573 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2574 can_relocate_bl.
2575
2520f728
PMR
25762015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2577
2578 * gdb.base/nested-addr.c: New file.
2579 * gdb.base/nested-addr.exp: New testcase.
2580
abcef95a
MM
25812015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2582
2583 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2584 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2585 its output. Ignore the output of "record goto begin" and instead
2586 check that GDB is replaying.
2587
145e3ddb
PA
25882015-10-09 Pedro Alves <palves@redhat.com>
2589
2590 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2591 (top level): Use it in the run with no args test.
2592
d5d8c4e1
IB
25932015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2594
2595 * gdb.dlang/properties.exp: New file.
2596
06e635ef
SL
25972015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2598
2599 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2600 whether or not address 0x1000 is mapped on the target.
2601
e019fd1d
SM
26022015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2603
2604 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2605 build.
2606
77ba2a67
MM
26072015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2608
2609 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2610 instruction-history test.
2611
c60eb31f
DE
26122015-09-28 Doug Evans <dje@google.com>
2613
2614 * gdb.base/gcore.c (array_func): Add reference to static_array.
2615
9a3c8263
SM
26162015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2617
2618 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2619 source line.
2620
9720e656
SL
26212015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2622
2623 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2624 short or char as base type.
2625
938d3bf2
SL
26262015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2627
2628 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2629 to allow any size enum.
2630
e6c2c623
PMR
26312015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2632
2633 * gdb.ada/array_ptr_renaming.exp: New testcase.
2634 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2635 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2636
06da0f77
PL
26372015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2638
2639 * gdb.trace/ftrace-lock.c: New file.
2640 * gdb.trace/ftrace-lock.exp: New file.
2641
4f51c22a
PL
26422015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2643
2644 * gdb.arch/insn-reloc.c: New file.
2645 * gdb.arch/ftrace-insn-reloc.exp: New file.
2646
7041adf4
PL
26472015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2648
2649 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2650 instruction.
2651 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2652 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2653 * gdb.trace/range-stepping.c: Likewise.
2654 * gdb.trace/trace-break.c: Likewise.
2655 * gdb.trace/trace-mt.c (thread_function): Likewise.
2656 * gdb.trace/ftrace.c (marker): Likewise.
2657 * gdb.trace/trace-condition.c (marker): Likewise.
2658 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2659 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2660 is_aarch64_target.
2661
015d2e7e
DE
26622015-09-18 Doug Evans <xdje42@gmail.com>
2663
2664 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2665 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2666
26b188a2
SL
26672015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2668
2669 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2670 the breakpoint.
2671
79dc332b
SL
26722015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2673
2674 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2675 the pending breakpoint. Remove timeout override for "Run till
2676 MI pending breakpoint on pendfunc3 on thread 2" test.
2677
f57929f2
SL
26782015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2679
2680 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2681 filename pattern.
2682
3f469b17
SL
26832015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2684
2685 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2686 in breakpoint filename pattern.
2687
515b89b3
SL
26882015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2689
7800dbe4
SL
2690 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2691
26922015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2693
515b89b3
SL
2694 * gdb.linespec/explicit.exp: Check for readline support for
2695 tab-completion tests. Fix obvious typo.
2696
d2939ba2
MM
26972015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2698
2699 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2700 and replay.
2701
cbb55fa7
MM
27022015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2703
2704 * gdb.btrace/non-stop.c: New.
2705 * gdb.btrace/non-stop.exp: New.
2706
43691ca1
PL
27072015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2708 Yao Qi <yao.qi@linaro.org>
2709
2710 * gdb.trace/trace-condition.c: New file.
2711 * gdb.trace/trace-condition.exp: New file.
2712
d78908cf
WW
27132015-09-16 Wei-cheng Wang <cole945@gmail.com>
2714
2715 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2716 for testing bytecode compilation.
2717
1ed415e2
PA
27182015-09-16 Pedro Alves <palves@redhat.com>
2719 Sandra Loosemore <sandra@codesourcery.com>
2720
2721 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2722 (SECONDS): Redefine.
2723 (main): Call pthread_kill and alarm early.
2724 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2725 support.
2726 (test): If the target can't hardware step and doesn't support
2727 displaced stepping, increase the timeout.
2728
d136eff5
PA
27292015-09-16 Pedro Alves <palves@redhat.com>
2730
2731 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2732 (enable_debug): New procedures.
2733 (test): Use them. Bail out if waiting for threads fails.
2734 (top level): Bail out if a test fails.
2735
991f019c
YQ
27362015-09-16 Yao Qi <yao.qi@linaro.org>
2737
2738 * gdb.asm/asm-source.exp: Set asm-arch for
2739 aarch64*-*-* target.
2740 * gdb.asm/aarch64.inc: New file.
2741
bfca584f
PMR
27422015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2743
2744 * gdb.ada/array_of_variable_length.exp: New testcase.
2745 * gdb.ada/array_of_variable_length/foo.adb: New file.
2746 * gdb.ada/array_of_variable_length/pck.adb: New file.
2747 * gdb.ada/array_of_variable_length/pck.ads: New file.
2748
b326e587
DE
27492015-09-15 Doug Evans <dje@google.com>
2750
2751 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2752 of function static local variable.
2753
5382cfab
PW
27542015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2755
2756 * gdb.threads/tls-so_extern.exp: New test file.
2757 * gdb.threads/tls-so_extern.c: New test file.
2758 * gdb.threads/tls-so_extern_main.c: New test file.
2759
141c5cc4
JK
27602015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2761
2762 * gdb.opt/solib-intra-step-lib.c: New file.
2763 * gdb.opt/solib-intra-step-main.c: New file.
2764 * gdb.opt/solib-intra-step.exp: New file.
2765
d15dcecd
PA
27662015-09-15 Pedro Alves <palves@redhat.com>
2767
2768 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2769 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2770
4c2f2a79
PA
27712015-09-14 Pedro Alves <palves@redhat.com>
2772
2773 * gdb.base/hook-stop-continue.c: Delete.
2774 * gdb.base/hook-stop-continue.exp: Delete.
2775 * gdb.base/hook-stop-frame.c: Delete.
2776 * gdb.base/hook-stop-frame.exp: Delete.
2777 * gdb.base/hook-stop.c: New file.
2778 * gdb.base/hook-stop.exp: New file.
2779
919e6dbe
PMR
27802015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2781
2782 * gdb.ada/access_to_packed_array.exp: New testcase.
2783 * gdb.ada/access_to_packed_array/foo.adb: New file.
2784 * gdb.ada/access_to_packed_array/pack.adb: New file.
2785 * gdb.ada/access_to_packed_array/pack.ads: New file.
2786
157280a4
MM
27872015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2788
2789 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2790 buffer size test.
2791
2fd33e94
DB
27922015-09-11 Don Breazeal <donb@codesourcery.com>
2793
2794 * gdb.base/foll-exec.c: Add copyright header. Fix
2795 formatting issues.
2796 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2797 (do_exec_tests): Use clean_restart in place of zap_session,
2798 and for test initialization. Fix formatting issues. Use
2799 fail in place of perror.
2800 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2801 an expect statement to match an expression with output from
2802 the program under debug.
2803 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2804 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2805 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2806 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2807 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2808
e70b6e8e
DE
28092015-09-09 Doug Evans <dje@google.com>
2810
2811 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2812
7a551a51
DE
28132015-09-09 Doug Evans <dje@google.com>
2814
2815 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2816
4c666f84
DE
28172015-09-09 Doug Evans <dje@google.com>
2818
2819 * gdb.base/savedregs.exp: Fix typo.
2820
243a9253
PA
28212015-09-09 Pedro Alves <palves@redhat.com>
2822
2823 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2824
c0fa8fbd
SL
28252015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2826
2827 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
2828 command actually switches threads. Give up on remaining
2829 tests if target fails to stop at breakpoint.
2830
cd7c1778
PMR
28312015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2832
2833 * gdb.ada/funcall_char.exp: New testcase.
2834 * gdb.ada/funcall_char/foo.adb: New file.
2835
dc5c8746
PMR
28362015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2837
2838 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2839 expected outputs. Add two testcases for completing ambiguous
2840 functions.
2841 * gdb.ada/complete/aux_pck.adb: New file.
2842 * gdb.ada/complete/aux_pck.ads: New file.
2843 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2844 Ambiguous_Func functions.
2845 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2846 * gdb.ada/complete/pck.adb: Likewise.
2847
4e83a1e7
UW
28482015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2849
2850 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2851 failures to run the test program under GDB.
2852
8ce74153
LM
28532015-08-26 Luis Machado <lgustavo@codesourcery.com>
2854
2855 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2856 to C.
2857
e9756d52
PP
28582015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2859
2860 * gdb.base/run-after-attach.exp: New test file.
2861 * gdb.base/run-after-attach.c: New test file.
2862
8d37573b
DB
28632015-08-26 Don Breazeal <donb@codesourcery.com>
2864
2865 * gdb.base/foll-exec-2.c: New test program.
2866 * gdb.base/foll-exec-2.exp: New test.
2867
63e43d3a
PMR
28682015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2869
2870 * gdb.base/nested-subp1.exp: New file.
2871 * gdb.base/nested-subp1.c: New file.
2872 * gdb.base/nested-subp2.exp: New file.
2873 * gdb.base/nested-subp2.c: New file.
2874 * gdb.base/nested-subp3.exp: New file.
2875 * gdb.base/nested-subp3.c: New file.
2876
3d40fbb5
PA
28772015-08-24 Pedro Alves <palves@redhat.com>
2878
2879 * gdb.server/connect-without-multi-process.c: New file.
2880 * gdb.server/connect-without-multi-process.exp: New file.
2881
4422ac93
LM
28822015-08-24 Luis Machado <lgustavo@codesourcery.com>
2883
2884 * gdb.opt/inline-markers.c: Make z int.
2885
91dddb86
LM
28862015-08-24 Luis Machado <lgustavo@codesourcery.com>
2887
2888 * gdb.opt/inline-markers.c: Make z volatile.
2889
a48847ee
LM
28902015-08-24 Luis Machado <lgustavo@codesourcery.com>
2891
2892 * gdb.opt/inline-bt.c: New volatile global z.
2893 * gdb.opt/inline-cmds.c: Likewise.
2894 * gdb.opt/inline-locals.c: Likewise.
2895 * gdb.opt/inline-markers.c: New extern global z.
2896 (marker): Use z.
2897 (inline_fn): Likewise.
2898
0ebbc52b
PA
28992015-08-24 Pedro Alves <palves@redhat.com>
2900
2901 * config/m32r-stub.exp: Remove file.
2902 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2903 * gdb.base/call-rt-st.exp: Likewise.
2904 * gdb.base/call-strs.exp: Likewise.
2905 * gdb.base/default.exp: Remove references to h8300-*-hms and
2906 *-*-udi*.
2907 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2908
77c365df
AA
29092015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2910
2911 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2912 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2913 and "return" use KFAIL when GDB can not read/write the vector
2914 return value.
2915
4313b8c0
GB
29162015-08-21 Gary Benson <gbenson@redhat.com>
2917
2918 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2919
0e433b32
PA
29202015-08-20 Pedro Alves <palves@redhat.com>
2921
2922 * gdb.server/solib-list.exp: No longer expect an interior stop in
2923 non-stop mode.
2924
221e1a37
PA
29252015-08-20 Pedro Alves <palves@redhat.com>
2926
2927 * gdb.server/connect-stopped-target.c: New file.
2928 * gdb.server/connect-stopped-target.exp: New file.
2929
40e3ad0e
PA
29302015-08-20 Pedro Alves <palves@redhat.com>
2931
2932 * gdb.dwarf2/comp-unit-lang.exp: New file.
2933 * gdb.dwarf2/comp-unit-lang.c: New file.
2934
af39b327
PMR
29352015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2936
2937 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2938 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2939
7d45c7c3 29402015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 2941
7d45c7c3
KB
2942 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2943 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2944
4d6cceb4
DE
29452015-08-18 Doug Evans <dje@google.com>
2946 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2947
2948 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2949 skip_python_tests. New arg prompt_regexp.
2950 (skip_python_tests): New function.
2951 * lib/mi-support.exp (mi_skip_python_tests): New function.
2952 * gdb.python/py-mi-objfile-gdb.py: New file.
2953 * gdb.python/py-mi-objfile.c: New file.
2954 * gdb.python/py-mi-objfile.exp: New file.
2955
ad89c2aa
KS
29562015-08-17 Keith Seitz <keiths@redhat.com>
2957
2958 * gdb.linespec/explicit.exp: Move strace test from here ...
2959 * gdb.trace/strace.exp: ... to here.
2960
e3ae3c43
PP
29612015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2962
2963 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2964 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2965
604b2636
DE
29662015-08-14 Doug Evans <xdje42@gmail.com>
2967
2968 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2969 inferior before selecting a new file.
2970
6ff0ba5f
DE
29712015-08-14 Doug Evans <xdje42@gmail.com>
2972
2973 * gdb.mi/mi-disassemble.exp: Update.
2974 * gdb.base/disasm-optim.S: New file.
2975 * gdb.base/disasm-optim.c: New file.
2976 * gdb.base/disasm-optim.h: New file.
2977 * gdb.base/disasm-optim.exp: New file.
2978
9ca98f92
KS
29792015-08-14 Keith Seitz <keiths@redhat.com>
2980
2981 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2982 "evaluated-by".
2983
52bbc560
JB
29842015-08-13 Joel Brobecker <brobecker@adacore.com>
2985
2986 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2987
5d8c3ed3
PMR
29882015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2989
2990 * gdb.ada/fun_renaming.exp: New testcase.
2991 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2992 * gdb.ada/fun_renaming/pack.adb: New file.
2993 * gdb.ada/fun_renaming/pack.ads: New file.
2994
ea8812bc
KS
29952015-08-12 Keith Seitz <keiths@redhat.com>
2996
2997 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2998 gdb_get_line_number.
2999
4dafcdeb
JB
30002015-08-12 Joel Brobecker <brobecker@adacore.com>
3001
3002 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
3003 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
3004 gdb.base/dso2dso.exp: New files.
3005
5ba32597
SDJ
30062015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
3007 Pedro Alves <palves@redhat.com>
3008 Keith Seitz <keiths@redhat.com>
3009
3010 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
3011 GDBFLAGS.
3012
b6dafabf
PP
30132015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3014
3015 * gdb.base/gdbhistsize-history.exp
3016 (test_histsize_history_setting): Use save_vars.
3017 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3018 Use save_vars.
3019 (test_no_truncation_of_unlimited_history_file): Use save_vars.
3020 * gdb.base/readline.exp: Use save_vars.
3021
abe8e607
PP
30222015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3023
3024 * lib/gdb.exp (save_vars): New proc.
3025
629500fa
KS
30262015-08-11 Keith Seitz <keiths@redhat.com>
3027
3028 * gdb.base/help.exp: Update help_breakpoint_text.
3029
eb8c4e2e
KS
30302015-08-11 Keith Seitz <keiths@redhat.com>
3031
3032 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
3033 (at toplevel): Call test_explicit_breakpoints.
3034 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
3035 breakpoints.
3036 * lib/mi-support.exp (mi_make_breakpoint): Add support for
3037 breakpoint conditions, "-cond".
3038
87f0e720
KS
30392015-08-11 Keith Seitz <keiths@redhat.com>
3040
3041 * gdb.linespec/3explicit.c: New file.
3042 * gdb.linespec/cpexplicit.cc: New file.
3043 * gdb.linespec/cpexplicit.exp: New file.
3044 * gdb.linespec/explicit.c: New file.
3045 * gdb.linespec/explicit.exp: New file.
3046 * gdb.linespec/explicit2.c: New file.
3047 * gdb.linespec/ls-errs.exp: Add explicit location tests.
3048 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
3049 before using in the matching pattern.
3050 Clarify that `prefix' is a regular expression.
3051
f00aae0f
KS
30522015-08-11 Keith Seitz <keiths@redhat.com>
3053
3054 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
3055 test.
3056 Add tests for missing ",FMT" and ",".
3057
e27852be
DE
30582015-08-10 Doug Evans <dje@google.com>
3059 Keith Seitz <keiths@redhat.com>
3060
3061 PR gdb/17960
3062 * gdb.base/completion.exp: Add location completer tests.
3063
7f03bd92
PA
30642015-08-07 Pedro Alves <palves@redhat.com>
3065
3066 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
3067 tests here.
3068 (top level): Run do_test with and without displaced stepping.
3069
3fc8eb30
PA
30702015-08-07 Pedro Alves <palves@redhat.com>
3071
3072 * gdb.base/valgrind-disp-step.c: New file.
3073 * gdb.base/valgrind-disp-step.exp: New file.
3074
d4569d7b
PA
30752015-08-07 Pedro Alves <palves@redhat.com>
3076
3077 * gdb.threads/step-over-lands-on-breakpoint.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-lands-on-breakpoint.exp (do_test): Change
3082 comment.
3083 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
3084 Delete function.
3085 (main): Add alarm. Run an infinite loop instead of calling
3086 wait_threads.
3087 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
3088 comment.
3089
e1316e60
PA
30902015-08-07 Pedro Alves <palves@redhat.com>
3091
3092 * gdb.base/checkpoint-ns.exp: New file.
3093 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
3094 standard_testfile.
3095
da8c46d2
MM
30962015-08-07 Markus Metzger <markus.t.metzger@intel.com>
3097
3098 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
3099 * gdb.btrace/instruction_history.exp: Update.
3100 * gdb.btrace/tsx.exp: New.
3101 * gdb.btrace/tsx.c: New.
3102
de1c2c52
PA
31032015-08-06 Pedro Alves <palves@redhat.com>
3104
3105 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
3106 increase timeout.
3107 * gdb.reverse/until-precsave.exp: Bump timeouts.
3108
782e0bf4
PA
31092015-08-06 Pedro Alves <palves@redhat.com>
3110
3111 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
3112
83e97ed0
PA
31132015-08-06 Pedro Alves <palves@redhat.com>
3114
3115 PR gdb/18749
3116 * gdb.threads/process-dies-while-handling-bp.c: New file.
3117 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3118
863d01bd
PA
31192015-08-06 Pedro Alves <palves@redhat.com>
3120
3121 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3122 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3123
0a39bb32
PA
31242015-08-05 Pedro Alves <palves@redhat.com>
3125
3126 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3127 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3128
ee2d2b10
SL
31292015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3130
3131 * gdb.base/bp-permanent.exp: Report test as unsupported if
3132 the target cannot stop at the permanent breakpoint.
3133
4e1bdb00
DE
31342015-08-03 Doug Evans <dje@google.com>
3135
3136 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3137 10000.
3138
3d338901
DE
31392015-08-03 Doug Evans <dje@google.com>
3140
3141 * Makefile.in (workers/%.worker, build-perf): New rule.
3142 (GDB_PERFTEST_MODE): New variable.
3143 (check-perf): Use it.
3144 (clean): Clean up gdb.perf parallel build subdirs.
3145 * lib/build-piece.exp: New file.
3146 * lib/gdb.exp (make_gdb_parallel_path): New function
3147 (standard_output_file, standard_temp_file): Call it.
3148 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3149 of $GDB_PARALLEL.
3150 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3151
af061d3e
DE
31522015-08-03 Doug Evans <dje@google.com>
3153
8e1afc81 3154 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
3155 (LOG_FILE_NAME): New global.
3156 (TextReporter.__init__): Initialize self.txt_sum.
3157 (TextReporter.report): Add support for multiple data-points.
3158 Move report to perftest.sum, put raw data in perftest.log.
3159 (TextReporter.start): Open sum and log files.
3160 (TextReporter.end): Close sum and log files.
8e1afc81
DE
3161 * gdb.perf/lib/perftest/testresult.py
3162 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 3163
2c8c5d37
PA
31642015-07-31 Pedro Alves <palves@redhat.com>
3165
3166 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3167 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3168 kill_wait_spawned_process instead of explicit "kill -9".
3169 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3170 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3171 kill_wait_spawned_process.
3172 * gdb.base/attach-twice.exp: Likewise.
3173 * gdb.base/attach.exp: Likewise.
3174 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3175 gdb_test_multiple.
3176 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3177 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3178 kill_wait_spawned_process.
3179 * gdb.base/valgrind-infcall.exp: Likewise.
3180 * gdb.multi/multi-attach.exp: Likewise.
3181 * gdb.python/py-prompt.exp: Likewise.
3182 * gdb.python/py-sync-interp.exp: Likewise.
3183 * gdb.server/ext-attach.exp: Likewise.
3184 * gdb.threads/attach-into-signal.exp (corefunc): Use
3185 spawn_wait_for_attach, spawn_id_get_pid and
3186 kill_wait_spawned_process.
3187 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3188 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3189 spawn_id_get_pid and kill_wait_spawned_process.
3190 * gdb.threads/attach-stopped.exp (corefunc): Use
3191 spawn_wait_for_attach, spawn_id_get_pid and
3192 kill_wait_spawned_process.
3193 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3194 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3195 kill_wait_spawned_process instead of explicit "kill -9".
3196 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3197 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3198 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3199 processes. Don't map cygwin/windows pids here. Now returns a
3200 spawn id list.
3201
032a0fca
SL
32022015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3203
3204 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3205 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3206 correct patch.
3207
61a934ca
SL
32082015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3209
3210 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3211
4bc4d428
SL
32122015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3213
3214 Reapply:
3215 2014-05-21 Mark Wielaard <mjw@redhat.com>
3216
3217 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3218
998d452a
PA
32192015-07-30 Pedro Alves <palves@redhat.com>
3220
3221 * linux-low.c (handle_extended_wait): Set the child's last
3222 reported status to TARGET_WAITKIND_STOPPED.
3223
69dde7dc
PA
32242015-07-30 Pedro Alves <palves@redhat.com>
3225
3226 PR threads/18600
3227 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3228 only shows inferior 1.
3229
4dd63d48
PA
32302015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3231 Pedro Alves <palves@redhat.com>
3232
3233 PR threads/18600
3234 * gdb.threads/fork-plus-threads.c: New file.
3235 * gdb.threads/fork-plus-threads.exp: New file.
3236
d618e4c5
PP
32372015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3238
3239 * gdb.base/batch-preserve-term-settings.exp
3240 (test_terminal_settings_preserved_after_cli_exit): Use
3241 send_quit_command.
3242
1eef6428
PA
32432015-07-29 Pedro Alves <palves@redhat.com>
3244 Don Breazeal <donb@codesourcery.com>
3245
3246 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3247 output from both inferior_spawn_id and gdb_spawn_id.
3248
7da5b897
SDJ
32492015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3250
3251 * gdb.threads/attach-into-signal.exp (corefunc): Use
3252 with_test_prefix on nested loops, uniquefying the test messages.
3253
dac804df
SDJ
32542015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3255
3256 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3257 commit.
3258
06265e53
PP
32592015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3260
3261 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3262 New proc.
3263 (test_terminal_settings_preserved_after_sigterm): New test.
3264
18206ca3
PP
32652015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3266
3267 * gdb.base/batch-preserve-term-settings.exp
3268 (test_terminal_settings_preserved_after_cli_exit): New test.
3269
90074d11
PP
32702015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3271
3272 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3273 manipulation of saved_gdbflags.
3274 (test_terminal_settings_preserved): Remove global declaration of
3275 the unused variable pagination_prompt. Remove manipulation of
3276 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3277 GDBFLAGS.
3278
eb1a7902
PA
32792015-07-29 Pedro Alves <palves@redhat.com>
3280
3281 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3282
8b75dd3b
PA
32832015-07-29 Pedro Alves <palves@redhat.com>
3284
3285 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3286 at the top.
3287
dedad4e3
PA
32882015-07-29 Pedro Alves <palves@redhat.com>
3289
3290 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3291 (main): Call gdb_unbuffer_output.
3292 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3293 (main): Call gdb_unbuffer_output.
3294 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3295 (main): Call gdb_unbuffer_output.
3296 * gdb.base/call-strs.exp: Adjust to step over the
3297 gdb_unbuffer_output call.
3298 * gdb.base/catch-gdb-caused-signals.c: Include
3299 "../lib/unbuffer_output.c".
3300 (main): Call gdb_unbuffer_output.
3301 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3302 (main): Call gdb_unbuffer_output.
3303 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3304 (main): Call gdb_unbuffer_output.
3305 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3306 (main): Call gdb_unbuffer_output.
3307 * gdb.base/shlib-call.exp: Adjust to step over the
3308 gdb_unbuffer_output call.
3309 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3310 (main): Call gdb_unbuffer_output.
3311 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3312 (main): Call gdb_unbuffer_output.
3313 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3314 (main): Rename to ...
3315 (test): ... this.
3316 (main): Reimplement.
3317 * gdb.base/varargs.exp: Run to test instead of to main.
3318 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3319 (main): Call gdb_unbuffer_output.
3320
58789a91
PA
33212015-07-29 Pedro Alves <palves@redhat.com>
3322
3323 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3324 factore out from mi_continue_dprintf. For call-style dprintfs,
3325 expect dprintf output out of $inferior_spawn_id.
3326 (mi_continue_dprintf): Use mi_expect_dprintf.
3327 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3328 (main): Call gdb_unbuffer_output.
3329
e8376742
PA
33302015-07-29 Pedro Alves <palves@redhat.com>
3331
3332 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3333 (default_mi_gdb_start): Set inferior_spawn_id instead of
3334 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3335 gdb_spawn_id.
3336 (mi_gdb_test): Always expect inferior output from both
3337 $inferior_spawn_id and $gdb_spawn_id.
3338
08280010
PA
33392015-07-29 Pedro Alves <palves@redhat.com>
3340
3341 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3342 send_inferior and $inferior_spawn_id.
3343
4d30e432
PA
33442015-07-29 Pedro Alves <palves@redhat.com>
3345
3346 * gdb.gdb/complaints.exp (test_initial_complaints)
3347 (test_serial_complaints, test_short_complaints): Use
3348 gdb_test_stdio.
3349 (test_empty_complaint): Handle $inferior_spawn_id !=
3350 $gdb_spawn_id.
3351
0d30a335
PA
33522015-07-29 Pedro Alves <palves@redhat.com>
3353
3354 * gdb.base/varargs.exp: Use gdb_test_stdio.
3355
39413b29
PA
33562015-07-29 Pedro Alves <palves@redhat.com>
3357
3358 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3359
7cb000a9
PA
33602015-07-29 Pedro Alves <palves@redhat.com>
3361
3362 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3363
d7b8ac82
PA
33642015-07-29 Pedro Alves <palves@redhat.com>
3365
3366 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3367 parameter into two new parameters, "inf_result" and "gdb_result".
3368 Expect inferior output and gdb output from $inferior_spawn_id and
3369 $gdb_spawn_id, respectively. Adjust all callers.
3370
789c3a0c
PA
33712015-07-29 Pedro Alves <palves@redhat.com>
3372
3373 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3374 of gdb_test_sequence.
3375
77e760c3
PA
33762015-07-29 Pedro Alves <palves@redhat.com>
3377
3378 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3379 (saw_spurious_output): Expect inferior output from
3380 $inferior_spawn_id. Use gdb_test_stdio.
3381
8396d2cd
PA
33822015-07-29 Pedro Alves <palves@redhat.com>
3383
3384 * gdb.base/dprintf.exp: Use standard_testfile. Change
3385 prepare_for_testing call.
3386 (srcfile): Don't set.
3387 (restart): New procedure.
3388 (test_dprintf): New procecure, use to continue over dprintfs.
3389 (test_call, test_agent): New procedures, tests moved here.
3390 Restart gdb and recreate dprintfs. Adjust expected output.
3391
2051d61f
PA
33922015-07-29 Pedro Alves <palves@redhat.com>
3393
3394 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3395
452397af
PA
33962015-07-29 Pedro Alves <palves@redhat.com>
3397
3398 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3399
8aed9555
PA
34002015-07-29 Pedro Alves <palves@redhat.com>
3401
3402 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3403 gdb_test_stdio.
3404
188a61b4
PA
34052015-07-29 Pedro Alves <palves@redhat.com>
3406
3407 * lib/gdb.exp (gdb_test_stdio): New procedure.
3408
12264a45
PA
34092015-07-29 Pedro Alves <palves@redhat.com>
3410
3411 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3412
23ffc893
PA
34132015-07-29 Pedro Alves <palves@redhat.com>
3414
3415 * gdb.base/call-signal-resume.exp: Remove check for
3416 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3417 * gdb.base/unwindonsignal.exp: Likewise.
3418 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3419 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3420
65566918
PA
34212015-07-29 Pedro Alves <palves@redhat.com>
3422
3423 * gdb.base/siginfo-addr.c (pass): New function.
3424 (handler): Call it iff si_addr is correct.
3425 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3426 Set a breakpoint at "pass" and continue to it.
3427
d60a9221
SDJ
34282015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3429
3430 * gdb.python/py-objfile.exp: Make some tests have unique names.
3431 * gdb.python/py-pp-registration.exp: Likewise.
3432
bde40b8f
PA
34332015-07-28 Pedro Alves <palves@redhat.com>
3434
3435 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3436
13e1dec8
SM
34372015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3438
3439 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3440
da33c9a7
SM
34412015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3442
3443 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3444
077836f7
PP
34452015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3446
3447 * gdb.base/gdb-sigterm-2.exp: New test.
3448
b8cc7b2e
DE
34492015-07-25 Doug Evans <xdje42@gmail.com>
3450
3451 Revert:
3452 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3453 (workers/%.worker, build-perf): New rule.
3454 (GDB_PERFTEST_MODE): New variable.
3455 (check-perf): Use it.
3456 (clean): Clean up gdb.perf parallel build subdirs.
3457 * lib/build-piece.exp: New file.
3458 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3459 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3460 name.
3461 (standard_temp_file): Ditto.
3462 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3463 of $GDB_PARALLEL.
3464
c8bd4544
DE
34652015-07-24 Doug Evans <dje@google.com>
3466
3467 * gdb.perf/lib/perftest/utils.py: New file.
3468 * gdb.perf/gm-hello.cc: New file.
3469 * gdb.perf/gm-pervasive-typedef.cc: New file.
3470 * gdb.perf/gm-pervasive-typedef.h: New file.
3471 * gdb.perf/gm-std.cc: New file.
3472 * gdb.perf/gm-std.h: New file.
3473 * gdb.perf/gm-use-cerr.cc: New file.
3474 * gdb.perf/gm-utils.h: New file.
3475 * gdb.perf/gmonster-null-lookup.py: New file.
3476 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3477 * gdb.perf/gmonster-print-cerr.py: New file.
3478 * gdb.perf/gmonster-ptype-string.py: New file.
3479 * gdb.perf/gmonster-runto-main.py: New file.
3480 * gdb.perf/gmonster-select-file.py: New file.
3481 * gdb.perf/gmonster1-null-lookup.exp: New file.
3482 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3483 * gdb.perf/gmonster1-print-cerr.exp: New file.
3484 * gdb.perf/gmonster1-ptype-string.exp: New file.
3485 * gdb.perf/gmonster1-runto-main.exp: New file.
3486 * gdb.perf/gmonster1-select-file.exp: New file.
3487 * gdb.perf/gmonster1.cc: New file.
3488 * gdb.perf/gmonster1.exp: New file.
3489 * gdb.perf/gmonster2-null-lookup.exp: New file.
3490 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3491 * gdb.perf/gmonster2-print-cerr.exp: New file.
3492 * gdb.perf/gmonster2-ptype-string.exp: New file.
3493 * gdb.perf/gmonster2-runto-main.exp: New file.
3494 * gdb.perf/gmonster2-select-file.exp: New file.
3495 * gdb.perf/gmonster2.cc: New file.
3496 * gdb.perf/gmonster2.exp: New file.
3497
6eab34f3
DE
34982015-07-24 Doug Evans <dje@google.com>
3499
3500 * gdb.perf/README: New file.
3501 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3502 * lib/gen-perf-test.exp: New file.
3503
63738bfd
DE
35042015-07-24 Doug Evans <dje@google.com>
3505
3506 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3507 (PerfTest::startup): New function.
3508 (PerfTest::run): Return result of calling body.
3509 (PerfTest::assemble): Rewrite.
3510 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3511 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3512 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3513 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3514 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3515
7b606f95
DE
35162015-07-24 Doug Evans <dje@google.com>
3517
3518 * lib/gdb.exp (clean_restart): Make executable optional.
3519
a97b16b8
DE
35202015-07-24 Doug Evans <dje@google.com>
3521
3522 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3523 compiler_info references.
3524 * gdb.cp/temargs.exp: Ditto.
3525 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3526 (get_compiler_info): Early exit if already computed. Set compiler_info
3527 to "unknown" if there was a problem.
3528 (test_compiler_info): Add function comment. Call get_compiler_info.
3529
35baa57f
DE
35302015-07-24 Doug Evans <dje@google.com>
3531
3532 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3533 (workers/%.worker, build-perf): New rule.
3534 (GDB_PERFTEST_MODE): New variable.
3535 (check-perf): Use it.
3536 (clean): Clean up gdb.perf parallel build subdirs.
3537 * lib/build-piece.exp: New file.
3538 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3539 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3540 name.
3541 (standard_temp_file): Ditto.
3542 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3543 of $GDB_PARALLEL.
3544
6ebea266
DE
35452015-07-24 Doug Evans <dje@google.com>
3546
3547 * lib/future.exp (gdb_default_target_compile): New option
3548 "early_flags".
3549 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3550 --as-needed.
3551
1e76a7e9
SDJ
35522015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3553
3554 * gdb.base/catch-syscall.exp: Call gdb_exit before
3555 gdb_skip_xml_test.
3556
5068630a
PA
35572015-07-24 Pedro Alves <palves@redhat.com>
3558
3559 * gdb.python/py-events.exp: Accept output between the stop event
3560 and the prompt.
3561 * gdb.python/py-evsignal.exp: Likewise.
3562 * gdb.python/py-evthreads.exp: Likewise.
3563
77598427
PA
35642015-07-24 Pedro Alves <palves@redhat.com>
3565
3566 PR gdb/18717
3567 * gdb.threads/non-ldr-exit.c: New file.
3568 * gdb.threads/non-ldr-exit.exp: New file.
3569
11e6c98f
YQ
35702015-07-24 Yao Qi <yao.qi@linaro.org>
3571
3572 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3573 restarting process.
3574
51aee833
YQ
35752015-07-24 Yao Qi <yao.qi@linaro.org>
3576
3577 * gdb.server/ext-restart.exp: New file.
3578
8cfe207c
YQ
35792015-07-24 Yao Qi <yao.qi@linaro.org>
3580
3581 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3582 argument options.
3583 * gdb.server/ext-wrapper.exp: New file.
3584
cc12ce38
DE
35852015-07-23 Doug Evans <dje@google.com>
3586
3587 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3588 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3589
d0d84780
PMR
35902015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3591
3592 * gdb.ada/var_arr_typedef.exp: New testcase.
3593 * gdb.ada/var_arr_typedef/pack.adb: New file.
3594 * gdb.ada/var_arr_typedef/pack.ads: New file.
3595 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3596
8b558f79
JB
35972015-07-20 Joel Brobecker <brobecker@adacore.com>
3598
3599 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3600
775a3298
JK
36012015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3602
3603 * gdb.arch/i386-biarch-core.exp: Replace istarget
3604 by "complete set gnutarget". Remove expectation for the "core-file"
3605 command.
3606
db1ff28b
JK
36072015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3608
3609 Revert the previous commit:
3610 Tests for validate symbol file using build-id.
3611
0a94970d
JK
36122015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3613
3614 Tests for validate symbol file using build-id.
3615 * gdb.base/solib-mismatch-lib.c: New file.
3616 * gdb.base/solib-mismatch-libmod.c: New file.
3617 * gdb.base/solib-mismatch.c: New file.
3618 * gdb.base/solib-mismatch.exp: New file.
3619
03346981
SL
36202015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3621
3622 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3623 nios2-*-linux*.
3624 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3625 * gdb.base/siginfo.exp: Likewise.
3626 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3627
42422cc7
PL
36282015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3629
3630 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3631 Move it to ...
3632 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3633 ... here.
3634 * gdb.trace/range-stepping.exp: Check that the target supports
3635 range stepping.
3636
cfa68bae
JK
36372015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3638
3639 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3640
8ffdba26
PA
36412015-07-14 Pedro Alves <palves@redhat.com>
3642
3643 * gdb.base/killed-outside.exp: New file.
3644 * gdb.base/killed-outside.c: New file.
3645
218a5a11
JK
36462015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3647
3648 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3649 (n at main): New.
3650 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3651
e03ed3c6
AA
36522015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3653
3654 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3655 infcall tests instead of setting up for KFAIL.
3656
485668e5
MM
36572015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3658
3659 * gdb.btrace/record_goto-step.exp: New.
3660
08464196
JK
36612015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3662
3663 PR compile/18484
3664 * gdb.compile/compile.c (struct struct_type): Add volatile to
3665 selffield's type.
3666 * gdb.compile/compile.exp
3667 (compile code struct_object.selffield = &struct_object): Skip further
3668 struct_object tests if this one xfails.
3669
bcf5c1d9
RC
36702015-07-08 Robert O'Callahan <robert@ocallahan.org>
3671
3672 PR exp/18617
3673 * gdb.trace/ax.exp: Add test.
3674
4931af25
YQ
36752015-07-07 Yao Qi <yao.qi@linaro.org>
3676
3677 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3678 instead of istarget "aarch64*-*-*".
3679 * gdb.arch/aarch64-fp.exp: Likewise.
3680 * gdb.base/float.exp: Likewise.
3681 * gdb.reverse/aarch64.exp: Likewise.
3682 * lib/gdb.exp (is_aarch64_target): New proc.
3683
9fcf688e
YQ
36842015-07-07 Yao Qi <yao.qi@linaro.org>
3685
3686 * lib/gdb.exp (is_aarch32_target): New proc.
3687 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3688 instead of "istarget "arm*-*-*"".
3689 * gdb.arch/arm-disp-step.exp: Likewise.
3690 * gdb.arch/thumb-bx-pc.exp: Likewise.
3691 * gdb.arch/thumb-prologue.exp: Likewise.
3692 * gdb.arch/thumb-singlestep.exp: Likewise.
3693 * gdb.base/disp-step-syscall.exp: Likewise.
3694 * gdb.base/float.exp: Likewise.
3695
fbd8d50d
YQ
36962015-07-07 Yao Qi <yao.qi@linaro.org>
3697
3698 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3699 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3700
71be1fdc
YQ
37012015-07-07 Yao Qi <yao.qi@linaro.org>
3702
3703 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3704 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3705 if it exists.
3706 * gdb.multi/multi-arch.exp: Likewise.
3707
3e221d36
SM
37082015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3709
3710 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3711 print.
3712
d441430b
YQ
37132015-07-07 Yao Qi <yao.qi@linaro.org>
3714
3715 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3716
06f810bd
MG
37172015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3718
3719 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3720 '[' and ']' characters.
3721
5e61e7c0
IB
37222015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3723
3724 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3725
28bf096c
PA
37262015-06-29 Pedro Alves <palves@redhat.com>
3727
3728 PR threads/18127
3729 * gdb.threads/hand-call-new-thread.c: New file.
3730 * gdb.threads/hand-call-new-thread.c: New file.
3731
ee93cd5e
KS
37322015-06-26 Keith Seitz <keiths@redhat.com>
3733 Doug Evans <dje@google.com>
3734
3735 PR 16253
3736 * gdb.cp/var-tag-2.cc: New file.
3737 * gdb.cp/var-tag-3.cc: New file.
3738 * gdb.cp/var-tag-4.cc: New file.
3739 * gdb.cp/var-tag.cc: New file.
3740 * gdb.cp/var-tag.exp: New file.
3741
fc637f04
PP
37422015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3743
3744 * gdb.base/history-duplicates.exp: New test.
3745
2e52ae68
PP
37462015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3747
3748 * gdb.base/completion.exp: Test the completion of the "focus"
3749 command.
3750
6e22494e
JK
37512015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3752
3753 * gdb.arch/amd64-prologue-skip.S: New file.
3754 * gdb.arch/amd64-prologue-skip.exp: New file.
3755
bf7b9cd9
SM
37562015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3757
3758 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3759 is_address_zero_readable check.
3760
201e8dfd
PB
37612015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3762
3763 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3764 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3765
5cd867b4
YQ
37662015-06-24 Yao Qi <yao.qi@linaro.org>
3767
3768 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3769 linux targets.
3770
4d7be007
YQ
37712015-06-24 Yao Qi <yao.qi@linaro.org>
3772
3773 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3774 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3775 * gdb.base/siginfo-thread.exp: Likewise.
3776
07fcd301
YQ
37772015-06-22 Yao Qi <yao.qi@linaro.org>
3778
3779 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3780
52042a00
YQ
37812015-06-22 Yao Qi <yao.qi@linaro.org>
3782
3783 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3784 aarch64*-*-*.
3785 (skip_hw_watchpoint_tests): Likewise.
3786
74bd41ce
PP
37872015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3788
3789 * gdb.base/gdbinit-history.exp: Test the interaction between
3790 setting GDBHISTSIZE and setting the history size via .gdbinit.
3791
bc460514
PP
37922015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3793
3794 PR gdb/16999
3795 * gdb.base/gdbhistsize-history.exp: New test.
3796
b58c513b
PP
37972015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3798
3799 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3800 with GDBHISTSIZE.
3801 * gdb.base/readline.exp: Likewise.
3802
92046791
YQ
38032015-06-17 Yao Qi <yao.qi@linaro.org>
3804
3805 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3806 line.
3807
2093d2d3
PP
38082015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3809
3810 * gdb.base/gdbinit-history.exp: Add test case to check that
3811 an unlimited history file does not get truncated on exit.
3812
e6c693af
AA
38132015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3814
3815 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3816 (VECTOR): New macro. Use it...
3817 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3818 ...for these typedefs.
3819 (int8, char1, int1, double1): New typedefs.
3820 (struct just_int2, struct two_int2): New structures.
3821 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3822 (add_structvecs, add_singlevecs): New functions.
3823 (main): Call add_some_intvecs twice.
3824 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3825 the compile and exit upon failure. Try compiling for the "native"
3826 architecture. Test inferior function calls with vector arguments
3827 and vector return value handling with "finish" and "return".
3828
c74f7d1c
JT
38292015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3830
3831 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3832 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3833 PE file.
3834 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3835
98aa42ee
AT
38362015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3837
3838 PR breakpoints/16465
3839 * gdb.mi/mi-dprintf-pending.c: New file.
3840 * gdb.mi/mi-dprintf-pending.exp: New test.
3841 * gdb.mi/mi-dprintf-pendshr.c: New file.
3842
7d73c23c 38432015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 3844 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
3845
3846 * gdb.arch/i386-mpx-map.c: New file.
3847 * gdb.arch/i386-mpx-map.exp: New File.
3848
38492015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3850
3851 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3852 * gdb.arch/i386-mpx.exp: Indentation fixed.
3853
38542015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3855
3856 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3857 function and improved indentation.
3858 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3859 gdb_test_multiple. Added additional tests to skip the test.
3860
38612015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3862
3863 * gdb.arch/i386-avx512.c: Change path in include file.
3864 * gdb.arch/i386-avx512.exp: Change include dir path
3865 compilation flag.
3866 * gdb.arch/i386-mpx.c: Change path in include file.
3867 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3868 flag.
3869
d5eba19a
JK
38702015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3871
3872 * gdb.compile/compile-print.exp (compile print *vararray@3)
3873 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3874
7f361056
JK
38752015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3876
3877 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3878 (do not keep jit in memory): ... this.
3879 (expect 5): Change it to ...
3880 (expect no 5): ... this.
3881
3b462ec2
SM
38822015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3883
3884 PR gdb/15564
3885 * gdb.mi/mi-detach.exp: New file.
3886
e0619de6
JK
38872015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3888
3889 PR symtab/18392
3890 * gdb.arch/amd64-tailcall-self.S: New file.
3891 * gdb.arch/amd64-tailcall-self.c: New file.
3892 * gdb.arch/amd64-tailcall-self.exp: New file.
3893
e970cb34
DB
38942015-05-28 Don Breazeal <donb@codesourcery.com>
3895
3896 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3897 tests for remote targets by checking is_target_gdbserver.
3898
b2e2f908
DE
38992015-05-27 Doug Evans <dje@google.com>
3900
3901 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3902 * gdb.dwarf2/opaque-type-lookup.c: New file.
3903 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3904
82c7be31
DE
39052015-05-26 Doug Evans <dje@google.com>
3906
3907 * gdb.cp/iostream.cc: New file.
3908 * gdb.cp/iostream.exp: New file.
3909
b4f54984
DE
39102015-05-26 Doug Evans <dje@google.com>
3911
3912 * gdb.dwarf2/dw2-op-call.exp: Update.
3913 * gdb.dwarf2/dw4-sig-types.exp: Update.
3914 * gdb.dwarf2/implptr.exp: Update.
3915 * gdb.mi/mi-cmd-param-changed.exp: Update.
3916
4ea6efe9
DE
39172015-05-26 Doug Evans <dje@google.com>
3918
3919 * gdb.python/py-lazy-string.c: New file.
3920 * gdb.python/py-lazy-string.exp: New file.
3921 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3922 (main): Update. Add estring3.
3923 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3924 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3925
f6bb7db3
YQ
39262015-05-26 Omair Javaid <omair.javaid@linaro.org>
3927 Yao Qi <yao.qi@linaro.org>
3928
3929 * gdb.reverse/aarch64.c: New.
3930 * gdb.reverse/aarch64.exp: New.
3931
a81bfbd0
OJ
39322015-05-26 Omair Javaid <omair.javaid@linaro.org>
3933
25d49b86
PA
3934 * lib/gdb.exp (supports_process_record): Return true for
3935 aarch64*-linux*.
a81bfbd0
OJ
3936 (supports_reverse): Likewise.
3937
158bf1b4
PP
39382015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3939
3940 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3941 Use with_test_prefix.
3942
a0145030
AB
39432015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3944
3945 * gdb.base/completion.exp: Add test for completion of layout
3946 names.
3947
ebe3b578
AB
39482015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3949
3950 * lib/gdb.exp (skip_tui_tests): New proc.
3951 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3952
84204ed7
PA
39532015-05-19 Pedro Alves <palves@redhat.com>
3954
3955 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3956 Save the whole env array instead of just HOME. Unset HISTSIZE in
3957 the environment while testing. Restore whole environment
3958 afterwards.
3959
37442ce1
DE
39602015-05-16 Doug Evans <xdje42@gmail.com>
3961
3962 * gdb.guile/scm-ports.c: New file.
3963 * gdb.guile/scm-ports.exp: Add memory port tests.
3964
36de76f9
JK
39652015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3966
3967 * gdb.compile/compile-print.c: New file.
3968 * gdb.compile/compile-print.exp: New file.
3969
3a9558c4
JK
39702015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3971
3972 * gdb.compile/compile-ops.exp: Cast param to void.
3973 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3974 (compile code struct_object.selffield = &struct_object): Add xfail.
3975
aa715135
JG
39762015-05-15 Joel Brobecker <brobecker@adacore.com>
3977
3978 * gdb.ada/arr_enum_with_gap: New testcase.
3979
931e5bc3
JG
39802015-05-15 Joel Brobecker <brobecker@adacore.com>
3981
3982 * gdb.ada/byte_packed_arr: New testcase.
3983
9cd4d857
JB
39842015-05-15 Joel Brobecker <brobecker@adacore.com>
3985
3986 * gdb.ada/pckd_neg: New testcase.
3987
ebfd00d2
PP
39882015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3989
3990 PR gdb/17820
3991 * gdb.base/gdbinit-history.exp: New test.
3992 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3993 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3994
4c082a81
SC
39952015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3996
3997 * gdb.python/py-xmethods.cc: Enhance test case.
3998 * gdb.python/py-xmethods.exp: New tests.
3999 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
4000 function.
4001 (B_indexoper): Likewise.
4002 (global_dm_list) : Add new xmethod worker functions.
4003
f7797074
SDJ
40042015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
4005
4006 * gdb.base/coredump-filter.exp: Correctly unset
4007 "coredump_var_addr" array.
4008
a4674e4e
PA
40092015-05-08 Pedro Alves <palves@redhat.com>
4010
4011 * gdb.server/non-existing-program.exp: Unset spawn_id.
4012
df2eb078
SC
40132015-05-08 Siva Chandra Reddy <sivachandra@google.com>
4014
4015 PR python/18291
4016 * gdb.python/py-xmethods.exp: Add tests.
4017
422349a3
YQ
40182015-05-08 Yao Qi <yao.qi@linaro.org>
4019
4020 PR gdb/18208
4021 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
4022 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
4023 function set_coredump_filter, and remove remote_exec call.
4024 Remove argument ipid. Callers update.
4025 (top level): Don't get inferior's PID.
4026
63fc80ce
AA
40272015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
4028
4029 * gdb.base/watch_thread_num.exp: Skip test on targets without
4030 access watchpoints.
4031
80ad801e
PA
40322015-05-06 Pedro Alves <palves@redhat.com>
4033
4034 PR server/18081
4035 * gdb.server/non-existing-program.exp: New file.
4036
0fa7fe50
JB
40372015-05-05 Joel Brobecker <brobecker@adacore.com>
4038
4039 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
4040
3ea89b92
PMR
40412015-05-05 Joel Brobecker <brobecker@adacore.com>
4042
4043 * gdb.ada/out_of_line_in_inlined: New testcase.
4044
87b8eff0
JB
40452015-05-05 Joel Brobecker <brobecker@adacore.com>
4046
4047 * gdb.ada/var_rec_arr: New testcase.
4048
5fccc635
YQ
40492015-04-30 Yao Qi <yao.qi@linaro.org>
4050
4051 * gdb.base/break-idempotent.exp: If
4052 skip_hw_watchpoint_multi_tests returns true, skip the tests
4053 on "rwatch" and "awatch".
4054
42d38f42
YQ
40552015-04-30 Yao Qi <yao.qi@linaro.org>
4056
4057 * gdb.base/relativedebug.exp: Invoke gdb command
4058 "info sharedlibrary", and if libc.so doesn't have debug info,
4059 skip the test.
4060
2ce1cdbf
DE
40612015-04-29 Doug Evans <dje@google.com>
4062
4063 * gdb.python/py-xmethods.exp: Add ptype tests.
4064 * gdb.python/py-xmethods.py (E_method_char_worker): Add
4065 get_result_type method.
4066
f24a38c5
LM
40672015-04-29 Luis Machado <lgustavo@codesourcery.com>
4068
4069 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
4070 the target does not support hardware watchpoints.
4071
ecbf2b3c
LM
40722015-04-29 Luis Machado <lgustavo@codesourcery.com>
4073
4074 * gdb.base/break-always.exp: Abort testing if writing to memory
4075 causes an error.
4076
34f5f757
DE
40772015-04-28 Doug Evans <dje@google.com>
4078
4079 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
4080 * gdb.python/py-pp-registration.exp: ... here. New file.
4081 * gdb.python/py-pp-registration.c: New file.
4082 * gdb.python/py-pp-registration.py: New file.
4083
69b4374a
DE
40842015-04-28 Doug Evans <dje@google.com>
4085
4086 * gdb.python/py-bad-printers.c: New file.
4087 * gdb.python/py-bad-printers.py: New file.
4088 * gdb.python/py-bad-printers.exp: New file.
4089
59fb7612
SS
40902015-04-28 Sasha Smundak <asmundak@google.com>
4091
4092 * gdb.python/py-type.exp: New test.
4093
2631b16a
AW
40942015-04-28 Andy Wingo <wingo@igalia.com>
4095
4096 * gdb.python/py-parameter.exp:
4097 * gdb.guile/scm-parameter.exp: Escape the path that we are
4098 matching against, as it might contain characters that are special
4099 to regular expressions.
4100
460efde1
JB
41012015-04-27 Joel Brobecker <brobecker@adacore.com>
4102
4103 * gdb.ada/rec_comp: New testcase.
4104
2d369d8e
SDJ
41052015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
4106
4107 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
4108 before using it.
4109
cf75d6c3
AB
41102015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
4111
4112 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4113 new tests for verilog output.
4114
8dbe7ca5
YQ
41152015-04-24 Yao Qi <yao.qi@linaro.org>
4116
4117 * boards/remote-gdbserver-on-localhost.exp: New file.
4118
4ef9fb2f
PA
41192015-04-23 Pedro Alves <palves@redhat.com>
4120
4121 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4122 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4123 "end of file", remove $inferior_spawn_id from the indirect list.
4124
0a803169
PA
41252015-04-23 Pedro Alves <palves@redhat.com>
4126
4127 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4128
749ef8f8
PA
41292015-04-23 Pedro Alves <palves@redhat.com>
4130
4131 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4132 on $any_spawn_id instead of only on $gdb_spawn_id.
4133
8aae4344
PM
41342015-04-21 Pierre Muller <muller@sourceware.org>
4135
4136 PR pascal/17815
4137 * lib/pascal.exp (gpc_compile): Add new option "class".
4138 (fpc_compile): Likewise.
4139 * gdb.pascal/case-insensitive-symbols.pas: New file.
4140 * gdb.pascal/case-insensitive-symbols.exp: New file.
4141
1586c8fb
GB
41422015-04-20 Gary Benson <gbenson@redhat.com>
4143
4144 * gdb.base/attach.exp: Fix three extended remote failures.
4145
1b6e6f5c
GB
41462015-04-17 Gary Benson <gbenson@redhat.com>
4147
4148 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4149 the main executable over the remote protocol.
4150
e797481d
PA
41512015-04-16 Pedro Alves <palves@redhat.com>
4152
4153 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4154 a new gdbserver if gdbserver_reconnect_p is set.
4155
1ca99c42
PA
41562015-04-16 Pedro Alves <palves@redhat.com>
4157
4158 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4159 is set, don't exit gdbserver.
4160
af9fd6f8
AA
41612015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4162
4163 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4164 appropriate .insn, such that an older assembler can be used.
4165 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4166 the z/Architecture instruction set on 31-bit targets as well.
4167
04ff1e61
AA
41682015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4169
4170 * gdb.go/handcall.exp: Remove all logic related to the first
4171 breakpoint and rely on go_runto_main instead.
4172 * gdb.go/strings.exp: Likewise.
4173 * gdb.go/unsafe.exp: Likewise.
4174 * gdb.go/hello.exp: Likewise. Also rename the remaining
4175 breakpoint marker to "breakpoint 1".
4176 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4177 * gdb.go/strings.go: Likewise.
4178 * gdb.go/unsafe.go: Likewise.
4179 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4180 "set breakpoint 2 here" and rename the remaining breakpoint marker
4181 to "breakpoint 1".
4182
40d2f8d6
SM
41832015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4184
4185 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4186 if itertools.imap is not present.
4187 * gdb.python/py-objfile.exp: Add parentheses.
4188 * gdb.python/py-type.exp: Same.
4189 * gdb.python/py-unwind-maint.py: Same.
4190
8cbc97c6
YQ
41912015-04-15 Yao Qi <yao.qi@linaro.org>
4192
4193 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4194 of ":$ptr_size" and set its form explicitly.
4195
45fd756c
YQ
41962015-04-15 Pedro Alves <palves@redhat.com>
4197 Yao Qi <yao.qi@linaro.org>
4198
4199 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4200 timeout by factor of 4.
4201 (test_regular_watch): Likewise.
4202 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4203 * gdb.reverse/sigall-reverse.exp: Likewise.
4204 * gdb.reverse/until-precsave.exp: Likewise.
4205 * lib/gdb.exp (with_timeout_factor): New proc.
4206 (gdb_expect): Move some code to ...
4207 (get_largest_timeout): ... here. New procedure.
4208
9e811bc3
LM
42092015-04-14 Luis Machado <lgustavo@codesourcery.com>
4210
4211 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4212
0ff6fcb2
LM
42132015-04-13 Luis Machado <lgustavo@codesourcery.com>
4214
4215 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4216 to write to the .text section.
4217
7578d5f7
LM
42182015-04-13 Luis Machado <lgustavo@codesourcery.com>
4219
4220 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4221 Handle the case of targets that do not provide PID information.
4222
2efe15c4
YQ
42232015-04-13 Yao Qi <yao.qi@linaro.org>
4224
4225 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4226 and use expect instead of gdb_expect.
4227
8cd8f2f8
SDJ
42282015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4229
4230 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4231 "coredump_var_addr" to avoid naming conflict with other testcases.
4232
9ee41772
PA
42332015-04-10 Pedro Alves <palves@redhat.com>
4234
4235 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4236 gdb_test_sequence and gdb_assert.
4237
07473109
PA
42382015-04-10 Pedro Alves <palves@redhat.com>
4239
4240 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4241 test messages that don't include the breakpoint address.
4242
de3db44c
YQ
42432015-04-10 Yao Qi <yao.qi@linaro.org>
4244
4245 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4246 false for some offset and width combinations which aren't
4247 supported by linux kernel.
4248
c79d856c
PA
42492015-04-10 Pedro Alves <palves@redhat.com>
4250
4251 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4252 procedure, factored out from ...
4253 (top level): ... here. Add "set displaced-stepping" testing axis.
4254 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4255 parameter "displaced". Use it.
4256 (top level): Use foreach and add "set displaced-stepping" testing
4257 axis.
4258
ebc90b50
PA
42592015-04-10 Pedro Alves <palves@redhat.com>
4260
4261 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4262 Remove comment.
4263 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4264 both the address of the instruction that triggers the watchpoint
4265 and the address of the instruction immediately after, and use
4266 those addresses for the test. Fix comment.
4267
8f572e5c
PA
42682015-04-10 Pedro Alves <palves@redhat.com>
4269
4270 * gdb.base/sigstep.exp (breakpoint_to_handler)
4271 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4272 Test "backtrace" in handler.
4273 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4274 (top level): Add new "displaced" test axis to
4275 breakpoint_to_handler, breakpoint_to_handler_entry and
4276 breakpoint_over_handler.
4277
8d707a12
PA
42782015-04-10 Pedro Alves <palves@redhat.com>
4279
4280 PR gdb/18216
4281 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4282
ef713951
YQ
42832015-04-10 Yao Qi <yao.qi@linaro.org>
4284
4285 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4286 (test_add_rn_pc): New function.
4287 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4288 (top level): Invoke test_add_rn_pc.
4289
906d60cf
PA
42902015-04-10 Pedro Alves <palves@redhat.com>
4291
4292 PR gdb/13858
4293 * gdb.base/step-over-no-symbols.exp: New file.
4294
f2983cc3
AW
42952015-04-09 Andy Wingo <wingo@igalia.com>
4296
4297 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4298 after the Python tests.
4299
6d62641c
SDJ
43002015-04-08 Keith Seitz <keiths@redhat.com>
4301
4302 PR python/16699
4303 * gdb.python/py-completion.exp: New tests for completion.
4304 * gdb.python/py-completion.py (CompleteLimit1): New class.
4305 (CompleteLimit2): Likewise.
4306 (CompleteLimit3): Likewise.
4307 (CompleteLimit4): Likewise.
4308 (CompleteLimit5): Likewise.
4309 (CompleteLimit6): Likewise.
4310 (CompleteLimit7): Likewise.
4311
f3770638
PA
43122015-04-08 Pedro Alves <palves@redhat.com>
4313
4314 PR gdb/18214
4315 PR gdb/18216
4316 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4317 function.
4318 (main): Install it as SIGUSR1 handler.
4319 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4320 parameter. Always use "setup" as prefix. Toggle "set
4321 displaced-stepping" off/on depending on global. Don't switch to
4322 thread 1 here.
4323 (top level): Add displaced stepping "off/on" test axis. Update
4324 "setup" calls. Wrap each subtest with with_test_prefix. Test
4325 continuing with a queued signal in each thread.
4326
4496bed7
PA
43272015-04-08 Pedro Alves <palves@redhat.com>
4328
4329 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4330 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4331 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4332 Return early if running to main fails.
4333 * gdb.trace/while-stepping.exp: Likewise.
4334
b97fde92
PA
43352015-04-07 Pedro Alves <palves@redhat.com>
4336
4337 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4338 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4339 interact with inferior program.
4340
f71c18e7
PA
43412015-04-07 Pedro Alves <palves@redhat.com>
4342
4343 * lib/gdb.exp (inferior_spawn_id): New global.
4344 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4345 spawn id after processing the user code.
4346 (default_gdb_start): Set inferior_spawn_id.
4347 (send_inferior): New procedure.
4348 * lib/gdbserver-support.exp (gdbserver_start): Set
4349 inferior_spawn_id.
4350 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4351
6423214f
PA
43522015-04-07 Pedro Alves <palves@redhat.com>
4353
4354 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4355 * lib/gdbserver-support.exp (gdbserver_start): Make
4356 $server_spawn_id global.
4357 (gdbserver_start): Don't wait for gdbserver's spawn id with
4358 expect_background.
4359 (close_gdbserver): New procedure.
4360 (gdb_exit): Rename the default version and reimplement.
4361
71c0ee8c
PA
43622015-04-07 Pedro Alves <palves@redhat.com>
4363
72f4393d 4364 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
4365 append the substituted item, not the original item.
4366
203bc29b
PA
43672015-04-07 Pedro Alves <palves@redhat.com>
4368
4369 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4370 gdb_expect.
4371
508a3ddf
PA
43722015-04-07 Pedro Alves <palves@redhat.com>
4373
4374 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4375 output appearing once only.
4376
9f6dbe2b
PA
43772015-04-07 Pedro Alves <palves@redhat.com>
4378
4379 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4380 that doesn't expect anything. Return early if running to main
4381 fails.
4382
337532fa
YQ
43832015-04-07 Yao Qi <yao.qi@linaro.org>
4384
4385 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4386 (child_function): Call alarm.
4387 (main): Move call to alarm into the loop.
4388 * gdb.threads/non-stop-fair-events.exp: Build program with
4389 -DTIMEOUT=$timeout.
4390
01b622d4
DE
43912015-04-06 Doug Evans <xdje42@gmail.com>
4392
4393 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4394 Fix dest parameter to board_info.
4395 (fpc_compile): Ditto.
4396 (gdb_compile_pascal): Rename dest arg to destfile.
4397
961f4160
PMR
43982015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4399
4400 * gdb.ada/funcall_ref.exp: New file.
4401 * gdb.ada/funcall_ref/foo.adb: New file.
4402
cafda597
YQ
44032015-04-02 Yao Qi <yao.qi@linaro.org>
4404
4405 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4406 is remote.
4407
fed040c6
GB
44082015-04-02 Gary Benson <gbenson@redhat.com>
4409
4410 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4411
d11916aa
SS
44122015-04-01 Sasha Smundak <asmundak@google.com>
4413
4414 * gdb.python/py-unwind-maint.c: New file.
4415 * gdb.python/py-unwind-maint.exp: New test.
4416 * gdb.python/py-unwind-maint.py: New file.
4417 * gdb.python/py-unwind.c: New file.
4418 * gdb.python/py-unwind.exp: New test.
4419 * gdb.python/py-unwind.py: New test.
4420
a1471180
PA
44212015-04-01 Pedro Alves <palves@redhat.com>
4422
4423 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4424 to fail instead of non-existent $test.
4425
0bbeccb1
PA
44262015-04-01 Pedro Alves <palves@redhat.com>
4427
4428 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4429 GDBFLAGS if not empty.
4430
3c724c8c
PMR
44312015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4432
4433 * gdb.ada/complete.exp: Remove "multi_line".
4434 * gdb.ada/info_exc.exp: Remove "multi_line".
4435 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4436 * gdb.ada/ptype_field.exp: Remove "multi_line".
4437 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4438 * gdb.ada/tagged.exp: Remove "multi_line".
4439 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4440 [multi_line ...]
4441 * gdb.btrace/delta.exp: Likewise.
4442 * gdb.btrace/exception.exp: Likewise.
4443 * gdb.btrace/function_call_history.exp: Likewise.
4444 * gdb.btrace/instruction_history.exp: Likewise.
4445 * gdb.btrace/nohist.exp: Likewise.
4446 * gdb.btrace/record_goto.exp: Likewise.
4447 * gdb.btrace/segv.exp: Likewise.
4448 * gdb.btrace/stepi.exp: Likewise.
4449 * gdb.btrace/tailcall.exp: Likewise.
4450 * gdb.btrace/unknown_functions.exp: Likewise.
4451 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4452 * lib/gdb.exp: Add the "multi_line" helper.
4453
4eec2deb
PA
44542015-04-01 Pedro Alves <palves@redhat.com>
4455
4456 * gdb.threads/tid-reuse.c: New file.
4457 * gdb.threads/tid-reuse.exp: New file.
4458
df8411da
SDJ
44592015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4460
4461 PR corefiles/16092
4462 * gdb.base/coredump-filter.c: New file.
4463 * gdb.base/coredump-filter.exp: Likewise.
4464
6ef37366
PM
44652015-03-27 Petr Machata <pmachata@redhat.com>
4466
4467 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4468 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4469 (Dwarf::assemble): Initialize them.
4470 (Dwarf::lines): New function.
4471
7ec911b0
JT
44722015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4473
4474 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4475 SYMBOL_PREFIX for x86_64-*-cygwin.
4476
ff908ebf
AW
44772015-03-26 Andy Wingo <wingo@igalia.com>
4478
4479 PR symtab/18148
4480 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4481 const_value but not a location.
4482 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4483 location defined in non-main CUs are visible.
4484
6d5f0679
YQ
44852015-03-26 Yao Qi <yao.qi@linaro.org>
4486
4487 PR testsuite/18139
4488 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4489 Add a line number entry for the same line.
4490 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4491 Add a line number entry for the same line.
4492
2898689b
YQ
44932015-03-26 Yao Qi <yao.qi@linaro.org>
4494
4495 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4496 .int 0.
4497 (func): Likewise. Add .Lfunc_1 label.
4498 Use .Lfunc_1 label.
4499 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4500 .int 0.
4501 (func): Likewise.
4502 Use .Lfunc_1 label.
4503
85180498
YQ
45042015-03-26 Yao Qi <yao.qi@linaro.org>
4505
4506 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4507 Call gdb_compile instead to compile each .s files without debug
4508 information.
4509
8aa08a8d
YQ
45102015-03-26 Yao Qi <yao.qi@linaro.org>
4511
4512 * gdb.base/savedregs.exp (process_saved_regs): Make
4513 "Saved registers:" optional in the pattern.
4514
66849923
MM
45152015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4516
4517 * gdb.btrace/next.exp: Merged into step.exp.
4518 * gdb.btrace/finish.exp: Merged into step.exp.
4519 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4520 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4521 "record goto" and checking the exact replay position.
4522 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4523 check for "Recording format" in "info record" output.
4524 * gdb.btrace/record_goto.exp: Choose test file based on target.
4525 * gdb.btrace/x86-record_goto.S: Renamed into ...
4526 * gdb.btrace/x86_64-record_goto.S: ... this.
4527 * gdb.btrace/i686-record_goto.S: New.
4528 * gdb.btrace/x86-tailcall.S: Renamed into ...
4529 * gdb.btrace/x86_64-tailcall.S: ... this.
4530 * gdb.btrace/i686-tailcall.S: New.
4531 * gdb.btrace/x86-tailcall.c: Renamed into ...
4532 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4533 separate statements. Update test.
4534 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4535 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4536 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4537 * gdb.btrace/tailcall.exp: Choose test file based on target.
4538 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4539
11cc1b74
MM
45402015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4541
4542 * gdb.btrace/exception.exp: Increase BTS buffer size.
4543
a25d8bf9
PA
45442015-03-24 Pedro Alves <palves@redhat.com>
4545
4546 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4547
856e7dd6
PA
45482015-03-24 Pedro Alves <palves@redhat.com>
4549
4550 * gdb.threads/schedlock.exp (test_step): No longer expect that
4551 "set scheduler-locking step" with "next" over a function call runs
4552 threads unlocked.
4553
ad235a41
AT
45542015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4555
4556 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4557
15630549
AT
45582015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4559
4560 PR breakpoints/16466
4561 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4562 * gdb.mi/mi-pending.c (thread_func): New function.
4563 (int main): Add threading support required.
4564 * gdb.mi/mi-pending.exp: Add tests for this issue.
4565 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4566 (pendfunc2): Remove stdio dependency.
4567 * gdb.mi/mi-pendshr2.c: New file.
4568
693dca06
KS
45692015-03-23 Keith Seitz <keiths@redhat.com>
4570
4571 * gdb.linespec/keywords.c: New file.
4572 * gdb.linespec/keywords.exp: New file.
4573
7e993ebf
KS
45742015-03-23 Keith Seitz <keiths@redhat.com>
4575
4576 PR gdb/18021
4577 * gdb.dwarf2/staticvirtual.exp: New test.
4578
bc23328c
JK
45792015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4580
4581 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4582 * README: Remove HP-UX and gdb.hp.
4583 (configuration):
4584 * configure: Regenerate.
4585 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4586 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4587 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4588 gdb.hp/gdb.defects/Makefile.
4589 * gdb.hp/Makefile.in: File deleted.
4590 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4591 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4592 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4593 * gdb.hp/gdb.aCC/run.c: File deleted.
4594 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4595 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4596 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4597 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4598 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4599 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4600 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4601 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4602 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4603 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4604 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4605 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4606 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4607 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4608 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4609 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4610 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4611 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4612 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4613 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4614 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4615 * gdb.hp/gdb.compat/average.c: File deleted.
4616 * gdb.hp/gdb.compat/sum.c: File deleted.
4617 * gdb.hp/gdb.compat/xdb.c: File deleted.
4618 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4619 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4620 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4621 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4622 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4623 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4624 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4625 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4626 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4627 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4628 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4629 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4630 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4631 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4632 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4633 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4634 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4635 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4636 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4637 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4638 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4639 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4640 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4641 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4642 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4643 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4644 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4645 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4646 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4647 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4648 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4649 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4650 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4651 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4652 * gdb.hp/tools/odump: File deleted.
4653
8bf3b159
PA
46542015-03-19 Pedro Alves <palves@redhat.com>
4655
4656 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4657 (saw_thread_3): New globals.
4658 (top level): Increment them when an event for the corresponding
4659 thread is seen.
4660 (no thread starvation): New test.
4661
eb54c8bf
PA
46622015-03-19 Pedro Alves <palves@redhat.com>
4663
4664 * gdb.threads/continue-pending-status.c: New file.
4665 * gdb.threads/continue-pending-status.exp: New file.
4666
32d2e5d6
PA
46672015-03-18 Pedro Alves <palves@redhat.com>
4668
4669 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4670 Use gdb_is_target_remote instead of is_remote. Use
4671 gdb_test_multiple instead of gdb_expect. Exit early if
4672 gdb_test_multiple hits its internal matches. Tighten stepi tests
4673 expected output. Fail on exit with any signal, instead of just
4674 SIGILL.
4675
f68f11b7
YQ
46762015-03-18 Yao Qi <yao.qi@linaro.org>
4677
4678 PR tdep/18107
4679 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4680 variable.
4681 * gdb.base/catch-syscall.exp: Don't skip it on
4682 aarch64*-*-linux* target. Remove elements in all_syscalls.
4683 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4684 target.
4685 (setup_all_syscalls): New proc.
4686
ca5fd19b
YQ
46872015-03-16 Yao Qi <yao.qi@linaro.org>
4688
4689 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4690 (top level): Skip tests if valid_addr_p returns false for
4691 $cmd1 or $cmd2.
4692
85642ba0
AW
46932015-03-11 Andy Wingo <wingo@igalia.com>
4694
4695 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4696
e03f9645
YQ
46972015-03-11 Yao Qi <yao.qi@linaro.org>
4698
4699 * gdb.base/catch-syscall.exp: Fix typo in comments.
4700
5d0962b2
YQ
47012015-03-11 Yao Qi <yao.qi@linaro.org>
4702
4703 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4704
b2df3cef
PA
47052015-03-09 Pedro Alves <palves@redhat.com>
4706
4707 * dg-extract-results.py: Delete.
4708
ef878e53
PA
47092015-03-09 Pedro Alves <palves@redhat.com>
4710
4711 Merge dg-extract-results.sh from GCC upstream (r218843).
4712
4713 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4714 * dg-extract-results.sh: Use --text with grep to avoid issues with
4715 binary files. Fall back to cat -v, if that doesn't work.
4716
9494d219
PA
47172015-03-05 Pedro Alves <palves@redhat.com>
4718
4719 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4720
a8d9763a
SM
47212015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4722
4723 * lib/mi-support.exp (mi_expect_interrupt): Accept
4724 alternative event for when in all-stop mode.
4725
be9957b8
PA
47262015-03-04 Pedro Alves <palves@redhat.com>
4727
4728 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4729
d57be0f4 47302015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
4731
4732 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4733
c214c7cf
AA
47342015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4735
4736 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4737 regexps for GDB's current line display, accept a hex address
4738 preceding the line number.
4739
6d74a497
AA
47402015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4741
4742 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4743 the 'arch1' variable for "s390*-linux*" targets.
4744
511aee7c
PA
47452015-03-04 Pedro Alves <palves@redhat.com>
4746
4747 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4748 (main): Pass missing retval argument to pthread_join call.
4749
95e50b27
PA
47502015-03-02 Pedro Alves <palves@redhat.com>
4751
4752 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4753 (top level): Call do_test with non-stop as well.
4754
28054d69
PA
47552015-03-02 Pedro Alves <palves@redhat.com>
4756
4757 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4758 -1.
4759
4fa5d7b4
AA
47602015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4761
4762 * gdb.arch/s390-vregs.exp: New test.
4763 * gdb.arch/s390-vregs.S: New file.
4764
97c18565
PA
47652015-02-27 Pedro Alves <palves@redhat.com>
4766
4767 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4768 call to catch_command_errors.
4769 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4770 catch_command_errors.
4771
a37bfa30
PA
47722015-02-27 Pedro Alves <palves@redhat.com>
4773
4774 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4775 "true" for boolean result.
4776 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4777 prototype of main.
4778
6f98576f
PA
47792015-02-27 Pedro Alves <palves@redhat.com>
4780
4781 * lib/unbuffer_output.c: New file.
4782 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4783 (main): Call gdb_unbuffer_output.
4784
eba5ab56
YQ
47852015-02-27 Yao Qi <yao.qi@linaro.org>
4786
4787 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4788 target.
4789
0def5aaa
DE
47902015-02-26 Doug Evans <dje@google.com>
4791
4792 * gdb.cp/class2.cc (Dbase, D): New classes.
4793 (main): New local delta.
4794 * gdb.cp/class2.exp: Test printing delta.
4795 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4796 (dynbar): New global.
4797 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4798
081a1c2c
JK
47992015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4800
4801 * gdb.compile/compile-ifunc.c: New file.
4802 * gdb.compile/compile-ifunc.exp: New file.
4803
2f41223f
AT
48042015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4805
4806 * gdb.base/structs.exp: Check for correct struct on finish.
4807
03eddd80
YQ
48082015-02-26 Yao Qi <yao.qi@linaro.org>
4809
4810 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4811 is zero.
4812
80c57053
JK
48132015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4814
4815 * gdb.arch/cordic.ko.bz2: New file.
4816 * gdb.arch/cordic.ko.debug.bz2: New file.
4817 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4818
21613c12
YQ
48192015-02-25 Yao Qi <yao.qi@linaro.org>
4820
4821 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4822 aarch64*-*-* target.
4823
d8b901ed
PA
48242015-02-23 Pedro Alves <palves@redhat.com>
4825
4826 * lib/gdb.exp (delete_breakpoints): Rewrite using
4827 gdb_test_multiple.
4828
e5b85ead
PA
48292015-02-23 Pedro Alves <palves@redhat.com>
4830
4831 * gdb.base/info-os.c: Include stdlib.h.
4832
85c3a371
DE
48332015-02-22 Doug Evans <xdje42@gmail.com>
4834
4835 PR symtab/17855
4836 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4837 is read after symbols have been re-read.
4838 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4839 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4840
96553a0c
DE
48412015-02-21 Doug Evans <dje@google.com>
4842
4843 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4844
97a0c697
JK
48452015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4846
4847 PR corefiles/17808
4848 * gdb.arch/i386-biarch-core.core.bz2: New file.
4849 * gdb.arch/i386-biarch-core.exp: New file.
4850
a47cd6e9
PA
48512015-02-21 Pedro Alves <palves@redhat.com>
4852
4853 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4854 runto_main fails.
4855
c5facdc4
PA
48562015-02-20 Pedro Alves <palves@redhat.com>
4857
4858 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4859 info probes.
4860
2db9a427
PA
48612015-02-20 Pedro Alves <palves@redhat.com>
4862
4863 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4864
60fb7e9e
PA
48652015-02-20 Pedro Alves <palves@redhat.com>
4866
4867 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4868 clean_restart before gdb_target_supports_trace.
4869
5c5019c2
PA
48702015-02-20 Pedro Alves <palves@redhat.com>
4871
4872 PR threads/18006
4873 * gdb.threads/clone-thread_db.c: New file.
4874 * gdb.threads/clone-thread_db.exp: New file.
4875
c9587f88
AT
48762015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4877
4878 PR breakpoints/16812
4879 * gdb.base/catch-gdb-caused-signals.c: New file.
4880 * gdb.base/catch-gdb-caused-signals.exp: New file.
4881
f6a88844
JM
48822015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4883
4884 * configure: Regenerated.
4885 * configure.ac: Use GDB_AC_TRANSFORM.
4886 * aclocal.m4: sinclude ../transform.m4.
4887
497c491b
JM
48882015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4889
4890 * lib/dtrace.exp: New file.
4891 * gdb.base/dtrace-probe.exp: Likewise.
4892 * gdb.base/dtrace-probe.d: Likewise.
4893 * gdb.base/dtrace-probe.c: Likewise.
4894 * lib/pdtrace.in: Likewise.
4895 * configure.ac: Output variables with the transformed names of
4896 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4897 * configure: Regenerated.
4898
03e98035
JM
48992015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4900
4901 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4902 expected message when trying to access $_probe_* convenience
4903 variables while not on a probe.
4904
63cc30e9
JK
49052015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4906
4907 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4908
0703599a
PA
49092015-02-11 Pedro Alves <pedro@codesourcery.com>
4910
4911 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4912 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4913
7e60a48e
DE
49142015-02-10 Doug Evans <xdje42@gmail.com>
4915
4916 * lib/gdb.exp (gdb_load): Always return a result.
4917
01b088bc
PA
49182015-02-10 Pedro Alves <palves@redhat.com>
4919
4920 * gdb.threads/signal-sigtrap.c: New file.
4921 * gdb.threads/signal-sigtrap.exp: New file.
4922
b05ec7a5
AT
49232015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4924
4925 * gdb.trace/no-attach-trace.c: New file.
4926 * gdb.trace/no-attach-trace.exp: New file.
4927
a2c2acaf
MW
49282015-02-09 Mark Wielaard <mjw@redhat.com>
4929
4930 * gdb.dwarf2/atomic.c: New file.
4931 * gdb.dwarf2/atomic-type.exp: Likewise.
4932
31fd9caa
MM
49332015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4934
4935 * gdb.btrace/buffer-size.exp: Update "info record" output.
4936 * gdb.btrace/delta.exp: Update "info record" output.
4937 * gdb.btrace/enable.exp: Update "info record" output.
4938 * gdb.btrace/finish.exp: Update "info record" output.
4939 * gdb.btrace/instruction_history.exp: Update "info record" output.
4940 * gdb.btrace/next.exp: Update "info record" output.
4941 * gdb.btrace/nexti.exp: Update "info record" output.
4942 * gdb.btrace/step.exp: Update "info record" output.
4943 * gdb.btrace/stepi.exp: Update "info record" output.
4944 * gdb.btrace/nohist.exp: Update "info record" output.
4945
d33501a5
MM
49462015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4947
4948 * gdb.btrace/buffer-size: New.
4949
f4abbc16
MM
49502015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4951
4952 * gdb.btrace/delta.exp: Update "info record" output.
4953 * gdb.btrace/enable.exp: Update "info record" output.
4954 * gdb.btrace/finish.exp: Update "info record" output.
4955 * gdb.btrace/instruction_history.exp: Update "info record" output.
4956 * gdb.btrace/next.exp: Update "info record" output.
4957 * gdb.btrace/nexti.exp: Update "info record" output.
4958 * gdb.btrace/step.exp: Update "info record" output.
4959 * gdb.btrace/stepi.exp: Update "info record" output.
4960 * gdb.btrace/nohist.exp: Update "info record" output.
4961
b9d61307
SM
49622015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4963
4964 PR gdb/15678
4965 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4966
e584fdbc
PA
49672015-02-06 Pedro Alves <palves@redhat.com>
4968
4969 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4970 macro.
4971 (seconds_left, again): New globals.
4972 (main): Wait seconds_left in a 1-second sleep loop instead of
4973 sleeping 180 seconds. If 'again' is set, reset the seconds
4974 counter.
4975 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4976 'again' in the inferior before detaching. Print the seconds left.
4977 (options): New global.
4978 (top level): Build program with -DTIMEOUT=$timeout.
4979
77f41761
PA
49802015-02-06 Pedro Alves <palves@redhat.com>
4981
4982 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4983 determine how many seconds to pass to 'alarm'.
4984 * gdb.base/gdb-sigterm.exp (top level): Build program with
4985 -DTIMEOUT=$timeout.
4986 (do_test): Return success/failure indication. Add more verbose
4987 logging. Don't fail if 200 single steps are seen. Instead, fail
4988 when the test times out.
4989 (passes): New global.
4990 (top level): Break the testing loop if testing fails on any
4991 iteration. Use gdb_assert.
4992
b9394193
DB
49932015-02-04 Don Breazeal <donb@codesourcery.com>
4994
4995 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4996 and initialize them.
4997 (ipc_cleanup): New function.
4998 (main): Don't declare shmid, semid, and msqid. Add a call to
4999 atexit so that we call ipc_cleanup on exit.
5000
42d9e528
PA
50012015-02-04 Pedro Alves <palves@redhat.com>
5002
5003 * boards/native-extended-gdbserver.exp: Remove any target variant
5004 specifications from the board name before clearing the isremote
5005 flag from board_info.
5006
ae6ae975
DE
50072015-01-31 Doug Evans <xdje42@gmail.com>
5008
5009 * gdb.base/maint.exp <maint print type argc>: Update expected output.
5010
cfb069a8
GB
50112015-01-31 Gary Benson <gbenson@redhat.com>
5012
5013 * gdb.base/completion.exp: Disable completion limiting for
5014 existing tests. Add new tests to check completion limiting.
5015 * gdb.linespec/ls-errs.exp: Disable completion limiting.
5016
5dd31d79
DE
50172015-01-31 Doug Evans <xdje42@gmail.com>
5018
5019 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
5020
9f050062
DE
50212015-01-31 Doug Evans <xdje42@gmail.com>
5022
5023 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
5024 entries. Duplicate file section script entries.
5025 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
5026 inlined entries. Add test for safe-path rejection.
5027 * gdb.python/py-section-script.c: Add duplicate inlined section script
5028 entries. Duplicate file section script entries.
5029 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
5030 inlined entries. Add test for safe-path rejection.
5031
df25ebbd
JB
50322015-01-29 Joel Brobecker <brobecker@adacore.com>
5033
5034 * gdb.ada/disc_arr_bound: New testcase.
5035
4a0ca9ec
JB
50362015-01-29 Joel Brobecker <brobecker@adacore.com>
5037
5038 * gdb.ada/mi_var_array: New testcase.
5039
3a8b707a
DE
50402015-01-27 Doug Evans <dje@google.com>
5041
5042 * gdb.python/py-objfile.exp: Add tests for objfile.username.
5043 Add test for objfile.filename, objfile.username after objfile
5044 has been unloaded.
5045
f8313f6e
JB
50462015-01-26 Joel Brobecker <brobecker@adacore.com>
5047
5048 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
5049 the second test to print the name attribute of value
5050 returned by the call to gdb.lookup_type, and adjust
5051 the expected output accordingly.
5052
37bc665e
MW
50532015-01-25 Mark Wielaard <mjw@redhat.com>
5054
5055 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
5056 * gdb.base/disp-step-fork.c: Include unistd.h.
5057 * gdb.base/siginfo-obj.c: Include stdio.h.
5058 * gdb.base/siginfo-thread.c: Likewise.
5059 * gdb.mi/non-stop.c: Include unistd.h.
5060 * gdb.mi/nsthrexec.c: Include stdio.h.
5061 * gdb.mi/pthreads.c: Include unistd.h.
5062 * gdb.modula2/unbounded1.c (main): Declare returns int.
5063 * gdb.reverse/consecutive-reverse.c: Likewise.
5064 * gdb.threads/create-fail.c: Include unistd.h.
5065 * gdb.threads/killed.c: Likewise.
5066 * gdb.threads/linux-dp.c: Likewise.
5067 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
5068 * gdb.threads/non-ldr-exc-2.c: Likewise.
5069 * gdb.threads/non-ldr-exc-3.c: Likewise.
5070 * gdb.threads/non-ldr-exc-4.c: Likewise.
5071 * gdb.threads/pthreads.c: Include unistd.h.
5072 (main): Declare returns int.
5073 * gdb.threads/tls-main.c (foo): New declaration.
5074 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
5075
f7e5394d
SM
50762015-01-23 Simon Marchi <simon.marchi@ericsson.com>
5077
5078 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
5079 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
5080
743649fd
MW
50812015-01-15 Mark Wielaard <mjw@redhat.com>
5082
5083 * gdb.base/noreturn-return.c: New file.
5084 * gdb.base/noreturn-return.exp: New file.
5085 * gdb.base/noreturn-finish.c: New file.
5086 * gdb.base/noreturn-finish.exp: New file.
5087
198297aa
PA
50882015-01-23 Pedro Alves <palves@redhat.com>
5089
5090 * gdb.threads/continue-pending-after-query.c: New file.
5091 * gdb.threads/continue-pending-after-query.exp: New file.
5092
717cf30c
AG
50932015-01-22 Anders Granlund <anders.granlund@ericsson.com>
5094 Simon Marchi <simon.marchi@ericsson.com>
5095
5096 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
5097 * gdb.base/valgrind-db-attach.exp: Same.
5098 * gdb.base/valgrind-infcall.exp: Same.
5099 * lib/mi-support.exp (default_mi_gdb_start): Same.
5100 * lib/prompt.exp (default_prompt_gdb_start): Same.
5101 * lib/gdb.exp (default_gdb_spawn): Same.
5102 (gdb_interact): New.
5103
5104
4b62a76e
JK
51052015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5106
5107 * gdb.compile/compile.exp (pointer to jit function): New test.
5108
b4cdae6f
WW
51092015-01-17 Wei-cheng Wang <cole945@gmail.com>
5110
5111 * lib/gdb.exp (supports_process_record): Return true for
5112 powerpc*-*-linux*.
5113 (supports_reverse): Likewise.
5114
d221e7ef
DB
51152015-01-15 Don Breazeal <donb@codesourcery.com>
5116
5117 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5118 instead of checking whether the target board is remote and
5119 use spawn_wait_for_attach instead of exec/sleep.
5120 * gdb.base/attach-twice.exp: Likewise.
5121
bafffb51
JB
51222015-01-15 Joel Brobecker <brobecker@adacore.com>
5123
5124 * gdb.ada/var_arr_attrs: New testcase.
5125
5589af0e
PA
51262015-01-14 Pedro Alves <palves@redhat.com>
5127 Joel Brobecker <brobecker@adacore.com>
5128
5129 PR gdb/17525
5130 * gdb.base/bp-cmds-execution-x-script.c: New file.
5131 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5132 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5133
6c400b59
PA
51342015-01-14 Pedro Alves <palves@redhat.com>
5135
5136 PR cli/17828
5137 * gdb.base/batch-preserve-term-settings.c: New file.
5138 * gdb.base/batch-preserve-term-settings.exp: New file.
5139
e02c96a7
DE
51402015-01-13 Doug Evans <dje@google.com>
5141
5142 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5143 binary.
5144
576fd14c
JB
51452015-01-13 Joel Brobecker <brobecker@adacore.com>
5146
5147 * Makefile.in (clean mostlyclean): Do not delete *.py.
5148
04dccad0
JB
51492015-01-13 Joel Brobecker <brobecker@adacore.com>
5150
5151 * gdb.python/py-lookup-type.exp: New file.
5152
3d230f71
PA
51532015-01-12 Pedro Alves <palves@redhat.com>
5154
5155 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5156 restore GDBFLAGS before returning.
5157
7e67715d
JK
51582015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5159
5160 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5161 is_amd64_regs_target and is_x86_like_target.
5162
f2e0d4b4
DE
51632015-01-11 Doug Evans <xdje42@gmail.com>
5164
5165 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5166 is given without an explicit form.
5167 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5168 attributes.
5169 * gdb.dwarf/corrupt.exp: Ditto.
5170 * gdb.dwarf2/enum-type.exp: Ditto.
5171 * gdb.trace/entry-values.exp: Ditto.
5172 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5173
439250fb
DE
51742015-01-11 Doug Evans <xdje42@gmail.com>
5175
5176 PR gdb/15830
5177 * gdb.base/maint.exp: Remove references to "maint demangle".
5178 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5179 Add tests for explicitly specifying language to demangle.
5180 * gdb.dlang/demangle.exp: Ditto.
5181
ede9f622
PA
51822015-01-09 Pedro Alves <palves@redhat.com>
5183
5184 * gdb.threads/non-stop-fair-events.c: New file.
5185 * gdb.threads/non-stop-fair-events.exp: New file.
5186
a7b796db
PA
51872015-01-09 Pedro Alves <palves@redhat.com>
5188
5189 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5190 the global scope. Set a breakpoint after all threads are started
5191 rather than stepping over two source lines. Expect the prompt.
5192 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5193 global.
5194 (NUM): Now 15.
5195 (main): Use threads_started_barrier to wait for all threads to
5196 start. Main thread no longer calls thread_function. Exit after
5197 180 seconds.
5198 (loop): New function.
5199 (thread_function): Wait on threads_started_barrier barrier. Call
5200 'loop' at each iteration.
5201 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5202 threads have started, instead of hardcoding number of "next"
5203 steps. Use an access watchpoint instead of a write watchpoint.
5204
9665ffdd
PA
52052015-01-09 Pedro Alves <palves@redhat.com>
5206
5207 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5208 (thread_func): Wait on barrier.
5209 (main): Wait for all threads to start before stopping GDB.
5210 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5211 global.
5212 (thread1_func, thread2_func): Wait on barrier.
5213 (main): Wait for all threads to start before stopping GDB.
5214 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5215 New global.
5216 (thread1_func, thread2_func): Wait on barrier.
5217 (main): Wait for all threads to start before stopping GDB.
5218
c945a99f
PA
52192015-01-09 Pedro Alves <palves@redhat.com>
5220
5221 * gdb.threads/attach-many-short-lived-threads.c: New file.
5222 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5223
c1a747c1
PA
52242014-01-09 Pedro Alves <palves@redhat.com>
5225
5226 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5227 instead of to thread 2.
5228 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5229 Add barrier around each pthread_create call instead of around all
5230 calls.
5231 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5232 Set a break on thread_function and have the child threads hit it
5233 one at at a time.
5234
60b3033e
PA
52352015-01-09 Pedro Alves <palves@redhat.com>
5236
5237 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5238 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5239 false.
5240 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5241 checking whether the target board is remote.
5242 * gdb.multi/multi-attach.exp: Likewise.
5243 * gdb.python/py-sync-interp.exp: Likewise.
5244 * gdb.server/ext-attach.exp: Likewise.
5245 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5246 tests that need to attach, instead of checking whether the target
5247 board is remote at the top of the file.
5248
acc018ac
YQ
52492015-01-08 Yao Qi <yao@codesourcery.com>
5250
5251 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5252
50a18af8
JK
52532015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5254
5255 Fix testcase compilation.
5256 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5257
8503d6e1
JB
52582015-01-06 Joel Brobecker <brobecker@adacore.com>
5259
5260 * gdb.python/py-type.exp: Add a couple test about empty
5261 array creation, and negative-length array creation.
5262
cc73dbcc
DE
52632015-01-02 Doug Evans <xdje42@gmail.com>
5264
5265 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5266
0300bbc7
DE
52672015-01-02 Doug Evans <dje@google.com>
5268
5269 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5270
9d85a0ec
YQ
52712014-12-29 Yao Qi <yao@codesourcery.com>
5272
5273 * gdb.trace/entry-values.exp: Update comments. Rename variable
5274 bar_call_foo to returned_from_foo.
5275
87186c6a
MMN
52762014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5277
5278 PR gdb/17394
5279 * gdb.linespec/break-asm-file.c: New file.
5280 * gdb.linespec/break-asm-file.exp: New file.
5281 * gdb.linespec/break-asm-file0.s: New file.
5282 * gdb.linespec/break-asm-file1.s: New file.
5283
1bab7383
YQ
52842014-12-18 Nigel Stephens <nigel@mips.com>
5285 Maciej W. Rozycki <macro@codesourcery.com>
5286
5287 * gdb.base/float.exp: Handle the new output from "info float" on
5288 MIPS targets.
5289
1bc1068a
JK
52902014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5291
5292 Fix MinGW compilation.
5293 * gdb.compile/compile-ops.exp: Update untested message if
5294 !skip_compile_feature_tests.
5295 * gdb.compile/compile-setjmp.exp: Likewise.
5296 * gdb.compile/compile-tls.exp: Likewise.
5297 * gdb.compile/compile.exp: Likewise.
5298 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5299 supported on this host".
5300
b6615d10
DE
53012014-12-16 Doug Evans <xdje42@gmail.com>
5302
5303 * boards/stabs.exp: New file.
5304
25dda427
AA
53052014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5306
5307 * gdb.base/completion.exp: Adjust to format changes of "maint
5308 print user-registers".
5309
bf330350
CU
53102014-12-16 Catalin Udma <catalin.udma@freescale.com>
5311
5312 PR server/17457
5313 * gdb.arch/aarch64-fp.c: New file.
5314 * gdb.arch/aarch64-fp.exp: New file.
5315
395cf596
SDJ
53162014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5317
5318 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5319 r210637, r210913, r211666, r215400, r215817).
5320
5321 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5322 * dg-extract-results.py: New file.
5323 * dg-extract-results.sh: Use it if the environment seems
5324 suitable.
5325
5326 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5327
5328 * dg-extract-results.py (parse_run): Handle warnings that
5329 are printed before a test harness is run.
5330
5331 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5332
5333 * dg-extract-results.py (Named): Remove __cmp__ method.
5334 (output_variation): Use a key to sort variation.harnesses.
5335
5336 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5337
5338 * dg-extract-results.py: For Python 3, force sys.stdout to
5339 handle surrogate escape sequences.
5340 (safe_open): New function.
5341 (output_segment, main): Use it.
5342
5343 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5344
5345 * dg-extract-results.py (Prog.result_re): Include options
5346 in test name.
5347
5348 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5349
5350 * dg-extract-results.py (output_variation): Always sort if
5351 do_sum.
5352
e882ef3c
SM
53532014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5354
5355 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5356 as long as we get pagination notifications.
5357
4992aa20
JM
53582014-12-15 Jason Merrill <jason@redhat.com>
5359
5360 * Makefile.in (check-gdb.%): Restore.
5361 * README: Mention it.
5362
c1b5a1a6
JB
53632014-12-13 Joel Brobecker <brobecker@adacore.com>
5364
5365 * gdb.ada/str_uninit: New testcase.
5366
5537b577
JK
53672014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5368
5369 PR symtab/17642
5370 * gdb.base/vla-stub-define.c: New file.
5371 * gdb.base/vla-stub.c: New file.
5372 * gdb.base/vla-stub.exp: New file.
5373
bb2ec1b3
TT
53742014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5375 Jan Kratochvil <jan.kratochvil@redhat.com>
5376 Tom Tromey <tromey@redhat.com>
5377
5378 * configure.ac: Add gdb.compile/.
5379 * configure: Regenerate.
5380 * gdb.compile/Makefile.in: New file.
5381 * gdb.compile/compile-ops.exp: New file.
5382 * gdb.compile/compile-ops.c: New file.
5383 * gdb.compile/compile-tls.c: New file.
5384 * gdb.compile/compile-tls.exp: New file.
5385 * gdb.compile/compile-constvar.S: New file.
5386 * gdb.compile/compile-constvar.c: New file.
5387 * gdb.compile/compile-mod.c: New file.
5388 * gdb.compile/compile-nodebug.c: New file.
5389 * gdb.compile/compile-setjmp-mod.c: New file.
5390 * gdb.compile/compile-setjmp.c: New file.
5391 * gdb.compile/compile-setjmp.exp: New file.
5392 * gdb.compile/compile-shlib.c: New file.
5393 * gdb.compile/compile.c: New file.
5394 * gdb.compile/compile.exp: New file.
5395 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5396
4ff709eb
TT
53972014-12-12 Tom Tromey <tromey@redhat.com>
5398
5399 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5400 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5401
6dddd6a5
DE
54022014-12-12 Doug Evans <dje@google.com>
5403
5404 * lib/gdb-python.exp (get_python_valueof): New function.
5405 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5406
71c24708
AA
54072014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5408
5409 * gdb.base/completion.exp: Add test for completion of "info
5410 registers ".
5411
3e29f34a
MR
54122014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5413
5414 * gdb.base/func-ptrs.c: New file.
5415 * gdb.base/func-ptrs.exp: New file.
5416
fc126975
SM
54172014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5418
5419 PR breakpoints/17012
5420 * gdb.base/dprintf-detach.c: New file.
5421 * gdb.base/dprintf-detach.exp: New file.
5422
0a46d518
SM
54232014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5424
5425 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5426 * lib/gdb.exp (target_is_gdbserver): New procedure.
5427
a0be3e44
DE
54282014-12-08 Doug Evans <dje@google.com>
5429
5430 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5431
df1b803a
YQ
54322014-12-05 Yao Qi <yao@codesourcery.com>
5433
5434 * gdb.guile/scm-error.exp: Remove the third argument to
5435 gdb_remote_download.
5436 * gdb.guile/scm-frame-args.exp: Likewise.
5437 * gdb.guile/scm-section-script.exp: Likewise.
5438
ddb9f679
YQ
54392014-12-05 Yao Qi <yao@codesourcery.com>
5440
5441 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5442
86e4ed39
DE
54432014-12-04 Doug Evans <dje@google.com>
5444
5445 * gdb.python/py-objfile.exp: Add tests for
5446 objfile.add_separate_debug_file.
5447
7c50a931
DE
54482014-12-04 Doug Evans <dje@google.com>
5449
5450 * lib/gdb.exp (get_build_id): New function.
5451 (build_id_debug_filename_get): Rewrite to use it.
5452 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5453
621661e3
MR
54542014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5455
5456 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5457 `method(long)', not just 0x0.
5458 * gdb.cp/nsalias.exp: Align code labels to 4.
5459 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5460 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5461 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5462 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5463 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5464 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5465
29f0c3b7
DE
54662014-12-02 Doug Evans <dje@google.com>
5467
e1e061e7 5468 PR symtab/17602
29f0c3b7 5469 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 5470 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
5471 * gdb.cp/anon-ns.exp: Update.
5472
162078c8
NB
54732014-12-02 Nick Bull <nicholaspbull@gmail.com>
5474
5475 * gdb.python/py-events.py (inferior_call_handler): New.
5476 (register_changed_handler, memory_changed_handler): New.
5477 (test_events.invoke): Register new handlers.
5478 * gdb.python/py-events.exp: Add tests for inferior call,
5479 memory_changed and register_changed events.
5480
fdb09caf
AA
54812014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5482
5483 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5484 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5485 if the linker doesn't understand this.
5486
55cfb2c4
SM
54872014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5488
5489 * gdb.python/python.exp: Change expected reply to help().
5490
9e8cd6df
YQ
54912014-12-01 Yao Qi <yao@codesourcery.com>
5492
5493 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5494 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5495 * configure: Re-generated.
5496
6c659fc2
SC
54972014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5498
5499 * gdb.cp/chained-calls.cc: New file.
5500 * gdb.cp/chained-calls.exp: New file.
5501 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5502
d7fc3181
SM
55032014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5504
5505 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5506 * gdb.dwarf2/symtab-producer.exp: Same.
5507 * gdb.gdb/python-interrupts.exp: Same.
5508 * gdb.gdb/python-selftest.exp: Same.
5509 * gdb.python/py-linetable.exp: Same.
5510 * gdb.python/py-type.exp: Same.
5511 * gdb.python/py-value-cc.exp: Same.
5512 * gdb.python/py-value.exp: Same.
5513
10e79639
YQ
55142014-11-28 Yao Qi <yao@codesourcery.com>
5515
5516 * gdb.base/break-probes.exp: Match library name prefixed with
5517 sysroot.
5518
f28a0564
SM
55192014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5520
5521 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5522 test expected output. Add parentheses for the call to print.
5523 Remove L suffix from integers.
5524
3fe1ce1d
DE
55252014-11-26 Doug Evans <dje@google.com>
5526
5527 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5528
84429e27
YQ
55292014-11-22 Yao Qi <yao@codesourcery.com>
5530
5531 * gdb.trace/entry-values.c: Remove asms.
5532 (foo): Add foo_label.
5533 (bar): Add bar_label.
5534 * gdb.trace/entry-values.exp: Remove code computing foo's
5535 length and bar's length.
5536 (Dwarf::assemble): Invoke function_range for bar and use
5537 MACRO_AT_func for foo.
5538
26741859
YQ
55392014-11-22 Yao Qi <yao@codesourcery.com>
5540
5541 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5542 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5543 Use .Lgcc43_procstart instead of gcc43.
5544
45e44d27
JB
55452014-11-21 Joel Brobecker <brobecker@adacore.com>
5546
5547 * gdb.ada/n_arr_bound: New testcase.
5548
458c8db8
SDJ
55492014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5550
5551 PR breakpoints/10737
5552 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5553 test_catch_syscall_multi_arch.
5554 (test_catch_syscall_multi_arch): New function.
5555
43f3e411
DE
55562014-11-20 Doug Evans <xdje42@gmail.com>
5557
5558 * gdb.base/maint.exp: Update expected output.
5559
0d7b2549
AA
55602014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5561
5562 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5563 4-byte instruction on S390.
5564
8908fca5
JB
55652014-11-19 Joel Brobecker <brobecker@adacore.com>
5566
5567 * gdb.ada/arr_arr: New testcase.
5568
4a46959e
JB
55692014-11-19 Joel Brobecker <brobecker@adacore.com>
5570
5571 * gdb.ada/pkd_arr_elem: New Testcase.
5572
470e2f4e
LM
55732014-11-18 Luis Machado <lgustavo@codesourcery.com>
5574
5575 * gdb.reverse/break-precsave: Expect completion message for
5576 core file reads.
5577 * gdb.reverse/consecutive-precsave.exp: Likewise.
5578 * gdb.reverse/finish-precsave.exp: Likewise.
5579 * gdb.reverse/i386-precsave.exp: Likewise.
5580 * gdb.reverse/machinestate-precsave.exp: Likewise.
5581 * gdb.reverse/sigall-precsave.exp: Likewise.
5582 * gdb.reverse/solib-precsave.exp: Likewise.
5583 * gdb.reverse/step-precsave.exp: Likewise.
5584 * gdb.reverse/until-precsave.exp: Likewise.
5585 * gdb.reverse/watch-precsave.exp: Likewise.
5586
a267f3ad
AA
55872014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5588
5589 * gdb.base/bp-permanent.c: Include unistd.h.
5590 * gdb.python/py-framefilter-mi.c (main): Add return type.
5591 * gdb.python/py-framefilter.c (main): Likewise.
5592 * gdb.trace/actions-changed.c (main): Likewise.
5593
12084a9a
AA
55942014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5595
5596 * gdb.mi/until.c: Add eye-catchers.
5597 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5598 line numbers.
5599
dc7e1a77
AA
56002014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5601
5602 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5603 function header variants in break1.c.
5604 * gdb.base/ena-dis-br.exp: Likewise.
5605 * gdb.base/hbreak2.exp: Likewise.
5606 * gdb.reverse/until-precsave.exp: Drop references to removed
5607 non-prototype function header variants in ur1.c.
5608 * gdb.reverse/until-reverse.exp: Likewise.
5609
41c77605
PM
56102014-11-17 Petr Machata <pmachata@redhat.com>
5611
5612 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5613 ${_cu_offset_size} bytes abbrev offset.
5614
34248c3a
DE
56152014-11-15 Doug Evans <xdje42@gmail.com>
5616
5617 PR symtab/17559
5618 * gdb.base/line-symtabs.exp: New file.
5619 * gdb.base/line-symtabs.c: New file.
5620 * gdb.base/line-symtabs.h: New file.
5621
646da059
YQ
56222014-11-14 Yao Qi <yao@codesourcery.com>
5623
5624 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5625 (func): Add label func_label.
5626 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5627 Replace low_pc and high_pc with MACRO_AT_range.
5628 Replace name, low_pc and high_pc with MACRO_AT_func.
5629
9301ebe6
YQ
56302014-11-14 Yao Qi <yao@codesourcery.com>
5631
5632 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5633 Replace name, low_pc and high_pc with MACRO_AT_func.
5634
f166b542
YQ
56352014-11-14 Yao Qi <yao@codesourcery.com>
5636
5637 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5638 produce debug information.
5639 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5640
0f6e71e3
YQ
56412014-11-14 Yao Qi <yao@codesourcery.com>
5642
5643 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5644 object and get function length.
5645 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5646 with MACRO_AT_func.
5647 (top-level): Replace gdb_compile and clean_restart with
5648 prepare_for_testing.
5649 * gdb.dwarf2/main.c (main): Add label main_label.
5650
876c4df9
YQ
56512014-11-14 Yao Qi <yao@codesourcery.com>
5652
5653 * lib/dwarf.exp (function_range): New procedure.
5654 (Dwarf::_handle_macro_at_func): New procedure.
5655 (Dwarf::_handle_macro_at_range): New procedure.
5656 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5657
02ad9cf1
YQ
56582014-11-14 Yao Qi <yao@codesourcery.com>
5659
5660 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5661 (_handle_attribute): New procedure.
5662
a59add0c
AA
56632014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5664
5665 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5666 * gdb.base/call-sc.c (zed): Likewise.
5667 * gdb.base/checkpoint.c (main): Likewise.
5668 * gdb.base/dump.c (main): Likewise.
5669 * gdb.base/gcore.c (main): Likewise.
5670 * gdb.base/huge.c (main): Likewise.
5671 * gdb.base/multi-forks.c (main): Likewise.
5672 * gdb.base/pr10179-a.c (main): Likewise.
5673 * gdb.base/savedregs.c (main): Likewise.
5674 * gdb.base/sigaltstack.c (main): Likewise.
5675 * gdb.base/siginfo.c (main): Likewise.
5676 * gdb.base/structs.c (zed): Likewise.
5677 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5678 * gdb.mi/mi-syn-frame.c (main): Likewise.
5679 * gdb.mi/until.c (foo, main): Likewise.
5680 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5681 * gdb.base/solib-weak.c (foo): Declare.
5682 * gdb.base/attach-twice.c: Include stdio.h.
5683 * gdb.base/weaklib1.c: Likewise.
5684 * gdb.base/weaklib2.c: Likewise.
5685 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5686 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5687 unistd.h.
5688 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5689 * gdb.mi/mi-exit-code.c: Likewise.
5690 * gdb.base/break-interp-lib.c: Include string.h.
5691 * gdb.base/coremaker.c: Likewise.
5692 * gdb.base/testenv.c: Likewise.
5693 * gdb.python/py-finish-breakpoint.c: Likewise.
5694 * gdb.base/inferior-died.c: Include sys/wait.h.
5695 * gdb.base/fileio.c: Include time.h.
5696 * gdb.base/async-shell.c: Include unistd.h.
5697 * gdb.base/dprintf-non-stop.c: Likewise.
5698 * gdb.base/info-os.c: Likewise.
5699 * gdb.mi/mi-console.c: Likewise.
5700 * gdb.mi/watch-nonstop.c: Likewise.
5701 * gdb.python/py-events.c: Likewise.
5702 * gdb.base/async.c (baz): Move up before its invocation.
5703 * gdb.base/code_elim2.c (my_global_func): Likewise.
5704 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5705 * gdb.base/advance.c (func2): Likewise.
5706
3b5d5997
AA
57072014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5708
5709 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5710 variant.
5711 * gdb.base/annota3.c: Likewise.
5712 * gdb.base/async.c: Likewise.
5713 * gdb.base/average.c: Likewise.
5714 * gdb.base/call-ar-st.c: Likewise.
5715 * gdb.base/call-rt-st.c: Likewise.
5716 * gdb.base/call-sc.c: Likewise.
5717 * gdb.base/call-strs.c: Likewise.
5718 * gdb.base/ending-run.c: Likewise.
5719 * gdb.base/execd-prog.c: Likewise.
5720 * gdb.base/exprs.c: Likewise.
5721 * gdb.base/foll-exec.c: Likewise.
5722 * gdb.base/foll-fork.c: Likewise.
5723 * gdb.base/foll-vfork.c: Likewise.
5724 * gdb.base/funcargs.c: Likewise.
5725 * gdb.base/gcore.c: Likewise.
5726 * gdb.base/jump.c: Likewise.
5727 * gdb.base/langs0.c: Likewise.
5728 * gdb.base/langs1.c: Likewise.
5729 * gdb.base/langs2.c: Likewise.
5730 * gdb.base/mips_pro.c: Likewise.
5731 * gdb.base/nodebug.c: Likewise.
5732 * gdb.base/opaque0.c: Likewise.
5733 * gdb.base/opaque1.c: Likewise.
5734 * gdb.base/recurse.c: Likewise.
5735 * gdb.base/run.c: Likewise.
5736 * gdb.base/scope0.c: Likewise.
5737 * gdb.base/scope1.c: Likewise.
5738 * gdb.base/setshow.c: Likewise.
5739 * gdb.base/setvar.c: Likewise.
5740 * gdb.base/shmain.c: Likewise.
5741 * gdb.base/shr1.c: Likewise.
5742 * gdb.base/shr2.c: Likewise.
5743 * gdb.base/sigall.c: Likewise.
5744 * gdb.base/signals.c: Likewise.
5745 * gdb.base/so-indr-cl.c: Likewise.
5746 * gdb.base/solib2.c: Likewise.
5747 * gdb.base/structs.c: Likewise.
5748 * gdb.base/sum.c: Likewise.
5749 * gdb.base/vforked-prog.c: Likewise.
5750 * gdb.base/watchpoint.c: Likewise.
5751 * gdb.reverse/shr2.c: Likewise.
5752 * gdb.reverse/until-reverse.c: Likewise.
5753 * gdb.reverse/ur1.c: Likewise.
5754 * gdb.reverse/watch-reverse.c: Likewise.
5755
066a77c5
AA
57562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5757
5758 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5759 variant.
5760 * gdb.base/sepdebug.exp: Drop references to removed code.
5761
4f204ea5
AA
57622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5763
5764 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5765 variant. Preserve original line numbering.
5766 * gdb.base/list1.c: Likewise.
5767
3b377a3a
AA
57682014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5769
5770 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5771 variant.
5772 * gdb.base/break1.c: Likewise.
5773 * gdb.base/break.exp: Drop references to removed code.
5774
e444df73
AA
57752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5776
5777 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5778 variant.
5779
8008f2a7
AA
57802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5781
5782 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5783
a5a06887
AA
57842014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5785
5786 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5787 logic into perform_all_tests() and invoke it with and without
5788 function header prototypes.
5789 (do_function_calls): Remove conditional XFAIL for PR 5318.
5790 (rerun_and_prepare): Remove duplicate code.
5791 (perform_all_tests): New. Main logic moved here.
5792
44dba9b9
AA
57932014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5794
5795 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5796 code guarded by #ifdef NO_PROTOTYPES.
5797 (t_double_many_args): Likewise.
5798 (DEF_FUNC_MANY_ARGS_1): Likewise.
5799 (DEF_FUNC_VALUES_1): Likewise.
5800 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5801 guarded by #ifdef PROTOTYPES.
5802
d1fbcd56
AA
58032014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5804
5805 * gdb.mi/mi-console.c: Add eye-catcher.
5806 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5807 instead of literal line number.
5808
b0e59b8f
AA
58092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5810
5811 * gdb.base/shr2.c: Add eye-catcher.
5812 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5813 line number.
5814
78f98cca
AA
58152014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5816
5817 * gdb.base/jump.c: Add eye-catchers.
5818 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5819 numbers.
5820
58fa2af0
AA
58212014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5822
5823 * gdb.base/execd-prog.c: Add eye-catchers.
5824 * gdb.base/foll-exec.c: Likewise.
5825 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5826 line numbers.
5827
04e5059b
AA
58282014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5829
5830 * gdb.base/ending-run.c: Add eye-catchers.
5831 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5832 literal line numbers.
5833
dbfdb174
AA
58342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5835
5836 * gdb.base/call-rt-st.c: Add eye-catchers.
5837 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5838 literal line numbers.
5839
888a2ade
AA
58402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5841
5842 * gdb.base/call-ar-st.c: Add eye-catchers.
5843 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5844 literal line numbers.
5845
6acc2dde
AA
58462014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5847
5848 * gdb.base/average.c: Add eye-catchers.
5849 * gdb.base/sum.c: Likewise.
5850 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5851 regexps dynamically.
5852
9ecfcd1d
AA
58532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5854
5855 * gdb.base/solib1.c: Add eye-catchers.
5856 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5857 literal line numbers.
5858
78708b7c
PA
58592014-11-12 Pedro Alves <palves@redhat.com>
5860
5861 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5862 leader has exited.
5863
af48d08f
PA
58642014-11-12 Pedro Alves <palves@redhat.com>
5865
5866 * gdb.arch/i386-bp_permanent.c: New file.
5867 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5868 (srcfile): Set to i386-bp_permanent.c.
5869 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5870 that stepi does not execute the 'leave' instruction, instead of
5871 testing it does execute.
5872 * gdb.base/bp-permanent.c: New file.
5873 * gdb.base/bp-permanent.exp: New file.
5874
af3768e9
DE
58752014-11-10 Doug Evans <xdje42@gmail.com>
5876
5877 PR symtab/17564
5878 * gdb.base/symtab-search-order.exp: New file.
5879 * gdb.base/symtab-search-order.c: New file.
5880 * gdb.base/symtab-search-order-1.c: New file.
5881 * gdb.base/symtab-search-order-shlib-1.c: New file.
5882
9de00a4a
PA
58832014-11-07 Pedro Alves <palves@redhat.com>
5884
5885 PR gdb/17511
5886 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5887 i?86-*-linux*.
5888
e0f52461
SC
58892014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5890
5891 PR c++/17494
5892 * gdb.cp/pr17494.cc: New file.
5893 * gdb.cp/pr17494.exp: New file.
5894
6ce8c980
YQ
58952014-11-02 Yao Qi <yao@codesourcery.com>
5896
5897 * gdb.python/python.exp: Get working directory and match the
5898 output of "set extended-prompt \\w " with it.
5899
02be9a71
DE
59002014-10-30 Doug Evans <dje@google.com>
5901
5902 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5903 in objfiles.
5904 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5905 in progspaces.
5906
3bdff46b
LM
59072014-10-30 Janis Johnson <janisjo@codesourcery.com>
5908
5909 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5910 * gdb.base/realname-expand.exp: Likewise.
5911 * gdb.linespec/macro-relative.exp: Likewise.
5912
ab917dfb
PA
59132014-10-29 Pedro Alves <palves@redhat.com>
5914
5915 PR gdb/17408
5916 * gdb.threads/schedlock.c (some_function): New function.
5917 (call_function): New global.
5918 (MAYBE_CALL_SOME_FUNCTION): New macro.
5919 (thread_function): Call it.
5920 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5921 and use it instead of a global counter. Adjust all callers.
5922 (get_current_thread): Use "find current thread" for test message
5923 here rather than having all callers pass down the same string.
5924 (goto_loop): New procedure, factored out from ...
5925 (my_continue): ... this.
5926 (step_ten_loops): Change parameter from test message to command to
5927 use. Adjust.
5928 (list_count): Delete global.
5929 (check_result): New procedure, factored out from duplicate top
5930 level code.
5931 (continue tests): Wrap in with_test_prefix.
5932 (test_step): New procedure, factored out from duplicate top level
5933 code.
5934 (top level): Test "step" in combination with all scheduler-locking
5935 modes. Test "next" in combination with all scheduler-locking
5936 modes, and in combination with stepping over a function call or
5937 not.
5938 * gdb.threads/next-bp-other-thread.c: New file.
5939 * gdb.threads/next-bp-other-thread.exp: New file.
5940
d3d4baed
PA
59412014-10-29 Pedro Alves <palves@redhat.com>
5942
5943 PR python/17372
5944 * gdb.python/python.exp: Test a multi-line command that spawns
5945 interactive Python.
5946 * gdb.base/multi-line-starts-subshell.exp: New file.
5947
563e8d85
YQ
59482014-10-29 Yao Qi <yao@codesourcery.com>
5949
5950 * gdb.base/fileio.exp: Make directories on host.
5951
0ea4d52e
YQ
59522014-10-29 Yao Qi <yao@codesourcery.com>
5953
5954 * gdb.base/fileio.c (test_write): Close the file.
5955
7f5ef605
PA
59562014-10-28 Pedro Alves <palves@redhat.com>
5957
5958 PR gdb/12623
5959 * gdb.base/sigstep.c (no_handler): New global.
5960 (main): If 'no_handler is true, set the signal handlers to
5961 SIG_IGN.
5962 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5963 with_sw_watch and no_handler parameters. Handle them.
5964 (top level) <stepping over handler when stopped at a breakpoint
5965 test>: Add a test axis for testing with a software watchpoint, and
5966 another for testing with the signal handler set to SIG_IGN.
5967 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5968 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5969
abbdbd03
PA
59702014-10-28 Pedro Alves <palves@redhat.com>
5971
5972 PR gdb/17511
5973 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5974 * gdb.base/sigstep.exp (other_handler_location): New global.
5975 (advance): Support stepping into the signal handler, and running
5976 commands while in the handler.
5977 (in_handler_map): New global.
5978 (top level): In the advance test, add combinations for getting
5979 into the handler with stepping commands, and for running commands
5980 in the handler. Add comment descripting the advancei tests.
5981
1df4399f
PA
59822014-10-28 Pedro Alves <palves@redhat.com>
5983
5984 * gdb.base/sigstep.exp: Use build_executable instead of
5985 prepare_for_testing.
5986 (top level): Move code that starts GDB, runs to main and creates a
5987 display to ...
5988 (restart): ... this new procedure.
5989 (top level): Move backtrace from signal handler test to ...
5990 (validate_backtrace): ... this new procedure.
5991 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5992 with_test_prefix. Always restart GDB.
5993 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5994 with_test_prefix. Always restart GDB. No need to delete
5995 breakpoints after the test.
5996 (test_skip_handler): Remove prefix parameter.
5997 (skip_over_handler, breakpoint_to_handler)
5998 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5999 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
6000 restart GDB. No need to delete breakpoints after the test.
6001 (top level): Use foreach to call the test procedures with
6002 different commands.
6003
a5b6e449
PA
60042014-10-28 Pedro Alves <palves@redhat.com>
6005
6006 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
6007 instead of GNATS numbers.
6008 * gdb.base/sigbpt.exp: Likewise.
6009 * gdb.base/siginfo.exp: Likewise.
6010 * gdb.base/sigstep.exp: Likewise.
6011
e5f8a7cc
PA
60122014-10-27 Pedro Alves <palves@redhat.com>
6013
6014 * gdb.base/sigstep.c (dummy): New global.
6015 (main): Issue a couple writes to the new global.
6016 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
6017 procedures.
6018 (skip_over_handler): Use test_skip_handler.
6019 (top level): Call skip_over_handler for stepi and nexti too.
6020 (breakpoint_over_handler): Use test_skip_handler.
6021 (top level): Call breakpoint_over_handler for stepi and nexti too.
6022
763905a3
YQ
60232014-10-27 Yao Qi <yao@codesourcery.com>
6024
6025 * gdb.trace/tfile.c (adjust_function_address)
6026 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
6027 function descriptor.
6028
6f259a23
DB
60292014-10-24 Don Breazeal <donb@codesourcery.com>
6030
6031 * gdb.base/foll-fork.exp (test_follow_fork,
6032 catch_fork_child_follow): Check for updated fork messages emitted
6033 from infrun.c.
6034 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
6035 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
6036 vfork_and_exec_child_follow_through_step): Check for updated vfork
6037 messages emitted from infrun.c.
6038
09dd9a69
PA
60392014-10-24 Pedro Alves <palves@redhat.com>
6040
6041 * gdb.base/corefile.exp: Remove references to ultrix.
6042 * gdb.base/interrupt.exp: Likewise.
6043 * gdb.base/whatis.exp: Likewise.
6044 * gdb.gdb/selftest.exp: Likewise.
6045 * gdb.threads/manythreads.exp: Likewise.
6046 * gdb.threads/print-threads.exp: Likewise.
6047 * gdb.threads/pthreads.exp:: Likewise.
6048 * gdb.threads/schedlock.exp: Likewise.
6049
3433cfa5
SC
60502014-10-24 Siva Chandra Reddy <sivachandra@google.com>
6051
6052 * gdb.cp/non-trivial-retval.cc: Add a test case.
6053 * gdb.cp/non-trivial-retval.exp: Add a test.
6054
092f880b
YQ
60552014-10-20 Yao Qi <yao@codesourcery.com>
6056
6057 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
6058 * gdb.python/py-objfile-script-gdb.py: New file.
6059 * gdb.python/py-objfile-script.exp: Update reference to
6060 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
6061 of remote_download. Remove the dest file.
6062
acbdb7f3
YQ
60632014-10-20 Yao Qi <yao@codesourcery.com>
6064
6065 * gdb.base/checkpoint.exp: Don't remove file copied on host.
6066 * gdb.base/step-line.exp: Likewise.
6067 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6068 * gdb.dwarf2/dw2-basic.exp: Likewise.
6069 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6070 * gdb.dwarf2/dw2-filename.exp: Likewise.
6071 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6072 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6073 * gdb.dwarf2/dw2-producer.exp: Likewise.
6074 * gdb.dwarf2/mac-fileno.exp: Likewise.
6075 * gdb.python/py-frame-args.exp: Likewise.
6076 * gdb.python/py-framefilter.exp: Likewise.
6077 * gdb.python/py-mi.exp: Likewise.
6078 * gdb.python/py-objfile-script.exp: Likewise
6079 * gdb.python/py-pp-integral.exp: Likewise.
6080 * gdb.python/py-pp-re-notag.exp: Likewise.
6081 * gdb.python/py-prettyprint.exp: Likewise.
6082 * gdb.python/py-section-script.exp: Likewise.
6083 * gdb.python/py-typeprint.exp: Likewise.
6084 * gdb.python/py-xmethods.exp: Likewise.
6085 * gdb.stabs/weird.exp: Likewise.
6086 * gdb.xml/tdesc-regs.exp: Likewise.
6087
bd286a29
KCY
60882014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
6089
6090 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
6091 (out_cu): Use addr_len for the size of addresses.
6092 (out_line): Likewise. Size DW_LNE_set_address instruction
6093 according to addr_len.
6094 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
6095 (FUNC): Add START_INSNS to definition.
6096
673dc4a0
YQ
60972014-10-18 Yao Qi <yao@codesourcery.com>
6098
6099 * gdb.base/argv0-symlink.exp: Check argv[0] value if
6100 gdb_has_argv0 return true.
6101 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
6102 check [target_info exists noargs], check [gdb_has_argv0]
6103 instead.
6104 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6105 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
6106 procedures.
6107
4ffbba72
DE
61082014-10-17 Doug Evans <dje@google.com>
6109
6110 * gdb.python/py-events.exp: Update expected output for clear_objfiles
6111 event.
6112 * gdb.python/py-events.py: Add clear_objfiles event.
6113
d096d8c1
DE
61142014-10-17 Doug Evans <dje@google.com>
6115
6116 * gdb.python/py-objfile.exp: Test progspace attribute.
6117
a80db015
LM
61182014-10-17 Luis Machado <lgustavo@codesourcery.com>
6119
6120 * gdb.guile/scm-breakpoint.exp: Do not assume any
6121 directory separators when matching source file paths.
6122 * gdb.python/py-breakpoint.exp: Likewise.
6123 * gdb.reverse/break-precsave.exp: Likewise.
6124 * gdb.reverse/break-reverse.exp: Likewise.
6125 * gdb.reverse/consecutive-precsave.exp: Likewise.
6126 * gdb.reverse/finish-precsave.exp: Likewise.
6127 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6128 * gdb.reverse/finish-reverse.exp: Likewise.
6129 * gdb.reverse/i386-precsave.exp: Likewise.
6130 * gdb.reverse/i387-env-reverse.exp: Likewise.
6131 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6132 * gdb.reverse/machinestate-precsave.exp: Likewise.
6133 * gdb.reverse/machinestate.exp: Likewise.
6134 * gdb.reverse/sigall-precsave.exp: Likewise.
6135 * gdb.reverse/solib-precsave.exp: Likewise.
6136 * gdb.reverse/step-precsave.exp: Likewise.
6137 * gdb.reverse/until-precsave.exp: Likewise.
6138 * gdb.reverse/watch-precsave.exp: Likewise.
6139 * gdb.reverse/watch-reverse.exp: Likewise.
6140
b22089ab
YQ
61412014-10-17 Yao Qi <yao@codesourcery.com>
6142
6143 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6144 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6145
6c4486e6
PA
61462014-10-17 Pedro Alves <palves@redhat.com>
6147
6148 PR gdb/17471
6149 * gdb.base/bg-execution-repeat.c: New file.
6150 * gdb.base/bg-execution-repeat.exp: New file.
6151
0ff33695
PA
61522014-10-17 Pedro Alves <palves@redhat.com>
6153
6154 PR gdb/17300
6155 * gdb.base/continue-all-already-running.c: New file.
6156 * gdb.base/continue-all-already-running.exp: New file.
6157
6fdebc3d
PA
61582014-10-17 Pedro Alves <palves@redhat.com>
6159
6160 PR gdb/17472
6161 * gdb.base/annota-input-while-running.c: New file.
6162 * gdb.base/annota-input-while-running.exp: New file.
6163
32a8097b
PA
61642014-10-17 Pedro Alves <palves@redhat.com>
6165
6166 * gdb.base/callfuncs.exp: emove references to osf.
6167 * gdb.base/sigall.exp: Likewise.
6168 * gdb.gdb/selftest.exp: Likewise.
6169 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6170 * gdb.mi/non-stop.c: Likewise.
6171 * gdb.mi/pthreads.c: Likewise.
6172 * gdb.reverse/sigall-precsave.exp: Likewise.
6173 * gdb.reverse/sigall-reverse.exp: Likewise.
6174 * gdb.threads/pthreads.c: Likewise.
6175 * gdb.threads/pthreads.exp: Likewise.
6176
7a3517ff
YQ
61772014-10-17 Yao Qi <yao@codesourcery.com>
6178
6179 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6180 check 'target_info exists noargs'.
6181 (test_command_prompt_position): Likewise.
6182 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6183 Remove "set args".
6184 (progvar_simple_while_test): Likewise.
6185 (progvar_complex_if_while_test): Likewise.
6186 (if_while_breakpoint_command_test): Likewise.
6187 (infrun_breakpoint_command_test): Likewise.
6188 (breakpoint_command_test): Likewise.
6189 (watchpoint_command_test): Likewise.
6190 (bp_deleted_in_command_test): Likewise.
6191 (temporary_breakpoint_commands): Likewise.
6192
bb99c472
YQ
61932014-10-16 Yao Qi <yao@codesourcery.com>
6194
6195 * gdb.base/remotetimeout.exp: Remove noargs checking.
6196
7c16b83e
PA
61972014-10-15 Pedro Alves <palves@redhat.com>
6198
6199 PR breakpoints/9649
6200 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6201 * gdb.base/breakpoint-in-ro-region.exp
6202 (probe_target_hardware_step): New procedure.
6203 (top level): Probe hardware stepping and hardware breakpoint
6204 support. Test stepping through a read-only region, with both
6205 "breakpoint auto-hw" on and off and both "always-inserted" on and
6206 off.
6207
35a49624
IB
62082014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6209
6210 * gdb.dlang/demangle.exp: Update for demangling changes.
6211
2d1c107c
SC
62122014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6213
6214 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6215 * gdb.cp/non-trivial-retval.exp: Add new tests.
6216
778811d5
SC
62172014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6218
6219 PR c++/13403
6220 PR c++/15154
6221 * gdb.cp/non-trivial-retval.cc: New file.
6222 * gdb.cp/non-trivial-retval.exp: New file.
6223
10c5f0a8
YQ
62242014-10-15 Yao Qi <yao@codesourcery.com>
6225
6226 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6227 remote host.
6228
65d7b369
YQ
62292014-10-15 Yao Qi <yao@codesourcery.com>
6230
6231 * gdb.python/py-symbol.exp: Match file base name if host is
6232 remote, otherwise match file name with dir name.
6233 * gdb.python/py-symtab.exp: Likewise.
6234 * gdb.python/python.exp: Likewise.
6235
46dc1394
YQ
62362014-10-15 Yao Qi <yao@codesourcery.com>
6237
6238 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6239 pattern.
6240 * gdb.python/py-symtab.exp: Likewise.
6241 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6242 locationn.
6243
c40cc657
JB
62442014-10-14 Joel Brobecker <brobecker@adacore.com>
6245
6246 * gdb.ada/addr_arith: New testcase.
6247
2abf49e1
MR
62482014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6249
6250 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6251 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6252 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6253 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6254
f7088df3
SDJ
62552014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6256
6257 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6258 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6259 * gdb.arch/stap-eval-lang-ada.exp: New file.
6260
4dc06805
YQ
62612014-10-14 Yao Qi <yao@codesourcery.com>
6262
6263 * gdb.mi/mi-var-child.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-child.exp: Step over new added statements.
6268 Update test to match the new output.
6269 * gdb.mi/var-cmd.c (nothing1): New function.
6270 (nothing2): New function.
6271 (do_children_tests): Set function pointers by nothing1 and
6272 nothing2.
6273 * gdb.mi/mi-var-display.exp: Update test to match output.
6274 Step to the line specified by $line_dct_nothing.
6275 Increase the number of lines to step.
6276
46a93de2
YQ
62772014-10-14 Yao Qi <yao@codesourcery.com>
6278
6279 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6280 tests.
6281 * gdb.mi/mi2-var-child.exp: Likewise.
6282
14ea52ee
DE
62832014-10-13 Doug Evans <dje@google.com>
6284
6285 * gdb.python/py-objfile.exp: Change name of file name test.
6286
e5c6e92b
DE
62872014-10-13 Doug Evans <dje@google.com>
6288
6289 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6290 from the start of the CU.
6291
c780cc2f
JK
62922014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6293 Yao Qi <yao@codesourcery.com>
6294
6295 Fix "save breakpoints" for "catch" command.
6296 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6297 Remove -nonewline. Match also the added "main" line.
6298
99894e11
JK
62992014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6300
6301 Fix "save breakpoints" for "disable $bpnum" command.
6302 * gdb.base/save-bp.c (main): Add label.
6303 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6304
6e1ac5a3
JK
63052014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6306
6307 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6308
754dd2b0
YQ
63092014-10-11 Yao Qi <yao@codesourcery.com>
6310
6311 * gdb.server/server-kill.exp: Execute command
6312 "set remote trace-status-packet on" before "tstatus".
6313
f90183d7
YQ
63142014-10-11 Yao Qi <yao@codesourcery.com>
6315
6316 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6317 (main): Call getppid.
6318 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6319 and continue to it. Read variable "server_pid".
6320
bf40a607
YQ
63212014-10-11 Yao Qi <yao@codesourcery.com>
6322
6323 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6324
052ca370
YQ
63252014-10-11 Yao Qi <yao@codesourcery.com>
6326
6327 * gdb.threads/thread-find.exp: Don't execute command
6328 "info threads".
6329 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6330 * gdb.threads/linux-dp.exp: Don't check the condition
6331 $threads_created equals to zero.
6332
3831839c
PA
63332014-10-10 Pedro Alves <palves@redhat.com>
6334
6335 * gdb.base/bigcore.exp: Remove references to IRIX.
6336 * gdb.base/funcargs.exp: Likewise.
6337 * gdb.base/interrupt.exp: Likewise.
6338 * gdb.base/mips_pro.exp: Likewise.
6339 * gdb.base/nodebug.exp: Likewise.
6340 * gdb.base/setvar.exp: Likewise.
6341 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6342
8b9a549d
PA
63432014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6344 Pedro Alves <palves@redhat.com>
6345
6346 PR symtab/14466
6347 * gdb.base/vdso-warning.c: New file.
6348 * gdb.base/vdso-warning.exp: New file.
6349
d48ba5e8
DE
63502014-10-02 Doug Evans <dje@google.com>
6351
6352 * gdb.base/structs.c (main): Don't run forever.
6353
2278c276
PA
63542014-10-02 Pedro Alves <palves@redhat.com>
6355
6356 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6357 (top level) <stop threads 1, stop threads 2>: Use it.
6358
b57bacec
PA
63592014-10-02 Pedro Alves <palves@redhat.com>
6360
6361 * gdb.threads/break-while-running.exp (test): Add new
6362 'update_thread_list' argument. Skip "info threads" if false.
6363 (top level): Add new 'update_thread_list' axis.
6364
13fd3ff3
PA
63652014-10-02 Pedro Alves <palves@redhat.com>
6366
6367 PR breakpoints/17431
6368 * gdb.base/execl-update-breakpoints.c: New file.
6369 * gdb.base/execl-update-breakpoints.exp: New file.
6370
0fec99e8
PA
63712014-10-01 Pedro Alves <palves@redhat.com>
6372
6373 * gdb.base/breakpoint-in-ro-region.c: New file.
6374 * gdb.base/breakpoint-in-ro-region.exp: New file.
6375
2ddf4301
SM
63762014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6377
6378 * gdb.mi/mi-exit-code.exp: New file.
6379 * gdb.mi/mi-exit-code.c: New file.
6380
6a5f3f43
YQ
63812014-09-30 Yao Qi <yao@codesourcery.com>
6382
6383 * lib/prelink-support.exp (build_executable_own_libs): Error if
6384 the target isn't native.
6385
345bcc73
YQ
63862014-09-30 Yao Qi <yao@codesourcery.com>
6387
6388 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6389 false.
6390
a25a5a45
PA
63912014-09-22 Pedro Alves <palves@redhat.com>
6392
6393 * gdb.threads/break-while-running.exp: New file.
6394 * gdb.threads/break-while-running.c: New file.
6395
00ba3162
YQ
63962014-09-19 Yao Qi <yao@codesourcery.com>
6397
6398 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6399 Invoke test. Restart GDB with --readnow and invoke test again.
6400
c3b7b696
YQ
64012014-09-19 Yao Qi <yao@codesourcery.com>
6402
6403 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6404 proc set_breakpoint_on_gcd_function. Invoke
6405 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6406 invoke set_breakpoint_on_gcd_function again.
6407
2b4fd423
DE
64082014-09-18 Doug Evans <dje@google.com>
6409
6410 * gdb.dwarf2/symtab-producer.exp: New file.
6411
a5947601
SDJ
64122014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6413
6414 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6415 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6416 * gdb.base/global-var-nested-by-dso.c: Likewise.
6417 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6418
91c19059
SDJ
64192014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6420 Pedro Alves <palves@redhat.com>
6421
6422 * gdb.base/watch-bitfields.exp: Pass string other than test file
6423 name to prepare_for_testing.
6424 (watch): New procedure.
6425 (expect_watchpoint): Use with_test_prefix.
6426 (top level): Factor out tests to ...
6427 (test_watch_location, test_regular_watch): ... these new
6428 procedures, and use with_test_prefix and gdb_continue_to_end.
6429
bb9d5f81
PP
64302014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6431
6432 PR breakpoints/12526
6433 * gdb.base/watch-bitfields.exp: New file.
6434 * gdb.base/watch-bitfields.c: New file.
6435
635856f5
PA
64362014-09-16 Pedro Alves <palves@redhat.com>
6437
6438 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6439 software and hardware addresses, not software address against
6440 itself.
6441
7280ceea
PA
64422014-09-16 Pedro Alves <palves@redhat.com>
6443
6444 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6445 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6446
428b16bd
PA
64472014-09-16 Pedro Alves <palves@redhat.com>
6448
6449 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6450 files.
6451 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6452 "*-*-vxworks*" throughout.
6453 * gdb.base/break.exp: Likewise.
6454 * gdb.base/default.exp: Likewise.
6455 * gdb.base/scope.exp: Likewise.
6456 * gdb.base/sepdebug.exp: Likewise.
6457 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6458 throughout.
6459 * gdb.base/run.c: Likewise.
6460 * gdb.base/sepdebug.c: Likewise.
6461 * gdb.hp/gdb.aCC/run.c: Likewise.
6462 * gdb.reverse/until-reverse.c: Likewise.
6463 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6464
666d413c
YQ
64652014-09-16 Yao Qi <yao@codesourcery.com>
6466
6467 * boards/local-remote-host-native.exp: New file.
6468
57cbd724
DE
64692014-09-14 Doug Evans <xdje42@gmail.com>
6470
6471 * gdb.threads/queue-signal.c (thread_count): New variable.
6472 (thread_count_mutex, thread_count_condvar): New variables.
6473 (incr_thread_count, wait_all_threads_running): New functions.
6474 (main): Wait for all threads to be in their thread functions.
6475
81219e53
DE
64762014-09-13 Doug Evans <xdje42@gmail.com>
6477
6478 * gdb.threads/queue-signal.c: New file.
6479 * gdb.threads/queue-signal.exp: New file.
6480
3714cea7
DE
64812014-09-13 Doug Evans <xdje42@gmail.com>
6482
6483 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6484 be consistent with what default_gdb_init uses.
6485 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6486 the plain text of the prompt. Add some logging printfs.
6487 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6488
fa43b1d7
PA
64892014-09-12 Pedro Alves <palves@redhat.com>
6490
6491 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6492 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6493 * gdb.arch/i386-size-overlap.exp: Likewise.
6494 * gdb.arch/i386-size.exp: Likewise.
6495 * gdb.arch/i386-unwind.exp: Likewise.
6496 * gdb.base/a2-run.exp: Likewise.
6497 * gdb.base/break.exp: Likewise.
6498 * gdb.base/charset.exp: Likewise.
6499 * gdb.base/chng-syms.exp: Likewise.
6500 * gdb.base/commands.exp: Likewise.
6501 * gdb.base/dbx.exp: Likewise.
6502 * gdb.base/find.exp: Likewise.
6503 * gdb.base/funcargs.exp: Likewise.
6504 * gdb.base/jit-simple.exp: Likewise.
6505 * gdb.base/reread.exp: Likewise.
6506 * gdb.base/sepdebug.exp: Likewise.
6507 * gdb.base/step-bt.exp: Likewise.
6508 * gdb.cp/mb-inline.exp: Likewise.
6509 * gdb.cp/mb-templates.exp: Likewise.
6510 * gdb.objc/basicclass.exp: Likewise.
6511 * gdb.threads/killed.exp: Likewise.
6512
9d9bf2df
EBM
65132014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6514
6515 PR tdep/17379
6516 * gdb.arch/powerpc-stackless.S: New file.
6517 * gdb.arch/powerpc-stackless.exp: New file.
6518
1cf2f1b0
JK
65192014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6520
6521 * gdb.base/attach.c: Include unistd.h.
6522 (main): Call alarm. Add label postloop.
6523 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6524 gdb_breakpoint, gdb_continue_to_breakpoint.
6525 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6526
98880d46
PA
65272014-09-11 Pedro Alves <palves@redhat.com>
6528
6529 PR gdb/17347
6530 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6531 * gdb.base/attach.exp (test_command_line_attach_run): New
6532 procedure.
6533 (top level): Call it.
6534
4c92ff2c
PA
65352014-09-11 Pedro Alves <palves@redhat.com>
6536
6537 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6538 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6539 (do_command_attach_tests): Use spawn_wait_for_attach.
6540 * gdb.base/solib-overlap.exp: Likewise.
6541 * gdb.multi/multi-attach.exp: Likewise.
6542 * gdb.python/py-prompt.exp: Likewise.
6543 * gdb.python/py-sync-interp.exp: Likewise.
6544 * gdb.server/ext-attach.exp: Likewise.
6545
3adc1a7d
GKB
65462014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6547
6548 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6549 command in testcase. Simplify testcase.
6550
96334934
JB
65512014-09-10 Joel Brobecker <brobecker@adacore.com>
6552
6553 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6554
eb479039
JB
65552014-09-10 Joel Brobecker <brobecker@adacore.com>
6556
6557 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6558
deede10c
JB
65592014-09-10 Joel Brobecker <brobecker@adacore.com>
6560
6561 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6562
7828a5f5
JB
65632014-09-10 Joel Brobecker <brobecker@adacore.com>
6564
6565 * gdb.dwarf2/dynarr-ptr.c: New file.
6566 * gdb.dwarf2/dynarr-ptr.exp: New file.
6567
33aeebcf
MR
65682014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6569
6570 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6571 of 30 rather than hardcoding 120 for a slow test case. Take the
6572 `gdb,timeout' target setting into account for this calculation.
6573 Don't extend the timeout for the test cases that don't need it.
6574
7b415901
MR
65752014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6576
6577 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6578 a factor of 2 for a slow test case. Take the `gdb,timeout'
6579 target setting into account for this calculation.
6580 * gdb.reverse/until-precsave.exp: Increase the timeout by
6581 a factor of 15 and 3 respectively rather than adding 120
6582 for a pair of slow test cases. Take the `gdb,timeout'
6583 target setting into account for this calculation.
6584
4a40f85a
MR
65852014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6586
6587 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6588 timeout, don't pass one down to gdb_expect.
6589 (gdb_expect): Rework timeout selection.
6590
09635af7
MR
65912014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6592
6593 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6594 exception on timeout.
6595 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6596 (gdbserver_start_extended): Catch any `gdbserver_start' error
6597 exceptions.
6598 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6599 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6600 `gdbserver_gdb_load' error exceptions.
6601
2bdd10b7
MR
66022014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6603
6604 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6605 120 on waiting for the TCP socket to open.
6606
316935f0
DE
66072014-09-09 Doug Evans <xdje42@gmail.com>
6608
6609 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6610 _caller_matches, _any_caller_is, _any_caller_matches.
6611
83740597
DE
66122014-09-09 Doug Evans <xdje42@gmail.com>
6613
6614 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6615
4c122fc3
YQ
66162014-09-09 Yao Qi <yao@codesourcery.com>
6617
6618 * gdb.mi/mi-var-display.exp: Set print symbol off.
6619
a9f116cb
GKB
66202014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6621
6622 PR gdb/17035
6623 * gdb.base/commands.exp: Add tests to verify user-defined
6624 commands with empty bodies.
6625 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6626 python commands in `show user command`.
6627 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6628 scheme commands in `show user command`.
6629
c75bd3a2
JK
66302014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6631
6632 PR python/17355
6633 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6634 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6635 * gdb.python/py-framefilter-invalidarg.exp: New file.
6636 * gdb.python/py-framefilter-invalidarg.py: New file.
6637
faa42425
DE
66382014-09-06 Doug Evans <xdje42@gmail.com>
6639
6640 PR 15276
6641 * gdb.python/py-caller-is.c: New file.
6642 * gdb.python/py-caller-is.exp: New file.
6643
474ca4f6
SDJ
66442014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6645
6646 PR gdb/17235
6647 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6648 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6649
eb0b0463
SDJ
66502014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6651
6652 PR fortran/17237
6653 * gdb.fortran/print-formatted.exp: New file.
6654 * gdb.fortran/print-formatted.f90: Likewise.
6655
5f3b99cf
SS
66562014-09-03 Sasha Smundak <asmundak@google.com>
6657
6658 * gdb.python/py-frame.exp: Test Frame.read_register.
6659
7d793aa9
SDJ
66602014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6661
6662 PR python/16699
6663 * gdb.python/py-completion.exp: New file.
6664 * gdb.python/py-completion.py: Likewise.
6665
fb0576e9
DE
66662014-08-28 Doug Evans <dje@google.com>
6667
6668 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6669 eax,etc. are live with values set by gdb and thus the compiler can't
6670 use them.
6671 * gdb.arch/i386-pseudo.c (main): Ditto.
6672
ee92b0dd
DE
66732014-08-27 Doug Evans <dje@google.com>
6674
6675 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6676
6649db35
DE
66772014-08-25 Doug Evans <dje@google.com>
6678
6679 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6680 (main): Ditto.
6681
564b7600
DE
66822014-08-25 Doug Evans <dje@google.com>
6683
6684 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6685
3881fb67
YQ
66862014-08-24 Yao Qi <yao@codesourcery.com>
6687
6688 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6689 symbol off.
6690 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6691
a05a36a5
DE
66922014-08-22 Doug Evans <dje@google.com>
6693
6694 PR 17276
6695 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6696 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6697 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6698
7c343b48
YQ
66992014-08-22 Yao Qi <yao@codesourcery.com>
6700
6701 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6702 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6703 * gdb.python/python.exp: Likewise. Use .py file on the host
6704 instead of the build.
6705
22fd09ae
JK
67062014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6707
6708 * gdb.threads/gcore-stale-thread.c: New file.
6709 * gdb.threads/gcore-stale-thread.exp: New file.
6710
a8454a7c
PA
67112014-08-21 Pedro Alves <palves@redhat.com>
6712
6713 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6714 * gdb.base/gcore-relro-pie.exp: Likewise.
6715 * gdb.base/gcore-relro.exp: Likewise.
6716 * gdb.base/gcore.exp: Likewise.
6717 * gdb.base/print-symbol-loading.exp: Likewise.
6718 * gdb.threads/gcore-thread.exp: Likewise.
6719 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6720
2a31c623
PA
67212014-08-20 Pedro Alves <palves@redhat.com>
6722 Jan Kratochvil <jan.kratochvil@redhat.com>
6723
6724 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6725 configure.
6726 (EXPECT): Handle READ1 being set.
6727 (all): Depend on EXTRA_RULES.
6728 (check-read1, expect-read1, read1.so, read1): New rules.
6729 * README (Testsuite Parameters): Document the READ1 make variable.
6730 (Race detection): New section.
6731 * configure: Regenerate.
6732 * configure.ac: If build==host==target, and running under a
6733 GNU/glibc system, add read1 to the extra Makefile rules.
6734 (EXTRA_RULES): AC_SUBST it.
6735 * lib/read1.c: New file.
6736
d36430db
JB
67372014-08-20 Joel Brobecker <brobecker@adacore.com>
6738
6739 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6740 the handling of variables declared as a typedef to an array
6741 which a DW_AT_data_location attribute.
6742
9a0dc9e3
PA
67432014-08-19 Andrew Burgess <aburgess@broadcom.com>
6744 Pedro Alves <palves@redhat.com>
6745
6746 PR symtab/14604
6747 PR symtab/14605
6748 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6749 gdb_test.
6750
0718a8da
PA
67512014-08-19 Pedro Alves <palves@redhat.com>
6752
6753 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6754
13b448cd
YQ
67552014-08-19 Yao Qi <yao@codesourcery.com>
6756
6757 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6758 right line.
6759
1cbf5077
DB
67602014-08-18 David Blaikie <dblaikie@gmail.com>
6761
6762 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6763
bf0fae19
JB
67642014-08-18 Joel Brobecker <brobecker@adacore.com>
6765
6766 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6767 attribute in array range.
6768
3c8c5dcc
JB
67692014-08-18 Joel Brobecker <brobecker@adacore.com>
6770
6771 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6772
e66d4446
SC
67732014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6774
6775 PR c++/17132
6776 * gdb.cp/pr17132.cc: New file.
6777 * gdb.cp/pr17132.exp: New file.
6778
940df408
SC
67792014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6780
6781 * gdb.python/py-xmethods.py (A_getarrayind)
6782 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6783 Use 'print' with function call syntax.
6784 (E_method_matcher.match): Fix tab vs space indentation mixup.
6785
ebcc6c3a
YQ
67862014-08-15 Yao Qi <yao@codesourcery.com>
6787
6788 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6789 false.
6790
775e0f04
YQ
67912014-08-15 Yao Qi <yao@codesourcery.com>
6792
6793 * gdb.cp/casts.exp: Set print symbol off.
6794 * gdb.cp/class2.exp: Likewise.
6795 * gdb.cp/overload.exp: Likewise.
6796 * gdb.cp/templates.exp: Likewise.
6797
d769e349
DE
67982014-08-11 Doug Evans <dje@google.com>
6799
6800 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6801 (test_load_shlib): Update.
6802
20c6f1e1
YQ
68032014-08-09 Yao Qi <yao@codesourcery.com>
6804
6805 * gdb.base/display.exp: Invoke is_address_zero_readable.
6806 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6807 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6808 * gdb.base/hbreak-unmapped.exp: Return if
6809 is_address_zero_readable returns true.
6810 * gdb.base/signest.exp: Likewise.
6811 * gdb.base/signull.exp: Likewise.
6812 * gdb.base/sigbpt.exp: Likewise.
6813 * gdb.guile/scm-disasm.exp: Do the test if
6814 is_address_zero_readable returns false.
6815 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6816 * gdb.python/py-arch.exp: Likewise.
6817 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6818 * lib/gdb.exp (is_address_zero_readable): New proc.
6819
5792e8e3
YQ
68202014-08-09 Yao Qi <yao@codesourcery.com>
6821
6822 PR testsuite/13443
6823 * gdb.mi/mi-var-display.exp: Make test messages unique.
6824
3cecbbbe
TT
68252014-08-04 Tom Tromey <tromey@redhat.com>
6826
6827 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
6828 target 0".
6829
00b51ff5
TT
68302014-08-04 Tom Tromey <tromey@redhat.com>
6831
6832 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6833 "target_resume".
6834
6908c509
JB
68352014-08-01 Joel Brobecker <brobecker@adacore.com>
6836
6837 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6838 inner_vla_struct_object_size.
6839 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6840 as xfail.
6841
cc6563d2
PA
68422014-07-30 Pedro Alves <palves@redhat.com>
6843
6844 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6845 comment.
6846
7e09a223
YQ
68472014-07-29 Yao Qi <yao@codesourcery.com>
6848
6849 PR gdb/17206
6850 * gdb.base/until-nodebug.exp: New.
6851
7ebdbe92
DE
68522014-07-28 Doug Evans <xdje42@gmail.com>
6853
6854 PR guile/17203
6855 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6856 previously existing parameter, and previously ambiguously spelled
6857 parameter.
6858
fdb1adc6
WN
68592014-07-28 Will Newton <will.newton@linaro.org>
6860
6861 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6862
186fcde0
DE
68632014-07-26 Ludovic Courtès <ludo@gnu.org>
6864 Doug Evans <xdje42@gmail.com>
6865
6866 PR guile/17146
6867 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6868
70509625
PA
68692014-07-25 Pedro Alves <palves@redhat.com>
6870
6871 * gdb.threads/signal-command-handle-nopass.c: New file.
6872 * gdb.threads/signal-command-handle-nopass.exp: New file.
6873 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6874 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6875 * gdb.threads/signal-delivered-right-thread.c: New file.
6876 * gdb.threads/signal-delivered-right-thread.exp: New file.
6877
c3f814a1
PA
68782014-07-25 Pedro Alves <palves@redhat.com>
6879
6880 * gdb.base/double-prompt-target-event-error.exp
6881 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6882 match.
6883 (cancel_pagination_in_target_event): Rework double prompt
6884 detection.
6885 * gdb.base/paginate-after-ctrl-c-running.exp
6886 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6887 <return>' match.
6888 * gdb.base/paginate-bg-execution.exp
6889 (test_bg_execution_pagination_return)
6890 (test_bg_execution_pagination_cancel): Remove '-notransfer
6891 <return>' matches.
6892 * gdb.base/paginate-execution-startup.exp
6893 (test_fg_execution_pagination_return)
6894 (test_fg_execution_pagination_cancel): Remove '-notransfer
6895 <return>' matches.
6896 * gdb.base/paginate-inferior-exit.exp
6897 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6898 match.
6899 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6900 * lib/gdb.exp (pagination_prompt): Run text through
6901 string_to_regexp.
6902 (gdb_test_multiple): Match $pagination_prompt instead of
6903 "<return>".
6904 (string_to_regexp): Move to lib/gdb-utils.exp.
6905
e214cf6c
JK
69062014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6907
6908 * gdb.arch/amd64-entry-value-paramref.S: New file.
6909 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6910 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6911 * gdb.arch/amd64-optimout-repeat.S: New file.
6912 * gdb.arch/amd64-optimout-repeat.c: New file.
6913 * gdb.arch/amd64-optimout-repeat.exp: New file.
6914
17d0c5c8
JK
69152014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6916
6917 PR gdb/17170
6918 * gdb.base/statistics.exp: New file.
6919
b8b8facf
DE
69202014-07-17 Doug Evans <dje@google.com>
6921
74b49205 6922 PR gdb/17170
b8b8facf
DE
6923 * gdb.base/maint.exp: Update testing of per-command stats.
6924
1b5d0ab3
PA
69252014-07-16 Pedro Alves <palves@redhat.com>
6926
6927 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6928 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6929 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6930 (tfile_write_buf): New functions.
6931 (add_memory_block): Rewrite using the above.
6932 (adjust_function_address): New function.
6933 (FUNCTION_ADDRESS): New macro.
6934 (write_basic_trace_file): Remove short_x local, and use
6935 tfile_write_16. Change type of func_addr local to unsigned long
6936 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6937 here. Cast argument of add_memory_block to char pointer.
6938 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6939 (main): Remove parameters.
6940 * gdb.trace/tfile.exp: Remove nowarnings.
6941
4d974e88
SM
69422014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6943
6944 * gdb.base/debug-expr.exp: Test string evaluation with
6945 "debug expression" on.
6946
41e99568
PA
69472014-07-15 Pedro Alves <palves@redhat.com>
6948
6949 * gdb.base/reread.exp: Use clean_restart.
6950
487d9753
PL
69512014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6952
6953 * gdb.arch/avr-flash-qualifer.c: New.
6954 * gdb.arch/avr-flash-qualifer.exp: New.
6955
cc1c52ad
PA
69562014-07-14 Pedro Alves <palves@redhat.com>
6957
6958 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6959 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6960
1e973570
PA
69612014-07-14 Pedro Alves <palves@redhat.com>
6962
6963 * gdb.base/double-prompt-target-event-error.c: New file.
6964 * gdb.base/double-prompt-target-event-error.exp: New file.
6965
93d6eb10
PA
69662014-07-14 Pedro Alves <palves@redhat.com>
6967
6968 PR gdb/17072
6969 * gdb.base/paginate-inferior-exit.c: New file.
6970 * gdb.base/paginate-inferior-exit.exp: New file.
6971
0017922d
PA
69722014-07-14 Pedro Alves <palves@redhat.com>
6973
6974 PR gdb/17072
6975 * gdb.base/paginate-bg-execution.c: New file.
6976 * gdb.base/paginate-bg-execution.exp: New file.
6977
94696ad3
PA
69782014-07-14 Pedro Alves <palves@redhat.com>
6979
6980 PR gdb/17072
6981 * gdb.base/paginate-execution-startup.c: New file.
6982 * gdb.base/paginate-execution-startup.exp: New file.
6983 * lib/gdb.exp (pagination_prompt): New global.
6984 (default_gdb_spawn): New procedure, factored out from
6985 default_gdb_spawn.
6986 (default_gdb_start): Adjust to call default_gdb_spawn.
6987 (gdb_spawn): New procedure.
6988
bd293940
PA
69892014-07-14 Pedro Alves <palves@redhat.com>
6990
6991 * lib/gdb.exp (gdb_assert): New procedure.
6992 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6993
c933f875
PA
69942014-07-14 Pedro Alves <palves@redhat.com>
6995
6996 * gdb.base/execution-termios.c: New file.
6997 * gdb.base/execution-termios.exp: New file.
6998
d98b7a16
TT
69992014-07-14 Tom Tromey <tromey@redhat.com>
7000
7001 * gdb.cp/vla-cxx.cc: New file.
7002 * gdb.cp/vla-cxx.exp: New file.
7003
548740d6
TT
70042014-07-14 Tom Tromey <tromey@redhat.com>
7005
7006 * gdb.reverse/rerun-prec.c: New file.
7007 * gdb.reverse/rerun-prec.exp: New file.
7008
a25eb028
MR
70092014-07-12 Maciej W. Rozycki <macro@mips.com>
7010 Maciej W. Rozycki <macro@codesourcery.com>
7011
7012 * lib/gdb-utils.exp: New file.
7013 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
7014 inline `gdb_init_command' processing.
7015 (gdb_start_cmd): Likewise.
7016 * lib/mi-support.exp (mi_run_cmd): Likewise.
7017 * README: Document `gdb_init_command' and `gdb_init_commands'.
7018
218c2655
JK
70192014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7020
7021 Fix false FAIL running under a very long directory name.
7022 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
7023 and "set print elements 10000". Twice.
7024
5401fde3
YQ
70252014-07-11 Yao Qi <yao@codesourcery.com>
7026
7027 * gdb.base/exprs.exp: "set print symbol off".
7028
e76126e8
PA
70292014-07-11 Pedro Alves <palves@redhat.com>
7030
7031 * gdb.threads/kill.c: New file.
7032 * gdb.threads/kill.exp: New file.
7033
2d6f0de6
YQ
70342014-07-10 Yao Qi <yao@codesourcery.com>
7035
7036 * gdb.trace/tfile.c (write_basic_trace_file)
7037 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
7038 address written to trace file.
7039
7180e04a
PA
70402014-07-09 Pedro Alves <palves@redhat.com>
7041
7042 * gdb.base/attach-wait-input.exp: New file.
7043 * gdb.base/attach-wait-input.c: New file.
7044
9a9a7608
AB
70452014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7046
7047 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
7048 setting up test structures.
7049 (main): Call new test function.
7050 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
7051 test function, continue into test function and walk test
7052 structures.
7053
161ac41e
YQ
70542014-07-02 Yao Qi <yao@codesourcery.com>
7055
7056 * gdb.trace/entry-values.c: Define labels 'foo_start' and
7057 'bar_start' at the beginning of functions 'foo' and 'bar'
7058 respectively.
7059 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
7060 instead of 'foo' and 'bar'.
7061
1f267ae3
MM
70622014-07-08 Markus Metzger <markus.t.metzger@intel.com>
7063
7064 * gdb.btrace/segv.exp: New.
7065 * gdb.btrace/segv.c: New.
7066
2b239efb
LM
70672014-07-02 Luis Machado <lgustavo@codesourcery.com>
7068
7069 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
7070 instruction.
7071
cf363f18
MW
70722014-06-30 Mark Wielaard <mjw@redhat.com>
7073
7074 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
7075 vulture, vilify, villar): New volatile array constants.
7076 (vindictive, vegetation): New const volatile array constants.
7077 * gdb.base/volatile.exp: Test volatile and const volatile array
7078 types.
7079
aebf9d24
AA
70802014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7081
7082 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
7083 target lacks support for awatch, rwatch, or hbreak.
7084
b67a2c6f
YQ
70852014-06-27 Yao Qi <yao@codesourcery.com>
7086
7087 * gdb.multi/dummy-frame-restore.exp: New.
7088 * gdb.multi/dummy-frame-restore.c: New.
7089
aef92902
MM
70902014-06-25 Markus Metzger <markus.t.metzger@intel.com>
7091
7092 * gdb.btrace/gcore.exp: New.
7093
8e9db26e
PA
70942014-06-23 Pedro Alves <palves@redhat.com>
7095
7096 * gdb.base/watchpoint-reuse-slot.c: New file.
7097 * gdb.base/watchpoint-reuse-slot.exp: New file.
7098
70afc5b7
SC
70992014-06-23 Siva Chandra Reddy <sivachandra@google.com>
7100
7101 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
7102 progspace's filename in 'info', 'enable' and 'disable' command
7103 tests.
7104
b972bd9c
JK
71052014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7106
7107 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
7108 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7109 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
7110
125f8a3d
GB
71112014-06-20 Gary Benson <gbenson@redhat.com>
7112
7113 * gdb.arch/i386-avx.exp: Fix include file location.
7114 * gdb.arch/i386-sse.exp: Likewise.
7115
3ed9baed
IB
71162014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7117
7118 * gdb.dlang/expression.exp: New file.
7119
034f788c
PA
71202014-06-19 Pedro Alves <palves@redhat.com>
7121
7122 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7123 out from ...
7124 (top level): ... here. Iterate running tests under different
7125 scheduler-locking settings.
7126
45371d0c
LM
71272014-06-18 Luis Machado <lgustavo@codesourcery.com>
7128
7129 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7130 to DW_FORM_addr and use non-zero addresses.
7131
5d376983
SC
71322014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7133
7134 PR gdb/17017
7135 * gdb.python/py-xmethods.cc: Add global function call counters and
7136 increment them in their respective functions. Remove "cout"
7137 statements.
7138 * gdb.python/py-xmethods.exp: Make tests check the global function
7139 call counters instead of depending on inferior IO.
7140
a1aa2221
LM
71412014-06-18 Don Breazeal <donb@codesourcery.com>
7142
7143 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7144 Deleted procedure.
7145 (explicit_fork_parent_follow): Deleted procedure.
7146 (explicit_fork_child_follow): Deleted procedure.
7147 (test_follow_fork): New procedure.
7148 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 7149 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
7150 procedure calls.
7151
0fc05997
YQ
71522014-06-17 Yao Qi <yao@codesourcery.com>
7153
7154 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7155 CP1252.
7156
70795c52
LM
71572014-06-17 Luis Machado <lgustavo@codesourcery.com>
7158
7159 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7160 Initialize ptr and S explicitly.
7161 (skip_type_update_when_not_use_rtti_test): Likewise.
7162
6be47f0c
KS
71632014-06-16 Keith Seitz <keiths@redhat.com>
7164
7165 PR mi/15863
7166 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7167 the inferior is started.
7168
d03de421
PA
71692014-06-16 Pedro Alves <palves@redhat.com>
7170
7171 * gdb.base/break-main-file-remove-fail.c: New file.
7172 * gdb.base/break-main-file-remove-fail.exp: New file.
7173 * gdb.base/break-unload-file.exp: Use build_executable instead of
7174 prepare_for_testing.
7175 (test_break): New parameter "initial_load". Handle it.
7176 (top level): Add initial_load cmdline/file axis.
7177
f9579b99
TT
71782014-06-12 Tom Tromey <tromey@redhat.com>
7179
7180 * gdb.base/completion.exp: Don't use directory name in test.
7181
3657956b
GB
71822014-06-09 Gary Benson <gbenson@redhat.com>
7183
7184 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7185 separate the always-available ANSI-standard signals from the
7186 signals that require checking.
7187 (main): Likewise.
7188 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7189 Likewise.
7190 (main): Likewise.
7191
4186eb54
KS
71922014-06-07 Keith Seitz <keiths@redhat.com>
7193
7194 Revert:
7195 PR c++/16253
7196 * gdb.cp/var-tag.cc: New file.
7197 * gdb.cp/var-tag.exp: New file.
7198 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7199 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7200 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7201 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7202
25326a28 72032014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
7204
7205 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7206
829155c9
PA
72072014-06-06 Pedro Alves <palves@redhat.com>
7208
7209 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7210 in target debug output instead of looking at RSP packets,
7211 disabling the test on any target that uses hardware stepping.
7212 Update comments.
7213
61c8d22e
PA
72142014-06-06 Pedro Alves <palves@redhat.com>
7215
7216 * gdb.base/break-unload-file.exp: Fix typo.
7217
d9a47287
YQ
72182014-06-06 Yao Qi <yao@codesourcery.com>
7219
7220 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7221 from "jit_function" to "^jit_function".
7222
e5e01dbf
YQ
72232014-06-06 Yao Qi <yao@codesourcery.com>
7224
7225 * gdb.base/async.c (foo): Add one statement.
7226 * gdb.base/async.exp: Get the next instruction address and
7227 match the output of "nexti" by instruction address. Match
7228 the hex address in the output of "finish".
7229
73ba372c
GB
72302014-06-06 Gary Benson <gbenson@redhat.com>
7231
7232 * gdb.base/call-signals.c: Remove preprocessor conditionals
7233 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7234 SIGSEGV and SIGTERM.
7235 * gdb.base/sigall.c: Likewise.
7236 * gdb.base/unwindonsignal.c: Likewise.
7237 * gdb.reverse/sigall-reverse.c: Likewise.
7238
831517df
YQ
72392014-06-06 Yao Qi <yao@codesourcery.com>
7240
7241 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7242 readable, skip the test.
7243
b8b91e98
YQ
72442014-06-06 Yao Qi <yao@codesourcery.com>
7245
7246 * gdb.threads/staticthreads.c (thread_function): Move the line
7247 setting breakpoint on forward.
7248 * gdb.threads/staticthreads.exp: Update comments.
7249
fb934770
LC
72502014-06-05 Ludovic Courtès <ludo@gnu.org>
7251
7252 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7253 "history-append! type error".
7254
6ef284bd
SM
72552014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7256
7257 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7258 erroneous dprintf expected input.
7259
a872e241
DE
72602014-06-04 Doug Evans <xdje42@gmail.com>
7261
7262 * gdb.guile/scm-generics.exp: Delete.
7263
16f691fb
DE
72642014-06-04 Doug Evans <xdje42@gmail.com>
7265
7266 * gdb.guile/scm-breakpoint.exp: Update.
7267 Add tests for breakpoint registration.
7268
012370f6
TT
72692014-06-04 Tom Tromey <tromey@redhat.com>
7270
7271 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7272 VLA-in-union.
7273 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7274 inner_vla_struct, vla_union types. Initialize objects of those
7275 types and compute their sizes.
7276
9f5a4cef
HZ
72772014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7278 Hui Zhu <hui@codesourcery.com>
7279
7280 * gdb.base/fileio.exp: Add test for shell not available as well as
7281 available.
7282 * gdb.base/fileio.c (test_system): Check for shell twice.
7283
90a45c4d
YQ
72842014-06-04 Yao Qi <yao@codesourcery.com>
7285
7286 * gdb.base/auto-connect-native-target.exp: Remove redundant
7287 space from the regexp pattern.
7288
70017e41
YQ
72892014-06-04 Yao Qi <yao@codesourcery.com>
7290
7291 * gdb.base/default.exp: Replace "child" with "native" in
7292 regexp pattern.
7293
883964a7
SC
72942014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7295
7296 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7297 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7298 * gdb.python/py-xmethods.py: Python script supporting the
7299 new testcase and tests.
7300
ef370185
JB
73012014-06-03 Joel Brobecker <brobecker@adacore.com>
7302 Pedro Alves <palves@redhat.com>
7303
7304 PR breakpoints/17000
7305 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7306 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7307
1e2ccb61
BM
73082014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7309
7310 * gdb.base/subst.exp: Add tests to verify partial path matching
7311 output.
7312
c6ec5ab2
PA
73132014-06-03 Pedro Alves <palves@redhat.com>
7314
7315 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7316 target that doesn't use software single-stepping.
7317
835c559f
PA
73182014-06-03 Pedro Alves <palves@redhat.com>
7319
7320 PR breakpoints/17000
7321 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7322 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7323
06eb1586
DE
73242014-06-02 Doug Evans <xdje42@gmail.com>
7325
7326 * gdb.guile/scm-parameter.exp: New file.
7327
e698b8c4
DE
73282014-06-02 Doug Evans <xdje42@gmail.com>
7329
7330 * gdb.guile/scm-cmd.c: New file.
7331 * gdb.guile/scm-cmd.exp: New file.
7332
ded03782
DE
73332014-06-02 Doug Evans <xdje42@gmail.com>
7334
7335 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7336 pretty-printer lookup.
7337 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7338 (make-pp_s-printer): Call it.
7339 (make-pretty-printer-from-dict): New function.
7340 (lookup-pretty-printer-maker-from-dict): New function.
7341 (*pretty-printer*): Simplify.
7342 (make-objfile-pp_s-printer): New function.
7343 (install-objfile-pretty-printers!): New function.
7344 (make-progspace-pp_s-printer): New function.
7345 (install-progspace-pretty-printers!): New function.
7346 * gdb.guile/scm-progspace.c: New file.
7347 * gdb.guile/scm-progspace.exp: New file.
7348
41fac0cf
PA
73492014-06-02 Pedro Alves <palves@redhat.com>
7350
7351 * gdb.base/dprintf-bp-same-addr.c: New file.
7352 * gdb.base/dprintf-bp-same-addr.exp: New file.
7353
96ae5695
EBM
73542014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7355
7356 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7357 * gdb.arch/powerpc-power.s: Likewise.
7358
da02b3a8
JB
73592014-06-02 Joel Brobecker <brobecker@adacore.com>
7360
7361 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7362
c72b2e7b
YQ
73632014-06-01 Yao Qi <yao@codesourcery.com>
7364
7365 * gdb.base/watchpoint.exp (test_watch_location): Check null
7366 pointer can be dereferenced. If not, do the test, otherwise
7367 skip it.
7368
53e8a631
AB
73692014-05-30 Andrew Burgess <aburgess@broadcom.com>
7370
7371 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7372 results.
7373 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7374
938f0e2f
AB
73752014-05-30 Andrew Burgess <aburgess@broadcom.com>
7376
7377 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7378 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7379 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7380 * gdb.arch/amd64-invalid-stack-top.c: New file.
7381 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7382
9ba6657a
PA
73832014-05-30 Pedro Alves <palves@redhat.com>
7384
7385 PR breakpoints/17000
7386 * gdb.base/sss-bp-on-user-bp.c: New file.
7387 * gdb.base/sss-bp-on-user-bp.exp: New file.
7388
522c09bf
DB
73892014-05-30 David Blaikie <dblaikie@gmail.com>
7390
7391 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7392 gnu_inline semantics via attribute.
7393 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7394 source explicitly specifies the required semantics.
7395
bf4ef81e
MR
73962014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7397
7398 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7399
329ea579
PA
74002014-05-29 Pedro Alves <palves@redhat.com>
7401 Tom Tromey <tromey@redhat.com>
7402
7403 * gdb.base/async-shell.exp: Don't enable target-async.
7404 * gdb.base/async.exp
7405 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7406 parameter. Adjust.
7407 (top level): Don't test with "target-async".
7408 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7409 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7410 * gdb.base/inferior-died.exp: Don't enable target-async.
7411 * gdb.base/interrupt-noterm.exp: Likewise.
7412 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7413 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7414 * gdb.mi/mi-nonstop.exp: Likewise.
7415 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7416 * gdb.mi/mi-nsintrall.exp: Likewise.
7417 * gdb.mi/mi-nsmoribund.exp: Likewise.
7418 * gdb.mi/mi-nsthrexec.exp: Likewise.
7419 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7420 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7421 * gdb.python/py-evsignal.exp: Don't enable target-async.
7422 * gdb.python/py-evthreads.exp: Likewise.
7423 * gdb.python/py-prompt.exp: Likewise.
7424 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7425 * gdb.server/solib-list.exp: Don't enable target-async.
7426 * gdb.threads/thread-specific-bp.exp: Likewise.
7427 * lib/mi-support.exp: Adjust to use mi-async.
7428
fd664c91
PA
74292014-05-29 Pedro Alves <palves@redhat.com>
7430
7431 PR gdb/13860
7432 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7433 reason, even in sync mode.
7434
251bde03
PA
74352014-05-29 Pedro Alves <palves@redhat.com>
7436 Hui Zhu <hui@codesourcery.com>
7437
7438 PR PR15693
7439 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7440 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7441 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7442 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7443
7f3c0343
JB
74442014-05-28 Joel Brobecker <brobecker@adacore.com>
7445
7446 * config/monitor.exp (gdb_target_monitor): Replace use of
7447 "set remotebaud" by "set serial baud".
7448
b2715b27
AW
74492014-05-26 Andy Wingo <wingo@igalia.com>
7450
7451 * gdb.guile/scm-breakpoint.exp:
7452 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7453 properties instead of gdb-object-properties.
7454
498a4489
YQ
74552014-05-26 Yao Qi <yao@codesourcery.com>
7456
7457 * gdb.server/no-thread-db.exp: Specify source file name
7458 explicitly when setting a breakpoint.
7459
589fdceb
MM
74602014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7461
7462 * gdb.btrace/vdso.c: New.
7463 * gdb.btrace/vdso.exp: New.
7464
e9089e05
MM
74652014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7466
7467 * gdb.base/gcore.exp (capture_command_output): Move ...
7468 * lib/gdb.exp (capture_command_output): ... here.
7469
67b5c0c1
MM
74702014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7471
7472 * gdb.btrace/data.exp: Test memory access during btrace replay.
7473
a2199296
SM
74742014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7475
7476 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7477
17b2616c
PA
74782014-05-21 Pedro Alves <palves@redhat.com>
7479
7480 PR gdb/13860
7481 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7482 (top level): Test that output related to execution commands is
7483 sent to the console with CLI commands, but not with MI commands.
7484 Test that breakpoint events are always mirrored to the console.
7485 Also expect the new source line to be output after a "next" in
7486 async mode too. Make it a pass/fail test.
7487 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7488 output.
7489 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7490
5166082f
PA
74912014-05-21 Pedro Alves <palves@redhat.com>
7492
7493 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7494 Use them to test variations of "list" after reaching a breakpoint.
7495 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7496 Test "list" with listsize 10 after reaching a breakpoint.
7497 * gdb.python/python.exp (decode_line current location line
7498 number): Adjust expected line number.
7499
2f25d70f
SM
75002014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7501
7502 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7503 behavior for $args, pass it directly to "run".
7504
ff604a67
MR
75052014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7506
7507 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7508 30000 to 65536.
7509
6a3cb8e8
PA
75102014-05-21 Pedro Alves <palves@redhat.com>
7511
7512 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7513 auto-connect-native-target off".
7514 * gdb.base/auto-connect-native-target.c: New file.
7515 * gdb.base/auto-connect-native-target.exp: New file.
7516
4ebfc96e
PA
75172014-05-21 Pedro Alves <palves@redhat.com>
7518
7519 * gdb.base/default.exp: Test "target native" instead of "target
7520 child".
7521
36d46afb
MW
75222014-05-21 Mark Wielaard <mjw@redhat.com>
7523
7524 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7525
5876f503
JK
75262014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7527
7528 Fix TLS access for -static -pthread.
7529 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7530 <HAVE_TLS> (thread_function, main): Initialize it.
7531 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7532 Add clean_restart.
7533 <$have_tls != "">: Check TLSVAR.
7534
0256a6ac
PA
75352014-05-21 Pedro Alves <palves@redhat.com>
7536
7537 * gdb.base/dcache-line-read-error.c: New.
7538 * gdb.base/dcache-line-read-error.exp: New.
7539
936d2992
PA
75402014-05-20 Pedro Alves <palves@redhat.com>
7541
7542 * gdb.base/compare-sections.c: New file.
7543 * gdb.base/compare-sections.exp: New file.
7544
802e8e6d
PA
75452014-05-20 Pedro Alves <palves@redhat.com>
7546
7547 * gdb.base/break-idempotent.c: New file.
7548 * gdb.base/break-idempotent.exp: New file.
7549
e59fa00f
MM
75502014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7551
7552 * gdb.btrace/nohist.exp: New.
7553
8b696e31
YQ
75542014-05-20 Yao Qi <yao@codesourcery.com>
7555
7556 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7557 gdb.reverse directory and gdb_reverse_timeout exists in board
7558 setting.
7559 * README: Document gdb_reverse_timeout.
7560
73c9764f
YQ
75612014-05-20 Yao Qi <yao@codesourcery.com>
7562
7563 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7564 'test_file_name'. Treat args as a string instead of a list.
7565 (gdb_init): Rename argument 'args' by 'test_file_name'.
7566
f1f4348a
JK
75672014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7568
7569 * gdb.arch/powerpc-power.exp: New file.
7570 * gdb.arch/powerpc-power.s: New file.
7571
0dbe70ce
DE
75722014-05-16 Doug Evans <dje@google.com>
7573
7574 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
7575 * gdb.base/completion.exp: Check that all expected files exist
7576 before doing file completion.
0dbe70ce 7577
8d551b02
DE
75782014-05-16 Doug Evans <dje@google.com>
7579
7580 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7581 Update.
7582 (do_syscall_tests_without_xml): Update.
7583
73eb7709
PA
75842014-05-16 Pedro Alves <palves@redhat.com>
7585
7586 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7587 instead of "unknown output after running".
7588
3fae92fc
YQ
75892014-05-16 Yao Qi <yao@codesourcery.com>
7590
7591 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7592 file1.txt from host at the end.
7593 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7594
c2b2ccc5
DE
75952014-05-15 Doug Evans <dje@google.com>
7596
7597 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7598 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7599 loading file. Add test for TU lookup.
7600
8c217a4b
SM
76012014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7602
7603 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7604 calling "-exec-arguments" or "set args" before running the
7605 inferior.
7606
3deb39c6
SM
76072014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7608
7609 * lib/mi-support.exp (mi_expect_stop): Expect message for
7610 inferiors that exit with non-zero exit code.
7611
71a79f8c
YQ
76122014-05-14 Yao Qi <yao@codesourcery.com>
7613
7614 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7615 match absolute path on remote host.
7616 (test_file_list_exec_source_files): Remove "/" from the
7617 pattern.
7618
f23fcd46
YQ
76192014-05-14 Yao Qi <yao@codesourcery.com>
7620
7621 * boards/local-remote-host-notty.exp (${board}_file): New
7622 proc.
7623
9404b58f
KM
76242014-05-07 Kyle McMartin <kyle@redhat.com>
7625
7626 Pushed by Joel Brobecker <brobecker@adacore.com>.
7627 * gdb.arch/aarch64-atomic-inst.c: New file.
7628 * gdb.arch/aarch64-atomic-inst.exp: New file.
7629
5e45f04c
YQ
76302014-05-07 Yao Qi <yao@codesourcery.com>
7631
7632 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7633 in current context" too.
7634
c888a17d
KS
76352014-05-05 Keith Seitz <keiths@redhat.com>
7636
7637 * gdb.linespec/ls-dollar.exp: Add test for linespec
7638 file:convenience_variable.
7639
290a839c
YQ
76402014-05-05 Yao Qi <yao@codesourcery.com>
7641
7642 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7643 traceframes into tfile and ctf trace files. Read data from
7644 trace file and test collected data.
7645 (gdb_collect_locals_test): Likewise.
7646 (gdb_unavailable_registers_test): Likewise.
7647 (gdb_unavailable_floats): Likewise.
7648 (gdb_collect_globals_test): Likewise.
7649 (top-level): Append "ctf" to trace_file_targets if GDB
7650 supports.
7651
b5262cd0
YQ
76522014-05-05 Yao Qi <yao@codesourcery.com>
7653
7654 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7655 code to ...
7656 (gdb_collect_args_test_1): ... it. New proc.
7657 (gdb_collect_locals_test): Move some code to ...
7658 (gdb_collect_locals_test_1): ... it. New proc.
7659 (gdb_unavailable_registers_test): Move some code to ...
7660 (gdb_unavailable_registers_test_1): ... it. New proc.
7661 (gdb_unavailable_floats): Move some code to ...
7662 (gdb_unavailable_floats_1): ... it. New proc.
7663
30a1e6cc
SDJ
76642014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7665
7666 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7667 probes to test for bitness recognition.
7668 * gdb.arch/amd64-stap-optional-prefix.exp
7669 (test_probe_value_without_reg): New procedure.
7670 Add code to test for different kinds of bitness.
7671
f33da99a
SDJ
76722014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7673
7674 PR breakpoints/16889
7675 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7676 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7677
5b80f00d
PA
76782014-05-01 Pedro Alves <palves@redhat.com>
7679
7680 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7681 gdb_file_cmd if no file is specified.
7682 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7683 last_loaded_file to set the remote exec-file.
7684
f8c2a73c
PA
76852014-05-01 Pedro Alves <palves@redhat.com>
7686
7687 * boards/local-remote-host.exp: New file.
7688
be6e8ac7
PA
76892014-05-01 Pedro Alves <palves@redhat.com>
7690
7691 * boards/local-remote-host.exp: Rename to ...
7692 * boards/local-remote-host-notty.exp: ... this.
7693
cac0dc8f
JB
76942014-04-28 Joel Brobecker <brobecker@adacore.com>
7695
7696 * gdb.ada/dyn_arrayidx: New testcase.
7697
9730e6cc
YQ
76982014-04-26 Yao Qi <yao@codesourcery.com>
7699
7700 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7701 and compute the length of function main. Save it in
7702 $main_length.
7703 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7704 (top-level): Use gdb_compile to compile objects into
7705 executable and restart GDB. Remove invocation to
7706 prepare_for_testing.
7707
7ae1a6a6
PA
77082014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7709 Pedro Alves <palves@redhat.com>
7710
7711 PR server/16255
7712 * gdb.multi/multi-attach.c: New file.
7713 * gdb.multi/multi-attach.exp: New file.
7714
4082afcc
PA
77152014-04-25 Pedro Alves <palves@redhat.com>
7716
7717 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7718 user.
7719 (top level): Test that "set remote conditional-breakpoints-packet
7720 off" works as intended.
7721 * gdb.base/dprintf.exp: Test that "set remote
7722 breakpoint-commands-packet off" works as intended.
7723 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7724 New function.
7725 (top level): Call it.
7726 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7727 remote fast-tracepoints-packet off" works as intended.
7728 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7729 * lib/gdb.exp (gdb_is_target_remote): ... here.
7730
2abc3f8d
DB
77312014-04-24 David Blaikie <dblaikie@gmail.com>
7732
7733 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7734 ensure clang would not discard them.
7735 * gdb.base/gdbvars.c: Ditto.
7736 * gdb.base/memattr.c: Ditto.
7737 * gdb.base/whatis.c: Ditto.
7738 * gdb.python/py-prettyprint.c: Ditto.
7739 * gdb.trace/actions.c: Ditto.
7740 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7741 ensure clang would not discard it.
7742
bfd39632
DB
77432014-04-24 David Blaikie <dblaikie@gmail.com>
7744
7745 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7746 clang to emit the full definition of type required by the test
7747 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7748
22842ff6
DB
77492014-04-24 David Blaikie <dblaikie@gmail.com>
7750
7751 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7752 coax Clang into emitting the definition of the type.
7753 * gdb.cp/pr10728-x.h (y): Ditto.
7754 * gdb.cp/pr10728-y.cc (y): Ditto.
7755
c2e827ad
DB
77562014-04-24 David Blaikie <dblaikie@gmail.com>
7757
7758 * gdb.base/label.exp: XFAIL label related tests under Clang.
7759 * gdb.cp/cplabel.exp: Ditto.
7760 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7761 under Clang those using labels.
7762
4c2d33e7
YQ
77632014-04-25 Yao Qi <yao@codesourcery.com>
7764
7765 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7766 double_label.
7767 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7768 partial_label and double_label.
7769
56083b99
DB
77702014-04-24 David Blaikie <dblaikie@gmail.com>
7771
7772 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7773
25d4e99d
DB
77742014-04-24 David Blaikie <dblaikie@gmail.com>
7775
7776 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7777 of the function to work across GCC and Clang.
7778 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7779 pointer types (const void ** const V void **).
7780
01f9f808
MS
77812014-04-24 Michael Sturm <michael.sturm@mintel.com>
7782 Walfred Tedeschi <walfred.tedeschi@intel.com>
7783
7784 * Makefile.in (EXECUTABLES): Added i386-avx512.
7785 * gdb.arch/i386-avx512.c: New file.
7786 * gdb.arch/i386-avx512.exp: Likewise.
7787
4b48d439
KS
77882014-04-23 Keith Seitz <keiths@redhat.com>
7789
7790 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7791 (mi_make_breakpoint_table): New procedure.
7792 (mi_create_breakpoint): Use mi_make_breakpoint
7793 and return the result.
7794 (mi_make_breakpoint): New procedure.
7795 (mi_build_kv_pairs): New procedure.
7796
7797 * gdb.mi/mi-break.exp: Remove unused globals,
7798 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7799 All callers updated.
7800 * gdb.mi/mi-dprintf.exp: Use variable to track command
7801 number.
7802 Update all callers of mi_create_breakpoint and use
7803 mi_make_breakpoint_table.
7804 Remove any unused global variables.
7805 * gdb.mi/mi-nonstop.exp: Likewise.
7806 * gdb.mi/mi-nsintrall.exp: Likewise.
7807 * gdb.mi/mi-nsmoribund.exp: Likewise.
7808 * gdb.mi/mi-nsthrexec.exp: Likewise.
7809 * gdb.mi/mi-reverse.exp: Likewise.
7810 * gdb.mi/mi-simplerun.exp: Likewise.
7811 * gdb.mi/mi-stepn.exp: Likewise.
7812 * gdb.mi/mi-syn-frame.exp: Likewise.
7813 * gdb.mi/mi-until.exp: Likewise.
7814 * gdb.mi/mi-var-cp.exp: Likewise.
7815 * gdb.mi/mi-var-display.exp: Likewise.
7816 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7817 * gdb.mi/mi2-var-child.exp: Likewise.
7818 * gdb.mi/mi-vla-c99.exp: Likewise.
7819 * lib/mi-support.exp: Likewise.
7820
7821 From Ian Lance Taylor <iant@cygnus.com>:
7822 * lib/gdb.exp (parse_args): New procedure.
7823
08351840
PA
78242014-04-23 Pedro Alves <palves@redhat.com>
7825
7826 * gdb.base/break-unload-file.c: New file.
7827 * gdb.base/break-unload-file.exp: New file.
7828 * gdb.base/sym-file-lib.c (baz): New function.
7829 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7830 field.
7831 (load): Store the segment's mapped size.
7832 (unload): New function.
7833 (unload_shlib): New function.
7834 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7835 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7836 set a breakpoint at baz, and call it.
7837 * gdb.base/sym-file.exp: New tests for stale breakpoint
7838 instructions.
7839
076855f9
PA
78402014-04-23 Pedro Alves <palves@redhat.com>
7841
7842 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7843 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7844 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7845 * gdb.base/hbreak-unmapped.c: New file.
7846 * gdb.base/hbreak-unmapped.exp: New file.
7847 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7848 * lib/gdb.exp (gdb_is_target_remote): ... here.
7849
483805cf
PA
78502014-04-22 Pedro Alves <palves@redhat.com>
7851
7852 * gdb.base/consecutive-step-over.c: New file.
7853 * gdb.base/consecutive-step-over.exp: New file.
7854
06d97543
PA
78552014-04-22 Pedro Alves <palves@redhat.com>
7856
7857 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7858 instead of send_gdb/gdb_expect.
7859
b4429ea2
YQ
78602014-04-22 Yao Qi <yao@codesourcery.com>
7861
7862 * lib/trace-support.exp (generate_tracefile): New procedure.
7863 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7864 return 0.
7865 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7866 if generate_tracefile returns 1.
7867
51d48146
PA
78682014-04-18 Tom Tromey <palves@redhat.com>
7869 Pedro alves <tromey@redhat.com>
7870
7871 PR backtrace/15558
7872 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7873 with a backtrace limit.
7874 * gdb.python/py-frame-inline.exp: Test running to an inline
7875 function with a backtrace limit, and printing the newest frame.
7876 * gdb.python/py-frame-inline.c (main): Call f.
7877
bd1dce5f
MS
78782014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7879
7880 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7881
40d1a503
MS
78822014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7883
7884 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7885 Drop prefix from unsupported source file path.
7886
389b98f7
YQ
78872014-04-17 Yao Qi <yao@codesourcery.com>
7888
7889 * lib/gdb.exp (with_target_charset): New proc.
7890 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7891 with_target_charset.
7892 (test_print_strings): Likewise.
7893 (test_repeat_bytes): Likewise.
7894 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7895 for some tests.
7896
22869d73
KS
78972014-04-16 Keith Seitz <keiths@redhat.com>
7898
7899 PR gdb/15827
7900 * gdb.dwarf2/corrupt.c: New file.
7901 * gdb.dwarf2/corrupt.exp: New file.
7902
c4f87ca6
KS
79032014-04-16 Keith Seitz <keiths@redhat.com>
7904
7905 PR c++/16597
7906 * gdb.cp/namelessclass.cc: New file.
7907 * gdb.cp/namelessclass.exp: New file.
7908 * gdb.cp/namelessclass.S: New file.
7909
ab19de87
DE
79102014-04-16 Doug Evans <dje@google.com>
7911
7912 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7913 Add comment.
7914 (gdbserver_default_get_comm_port): New function.
7915 (gdbserver_start): Check if board file provided
7916 "gdbserver,get_comm_port" and use it if so.
7917 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7918 (gdb,socketport): Set to "stdio".
7919 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7920 (stdio_gdbserver_template): Delete.
7921 (${board}_get_remote_address): Update.
7922 (${board}_build_remote_cmd): Delete.
7923 (${board}_get_comm_port): New function.
7924 (${board}_spawn): Update.
7925 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7926 Delete.
7927 (${board}_get_remote_address): Update.
7928 (${board}_get_comm_port): New function.
7929
fc98a809
AB
79302014-04-16 Andrew Burgess <aburgess@broadcom.com>
7931
7932 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7933 appearing in any order.
7934
87fd9e6e
DE
79352014-04-15 Doug Evans <dje@google.com>
7936
7937 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7938 uninitialized value of "description".
7939
099fc3ea
KS
79402014-04-15 Keith Seitz <keiths@redhat.com>
7941
7942 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7943 Remove unused globals.
7944 (test_running_the_program): Likewise.
7945 (test_controlled_execution): Likewise.
7946 (test_controlling_breakpoints): Likewise.
7947 (test_program_termination): Likewise.
7948
5da151d4
KS
79492014-04-15 Keith Seitz <keiths@redhat.com>
7950
7951 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7952 unused globals.
7953 (test_rbreak_creation_and_listing): Likewise.
7954 (test_ignore_count): Likewise.
7955 (test_error): Likewise.
7956
35e5d2f0
PA
79572014-04-15 Pedro Alves <palves@redhat.com>
7958
7959 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7960 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7961 sym-file-loader.c.
7962 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7963 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7964 to sym-file-loader.c.
7965 (struct library): Forward declare.
7966 (load_shlib, lookup_function): Change prototypes.
7967 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7968 (translate_offset): Remove declarations.
7969 (get_text_addr): New declaration.
7970 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7971 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7972 sym-file-loader.h.
7973 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7974 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7975 here from sym-file-loader.h.
7976 (struct library): New structure.
7977 (load_shlib, lookup_function): Change prototypes and adjust to
7978 work with a struct library.
7979 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7980 (translate_offset): Make static.
7981 (get_text_addr): New function.
7982 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7983
eb4c1710
PA
79842014-04-15 Pedro Alves <palves@redhat.com>
7985
7986 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7987
2d1baf52
PA
79882014-04-15 Pedro Alves <palves@redhat.com>
7989
7990 * gdb.base/sym-file-loader.c: Include <limits.h>.
7991 (SELF_LINK): New define.
7992 (get_origin): New function.
7993 (load_shlib): Use it.
7994 * gdb.base/sym-file.exp: Don't early return if the target is
7995 remote. Use runto_main, and issue fail is that fails. Use
7996 gdb_load_shlibs.
7997 (shlib_name): Delete.
7998 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7999
7dd6df01
PA
80002014-04-15 Pedro Alves <palves@redhat.com>
8001
8002 * gdb.base/sym-file.exp: Remove regex characters from test
8003 message. Don't refer to breakpoint numbers in test messages.
8004
b50c8614
KS
80052014-04-14 Keith Seitz <keiths@redhat.com>
8006
8007 PR c++/16253
8008 * gdb.cp/var-tag.cc: New file.
8009 * gdb.cp/var-tag.exp: New file.
8010 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8011 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8012 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8013 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8014
3d567982
TT
80152014-04-14 Tom Tromey <tromey@redhat.com>
8016
8017 * gdb.cp/classes.exp (test_enums): Handle underlying type.
8018 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
8019 type.
8020 * gdb.cp/enum-class.exp: New file.
8021 * gdb.cp/enum-class.cc: New file.
8022
0626fc76
TT
80232014-04-14 Tom Tromey <tromey@redhat.com>
8024
8025 * gdb.dwarf2/enum-type.exp: New file.
8026
dca325b3
SA
80272014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8028
8029 * gdb.mi/mi-vla-c99.exp: New file.
8030 * gdb.mi/vla.c: New file.
8031
5854b38a
SA
80322014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8033
8034 * gdb.base/vla-datatypes.c: New file.
8035 * gdb.base/vla-datatypes.exp: New file.
8036
463bb957
SA
80372014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8038
8039 * gdb.base/vla-ptr.c: New file.
8040 * gdb.base/vla-ptr.exp: New file.
8041
3dd170be
SA
80422014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8043
8044 * gdb.dwarf2/count.exp: New file.
8045
5ecaaa66
SA
80462014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8047
8048 * gdb.base/vla-sideeffect.c: New file.
8049 * gdb.base/vla-sideeffect.exp: New file.
8050
41f1ada5
DB
80512014-04-14 David Blaikie <dblaikie@gmail.com>
8052
8053 * gdb.mi/non-stop.c: Add return value for non-void function return
8054 statement.
8055 * gdb.threads/staticthreads.c: Ditto.
8056
0be03e84
DE
80572014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8058 Doug Evans <xdje42@gmail.com>
8059
8060 * gdb.guile/scm-value.c: Improve test case.
8061 * gdb.guile/scm-value.exp: Add new test.
8062
f180a1fb
DB
80632014-04-11 David Blaikie <dblaikie@gmail.com>
8064
8065 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
8066 override Clang's default.
8067
6b662e19
JB
80682014-04-11 Joel Brobecker <brobecker@adacore.com>
8069
8070 Revert the following changes (regressions):
8071
8072 * gdb.base/vla-sideeffect.c: New file.
8073 * gdb.base/vla-sideeffect.exp: New file.
8074
8075 * gdb.dwarf2/count.exp: New file.
8076
8077 * gdb.base/vla-multi.c: New file.
8078 * gdb.base/vla-multi.exp: New file.
8079
8080 * gdb.base/vla-ptr.c: New file.
8081 * gdb.base/vla-ptr.exp: New file.
8082
8083 * gdb.base/vla-datatypes.c: New file.
8084 * gdb.base/vla-datatypes.exp: New file.
8085
8086 * gdb.mi/mi-vla-c99.exp: New file.
8087 * gdb.mi/vla.c: New file.
8088
245a5f0b
KS
80892014-04-11 Keith Seitz <keiths@redhat.com>
8090
8091 PR c++/16675
8092 * gdb.cp/cpsizeof.exp: New file.
8093 * gdb.cp/cpsizeof.cc: New file.
8094
58a84dcf
SA
80952014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8096
191a8a90
JB
8097 * gdb.mi/mi-vla-c99.exp: New file.
8098 * gdb.mi/vla.c: New file.
58a84dcf 8099
c8655f75
SA
81002014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8101
8102 * gdb.base/vla-datatypes.c: New file.
8103 * gdb.base/vla-datatypes.exp: New file.
8104
024e13b4
SA
81052014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8106
8107 * gdb.base/vla-ptr.c: New file.
8108 * gdb.base/vla-ptr.exp: New file.
8109
1a237e0e
SA
81102014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8111
8112 * gdb.base/vla-multi.c: New file.
8113 * gdb.base/vla-multi.exp: New file.
8114
504f3432
SA
81152014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8116
8117 * gdb.dwarf2/count.exp: New file.
8118
3bce8237
SA
81192014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8120
191a8a90
JB
8121 * gdb.base/vla-sideeffect.c: New file.
8122 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 8123
322f9c21
YQ
81242014-04-11 Yao Qi <yao@codesourcery.com>
8125
8126 * gdb.base/completion.exp: Check file exists before running tests
8127 on file completion.
8128
d708bcd1
PA
81292014-04-10 Pedro Alves <palves@redhat.com>
8130
8131 * gdb.base/cond-eval-mode.c: New file.
8132 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8133 prepare_for_testing to build the new file. Check result of
8134 runto_main.
8135 (test_break, test_watch): New procedures.
8136 (top level): Use them.
8137
ae1d2761
PM
81382014-04-08 Pierre Muller <muller@sourceware.org>
8139
8140 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8141 Ctrl-V use for mingw hosts.
8142
7af389b8
SC
81432014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8144
8145 * gdb.python/py-value.c: Improve test case.
8146 * gdb.python/py-value.exp: Add new test.
8147
5e703181
DE
81482014-04-07 David Blaikie <dblaikie@gmail.com>
8149
8150 * lib/compiler.c: Identify the clang compiler.
8151 * lib/compiler.cc: Ditto.
8152
9810b410
YQ
81532014-04-03 Yao Qi <yao@codesourcery.com>
8154
8155 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8156
98d1b8dc
AB
81572014-04-01 Anton Blanchard <anton@samba.org>
8158
8159 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8160 messages unique.
8161
3114cea1
AB
81622014-04-01 Anton Blanchard <anton@samba.org>
8163
8164 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8165 prepare_for_testing.
8166
62f7182c
AB
81672014-04-01 Anton Blanchard <anton@samba.org>
8168
8169 * gdb.arch/ppc64-atomic-inst.c: Remove.
8170 * gdb.arch/ppc64-atomic-inst.S: New file.
8171 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8172
770e7fc7
DE
81732014-03-31 Doug Evans <dje@google.com>
8174
8175 * gdb.base/print-symbol-loading-lib.c: New file.
8176 * gdb.base/print-symbol-loading-main.c: New file.
8177 * gdb.base/print-symbol-loading.exp: New file.
8178
46e2bafa
YQ
81792014-03-31 Yao Qi <yao@codesourcery.com>
8180
8181 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8182
8776cfe9
JB
81832014-03-28 Joel Brobecker <brobecker@adacore.com>
8184
8185 * gdb.ada/mi_dyn_arr: New testcase.
8186
5d1ef361
DE
81872014-03-27 Doug Evans <dje@google.com>
8188
8189 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8190
b5bee914
YQ
81912014-03-27 Yao Qi <yao@codesourcery.com>
8192
8193 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8194 if target is nios2-*-*.
8195
0d4d0e77
YQ
81962014-03-26 Yao Qi <yao@codesourcery.com>
8197
8198 * lib/gdb.exp (readline_is_used): New proc.
8199 * gdb.base/completion.exp: Move tests on command complete up.
8200 Skip the rest of tests if readline is not used.
8201 * gdb.ada/complete.exp: Skp the test if readline is not
8202 used.
8203 * gdb.base/filesym.exp: Likewise.
8204 * gdb.base/macscp.exp: Likewise.
8205 * gdb.base/readline-ask.exp: Likewise.
8206 * gdb.base/readline.exp: Likewise.
8207 * gdb.python/py-cmd.exp: Likewise.
8208 * gdb.trace/tfile.exp: Likewise.
8209
29361eee
YQ
82102014-03-26 Yao Qi <yao@codesourcery.com>
8211
8212 * gdb.base/macscp.exp: Fix code format issues.
8213
bc9a5525
UW
82142014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8215
8216 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8217 * gdb.asm/powerpc64le.inc: New file.
8218
d3839ede
PA
82192014-03-25 Pedro Alves <palves@redhat.com>
8220 Doug Evans <dje@google.com>
8221
8222 * gdb.base/source-execution.c: New file.
8223 * gdb.base/source-execution.exp: New file.
8224 * gdb.base/source-execution.gdb: New file.
8225
01672a57
DE
82262014-03-24 Doug Evans <dje@google.com>
8227
8228 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8229 using fission.
8230
88bbeca9
HZ
82312014-03-24 Hui Zhu <hui@codesourcery.com>
8232 Pedro Alves <palves@redhat.com>
8233
8234 PR breakpoints/16101
8235 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8236 test pass/fail messages. Detect missing support for dprintf when
8237 breakpoints are actually inserted.
8238 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8239 breakpoints are actually inserted.
8240 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8241 fails.
8242
d2348791
JK
82432014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8244
8245 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8246
feef67ab
DE
82472014-03-22 Doug Evans <xdje42@gmail.com>
8248
8249 * gdb.python/python.exp (python not supported): Verify multi-line
8250 python command issues an error.
25d743f9 8251 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 8252 guile command issues an error.
feef67ab 8253
ecebef6a
MR
82542014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8255
8256 * gdb.threads/thread-specific.exp: Handle the lack of usable
8257 $this_breakpoint and $this_thread.
8258
ccdd1909
HZ
82592014-03-21 Hui Zhu <hui@codesourcery.com>
8260
8261 * gdb.base/attach.exp (do_command_attach_tests): New.
8262
beb460e8
PA
82632014-03-20 Tom Tromey <tromey@redhat.com>
8264 Pedro Alves <palves@redhat.com>
8265
8266 PR cli/15718
8267 * gdb.base/condbreak-call-false.c: New file.
8268 * gdb.base/condbreak-call-false.exp: New file.
8269
40acf43a
PA
82702014-03-20 Pedro Alves <palves@redhat.com>
8271
8272 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8273 Delete.
8274 (block_signals, unblock_signals): Delete.
8275 (child_function_2, main): Remove references to deleted variable
8276 and functions.
8277
9f5e1e02
PA
82782014-03-20 Pedro Alves <palves@redhat.com>
8279
8280 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8281 Use pthread_kill to signal thread 2.
8282 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8283 Adjust to make the test send itself a signal rather than using the
8284 host's "kill" command.
8285
99619bea
PA
82862014-03-20 Pedro Alves <palves@redhat.com>
8287
8288 * gdb.threads/multiple-step-overs.c: New file.
8289 * gdb.threads/multiple-step-overs.exp: New file.
8290 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8291 Adjust expected infrun debug output.
8292
2adfaa28
PA
82932014-03-20 Pedro Alves <palves@redhat.com>
8294
8295 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8296 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8297
31e77af2
PA
82982014-03-20 Pedro Alves <palves@redhat.com>
8299
8300 PR breakpoints/7143
8301 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8302 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8303 of gdb_test_multiple.
8304 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8305 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8306
b9f437de
PA
83072014-03-20 Pedro Alves <palves@redhat.com>
8308
8309 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8310 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8311
05adc73e
PA
83122014-03-19 Pedro Alves <palves@redhat.com>
8313
8314 * gdb.base/async.exp: Remove early return.
8315
6048b950
PA
83162014-03-19 Pedro Alves <palves@redhat.com>
8317
8318 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8319
8bcfb00a
PA
83202014-03-19 Pedro Alves <palves@redhat.com>
8321
8322 * gdb.base/async.exp (test_background): Expect \r\n after
8323 "completed." in the fail pattern.
8324
884e37dc
PA
83252014-03-19 Pedro Alves <palves@redhat.com>
8326
8327 * gdb.base/async.exp (test_background): New procedure.
8328 Use it for all background execution command tests.
8329
148e57e2
PA
83302014-03-19 Pedro Alves <palves@redhat.com>
8331
8332 * gdb.base/async.exp: Use prepare_for_testing.
8333
f48088c7
PA
83342014-03-19 Pedro Alves <palves@redhat.com>
8335
8336 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8337 the same line.
8338
e2f6c966
PA
83392014-03-19 Pedro Alves <palves@redhat.com>
8340
8341 * gdb.base/async.c (main): Add "jump here" and "until here" line
8342 marker comments.
8343 * gdb.base/async.exp (jump_here): New global.
8344 (jump& test): Use it.
8345 (until_here): New global.
8346 (until& test): Use it.
8347
c30568d4
PA
83482014-03-19 Pedro Alves <palves@redhat.com>
8349
8350 * gdb.base/async.exp: Don't frob gdb_protocol.
8351
0172b6a7
DE
83522014-03-18 Doug Evans <xdje42@gmail.com>
8353
8354 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8355 Fix spelling of exec-done-display.
8356
06c868a8
JK
83572014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8358
8359 PR gdb/15358
8360 * gdb.base/gdb-sigterm.c: New file.
8361 * gdb.base/gdb-sigterm.exp: New file.
8362
0c7e1a46
PA
83632014-03-18 Pedro Alves <palves@redhat.com>
8364
8365 PR gdb/13860
8366 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8367 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8368 solib-event.
8369
f7c77d93
JB
83702014-03-17 Joel Brobecker <brobecker@adacore.com>
8371
8372 * gdb.ada/pckd_arr_ren: New testcase.
8373
5a1e8c7a
DE
83742014-03-13 Doug Evans <xdje42@gmail.com>
8375
8376 PR guile/16612
8377 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8378 collect after discarding symbols.
8379
350e1a76
DE
83802014-03-13 Ludovic Courtès <ludo@gnu.org>
8381 Doug Evans <xdje42@gmail.com>
8382
8383 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8384 to history survives a gc.
8385
a69900ae
PA
83862014-03-13 Pedro Alves <palves@redhat.com>
8387
8388 * gdb.base/default.exp: Don't test "target procfs".
8389
5db9f0bd
PA
83902014-03-13 Pedro Alves <palves@redhat.com>
8391
8392 * gdb.base/default.exp: Update "target child" and "target procfs"
8393 tests to not expect "Unix".
8394
b3ccfe11
TT
83952014-03-12 Tom Tromey <tromey@redhat.com>
8396
8397 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8398 New procs. Add target-async tests.
8399 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8400 Add target-async tests.
8401
646f4417
AA
84022014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8403
8404 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8405 'func_start' and 'func_end' for the beginning and end of the
8406 function code, respectively.
8407 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8408 'func_end' instead of 'func' and 'main'.
8409
288c211f
AA
84102014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8411
8412 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8413 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8414 generate the debug info assembler source.
8415
e0c0f156
AA
84162014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8417
8418 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8419 * gdb.dwarf2/arr-subrange.exp: Likewise.
8420 * gdb.dwarf2/dwz.exp: Likewise.
8421 * gdb.dwarf2/method-ptr.exp: Likewise.
8422 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8423 * gdb.dwarf2/subrange.exp: Likewise.
8424 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8425 * gdb.dwarf2/implptrpiece.exp: Likewise.
8426 * gdb.dwarf2/nostaticblock.exp: Likewise.
8427
0e5c4555
AA
84282014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8429
8430 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8431 directory to absolute path name arguments.
8432
5ec18f2b
JG
84332014-03-10 Joel Brobecker <brobecker@adacore.com>
8434
8435 * gdb.ada/tagged_access: New testcase.
8436
847fc4f2
MM
84372014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8438
8439 * gdb.btrace/data.exp: Update expected output.
8440
cc3da688
YQ
84412014-03-06 Yao Qi <yao@codesourcery.com>
8442
8443 * gdb.trace/pr16508.exp: New file.
8444
0f26cec1
PA
84452014-03-05 Pedro Alves <palves@redhat.com>
8446
8447 PR gdb/16575
8448 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8449 procedure.
8450 (top level): Adjust to use it. Add tests that exercise breakpoint
8451 interaction with the code-cache.
8452
7a5a839f
LC
84532014-02-26 Ludovic Courtès <ludo@gnu.org>
8454
8455 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8456 test for 'history-append!'.
8457
31aa7e4e
JB
84582014-02-26 Joel Brobecker <brobecker@adacore.com>
8459
8460 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8461 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8462 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8463 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8464 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8465 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8466
1b588015
JB
84672014-02-26 Joel Brobecker <brobecker@adacore.com>
8468
8469 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8470 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8471 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8472
55426c9d
JB
84732014-02-26 Joel Brobecker <brobecker@adacore.com>
8474
8475 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8476
dc53a7ad
JB
84772014-02-26 Joel Brobecker <brobecker@adacore.com>
8478
8479 * gdb.dwarf2/arr-stride.c: New file.
8480 * gdb.dwarf2/arr-stride.exp: New file.
8481
12ab52e9
PA
84822014-02-26 Pedro Alves <palves@redhat.com>
8483
8484 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8485 that won't ever trigger. Make sure that GDB reports the correct
8486 breakpoint that caused the stop.
8487
849c862e
JK
84882014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8489
8490 PR gdb/16626
8491 * gdb.base/auto-load-script: New file.
8492 * gdb.base/auto-load.c: New file.
8493 * gdb.base/auto-load.exp: New file.
8494
71b7d793
JK
8495 PR gdb/16626
8496 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8497
e2f0d509
JK
84982014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8499
8500 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8501 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8502
50cc37c8
DE
85032014-02-24 Doug Evans <dje@google.com>
8504
8505 * lib/gdb.exp (run_on_host): Log error output if program fails.
8506
ea4758f2
PA
85072014-02-21 Pedro Alves <palves@redhat.com>
8508
8509 * gdb.threads/step-after-sr-lock.c: Rename to ...
8510 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8511 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8512 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8513 ... this.
8514
d7b30f67
SDJ
85152014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8516
8517 PR tdep/16397
8518 * gdb.arch/amd64-stap-special-operands.exp: New file.
8519 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8520 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8521 * gdb.arch/amd64-stap-triplet.S: Likewise.
8522 * gdb.arch/amd64-stap-triplet.c: Likewise.
8523
83deb43f
JB
85242014-02-20 Joel Brobecker <brobecker@adacore.com>
8525
8526 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8527 in .section pseudo-op.
8528
adde2bff
DE
85292014-02-20 lin zuojian <manjian2006@gmail.com>
8530 Joel Brobecker <brobecker@adacore.com>
8531 Doug Evans <xdje42@gmail.com>
8532
8533 PR symtab/16581
8534 * gdb.dwarf2/dw2-icycle.S: New file.
8535 * gdb.dwarf2/dw2-icycle.c: New file.
8536 * gdb.dwarf2/dw2-icycle.exp: New file.
8537
f7bd0f78
SC
85382014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8539
8540 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8541 operations on gdb.Value objects.
8542 * gdb.python/py-value-cc.exp: Add new test to test operations on
8543 gdb.Value objects.
8544
c17ef0d5
DE
85452014-02-18 Doug Evans <dje@google.com>
8546
8547 * Makefile.in (TESTS): New variable.
8548 (expanded_tests, expanded_tests_or_none): New variables
8549 (check-single): Pass $(expanded_tests_or_none) to runtest.
8550 (check-parallel): Only run tests in $(TESTS) if non-empty.
8551 (check/no-matching-tests-found): New rule.
8552 * README: Document TESTS makefile variable.
8553
5dd3176f
DE
85542014-02-18 Doug Evans <dje@google.com>
8555
8556 * Makefile.in (check-parallel): rm -rf outputs temp.
8557
0b10be4f
JK
85582014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8559
8560 Fix "ERROR: no fileid for" in the testsuite.
8561 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8562
85f224e7
DE
85632014-02-12 Doug Evans <dje@google.com>
8564
8565 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8566 (MISCELLANEOUS): New variable.
8567 (clean): rm -rf $(MISCELLANEOUS).
8568 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8569 dwp live in the same directory as symlinks, with each symlink pointed
8570 to a differently named file in a different directory.
8571
149b30ff
DE
85722014-02-11 Doug Evans <dje@google.com>
8573
8574 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8575 of Tcl file commands.
8576
1dfdac32
MK
85772014-02-10 Mark Kettenis <kettenis@gnu.org>
8578
8579 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8580 "kill -SIGUSR1 -1".
8581
aa4fb036
JB
85822014-02-10 Joel Brobecker <brobecker@adacore.com>
8583
8584 * gdb.ada/tick_length_array_enum_idx: New testcase.
8585
ed3ef339
DE
85862014-02-10 Doug Evans <xdje42@gmail.com>
8587
8588 * configure.ac (AC_OUTPUT): Add gdb.guile.
8589 * configure: Regenerate.
8590 * lib/gdb-guile.exp: New file.
8591 * lib/gdb.exp (get_target_charset): New function.
8592 * gdb.base/help.exp: Update expected output from "apropos apropos".
8593 * gdb.guile/Makefile.in: New file.
8594 * gdb.guile/guile.exp: New file.
8595 * gdb.guile/scm-arch.c: New file.
8596 * gdb.guile/scm-arch.exp: New file.
8597 * gdb.guile/scm-block.c: New file.
8598 * gdb.guile/scm-block.exp: New file.
8599 * gdb.guile/scm-breakpoint.c: New file.
8600 * gdb.guile/scm-breakpoint.exp: New file.
8601 * gdb.guile/scm-disasm.c: New file.
8602 * gdb.guile/scm-disasm.exp: New file.
8603 * gdb.guile/scm-equal.c: New file.
8604 * gdb.guile/scm-equal.exp: New file.
8605 * gdb.guile/scm-error.exp: New file.
8606 * gdb.guile/scm-error.scm: New file.
8607 * gdb.guile/scm-frame-args.c: New file.
8608 * gdb.guile/scm-frame-args.exp: New file.
8609 * gdb.guile/scm-frame-args.scm: New file.
8610 * gdb.guile/scm-frame-inline.c: New file.
8611 * gdb.guile/scm-frame-inline.exp: New file.
8612 * gdb.guile/scm-frame.c: New file.
8613 * gdb.guile/scm-frame.exp: New file.
8614 * gdb.guile/scm-generics.exp: New file.
8615 * gdb.guile/scm-gsmob.exp: New file.
8616 * gdb.guile/scm-iterator.c: New file.
8617 * gdb.guile/scm-iterator.exp: New file.
8618 * gdb.guile/scm-math.c: New file.
8619 * gdb.guile/scm-math.exp: New file.
8620 * gdb.guile/scm-objfile-script-gdb.in: New file.
8621 * gdb.guile/scm-objfile-script.c: New file.
8622 * gdb.guile/scm-objfile-script.exp: New file.
8623 * gdb.guile/scm-objfile.c: New file.
8624 * gdb.guile/scm-objfile.exp: New file.
8625 * gdb.guile/scm-ports.exp: New file.
8626 * gdb.guile/scm-pretty-print.c: New file.
8627 * gdb.guile/scm-pretty-print.exp: New file.
8628 * gdb.guile/scm-pretty-print.scm: New file.
8629 * gdb.guile/scm-section-script.c: New file.
8630 * gdb.guile/scm-section-script.exp: New file.
8631 * gdb.guile/scm-section-script.scm: New file.
8632 * gdb.guile/scm-symbol.c: New file.
8633 * gdb.guile/scm-symbol.exp: New file.
8634 * gdb.guile/scm-symtab-2.c: New file.
8635 * gdb.guile/scm-symtab.c: New file.
8636 * gdb.guile/scm-symtab.exp: New file.
8637 * gdb.guile/scm-type.c: New file.
8638 * gdb.guile/scm-type.exp: New file.
8639 * gdb.guile/scm-value-cc.cc: New file.
8640 * gdb.guile/scm-value-cc.exp: New file.
8641 * gdb.guile/scm-value.c: New file.
8642 * gdb.guile/scm-value.exp: New file.
8643 * gdb.guile/source2.scm: New file.
8644 * gdb.guile/types-module.cc: New file.
8645 * gdb.guile/types-module.exp: New file.
8646
7026a7c1
YQ
86472014-02-10 Yao Qi <yao@codesourcery.com>
8648
8649 PR testsuite/16543
8650 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8651 * configure: Regenerated.
8652 * Makefile.in: New file.
8653
6c466447
AS
86542014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8655
8656 * gdb.python/py-framefilter.exp: Fix typo.
8657
6e854735
YQ
86582014-02-08 Yao Qi <yao@codesourcery.com>
8659
8660 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8661 that no =breakpoint-modified is emitted when breakpoints are
8662 modified through MI commands.
8663
d137e6dc
PA
86642014-02-07 Pedro Alves <pedro@codesourcery.com>
8665 Pedro Alves <palves@redhat.com>
8666
8667 * gdb.threads/step-after-sr-lock.c: New file.
8668 * gdb.threads/step-after-sr-lock.exp: New file.
8669
b5ee5a50
PA
86702014-02-07 Pedro Alves <palves@redhat.com>
8671
8672 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8673
3c77faf3
JK
86742014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8675
8676 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8677 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8678
6dddc817
DE
86792014-02-06 Doug Evans <xdje42@gmail.com>
8680
8681 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8682 output.
8683
8684 * gdb.gdb/python-interrupts.exp: New file.
8685
de7b2893
YQ
86862014-02-05 Yao Qi <yao@codesourcery.com>
8687
8688 * gdb.trace/report.exp (use_collected_data): Test the output
8689 of "info threads" and "info inferiors".
8690
66d032ac
YQ
86912014-02-05 Yao Qi <yao@codesourcery.com>
8692
8693 Revert this patch:
8694
8695 2013-05-24 Yao Qi <yao@codesourcery.com>
8696
8697 * gdb.trace/tfile.exp: Test inferior and thread.
8698
591a12a1
UW
86992014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8700
8701 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8702 on a function.
8703 * gdb.base/step-bt.c: Call hello via function pointer to make
8704 sure its first instruction is executed on powerpc64le-linux.
8705
0ff3e01f
UW
87062014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8707
8708 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8709
084ee545
UW
87102014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8711
8712 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8713 of the test patterns for use on little-endian systems.
8714
6ed14ff3
UW
87152014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8716
8717 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8718 (decimal_vector): Fix for little-endian.
8719
401e27fd
JM
87202014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8721
8722 * gdb.arch/sparc-sysstep.exp: New file.
8723 * gdb.arch/sparc-sysstep.c: Likewise.
8724
8725 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8726
8b924729
EBM
87272014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8728
8729 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8730
fb151210
JB
87312014-01-23 Tom Tromey <tromey@redhat.com>
8732
8733 * gdb.ada/array_char_idx: New testcase.
8734
0740f8d8
TT
87352014-01-23 Tom Tromey <tromey@redhat.com>
8736
8737 PR python/16487:
8738 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8739 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8740 classes.
8741
21909fa1
TT
87422014-01-23 Tom Tromey <tromey@redhat.com>
8743
8744 PR python/16491:
8745 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8746 string from an inferior frame.
8747 * gdb.python/py-framefilter-mi.exp: Update.
8748
87ce2a04
DE
87492014-01-22 Doug Evans <dje@google.com>
8750
8751 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8752
237b092b
AA
87532014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8754
8755 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8756
d674a709
AA
87572014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8758
8759 * gdb.trace/entry-values.exp: Remove excess space character from
8760 regex patterns. Handle s390 call instruction.
8761
20fa3390
AA
87622014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8763
8764 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8765 define "*_start" label. Make "name" static.
8766 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8767 ${name} by references to ${name}_start.
8768
78466714
AA
87692014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8770
8771 * gdb.base/info-macros.exp: Remove "debug" from the compile
8772 options.
8773
ec9f644a
IB
87742014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8775
8776 * gdb.dlang/demangle.exp: New file.
8777
94b1b47e
IB
87782014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8779
8780 * gdb.dlang/primitive-types.exp: New file.
8781
7f420862
IB
87822014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8783
8784 * configure.ac: Create gdb.dlang/Makefile.
8785 * configure: Regenerate.
8786 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8787 * gdb.dlang/Makefile.in: New file.
8788 * lib/d-support.exp: New file.
8789 * lib/gdb.exp (skip_d_tests): New proc.
8790
52834460
MM
87912014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8792
8793 * gdb.btrace/delta.exp: Check reverse stepi.
8794 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8795 * gdb.btrace/finish.exp: New.
8796 * gdb.btrace/next.exp: New.
8797 * gdb.btrace/nexti.exp: New.
8798 * gdb.btrace/record_goto.c: Add comments.
8799 * gdb.btrace/step.exp: New.
8800 * gdb.btrace/stepi.exp: New.
8801 * gdb.btrace/multi-thread-step.c: New.
8802 * gdb.btrace/multi-thread-step.exp: New.
8803 * gdb.btrace/rn-dl-bind.c: New.
8804 * gdb.btrace/rn-dl-bind.exp: New.
8805 * gdb.btrace/data.c: New.
8806 * gdb.btrace/data.exp: New.
8807 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8808
6e07b1d2
MM
88092014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8810
8811 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8812 * gdb.btrace/exception.exp: Update.
8813 * gdb.btrace/instruction_history.exp: Update.
8814 * gdb.btrace/record_goto.exp: Update.
8815 * gdb.btrace/tailcall.exp: Update.
8816 * gdb.btrace/unknown_functions.exp: Update.
8817 * gdb.btrace/delta.exp: New.
8818
0b722aec
MM
88192014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8820
8821 * gdb.btrace/record_goto.exp: Add backtrace test.
8822 * gdb.btrace/tailcall.exp: Add backtrace test.
8823
066ce621
MM
88242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8825
8826 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8827 * gdb.btrace/record_goto.c: New.
8828 * gdb.btrace/record_goto.exp: New.
8829 * gdb.btrace/x86-record_goto.S: New.
8830
0688d04e
MM
88312014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8832
8833 * gdb.btrace/function_call_history.exp: Update tests.
8834 * gdb.btrace/instruction_history.exp: Update tests.
8835
8710b709
MM
88362014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8837
8838 * gdb.btrace/function_call_history.exp: Fix expected field
8839 order for "record function-call-history".
8840 Add new tests for "record function-call-history /c".
8841 * gdb.btrace/exception.cc: New.
8842 * gdb.btrace/exception.exp: New.
8843 * gdb.btrace/tailcall.exp: New.
8844 * gdb.btrace/x86-tailcall.S: New.
8845 * gdb.btrace/x86-tailcall.c: New.
8846 * gdb.btrace/unknown_functions.c: New.
8847 * gdb.btrace/unknown_functions.exp: New.
8848 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8849
5de9129b
MM
88502014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8851
8852 * gdb.btrace/instruction_history.exp: Update.
8853 * gdb.btrace/function_call_history.exp: Update.
8854
23a7fe75
MM
88552014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8856
8857 * gdb.btrace/function_call_history.exp: Fix expected function
8858 trace.
8859 * gdb.btrace/instruction_history.exp: Initialize traced.
8860 Remove traced_functions.
8861
724c7dd8
MM
88622014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8863
8864 * gdb.btrace/function_call_history.exp: Update
8865 * gdb.btrace/instruction_history.exp: Update.
8866
6d78d93b
MM
88672014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8868
8869 * gdb.btrace/enable.exp: Update expected text.
8870
93a360cc
OJ
88712014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8872
8873 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8874 bytes.
8875
3772b53f
MR
88762014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8877
8878 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8879
596662fa
OJ
88802014-01-15 Omair Javaid <omair.javaid@linaro.org>
8881
8882 * lib/gdb.exp (supports_process_record): Return true for
8883 arm*-linux*. (supports_reverse): Likewise.
8884
b5b08fb4
SC
88852014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8886
8887 PR python/15464
8888 PR python/16113
8889 * gdb.python/py-type.c: Enhance test case.
8890 * gdb.python/py-value-cc.cc: Likewise
8891 * gdb.python/py-type.exp: Add new tests.
8892 * gdb.python/py-value-cc.exp: Likewise
8893
52d7fb13
AA
88942014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8895 Pedro Alves <palves@redhat.com>
8896
8897 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8898 Make "name" extern.
8899 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8900 references to ${name}_start by references to ${name}.
8901
a2cd8cfe
JB
89022014-01-10 Joel Brobecker <brobecker@adacore.com>
8903
8904 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8905
4e23fced
JB
89062014-01-10 Joel Brobecker <brobecker@adacore.com>
8907
8908 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8909
c6a9e42c
PA
89102014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8911 Pedro Alves <palves@redhat.com>
8912
8913 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 8914 mi_gdb_target_load.
c6a9e42c 8915
b7ea362b
PA
89162014-01-08 Pedro Alves <palves@redhat.com>
8917
8918 * gdb.threads/reconnect-signal.c: New file.
8919 * gdb.threads/reconnect-signal.exp: New file.
8920
5e3f4fab
EBM
89212014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8922
8923 * gdb.base/source-dir.exp: New file.
8924
79301218
JB
89252014-01-07 Joel Brobecker <brobecker@adacore.com>
8926
8927 * gdb.ada/mi_interface: New testcase.
8928
8e355c5d
JB
89292014-01-07 Joel Brobecker <brobecker@adacore.com>
8930
8931 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8932 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8933 gdb.ada/pp-rec-component/pck.ads: New files.
8934
c0d48811
JB
89352014-01-07 Joel Brobecker <brobecker@adacore.com>
8936
8937 * gdb.python/py-pp-integral.c: New file.
8938 * gdb.python/py-pp-integral.py: New file.
8939 * gdb.python/py-pp-integral.exp: New file.
8940
17b609c3 8941For older changes see ChangeLog-1993-2013.
c906108c 8942\f
8d8cb839
EZ
8943;; Local Variables:
8944;; mode: change-log
8945;; left-margin: 8
8946;; fill-column: 74
8947;; version-control: never
8948;; End:
902f2ccb 8949
618f726f 8950 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
8951 Copying and distribution of this file, with or without modification,
8952 are permitted provided the copyright notice and this notice are preserved.