]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
PR symtab/17591
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
162078c8
NB
12014-12-02 Nick Bull <nicholaspbull@gmail.com>
2
3 * gdb.python/py-events.py (inferior_call_handler): New.
4 (register_changed_handler, memory_changed_handler): New.
5 (test_events.invoke): Register new handlers.
6 * gdb.python/py-events.exp: Add tests for inferior call,
7 memory_changed and register_changed events.
8
fdb09caf
AA
92014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
10
11 * gdb.base/execl-update-breakpoints.exp: Specify the link address
12 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
13 if the linker doesn't understand this.
14
55cfb2c4
SM
152014-12-01 Simon Marchi <simon.marchi@ericsson.com>
16
17 * gdb.python/python.exp: Change expected reply to help().
18
9e8cd6df
YQ
192014-12-01 Yao Qi <yao@codesourcery.com>
20
21 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
22 AC_CONFIG_SUBDIRS(gdb.gdbtk).
23 * configure: Re-generated.
24
6c659fc2
SC
252014-11-28 Siva Chandra Reddy <sivachandra@google.com>
26
27 * gdb.cp/chained-calls.cc: New file.
28 * gdb.cp/chained-calls.exp: New file.
29 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
30
d7fc3181
SM
312014-11-28 Simon Marchi <simon.marchi@ericsson.com>
32
33 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
34 * gdb.dwarf2/symtab-producer.exp: Same.
35 * gdb.gdb/python-interrupts.exp: Same.
36 * gdb.gdb/python-selftest.exp: Same.
37 * gdb.python/py-linetable.exp: Same.
38 * gdb.python/py-type.exp: Same.
39 * gdb.python/py-value-cc.exp: Same.
40 * gdb.python/py-value.exp: Same.
41
10e79639
YQ
422014-11-28 Yao Qi <yao@codesourcery.com>
43
44 * gdb.base/break-probes.exp: Match library name prefixed with
45 sysroot.
46
f28a0564
SM
472014-11-27 Simon Marchi <simon.marchi@ericsson.com>
48
49 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
50 test expected output. Add parentheses for the call to print.
51 Remove L suffix from integers.
52
3fe1ce1d
DE
532014-11-26 Doug Evans <dje@google.com>
54
55 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
56
84429e27
YQ
572014-11-22 Yao Qi <yao@codesourcery.com>
58
59 * gdb.trace/entry-values.c: Remove asms.
60 (foo): Add foo_label.
61 (bar): Add bar_label.
62 * gdb.trace/entry-values.exp: Remove code computing foo's
63 length and bar's length.
64 (Dwarf::assemble): Invoke function_range for bar and use
65 MACRO_AT_func for foo.
66
26741859
YQ
672014-11-22 Yao Qi <yao@codesourcery.com>
68
69 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
70 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
71 Use .Lgcc43_procstart instead of gcc43.
72
45e44d27
JB
732014-11-21 Joel Brobecker <brobecker@adacore.com>
74
75 * gdb.ada/n_arr_bound: New testcase.
76
458c8db8
SDJ
772014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
78
79 PR breakpoints/10737
80 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
81 test_catch_syscall_multi_arch.
82 (test_catch_syscall_multi_arch): New function.
83
43f3e411
DE
842014-11-20 Doug Evans <xdje42@gmail.com>
85
86 * gdb.base/maint.exp: Update expected output.
87
0d7b2549
AA
882014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
89
90 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
91 4-byte instruction on S390.
92
8908fca5
JB
932014-11-19 Joel Brobecker <brobecker@adacore.com>
94
95 * gdb.ada/arr_arr: New testcase.
96
4a46959e
JB
972014-11-19 Joel Brobecker <brobecker@adacore.com>
98
99 * gdb.ada/pkd_arr_elem: New Testcase.
100
470e2f4e
LM
1012014-11-18 Luis Machado <lgustavo@codesourcery.com>
102
103 * gdb.reverse/break-precsave: Expect completion message for
104 core file reads.
105 * gdb.reverse/consecutive-precsave.exp: Likewise.
106 * gdb.reverse/finish-precsave.exp: Likewise.
107 * gdb.reverse/i386-precsave.exp: Likewise.
108 * gdb.reverse/machinestate-precsave.exp: Likewise.
109 * gdb.reverse/sigall-precsave.exp: Likewise.
110 * gdb.reverse/solib-precsave.exp: Likewise.
111 * gdb.reverse/step-precsave.exp: Likewise.
112 * gdb.reverse/until-precsave.exp: Likewise.
113 * gdb.reverse/watch-precsave.exp: Likewise.
114
a267f3ad
AA
1152014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
116
117 * gdb.base/bp-permanent.c: Include unistd.h.
118 * gdb.python/py-framefilter-mi.c (main): Add return type.
119 * gdb.python/py-framefilter.c (main): Likewise.
120 * gdb.trace/actions-changed.c (main): Likewise.
121
12084a9a
AA
1222014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
123
124 * gdb.mi/until.c: Add eye-catchers.
125 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
126 line numbers.
127
dc7e1a77
AA
1282014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
129
130 * gdb.base/condbreak.exp: Drop references to removed non-prototype
131 function header variants in break1.c.
132 * gdb.base/ena-dis-br.exp: Likewise.
133 * gdb.base/hbreak2.exp: Likewise.
134 * gdb.reverse/until-precsave.exp: Drop references to removed
135 non-prototype function header variants in ur1.c.
136 * gdb.reverse/until-reverse.exp: Likewise.
137
41c77605
PM
1382014-11-17 Petr Machata <pmachata@redhat.com>
139
140 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
141 ${_cu_offset_size} bytes abbrev offset.
142
34248c3a
DE
1432014-11-15 Doug Evans <xdje42@gmail.com>
144
145 PR symtab/17559
146 * gdb.base/line-symtabs.exp: New file.
147 * gdb.base/line-symtabs.c: New file.
148 * gdb.base/line-symtabs.h: New file.
149
646da059
YQ
1502014-11-14 Yao Qi <yao@codesourcery.com>
151
152 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
153 (func): Add label func_label.
154 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
155 Replace low_pc and high_pc with MACRO_AT_range.
156 Replace name, low_pc and high_pc with MACRO_AT_func.
157
9301ebe6
YQ
1582014-11-14 Yao Qi <yao@codesourcery.com>
159
160 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
161 Replace name, low_pc and high_pc with MACRO_AT_func.
162
f166b542
YQ
1632014-11-14 Yao Qi <yao@codesourcery.com>
164
165 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
166 produce debug information.
167 * gdb.dwarf2/implptr-optimized-out.S: Removed.
168
0f6e71e3
YQ
1692014-11-14 Yao Qi <yao@codesourcery.com>
170
171 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
172 object and get function length.
173 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
174 with MACRO_AT_func.
175 (top-level): Replace gdb_compile and clean_restart with
176 prepare_for_testing.
177 * gdb.dwarf2/main.c (main): Add label main_label.
178
876c4df9
YQ
1792014-11-14 Yao Qi <yao@codesourcery.com>
180
181 * lib/dwarf.exp (function_range): New procedure.
182 (Dwarf::_handle_macro_at_func): New procedure.
183 (Dwarf::_handle_macro_at_range): New procedure.
184 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
185
02ad9cf1
YQ
1862014-11-14 Yao Qi <yao@codesourcery.com>
187
188 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
189 (_handle_attribute): New procedure.
190
a59add0c
AA
1912014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
192
193 * gdb.ada/cond_lang/foo.c (callme): Add return type.
194 * gdb.base/call-sc.c (zed): Likewise.
195 * gdb.base/checkpoint.c (main): Likewise.
196 * gdb.base/dump.c (main): Likewise.
197 * gdb.base/gcore.c (main): Likewise.
198 * gdb.base/huge.c (main): Likewise.
199 * gdb.base/multi-forks.c (main): Likewise.
200 * gdb.base/pr10179-a.c (main): Likewise.
201 * gdb.base/savedregs.c (main): Likewise.
202 * gdb.base/sigaltstack.c (main): Likewise.
203 * gdb.base/siginfo.c (main): Likewise.
204 * gdb.base/structs.c (zed): Likewise.
205 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
206 * gdb.mi/mi-syn-frame.c (main): Likewise.
207 * gdb.mi/until.c (foo, main): Likewise.
208 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
209 * gdb.base/solib-weak.c (foo): Declare.
210 * gdb.base/attach-twice.c: Include stdio.h.
211 * gdb.base/weaklib1.c: Likewise.
212 * gdb.base/weaklib2.c: Likewise.
213 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
214 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
215 unistd.h.
216 * gdb.base/attach-pie-misread.c: Include stdlib.h.
217 * gdb.mi/mi-exit-code.c: Likewise.
218 * gdb.base/break-interp-lib.c: Include string.h.
219 * gdb.base/coremaker.c: Likewise.
220 * gdb.base/testenv.c: Likewise.
221 * gdb.python/py-finish-breakpoint.c: Likewise.
222 * gdb.base/inferior-died.c: Include sys/wait.h.
223 * gdb.base/fileio.c: Include time.h.
224 * gdb.base/async-shell.c: Include unistd.h.
225 * gdb.base/dprintf-non-stop.c: Likewise.
226 * gdb.base/info-os.c: Likewise.
227 * gdb.mi/mi-console.c: Likewise.
228 * gdb.mi/watch-nonstop.c: Likewise.
229 * gdb.python/py-events.c: Likewise.
230 * gdb.base/async.c (baz): Move up before its invocation.
231 * gdb.base/code_elim2.c (my_global_func): Likewise.
232 * gdb.base/skip-solib-lib.c (multiply): Likewise.
233 * gdb.base/advance.c (func2): Likewise.
234
3b5d5997
AA
2352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
236
237 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
238 variant.
239 * gdb.base/annota3.c: Likewise.
240 * gdb.base/async.c: Likewise.
241 * gdb.base/average.c: Likewise.
242 * gdb.base/call-ar-st.c: Likewise.
243 * gdb.base/call-rt-st.c: Likewise.
244 * gdb.base/call-sc.c: Likewise.
245 * gdb.base/call-strs.c: Likewise.
246 * gdb.base/ending-run.c: Likewise.
247 * gdb.base/execd-prog.c: Likewise.
248 * gdb.base/exprs.c: Likewise.
249 * gdb.base/foll-exec.c: Likewise.
250 * gdb.base/foll-fork.c: Likewise.
251 * gdb.base/foll-vfork.c: Likewise.
252 * gdb.base/funcargs.c: Likewise.
253 * gdb.base/gcore.c: Likewise.
254 * gdb.base/jump.c: Likewise.
255 * gdb.base/langs0.c: Likewise.
256 * gdb.base/langs1.c: Likewise.
257 * gdb.base/langs2.c: Likewise.
258 * gdb.base/mips_pro.c: Likewise.
259 * gdb.base/nodebug.c: Likewise.
260 * gdb.base/opaque0.c: Likewise.
261 * gdb.base/opaque1.c: Likewise.
262 * gdb.base/recurse.c: Likewise.
263 * gdb.base/run.c: Likewise.
264 * gdb.base/scope0.c: Likewise.
265 * gdb.base/scope1.c: Likewise.
266 * gdb.base/setshow.c: Likewise.
267 * gdb.base/setvar.c: Likewise.
268 * gdb.base/shmain.c: Likewise.
269 * gdb.base/shr1.c: Likewise.
270 * gdb.base/shr2.c: Likewise.
271 * gdb.base/sigall.c: Likewise.
272 * gdb.base/signals.c: Likewise.
273 * gdb.base/so-indr-cl.c: Likewise.
274 * gdb.base/solib2.c: Likewise.
275 * gdb.base/structs.c: Likewise.
276 * gdb.base/sum.c: Likewise.
277 * gdb.base/vforked-prog.c: Likewise.
278 * gdb.base/watchpoint.c: Likewise.
279 * gdb.reverse/shr2.c: Likewise.
280 * gdb.reverse/until-reverse.c: Likewise.
281 * gdb.reverse/ur1.c: Likewise.
282 * gdb.reverse/watch-reverse.c: Likewise.
283
066a77c5
AA
2842014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
285
286 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
287 variant.
288 * gdb.base/sepdebug.exp: Drop references to removed code.
289
4f204ea5
AA
2902014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
291
292 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
293 variant. Preserve original line numbering.
294 * gdb.base/list1.c: Likewise.
295
3b377a3a
AA
2962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
297
298 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
299 variant.
300 * gdb.base/break1.c: Likewise.
301 * gdb.base/break.exp: Drop references to removed code.
302
e444df73
AA
3032014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
304
305 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
306 variant.
307
8008f2a7
AA
3082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
309
310 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
311
a5a06887
AA
3122014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
313
314 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
315 logic into perform_all_tests() and invoke it with and without
316 function header prototypes.
317 (do_function_calls): Remove conditional XFAIL for PR 5318.
318 (rerun_and_prepare): Remove duplicate code.
319 (perform_all_tests): New. Main logic moved here.
320
44dba9b9
AA
3212014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
322
323 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
324 code guarded by #ifdef NO_PROTOTYPES.
325 (t_double_many_args): Likewise.
326 (DEF_FUNC_MANY_ARGS_1): Likewise.
327 (DEF_FUNC_VALUES_1): Likewise.
328 (t_structs_ldc): Renamed from t_structs_fc in conditional code
329 guarded by #ifdef PROTOTYPES.
330
d1fbcd56
AA
3312014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
332
333 * gdb.mi/mi-console.c: Add eye-catcher.
334 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
335 instead of literal line number.
336
b0e59b8f
AA
3372014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
338
339 * gdb.base/shr2.c: Add eye-catcher.
340 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
341 line number.
342
78f98cca
AA
3432014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
344
345 * gdb.base/jump.c: Add eye-catchers.
346 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
347 numbers.
348
58fa2af0
AA
3492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
350
351 * gdb.base/execd-prog.c: Add eye-catchers.
352 * gdb.base/foll-exec.c: Likewise.
353 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
354 line numbers.
355
04e5059b
AA
3562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
357
358 * gdb.base/ending-run.c: Add eye-catchers.
359 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
360 literal line numbers.
361
dbfdb174
AA
3622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
363
364 * gdb.base/call-rt-st.c: Add eye-catchers.
365 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
366 literal line numbers.
367
888a2ade
AA
3682014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
369
370 * gdb.base/call-ar-st.c: Add eye-catchers.
371 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
372 literal line numbers.
373
6acc2dde
AA
3742014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
375
376 * gdb.base/average.c: Add eye-catchers.
377 * gdb.base/sum.c: Likewise.
378 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
379 regexps dynamically.
380
9ecfcd1d
AA
3812014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
382
383 * gdb.base/solib1.c: Add eye-catchers.
384 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
385 literal line numbers.
386
78708b7c
PA
3872014-11-12 Pedro Alves <palves@redhat.com>
388
389 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
390 leader has exited.
391
af48d08f
PA
3922014-11-12 Pedro Alves <palves@redhat.com>
393
394 * gdb.arch/i386-bp_permanent.c: New file.
395 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
396 (srcfile): Set to i386-bp_permanent.c.
397 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
398 that stepi does not execute the 'leave' instruction, instead of
399 testing it does execute.
400 * gdb.base/bp-permanent.c: New file.
401 * gdb.base/bp-permanent.exp: New file.
402
af3768e9
DE
4032014-11-10 Doug Evans <xdje42@gmail.com>
404
405 PR symtab/17564
406 * gdb.base/symtab-search-order.exp: New file.
407 * gdb.base/symtab-search-order.c: New file.
408 * gdb.base/symtab-search-order-1.c: New file.
409 * gdb.base/symtab-search-order-shlib-1.c: New file.
410
9de00a4a
PA
4112014-11-07 Pedro Alves <palves@redhat.com>
412
413 PR gdb/17511
414 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
415 i?86-*-linux*.
416
e0f52461
SC
4172014-11-03 Siva Chandra Reddy <sivachandra@google.com>
418
419 PR c++/17494
420 * gdb.cp/pr17494.cc: New file.
421 * gdb.cp/pr17494.exp: New file.
422
6ce8c980
YQ
4232014-11-02 Yao Qi <yao@codesourcery.com>
424
425 * gdb.python/python.exp: Get working directory and match the
426 output of "set extended-prompt \\w " with it.
427
02be9a71
DE
4282014-10-30 Doug Evans <dje@google.com>
429
430 * gdb.python/py-objfile.exp: Add tests for setting random attributes
431 in objfiles.
432 * gdb.python/py-progspace.exp: Add tests for setting random attributes
433 in progspaces.
434
3bdff46b
LM
4352014-10-30 Janis Johnson <janisjo@codesourcery.com>
436
437 * gdb.base/fullpath-expand.exp: Skip for a remote host.
438 * gdb.base/realname-expand.exp: Likewise.
439 * gdb.linespec/macro-relative.exp: Likewise.
440
ab917dfb
PA
4412014-10-29 Pedro Alves <palves@redhat.com>
442
443 PR gdb/17408
444 * gdb.threads/schedlock.c (some_function): New function.
445 (call_function): New global.
446 (MAYBE_CALL_SOME_FUNCTION): New macro.
447 (thread_function): Call it.
448 * gdb.threads/schedlock.exp (get_args): Add description parameter,
449 and use it instead of a global counter. Adjust all callers.
450 (get_current_thread): Use "find current thread" for test message
451 here rather than having all callers pass down the same string.
452 (goto_loop): New procedure, factored out from ...
453 (my_continue): ... this.
454 (step_ten_loops): Change parameter from test message to command to
455 use. Adjust.
456 (list_count): Delete global.
457 (check_result): New procedure, factored out from duplicate top
458 level code.
459 (continue tests): Wrap in with_test_prefix.
460 (test_step): New procedure, factored out from duplicate top level
461 code.
462 (top level): Test "step" in combination with all scheduler-locking
463 modes. Test "next" in combination with all scheduler-locking
464 modes, and in combination with stepping over a function call or
465 not.
466 * gdb.threads/next-bp-other-thread.c: New file.
467 * gdb.threads/next-bp-other-thread.exp: New file.
468
d3d4baed
PA
4692014-10-29 Pedro Alves <palves@redhat.com>
470
471 PR python/17372
472 * gdb.python/python.exp: Test a multi-line command that spawns
473 interactive Python.
474 * gdb.base/multi-line-starts-subshell.exp: New file.
475
563e8d85
YQ
4762014-10-29 Yao Qi <yao@codesourcery.com>
477
478 * gdb.base/fileio.exp: Make directories on host.
479
0ea4d52e
YQ
4802014-10-29 Yao Qi <yao@codesourcery.com>
481
482 * gdb.base/fileio.c (test_write): Close the file.
483
7f5ef605
PA
4842014-10-28 Pedro Alves <palves@redhat.com>
485
486 PR gdb/12623
487 * gdb.base/sigstep.c (no_handler): New global.
488 (main): If 'no_handler is true, set the signal handlers to
489 SIG_IGN.
490 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
491 with_sw_watch and no_handler parameters. Handle them.
492 (top level) <stepping over handler when stopped at a breakpoint
493 test>: Add a test axis for testing with a software watchpoint, and
494 another for testing with the signal handler set to SIG_IGN.
495 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
496 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
497
abbdbd03
PA
4982014-10-28 Pedro Alves <palves@redhat.com>
499
500 PR gdb/17511
501 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
502 * gdb.base/sigstep.exp (other_handler_location): New global.
503 (advance): Support stepping into the signal handler, and running
504 commands while in the handler.
505 (in_handler_map): New global.
506 (top level): In the advance test, add combinations for getting
507 into the handler with stepping commands, and for running commands
508 in the handler. Add comment descripting the advancei tests.
509
1df4399f
PA
5102014-10-28 Pedro Alves <palves@redhat.com>
511
512 * gdb.base/sigstep.exp: Use build_executable instead of
513 prepare_for_testing.
514 (top level): Move code that starts GDB, runs to main and creates a
515 display to ...
516 (restart): ... this new procedure.
517 (top level): Move backtrace from signal handler test to ...
518 (validate_backtrace): ... this new procedure.
519 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
520 with_test_prefix. Always restart GDB.
521 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
522 with_test_prefix. Always restart GDB. No need to delete
523 breakpoints after the test.
524 (test_skip_handler): Remove prefix parameter.
525 (skip_over_handler, breakpoint_to_handler)
526 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
527 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
528 restart GDB. No need to delete breakpoints after the test.
529 (top level): Use foreach to call the test procedures with
530 different commands.
531
a5b6e449
PA
5322014-10-28 Pedro Alves <palves@redhat.com>
533
534 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
535 instead of GNATS numbers.
536 * gdb.base/sigbpt.exp: Likewise.
537 * gdb.base/siginfo.exp: Likewise.
538 * gdb.base/sigstep.exp: Likewise.
539
e5f8a7cc
PA
5402014-10-27 Pedro Alves <palves@redhat.com>
541
542 * gdb.base/sigstep.c (dummy): New global.
543 (main): Issue a couple writes to the new global.
544 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
545 procedures.
546 (skip_over_handler): Use test_skip_handler.
547 (top level): Call skip_over_handler for stepi and nexti too.
548 (breakpoint_over_handler): Use test_skip_handler.
549 (top level): Call breakpoint_over_handler for stepi and nexti too.
550
763905a3
YQ
5512014-10-27 Yao Qi <yao@codesourcery.com>
552
553 * gdb.trace/tfile.c (adjust_function_address)
554 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
555 function descriptor.
556
6f259a23
DB
5572014-10-24 Don Breazeal <donb@codesourcery.com>
558
559 * gdb.base/foll-fork.exp (test_follow_fork,
560 catch_fork_child_follow): Check for updated fork messages emitted
561 from infrun.c.
562 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
563 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
564 vfork_and_exec_child_follow_through_step): Check for updated vfork
565 messages emitted from infrun.c.
566
09dd9a69
PA
5672014-10-24 Pedro Alves <palves@redhat.com>
568
569 * gdb.base/corefile.exp: Remove references to ultrix.
570 * gdb.base/interrupt.exp: Likewise.
571 * gdb.base/whatis.exp: Likewise.
572 * gdb.gdb/selftest.exp: Likewise.
573 * gdb.threads/manythreads.exp: Likewise.
574 * gdb.threads/print-threads.exp: Likewise.
575 * gdb.threads/pthreads.exp:: Likewise.
576 * gdb.threads/schedlock.exp: Likewise.
577
3433cfa5
SC
5782014-10-24 Siva Chandra Reddy <sivachandra@google.com>
579
580 * gdb.cp/non-trivial-retval.cc: Add a test case.
581 * gdb.cp/non-trivial-retval.exp: Add a test.
582
092f880b
YQ
5832014-10-20 Yao Qi <yao@codesourcery.com>
584
585 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
586 * gdb.python/py-objfile-script-gdb.py: New file.
587 * gdb.python/py-objfile-script.exp: Update reference to
588 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
589 of remote_download. Remove the dest file.
590
acbdb7f3
YQ
5912014-10-20 Yao Qi <yao@codesourcery.com>
592
593 * gdb.base/checkpoint.exp: Don't remove file copied on host.
594 * gdb.base/step-line.exp: Likewise.
595 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
596 * gdb.dwarf2/dw2-basic.exp: Likewise.
597 * gdb.dwarf2/dw2-compressed.exp: Likewise.
598 * gdb.dwarf2/dw2-filename.exp: Likewise.
599 * gdb.dwarf2/dw2-intercu.exp: Likewise.
600 * gdb.dwarf2/dw2-intermix.exp: Likewise.
601 * gdb.dwarf2/dw2-producer.exp: Likewise.
602 * gdb.dwarf2/mac-fileno.exp: Likewise.
603 * gdb.python/py-frame-args.exp: Likewise.
604 * gdb.python/py-framefilter.exp: Likewise.
605 * gdb.python/py-mi.exp: Likewise.
606 * gdb.python/py-objfile-script.exp: Likewise
607 * gdb.python/py-pp-integral.exp: Likewise.
608 * gdb.python/py-pp-re-notag.exp: Likewise.
609 * gdb.python/py-prettyprint.exp: Likewise.
610 * gdb.python/py-section-script.exp: Likewise.
611 * gdb.python/py-typeprint.exp: Likewise.
612 * gdb.python/py-xmethods.exp: Likewise.
613 * gdb.stabs/weird.exp: Likewise.
614 * gdb.xml/tdesc-regs.exp: Likewise.
615
bd286a29
KCY
6162014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
617
618 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
619 (out_cu): Use addr_len for the size of addresses.
620 (out_line): Likewise. Size DW_LNE_set_address instruction
621 according to addr_len.
622 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
623 (FUNC): Add START_INSNS to definition.
624
673dc4a0
YQ
6252014-10-18 Yao Qi <yao@codesourcery.com>
626
627 * gdb.base/argv0-symlink.exp: Check argv[0] value if
628 gdb_has_argv0 return true.
629 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
630 check [target_info exists noargs], check [gdb_has_argv0]
631 instead.
632 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
633 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
634 procedures.
635
4ffbba72
DE
6362014-10-17 Doug Evans <dje@google.com>
637
638 * gdb.python/py-events.exp: Update expected output for clear_objfiles
639 event.
640 * gdb.python/py-events.py: Add clear_objfiles event.
641
d096d8c1
DE
6422014-10-17 Doug Evans <dje@google.com>
643
644 * gdb.python/py-objfile.exp: Test progspace attribute.
645
a80db015
LM
6462014-10-17 Luis Machado <lgustavo@codesourcery.com>
647
648 * gdb.guile/scm-breakpoint.exp: Do not assume any
649 directory separators when matching source file paths.
650 * gdb.python/py-breakpoint.exp: Likewise.
651 * gdb.reverse/break-precsave.exp: Likewise.
652 * gdb.reverse/break-reverse.exp: Likewise.
653 * gdb.reverse/consecutive-precsave.exp: Likewise.
654 * gdb.reverse/finish-precsave.exp: Likewise.
655 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
656 * gdb.reverse/finish-reverse.exp: Likewise.
657 * gdb.reverse/i386-precsave.exp: Likewise.
658 * gdb.reverse/i387-env-reverse.exp: Likewise.
659 * gdb.reverse/i387-stack-reverse.exp: Likewise.
660 * gdb.reverse/machinestate-precsave.exp: Likewise.
661 * gdb.reverse/machinestate.exp: Likewise.
662 * gdb.reverse/sigall-precsave.exp: Likewise.
663 * gdb.reverse/solib-precsave.exp: Likewise.
664 * gdb.reverse/step-precsave.exp: Likewise.
665 * gdb.reverse/until-precsave.exp: Likewise.
666 * gdb.reverse/watch-precsave.exp: Likewise.
667 * gdb.reverse/watch-reverse.exp: Likewise.
668
b22089ab
YQ
6692014-10-17 Yao Qi <yao@codesourcery.com>
670
671 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
672 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
673
6c4486e6
PA
6742014-10-17 Pedro Alves <palves@redhat.com>
675
676 PR gdb/17471
677 * gdb.base/bg-execution-repeat.c: New file.
678 * gdb.base/bg-execution-repeat.exp: New file.
679
0ff33695
PA
6802014-10-17 Pedro Alves <palves@redhat.com>
681
682 PR gdb/17300
683 * gdb.base/continue-all-already-running.c: New file.
684 * gdb.base/continue-all-already-running.exp: New file.
685
6fdebc3d
PA
6862014-10-17 Pedro Alves <palves@redhat.com>
687
688 PR gdb/17472
689 * gdb.base/annota-input-while-running.c: New file.
690 * gdb.base/annota-input-while-running.exp: New file.
691
32a8097b
PA
6922014-10-17 Pedro Alves <palves@redhat.com>
693
694 * gdb.base/callfuncs.exp: emove references to osf.
695 * gdb.base/sigall.exp: Likewise.
696 * gdb.gdb/selftest.exp: Likewise.
697 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
698 * gdb.mi/non-stop.c: Likewise.
699 * gdb.mi/pthreads.c: Likewise.
700 * gdb.reverse/sigall-precsave.exp: Likewise.
701 * gdb.reverse/sigall-reverse.exp: Likewise.
702 * gdb.threads/pthreads.c: Likewise.
703 * gdb.threads/pthreads.exp: Likewise.
704
7a3517ff
YQ
7052014-10-17 Yao Qi <yao@codesourcery.com>
706
707 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
708 check 'target_info exists noargs'.
709 (test_command_prompt_position): Likewise.
710 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
711 Remove "set args".
712 (progvar_simple_while_test): Likewise.
713 (progvar_complex_if_while_test): Likewise.
714 (if_while_breakpoint_command_test): Likewise.
715 (infrun_breakpoint_command_test): Likewise.
716 (breakpoint_command_test): Likewise.
717 (watchpoint_command_test): Likewise.
718 (bp_deleted_in_command_test): Likewise.
719 (temporary_breakpoint_commands): Likewise.
720
bb99c472
YQ
7212014-10-16 Yao Qi <yao@codesourcery.com>
722
723 * gdb.base/remotetimeout.exp: Remove noargs checking.
724
7c16b83e
PA
7252014-10-15 Pedro Alves <palves@redhat.com>
726
727 PR breakpoints/9649
728 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
729 * gdb.base/breakpoint-in-ro-region.exp
730 (probe_target_hardware_step): New procedure.
731 (top level): Probe hardware stepping and hardware breakpoint
732 support. Test stepping through a read-only region, with both
733 "breakpoint auto-hw" on and off and both "always-inserted" on and
734 off.
735
35a49624
IB
7362014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
737
738 * gdb.dlang/demangle.exp: Update for demangling changes.
739
2d1c107c
SC
7402014-10-15 Siva Chandra Reddy <sivachandra@google.com>
741
742 * gdb.cp/non-trivial-retval.cc: Add new test cases.
743 * gdb.cp/non-trivial-retval.exp: Add new tests.
744
778811d5
SC
7452014-10-15 Siva Chandra Reddy <sivachandra@google.com>
746
747 PR c++/13403
748 PR c++/15154
749 * gdb.cp/non-trivial-retval.cc: New file.
750 * gdb.cp/non-trivial-retval.exp: New file.
751
10c5f0a8
YQ
7522014-10-15 Yao Qi <yao@codesourcery.com>
753
754 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
755 remote host.
756
65d7b369
YQ
7572014-10-15 Yao Qi <yao@codesourcery.com>
758
759 * gdb.python/py-symbol.exp: Match file base name if host is
760 remote, otherwise match file name with dir name.
761 * gdb.python/py-symtab.exp: Likewise.
762 * gdb.python/python.exp: Likewise.
763
46dc1394
YQ
7642014-10-15 Yao Qi <yao@codesourcery.com>
765
766 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
767 pattern.
768 * gdb.python/py-symtab.exp: Likewise.
769 * gdb.python/python.exp: Remove trailing ".*". Fix typo
770 locationn.
771
c40cc657
JB
7722014-10-14 Joel Brobecker <brobecker@adacore.com>
773
774 * gdb.ada/addr_arith: New testcase.
775
2abf49e1
MR
7762014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
777
778 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
779 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
780 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
781 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
782
f7088df3
SDJ
7832014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
784
785 * gdb.arch/stap-eval-lang-ada.S: Likewise.
786 * gdb.arch/stap-eval-lang-ada.c: Likewise.
787 * gdb.arch/stap-eval-lang-ada.exp: New file.
788
4dc06805
YQ
7892014-10-14 Yao Qi <yao@codesourcery.com>
790
791 * gdb.mi/mi-var-child.c (nothing1): New function.
792 (nothing2): New function.
793 (do_children_tests): Set function pointers by nothing1 and
794 nothing2.
795 * gdb.mi/mi-var-child.exp: Step over new added statements.
796 Update test to match the new output.
797 * gdb.mi/var-cmd.c (nothing1): New function.
798 (nothing2): New function.
799 (do_children_tests): Set function pointers by nothing1 and
800 nothing2.
801 * gdb.mi/mi-var-display.exp: Update test to match output.
802 Step to the line specified by $line_dct_nothing.
803 Increase the number of lines to step.
804
46a93de2
YQ
8052014-10-14 Yao Qi <yao@codesourcery.com>
806
807 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
808 tests.
809 * gdb.mi/mi2-var-child.exp: Likewise.
810
14ea52ee
DE
8112014-10-13 Doug Evans <dje@google.com>
812
813 * gdb.python/py-objfile.exp: Change name of file name test.
814
e5c6e92b
DE
8152014-10-13 Doug Evans <dje@google.com>
816
817 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
818 from the start of the CU.
819
c780cc2f
JK
8202014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
821 Yao Qi <yao@codesourcery.com>
822
823 Fix "save breakpoints" for "catch" command.
824 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
825 Remove -nonewline. Match also the added "main" line.
826
99894e11
JK
8272014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
828
829 Fix "save breakpoints" for "disable $bpnum" command.
830 * gdb.base/save-bp.c (main): Add label.
831 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
832
6e1ac5a3
JK
8332014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
834
835 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
836
754dd2b0
YQ
8372014-10-11 Yao Qi <yao@codesourcery.com>
838
839 * gdb.server/server-kill.exp: Execute command
840 "set remote trace-status-packet on" before "tstatus".
841
f90183d7
YQ
8422014-10-11 Yao Qi <yao@codesourcery.com>
843
844 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
845 (main): Call getppid.
846 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
847 and continue to it. Read variable "server_pid".
848
bf40a607
YQ
8492014-10-11 Yao Qi <yao@codesourcery.com>
850
851 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
852
052ca370
YQ
8532014-10-11 Yao Qi <yao@codesourcery.com>
854
855 * gdb.threads/thread-find.exp: Don't execute command
856 "info threads".
857 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
858 * gdb.threads/linux-dp.exp: Don't check the condition
859 $threads_created equals to zero.
860
3831839c
PA
8612014-10-10 Pedro Alves <palves@redhat.com>
862
863 * gdb.base/bigcore.exp: Remove references to IRIX.
864 * gdb.base/funcargs.exp: Likewise.
865 * gdb.base/interrupt.exp: Likewise.
866 * gdb.base/mips_pro.exp: Likewise.
867 * gdb.base/nodebug.exp: Likewise.
868 * gdb.base/setvar.exp: Likewise.
869 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
870
8b9a549d
PA
8712014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
872 Pedro Alves <palves@redhat.com>
873
874 PR symtab/14466
875 * gdb.base/vdso-warning.c: New file.
876 * gdb.base/vdso-warning.exp: New file.
877
d48ba5e8
DE
8782014-10-02 Doug Evans <dje@google.com>
879
880 * gdb.base/structs.c (main): Don't run forever.
881
2278c276
PA
8822014-10-02 Pedro Alves <palves@redhat.com>
883
884 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
885 (top level) <stop threads 1, stop threads 2>: Use it.
886
b57bacec
PA
8872014-10-02 Pedro Alves <palves@redhat.com>
888
889 * gdb.threads/break-while-running.exp (test): Add new
890 'update_thread_list' argument. Skip "info threads" if false.
891 (top level): Add new 'update_thread_list' axis.
892
13fd3ff3
PA
8932014-10-02 Pedro Alves <palves@redhat.com>
894
895 PR breakpoints/17431
896 * gdb.base/execl-update-breakpoints.c: New file.
897 * gdb.base/execl-update-breakpoints.exp: New file.
898
0fec99e8
PA
8992014-10-01 Pedro Alves <palves@redhat.com>
900
901 * gdb.base/breakpoint-in-ro-region.c: New file.
902 * gdb.base/breakpoint-in-ro-region.exp: New file.
903
2ddf4301
SM
9042014-10-01 Simon Marchi <simon.marchi@ericsson.com>
905
906 * gdb.mi/mi-exit-code.exp: New file.
907 * gdb.mi/mi-exit-code.c: New file.
908
6a5f3f43
YQ
9092014-09-30 Yao Qi <yao@codesourcery.com>
910
911 * lib/prelink-support.exp (build_executable_own_libs): Error if
912 the target isn't native.
913
345bcc73
YQ
9142014-09-30 Yao Qi <yao@codesourcery.com>
915
916 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
917 false.
918
a25a5a45
PA
9192014-09-22 Pedro Alves <palves@redhat.com>
920
921 * gdb.threads/break-while-running.exp: New file.
922 * gdb.threads/break-while-running.c: New file.
923
00ba3162
YQ
9242014-09-19 Yao Qi <yao@codesourcery.com>
925
926 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
927 Invoke test. Restart GDB with --readnow and invoke test again.
928
c3b7b696
YQ
9292014-09-19 Yao Qi <yao@codesourcery.com>
930
931 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
932 proc set_breakpoint_on_gcd_function. Invoke
933 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
934 invoke set_breakpoint_on_gcd_function again.
935
2b4fd423
DE
9362014-09-18 Doug Evans <dje@google.com>
937
938 * gdb.dwarf2/symtab-producer.exp: New file.
939
a5947601
SDJ
9402014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
941
942 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
943 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
944 * gdb.base/global-var-nested-by-dso.c: Likewise.
945 * gdb.base/global-var-nested-by-dso.exp: Likewise.
946
91c19059
SDJ
9472014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
948 Pedro Alves <palves@redhat.com>
949
950 * gdb.base/watch-bitfields.exp: Pass string other than test file
951 name to prepare_for_testing.
952 (watch): New procedure.
953 (expect_watchpoint): Use with_test_prefix.
954 (top level): Factor out tests to ...
955 (test_watch_location, test_regular_watch): ... these new
956 procedures, and use with_test_prefix and gdb_continue_to_end.
957
bb9d5f81
PP
9582014-09-16 Patrick Palka <patrick@parcs.ath.cx>
959
960 PR breakpoints/12526
961 * gdb.base/watch-bitfields.exp: New file.
962 * gdb.base/watch-bitfields.c: New file.
963
635856f5
PA
9642014-09-16 Pedro Alves <palves@redhat.com>
965
966 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
967 software and hardware addresses, not software address against
968 itself.
969
7280ceea
PA
9702014-09-16 Pedro Alves <palves@redhat.com>
971
972 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
973 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
974
428b16bd
PA
9752014-09-16 Pedro Alves <palves@redhat.com>
976
977 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
978 files.
979 * gdb.base/a2-run.exp: Remove all code guarded by istarget
980 "*-*-vxworks*" throughout.
981 * gdb.base/break.exp: Likewise.
982 * gdb.base/default.exp: Likewise.
983 * gdb.base/scope.exp: Likewise.
984 * gdb.base/sepdebug.exp: Likewise.
985 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
986 throughout.
987 * gdb.base/run.c: Likewise.
988 * gdb.base/sepdebug.c: Likewise.
989 * gdb.hp/gdb.aCC/run.c: Likewise.
990 * gdb.reverse/until-reverse.c: Likewise.
991 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
992
666d413c
YQ
9932014-09-16 Yao Qi <yao@codesourcery.com>
994
995 * boards/local-remote-host-native.exp: New file.
996
57cbd724
DE
9972014-09-14 Doug Evans <xdje42@gmail.com>
998
999 * gdb.threads/queue-signal.c (thread_count): New variable.
1000 (thread_count_mutex, thread_count_condvar): New variables.
1001 (incr_thread_count, wait_all_threads_running): New functions.
1002 (main): Wait for all threads to be in their thread functions.
1003
81219e53
DE
10042014-09-13 Doug Evans <xdje42@gmail.com>
1005
1006 * gdb.threads/queue-signal.c: New file.
1007 * gdb.threads/queue-signal.exp: New file.
1008
3714cea7
DE
10092014-09-13 Doug Evans <xdje42@gmail.com>
1010
1011 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
1012 be consistent with what default_gdb_init uses.
1013 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
1014 the plain text of the prompt. Add some logging printfs.
1015 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
1016
fa43b1d7
PA
10172014-09-12 Pedro Alves <palves@redhat.com>
1018
1019 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
1020 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
1021 * gdb.arch/i386-size-overlap.exp: Likewise.
1022 * gdb.arch/i386-size.exp: Likewise.
1023 * gdb.arch/i386-unwind.exp: Likewise.
1024 * gdb.base/a2-run.exp: Likewise.
1025 * gdb.base/break.exp: Likewise.
1026 * gdb.base/charset.exp: Likewise.
1027 * gdb.base/chng-syms.exp: Likewise.
1028 * gdb.base/commands.exp: Likewise.
1029 * gdb.base/dbx.exp: Likewise.
1030 * gdb.base/find.exp: Likewise.
1031 * gdb.base/funcargs.exp: Likewise.
1032 * gdb.base/jit-simple.exp: Likewise.
1033 * gdb.base/reread.exp: Likewise.
1034 * gdb.base/sepdebug.exp: Likewise.
1035 * gdb.base/step-bt.exp: Likewise.
1036 * gdb.cp/mb-inline.exp: Likewise.
1037 * gdb.cp/mb-templates.exp: Likewise.
1038 * gdb.objc/basicclass.exp: Likewise.
1039 * gdb.threads/killed.exp: Likewise.
1040
9d9bf2df
EBM
10412014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1042
1043 PR tdep/17379
1044 * gdb.arch/powerpc-stackless.S: New file.
1045 * gdb.arch/powerpc-stackless.exp: New file.
1046
1cf2f1b0
JK
10472014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1048
1049 * gdb.base/attach.c: Include unistd.h.
1050 (main): Call alarm. Add label postloop.
1051 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
1052 gdb_breakpoint, gdb_continue_to_breakpoint.
1053 (test_command_line_attach_run): Kill ${testpid} in one exit path.
1054
98880d46
PA
10552014-09-11 Pedro Alves <palves@redhat.com>
1056
1057 PR gdb/17347
1058 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
1059 * gdb.base/attach.exp (test_command_line_attach_run): New
1060 procedure.
1061 (top level): Call it.
1062
4c92ff2c
PA
10632014-09-11 Pedro Alves <palves@redhat.com>
1064
1065 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
1066 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
1067 (do_command_attach_tests): Use spawn_wait_for_attach.
1068 * gdb.base/solib-overlap.exp: Likewise.
1069 * gdb.multi/multi-attach.exp: Likewise.
1070 * gdb.python/py-prompt.exp: Likewise.
1071 * gdb.python/py-sync-interp.exp: Likewise.
1072 * gdb.server/ext-attach.exp: Likewise.
1073
3adc1a7d
GKB
10742014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
1075
1076 * gdb.fortran/array-element.exp: Remove unexpected "continue"
1077 command in testcase. Simplify testcase.
1078
96334934
JB
10792014-09-10 Joel Brobecker <brobecker@adacore.com>
1080
1081 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
1082
eb479039
JB
10832014-09-10 Joel Brobecker <brobecker@adacore.com>
1084
1085 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
1086
deede10c
JB
10872014-09-10 Joel Brobecker <brobecker@adacore.com>
1088
1089 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
1090
7828a5f5
JB
10912014-09-10 Joel Brobecker <brobecker@adacore.com>
1092
1093 * gdb.dwarf2/dynarr-ptr.c: New file.
1094 * gdb.dwarf2/dynarr-ptr.exp: New file.
1095
33aeebcf
MR
10962014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1097
1098 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
1099 of 30 rather than hardcoding 120 for a slow test case. Take the
1100 `gdb,timeout' target setting into account for this calculation.
1101 Don't extend the timeout for the test cases that don't need it.
1102
7b415901
MR
11032014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1104
1105 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
1106 a factor of 2 for a slow test case. Take the `gdb,timeout'
1107 target setting into account for this calculation.
1108 * gdb.reverse/until-precsave.exp: Increase the timeout by
1109 a factor of 15 and 3 respectively rather than adding 120
1110 for a pair of slow test cases. Take the `gdb,timeout'
1111 target setting into account for this calculation.
1112
4a40f85a
MR
11132014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1114
1115 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
1116 timeout, don't pass one down to gdb_expect.
1117 (gdb_expect): Rework timeout selection.
1118
09635af7
MR
11192014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1120
1121 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
1122 exception on timeout.
1123 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
1124 (gdbserver_start_extended): Catch any `gdbserver_start' error
1125 exceptions.
1126 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
1127 * lib/mi-support.exp (mi_gdb_target_load): Catch any
1128 `gdbserver_gdb_load' error exceptions.
1129
2bdd10b7
MR
11302014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1131
1132 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
1133 120 on waiting for the TCP socket to open.
1134
316935f0
DE
11352014-09-09 Doug Evans <xdje42@gmail.com>
1136
1137 * gdb.base/default.exp (show_conv_list): Add _caller_is,
1138 _caller_matches, _any_caller_is, _any_caller_matches.
1139
83740597
DE
11402014-09-09 Doug Evans <xdje42@gmail.com>
1141
1142 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
1143
4c122fc3
YQ
11442014-09-09 Yao Qi <yao@codesourcery.com>
1145
1146 * gdb.mi/mi-var-display.exp: Set print symbol off.
1147
a9f116cb
GKB
11482014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
1149
1150 PR gdb/17035
1151 * gdb.base/commands.exp: Add tests to verify user-defined
1152 commands with empty bodies.
1153 * gdb.python/py-cmd.exp: Test that we don't show user-defined
1154 python commands in `show user command`.
1155 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
1156 scheme commands in `show user command`.
1157
c75bd3a2
JK
11582014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1159
1160 PR python/17355
1161 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
1162 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
1163 * gdb.python/py-framefilter-invalidarg.exp: New file.
1164 * gdb.python/py-framefilter-invalidarg.py: New file.
1165
faa42425
DE
11662014-09-06 Doug Evans <xdje42@gmail.com>
1167
1168 PR 15276
1169 * gdb.python/py-caller-is.c: New file.
1170 * gdb.python/py-caller-is.exp: New file.
1171
474ca4f6
SDJ
11722014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
1173
1174 PR gdb/17235
1175 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
1176 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
1177
eb0b0463
SDJ
11782014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
1179
1180 PR fortran/17237
1181 * gdb.fortran/print-formatted.exp: New file.
1182 * gdb.fortran/print-formatted.f90: Likewise.
1183
5f3b99cf
SS
11842014-09-03 Sasha Smundak <asmundak@google.com>
1185
1186 * gdb.python/py-frame.exp: Test Frame.read_register.
1187
7d793aa9
SDJ
11882014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
1189
1190 PR python/16699
1191 * gdb.python/py-completion.exp: New file.
1192 * gdb.python/py-completion.py: Likewise.
1193
fb0576e9
DE
11942014-08-28 Doug Evans <dje@google.com>
1195
1196 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
1197 eax,etc. are live with values set by gdb and thus the compiler can't
1198 use them.
1199 * gdb.arch/i386-pseudo.c (main): Ditto.
1200
ee92b0dd
DE
12012014-08-27 Doug Evans <dje@google.com>
1202
1203 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
1204
6649db35
DE
12052014-08-25 Doug Evans <dje@google.com>
1206
1207 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
1208 (main): Ditto.
1209
564b7600
DE
12102014-08-25 Doug Evans <dje@google.com>
1211
1212 * gdb.threads/thread-execl.exp: #include <stdio.h>.
1213
3881fb67
YQ
12142014-08-24 Yao Qi <yao@codesourcery.com>
1215
1216 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
1217 symbol off.
1218 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
1219
a05a36a5
DE
12202014-08-22 Doug Evans <dje@google.com>
1221
1222 PR 17276
1223 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
1224 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
1225 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
1226
7c343b48
YQ
12272014-08-22 Yao Qi <yao@codesourcery.com>
1228
1229 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
1230 * gdb.python/py-finish-breakpoint2.exp: Likewise.
1231 * gdb.python/python.exp: Likewise. Use .py file on the host
1232 instead of the build.
1233
22fd09ae
JK
12342014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1235
1236 * gdb.threads/gcore-stale-thread.c: New file.
1237 * gdb.threads/gcore-stale-thread.exp: New file.
1238
a8454a7c
PA
12392014-08-21 Pedro Alves <palves@redhat.com>
1240
1241 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
1242 * gdb.base/gcore-relro-pie.exp: Likewise.
1243 * gdb.base/gcore-relro.exp: Likewise.
1244 * gdb.base/gcore.exp: Likewise.
1245 * gdb.base/print-symbol-loading.exp: Likewise.
1246 * gdb.threads/gcore-thread.exp: Likewise.
1247 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
1248
2a31c623
PA
12492014-08-20 Pedro Alves <palves@redhat.com>
1250 Jan Kratochvil <jan.kratochvil@redhat.com>
1251
1252 * Makefile.in (EXTRA_RULES, CC): New variables, get from
1253 configure.
1254 (EXPECT): Handle READ1 being set.
1255 (all): Depend on EXTRA_RULES.
1256 (check-read1, expect-read1, read1.so, read1): New rules.
1257 * README (Testsuite Parameters): Document the READ1 make variable.
1258 (Race detection): New section.
1259 * configure: Regenerate.
1260 * configure.ac: If build==host==target, and running under a
1261 GNU/glibc system, add read1 to the extra Makefile rules.
1262 (EXTRA_RULES): AC_SUBST it.
1263 * lib/read1.c: New file.
1264
d36430db
JB
12652014-08-20 Joel Brobecker <brobecker@adacore.com>
1266
1267 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
1268 the handling of variables declared as a typedef to an array
1269 which a DW_AT_data_location attribute.
1270
9a0dc9e3
PA
12712014-08-19 Andrew Burgess <aburgess@broadcom.com>
1272 Pedro Alves <palves@redhat.com>
1273
1274 PR symtab/14604
1275 PR symtab/14605
1276 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
1277 gdb_test.
1278
0718a8da
PA
12792014-08-19 Pedro Alves <palves@redhat.com>
1280
1281 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
1282
13b448cd
YQ
12832014-08-19 Yao Qi <yao@codesourcery.com>
1284
1285 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
1286 right line.
1287
1cbf5077
DB
12882014-08-18 David Blaikie <dblaikie@gmail.com>
1289
1290 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
1291
bf0fae19
JB
12922014-08-18 Joel Brobecker <brobecker@adacore.com>
1293
1294 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
1295 attribute in array range.
1296
3c8c5dcc
JB
12972014-08-18 Joel Brobecker <brobecker@adacore.com>
1298
1299 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
1300
e66d4446
SC
13012014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1302
1303 PR c++/17132
1304 * gdb.cp/pr17132.cc: New file.
1305 * gdb.cp/pr17132.exp: New file.
1306
940df408
SC
13072014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1308
1309 * gdb.python/py-xmethods.py (A_getarrayind)
1310 (E_method_char_worker.__call__, E_method_int_worker.__call__):
1311 Use 'print' with function call syntax.
1312 (E_method_matcher.match): Fix tab vs space indentation mixup.
1313
ebcc6c3a
YQ
13142014-08-15 Yao Qi <yao@codesourcery.com>
1315
1316 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
1317 false.
1318
775e0f04
YQ
13192014-08-15 Yao Qi <yao@codesourcery.com>
1320
1321 * gdb.cp/casts.exp: Set print symbol off.
1322 * gdb.cp/class2.exp: Likewise.
1323 * gdb.cp/overload.exp: Likewise.
1324 * gdb.cp/templates.exp: Likewise.
1325
d769e349
DE
13262014-08-11 Doug Evans <dje@google.com>
1327
1328 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1329 (test_load_shlib): Update.
1330
20c6f1e1
YQ
13312014-08-09 Yao Qi <yao@codesourcery.com>
1332
1333 * gdb.base/display.exp: Invoke is_address_zero_readable.
1334 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
1335 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1336 * gdb.base/hbreak-unmapped.exp: Return if
1337 is_address_zero_readable returns true.
1338 * gdb.base/signest.exp: Likewise.
1339 * gdb.base/signull.exp: Likewise.
1340 * gdb.base/sigbpt.exp: Likewise.
1341 * gdb.guile/scm-disasm.exp: Do the test if
1342 is_address_zero_readable returns false.
1343 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
1344 * gdb.python/py-arch.exp: Likewise.
1345 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
1346 * lib/gdb.exp (is_address_zero_readable): New proc.
1347
5792e8e3
YQ
13482014-08-09 Yao Qi <yao@codesourcery.com>
1349
1350 PR testsuite/13443
1351 * gdb.mi/mi-var-display.exp: Make test messages unique.
1352
3cecbbbe
TT
13532014-08-04 Tom Tromey <tromey@redhat.com>
1354
1355 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
1356 target 0".
1357
00b51ff5
TT
13582014-08-04 Tom Tromey <tromey@redhat.com>
1359
1360 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
1361 "target_resume".
1362
6908c509
JB
13632014-08-01 Joel Brobecker <brobecker@adacore.com>
1364
1365 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
1366 inner_vla_struct_object_size.
1367 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
1368 as xfail.
1369
cc6563d2
PA
13702014-07-30 Pedro Alves <palves@redhat.com>
1371
1372 * gdb.threads/signal-command-handle-nopass.exp (test): Add
1373 comment.
1374
7e09a223
YQ
13752014-07-29 Yao Qi <yao@codesourcery.com>
1376
1377 PR gdb/17206
1378 * gdb.base/until-nodebug.exp: New.
1379
7ebdbe92
DE
13802014-07-28 Doug Evans <xdje42@gmail.com>
1381
1382 PR guile/17203
1383 * gdb.guile/scm-parameter.exp: Add tests for trying to create
1384 previously existing parameter, and previously ambiguously spelled
1385 parameter.
1386
fdb1adc6
WN
13872014-07-28 Will Newton <will.newton@linaro.org>
1388
1389 * gdb.base/varargs.exp: Remove KFAILs for ARM.
1390
186fcde0
DE
13912014-07-26 Ludovic Courtès <ludo@gnu.org>
1392 Doug Evans <xdje42@gmail.com>
1393
1394 PR guile/17146
1395 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
1396
70509625
PA
13972014-07-25 Pedro Alves <palves@redhat.com>
1398
1399 * gdb.threads/signal-command-handle-nopass.c: New file.
1400 * gdb.threads/signal-command-handle-nopass.exp: New file.
1401 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
1402 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
1403 * gdb.threads/signal-delivered-right-thread.c: New file.
1404 * gdb.threads/signal-delivered-right-thread.exp: New file.
1405
c3f814a1
PA
14062014-07-25 Pedro Alves <palves@redhat.com>
1407
1408 * gdb.base/double-prompt-target-event-error.exp
1409 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
1410 match.
1411 (cancel_pagination_in_target_event): Rework double prompt
1412 detection.
1413 * gdb.base/paginate-after-ctrl-c-running.exp
1414 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
1415 <return>' match.
1416 * gdb.base/paginate-bg-execution.exp
1417 (test_bg_execution_pagination_return)
1418 (test_bg_execution_pagination_cancel): Remove '-notransfer
1419 <return>' matches.
1420 * gdb.base/paginate-execution-startup.exp
1421 (test_fg_execution_pagination_return)
1422 (test_fg_execution_pagination_cancel): Remove '-notransfer
1423 <return>' matches.
1424 * gdb.base/paginate-inferior-exit.exp
1425 (test_paginate_inferior_exited): Remove '-notransfer <return>'
1426 match.
1427 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
1428 * lib/gdb.exp (pagination_prompt): Run text through
1429 string_to_regexp.
1430 (gdb_test_multiple): Match $pagination_prompt instead of
1431 "<return>".
1432 (string_to_regexp): Move to lib/gdb-utils.exp.
1433
e214cf6c
JK
14342014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1435
1436 * gdb.arch/amd64-entry-value-paramref.S: New file.
1437 * gdb.arch/amd64-entry-value-paramref.cc: New file.
1438 * gdb.arch/amd64-entry-value-paramref.exp: New file.
1439 * gdb.arch/amd64-optimout-repeat.S: New file.
1440 * gdb.arch/amd64-optimout-repeat.c: New file.
1441 * gdb.arch/amd64-optimout-repeat.exp: New file.
1442
17d0c5c8
JK
14432014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1444
1445 PR gdb/17170
1446 * gdb.base/statistics.exp: New file.
1447
b8b8facf
DE
14482014-07-17 Doug Evans <dje@google.com>
1449
74b49205 1450 PR gdb/17170
b8b8facf
DE
1451 * gdb.base/maint.exp: Update testing of per-command stats.
1452
1b5d0ab3
PA
14532014-07-16 Pedro Alves <palves@redhat.com>
1454
1455 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
1456 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
1457 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
1458 (tfile_write_buf): New functions.
1459 (add_memory_block): Rewrite using the above.
1460 (adjust_function_address): New function.
1461 (FUNCTION_ADDRESS): New macro.
1462 (write_basic_trace_file): Remove short_x local, and use
1463 tfile_write_16. Change type of func_addr local to unsigned long
1464 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
1465 here. Cast argument of add_memory_block to char pointer.
1466 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
1467 (main): Remove parameters.
1468 * gdb.trace/tfile.exp: Remove nowarnings.
1469
4d974e88
SM
14702014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1471
1472 * gdb.base/debug-expr.exp: Test string evaluation with
1473 "debug expression" on.
1474
41e99568
PA
14752014-07-15 Pedro Alves <palves@redhat.com>
1476
1477 * gdb.base/reread.exp: Use clean_restart.
1478
487d9753
PL
14792014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1480
1481 * gdb.arch/avr-flash-qualifer.c: New.
1482 * gdb.arch/avr-flash-qualifer.exp: New.
1483
cc1c52ad
PA
14842014-07-14 Pedro Alves <palves@redhat.com>
1485
1486 * gdb.base/paginate-after-ctrl-c-running.c: New file.
1487 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1488
1e973570
PA
14892014-07-14 Pedro Alves <palves@redhat.com>
1490
1491 * gdb.base/double-prompt-target-event-error.c: New file.
1492 * gdb.base/double-prompt-target-event-error.exp: New file.
1493
93d6eb10
PA
14942014-07-14 Pedro Alves <palves@redhat.com>
1495
1496 PR gdb/17072
1497 * gdb.base/paginate-inferior-exit.c: New file.
1498 * gdb.base/paginate-inferior-exit.exp: New file.
1499
0017922d
PA
15002014-07-14 Pedro Alves <palves@redhat.com>
1501
1502 PR gdb/17072
1503 * gdb.base/paginate-bg-execution.c: New file.
1504 * gdb.base/paginate-bg-execution.exp: New file.
1505
94696ad3
PA
15062014-07-14 Pedro Alves <palves@redhat.com>
1507
1508 PR gdb/17072
1509 * gdb.base/paginate-execution-startup.c: New file.
1510 * gdb.base/paginate-execution-startup.exp: New file.
1511 * lib/gdb.exp (pagination_prompt): New global.
1512 (default_gdb_spawn): New procedure, factored out from
1513 default_gdb_spawn.
1514 (default_gdb_start): Adjust to call default_gdb_spawn.
1515 (gdb_spawn): New procedure.
1516
bd293940
PA
15172014-07-14 Pedro Alves <palves@redhat.com>
1518
1519 * lib/gdb.exp (gdb_assert): New procedure.
1520 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
1521
c933f875
PA
15222014-07-14 Pedro Alves <palves@redhat.com>
1523
1524 * gdb.base/execution-termios.c: New file.
1525 * gdb.base/execution-termios.exp: New file.
1526
d98b7a16
TT
15272014-07-14 Tom Tromey <tromey@redhat.com>
1528
1529 * gdb.cp/vla-cxx.cc: New file.
1530 * gdb.cp/vla-cxx.exp: New file.
1531
548740d6
TT
15322014-07-14 Tom Tromey <tromey@redhat.com>
1533
1534 * gdb.reverse/rerun-prec.c: New file.
1535 * gdb.reverse/rerun-prec.exp: New file.
1536
a25eb028
MR
15372014-07-12 Maciej W. Rozycki <macro@mips.com>
1538 Maciej W. Rozycki <macro@codesourcery.com>
1539
1540 * lib/gdb-utils.exp: New file.
1541 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
1542 inline `gdb_init_command' processing.
1543 (gdb_start_cmd): Likewise.
1544 * lib/mi-support.exp (mi_run_cmd): Likewise.
1545 * README: Document `gdb_init_command' and `gdb_init_commands'.
1546
218c2655
JK
15472014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1548
1549 Fix false FAIL running under a very long directory name.
1550 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1551 and "set print elements 10000". Twice.
1552
5401fde3
YQ
15532014-07-11 Yao Qi <yao@codesourcery.com>
1554
1555 * gdb.base/exprs.exp: "set print symbol off".
1556
e76126e8
PA
15572014-07-11 Pedro Alves <palves@redhat.com>
1558
1559 * gdb.threads/kill.c: New file.
1560 * gdb.threads/kill.exp: New file.
1561
2d6f0de6
YQ
15622014-07-10 Yao Qi <yao@codesourcery.com>
1563
1564 * gdb.trace/tfile.c (write_basic_trace_file)
1565 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1566 address written to trace file.
1567
7180e04a
PA
15682014-07-09 Pedro Alves <palves@redhat.com>
1569
1570 * gdb.base/attach-wait-input.exp: New file.
1571 * gdb.base/attach-wait-input.c: New file.
1572
9a9a7608
AB
15732014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1574
1575 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1576 setting up test structures.
1577 (main): Call new test function.
1578 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1579 test function, continue into test function and walk test
1580 structures.
1581
161ac41e
YQ
15822014-07-02 Yao Qi <yao@codesourcery.com>
1583
1584 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1585 'bar_start' at the beginning of functions 'foo' and 'bar'
1586 respectively.
1587 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1588 instead of 'foo' and 'bar'.
1589
1f267ae3
MM
15902014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1591
1592 * gdb.btrace/segv.exp: New.
1593 * gdb.btrace/segv.c: New.
1594
2b239efb
LM
15952014-07-02 Luis Machado <lgustavo@codesourcery.com>
1596
1597 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1598 instruction.
1599
cf363f18
MW
16002014-06-30 Mark Wielaard <mjw@redhat.com>
1601
1602 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1603 vulture, vilify, villar): New volatile array constants.
1604 (vindictive, vegetation): New const volatile array constants.
1605 * gdb.base/volatile.exp: Test volatile and const volatile array
1606 types.
1607
aebf9d24
AA
16082014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1609
1610 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1611 target lacks support for awatch, rwatch, or hbreak.
1612
b67a2c6f
YQ
16132014-06-27 Yao Qi <yao@codesourcery.com>
1614
1615 * gdb.multi/dummy-frame-restore.exp: New.
1616 * gdb.multi/dummy-frame-restore.c: New.
1617
aef92902
MM
16182014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1619
1620 * gdb.btrace/gcore.exp: New.
1621
8e9db26e
PA
16222014-06-23 Pedro Alves <palves@redhat.com>
1623
1624 * gdb.base/watchpoint-reuse-slot.c: New file.
1625 * gdb.base/watchpoint-reuse-slot.exp: New file.
1626
70afc5b7
SC
16272014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1628
1629 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1630 progspace's filename in 'info', 'enable' and 'disable' command
1631 tests.
1632
b972bd9c
JK
16332014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1634
1635 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1636 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1637 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1638
125f8a3d
GB
16392014-06-20 Gary Benson <gbenson@redhat.com>
1640
1641 * gdb.arch/i386-avx.exp: Fix include file location.
1642 * gdb.arch/i386-sse.exp: Likewise.
1643
3ed9baed
IB
16442014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1645
1646 * gdb.dlang/expression.exp: New file.
1647
034f788c
PA
16482014-06-19 Pedro Alves <palves@redhat.com>
1649
1650 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1651 out from ...
1652 (top level): ... here. Iterate running tests under different
1653 scheduler-locking settings.
1654
45371d0c
LM
16552014-06-18 Luis Machado <lgustavo@codesourcery.com>
1656
1657 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1658 to DW_FORM_addr and use non-zero addresses.
1659
5d376983
SC
16602014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1661
1662 PR gdb/17017
1663 * gdb.python/py-xmethods.cc: Add global function call counters and
1664 increment them in their respective functions. Remove "cout"
1665 statements.
1666 * gdb.python/py-xmethods.exp: Make tests check the global function
1667 call counters instead of depending on inferior IO.
1668
a1aa2221
LM
16692014-06-18 Don Breazeal <donb@codesourcery.com>
1670
1671 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1672 Deleted procedure.
1673 (explicit_fork_parent_follow): Deleted procedure.
1674 (explicit_fork_child_follow): Deleted procedure.
1675 (test_follow_fork): New procedure.
1676 (do_fork_tests): Replace calls to deleted procedures with
1677 calls to test_follow_fork and reset GDB for subsequent
1678 procedure calls.
1679
0fc05997
YQ
16802014-06-17 Yao Qi <yao@codesourcery.com>
1681
1682 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1683 CP1252.
1684
70795c52
LM
16852014-06-17 Luis Machado <lgustavo@codesourcery.com>
1686
1687 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1688 Initialize ptr and S explicitly.
1689 (skip_type_update_when_not_use_rtti_test): Likewise.
1690
6be47f0c
KS
16912014-06-16 Keith Seitz <keiths@redhat.com>
1692
1693 PR mi/15863
1694 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1695 the inferior is started.
1696
d03de421
PA
16972014-06-16 Pedro Alves <palves@redhat.com>
1698
1699 * gdb.base/break-main-file-remove-fail.c: New file.
1700 * gdb.base/break-main-file-remove-fail.exp: New file.
1701 * gdb.base/break-unload-file.exp: Use build_executable instead of
1702 prepare_for_testing.
1703 (test_break): New parameter "initial_load". Handle it.
1704 (top level): Add initial_load cmdline/file axis.
1705
f9579b99
TT
17062014-06-12 Tom Tromey <tromey@redhat.com>
1707
1708 * gdb.base/completion.exp: Don't use directory name in test.
1709
3657956b
GB
17102014-06-09 Gary Benson <gbenson@redhat.com>
1711
1712 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1713 separate the always-available ANSI-standard signals from the
1714 signals that require checking.
1715 (main): Likewise.
1716 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1717 Likewise.
1718 (main): Likewise.
1719
4186eb54
KS
17202014-06-07 Keith Seitz <keiths@redhat.com>
1721
1722 Revert:
1723 PR c++/16253
1724 * gdb.cp/var-tag.cc: New file.
1725 * gdb.cp/var-tag.exp: New file.
1726 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1727 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1728 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1729 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1730
25326a28 17312014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
1732
1733 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1734
829155c9
PA
17352014-06-06 Pedro Alves <palves@redhat.com>
1736
1737 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1738 in target debug output instead of looking at RSP packets,
1739 disabling the test on any target that uses hardware stepping.
1740 Update comments.
1741
61c8d22e
PA
17422014-06-06 Pedro Alves <palves@redhat.com>
1743
1744 * gdb.base/break-unload-file.exp: Fix typo.
1745
d9a47287
YQ
17462014-06-06 Yao Qi <yao@codesourcery.com>
1747
1748 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1749 from "jit_function" to "^jit_function".
1750
e5e01dbf
YQ
17512014-06-06 Yao Qi <yao@codesourcery.com>
1752
1753 * gdb.base/async.c (foo): Add one statement.
1754 * gdb.base/async.exp: Get the next instruction address and
1755 match the output of "nexti" by instruction address. Match
1756 the hex address in the output of "finish".
1757
73ba372c
GB
17582014-06-06 Gary Benson <gbenson@redhat.com>
1759
1760 * gdb.base/call-signals.c: Remove preprocessor conditionals
1761 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1762 SIGSEGV and SIGTERM.
1763 * gdb.base/sigall.c: Likewise.
1764 * gdb.base/unwindonsignal.c: Likewise.
1765 * gdb.reverse/sigall-reverse.c: Likewise.
1766
831517df
YQ
17672014-06-06 Yao Qi <yao@codesourcery.com>
1768
1769 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1770 readable, skip the test.
1771
b8b91e98
YQ
17722014-06-06 Yao Qi <yao@codesourcery.com>
1773
1774 * gdb.threads/staticthreads.c (thread_function): Move the line
1775 setting breakpoint on forward.
1776 * gdb.threads/staticthreads.exp: Update comments.
1777
fb934770
LC
17782014-06-05 Ludovic Courtès <ludo@gnu.org>
1779
1780 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1781 "history-append! type error".
1782
6ef284bd
SM
17832014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1784
1785 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1786 erroneous dprintf expected input.
1787
a872e241
DE
17882014-06-04 Doug Evans <xdje42@gmail.com>
1789
1790 * gdb.guile/scm-generics.exp: Delete.
1791
16f691fb
DE
17922014-06-04 Doug Evans <xdje42@gmail.com>
1793
1794 * gdb.guile/scm-breakpoint.exp: Update.
1795 Add tests for breakpoint registration.
1796
012370f6
TT
17972014-06-04 Tom Tromey <tromey@redhat.com>
1798
1799 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1800 VLA-in-union.
1801 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1802 inner_vla_struct, vla_union types. Initialize objects of those
1803 types and compute their sizes.
1804
9f5a4cef
HZ
18052014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1806 Hui Zhu <hui@codesourcery.com>
1807
1808 * gdb.base/fileio.exp: Add test for shell not available as well as
1809 available.
1810 * gdb.base/fileio.c (test_system): Check for shell twice.
1811
90a45c4d
YQ
18122014-06-04 Yao Qi <yao@codesourcery.com>
1813
1814 * gdb.base/auto-connect-native-target.exp: Remove redundant
1815 space from the regexp pattern.
1816
70017e41
YQ
18172014-06-04 Yao Qi <yao@codesourcery.com>
1818
1819 * gdb.base/default.exp: Replace "child" with "native" in
1820 regexp pattern.
1821
883964a7
SC
18222014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1823
1824 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1825 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1826 * gdb.python/py-xmethods.py: Python script supporting the
1827 new testcase and tests.
1828
ef370185
JB
18292014-06-03 Joel Brobecker <brobecker@adacore.com>
1830 Pedro Alves <palves@redhat.com>
1831
1832 PR breakpoints/17000
1833 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1834 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1835
1e2ccb61
BM
18362014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1837
1838 * gdb.base/subst.exp: Add tests to verify partial path matching
1839 output.
1840
c6ec5ab2
PA
18412014-06-03 Pedro Alves <palves@redhat.com>
1842
1843 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1844 target that doesn't use software single-stepping.
1845
835c559f
PA
18462014-06-03 Pedro Alves <palves@redhat.com>
1847
1848 PR breakpoints/17000
1849 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1850 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1851
06eb1586
DE
18522014-06-02 Doug Evans <xdje42@gmail.com>
1853
1854 * gdb.guile/scm-parameter.exp: New file.
1855
e698b8c4
DE
18562014-06-02 Doug Evans <xdje42@gmail.com>
1857
1858 * gdb.guile/scm-cmd.c: New file.
1859 * gdb.guile/scm-cmd.exp: New file.
1860
ded03782
DE
18612014-06-02 Doug Evans <xdje42@gmail.com>
1862
1863 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1864 pretty-printer lookup.
1865 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1866 (make-pp_s-printer): Call it.
1867 (make-pretty-printer-from-dict): New function.
1868 (lookup-pretty-printer-maker-from-dict): New function.
1869 (*pretty-printer*): Simplify.
1870 (make-objfile-pp_s-printer): New function.
1871 (install-objfile-pretty-printers!): New function.
1872 (make-progspace-pp_s-printer): New function.
1873 (install-progspace-pretty-printers!): New function.
1874 * gdb.guile/scm-progspace.c: New file.
1875 * gdb.guile/scm-progspace.exp: New file.
1876
41fac0cf
PA
18772014-06-02 Pedro Alves <palves@redhat.com>
1878
1879 * gdb.base/dprintf-bp-same-addr.c: New file.
1880 * gdb.base/dprintf-bp-same-addr.exp: New file.
1881
96ae5695
EBM
18822014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1883
1884 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1885 * gdb.arch/powerpc-power.s: Likewise.
1886
da02b3a8
JB
18872014-06-02 Joel Brobecker <brobecker@adacore.com>
1888
1889 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1890
c72b2e7b
YQ
18912014-06-01 Yao Qi <yao@codesourcery.com>
1892
1893 * gdb.base/watchpoint.exp (test_watch_location): Check null
1894 pointer can be dereferenced. If not, do the test, otherwise
1895 skip it.
1896
53e8a631
AB
18972014-05-30 Andrew Burgess <aburgess@broadcom.com>
1898
1899 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1900 results.
1901 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1902
938f0e2f
AB
19032014-05-30 Andrew Burgess <aburgess@broadcom.com>
1904
1905 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1906 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1907 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1908 * gdb.arch/amd64-invalid-stack-top.c: New file.
1909 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1910
9ba6657a
PA
19112014-05-30 Pedro Alves <palves@redhat.com>
1912
1913 PR breakpoints/17000
1914 * gdb.base/sss-bp-on-user-bp.c: New file.
1915 * gdb.base/sss-bp-on-user-bp.exp: New file.
1916
522c09bf
DB
19172014-05-30 David Blaikie <dblaikie@gmail.com>
1918
1919 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1920 gnu_inline semantics via attribute.
1921 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1922 source explicitly specifies the required semantics.
1923
bf4ef81e
MR
19242014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1925
1926 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1927
329ea579
PA
19282014-05-29 Pedro Alves <palves@redhat.com>
1929 Tom Tromey <tromey@redhat.com>
1930
1931 * gdb.base/async-shell.exp: Don't enable target-async.
1932 * gdb.base/async.exp
1933 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1934 parameter. Adjust.
1935 (top level): Don't test with "target-async".
1936 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1937 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1938 * gdb.base/inferior-died.exp: Don't enable target-async.
1939 * gdb.base/interrupt-noterm.exp: Likewise.
1940 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1941 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1942 * gdb.mi/mi-nonstop.exp: Likewise.
1943 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1944 * gdb.mi/mi-nsintrall.exp: Likewise.
1945 * gdb.mi/mi-nsmoribund.exp: Likewise.
1946 * gdb.mi/mi-nsthrexec.exp: Likewise.
1947 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1948 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1949 * gdb.python/py-evsignal.exp: Don't enable target-async.
1950 * gdb.python/py-evthreads.exp: Likewise.
1951 * gdb.python/py-prompt.exp: Likewise.
1952 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1953 * gdb.server/solib-list.exp: Don't enable target-async.
1954 * gdb.threads/thread-specific-bp.exp: Likewise.
1955 * lib/mi-support.exp: Adjust to use mi-async.
1956
fd664c91
PA
19572014-05-29 Pedro Alves <palves@redhat.com>
1958
1959 PR gdb/13860
1960 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1961 reason, even in sync mode.
1962
251bde03
PA
19632014-05-29 Pedro Alves <palves@redhat.com>
1964 Hui Zhu <hui@codesourcery.com>
1965
1966 PR PR15693
1967 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1968 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1969 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1970 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1971
7f3c0343
JB
19722014-05-28 Joel Brobecker <brobecker@adacore.com>
1973
1974 * config/monitor.exp (gdb_target_monitor): Replace use of
1975 "set remotebaud" by "set serial baud".
1976
b2715b27
AW
19772014-05-26 Andy Wingo <wingo@igalia.com>
1978
1979 * gdb.guile/scm-breakpoint.exp:
1980 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1981 properties instead of gdb-object-properties.
1982
498a4489
YQ
19832014-05-26 Yao Qi <yao@codesourcery.com>
1984
1985 * gdb.server/no-thread-db.exp: Specify source file name
1986 explicitly when setting a breakpoint.
1987
589fdceb
MM
19882014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1989
1990 * gdb.btrace/vdso.c: New.
1991 * gdb.btrace/vdso.exp: New.
1992
e9089e05
MM
19932014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1994
1995 * gdb.base/gcore.exp (capture_command_output): Move ...
1996 * lib/gdb.exp (capture_command_output): ... here.
1997
67b5c0c1
MM
19982014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1999
2000 * gdb.btrace/data.exp: Test memory access during btrace replay.
2001
a2199296
SM
20022014-05-22 Simon Marchi <simon.marchi@ericsson.com>
2003
2004 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
2005
17b2616c
PA
20062014-05-21 Pedro Alves <palves@redhat.com>
2007
2008 PR gdb/13860
2009 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
2010 (top level): Test that output related to execution commands is
2011 sent to the console with CLI commands, but not with MI commands.
2012 Test that breakpoint events are always mirrored to the console.
2013 Also expect the new source line to be output after a "next" in
2014 async mode too. Make it a pass/fail test.
2015 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
2016 output.
2017 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
2018
5166082f
PA
20192014-05-21 Pedro Alves <palves@redhat.com>
2020
2021 * gdb.base/list.exp (build_pattern, test_list): New procedures.
2022 Use them to test variations of "list" after reaching a breakpoint.
2023 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
2024 Test "list" with listsize 10 after reaching a breakpoint.
2025 * gdb.python/python.exp (decode_line current location line
2026 number): Adjust expected line number.
2027
2f25d70f
SM
20282014-05-21 Simon Marchi <simon.marchi@ericsson.com>
2029
2030 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
2031 behavior for $args, pass it directly to "run".
2032
ff604a67
MR
20332014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
2034
2035 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
2036 30000 to 65536.
2037
6a3cb8e8
PA
20382014-05-21 Pedro Alves <palves@redhat.com>
2039
2040 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
2041 auto-connect-native-target off".
2042 * gdb.base/auto-connect-native-target.c: New file.
2043 * gdb.base/auto-connect-native-target.exp: New file.
2044
4ebfc96e
PA
20452014-05-21 Pedro Alves <palves@redhat.com>
2046
2047 * gdb.base/default.exp: Test "target native" instead of "target
2048 child".
2049
36d46afb
MW
20502014-05-21 Mark Wielaard <mjw@redhat.com>
2051
2052 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2053
5876f503
JK
20542014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2055
2056 Fix TLS access for -static -pthread.
2057 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
2058 <HAVE_TLS> (thread_function, main): Initialize it.
2059 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
2060 Add clean_restart.
2061 <$have_tls != "">: Check TLSVAR.
2062
0256a6ac
PA
20632014-05-21 Pedro Alves <palves@redhat.com>
2064
2065 * gdb.base/dcache-line-read-error.c: New.
2066 * gdb.base/dcache-line-read-error.exp: New.
2067
936d2992
PA
20682014-05-20 Pedro Alves <palves@redhat.com>
2069
2070 * gdb.base/compare-sections.c: New file.
2071 * gdb.base/compare-sections.exp: New file.
2072
802e8e6d
PA
20732014-05-20 Pedro Alves <palves@redhat.com>
2074
2075 * gdb.base/break-idempotent.c: New file.
2076 * gdb.base/break-idempotent.exp: New file.
2077
e59fa00f
MM
20782014-05-20 Markus Metzger <markus.t.metzger@intel.com>
2079
2080 * gdb.btrace/nohist.exp: New.
2081
8b696e31
YQ
20822014-05-20 Yao Qi <yao@codesourcery.com>
2083
2084 * lib/gdb.exp (gdb_init): Set timeout if test file is under
2085 gdb.reverse directory and gdb_reverse_timeout exists in board
2086 setting.
2087 * README: Document gdb_reverse_timeout.
2088
73c9764f
YQ
20892014-05-20 Yao Qi <yao@codesourcery.com>
2090
2091 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
2092 'test_file_name'. Treat args as a string instead of a list.
2093 (gdb_init): Rename argument 'args' by 'test_file_name'.
2094
f1f4348a
JK
20952014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2096
2097 * gdb.arch/powerpc-power.exp: New file.
2098 * gdb.arch/powerpc-power.s: New file.
2099
0dbe70ce
DE
21002014-05-16 Doug Evans <dje@google.com>
2101
2102 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
2103 * gdb.base/completion.exp: Check that all expected files exist
2104 before doing file completion.
0dbe70ce 2105
8d551b02
DE
21062014-05-16 Doug Evans <dje@google.com>
2107
2108 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
2109 Update.
2110 (do_syscall_tests_without_xml): Update.
2111
73eb7709
PA
21122014-05-16 Pedro Alves <palves@redhat.com>
2113
2114 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
2115 instead of "unknown output after running".
2116
3fae92fc
YQ
21172014-05-16 Yao Qi <yao@codesourcery.com>
2118
2119 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
2120 file1.txt from host at the end.
2121 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2122
c2b2ccc5
DE
21232014-05-15 Doug Evans <dje@google.com>
2124
2125 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
2126 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
2127 loading file. Add test for TU lookup.
2128
8c217a4b
SM
21292014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2130
2131 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
2132 calling "-exec-arguments" or "set args" before running the
2133 inferior.
2134
3deb39c6
SM
21352014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2136
2137 * lib/mi-support.exp (mi_expect_stop): Expect message for
2138 inferiors that exit with non-zero exit code.
2139
71a79f8c
YQ
21402014-05-14 Yao Qi <yao@codesourcery.com>
2141
2142 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
2143 match absolute path on remote host.
2144 (test_file_list_exec_source_files): Remove "/" from the
2145 pattern.
2146
f23fcd46
YQ
21472014-05-14 Yao Qi <yao@codesourcery.com>
2148
2149 * boards/local-remote-host-notty.exp (${board}_file): New
2150 proc.
2151
9404b58f
KM
21522014-05-07 Kyle McMartin <kyle@redhat.com>
2153
2154 Pushed by Joel Brobecker <brobecker@adacore.com>.
2155 * gdb.arch/aarch64-atomic-inst.c: New file.
2156 * gdb.arch/aarch64-atomic-inst.exp: New file.
2157
5e45f04c
YQ
21582014-05-07 Yao Qi <yao@codesourcery.com>
2159
2160 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
2161 in current context" too.
2162
c888a17d
KS
21632014-05-05 Keith Seitz <keiths@redhat.com>
2164
2165 * gdb.linespec/ls-dollar.exp: Add test for linespec
2166 file:convenience_variable.
2167
290a839c
YQ
21682014-05-05 Yao Qi <yao@codesourcery.com>
2169
2170 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
2171 traceframes into tfile and ctf trace files. Read data from
2172 trace file and test collected data.
2173 (gdb_collect_locals_test): Likewise.
2174 (gdb_unavailable_registers_test): Likewise.
2175 (gdb_unavailable_floats): Likewise.
2176 (gdb_collect_globals_test): Likewise.
2177 (top-level): Append "ctf" to trace_file_targets if GDB
2178 supports.
2179
b5262cd0
YQ
21802014-05-05 Yao Qi <yao@codesourcery.com>
2181
2182 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
2183 code to ...
2184 (gdb_collect_args_test_1): ... it. New proc.
2185 (gdb_collect_locals_test): Move some code to ...
2186 (gdb_collect_locals_test_1): ... it. New proc.
2187 (gdb_unavailable_registers_test): Move some code to ...
2188 (gdb_unavailable_registers_test_1): ... it. New proc.
2189 (gdb_unavailable_floats): Move some code to ...
2190 (gdb_unavailable_floats_1): ... it. New proc.
2191
30a1e6cc
SDJ
21922014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2193
2194 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
2195 probes to test for bitness recognition.
2196 * gdb.arch/amd64-stap-optional-prefix.exp
2197 (test_probe_value_without_reg): New procedure.
2198 Add code to test for different kinds of bitness.
2199
f33da99a
SDJ
22002014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2201
2202 PR breakpoints/16889
2203 * gdb.arch/amd64-stap-optional-prefix.S: New file.
2204 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2205
5b80f00d
PA
22062014-05-01 Pedro Alves <palves@redhat.com>
2207
2208 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
2209 gdb_file_cmd if no file is specified.
2210 * boards/native-extended-gdbserver.exp (gdb_load): Use the
2211 last_loaded_file to set the remote exec-file.
2212
f8c2a73c
PA
22132014-05-01 Pedro Alves <palves@redhat.com>
2214
2215 * boards/local-remote-host.exp: New file.
2216
be6e8ac7
PA
22172014-05-01 Pedro Alves <palves@redhat.com>
2218
2219 * boards/local-remote-host.exp: Rename to ...
2220 * boards/local-remote-host-notty.exp: ... this.
2221
cac0dc8f
JB
22222014-04-28 Joel Brobecker <brobecker@adacore.com>
2223
2224 * gdb.ada/dyn_arrayidx: New testcase.
2225
9730e6cc
YQ
22262014-04-26 Yao Qi <yao@codesourcery.com>
2227
2228 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
2229 and compute the length of function main. Save it in
2230 $main_length.
2231 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
2232 (top-level): Use gdb_compile to compile objects into
2233 executable and restart GDB. Remove invocation to
2234 prepare_for_testing.
2235
7ae1a6a6
PA
22362014-04-25 Simon Marchi <simon.marchi@ericsson.com>
2237 Pedro Alves <palves@redhat.com>
2238
2239 PR server/16255
2240 * gdb.multi/multi-attach.c: New file.
2241 * gdb.multi/multi-attach.exp: New file.
2242
4082afcc
PA
22432014-04-25 Pedro Alves <palves@redhat.com>
2244
2245 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
2246 user.
2247 (top level): Test that "set remote conditional-breakpoints-packet
2248 off" works as intended.
2249 * gdb.base/dprintf.exp: Test that "set remote
2250 breakpoint-commands-packet off" works as intended.
2251 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
2252 New function.
2253 (top level): Call it.
2254 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
2255 remote fast-tracepoints-packet off" works as intended.
2256 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
2257 * lib/gdb.exp (gdb_is_target_remote): ... here.
2258
2abc3f8d
DB
22592014-04-24 David Blaikie <dblaikie@gmail.com>
2260
2261 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
2262 ensure clang would not discard them.
2263 * gdb.base/gdbvars.c: Ditto.
2264 * gdb.base/memattr.c: Ditto.
2265 * gdb.base/whatis.c: Ditto.
2266 * gdb.python/py-prettyprint.c: Ditto.
2267 * gdb.trace/actions.c: Ditto.
2268 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
2269 ensure clang would not discard it.
2270
bfd39632
DB
22712014-04-24 David Blaikie <dblaikie@gmail.com>
2272
2273 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
2274 clang to emit the full definition of type required by the test
2275 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
2276
22842ff6
DB
22772014-04-24 David Blaikie <dblaikie@gmail.com>
2278
2279 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
2280 coax Clang into emitting the definition of the type.
2281 * gdb.cp/pr10728-x.h (y): Ditto.
2282 * gdb.cp/pr10728-y.cc (y): Ditto.
2283
c2e827ad
DB
22842014-04-24 David Blaikie <dblaikie@gmail.com>
2285
2286 * gdb.base/label.exp: XFAIL label related tests under Clang.
2287 * gdb.cp/cplabel.exp: Ditto.
2288 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
2289 under Clang those using labels.
2290
4c2d33e7
YQ
22912014-04-25 Yao Qi <yao@codesourcery.com>
2292
2293 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
2294 double_label.
2295 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
2296 partial_label and double_label.
2297
56083b99
DB
22982014-04-24 David Blaikie <dblaikie@gmail.com>
2299
2300 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
2301
25d4e99d
DB
23022014-04-24 David Blaikie <dblaikie@gmail.com>
2303
2304 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
2305 of the function to work across GCC and Clang.
2306 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
2307 pointer types (const void ** const V void **).
2308
01f9f808
MS
23092014-04-24 Michael Sturm <michael.sturm@mintel.com>
2310 Walfred Tedeschi <walfred.tedeschi@intel.com>
2311
2312 * Makefile.in (EXECUTABLES): Added i386-avx512.
2313 * gdb.arch/i386-avx512.c: New file.
2314 * gdb.arch/i386-avx512.exp: Likewise.
2315
4b48d439
KS
23162014-04-23 Keith Seitz <keiths@redhat.com>
2317
2318 * lib/mi-support.exp (mi_list_breakpoints): Delete.
2319 (mi_make_breakpoint_table): New procedure.
2320 (mi_create_breakpoint): Use mi_make_breakpoint
2321 and return the result.
2322 (mi_make_breakpoint): New procedure.
2323 (mi_build_kv_pairs): New procedure.
2324
2325 * gdb.mi/mi-break.exp: Remove unused globals,
2326 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
2327 All callers updated.
2328 * gdb.mi/mi-dprintf.exp: Use variable to track command
2329 number.
2330 Update all callers of mi_create_breakpoint and use
2331 mi_make_breakpoint_table.
2332 Remove any unused global variables.
2333 * gdb.mi/mi-nonstop.exp: Likewise.
2334 * gdb.mi/mi-nsintrall.exp: Likewise.
2335 * gdb.mi/mi-nsmoribund.exp: Likewise.
2336 * gdb.mi/mi-nsthrexec.exp: Likewise.
2337 * gdb.mi/mi-reverse.exp: Likewise.
2338 * gdb.mi/mi-simplerun.exp: Likewise.
2339 * gdb.mi/mi-stepn.exp: Likewise.
2340 * gdb.mi/mi-syn-frame.exp: Likewise.
2341 * gdb.mi/mi-until.exp: Likewise.
2342 * gdb.mi/mi-var-cp.exp: Likewise.
2343 * gdb.mi/mi-var-display.exp: Likewise.
2344 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2345 * gdb.mi/mi2-var-child.exp: Likewise.
2346 * gdb.mi/mi-vla-c99.exp: Likewise.
2347 * lib/mi-support.exp: Likewise.
2348
2349 From Ian Lance Taylor <iant@cygnus.com>:
2350 * lib/gdb.exp (parse_args): New procedure.
2351
08351840
PA
23522014-04-23 Pedro Alves <palves@redhat.com>
2353
2354 * gdb.base/break-unload-file.c: New file.
2355 * gdb.base/break-unload-file.exp: New file.
2356 * gdb.base/sym-file-lib.c (baz): New function.
2357 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
2358 field.
2359 (load): Store the segment's mapped size.
2360 (unload): New function.
2361 (unload_shlib): New function.
2362 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
2363 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
2364 set a breakpoint at baz, and call it.
2365 * gdb.base/sym-file.exp: New tests for stale breakpoint
2366 instructions.
2367
076855f9
PA
23682014-04-23 Pedro Alves <palves@redhat.com>
2369
2370 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
2371 * gdb.base/hbreak-in-shr-unsupported.c: New file.
2372 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
2373 * gdb.base/hbreak-unmapped.c: New file.
2374 * gdb.base/hbreak-unmapped.exp: New file.
2375 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
2376 * lib/gdb.exp (gdb_is_target_remote): ... here.
2377
483805cf
PA
23782014-04-22 Pedro Alves <palves@redhat.com>
2379
2380 * gdb.base/consecutive-step-over.c: New file.
2381 * gdb.base/consecutive-step-over.exp: New file.
2382
06d97543
PA
23832014-04-22 Pedro Alves <palves@redhat.com>
2384
2385 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
2386 instead of send_gdb/gdb_expect.
2387
b4429ea2
YQ
23882014-04-22 Yao Qi <yao@codesourcery.com>
2389
2390 * lib/trace-support.exp (generate_tracefile): New procedure.
2391 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
2392 return 0.
2393 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
2394 if generate_tracefile returns 1.
2395
51d48146
PA
23962014-04-18 Tom Tromey <palves@redhat.com>
2397 Pedro alves <tromey@redhat.com>
2398
2399 PR backtrace/15558
2400 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
2401 with a backtrace limit.
2402 * gdb.python/py-frame-inline.exp: Test running to an inline
2403 function with a backtrace limit, and printing the newest frame.
2404 * gdb.python/py-frame-inline.c (main): Call f.
2405
bd1dce5f
MS
24062014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2407
2408 * gdb.java/jnpe.exp: Drop srcdir from untested path.
2409
40d1a503
MS
24102014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2411
2412 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
2413 Drop prefix from unsupported source file path.
2414
389b98f7
YQ
24152014-04-17 Yao Qi <yao@codesourcery.com>
2416
2417 * lib/gdb.exp (with_target_charset): New proc.
2418 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
2419 with_target_charset.
2420 (test_print_strings): Likewise.
2421 (test_repeat_bytes): Likewise.
2422 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
2423 for some tests.
2424
22869d73
KS
24252014-04-16 Keith Seitz <keiths@redhat.com>
2426
2427 PR gdb/15827
2428 * gdb.dwarf2/corrupt.c: New file.
2429 * gdb.dwarf2/corrupt.exp: New file.
2430
c4f87ca6
KS
24312014-04-16 Keith Seitz <keiths@redhat.com>
2432
2433 PR c++/16597
2434 * gdb.cp/namelessclass.cc: New file.
2435 * gdb.cp/namelessclass.exp: New file.
2436 * gdb.cp/namelessclass.S: New file.
2437
ab19de87
DE
24382014-04-16 Doug Evans <dje@google.com>
2439
2440 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
2441 Add comment.
2442 (gdbserver_default_get_comm_port): New function.
2443 (gdbserver_start): Check if board file provided
2444 "gdbserver,get_comm_port" and use it if so.
2445 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
2446 (gdb,socketport): Set to "stdio".
2447 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
2448 (stdio_gdbserver_template): Delete.
2449 (${board}_get_remote_address): Update.
2450 (${board}_build_remote_cmd): Delete.
2451 (${board}_get_comm_port): New function.
2452 (${board}_spawn): Update.
2453 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
2454 Delete.
2455 (${board}_get_remote_address): Update.
2456 (${board}_get_comm_port): New function.
2457
fc98a809
AB
24582014-04-16 Andrew Burgess <aburgess@broadcom.com>
2459
2460 * gdb.base/memattr.exp: Improve regexps to handle memory regions
2461 appearing in any order.
2462
87fd9e6e
DE
24632014-04-15 Doug Evans <dje@google.com>
2464
2465 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
2466 uninitialized value of "description".
2467
099fc3ea
KS
24682014-04-15 Keith Seitz <keiths@redhat.com>
2469
2470 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
2471 Remove unused globals.
2472 (test_running_the_program): Likewise.
2473 (test_controlled_execution): Likewise.
2474 (test_controlling_breakpoints): Likewise.
2475 (test_program_termination): Likewise.
2476
5da151d4
KS
24772014-04-15 Keith Seitz <keiths@redhat.com>
2478
2479 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
2480 unused globals.
2481 (test_rbreak_creation_and_listing): Likewise.
2482 (test_ignore_count): Likewise.
2483 (test_error): Likewise.
2484
35e5d2f0
PA
24852014-04-15 Pedro Alves <palves@redhat.com>
2486
2487 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2488 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2489 sym-file-loader.c.
2490 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2491 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2492 to sym-file-loader.c.
2493 (struct library): Forward declare.
2494 (load_shlib, lookup_function): Change prototypes.
2495 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2496 (translate_offset): Remove declarations.
2497 (get_text_addr): New declaration.
2498 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2499 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2500 sym-file-loader.h.
2501 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2502 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2503 here from sym-file-loader.h.
2504 (struct library): New structure.
2505 (load_shlib, lookup_function): Change prototypes and adjust to
2506 work with a struct library.
2507 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2508 (translate_offset): Make static.
2509 (get_text_addr): New function.
2510 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
2511
eb4c1710
PA
25122014-04-15 Pedro Alves <palves@redhat.com>
2513
2514 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
2515
2d1baf52
PA
25162014-04-15 Pedro Alves <palves@redhat.com>
2517
2518 * gdb.base/sym-file-loader.c: Include <limits.h>.
2519 (SELF_LINK): New define.
2520 (get_origin): New function.
2521 (load_shlib): Use it.
2522 * gdb.base/sym-file.exp: Don't early return if the target is
2523 remote. Use runto_main, and issue fail is that fails. Use
2524 gdb_load_shlibs.
2525 (shlib_name): Delete.
2526 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
2527
7dd6df01
PA
25282014-04-15 Pedro Alves <palves@redhat.com>
2529
2530 * gdb.base/sym-file.exp: Remove regex characters from test
2531 message. Don't refer to breakpoint numbers in test messages.
2532
b50c8614
KS
25332014-04-14 Keith Seitz <keiths@redhat.com>
2534
2535 PR c++/16253
2536 * gdb.cp/var-tag.cc: New file.
2537 * gdb.cp/var-tag.exp: New file.
2538 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2539 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2540 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2541 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2542
3d567982
TT
25432014-04-14 Tom Tromey <tromey@redhat.com>
2544
2545 * gdb.cp/classes.exp (test_enums): Handle underlying type.
2546 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
2547 type.
2548 * gdb.cp/enum-class.exp: New file.
2549 * gdb.cp/enum-class.cc: New file.
2550
0626fc76
TT
25512014-04-14 Tom Tromey <tromey@redhat.com>
2552
2553 * gdb.dwarf2/enum-type.exp: New file.
2554
dca325b3
SA
25552014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2556
2557 * gdb.mi/mi-vla-c99.exp: New file.
2558 * gdb.mi/vla.c: New file.
2559
5854b38a
SA
25602014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2561
2562 * gdb.base/vla-datatypes.c: New file.
2563 * gdb.base/vla-datatypes.exp: New file.
2564
463bb957
SA
25652014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2566
2567 * gdb.base/vla-ptr.c: New file.
2568 * gdb.base/vla-ptr.exp: New file.
2569
3dd170be
SA
25702014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2571
2572 * gdb.dwarf2/count.exp: New file.
2573
5ecaaa66
SA
25742014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2575
2576 * gdb.base/vla-sideeffect.c: New file.
2577 * gdb.base/vla-sideeffect.exp: New file.
2578
41f1ada5
DB
25792014-04-14 David Blaikie <dblaikie@gmail.com>
2580
2581 * gdb.mi/non-stop.c: Add return value for non-void function return
2582 statement.
2583 * gdb.threads/staticthreads.c: Ditto.
2584
0be03e84
DE
25852014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2586 Doug Evans <xdje42@gmail.com>
2587
2588 * gdb.guile/scm-value.c: Improve test case.
2589 * gdb.guile/scm-value.exp: Add new test.
2590
f180a1fb
DB
25912014-04-11 David Blaikie <dblaikie@gmail.com>
2592
2593 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2594 override Clang's default.
2595
6b662e19
JB
25962014-04-11 Joel Brobecker <brobecker@adacore.com>
2597
2598 Revert the following changes (regressions):
2599
2600 * gdb.base/vla-sideeffect.c: New file.
2601 * gdb.base/vla-sideeffect.exp: New file.
2602
2603 * gdb.dwarf2/count.exp: New file.
2604
2605 * gdb.base/vla-multi.c: New file.
2606 * gdb.base/vla-multi.exp: New file.
2607
2608 * gdb.base/vla-ptr.c: New file.
2609 * gdb.base/vla-ptr.exp: New file.
2610
2611 * gdb.base/vla-datatypes.c: New file.
2612 * gdb.base/vla-datatypes.exp: New file.
2613
2614 * gdb.mi/mi-vla-c99.exp: New file.
2615 * gdb.mi/vla.c: New file.
2616
245a5f0b
KS
26172014-04-11 Keith Seitz <keiths@redhat.com>
2618
2619 PR c++/16675
2620 * gdb.cp/cpsizeof.exp: New file.
2621 * gdb.cp/cpsizeof.cc: New file.
2622
58a84dcf
SA
26232014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2624
191a8a90
JB
2625 * gdb.mi/mi-vla-c99.exp: New file.
2626 * gdb.mi/vla.c: New file.
58a84dcf 2627
c8655f75
SA
26282014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2629
2630 * gdb.base/vla-datatypes.c: New file.
2631 * gdb.base/vla-datatypes.exp: New file.
2632
024e13b4
SA
26332014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2634
2635 * gdb.base/vla-ptr.c: New file.
2636 * gdb.base/vla-ptr.exp: New file.
2637
1a237e0e
SA
26382014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2639
2640 * gdb.base/vla-multi.c: New file.
2641 * gdb.base/vla-multi.exp: New file.
2642
504f3432
SA
26432014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2644
2645 * gdb.dwarf2/count.exp: New file.
2646
3bce8237
SA
26472014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2648
191a8a90
JB
2649 * gdb.base/vla-sideeffect.c: New file.
2650 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 2651
322f9c21
YQ
26522014-04-11 Yao Qi <yao@codesourcery.com>
2653
2654 * gdb.base/completion.exp: Check file exists before running tests
2655 on file completion.
2656
d708bcd1
PA
26572014-04-10 Pedro Alves <palves@redhat.com>
2658
2659 * gdb.base/cond-eval-mode.c: New file.
2660 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2661 prepare_for_testing to build the new file. Check result of
2662 runto_main.
2663 (test_break, test_watch): New procedures.
2664 (top level): Use them.
2665
ae1d2761
PM
26662014-04-08 Pierre Muller <muller@sourceware.org>
2667
2668 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2669 Ctrl-V use for mingw hosts.
2670
7af389b8
SC
26712014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2672
2673 * gdb.python/py-value.c: Improve test case.
2674 * gdb.python/py-value.exp: Add new test.
2675
5e703181
DE
26762014-04-07 David Blaikie <dblaikie@gmail.com>
2677
2678 * lib/compiler.c: Identify the clang compiler.
2679 * lib/compiler.cc: Ditto.
2680
9810b410
YQ
26812014-04-03 Yao Qi <yao@codesourcery.com>
2682
2683 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2684
98d1b8dc
AB
26852014-04-01 Anton Blanchard <anton@samba.org>
2686
2687 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2688 messages unique.
2689
3114cea1
AB
26902014-04-01 Anton Blanchard <anton@samba.org>
2691
2692 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2693 prepare_for_testing.
2694
62f7182c
AB
26952014-04-01 Anton Blanchard <anton@samba.org>
2696
2697 * gdb.arch/ppc64-atomic-inst.c: Remove.
2698 * gdb.arch/ppc64-atomic-inst.S: New file.
2699 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2700
770e7fc7
DE
27012014-03-31 Doug Evans <dje@google.com>
2702
2703 * gdb.base/print-symbol-loading-lib.c: New file.
2704 * gdb.base/print-symbol-loading-main.c: New file.
2705 * gdb.base/print-symbol-loading.exp: New file.
2706
46e2bafa
YQ
27072014-03-31 Yao Qi <yao@codesourcery.com>
2708
2709 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2710
8776cfe9
JB
27112014-03-28 Joel Brobecker <brobecker@adacore.com>
2712
2713 * gdb.ada/mi_dyn_arr: New testcase.
2714
5d1ef361
DE
27152014-03-27 Doug Evans <dje@google.com>
2716
2717 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2718
b5bee914
YQ
27192014-03-27 Yao Qi <yao@codesourcery.com>
2720
2721 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2722 if target is nios2-*-*.
2723
0d4d0e77
YQ
27242014-03-26 Yao Qi <yao@codesourcery.com>
2725
2726 * lib/gdb.exp (readline_is_used): New proc.
2727 * gdb.base/completion.exp: Move tests on command complete up.
2728 Skip the rest of tests if readline is not used.
2729 * gdb.ada/complete.exp: Skp the test if readline is not
2730 used.
2731 * gdb.base/filesym.exp: Likewise.
2732 * gdb.base/macscp.exp: Likewise.
2733 * gdb.base/readline-ask.exp: Likewise.
2734 * gdb.base/readline.exp: Likewise.
2735 * gdb.python/py-cmd.exp: Likewise.
2736 * gdb.trace/tfile.exp: Likewise.
2737
29361eee
YQ
27382014-03-26 Yao Qi <yao@codesourcery.com>
2739
2740 * gdb.base/macscp.exp: Fix code format issues.
2741
bc9a5525
UW
27422014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2743
2744 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2745 * gdb.asm/powerpc64le.inc: New file.
2746
d3839ede
PA
27472014-03-25 Pedro Alves <palves@redhat.com>
2748 Doug Evans <dje@google.com>
2749
2750 * gdb.base/source-execution.c: New file.
2751 * gdb.base/source-execution.exp: New file.
2752 * gdb.base/source-execution.gdb: New file.
2753
01672a57
DE
27542014-03-24 Doug Evans <dje@google.com>
2755
2756 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2757 using fission.
2758
88bbeca9
HZ
27592014-03-24 Hui Zhu <hui@codesourcery.com>
2760 Pedro Alves <palves@redhat.com>
2761
2762 PR breakpoints/16101
2763 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2764 test pass/fail messages. Detect missing support for dprintf when
2765 breakpoints are actually inserted.
2766 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2767 breakpoints are actually inserted.
2768 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2769 fails.
2770
d2348791
JK
27712014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2772
2773 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2774
feef67ab
DE
27752014-03-22 Doug Evans <xdje42@gmail.com>
2776
2777 * gdb.python/python.exp (python not supported): Verify multi-line
2778 python command issues an error.
25d743f9 2779 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 2780 guile command issues an error.
feef67ab 2781
ecebef6a
MR
27822014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2783
2784 * gdb.threads/thread-specific.exp: Handle the lack of usable
2785 $this_breakpoint and $this_thread.
2786
ccdd1909
HZ
27872014-03-21 Hui Zhu <hui@codesourcery.com>
2788
2789 * gdb.base/attach.exp (do_command_attach_tests): New.
2790
beb460e8
PA
27912014-03-20 Tom Tromey <tromey@redhat.com>
2792 Pedro Alves <palves@redhat.com>
2793
2794 PR cli/15718
2795 * gdb.base/condbreak-call-false.c: New file.
2796 * gdb.base/condbreak-call-false.exp: New file.
2797
40acf43a
PA
27982014-03-20 Pedro Alves <palves@redhat.com>
2799
2800 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2801 Delete.
2802 (block_signals, unblock_signals): Delete.
2803 (child_function_2, main): Remove references to deleted variable
2804 and functions.
2805
9f5e1e02
PA
28062014-03-20 Pedro Alves <palves@redhat.com>
2807
2808 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2809 Use pthread_kill to signal thread 2.
2810 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2811 Adjust to make the test send itself a signal rather than using the
2812 host's "kill" command.
2813
99619bea
PA
28142014-03-20 Pedro Alves <palves@redhat.com>
2815
2816 * gdb.threads/multiple-step-overs.c: New file.
2817 * gdb.threads/multiple-step-overs.exp: New file.
2818 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2819 Adjust expected infrun debug output.
2820
2adfaa28
PA
28212014-03-20 Pedro Alves <palves@redhat.com>
2822
2823 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2824 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2825
31e77af2
PA
28262014-03-20 Pedro Alves <palves@redhat.com>
2827
2828 PR breakpoints/7143
2829 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2830 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2831 of gdb_test_multiple.
2832 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2833 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2834
b9f437de
PA
28352014-03-20 Pedro Alves <palves@redhat.com>
2836
2837 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2838 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2839
05adc73e
PA
28402014-03-19 Pedro Alves <palves@redhat.com>
2841
2842 * gdb.base/async.exp: Remove early return.
2843
6048b950
PA
28442014-03-19 Pedro Alves <palves@redhat.com>
2845
2846 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2847
8bcfb00a
PA
28482014-03-19 Pedro Alves <palves@redhat.com>
2849
2850 * gdb.base/async.exp (test_background): Expect \r\n after
2851 "completed." in the fail pattern.
2852
884e37dc
PA
28532014-03-19 Pedro Alves <palves@redhat.com>
2854
2855 * gdb.base/async.exp (test_background): New procedure.
2856 Use it for all background execution command tests.
2857
148e57e2
PA
28582014-03-19 Pedro Alves <palves@redhat.com>
2859
2860 * gdb.base/async.exp: Use prepare_for_testing.
2861
f48088c7
PA
28622014-03-19 Pedro Alves <palves@redhat.com>
2863
2864 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2865 the same line.
2866
e2f6c966
PA
28672014-03-19 Pedro Alves <palves@redhat.com>
2868
2869 * gdb.base/async.c (main): Add "jump here" and "until here" line
2870 marker comments.
2871 * gdb.base/async.exp (jump_here): New global.
2872 (jump& test): Use it.
2873 (until_here): New global.
2874 (until& test): Use it.
2875
c30568d4
PA
28762014-03-19 Pedro Alves <palves@redhat.com>
2877
2878 * gdb.base/async.exp: Don't frob gdb_protocol.
2879
0172b6a7
DE
28802014-03-18 Doug Evans <xdje42@gmail.com>
2881
2882 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2883 Fix spelling of exec-done-display.
2884
06c868a8
JK
28852014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2886
2887 PR gdb/15358
2888 * gdb.base/gdb-sigterm.c: New file.
2889 * gdb.base/gdb-sigterm.exp: New file.
2890
0c7e1a46
PA
28912014-03-18 Pedro Alves <palves@redhat.com>
2892
2893 PR gdb/13860
2894 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2895 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2896 solib-event.
2897
f7c77d93
JB
28982014-03-17 Joel Brobecker <brobecker@adacore.com>
2899
2900 * gdb.ada/pckd_arr_ren: New testcase.
2901
5a1e8c7a
DE
29022014-03-13 Doug Evans <xdje42@gmail.com>
2903
2904 PR guile/16612
2905 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2906 collect after discarding symbols.
2907
350e1a76
DE
29082014-03-13 Ludovic Courtès <ludo@gnu.org>
2909 Doug Evans <xdje42@gmail.com>
2910
2911 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2912 to history survives a gc.
2913
a69900ae
PA
29142014-03-13 Pedro Alves <palves@redhat.com>
2915
2916 * gdb.base/default.exp: Don't test "target procfs".
2917
5db9f0bd
PA
29182014-03-13 Pedro Alves <palves@redhat.com>
2919
2920 * gdb.base/default.exp: Update "target child" and "target procfs"
2921 tests to not expect "Unix".
2922
b3ccfe11
TT
29232014-03-12 Tom Tromey <tromey@redhat.com>
2924
2925 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2926 New procs. Add target-async tests.
2927 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2928 Add target-async tests.
2929
646f4417
AA
29302014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2931
2932 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2933 'func_start' and 'func_end' for the beginning and end of the
2934 function code, respectively.
2935 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2936 'func_end' instead of 'func' and 'main'.
2937
288c211f
AA
29382014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2939
2940 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2941 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2942 generate the debug info assembler source.
2943
e0c0f156
AA
29442014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2945
2946 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2947 * gdb.dwarf2/arr-subrange.exp: Likewise.
2948 * gdb.dwarf2/dwz.exp: Likewise.
2949 * gdb.dwarf2/method-ptr.exp: Likewise.
2950 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2951 * gdb.dwarf2/subrange.exp: Likewise.
2952 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2953 * gdb.dwarf2/implptrpiece.exp: Likewise.
2954 * gdb.dwarf2/nostaticblock.exp: Likewise.
2955
0e5c4555
AA
29562014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2957
2958 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2959 directory to absolute path name arguments.
2960
5ec18f2b
JG
29612014-03-10 Joel Brobecker <brobecker@adacore.com>
2962
2963 * gdb.ada/tagged_access: New testcase.
2964
847fc4f2
MM
29652014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2966
2967 * gdb.btrace/data.exp: Update expected output.
2968
cc3da688
YQ
29692014-03-06 Yao Qi <yao@codesourcery.com>
2970
2971 * gdb.trace/pr16508.exp: New file.
2972
0f26cec1
PA
29732014-03-05 Pedro Alves <palves@redhat.com>
2974
2975 PR gdb/16575
2976 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2977 procedure.
2978 (top level): Adjust to use it. Add tests that exercise breakpoint
2979 interaction with the code-cache.
2980
7a5a839f
LC
29812014-02-26 Ludovic Courtès <ludo@gnu.org>
2982
2983 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2984 test for 'history-append!'.
2985
31aa7e4e
JB
29862014-02-26 Joel Brobecker <brobecker@adacore.com>
2987
2988 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2989 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2990 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2991 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2992 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2993 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2994
1b588015
JB
29952014-02-26 Joel Brobecker <brobecker@adacore.com>
2996
2997 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2998 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2999 * testsuite/gdb.python/py-pp-re-notag.p: New file.
3000
55426c9d
JB
30012014-02-26 Joel Brobecker <brobecker@adacore.com>
3002
3003 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
3004
dc53a7ad
JB
30052014-02-26 Joel Brobecker <brobecker@adacore.com>
3006
3007 * gdb.dwarf2/arr-stride.c: New file.
3008 * gdb.dwarf2/arr-stride.exp: New file.
3009
12ab52e9
PA
30102014-02-26 Pedro Alves <palves@redhat.com>
3011
3012 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
3013 that won't ever trigger. Make sure that GDB reports the correct
3014 breakpoint that caused the stop.
3015
849c862e
JK
30162014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3017
3018 PR gdb/16626
3019 * gdb.base/auto-load-script: New file.
3020 * gdb.base/auto-load.c: New file.
3021 * gdb.base/auto-load.exp: New file.
3022
71b7d793
JK
3023 PR gdb/16626
3024 * gdb.base/auto-load.exp: Fix out-of-srctree run.
3025
e2f0d509
JK
30262014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3027
3028 Fix dw2-icycle.exp -fsanitize=address GDB crash.
3029 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
3030
50cc37c8
DE
30312014-02-24 Doug Evans <dje@google.com>
3032
3033 * lib/gdb.exp (run_on_host): Log error output if program fails.
3034
ea4758f2
PA
30352014-02-21 Pedro Alves <palves@redhat.com>
3036
3037 * gdb.threads/step-after-sr-lock.c: Rename to ...
3038 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
3039 * gdb.threads/step-after-sr-lock.exp: Rename to ...
3040 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3041 ... this.
3042
d7b30f67
SDJ
30432014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
3044
3045 PR tdep/16397
3046 * gdb.arch/amd64-stap-special-operands.exp: New file.
3047 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
3048 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
3049 * gdb.arch/amd64-stap-triplet.S: Likewise.
3050 * gdb.arch/amd64-stap-triplet.c: Likewise.
3051
83deb43f
JB
30522014-02-20 Joel Brobecker <brobecker@adacore.com>
3053
3054 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
3055 in .section pseudo-op.
3056
adde2bff
DE
30572014-02-20 lin zuojian <manjian2006@gmail.com>
3058 Joel Brobecker <brobecker@adacore.com>
3059 Doug Evans <xdje42@gmail.com>
3060
3061 PR symtab/16581
3062 * gdb.dwarf2/dw2-icycle.S: New file.
3063 * gdb.dwarf2/dw2-icycle.c: New file.
3064 * gdb.dwarf2/dw2-icycle.exp: New file.
3065
f7bd0f78
SC
30662014-02-19 Siva Chandra Reddy <sivachandra@google.com>
3067
3068 * gdb.python/py-value-cc.cc: Improve test case to enable testing
3069 operations on gdb.Value objects.
3070 * gdb.python/py-value-cc.exp: Add new test to test operations on
3071 gdb.Value objects.
3072
c17ef0d5
DE
30732014-02-18 Doug Evans <dje@google.com>
3074
3075 * Makefile.in (TESTS): New variable.
3076 (expanded_tests, expanded_tests_or_none): New variables
3077 (check-single): Pass $(expanded_tests_or_none) to runtest.
3078 (check-parallel): Only run tests in $(TESTS) if non-empty.
3079 (check/no-matching-tests-found): New rule.
3080 * README: Document TESTS makefile variable.
3081
5dd3176f
DE
30822014-02-18 Doug Evans <dje@google.com>
3083
3084 * Makefile.in (check-parallel): rm -rf outputs temp.
3085
0b10be4f
JK
30862014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3087
3088 Fix "ERROR: no fileid for" in the testsuite.
3089 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
3090
85f224e7
DE
30912014-02-12 Doug Evans <dje@google.com>
3092
3093 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
3094 (MISCELLANEOUS): New variable.
3095 (clean): rm -rf $(MISCELLANEOUS).
3096 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
3097 dwp live in the same directory as symlinks, with each symlink pointed
3098 to a differently named file in a different directory.
3099
149b30ff
DE
31002014-02-11 Doug Evans <dje@google.com>
3101
3102 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
3103 of Tcl file commands.
3104
1dfdac32
MK
31052014-02-10 Mark Kettenis <kettenis@gnu.org>
3106
3107 * gdb.threads/step-after-sr-lock.exp: Avoid executing
3108 "kill -SIGUSR1 -1".
3109
aa4fb036
JB
31102014-02-10 Joel Brobecker <brobecker@adacore.com>
3111
3112 * gdb.ada/tick_length_array_enum_idx: New testcase.
3113
ed3ef339
DE
31142014-02-10 Doug Evans <xdje42@gmail.com>
3115
3116 * configure.ac (AC_OUTPUT): Add gdb.guile.
3117 * configure: Regenerate.
3118 * lib/gdb-guile.exp: New file.
3119 * lib/gdb.exp (get_target_charset): New function.
3120 * gdb.base/help.exp: Update expected output from "apropos apropos".
3121 * gdb.guile/Makefile.in: New file.
3122 * gdb.guile/guile.exp: New file.
3123 * gdb.guile/scm-arch.c: New file.
3124 * gdb.guile/scm-arch.exp: New file.
3125 * gdb.guile/scm-block.c: New file.
3126 * gdb.guile/scm-block.exp: New file.
3127 * gdb.guile/scm-breakpoint.c: New file.
3128 * gdb.guile/scm-breakpoint.exp: New file.
3129 * gdb.guile/scm-disasm.c: New file.
3130 * gdb.guile/scm-disasm.exp: New file.
3131 * gdb.guile/scm-equal.c: New file.
3132 * gdb.guile/scm-equal.exp: New file.
3133 * gdb.guile/scm-error.exp: New file.
3134 * gdb.guile/scm-error.scm: New file.
3135 * gdb.guile/scm-frame-args.c: New file.
3136 * gdb.guile/scm-frame-args.exp: New file.
3137 * gdb.guile/scm-frame-args.scm: New file.
3138 * gdb.guile/scm-frame-inline.c: New file.
3139 * gdb.guile/scm-frame-inline.exp: New file.
3140 * gdb.guile/scm-frame.c: New file.
3141 * gdb.guile/scm-frame.exp: New file.
3142 * gdb.guile/scm-generics.exp: New file.
3143 * gdb.guile/scm-gsmob.exp: New file.
3144 * gdb.guile/scm-iterator.c: New file.
3145 * gdb.guile/scm-iterator.exp: New file.
3146 * gdb.guile/scm-math.c: New file.
3147 * gdb.guile/scm-math.exp: New file.
3148 * gdb.guile/scm-objfile-script-gdb.in: New file.
3149 * gdb.guile/scm-objfile-script.c: New file.
3150 * gdb.guile/scm-objfile-script.exp: New file.
3151 * gdb.guile/scm-objfile.c: New file.
3152 * gdb.guile/scm-objfile.exp: New file.
3153 * gdb.guile/scm-ports.exp: New file.
3154 * gdb.guile/scm-pretty-print.c: New file.
3155 * gdb.guile/scm-pretty-print.exp: New file.
3156 * gdb.guile/scm-pretty-print.scm: New file.
3157 * gdb.guile/scm-section-script.c: New file.
3158 * gdb.guile/scm-section-script.exp: New file.
3159 * gdb.guile/scm-section-script.scm: New file.
3160 * gdb.guile/scm-symbol.c: New file.
3161 * gdb.guile/scm-symbol.exp: New file.
3162 * gdb.guile/scm-symtab-2.c: New file.
3163 * gdb.guile/scm-symtab.c: New file.
3164 * gdb.guile/scm-symtab.exp: New file.
3165 * gdb.guile/scm-type.c: New file.
3166 * gdb.guile/scm-type.exp: New file.
3167 * gdb.guile/scm-value-cc.cc: New file.
3168 * gdb.guile/scm-value-cc.exp: New file.
3169 * gdb.guile/scm-value.c: New file.
3170 * gdb.guile/scm-value.exp: New file.
3171 * gdb.guile/source2.scm: New file.
3172 * gdb.guile/types-module.cc: New file.
3173 * gdb.guile/types-module.exp: New file.
3174
7026a7c1
YQ
31752014-02-10 Yao Qi <yao@codesourcery.com>
3176
3177 PR testsuite/16543
3178 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
3179 * configure: Regenerated.
3180 * Makefile.in: New file.
3181
6c466447
AS
31822014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3183
3184 * gdb.python/py-framefilter.exp: Fix typo.
3185
6e854735
YQ
31862014-02-08 Yao Qi <yao@codesourcery.com>
3187
3188 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
3189 that no =breakpoint-modified is emitted when breakpoints are
3190 modified through MI commands.
3191
d137e6dc
PA
31922014-02-07 Pedro Alves <pedro@codesourcery.com>
3193 Pedro Alves <palves@redhat.com>
3194
3195 * gdb.threads/step-after-sr-lock.c: New file.
3196 * gdb.threads/step-after-sr-lock.exp: New file.
3197
b5ee5a50
PA
31982014-02-07 Pedro Alves <palves@redhat.com>
3199
3200 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
3201
3c77faf3
JK
32022014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3203
3204 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
3205 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
3206
6dddc817
DE
32072014-02-06 Doug Evans <xdje42@gmail.com>
3208
3209 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
3210 output.
3211
3212 * gdb.gdb/python-interrupts.exp: New file.
3213
de7b2893
YQ
32142014-02-05 Yao Qi <yao@codesourcery.com>
3215
3216 * gdb.trace/report.exp (use_collected_data): Test the output
3217 of "info threads" and "info inferiors".
3218
66d032ac
YQ
32192014-02-05 Yao Qi <yao@codesourcery.com>
3220
3221 Revert this patch:
3222
3223 2013-05-24 Yao Qi <yao@codesourcery.com>
3224
3225 * gdb.trace/tfile.exp: Test inferior and thread.
3226
591a12a1
UW
32272014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3228
3229 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
3230 on a function.
3231 * gdb.base/step-bt.c: Call hello via function pointer to make
3232 sure its first instruction is executed on powerpc64le-linux.
3233
0ff3e01f
UW
32342014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3235
3236 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
3237
084ee545
UW
32382014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3239
3240 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
3241 of the test patterns for use on little-endian systems.
3242
6ed14ff3
UW
32432014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3244
3245 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
3246 (decimal_vector): Fix for little-endian.
3247
401e27fd
JM
32482014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3249
3250 * gdb.arch/sparc-sysstep.exp: New file.
3251 * gdb.arch/sparc-sysstep.c: Likewise.
3252
3253 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
3254
8b924729
EBM
32552014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3256
3257 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
3258
fb151210
JB
32592014-01-23 Tom Tromey <tromey@redhat.com>
3260
3261 * gdb.ada/array_char_idx: New testcase.
3262
0740f8d8
TT
32632014-01-23 Tom Tromey <tromey@redhat.com>
3264
3265 PR python/16487:
3266 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
3267 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
3268 classes.
3269
21909fa1
TT
32702014-01-23 Tom Tromey <tromey@redhat.com>
3271
3272 PR python/16491:
3273 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
3274 string from an inferior frame.
3275 * gdb.python/py-framefilter-mi.exp: Update.
3276
87ce2a04
DE
32772014-01-22 Doug Evans <dje@google.com>
3278
3279 * gdb.server/server-mon.exp: Add tests for "set debug-format".
3280
237b092b
AA
32812014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3282
3283 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
3284
d674a709
AA
32852014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3286
3287 * gdb.trace/entry-values.exp: Remove excess space character from
3288 regex patterns. Handle s390 call instruction.
3289
20fa3390
AA
32902014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3291
3292 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
3293 define "*_start" label. Make "name" static.
3294 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
3295 ${name} by references to ${name}_start.
3296
78466714
AA
32972014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3298
3299 * gdb.base/info-macros.exp: Remove "debug" from the compile
3300 options.
3301
ec9f644a
IB
33022014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3303
3304 * gdb.dlang/demangle.exp: New file.
3305
94b1b47e
IB
33062014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3307
3308 * gdb.dlang/primitive-types.exp: New file.
3309
7f420862
IB
33102014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3311
3312 * configure.ac: Create gdb.dlang/Makefile.
3313 * configure: Regenerate.
3314 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
3315 * gdb.dlang/Makefile.in: New file.
3316 * lib/d-support.exp: New file.
3317 * lib/gdb.exp (skip_d_tests): New proc.
3318
52834460
MM
33192014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3320
3321 * gdb.btrace/delta.exp: Check reverse stepi.
3322 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
3323 * gdb.btrace/finish.exp: New.
3324 * gdb.btrace/next.exp: New.
3325 * gdb.btrace/nexti.exp: New.
3326 * gdb.btrace/record_goto.c: Add comments.
3327 * gdb.btrace/step.exp: New.
3328 * gdb.btrace/stepi.exp: New.
3329 * gdb.btrace/multi-thread-step.c: New.
3330 * gdb.btrace/multi-thread-step.exp: New.
3331 * gdb.btrace/rn-dl-bind.c: New.
3332 * gdb.btrace/rn-dl-bind.exp: New.
3333 * gdb.btrace/data.c: New.
3334 * gdb.btrace/data.exp: New.
3335 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3336
6e07b1d2
MM
33372014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3338
3339 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
3340 * gdb.btrace/exception.exp: Update.
3341 * gdb.btrace/instruction_history.exp: Update.
3342 * gdb.btrace/record_goto.exp: Update.
3343 * gdb.btrace/tailcall.exp: Update.
3344 * gdb.btrace/unknown_functions.exp: Update.
3345 * gdb.btrace/delta.exp: New.
3346
0b722aec
MM
33472014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3348
3349 * gdb.btrace/record_goto.exp: Add backtrace test.
3350 * gdb.btrace/tailcall.exp: Add backtrace test.
3351
066ce621
MM
33522014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3353
3354 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
3355 * gdb.btrace/record_goto.c: New.
3356 * gdb.btrace/record_goto.exp: New.
3357 * gdb.btrace/x86-record_goto.S: New.
3358
0688d04e
MM
33592014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3360
3361 * gdb.btrace/function_call_history.exp: Update tests.
3362 * gdb.btrace/instruction_history.exp: Update tests.
3363
8710b709
MM
33642014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3365
3366 * gdb.btrace/function_call_history.exp: Fix expected field
3367 order for "record function-call-history".
3368 Add new tests for "record function-call-history /c".
3369 * gdb.btrace/exception.cc: New.
3370 * gdb.btrace/exception.exp: New.
3371 * gdb.btrace/tailcall.exp: New.
3372 * gdb.btrace/x86-tailcall.S: New.
3373 * gdb.btrace/x86-tailcall.c: New.
3374 * gdb.btrace/unknown_functions.c: New.
3375 * gdb.btrace/unknown_functions.exp: New.
3376 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3377
5de9129b
MM
33782014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3379
3380 * gdb.btrace/instruction_history.exp: Update.
3381 * gdb.btrace/function_call_history.exp: Update.
3382
23a7fe75
MM
33832014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3384
3385 * gdb.btrace/function_call_history.exp: Fix expected function
3386 trace.
3387 * gdb.btrace/instruction_history.exp: Initialize traced.
3388 Remove traced_functions.
3389
724c7dd8
MM
33902014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3391
3392 * gdb.btrace/function_call_history.exp: Update
3393 * gdb.btrace/instruction_history.exp: Update.
3394
6d78d93b
MM
33952014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3396
3397 * gdb.btrace/enable.exp: Update expected text.
3398
93a360cc
OJ
33992014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
3400
3401 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
3402 bytes.
3403
3772b53f
MR
34042014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
3405
3406 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
3407
596662fa
OJ
34082014-01-15 Omair Javaid <omair.javaid@linaro.org>
3409
3410 * lib/gdb.exp (supports_process_record): Return true for
3411 arm*-linux*. (supports_reverse): Likewise.
3412
b5b08fb4
SC
34132014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3414
3415 PR python/15464
3416 PR python/16113
3417 * gdb.python/py-type.c: Enhance test case.
3418 * gdb.python/py-value-cc.cc: Likewise
3419 * gdb.python/py-type.exp: Add new tests.
3420 * gdb.python/py-value-cc.exp: Likewise
3421
52d7fb13
AA
34222014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3423 Pedro Alves <palves@redhat.com>
3424
3425 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
3426 Make "name" extern.
3427 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
3428 references to ${name}_start by references to ${name}.
3429
a2cd8cfe
JB
34302014-01-10 Joel Brobecker <brobecker@adacore.com>
3431
3432 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
3433
4e23fced
JB
34342014-01-10 Joel Brobecker <brobecker@adacore.com>
3435
3436 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
3437
c6a9e42c
PA
34382014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
3439 Pedro Alves <palves@redhat.com>
3440
3441 * gdb.mi/mi-info-os.exp: Connect to the target with
3442 mi_gdb_target_load.
3443
b7ea362b
PA
34442014-01-08 Pedro Alves <palves@redhat.com>
3445
3446 * gdb.threads/reconnect-signal.c: New file.
3447 * gdb.threads/reconnect-signal.exp: New file.
3448
5e3f4fab
EBM
34492014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3450
3451 * gdb.base/source-dir.exp: New file.
3452
79301218
JB
34532014-01-07 Joel Brobecker <brobecker@adacore.com>
3454
3455 * gdb.ada/mi_interface: New testcase.
3456
8e355c5d
JB
34572014-01-07 Joel Brobecker <brobecker@adacore.com>
3458
3459 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
3460 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
3461 gdb.ada/pp-rec-component/pck.ads: New files.
3462
c0d48811
JB
34632014-01-07 Joel Brobecker <brobecker@adacore.com>
3464
3465 * gdb.python/py-pp-integral.c: New file.
3466 * gdb.python/py-pp-integral.py: New file.
3467 * gdb.python/py-pp-integral.exp: New file.
3468
17b609c3 3469For older changes see ChangeLog-1993-2013.
c906108c 3470\f
8d8cb839
EZ
3471;; Local Variables:
3472;; mode: change-log
3473;; left-margin: 8
3474;; fill-column: 74
3475;; version-control: never
3476;; End:
902f2ccb 3477
14f8b115 3478 Copyright 2014 Free Software Foundation, Inc.
902f2ccb
MC
3479 Copying and distribution of this file, with or without modification,
3480 are permitted provided the copyright notice and this notice are preserved.