Add support for creating ELF import libraries
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
dac790e1
TT
12016-07-13 Tom Tromey <tom@tromey.com>
2
3 PR python/15620, PR python/18620:
4 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
5 (test_bkpt_events): New procs.
6
93daf339
TT
72016-07-13 Tom Tromey <tom@tromey.com>
8
9 PR python/17698:
10 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
11 test.
12 (test_watchpoints): Likewise.
13 (test_bkpt_pending): New proc.
14
6571a381
TT
152016-07-13 Tom Tromey <tom@tromey.com>
16
17 PR cli/18053:
18 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
19 completion test.
20
e8732474
JK
212016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
22
23 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
24 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
25 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
26 f_label.
27 (g): Rename g_end_lbl to g_label.
28 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
29 low_pc and high_pc.
30 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
31
e0f3fd7c
TT
322016-07-12 Tom Tromey <tom@tromey.com>
33
34 PR python/19293:
35 * gdb.python/py-unwind-maint.exp: Update tests.
36
3cfe46b6
YQ
372016-07-12 Yao Qi <yao.qi@linaro.org>
38
39 * lib/selftest-support.exp (selftest_setup): Match the output
40 when captured_main is inlined.
41
4f19a0e6
WT
422016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
43
44 * gdb.fortran/derived-types.exp (result_line, result_line_2):
45 New variables.
46 (print this%a, print this%b, print this): New tests.
47 * gdb.fortran/derived-types.f90 (this): New object and
48 initialization.
49
986cf455
SM
502016-07-06 Simon Marchi <simon.marchi@ericsson.com>
51
52 * gdb.ada/arraydim.exp: Remove extra directory level in build
53 directory.
54
f0464b23
SM
552016-07-06 Simon Marchi <simon.marchi@ericsson.com>
56
57 * lib/ada.exp: Remove extra directory level in build directory.
58 * gdb.ada/cond_lang.exp: Likewise.
59 * gdb.ada/exec_changed.exp: Likewise.
60 * gdb.ada/lang_switch.exp: Likewise.
61
42d94011
MG
622016-07-06 Manish Goregaokar <manish@mozilla.com>
63
64 * simple.rs: Add test for raw pointer subscripting
65 * simple.exp: Add test expectations
66
647c264c
YQ
672016-07-05 Yao Qi <yao.qi@linaro.org>
68
69 * gdb.mi/mi-reverse.exp: Match =record-started output.
70
20aa2c60
PA
712016-07-01 Pedro Alves <palves@redhat.com>
72
73 * gdb.base/jit-reader.exp (info_registers_current_frame): New
74 procedure.
75 (jit_reader_test): Test the jit reader's unwinder.
76 * gdb.base/jithost.c (jit_function_00_code): New global.
77 (main): Use memcpy to fill in the mmapped code, instead of poking
78 bytes manually here.
79 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
80 value.
81 (read_debug_info): Save the function's range.
82 (read_sp): New function.
83 (unwind_frame): Use it. Also unwind RBP.
84 (get_frame_id): Use read_sp.
85 (gdb_init_reader): Use calloc instead of malloc.
86 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
87 parameter. Use gdb_test_multiple.
88
ced2dffb
PA
892016-07-01 Pedro Alves <palves@redhat.com>
90 Antoine Tremblay <antoine.tremblay@ericsson.com>
91
92 * gdb.threads/process-dies-while-detaching.c: New file.
93 * gdb.threads/process-dies-while-detaching.exp: New file.
94
63000888
PA
952016-07-01 Pedro Alves <palves@redhat.com>
96
97 * gdb.multi/watchpoint-multi-exit.c: New file.
98 * gdb.multi/watchpoint-multi-exit.exp: New file.
99
038d4868
PA
1002016-06-30 Pedro Alves <palves@redhat.com>
101
102 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
103 unset inferior_spawn_id.
104
994e9c83
PA
1052016-06-30 Pedro Alves <palves@redhat.com>
106
107 * lib/mi-support.exp (default_mi_gdb_start): Declare global
108 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
109
e5653468
YQ
1102016-06-29 Yao Qi <yao.qi@linaro.org>
111
112 * gdb.base/return.c: Add copyright header.
113
803b47e5
TT
1142016-06-29 Tom Tromey <tom@tromey.com>
115
116 PR python/20129:
117 * gdb.python/py-framefilter.exp: Add tests for setting priority
118 and disabling of non-existent frame filter.
119
28244707
YQ
1202016-06-29 Yao Qi <yao.qi@linaro.org>
121
122 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
123 0x0f07ff.
124
a31d2f06
YQ
1252016-06-28 Yao Qi <yao.qi@linaro.org>
126
127 * gdb.base/catch-syscall.exp: Remove check on isnative and target
128 triplets. Start gdb, execute catch syscall, and continue. Check
129 gdb's output to determine catch syscall is supported.
130
921d8f54
MG
1312016-06-27 Manish Goregaokar <manish@mozilla.com>
132
25d49b86
PA
133 * gdb.rust/simple.rs: Add test for returning unit in a function.
134 * gdb.rust/simple.exp: Add expectation for functions returning
135 unit.
921d8f54 136
f4952523
PMR
1372016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
138
139 * gdb.python/py-breakpoint-create-fail.c,
140 gdb.python/py-breakpoint-create-fail.exp,
141 gdb.python/py-breakpoint-create-fail.py: New testcase.
142
fccb08f8
MG
1432016-06-25 Manish Goregaokar <manish@mozilla.com>
144
145 PR gdb/20239
146 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
147 * gdb.rust/simple.exp: Add test expectations for new NonZero
148 tests.
fccb08f8 149
6b850546
DT
1502016-06-24 David Taylor <dtaylor@emc.com>
151
152 * gdb.base/offsets.exp: New file.
153 * gdb.base/offsets.c: New file.
154
17621150
TT
1552016-06-23 Tom Tromey <tom@tromey.com>
156
157 PR gdb/16483:
158 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
159 before any filters are loaded.
160
04d59df6
WT
1612016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
162
163 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
164 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
165 structs.
166 * gdb.fortran/derived-type-function.exp: New file.
167 * gdb.fortran/derived-type-function.f90: New file.
168
169
ac69f786
PA
1702016-06-21 Pedro Alves <palves@redhat.com>
171
172 * gdb.base/new-ui.exp: New file.
173 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
174 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
175 (with_spawn_id): New procedure.
176
49940788
PA
1772016-06-21 Pedro Alves <palves@redhat.com>
178
179 * gdb.mi/mi-exec-run.exp: New file.
180
ef274d26
PA
1812016-06-21 Pedro Alves <palves@redhat.com>
182
183 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
184 breakpoint command's output on the main UI.
185 (test_break): New procedure, factored out from calls in the top
186 level.
187 (top level): Use foreach_with_prefix to test MI as main UI and as
188 separate UI.
189
468afe6c
PA
1902016-06-21 Pedro Alves <palves@redhat.com>
191
192 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
193 (test_awatch_creation_and_listing)
194 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
195 Remove 'type' parameter.
196 (test_watchpoint_all): New parameter mi_mode. Remove
197 with_test_prefix.
198 (top level): Use foreach_with_prefix, and add main/separate UI MI
199 testing axis.
200
51f77c37
PA
2012016-06-21 Pedro Alves <palves@redhat.com>
202
203 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
204 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
205 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
206 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
207 (gdb_main_spawn_id, mi_spawn_id): Declare and
208 comment.
209 (mi_create_inferior_pty): New procedure,
210 factored out from default_mi_gdb_start.
211 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
212 procedures.
213 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
214 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
215 Use mi_create_inferior_pty.
216 (mi_gdb_start): Use eval to pass down args list.
217
8980e177
PA
2182016-06-21 Pedro Alves <palves@redhat.com>
219
220 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
221 * gdb.opt/inline-cmds.exp: Add MI tests.
222
f38d3ad1
PA
2232016-06-21 Pedro Alves <palves@redhat.com>
224
225 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
226
45db7c09
PA
2272016-06-21 Pedro Alves <palves@redhat.com>
228
229 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
230 (top level): Use it instead of mi_execute_to.
231
5a069ab3
PA
2322016-06-21 Pedro Alves <palves@redhat.com>
233
234 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
235 (cont_handler_str): New.
236 (signal_stop_handler): Set stop_handler_str instead of printing to
237 stdout.
238 (continue_handler): Set cont_handler_str instead of printing to
239 stdout.
240 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
241 mi_send_resuming_command. Print stop_handler_str and
242 cont_handler_str instead of expecting the python events print
243 directly.
244
2838cc1d
SD
2452016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
246
247 * gdb.base/jit-reader.exp: New file.
248 * gdb.base/jithost.c: New file.
249 * gdb.base/jithost.h: New file.
250 * gdb.base/jitreader.c : New file.
251 * gdb.base/jit-protocol.h: New file.
252
21a77091
YQ
2532016-06-17 Yao Qi <yao.qi@linaro.org>
254
255 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
256 parameters follow_fork and detach_on_fork. Set follow-fork-mode
257 and detach-on-fork. Adjust tests.
258 (top level): Invoke break_cond_on_syscall with combinations of
259 syscall, follow-fork-mode and detach-on-fork.
260
f50bf8e5
YQ
2612016-06-17 Yao Qi <yao.qi@linaro.org>
262
263 * gdb.base/step-over-exit.c: New.
264 * gdb.base/step-over-exit.exp: New.
265
a28d8e50
YTL
2662016-06-17 Yan-Ting Lin <currygt52@gmail.com>
267
268 * gdb.base/float.exp: Add target check for nds32*-*-*.
269 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
270
cad8e26d
AB
2712016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
272
273 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
274 for unsupported target features.
275 * gdb.base/call-rt-st.exp: Likewise.
276 * gdb.base/call-sc.exp: Likewise.
277 * gdb.base/call-signal-resume.exp: Likewise.
278 * gdb.base/call-strs.exp: Likewise.
279 * gdb.base/callexit.exp: Likewise.
280 * gdb.base/callfuncs.exp: Likewise.
281 * gdb.base/nodebug.exp: Likewise.
282 * gdb.base/printcmds.exp: Likewise.
283 * gdb.base/ptype.exp: Likewise.
284 * gdb.base/structs.exp: Likewise.
285 * gdb.base/unwindonsignal.exp: Likewise.
286 * gdb.cp/gdb2495.exp: Likewise.
287 * gdb.cp/templates.exp: Likewise.
288 * gdb.cp/virtfunc.exp: Likewise.
289 * gdb.threads/hand-call-in-threads.exp: Likewise.
290 * gdb.threads/interrupted-hand-call.exp: Likewise.
291 * gdb.threads/thread-unwindonsignal.exp: Likewise.
292
347dc102
TT
2932016-06-10 Tom Tromey <tom@tromey.com>
294
295 PR rust/20110:
296 * gdb.rust/expr.exp: Add test for integer constant larger than
297 i32.
298
5e13cf25
BH
2992016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
300
301 * gdb.fortran/nested-funcs.exp: New.
302 * gdb.fortran/nested-funcs.f90: New.
303
bb556f1f
TK
3042016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
305
306 * gdb.base/examine-backward.c: New file.
307 * gdb.base/examine-backward.exp: New file.
308
38b022b4
SM
3092016-06-06 Simon Marchi <simon.marchi@ericsson.com>
310
311 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
312 matching.
313
1b40ec05
TT
3142016-06-02 Tom Tromey <tom@tromey.com>
315
316 PR python/18984:
317 * gdb.python/py-shared.exp: Add solib_name test.
318
193bd378
SM
3192016-06-02 Simon Marchi <simon.marchi@ericsson.com>
320
321 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
322
3326303b
MG
3232016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
324
325 PR c++/19893
326 * gdb.dwarf2/implref.exp: Rename to...
327 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
328 * gdb.dwarf2/implref-array.c: New file.
329 * gdb.dwarf2/implref-array.exp: Likewise.
330 * gdb.dwarf2/implref-global.c: Likewise.
331 * gdb.dwarf2/implref-global.exp: Likewise.
332 * gdb.dwarf2/implref-struct.c: Likewise.
333 * gdb.dwarf2/implref-struct.exp: Likewise.
334
825c8ef2
AT
3352016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
336
337 * gdb.trace/trace-condition.exp: Add 64bit tests.
338
2320162a
AT
3392016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
340
341 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
342 bits types.
343 (main): Adapt to 8 to 64 bits types.
344 * gdb.trace/trace-condition.exp: Add new tests.
345
a7818233
AT
3462016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
347
348 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
349
0d336466
AT
3502016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
351
352 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
353 Move condition tests...
354 * gdb.trace/trace-condition.exp: Here.
355
7faeb45a
AT
3562016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
357
358 * gdb.trace/trace-condition.exp: Add counter-case tests.
359
e385593e
JK
3602016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
361
362 PR c++/15231
363 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
364 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
365
744608cc
PA
3662016-05-27 Pedro Alves <palves@redhat.com>
367
368 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
369 New procedure.
370 (top level): Call it, and bail out of DejaGnu is known to be bad.
371
ac775bf4
AB
3722016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
373
374 * gdb.base/whatis.c: Extend the test case.
375 * gdb.base/whatis.exp: Add additional tests.
376
2bbad2ea
BH
3772016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
378
379* gdb.fortran/type.f90: Add pointer variable.
380* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
381
8b70175d
BH
3822016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
383
384 * gdb.fortran/vla-type.exp: Fix testcase name.
385
86d8a848
BH
3862016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
387
388 * gdb.fortran/vla-type.exp: Access elements in nested structs.
389
e188eb36
BH
3902016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
391
392 * gdb.fortran/type.f90: Add nested structures.
393 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
394 * gdb.fortran/derived-type.exp: Adapt expected output.
395 * gdb.fortran/vla-type.exp: Adapt expected output.
396
9b2db1fd
BH
3972016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
398
399 * gdb.fortran/whatis_type.exp: Adapt expected output.
400
72b17055
BH
4012016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
402
403 * gdb.fortran/print_type.exp: Fix expected output.
404 * gdb.fortran/whatis_type.exp: Fix expected output.
405
3cd81d8d
BH
4062016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
407
408 * gdb.fortran/whatis_type.exp: Use multi_line.
409
ddae9462
TT
4102016-05-24 Tom Tromey <tom@tromey.com>
411
412 PR python/17386:
413 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
414 use value as an index.
415
1957f6b8
TT
4162016-05-23 Tom Tromey <tom@tromey.com>
417
418 PR python/17981:
419 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
420 no-breakpoint case.
421
026a9174
PA
4222016-05-24 Pedro Alves <palves@redhat.com>
423
424 PR gdb/19828
425 * gdb.threads/clone-attach-detach.c: New file.
426 * gdb.threads/clone-attach-detach.exp: New file.
427
e70a7231
FR
4282016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
429
430 * gdb.base/annota-input-while-running.exp: Fix syntax error.
431
0f6ed0e0
TT
4322016-05-23 Tom Tromey <tom@tromey.com>
433
434 PR python/19438, PR python/18393:
435 * gdb.python/py-progspace.exp: Add "dir" test.
436 * gdb.python/py-objfile.exp: Add "dir" test.
437
ffd19d61
YQ
4382016-05-23 Yao Qi <yao.qi@linaro.org>
439
440 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
441 * gdb.arch/thumb2-it.exp: Likewise.
442
9e8f9b05
SM
4432016-05-18 Simon Marchi <simon.marchi@ericsson.com>
444
445 * gdb.mi/mi-threads-interrupt.c: New file.
446 * gdb.mi/mi-threads-interrupt.exp: New file.
447
61c6156d
SM
4482016-05-17 Simon Marchi <simon.marchi@ericsson.com>
449
450 PR gdb/18077
451 * gdb.mi/mi-async-run.exp: New file.
452 * gdb.mi/mi-async-run.c: New file.
453
67218854
TT
4542016-05-17 Tom Tromey <tom@tromey.com>
455 Manish Goregaokar <manishsmail@gmail.com>
456
457 * lib/rust-support.exp: New file.
458 * lib/gdb.exp (skip_rust_tests): New proc.
459 (build_executable_from_specs): Handle rust.
460 * lib/future.exp (gdb_find_rustc): New proc.
461 (gdb_default_target_compile): Handle rust.
462 * gdb.rust/expr.exp: New file.
463 * gdb.rust/generics.exp: New file.
464 * gdb.rust/generics.rs: New file.
465 * gdb.rust/methods.exp: New file.
466 * gdb.rust/methods.rs: New file.
467 * gdb.rust/modules.exp: New file.
468 * gdb.rust/modules.rs: New file.
469 * gdb.rust/simple.exp: New file.
470 * gdb.rust/simple.rs: New file.
471
c44af4eb
TT
4722016-05-17 Tom Tromey <tom@tromey.com>
473
474 * gdb.base/default.exp (set language): Add rust.
475
dcd1f979
TT
4762016-05-17 Tom Tromey <tom@tromey.com>
477
478 * gdb.gdb/unittest.exp: New file.
479
155b7f57
YQ
4802016-05-16 Yao Qi <yao.qi@linaro.org>
481
482 * gdb.base/batch-preserve-term-settings.exp: Remove variable
483 shell_prompt. Update shell_prompt_re.
484
8ddd5a6c
DE
4852016-05-12 Doug Evans <dje@google.com>
486
487 PR symtab/19999
488 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
489 $options when building executable.
490 * gdb.dwarf2/fission-loclists-pie.S: New file.
491 * gdb.dwarf2/fission-loclists-pie.exp: New file.
492
02e370d9
SM
4932016-05-04 Simon Marchi <simon.marchi@ericsson.com>
494
495 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
496 of [is_remote target],
497
8929ad8b
SM
4982016-05-04 Simon Marchi <simon.marchi@ericsson.com>
499
500 * lib/gdb.exp (use_gdb_stub): New procedure.
501
6c447423
DE
5022016-05-03 Yunlian Jiang <yunlian@google.com>
503 Doug Evans <dje@google.com>
504
505 PR symtab/19914
506 * gdb.dwarf2/dwp-sepdebug.c: New file.
507 * gdb.dwarf2/dwp-sepdebug.exp: New file.
508
444e826c
SM
5092016-05-02 Simon Marchi <simon.marchi@ericsson.com>
510
511 * gdb.base/detach.exp: Remove is_remote check.
512
740feeaa
SM
5132016-05-02 Simon Marchi <simon.marchi@ericsson.com>
514
515 * gdb.base/annota-input-while-running.exp: Don't check for
516 [is_remote target]. Enable annotations after running to main.
517 Remove unused "set test..." line.
518
9080ac9d
SM
5192016-04-28 Simon Marchi <simon.marchi@ericsson.com>
520
521 * gdb.trace/trace-enable-disable.exp: New file.
522 * gdb.trace/trace-enable-disable.c: New file.
523
952ebca5
SM
5242016-04-28 Simon Marchi <simon.marchi@ericsson.com>
525
526 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
527 use it in info sharedlibrary test.
528 * gdb.trace/ftrace-lock.exp: Likewise.
529 * gdb.trace/ftrace.exp: Likewise.
530 * gdb.trace/range-stepping.exp: Likewise.
531 * gdb.trace/trace-break.exp: Likewise.
532 * gdb.trace/trace-condition.exp: Likewise.
533 * gdb.trace/trace-mt.exp: Likewise.
534
d9019901
SM
5352016-04-27 Simon Marchi <simon.marchi@ericsson.com>
536
537 * lib/gdb.exp (gdb_load_shlibs): Rename to...
538 (gdb_load_shlib): ... this.
539 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
540 gdb_load_shlib.
541 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
542 * gdb.base/ctxobj.exp: Likewise.
543 * gdb.base/dprintf-pending.exp: Likewise.
544 * gdb.base/dso2dso.exp: Likewise.
545 * gdb.base/fixsection.exp: Likewise.
546 * gdb.base/gcore-relro.exp: Likewise.
547 * gdb.base/gdb1555.exp: Likewise.
548 * gdb.base/global-var-nested-by-dso.exp: Likewise.
549 * gdb.base/gnu-ifunc.exp: Likewise.
550 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
551 * gdb.base/jit-so.exp (one_jit_test): Likewise.
552 * gdb.base/pending.exp: Likewise.
553 * gdb.base/print-file-var.exp: Likewise.
554 * gdb.base/print-symbol-loading.exp: Likewise.
555 * gdb.base/shlib-call.exp: Likewise.
556 * gdb.base/shreloc.exp: Likewise.
557 * gdb.base/so-impl-ld.exp: Likewise.
558 * gdb.base/solib-disc.exp: Likewise.
559 * gdb.base/solib-nodir.exp: Likewise.
560 * gdb.base/solib-overlap.exp: Likewise.
561 * gdb.base/solib-symbol.exp: Likewise.
562 * gdb.base/solib-weak.exp (do_test): Likewise.
563 * gdb.base/sym-file.exp: Likewise.
564 * gdb.base/symtab-search-order.exp: Likewise.
565 * gdb.base/type-opaque.exp: Likewise.
566 * gdb.base/unload.exp: Likewise.
567 * gdb.base/watchpoint-solib.exp: Likewise.
568 * gdb.compile/compile.exp: Likewise.
569 * gdb.cp/gdb2384.exp: Likewise.
570 * gdb.cp/infcall-dlopen.exp: Likewise.
571 * gdb.cp/re-set-overloaded.exp: Likewise.
572 * gdb.fortran/library-module.exp: Likewise.
573 * gdb.opt/solib-intra-step.exp: Likewise.
574 * gdb.python/py-finish-breakpoint.exp: Likewise.
575 * gdb.python/py-shared.exp: Likewise.
576 * gdb.reverse/solib-precsave.exp: Likewise.
577 * gdb.reverse/solib-reverse.exp: Likewise.
578 * gdb.server/solib-list.exp: Likewise.
579 * gdb.threads/dlopen-libpthread.exp: Likewise.
580 * gdb.threads/tls-shared.exp: Likewise.
581 * gdb.threads/tls-so_extern.exp: Likewise.
582 * gdb.trace/change-loc.exp: Likewise.
583 * gdb.trace/ftrace-lock.exp: Likewise.
584 * gdb.trace/ftrace.exp: Likewise.
585 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
586 * gdb.trace/pending.exp: Likewise.
587 * gdb.trace/range-stepping.exp: Likewise.
588 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
589 (strace_info_marker): Likewise.
590 (strace_probe_marker): Likewise.
591 (strace_trace_on_same_addr): Likewise.
592 (strace_trace_on_diff_addr): Likewise.
593 * gdb.trace/trace-break.exp: Likewise.
594 * gdb.trace/trace-condition.exp: Likewise.
595 * gdb.trace/trace-mt.exp: Likewise.
596
fca4cfd9
SM
5972016-04-27 Simon Marchi <simon.marchi@ericsson.com>
598
599 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
600 result of gdb_remote_download.
601 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
602 * gdb.base/dso2dso.exp: Likewise.
603 * gdb.base/global-var-nested-by-dso.exp: Likewise.
604 * gdb.base/print-file-var.exp: Likewise.
605 * gdb.base/shlib-call.exp: Likewise.
606 * gdb.base/shreloc.exp: Likewise.
607 * gdb.base/solib-overlap.exp: Likewise.
608 * gdb.base/solib-weak.exp (do_test): Likewise.
609 * gdb.base/unload.exp: Likewise.
610
11cf4ffb
YQ
6112016-04-27 Yao Qi <yao.qi@linaro.org>
612
613 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
614 exists.
615
3e2e34f8
KB
6162016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
617
618 * vla-type.exp: Print structure from toplevel.
619
8f07e298
BH
6202016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
621
622 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
623 of dynamic types.
624 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
625 of dynamic types.
626
9920b434
BH
6272016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
628
629 * gdb.fortran/vla-type.f90: New file.
630 * gdb.fortran/vla-type.exp: New file.
631
f3abeff5
YQ
6322016-04-25 Yao Qi <yao.qi@linaro.org>
633
634 * gdb.base/branch-to-self.c: New file.
635 * gdb.base/branch-to-self.exp: New file.
636
0a5d52f0
YQ
6372016-04-22 Yao Qi <yao.qi@linaro.org>
638
639 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
640 more after $hex.
641
495346f6
YQ
6422016-04-22 Yao Qi <yao.qi@linaro.org>
643
644 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
645 * gdb.base/annota3.exp: Likewise.
646
4a7e075c
YQ
6472016-04-22 Yao Qi <yao.qi@linaro.org>
648
649 * gdb.reverse/step-precsave.exp: Do one step and test program
650 stops in "callee" and do multiple steps until program goes out
651 of "callee".
652 * gdb.reverse/step-reverse.exp: Likewise.
653
5b061e98
YQ
6542016-04-22 Yao Qi <yao.qi@linaro.org>
655
656 * gdb.trace/signal.exp: Also pass if
657 $tracepoint_hits($i) > $iterations.
658
5c5dc57f
YQ
6592016-04-22 Yao Qi <yao.qi@linaro.org>
660
661 * gdb.trace/signal.c: New file.
662 * gdb.trace/signal.exp: New file.
663
a55411b9
DE
6642016-04-19 Doug Evans <xdje42@gmail.com>
665
666 * gdb.base/bad-file.exp: New file.
667
a22df60a
MG
6682016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
669
670 * gdb.dwarf2/implref.exp: New file.
671
0c13f7e5
BH
6722016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
673
674 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
675 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
676 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
677 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
678 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
679 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
680 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
681 * lib/fortran.exp (fortran_int4): New procedure.
682 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
683 (fortran_logical4): Likewise.
684
9b9b09e9
BH
6852016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
686
687 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
688
a14d1f4d
BH
6892016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
690
691 * lib/compiler.c: Add Intel specific preprocessor macros.
692 * lib/compiler.cc: Likewise.
25d49b86 693
7d49b1d0
LM
6942016-04-13 Luis Machado <lgustavo@codesourcery.com>
695
696 * gdb.server/connect-with-no-symbol-file.c: New file.
697 * gdb.server/connect-with-no-symbol-file.exp: New file.
698
8392fa22
SM
6992016-04-13 Simon Marchi <simon.marchi@ericsson.com>
700
701 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
702
8c4c4aeb
SM
7032016-04-13 Simon Marchi <simon.marchi@ericsson.com>
704
705 * boards/gdbserver-base.exp (${board}_download): Copy source file to
706 standard output directory.
707
45e3745e
AT
7082016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
709
710 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
711
e26b7e41
MM
7122016-04-13 Markus Metzger <markus.t.metzger@intel.com>
713
714 * gdb.btrace/instruction_history.c (loop): Add declaration.
715
8ce09462
AT
7162016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
717
718 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
719
2e88a1ea
SM
7202016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
721
722 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
723 parentheses to print.
724 (continue_handler): Likewise.
725
f48e22e3
SM
7262016-04-08 Simon Marchi <simon.marchi@ericsson.com>
727
728 * gdb.server/solib-list.exp: Remove is_remote check.
729 Pass shlib= to gdb_compile. Don't link shared library with
730 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
731 Run binary filename through "readlink -f" on the target.
732
096be756
PA
7332016-04-08 Pedro Alves <palves@redhat.com>
734
735 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
736 interpreter filename as argument to gdbserver_spawn.
737 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
738 Return empty if $last_loaded_file does not exist.
739
06500533
JK
7402016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
741
742 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
743 * gdb.base/jit-main.c: Use exit after usage.
744
2d35e871
JK
7452016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
746
747 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
748 GDBHISTSIZE prior to the tests.
749 * gdb.base/gdbinit-history.exp: Likewise.
750
7512016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
752
753 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
754 instead of build_executable. Use gdb_load_shlibs.
755
c8064e7e
YQ
7562016-04-07 Yao Qi <yao.qi@linaro.org>
757
758 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
759 Execute "si" command.
760
bde47561
YQ
7612016-04-07 Yao Qi <yao.qi@linaro.org>
762
763 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
764 number instead of the comments on some line.
765
b16f8a3b
DB
7662016-04-06 Don Breazeal <donb@codesourcery.com>
767
768 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
769 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
770
c2f901df
SM
7712016-04-06 Simon Marchi <simon.marchi@ericsson.com>
772
773 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
774 standard_output_file. Remove unused binfile variable.
775
ac17fda0
CU
7762016-04-05 Catalin Udma <catalin.udma@freescale.com>
777
778 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
779 * gdb.python/py-mi-objfile.exp: Match "list main" output
780 in console format.
781
03a8c4df
SM
7822016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
783
784 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
785 absolute.
786
6e774b13
SM
7872016-04-05 Simon Marchi <simon.marchi@ericsson.com>
788
789 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
790 absolute.
791 * gdb.trace/ftrace.exp: Likewise.
792 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
793 targets as well.
794 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
795 (gdb_load_shlibs): Copy libraries to test directory when testing
796 natively. Only set solib-search-path if testing remotely.
797 * lib/mi-support.exp (mi_load_shlibs): Likewise.
798
7817ea46
SM
7992016-04-05 Simon Marchi <simon.marchi@ericsson.com>
800
801 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
802 gdb_download. Use it even if the target is not remote.
803 * gdb.base/jit.exp (compile_jit_test): Likewise.
804 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
805 output directory if the destination board is local, otherwise use
806 the standard remote_download from DejaGnu.
807 (gdb_download): Remove.
808 (gdb_load_shlibs): Use gdb_remote_download instead of
809 gdb_download.
810 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
811 Use gdb_remote_download instead of gdb_download. Use it even if
812 the target is not remote.
813 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
814 instead of gdb_download.
815
7beb7f68
SM
8162016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
817
818 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
819 (test_insert_delete_modify): Call mi_load_shlibs before trying to
820 run.
821
cc63428a
AV
8222016-04-01 Artemiy Volkov <artemiyv@acm.org>
823
824 PR gdb/19820
825 * gdb.base/printcmds.exp: Add artificial arrays tests.
826
64cdf930
PA
8272016-03-31 Pedro Alves <palves@redhat.com>
828
829 PR gdb/19858
830 * gdb.base/jit-main.c: Include unistd.h.
831 (ATTACH): Define to 0 if not already defined.
832 (wait_for_gdb, mypid): New globals.
833 (WAIT_FOR_GDB): New macro.
834 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
835 some breakpoint locations.
836 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
837 New procedures.
838 (one_jit_test): Add REATTACH parameter, and handle it. Use
839 continue_to_test_location.
840 (top level): Test attach, and adjusts calls to one_jit_test.
841
40dea8cb
PA
8422016-03-31 Pedro Alves <palves@redhat.com>
843
844 PR gdb/19858
845 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
846 BINSUFFIX parameter, and handle it.
847 (top level): Adjust calls compile_jit_test.
848
e7ea3ec7
CU
8492016-03-31 Catalin Udma <catalin.udma@freescale.com>
850
851 PR python/19743
852 * gdb.python/py-mi-events-gdb.py: New file.
853 * gdb.python/py-mi-events.c: New file.
854 * gdb.python/py-mi-events.exp: New file.
855
e6359af3
YQ
8562016-03-30 Yao Qi <yao.qi@linaro.org>
857
858 * gdb.reverse/until-precsave.exp: Match function name only.
859 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
860 Move malloc to a condition block.
861 * gdb.reverse/until-reverse.exp: Match function name only.
862
a4105d04
MK
8632016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
864
865 * gdb.trace/ftrace.exp: Set arg0exp for s390.
866 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
867 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
868 variable for GPR 0 instead of assuming it is register 0.
869 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
870 * lib/trace-support.exp: Add s390 registers.
871
bfa6adb9
YQ
8722016-03-29 Yao Qi <yao.qi@linaro.org>
873
874 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
875
1e6697ea
YQ
8762016-03-24 Yao Qi <yao.qi@linaro.org>
877
878 * gdb.reverse/break-reverse.exp: Add quotation mark in the
879 test message.
880
64bcd522
AA
8812016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
882
883 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
884 maintaining separate logic for constructing the output path.
885
7868401b
DB
8862016-03-16 Don Breazeal <donb@codesourcery.com>
887
888 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
889 Retry fork and waitpid on interrupted system call errors.
890 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
891 Use with_timeout_factor to increase timeout by factor of 10.
892
1cafadb4
DB
8932016-03-15 Don Breazeal <donb@codesourcery.com>
894
895 * gdb.cp/scope-err.cc: New test program.
896 * gdb.cp/scope-err.exp: New test script.
897 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
898 lines and "set breakpoint here" comment.
899 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
900 Fixed some whitespace and format issues.
901 * gdb.mi/mi-linespec-err-cp.cc: New test program.
902 * gdb.mi/mi-linespec-err-cp.exp: New test script.
903
81516450
DE
9042016-03-15 Doug Evans <dje@google.com>
905
906 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
907 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
908 All callers updated. Add tests for enums, mixed flags register.
909
aa52b601
DE
9102016-03-15 Doug Evans <dje@google.com>
911
912 * gdb.base/skip.c (main): Call test_skip_file_and_function.
913 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
914
fa4ff313
SM
9152016-03-14 Simon Marchi <simon.marchi@ericsson.com>
916
917 * gdb.base/default.exp: Add $_as_string to the list of expected
918 convenience functions.
919
f2403c39
AB
9202016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
921
922 * gdb.base/maint.exp: New tests for 'maint info line-table'.
923
f2f3ccb9
SM
9242016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
925
926 * gdb.python/py-as-string.exp: New file.
927 * gdb.python/py-as-string.c: New file.
928
00dbd492
PA
9292016-03-09 Pedro Alves <palves@redhat.com>
930
931 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
932 signal" -> "Thread NN received signal" output change.
933 * gdb.threads/ia64-sigill.exp: Likewise.
934 * gdb.threads/linux-dp.exp: Likewise.
935 * gdb.threads/manythreads.exp: Likewise.
936 * gdb.threads/pending-step.exp: Likewise.
937 * gdb.threads/print-threads.exp: Likewise.
938 * gdb.threads/sigstep-threads.exp: Likewise.
939 * gdb.threads/staticthreads.exp: Likewise.
940 * gdb.threads/tls.exp: Likewise.
941
1e6697ea
YQ
9422016-03-09 Pedro Alves <palves@redhat.com>
943
944 * gdb.base/command-line-input.exp: New file.
945
b04fd3be
MK
9462016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
947
948 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
949 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
950 * gdb.trace/pending.exp: Accept leading dot before function name.
951 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
952 * lib/trace-support.exp: Set registers for ppc.
953
98fa59e9
MK
9542016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
955
956 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
957 use it for disassembly; accept .main in addition to main in backtrace.
958
f77198c8
MK
9592016-03-09 Wei-cheng Wang <cole945@gmail.com>
960 Marcin Kościelnicki <koriakin@0x04.net>
961
962 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
963 (gdb_recursion_test_ptr): New global variable.
964 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
965 gdb_recursion_test.
966 (gdb_c_test): Ditto.
967
ba84e0da
MK
9682016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
969
970 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
971 ordering.
972
4366d36e
MK
9732016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
974
975 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
976 (bar): Add bar_start_lbl label.
977 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
978 of foo/bar for emitting DWARF and tracing.
979
5eb264df
SDJ
9802016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
981
982 * analyze-racy-logs.py: Set executable bit.
983
fb6a751f
SDJ
9842016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
985
986 * Makefile.in (DEFAULT_RACY_ITER): New variable.
987 (CHECK_TARGET_TMP): Likewise.
988 (check-single-racy): New rule.
989 (check-parallel-racy): Likewise.
990 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
991 (do-check-parallel-racy): New rule.
992 (check-racy/%.exp): Likewise.
993 * README (Racy testcases): New section.
994 * analyze-racy-logs.py: New file.
995
bdf7e230
DE
9962016-03-03 Doug Evans <dje@google.com>
997
998 * gdb.base/skip.exp: Use with_test_prefix.
999
4719d415
YQ
10002016-03-03 Yao Qi <yao.qi@linaro.org>
1001
1002 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1003 Invoke step_over_syscall "clone" and break_cond_on_syscall
1004 "clone".
1005 * gdb.base/step-over-clone.c: New file.
1006
ea507862
YQ
10072016-03-03 Yao Qi <yao.qi@linaro.org>
1008
1009 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1010 code format.
1011
8fc8cbda
YQ
10122016-03-03 Yao Qi <yao.qi@linaro.org>
1013
1014 * gdb.base/disp-step-fork.c: Rename to ...
1015 * gdb.base/step-over-fork.c: ... it. New file.
1016 * gdb.base/disp-step-vfork.c: Rename to ...
1017 * gdb.base/step-over-vfork.c: ... it. New file.
1018 * gdb.base/disp-step-syscall.exp: Rename to ...
1019 * gdb.base/step-over-syscall.exp: ... it. New file.
1020 (disp_step_cross_syscall): Rename to ...
1021 (step_over_syscall): ... it.
1022
92fa70b0
YQ
10232016-03-03 Yao Qi <yao.qi@linaro.org>
1024
1025 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1026 If target supports condition evaluation on target, invoke
1027 break_cond_on_syscall for fork and vfork.
1028
e197ad3c
YQ
10292016-03-03 Yao Qi <yao.qi@linaro.org>
1030
1031 * gdb.base/disp-step-syscall.exp: Don't invoke
1032 support_displaced_stepping.
1033 (disp_step_cross_syscall): Test with displaced stepping off and
1034 on if supported.
1035
0b47da9f
YQ
10362016-03-03 Yao Qi <yao.qi@linaro.org>
1037
1038 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1039 proc.
1040 (setup): New proc.
1041 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1042 and setup.
1043
065ab6dc
BH
10442016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1045
1046 * gdb.fortran/vla-history.exp: Remove breakpoint.
1047
07e448ad 10482016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1049
25d49b86
PA
1050 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1051 exceeds timeout.
07e448ad 1052
9ac2d526 10532016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1054
25d49b86
PA
1055 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1056 breakpoint.
9ac2d526 1057
17807369
BH
10582016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1059
1060 * gdb.mi/vla.f90: Nullify pointer after declaration.
1061
86e501af
PA
10622016-03-01 Pedro Alves <palves@redhat.com>
1063
1064 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1065
1e903e32
PA
10662016-03-01 Pedro Alves <palves@redhat.com>
1067
1068 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1069 before anything else.
1070 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1071 _GNU_SOURCE here.
1072 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1073 before anything else.
1074 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1075
6ccb54e2
PA
10762016-03-01 Pedro Alves <palves@redhat.com>
1077
1078 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1079
30ca9da1
YQ
10802016-03-01 Yao Qi <yao.qi@linaro.org>
1081
1082 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1083 prepare_for_testing.
1084
dc856b38
YQ
10852016-03-01 Yao Qi <yao.qi@linaro.org>
1086
1087 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1088
4a932159
AA
10892016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1090
1091 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1092 manually constructing the output path.
1093
f2489477
AA
10942016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1095
1096 * gdb.arch/s390-stackless.S: New.
1097 * gdb.arch/s390-stackless.exp: New.
1098
38899f16
IB
10992016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1100
1101 * gdb.dlang/circular.c: New file.
1102 * gdb.dlang/circular.exp: New file.
1103
9fde51ed
YQ
11042016-02-26 Yao Qi <yao.qi@linaro.org>
1105
1106 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1107 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1108 (testcases): Update.
1109
ce90fefe
YQ
11102016-02-26 Yao Qi <yao.qi@linaro.org>
1111
1112 * gdb.reverse/aarch64.c: Rename to ...
1113 * gdb.reverse/insn-reverse.c: ... it.
1114 * gdb.reverse/aarch64.exp: Rename to ...
1115 * gdb.reverse/insn-reverse.exp: ... it.
1116
3263bceb
YQ
11172016-02-26 Yao Qi <yao.qi@linaro.org>
1118
1119 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1120 (testcase_ftype): New.
1121 (testcases): New array.
1122 (n_testcases): New.
1123 (main): Call each element in testcases.
1124 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1125 (read_testcase): New.
1126 Do the tests in a loop.
1127
6cb59ff1
YQ
11282016-02-25 Yao Qi <yao.qi@linaro.org>
1129
1130 * gdb.base/branches.c: Remove.
1131
ae91f625
MK
11322016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1133
1134 PR gdb/13808
1135 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1136
678b48b7
MK
11372016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1138
1139 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1140
7337a6f2
MK
11412016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1142
1143 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1144 change x86_64 call_insn to 'callq'.
1145
861ca91f
AT
11462016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1147
1148 * gdb.trace/tfile-avx.c: Move to...
1149 * gdb.trace/tracefile-pseudo-reg.c: Here.
1150 * gdb.trace/tfile-avx.exp: Move to...
1151 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1152
bf74e428
GB
11532016-02-24 Gary Benson <gbenson@redhat.com>
1154
1155 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1156 message on attach.
1157
cce0e923
DE
11582016-02-23 Doug Evans <dje@google.com>
1159
1160 * gdb.base/skip.c (test_skip): New function.
1161 (end_test_skip_file_and_function): New function.
1162 (test_skip_file_and_function): New function.
1163 * gdb.base/skip1.c (test_skip): New function.
1164 (skip1_test_skip_file_and_function): New function.
1165 * gdb.base/skip.exp: Add tests for new skip options.
1166 * gdb.base/skip-solib.exp: Update expected output.
1167 * gdb.perf/skip-command.cc: New file.
1168 * gdb.perf/skip-command.exp: New file.
1169 * gdb.perf/skip-command.py: New file.
1170
4000e47e
MK
11712016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1172
1173 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1174 info registers pattern.
1175
24f75ead
IB
11762016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1177
1178 * lib/future.exp: Add D support.
1179 (gdb_find_gdc): New proc.
1180 (gdb_default_target_compile): Add D support.
1181
fbb7bcbe
WW
11822016-02-18 Wei-cheng Wang <cole945@gmail.com>
1183
1184 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1185 user+system time.
1186 (trace_speed_test): Determine the iteration count for a time
1187 between 15..30 seconds.
1188
012b3a21
WT
11892016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1190
1191 * gdb.arch/i386-mpx-sigsegv.c: New file.
1192 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1193 * gdb.arch/i386-mpx-simple_segv.c: New file.
1194 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1195
2d5189bd
YQ
11962016-02-18 Yao Qi <yao.qi@linaro.org>
1197
1198 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1199 Don't call setup_kfail.
1200
40fb20d0
YQ
12012016-02-18 Yao Qi <yao.qi@linaro.org>
1202
1203 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1204 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1205
21b1f8d2
DE
12062016-02-16 Doug Evans <dje@google.com>
1207
1208 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1209 * gdb.base/skip1.c: Ditto.
1210 * gdb.base/skip.exp: Whitespace cleanup.
1211
4041ed77
DB
12122016-02-16 Don Breazeal <donb@codesourcery.com>
1213
1214 PR remote/19496
1215 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1216 Remove kfail for PR remote/19496.
1217
c4ef31bf
SM
12182016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1219
1220 * lib/gdb.exp (standard_temp_file): Return a path specific to
1221 the runtest invocation.
1222
266b65b3
SM
12232016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1224
1225 * gdb.trace/save-trace.exp: Change relative path to be in the
1226 standard output directory.
1227
a7a0a6a9
JK
12282016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1229
1230 * gdb.arch/i386-prologue.c: Add missing prototypes.
1231
c99dbb42
JK
12322016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1233
1234 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1235 * gdb.arch/i386-prologue.exp: Likewise.
1236 * gdb.arch/i386-size.exp: Likewise.
1237
aa480355
SM
12382016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1239
1240 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1241 define object file path.
1242 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1243 file path.
1244 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1245 standard_output_file to define binfile.
1246
ba881f50
JK
12472016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1248
1249 Fix compatibility with recent gfortran-5.3.1.
1250 * gdb.fortran/vla-history.exp (print vla1 allocated)
1251 (print vla2 allocated, print $2, print $3): Remove
1252 (print $4): Rename to ...
1253 (print $2): ... here.
1254 (print $9): Rename to ...
1255 (print $5): ... here.
1256 (print $10): Rename to ...
1257 (print $6): ... here.
1258 * gdb.fortran/vla.f90: Add pvla initialization.
1259
e9fb005c
JK
12602016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1261
1262 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1263 New test.
1264 * gdb.fortran/vla-value-sub.exp: Likewise.
1265
e44e00ff
MK
12662016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1267
1268 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1269
97e94151
SM
12702016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1271
1272 * i386-biarch-core.exp: Define corefile using
1273 standard_output_file.
1274
01113bc1
YQ
12752016-02-12 Yao Qi <yao.qi@linaro.org>
1276
1277 * gdb.arch/arm-single-step-kernel-helper.c: New.
1278 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1279
33b4777c
MM
12802016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1281
1282 * gdb.btrace/tailcall-only.exp: New.
1283 * gdb.btrace/tailcall-only.c: New.
1284 * gdb.btrace/x86_64-tailcall-only.S: New.
1285 * gdb.btrace/i686-tailcall-only.S: New.
1286
acc23c11
PA
12872016-02-11 Pedro Alves <palves@redhat.com>
1288
1289 * README (Parallel testing): Add missing double quotes.
1290
e352bf0a
PA
12912016-02-11 Pedro Alves <palves@redhat.com>
1292
1293 * README (Parallel testing): New section.
1294 (GDB_PARALLEL): Rewrite.
1295 (FORCE_PARALLEL): Document.
1296
9f5fed78
MK
12972016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1298
1299 * gdb.trace/tfile-avx.c: New test.
1300 * gdb.trace/tfile-avx.exp: New test.
1301
9ef9e6a6
KS
13022016-02-09 Keith Seitz <keiths@redhat.com>
1303
1304 PR breakpoints/19546
1305 * gdb.base/infcall-exec.c: New file.
1306 * gdb.base/infcall-exec2.c: New file.
1307 * gdb.base/infcall-exec.exp: New file.
1308
a96e36da
KS
13092016-02-09 Keith Seitz <keiths@redhat.com>
1310
1311 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1312 (toplevel): Call test_bkpt_address.
1313
9f61929f
KS
13142016-02-09 Keith Seitz <keiths@redhat.com>
1315
1316 PR python/19506
1317 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1318 (toplevel): Call test_bkpt_address.
1319
1e94266c
SM
13202016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1321
1322 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1323 to AC_OUTPUT.
1324 * configure: Regenerate.
1325
2a7f3dff
PA
13262016-02-09 Pedro Alves <palves@redhat.com>
1327
1328 PR breakpoints/19548
1329 * gdb.base/execl-update-breakpoints.c (some_function): New
1330 function.
1331 (main): Call it.
1332 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1333 Tighten expected GDB output.
1334
2151ccc5
SM
13352016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1336
1337 * Makefile.in (ALL_SUBDIRS): Remove.
1338 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1339 (distclean maintainer-clean realclean): Likewise.
1340 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1341 * configure: Regenerate.
1342 * gdb.ada/Makefile.in: Delete.
1343 * gdb.arch/Makefile.in: Likewise.
1344 * gdb.asm/Makefile.in: Likewise.
1345 * gdb.base/Makefile.in: Likewise.
1346 * gdb.btrace/Makefile.in: Likewise.
1347 * gdb.cell/Makefile.in: Likewise.
1348 * gdb.compile/Makefile.in: Likewise.
1349 * gdb.cp/Makefile.in: Likewise.
1350 * gdb.disasm/Makefile.in: Likewise.
1351 * gdb.dlang/Makefile.in: Likewise.
1352 * gdb.dwarf2/Makefile.in: Likewise.
1353 * gdb.fortran/Makefile.in: Likewise.
1354 * gdb.gdb/Makefile.in: Likewise.
1355 * gdb.go/Makefile.in: Likewise.
1356 * gdb.guile/Makefile.in: Likewise.
1357 * gdb.java/Makefile.in: Likewise.
1358 * gdb.linespec/Makefile.in: Likewise.
1359 * gdb.mi/Makefile.in: Likewise.
1360 * gdb.modula2/Makefile.in: Likewise.
1361 * gdb.multi/Makefile.in: Likewise.
1362 * gdb.objc/Makefile.in: Likewise.
1363 * gdb.opencl/Makefile.in: Likewise.
1364 * gdb.opt/Makefile.in: Likewise.
1365 * gdb.pascal/Makefile.in: Likewise.
1366 * gdb.perf/Makefile.in: Likewise.
1367 * gdb.python/Makefile.in: Likewise.
1368 * gdb.reverse/Makefile.in: Likewise.
1369 * gdb.server/Makefile.in: Likewise.
1370 * gdb.stabs/Makefile.in: Likewise.
1371 * gdb.threads/Makefile.in: Likewise.
1372 * gdb.trace/Makefile.in: Likewise.
1373 * gdb.xml/Makefile.in: Likewise.
1374 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1375 GDB_PARALLEL.
1376 (standard_output_file): Remove check for GDB_PARALLEL, always
1377 return path in outputs/$subdir/$testname.
1378
437277d4
SM
13792016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1380
1381 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1382 (site.exp): Assign abs_srcdir to tcl's srcdir.
1383
31d913c7
YQ
13842016-02-04 Yao Qi <yao.qi@linaro.org>
1385
1386 * gdb.base/foll-exec-mode.c: Include limits.h.
1387 (main): Add parameters argc and argv. Get directory from
1388 argv[0].
1389 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1390 compilation.
1391 * gdb.base/foll-exec.c: Include limits.h.
1392 (main): Add parameters argc and argv.
1393 Get directory from argv[0].
1394 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1395 Adjust tests on the number of lines as source code changed.
1396 * gdb.base/foll-vfork-exit.c: Include limits.h.
1397 (main): Add one line of statement before vfork.
1398 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1399 (main): Add parameters argc and argv. Get directory from
1400 argv[0].
1401 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1402 (setup_gdb): Set tbreak to skip some source lines.
1403 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1404 (main): Add parameters argc and argv. Get directory from
1405 argv[0].
1406 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1407 compilation.
1408 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1409 (main): Add parameters argc and argv. Get directory from
1410 argv[0].
1411 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1412 compilation.
1413
9482b9fb
DE
14142016-02-01 Doug Evans <dje@google.com>
1415
1416 * gdb.base/skip.exp: Clean up multiple references to same test name.
1417
6b2e4f10
PA
14182016-02-01 Pedro Alves <palves@redhat.com>
1419
ccb6afd6 1420 PR remote/19496
6b2e4f10
PA
1421 * gdb.threads/forking-threads-plus-breakpoint.exp
1422 (displaced_stepping_supported): New global.
1423 (probe_displaced_stepping_support): New procedure.
1424 (do_test): Add 'displaced' parameter, and use it.
1425 (top level): Check for displaced stepping support. Add displaced
1426 stepping on/off testing axis.
1427
37a8db1a
AB
14282016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1429
1430 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1431 pointer. Don't perform further tests on the unassociated pointer
1432 if the first test fails.
1433
5fdf6324
AB
14342016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1435
1436 * gdb.base/max-value-size.c: New file.
1437 * gdb.base/max-value-size.exp: New file.
1438 * gdb.base/huge.exp: Disable max-value-size for this test.
1439
935c6144
IB
14402016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1441
1442 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1443
7fe8399d
YQ
14442016-01-28 Yao Qi <yao.qi@linaro.org>
1445
1446 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1447
a2077e25
PA
14482016-01-25 Pedro Alves <palves@redhat.com>
1449
1450 PR threads/19461
1451 * gdb.base/fork-running-state.c: New file.
1452 * gdb.base/fork-running-state.exp: New file.
1453
1d2736d4
PA
14542016-01-25 Pedro Alves <palves@redhat.com>
1455
1456 PR gdb/19494
1457 * gdb.base/catch-fork-kill.c: New file.
1458 * gdb.base/catch-fork-kill.exp: New file.
1459
f1da4b11
PA
14602016-01-25 Pedro Alves <palves@redhat.com>
1461
1462 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1463 Delete, moved to lib/gdb.exp.
1464 * gdb.threads/forking-threads-plus-breakpoint.exp
1465 (foreach_with_prefix): Likewise.
1466 * gdb.threads/process-dies-while-handling-bp.exp
1467 (foreach_with_prefix): Likewise.
1468 * lib/gdb.exp (foreach_with_prefix): New procedure.
1469
45f38546
MK
14702016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1471
1472 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1473 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1474
dc29a1ce
MK
14752016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1476
1477 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1478 endian targets.
1479
092127d7
JK
14802016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1481 Pedro Alves <palves@redhat.com>
1482
1483 Fix testsuite compatibility with Guile.
1484 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1485 number.
1486
31d765d3
JK
14872016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1488
1489 Fix testsuite compatibility with Guile.
1490 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1491 (thread 1): New test for backtrace through signal handler.
1492
1ac78c04
YQ
14932016-01-22 Yao Qi <yao.qi@linaro.org>
1494
1495 PR testsuite/19491
1496 * gdb.base/multi-forks.c: Include
1497 ../lib/unbuffer_output.c
1498 (main): Call gdb_unbuffer_output.
1499
4f5946a8
DE
15002016-01-21 Doug Evans <dje@google.com>
1501
1502 * lib/ada.exp (gdb_compile_ada): Fix typo.
1503
305e13e6
JB
15042016-01-21 Joel Brobecker <brobecker@adacore.com>
1505
1506 * gdb.base/break-fun-addr.exp: New file.
1507 * gdb.base/break-fun-addr1.c: New file.
1508 * gdb.base/break-fun-addr2.c: New file.
1509
5f5dfff6
SM
15102016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1511
1512 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1513 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1514 enum flag values.
1515
fd356fa2
AA
15162016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1517
1518 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1519 when GDB can not set the vector return value. Add more comments
1520 for clarification.
1521
9df22175
AT
15222016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1523
1524 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1525 command.
1526
41d1845e
SM
15272016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1528
1529 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1530
01ac6840
SM
15312016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1532
1533 * Makefile.in (check-single): Pass --status to runtest.
1534 (check/%.exp): Likewise.
1535
15362016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1537
1538 * Makefile.in (check-parallel): Propagate return code from make
1539 do-check-parallel.
1540
bd0a71fa
MK
15412016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1542
1543 * gdb.trace/ftrace.exp: Fix expected message on continue.
1544 * gdb.trace/pending.exp: Fix expected message on continue.
1545 * gdb.trace/trace-break.exp: Fix expected message on continue.
1546
8bcbad33
SM
15472016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1548
1549 * lib/gdb.exp (gdb_test): Remove unused global references.
1550
f303dbd6
PA
15512016-01-18 Pedro Alves <palves@redhat.com>
1552
1553 * gdb.base/async-shell.exp: Adjust expected output.
1554 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1555 * gdb.base/siginfo-thread.exp: Adjust expected output.
1556 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1557 * gdb.java/jnpe.exp: Adjust expected output.
1558 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1559 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1560 * gdb.threads/leader-exit.exp: Adjust expected output.
1561 * gdb.threads/manythreads.exp: Adjust expected output.
1562 * gdb.threads/pthreads.exp: Adjust expected output.
1563 * gdb.threads/schedlock.exp: Adjust expected output.
1564 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1565 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1566 expected output.
1567 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1568 output.
1569 * gdb.threads/sigthread.exp: Adjust expected output.
1570 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1571
b2789696
YQ
15722016-01-18 Yao Qi <yao.qi@linaro.org>
1573
1574 * gdb.guile/scm-section-script.c: Replace @progbits with
1575 %progbits.
1576 * gdb.python/py-section-script.c: Likewise.
1577
71ef29a8
PA
15782016-01-15 Pedro Alves <palves@redhat.com>
1579
1580 * gdb.multi/tids.exp: Test star wildcard ranges.
1581
3f5b7598
PA
15822016-01-15 Pedro Alves <palves@redhat.com>
1583
1584 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1585 command from "thread apply" invocation.
1586 (thr_apply_info_thr_invalid): Default the expected output to the
1587 input tid list.
1588 (top level): Add tests that use convenience variables. Add tests
1589 for "thread apply" with a valid TID list, but missing the command.
1590
663f6d42
PA
15912016-01-13 Pedro Alves <palves@redhat.com>
1592
1593 * gdb.base/default.exp: Expect $_gthread as well.
1594 * gdb.multi/tids.exp: Test $_gthread.
1595 * gdb.threads/thread-specific.exp: Test $_gthread.
1596
c84f6bbf
PA
15972016-01-13 Pedro Alves <palves@redhat.com>
1598
1599 * gdb.multi/tids.exp: Test "info threads -gid".
1600
22a02324
PA
16012016-01-13 Pedro Alves <palves@redhat.com>
1602
1603 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1604 Breakpoint.thread.
1605 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1606
5d5658a1
PA
16072016-01-07 Pedro Alves <palves@redhat.com>
1608
1609 * gdb.base/break.exp: Adjust to output changes.
1610 * gdb.base/hbreak2.exp: Likewise.
1611 * gdb.base/sepdebug.exp: Likewise.
1612 * gdb.base/watch_thread_num.exp: Likewise.
1613 * gdb.linespec/keywords.exp: Likewise.
1614 * gdb.multi/info-threads.exp: Likewise.
1615 * gdb.threads/thread-find.exp: Likewise.
1616 * gdb.multi/tids.c: New file.
1617 * gdb.multi/tids.exp: New file.
1618
84654457
PA
16192016-01-13 Pedro Alves <palves@redhat.com>
1620
1621 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1622
e3940304
PA
16232016-01-13 Pedro Alves <palves@redhat.com>
1624
1625 * gdb.base/default.exp: Expect $_inferior as well.
1626 * gdb.multi/base.exp: Test $_inferior.
1627
a911d87a
PA
16282016-01-13 Pedro Alves <palves@redhat.com>
1629
1630 PR breakpoints/19388
1631 * gdb.base/catch-signal-siginfo-cond.c: New file.
1632 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1633
82075af2
JS
16342016-01-12 Josh Stone <jistone@redhat.com>
1635 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1636
1637 * gdb.base/catch-syscall.c (do_execve): New variable.
1638 (main): Conditionally trigger an execve.
1639 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1640 (test_catch_syscall_execve): New, check entry/return across execve.
1641 (do_syscall_tests): Call test_catch_syscall_execve.
1642
e46eeedd
PA
16432016-01-12 Pedro Alves <palves@redhat.com>
1644
1645 * gdb.base/random-signal.exp (do_test): New procedure, with body
1646 of testcase moved in.
1647
01d8c27e
JK
16482016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1649 Pedro Alves <palves@redhat.com>
1650
1651 * gdb.base/funcargs.exp (finish from indirectly called function):
1652 Reintroduce the case for 'First'.
1653
9a706302
JK
16542016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1655 Pedro Alves <palves@redhat.com>
1656
1657 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1658 (tcatch_vfork_then_child_follow_exec)
1659 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1660 identification.
1661
c0ecb95f
JK
16622016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1663
1664 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1665 and repeats to unlimited.
1666 * gdb.python/py-value.exp: Likewise.
1667 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1668 and repeats to unlimited.
1669
6cfc1fcb
JK
16702016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1671
1672 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1673 and reordering the functions.
1674 * gdb.multi/hangout.c: Likewise.
1675 * gdb.multi/hello.c: Likewise.
1676
582a1b00
SM
16772016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1678
1679 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1680 absolute.
1681 (SingleStatisticTestResult.report): Use dict.keys instead of
1682 dict.iterkeys.
1683
79bc59cb
PA
16842016-01-06 Pedro Alves <palves@redhat.com>
1685
1686 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1687
43368e1d
MM
16882016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1689
1690 * gdb.btrace/dlopen.exp: New.
1691 * gdb.btrace/dlopen.c: New.
1692 * gdb.btrace/dlopen-dso.c: New.
1693
79fad5b8
SL
16942015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1695
1696 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1697 PATTERN argument is optional.
1698
ab8314b3
JB
16992015-12-24 Joel Brobecker <brobecker@adacore.com>
1700
1701 * lib/ada.exp (target_compile_ada_from_dir): New function.
1702 (gdb_compile_ada): Reimplement avoiding the use of project files.
1703 * gdb.ada/gnat_ada.gpr: Delete.
1704 * gdb.ada/cond_lang.exp: Adjust test to make path before
1705 filename optional.
1706 * gdb.ada/small_reg_param.exp: Likewise.
1707
fe33faff
SM
17082015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1709
1710 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1711
6d265cb4
TP
17122015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1713
1714 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1715 case.
1716
10125099
SM
17172015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1718
1719 * gdb.base/break.exp: Remove dead code.
1720 * gdb.base/sepdebug.exp: Likewise.
1721
3ca22649
SM
17222015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1723
1724 * gdb.asm/asm-source.exp: Remove HP-UX references.
1725 * gdb.base/annota1.exp: Likewise.
1726 * gdb.base/annota3.exp: Likewise.
1727 * gdb.base/attach.exp: Likewise.
1728 * gdb.base/bigcore.exp: Likewise.
1729 * gdb.base/break.exp: Likewise.
1730 * gdb.base/call-ar-st.exp: Likewise.
1731 * gdb.base/callfuncs.exp: Likewise.
1732 * gdb.base/catch-fork-static.exp: Likewise.
1733 * gdb.base/display.exp: Likewise.
1734 * gdb.base/foll-exec-mode.exp: Likewise.
1735 * gdb.base/foll-exec.exp: Likewise.
1736 * gdb.base/foll-fork.exp: Likewise.
1737 * gdb.base/foll-vfork.exp: Likewise.
1738 * gdb.base/funcargs.exp: Likewise.
1739 * gdb.base/hbreak2.exp: Likewise.
1740 * gdb.base/inferior-died.exp: Likewise.
1741 * gdb.base/interrupt.exp: Likewise.
1742 * gdb.base/multi-forks.exp: Likewise.
1743 * gdb.base/nodebug.exp: Likewise.
1744 * gdb.base/sepdebug.exp: Likewise.
1745 * gdb.base/solib1.c: Likewise.
1746 * gdb.base/step-test.exp: Likewise.
1747 * gdb.mi/non-stop.c: Likewise.
1748 * gdb.mi/pthreads.c: Likewise.
1749 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1750 * gdb.threads/pthreads.c: Likewise.
1751 * gdb.threads/staticthreads.exp: Likewise.
1752 * lib/future.exp: Likewise.
1753 * lib/gdb.exp: Likewise.
1754 * gdb.base/so-indr-cl.c: Remove.
1755 * gdb.base/so-indr-cl.exp: Likewise.
1756 * gdb.base/solib.c: Likewise.
1757 * gdb.base/solib.exp: Likewise.
1758 * gdb.base/solib2.c: Likewise.
1759
b6304613
SM
17602015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1761
1762 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1763 * gdb.base/call-ar-st.exp: Likewise.
1764 * gdb.base/callfuncs.exp: Likewise.
1765 * gdb.base/condbreak.exp: Likewise.
1766 * gdb.base/constvars.exp: Likewise.
1767 * gdb.base/hbreak2.exp: Likewise.
1768 * gdb.base/langs.exp: Likewise.
1769 * gdb.base/list.exp: Likewise.
1770 * gdb.base/long_long.exp: Likewise.
1771 * gdb.base/ptype.exp: Likewise.
1772 * gdb.base/scope.exp: Likewise.
1773 * gdb.base/signals.exp: Likewise.
1774 * gdb.base/so-impl-ld.exp: Likewise.
1775 * gdb.base/varargs.exp: Likewise.
1776 * gdb.base/volatile.exp: Likewise.
1777 * gdb.base/whatis.exp: Likewise.
1778 * gdb.cp/cplusfuncs.exp: Likewise.
1779 * gdb.cp/inherit.exp: Likewise.
1780 * gdb.cp/local.exp: Likewise.
1781 * gdb.cp/member-ptr.exp: Likewise.
1782 * gdb.cp/method.exp: Likewise.
1783 * gdb.cp/overload.exp: Likewise.
1784 * gdb.cp/templates.exp: Likewise.
1785 * gdb.stabs/weird.exp: Likewise.
1786 * lib/compiler.c: Likewise.
1787 * lib/compiler.cc: Likewise.
1788 * lib/cp-support.exp: Likewise.
1789 * lib/gdb.exp: Likewise.
1790
bf401b07
SM
17912015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1792
1793 * configure.ac: Remove HP-UX case.
1794 * configure: Regenerate.
1795
aff9c0f8
SM
17962015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1797
1798 * lib/gdb.exp (gdb_compile): Add function doc.
1799
a6904d5a
PA
18002015-12-17 Pedro Alves <palves@redhat.com>
1801
1802 PR threads/19354
1803 * gdb.multi/info-threads.exp: New file.
1804
a22279dd
YQ
18052015-12-15 Yao Qi <yao.qi@linaro.org>
1806
1807 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1808 is aarch64*-*-*.
1809
0588c796
SL
18102015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1811
1812 * gdb.base/history-duplicates.exp: Skip if no readline support.
1813
5d978e17
SL
18142015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1815
1816 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1817
7e763b86
SL
18182015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1819
1820 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1821
87a3a92c
SL
18222015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1823
1824 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1825 ctrl-C if nointerrupts target property is set.
1826 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1827 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1828 * gdb.base/paginate-bg-execution.exp: Likewise.
1829 * gdb.base/paginate-execution-startup.exp: Likewise.
1830 * gdb.base/random-signal.exp: Likewise.
1831 * gdb.base/range-stepping.exp: Likewise.
1832 * gdb.cp/annota2.exp: Likewise.
1833 * gdb.cp/annota3.exp: Likewise.
1834 * gdb.gdb/selftest.exp: Likewise.
1835 * gdb.threads/continue-pending-status.exp: Likewise.
1836 * gdb.threads/leader-exit.exp: Likewise.
1837 * gdb.threads/manythreads.exp: Likewise.
1838 * gdb.threads/pthreads.exp: Likewise.
1839 * gdb.threads/schedlock.exp: Likewise.
1840 * gdb.threads/sigthread.exp: Likewise.
1841
a8f077dc
DB
18422015-12-11 Don Breazeal <donb@codesourcery.com>
1843
1844 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1845 remote.
1846 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1847 * gdb.base/foll-exec.exp (main): Enable for target remote.
1848 * gdb.base/foll-fork.exp (main): Likewise.
1849 * gdb.base/foll-vfork.exp (main): Likewise.
1850 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1851 (proc continue_to_exit_bp_loc): Use clean_restart.
1852 * gdb.base/pie-execl.exp (main): Disable for target remote.
1853 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1854 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1855 * gdb.threads/execl.exp (main): Likewise.
1856 * gdb.threads/fork-child-threads.exp (main): Likewise.
1857 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1858 remote.
1859 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1860 remote.
1861 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1862 pid.tid style ptids, instead of just tid.
1863 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1864 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1865 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1866 ptids, instead of just tid.
1867
3b2464a8
AB
18682015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1869
1870 * gdb.base/list.exp (test_list_forward): Add end of file error
1871 test.
1872 (test_repeat_list_command): Add end of file error test.
1873 (test_list_backwards): Add beginning of file error test.
1874
a0def019
AB
18752015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1876
1877 * gdb.base/list.exp (test_list_invalid_args): New function,
1878 defined, and called.
1879
5c000dff
AB
18802015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1881
1882 * gdb.base/list.exp (test_list): Make test names unique.
1883
f1637ebe
YQ
18842015-12-11 Yao Qi <yao.qi@linaro.org>
1885
1886 * gdb.base/coremaker2.c: Remove.
1887
36d6fc0a
PA
18882015-12-10 Pedro Alves <palves@redhat.com>
1889
1890 * gdb.multi/base.exp: Remove stale "spaces" references.
1891
762f7747
PA
18922015-12-10 Pedro Alves <palves@redhat.com>
1893
1894 * gdb.multi/base.exp: Don't use nowarnings.
1895 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1896 * gdb.multi/hangout.c: Include stdio.h.
1897 * gdb.multi/hello.c: Include stdlib.h.
1898 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1899 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1900 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1901
28d2bfb9
AB
19022015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1903
1904 * gdb.dwarf2/dw2-ranges-base.c: New file.
1905 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1906 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1907 support additional line table, and debug ranges generation.
1908 (Dwarf::ranges): New function, generate .debug_ranges.
1909 (Dwarf::lines): Support generating simple line table programs.
1910 (Dwarf::assemble): Initialise new namespace variables.
1911
5fc2beac
KB
19122015-12-09 Kevin Buettner <kevinb@redhat.com>
1913
1914 * gdb.base/async.exp (proc test_background): Add case for
1915 asynchronous execution not supported.
1916
1c35a88f
LM
19172015-12-09 Luis Machado <lgustavo@codesourcery.com>
1918
1919 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1920 format and change test names to make them unique.
1921
b593e3d9
RK
19222015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1923 Pedro Alves <pedro@redhat.com>
1924
1925 PR gdb/18702
1926 Add checking of floatformats setup on x86_64 hosts.
1927 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1928 (smallval, bigval): New labels/constants.
1929 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1930 float" after loading bigval and smallval.
1931
d72413e6
PMR
19322015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1933
1934 * gdb.ada/fun_overload_menu.exp: New testcase.
1935 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1936
ece66d65
JS
19372015-12-04 Josh Stone <jistone@redhat.com>
1938
1939 * gdb.base/catch-fork-static.exp: New.
1940
41d0efca
YQ
19412015-12-03 Yao Qi <yao.qi@linaro.org>
1942
1943 * gdb.base/sizeof.c: Don't include stdio.h and
1944 ../lib/unbuffer_output.c.
1945 (main): New variable 'size' and 'value'. Remove printf and
1946 gdb_unbuffer_output. Assign return value to size and value.
1947 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1948 at the beginning.
1949 (check_sizeof): Check the result by printing variable 'size'.
1950 (check_valueof): Check the result by printing variable 'value'.
1951
99fd02d9
YQ
19522015-12-01 Yao Qi <yao.qi@linaro.org>
1953
1954 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1955 for aarch64*-*-linux* target.
1956
f2faf941
PA
19572015-11-30 Pedro Alves <palves@redhat.com>
1958
1959 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1960
04bf20c5
PA
19612015-11-30 Pedro Alves <palves@redhat.com>
1962
1963 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1964 Handle non-stop mode vCont replies.
1965
09df4675
PA
19662015-11-30 Pedro Alves <palves@redhat.com>
1967
1968 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1969 prepare_for_testing. Start gdb with "set non-stop on" appended to
1970 GDBFLAGS. Lax expected stop output.
1971
58b584af
YQ
19722015-11-27 Yao Qi <yao.qi@linaro.org>
1973
1974 * gdb.arch/arm-neon.exp: New.
1975 * gdb.arch/arm-neon.c: New.
1976
dfcb77a8
YQ
19772015-11-27 Yao Qi <yao.qi@linaro.org>
1978
1979 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1980
88e8ec1b
YQ
19812015-11-27 Yao Qi <yao.qi@linaro.org>
1982
1983 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1984 frames-invalid annotation.
1985
bfde72c2
YQ
19862015-11-27 Yao Qi <yao.qi@linaro.org>
1987
1988 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1989
f6512a69
SM
19902015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1991
1992 * gdb.threads/names.exp: New file.
1993 * gdb.threads/names.c: New file.
1994 * README: Mention gdb,no_thread_names.
1995
46a3515b
MM
19962015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1997
1998 PR 19297
1999 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2000 support" error.
2001
62147a22
PA
20022015-11-24 Pedro Alves <palves@redhat.com>
2003
2004 PR 17539
2005 * gdb.base/display.exp: Expect displays to be sorted in ascending
2006 order. Use multi_line.
2007 * gdb.base/solib-display.exp: Likewise.
2008
2f341b6e
PA
20092015-11-24 Pedro Alves <palves@redhat.com>
2010
2011 PR 17539
25d49b86
PA
2012 * gdb.base/display.exp: Expect displays to be sorted in ascending
2013 order. Use multi_line.
2014 * gdb.base/solib-display.exp: Likewise.
2f341b6e 2015
7e0aa6aa
PA
20162015-11-24 Pedro Alves <palves@redhat.com>
2017
2018 PR 17539
2019 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2020 threads in ascending order.
2021 * gdb.base/foll-fork.exp: Likewise.
2022 * gdb.base/foll-vfork.exp: Likewise.
2023 * gdb.base/multi-forks.exp: Likewise.
2024 * gdb.mi/mi-nonstop.exp: Likewise.
2025 * gdb.mi/mi-nsintrall.exp: Likewise.
2026 * gdb.multi/base.exp: Likewise.
2027 * gdb.multi/multi-arch.exp: Likewise.
2028 * gdb.python/py-inferior.exp: Likewise.
2029 * gdb.threads/break-while-running.exp: Likewise.
2030 * gdb.threads/execl.exp: Likewise.
2031 * gdb.threads/gcore-thread.exp: Likewise.
2032 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2033 * gdb.threads/kill.exp: Likewise.
2034 * gdb.threads/linux-dp.exp: Likewise.
2035 * gdb.threads/multiple-step-overs.exp: Likewise.
2036 * gdb.threads/next-bp-other-thread.exp: Likewise.
2037 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2038 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2039 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2040 * gdb.threads/thread-find.exp: Likewise.
2041 * gdb.threads/tls.exp: Likewise.
2042 * lib/mi-support.exp (mi_reverse_list): Delete.
2043 (mi_check_thread_states): No longer reverse list.
2044
2cc57ad8
PA
20452015-11-24 Pedro Alves <palves@redhat.com>
2046
2047 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2048 use lowercase.
2049
c93e8391
SM
20502015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2051
2052 * gdb.trace/actions.c: Include trace-common.h.
2053 (main): Add a location for a fast tracepoint.
2054 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2055 the normal tracepoints.
2056 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2057
045ccf91
SM
20582015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2059
2060 * save-trace.exp: Factor out code to these...
2061 (gdb_save_tracepoints): New.
2062 (gdb_load_tracepoints): New.
2063 (do_save_load_test): New.
2064
5506f9f6
KB
20652015-11-23 Kevin Buettner <kevinb@redhat.com>
2066
2067 * gdb.base/asmlabel.exp: New test.
2068 * gdb.base/asmlabel.c: New test case.
2069
16c3b12f
JB
20702015-11-23 Joel Brobecker <brobecker@adacore.com>
2071
2072 * gdb.base/wrong_frame_bt_full-main.c: New file.
2073 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2074 * gdb.base/wrong_frame_bt_full.exp: New file.
2075
155bfbd3
JB
20762015-11-23 Joel Brobecker <brobecker@adacore.com>
2077
2078 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2079
bb097445
JM
20802015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2081
206853a0 2082 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
2083 pstate register when comparing registers values in
2084 sparc64-*-linux-gnu targets to avoid spurious differences.
2085
9c88ed8f
JM
20862015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2087
206853a0 2088 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 2089
96161e25
SL
20902015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2091
2092 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2093 as type argument to gdb_compile.
2094 * gdb.base/nested-subp2.exp: Likewise.
2095 * gdb.base/nested-subp3.exp: Likewise.
2096
340c2830
DV
20972015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2098
2099 * lib/dwarf.exp (_note): Fix left shift of negative value.
2100 * gdb.trace/trace-condition.exp: Likewise.
2101
c1862d0f
YQ
21022015-11-13 Yao Qi <yao.qi@linaro.org>
2103
2104 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2105 comments about d10v.
2106 (test_scalar_returns): Likewise.
2107 * gdb.base/d10v.ld: Remove.
2108 * gdb.base/overlays.exp: Remove the target triplet checking for
2109 d10v-*-*.
2110 * gdb.base/structs.exp (test_struct_returns): Remove the
2111 comments about d10v.
2112 (test_struct_calls): Likewise.
2113
77ae9c19
YQ
21142015-11-13 Yao Qi <yao.qi@linaro.org>
2115
2116 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2117 * gdb.base/gnu_vector.c: Don't include stdio.h.
2118 (main): Don't print res and call add_some_intvecs.
2119
430e004e
MK
21202015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2121
2122 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2123 macro.
2124 (func5): Removed.
2125 (func4): Use FAST_TRACEPOINT_LABEL.
2126 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2127 macro.
2128 (func): Removed.
2129 (thread_function): Use FAST_TRACEPOINT_LABEL.
2130 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2131 (func): Remove.
2132 (marker): Use FAST_TRACEPOINT_LABEL.
2133 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2134 (pendfunc1): Remove.
2135 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2136 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2137 (foo): Remove.
2138 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2139 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2140 macro.
2141 (func): Remove.
2142 (marker): Use FAST_TRACEPOINT_LABEL.
2143 * gdb.trace/trace-common.h: New header.
2144 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2145 macro.
2146 (func): Remove.
2147 (marker): Use FAST_TRACEPOINT_LABEL.
2148 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2149 (func): Remove.
2150 (thread_function): Use FAST_TRACEPOINT_LABEL.
2151
6e7675a7
MK
21522015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2153
2154 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2155 in front.
2156 * gdb.trace/change-loc.exp: Use global pcreg definition.
2157 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2158 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2159 in front.
2160 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2161 * gdb.trace/pending.exp: Likewise.
2162 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2163 * gdb.trace/trace-break.exp: Likewise.
2164 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2165 in front.
2166 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2167 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2168 in front.
2169 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2170
dddc0e16
JB
21712015-11-09 Joel Brobecker <brobecker@adacore.com>
2172
2173 * gdb.ada/fin_fun_out: New testcase.
2174
c6f0b406
KB
21752015-11-07 Kevin Buettner <kevinb@redhat.com>
2176
2177 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2178 value associated with DW_AT_byte_size.
2179 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2180 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2181 DW_AT_upper_bound.
2182
f01dcfd9
KB
21832015-11-07 Kevin Buettner <kevinb@redhat.com>
2184
2185 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2186 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2187 version.
2188 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2189 gdb.dwarf2/dw2-canonicalize-type.exp,
2190 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2191 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2192 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2193 provided by gdb_target_symbol_prefix_flags_asm.
2194 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2195 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2196 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2197 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2198 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2199 macros where needed). Use this macro for symbols which require
2200 the prefix provided by SYMBOL_PREFIX.
2201
2223449a
KB
22022015-11-05 Kevin Buettner <kevinb@redhat.com>
2203
2204 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2205 New procs.
2206 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2207 representing expressions, of more than one list element.
2208 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2209 to prepend linker symbol prefix to f.
2210 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2211 table_1 and table_2.
2212 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2213 Likewise, for f and g.
2214 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2215 for ptr.
2216 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2217 for main.
2218 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2219 table_1_ptr and table_2_ptr.
2220
6f2f1a3a
JK
22212015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2222 Joel Brobecker <brobecker@adacore.com>
2223
2224 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2225
566c56c9
MK
22262015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2227
2228 * gdb.reverse/s390-mvcle.c: New test.
2229 * gdb.reverse/s390-mvcle.exp: New file.
2230 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2231
d5f0636b
MK
22322015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2233
2234 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2235
7ad8b86c
MK
22362015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2237
2238 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2239 reaching marker2.
2240 * gdb.reverse/getresuid-reverse.exp: Likewise.
2241 * gdb.reverse/pipe-reverse.exp: Likewise.
2242 * gdb.reverse/readv-reverse.exp: Likewise.
2243 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2244 * gdb.reverse/time-reverse.exp: Likewise.
2245 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2246
4081c0f1
YQ
22472015-10-30 Yao Qi <yao.qi@linaro.org>
2248
2249 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2250 (empty_cycle): Remove.
2251 (main): Don't call empty_cycle. Don't use watch_count_done.
2252 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2253 empty_cycle. Rewrite the code counting HW watchpoints.
2254
452b4ba5
MK
22552015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2256
2257 * gdb.reverse/fstatat-reverse.c: New test.
2258 * gdb.reverse/fstatat-reverse.exp: New file.
2259 * gdb.reverse/getresuid-reverse.c: New test.
2260 * gdb.reverse/getresuid-reverse.exp: New file.
2261 * gdb.reverse/pipe-reverse.c: New test.
2262 * gdb.reverse/pipe-reverse.exp: New file.
2263 * gdb.reverse/readv-reverse.c: New test.
2264 * gdb.reverse/readv-reverse.exp: New file.
2265 * gdb.reverse/recvmsg-reverse.c: New test.
2266 * gdb.reverse/recvmsg-reverse.exp: New file.
2267 * gdb.reverse/time-reverse.c: New test.
2268 * gdb.reverse/time-reverse.exp: New file.
2269 * gdb.reverse/waitpid-reverse.c: New test.
2270 * gdb.reverse/waitpid-reverse.exp: New file.
2271
5e2e7507
JK
22722015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2273
2274 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2275
0fde2c53
DE
22762015-10-26 Doug Evans <dje@google.com>
2277
2278 PR symtab/17391
2279 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2280 * gdb.dwarf2/bad-regnum.c: New file.
2281 * gdb.dwarf2/bad-regnum.exp: New file.
2282
1a70ae97
DE
22832015-10-26 Doug Evans <dje@google.com>
2284
2285 PR python/18938
2286 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2287 file.
2288
27dc26ab
JK
22892015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2290
2291 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2292 for a change by "Mention language in compile error message".
2293
bed91f4d
SM
22942015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2295
2296 PR python/18073
2297 * gdb.python/py-type.c (C::a_method): New.
2298 (C::a_const_method): New.
2299 (C::a_static_method): New.
2300 (a_function): New.
2301 * gdb.python/py-type.exp (test_fields): Test getting fields
2302 from function and method.
2303
3f2f83dd
KB
23042015-10-21 Keven Boell <keven.boell@intel.com>
2305
2306 * gdb.fortran/vla-alloc-assoc.exp: New file.
2307 * gdb.fortran/vla-datatypes.exp: New file.
2308 * gdb.fortran/vla-datatypes.f90: New file.
2309 * gdb.fortran/vla-history.exp: New file.
2310 * gdb.fortran/vla-ptype-sub.exp: New file.
2311 * gdb.fortran/vla-ptype.exp: New file.
2312 * gdb.fortran/vla-sizeof.exp: New file.
2313 * gdb.fortran/vla-sub.f90: New file.
2314 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2315 * gdb.fortran/vla-value-sub-finish.exp: New file.
2316 * gdb.fortran/vla-value-sub.exp: New file.
2317 * gdb.fortran/vla-value.exp: New file.
2318 * gdb.fortran/vla-ptr-info.exp: New file.
2319 * gdb.mi/mi-vla-fortran.exp: New file.
2320 * gdb.mi/vla.f90: New file.
2321
27145d50
SL
23222015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2323
2324 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2325 of hardwired timeout value.
2326
5f3ff4f8
JK
23272015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2328 Pedro Alves <palves@redhat.com>
2329
2330 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2331 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2332
bfd09d20
JS
23332015-10-19 Josh Stone <jistone@redhat.com>
2334
2335 * gdb.base/catch-syscall.c: Include <sched.h>.
2336 (unknown_syscall): New variable.
2337 (main): Trigger a vfork and an unknown syscall.
2338 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2339 (unknown_syscall_number): Likewise.
2340 (check_call_to_syscall): Accept an optional syscall pattern.
2341 (check_return_from_syscall): Likewise.
2342 (check_continue): Likewise.
2343 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2344 (test_catch_syscall_skipping_return): New test toggling off 'catch
2345 syscall' to step over the syscall return, then toggling back on.
2346 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2347 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2348 (do_syscall_tests): Call test_catch_syscall_without_args and
2349 test_catch_syscall_mid_vfork.
2350 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2351 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2352
b32b93c6
AS
23532015-10-19 Andrew Stubbs <ams@codesourcery.com>
2354
2355 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2356 print g_vE): Add new pass patterns.
2357 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2358 print various symbol names for vptr fields.
2359
9d622bda
AB
23602015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2361
2362 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2363 results.
2364
0fd8ac1c
YQ
23652015-10-12 Yao Qi <yao.qi@linaro.org>
2366
2367 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2368
34240514
YQ
23692015-10-12 Yao Qi <yao.qi@linaro.org>
2370
2371 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2372 is aarch64*-*-linux*.
2373
8240f442
YQ
23742015-10-12 Yao Qi <yao.qi@linaro.org>
2375
2376 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2377 (can_relocate_bcond_true): ... it.
2378 (can_relocate_bcond_false): New function.
2379 (foo): Likewise.
2380 (can_relocate_bl): Likewise.
2381 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2382 can_relocate_bl.
2383
2520f728
PMR
23842015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2385
2386 * gdb.base/nested-addr.c: New file.
2387 * gdb.base/nested-addr.exp: New testcase.
2388
abcef95a
MM
23892015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2390
2391 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2392 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2393 its output. Ignore the output of "record goto begin" and instead
2394 check that GDB is replaying.
2395
145e3ddb
PA
23962015-10-09 Pedro Alves <palves@redhat.com>
2397
2398 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2399 (top level): Use it in the run with no args test.
2400
d5d8c4e1
IB
24012015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2402
2403 * gdb.dlang/properties.exp: New file.
2404
06e635ef
SL
24052015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2406
2407 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2408 whether or not address 0x1000 is mapped on the target.
2409
e019fd1d
SM
24102015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2411
2412 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2413 build.
2414
77ba2a67
MM
24152015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2416
2417 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2418 instruction-history test.
2419
c60eb31f
DE
24202015-09-28 Doug Evans <dje@google.com>
2421
2422 * gdb.base/gcore.c (array_func): Add reference to static_array.
2423
9a3c8263
SM
24242015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2425
2426 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2427 source line.
2428
9720e656
SL
24292015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2430
2431 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2432 short or char as base type.
2433
938d3bf2
SL
24342015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2435
2436 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2437 to allow any size enum.
2438
e6c2c623
PMR
24392015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2440
2441 * gdb.ada/array_ptr_renaming.exp: New testcase.
2442 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2443 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2444
06da0f77
PL
24452015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2446
2447 * gdb.trace/ftrace-lock.c: New file.
2448 * gdb.trace/ftrace-lock.exp: New file.
2449
4f51c22a
PL
24502015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2451
2452 * gdb.arch/insn-reloc.c: New file.
2453 * gdb.arch/ftrace-insn-reloc.exp: New file.
2454
7041adf4
PL
24552015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2456
2457 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2458 instruction.
2459 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2460 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2461 * gdb.trace/range-stepping.c: Likewise.
2462 * gdb.trace/trace-break.c: Likewise.
2463 * gdb.trace/trace-mt.c (thread_function): Likewise.
2464 * gdb.trace/ftrace.c (marker): Likewise.
2465 * gdb.trace/trace-condition.c (marker): Likewise.
2466 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2467 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2468 is_aarch64_target.
2469
015d2e7e
DE
24702015-09-18 Doug Evans <xdje42@gmail.com>
2471
2472 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2473 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2474
26b188a2
SL
24752015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2476
2477 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2478 the breakpoint.
2479
79dc332b
SL
24802015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2481
2482 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2483 the pending breakpoint. Remove timeout override for "Run till
2484 MI pending breakpoint on pendfunc3 on thread 2" test.
2485
f57929f2
SL
24862015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2487
2488 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2489 filename pattern.
2490
3f469b17
SL
24912015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2492
2493 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2494 in breakpoint filename pattern.
2495
515b89b3
SL
24962015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2497
7800dbe4
SL
2498 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2499
25002015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2501
515b89b3
SL
2502 * gdb.linespec/explicit.exp: Check for readline support for
2503 tab-completion tests. Fix obvious typo.
2504
d2939ba2
MM
25052015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2506
2507 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2508 and replay.
2509
cbb55fa7
MM
25102015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2511
2512 * gdb.btrace/non-stop.c: New.
2513 * gdb.btrace/non-stop.exp: New.
2514
43691ca1
PL
25152015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2516 Yao Qi <yao.qi@linaro.org>
2517
2518 * gdb.trace/trace-condition.c: New file.
2519 * gdb.trace/trace-condition.exp: New file.
2520
d78908cf
WW
25212015-09-16 Wei-cheng Wang <cole945@gmail.com>
2522
2523 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2524 for testing bytecode compilation.
2525
1ed415e2
PA
25262015-09-16 Pedro Alves <palves@redhat.com>
2527 Sandra Loosemore <sandra@codesourcery.com>
2528
2529 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2530 (SECONDS): Redefine.
2531 (main): Call pthread_kill and alarm early.
2532 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2533 support.
2534 (test): If the target can't hardware step and doesn't support
2535 displaced stepping, increase the timeout.
2536
d136eff5
PA
25372015-09-16 Pedro Alves <palves@redhat.com>
2538
2539 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2540 (enable_debug): New procedures.
2541 (test): Use them. Bail out if waiting for threads fails.
2542 (top level): Bail out if a test fails.
2543
991f019c
YQ
25442015-09-16 Yao Qi <yao.qi@linaro.org>
2545
2546 * gdb.asm/asm-source.exp: Set asm-arch for
2547 aarch64*-*-* target.
2548 * gdb.asm/aarch64.inc: New file.
2549
bfca584f
PMR
25502015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2551
2552 * gdb.ada/array_of_variable_length.exp: New testcase.
2553 * gdb.ada/array_of_variable_length/foo.adb: New file.
2554 * gdb.ada/array_of_variable_length/pck.adb: New file.
2555 * gdb.ada/array_of_variable_length/pck.ads: New file.
2556
b326e587
DE
25572015-09-15 Doug Evans <dje@google.com>
2558
2559 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2560 of function static local variable.
2561
5382cfab
PW
25622015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2563
2564 * gdb.threads/tls-so_extern.exp: New test file.
2565 * gdb.threads/tls-so_extern.c: New test file.
2566 * gdb.threads/tls-so_extern_main.c: New test file.
2567
141c5cc4
JK
25682015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2569
2570 * gdb.opt/solib-intra-step-lib.c: New file.
2571 * gdb.opt/solib-intra-step-main.c: New file.
2572 * gdb.opt/solib-intra-step.exp: New file.
2573
d15dcecd
PA
25742015-09-15 Pedro Alves <palves@redhat.com>
2575
2576 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2577 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2578
4c2f2a79
PA
25792015-09-14 Pedro Alves <palves@redhat.com>
2580
2581 * gdb.base/hook-stop-continue.c: Delete.
2582 * gdb.base/hook-stop-continue.exp: Delete.
2583 * gdb.base/hook-stop-frame.c: Delete.
2584 * gdb.base/hook-stop-frame.exp: Delete.
2585 * gdb.base/hook-stop.c: New file.
2586 * gdb.base/hook-stop.exp: New file.
2587
919e6dbe
PMR
25882015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2589
2590 * gdb.ada/access_to_packed_array.exp: New testcase.
2591 * gdb.ada/access_to_packed_array/foo.adb: New file.
2592 * gdb.ada/access_to_packed_array/pack.adb: New file.
2593 * gdb.ada/access_to_packed_array/pack.ads: New file.
2594
157280a4
MM
25952015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2596
2597 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2598 buffer size test.
2599
2fd33e94
DB
26002015-09-11 Don Breazeal <donb@codesourcery.com>
2601
2602 * gdb.base/foll-exec.c: Add copyright header. Fix
2603 formatting issues.
2604 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2605 (do_exec_tests): Use clean_restart in place of zap_session,
2606 and for test initialization. Fix formatting issues. Use
2607 fail in place of perror.
2608 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2609 an expect statement to match an expression with output from
2610 the program under debug.
2611 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2612 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2613 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2614 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2615 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2616
e70b6e8e
DE
26172015-09-09 Doug Evans <dje@google.com>
2618
2619 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2620
7a551a51
DE
26212015-09-09 Doug Evans <dje@google.com>
2622
2623 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2624
4c666f84
DE
26252015-09-09 Doug Evans <dje@google.com>
2626
2627 * gdb.base/savedregs.exp: Fix typo.
2628
243a9253
PA
26292015-09-09 Pedro Alves <palves@redhat.com>
2630
2631 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2632
c0fa8fbd
SL
26332015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2634
2635 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
2636 command actually switches threads. Give up on remaining
2637 tests if target fails to stop at breakpoint.
2638
cd7c1778
PMR
26392015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2640
2641 * gdb.ada/funcall_char.exp: New testcase.
2642 * gdb.ada/funcall_char/foo.adb: New file.
2643
dc5c8746
PMR
26442015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2645
2646 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2647 expected outputs. Add two testcases for completing ambiguous
2648 functions.
2649 * gdb.ada/complete/aux_pck.adb: New file.
2650 * gdb.ada/complete/aux_pck.ads: New file.
2651 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2652 Ambiguous_Func functions.
2653 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2654 * gdb.ada/complete/pck.adb: Likewise.
2655
4e83a1e7
UW
26562015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2657
2658 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2659 failures to run the test program under GDB.
2660
8ce74153
LM
26612015-08-26 Luis Machado <lgustavo@codesourcery.com>
2662
2663 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2664 to C.
2665
e9756d52
PP
26662015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2667
2668 * gdb.base/run-after-attach.exp: New test file.
2669 * gdb.base/run-after-attach.c: New test file.
2670
8d37573b
DB
26712015-08-26 Don Breazeal <donb@codesourcery.com>
2672
2673 * gdb.base/foll-exec-2.c: New test program.
2674 * gdb.base/foll-exec-2.exp: New test.
2675
63e43d3a
PMR
26762015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2677
2678 * gdb.base/nested-subp1.exp: New file.
2679 * gdb.base/nested-subp1.c: New file.
2680 * gdb.base/nested-subp2.exp: New file.
2681 * gdb.base/nested-subp2.c: New file.
2682 * gdb.base/nested-subp3.exp: New file.
2683 * gdb.base/nested-subp3.c: New file.
2684
3d40fbb5
PA
26852015-08-24 Pedro Alves <palves@redhat.com>
2686
2687 * gdb.server/connect-without-multi-process.c: New file.
2688 * gdb.server/connect-without-multi-process.exp: New file.
2689
4422ac93
LM
26902015-08-24 Luis Machado <lgustavo@codesourcery.com>
2691
2692 * gdb.opt/inline-markers.c: Make z int.
2693
91dddb86
LM
26942015-08-24 Luis Machado <lgustavo@codesourcery.com>
2695
2696 * gdb.opt/inline-markers.c: Make z volatile.
2697
a48847ee
LM
26982015-08-24 Luis Machado <lgustavo@codesourcery.com>
2699
2700 * gdb.opt/inline-bt.c: New volatile global z.
2701 * gdb.opt/inline-cmds.c: Likewise.
2702 * gdb.opt/inline-locals.c: Likewise.
2703 * gdb.opt/inline-markers.c: New extern global z.
2704 (marker): Use z.
2705 (inline_fn): Likewise.
2706
0ebbc52b
PA
27072015-08-24 Pedro Alves <palves@redhat.com>
2708
2709 * config/m32r-stub.exp: Remove file.
2710 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2711 * gdb.base/call-rt-st.exp: Likewise.
2712 * gdb.base/call-strs.exp: Likewise.
2713 * gdb.base/default.exp: Remove references to h8300-*-hms and
2714 *-*-udi*.
2715 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2716
77c365df
AA
27172015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2718
2719 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2720 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2721 and "return" use KFAIL when GDB can not read/write the vector
2722 return value.
2723
4313b8c0
GB
27242015-08-21 Gary Benson <gbenson@redhat.com>
2725
2726 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2727
0e433b32
PA
27282015-08-20 Pedro Alves <palves@redhat.com>
2729
2730 * gdb.server/solib-list.exp: No longer expect an interior stop in
2731 non-stop mode.
2732
221e1a37
PA
27332015-08-20 Pedro Alves <palves@redhat.com>
2734
2735 * gdb.server/connect-stopped-target.c: New file.
2736 * gdb.server/connect-stopped-target.exp: New file.
2737
40e3ad0e
PA
27382015-08-20 Pedro Alves <palves@redhat.com>
2739
2740 * gdb.dwarf2/comp-unit-lang.exp: New file.
2741 * gdb.dwarf2/comp-unit-lang.c: New file.
2742
af39b327
PMR
27432015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2744
2745 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2746 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2747
7d45c7c3 27482015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 2749
7d45c7c3
KB
2750 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2751 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2752
4d6cceb4
DE
27532015-08-18 Doug Evans <dje@google.com>
2754 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2755
2756 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2757 skip_python_tests. New arg prompt_regexp.
2758 (skip_python_tests): New function.
2759 * lib/mi-support.exp (mi_skip_python_tests): New function.
2760 * gdb.python/py-mi-objfile-gdb.py: New file.
2761 * gdb.python/py-mi-objfile.c: New file.
2762 * gdb.python/py-mi-objfile.exp: New file.
2763
ad89c2aa
KS
27642015-08-17 Keith Seitz <keiths@redhat.com>
2765
2766 * gdb.linespec/explicit.exp: Move strace test from here ...
2767 * gdb.trace/strace.exp: ... to here.
2768
e3ae3c43
PP
27692015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2770
2771 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2772 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2773
604b2636
DE
27742015-08-14 Doug Evans <xdje42@gmail.com>
2775
2776 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2777 inferior before selecting a new file.
2778
6ff0ba5f
DE
27792015-08-14 Doug Evans <xdje42@gmail.com>
2780
2781 * gdb.mi/mi-disassemble.exp: Update.
2782 * gdb.base/disasm-optim.S: New file.
2783 * gdb.base/disasm-optim.c: New file.
2784 * gdb.base/disasm-optim.h: New file.
2785 * gdb.base/disasm-optim.exp: New file.
2786
9ca98f92
KS
27872015-08-14 Keith Seitz <keiths@redhat.com>
2788
2789 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2790 "evaluated-by".
2791
52bbc560
JB
27922015-08-13 Joel Brobecker <brobecker@adacore.com>
2793
2794 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2795
5d8c3ed3
PMR
27962015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2797
2798 * gdb.ada/fun_renaming.exp: New testcase.
2799 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2800 * gdb.ada/fun_renaming/pack.adb: New file.
2801 * gdb.ada/fun_renaming/pack.ads: New file.
2802
ea8812bc
KS
28032015-08-12 Keith Seitz <keiths@redhat.com>
2804
2805 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2806 gdb_get_line_number.
2807
4dafcdeb
JB
28082015-08-12 Joel Brobecker <brobecker@adacore.com>
2809
2810 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2811 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2812 gdb.base/dso2dso.exp: New files.
2813
5ba32597
SDJ
28142015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2815 Pedro Alves <palves@redhat.com>
2816 Keith Seitz <keiths@redhat.com>
2817
2818 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2819 GDBFLAGS.
2820
b6dafabf
PP
28212015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2822
2823 * gdb.base/gdbhistsize-history.exp
2824 (test_histsize_history_setting): Use save_vars.
2825 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2826 Use save_vars.
2827 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2828 * gdb.base/readline.exp: Use save_vars.
2829
abe8e607
PP
28302015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2831
2832 * lib/gdb.exp (save_vars): New proc.
2833
629500fa
KS
28342015-08-11 Keith Seitz <keiths@redhat.com>
2835
2836 * gdb.base/help.exp: Update help_breakpoint_text.
2837
eb8c4e2e
KS
28382015-08-11 Keith Seitz <keiths@redhat.com>
2839
2840 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2841 (at toplevel): Call test_explicit_breakpoints.
2842 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2843 breakpoints.
2844 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2845 breakpoint conditions, "-cond".
2846
87f0e720
KS
28472015-08-11 Keith Seitz <keiths@redhat.com>
2848
2849 * gdb.linespec/3explicit.c: New file.
2850 * gdb.linespec/cpexplicit.cc: New file.
2851 * gdb.linespec/cpexplicit.exp: New file.
2852 * gdb.linespec/explicit.c: New file.
2853 * gdb.linespec/explicit.exp: New file.
2854 * gdb.linespec/explicit2.c: New file.
2855 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2856 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2857 before using in the matching pattern.
2858 Clarify that `prefix' is a regular expression.
2859
f00aae0f
KS
28602015-08-11 Keith Seitz <keiths@redhat.com>
2861
2862 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2863 test.
2864 Add tests for missing ",FMT" and ",".
2865
e27852be
DE
28662015-08-10 Doug Evans <dje@google.com>
2867 Keith Seitz <keiths@redhat.com>
2868
2869 PR gdb/17960
2870 * gdb.base/completion.exp: Add location completer tests.
2871
7f03bd92
PA
28722015-08-07 Pedro Alves <palves@redhat.com>
2873
2874 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2875 tests here.
2876 (top level): Run do_test with and without displaced stepping.
2877
3fc8eb30
PA
28782015-08-07 Pedro Alves <palves@redhat.com>
2879
2880 * gdb.base/valgrind-disp-step.c: New file.
2881 * gdb.base/valgrind-disp-step.exp: New file.
2882
d4569d7b
PA
28832015-08-07 Pedro Alves <palves@redhat.com>
2884
2885 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2886 Delete function.
2887 (main): Add alarm. Run an infinite loop instead of calling
2888 wait_threads.
2889 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2890 comment.
2891 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2892 Delete function.
2893 (main): Add alarm. Run an infinite loop instead of calling
2894 wait_threads.
2895 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2896 comment.
2897
e1316e60
PA
28982015-08-07 Pedro Alves <palves@redhat.com>
2899
2900 * gdb.base/checkpoint-ns.exp: New file.
2901 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2902 standard_testfile.
2903
da8c46d2
MM
29042015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2905
2906 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2907 * gdb.btrace/instruction_history.exp: Update.
2908 * gdb.btrace/tsx.exp: New.
2909 * gdb.btrace/tsx.c: New.
2910
de1c2c52
PA
29112015-08-06 Pedro Alves <palves@redhat.com>
2912
2913 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2914 increase timeout.
2915 * gdb.reverse/until-precsave.exp: Bump timeouts.
2916
782e0bf4
PA
29172015-08-06 Pedro Alves <palves@redhat.com>
2918
2919 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2920
83e97ed0
PA
29212015-08-06 Pedro Alves <palves@redhat.com>
2922
2923 PR gdb/18749
2924 * gdb.threads/process-dies-while-handling-bp.c: New file.
2925 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2926
863d01bd
PA
29272015-08-06 Pedro Alves <palves@redhat.com>
2928
2929 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2930 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2931
0a39bb32
PA
29322015-08-05 Pedro Alves <palves@redhat.com>
2933
2934 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2935 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2936
ee2d2b10
SL
29372015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2938
2939 * gdb.base/bp-permanent.exp: Report test as unsupported if
2940 the target cannot stop at the permanent breakpoint.
2941
4e1bdb00
DE
29422015-08-03 Doug Evans <dje@google.com>
2943
2944 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2945 10000.
2946
3d338901
DE
29472015-08-03 Doug Evans <dje@google.com>
2948
2949 * Makefile.in (workers/%.worker, build-perf): New rule.
2950 (GDB_PERFTEST_MODE): New variable.
2951 (check-perf): Use it.
2952 (clean): Clean up gdb.perf parallel build subdirs.
2953 * lib/build-piece.exp: New file.
2954 * lib/gdb.exp (make_gdb_parallel_path): New function
2955 (standard_output_file, standard_temp_file): Call it.
2956 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2957 of $GDB_PARALLEL.
2958 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2959
af061d3e
DE
29602015-08-03 Doug Evans <dje@google.com>
2961
8e1afc81 2962 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
2963 (LOG_FILE_NAME): New global.
2964 (TextReporter.__init__): Initialize self.txt_sum.
2965 (TextReporter.report): Add support for multiple data-points.
2966 Move report to perftest.sum, put raw data in perftest.log.
2967 (TextReporter.start): Open sum and log files.
2968 (TextReporter.end): Close sum and log files.
8e1afc81
DE
2969 * gdb.perf/lib/perftest/testresult.py
2970 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 2971
2c8c5d37
PA
29722015-07-31 Pedro Alves <palves@redhat.com>
2973
2974 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2975 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2976 kill_wait_spawned_process instead of explicit "kill -9".
2977 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2978 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2979 kill_wait_spawned_process.
2980 * gdb.base/attach-twice.exp: Likewise.
2981 * gdb.base/attach.exp: Likewise.
2982 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2983 gdb_test_multiple.
2984 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2985 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2986 kill_wait_spawned_process.
2987 * gdb.base/valgrind-infcall.exp: Likewise.
2988 * gdb.multi/multi-attach.exp: Likewise.
2989 * gdb.python/py-prompt.exp: Likewise.
2990 * gdb.python/py-sync-interp.exp: Likewise.
2991 * gdb.server/ext-attach.exp: Likewise.
2992 * gdb.threads/attach-into-signal.exp (corefunc): Use
2993 spawn_wait_for_attach, spawn_id_get_pid and
2994 kill_wait_spawned_process.
2995 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2996 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2997 spawn_id_get_pid and kill_wait_spawned_process.
2998 * gdb.threads/attach-stopped.exp (corefunc): Use
2999 spawn_wait_for_attach, spawn_id_get_pid and
3000 kill_wait_spawned_process.
3001 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3002 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3003 kill_wait_spawned_process instead of explicit "kill -9".
3004 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3005 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3006 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3007 processes. Don't map cygwin/windows pids here. Now returns a
3008 spawn id list.
3009
032a0fca
SL
30102015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3011
3012 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3013 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3014 correct patch.
3015
61a934ca
SL
30162015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3017
3018 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3019
4bc4d428
SL
30202015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3021
3022 Reapply:
3023 2014-05-21 Mark Wielaard <mjw@redhat.com>
3024
3025 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3026
998d452a
PA
30272015-07-30 Pedro Alves <palves@redhat.com>
3028
3029 * linux-low.c (handle_extended_wait): Set the child's last
3030 reported status to TARGET_WAITKIND_STOPPED.
3031
69dde7dc
PA
30322015-07-30 Pedro Alves <palves@redhat.com>
3033
3034 PR threads/18600
3035 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3036 only shows inferior 1.
3037
4dd63d48
PA
30382015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3039 Pedro Alves <palves@redhat.com>
3040
3041 PR threads/18600
3042 * gdb.threads/fork-plus-threads.c: New file.
3043 * gdb.threads/fork-plus-threads.exp: New file.
3044
d618e4c5
PP
30452015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3046
3047 * gdb.base/batch-preserve-term-settings.exp
3048 (test_terminal_settings_preserved_after_cli_exit): Use
3049 send_quit_command.
3050
1eef6428
PA
30512015-07-29 Pedro Alves <palves@redhat.com>
3052 Don Breazeal <donb@codesourcery.com>
3053
3054 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3055 output from both inferior_spawn_id and gdb_spawn_id.
3056
7da5b897
SDJ
30572015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3058
3059 * gdb.threads/attach-into-signal.exp (corefunc): Use
3060 with_test_prefix on nested loops, uniquefying the test messages.
3061
dac804df
SDJ
30622015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3063
3064 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3065 commit.
3066
06265e53
PP
30672015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3068
3069 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3070 New proc.
3071 (test_terminal_settings_preserved_after_sigterm): New test.
3072
18206ca3
PP
30732015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3074
3075 * gdb.base/batch-preserve-term-settings.exp
3076 (test_terminal_settings_preserved_after_cli_exit): New test.
3077
90074d11
PP
30782015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3079
3080 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3081 manipulation of saved_gdbflags.
3082 (test_terminal_settings_preserved): Remove global declaration of
3083 the unused variable pagination_prompt. Remove manipulation of
3084 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3085 GDBFLAGS.
3086
eb1a7902
PA
30872015-07-29 Pedro Alves <palves@redhat.com>
3088
3089 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3090
8b75dd3b
PA
30912015-07-29 Pedro Alves <palves@redhat.com>
3092
3093 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3094 at the top.
3095
dedad4e3
PA
30962015-07-29 Pedro Alves <palves@redhat.com>
3097
3098 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3099 (main): Call gdb_unbuffer_output.
3100 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3101 (main): Call gdb_unbuffer_output.
3102 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3103 (main): Call gdb_unbuffer_output.
3104 * gdb.base/call-strs.exp: Adjust to step over the
3105 gdb_unbuffer_output call.
3106 * gdb.base/catch-gdb-caused-signals.c: Include
3107 "../lib/unbuffer_output.c".
3108 (main): Call gdb_unbuffer_output.
3109 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3110 (main): Call gdb_unbuffer_output.
3111 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3112 (main): Call gdb_unbuffer_output.
3113 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3114 (main): Call gdb_unbuffer_output.
3115 * gdb.base/shlib-call.exp: Adjust to step over the
3116 gdb_unbuffer_output call.
3117 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3118 (main): Call gdb_unbuffer_output.
3119 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3120 (main): Call gdb_unbuffer_output.
3121 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3122 (main): Rename to ...
3123 (test): ... this.
3124 (main): Reimplement.
3125 * gdb.base/varargs.exp: Run to test instead of to main.
3126 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3127 (main): Call gdb_unbuffer_output.
3128
58789a91
PA
31292015-07-29 Pedro Alves <palves@redhat.com>
3130
3131 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3132 factore out from mi_continue_dprintf. For call-style dprintfs,
3133 expect dprintf output out of $inferior_spawn_id.
3134 (mi_continue_dprintf): Use mi_expect_dprintf.
3135 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3136 (main): Call gdb_unbuffer_output.
3137
e8376742
PA
31382015-07-29 Pedro Alves <palves@redhat.com>
3139
3140 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3141 (default_mi_gdb_start): Set inferior_spawn_id instead of
3142 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3143 gdb_spawn_id.
3144 (mi_gdb_test): Always expect inferior output from both
3145 $inferior_spawn_id and $gdb_spawn_id.
3146
08280010
PA
31472015-07-29 Pedro Alves <palves@redhat.com>
3148
3149 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3150 send_inferior and $inferior_spawn_id.
3151
4d30e432
PA
31522015-07-29 Pedro Alves <palves@redhat.com>
3153
3154 * gdb.gdb/complaints.exp (test_initial_complaints)
3155 (test_serial_complaints, test_short_complaints): Use
3156 gdb_test_stdio.
3157 (test_empty_complaint): Handle $inferior_spawn_id !=
3158 $gdb_spawn_id.
3159
0d30a335
PA
31602015-07-29 Pedro Alves <palves@redhat.com>
3161
3162 * gdb.base/varargs.exp: Use gdb_test_stdio.
3163
39413b29
PA
31642015-07-29 Pedro Alves <palves@redhat.com>
3165
3166 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3167
7cb000a9
PA
31682015-07-29 Pedro Alves <palves@redhat.com>
3169
3170 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3171
d7b8ac82
PA
31722015-07-29 Pedro Alves <palves@redhat.com>
3173
3174 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3175 parameter into two new parameters, "inf_result" and "gdb_result".
3176 Expect inferior output and gdb output from $inferior_spawn_id and
3177 $gdb_spawn_id, respectively. Adjust all callers.
3178
789c3a0c
PA
31792015-07-29 Pedro Alves <palves@redhat.com>
3180
3181 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3182 of gdb_test_sequence.
3183
77e760c3
PA
31842015-07-29 Pedro Alves <palves@redhat.com>
3185
3186 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3187 (saw_spurious_output): Expect inferior output from
3188 $inferior_spawn_id. Use gdb_test_stdio.
3189
8396d2cd
PA
31902015-07-29 Pedro Alves <palves@redhat.com>
3191
3192 * gdb.base/dprintf.exp: Use standard_testfile. Change
3193 prepare_for_testing call.
3194 (srcfile): Don't set.
3195 (restart): New procedure.
3196 (test_dprintf): New procecure, use to continue over dprintfs.
3197 (test_call, test_agent): New procedures, tests moved here.
3198 Restart gdb and recreate dprintfs. Adjust expected output.
3199
2051d61f
PA
32002015-07-29 Pedro Alves <palves@redhat.com>
3201
3202 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3203
452397af
PA
32042015-07-29 Pedro Alves <palves@redhat.com>
3205
3206 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3207
8aed9555
PA
32082015-07-29 Pedro Alves <palves@redhat.com>
3209
3210 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3211 gdb_test_stdio.
3212
188a61b4
PA
32132015-07-29 Pedro Alves <palves@redhat.com>
3214
3215 * lib/gdb.exp (gdb_test_stdio): New procedure.
3216
12264a45
PA
32172015-07-29 Pedro Alves <palves@redhat.com>
3218
3219 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3220
23ffc893
PA
32212015-07-29 Pedro Alves <palves@redhat.com>
3222
3223 * gdb.base/call-signal-resume.exp: Remove check for
3224 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3225 * gdb.base/unwindonsignal.exp: Likewise.
3226 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3227 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3228
65566918
PA
32292015-07-29 Pedro Alves <palves@redhat.com>
3230
3231 * gdb.base/siginfo-addr.c (pass): New function.
3232 (handler): Call it iff si_addr is correct.
3233 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3234 Set a breakpoint at "pass" and continue to it.
3235
d60a9221
SDJ
32362015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3237
3238 * gdb.python/py-objfile.exp: Make some tests have unique names.
3239 * gdb.python/py-pp-registration.exp: Likewise.
3240
bde40b8f
PA
32412015-07-28 Pedro Alves <palves@redhat.com>
3242
3243 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3244
13e1dec8
SM
32452015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3246
3247 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3248
da33c9a7
SM
32492015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3250
3251 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3252
077836f7
PP
32532015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3254
3255 * gdb.base/gdb-sigterm-2.exp: New test.
3256
b8cc7b2e
DE
32572015-07-25 Doug Evans <xdje42@gmail.com>
3258
3259 Revert:
3260 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3261 (workers/%.worker, build-perf): New rule.
3262 (GDB_PERFTEST_MODE): New variable.
3263 (check-perf): Use it.
3264 (clean): Clean up gdb.perf parallel build subdirs.
3265 * lib/build-piece.exp: New file.
3266 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3267 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3268 name.
3269 (standard_temp_file): Ditto.
3270 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3271 of $GDB_PARALLEL.
3272
c8bd4544
DE
32732015-07-24 Doug Evans <dje@google.com>
3274
3275 * gdb.perf/lib/perftest/utils.py: New file.
3276 * gdb.perf/gm-hello.cc: New file.
3277 * gdb.perf/gm-pervasive-typedef.cc: New file.
3278 * gdb.perf/gm-pervasive-typedef.h: New file.
3279 * gdb.perf/gm-std.cc: New file.
3280 * gdb.perf/gm-std.h: New file.
3281 * gdb.perf/gm-use-cerr.cc: New file.
3282 * gdb.perf/gm-utils.h: New file.
3283 * gdb.perf/gmonster-null-lookup.py: New file.
3284 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3285 * gdb.perf/gmonster-print-cerr.py: New file.
3286 * gdb.perf/gmonster-ptype-string.py: New file.
3287 * gdb.perf/gmonster-runto-main.py: New file.
3288 * gdb.perf/gmonster-select-file.py: New file.
3289 * gdb.perf/gmonster1-null-lookup.exp: New file.
3290 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3291 * gdb.perf/gmonster1-print-cerr.exp: New file.
3292 * gdb.perf/gmonster1-ptype-string.exp: New file.
3293 * gdb.perf/gmonster1-runto-main.exp: New file.
3294 * gdb.perf/gmonster1-select-file.exp: New file.
3295 * gdb.perf/gmonster1.cc: New file.
3296 * gdb.perf/gmonster1.exp: New file.
3297 * gdb.perf/gmonster2-null-lookup.exp: New file.
3298 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3299 * gdb.perf/gmonster2-print-cerr.exp: New file.
3300 * gdb.perf/gmonster2-ptype-string.exp: New file.
3301 * gdb.perf/gmonster2-runto-main.exp: New file.
3302 * gdb.perf/gmonster2-select-file.exp: New file.
3303 * gdb.perf/gmonster2.cc: New file.
3304 * gdb.perf/gmonster2.exp: New file.
3305
6eab34f3
DE
33062015-07-24 Doug Evans <dje@google.com>
3307
3308 * gdb.perf/README: New file.
3309 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3310 * lib/gen-perf-test.exp: New file.
3311
63738bfd
DE
33122015-07-24 Doug Evans <dje@google.com>
3313
3314 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3315 (PerfTest::startup): New function.
3316 (PerfTest::run): Return result of calling body.
3317 (PerfTest::assemble): Rewrite.
3318 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3319 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3320 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3321 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3322 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3323
7b606f95
DE
33242015-07-24 Doug Evans <dje@google.com>
3325
3326 * lib/gdb.exp (clean_restart): Make executable optional.
3327
a97b16b8
DE
33282015-07-24 Doug Evans <dje@google.com>
3329
3330 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3331 compiler_info references.
3332 * gdb.cp/temargs.exp: Ditto.
3333 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3334 (get_compiler_info): Early exit if already computed. Set compiler_info
3335 to "unknown" if there was a problem.
3336 (test_compiler_info): Add function comment. Call get_compiler_info.
3337
35baa57f
DE
33382015-07-24 Doug Evans <dje@google.com>
3339
3340 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3341 (workers/%.worker, build-perf): New rule.
3342 (GDB_PERFTEST_MODE): New variable.
3343 (check-perf): Use it.
3344 (clean): Clean up gdb.perf parallel build subdirs.
3345 * lib/build-piece.exp: New file.
3346 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3347 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3348 name.
3349 (standard_temp_file): Ditto.
3350 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3351 of $GDB_PARALLEL.
3352
6ebea266
DE
33532015-07-24 Doug Evans <dje@google.com>
3354
3355 * lib/future.exp (gdb_default_target_compile): New option
3356 "early_flags".
3357 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3358 --as-needed.
3359
1e76a7e9
SDJ
33602015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3361
3362 * gdb.base/catch-syscall.exp: Call gdb_exit before
3363 gdb_skip_xml_test.
3364
5068630a
PA
33652015-07-24 Pedro Alves <palves@redhat.com>
3366
3367 * gdb.python/py-events.exp: Accept output between the stop event
3368 and the prompt.
3369 * gdb.python/py-evsignal.exp: Likewise.
3370 * gdb.python/py-evthreads.exp: Likewise.
3371
77598427
PA
33722015-07-24 Pedro Alves <palves@redhat.com>
3373
3374 PR gdb/18717
3375 * gdb.threads/non-ldr-exit.c: New file.
3376 * gdb.threads/non-ldr-exit.exp: New file.
3377
11e6c98f
YQ
33782015-07-24 Yao Qi <yao.qi@linaro.org>
3379
3380 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3381 restarting process.
3382
51aee833
YQ
33832015-07-24 Yao Qi <yao.qi@linaro.org>
3384
3385 * gdb.server/ext-restart.exp: New file.
3386
8cfe207c
YQ
33872015-07-24 Yao Qi <yao.qi@linaro.org>
3388
3389 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3390 argument options.
3391 * gdb.server/ext-wrapper.exp: New file.
3392
cc12ce38
DE
33932015-07-23 Doug Evans <dje@google.com>
3394
3395 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3396 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3397
d0d84780
PMR
33982015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3399
3400 * gdb.ada/var_arr_typedef.exp: New testcase.
3401 * gdb.ada/var_arr_typedef/pack.adb: New file.
3402 * gdb.ada/var_arr_typedef/pack.ads: New file.
3403 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3404
8b558f79
JB
34052015-07-20 Joel Brobecker <brobecker@adacore.com>
3406
3407 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3408
775a3298
JK
34092015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3410
3411 * gdb.arch/i386-biarch-core.exp: Replace istarget
3412 by "complete set gnutarget". Remove expectation for the "core-file"
3413 command.
3414
db1ff28b
JK
34152015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3416
3417 Revert the previous commit:
3418 Tests for validate symbol file using build-id.
3419
0a94970d
JK
34202015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3421
3422 Tests for validate symbol file using build-id.
3423 * gdb.base/solib-mismatch-lib.c: New file.
3424 * gdb.base/solib-mismatch-libmod.c: New file.
3425 * gdb.base/solib-mismatch.c: New file.
3426 * gdb.base/solib-mismatch.exp: New file.
3427
03346981
SL
34282015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3429
3430 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3431 nios2-*-linux*.
3432 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3433 * gdb.base/siginfo.exp: Likewise.
3434 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3435
42422cc7
PL
34362015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3437
3438 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3439 Move it to ...
3440 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3441 ... here.
3442 * gdb.trace/range-stepping.exp: Check that the target supports
3443 range stepping.
3444
cfa68bae
JK
34452015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3446
3447 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3448
8ffdba26
PA
34492015-07-14 Pedro Alves <palves@redhat.com>
3450
3451 * gdb.base/killed-outside.exp: New file.
3452 * gdb.base/killed-outside.c: New file.
3453
218a5a11
JK
34542015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3455
3456 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3457 (n at main): New.
3458 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3459
e03ed3c6
AA
34602015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3461
3462 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3463 infcall tests instead of setting up for KFAIL.
3464
485668e5
MM
34652015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3466
3467 * gdb.btrace/record_goto-step.exp: New.
3468
08464196
JK
34692015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3470
3471 PR compile/18484
3472 * gdb.compile/compile.c (struct struct_type): Add volatile to
3473 selffield's type.
3474 * gdb.compile/compile.exp
3475 (compile code struct_object.selffield = &struct_object): Skip further
3476 struct_object tests if this one xfails.
3477
bcf5c1d9
RC
34782015-07-08 Robert O'Callahan <robert@ocallahan.org>
3479
3480 PR exp/18617
3481 * gdb.trace/ax.exp: Add test.
3482
4931af25
YQ
34832015-07-07 Yao Qi <yao.qi@linaro.org>
3484
3485 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3486 instead of istarget "aarch64*-*-*".
3487 * gdb.arch/aarch64-fp.exp: Likewise.
3488 * gdb.base/float.exp: Likewise.
3489 * gdb.reverse/aarch64.exp: Likewise.
3490 * lib/gdb.exp (is_aarch64_target): New proc.
3491
9fcf688e
YQ
34922015-07-07 Yao Qi <yao.qi@linaro.org>
3493
3494 * lib/gdb.exp (is_aarch32_target): New proc.
3495 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3496 instead of "istarget "arm*-*-*"".
3497 * gdb.arch/arm-disp-step.exp: Likewise.
3498 * gdb.arch/thumb-bx-pc.exp: Likewise.
3499 * gdb.arch/thumb-prologue.exp: Likewise.
3500 * gdb.arch/thumb-singlestep.exp: Likewise.
3501 * gdb.base/disp-step-syscall.exp: Likewise.
3502 * gdb.base/float.exp: Likewise.
3503
fbd8d50d
YQ
35042015-07-07 Yao Qi <yao.qi@linaro.org>
3505
3506 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3507 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3508
71be1fdc
YQ
35092015-07-07 Yao Qi <yao.qi@linaro.org>
3510
3511 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3512 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3513 if it exists.
3514 * gdb.multi/multi-arch.exp: Likewise.
3515
3e221d36
SM
35162015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3517
3518 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3519 print.
3520
d441430b
YQ
35212015-07-07 Yao Qi <yao.qi@linaro.org>
3522
3523 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3524
06f810bd
MG
35252015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3526
3527 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3528 '[' and ']' characters.
3529
5e61e7c0
IB
35302015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3531
3532 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3533
28bf096c
PA
35342015-06-29 Pedro Alves <palves@redhat.com>
3535
3536 PR threads/18127
3537 * gdb.threads/hand-call-new-thread.c: New file.
3538 * gdb.threads/hand-call-new-thread.c: New file.
3539
ee93cd5e
KS
35402015-06-26 Keith Seitz <keiths@redhat.com>
3541 Doug Evans <dje@google.com>
3542
3543 PR 16253
3544 * gdb.cp/var-tag-2.cc: New file.
3545 * gdb.cp/var-tag-3.cc: New file.
3546 * gdb.cp/var-tag-4.cc: New file.
3547 * gdb.cp/var-tag.cc: New file.
3548 * gdb.cp/var-tag.exp: New file.
3549
fc637f04
PP
35502015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3551
3552 * gdb.base/history-duplicates.exp: New test.
3553
2e52ae68
PP
35542015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3555
3556 * gdb.base/completion.exp: Test the completion of the "focus"
3557 command.
3558
6e22494e
JK
35592015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3560
3561 * gdb.arch/amd64-prologue-skip.S: New file.
3562 * gdb.arch/amd64-prologue-skip.exp: New file.
3563
bf7b9cd9
SM
35642015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3565
3566 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3567 is_address_zero_readable check.
3568
201e8dfd
PB
35692015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3570
3571 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3572 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3573
5cd867b4
YQ
35742015-06-24 Yao Qi <yao.qi@linaro.org>
3575
3576 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3577 linux targets.
3578
4d7be007
YQ
35792015-06-24 Yao Qi <yao.qi@linaro.org>
3580
3581 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3582 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3583 * gdb.base/siginfo-thread.exp: Likewise.
3584
07fcd301
YQ
35852015-06-22 Yao Qi <yao.qi@linaro.org>
3586
3587 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3588
52042a00
YQ
35892015-06-22 Yao Qi <yao.qi@linaro.org>
3590
3591 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3592 aarch64*-*-*.
3593 (skip_hw_watchpoint_tests): Likewise.
3594
74bd41ce
PP
35952015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3596
3597 * gdb.base/gdbinit-history.exp: Test the interaction between
3598 setting GDBHISTSIZE and setting the history size via .gdbinit.
3599
bc460514
PP
36002015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3601
3602 PR gdb/16999
3603 * gdb.base/gdbhistsize-history.exp: New test.
3604
b58c513b
PP
36052015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3606
3607 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3608 with GDBHISTSIZE.
3609 * gdb.base/readline.exp: Likewise.
3610
92046791
YQ
36112015-06-17 Yao Qi <yao.qi@linaro.org>
3612
3613 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3614 line.
3615
2093d2d3
PP
36162015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3617
3618 * gdb.base/gdbinit-history.exp: Add test case to check that
3619 an unlimited history file does not get truncated on exit.
3620
e6c693af
AA
36212015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3622
3623 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3624 (VECTOR): New macro. Use it...
3625 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3626 ...for these typedefs.
3627 (int8, char1, int1, double1): New typedefs.
3628 (struct just_int2, struct two_int2): New structures.
3629 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3630 (add_structvecs, add_singlevecs): New functions.
3631 (main): Call add_some_intvecs twice.
3632 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3633 the compile and exit upon failure. Try compiling for the "native"
3634 architecture. Test inferior function calls with vector arguments
3635 and vector return value handling with "finish" and "return".
3636
c74f7d1c
JT
36372015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3638
3639 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3640 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3641 PE file.
3642 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3643
98aa42ee
AT
36442015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3645
3646 PR breakpoints/16465
3647 * gdb.mi/mi-dprintf-pending.c: New file.
3648 * gdb.mi/mi-dprintf-pending.exp: New test.
3649 * gdb.mi/mi-dprintf-pendshr.c: New file.
3650
7d73c23c 36512015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 3652 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
3653
3654 * gdb.arch/i386-mpx-map.c: New file.
3655 * gdb.arch/i386-mpx-map.exp: New File.
3656
36572015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3658
3659 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3660 * gdb.arch/i386-mpx.exp: Indentation fixed.
3661
36622015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3663
3664 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3665 function and improved indentation.
3666 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3667 gdb_test_multiple. Added additional tests to skip the test.
3668
36692015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3670
3671 * gdb.arch/i386-avx512.c: Change path in include file.
3672 * gdb.arch/i386-avx512.exp: Change include dir path
3673 compilation flag.
3674 * gdb.arch/i386-mpx.c: Change path in include file.
3675 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3676 flag.
3677
d5eba19a
JK
36782015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3679
3680 * gdb.compile/compile-print.exp (compile print *vararray@3)
3681 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3682
7f361056
JK
36832015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3684
3685 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3686 (do not keep jit in memory): ... this.
3687 (expect 5): Change it to ...
3688 (expect no 5): ... this.
3689
3b462ec2
SM
36902015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3691
3692 PR gdb/15564
3693 * gdb.mi/mi-detach.exp: New file.
3694
e0619de6
JK
36952015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3696
3697 PR symtab/18392
3698 * gdb.arch/amd64-tailcall-self.S: New file.
3699 * gdb.arch/amd64-tailcall-self.c: New file.
3700 * gdb.arch/amd64-tailcall-self.exp: New file.
3701
e970cb34
DB
37022015-05-28 Don Breazeal <donb@codesourcery.com>
3703
3704 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3705 tests for remote targets by checking is_target_gdbserver.
3706
b2e2f908
DE
37072015-05-27 Doug Evans <dje@google.com>
3708
3709 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3710 * gdb.dwarf2/opaque-type-lookup.c: New file.
3711 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3712
82c7be31
DE
37132015-05-26 Doug Evans <dje@google.com>
3714
3715 * gdb.cp/iostream.cc: New file.
3716 * gdb.cp/iostream.exp: New file.
3717
b4f54984
DE
37182015-05-26 Doug Evans <dje@google.com>
3719
3720 * gdb.dwarf2/dw2-op-call.exp: Update.
3721 * gdb.dwarf2/dw4-sig-types.exp: Update.
3722 * gdb.dwarf2/implptr.exp: Update.
3723 * gdb.mi/mi-cmd-param-changed.exp: Update.
3724
4ea6efe9
DE
37252015-05-26 Doug Evans <dje@google.com>
3726
3727 * gdb.python/py-lazy-string.c: New file.
3728 * gdb.python/py-lazy-string.exp: New file.
3729 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3730 (main): Update. Add estring3.
3731 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3732 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3733
f6bb7db3
YQ
37342015-05-26 Omair Javaid <omair.javaid@linaro.org>
3735 Yao Qi <yao.qi@linaro.org>
3736
3737 * gdb.reverse/aarch64.c: New.
3738 * gdb.reverse/aarch64.exp: New.
3739
a81bfbd0
OJ
37402015-05-26 Omair Javaid <omair.javaid@linaro.org>
3741
25d49b86
PA
3742 * lib/gdb.exp (supports_process_record): Return true for
3743 aarch64*-linux*.
a81bfbd0
OJ
3744 (supports_reverse): Likewise.
3745
158bf1b4
PP
37462015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3747
3748 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3749 Use with_test_prefix.
3750
a0145030
AB
37512015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3752
3753 * gdb.base/completion.exp: Add test for completion of layout
3754 names.
3755
ebe3b578
AB
37562015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3757
3758 * lib/gdb.exp (skip_tui_tests): New proc.
3759 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3760
84204ed7
PA
37612015-05-19 Pedro Alves <palves@redhat.com>
3762
3763 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3764 Save the whole env array instead of just HOME. Unset HISTSIZE in
3765 the environment while testing. Restore whole environment
3766 afterwards.
3767
37442ce1
DE
37682015-05-16 Doug Evans <xdje42@gmail.com>
3769
3770 * gdb.guile/scm-ports.c: New file.
3771 * gdb.guile/scm-ports.exp: Add memory port tests.
3772
36de76f9
JK
37732015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3774
3775 * gdb.compile/compile-print.c: New file.
3776 * gdb.compile/compile-print.exp: New file.
3777
3a9558c4
JK
37782015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3779
3780 * gdb.compile/compile-ops.exp: Cast param to void.
3781 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3782 (compile code struct_object.selffield = &struct_object): Add xfail.
3783
aa715135
JG
37842015-05-15 Joel Brobecker <brobecker@adacore.com>
3785
3786 * gdb.ada/arr_enum_with_gap: New testcase.
3787
931e5bc3
JG
37882015-05-15 Joel Brobecker <brobecker@adacore.com>
3789
3790 * gdb.ada/byte_packed_arr: New testcase.
3791
9cd4d857
JB
37922015-05-15 Joel Brobecker <brobecker@adacore.com>
3793
3794 * gdb.ada/pckd_neg: New testcase.
3795
ebfd00d2
PP
37962015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3797
3798 PR gdb/17820
3799 * gdb.base/gdbinit-history.exp: New test.
3800 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3801 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3802
4c082a81
SC
38032015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3804
3805 * gdb.python/py-xmethods.cc: Enhance test case.
3806 * gdb.python/py-xmethods.exp: New tests.
3807 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3808 function.
3809 (B_indexoper): Likewise.
3810 (global_dm_list) : Add new xmethod worker functions.
3811
f7797074
SDJ
38122015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3813
3814 * gdb.base/coredump-filter.exp: Correctly unset
3815 "coredump_var_addr" array.
3816
a4674e4e
PA
38172015-05-08 Pedro Alves <palves@redhat.com>
3818
3819 * gdb.server/non-existing-program.exp: Unset spawn_id.
3820
df2eb078
SC
38212015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3822
3823 PR python/18291
3824 * gdb.python/py-xmethods.exp: Add tests.
3825
422349a3
YQ
38262015-05-08 Yao Qi <yao.qi@linaro.org>
3827
3828 PR gdb/18208
3829 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3830 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3831 function set_coredump_filter, and remove remote_exec call.
3832 Remove argument ipid. Callers update.
3833 (top level): Don't get inferior's PID.
3834
63fc80ce
AA
38352015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3836
3837 * gdb.base/watch_thread_num.exp: Skip test on targets without
3838 access watchpoints.
3839
80ad801e
PA
38402015-05-06 Pedro Alves <palves@redhat.com>
3841
3842 PR server/18081
3843 * gdb.server/non-existing-program.exp: New file.
3844
0fa7fe50
JB
38452015-05-05 Joel Brobecker <brobecker@adacore.com>
3846
3847 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3848
3ea89b92
PMR
38492015-05-05 Joel Brobecker <brobecker@adacore.com>
3850
3851 * gdb.ada/out_of_line_in_inlined: New testcase.
3852
87b8eff0
JB
38532015-05-05 Joel Brobecker <brobecker@adacore.com>
3854
3855 * gdb.ada/var_rec_arr: New testcase.
3856
5fccc635
YQ
38572015-04-30 Yao Qi <yao.qi@linaro.org>
3858
3859 * gdb.base/break-idempotent.exp: If
3860 skip_hw_watchpoint_multi_tests returns true, skip the tests
3861 on "rwatch" and "awatch".
3862
42d38f42
YQ
38632015-04-30 Yao Qi <yao.qi@linaro.org>
3864
3865 * gdb.base/relativedebug.exp: Invoke gdb command
3866 "info sharedlibrary", and if libc.so doesn't have debug info,
3867 skip the test.
3868
2ce1cdbf
DE
38692015-04-29 Doug Evans <dje@google.com>
3870
3871 * gdb.python/py-xmethods.exp: Add ptype tests.
3872 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3873 get_result_type method.
3874
f24a38c5
LM
38752015-04-29 Luis Machado <lgustavo@codesourcery.com>
3876
3877 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3878 the target does not support hardware watchpoints.
3879
ecbf2b3c
LM
38802015-04-29 Luis Machado <lgustavo@codesourcery.com>
3881
3882 * gdb.base/break-always.exp: Abort testing if writing to memory
3883 causes an error.
3884
34f5f757
DE
38852015-04-28 Doug Evans <dje@google.com>
3886
3887 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3888 * gdb.python/py-pp-registration.exp: ... here. New file.
3889 * gdb.python/py-pp-registration.c: New file.
3890 * gdb.python/py-pp-registration.py: New file.
3891
69b4374a
DE
38922015-04-28 Doug Evans <dje@google.com>
3893
3894 * gdb.python/py-bad-printers.c: New file.
3895 * gdb.python/py-bad-printers.py: New file.
3896 * gdb.python/py-bad-printers.exp: New file.
3897
59fb7612
SS
38982015-04-28 Sasha Smundak <asmundak@google.com>
3899
3900 * gdb.python/py-type.exp: New test.
3901
2631b16a
AW
39022015-04-28 Andy Wingo <wingo@igalia.com>
3903
3904 * gdb.python/py-parameter.exp:
3905 * gdb.guile/scm-parameter.exp: Escape the path that we are
3906 matching against, as it might contain characters that are special
3907 to regular expressions.
3908
460efde1
JB
39092015-04-27 Joel Brobecker <brobecker@adacore.com>
3910
3911 * gdb.ada/rec_comp: New testcase.
3912
2d369d8e
SDJ
39132015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3914
3915 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3916 before using it.
3917
cf75d6c3
AB
39182015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3919
3920 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3921 new tests for verilog output.
3922
8dbe7ca5
YQ
39232015-04-24 Yao Qi <yao.qi@linaro.org>
3924
3925 * boards/remote-gdbserver-on-localhost.exp: New file.
3926
4ef9fb2f
PA
39272015-04-23 Pedro Alves <palves@redhat.com>
3928
3929 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3930 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3931 "end of file", remove $inferior_spawn_id from the indirect list.
3932
0a803169
PA
39332015-04-23 Pedro Alves <palves@redhat.com>
3934
3935 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3936
749ef8f8
PA
39372015-04-23 Pedro Alves <palves@redhat.com>
3938
3939 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3940 on $any_spawn_id instead of only on $gdb_spawn_id.
3941
8aae4344
PM
39422015-04-21 Pierre Muller <muller@sourceware.org>
3943
3944 PR pascal/17815
3945 * lib/pascal.exp (gpc_compile): Add new option "class".
3946 (fpc_compile): Likewise.
3947 * gdb.pascal/case-insensitive-symbols.pas: New file.
3948 * gdb.pascal/case-insensitive-symbols.exp: New file.
3949
1586c8fb
GB
39502015-04-20 Gary Benson <gbenson@redhat.com>
3951
3952 * gdb.base/attach.exp: Fix three extended remote failures.
3953
1b6e6f5c
GB
39542015-04-17 Gary Benson <gbenson@redhat.com>
3955
3956 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3957 the main executable over the remote protocol.
3958
e797481d
PA
39592015-04-16 Pedro Alves <palves@redhat.com>
3960
3961 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3962 a new gdbserver if gdbserver_reconnect_p is set.
3963
1ca99c42
PA
39642015-04-16 Pedro Alves <palves@redhat.com>
3965
3966 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3967 is set, don't exit gdbserver.
3968
af9fd6f8
AA
39692015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3970
3971 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3972 appropriate .insn, such that an older assembler can be used.
3973 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3974 the z/Architecture instruction set on 31-bit targets as well.
3975
04ff1e61
AA
39762015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3977
3978 * gdb.go/handcall.exp: Remove all logic related to the first
3979 breakpoint and rely on go_runto_main instead.
3980 * gdb.go/strings.exp: Likewise.
3981 * gdb.go/unsafe.exp: Likewise.
3982 * gdb.go/hello.exp: Likewise. Also rename the remaining
3983 breakpoint marker to "breakpoint 1".
3984 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3985 * gdb.go/strings.go: Likewise.
3986 * gdb.go/unsafe.go: Likewise.
3987 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3988 "set breakpoint 2 here" and rename the remaining breakpoint marker
3989 to "breakpoint 1".
3990
40d2f8d6
SM
39912015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3992
3993 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3994 if itertools.imap is not present.
3995 * gdb.python/py-objfile.exp: Add parentheses.
3996 * gdb.python/py-type.exp: Same.
3997 * gdb.python/py-unwind-maint.py: Same.
3998
8cbc97c6
YQ
39992015-04-15 Yao Qi <yao.qi@linaro.org>
4000
4001 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4002 of ":$ptr_size" and set its form explicitly.
4003
45fd756c
YQ
40042015-04-15 Pedro Alves <palves@redhat.com>
4005 Yao Qi <yao.qi@linaro.org>
4006
4007 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4008 timeout by factor of 4.
4009 (test_regular_watch): Likewise.
4010 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4011 * gdb.reverse/sigall-reverse.exp: Likewise.
4012 * gdb.reverse/until-precsave.exp: Likewise.
4013 * lib/gdb.exp (with_timeout_factor): New proc.
4014 (gdb_expect): Move some code to ...
4015 (get_largest_timeout): ... here. New procedure.
4016
9e811bc3
LM
40172015-04-14 Luis Machado <lgustavo@codesourcery.com>
4018
4019 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4020
0ff6fcb2
LM
40212015-04-13 Luis Machado <lgustavo@codesourcery.com>
4022
4023 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4024 to write to the .text section.
4025
7578d5f7
LM
40262015-04-13 Luis Machado <lgustavo@codesourcery.com>
4027
4028 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4029 Handle the case of targets that do not provide PID information.
4030
2efe15c4
YQ
40312015-04-13 Yao Qi <yao.qi@linaro.org>
4032
4033 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4034 and use expect instead of gdb_expect.
4035
8cd8f2f8
SDJ
40362015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4037
4038 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4039 "coredump_var_addr" to avoid naming conflict with other testcases.
4040
9ee41772
PA
40412015-04-10 Pedro Alves <palves@redhat.com>
4042
4043 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4044 gdb_test_sequence and gdb_assert.
4045
07473109
PA
40462015-04-10 Pedro Alves <palves@redhat.com>
4047
4048 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4049 test messages that don't include the breakpoint address.
4050
de3db44c
YQ
40512015-04-10 Yao Qi <yao.qi@linaro.org>
4052
4053 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4054 false for some offset and width combinations which aren't
4055 supported by linux kernel.
4056
c79d856c
PA
40572015-04-10 Pedro Alves <palves@redhat.com>
4058
4059 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4060 procedure, factored out from ...
4061 (top level): ... here. Add "set displaced-stepping" testing axis.
4062 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4063 parameter "displaced". Use it.
4064 (top level): Use foreach and add "set displaced-stepping" testing
4065 axis.
4066
ebc90b50
PA
40672015-04-10 Pedro Alves <palves@redhat.com>
4068
4069 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4070 Remove comment.
4071 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4072 both the address of the instruction that triggers the watchpoint
4073 and the address of the instruction immediately after, and use
4074 those addresses for the test. Fix comment.
4075
8f572e5c
PA
40762015-04-10 Pedro Alves <palves@redhat.com>
4077
4078 * gdb.base/sigstep.exp (breakpoint_to_handler)
4079 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4080 Test "backtrace" in handler.
4081 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4082 (top level): Add new "displaced" test axis to
4083 breakpoint_to_handler, breakpoint_to_handler_entry and
4084 breakpoint_over_handler.
4085
8d707a12
PA
40862015-04-10 Pedro Alves <palves@redhat.com>
4087
4088 PR gdb/18216
4089 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4090
ef713951
YQ
40912015-04-10 Yao Qi <yao.qi@linaro.org>
4092
4093 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4094 (test_add_rn_pc): New function.
4095 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4096 (top level): Invoke test_add_rn_pc.
4097
906d60cf
PA
40982015-04-10 Pedro Alves <palves@redhat.com>
4099
4100 PR gdb/13858
4101 * gdb.base/step-over-no-symbols.exp: New file.
4102
f2983cc3
AW
41032015-04-09 Andy Wingo <wingo@igalia.com>
4104
4105 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4106 after the Python tests.
4107
6d62641c
SDJ
41082015-04-08 Keith Seitz <keiths@redhat.com>
4109
4110 PR python/16699
4111 * gdb.python/py-completion.exp: New tests for completion.
4112 * gdb.python/py-completion.py (CompleteLimit1): New class.
4113 (CompleteLimit2): Likewise.
4114 (CompleteLimit3): Likewise.
4115 (CompleteLimit4): Likewise.
4116 (CompleteLimit5): Likewise.
4117 (CompleteLimit6): Likewise.
4118 (CompleteLimit7): Likewise.
4119
f3770638
PA
41202015-04-08 Pedro Alves <palves@redhat.com>
4121
4122 PR gdb/18214
4123 PR gdb/18216
4124 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4125 function.
4126 (main): Install it as SIGUSR1 handler.
4127 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4128 parameter. Always use "setup" as prefix. Toggle "set
4129 displaced-stepping" off/on depending on global. Don't switch to
4130 thread 1 here.
4131 (top level): Add displaced stepping "off/on" test axis. Update
4132 "setup" calls. Wrap each subtest with with_test_prefix. Test
4133 continuing with a queued signal in each thread.
4134
4496bed7
PA
41352015-04-08 Pedro Alves <palves@redhat.com>
4136
4137 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4138 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4139 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4140 Return early if running to main fails.
4141 * gdb.trace/while-stepping.exp: Likewise.
4142
b97fde92
PA
41432015-04-07 Pedro Alves <palves@redhat.com>
4144
4145 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4146 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4147 interact with inferior program.
4148
f71c18e7
PA
41492015-04-07 Pedro Alves <palves@redhat.com>
4150
4151 * lib/gdb.exp (inferior_spawn_id): New global.
4152 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4153 spawn id after processing the user code.
4154 (default_gdb_start): Set inferior_spawn_id.
4155 (send_inferior): New procedure.
4156 * lib/gdbserver-support.exp (gdbserver_start): Set
4157 inferior_spawn_id.
4158 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4159
6423214f
PA
41602015-04-07 Pedro Alves <palves@redhat.com>
4161
4162 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4163 * lib/gdbserver-support.exp (gdbserver_start): Make
4164 $server_spawn_id global.
4165 (gdbserver_start): Don't wait for gdbserver's spawn id with
4166 expect_background.
4167 (close_gdbserver): New procedure.
4168 (gdb_exit): Rename the default version and reimplement.
4169
71c0ee8c
PA
41702015-04-07 Pedro Alves <palves@redhat.com>
4171
72f4393d 4172 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
4173 append the substituted item, not the original item.
4174
203bc29b
PA
41752015-04-07 Pedro Alves <palves@redhat.com>
4176
4177 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4178 gdb_expect.
4179
508a3ddf
PA
41802015-04-07 Pedro Alves <palves@redhat.com>
4181
4182 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4183 output appearing once only.
4184
9f6dbe2b
PA
41852015-04-07 Pedro Alves <palves@redhat.com>
4186
4187 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4188 that doesn't expect anything. Return early if running to main
4189 fails.
4190
337532fa
YQ
41912015-04-07 Yao Qi <yao.qi@linaro.org>
4192
4193 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4194 (child_function): Call alarm.
4195 (main): Move call to alarm into the loop.
4196 * gdb.threads/non-stop-fair-events.exp: Build program with
4197 -DTIMEOUT=$timeout.
4198
01b622d4
DE
41992015-04-06 Doug Evans <xdje42@gmail.com>
4200
4201 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4202 Fix dest parameter to board_info.
4203 (fpc_compile): Ditto.
4204 (gdb_compile_pascal): Rename dest arg to destfile.
4205
961f4160
PMR
42062015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4207
4208 * gdb.ada/funcall_ref.exp: New file.
4209 * gdb.ada/funcall_ref/foo.adb: New file.
4210
cafda597
YQ
42112015-04-02 Yao Qi <yao.qi@linaro.org>
4212
4213 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4214 is remote.
4215
fed040c6
GB
42162015-04-02 Gary Benson <gbenson@redhat.com>
4217
4218 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4219
d11916aa
SS
42202015-04-01 Sasha Smundak <asmundak@google.com>
4221
4222 * gdb.python/py-unwind-maint.c: New file.
4223 * gdb.python/py-unwind-maint.exp: New test.
4224 * gdb.python/py-unwind-maint.py: New file.
4225 * gdb.python/py-unwind.c: New file.
4226 * gdb.python/py-unwind.exp: New test.
4227 * gdb.python/py-unwind.py: New test.
4228
a1471180
PA
42292015-04-01 Pedro Alves <palves@redhat.com>
4230
4231 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4232 to fail instead of non-existent $test.
4233
0bbeccb1
PA
42342015-04-01 Pedro Alves <palves@redhat.com>
4235
4236 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4237 GDBFLAGS if not empty.
4238
3c724c8c
PMR
42392015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4240
4241 * gdb.ada/complete.exp: Remove "multi_line".
4242 * gdb.ada/info_exc.exp: Remove "multi_line".
4243 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4244 * gdb.ada/ptype_field.exp: Remove "multi_line".
4245 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4246 * gdb.ada/tagged.exp: Remove "multi_line".
4247 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4248 [multi_line ...]
4249 * gdb.btrace/delta.exp: Likewise.
4250 * gdb.btrace/exception.exp: Likewise.
4251 * gdb.btrace/function_call_history.exp: Likewise.
4252 * gdb.btrace/instruction_history.exp: Likewise.
4253 * gdb.btrace/nohist.exp: Likewise.
4254 * gdb.btrace/record_goto.exp: Likewise.
4255 * gdb.btrace/segv.exp: Likewise.
4256 * gdb.btrace/stepi.exp: Likewise.
4257 * gdb.btrace/tailcall.exp: Likewise.
4258 * gdb.btrace/unknown_functions.exp: Likewise.
4259 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4260 * lib/gdb.exp: Add the "multi_line" helper.
4261
4eec2deb
PA
42622015-04-01 Pedro Alves <palves@redhat.com>
4263
4264 * gdb.threads/tid-reuse.c: New file.
4265 * gdb.threads/tid-reuse.exp: New file.
4266
df8411da
SDJ
42672015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4268
4269 PR corefiles/16092
4270 * gdb.base/coredump-filter.c: New file.
4271 * gdb.base/coredump-filter.exp: Likewise.
4272
6ef37366
PM
42732015-03-27 Petr Machata <pmachata@redhat.com>
4274
4275 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4276 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4277 (Dwarf::assemble): Initialize them.
4278 (Dwarf::lines): New function.
4279
7ec911b0
JT
42802015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4281
4282 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4283 SYMBOL_PREFIX for x86_64-*-cygwin.
4284
ff908ebf
AW
42852015-03-26 Andy Wingo <wingo@igalia.com>
4286
4287 PR symtab/18148
4288 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4289 const_value but not a location.
4290 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4291 location defined in non-main CUs are visible.
4292
6d5f0679
YQ
42932015-03-26 Yao Qi <yao.qi@linaro.org>
4294
4295 PR testsuite/18139
4296 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4297 Add a line number entry for the same line.
4298 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4299 Add a line number entry for the same line.
4300
2898689b
YQ
43012015-03-26 Yao Qi <yao.qi@linaro.org>
4302
4303 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4304 .int 0.
4305 (func): Likewise. Add .Lfunc_1 label.
4306 Use .Lfunc_1 label.
4307 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4308 .int 0.
4309 (func): Likewise.
4310 Use .Lfunc_1 label.
4311
85180498
YQ
43122015-03-26 Yao Qi <yao.qi@linaro.org>
4313
4314 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4315 Call gdb_compile instead to compile each .s files without debug
4316 information.
4317
8aa08a8d
YQ
43182015-03-26 Yao Qi <yao.qi@linaro.org>
4319
4320 * gdb.base/savedregs.exp (process_saved_regs): Make
4321 "Saved registers:" optional in the pattern.
4322
66849923
MM
43232015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4324
4325 * gdb.btrace/next.exp: Merged into step.exp.
4326 * gdb.btrace/finish.exp: Merged into step.exp.
4327 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4328 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4329 "record goto" and checking the exact replay position.
4330 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4331 check for "Recording format" in "info record" output.
4332 * gdb.btrace/record_goto.exp: Choose test file based on target.
4333 * gdb.btrace/x86-record_goto.S: Renamed into ...
4334 * gdb.btrace/x86_64-record_goto.S: ... this.
4335 * gdb.btrace/i686-record_goto.S: New.
4336 * gdb.btrace/x86-tailcall.S: Renamed into ...
4337 * gdb.btrace/x86_64-tailcall.S: ... this.
4338 * gdb.btrace/i686-tailcall.S: New.
4339 * gdb.btrace/x86-tailcall.c: Renamed into ...
4340 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4341 separate statements. Update test.
4342 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4343 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4344 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4345 * gdb.btrace/tailcall.exp: Choose test file based on target.
4346 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4347
11cc1b74
MM
43482015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4349
4350 * gdb.btrace/exception.exp: Increase BTS buffer size.
4351
a25d8bf9
PA
43522015-03-24 Pedro Alves <palves@redhat.com>
4353
4354 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4355
856e7dd6
PA
43562015-03-24 Pedro Alves <palves@redhat.com>
4357
4358 * gdb.threads/schedlock.exp (test_step): No longer expect that
4359 "set scheduler-locking step" with "next" over a function call runs
4360 threads unlocked.
4361
ad235a41
AT
43622015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4363
4364 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4365
15630549
AT
43662015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4367
4368 PR breakpoints/16466
4369 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4370 * gdb.mi/mi-pending.c (thread_func): New function.
4371 (int main): Add threading support required.
4372 * gdb.mi/mi-pending.exp: Add tests for this issue.
4373 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4374 (pendfunc2): Remove stdio dependency.
4375 * gdb.mi/mi-pendshr2.c: New file.
4376
693dca06
KS
43772015-03-23 Keith Seitz <keiths@redhat.com>
4378
4379 * gdb.linespec/keywords.c: New file.
4380 * gdb.linespec/keywords.exp: New file.
4381
7e993ebf
KS
43822015-03-23 Keith Seitz <keiths@redhat.com>
4383
4384 PR gdb/18021
4385 * gdb.dwarf2/staticvirtual.exp: New test.
4386
bc23328c
JK
43872015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4388
4389 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4390 * README: Remove HP-UX and gdb.hp.
4391 (configuration):
4392 * configure: Regenerate.
4393 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4394 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4395 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4396 gdb.hp/gdb.defects/Makefile.
4397 * gdb.hp/Makefile.in: File deleted.
4398 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4399 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4400 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4401 * gdb.hp/gdb.aCC/run.c: File deleted.
4402 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4403 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4404 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4405 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4406 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4407 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4408 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4409 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4410 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4411 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4412 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4413 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4414 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4415 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4416 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4417 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4418 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4419 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4420 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4421 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4422 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4423 * gdb.hp/gdb.compat/average.c: File deleted.
4424 * gdb.hp/gdb.compat/sum.c: File deleted.
4425 * gdb.hp/gdb.compat/xdb.c: File deleted.
4426 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4427 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4428 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4429 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4430 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4431 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4432 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4433 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4434 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4435 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4436 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4437 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4438 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4439 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4440 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4441 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4442 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4443 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4444 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4445 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4446 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4447 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4448 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4449 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4450 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4451 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4452 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4453 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4454 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4455 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4456 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4457 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4458 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4459 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4460 * gdb.hp/tools/odump: File deleted.
4461
8bf3b159
PA
44622015-03-19 Pedro Alves <palves@redhat.com>
4463
4464 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4465 (saw_thread_3): New globals.
4466 (top level): Increment them when an event for the corresponding
4467 thread is seen.
4468 (no thread starvation): New test.
4469
eb54c8bf
PA
44702015-03-19 Pedro Alves <palves@redhat.com>
4471
4472 * gdb.threads/continue-pending-status.c: New file.
4473 * gdb.threads/continue-pending-status.exp: New file.
4474
32d2e5d6
PA
44752015-03-18 Pedro Alves <palves@redhat.com>
4476
4477 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4478 Use gdb_is_target_remote instead of is_remote. Use
4479 gdb_test_multiple instead of gdb_expect. Exit early if
4480 gdb_test_multiple hits its internal matches. Tighten stepi tests
4481 expected output. Fail on exit with any signal, instead of just
4482 SIGILL.
4483
f68f11b7
YQ
44842015-03-18 Yao Qi <yao.qi@linaro.org>
4485
4486 PR tdep/18107
4487 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4488 variable.
4489 * gdb.base/catch-syscall.exp: Don't skip it on
4490 aarch64*-*-linux* target. Remove elements in all_syscalls.
4491 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4492 target.
4493 (setup_all_syscalls): New proc.
4494
ca5fd19b
YQ
44952015-03-16 Yao Qi <yao.qi@linaro.org>
4496
4497 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4498 (top level): Skip tests if valid_addr_p returns false for
4499 $cmd1 or $cmd2.
4500
85642ba0
AW
45012015-03-11 Andy Wingo <wingo@igalia.com>
4502
4503 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4504
e03f9645
YQ
45052015-03-11 Yao Qi <yao.qi@linaro.org>
4506
4507 * gdb.base/catch-syscall.exp: Fix typo in comments.
4508
5d0962b2
YQ
45092015-03-11 Yao Qi <yao.qi@linaro.org>
4510
4511 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4512
b2df3cef
PA
45132015-03-09 Pedro Alves <palves@redhat.com>
4514
4515 * dg-extract-results.py: Delete.
4516
ef878e53
PA
45172015-03-09 Pedro Alves <palves@redhat.com>
4518
4519 Merge dg-extract-results.sh from GCC upstream (r218843).
4520
4521 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4522 * dg-extract-results.sh: Use --text with grep to avoid issues with
4523 binary files. Fall back to cat -v, if that doesn't work.
4524
9494d219
PA
45252015-03-05 Pedro Alves <palves@redhat.com>
4526
4527 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4528
a8d9763a
SM
45292015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4530
4531 * lib/mi-support.exp (mi_expect_interrupt): Accept
4532 alternative event for when in all-stop mode.
4533
be9957b8
PA
45342015-03-04 Pedro Alves <palves@redhat.com>
4535
4536 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4537
d57be0f4 45382015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
4539
4540 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4541
c214c7cf
AA
45422015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4543
4544 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4545 regexps for GDB's current line display, accept a hex address
4546 preceding the line number.
4547
6d74a497
AA
45482015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4549
4550 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4551 the 'arch1' variable for "s390*-linux*" targets.
4552
511aee7c
PA
45532015-03-04 Pedro Alves <palves@redhat.com>
4554
4555 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4556 (main): Pass missing retval argument to pthread_join call.
4557
95e50b27
PA
45582015-03-02 Pedro Alves <palves@redhat.com>
4559
4560 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4561 (top level): Call do_test with non-stop as well.
4562
28054d69
PA
45632015-03-02 Pedro Alves <palves@redhat.com>
4564
4565 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4566 -1.
4567
4fa5d7b4
AA
45682015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4569
4570 * gdb.arch/s390-vregs.exp: New test.
4571 * gdb.arch/s390-vregs.S: New file.
4572
97c18565
PA
45732015-02-27 Pedro Alves <palves@redhat.com>
4574
4575 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4576 call to catch_command_errors.
4577 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4578 catch_command_errors.
4579
a37bfa30
PA
45802015-02-27 Pedro Alves <palves@redhat.com>
4581
4582 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4583 "true" for boolean result.
4584 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4585 prototype of main.
4586
6f98576f
PA
45872015-02-27 Pedro Alves <palves@redhat.com>
4588
4589 * lib/unbuffer_output.c: New file.
4590 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4591 (main): Call gdb_unbuffer_output.
4592
eba5ab56
YQ
45932015-02-27 Yao Qi <yao.qi@linaro.org>
4594
4595 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4596 target.
4597
0def5aaa
DE
45982015-02-26 Doug Evans <dje@google.com>
4599
4600 * gdb.cp/class2.cc (Dbase, D): New classes.
4601 (main): New local delta.
4602 * gdb.cp/class2.exp: Test printing delta.
4603 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4604 (dynbar): New global.
4605 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4606
081a1c2c
JK
46072015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4608
4609 * gdb.compile/compile-ifunc.c: New file.
4610 * gdb.compile/compile-ifunc.exp: New file.
4611
2f41223f
AT
46122015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4613
4614 * gdb.base/structs.exp: Check for correct struct on finish.
4615
03eddd80
YQ
46162015-02-26 Yao Qi <yao.qi@linaro.org>
4617
4618 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4619 is zero.
4620
80c57053
JK
46212015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4622
4623 * gdb.arch/cordic.ko.bz2: New file.
4624 * gdb.arch/cordic.ko.debug.bz2: New file.
4625 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4626
21613c12
YQ
46272015-02-25 Yao Qi <yao.qi@linaro.org>
4628
4629 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4630 aarch64*-*-* target.
4631
d8b901ed
PA
46322015-02-23 Pedro Alves <palves@redhat.com>
4633
4634 * lib/gdb.exp (delete_breakpoints): Rewrite using
4635 gdb_test_multiple.
4636
e5b85ead
PA
46372015-02-23 Pedro Alves <palves@redhat.com>
4638
4639 * gdb.base/info-os.c: Include stdlib.h.
4640
85c3a371
DE
46412015-02-22 Doug Evans <xdje42@gmail.com>
4642
4643 PR symtab/17855
4644 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4645 is read after symbols have been re-read.
4646 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4647 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4648
96553a0c
DE
46492015-02-21 Doug Evans <dje@google.com>
4650
4651 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4652
97a0c697
JK
46532015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4654
4655 PR corefiles/17808
4656 * gdb.arch/i386-biarch-core.core.bz2: New file.
4657 * gdb.arch/i386-biarch-core.exp: New file.
4658
a47cd6e9
PA
46592015-02-21 Pedro Alves <palves@redhat.com>
4660
4661 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4662 runto_main fails.
4663
c5facdc4
PA
46642015-02-20 Pedro Alves <palves@redhat.com>
4665
4666 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4667 info probes.
4668
2db9a427
PA
46692015-02-20 Pedro Alves <palves@redhat.com>
4670
4671 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4672
60fb7e9e
PA
46732015-02-20 Pedro Alves <palves@redhat.com>
4674
4675 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4676 clean_restart before gdb_target_supports_trace.
4677
5c5019c2
PA
46782015-02-20 Pedro Alves <palves@redhat.com>
4679
4680 PR threads/18006
4681 * gdb.threads/clone-thread_db.c: New file.
4682 * gdb.threads/clone-thread_db.exp: New file.
4683
c9587f88
AT
46842015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4685
4686 PR breakpoints/16812
4687 * gdb.base/catch-gdb-caused-signals.c: New file.
4688 * gdb.base/catch-gdb-caused-signals.exp: New file.
4689
f6a88844
JM
46902015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4691
4692 * configure: Regenerated.
4693 * configure.ac: Use GDB_AC_TRANSFORM.
4694 * aclocal.m4: sinclude ../transform.m4.
4695
497c491b
JM
46962015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4697
4698 * lib/dtrace.exp: New file.
4699 * gdb.base/dtrace-probe.exp: Likewise.
4700 * gdb.base/dtrace-probe.d: Likewise.
4701 * gdb.base/dtrace-probe.c: Likewise.
4702 * lib/pdtrace.in: Likewise.
4703 * configure.ac: Output variables with the transformed names of
4704 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4705 * configure: Regenerated.
4706
03e98035
JM
47072015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4708
4709 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4710 expected message when trying to access $_probe_* convenience
4711 variables while not on a probe.
4712
63cc30e9
JK
47132015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4714
4715 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4716
0703599a
PA
47172015-02-11 Pedro Alves <pedro@codesourcery.com>
4718
4719 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4720 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4721
7e60a48e
DE
47222015-02-10 Doug Evans <xdje42@gmail.com>
4723
4724 * lib/gdb.exp (gdb_load): Always return a result.
4725
01b088bc
PA
47262015-02-10 Pedro Alves <palves@redhat.com>
4727
4728 * gdb.threads/signal-sigtrap.c: New file.
4729 * gdb.threads/signal-sigtrap.exp: New file.
4730
b05ec7a5
AT
47312015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4732
4733 * gdb.trace/no-attach-trace.c: New file.
4734 * gdb.trace/no-attach-trace.exp: New file.
4735
a2c2acaf
MW
47362015-02-09 Mark Wielaard <mjw@redhat.com>
4737
4738 * gdb.dwarf2/atomic.c: New file.
4739 * gdb.dwarf2/atomic-type.exp: Likewise.
4740
31fd9caa
MM
47412015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4742
4743 * gdb.btrace/buffer-size.exp: Update "info record" output.
4744 * gdb.btrace/delta.exp: Update "info record" output.
4745 * gdb.btrace/enable.exp: Update "info record" output.
4746 * gdb.btrace/finish.exp: Update "info record" output.
4747 * gdb.btrace/instruction_history.exp: Update "info record" output.
4748 * gdb.btrace/next.exp: Update "info record" output.
4749 * gdb.btrace/nexti.exp: Update "info record" output.
4750 * gdb.btrace/step.exp: Update "info record" output.
4751 * gdb.btrace/stepi.exp: Update "info record" output.
4752 * gdb.btrace/nohist.exp: Update "info record" output.
4753
d33501a5
MM
47542015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4755
4756 * gdb.btrace/buffer-size: New.
4757
f4abbc16
MM
47582015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4759
4760 * gdb.btrace/delta.exp: Update "info record" output.
4761 * gdb.btrace/enable.exp: Update "info record" output.
4762 * gdb.btrace/finish.exp: Update "info record" output.
4763 * gdb.btrace/instruction_history.exp: Update "info record" output.
4764 * gdb.btrace/next.exp: Update "info record" output.
4765 * gdb.btrace/nexti.exp: Update "info record" output.
4766 * gdb.btrace/step.exp: Update "info record" output.
4767 * gdb.btrace/stepi.exp: Update "info record" output.
4768 * gdb.btrace/nohist.exp: Update "info record" output.
4769
b9d61307
SM
47702015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4771
4772 PR gdb/15678
4773 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4774
e584fdbc
PA
47752015-02-06 Pedro Alves <palves@redhat.com>
4776
4777 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4778 macro.
4779 (seconds_left, again): New globals.
4780 (main): Wait seconds_left in a 1-second sleep loop instead of
4781 sleeping 180 seconds. If 'again' is set, reset the seconds
4782 counter.
4783 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4784 'again' in the inferior before detaching. Print the seconds left.
4785 (options): New global.
4786 (top level): Build program with -DTIMEOUT=$timeout.
4787
77f41761
PA
47882015-02-06 Pedro Alves <palves@redhat.com>
4789
4790 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4791 determine how many seconds to pass to 'alarm'.
4792 * gdb.base/gdb-sigterm.exp (top level): Build program with
4793 -DTIMEOUT=$timeout.
4794 (do_test): Return success/failure indication. Add more verbose
4795 logging. Don't fail if 200 single steps are seen. Instead, fail
4796 when the test times out.
4797 (passes): New global.
4798 (top level): Break the testing loop if testing fails on any
4799 iteration. Use gdb_assert.
4800
b9394193
DB
48012015-02-04 Don Breazeal <donb@codesourcery.com>
4802
4803 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4804 and initialize them.
4805 (ipc_cleanup): New function.
4806 (main): Don't declare shmid, semid, and msqid. Add a call to
4807 atexit so that we call ipc_cleanup on exit.
4808
42d9e528
PA
48092015-02-04 Pedro Alves <palves@redhat.com>
4810
4811 * boards/native-extended-gdbserver.exp: Remove any target variant
4812 specifications from the board name before clearing the isremote
4813 flag from board_info.
4814
ae6ae975
DE
48152015-01-31 Doug Evans <xdje42@gmail.com>
4816
4817 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4818
cfb069a8
GB
48192015-01-31 Gary Benson <gbenson@redhat.com>
4820
4821 * gdb.base/completion.exp: Disable completion limiting for
4822 existing tests. Add new tests to check completion limiting.
4823 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4824
5dd31d79
DE
48252015-01-31 Doug Evans <xdje42@gmail.com>
4826
4827 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4828
9f050062
DE
48292015-01-31 Doug Evans <xdje42@gmail.com>
4830
4831 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4832 entries. Duplicate file section script entries.
4833 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4834 inlined entries. Add test for safe-path rejection.
4835 * gdb.python/py-section-script.c: Add duplicate inlined section script
4836 entries. Duplicate file section script entries.
4837 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4838 inlined entries. Add test for safe-path rejection.
4839
df25ebbd
JB
48402015-01-29 Joel Brobecker <brobecker@adacore.com>
4841
4842 * gdb.ada/disc_arr_bound: New testcase.
4843
4a0ca9ec
JB
48442015-01-29 Joel Brobecker <brobecker@adacore.com>
4845
4846 * gdb.ada/mi_var_array: New testcase.
4847
3a8b707a
DE
48482015-01-27 Doug Evans <dje@google.com>
4849
4850 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4851 Add test for objfile.filename, objfile.username after objfile
4852 has been unloaded.
4853
f8313f6e
JB
48542015-01-26 Joel Brobecker <brobecker@adacore.com>
4855
4856 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4857 the second test to print the name attribute of value
4858 returned by the call to gdb.lookup_type, and adjust
4859 the expected output accordingly.
4860
37bc665e
MW
48612015-01-25 Mark Wielaard <mjw@redhat.com>
4862
4863 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4864 * gdb.base/disp-step-fork.c: Include unistd.h.
4865 * gdb.base/siginfo-obj.c: Include stdio.h.
4866 * gdb.base/siginfo-thread.c: Likewise.
4867 * gdb.mi/non-stop.c: Include unistd.h.
4868 * gdb.mi/nsthrexec.c: Include stdio.h.
4869 * gdb.mi/pthreads.c: Include unistd.h.
4870 * gdb.modula2/unbounded1.c (main): Declare returns int.
4871 * gdb.reverse/consecutive-reverse.c: Likewise.
4872 * gdb.threads/create-fail.c: Include unistd.h.
4873 * gdb.threads/killed.c: Likewise.
4874 * gdb.threads/linux-dp.c: Likewise.
4875 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4876 * gdb.threads/non-ldr-exc-2.c: Likewise.
4877 * gdb.threads/non-ldr-exc-3.c: Likewise.
4878 * gdb.threads/non-ldr-exc-4.c: Likewise.
4879 * gdb.threads/pthreads.c: Include unistd.h.
4880 (main): Declare returns int.
4881 * gdb.threads/tls-main.c (foo): New declaration.
4882 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4883
f7e5394d
SM
48842015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4885
4886 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4887 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4888
743649fd
MW
48892015-01-15 Mark Wielaard <mjw@redhat.com>
4890
4891 * gdb.base/noreturn-return.c: New file.
4892 * gdb.base/noreturn-return.exp: New file.
4893 * gdb.base/noreturn-finish.c: New file.
4894 * gdb.base/noreturn-finish.exp: New file.
4895
198297aa
PA
48962015-01-23 Pedro Alves <palves@redhat.com>
4897
4898 * gdb.threads/continue-pending-after-query.c: New file.
4899 * gdb.threads/continue-pending-after-query.exp: New file.
4900
717cf30c
AG
49012015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4902 Simon Marchi <simon.marchi@ericsson.com>
4903
4904 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4905 * gdb.base/valgrind-db-attach.exp: Same.
4906 * gdb.base/valgrind-infcall.exp: Same.
4907 * lib/mi-support.exp (default_mi_gdb_start): Same.
4908 * lib/prompt.exp (default_prompt_gdb_start): Same.
4909 * lib/gdb.exp (default_gdb_spawn): Same.
4910 (gdb_interact): New.
4911
4912
4b62a76e
JK
49132015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4914
4915 * gdb.compile/compile.exp (pointer to jit function): New test.
4916
b4cdae6f
WW
49172015-01-17 Wei-cheng Wang <cole945@gmail.com>
4918
4919 * lib/gdb.exp (supports_process_record): Return true for
4920 powerpc*-*-linux*.
4921 (supports_reverse): Likewise.
4922
d221e7ef
DB
49232015-01-15 Don Breazeal <donb@codesourcery.com>
4924
4925 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4926 instead of checking whether the target board is remote and
4927 use spawn_wait_for_attach instead of exec/sleep.
4928 * gdb.base/attach-twice.exp: Likewise.
4929
bafffb51
JB
49302015-01-15 Joel Brobecker <brobecker@adacore.com>
4931
4932 * gdb.ada/var_arr_attrs: New testcase.
4933
5589af0e
PA
49342015-01-14 Pedro Alves <palves@redhat.com>
4935 Joel Brobecker <brobecker@adacore.com>
4936
4937 PR gdb/17525
4938 * gdb.base/bp-cmds-execution-x-script.c: New file.
4939 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4940 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4941
6c400b59
PA
49422015-01-14 Pedro Alves <palves@redhat.com>
4943
4944 PR cli/17828
4945 * gdb.base/batch-preserve-term-settings.c: New file.
4946 * gdb.base/batch-preserve-term-settings.exp: New file.
4947
e02c96a7
DE
49482015-01-13 Doug Evans <dje@google.com>
4949
4950 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4951 binary.
4952
576fd14c
JB
49532015-01-13 Joel Brobecker <brobecker@adacore.com>
4954
4955 * Makefile.in (clean mostlyclean): Do not delete *.py.
4956
04dccad0
JB
49572015-01-13 Joel Brobecker <brobecker@adacore.com>
4958
4959 * gdb.python/py-lookup-type.exp: New file.
4960
3d230f71
PA
49612015-01-12 Pedro Alves <palves@redhat.com>
4962
4963 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4964 restore GDBFLAGS before returning.
4965
7e67715d
JK
49662015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4967
4968 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4969 is_amd64_regs_target and is_x86_like_target.
4970
f2e0d4b4
DE
49712015-01-11 Doug Evans <xdje42@gmail.com>
4972
4973 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4974 is given without an explicit form.
4975 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4976 attributes.
4977 * gdb.dwarf/corrupt.exp: Ditto.
4978 * gdb.dwarf2/enum-type.exp: Ditto.
4979 * gdb.trace/entry-values.exp: Ditto.
4980 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4981
439250fb
DE
49822015-01-11 Doug Evans <xdje42@gmail.com>
4983
4984 PR gdb/15830
4985 * gdb.base/maint.exp: Remove references to "maint demangle".
4986 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4987 Add tests for explicitly specifying language to demangle.
4988 * gdb.dlang/demangle.exp: Ditto.
4989
ede9f622
PA
49902015-01-09 Pedro Alves <palves@redhat.com>
4991
4992 * gdb.threads/non-stop-fair-events.c: New file.
4993 * gdb.threads/non-stop-fair-events.exp: New file.
4994
a7b796db
PA
49952015-01-09 Pedro Alves <palves@redhat.com>
4996
4997 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4998 the global scope. Set a breakpoint after all threads are started
4999 rather than stepping over two source lines. Expect the prompt.
5000 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5001 global.
5002 (NUM): Now 15.
5003 (main): Use threads_started_barrier to wait for all threads to
5004 start. Main thread no longer calls thread_function. Exit after
5005 180 seconds.
5006 (loop): New function.
5007 (thread_function): Wait on threads_started_barrier barrier. Call
5008 'loop' at each iteration.
5009 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5010 threads have started, instead of hardcoding number of "next"
5011 steps. Use an access watchpoint instead of a write watchpoint.
5012
9665ffdd
PA
50132015-01-09 Pedro Alves <palves@redhat.com>
5014
5015 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5016 (thread_func): Wait on barrier.
5017 (main): Wait for all threads to start before stopping GDB.
5018 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5019 global.
5020 (thread1_func, thread2_func): Wait on barrier.
5021 (main): Wait for all threads to start before stopping GDB.
5022 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5023 New global.
5024 (thread1_func, thread2_func): Wait on barrier.
5025 (main): Wait for all threads to start before stopping GDB.
5026
c945a99f
PA
50272015-01-09 Pedro Alves <palves@redhat.com>
5028
5029 * gdb.threads/attach-many-short-lived-threads.c: New file.
5030 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5031
c1a747c1
PA
50322014-01-09 Pedro Alves <palves@redhat.com>
5033
5034 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5035 instead of to thread 2.
5036 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5037 Add barrier around each pthread_create call instead of around all
5038 calls.
5039 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5040 Set a break on thread_function and have the child threads hit it
5041 one at at a time.
5042
60b3033e
PA
50432015-01-09 Pedro Alves <palves@redhat.com>
5044
5045 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5046 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5047 false.
5048 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5049 checking whether the target board is remote.
5050 * gdb.multi/multi-attach.exp: Likewise.
5051 * gdb.python/py-sync-interp.exp: Likewise.
5052 * gdb.server/ext-attach.exp: Likewise.
5053 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5054 tests that need to attach, instead of checking whether the target
5055 board is remote at the top of the file.
5056
acc018ac
YQ
50572015-01-08 Yao Qi <yao@codesourcery.com>
5058
5059 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5060
50a18af8
JK
50612015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5062
5063 Fix testcase compilation.
5064 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5065
8503d6e1
JB
50662015-01-06 Joel Brobecker <brobecker@adacore.com>
5067
5068 * gdb.python/py-type.exp: Add a couple test about empty
5069 array creation, and negative-length array creation.
5070
cc73dbcc
DE
50712015-01-02 Doug Evans <xdje42@gmail.com>
5072
5073 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5074
0300bbc7
DE
50752015-01-02 Doug Evans <dje@google.com>
5076
5077 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5078
9d85a0ec
YQ
50792014-12-29 Yao Qi <yao@codesourcery.com>
5080
5081 * gdb.trace/entry-values.exp: Update comments. Rename variable
5082 bar_call_foo to returned_from_foo.
5083
87186c6a
MMN
50842014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5085
5086 PR gdb/17394
5087 * gdb.linespec/break-asm-file.c: New file.
5088 * gdb.linespec/break-asm-file.exp: New file.
5089 * gdb.linespec/break-asm-file0.s: New file.
5090 * gdb.linespec/break-asm-file1.s: New file.
5091
1bab7383
YQ
50922014-12-18 Nigel Stephens <nigel@mips.com>
5093 Maciej W. Rozycki <macro@codesourcery.com>
5094
5095 * gdb.base/float.exp: Handle the new output from "info float" on
5096 MIPS targets.
5097
1bc1068a
JK
50982014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5099
5100 Fix MinGW compilation.
5101 * gdb.compile/compile-ops.exp: Update untested message if
5102 !skip_compile_feature_tests.
5103 * gdb.compile/compile-setjmp.exp: Likewise.
5104 * gdb.compile/compile-tls.exp: Likewise.
5105 * gdb.compile/compile.exp: Likewise.
5106 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5107 supported on this host".
5108
b6615d10
DE
51092014-12-16 Doug Evans <xdje42@gmail.com>
5110
5111 * boards/stabs.exp: New file.
5112
25dda427
AA
51132014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5114
5115 * gdb.base/completion.exp: Adjust to format changes of "maint
5116 print user-registers".
5117
bf330350
CU
51182014-12-16 Catalin Udma <catalin.udma@freescale.com>
5119
5120 PR server/17457
5121 * gdb.arch/aarch64-fp.c: New file.
5122 * gdb.arch/aarch64-fp.exp: New file.
5123
395cf596
SDJ
51242014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5125
5126 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5127 r210637, r210913, r211666, r215400, r215817).
5128
5129 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5130 * dg-extract-results.py: New file.
5131 * dg-extract-results.sh: Use it if the environment seems
5132 suitable.
5133
5134 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5135
5136 * dg-extract-results.py (parse_run): Handle warnings that
5137 are printed before a test harness is run.
5138
5139 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5140
5141 * dg-extract-results.py (Named): Remove __cmp__ method.
5142 (output_variation): Use a key to sort variation.harnesses.
5143
5144 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5145
5146 * dg-extract-results.py: For Python 3, force sys.stdout to
5147 handle surrogate escape sequences.
5148 (safe_open): New function.
5149 (output_segment, main): Use it.
5150
5151 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5152
5153 * dg-extract-results.py (Prog.result_re): Include options
5154 in test name.
5155
5156 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5157
5158 * dg-extract-results.py (output_variation): Always sort if
5159 do_sum.
5160
e882ef3c
SM
51612014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5162
5163 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5164 as long as we get pagination notifications.
5165
4992aa20
JM
51662014-12-15 Jason Merrill <jason@redhat.com>
5167
5168 * Makefile.in (check-gdb.%): Restore.
5169 * README: Mention it.
5170
c1b5a1a6
JB
51712014-12-13 Joel Brobecker <brobecker@adacore.com>
5172
5173 * gdb.ada/str_uninit: New testcase.
5174
5537b577
JK
51752014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5176
5177 PR symtab/17642
5178 * gdb.base/vla-stub-define.c: New file.
5179 * gdb.base/vla-stub.c: New file.
5180 * gdb.base/vla-stub.exp: New file.
5181
bb2ec1b3
TT
51822014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5183 Jan Kratochvil <jan.kratochvil@redhat.com>
5184 Tom Tromey <tromey@redhat.com>
5185
5186 * configure.ac: Add gdb.compile/.
5187 * configure: Regenerate.
5188 * gdb.compile/Makefile.in: New file.
5189 * gdb.compile/compile-ops.exp: New file.
5190 * gdb.compile/compile-ops.c: New file.
5191 * gdb.compile/compile-tls.c: New file.
5192 * gdb.compile/compile-tls.exp: New file.
5193 * gdb.compile/compile-constvar.S: New file.
5194 * gdb.compile/compile-constvar.c: New file.
5195 * gdb.compile/compile-mod.c: New file.
5196 * gdb.compile/compile-nodebug.c: New file.
5197 * gdb.compile/compile-setjmp-mod.c: New file.
5198 * gdb.compile/compile-setjmp.c: New file.
5199 * gdb.compile/compile-setjmp.exp: New file.
5200 * gdb.compile/compile-shlib.c: New file.
5201 * gdb.compile/compile.c: New file.
5202 * gdb.compile/compile.exp: New file.
5203 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5204
4ff709eb
TT
52052014-12-12 Tom Tromey <tromey@redhat.com>
5206
5207 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5208 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5209
6dddd6a5
DE
52102014-12-12 Doug Evans <dje@google.com>
5211
5212 * lib/gdb-python.exp (get_python_valueof): New function.
5213 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5214
71c24708
AA
52152014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5216
5217 * gdb.base/completion.exp: Add test for completion of "info
5218 registers ".
5219
3e29f34a
MR
52202014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5221
5222 * gdb.base/func-ptrs.c: New file.
5223 * gdb.base/func-ptrs.exp: New file.
5224
fc126975
SM
52252014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5226
5227 PR breakpoints/17012
5228 * gdb.base/dprintf-detach.c: New file.
5229 * gdb.base/dprintf-detach.exp: New file.
5230
0a46d518
SM
52312014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5232
5233 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5234 * lib/gdb.exp (target_is_gdbserver): New procedure.
5235
a0be3e44
DE
52362014-12-08 Doug Evans <dje@google.com>
5237
5238 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5239
df1b803a
YQ
52402014-12-05 Yao Qi <yao@codesourcery.com>
5241
5242 * gdb.guile/scm-error.exp: Remove the third argument to
5243 gdb_remote_download.
5244 * gdb.guile/scm-frame-args.exp: Likewise.
5245 * gdb.guile/scm-section-script.exp: Likewise.
5246
ddb9f679
YQ
52472014-12-05 Yao Qi <yao@codesourcery.com>
5248
5249 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5250
86e4ed39
DE
52512014-12-04 Doug Evans <dje@google.com>
5252
5253 * gdb.python/py-objfile.exp: Add tests for
5254 objfile.add_separate_debug_file.
5255
7c50a931
DE
52562014-12-04 Doug Evans <dje@google.com>
5257
5258 * lib/gdb.exp (get_build_id): New function.
5259 (build_id_debug_filename_get): Rewrite to use it.
5260 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5261
621661e3
MR
52622014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5263
5264 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5265 `method(long)', not just 0x0.
5266 * gdb.cp/nsalias.exp: Align code labels to 4.
5267 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5268 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5269 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5270 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5271 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5272 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5273
29f0c3b7
DE
52742014-12-02 Doug Evans <dje@google.com>
5275
e1e061e7 5276 PR symtab/17602
29f0c3b7 5277 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 5278 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
5279 * gdb.cp/anon-ns.exp: Update.
5280
162078c8
NB
52812014-12-02 Nick Bull <nicholaspbull@gmail.com>
5282
5283 * gdb.python/py-events.py (inferior_call_handler): New.
5284 (register_changed_handler, memory_changed_handler): New.
5285 (test_events.invoke): Register new handlers.
5286 * gdb.python/py-events.exp: Add tests for inferior call,
5287 memory_changed and register_changed events.
5288
fdb09caf
AA
52892014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5290
5291 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5292 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5293 if the linker doesn't understand this.
5294
55cfb2c4
SM
52952014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5296
5297 * gdb.python/python.exp: Change expected reply to help().
5298
9e8cd6df
YQ
52992014-12-01 Yao Qi <yao@codesourcery.com>
5300
5301 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5302 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5303 * configure: Re-generated.
5304
6c659fc2
SC
53052014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5306
5307 * gdb.cp/chained-calls.cc: New file.
5308 * gdb.cp/chained-calls.exp: New file.
5309 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5310
d7fc3181
SM
53112014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5312
5313 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5314 * gdb.dwarf2/symtab-producer.exp: Same.
5315 * gdb.gdb/python-interrupts.exp: Same.
5316 * gdb.gdb/python-selftest.exp: Same.
5317 * gdb.python/py-linetable.exp: Same.
5318 * gdb.python/py-type.exp: Same.
5319 * gdb.python/py-value-cc.exp: Same.
5320 * gdb.python/py-value.exp: Same.
5321
10e79639
YQ
53222014-11-28 Yao Qi <yao@codesourcery.com>
5323
5324 * gdb.base/break-probes.exp: Match library name prefixed with
5325 sysroot.
5326
f28a0564
SM
53272014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5328
5329 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5330 test expected output. Add parentheses for the call to print.
5331 Remove L suffix from integers.
5332
3fe1ce1d
DE
53332014-11-26 Doug Evans <dje@google.com>
5334
5335 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5336
84429e27
YQ
53372014-11-22 Yao Qi <yao@codesourcery.com>
5338
5339 * gdb.trace/entry-values.c: Remove asms.
5340 (foo): Add foo_label.
5341 (bar): Add bar_label.
5342 * gdb.trace/entry-values.exp: Remove code computing foo's
5343 length and bar's length.
5344 (Dwarf::assemble): Invoke function_range for bar and use
5345 MACRO_AT_func for foo.
5346
26741859
YQ
53472014-11-22 Yao Qi <yao@codesourcery.com>
5348
5349 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5350 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5351 Use .Lgcc43_procstart instead of gcc43.
5352
45e44d27
JB
53532014-11-21 Joel Brobecker <brobecker@adacore.com>
5354
5355 * gdb.ada/n_arr_bound: New testcase.
5356
458c8db8
SDJ
53572014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5358
5359 PR breakpoints/10737
5360 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5361 test_catch_syscall_multi_arch.
5362 (test_catch_syscall_multi_arch): New function.
5363
43f3e411
DE
53642014-11-20 Doug Evans <xdje42@gmail.com>
5365
5366 * gdb.base/maint.exp: Update expected output.
5367
0d7b2549
AA
53682014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5369
5370 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5371 4-byte instruction on S390.
5372
8908fca5
JB
53732014-11-19 Joel Brobecker <brobecker@adacore.com>
5374
5375 * gdb.ada/arr_arr: New testcase.
5376
4a46959e
JB
53772014-11-19 Joel Brobecker <brobecker@adacore.com>
5378
5379 * gdb.ada/pkd_arr_elem: New Testcase.
5380
470e2f4e
LM
53812014-11-18 Luis Machado <lgustavo@codesourcery.com>
5382
5383 * gdb.reverse/break-precsave: Expect completion message for
5384 core file reads.
5385 * gdb.reverse/consecutive-precsave.exp: Likewise.
5386 * gdb.reverse/finish-precsave.exp: Likewise.
5387 * gdb.reverse/i386-precsave.exp: Likewise.
5388 * gdb.reverse/machinestate-precsave.exp: Likewise.
5389 * gdb.reverse/sigall-precsave.exp: Likewise.
5390 * gdb.reverse/solib-precsave.exp: Likewise.
5391 * gdb.reverse/step-precsave.exp: Likewise.
5392 * gdb.reverse/until-precsave.exp: Likewise.
5393 * gdb.reverse/watch-precsave.exp: Likewise.
5394
a267f3ad
AA
53952014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5396
5397 * gdb.base/bp-permanent.c: Include unistd.h.
5398 * gdb.python/py-framefilter-mi.c (main): Add return type.
5399 * gdb.python/py-framefilter.c (main): Likewise.
5400 * gdb.trace/actions-changed.c (main): Likewise.
5401
12084a9a
AA
54022014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5403
5404 * gdb.mi/until.c: Add eye-catchers.
5405 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5406 line numbers.
5407
dc7e1a77
AA
54082014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5409
5410 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5411 function header variants in break1.c.
5412 * gdb.base/ena-dis-br.exp: Likewise.
5413 * gdb.base/hbreak2.exp: Likewise.
5414 * gdb.reverse/until-precsave.exp: Drop references to removed
5415 non-prototype function header variants in ur1.c.
5416 * gdb.reverse/until-reverse.exp: Likewise.
5417
41c77605
PM
54182014-11-17 Petr Machata <pmachata@redhat.com>
5419
5420 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5421 ${_cu_offset_size} bytes abbrev offset.
5422
34248c3a
DE
54232014-11-15 Doug Evans <xdje42@gmail.com>
5424
5425 PR symtab/17559
5426 * gdb.base/line-symtabs.exp: New file.
5427 * gdb.base/line-symtabs.c: New file.
5428 * gdb.base/line-symtabs.h: New file.
5429
646da059
YQ
54302014-11-14 Yao Qi <yao@codesourcery.com>
5431
5432 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5433 (func): Add label func_label.
5434 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5435 Replace low_pc and high_pc with MACRO_AT_range.
5436 Replace name, low_pc and high_pc with MACRO_AT_func.
5437
9301ebe6
YQ
54382014-11-14 Yao Qi <yao@codesourcery.com>
5439
5440 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5441 Replace name, low_pc and high_pc with MACRO_AT_func.
5442
f166b542
YQ
54432014-11-14 Yao Qi <yao@codesourcery.com>
5444
5445 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5446 produce debug information.
5447 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5448
0f6e71e3
YQ
54492014-11-14 Yao Qi <yao@codesourcery.com>
5450
5451 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5452 object and get function length.
5453 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5454 with MACRO_AT_func.
5455 (top-level): Replace gdb_compile and clean_restart with
5456 prepare_for_testing.
5457 * gdb.dwarf2/main.c (main): Add label main_label.
5458
876c4df9
YQ
54592014-11-14 Yao Qi <yao@codesourcery.com>
5460
5461 * lib/dwarf.exp (function_range): New procedure.
5462 (Dwarf::_handle_macro_at_func): New procedure.
5463 (Dwarf::_handle_macro_at_range): New procedure.
5464 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5465
02ad9cf1
YQ
54662014-11-14 Yao Qi <yao@codesourcery.com>
5467
5468 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5469 (_handle_attribute): New procedure.
5470
a59add0c
AA
54712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5472
5473 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5474 * gdb.base/call-sc.c (zed): Likewise.
5475 * gdb.base/checkpoint.c (main): Likewise.
5476 * gdb.base/dump.c (main): Likewise.
5477 * gdb.base/gcore.c (main): Likewise.
5478 * gdb.base/huge.c (main): Likewise.
5479 * gdb.base/multi-forks.c (main): Likewise.
5480 * gdb.base/pr10179-a.c (main): Likewise.
5481 * gdb.base/savedregs.c (main): Likewise.
5482 * gdb.base/sigaltstack.c (main): Likewise.
5483 * gdb.base/siginfo.c (main): Likewise.
5484 * gdb.base/structs.c (zed): Likewise.
5485 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5486 * gdb.mi/mi-syn-frame.c (main): Likewise.
5487 * gdb.mi/until.c (foo, main): Likewise.
5488 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5489 * gdb.base/solib-weak.c (foo): Declare.
5490 * gdb.base/attach-twice.c: Include stdio.h.
5491 * gdb.base/weaklib1.c: Likewise.
5492 * gdb.base/weaklib2.c: Likewise.
5493 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5494 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5495 unistd.h.
5496 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5497 * gdb.mi/mi-exit-code.c: Likewise.
5498 * gdb.base/break-interp-lib.c: Include string.h.
5499 * gdb.base/coremaker.c: Likewise.
5500 * gdb.base/testenv.c: Likewise.
5501 * gdb.python/py-finish-breakpoint.c: Likewise.
5502 * gdb.base/inferior-died.c: Include sys/wait.h.
5503 * gdb.base/fileio.c: Include time.h.
5504 * gdb.base/async-shell.c: Include unistd.h.
5505 * gdb.base/dprintf-non-stop.c: Likewise.
5506 * gdb.base/info-os.c: Likewise.
5507 * gdb.mi/mi-console.c: Likewise.
5508 * gdb.mi/watch-nonstop.c: Likewise.
5509 * gdb.python/py-events.c: Likewise.
5510 * gdb.base/async.c (baz): Move up before its invocation.
5511 * gdb.base/code_elim2.c (my_global_func): Likewise.
5512 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5513 * gdb.base/advance.c (func2): Likewise.
5514
3b5d5997
AA
55152014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5516
5517 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5518 variant.
5519 * gdb.base/annota3.c: Likewise.
5520 * gdb.base/async.c: Likewise.
5521 * gdb.base/average.c: Likewise.
5522 * gdb.base/call-ar-st.c: Likewise.
5523 * gdb.base/call-rt-st.c: Likewise.
5524 * gdb.base/call-sc.c: Likewise.
5525 * gdb.base/call-strs.c: Likewise.
5526 * gdb.base/ending-run.c: Likewise.
5527 * gdb.base/execd-prog.c: Likewise.
5528 * gdb.base/exprs.c: Likewise.
5529 * gdb.base/foll-exec.c: Likewise.
5530 * gdb.base/foll-fork.c: Likewise.
5531 * gdb.base/foll-vfork.c: Likewise.
5532 * gdb.base/funcargs.c: Likewise.
5533 * gdb.base/gcore.c: Likewise.
5534 * gdb.base/jump.c: Likewise.
5535 * gdb.base/langs0.c: Likewise.
5536 * gdb.base/langs1.c: Likewise.
5537 * gdb.base/langs2.c: Likewise.
5538 * gdb.base/mips_pro.c: Likewise.
5539 * gdb.base/nodebug.c: Likewise.
5540 * gdb.base/opaque0.c: Likewise.
5541 * gdb.base/opaque1.c: Likewise.
5542 * gdb.base/recurse.c: Likewise.
5543 * gdb.base/run.c: Likewise.
5544 * gdb.base/scope0.c: Likewise.
5545 * gdb.base/scope1.c: Likewise.
5546 * gdb.base/setshow.c: Likewise.
5547 * gdb.base/setvar.c: Likewise.
5548 * gdb.base/shmain.c: Likewise.
5549 * gdb.base/shr1.c: Likewise.
5550 * gdb.base/shr2.c: Likewise.
5551 * gdb.base/sigall.c: Likewise.
5552 * gdb.base/signals.c: Likewise.
5553 * gdb.base/so-indr-cl.c: Likewise.
5554 * gdb.base/solib2.c: Likewise.
5555 * gdb.base/structs.c: Likewise.
5556 * gdb.base/sum.c: Likewise.
5557 * gdb.base/vforked-prog.c: Likewise.
5558 * gdb.base/watchpoint.c: Likewise.
5559 * gdb.reverse/shr2.c: Likewise.
5560 * gdb.reverse/until-reverse.c: Likewise.
5561 * gdb.reverse/ur1.c: Likewise.
5562 * gdb.reverse/watch-reverse.c: Likewise.
5563
066a77c5
AA
55642014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5565
5566 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5567 variant.
5568 * gdb.base/sepdebug.exp: Drop references to removed code.
5569
4f204ea5
AA
55702014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5571
5572 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5573 variant. Preserve original line numbering.
5574 * gdb.base/list1.c: Likewise.
5575
3b377a3a
AA
55762014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5577
5578 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5579 variant.
5580 * gdb.base/break1.c: Likewise.
5581 * gdb.base/break.exp: Drop references to removed code.
5582
e444df73
AA
55832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5584
5585 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5586 variant.
5587
8008f2a7
AA
55882014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5589
5590 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5591
a5a06887
AA
55922014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5593
5594 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5595 logic into perform_all_tests() and invoke it with and without
5596 function header prototypes.
5597 (do_function_calls): Remove conditional XFAIL for PR 5318.
5598 (rerun_and_prepare): Remove duplicate code.
5599 (perform_all_tests): New. Main logic moved here.
5600
44dba9b9
AA
56012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5602
5603 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5604 code guarded by #ifdef NO_PROTOTYPES.
5605 (t_double_many_args): Likewise.
5606 (DEF_FUNC_MANY_ARGS_1): Likewise.
5607 (DEF_FUNC_VALUES_1): Likewise.
5608 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5609 guarded by #ifdef PROTOTYPES.
5610
d1fbcd56
AA
56112014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5612
5613 * gdb.mi/mi-console.c: Add eye-catcher.
5614 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5615 instead of literal line number.
5616
b0e59b8f
AA
56172014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5618
5619 * gdb.base/shr2.c: Add eye-catcher.
5620 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5621 line number.
5622
78f98cca
AA
56232014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5624
5625 * gdb.base/jump.c: Add eye-catchers.
5626 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5627 numbers.
5628
58fa2af0
AA
56292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5630
5631 * gdb.base/execd-prog.c: Add eye-catchers.
5632 * gdb.base/foll-exec.c: Likewise.
5633 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5634 line numbers.
5635
04e5059b
AA
56362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5637
5638 * gdb.base/ending-run.c: Add eye-catchers.
5639 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5640 literal line numbers.
5641
dbfdb174
AA
56422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5643
5644 * gdb.base/call-rt-st.c: Add eye-catchers.
5645 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5646 literal line numbers.
5647
888a2ade
AA
56482014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5649
5650 * gdb.base/call-ar-st.c: Add eye-catchers.
5651 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5652 literal line numbers.
5653
6acc2dde
AA
56542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5655
5656 * gdb.base/average.c: Add eye-catchers.
5657 * gdb.base/sum.c: Likewise.
5658 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5659 regexps dynamically.
5660
9ecfcd1d
AA
56612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5662
5663 * gdb.base/solib1.c: Add eye-catchers.
5664 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5665 literal line numbers.
5666
78708b7c
PA
56672014-11-12 Pedro Alves <palves@redhat.com>
5668
5669 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5670 leader has exited.
5671
af48d08f
PA
56722014-11-12 Pedro Alves <palves@redhat.com>
5673
5674 * gdb.arch/i386-bp_permanent.c: New file.
5675 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5676 (srcfile): Set to i386-bp_permanent.c.
5677 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5678 that stepi does not execute the 'leave' instruction, instead of
5679 testing it does execute.
5680 * gdb.base/bp-permanent.c: New file.
5681 * gdb.base/bp-permanent.exp: New file.
5682
af3768e9
DE
56832014-11-10 Doug Evans <xdje42@gmail.com>
5684
5685 PR symtab/17564
5686 * gdb.base/symtab-search-order.exp: New file.
5687 * gdb.base/symtab-search-order.c: New file.
5688 * gdb.base/symtab-search-order-1.c: New file.
5689 * gdb.base/symtab-search-order-shlib-1.c: New file.
5690
9de00a4a
PA
56912014-11-07 Pedro Alves <palves@redhat.com>
5692
5693 PR gdb/17511
5694 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5695 i?86-*-linux*.
5696
e0f52461
SC
56972014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5698
5699 PR c++/17494
5700 * gdb.cp/pr17494.cc: New file.
5701 * gdb.cp/pr17494.exp: New file.
5702
6ce8c980
YQ
57032014-11-02 Yao Qi <yao@codesourcery.com>
5704
5705 * gdb.python/python.exp: Get working directory and match the
5706 output of "set extended-prompt \\w " with it.
5707
02be9a71
DE
57082014-10-30 Doug Evans <dje@google.com>
5709
5710 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5711 in objfiles.
5712 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5713 in progspaces.
5714
3bdff46b
LM
57152014-10-30 Janis Johnson <janisjo@codesourcery.com>
5716
5717 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5718 * gdb.base/realname-expand.exp: Likewise.
5719 * gdb.linespec/macro-relative.exp: Likewise.
5720
ab917dfb
PA
57212014-10-29 Pedro Alves <palves@redhat.com>
5722
5723 PR gdb/17408
5724 * gdb.threads/schedlock.c (some_function): New function.
5725 (call_function): New global.
5726 (MAYBE_CALL_SOME_FUNCTION): New macro.
5727 (thread_function): Call it.
5728 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5729 and use it instead of a global counter. Adjust all callers.
5730 (get_current_thread): Use "find current thread" for test message
5731 here rather than having all callers pass down the same string.
5732 (goto_loop): New procedure, factored out from ...
5733 (my_continue): ... this.
5734 (step_ten_loops): Change parameter from test message to command to
5735 use. Adjust.
5736 (list_count): Delete global.
5737 (check_result): New procedure, factored out from duplicate top
5738 level code.
5739 (continue tests): Wrap in with_test_prefix.
5740 (test_step): New procedure, factored out from duplicate top level
5741 code.
5742 (top level): Test "step" in combination with all scheduler-locking
5743 modes. Test "next" in combination with all scheduler-locking
5744 modes, and in combination with stepping over a function call or
5745 not.
5746 * gdb.threads/next-bp-other-thread.c: New file.
5747 * gdb.threads/next-bp-other-thread.exp: New file.
5748
d3d4baed
PA
57492014-10-29 Pedro Alves <palves@redhat.com>
5750
5751 PR python/17372
5752 * gdb.python/python.exp: Test a multi-line command that spawns
5753 interactive Python.
5754 * gdb.base/multi-line-starts-subshell.exp: New file.
5755
563e8d85
YQ
57562014-10-29 Yao Qi <yao@codesourcery.com>
5757
5758 * gdb.base/fileio.exp: Make directories on host.
5759
0ea4d52e
YQ
57602014-10-29 Yao Qi <yao@codesourcery.com>
5761
5762 * gdb.base/fileio.c (test_write): Close the file.
5763
7f5ef605
PA
57642014-10-28 Pedro Alves <palves@redhat.com>
5765
5766 PR gdb/12623
5767 * gdb.base/sigstep.c (no_handler): New global.
5768 (main): If 'no_handler is true, set the signal handlers to
5769 SIG_IGN.
5770 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5771 with_sw_watch and no_handler parameters. Handle them.
5772 (top level) <stepping over handler when stopped at a breakpoint
5773 test>: Add a test axis for testing with a software watchpoint, and
5774 another for testing with the signal handler set to SIG_IGN.
5775 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5776 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5777
abbdbd03
PA
57782014-10-28 Pedro Alves <palves@redhat.com>
5779
5780 PR gdb/17511
5781 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5782 * gdb.base/sigstep.exp (other_handler_location): New global.
5783 (advance): Support stepping into the signal handler, and running
5784 commands while in the handler.
5785 (in_handler_map): New global.
5786 (top level): In the advance test, add combinations for getting
5787 into the handler with stepping commands, and for running commands
5788 in the handler. Add comment descripting the advancei tests.
5789
1df4399f
PA
57902014-10-28 Pedro Alves <palves@redhat.com>
5791
5792 * gdb.base/sigstep.exp: Use build_executable instead of
5793 prepare_for_testing.
5794 (top level): Move code that starts GDB, runs to main and creates a
5795 display to ...
5796 (restart): ... this new procedure.
5797 (top level): Move backtrace from signal handler test to ...
5798 (validate_backtrace): ... this new procedure.
5799 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5800 with_test_prefix. Always restart GDB.
5801 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5802 with_test_prefix. Always restart GDB. No need to delete
5803 breakpoints after the test.
5804 (test_skip_handler): Remove prefix parameter.
5805 (skip_over_handler, breakpoint_to_handler)
5806 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5807 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5808 restart GDB. No need to delete breakpoints after the test.
5809 (top level): Use foreach to call the test procedures with
5810 different commands.
5811
a5b6e449
PA
58122014-10-28 Pedro Alves <palves@redhat.com>
5813
5814 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5815 instead of GNATS numbers.
5816 * gdb.base/sigbpt.exp: Likewise.
5817 * gdb.base/siginfo.exp: Likewise.
5818 * gdb.base/sigstep.exp: Likewise.
5819
e5f8a7cc
PA
58202014-10-27 Pedro Alves <palves@redhat.com>
5821
5822 * gdb.base/sigstep.c (dummy): New global.
5823 (main): Issue a couple writes to the new global.
5824 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5825 procedures.
5826 (skip_over_handler): Use test_skip_handler.
5827 (top level): Call skip_over_handler for stepi and nexti too.
5828 (breakpoint_over_handler): Use test_skip_handler.
5829 (top level): Call breakpoint_over_handler for stepi and nexti too.
5830
763905a3
YQ
58312014-10-27 Yao Qi <yao@codesourcery.com>
5832
5833 * gdb.trace/tfile.c (adjust_function_address)
5834 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5835 function descriptor.
5836
6f259a23
DB
58372014-10-24 Don Breazeal <donb@codesourcery.com>
5838
5839 * gdb.base/foll-fork.exp (test_follow_fork,
5840 catch_fork_child_follow): Check for updated fork messages emitted
5841 from infrun.c.
5842 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5843 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5844 vfork_and_exec_child_follow_through_step): Check for updated vfork
5845 messages emitted from infrun.c.
5846
09dd9a69
PA
58472014-10-24 Pedro Alves <palves@redhat.com>
5848
5849 * gdb.base/corefile.exp: Remove references to ultrix.
5850 * gdb.base/interrupt.exp: Likewise.
5851 * gdb.base/whatis.exp: Likewise.
5852 * gdb.gdb/selftest.exp: Likewise.
5853 * gdb.threads/manythreads.exp: Likewise.
5854 * gdb.threads/print-threads.exp: Likewise.
5855 * gdb.threads/pthreads.exp:: Likewise.
5856 * gdb.threads/schedlock.exp: Likewise.
5857
3433cfa5
SC
58582014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5859
5860 * gdb.cp/non-trivial-retval.cc: Add a test case.
5861 * gdb.cp/non-trivial-retval.exp: Add a test.
5862
092f880b
YQ
58632014-10-20 Yao Qi <yao@codesourcery.com>
5864
5865 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5866 * gdb.python/py-objfile-script-gdb.py: New file.
5867 * gdb.python/py-objfile-script.exp: Update reference to
5868 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5869 of remote_download. Remove the dest file.
5870
acbdb7f3
YQ
58712014-10-20 Yao Qi <yao@codesourcery.com>
5872
5873 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5874 * gdb.base/step-line.exp: Likewise.
5875 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5876 * gdb.dwarf2/dw2-basic.exp: Likewise.
5877 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5878 * gdb.dwarf2/dw2-filename.exp: Likewise.
5879 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5880 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5881 * gdb.dwarf2/dw2-producer.exp: Likewise.
5882 * gdb.dwarf2/mac-fileno.exp: Likewise.
5883 * gdb.python/py-frame-args.exp: Likewise.
5884 * gdb.python/py-framefilter.exp: Likewise.
5885 * gdb.python/py-mi.exp: Likewise.
5886 * gdb.python/py-objfile-script.exp: Likewise
5887 * gdb.python/py-pp-integral.exp: Likewise.
5888 * gdb.python/py-pp-re-notag.exp: Likewise.
5889 * gdb.python/py-prettyprint.exp: Likewise.
5890 * gdb.python/py-section-script.exp: Likewise.
5891 * gdb.python/py-typeprint.exp: Likewise.
5892 * gdb.python/py-xmethods.exp: Likewise.
5893 * gdb.stabs/weird.exp: Likewise.
5894 * gdb.xml/tdesc-regs.exp: Likewise.
5895
bd286a29
KCY
58962014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5897
5898 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5899 (out_cu): Use addr_len for the size of addresses.
5900 (out_line): Likewise. Size DW_LNE_set_address instruction
5901 according to addr_len.
5902 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5903 (FUNC): Add START_INSNS to definition.
5904
673dc4a0
YQ
59052014-10-18 Yao Qi <yao@codesourcery.com>
5906
5907 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5908 gdb_has_argv0 return true.
5909 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5910 check [target_info exists noargs], check [gdb_has_argv0]
5911 instead.
5912 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5913 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5914 procedures.
5915
4ffbba72
DE
59162014-10-17 Doug Evans <dje@google.com>
5917
5918 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5919 event.
5920 * gdb.python/py-events.py: Add clear_objfiles event.
5921
d096d8c1
DE
59222014-10-17 Doug Evans <dje@google.com>
5923
5924 * gdb.python/py-objfile.exp: Test progspace attribute.
5925
a80db015
LM
59262014-10-17 Luis Machado <lgustavo@codesourcery.com>
5927
5928 * gdb.guile/scm-breakpoint.exp: Do not assume any
5929 directory separators when matching source file paths.
5930 * gdb.python/py-breakpoint.exp: Likewise.
5931 * gdb.reverse/break-precsave.exp: Likewise.
5932 * gdb.reverse/break-reverse.exp: Likewise.
5933 * gdb.reverse/consecutive-precsave.exp: Likewise.
5934 * gdb.reverse/finish-precsave.exp: Likewise.
5935 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5936 * gdb.reverse/finish-reverse.exp: Likewise.
5937 * gdb.reverse/i386-precsave.exp: Likewise.
5938 * gdb.reverse/i387-env-reverse.exp: Likewise.
5939 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5940 * gdb.reverse/machinestate-precsave.exp: Likewise.
5941 * gdb.reverse/machinestate.exp: Likewise.
5942 * gdb.reverse/sigall-precsave.exp: Likewise.
5943 * gdb.reverse/solib-precsave.exp: Likewise.
5944 * gdb.reverse/step-precsave.exp: Likewise.
5945 * gdb.reverse/until-precsave.exp: Likewise.
5946 * gdb.reverse/watch-precsave.exp: Likewise.
5947 * gdb.reverse/watch-reverse.exp: Likewise.
5948
b22089ab
YQ
59492014-10-17 Yao Qi <yao@codesourcery.com>
5950
5951 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5952 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5953
6c4486e6
PA
59542014-10-17 Pedro Alves <palves@redhat.com>
5955
5956 PR gdb/17471
5957 * gdb.base/bg-execution-repeat.c: New file.
5958 * gdb.base/bg-execution-repeat.exp: New file.
5959
0ff33695
PA
59602014-10-17 Pedro Alves <palves@redhat.com>
5961
5962 PR gdb/17300
5963 * gdb.base/continue-all-already-running.c: New file.
5964 * gdb.base/continue-all-already-running.exp: New file.
5965
6fdebc3d
PA
59662014-10-17 Pedro Alves <palves@redhat.com>
5967
5968 PR gdb/17472
5969 * gdb.base/annota-input-while-running.c: New file.
5970 * gdb.base/annota-input-while-running.exp: New file.
5971
32a8097b
PA
59722014-10-17 Pedro Alves <palves@redhat.com>
5973
5974 * gdb.base/callfuncs.exp: emove references to osf.
5975 * gdb.base/sigall.exp: Likewise.
5976 * gdb.gdb/selftest.exp: Likewise.
5977 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5978 * gdb.mi/non-stop.c: Likewise.
5979 * gdb.mi/pthreads.c: Likewise.
5980 * gdb.reverse/sigall-precsave.exp: Likewise.
5981 * gdb.reverse/sigall-reverse.exp: Likewise.
5982 * gdb.threads/pthreads.c: Likewise.
5983 * gdb.threads/pthreads.exp: Likewise.
5984
7a3517ff
YQ
59852014-10-17 Yao Qi <yao@codesourcery.com>
5986
5987 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5988 check 'target_info exists noargs'.
5989 (test_command_prompt_position): Likewise.
5990 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5991 Remove "set args".
5992 (progvar_simple_while_test): Likewise.
5993 (progvar_complex_if_while_test): Likewise.
5994 (if_while_breakpoint_command_test): Likewise.
5995 (infrun_breakpoint_command_test): Likewise.
5996 (breakpoint_command_test): Likewise.
5997 (watchpoint_command_test): Likewise.
5998 (bp_deleted_in_command_test): Likewise.
5999 (temporary_breakpoint_commands): Likewise.
6000
bb99c472
YQ
60012014-10-16 Yao Qi <yao@codesourcery.com>
6002
6003 * gdb.base/remotetimeout.exp: Remove noargs checking.
6004
7c16b83e
PA
60052014-10-15 Pedro Alves <palves@redhat.com>
6006
6007 PR breakpoints/9649
6008 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6009 * gdb.base/breakpoint-in-ro-region.exp
6010 (probe_target_hardware_step): New procedure.
6011 (top level): Probe hardware stepping and hardware breakpoint
6012 support. Test stepping through a read-only region, with both
6013 "breakpoint auto-hw" on and off and both "always-inserted" on and
6014 off.
6015
35a49624
IB
60162014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6017
6018 * gdb.dlang/demangle.exp: Update for demangling changes.
6019
2d1c107c
SC
60202014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6021
6022 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6023 * gdb.cp/non-trivial-retval.exp: Add new tests.
6024
778811d5
SC
60252014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6026
6027 PR c++/13403
6028 PR c++/15154
6029 * gdb.cp/non-trivial-retval.cc: New file.
6030 * gdb.cp/non-trivial-retval.exp: New file.
6031
10c5f0a8
YQ
60322014-10-15 Yao Qi <yao@codesourcery.com>
6033
6034 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6035 remote host.
6036
65d7b369
YQ
60372014-10-15 Yao Qi <yao@codesourcery.com>
6038
6039 * gdb.python/py-symbol.exp: Match file base name if host is
6040 remote, otherwise match file name with dir name.
6041 * gdb.python/py-symtab.exp: Likewise.
6042 * gdb.python/python.exp: Likewise.
6043
46dc1394
YQ
60442014-10-15 Yao Qi <yao@codesourcery.com>
6045
6046 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6047 pattern.
6048 * gdb.python/py-symtab.exp: Likewise.
6049 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6050 locationn.
6051
c40cc657
JB
60522014-10-14 Joel Brobecker <brobecker@adacore.com>
6053
6054 * gdb.ada/addr_arith: New testcase.
6055
2abf49e1
MR
60562014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6057
6058 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6059 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6060 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6061 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6062
f7088df3
SDJ
60632014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6064
6065 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6066 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6067 * gdb.arch/stap-eval-lang-ada.exp: New file.
6068
4dc06805
YQ
60692014-10-14 Yao Qi <yao@codesourcery.com>
6070
6071 * gdb.mi/mi-var-child.c (nothing1): New function.
6072 (nothing2): New function.
6073 (do_children_tests): Set function pointers by nothing1 and
6074 nothing2.
6075 * gdb.mi/mi-var-child.exp: Step over new added statements.
6076 Update test to match the new output.
6077 * gdb.mi/var-cmd.c (nothing1): New function.
6078 (nothing2): New function.
6079 (do_children_tests): Set function pointers by nothing1 and
6080 nothing2.
6081 * gdb.mi/mi-var-display.exp: Update test to match output.
6082 Step to the line specified by $line_dct_nothing.
6083 Increase the number of lines to step.
6084
46a93de2
YQ
60852014-10-14 Yao Qi <yao@codesourcery.com>
6086
6087 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6088 tests.
6089 * gdb.mi/mi2-var-child.exp: Likewise.
6090
14ea52ee
DE
60912014-10-13 Doug Evans <dje@google.com>
6092
6093 * gdb.python/py-objfile.exp: Change name of file name test.
6094
e5c6e92b
DE
60952014-10-13 Doug Evans <dje@google.com>
6096
6097 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6098 from the start of the CU.
6099
c780cc2f
JK
61002014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6101 Yao Qi <yao@codesourcery.com>
6102
6103 Fix "save breakpoints" for "catch" command.
6104 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6105 Remove -nonewline. Match also the added "main" line.
6106
99894e11
JK
61072014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6108
6109 Fix "save breakpoints" for "disable $bpnum" command.
6110 * gdb.base/save-bp.c (main): Add label.
6111 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6112
6e1ac5a3
JK
61132014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6114
6115 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6116
754dd2b0
YQ
61172014-10-11 Yao Qi <yao@codesourcery.com>
6118
6119 * gdb.server/server-kill.exp: Execute command
6120 "set remote trace-status-packet on" before "tstatus".
6121
f90183d7
YQ
61222014-10-11 Yao Qi <yao@codesourcery.com>
6123
6124 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6125 (main): Call getppid.
6126 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6127 and continue to it. Read variable "server_pid".
6128
bf40a607
YQ
61292014-10-11 Yao Qi <yao@codesourcery.com>
6130
6131 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6132
052ca370
YQ
61332014-10-11 Yao Qi <yao@codesourcery.com>
6134
6135 * gdb.threads/thread-find.exp: Don't execute command
6136 "info threads".
6137 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6138 * gdb.threads/linux-dp.exp: Don't check the condition
6139 $threads_created equals to zero.
6140
3831839c
PA
61412014-10-10 Pedro Alves <palves@redhat.com>
6142
6143 * gdb.base/bigcore.exp: Remove references to IRIX.
6144 * gdb.base/funcargs.exp: Likewise.
6145 * gdb.base/interrupt.exp: Likewise.
6146 * gdb.base/mips_pro.exp: Likewise.
6147 * gdb.base/nodebug.exp: Likewise.
6148 * gdb.base/setvar.exp: Likewise.
6149 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6150
8b9a549d
PA
61512014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6152 Pedro Alves <palves@redhat.com>
6153
6154 PR symtab/14466
6155 * gdb.base/vdso-warning.c: New file.
6156 * gdb.base/vdso-warning.exp: New file.
6157
d48ba5e8
DE
61582014-10-02 Doug Evans <dje@google.com>
6159
6160 * gdb.base/structs.c (main): Don't run forever.
6161
2278c276
PA
61622014-10-02 Pedro Alves <palves@redhat.com>
6163
6164 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6165 (top level) <stop threads 1, stop threads 2>: Use it.
6166
b57bacec
PA
61672014-10-02 Pedro Alves <palves@redhat.com>
6168
6169 * gdb.threads/break-while-running.exp (test): Add new
6170 'update_thread_list' argument. Skip "info threads" if false.
6171 (top level): Add new 'update_thread_list' axis.
6172
13fd3ff3
PA
61732014-10-02 Pedro Alves <palves@redhat.com>
6174
6175 PR breakpoints/17431
6176 * gdb.base/execl-update-breakpoints.c: New file.
6177 * gdb.base/execl-update-breakpoints.exp: New file.
6178
0fec99e8
PA
61792014-10-01 Pedro Alves <palves@redhat.com>
6180
6181 * gdb.base/breakpoint-in-ro-region.c: New file.
6182 * gdb.base/breakpoint-in-ro-region.exp: New file.
6183
2ddf4301
SM
61842014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6185
6186 * gdb.mi/mi-exit-code.exp: New file.
6187 * gdb.mi/mi-exit-code.c: New file.
6188
6a5f3f43
YQ
61892014-09-30 Yao Qi <yao@codesourcery.com>
6190
6191 * lib/prelink-support.exp (build_executable_own_libs): Error if
6192 the target isn't native.
6193
345bcc73
YQ
61942014-09-30 Yao Qi <yao@codesourcery.com>
6195
6196 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6197 false.
6198
a25a5a45
PA
61992014-09-22 Pedro Alves <palves@redhat.com>
6200
6201 * gdb.threads/break-while-running.exp: New file.
6202 * gdb.threads/break-while-running.c: New file.
6203
00ba3162
YQ
62042014-09-19 Yao Qi <yao@codesourcery.com>
6205
6206 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6207 Invoke test. Restart GDB with --readnow and invoke test again.
6208
c3b7b696
YQ
62092014-09-19 Yao Qi <yao@codesourcery.com>
6210
6211 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6212 proc set_breakpoint_on_gcd_function. Invoke
6213 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6214 invoke set_breakpoint_on_gcd_function again.
6215
2b4fd423
DE
62162014-09-18 Doug Evans <dje@google.com>
6217
6218 * gdb.dwarf2/symtab-producer.exp: New file.
6219
a5947601
SDJ
62202014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6221
6222 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6223 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6224 * gdb.base/global-var-nested-by-dso.c: Likewise.
6225 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6226
91c19059
SDJ
62272014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6228 Pedro Alves <palves@redhat.com>
6229
6230 * gdb.base/watch-bitfields.exp: Pass string other than test file
6231 name to prepare_for_testing.
6232 (watch): New procedure.
6233 (expect_watchpoint): Use with_test_prefix.
6234 (top level): Factor out tests to ...
6235 (test_watch_location, test_regular_watch): ... these new
6236 procedures, and use with_test_prefix and gdb_continue_to_end.
6237
bb9d5f81
PP
62382014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6239
6240 PR breakpoints/12526
6241 * gdb.base/watch-bitfields.exp: New file.
6242 * gdb.base/watch-bitfields.c: New file.
6243
635856f5
PA
62442014-09-16 Pedro Alves <palves@redhat.com>
6245
6246 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6247 software and hardware addresses, not software address against
6248 itself.
6249
7280ceea
PA
62502014-09-16 Pedro Alves <palves@redhat.com>
6251
6252 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6253 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6254
428b16bd
PA
62552014-09-16 Pedro Alves <palves@redhat.com>
6256
6257 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6258 files.
6259 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6260 "*-*-vxworks*" throughout.
6261 * gdb.base/break.exp: Likewise.
6262 * gdb.base/default.exp: Likewise.
6263 * gdb.base/scope.exp: Likewise.
6264 * gdb.base/sepdebug.exp: Likewise.
6265 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6266 throughout.
6267 * gdb.base/run.c: Likewise.
6268 * gdb.base/sepdebug.c: Likewise.
6269 * gdb.hp/gdb.aCC/run.c: Likewise.
6270 * gdb.reverse/until-reverse.c: Likewise.
6271 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6272
666d413c
YQ
62732014-09-16 Yao Qi <yao@codesourcery.com>
6274
6275 * boards/local-remote-host-native.exp: New file.
6276
57cbd724
DE
62772014-09-14 Doug Evans <xdje42@gmail.com>
6278
6279 * gdb.threads/queue-signal.c (thread_count): New variable.
6280 (thread_count_mutex, thread_count_condvar): New variables.
6281 (incr_thread_count, wait_all_threads_running): New functions.
6282 (main): Wait for all threads to be in their thread functions.
6283
81219e53
DE
62842014-09-13 Doug Evans <xdje42@gmail.com>
6285
6286 * gdb.threads/queue-signal.c: New file.
6287 * gdb.threads/queue-signal.exp: New file.
6288
3714cea7
DE
62892014-09-13 Doug Evans <xdje42@gmail.com>
6290
6291 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6292 be consistent with what default_gdb_init uses.
6293 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6294 the plain text of the prompt. Add some logging printfs.
6295 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6296
fa43b1d7
PA
62972014-09-12 Pedro Alves <palves@redhat.com>
6298
6299 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6300 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6301 * gdb.arch/i386-size-overlap.exp: Likewise.
6302 * gdb.arch/i386-size.exp: Likewise.
6303 * gdb.arch/i386-unwind.exp: Likewise.
6304 * gdb.base/a2-run.exp: Likewise.
6305 * gdb.base/break.exp: Likewise.
6306 * gdb.base/charset.exp: Likewise.
6307 * gdb.base/chng-syms.exp: Likewise.
6308 * gdb.base/commands.exp: Likewise.
6309 * gdb.base/dbx.exp: Likewise.
6310 * gdb.base/find.exp: Likewise.
6311 * gdb.base/funcargs.exp: Likewise.
6312 * gdb.base/jit-simple.exp: Likewise.
6313 * gdb.base/reread.exp: Likewise.
6314 * gdb.base/sepdebug.exp: Likewise.
6315 * gdb.base/step-bt.exp: Likewise.
6316 * gdb.cp/mb-inline.exp: Likewise.
6317 * gdb.cp/mb-templates.exp: Likewise.
6318 * gdb.objc/basicclass.exp: Likewise.
6319 * gdb.threads/killed.exp: Likewise.
6320
9d9bf2df
EBM
63212014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6322
6323 PR tdep/17379
6324 * gdb.arch/powerpc-stackless.S: New file.
6325 * gdb.arch/powerpc-stackless.exp: New file.
6326
1cf2f1b0
JK
63272014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6328
6329 * gdb.base/attach.c: Include unistd.h.
6330 (main): Call alarm. Add label postloop.
6331 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6332 gdb_breakpoint, gdb_continue_to_breakpoint.
6333 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6334
98880d46
PA
63352014-09-11 Pedro Alves <palves@redhat.com>
6336
6337 PR gdb/17347
6338 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6339 * gdb.base/attach.exp (test_command_line_attach_run): New
6340 procedure.
6341 (top level): Call it.
6342
4c92ff2c
PA
63432014-09-11 Pedro Alves <palves@redhat.com>
6344
6345 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6346 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6347 (do_command_attach_tests): Use spawn_wait_for_attach.
6348 * gdb.base/solib-overlap.exp: Likewise.
6349 * gdb.multi/multi-attach.exp: Likewise.
6350 * gdb.python/py-prompt.exp: Likewise.
6351 * gdb.python/py-sync-interp.exp: Likewise.
6352 * gdb.server/ext-attach.exp: Likewise.
6353
3adc1a7d
GKB
63542014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6355
6356 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6357 command in testcase. Simplify testcase.
6358
96334934
JB
63592014-09-10 Joel Brobecker <brobecker@adacore.com>
6360
6361 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6362
eb479039
JB
63632014-09-10 Joel Brobecker <brobecker@adacore.com>
6364
6365 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6366
deede10c
JB
63672014-09-10 Joel Brobecker <brobecker@adacore.com>
6368
6369 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6370
7828a5f5
JB
63712014-09-10 Joel Brobecker <brobecker@adacore.com>
6372
6373 * gdb.dwarf2/dynarr-ptr.c: New file.
6374 * gdb.dwarf2/dynarr-ptr.exp: New file.
6375
33aeebcf
MR
63762014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6377
6378 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6379 of 30 rather than hardcoding 120 for a slow test case. Take the
6380 `gdb,timeout' target setting into account for this calculation.
6381 Don't extend the timeout for the test cases that don't need it.
6382
7b415901
MR
63832014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6384
6385 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6386 a factor of 2 for a slow test case. Take the `gdb,timeout'
6387 target setting into account for this calculation.
6388 * gdb.reverse/until-precsave.exp: Increase the timeout by
6389 a factor of 15 and 3 respectively rather than adding 120
6390 for a pair of slow test cases. Take the `gdb,timeout'
6391 target setting into account for this calculation.
6392
4a40f85a
MR
63932014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6394
6395 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6396 timeout, don't pass one down to gdb_expect.
6397 (gdb_expect): Rework timeout selection.
6398
09635af7
MR
63992014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6400
6401 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6402 exception on timeout.
6403 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6404 (gdbserver_start_extended): Catch any `gdbserver_start' error
6405 exceptions.
6406 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6407 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6408 `gdbserver_gdb_load' error exceptions.
6409
2bdd10b7
MR
64102014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6411
6412 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6413 120 on waiting for the TCP socket to open.
6414
316935f0
DE
64152014-09-09 Doug Evans <xdje42@gmail.com>
6416
6417 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6418 _caller_matches, _any_caller_is, _any_caller_matches.
6419
83740597
DE
64202014-09-09 Doug Evans <xdje42@gmail.com>
6421
6422 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6423
4c122fc3
YQ
64242014-09-09 Yao Qi <yao@codesourcery.com>
6425
6426 * gdb.mi/mi-var-display.exp: Set print symbol off.
6427
a9f116cb
GKB
64282014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6429
6430 PR gdb/17035
6431 * gdb.base/commands.exp: Add tests to verify user-defined
6432 commands with empty bodies.
6433 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6434 python commands in `show user command`.
6435 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6436 scheme commands in `show user command`.
6437
c75bd3a2
JK
64382014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6439
6440 PR python/17355
6441 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6442 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6443 * gdb.python/py-framefilter-invalidarg.exp: New file.
6444 * gdb.python/py-framefilter-invalidarg.py: New file.
6445
faa42425
DE
64462014-09-06 Doug Evans <xdje42@gmail.com>
6447
6448 PR 15276
6449 * gdb.python/py-caller-is.c: New file.
6450 * gdb.python/py-caller-is.exp: New file.
6451
474ca4f6
SDJ
64522014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6453
6454 PR gdb/17235
6455 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6456 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6457
eb0b0463
SDJ
64582014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6459
6460 PR fortran/17237
6461 * gdb.fortran/print-formatted.exp: New file.
6462 * gdb.fortran/print-formatted.f90: Likewise.
6463
5f3b99cf
SS
64642014-09-03 Sasha Smundak <asmundak@google.com>
6465
6466 * gdb.python/py-frame.exp: Test Frame.read_register.
6467
7d793aa9
SDJ
64682014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6469
6470 PR python/16699
6471 * gdb.python/py-completion.exp: New file.
6472 * gdb.python/py-completion.py: Likewise.
6473
fb0576e9
DE
64742014-08-28 Doug Evans <dje@google.com>
6475
6476 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6477 eax,etc. are live with values set by gdb and thus the compiler can't
6478 use them.
6479 * gdb.arch/i386-pseudo.c (main): Ditto.
6480
ee92b0dd
DE
64812014-08-27 Doug Evans <dje@google.com>
6482
6483 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6484
6649db35
DE
64852014-08-25 Doug Evans <dje@google.com>
6486
6487 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6488 (main): Ditto.
6489
564b7600
DE
64902014-08-25 Doug Evans <dje@google.com>
6491
6492 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6493
3881fb67
YQ
64942014-08-24 Yao Qi <yao@codesourcery.com>
6495
6496 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6497 symbol off.
6498 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6499
a05a36a5
DE
65002014-08-22 Doug Evans <dje@google.com>
6501
6502 PR 17276
6503 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6504 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6505 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6506
7c343b48
YQ
65072014-08-22 Yao Qi <yao@codesourcery.com>
6508
6509 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6510 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6511 * gdb.python/python.exp: Likewise. Use .py file on the host
6512 instead of the build.
6513
22fd09ae
JK
65142014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6515
6516 * gdb.threads/gcore-stale-thread.c: New file.
6517 * gdb.threads/gcore-stale-thread.exp: New file.
6518
a8454a7c
PA
65192014-08-21 Pedro Alves <palves@redhat.com>
6520
6521 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6522 * gdb.base/gcore-relro-pie.exp: Likewise.
6523 * gdb.base/gcore-relro.exp: Likewise.
6524 * gdb.base/gcore.exp: Likewise.
6525 * gdb.base/print-symbol-loading.exp: Likewise.
6526 * gdb.threads/gcore-thread.exp: Likewise.
6527 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6528
2a31c623
PA
65292014-08-20 Pedro Alves <palves@redhat.com>
6530 Jan Kratochvil <jan.kratochvil@redhat.com>
6531
6532 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6533 configure.
6534 (EXPECT): Handle READ1 being set.
6535 (all): Depend on EXTRA_RULES.
6536 (check-read1, expect-read1, read1.so, read1): New rules.
6537 * README (Testsuite Parameters): Document the READ1 make variable.
6538 (Race detection): New section.
6539 * configure: Regenerate.
6540 * configure.ac: If build==host==target, and running under a
6541 GNU/glibc system, add read1 to the extra Makefile rules.
6542 (EXTRA_RULES): AC_SUBST it.
6543 * lib/read1.c: New file.
6544
d36430db
JB
65452014-08-20 Joel Brobecker <brobecker@adacore.com>
6546
6547 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6548 the handling of variables declared as a typedef to an array
6549 which a DW_AT_data_location attribute.
6550
9a0dc9e3
PA
65512014-08-19 Andrew Burgess <aburgess@broadcom.com>
6552 Pedro Alves <palves@redhat.com>
6553
6554 PR symtab/14604
6555 PR symtab/14605
6556 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6557 gdb_test.
6558
0718a8da
PA
65592014-08-19 Pedro Alves <palves@redhat.com>
6560
6561 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6562
13b448cd
YQ
65632014-08-19 Yao Qi <yao@codesourcery.com>
6564
6565 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6566 right line.
6567
1cbf5077
DB
65682014-08-18 David Blaikie <dblaikie@gmail.com>
6569
6570 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6571
bf0fae19
JB
65722014-08-18 Joel Brobecker <brobecker@adacore.com>
6573
6574 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6575 attribute in array range.
6576
3c8c5dcc
JB
65772014-08-18 Joel Brobecker <brobecker@adacore.com>
6578
6579 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6580
e66d4446
SC
65812014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6582
6583 PR c++/17132
6584 * gdb.cp/pr17132.cc: New file.
6585 * gdb.cp/pr17132.exp: New file.
6586
940df408
SC
65872014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6588
6589 * gdb.python/py-xmethods.py (A_getarrayind)
6590 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6591 Use 'print' with function call syntax.
6592 (E_method_matcher.match): Fix tab vs space indentation mixup.
6593
ebcc6c3a
YQ
65942014-08-15 Yao Qi <yao@codesourcery.com>
6595
6596 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6597 false.
6598
775e0f04
YQ
65992014-08-15 Yao Qi <yao@codesourcery.com>
6600
6601 * gdb.cp/casts.exp: Set print symbol off.
6602 * gdb.cp/class2.exp: Likewise.
6603 * gdb.cp/overload.exp: Likewise.
6604 * gdb.cp/templates.exp: Likewise.
6605
d769e349
DE
66062014-08-11 Doug Evans <dje@google.com>
6607
6608 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6609 (test_load_shlib): Update.
6610
20c6f1e1
YQ
66112014-08-09 Yao Qi <yao@codesourcery.com>
6612
6613 * gdb.base/display.exp: Invoke is_address_zero_readable.
6614 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6615 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6616 * gdb.base/hbreak-unmapped.exp: Return if
6617 is_address_zero_readable returns true.
6618 * gdb.base/signest.exp: Likewise.
6619 * gdb.base/signull.exp: Likewise.
6620 * gdb.base/sigbpt.exp: Likewise.
6621 * gdb.guile/scm-disasm.exp: Do the test if
6622 is_address_zero_readable returns false.
6623 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6624 * gdb.python/py-arch.exp: Likewise.
6625 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6626 * lib/gdb.exp (is_address_zero_readable): New proc.
6627
5792e8e3
YQ
66282014-08-09 Yao Qi <yao@codesourcery.com>
6629
6630 PR testsuite/13443
6631 * gdb.mi/mi-var-display.exp: Make test messages unique.
6632
3cecbbbe
TT
66332014-08-04 Tom Tromey <tromey@redhat.com>
6634
6635 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
6636 target 0".
6637
00b51ff5
TT
66382014-08-04 Tom Tromey <tromey@redhat.com>
6639
6640 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6641 "target_resume".
6642
6908c509
JB
66432014-08-01 Joel Brobecker <brobecker@adacore.com>
6644
6645 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6646 inner_vla_struct_object_size.
6647 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6648 as xfail.
6649
cc6563d2
PA
66502014-07-30 Pedro Alves <palves@redhat.com>
6651
6652 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6653 comment.
6654
7e09a223
YQ
66552014-07-29 Yao Qi <yao@codesourcery.com>
6656
6657 PR gdb/17206
6658 * gdb.base/until-nodebug.exp: New.
6659
7ebdbe92
DE
66602014-07-28 Doug Evans <xdje42@gmail.com>
6661
6662 PR guile/17203
6663 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6664 previously existing parameter, and previously ambiguously spelled
6665 parameter.
6666
fdb1adc6
WN
66672014-07-28 Will Newton <will.newton@linaro.org>
6668
6669 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6670
186fcde0
DE
66712014-07-26 Ludovic Courtès <ludo@gnu.org>
6672 Doug Evans <xdje42@gmail.com>
6673
6674 PR guile/17146
6675 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6676
70509625
PA
66772014-07-25 Pedro Alves <palves@redhat.com>
6678
6679 * gdb.threads/signal-command-handle-nopass.c: New file.
6680 * gdb.threads/signal-command-handle-nopass.exp: New file.
6681 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6682 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6683 * gdb.threads/signal-delivered-right-thread.c: New file.
6684 * gdb.threads/signal-delivered-right-thread.exp: New file.
6685
c3f814a1
PA
66862014-07-25 Pedro Alves <palves@redhat.com>
6687
6688 * gdb.base/double-prompt-target-event-error.exp
6689 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6690 match.
6691 (cancel_pagination_in_target_event): Rework double prompt
6692 detection.
6693 * gdb.base/paginate-after-ctrl-c-running.exp
6694 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6695 <return>' match.
6696 * gdb.base/paginate-bg-execution.exp
6697 (test_bg_execution_pagination_return)
6698 (test_bg_execution_pagination_cancel): Remove '-notransfer
6699 <return>' matches.
6700 * gdb.base/paginate-execution-startup.exp
6701 (test_fg_execution_pagination_return)
6702 (test_fg_execution_pagination_cancel): Remove '-notransfer
6703 <return>' matches.
6704 * gdb.base/paginate-inferior-exit.exp
6705 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6706 match.
6707 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6708 * lib/gdb.exp (pagination_prompt): Run text through
6709 string_to_regexp.
6710 (gdb_test_multiple): Match $pagination_prompt instead of
6711 "<return>".
6712 (string_to_regexp): Move to lib/gdb-utils.exp.
6713
e214cf6c
JK
67142014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6715
6716 * gdb.arch/amd64-entry-value-paramref.S: New file.
6717 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6718 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6719 * gdb.arch/amd64-optimout-repeat.S: New file.
6720 * gdb.arch/amd64-optimout-repeat.c: New file.
6721 * gdb.arch/amd64-optimout-repeat.exp: New file.
6722
17d0c5c8
JK
67232014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6724
6725 PR gdb/17170
6726 * gdb.base/statistics.exp: New file.
6727
b8b8facf
DE
67282014-07-17 Doug Evans <dje@google.com>
6729
74b49205 6730 PR gdb/17170
b8b8facf
DE
6731 * gdb.base/maint.exp: Update testing of per-command stats.
6732
1b5d0ab3
PA
67332014-07-16 Pedro Alves <palves@redhat.com>
6734
6735 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6736 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6737 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6738 (tfile_write_buf): New functions.
6739 (add_memory_block): Rewrite using the above.
6740 (adjust_function_address): New function.
6741 (FUNCTION_ADDRESS): New macro.
6742 (write_basic_trace_file): Remove short_x local, and use
6743 tfile_write_16. Change type of func_addr local to unsigned long
6744 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6745 here. Cast argument of add_memory_block to char pointer.
6746 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6747 (main): Remove parameters.
6748 * gdb.trace/tfile.exp: Remove nowarnings.
6749
4d974e88
SM
67502014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6751
6752 * gdb.base/debug-expr.exp: Test string evaluation with
6753 "debug expression" on.
6754
41e99568
PA
67552014-07-15 Pedro Alves <palves@redhat.com>
6756
6757 * gdb.base/reread.exp: Use clean_restart.
6758
487d9753
PL
67592014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6760
6761 * gdb.arch/avr-flash-qualifer.c: New.
6762 * gdb.arch/avr-flash-qualifer.exp: New.
6763
cc1c52ad
PA
67642014-07-14 Pedro Alves <palves@redhat.com>
6765
6766 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6767 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6768
1e973570
PA
67692014-07-14 Pedro Alves <palves@redhat.com>
6770
6771 * gdb.base/double-prompt-target-event-error.c: New file.
6772 * gdb.base/double-prompt-target-event-error.exp: New file.
6773
93d6eb10
PA
67742014-07-14 Pedro Alves <palves@redhat.com>
6775
6776 PR gdb/17072
6777 * gdb.base/paginate-inferior-exit.c: New file.
6778 * gdb.base/paginate-inferior-exit.exp: New file.
6779
0017922d
PA
67802014-07-14 Pedro Alves <palves@redhat.com>
6781
6782 PR gdb/17072
6783 * gdb.base/paginate-bg-execution.c: New file.
6784 * gdb.base/paginate-bg-execution.exp: New file.
6785
94696ad3
PA
67862014-07-14 Pedro Alves <palves@redhat.com>
6787
6788 PR gdb/17072
6789 * gdb.base/paginate-execution-startup.c: New file.
6790 * gdb.base/paginate-execution-startup.exp: New file.
6791 * lib/gdb.exp (pagination_prompt): New global.
6792 (default_gdb_spawn): New procedure, factored out from
6793 default_gdb_spawn.
6794 (default_gdb_start): Adjust to call default_gdb_spawn.
6795 (gdb_spawn): New procedure.
6796
bd293940
PA
67972014-07-14 Pedro Alves <palves@redhat.com>
6798
6799 * lib/gdb.exp (gdb_assert): New procedure.
6800 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6801
c933f875
PA
68022014-07-14 Pedro Alves <palves@redhat.com>
6803
6804 * gdb.base/execution-termios.c: New file.
6805 * gdb.base/execution-termios.exp: New file.
6806
d98b7a16
TT
68072014-07-14 Tom Tromey <tromey@redhat.com>
6808
6809 * gdb.cp/vla-cxx.cc: New file.
6810 * gdb.cp/vla-cxx.exp: New file.
6811
548740d6
TT
68122014-07-14 Tom Tromey <tromey@redhat.com>
6813
6814 * gdb.reverse/rerun-prec.c: New file.
6815 * gdb.reverse/rerun-prec.exp: New file.
6816
a25eb028
MR
68172014-07-12 Maciej W. Rozycki <macro@mips.com>
6818 Maciej W. Rozycki <macro@codesourcery.com>
6819
6820 * lib/gdb-utils.exp: New file.
6821 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6822 inline `gdb_init_command' processing.
6823 (gdb_start_cmd): Likewise.
6824 * lib/mi-support.exp (mi_run_cmd): Likewise.
6825 * README: Document `gdb_init_command' and `gdb_init_commands'.
6826
218c2655
JK
68272014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6828
6829 Fix false FAIL running under a very long directory name.
6830 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6831 and "set print elements 10000". Twice.
6832
5401fde3
YQ
68332014-07-11 Yao Qi <yao@codesourcery.com>
6834
6835 * gdb.base/exprs.exp: "set print symbol off".
6836
e76126e8
PA
68372014-07-11 Pedro Alves <palves@redhat.com>
6838
6839 * gdb.threads/kill.c: New file.
6840 * gdb.threads/kill.exp: New file.
6841
2d6f0de6
YQ
68422014-07-10 Yao Qi <yao@codesourcery.com>
6843
6844 * gdb.trace/tfile.c (write_basic_trace_file)
6845 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6846 address written to trace file.
6847
7180e04a
PA
68482014-07-09 Pedro Alves <palves@redhat.com>
6849
6850 * gdb.base/attach-wait-input.exp: New file.
6851 * gdb.base/attach-wait-input.c: New file.
6852
9a9a7608
AB
68532014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6854
6855 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6856 setting up test structures.
6857 (main): Call new test function.
6858 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6859 test function, continue into test function and walk test
6860 structures.
6861
161ac41e
YQ
68622014-07-02 Yao Qi <yao@codesourcery.com>
6863
6864 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6865 'bar_start' at the beginning of functions 'foo' and 'bar'
6866 respectively.
6867 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6868 instead of 'foo' and 'bar'.
6869
1f267ae3
MM
68702014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6871
6872 * gdb.btrace/segv.exp: New.
6873 * gdb.btrace/segv.c: New.
6874
2b239efb
LM
68752014-07-02 Luis Machado <lgustavo@codesourcery.com>
6876
6877 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6878 instruction.
6879
cf363f18
MW
68802014-06-30 Mark Wielaard <mjw@redhat.com>
6881
6882 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6883 vulture, vilify, villar): New volatile array constants.
6884 (vindictive, vegetation): New const volatile array constants.
6885 * gdb.base/volatile.exp: Test volatile and const volatile array
6886 types.
6887
aebf9d24
AA
68882014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6889
6890 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6891 target lacks support for awatch, rwatch, or hbreak.
6892
b67a2c6f
YQ
68932014-06-27 Yao Qi <yao@codesourcery.com>
6894
6895 * gdb.multi/dummy-frame-restore.exp: New.
6896 * gdb.multi/dummy-frame-restore.c: New.
6897
aef92902
MM
68982014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6899
6900 * gdb.btrace/gcore.exp: New.
6901
8e9db26e
PA
69022014-06-23 Pedro Alves <palves@redhat.com>
6903
6904 * gdb.base/watchpoint-reuse-slot.c: New file.
6905 * gdb.base/watchpoint-reuse-slot.exp: New file.
6906
70afc5b7
SC
69072014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6908
6909 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6910 progspace's filename in 'info', 'enable' and 'disable' command
6911 tests.
6912
b972bd9c
JK
69132014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6914
6915 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6916 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6917 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6918
125f8a3d
GB
69192014-06-20 Gary Benson <gbenson@redhat.com>
6920
6921 * gdb.arch/i386-avx.exp: Fix include file location.
6922 * gdb.arch/i386-sse.exp: Likewise.
6923
3ed9baed
IB
69242014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6925
6926 * gdb.dlang/expression.exp: New file.
6927
034f788c
PA
69282014-06-19 Pedro Alves <palves@redhat.com>
6929
6930 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6931 out from ...
6932 (top level): ... here. Iterate running tests under different
6933 scheduler-locking settings.
6934
45371d0c
LM
69352014-06-18 Luis Machado <lgustavo@codesourcery.com>
6936
6937 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6938 to DW_FORM_addr and use non-zero addresses.
6939
5d376983
SC
69402014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6941
6942 PR gdb/17017
6943 * gdb.python/py-xmethods.cc: Add global function call counters and
6944 increment them in their respective functions. Remove "cout"
6945 statements.
6946 * gdb.python/py-xmethods.exp: Make tests check the global function
6947 call counters instead of depending on inferior IO.
6948
a1aa2221
LM
69492014-06-18 Don Breazeal <donb@codesourcery.com>
6950
6951 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6952 Deleted procedure.
6953 (explicit_fork_parent_follow): Deleted procedure.
6954 (explicit_fork_child_follow): Deleted procedure.
6955 (test_follow_fork): New procedure.
6956 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 6957 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
6958 procedure calls.
6959
0fc05997
YQ
69602014-06-17 Yao Qi <yao@codesourcery.com>
6961
6962 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6963 CP1252.
6964
70795c52
LM
69652014-06-17 Luis Machado <lgustavo@codesourcery.com>
6966
6967 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6968 Initialize ptr and S explicitly.
6969 (skip_type_update_when_not_use_rtti_test): Likewise.
6970
6be47f0c
KS
69712014-06-16 Keith Seitz <keiths@redhat.com>
6972
6973 PR mi/15863
6974 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6975 the inferior is started.
6976
d03de421
PA
69772014-06-16 Pedro Alves <palves@redhat.com>
6978
6979 * gdb.base/break-main-file-remove-fail.c: New file.
6980 * gdb.base/break-main-file-remove-fail.exp: New file.
6981 * gdb.base/break-unload-file.exp: Use build_executable instead of
6982 prepare_for_testing.
6983 (test_break): New parameter "initial_load". Handle it.
6984 (top level): Add initial_load cmdline/file axis.
6985
f9579b99
TT
69862014-06-12 Tom Tromey <tromey@redhat.com>
6987
6988 * gdb.base/completion.exp: Don't use directory name in test.
6989
3657956b
GB
69902014-06-09 Gary Benson <gbenson@redhat.com>
6991
6992 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6993 separate the always-available ANSI-standard signals from the
6994 signals that require checking.
6995 (main): Likewise.
6996 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6997 Likewise.
6998 (main): Likewise.
6999
4186eb54
KS
70002014-06-07 Keith Seitz <keiths@redhat.com>
7001
7002 Revert:
7003 PR c++/16253
7004 * gdb.cp/var-tag.cc: New file.
7005 * gdb.cp/var-tag.exp: New file.
7006 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7007 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7008 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7009 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7010
25326a28 70112014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
7012
7013 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7014
829155c9
PA
70152014-06-06 Pedro Alves <palves@redhat.com>
7016
7017 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7018 in target debug output instead of looking at RSP packets,
7019 disabling the test on any target that uses hardware stepping.
7020 Update comments.
7021
61c8d22e
PA
70222014-06-06 Pedro Alves <palves@redhat.com>
7023
7024 * gdb.base/break-unload-file.exp: Fix typo.
7025
d9a47287
YQ
70262014-06-06 Yao Qi <yao@codesourcery.com>
7027
7028 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7029 from "jit_function" to "^jit_function".
7030
e5e01dbf
YQ
70312014-06-06 Yao Qi <yao@codesourcery.com>
7032
7033 * gdb.base/async.c (foo): Add one statement.
7034 * gdb.base/async.exp: Get the next instruction address and
7035 match the output of "nexti" by instruction address. Match
7036 the hex address in the output of "finish".
7037
73ba372c
GB
70382014-06-06 Gary Benson <gbenson@redhat.com>
7039
7040 * gdb.base/call-signals.c: Remove preprocessor conditionals
7041 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7042 SIGSEGV and SIGTERM.
7043 * gdb.base/sigall.c: Likewise.
7044 * gdb.base/unwindonsignal.c: Likewise.
7045 * gdb.reverse/sigall-reverse.c: Likewise.
7046
831517df
YQ
70472014-06-06 Yao Qi <yao@codesourcery.com>
7048
7049 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7050 readable, skip the test.
7051
b8b91e98
YQ
70522014-06-06 Yao Qi <yao@codesourcery.com>
7053
7054 * gdb.threads/staticthreads.c (thread_function): Move the line
7055 setting breakpoint on forward.
7056 * gdb.threads/staticthreads.exp: Update comments.
7057
fb934770
LC
70582014-06-05 Ludovic Courtès <ludo@gnu.org>
7059
7060 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7061 "history-append! type error".
7062
6ef284bd
SM
70632014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7064
7065 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7066 erroneous dprintf expected input.
7067
a872e241
DE
70682014-06-04 Doug Evans <xdje42@gmail.com>
7069
7070 * gdb.guile/scm-generics.exp: Delete.
7071
16f691fb
DE
70722014-06-04 Doug Evans <xdje42@gmail.com>
7073
7074 * gdb.guile/scm-breakpoint.exp: Update.
7075 Add tests for breakpoint registration.
7076
012370f6
TT
70772014-06-04 Tom Tromey <tromey@redhat.com>
7078
7079 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7080 VLA-in-union.
7081 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7082 inner_vla_struct, vla_union types. Initialize objects of those
7083 types and compute their sizes.
7084
9f5a4cef
HZ
70852014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7086 Hui Zhu <hui@codesourcery.com>
7087
7088 * gdb.base/fileio.exp: Add test for shell not available as well as
7089 available.
7090 * gdb.base/fileio.c (test_system): Check for shell twice.
7091
90a45c4d
YQ
70922014-06-04 Yao Qi <yao@codesourcery.com>
7093
7094 * gdb.base/auto-connect-native-target.exp: Remove redundant
7095 space from the regexp pattern.
7096
70017e41
YQ
70972014-06-04 Yao Qi <yao@codesourcery.com>
7098
7099 * gdb.base/default.exp: Replace "child" with "native" in
7100 regexp pattern.
7101
883964a7
SC
71022014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7103
7104 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7105 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7106 * gdb.python/py-xmethods.py: Python script supporting the
7107 new testcase and tests.
7108
ef370185
JB
71092014-06-03 Joel Brobecker <brobecker@adacore.com>
7110 Pedro Alves <palves@redhat.com>
7111
7112 PR breakpoints/17000
7113 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7114 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7115
1e2ccb61
BM
71162014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7117
7118 * gdb.base/subst.exp: Add tests to verify partial path matching
7119 output.
7120
c6ec5ab2
PA
71212014-06-03 Pedro Alves <palves@redhat.com>
7122
7123 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7124 target that doesn't use software single-stepping.
7125
835c559f
PA
71262014-06-03 Pedro Alves <palves@redhat.com>
7127
7128 PR breakpoints/17000
7129 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7130 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7131
06eb1586
DE
71322014-06-02 Doug Evans <xdje42@gmail.com>
7133
7134 * gdb.guile/scm-parameter.exp: New file.
7135
e698b8c4
DE
71362014-06-02 Doug Evans <xdje42@gmail.com>
7137
7138 * gdb.guile/scm-cmd.c: New file.
7139 * gdb.guile/scm-cmd.exp: New file.
7140
ded03782
DE
71412014-06-02 Doug Evans <xdje42@gmail.com>
7142
7143 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7144 pretty-printer lookup.
7145 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7146 (make-pp_s-printer): Call it.
7147 (make-pretty-printer-from-dict): New function.
7148 (lookup-pretty-printer-maker-from-dict): New function.
7149 (*pretty-printer*): Simplify.
7150 (make-objfile-pp_s-printer): New function.
7151 (install-objfile-pretty-printers!): New function.
7152 (make-progspace-pp_s-printer): New function.
7153 (install-progspace-pretty-printers!): New function.
7154 * gdb.guile/scm-progspace.c: New file.
7155 * gdb.guile/scm-progspace.exp: New file.
7156
41fac0cf
PA
71572014-06-02 Pedro Alves <palves@redhat.com>
7158
7159 * gdb.base/dprintf-bp-same-addr.c: New file.
7160 * gdb.base/dprintf-bp-same-addr.exp: New file.
7161
96ae5695
EBM
71622014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7163
7164 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7165 * gdb.arch/powerpc-power.s: Likewise.
7166
da02b3a8
JB
71672014-06-02 Joel Brobecker <brobecker@adacore.com>
7168
7169 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7170
c72b2e7b
YQ
71712014-06-01 Yao Qi <yao@codesourcery.com>
7172
7173 * gdb.base/watchpoint.exp (test_watch_location): Check null
7174 pointer can be dereferenced. If not, do the test, otherwise
7175 skip it.
7176
53e8a631
AB
71772014-05-30 Andrew Burgess <aburgess@broadcom.com>
7178
7179 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7180 results.
7181 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7182
938f0e2f
AB
71832014-05-30 Andrew Burgess <aburgess@broadcom.com>
7184
7185 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7186 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7187 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7188 * gdb.arch/amd64-invalid-stack-top.c: New file.
7189 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7190
9ba6657a
PA
71912014-05-30 Pedro Alves <palves@redhat.com>
7192
7193 PR breakpoints/17000
7194 * gdb.base/sss-bp-on-user-bp.c: New file.
7195 * gdb.base/sss-bp-on-user-bp.exp: New file.
7196
522c09bf
DB
71972014-05-30 David Blaikie <dblaikie@gmail.com>
7198
7199 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7200 gnu_inline semantics via attribute.
7201 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7202 source explicitly specifies the required semantics.
7203
bf4ef81e
MR
72042014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7205
7206 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7207
329ea579
PA
72082014-05-29 Pedro Alves <palves@redhat.com>
7209 Tom Tromey <tromey@redhat.com>
7210
7211 * gdb.base/async-shell.exp: Don't enable target-async.
7212 * gdb.base/async.exp
7213 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7214 parameter. Adjust.
7215 (top level): Don't test with "target-async".
7216 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7217 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7218 * gdb.base/inferior-died.exp: Don't enable target-async.
7219 * gdb.base/interrupt-noterm.exp: Likewise.
7220 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7221 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7222 * gdb.mi/mi-nonstop.exp: Likewise.
7223 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7224 * gdb.mi/mi-nsintrall.exp: Likewise.
7225 * gdb.mi/mi-nsmoribund.exp: Likewise.
7226 * gdb.mi/mi-nsthrexec.exp: Likewise.
7227 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7228 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7229 * gdb.python/py-evsignal.exp: Don't enable target-async.
7230 * gdb.python/py-evthreads.exp: Likewise.
7231 * gdb.python/py-prompt.exp: Likewise.
7232 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7233 * gdb.server/solib-list.exp: Don't enable target-async.
7234 * gdb.threads/thread-specific-bp.exp: Likewise.
7235 * lib/mi-support.exp: Adjust to use mi-async.
7236
fd664c91
PA
72372014-05-29 Pedro Alves <palves@redhat.com>
7238
7239 PR gdb/13860
7240 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7241 reason, even in sync mode.
7242
251bde03
PA
72432014-05-29 Pedro Alves <palves@redhat.com>
7244 Hui Zhu <hui@codesourcery.com>
7245
7246 PR PR15693
7247 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7248 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7249 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7250 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7251
7f3c0343
JB
72522014-05-28 Joel Brobecker <brobecker@adacore.com>
7253
7254 * config/monitor.exp (gdb_target_monitor): Replace use of
7255 "set remotebaud" by "set serial baud".
7256
b2715b27
AW
72572014-05-26 Andy Wingo <wingo@igalia.com>
7258
7259 * gdb.guile/scm-breakpoint.exp:
7260 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7261 properties instead of gdb-object-properties.
7262
498a4489
YQ
72632014-05-26 Yao Qi <yao@codesourcery.com>
7264
7265 * gdb.server/no-thread-db.exp: Specify source file name
7266 explicitly when setting a breakpoint.
7267
589fdceb
MM
72682014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7269
7270 * gdb.btrace/vdso.c: New.
7271 * gdb.btrace/vdso.exp: New.
7272
e9089e05
MM
72732014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7274
7275 * gdb.base/gcore.exp (capture_command_output): Move ...
7276 * lib/gdb.exp (capture_command_output): ... here.
7277
67b5c0c1
MM
72782014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7279
7280 * gdb.btrace/data.exp: Test memory access during btrace replay.
7281
a2199296
SM
72822014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7283
7284 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7285
17b2616c
PA
72862014-05-21 Pedro Alves <palves@redhat.com>
7287
7288 PR gdb/13860
7289 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7290 (top level): Test that output related to execution commands is
7291 sent to the console with CLI commands, but not with MI commands.
7292 Test that breakpoint events are always mirrored to the console.
7293 Also expect the new source line to be output after a "next" in
7294 async mode too. Make it a pass/fail test.
7295 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7296 output.
7297 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7298
5166082f
PA
72992014-05-21 Pedro Alves <palves@redhat.com>
7300
7301 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7302 Use them to test variations of "list" after reaching a breakpoint.
7303 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7304 Test "list" with listsize 10 after reaching a breakpoint.
7305 * gdb.python/python.exp (decode_line current location line
7306 number): Adjust expected line number.
7307
2f25d70f
SM
73082014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7309
7310 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7311 behavior for $args, pass it directly to "run".
7312
ff604a67
MR
73132014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7314
7315 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7316 30000 to 65536.
7317
6a3cb8e8
PA
73182014-05-21 Pedro Alves <palves@redhat.com>
7319
7320 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7321 auto-connect-native-target off".
7322 * gdb.base/auto-connect-native-target.c: New file.
7323 * gdb.base/auto-connect-native-target.exp: New file.
7324
4ebfc96e
PA
73252014-05-21 Pedro Alves <palves@redhat.com>
7326
7327 * gdb.base/default.exp: Test "target native" instead of "target
7328 child".
7329
36d46afb
MW
73302014-05-21 Mark Wielaard <mjw@redhat.com>
7331
7332 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7333
5876f503
JK
73342014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7335
7336 Fix TLS access for -static -pthread.
7337 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7338 <HAVE_TLS> (thread_function, main): Initialize it.
7339 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7340 Add clean_restart.
7341 <$have_tls != "">: Check TLSVAR.
7342
0256a6ac
PA
73432014-05-21 Pedro Alves <palves@redhat.com>
7344
7345 * gdb.base/dcache-line-read-error.c: New.
7346 * gdb.base/dcache-line-read-error.exp: New.
7347
936d2992
PA
73482014-05-20 Pedro Alves <palves@redhat.com>
7349
7350 * gdb.base/compare-sections.c: New file.
7351 * gdb.base/compare-sections.exp: New file.
7352
802e8e6d
PA
73532014-05-20 Pedro Alves <palves@redhat.com>
7354
7355 * gdb.base/break-idempotent.c: New file.
7356 * gdb.base/break-idempotent.exp: New file.
7357
e59fa00f
MM
73582014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7359
7360 * gdb.btrace/nohist.exp: New.
7361
8b696e31
YQ
73622014-05-20 Yao Qi <yao@codesourcery.com>
7363
7364 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7365 gdb.reverse directory and gdb_reverse_timeout exists in board
7366 setting.
7367 * README: Document gdb_reverse_timeout.
7368
73c9764f
YQ
73692014-05-20 Yao Qi <yao@codesourcery.com>
7370
7371 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7372 'test_file_name'. Treat args as a string instead of a list.
7373 (gdb_init): Rename argument 'args' by 'test_file_name'.
7374
f1f4348a
JK
73752014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7376
7377 * gdb.arch/powerpc-power.exp: New file.
7378 * gdb.arch/powerpc-power.s: New file.
7379
0dbe70ce
DE
73802014-05-16 Doug Evans <dje@google.com>
7381
7382 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
7383 * gdb.base/completion.exp: Check that all expected files exist
7384 before doing file completion.
0dbe70ce 7385
8d551b02
DE
73862014-05-16 Doug Evans <dje@google.com>
7387
7388 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7389 Update.
7390 (do_syscall_tests_without_xml): Update.
7391
73eb7709
PA
73922014-05-16 Pedro Alves <palves@redhat.com>
7393
7394 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7395 instead of "unknown output after running".
7396
3fae92fc
YQ
73972014-05-16 Yao Qi <yao@codesourcery.com>
7398
7399 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7400 file1.txt from host at the end.
7401 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7402
c2b2ccc5
DE
74032014-05-15 Doug Evans <dje@google.com>
7404
7405 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7406 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7407 loading file. Add test for TU lookup.
7408
8c217a4b
SM
74092014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7410
7411 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7412 calling "-exec-arguments" or "set args" before running the
7413 inferior.
7414
3deb39c6
SM
74152014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7416
7417 * lib/mi-support.exp (mi_expect_stop): Expect message for
7418 inferiors that exit with non-zero exit code.
7419
71a79f8c
YQ
74202014-05-14 Yao Qi <yao@codesourcery.com>
7421
7422 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7423 match absolute path on remote host.
7424 (test_file_list_exec_source_files): Remove "/" from the
7425 pattern.
7426
f23fcd46
YQ
74272014-05-14 Yao Qi <yao@codesourcery.com>
7428
7429 * boards/local-remote-host-notty.exp (${board}_file): New
7430 proc.
7431
9404b58f
KM
74322014-05-07 Kyle McMartin <kyle@redhat.com>
7433
7434 Pushed by Joel Brobecker <brobecker@adacore.com>.
7435 * gdb.arch/aarch64-atomic-inst.c: New file.
7436 * gdb.arch/aarch64-atomic-inst.exp: New file.
7437
5e45f04c
YQ
74382014-05-07 Yao Qi <yao@codesourcery.com>
7439
7440 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7441 in current context" too.
7442
c888a17d
KS
74432014-05-05 Keith Seitz <keiths@redhat.com>
7444
7445 * gdb.linespec/ls-dollar.exp: Add test for linespec
7446 file:convenience_variable.
7447
290a839c
YQ
74482014-05-05 Yao Qi <yao@codesourcery.com>
7449
7450 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7451 traceframes into tfile and ctf trace files. Read data from
7452 trace file and test collected data.
7453 (gdb_collect_locals_test): Likewise.
7454 (gdb_unavailable_registers_test): Likewise.
7455 (gdb_unavailable_floats): Likewise.
7456 (gdb_collect_globals_test): Likewise.
7457 (top-level): Append "ctf" to trace_file_targets if GDB
7458 supports.
7459
b5262cd0
YQ
74602014-05-05 Yao Qi <yao@codesourcery.com>
7461
7462 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7463 code to ...
7464 (gdb_collect_args_test_1): ... it. New proc.
7465 (gdb_collect_locals_test): Move some code to ...
7466 (gdb_collect_locals_test_1): ... it. New proc.
7467 (gdb_unavailable_registers_test): Move some code to ...
7468 (gdb_unavailable_registers_test_1): ... it. New proc.
7469 (gdb_unavailable_floats): Move some code to ...
7470 (gdb_unavailable_floats_1): ... it. New proc.
7471
30a1e6cc
SDJ
74722014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7473
7474 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7475 probes to test for bitness recognition.
7476 * gdb.arch/amd64-stap-optional-prefix.exp
7477 (test_probe_value_without_reg): New procedure.
7478 Add code to test for different kinds of bitness.
7479
f33da99a
SDJ
74802014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7481
7482 PR breakpoints/16889
7483 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7484 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7485
5b80f00d
PA
74862014-05-01 Pedro Alves <palves@redhat.com>
7487
7488 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7489 gdb_file_cmd if no file is specified.
7490 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7491 last_loaded_file to set the remote exec-file.
7492
f8c2a73c
PA
74932014-05-01 Pedro Alves <palves@redhat.com>
7494
7495 * boards/local-remote-host.exp: New file.
7496
be6e8ac7
PA
74972014-05-01 Pedro Alves <palves@redhat.com>
7498
7499 * boards/local-remote-host.exp: Rename to ...
7500 * boards/local-remote-host-notty.exp: ... this.
7501
cac0dc8f
JB
75022014-04-28 Joel Brobecker <brobecker@adacore.com>
7503
7504 * gdb.ada/dyn_arrayidx: New testcase.
7505
9730e6cc
YQ
75062014-04-26 Yao Qi <yao@codesourcery.com>
7507
7508 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7509 and compute the length of function main. Save it in
7510 $main_length.
7511 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7512 (top-level): Use gdb_compile to compile objects into
7513 executable and restart GDB. Remove invocation to
7514 prepare_for_testing.
7515
7ae1a6a6
PA
75162014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7517 Pedro Alves <palves@redhat.com>
7518
7519 PR server/16255
7520 * gdb.multi/multi-attach.c: New file.
7521 * gdb.multi/multi-attach.exp: New file.
7522
4082afcc
PA
75232014-04-25 Pedro Alves <palves@redhat.com>
7524
7525 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7526 user.
7527 (top level): Test that "set remote conditional-breakpoints-packet
7528 off" works as intended.
7529 * gdb.base/dprintf.exp: Test that "set remote
7530 breakpoint-commands-packet off" works as intended.
7531 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7532 New function.
7533 (top level): Call it.
7534 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7535 remote fast-tracepoints-packet off" works as intended.
7536 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7537 * lib/gdb.exp (gdb_is_target_remote): ... here.
7538
2abc3f8d
DB
75392014-04-24 David Blaikie <dblaikie@gmail.com>
7540
7541 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7542 ensure clang would not discard them.
7543 * gdb.base/gdbvars.c: Ditto.
7544 * gdb.base/memattr.c: Ditto.
7545 * gdb.base/whatis.c: Ditto.
7546 * gdb.python/py-prettyprint.c: Ditto.
7547 * gdb.trace/actions.c: Ditto.
7548 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7549 ensure clang would not discard it.
7550
bfd39632
DB
75512014-04-24 David Blaikie <dblaikie@gmail.com>
7552
7553 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7554 clang to emit the full definition of type required by the test
7555 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7556
22842ff6
DB
75572014-04-24 David Blaikie <dblaikie@gmail.com>
7558
7559 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7560 coax Clang into emitting the definition of the type.
7561 * gdb.cp/pr10728-x.h (y): Ditto.
7562 * gdb.cp/pr10728-y.cc (y): Ditto.
7563
c2e827ad
DB
75642014-04-24 David Blaikie <dblaikie@gmail.com>
7565
7566 * gdb.base/label.exp: XFAIL label related tests under Clang.
7567 * gdb.cp/cplabel.exp: Ditto.
7568 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7569 under Clang those using labels.
7570
4c2d33e7
YQ
75712014-04-25 Yao Qi <yao@codesourcery.com>
7572
7573 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7574 double_label.
7575 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7576 partial_label and double_label.
7577
56083b99
DB
75782014-04-24 David Blaikie <dblaikie@gmail.com>
7579
7580 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7581
25d4e99d
DB
75822014-04-24 David Blaikie <dblaikie@gmail.com>
7583
7584 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7585 of the function to work across GCC and Clang.
7586 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7587 pointer types (const void ** const V void **).
7588
01f9f808
MS
75892014-04-24 Michael Sturm <michael.sturm@mintel.com>
7590 Walfred Tedeschi <walfred.tedeschi@intel.com>
7591
7592 * Makefile.in (EXECUTABLES): Added i386-avx512.
7593 * gdb.arch/i386-avx512.c: New file.
7594 * gdb.arch/i386-avx512.exp: Likewise.
7595
4b48d439
KS
75962014-04-23 Keith Seitz <keiths@redhat.com>
7597
7598 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7599 (mi_make_breakpoint_table): New procedure.
7600 (mi_create_breakpoint): Use mi_make_breakpoint
7601 and return the result.
7602 (mi_make_breakpoint): New procedure.
7603 (mi_build_kv_pairs): New procedure.
7604
7605 * gdb.mi/mi-break.exp: Remove unused globals,
7606 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7607 All callers updated.
7608 * gdb.mi/mi-dprintf.exp: Use variable to track command
7609 number.
7610 Update all callers of mi_create_breakpoint and use
7611 mi_make_breakpoint_table.
7612 Remove any unused global variables.
7613 * gdb.mi/mi-nonstop.exp: Likewise.
7614 * gdb.mi/mi-nsintrall.exp: Likewise.
7615 * gdb.mi/mi-nsmoribund.exp: Likewise.
7616 * gdb.mi/mi-nsthrexec.exp: Likewise.
7617 * gdb.mi/mi-reverse.exp: Likewise.
7618 * gdb.mi/mi-simplerun.exp: Likewise.
7619 * gdb.mi/mi-stepn.exp: Likewise.
7620 * gdb.mi/mi-syn-frame.exp: Likewise.
7621 * gdb.mi/mi-until.exp: Likewise.
7622 * gdb.mi/mi-var-cp.exp: Likewise.
7623 * gdb.mi/mi-var-display.exp: Likewise.
7624 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7625 * gdb.mi/mi2-var-child.exp: Likewise.
7626 * gdb.mi/mi-vla-c99.exp: Likewise.
7627 * lib/mi-support.exp: Likewise.
7628
7629 From Ian Lance Taylor <iant@cygnus.com>:
7630 * lib/gdb.exp (parse_args): New procedure.
7631
08351840
PA
76322014-04-23 Pedro Alves <palves@redhat.com>
7633
7634 * gdb.base/break-unload-file.c: New file.
7635 * gdb.base/break-unload-file.exp: New file.
7636 * gdb.base/sym-file-lib.c (baz): New function.
7637 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7638 field.
7639 (load): Store the segment's mapped size.
7640 (unload): New function.
7641 (unload_shlib): New function.
7642 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7643 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7644 set a breakpoint at baz, and call it.
7645 * gdb.base/sym-file.exp: New tests for stale breakpoint
7646 instructions.
7647
076855f9
PA
76482014-04-23 Pedro Alves <palves@redhat.com>
7649
7650 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7651 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7652 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7653 * gdb.base/hbreak-unmapped.c: New file.
7654 * gdb.base/hbreak-unmapped.exp: New file.
7655 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7656 * lib/gdb.exp (gdb_is_target_remote): ... here.
7657
483805cf
PA
76582014-04-22 Pedro Alves <palves@redhat.com>
7659
7660 * gdb.base/consecutive-step-over.c: New file.
7661 * gdb.base/consecutive-step-over.exp: New file.
7662
06d97543
PA
76632014-04-22 Pedro Alves <palves@redhat.com>
7664
7665 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7666 instead of send_gdb/gdb_expect.
7667
b4429ea2
YQ
76682014-04-22 Yao Qi <yao@codesourcery.com>
7669
7670 * lib/trace-support.exp (generate_tracefile): New procedure.
7671 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7672 return 0.
7673 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7674 if generate_tracefile returns 1.
7675
51d48146
PA
76762014-04-18 Tom Tromey <palves@redhat.com>
7677 Pedro alves <tromey@redhat.com>
7678
7679 PR backtrace/15558
7680 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7681 with a backtrace limit.
7682 * gdb.python/py-frame-inline.exp: Test running to an inline
7683 function with a backtrace limit, and printing the newest frame.
7684 * gdb.python/py-frame-inline.c (main): Call f.
7685
bd1dce5f
MS
76862014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7687
7688 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7689
40d1a503
MS
76902014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7691
7692 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7693 Drop prefix from unsupported source file path.
7694
389b98f7
YQ
76952014-04-17 Yao Qi <yao@codesourcery.com>
7696
7697 * lib/gdb.exp (with_target_charset): New proc.
7698 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7699 with_target_charset.
7700 (test_print_strings): Likewise.
7701 (test_repeat_bytes): Likewise.
7702 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7703 for some tests.
7704
22869d73
KS
77052014-04-16 Keith Seitz <keiths@redhat.com>
7706
7707 PR gdb/15827
7708 * gdb.dwarf2/corrupt.c: New file.
7709 * gdb.dwarf2/corrupt.exp: New file.
7710
c4f87ca6
KS
77112014-04-16 Keith Seitz <keiths@redhat.com>
7712
7713 PR c++/16597
7714 * gdb.cp/namelessclass.cc: New file.
7715 * gdb.cp/namelessclass.exp: New file.
7716 * gdb.cp/namelessclass.S: New file.
7717
ab19de87
DE
77182014-04-16 Doug Evans <dje@google.com>
7719
7720 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7721 Add comment.
7722 (gdbserver_default_get_comm_port): New function.
7723 (gdbserver_start): Check if board file provided
7724 "gdbserver,get_comm_port" and use it if so.
7725 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7726 (gdb,socketport): Set to "stdio".
7727 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7728 (stdio_gdbserver_template): Delete.
7729 (${board}_get_remote_address): Update.
7730 (${board}_build_remote_cmd): Delete.
7731 (${board}_get_comm_port): New function.
7732 (${board}_spawn): Update.
7733 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7734 Delete.
7735 (${board}_get_remote_address): Update.
7736 (${board}_get_comm_port): New function.
7737
fc98a809
AB
77382014-04-16 Andrew Burgess <aburgess@broadcom.com>
7739
7740 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7741 appearing in any order.
7742
87fd9e6e
DE
77432014-04-15 Doug Evans <dje@google.com>
7744
7745 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7746 uninitialized value of "description".
7747
099fc3ea
KS
77482014-04-15 Keith Seitz <keiths@redhat.com>
7749
7750 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7751 Remove unused globals.
7752 (test_running_the_program): Likewise.
7753 (test_controlled_execution): Likewise.
7754 (test_controlling_breakpoints): Likewise.
7755 (test_program_termination): Likewise.
7756
5da151d4
KS
77572014-04-15 Keith Seitz <keiths@redhat.com>
7758
7759 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7760 unused globals.
7761 (test_rbreak_creation_and_listing): Likewise.
7762 (test_ignore_count): Likewise.
7763 (test_error): Likewise.
7764
35e5d2f0
PA
77652014-04-15 Pedro Alves <palves@redhat.com>
7766
7767 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7768 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7769 sym-file-loader.c.
7770 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7771 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7772 to sym-file-loader.c.
7773 (struct library): Forward declare.
7774 (load_shlib, lookup_function): Change prototypes.
7775 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7776 (translate_offset): Remove declarations.
7777 (get_text_addr): New declaration.
7778 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7779 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7780 sym-file-loader.h.
7781 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7782 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7783 here from sym-file-loader.h.
7784 (struct library): New structure.
7785 (load_shlib, lookup_function): Change prototypes and adjust to
7786 work with a struct library.
7787 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7788 (translate_offset): Make static.
7789 (get_text_addr): New function.
7790 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7791
eb4c1710
PA
77922014-04-15 Pedro Alves <palves@redhat.com>
7793
7794 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7795
2d1baf52
PA
77962014-04-15 Pedro Alves <palves@redhat.com>
7797
7798 * gdb.base/sym-file-loader.c: Include <limits.h>.
7799 (SELF_LINK): New define.
7800 (get_origin): New function.
7801 (load_shlib): Use it.
7802 * gdb.base/sym-file.exp: Don't early return if the target is
7803 remote. Use runto_main, and issue fail is that fails. Use
7804 gdb_load_shlibs.
7805 (shlib_name): Delete.
7806 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7807
7dd6df01
PA
78082014-04-15 Pedro Alves <palves@redhat.com>
7809
7810 * gdb.base/sym-file.exp: Remove regex characters from test
7811 message. Don't refer to breakpoint numbers in test messages.
7812
b50c8614
KS
78132014-04-14 Keith Seitz <keiths@redhat.com>
7814
7815 PR c++/16253
7816 * gdb.cp/var-tag.cc: New file.
7817 * gdb.cp/var-tag.exp: New file.
7818 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7819 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7820 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7821 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7822
3d567982
TT
78232014-04-14 Tom Tromey <tromey@redhat.com>
7824
7825 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7826 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7827 type.
7828 * gdb.cp/enum-class.exp: New file.
7829 * gdb.cp/enum-class.cc: New file.
7830
0626fc76
TT
78312014-04-14 Tom Tromey <tromey@redhat.com>
7832
7833 * gdb.dwarf2/enum-type.exp: New file.
7834
dca325b3
SA
78352014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7836
7837 * gdb.mi/mi-vla-c99.exp: New file.
7838 * gdb.mi/vla.c: New file.
7839
5854b38a
SA
78402014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7841
7842 * gdb.base/vla-datatypes.c: New file.
7843 * gdb.base/vla-datatypes.exp: New file.
7844
463bb957
SA
78452014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7846
7847 * gdb.base/vla-ptr.c: New file.
7848 * gdb.base/vla-ptr.exp: New file.
7849
3dd170be
SA
78502014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7851
7852 * gdb.dwarf2/count.exp: New file.
7853
5ecaaa66
SA
78542014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7855
7856 * gdb.base/vla-sideeffect.c: New file.
7857 * gdb.base/vla-sideeffect.exp: New file.
7858
41f1ada5
DB
78592014-04-14 David Blaikie <dblaikie@gmail.com>
7860
7861 * gdb.mi/non-stop.c: Add return value for non-void function return
7862 statement.
7863 * gdb.threads/staticthreads.c: Ditto.
7864
0be03e84
DE
78652014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7866 Doug Evans <xdje42@gmail.com>
7867
7868 * gdb.guile/scm-value.c: Improve test case.
7869 * gdb.guile/scm-value.exp: Add new test.
7870
f180a1fb
DB
78712014-04-11 David Blaikie <dblaikie@gmail.com>
7872
7873 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7874 override Clang's default.
7875
6b662e19
JB
78762014-04-11 Joel Brobecker <brobecker@adacore.com>
7877
7878 Revert the following changes (regressions):
7879
7880 * gdb.base/vla-sideeffect.c: New file.
7881 * gdb.base/vla-sideeffect.exp: New file.
7882
7883 * gdb.dwarf2/count.exp: New file.
7884
7885 * gdb.base/vla-multi.c: New file.
7886 * gdb.base/vla-multi.exp: New file.
7887
7888 * gdb.base/vla-ptr.c: New file.
7889 * gdb.base/vla-ptr.exp: New file.
7890
7891 * gdb.base/vla-datatypes.c: New file.
7892 * gdb.base/vla-datatypes.exp: New file.
7893
7894 * gdb.mi/mi-vla-c99.exp: New file.
7895 * gdb.mi/vla.c: New file.
7896
245a5f0b
KS
78972014-04-11 Keith Seitz <keiths@redhat.com>
7898
7899 PR c++/16675
7900 * gdb.cp/cpsizeof.exp: New file.
7901 * gdb.cp/cpsizeof.cc: New file.
7902
58a84dcf
SA
79032014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7904
191a8a90
JB
7905 * gdb.mi/mi-vla-c99.exp: New file.
7906 * gdb.mi/vla.c: New file.
58a84dcf 7907
c8655f75
SA
79082014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7909
7910 * gdb.base/vla-datatypes.c: New file.
7911 * gdb.base/vla-datatypes.exp: New file.
7912
024e13b4
SA
79132014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7914
7915 * gdb.base/vla-ptr.c: New file.
7916 * gdb.base/vla-ptr.exp: New file.
7917
1a237e0e
SA
79182014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7919
7920 * gdb.base/vla-multi.c: New file.
7921 * gdb.base/vla-multi.exp: New file.
7922
504f3432
SA
79232014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7924
7925 * gdb.dwarf2/count.exp: New file.
7926
3bce8237
SA
79272014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7928
191a8a90
JB
7929 * gdb.base/vla-sideeffect.c: New file.
7930 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 7931
322f9c21
YQ
79322014-04-11 Yao Qi <yao@codesourcery.com>
7933
7934 * gdb.base/completion.exp: Check file exists before running tests
7935 on file completion.
7936
d708bcd1
PA
79372014-04-10 Pedro Alves <palves@redhat.com>
7938
7939 * gdb.base/cond-eval-mode.c: New file.
7940 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7941 prepare_for_testing to build the new file. Check result of
7942 runto_main.
7943 (test_break, test_watch): New procedures.
7944 (top level): Use them.
7945
ae1d2761
PM
79462014-04-08 Pierre Muller <muller@sourceware.org>
7947
7948 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7949 Ctrl-V use for mingw hosts.
7950
7af389b8
SC
79512014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7952
7953 * gdb.python/py-value.c: Improve test case.
7954 * gdb.python/py-value.exp: Add new test.
7955
5e703181
DE
79562014-04-07 David Blaikie <dblaikie@gmail.com>
7957
7958 * lib/compiler.c: Identify the clang compiler.
7959 * lib/compiler.cc: Ditto.
7960
9810b410
YQ
79612014-04-03 Yao Qi <yao@codesourcery.com>
7962
7963 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7964
98d1b8dc
AB
79652014-04-01 Anton Blanchard <anton@samba.org>
7966
7967 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7968 messages unique.
7969
3114cea1
AB
79702014-04-01 Anton Blanchard <anton@samba.org>
7971
7972 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7973 prepare_for_testing.
7974
62f7182c
AB
79752014-04-01 Anton Blanchard <anton@samba.org>
7976
7977 * gdb.arch/ppc64-atomic-inst.c: Remove.
7978 * gdb.arch/ppc64-atomic-inst.S: New file.
7979 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7980
770e7fc7
DE
79812014-03-31 Doug Evans <dje@google.com>
7982
7983 * gdb.base/print-symbol-loading-lib.c: New file.
7984 * gdb.base/print-symbol-loading-main.c: New file.
7985 * gdb.base/print-symbol-loading.exp: New file.
7986
46e2bafa
YQ
79872014-03-31 Yao Qi <yao@codesourcery.com>
7988
7989 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7990
8776cfe9
JB
79912014-03-28 Joel Brobecker <brobecker@adacore.com>
7992
7993 * gdb.ada/mi_dyn_arr: New testcase.
7994
5d1ef361
DE
79952014-03-27 Doug Evans <dje@google.com>
7996
7997 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7998
b5bee914
YQ
79992014-03-27 Yao Qi <yao@codesourcery.com>
8000
8001 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8002 if target is nios2-*-*.
8003
0d4d0e77
YQ
80042014-03-26 Yao Qi <yao@codesourcery.com>
8005
8006 * lib/gdb.exp (readline_is_used): New proc.
8007 * gdb.base/completion.exp: Move tests on command complete up.
8008 Skip the rest of tests if readline is not used.
8009 * gdb.ada/complete.exp: Skp the test if readline is not
8010 used.
8011 * gdb.base/filesym.exp: Likewise.
8012 * gdb.base/macscp.exp: Likewise.
8013 * gdb.base/readline-ask.exp: Likewise.
8014 * gdb.base/readline.exp: Likewise.
8015 * gdb.python/py-cmd.exp: Likewise.
8016 * gdb.trace/tfile.exp: Likewise.
8017
29361eee
YQ
80182014-03-26 Yao Qi <yao@codesourcery.com>
8019
8020 * gdb.base/macscp.exp: Fix code format issues.
8021
bc9a5525
UW
80222014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8023
8024 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8025 * gdb.asm/powerpc64le.inc: New file.
8026
d3839ede
PA
80272014-03-25 Pedro Alves <palves@redhat.com>
8028 Doug Evans <dje@google.com>
8029
8030 * gdb.base/source-execution.c: New file.
8031 * gdb.base/source-execution.exp: New file.
8032 * gdb.base/source-execution.gdb: New file.
8033
01672a57
DE
80342014-03-24 Doug Evans <dje@google.com>
8035
8036 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8037 using fission.
8038
88bbeca9
HZ
80392014-03-24 Hui Zhu <hui@codesourcery.com>
8040 Pedro Alves <palves@redhat.com>
8041
8042 PR breakpoints/16101
8043 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8044 test pass/fail messages. Detect missing support for dprintf when
8045 breakpoints are actually inserted.
8046 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8047 breakpoints are actually inserted.
8048 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8049 fails.
8050
d2348791
JK
80512014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8052
8053 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8054
feef67ab
DE
80552014-03-22 Doug Evans <xdje42@gmail.com>
8056
8057 * gdb.python/python.exp (python not supported): Verify multi-line
8058 python command issues an error.
25d743f9 8059 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 8060 guile command issues an error.
feef67ab 8061
ecebef6a
MR
80622014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8063
8064 * gdb.threads/thread-specific.exp: Handle the lack of usable
8065 $this_breakpoint and $this_thread.
8066
ccdd1909
HZ
80672014-03-21 Hui Zhu <hui@codesourcery.com>
8068
8069 * gdb.base/attach.exp (do_command_attach_tests): New.
8070
beb460e8
PA
80712014-03-20 Tom Tromey <tromey@redhat.com>
8072 Pedro Alves <palves@redhat.com>
8073
8074 PR cli/15718
8075 * gdb.base/condbreak-call-false.c: New file.
8076 * gdb.base/condbreak-call-false.exp: New file.
8077
40acf43a
PA
80782014-03-20 Pedro Alves <palves@redhat.com>
8079
8080 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8081 Delete.
8082 (block_signals, unblock_signals): Delete.
8083 (child_function_2, main): Remove references to deleted variable
8084 and functions.
8085
9f5e1e02
PA
80862014-03-20 Pedro Alves <palves@redhat.com>
8087
8088 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8089 Use pthread_kill to signal thread 2.
8090 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8091 Adjust to make the test send itself a signal rather than using the
8092 host's "kill" command.
8093
99619bea
PA
80942014-03-20 Pedro Alves <palves@redhat.com>
8095
8096 * gdb.threads/multiple-step-overs.c: New file.
8097 * gdb.threads/multiple-step-overs.exp: New file.
8098 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8099 Adjust expected infrun debug output.
8100
2adfaa28
PA
81012014-03-20 Pedro Alves <palves@redhat.com>
8102
8103 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8104 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8105
31e77af2
PA
81062014-03-20 Pedro Alves <palves@redhat.com>
8107
8108 PR breakpoints/7143
8109 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8110 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8111 of gdb_test_multiple.
8112 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8113 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8114
b9f437de
PA
81152014-03-20 Pedro Alves <palves@redhat.com>
8116
8117 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8118 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8119
05adc73e
PA
81202014-03-19 Pedro Alves <palves@redhat.com>
8121
8122 * gdb.base/async.exp: Remove early return.
8123
6048b950
PA
81242014-03-19 Pedro Alves <palves@redhat.com>
8125
8126 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8127
8bcfb00a
PA
81282014-03-19 Pedro Alves <palves@redhat.com>
8129
8130 * gdb.base/async.exp (test_background): Expect \r\n after
8131 "completed." in the fail pattern.
8132
884e37dc
PA
81332014-03-19 Pedro Alves <palves@redhat.com>
8134
8135 * gdb.base/async.exp (test_background): New procedure.
8136 Use it for all background execution command tests.
8137
148e57e2
PA
81382014-03-19 Pedro Alves <palves@redhat.com>
8139
8140 * gdb.base/async.exp: Use prepare_for_testing.
8141
f48088c7
PA
81422014-03-19 Pedro Alves <palves@redhat.com>
8143
8144 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8145 the same line.
8146
e2f6c966
PA
81472014-03-19 Pedro Alves <palves@redhat.com>
8148
8149 * gdb.base/async.c (main): Add "jump here" and "until here" line
8150 marker comments.
8151 * gdb.base/async.exp (jump_here): New global.
8152 (jump& test): Use it.
8153 (until_here): New global.
8154 (until& test): Use it.
8155
c30568d4
PA
81562014-03-19 Pedro Alves <palves@redhat.com>
8157
8158 * gdb.base/async.exp: Don't frob gdb_protocol.
8159
0172b6a7
DE
81602014-03-18 Doug Evans <xdje42@gmail.com>
8161
8162 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8163 Fix spelling of exec-done-display.
8164
06c868a8
JK
81652014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8166
8167 PR gdb/15358
8168 * gdb.base/gdb-sigterm.c: New file.
8169 * gdb.base/gdb-sigterm.exp: New file.
8170
0c7e1a46
PA
81712014-03-18 Pedro Alves <palves@redhat.com>
8172
8173 PR gdb/13860
8174 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8175 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8176 solib-event.
8177
f7c77d93
JB
81782014-03-17 Joel Brobecker <brobecker@adacore.com>
8179
8180 * gdb.ada/pckd_arr_ren: New testcase.
8181
5a1e8c7a
DE
81822014-03-13 Doug Evans <xdje42@gmail.com>
8183
8184 PR guile/16612
8185 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8186 collect after discarding symbols.
8187
350e1a76
DE
81882014-03-13 Ludovic Courtès <ludo@gnu.org>
8189 Doug Evans <xdje42@gmail.com>
8190
8191 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8192 to history survives a gc.
8193
a69900ae
PA
81942014-03-13 Pedro Alves <palves@redhat.com>
8195
8196 * gdb.base/default.exp: Don't test "target procfs".
8197
5db9f0bd
PA
81982014-03-13 Pedro Alves <palves@redhat.com>
8199
8200 * gdb.base/default.exp: Update "target child" and "target procfs"
8201 tests to not expect "Unix".
8202
b3ccfe11
TT
82032014-03-12 Tom Tromey <tromey@redhat.com>
8204
8205 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8206 New procs. Add target-async tests.
8207 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8208 Add target-async tests.
8209
646f4417
AA
82102014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8211
8212 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8213 'func_start' and 'func_end' for the beginning and end of the
8214 function code, respectively.
8215 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8216 'func_end' instead of 'func' and 'main'.
8217
288c211f
AA
82182014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8219
8220 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8221 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8222 generate the debug info assembler source.
8223
e0c0f156
AA
82242014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8225
8226 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8227 * gdb.dwarf2/arr-subrange.exp: Likewise.
8228 * gdb.dwarf2/dwz.exp: Likewise.
8229 * gdb.dwarf2/method-ptr.exp: Likewise.
8230 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8231 * gdb.dwarf2/subrange.exp: Likewise.
8232 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8233 * gdb.dwarf2/implptrpiece.exp: Likewise.
8234 * gdb.dwarf2/nostaticblock.exp: Likewise.
8235
0e5c4555
AA
82362014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8237
8238 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8239 directory to absolute path name arguments.
8240
5ec18f2b
JG
82412014-03-10 Joel Brobecker <brobecker@adacore.com>
8242
8243 * gdb.ada/tagged_access: New testcase.
8244
847fc4f2
MM
82452014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8246
8247 * gdb.btrace/data.exp: Update expected output.
8248
cc3da688
YQ
82492014-03-06 Yao Qi <yao@codesourcery.com>
8250
8251 * gdb.trace/pr16508.exp: New file.
8252
0f26cec1
PA
82532014-03-05 Pedro Alves <palves@redhat.com>
8254
8255 PR gdb/16575
8256 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8257 procedure.
8258 (top level): Adjust to use it. Add tests that exercise breakpoint
8259 interaction with the code-cache.
8260
7a5a839f
LC
82612014-02-26 Ludovic Courtès <ludo@gnu.org>
8262
8263 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8264 test for 'history-append!'.
8265
31aa7e4e
JB
82662014-02-26 Joel Brobecker <brobecker@adacore.com>
8267
8268 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8269 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8270 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8271 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8272 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8273 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8274
1b588015
JB
82752014-02-26 Joel Brobecker <brobecker@adacore.com>
8276
8277 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8278 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8279 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8280
55426c9d
JB
82812014-02-26 Joel Brobecker <brobecker@adacore.com>
8282
8283 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8284
dc53a7ad
JB
82852014-02-26 Joel Brobecker <brobecker@adacore.com>
8286
8287 * gdb.dwarf2/arr-stride.c: New file.
8288 * gdb.dwarf2/arr-stride.exp: New file.
8289
12ab52e9
PA
82902014-02-26 Pedro Alves <palves@redhat.com>
8291
8292 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8293 that won't ever trigger. Make sure that GDB reports the correct
8294 breakpoint that caused the stop.
8295
849c862e
JK
82962014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8297
8298 PR gdb/16626
8299 * gdb.base/auto-load-script: New file.
8300 * gdb.base/auto-load.c: New file.
8301 * gdb.base/auto-load.exp: New file.
8302
71b7d793
JK
8303 PR gdb/16626
8304 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8305
e2f0d509
JK
83062014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8307
8308 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8309 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8310
50cc37c8
DE
83112014-02-24 Doug Evans <dje@google.com>
8312
8313 * lib/gdb.exp (run_on_host): Log error output if program fails.
8314
ea4758f2
PA
83152014-02-21 Pedro Alves <palves@redhat.com>
8316
8317 * gdb.threads/step-after-sr-lock.c: Rename to ...
8318 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8319 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8320 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8321 ... this.
8322
d7b30f67
SDJ
83232014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8324
8325 PR tdep/16397
8326 * gdb.arch/amd64-stap-special-operands.exp: New file.
8327 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8328 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8329 * gdb.arch/amd64-stap-triplet.S: Likewise.
8330 * gdb.arch/amd64-stap-triplet.c: Likewise.
8331
83deb43f
JB
83322014-02-20 Joel Brobecker <brobecker@adacore.com>
8333
8334 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8335 in .section pseudo-op.
8336
adde2bff
DE
83372014-02-20 lin zuojian <manjian2006@gmail.com>
8338 Joel Brobecker <brobecker@adacore.com>
8339 Doug Evans <xdje42@gmail.com>
8340
8341 PR symtab/16581
8342 * gdb.dwarf2/dw2-icycle.S: New file.
8343 * gdb.dwarf2/dw2-icycle.c: New file.
8344 * gdb.dwarf2/dw2-icycle.exp: New file.
8345
f7bd0f78
SC
83462014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8347
8348 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8349 operations on gdb.Value objects.
8350 * gdb.python/py-value-cc.exp: Add new test to test operations on
8351 gdb.Value objects.
8352
c17ef0d5
DE
83532014-02-18 Doug Evans <dje@google.com>
8354
8355 * Makefile.in (TESTS): New variable.
8356 (expanded_tests, expanded_tests_or_none): New variables
8357 (check-single): Pass $(expanded_tests_or_none) to runtest.
8358 (check-parallel): Only run tests in $(TESTS) if non-empty.
8359 (check/no-matching-tests-found): New rule.
8360 * README: Document TESTS makefile variable.
8361
5dd3176f
DE
83622014-02-18 Doug Evans <dje@google.com>
8363
8364 * Makefile.in (check-parallel): rm -rf outputs temp.
8365
0b10be4f
JK
83662014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8367
8368 Fix "ERROR: no fileid for" in the testsuite.
8369 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8370
85f224e7
DE
83712014-02-12 Doug Evans <dje@google.com>
8372
8373 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8374 (MISCELLANEOUS): New variable.
8375 (clean): rm -rf $(MISCELLANEOUS).
8376 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8377 dwp live in the same directory as symlinks, with each symlink pointed
8378 to a differently named file in a different directory.
8379
149b30ff
DE
83802014-02-11 Doug Evans <dje@google.com>
8381
8382 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8383 of Tcl file commands.
8384
1dfdac32
MK
83852014-02-10 Mark Kettenis <kettenis@gnu.org>
8386
8387 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8388 "kill -SIGUSR1 -1".
8389
aa4fb036
JB
83902014-02-10 Joel Brobecker <brobecker@adacore.com>
8391
8392 * gdb.ada/tick_length_array_enum_idx: New testcase.
8393
ed3ef339
DE
83942014-02-10 Doug Evans <xdje42@gmail.com>
8395
8396 * configure.ac (AC_OUTPUT): Add gdb.guile.
8397 * configure: Regenerate.
8398 * lib/gdb-guile.exp: New file.
8399 * lib/gdb.exp (get_target_charset): New function.
8400 * gdb.base/help.exp: Update expected output from "apropos apropos".
8401 * gdb.guile/Makefile.in: New file.
8402 * gdb.guile/guile.exp: New file.
8403 * gdb.guile/scm-arch.c: New file.
8404 * gdb.guile/scm-arch.exp: New file.
8405 * gdb.guile/scm-block.c: New file.
8406 * gdb.guile/scm-block.exp: New file.
8407 * gdb.guile/scm-breakpoint.c: New file.
8408 * gdb.guile/scm-breakpoint.exp: New file.
8409 * gdb.guile/scm-disasm.c: New file.
8410 * gdb.guile/scm-disasm.exp: New file.
8411 * gdb.guile/scm-equal.c: New file.
8412 * gdb.guile/scm-equal.exp: New file.
8413 * gdb.guile/scm-error.exp: New file.
8414 * gdb.guile/scm-error.scm: New file.
8415 * gdb.guile/scm-frame-args.c: New file.
8416 * gdb.guile/scm-frame-args.exp: New file.
8417 * gdb.guile/scm-frame-args.scm: New file.
8418 * gdb.guile/scm-frame-inline.c: New file.
8419 * gdb.guile/scm-frame-inline.exp: New file.
8420 * gdb.guile/scm-frame.c: New file.
8421 * gdb.guile/scm-frame.exp: New file.
8422 * gdb.guile/scm-generics.exp: New file.
8423 * gdb.guile/scm-gsmob.exp: New file.
8424 * gdb.guile/scm-iterator.c: New file.
8425 * gdb.guile/scm-iterator.exp: New file.
8426 * gdb.guile/scm-math.c: New file.
8427 * gdb.guile/scm-math.exp: New file.
8428 * gdb.guile/scm-objfile-script-gdb.in: New file.
8429 * gdb.guile/scm-objfile-script.c: New file.
8430 * gdb.guile/scm-objfile-script.exp: New file.
8431 * gdb.guile/scm-objfile.c: New file.
8432 * gdb.guile/scm-objfile.exp: New file.
8433 * gdb.guile/scm-ports.exp: New file.
8434 * gdb.guile/scm-pretty-print.c: New file.
8435 * gdb.guile/scm-pretty-print.exp: New file.
8436 * gdb.guile/scm-pretty-print.scm: New file.
8437 * gdb.guile/scm-section-script.c: New file.
8438 * gdb.guile/scm-section-script.exp: New file.
8439 * gdb.guile/scm-section-script.scm: New file.
8440 * gdb.guile/scm-symbol.c: New file.
8441 * gdb.guile/scm-symbol.exp: New file.
8442 * gdb.guile/scm-symtab-2.c: New file.
8443 * gdb.guile/scm-symtab.c: New file.
8444 * gdb.guile/scm-symtab.exp: New file.
8445 * gdb.guile/scm-type.c: New file.
8446 * gdb.guile/scm-type.exp: New file.
8447 * gdb.guile/scm-value-cc.cc: New file.
8448 * gdb.guile/scm-value-cc.exp: New file.
8449 * gdb.guile/scm-value.c: New file.
8450 * gdb.guile/scm-value.exp: New file.
8451 * gdb.guile/source2.scm: New file.
8452 * gdb.guile/types-module.cc: New file.
8453 * gdb.guile/types-module.exp: New file.
8454
7026a7c1
YQ
84552014-02-10 Yao Qi <yao@codesourcery.com>
8456
8457 PR testsuite/16543
8458 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8459 * configure: Regenerated.
8460 * Makefile.in: New file.
8461
6c466447
AS
84622014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8463
8464 * gdb.python/py-framefilter.exp: Fix typo.
8465
6e854735
YQ
84662014-02-08 Yao Qi <yao@codesourcery.com>
8467
8468 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8469 that no =breakpoint-modified is emitted when breakpoints are
8470 modified through MI commands.
8471
d137e6dc
PA
84722014-02-07 Pedro Alves <pedro@codesourcery.com>
8473 Pedro Alves <palves@redhat.com>
8474
8475 * gdb.threads/step-after-sr-lock.c: New file.
8476 * gdb.threads/step-after-sr-lock.exp: New file.
8477
b5ee5a50
PA
84782014-02-07 Pedro Alves <palves@redhat.com>
8479
8480 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8481
3c77faf3
JK
84822014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8483
8484 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8485 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8486
6dddc817
DE
84872014-02-06 Doug Evans <xdje42@gmail.com>
8488
8489 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8490 output.
8491
8492 * gdb.gdb/python-interrupts.exp: New file.
8493
de7b2893
YQ
84942014-02-05 Yao Qi <yao@codesourcery.com>
8495
8496 * gdb.trace/report.exp (use_collected_data): Test the output
8497 of "info threads" and "info inferiors".
8498
66d032ac
YQ
84992014-02-05 Yao Qi <yao@codesourcery.com>
8500
8501 Revert this patch:
8502
8503 2013-05-24 Yao Qi <yao@codesourcery.com>
8504
8505 * gdb.trace/tfile.exp: Test inferior and thread.
8506
591a12a1
UW
85072014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8508
8509 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8510 on a function.
8511 * gdb.base/step-bt.c: Call hello via function pointer to make
8512 sure its first instruction is executed on powerpc64le-linux.
8513
0ff3e01f
UW
85142014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8515
8516 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8517
084ee545
UW
85182014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8519
8520 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8521 of the test patterns for use on little-endian systems.
8522
6ed14ff3
UW
85232014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8524
8525 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8526 (decimal_vector): Fix for little-endian.
8527
401e27fd
JM
85282014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8529
8530 * gdb.arch/sparc-sysstep.exp: New file.
8531 * gdb.arch/sparc-sysstep.c: Likewise.
8532
8533 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8534
8b924729
EBM
85352014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8536
8537 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8538
fb151210
JB
85392014-01-23 Tom Tromey <tromey@redhat.com>
8540
8541 * gdb.ada/array_char_idx: New testcase.
8542
0740f8d8
TT
85432014-01-23 Tom Tromey <tromey@redhat.com>
8544
8545 PR python/16487:
8546 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8547 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8548 classes.
8549
21909fa1
TT
85502014-01-23 Tom Tromey <tromey@redhat.com>
8551
8552 PR python/16491:
8553 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8554 string from an inferior frame.
8555 * gdb.python/py-framefilter-mi.exp: Update.
8556
87ce2a04
DE
85572014-01-22 Doug Evans <dje@google.com>
8558
8559 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8560
237b092b
AA
85612014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8562
8563 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8564
d674a709
AA
85652014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8566
8567 * gdb.trace/entry-values.exp: Remove excess space character from
8568 regex patterns. Handle s390 call instruction.
8569
20fa3390
AA
85702014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8571
8572 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8573 define "*_start" label. Make "name" static.
8574 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8575 ${name} by references to ${name}_start.
8576
78466714
AA
85772014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8578
8579 * gdb.base/info-macros.exp: Remove "debug" from the compile
8580 options.
8581
ec9f644a
IB
85822014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8583
8584 * gdb.dlang/demangle.exp: New file.
8585
94b1b47e
IB
85862014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8587
8588 * gdb.dlang/primitive-types.exp: New file.
8589
7f420862
IB
85902014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8591
8592 * configure.ac: Create gdb.dlang/Makefile.
8593 * configure: Regenerate.
8594 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8595 * gdb.dlang/Makefile.in: New file.
8596 * lib/d-support.exp: New file.
8597 * lib/gdb.exp (skip_d_tests): New proc.
8598
52834460
MM
85992014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8600
8601 * gdb.btrace/delta.exp: Check reverse stepi.
8602 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8603 * gdb.btrace/finish.exp: New.
8604 * gdb.btrace/next.exp: New.
8605 * gdb.btrace/nexti.exp: New.
8606 * gdb.btrace/record_goto.c: Add comments.
8607 * gdb.btrace/step.exp: New.
8608 * gdb.btrace/stepi.exp: New.
8609 * gdb.btrace/multi-thread-step.c: New.
8610 * gdb.btrace/multi-thread-step.exp: New.
8611 * gdb.btrace/rn-dl-bind.c: New.
8612 * gdb.btrace/rn-dl-bind.exp: New.
8613 * gdb.btrace/data.c: New.
8614 * gdb.btrace/data.exp: New.
8615 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8616
6e07b1d2
MM
86172014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8618
8619 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8620 * gdb.btrace/exception.exp: Update.
8621 * gdb.btrace/instruction_history.exp: Update.
8622 * gdb.btrace/record_goto.exp: Update.
8623 * gdb.btrace/tailcall.exp: Update.
8624 * gdb.btrace/unknown_functions.exp: Update.
8625 * gdb.btrace/delta.exp: New.
8626
0b722aec
MM
86272014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8628
8629 * gdb.btrace/record_goto.exp: Add backtrace test.
8630 * gdb.btrace/tailcall.exp: Add backtrace test.
8631
066ce621
MM
86322014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8633
8634 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8635 * gdb.btrace/record_goto.c: New.
8636 * gdb.btrace/record_goto.exp: New.
8637 * gdb.btrace/x86-record_goto.S: New.
8638
0688d04e
MM
86392014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8640
8641 * gdb.btrace/function_call_history.exp: Update tests.
8642 * gdb.btrace/instruction_history.exp: Update tests.
8643
8710b709
MM
86442014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8645
8646 * gdb.btrace/function_call_history.exp: Fix expected field
8647 order for "record function-call-history".
8648 Add new tests for "record function-call-history /c".
8649 * gdb.btrace/exception.cc: New.
8650 * gdb.btrace/exception.exp: New.
8651 * gdb.btrace/tailcall.exp: New.
8652 * gdb.btrace/x86-tailcall.S: New.
8653 * gdb.btrace/x86-tailcall.c: New.
8654 * gdb.btrace/unknown_functions.c: New.
8655 * gdb.btrace/unknown_functions.exp: New.
8656 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8657
5de9129b
MM
86582014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8659
8660 * gdb.btrace/instruction_history.exp: Update.
8661 * gdb.btrace/function_call_history.exp: Update.
8662
23a7fe75
MM
86632014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8664
8665 * gdb.btrace/function_call_history.exp: Fix expected function
8666 trace.
8667 * gdb.btrace/instruction_history.exp: Initialize traced.
8668 Remove traced_functions.
8669
724c7dd8
MM
86702014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8671
8672 * gdb.btrace/function_call_history.exp: Update
8673 * gdb.btrace/instruction_history.exp: Update.
8674
6d78d93b
MM
86752014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8676
8677 * gdb.btrace/enable.exp: Update expected text.
8678
93a360cc
OJ
86792014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8680
8681 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8682 bytes.
8683
3772b53f
MR
86842014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8685
8686 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8687
596662fa
OJ
86882014-01-15 Omair Javaid <omair.javaid@linaro.org>
8689
8690 * lib/gdb.exp (supports_process_record): Return true for
8691 arm*-linux*. (supports_reverse): Likewise.
8692
b5b08fb4
SC
86932014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8694
8695 PR python/15464
8696 PR python/16113
8697 * gdb.python/py-type.c: Enhance test case.
8698 * gdb.python/py-value-cc.cc: Likewise
8699 * gdb.python/py-type.exp: Add new tests.
8700 * gdb.python/py-value-cc.exp: Likewise
8701
52d7fb13
AA
87022014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8703 Pedro Alves <palves@redhat.com>
8704
8705 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8706 Make "name" extern.
8707 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8708 references to ${name}_start by references to ${name}.
8709
a2cd8cfe
JB
87102014-01-10 Joel Brobecker <brobecker@adacore.com>
8711
8712 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8713
4e23fced
JB
87142014-01-10 Joel Brobecker <brobecker@adacore.com>
8715
8716 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8717
c6a9e42c
PA
87182014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8719 Pedro Alves <palves@redhat.com>
8720
8721 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 8722 mi_gdb_target_load.
c6a9e42c 8723
b7ea362b
PA
87242014-01-08 Pedro Alves <palves@redhat.com>
8725
8726 * gdb.threads/reconnect-signal.c: New file.
8727 * gdb.threads/reconnect-signal.exp: New file.
8728
5e3f4fab
EBM
87292014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8730
8731 * gdb.base/source-dir.exp: New file.
8732
79301218
JB
87332014-01-07 Joel Brobecker <brobecker@adacore.com>
8734
8735 * gdb.ada/mi_interface: New testcase.
8736
8e355c5d
JB
87372014-01-07 Joel Brobecker <brobecker@adacore.com>
8738
8739 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8740 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8741 gdb.ada/pp-rec-component/pck.ads: New files.
8742
c0d48811
JB
87432014-01-07 Joel Brobecker <brobecker@adacore.com>
8744
8745 * gdb.python/py-pp-integral.c: New file.
8746 * gdb.python/py-pp-integral.py: New file.
8747 * gdb.python/py-pp-integral.exp: New file.
8748
17b609c3 8749For older changes see ChangeLog-1993-2013.
c906108c 8750\f
8d8cb839
EZ
8751;; Local Variables:
8752;; mode: change-log
8753;; left-margin: 8
8754;; fill-column: 74
8755;; version-control: never
8756;; End:
902f2ccb 8757
618f726f 8758 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
8759 Copying and distribution of this file, with or without modification,
8760 are permitted provided the copyright notice and this notice are preserved.
This page took 3.274576 seconds and 4 git commands to generate.