]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
MIPS: Convert cross-mode BAL to JALX
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
f25827c1
YQ
12016-07-19 Yao Qi <yao.qi@linaro.org>
2
3 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
4 (test_with_self): Remove some code. Remove argument executable.
5 (top-level): Use do_self_tests.
6
37539ebe
DB
72016-07-15 Zachary Welch <zwelch@codesourcery.com>
8 Don Breazeal <donb@codesourcery.com>
9
10 * gdb.base/maint.exp: Escape paths used in regular expressions.
11 * gdb.stabs/weird.exp: Likewise.
12
dac790e1
TT
132016-07-13 Tom Tromey <tom@tromey.com>
14
15 PR python/15620, PR python/18620:
16 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
17 (test_bkpt_events): New procs.
18
93daf339
TT
192016-07-13 Tom Tromey <tom@tromey.com>
20
21 PR python/17698:
22 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
23 test.
24 (test_watchpoints): Likewise.
25 (test_bkpt_pending): New proc.
26
6571a381
TT
272016-07-13 Tom Tromey <tom@tromey.com>
28
29 PR cli/18053:
30 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
31 completion test.
32
e8732474
JK
332016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
34
35 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
36 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
37 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
38 f_label.
39 (g): Rename g_end_lbl to g_label.
40 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
41 low_pc and high_pc.
42 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
43
e0f3fd7c
TT
442016-07-12 Tom Tromey <tom@tromey.com>
45
46 PR python/19293:
47 * gdb.python/py-unwind-maint.exp: Update tests.
48
3cfe46b6
YQ
492016-07-12 Yao Qi <yao.qi@linaro.org>
50
51 * lib/selftest-support.exp (selftest_setup): Match the output
52 when captured_main is inlined.
53
4f19a0e6
WT
542016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
55
56 * gdb.fortran/derived-types.exp (result_line, result_line_2):
57 New variables.
58 (print this%a, print this%b, print this): New tests.
59 * gdb.fortran/derived-types.f90 (this): New object and
60 initialization.
61
986cf455
SM
622016-07-06 Simon Marchi <simon.marchi@ericsson.com>
63
64 * gdb.ada/arraydim.exp: Remove extra directory level in build
65 directory.
66
f0464b23
SM
672016-07-06 Simon Marchi <simon.marchi@ericsson.com>
68
69 * lib/ada.exp: Remove extra directory level in build directory.
70 * gdb.ada/cond_lang.exp: Likewise.
71 * gdb.ada/exec_changed.exp: Likewise.
72 * gdb.ada/lang_switch.exp: Likewise.
73
42d94011
MG
742016-07-06 Manish Goregaokar <manish@mozilla.com>
75
76 * simple.rs: Add test for raw pointer subscripting
77 * simple.exp: Add test expectations
78
647c264c
YQ
792016-07-05 Yao Qi <yao.qi@linaro.org>
80
81 * gdb.mi/mi-reverse.exp: Match =record-started output.
82
20aa2c60
PA
832016-07-01 Pedro Alves <palves@redhat.com>
84
85 * gdb.base/jit-reader.exp (info_registers_current_frame): New
86 procedure.
87 (jit_reader_test): Test the jit reader's unwinder.
88 * gdb.base/jithost.c (jit_function_00_code): New global.
89 (main): Use memcpy to fill in the mmapped code, instead of poking
90 bytes manually here.
91 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
92 value.
93 (read_debug_info): Save the function's range.
94 (read_sp): New function.
95 (unwind_frame): Use it. Also unwind RBP.
96 (get_frame_id): Use read_sp.
97 (gdb_init_reader): Use calloc instead of malloc.
98 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
99 parameter. Use gdb_test_multiple.
100
ced2dffb
PA
1012016-07-01 Pedro Alves <palves@redhat.com>
102 Antoine Tremblay <antoine.tremblay@ericsson.com>
103
104 * gdb.threads/process-dies-while-detaching.c: New file.
105 * gdb.threads/process-dies-while-detaching.exp: New file.
106
63000888
PA
1072016-07-01 Pedro Alves <palves@redhat.com>
108
109 * gdb.multi/watchpoint-multi-exit.c: New file.
110 * gdb.multi/watchpoint-multi-exit.exp: New file.
111
038d4868
PA
1122016-06-30 Pedro Alves <palves@redhat.com>
113
114 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
115 unset inferior_spawn_id.
116
994e9c83
PA
1172016-06-30 Pedro Alves <palves@redhat.com>
118
119 * lib/mi-support.exp (default_mi_gdb_start): Declare global
120 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
121
e5653468
YQ
1222016-06-29 Yao Qi <yao.qi@linaro.org>
123
124 * gdb.base/return.c: Add copyright header.
125
803b47e5
TT
1262016-06-29 Tom Tromey <tom@tromey.com>
127
128 PR python/20129:
129 * gdb.python/py-framefilter.exp: Add tests for setting priority
130 and disabling of non-existent frame filter.
131
28244707
YQ
1322016-06-29 Yao Qi <yao.qi@linaro.org>
133
134 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
135 0x0f07ff.
136
a31d2f06
YQ
1372016-06-28 Yao Qi <yao.qi@linaro.org>
138
139 * gdb.base/catch-syscall.exp: Remove check on isnative and target
140 triplets. Start gdb, execute catch syscall, and continue. Check
141 gdb's output to determine catch syscall is supported.
142
921d8f54
MG
1432016-06-27 Manish Goregaokar <manish@mozilla.com>
144
25d49b86
PA
145 * gdb.rust/simple.rs: Add test for returning unit in a function.
146 * gdb.rust/simple.exp: Add expectation for functions returning
147 unit.
921d8f54 148
f4952523
PMR
1492016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
150
151 * gdb.python/py-breakpoint-create-fail.c,
152 gdb.python/py-breakpoint-create-fail.exp,
153 gdb.python/py-breakpoint-create-fail.py: New testcase.
154
fccb08f8
MG
1552016-06-25 Manish Goregaokar <manish@mozilla.com>
156
157 PR gdb/20239
158 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
159 * gdb.rust/simple.exp: Add test expectations for new NonZero
160 tests.
fccb08f8 161
6b850546
DT
1622016-06-24 David Taylor <dtaylor@emc.com>
163
164 * gdb.base/offsets.exp: New file.
165 * gdb.base/offsets.c: New file.
166
17621150
TT
1672016-06-23 Tom Tromey <tom@tromey.com>
168
169 PR gdb/16483:
170 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
171 before any filters are loaded.
172
04d59df6
WT
1732016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
174
175 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
176 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
177 structs.
178 * gdb.fortran/derived-type-function.exp: New file.
179 * gdb.fortran/derived-type-function.f90: New file.
180
181
ac69f786
PA
1822016-06-21 Pedro Alves <palves@redhat.com>
183
184 * gdb.base/new-ui.exp: New file.
185 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
186 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
187 (with_spawn_id): New procedure.
188
49940788
PA
1892016-06-21 Pedro Alves <palves@redhat.com>
190
191 * gdb.mi/mi-exec-run.exp: New file.
192
ef274d26
PA
1932016-06-21 Pedro Alves <palves@redhat.com>
194
195 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
196 breakpoint command's output on the main UI.
197 (test_break): New procedure, factored out from calls in the top
198 level.
199 (top level): Use foreach_with_prefix to test MI as main UI and as
200 separate UI.
201
468afe6c
PA
2022016-06-21 Pedro Alves <palves@redhat.com>
203
204 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
205 (test_awatch_creation_and_listing)
206 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
207 Remove 'type' parameter.
208 (test_watchpoint_all): New parameter mi_mode. Remove
209 with_test_prefix.
210 (top level): Use foreach_with_prefix, and add main/separate UI MI
211 testing axis.
212
51f77c37
PA
2132016-06-21 Pedro Alves <palves@redhat.com>
214
215 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
216 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
217 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
218 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
219 (gdb_main_spawn_id, mi_spawn_id): Declare and
220 comment.
221 (mi_create_inferior_pty): New procedure,
222 factored out from default_mi_gdb_start.
223 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
224 procedures.
225 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
226 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
227 Use mi_create_inferior_pty.
228 (mi_gdb_start): Use eval to pass down args list.
229
8980e177
PA
2302016-06-21 Pedro Alves <palves@redhat.com>
231
232 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
233 * gdb.opt/inline-cmds.exp: Add MI tests.
234
f38d3ad1
PA
2352016-06-21 Pedro Alves <palves@redhat.com>
236
237 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
238
45db7c09
PA
2392016-06-21 Pedro Alves <palves@redhat.com>
240
241 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
242 (top level): Use it instead of mi_execute_to.
243
5a069ab3
PA
2442016-06-21 Pedro Alves <palves@redhat.com>
245
246 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
247 (cont_handler_str): New.
248 (signal_stop_handler): Set stop_handler_str instead of printing to
249 stdout.
250 (continue_handler): Set cont_handler_str instead of printing to
251 stdout.
252 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
253 mi_send_resuming_command. Print stop_handler_str and
254 cont_handler_str instead of expecting the python events print
255 directly.
256
2838cc1d
SD
2572016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
258
259 * gdb.base/jit-reader.exp: New file.
260 * gdb.base/jithost.c: New file.
261 * gdb.base/jithost.h: New file.
262 * gdb.base/jitreader.c : New file.
263 * gdb.base/jit-protocol.h: New file.
264
21a77091
YQ
2652016-06-17 Yao Qi <yao.qi@linaro.org>
266
267 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
268 parameters follow_fork and detach_on_fork. Set follow-fork-mode
269 and detach-on-fork. Adjust tests.
270 (top level): Invoke break_cond_on_syscall with combinations of
271 syscall, follow-fork-mode and detach-on-fork.
272
f50bf8e5
YQ
2732016-06-17 Yao Qi <yao.qi@linaro.org>
274
275 * gdb.base/step-over-exit.c: New.
276 * gdb.base/step-over-exit.exp: New.
277
a28d8e50
YTL
2782016-06-17 Yan-Ting Lin <currygt52@gmail.com>
279
280 * gdb.base/float.exp: Add target check for nds32*-*-*.
281 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
282
cad8e26d
AB
2832016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
284
285 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
286 for unsupported target features.
287 * gdb.base/call-rt-st.exp: Likewise.
288 * gdb.base/call-sc.exp: Likewise.
289 * gdb.base/call-signal-resume.exp: Likewise.
290 * gdb.base/call-strs.exp: Likewise.
291 * gdb.base/callexit.exp: Likewise.
292 * gdb.base/callfuncs.exp: Likewise.
293 * gdb.base/nodebug.exp: Likewise.
294 * gdb.base/printcmds.exp: Likewise.
295 * gdb.base/ptype.exp: Likewise.
296 * gdb.base/structs.exp: Likewise.
297 * gdb.base/unwindonsignal.exp: Likewise.
298 * gdb.cp/gdb2495.exp: Likewise.
299 * gdb.cp/templates.exp: Likewise.
300 * gdb.cp/virtfunc.exp: Likewise.
301 * gdb.threads/hand-call-in-threads.exp: Likewise.
302 * gdb.threads/interrupted-hand-call.exp: Likewise.
303 * gdb.threads/thread-unwindonsignal.exp: Likewise.
304
347dc102
TT
3052016-06-10 Tom Tromey <tom@tromey.com>
306
307 PR rust/20110:
308 * gdb.rust/expr.exp: Add test for integer constant larger than
309 i32.
310
5e13cf25
BH
3112016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
312
313 * gdb.fortran/nested-funcs.exp: New.
314 * gdb.fortran/nested-funcs.f90: New.
315
bb556f1f
TK
3162016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
317
318 * gdb.base/examine-backward.c: New file.
319 * gdb.base/examine-backward.exp: New file.
320
38b022b4
SM
3212016-06-06 Simon Marchi <simon.marchi@ericsson.com>
322
323 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
324 matching.
325
1b40ec05
TT
3262016-06-02 Tom Tromey <tom@tromey.com>
327
328 PR python/18984:
329 * gdb.python/py-shared.exp: Add solib_name test.
330
193bd378
SM
3312016-06-02 Simon Marchi <simon.marchi@ericsson.com>
332
333 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
334
3326303b
MG
3352016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
336
337 PR c++/19893
338 * gdb.dwarf2/implref.exp: Rename to...
339 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
340 * gdb.dwarf2/implref-array.c: New file.
341 * gdb.dwarf2/implref-array.exp: Likewise.
342 * gdb.dwarf2/implref-global.c: Likewise.
343 * gdb.dwarf2/implref-global.exp: Likewise.
344 * gdb.dwarf2/implref-struct.c: Likewise.
345 * gdb.dwarf2/implref-struct.exp: Likewise.
346
825c8ef2
AT
3472016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
348
349 * gdb.trace/trace-condition.exp: Add 64bit tests.
350
2320162a
AT
3512016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
352
353 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
354 bits types.
355 (main): Adapt to 8 to 64 bits types.
356 * gdb.trace/trace-condition.exp: Add new tests.
357
a7818233
AT
3582016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
359
360 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
361
0d336466
AT
3622016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
363
364 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
365 Move condition tests...
366 * gdb.trace/trace-condition.exp: Here.
367
7faeb45a
AT
3682016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
369
370 * gdb.trace/trace-condition.exp: Add counter-case tests.
371
e385593e
JK
3722016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
373
374 PR c++/15231
375 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
376 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
377
744608cc
PA
3782016-05-27 Pedro Alves <palves@redhat.com>
379
380 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
381 New procedure.
382 (top level): Call it, and bail out of DejaGnu is known to be bad.
383
ac775bf4
AB
3842016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
385
386 * gdb.base/whatis.c: Extend the test case.
387 * gdb.base/whatis.exp: Add additional tests.
388
2bbad2ea
BH
3892016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
390
391* gdb.fortran/type.f90: Add pointer variable.
392* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
393
8b70175d
BH
3942016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
395
396 * gdb.fortran/vla-type.exp: Fix testcase name.
397
86d8a848
BH
3982016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
399
400 * gdb.fortran/vla-type.exp: Access elements in nested structs.
401
e188eb36
BH
4022016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
403
404 * gdb.fortran/type.f90: Add nested structures.
405 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
406 * gdb.fortran/derived-type.exp: Adapt expected output.
407 * gdb.fortran/vla-type.exp: Adapt expected output.
408
9b2db1fd
BH
4092016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
410
411 * gdb.fortran/whatis_type.exp: Adapt expected output.
412
72b17055
BH
4132016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
414
415 * gdb.fortran/print_type.exp: Fix expected output.
416 * gdb.fortran/whatis_type.exp: Fix expected output.
417
3cd81d8d
BH
4182016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
419
420 * gdb.fortran/whatis_type.exp: Use multi_line.
421
ddae9462
TT
4222016-05-24 Tom Tromey <tom@tromey.com>
423
424 PR python/17386:
425 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
426 use value as an index.
427
1957f6b8
TT
4282016-05-23 Tom Tromey <tom@tromey.com>
429
430 PR python/17981:
431 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
432 no-breakpoint case.
433
026a9174
PA
4342016-05-24 Pedro Alves <palves@redhat.com>
435
436 PR gdb/19828
437 * gdb.threads/clone-attach-detach.c: New file.
438 * gdb.threads/clone-attach-detach.exp: New file.
439
e70a7231
FR
4402016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
441
442 * gdb.base/annota-input-while-running.exp: Fix syntax error.
443
0f6ed0e0
TT
4442016-05-23 Tom Tromey <tom@tromey.com>
445
446 PR python/19438, PR python/18393:
447 * gdb.python/py-progspace.exp: Add "dir" test.
448 * gdb.python/py-objfile.exp: Add "dir" test.
449
ffd19d61
YQ
4502016-05-23 Yao Qi <yao.qi@linaro.org>
451
452 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
453 * gdb.arch/thumb2-it.exp: Likewise.
454
9e8f9b05
SM
4552016-05-18 Simon Marchi <simon.marchi@ericsson.com>
456
457 * gdb.mi/mi-threads-interrupt.c: New file.
458 * gdb.mi/mi-threads-interrupt.exp: New file.
459
61c6156d
SM
4602016-05-17 Simon Marchi <simon.marchi@ericsson.com>
461
462 PR gdb/18077
463 * gdb.mi/mi-async-run.exp: New file.
464 * gdb.mi/mi-async-run.c: New file.
465
67218854
TT
4662016-05-17 Tom Tromey <tom@tromey.com>
467 Manish Goregaokar <manishsmail@gmail.com>
468
469 * lib/rust-support.exp: New file.
470 * lib/gdb.exp (skip_rust_tests): New proc.
471 (build_executable_from_specs): Handle rust.
472 * lib/future.exp (gdb_find_rustc): New proc.
473 (gdb_default_target_compile): Handle rust.
474 * gdb.rust/expr.exp: New file.
475 * gdb.rust/generics.exp: New file.
476 * gdb.rust/generics.rs: New file.
477 * gdb.rust/methods.exp: New file.
478 * gdb.rust/methods.rs: New file.
479 * gdb.rust/modules.exp: New file.
480 * gdb.rust/modules.rs: New file.
481 * gdb.rust/simple.exp: New file.
482 * gdb.rust/simple.rs: New file.
483
c44af4eb
TT
4842016-05-17 Tom Tromey <tom@tromey.com>
485
486 * gdb.base/default.exp (set language): Add rust.
487
dcd1f979
TT
4882016-05-17 Tom Tromey <tom@tromey.com>
489
490 * gdb.gdb/unittest.exp: New file.
491
155b7f57
YQ
4922016-05-16 Yao Qi <yao.qi@linaro.org>
493
494 * gdb.base/batch-preserve-term-settings.exp: Remove variable
495 shell_prompt. Update shell_prompt_re.
496
8ddd5a6c
DE
4972016-05-12 Doug Evans <dje@google.com>
498
499 PR symtab/19999
500 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
501 $options when building executable.
502 * gdb.dwarf2/fission-loclists-pie.S: New file.
503 * gdb.dwarf2/fission-loclists-pie.exp: New file.
504
02e370d9
SM
5052016-05-04 Simon Marchi <simon.marchi@ericsson.com>
506
507 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
508 of [is_remote target],
509
8929ad8b
SM
5102016-05-04 Simon Marchi <simon.marchi@ericsson.com>
511
512 * lib/gdb.exp (use_gdb_stub): New procedure.
513
6c447423
DE
5142016-05-03 Yunlian Jiang <yunlian@google.com>
515 Doug Evans <dje@google.com>
516
517 PR symtab/19914
518 * gdb.dwarf2/dwp-sepdebug.c: New file.
519 * gdb.dwarf2/dwp-sepdebug.exp: New file.
520
444e826c
SM
5212016-05-02 Simon Marchi <simon.marchi@ericsson.com>
522
523 * gdb.base/detach.exp: Remove is_remote check.
524
740feeaa
SM
5252016-05-02 Simon Marchi <simon.marchi@ericsson.com>
526
527 * gdb.base/annota-input-while-running.exp: Don't check for
528 [is_remote target]. Enable annotations after running to main.
529 Remove unused "set test..." line.
530
9080ac9d
SM
5312016-04-28 Simon Marchi <simon.marchi@ericsson.com>
532
533 * gdb.trace/trace-enable-disable.exp: New file.
534 * gdb.trace/trace-enable-disable.c: New file.
535
952ebca5
SM
5362016-04-28 Simon Marchi <simon.marchi@ericsson.com>
537
538 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
539 use it in info sharedlibrary test.
540 * gdb.trace/ftrace-lock.exp: Likewise.
541 * gdb.trace/ftrace.exp: Likewise.
542 * gdb.trace/range-stepping.exp: Likewise.
543 * gdb.trace/trace-break.exp: Likewise.
544 * gdb.trace/trace-condition.exp: Likewise.
545 * gdb.trace/trace-mt.exp: Likewise.
546
d9019901
SM
5472016-04-27 Simon Marchi <simon.marchi@ericsson.com>
548
549 * lib/gdb.exp (gdb_load_shlibs): Rename to...
550 (gdb_load_shlib): ... this.
551 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
552 gdb_load_shlib.
553 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
554 * gdb.base/ctxobj.exp: Likewise.
555 * gdb.base/dprintf-pending.exp: Likewise.
556 * gdb.base/dso2dso.exp: Likewise.
557 * gdb.base/fixsection.exp: Likewise.
558 * gdb.base/gcore-relro.exp: Likewise.
559 * gdb.base/gdb1555.exp: Likewise.
560 * gdb.base/global-var-nested-by-dso.exp: Likewise.
561 * gdb.base/gnu-ifunc.exp: Likewise.
562 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
563 * gdb.base/jit-so.exp (one_jit_test): Likewise.
564 * gdb.base/pending.exp: Likewise.
565 * gdb.base/print-file-var.exp: Likewise.
566 * gdb.base/print-symbol-loading.exp: Likewise.
567 * gdb.base/shlib-call.exp: Likewise.
568 * gdb.base/shreloc.exp: Likewise.
569 * gdb.base/so-impl-ld.exp: Likewise.
570 * gdb.base/solib-disc.exp: Likewise.
571 * gdb.base/solib-nodir.exp: Likewise.
572 * gdb.base/solib-overlap.exp: Likewise.
573 * gdb.base/solib-symbol.exp: Likewise.
574 * gdb.base/solib-weak.exp (do_test): Likewise.
575 * gdb.base/sym-file.exp: Likewise.
576 * gdb.base/symtab-search-order.exp: Likewise.
577 * gdb.base/type-opaque.exp: Likewise.
578 * gdb.base/unload.exp: Likewise.
579 * gdb.base/watchpoint-solib.exp: Likewise.
580 * gdb.compile/compile.exp: Likewise.
581 * gdb.cp/gdb2384.exp: Likewise.
582 * gdb.cp/infcall-dlopen.exp: Likewise.
583 * gdb.cp/re-set-overloaded.exp: Likewise.
584 * gdb.fortran/library-module.exp: Likewise.
585 * gdb.opt/solib-intra-step.exp: Likewise.
586 * gdb.python/py-finish-breakpoint.exp: Likewise.
587 * gdb.python/py-shared.exp: Likewise.
588 * gdb.reverse/solib-precsave.exp: Likewise.
589 * gdb.reverse/solib-reverse.exp: Likewise.
590 * gdb.server/solib-list.exp: Likewise.
591 * gdb.threads/dlopen-libpthread.exp: Likewise.
592 * gdb.threads/tls-shared.exp: Likewise.
593 * gdb.threads/tls-so_extern.exp: Likewise.
594 * gdb.trace/change-loc.exp: Likewise.
595 * gdb.trace/ftrace-lock.exp: Likewise.
596 * gdb.trace/ftrace.exp: Likewise.
597 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
598 * gdb.trace/pending.exp: Likewise.
599 * gdb.trace/range-stepping.exp: Likewise.
600 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
601 (strace_info_marker): Likewise.
602 (strace_probe_marker): Likewise.
603 (strace_trace_on_same_addr): Likewise.
604 (strace_trace_on_diff_addr): Likewise.
605 * gdb.trace/trace-break.exp: Likewise.
606 * gdb.trace/trace-condition.exp: Likewise.
607 * gdb.trace/trace-mt.exp: Likewise.
608
fca4cfd9
SM
6092016-04-27 Simon Marchi <simon.marchi@ericsson.com>
610
611 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
612 result of gdb_remote_download.
613 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
614 * gdb.base/dso2dso.exp: Likewise.
615 * gdb.base/global-var-nested-by-dso.exp: Likewise.
616 * gdb.base/print-file-var.exp: Likewise.
617 * gdb.base/shlib-call.exp: Likewise.
618 * gdb.base/shreloc.exp: Likewise.
619 * gdb.base/solib-overlap.exp: Likewise.
620 * gdb.base/solib-weak.exp (do_test): Likewise.
621 * gdb.base/unload.exp: Likewise.
622
11cf4ffb
YQ
6232016-04-27 Yao Qi <yao.qi@linaro.org>
624
625 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
626 exists.
627
3e2e34f8
KB
6282016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
629
630 * vla-type.exp: Print structure from toplevel.
631
8f07e298
BH
6322016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
633
634 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
635 of dynamic types.
636 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
637 of dynamic types.
638
9920b434
BH
6392016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
640
641 * gdb.fortran/vla-type.f90: New file.
642 * gdb.fortran/vla-type.exp: New file.
643
f3abeff5
YQ
6442016-04-25 Yao Qi <yao.qi@linaro.org>
645
646 * gdb.base/branch-to-self.c: New file.
647 * gdb.base/branch-to-self.exp: New file.
648
0a5d52f0
YQ
6492016-04-22 Yao Qi <yao.qi@linaro.org>
650
651 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
652 more after $hex.
653
495346f6
YQ
6542016-04-22 Yao Qi <yao.qi@linaro.org>
655
656 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
657 * gdb.base/annota3.exp: Likewise.
658
4a7e075c
YQ
6592016-04-22 Yao Qi <yao.qi@linaro.org>
660
661 * gdb.reverse/step-precsave.exp: Do one step and test program
662 stops in "callee" and do multiple steps until program goes out
663 of "callee".
664 * gdb.reverse/step-reverse.exp: Likewise.
665
5b061e98
YQ
6662016-04-22 Yao Qi <yao.qi@linaro.org>
667
668 * gdb.trace/signal.exp: Also pass if
669 $tracepoint_hits($i) > $iterations.
670
5c5dc57f
YQ
6712016-04-22 Yao Qi <yao.qi@linaro.org>
672
673 * gdb.trace/signal.c: New file.
674 * gdb.trace/signal.exp: New file.
675
a55411b9
DE
6762016-04-19 Doug Evans <xdje42@gmail.com>
677
678 * gdb.base/bad-file.exp: New file.
679
a22df60a
MG
6802016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
681
682 * gdb.dwarf2/implref.exp: New file.
683
0c13f7e5
BH
6842016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
685
686 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
687 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
688 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
689 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
690 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
691 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
692 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
693 * lib/fortran.exp (fortran_int4): New procedure.
694 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
695 (fortran_logical4): Likewise.
696
9b9b09e9
BH
6972016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
698
699 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
700
a14d1f4d
BH
7012016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
702
703 * lib/compiler.c: Add Intel specific preprocessor macros.
704 * lib/compiler.cc: Likewise.
25d49b86 705
7d49b1d0
LM
7062016-04-13 Luis Machado <lgustavo@codesourcery.com>
707
708 * gdb.server/connect-with-no-symbol-file.c: New file.
709 * gdb.server/connect-with-no-symbol-file.exp: New file.
710
8392fa22
SM
7112016-04-13 Simon Marchi <simon.marchi@ericsson.com>
712
713 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
714
8c4c4aeb
SM
7152016-04-13 Simon Marchi <simon.marchi@ericsson.com>
716
717 * boards/gdbserver-base.exp (${board}_download): Copy source file to
718 standard output directory.
719
45e3745e
AT
7202016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
721
722 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
723
e26b7e41
MM
7242016-04-13 Markus Metzger <markus.t.metzger@intel.com>
725
726 * gdb.btrace/instruction_history.c (loop): Add declaration.
727
8ce09462
AT
7282016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
729
730 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
731
2e88a1ea
SM
7322016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
733
734 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
735 parentheses to print.
736 (continue_handler): Likewise.
737
f48e22e3
SM
7382016-04-08 Simon Marchi <simon.marchi@ericsson.com>
739
740 * gdb.server/solib-list.exp: Remove is_remote check.
741 Pass shlib= to gdb_compile. Don't link shared library with
742 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
743 Run binary filename through "readlink -f" on the target.
744
096be756
PA
7452016-04-08 Pedro Alves <palves@redhat.com>
746
747 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
748 interpreter filename as argument to gdbserver_spawn.
749 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
750 Return empty if $last_loaded_file does not exist.
751
06500533
JK
7522016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
753
754 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
755 * gdb.base/jit-main.c: Use exit after usage.
756
2d35e871
JK
7572016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
758
759 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
760 GDBHISTSIZE prior to the tests.
761 * gdb.base/gdbinit-history.exp: Likewise.
762
7632016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
764
765 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
766 instead of build_executable. Use gdb_load_shlibs.
767
c8064e7e
YQ
7682016-04-07 Yao Qi <yao.qi@linaro.org>
769
770 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
771 Execute "si" command.
772
bde47561
YQ
7732016-04-07 Yao Qi <yao.qi@linaro.org>
774
775 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
776 number instead of the comments on some line.
777
b16f8a3b
DB
7782016-04-06 Don Breazeal <donb@codesourcery.com>
779
780 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
781 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
782
c2f901df
SM
7832016-04-06 Simon Marchi <simon.marchi@ericsson.com>
784
785 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
786 standard_output_file. Remove unused binfile variable.
787
ac17fda0
CU
7882016-04-05 Catalin Udma <catalin.udma@freescale.com>
789
790 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
791 * gdb.python/py-mi-objfile.exp: Match "list main" output
792 in console format.
793
03a8c4df
SM
7942016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
795
796 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
797 absolute.
798
6e774b13
SM
7992016-04-05 Simon Marchi <simon.marchi@ericsson.com>
800
801 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
802 absolute.
803 * gdb.trace/ftrace.exp: Likewise.
804 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
805 targets as well.
806 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
807 (gdb_load_shlibs): Copy libraries to test directory when testing
808 natively. Only set solib-search-path if testing remotely.
809 * lib/mi-support.exp (mi_load_shlibs): Likewise.
810
7817ea46
SM
8112016-04-05 Simon Marchi <simon.marchi@ericsson.com>
812
813 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
814 gdb_download. Use it even if the target is not remote.
815 * gdb.base/jit.exp (compile_jit_test): Likewise.
816 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
817 output directory if the destination board is local, otherwise use
818 the standard remote_download from DejaGnu.
819 (gdb_download): Remove.
820 (gdb_load_shlibs): Use gdb_remote_download instead of
821 gdb_download.
822 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
823 Use gdb_remote_download instead of gdb_download. Use it even if
824 the target is not remote.
825 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
826 instead of gdb_download.
827
7beb7f68
SM
8282016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
829
830 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
831 (test_insert_delete_modify): Call mi_load_shlibs before trying to
832 run.
833
cc63428a
AV
8342016-04-01 Artemiy Volkov <artemiyv@acm.org>
835
836 PR gdb/19820
837 * gdb.base/printcmds.exp: Add artificial arrays tests.
838
64cdf930
PA
8392016-03-31 Pedro Alves <palves@redhat.com>
840
841 PR gdb/19858
842 * gdb.base/jit-main.c: Include unistd.h.
843 (ATTACH): Define to 0 if not already defined.
844 (wait_for_gdb, mypid): New globals.
845 (WAIT_FOR_GDB): New macro.
846 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
847 some breakpoint locations.
848 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
849 New procedures.
850 (one_jit_test): Add REATTACH parameter, and handle it. Use
851 continue_to_test_location.
852 (top level): Test attach, and adjusts calls to one_jit_test.
853
40dea8cb
PA
8542016-03-31 Pedro Alves <palves@redhat.com>
855
856 PR gdb/19858
857 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
858 BINSUFFIX parameter, and handle it.
859 (top level): Adjust calls compile_jit_test.
860
e7ea3ec7
CU
8612016-03-31 Catalin Udma <catalin.udma@freescale.com>
862
863 PR python/19743
864 * gdb.python/py-mi-events-gdb.py: New file.
865 * gdb.python/py-mi-events.c: New file.
866 * gdb.python/py-mi-events.exp: New file.
867
e6359af3
YQ
8682016-03-30 Yao Qi <yao.qi@linaro.org>
869
870 * gdb.reverse/until-precsave.exp: Match function name only.
871 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
872 Move malloc to a condition block.
873 * gdb.reverse/until-reverse.exp: Match function name only.
874
a4105d04
MK
8752016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
876
877 * gdb.trace/ftrace.exp: Set arg0exp for s390.
878 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
879 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
880 variable for GPR 0 instead of assuming it is register 0.
881 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
882 * lib/trace-support.exp: Add s390 registers.
883
bfa6adb9
YQ
8842016-03-29 Yao Qi <yao.qi@linaro.org>
885
886 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
887
1e6697ea
YQ
8882016-03-24 Yao Qi <yao.qi@linaro.org>
889
890 * gdb.reverse/break-reverse.exp: Add quotation mark in the
891 test message.
892
64bcd522
AA
8932016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
894
895 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
896 maintaining separate logic for constructing the output path.
897
7868401b
DB
8982016-03-16 Don Breazeal <donb@codesourcery.com>
899
900 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
901 Retry fork and waitpid on interrupted system call errors.
902 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
903 Use with_timeout_factor to increase timeout by factor of 10.
904
1cafadb4
DB
9052016-03-15 Don Breazeal <donb@codesourcery.com>
906
907 * gdb.cp/scope-err.cc: New test program.
908 * gdb.cp/scope-err.exp: New test script.
909 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
910 lines and "set breakpoint here" comment.
911 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
912 Fixed some whitespace and format issues.
913 * gdb.mi/mi-linespec-err-cp.cc: New test program.
914 * gdb.mi/mi-linespec-err-cp.exp: New test script.
915
81516450
DE
9162016-03-15 Doug Evans <dje@google.com>
917
918 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
919 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
920 All callers updated. Add tests for enums, mixed flags register.
921
aa52b601
DE
9222016-03-15 Doug Evans <dje@google.com>
923
924 * gdb.base/skip.c (main): Call test_skip_file_and_function.
925 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
926
fa4ff313
SM
9272016-03-14 Simon Marchi <simon.marchi@ericsson.com>
928
929 * gdb.base/default.exp: Add $_as_string to the list of expected
930 convenience functions.
931
f2403c39
AB
9322016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
933
934 * gdb.base/maint.exp: New tests for 'maint info line-table'.
935
f2f3ccb9
SM
9362016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
937
938 * gdb.python/py-as-string.exp: New file.
939 * gdb.python/py-as-string.c: New file.
940
00dbd492
PA
9412016-03-09 Pedro Alves <palves@redhat.com>
942
943 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
944 signal" -> "Thread NN received signal" output change.
945 * gdb.threads/ia64-sigill.exp: Likewise.
946 * gdb.threads/linux-dp.exp: Likewise.
947 * gdb.threads/manythreads.exp: Likewise.
948 * gdb.threads/pending-step.exp: Likewise.
949 * gdb.threads/print-threads.exp: Likewise.
950 * gdb.threads/sigstep-threads.exp: Likewise.
951 * gdb.threads/staticthreads.exp: Likewise.
952 * gdb.threads/tls.exp: Likewise.
953
1e6697ea
YQ
9542016-03-09 Pedro Alves <palves@redhat.com>
955
956 * gdb.base/command-line-input.exp: New file.
957
b04fd3be
MK
9582016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
959
960 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
961 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
962 * gdb.trace/pending.exp: Accept leading dot before function name.
963 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
964 * lib/trace-support.exp: Set registers for ppc.
965
98fa59e9
MK
9662016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
967
968 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
969 use it for disassembly; accept .main in addition to main in backtrace.
970
f77198c8
MK
9712016-03-09 Wei-cheng Wang <cole945@gmail.com>
972 Marcin Kościelnicki <koriakin@0x04.net>
973
974 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
975 (gdb_recursion_test_ptr): New global variable.
976 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
977 gdb_recursion_test.
978 (gdb_c_test): Ditto.
979
ba84e0da
MK
9802016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
981
982 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
983 ordering.
984
4366d36e
MK
9852016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
986
987 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
988 (bar): Add bar_start_lbl label.
989 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
990 of foo/bar for emitting DWARF and tracing.
991
5eb264df
SDJ
9922016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
993
994 * analyze-racy-logs.py: Set executable bit.
995
fb6a751f
SDJ
9962016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
997
998 * Makefile.in (DEFAULT_RACY_ITER): New variable.
999 (CHECK_TARGET_TMP): Likewise.
1000 (check-single-racy): New rule.
1001 (check-parallel-racy): Likewise.
1002 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1003 (do-check-parallel-racy): New rule.
1004 (check-racy/%.exp): Likewise.
1005 * README (Racy testcases): New section.
1006 * analyze-racy-logs.py: New file.
1007
bdf7e230
DE
10082016-03-03 Doug Evans <dje@google.com>
1009
1010 * gdb.base/skip.exp: Use with_test_prefix.
1011
4719d415
YQ
10122016-03-03 Yao Qi <yao.qi@linaro.org>
1013
1014 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1015 Invoke step_over_syscall "clone" and break_cond_on_syscall
1016 "clone".
1017 * gdb.base/step-over-clone.c: New file.
1018
ea507862
YQ
10192016-03-03 Yao Qi <yao.qi@linaro.org>
1020
1021 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1022 code format.
1023
8fc8cbda
YQ
10242016-03-03 Yao Qi <yao.qi@linaro.org>
1025
1026 * gdb.base/disp-step-fork.c: Rename to ...
1027 * gdb.base/step-over-fork.c: ... it. New file.
1028 * gdb.base/disp-step-vfork.c: Rename to ...
1029 * gdb.base/step-over-vfork.c: ... it. New file.
1030 * gdb.base/disp-step-syscall.exp: Rename to ...
1031 * gdb.base/step-over-syscall.exp: ... it. New file.
1032 (disp_step_cross_syscall): Rename to ...
1033 (step_over_syscall): ... it.
1034
92fa70b0
YQ
10352016-03-03 Yao Qi <yao.qi@linaro.org>
1036
1037 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1038 If target supports condition evaluation on target, invoke
1039 break_cond_on_syscall for fork and vfork.
1040
e197ad3c
YQ
10412016-03-03 Yao Qi <yao.qi@linaro.org>
1042
1043 * gdb.base/disp-step-syscall.exp: Don't invoke
1044 support_displaced_stepping.
1045 (disp_step_cross_syscall): Test with displaced stepping off and
1046 on if supported.
1047
0b47da9f
YQ
10482016-03-03 Yao Qi <yao.qi@linaro.org>
1049
1050 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1051 proc.
1052 (setup): New proc.
1053 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1054 and setup.
1055
065ab6dc
BH
10562016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1057
1058 * gdb.fortran/vla-history.exp: Remove breakpoint.
1059
07e448ad 10602016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1061
25d49b86
PA
1062 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1063 exceeds timeout.
07e448ad 1064
9ac2d526 10652016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1066
25d49b86
PA
1067 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1068 breakpoint.
9ac2d526 1069
17807369
BH
10702016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1071
1072 * gdb.mi/vla.f90: Nullify pointer after declaration.
1073
86e501af
PA
10742016-03-01 Pedro Alves <palves@redhat.com>
1075
1076 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1077
1e903e32
PA
10782016-03-01 Pedro Alves <palves@redhat.com>
1079
1080 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1081 before anything else.
1082 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1083 _GNU_SOURCE here.
1084 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1085 before anything else.
1086 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1087
6ccb54e2
PA
10882016-03-01 Pedro Alves <palves@redhat.com>
1089
1090 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1091
30ca9da1
YQ
10922016-03-01 Yao Qi <yao.qi@linaro.org>
1093
1094 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1095 prepare_for_testing.
1096
dc856b38
YQ
10972016-03-01 Yao Qi <yao.qi@linaro.org>
1098
1099 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1100
4a932159
AA
11012016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1102
1103 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1104 manually constructing the output path.
1105
f2489477
AA
11062016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1107
1108 * gdb.arch/s390-stackless.S: New.
1109 * gdb.arch/s390-stackless.exp: New.
1110
38899f16
IB
11112016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1112
1113 * gdb.dlang/circular.c: New file.
1114 * gdb.dlang/circular.exp: New file.
1115
9fde51ed
YQ
11162016-02-26 Yao Qi <yao.qi@linaro.org>
1117
1118 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1119 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1120 (testcases): Update.
1121
ce90fefe
YQ
11222016-02-26 Yao Qi <yao.qi@linaro.org>
1123
1124 * gdb.reverse/aarch64.c: Rename to ...
1125 * gdb.reverse/insn-reverse.c: ... it.
1126 * gdb.reverse/aarch64.exp: Rename to ...
1127 * gdb.reverse/insn-reverse.exp: ... it.
1128
3263bceb
YQ
11292016-02-26 Yao Qi <yao.qi@linaro.org>
1130
1131 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1132 (testcase_ftype): New.
1133 (testcases): New array.
1134 (n_testcases): New.
1135 (main): Call each element in testcases.
1136 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1137 (read_testcase): New.
1138 Do the tests in a loop.
1139
6cb59ff1
YQ
11402016-02-25 Yao Qi <yao.qi@linaro.org>
1141
1142 * gdb.base/branches.c: Remove.
1143
ae91f625
MK
11442016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1145
1146 PR gdb/13808
1147 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1148
678b48b7
MK
11492016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1150
1151 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1152
7337a6f2
MK
11532016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1154
1155 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1156 change x86_64 call_insn to 'callq'.
1157
861ca91f
AT
11582016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1159
1160 * gdb.trace/tfile-avx.c: Move to...
1161 * gdb.trace/tracefile-pseudo-reg.c: Here.
1162 * gdb.trace/tfile-avx.exp: Move to...
1163 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1164
bf74e428
GB
11652016-02-24 Gary Benson <gbenson@redhat.com>
1166
1167 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1168 message on attach.
1169
cce0e923
DE
11702016-02-23 Doug Evans <dje@google.com>
1171
1172 * gdb.base/skip.c (test_skip): New function.
1173 (end_test_skip_file_and_function): New function.
1174 (test_skip_file_and_function): New function.
1175 * gdb.base/skip1.c (test_skip): New function.
1176 (skip1_test_skip_file_and_function): New function.
1177 * gdb.base/skip.exp: Add tests for new skip options.
1178 * gdb.base/skip-solib.exp: Update expected output.
1179 * gdb.perf/skip-command.cc: New file.
1180 * gdb.perf/skip-command.exp: New file.
1181 * gdb.perf/skip-command.py: New file.
1182
4000e47e
MK
11832016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1184
1185 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1186 info registers pattern.
1187
24f75ead
IB
11882016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1189
1190 * lib/future.exp: Add D support.
1191 (gdb_find_gdc): New proc.
1192 (gdb_default_target_compile): Add D support.
1193
fbb7bcbe
WW
11942016-02-18 Wei-cheng Wang <cole945@gmail.com>
1195
1196 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1197 user+system time.
1198 (trace_speed_test): Determine the iteration count for a time
1199 between 15..30 seconds.
1200
012b3a21
WT
12012016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1202
1203 * gdb.arch/i386-mpx-sigsegv.c: New file.
1204 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1205 * gdb.arch/i386-mpx-simple_segv.c: New file.
1206 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1207
2d5189bd
YQ
12082016-02-18 Yao Qi <yao.qi@linaro.org>
1209
1210 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1211 Don't call setup_kfail.
1212
40fb20d0
YQ
12132016-02-18 Yao Qi <yao.qi@linaro.org>
1214
1215 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1216 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1217
21b1f8d2
DE
12182016-02-16 Doug Evans <dje@google.com>
1219
1220 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1221 * gdb.base/skip1.c: Ditto.
1222 * gdb.base/skip.exp: Whitespace cleanup.
1223
4041ed77
DB
12242016-02-16 Don Breazeal <donb@codesourcery.com>
1225
1226 PR remote/19496
1227 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1228 Remove kfail for PR remote/19496.
1229
c4ef31bf
SM
12302016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1231
1232 * lib/gdb.exp (standard_temp_file): Return a path specific to
1233 the runtest invocation.
1234
266b65b3
SM
12352016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1236
1237 * gdb.trace/save-trace.exp: Change relative path to be in the
1238 standard output directory.
1239
a7a0a6a9
JK
12402016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1241
1242 * gdb.arch/i386-prologue.c: Add missing prototypes.
1243
c99dbb42
JK
12442016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1245
1246 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1247 * gdb.arch/i386-prologue.exp: Likewise.
1248 * gdb.arch/i386-size.exp: Likewise.
1249
aa480355
SM
12502016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1251
1252 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1253 define object file path.
1254 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1255 file path.
1256 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1257 standard_output_file to define binfile.
1258
ba881f50
JK
12592016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1260
1261 Fix compatibility with recent gfortran-5.3.1.
1262 * gdb.fortran/vla-history.exp (print vla1 allocated)
1263 (print vla2 allocated, print $2, print $3): Remove
1264 (print $4): Rename to ...
1265 (print $2): ... here.
1266 (print $9): Rename to ...
1267 (print $5): ... here.
1268 (print $10): Rename to ...
1269 (print $6): ... here.
1270 * gdb.fortran/vla.f90: Add pvla initialization.
1271
e9fb005c
JK
12722016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1273
1274 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1275 New test.
1276 * gdb.fortran/vla-value-sub.exp: Likewise.
1277
e44e00ff
MK
12782016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1279
1280 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1281
97e94151
SM
12822016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1283
1284 * i386-biarch-core.exp: Define corefile using
1285 standard_output_file.
1286
01113bc1
YQ
12872016-02-12 Yao Qi <yao.qi@linaro.org>
1288
1289 * gdb.arch/arm-single-step-kernel-helper.c: New.
1290 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1291
33b4777c
MM
12922016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1293
1294 * gdb.btrace/tailcall-only.exp: New.
1295 * gdb.btrace/tailcall-only.c: New.
1296 * gdb.btrace/x86_64-tailcall-only.S: New.
1297 * gdb.btrace/i686-tailcall-only.S: New.
1298
acc23c11
PA
12992016-02-11 Pedro Alves <palves@redhat.com>
1300
1301 * README (Parallel testing): Add missing double quotes.
1302
e352bf0a
PA
13032016-02-11 Pedro Alves <palves@redhat.com>
1304
1305 * README (Parallel testing): New section.
1306 (GDB_PARALLEL): Rewrite.
1307 (FORCE_PARALLEL): Document.
1308
9f5fed78
MK
13092016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1310
1311 * gdb.trace/tfile-avx.c: New test.
1312 * gdb.trace/tfile-avx.exp: New test.
1313
9ef9e6a6
KS
13142016-02-09 Keith Seitz <keiths@redhat.com>
1315
1316 PR breakpoints/19546
1317 * gdb.base/infcall-exec.c: New file.
1318 * gdb.base/infcall-exec2.c: New file.
1319 * gdb.base/infcall-exec.exp: New file.
1320
a96e36da
KS
13212016-02-09 Keith Seitz <keiths@redhat.com>
1322
1323 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1324 (toplevel): Call test_bkpt_address.
1325
9f61929f
KS
13262016-02-09 Keith Seitz <keiths@redhat.com>
1327
1328 PR python/19506
1329 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1330 (toplevel): Call test_bkpt_address.
1331
1e94266c
SM
13322016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1333
1334 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1335 to AC_OUTPUT.
1336 * configure: Regenerate.
1337
2a7f3dff
PA
13382016-02-09 Pedro Alves <palves@redhat.com>
1339
1340 PR breakpoints/19548
1341 * gdb.base/execl-update-breakpoints.c (some_function): New
1342 function.
1343 (main): Call it.
1344 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1345 Tighten expected GDB output.
1346
2151ccc5
SM
13472016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1348
1349 * Makefile.in (ALL_SUBDIRS): Remove.
1350 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1351 (distclean maintainer-clean realclean): Likewise.
1352 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1353 * configure: Regenerate.
1354 * gdb.ada/Makefile.in: Delete.
1355 * gdb.arch/Makefile.in: Likewise.
1356 * gdb.asm/Makefile.in: Likewise.
1357 * gdb.base/Makefile.in: Likewise.
1358 * gdb.btrace/Makefile.in: Likewise.
1359 * gdb.cell/Makefile.in: Likewise.
1360 * gdb.compile/Makefile.in: Likewise.
1361 * gdb.cp/Makefile.in: Likewise.
1362 * gdb.disasm/Makefile.in: Likewise.
1363 * gdb.dlang/Makefile.in: Likewise.
1364 * gdb.dwarf2/Makefile.in: Likewise.
1365 * gdb.fortran/Makefile.in: Likewise.
1366 * gdb.gdb/Makefile.in: Likewise.
1367 * gdb.go/Makefile.in: Likewise.
1368 * gdb.guile/Makefile.in: Likewise.
1369 * gdb.java/Makefile.in: Likewise.
1370 * gdb.linespec/Makefile.in: Likewise.
1371 * gdb.mi/Makefile.in: Likewise.
1372 * gdb.modula2/Makefile.in: Likewise.
1373 * gdb.multi/Makefile.in: Likewise.
1374 * gdb.objc/Makefile.in: Likewise.
1375 * gdb.opencl/Makefile.in: Likewise.
1376 * gdb.opt/Makefile.in: Likewise.
1377 * gdb.pascal/Makefile.in: Likewise.
1378 * gdb.perf/Makefile.in: Likewise.
1379 * gdb.python/Makefile.in: Likewise.
1380 * gdb.reverse/Makefile.in: Likewise.
1381 * gdb.server/Makefile.in: Likewise.
1382 * gdb.stabs/Makefile.in: Likewise.
1383 * gdb.threads/Makefile.in: Likewise.
1384 * gdb.trace/Makefile.in: Likewise.
1385 * gdb.xml/Makefile.in: Likewise.
1386 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1387 GDB_PARALLEL.
1388 (standard_output_file): Remove check for GDB_PARALLEL, always
1389 return path in outputs/$subdir/$testname.
1390
437277d4
SM
13912016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1392
1393 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1394 (site.exp): Assign abs_srcdir to tcl's srcdir.
1395
31d913c7
YQ
13962016-02-04 Yao Qi <yao.qi@linaro.org>
1397
1398 * gdb.base/foll-exec-mode.c: Include limits.h.
1399 (main): Add parameters argc and argv. Get directory from
1400 argv[0].
1401 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1402 compilation.
1403 * gdb.base/foll-exec.c: Include limits.h.
1404 (main): Add parameters argc and argv.
1405 Get directory from argv[0].
1406 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1407 Adjust tests on the number of lines as source code changed.
1408 * gdb.base/foll-vfork-exit.c: Include limits.h.
1409 (main): Add one line of statement before vfork.
1410 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1411 (main): Add parameters argc and argv. Get directory from
1412 argv[0].
1413 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1414 (setup_gdb): Set tbreak to skip some source lines.
1415 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1416 (main): Add parameters argc and argv. Get directory from
1417 argv[0].
1418 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1419 compilation.
1420 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1421 (main): Add parameters argc and argv. Get directory from
1422 argv[0].
1423 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1424 compilation.
1425
9482b9fb
DE
14262016-02-01 Doug Evans <dje@google.com>
1427
1428 * gdb.base/skip.exp: Clean up multiple references to same test name.
1429
6b2e4f10
PA
14302016-02-01 Pedro Alves <palves@redhat.com>
1431
ccb6afd6 1432 PR remote/19496
6b2e4f10
PA
1433 * gdb.threads/forking-threads-plus-breakpoint.exp
1434 (displaced_stepping_supported): New global.
1435 (probe_displaced_stepping_support): New procedure.
1436 (do_test): Add 'displaced' parameter, and use it.
1437 (top level): Check for displaced stepping support. Add displaced
1438 stepping on/off testing axis.
1439
37a8db1a
AB
14402016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1441
1442 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1443 pointer. Don't perform further tests on the unassociated pointer
1444 if the first test fails.
1445
5fdf6324
AB
14462016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1447
1448 * gdb.base/max-value-size.c: New file.
1449 * gdb.base/max-value-size.exp: New file.
1450 * gdb.base/huge.exp: Disable max-value-size for this test.
1451
935c6144
IB
14522016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1453
1454 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1455
7fe8399d
YQ
14562016-01-28 Yao Qi <yao.qi@linaro.org>
1457
1458 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1459
a2077e25
PA
14602016-01-25 Pedro Alves <palves@redhat.com>
1461
1462 PR threads/19461
1463 * gdb.base/fork-running-state.c: New file.
1464 * gdb.base/fork-running-state.exp: New file.
1465
1d2736d4
PA
14662016-01-25 Pedro Alves <palves@redhat.com>
1467
1468 PR gdb/19494
1469 * gdb.base/catch-fork-kill.c: New file.
1470 * gdb.base/catch-fork-kill.exp: New file.
1471
f1da4b11
PA
14722016-01-25 Pedro Alves <palves@redhat.com>
1473
1474 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1475 Delete, moved to lib/gdb.exp.
1476 * gdb.threads/forking-threads-plus-breakpoint.exp
1477 (foreach_with_prefix): Likewise.
1478 * gdb.threads/process-dies-while-handling-bp.exp
1479 (foreach_with_prefix): Likewise.
1480 * lib/gdb.exp (foreach_with_prefix): New procedure.
1481
45f38546
MK
14822016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1483
1484 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1485 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1486
dc29a1ce
MK
14872016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1488
1489 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1490 endian targets.
1491
092127d7
JK
14922016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1493 Pedro Alves <palves@redhat.com>
1494
1495 Fix testsuite compatibility with Guile.
1496 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1497 number.
1498
31d765d3
JK
14992016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1500
1501 Fix testsuite compatibility with Guile.
1502 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1503 (thread 1): New test for backtrace through signal handler.
1504
1ac78c04
YQ
15052016-01-22 Yao Qi <yao.qi@linaro.org>
1506
1507 PR testsuite/19491
1508 * gdb.base/multi-forks.c: Include
1509 ../lib/unbuffer_output.c
1510 (main): Call gdb_unbuffer_output.
1511
4f5946a8
DE
15122016-01-21 Doug Evans <dje@google.com>
1513
1514 * lib/ada.exp (gdb_compile_ada): Fix typo.
1515
305e13e6
JB
15162016-01-21 Joel Brobecker <brobecker@adacore.com>
1517
1518 * gdb.base/break-fun-addr.exp: New file.
1519 * gdb.base/break-fun-addr1.c: New file.
1520 * gdb.base/break-fun-addr2.c: New file.
1521
5f5dfff6
SM
15222016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1523
1524 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1525 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1526 enum flag values.
1527
fd356fa2
AA
15282016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1529
1530 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1531 when GDB can not set the vector return value. Add more comments
1532 for clarification.
1533
9df22175
AT
15342016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1535
1536 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1537 command.
1538
41d1845e
SM
15392016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1540
1541 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1542
01ac6840
SM
15432016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1544
1545 * Makefile.in (check-single): Pass --status to runtest.
1546 (check/%.exp): Likewise.
1547
15482016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1549
1550 * Makefile.in (check-parallel): Propagate return code from make
1551 do-check-parallel.
1552
bd0a71fa
MK
15532016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1554
1555 * gdb.trace/ftrace.exp: Fix expected message on continue.
1556 * gdb.trace/pending.exp: Fix expected message on continue.
1557 * gdb.trace/trace-break.exp: Fix expected message on continue.
1558
8bcbad33
SM
15592016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1560
1561 * lib/gdb.exp (gdb_test): Remove unused global references.
1562
f303dbd6
PA
15632016-01-18 Pedro Alves <palves@redhat.com>
1564
1565 * gdb.base/async-shell.exp: Adjust expected output.
1566 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1567 * gdb.base/siginfo-thread.exp: Adjust expected output.
1568 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1569 * gdb.java/jnpe.exp: Adjust expected output.
1570 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1571 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1572 * gdb.threads/leader-exit.exp: Adjust expected output.
1573 * gdb.threads/manythreads.exp: Adjust expected output.
1574 * gdb.threads/pthreads.exp: Adjust expected output.
1575 * gdb.threads/schedlock.exp: Adjust expected output.
1576 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1577 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1578 expected output.
1579 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1580 output.
1581 * gdb.threads/sigthread.exp: Adjust expected output.
1582 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1583
b2789696
YQ
15842016-01-18 Yao Qi <yao.qi@linaro.org>
1585
1586 * gdb.guile/scm-section-script.c: Replace @progbits with
1587 %progbits.
1588 * gdb.python/py-section-script.c: Likewise.
1589
71ef29a8
PA
15902016-01-15 Pedro Alves <palves@redhat.com>
1591
1592 * gdb.multi/tids.exp: Test star wildcard ranges.
1593
3f5b7598
PA
15942016-01-15 Pedro Alves <palves@redhat.com>
1595
1596 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1597 command from "thread apply" invocation.
1598 (thr_apply_info_thr_invalid): Default the expected output to the
1599 input tid list.
1600 (top level): Add tests that use convenience variables. Add tests
1601 for "thread apply" with a valid TID list, but missing the command.
1602
663f6d42
PA
16032016-01-13 Pedro Alves <palves@redhat.com>
1604
1605 * gdb.base/default.exp: Expect $_gthread as well.
1606 * gdb.multi/tids.exp: Test $_gthread.
1607 * gdb.threads/thread-specific.exp: Test $_gthread.
1608
c84f6bbf
PA
16092016-01-13 Pedro Alves <palves@redhat.com>
1610
1611 * gdb.multi/tids.exp: Test "info threads -gid".
1612
22a02324
PA
16132016-01-13 Pedro Alves <palves@redhat.com>
1614
1615 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1616 Breakpoint.thread.
1617 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1618
5d5658a1
PA
16192016-01-07 Pedro Alves <palves@redhat.com>
1620
1621 * gdb.base/break.exp: Adjust to output changes.
1622 * gdb.base/hbreak2.exp: Likewise.
1623 * gdb.base/sepdebug.exp: Likewise.
1624 * gdb.base/watch_thread_num.exp: Likewise.
1625 * gdb.linespec/keywords.exp: Likewise.
1626 * gdb.multi/info-threads.exp: Likewise.
1627 * gdb.threads/thread-find.exp: Likewise.
1628 * gdb.multi/tids.c: New file.
1629 * gdb.multi/tids.exp: New file.
1630
84654457
PA
16312016-01-13 Pedro Alves <palves@redhat.com>
1632
1633 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1634
e3940304
PA
16352016-01-13 Pedro Alves <palves@redhat.com>
1636
1637 * gdb.base/default.exp: Expect $_inferior as well.
1638 * gdb.multi/base.exp: Test $_inferior.
1639
a911d87a
PA
16402016-01-13 Pedro Alves <palves@redhat.com>
1641
1642 PR breakpoints/19388
1643 * gdb.base/catch-signal-siginfo-cond.c: New file.
1644 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1645
82075af2
JS
16462016-01-12 Josh Stone <jistone@redhat.com>
1647 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1648
1649 * gdb.base/catch-syscall.c (do_execve): New variable.
1650 (main): Conditionally trigger an execve.
1651 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1652 (test_catch_syscall_execve): New, check entry/return across execve.
1653 (do_syscall_tests): Call test_catch_syscall_execve.
1654
e46eeedd
PA
16552016-01-12 Pedro Alves <palves@redhat.com>
1656
1657 * gdb.base/random-signal.exp (do_test): New procedure, with body
1658 of testcase moved in.
1659
01d8c27e
JK
16602016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1661 Pedro Alves <palves@redhat.com>
1662
1663 * gdb.base/funcargs.exp (finish from indirectly called function):
1664 Reintroduce the case for 'First'.
1665
9a706302
JK
16662016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1667 Pedro Alves <palves@redhat.com>
1668
1669 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1670 (tcatch_vfork_then_child_follow_exec)
1671 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1672 identification.
1673
c0ecb95f
JK
16742016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1675
1676 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1677 and repeats to unlimited.
1678 * gdb.python/py-value.exp: Likewise.
1679 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1680 and repeats to unlimited.
1681
6cfc1fcb
JK
16822016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1683
1684 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1685 and reordering the functions.
1686 * gdb.multi/hangout.c: Likewise.
1687 * gdb.multi/hello.c: Likewise.
1688
582a1b00
SM
16892016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1690
1691 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1692 absolute.
1693 (SingleStatisticTestResult.report): Use dict.keys instead of
1694 dict.iterkeys.
1695
79bc59cb
PA
16962016-01-06 Pedro Alves <palves@redhat.com>
1697
1698 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1699
43368e1d
MM
17002016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1701
1702 * gdb.btrace/dlopen.exp: New.
1703 * gdb.btrace/dlopen.c: New.
1704 * gdb.btrace/dlopen-dso.c: New.
1705
79fad5b8
SL
17062015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1707
1708 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1709 PATTERN argument is optional.
1710
ab8314b3
JB
17112015-12-24 Joel Brobecker <brobecker@adacore.com>
1712
1713 * lib/ada.exp (target_compile_ada_from_dir): New function.
1714 (gdb_compile_ada): Reimplement avoiding the use of project files.
1715 * gdb.ada/gnat_ada.gpr: Delete.
1716 * gdb.ada/cond_lang.exp: Adjust test to make path before
1717 filename optional.
1718 * gdb.ada/small_reg_param.exp: Likewise.
1719
fe33faff
SM
17202015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1721
1722 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1723
6d265cb4
TP
17242015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1725
1726 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1727 case.
1728
10125099
SM
17292015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1730
1731 * gdb.base/break.exp: Remove dead code.
1732 * gdb.base/sepdebug.exp: Likewise.
1733
3ca22649
SM
17342015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1735
1736 * gdb.asm/asm-source.exp: Remove HP-UX references.
1737 * gdb.base/annota1.exp: Likewise.
1738 * gdb.base/annota3.exp: Likewise.
1739 * gdb.base/attach.exp: Likewise.
1740 * gdb.base/bigcore.exp: Likewise.
1741 * gdb.base/break.exp: Likewise.
1742 * gdb.base/call-ar-st.exp: Likewise.
1743 * gdb.base/callfuncs.exp: Likewise.
1744 * gdb.base/catch-fork-static.exp: Likewise.
1745 * gdb.base/display.exp: Likewise.
1746 * gdb.base/foll-exec-mode.exp: Likewise.
1747 * gdb.base/foll-exec.exp: Likewise.
1748 * gdb.base/foll-fork.exp: Likewise.
1749 * gdb.base/foll-vfork.exp: Likewise.
1750 * gdb.base/funcargs.exp: Likewise.
1751 * gdb.base/hbreak2.exp: Likewise.
1752 * gdb.base/inferior-died.exp: Likewise.
1753 * gdb.base/interrupt.exp: Likewise.
1754 * gdb.base/multi-forks.exp: Likewise.
1755 * gdb.base/nodebug.exp: Likewise.
1756 * gdb.base/sepdebug.exp: Likewise.
1757 * gdb.base/solib1.c: Likewise.
1758 * gdb.base/step-test.exp: Likewise.
1759 * gdb.mi/non-stop.c: Likewise.
1760 * gdb.mi/pthreads.c: Likewise.
1761 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1762 * gdb.threads/pthreads.c: Likewise.
1763 * gdb.threads/staticthreads.exp: Likewise.
1764 * lib/future.exp: Likewise.
1765 * lib/gdb.exp: Likewise.
1766 * gdb.base/so-indr-cl.c: Remove.
1767 * gdb.base/so-indr-cl.exp: Likewise.
1768 * gdb.base/solib.c: Likewise.
1769 * gdb.base/solib.exp: Likewise.
1770 * gdb.base/solib2.c: Likewise.
1771
b6304613
SM
17722015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1773
1774 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1775 * gdb.base/call-ar-st.exp: Likewise.
1776 * gdb.base/callfuncs.exp: Likewise.
1777 * gdb.base/condbreak.exp: Likewise.
1778 * gdb.base/constvars.exp: Likewise.
1779 * gdb.base/hbreak2.exp: Likewise.
1780 * gdb.base/langs.exp: Likewise.
1781 * gdb.base/list.exp: Likewise.
1782 * gdb.base/long_long.exp: Likewise.
1783 * gdb.base/ptype.exp: Likewise.
1784 * gdb.base/scope.exp: Likewise.
1785 * gdb.base/signals.exp: Likewise.
1786 * gdb.base/so-impl-ld.exp: Likewise.
1787 * gdb.base/varargs.exp: Likewise.
1788 * gdb.base/volatile.exp: Likewise.
1789 * gdb.base/whatis.exp: Likewise.
1790 * gdb.cp/cplusfuncs.exp: Likewise.
1791 * gdb.cp/inherit.exp: Likewise.
1792 * gdb.cp/local.exp: Likewise.
1793 * gdb.cp/member-ptr.exp: Likewise.
1794 * gdb.cp/method.exp: Likewise.
1795 * gdb.cp/overload.exp: Likewise.
1796 * gdb.cp/templates.exp: Likewise.
1797 * gdb.stabs/weird.exp: Likewise.
1798 * lib/compiler.c: Likewise.
1799 * lib/compiler.cc: Likewise.
1800 * lib/cp-support.exp: Likewise.
1801 * lib/gdb.exp: Likewise.
1802
bf401b07
SM
18032015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1804
1805 * configure.ac: Remove HP-UX case.
1806 * configure: Regenerate.
1807
aff9c0f8
SM
18082015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1809
1810 * lib/gdb.exp (gdb_compile): Add function doc.
1811
a6904d5a
PA
18122015-12-17 Pedro Alves <palves@redhat.com>
1813
1814 PR threads/19354
1815 * gdb.multi/info-threads.exp: New file.
1816
a22279dd
YQ
18172015-12-15 Yao Qi <yao.qi@linaro.org>
1818
1819 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1820 is aarch64*-*-*.
1821
0588c796
SL
18222015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1823
1824 * gdb.base/history-duplicates.exp: Skip if no readline support.
1825
5d978e17
SL
18262015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1827
1828 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1829
7e763b86
SL
18302015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1831
1832 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1833
87a3a92c
SL
18342015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1835
1836 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1837 ctrl-C if nointerrupts target property is set.
1838 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1839 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1840 * gdb.base/paginate-bg-execution.exp: Likewise.
1841 * gdb.base/paginate-execution-startup.exp: Likewise.
1842 * gdb.base/random-signal.exp: Likewise.
1843 * gdb.base/range-stepping.exp: Likewise.
1844 * gdb.cp/annota2.exp: Likewise.
1845 * gdb.cp/annota3.exp: Likewise.
1846 * gdb.gdb/selftest.exp: Likewise.
1847 * gdb.threads/continue-pending-status.exp: Likewise.
1848 * gdb.threads/leader-exit.exp: Likewise.
1849 * gdb.threads/manythreads.exp: Likewise.
1850 * gdb.threads/pthreads.exp: Likewise.
1851 * gdb.threads/schedlock.exp: Likewise.
1852 * gdb.threads/sigthread.exp: Likewise.
1853
a8f077dc
DB
18542015-12-11 Don Breazeal <donb@codesourcery.com>
1855
1856 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1857 remote.
1858 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1859 * gdb.base/foll-exec.exp (main): Enable for target remote.
1860 * gdb.base/foll-fork.exp (main): Likewise.
1861 * gdb.base/foll-vfork.exp (main): Likewise.
1862 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1863 (proc continue_to_exit_bp_loc): Use clean_restart.
1864 * gdb.base/pie-execl.exp (main): Disable for target remote.
1865 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1866 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1867 * gdb.threads/execl.exp (main): Likewise.
1868 * gdb.threads/fork-child-threads.exp (main): Likewise.
1869 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1870 remote.
1871 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1872 remote.
1873 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1874 pid.tid style ptids, instead of just tid.
1875 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1876 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1877 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1878 ptids, instead of just tid.
1879
3b2464a8
AB
18802015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1881
1882 * gdb.base/list.exp (test_list_forward): Add end of file error
1883 test.
1884 (test_repeat_list_command): Add end of file error test.
1885 (test_list_backwards): Add beginning of file error test.
1886
a0def019
AB
18872015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1888
1889 * gdb.base/list.exp (test_list_invalid_args): New function,
1890 defined, and called.
1891
5c000dff
AB
18922015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1893
1894 * gdb.base/list.exp (test_list): Make test names unique.
1895
f1637ebe
YQ
18962015-12-11 Yao Qi <yao.qi@linaro.org>
1897
1898 * gdb.base/coremaker2.c: Remove.
1899
36d6fc0a
PA
19002015-12-10 Pedro Alves <palves@redhat.com>
1901
1902 * gdb.multi/base.exp: Remove stale "spaces" references.
1903
762f7747
PA
19042015-12-10 Pedro Alves <palves@redhat.com>
1905
1906 * gdb.multi/base.exp: Don't use nowarnings.
1907 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1908 * gdb.multi/hangout.c: Include stdio.h.
1909 * gdb.multi/hello.c: Include stdlib.h.
1910 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1911 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1912 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1913
28d2bfb9
AB
19142015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1915
1916 * gdb.dwarf2/dw2-ranges-base.c: New file.
1917 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1918 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1919 support additional line table, and debug ranges generation.
1920 (Dwarf::ranges): New function, generate .debug_ranges.
1921 (Dwarf::lines): Support generating simple line table programs.
1922 (Dwarf::assemble): Initialise new namespace variables.
1923
5fc2beac
KB
19242015-12-09 Kevin Buettner <kevinb@redhat.com>
1925
1926 * gdb.base/async.exp (proc test_background): Add case for
1927 asynchronous execution not supported.
1928
1c35a88f
LM
19292015-12-09 Luis Machado <lgustavo@codesourcery.com>
1930
1931 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1932 format and change test names to make them unique.
1933
b593e3d9
RK
19342015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1935 Pedro Alves <pedro@redhat.com>
1936
1937 PR gdb/18702
1938 Add checking of floatformats setup on x86_64 hosts.
1939 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1940 (smallval, bigval): New labels/constants.
1941 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1942 float" after loading bigval and smallval.
1943
d72413e6
PMR
19442015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1945
1946 * gdb.ada/fun_overload_menu.exp: New testcase.
1947 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1948
ece66d65
JS
19492015-12-04 Josh Stone <jistone@redhat.com>
1950
1951 * gdb.base/catch-fork-static.exp: New.
1952
41d0efca
YQ
19532015-12-03 Yao Qi <yao.qi@linaro.org>
1954
1955 * gdb.base/sizeof.c: Don't include stdio.h and
1956 ../lib/unbuffer_output.c.
1957 (main): New variable 'size' and 'value'. Remove printf and
1958 gdb_unbuffer_output. Assign return value to size and value.
1959 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1960 at the beginning.
1961 (check_sizeof): Check the result by printing variable 'size'.
1962 (check_valueof): Check the result by printing variable 'value'.
1963
99fd02d9
YQ
19642015-12-01 Yao Qi <yao.qi@linaro.org>
1965
1966 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1967 for aarch64*-*-linux* target.
1968
f2faf941
PA
19692015-11-30 Pedro Alves <palves@redhat.com>
1970
1971 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1972
04bf20c5
PA
19732015-11-30 Pedro Alves <palves@redhat.com>
1974
1975 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1976 Handle non-stop mode vCont replies.
1977
09df4675
PA
19782015-11-30 Pedro Alves <palves@redhat.com>
1979
1980 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1981 prepare_for_testing. Start gdb with "set non-stop on" appended to
1982 GDBFLAGS. Lax expected stop output.
1983
58b584af
YQ
19842015-11-27 Yao Qi <yao.qi@linaro.org>
1985
1986 * gdb.arch/arm-neon.exp: New.
1987 * gdb.arch/arm-neon.c: New.
1988
dfcb77a8
YQ
19892015-11-27 Yao Qi <yao.qi@linaro.org>
1990
1991 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1992
88e8ec1b
YQ
19932015-11-27 Yao Qi <yao.qi@linaro.org>
1994
1995 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1996 frames-invalid annotation.
1997
bfde72c2
YQ
19982015-11-27 Yao Qi <yao.qi@linaro.org>
1999
2000 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2001
f6512a69
SM
20022015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2003
2004 * gdb.threads/names.exp: New file.
2005 * gdb.threads/names.c: New file.
2006 * README: Mention gdb,no_thread_names.
2007
46a3515b
MM
20082015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2009
2010 PR 19297
2011 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2012 support" error.
2013
62147a22
PA
20142015-11-24 Pedro Alves <palves@redhat.com>
2015
2016 PR 17539
2017 * gdb.base/display.exp: Expect displays to be sorted in ascending
2018 order. Use multi_line.
2019 * gdb.base/solib-display.exp: Likewise.
2020
2f341b6e
PA
20212015-11-24 Pedro Alves <palves@redhat.com>
2022
2023 PR 17539
25d49b86
PA
2024 * gdb.base/display.exp: Expect displays to be sorted in ascending
2025 order. Use multi_line.
2026 * gdb.base/solib-display.exp: Likewise.
2f341b6e 2027
7e0aa6aa
PA
20282015-11-24 Pedro Alves <palves@redhat.com>
2029
2030 PR 17539
2031 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2032 threads in ascending order.
2033 * gdb.base/foll-fork.exp: Likewise.
2034 * gdb.base/foll-vfork.exp: Likewise.
2035 * gdb.base/multi-forks.exp: Likewise.
2036 * gdb.mi/mi-nonstop.exp: Likewise.
2037 * gdb.mi/mi-nsintrall.exp: Likewise.
2038 * gdb.multi/base.exp: Likewise.
2039 * gdb.multi/multi-arch.exp: Likewise.
2040 * gdb.python/py-inferior.exp: Likewise.
2041 * gdb.threads/break-while-running.exp: Likewise.
2042 * gdb.threads/execl.exp: Likewise.
2043 * gdb.threads/gcore-thread.exp: Likewise.
2044 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2045 * gdb.threads/kill.exp: Likewise.
2046 * gdb.threads/linux-dp.exp: Likewise.
2047 * gdb.threads/multiple-step-overs.exp: Likewise.
2048 * gdb.threads/next-bp-other-thread.exp: Likewise.
2049 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2050 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2051 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2052 * gdb.threads/thread-find.exp: Likewise.
2053 * gdb.threads/tls.exp: Likewise.
2054 * lib/mi-support.exp (mi_reverse_list): Delete.
2055 (mi_check_thread_states): No longer reverse list.
2056
2cc57ad8
PA
20572015-11-24 Pedro Alves <palves@redhat.com>
2058
2059 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2060 use lowercase.
2061
c93e8391
SM
20622015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2063
2064 * gdb.trace/actions.c: Include trace-common.h.
2065 (main): Add a location for a fast tracepoint.
2066 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2067 the normal tracepoints.
2068 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2069
045ccf91
SM
20702015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2071
2072 * save-trace.exp: Factor out code to these...
2073 (gdb_save_tracepoints): New.
2074 (gdb_load_tracepoints): New.
2075 (do_save_load_test): New.
2076
5506f9f6
KB
20772015-11-23 Kevin Buettner <kevinb@redhat.com>
2078
2079 * gdb.base/asmlabel.exp: New test.
2080 * gdb.base/asmlabel.c: New test case.
2081
16c3b12f
JB
20822015-11-23 Joel Brobecker <brobecker@adacore.com>
2083
2084 * gdb.base/wrong_frame_bt_full-main.c: New file.
2085 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2086 * gdb.base/wrong_frame_bt_full.exp: New file.
2087
155bfbd3
JB
20882015-11-23 Joel Brobecker <brobecker@adacore.com>
2089
2090 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2091
bb097445
JM
20922015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2093
206853a0 2094 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
2095 pstate register when comparing registers values in
2096 sparc64-*-linux-gnu targets to avoid spurious differences.
2097
9c88ed8f
JM
20982015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2099
206853a0 2100 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 2101
96161e25
SL
21022015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2103
2104 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2105 as type argument to gdb_compile.
2106 * gdb.base/nested-subp2.exp: Likewise.
2107 * gdb.base/nested-subp3.exp: Likewise.
2108
340c2830
DV
21092015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2110
2111 * lib/dwarf.exp (_note): Fix left shift of negative value.
2112 * gdb.trace/trace-condition.exp: Likewise.
2113
c1862d0f
YQ
21142015-11-13 Yao Qi <yao.qi@linaro.org>
2115
2116 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2117 comments about d10v.
2118 (test_scalar_returns): Likewise.
2119 * gdb.base/d10v.ld: Remove.
2120 * gdb.base/overlays.exp: Remove the target triplet checking for
2121 d10v-*-*.
2122 * gdb.base/structs.exp (test_struct_returns): Remove the
2123 comments about d10v.
2124 (test_struct_calls): Likewise.
2125
77ae9c19
YQ
21262015-11-13 Yao Qi <yao.qi@linaro.org>
2127
2128 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2129 * gdb.base/gnu_vector.c: Don't include stdio.h.
2130 (main): Don't print res and call add_some_intvecs.
2131
430e004e
MK
21322015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2133
2134 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2135 macro.
2136 (func5): Removed.
2137 (func4): Use FAST_TRACEPOINT_LABEL.
2138 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2139 macro.
2140 (func): Removed.
2141 (thread_function): Use FAST_TRACEPOINT_LABEL.
2142 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2143 (func): Remove.
2144 (marker): Use FAST_TRACEPOINT_LABEL.
2145 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2146 (pendfunc1): Remove.
2147 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2148 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2149 (foo): Remove.
2150 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2151 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2152 macro.
2153 (func): Remove.
2154 (marker): Use FAST_TRACEPOINT_LABEL.
2155 * gdb.trace/trace-common.h: New header.
2156 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2157 macro.
2158 (func): Remove.
2159 (marker): Use FAST_TRACEPOINT_LABEL.
2160 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2161 (func): Remove.
2162 (thread_function): Use FAST_TRACEPOINT_LABEL.
2163
6e7675a7
MK
21642015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2165
2166 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2167 in front.
2168 * gdb.trace/change-loc.exp: Use global pcreg definition.
2169 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2170 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2171 in front.
2172 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2173 * gdb.trace/pending.exp: Likewise.
2174 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2175 * gdb.trace/trace-break.exp: Likewise.
2176 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2177 in front.
2178 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2179 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2180 in front.
2181 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2182
dddc0e16
JB
21832015-11-09 Joel Brobecker <brobecker@adacore.com>
2184
2185 * gdb.ada/fin_fun_out: New testcase.
2186
c6f0b406
KB
21872015-11-07 Kevin Buettner <kevinb@redhat.com>
2188
2189 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2190 value associated with DW_AT_byte_size.
2191 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2192 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2193 DW_AT_upper_bound.
2194
f01dcfd9
KB
21952015-11-07 Kevin Buettner <kevinb@redhat.com>
2196
2197 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2198 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2199 version.
2200 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2201 gdb.dwarf2/dw2-canonicalize-type.exp,
2202 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2203 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2204 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2205 provided by gdb_target_symbol_prefix_flags_asm.
2206 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2207 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2208 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2209 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2210 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2211 macros where needed). Use this macro for symbols which require
2212 the prefix provided by SYMBOL_PREFIX.
2213
2223449a
KB
22142015-11-05 Kevin Buettner <kevinb@redhat.com>
2215
2216 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2217 New procs.
2218 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2219 representing expressions, of more than one list element.
2220 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2221 to prepend linker symbol prefix to f.
2222 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2223 table_1 and table_2.
2224 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2225 Likewise, for f and g.
2226 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2227 for ptr.
2228 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2229 for main.
2230 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2231 table_1_ptr and table_2_ptr.
2232
6f2f1a3a
JK
22332015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2234 Joel Brobecker <brobecker@adacore.com>
2235
2236 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2237
566c56c9
MK
22382015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2239
2240 * gdb.reverse/s390-mvcle.c: New test.
2241 * gdb.reverse/s390-mvcle.exp: New file.
2242 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2243
d5f0636b
MK
22442015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2245
2246 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2247
7ad8b86c
MK
22482015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2249
2250 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2251 reaching marker2.
2252 * gdb.reverse/getresuid-reverse.exp: Likewise.
2253 * gdb.reverse/pipe-reverse.exp: Likewise.
2254 * gdb.reverse/readv-reverse.exp: Likewise.
2255 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2256 * gdb.reverse/time-reverse.exp: Likewise.
2257 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2258
4081c0f1
YQ
22592015-10-30 Yao Qi <yao.qi@linaro.org>
2260
2261 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2262 (empty_cycle): Remove.
2263 (main): Don't call empty_cycle. Don't use watch_count_done.
2264 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2265 empty_cycle. Rewrite the code counting HW watchpoints.
2266
452b4ba5
MK
22672015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2268
2269 * gdb.reverse/fstatat-reverse.c: New test.
2270 * gdb.reverse/fstatat-reverse.exp: New file.
2271 * gdb.reverse/getresuid-reverse.c: New test.
2272 * gdb.reverse/getresuid-reverse.exp: New file.
2273 * gdb.reverse/pipe-reverse.c: New test.
2274 * gdb.reverse/pipe-reverse.exp: New file.
2275 * gdb.reverse/readv-reverse.c: New test.
2276 * gdb.reverse/readv-reverse.exp: New file.
2277 * gdb.reverse/recvmsg-reverse.c: New test.
2278 * gdb.reverse/recvmsg-reverse.exp: New file.
2279 * gdb.reverse/time-reverse.c: New test.
2280 * gdb.reverse/time-reverse.exp: New file.
2281 * gdb.reverse/waitpid-reverse.c: New test.
2282 * gdb.reverse/waitpid-reverse.exp: New file.
2283
5e2e7507
JK
22842015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2285
2286 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2287
0fde2c53
DE
22882015-10-26 Doug Evans <dje@google.com>
2289
2290 PR symtab/17391
2291 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2292 * gdb.dwarf2/bad-regnum.c: New file.
2293 * gdb.dwarf2/bad-regnum.exp: New file.
2294
1a70ae97
DE
22952015-10-26 Doug Evans <dje@google.com>
2296
2297 PR python/18938
2298 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2299 file.
2300
27dc26ab
JK
23012015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2302
2303 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2304 for a change by "Mention language in compile error message".
2305
bed91f4d
SM
23062015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2307
2308 PR python/18073
2309 * gdb.python/py-type.c (C::a_method): New.
2310 (C::a_const_method): New.
2311 (C::a_static_method): New.
2312 (a_function): New.
2313 * gdb.python/py-type.exp (test_fields): Test getting fields
2314 from function and method.
2315
3f2f83dd
KB
23162015-10-21 Keven Boell <keven.boell@intel.com>
2317
2318 * gdb.fortran/vla-alloc-assoc.exp: New file.
2319 * gdb.fortran/vla-datatypes.exp: New file.
2320 * gdb.fortran/vla-datatypes.f90: New file.
2321 * gdb.fortran/vla-history.exp: New file.
2322 * gdb.fortran/vla-ptype-sub.exp: New file.
2323 * gdb.fortran/vla-ptype.exp: New file.
2324 * gdb.fortran/vla-sizeof.exp: New file.
2325 * gdb.fortran/vla-sub.f90: New file.
2326 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2327 * gdb.fortran/vla-value-sub-finish.exp: New file.
2328 * gdb.fortran/vla-value-sub.exp: New file.
2329 * gdb.fortran/vla-value.exp: New file.
2330 * gdb.fortran/vla-ptr-info.exp: New file.
2331 * gdb.mi/mi-vla-fortran.exp: New file.
2332 * gdb.mi/vla.f90: New file.
2333
27145d50
SL
23342015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2335
2336 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2337 of hardwired timeout value.
2338
5f3ff4f8
JK
23392015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2340 Pedro Alves <palves@redhat.com>
2341
2342 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2343 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2344
bfd09d20
JS
23452015-10-19 Josh Stone <jistone@redhat.com>
2346
2347 * gdb.base/catch-syscall.c: Include <sched.h>.
2348 (unknown_syscall): New variable.
2349 (main): Trigger a vfork and an unknown syscall.
2350 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2351 (unknown_syscall_number): Likewise.
2352 (check_call_to_syscall): Accept an optional syscall pattern.
2353 (check_return_from_syscall): Likewise.
2354 (check_continue): Likewise.
2355 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2356 (test_catch_syscall_skipping_return): New test toggling off 'catch
2357 syscall' to step over the syscall return, then toggling back on.
2358 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2359 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2360 (do_syscall_tests): Call test_catch_syscall_without_args and
2361 test_catch_syscall_mid_vfork.
2362 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2363 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2364
b32b93c6
AS
23652015-10-19 Andrew Stubbs <ams@codesourcery.com>
2366
2367 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2368 print g_vE): Add new pass patterns.
2369 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2370 print various symbol names for vptr fields.
2371
9d622bda
AB
23722015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2373
2374 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2375 results.
2376
0fd8ac1c
YQ
23772015-10-12 Yao Qi <yao.qi@linaro.org>
2378
2379 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2380
34240514
YQ
23812015-10-12 Yao Qi <yao.qi@linaro.org>
2382
2383 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2384 is aarch64*-*-linux*.
2385
8240f442
YQ
23862015-10-12 Yao Qi <yao.qi@linaro.org>
2387
2388 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2389 (can_relocate_bcond_true): ... it.
2390 (can_relocate_bcond_false): New function.
2391 (foo): Likewise.
2392 (can_relocate_bl): Likewise.
2393 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2394 can_relocate_bl.
2395
2520f728
PMR
23962015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2397
2398 * gdb.base/nested-addr.c: New file.
2399 * gdb.base/nested-addr.exp: New testcase.
2400
abcef95a
MM
24012015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2402
2403 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2404 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2405 its output. Ignore the output of "record goto begin" and instead
2406 check that GDB is replaying.
2407
145e3ddb
PA
24082015-10-09 Pedro Alves <palves@redhat.com>
2409
2410 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2411 (top level): Use it in the run with no args test.
2412
d5d8c4e1
IB
24132015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2414
2415 * gdb.dlang/properties.exp: New file.
2416
06e635ef
SL
24172015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2418
2419 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2420 whether or not address 0x1000 is mapped on the target.
2421
e019fd1d
SM
24222015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2423
2424 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2425 build.
2426
77ba2a67
MM
24272015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2428
2429 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2430 instruction-history test.
2431
c60eb31f
DE
24322015-09-28 Doug Evans <dje@google.com>
2433
2434 * gdb.base/gcore.c (array_func): Add reference to static_array.
2435
9a3c8263
SM
24362015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2437
2438 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2439 source line.
2440
9720e656
SL
24412015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2442
2443 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2444 short or char as base type.
2445
938d3bf2
SL
24462015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2447
2448 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2449 to allow any size enum.
2450
e6c2c623
PMR
24512015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2452
2453 * gdb.ada/array_ptr_renaming.exp: New testcase.
2454 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2455 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2456
06da0f77
PL
24572015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2458
2459 * gdb.trace/ftrace-lock.c: New file.
2460 * gdb.trace/ftrace-lock.exp: New file.
2461
4f51c22a
PL
24622015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2463
2464 * gdb.arch/insn-reloc.c: New file.
2465 * gdb.arch/ftrace-insn-reloc.exp: New file.
2466
7041adf4
PL
24672015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2468
2469 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2470 instruction.
2471 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2472 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2473 * gdb.trace/range-stepping.c: Likewise.
2474 * gdb.trace/trace-break.c: Likewise.
2475 * gdb.trace/trace-mt.c (thread_function): Likewise.
2476 * gdb.trace/ftrace.c (marker): Likewise.
2477 * gdb.trace/trace-condition.c (marker): Likewise.
2478 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2479 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2480 is_aarch64_target.
2481
015d2e7e
DE
24822015-09-18 Doug Evans <xdje42@gmail.com>
2483
2484 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2485 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2486
26b188a2
SL
24872015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2488
2489 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2490 the breakpoint.
2491
79dc332b
SL
24922015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2493
2494 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2495 the pending breakpoint. Remove timeout override for "Run till
2496 MI pending breakpoint on pendfunc3 on thread 2" test.
2497
f57929f2
SL
24982015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2499
2500 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2501 filename pattern.
2502
3f469b17
SL
25032015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2504
2505 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2506 in breakpoint filename pattern.
2507
515b89b3
SL
25082015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2509
7800dbe4
SL
2510 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2511
25122015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2513
515b89b3
SL
2514 * gdb.linespec/explicit.exp: Check for readline support for
2515 tab-completion tests. Fix obvious typo.
2516
d2939ba2
MM
25172015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2518
2519 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2520 and replay.
2521
cbb55fa7
MM
25222015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2523
2524 * gdb.btrace/non-stop.c: New.
2525 * gdb.btrace/non-stop.exp: New.
2526
43691ca1
PL
25272015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2528 Yao Qi <yao.qi@linaro.org>
2529
2530 * gdb.trace/trace-condition.c: New file.
2531 * gdb.trace/trace-condition.exp: New file.
2532
d78908cf
WW
25332015-09-16 Wei-cheng Wang <cole945@gmail.com>
2534
2535 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2536 for testing bytecode compilation.
2537
1ed415e2
PA
25382015-09-16 Pedro Alves <palves@redhat.com>
2539 Sandra Loosemore <sandra@codesourcery.com>
2540
2541 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2542 (SECONDS): Redefine.
2543 (main): Call pthread_kill and alarm early.
2544 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2545 support.
2546 (test): If the target can't hardware step and doesn't support
2547 displaced stepping, increase the timeout.
2548
d136eff5
PA
25492015-09-16 Pedro Alves <palves@redhat.com>
2550
2551 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2552 (enable_debug): New procedures.
2553 (test): Use them. Bail out if waiting for threads fails.
2554 (top level): Bail out if a test fails.
2555
991f019c
YQ
25562015-09-16 Yao Qi <yao.qi@linaro.org>
2557
2558 * gdb.asm/asm-source.exp: Set asm-arch for
2559 aarch64*-*-* target.
2560 * gdb.asm/aarch64.inc: New file.
2561
bfca584f
PMR
25622015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2563
2564 * gdb.ada/array_of_variable_length.exp: New testcase.
2565 * gdb.ada/array_of_variable_length/foo.adb: New file.
2566 * gdb.ada/array_of_variable_length/pck.adb: New file.
2567 * gdb.ada/array_of_variable_length/pck.ads: New file.
2568
b326e587
DE
25692015-09-15 Doug Evans <dje@google.com>
2570
2571 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2572 of function static local variable.
2573
5382cfab
PW
25742015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2575
2576 * gdb.threads/tls-so_extern.exp: New test file.
2577 * gdb.threads/tls-so_extern.c: New test file.
2578 * gdb.threads/tls-so_extern_main.c: New test file.
2579
141c5cc4
JK
25802015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2581
2582 * gdb.opt/solib-intra-step-lib.c: New file.
2583 * gdb.opt/solib-intra-step-main.c: New file.
2584 * gdb.opt/solib-intra-step.exp: New file.
2585
d15dcecd
PA
25862015-09-15 Pedro Alves <palves@redhat.com>
2587
2588 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2589 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2590
4c2f2a79
PA
25912015-09-14 Pedro Alves <palves@redhat.com>
2592
2593 * gdb.base/hook-stop-continue.c: Delete.
2594 * gdb.base/hook-stop-continue.exp: Delete.
2595 * gdb.base/hook-stop-frame.c: Delete.
2596 * gdb.base/hook-stop-frame.exp: Delete.
2597 * gdb.base/hook-stop.c: New file.
2598 * gdb.base/hook-stop.exp: New file.
2599
919e6dbe
PMR
26002015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2601
2602 * gdb.ada/access_to_packed_array.exp: New testcase.
2603 * gdb.ada/access_to_packed_array/foo.adb: New file.
2604 * gdb.ada/access_to_packed_array/pack.adb: New file.
2605 * gdb.ada/access_to_packed_array/pack.ads: New file.
2606
157280a4
MM
26072015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2608
2609 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2610 buffer size test.
2611
2fd33e94
DB
26122015-09-11 Don Breazeal <donb@codesourcery.com>
2613
2614 * gdb.base/foll-exec.c: Add copyright header. Fix
2615 formatting issues.
2616 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2617 (do_exec_tests): Use clean_restart in place of zap_session,
2618 and for test initialization. Fix formatting issues. Use
2619 fail in place of perror.
2620 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2621 an expect statement to match an expression with output from
2622 the program under debug.
2623 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2624 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2625 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2626 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2627 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2628
e70b6e8e
DE
26292015-09-09 Doug Evans <dje@google.com>
2630
2631 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2632
7a551a51
DE
26332015-09-09 Doug Evans <dje@google.com>
2634
2635 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2636
4c666f84
DE
26372015-09-09 Doug Evans <dje@google.com>
2638
2639 * gdb.base/savedregs.exp: Fix typo.
2640
243a9253
PA
26412015-09-09 Pedro Alves <palves@redhat.com>
2642
2643 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2644
c0fa8fbd
SL
26452015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2646
2647 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
2648 command actually switches threads. Give up on remaining
2649 tests if target fails to stop at breakpoint.
2650
cd7c1778
PMR
26512015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2652
2653 * gdb.ada/funcall_char.exp: New testcase.
2654 * gdb.ada/funcall_char/foo.adb: New file.
2655
dc5c8746
PMR
26562015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2657
2658 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2659 expected outputs. Add two testcases for completing ambiguous
2660 functions.
2661 * gdb.ada/complete/aux_pck.adb: New file.
2662 * gdb.ada/complete/aux_pck.ads: New file.
2663 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2664 Ambiguous_Func functions.
2665 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2666 * gdb.ada/complete/pck.adb: Likewise.
2667
4e83a1e7
UW
26682015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2669
2670 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2671 failures to run the test program under GDB.
2672
8ce74153
LM
26732015-08-26 Luis Machado <lgustavo@codesourcery.com>
2674
2675 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2676 to C.
2677
e9756d52
PP
26782015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2679
2680 * gdb.base/run-after-attach.exp: New test file.
2681 * gdb.base/run-after-attach.c: New test file.
2682
8d37573b
DB
26832015-08-26 Don Breazeal <donb@codesourcery.com>
2684
2685 * gdb.base/foll-exec-2.c: New test program.
2686 * gdb.base/foll-exec-2.exp: New test.
2687
63e43d3a
PMR
26882015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2689
2690 * gdb.base/nested-subp1.exp: New file.
2691 * gdb.base/nested-subp1.c: New file.
2692 * gdb.base/nested-subp2.exp: New file.
2693 * gdb.base/nested-subp2.c: New file.
2694 * gdb.base/nested-subp3.exp: New file.
2695 * gdb.base/nested-subp3.c: New file.
2696
3d40fbb5
PA
26972015-08-24 Pedro Alves <palves@redhat.com>
2698
2699 * gdb.server/connect-without-multi-process.c: New file.
2700 * gdb.server/connect-without-multi-process.exp: New file.
2701
4422ac93
LM
27022015-08-24 Luis Machado <lgustavo@codesourcery.com>
2703
2704 * gdb.opt/inline-markers.c: Make z int.
2705
91dddb86
LM
27062015-08-24 Luis Machado <lgustavo@codesourcery.com>
2707
2708 * gdb.opt/inline-markers.c: Make z volatile.
2709
a48847ee
LM
27102015-08-24 Luis Machado <lgustavo@codesourcery.com>
2711
2712 * gdb.opt/inline-bt.c: New volatile global z.
2713 * gdb.opt/inline-cmds.c: Likewise.
2714 * gdb.opt/inline-locals.c: Likewise.
2715 * gdb.opt/inline-markers.c: New extern global z.
2716 (marker): Use z.
2717 (inline_fn): Likewise.
2718
0ebbc52b
PA
27192015-08-24 Pedro Alves <palves@redhat.com>
2720
2721 * config/m32r-stub.exp: Remove file.
2722 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2723 * gdb.base/call-rt-st.exp: Likewise.
2724 * gdb.base/call-strs.exp: Likewise.
2725 * gdb.base/default.exp: Remove references to h8300-*-hms and
2726 *-*-udi*.
2727 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2728
77c365df
AA
27292015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2730
2731 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2732 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2733 and "return" use KFAIL when GDB can not read/write the vector
2734 return value.
2735
4313b8c0
GB
27362015-08-21 Gary Benson <gbenson@redhat.com>
2737
2738 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2739
0e433b32
PA
27402015-08-20 Pedro Alves <palves@redhat.com>
2741
2742 * gdb.server/solib-list.exp: No longer expect an interior stop in
2743 non-stop mode.
2744
221e1a37
PA
27452015-08-20 Pedro Alves <palves@redhat.com>
2746
2747 * gdb.server/connect-stopped-target.c: New file.
2748 * gdb.server/connect-stopped-target.exp: New file.
2749
40e3ad0e
PA
27502015-08-20 Pedro Alves <palves@redhat.com>
2751
2752 * gdb.dwarf2/comp-unit-lang.exp: New file.
2753 * gdb.dwarf2/comp-unit-lang.c: New file.
2754
af39b327
PMR
27552015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2756
2757 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2758 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2759
7d45c7c3 27602015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 2761
7d45c7c3
KB
2762 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2763 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2764
4d6cceb4
DE
27652015-08-18 Doug Evans <dje@google.com>
2766 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2767
2768 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2769 skip_python_tests. New arg prompt_regexp.
2770 (skip_python_tests): New function.
2771 * lib/mi-support.exp (mi_skip_python_tests): New function.
2772 * gdb.python/py-mi-objfile-gdb.py: New file.
2773 * gdb.python/py-mi-objfile.c: New file.
2774 * gdb.python/py-mi-objfile.exp: New file.
2775
ad89c2aa
KS
27762015-08-17 Keith Seitz <keiths@redhat.com>
2777
2778 * gdb.linespec/explicit.exp: Move strace test from here ...
2779 * gdb.trace/strace.exp: ... to here.
2780
e3ae3c43
PP
27812015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2782
2783 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2784 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2785
604b2636
DE
27862015-08-14 Doug Evans <xdje42@gmail.com>
2787
2788 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2789 inferior before selecting a new file.
2790
6ff0ba5f
DE
27912015-08-14 Doug Evans <xdje42@gmail.com>
2792
2793 * gdb.mi/mi-disassemble.exp: Update.
2794 * gdb.base/disasm-optim.S: New file.
2795 * gdb.base/disasm-optim.c: New file.
2796 * gdb.base/disasm-optim.h: New file.
2797 * gdb.base/disasm-optim.exp: New file.
2798
9ca98f92
KS
27992015-08-14 Keith Seitz <keiths@redhat.com>
2800
2801 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2802 "evaluated-by".
2803
52bbc560
JB
28042015-08-13 Joel Brobecker <brobecker@adacore.com>
2805
2806 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2807
5d8c3ed3
PMR
28082015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2809
2810 * gdb.ada/fun_renaming.exp: New testcase.
2811 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2812 * gdb.ada/fun_renaming/pack.adb: New file.
2813 * gdb.ada/fun_renaming/pack.ads: New file.
2814
ea8812bc
KS
28152015-08-12 Keith Seitz <keiths@redhat.com>
2816
2817 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2818 gdb_get_line_number.
2819
4dafcdeb
JB
28202015-08-12 Joel Brobecker <brobecker@adacore.com>
2821
2822 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2823 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2824 gdb.base/dso2dso.exp: New files.
2825
5ba32597
SDJ
28262015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2827 Pedro Alves <palves@redhat.com>
2828 Keith Seitz <keiths@redhat.com>
2829
2830 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2831 GDBFLAGS.
2832
b6dafabf
PP
28332015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2834
2835 * gdb.base/gdbhistsize-history.exp
2836 (test_histsize_history_setting): Use save_vars.
2837 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2838 Use save_vars.
2839 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2840 * gdb.base/readline.exp: Use save_vars.
2841
abe8e607
PP
28422015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2843
2844 * lib/gdb.exp (save_vars): New proc.
2845
629500fa
KS
28462015-08-11 Keith Seitz <keiths@redhat.com>
2847
2848 * gdb.base/help.exp: Update help_breakpoint_text.
2849
eb8c4e2e
KS
28502015-08-11 Keith Seitz <keiths@redhat.com>
2851
2852 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2853 (at toplevel): Call test_explicit_breakpoints.
2854 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2855 breakpoints.
2856 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2857 breakpoint conditions, "-cond".
2858
87f0e720
KS
28592015-08-11 Keith Seitz <keiths@redhat.com>
2860
2861 * gdb.linespec/3explicit.c: New file.
2862 * gdb.linespec/cpexplicit.cc: New file.
2863 * gdb.linespec/cpexplicit.exp: New file.
2864 * gdb.linespec/explicit.c: New file.
2865 * gdb.linespec/explicit.exp: New file.
2866 * gdb.linespec/explicit2.c: New file.
2867 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2868 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2869 before using in the matching pattern.
2870 Clarify that `prefix' is a regular expression.
2871
f00aae0f
KS
28722015-08-11 Keith Seitz <keiths@redhat.com>
2873
2874 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2875 test.
2876 Add tests for missing ",FMT" and ",".
2877
e27852be
DE
28782015-08-10 Doug Evans <dje@google.com>
2879 Keith Seitz <keiths@redhat.com>
2880
2881 PR gdb/17960
2882 * gdb.base/completion.exp: Add location completer tests.
2883
7f03bd92
PA
28842015-08-07 Pedro Alves <palves@redhat.com>
2885
2886 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2887 tests here.
2888 (top level): Run do_test with and without displaced stepping.
2889
3fc8eb30
PA
28902015-08-07 Pedro Alves <palves@redhat.com>
2891
2892 * gdb.base/valgrind-disp-step.c: New file.
2893 * gdb.base/valgrind-disp-step.exp: New file.
2894
d4569d7b
PA
28952015-08-07 Pedro Alves <palves@redhat.com>
2896
2897 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2898 Delete function.
2899 (main): Add alarm. Run an infinite loop instead of calling
2900 wait_threads.
2901 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2902 comment.
2903 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2904 Delete function.
2905 (main): Add alarm. Run an infinite loop instead of calling
2906 wait_threads.
2907 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2908 comment.
2909
e1316e60
PA
29102015-08-07 Pedro Alves <palves@redhat.com>
2911
2912 * gdb.base/checkpoint-ns.exp: New file.
2913 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2914 standard_testfile.
2915
da8c46d2
MM
29162015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2917
2918 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2919 * gdb.btrace/instruction_history.exp: Update.
2920 * gdb.btrace/tsx.exp: New.
2921 * gdb.btrace/tsx.c: New.
2922
de1c2c52
PA
29232015-08-06 Pedro Alves <palves@redhat.com>
2924
2925 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2926 increase timeout.
2927 * gdb.reverse/until-precsave.exp: Bump timeouts.
2928
782e0bf4
PA
29292015-08-06 Pedro Alves <palves@redhat.com>
2930
2931 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2932
83e97ed0
PA
29332015-08-06 Pedro Alves <palves@redhat.com>
2934
2935 PR gdb/18749
2936 * gdb.threads/process-dies-while-handling-bp.c: New file.
2937 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2938
863d01bd
PA
29392015-08-06 Pedro Alves <palves@redhat.com>
2940
2941 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2942 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2943
0a39bb32
PA
29442015-08-05 Pedro Alves <palves@redhat.com>
2945
2946 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2947 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2948
ee2d2b10
SL
29492015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2950
2951 * gdb.base/bp-permanent.exp: Report test as unsupported if
2952 the target cannot stop at the permanent breakpoint.
2953
4e1bdb00
DE
29542015-08-03 Doug Evans <dje@google.com>
2955
2956 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2957 10000.
2958
3d338901
DE
29592015-08-03 Doug Evans <dje@google.com>
2960
2961 * Makefile.in (workers/%.worker, build-perf): New rule.
2962 (GDB_PERFTEST_MODE): New variable.
2963 (check-perf): Use it.
2964 (clean): Clean up gdb.perf parallel build subdirs.
2965 * lib/build-piece.exp: New file.
2966 * lib/gdb.exp (make_gdb_parallel_path): New function
2967 (standard_output_file, standard_temp_file): Call it.
2968 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2969 of $GDB_PARALLEL.
2970 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2971
af061d3e
DE
29722015-08-03 Doug Evans <dje@google.com>
2973
8e1afc81 2974 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
2975 (LOG_FILE_NAME): New global.
2976 (TextReporter.__init__): Initialize self.txt_sum.
2977 (TextReporter.report): Add support for multiple data-points.
2978 Move report to perftest.sum, put raw data in perftest.log.
2979 (TextReporter.start): Open sum and log files.
2980 (TextReporter.end): Close sum and log files.
8e1afc81
DE
2981 * gdb.perf/lib/perftest/testresult.py
2982 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 2983
2c8c5d37
PA
29842015-07-31 Pedro Alves <palves@redhat.com>
2985
2986 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2987 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2988 kill_wait_spawned_process instead of explicit "kill -9".
2989 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2990 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2991 kill_wait_spawned_process.
2992 * gdb.base/attach-twice.exp: Likewise.
2993 * gdb.base/attach.exp: Likewise.
2994 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2995 gdb_test_multiple.
2996 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2997 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2998 kill_wait_spawned_process.
2999 * gdb.base/valgrind-infcall.exp: Likewise.
3000 * gdb.multi/multi-attach.exp: Likewise.
3001 * gdb.python/py-prompt.exp: Likewise.
3002 * gdb.python/py-sync-interp.exp: Likewise.
3003 * gdb.server/ext-attach.exp: Likewise.
3004 * gdb.threads/attach-into-signal.exp (corefunc): Use
3005 spawn_wait_for_attach, spawn_id_get_pid and
3006 kill_wait_spawned_process.
3007 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3008 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3009 spawn_id_get_pid and kill_wait_spawned_process.
3010 * gdb.threads/attach-stopped.exp (corefunc): Use
3011 spawn_wait_for_attach, spawn_id_get_pid and
3012 kill_wait_spawned_process.
3013 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3014 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3015 kill_wait_spawned_process instead of explicit "kill -9".
3016 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3017 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3018 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3019 processes. Don't map cygwin/windows pids here. Now returns a
3020 spawn id list.
3021
032a0fca
SL
30222015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3023
3024 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3025 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3026 correct patch.
3027
61a934ca
SL
30282015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3029
3030 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3031
4bc4d428
SL
30322015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3033
3034 Reapply:
3035 2014-05-21 Mark Wielaard <mjw@redhat.com>
3036
3037 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3038
998d452a
PA
30392015-07-30 Pedro Alves <palves@redhat.com>
3040
3041 * linux-low.c (handle_extended_wait): Set the child's last
3042 reported status to TARGET_WAITKIND_STOPPED.
3043
69dde7dc
PA
30442015-07-30 Pedro Alves <palves@redhat.com>
3045
3046 PR threads/18600
3047 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3048 only shows inferior 1.
3049
4dd63d48
PA
30502015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3051 Pedro Alves <palves@redhat.com>
3052
3053 PR threads/18600
3054 * gdb.threads/fork-plus-threads.c: New file.
3055 * gdb.threads/fork-plus-threads.exp: New file.
3056
d618e4c5
PP
30572015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3058
3059 * gdb.base/batch-preserve-term-settings.exp
3060 (test_terminal_settings_preserved_after_cli_exit): Use
3061 send_quit_command.
3062
1eef6428
PA
30632015-07-29 Pedro Alves <palves@redhat.com>
3064 Don Breazeal <donb@codesourcery.com>
3065
3066 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3067 output from both inferior_spawn_id and gdb_spawn_id.
3068
7da5b897
SDJ
30692015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3070
3071 * gdb.threads/attach-into-signal.exp (corefunc): Use
3072 with_test_prefix on nested loops, uniquefying the test messages.
3073
dac804df
SDJ
30742015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3075
3076 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3077 commit.
3078
06265e53
PP
30792015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3080
3081 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3082 New proc.
3083 (test_terminal_settings_preserved_after_sigterm): New test.
3084
18206ca3
PP
30852015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3086
3087 * gdb.base/batch-preserve-term-settings.exp
3088 (test_terminal_settings_preserved_after_cli_exit): New test.
3089
90074d11
PP
30902015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3091
3092 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3093 manipulation of saved_gdbflags.
3094 (test_terminal_settings_preserved): Remove global declaration of
3095 the unused variable pagination_prompt. Remove manipulation of
3096 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3097 GDBFLAGS.
3098
eb1a7902
PA
30992015-07-29 Pedro Alves <palves@redhat.com>
3100
3101 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3102
8b75dd3b
PA
31032015-07-29 Pedro Alves <palves@redhat.com>
3104
3105 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3106 at the top.
3107
dedad4e3
PA
31082015-07-29 Pedro Alves <palves@redhat.com>
3109
3110 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3111 (main): Call gdb_unbuffer_output.
3112 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3113 (main): Call gdb_unbuffer_output.
3114 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3115 (main): Call gdb_unbuffer_output.
3116 * gdb.base/call-strs.exp: Adjust to step over the
3117 gdb_unbuffer_output call.
3118 * gdb.base/catch-gdb-caused-signals.c: Include
3119 "../lib/unbuffer_output.c".
3120 (main): Call gdb_unbuffer_output.
3121 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3122 (main): Call gdb_unbuffer_output.
3123 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3124 (main): Call gdb_unbuffer_output.
3125 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3126 (main): Call gdb_unbuffer_output.
3127 * gdb.base/shlib-call.exp: Adjust to step over the
3128 gdb_unbuffer_output call.
3129 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3130 (main): Call gdb_unbuffer_output.
3131 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3132 (main): Call gdb_unbuffer_output.
3133 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3134 (main): Rename to ...
3135 (test): ... this.
3136 (main): Reimplement.
3137 * gdb.base/varargs.exp: Run to test instead of to main.
3138 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3139 (main): Call gdb_unbuffer_output.
3140
58789a91
PA
31412015-07-29 Pedro Alves <palves@redhat.com>
3142
3143 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3144 factore out from mi_continue_dprintf. For call-style dprintfs,
3145 expect dprintf output out of $inferior_spawn_id.
3146 (mi_continue_dprintf): Use mi_expect_dprintf.
3147 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3148 (main): Call gdb_unbuffer_output.
3149
e8376742
PA
31502015-07-29 Pedro Alves <palves@redhat.com>
3151
3152 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3153 (default_mi_gdb_start): Set inferior_spawn_id instead of
3154 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3155 gdb_spawn_id.
3156 (mi_gdb_test): Always expect inferior output from both
3157 $inferior_spawn_id and $gdb_spawn_id.
3158
08280010
PA
31592015-07-29 Pedro Alves <palves@redhat.com>
3160
3161 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3162 send_inferior and $inferior_spawn_id.
3163
4d30e432
PA
31642015-07-29 Pedro Alves <palves@redhat.com>
3165
3166 * gdb.gdb/complaints.exp (test_initial_complaints)
3167 (test_serial_complaints, test_short_complaints): Use
3168 gdb_test_stdio.
3169 (test_empty_complaint): Handle $inferior_spawn_id !=
3170 $gdb_spawn_id.
3171
0d30a335
PA
31722015-07-29 Pedro Alves <palves@redhat.com>
3173
3174 * gdb.base/varargs.exp: Use gdb_test_stdio.
3175
39413b29
PA
31762015-07-29 Pedro Alves <palves@redhat.com>
3177
3178 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3179
7cb000a9
PA
31802015-07-29 Pedro Alves <palves@redhat.com>
3181
3182 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3183
d7b8ac82
PA
31842015-07-29 Pedro Alves <palves@redhat.com>
3185
3186 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3187 parameter into two new parameters, "inf_result" and "gdb_result".
3188 Expect inferior output and gdb output from $inferior_spawn_id and
3189 $gdb_spawn_id, respectively. Adjust all callers.
3190
789c3a0c
PA
31912015-07-29 Pedro Alves <palves@redhat.com>
3192
3193 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3194 of gdb_test_sequence.
3195
77e760c3
PA
31962015-07-29 Pedro Alves <palves@redhat.com>
3197
3198 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3199 (saw_spurious_output): Expect inferior output from
3200 $inferior_spawn_id. Use gdb_test_stdio.
3201
8396d2cd
PA
32022015-07-29 Pedro Alves <palves@redhat.com>
3203
3204 * gdb.base/dprintf.exp: Use standard_testfile. Change
3205 prepare_for_testing call.
3206 (srcfile): Don't set.
3207 (restart): New procedure.
3208 (test_dprintf): New procecure, use to continue over dprintfs.
3209 (test_call, test_agent): New procedures, tests moved here.
3210 Restart gdb and recreate dprintfs. Adjust expected output.
3211
2051d61f
PA
32122015-07-29 Pedro Alves <palves@redhat.com>
3213
3214 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3215
452397af
PA
32162015-07-29 Pedro Alves <palves@redhat.com>
3217
3218 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3219
8aed9555
PA
32202015-07-29 Pedro Alves <palves@redhat.com>
3221
3222 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3223 gdb_test_stdio.
3224
188a61b4
PA
32252015-07-29 Pedro Alves <palves@redhat.com>
3226
3227 * lib/gdb.exp (gdb_test_stdio): New procedure.
3228
12264a45
PA
32292015-07-29 Pedro Alves <palves@redhat.com>
3230
3231 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3232
23ffc893
PA
32332015-07-29 Pedro Alves <palves@redhat.com>
3234
3235 * gdb.base/call-signal-resume.exp: Remove check for
3236 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3237 * gdb.base/unwindonsignal.exp: Likewise.
3238 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3239 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3240
65566918
PA
32412015-07-29 Pedro Alves <palves@redhat.com>
3242
3243 * gdb.base/siginfo-addr.c (pass): New function.
3244 (handler): Call it iff si_addr is correct.
3245 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3246 Set a breakpoint at "pass" and continue to it.
3247
d60a9221
SDJ
32482015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3249
3250 * gdb.python/py-objfile.exp: Make some tests have unique names.
3251 * gdb.python/py-pp-registration.exp: Likewise.
3252
bde40b8f
PA
32532015-07-28 Pedro Alves <palves@redhat.com>
3254
3255 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3256
13e1dec8
SM
32572015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3258
3259 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3260
da33c9a7
SM
32612015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3262
3263 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3264
077836f7
PP
32652015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3266
3267 * gdb.base/gdb-sigterm-2.exp: New test.
3268
b8cc7b2e
DE
32692015-07-25 Doug Evans <xdje42@gmail.com>
3270
3271 Revert:
3272 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3273 (workers/%.worker, build-perf): New rule.
3274 (GDB_PERFTEST_MODE): New variable.
3275 (check-perf): Use it.
3276 (clean): Clean up gdb.perf parallel build subdirs.
3277 * lib/build-piece.exp: New file.
3278 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3279 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3280 name.
3281 (standard_temp_file): Ditto.
3282 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3283 of $GDB_PARALLEL.
3284
c8bd4544
DE
32852015-07-24 Doug Evans <dje@google.com>
3286
3287 * gdb.perf/lib/perftest/utils.py: New file.
3288 * gdb.perf/gm-hello.cc: New file.
3289 * gdb.perf/gm-pervasive-typedef.cc: New file.
3290 * gdb.perf/gm-pervasive-typedef.h: New file.
3291 * gdb.perf/gm-std.cc: New file.
3292 * gdb.perf/gm-std.h: New file.
3293 * gdb.perf/gm-use-cerr.cc: New file.
3294 * gdb.perf/gm-utils.h: New file.
3295 * gdb.perf/gmonster-null-lookup.py: New file.
3296 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3297 * gdb.perf/gmonster-print-cerr.py: New file.
3298 * gdb.perf/gmonster-ptype-string.py: New file.
3299 * gdb.perf/gmonster-runto-main.py: New file.
3300 * gdb.perf/gmonster-select-file.py: New file.
3301 * gdb.perf/gmonster1-null-lookup.exp: New file.
3302 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3303 * gdb.perf/gmonster1-print-cerr.exp: New file.
3304 * gdb.perf/gmonster1-ptype-string.exp: New file.
3305 * gdb.perf/gmonster1-runto-main.exp: New file.
3306 * gdb.perf/gmonster1-select-file.exp: New file.
3307 * gdb.perf/gmonster1.cc: New file.
3308 * gdb.perf/gmonster1.exp: New file.
3309 * gdb.perf/gmonster2-null-lookup.exp: New file.
3310 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3311 * gdb.perf/gmonster2-print-cerr.exp: New file.
3312 * gdb.perf/gmonster2-ptype-string.exp: New file.
3313 * gdb.perf/gmonster2-runto-main.exp: New file.
3314 * gdb.perf/gmonster2-select-file.exp: New file.
3315 * gdb.perf/gmonster2.cc: New file.
3316 * gdb.perf/gmonster2.exp: New file.
3317
6eab34f3
DE
33182015-07-24 Doug Evans <dje@google.com>
3319
3320 * gdb.perf/README: New file.
3321 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3322 * lib/gen-perf-test.exp: New file.
3323
63738bfd
DE
33242015-07-24 Doug Evans <dje@google.com>
3325
3326 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3327 (PerfTest::startup): New function.
3328 (PerfTest::run): Return result of calling body.
3329 (PerfTest::assemble): Rewrite.
3330 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3331 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3332 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3333 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3334 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3335
7b606f95
DE
33362015-07-24 Doug Evans <dje@google.com>
3337
3338 * lib/gdb.exp (clean_restart): Make executable optional.
3339
a97b16b8
DE
33402015-07-24 Doug Evans <dje@google.com>
3341
3342 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3343 compiler_info references.
3344 * gdb.cp/temargs.exp: Ditto.
3345 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3346 (get_compiler_info): Early exit if already computed. Set compiler_info
3347 to "unknown" if there was a problem.
3348 (test_compiler_info): Add function comment. Call get_compiler_info.
3349
35baa57f
DE
33502015-07-24 Doug Evans <dje@google.com>
3351
3352 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3353 (workers/%.worker, build-perf): New rule.
3354 (GDB_PERFTEST_MODE): New variable.
3355 (check-perf): Use it.
3356 (clean): Clean up gdb.perf parallel build subdirs.
3357 * lib/build-piece.exp: New file.
3358 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3359 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3360 name.
3361 (standard_temp_file): Ditto.
3362 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3363 of $GDB_PARALLEL.
3364
6ebea266
DE
33652015-07-24 Doug Evans <dje@google.com>
3366
3367 * lib/future.exp (gdb_default_target_compile): New option
3368 "early_flags".
3369 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3370 --as-needed.
3371
1e76a7e9
SDJ
33722015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3373
3374 * gdb.base/catch-syscall.exp: Call gdb_exit before
3375 gdb_skip_xml_test.
3376
5068630a
PA
33772015-07-24 Pedro Alves <palves@redhat.com>
3378
3379 * gdb.python/py-events.exp: Accept output between the stop event
3380 and the prompt.
3381 * gdb.python/py-evsignal.exp: Likewise.
3382 * gdb.python/py-evthreads.exp: Likewise.
3383
77598427
PA
33842015-07-24 Pedro Alves <palves@redhat.com>
3385
3386 PR gdb/18717
3387 * gdb.threads/non-ldr-exit.c: New file.
3388 * gdb.threads/non-ldr-exit.exp: New file.
3389
11e6c98f
YQ
33902015-07-24 Yao Qi <yao.qi@linaro.org>
3391
3392 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3393 restarting process.
3394
51aee833
YQ
33952015-07-24 Yao Qi <yao.qi@linaro.org>
3396
3397 * gdb.server/ext-restart.exp: New file.
3398
8cfe207c
YQ
33992015-07-24 Yao Qi <yao.qi@linaro.org>
3400
3401 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3402 argument options.
3403 * gdb.server/ext-wrapper.exp: New file.
3404
cc12ce38
DE
34052015-07-23 Doug Evans <dje@google.com>
3406
3407 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3408 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3409
d0d84780
PMR
34102015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3411
3412 * gdb.ada/var_arr_typedef.exp: New testcase.
3413 * gdb.ada/var_arr_typedef/pack.adb: New file.
3414 * gdb.ada/var_arr_typedef/pack.ads: New file.
3415 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3416
8b558f79
JB
34172015-07-20 Joel Brobecker <brobecker@adacore.com>
3418
3419 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3420
775a3298
JK
34212015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3422
3423 * gdb.arch/i386-biarch-core.exp: Replace istarget
3424 by "complete set gnutarget". Remove expectation for the "core-file"
3425 command.
3426
db1ff28b
JK
34272015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3428
3429 Revert the previous commit:
3430 Tests for validate symbol file using build-id.
3431
0a94970d
JK
34322015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3433
3434 Tests for validate symbol file using build-id.
3435 * gdb.base/solib-mismatch-lib.c: New file.
3436 * gdb.base/solib-mismatch-libmod.c: New file.
3437 * gdb.base/solib-mismatch.c: New file.
3438 * gdb.base/solib-mismatch.exp: New file.
3439
03346981
SL
34402015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3441
3442 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3443 nios2-*-linux*.
3444 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3445 * gdb.base/siginfo.exp: Likewise.
3446 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3447
42422cc7
PL
34482015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3449
3450 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3451 Move it to ...
3452 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3453 ... here.
3454 * gdb.trace/range-stepping.exp: Check that the target supports
3455 range stepping.
3456
cfa68bae
JK
34572015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3458
3459 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3460
8ffdba26
PA
34612015-07-14 Pedro Alves <palves@redhat.com>
3462
3463 * gdb.base/killed-outside.exp: New file.
3464 * gdb.base/killed-outside.c: New file.
3465
218a5a11
JK
34662015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3467
3468 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3469 (n at main): New.
3470 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3471
e03ed3c6
AA
34722015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3473
3474 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3475 infcall tests instead of setting up for KFAIL.
3476
485668e5
MM
34772015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3478
3479 * gdb.btrace/record_goto-step.exp: New.
3480
08464196
JK
34812015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3482
3483 PR compile/18484
3484 * gdb.compile/compile.c (struct struct_type): Add volatile to
3485 selffield's type.
3486 * gdb.compile/compile.exp
3487 (compile code struct_object.selffield = &struct_object): Skip further
3488 struct_object tests if this one xfails.
3489
bcf5c1d9
RC
34902015-07-08 Robert O'Callahan <robert@ocallahan.org>
3491
3492 PR exp/18617
3493 * gdb.trace/ax.exp: Add test.
3494
4931af25
YQ
34952015-07-07 Yao Qi <yao.qi@linaro.org>
3496
3497 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3498 instead of istarget "aarch64*-*-*".
3499 * gdb.arch/aarch64-fp.exp: Likewise.
3500 * gdb.base/float.exp: Likewise.
3501 * gdb.reverse/aarch64.exp: Likewise.
3502 * lib/gdb.exp (is_aarch64_target): New proc.
3503
9fcf688e
YQ
35042015-07-07 Yao Qi <yao.qi@linaro.org>
3505
3506 * lib/gdb.exp (is_aarch32_target): New proc.
3507 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3508 instead of "istarget "arm*-*-*"".
3509 * gdb.arch/arm-disp-step.exp: Likewise.
3510 * gdb.arch/thumb-bx-pc.exp: Likewise.
3511 * gdb.arch/thumb-prologue.exp: Likewise.
3512 * gdb.arch/thumb-singlestep.exp: Likewise.
3513 * gdb.base/disp-step-syscall.exp: Likewise.
3514 * gdb.base/float.exp: Likewise.
3515
fbd8d50d
YQ
35162015-07-07 Yao Qi <yao.qi@linaro.org>
3517
3518 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3519 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3520
71be1fdc
YQ
35212015-07-07 Yao Qi <yao.qi@linaro.org>
3522
3523 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3524 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3525 if it exists.
3526 * gdb.multi/multi-arch.exp: Likewise.
3527
3e221d36
SM
35282015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3529
3530 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3531 print.
3532
d441430b
YQ
35332015-07-07 Yao Qi <yao.qi@linaro.org>
3534
3535 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3536
06f810bd
MG
35372015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3538
3539 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3540 '[' and ']' characters.
3541
5e61e7c0
IB
35422015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3543
3544 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3545
28bf096c
PA
35462015-06-29 Pedro Alves <palves@redhat.com>
3547
3548 PR threads/18127
3549 * gdb.threads/hand-call-new-thread.c: New file.
3550 * gdb.threads/hand-call-new-thread.c: New file.
3551
ee93cd5e
KS
35522015-06-26 Keith Seitz <keiths@redhat.com>
3553 Doug Evans <dje@google.com>
3554
3555 PR 16253
3556 * gdb.cp/var-tag-2.cc: New file.
3557 * gdb.cp/var-tag-3.cc: New file.
3558 * gdb.cp/var-tag-4.cc: New file.
3559 * gdb.cp/var-tag.cc: New file.
3560 * gdb.cp/var-tag.exp: New file.
3561
fc637f04
PP
35622015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3563
3564 * gdb.base/history-duplicates.exp: New test.
3565
2e52ae68
PP
35662015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3567
3568 * gdb.base/completion.exp: Test the completion of the "focus"
3569 command.
3570
6e22494e
JK
35712015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3572
3573 * gdb.arch/amd64-prologue-skip.S: New file.
3574 * gdb.arch/amd64-prologue-skip.exp: New file.
3575
bf7b9cd9
SM
35762015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3577
3578 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3579 is_address_zero_readable check.
3580
201e8dfd
PB
35812015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3582
3583 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3584 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3585
5cd867b4
YQ
35862015-06-24 Yao Qi <yao.qi@linaro.org>
3587
3588 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3589 linux targets.
3590
4d7be007
YQ
35912015-06-24 Yao Qi <yao.qi@linaro.org>
3592
3593 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3594 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3595 * gdb.base/siginfo-thread.exp: Likewise.
3596
07fcd301
YQ
35972015-06-22 Yao Qi <yao.qi@linaro.org>
3598
3599 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3600
52042a00
YQ
36012015-06-22 Yao Qi <yao.qi@linaro.org>
3602
3603 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3604 aarch64*-*-*.
3605 (skip_hw_watchpoint_tests): Likewise.
3606
74bd41ce
PP
36072015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3608
3609 * gdb.base/gdbinit-history.exp: Test the interaction between
3610 setting GDBHISTSIZE and setting the history size via .gdbinit.
3611
bc460514
PP
36122015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3613
3614 PR gdb/16999
3615 * gdb.base/gdbhistsize-history.exp: New test.
3616
b58c513b
PP
36172015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3618
3619 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3620 with GDBHISTSIZE.
3621 * gdb.base/readline.exp: Likewise.
3622
92046791
YQ
36232015-06-17 Yao Qi <yao.qi@linaro.org>
3624
3625 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3626 line.
3627
2093d2d3
PP
36282015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3629
3630 * gdb.base/gdbinit-history.exp: Add test case to check that
3631 an unlimited history file does not get truncated on exit.
3632
e6c693af
AA
36332015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3634
3635 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3636 (VECTOR): New macro. Use it...
3637 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3638 ...for these typedefs.
3639 (int8, char1, int1, double1): New typedefs.
3640 (struct just_int2, struct two_int2): New structures.
3641 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3642 (add_structvecs, add_singlevecs): New functions.
3643 (main): Call add_some_intvecs twice.
3644 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3645 the compile and exit upon failure. Try compiling for the "native"
3646 architecture. Test inferior function calls with vector arguments
3647 and vector return value handling with "finish" and "return".
3648
c74f7d1c
JT
36492015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3650
3651 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3652 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3653 PE file.
3654 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3655
98aa42ee
AT
36562015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3657
3658 PR breakpoints/16465
3659 * gdb.mi/mi-dprintf-pending.c: New file.
3660 * gdb.mi/mi-dprintf-pending.exp: New test.
3661 * gdb.mi/mi-dprintf-pendshr.c: New file.
3662
7d73c23c 36632015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 3664 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
3665
3666 * gdb.arch/i386-mpx-map.c: New file.
3667 * gdb.arch/i386-mpx-map.exp: New File.
3668
36692015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3670
3671 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3672 * gdb.arch/i386-mpx.exp: Indentation fixed.
3673
36742015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3675
3676 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3677 function and improved indentation.
3678 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3679 gdb_test_multiple. Added additional tests to skip the test.
3680
36812015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3682
3683 * gdb.arch/i386-avx512.c: Change path in include file.
3684 * gdb.arch/i386-avx512.exp: Change include dir path
3685 compilation flag.
3686 * gdb.arch/i386-mpx.c: Change path in include file.
3687 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3688 flag.
3689
d5eba19a
JK
36902015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3691
3692 * gdb.compile/compile-print.exp (compile print *vararray@3)
3693 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3694
7f361056
JK
36952015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3696
3697 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3698 (do not keep jit in memory): ... this.
3699 (expect 5): Change it to ...
3700 (expect no 5): ... this.
3701
3b462ec2
SM
37022015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3703
3704 PR gdb/15564
3705 * gdb.mi/mi-detach.exp: New file.
3706
e0619de6
JK
37072015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3708
3709 PR symtab/18392
3710 * gdb.arch/amd64-tailcall-self.S: New file.
3711 * gdb.arch/amd64-tailcall-self.c: New file.
3712 * gdb.arch/amd64-tailcall-self.exp: New file.
3713
e970cb34
DB
37142015-05-28 Don Breazeal <donb@codesourcery.com>
3715
3716 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3717 tests for remote targets by checking is_target_gdbserver.
3718
b2e2f908
DE
37192015-05-27 Doug Evans <dje@google.com>
3720
3721 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3722 * gdb.dwarf2/opaque-type-lookup.c: New file.
3723 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3724
82c7be31
DE
37252015-05-26 Doug Evans <dje@google.com>
3726
3727 * gdb.cp/iostream.cc: New file.
3728 * gdb.cp/iostream.exp: New file.
3729
b4f54984
DE
37302015-05-26 Doug Evans <dje@google.com>
3731
3732 * gdb.dwarf2/dw2-op-call.exp: Update.
3733 * gdb.dwarf2/dw4-sig-types.exp: Update.
3734 * gdb.dwarf2/implptr.exp: Update.
3735 * gdb.mi/mi-cmd-param-changed.exp: Update.
3736
4ea6efe9
DE
37372015-05-26 Doug Evans <dje@google.com>
3738
3739 * gdb.python/py-lazy-string.c: New file.
3740 * gdb.python/py-lazy-string.exp: New file.
3741 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3742 (main): Update. Add estring3.
3743 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3744 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3745
f6bb7db3
YQ
37462015-05-26 Omair Javaid <omair.javaid@linaro.org>
3747 Yao Qi <yao.qi@linaro.org>
3748
3749 * gdb.reverse/aarch64.c: New.
3750 * gdb.reverse/aarch64.exp: New.
3751
a81bfbd0
OJ
37522015-05-26 Omair Javaid <omair.javaid@linaro.org>
3753
25d49b86
PA
3754 * lib/gdb.exp (supports_process_record): Return true for
3755 aarch64*-linux*.
a81bfbd0
OJ
3756 (supports_reverse): Likewise.
3757
158bf1b4
PP
37582015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3759
3760 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3761 Use with_test_prefix.
3762
a0145030
AB
37632015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3764
3765 * gdb.base/completion.exp: Add test for completion of layout
3766 names.
3767
ebe3b578
AB
37682015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3769
3770 * lib/gdb.exp (skip_tui_tests): New proc.
3771 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3772
84204ed7
PA
37732015-05-19 Pedro Alves <palves@redhat.com>
3774
3775 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3776 Save the whole env array instead of just HOME. Unset HISTSIZE in
3777 the environment while testing. Restore whole environment
3778 afterwards.
3779
37442ce1
DE
37802015-05-16 Doug Evans <xdje42@gmail.com>
3781
3782 * gdb.guile/scm-ports.c: New file.
3783 * gdb.guile/scm-ports.exp: Add memory port tests.
3784
36de76f9
JK
37852015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3786
3787 * gdb.compile/compile-print.c: New file.
3788 * gdb.compile/compile-print.exp: New file.
3789
3a9558c4
JK
37902015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3791
3792 * gdb.compile/compile-ops.exp: Cast param to void.
3793 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3794 (compile code struct_object.selffield = &struct_object): Add xfail.
3795
aa715135
JG
37962015-05-15 Joel Brobecker <brobecker@adacore.com>
3797
3798 * gdb.ada/arr_enum_with_gap: New testcase.
3799
931e5bc3
JG
38002015-05-15 Joel Brobecker <brobecker@adacore.com>
3801
3802 * gdb.ada/byte_packed_arr: New testcase.
3803
9cd4d857
JB
38042015-05-15 Joel Brobecker <brobecker@adacore.com>
3805
3806 * gdb.ada/pckd_neg: New testcase.
3807
ebfd00d2
PP
38082015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3809
3810 PR gdb/17820
3811 * gdb.base/gdbinit-history.exp: New test.
3812 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3813 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3814
4c082a81
SC
38152015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3816
3817 * gdb.python/py-xmethods.cc: Enhance test case.
3818 * gdb.python/py-xmethods.exp: New tests.
3819 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3820 function.
3821 (B_indexoper): Likewise.
3822 (global_dm_list) : Add new xmethod worker functions.
3823
f7797074
SDJ
38242015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3825
3826 * gdb.base/coredump-filter.exp: Correctly unset
3827 "coredump_var_addr" array.
3828
a4674e4e
PA
38292015-05-08 Pedro Alves <palves@redhat.com>
3830
3831 * gdb.server/non-existing-program.exp: Unset spawn_id.
3832
df2eb078
SC
38332015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3834
3835 PR python/18291
3836 * gdb.python/py-xmethods.exp: Add tests.
3837
422349a3
YQ
38382015-05-08 Yao Qi <yao.qi@linaro.org>
3839
3840 PR gdb/18208
3841 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3842 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3843 function set_coredump_filter, and remove remote_exec call.
3844 Remove argument ipid. Callers update.
3845 (top level): Don't get inferior's PID.
3846
63fc80ce
AA
38472015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3848
3849 * gdb.base/watch_thread_num.exp: Skip test on targets without
3850 access watchpoints.
3851
80ad801e
PA
38522015-05-06 Pedro Alves <palves@redhat.com>
3853
3854 PR server/18081
3855 * gdb.server/non-existing-program.exp: New file.
3856
0fa7fe50
JB
38572015-05-05 Joel Brobecker <brobecker@adacore.com>
3858
3859 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3860
3ea89b92
PMR
38612015-05-05 Joel Brobecker <brobecker@adacore.com>
3862
3863 * gdb.ada/out_of_line_in_inlined: New testcase.
3864
87b8eff0
JB
38652015-05-05 Joel Brobecker <brobecker@adacore.com>
3866
3867 * gdb.ada/var_rec_arr: New testcase.
3868
5fccc635
YQ
38692015-04-30 Yao Qi <yao.qi@linaro.org>
3870
3871 * gdb.base/break-idempotent.exp: If
3872 skip_hw_watchpoint_multi_tests returns true, skip the tests
3873 on "rwatch" and "awatch".
3874
42d38f42
YQ
38752015-04-30 Yao Qi <yao.qi@linaro.org>
3876
3877 * gdb.base/relativedebug.exp: Invoke gdb command
3878 "info sharedlibrary", and if libc.so doesn't have debug info,
3879 skip the test.
3880
2ce1cdbf
DE
38812015-04-29 Doug Evans <dje@google.com>
3882
3883 * gdb.python/py-xmethods.exp: Add ptype tests.
3884 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3885 get_result_type method.
3886
f24a38c5
LM
38872015-04-29 Luis Machado <lgustavo@codesourcery.com>
3888
3889 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3890 the target does not support hardware watchpoints.
3891
ecbf2b3c
LM
38922015-04-29 Luis Machado <lgustavo@codesourcery.com>
3893
3894 * gdb.base/break-always.exp: Abort testing if writing to memory
3895 causes an error.
3896
34f5f757
DE
38972015-04-28 Doug Evans <dje@google.com>
3898
3899 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3900 * gdb.python/py-pp-registration.exp: ... here. New file.
3901 * gdb.python/py-pp-registration.c: New file.
3902 * gdb.python/py-pp-registration.py: New file.
3903
69b4374a
DE
39042015-04-28 Doug Evans <dje@google.com>
3905
3906 * gdb.python/py-bad-printers.c: New file.
3907 * gdb.python/py-bad-printers.py: New file.
3908 * gdb.python/py-bad-printers.exp: New file.
3909
59fb7612
SS
39102015-04-28 Sasha Smundak <asmundak@google.com>
3911
3912 * gdb.python/py-type.exp: New test.
3913
2631b16a
AW
39142015-04-28 Andy Wingo <wingo@igalia.com>
3915
3916 * gdb.python/py-parameter.exp:
3917 * gdb.guile/scm-parameter.exp: Escape the path that we are
3918 matching against, as it might contain characters that are special
3919 to regular expressions.
3920
460efde1
JB
39212015-04-27 Joel Brobecker <brobecker@adacore.com>
3922
3923 * gdb.ada/rec_comp: New testcase.
3924
2d369d8e
SDJ
39252015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3926
3927 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3928 before using it.
3929
cf75d6c3
AB
39302015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3931
3932 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3933 new tests for verilog output.
3934
8dbe7ca5
YQ
39352015-04-24 Yao Qi <yao.qi@linaro.org>
3936
3937 * boards/remote-gdbserver-on-localhost.exp: New file.
3938
4ef9fb2f
PA
39392015-04-23 Pedro Alves <palves@redhat.com>
3940
3941 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3942 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3943 "end of file", remove $inferior_spawn_id from the indirect list.
3944
0a803169
PA
39452015-04-23 Pedro Alves <palves@redhat.com>
3946
3947 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3948
749ef8f8
PA
39492015-04-23 Pedro Alves <palves@redhat.com>
3950
3951 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3952 on $any_spawn_id instead of only on $gdb_spawn_id.
3953
8aae4344
PM
39542015-04-21 Pierre Muller <muller@sourceware.org>
3955
3956 PR pascal/17815
3957 * lib/pascal.exp (gpc_compile): Add new option "class".
3958 (fpc_compile): Likewise.
3959 * gdb.pascal/case-insensitive-symbols.pas: New file.
3960 * gdb.pascal/case-insensitive-symbols.exp: New file.
3961
1586c8fb
GB
39622015-04-20 Gary Benson <gbenson@redhat.com>
3963
3964 * gdb.base/attach.exp: Fix three extended remote failures.
3965
1b6e6f5c
GB
39662015-04-17 Gary Benson <gbenson@redhat.com>
3967
3968 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3969 the main executable over the remote protocol.
3970
e797481d
PA
39712015-04-16 Pedro Alves <palves@redhat.com>
3972
3973 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3974 a new gdbserver if gdbserver_reconnect_p is set.
3975
1ca99c42
PA
39762015-04-16 Pedro Alves <palves@redhat.com>
3977
3978 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3979 is set, don't exit gdbserver.
3980
af9fd6f8
AA
39812015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3982
3983 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3984 appropriate .insn, such that an older assembler can be used.
3985 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3986 the z/Architecture instruction set on 31-bit targets as well.
3987
04ff1e61
AA
39882015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3989
3990 * gdb.go/handcall.exp: Remove all logic related to the first
3991 breakpoint and rely on go_runto_main instead.
3992 * gdb.go/strings.exp: Likewise.
3993 * gdb.go/unsafe.exp: Likewise.
3994 * gdb.go/hello.exp: Likewise. Also rename the remaining
3995 breakpoint marker to "breakpoint 1".
3996 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3997 * gdb.go/strings.go: Likewise.
3998 * gdb.go/unsafe.go: Likewise.
3999 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4000 "set breakpoint 2 here" and rename the remaining breakpoint marker
4001 to "breakpoint 1".
4002
40d2f8d6
SM
40032015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4004
4005 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4006 if itertools.imap is not present.
4007 * gdb.python/py-objfile.exp: Add parentheses.
4008 * gdb.python/py-type.exp: Same.
4009 * gdb.python/py-unwind-maint.py: Same.
4010
8cbc97c6
YQ
40112015-04-15 Yao Qi <yao.qi@linaro.org>
4012
4013 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4014 of ":$ptr_size" and set its form explicitly.
4015
45fd756c
YQ
40162015-04-15 Pedro Alves <palves@redhat.com>
4017 Yao Qi <yao.qi@linaro.org>
4018
4019 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4020 timeout by factor of 4.
4021 (test_regular_watch): Likewise.
4022 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4023 * gdb.reverse/sigall-reverse.exp: Likewise.
4024 * gdb.reverse/until-precsave.exp: Likewise.
4025 * lib/gdb.exp (with_timeout_factor): New proc.
4026 (gdb_expect): Move some code to ...
4027 (get_largest_timeout): ... here. New procedure.
4028
9e811bc3
LM
40292015-04-14 Luis Machado <lgustavo@codesourcery.com>
4030
4031 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4032
0ff6fcb2
LM
40332015-04-13 Luis Machado <lgustavo@codesourcery.com>
4034
4035 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4036 to write to the .text section.
4037
7578d5f7
LM
40382015-04-13 Luis Machado <lgustavo@codesourcery.com>
4039
4040 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4041 Handle the case of targets that do not provide PID information.
4042
2efe15c4
YQ
40432015-04-13 Yao Qi <yao.qi@linaro.org>
4044
4045 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4046 and use expect instead of gdb_expect.
4047
8cd8f2f8
SDJ
40482015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4049
4050 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4051 "coredump_var_addr" to avoid naming conflict with other testcases.
4052
9ee41772
PA
40532015-04-10 Pedro Alves <palves@redhat.com>
4054
4055 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4056 gdb_test_sequence and gdb_assert.
4057
07473109
PA
40582015-04-10 Pedro Alves <palves@redhat.com>
4059
4060 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4061 test messages that don't include the breakpoint address.
4062
de3db44c
YQ
40632015-04-10 Yao Qi <yao.qi@linaro.org>
4064
4065 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4066 false for some offset and width combinations which aren't
4067 supported by linux kernel.
4068
c79d856c
PA
40692015-04-10 Pedro Alves <palves@redhat.com>
4070
4071 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4072 procedure, factored out from ...
4073 (top level): ... here. Add "set displaced-stepping" testing axis.
4074 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4075 parameter "displaced". Use it.
4076 (top level): Use foreach and add "set displaced-stepping" testing
4077 axis.
4078
ebc90b50
PA
40792015-04-10 Pedro Alves <palves@redhat.com>
4080
4081 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4082 Remove comment.
4083 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4084 both the address of the instruction that triggers the watchpoint
4085 and the address of the instruction immediately after, and use
4086 those addresses for the test. Fix comment.
4087
8f572e5c
PA
40882015-04-10 Pedro Alves <palves@redhat.com>
4089
4090 * gdb.base/sigstep.exp (breakpoint_to_handler)
4091 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4092 Test "backtrace" in handler.
4093 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4094 (top level): Add new "displaced" test axis to
4095 breakpoint_to_handler, breakpoint_to_handler_entry and
4096 breakpoint_over_handler.
4097
8d707a12
PA
40982015-04-10 Pedro Alves <palves@redhat.com>
4099
4100 PR gdb/18216
4101 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4102
ef713951
YQ
41032015-04-10 Yao Qi <yao.qi@linaro.org>
4104
4105 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4106 (test_add_rn_pc): New function.
4107 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4108 (top level): Invoke test_add_rn_pc.
4109
906d60cf
PA
41102015-04-10 Pedro Alves <palves@redhat.com>
4111
4112 PR gdb/13858
4113 * gdb.base/step-over-no-symbols.exp: New file.
4114
f2983cc3
AW
41152015-04-09 Andy Wingo <wingo@igalia.com>
4116
4117 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4118 after the Python tests.
4119
6d62641c
SDJ
41202015-04-08 Keith Seitz <keiths@redhat.com>
4121
4122 PR python/16699
4123 * gdb.python/py-completion.exp: New tests for completion.
4124 * gdb.python/py-completion.py (CompleteLimit1): New class.
4125 (CompleteLimit2): Likewise.
4126 (CompleteLimit3): Likewise.
4127 (CompleteLimit4): Likewise.
4128 (CompleteLimit5): Likewise.
4129 (CompleteLimit6): Likewise.
4130 (CompleteLimit7): Likewise.
4131
f3770638
PA
41322015-04-08 Pedro Alves <palves@redhat.com>
4133
4134 PR gdb/18214
4135 PR gdb/18216
4136 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4137 function.
4138 (main): Install it as SIGUSR1 handler.
4139 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4140 parameter. Always use "setup" as prefix. Toggle "set
4141 displaced-stepping" off/on depending on global. Don't switch to
4142 thread 1 here.
4143 (top level): Add displaced stepping "off/on" test axis. Update
4144 "setup" calls. Wrap each subtest with with_test_prefix. Test
4145 continuing with a queued signal in each thread.
4146
4496bed7
PA
41472015-04-08 Pedro Alves <palves@redhat.com>
4148
4149 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4150 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4151 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4152 Return early if running to main fails.
4153 * gdb.trace/while-stepping.exp: Likewise.
4154
b97fde92
PA
41552015-04-07 Pedro Alves <palves@redhat.com>
4156
4157 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4158 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4159 interact with inferior program.
4160
f71c18e7
PA
41612015-04-07 Pedro Alves <palves@redhat.com>
4162
4163 * lib/gdb.exp (inferior_spawn_id): New global.
4164 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4165 spawn id after processing the user code.
4166 (default_gdb_start): Set inferior_spawn_id.
4167 (send_inferior): New procedure.
4168 * lib/gdbserver-support.exp (gdbserver_start): Set
4169 inferior_spawn_id.
4170 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4171
6423214f
PA
41722015-04-07 Pedro Alves <palves@redhat.com>
4173
4174 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4175 * lib/gdbserver-support.exp (gdbserver_start): Make
4176 $server_spawn_id global.
4177 (gdbserver_start): Don't wait for gdbserver's spawn id with
4178 expect_background.
4179 (close_gdbserver): New procedure.
4180 (gdb_exit): Rename the default version and reimplement.
4181
71c0ee8c
PA
41822015-04-07 Pedro Alves <palves@redhat.com>
4183
72f4393d 4184 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
4185 append the substituted item, not the original item.
4186
203bc29b
PA
41872015-04-07 Pedro Alves <palves@redhat.com>
4188
4189 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4190 gdb_expect.
4191
508a3ddf
PA
41922015-04-07 Pedro Alves <palves@redhat.com>
4193
4194 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4195 output appearing once only.
4196
9f6dbe2b
PA
41972015-04-07 Pedro Alves <palves@redhat.com>
4198
4199 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4200 that doesn't expect anything. Return early if running to main
4201 fails.
4202
337532fa
YQ
42032015-04-07 Yao Qi <yao.qi@linaro.org>
4204
4205 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4206 (child_function): Call alarm.
4207 (main): Move call to alarm into the loop.
4208 * gdb.threads/non-stop-fair-events.exp: Build program with
4209 -DTIMEOUT=$timeout.
4210
01b622d4
DE
42112015-04-06 Doug Evans <xdje42@gmail.com>
4212
4213 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4214 Fix dest parameter to board_info.
4215 (fpc_compile): Ditto.
4216 (gdb_compile_pascal): Rename dest arg to destfile.
4217
961f4160
PMR
42182015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4219
4220 * gdb.ada/funcall_ref.exp: New file.
4221 * gdb.ada/funcall_ref/foo.adb: New file.
4222
cafda597
YQ
42232015-04-02 Yao Qi <yao.qi@linaro.org>
4224
4225 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4226 is remote.
4227
fed040c6
GB
42282015-04-02 Gary Benson <gbenson@redhat.com>
4229
4230 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4231
d11916aa
SS
42322015-04-01 Sasha Smundak <asmundak@google.com>
4233
4234 * gdb.python/py-unwind-maint.c: New file.
4235 * gdb.python/py-unwind-maint.exp: New test.
4236 * gdb.python/py-unwind-maint.py: New file.
4237 * gdb.python/py-unwind.c: New file.
4238 * gdb.python/py-unwind.exp: New test.
4239 * gdb.python/py-unwind.py: New test.
4240
a1471180
PA
42412015-04-01 Pedro Alves <palves@redhat.com>
4242
4243 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4244 to fail instead of non-existent $test.
4245
0bbeccb1
PA
42462015-04-01 Pedro Alves <palves@redhat.com>
4247
4248 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4249 GDBFLAGS if not empty.
4250
3c724c8c
PMR
42512015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4252
4253 * gdb.ada/complete.exp: Remove "multi_line".
4254 * gdb.ada/info_exc.exp: Remove "multi_line".
4255 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4256 * gdb.ada/ptype_field.exp: Remove "multi_line".
4257 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4258 * gdb.ada/tagged.exp: Remove "multi_line".
4259 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4260 [multi_line ...]
4261 * gdb.btrace/delta.exp: Likewise.
4262 * gdb.btrace/exception.exp: Likewise.
4263 * gdb.btrace/function_call_history.exp: Likewise.
4264 * gdb.btrace/instruction_history.exp: Likewise.
4265 * gdb.btrace/nohist.exp: Likewise.
4266 * gdb.btrace/record_goto.exp: Likewise.
4267 * gdb.btrace/segv.exp: Likewise.
4268 * gdb.btrace/stepi.exp: Likewise.
4269 * gdb.btrace/tailcall.exp: Likewise.
4270 * gdb.btrace/unknown_functions.exp: Likewise.
4271 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4272 * lib/gdb.exp: Add the "multi_line" helper.
4273
4eec2deb
PA
42742015-04-01 Pedro Alves <palves@redhat.com>
4275
4276 * gdb.threads/tid-reuse.c: New file.
4277 * gdb.threads/tid-reuse.exp: New file.
4278
df8411da
SDJ
42792015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4280
4281 PR corefiles/16092
4282 * gdb.base/coredump-filter.c: New file.
4283 * gdb.base/coredump-filter.exp: Likewise.
4284
6ef37366
PM
42852015-03-27 Petr Machata <pmachata@redhat.com>
4286
4287 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4288 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4289 (Dwarf::assemble): Initialize them.
4290 (Dwarf::lines): New function.
4291
7ec911b0
JT
42922015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4293
4294 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4295 SYMBOL_PREFIX for x86_64-*-cygwin.
4296
ff908ebf
AW
42972015-03-26 Andy Wingo <wingo@igalia.com>
4298
4299 PR symtab/18148
4300 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4301 const_value but not a location.
4302 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4303 location defined in non-main CUs are visible.
4304
6d5f0679
YQ
43052015-03-26 Yao Qi <yao.qi@linaro.org>
4306
4307 PR testsuite/18139
4308 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4309 Add a line number entry for the same line.
4310 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4311 Add a line number entry for the same line.
4312
2898689b
YQ
43132015-03-26 Yao Qi <yao.qi@linaro.org>
4314
4315 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4316 .int 0.
4317 (func): Likewise. Add .Lfunc_1 label.
4318 Use .Lfunc_1 label.
4319 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4320 .int 0.
4321 (func): Likewise.
4322 Use .Lfunc_1 label.
4323
85180498
YQ
43242015-03-26 Yao Qi <yao.qi@linaro.org>
4325
4326 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4327 Call gdb_compile instead to compile each .s files without debug
4328 information.
4329
8aa08a8d
YQ
43302015-03-26 Yao Qi <yao.qi@linaro.org>
4331
4332 * gdb.base/savedregs.exp (process_saved_regs): Make
4333 "Saved registers:" optional in the pattern.
4334
66849923
MM
43352015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4336
4337 * gdb.btrace/next.exp: Merged into step.exp.
4338 * gdb.btrace/finish.exp: Merged into step.exp.
4339 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4340 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4341 "record goto" and checking the exact replay position.
4342 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4343 check for "Recording format" in "info record" output.
4344 * gdb.btrace/record_goto.exp: Choose test file based on target.
4345 * gdb.btrace/x86-record_goto.S: Renamed into ...
4346 * gdb.btrace/x86_64-record_goto.S: ... this.
4347 * gdb.btrace/i686-record_goto.S: New.
4348 * gdb.btrace/x86-tailcall.S: Renamed into ...
4349 * gdb.btrace/x86_64-tailcall.S: ... this.
4350 * gdb.btrace/i686-tailcall.S: New.
4351 * gdb.btrace/x86-tailcall.c: Renamed into ...
4352 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4353 separate statements. Update test.
4354 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4355 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4356 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4357 * gdb.btrace/tailcall.exp: Choose test file based on target.
4358 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4359
11cc1b74
MM
43602015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4361
4362 * gdb.btrace/exception.exp: Increase BTS buffer size.
4363
a25d8bf9
PA
43642015-03-24 Pedro Alves <palves@redhat.com>
4365
4366 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4367
856e7dd6
PA
43682015-03-24 Pedro Alves <palves@redhat.com>
4369
4370 * gdb.threads/schedlock.exp (test_step): No longer expect that
4371 "set scheduler-locking step" with "next" over a function call runs
4372 threads unlocked.
4373
ad235a41
AT
43742015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4375
4376 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4377
15630549
AT
43782015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4379
4380 PR breakpoints/16466
4381 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4382 * gdb.mi/mi-pending.c (thread_func): New function.
4383 (int main): Add threading support required.
4384 * gdb.mi/mi-pending.exp: Add tests for this issue.
4385 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4386 (pendfunc2): Remove stdio dependency.
4387 * gdb.mi/mi-pendshr2.c: New file.
4388
693dca06
KS
43892015-03-23 Keith Seitz <keiths@redhat.com>
4390
4391 * gdb.linespec/keywords.c: New file.
4392 * gdb.linespec/keywords.exp: New file.
4393
7e993ebf
KS
43942015-03-23 Keith Seitz <keiths@redhat.com>
4395
4396 PR gdb/18021
4397 * gdb.dwarf2/staticvirtual.exp: New test.
4398
bc23328c
JK
43992015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4400
4401 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4402 * README: Remove HP-UX and gdb.hp.
4403 (configuration):
4404 * configure: Regenerate.
4405 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4406 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4407 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4408 gdb.hp/gdb.defects/Makefile.
4409 * gdb.hp/Makefile.in: File deleted.
4410 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4411 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4412 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4413 * gdb.hp/gdb.aCC/run.c: File deleted.
4414 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4415 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4416 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4417 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4418 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4419 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4420 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4421 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4422 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4423 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4424 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4425 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4426 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4427 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4428 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4429 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4430 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4431 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4432 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4433 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4434 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4435 * gdb.hp/gdb.compat/average.c: File deleted.
4436 * gdb.hp/gdb.compat/sum.c: File deleted.
4437 * gdb.hp/gdb.compat/xdb.c: File deleted.
4438 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4439 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4440 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4441 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4442 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4443 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4444 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4445 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4446 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4447 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4448 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4449 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4450 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4451 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4452 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4453 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4454 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4455 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4456 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4457 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4458 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4459 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4460 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4461 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4462 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4463 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4464 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4465 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4466 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4467 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4468 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4469 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4470 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4471 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4472 * gdb.hp/tools/odump: File deleted.
4473
8bf3b159
PA
44742015-03-19 Pedro Alves <palves@redhat.com>
4475
4476 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4477 (saw_thread_3): New globals.
4478 (top level): Increment them when an event for the corresponding
4479 thread is seen.
4480 (no thread starvation): New test.
4481
eb54c8bf
PA
44822015-03-19 Pedro Alves <palves@redhat.com>
4483
4484 * gdb.threads/continue-pending-status.c: New file.
4485 * gdb.threads/continue-pending-status.exp: New file.
4486
32d2e5d6
PA
44872015-03-18 Pedro Alves <palves@redhat.com>
4488
4489 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4490 Use gdb_is_target_remote instead of is_remote. Use
4491 gdb_test_multiple instead of gdb_expect. Exit early if
4492 gdb_test_multiple hits its internal matches. Tighten stepi tests
4493 expected output. Fail on exit with any signal, instead of just
4494 SIGILL.
4495
f68f11b7
YQ
44962015-03-18 Yao Qi <yao.qi@linaro.org>
4497
4498 PR tdep/18107
4499 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4500 variable.
4501 * gdb.base/catch-syscall.exp: Don't skip it on
4502 aarch64*-*-linux* target. Remove elements in all_syscalls.
4503 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4504 target.
4505 (setup_all_syscalls): New proc.
4506
ca5fd19b
YQ
45072015-03-16 Yao Qi <yao.qi@linaro.org>
4508
4509 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4510 (top level): Skip tests if valid_addr_p returns false for
4511 $cmd1 or $cmd2.
4512
85642ba0
AW
45132015-03-11 Andy Wingo <wingo@igalia.com>
4514
4515 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4516
e03f9645
YQ
45172015-03-11 Yao Qi <yao.qi@linaro.org>
4518
4519 * gdb.base/catch-syscall.exp: Fix typo in comments.
4520
5d0962b2
YQ
45212015-03-11 Yao Qi <yao.qi@linaro.org>
4522
4523 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4524
b2df3cef
PA
45252015-03-09 Pedro Alves <palves@redhat.com>
4526
4527 * dg-extract-results.py: Delete.
4528
ef878e53
PA
45292015-03-09 Pedro Alves <palves@redhat.com>
4530
4531 Merge dg-extract-results.sh from GCC upstream (r218843).
4532
4533 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4534 * dg-extract-results.sh: Use --text with grep to avoid issues with
4535 binary files. Fall back to cat -v, if that doesn't work.
4536
9494d219
PA
45372015-03-05 Pedro Alves <palves@redhat.com>
4538
4539 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4540
a8d9763a
SM
45412015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4542
4543 * lib/mi-support.exp (mi_expect_interrupt): Accept
4544 alternative event for when in all-stop mode.
4545
be9957b8
PA
45462015-03-04 Pedro Alves <palves@redhat.com>
4547
4548 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4549
d57be0f4 45502015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
4551
4552 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4553
c214c7cf
AA
45542015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4555
4556 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4557 regexps for GDB's current line display, accept a hex address
4558 preceding the line number.
4559
6d74a497
AA
45602015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4561
4562 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4563 the 'arch1' variable for "s390*-linux*" targets.
4564
511aee7c
PA
45652015-03-04 Pedro Alves <palves@redhat.com>
4566
4567 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4568 (main): Pass missing retval argument to pthread_join call.
4569
95e50b27
PA
45702015-03-02 Pedro Alves <palves@redhat.com>
4571
4572 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4573 (top level): Call do_test with non-stop as well.
4574
28054d69
PA
45752015-03-02 Pedro Alves <palves@redhat.com>
4576
4577 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4578 -1.
4579
4fa5d7b4
AA
45802015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4581
4582 * gdb.arch/s390-vregs.exp: New test.
4583 * gdb.arch/s390-vregs.S: New file.
4584
97c18565
PA
45852015-02-27 Pedro Alves <palves@redhat.com>
4586
4587 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4588 call to catch_command_errors.
4589 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4590 catch_command_errors.
4591
a37bfa30
PA
45922015-02-27 Pedro Alves <palves@redhat.com>
4593
4594 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4595 "true" for boolean result.
4596 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4597 prototype of main.
4598
6f98576f
PA
45992015-02-27 Pedro Alves <palves@redhat.com>
4600
4601 * lib/unbuffer_output.c: New file.
4602 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4603 (main): Call gdb_unbuffer_output.
4604
eba5ab56
YQ
46052015-02-27 Yao Qi <yao.qi@linaro.org>
4606
4607 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4608 target.
4609
0def5aaa
DE
46102015-02-26 Doug Evans <dje@google.com>
4611
4612 * gdb.cp/class2.cc (Dbase, D): New classes.
4613 (main): New local delta.
4614 * gdb.cp/class2.exp: Test printing delta.
4615 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4616 (dynbar): New global.
4617 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4618
081a1c2c
JK
46192015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4620
4621 * gdb.compile/compile-ifunc.c: New file.
4622 * gdb.compile/compile-ifunc.exp: New file.
4623
2f41223f
AT
46242015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4625
4626 * gdb.base/structs.exp: Check for correct struct on finish.
4627
03eddd80
YQ
46282015-02-26 Yao Qi <yao.qi@linaro.org>
4629
4630 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4631 is zero.
4632
80c57053
JK
46332015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4634
4635 * gdb.arch/cordic.ko.bz2: New file.
4636 * gdb.arch/cordic.ko.debug.bz2: New file.
4637 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4638
21613c12
YQ
46392015-02-25 Yao Qi <yao.qi@linaro.org>
4640
4641 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4642 aarch64*-*-* target.
4643
d8b901ed
PA
46442015-02-23 Pedro Alves <palves@redhat.com>
4645
4646 * lib/gdb.exp (delete_breakpoints): Rewrite using
4647 gdb_test_multiple.
4648
e5b85ead
PA
46492015-02-23 Pedro Alves <palves@redhat.com>
4650
4651 * gdb.base/info-os.c: Include stdlib.h.
4652
85c3a371
DE
46532015-02-22 Doug Evans <xdje42@gmail.com>
4654
4655 PR symtab/17855
4656 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4657 is read after symbols have been re-read.
4658 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4659 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4660
96553a0c
DE
46612015-02-21 Doug Evans <dje@google.com>
4662
4663 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4664
97a0c697
JK
46652015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4666
4667 PR corefiles/17808
4668 * gdb.arch/i386-biarch-core.core.bz2: New file.
4669 * gdb.arch/i386-biarch-core.exp: New file.
4670
a47cd6e9
PA
46712015-02-21 Pedro Alves <palves@redhat.com>
4672
4673 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4674 runto_main fails.
4675
c5facdc4
PA
46762015-02-20 Pedro Alves <palves@redhat.com>
4677
4678 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4679 info probes.
4680
2db9a427
PA
46812015-02-20 Pedro Alves <palves@redhat.com>
4682
4683 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4684
60fb7e9e
PA
46852015-02-20 Pedro Alves <palves@redhat.com>
4686
4687 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4688 clean_restart before gdb_target_supports_trace.
4689
5c5019c2
PA
46902015-02-20 Pedro Alves <palves@redhat.com>
4691
4692 PR threads/18006
4693 * gdb.threads/clone-thread_db.c: New file.
4694 * gdb.threads/clone-thread_db.exp: New file.
4695
c9587f88
AT
46962015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4697
4698 PR breakpoints/16812
4699 * gdb.base/catch-gdb-caused-signals.c: New file.
4700 * gdb.base/catch-gdb-caused-signals.exp: New file.
4701
f6a88844
JM
47022015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4703
4704 * configure: Regenerated.
4705 * configure.ac: Use GDB_AC_TRANSFORM.
4706 * aclocal.m4: sinclude ../transform.m4.
4707
497c491b
JM
47082015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4709
4710 * lib/dtrace.exp: New file.
4711 * gdb.base/dtrace-probe.exp: Likewise.
4712 * gdb.base/dtrace-probe.d: Likewise.
4713 * gdb.base/dtrace-probe.c: Likewise.
4714 * lib/pdtrace.in: Likewise.
4715 * configure.ac: Output variables with the transformed names of
4716 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4717 * configure: Regenerated.
4718
03e98035
JM
47192015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4720
4721 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4722 expected message when trying to access $_probe_* convenience
4723 variables while not on a probe.
4724
63cc30e9
JK
47252015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4726
4727 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4728
0703599a
PA
47292015-02-11 Pedro Alves <pedro@codesourcery.com>
4730
4731 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4732 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4733
7e60a48e
DE
47342015-02-10 Doug Evans <xdje42@gmail.com>
4735
4736 * lib/gdb.exp (gdb_load): Always return a result.
4737
01b088bc
PA
47382015-02-10 Pedro Alves <palves@redhat.com>
4739
4740 * gdb.threads/signal-sigtrap.c: New file.
4741 * gdb.threads/signal-sigtrap.exp: New file.
4742
b05ec7a5
AT
47432015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4744
4745 * gdb.trace/no-attach-trace.c: New file.
4746 * gdb.trace/no-attach-trace.exp: New file.
4747
a2c2acaf
MW
47482015-02-09 Mark Wielaard <mjw@redhat.com>
4749
4750 * gdb.dwarf2/atomic.c: New file.
4751 * gdb.dwarf2/atomic-type.exp: Likewise.
4752
31fd9caa
MM
47532015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4754
4755 * gdb.btrace/buffer-size.exp: Update "info record" output.
4756 * gdb.btrace/delta.exp: Update "info record" output.
4757 * gdb.btrace/enable.exp: Update "info record" output.
4758 * gdb.btrace/finish.exp: Update "info record" output.
4759 * gdb.btrace/instruction_history.exp: Update "info record" output.
4760 * gdb.btrace/next.exp: Update "info record" output.
4761 * gdb.btrace/nexti.exp: Update "info record" output.
4762 * gdb.btrace/step.exp: Update "info record" output.
4763 * gdb.btrace/stepi.exp: Update "info record" output.
4764 * gdb.btrace/nohist.exp: Update "info record" output.
4765
d33501a5
MM
47662015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4767
4768 * gdb.btrace/buffer-size: New.
4769
f4abbc16
MM
47702015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4771
4772 * gdb.btrace/delta.exp: Update "info record" output.
4773 * gdb.btrace/enable.exp: Update "info record" output.
4774 * gdb.btrace/finish.exp: Update "info record" output.
4775 * gdb.btrace/instruction_history.exp: Update "info record" output.
4776 * gdb.btrace/next.exp: Update "info record" output.
4777 * gdb.btrace/nexti.exp: Update "info record" output.
4778 * gdb.btrace/step.exp: Update "info record" output.
4779 * gdb.btrace/stepi.exp: Update "info record" output.
4780 * gdb.btrace/nohist.exp: Update "info record" output.
4781
b9d61307
SM
47822015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4783
4784 PR gdb/15678
4785 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4786
e584fdbc
PA
47872015-02-06 Pedro Alves <palves@redhat.com>
4788
4789 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4790 macro.
4791 (seconds_left, again): New globals.
4792 (main): Wait seconds_left in a 1-second sleep loop instead of
4793 sleeping 180 seconds. If 'again' is set, reset the seconds
4794 counter.
4795 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4796 'again' in the inferior before detaching. Print the seconds left.
4797 (options): New global.
4798 (top level): Build program with -DTIMEOUT=$timeout.
4799
77f41761
PA
48002015-02-06 Pedro Alves <palves@redhat.com>
4801
4802 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4803 determine how many seconds to pass to 'alarm'.
4804 * gdb.base/gdb-sigterm.exp (top level): Build program with
4805 -DTIMEOUT=$timeout.
4806 (do_test): Return success/failure indication. Add more verbose
4807 logging. Don't fail if 200 single steps are seen. Instead, fail
4808 when the test times out.
4809 (passes): New global.
4810 (top level): Break the testing loop if testing fails on any
4811 iteration. Use gdb_assert.
4812
b9394193
DB
48132015-02-04 Don Breazeal <donb@codesourcery.com>
4814
4815 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4816 and initialize them.
4817 (ipc_cleanup): New function.
4818 (main): Don't declare shmid, semid, and msqid. Add a call to
4819 atexit so that we call ipc_cleanup on exit.
4820
42d9e528
PA
48212015-02-04 Pedro Alves <palves@redhat.com>
4822
4823 * boards/native-extended-gdbserver.exp: Remove any target variant
4824 specifications from the board name before clearing the isremote
4825 flag from board_info.
4826
ae6ae975
DE
48272015-01-31 Doug Evans <xdje42@gmail.com>
4828
4829 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4830
cfb069a8
GB
48312015-01-31 Gary Benson <gbenson@redhat.com>
4832
4833 * gdb.base/completion.exp: Disable completion limiting for
4834 existing tests. Add new tests to check completion limiting.
4835 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4836
5dd31d79
DE
48372015-01-31 Doug Evans <xdje42@gmail.com>
4838
4839 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4840
9f050062
DE
48412015-01-31 Doug Evans <xdje42@gmail.com>
4842
4843 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4844 entries. Duplicate file section script entries.
4845 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4846 inlined entries. Add test for safe-path rejection.
4847 * gdb.python/py-section-script.c: Add duplicate inlined section script
4848 entries. Duplicate file section script entries.
4849 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4850 inlined entries. Add test for safe-path rejection.
4851
df25ebbd
JB
48522015-01-29 Joel Brobecker <brobecker@adacore.com>
4853
4854 * gdb.ada/disc_arr_bound: New testcase.
4855
4a0ca9ec
JB
48562015-01-29 Joel Brobecker <brobecker@adacore.com>
4857
4858 * gdb.ada/mi_var_array: New testcase.
4859
3a8b707a
DE
48602015-01-27 Doug Evans <dje@google.com>
4861
4862 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4863 Add test for objfile.filename, objfile.username after objfile
4864 has been unloaded.
4865
f8313f6e
JB
48662015-01-26 Joel Brobecker <brobecker@adacore.com>
4867
4868 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4869 the second test to print the name attribute of value
4870 returned by the call to gdb.lookup_type, and adjust
4871 the expected output accordingly.
4872
37bc665e
MW
48732015-01-25 Mark Wielaard <mjw@redhat.com>
4874
4875 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4876 * gdb.base/disp-step-fork.c: Include unistd.h.
4877 * gdb.base/siginfo-obj.c: Include stdio.h.
4878 * gdb.base/siginfo-thread.c: Likewise.
4879 * gdb.mi/non-stop.c: Include unistd.h.
4880 * gdb.mi/nsthrexec.c: Include stdio.h.
4881 * gdb.mi/pthreads.c: Include unistd.h.
4882 * gdb.modula2/unbounded1.c (main): Declare returns int.
4883 * gdb.reverse/consecutive-reverse.c: Likewise.
4884 * gdb.threads/create-fail.c: Include unistd.h.
4885 * gdb.threads/killed.c: Likewise.
4886 * gdb.threads/linux-dp.c: Likewise.
4887 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4888 * gdb.threads/non-ldr-exc-2.c: Likewise.
4889 * gdb.threads/non-ldr-exc-3.c: Likewise.
4890 * gdb.threads/non-ldr-exc-4.c: Likewise.
4891 * gdb.threads/pthreads.c: Include unistd.h.
4892 (main): Declare returns int.
4893 * gdb.threads/tls-main.c (foo): New declaration.
4894 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4895
f7e5394d
SM
48962015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4897
4898 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4899 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4900
743649fd
MW
49012015-01-15 Mark Wielaard <mjw@redhat.com>
4902
4903 * gdb.base/noreturn-return.c: New file.
4904 * gdb.base/noreturn-return.exp: New file.
4905 * gdb.base/noreturn-finish.c: New file.
4906 * gdb.base/noreturn-finish.exp: New file.
4907
198297aa
PA
49082015-01-23 Pedro Alves <palves@redhat.com>
4909
4910 * gdb.threads/continue-pending-after-query.c: New file.
4911 * gdb.threads/continue-pending-after-query.exp: New file.
4912
717cf30c
AG
49132015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4914 Simon Marchi <simon.marchi@ericsson.com>
4915
4916 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4917 * gdb.base/valgrind-db-attach.exp: Same.
4918 * gdb.base/valgrind-infcall.exp: Same.
4919 * lib/mi-support.exp (default_mi_gdb_start): Same.
4920 * lib/prompt.exp (default_prompt_gdb_start): Same.
4921 * lib/gdb.exp (default_gdb_spawn): Same.
4922 (gdb_interact): New.
4923
4924
4b62a76e
JK
49252015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4926
4927 * gdb.compile/compile.exp (pointer to jit function): New test.
4928
b4cdae6f
WW
49292015-01-17 Wei-cheng Wang <cole945@gmail.com>
4930
4931 * lib/gdb.exp (supports_process_record): Return true for
4932 powerpc*-*-linux*.
4933 (supports_reverse): Likewise.
4934
d221e7ef
DB
49352015-01-15 Don Breazeal <donb@codesourcery.com>
4936
4937 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4938 instead of checking whether the target board is remote and
4939 use spawn_wait_for_attach instead of exec/sleep.
4940 * gdb.base/attach-twice.exp: Likewise.
4941
bafffb51
JB
49422015-01-15 Joel Brobecker <brobecker@adacore.com>
4943
4944 * gdb.ada/var_arr_attrs: New testcase.
4945
5589af0e
PA
49462015-01-14 Pedro Alves <palves@redhat.com>
4947 Joel Brobecker <brobecker@adacore.com>
4948
4949 PR gdb/17525
4950 * gdb.base/bp-cmds-execution-x-script.c: New file.
4951 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4952 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4953
6c400b59
PA
49542015-01-14 Pedro Alves <palves@redhat.com>
4955
4956 PR cli/17828
4957 * gdb.base/batch-preserve-term-settings.c: New file.
4958 * gdb.base/batch-preserve-term-settings.exp: New file.
4959
e02c96a7
DE
49602015-01-13 Doug Evans <dje@google.com>
4961
4962 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4963 binary.
4964
576fd14c
JB
49652015-01-13 Joel Brobecker <brobecker@adacore.com>
4966
4967 * Makefile.in (clean mostlyclean): Do not delete *.py.
4968
04dccad0
JB
49692015-01-13 Joel Brobecker <brobecker@adacore.com>
4970
4971 * gdb.python/py-lookup-type.exp: New file.
4972
3d230f71
PA
49732015-01-12 Pedro Alves <palves@redhat.com>
4974
4975 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4976 restore GDBFLAGS before returning.
4977
7e67715d
JK
49782015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4979
4980 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4981 is_amd64_regs_target and is_x86_like_target.
4982
f2e0d4b4
DE
49832015-01-11 Doug Evans <xdje42@gmail.com>
4984
4985 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4986 is given without an explicit form.
4987 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4988 attributes.
4989 * gdb.dwarf/corrupt.exp: Ditto.
4990 * gdb.dwarf2/enum-type.exp: Ditto.
4991 * gdb.trace/entry-values.exp: Ditto.
4992 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4993
439250fb
DE
49942015-01-11 Doug Evans <xdje42@gmail.com>
4995
4996 PR gdb/15830
4997 * gdb.base/maint.exp: Remove references to "maint demangle".
4998 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4999 Add tests for explicitly specifying language to demangle.
5000 * gdb.dlang/demangle.exp: Ditto.
5001
ede9f622
PA
50022015-01-09 Pedro Alves <palves@redhat.com>
5003
5004 * gdb.threads/non-stop-fair-events.c: New file.
5005 * gdb.threads/non-stop-fair-events.exp: New file.
5006
a7b796db
PA
50072015-01-09 Pedro Alves <palves@redhat.com>
5008
5009 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5010 the global scope. Set a breakpoint after all threads are started
5011 rather than stepping over two source lines. Expect the prompt.
5012 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5013 global.
5014 (NUM): Now 15.
5015 (main): Use threads_started_barrier to wait for all threads to
5016 start. Main thread no longer calls thread_function. Exit after
5017 180 seconds.
5018 (loop): New function.
5019 (thread_function): Wait on threads_started_barrier barrier. Call
5020 'loop' at each iteration.
5021 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5022 threads have started, instead of hardcoding number of "next"
5023 steps. Use an access watchpoint instead of a write watchpoint.
5024
9665ffdd
PA
50252015-01-09 Pedro Alves <palves@redhat.com>
5026
5027 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5028 (thread_func): Wait on barrier.
5029 (main): Wait for all threads to start before stopping GDB.
5030 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5031 global.
5032 (thread1_func, thread2_func): Wait on barrier.
5033 (main): Wait for all threads to start before stopping GDB.
5034 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5035 New global.
5036 (thread1_func, thread2_func): Wait on barrier.
5037 (main): Wait for all threads to start before stopping GDB.
5038
c945a99f
PA
50392015-01-09 Pedro Alves <palves@redhat.com>
5040
5041 * gdb.threads/attach-many-short-lived-threads.c: New file.
5042 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5043
c1a747c1
PA
50442014-01-09 Pedro Alves <palves@redhat.com>
5045
5046 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5047 instead of to thread 2.
5048 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5049 Add barrier around each pthread_create call instead of around all
5050 calls.
5051 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5052 Set a break on thread_function and have the child threads hit it
5053 one at at a time.
5054
60b3033e
PA
50552015-01-09 Pedro Alves <palves@redhat.com>
5056
5057 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5058 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5059 false.
5060 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5061 checking whether the target board is remote.
5062 * gdb.multi/multi-attach.exp: Likewise.
5063 * gdb.python/py-sync-interp.exp: Likewise.
5064 * gdb.server/ext-attach.exp: Likewise.
5065 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5066 tests that need to attach, instead of checking whether the target
5067 board is remote at the top of the file.
5068
acc018ac
YQ
50692015-01-08 Yao Qi <yao@codesourcery.com>
5070
5071 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5072
50a18af8
JK
50732015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5074
5075 Fix testcase compilation.
5076 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5077
8503d6e1
JB
50782015-01-06 Joel Brobecker <brobecker@adacore.com>
5079
5080 * gdb.python/py-type.exp: Add a couple test about empty
5081 array creation, and negative-length array creation.
5082
cc73dbcc
DE
50832015-01-02 Doug Evans <xdje42@gmail.com>
5084
5085 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5086
0300bbc7
DE
50872015-01-02 Doug Evans <dje@google.com>
5088
5089 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5090
9d85a0ec
YQ
50912014-12-29 Yao Qi <yao@codesourcery.com>
5092
5093 * gdb.trace/entry-values.exp: Update comments. Rename variable
5094 bar_call_foo to returned_from_foo.
5095
87186c6a
MMN
50962014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5097
5098 PR gdb/17394
5099 * gdb.linespec/break-asm-file.c: New file.
5100 * gdb.linespec/break-asm-file.exp: New file.
5101 * gdb.linespec/break-asm-file0.s: New file.
5102 * gdb.linespec/break-asm-file1.s: New file.
5103
1bab7383
YQ
51042014-12-18 Nigel Stephens <nigel@mips.com>
5105 Maciej W. Rozycki <macro@codesourcery.com>
5106
5107 * gdb.base/float.exp: Handle the new output from "info float" on
5108 MIPS targets.
5109
1bc1068a
JK
51102014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5111
5112 Fix MinGW compilation.
5113 * gdb.compile/compile-ops.exp: Update untested message if
5114 !skip_compile_feature_tests.
5115 * gdb.compile/compile-setjmp.exp: Likewise.
5116 * gdb.compile/compile-tls.exp: Likewise.
5117 * gdb.compile/compile.exp: Likewise.
5118 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5119 supported on this host".
5120
b6615d10
DE
51212014-12-16 Doug Evans <xdje42@gmail.com>
5122
5123 * boards/stabs.exp: New file.
5124
25dda427
AA
51252014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5126
5127 * gdb.base/completion.exp: Adjust to format changes of "maint
5128 print user-registers".
5129
bf330350
CU
51302014-12-16 Catalin Udma <catalin.udma@freescale.com>
5131
5132 PR server/17457
5133 * gdb.arch/aarch64-fp.c: New file.
5134 * gdb.arch/aarch64-fp.exp: New file.
5135
395cf596
SDJ
51362014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5137
5138 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5139 r210637, r210913, r211666, r215400, r215817).
5140
5141 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5142 * dg-extract-results.py: New file.
5143 * dg-extract-results.sh: Use it if the environment seems
5144 suitable.
5145
5146 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5147
5148 * dg-extract-results.py (parse_run): Handle warnings that
5149 are printed before a test harness is run.
5150
5151 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5152
5153 * dg-extract-results.py (Named): Remove __cmp__ method.
5154 (output_variation): Use a key to sort variation.harnesses.
5155
5156 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5157
5158 * dg-extract-results.py: For Python 3, force sys.stdout to
5159 handle surrogate escape sequences.
5160 (safe_open): New function.
5161 (output_segment, main): Use it.
5162
5163 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5164
5165 * dg-extract-results.py (Prog.result_re): Include options
5166 in test name.
5167
5168 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5169
5170 * dg-extract-results.py (output_variation): Always sort if
5171 do_sum.
5172
e882ef3c
SM
51732014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5174
5175 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5176 as long as we get pagination notifications.
5177
4992aa20
JM
51782014-12-15 Jason Merrill <jason@redhat.com>
5179
5180 * Makefile.in (check-gdb.%): Restore.
5181 * README: Mention it.
5182
c1b5a1a6
JB
51832014-12-13 Joel Brobecker <brobecker@adacore.com>
5184
5185 * gdb.ada/str_uninit: New testcase.
5186
5537b577
JK
51872014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5188
5189 PR symtab/17642
5190 * gdb.base/vla-stub-define.c: New file.
5191 * gdb.base/vla-stub.c: New file.
5192 * gdb.base/vla-stub.exp: New file.
5193
bb2ec1b3
TT
51942014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5195 Jan Kratochvil <jan.kratochvil@redhat.com>
5196 Tom Tromey <tromey@redhat.com>
5197
5198 * configure.ac: Add gdb.compile/.
5199 * configure: Regenerate.
5200 * gdb.compile/Makefile.in: New file.
5201 * gdb.compile/compile-ops.exp: New file.
5202 * gdb.compile/compile-ops.c: New file.
5203 * gdb.compile/compile-tls.c: New file.
5204 * gdb.compile/compile-tls.exp: New file.
5205 * gdb.compile/compile-constvar.S: New file.
5206 * gdb.compile/compile-constvar.c: New file.
5207 * gdb.compile/compile-mod.c: New file.
5208 * gdb.compile/compile-nodebug.c: New file.
5209 * gdb.compile/compile-setjmp-mod.c: New file.
5210 * gdb.compile/compile-setjmp.c: New file.
5211 * gdb.compile/compile-setjmp.exp: New file.
5212 * gdb.compile/compile-shlib.c: New file.
5213 * gdb.compile/compile.c: New file.
5214 * gdb.compile/compile.exp: New file.
5215 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5216
4ff709eb
TT
52172014-12-12 Tom Tromey <tromey@redhat.com>
5218
5219 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5220 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5221
6dddd6a5
DE
52222014-12-12 Doug Evans <dje@google.com>
5223
5224 * lib/gdb-python.exp (get_python_valueof): New function.
5225 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5226
71c24708
AA
52272014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5228
5229 * gdb.base/completion.exp: Add test for completion of "info
5230 registers ".
5231
3e29f34a
MR
52322014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5233
5234 * gdb.base/func-ptrs.c: New file.
5235 * gdb.base/func-ptrs.exp: New file.
5236
fc126975
SM
52372014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5238
5239 PR breakpoints/17012
5240 * gdb.base/dprintf-detach.c: New file.
5241 * gdb.base/dprintf-detach.exp: New file.
5242
0a46d518
SM
52432014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5244
5245 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5246 * lib/gdb.exp (target_is_gdbserver): New procedure.
5247
a0be3e44
DE
52482014-12-08 Doug Evans <dje@google.com>
5249
5250 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5251
df1b803a
YQ
52522014-12-05 Yao Qi <yao@codesourcery.com>
5253
5254 * gdb.guile/scm-error.exp: Remove the third argument to
5255 gdb_remote_download.
5256 * gdb.guile/scm-frame-args.exp: Likewise.
5257 * gdb.guile/scm-section-script.exp: Likewise.
5258
ddb9f679
YQ
52592014-12-05 Yao Qi <yao@codesourcery.com>
5260
5261 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5262
86e4ed39
DE
52632014-12-04 Doug Evans <dje@google.com>
5264
5265 * gdb.python/py-objfile.exp: Add tests for
5266 objfile.add_separate_debug_file.
5267
7c50a931
DE
52682014-12-04 Doug Evans <dje@google.com>
5269
5270 * lib/gdb.exp (get_build_id): New function.
5271 (build_id_debug_filename_get): Rewrite to use it.
5272 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5273
621661e3
MR
52742014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5275
5276 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5277 `method(long)', not just 0x0.
5278 * gdb.cp/nsalias.exp: Align code labels to 4.
5279 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5280 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5281 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5282 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5283 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5284 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5285
29f0c3b7
DE
52862014-12-02 Doug Evans <dje@google.com>
5287
e1e061e7 5288 PR symtab/17602
29f0c3b7 5289 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 5290 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
5291 * gdb.cp/anon-ns.exp: Update.
5292
162078c8
NB
52932014-12-02 Nick Bull <nicholaspbull@gmail.com>
5294
5295 * gdb.python/py-events.py (inferior_call_handler): New.
5296 (register_changed_handler, memory_changed_handler): New.
5297 (test_events.invoke): Register new handlers.
5298 * gdb.python/py-events.exp: Add tests for inferior call,
5299 memory_changed and register_changed events.
5300
fdb09caf
AA
53012014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5302
5303 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5304 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5305 if the linker doesn't understand this.
5306
55cfb2c4
SM
53072014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5308
5309 * gdb.python/python.exp: Change expected reply to help().
5310
9e8cd6df
YQ
53112014-12-01 Yao Qi <yao@codesourcery.com>
5312
5313 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5314 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5315 * configure: Re-generated.
5316
6c659fc2
SC
53172014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5318
5319 * gdb.cp/chained-calls.cc: New file.
5320 * gdb.cp/chained-calls.exp: New file.
5321 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5322
d7fc3181
SM
53232014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5324
5325 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5326 * gdb.dwarf2/symtab-producer.exp: Same.
5327 * gdb.gdb/python-interrupts.exp: Same.
5328 * gdb.gdb/python-selftest.exp: Same.
5329 * gdb.python/py-linetable.exp: Same.
5330 * gdb.python/py-type.exp: Same.
5331 * gdb.python/py-value-cc.exp: Same.
5332 * gdb.python/py-value.exp: Same.
5333
10e79639
YQ
53342014-11-28 Yao Qi <yao@codesourcery.com>
5335
5336 * gdb.base/break-probes.exp: Match library name prefixed with
5337 sysroot.
5338
f28a0564
SM
53392014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5340
5341 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5342 test expected output. Add parentheses for the call to print.
5343 Remove L suffix from integers.
5344
3fe1ce1d
DE
53452014-11-26 Doug Evans <dje@google.com>
5346
5347 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5348
84429e27
YQ
53492014-11-22 Yao Qi <yao@codesourcery.com>
5350
5351 * gdb.trace/entry-values.c: Remove asms.
5352 (foo): Add foo_label.
5353 (bar): Add bar_label.
5354 * gdb.trace/entry-values.exp: Remove code computing foo's
5355 length and bar's length.
5356 (Dwarf::assemble): Invoke function_range for bar and use
5357 MACRO_AT_func for foo.
5358
26741859
YQ
53592014-11-22 Yao Qi <yao@codesourcery.com>
5360
5361 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5362 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5363 Use .Lgcc43_procstart instead of gcc43.
5364
45e44d27
JB
53652014-11-21 Joel Brobecker <brobecker@adacore.com>
5366
5367 * gdb.ada/n_arr_bound: New testcase.
5368
458c8db8
SDJ
53692014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5370
5371 PR breakpoints/10737
5372 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5373 test_catch_syscall_multi_arch.
5374 (test_catch_syscall_multi_arch): New function.
5375
43f3e411
DE
53762014-11-20 Doug Evans <xdje42@gmail.com>
5377
5378 * gdb.base/maint.exp: Update expected output.
5379
0d7b2549
AA
53802014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5381
5382 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5383 4-byte instruction on S390.
5384
8908fca5
JB
53852014-11-19 Joel Brobecker <brobecker@adacore.com>
5386
5387 * gdb.ada/arr_arr: New testcase.
5388
4a46959e
JB
53892014-11-19 Joel Brobecker <brobecker@adacore.com>
5390
5391 * gdb.ada/pkd_arr_elem: New Testcase.
5392
470e2f4e
LM
53932014-11-18 Luis Machado <lgustavo@codesourcery.com>
5394
5395 * gdb.reverse/break-precsave: Expect completion message for
5396 core file reads.
5397 * gdb.reverse/consecutive-precsave.exp: Likewise.
5398 * gdb.reverse/finish-precsave.exp: Likewise.
5399 * gdb.reverse/i386-precsave.exp: Likewise.
5400 * gdb.reverse/machinestate-precsave.exp: Likewise.
5401 * gdb.reverse/sigall-precsave.exp: Likewise.
5402 * gdb.reverse/solib-precsave.exp: Likewise.
5403 * gdb.reverse/step-precsave.exp: Likewise.
5404 * gdb.reverse/until-precsave.exp: Likewise.
5405 * gdb.reverse/watch-precsave.exp: Likewise.
5406
a267f3ad
AA
54072014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5408
5409 * gdb.base/bp-permanent.c: Include unistd.h.
5410 * gdb.python/py-framefilter-mi.c (main): Add return type.
5411 * gdb.python/py-framefilter.c (main): Likewise.
5412 * gdb.trace/actions-changed.c (main): Likewise.
5413
12084a9a
AA
54142014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5415
5416 * gdb.mi/until.c: Add eye-catchers.
5417 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5418 line numbers.
5419
dc7e1a77
AA
54202014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5421
5422 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5423 function header variants in break1.c.
5424 * gdb.base/ena-dis-br.exp: Likewise.
5425 * gdb.base/hbreak2.exp: Likewise.
5426 * gdb.reverse/until-precsave.exp: Drop references to removed
5427 non-prototype function header variants in ur1.c.
5428 * gdb.reverse/until-reverse.exp: Likewise.
5429
41c77605
PM
54302014-11-17 Petr Machata <pmachata@redhat.com>
5431
5432 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5433 ${_cu_offset_size} bytes abbrev offset.
5434
34248c3a
DE
54352014-11-15 Doug Evans <xdje42@gmail.com>
5436
5437 PR symtab/17559
5438 * gdb.base/line-symtabs.exp: New file.
5439 * gdb.base/line-symtabs.c: New file.
5440 * gdb.base/line-symtabs.h: New file.
5441
646da059
YQ
54422014-11-14 Yao Qi <yao@codesourcery.com>
5443
5444 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5445 (func): Add label func_label.
5446 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5447 Replace low_pc and high_pc with MACRO_AT_range.
5448 Replace name, low_pc and high_pc with MACRO_AT_func.
5449
9301ebe6
YQ
54502014-11-14 Yao Qi <yao@codesourcery.com>
5451
5452 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5453 Replace name, low_pc and high_pc with MACRO_AT_func.
5454
f166b542
YQ
54552014-11-14 Yao Qi <yao@codesourcery.com>
5456
5457 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5458 produce debug information.
5459 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5460
0f6e71e3
YQ
54612014-11-14 Yao Qi <yao@codesourcery.com>
5462
5463 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5464 object and get function length.
5465 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5466 with MACRO_AT_func.
5467 (top-level): Replace gdb_compile and clean_restart with
5468 prepare_for_testing.
5469 * gdb.dwarf2/main.c (main): Add label main_label.
5470
876c4df9
YQ
54712014-11-14 Yao Qi <yao@codesourcery.com>
5472
5473 * lib/dwarf.exp (function_range): New procedure.
5474 (Dwarf::_handle_macro_at_func): New procedure.
5475 (Dwarf::_handle_macro_at_range): New procedure.
5476 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5477
02ad9cf1
YQ
54782014-11-14 Yao Qi <yao@codesourcery.com>
5479
5480 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5481 (_handle_attribute): New procedure.
5482
a59add0c
AA
54832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5484
5485 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5486 * gdb.base/call-sc.c (zed): Likewise.
5487 * gdb.base/checkpoint.c (main): Likewise.
5488 * gdb.base/dump.c (main): Likewise.
5489 * gdb.base/gcore.c (main): Likewise.
5490 * gdb.base/huge.c (main): Likewise.
5491 * gdb.base/multi-forks.c (main): Likewise.
5492 * gdb.base/pr10179-a.c (main): Likewise.
5493 * gdb.base/savedregs.c (main): Likewise.
5494 * gdb.base/sigaltstack.c (main): Likewise.
5495 * gdb.base/siginfo.c (main): Likewise.
5496 * gdb.base/structs.c (zed): Likewise.
5497 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5498 * gdb.mi/mi-syn-frame.c (main): Likewise.
5499 * gdb.mi/until.c (foo, main): Likewise.
5500 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5501 * gdb.base/solib-weak.c (foo): Declare.
5502 * gdb.base/attach-twice.c: Include stdio.h.
5503 * gdb.base/weaklib1.c: Likewise.
5504 * gdb.base/weaklib2.c: Likewise.
5505 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5506 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5507 unistd.h.
5508 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5509 * gdb.mi/mi-exit-code.c: Likewise.
5510 * gdb.base/break-interp-lib.c: Include string.h.
5511 * gdb.base/coremaker.c: Likewise.
5512 * gdb.base/testenv.c: Likewise.
5513 * gdb.python/py-finish-breakpoint.c: Likewise.
5514 * gdb.base/inferior-died.c: Include sys/wait.h.
5515 * gdb.base/fileio.c: Include time.h.
5516 * gdb.base/async-shell.c: Include unistd.h.
5517 * gdb.base/dprintf-non-stop.c: Likewise.
5518 * gdb.base/info-os.c: Likewise.
5519 * gdb.mi/mi-console.c: Likewise.
5520 * gdb.mi/watch-nonstop.c: Likewise.
5521 * gdb.python/py-events.c: Likewise.
5522 * gdb.base/async.c (baz): Move up before its invocation.
5523 * gdb.base/code_elim2.c (my_global_func): Likewise.
5524 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5525 * gdb.base/advance.c (func2): Likewise.
5526
3b5d5997
AA
55272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5528
5529 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5530 variant.
5531 * gdb.base/annota3.c: Likewise.
5532 * gdb.base/async.c: Likewise.
5533 * gdb.base/average.c: Likewise.
5534 * gdb.base/call-ar-st.c: Likewise.
5535 * gdb.base/call-rt-st.c: Likewise.
5536 * gdb.base/call-sc.c: Likewise.
5537 * gdb.base/call-strs.c: Likewise.
5538 * gdb.base/ending-run.c: Likewise.
5539 * gdb.base/execd-prog.c: Likewise.
5540 * gdb.base/exprs.c: Likewise.
5541 * gdb.base/foll-exec.c: Likewise.
5542 * gdb.base/foll-fork.c: Likewise.
5543 * gdb.base/foll-vfork.c: Likewise.
5544 * gdb.base/funcargs.c: Likewise.
5545 * gdb.base/gcore.c: Likewise.
5546 * gdb.base/jump.c: Likewise.
5547 * gdb.base/langs0.c: Likewise.
5548 * gdb.base/langs1.c: Likewise.
5549 * gdb.base/langs2.c: Likewise.
5550 * gdb.base/mips_pro.c: Likewise.
5551 * gdb.base/nodebug.c: Likewise.
5552 * gdb.base/opaque0.c: Likewise.
5553 * gdb.base/opaque1.c: Likewise.
5554 * gdb.base/recurse.c: Likewise.
5555 * gdb.base/run.c: Likewise.
5556 * gdb.base/scope0.c: Likewise.
5557 * gdb.base/scope1.c: Likewise.
5558 * gdb.base/setshow.c: Likewise.
5559 * gdb.base/setvar.c: Likewise.
5560 * gdb.base/shmain.c: Likewise.
5561 * gdb.base/shr1.c: Likewise.
5562 * gdb.base/shr2.c: Likewise.
5563 * gdb.base/sigall.c: Likewise.
5564 * gdb.base/signals.c: Likewise.
5565 * gdb.base/so-indr-cl.c: Likewise.
5566 * gdb.base/solib2.c: Likewise.
5567 * gdb.base/structs.c: Likewise.
5568 * gdb.base/sum.c: Likewise.
5569 * gdb.base/vforked-prog.c: Likewise.
5570 * gdb.base/watchpoint.c: Likewise.
5571 * gdb.reverse/shr2.c: Likewise.
5572 * gdb.reverse/until-reverse.c: Likewise.
5573 * gdb.reverse/ur1.c: Likewise.
5574 * gdb.reverse/watch-reverse.c: Likewise.
5575
066a77c5
AA
55762014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5577
5578 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5579 variant.
5580 * gdb.base/sepdebug.exp: Drop references to removed code.
5581
4f204ea5
AA
55822014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5583
5584 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5585 variant. Preserve original line numbering.
5586 * gdb.base/list1.c: Likewise.
5587
3b377a3a
AA
55882014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5589
5590 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5591 variant.
5592 * gdb.base/break1.c: Likewise.
5593 * gdb.base/break.exp: Drop references to removed code.
5594
e444df73
AA
55952014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5596
5597 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5598 variant.
5599
8008f2a7
AA
56002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5601
5602 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5603
a5a06887
AA
56042014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5605
5606 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5607 logic into perform_all_tests() and invoke it with and without
5608 function header prototypes.
5609 (do_function_calls): Remove conditional XFAIL for PR 5318.
5610 (rerun_and_prepare): Remove duplicate code.
5611 (perform_all_tests): New. Main logic moved here.
5612
44dba9b9
AA
56132014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5614
5615 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5616 code guarded by #ifdef NO_PROTOTYPES.
5617 (t_double_many_args): Likewise.
5618 (DEF_FUNC_MANY_ARGS_1): Likewise.
5619 (DEF_FUNC_VALUES_1): Likewise.
5620 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5621 guarded by #ifdef PROTOTYPES.
5622
d1fbcd56
AA
56232014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5624
5625 * gdb.mi/mi-console.c: Add eye-catcher.
5626 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5627 instead of literal line number.
5628
b0e59b8f
AA
56292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5630
5631 * gdb.base/shr2.c: Add eye-catcher.
5632 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5633 line number.
5634
78f98cca
AA
56352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5636
5637 * gdb.base/jump.c: Add eye-catchers.
5638 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5639 numbers.
5640
58fa2af0
AA
56412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5642
5643 * gdb.base/execd-prog.c: Add eye-catchers.
5644 * gdb.base/foll-exec.c: Likewise.
5645 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5646 line numbers.
5647
04e5059b
AA
56482014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5649
5650 * gdb.base/ending-run.c: Add eye-catchers.
5651 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5652 literal line numbers.
5653
dbfdb174
AA
56542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5655
5656 * gdb.base/call-rt-st.c: Add eye-catchers.
5657 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5658 literal line numbers.
5659
888a2ade
AA
56602014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5661
5662 * gdb.base/call-ar-st.c: Add eye-catchers.
5663 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5664 literal line numbers.
5665
6acc2dde
AA
56662014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5667
5668 * gdb.base/average.c: Add eye-catchers.
5669 * gdb.base/sum.c: Likewise.
5670 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5671 regexps dynamically.
5672
9ecfcd1d
AA
56732014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5674
5675 * gdb.base/solib1.c: Add eye-catchers.
5676 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5677 literal line numbers.
5678
78708b7c
PA
56792014-11-12 Pedro Alves <palves@redhat.com>
5680
5681 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5682 leader has exited.
5683
af48d08f
PA
56842014-11-12 Pedro Alves <palves@redhat.com>
5685
5686 * gdb.arch/i386-bp_permanent.c: New file.
5687 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5688 (srcfile): Set to i386-bp_permanent.c.
5689 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5690 that stepi does not execute the 'leave' instruction, instead of
5691 testing it does execute.
5692 * gdb.base/bp-permanent.c: New file.
5693 * gdb.base/bp-permanent.exp: New file.
5694
af3768e9
DE
56952014-11-10 Doug Evans <xdje42@gmail.com>
5696
5697 PR symtab/17564
5698 * gdb.base/symtab-search-order.exp: New file.
5699 * gdb.base/symtab-search-order.c: New file.
5700 * gdb.base/symtab-search-order-1.c: New file.
5701 * gdb.base/symtab-search-order-shlib-1.c: New file.
5702
9de00a4a
PA
57032014-11-07 Pedro Alves <palves@redhat.com>
5704
5705 PR gdb/17511
5706 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5707 i?86-*-linux*.
5708
e0f52461
SC
57092014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5710
5711 PR c++/17494
5712 * gdb.cp/pr17494.cc: New file.
5713 * gdb.cp/pr17494.exp: New file.
5714
6ce8c980
YQ
57152014-11-02 Yao Qi <yao@codesourcery.com>
5716
5717 * gdb.python/python.exp: Get working directory and match the
5718 output of "set extended-prompt \\w " with it.
5719
02be9a71
DE
57202014-10-30 Doug Evans <dje@google.com>
5721
5722 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5723 in objfiles.
5724 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5725 in progspaces.
5726
3bdff46b
LM
57272014-10-30 Janis Johnson <janisjo@codesourcery.com>
5728
5729 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5730 * gdb.base/realname-expand.exp: Likewise.
5731 * gdb.linespec/macro-relative.exp: Likewise.
5732
ab917dfb
PA
57332014-10-29 Pedro Alves <palves@redhat.com>
5734
5735 PR gdb/17408
5736 * gdb.threads/schedlock.c (some_function): New function.
5737 (call_function): New global.
5738 (MAYBE_CALL_SOME_FUNCTION): New macro.
5739 (thread_function): Call it.
5740 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5741 and use it instead of a global counter. Adjust all callers.
5742 (get_current_thread): Use "find current thread" for test message
5743 here rather than having all callers pass down the same string.
5744 (goto_loop): New procedure, factored out from ...
5745 (my_continue): ... this.
5746 (step_ten_loops): Change parameter from test message to command to
5747 use. Adjust.
5748 (list_count): Delete global.
5749 (check_result): New procedure, factored out from duplicate top
5750 level code.
5751 (continue tests): Wrap in with_test_prefix.
5752 (test_step): New procedure, factored out from duplicate top level
5753 code.
5754 (top level): Test "step" in combination with all scheduler-locking
5755 modes. Test "next" in combination with all scheduler-locking
5756 modes, and in combination with stepping over a function call or
5757 not.
5758 * gdb.threads/next-bp-other-thread.c: New file.
5759 * gdb.threads/next-bp-other-thread.exp: New file.
5760
d3d4baed
PA
57612014-10-29 Pedro Alves <palves@redhat.com>
5762
5763 PR python/17372
5764 * gdb.python/python.exp: Test a multi-line command that spawns
5765 interactive Python.
5766 * gdb.base/multi-line-starts-subshell.exp: New file.
5767
563e8d85
YQ
57682014-10-29 Yao Qi <yao@codesourcery.com>
5769
5770 * gdb.base/fileio.exp: Make directories on host.
5771
0ea4d52e
YQ
57722014-10-29 Yao Qi <yao@codesourcery.com>
5773
5774 * gdb.base/fileio.c (test_write): Close the file.
5775
7f5ef605
PA
57762014-10-28 Pedro Alves <palves@redhat.com>
5777
5778 PR gdb/12623
5779 * gdb.base/sigstep.c (no_handler): New global.
5780 (main): If 'no_handler is true, set the signal handlers to
5781 SIG_IGN.
5782 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5783 with_sw_watch and no_handler parameters. Handle them.
5784 (top level) <stepping over handler when stopped at a breakpoint
5785 test>: Add a test axis for testing with a software watchpoint, and
5786 another for testing with the signal handler set to SIG_IGN.
5787 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5788 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5789
abbdbd03
PA
57902014-10-28 Pedro Alves <palves@redhat.com>
5791
5792 PR gdb/17511
5793 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5794 * gdb.base/sigstep.exp (other_handler_location): New global.
5795 (advance): Support stepping into the signal handler, and running
5796 commands while in the handler.
5797 (in_handler_map): New global.
5798 (top level): In the advance test, add combinations for getting
5799 into the handler with stepping commands, and for running commands
5800 in the handler. Add comment descripting the advancei tests.
5801
1df4399f
PA
58022014-10-28 Pedro Alves <palves@redhat.com>
5803
5804 * gdb.base/sigstep.exp: Use build_executable instead of
5805 prepare_for_testing.
5806 (top level): Move code that starts GDB, runs to main and creates a
5807 display to ...
5808 (restart): ... this new procedure.
5809 (top level): Move backtrace from signal handler test to ...
5810 (validate_backtrace): ... this new procedure.
5811 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5812 with_test_prefix. Always restart GDB.
5813 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5814 with_test_prefix. Always restart GDB. No need to delete
5815 breakpoints after the test.
5816 (test_skip_handler): Remove prefix parameter.
5817 (skip_over_handler, breakpoint_to_handler)
5818 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5819 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5820 restart GDB. No need to delete breakpoints after the test.
5821 (top level): Use foreach to call the test procedures with
5822 different commands.
5823
a5b6e449
PA
58242014-10-28 Pedro Alves <palves@redhat.com>
5825
5826 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5827 instead of GNATS numbers.
5828 * gdb.base/sigbpt.exp: Likewise.
5829 * gdb.base/siginfo.exp: Likewise.
5830 * gdb.base/sigstep.exp: Likewise.
5831
e5f8a7cc
PA
58322014-10-27 Pedro Alves <palves@redhat.com>
5833
5834 * gdb.base/sigstep.c (dummy): New global.
5835 (main): Issue a couple writes to the new global.
5836 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5837 procedures.
5838 (skip_over_handler): Use test_skip_handler.
5839 (top level): Call skip_over_handler for stepi and nexti too.
5840 (breakpoint_over_handler): Use test_skip_handler.
5841 (top level): Call breakpoint_over_handler for stepi and nexti too.
5842
763905a3
YQ
58432014-10-27 Yao Qi <yao@codesourcery.com>
5844
5845 * gdb.trace/tfile.c (adjust_function_address)
5846 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5847 function descriptor.
5848
6f259a23
DB
58492014-10-24 Don Breazeal <donb@codesourcery.com>
5850
5851 * gdb.base/foll-fork.exp (test_follow_fork,
5852 catch_fork_child_follow): Check for updated fork messages emitted
5853 from infrun.c.
5854 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5855 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5856 vfork_and_exec_child_follow_through_step): Check for updated vfork
5857 messages emitted from infrun.c.
5858
09dd9a69
PA
58592014-10-24 Pedro Alves <palves@redhat.com>
5860
5861 * gdb.base/corefile.exp: Remove references to ultrix.
5862 * gdb.base/interrupt.exp: Likewise.
5863 * gdb.base/whatis.exp: Likewise.
5864 * gdb.gdb/selftest.exp: Likewise.
5865 * gdb.threads/manythreads.exp: Likewise.
5866 * gdb.threads/print-threads.exp: Likewise.
5867 * gdb.threads/pthreads.exp:: Likewise.
5868 * gdb.threads/schedlock.exp: Likewise.
5869
3433cfa5
SC
58702014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5871
5872 * gdb.cp/non-trivial-retval.cc: Add a test case.
5873 * gdb.cp/non-trivial-retval.exp: Add a test.
5874
092f880b
YQ
58752014-10-20 Yao Qi <yao@codesourcery.com>
5876
5877 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5878 * gdb.python/py-objfile-script-gdb.py: New file.
5879 * gdb.python/py-objfile-script.exp: Update reference to
5880 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5881 of remote_download. Remove the dest file.
5882
acbdb7f3
YQ
58832014-10-20 Yao Qi <yao@codesourcery.com>
5884
5885 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5886 * gdb.base/step-line.exp: Likewise.
5887 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5888 * gdb.dwarf2/dw2-basic.exp: Likewise.
5889 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5890 * gdb.dwarf2/dw2-filename.exp: Likewise.
5891 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5892 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5893 * gdb.dwarf2/dw2-producer.exp: Likewise.
5894 * gdb.dwarf2/mac-fileno.exp: Likewise.
5895 * gdb.python/py-frame-args.exp: Likewise.
5896 * gdb.python/py-framefilter.exp: Likewise.
5897 * gdb.python/py-mi.exp: Likewise.
5898 * gdb.python/py-objfile-script.exp: Likewise
5899 * gdb.python/py-pp-integral.exp: Likewise.
5900 * gdb.python/py-pp-re-notag.exp: Likewise.
5901 * gdb.python/py-prettyprint.exp: Likewise.
5902 * gdb.python/py-section-script.exp: Likewise.
5903 * gdb.python/py-typeprint.exp: Likewise.
5904 * gdb.python/py-xmethods.exp: Likewise.
5905 * gdb.stabs/weird.exp: Likewise.
5906 * gdb.xml/tdesc-regs.exp: Likewise.
5907
bd286a29
KCY
59082014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5909
5910 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5911 (out_cu): Use addr_len for the size of addresses.
5912 (out_line): Likewise. Size DW_LNE_set_address instruction
5913 according to addr_len.
5914 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5915 (FUNC): Add START_INSNS to definition.
5916
673dc4a0
YQ
59172014-10-18 Yao Qi <yao@codesourcery.com>
5918
5919 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5920 gdb_has_argv0 return true.
5921 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5922 check [target_info exists noargs], check [gdb_has_argv0]
5923 instead.
5924 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5925 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5926 procedures.
5927
4ffbba72
DE
59282014-10-17 Doug Evans <dje@google.com>
5929
5930 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5931 event.
5932 * gdb.python/py-events.py: Add clear_objfiles event.
5933
d096d8c1
DE
59342014-10-17 Doug Evans <dje@google.com>
5935
5936 * gdb.python/py-objfile.exp: Test progspace attribute.
5937
a80db015
LM
59382014-10-17 Luis Machado <lgustavo@codesourcery.com>
5939
5940 * gdb.guile/scm-breakpoint.exp: Do not assume any
5941 directory separators when matching source file paths.
5942 * gdb.python/py-breakpoint.exp: Likewise.
5943 * gdb.reverse/break-precsave.exp: Likewise.
5944 * gdb.reverse/break-reverse.exp: Likewise.
5945 * gdb.reverse/consecutive-precsave.exp: Likewise.
5946 * gdb.reverse/finish-precsave.exp: Likewise.
5947 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5948 * gdb.reverse/finish-reverse.exp: Likewise.
5949 * gdb.reverse/i386-precsave.exp: Likewise.
5950 * gdb.reverse/i387-env-reverse.exp: Likewise.
5951 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5952 * gdb.reverse/machinestate-precsave.exp: Likewise.
5953 * gdb.reverse/machinestate.exp: Likewise.
5954 * gdb.reverse/sigall-precsave.exp: Likewise.
5955 * gdb.reverse/solib-precsave.exp: Likewise.
5956 * gdb.reverse/step-precsave.exp: Likewise.
5957 * gdb.reverse/until-precsave.exp: Likewise.
5958 * gdb.reverse/watch-precsave.exp: Likewise.
5959 * gdb.reverse/watch-reverse.exp: Likewise.
5960
b22089ab
YQ
59612014-10-17 Yao Qi <yao@codesourcery.com>
5962
5963 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5964 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5965
6c4486e6
PA
59662014-10-17 Pedro Alves <palves@redhat.com>
5967
5968 PR gdb/17471
5969 * gdb.base/bg-execution-repeat.c: New file.
5970 * gdb.base/bg-execution-repeat.exp: New file.
5971
0ff33695
PA
59722014-10-17 Pedro Alves <palves@redhat.com>
5973
5974 PR gdb/17300
5975 * gdb.base/continue-all-already-running.c: New file.
5976 * gdb.base/continue-all-already-running.exp: New file.
5977
6fdebc3d
PA
59782014-10-17 Pedro Alves <palves@redhat.com>
5979
5980 PR gdb/17472
5981 * gdb.base/annota-input-while-running.c: New file.
5982 * gdb.base/annota-input-while-running.exp: New file.
5983
32a8097b
PA
59842014-10-17 Pedro Alves <palves@redhat.com>
5985
5986 * gdb.base/callfuncs.exp: emove references to osf.
5987 * gdb.base/sigall.exp: Likewise.
5988 * gdb.gdb/selftest.exp: Likewise.
5989 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5990 * gdb.mi/non-stop.c: Likewise.
5991 * gdb.mi/pthreads.c: Likewise.
5992 * gdb.reverse/sigall-precsave.exp: Likewise.
5993 * gdb.reverse/sigall-reverse.exp: Likewise.
5994 * gdb.threads/pthreads.c: Likewise.
5995 * gdb.threads/pthreads.exp: Likewise.
5996
7a3517ff
YQ
59972014-10-17 Yao Qi <yao@codesourcery.com>
5998
5999 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6000 check 'target_info exists noargs'.
6001 (test_command_prompt_position): Likewise.
6002 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6003 Remove "set args".
6004 (progvar_simple_while_test): Likewise.
6005 (progvar_complex_if_while_test): Likewise.
6006 (if_while_breakpoint_command_test): Likewise.
6007 (infrun_breakpoint_command_test): Likewise.
6008 (breakpoint_command_test): Likewise.
6009 (watchpoint_command_test): Likewise.
6010 (bp_deleted_in_command_test): Likewise.
6011 (temporary_breakpoint_commands): Likewise.
6012
bb99c472
YQ
60132014-10-16 Yao Qi <yao@codesourcery.com>
6014
6015 * gdb.base/remotetimeout.exp: Remove noargs checking.
6016
7c16b83e
PA
60172014-10-15 Pedro Alves <palves@redhat.com>
6018
6019 PR breakpoints/9649
6020 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6021 * gdb.base/breakpoint-in-ro-region.exp
6022 (probe_target_hardware_step): New procedure.
6023 (top level): Probe hardware stepping and hardware breakpoint
6024 support. Test stepping through a read-only region, with both
6025 "breakpoint auto-hw" on and off and both "always-inserted" on and
6026 off.
6027
35a49624
IB
60282014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6029
6030 * gdb.dlang/demangle.exp: Update for demangling changes.
6031
2d1c107c
SC
60322014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6033
6034 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6035 * gdb.cp/non-trivial-retval.exp: Add new tests.
6036
778811d5
SC
60372014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6038
6039 PR c++/13403
6040 PR c++/15154
6041 * gdb.cp/non-trivial-retval.cc: New file.
6042 * gdb.cp/non-trivial-retval.exp: New file.
6043
10c5f0a8
YQ
60442014-10-15 Yao Qi <yao@codesourcery.com>
6045
6046 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6047 remote host.
6048
65d7b369
YQ
60492014-10-15 Yao Qi <yao@codesourcery.com>
6050
6051 * gdb.python/py-symbol.exp: Match file base name if host is
6052 remote, otherwise match file name with dir name.
6053 * gdb.python/py-symtab.exp: Likewise.
6054 * gdb.python/python.exp: Likewise.
6055
46dc1394
YQ
60562014-10-15 Yao Qi <yao@codesourcery.com>
6057
6058 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6059 pattern.
6060 * gdb.python/py-symtab.exp: Likewise.
6061 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6062 locationn.
6063
c40cc657
JB
60642014-10-14 Joel Brobecker <brobecker@adacore.com>
6065
6066 * gdb.ada/addr_arith: New testcase.
6067
2abf49e1
MR
60682014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6069
6070 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6071 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6072 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6073 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6074
f7088df3
SDJ
60752014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6076
6077 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6078 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6079 * gdb.arch/stap-eval-lang-ada.exp: New file.
6080
4dc06805
YQ
60812014-10-14 Yao Qi <yao@codesourcery.com>
6082
6083 * gdb.mi/mi-var-child.c (nothing1): New function.
6084 (nothing2): New function.
6085 (do_children_tests): Set function pointers by nothing1 and
6086 nothing2.
6087 * gdb.mi/mi-var-child.exp: Step over new added statements.
6088 Update test to match the new output.
6089 * gdb.mi/var-cmd.c (nothing1): New function.
6090 (nothing2): New function.
6091 (do_children_tests): Set function pointers by nothing1 and
6092 nothing2.
6093 * gdb.mi/mi-var-display.exp: Update test to match output.
6094 Step to the line specified by $line_dct_nothing.
6095 Increase the number of lines to step.
6096
46a93de2
YQ
60972014-10-14 Yao Qi <yao@codesourcery.com>
6098
6099 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6100 tests.
6101 * gdb.mi/mi2-var-child.exp: Likewise.
6102
14ea52ee
DE
61032014-10-13 Doug Evans <dje@google.com>
6104
6105 * gdb.python/py-objfile.exp: Change name of file name test.
6106
e5c6e92b
DE
61072014-10-13 Doug Evans <dje@google.com>
6108
6109 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6110 from the start of the CU.
6111
c780cc2f
JK
61122014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6113 Yao Qi <yao@codesourcery.com>
6114
6115 Fix "save breakpoints" for "catch" command.
6116 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6117 Remove -nonewline. Match also the added "main" line.
6118
99894e11
JK
61192014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6120
6121 Fix "save breakpoints" for "disable $bpnum" command.
6122 * gdb.base/save-bp.c (main): Add label.
6123 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6124
6e1ac5a3
JK
61252014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6126
6127 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6128
754dd2b0
YQ
61292014-10-11 Yao Qi <yao@codesourcery.com>
6130
6131 * gdb.server/server-kill.exp: Execute command
6132 "set remote trace-status-packet on" before "tstatus".
6133
f90183d7
YQ
61342014-10-11 Yao Qi <yao@codesourcery.com>
6135
6136 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6137 (main): Call getppid.
6138 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6139 and continue to it. Read variable "server_pid".
6140
bf40a607
YQ
61412014-10-11 Yao Qi <yao@codesourcery.com>
6142
6143 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6144
052ca370
YQ
61452014-10-11 Yao Qi <yao@codesourcery.com>
6146
6147 * gdb.threads/thread-find.exp: Don't execute command
6148 "info threads".
6149 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6150 * gdb.threads/linux-dp.exp: Don't check the condition
6151 $threads_created equals to zero.
6152
3831839c
PA
61532014-10-10 Pedro Alves <palves@redhat.com>
6154
6155 * gdb.base/bigcore.exp: Remove references to IRIX.
6156 * gdb.base/funcargs.exp: Likewise.
6157 * gdb.base/interrupt.exp: Likewise.
6158 * gdb.base/mips_pro.exp: Likewise.
6159 * gdb.base/nodebug.exp: Likewise.
6160 * gdb.base/setvar.exp: Likewise.
6161 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6162
8b9a549d
PA
61632014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6164 Pedro Alves <palves@redhat.com>
6165
6166 PR symtab/14466
6167 * gdb.base/vdso-warning.c: New file.
6168 * gdb.base/vdso-warning.exp: New file.
6169
d48ba5e8
DE
61702014-10-02 Doug Evans <dje@google.com>
6171
6172 * gdb.base/structs.c (main): Don't run forever.
6173
2278c276
PA
61742014-10-02 Pedro Alves <palves@redhat.com>
6175
6176 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6177 (top level) <stop threads 1, stop threads 2>: Use it.
6178
b57bacec
PA
61792014-10-02 Pedro Alves <palves@redhat.com>
6180
6181 * gdb.threads/break-while-running.exp (test): Add new
6182 'update_thread_list' argument. Skip "info threads" if false.
6183 (top level): Add new 'update_thread_list' axis.
6184
13fd3ff3
PA
61852014-10-02 Pedro Alves <palves@redhat.com>
6186
6187 PR breakpoints/17431
6188 * gdb.base/execl-update-breakpoints.c: New file.
6189 * gdb.base/execl-update-breakpoints.exp: New file.
6190
0fec99e8
PA
61912014-10-01 Pedro Alves <palves@redhat.com>
6192
6193 * gdb.base/breakpoint-in-ro-region.c: New file.
6194 * gdb.base/breakpoint-in-ro-region.exp: New file.
6195
2ddf4301
SM
61962014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6197
6198 * gdb.mi/mi-exit-code.exp: New file.
6199 * gdb.mi/mi-exit-code.c: New file.
6200
6a5f3f43
YQ
62012014-09-30 Yao Qi <yao@codesourcery.com>
6202
6203 * lib/prelink-support.exp (build_executable_own_libs): Error if
6204 the target isn't native.
6205
345bcc73
YQ
62062014-09-30 Yao Qi <yao@codesourcery.com>
6207
6208 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6209 false.
6210
a25a5a45
PA
62112014-09-22 Pedro Alves <palves@redhat.com>
6212
6213 * gdb.threads/break-while-running.exp: New file.
6214 * gdb.threads/break-while-running.c: New file.
6215
00ba3162
YQ
62162014-09-19 Yao Qi <yao@codesourcery.com>
6217
6218 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6219 Invoke test. Restart GDB with --readnow and invoke test again.
6220
c3b7b696
YQ
62212014-09-19 Yao Qi <yao@codesourcery.com>
6222
6223 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6224 proc set_breakpoint_on_gcd_function. Invoke
6225 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6226 invoke set_breakpoint_on_gcd_function again.
6227
2b4fd423
DE
62282014-09-18 Doug Evans <dje@google.com>
6229
6230 * gdb.dwarf2/symtab-producer.exp: New file.
6231
a5947601
SDJ
62322014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6233
6234 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6235 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6236 * gdb.base/global-var-nested-by-dso.c: Likewise.
6237 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6238
91c19059
SDJ
62392014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6240 Pedro Alves <palves@redhat.com>
6241
6242 * gdb.base/watch-bitfields.exp: Pass string other than test file
6243 name to prepare_for_testing.
6244 (watch): New procedure.
6245 (expect_watchpoint): Use with_test_prefix.
6246 (top level): Factor out tests to ...
6247 (test_watch_location, test_regular_watch): ... these new
6248 procedures, and use with_test_prefix and gdb_continue_to_end.
6249
bb9d5f81
PP
62502014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6251
6252 PR breakpoints/12526
6253 * gdb.base/watch-bitfields.exp: New file.
6254 * gdb.base/watch-bitfields.c: New file.
6255
635856f5
PA
62562014-09-16 Pedro Alves <palves@redhat.com>
6257
6258 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6259 software and hardware addresses, not software address against
6260 itself.
6261
7280ceea
PA
62622014-09-16 Pedro Alves <palves@redhat.com>
6263
6264 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6265 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6266
428b16bd
PA
62672014-09-16 Pedro Alves <palves@redhat.com>
6268
6269 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6270 files.
6271 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6272 "*-*-vxworks*" throughout.
6273 * gdb.base/break.exp: Likewise.
6274 * gdb.base/default.exp: Likewise.
6275 * gdb.base/scope.exp: Likewise.
6276 * gdb.base/sepdebug.exp: Likewise.
6277 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6278 throughout.
6279 * gdb.base/run.c: Likewise.
6280 * gdb.base/sepdebug.c: Likewise.
6281 * gdb.hp/gdb.aCC/run.c: Likewise.
6282 * gdb.reverse/until-reverse.c: Likewise.
6283 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6284
666d413c
YQ
62852014-09-16 Yao Qi <yao@codesourcery.com>
6286
6287 * boards/local-remote-host-native.exp: New file.
6288
57cbd724
DE
62892014-09-14 Doug Evans <xdje42@gmail.com>
6290
6291 * gdb.threads/queue-signal.c (thread_count): New variable.
6292 (thread_count_mutex, thread_count_condvar): New variables.
6293 (incr_thread_count, wait_all_threads_running): New functions.
6294 (main): Wait for all threads to be in their thread functions.
6295
81219e53
DE
62962014-09-13 Doug Evans <xdje42@gmail.com>
6297
6298 * gdb.threads/queue-signal.c: New file.
6299 * gdb.threads/queue-signal.exp: New file.
6300
3714cea7
DE
63012014-09-13 Doug Evans <xdje42@gmail.com>
6302
6303 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6304 be consistent with what default_gdb_init uses.
6305 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6306 the plain text of the prompt. Add some logging printfs.
6307 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6308
fa43b1d7
PA
63092014-09-12 Pedro Alves <palves@redhat.com>
6310
6311 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6312 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6313 * gdb.arch/i386-size-overlap.exp: Likewise.
6314 * gdb.arch/i386-size.exp: Likewise.
6315 * gdb.arch/i386-unwind.exp: Likewise.
6316 * gdb.base/a2-run.exp: Likewise.
6317 * gdb.base/break.exp: Likewise.
6318 * gdb.base/charset.exp: Likewise.
6319 * gdb.base/chng-syms.exp: Likewise.
6320 * gdb.base/commands.exp: Likewise.
6321 * gdb.base/dbx.exp: Likewise.
6322 * gdb.base/find.exp: Likewise.
6323 * gdb.base/funcargs.exp: Likewise.
6324 * gdb.base/jit-simple.exp: Likewise.
6325 * gdb.base/reread.exp: Likewise.
6326 * gdb.base/sepdebug.exp: Likewise.
6327 * gdb.base/step-bt.exp: Likewise.
6328 * gdb.cp/mb-inline.exp: Likewise.
6329 * gdb.cp/mb-templates.exp: Likewise.
6330 * gdb.objc/basicclass.exp: Likewise.
6331 * gdb.threads/killed.exp: Likewise.
6332
9d9bf2df
EBM
63332014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6334
6335 PR tdep/17379
6336 * gdb.arch/powerpc-stackless.S: New file.
6337 * gdb.arch/powerpc-stackless.exp: New file.
6338
1cf2f1b0
JK
63392014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6340
6341 * gdb.base/attach.c: Include unistd.h.
6342 (main): Call alarm. Add label postloop.
6343 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6344 gdb_breakpoint, gdb_continue_to_breakpoint.
6345 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6346
98880d46
PA
63472014-09-11 Pedro Alves <palves@redhat.com>
6348
6349 PR gdb/17347
6350 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6351 * gdb.base/attach.exp (test_command_line_attach_run): New
6352 procedure.
6353 (top level): Call it.
6354
4c92ff2c
PA
63552014-09-11 Pedro Alves <palves@redhat.com>
6356
6357 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6358 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6359 (do_command_attach_tests): Use spawn_wait_for_attach.
6360 * gdb.base/solib-overlap.exp: Likewise.
6361 * gdb.multi/multi-attach.exp: Likewise.
6362 * gdb.python/py-prompt.exp: Likewise.
6363 * gdb.python/py-sync-interp.exp: Likewise.
6364 * gdb.server/ext-attach.exp: Likewise.
6365
3adc1a7d
GKB
63662014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6367
6368 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6369 command in testcase. Simplify testcase.
6370
96334934
JB
63712014-09-10 Joel Brobecker <brobecker@adacore.com>
6372
6373 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6374
eb479039
JB
63752014-09-10 Joel Brobecker <brobecker@adacore.com>
6376
6377 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6378
deede10c
JB
63792014-09-10 Joel Brobecker <brobecker@adacore.com>
6380
6381 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6382
7828a5f5
JB
63832014-09-10 Joel Brobecker <brobecker@adacore.com>
6384
6385 * gdb.dwarf2/dynarr-ptr.c: New file.
6386 * gdb.dwarf2/dynarr-ptr.exp: New file.
6387
33aeebcf
MR
63882014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6389
6390 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6391 of 30 rather than hardcoding 120 for a slow test case. Take the
6392 `gdb,timeout' target setting into account for this calculation.
6393 Don't extend the timeout for the test cases that don't need it.
6394
7b415901
MR
63952014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6396
6397 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6398 a factor of 2 for a slow test case. Take the `gdb,timeout'
6399 target setting into account for this calculation.
6400 * gdb.reverse/until-precsave.exp: Increase the timeout by
6401 a factor of 15 and 3 respectively rather than adding 120
6402 for a pair of slow test cases. Take the `gdb,timeout'
6403 target setting into account for this calculation.
6404
4a40f85a
MR
64052014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6406
6407 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6408 timeout, don't pass one down to gdb_expect.
6409 (gdb_expect): Rework timeout selection.
6410
09635af7
MR
64112014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6412
6413 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6414 exception on timeout.
6415 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6416 (gdbserver_start_extended): Catch any `gdbserver_start' error
6417 exceptions.
6418 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6419 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6420 `gdbserver_gdb_load' error exceptions.
6421
2bdd10b7
MR
64222014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6423
6424 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6425 120 on waiting for the TCP socket to open.
6426
316935f0
DE
64272014-09-09 Doug Evans <xdje42@gmail.com>
6428
6429 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6430 _caller_matches, _any_caller_is, _any_caller_matches.
6431
83740597
DE
64322014-09-09 Doug Evans <xdje42@gmail.com>
6433
6434 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6435
4c122fc3
YQ
64362014-09-09 Yao Qi <yao@codesourcery.com>
6437
6438 * gdb.mi/mi-var-display.exp: Set print symbol off.
6439
a9f116cb
GKB
64402014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6441
6442 PR gdb/17035
6443 * gdb.base/commands.exp: Add tests to verify user-defined
6444 commands with empty bodies.
6445 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6446 python commands in `show user command`.
6447 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6448 scheme commands in `show user command`.
6449
c75bd3a2
JK
64502014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6451
6452 PR python/17355
6453 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6454 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6455 * gdb.python/py-framefilter-invalidarg.exp: New file.
6456 * gdb.python/py-framefilter-invalidarg.py: New file.
6457
faa42425
DE
64582014-09-06 Doug Evans <xdje42@gmail.com>
6459
6460 PR 15276
6461 * gdb.python/py-caller-is.c: New file.
6462 * gdb.python/py-caller-is.exp: New file.
6463
474ca4f6
SDJ
64642014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6465
6466 PR gdb/17235
6467 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6468 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6469
eb0b0463
SDJ
64702014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6471
6472 PR fortran/17237
6473 * gdb.fortran/print-formatted.exp: New file.
6474 * gdb.fortran/print-formatted.f90: Likewise.
6475
5f3b99cf
SS
64762014-09-03 Sasha Smundak <asmundak@google.com>
6477
6478 * gdb.python/py-frame.exp: Test Frame.read_register.
6479
7d793aa9
SDJ
64802014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6481
6482 PR python/16699
6483 * gdb.python/py-completion.exp: New file.
6484 * gdb.python/py-completion.py: Likewise.
6485
fb0576e9
DE
64862014-08-28 Doug Evans <dje@google.com>
6487
6488 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6489 eax,etc. are live with values set by gdb and thus the compiler can't
6490 use them.
6491 * gdb.arch/i386-pseudo.c (main): Ditto.
6492
ee92b0dd
DE
64932014-08-27 Doug Evans <dje@google.com>
6494
6495 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6496
6649db35
DE
64972014-08-25 Doug Evans <dje@google.com>
6498
6499 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6500 (main): Ditto.
6501
564b7600
DE
65022014-08-25 Doug Evans <dje@google.com>
6503
6504 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6505
3881fb67
YQ
65062014-08-24 Yao Qi <yao@codesourcery.com>
6507
6508 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6509 symbol off.
6510 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6511
a05a36a5
DE
65122014-08-22 Doug Evans <dje@google.com>
6513
6514 PR 17276
6515 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6516 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6517 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6518
7c343b48
YQ
65192014-08-22 Yao Qi <yao@codesourcery.com>
6520
6521 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6522 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6523 * gdb.python/python.exp: Likewise. Use .py file on the host
6524 instead of the build.
6525
22fd09ae
JK
65262014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6527
6528 * gdb.threads/gcore-stale-thread.c: New file.
6529 * gdb.threads/gcore-stale-thread.exp: New file.
6530
a8454a7c
PA
65312014-08-21 Pedro Alves <palves@redhat.com>
6532
6533 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6534 * gdb.base/gcore-relro-pie.exp: Likewise.
6535 * gdb.base/gcore-relro.exp: Likewise.
6536 * gdb.base/gcore.exp: Likewise.
6537 * gdb.base/print-symbol-loading.exp: Likewise.
6538 * gdb.threads/gcore-thread.exp: Likewise.
6539 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6540
2a31c623
PA
65412014-08-20 Pedro Alves <palves@redhat.com>
6542 Jan Kratochvil <jan.kratochvil@redhat.com>
6543
6544 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6545 configure.
6546 (EXPECT): Handle READ1 being set.
6547 (all): Depend on EXTRA_RULES.
6548 (check-read1, expect-read1, read1.so, read1): New rules.
6549 * README (Testsuite Parameters): Document the READ1 make variable.
6550 (Race detection): New section.
6551 * configure: Regenerate.
6552 * configure.ac: If build==host==target, and running under a
6553 GNU/glibc system, add read1 to the extra Makefile rules.
6554 (EXTRA_RULES): AC_SUBST it.
6555 * lib/read1.c: New file.
6556
d36430db
JB
65572014-08-20 Joel Brobecker <brobecker@adacore.com>
6558
6559 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6560 the handling of variables declared as a typedef to an array
6561 which a DW_AT_data_location attribute.
6562
9a0dc9e3
PA
65632014-08-19 Andrew Burgess <aburgess@broadcom.com>
6564 Pedro Alves <palves@redhat.com>
6565
6566 PR symtab/14604
6567 PR symtab/14605
6568 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6569 gdb_test.
6570
0718a8da
PA
65712014-08-19 Pedro Alves <palves@redhat.com>
6572
6573 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6574
13b448cd
YQ
65752014-08-19 Yao Qi <yao@codesourcery.com>
6576
6577 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6578 right line.
6579
1cbf5077
DB
65802014-08-18 David Blaikie <dblaikie@gmail.com>
6581
6582 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6583
bf0fae19
JB
65842014-08-18 Joel Brobecker <brobecker@adacore.com>
6585
6586 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6587 attribute in array range.
6588
3c8c5dcc
JB
65892014-08-18 Joel Brobecker <brobecker@adacore.com>
6590
6591 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6592
e66d4446
SC
65932014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6594
6595 PR c++/17132
6596 * gdb.cp/pr17132.cc: New file.
6597 * gdb.cp/pr17132.exp: New file.
6598
940df408
SC
65992014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6600
6601 * gdb.python/py-xmethods.py (A_getarrayind)
6602 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6603 Use 'print' with function call syntax.
6604 (E_method_matcher.match): Fix tab vs space indentation mixup.
6605
ebcc6c3a
YQ
66062014-08-15 Yao Qi <yao@codesourcery.com>
6607
6608 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6609 false.
6610
775e0f04
YQ
66112014-08-15 Yao Qi <yao@codesourcery.com>
6612
6613 * gdb.cp/casts.exp: Set print symbol off.
6614 * gdb.cp/class2.exp: Likewise.
6615 * gdb.cp/overload.exp: Likewise.
6616 * gdb.cp/templates.exp: Likewise.
6617
d769e349
DE
66182014-08-11 Doug Evans <dje@google.com>
6619
6620 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6621 (test_load_shlib): Update.
6622
20c6f1e1
YQ
66232014-08-09 Yao Qi <yao@codesourcery.com>
6624
6625 * gdb.base/display.exp: Invoke is_address_zero_readable.
6626 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6627 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6628 * gdb.base/hbreak-unmapped.exp: Return if
6629 is_address_zero_readable returns true.
6630 * gdb.base/signest.exp: Likewise.
6631 * gdb.base/signull.exp: Likewise.
6632 * gdb.base/sigbpt.exp: Likewise.
6633 * gdb.guile/scm-disasm.exp: Do the test if
6634 is_address_zero_readable returns false.
6635 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6636 * gdb.python/py-arch.exp: Likewise.
6637 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6638 * lib/gdb.exp (is_address_zero_readable): New proc.
6639
5792e8e3
YQ
66402014-08-09 Yao Qi <yao@codesourcery.com>
6641
6642 PR testsuite/13443
6643 * gdb.mi/mi-var-display.exp: Make test messages unique.
6644
3cecbbbe
TT
66452014-08-04 Tom Tromey <tromey@redhat.com>
6646
6647 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
6648 target 0".
6649
00b51ff5
TT
66502014-08-04 Tom Tromey <tromey@redhat.com>
6651
6652 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6653 "target_resume".
6654
6908c509
JB
66552014-08-01 Joel Brobecker <brobecker@adacore.com>
6656
6657 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6658 inner_vla_struct_object_size.
6659 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6660 as xfail.
6661
cc6563d2
PA
66622014-07-30 Pedro Alves <palves@redhat.com>
6663
6664 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6665 comment.
6666
7e09a223
YQ
66672014-07-29 Yao Qi <yao@codesourcery.com>
6668
6669 PR gdb/17206
6670 * gdb.base/until-nodebug.exp: New.
6671
7ebdbe92
DE
66722014-07-28 Doug Evans <xdje42@gmail.com>
6673
6674 PR guile/17203
6675 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6676 previously existing parameter, and previously ambiguously spelled
6677 parameter.
6678
fdb1adc6
WN
66792014-07-28 Will Newton <will.newton@linaro.org>
6680
6681 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6682
186fcde0
DE
66832014-07-26 Ludovic Courtès <ludo@gnu.org>
6684 Doug Evans <xdje42@gmail.com>
6685
6686 PR guile/17146
6687 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6688
70509625
PA
66892014-07-25 Pedro Alves <palves@redhat.com>
6690
6691 * gdb.threads/signal-command-handle-nopass.c: New file.
6692 * gdb.threads/signal-command-handle-nopass.exp: New file.
6693 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6694 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6695 * gdb.threads/signal-delivered-right-thread.c: New file.
6696 * gdb.threads/signal-delivered-right-thread.exp: New file.
6697
c3f814a1
PA
66982014-07-25 Pedro Alves <palves@redhat.com>
6699
6700 * gdb.base/double-prompt-target-event-error.exp
6701 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6702 match.
6703 (cancel_pagination_in_target_event): Rework double prompt
6704 detection.
6705 * gdb.base/paginate-after-ctrl-c-running.exp
6706 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6707 <return>' match.
6708 * gdb.base/paginate-bg-execution.exp
6709 (test_bg_execution_pagination_return)
6710 (test_bg_execution_pagination_cancel): Remove '-notransfer
6711 <return>' matches.
6712 * gdb.base/paginate-execution-startup.exp
6713 (test_fg_execution_pagination_return)
6714 (test_fg_execution_pagination_cancel): Remove '-notransfer
6715 <return>' matches.
6716 * gdb.base/paginate-inferior-exit.exp
6717 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6718 match.
6719 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6720 * lib/gdb.exp (pagination_prompt): Run text through
6721 string_to_regexp.
6722 (gdb_test_multiple): Match $pagination_prompt instead of
6723 "<return>".
6724 (string_to_regexp): Move to lib/gdb-utils.exp.
6725
e214cf6c
JK
67262014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6727
6728 * gdb.arch/amd64-entry-value-paramref.S: New file.
6729 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6730 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6731 * gdb.arch/amd64-optimout-repeat.S: New file.
6732 * gdb.arch/amd64-optimout-repeat.c: New file.
6733 * gdb.arch/amd64-optimout-repeat.exp: New file.
6734
17d0c5c8
JK
67352014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6736
6737 PR gdb/17170
6738 * gdb.base/statistics.exp: New file.
6739
b8b8facf
DE
67402014-07-17 Doug Evans <dje@google.com>
6741
74b49205 6742 PR gdb/17170
b8b8facf
DE
6743 * gdb.base/maint.exp: Update testing of per-command stats.
6744
1b5d0ab3
PA
67452014-07-16 Pedro Alves <palves@redhat.com>
6746
6747 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6748 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6749 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6750 (tfile_write_buf): New functions.
6751 (add_memory_block): Rewrite using the above.
6752 (adjust_function_address): New function.
6753 (FUNCTION_ADDRESS): New macro.
6754 (write_basic_trace_file): Remove short_x local, and use
6755 tfile_write_16. Change type of func_addr local to unsigned long
6756 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6757 here. Cast argument of add_memory_block to char pointer.
6758 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6759 (main): Remove parameters.
6760 * gdb.trace/tfile.exp: Remove nowarnings.
6761
4d974e88
SM
67622014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6763
6764 * gdb.base/debug-expr.exp: Test string evaluation with
6765 "debug expression" on.
6766
41e99568
PA
67672014-07-15 Pedro Alves <palves@redhat.com>
6768
6769 * gdb.base/reread.exp: Use clean_restart.
6770
487d9753
PL
67712014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6772
6773 * gdb.arch/avr-flash-qualifer.c: New.
6774 * gdb.arch/avr-flash-qualifer.exp: New.
6775
cc1c52ad
PA
67762014-07-14 Pedro Alves <palves@redhat.com>
6777
6778 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6779 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6780
1e973570
PA
67812014-07-14 Pedro Alves <palves@redhat.com>
6782
6783 * gdb.base/double-prompt-target-event-error.c: New file.
6784 * gdb.base/double-prompt-target-event-error.exp: New file.
6785
93d6eb10
PA
67862014-07-14 Pedro Alves <palves@redhat.com>
6787
6788 PR gdb/17072
6789 * gdb.base/paginate-inferior-exit.c: New file.
6790 * gdb.base/paginate-inferior-exit.exp: New file.
6791
0017922d
PA
67922014-07-14 Pedro Alves <palves@redhat.com>
6793
6794 PR gdb/17072
6795 * gdb.base/paginate-bg-execution.c: New file.
6796 * gdb.base/paginate-bg-execution.exp: New file.
6797
94696ad3
PA
67982014-07-14 Pedro Alves <palves@redhat.com>
6799
6800 PR gdb/17072
6801 * gdb.base/paginate-execution-startup.c: New file.
6802 * gdb.base/paginate-execution-startup.exp: New file.
6803 * lib/gdb.exp (pagination_prompt): New global.
6804 (default_gdb_spawn): New procedure, factored out from
6805 default_gdb_spawn.
6806 (default_gdb_start): Adjust to call default_gdb_spawn.
6807 (gdb_spawn): New procedure.
6808
bd293940
PA
68092014-07-14 Pedro Alves <palves@redhat.com>
6810
6811 * lib/gdb.exp (gdb_assert): New procedure.
6812 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6813
c933f875
PA
68142014-07-14 Pedro Alves <palves@redhat.com>
6815
6816 * gdb.base/execution-termios.c: New file.
6817 * gdb.base/execution-termios.exp: New file.
6818
d98b7a16
TT
68192014-07-14 Tom Tromey <tromey@redhat.com>
6820
6821 * gdb.cp/vla-cxx.cc: New file.
6822 * gdb.cp/vla-cxx.exp: New file.
6823
548740d6
TT
68242014-07-14 Tom Tromey <tromey@redhat.com>
6825
6826 * gdb.reverse/rerun-prec.c: New file.
6827 * gdb.reverse/rerun-prec.exp: New file.
6828
a25eb028
MR
68292014-07-12 Maciej W. Rozycki <macro@mips.com>
6830 Maciej W. Rozycki <macro@codesourcery.com>
6831
6832 * lib/gdb-utils.exp: New file.
6833 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6834 inline `gdb_init_command' processing.
6835 (gdb_start_cmd): Likewise.
6836 * lib/mi-support.exp (mi_run_cmd): Likewise.
6837 * README: Document `gdb_init_command' and `gdb_init_commands'.
6838
218c2655
JK
68392014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6840
6841 Fix false FAIL running under a very long directory name.
6842 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6843 and "set print elements 10000". Twice.
6844
5401fde3
YQ
68452014-07-11 Yao Qi <yao@codesourcery.com>
6846
6847 * gdb.base/exprs.exp: "set print symbol off".
6848
e76126e8
PA
68492014-07-11 Pedro Alves <palves@redhat.com>
6850
6851 * gdb.threads/kill.c: New file.
6852 * gdb.threads/kill.exp: New file.
6853
2d6f0de6
YQ
68542014-07-10 Yao Qi <yao@codesourcery.com>
6855
6856 * gdb.trace/tfile.c (write_basic_trace_file)
6857 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6858 address written to trace file.
6859
7180e04a
PA
68602014-07-09 Pedro Alves <palves@redhat.com>
6861
6862 * gdb.base/attach-wait-input.exp: New file.
6863 * gdb.base/attach-wait-input.c: New file.
6864
9a9a7608
AB
68652014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6866
6867 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6868 setting up test structures.
6869 (main): Call new test function.
6870 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6871 test function, continue into test function and walk test
6872 structures.
6873
161ac41e
YQ
68742014-07-02 Yao Qi <yao@codesourcery.com>
6875
6876 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6877 'bar_start' at the beginning of functions 'foo' and 'bar'
6878 respectively.
6879 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6880 instead of 'foo' and 'bar'.
6881
1f267ae3
MM
68822014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6883
6884 * gdb.btrace/segv.exp: New.
6885 * gdb.btrace/segv.c: New.
6886
2b239efb
LM
68872014-07-02 Luis Machado <lgustavo@codesourcery.com>
6888
6889 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6890 instruction.
6891
cf363f18
MW
68922014-06-30 Mark Wielaard <mjw@redhat.com>
6893
6894 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6895 vulture, vilify, villar): New volatile array constants.
6896 (vindictive, vegetation): New const volatile array constants.
6897 * gdb.base/volatile.exp: Test volatile and const volatile array
6898 types.
6899
aebf9d24
AA
69002014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6901
6902 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6903 target lacks support for awatch, rwatch, or hbreak.
6904
b67a2c6f
YQ
69052014-06-27 Yao Qi <yao@codesourcery.com>
6906
6907 * gdb.multi/dummy-frame-restore.exp: New.
6908 * gdb.multi/dummy-frame-restore.c: New.
6909
aef92902
MM
69102014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6911
6912 * gdb.btrace/gcore.exp: New.
6913
8e9db26e
PA
69142014-06-23 Pedro Alves <palves@redhat.com>
6915
6916 * gdb.base/watchpoint-reuse-slot.c: New file.
6917 * gdb.base/watchpoint-reuse-slot.exp: New file.
6918
70afc5b7
SC
69192014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6920
6921 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6922 progspace's filename in 'info', 'enable' and 'disable' command
6923 tests.
6924
b972bd9c
JK
69252014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6926
6927 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6928 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6929 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6930
125f8a3d
GB
69312014-06-20 Gary Benson <gbenson@redhat.com>
6932
6933 * gdb.arch/i386-avx.exp: Fix include file location.
6934 * gdb.arch/i386-sse.exp: Likewise.
6935
3ed9baed
IB
69362014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6937
6938 * gdb.dlang/expression.exp: New file.
6939
034f788c
PA
69402014-06-19 Pedro Alves <palves@redhat.com>
6941
6942 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6943 out from ...
6944 (top level): ... here. Iterate running tests under different
6945 scheduler-locking settings.
6946
45371d0c
LM
69472014-06-18 Luis Machado <lgustavo@codesourcery.com>
6948
6949 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6950 to DW_FORM_addr and use non-zero addresses.
6951
5d376983
SC
69522014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6953
6954 PR gdb/17017
6955 * gdb.python/py-xmethods.cc: Add global function call counters and
6956 increment them in their respective functions. Remove "cout"
6957 statements.
6958 * gdb.python/py-xmethods.exp: Make tests check the global function
6959 call counters instead of depending on inferior IO.
6960
a1aa2221
LM
69612014-06-18 Don Breazeal <donb@codesourcery.com>
6962
6963 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6964 Deleted procedure.
6965 (explicit_fork_parent_follow): Deleted procedure.
6966 (explicit_fork_child_follow): Deleted procedure.
6967 (test_follow_fork): New procedure.
6968 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 6969 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
6970 procedure calls.
6971
0fc05997
YQ
69722014-06-17 Yao Qi <yao@codesourcery.com>
6973
6974 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6975 CP1252.
6976
70795c52
LM
69772014-06-17 Luis Machado <lgustavo@codesourcery.com>
6978
6979 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6980 Initialize ptr and S explicitly.
6981 (skip_type_update_when_not_use_rtti_test): Likewise.
6982
6be47f0c
KS
69832014-06-16 Keith Seitz <keiths@redhat.com>
6984
6985 PR mi/15863
6986 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6987 the inferior is started.
6988
d03de421
PA
69892014-06-16 Pedro Alves <palves@redhat.com>
6990
6991 * gdb.base/break-main-file-remove-fail.c: New file.
6992 * gdb.base/break-main-file-remove-fail.exp: New file.
6993 * gdb.base/break-unload-file.exp: Use build_executable instead of
6994 prepare_for_testing.
6995 (test_break): New parameter "initial_load". Handle it.
6996 (top level): Add initial_load cmdline/file axis.
6997
f9579b99
TT
69982014-06-12 Tom Tromey <tromey@redhat.com>
6999
7000 * gdb.base/completion.exp: Don't use directory name in test.
7001
3657956b
GB
70022014-06-09 Gary Benson <gbenson@redhat.com>
7003
7004 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7005 separate the always-available ANSI-standard signals from the
7006 signals that require checking.
7007 (main): Likewise.
7008 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7009 Likewise.
7010 (main): Likewise.
7011
4186eb54
KS
70122014-06-07 Keith Seitz <keiths@redhat.com>
7013
7014 Revert:
7015 PR c++/16253
7016 * gdb.cp/var-tag.cc: New file.
7017 * gdb.cp/var-tag.exp: New file.
7018 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7019 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7020 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7021 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7022
25326a28 70232014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
7024
7025 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7026
829155c9
PA
70272014-06-06 Pedro Alves <palves@redhat.com>
7028
7029 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7030 in target debug output instead of looking at RSP packets,
7031 disabling the test on any target that uses hardware stepping.
7032 Update comments.
7033
61c8d22e
PA
70342014-06-06 Pedro Alves <palves@redhat.com>
7035
7036 * gdb.base/break-unload-file.exp: Fix typo.
7037
d9a47287
YQ
70382014-06-06 Yao Qi <yao@codesourcery.com>
7039
7040 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7041 from "jit_function" to "^jit_function".
7042
e5e01dbf
YQ
70432014-06-06 Yao Qi <yao@codesourcery.com>
7044
7045 * gdb.base/async.c (foo): Add one statement.
7046 * gdb.base/async.exp: Get the next instruction address and
7047 match the output of "nexti" by instruction address. Match
7048 the hex address in the output of "finish".
7049
73ba372c
GB
70502014-06-06 Gary Benson <gbenson@redhat.com>
7051
7052 * gdb.base/call-signals.c: Remove preprocessor conditionals
7053 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7054 SIGSEGV and SIGTERM.
7055 * gdb.base/sigall.c: Likewise.
7056 * gdb.base/unwindonsignal.c: Likewise.
7057 * gdb.reverse/sigall-reverse.c: Likewise.
7058
831517df
YQ
70592014-06-06 Yao Qi <yao@codesourcery.com>
7060
7061 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7062 readable, skip the test.
7063
b8b91e98
YQ
70642014-06-06 Yao Qi <yao@codesourcery.com>
7065
7066 * gdb.threads/staticthreads.c (thread_function): Move the line
7067 setting breakpoint on forward.
7068 * gdb.threads/staticthreads.exp: Update comments.
7069
fb934770
LC
70702014-06-05 Ludovic Courtès <ludo@gnu.org>
7071
7072 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7073 "history-append! type error".
7074
6ef284bd
SM
70752014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7076
7077 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7078 erroneous dprintf expected input.
7079
a872e241
DE
70802014-06-04 Doug Evans <xdje42@gmail.com>
7081
7082 * gdb.guile/scm-generics.exp: Delete.
7083
16f691fb
DE
70842014-06-04 Doug Evans <xdje42@gmail.com>
7085
7086 * gdb.guile/scm-breakpoint.exp: Update.
7087 Add tests for breakpoint registration.
7088
012370f6
TT
70892014-06-04 Tom Tromey <tromey@redhat.com>
7090
7091 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7092 VLA-in-union.
7093 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7094 inner_vla_struct, vla_union types. Initialize objects of those
7095 types and compute their sizes.
7096
9f5a4cef
HZ
70972014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7098 Hui Zhu <hui@codesourcery.com>
7099
7100 * gdb.base/fileio.exp: Add test for shell not available as well as
7101 available.
7102 * gdb.base/fileio.c (test_system): Check for shell twice.
7103
90a45c4d
YQ
71042014-06-04 Yao Qi <yao@codesourcery.com>
7105
7106 * gdb.base/auto-connect-native-target.exp: Remove redundant
7107 space from the regexp pattern.
7108
70017e41
YQ
71092014-06-04 Yao Qi <yao@codesourcery.com>
7110
7111 * gdb.base/default.exp: Replace "child" with "native" in
7112 regexp pattern.
7113
883964a7
SC
71142014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7115
7116 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7117 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7118 * gdb.python/py-xmethods.py: Python script supporting the
7119 new testcase and tests.
7120
ef370185
JB
71212014-06-03 Joel Brobecker <brobecker@adacore.com>
7122 Pedro Alves <palves@redhat.com>
7123
7124 PR breakpoints/17000
7125 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7126 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7127
1e2ccb61
BM
71282014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7129
7130 * gdb.base/subst.exp: Add tests to verify partial path matching
7131 output.
7132
c6ec5ab2
PA
71332014-06-03 Pedro Alves <palves@redhat.com>
7134
7135 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7136 target that doesn't use software single-stepping.
7137
835c559f
PA
71382014-06-03 Pedro Alves <palves@redhat.com>
7139
7140 PR breakpoints/17000
7141 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7142 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7143
06eb1586
DE
71442014-06-02 Doug Evans <xdje42@gmail.com>
7145
7146 * gdb.guile/scm-parameter.exp: New file.
7147
e698b8c4
DE
71482014-06-02 Doug Evans <xdje42@gmail.com>
7149
7150 * gdb.guile/scm-cmd.c: New file.
7151 * gdb.guile/scm-cmd.exp: New file.
7152
ded03782
DE
71532014-06-02 Doug Evans <xdje42@gmail.com>
7154
7155 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7156 pretty-printer lookup.
7157 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7158 (make-pp_s-printer): Call it.
7159 (make-pretty-printer-from-dict): New function.
7160 (lookup-pretty-printer-maker-from-dict): New function.
7161 (*pretty-printer*): Simplify.
7162 (make-objfile-pp_s-printer): New function.
7163 (install-objfile-pretty-printers!): New function.
7164 (make-progspace-pp_s-printer): New function.
7165 (install-progspace-pretty-printers!): New function.
7166 * gdb.guile/scm-progspace.c: New file.
7167 * gdb.guile/scm-progspace.exp: New file.
7168
41fac0cf
PA
71692014-06-02 Pedro Alves <palves@redhat.com>
7170
7171 * gdb.base/dprintf-bp-same-addr.c: New file.
7172 * gdb.base/dprintf-bp-same-addr.exp: New file.
7173
96ae5695
EBM
71742014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7175
7176 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7177 * gdb.arch/powerpc-power.s: Likewise.
7178
da02b3a8
JB
71792014-06-02 Joel Brobecker <brobecker@adacore.com>
7180
7181 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7182
c72b2e7b
YQ
71832014-06-01 Yao Qi <yao@codesourcery.com>
7184
7185 * gdb.base/watchpoint.exp (test_watch_location): Check null
7186 pointer can be dereferenced. If not, do the test, otherwise
7187 skip it.
7188
53e8a631
AB
71892014-05-30 Andrew Burgess <aburgess@broadcom.com>
7190
7191 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7192 results.
7193 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7194
938f0e2f
AB
71952014-05-30 Andrew Burgess <aburgess@broadcom.com>
7196
7197 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7198 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7199 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7200 * gdb.arch/amd64-invalid-stack-top.c: New file.
7201 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7202
9ba6657a
PA
72032014-05-30 Pedro Alves <palves@redhat.com>
7204
7205 PR breakpoints/17000
7206 * gdb.base/sss-bp-on-user-bp.c: New file.
7207 * gdb.base/sss-bp-on-user-bp.exp: New file.
7208
522c09bf
DB
72092014-05-30 David Blaikie <dblaikie@gmail.com>
7210
7211 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7212 gnu_inline semantics via attribute.
7213 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7214 source explicitly specifies the required semantics.
7215
bf4ef81e
MR
72162014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7217
7218 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7219
329ea579
PA
72202014-05-29 Pedro Alves <palves@redhat.com>
7221 Tom Tromey <tromey@redhat.com>
7222
7223 * gdb.base/async-shell.exp: Don't enable target-async.
7224 * gdb.base/async.exp
7225 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7226 parameter. Adjust.
7227 (top level): Don't test with "target-async".
7228 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7229 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7230 * gdb.base/inferior-died.exp: Don't enable target-async.
7231 * gdb.base/interrupt-noterm.exp: Likewise.
7232 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7233 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7234 * gdb.mi/mi-nonstop.exp: Likewise.
7235 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7236 * gdb.mi/mi-nsintrall.exp: Likewise.
7237 * gdb.mi/mi-nsmoribund.exp: Likewise.
7238 * gdb.mi/mi-nsthrexec.exp: Likewise.
7239 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7240 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7241 * gdb.python/py-evsignal.exp: Don't enable target-async.
7242 * gdb.python/py-evthreads.exp: Likewise.
7243 * gdb.python/py-prompt.exp: Likewise.
7244 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7245 * gdb.server/solib-list.exp: Don't enable target-async.
7246 * gdb.threads/thread-specific-bp.exp: Likewise.
7247 * lib/mi-support.exp: Adjust to use mi-async.
7248
fd664c91
PA
72492014-05-29 Pedro Alves <palves@redhat.com>
7250
7251 PR gdb/13860
7252 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7253 reason, even in sync mode.
7254
251bde03
PA
72552014-05-29 Pedro Alves <palves@redhat.com>
7256 Hui Zhu <hui@codesourcery.com>
7257
7258 PR PR15693
7259 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7260 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7261 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7262 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7263
7f3c0343
JB
72642014-05-28 Joel Brobecker <brobecker@adacore.com>
7265
7266 * config/monitor.exp (gdb_target_monitor): Replace use of
7267 "set remotebaud" by "set serial baud".
7268
b2715b27
AW
72692014-05-26 Andy Wingo <wingo@igalia.com>
7270
7271 * gdb.guile/scm-breakpoint.exp:
7272 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7273 properties instead of gdb-object-properties.
7274
498a4489
YQ
72752014-05-26 Yao Qi <yao@codesourcery.com>
7276
7277 * gdb.server/no-thread-db.exp: Specify source file name
7278 explicitly when setting a breakpoint.
7279
589fdceb
MM
72802014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7281
7282 * gdb.btrace/vdso.c: New.
7283 * gdb.btrace/vdso.exp: New.
7284
e9089e05
MM
72852014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7286
7287 * gdb.base/gcore.exp (capture_command_output): Move ...
7288 * lib/gdb.exp (capture_command_output): ... here.
7289
67b5c0c1
MM
72902014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7291
7292 * gdb.btrace/data.exp: Test memory access during btrace replay.
7293
a2199296
SM
72942014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7295
7296 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7297
17b2616c
PA
72982014-05-21 Pedro Alves <palves@redhat.com>
7299
7300 PR gdb/13860
7301 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7302 (top level): Test that output related to execution commands is
7303 sent to the console with CLI commands, but not with MI commands.
7304 Test that breakpoint events are always mirrored to the console.
7305 Also expect the new source line to be output after a "next" in
7306 async mode too. Make it a pass/fail test.
7307 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7308 output.
7309 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7310
5166082f
PA
73112014-05-21 Pedro Alves <palves@redhat.com>
7312
7313 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7314 Use them to test variations of "list" after reaching a breakpoint.
7315 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7316 Test "list" with listsize 10 after reaching a breakpoint.
7317 * gdb.python/python.exp (decode_line current location line
7318 number): Adjust expected line number.
7319
2f25d70f
SM
73202014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7321
7322 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7323 behavior for $args, pass it directly to "run".
7324
ff604a67
MR
73252014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7326
7327 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7328 30000 to 65536.
7329
6a3cb8e8
PA
73302014-05-21 Pedro Alves <palves@redhat.com>
7331
7332 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7333 auto-connect-native-target off".
7334 * gdb.base/auto-connect-native-target.c: New file.
7335 * gdb.base/auto-connect-native-target.exp: New file.
7336
4ebfc96e
PA
73372014-05-21 Pedro Alves <palves@redhat.com>
7338
7339 * gdb.base/default.exp: Test "target native" instead of "target
7340 child".
7341
36d46afb
MW
73422014-05-21 Mark Wielaard <mjw@redhat.com>
7343
7344 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7345
5876f503
JK
73462014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7347
7348 Fix TLS access for -static -pthread.
7349 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7350 <HAVE_TLS> (thread_function, main): Initialize it.
7351 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7352 Add clean_restart.
7353 <$have_tls != "">: Check TLSVAR.
7354
0256a6ac
PA
73552014-05-21 Pedro Alves <palves@redhat.com>
7356
7357 * gdb.base/dcache-line-read-error.c: New.
7358 * gdb.base/dcache-line-read-error.exp: New.
7359
936d2992
PA
73602014-05-20 Pedro Alves <palves@redhat.com>
7361
7362 * gdb.base/compare-sections.c: New file.
7363 * gdb.base/compare-sections.exp: New file.
7364
802e8e6d
PA
73652014-05-20 Pedro Alves <palves@redhat.com>
7366
7367 * gdb.base/break-idempotent.c: New file.
7368 * gdb.base/break-idempotent.exp: New file.
7369
e59fa00f
MM
73702014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7371
7372 * gdb.btrace/nohist.exp: New.
7373
8b696e31
YQ
73742014-05-20 Yao Qi <yao@codesourcery.com>
7375
7376 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7377 gdb.reverse directory and gdb_reverse_timeout exists in board
7378 setting.
7379 * README: Document gdb_reverse_timeout.
7380
73c9764f
YQ
73812014-05-20 Yao Qi <yao@codesourcery.com>
7382
7383 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7384 'test_file_name'. Treat args as a string instead of a list.
7385 (gdb_init): Rename argument 'args' by 'test_file_name'.
7386
f1f4348a
JK
73872014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7388
7389 * gdb.arch/powerpc-power.exp: New file.
7390 * gdb.arch/powerpc-power.s: New file.
7391
0dbe70ce
DE
73922014-05-16 Doug Evans <dje@google.com>
7393
7394 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
7395 * gdb.base/completion.exp: Check that all expected files exist
7396 before doing file completion.
0dbe70ce 7397
8d551b02
DE
73982014-05-16 Doug Evans <dje@google.com>
7399
7400 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7401 Update.
7402 (do_syscall_tests_without_xml): Update.
7403
73eb7709
PA
74042014-05-16 Pedro Alves <palves@redhat.com>
7405
7406 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7407 instead of "unknown output after running".
7408
3fae92fc
YQ
74092014-05-16 Yao Qi <yao@codesourcery.com>
7410
7411 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7412 file1.txt from host at the end.
7413 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7414
c2b2ccc5
DE
74152014-05-15 Doug Evans <dje@google.com>
7416
7417 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7418 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7419 loading file. Add test for TU lookup.
7420
8c217a4b
SM
74212014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7422
7423 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7424 calling "-exec-arguments" or "set args" before running the
7425 inferior.
7426
3deb39c6
SM
74272014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7428
7429 * lib/mi-support.exp (mi_expect_stop): Expect message for
7430 inferiors that exit with non-zero exit code.
7431
71a79f8c
YQ
74322014-05-14 Yao Qi <yao@codesourcery.com>
7433
7434 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7435 match absolute path on remote host.
7436 (test_file_list_exec_source_files): Remove "/" from the
7437 pattern.
7438
f23fcd46
YQ
74392014-05-14 Yao Qi <yao@codesourcery.com>
7440
7441 * boards/local-remote-host-notty.exp (${board}_file): New
7442 proc.
7443
9404b58f
KM
74442014-05-07 Kyle McMartin <kyle@redhat.com>
7445
7446 Pushed by Joel Brobecker <brobecker@adacore.com>.
7447 * gdb.arch/aarch64-atomic-inst.c: New file.
7448 * gdb.arch/aarch64-atomic-inst.exp: New file.
7449
5e45f04c
YQ
74502014-05-07 Yao Qi <yao@codesourcery.com>
7451
7452 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7453 in current context" too.
7454
c888a17d
KS
74552014-05-05 Keith Seitz <keiths@redhat.com>
7456
7457 * gdb.linespec/ls-dollar.exp: Add test for linespec
7458 file:convenience_variable.
7459
290a839c
YQ
74602014-05-05 Yao Qi <yao@codesourcery.com>
7461
7462 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7463 traceframes into tfile and ctf trace files. Read data from
7464 trace file and test collected data.
7465 (gdb_collect_locals_test): Likewise.
7466 (gdb_unavailable_registers_test): Likewise.
7467 (gdb_unavailable_floats): Likewise.
7468 (gdb_collect_globals_test): Likewise.
7469 (top-level): Append "ctf" to trace_file_targets if GDB
7470 supports.
7471
b5262cd0
YQ
74722014-05-05 Yao Qi <yao@codesourcery.com>
7473
7474 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7475 code to ...
7476 (gdb_collect_args_test_1): ... it. New proc.
7477 (gdb_collect_locals_test): Move some code to ...
7478 (gdb_collect_locals_test_1): ... it. New proc.
7479 (gdb_unavailable_registers_test): Move some code to ...
7480 (gdb_unavailable_registers_test_1): ... it. New proc.
7481 (gdb_unavailable_floats): Move some code to ...
7482 (gdb_unavailable_floats_1): ... it. New proc.
7483
30a1e6cc
SDJ
74842014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7485
7486 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7487 probes to test for bitness recognition.
7488 * gdb.arch/amd64-stap-optional-prefix.exp
7489 (test_probe_value_without_reg): New procedure.
7490 Add code to test for different kinds of bitness.
7491
f33da99a
SDJ
74922014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7493
7494 PR breakpoints/16889
7495 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7496 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7497
5b80f00d
PA
74982014-05-01 Pedro Alves <palves@redhat.com>
7499
7500 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7501 gdb_file_cmd if no file is specified.
7502 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7503 last_loaded_file to set the remote exec-file.
7504
f8c2a73c
PA
75052014-05-01 Pedro Alves <palves@redhat.com>
7506
7507 * boards/local-remote-host.exp: New file.
7508
be6e8ac7
PA
75092014-05-01 Pedro Alves <palves@redhat.com>
7510
7511 * boards/local-remote-host.exp: Rename to ...
7512 * boards/local-remote-host-notty.exp: ... this.
7513
cac0dc8f
JB
75142014-04-28 Joel Brobecker <brobecker@adacore.com>
7515
7516 * gdb.ada/dyn_arrayidx: New testcase.
7517
9730e6cc
YQ
75182014-04-26 Yao Qi <yao@codesourcery.com>
7519
7520 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7521 and compute the length of function main. Save it in
7522 $main_length.
7523 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7524 (top-level): Use gdb_compile to compile objects into
7525 executable and restart GDB. Remove invocation to
7526 prepare_for_testing.
7527
7ae1a6a6
PA
75282014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7529 Pedro Alves <palves@redhat.com>
7530
7531 PR server/16255
7532 * gdb.multi/multi-attach.c: New file.
7533 * gdb.multi/multi-attach.exp: New file.
7534
4082afcc
PA
75352014-04-25 Pedro Alves <palves@redhat.com>
7536
7537 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7538 user.
7539 (top level): Test that "set remote conditional-breakpoints-packet
7540 off" works as intended.
7541 * gdb.base/dprintf.exp: Test that "set remote
7542 breakpoint-commands-packet off" works as intended.
7543 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7544 New function.
7545 (top level): Call it.
7546 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7547 remote fast-tracepoints-packet off" works as intended.
7548 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7549 * lib/gdb.exp (gdb_is_target_remote): ... here.
7550
2abc3f8d
DB
75512014-04-24 David Blaikie <dblaikie@gmail.com>
7552
7553 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7554 ensure clang would not discard them.
7555 * gdb.base/gdbvars.c: Ditto.
7556 * gdb.base/memattr.c: Ditto.
7557 * gdb.base/whatis.c: Ditto.
7558 * gdb.python/py-prettyprint.c: Ditto.
7559 * gdb.trace/actions.c: Ditto.
7560 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7561 ensure clang would not discard it.
7562
bfd39632
DB
75632014-04-24 David Blaikie <dblaikie@gmail.com>
7564
7565 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7566 clang to emit the full definition of type required by the test
7567 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7568
22842ff6
DB
75692014-04-24 David Blaikie <dblaikie@gmail.com>
7570
7571 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7572 coax Clang into emitting the definition of the type.
7573 * gdb.cp/pr10728-x.h (y): Ditto.
7574 * gdb.cp/pr10728-y.cc (y): Ditto.
7575
c2e827ad
DB
75762014-04-24 David Blaikie <dblaikie@gmail.com>
7577
7578 * gdb.base/label.exp: XFAIL label related tests under Clang.
7579 * gdb.cp/cplabel.exp: Ditto.
7580 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7581 under Clang those using labels.
7582
4c2d33e7
YQ
75832014-04-25 Yao Qi <yao@codesourcery.com>
7584
7585 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7586 double_label.
7587 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7588 partial_label and double_label.
7589
56083b99
DB
75902014-04-24 David Blaikie <dblaikie@gmail.com>
7591
7592 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7593
25d4e99d
DB
75942014-04-24 David Blaikie <dblaikie@gmail.com>
7595
7596 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7597 of the function to work across GCC and Clang.
7598 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7599 pointer types (const void ** const V void **).
7600
01f9f808
MS
76012014-04-24 Michael Sturm <michael.sturm@mintel.com>
7602 Walfred Tedeschi <walfred.tedeschi@intel.com>
7603
7604 * Makefile.in (EXECUTABLES): Added i386-avx512.
7605 * gdb.arch/i386-avx512.c: New file.
7606 * gdb.arch/i386-avx512.exp: Likewise.
7607
4b48d439
KS
76082014-04-23 Keith Seitz <keiths@redhat.com>
7609
7610 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7611 (mi_make_breakpoint_table): New procedure.
7612 (mi_create_breakpoint): Use mi_make_breakpoint
7613 and return the result.
7614 (mi_make_breakpoint): New procedure.
7615 (mi_build_kv_pairs): New procedure.
7616
7617 * gdb.mi/mi-break.exp: Remove unused globals,
7618 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7619 All callers updated.
7620 * gdb.mi/mi-dprintf.exp: Use variable to track command
7621 number.
7622 Update all callers of mi_create_breakpoint and use
7623 mi_make_breakpoint_table.
7624 Remove any unused global variables.
7625 * gdb.mi/mi-nonstop.exp: Likewise.
7626 * gdb.mi/mi-nsintrall.exp: Likewise.
7627 * gdb.mi/mi-nsmoribund.exp: Likewise.
7628 * gdb.mi/mi-nsthrexec.exp: Likewise.
7629 * gdb.mi/mi-reverse.exp: Likewise.
7630 * gdb.mi/mi-simplerun.exp: Likewise.
7631 * gdb.mi/mi-stepn.exp: Likewise.
7632 * gdb.mi/mi-syn-frame.exp: Likewise.
7633 * gdb.mi/mi-until.exp: Likewise.
7634 * gdb.mi/mi-var-cp.exp: Likewise.
7635 * gdb.mi/mi-var-display.exp: Likewise.
7636 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7637 * gdb.mi/mi2-var-child.exp: Likewise.
7638 * gdb.mi/mi-vla-c99.exp: Likewise.
7639 * lib/mi-support.exp: Likewise.
7640
7641 From Ian Lance Taylor <iant@cygnus.com>:
7642 * lib/gdb.exp (parse_args): New procedure.
7643
08351840
PA
76442014-04-23 Pedro Alves <palves@redhat.com>
7645
7646 * gdb.base/break-unload-file.c: New file.
7647 * gdb.base/break-unload-file.exp: New file.
7648 * gdb.base/sym-file-lib.c (baz): New function.
7649 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7650 field.
7651 (load): Store the segment's mapped size.
7652 (unload): New function.
7653 (unload_shlib): New function.
7654 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7655 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7656 set a breakpoint at baz, and call it.
7657 * gdb.base/sym-file.exp: New tests for stale breakpoint
7658 instructions.
7659
076855f9
PA
76602014-04-23 Pedro Alves <palves@redhat.com>
7661
7662 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7663 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7664 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7665 * gdb.base/hbreak-unmapped.c: New file.
7666 * gdb.base/hbreak-unmapped.exp: New file.
7667 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7668 * lib/gdb.exp (gdb_is_target_remote): ... here.
7669
483805cf
PA
76702014-04-22 Pedro Alves <palves@redhat.com>
7671
7672 * gdb.base/consecutive-step-over.c: New file.
7673 * gdb.base/consecutive-step-over.exp: New file.
7674
06d97543
PA
76752014-04-22 Pedro Alves <palves@redhat.com>
7676
7677 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7678 instead of send_gdb/gdb_expect.
7679
b4429ea2
YQ
76802014-04-22 Yao Qi <yao@codesourcery.com>
7681
7682 * lib/trace-support.exp (generate_tracefile): New procedure.
7683 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7684 return 0.
7685 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7686 if generate_tracefile returns 1.
7687
51d48146
PA
76882014-04-18 Tom Tromey <palves@redhat.com>
7689 Pedro alves <tromey@redhat.com>
7690
7691 PR backtrace/15558
7692 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7693 with a backtrace limit.
7694 * gdb.python/py-frame-inline.exp: Test running to an inline
7695 function with a backtrace limit, and printing the newest frame.
7696 * gdb.python/py-frame-inline.c (main): Call f.
7697
bd1dce5f
MS
76982014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7699
7700 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7701
40d1a503
MS
77022014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7703
7704 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7705 Drop prefix from unsupported source file path.
7706
389b98f7
YQ
77072014-04-17 Yao Qi <yao@codesourcery.com>
7708
7709 * lib/gdb.exp (with_target_charset): New proc.
7710 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7711 with_target_charset.
7712 (test_print_strings): Likewise.
7713 (test_repeat_bytes): Likewise.
7714 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7715 for some tests.
7716
22869d73
KS
77172014-04-16 Keith Seitz <keiths@redhat.com>
7718
7719 PR gdb/15827
7720 * gdb.dwarf2/corrupt.c: New file.
7721 * gdb.dwarf2/corrupt.exp: New file.
7722
c4f87ca6
KS
77232014-04-16 Keith Seitz <keiths@redhat.com>
7724
7725 PR c++/16597
7726 * gdb.cp/namelessclass.cc: New file.
7727 * gdb.cp/namelessclass.exp: New file.
7728 * gdb.cp/namelessclass.S: New file.
7729
ab19de87
DE
77302014-04-16 Doug Evans <dje@google.com>
7731
7732 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7733 Add comment.
7734 (gdbserver_default_get_comm_port): New function.
7735 (gdbserver_start): Check if board file provided
7736 "gdbserver,get_comm_port" and use it if so.
7737 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7738 (gdb,socketport): Set to "stdio".
7739 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7740 (stdio_gdbserver_template): Delete.
7741 (${board}_get_remote_address): Update.
7742 (${board}_build_remote_cmd): Delete.
7743 (${board}_get_comm_port): New function.
7744 (${board}_spawn): Update.
7745 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7746 Delete.
7747 (${board}_get_remote_address): Update.
7748 (${board}_get_comm_port): New function.
7749
fc98a809
AB
77502014-04-16 Andrew Burgess <aburgess@broadcom.com>
7751
7752 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7753 appearing in any order.
7754
87fd9e6e
DE
77552014-04-15 Doug Evans <dje@google.com>
7756
7757 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7758 uninitialized value of "description".
7759
099fc3ea
KS
77602014-04-15 Keith Seitz <keiths@redhat.com>
7761
7762 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7763 Remove unused globals.
7764 (test_running_the_program): Likewise.
7765 (test_controlled_execution): Likewise.
7766 (test_controlling_breakpoints): Likewise.
7767 (test_program_termination): Likewise.
7768
5da151d4
KS
77692014-04-15 Keith Seitz <keiths@redhat.com>
7770
7771 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7772 unused globals.
7773 (test_rbreak_creation_and_listing): Likewise.
7774 (test_ignore_count): Likewise.
7775 (test_error): Likewise.
7776
35e5d2f0
PA
77772014-04-15 Pedro Alves <palves@redhat.com>
7778
7779 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7780 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7781 sym-file-loader.c.
7782 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7783 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7784 to sym-file-loader.c.
7785 (struct library): Forward declare.
7786 (load_shlib, lookup_function): Change prototypes.
7787 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7788 (translate_offset): Remove declarations.
7789 (get_text_addr): New declaration.
7790 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7791 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7792 sym-file-loader.h.
7793 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7794 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7795 here from sym-file-loader.h.
7796 (struct library): New structure.
7797 (load_shlib, lookup_function): Change prototypes and adjust to
7798 work with a struct library.
7799 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7800 (translate_offset): Make static.
7801 (get_text_addr): New function.
7802 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7803
eb4c1710
PA
78042014-04-15 Pedro Alves <palves@redhat.com>
7805
7806 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7807
2d1baf52
PA
78082014-04-15 Pedro Alves <palves@redhat.com>
7809
7810 * gdb.base/sym-file-loader.c: Include <limits.h>.
7811 (SELF_LINK): New define.
7812 (get_origin): New function.
7813 (load_shlib): Use it.
7814 * gdb.base/sym-file.exp: Don't early return if the target is
7815 remote. Use runto_main, and issue fail is that fails. Use
7816 gdb_load_shlibs.
7817 (shlib_name): Delete.
7818 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7819
7dd6df01
PA
78202014-04-15 Pedro Alves <palves@redhat.com>
7821
7822 * gdb.base/sym-file.exp: Remove regex characters from test
7823 message. Don't refer to breakpoint numbers in test messages.
7824
b50c8614
KS
78252014-04-14 Keith Seitz <keiths@redhat.com>
7826
7827 PR c++/16253
7828 * gdb.cp/var-tag.cc: New file.
7829 * gdb.cp/var-tag.exp: New file.
7830 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7831 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7832 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7833 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7834
3d567982
TT
78352014-04-14 Tom Tromey <tromey@redhat.com>
7836
7837 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7838 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7839 type.
7840 * gdb.cp/enum-class.exp: New file.
7841 * gdb.cp/enum-class.cc: New file.
7842
0626fc76
TT
78432014-04-14 Tom Tromey <tromey@redhat.com>
7844
7845 * gdb.dwarf2/enum-type.exp: New file.
7846
dca325b3
SA
78472014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7848
7849 * gdb.mi/mi-vla-c99.exp: New file.
7850 * gdb.mi/vla.c: New file.
7851
5854b38a
SA
78522014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7853
7854 * gdb.base/vla-datatypes.c: New file.
7855 * gdb.base/vla-datatypes.exp: New file.
7856
463bb957
SA
78572014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7858
7859 * gdb.base/vla-ptr.c: New file.
7860 * gdb.base/vla-ptr.exp: New file.
7861
3dd170be
SA
78622014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7863
7864 * gdb.dwarf2/count.exp: New file.
7865
5ecaaa66
SA
78662014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7867
7868 * gdb.base/vla-sideeffect.c: New file.
7869 * gdb.base/vla-sideeffect.exp: New file.
7870
41f1ada5
DB
78712014-04-14 David Blaikie <dblaikie@gmail.com>
7872
7873 * gdb.mi/non-stop.c: Add return value for non-void function return
7874 statement.
7875 * gdb.threads/staticthreads.c: Ditto.
7876
0be03e84
DE
78772014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7878 Doug Evans <xdje42@gmail.com>
7879
7880 * gdb.guile/scm-value.c: Improve test case.
7881 * gdb.guile/scm-value.exp: Add new test.
7882
f180a1fb
DB
78832014-04-11 David Blaikie <dblaikie@gmail.com>
7884
7885 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7886 override Clang's default.
7887
6b662e19
JB
78882014-04-11 Joel Brobecker <brobecker@adacore.com>
7889
7890 Revert the following changes (regressions):
7891
7892 * gdb.base/vla-sideeffect.c: New file.
7893 * gdb.base/vla-sideeffect.exp: New file.
7894
7895 * gdb.dwarf2/count.exp: New file.
7896
7897 * gdb.base/vla-multi.c: New file.
7898 * gdb.base/vla-multi.exp: New file.
7899
7900 * gdb.base/vla-ptr.c: New file.
7901 * gdb.base/vla-ptr.exp: New file.
7902
7903 * gdb.base/vla-datatypes.c: New file.
7904 * gdb.base/vla-datatypes.exp: New file.
7905
7906 * gdb.mi/mi-vla-c99.exp: New file.
7907 * gdb.mi/vla.c: New file.
7908
245a5f0b
KS
79092014-04-11 Keith Seitz <keiths@redhat.com>
7910
7911 PR c++/16675
7912 * gdb.cp/cpsizeof.exp: New file.
7913 * gdb.cp/cpsizeof.cc: New file.
7914
58a84dcf
SA
79152014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7916
191a8a90
JB
7917 * gdb.mi/mi-vla-c99.exp: New file.
7918 * gdb.mi/vla.c: New file.
58a84dcf 7919
c8655f75
SA
79202014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7921
7922 * gdb.base/vla-datatypes.c: New file.
7923 * gdb.base/vla-datatypes.exp: New file.
7924
024e13b4
SA
79252014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7926
7927 * gdb.base/vla-ptr.c: New file.
7928 * gdb.base/vla-ptr.exp: New file.
7929
1a237e0e
SA
79302014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7931
7932 * gdb.base/vla-multi.c: New file.
7933 * gdb.base/vla-multi.exp: New file.
7934
504f3432
SA
79352014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7936
7937 * gdb.dwarf2/count.exp: New file.
7938
3bce8237
SA
79392014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7940
191a8a90
JB
7941 * gdb.base/vla-sideeffect.c: New file.
7942 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 7943
322f9c21
YQ
79442014-04-11 Yao Qi <yao@codesourcery.com>
7945
7946 * gdb.base/completion.exp: Check file exists before running tests
7947 on file completion.
7948
d708bcd1
PA
79492014-04-10 Pedro Alves <palves@redhat.com>
7950
7951 * gdb.base/cond-eval-mode.c: New file.
7952 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7953 prepare_for_testing to build the new file. Check result of
7954 runto_main.
7955 (test_break, test_watch): New procedures.
7956 (top level): Use them.
7957
ae1d2761
PM
79582014-04-08 Pierre Muller <muller@sourceware.org>
7959
7960 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7961 Ctrl-V use for mingw hosts.
7962
7af389b8
SC
79632014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7964
7965 * gdb.python/py-value.c: Improve test case.
7966 * gdb.python/py-value.exp: Add new test.
7967
5e703181
DE
79682014-04-07 David Blaikie <dblaikie@gmail.com>
7969
7970 * lib/compiler.c: Identify the clang compiler.
7971 * lib/compiler.cc: Ditto.
7972
9810b410
YQ
79732014-04-03 Yao Qi <yao@codesourcery.com>
7974
7975 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7976
98d1b8dc
AB
79772014-04-01 Anton Blanchard <anton@samba.org>
7978
7979 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7980 messages unique.
7981
3114cea1
AB
79822014-04-01 Anton Blanchard <anton@samba.org>
7983
7984 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7985 prepare_for_testing.
7986
62f7182c
AB
79872014-04-01 Anton Blanchard <anton@samba.org>
7988
7989 * gdb.arch/ppc64-atomic-inst.c: Remove.
7990 * gdb.arch/ppc64-atomic-inst.S: New file.
7991 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7992
770e7fc7
DE
79932014-03-31 Doug Evans <dje@google.com>
7994
7995 * gdb.base/print-symbol-loading-lib.c: New file.
7996 * gdb.base/print-symbol-loading-main.c: New file.
7997 * gdb.base/print-symbol-loading.exp: New file.
7998
46e2bafa
YQ
79992014-03-31 Yao Qi <yao@codesourcery.com>
8000
8001 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8002
8776cfe9
JB
80032014-03-28 Joel Brobecker <brobecker@adacore.com>
8004
8005 * gdb.ada/mi_dyn_arr: New testcase.
8006
5d1ef361
DE
80072014-03-27 Doug Evans <dje@google.com>
8008
8009 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8010
b5bee914
YQ
80112014-03-27 Yao Qi <yao@codesourcery.com>
8012
8013 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8014 if target is nios2-*-*.
8015
0d4d0e77
YQ
80162014-03-26 Yao Qi <yao@codesourcery.com>
8017
8018 * lib/gdb.exp (readline_is_used): New proc.
8019 * gdb.base/completion.exp: Move tests on command complete up.
8020 Skip the rest of tests if readline is not used.
8021 * gdb.ada/complete.exp: Skp the test if readline is not
8022 used.
8023 * gdb.base/filesym.exp: Likewise.
8024 * gdb.base/macscp.exp: Likewise.
8025 * gdb.base/readline-ask.exp: Likewise.
8026 * gdb.base/readline.exp: Likewise.
8027 * gdb.python/py-cmd.exp: Likewise.
8028 * gdb.trace/tfile.exp: Likewise.
8029
29361eee
YQ
80302014-03-26 Yao Qi <yao@codesourcery.com>
8031
8032 * gdb.base/macscp.exp: Fix code format issues.
8033
bc9a5525
UW
80342014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8035
8036 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8037 * gdb.asm/powerpc64le.inc: New file.
8038
d3839ede
PA
80392014-03-25 Pedro Alves <palves@redhat.com>
8040 Doug Evans <dje@google.com>
8041
8042 * gdb.base/source-execution.c: New file.
8043 * gdb.base/source-execution.exp: New file.
8044 * gdb.base/source-execution.gdb: New file.
8045
01672a57
DE
80462014-03-24 Doug Evans <dje@google.com>
8047
8048 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8049 using fission.
8050
88bbeca9
HZ
80512014-03-24 Hui Zhu <hui@codesourcery.com>
8052 Pedro Alves <palves@redhat.com>
8053
8054 PR breakpoints/16101
8055 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8056 test pass/fail messages. Detect missing support for dprintf when
8057 breakpoints are actually inserted.
8058 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8059 breakpoints are actually inserted.
8060 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8061 fails.
8062
d2348791
JK
80632014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8064
8065 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8066
feef67ab
DE
80672014-03-22 Doug Evans <xdje42@gmail.com>
8068
8069 * gdb.python/python.exp (python not supported): Verify multi-line
8070 python command issues an error.
25d743f9 8071 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 8072 guile command issues an error.
feef67ab 8073
ecebef6a
MR
80742014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8075
8076 * gdb.threads/thread-specific.exp: Handle the lack of usable
8077 $this_breakpoint and $this_thread.
8078
ccdd1909
HZ
80792014-03-21 Hui Zhu <hui@codesourcery.com>
8080
8081 * gdb.base/attach.exp (do_command_attach_tests): New.
8082
beb460e8
PA
80832014-03-20 Tom Tromey <tromey@redhat.com>
8084 Pedro Alves <palves@redhat.com>
8085
8086 PR cli/15718
8087 * gdb.base/condbreak-call-false.c: New file.
8088 * gdb.base/condbreak-call-false.exp: New file.
8089
40acf43a
PA
80902014-03-20 Pedro Alves <palves@redhat.com>
8091
8092 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8093 Delete.
8094 (block_signals, unblock_signals): Delete.
8095 (child_function_2, main): Remove references to deleted variable
8096 and functions.
8097
9f5e1e02
PA
80982014-03-20 Pedro Alves <palves@redhat.com>
8099
8100 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8101 Use pthread_kill to signal thread 2.
8102 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8103 Adjust to make the test send itself a signal rather than using the
8104 host's "kill" command.
8105
99619bea
PA
81062014-03-20 Pedro Alves <palves@redhat.com>
8107
8108 * gdb.threads/multiple-step-overs.c: New file.
8109 * gdb.threads/multiple-step-overs.exp: New file.
8110 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8111 Adjust expected infrun debug output.
8112
2adfaa28
PA
81132014-03-20 Pedro Alves <palves@redhat.com>
8114
8115 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8116 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8117
31e77af2
PA
81182014-03-20 Pedro Alves <palves@redhat.com>
8119
8120 PR breakpoints/7143
8121 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8122 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8123 of gdb_test_multiple.
8124 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8125 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8126
b9f437de
PA
81272014-03-20 Pedro Alves <palves@redhat.com>
8128
8129 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8130 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8131
05adc73e
PA
81322014-03-19 Pedro Alves <palves@redhat.com>
8133
8134 * gdb.base/async.exp: Remove early return.
8135
6048b950
PA
81362014-03-19 Pedro Alves <palves@redhat.com>
8137
8138 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8139
8bcfb00a
PA
81402014-03-19 Pedro Alves <palves@redhat.com>
8141
8142 * gdb.base/async.exp (test_background): Expect \r\n after
8143 "completed." in the fail pattern.
8144
884e37dc
PA
81452014-03-19 Pedro Alves <palves@redhat.com>
8146
8147 * gdb.base/async.exp (test_background): New procedure.
8148 Use it for all background execution command tests.
8149
148e57e2
PA
81502014-03-19 Pedro Alves <palves@redhat.com>
8151
8152 * gdb.base/async.exp: Use prepare_for_testing.
8153
f48088c7
PA
81542014-03-19 Pedro Alves <palves@redhat.com>
8155
8156 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8157 the same line.
8158
e2f6c966
PA
81592014-03-19 Pedro Alves <palves@redhat.com>
8160
8161 * gdb.base/async.c (main): Add "jump here" and "until here" line
8162 marker comments.
8163 * gdb.base/async.exp (jump_here): New global.
8164 (jump& test): Use it.
8165 (until_here): New global.
8166 (until& test): Use it.
8167
c30568d4
PA
81682014-03-19 Pedro Alves <palves@redhat.com>
8169
8170 * gdb.base/async.exp: Don't frob gdb_protocol.
8171
0172b6a7
DE
81722014-03-18 Doug Evans <xdje42@gmail.com>
8173
8174 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8175 Fix spelling of exec-done-display.
8176
06c868a8
JK
81772014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8178
8179 PR gdb/15358
8180 * gdb.base/gdb-sigterm.c: New file.
8181 * gdb.base/gdb-sigterm.exp: New file.
8182
0c7e1a46
PA
81832014-03-18 Pedro Alves <palves@redhat.com>
8184
8185 PR gdb/13860
8186 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8187 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8188 solib-event.
8189
f7c77d93
JB
81902014-03-17 Joel Brobecker <brobecker@adacore.com>
8191
8192 * gdb.ada/pckd_arr_ren: New testcase.
8193
5a1e8c7a
DE
81942014-03-13 Doug Evans <xdje42@gmail.com>
8195
8196 PR guile/16612
8197 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8198 collect after discarding symbols.
8199
350e1a76
DE
82002014-03-13 Ludovic Courtès <ludo@gnu.org>
8201 Doug Evans <xdje42@gmail.com>
8202
8203 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8204 to history survives a gc.
8205
a69900ae
PA
82062014-03-13 Pedro Alves <palves@redhat.com>
8207
8208 * gdb.base/default.exp: Don't test "target procfs".
8209
5db9f0bd
PA
82102014-03-13 Pedro Alves <palves@redhat.com>
8211
8212 * gdb.base/default.exp: Update "target child" and "target procfs"
8213 tests to not expect "Unix".
8214
b3ccfe11
TT
82152014-03-12 Tom Tromey <tromey@redhat.com>
8216
8217 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8218 New procs. Add target-async tests.
8219 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8220 Add target-async tests.
8221
646f4417
AA
82222014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8223
8224 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8225 'func_start' and 'func_end' for the beginning and end of the
8226 function code, respectively.
8227 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8228 'func_end' instead of 'func' and 'main'.
8229
288c211f
AA
82302014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8231
8232 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8233 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8234 generate the debug info assembler source.
8235
e0c0f156
AA
82362014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8237
8238 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8239 * gdb.dwarf2/arr-subrange.exp: Likewise.
8240 * gdb.dwarf2/dwz.exp: Likewise.
8241 * gdb.dwarf2/method-ptr.exp: Likewise.
8242 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8243 * gdb.dwarf2/subrange.exp: Likewise.
8244 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8245 * gdb.dwarf2/implptrpiece.exp: Likewise.
8246 * gdb.dwarf2/nostaticblock.exp: Likewise.
8247
0e5c4555
AA
82482014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8249
8250 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8251 directory to absolute path name arguments.
8252
5ec18f2b
JG
82532014-03-10 Joel Brobecker <brobecker@adacore.com>
8254
8255 * gdb.ada/tagged_access: New testcase.
8256
847fc4f2
MM
82572014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8258
8259 * gdb.btrace/data.exp: Update expected output.
8260
cc3da688
YQ
82612014-03-06 Yao Qi <yao@codesourcery.com>
8262
8263 * gdb.trace/pr16508.exp: New file.
8264
0f26cec1
PA
82652014-03-05 Pedro Alves <palves@redhat.com>
8266
8267 PR gdb/16575
8268 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8269 procedure.
8270 (top level): Adjust to use it. Add tests that exercise breakpoint
8271 interaction with the code-cache.
8272
7a5a839f
LC
82732014-02-26 Ludovic Courtès <ludo@gnu.org>
8274
8275 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8276 test for 'history-append!'.
8277
31aa7e4e
JB
82782014-02-26 Joel Brobecker <brobecker@adacore.com>
8279
8280 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8281 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8282 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8283 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8284 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8285 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8286
1b588015
JB
82872014-02-26 Joel Brobecker <brobecker@adacore.com>
8288
8289 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8290 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8291 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8292
55426c9d
JB
82932014-02-26 Joel Brobecker <brobecker@adacore.com>
8294
8295 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8296
dc53a7ad
JB
82972014-02-26 Joel Brobecker <brobecker@adacore.com>
8298
8299 * gdb.dwarf2/arr-stride.c: New file.
8300 * gdb.dwarf2/arr-stride.exp: New file.
8301
12ab52e9
PA
83022014-02-26 Pedro Alves <palves@redhat.com>
8303
8304 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8305 that won't ever trigger. Make sure that GDB reports the correct
8306 breakpoint that caused the stop.
8307
849c862e
JK
83082014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8309
8310 PR gdb/16626
8311 * gdb.base/auto-load-script: New file.
8312 * gdb.base/auto-load.c: New file.
8313 * gdb.base/auto-load.exp: New file.
8314
71b7d793
JK
8315 PR gdb/16626
8316 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8317
e2f0d509
JK
83182014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8319
8320 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8321 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8322
50cc37c8
DE
83232014-02-24 Doug Evans <dje@google.com>
8324
8325 * lib/gdb.exp (run_on_host): Log error output if program fails.
8326
ea4758f2
PA
83272014-02-21 Pedro Alves <palves@redhat.com>
8328
8329 * gdb.threads/step-after-sr-lock.c: Rename to ...
8330 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8331 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8332 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8333 ... this.
8334
d7b30f67
SDJ
83352014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8336
8337 PR tdep/16397
8338 * gdb.arch/amd64-stap-special-operands.exp: New file.
8339 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8340 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8341 * gdb.arch/amd64-stap-triplet.S: Likewise.
8342 * gdb.arch/amd64-stap-triplet.c: Likewise.
8343
83deb43f
JB
83442014-02-20 Joel Brobecker <brobecker@adacore.com>
8345
8346 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8347 in .section pseudo-op.
8348
adde2bff
DE
83492014-02-20 lin zuojian <manjian2006@gmail.com>
8350 Joel Brobecker <brobecker@adacore.com>
8351 Doug Evans <xdje42@gmail.com>
8352
8353 PR symtab/16581
8354 * gdb.dwarf2/dw2-icycle.S: New file.
8355 * gdb.dwarf2/dw2-icycle.c: New file.
8356 * gdb.dwarf2/dw2-icycle.exp: New file.
8357
f7bd0f78
SC
83582014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8359
8360 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8361 operations on gdb.Value objects.
8362 * gdb.python/py-value-cc.exp: Add new test to test operations on
8363 gdb.Value objects.
8364
c17ef0d5
DE
83652014-02-18 Doug Evans <dje@google.com>
8366
8367 * Makefile.in (TESTS): New variable.
8368 (expanded_tests, expanded_tests_or_none): New variables
8369 (check-single): Pass $(expanded_tests_or_none) to runtest.
8370 (check-parallel): Only run tests in $(TESTS) if non-empty.
8371 (check/no-matching-tests-found): New rule.
8372 * README: Document TESTS makefile variable.
8373
5dd3176f
DE
83742014-02-18 Doug Evans <dje@google.com>
8375
8376 * Makefile.in (check-parallel): rm -rf outputs temp.
8377
0b10be4f
JK
83782014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8379
8380 Fix "ERROR: no fileid for" in the testsuite.
8381 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8382
85f224e7
DE
83832014-02-12 Doug Evans <dje@google.com>
8384
8385 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8386 (MISCELLANEOUS): New variable.
8387 (clean): rm -rf $(MISCELLANEOUS).
8388 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8389 dwp live in the same directory as symlinks, with each symlink pointed
8390 to a differently named file in a different directory.
8391
149b30ff
DE
83922014-02-11 Doug Evans <dje@google.com>
8393
8394 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8395 of Tcl file commands.
8396
1dfdac32
MK
83972014-02-10 Mark Kettenis <kettenis@gnu.org>
8398
8399 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8400 "kill -SIGUSR1 -1".
8401
aa4fb036
JB
84022014-02-10 Joel Brobecker <brobecker@adacore.com>
8403
8404 * gdb.ada/tick_length_array_enum_idx: New testcase.
8405
ed3ef339
DE
84062014-02-10 Doug Evans <xdje42@gmail.com>
8407
8408 * configure.ac (AC_OUTPUT): Add gdb.guile.
8409 * configure: Regenerate.
8410 * lib/gdb-guile.exp: New file.
8411 * lib/gdb.exp (get_target_charset): New function.
8412 * gdb.base/help.exp: Update expected output from "apropos apropos".
8413 * gdb.guile/Makefile.in: New file.
8414 * gdb.guile/guile.exp: New file.
8415 * gdb.guile/scm-arch.c: New file.
8416 * gdb.guile/scm-arch.exp: New file.
8417 * gdb.guile/scm-block.c: New file.
8418 * gdb.guile/scm-block.exp: New file.
8419 * gdb.guile/scm-breakpoint.c: New file.
8420 * gdb.guile/scm-breakpoint.exp: New file.
8421 * gdb.guile/scm-disasm.c: New file.
8422 * gdb.guile/scm-disasm.exp: New file.
8423 * gdb.guile/scm-equal.c: New file.
8424 * gdb.guile/scm-equal.exp: New file.
8425 * gdb.guile/scm-error.exp: New file.
8426 * gdb.guile/scm-error.scm: New file.
8427 * gdb.guile/scm-frame-args.c: New file.
8428 * gdb.guile/scm-frame-args.exp: New file.
8429 * gdb.guile/scm-frame-args.scm: New file.
8430 * gdb.guile/scm-frame-inline.c: New file.
8431 * gdb.guile/scm-frame-inline.exp: New file.
8432 * gdb.guile/scm-frame.c: New file.
8433 * gdb.guile/scm-frame.exp: New file.
8434 * gdb.guile/scm-generics.exp: New file.
8435 * gdb.guile/scm-gsmob.exp: New file.
8436 * gdb.guile/scm-iterator.c: New file.
8437 * gdb.guile/scm-iterator.exp: New file.
8438 * gdb.guile/scm-math.c: New file.
8439 * gdb.guile/scm-math.exp: New file.
8440 * gdb.guile/scm-objfile-script-gdb.in: New file.
8441 * gdb.guile/scm-objfile-script.c: New file.
8442 * gdb.guile/scm-objfile-script.exp: New file.
8443 * gdb.guile/scm-objfile.c: New file.
8444 * gdb.guile/scm-objfile.exp: New file.
8445 * gdb.guile/scm-ports.exp: New file.
8446 * gdb.guile/scm-pretty-print.c: New file.
8447 * gdb.guile/scm-pretty-print.exp: New file.
8448 * gdb.guile/scm-pretty-print.scm: New file.
8449 * gdb.guile/scm-section-script.c: New file.
8450 * gdb.guile/scm-section-script.exp: New file.
8451 * gdb.guile/scm-section-script.scm: New file.
8452 * gdb.guile/scm-symbol.c: New file.
8453 * gdb.guile/scm-symbol.exp: New file.
8454 * gdb.guile/scm-symtab-2.c: New file.
8455 * gdb.guile/scm-symtab.c: New file.
8456 * gdb.guile/scm-symtab.exp: New file.
8457 * gdb.guile/scm-type.c: New file.
8458 * gdb.guile/scm-type.exp: New file.
8459 * gdb.guile/scm-value-cc.cc: New file.
8460 * gdb.guile/scm-value-cc.exp: New file.
8461 * gdb.guile/scm-value.c: New file.
8462 * gdb.guile/scm-value.exp: New file.
8463 * gdb.guile/source2.scm: New file.
8464 * gdb.guile/types-module.cc: New file.
8465 * gdb.guile/types-module.exp: New file.
8466
7026a7c1
YQ
84672014-02-10 Yao Qi <yao@codesourcery.com>
8468
8469 PR testsuite/16543
8470 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8471 * configure: Regenerated.
8472 * Makefile.in: New file.
8473
6c466447
AS
84742014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8475
8476 * gdb.python/py-framefilter.exp: Fix typo.
8477
6e854735
YQ
84782014-02-08 Yao Qi <yao@codesourcery.com>
8479
8480 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8481 that no =breakpoint-modified is emitted when breakpoints are
8482 modified through MI commands.
8483
d137e6dc
PA
84842014-02-07 Pedro Alves <pedro@codesourcery.com>
8485 Pedro Alves <palves@redhat.com>
8486
8487 * gdb.threads/step-after-sr-lock.c: New file.
8488 * gdb.threads/step-after-sr-lock.exp: New file.
8489
b5ee5a50
PA
84902014-02-07 Pedro Alves <palves@redhat.com>
8491
8492 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8493
3c77faf3
JK
84942014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8495
8496 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8497 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8498
6dddc817
DE
84992014-02-06 Doug Evans <xdje42@gmail.com>
8500
8501 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8502 output.
8503
8504 * gdb.gdb/python-interrupts.exp: New file.
8505
de7b2893
YQ
85062014-02-05 Yao Qi <yao@codesourcery.com>
8507
8508 * gdb.trace/report.exp (use_collected_data): Test the output
8509 of "info threads" and "info inferiors".
8510
66d032ac
YQ
85112014-02-05 Yao Qi <yao@codesourcery.com>
8512
8513 Revert this patch:
8514
8515 2013-05-24 Yao Qi <yao@codesourcery.com>
8516
8517 * gdb.trace/tfile.exp: Test inferior and thread.
8518
591a12a1
UW
85192014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8520
8521 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8522 on a function.
8523 * gdb.base/step-bt.c: Call hello via function pointer to make
8524 sure its first instruction is executed on powerpc64le-linux.
8525
0ff3e01f
UW
85262014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8527
8528 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8529
084ee545
UW
85302014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8531
8532 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8533 of the test patterns for use on little-endian systems.
8534
6ed14ff3
UW
85352014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8536
8537 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8538 (decimal_vector): Fix for little-endian.
8539
401e27fd
JM
85402014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8541
8542 * gdb.arch/sparc-sysstep.exp: New file.
8543 * gdb.arch/sparc-sysstep.c: Likewise.
8544
8545 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8546
8b924729
EBM
85472014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8548
8549 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8550
fb151210
JB
85512014-01-23 Tom Tromey <tromey@redhat.com>
8552
8553 * gdb.ada/array_char_idx: New testcase.
8554
0740f8d8
TT
85552014-01-23 Tom Tromey <tromey@redhat.com>
8556
8557 PR python/16487:
8558 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8559 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8560 classes.
8561
21909fa1
TT
85622014-01-23 Tom Tromey <tromey@redhat.com>
8563
8564 PR python/16491:
8565 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8566 string from an inferior frame.
8567 * gdb.python/py-framefilter-mi.exp: Update.
8568
87ce2a04
DE
85692014-01-22 Doug Evans <dje@google.com>
8570
8571 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8572
237b092b
AA
85732014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8574
8575 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8576
d674a709
AA
85772014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8578
8579 * gdb.trace/entry-values.exp: Remove excess space character from
8580 regex patterns. Handle s390 call instruction.
8581
20fa3390
AA
85822014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8583
8584 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8585 define "*_start" label. Make "name" static.
8586 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8587 ${name} by references to ${name}_start.
8588
78466714
AA
85892014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8590
8591 * gdb.base/info-macros.exp: Remove "debug" from the compile
8592 options.
8593
ec9f644a
IB
85942014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8595
8596 * gdb.dlang/demangle.exp: New file.
8597
94b1b47e
IB
85982014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8599
8600 * gdb.dlang/primitive-types.exp: New file.
8601
7f420862
IB
86022014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8603
8604 * configure.ac: Create gdb.dlang/Makefile.
8605 * configure: Regenerate.
8606 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8607 * gdb.dlang/Makefile.in: New file.
8608 * lib/d-support.exp: New file.
8609 * lib/gdb.exp (skip_d_tests): New proc.
8610
52834460
MM
86112014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8612
8613 * gdb.btrace/delta.exp: Check reverse stepi.
8614 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8615 * gdb.btrace/finish.exp: New.
8616 * gdb.btrace/next.exp: New.
8617 * gdb.btrace/nexti.exp: New.
8618 * gdb.btrace/record_goto.c: Add comments.
8619 * gdb.btrace/step.exp: New.
8620 * gdb.btrace/stepi.exp: New.
8621 * gdb.btrace/multi-thread-step.c: New.
8622 * gdb.btrace/multi-thread-step.exp: New.
8623 * gdb.btrace/rn-dl-bind.c: New.
8624 * gdb.btrace/rn-dl-bind.exp: New.
8625 * gdb.btrace/data.c: New.
8626 * gdb.btrace/data.exp: New.
8627 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8628
6e07b1d2
MM
86292014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8630
8631 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8632 * gdb.btrace/exception.exp: Update.
8633 * gdb.btrace/instruction_history.exp: Update.
8634 * gdb.btrace/record_goto.exp: Update.
8635 * gdb.btrace/tailcall.exp: Update.
8636 * gdb.btrace/unknown_functions.exp: Update.
8637 * gdb.btrace/delta.exp: New.
8638
0b722aec
MM
86392014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8640
8641 * gdb.btrace/record_goto.exp: Add backtrace test.
8642 * gdb.btrace/tailcall.exp: Add backtrace test.
8643
066ce621
MM
86442014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8645
8646 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8647 * gdb.btrace/record_goto.c: New.
8648 * gdb.btrace/record_goto.exp: New.
8649 * gdb.btrace/x86-record_goto.S: New.
8650
0688d04e
MM
86512014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8652
8653 * gdb.btrace/function_call_history.exp: Update tests.
8654 * gdb.btrace/instruction_history.exp: Update tests.
8655
8710b709
MM
86562014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8657
8658 * gdb.btrace/function_call_history.exp: Fix expected field
8659 order for "record function-call-history".
8660 Add new tests for "record function-call-history /c".
8661 * gdb.btrace/exception.cc: New.
8662 * gdb.btrace/exception.exp: New.
8663 * gdb.btrace/tailcall.exp: New.
8664 * gdb.btrace/x86-tailcall.S: New.
8665 * gdb.btrace/x86-tailcall.c: New.
8666 * gdb.btrace/unknown_functions.c: New.
8667 * gdb.btrace/unknown_functions.exp: New.
8668 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8669
5de9129b
MM
86702014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8671
8672 * gdb.btrace/instruction_history.exp: Update.
8673 * gdb.btrace/function_call_history.exp: Update.
8674
23a7fe75
MM
86752014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8676
8677 * gdb.btrace/function_call_history.exp: Fix expected function
8678 trace.
8679 * gdb.btrace/instruction_history.exp: Initialize traced.
8680 Remove traced_functions.
8681
724c7dd8
MM
86822014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8683
8684 * gdb.btrace/function_call_history.exp: Update
8685 * gdb.btrace/instruction_history.exp: Update.
8686
6d78d93b
MM
86872014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8688
8689 * gdb.btrace/enable.exp: Update expected text.
8690
93a360cc
OJ
86912014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8692
8693 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8694 bytes.
8695
3772b53f
MR
86962014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8697
8698 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8699
596662fa
OJ
87002014-01-15 Omair Javaid <omair.javaid@linaro.org>
8701
8702 * lib/gdb.exp (supports_process_record): Return true for
8703 arm*-linux*. (supports_reverse): Likewise.
8704
b5b08fb4
SC
87052014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8706
8707 PR python/15464
8708 PR python/16113
8709 * gdb.python/py-type.c: Enhance test case.
8710 * gdb.python/py-value-cc.cc: Likewise
8711 * gdb.python/py-type.exp: Add new tests.
8712 * gdb.python/py-value-cc.exp: Likewise
8713
52d7fb13
AA
87142014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8715 Pedro Alves <palves@redhat.com>
8716
8717 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8718 Make "name" extern.
8719 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8720 references to ${name}_start by references to ${name}.
8721
a2cd8cfe
JB
87222014-01-10 Joel Brobecker <brobecker@adacore.com>
8723
8724 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8725
4e23fced
JB
87262014-01-10 Joel Brobecker <brobecker@adacore.com>
8727
8728 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8729
c6a9e42c
PA
87302014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8731 Pedro Alves <palves@redhat.com>
8732
8733 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 8734 mi_gdb_target_load.
c6a9e42c 8735
b7ea362b
PA
87362014-01-08 Pedro Alves <palves@redhat.com>
8737
8738 * gdb.threads/reconnect-signal.c: New file.
8739 * gdb.threads/reconnect-signal.exp: New file.
8740
5e3f4fab
EBM
87412014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8742
8743 * gdb.base/source-dir.exp: New file.
8744
79301218
JB
87452014-01-07 Joel Brobecker <brobecker@adacore.com>
8746
8747 * gdb.ada/mi_interface: New testcase.
8748
8e355c5d
JB
87492014-01-07 Joel Brobecker <brobecker@adacore.com>
8750
8751 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8752 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8753 gdb.ada/pp-rec-component/pck.ads: New files.
8754
c0d48811
JB
87552014-01-07 Joel Brobecker <brobecker@adacore.com>
8756
8757 * gdb.python/py-pp-integral.c: New file.
8758 * gdb.python/py-pp-integral.py: New file.
8759 * gdb.python/py-pp-integral.exp: New file.
8760
17b609c3 8761For older changes see ChangeLog-1993-2013.
c906108c 8762\f
8d8cb839
EZ
8763;; Local Variables:
8764;; mode: change-log
8765;; left-margin: 8
8766;; fill-column: 74
8767;; version-control: never
8768;; End:
902f2ccb 8769
618f726f 8770 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
8771 Copying and distribution of this file, with or without modification,
8772 are permitted provided the copyright notice and this notice are preserved.