Automatic date update in version.in
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
ad0a504f
AK
12016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
2
3 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
4
36cf1806
TT
52016-09-21 Tom Tromey <tom@tromey.com>
6
7 PR gdb/20604:
8 * gdb.base/quit.exp: New file.
9
74172ecf
SM
102016-09-21 Simon Marchi <simon.marchi@ericsson.com>
11
12 * .gitignore: New file.
13
3d0ec882
MR
142016-09-21 Maciej W. Rozycki <macro@imgtec.com>
15
16 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
17 throughout.
18
8193adea
AA
192016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
20
21 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
22
d41a5c09
JK
232016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24
25 * gdb.cp/casts.cc (decltype): Move it ...
26 (main): ... with its call to ...
27 * gdb.cp/casts03.cc: ... a new file.
28 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
29
d2dfe700
JK
302016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
31
32 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
33
e2a92b16
PB
342016-09-15 Peter Bergner <bergner@vnet.ibm.com>
35
36 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
37 and sync up the test with tests in gas/testsuite/gas/ppc.
38 * gdb.arch/powerpc-power.exp: Likewise.
39
49b4de64
JK
402016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
41
42 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
43
2c29df25
SDJ
442016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
45 Jan Kratochvil <jan.kratochvil@redhat.com>
46
47 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
48 make m1's definition to be different from m2's. Use 'dummy' as an
49 argument for probe 'two'.
50
cc3c2846
JB
512016-09-10 Jon Beniston <jon@beniston.com>
52
53 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
54 for sim target.
55
e1b2624a
AA
562016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
57
58 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
59 variable declaration.
60 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
61 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
62 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
63 received HWCAP as its argument.
64
4295e285
PA
652016-09-06 Pedro Alves <palves@redhat.com>
66
67 * gdb.base/new-ui-pending-input.c: New file.
68 * gdb.base/new-ui-pending-input.exp: New file.
69 * gdb.exp (clear_gdb_spawn_id): New procedure.
70 (with_spawn_id): Check whether gdb_spawn_id exists before
71 referencing it. If gdb_spawn_id didn't exist on entry, clear it
72 on exit.
73
00d5215e
UW
742016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
75
76 * gdb.base/float128.c: New file.
77 * gdb.base/float128.exp: Likewise.
78 * gdb.base/floatn.c: Likewise.
79 * gdb.base/floatn.exp: Likewise.
80
a9ff5f12
UW
812016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
82
83 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
84
f245535c
PA
852016-09-05 Pedro Alves <palves@redhat.com>
86
87 PR backtrace/19927
88 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
89 unwinders are immediately called as side effect of "source" or
90 "disable unwinder" commands.
91 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
92
ae9cf263
YQ
932016-09-02 Yao Qi <yao.qi@linaro.org>
94
95 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
96 is true and $type is "float" or "double".
97
27aba047
YQ
982016-09-02 Yao Qi <yao.qi@linaro.org>
99
100 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
101 true.
102 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
103 * gdb.base/call-rt-st.exp: Likewise.
104 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
105 return value instead of gdb,skip_float_test.
106 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
107 (do_function_calls): Use its return value instead of
108 gdb,skip_float_test.
109 * gdb.base/finish.exp: Likewise.
110 * gdb.base/funcargs.exp: Likewise.
111 * gdb.base/return.exp: Likewise.
112 * gdb.base/return2.exp: Likewise.
113 * gdb.base/varargs.exp: Likewise.
114 * lib/gdb.exp (gdb_skip_float_test): Change it to
115 gdb_caching_proc. Detect the broken ptrace on arm-linux.
116
5af962df
AA
1172016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
118
119 * gdb.multi/tids.exp: Test "thread apply all".
120
7fac6910
JK
1212016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
122
123 * gdb.base/default.exp (tty): Remove.
124
bb1fe4ac
KB
1252016-08-24 Kevin Buettner <kevinb@redhat.com>
126
127 * gdb.python/py-recurse-unwind.c: New file.
128 * gdb.python/py-recurse-unwind.py: New file.
129 * gdb.python/py-recurse-unwind.exp: New file.
130
0a1ddfa6
SM
1312016-08-24 Simon Marchi <simon.marchi@ericsson.com>
132
133 * gdb.base/set-inferior-tty.exp: New file.
134 * gdb.base/set-inferior-tty.c: New file.
135
d9de1fe3
PA
1362016-08-23 Pedro Alves <palves@redhat.com>
137
138 PR gdb/20494
139 * gdb.base/new-ui-echo.c: New file.
140 * gdb.base/new-ui-echo.exp: New file.
141
e9d9abd7
YQ
1422016-08-23 Yao Qi <yao.qi@linaro.org>
143
144 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
145 gdbserver_spawn.
146 * gdb.server/connect-without-multi-process.exp (do_test):
147 Likewise.
148
3589529e
YQ
1492016-08-23 Yao Qi <yao.qi@linaro.org>
150
151 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
152 standalone_txt. Delete gdb_txt and standalone_txt on host
153 and target. Spawn the binary on target. Copy files from
154 target to host.
155
6bb90213
PA
1562016-08-22 Pedro Alves <palves@redhat.com>
157
158 PR gdb/20505
159 * gdb.base/vdso-warning.exp: Test core dumps too. Use
160 with_test_prefix. Factor out bits to ...
161 (test_no_vdso): ... this new procedure.
162
20c2c024
CL
1632016-08-19 Carl Love <cel@us.ibm.com>
164
165 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
166 maintaining separate logic for constructing the output path.
167 * gdb.arch/powerpc-d128-regs.exp: Likewise.
168 * gdb.arch/ppc-dfp.exp: Likewise.
169 * gdb.arch/ppc-fp.exp: Likewise.
170 * gdb.arch/vsx-regs.exp: Likewise.
171 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
172 binprefix for generating the additional binary files.
173
0646e07d
PA
1742016-08-19 Pedro Alves <palves@redhat.com>
175
176 * gdb.trace/mi-trace-frame-collected.exp
177 (test_trace_frame_collected): On x32, expect two registers.
178
46da9242
CL
1792016-08-18 Carl Love <cel@us.ibm.com>
180
181 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
182 and sync up the test with tests in gas/testsuite/gas/ppc.
183 * gdb.arch/powerpc-power.exp: Likewise.
184
eb2332d7
SM
1852016-08-17 Simon Marchi <simon.marchi@ericsson.com>
186
187 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
188 expected error message.
189
63c61e04
SM
1902016-08-17 Simon Marchi <simon.marchi@ericsson.com>
191
192 * gdb.multi/remove-inferiors.exp: New file.
193 * gdb.multi/remove-inferiors.c: New file.
194
7b17065f
YQ
1952016-08-12 Yao Qi <yao.qi@linaro.org>
196
197 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
198 argument list.
199
01d3dedf
PA
2002016-08-10 Pedro Alves <palves@redhat.com>
201
202 PR gdb/19187
203 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
204 setup_kfails.
205
3eb7562a
PA
2062016-08-09 Pedro Alves <palves@redhat.com>
207 Simon Marchi <simon.marchi@ericsson.com>
208
209 PR gdb/20418
210 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
211 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
212
80614914
PA
2132016-08-09 Pedro Alves <palves@redhat.com>
214
215 PR mi/20431
216 * gdb.mi/mi-cmd-error.exp: New file.
217
f348d89a
PA
2182016-08-09 Pedro Alves <palves@redhat.com>
219
220 PR gdb/18653
221 * gdb.base/signals-state-child.c: New file.
222 * gdb.base/signals-state-child.exp: New file.
223 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
224
e5ca03b4
PA
2252016-08-09 Pedro Alves <palves@redhat.com>
226
227 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
228
282a0691
TT
2292016-08-03 Tom Tromey <tom@tromey.com>
230
231 PR python/18565:
232 * gdb.python/py-frame-inline.exp: Add Frame.function test.
233
41bfcd63
YQ
2342016-08-01 Yao Qi <yao.qi@linaro.org>
235
236 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
237 variable mode to "multi-process" if $multi_process is 1, otherwise
238 set it to "single-process".
239
e3465b24
YQ
2402016-08-01 Yao Qi <yao.qi@linaro.org>
241
242 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
243 * gdb.cp/cpexprs.exp: Likewise.
244 * gdb.cp/m-static.exp: Likewise.
245
0b31a4bc
TT
2462016-07-26 Tom Tromey <tom@tromey.com>
247
248 PR python/20190:
249 * gdb.threads/tls.exp (check_thread_local): Add python symbol
250 test.
251
e0461dbb
MM
2522016-07-26 Markus Metzger <markus.t.metzger@intel.com>
253
254 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
255 selecting assembly source files.
256 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
257 assembly source files.
258 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
259 assembly source files.
260 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
261 selecting assembly source files.
262
8194e927
SM
2632016-07-25 Simon Marchi <simon.marchi@ericsson.com>
264
265 * gdb.base/new-ui.exp (do_test_invalid_args): New
266 procedure.
267
c0272db5
TW
2682016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
269
270 * gdb.btrace/reconnect.c: New file.
271 * gdb.btrace/reconnect.exp: New file.
272
e3487908
GKB
2732016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
274
275 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
276 to test_catch_syscall_group.
277 (test_catch_syscall_group): New.
278
12df5c00
TT
2792016-07-21 Tom Tromey <tom@tromey.com>
280
281 * gdb.rust/simple.rs (main): Use empty struct expression.
282 * gdb.rust/simple.exp: Add tests for empty struct expression.
283
bae62ee2
YQ
2842016-07-21 Yao Qi <yao.qi@linaro.org>
285
286 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
287 if gdb_skip_xml_test is true on some targets.
288
b1b53fb3
YQ
2892016-07-21 Yao Qi <yao.qi@linaro.org>
290
291 * gdb.server/solib-list.exp: Unset last_loaded_file.
292
027d97f8
JK
2932016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
294
295 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
296 "step into captured_main (args)".
297
7674d381
JK
2982016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
299
300 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
301
72b5d099
JK
3022016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
303
304 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
305
1f960ced
PA
3062016-07-19 Pedro Alves <palves@redhat.com>
307
308 * gdb.opt/inline-break.exp: Remove optimize=-O2.
309 * gdb.opt/inline-bt.exp: Likewise.
310 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
311 additional_flags=-Winline.
312 * gdb.opt/inline-locals.exp: Likewise.
313 * gdb.opt/inline-markers.c (ATTR): Define.
314 (inlined_fn): Use it.
315
f25827c1
YQ
3162016-07-19 Yao Qi <yao.qi@linaro.org>
317
318 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
319 (test_with_self): Remove some code. Remove argument executable.
320 (top-level): Use do_self_tests.
321
37539ebe
DB
3222016-07-15 Zachary Welch <zwelch@codesourcery.com>
323 Don Breazeal <donb@codesourcery.com>
324
325 * gdb.base/maint.exp: Escape paths used in regular expressions.
326 * gdb.stabs/weird.exp: Likewise.
327
dac790e1
TT
3282016-07-13 Tom Tromey <tom@tromey.com>
329
330 PR python/15620, PR python/18620:
331 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
332 (test_bkpt_events): New procs.
333
93daf339
TT
3342016-07-13 Tom Tromey <tom@tromey.com>
335
336 PR python/17698:
337 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
338 test.
339 (test_watchpoints): Likewise.
340 (test_bkpt_pending): New proc.
341
6571a381
TT
3422016-07-13 Tom Tromey <tom@tromey.com>
343
344 PR cli/18053:
345 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
346 completion test.
347
e8732474
JK
3482016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
349
350 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
351 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
352 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
353 f_label.
354 (g): Rename g_end_lbl to g_label.
355 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
356 low_pc and high_pc.
357 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
358
e0f3fd7c
TT
3592016-07-12 Tom Tromey <tom@tromey.com>
360
361 PR python/19293:
362 * gdb.python/py-unwind-maint.exp: Update tests.
363
3cfe46b6
YQ
3642016-07-12 Yao Qi <yao.qi@linaro.org>
365
366 * lib/selftest-support.exp (selftest_setup): Match the output
367 when captured_main is inlined.
368
4f19a0e6
WT
3692016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
370
371 * gdb.fortran/derived-types.exp (result_line, result_line_2):
372 New variables.
373 (print this%a, print this%b, print this): New tests.
374 * gdb.fortran/derived-types.f90 (this): New object and
375 initialization.
376
986cf455
SM
3772016-07-06 Simon Marchi <simon.marchi@ericsson.com>
378
379 * gdb.ada/arraydim.exp: Remove extra directory level in build
380 directory.
381
f0464b23
SM
3822016-07-06 Simon Marchi <simon.marchi@ericsson.com>
383
384 * lib/ada.exp: Remove extra directory level in build directory.
385 * gdb.ada/cond_lang.exp: Likewise.
386 * gdb.ada/exec_changed.exp: Likewise.
387 * gdb.ada/lang_switch.exp: Likewise.
388
42d94011
MG
3892016-07-06 Manish Goregaokar <manish@mozilla.com>
390
391 * simple.rs: Add test for raw pointer subscripting
392 * simple.exp: Add test expectations
393
647c264c
YQ
3942016-07-05 Yao Qi <yao.qi@linaro.org>
395
396 * gdb.mi/mi-reverse.exp: Match =record-started output.
397
20aa2c60
PA
3982016-07-01 Pedro Alves <palves@redhat.com>
399
400 * gdb.base/jit-reader.exp (info_registers_current_frame): New
401 procedure.
402 (jit_reader_test): Test the jit reader's unwinder.
403 * gdb.base/jithost.c (jit_function_00_code): New global.
404 (main): Use memcpy to fill in the mmapped code, instead of poking
405 bytes manually here.
406 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
407 value.
408 (read_debug_info): Save the function's range.
409 (read_sp): New function.
410 (unwind_frame): Use it. Also unwind RBP.
411 (get_frame_id): Use read_sp.
412 (gdb_init_reader): Use calloc instead of malloc.
413 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
414 parameter. Use gdb_test_multiple.
415
ced2dffb
PA
4162016-07-01 Pedro Alves <palves@redhat.com>
417 Antoine Tremblay <antoine.tremblay@ericsson.com>
418
419 * gdb.threads/process-dies-while-detaching.c: New file.
420 * gdb.threads/process-dies-while-detaching.exp: New file.
421
63000888
PA
4222016-07-01 Pedro Alves <palves@redhat.com>
423
424 * gdb.multi/watchpoint-multi-exit.c: New file.
425 * gdb.multi/watchpoint-multi-exit.exp: New file.
426
038d4868
PA
4272016-06-30 Pedro Alves <palves@redhat.com>
428
429 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
430 unset inferior_spawn_id.
431
994e9c83
PA
4322016-06-30 Pedro Alves <palves@redhat.com>
433
434 * lib/mi-support.exp (default_mi_gdb_start): Declare global
435 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
436
e5653468
YQ
4372016-06-29 Yao Qi <yao.qi@linaro.org>
438
439 * gdb.base/return.c: Add copyright header.
440
803b47e5
TT
4412016-06-29 Tom Tromey <tom@tromey.com>
442
443 PR python/20129:
444 * gdb.python/py-framefilter.exp: Add tests for setting priority
445 and disabling of non-existent frame filter.
446
28244707
YQ
4472016-06-29 Yao Qi <yao.qi@linaro.org>
448
449 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
450 0x0f07ff.
451
a31d2f06
YQ
4522016-06-28 Yao Qi <yao.qi@linaro.org>
453
454 * gdb.base/catch-syscall.exp: Remove check on isnative and target
455 triplets. Start gdb, execute catch syscall, and continue. Check
456 gdb's output to determine catch syscall is supported.
457
921d8f54
MG
4582016-06-27 Manish Goregaokar <manish@mozilla.com>
459
25d49b86
PA
460 * gdb.rust/simple.rs: Add test for returning unit in a function.
461 * gdb.rust/simple.exp: Add expectation for functions returning
462 unit.
921d8f54 463
f4952523
PMR
4642016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
465
466 * gdb.python/py-breakpoint-create-fail.c,
467 gdb.python/py-breakpoint-create-fail.exp,
468 gdb.python/py-breakpoint-create-fail.py: New testcase.
469
fccb08f8
MG
4702016-06-25 Manish Goregaokar <manish@mozilla.com>
471
472 PR gdb/20239
473 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
474 * gdb.rust/simple.exp: Add test expectations for new NonZero
475 tests.
fccb08f8 476
6b850546
DT
4772016-06-24 David Taylor <dtaylor@emc.com>
478
479 * gdb.base/offsets.exp: New file.
480 * gdb.base/offsets.c: New file.
481
17621150
TT
4822016-06-23 Tom Tromey <tom@tromey.com>
483
484 PR gdb/16483:
485 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
486 before any filters are loaded.
487
04d59df6
WT
4882016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
489
490 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
491 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
492 structs.
493 * gdb.fortran/derived-type-function.exp: New file.
494 * gdb.fortran/derived-type-function.f90: New file.
495
496
ac69f786
PA
4972016-06-21 Pedro Alves <palves@redhat.com>
498
499 * gdb.base/new-ui.exp: New file.
500 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
501 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
502 (with_spawn_id): New procedure.
503
49940788
PA
5042016-06-21 Pedro Alves <palves@redhat.com>
505
506 * gdb.mi/mi-exec-run.exp: New file.
507
ef274d26
PA
5082016-06-21 Pedro Alves <palves@redhat.com>
509
510 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
511 breakpoint command's output on the main UI.
512 (test_break): New procedure, factored out from calls in the top
513 level.
514 (top level): Use foreach_with_prefix to test MI as main UI and as
515 separate UI.
516
468afe6c
PA
5172016-06-21 Pedro Alves <palves@redhat.com>
518
519 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
520 (test_awatch_creation_and_listing)
521 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
522 Remove 'type' parameter.
523 (test_watchpoint_all): New parameter mi_mode. Remove
524 with_test_prefix.
525 (top level): Use foreach_with_prefix, and add main/separate UI MI
526 testing axis.
527
51f77c37
PA
5282016-06-21 Pedro Alves <palves@redhat.com>
529
530 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
531 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
532 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
533 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
534 (gdb_main_spawn_id, mi_spawn_id): Declare and
535 comment.
536 (mi_create_inferior_pty): New procedure,
537 factored out from default_mi_gdb_start.
538 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
539 procedures.
540 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
541 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
542 Use mi_create_inferior_pty.
543 (mi_gdb_start): Use eval to pass down args list.
544
8980e177
PA
5452016-06-21 Pedro Alves <palves@redhat.com>
546
547 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
548 * gdb.opt/inline-cmds.exp: Add MI tests.
549
f38d3ad1
PA
5502016-06-21 Pedro Alves <palves@redhat.com>
551
552 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
553
45db7c09
PA
5542016-06-21 Pedro Alves <palves@redhat.com>
555
556 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
557 (top level): Use it instead of mi_execute_to.
558
5a069ab3
PA
5592016-06-21 Pedro Alves <palves@redhat.com>
560
561 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
562 (cont_handler_str): New.
563 (signal_stop_handler): Set stop_handler_str instead of printing to
564 stdout.
565 (continue_handler): Set cont_handler_str instead of printing to
566 stdout.
567 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
568 mi_send_resuming_command. Print stop_handler_str and
569 cont_handler_str instead of expecting the python events print
570 directly.
571
2838cc1d
SD
5722016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
573
574 * gdb.base/jit-reader.exp: New file.
575 * gdb.base/jithost.c: New file.
576 * gdb.base/jithost.h: New file.
577 * gdb.base/jitreader.c : New file.
578 * gdb.base/jit-protocol.h: New file.
579
21a77091
YQ
5802016-06-17 Yao Qi <yao.qi@linaro.org>
581
582 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
583 parameters follow_fork and detach_on_fork. Set follow-fork-mode
584 and detach-on-fork. Adjust tests.
585 (top level): Invoke break_cond_on_syscall with combinations of
586 syscall, follow-fork-mode and detach-on-fork.
587
f50bf8e5
YQ
5882016-06-17 Yao Qi <yao.qi@linaro.org>
589
590 * gdb.base/step-over-exit.c: New.
591 * gdb.base/step-over-exit.exp: New.
592
a28d8e50
YTL
5932016-06-17 Yan-Ting Lin <currygt52@gmail.com>
594
595 * gdb.base/float.exp: Add target check for nds32*-*-*.
596 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
597
cad8e26d
AB
5982016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
599
600 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
601 for unsupported target features.
602 * gdb.base/call-rt-st.exp: Likewise.
603 * gdb.base/call-sc.exp: Likewise.
604 * gdb.base/call-signal-resume.exp: Likewise.
605 * gdb.base/call-strs.exp: Likewise.
606 * gdb.base/callexit.exp: Likewise.
607 * gdb.base/callfuncs.exp: Likewise.
608 * gdb.base/nodebug.exp: Likewise.
609 * gdb.base/printcmds.exp: Likewise.
610 * gdb.base/ptype.exp: Likewise.
611 * gdb.base/structs.exp: Likewise.
612 * gdb.base/unwindonsignal.exp: Likewise.
613 * gdb.cp/gdb2495.exp: Likewise.
614 * gdb.cp/templates.exp: Likewise.
615 * gdb.cp/virtfunc.exp: Likewise.
616 * gdb.threads/hand-call-in-threads.exp: Likewise.
617 * gdb.threads/interrupted-hand-call.exp: Likewise.
618 * gdb.threads/thread-unwindonsignal.exp: Likewise.
619
347dc102
TT
6202016-06-10 Tom Tromey <tom@tromey.com>
621
622 PR rust/20110:
623 * gdb.rust/expr.exp: Add test for integer constant larger than
624 i32.
625
5e13cf25
BH
6262016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
627
628 * gdb.fortran/nested-funcs.exp: New.
629 * gdb.fortran/nested-funcs.f90: New.
630
bb556f1f
TK
6312016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
632
633 * gdb.base/examine-backward.c: New file.
634 * gdb.base/examine-backward.exp: New file.
635
38b022b4
SM
6362016-06-06 Simon Marchi <simon.marchi@ericsson.com>
637
638 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
639 matching.
640
1b40ec05
TT
6412016-06-02 Tom Tromey <tom@tromey.com>
642
643 PR python/18984:
644 * gdb.python/py-shared.exp: Add solib_name test.
645
193bd378
SM
6462016-06-02 Simon Marchi <simon.marchi@ericsson.com>
647
648 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
649
3326303b
MG
6502016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
651
652 PR c++/19893
653 * gdb.dwarf2/implref.exp: Rename to...
654 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
655 * gdb.dwarf2/implref-array.c: New file.
656 * gdb.dwarf2/implref-array.exp: Likewise.
657 * gdb.dwarf2/implref-global.c: Likewise.
658 * gdb.dwarf2/implref-global.exp: Likewise.
659 * gdb.dwarf2/implref-struct.c: Likewise.
660 * gdb.dwarf2/implref-struct.exp: Likewise.
661
825c8ef2
AT
6622016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
663
664 * gdb.trace/trace-condition.exp: Add 64bit tests.
665
2320162a
AT
6662016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
667
668 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
669 bits types.
670 (main): Adapt to 8 to 64 bits types.
671 * gdb.trace/trace-condition.exp: Add new tests.
672
a7818233
AT
6732016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
674
675 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
676
0d336466
AT
6772016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
678
679 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
680 Move condition tests...
681 * gdb.trace/trace-condition.exp: Here.
682
7faeb45a
AT
6832016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
684
685 * gdb.trace/trace-condition.exp: Add counter-case tests.
686
e385593e
JK
6872016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
688
689 PR c++/15231
690 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
691 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
692
744608cc
PA
6932016-05-27 Pedro Alves <palves@redhat.com>
694
695 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
696 New procedure.
697 (top level): Call it, and bail out of DejaGnu is known to be bad.
698
ac775bf4
AB
6992016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
700
701 * gdb.base/whatis.c: Extend the test case.
702 * gdb.base/whatis.exp: Add additional tests.
703
2bbad2ea
BH
7042016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
705
706* gdb.fortran/type.f90: Add pointer variable.
707* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
708
8b70175d
BH
7092016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
710
711 * gdb.fortran/vla-type.exp: Fix testcase name.
712
86d8a848
BH
7132016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
714
715 * gdb.fortran/vla-type.exp: Access elements in nested structs.
716
e188eb36
BH
7172016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
718
719 * gdb.fortran/type.f90: Add nested structures.
720 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
721 * gdb.fortran/derived-type.exp: Adapt expected output.
722 * gdb.fortran/vla-type.exp: Adapt expected output.
723
9b2db1fd
BH
7242016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
725
726 * gdb.fortran/whatis_type.exp: Adapt expected output.
727
72b17055
BH
7282016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
729
730 * gdb.fortran/print_type.exp: Fix expected output.
731 * gdb.fortran/whatis_type.exp: Fix expected output.
732
3cd81d8d
BH
7332016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
734
735 * gdb.fortran/whatis_type.exp: Use multi_line.
736
ddae9462
TT
7372016-05-24 Tom Tromey <tom@tromey.com>
738
739 PR python/17386:
740 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
741 use value as an index.
742
1957f6b8
TT
7432016-05-23 Tom Tromey <tom@tromey.com>
744
745 PR python/17981:
746 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
747 no-breakpoint case.
748
026a9174
PA
7492016-05-24 Pedro Alves <palves@redhat.com>
750
751 PR gdb/19828
752 * gdb.threads/clone-attach-detach.c: New file.
753 * gdb.threads/clone-attach-detach.exp: New file.
754
e70a7231
FR
7552016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
756
757 * gdb.base/annota-input-while-running.exp: Fix syntax error.
758
0f6ed0e0
TT
7592016-05-23 Tom Tromey <tom@tromey.com>
760
761 PR python/19438, PR python/18393:
762 * gdb.python/py-progspace.exp: Add "dir" test.
763 * gdb.python/py-objfile.exp: Add "dir" test.
764
ffd19d61
YQ
7652016-05-23 Yao Qi <yao.qi@linaro.org>
766
767 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
768 * gdb.arch/thumb2-it.exp: Likewise.
769
9e8f9b05
SM
7702016-05-18 Simon Marchi <simon.marchi@ericsson.com>
771
772 * gdb.mi/mi-threads-interrupt.c: New file.
773 * gdb.mi/mi-threads-interrupt.exp: New file.
774
61c6156d
SM
7752016-05-17 Simon Marchi <simon.marchi@ericsson.com>
776
777 PR gdb/18077
778 * gdb.mi/mi-async-run.exp: New file.
779 * gdb.mi/mi-async-run.c: New file.
780
67218854
TT
7812016-05-17 Tom Tromey <tom@tromey.com>
782 Manish Goregaokar <manishsmail@gmail.com>
783
784 * lib/rust-support.exp: New file.
785 * lib/gdb.exp (skip_rust_tests): New proc.
786 (build_executable_from_specs): Handle rust.
787 * lib/future.exp (gdb_find_rustc): New proc.
788 (gdb_default_target_compile): Handle rust.
789 * gdb.rust/expr.exp: New file.
790 * gdb.rust/generics.exp: New file.
791 * gdb.rust/generics.rs: New file.
792 * gdb.rust/methods.exp: New file.
793 * gdb.rust/methods.rs: New file.
794 * gdb.rust/modules.exp: New file.
795 * gdb.rust/modules.rs: New file.
796 * gdb.rust/simple.exp: New file.
797 * gdb.rust/simple.rs: New file.
798
c44af4eb
TT
7992016-05-17 Tom Tromey <tom@tromey.com>
800
801 * gdb.base/default.exp (set language): Add rust.
802
dcd1f979
TT
8032016-05-17 Tom Tromey <tom@tromey.com>
804
805 * gdb.gdb/unittest.exp: New file.
806
155b7f57
YQ
8072016-05-16 Yao Qi <yao.qi@linaro.org>
808
809 * gdb.base/batch-preserve-term-settings.exp: Remove variable
810 shell_prompt. Update shell_prompt_re.
811
8ddd5a6c
DE
8122016-05-12 Doug Evans <dje@google.com>
813
814 PR symtab/19999
815 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
816 $options when building executable.
817 * gdb.dwarf2/fission-loclists-pie.S: New file.
818 * gdb.dwarf2/fission-loclists-pie.exp: New file.
819
02e370d9
SM
8202016-05-04 Simon Marchi <simon.marchi@ericsson.com>
821
822 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
823 of [is_remote target],
824
8929ad8b
SM
8252016-05-04 Simon Marchi <simon.marchi@ericsson.com>
826
827 * lib/gdb.exp (use_gdb_stub): New procedure.
828
6c447423
DE
8292016-05-03 Yunlian Jiang <yunlian@google.com>
830 Doug Evans <dje@google.com>
831
832 PR symtab/19914
833 * gdb.dwarf2/dwp-sepdebug.c: New file.
834 * gdb.dwarf2/dwp-sepdebug.exp: New file.
835
444e826c
SM
8362016-05-02 Simon Marchi <simon.marchi@ericsson.com>
837
838 * gdb.base/detach.exp: Remove is_remote check.
839
740feeaa
SM
8402016-05-02 Simon Marchi <simon.marchi@ericsson.com>
841
842 * gdb.base/annota-input-while-running.exp: Don't check for
843 [is_remote target]. Enable annotations after running to main.
844 Remove unused "set test..." line.
845
9080ac9d
SM
8462016-04-28 Simon Marchi <simon.marchi@ericsson.com>
847
848 * gdb.trace/trace-enable-disable.exp: New file.
849 * gdb.trace/trace-enable-disable.c: New file.
850
952ebca5
SM
8512016-04-28 Simon Marchi <simon.marchi@ericsson.com>
852
853 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
854 use it in info sharedlibrary test.
855 * gdb.trace/ftrace-lock.exp: Likewise.
856 * gdb.trace/ftrace.exp: Likewise.
857 * gdb.trace/range-stepping.exp: Likewise.
858 * gdb.trace/trace-break.exp: Likewise.
859 * gdb.trace/trace-condition.exp: Likewise.
860 * gdb.trace/trace-mt.exp: Likewise.
861
d9019901
SM
8622016-04-27 Simon Marchi <simon.marchi@ericsson.com>
863
864 * lib/gdb.exp (gdb_load_shlibs): Rename to...
865 (gdb_load_shlib): ... this.
866 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
867 gdb_load_shlib.
868 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
869 * gdb.base/ctxobj.exp: Likewise.
870 * gdb.base/dprintf-pending.exp: Likewise.
871 * gdb.base/dso2dso.exp: Likewise.
872 * gdb.base/fixsection.exp: Likewise.
873 * gdb.base/gcore-relro.exp: Likewise.
874 * gdb.base/gdb1555.exp: Likewise.
875 * gdb.base/global-var-nested-by-dso.exp: Likewise.
876 * gdb.base/gnu-ifunc.exp: Likewise.
877 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
878 * gdb.base/jit-so.exp (one_jit_test): Likewise.
879 * gdb.base/pending.exp: Likewise.
880 * gdb.base/print-file-var.exp: Likewise.
881 * gdb.base/print-symbol-loading.exp: Likewise.
882 * gdb.base/shlib-call.exp: Likewise.
883 * gdb.base/shreloc.exp: Likewise.
884 * gdb.base/so-impl-ld.exp: Likewise.
885 * gdb.base/solib-disc.exp: Likewise.
886 * gdb.base/solib-nodir.exp: Likewise.
887 * gdb.base/solib-overlap.exp: Likewise.
888 * gdb.base/solib-symbol.exp: Likewise.
889 * gdb.base/solib-weak.exp (do_test): Likewise.
890 * gdb.base/sym-file.exp: Likewise.
891 * gdb.base/symtab-search-order.exp: Likewise.
892 * gdb.base/type-opaque.exp: Likewise.
893 * gdb.base/unload.exp: Likewise.
894 * gdb.base/watchpoint-solib.exp: Likewise.
895 * gdb.compile/compile.exp: Likewise.
896 * gdb.cp/gdb2384.exp: Likewise.
897 * gdb.cp/infcall-dlopen.exp: Likewise.
898 * gdb.cp/re-set-overloaded.exp: Likewise.
899 * gdb.fortran/library-module.exp: Likewise.
900 * gdb.opt/solib-intra-step.exp: Likewise.
901 * gdb.python/py-finish-breakpoint.exp: Likewise.
902 * gdb.python/py-shared.exp: Likewise.
903 * gdb.reverse/solib-precsave.exp: Likewise.
904 * gdb.reverse/solib-reverse.exp: Likewise.
905 * gdb.server/solib-list.exp: Likewise.
906 * gdb.threads/dlopen-libpthread.exp: Likewise.
907 * gdb.threads/tls-shared.exp: Likewise.
908 * gdb.threads/tls-so_extern.exp: Likewise.
909 * gdb.trace/change-loc.exp: Likewise.
910 * gdb.trace/ftrace-lock.exp: Likewise.
911 * gdb.trace/ftrace.exp: Likewise.
912 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
913 * gdb.trace/pending.exp: Likewise.
914 * gdb.trace/range-stepping.exp: Likewise.
915 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
916 (strace_info_marker): Likewise.
917 (strace_probe_marker): Likewise.
918 (strace_trace_on_same_addr): Likewise.
919 (strace_trace_on_diff_addr): Likewise.
920 * gdb.trace/trace-break.exp: Likewise.
921 * gdb.trace/trace-condition.exp: Likewise.
922 * gdb.trace/trace-mt.exp: Likewise.
923
fca4cfd9
SM
9242016-04-27 Simon Marchi <simon.marchi@ericsson.com>
925
926 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
927 result of gdb_remote_download.
928 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
929 * gdb.base/dso2dso.exp: Likewise.
930 * gdb.base/global-var-nested-by-dso.exp: Likewise.
931 * gdb.base/print-file-var.exp: Likewise.
932 * gdb.base/shlib-call.exp: Likewise.
933 * gdb.base/shreloc.exp: Likewise.
934 * gdb.base/solib-overlap.exp: Likewise.
935 * gdb.base/solib-weak.exp (do_test): Likewise.
936 * gdb.base/unload.exp: Likewise.
937
11cf4ffb
YQ
9382016-04-27 Yao Qi <yao.qi@linaro.org>
939
940 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
941 exists.
942
3e2e34f8
KB
9432016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
944
945 * vla-type.exp: Print structure from toplevel.
946
8f07e298
BH
9472016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
948
949 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
950 of dynamic types.
951 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
952 of dynamic types.
953
9920b434
BH
9542016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
955
956 * gdb.fortran/vla-type.f90: New file.
957 * gdb.fortran/vla-type.exp: New file.
958
f3abeff5
YQ
9592016-04-25 Yao Qi <yao.qi@linaro.org>
960
961 * gdb.base/branch-to-self.c: New file.
962 * gdb.base/branch-to-self.exp: New file.
963
0a5d52f0
YQ
9642016-04-22 Yao Qi <yao.qi@linaro.org>
965
966 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
967 more after $hex.
968
495346f6
YQ
9692016-04-22 Yao Qi <yao.qi@linaro.org>
970
971 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
972 * gdb.base/annota3.exp: Likewise.
973
4a7e075c
YQ
9742016-04-22 Yao Qi <yao.qi@linaro.org>
975
976 * gdb.reverse/step-precsave.exp: Do one step and test program
977 stops in "callee" and do multiple steps until program goes out
978 of "callee".
979 * gdb.reverse/step-reverse.exp: Likewise.
980
5b061e98
YQ
9812016-04-22 Yao Qi <yao.qi@linaro.org>
982
983 * gdb.trace/signal.exp: Also pass if
984 $tracepoint_hits($i) > $iterations.
985
5c5dc57f
YQ
9862016-04-22 Yao Qi <yao.qi@linaro.org>
987
988 * gdb.trace/signal.c: New file.
989 * gdb.trace/signal.exp: New file.
990
a55411b9
DE
9912016-04-19 Doug Evans <xdje42@gmail.com>
992
993 * gdb.base/bad-file.exp: New file.
994
a22df60a
MG
9952016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
996
997 * gdb.dwarf2/implref.exp: New file.
998
0c13f7e5
BH
9992016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1000
1001 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
1002 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
1003 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
1004 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
1005 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
1006 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
1007 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
1008 * lib/fortran.exp (fortran_int4): New procedure.
1009 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
1010 (fortran_logical4): Likewise.
1011
9b9b09e9
BH
10122016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
1013
1014 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
1015
a14d1f4d
BH
10162016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1017
1018 * lib/compiler.c: Add Intel specific preprocessor macros.
1019 * lib/compiler.cc: Likewise.
25d49b86 1020
7d49b1d0
LM
10212016-04-13 Luis Machado <lgustavo@codesourcery.com>
1022
1023 * gdb.server/connect-with-no-symbol-file.c: New file.
1024 * gdb.server/connect-with-no-symbol-file.exp: New file.
1025
8392fa22
SM
10262016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1027
1028 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
1029
8c4c4aeb
SM
10302016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1031
1032 * boards/gdbserver-base.exp (${board}_download): Copy source file to
1033 standard output directory.
1034
45e3745e
AT
10352016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
1036
1037 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
1038
e26b7e41
MM
10392016-04-13 Markus Metzger <markus.t.metzger@intel.com>
1040
1041 * gdb.btrace/instruction_history.c (loop): Add declaration.
1042
8ce09462
AT
10432016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1044
1045 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
1046
2e88a1ea
SM
10472016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
1048
1049 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
1050 parentheses to print.
1051 (continue_handler): Likewise.
1052
f48e22e3
SM
10532016-04-08 Simon Marchi <simon.marchi@ericsson.com>
1054
1055 * gdb.server/solib-list.exp: Remove is_remote check.
1056 Pass shlib= to gdb_compile. Don't link shared library with
1057 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
1058 Run binary filename through "readlink -f" on the target.
1059
096be756
PA
10602016-04-08 Pedro Alves <palves@redhat.com>
1061
1062 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
1063 interpreter filename as argument to gdbserver_spawn.
1064 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1065 Return empty if $last_loaded_file does not exist.
1066
06500533
JK
10672016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1068
1069 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
1070 * gdb.base/jit-main.c: Use exit after usage.
1071
2d35e871
JK
10722016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1073
1074 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
1075 GDBHISTSIZE prior to the tests.
1076 * gdb.base/gdbinit-history.exp: Likewise.
1077
10782016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
1079
1080 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
1081 instead of build_executable. Use gdb_load_shlibs.
1082
c8064e7e
YQ
10832016-04-07 Yao Qi <yao.qi@linaro.org>
1084
1085 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
1086 Execute "si" command.
1087
bde47561
YQ
10882016-04-07 Yao Qi <yao.qi@linaro.org>
1089
1090 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
1091 number instead of the comments on some line.
1092
b16f8a3b
DB
10932016-04-06 Don Breazeal <donb@codesourcery.com>
1094
1095 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
1096 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
1097
c2f901df
SM
10982016-04-06 Simon Marchi <simon.marchi@ericsson.com>
1099
1100 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
1101 standard_output_file. Remove unused binfile variable.
1102
ac17fda0
CU
11032016-04-05 Catalin Udma <catalin.udma@freescale.com>
1104
1105 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
1106 * gdb.python/py-mi-objfile.exp: Match "list main" output
1107 in console format.
1108
03a8c4df
SM
11092016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
1110
1111 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
1112 absolute.
1113
6e774b13
SM
11142016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1115
1116 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
1117 absolute.
1118 * gdb.trace/ftrace.exp: Likewise.
1119 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
1120 targets as well.
1121 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
1122 (gdb_load_shlibs): Copy libraries to test directory when testing
1123 natively. Only set solib-search-path if testing remotely.
1124 * lib/mi-support.exp (mi_load_shlibs): Likewise.
1125
7817ea46
SM
11262016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1127
1128 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
1129 gdb_download. Use it even if the target is not remote.
1130 * gdb.base/jit.exp (compile_jit_test): Likewise.
1131 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
1132 output directory if the destination board is local, otherwise use
1133 the standard remote_download from DejaGnu.
1134 (gdb_download): Remove.
1135 (gdb_load_shlibs): Use gdb_remote_download instead of
1136 gdb_download.
1137 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1138 Use gdb_remote_download instead of gdb_download. Use it even if
1139 the target is not remote.
1140 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
1141 instead of gdb_download.
1142
7beb7f68
SM
11432016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
1144
1145 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
1146 (test_insert_delete_modify): Call mi_load_shlibs before trying to
1147 run.
1148
cc63428a
AV
11492016-04-01 Artemiy Volkov <artemiyv@acm.org>
1150
1151 PR gdb/19820
1152 * gdb.base/printcmds.exp: Add artificial arrays tests.
1153
64cdf930
PA
11542016-03-31 Pedro Alves <palves@redhat.com>
1155
1156 PR gdb/19858
1157 * gdb.base/jit-main.c: Include unistd.h.
1158 (ATTACH): Define to 0 if not already defined.
1159 (wait_for_gdb, mypid): New globals.
1160 (WAIT_FOR_GDB): New macro.
1161 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
1162 some breakpoint locations.
1163 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
1164 New procedures.
1165 (one_jit_test): Add REATTACH parameter, and handle it. Use
1166 continue_to_test_location.
1167 (top level): Test attach, and adjusts calls to one_jit_test.
1168
40dea8cb
PA
11692016-03-31 Pedro Alves <palves@redhat.com>
1170
1171 PR gdb/19858
1172 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
1173 BINSUFFIX parameter, and handle it.
1174 (top level): Adjust calls compile_jit_test.
1175
e7ea3ec7
CU
11762016-03-31 Catalin Udma <catalin.udma@freescale.com>
1177
1178 PR python/19743
1179 * gdb.python/py-mi-events-gdb.py: New file.
1180 * gdb.python/py-mi-events.c: New file.
1181 * gdb.python/py-mi-events.exp: New file.
1182
e6359af3
YQ
11832016-03-30 Yao Qi <yao.qi@linaro.org>
1184
1185 * gdb.reverse/until-precsave.exp: Match function name only.
1186 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
1187 Move malloc to a condition block.
1188 * gdb.reverse/until-reverse.exp: Match function name only.
1189
a4105d04
MK
11902016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
1191
1192 * gdb.trace/ftrace.exp: Set arg0exp for s390.
1193 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
1194 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
1195 variable for GPR 0 instead of assuming it is register 0.
1196 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
1197 * lib/trace-support.exp: Add s390 registers.
1198
bfa6adb9
YQ
11992016-03-29 Yao Qi <yao.qi@linaro.org>
1200
1201 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
1202
1e6697ea
YQ
12032016-03-24 Yao Qi <yao.qi@linaro.org>
1204
1205 * gdb.reverse/break-reverse.exp: Add quotation mark in the
1206 test message.
1207
64bcd522
AA
12082016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1209
1210 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
1211 maintaining separate logic for constructing the output path.
1212
7868401b
DB
12132016-03-16 Don Breazeal <donb@codesourcery.com>
1214
1215 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1216 Retry fork and waitpid on interrupted system call errors.
1217 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1218 Use with_timeout_factor to increase timeout by factor of 10.
1219
1cafadb4
DB
12202016-03-15 Don Breazeal <donb@codesourcery.com>
1221
1222 * gdb.cp/scope-err.cc: New test program.
1223 * gdb.cp/scope-err.exp: New test script.
1224 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
1225 lines and "set breakpoint here" comment.
1226 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
1227 Fixed some whitespace and format issues.
1228 * gdb.mi/mi-linespec-err-cp.cc: New test program.
1229 * gdb.mi/mi-linespec-err-cp.exp: New test script.
1230
81516450
DE
12312016-03-15 Doug Evans <dje@google.com>
1232
1233 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
1234 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
1235 All callers updated. Add tests for enums, mixed flags register.
1236
aa52b601
DE
12372016-03-15 Doug Evans <dje@google.com>
1238
1239 * gdb.base/skip.c (main): Call test_skip_file_and_function.
1240 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
1241
fa4ff313
SM
12422016-03-14 Simon Marchi <simon.marchi@ericsson.com>
1243
1244 * gdb.base/default.exp: Add $_as_string to the list of expected
1245 convenience functions.
1246
f2403c39
AB
12472016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
1248
1249 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1250
f2f3ccb9
SM
12512016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1252
1253 * gdb.python/py-as-string.exp: New file.
1254 * gdb.python/py-as-string.c: New file.
1255
00dbd492
PA
12562016-03-09 Pedro Alves <palves@redhat.com>
1257
1258 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1259 signal" -> "Thread NN received signal" output change.
1260 * gdb.threads/ia64-sigill.exp: Likewise.
1261 * gdb.threads/linux-dp.exp: Likewise.
1262 * gdb.threads/manythreads.exp: Likewise.
1263 * gdb.threads/pending-step.exp: Likewise.
1264 * gdb.threads/print-threads.exp: Likewise.
1265 * gdb.threads/sigstep-threads.exp: Likewise.
1266 * gdb.threads/staticthreads.exp: Likewise.
1267 * gdb.threads/tls.exp: Likewise.
1268
1e6697ea
YQ
12692016-03-09 Pedro Alves <palves@redhat.com>
1270
1271 * gdb.base/command-line-input.exp: New file.
1272
b04fd3be
MK
12732016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1274
1275 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1276 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1277 * gdb.trace/pending.exp: Accept leading dot before function name.
1278 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1279 * lib/trace-support.exp: Set registers for ppc.
1280
98fa59e9
MK
12812016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1282
1283 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1284 use it for disassembly; accept .main in addition to main in backtrace.
1285
f77198c8
MK
12862016-03-09 Wei-cheng Wang <cole945@gmail.com>
1287 Marcin Kościelnicki <koriakin@0x04.net>
1288
1289 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1290 (gdb_recursion_test_ptr): New global variable.
1291 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1292 gdb_recursion_test.
1293 (gdb_c_test): Ditto.
1294
ba84e0da
MK
12952016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1296
1297 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1298 ordering.
1299
4366d36e
MK
13002016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1301
1302 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1303 (bar): Add bar_start_lbl label.
1304 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1305 of foo/bar for emitting DWARF and tracing.
1306
5eb264df
SDJ
13072016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1308
1309 * analyze-racy-logs.py: Set executable bit.
1310
fb6a751f
SDJ
13112016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1312
1313 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1314 (CHECK_TARGET_TMP): Likewise.
1315 (check-single-racy): New rule.
1316 (check-parallel-racy): Likewise.
1317 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1318 (do-check-parallel-racy): New rule.
1319 (check-racy/%.exp): Likewise.
1320 * README (Racy testcases): New section.
1321 * analyze-racy-logs.py: New file.
1322
bdf7e230
DE
13232016-03-03 Doug Evans <dje@google.com>
1324
1325 * gdb.base/skip.exp: Use with_test_prefix.
1326
4719d415
YQ
13272016-03-03 Yao Qi <yao.qi@linaro.org>
1328
1329 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1330 Invoke step_over_syscall "clone" and break_cond_on_syscall
1331 "clone".
1332 * gdb.base/step-over-clone.c: New file.
1333
ea507862
YQ
13342016-03-03 Yao Qi <yao.qi@linaro.org>
1335
1336 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1337 code format.
1338
8fc8cbda
YQ
13392016-03-03 Yao Qi <yao.qi@linaro.org>
1340
1341 * gdb.base/disp-step-fork.c: Rename to ...
1342 * gdb.base/step-over-fork.c: ... it. New file.
1343 * gdb.base/disp-step-vfork.c: Rename to ...
1344 * gdb.base/step-over-vfork.c: ... it. New file.
1345 * gdb.base/disp-step-syscall.exp: Rename to ...
1346 * gdb.base/step-over-syscall.exp: ... it. New file.
1347 (disp_step_cross_syscall): Rename to ...
1348 (step_over_syscall): ... it.
1349
92fa70b0
YQ
13502016-03-03 Yao Qi <yao.qi@linaro.org>
1351
1352 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1353 If target supports condition evaluation on target, invoke
1354 break_cond_on_syscall for fork and vfork.
1355
e197ad3c
YQ
13562016-03-03 Yao Qi <yao.qi@linaro.org>
1357
1358 * gdb.base/disp-step-syscall.exp: Don't invoke
1359 support_displaced_stepping.
1360 (disp_step_cross_syscall): Test with displaced stepping off and
1361 on if supported.
1362
0b47da9f
YQ
13632016-03-03 Yao Qi <yao.qi@linaro.org>
1364
1365 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1366 proc.
1367 (setup): New proc.
1368 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1369 and setup.
1370
065ab6dc
BH
13712016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1372
1373 * gdb.fortran/vla-history.exp: Remove breakpoint.
1374
07e448ad 13752016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1376
25d49b86
PA
1377 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1378 exceeds timeout.
07e448ad 1379
9ac2d526 13802016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1381
25d49b86
PA
1382 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1383 breakpoint.
9ac2d526 1384
17807369
BH
13852016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1386
1387 * gdb.mi/vla.f90: Nullify pointer after declaration.
1388
86e501af
PA
13892016-03-01 Pedro Alves <palves@redhat.com>
1390
1391 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1392
1e903e32
PA
13932016-03-01 Pedro Alves <palves@redhat.com>
1394
1395 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1396 before anything else.
1397 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1398 _GNU_SOURCE here.
1399 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1400 before anything else.
1401 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1402
6ccb54e2
PA
14032016-03-01 Pedro Alves <palves@redhat.com>
1404
1405 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1406
30ca9da1
YQ
14072016-03-01 Yao Qi <yao.qi@linaro.org>
1408
1409 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1410 prepare_for_testing.
1411
dc856b38
YQ
14122016-03-01 Yao Qi <yao.qi@linaro.org>
1413
1414 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1415
4a932159
AA
14162016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1417
1418 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1419 manually constructing the output path.
1420
f2489477
AA
14212016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1422
1423 * gdb.arch/s390-stackless.S: New.
1424 * gdb.arch/s390-stackless.exp: New.
1425
38899f16
IB
14262016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1427
1428 * gdb.dlang/circular.c: New file.
1429 * gdb.dlang/circular.exp: New file.
1430
9fde51ed
YQ
14312016-02-26 Yao Qi <yao.qi@linaro.org>
1432
1433 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1434 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1435 (testcases): Update.
1436
ce90fefe
YQ
14372016-02-26 Yao Qi <yao.qi@linaro.org>
1438
1439 * gdb.reverse/aarch64.c: Rename to ...
1440 * gdb.reverse/insn-reverse.c: ... it.
1441 * gdb.reverse/aarch64.exp: Rename to ...
1442 * gdb.reverse/insn-reverse.exp: ... it.
1443
3263bceb
YQ
14442016-02-26 Yao Qi <yao.qi@linaro.org>
1445
1446 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1447 (testcase_ftype): New.
1448 (testcases): New array.
1449 (n_testcases): New.
1450 (main): Call each element in testcases.
1451 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1452 (read_testcase): New.
1453 Do the tests in a loop.
1454
6cb59ff1
YQ
14552016-02-25 Yao Qi <yao.qi@linaro.org>
1456
1457 * gdb.base/branches.c: Remove.
1458
ae91f625
MK
14592016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1460
1461 PR gdb/13808
1462 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1463
678b48b7
MK
14642016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1465
1466 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1467
7337a6f2
MK
14682016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1469
1470 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1471 change x86_64 call_insn to 'callq'.
1472
861ca91f
AT
14732016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1474
1475 * gdb.trace/tfile-avx.c: Move to...
1476 * gdb.trace/tracefile-pseudo-reg.c: Here.
1477 * gdb.trace/tfile-avx.exp: Move to...
1478 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1479
bf74e428
GB
14802016-02-24 Gary Benson <gbenson@redhat.com>
1481
1482 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1483 message on attach.
1484
cce0e923
DE
14852016-02-23 Doug Evans <dje@google.com>
1486
1487 * gdb.base/skip.c (test_skip): New function.
1488 (end_test_skip_file_and_function): New function.
1489 (test_skip_file_and_function): New function.
1490 * gdb.base/skip1.c (test_skip): New function.
1491 (skip1_test_skip_file_and_function): New function.
1492 * gdb.base/skip.exp: Add tests for new skip options.
1493 * gdb.base/skip-solib.exp: Update expected output.
1494 * gdb.perf/skip-command.cc: New file.
1495 * gdb.perf/skip-command.exp: New file.
1496 * gdb.perf/skip-command.py: New file.
1497
4000e47e
MK
14982016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1499
1500 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1501 info registers pattern.
1502
24f75ead
IB
15032016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1504
1505 * lib/future.exp: Add D support.
1506 (gdb_find_gdc): New proc.
1507 (gdb_default_target_compile): Add D support.
1508
fbb7bcbe
WW
15092016-02-18 Wei-cheng Wang <cole945@gmail.com>
1510
1511 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1512 user+system time.
1513 (trace_speed_test): Determine the iteration count for a time
1514 between 15..30 seconds.
1515
012b3a21
WT
15162016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1517
1518 * gdb.arch/i386-mpx-sigsegv.c: New file.
1519 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1520 * gdb.arch/i386-mpx-simple_segv.c: New file.
1521 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1522
2d5189bd
YQ
15232016-02-18 Yao Qi <yao.qi@linaro.org>
1524
1525 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1526 Don't call setup_kfail.
1527
40fb20d0
YQ
15282016-02-18 Yao Qi <yao.qi@linaro.org>
1529
1530 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1531 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1532
21b1f8d2
DE
15332016-02-16 Doug Evans <dje@google.com>
1534
1535 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1536 * gdb.base/skip1.c: Ditto.
1537 * gdb.base/skip.exp: Whitespace cleanup.
1538
4041ed77
DB
15392016-02-16 Don Breazeal <donb@codesourcery.com>
1540
1541 PR remote/19496
1542 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1543 Remove kfail for PR remote/19496.
1544
c4ef31bf
SM
15452016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1546
1547 * lib/gdb.exp (standard_temp_file): Return a path specific to
1548 the runtest invocation.
1549
266b65b3
SM
15502016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1551
1552 * gdb.trace/save-trace.exp: Change relative path to be in the
1553 standard output directory.
1554
a7a0a6a9
JK
15552016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1556
1557 * gdb.arch/i386-prologue.c: Add missing prototypes.
1558
c99dbb42
JK
15592016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1560
1561 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1562 * gdb.arch/i386-prologue.exp: Likewise.
1563 * gdb.arch/i386-size.exp: Likewise.
1564
aa480355
SM
15652016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1566
1567 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1568 define object file path.
1569 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1570 file path.
1571 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1572 standard_output_file to define binfile.
1573
ba881f50
JK
15742016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1575
1576 Fix compatibility with recent gfortran-5.3.1.
1577 * gdb.fortran/vla-history.exp (print vla1 allocated)
1578 (print vla2 allocated, print $2, print $3): Remove
1579 (print $4): Rename to ...
1580 (print $2): ... here.
1581 (print $9): Rename to ...
1582 (print $5): ... here.
1583 (print $10): Rename to ...
1584 (print $6): ... here.
1585 * gdb.fortran/vla.f90: Add pvla initialization.
1586
e9fb005c
JK
15872016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1588
1589 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1590 New test.
1591 * gdb.fortran/vla-value-sub.exp: Likewise.
1592
e44e00ff
MK
15932016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1594
1595 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1596
97e94151
SM
15972016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1598
1599 * i386-biarch-core.exp: Define corefile using
1600 standard_output_file.
1601
01113bc1
YQ
16022016-02-12 Yao Qi <yao.qi@linaro.org>
1603
1604 * gdb.arch/arm-single-step-kernel-helper.c: New.
1605 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1606
33b4777c
MM
16072016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1608
1609 * gdb.btrace/tailcall-only.exp: New.
1610 * gdb.btrace/tailcall-only.c: New.
1611 * gdb.btrace/x86_64-tailcall-only.S: New.
1612 * gdb.btrace/i686-tailcall-only.S: New.
1613
acc23c11
PA
16142016-02-11 Pedro Alves <palves@redhat.com>
1615
1616 * README (Parallel testing): Add missing double quotes.
1617
e352bf0a
PA
16182016-02-11 Pedro Alves <palves@redhat.com>
1619
1620 * README (Parallel testing): New section.
1621 (GDB_PARALLEL): Rewrite.
1622 (FORCE_PARALLEL): Document.
1623
9f5fed78
MK
16242016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1625
1626 * gdb.trace/tfile-avx.c: New test.
1627 * gdb.trace/tfile-avx.exp: New test.
1628
9ef9e6a6
KS
16292016-02-09 Keith Seitz <keiths@redhat.com>
1630
1631 PR breakpoints/19546
1632 * gdb.base/infcall-exec.c: New file.
1633 * gdb.base/infcall-exec2.c: New file.
1634 * gdb.base/infcall-exec.exp: New file.
1635
a96e36da
KS
16362016-02-09 Keith Seitz <keiths@redhat.com>
1637
1638 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1639 (toplevel): Call test_bkpt_address.
1640
9f61929f
KS
16412016-02-09 Keith Seitz <keiths@redhat.com>
1642
1643 PR python/19506
1644 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1645 (toplevel): Call test_bkpt_address.
1646
1e94266c
SM
16472016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1648
1649 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1650 to AC_OUTPUT.
1651 * configure: Regenerate.
1652
2a7f3dff
PA
16532016-02-09 Pedro Alves <palves@redhat.com>
1654
1655 PR breakpoints/19548
1656 * gdb.base/execl-update-breakpoints.c (some_function): New
1657 function.
1658 (main): Call it.
1659 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1660 Tighten expected GDB output.
1661
2151ccc5
SM
16622016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1663
1664 * Makefile.in (ALL_SUBDIRS): Remove.
1665 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1666 (distclean maintainer-clean realclean): Likewise.
1667 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1668 * configure: Regenerate.
1669 * gdb.ada/Makefile.in: Delete.
1670 * gdb.arch/Makefile.in: Likewise.
1671 * gdb.asm/Makefile.in: Likewise.
1672 * gdb.base/Makefile.in: Likewise.
1673 * gdb.btrace/Makefile.in: Likewise.
1674 * gdb.cell/Makefile.in: Likewise.
1675 * gdb.compile/Makefile.in: Likewise.
1676 * gdb.cp/Makefile.in: Likewise.
1677 * gdb.disasm/Makefile.in: Likewise.
1678 * gdb.dlang/Makefile.in: Likewise.
1679 * gdb.dwarf2/Makefile.in: Likewise.
1680 * gdb.fortran/Makefile.in: Likewise.
1681 * gdb.gdb/Makefile.in: Likewise.
1682 * gdb.go/Makefile.in: Likewise.
1683 * gdb.guile/Makefile.in: Likewise.
1684 * gdb.java/Makefile.in: Likewise.
1685 * gdb.linespec/Makefile.in: Likewise.
1686 * gdb.mi/Makefile.in: Likewise.
1687 * gdb.modula2/Makefile.in: Likewise.
1688 * gdb.multi/Makefile.in: Likewise.
1689 * gdb.objc/Makefile.in: Likewise.
1690 * gdb.opencl/Makefile.in: Likewise.
1691 * gdb.opt/Makefile.in: Likewise.
1692 * gdb.pascal/Makefile.in: Likewise.
1693 * gdb.perf/Makefile.in: Likewise.
1694 * gdb.python/Makefile.in: Likewise.
1695 * gdb.reverse/Makefile.in: Likewise.
1696 * gdb.server/Makefile.in: Likewise.
1697 * gdb.stabs/Makefile.in: Likewise.
1698 * gdb.threads/Makefile.in: Likewise.
1699 * gdb.trace/Makefile.in: Likewise.
1700 * gdb.xml/Makefile.in: Likewise.
1701 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1702 GDB_PARALLEL.
1703 (standard_output_file): Remove check for GDB_PARALLEL, always
1704 return path in outputs/$subdir/$testname.
1705
437277d4
SM
17062016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1707
1708 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1709 (site.exp): Assign abs_srcdir to tcl's srcdir.
1710
31d913c7
YQ
17112016-02-04 Yao Qi <yao.qi@linaro.org>
1712
1713 * gdb.base/foll-exec-mode.c: Include limits.h.
1714 (main): Add parameters argc and argv. Get directory from
1715 argv[0].
1716 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1717 compilation.
1718 * gdb.base/foll-exec.c: Include limits.h.
1719 (main): Add parameters argc and argv.
1720 Get directory from argv[0].
1721 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1722 Adjust tests on the number of lines as source code changed.
1723 * gdb.base/foll-vfork-exit.c: Include limits.h.
1724 (main): Add one line of statement before vfork.
1725 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1726 (main): Add parameters argc and argv. Get directory from
1727 argv[0].
1728 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1729 (setup_gdb): Set tbreak to skip some source lines.
1730 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1731 (main): Add parameters argc and argv. Get directory from
1732 argv[0].
1733 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1734 compilation.
1735 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1736 (main): Add parameters argc and argv. Get directory from
1737 argv[0].
1738 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1739 compilation.
1740
9482b9fb
DE
17412016-02-01 Doug Evans <dje@google.com>
1742
1743 * gdb.base/skip.exp: Clean up multiple references to same test name.
1744
6b2e4f10
PA
17452016-02-01 Pedro Alves <palves@redhat.com>
1746
ccb6afd6 1747 PR remote/19496
6b2e4f10
PA
1748 * gdb.threads/forking-threads-plus-breakpoint.exp
1749 (displaced_stepping_supported): New global.
1750 (probe_displaced_stepping_support): New procedure.
1751 (do_test): Add 'displaced' parameter, and use it.
1752 (top level): Check for displaced stepping support. Add displaced
1753 stepping on/off testing axis.
1754
37a8db1a
AB
17552016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1756
1757 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1758 pointer. Don't perform further tests on the unassociated pointer
1759 if the first test fails.
1760
5fdf6324
AB
17612016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1762
1763 * gdb.base/max-value-size.c: New file.
1764 * gdb.base/max-value-size.exp: New file.
1765 * gdb.base/huge.exp: Disable max-value-size for this test.
1766
935c6144
IB
17672016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1768
1769 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1770
7fe8399d
YQ
17712016-01-28 Yao Qi <yao.qi@linaro.org>
1772
1773 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1774
a2077e25
PA
17752016-01-25 Pedro Alves <palves@redhat.com>
1776
1777 PR threads/19461
1778 * gdb.base/fork-running-state.c: New file.
1779 * gdb.base/fork-running-state.exp: New file.
1780
1d2736d4
PA
17812016-01-25 Pedro Alves <palves@redhat.com>
1782
1783 PR gdb/19494
1784 * gdb.base/catch-fork-kill.c: New file.
1785 * gdb.base/catch-fork-kill.exp: New file.
1786
f1da4b11
PA
17872016-01-25 Pedro Alves <palves@redhat.com>
1788
1789 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1790 Delete, moved to lib/gdb.exp.
1791 * gdb.threads/forking-threads-plus-breakpoint.exp
1792 (foreach_with_prefix): Likewise.
1793 * gdb.threads/process-dies-while-handling-bp.exp
1794 (foreach_with_prefix): Likewise.
1795 * lib/gdb.exp (foreach_with_prefix): New procedure.
1796
45f38546
MK
17972016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1798
1799 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1800 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1801
dc29a1ce
MK
18022016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1803
1804 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1805 endian targets.
1806
092127d7
JK
18072016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1808 Pedro Alves <palves@redhat.com>
1809
1810 Fix testsuite compatibility with Guile.
1811 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1812 number.
1813
31d765d3
JK
18142016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1815
1816 Fix testsuite compatibility with Guile.
1817 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1818 (thread 1): New test for backtrace through signal handler.
1819
1ac78c04
YQ
18202016-01-22 Yao Qi <yao.qi@linaro.org>
1821
1822 PR testsuite/19491
1823 * gdb.base/multi-forks.c: Include
1824 ../lib/unbuffer_output.c
1825 (main): Call gdb_unbuffer_output.
1826
4f5946a8
DE
18272016-01-21 Doug Evans <dje@google.com>
1828
1829 * lib/ada.exp (gdb_compile_ada): Fix typo.
1830
305e13e6
JB
18312016-01-21 Joel Brobecker <brobecker@adacore.com>
1832
1833 * gdb.base/break-fun-addr.exp: New file.
1834 * gdb.base/break-fun-addr1.c: New file.
1835 * gdb.base/break-fun-addr2.c: New file.
1836
5f5dfff6
SM
18372016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1838
1839 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1840 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1841 enum flag values.
1842
fd356fa2
AA
18432016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1844
1845 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1846 when GDB can not set the vector return value. Add more comments
1847 for clarification.
1848
9df22175
AT
18492016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1850
1851 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1852 command.
1853
41d1845e
SM
18542016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1855
1856 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1857
01ac6840
SM
18582016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1859
1860 * Makefile.in (check-single): Pass --status to runtest.
1861 (check/%.exp): Likewise.
1862
18632016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1864
1865 * Makefile.in (check-parallel): Propagate return code from make
1866 do-check-parallel.
1867
bd0a71fa
MK
18682016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1869
1870 * gdb.trace/ftrace.exp: Fix expected message on continue.
1871 * gdb.trace/pending.exp: Fix expected message on continue.
1872 * gdb.trace/trace-break.exp: Fix expected message on continue.
1873
8bcbad33
SM
18742016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1875
1876 * lib/gdb.exp (gdb_test): Remove unused global references.
1877
f303dbd6
PA
18782016-01-18 Pedro Alves <palves@redhat.com>
1879
1880 * gdb.base/async-shell.exp: Adjust expected output.
1881 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1882 * gdb.base/siginfo-thread.exp: Adjust expected output.
1883 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1884 * gdb.java/jnpe.exp: Adjust expected output.
1885 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1886 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1887 * gdb.threads/leader-exit.exp: Adjust expected output.
1888 * gdb.threads/manythreads.exp: Adjust expected output.
1889 * gdb.threads/pthreads.exp: Adjust expected output.
1890 * gdb.threads/schedlock.exp: Adjust expected output.
1891 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1892 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1893 expected output.
1894 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1895 output.
1896 * gdb.threads/sigthread.exp: Adjust expected output.
1897 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1898
b2789696
YQ
18992016-01-18 Yao Qi <yao.qi@linaro.org>
1900
1901 * gdb.guile/scm-section-script.c: Replace @progbits with
1902 %progbits.
1903 * gdb.python/py-section-script.c: Likewise.
1904
71ef29a8
PA
19052016-01-15 Pedro Alves <palves@redhat.com>
1906
1907 * gdb.multi/tids.exp: Test star wildcard ranges.
1908
3f5b7598
PA
19092016-01-15 Pedro Alves <palves@redhat.com>
1910
1911 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1912 command from "thread apply" invocation.
1913 (thr_apply_info_thr_invalid): Default the expected output to the
1914 input tid list.
1915 (top level): Add tests that use convenience variables. Add tests
1916 for "thread apply" with a valid TID list, but missing the command.
1917
663f6d42
PA
19182016-01-13 Pedro Alves <palves@redhat.com>
1919
1920 * gdb.base/default.exp: Expect $_gthread as well.
1921 * gdb.multi/tids.exp: Test $_gthread.
1922 * gdb.threads/thread-specific.exp: Test $_gthread.
1923
c84f6bbf
PA
19242016-01-13 Pedro Alves <palves@redhat.com>
1925
1926 * gdb.multi/tids.exp: Test "info threads -gid".
1927
22a02324
PA
19282016-01-13 Pedro Alves <palves@redhat.com>
1929
1930 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1931 Breakpoint.thread.
1932 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1933
5d5658a1
PA
19342016-01-07 Pedro Alves <palves@redhat.com>
1935
1936 * gdb.base/break.exp: Adjust to output changes.
1937 * gdb.base/hbreak2.exp: Likewise.
1938 * gdb.base/sepdebug.exp: Likewise.
1939 * gdb.base/watch_thread_num.exp: Likewise.
1940 * gdb.linespec/keywords.exp: Likewise.
1941 * gdb.multi/info-threads.exp: Likewise.
1942 * gdb.threads/thread-find.exp: Likewise.
1943 * gdb.multi/tids.c: New file.
1944 * gdb.multi/tids.exp: New file.
1945
84654457
PA
19462016-01-13 Pedro Alves <palves@redhat.com>
1947
1948 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1949
e3940304
PA
19502016-01-13 Pedro Alves <palves@redhat.com>
1951
1952 * gdb.base/default.exp: Expect $_inferior as well.
1953 * gdb.multi/base.exp: Test $_inferior.
1954
a911d87a
PA
19552016-01-13 Pedro Alves <palves@redhat.com>
1956
1957 PR breakpoints/19388
1958 * gdb.base/catch-signal-siginfo-cond.c: New file.
1959 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1960
82075af2
JS
19612016-01-12 Josh Stone <jistone@redhat.com>
1962 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1963
1964 * gdb.base/catch-syscall.c (do_execve): New variable.
1965 (main): Conditionally trigger an execve.
1966 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1967 (test_catch_syscall_execve): New, check entry/return across execve.
1968 (do_syscall_tests): Call test_catch_syscall_execve.
1969
e46eeedd
PA
19702016-01-12 Pedro Alves <palves@redhat.com>
1971
1972 * gdb.base/random-signal.exp (do_test): New procedure, with body
1973 of testcase moved in.
1974
01d8c27e
JK
19752016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1976 Pedro Alves <palves@redhat.com>
1977
1978 * gdb.base/funcargs.exp (finish from indirectly called function):
1979 Reintroduce the case for 'First'.
1980
9a706302
JK
19812016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1982 Pedro Alves <palves@redhat.com>
1983
1984 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1985 (tcatch_vfork_then_child_follow_exec)
1986 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1987 identification.
1988
c0ecb95f
JK
19892016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1990
1991 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1992 and repeats to unlimited.
1993 * gdb.python/py-value.exp: Likewise.
1994 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1995 and repeats to unlimited.
1996
6cfc1fcb
JK
19972016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1998
1999 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
2000 and reordering the functions.
2001 * gdb.multi/hangout.c: Likewise.
2002 * gdb.multi/hello.c: Likewise.
2003
582a1b00
SM
20042016-01-08 Simon Marchi <simon.marchi@ericsson.com>
2005
2006 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
2007 absolute.
2008 (SingleStatisticTestResult.report): Use dict.keys instead of
2009 dict.iterkeys.
2010
79bc59cb
PA
20112016-01-06 Pedro Alves <palves@redhat.com>
2012
2013 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
2014
43368e1d
MM
20152016-01-04 Markus Metzger <markus.t.metzger@intel.com>
2016
2017 * gdb.btrace/dlopen.exp: New.
2018 * gdb.btrace/dlopen.c: New.
2019 * gdb.btrace/dlopen-dso.c: New.
2020
79fad5b8
SL
20212015-12-25 Sandra Loosemore <sandra@codesourcery.com>
2022
2023 * lib/gdb.exp (gdb_test): Update comments to clarify that the
2024 PATTERN argument is optional.
2025
ab8314b3
JB
20262015-12-24 Joel Brobecker <brobecker@adacore.com>
2027
2028 * lib/ada.exp (target_compile_ada_from_dir): New function.
2029 (gdb_compile_ada): Reimplement avoiding the use of project files.
2030 * gdb.ada/gnat_ada.gpr: Delete.
2031 * gdb.ada/cond_lang.exp: Adjust test to make path before
2032 filename optional.
2033 * gdb.ada/small_reg_param.exp: Likewise.
2034
fe33faff
SM
20352015-12-22 Simon Marchi <simon.marchi@ericsson.com>
2036
2037 * gdb.base/foll-vork.exp: Remove HP-UX special case.
2038
6d265cb4
TP
20392015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
2040
2041 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
2042 case.
2043
10125099
SM
20442015-12-21 Simon Marchi <simon.marchi@ericsson.com>
2045
2046 * gdb.base/break.exp: Remove dead code.
2047 * gdb.base/sepdebug.exp: Likewise.
2048
3ca22649
SM
20492015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2050
2051 * gdb.asm/asm-source.exp: Remove HP-UX references.
2052 * gdb.base/annota1.exp: Likewise.
2053 * gdb.base/annota3.exp: Likewise.
2054 * gdb.base/attach.exp: Likewise.
2055 * gdb.base/bigcore.exp: Likewise.
2056 * gdb.base/break.exp: Likewise.
2057 * gdb.base/call-ar-st.exp: Likewise.
2058 * gdb.base/callfuncs.exp: Likewise.
2059 * gdb.base/catch-fork-static.exp: Likewise.
2060 * gdb.base/display.exp: Likewise.
2061 * gdb.base/foll-exec-mode.exp: Likewise.
2062 * gdb.base/foll-exec.exp: Likewise.
2063 * gdb.base/foll-fork.exp: Likewise.
2064 * gdb.base/foll-vfork.exp: Likewise.
2065 * gdb.base/funcargs.exp: Likewise.
2066 * gdb.base/hbreak2.exp: Likewise.
2067 * gdb.base/inferior-died.exp: Likewise.
2068 * gdb.base/interrupt.exp: Likewise.
2069 * gdb.base/multi-forks.exp: Likewise.
2070 * gdb.base/nodebug.exp: Likewise.
2071 * gdb.base/sepdebug.exp: Likewise.
2072 * gdb.base/solib1.c: Likewise.
2073 * gdb.base/step-test.exp: Likewise.
2074 * gdb.mi/non-stop.c: Likewise.
2075 * gdb.mi/pthreads.c: Likewise.
2076 * gdb.multi/bkpt-multi-exec.ex: Likewise.
2077 * gdb.threads/pthreads.c: Likewise.
2078 * gdb.threads/staticthreads.exp: Likewise.
2079 * lib/future.exp: Likewise.
2080 * lib/gdb.exp: Likewise.
2081 * gdb.base/so-indr-cl.c: Remove.
2082 * gdb.base/so-indr-cl.exp: Likewise.
2083 * gdb.base/solib.c: Likewise.
2084 * gdb.base/solib.exp: Likewise.
2085 * gdb.base/solib2.c: Likewise.
2086
b6304613
SM
20872015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2088
2089 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
2090 * gdb.base/call-ar-st.exp: Likewise.
2091 * gdb.base/callfuncs.exp: Likewise.
2092 * gdb.base/condbreak.exp: Likewise.
2093 * gdb.base/constvars.exp: Likewise.
2094 * gdb.base/hbreak2.exp: Likewise.
2095 * gdb.base/langs.exp: Likewise.
2096 * gdb.base/list.exp: Likewise.
2097 * gdb.base/long_long.exp: Likewise.
2098 * gdb.base/ptype.exp: Likewise.
2099 * gdb.base/scope.exp: Likewise.
2100 * gdb.base/signals.exp: Likewise.
2101 * gdb.base/so-impl-ld.exp: Likewise.
2102 * gdb.base/varargs.exp: Likewise.
2103 * gdb.base/volatile.exp: Likewise.
2104 * gdb.base/whatis.exp: Likewise.
2105 * gdb.cp/cplusfuncs.exp: Likewise.
2106 * gdb.cp/inherit.exp: Likewise.
2107 * gdb.cp/local.exp: Likewise.
2108 * gdb.cp/member-ptr.exp: Likewise.
2109 * gdb.cp/method.exp: Likewise.
2110 * gdb.cp/overload.exp: Likewise.
2111 * gdb.cp/templates.exp: Likewise.
2112 * gdb.stabs/weird.exp: Likewise.
2113 * lib/compiler.c: Likewise.
2114 * lib/compiler.cc: Likewise.
2115 * lib/cp-support.exp: Likewise.
2116 * lib/gdb.exp: Likewise.
2117
bf401b07
SM
21182015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
2119
2120 * configure.ac: Remove HP-UX case.
2121 * configure: Regenerate.
2122
aff9c0f8
SM
21232015-12-18 Simon Marchi <simon.marchi@ericsson.com>
2124
2125 * lib/gdb.exp (gdb_compile): Add function doc.
2126
a6904d5a
PA
21272015-12-17 Pedro Alves <palves@redhat.com>
2128
2129 PR threads/19354
2130 * gdb.multi/info-threads.exp: New file.
2131
a22279dd
YQ
21322015-12-15 Yao Qi <yao.qi@linaro.org>
2133
2134 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
2135 is aarch64*-*-*.
2136
0588c796
SL
21372015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2138
2139 * gdb.base/history-duplicates.exp: Skip if no readline support.
2140
5d978e17
SL
21412015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2142
2143 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
2144
7e763b86
SL
21452015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2146
2147 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
2148
87a3a92c
SL
21492015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2150
2151 * gdb.base/completion.exp: Skip tests that interrupt GDB with
2152 ctrl-C if nointerrupts target property is set.
2153 * gdb.base/double-prompt-target-event-error.exp: Likewise.
2154 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
2155 * gdb.base/paginate-bg-execution.exp: Likewise.
2156 * gdb.base/paginate-execution-startup.exp: Likewise.
2157 * gdb.base/random-signal.exp: Likewise.
2158 * gdb.base/range-stepping.exp: Likewise.
2159 * gdb.cp/annota2.exp: Likewise.
2160 * gdb.cp/annota3.exp: Likewise.
2161 * gdb.gdb/selftest.exp: Likewise.
2162 * gdb.threads/continue-pending-status.exp: Likewise.
2163 * gdb.threads/leader-exit.exp: Likewise.
2164 * gdb.threads/manythreads.exp: Likewise.
2165 * gdb.threads/pthreads.exp: Likewise.
2166 * gdb.threads/schedlock.exp: Likewise.
2167 * gdb.threads/sigthread.exp: Likewise.
2168
a8f077dc
DB
21692015-12-11 Don Breazeal <donb@codesourcery.com>
2170
2171 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
2172 remote.
2173 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
2174 * gdb.base/foll-exec.exp (main): Enable for target remote.
2175 * gdb.base/foll-fork.exp (main): Likewise.
2176 * gdb.base/foll-vfork.exp (main): Likewise.
2177 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
2178 (proc continue_to_exit_bp_loc): Use clean_restart.
2179 * gdb.base/pie-execl.exp (main): Disable for target remote.
2180 * gdb.base/watch-vfork.exp (main): Enable for target remote.
2181 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
2182 * gdb.threads/execl.exp (main): Likewise.
2183 * gdb.threads/fork-child-threads.exp (main): Likewise.
2184 * gdb.threads/fork-plus-threads.exp (main): Disable for target
2185 remote.
2186 * gdb.threads/fork-thread-pending.exp (main): Enable for target
2187 remote.
2188 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
2189 pid.tid style ptids, instead of just tid.
2190 * gdb.threads/thread-execl.exp (main): Enable for target remote.
2191 * gdb.threads/watchpoint-fork.exp (main): Likewise.
2192 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
2193 ptids, instead of just tid.
2194
3b2464a8
AB
21952015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2196
2197 * gdb.base/list.exp (test_list_forward): Add end of file error
2198 test.
2199 (test_repeat_list_command): Add end of file error test.
2200 (test_list_backwards): Add beginning of file error test.
2201
a0def019
AB
22022015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2203
2204 * gdb.base/list.exp (test_list_invalid_args): New function,
2205 defined, and called.
2206
5c000dff
AB
22072015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2208
2209 * gdb.base/list.exp (test_list): Make test names unique.
2210
f1637ebe
YQ
22112015-12-11 Yao Qi <yao.qi@linaro.org>
2212
2213 * gdb.base/coremaker2.c: Remove.
2214
36d6fc0a
PA
22152015-12-10 Pedro Alves <palves@redhat.com>
2216
2217 * gdb.multi/base.exp: Remove stale "spaces" references.
2218
762f7747
PA
22192015-12-10 Pedro Alves <palves@redhat.com>
2220
2221 * gdb.multi/base.exp: Don't use nowarnings.
2222 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
2223 * gdb.multi/hangout.c: Include stdio.h.
2224 * gdb.multi/hello.c: Include stdlib.h.
2225 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
2226 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
2227 * gdb.multi/multi-arch.exp: Don't use nowarnings.
2228
28d2bfb9
AB
22292015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
2230
2231 * gdb.dwarf2/dw2-ranges-base.c: New file.
2232 * gdb.dwarf2/dw2-ranges-base.exp: New file.
2233 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
2234 support additional line table, and debug ranges generation.
2235 (Dwarf::ranges): New function, generate .debug_ranges.
2236 (Dwarf::lines): Support generating simple line table programs.
2237 (Dwarf::assemble): Initialise new namespace variables.
2238
5fc2beac
KB
22392015-12-09 Kevin Buettner <kevinb@redhat.com>
2240
2241 * gdb.base/async.exp (proc test_background): Add case for
2242 asynchronous execution not supported.
2243
1c35a88f
LM
22442015-12-09 Luis Machado <lgustavo@codesourcery.com>
2245
2246 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
2247 format and change test names to make them unique.
2248
b593e3d9
RK
22492015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
2250 Pedro Alves <pedro@redhat.com>
2251
2252 PR gdb/18702
2253 Add checking of floatformats setup on x86_64 hosts.
2254 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2255 (smallval, bigval): New labels/constants.
2256 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2257 float" after loading bigval and smallval.
2258
d72413e6
PMR
22592015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2260
2261 * gdb.ada/fun_overload_menu.exp: New testcase.
2262 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2263
ece66d65
JS
22642015-12-04 Josh Stone <jistone@redhat.com>
2265
2266 * gdb.base/catch-fork-static.exp: New.
2267
41d0efca
YQ
22682015-12-03 Yao Qi <yao.qi@linaro.org>
2269
2270 * gdb.base/sizeof.c: Don't include stdio.h and
2271 ../lib/unbuffer_output.c.
2272 (main): New variable 'size' and 'value'. Remove printf and
2273 gdb_unbuffer_output. Assign return value to size and value.
2274 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2275 at the beginning.
2276 (check_sizeof): Check the result by printing variable 'size'.
2277 (check_valueof): Check the result by printing variable 'value'.
2278
99fd02d9
YQ
22792015-12-01 Yao Qi <yao.qi@linaro.org>
2280
2281 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2282 for aarch64*-*-linux* target.
2283
f2faf941
PA
22842015-11-30 Pedro Alves <palves@redhat.com>
2285
2286 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2287
04bf20c5
PA
22882015-11-30 Pedro Alves <palves@redhat.com>
2289
2290 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2291 Handle non-stop mode vCont replies.
2292
09df4675
PA
22932015-11-30 Pedro Alves <palves@redhat.com>
2294
2295 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2296 prepare_for_testing. Start gdb with "set non-stop on" appended to
2297 GDBFLAGS. Lax expected stop output.
2298
58b584af
YQ
22992015-11-27 Yao Qi <yao.qi@linaro.org>
2300
2301 * gdb.arch/arm-neon.exp: New.
2302 * gdb.arch/arm-neon.c: New.
2303
dfcb77a8
YQ
23042015-11-27 Yao Qi <yao.qi@linaro.org>
2305
2306 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2307
88e8ec1b
YQ
23082015-11-27 Yao Qi <yao.qi@linaro.org>
2309
2310 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2311 frames-invalid annotation.
2312
bfde72c2
YQ
23132015-11-27 Yao Qi <yao.qi@linaro.org>
2314
2315 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2316
f6512a69
SM
23172015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2318
2319 * gdb.threads/names.exp: New file.
2320 * gdb.threads/names.c: New file.
2321 * README: Mention gdb,no_thread_names.
2322
46a3515b
MM
23232015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2324
2325 PR 19297
2326 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2327 support" error.
2328
62147a22
PA
23292015-11-24 Pedro Alves <palves@redhat.com>
2330
2331 PR 17539
2332 * gdb.base/display.exp: Expect displays to be sorted in ascending
2333 order. Use multi_line.
2334 * gdb.base/solib-display.exp: Likewise.
2335
2f341b6e
PA
23362015-11-24 Pedro Alves <palves@redhat.com>
2337
2338 PR 17539
25d49b86
PA
2339 * gdb.base/display.exp: Expect displays to be sorted in ascending
2340 order. Use multi_line.
2341 * gdb.base/solib-display.exp: Likewise.
2f341b6e 2342
7e0aa6aa
PA
23432015-11-24 Pedro Alves <palves@redhat.com>
2344
2345 PR 17539
2346 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2347 threads in ascending order.
2348 * gdb.base/foll-fork.exp: Likewise.
2349 * gdb.base/foll-vfork.exp: Likewise.
2350 * gdb.base/multi-forks.exp: Likewise.
2351 * gdb.mi/mi-nonstop.exp: Likewise.
2352 * gdb.mi/mi-nsintrall.exp: Likewise.
2353 * gdb.multi/base.exp: Likewise.
2354 * gdb.multi/multi-arch.exp: Likewise.
2355 * gdb.python/py-inferior.exp: Likewise.
2356 * gdb.threads/break-while-running.exp: Likewise.
2357 * gdb.threads/execl.exp: Likewise.
2358 * gdb.threads/gcore-thread.exp: Likewise.
2359 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2360 * gdb.threads/kill.exp: Likewise.
2361 * gdb.threads/linux-dp.exp: Likewise.
2362 * gdb.threads/multiple-step-overs.exp: Likewise.
2363 * gdb.threads/next-bp-other-thread.exp: Likewise.
2364 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2365 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2366 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2367 * gdb.threads/thread-find.exp: Likewise.
2368 * gdb.threads/tls.exp: Likewise.
2369 * lib/mi-support.exp (mi_reverse_list): Delete.
2370 (mi_check_thread_states): No longer reverse list.
2371
2cc57ad8
PA
23722015-11-24 Pedro Alves <palves@redhat.com>
2373
2374 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2375 use lowercase.
2376
c93e8391
SM
23772015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2378
2379 * gdb.trace/actions.c: Include trace-common.h.
2380 (main): Add a location for a fast tracepoint.
2381 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2382 the normal tracepoints.
2383 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2384
045ccf91
SM
23852015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2386
2387 * save-trace.exp: Factor out code to these...
2388 (gdb_save_tracepoints): New.
2389 (gdb_load_tracepoints): New.
2390 (do_save_load_test): New.
2391
5506f9f6
KB
23922015-11-23 Kevin Buettner <kevinb@redhat.com>
2393
2394 * gdb.base/asmlabel.exp: New test.
2395 * gdb.base/asmlabel.c: New test case.
2396
16c3b12f
JB
23972015-11-23 Joel Brobecker <brobecker@adacore.com>
2398
2399 * gdb.base/wrong_frame_bt_full-main.c: New file.
2400 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2401 * gdb.base/wrong_frame_bt_full.exp: New file.
2402
155bfbd3
JB
24032015-11-23 Joel Brobecker <brobecker@adacore.com>
2404
2405 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2406
bb097445
JM
24072015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2408
206853a0 2409 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
2410 pstate register when comparing registers values in
2411 sparc64-*-linux-gnu targets to avoid spurious differences.
2412
9c88ed8f
JM
24132015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2414
206853a0 2415 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 2416
96161e25
SL
24172015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2418
2419 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2420 as type argument to gdb_compile.
2421 * gdb.base/nested-subp2.exp: Likewise.
2422 * gdb.base/nested-subp3.exp: Likewise.
2423
340c2830
DV
24242015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2425
2426 * lib/dwarf.exp (_note): Fix left shift of negative value.
2427 * gdb.trace/trace-condition.exp: Likewise.
2428
c1862d0f
YQ
24292015-11-13 Yao Qi <yao.qi@linaro.org>
2430
2431 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2432 comments about d10v.
2433 (test_scalar_returns): Likewise.
2434 * gdb.base/d10v.ld: Remove.
2435 * gdb.base/overlays.exp: Remove the target triplet checking for
2436 d10v-*-*.
2437 * gdb.base/structs.exp (test_struct_returns): Remove the
2438 comments about d10v.
2439 (test_struct_calls): Likewise.
2440
77ae9c19
YQ
24412015-11-13 Yao Qi <yao.qi@linaro.org>
2442
2443 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2444 * gdb.base/gnu_vector.c: Don't include stdio.h.
2445 (main): Don't print res and call add_some_intvecs.
2446
430e004e
MK
24472015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2448
2449 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2450 macro.
2451 (func5): Removed.
2452 (func4): Use FAST_TRACEPOINT_LABEL.
2453 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2454 macro.
2455 (func): Removed.
2456 (thread_function): Use FAST_TRACEPOINT_LABEL.
2457 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2458 (func): Remove.
2459 (marker): Use FAST_TRACEPOINT_LABEL.
2460 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2461 (pendfunc1): Remove.
2462 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2463 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2464 (foo): Remove.
2465 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2466 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2467 macro.
2468 (func): Remove.
2469 (marker): Use FAST_TRACEPOINT_LABEL.
2470 * gdb.trace/trace-common.h: New header.
2471 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2472 macro.
2473 (func): Remove.
2474 (marker): Use FAST_TRACEPOINT_LABEL.
2475 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2476 (func): Remove.
2477 (thread_function): Use FAST_TRACEPOINT_LABEL.
2478
6e7675a7
MK
24792015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2480
2481 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2482 in front.
2483 * gdb.trace/change-loc.exp: Use global pcreg definition.
2484 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2485 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2486 in front.
2487 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2488 * gdb.trace/pending.exp: Likewise.
2489 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2490 * gdb.trace/trace-break.exp: Likewise.
2491 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2492 in front.
2493 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2494 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2495 in front.
2496 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2497
dddc0e16
JB
24982015-11-09 Joel Brobecker <brobecker@adacore.com>
2499
2500 * gdb.ada/fin_fun_out: New testcase.
2501
c6f0b406
KB
25022015-11-07 Kevin Buettner <kevinb@redhat.com>
2503
2504 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2505 value associated with DW_AT_byte_size.
2506 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2507 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2508 DW_AT_upper_bound.
2509
f01dcfd9
KB
25102015-11-07 Kevin Buettner <kevinb@redhat.com>
2511
2512 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2513 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2514 version.
2515 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2516 gdb.dwarf2/dw2-canonicalize-type.exp,
2517 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2518 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2519 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2520 provided by gdb_target_symbol_prefix_flags_asm.
2521 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2522 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2523 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2524 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2525 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2526 macros where needed). Use this macro for symbols which require
2527 the prefix provided by SYMBOL_PREFIX.
2528
2223449a
KB
25292015-11-05 Kevin Buettner <kevinb@redhat.com>
2530
2531 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2532 New procs.
2533 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2534 representing expressions, of more than one list element.
2535 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2536 to prepend linker symbol prefix to f.
2537 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2538 table_1 and table_2.
2539 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2540 Likewise, for f and g.
2541 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2542 for ptr.
2543 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2544 for main.
2545 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2546 table_1_ptr and table_2_ptr.
2547
6f2f1a3a
JK
25482015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2549 Joel Brobecker <brobecker@adacore.com>
2550
2551 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2552
566c56c9
MK
25532015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2554
2555 * gdb.reverse/s390-mvcle.c: New test.
2556 * gdb.reverse/s390-mvcle.exp: New file.
2557 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2558
d5f0636b
MK
25592015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2560
2561 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2562
7ad8b86c
MK
25632015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2564
2565 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2566 reaching marker2.
2567 * gdb.reverse/getresuid-reverse.exp: Likewise.
2568 * gdb.reverse/pipe-reverse.exp: Likewise.
2569 * gdb.reverse/readv-reverse.exp: Likewise.
2570 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2571 * gdb.reverse/time-reverse.exp: Likewise.
2572 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2573
4081c0f1
YQ
25742015-10-30 Yao Qi <yao.qi@linaro.org>
2575
2576 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2577 (empty_cycle): Remove.
2578 (main): Don't call empty_cycle. Don't use watch_count_done.
2579 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2580 empty_cycle. Rewrite the code counting HW watchpoints.
2581
452b4ba5
MK
25822015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2583
2584 * gdb.reverse/fstatat-reverse.c: New test.
2585 * gdb.reverse/fstatat-reverse.exp: New file.
2586 * gdb.reverse/getresuid-reverse.c: New test.
2587 * gdb.reverse/getresuid-reverse.exp: New file.
2588 * gdb.reverse/pipe-reverse.c: New test.
2589 * gdb.reverse/pipe-reverse.exp: New file.
2590 * gdb.reverse/readv-reverse.c: New test.
2591 * gdb.reverse/readv-reverse.exp: New file.
2592 * gdb.reverse/recvmsg-reverse.c: New test.
2593 * gdb.reverse/recvmsg-reverse.exp: New file.
2594 * gdb.reverse/time-reverse.c: New test.
2595 * gdb.reverse/time-reverse.exp: New file.
2596 * gdb.reverse/waitpid-reverse.c: New test.
2597 * gdb.reverse/waitpid-reverse.exp: New file.
2598
5e2e7507
JK
25992015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2600
2601 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2602
0fde2c53
DE
26032015-10-26 Doug Evans <dje@google.com>
2604
2605 PR symtab/17391
2606 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2607 * gdb.dwarf2/bad-regnum.c: New file.
2608 * gdb.dwarf2/bad-regnum.exp: New file.
2609
1a70ae97
DE
26102015-10-26 Doug Evans <dje@google.com>
2611
2612 PR python/18938
2613 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2614 file.
2615
27dc26ab
JK
26162015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2617
2618 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2619 for a change by "Mention language in compile error message".
2620
bed91f4d
SM
26212015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2622
2623 PR python/18073
2624 * gdb.python/py-type.c (C::a_method): New.
2625 (C::a_const_method): New.
2626 (C::a_static_method): New.
2627 (a_function): New.
2628 * gdb.python/py-type.exp (test_fields): Test getting fields
2629 from function and method.
2630
3f2f83dd
KB
26312015-10-21 Keven Boell <keven.boell@intel.com>
2632
2633 * gdb.fortran/vla-alloc-assoc.exp: New file.
2634 * gdb.fortran/vla-datatypes.exp: New file.
2635 * gdb.fortran/vla-datatypes.f90: New file.
2636 * gdb.fortran/vla-history.exp: New file.
2637 * gdb.fortran/vla-ptype-sub.exp: New file.
2638 * gdb.fortran/vla-ptype.exp: New file.
2639 * gdb.fortran/vla-sizeof.exp: New file.
2640 * gdb.fortran/vla-sub.f90: New file.
2641 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2642 * gdb.fortran/vla-value-sub-finish.exp: New file.
2643 * gdb.fortran/vla-value-sub.exp: New file.
2644 * gdb.fortran/vla-value.exp: New file.
2645 * gdb.fortran/vla-ptr-info.exp: New file.
2646 * gdb.mi/mi-vla-fortran.exp: New file.
2647 * gdb.mi/vla.f90: New file.
2648
27145d50
SL
26492015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2650
2651 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2652 of hardwired timeout value.
2653
5f3ff4f8
JK
26542015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2655 Pedro Alves <palves@redhat.com>
2656
2657 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2658 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2659
bfd09d20
JS
26602015-10-19 Josh Stone <jistone@redhat.com>
2661
2662 * gdb.base/catch-syscall.c: Include <sched.h>.
2663 (unknown_syscall): New variable.
2664 (main): Trigger a vfork and an unknown syscall.
2665 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2666 (unknown_syscall_number): Likewise.
2667 (check_call_to_syscall): Accept an optional syscall pattern.
2668 (check_return_from_syscall): Likewise.
2669 (check_continue): Likewise.
2670 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2671 (test_catch_syscall_skipping_return): New test toggling off 'catch
2672 syscall' to step over the syscall return, then toggling back on.
2673 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2674 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2675 (do_syscall_tests): Call test_catch_syscall_without_args and
2676 test_catch_syscall_mid_vfork.
2677 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2678 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2679
b32b93c6
AS
26802015-10-19 Andrew Stubbs <ams@codesourcery.com>
2681
2682 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2683 print g_vE): Add new pass patterns.
2684 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2685 print various symbol names for vptr fields.
2686
9d622bda
AB
26872015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2688
2689 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2690 results.
2691
0fd8ac1c
YQ
26922015-10-12 Yao Qi <yao.qi@linaro.org>
2693
2694 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2695
34240514
YQ
26962015-10-12 Yao Qi <yao.qi@linaro.org>
2697
2698 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2699 is aarch64*-*-linux*.
2700
8240f442
YQ
27012015-10-12 Yao Qi <yao.qi@linaro.org>
2702
2703 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2704 (can_relocate_bcond_true): ... it.
2705 (can_relocate_bcond_false): New function.
2706 (foo): Likewise.
2707 (can_relocate_bl): Likewise.
2708 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2709 can_relocate_bl.
2710
2520f728
PMR
27112015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2712
2713 * gdb.base/nested-addr.c: New file.
2714 * gdb.base/nested-addr.exp: New testcase.
2715
abcef95a
MM
27162015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2717
2718 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2719 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2720 its output. Ignore the output of "record goto begin" and instead
2721 check that GDB is replaying.
2722
145e3ddb
PA
27232015-10-09 Pedro Alves <palves@redhat.com>
2724
2725 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2726 (top level): Use it in the run with no args test.
2727
d5d8c4e1
IB
27282015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2729
2730 * gdb.dlang/properties.exp: New file.
2731
06e635ef
SL
27322015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2733
2734 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2735 whether or not address 0x1000 is mapped on the target.
2736
e019fd1d
SM
27372015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2738
2739 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2740 build.
2741
77ba2a67
MM
27422015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2743
2744 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2745 instruction-history test.
2746
c60eb31f
DE
27472015-09-28 Doug Evans <dje@google.com>
2748
2749 * gdb.base/gcore.c (array_func): Add reference to static_array.
2750
9a3c8263
SM
27512015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2752
2753 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2754 source line.
2755
9720e656
SL
27562015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2757
2758 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2759 short or char as base type.
2760
938d3bf2
SL
27612015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2762
2763 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2764 to allow any size enum.
2765
e6c2c623
PMR
27662015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2767
2768 * gdb.ada/array_ptr_renaming.exp: New testcase.
2769 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2770 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2771
06da0f77
PL
27722015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2773
2774 * gdb.trace/ftrace-lock.c: New file.
2775 * gdb.trace/ftrace-lock.exp: New file.
2776
4f51c22a
PL
27772015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2778
2779 * gdb.arch/insn-reloc.c: New file.
2780 * gdb.arch/ftrace-insn-reloc.exp: New file.
2781
7041adf4
PL
27822015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2783
2784 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2785 instruction.
2786 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2787 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2788 * gdb.trace/range-stepping.c: Likewise.
2789 * gdb.trace/trace-break.c: Likewise.
2790 * gdb.trace/trace-mt.c (thread_function): Likewise.
2791 * gdb.trace/ftrace.c (marker): Likewise.
2792 * gdb.trace/trace-condition.c (marker): Likewise.
2793 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2794 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2795 is_aarch64_target.
2796
015d2e7e
DE
27972015-09-18 Doug Evans <xdje42@gmail.com>
2798
2799 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2800 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2801
26b188a2
SL
28022015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2803
2804 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2805 the breakpoint.
2806
79dc332b
SL
28072015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2808
2809 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2810 the pending breakpoint. Remove timeout override for "Run till
2811 MI pending breakpoint on pendfunc3 on thread 2" test.
2812
f57929f2
SL
28132015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2814
2815 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2816 filename pattern.
2817
3f469b17
SL
28182015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2819
2820 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2821 in breakpoint filename pattern.
2822
515b89b3
SL
28232015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2824
7800dbe4
SL
2825 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2826
28272015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2828
515b89b3
SL
2829 * gdb.linespec/explicit.exp: Check for readline support for
2830 tab-completion tests. Fix obvious typo.
2831
d2939ba2
MM
28322015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2833
2834 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2835 and replay.
2836
cbb55fa7
MM
28372015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2838
2839 * gdb.btrace/non-stop.c: New.
2840 * gdb.btrace/non-stop.exp: New.
2841
43691ca1
PL
28422015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2843 Yao Qi <yao.qi@linaro.org>
2844
2845 * gdb.trace/trace-condition.c: New file.
2846 * gdb.trace/trace-condition.exp: New file.
2847
d78908cf
WW
28482015-09-16 Wei-cheng Wang <cole945@gmail.com>
2849
2850 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2851 for testing bytecode compilation.
2852
1ed415e2
PA
28532015-09-16 Pedro Alves <palves@redhat.com>
2854 Sandra Loosemore <sandra@codesourcery.com>
2855
2856 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2857 (SECONDS): Redefine.
2858 (main): Call pthread_kill and alarm early.
2859 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2860 support.
2861 (test): If the target can't hardware step and doesn't support
2862 displaced stepping, increase the timeout.
2863
d136eff5
PA
28642015-09-16 Pedro Alves <palves@redhat.com>
2865
2866 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2867 (enable_debug): New procedures.
2868 (test): Use them. Bail out if waiting for threads fails.
2869 (top level): Bail out if a test fails.
2870
991f019c
YQ
28712015-09-16 Yao Qi <yao.qi@linaro.org>
2872
2873 * gdb.asm/asm-source.exp: Set asm-arch for
2874 aarch64*-*-* target.
2875 * gdb.asm/aarch64.inc: New file.
2876
bfca584f
PMR
28772015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2878
2879 * gdb.ada/array_of_variable_length.exp: New testcase.
2880 * gdb.ada/array_of_variable_length/foo.adb: New file.
2881 * gdb.ada/array_of_variable_length/pck.adb: New file.
2882 * gdb.ada/array_of_variable_length/pck.ads: New file.
2883
b326e587
DE
28842015-09-15 Doug Evans <dje@google.com>
2885
2886 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2887 of function static local variable.
2888
5382cfab
PW
28892015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2890
2891 * gdb.threads/tls-so_extern.exp: New test file.
2892 * gdb.threads/tls-so_extern.c: New test file.
2893 * gdb.threads/tls-so_extern_main.c: New test file.
2894
141c5cc4
JK
28952015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2896
2897 * gdb.opt/solib-intra-step-lib.c: New file.
2898 * gdb.opt/solib-intra-step-main.c: New file.
2899 * gdb.opt/solib-intra-step.exp: New file.
2900
d15dcecd
PA
29012015-09-15 Pedro Alves <palves@redhat.com>
2902
2903 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2904 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2905
4c2f2a79
PA
29062015-09-14 Pedro Alves <palves@redhat.com>
2907
2908 * gdb.base/hook-stop-continue.c: Delete.
2909 * gdb.base/hook-stop-continue.exp: Delete.
2910 * gdb.base/hook-stop-frame.c: Delete.
2911 * gdb.base/hook-stop-frame.exp: Delete.
2912 * gdb.base/hook-stop.c: New file.
2913 * gdb.base/hook-stop.exp: New file.
2914
919e6dbe
PMR
29152015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2916
2917 * gdb.ada/access_to_packed_array.exp: New testcase.
2918 * gdb.ada/access_to_packed_array/foo.adb: New file.
2919 * gdb.ada/access_to_packed_array/pack.adb: New file.
2920 * gdb.ada/access_to_packed_array/pack.ads: New file.
2921
157280a4
MM
29222015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2923
2924 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2925 buffer size test.
2926
2fd33e94
DB
29272015-09-11 Don Breazeal <donb@codesourcery.com>
2928
2929 * gdb.base/foll-exec.c: Add copyright header. Fix
2930 formatting issues.
2931 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2932 (do_exec_tests): Use clean_restart in place of zap_session,
2933 and for test initialization. Fix formatting issues. Use
2934 fail in place of perror.
2935 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2936 an expect statement to match an expression with output from
2937 the program under debug.
2938 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2939 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2940 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2941 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2942 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2943
e70b6e8e
DE
29442015-09-09 Doug Evans <dje@google.com>
2945
2946 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2947
7a551a51
DE
29482015-09-09 Doug Evans <dje@google.com>
2949
2950 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2951
4c666f84
DE
29522015-09-09 Doug Evans <dje@google.com>
2953
2954 * gdb.base/savedregs.exp: Fix typo.
2955
243a9253
PA
29562015-09-09 Pedro Alves <palves@redhat.com>
2957
2958 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2959
c0fa8fbd
SL
29602015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2961
2962 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
2963 command actually switches threads. Give up on remaining
2964 tests if target fails to stop at breakpoint.
2965
cd7c1778
PMR
29662015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2967
2968 * gdb.ada/funcall_char.exp: New testcase.
2969 * gdb.ada/funcall_char/foo.adb: New file.
2970
dc5c8746
PMR
29712015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2972
2973 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2974 expected outputs. Add two testcases for completing ambiguous
2975 functions.
2976 * gdb.ada/complete/aux_pck.adb: New file.
2977 * gdb.ada/complete/aux_pck.ads: New file.
2978 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2979 Ambiguous_Func functions.
2980 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2981 * gdb.ada/complete/pck.adb: Likewise.
2982
4e83a1e7
UW
29832015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2984
2985 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2986 failures to run the test program under GDB.
2987
8ce74153
LM
29882015-08-26 Luis Machado <lgustavo@codesourcery.com>
2989
2990 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2991 to C.
2992
e9756d52
PP
29932015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2994
2995 * gdb.base/run-after-attach.exp: New test file.
2996 * gdb.base/run-after-attach.c: New test file.
2997
8d37573b
DB
29982015-08-26 Don Breazeal <donb@codesourcery.com>
2999
3000 * gdb.base/foll-exec-2.c: New test program.
3001 * gdb.base/foll-exec-2.exp: New test.
3002
63e43d3a
PMR
30032015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
3004
3005 * gdb.base/nested-subp1.exp: New file.
3006 * gdb.base/nested-subp1.c: New file.
3007 * gdb.base/nested-subp2.exp: New file.
3008 * gdb.base/nested-subp2.c: New file.
3009 * gdb.base/nested-subp3.exp: New file.
3010 * gdb.base/nested-subp3.c: New file.
3011
3d40fbb5
PA
30122015-08-24 Pedro Alves <palves@redhat.com>
3013
3014 * gdb.server/connect-without-multi-process.c: New file.
3015 * gdb.server/connect-without-multi-process.exp: New file.
3016
4422ac93
LM
30172015-08-24 Luis Machado <lgustavo@codesourcery.com>
3018
3019 * gdb.opt/inline-markers.c: Make z int.
3020
91dddb86
LM
30212015-08-24 Luis Machado <lgustavo@codesourcery.com>
3022
3023 * gdb.opt/inline-markers.c: Make z volatile.
3024
a48847ee
LM
30252015-08-24 Luis Machado <lgustavo@codesourcery.com>
3026
3027 * gdb.opt/inline-bt.c: New volatile global z.
3028 * gdb.opt/inline-cmds.c: Likewise.
3029 * gdb.opt/inline-locals.c: Likewise.
3030 * gdb.opt/inline-markers.c: New extern global z.
3031 (marker): Use z.
3032 (inline_fn): Likewise.
3033
0ebbc52b
PA
30342015-08-24 Pedro Alves <palves@redhat.com>
3035
3036 * config/m32r-stub.exp: Remove file.
3037 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
3038 * gdb.base/call-rt-st.exp: Likewise.
3039 * gdb.base/call-strs.exp: Likewise.
3040 * gdb.base/default.exp: Remove references to h8300-*-hms and
3041 *-*-udi*.
3042 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
3043
77c365df
AA
30442015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3045
3046 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
3047 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
3048 and "return" use KFAIL when GDB can not read/write the vector
3049 return value.
3050
4313b8c0
GB
30512015-08-21 Gary Benson <gbenson@redhat.com>
3052
3053 * gdb.trace/pending.exp: Cope with remote transfer warnings.
3054
0e433b32
PA
30552015-08-20 Pedro Alves <palves@redhat.com>
3056
3057 * gdb.server/solib-list.exp: No longer expect an interior stop in
3058 non-stop mode.
3059
221e1a37
PA
30602015-08-20 Pedro Alves <palves@redhat.com>
3061
3062 * gdb.server/connect-stopped-target.c: New file.
3063 * gdb.server/connect-stopped-target.exp: New file.
3064
40e3ad0e
PA
30652015-08-20 Pedro Alves <palves@redhat.com>
3066
3067 * gdb.dwarf2/comp-unit-lang.exp: New file.
3068 * gdb.dwarf2/comp-unit-lang.c: New file.
3069
af39b327
PMR
30702015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
3071
3072 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
3073 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
3074
7d45c7c3 30752015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 3076
7d45c7c3
KB
3077 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
3078 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
3079
4d6cceb4
DE
30802015-08-18 Doug Evans <dje@google.com>
3081 Adrian Sendroiu <adrian.sendroiu@freescale.com>
3082
3083 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
3084 skip_python_tests. New arg prompt_regexp.
3085 (skip_python_tests): New function.
3086 * lib/mi-support.exp (mi_skip_python_tests): New function.
3087 * gdb.python/py-mi-objfile-gdb.py: New file.
3088 * gdb.python/py-mi-objfile.c: New file.
3089 * gdb.python/py-mi-objfile.exp: New file.
3090
ad89c2aa
KS
30912015-08-17 Keith Seitz <keiths@redhat.com>
3092
3093 * gdb.linespec/explicit.exp: Move strace test from here ...
3094 * gdb.trace/strace.exp: ... to here.
3095
e3ae3c43
PP
30962015-08-15 Patrick Palka <patrick@parcs.ath.cx>
3097
3098 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
3099 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
3100
604b2636
DE
31012015-08-14 Doug Evans <xdje42@gmail.com>
3102
3103 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
3104 inferior before selecting a new file.
3105
6ff0ba5f
DE
31062015-08-14 Doug Evans <xdje42@gmail.com>
3107
3108 * gdb.mi/mi-disassemble.exp: Update.
3109 * gdb.base/disasm-optim.S: New file.
3110 * gdb.base/disasm-optim.c: New file.
3111 * gdb.base/disasm-optim.h: New file.
3112 * gdb.base/disasm-optim.exp: New file.
3113
9ca98f92
KS
31142015-08-14 Keith Seitz <keiths@redhat.com>
3115
3116 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
3117 "evaluated-by".
3118
52bbc560
JB
31192015-08-13 Joel Brobecker <brobecker@adacore.com>
3120
3121 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
3122
5d8c3ed3
PMR
31232015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
3124
3125 * gdb.ada/fun_renaming.exp: New testcase.
3126 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
3127 * gdb.ada/fun_renaming/pack.adb: New file.
3128 * gdb.ada/fun_renaming/pack.ads: New file.
3129
ea8812bc
KS
31302015-08-12 Keith Seitz <keiths@redhat.com>
3131
3132 * gdb.base/dso2dso.exp: Pass basename of source file in call to
3133 gdb_get_line_number.
3134
4dafcdeb
JB
31352015-08-12 Joel Brobecker <brobecker@adacore.com>
3136
3137 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
3138 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
3139 gdb.base/dso2dso.exp: New files.
3140
5ba32597
SDJ
31412015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
3142 Pedro Alves <palves@redhat.com>
3143 Keith Seitz <keiths@redhat.com>
3144
3145 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
3146 GDBFLAGS.
3147
b6dafabf
PP
31482015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3149
3150 * gdb.base/gdbhistsize-history.exp
3151 (test_histsize_history_setting): Use save_vars.
3152 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3153 Use save_vars.
3154 (test_no_truncation_of_unlimited_history_file): Use save_vars.
3155 * gdb.base/readline.exp: Use save_vars.
3156
abe8e607
PP
31572015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3158
3159 * lib/gdb.exp (save_vars): New proc.
3160
629500fa
KS
31612015-08-11 Keith Seitz <keiths@redhat.com>
3162
3163 * gdb.base/help.exp: Update help_breakpoint_text.
3164
eb8c4e2e
KS
31652015-08-11 Keith Seitz <keiths@redhat.com>
3166
3167 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
3168 (at toplevel): Call test_explicit_breakpoints.
3169 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
3170 breakpoints.
3171 * lib/mi-support.exp (mi_make_breakpoint): Add support for
3172 breakpoint conditions, "-cond".
3173
87f0e720
KS
31742015-08-11 Keith Seitz <keiths@redhat.com>
3175
3176 * gdb.linespec/3explicit.c: New file.
3177 * gdb.linespec/cpexplicit.cc: New file.
3178 * gdb.linespec/cpexplicit.exp: New file.
3179 * gdb.linespec/explicit.c: New file.
3180 * gdb.linespec/explicit.exp: New file.
3181 * gdb.linespec/explicit2.c: New file.
3182 * gdb.linespec/ls-errs.exp: Add explicit location tests.
3183 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
3184 before using in the matching pattern.
3185 Clarify that `prefix' is a regular expression.
3186
f00aae0f
KS
31872015-08-11 Keith Seitz <keiths@redhat.com>
3188
3189 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
3190 test.
3191 Add tests for missing ",FMT" and ",".
3192
e27852be
DE
31932015-08-10 Doug Evans <dje@google.com>
3194 Keith Seitz <keiths@redhat.com>
3195
3196 PR gdb/17960
3197 * gdb.base/completion.exp: Add location completer tests.
3198
7f03bd92
PA
31992015-08-07 Pedro Alves <palves@redhat.com>
3200
3201 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
3202 tests here.
3203 (top level): Run do_test with and without displaced stepping.
3204
3fc8eb30
PA
32052015-08-07 Pedro Alves <palves@redhat.com>
3206
3207 * gdb.base/valgrind-disp-step.c: New file.
3208 * gdb.base/valgrind-disp-step.exp: New file.
3209
d4569d7b
PA
32102015-08-07 Pedro Alves <palves@redhat.com>
3211
3212 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
3213 Delete function.
3214 (main): Add alarm. Run an infinite loop instead of calling
3215 wait_threads.
3216 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
3217 comment.
3218 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
3219 Delete function.
3220 (main): Add alarm. Run an infinite loop instead of calling
3221 wait_threads.
3222 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
3223 comment.
3224
e1316e60
PA
32252015-08-07 Pedro Alves <palves@redhat.com>
3226
3227 * gdb.base/checkpoint-ns.exp: New file.
3228 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
3229 standard_testfile.
3230
da8c46d2
MM
32312015-08-07 Markus Metzger <markus.t.metzger@intel.com>
3232
3233 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
3234 * gdb.btrace/instruction_history.exp: Update.
3235 * gdb.btrace/tsx.exp: New.
3236 * gdb.btrace/tsx.c: New.
3237
de1c2c52
PA
32382015-08-06 Pedro Alves <palves@redhat.com>
3239
3240 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
3241 increase timeout.
3242 * gdb.reverse/until-precsave.exp: Bump timeouts.
3243
782e0bf4
PA
32442015-08-06 Pedro Alves <palves@redhat.com>
3245
3246 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
3247
83e97ed0
PA
32482015-08-06 Pedro Alves <palves@redhat.com>
3249
3250 PR gdb/18749
3251 * gdb.threads/process-dies-while-handling-bp.c: New file.
3252 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3253
863d01bd
PA
32542015-08-06 Pedro Alves <palves@redhat.com>
3255
3256 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3257 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3258
0a39bb32
PA
32592015-08-05 Pedro Alves <palves@redhat.com>
3260
3261 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3262 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3263
ee2d2b10
SL
32642015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3265
3266 * gdb.base/bp-permanent.exp: Report test as unsupported if
3267 the target cannot stop at the permanent breakpoint.
3268
4e1bdb00
DE
32692015-08-03 Doug Evans <dje@google.com>
3270
3271 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3272 10000.
3273
3d338901
DE
32742015-08-03 Doug Evans <dje@google.com>
3275
3276 * Makefile.in (workers/%.worker, build-perf): New rule.
3277 (GDB_PERFTEST_MODE): New variable.
3278 (check-perf): Use it.
3279 (clean): Clean up gdb.perf parallel build subdirs.
3280 * lib/build-piece.exp: New file.
3281 * lib/gdb.exp (make_gdb_parallel_path): New function
3282 (standard_output_file, standard_temp_file): Call it.
3283 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3284 of $GDB_PARALLEL.
3285 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3286
af061d3e
DE
32872015-08-03 Doug Evans <dje@google.com>
3288
8e1afc81 3289 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
3290 (LOG_FILE_NAME): New global.
3291 (TextReporter.__init__): Initialize self.txt_sum.
3292 (TextReporter.report): Add support for multiple data-points.
3293 Move report to perftest.sum, put raw data in perftest.log.
3294 (TextReporter.start): Open sum and log files.
3295 (TextReporter.end): Close sum and log files.
8e1afc81
DE
3296 * gdb.perf/lib/perftest/testresult.py
3297 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 3298
2c8c5d37
PA
32992015-07-31 Pedro Alves <palves@redhat.com>
3300
3301 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3302 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3303 kill_wait_spawned_process instead of explicit "kill -9".
3304 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3305 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3306 kill_wait_spawned_process.
3307 * gdb.base/attach-twice.exp: Likewise.
3308 * gdb.base/attach.exp: Likewise.
3309 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3310 gdb_test_multiple.
3311 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3312 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3313 kill_wait_spawned_process.
3314 * gdb.base/valgrind-infcall.exp: Likewise.
3315 * gdb.multi/multi-attach.exp: Likewise.
3316 * gdb.python/py-prompt.exp: Likewise.
3317 * gdb.python/py-sync-interp.exp: Likewise.
3318 * gdb.server/ext-attach.exp: Likewise.
3319 * gdb.threads/attach-into-signal.exp (corefunc): Use
3320 spawn_wait_for_attach, spawn_id_get_pid and
3321 kill_wait_spawned_process.
3322 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3323 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3324 spawn_id_get_pid and kill_wait_spawned_process.
3325 * gdb.threads/attach-stopped.exp (corefunc): Use
3326 spawn_wait_for_attach, spawn_id_get_pid and
3327 kill_wait_spawned_process.
3328 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3329 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3330 kill_wait_spawned_process instead of explicit "kill -9".
3331 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3332 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3333 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3334 processes. Don't map cygwin/windows pids here. Now returns a
3335 spawn id list.
3336
032a0fca
SL
33372015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3338
3339 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3340 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3341 correct patch.
3342
61a934ca
SL
33432015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3344
3345 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3346
4bc4d428
SL
33472015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3348
3349 Reapply:
3350 2014-05-21 Mark Wielaard <mjw@redhat.com>
3351
3352 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3353
998d452a
PA
33542015-07-30 Pedro Alves <palves@redhat.com>
3355
3356 * linux-low.c (handle_extended_wait): Set the child's last
3357 reported status to TARGET_WAITKIND_STOPPED.
3358
69dde7dc
PA
33592015-07-30 Pedro Alves <palves@redhat.com>
3360
3361 PR threads/18600
3362 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3363 only shows inferior 1.
3364
4dd63d48
PA
33652015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3366 Pedro Alves <palves@redhat.com>
3367
3368 PR threads/18600
3369 * gdb.threads/fork-plus-threads.c: New file.
3370 * gdb.threads/fork-plus-threads.exp: New file.
3371
d618e4c5
PP
33722015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3373
3374 * gdb.base/batch-preserve-term-settings.exp
3375 (test_terminal_settings_preserved_after_cli_exit): Use
3376 send_quit_command.
3377
1eef6428
PA
33782015-07-29 Pedro Alves <palves@redhat.com>
3379 Don Breazeal <donb@codesourcery.com>
3380
3381 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3382 output from both inferior_spawn_id and gdb_spawn_id.
3383
7da5b897
SDJ
33842015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3385
3386 * gdb.threads/attach-into-signal.exp (corefunc): Use
3387 with_test_prefix on nested loops, uniquefying the test messages.
3388
dac804df
SDJ
33892015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3390
3391 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3392 commit.
3393
06265e53
PP
33942015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3395
3396 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3397 New proc.
3398 (test_terminal_settings_preserved_after_sigterm): New test.
3399
18206ca3
PP
34002015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3401
3402 * gdb.base/batch-preserve-term-settings.exp
3403 (test_terminal_settings_preserved_after_cli_exit): New test.
3404
90074d11
PP
34052015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3406
3407 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3408 manipulation of saved_gdbflags.
3409 (test_terminal_settings_preserved): Remove global declaration of
3410 the unused variable pagination_prompt. Remove manipulation of
3411 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3412 GDBFLAGS.
3413
eb1a7902
PA
34142015-07-29 Pedro Alves <palves@redhat.com>
3415
3416 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3417
8b75dd3b
PA
34182015-07-29 Pedro Alves <palves@redhat.com>
3419
3420 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3421 at the top.
3422
dedad4e3
PA
34232015-07-29 Pedro Alves <palves@redhat.com>
3424
3425 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3426 (main): Call gdb_unbuffer_output.
3427 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3428 (main): Call gdb_unbuffer_output.
3429 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3430 (main): Call gdb_unbuffer_output.
3431 * gdb.base/call-strs.exp: Adjust to step over the
3432 gdb_unbuffer_output call.
3433 * gdb.base/catch-gdb-caused-signals.c: Include
3434 "../lib/unbuffer_output.c".
3435 (main): Call gdb_unbuffer_output.
3436 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3437 (main): Call gdb_unbuffer_output.
3438 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3439 (main): Call gdb_unbuffer_output.
3440 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3441 (main): Call gdb_unbuffer_output.
3442 * gdb.base/shlib-call.exp: Adjust to step over the
3443 gdb_unbuffer_output call.
3444 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3445 (main): Call gdb_unbuffer_output.
3446 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3447 (main): Call gdb_unbuffer_output.
3448 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3449 (main): Rename to ...
3450 (test): ... this.
3451 (main): Reimplement.
3452 * gdb.base/varargs.exp: Run to test instead of to main.
3453 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3454 (main): Call gdb_unbuffer_output.
3455
58789a91
PA
34562015-07-29 Pedro Alves <palves@redhat.com>
3457
3458 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3459 factore out from mi_continue_dprintf. For call-style dprintfs,
3460 expect dprintf output out of $inferior_spawn_id.
3461 (mi_continue_dprintf): Use mi_expect_dprintf.
3462 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3463 (main): Call gdb_unbuffer_output.
3464
e8376742
PA
34652015-07-29 Pedro Alves <palves@redhat.com>
3466
3467 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3468 (default_mi_gdb_start): Set inferior_spawn_id instead of
3469 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3470 gdb_spawn_id.
3471 (mi_gdb_test): Always expect inferior output from both
3472 $inferior_spawn_id and $gdb_spawn_id.
3473
08280010
PA
34742015-07-29 Pedro Alves <palves@redhat.com>
3475
3476 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3477 send_inferior and $inferior_spawn_id.
3478
4d30e432
PA
34792015-07-29 Pedro Alves <palves@redhat.com>
3480
3481 * gdb.gdb/complaints.exp (test_initial_complaints)
3482 (test_serial_complaints, test_short_complaints): Use
3483 gdb_test_stdio.
3484 (test_empty_complaint): Handle $inferior_spawn_id !=
3485 $gdb_spawn_id.
3486
0d30a335
PA
34872015-07-29 Pedro Alves <palves@redhat.com>
3488
3489 * gdb.base/varargs.exp: Use gdb_test_stdio.
3490
39413b29
PA
34912015-07-29 Pedro Alves <palves@redhat.com>
3492
3493 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3494
7cb000a9
PA
34952015-07-29 Pedro Alves <palves@redhat.com>
3496
3497 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3498
d7b8ac82
PA
34992015-07-29 Pedro Alves <palves@redhat.com>
3500
3501 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3502 parameter into two new parameters, "inf_result" and "gdb_result".
3503 Expect inferior output and gdb output from $inferior_spawn_id and
3504 $gdb_spawn_id, respectively. Adjust all callers.
3505
789c3a0c
PA
35062015-07-29 Pedro Alves <palves@redhat.com>
3507
3508 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3509 of gdb_test_sequence.
3510
77e760c3
PA
35112015-07-29 Pedro Alves <palves@redhat.com>
3512
3513 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3514 (saw_spurious_output): Expect inferior output from
3515 $inferior_spawn_id. Use gdb_test_stdio.
3516
8396d2cd
PA
35172015-07-29 Pedro Alves <palves@redhat.com>
3518
3519 * gdb.base/dprintf.exp: Use standard_testfile. Change
3520 prepare_for_testing call.
3521 (srcfile): Don't set.
3522 (restart): New procedure.
3523 (test_dprintf): New procecure, use to continue over dprintfs.
3524 (test_call, test_agent): New procedures, tests moved here.
3525 Restart gdb and recreate dprintfs. Adjust expected output.
3526
2051d61f
PA
35272015-07-29 Pedro Alves <palves@redhat.com>
3528
3529 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3530
452397af
PA
35312015-07-29 Pedro Alves <palves@redhat.com>
3532
3533 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3534
8aed9555
PA
35352015-07-29 Pedro Alves <palves@redhat.com>
3536
3537 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3538 gdb_test_stdio.
3539
188a61b4
PA
35402015-07-29 Pedro Alves <palves@redhat.com>
3541
3542 * lib/gdb.exp (gdb_test_stdio): New procedure.
3543
12264a45
PA
35442015-07-29 Pedro Alves <palves@redhat.com>
3545
3546 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3547
23ffc893
PA
35482015-07-29 Pedro Alves <palves@redhat.com>
3549
3550 * gdb.base/call-signal-resume.exp: Remove check for
3551 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3552 * gdb.base/unwindonsignal.exp: Likewise.
3553 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3554 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3555
65566918
PA
35562015-07-29 Pedro Alves <palves@redhat.com>
3557
3558 * gdb.base/siginfo-addr.c (pass): New function.
3559 (handler): Call it iff si_addr is correct.
3560 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3561 Set a breakpoint at "pass" and continue to it.
3562
d60a9221
SDJ
35632015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3564
3565 * gdb.python/py-objfile.exp: Make some tests have unique names.
3566 * gdb.python/py-pp-registration.exp: Likewise.
3567
bde40b8f
PA
35682015-07-28 Pedro Alves <palves@redhat.com>
3569
3570 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3571
13e1dec8
SM
35722015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3573
3574 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3575
da33c9a7
SM
35762015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3577
3578 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3579
077836f7
PP
35802015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3581
3582 * gdb.base/gdb-sigterm-2.exp: New test.
3583
b8cc7b2e
DE
35842015-07-25 Doug Evans <xdje42@gmail.com>
3585
3586 Revert:
3587 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3588 (workers/%.worker, build-perf): New rule.
3589 (GDB_PERFTEST_MODE): New variable.
3590 (check-perf): Use it.
3591 (clean): Clean up gdb.perf parallel build subdirs.
3592 * lib/build-piece.exp: New file.
3593 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3594 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3595 name.
3596 (standard_temp_file): Ditto.
3597 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3598 of $GDB_PARALLEL.
3599
c8bd4544
DE
36002015-07-24 Doug Evans <dje@google.com>
3601
3602 * gdb.perf/lib/perftest/utils.py: New file.
3603 * gdb.perf/gm-hello.cc: New file.
3604 * gdb.perf/gm-pervasive-typedef.cc: New file.
3605 * gdb.perf/gm-pervasive-typedef.h: New file.
3606 * gdb.perf/gm-std.cc: New file.
3607 * gdb.perf/gm-std.h: New file.
3608 * gdb.perf/gm-use-cerr.cc: New file.
3609 * gdb.perf/gm-utils.h: New file.
3610 * gdb.perf/gmonster-null-lookup.py: New file.
3611 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3612 * gdb.perf/gmonster-print-cerr.py: New file.
3613 * gdb.perf/gmonster-ptype-string.py: New file.
3614 * gdb.perf/gmonster-runto-main.py: New file.
3615 * gdb.perf/gmonster-select-file.py: New file.
3616 * gdb.perf/gmonster1-null-lookup.exp: New file.
3617 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3618 * gdb.perf/gmonster1-print-cerr.exp: New file.
3619 * gdb.perf/gmonster1-ptype-string.exp: New file.
3620 * gdb.perf/gmonster1-runto-main.exp: New file.
3621 * gdb.perf/gmonster1-select-file.exp: New file.
3622 * gdb.perf/gmonster1.cc: New file.
3623 * gdb.perf/gmonster1.exp: New file.
3624 * gdb.perf/gmonster2-null-lookup.exp: New file.
3625 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3626 * gdb.perf/gmonster2-print-cerr.exp: New file.
3627 * gdb.perf/gmonster2-ptype-string.exp: New file.
3628 * gdb.perf/gmonster2-runto-main.exp: New file.
3629 * gdb.perf/gmonster2-select-file.exp: New file.
3630 * gdb.perf/gmonster2.cc: New file.
3631 * gdb.perf/gmonster2.exp: New file.
3632
6eab34f3
DE
36332015-07-24 Doug Evans <dje@google.com>
3634
3635 * gdb.perf/README: New file.
3636 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3637 * lib/gen-perf-test.exp: New file.
3638
63738bfd
DE
36392015-07-24 Doug Evans <dje@google.com>
3640
3641 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3642 (PerfTest::startup): New function.
3643 (PerfTest::run): Return result of calling body.
3644 (PerfTest::assemble): Rewrite.
3645 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3646 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3647 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3648 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3649 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3650
7b606f95
DE
36512015-07-24 Doug Evans <dje@google.com>
3652
3653 * lib/gdb.exp (clean_restart): Make executable optional.
3654
a97b16b8
DE
36552015-07-24 Doug Evans <dje@google.com>
3656
3657 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3658 compiler_info references.
3659 * gdb.cp/temargs.exp: Ditto.
3660 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3661 (get_compiler_info): Early exit if already computed. Set compiler_info
3662 to "unknown" if there was a problem.
3663 (test_compiler_info): Add function comment. Call get_compiler_info.
3664
35baa57f
DE
36652015-07-24 Doug Evans <dje@google.com>
3666
3667 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3668 (workers/%.worker, build-perf): New rule.
3669 (GDB_PERFTEST_MODE): New variable.
3670 (check-perf): Use it.
3671 (clean): Clean up gdb.perf parallel build subdirs.
3672 * lib/build-piece.exp: New file.
3673 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3674 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3675 name.
3676 (standard_temp_file): Ditto.
3677 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3678 of $GDB_PARALLEL.
3679
6ebea266
DE
36802015-07-24 Doug Evans <dje@google.com>
3681
3682 * lib/future.exp (gdb_default_target_compile): New option
3683 "early_flags".
3684 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3685 --as-needed.
3686
1e76a7e9
SDJ
36872015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3688
3689 * gdb.base/catch-syscall.exp: Call gdb_exit before
3690 gdb_skip_xml_test.
3691
5068630a
PA
36922015-07-24 Pedro Alves <palves@redhat.com>
3693
3694 * gdb.python/py-events.exp: Accept output between the stop event
3695 and the prompt.
3696 * gdb.python/py-evsignal.exp: Likewise.
3697 * gdb.python/py-evthreads.exp: Likewise.
3698
77598427
PA
36992015-07-24 Pedro Alves <palves@redhat.com>
3700
3701 PR gdb/18717
3702 * gdb.threads/non-ldr-exit.c: New file.
3703 * gdb.threads/non-ldr-exit.exp: New file.
3704
11e6c98f
YQ
37052015-07-24 Yao Qi <yao.qi@linaro.org>
3706
3707 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3708 restarting process.
3709
51aee833
YQ
37102015-07-24 Yao Qi <yao.qi@linaro.org>
3711
3712 * gdb.server/ext-restart.exp: New file.
3713
8cfe207c
YQ
37142015-07-24 Yao Qi <yao.qi@linaro.org>
3715
3716 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3717 argument options.
3718 * gdb.server/ext-wrapper.exp: New file.
3719
cc12ce38
DE
37202015-07-23 Doug Evans <dje@google.com>
3721
3722 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3723 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3724
d0d84780
PMR
37252015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3726
3727 * gdb.ada/var_arr_typedef.exp: New testcase.
3728 * gdb.ada/var_arr_typedef/pack.adb: New file.
3729 * gdb.ada/var_arr_typedef/pack.ads: New file.
3730 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3731
8b558f79
JB
37322015-07-20 Joel Brobecker <brobecker@adacore.com>
3733
3734 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3735
775a3298
JK
37362015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3737
3738 * gdb.arch/i386-biarch-core.exp: Replace istarget
3739 by "complete set gnutarget". Remove expectation for the "core-file"
3740 command.
3741
db1ff28b
JK
37422015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3743
3744 Revert the previous commit:
3745 Tests for validate symbol file using build-id.
3746
0a94970d
JK
37472015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3748
3749 Tests for validate symbol file using build-id.
3750 * gdb.base/solib-mismatch-lib.c: New file.
3751 * gdb.base/solib-mismatch-libmod.c: New file.
3752 * gdb.base/solib-mismatch.c: New file.
3753 * gdb.base/solib-mismatch.exp: New file.
3754
03346981
SL
37552015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3756
3757 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3758 nios2-*-linux*.
3759 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3760 * gdb.base/siginfo.exp: Likewise.
3761 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3762
42422cc7
PL
37632015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3764
3765 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3766 Move it to ...
3767 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3768 ... here.
3769 * gdb.trace/range-stepping.exp: Check that the target supports
3770 range stepping.
3771
cfa68bae
JK
37722015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3773
3774 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3775
8ffdba26
PA
37762015-07-14 Pedro Alves <palves@redhat.com>
3777
3778 * gdb.base/killed-outside.exp: New file.
3779 * gdb.base/killed-outside.c: New file.
3780
218a5a11
JK
37812015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3782
3783 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3784 (n at main): New.
3785 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3786
e03ed3c6
AA
37872015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3788
3789 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3790 infcall tests instead of setting up for KFAIL.
3791
485668e5
MM
37922015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3793
3794 * gdb.btrace/record_goto-step.exp: New.
3795
08464196
JK
37962015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3797
3798 PR compile/18484
3799 * gdb.compile/compile.c (struct struct_type): Add volatile to
3800 selffield's type.
3801 * gdb.compile/compile.exp
3802 (compile code struct_object.selffield = &struct_object): Skip further
3803 struct_object tests if this one xfails.
3804
bcf5c1d9
RC
38052015-07-08 Robert O'Callahan <robert@ocallahan.org>
3806
3807 PR exp/18617
3808 * gdb.trace/ax.exp: Add test.
3809
4931af25
YQ
38102015-07-07 Yao Qi <yao.qi@linaro.org>
3811
3812 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3813 instead of istarget "aarch64*-*-*".
3814 * gdb.arch/aarch64-fp.exp: Likewise.
3815 * gdb.base/float.exp: Likewise.
3816 * gdb.reverse/aarch64.exp: Likewise.
3817 * lib/gdb.exp (is_aarch64_target): New proc.
3818
9fcf688e
YQ
38192015-07-07 Yao Qi <yao.qi@linaro.org>
3820
3821 * lib/gdb.exp (is_aarch32_target): New proc.
3822 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3823 instead of "istarget "arm*-*-*"".
3824 * gdb.arch/arm-disp-step.exp: Likewise.
3825 * gdb.arch/thumb-bx-pc.exp: Likewise.
3826 * gdb.arch/thumb-prologue.exp: Likewise.
3827 * gdb.arch/thumb-singlestep.exp: Likewise.
3828 * gdb.base/disp-step-syscall.exp: Likewise.
3829 * gdb.base/float.exp: Likewise.
3830
fbd8d50d
YQ
38312015-07-07 Yao Qi <yao.qi@linaro.org>
3832
3833 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3834 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3835
71be1fdc
YQ
38362015-07-07 Yao Qi <yao.qi@linaro.org>
3837
3838 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3839 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3840 if it exists.
3841 * gdb.multi/multi-arch.exp: Likewise.
3842
3e221d36
SM
38432015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3844
3845 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3846 print.
3847
d441430b
YQ
38482015-07-07 Yao Qi <yao.qi@linaro.org>
3849
3850 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3851
06f810bd
MG
38522015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3853
3854 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3855 '[' and ']' characters.
3856
5e61e7c0
IB
38572015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3858
3859 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3860
28bf096c
PA
38612015-06-29 Pedro Alves <palves@redhat.com>
3862
3863 PR threads/18127
3864 * gdb.threads/hand-call-new-thread.c: New file.
3865 * gdb.threads/hand-call-new-thread.c: New file.
3866
ee93cd5e
KS
38672015-06-26 Keith Seitz <keiths@redhat.com>
3868 Doug Evans <dje@google.com>
3869
3870 PR 16253
3871 * gdb.cp/var-tag-2.cc: New file.
3872 * gdb.cp/var-tag-3.cc: New file.
3873 * gdb.cp/var-tag-4.cc: New file.
3874 * gdb.cp/var-tag.cc: New file.
3875 * gdb.cp/var-tag.exp: New file.
3876
fc637f04
PP
38772015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3878
3879 * gdb.base/history-duplicates.exp: New test.
3880
2e52ae68
PP
38812015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3882
3883 * gdb.base/completion.exp: Test the completion of the "focus"
3884 command.
3885
6e22494e
JK
38862015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3887
3888 * gdb.arch/amd64-prologue-skip.S: New file.
3889 * gdb.arch/amd64-prologue-skip.exp: New file.
3890
bf7b9cd9
SM
38912015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3892
3893 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3894 is_address_zero_readable check.
3895
201e8dfd
PB
38962015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3897
3898 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3899 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3900
5cd867b4
YQ
39012015-06-24 Yao Qi <yao.qi@linaro.org>
3902
3903 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3904 linux targets.
3905
4d7be007
YQ
39062015-06-24 Yao Qi <yao.qi@linaro.org>
3907
3908 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3909 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3910 * gdb.base/siginfo-thread.exp: Likewise.
3911
07fcd301
YQ
39122015-06-22 Yao Qi <yao.qi@linaro.org>
3913
3914 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3915
52042a00
YQ
39162015-06-22 Yao Qi <yao.qi@linaro.org>
3917
3918 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3919 aarch64*-*-*.
3920 (skip_hw_watchpoint_tests): Likewise.
3921
74bd41ce
PP
39222015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3923
3924 * gdb.base/gdbinit-history.exp: Test the interaction between
3925 setting GDBHISTSIZE and setting the history size via .gdbinit.
3926
bc460514
PP
39272015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3928
3929 PR gdb/16999
3930 * gdb.base/gdbhistsize-history.exp: New test.
3931
b58c513b
PP
39322015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3933
3934 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3935 with GDBHISTSIZE.
3936 * gdb.base/readline.exp: Likewise.
3937
92046791
YQ
39382015-06-17 Yao Qi <yao.qi@linaro.org>
3939
3940 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3941 line.
3942
2093d2d3
PP
39432015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3944
3945 * gdb.base/gdbinit-history.exp: Add test case to check that
3946 an unlimited history file does not get truncated on exit.
3947
e6c693af
AA
39482015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3949
3950 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3951 (VECTOR): New macro. Use it...
3952 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3953 ...for these typedefs.
3954 (int8, char1, int1, double1): New typedefs.
3955 (struct just_int2, struct two_int2): New structures.
3956 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3957 (add_structvecs, add_singlevecs): New functions.
3958 (main): Call add_some_intvecs twice.
3959 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3960 the compile and exit upon failure. Try compiling for the "native"
3961 architecture. Test inferior function calls with vector arguments
3962 and vector return value handling with "finish" and "return".
3963
c74f7d1c
JT
39642015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3965
3966 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3967 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3968 PE file.
3969 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3970
98aa42ee
AT
39712015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3972
3973 PR breakpoints/16465
3974 * gdb.mi/mi-dprintf-pending.c: New file.
3975 * gdb.mi/mi-dprintf-pending.exp: New test.
3976 * gdb.mi/mi-dprintf-pendshr.c: New file.
3977
7d73c23c 39782015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 3979 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
3980
3981 * gdb.arch/i386-mpx-map.c: New file.
3982 * gdb.arch/i386-mpx-map.exp: New File.
3983
39842015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3985
3986 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3987 * gdb.arch/i386-mpx.exp: Indentation fixed.
3988
39892015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3990
3991 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3992 function and improved indentation.
3993 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3994 gdb_test_multiple. Added additional tests to skip the test.
3995
39962015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3997
3998 * gdb.arch/i386-avx512.c: Change path in include file.
3999 * gdb.arch/i386-avx512.exp: Change include dir path
4000 compilation flag.
4001 * gdb.arch/i386-mpx.c: Change path in include file.
4002 * gdb.arch/i386-mpx.exp: Change include dir path compilation
4003 flag.
4004
d5eba19a
JK
40052015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4006
4007 * gdb.compile/compile-print.exp (compile print *vararray@3)
4008 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
4009
7f361056
JK
40102015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4011
4012 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
4013 (do not keep jit in memory): ... this.
4014 (expect 5): Change it to ...
4015 (expect no 5): ... this.
4016
3b462ec2
SM
40172015-06-02 Simon Marchi <simon.marchi@ericsson.com>
4018
4019 PR gdb/15564
4020 * gdb.mi/mi-detach.exp: New file.
4021
e0619de6
JK
40222015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4023
4024 PR symtab/18392
4025 * gdb.arch/amd64-tailcall-self.S: New file.
4026 * gdb.arch/amd64-tailcall-self.c: New file.
4027 * gdb.arch/amd64-tailcall-self.exp: New file.
4028
e970cb34
DB
40292015-05-28 Don Breazeal <donb@codesourcery.com>
4030
4031 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
4032 tests for remote targets by checking is_target_gdbserver.
4033
b2e2f908
DE
40342015-05-27 Doug Evans <dje@google.com>
4035
4036 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
4037 * gdb.dwarf2/opaque-type-lookup.c: New file.
4038 * gdb.dwarf2/opaque-type-lookup.exp: New file.
4039
82c7be31
DE
40402015-05-26 Doug Evans <dje@google.com>
4041
4042 * gdb.cp/iostream.cc: New file.
4043 * gdb.cp/iostream.exp: New file.
4044
b4f54984
DE
40452015-05-26 Doug Evans <dje@google.com>
4046
4047 * gdb.dwarf2/dw2-op-call.exp: Update.
4048 * gdb.dwarf2/dw4-sig-types.exp: Update.
4049 * gdb.dwarf2/implptr.exp: Update.
4050 * gdb.mi/mi-cmd-param-changed.exp: Update.
4051
4ea6efe9
DE
40522015-05-26 Doug Evans <dje@google.com>
4053
4054 * gdb.python/py-lazy-string.c: New file.
4055 * gdb.python/py-lazy-string.exp: New file.
4056 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
4057 (main): Update. Add estring3.
4058 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
4059 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
4060
f6bb7db3
YQ
40612015-05-26 Omair Javaid <omair.javaid@linaro.org>
4062 Yao Qi <yao.qi@linaro.org>
4063
4064 * gdb.reverse/aarch64.c: New.
4065 * gdb.reverse/aarch64.exp: New.
4066
a81bfbd0
OJ
40672015-05-26 Omair Javaid <omair.javaid@linaro.org>
4068
25d49b86
PA
4069 * lib/gdb.exp (supports_process_record): Return true for
4070 aarch64*-linux*.
a81bfbd0
OJ
4071 (supports_reverse): Likewise.
4072
158bf1b4
PP
40732015-05-22 Patrick Palka <patrick@parcs.ath.cx>
4074
4075 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4076 Use with_test_prefix.
4077
a0145030
AB
40782015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
4079
4080 * gdb.base/completion.exp: Add test for completion of layout
4081 names.
4082
ebe3b578
AB
40832015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
4084
4085 * lib/gdb.exp (skip_tui_tests): New proc.
4086 * gdb.base/tui-layout.exp: Check skip_tui_tests.
4087
84204ed7
PA
40882015-05-19 Pedro Alves <palves@redhat.com>
4089
4090 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4091 Save the whole env array instead of just HOME. Unset HISTSIZE in
4092 the environment while testing. Restore whole environment
4093 afterwards.
4094
37442ce1
DE
40952015-05-16 Doug Evans <xdje42@gmail.com>
4096
4097 * gdb.guile/scm-ports.c: New file.
4098 * gdb.guile/scm-ports.exp: Add memory port tests.
4099
36de76f9
JK
41002015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4101
4102 * gdb.compile/compile-print.c: New file.
4103 * gdb.compile/compile-print.exp: New file.
4104
3a9558c4
JK
41052015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4106
4107 * gdb.compile/compile-ops.exp: Cast param to void.
4108 * gdb.compile/compile.exp: Complete type for _gdb_expr.
4109 (compile code struct_object.selffield = &struct_object): Add xfail.
4110
aa715135
JG
41112015-05-15 Joel Brobecker <brobecker@adacore.com>
4112
4113 * gdb.ada/arr_enum_with_gap: New testcase.
4114
931e5bc3
JG
41152015-05-15 Joel Brobecker <brobecker@adacore.com>
4116
4117 * gdb.ada/byte_packed_arr: New testcase.
4118
9cd4d857
JB
41192015-05-15 Joel Brobecker <brobecker@adacore.com>
4120
4121 * gdb.ada/pckd_neg: New testcase.
4122
ebfd00d2
PP
41232015-05-13 Patrick Palka <patrick@parcs.ath.cx>
4124
4125 PR gdb/17820
4126 * gdb.base/gdbinit-history.exp: New test.
4127 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
4128 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
4129
4c082a81
SC
41302015-05-09 Siva Chandra Reddy <sivachandra@google.com>
4131
4132 * gdb.python/py-xmethods.cc: Enhance test case.
4133 * gdb.python/py-xmethods.exp: New tests.
4134 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
4135 function.
4136 (B_indexoper): Likewise.
4137 (global_dm_list) : Add new xmethod worker functions.
4138
f7797074
SDJ
41392015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
4140
4141 * gdb.base/coredump-filter.exp: Correctly unset
4142 "coredump_var_addr" array.
4143
a4674e4e
PA
41442015-05-08 Pedro Alves <palves@redhat.com>
4145
4146 * gdb.server/non-existing-program.exp: Unset spawn_id.
4147
df2eb078
SC
41482015-05-08 Siva Chandra Reddy <sivachandra@google.com>
4149
4150 PR python/18291
4151 * gdb.python/py-xmethods.exp: Add tests.
4152
422349a3
YQ
41532015-05-08 Yao Qi <yao.qi@linaro.org>
4154
4155 PR gdb/18208
4156 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
4157 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
4158 function set_coredump_filter, and remove remote_exec call.
4159 Remove argument ipid. Callers update.
4160 (top level): Don't get inferior's PID.
4161
63fc80ce
AA
41622015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
4163
4164 * gdb.base/watch_thread_num.exp: Skip test on targets without
4165 access watchpoints.
4166
80ad801e
PA
41672015-05-06 Pedro Alves <palves@redhat.com>
4168
4169 PR server/18081
4170 * gdb.server/non-existing-program.exp: New file.
4171
0fa7fe50
JB
41722015-05-05 Joel Brobecker <brobecker@adacore.com>
4173
4174 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
4175
3ea89b92
PMR
41762015-05-05 Joel Brobecker <brobecker@adacore.com>
4177
4178 * gdb.ada/out_of_line_in_inlined: New testcase.
4179
87b8eff0
JB
41802015-05-05 Joel Brobecker <brobecker@adacore.com>
4181
4182 * gdb.ada/var_rec_arr: New testcase.
4183
5fccc635
YQ
41842015-04-30 Yao Qi <yao.qi@linaro.org>
4185
4186 * gdb.base/break-idempotent.exp: If
4187 skip_hw_watchpoint_multi_tests returns true, skip the tests
4188 on "rwatch" and "awatch".
4189
42d38f42
YQ
41902015-04-30 Yao Qi <yao.qi@linaro.org>
4191
4192 * gdb.base/relativedebug.exp: Invoke gdb command
4193 "info sharedlibrary", and if libc.so doesn't have debug info,
4194 skip the test.
4195
2ce1cdbf
DE
41962015-04-29 Doug Evans <dje@google.com>
4197
4198 * gdb.python/py-xmethods.exp: Add ptype tests.
4199 * gdb.python/py-xmethods.py (E_method_char_worker): Add
4200 get_result_type method.
4201
f24a38c5
LM
42022015-04-29 Luis Machado <lgustavo@codesourcery.com>
4203
4204 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
4205 the target does not support hardware watchpoints.
4206
ecbf2b3c
LM
42072015-04-29 Luis Machado <lgustavo@codesourcery.com>
4208
4209 * gdb.base/break-always.exp: Abort testing if writing to memory
4210 causes an error.
4211
34f5f757
DE
42122015-04-28 Doug Evans <dje@google.com>
4213
4214 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
4215 * gdb.python/py-pp-registration.exp: ... here. New file.
4216 * gdb.python/py-pp-registration.c: New file.
4217 * gdb.python/py-pp-registration.py: New file.
4218
69b4374a
DE
42192015-04-28 Doug Evans <dje@google.com>
4220
4221 * gdb.python/py-bad-printers.c: New file.
4222 * gdb.python/py-bad-printers.py: New file.
4223 * gdb.python/py-bad-printers.exp: New file.
4224
59fb7612
SS
42252015-04-28 Sasha Smundak <asmundak@google.com>
4226
4227 * gdb.python/py-type.exp: New test.
4228
2631b16a
AW
42292015-04-28 Andy Wingo <wingo@igalia.com>
4230
4231 * gdb.python/py-parameter.exp:
4232 * gdb.guile/scm-parameter.exp: Escape the path that we are
4233 matching against, as it might contain characters that are special
4234 to regular expressions.
4235
460efde1
JB
42362015-04-27 Joel Brobecker <brobecker@adacore.com>
4237
4238 * gdb.ada/rec_comp: New testcase.
4239
2d369d8e
SDJ
42402015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
4241
4242 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
4243 before using it.
4244
cf75d6c3
AB
42452015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
4246
4247 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4248 new tests for verilog output.
4249
8dbe7ca5
YQ
42502015-04-24 Yao Qi <yao.qi@linaro.org>
4251
4252 * boards/remote-gdbserver-on-localhost.exp: New file.
4253
4ef9fb2f
PA
42542015-04-23 Pedro Alves <palves@redhat.com>
4255
4256 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4257 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4258 "end of file", remove $inferior_spawn_id from the indirect list.
4259
0a803169
PA
42602015-04-23 Pedro Alves <palves@redhat.com>
4261
4262 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4263
749ef8f8
PA
42642015-04-23 Pedro Alves <palves@redhat.com>
4265
4266 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4267 on $any_spawn_id instead of only on $gdb_spawn_id.
4268
8aae4344
PM
42692015-04-21 Pierre Muller <muller@sourceware.org>
4270
4271 PR pascal/17815
4272 * lib/pascal.exp (gpc_compile): Add new option "class".
4273 (fpc_compile): Likewise.
4274 * gdb.pascal/case-insensitive-symbols.pas: New file.
4275 * gdb.pascal/case-insensitive-symbols.exp: New file.
4276
1586c8fb
GB
42772015-04-20 Gary Benson <gbenson@redhat.com>
4278
4279 * gdb.base/attach.exp: Fix three extended remote failures.
4280
1b6e6f5c
GB
42812015-04-17 Gary Benson <gbenson@redhat.com>
4282
4283 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4284 the main executable over the remote protocol.
4285
e797481d
PA
42862015-04-16 Pedro Alves <palves@redhat.com>
4287
4288 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4289 a new gdbserver if gdbserver_reconnect_p is set.
4290
1ca99c42
PA
42912015-04-16 Pedro Alves <palves@redhat.com>
4292
4293 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4294 is set, don't exit gdbserver.
4295
af9fd6f8
AA
42962015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4297
4298 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4299 appropriate .insn, such that an older assembler can be used.
4300 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4301 the z/Architecture instruction set on 31-bit targets as well.
4302
04ff1e61
AA
43032015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4304
4305 * gdb.go/handcall.exp: Remove all logic related to the first
4306 breakpoint and rely on go_runto_main instead.
4307 * gdb.go/strings.exp: Likewise.
4308 * gdb.go/unsafe.exp: Likewise.
4309 * gdb.go/hello.exp: Likewise. Also rename the remaining
4310 breakpoint marker to "breakpoint 1".
4311 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4312 * gdb.go/strings.go: Likewise.
4313 * gdb.go/unsafe.go: Likewise.
4314 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4315 "set breakpoint 2 here" and rename the remaining breakpoint marker
4316 to "breakpoint 1".
4317
40d2f8d6
SM
43182015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4319
4320 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4321 if itertools.imap is not present.
4322 * gdb.python/py-objfile.exp: Add parentheses.
4323 * gdb.python/py-type.exp: Same.
4324 * gdb.python/py-unwind-maint.py: Same.
4325
8cbc97c6
YQ
43262015-04-15 Yao Qi <yao.qi@linaro.org>
4327
4328 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4329 of ":$ptr_size" and set its form explicitly.
4330
45fd756c
YQ
43312015-04-15 Pedro Alves <palves@redhat.com>
4332 Yao Qi <yao.qi@linaro.org>
4333
4334 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4335 timeout by factor of 4.
4336 (test_regular_watch): Likewise.
4337 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4338 * gdb.reverse/sigall-reverse.exp: Likewise.
4339 * gdb.reverse/until-precsave.exp: Likewise.
4340 * lib/gdb.exp (with_timeout_factor): New proc.
4341 (gdb_expect): Move some code to ...
4342 (get_largest_timeout): ... here. New procedure.
4343
9e811bc3
LM
43442015-04-14 Luis Machado <lgustavo@codesourcery.com>
4345
4346 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4347
0ff6fcb2
LM
43482015-04-13 Luis Machado <lgustavo@codesourcery.com>
4349
4350 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4351 to write to the .text section.
4352
7578d5f7
LM
43532015-04-13 Luis Machado <lgustavo@codesourcery.com>
4354
4355 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4356 Handle the case of targets that do not provide PID information.
4357
2efe15c4
YQ
43582015-04-13 Yao Qi <yao.qi@linaro.org>
4359
4360 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4361 and use expect instead of gdb_expect.
4362
8cd8f2f8
SDJ
43632015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4364
4365 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4366 "coredump_var_addr" to avoid naming conflict with other testcases.
4367
9ee41772
PA
43682015-04-10 Pedro Alves <palves@redhat.com>
4369
4370 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4371 gdb_test_sequence and gdb_assert.
4372
07473109
PA
43732015-04-10 Pedro Alves <palves@redhat.com>
4374
4375 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4376 test messages that don't include the breakpoint address.
4377
de3db44c
YQ
43782015-04-10 Yao Qi <yao.qi@linaro.org>
4379
4380 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4381 false for some offset and width combinations which aren't
4382 supported by linux kernel.
4383
c79d856c
PA
43842015-04-10 Pedro Alves <palves@redhat.com>
4385
4386 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4387 procedure, factored out from ...
4388 (top level): ... here. Add "set displaced-stepping" testing axis.
4389 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4390 parameter "displaced". Use it.
4391 (top level): Use foreach and add "set displaced-stepping" testing
4392 axis.
4393
ebc90b50
PA
43942015-04-10 Pedro Alves <palves@redhat.com>
4395
4396 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4397 Remove comment.
4398 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4399 both the address of the instruction that triggers the watchpoint
4400 and the address of the instruction immediately after, and use
4401 those addresses for the test. Fix comment.
4402
8f572e5c
PA
44032015-04-10 Pedro Alves <palves@redhat.com>
4404
4405 * gdb.base/sigstep.exp (breakpoint_to_handler)
4406 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4407 Test "backtrace" in handler.
4408 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4409 (top level): Add new "displaced" test axis to
4410 breakpoint_to_handler, breakpoint_to_handler_entry and
4411 breakpoint_over_handler.
4412
8d707a12
PA
44132015-04-10 Pedro Alves <palves@redhat.com>
4414
4415 PR gdb/18216
4416 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4417
ef713951
YQ
44182015-04-10 Yao Qi <yao.qi@linaro.org>
4419
4420 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4421 (test_add_rn_pc): New function.
4422 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4423 (top level): Invoke test_add_rn_pc.
4424
906d60cf
PA
44252015-04-10 Pedro Alves <palves@redhat.com>
4426
4427 PR gdb/13858
4428 * gdb.base/step-over-no-symbols.exp: New file.
4429
f2983cc3
AW
44302015-04-09 Andy Wingo <wingo@igalia.com>
4431
4432 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4433 after the Python tests.
4434
6d62641c
SDJ
44352015-04-08 Keith Seitz <keiths@redhat.com>
4436
4437 PR python/16699
4438 * gdb.python/py-completion.exp: New tests for completion.
4439 * gdb.python/py-completion.py (CompleteLimit1): New class.
4440 (CompleteLimit2): Likewise.
4441 (CompleteLimit3): Likewise.
4442 (CompleteLimit4): Likewise.
4443 (CompleteLimit5): Likewise.
4444 (CompleteLimit6): Likewise.
4445 (CompleteLimit7): Likewise.
4446
f3770638
PA
44472015-04-08 Pedro Alves <palves@redhat.com>
4448
4449 PR gdb/18214
4450 PR gdb/18216
4451 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4452 function.
4453 (main): Install it as SIGUSR1 handler.
4454 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4455 parameter. Always use "setup" as prefix. Toggle "set
4456 displaced-stepping" off/on depending on global. Don't switch to
4457 thread 1 here.
4458 (top level): Add displaced stepping "off/on" test axis. Update
4459 "setup" calls. Wrap each subtest with with_test_prefix. Test
4460 continuing with a queued signal in each thread.
4461
4496bed7
PA
44622015-04-08 Pedro Alves <palves@redhat.com>
4463
4464 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4465 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4466 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4467 Return early if running to main fails.
4468 * gdb.trace/while-stepping.exp: Likewise.
4469
b97fde92
PA
44702015-04-07 Pedro Alves <palves@redhat.com>
4471
4472 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4473 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4474 interact with inferior program.
4475
f71c18e7
PA
44762015-04-07 Pedro Alves <palves@redhat.com>
4477
4478 * lib/gdb.exp (inferior_spawn_id): New global.
4479 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4480 spawn id after processing the user code.
4481 (default_gdb_start): Set inferior_spawn_id.
4482 (send_inferior): New procedure.
4483 * lib/gdbserver-support.exp (gdbserver_start): Set
4484 inferior_spawn_id.
4485 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4486
6423214f
PA
44872015-04-07 Pedro Alves <palves@redhat.com>
4488
4489 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4490 * lib/gdbserver-support.exp (gdbserver_start): Make
4491 $server_spawn_id global.
4492 (gdbserver_start): Don't wait for gdbserver's spawn id with
4493 expect_background.
4494 (close_gdbserver): New procedure.
4495 (gdb_exit): Rename the default version and reimplement.
4496
71c0ee8c
PA
44972015-04-07 Pedro Alves <palves@redhat.com>
4498
72f4393d 4499 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
4500 append the substituted item, not the original item.
4501
203bc29b
PA
45022015-04-07 Pedro Alves <palves@redhat.com>
4503
4504 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4505 gdb_expect.
4506
508a3ddf
PA
45072015-04-07 Pedro Alves <palves@redhat.com>
4508
4509 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4510 output appearing once only.
4511
9f6dbe2b
PA
45122015-04-07 Pedro Alves <palves@redhat.com>
4513
4514 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4515 that doesn't expect anything. Return early if running to main
4516 fails.
4517
337532fa
YQ
45182015-04-07 Yao Qi <yao.qi@linaro.org>
4519
4520 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4521 (child_function): Call alarm.
4522 (main): Move call to alarm into the loop.
4523 * gdb.threads/non-stop-fair-events.exp: Build program with
4524 -DTIMEOUT=$timeout.
4525
01b622d4
DE
45262015-04-06 Doug Evans <xdje42@gmail.com>
4527
4528 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4529 Fix dest parameter to board_info.
4530 (fpc_compile): Ditto.
4531 (gdb_compile_pascal): Rename dest arg to destfile.
4532
961f4160
PMR
45332015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4534
4535 * gdb.ada/funcall_ref.exp: New file.
4536 * gdb.ada/funcall_ref/foo.adb: New file.
4537
cafda597
YQ
45382015-04-02 Yao Qi <yao.qi@linaro.org>
4539
4540 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4541 is remote.
4542
fed040c6
GB
45432015-04-02 Gary Benson <gbenson@redhat.com>
4544
4545 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4546
d11916aa
SS
45472015-04-01 Sasha Smundak <asmundak@google.com>
4548
4549 * gdb.python/py-unwind-maint.c: New file.
4550 * gdb.python/py-unwind-maint.exp: New test.
4551 * gdb.python/py-unwind-maint.py: New file.
4552 * gdb.python/py-unwind.c: New file.
4553 * gdb.python/py-unwind.exp: New test.
4554 * gdb.python/py-unwind.py: New test.
4555
a1471180
PA
45562015-04-01 Pedro Alves <palves@redhat.com>
4557
4558 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4559 to fail instead of non-existent $test.
4560
0bbeccb1
PA
45612015-04-01 Pedro Alves <palves@redhat.com>
4562
4563 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4564 GDBFLAGS if not empty.
4565
3c724c8c
PMR
45662015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4567
4568 * gdb.ada/complete.exp: Remove "multi_line".
4569 * gdb.ada/info_exc.exp: Remove "multi_line".
4570 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4571 * gdb.ada/ptype_field.exp: Remove "multi_line".
4572 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4573 * gdb.ada/tagged.exp: Remove "multi_line".
4574 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4575 [multi_line ...]
4576 * gdb.btrace/delta.exp: Likewise.
4577 * gdb.btrace/exception.exp: Likewise.
4578 * gdb.btrace/function_call_history.exp: Likewise.
4579 * gdb.btrace/instruction_history.exp: Likewise.
4580 * gdb.btrace/nohist.exp: Likewise.
4581 * gdb.btrace/record_goto.exp: Likewise.
4582 * gdb.btrace/segv.exp: Likewise.
4583 * gdb.btrace/stepi.exp: Likewise.
4584 * gdb.btrace/tailcall.exp: Likewise.
4585 * gdb.btrace/unknown_functions.exp: Likewise.
4586 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4587 * lib/gdb.exp: Add the "multi_line" helper.
4588
4eec2deb
PA
45892015-04-01 Pedro Alves <palves@redhat.com>
4590
4591 * gdb.threads/tid-reuse.c: New file.
4592 * gdb.threads/tid-reuse.exp: New file.
4593
df8411da
SDJ
45942015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4595
4596 PR corefiles/16092
4597 * gdb.base/coredump-filter.c: New file.
4598 * gdb.base/coredump-filter.exp: Likewise.
4599
6ef37366
PM
46002015-03-27 Petr Machata <pmachata@redhat.com>
4601
4602 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4603 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4604 (Dwarf::assemble): Initialize them.
4605 (Dwarf::lines): New function.
4606
7ec911b0
JT
46072015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4608
4609 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4610 SYMBOL_PREFIX for x86_64-*-cygwin.
4611
ff908ebf
AW
46122015-03-26 Andy Wingo <wingo@igalia.com>
4613
4614 PR symtab/18148
4615 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4616 const_value but not a location.
4617 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4618 location defined in non-main CUs are visible.
4619
6d5f0679
YQ
46202015-03-26 Yao Qi <yao.qi@linaro.org>
4621
4622 PR testsuite/18139
4623 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4624 Add a line number entry for the same line.
4625 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4626 Add a line number entry for the same line.
4627
2898689b
YQ
46282015-03-26 Yao Qi <yao.qi@linaro.org>
4629
4630 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4631 .int 0.
4632 (func): Likewise. Add .Lfunc_1 label.
4633 Use .Lfunc_1 label.
4634 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4635 .int 0.
4636 (func): Likewise.
4637 Use .Lfunc_1 label.
4638
85180498
YQ
46392015-03-26 Yao Qi <yao.qi@linaro.org>
4640
4641 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4642 Call gdb_compile instead to compile each .s files without debug
4643 information.
4644
8aa08a8d
YQ
46452015-03-26 Yao Qi <yao.qi@linaro.org>
4646
4647 * gdb.base/savedregs.exp (process_saved_regs): Make
4648 "Saved registers:" optional in the pattern.
4649
66849923
MM
46502015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4651
4652 * gdb.btrace/next.exp: Merged into step.exp.
4653 * gdb.btrace/finish.exp: Merged into step.exp.
4654 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4655 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4656 "record goto" and checking the exact replay position.
4657 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4658 check for "Recording format" in "info record" output.
4659 * gdb.btrace/record_goto.exp: Choose test file based on target.
4660 * gdb.btrace/x86-record_goto.S: Renamed into ...
4661 * gdb.btrace/x86_64-record_goto.S: ... this.
4662 * gdb.btrace/i686-record_goto.S: New.
4663 * gdb.btrace/x86-tailcall.S: Renamed into ...
4664 * gdb.btrace/x86_64-tailcall.S: ... this.
4665 * gdb.btrace/i686-tailcall.S: New.
4666 * gdb.btrace/x86-tailcall.c: Renamed into ...
4667 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4668 separate statements. Update test.
4669 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4670 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4671 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4672 * gdb.btrace/tailcall.exp: Choose test file based on target.
4673 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4674
11cc1b74
MM
46752015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4676
4677 * gdb.btrace/exception.exp: Increase BTS buffer size.
4678
a25d8bf9
PA
46792015-03-24 Pedro Alves <palves@redhat.com>
4680
4681 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4682
856e7dd6
PA
46832015-03-24 Pedro Alves <palves@redhat.com>
4684
4685 * gdb.threads/schedlock.exp (test_step): No longer expect that
4686 "set scheduler-locking step" with "next" over a function call runs
4687 threads unlocked.
4688
ad235a41
AT
46892015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4690
4691 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4692
15630549
AT
46932015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4694
4695 PR breakpoints/16466
4696 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4697 * gdb.mi/mi-pending.c (thread_func): New function.
4698 (int main): Add threading support required.
4699 * gdb.mi/mi-pending.exp: Add tests for this issue.
4700 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4701 (pendfunc2): Remove stdio dependency.
4702 * gdb.mi/mi-pendshr2.c: New file.
4703
693dca06
KS
47042015-03-23 Keith Seitz <keiths@redhat.com>
4705
4706 * gdb.linespec/keywords.c: New file.
4707 * gdb.linespec/keywords.exp: New file.
4708
7e993ebf
KS
47092015-03-23 Keith Seitz <keiths@redhat.com>
4710
4711 PR gdb/18021
4712 * gdb.dwarf2/staticvirtual.exp: New test.
4713
bc23328c
JK
47142015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4715
4716 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4717 * README: Remove HP-UX and gdb.hp.
4718 (configuration):
4719 * configure: Regenerate.
4720 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4721 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4722 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4723 gdb.hp/gdb.defects/Makefile.
4724 * gdb.hp/Makefile.in: File deleted.
4725 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4726 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4727 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4728 * gdb.hp/gdb.aCC/run.c: File deleted.
4729 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4730 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4731 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4732 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4733 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4734 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4735 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4736 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4737 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4738 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4739 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4740 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4741 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4742 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4743 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4744 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4745 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4746 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4747 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4748 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4749 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4750 * gdb.hp/gdb.compat/average.c: File deleted.
4751 * gdb.hp/gdb.compat/sum.c: File deleted.
4752 * gdb.hp/gdb.compat/xdb.c: File deleted.
4753 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4754 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4755 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4756 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4757 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4758 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4759 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4760 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4761 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4762 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4763 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4764 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4765 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4766 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4767 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4768 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4769 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4770 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4771 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4772 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4773 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4774 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4775 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4776 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4777 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4778 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4779 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4780 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4781 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4782 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4783 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4784 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4785 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4786 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4787 * gdb.hp/tools/odump: File deleted.
4788
8bf3b159
PA
47892015-03-19 Pedro Alves <palves@redhat.com>
4790
4791 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4792 (saw_thread_3): New globals.
4793 (top level): Increment them when an event for the corresponding
4794 thread is seen.
4795 (no thread starvation): New test.
4796
eb54c8bf
PA
47972015-03-19 Pedro Alves <palves@redhat.com>
4798
4799 * gdb.threads/continue-pending-status.c: New file.
4800 * gdb.threads/continue-pending-status.exp: New file.
4801
32d2e5d6
PA
48022015-03-18 Pedro Alves <palves@redhat.com>
4803
4804 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4805 Use gdb_is_target_remote instead of is_remote. Use
4806 gdb_test_multiple instead of gdb_expect. Exit early if
4807 gdb_test_multiple hits its internal matches. Tighten stepi tests
4808 expected output. Fail on exit with any signal, instead of just
4809 SIGILL.
4810
f68f11b7
YQ
48112015-03-18 Yao Qi <yao.qi@linaro.org>
4812
4813 PR tdep/18107
4814 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4815 variable.
4816 * gdb.base/catch-syscall.exp: Don't skip it on
4817 aarch64*-*-linux* target. Remove elements in all_syscalls.
4818 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4819 target.
4820 (setup_all_syscalls): New proc.
4821
ca5fd19b
YQ
48222015-03-16 Yao Qi <yao.qi@linaro.org>
4823
4824 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4825 (top level): Skip tests if valid_addr_p returns false for
4826 $cmd1 or $cmd2.
4827
85642ba0
AW
48282015-03-11 Andy Wingo <wingo@igalia.com>
4829
4830 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4831
e03f9645
YQ
48322015-03-11 Yao Qi <yao.qi@linaro.org>
4833
4834 * gdb.base/catch-syscall.exp: Fix typo in comments.
4835
5d0962b2
YQ
48362015-03-11 Yao Qi <yao.qi@linaro.org>
4837
4838 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4839
b2df3cef
PA
48402015-03-09 Pedro Alves <palves@redhat.com>
4841
4842 * dg-extract-results.py: Delete.
4843
ef878e53
PA
48442015-03-09 Pedro Alves <palves@redhat.com>
4845
4846 Merge dg-extract-results.sh from GCC upstream (r218843).
4847
4848 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4849 * dg-extract-results.sh: Use --text with grep to avoid issues with
4850 binary files. Fall back to cat -v, if that doesn't work.
4851
9494d219
PA
48522015-03-05 Pedro Alves <palves@redhat.com>
4853
4854 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4855
a8d9763a
SM
48562015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4857
4858 * lib/mi-support.exp (mi_expect_interrupt): Accept
4859 alternative event for when in all-stop mode.
4860
be9957b8
PA
48612015-03-04 Pedro Alves <palves@redhat.com>
4862
4863 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4864
d57be0f4 48652015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
4866
4867 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4868
c214c7cf
AA
48692015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4870
4871 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4872 regexps for GDB's current line display, accept a hex address
4873 preceding the line number.
4874
6d74a497
AA
48752015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4876
4877 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4878 the 'arch1' variable for "s390*-linux*" targets.
4879
511aee7c
PA
48802015-03-04 Pedro Alves <palves@redhat.com>
4881
4882 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4883 (main): Pass missing retval argument to pthread_join call.
4884
95e50b27
PA
48852015-03-02 Pedro Alves <palves@redhat.com>
4886
4887 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4888 (top level): Call do_test with non-stop as well.
4889
28054d69
PA
48902015-03-02 Pedro Alves <palves@redhat.com>
4891
4892 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4893 -1.
4894
4fa5d7b4
AA
48952015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4896
4897 * gdb.arch/s390-vregs.exp: New test.
4898 * gdb.arch/s390-vregs.S: New file.
4899
97c18565
PA
49002015-02-27 Pedro Alves <palves@redhat.com>
4901
4902 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4903 call to catch_command_errors.
4904 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4905 catch_command_errors.
4906
a37bfa30
PA
49072015-02-27 Pedro Alves <palves@redhat.com>
4908
4909 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4910 "true" for boolean result.
4911 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4912 prototype of main.
4913
6f98576f
PA
49142015-02-27 Pedro Alves <palves@redhat.com>
4915
4916 * lib/unbuffer_output.c: New file.
4917 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4918 (main): Call gdb_unbuffer_output.
4919
eba5ab56
YQ
49202015-02-27 Yao Qi <yao.qi@linaro.org>
4921
4922 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4923 target.
4924
0def5aaa
DE
49252015-02-26 Doug Evans <dje@google.com>
4926
4927 * gdb.cp/class2.cc (Dbase, D): New classes.
4928 (main): New local delta.
4929 * gdb.cp/class2.exp: Test printing delta.
4930 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4931 (dynbar): New global.
4932 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4933
081a1c2c
JK
49342015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4935
4936 * gdb.compile/compile-ifunc.c: New file.
4937 * gdb.compile/compile-ifunc.exp: New file.
4938
2f41223f
AT
49392015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4940
4941 * gdb.base/structs.exp: Check for correct struct on finish.
4942
03eddd80
YQ
49432015-02-26 Yao Qi <yao.qi@linaro.org>
4944
4945 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4946 is zero.
4947
80c57053
JK
49482015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4949
4950 * gdb.arch/cordic.ko.bz2: New file.
4951 * gdb.arch/cordic.ko.debug.bz2: New file.
4952 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4953
21613c12
YQ
49542015-02-25 Yao Qi <yao.qi@linaro.org>
4955
4956 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4957 aarch64*-*-* target.
4958
d8b901ed
PA
49592015-02-23 Pedro Alves <palves@redhat.com>
4960
4961 * lib/gdb.exp (delete_breakpoints): Rewrite using
4962 gdb_test_multiple.
4963
e5b85ead
PA
49642015-02-23 Pedro Alves <palves@redhat.com>
4965
4966 * gdb.base/info-os.c: Include stdlib.h.
4967
85c3a371
DE
49682015-02-22 Doug Evans <xdje42@gmail.com>
4969
4970 PR symtab/17855
4971 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4972 is read after symbols have been re-read.
4973 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4974 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4975
96553a0c
DE
49762015-02-21 Doug Evans <dje@google.com>
4977
4978 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4979
97a0c697
JK
49802015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4981
4982 PR corefiles/17808
4983 * gdb.arch/i386-biarch-core.core.bz2: New file.
4984 * gdb.arch/i386-biarch-core.exp: New file.
4985
a47cd6e9
PA
49862015-02-21 Pedro Alves <palves@redhat.com>
4987
4988 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4989 runto_main fails.
4990
c5facdc4
PA
49912015-02-20 Pedro Alves <palves@redhat.com>
4992
4993 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4994 info probes.
4995
2db9a427
PA
49962015-02-20 Pedro Alves <palves@redhat.com>
4997
4998 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4999
60fb7e9e
PA
50002015-02-20 Pedro Alves <palves@redhat.com>
5001
5002 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
5003 clean_restart before gdb_target_supports_trace.
5004
5c5019c2
PA
50052015-02-20 Pedro Alves <palves@redhat.com>
5006
5007 PR threads/18006
5008 * gdb.threads/clone-thread_db.c: New file.
5009 * gdb.threads/clone-thread_db.exp: New file.
5010
c9587f88
AT
50112015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
5012
5013 PR breakpoints/16812
5014 * gdb.base/catch-gdb-caused-signals.c: New file.
5015 * gdb.base/catch-gdb-caused-signals.exp: New file.
5016
f6a88844
JM
50172015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
5018
5019 * configure: Regenerated.
5020 * configure.ac: Use GDB_AC_TRANSFORM.
5021 * aclocal.m4: sinclude ../transform.m4.
5022
497c491b
JM
50232015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5024
5025 * lib/dtrace.exp: New file.
5026 * gdb.base/dtrace-probe.exp: Likewise.
5027 * gdb.base/dtrace-probe.d: Likewise.
5028 * gdb.base/dtrace-probe.c: Likewise.
5029 * lib/pdtrace.in: Likewise.
5030 * configure.ac: Output variables with the transformed names of
5031 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
5032 * configure: Regenerated.
5033
03e98035
JM
50342015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5035
5036 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
5037 expected message when trying to access $_probe_* convenience
5038 variables while not on a probe.
5039
63cc30e9
JK
50402015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5041
5042 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
5043
0703599a
PA
50442015-02-11 Pedro Alves <pedro@codesourcery.com>
5045
5046 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
5047 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
5048
7e60a48e
DE
50492015-02-10 Doug Evans <xdje42@gmail.com>
5050
5051 * lib/gdb.exp (gdb_load): Always return a result.
5052
01b088bc
PA
50532015-02-10 Pedro Alves <palves@redhat.com>
5054
5055 * gdb.threads/signal-sigtrap.c: New file.
5056 * gdb.threads/signal-sigtrap.exp: New file.
5057
b05ec7a5
AT
50582015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
5059
5060 * gdb.trace/no-attach-trace.c: New file.
5061 * gdb.trace/no-attach-trace.exp: New file.
5062
a2c2acaf
MW
50632015-02-09 Mark Wielaard <mjw@redhat.com>
5064
5065 * gdb.dwarf2/atomic.c: New file.
5066 * gdb.dwarf2/atomic-type.exp: Likewise.
5067
31fd9caa
MM
50682015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5069
5070 * gdb.btrace/buffer-size.exp: Update "info record" output.
5071 * gdb.btrace/delta.exp: Update "info record" output.
5072 * gdb.btrace/enable.exp: Update "info record" output.
5073 * gdb.btrace/finish.exp: Update "info record" output.
5074 * gdb.btrace/instruction_history.exp: Update "info record" output.
5075 * gdb.btrace/next.exp: Update "info record" output.
5076 * gdb.btrace/nexti.exp: Update "info record" output.
5077 * gdb.btrace/step.exp: Update "info record" output.
5078 * gdb.btrace/stepi.exp: Update "info record" output.
5079 * gdb.btrace/nohist.exp: Update "info record" output.
5080
d33501a5
MM
50812015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5082
5083 * gdb.btrace/buffer-size: New.
5084
f4abbc16
MM
50852015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5086
5087 * gdb.btrace/delta.exp: Update "info record" output.
5088 * gdb.btrace/enable.exp: Update "info record" output.
5089 * gdb.btrace/finish.exp: Update "info record" output.
5090 * gdb.btrace/instruction_history.exp: Update "info record" output.
5091 * gdb.btrace/next.exp: Update "info record" output.
5092 * gdb.btrace/nexti.exp: Update "info record" output.
5093 * gdb.btrace/step.exp: Update "info record" output.
5094 * gdb.btrace/stepi.exp: Update "info record" output.
5095 * gdb.btrace/nohist.exp: Update "info record" output.
5096
b9d61307
SM
50972015-02-06 Simon Marchi <simon.marchi@ericsson.com>
5098
5099 PR gdb/15678
5100 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
5101
e584fdbc
PA
51022015-02-06 Pedro Alves <palves@redhat.com>
5103
5104 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
5105 macro.
5106 (seconds_left, again): New globals.
5107 (main): Wait seconds_left in a 1-second sleep loop instead of
5108 sleeping 180 seconds. If 'again' is set, reset the seconds
5109 counter.
5110 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
5111 'again' in the inferior before detaching. Print the seconds left.
5112 (options): New global.
5113 (top level): Build program with -DTIMEOUT=$timeout.
5114
77f41761
PA
51152015-02-06 Pedro Alves <palves@redhat.com>
5116
5117 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
5118 determine how many seconds to pass to 'alarm'.
5119 * gdb.base/gdb-sigterm.exp (top level): Build program with
5120 -DTIMEOUT=$timeout.
5121 (do_test): Return success/failure indication. Add more verbose
5122 logging. Don't fail if 200 single steps are seen. Instead, fail
5123 when the test times out.
5124 (passes): New global.
5125 (top level): Break the testing loop if testing fails on any
5126 iteration. Use gdb_assert.
5127
b9394193
DB
51282015-02-04 Don Breazeal <donb@codesourcery.com>
5129
5130 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
5131 and initialize them.
5132 (ipc_cleanup): New function.
5133 (main): Don't declare shmid, semid, and msqid. Add a call to
5134 atexit so that we call ipc_cleanup on exit.
5135
42d9e528
PA
51362015-02-04 Pedro Alves <palves@redhat.com>
5137
5138 * boards/native-extended-gdbserver.exp: Remove any target variant
5139 specifications from the board name before clearing the isremote
5140 flag from board_info.
5141
ae6ae975
DE
51422015-01-31 Doug Evans <xdje42@gmail.com>
5143
5144 * gdb.base/maint.exp <maint print type argc>: Update expected output.
5145
cfb069a8
GB
51462015-01-31 Gary Benson <gbenson@redhat.com>
5147
5148 * gdb.base/completion.exp: Disable completion limiting for
5149 existing tests. Add new tests to check completion limiting.
5150 * gdb.linespec/ls-errs.exp: Disable completion limiting.
5151
5dd31d79
DE
51522015-01-31 Doug Evans <xdje42@gmail.com>
5153
5154 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
5155
9f050062
DE
51562015-01-31 Doug Evans <xdje42@gmail.com>
5157
5158 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
5159 entries. Duplicate file section script entries.
5160 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
5161 inlined entries. Add test for safe-path rejection.
5162 * gdb.python/py-section-script.c: Add duplicate inlined section script
5163 entries. Duplicate file section script entries.
5164 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
5165 inlined entries. Add test for safe-path rejection.
5166
df25ebbd
JB
51672015-01-29 Joel Brobecker <brobecker@adacore.com>
5168
5169 * gdb.ada/disc_arr_bound: New testcase.
5170
4a0ca9ec
JB
51712015-01-29 Joel Brobecker <brobecker@adacore.com>
5172
5173 * gdb.ada/mi_var_array: New testcase.
5174
3a8b707a
DE
51752015-01-27 Doug Evans <dje@google.com>
5176
5177 * gdb.python/py-objfile.exp: Add tests for objfile.username.
5178 Add test for objfile.filename, objfile.username after objfile
5179 has been unloaded.
5180
f8313f6e
JB
51812015-01-26 Joel Brobecker <brobecker@adacore.com>
5182
5183 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
5184 the second test to print the name attribute of value
5185 returned by the call to gdb.lookup_type, and adjust
5186 the expected output accordingly.
5187
37bc665e
MW
51882015-01-25 Mark Wielaard <mjw@redhat.com>
5189
5190 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
5191 * gdb.base/disp-step-fork.c: Include unistd.h.
5192 * gdb.base/siginfo-obj.c: Include stdio.h.
5193 * gdb.base/siginfo-thread.c: Likewise.
5194 * gdb.mi/non-stop.c: Include unistd.h.
5195 * gdb.mi/nsthrexec.c: Include stdio.h.
5196 * gdb.mi/pthreads.c: Include unistd.h.
5197 * gdb.modula2/unbounded1.c (main): Declare returns int.
5198 * gdb.reverse/consecutive-reverse.c: Likewise.
5199 * gdb.threads/create-fail.c: Include unistd.h.
5200 * gdb.threads/killed.c: Likewise.
5201 * gdb.threads/linux-dp.c: Likewise.
5202 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
5203 * gdb.threads/non-ldr-exc-2.c: Likewise.
5204 * gdb.threads/non-ldr-exc-3.c: Likewise.
5205 * gdb.threads/non-ldr-exc-4.c: Likewise.
5206 * gdb.threads/pthreads.c: Include unistd.h.
5207 (main): Declare returns int.
5208 * gdb.threads/tls-main.c (foo): New declaration.
5209 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
5210
f7e5394d
SM
52112015-01-23 Simon Marchi <simon.marchi@ericsson.com>
5212
5213 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
5214 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
5215
743649fd
MW
52162015-01-15 Mark Wielaard <mjw@redhat.com>
5217
5218 * gdb.base/noreturn-return.c: New file.
5219 * gdb.base/noreturn-return.exp: New file.
5220 * gdb.base/noreturn-finish.c: New file.
5221 * gdb.base/noreturn-finish.exp: New file.
5222
198297aa
PA
52232015-01-23 Pedro Alves <palves@redhat.com>
5224
5225 * gdb.threads/continue-pending-after-query.c: New file.
5226 * gdb.threads/continue-pending-after-query.exp: New file.
5227
717cf30c
AG
52282015-01-22 Anders Granlund <anders.granlund@ericsson.com>
5229 Simon Marchi <simon.marchi@ericsson.com>
5230
5231 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
5232 * gdb.base/valgrind-db-attach.exp: Same.
5233 * gdb.base/valgrind-infcall.exp: Same.
5234 * lib/mi-support.exp (default_mi_gdb_start): Same.
5235 * lib/prompt.exp (default_prompt_gdb_start): Same.
5236 * lib/gdb.exp (default_gdb_spawn): Same.
5237 (gdb_interact): New.
5238
5239
4b62a76e
JK
52402015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5241
5242 * gdb.compile/compile.exp (pointer to jit function): New test.
5243
b4cdae6f
WW
52442015-01-17 Wei-cheng Wang <cole945@gmail.com>
5245
5246 * lib/gdb.exp (supports_process_record): Return true for
5247 powerpc*-*-linux*.
5248 (supports_reverse): Likewise.
5249
d221e7ef
DB
52502015-01-15 Don Breazeal <donb@codesourcery.com>
5251
5252 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5253 instead of checking whether the target board is remote and
5254 use spawn_wait_for_attach instead of exec/sleep.
5255 * gdb.base/attach-twice.exp: Likewise.
5256
bafffb51
JB
52572015-01-15 Joel Brobecker <brobecker@adacore.com>
5258
5259 * gdb.ada/var_arr_attrs: New testcase.
5260
5589af0e
PA
52612015-01-14 Pedro Alves <palves@redhat.com>
5262 Joel Brobecker <brobecker@adacore.com>
5263
5264 PR gdb/17525
5265 * gdb.base/bp-cmds-execution-x-script.c: New file.
5266 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5267 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5268
6c400b59
PA
52692015-01-14 Pedro Alves <palves@redhat.com>
5270
5271 PR cli/17828
5272 * gdb.base/batch-preserve-term-settings.c: New file.
5273 * gdb.base/batch-preserve-term-settings.exp: New file.
5274
e02c96a7
DE
52752015-01-13 Doug Evans <dje@google.com>
5276
5277 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5278 binary.
5279
576fd14c
JB
52802015-01-13 Joel Brobecker <brobecker@adacore.com>
5281
5282 * Makefile.in (clean mostlyclean): Do not delete *.py.
5283
04dccad0
JB
52842015-01-13 Joel Brobecker <brobecker@adacore.com>
5285
5286 * gdb.python/py-lookup-type.exp: New file.
5287
3d230f71
PA
52882015-01-12 Pedro Alves <palves@redhat.com>
5289
5290 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5291 restore GDBFLAGS before returning.
5292
7e67715d
JK
52932015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5294
5295 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5296 is_amd64_regs_target and is_x86_like_target.
5297
f2e0d4b4
DE
52982015-01-11 Doug Evans <xdje42@gmail.com>
5299
5300 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5301 is given without an explicit form.
5302 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5303 attributes.
5304 * gdb.dwarf/corrupt.exp: Ditto.
5305 * gdb.dwarf2/enum-type.exp: Ditto.
5306 * gdb.trace/entry-values.exp: Ditto.
5307 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5308
439250fb
DE
53092015-01-11 Doug Evans <xdje42@gmail.com>
5310
5311 PR gdb/15830
5312 * gdb.base/maint.exp: Remove references to "maint demangle".
5313 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5314 Add tests for explicitly specifying language to demangle.
5315 * gdb.dlang/demangle.exp: Ditto.
5316
ede9f622
PA
53172015-01-09 Pedro Alves <palves@redhat.com>
5318
5319 * gdb.threads/non-stop-fair-events.c: New file.
5320 * gdb.threads/non-stop-fair-events.exp: New file.
5321
a7b796db
PA
53222015-01-09 Pedro Alves <palves@redhat.com>
5323
5324 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5325 the global scope. Set a breakpoint after all threads are started
5326 rather than stepping over two source lines. Expect the prompt.
5327 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5328 global.
5329 (NUM): Now 15.
5330 (main): Use threads_started_barrier to wait for all threads to
5331 start. Main thread no longer calls thread_function. Exit after
5332 180 seconds.
5333 (loop): New function.
5334 (thread_function): Wait on threads_started_barrier barrier. Call
5335 'loop' at each iteration.
5336 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5337 threads have started, instead of hardcoding number of "next"
5338 steps. Use an access watchpoint instead of a write watchpoint.
5339
9665ffdd
PA
53402015-01-09 Pedro Alves <palves@redhat.com>
5341
5342 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5343 (thread_func): Wait on barrier.
5344 (main): Wait for all threads to start before stopping GDB.
5345 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5346 global.
5347 (thread1_func, thread2_func): Wait on barrier.
5348 (main): Wait for all threads to start before stopping GDB.
5349 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5350 New global.
5351 (thread1_func, thread2_func): Wait on barrier.
5352 (main): Wait for all threads to start before stopping GDB.
5353
c945a99f
PA
53542015-01-09 Pedro Alves <palves@redhat.com>
5355
5356 * gdb.threads/attach-many-short-lived-threads.c: New file.
5357 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5358
c1a747c1
PA
53592014-01-09 Pedro Alves <palves@redhat.com>
5360
5361 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5362 instead of to thread 2.
5363 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5364 Add barrier around each pthread_create call instead of around all
5365 calls.
5366 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5367 Set a break on thread_function and have the child threads hit it
5368 one at at a time.
5369
60b3033e
PA
53702015-01-09 Pedro Alves <palves@redhat.com>
5371
5372 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5373 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5374 false.
5375 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5376 checking whether the target board is remote.
5377 * gdb.multi/multi-attach.exp: Likewise.
5378 * gdb.python/py-sync-interp.exp: Likewise.
5379 * gdb.server/ext-attach.exp: Likewise.
5380 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5381 tests that need to attach, instead of checking whether the target
5382 board is remote at the top of the file.
5383
acc018ac
YQ
53842015-01-08 Yao Qi <yao@codesourcery.com>
5385
5386 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5387
50a18af8
JK
53882015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5389
5390 Fix testcase compilation.
5391 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5392
8503d6e1
JB
53932015-01-06 Joel Brobecker <brobecker@adacore.com>
5394
5395 * gdb.python/py-type.exp: Add a couple test about empty
5396 array creation, and negative-length array creation.
5397
cc73dbcc
DE
53982015-01-02 Doug Evans <xdje42@gmail.com>
5399
5400 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5401
0300bbc7
DE
54022015-01-02 Doug Evans <dje@google.com>
5403
5404 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5405
9d85a0ec
YQ
54062014-12-29 Yao Qi <yao@codesourcery.com>
5407
5408 * gdb.trace/entry-values.exp: Update comments. Rename variable
5409 bar_call_foo to returned_from_foo.
5410
87186c6a
MMN
54112014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5412
5413 PR gdb/17394
5414 * gdb.linespec/break-asm-file.c: New file.
5415 * gdb.linespec/break-asm-file.exp: New file.
5416 * gdb.linespec/break-asm-file0.s: New file.
5417 * gdb.linespec/break-asm-file1.s: New file.
5418
1bab7383
YQ
54192014-12-18 Nigel Stephens <nigel@mips.com>
5420 Maciej W. Rozycki <macro@codesourcery.com>
5421
5422 * gdb.base/float.exp: Handle the new output from "info float" on
5423 MIPS targets.
5424
1bc1068a
JK
54252014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5426
5427 Fix MinGW compilation.
5428 * gdb.compile/compile-ops.exp: Update untested message if
5429 !skip_compile_feature_tests.
5430 * gdb.compile/compile-setjmp.exp: Likewise.
5431 * gdb.compile/compile-tls.exp: Likewise.
5432 * gdb.compile/compile.exp: Likewise.
5433 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5434 supported on this host".
5435
b6615d10
DE
54362014-12-16 Doug Evans <xdje42@gmail.com>
5437
5438 * boards/stabs.exp: New file.
5439
25dda427
AA
54402014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5441
5442 * gdb.base/completion.exp: Adjust to format changes of "maint
5443 print user-registers".
5444
bf330350
CU
54452014-12-16 Catalin Udma <catalin.udma@freescale.com>
5446
5447 PR server/17457
5448 * gdb.arch/aarch64-fp.c: New file.
5449 * gdb.arch/aarch64-fp.exp: New file.
5450
395cf596
SDJ
54512014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5452
5453 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5454 r210637, r210913, r211666, r215400, r215817).
5455
5456 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5457 * dg-extract-results.py: New file.
5458 * dg-extract-results.sh: Use it if the environment seems
5459 suitable.
5460
5461 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5462
5463 * dg-extract-results.py (parse_run): Handle warnings that
5464 are printed before a test harness is run.
5465
5466 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5467
5468 * dg-extract-results.py (Named): Remove __cmp__ method.
5469 (output_variation): Use a key to sort variation.harnesses.
5470
5471 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5472
5473 * dg-extract-results.py: For Python 3, force sys.stdout to
5474 handle surrogate escape sequences.
5475 (safe_open): New function.
5476 (output_segment, main): Use it.
5477
5478 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5479
5480 * dg-extract-results.py (Prog.result_re): Include options
5481 in test name.
5482
5483 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5484
5485 * dg-extract-results.py (output_variation): Always sort if
5486 do_sum.
5487
e882ef3c
SM
54882014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5489
5490 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5491 as long as we get pagination notifications.
5492
4992aa20
JM
54932014-12-15 Jason Merrill <jason@redhat.com>
5494
5495 * Makefile.in (check-gdb.%): Restore.
5496 * README: Mention it.
5497
c1b5a1a6
JB
54982014-12-13 Joel Brobecker <brobecker@adacore.com>
5499
5500 * gdb.ada/str_uninit: New testcase.
5501
5537b577
JK
55022014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5503
5504 PR symtab/17642
5505 * gdb.base/vla-stub-define.c: New file.
5506 * gdb.base/vla-stub.c: New file.
5507 * gdb.base/vla-stub.exp: New file.
5508
bb2ec1b3
TT
55092014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5510 Jan Kratochvil <jan.kratochvil@redhat.com>
5511 Tom Tromey <tromey@redhat.com>
5512
5513 * configure.ac: Add gdb.compile/.
5514 * configure: Regenerate.
5515 * gdb.compile/Makefile.in: New file.
5516 * gdb.compile/compile-ops.exp: New file.
5517 * gdb.compile/compile-ops.c: New file.
5518 * gdb.compile/compile-tls.c: New file.
5519 * gdb.compile/compile-tls.exp: New file.
5520 * gdb.compile/compile-constvar.S: New file.
5521 * gdb.compile/compile-constvar.c: New file.
5522 * gdb.compile/compile-mod.c: New file.
5523 * gdb.compile/compile-nodebug.c: New file.
5524 * gdb.compile/compile-setjmp-mod.c: New file.
5525 * gdb.compile/compile-setjmp.c: New file.
5526 * gdb.compile/compile-setjmp.exp: New file.
5527 * gdb.compile/compile-shlib.c: New file.
5528 * gdb.compile/compile.c: New file.
5529 * gdb.compile/compile.exp: New file.
5530 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5531
4ff709eb
TT
55322014-12-12 Tom Tromey <tromey@redhat.com>
5533
5534 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5535 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5536
6dddd6a5
DE
55372014-12-12 Doug Evans <dje@google.com>
5538
5539 * lib/gdb-python.exp (get_python_valueof): New function.
5540 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5541
71c24708
AA
55422014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5543
5544 * gdb.base/completion.exp: Add test for completion of "info
5545 registers ".
5546
3e29f34a
MR
55472014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5548
5549 * gdb.base/func-ptrs.c: New file.
5550 * gdb.base/func-ptrs.exp: New file.
5551
fc126975
SM
55522014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5553
5554 PR breakpoints/17012
5555 * gdb.base/dprintf-detach.c: New file.
5556 * gdb.base/dprintf-detach.exp: New file.
5557
0a46d518
SM
55582014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5559
5560 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5561 * lib/gdb.exp (target_is_gdbserver): New procedure.
5562
a0be3e44
DE
55632014-12-08 Doug Evans <dje@google.com>
5564
5565 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5566
df1b803a
YQ
55672014-12-05 Yao Qi <yao@codesourcery.com>
5568
5569 * gdb.guile/scm-error.exp: Remove the third argument to
5570 gdb_remote_download.
5571 * gdb.guile/scm-frame-args.exp: Likewise.
5572 * gdb.guile/scm-section-script.exp: Likewise.
5573
ddb9f679
YQ
55742014-12-05 Yao Qi <yao@codesourcery.com>
5575
5576 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5577
86e4ed39
DE
55782014-12-04 Doug Evans <dje@google.com>
5579
5580 * gdb.python/py-objfile.exp: Add tests for
5581 objfile.add_separate_debug_file.
5582
7c50a931
DE
55832014-12-04 Doug Evans <dje@google.com>
5584
5585 * lib/gdb.exp (get_build_id): New function.
5586 (build_id_debug_filename_get): Rewrite to use it.
5587 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5588
621661e3
MR
55892014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5590
5591 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5592 `method(long)', not just 0x0.
5593 * gdb.cp/nsalias.exp: Align code labels to 4.
5594 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5595 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5596 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5597 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5598 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5599 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5600
29f0c3b7
DE
56012014-12-02 Doug Evans <dje@google.com>
5602
e1e061e7 5603 PR symtab/17602
29f0c3b7 5604 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 5605 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
5606 * gdb.cp/anon-ns.exp: Update.
5607
162078c8
NB
56082014-12-02 Nick Bull <nicholaspbull@gmail.com>
5609
5610 * gdb.python/py-events.py (inferior_call_handler): New.
5611 (register_changed_handler, memory_changed_handler): New.
5612 (test_events.invoke): Register new handlers.
5613 * gdb.python/py-events.exp: Add tests for inferior call,
5614 memory_changed and register_changed events.
5615
fdb09caf
AA
56162014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5617
5618 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5619 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5620 if the linker doesn't understand this.
5621
55cfb2c4
SM
56222014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5623
5624 * gdb.python/python.exp: Change expected reply to help().
5625
9e8cd6df
YQ
56262014-12-01 Yao Qi <yao@codesourcery.com>
5627
5628 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5629 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5630 * configure: Re-generated.
5631
6c659fc2
SC
56322014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5633
5634 * gdb.cp/chained-calls.cc: New file.
5635 * gdb.cp/chained-calls.exp: New file.
5636 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5637
d7fc3181
SM
56382014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5639
5640 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5641 * gdb.dwarf2/symtab-producer.exp: Same.
5642 * gdb.gdb/python-interrupts.exp: Same.
5643 * gdb.gdb/python-selftest.exp: Same.
5644 * gdb.python/py-linetable.exp: Same.
5645 * gdb.python/py-type.exp: Same.
5646 * gdb.python/py-value-cc.exp: Same.
5647 * gdb.python/py-value.exp: Same.
5648
10e79639
YQ
56492014-11-28 Yao Qi <yao@codesourcery.com>
5650
5651 * gdb.base/break-probes.exp: Match library name prefixed with
5652 sysroot.
5653
f28a0564
SM
56542014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5655
5656 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5657 test expected output. Add parentheses for the call to print.
5658 Remove L suffix from integers.
5659
3fe1ce1d
DE
56602014-11-26 Doug Evans <dje@google.com>
5661
5662 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5663
84429e27
YQ
56642014-11-22 Yao Qi <yao@codesourcery.com>
5665
5666 * gdb.trace/entry-values.c: Remove asms.
5667 (foo): Add foo_label.
5668 (bar): Add bar_label.
5669 * gdb.trace/entry-values.exp: Remove code computing foo's
5670 length and bar's length.
5671 (Dwarf::assemble): Invoke function_range for bar and use
5672 MACRO_AT_func for foo.
5673
26741859
YQ
56742014-11-22 Yao Qi <yao@codesourcery.com>
5675
5676 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5677 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5678 Use .Lgcc43_procstart instead of gcc43.
5679
45e44d27
JB
56802014-11-21 Joel Brobecker <brobecker@adacore.com>
5681
5682 * gdb.ada/n_arr_bound: New testcase.
5683
458c8db8
SDJ
56842014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5685
5686 PR breakpoints/10737
5687 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5688 test_catch_syscall_multi_arch.
5689 (test_catch_syscall_multi_arch): New function.
5690
43f3e411
DE
56912014-11-20 Doug Evans <xdje42@gmail.com>
5692
5693 * gdb.base/maint.exp: Update expected output.
5694
0d7b2549
AA
56952014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5696
5697 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5698 4-byte instruction on S390.
5699
8908fca5
JB
57002014-11-19 Joel Brobecker <brobecker@adacore.com>
5701
5702 * gdb.ada/arr_arr: New testcase.
5703
4a46959e
JB
57042014-11-19 Joel Brobecker <brobecker@adacore.com>
5705
5706 * gdb.ada/pkd_arr_elem: New Testcase.
5707
470e2f4e
LM
57082014-11-18 Luis Machado <lgustavo@codesourcery.com>
5709
5710 * gdb.reverse/break-precsave: Expect completion message for
5711 core file reads.
5712 * gdb.reverse/consecutive-precsave.exp: Likewise.
5713 * gdb.reverse/finish-precsave.exp: Likewise.
5714 * gdb.reverse/i386-precsave.exp: Likewise.
5715 * gdb.reverse/machinestate-precsave.exp: Likewise.
5716 * gdb.reverse/sigall-precsave.exp: Likewise.
5717 * gdb.reverse/solib-precsave.exp: Likewise.
5718 * gdb.reverse/step-precsave.exp: Likewise.
5719 * gdb.reverse/until-precsave.exp: Likewise.
5720 * gdb.reverse/watch-precsave.exp: Likewise.
5721
a267f3ad
AA
57222014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5723
5724 * gdb.base/bp-permanent.c: Include unistd.h.
5725 * gdb.python/py-framefilter-mi.c (main): Add return type.
5726 * gdb.python/py-framefilter.c (main): Likewise.
5727 * gdb.trace/actions-changed.c (main): Likewise.
5728
12084a9a
AA
57292014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5730
5731 * gdb.mi/until.c: Add eye-catchers.
5732 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5733 line numbers.
5734
dc7e1a77
AA
57352014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5736
5737 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5738 function header variants in break1.c.
5739 * gdb.base/ena-dis-br.exp: Likewise.
5740 * gdb.base/hbreak2.exp: Likewise.
5741 * gdb.reverse/until-precsave.exp: Drop references to removed
5742 non-prototype function header variants in ur1.c.
5743 * gdb.reverse/until-reverse.exp: Likewise.
5744
41c77605
PM
57452014-11-17 Petr Machata <pmachata@redhat.com>
5746
5747 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5748 ${_cu_offset_size} bytes abbrev offset.
5749
34248c3a
DE
57502014-11-15 Doug Evans <xdje42@gmail.com>
5751
5752 PR symtab/17559
5753 * gdb.base/line-symtabs.exp: New file.
5754 * gdb.base/line-symtabs.c: New file.
5755 * gdb.base/line-symtabs.h: New file.
5756
646da059
YQ
57572014-11-14 Yao Qi <yao@codesourcery.com>
5758
5759 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5760 (func): Add label func_label.
5761 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5762 Replace low_pc and high_pc with MACRO_AT_range.
5763 Replace name, low_pc and high_pc with MACRO_AT_func.
5764
9301ebe6
YQ
57652014-11-14 Yao Qi <yao@codesourcery.com>
5766
5767 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5768 Replace name, low_pc and high_pc with MACRO_AT_func.
5769
f166b542
YQ
57702014-11-14 Yao Qi <yao@codesourcery.com>
5771
5772 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5773 produce debug information.
5774 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5775
0f6e71e3
YQ
57762014-11-14 Yao Qi <yao@codesourcery.com>
5777
5778 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5779 object and get function length.
5780 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5781 with MACRO_AT_func.
5782 (top-level): Replace gdb_compile and clean_restart with
5783 prepare_for_testing.
5784 * gdb.dwarf2/main.c (main): Add label main_label.
5785
876c4df9
YQ
57862014-11-14 Yao Qi <yao@codesourcery.com>
5787
5788 * lib/dwarf.exp (function_range): New procedure.
5789 (Dwarf::_handle_macro_at_func): New procedure.
5790 (Dwarf::_handle_macro_at_range): New procedure.
5791 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5792
02ad9cf1
YQ
57932014-11-14 Yao Qi <yao@codesourcery.com>
5794
5795 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5796 (_handle_attribute): New procedure.
5797
a59add0c
AA
57982014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5799
5800 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5801 * gdb.base/call-sc.c (zed): Likewise.
5802 * gdb.base/checkpoint.c (main): Likewise.
5803 * gdb.base/dump.c (main): Likewise.
5804 * gdb.base/gcore.c (main): Likewise.
5805 * gdb.base/huge.c (main): Likewise.
5806 * gdb.base/multi-forks.c (main): Likewise.
5807 * gdb.base/pr10179-a.c (main): Likewise.
5808 * gdb.base/savedregs.c (main): Likewise.
5809 * gdb.base/sigaltstack.c (main): Likewise.
5810 * gdb.base/siginfo.c (main): Likewise.
5811 * gdb.base/structs.c (zed): Likewise.
5812 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5813 * gdb.mi/mi-syn-frame.c (main): Likewise.
5814 * gdb.mi/until.c (foo, main): Likewise.
5815 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5816 * gdb.base/solib-weak.c (foo): Declare.
5817 * gdb.base/attach-twice.c: Include stdio.h.
5818 * gdb.base/weaklib1.c: Likewise.
5819 * gdb.base/weaklib2.c: Likewise.
5820 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5821 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5822 unistd.h.
5823 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5824 * gdb.mi/mi-exit-code.c: Likewise.
5825 * gdb.base/break-interp-lib.c: Include string.h.
5826 * gdb.base/coremaker.c: Likewise.
5827 * gdb.base/testenv.c: Likewise.
5828 * gdb.python/py-finish-breakpoint.c: Likewise.
5829 * gdb.base/inferior-died.c: Include sys/wait.h.
5830 * gdb.base/fileio.c: Include time.h.
5831 * gdb.base/async-shell.c: Include unistd.h.
5832 * gdb.base/dprintf-non-stop.c: Likewise.
5833 * gdb.base/info-os.c: Likewise.
5834 * gdb.mi/mi-console.c: Likewise.
5835 * gdb.mi/watch-nonstop.c: Likewise.
5836 * gdb.python/py-events.c: Likewise.
5837 * gdb.base/async.c (baz): Move up before its invocation.
5838 * gdb.base/code_elim2.c (my_global_func): Likewise.
5839 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5840 * gdb.base/advance.c (func2): Likewise.
5841
3b5d5997
AA
58422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5843
5844 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5845 variant.
5846 * gdb.base/annota3.c: Likewise.
5847 * gdb.base/async.c: Likewise.
5848 * gdb.base/average.c: Likewise.
5849 * gdb.base/call-ar-st.c: Likewise.
5850 * gdb.base/call-rt-st.c: Likewise.
5851 * gdb.base/call-sc.c: Likewise.
5852 * gdb.base/call-strs.c: Likewise.
5853 * gdb.base/ending-run.c: Likewise.
5854 * gdb.base/execd-prog.c: Likewise.
5855 * gdb.base/exprs.c: Likewise.
5856 * gdb.base/foll-exec.c: Likewise.
5857 * gdb.base/foll-fork.c: Likewise.
5858 * gdb.base/foll-vfork.c: Likewise.
5859 * gdb.base/funcargs.c: Likewise.
5860 * gdb.base/gcore.c: Likewise.
5861 * gdb.base/jump.c: Likewise.
5862 * gdb.base/langs0.c: Likewise.
5863 * gdb.base/langs1.c: Likewise.
5864 * gdb.base/langs2.c: Likewise.
5865 * gdb.base/mips_pro.c: Likewise.
5866 * gdb.base/nodebug.c: Likewise.
5867 * gdb.base/opaque0.c: Likewise.
5868 * gdb.base/opaque1.c: Likewise.
5869 * gdb.base/recurse.c: Likewise.
5870 * gdb.base/run.c: Likewise.
5871 * gdb.base/scope0.c: Likewise.
5872 * gdb.base/scope1.c: Likewise.
5873 * gdb.base/setshow.c: Likewise.
5874 * gdb.base/setvar.c: Likewise.
5875 * gdb.base/shmain.c: Likewise.
5876 * gdb.base/shr1.c: Likewise.
5877 * gdb.base/shr2.c: Likewise.
5878 * gdb.base/sigall.c: Likewise.
5879 * gdb.base/signals.c: Likewise.
5880 * gdb.base/so-indr-cl.c: Likewise.
5881 * gdb.base/solib2.c: Likewise.
5882 * gdb.base/structs.c: Likewise.
5883 * gdb.base/sum.c: Likewise.
5884 * gdb.base/vforked-prog.c: Likewise.
5885 * gdb.base/watchpoint.c: Likewise.
5886 * gdb.reverse/shr2.c: Likewise.
5887 * gdb.reverse/until-reverse.c: Likewise.
5888 * gdb.reverse/ur1.c: Likewise.
5889 * gdb.reverse/watch-reverse.c: Likewise.
5890
066a77c5
AA
58912014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5892
5893 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5894 variant.
5895 * gdb.base/sepdebug.exp: Drop references to removed code.
5896
4f204ea5
AA
58972014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5898
5899 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5900 variant. Preserve original line numbering.
5901 * gdb.base/list1.c: Likewise.
5902
3b377a3a
AA
59032014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5904
5905 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5906 variant.
5907 * gdb.base/break1.c: Likewise.
5908 * gdb.base/break.exp: Drop references to removed code.
5909
e444df73
AA
59102014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5911
5912 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5913 variant.
5914
8008f2a7
AA
59152014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5916
5917 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5918
a5a06887
AA
59192014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5920
5921 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5922 logic into perform_all_tests() and invoke it with and without
5923 function header prototypes.
5924 (do_function_calls): Remove conditional XFAIL for PR 5318.
5925 (rerun_and_prepare): Remove duplicate code.
5926 (perform_all_tests): New. Main logic moved here.
5927
44dba9b9
AA
59282014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5929
5930 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5931 code guarded by #ifdef NO_PROTOTYPES.
5932 (t_double_many_args): Likewise.
5933 (DEF_FUNC_MANY_ARGS_1): Likewise.
5934 (DEF_FUNC_VALUES_1): Likewise.
5935 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5936 guarded by #ifdef PROTOTYPES.
5937
d1fbcd56
AA
59382014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5939
5940 * gdb.mi/mi-console.c: Add eye-catcher.
5941 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5942 instead of literal line number.
5943
b0e59b8f
AA
59442014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5945
5946 * gdb.base/shr2.c: Add eye-catcher.
5947 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5948 line number.
5949
78f98cca
AA
59502014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5951
5952 * gdb.base/jump.c: Add eye-catchers.
5953 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5954 numbers.
5955
58fa2af0
AA
59562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5957
5958 * gdb.base/execd-prog.c: Add eye-catchers.
5959 * gdb.base/foll-exec.c: Likewise.
5960 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5961 line numbers.
5962
04e5059b
AA
59632014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5964
5965 * gdb.base/ending-run.c: Add eye-catchers.
5966 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5967 literal line numbers.
5968
dbfdb174
AA
59692014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5970
5971 * gdb.base/call-rt-st.c: Add eye-catchers.
5972 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5973 literal line numbers.
5974
888a2ade
AA
59752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5976
5977 * gdb.base/call-ar-st.c: Add eye-catchers.
5978 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5979 literal line numbers.
5980
6acc2dde
AA
59812014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5982
5983 * gdb.base/average.c: Add eye-catchers.
5984 * gdb.base/sum.c: Likewise.
5985 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5986 regexps dynamically.
5987
9ecfcd1d
AA
59882014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5989
5990 * gdb.base/solib1.c: Add eye-catchers.
5991 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5992 literal line numbers.
5993
78708b7c
PA
59942014-11-12 Pedro Alves <palves@redhat.com>
5995
5996 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5997 leader has exited.
5998
af48d08f
PA
59992014-11-12 Pedro Alves <palves@redhat.com>
6000
6001 * gdb.arch/i386-bp_permanent.c: New file.
6002 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
6003 (srcfile): Set to i386-bp_permanent.c.
6004 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
6005 that stepi does not execute the 'leave' instruction, instead of
6006 testing it does execute.
6007 * gdb.base/bp-permanent.c: New file.
6008 * gdb.base/bp-permanent.exp: New file.
6009
af3768e9
DE
60102014-11-10 Doug Evans <xdje42@gmail.com>
6011
6012 PR symtab/17564
6013 * gdb.base/symtab-search-order.exp: New file.
6014 * gdb.base/symtab-search-order.c: New file.
6015 * gdb.base/symtab-search-order-1.c: New file.
6016 * gdb.base/symtab-search-order-shlib-1.c: New file.
6017
9de00a4a
PA
60182014-11-07 Pedro Alves <palves@redhat.com>
6019
6020 PR gdb/17511
6021 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
6022 i?86-*-linux*.
6023
e0f52461
SC
60242014-11-03 Siva Chandra Reddy <sivachandra@google.com>
6025
6026 PR c++/17494
6027 * gdb.cp/pr17494.cc: New file.
6028 * gdb.cp/pr17494.exp: New file.
6029
6ce8c980
YQ
60302014-11-02 Yao Qi <yao@codesourcery.com>
6031
6032 * gdb.python/python.exp: Get working directory and match the
6033 output of "set extended-prompt \\w " with it.
6034
02be9a71
DE
60352014-10-30 Doug Evans <dje@google.com>
6036
6037 * gdb.python/py-objfile.exp: Add tests for setting random attributes
6038 in objfiles.
6039 * gdb.python/py-progspace.exp: Add tests for setting random attributes
6040 in progspaces.
6041
3bdff46b
LM
60422014-10-30 Janis Johnson <janisjo@codesourcery.com>
6043
6044 * gdb.base/fullpath-expand.exp: Skip for a remote host.
6045 * gdb.base/realname-expand.exp: Likewise.
6046 * gdb.linespec/macro-relative.exp: Likewise.
6047
ab917dfb
PA
60482014-10-29 Pedro Alves <palves@redhat.com>
6049
6050 PR gdb/17408
6051 * gdb.threads/schedlock.c (some_function): New function.
6052 (call_function): New global.
6053 (MAYBE_CALL_SOME_FUNCTION): New macro.
6054 (thread_function): Call it.
6055 * gdb.threads/schedlock.exp (get_args): Add description parameter,
6056 and use it instead of a global counter. Adjust all callers.
6057 (get_current_thread): Use "find current thread" for test message
6058 here rather than having all callers pass down the same string.
6059 (goto_loop): New procedure, factored out from ...
6060 (my_continue): ... this.
6061 (step_ten_loops): Change parameter from test message to command to
6062 use. Adjust.
6063 (list_count): Delete global.
6064 (check_result): New procedure, factored out from duplicate top
6065 level code.
6066 (continue tests): Wrap in with_test_prefix.
6067 (test_step): New procedure, factored out from duplicate top level
6068 code.
6069 (top level): Test "step" in combination with all scheduler-locking
6070 modes. Test "next" in combination with all scheduler-locking
6071 modes, and in combination with stepping over a function call or
6072 not.
6073 * gdb.threads/next-bp-other-thread.c: New file.
6074 * gdb.threads/next-bp-other-thread.exp: New file.
6075
d3d4baed
PA
60762014-10-29 Pedro Alves <palves@redhat.com>
6077
6078 PR python/17372
6079 * gdb.python/python.exp: Test a multi-line command that spawns
6080 interactive Python.
6081 * gdb.base/multi-line-starts-subshell.exp: New file.
6082
563e8d85
YQ
60832014-10-29 Yao Qi <yao@codesourcery.com>
6084
6085 * gdb.base/fileio.exp: Make directories on host.
6086
0ea4d52e
YQ
60872014-10-29 Yao Qi <yao@codesourcery.com>
6088
6089 * gdb.base/fileio.c (test_write): Close the file.
6090
7f5ef605
PA
60912014-10-28 Pedro Alves <palves@redhat.com>
6092
6093 PR gdb/12623
6094 * gdb.base/sigstep.c (no_handler): New global.
6095 (main): If 'no_handler is true, set the signal handlers to
6096 SIG_IGN.
6097 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
6098 with_sw_watch and no_handler parameters. Handle them.
6099 (top level) <stepping over handler when stopped at a breakpoint
6100 test>: Add a test axis for testing with a software watchpoint, and
6101 another for testing with the signal handler set to SIG_IGN.
6102 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
6103 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
6104
abbdbd03
PA
61052014-10-28 Pedro Alves <palves@redhat.com>
6106
6107 PR gdb/17511
6108 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
6109 * gdb.base/sigstep.exp (other_handler_location): New global.
6110 (advance): Support stepping into the signal handler, and running
6111 commands while in the handler.
6112 (in_handler_map): New global.
6113 (top level): In the advance test, add combinations for getting
6114 into the handler with stepping commands, and for running commands
6115 in the handler. Add comment descripting the advancei tests.
6116
1df4399f
PA
61172014-10-28 Pedro Alves <palves@redhat.com>
6118
6119 * gdb.base/sigstep.exp: Use build_executable instead of
6120 prepare_for_testing.
6121 (top level): Move code that starts GDB, runs to main and creates a
6122 display to ...
6123 (restart): ... this new procedure.
6124 (top level): Move backtrace from signal handler test to ...
6125 (validate_backtrace): ... this new procedure.
6126 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
6127 with_test_prefix. Always restart GDB.
6128 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
6129 with_test_prefix. Always restart GDB. No need to delete
6130 breakpoints after the test.
6131 (test_skip_handler): Remove prefix parameter.
6132 (skip_over_handler, breakpoint_to_handler)
6133 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
6134 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
6135 restart GDB. No need to delete breakpoints after the test.
6136 (top level): Use foreach to call the test procedures with
6137 different commands.
6138
a5b6e449
PA
61392014-10-28 Pedro Alves <palves@redhat.com>
6140
6141 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
6142 instead of GNATS numbers.
6143 * gdb.base/sigbpt.exp: Likewise.
6144 * gdb.base/siginfo.exp: Likewise.
6145 * gdb.base/sigstep.exp: Likewise.
6146
e5f8a7cc
PA
61472014-10-27 Pedro Alves <palves@redhat.com>
6148
6149 * gdb.base/sigstep.c (dummy): New global.
6150 (main): Issue a couple writes to the new global.
6151 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
6152 procedures.
6153 (skip_over_handler): Use test_skip_handler.
6154 (top level): Call skip_over_handler for stepi and nexti too.
6155 (breakpoint_over_handler): Use test_skip_handler.
6156 (top level): Call breakpoint_over_handler for stepi and nexti too.
6157
763905a3
YQ
61582014-10-27 Yao Qi <yao@codesourcery.com>
6159
6160 * gdb.trace/tfile.c (adjust_function_address)
6161 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
6162 function descriptor.
6163
6f259a23
DB
61642014-10-24 Don Breazeal <donb@codesourcery.com>
6165
6166 * gdb.base/foll-fork.exp (test_follow_fork,
6167 catch_fork_child_follow): Check for updated fork messages emitted
6168 from infrun.c.
6169 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
6170 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
6171 vfork_and_exec_child_follow_through_step): Check for updated vfork
6172 messages emitted from infrun.c.
6173
09dd9a69
PA
61742014-10-24 Pedro Alves <palves@redhat.com>
6175
6176 * gdb.base/corefile.exp: Remove references to ultrix.
6177 * gdb.base/interrupt.exp: Likewise.
6178 * gdb.base/whatis.exp: Likewise.
6179 * gdb.gdb/selftest.exp: Likewise.
6180 * gdb.threads/manythreads.exp: Likewise.
6181 * gdb.threads/print-threads.exp: Likewise.
6182 * gdb.threads/pthreads.exp:: Likewise.
6183 * gdb.threads/schedlock.exp: Likewise.
6184
3433cfa5
SC
61852014-10-24 Siva Chandra Reddy <sivachandra@google.com>
6186
6187 * gdb.cp/non-trivial-retval.cc: Add a test case.
6188 * gdb.cp/non-trivial-retval.exp: Add a test.
6189
092f880b
YQ
61902014-10-20 Yao Qi <yao@codesourcery.com>
6191
6192 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
6193 * gdb.python/py-objfile-script-gdb.py: New file.
6194 * gdb.python/py-objfile-script.exp: Update reference to
6195 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
6196 of remote_download. Remove the dest file.
6197
acbdb7f3
YQ
61982014-10-20 Yao Qi <yao@codesourcery.com>
6199
6200 * gdb.base/checkpoint.exp: Don't remove file copied on host.
6201 * gdb.base/step-line.exp: Likewise.
6202 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6203 * gdb.dwarf2/dw2-basic.exp: Likewise.
6204 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6205 * gdb.dwarf2/dw2-filename.exp: Likewise.
6206 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6207 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6208 * gdb.dwarf2/dw2-producer.exp: Likewise.
6209 * gdb.dwarf2/mac-fileno.exp: Likewise.
6210 * gdb.python/py-frame-args.exp: Likewise.
6211 * gdb.python/py-framefilter.exp: Likewise.
6212 * gdb.python/py-mi.exp: Likewise.
6213 * gdb.python/py-objfile-script.exp: Likewise
6214 * gdb.python/py-pp-integral.exp: Likewise.
6215 * gdb.python/py-pp-re-notag.exp: Likewise.
6216 * gdb.python/py-prettyprint.exp: Likewise.
6217 * gdb.python/py-section-script.exp: Likewise.
6218 * gdb.python/py-typeprint.exp: Likewise.
6219 * gdb.python/py-xmethods.exp: Likewise.
6220 * gdb.stabs/weird.exp: Likewise.
6221 * gdb.xml/tdesc-regs.exp: Likewise.
6222
bd286a29
KCY
62232014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
6224
6225 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
6226 (out_cu): Use addr_len for the size of addresses.
6227 (out_line): Likewise. Size DW_LNE_set_address instruction
6228 according to addr_len.
6229 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
6230 (FUNC): Add START_INSNS to definition.
6231
673dc4a0
YQ
62322014-10-18 Yao Qi <yao@codesourcery.com>
6233
6234 * gdb.base/argv0-symlink.exp: Check argv[0] value if
6235 gdb_has_argv0 return true.
6236 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
6237 check [target_info exists noargs], check [gdb_has_argv0]
6238 instead.
6239 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6240 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
6241 procedures.
6242
4ffbba72
DE
62432014-10-17 Doug Evans <dje@google.com>
6244
6245 * gdb.python/py-events.exp: Update expected output for clear_objfiles
6246 event.
6247 * gdb.python/py-events.py: Add clear_objfiles event.
6248
d096d8c1
DE
62492014-10-17 Doug Evans <dje@google.com>
6250
6251 * gdb.python/py-objfile.exp: Test progspace attribute.
6252
a80db015
LM
62532014-10-17 Luis Machado <lgustavo@codesourcery.com>
6254
6255 * gdb.guile/scm-breakpoint.exp: Do not assume any
6256 directory separators when matching source file paths.
6257 * gdb.python/py-breakpoint.exp: Likewise.
6258 * gdb.reverse/break-precsave.exp: Likewise.
6259 * gdb.reverse/break-reverse.exp: Likewise.
6260 * gdb.reverse/consecutive-precsave.exp: Likewise.
6261 * gdb.reverse/finish-precsave.exp: Likewise.
6262 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6263 * gdb.reverse/finish-reverse.exp: Likewise.
6264 * gdb.reverse/i386-precsave.exp: Likewise.
6265 * gdb.reverse/i387-env-reverse.exp: Likewise.
6266 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6267 * gdb.reverse/machinestate-precsave.exp: Likewise.
6268 * gdb.reverse/machinestate.exp: Likewise.
6269 * gdb.reverse/sigall-precsave.exp: Likewise.
6270 * gdb.reverse/solib-precsave.exp: Likewise.
6271 * gdb.reverse/step-precsave.exp: Likewise.
6272 * gdb.reverse/until-precsave.exp: Likewise.
6273 * gdb.reverse/watch-precsave.exp: Likewise.
6274 * gdb.reverse/watch-reverse.exp: Likewise.
6275
b22089ab
YQ
62762014-10-17 Yao Qi <yao@codesourcery.com>
6277
6278 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6279 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6280
6c4486e6
PA
62812014-10-17 Pedro Alves <palves@redhat.com>
6282
6283 PR gdb/17471
6284 * gdb.base/bg-execution-repeat.c: New file.
6285 * gdb.base/bg-execution-repeat.exp: New file.
6286
0ff33695
PA
62872014-10-17 Pedro Alves <palves@redhat.com>
6288
6289 PR gdb/17300
6290 * gdb.base/continue-all-already-running.c: New file.
6291 * gdb.base/continue-all-already-running.exp: New file.
6292
6fdebc3d
PA
62932014-10-17 Pedro Alves <palves@redhat.com>
6294
6295 PR gdb/17472
6296 * gdb.base/annota-input-while-running.c: New file.
6297 * gdb.base/annota-input-while-running.exp: New file.
6298
32a8097b
PA
62992014-10-17 Pedro Alves <palves@redhat.com>
6300
6301 * gdb.base/callfuncs.exp: emove references to osf.
6302 * gdb.base/sigall.exp: Likewise.
6303 * gdb.gdb/selftest.exp: Likewise.
6304 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6305 * gdb.mi/non-stop.c: Likewise.
6306 * gdb.mi/pthreads.c: Likewise.
6307 * gdb.reverse/sigall-precsave.exp: Likewise.
6308 * gdb.reverse/sigall-reverse.exp: Likewise.
6309 * gdb.threads/pthreads.c: Likewise.
6310 * gdb.threads/pthreads.exp: Likewise.
6311
7a3517ff
YQ
63122014-10-17 Yao Qi <yao@codesourcery.com>
6313
6314 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6315 check 'target_info exists noargs'.
6316 (test_command_prompt_position): Likewise.
6317 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6318 Remove "set args".
6319 (progvar_simple_while_test): Likewise.
6320 (progvar_complex_if_while_test): Likewise.
6321 (if_while_breakpoint_command_test): Likewise.
6322 (infrun_breakpoint_command_test): Likewise.
6323 (breakpoint_command_test): Likewise.
6324 (watchpoint_command_test): Likewise.
6325 (bp_deleted_in_command_test): Likewise.
6326 (temporary_breakpoint_commands): Likewise.
6327
bb99c472
YQ
63282014-10-16 Yao Qi <yao@codesourcery.com>
6329
6330 * gdb.base/remotetimeout.exp: Remove noargs checking.
6331
7c16b83e
PA
63322014-10-15 Pedro Alves <palves@redhat.com>
6333
6334 PR breakpoints/9649
6335 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6336 * gdb.base/breakpoint-in-ro-region.exp
6337 (probe_target_hardware_step): New procedure.
6338 (top level): Probe hardware stepping and hardware breakpoint
6339 support. Test stepping through a read-only region, with both
6340 "breakpoint auto-hw" on and off and both "always-inserted" on and
6341 off.
6342
35a49624
IB
63432014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6344
6345 * gdb.dlang/demangle.exp: Update for demangling changes.
6346
2d1c107c
SC
63472014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6348
6349 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6350 * gdb.cp/non-trivial-retval.exp: Add new tests.
6351
778811d5
SC
63522014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6353
6354 PR c++/13403
6355 PR c++/15154
6356 * gdb.cp/non-trivial-retval.cc: New file.
6357 * gdb.cp/non-trivial-retval.exp: New file.
6358
10c5f0a8
YQ
63592014-10-15 Yao Qi <yao@codesourcery.com>
6360
6361 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6362 remote host.
6363
65d7b369
YQ
63642014-10-15 Yao Qi <yao@codesourcery.com>
6365
6366 * gdb.python/py-symbol.exp: Match file base name if host is
6367 remote, otherwise match file name with dir name.
6368 * gdb.python/py-symtab.exp: Likewise.
6369 * gdb.python/python.exp: Likewise.
6370
46dc1394
YQ
63712014-10-15 Yao Qi <yao@codesourcery.com>
6372
6373 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6374 pattern.
6375 * gdb.python/py-symtab.exp: Likewise.
6376 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6377 locationn.
6378
c40cc657
JB
63792014-10-14 Joel Brobecker <brobecker@adacore.com>
6380
6381 * gdb.ada/addr_arith: New testcase.
6382
2abf49e1
MR
63832014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6384
6385 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6386 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6387 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6388 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6389
f7088df3
SDJ
63902014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6391
6392 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6393 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6394 * gdb.arch/stap-eval-lang-ada.exp: New file.
6395
4dc06805
YQ
63962014-10-14 Yao Qi <yao@codesourcery.com>
6397
6398 * gdb.mi/mi-var-child.c (nothing1): New function.
6399 (nothing2): New function.
6400 (do_children_tests): Set function pointers by nothing1 and
6401 nothing2.
6402 * gdb.mi/mi-var-child.exp: Step over new added statements.
6403 Update test to match the new output.
6404 * gdb.mi/var-cmd.c (nothing1): New function.
6405 (nothing2): New function.
6406 (do_children_tests): Set function pointers by nothing1 and
6407 nothing2.
6408 * gdb.mi/mi-var-display.exp: Update test to match output.
6409 Step to the line specified by $line_dct_nothing.
6410 Increase the number of lines to step.
6411
46a93de2
YQ
64122014-10-14 Yao Qi <yao@codesourcery.com>
6413
6414 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6415 tests.
6416 * gdb.mi/mi2-var-child.exp: Likewise.
6417
14ea52ee
DE
64182014-10-13 Doug Evans <dje@google.com>
6419
6420 * gdb.python/py-objfile.exp: Change name of file name test.
6421
e5c6e92b
DE
64222014-10-13 Doug Evans <dje@google.com>
6423
6424 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6425 from the start of the CU.
6426
c780cc2f
JK
64272014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6428 Yao Qi <yao@codesourcery.com>
6429
6430 Fix "save breakpoints" for "catch" command.
6431 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6432 Remove -nonewline. Match also the added "main" line.
6433
99894e11
JK
64342014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6435
6436 Fix "save breakpoints" for "disable $bpnum" command.
6437 * gdb.base/save-bp.c (main): Add label.
6438 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6439
6e1ac5a3
JK
64402014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6441
6442 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6443
754dd2b0
YQ
64442014-10-11 Yao Qi <yao@codesourcery.com>
6445
6446 * gdb.server/server-kill.exp: Execute command
6447 "set remote trace-status-packet on" before "tstatus".
6448
f90183d7
YQ
64492014-10-11 Yao Qi <yao@codesourcery.com>
6450
6451 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6452 (main): Call getppid.
6453 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6454 and continue to it. Read variable "server_pid".
6455
bf40a607
YQ
64562014-10-11 Yao Qi <yao@codesourcery.com>
6457
6458 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6459
052ca370
YQ
64602014-10-11 Yao Qi <yao@codesourcery.com>
6461
6462 * gdb.threads/thread-find.exp: Don't execute command
6463 "info threads".
6464 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6465 * gdb.threads/linux-dp.exp: Don't check the condition
6466 $threads_created equals to zero.
6467
3831839c
PA
64682014-10-10 Pedro Alves <palves@redhat.com>
6469
6470 * gdb.base/bigcore.exp: Remove references to IRIX.
6471 * gdb.base/funcargs.exp: Likewise.
6472 * gdb.base/interrupt.exp: Likewise.
6473 * gdb.base/mips_pro.exp: Likewise.
6474 * gdb.base/nodebug.exp: Likewise.
6475 * gdb.base/setvar.exp: Likewise.
6476 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6477
8b9a549d
PA
64782014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6479 Pedro Alves <palves@redhat.com>
6480
6481 PR symtab/14466
6482 * gdb.base/vdso-warning.c: New file.
6483 * gdb.base/vdso-warning.exp: New file.
6484
d48ba5e8
DE
64852014-10-02 Doug Evans <dje@google.com>
6486
6487 * gdb.base/structs.c (main): Don't run forever.
6488
2278c276
PA
64892014-10-02 Pedro Alves <palves@redhat.com>
6490
6491 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6492 (top level) <stop threads 1, stop threads 2>: Use it.
6493
b57bacec
PA
64942014-10-02 Pedro Alves <palves@redhat.com>
6495
6496 * gdb.threads/break-while-running.exp (test): Add new
6497 'update_thread_list' argument. Skip "info threads" if false.
6498 (top level): Add new 'update_thread_list' axis.
6499
13fd3ff3
PA
65002014-10-02 Pedro Alves <palves@redhat.com>
6501
6502 PR breakpoints/17431
6503 * gdb.base/execl-update-breakpoints.c: New file.
6504 * gdb.base/execl-update-breakpoints.exp: New file.
6505
0fec99e8
PA
65062014-10-01 Pedro Alves <palves@redhat.com>
6507
6508 * gdb.base/breakpoint-in-ro-region.c: New file.
6509 * gdb.base/breakpoint-in-ro-region.exp: New file.
6510
2ddf4301
SM
65112014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6512
6513 * gdb.mi/mi-exit-code.exp: New file.
6514 * gdb.mi/mi-exit-code.c: New file.
6515
6a5f3f43
YQ
65162014-09-30 Yao Qi <yao@codesourcery.com>
6517
6518 * lib/prelink-support.exp (build_executable_own_libs): Error if
6519 the target isn't native.
6520
345bcc73
YQ
65212014-09-30 Yao Qi <yao@codesourcery.com>
6522
6523 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6524 false.
6525
a25a5a45
PA
65262014-09-22 Pedro Alves <palves@redhat.com>
6527
6528 * gdb.threads/break-while-running.exp: New file.
6529 * gdb.threads/break-while-running.c: New file.
6530
00ba3162
YQ
65312014-09-19 Yao Qi <yao@codesourcery.com>
6532
6533 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6534 Invoke test. Restart GDB with --readnow and invoke test again.
6535
c3b7b696
YQ
65362014-09-19 Yao Qi <yao@codesourcery.com>
6537
6538 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6539 proc set_breakpoint_on_gcd_function. Invoke
6540 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6541 invoke set_breakpoint_on_gcd_function again.
6542
2b4fd423
DE
65432014-09-18 Doug Evans <dje@google.com>
6544
6545 * gdb.dwarf2/symtab-producer.exp: New file.
6546
a5947601
SDJ
65472014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6548
6549 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6550 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6551 * gdb.base/global-var-nested-by-dso.c: Likewise.
6552 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6553
91c19059
SDJ
65542014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6555 Pedro Alves <palves@redhat.com>
6556
6557 * gdb.base/watch-bitfields.exp: Pass string other than test file
6558 name to prepare_for_testing.
6559 (watch): New procedure.
6560 (expect_watchpoint): Use with_test_prefix.
6561 (top level): Factor out tests to ...
6562 (test_watch_location, test_regular_watch): ... these new
6563 procedures, and use with_test_prefix and gdb_continue_to_end.
6564
bb9d5f81
PP
65652014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6566
6567 PR breakpoints/12526
6568 * gdb.base/watch-bitfields.exp: New file.
6569 * gdb.base/watch-bitfields.c: New file.
6570
635856f5
PA
65712014-09-16 Pedro Alves <palves@redhat.com>
6572
6573 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6574 software and hardware addresses, not software address against
6575 itself.
6576
7280ceea
PA
65772014-09-16 Pedro Alves <palves@redhat.com>
6578
6579 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6580 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6581
428b16bd
PA
65822014-09-16 Pedro Alves <palves@redhat.com>
6583
6584 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6585 files.
6586 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6587 "*-*-vxworks*" throughout.
6588 * gdb.base/break.exp: Likewise.
6589 * gdb.base/default.exp: Likewise.
6590 * gdb.base/scope.exp: Likewise.
6591 * gdb.base/sepdebug.exp: Likewise.
6592 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6593 throughout.
6594 * gdb.base/run.c: Likewise.
6595 * gdb.base/sepdebug.c: Likewise.
6596 * gdb.hp/gdb.aCC/run.c: Likewise.
6597 * gdb.reverse/until-reverse.c: Likewise.
6598 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6599
666d413c
YQ
66002014-09-16 Yao Qi <yao@codesourcery.com>
6601
6602 * boards/local-remote-host-native.exp: New file.
6603
57cbd724
DE
66042014-09-14 Doug Evans <xdje42@gmail.com>
6605
6606 * gdb.threads/queue-signal.c (thread_count): New variable.
6607 (thread_count_mutex, thread_count_condvar): New variables.
6608 (incr_thread_count, wait_all_threads_running): New functions.
6609 (main): Wait for all threads to be in their thread functions.
6610
81219e53
DE
66112014-09-13 Doug Evans <xdje42@gmail.com>
6612
6613 * gdb.threads/queue-signal.c: New file.
6614 * gdb.threads/queue-signal.exp: New file.
6615
3714cea7
DE
66162014-09-13 Doug Evans <xdje42@gmail.com>
6617
6618 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6619 be consistent with what default_gdb_init uses.
6620 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6621 the plain text of the prompt. Add some logging printfs.
6622 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6623
fa43b1d7
PA
66242014-09-12 Pedro Alves <palves@redhat.com>
6625
6626 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6627 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6628 * gdb.arch/i386-size-overlap.exp: Likewise.
6629 * gdb.arch/i386-size.exp: Likewise.
6630 * gdb.arch/i386-unwind.exp: Likewise.
6631 * gdb.base/a2-run.exp: Likewise.
6632 * gdb.base/break.exp: Likewise.
6633 * gdb.base/charset.exp: Likewise.
6634 * gdb.base/chng-syms.exp: Likewise.
6635 * gdb.base/commands.exp: Likewise.
6636 * gdb.base/dbx.exp: Likewise.
6637 * gdb.base/find.exp: Likewise.
6638 * gdb.base/funcargs.exp: Likewise.
6639 * gdb.base/jit-simple.exp: Likewise.
6640 * gdb.base/reread.exp: Likewise.
6641 * gdb.base/sepdebug.exp: Likewise.
6642 * gdb.base/step-bt.exp: Likewise.
6643 * gdb.cp/mb-inline.exp: Likewise.
6644 * gdb.cp/mb-templates.exp: Likewise.
6645 * gdb.objc/basicclass.exp: Likewise.
6646 * gdb.threads/killed.exp: Likewise.
6647
9d9bf2df
EBM
66482014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6649
6650 PR tdep/17379
6651 * gdb.arch/powerpc-stackless.S: New file.
6652 * gdb.arch/powerpc-stackless.exp: New file.
6653
1cf2f1b0
JK
66542014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6655
6656 * gdb.base/attach.c: Include unistd.h.
6657 (main): Call alarm. Add label postloop.
6658 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6659 gdb_breakpoint, gdb_continue_to_breakpoint.
6660 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6661
98880d46
PA
66622014-09-11 Pedro Alves <palves@redhat.com>
6663
6664 PR gdb/17347
6665 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6666 * gdb.base/attach.exp (test_command_line_attach_run): New
6667 procedure.
6668 (top level): Call it.
6669
4c92ff2c
PA
66702014-09-11 Pedro Alves <palves@redhat.com>
6671
6672 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6673 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6674 (do_command_attach_tests): Use spawn_wait_for_attach.
6675 * gdb.base/solib-overlap.exp: Likewise.
6676 * gdb.multi/multi-attach.exp: Likewise.
6677 * gdb.python/py-prompt.exp: Likewise.
6678 * gdb.python/py-sync-interp.exp: Likewise.
6679 * gdb.server/ext-attach.exp: Likewise.
6680
3adc1a7d
GKB
66812014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6682
6683 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6684 command in testcase. Simplify testcase.
6685
96334934
JB
66862014-09-10 Joel Brobecker <brobecker@adacore.com>
6687
6688 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6689
eb479039
JB
66902014-09-10 Joel Brobecker <brobecker@adacore.com>
6691
6692 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6693
deede10c
JB
66942014-09-10 Joel Brobecker <brobecker@adacore.com>
6695
6696 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6697
7828a5f5
JB
66982014-09-10 Joel Brobecker <brobecker@adacore.com>
6699
6700 * gdb.dwarf2/dynarr-ptr.c: New file.
6701 * gdb.dwarf2/dynarr-ptr.exp: New file.
6702
33aeebcf
MR
67032014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6704
6705 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6706 of 30 rather than hardcoding 120 for a slow test case. Take the
6707 `gdb,timeout' target setting into account for this calculation.
6708 Don't extend the timeout for the test cases that don't need it.
6709
7b415901
MR
67102014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6711
6712 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6713 a factor of 2 for a slow test case. Take the `gdb,timeout'
6714 target setting into account for this calculation.
6715 * gdb.reverse/until-precsave.exp: Increase the timeout by
6716 a factor of 15 and 3 respectively rather than adding 120
6717 for a pair of slow test cases. Take the `gdb,timeout'
6718 target setting into account for this calculation.
6719
4a40f85a
MR
67202014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6721
6722 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6723 timeout, don't pass one down to gdb_expect.
6724 (gdb_expect): Rework timeout selection.
6725
09635af7
MR
67262014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6727
6728 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6729 exception on timeout.
6730 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6731 (gdbserver_start_extended): Catch any `gdbserver_start' error
6732 exceptions.
6733 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6734 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6735 `gdbserver_gdb_load' error exceptions.
6736
2bdd10b7
MR
67372014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6738
6739 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6740 120 on waiting for the TCP socket to open.
6741
316935f0
DE
67422014-09-09 Doug Evans <xdje42@gmail.com>
6743
6744 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6745 _caller_matches, _any_caller_is, _any_caller_matches.
6746
83740597
DE
67472014-09-09 Doug Evans <xdje42@gmail.com>
6748
6749 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6750
4c122fc3
YQ
67512014-09-09 Yao Qi <yao@codesourcery.com>
6752
6753 * gdb.mi/mi-var-display.exp: Set print symbol off.
6754
a9f116cb
GKB
67552014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6756
6757 PR gdb/17035
6758 * gdb.base/commands.exp: Add tests to verify user-defined
6759 commands with empty bodies.
6760 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6761 python commands in `show user command`.
6762 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6763 scheme commands in `show user command`.
6764
c75bd3a2
JK
67652014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6766
6767 PR python/17355
6768 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6769 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6770 * gdb.python/py-framefilter-invalidarg.exp: New file.
6771 * gdb.python/py-framefilter-invalidarg.py: New file.
6772
faa42425
DE
67732014-09-06 Doug Evans <xdje42@gmail.com>
6774
6775 PR 15276
6776 * gdb.python/py-caller-is.c: New file.
6777 * gdb.python/py-caller-is.exp: New file.
6778
474ca4f6
SDJ
67792014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6780
6781 PR gdb/17235
6782 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6783 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6784
eb0b0463
SDJ
67852014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6786
6787 PR fortran/17237
6788 * gdb.fortran/print-formatted.exp: New file.
6789 * gdb.fortran/print-formatted.f90: Likewise.
6790
5f3b99cf
SS
67912014-09-03 Sasha Smundak <asmundak@google.com>
6792
6793 * gdb.python/py-frame.exp: Test Frame.read_register.
6794
7d793aa9
SDJ
67952014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6796
6797 PR python/16699
6798 * gdb.python/py-completion.exp: New file.
6799 * gdb.python/py-completion.py: Likewise.
6800
fb0576e9
DE
68012014-08-28 Doug Evans <dje@google.com>
6802
6803 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6804 eax,etc. are live with values set by gdb and thus the compiler can't
6805 use them.
6806 * gdb.arch/i386-pseudo.c (main): Ditto.
6807
ee92b0dd
DE
68082014-08-27 Doug Evans <dje@google.com>
6809
6810 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6811
6649db35
DE
68122014-08-25 Doug Evans <dje@google.com>
6813
6814 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6815 (main): Ditto.
6816
564b7600
DE
68172014-08-25 Doug Evans <dje@google.com>
6818
6819 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6820
3881fb67
YQ
68212014-08-24 Yao Qi <yao@codesourcery.com>
6822
6823 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6824 symbol off.
6825 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6826
a05a36a5
DE
68272014-08-22 Doug Evans <dje@google.com>
6828
6829 PR 17276
6830 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6831 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6832 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6833
7c343b48
YQ
68342014-08-22 Yao Qi <yao@codesourcery.com>
6835
6836 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6837 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6838 * gdb.python/python.exp: Likewise. Use .py file on the host
6839 instead of the build.
6840
22fd09ae
JK
68412014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6842
6843 * gdb.threads/gcore-stale-thread.c: New file.
6844 * gdb.threads/gcore-stale-thread.exp: New file.
6845
a8454a7c
PA
68462014-08-21 Pedro Alves <palves@redhat.com>
6847
6848 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6849 * gdb.base/gcore-relro-pie.exp: Likewise.
6850 * gdb.base/gcore-relro.exp: Likewise.
6851 * gdb.base/gcore.exp: Likewise.
6852 * gdb.base/print-symbol-loading.exp: Likewise.
6853 * gdb.threads/gcore-thread.exp: Likewise.
6854 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6855
2a31c623
PA
68562014-08-20 Pedro Alves <palves@redhat.com>
6857 Jan Kratochvil <jan.kratochvil@redhat.com>
6858
6859 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6860 configure.
6861 (EXPECT): Handle READ1 being set.
6862 (all): Depend on EXTRA_RULES.
6863 (check-read1, expect-read1, read1.so, read1): New rules.
6864 * README (Testsuite Parameters): Document the READ1 make variable.
6865 (Race detection): New section.
6866 * configure: Regenerate.
6867 * configure.ac: If build==host==target, and running under a
6868 GNU/glibc system, add read1 to the extra Makefile rules.
6869 (EXTRA_RULES): AC_SUBST it.
6870 * lib/read1.c: New file.
6871
d36430db
JB
68722014-08-20 Joel Brobecker <brobecker@adacore.com>
6873
6874 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6875 the handling of variables declared as a typedef to an array
6876 which a DW_AT_data_location attribute.
6877
9a0dc9e3
PA
68782014-08-19 Andrew Burgess <aburgess@broadcom.com>
6879 Pedro Alves <palves@redhat.com>
6880
6881 PR symtab/14604
6882 PR symtab/14605
6883 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6884 gdb_test.
6885
0718a8da
PA
68862014-08-19 Pedro Alves <palves@redhat.com>
6887
6888 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6889
13b448cd
YQ
68902014-08-19 Yao Qi <yao@codesourcery.com>
6891
6892 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6893 right line.
6894
1cbf5077
DB
68952014-08-18 David Blaikie <dblaikie@gmail.com>
6896
6897 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6898
bf0fae19
JB
68992014-08-18 Joel Brobecker <brobecker@adacore.com>
6900
6901 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6902 attribute in array range.
6903
3c8c5dcc
JB
69042014-08-18 Joel Brobecker <brobecker@adacore.com>
6905
6906 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6907
e66d4446
SC
69082014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6909
6910 PR c++/17132
6911 * gdb.cp/pr17132.cc: New file.
6912 * gdb.cp/pr17132.exp: New file.
6913
940df408
SC
69142014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6915
6916 * gdb.python/py-xmethods.py (A_getarrayind)
6917 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6918 Use 'print' with function call syntax.
6919 (E_method_matcher.match): Fix tab vs space indentation mixup.
6920
ebcc6c3a
YQ
69212014-08-15 Yao Qi <yao@codesourcery.com>
6922
6923 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6924 false.
6925
775e0f04
YQ
69262014-08-15 Yao Qi <yao@codesourcery.com>
6927
6928 * gdb.cp/casts.exp: Set print symbol off.
6929 * gdb.cp/class2.exp: Likewise.
6930 * gdb.cp/overload.exp: Likewise.
6931 * gdb.cp/templates.exp: Likewise.
6932
d769e349
DE
69332014-08-11 Doug Evans <dje@google.com>
6934
6935 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6936 (test_load_shlib): Update.
6937
20c6f1e1
YQ
69382014-08-09 Yao Qi <yao@codesourcery.com>
6939
6940 * gdb.base/display.exp: Invoke is_address_zero_readable.
6941 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6942 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6943 * gdb.base/hbreak-unmapped.exp: Return if
6944 is_address_zero_readable returns true.
6945 * gdb.base/signest.exp: Likewise.
6946 * gdb.base/signull.exp: Likewise.
6947 * gdb.base/sigbpt.exp: Likewise.
6948 * gdb.guile/scm-disasm.exp: Do the test if
6949 is_address_zero_readable returns false.
6950 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6951 * gdb.python/py-arch.exp: Likewise.
6952 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6953 * lib/gdb.exp (is_address_zero_readable): New proc.
6954
5792e8e3
YQ
69552014-08-09 Yao Qi <yao@codesourcery.com>
6956
6957 PR testsuite/13443
6958 * gdb.mi/mi-var-display.exp: Make test messages unique.
6959
3cecbbbe
TT
69602014-08-04 Tom Tromey <tromey@redhat.com>
6961
6962 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
6963 target 0".
6964
00b51ff5
TT
69652014-08-04 Tom Tromey <tromey@redhat.com>
6966
6967 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6968 "target_resume".
6969
6908c509
JB
69702014-08-01 Joel Brobecker <brobecker@adacore.com>
6971
6972 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6973 inner_vla_struct_object_size.
6974 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6975 as xfail.
6976
cc6563d2
PA
69772014-07-30 Pedro Alves <palves@redhat.com>
6978
6979 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6980 comment.
6981
7e09a223
YQ
69822014-07-29 Yao Qi <yao@codesourcery.com>
6983
6984 PR gdb/17206
6985 * gdb.base/until-nodebug.exp: New.
6986
7ebdbe92
DE
69872014-07-28 Doug Evans <xdje42@gmail.com>
6988
6989 PR guile/17203
6990 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6991 previously existing parameter, and previously ambiguously spelled
6992 parameter.
6993
fdb1adc6
WN
69942014-07-28 Will Newton <will.newton@linaro.org>
6995
6996 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6997
186fcde0
DE
69982014-07-26 Ludovic Courtès <ludo@gnu.org>
6999 Doug Evans <xdje42@gmail.com>
7000
7001 PR guile/17146
7002 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
7003
70509625
PA
70042014-07-25 Pedro Alves <palves@redhat.com>
7005
7006 * gdb.threads/signal-command-handle-nopass.c: New file.
7007 * gdb.threads/signal-command-handle-nopass.exp: New file.
7008 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
7009 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
7010 * gdb.threads/signal-delivered-right-thread.c: New file.
7011 * gdb.threads/signal-delivered-right-thread.exp: New file.
7012
c3f814a1
PA
70132014-07-25 Pedro Alves <palves@redhat.com>
7014
7015 * gdb.base/double-prompt-target-event-error.exp
7016 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
7017 match.
7018 (cancel_pagination_in_target_event): Rework double prompt
7019 detection.
7020 * gdb.base/paginate-after-ctrl-c-running.exp
7021 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
7022 <return>' match.
7023 * gdb.base/paginate-bg-execution.exp
7024 (test_bg_execution_pagination_return)
7025 (test_bg_execution_pagination_cancel): Remove '-notransfer
7026 <return>' matches.
7027 * gdb.base/paginate-execution-startup.exp
7028 (test_fg_execution_pagination_return)
7029 (test_fg_execution_pagination_cancel): Remove '-notransfer
7030 <return>' matches.
7031 * gdb.base/paginate-inferior-exit.exp
7032 (test_paginate_inferior_exited): Remove '-notransfer <return>'
7033 match.
7034 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
7035 * lib/gdb.exp (pagination_prompt): Run text through
7036 string_to_regexp.
7037 (gdb_test_multiple): Match $pagination_prompt instead of
7038 "<return>".
7039 (string_to_regexp): Move to lib/gdb-utils.exp.
7040
e214cf6c
JK
70412014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7042
7043 * gdb.arch/amd64-entry-value-paramref.S: New file.
7044 * gdb.arch/amd64-entry-value-paramref.cc: New file.
7045 * gdb.arch/amd64-entry-value-paramref.exp: New file.
7046 * gdb.arch/amd64-optimout-repeat.S: New file.
7047 * gdb.arch/amd64-optimout-repeat.c: New file.
7048 * gdb.arch/amd64-optimout-repeat.exp: New file.
7049
17d0c5c8
JK
70502014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7051
7052 PR gdb/17170
7053 * gdb.base/statistics.exp: New file.
7054
b8b8facf
DE
70552014-07-17 Doug Evans <dje@google.com>
7056
74b49205 7057 PR gdb/17170
b8b8facf
DE
7058 * gdb.base/maint.exp: Update testing of per-command stats.
7059
1b5d0ab3
PA
70602014-07-16 Pedro Alves <palves@redhat.com>
7061
7062 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
7063 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
7064 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
7065 (tfile_write_buf): New functions.
7066 (add_memory_block): Rewrite using the above.
7067 (adjust_function_address): New function.
7068 (FUNCTION_ADDRESS): New macro.
7069 (write_basic_trace_file): Remove short_x local, and use
7070 tfile_write_16. Change type of func_addr local to unsigned long
7071 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
7072 here. Cast argument of add_memory_block to char pointer.
7073 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
7074 (main): Remove parameters.
7075 * gdb.trace/tfile.exp: Remove nowarnings.
7076
4d974e88
SM
70772014-07-15 Simon Marchi <simon.marchi@ericsson.com>
7078
7079 * gdb.base/debug-expr.exp: Test string evaluation with
7080 "debug expression" on.
7081
41e99568
PA
70822014-07-15 Pedro Alves <palves@redhat.com>
7083
7084 * gdb.base/reread.exp: Use clean_restart.
7085
487d9753
PL
70862014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
7087
7088 * gdb.arch/avr-flash-qualifer.c: New.
7089 * gdb.arch/avr-flash-qualifer.exp: New.
7090
cc1c52ad
PA
70912014-07-14 Pedro Alves <palves@redhat.com>
7092
7093 * gdb.base/paginate-after-ctrl-c-running.c: New file.
7094 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
7095
1e973570
PA
70962014-07-14 Pedro Alves <palves@redhat.com>
7097
7098 * gdb.base/double-prompt-target-event-error.c: New file.
7099 * gdb.base/double-prompt-target-event-error.exp: New file.
7100
93d6eb10
PA
71012014-07-14 Pedro Alves <palves@redhat.com>
7102
7103 PR gdb/17072
7104 * gdb.base/paginate-inferior-exit.c: New file.
7105 * gdb.base/paginate-inferior-exit.exp: New file.
7106
0017922d
PA
71072014-07-14 Pedro Alves <palves@redhat.com>
7108
7109 PR gdb/17072
7110 * gdb.base/paginate-bg-execution.c: New file.
7111 * gdb.base/paginate-bg-execution.exp: New file.
7112
94696ad3
PA
71132014-07-14 Pedro Alves <palves@redhat.com>
7114
7115 PR gdb/17072
7116 * gdb.base/paginate-execution-startup.c: New file.
7117 * gdb.base/paginate-execution-startup.exp: New file.
7118 * lib/gdb.exp (pagination_prompt): New global.
7119 (default_gdb_spawn): New procedure, factored out from
7120 default_gdb_spawn.
7121 (default_gdb_start): Adjust to call default_gdb_spawn.
7122 (gdb_spawn): New procedure.
7123
bd293940
PA
71242014-07-14 Pedro Alves <palves@redhat.com>
7125
7126 * lib/gdb.exp (gdb_assert): New procedure.
7127 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
7128
c933f875
PA
71292014-07-14 Pedro Alves <palves@redhat.com>
7130
7131 * gdb.base/execution-termios.c: New file.
7132 * gdb.base/execution-termios.exp: New file.
7133
d98b7a16
TT
71342014-07-14 Tom Tromey <tromey@redhat.com>
7135
7136 * gdb.cp/vla-cxx.cc: New file.
7137 * gdb.cp/vla-cxx.exp: New file.
7138
548740d6
TT
71392014-07-14 Tom Tromey <tromey@redhat.com>
7140
7141 * gdb.reverse/rerun-prec.c: New file.
7142 * gdb.reverse/rerun-prec.exp: New file.
7143
a25eb028
MR
71442014-07-12 Maciej W. Rozycki <macro@mips.com>
7145 Maciej W. Rozycki <macro@codesourcery.com>
7146
7147 * lib/gdb-utils.exp: New file.
7148 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
7149 inline `gdb_init_command' processing.
7150 (gdb_start_cmd): Likewise.
7151 * lib/mi-support.exp (mi_run_cmd): Likewise.
7152 * README: Document `gdb_init_command' and `gdb_init_commands'.
7153
218c2655
JK
71542014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7155
7156 Fix false FAIL running under a very long directory name.
7157 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
7158 and "set print elements 10000". Twice.
7159
5401fde3
YQ
71602014-07-11 Yao Qi <yao@codesourcery.com>
7161
7162 * gdb.base/exprs.exp: "set print symbol off".
7163
e76126e8
PA
71642014-07-11 Pedro Alves <palves@redhat.com>
7165
7166 * gdb.threads/kill.c: New file.
7167 * gdb.threads/kill.exp: New file.
7168
2d6f0de6
YQ
71692014-07-10 Yao Qi <yao@codesourcery.com>
7170
7171 * gdb.trace/tfile.c (write_basic_trace_file)
7172 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
7173 address written to trace file.
7174
7180e04a
PA
71752014-07-09 Pedro Alves <palves@redhat.com>
7176
7177 * gdb.base/attach-wait-input.exp: New file.
7178 * gdb.base/attach-wait-input.c: New file.
7179
9a9a7608
AB
71802014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7181
7182 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
7183 setting up test structures.
7184 (main): Call new test function.
7185 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
7186 test function, continue into test function and walk test
7187 structures.
7188
161ac41e
YQ
71892014-07-02 Yao Qi <yao@codesourcery.com>
7190
7191 * gdb.trace/entry-values.c: Define labels 'foo_start' and
7192 'bar_start' at the beginning of functions 'foo' and 'bar'
7193 respectively.
7194 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
7195 instead of 'foo' and 'bar'.
7196
1f267ae3
MM
71972014-07-08 Markus Metzger <markus.t.metzger@intel.com>
7198
7199 * gdb.btrace/segv.exp: New.
7200 * gdb.btrace/segv.c: New.
7201
2b239efb
LM
72022014-07-02 Luis Machado <lgustavo@codesourcery.com>
7203
7204 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
7205 instruction.
7206
cf363f18
MW
72072014-06-30 Mark Wielaard <mjw@redhat.com>
7208
7209 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
7210 vulture, vilify, villar): New volatile array constants.
7211 (vindictive, vegetation): New const volatile array constants.
7212 * gdb.base/volatile.exp: Test volatile and const volatile array
7213 types.
7214
aebf9d24
AA
72152014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7216
7217 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
7218 target lacks support for awatch, rwatch, or hbreak.
7219
b67a2c6f
YQ
72202014-06-27 Yao Qi <yao@codesourcery.com>
7221
7222 * gdb.multi/dummy-frame-restore.exp: New.
7223 * gdb.multi/dummy-frame-restore.c: New.
7224
aef92902
MM
72252014-06-25 Markus Metzger <markus.t.metzger@intel.com>
7226
7227 * gdb.btrace/gcore.exp: New.
7228
8e9db26e
PA
72292014-06-23 Pedro Alves <palves@redhat.com>
7230
7231 * gdb.base/watchpoint-reuse-slot.c: New file.
7232 * gdb.base/watchpoint-reuse-slot.exp: New file.
7233
70afc5b7
SC
72342014-06-23 Siva Chandra Reddy <sivachandra@google.com>
7235
7236 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
7237 progspace's filename in 'info', 'enable' and 'disable' command
7238 tests.
7239
b972bd9c
JK
72402014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7241
7242 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
7243 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7244 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
7245
125f8a3d
GB
72462014-06-20 Gary Benson <gbenson@redhat.com>
7247
7248 * gdb.arch/i386-avx.exp: Fix include file location.
7249 * gdb.arch/i386-sse.exp: Likewise.
7250
3ed9baed
IB
72512014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7252
7253 * gdb.dlang/expression.exp: New file.
7254
034f788c
PA
72552014-06-19 Pedro Alves <palves@redhat.com>
7256
7257 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7258 out from ...
7259 (top level): ... here. Iterate running tests under different
7260 scheduler-locking settings.
7261
45371d0c
LM
72622014-06-18 Luis Machado <lgustavo@codesourcery.com>
7263
7264 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7265 to DW_FORM_addr and use non-zero addresses.
7266
5d376983
SC
72672014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7268
7269 PR gdb/17017
7270 * gdb.python/py-xmethods.cc: Add global function call counters and
7271 increment them in their respective functions. Remove "cout"
7272 statements.
7273 * gdb.python/py-xmethods.exp: Make tests check the global function
7274 call counters instead of depending on inferior IO.
7275
a1aa2221
LM
72762014-06-18 Don Breazeal <donb@codesourcery.com>
7277
7278 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7279 Deleted procedure.
7280 (explicit_fork_parent_follow): Deleted procedure.
7281 (explicit_fork_child_follow): Deleted procedure.
7282 (test_follow_fork): New procedure.
7283 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 7284 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
7285 procedure calls.
7286
0fc05997
YQ
72872014-06-17 Yao Qi <yao@codesourcery.com>
7288
7289 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7290 CP1252.
7291
70795c52
LM
72922014-06-17 Luis Machado <lgustavo@codesourcery.com>
7293
7294 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7295 Initialize ptr and S explicitly.
7296 (skip_type_update_when_not_use_rtti_test): Likewise.
7297
6be47f0c
KS
72982014-06-16 Keith Seitz <keiths@redhat.com>
7299
7300 PR mi/15863
7301 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7302 the inferior is started.
7303
d03de421
PA
73042014-06-16 Pedro Alves <palves@redhat.com>
7305
7306 * gdb.base/break-main-file-remove-fail.c: New file.
7307 * gdb.base/break-main-file-remove-fail.exp: New file.
7308 * gdb.base/break-unload-file.exp: Use build_executable instead of
7309 prepare_for_testing.
7310 (test_break): New parameter "initial_load". Handle it.
7311 (top level): Add initial_load cmdline/file axis.
7312
f9579b99
TT
73132014-06-12 Tom Tromey <tromey@redhat.com>
7314
7315 * gdb.base/completion.exp: Don't use directory name in test.
7316
3657956b
GB
73172014-06-09 Gary Benson <gbenson@redhat.com>
7318
7319 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7320 separate the always-available ANSI-standard signals from the
7321 signals that require checking.
7322 (main): Likewise.
7323 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7324 Likewise.
7325 (main): Likewise.
7326
4186eb54
KS
73272014-06-07 Keith Seitz <keiths@redhat.com>
7328
7329 Revert:
7330 PR c++/16253
7331 * gdb.cp/var-tag.cc: New file.
7332 * gdb.cp/var-tag.exp: New file.
7333 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7334 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7335 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7336 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7337
25326a28 73382014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
7339
7340 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7341
829155c9
PA
73422014-06-06 Pedro Alves <palves@redhat.com>
7343
7344 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7345 in target debug output instead of looking at RSP packets,
7346 disabling the test on any target that uses hardware stepping.
7347 Update comments.
7348
61c8d22e
PA
73492014-06-06 Pedro Alves <palves@redhat.com>
7350
7351 * gdb.base/break-unload-file.exp: Fix typo.
7352
d9a47287
YQ
73532014-06-06 Yao Qi <yao@codesourcery.com>
7354
7355 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7356 from "jit_function" to "^jit_function".
7357
e5e01dbf
YQ
73582014-06-06 Yao Qi <yao@codesourcery.com>
7359
7360 * gdb.base/async.c (foo): Add one statement.
7361 * gdb.base/async.exp: Get the next instruction address and
7362 match the output of "nexti" by instruction address. Match
7363 the hex address in the output of "finish".
7364
73ba372c
GB
73652014-06-06 Gary Benson <gbenson@redhat.com>
7366
7367 * gdb.base/call-signals.c: Remove preprocessor conditionals
7368 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7369 SIGSEGV and SIGTERM.
7370 * gdb.base/sigall.c: Likewise.
7371 * gdb.base/unwindonsignal.c: Likewise.
7372 * gdb.reverse/sigall-reverse.c: Likewise.
7373
831517df
YQ
73742014-06-06 Yao Qi <yao@codesourcery.com>
7375
7376 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7377 readable, skip the test.
7378
b8b91e98
YQ
73792014-06-06 Yao Qi <yao@codesourcery.com>
7380
7381 * gdb.threads/staticthreads.c (thread_function): Move the line
7382 setting breakpoint on forward.
7383 * gdb.threads/staticthreads.exp: Update comments.
7384
fb934770
LC
73852014-06-05 Ludovic Courtès <ludo@gnu.org>
7386
7387 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7388 "history-append! type error".
7389
6ef284bd
SM
73902014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7391
7392 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7393 erroneous dprintf expected input.
7394
a872e241
DE
73952014-06-04 Doug Evans <xdje42@gmail.com>
7396
7397 * gdb.guile/scm-generics.exp: Delete.
7398
16f691fb
DE
73992014-06-04 Doug Evans <xdje42@gmail.com>
7400
7401 * gdb.guile/scm-breakpoint.exp: Update.
7402 Add tests for breakpoint registration.
7403
012370f6
TT
74042014-06-04 Tom Tromey <tromey@redhat.com>
7405
7406 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7407 VLA-in-union.
7408 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7409 inner_vla_struct, vla_union types. Initialize objects of those
7410 types and compute their sizes.
7411
9f5a4cef
HZ
74122014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7413 Hui Zhu <hui@codesourcery.com>
7414
7415 * gdb.base/fileio.exp: Add test for shell not available as well as
7416 available.
7417 * gdb.base/fileio.c (test_system): Check for shell twice.
7418
90a45c4d
YQ
74192014-06-04 Yao Qi <yao@codesourcery.com>
7420
7421 * gdb.base/auto-connect-native-target.exp: Remove redundant
7422 space from the regexp pattern.
7423
70017e41
YQ
74242014-06-04 Yao Qi <yao@codesourcery.com>
7425
7426 * gdb.base/default.exp: Replace "child" with "native" in
7427 regexp pattern.
7428
883964a7
SC
74292014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7430
7431 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7432 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7433 * gdb.python/py-xmethods.py: Python script supporting the
7434 new testcase and tests.
7435
ef370185
JB
74362014-06-03 Joel Brobecker <brobecker@adacore.com>
7437 Pedro Alves <palves@redhat.com>
7438
7439 PR breakpoints/17000
7440 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7441 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7442
1e2ccb61
BM
74432014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7444
7445 * gdb.base/subst.exp: Add tests to verify partial path matching
7446 output.
7447
c6ec5ab2
PA
74482014-06-03 Pedro Alves <palves@redhat.com>
7449
7450 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7451 target that doesn't use software single-stepping.
7452
835c559f
PA
74532014-06-03 Pedro Alves <palves@redhat.com>
7454
7455 PR breakpoints/17000
7456 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7457 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7458
06eb1586
DE
74592014-06-02 Doug Evans <xdje42@gmail.com>
7460
7461 * gdb.guile/scm-parameter.exp: New file.
7462
e698b8c4
DE
74632014-06-02 Doug Evans <xdje42@gmail.com>
7464
7465 * gdb.guile/scm-cmd.c: New file.
7466 * gdb.guile/scm-cmd.exp: New file.
7467
ded03782
DE
74682014-06-02 Doug Evans <xdje42@gmail.com>
7469
7470 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7471 pretty-printer lookup.
7472 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7473 (make-pp_s-printer): Call it.
7474 (make-pretty-printer-from-dict): New function.
7475 (lookup-pretty-printer-maker-from-dict): New function.
7476 (*pretty-printer*): Simplify.
7477 (make-objfile-pp_s-printer): New function.
7478 (install-objfile-pretty-printers!): New function.
7479 (make-progspace-pp_s-printer): New function.
7480 (install-progspace-pretty-printers!): New function.
7481 * gdb.guile/scm-progspace.c: New file.
7482 * gdb.guile/scm-progspace.exp: New file.
7483
41fac0cf
PA
74842014-06-02 Pedro Alves <palves@redhat.com>
7485
7486 * gdb.base/dprintf-bp-same-addr.c: New file.
7487 * gdb.base/dprintf-bp-same-addr.exp: New file.
7488
96ae5695
EBM
74892014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7490
7491 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7492 * gdb.arch/powerpc-power.s: Likewise.
7493
da02b3a8
JB
74942014-06-02 Joel Brobecker <brobecker@adacore.com>
7495
7496 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7497
c72b2e7b
YQ
74982014-06-01 Yao Qi <yao@codesourcery.com>
7499
7500 * gdb.base/watchpoint.exp (test_watch_location): Check null
7501 pointer can be dereferenced. If not, do the test, otherwise
7502 skip it.
7503
53e8a631
AB
75042014-05-30 Andrew Burgess <aburgess@broadcom.com>
7505
7506 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7507 results.
7508 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7509
938f0e2f
AB
75102014-05-30 Andrew Burgess <aburgess@broadcom.com>
7511
7512 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7513 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7514 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7515 * gdb.arch/amd64-invalid-stack-top.c: New file.
7516 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7517
9ba6657a
PA
75182014-05-30 Pedro Alves <palves@redhat.com>
7519
7520 PR breakpoints/17000
7521 * gdb.base/sss-bp-on-user-bp.c: New file.
7522 * gdb.base/sss-bp-on-user-bp.exp: New file.
7523
522c09bf
DB
75242014-05-30 David Blaikie <dblaikie@gmail.com>
7525
7526 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7527 gnu_inline semantics via attribute.
7528 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7529 source explicitly specifies the required semantics.
7530
bf4ef81e
MR
75312014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7532
7533 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7534
329ea579
PA
75352014-05-29 Pedro Alves <palves@redhat.com>
7536 Tom Tromey <tromey@redhat.com>
7537
7538 * gdb.base/async-shell.exp: Don't enable target-async.
7539 * gdb.base/async.exp
7540 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7541 parameter. Adjust.
7542 (top level): Don't test with "target-async".
7543 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7544 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7545 * gdb.base/inferior-died.exp: Don't enable target-async.
7546 * gdb.base/interrupt-noterm.exp: Likewise.
7547 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7548 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7549 * gdb.mi/mi-nonstop.exp: Likewise.
7550 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7551 * gdb.mi/mi-nsintrall.exp: Likewise.
7552 * gdb.mi/mi-nsmoribund.exp: Likewise.
7553 * gdb.mi/mi-nsthrexec.exp: Likewise.
7554 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7555 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7556 * gdb.python/py-evsignal.exp: Don't enable target-async.
7557 * gdb.python/py-evthreads.exp: Likewise.
7558 * gdb.python/py-prompt.exp: Likewise.
7559 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7560 * gdb.server/solib-list.exp: Don't enable target-async.
7561 * gdb.threads/thread-specific-bp.exp: Likewise.
7562 * lib/mi-support.exp: Adjust to use mi-async.
7563
fd664c91
PA
75642014-05-29 Pedro Alves <palves@redhat.com>
7565
7566 PR gdb/13860
7567 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7568 reason, even in sync mode.
7569
251bde03
PA
75702014-05-29 Pedro Alves <palves@redhat.com>
7571 Hui Zhu <hui@codesourcery.com>
7572
7573 PR PR15693
7574 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7575 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7576 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7577 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7578
7f3c0343
JB
75792014-05-28 Joel Brobecker <brobecker@adacore.com>
7580
7581 * config/monitor.exp (gdb_target_monitor): Replace use of
7582 "set remotebaud" by "set serial baud".
7583
b2715b27
AW
75842014-05-26 Andy Wingo <wingo@igalia.com>
7585
7586 * gdb.guile/scm-breakpoint.exp:
7587 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7588 properties instead of gdb-object-properties.
7589
498a4489
YQ
75902014-05-26 Yao Qi <yao@codesourcery.com>
7591
7592 * gdb.server/no-thread-db.exp: Specify source file name
7593 explicitly when setting a breakpoint.
7594
589fdceb
MM
75952014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7596
7597 * gdb.btrace/vdso.c: New.
7598 * gdb.btrace/vdso.exp: New.
7599
e9089e05
MM
76002014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7601
7602 * gdb.base/gcore.exp (capture_command_output): Move ...
7603 * lib/gdb.exp (capture_command_output): ... here.
7604
67b5c0c1
MM
76052014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7606
7607 * gdb.btrace/data.exp: Test memory access during btrace replay.
7608
a2199296
SM
76092014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7610
7611 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7612
17b2616c
PA
76132014-05-21 Pedro Alves <palves@redhat.com>
7614
7615 PR gdb/13860
7616 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7617 (top level): Test that output related to execution commands is
7618 sent to the console with CLI commands, but not with MI commands.
7619 Test that breakpoint events are always mirrored to the console.
7620 Also expect the new source line to be output after a "next" in
7621 async mode too. Make it a pass/fail test.
7622 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7623 output.
7624 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7625
5166082f
PA
76262014-05-21 Pedro Alves <palves@redhat.com>
7627
7628 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7629 Use them to test variations of "list" after reaching a breakpoint.
7630 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7631 Test "list" with listsize 10 after reaching a breakpoint.
7632 * gdb.python/python.exp (decode_line current location line
7633 number): Adjust expected line number.
7634
2f25d70f
SM
76352014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7636
7637 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7638 behavior for $args, pass it directly to "run".
7639
ff604a67
MR
76402014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7641
7642 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7643 30000 to 65536.
7644
6a3cb8e8
PA
76452014-05-21 Pedro Alves <palves@redhat.com>
7646
7647 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7648 auto-connect-native-target off".
7649 * gdb.base/auto-connect-native-target.c: New file.
7650 * gdb.base/auto-connect-native-target.exp: New file.
7651
4ebfc96e
PA
76522014-05-21 Pedro Alves <palves@redhat.com>
7653
7654 * gdb.base/default.exp: Test "target native" instead of "target
7655 child".
7656
36d46afb
MW
76572014-05-21 Mark Wielaard <mjw@redhat.com>
7658
7659 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7660
5876f503
JK
76612014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7662
7663 Fix TLS access for -static -pthread.
7664 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7665 <HAVE_TLS> (thread_function, main): Initialize it.
7666 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7667 Add clean_restart.
7668 <$have_tls != "">: Check TLSVAR.
7669
0256a6ac
PA
76702014-05-21 Pedro Alves <palves@redhat.com>
7671
7672 * gdb.base/dcache-line-read-error.c: New.
7673 * gdb.base/dcache-line-read-error.exp: New.
7674
936d2992
PA
76752014-05-20 Pedro Alves <palves@redhat.com>
7676
7677 * gdb.base/compare-sections.c: New file.
7678 * gdb.base/compare-sections.exp: New file.
7679
802e8e6d
PA
76802014-05-20 Pedro Alves <palves@redhat.com>
7681
7682 * gdb.base/break-idempotent.c: New file.
7683 * gdb.base/break-idempotent.exp: New file.
7684
e59fa00f
MM
76852014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7686
7687 * gdb.btrace/nohist.exp: New.
7688
8b696e31
YQ
76892014-05-20 Yao Qi <yao@codesourcery.com>
7690
7691 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7692 gdb.reverse directory and gdb_reverse_timeout exists in board
7693 setting.
7694 * README: Document gdb_reverse_timeout.
7695
73c9764f
YQ
76962014-05-20 Yao Qi <yao@codesourcery.com>
7697
7698 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7699 'test_file_name'. Treat args as a string instead of a list.
7700 (gdb_init): Rename argument 'args' by 'test_file_name'.
7701
f1f4348a
JK
77022014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7703
7704 * gdb.arch/powerpc-power.exp: New file.
7705 * gdb.arch/powerpc-power.s: New file.
7706
0dbe70ce
DE
77072014-05-16 Doug Evans <dje@google.com>
7708
7709 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
7710 * gdb.base/completion.exp: Check that all expected files exist
7711 before doing file completion.
0dbe70ce 7712
8d551b02
DE
77132014-05-16 Doug Evans <dje@google.com>
7714
7715 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7716 Update.
7717 (do_syscall_tests_without_xml): Update.
7718
73eb7709
PA
77192014-05-16 Pedro Alves <palves@redhat.com>
7720
7721 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7722 instead of "unknown output after running".
7723
3fae92fc
YQ
77242014-05-16 Yao Qi <yao@codesourcery.com>
7725
7726 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7727 file1.txt from host at the end.
7728 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7729
c2b2ccc5
DE
77302014-05-15 Doug Evans <dje@google.com>
7731
7732 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7733 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7734 loading file. Add test for TU lookup.
7735
8c217a4b
SM
77362014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7737
7738 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7739 calling "-exec-arguments" or "set args" before running the
7740 inferior.
7741
3deb39c6
SM
77422014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7743
7744 * lib/mi-support.exp (mi_expect_stop): Expect message for
7745 inferiors that exit with non-zero exit code.
7746
71a79f8c
YQ
77472014-05-14 Yao Qi <yao@codesourcery.com>
7748
7749 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7750 match absolute path on remote host.
7751 (test_file_list_exec_source_files): Remove "/" from the
7752 pattern.
7753
f23fcd46
YQ
77542014-05-14 Yao Qi <yao@codesourcery.com>
7755
7756 * boards/local-remote-host-notty.exp (${board}_file): New
7757 proc.
7758
9404b58f
KM
77592014-05-07 Kyle McMartin <kyle@redhat.com>
7760
7761 Pushed by Joel Brobecker <brobecker@adacore.com>.
7762 * gdb.arch/aarch64-atomic-inst.c: New file.
7763 * gdb.arch/aarch64-atomic-inst.exp: New file.
7764
5e45f04c
YQ
77652014-05-07 Yao Qi <yao@codesourcery.com>
7766
7767 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7768 in current context" too.
7769
c888a17d
KS
77702014-05-05 Keith Seitz <keiths@redhat.com>
7771
7772 * gdb.linespec/ls-dollar.exp: Add test for linespec
7773 file:convenience_variable.
7774
290a839c
YQ
77752014-05-05 Yao Qi <yao@codesourcery.com>
7776
7777 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7778 traceframes into tfile and ctf trace files. Read data from
7779 trace file and test collected data.
7780 (gdb_collect_locals_test): Likewise.
7781 (gdb_unavailable_registers_test): Likewise.
7782 (gdb_unavailable_floats): Likewise.
7783 (gdb_collect_globals_test): Likewise.
7784 (top-level): Append "ctf" to trace_file_targets if GDB
7785 supports.
7786
b5262cd0
YQ
77872014-05-05 Yao Qi <yao@codesourcery.com>
7788
7789 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7790 code to ...
7791 (gdb_collect_args_test_1): ... it. New proc.
7792 (gdb_collect_locals_test): Move some code to ...
7793 (gdb_collect_locals_test_1): ... it. New proc.
7794 (gdb_unavailable_registers_test): Move some code to ...
7795 (gdb_unavailable_registers_test_1): ... it. New proc.
7796 (gdb_unavailable_floats): Move some code to ...
7797 (gdb_unavailable_floats_1): ... it. New proc.
7798
30a1e6cc
SDJ
77992014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7800
7801 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7802 probes to test for bitness recognition.
7803 * gdb.arch/amd64-stap-optional-prefix.exp
7804 (test_probe_value_without_reg): New procedure.
7805 Add code to test for different kinds of bitness.
7806
f33da99a
SDJ
78072014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7808
7809 PR breakpoints/16889
7810 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7811 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7812
5b80f00d
PA
78132014-05-01 Pedro Alves <palves@redhat.com>
7814
7815 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7816 gdb_file_cmd if no file is specified.
7817 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7818 last_loaded_file to set the remote exec-file.
7819
f8c2a73c
PA
78202014-05-01 Pedro Alves <palves@redhat.com>
7821
7822 * boards/local-remote-host.exp: New file.
7823
be6e8ac7
PA
78242014-05-01 Pedro Alves <palves@redhat.com>
7825
7826 * boards/local-remote-host.exp: Rename to ...
7827 * boards/local-remote-host-notty.exp: ... this.
7828
cac0dc8f
JB
78292014-04-28 Joel Brobecker <brobecker@adacore.com>
7830
7831 * gdb.ada/dyn_arrayidx: New testcase.
7832
9730e6cc
YQ
78332014-04-26 Yao Qi <yao@codesourcery.com>
7834
7835 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7836 and compute the length of function main. Save it in
7837 $main_length.
7838 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7839 (top-level): Use gdb_compile to compile objects into
7840 executable and restart GDB. Remove invocation to
7841 prepare_for_testing.
7842
7ae1a6a6
PA
78432014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7844 Pedro Alves <palves@redhat.com>
7845
7846 PR server/16255
7847 * gdb.multi/multi-attach.c: New file.
7848 * gdb.multi/multi-attach.exp: New file.
7849
4082afcc
PA
78502014-04-25 Pedro Alves <palves@redhat.com>
7851
7852 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7853 user.
7854 (top level): Test that "set remote conditional-breakpoints-packet
7855 off" works as intended.
7856 * gdb.base/dprintf.exp: Test that "set remote
7857 breakpoint-commands-packet off" works as intended.
7858 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7859 New function.
7860 (top level): Call it.
7861 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7862 remote fast-tracepoints-packet off" works as intended.
7863 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7864 * lib/gdb.exp (gdb_is_target_remote): ... here.
7865
2abc3f8d
DB
78662014-04-24 David Blaikie <dblaikie@gmail.com>
7867
7868 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7869 ensure clang would not discard them.
7870 * gdb.base/gdbvars.c: Ditto.
7871 * gdb.base/memattr.c: Ditto.
7872 * gdb.base/whatis.c: Ditto.
7873 * gdb.python/py-prettyprint.c: Ditto.
7874 * gdb.trace/actions.c: Ditto.
7875 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7876 ensure clang would not discard it.
7877
bfd39632
DB
78782014-04-24 David Blaikie <dblaikie@gmail.com>
7879
7880 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7881 clang to emit the full definition of type required by the test
7882 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7883
22842ff6
DB
78842014-04-24 David Blaikie <dblaikie@gmail.com>
7885
7886 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7887 coax Clang into emitting the definition of the type.
7888 * gdb.cp/pr10728-x.h (y): Ditto.
7889 * gdb.cp/pr10728-y.cc (y): Ditto.
7890
c2e827ad
DB
78912014-04-24 David Blaikie <dblaikie@gmail.com>
7892
7893 * gdb.base/label.exp: XFAIL label related tests under Clang.
7894 * gdb.cp/cplabel.exp: Ditto.
7895 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7896 under Clang those using labels.
7897
4c2d33e7
YQ
78982014-04-25 Yao Qi <yao@codesourcery.com>
7899
7900 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7901 double_label.
7902 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7903 partial_label and double_label.
7904
56083b99
DB
79052014-04-24 David Blaikie <dblaikie@gmail.com>
7906
7907 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7908
25d4e99d
DB
79092014-04-24 David Blaikie <dblaikie@gmail.com>
7910
7911 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7912 of the function to work across GCC and Clang.
7913 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7914 pointer types (const void ** const V void **).
7915
01f9f808
MS
79162014-04-24 Michael Sturm <michael.sturm@mintel.com>
7917 Walfred Tedeschi <walfred.tedeschi@intel.com>
7918
7919 * Makefile.in (EXECUTABLES): Added i386-avx512.
7920 * gdb.arch/i386-avx512.c: New file.
7921 * gdb.arch/i386-avx512.exp: Likewise.
7922
4b48d439
KS
79232014-04-23 Keith Seitz <keiths@redhat.com>
7924
7925 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7926 (mi_make_breakpoint_table): New procedure.
7927 (mi_create_breakpoint): Use mi_make_breakpoint
7928 and return the result.
7929 (mi_make_breakpoint): New procedure.
7930 (mi_build_kv_pairs): New procedure.
7931
7932 * gdb.mi/mi-break.exp: Remove unused globals,
7933 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7934 All callers updated.
7935 * gdb.mi/mi-dprintf.exp: Use variable to track command
7936 number.
7937 Update all callers of mi_create_breakpoint and use
7938 mi_make_breakpoint_table.
7939 Remove any unused global variables.
7940 * gdb.mi/mi-nonstop.exp: Likewise.
7941 * gdb.mi/mi-nsintrall.exp: Likewise.
7942 * gdb.mi/mi-nsmoribund.exp: Likewise.
7943 * gdb.mi/mi-nsthrexec.exp: Likewise.
7944 * gdb.mi/mi-reverse.exp: Likewise.
7945 * gdb.mi/mi-simplerun.exp: Likewise.
7946 * gdb.mi/mi-stepn.exp: Likewise.
7947 * gdb.mi/mi-syn-frame.exp: Likewise.
7948 * gdb.mi/mi-until.exp: Likewise.
7949 * gdb.mi/mi-var-cp.exp: Likewise.
7950 * gdb.mi/mi-var-display.exp: Likewise.
7951 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7952 * gdb.mi/mi2-var-child.exp: Likewise.
7953 * gdb.mi/mi-vla-c99.exp: Likewise.
7954 * lib/mi-support.exp: Likewise.
7955
7956 From Ian Lance Taylor <iant@cygnus.com>:
7957 * lib/gdb.exp (parse_args): New procedure.
7958
08351840
PA
79592014-04-23 Pedro Alves <palves@redhat.com>
7960
7961 * gdb.base/break-unload-file.c: New file.
7962 * gdb.base/break-unload-file.exp: New file.
7963 * gdb.base/sym-file-lib.c (baz): New function.
7964 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7965 field.
7966 (load): Store the segment's mapped size.
7967 (unload): New function.
7968 (unload_shlib): New function.
7969 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7970 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7971 set a breakpoint at baz, and call it.
7972 * gdb.base/sym-file.exp: New tests for stale breakpoint
7973 instructions.
7974
076855f9
PA
79752014-04-23 Pedro Alves <palves@redhat.com>
7976
7977 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7978 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7979 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7980 * gdb.base/hbreak-unmapped.c: New file.
7981 * gdb.base/hbreak-unmapped.exp: New file.
7982 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7983 * lib/gdb.exp (gdb_is_target_remote): ... here.
7984
483805cf
PA
79852014-04-22 Pedro Alves <palves@redhat.com>
7986
7987 * gdb.base/consecutive-step-over.c: New file.
7988 * gdb.base/consecutive-step-over.exp: New file.
7989
06d97543
PA
79902014-04-22 Pedro Alves <palves@redhat.com>
7991
7992 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7993 instead of send_gdb/gdb_expect.
7994
b4429ea2
YQ
79952014-04-22 Yao Qi <yao@codesourcery.com>
7996
7997 * lib/trace-support.exp (generate_tracefile): New procedure.
7998 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7999 return 0.
8000 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
8001 if generate_tracefile returns 1.
8002
51d48146
PA
80032014-04-18 Tom Tromey <palves@redhat.com>
8004 Pedro alves <tromey@redhat.com>
8005
8006 PR backtrace/15558
8007 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
8008 with a backtrace limit.
8009 * gdb.python/py-frame-inline.exp: Test running to an inline
8010 function with a backtrace limit, and printing the newest frame.
8011 * gdb.python/py-frame-inline.c (main): Call f.
8012
bd1dce5f
MS
80132014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8014
8015 * gdb.java/jnpe.exp: Drop srcdir from untested path.
8016
40d1a503
MS
80172014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8018
8019 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
8020 Drop prefix from unsupported source file path.
8021
389b98f7
YQ
80222014-04-17 Yao Qi <yao@codesourcery.com>
8023
8024 * lib/gdb.exp (with_target_charset): New proc.
8025 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
8026 with_target_charset.
8027 (test_print_strings): Likewise.
8028 (test_repeat_bytes): Likewise.
8029 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
8030 for some tests.
8031
22869d73
KS
80322014-04-16 Keith Seitz <keiths@redhat.com>
8033
8034 PR gdb/15827
8035 * gdb.dwarf2/corrupt.c: New file.
8036 * gdb.dwarf2/corrupt.exp: New file.
8037
c4f87ca6
KS
80382014-04-16 Keith Seitz <keiths@redhat.com>
8039
8040 PR c++/16597
8041 * gdb.cp/namelessclass.cc: New file.
8042 * gdb.cp/namelessclass.exp: New file.
8043 * gdb.cp/namelessclass.S: New file.
8044
ab19de87
DE
80452014-04-16 Doug Evans <dje@google.com>
8046
8047 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
8048 Add comment.
8049 (gdbserver_default_get_comm_port): New function.
8050 (gdbserver_start): Check if board file provided
8051 "gdbserver,get_comm_port" and use it if so.
8052 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
8053 (gdb,socketport): Set to "stdio".
8054 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
8055 (stdio_gdbserver_template): Delete.
8056 (${board}_get_remote_address): Update.
8057 (${board}_build_remote_cmd): Delete.
8058 (${board}_get_comm_port): New function.
8059 (${board}_spawn): Update.
8060 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
8061 Delete.
8062 (${board}_get_remote_address): Update.
8063 (${board}_get_comm_port): New function.
8064
fc98a809
AB
80652014-04-16 Andrew Burgess <aburgess@broadcom.com>
8066
8067 * gdb.base/memattr.exp: Improve regexps to handle memory regions
8068 appearing in any order.
8069
87fd9e6e
DE
80702014-04-15 Doug Evans <dje@google.com>
8071
8072 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
8073 uninitialized value of "description".
8074
099fc3ea
KS
80752014-04-15 Keith Seitz <keiths@redhat.com>
8076
8077 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
8078 Remove unused globals.
8079 (test_running_the_program): Likewise.
8080 (test_controlled_execution): Likewise.
8081 (test_controlling_breakpoints): Likewise.
8082 (test_program_termination): Likewise.
8083
5da151d4
KS
80842014-04-15 Keith Seitz <keiths@redhat.com>
8085
8086 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
8087 unused globals.
8088 (test_rbreak_creation_and_listing): Likewise.
8089 (test_ignore_count): Likewise.
8090 (test_error): Likewise.
8091
35e5d2f0
PA
80922014-04-15 Pedro Alves <palves@redhat.com>
8093
8094 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
8095 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
8096 sym-file-loader.c.
8097 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8098 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8099 to sym-file-loader.c.
8100 (struct library): Forward declare.
8101 (load_shlib, lookup_function): Change prototypes.
8102 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8103 (translate_offset): Remove declarations.
8104 (get_text_addr): New declaration.
8105 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
8106 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
8107 sym-file-loader.h.
8108 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8109 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8110 here from sym-file-loader.h.
8111 (struct library): New structure.
8112 (load_shlib, lookup_function): Change prototypes and adjust to
8113 work with a struct library.
8114 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8115 (translate_offset): Make static.
8116 (get_text_addr): New function.
8117 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
8118
eb4c1710
PA
81192014-04-15 Pedro Alves <palves@redhat.com>
8120
8121 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
8122
2d1baf52
PA
81232014-04-15 Pedro Alves <palves@redhat.com>
8124
8125 * gdb.base/sym-file-loader.c: Include <limits.h>.
8126 (SELF_LINK): New define.
8127 (get_origin): New function.
8128 (load_shlib): Use it.
8129 * gdb.base/sym-file.exp: Don't early return if the target is
8130 remote. Use runto_main, and issue fail is that fails. Use
8131 gdb_load_shlibs.
8132 (shlib_name): Delete.
8133 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
8134
7dd6df01
PA
81352014-04-15 Pedro Alves <palves@redhat.com>
8136
8137 * gdb.base/sym-file.exp: Remove regex characters from test
8138 message. Don't refer to breakpoint numbers in test messages.
8139
b50c8614
KS
81402014-04-14 Keith Seitz <keiths@redhat.com>
8141
8142 PR c++/16253
8143 * gdb.cp/var-tag.cc: New file.
8144 * gdb.cp/var-tag.exp: New file.
8145 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8146 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8147 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8148 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8149
3d567982
TT
81502014-04-14 Tom Tromey <tromey@redhat.com>
8151
8152 * gdb.cp/classes.exp (test_enums): Handle underlying type.
8153 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
8154 type.
8155 * gdb.cp/enum-class.exp: New file.
8156 * gdb.cp/enum-class.cc: New file.
8157
0626fc76
TT
81582014-04-14 Tom Tromey <tromey@redhat.com>
8159
8160 * gdb.dwarf2/enum-type.exp: New file.
8161
dca325b3
SA
81622014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8163
8164 * gdb.mi/mi-vla-c99.exp: New file.
8165 * gdb.mi/vla.c: New file.
8166
5854b38a
SA
81672014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8168
8169 * gdb.base/vla-datatypes.c: New file.
8170 * gdb.base/vla-datatypes.exp: New file.
8171
463bb957
SA
81722014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8173
8174 * gdb.base/vla-ptr.c: New file.
8175 * gdb.base/vla-ptr.exp: New file.
8176
3dd170be
SA
81772014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8178
8179 * gdb.dwarf2/count.exp: New file.
8180
5ecaaa66
SA
81812014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8182
8183 * gdb.base/vla-sideeffect.c: New file.
8184 * gdb.base/vla-sideeffect.exp: New file.
8185
41f1ada5
DB
81862014-04-14 David Blaikie <dblaikie@gmail.com>
8187
8188 * gdb.mi/non-stop.c: Add return value for non-void function return
8189 statement.
8190 * gdb.threads/staticthreads.c: Ditto.
8191
0be03e84
DE
81922014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8193 Doug Evans <xdje42@gmail.com>
8194
8195 * gdb.guile/scm-value.c: Improve test case.
8196 * gdb.guile/scm-value.exp: Add new test.
8197
f180a1fb
DB
81982014-04-11 David Blaikie <dblaikie@gmail.com>
8199
8200 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
8201 override Clang's default.
8202
6b662e19
JB
82032014-04-11 Joel Brobecker <brobecker@adacore.com>
8204
8205 Revert the following changes (regressions):
8206
8207 * gdb.base/vla-sideeffect.c: New file.
8208 * gdb.base/vla-sideeffect.exp: New file.
8209
8210 * gdb.dwarf2/count.exp: New file.
8211
8212 * gdb.base/vla-multi.c: New file.
8213 * gdb.base/vla-multi.exp: New file.
8214
8215 * gdb.base/vla-ptr.c: New file.
8216 * gdb.base/vla-ptr.exp: New file.
8217
8218 * gdb.base/vla-datatypes.c: New file.
8219 * gdb.base/vla-datatypes.exp: New file.
8220
8221 * gdb.mi/mi-vla-c99.exp: New file.
8222 * gdb.mi/vla.c: New file.
8223
245a5f0b
KS
82242014-04-11 Keith Seitz <keiths@redhat.com>
8225
8226 PR c++/16675
8227 * gdb.cp/cpsizeof.exp: New file.
8228 * gdb.cp/cpsizeof.cc: New file.
8229
58a84dcf
SA
82302014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8231
191a8a90
JB
8232 * gdb.mi/mi-vla-c99.exp: New file.
8233 * gdb.mi/vla.c: New file.
58a84dcf 8234
c8655f75
SA
82352014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8236
8237 * gdb.base/vla-datatypes.c: New file.
8238 * gdb.base/vla-datatypes.exp: New file.
8239
024e13b4
SA
82402014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8241
8242 * gdb.base/vla-ptr.c: New file.
8243 * gdb.base/vla-ptr.exp: New file.
8244
1a237e0e
SA
82452014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8246
8247 * gdb.base/vla-multi.c: New file.
8248 * gdb.base/vla-multi.exp: New file.
8249
504f3432
SA
82502014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8251
8252 * gdb.dwarf2/count.exp: New file.
8253
3bce8237
SA
82542014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8255
191a8a90
JB
8256 * gdb.base/vla-sideeffect.c: New file.
8257 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 8258
322f9c21
YQ
82592014-04-11 Yao Qi <yao@codesourcery.com>
8260
8261 * gdb.base/completion.exp: Check file exists before running tests
8262 on file completion.
8263
d708bcd1
PA
82642014-04-10 Pedro Alves <palves@redhat.com>
8265
8266 * gdb.base/cond-eval-mode.c: New file.
8267 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8268 prepare_for_testing to build the new file. Check result of
8269 runto_main.
8270 (test_break, test_watch): New procedures.
8271 (top level): Use them.
8272
ae1d2761
PM
82732014-04-08 Pierre Muller <muller@sourceware.org>
8274
8275 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8276 Ctrl-V use for mingw hosts.
8277
7af389b8
SC
82782014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8279
8280 * gdb.python/py-value.c: Improve test case.
8281 * gdb.python/py-value.exp: Add new test.
8282
5e703181
DE
82832014-04-07 David Blaikie <dblaikie@gmail.com>
8284
8285 * lib/compiler.c: Identify the clang compiler.
8286 * lib/compiler.cc: Ditto.
8287
9810b410
YQ
82882014-04-03 Yao Qi <yao@codesourcery.com>
8289
8290 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8291
98d1b8dc
AB
82922014-04-01 Anton Blanchard <anton@samba.org>
8293
8294 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8295 messages unique.
8296
3114cea1
AB
82972014-04-01 Anton Blanchard <anton@samba.org>
8298
8299 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8300 prepare_for_testing.
8301
62f7182c
AB
83022014-04-01 Anton Blanchard <anton@samba.org>
8303
8304 * gdb.arch/ppc64-atomic-inst.c: Remove.
8305 * gdb.arch/ppc64-atomic-inst.S: New file.
8306 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8307
770e7fc7
DE
83082014-03-31 Doug Evans <dje@google.com>
8309
8310 * gdb.base/print-symbol-loading-lib.c: New file.
8311 * gdb.base/print-symbol-loading-main.c: New file.
8312 * gdb.base/print-symbol-loading.exp: New file.
8313
46e2bafa
YQ
83142014-03-31 Yao Qi <yao@codesourcery.com>
8315
8316 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8317
8776cfe9
JB
83182014-03-28 Joel Brobecker <brobecker@adacore.com>
8319
8320 * gdb.ada/mi_dyn_arr: New testcase.
8321
5d1ef361
DE
83222014-03-27 Doug Evans <dje@google.com>
8323
8324 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8325
b5bee914
YQ
83262014-03-27 Yao Qi <yao@codesourcery.com>
8327
8328 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8329 if target is nios2-*-*.
8330
0d4d0e77
YQ
83312014-03-26 Yao Qi <yao@codesourcery.com>
8332
8333 * lib/gdb.exp (readline_is_used): New proc.
8334 * gdb.base/completion.exp: Move tests on command complete up.
8335 Skip the rest of tests if readline is not used.
8336 * gdb.ada/complete.exp: Skp the test if readline is not
8337 used.
8338 * gdb.base/filesym.exp: Likewise.
8339 * gdb.base/macscp.exp: Likewise.
8340 * gdb.base/readline-ask.exp: Likewise.
8341 * gdb.base/readline.exp: Likewise.
8342 * gdb.python/py-cmd.exp: Likewise.
8343 * gdb.trace/tfile.exp: Likewise.
8344
29361eee
YQ
83452014-03-26 Yao Qi <yao@codesourcery.com>
8346
8347 * gdb.base/macscp.exp: Fix code format issues.
8348
bc9a5525
UW
83492014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8350
8351 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8352 * gdb.asm/powerpc64le.inc: New file.
8353
d3839ede
PA
83542014-03-25 Pedro Alves <palves@redhat.com>
8355 Doug Evans <dje@google.com>
8356
8357 * gdb.base/source-execution.c: New file.
8358 * gdb.base/source-execution.exp: New file.
8359 * gdb.base/source-execution.gdb: New file.
8360
01672a57
DE
83612014-03-24 Doug Evans <dje@google.com>
8362
8363 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8364 using fission.
8365
88bbeca9
HZ
83662014-03-24 Hui Zhu <hui@codesourcery.com>
8367 Pedro Alves <palves@redhat.com>
8368
8369 PR breakpoints/16101
8370 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8371 test pass/fail messages. Detect missing support for dprintf when
8372 breakpoints are actually inserted.
8373 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8374 breakpoints are actually inserted.
8375 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8376 fails.
8377
d2348791
JK
83782014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8379
8380 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8381
feef67ab
DE
83822014-03-22 Doug Evans <xdje42@gmail.com>
8383
8384 * gdb.python/python.exp (python not supported): Verify multi-line
8385 python command issues an error.
25d743f9 8386 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 8387 guile command issues an error.
feef67ab 8388
ecebef6a
MR
83892014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8390
8391 * gdb.threads/thread-specific.exp: Handle the lack of usable
8392 $this_breakpoint and $this_thread.
8393
ccdd1909
HZ
83942014-03-21 Hui Zhu <hui@codesourcery.com>
8395
8396 * gdb.base/attach.exp (do_command_attach_tests): New.
8397
beb460e8
PA
83982014-03-20 Tom Tromey <tromey@redhat.com>
8399 Pedro Alves <palves@redhat.com>
8400
8401 PR cli/15718
8402 * gdb.base/condbreak-call-false.c: New file.
8403 * gdb.base/condbreak-call-false.exp: New file.
8404
40acf43a
PA
84052014-03-20 Pedro Alves <palves@redhat.com>
8406
8407 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8408 Delete.
8409 (block_signals, unblock_signals): Delete.
8410 (child_function_2, main): Remove references to deleted variable
8411 and functions.
8412
9f5e1e02
PA
84132014-03-20 Pedro Alves <palves@redhat.com>
8414
8415 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8416 Use pthread_kill to signal thread 2.
8417 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8418 Adjust to make the test send itself a signal rather than using the
8419 host's "kill" command.
8420
99619bea
PA
84212014-03-20 Pedro Alves <palves@redhat.com>
8422
8423 * gdb.threads/multiple-step-overs.c: New file.
8424 * gdb.threads/multiple-step-overs.exp: New file.
8425 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8426 Adjust expected infrun debug output.
8427
2adfaa28
PA
84282014-03-20 Pedro Alves <palves@redhat.com>
8429
8430 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8431 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8432
31e77af2
PA
84332014-03-20 Pedro Alves <palves@redhat.com>
8434
8435 PR breakpoints/7143
8436 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8437 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8438 of gdb_test_multiple.
8439 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8440 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8441
b9f437de
PA
84422014-03-20 Pedro Alves <palves@redhat.com>
8443
8444 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8445 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8446
05adc73e
PA
84472014-03-19 Pedro Alves <palves@redhat.com>
8448
8449 * gdb.base/async.exp: Remove early return.
8450
6048b950
PA
84512014-03-19 Pedro Alves <palves@redhat.com>
8452
8453 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8454
8bcfb00a
PA
84552014-03-19 Pedro Alves <palves@redhat.com>
8456
8457 * gdb.base/async.exp (test_background): Expect \r\n after
8458 "completed." in the fail pattern.
8459
884e37dc
PA
84602014-03-19 Pedro Alves <palves@redhat.com>
8461
8462 * gdb.base/async.exp (test_background): New procedure.
8463 Use it for all background execution command tests.
8464
148e57e2
PA
84652014-03-19 Pedro Alves <palves@redhat.com>
8466
8467 * gdb.base/async.exp: Use prepare_for_testing.
8468
f48088c7
PA
84692014-03-19 Pedro Alves <palves@redhat.com>
8470
8471 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8472 the same line.
8473
e2f6c966
PA
84742014-03-19 Pedro Alves <palves@redhat.com>
8475
8476 * gdb.base/async.c (main): Add "jump here" and "until here" line
8477 marker comments.
8478 * gdb.base/async.exp (jump_here): New global.
8479 (jump& test): Use it.
8480 (until_here): New global.
8481 (until& test): Use it.
8482
c30568d4
PA
84832014-03-19 Pedro Alves <palves@redhat.com>
8484
8485 * gdb.base/async.exp: Don't frob gdb_protocol.
8486
0172b6a7
DE
84872014-03-18 Doug Evans <xdje42@gmail.com>
8488
8489 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8490 Fix spelling of exec-done-display.
8491
06c868a8
JK
84922014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8493
8494 PR gdb/15358
8495 * gdb.base/gdb-sigterm.c: New file.
8496 * gdb.base/gdb-sigterm.exp: New file.
8497
0c7e1a46
PA
84982014-03-18 Pedro Alves <palves@redhat.com>
8499
8500 PR gdb/13860
8501 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8502 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8503 solib-event.
8504
f7c77d93
JB
85052014-03-17 Joel Brobecker <brobecker@adacore.com>
8506
8507 * gdb.ada/pckd_arr_ren: New testcase.
8508
5a1e8c7a
DE
85092014-03-13 Doug Evans <xdje42@gmail.com>
8510
8511 PR guile/16612
8512 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8513 collect after discarding symbols.
8514
350e1a76
DE
85152014-03-13 Ludovic Courtès <ludo@gnu.org>
8516 Doug Evans <xdje42@gmail.com>
8517
8518 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8519 to history survives a gc.
8520
a69900ae
PA
85212014-03-13 Pedro Alves <palves@redhat.com>
8522
8523 * gdb.base/default.exp: Don't test "target procfs".
8524
5db9f0bd
PA
85252014-03-13 Pedro Alves <palves@redhat.com>
8526
8527 * gdb.base/default.exp: Update "target child" and "target procfs"
8528 tests to not expect "Unix".
8529
b3ccfe11
TT
85302014-03-12 Tom Tromey <tromey@redhat.com>
8531
8532 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8533 New procs. Add target-async tests.
8534 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8535 Add target-async tests.
8536
646f4417
AA
85372014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8538
8539 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8540 'func_start' and 'func_end' for the beginning and end of the
8541 function code, respectively.
8542 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8543 'func_end' instead of 'func' and 'main'.
8544
288c211f
AA
85452014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8546
8547 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8548 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8549 generate the debug info assembler source.
8550
e0c0f156
AA
85512014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8552
8553 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8554 * gdb.dwarf2/arr-subrange.exp: Likewise.
8555 * gdb.dwarf2/dwz.exp: Likewise.
8556 * gdb.dwarf2/method-ptr.exp: Likewise.
8557 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8558 * gdb.dwarf2/subrange.exp: Likewise.
8559 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8560 * gdb.dwarf2/implptrpiece.exp: Likewise.
8561 * gdb.dwarf2/nostaticblock.exp: Likewise.
8562
0e5c4555
AA
85632014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8564
8565 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8566 directory to absolute path name arguments.
8567
5ec18f2b
JG
85682014-03-10 Joel Brobecker <brobecker@adacore.com>
8569
8570 * gdb.ada/tagged_access: New testcase.
8571
847fc4f2
MM
85722014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8573
8574 * gdb.btrace/data.exp: Update expected output.
8575
cc3da688
YQ
85762014-03-06 Yao Qi <yao@codesourcery.com>
8577
8578 * gdb.trace/pr16508.exp: New file.
8579
0f26cec1
PA
85802014-03-05 Pedro Alves <palves@redhat.com>
8581
8582 PR gdb/16575
8583 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8584 procedure.
8585 (top level): Adjust to use it. Add tests that exercise breakpoint
8586 interaction with the code-cache.
8587
7a5a839f
LC
85882014-02-26 Ludovic Courtès <ludo@gnu.org>
8589
8590 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8591 test for 'history-append!'.
8592
31aa7e4e
JB
85932014-02-26 Joel Brobecker <brobecker@adacore.com>
8594
8595 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8596 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8597 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8598 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8599 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8600 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8601
1b588015
JB
86022014-02-26 Joel Brobecker <brobecker@adacore.com>
8603
8604 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8605 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8606 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8607
55426c9d
JB
86082014-02-26 Joel Brobecker <brobecker@adacore.com>
8609
8610 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8611
dc53a7ad
JB
86122014-02-26 Joel Brobecker <brobecker@adacore.com>
8613
8614 * gdb.dwarf2/arr-stride.c: New file.
8615 * gdb.dwarf2/arr-stride.exp: New file.
8616
12ab52e9
PA
86172014-02-26 Pedro Alves <palves@redhat.com>
8618
8619 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8620 that won't ever trigger. Make sure that GDB reports the correct
8621 breakpoint that caused the stop.
8622
849c862e
JK
86232014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8624
8625 PR gdb/16626
8626 * gdb.base/auto-load-script: New file.
8627 * gdb.base/auto-load.c: New file.
8628 * gdb.base/auto-load.exp: New file.
8629
71b7d793
JK
8630 PR gdb/16626
8631 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8632
e2f0d509
JK
86332014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8634
8635 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8636 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8637
50cc37c8
DE
86382014-02-24 Doug Evans <dje@google.com>
8639
8640 * lib/gdb.exp (run_on_host): Log error output if program fails.
8641
ea4758f2
PA
86422014-02-21 Pedro Alves <palves@redhat.com>
8643
8644 * gdb.threads/step-after-sr-lock.c: Rename to ...
8645 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8646 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8647 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8648 ... this.
8649
d7b30f67
SDJ
86502014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8651
8652 PR tdep/16397
8653 * gdb.arch/amd64-stap-special-operands.exp: New file.
8654 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8655 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8656 * gdb.arch/amd64-stap-triplet.S: Likewise.
8657 * gdb.arch/amd64-stap-triplet.c: Likewise.
8658
83deb43f
JB
86592014-02-20 Joel Brobecker <brobecker@adacore.com>
8660
8661 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8662 in .section pseudo-op.
8663
adde2bff
DE
86642014-02-20 lin zuojian <manjian2006@gmail.com>
8665 Joel Brobecker <brobecker@adacore.com>
8666 Doug Evans <xdje42@gmail.com>
8667
8668 PR symtab/16581
8669 * gdb.dwarf2/dw2-icycle.S: New file.
8670 * gdb.dwarf2/dw2-icycle.c: New file.
8671 * gdb.dwarf2/dw2-icycle.exp: New file.
8672
f7bd0f78
SC
86732014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8674
8675 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8676 operations on gdb.Value objects.
8677 * gdb.python/py-value-cc.exp: Add new test to test operations on
8678 gdb.Value objects.
8679
c17ef0d5
DE
86802014-02-18 Doug Evans <dje@google.com>
8681
8682 * Makefile.in (TESTS): New variable.
8683 (expanded_tests, expanded_tests_or_none): New variables
8684 (check-single): Pass $(expanded_tests_or_none) to runtest.
8685 (check-parallel): Only run tests in $(TESTS) if non-empty.
8686 (check/no-matching-tests-found): New rule.
8687 * README: Document TESTS makefile variable.
8688
5dd3176f
DE
86892014-02-18 Doug Evans <dje@google.com>
8690
8691 * Makefile.in (check-parallel): rm -rf outputs temp.
8692
0b10be4f
JK
86932014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8694
8695 Fix "ERROR: no fileid for" in the testsuite.
8696 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8697
85f224e7
DE
86982014-02-12 Doug Evans <dje@google.com>
8699
8700 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8701 (MISCELLANEOUS): New variable.
8702 (clean): rm -rf $(MISCELLANEOUS).
8703 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8704 dwp live in the same directory as symlinks, with each symlink pointed
8705 to a differently named file in a different directory.
8706
149b30ff
DE
87072014-02-11 Doug Evans <dje@google.com>
8708
8709 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8710 of Tcl file commands.
8711
1dfdac32
MK
87122014-02-10 Mark Kettenis <kettenis@gnu.org>
8713
8714 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8715 "kill -SIGUSR1 -1".
8716
aa4fb036
JB
87172014-02-10 Joel Brobecker <brobecker@adacore.com>
8718
8719 * gdb.ada/tick_length_array_enum_idx: New testcase.
8720
ed3ef339
DE
87212014-02-10 Doug Evans <xdje42@gmail.com>
8722
8723 * configure.ac (AC_OUTPUT): Add gdb.guile.
8724 * configure: Regenerate.
8725 * lib/gdb-guile.exp: New file.
8726 * lib/gdb.exp (get_target_charset): New function.
8727 * gdb.base/help.exp: Update expected output from "apropos apropos".
8728 * gdb.guile/Makefile.in: New file.
8729 * gdb.guile/guile.exp: New file.
8730 * gdb.guile/scm-arch.c: New file.
8731 * gdb.guile/scm-arch.exp: New file.
8732 * gdb.guile/scm-block.c: New file.
8733 * gdb.guile/scm-block.exp: New file.
8734 * gdb.guile/scm-breakpoint.c: New file.
8735 * gdb.guile/scm-breakpoint.exp: New file.
8736 * gdb.guile/scm-disasm.c: New file.
8737 * gdb.guile/scm-disasm.exp: New file.
8738 * gdb.guile/scm-equal.c: New file.
8739 * gdb.guile/scm-equal.exp: New file.
8740 * gdb.guile/scm-error.exp: New file.
8741 * gdb.guile/scm-error.scm: New file.
8742 * gdb.guile/scm-frame-args.c: New file.
8743 * gdb.guile/scm-frame-args.exp: New file.
8744 * gdb.guile/scm-frame-args.scm: New file.
8745 * gdb.guile/scm-frame-inline.c: New file.
8746 * gdb.guile/scm-frame-inline.exp: New file.
8747 * gdb.guile/scm-frame.c: New file.
8748 * gdb.guile/scm-frame.exp: New file.
8749 * gdb.guile/scm-generics.exp: New file.
8750 * gdb.guile/scm-gsmob.exp: New file.
8751 * gdb.guile/scm-iterator.c: New file.
8752 * gdb.guile/scm-iterator.exp: New file.
8753 * gdb.guile/scm-math.c: New file.
8754 * gdb.guile/scm-math.exp: New file.
8755 * gdb.guile/scm-objfile-script-gdb.in: New file.
8756 * gdb.guile/scm-objfile-script.c: New file.
8757 * gdb.guile/scm-objfile-script.exp: New file.
8758 * gdb.guile/scm-objfile.c: New file.
8759 * gdb.guile/scm-objfile.exp: New file.
8760 * gdb.guile/scm-ports.exp: New file.
8761 * gdb.guile/scm-pretty-print.c: New file.
8762 * gdb.guile/scm-pretty-print.exp: New file.
8763 * gdb.guile/scm-pretty-print.scm: New file.
8764 * gdb.guile/scm-section-script.c: New file.
8765 * gdb.guile/scm-section-script.exp: New file.
8766 * gdb.guile/scm-section-script.scm: New file.
8767 * gdb.guile/scm-symbol.c: New file.
8768 * gdb.guile/scm-symbol.exp: New file.
8769 * gdb.guile/scm-symtab-2.c: New file.
8770 * gdb.guile/scm-symtab.c: New file.
8771 * gdb.guile/scm-symtab.exp: New file.
8772 * gdb.guile/scm-type.c: New file.
8773 * gdb.guile/scm-type.exp: New file.
8774 * gdb.guile/scm-value-cc.cc: New file.
8775 * gdb.guile/scm-value-cc.exp: New file.
8776 * gdb.guile/scm-value.c: New file.
8777 * gdb.guile/scm-value.exp: New file.
8778 * gdb.guile/source2.scm: New file.
8779 * gdb.guile/types-module.cc: New file.
8780 * gdb.guile/types-module.exp: New file.
8781
7026a7c1
YQ
87822014-02-10 Yao Qi <yao@codesourcery.com>
8783
8784 PR testsuite/16543
8785 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8786 * configure: Regenerated.
8787 * Makefile.in: New file.
8788
6c466447
AS
87892014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8790
8791 * gdb.python/py-framefilter.exp: Fix typo.
8792
6e854735
YQ
87932014-02-08 Yao Qi <yao@codesourcery.com>
8794
8795 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8796 that no =breakpoint-modified is emitted when breakpoints are
8797 modified through MI commands.
8798
d137e6dc
PA
87992014-02-07 Pedro Alves <pedro@codesourcery.com>
8800 Pedro Alves <palves@redhat.com>
8801
8802 * gdb.threads/step-after-sr-lock.c: New file.
8803 * gdb.threads/step-after-sr-lock.exp: New file.
8804
b5ee5a50
PA
88052014-02-07 Pedro Alves <palves@redhat.com>
8806
8807 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8808
3c77faf3
JK
88092014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8810
8811 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8812 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8813
6dddc817
DE
88142014-02-06 Doug Evans <xdje42@gmail.com>
8815
8816 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8817 output.
8818
8819 * gdb.gdb/python-interrupts.exp: New file.
8820
de7b2893
YQ
88212014-02-05 Yao Qi <yao@codesourcery.com>
8822
8823 * gdb.trace/report.exp (use_collected_data): Test the output
8824 of "info threads" and "info inferiors".
8825
66d032ac
YQ
88262014-02-05 Yao Qi <yao@codesourcery.com>
8827
8828 Revert this patch:
8829
8830 2013-05-24 Yao Qi <yao@codesourcery.com>
8831
8832 * gdb.trace/tfile.exp: Test inferior and thread.
8833
591a12a1
UW
88342014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8835
8836 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8837 on a function.
8838 * gdb.base/step-bt.c: Call hello via function pointer to make
8839 sure its first instruction is executed on powerpc64le-linux.
8840
0ff3e01f
UW
88412014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8842
8843 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8844
084ee545
UW
88452014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8846
8847 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8848 of the test patterns for use on little-endian systems.
8849
6ed14ff3
UW
88502014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8851
8852 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8853 (decimal_vector): Fix for little-endian.
8854
401e27fd
JM
88552014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8856
8857 * gdb.arch/sparc-sysstep.exp: New file.
8858 * gdb.arch/sparc-sysstep.c: Likewise.
8859
8860 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8861
8b924729
EBM
88622014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8863
8864 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8865
fb151210
JB
88662014-01-23 Tom Tromey <tromey@redhat.com>
8867
8868 * gdb.ada/array_char_idx: New testcase.
8869
0740f8d8
TT
88702014-01-23 Tom Tromey <tromey@redhat.com>
8871
8872 PR python/16487:
8873 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8874 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8875 classes.
8876
21909fa1
TT
88772014-01-23 Tom Tromey <tromey@redhat.com>
8878
8879 PR python/16491:
8880 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8881 string from an inferior frame.
8882 * gdb.python/py-framefilter-mi.exp: Update.
8883
87ce2a04
DE
88842014-01-22 Doug Evans <dje@google.com>
8885
8886 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8887
237b092b
AA
88882014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8889
8890 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8891
d674a709
AA
88922014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8893
8894 * gdb.trace/entry-values.exp: Remove excess space character from
8895 regex patterns. Handle s390 call instruction.
8896
20fa3390
AA
88972014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8898
8899 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8900 define "*_start" label. Make "name" static.
8901 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8902 ${name} by references to ${name}_start.
8903
78466714
AA
89042014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8905
8906 * gdb.base/info-macros.exp: Remove "debug" from the compile
8907 options.
8908
ec9f644a
IB
89092014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8910
8911 * gdb.dlang/demangle.exp: New file.
8912
94b1b47e
IB
89132014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8914
8915 * gdb.dlang/primitive-types.exp: New file.
8916
7f420862
IB
89172014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8918
8919 * configure.ac: Create gdb.dlang/Makefile.
8920 * configure: Regenerate.
8921 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8922 * gdb.dlang/Makefile.in: New file.
8923 * lib/d-support.exp: New file.
8924 * lib/gdb.exp (skip_d_tests): New proc.
8925
52834460
MM
89262014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8927
8928 * gdb.btrace/delta.exp: Check reverse stepi.
8929 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8930 * gdb.btrace/finish.exp: New.
8931 * gdb.btrace/next.exp: New.
8932 * gdb.btrace/nexti.exp: New.
8933 * gdb.btrace/record_goto.c: Add comments.
8934 * gdb.btrace/step.exp: New.
8935 * gdb.btrace/stepi.exp: New.
8936 * gdb.btrace/multi-thread-step.c: New.
8937 * gdb.btrace/multi-thread-step.exp: New.
8938 * gdb.btrace/rn-dl-bind.c: New.
8939 * gdb.btrace/rn-dl-bind.exp: New.
8940 * gdb.btrace/data.c: New.
8941 * gdb.btrace/data.exp: New.
8942 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8943
6e07b1d2
MM
89442014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8945
8946 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8947 * gdb.btrace/exception.exp: Update.
8948 * gdb.btrace/instruction_history.exp: Update.
8949 * gdb.btrace/record_goto.exp: Update.
8950 * gdb.btrace/tailcall.exp: Update.
8951 * gdb.btrace/unknown_functions.exp: Update.
8952 * gdb.btrace/delta.exp: New.
8953
0b722aec
MM
89542014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8955
8956 * gdb.btrace/record_goto.exp: Add backtrace test.
8957 * gdb.btrace/tailcall.exp: Add backtrace test.
8958
066ce621
MM
89592014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8960
8961 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8962 * gdb.btrace/record_goto.c: New.
8963 * gdb.btrace/record_goto.exp: New.
8964 * gdb.btrace/x86-record_goto.S: New.
8965
0688d04e
MM
89662014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8967
8968 * gdb.btrace/function_call_history.exp: Update tests.
8969 * gdb.btrace/instruction_history.exp: Update tests.
8970
8710b709
MM
89712014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8972
8973 * gdb.btrace/function_call_history.exp: Fix expected field
8974 order for "record function-call-history".
8975 Add new tests for "record function-call-history /c".
8976 * gdb.btrace/exception.cc: New.
8977 * gdb.btrace/exception.exp: New.
8978 * gdb.btrace/tailcall.exp: New.
8979 * gdb.btrace/x86-tailcall.S: New.
8980 * gdb.btrace/x86-tailcall.c: New.
8981 * gdb.btrace/unknown_functions.c: New.
8982 * gdb.btrace/unknown_functions.exp: New.
8983 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8984
5de9129b
MM
89852014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8986
8987 * gdb.btrace/instruction_history.exp: Update.
8988 * gdb.btrace/function_call_history.exp: Update.
8989
23a7fe75
MM
89902014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8991
8992 * gdb.btrace/function_call_history.exp: Fix expected function
8993 trace.
8994 * gdb.btrace/instruction_history.exp: Initialize traced.
8995 Remove traced_functions.
8996
724c7dd8
MM
89972014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8998
8999 * gdb.btrace/function_call_history.exp: Update
9000 * gdb.btrace/instruction_history.exp: Update.
9001
6d78d93b
MM
90022014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9003
9004 * gdb.btrace/enable.exp: Update expected text.
9005
93a360cc
OJ
90062014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
9007
9008 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
9009 bytes.
9010
3772b53f
MR
90112014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
9012
9013 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
9014
596662fa
OJ
90152014-01-15 Omair Javaid <omair.javaid@linaro.org>
9016
9017 * lib/gdb.exp (supports_process_record): Return true for
9018 arm*-linux*. (supports_reverse): Likewise.
9019
b5b08fb4
SC
90202014-01-13 Siva Chandra Reddy <sivachandra@google.com>
9021
9022 PR python/15464
9023 PR python/16113
9024 * gdb.python/py-type.c: Enhance test case.
9025 * gdb.python/py-value-cc.cc: Likewise
9026 * gdb.python/py-type.exp: Add new tests.
9027 * gdb.python/py-value-cc.exp: Likewise
9028
52d7fb13
AA
90292014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9030 Pedro Alves <palves@redhat.com>
9031
9032 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
9033 Make "name" extern.
9034 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
9035 references to ${name}_start by references to ${name}.
9036
a2cd8cfe
JB
90372014-01-10 Joel Brobecker <brobecker@adacore.com>
9038
9039 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
9040
4e23fced
JB
90412014-01-10 Joel Brobecker <brobecker@adacore.com>
9042
9043 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
9044
c6a9e42c
PA
90452014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
9046 Pedro Alves <palves@redhat.com>
9047
9048 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 9049 mi_gdb_target_load.
c6a9e42c 9050
b7ea362b
PA
90512014-01-08 Pedro Alves <palves@redhat.com>
9052
9053 * gdb.threads/reconnect-signal.c: New file.
9054 * gdb.threads/reconnect-signal.exp: New file.
9055
5e3f4fab
EBM
90562014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9057
9058 * gdb.base/source-dir.exp: New file.
9059
79301218
JB
90602014-01-07 Joel Brobecker <brobecker@adacore.com>
9061
9062 * gdb.ada/mi_interface: New testcase.
9063
8e355c5d
JB
90642014-01-07 Joel Brobecker <brobecker@adacore.com>
9065
9066 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
9067 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
9068 gdb.ada/pp-rec-component/pck.ads: New files.
9069
c0d48811
JB
90702014-01-07 Joel Brobecker <brobecker@adacore.com>
9071
9072 * gdb.python/py-pp-integral.c: New file.
9073 * gdb.python/py-pp-integral.py: New file.
9074 * gdb.python/py-pp-integral.exp: New file.
9075
17b609c3 9076For older changes see ChangeLog-1993-2013.
c906108c 9077\f
8d8cb839
EZ
9078;; Local Variables:
9079;; mode: change-log
9080;; left-margin: 8
9081;; fill-column: 74
9082;; version-control: never
9083;; End:
902f2ccb 9084
618f726f 9085 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
9086 Copying and distribution of this file, with or without modification,
9087 are permitted provided the copyright notice and this notice are preserved.
This page took 2.733431 seconds and 4 git commands to generate.