Revert: linespec.c (iterate_name_matcher): Fix arguments to symbol_name_cmp.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
ddb9f679
YQ
12014-12-05 Yao Qi <yao@codesourcery.com>
2
3 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4
86e4ed39
DE
52014-12-04 Doug Evans <dje@google.com>
6
7 * gdb.python/py-objfile.exp: Add tests for
8 objfile.add_separate_debug_file.
9
7c50a931
DE
102014-12-04 Doug Evans <dje@google.com>
11
12 * lib/gdb.exp (get_build_id): New function.
13 (build_id_debug_filename_get): Rewrite to use it.
14 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
15
621661e3
MR
162014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
17
18 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
19 `method(long)', not just 0x0.
20 * gdb.cp/nsalias.exp: Align code labels to 4.
21 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
22 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
23 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
24 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
25 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
26 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
27
29f0c3b7
DE
282014-12-02 Doug Evans <dje@google.com>
29
30 PR symtab/17602
31 * gdb.cp/anon-ns.cc: Move guts of this file to ...
32 * gdb.cp/anon-ns-2.cc: ... here. New file.
33 * gdb.cp/anon-ns.exp: Update.
34
162078c8
NB
352014-12-02 Nick Bull <nicholaspbull@gmail.com>
36
37 * gdb.python/py-events.py (inferior_call_handler): New.
38 (register_changed_handler, memory_changed_handler): New.
39 (test_events.invoke): Register new handlers.
40 * gdb.python/py-events.exp: Add tests for inferior call,
41 memory_changed and register_changed events.
42
fdb09caf
AA
432014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
44
45 * gdb.base/execl-update-breakpoints.exp: Specify the link address
46 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
47 if the linker doesn't understand this.
48
55cfb2c4
SM
492014-12-01 Simon Marchi <simon.marchi@ericsson.com>
50
51 * gdb.python/python.exp: Change expected reply to help().
52
9e8cd6df
YQ
532014-12-01 Yao Qi <yao@codesourcery.com>
54
55 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
56 AC_CONFIG_SUBDIRS(gdb.gdbtk).
57 * configure: Re-generated.
58
6c659fc2
SC
592014-11-28 Siva Chandra Reddy <sivachandra@google.com>
60
61 * gdb.cp/chained-calls.cc: New file.
62 * gdb.cp/chained-calls.exp: New file.
63 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
64
d7fc3181
SM
652014-11-28 Simon Marchi <simon.marchi@ericsson.com>
66
67 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
68 * gdb.dwarf2/symtab-producer.exp: Same.
69 * gdb.gdb/python-interrupts.exp: Same.
70 * gdb.gdb/python-selftest.exp: Same.
71 * gdb.python/py-linetable.exp: Same.
72 * gdb.python/py-type.exp: Same.
73 * gdb.python/py-value-cc.exp: Same.
74 * gdb.python/py-value.exp: Same.
75
10e79639
YQ
762014-11-28 Yao Qi <yao@codesourcery.com>
77
78 * gdb.base/break-probes.exp: Match library name prefixed with
79 sysroot.
80
f28a0564
SM
812014-11-27 Simon Marchi <simon.marchi@ericsson.com>
82
83 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
84 test expected output. Add parentheses for the call to print.
85 Remove L suffix from integers.
86
3fe1ce1d
DE
872014-11-26 Doug Evans <dje@google.com>
88
89 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
90
84429e27
YQ
912014-11-22 Yao Qi <yao@codesourcery.com>
92
93 * gdb.trace/entry-values.c: Remove asms.
94 (foo): Add foo_label.
95 (bar): Add bar_label.
96 * gdb.trace/entry-values.exp: Remove code computing foo's
97 length and bar's length.
98 (Dwarf::assemble): Invoke function_range for bar and use
99 MACRO_AT_func for foo.
100
26741859
YQ
1012014-11-22 Yao Qi <yao@codesourcery.com>
102
103 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
104 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
105 Use .Lgcc43_procstart instead of gcc43.
106
45e44d27
JB
1072014-11-21 Joel Brobecker <brobecker@adacore.com>
108
109 * gdb.ada/n_arr_bound: New testcase.
110
458c8db8
SDJ
1112014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
112
113 PR breakpoints/10737
114 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
115 test_catch_syscall_multi_arch.
116 (test_catch_syscall_multi_arch): New function.
117
43f3e411
DE
1182014-11-20 Doug Evans <xdje42@gmail.com>
119
120 * gdb.base/maint.exp: Update expected output.
121
0d7b2549
AA
1222014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
123
124 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
125 4-byte instruction on S390.
126
8908fca5
JB
1272014-11-19 Joel Brobecker <brobecker@adacore.com>
128
129 * gdb.ada/arr_arr: New testcase.
130
4a46959e
JB
1312014-11-19 Joel Brobecker <brobecker@adacore.com>
132
133 * gdb.ada/pkd_arr_elem: New Testcase.
134
470e2f4e
LM
1352014-11-18 Luis Machado <lgustavo@codesourcery.com>
136
137 * gdb.reverse/break-precsave: Expect completion message for
138 core file reads.
139 * gdb.reverse/consecutive-precsave.exp: Likewise.
140 * gdb.reverse/finish-precsave.exp: Likewise.
141 * gdb.reverse/i386-precsave.exp: Likewise.
142 * gdb.reverse/machinestate-precsave.exp: Likewise.
143 * gdb.reverse/sigall-precsave.exp: Likewise.
144 * gdb.reverse/solib-precsave.exp: Likewise.
145 * gdb.reverse/step-precsave.exp: Likewise.
146 * gdb.reverse/until-precsave.exp: Likewise.
147 * gdb.reverse/watch-precsave.exp: Likewise.
148
a267f3ad
AA
1492014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
150
151 * gdb.base/bp-permanent.c: Include unistd.h.
152 * gdb.python/py-framefilter-mi.c (main): Add return type.
153 * gdb.python/py-framefilter.c (main): Likewise.
154 * gdb.trace/actions-changed.c (main): Likewise.
155
12084a9a
AA
1562014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
157
158 * gdb.mi/until.c: Add eye-catchers.
159 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
160 line numbers.
161
dc7e1a77
AA
1622014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
163
164 * gdb.base/condbreak.exp: Drop references to removed non-prototype
165 function header variants in break1.c.
166 * gdb.base/ena-dis-br.exp: Likewise.
167 * gdb.base/hbreak2.exp: Likewise.
168 * gdb.reverse/until-precsave.exp: Drop references to removed
169 non-prototype function header variants in ur1.c.
170 * gdb.reverse/until-reverse.exp: Likewise.
171
41c77605
PM
1722014-11-17 Petr Machata <pmachata@redhat.com>
173
174 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
175 ${_cu_offset_size} bytes abbrev offset.
176
34248c3a
DE
1772014-11-15 Doug Evans <xdje42@gmail.com>
178
179 PR symtab/17559
180 * gdb.base/line-symtabs.exp: New file.
181 * gdb.base/line-symtabs.c: New file.
182 * gdb.base/line-symtabs.h: New file.
183
646da059
YQ
1842014-11-14 Yao Qi <yao@codesourcery.com>
185
186 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
187 (func): Add label func_label.
188 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
189 Replace low_pc and high_pc with MACRO_AT_range.
190 Replace name, low_pc and high_pc with MACRO_AT_func.
191
9301ebe6
YQ
1922014-11-14 Yao Qi <yao@codesourcery.com>
193
194 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
195 Replace name, low_pc and high_pc with MACRO_AT_func.
196
f166b542
YQ
1972014-11-14 Yao Qi <yao@codesourcery.com>
198
199 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
200 produce debug information.
201 * gdb.dwarf2/implptr-optimized-out.S: Removed.
202
0f6e71e3
YQ
2032014-11-14 Yao Qi <yao@codesourcery.com>
204
205 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
206 object and get function length.
207 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
208 with MACRO_AT_func.
209 (top-level): Replace gdb_compile and clean_restart with
210 prepare_for_testing.
211 * gdb.dwarf2/main.c (main): Add label main_label.
212
876c4df9
YQ
2132014-11-14 Yao Qi <yao@codesourcery.com>
214
215 * lib/dwarf.exp (function_range): New procedure.
216 (Dwarf::_handle_macro_at_func): New procedure.
217 (Dwarf::_handle_macro_at_range): New procedure.
218 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
219
02ad9cf1
YQ
2202014-11-14 Yao Qi <yao@codesourcery.com>
221
222 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
223 (_handle_attribute): New procedure.
224
a59add0c
AA
2252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
226
227 * gdb.ada/cond_lang/foo.c (callme): Add return type.
228 * gdb.base/call-sc.c (zed): Likewise.
229 * gdb.base/checkpoint.c (main): Likewise.
230 * gdb.base/dump.c (main): Likewise.
231 * gdb.base/gcore.c (main): Likewise.
232 * gdb.base/huge.c (main): Likewise.
233 * gdb.base/multi-forks.c (main): Likewise.
234 * gdb.base/pr10179-a.c (main): Likewise.
235 * gdb.base/savedregs.c (main): Likewise.
236 * gdb.base/sigaltstack.c (main): Likewise.
237 * gdb.base/siginfo.c (main): Likewise.
238 * gdb.base/structs.c (zed): Likewise.
239 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
240 * gdb.mi/mi-syn-frame.c (main): Likewise.
241 * gdb.mi/until.c (foo, main): Likewise.
242 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
243 * gdb.base/solib-weak.c (foo): Declare.
244 * gdb.base/attach-twice.c: Include stdio.h.
245 * gdb.base/weaklib1.c: Likewise.
246 * gdb.base/weaklib2.c: Likewise.
247 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
248 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
249 unistd.h.
250 * gdb.base/attach-pie-misread.c: Include stdlib.h.
251 * gdb.mi/mi-exit-code.c: Likewise.
252 * gdb.base/break-interp-lib.c: Include string.h.
253 * gdb.base/coremaker.c: Likewise.
254 * gdb.base/testenv.c: Likewise.
255 * gdb.python/py-finish-breakpoint.c: Likewise.
256 * gdb.base/inferior-died.c: Include sys/wait.h.
257 * gdb.base/fileio.c: Include time.h.
258 * gdb.base/async-shell.c: Include unistd.h.
259 * gdb.base/dprintf-non-stop.c: Likewise.
260 * gdb.base/info-os.c: Likewise.
261 * gdb.mi/mi-console.c: Likewise.
262 * gdb.mi/watch-nonstop.c: Likewise.
263 * gdb.python/py-events.c: Likewise.
264 * gdb.base/async.c (baz): Move up before its invocation.
265 * gdb.base/code_elim2.c (my_global_func): Likewise.
266 * gdb.base/skip-solib-lib.c (multiply): Likewise.
267 * gdb.base/advance.c (func2): Likewise.
268
3b5d5997
AA
2692014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
270
271 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
272 variant.
273 * gdb.base/annota3.c: Likewise.
274 * gdb.base/async.c: Likewise.
275 * gdb.base/average.c: Likewise.
276 * gdb.base/call-ar-st.c: Likewise.
277 * gdb.base/call-rt-st.c: Likewise.
278 * gdb.base/call-sc.c: Likewise.
279 * gdb.base/call-strs.c: Likewise.
280 * gdb.base/ending-run.c: Likewise.
281 * gdb.base/execd-prog.c: Likewise.
282 * gdb.base/exprs.c: Likewise.
283 * gdb.base/foll-exec.c: Likewise.
284 * gdb.base/foll-fork.c: Likewise.
285 * gdb.base/foll-vfork.c: Likewise.
286 * gdb.base/funcargs.c: Likewise.
287 * gdb.base/gcore.c: Likewise.
288 * gdb.base/jump.c: Likewise.
289 * gdb.base/langs0.c: Likewise.
290 * gdb.base/langs1.c: Likewise.
291 * gdb.base/langs2.c: Likewise.
292 * gdb.base/mips_pro.c: Likewise.
293 * gdb.base/nodebug.c: Likewise.
294 * gdb.base/opaque0.c: Likewise.
295 * gdb.base/opaque1.c: Likewise.
296 * gdb.base/recurse.c: Likewise.
297 * gdb.base/run.c: Likewise.
298 * gdb.base/scope0.c: Likewise.
299 * gdb.base/scope1.c: Likewise.
300 * gdb.base/setshow.c: Likewise.
301 * gdb.base/setvar.c: Likewise.
302 * gdb.base/shmain.c: Likewise.
303 * gdb.base/shr1.c: Likewise.
304 * gdb.base/shr2.c: Likewise.
305 * gdb.base/sigall.c: Likewise.
306 * gdb.base/signals.c: Likewise.
307 * gdb.base/so-indr-cl.c: Likewise.
308 * gdb.base/solib2.c: Likewise.
309 * gdb.base/structs.c: Likewise.
310 * gdb.base/sum.c: Likewise.
311 * gdb.base/vforked-prog.c: Likewise.
312 * gdb.base/watchpoint.c: Likewise.
313 * gdb.reverse/shr2.c: Likewise.
314 * gdb.reverse/until-reverse.c: Likewise.
315 * gdb.reverse/ur1.c: Likewise.
316 * gdb.reverse/watch-reverse.c: Likewise.
317
066a77c5
AA
3182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
319
320 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
321 variant.
322 * gdb.base/sepdebug.exp: Drop references to removed code.
323
4f204ea5
AA
3242014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
325
326 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
327 variant. Preserve original line numbering.
328 * gdb.base/list1.c: Likewise.
329
3b377a3a
AA
3302014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
331
332 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
333 variant.
334 * gdb.base/break1.c: Likewise.
335 * gdb.base/break.exp: Drop references to removed code.
336
e444df73
AA
3372014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
338
339 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
340 variant.
341
8008f2a7
AA
3422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
343
344 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
345
a5a06887
AA
3462014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
347
348 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
349 logic into perform_all_tests() and invoke it with and without
350 function header prototypes.
351 (do_function_calls): Remove conditional XFAIL for PR 5318.
352 (rerun_and_prepare): Remove duplicate code.
353 (perform_all_tests): New. Main logic moved here.
354
44dba9b9
AA
3552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
356
357 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
358 code guarded by #ifdef NO_PROTOTYPES.
359 (t_double_many_args): Likewise.
360 (DEF_FUNC_MANY_ARGS_1): Likewise.
361 (DEF_FUNC_VALUES_1): Likewise.
362 (t_structs_ldc): Renamed from t_structs_fc in conditional code
363 guarded by #ifdef PROTOTYPES.
364
d1fbcd56
AA
3652014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
366
367 * gdb.mi/mi-console.c: Add eye-catcher.
368 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
369 instead of literal line number.
370
b0e59b8f
AA
3712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
372
373 * gdb.base/shr2.c: Add eye-catcher.
374 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
375 line number.
376
78f98cca
AA
3772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
378
379 * gdb.base/jump.c: Add eye-catchers.
380 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
381 numbers.
382
58fa2af0
AA
3832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
384
385 * gdb.base/execd-prog.c: Add eye-catchers.
386 * gdb.base/foll-exec.c: Likewise.
387 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
388 line numbers.
389
04e5059b
AA
3902014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
391
392 * gdb.base/ending-run.c: Add eye-catchers.
393 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
394 literal line numbers.
395
dbfdb174
AA
3962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
397
398 * gdb.base/call-rt-st.c: Add eye-catchers.
399 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
400 literal line numbers.
401
888a2ade
AA
4022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
403
404 * gdb.base/call-ar-st.c: Add eye-catchers.
405 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
406 literal line numbers.
407
6acc2dde
AA
4082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
409
410 * gdb.base/average.c: Add eye-catchers.
411 * gdb.base/sum.c: Likewise.
412 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
413 regexps dynamically.
414
9ecfcd1d
AA
4152014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
416
417 * gdb.base/solib1.c: Add eye-catchers.
418 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
419 literal line numbers.
420
78708b7c
PA
4212014-11-12 Pedro Alves <palves@redhat.com>
422
423 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
424 leader has exited.
425
af48d08f
PA
4262014-11-12 Pedro Alves <palves@redhat.com>
427
428 * gdb.arch/i386-bp_permanent.c: New file.
429 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
430 (srcfile): Set to i386-bp_permanent.c.
431 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
432 that stepi does not execute the 'leave' instruction, instead of
433 testing it does execute.
434 * gdb.base/bp-permanent.c: New file.
435 * gdb.base/bp-permanent.exp: New file.
436
af3768e9
DE
4372014-11-10 Doug Evans <xdje42@gmail.com>
438
439 PR symtab/17564
440 * gdb.base/symtab-search-order.exp: New file.
441 * gdb.base/symtab-search-order.c: New file.
442 * gdb.base/symtab-search-order-1.c: New file.
443 * gdb.base/symtab-search-order-shlib-1.c: New file.
444
9de00a4a
PA
4452014-11-07 Pedro Alves <palves@redhat.com>
446
447 PR gdb/17511
448 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
449 i?86-*-linux*.
450
e0f52461
SC
4512014-11-03 Siva Chandra Reddy <sivachandra@google.com>
452
453 PR c++/17494
454 * gdb.cp/pr17494.cc: New file.
455 * gdb.cp/pr17494.exp: New file.
456
6ce8c980
YQ
4572014-11-02 Yao Qi <yao@codesourcery.com>
458
459 * gdb.python/python.exp: Get working directory and match the
460 output of "set extended-prompt \\w " with it.
461
02be9a71
DE
4622014-10-30 Doug Evans <dje@google.com>
463
464 * gdb.python/py-objfile.exp: Add tests for setting random attributes
465 in objfiles.
466 * gdb.python/py-progspace.exp: Add tests for setting random attributes
467 in progspaces.
468
3bdff46b
LM
4692014-10-30 Janis Johnson <janisjo@codesourcery.com>
470
471 * gdb.base/fullpath-expand.exp: Skip for a remote host.
472 * gdb.base/realname-expand.exp: Likewise.
473 * gdb.linespec/macro-relative.exp: Likewise.
474
ab917dfb
PA
4752014-10-29 Pedro Alves <palves@redhat.com>
476
477 PR gdb/17408
478 * gdb.threads/schedlock.c (some_function): New function.
479 (call_function): New global.
480 (MAYBE_CALL_SOME_FUNCTION): New macro.
481 (thread_function): Call it.
482 * gdb.threads/schedlock.exp (get_args): Add description parameter,
483 and use it instead of a global counter. Adjust all callers.
484 (get_current_thread): Use "find current thread" for test message
485 here rather than having all callers pass down the same string.
486 (goto_loop): New procedure, factored out from ...
487 (my_continue): ... this.
488 (step_ten_loops): Change parameter from test message to command to
489 use. Adjust.
490 (list_count): Delete global.
491 (check_result): New procedure, factored out from duplicate top
492 level code.
493 (continue tests): Wrap in with_test_prefix.
494 (test_step): New procedure, factored out from duplicate top level
495 code.
496 (top level): Test "step" in combination with all scheduler-locking
497 modes. Test "next" in combination with all scheduler-locking
498 modes, and in combination with stepping over a function call or
499 not.
500 * gdb.threads/next-bp-other-thread.c: New file.
501 * gdb.threads/next-bp-other-thread.exp: New file.
502
d3d4baed
PA
5032014-10-29 Pedro Alves <palves@redhat.com>
504
505 PR python/17372
506 * gdb.python/python.exp: Test a multi-line command that spawns
507 interactive Python.
508 * gdb.base/multi-line-starts-subshell.exp: New file.
509
563e8d85
YQ
5102014-10-29 Yao Qi <yao@codesourcery.com>
511
512 * gdb.base/fileio.exp: Make directories on host.
513
0ea4d52e
YQ
5142014-10-29 Yao Qi <yao@codesourcery.com>
515
516 * gdb.base/fileio.c (test_write): Close the file.
517
7f5ef605
PA
5182014-10-28 Pedro Alves <palves@redhat.com>
519
520 PR gdb/12623
521 * gdb.base/sigstep.c (no_handler): New global.
522 (main): If 'no_handler is true, set the signal handlers to
523 SIG_IGN.
524 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
525 with_sw_watch and no_handler parameters. Handle them.
526 (top level) <stepping over handler when stopped at a breakpoint
527 test>: Add a test axis for testing with a software watchpoint, and
528 another for testing with the signal handler set to SIG_IGN.
529 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
530 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
531
abbdbd03
PA
5322014-10-28 Pedro Alves <palves@redhat.com>
533
534 PR gdb/17511
535 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
536 * gdb.base/sigstep.exp (other_handler_location): New global.
537 (advance): Support stepping into the signal handler, and running
538 commands while in the handler.
539 (in_handler_map): New global.
540 (top level): In the advance test, add combinations for getting
541 into the handler with stepping commands, and for running commands
542 in the handler. Add comment descripting the advancei tests.
543
1df4399f
PA
5442014-10-28 Pedro Alves <palves@redhat.com>
545
546 * gdb.base/sigstep.exp: Use build_executable instead of
547 prepare_for_testing.
548 (top level): Move code that starts GDB, runs to main and creates a
549 display to ...
550 (restart): ... this new procedure.
551 (top level): Move backtrace from signal handler test to ...
552 (validate_backtrace): ... this new procedure.
553 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
554 with_test_prefix. Always restart GDB.
555 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
556 with_test_prefix. Always restart GDB. No need to delete
557 breakpoints after the test.
558 (test_skip_handler): Remove prefix parameter.
559 (skip_over_handler, breakpoint_to_handler)
560 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
561 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
562 restart GDB. No need to delete breakpoints after the test.
563 (top level): Use foreach to call the test procedures with
564 different commands.
565
a5b6e449
PA
5662014-10-28 Pedro Alves <palves@redhat.com>
567
568 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
569 instead of GNATS numbers.
570 * gdb.base/sigbpt.exp: Likewise.
571 * gdb.base/siginfo.exp: Likewise.
572 * gdb.base/sigstep.exp: Likewise.
573
e5f8a7cc
PA
5742014-10-27 Pedro Alves <palves@redhat.com>
575
576 * gdb.base/sigstep.c (dummy): New global.
577 (main): Issue a couple writes to the new global.
578 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
579 procedures.
580 (skip_over_handler): Use test_skip_handler.
581 (top level): Call skip_over_handler for stepi and nexti too.
582 (breakpoint_over_handler): Use test_skip_handler.
583 (top level): Call breakpoint_over_handler for stepi and nexti too.
584
763905a3
YQ
5852014-10-27 Yao Qi <yao@codesourcery.com>
586
587 * gdb.trace/tfile.c (adjust_function_address)
588 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
589 function descriptor.
590
6f259a23
DB
5912014-10-24 Don Breazeal <donb@codesourcery.com>
592
593 * gdb.base/foll-fork.exp (test_follow_fork,
594 catch_fork_child_follow): Check for updated fork messages emitted
595 from infrun.c.
596 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
597 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
598 vfork_and_exec_child_follow_through_step): Check for updated vfork
599 messages emitted from infrun.c.
600
09dd9a69
PA
6012014-10-24 Pedro Alves <palves@redhat.com>
602
603 * gdb.base/corefile.exp: Remove references to ultrix.
604 * gdb.base/interrupt.exp: Likewise.
605 * gdb.base/whatis.exp: Likewise.
606 * gdb.gdb/selftest.exp: Likewise.
607 * gdb.threads/manythreads.exp: Likewise.
608 * gdb.threads/print-threads.exp: Likewise.
609 * gdb.threads/pthreads.exp:: Likewise.
610 * gdb.threads/schedlock.exp: Likewise.
611
3433cfa5
SC
6122014-10-24 Siva Chandra Reddy <sivachandra@google.com>
613
614 * gdb.cp/non-trivial-retval.cc: Add a test case.
615 * gdb.cp/non-trivial-retval.exp: Add a test.
616
092f880b
YQ
6172014-10-20 Yao Qi <yao@codesourcery.com>
618
619 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
620 * gdb.python/py-objfile-script-gdb.py: New file.
621 * gdb.python/py-objfile-script.exp: Update reference to
622 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
623 of remote_download. Remove the dest file.
624
acbdb7f3
YQ
6252014-10-20 Yao Qi <yao@codesourcery.com>
626
627 * gdb.base/checkpoint.exp: Don't remove file copied on host.
628 * gdb.base/step-line.exp: Likewise.
629 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
630 * gdb.dwarf2/dw2-basic.exp: Likewise.
631 * gdb.dwarf2/dw2-compressed.exp: Likewise.
632 * gdb.dwarf2/dw2-filename.exp: Likewise.
633 * gdb.dwarf2/dw2-intercu.exp: Likewise.
634 * gdb.dwarf2/dw2-intermix.exp: Likewise.
635 * gdb.dwarf2/dw2-producer.exp: Likewise.
636 * gdb.dwarf2/mac-fileno.exp: Likewise.
637 * gdb.python/py-frame-args.exp: Likewise.
638 * gdb.python/py-framefilter.exp: Likewise.
639 * gdb.python/py-mi.exp: Likewise.
640 * gdb.python/py-objfile-script.exp: Likewise
641 * gdb.python/py-pp-integral.exp: Likewise.
642 * gdb.python/py-pp-re-notag.exp: Likewise.
643 * gdb.python/py-prettyprint.exp: Likewise.
644 * gdb.python/py-section-script.exp: Likewise.
645 * gdb.python/py-typeprint.exp: Likewise.
646 * gdb.python/py-xmethods.exp: Likewise.
647 * gdb.stabs/weird.exp: Likewise.
648 * gdb.xml/tdesc-regs.exp: Likewise.
649
bd286a29
KCY
6502014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
651
652 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
653 (out_cu): Use addr_len for the size of addresses.
654 (out_line): Likewise. Size DW_LNE_set_address instruction
655 according to addr_len.
656 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
657 (FUNC): Add START_INSNS to definition.
658
673dc4a0
YQ
6592014-10-18 Yao Qi <yao@codesourcery.com>
660
661 * gdb.base/argv0-symlink.exp: Check argv[0] value if
662 gdb_has_argv0 return true.
663 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
664 check [target_info exists noargs], check [gdb_has_argv0]
665 instead.
666 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
667 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
668 procedures.
669
4ffbba72
DE
6702014-10-17 Doug Evans <dje@google.com>
671
672 * gdb.python/py-events.exp: Update expected output for clear_objfiles
673 event.
674 * gdb.python/py-events.py: Add clear_objfiles event.
675
d096d8c1
DE
6762014-10-17 Doug Evans <dje@google.com>
677
678 * gdb.python/py-objfile.exp: Test progspace attribute.
679
a80db015
LM
6802014-10-17 Luis Machado <lgustavo@codesourcery.com>
681
682 * gdb.guile/scm-breakpoint.exp: Do not assume any
683 directory separators when matching source file paths.
684 * gdb.python/py-breakpoint.exp: Likewise.
685 * gdb.reverse/break-precsave.exp: Likewise.
686 * gdb.reverse/break-reverse.exp: Likewise.
687 * gdb.reverse/consecutive-precsave.exp: Likewise.
688 * gdb.reverse/finish-precsave.exp: Likewise.
689 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
690 * gdb.reverse/finish-reverse.exp: Likewise.
691 * gdb.reverse/i386-precsave.exp: Likewise.
692 * gdb.reverse/i387-env-reverse.exp: Likewise.
693 * gdb.reverse/i387-stack-reverse.exp: Likewise.
694 * gdb.reverse/machinestate-precsave.exp: Likewise.
695 * gdb.reverse/machinestate.exp: Likewise.
696 * gdb.reverse/sigall-precsave.exp: Likewise.
697 * gdb.reverse/solib-precsave.exp: Likewise.
698 * gdb.reverse/step-precsave.exp: Likewise.
699 * gdb.reverse/until-precsave.exp: Likewise.
700 * gdb.reverse/watch-precsave.exp: Likewise.
701 * gdb.reverse/watch-reverse.exp: Likewise.
702
b22089ab
YQ
7032014-10-17 Yao Qi <yao@codesourcery.com>
704
705 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
706 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
707
6c4486e6
PA
7082014-10-17 Pedro Alves <palves@redhat.com>
709
710 PR gdb/17471
711 * gdb.base/bg-execution-repeat.c: New file.
712 * gdb.base/bg-execution-repeat.exp: New file.
713
0ff33695
PA
7142014-10-17 Pedro Alves <palves@redhat.com>
715
716 PR gdb/17300
717 * gdb.base/continue-all-already-running.c: New file.
718 * gdb.base/continue-all-already-running.exp: New file.
719
6fdebc3d
PA
7202014-10-17 Pedro Alves <palves@redhat.com>
721
722 PR gdb/17472
723 * gdb.base/annota-input-while-running.c: New file.
724 * gdb.base/annota-input-while-running.exp: New file.
725
32a8097b
PA
7262014-10-17 Pedro Alves <palves@redhat.com>
727
728 * gdb.base/callfuncs.exp: emove references to osf.
729 * gdb.base/sigall.exp: Likewise.
730 * gdb.gdb/selftest.exp: Likewise.
731 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
732 * gdb.mi/non-stop.c: Likewise.
733 * gdb.mi/pthreads.c: Likewise.
734 * gdb.reverse/sigall-precsave.exp: Likewise.
735 * gdb.reverse/sigall-reverse.exp: Likewise.
736 * gdb.threads/pthreads.c: Likewise.
737 * gdb.threads/pthreads.exp: Likewise.
738
7a3517ff
YQ
7392014-10-17 Yao Qi <yao@codesourcery.com>
740
741 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
742 check 'target_info exists noargs'.
743 (test_command_prompt_position): Likewise.
744 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
745 Remove "set args".
746 (progvar_simple_while_test): Likewise.
747 (progvar_complex_if_while_test): Likewise.
748 (if_while_breakpoint_command_test): Likewise.
749 (infrun_breakpoint_command_test): Likewise.
750 (breakpoint_command_test): Likewise.
751 (watchpoint_command_test): Likewise.
752 (bp_deleted_in_command_test): Likewise.
753 (temporary_breakpoint_commands): Likewise.
754
bb99c472
YQ
7552014-10-16 Yao Qi <yao@codesourcery.com>
756
757 * gdb.base/remotetimeout.exp: Remove noargs checking.
758
7c16b83e
PA
7592014-10-15 Pedro Alves <palves@redhat.com>
760
761 PR breakpoints/9649
762 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
763 * gdb.base/breakpoint-in-ro-region.exp
764 (probe_target_hardware_step): New procedure.
765 (top level): Probe hardware stepping and hardware breakpoint
766 support. Test stepping through a read-only region, with both
767 "breakpoint auto-hw" on and off and both "always-inserted" on and
768 off.
769
35a49624
IB
7702014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
771
772 * gdb.dlang/demangle.exp: Update for demangling changes.
773
2d1c107c
SC
7742014-10-15 Siva Chandra Reddy <sivachandra@google.com>
775
776 * gdb.cp/non-trivial-retval.cc: Add new test cases.
777 * gdb.cp/non-trivial-retval.exp: Add new tests.
778
778811d5
SC
7792014-10-15 Siva Chandra Reddy <sivachandra@google.com>
780
781 PR c++/13403
782 PR c++/15154
783 * gdb.cp/non-trivial-retval.cc: New file.
784 * gdb.cp/non-trivial-retval.exp: New file.
785
10c5f0a8
YQ
7862014-10-15 Yao Qi <yao@codesourcery.com>
787
788 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
789 remote host.
790
65d7b369
YQ
7912014-10-15 Yao Qi <yao@codesourcery.com>
792
793 * gdb.python/py-symbol.exp: Match file base name if host is
794 remote, otherwise match file name with dir name.
795 * gdb.python/py-symtab.exp: Likewise.
796 * gdb.python/python.exp: Likewise.
797
46dc1394
YQ
7982014-10-15 Yao Qi <yao@codesourcery.com>
799
800 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
801 pattern.
802 * gdb.python/py-symtab.exp: Likewise.
803 * gdb.python/python.exp: Remove trailing ".*". Fix typo
804 locationn.
805
c40cc657
JB
8062014-10-14 Joel Brobecker <brobecker@adacore.com>
807
808 * gdb.ada/addr_arith: New testcase.
809
2abf49e1
MR
8102014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
811
812 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
813 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
814 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
815 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
816
f7088df3
SDJ
8172014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
818
819 * gdb.arch/stap-eval-lang-ada.S: Likewise.
820 * gdb.arch/stap-eval-lang-ada.c: Likewise.
821 * gdb.arch/stap-eval-lang-ada.exp: New file.
822
4dc06805
YQ
8232014-10-14 Yao Qi <yao@codesourcery.com>
824
825 * gdb.mi/mi-var-child.c (nothing1): New function.
826 (nothing2): New function.
827 (do_children_tests): Set function pointers by nothing1 and
828 nothing2.
829 * gdb.mi/mi-var-child.exp: Step over new added statements.
830 Update test to match the new output.
831 * gdb.mi/var-cmd.c (nothing1): New function.
832 (nothing2): New function.
833 (do_children_tests): Set function pointers by nothing1 and
834 nothing2.
835 * gdb.mi/mi-var-display.exp: Update test to match output.
836 Step to the line specified by $line_dct_nothing.
837 Increase the number of lines to step.
838
46a93de2
YQ
8392014-10-14 Yao Qi <yao@codesourcery.com>
840
841 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
842 tests.
843 * gdb.mi/mi2-var-child.exp: Likewise.
844
14ea52ee
DE
8452014-10-13 Doug Evans <dje@google.com>
846
847 * gdb.python/py-objfile.exp: Change name of file name test.
848
e5c6e92b
DE
8492014-10-13 Doug Evans <dje@google.com>
850
851 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
852 from the start of the CU.
853
c780cc2f
JK
8542014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
855 Yao Qi <yao@codesourcery.com>
856
857 Fix "save breakpoints" for "catch" command.
858 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
859 Remove -nonewline. Match also the added "main" line.
860
99894e11
JK
8612014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
862
863 Fix "save breakpoints" for "disable $bpnum" command.
864 * gdb.base/save-bp.c (main): Add label.
865 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
866
6e1ac5a3
JK
8672014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
868
869 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
870
754dd2b0
YQ
8712014-10-11 Yao Qi <yao@codesourcery.com>
872
873 * gdb.server/server-kill.exp: Execute command
874 "set remote trace-status-packet on" before "tstatus".
875
f90183d7
YQ
8762014-10-11 Yao Qi <yao@codesourcery.com>
877
878 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
879 (main): Call getppid.
880 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
881 and continue to it. Read variable "server_pid".
882
bf40a607
YQ
8832014-10-11 Yao Qi <yao@codesourcery.com>
884
885 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
886
052ca370
YQ
8872014-10-11 Yao Qi <yao@codesourcery.com>
888
889 * gdb.threads/thread-find.exp: Don't execute command
890 "info threads".
891 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
892 * gdb.threads/linux-dp.exp: Don't check the condition
893 $threads_created equals to zero.
894
3831839c
PA
8952014-10-10 Pedro Alves <palves@redhat.com>
896
897 * gdb.base/bigcore.exp: Remove references to IRIX.
898 * gdb.base/funcargs.exp: Likewise.
899 * gdb.base/interrupt.exp: Likewise.
900 * gdb.base/mips_pro.exp: Likewise.
901 * gdb.base/nodebug.exp: Likewise.
902 * gdb.base/setvar.exp: Likewise.
903 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
904
8b9a549d
PA
9052014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
906 Pedro Alves <palves@redhat.com>
907
908 PR symtab/14466
909 * gdb.base/vdso-warning.c: New file.
910 * gdb.base/vdso-warning.exp: New file.
911
d48ba5e8
DE
9122014-10-02 Doug Evans <dje@google.com>
913
914 * gdb.base/structs.c (main): Don't run forever.
915
2278c276
PA
9162014-10-02 Pedro Alves <palves@redhat.com>
917
918 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
919 (top level) <stop threads 1, stop threads 2>: Use it.
920
b57bacec
PA
9212014-10-02 Pedro Alves <palves@redhat.com>
922
923 * gdb.threads/break-while-running.exp (test): Add new
924 'update_thread_list' argument. Skip "info threads" if false.
925 (top level): Add new 'update_thread_list' axis.
926
13fd3ff3
PA
9272014-10-02 Pedro Alves <palves@redhat.com>
928
929 PR breakpoints/17431
930 * gdb.base/execl-update-breakpoints.c: New file.
931 * gdb.base/execl-update-breakpoints.exp: New file.
932
0fec99e8
PA
9332014-10-01 Pedro Alves <palves@redhat.com>
934
935 * gdb.base/breakpoint-in-ro-region.c: New file.
936 * gdb.base/breakpoint-in-ro-region.exp: New file.
937
2ddf4301
SM
9382014-10-01 Simon Marchi <simon.marchi@ericsson.com>
939
940 * gdb.mi/mi-exit-code.exp: New file.
941 * gdb.mi/mi-exit-code.c: New file.
942
6a5f3f43
YQ
9432014-09-30 Yao Qi <yao@codesourcery.com>
944
945 * lib/prelink-support.exp (build_executable_own_libs): Error if
946 the target isn't native.
947
345bcc73
YQ
9482014-09-30 Yao Qi <yao@codesourcery.com>
949
950 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
951 false.
952
a25a5a45
PA
9532014-09-22 Pedro Alves <palves@redhat.com>
954
955 * gdb.threads/break-while-running.exp: New file.
956 * gdb.threads/break-while-running.c: New file.
957
00ba3162
YQ
9582014-09-19 Yao Qi <yao@codesourcery.com>
959
960 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
961 Invoke test. Restart GDB with --readnow and invoke test again.
962
c3b7b696
YQ
9632014-09-19 Yao Qi <yao@codesourcery.com>
964
965 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
966 proc set_breakpoint_on_gcd_function. Invoke
967 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
968 invoke set_breakpoint_on_gcd_function again.
969
2b4fd423
DE
9702014-09-18 Doug Evans <dje@google.com>
971
972 * gdb.dwarf2/symtab-producer.exp: New file.
973
a5947601
SDJ
9742014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
975
976 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
977 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
978 * gdb.base/global-var-nested-by-dso.c: Likewise.
979 * gdb.base/global-var-nested-by-dso.exp: Likewise.
980
91c19059
SDJ
9812014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
982 Pedro Alves <palves@redhat.com>
983
984 * gdb.base/watch-bitfields.exp: Pass string other than test file
985 name to prepare_for_testing.
986 (watch): New procedure.
987 (expect_watchpoint): Use with_test_prefix.
988 (top level): Factor out tests to ...
989 (test_watch_location, test_regular_watch): ... these new
990 procedures, and use with_test_prefix and gdb_continue_to_end.
991
bb9d5f81
PP
9922014-09-16 Patrick Palka <patrick@parcs.ath.cx>
993
994 PR breakpoints/12526
995 * gdb.base/watch-bitfields.exp: New file.
996 * gdb.base/watch-bitfields.c: New file.
997
635856f5
PA
9982014-09-16 Pedro Alves <palves@redhat.com>
999
1000 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
1001 software and hardware addresses, not software address against
1002 itself.
1003
7280ceea
PA
10042014-09-16 Pedro Alves <palves@redhat.com>
1005
1006 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
1007 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
1008
428b16bd
PA
10092014-09-16 Pedro Alves <palves@redhat.com>
1010
1011 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
1012 files.
1013 * gdb.base/a2-run.exp: Remove all code guarded by istarget
1014 "*-*-vxworks*" throughout.
1015 * gdb.base/break.exp: Likewise.
1016 * gdb.base/default.exp: Likewise.
1017 * gdb.base/scope.exp: Likewise.
1018 * gdb.base/sepdebug.exp: Likewise.
1019 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
1020 throughout.
1021 * gdb.base/run.c: Likewise.
1022 * gdb.base/sepdebug.c: Likewise.
1023 * gdb.hp/gdb.aCC/run.c: Likewise.
1024 * gdb.reverse/until-reverse.c: Likewise.
1025 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
1026
666d413c
YQ
10272014-09-16 Yao Qi <yao@codesourcery.com>
1028
1029 * boards/local-remote-host-native.exp: New file.
1030
57cbd724
DE
10312014-09-14 Doug Evans <xdje42@gmail.com>
1032
1033 * gdb.threads/queue-signal.c (thread_count): New variable.
1034 (thread_count_mutex, thread_count_condvar): New variables.
1035 (incr_thread_count, wait_all_threads_running): New functions.
1036 (main): Wait for all threads to be in their thread functions.
1037
81219e53
DE
10382014-09-13 Doug Evans <xdje42@gmail.com>
1039
1040 * gdb.threads/queue-signal.c: New file.
1041 * gdb.threads/queue-signal.exp: New file.
1042
3714cea7
DE
10432014-09-13 Doug Evans <xdje42@gmail.com>
1044
1045 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
1046 be consistent with what default_gdb_init uses.
1047 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
1048 the plain text of the prompt. Add some logging printfs.
1049 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
1050
fa43b1d7
PA
10512014-09-12 Pedro Alves <palves@redhat.com>
1052
1053 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
1054 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
1055 * gdb.arch/i386-size-overlap.exp: Likewise.
1056 * gdb.arch/i386-size.exp: Likewise.
1057 * gdb.arch/i386-unwind.exp: Likewise.
1058 * gdb.base/a2-run.exp: Likewise.
1059 * gdb.base/break.exp: Likewise.
1060 * gdb.base/charset.exp: Likewise.
1061 * gdb.base/chng-syms.exp: Likewise.
1062 * gdb.base/commands.exp: Likewise.
1063 * gdb.base/dbx.exp: Likewise.
1064 * gdb.base/find.exp: Likewise.
1065 * gdb.base/funcargs.exp: Likewise.
1066 * gdb.base/jit-simple.exp: Likewise.
1067 * gdb.base/reread.exp: Likewise.
1068 * gdb.base/sepdebug.exp: Likewise.
1069 * gdb.base/step-bt.exp: Likewise.
1070 * gdb.cp/mb-inline.exp: Likewise.
1071 * gdb.cp/mb-templates.exp: Likewise.
1072 * gdb.objc/basicclass.exp: Likewise.
1073 * gdb.threads/killed.exp: Likewise.
1074
9d9bf2df
EBM
10752014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1076
1077 PR tdep/17379
1078 * gdb.arch/powerpc-stackless.S: New file.
1079 * gdb.arch/powerpc-stackless.exp: New file.
1080
1cf2f1b0
JK
10812014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1082
1083 * gdb.base/attach.c: Include unistd.h.
1084 (main): Call alarm. Add label postloop.
1085 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
1086 gdb_breakpoint, gdb_continue_to_breakpoint.
1087 (test_command_line_attach_run): Kill ${testpid} in one exit path.
1088
98880d46
PA
10892014-09-11 Pedro Alves <palves@redhat.com>
1090
1091 PR gdb/17347
1092 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
1093 * gdb.base/attach.exp (test_command_line_attach_run): New
1094 procedure.
1095 (top level): Call it.
1096
4c92ff2c
PA
10972014-09-11 Pedro Alves <palves@redhat.com>
1098
1099 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
1100 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
1101 (do_command_attach_tests): Use spawn_wait_for_attach.
1102 * gdb.base/solib-overlap.exp: Likewise.
1103 * gdb.multi/multi-attach.exp: Likewise.
1104 * gdb.python/py-prompt.exp: Likewise.
1105 * gdb.python/py-sync-interp.exp: Likewise.
1106 * gdb.server/ext-attach.exp: Likewise.
1107
3adc1a7d
GKB
11082014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
1109
1110 * gdb.fortran/array-element.exp: Remove unexpected "continue"
1111 command in testcase. Simplify testcase.
1112
96334934
JB
11132014-09-10 Joel Brobecker <brobecker@adacore.com>
1114
1115 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
1116
eb479039
JB
11172014-09-10 Joel Brobecker <brobecker@adacore.com>
1118
1119 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
1120
deede10c
JB
11212014-09-10 Joel Brobecker <brobecker@adacore.com>
1122
1123 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
1124
7828a5f5
JB
11252014-09-10 Joel Brobecker <brobecker@adacore.com>
1126
1127 * gdb.dwarf2/dynarr-ptr.c: New file.
1128 * gdb.dwarf2/dynarr-ptr.exp: New file.
1129
33aeebcf
MR
11302014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1131
1132 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
1133 of 30 rather than hardcoding 120 for a slow test case. Take the
1134 `gdb,timeout' target setting into account for this calculation.
1135 Don't extend the timeout for the test cases that don't need it.
1136
7b415901
MR
11372014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1138
1139 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
1140 a factor of 2 for a slow test case. Take the `gdb,timeout'
1141 target setting into account for this calculation.
1142 * gdb.reverse/until-precsave.exp: Increase the timeout by
1143 a factor of 15 and 3 respectively rather than adding 120
1144 for a pair of slow test cases. Take the `gdb,timeout'
1145 target setting into account for this calculation.
1146
4a40f85a
MR
11472014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1148
1149 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
1150 timeout, don't pass one down to gdb_expect.
1151 (gdb_expect): Rework timeout selection.
1152
09635af7
MR
11532014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1154
1155 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
1156 exception on timeout.
1157 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
1158 (gdbserver_start_extended): Catch any `gdbserver_start' error
1159 exceptions.
1160 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
1161 * lib/mi-support.exp (mi_gdb_target_load): Catch any
1162 `gdbserver_gdb_load' error exceptions.
1163
2bdd10b7
MR
11642014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1165
1166 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
1167 120 on waiting for the TCP socket to open.
1168
316935f0
DE
11692014-09-09 Doug Evans <xdje42@gmail.com>
1170
1171 * gdb.base/default.exp (show_conv_list): Add _caller_is,
1172 _caller_matches, _any_caller_is, _any_caller_matches.
1173
83740597
DE
11742014-09-09 Doug Evans <xdje42@gmail.com>
1175
1176 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
1177
4c122fc3
YQ
11782014-09-09 Yao Qi <yao@codesourcery.com>
1179
1180 * gdb.mi/mi-var-display.exp: Set print symbol off.
1181
a9f116cb
GKB
11822014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
1183
1184 PR gdb/17035
1185 * gdb.base/commands.exp: Add tests to verify user-defined
1186 commands with empty bodies.
1187 * gdb.python/py-cmd.exp: Test that we don't show user-defined
1188 python commands in `show user command`.
1189 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
1190 scheme commands in `show user command`.
1191
c75bd3a2
JK
11922014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1193
1194 PR python/17355
1195 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
1196 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
1197 * gdb.python/py-framefilter-invalidarg.exp: New file.
1198 * gdb.python/py-framefilter-invalidarg.py: New file.
1199
faa42425
DE
12002014-09-06 Doug Evans <xdje42@gmail.com>
1201
1202 PR 15276
1203 * gdb.python/py-caller-is.c: New file.
1204 * gdb.python/py-caller-is.exp: New file.
1205
474ca4f6
SDJ
12062014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
1207
1208 PR gdb/17235
1209 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
1210 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
1211
eb0b0463
SDJ
12122014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
1213
1214 PR fortran/17237
1215 * gdb.fortran/print-formatted.exp: New file.
1216 * gdb.fortran/print-formatted.f90: Likewise.
1217
5f3b99cf
SS
12182014-09-03 Sasha Smundak <asmundak@google.com>
1219
1220 * gdb.python/py-frame.exp: Test Frame.read_register.
1221
7d793aa9
SDJ
12222014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
1223
1224 PR python/16699
1225 * gdb.python/py-completion.exp: New file.
1226 * gdb.python/py-completion.py: Likewise.
1227
fb0576e9
DE
12282014-08-28 Doug Evans <dje@google.com>
1229
1230 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
1231 eax,etc. are live with values set by gdb and thus the compiler can't
1232 use them.
1233 * gdb.arch/i386-pseudo.c (main): Ditto.
1234
ee92b0dd
DE
12352014-08-27 Doug Evans <dje@google.com>
1236
1237 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
1238
6649db35
DE
12392014-08-25 Doug Evans <dje@google.com>
1240
1241 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
1242 (main): Ditto.
1243
564b7600
DE
12442014-08-25 Doug Evans <dje@google.com>
1245
1246 * gdb.threads/thread-execl.exp: #include <stdio.h>.
1247
3881fb67
YQ
12482014-08-24 Yao Qi <yao@codesourcery.com>
1249
1250 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
1251 symbol off.
1252 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
1253
a05a36a5
DE
12542014-08-22 Doug Evans <dje@google.com>
1255
1256 PR 17276
1257 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
1258 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
1259 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
1260
7c343b48
YQ
12612014-08-22 Yao Qi <yao@codesourcery.com>
1262
1263 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
1264 * gdb.python/py-finish-breakpoint2.exp: Likewise.
1265 * gdb.python/python.exp: Likewise. Use .py file on the host
1266 instead of the build.
1267
22fd09ae
JK
12682014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1269
1270 * gdb.threads/gcore-stale-thread.c: New file.
1271 * gdb.threads/gcore-stale-thread.exp: New file.
1272
a8454a7c
PA
12732014-08-21 Pedro Alves <palves@redhat.com>
1274
1275 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
1276 * gdb.base/gcore-relro-pie.exp: Likewise.
1277 * gdb.base/gcore-relro.exp: Likewise.
1278 * gdb.base/gcore.exp: Likewise.
1279 * gdb.base/print-symbol-loading.exp: Likewise.
1280 * gdb.threads/gcore-thread.exp: Likewise.
1281 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
1282
2a31c623
PA
12832014-08-20 Pedro Alves <palves@redhat.com>
1284 Jan Kratochvil <jan.kratochvil@redhat.com>
1285
1286 * Makefile.in (EXTRA_RULES, CC): New variables, get from
1287 configure.
1288 (EXPECT): Handle READ1 being set.
1289 (all): Depend on EXTRA_RULES.
1290 (check-read1, expect-read1, read1.so, read1): New rules.
1291 * README (Testsuite Parameters): Document the READ1 make variable.
1292 (Race detection): New section.
1293 * configure: Regenerate.
1294 * configure.ac: If build==host==target, and running under a
1295 GNU/glibc system, add read1 to the extra Makefile rules.
1296 (EXTRA_RULES): AC_SUBST it.
1297 * lib/read1.c: New file.
1298
d36430db
JB
12992014-08-20 Joel Brobecker <brobecker@adacore.com>
1300
1301 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
1302 the handling of variables declared as a typedef to an array
1303 which a DW_AT_data_location attribute.
1304
9a0dc9e3
PA
13052014-08-19 Andrew Burgess <aburgess@broadcom.com>
1306 Pedro Alves <palves@redhat.com>
1307
1308 PR symtab/14604
1309 PR symtab/14605
1310 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
1311 gdb_test.
1312
0718a8da
PA
13132014-08-19 Pedro Alves <palves@redhat.com>
1314
1315 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
1316
13b448cd
YQ
13172014-08-19 Yao Qi <yao@codesourcery.com>
1318
1319 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
1320 right line.
1321
1cbf5077
DB
13222014-08-18 David Blaikie <dblaikie@gmail.com>
1323
1324 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
1325
bf0fae19
JB
13262014-08-18 Joel Brobecker <brobecker@adacore.com>
1327
1328 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
1329 attribute in array range.
1330
3c8c5dcc
JB
13312014-08-18 Joel Brobecker <brobecker@adacore.com>
1332
1333 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
1334
e66d4446
SC
13352014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1336
1337 PR c++/17132
1338 * gdb.cp/pr17132.cc: New file.
1339 * gdb.cp/pr17132.exp: New file.
1340
940df408
SC
13412014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1342
1343 * gdb.python/py-xmethods.py (A_getarrayind)
1344 (E_method_char_worker.__call__, E_method_int_worker.__call__):
1345 Use 'print' with function call syntax.
1346 (E_method_matcher.match): Fix tab vs space indentation mixup.
1347
ebcc6c3a
YQ
13482014-08-15 Yao Qi <yao@codesourcery.com>
1349
1350 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
1351 false.
1352
775e0f04
YQ
13532014-08-15 Yao Qi <yao@codesourcery.com>
1354
1355 * gdb.cp/casts.exp: Set print symbol off.
1356 * gdb.cp/class2.exp: Likewise.
1357 * gdb.cp/overload.exp: Likewise.
1358 * gdb.cp/templates.exp: Likewise.
1359
d769e349
DE
13602014-08-11 Doug Evans <dje@google.com>
1361
1362 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1363 (test_load_shlib): Update.
1364
20c6f1e1
YQ
13652014-08-09 Yao Qi <yao@codesourcery.com>
1366
1367 * gdb.base/display.exp: Invoke is_address_zero_readable.
1368 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
1369 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1370 * gdb.base/hbreak-unmapped.exp: Return if
1371 is_address_zero_readable returns true.
1372 * gdb.base/signest.exp: Likewise.
1373 * gdb.base/signull.exp: Likewise.
1374 * gdb.base/sigbpt.exp: Likewise.
1375 * gdb.guile/scm-disasm.exp: Do the test if
1376 is_address_zero_readable returns false.
1377 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
1378 * gdb.python/py-arch.exp: Likewise.
1379 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
1380 * lib/gdb.exp (is_address_zero_readable): New proc.
1381
5792e8e3
YQ
13822014-08-09 Yao Qi <yao@codesourcery.com>
1383
1384 PR testsuite/13443
1385 * gdb.mi/mi-var-display.exp: Make test messages unique.
1386
3cecbbbe
TT
13872014-08-04 Tom Tromey <tromey@redhat.com>
1388
1389 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
1390 target 0".
1391
00b51ff5
TT
13922014-08-04 Tom Tromey <tromey@redhat.com>
1393
1394 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
1395 "target_resume".
1396
6908c509
JB
13972014-08-01 Joel Brobecker <brobecker@adacore.com>
1398
1399 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
1400 inner_vla_struct_object_size.
1401 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
1402 as xfail.
1403
cc6563d2
PA
14042014-07-30 Pedro Alves <palves@redhat.com>
1405
1406 * gdb.threads/signal-command-handle-nopass.exp (test): Add
1407 comment.
1408
7e09a223
YQ
14092014-07-29 Yao Qi <yao@codesourcery.com>
1410
1411 PR gdb/17206
1412 * gdb.base/until-nodebug.exp: New.
1413
7ebdbe92
DE
14142014-07-28 Doug Evans <xdje42@gmail.com>
1415
1416 PR guile/17203
1417 * gdb.guile/scm-parameter.exp: Add tests for trying to create
1418 previously existing parameter, and previously ambiguously spelled
1419 parameter.
1420
fdb1adc6
WN
14212014-07-28 Will Newton <will.newton@linaro.org>
1422
1423 * gdb.base/varargs.exp: Remove KFAILs for ARM.
1424
186fcde0
DE
14252014-07-26 Ludovic Courtès <ludo@gnu.org>
1426 Doug Evans <xdje42@gmail.com>
1427
1428 PR guile/17146
1429 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
1430
70509625
PA
14312014-07-25 Pedro Alves <palves@redhat.com>
1432
1433 * gdb.threads/signal-command-handle-nopass.c: New file.
1434 * gdb.threads/signal-command-handle-nopass.exp: New file.
1435 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
1436 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
1437 * gdb.threads/signal-delivered-right-thread.c: New file.
1438 * gdb.threads/signal-delivered-right-thread.exp: New file.
1439
c3f814a1
PA
14402014-07-25 Pedro Alves <palves@redhat.com>
1441
1442 * gdb.base/double-prompt-target-event-error.exp
1443 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
1444 match.
1445 (cancel_pagination_in_target_event): Rework double prompt
1446 detection.
1447 * gdb.base/paginate-after-ctrl-c-running.exp
1448 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
1449 <return>' match.
1450 * gdb.base/paginate-bg-execution.exp
1451 (test_bg_execution_pagination_return)
1452 (test_bg_execution_pagination_cancel): Remove '-notransfer
1453 <return>' matches.
1454 * gdb.base/paginate-execution-startup.exp
1455 (test_fg_execution_pagination_return)
1456 (test_fg_execution_pagination_cancel): Remove '-notransfer
1457 <return>' matches.
1458 * gdb.base/paginate-inferior-exit.exp
1459 (test_paginate_inferior_exited): Remove '-notransfer <return>'
1460 match.
1461 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
1462 * lib/gdb.exp (pagination_prompt): Run text through
1463 string_to_regexp.
1464 (gdb_test_multiple): Match $pagination_prompt instead of
1465 "<return>".
1466 (string_to_regexp): Move to lib/gdb-utils.exp.
1467
e214cf6c
JK
14682014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1469
1470 * gdb.arch/amd64-entry-value-paramref.S: New file.
1471 * gdb.arch/amd64-entry-value-paramref.cc: New file.
1472 * gdb.arch/amd64-entry-value-paramref.exp: New file.
1473 * gdb.arch/amd64-optimout-repeat.S: New file.
1474 * gdb.arch/amd64-optimout-repeat.c: New file.
1475 * gdb.arch/amd64-optimout-repeat.exp: New file.
1476
17d0c5c8
JK
14772014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1478
1479 PR gdb/17170
1480 * gdb.base/statistics.exp: New file.
1481
b8b8facf
DE
14822014-07-17 Doug Evans <dje@google.com>
1483
74b49205 1484 PR gdb/17170
b8b8facf
DE
1485 * gdb.base/maint.exp: Update testing of per-command stats.
1486
1b5d0ab3
PA
14872014-07-16 Pedro Alves <palves@redhat.com>
1488
1489 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
1490 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
1491 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
1492 (tfile_write_buf): New functions.
1493 (add_memory_block): Rewrite using the above.
1494 (adjust_function_address): New function.
1495 (FUNCTION_ADDRESS): New macro.
1496 (write_basic_trace_file): Remove short_x local, and use
1497 tfile_write_16. Change type of func_addr local to unsigned long
1498 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
1499 here. Cast argument of add_memory_block to char pointer.
1500 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
1501 (main): Remove parameters.
1502 * gdb.trace/tfile.exp: Remove nowarnings.
1503
4d974e88
SM
15042014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1505
1506 * gdb.base/debug-expr.exp: Test string evaluation with
1507 "debug expression" on.
1508
41e99568
PA
15092014-07-15 Pedro Alves <palves@redhat.com>
1510
1511 * gdb.base/reread.exp: Use clean_restart.
1512
487d9753
PL
15132014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1514
1515 * gdb.arch/avr-flash-qualifer.c: New.
1516 * gdb.arch/avr-flash-qualifer.exp: New.
1517
cc1c52ad
PA
15182014-07-14 Pedro Alves <palves@redhat.com>
1519
1520 * gdb.base/paginate-after-ctrl-c-running.c: New file.
1521 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1522
1e973570
PA
15232014-07-14 Pedro Alves <palves@redhat.com>
1524
1525 * gdb.base/double-prompt-target-event-error.c: New file.
1526 * gdb.base/double-prompt-target-event-error.exp: New file.
1527
93d6eb10
PA
15282014-07-14 Pedro Alves <palves@redhat.com>
1529
1530 PR gdb/17072
1531 * gdb.base/paginate-inferior-exit.c: New file.
1532 * gdb.base/paginate-inferior-exit.exp: New file.
1533
0017922d
PA
15342014-07-14 Pedro Alves <palves@redhat.com>
1535
1536 PR gdb/17072
1537 * gdb.base/paginate-bg-execution.c: New file.
1538 * gdb.base/paginate-bg-execution.exp: New file.
1539
94696ad3
PA
15402014-07-14 Pedro Alves <palves@redhat.com>
1541
1542 PR gdb/17072
1543 * gdb.base/paginate-execution-startup.c: New file.
1544 * gdb.base/paginate-execution-startup.exp: New file.
1545 * lib/gdb.exp (pagination_prompt): New global.
1546 (default_gdb_spawn): New procedure, factored out from
1547 default_gdb_spawn.
1548 (default_gdb_start): Adjust to call default_gdb_spawn.
1549 (gdb_spawn): New procedure.
1550
bd293940
PA
15512014-07-14 Pedro Alves <palves@redhat.com>
1552
1553 * lib/gdb.exp (gdb_assert): New procedure.
1554 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
1555
c933f875
PA
15562014-07-14 Pedro Alves <palves@redhat.com>
1557
1558 * gdb.base/execution-termios.c: New file.
1559 * gdb.base/execution-termios.exp: New file.
1560
d98b7a16
TT
15612014-07-14 Tom Tromey <tromey@redhat.com>
1562
1563 * gdb.cp/vla-cxx.cc: New file.
1564 * gdb.cp/vla-cxx.exp: New file.
1565
548740d6
TT
15662014-07-14 Tom Tromey <tromey@redhat.com>
1567
1568 * gdb.reverse/rerun-prec.c: New file.
1569 * gdb.reverse/rerun-prec.exp: New file.
1570
a25eb028
MR
15712014-07-12 Maciej W. Rozycki <macro@mips.com>
1572 Maciej W. Rozycki <macro@codesourcery.com>
1573
1574 * lib/gdb-utils.exp: New file.
1575 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
1576 inline `gdb_init_command' processing.
1577 (gdb_start_cmd): Likewise.
1578 * lib/mi-support.exp (mi_run_cmd): Likewise.
1579 * README: Document `gdb_init_command' and `gdb_init_commands'.
1580
218c2655
JK
15812014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1582
1583 Fix false FAIL running under a very long directory name.
1584 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1585 and "set print elements 10000". Twice.
1586
5401fde3
YQ
15872014-07-11 Yao Qi <yao@codesourcery.com>
1588
1589 * gdb.base/exprs.exp: "set print symbol off".
1590
e76126e8
PA
15912014-07-11 Pedro Alves <palves@redhat.com>
1592
1593 * gdb.threads/kill.c: New file.
1594 * gdb.threads/kill.exp: New file.
1595
2d6f0de6
YQ
15962014-07-10 Yao Qi <yao@codesourcery.com>
1597
1598 * gdb.trace/tfile.c (write_basic_trace_file)
1599 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1600 address written to trace file.
1601
7180e04a
PA
16022014-07-09 Pedro Alves <palves@redhat.com>
1603
1604 * gdb.base/attach-wait-input.exp: New file.
1605 * gdb.base/attach-wait-input.c: New file.
1606
9a9a7608
AB
16072014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1608
1609 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1610 setting up test structures.
1611 (main): Call new test function.
1612 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1613 test function, continue into test function and walk test
1614 structures.
1615
161ac41e
YQ
16162014-07-02 Yao Qi <yao@codesourcery.com>
1617
1618 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1619 'bar_start' at the beginning of functions 'foo' and 'bar'
1620 respectively.
1621 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1622 instead of 'foo' and 'bar'.
1623
1f267ae3
MM
16242014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1625
1626 * gdb.btrace/segv.exp: New.
1627 * gdb.btrace/segv.c: New.
1628
2b239efb
LM
16292014-07-02 Luis Machado <lgustavo@codesourcery.com>
1630
1631 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1632 instruction.
1633
cf363f18
MW
16342014-06-30 Mark Wielaard <mjw@redhat.com>
1635
1636 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1637 vulture, vilify, villar): New volatile array constants.
1638 (vindictive, vegetation): New const volatile array constants.
1639 * gdb.base/volatile.exp: Test volatile and const volatile array
1640 types.
1641
aebf9d24
AA
16422014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1643
1644 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1645 target lacks support for awatch, rwatch, or hbreak.
1646
b67a2c6f
YQ
16472014-06-27 Yao Qi <yao@codesourcery.com>
1648
1649 * gdb.multi/dummy-frame-restore.exp: New.
1650 * gdb.multi/dummy-frame-restore.c: New.
1651
aef92902
MM
16522014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1653
1654 * gdb.btrace/gcore.exp: New.
1655
8e9db26e
PA
16562014-06-23 Pedro Alves <palves@redhat.com>
1657
1658 * gdb.base/watchpoint-reuse-slot.c: New file.
1659 * gdb.base/watchpoint-reuse-slot.exp: New file.
1660
70afc5b7
SC
16612014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1662
1663 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1664 progspace's filename in 'info', 'enable' and 'disable' command
1665 tests.
1666
b972bd9c
JK
16672014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1668
1669 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1670 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1671 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1672
125f8a3d
GB
16732014-06-20 Gary Benson <gbenson@redhat.com>
1674
1675 * gdb.arch/i386-avx.exp: Fix include file location.
1676 * gdb.arch/i386-sse.exp: Likewise.
1677
3ed9baed
IB
16782014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1679
1680 * gdb.dlang/expression.exp: New file.
1681
034f788c
PA
16822014-06-19 Pedro Alves <palves@redhat.com>
1683
1684 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1685 out from ...
1686 (top level): ... here. Iterate running tests under different
1687 scheduler-locking settings.
1688
45371d0c
LM
16892014-06-18 Luis Machado <lgustavo@codesourcery.com>
1690
1691 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1692 to DW_FORM_addr and use non-zero addresses.
1693
5d376983
SC
16942014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1695
1696 PR gdb/17017
1697 * gdb.python/py-xmethods.cc: Add global function call counters and
1698 increment them in their respective functions. Remove "cout"
1699 statements.
1700 * gdb.python/py-xmethods.exp: Make tests check the global function
1701 call counters instead of depending on inferior IO.
1702
a1aa2221
LM
17032014-06-18 Don Breazeal <donb@codesourcery.com>
1704
1705 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1706 Deleted procedure.
1707 (explicit_fork_parent_follow): Deleted procedure.
1708 (explicit_fork_child_follow): Deleted procedure.
1709 (test_follow_fork): New procedure.
1710 (do_fork_tests): Replace calls to deleted procedures with
1711 calls to test_follow_fork and reset GDB for subsequent
1712 procedure calls.
1713
0fc05997
YQ
17142014-06-17 Yao Qi <yao@codesourcery.com>
1715
1716 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1717 CP1252.
1718
70795c52
LM
17192014-06-17 Luis Machado <lgustavo@codesourcery.com>
1720
1721 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1722 Initialize ptr and S explicitly.
1723 (skip_type_update_when_not_use_rtti_test): Likewise.
1724
6be47f0c
KS
17252014-06-16 Keith Seitz <keiths@redhat.com>
1726
1727 PR mi/15863
1728 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1729 the inferior is started.
1730
d03de421
PA
17312014-06-16 Pedro Alves <palves@redhat.com>
1732
1733 * gdb.base/break-main-file-remove-fail.c: New file.
1734 * gdb.base/break-main-file-remove-fail.exp: New file.
1735 * gdb.base/break-unload-file.exp: Use build_executable instead of
1736 prepare_for_testing.
1737 (test_break): New parameter "initial_load". Handle it.
1738 (top level): Add initial_load cmdline/file axis.
1739
f9579b99
TT
17402014-06-12 Tom Tromey <tromey@redhat.com>
1741
1742 * gdb.base/completion.exp: Don't use directory name in test.
1743
3657956b
GB
17442014-06-09 Gary Benson <gbenson@redhat.com>
1745
1746 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1747 separate the always-available ANSI-standard signals from the
1748 signals that require checking.
1749 (main): Likewise.
1750 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1751 Likewise.
1752 (main): Likewise.
1753
4186eb54
KS
17542014-06-07 Keith Seitz <keiths@redhat.com>
1755
1756 Revert:
1757 PR c++/16253
1758 * gdb.cp/var-tag.cc: New file.
1759 * gdb.cp/var-tag.exp: New file.
1760 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1761 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1762 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1763 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1764
25326a28 17652014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
1766
1767 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1768
829155c9
PA
17692014-06-06 Pedro Alves <palves@redhat.com>
1770
1771 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1772 in target debug output instead of looking at RSP packets,
1773 disabling the test on any target that uses hardware stepping.
1774 Update comments.
1775
61c8d22e
PA
17762014-06-06 Pedro Alves <palves@redhat.com>
1777
1778 * gdb.base/break-unload-file.exp: Fix typo.
1779
d9a47287
YQ
17802014-06-06 Yao Qi <yao@codesourcery.com>
1781
1782 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1783 from "jit_function" to "^jit_function".
1784
e5e01dbf
YQ
17852014-06-06 Yao Qi <yao@codesourcery.com>
1786
1787 * gdb.base/async.c (foo): Add one statement.
1788 * gdb.base/async.exp: Get the next instruction address and
1789 match the output of "nexti" by instruction address. Match
1790 the hex address in the output of "finish".
1791
73ba372c
GB
17922014-06-06 Gary Benson <gbenson@redhat.com>
1793
1794 * gdb.base/call-signals.c: Remove preprocessor conditionals
1795 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1796 SIGSEGV and SIGTERM.
1797 * gdb.base/sigall.c: Likewise.
1798 * gdb.base/unwindonsignal.c: Likewise.
1799 * gdb.reverse/sigall-reverse.c: Likewise.
1800
831517df
YQ
18012014-06-06 Yao Qi <yao@codesourcery.com>
1802
1803 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1804 readable, skip the test.
1805
b8b91e98
YQ
18062014-06-06 Yao Qi <yao@codesourcery.com>
1807
1808 * gdb.threads/staticthreads.c (thread_function): Move the line
1809 setting breakpoint on forward.
1810 * gdb.threads/staticthreads.exp: Update comments.
1811
fb934770
LC
18122014-06-05 Ludovic Courtès <ludo@gnu.org>
1813
1814 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1815 "history-append! type error".
1816
6ef284bd
SM
18172014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1818
1819 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1820 erroneous dprintf expected input.
1821
a872e241
DE
18222014-06-04 Doug Evans <xdje42@gmail.com>
1823
1824 * gdb.guile/scm-generics.exp: Delete.
1825
16f691fb
DE
18262014-06-04 Doug Evans <xdje42@gmail.com>
1827
1828 * gdb.guile/scm-breakpoint.exp: Update.
1829 Add tests for breakpoint registration.
1830
012370f6
TT
18312014-06-04 Tom Tromey <tromey@redhat.com>
1832
1833 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1834 VLA-in-union.
1835 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1836 inner_vla_struct, vla_union types. Initialize objects of those
1837 types and compute their sizes.
1838
9f5a4cef
HZ
18392014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1840 Hui Zhu <hui@codesourcery.com>
1841
1842 * gdb.base/fileio.exp: Add test for shell not available as well as
1843 available.
1844 * gdb.base/fileio.c (test_system): Check for shell twice.
1845
90a45c4d
YQ
18462014-06-04 Yao Qi <yao@codesourcery.com>
1847
1848 * gdb.base/auto-connect-native-target.exp: Remove redundant
1849 space from the regexp pattern.
1850
70017e41
YQ
18512014-06-04 Yao Qi <yao@codesourcery.com>
1852
1853 * gdb.base/default.exp: Replace "child" with "native" in
1854 regexp pattern.
1855
883964a7
SC
18562014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1857
1858 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1859 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1860 * gdb.python/py-xmethods.py: Python script supporting the
1861 new testcase and tests.
1862
ef370185
JB
18632014-06-03 Joel Brobecker <brobecker@adacore.com>
1864 Pedro Alves <palves@redhat.com>
1865
1866 PR breakpoints/17000
1867 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1868 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1869
1e2ccb61
BM
18702014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1871
1872 * gdb.base/subst.exp: Add tests to verify partial path matching
1873 output.
1874
c6ec5ab2
PA
18752014-06-03 Pedro Alves <palves@redhat.com>
1876
1877 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1878 target that doesn't use software single-stepping.
1879
835c559f
PA
18802014-06-03 Pedro Alves <palves@redhat.com>
1881
1882 PR breakpoints/17000
1883 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1884 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1885
06eb1586
DE
18862014-06-02 Doug Evans <xdje42@gmail.com>
1887
1888 * gdb.guile/scm-parameter.exp: New file.
1889
e698b8c4
DE
18902014-06-02 Doug Evans <xdje42@gmail.com>
1891
1892 * gdb.guile/scm-cmd.c: New file.
1893 * gdb.guile/scm-cmd.exp: New file.
1894
ded03782
DE
18952014-06-02 Doug Evans <xdje42@gmail.com>
1896
1897 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1898 pretty-printer lookup.
1899 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1900 (make-pp_s-printer): Call it.
1901 (make-pretty-printer-from-dict): New function.
1902 (lookup-pretty-printer-maker-from-dict): New function.
1903 (*pretty-printer*): Simplify.
1904 (make-objfile-pp_s-printer): New function.
1905 (install-objfile-pretty-printers!): New function.
1906 (make-progspace-pp_s-printer): New function.
1907 (install-progspace-pretty-printers!): New function.
1908 * gdb.guile/scm-progspace.c: New file.
1909 * gdb.guile/scm-progspace.exp: New file.
1910
41fac0cf
PA
19112014-06-02 Pedro Alves <palves@redhat.com>
1912
1913 * gdb.base/dprintf-bp-same-addr.c: New file.
1914 * gdb.base/dprintf-bp-same-addr.exp: New file.
1915
96ae5695
EBM
19162014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1917
1918 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1919 * gdb.arch/powerpc-power.s: Likewise.
1920
da02b3a8
JB
19212014-06-02 Joel Brobecker <brobecker@adacore.com>
1922
1923 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1924
c72b2e7b
YQ
19252014-06-01 Yao Qi <yao@codesourcery.com>
1926
1927 * gdb.base/watchpoint.exp (test_watch_location): Check null
1928 pointer can be dereferenced. If not, do the test, otherwise
1929 skip it.
1930
53e8a631
AB
19312014-05-30 Andrew Burgess <aburgess@broadcom.com>
1932
1933 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1934 results.
1935 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1936
938f0e2f
AB
19372014-05-30 Andrew Burgess <aburgess@broadcom.com>
1938
1939 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1940 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1941 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1942 * gdb.arch/amd64-invalid-stack-top.c: New file.
1943 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1944
9ba6657a
PA
19452014-05-30 Pedro Alves <palves@redhat.com>
1946
1947 PR breakpoints/17000
1948 * gdb.base/sss-bp-on-user-bp.c: New file.
1949 * gdb.base/sss-bp-on-user-bp.exp: New file.
1950
522c09bf
DB
19512014-05-30 David Blaikie <dblaikie@gmail.com>
1952
1953 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1954 gnu_inline semantics via attribute.
1955 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1956 source explicitly specifies the required semantics.
1957
bf4ef81e
MR
19582014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1959
1960 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1961
329ea579
PA
19622014-05-29 Pedro Alves <palves@redhat.com>
1963 Tom Tromey <tromey@redhat.com>
1964
1965 * gdb.base/async-shell.exp: Don't enable target-async.
1966 * gdb.base/async.exp
1967 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1968 parameter. Adjust.
1969 (top level): Don't test with "target-async".
1970 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1971 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1972 * gdb.base/inferior-died.exp: Don't enable target-async.
1973 * gdb.base/interrupt-noterm.exp: Likewise.
1974 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1975 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1976 * gdb.mi/mi-nonstop.exp: Likewise.
1977 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1978 * gdb.mi/mi-nsintrall.exp: Likewise.
1979 * gdb.mi/mi-nsmoribund.exp: Likewise.
1980 * gdb.mi/mi-nsthrexec.exp: Likewise.
1981 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1982 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1983 * gdb.python/py-evsignal.exp: Don't enable target-async.
1984 * gdb.python/py-evthreads.exp: Likewise.
1985 * gdb.python/py-prompt.exp: Likewise.
1986 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1987 * gdb.server/solib-list.exp: Don't enable target-async.
1988 * gdb.threads/thread-specific-bp.exp: Likewise.
1989 * lib/mi-support.exp: Adjust to use mi-async.
1990
fd664c91
PA
19912014-05-29 Pedro Alves <palves@redhat.com>
1992
1993 PR gdb/13860
1994 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1995 reason, even in sync mode.
1996
251bde03
PA
19972014-05-29 Pedro Alves <palves@redhat.com>
1998 Hui Zhu <hui@codesourcery.com>
1999
2000 PR PR15693
2001 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
2002 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
2003 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
2004 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
2005
7f3c0343
JB
20062014-05-28 Joel Brobecker <brobecker@adacore.com>
2007
2008 * config/monitor.exp (gdb_target_monitor): Replace use of
2009 "set remotebaud" by "set serial baud".
2010
b2715b27
AW
20112014-05-26 Andy Wingo <wingo@igalia.com>
2012
2013 * gdb.guile/scm-breakpoint.exp:
2014 * gdb.guile/scm-gsmob.exp: Update to use plain old object
2015 properties instead of gdb-object-properties.
2016
498a4489
YQ
20172014-05-26 Yao Qi <yao@codesourcery.com>
2018
2019 * gdb.server/no-thread-db.exp: Specify source file name
2020 explicitly when setting a breakpoint.
2021
589fdceb
MM
20222014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2023
2024 * gdb.btrace/vdso.c: New.
2025 * gdb.btrace/vdso.exp: New.
2026
e9089e05
MM
20272014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2028
2029 * gdb.base/gcore.exp (capture_command_output): Move ...
2030 * lib/gdb.exp (capture_command_output): ... here.
2031
67b5c0c1
MM
20322014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2033
2034 * gdb.btrace/data.exp: Test memory access during btrace replay.
2035
a2199296
SM
20362014-05-22 Simon Marchi <simon.marchi@ericsson.com>
2037
2038 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
2039
17b2616c
PA
20402014-05-21 Pedro Alves <palves@redhat.com>
2041
2042 PR gdb/13860
2043 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
2044 (top level): Test that output related to execution commands is
2045 sent to the console with CLI commands, but not with MI commands.
2046 Test that breakpoint events are always mirrored to the console.
2047 Also expect the new source line to be output after a "next" in
2048 async mode too. Make it a pass/fail test.
2049 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
2050 output.
2051 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
2052
5166082f
PA
20532014-05-21 Pedro Alves <palves@redhat.com>
2054
2055 * gdb.base/list.exp (build_pattern, test_list): New procedures.
2056 Use them to test variations of "list" after reaching a breakpoint.
2057 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
2058 Test "list" with listsize 10 after reaching a breakpoint.
2059 * gdb.python/python.exp (decode_line current location line
2060 number): Adjust expected line number.
2061
2f25d70f
SM
20622014-05-21 Simon Marchi <simon.marchi@ericsson.com>
2063
2064 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
2065 behavior for $args, pass it directly to "run".
2066
ff604a67
MR
20672014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
2068
2069 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
2070 30000 to 65536.
2071
6a3cb8e8
PA
20722014-05-21 Pedro Alves <palves@redhat.com>
2073
2074 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
2075 auto-connect-native-target off".
2076 * gdb.base/auto-connect-native-target.c: New file.
2077 * gdb.base/auto-connect-native-target.exp: New file.
2078
4ebfc96e
PA
20792014-05-21 Pedro Alves <palves@redhat.com>
2080
2081 * gdb.base/default.exp: Test "target native" instead of "target
2082 child".
2083
36d46afb
MW
20842014-05-21 Mark Wielaard <mjw@redhat.com>
2085
2086 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2087
5876f503
JK
20882014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2089
2090 Fix TLS access for -static -pthread.
2091 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
2092 <HAVE_TLS> (thread_function, main): Initialize it.
2093 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
2094 Add clean_restart.
2095 <$have_tls != "">: Check TLSVAR.
2096
0256a6ac
PA
20972014-05-21 Pedro Alves <palves@redhat.com>
2098
2099 * gdb.base/dcache-line-read-error.c: New.
2100 * gdb.base/dcache-line-read-error.exp: New.
2101
936d2992
PA
21022014-05-20 Pedro Alves <palves@redhat.com>
2103
2104 * gdb.base/compare-sections.c: New file.
2105 * gdb.base/compare-sections.exp: New file.
2106
802e8e6d
PA
21072014-05-20 Pedro Alves <palves@redhat.com>
2108
2109 * gdb.base/break-idempotent.c: New file.
2110 * gdb.base/break-idempotent.exp: New file.
2111
e59fa00f
MM
21122014-05-20 Markus Metzger <markus.t.metzger@intel.com>
2113
2114 * gdb.btrace/nohist.exp: New.
2115
8b696e31
YQ
21162014-05-20 Yao Qi <yao@codesourcery.com>
2117
2118 * lib/gdb.exp (gdb_init): Set timeout if test file is under
2119 gdb.reverse directory and gdb_reverse_timeout exists in board
2120 setting.
2121 * README: Document gdb_reverse_timeout.
2122
73c9764f
YQ
21232014-05-20 Yao Qi <yao@codesourcery.com>
2124
2125 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
2126 'test_file_name'. Treat args as a string instead of a list.
2127 (gdb_init): Rename argument 'args' by 'test_file_name'.
2128
f1f4348a
JK
21292014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2130
2131 * gdb.arch/powerpc-power.exp: New file.
2132 * gdb.arch/powerpc-power.s: New file.
2133
0dbe70ce
DE
21342014-05-16 Doug Evans <dje@google.com>
2135
2136 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
2137 * gdb.base/completion.exp: Check that all expected files exist
2138 before doing file completion.
0dbe70ce 2139
8d551b02
DE
21402014-05-16 Doug Evans <dje@google.com>
2141
2142 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
2143 Update.
2144 (do_syscall_tests_without_xml): Update.
2145
73eb7709
PA
21462014-05-16 Pedro Alves <palves@redhat.com>
2147
2148 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
2149 instead of "unknown output after running".
2150
3fae92fc
YQ
21512014-05-16 Yao Qi <yao@codesourcery.com>
2152
2153 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
2154 file1.txt from host at the end.
2155 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2156
c2b2ccc5
DE
21572014-05-15 Doug Evans <dje@google.com>
2158
2159 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
2160 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
2161 loading file. Add test for TU lookup.
2162
8c217a4b
SM
21632014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2164
2165 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
2166 calling "-exec-arguments" or "set args" before running the
2167 inferior.
2168
3deb39c6
SM
21692014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2170
2171 * lib/mi-support.exp (mi_expect_stop): Expect message for
2172 inferiors that exit with non-zero exit code.
2173
71a79f8c
YQ
21742014-05-14 Yao Qi <yao@codesourcery.com>
2175
2176 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
2177 match absolute path on remote host.
2178 (test_file_list_exec_source_files): Remove "/" from the
2179 pattern.
2180
f23fcd46
YQ
21812014-05-14 Yao Qi <yao@codesourcery.com>
2182
2183 * boards/local-remote-host-notty.exp (${board}_file): New
2184 proc.
2185
9404b58f
KM
21862014-05-07 Kyle McMartin <kyle@redhat.com>
2187
2188 Pushed by Joel Brobecker <brobecker@adacore.com>.
2189 * gdb.arch/aarch64-atomic-inst.c: New file.
2190 * gdb.arch/aarch64-atomic-inst.exp: New file.
2191
5e45f04c
YQ
21922014-05-07 Yao Qi <yao@codesourcery.com>
2193
2194 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
2195 in current context" too.
2196
c888a17d
KS
21972014-05-05 Keith Seitz <keiths@redhat.com>
2198
2199 * gdb.linespec/ls-dollar.exp: Add test for linespec
2200 file:convenience_variable.
2201
290a839c
YQ
22022014-05-05 Yao Qi <yao@codesourcery.com>
2203
2204 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
2205 traceframes into tfile and ctf trace files. Read data from
2206 trace file and test collected data.
2207 (gdb_collect_locals_test): Likewise.
2208 (gdb_unavailable_registers_test): Likewise.
2209 (gdb_unavailable_floats): Likewise.
2210 (gdb_collect_globals_test): Likewise.
2211 (top-level): Append "ctf" to trace_file_targets if GDB
2212 supports.
2213
b5262cd0
YQ
22142014-05-05 Yao Qi <yao@codesourcery.com>
2215
2216 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
2217 code to ...
2218 (gdb_collect_args_test_1): ... it. New proc.
2219 (gdb_collect_locals_test): Move some code to ...
2220 (gdb_collect_locals_test_1): ... it. New proc.
2221 (gdb_unavailable_registers_test): Move some code to ...
2222 (gdb_unavailable_registers_test_1): ... it. New proc.
2223 (gdb_unavailable_floats): Move some code to ...
2224 (gdb_unavailable_floats_1): ... it. New proc.
2225
30a1e6cc
SDJ
22262014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2227
2228 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
2229 probes to test for bitness recognition.
2230 * gdb.arch/amd64-stap-optional-prefix.exp
2231 (test_probe_value_without_reg): New procedure.
2232 Add code to test for different kinds of bitness.
2233
f33da99a
SDJ
22342014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2235
2236 PR breakpoints/16889
2237 * gdb.arch/amd64-stap-optional-prefix.S: New file.
2238 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2239
5b80f00d
PA
22402014-05-01 Pedro Alves <palves@redhat.com>
2241
2242 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
2243 gdb_file_cmd if no file is specified.
2244 * boards/native-extended-gdbserver.exp (gdb_load): Use the
2245 last_loaded_file to set the remote exec-file.
2246
f8c2a73c
PA
22472014-05-01 Pedro Alves <palves@redhat.com>
2248
2249 * boards/local-remote-host.exp: New file.
2250
be6e8ac7
PA
22512014-05-01 Pedro Alves <palves@redhat.com>
2252
2253 * boards/local-remote-host.exp: Rename to ...
2254 * boards/local-remote-host-notty.exp: ... this.
2255
cac0dc8f
JB
22562014-04-28 Joel Brobecker <brobecker@adacore.com>
2257
2258 * gdb.ada/dyn_arrayidx: New testcase.
2259
9730e6cc
YQ
22602014-04-26 Yao Qi <yao@codesourcery.com>
2261
2262 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
2263 and compute the length of function main. Save it in
2264 $main_length.
2265 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
2266 (top-level): Use gdb_compile to compile objects into
2267 executable and restart GDB. Remove invocation to
2268 prepare_for_testing.
2269
7ae1a6a6
PA
22702014-04-25 Simon Marchi <simon.marchi@ericsson.com>
2271 Pedro Alves <palves@redhat.com>
2272
2273 PR server/16255
2274 * gdb.multi/multi-attach.c: New file.
2275 * gdb.multi/multi-attach.exp: New file.
2276
4082afcc
PA
22772014-04-25 Pedro Alves <palves@redhat.com>
2278
2279 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
2280 user.
2281 (top level): Test that "set remote conditional-breakpoints-packet
2282 off" works as intended.
2283 * gdb.base/dprintf.exp: Test that "set remote
2284 breakpoint-commands-packet off" works as intended.
2285 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
2286 New function.
2287 (top level): Call it.
2288 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
2289 remote fast-tracepoints-packet off" works as intended.
2290 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
2291 * lib/gdb.exp (gdb_is_target_remote): ... here.
2292
2abc3f8d
DB
22932014-04-24 David Blaikie <dblaikie@gmail.com>
2294
2295 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
2296 ensure clang would not discard them.
2297 * gdb.base/gdbvars.c: Ditto.
2298 * gdb.base/memattr.c: Ditto.
2299 * gdb.base/whatis.c: Ditto.
2300 * gdb.python/py-prettyprint.c: Ditto.
2301 * gdb.trace/actions.c: Ditto.
2302 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
2303 ensure clang would not discard it.
2304
bfd39632
DB
23052014-04-24 David Blaikie <dblaikie@gmail.com>
2306
2307 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
2308 clang to emit the full definition of type required by the test
2309 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
2310
22842ff6
DB
23112014-04-24 David Blaikie <dblaikie@gmail.com>
2312
2313 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
2314 coax Clang into emitting the definition of the type.
2315 * gdb.cp/pr10728-x.h (y): Ditto.
2316 * gdb.cp/pr10728-y.cc (y): Ditto.
2317
c2e827ad
DB
23182014-04-24 David Blaikie <dblaikie@gmail.com>
2319
2320 * gdb.base/label.exp: XFAIL label related tests under Clang.
2321 * gdb.cp/cplabel.exp: Ditto.
2322 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
2323 under Clang those using labels.
2324
4c2d33e7
YQ
23252014-04-25 Yao Qi <yao@codesourcery.com>
2326
2327 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
2328 double_label.
2329 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
2330 partial_label and double_label.
2331
56083b99
DB
23322014-04-24 David Blaikie <dblaikie@gmail.com>
2333
2334 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
2335
25d4e99d
DB
23362014-04-24 David Blaikie <dblaikie@gmail.com>
2337
2338 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
2339 of the function to work across GCC and Clang.
2340 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
2341 pointer types (const void ** const V void **).
2342
01f9f808
MS
23432014-04-24 Michael Sturm <michael.sturm@mintel.com>
2344 Walfred Tedeschi <walfred.tedeschi@intel.com>
2345
2346 * Makefile.in (EXECUTABLES): Added i386-avx512.
2347 * gdb.arch/i386-avx512.c: New file.
2348 * gdb.arch/i386-avx512.exp: Likewise.
2349
4b48d439
KS
23502014-04-23 Keith Seitz <keiths@redhat.com>
2351
2352 * lib/mi-support.exp (mi_list_breakpoints): Delete.
2353 (mi_make_breakpoint_table): New procedure.
2354 (mi_create_breakpoint): Use mi_make_breakpoint
2355 and return the result.
2356 (mi_make_breakpoint): New procedure.
2357 (mi_build_kv_pairs): New procedure.
2358
2359 * gdb.mi/mi-break.exp: Remove unused globals,
2360 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
2361 All callers updated.
2362 * gdb.mi/mi-dprintf.exp: Use variable to track command
2363 number.
2364 Update all callers of mi_create_breakpoint and use
2365 mi_make_breakpoint_table.
2366 Remove any unused global variables.
2367 * gdb.mi/mi-nonstop.exp: Likewise.
2368 * gdb.mi/mi-nsintrall.exp: Likewise.
2369 * gdb.mi/mi-nsmoribund.exp: Likewise.
2370 * gdb.mi/mi-nsthrexec.exp: Likewise.
2371 * gdb.mi/mi-reverse.exp: Likewise.
2372 * gdb.mi/mi-simplerun.exp: Likewise.
2373 * gdb.mi/mi-stepn.exp: Likewise.
2374 * gdb.mi/mi-syn-frame.exp: Likewise.
2375 * gdb.mi/mi-until.exp: Likewise.
2376 * gdb.mi/mi-var-cp.exp: Likewise.
2377 * gdb.mi/mi-var-display.exp: Likewise.
2378 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2379 * gdb.mi/mi2-var-child.exp: Likewise.
2380 * gdb.mi/mi-vla-c99.exp: Likewise.
2381 * lib/mi-support.exp: Likewise.
2382
2383 From Ian Lance Taylor <iant@cygnus.com>:
2384 * lib/gdb.exp (parse_args): New procedure.
2385
08351840
PA
23862014-04-23 Pedro Alves <palves@redhat.com>
2387
2388 * gdb.base/break-unload-file.c: New file.
2389 * gdb.base/break-unload-file.exp: New file.
2390 * gdb.base/sym-file-lib.c (baz): New function.
2391 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
2392 field.
2393 (load): Store the segment's mapped size.
2394 (unload): New function.
2395 (unload_shlib): New function.
2396 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
2397 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
2398 set a breakpoint at baz, and call it.
2399 * gdb.base/sym-file.exp: New tests for stale breakpoint
2400 instructions.
2401
076855f9
PA
24022014-04-23 Pedro Alves <palves@redhat.com>
2403
2404 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
2405 * gdb.base/hbreak-in-shr-unsupported.c: New file.
2406 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
2407 * gdb.base/hbreak-unmapped.c: New file.
2408 * gdb.base/hbreak-unmapped.exp: New file.
2409 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
2410 * lib/gdb.exp (gdb_is_target_remote): ... here.
2411
483805cf
PA
24122014-04-22 Pedro Alves <palves@redhat.com>
2413
2414 * gdb.base/consecutive-step-over.c: New file.
2415 * gdb.base/consecutive-step-over.exp: New file.
2416
06d97543
PA
24172014-04-22 Pedro Alves <palves@redhat.com>
2418
2419 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
2420 instead of send_gdb/gdb_expect.
2421
b4429ea2
YQ
24222014-04-22 Yao Qi <yao@codesourcery.com>
2423
2424 * lib/trace-support.exp (generate_tracefile): New procedure.
2425 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
2426 return 0.
2427 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
2428 if generate_tracefile returns 1.
2429
51d48146
PA
24302014-04-18 Tom Tromey <palves@redhat.com>
2431 Pedro alves <tromey@redhat.com>
2432
2433 PR backtrace/15558
2434 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
2435 with a backtrace limit.
2436 * gdb.python/py-frame-inline.exp: Test running to an inline
2437 function with a backtrace limit, and printing the newest frame.
2438 * gdb.python/py-frame-inline.c (main): Call f.
2439
bd1dce5f
MS
24402014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2441
2442 * gdb.java/jnpe.exp: Drop srcdir from untested path.
2443
40d1a503
MS
24442014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2445
2446 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
2447 Drop prefix from unsupported source file path.
2448
389b98f7
YQ
24492014-04-17 Yao Qi <yao@codesourcery.com>
2450
2451 * lib/gdb.exp (with_target_charset): New proc.
2452 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
2453 with_target_charset.
2454 (test_print_strings): Likewise.
2455 (test_repeat_bytes): Likewise.
2456 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
2457 for some tests.
2458
22869d73
KS
24592014-04-16 Keith Seitz <keiths@redhat.com>
2460
2461 PR gdb/15827
2462 * gdb.dwarf2/corrupt.c: New file.
2463 * gdb.dwarf2/corrupt.exp: New file.
2464
c4f87ca6
KS
24652014-04-16 Keith Seitz <keiths@redhat.com>
2466
2467 PR c++/16597
2468 * gdb.cp/namelessclass.cc: New file.
2469 * gdb.cp/namelessclass.exp: New file.
2470 * gdb.cp/namelessclass.S: New file.
2471
ab19de87
DE
24722014-04-16 Doug Evans <dje@google.com>
2473
2474 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
2475 Add comment.
2476 (gdbserver_default_get_comm_port): New function.
2477 (gdbserver_start): Check if board file provided
2478 "gdbserver,get_comm_port" and use it if so.
2479 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
2480 (gdb,socketport): Set to "stdio".
2481 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
2482 (stdio_gdbserver_template): Delete.
2483 (${board}_get_remote_address): Update.
2484 (${board}_build_remote_cmd): Delete.
2485 (${board}_get_comm_port): New function.
2486 (${board}_spawn): Update.
2487 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
2488 Delete.
2489 (${board}_get_remote_address): Update.
2490 (${board}_get_comm_port): New function.
2491
fc98a809
AB
24922014-04-16 Andrew Burgess <aburgess@broadcom.com>
2493
2494 * gdb.base/memattr.exp: Improve regexps to handle memory regions
2495 appearing in any order.
2496
87fd9e6e
DE
24972014-04-15 Doug Evans <dje@google.com>
2498
2499 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
2500 uninitialized value of "description".
2501
099fc3ea
KS
25022014-04-15 Keith Seitz <keiths@redhat.com>
2503
2504 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
2505 Remove unused globals.
2506 (test_running_the_program): Likewise.
2507 (test_controlled_execution): Likewise.
2508 (test_controlling_breakpoints): Likewise.
2509 (test_program_termination): Likewise.
2510
5da151d4
KS
25112014-04-15 Keith Seitz <keiths@redhat.com>
2512
2513 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
2514 unused globals.
2515 (test_rbreak_creation_and_listing): Likewise.
2516 (test_ignore_count): Likewise.
2517 (test_error): Likewise.
2518
35e5d2f0
PA
25192014-04-15 Pedro Alves <palves@redhat.com>
2520
2521 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2522 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2523 sym-file-loader.c.
2524 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2525 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2526 to sym-file-loader.c.
2527 (struct library): Forward declare.
2528 (load_shlib, lookup_function): Change prototypes.
2529 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2530 (translate_offset): Remove declarations.
2531 (get_text_addr): New declaration.
2532 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2533 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2534 sym-file-loader.h.
2535 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2536 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2537 here from sym-file-loader.h.
2538 (struct library): New structure.
2539 (load_shlib, lookup_function): Change prototypes and adjust to
2540 work with a struct library.
2541 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2542 (translate_offset): Make static.
2543 (get_text_addr): New function.
2544 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
2545
eb4c1710
PA
25462014-04-15 Pedro Alves <palves@redhat.com>
2547
2548 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
2549
2d1baf52
PA
25502014-04-15 Pedro Alves <palves@redhat.com>
2551
2552 * gdb.base/sym-file-loader.c: Include <limits.h>.
2553 (SELF_LINK): New define.
2554 (get_origin): New function.
2555 (load_shlib): Use it.
2556 * gdb.base/sym-file.exp: Don't early return if the target is
2557 remote. Use runto_main, and issue fail is that fails. Use
2558 gdb_load_shlibs.
2559 (shlib_name): Delete.
2560 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
2561
7dd6df01
PA
25622014-04-15 Pedro Alves <palves@redhat.com>
2563
2564 * gdb.base/sym-file.exp: Remove regex characters from test
2565 message. Don't refer to breakpoint numbers in test messages.
2566
b50c8614
KS
25672014-04-14 Keith Seitz <keiths@redhat.com>
2568
2569 PR c++/16253
2570 * gdb.cp/var-tag.cc: New file.
2571 * gdb.cp/var-tag.exp: New file.
2572 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2573 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2574 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2575 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2576
3d567982
TT
25772014-04-14 Tom Tromey <tromey@redhat.com>
2578
2579 * gdb.cp/classes.exp (test_enums): Handle underlying type.
2580 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
2581 type.
2582 * gdb.cp/enum-class.exp: New file.
2583 * gdb.cp/enum-class.cc: New file.
2584
0626fc76
TT
25852014-04-14 Tom Tromey <tromey@redhat.com>
2586
2587 * gdb.dwarf2/enum-type.exp: New file.
2588
dca325b3
SA
25892014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2590
2591 * gdb.mi/mi-vla-c99.exp: New file.
2592 * gdb.mi/vla.c: New file.
2593
5854b38a
SA
25942014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2595
2596 * gdb.base/vla-datatypes.c: New file.
2597 * gdb.base/vla-datatypes.exp: New file.
2598
463bb957
SA
25992014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2600
2601 * gdb.base/vla-ptr.c: New file.
2602 * gdb.base/vla-ptr.exp: New file.
2603
3dd170be
SA
26042014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2605
2606 * gdb.dwarf2/count.exp: New file.
2607
5ecaaa66
SA
26082014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2609
2610 * gdb.base/vla-sideeffect.c: New file.
2611 * gdb.base/vla-sideeffect.exp: New file.
2612
41f1ada5
DB
26132014-04-14 David Blaikie <dblaikie@gmail.com>
2614
2615 * gdb.mi/non-stop.c: Add return value for non-void function return
2616 statement.
2617 * gdb.threads/staticthreads.c: Ditto.
2618
0be03e84
DE
26192014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2620 Doug Evans <xdje42@gmail.com>
2621
2622 * gdb.guile/scm-value.c: Improve test case.
2623 * gdb.guile/scm-value.exp: Add new test.
2624
f180a1fb
DB
26252014-04-11 David Blaikie <dblaikie@gmail.com>
2626
2627 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2628 override Clang's default.
2629
6b662e19
JB
26302014-04-11 Joel Brobecker <brobecker@adacore.com>
2631
2632 Revert the following changes (regressions):
2633
2634 * gdb.base/vla-sideeffect.c: New file.
2635 * gdb.base/vla-sideeffect.exp: New file.
2636
2637 * gdb.dwarf2/count.exp: New file.
2638
2639 * gdb.base/vla-multi.c: New file.
2640 * gdb.base/vla-multi.exp: New file.
2641
2642 * gdb.base/vla-ptr.c: New file.
2643 * gdb.base/vla-ptr.exp: New file.
2644
2645 * gdb.base/vla-datatypes.c: New file.
2646 * gdb.base/vla-datatypes.exp: New file.
2647
2648 * gdb.mi/mi-vla-c99.exp: New file.
2649 * gdb.mi/vla.c: New file.
2650
245a5f0b
KS
26512014-04-11 Keith Seitz <keiths@redhat.com>
2652
2653 PR c++/16675
2654 * gdb.cp/cpsizeof.exp: New file.
2655 * gdb.cp/cpsizeof.cc: New file.
2656
58a84dcf
SA
26572014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2658
191a8a90
JB
2659 * gdb.mi/mi-vla-c99.exp: New file.
2660 * gdb.mi/vla.c: New file.
58a84dcf 2661
c8655f75
SA
26622014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2663
2664 * gdb.base/vla-datatypes.c: New file.
2665 * gdb.base/vla-datatypes.exp: New file.
2666
024e13b4
SA
26672014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2668
2669 * gdb.base/vla-ptr.c: New file.
2670 * gdb.base/vla-ptr.exp: New file.
2671
1a237e0e
SA
26722014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2673
2674 * gdb.base/vla-multi.c: New file.
2675 * gdb.base/vla-multi.exp: New file.
2676
504f3432
SA
26772014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2678
2679 * gdb.dwarf2/count.exp: New file.
2680
3bce8237
SA
26812014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2682
191a8a90
JB
2683 * gdb.base/vla-sideeffect.c: New file.
2684 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 2685
322f9c21
YQ
26862014-04-11 Yao Qi <yao@codesourcery.com>
2687
2688 * gdb.base/completion.exp: Check file exists before running tests
2689 on file completion.
2690
d708bcd1
PA
26912014-04-10 Pedro Alves <palves@redhat.com>
2692
2693 * gdb.base/cond-eval-mode.c: New file.
2694 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2695 prepare_for_testing to build the new file. Check result of
2696 runto_main.
2697 (test_break, test_watch): New procedures.
2698 (top level): Use them.
2699
ae1d2761
PM
27002014-04-08 Pierre Muller <muller@sourceware.org>
2701
2702 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2703 Ctrl-V use for mingw hosts.
2704
7af389b8
SC
27052014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2706
2707 * gdb.python/py-value.c: Improve test case.
2708 * gdb.python/py-value.exp: Add new test.
2709
5e703181
DE
27102014-04-07 David Blaikie <dblaikie@gmail.com>
2711
2712 * lib/compiler.c: Identify the clang compiler.
2713 * lib/compiler.cc: Ditto.
2714
9810b410
YQ
27152014-04-03 Yao Qi <yao@codesourcery.com>
2716
2717 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2718
98d1b8dc
AB
27192014-04-01 Anton Blanchard <anton@samba.org>
2720
2721 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2722 messages unique.
2723
3114cea1
AB
27242014-04-01 Anton Blanchard <anton@samba.org>
2725
2726 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2727 prepare_for_testing.
2728
62f7182c
AB
27292014-04-01 Anton Blanchard <anton@samba.org>
2730
2731 * gdb.arch/ppc64-atomic-inst.c: Remove.
2732 * gdb.arch/ppc64-atomic-inst.S: New file.
2733 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2734
770e7fc7
DE
27352014-03-31 Doug Evans <dje@google.com>
2736
2737 * gdb.base/print-symbol-loading-lib.c: New file.
2738 * gdb.base/print-symbol-loading-main.c: New file.
2739 * gdb.base/print-symbol-loading.exp: New file.
2740
46e2bafa
YQ
27412014-03-31 Yao Qi <yao@codesourcery.com>
2742
2743 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2744
8776cfe9
JB
27452014-03-28 Joel Brobecker <brobecker@adacore.com>
2746
2747 * gdb.ada/mi_dyn_arr: New testcase.
2748
5d1ef361
DE
27492014-03-27 Doug Evans <dje@google.com>
2750
2751 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2752
b5bee914
YQ
27532014-03-27 Yao Qi <yao@codesourcery.com>
2754
2755 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2756 if target is nios2-*-*.
2757
0d4d0e77
YQ
27582014-03-26 Yao Qi <yao@codesourcery.com>
2759
2760 * lib/gdb.exp (readline_is_used): New proc.
2761 * gdb.base/completion.exp: Move tests on command complete up.
2762 Skip the rest of tests if readline is not used.
2763 * gdb.ada/complete.exp: Skp the test if readline is not
2764 used.
2765 * gdb.base/filesym.exp: Likewise.
2766 * gdb.base/macscp.exp: Likewise.
2767 * gdb.base/readline-ask.exp: Likewise.
2768 * gdb.base/readline.exp: Likewise.
2769 * gdb.python/py-cmd.exp: Likewise.
2770 * gdb.trace/tfile.exp: Likewise.
2771
29361eee
YQ
27722014-03-26 Yao Qi <yao@codesourcery.com>
2773
2774 * gdb.base/macscp.exp: Fix code format issues.
2775
bc9a5525
UW
27762014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2777
2778 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2779 * gdb.asm/powerpc64le.inc: New file.
2780
d3839ede
PA
27812014-03-25 Pedro Alves <palves@redhat.com>
2782 Doug Evans <dje@google.com>
2783
2784 * gdb.base/source-execution.c: New file.
2785 * gdb.base/source-execution.exp: New file.
2786 * gdb.base/source-execution.gdb: New file.
2787
01672a57
DE
27882014-03-24 Doug Evans <dje@google.com>
2789
2790 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2791 using fission.
2792
88bbeca9
HZ
27932014-03-24 Hui Zhu <hui@codesourcery.com>
2794 Pedro Alves <palves@redhat.com>
2795
2796 PR breakpoints/16101
2797 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2798 test pass/fail messages. Detect missing support for dprintf when
2799 breakpoints are actually inserted.
2800 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2801 breakpoints are actually inserted.
2802 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2803 fails.
2804
d2348791
JK
28052014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2806
2807 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2808
feef67ab
DE
28092014-03-22 Doug Evans <xdje42@gmail.com>
2810
2811 * gdb.python/python.exp (python not supported): Verify multi-line
2812 python command issues an error.
25d743f9 2813 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 2814 guile command issues an error.
feef67ab 2815
ecebef6a
MR
28162014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2817
2818 * gdb.threads/thread-specific.exp: Handle the lack of usable
2819 $this_breakpoint and $this_thread.
2820
ccdd1909
HZ
28212014-03-21 Hui Zhu <hui@codesourcery.com>
2822
2823 * gdb.base/attach.exp (do_command_attach_tests): New.
2824
beb460e8
PA
28252014-03-20 Tom Tromey <tromey@redhat.com>
2826 Pedro Alves <palves@redhat.com>
2827
2828 PR cli/15718
2829 * gdb.base/condbreak-call-false.c: New file.
2830 * gdb.base/condbreak-call-false.exp: New file.
2831
40acf43a
PA
28322014-03-20 Pedro Alves <palves@redhat.com>
2833
2834 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2835 Delete.
2836 (block_signals, unblock_signals): Delete.
2837 (child_function_2, main): Remove references to deleted variable
2838 and functions.
2839
9f5e1e02
PA
28402014-03-20 Pedro Alves <palves@redhat.com>
2841
2842 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2843 Use pthread_kill to signal thread 2.
2844 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2845 Adjust to make the test send itself a signal rather than using the
2846 host's "kill" command.
2847
99619bea
PA
28482014-03-20 Pedro Alves <palves@redhat.com>
2849
2850 * gdb.threads/multiple-step-overs.c: New file.
2851 * gdb.threads/multiple-step-overs.exp: New file.
2852 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2853 Adjust expected infrun debug output.
2854
2adfaa28
PA
28552014-03-20 Pedro Alves <palves@redhat.com>
2856
2857 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2858 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2859
31e77af2
PA
28602014-03-20 Pedro Alves <palves@redhat.com>
2861
2862 PR breakpoints/7143
2863 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2864 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2865 of gdb_test_multiple.
2866 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2867 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2868
b9f437de
PA
28692014-03-20 Pedro Alves <palves@redhat.com>
2870
2871 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2872 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2873
05adc73e
PA
28742014-03-19 Pedro Alves <palves@redhat.com>
2875
2876 * gdb.base/async.exp: Remove early return.
2877
6048b950
PA
28782014-03-19 Pedro Alves <palves@redhat.com>
2879
2880 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2881
8bcfb00a
PA
28822014-03-19 Pedro Alves <palves@redhat.com>
2883
2884 * gdb.base/async.exp (test_background): Expect \r\n after
2885 "completed." in the fail pattern.
2886
884e37dc
PA
28872014-03-19 Pedro Alves <palves@redhat.com>
2888
2889 * gdb.base/async.exp (test_background): New procedure.
2890 Use it for all background execution command tests.
2891
148e57e2
PA
28922014-03-19 Pedro Alves <palves@redhat.com>
2893
2894 * gdb.base/async.exp: Use prepare_for_testing.
2895
f48088c7
PA
28962014-03-19 Pedro Alves <palves@redhat.com>
2897
2898 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2899 the same line.
2900
e2f6c966
PA
29012014-03-19 Pedro Alves <palves@redhat.com>
2902
2903 * gdb.base/async.c (main): Add "jump here" and "until here" line
2904 marker comments.
2905 * gdb.base/async.exp (jump_here): New global.
2906 (jump& test): Use it.
2907 (until_here): New global.
2908 (until& test): Use it.
2909
c30568d4
PA
29102014-03-19 Pedro Alves <palves@redhat.com>
2911
2912 * gdb.base/async.exp: Don't frob gdb_protocol.
2913
0172b6a7
DE
29142014-03-18 Doug Evans <xdje42@gmail.com>
2915
2916 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2917 Fix spelling of exec-done-display.
2918
06c868a8
JK
29192014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2920
2921 PR gdb/15358
2922 * gdb.base/gdb-sigterm.c: New file.
2923 * gdb.base/gdb-sigterm.exp: New file.
2924
0c7e1a46
PA
29252014-03-18 Pedro Alves <palves@redhat.com>
2926
2927 PR gdb/13860
2928 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2929 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2930 solib-event.
2931
f7c77d93
JB
29322014-03-17 Joel Brobecker <brobecker@adacore.com>
2933
2934 * gdb.ada/pckd_arr_ren: New testcase.
2935
5a1e8c7a
DE
29362014-03-13 Doug Evans <xdje42@gmail.com>
2937
2938 PR guile/16612
2939 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2940 collect after discarding symbols.
2941
350e1a76
DE
29422014-03-13 Ludovic Courtès <ludo@gnu.org>
2943 Doug Evans <xdje42@gmail.com>
2944
2945 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2946 to history survives a gc.
2947
a69900ae
PA
29482014-03-13 Pedro Alves <palves@redhat.com>
2949
2950 * gdb.base/default.exp: Don't test "target procfs".
2951
5db9f0bd
PA
29522014-03-13 Pedro Alves <palves@redhat.com>
2953
2954 * gdb.base/default.exp: Update "target child" and "target procfs"
2955 tests to not expect "Unix".
2956
b3ccfe11
TT
29572014-03-12 Tom Tromey <tromey@redhat.com>
2958
2959 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2960 New procs. Add target-async tests.
2961 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2962 Add target-async tests.
2963
646f4417
AA
29642014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2965
2966 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2967 'func_start' and 'func_end' for the beginning and end of the
2968 function code, respectively.
2969 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2970 'func_end' instead of 'func' and 'main'.
2971
288c211f
AA
29722014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2973
2974 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2975 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2976 generate the debug info assembler source.
2977
e0c0f156
AA
29782014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2979
2980 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2981 * gdb.dwarf2/arr-subrange.exp: Likewise.
2982 * gdb.dwarf2/dwz.exp: Likewise.
2983 * gdb.dwarf2/method-ptr.exp: Likewise.
2984 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2985 * gdb.dwarf2/subrange.exp: Likewise.
2986 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2987 * gdb.dwarf2/implptrpiece.exp: Likewise.
2988 * gdb.dwarf2/nostaticblock.exp: Likewise.
2989
0e5c4555
AA
29902014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2991
2992 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2993 directory to absolute path name arguments.
2994
5ec18f2b
JG
29952014-03-10 Joel Brobecker <brobecker@adacore.com>
2996
2997 * gdb.ada/tagged_access: New testcase.
2998
847fc4f2
MM
29992014-03-07 Markus Metzger <markus.t.metzger@intel.com>
3000
3001 * gdb.btrace/data.exp: Update expected output.
3002
cc3da688
YQ
30032014-03-06 Yao Qi <yao@codesourcery.com>
3004
3005 * gdb.trace/pr16508.exp: New file.
3006
0f26cec1
PA
30072014-03-05 Pedro Alves <palves@redhat.com>
3008
3009 PR gdb/16575
3010 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
3011 procedure.
3012 (top level): Adjust to use it. Add tests that exercise breakpoint
3013 interaction with the code-cache.
3014
7a5a839f
LC
30152014-02-26 Ludovic Courtès <ludo@gnu.org>
3016
3017 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
3018 test for 'history-append!'.
3019
31aa7e4e
JB
30202014-02-26 Joel Brobecker <brobecker@adacore.com>
3021
3022 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
3023 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
3024 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
3025 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
3026 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
3027 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
3028
1b588015
JB
30292014-02-26 Joel Brobecker <brobecker@adacore.com>
3030
3031 * testsuite/gdb.python/py-pp-re-notag.c: New file.
3032 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
3033 * testsuite/gdb.python/py-pp-re-notag.p: New file.
3034
55426c9d
JB
30352014-02-26 Joel Brobecker <brobecker@adacore.com>
3036
3037 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
3038
dc53a7ad
JB
30392014-02-26 Joel Brobecker <brobecker@adacore.com>
3040
3041 * gdb.dwarf2/arr-stride.c: New file.
3042 * gdb.dwarf2/arr-stride.exp: New file.
3043
12ab52e9
PA
30442014-02-26 Pedro Alves <palves@redhat.com>
3045
3046 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
3047 that won't ever trigger. Make sure that GDB reports the correct
3048 breakpoint that caused the stop.
3049
849c862e
JK
30502014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3051
3052 PR gdb/16626
3053 * gdb.base/auto-load-script: New file.
3054 * gdb.base/auto-load.c: New file.
3055 * gdb.base/auto-load.exp: New file.
3056
71b7d793
JK
3057 PR gdb/16626
3058 * gdb.base/auto-load.exp: Fix out-of-srctree run.
3059
e2f0d509
JK
30602014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3061
3062 Fix dw2-icycle.exp -fsanitize=address GDB crash.
3063 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
3064
50cc37c8
DE
30652014-02-24 Doug Evans <dje@google.com>
3066
3067 * lib/gdb.exp (run_on_host): Log error output if program fails.
3068
ea4758f2
PA
30692014-02-21 Pedro Alves <palves@redhat.com>
3070
3071 * gdb.threads/step-after-sr-lock.c: Rename to ...
3072 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
3073 * gdb.threads/step-after-sr-lock.exp: Rename to ...
3074 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3075 ... this.
3076
d7b30f67
SDJ
30772014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
3078
3079 PR tdep/16397
3080 * gdb.arch/amd64-stap-special-operands.exp: New file.
3081 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
3082 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
3083 * gdb.arch/amd64-stap-triplet.S: Likewise.
3084 * gdb.arch/amd64-stap-triplet.c: Likewise.
3085
83deb43f
JB
30862014-02-20 Joel Brobecker <brobecker@adacore.com>
3087
3088 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
3089 in .section pseudo-op.
3090
adde2bff
DE
30912014-02-20 lin zuojian <manjian2006@gmail.com>
3092 Joel Brobecker <brobecker@adacore.com>
3093 Doug Evans <xdje42@gmail.com>
3094
3095 PR symtab/16581
3096 * gdb.dwarf2/dw2-icycle.S: New file.
3097 * gdb.dwarf2/dw2-icycle.c: New file.
3098 * gdb.dwarf2/dw2-icycle.exp: New file.
3099
f7bd0f78
SC
31002014-02-19 Siva Chandra Reddy <sivachandra@google.com>
3101
3102 * gdb.python/py-value-cc.cc: Improve test case to enable testing
3103 operations on gdb.Value objects.
3104 * gdb.python/py-value-cc.exp: Add new test to test operations on
3105 gdb.Value objects.
3106
c17ef0d5
DE
31072014-02-18 Doug Evans <dje@google.com>
3108
3109 * Makefile.in (TESTS): New variable.
3110 (expanded_tests, expanded_tests_or_none): New variables
3111 (check-single): Pass $(expanded_tests_or_none) to runtest.
3112 (check-parallel): Only run tests in $(TESTS) if non-empty.
3113 (check/no-matching-tests-found): New rule.
3114 * README: Document TESTS makefile variable.
3115
5dd3176f
DE
31162014-02-18 Doug Evans <dje@google.com>
3117
3118 * Makefile.in (check-parallel): rm -rf outputs temp.
3119
0b10be4f
JK
31202014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3121
3122 Fix "ERROR: no fileid for" in the testsuite.
3123 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
3124
85f224e7
DE
31252014-02-12 Doug Evans <dje@google.com>
3126
3127 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
3128 (MISCELLANEOUS): New variable.
3129 (clean): rm -rf $(MISCELLANEOUS).
3130 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
3131 dwp live in the same directory as symlinks, with each symlink pointed
3132 to a differently named file in a different directory.
3133
149b30ff
DE
31342014-02-11 Doug Evans <dje@google.com>
3135
3136 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
3137 of Tcl file commands.
3138
1dfdac32
MK
31392014-02-10 Mark Kettenis <kettenis@gnu.org>
3140
3141 * gdb.threads/step-after-sr-lock.exp: Avoid executing
3142 "kill -SIGUSR1 -1".
3143
aa4fb036
JB
31442014-02-10 Joel Brobecker <brobecker@adacore.com>
3145
3146 * gdb.ada/tick_length_array_enum_idx: New testcase.
3147
ed3ef339
DE
31482014-02-10 Doug Evans <xdje42@gmail.com>
3149
3150 * configure.ac (AC_OUTPUT): Add gdb.guile.
3151 * configure: Regenerate.
3152 * lib/gdb-guile.exp: New file.
3153 * lib/gdb.exp (get_target_charset): New function.
3154 * gdb.base/help.exp: Update expected output from "apropos apropos".
3155 * gdb.guile/Makefile.in: New file.
3156 * gdb.guile/guile.exp: New file.
3157 * gdb.guile/scm-arch.c: New file.
3158 * gdb.guile/scm-arch.exp: New file.
3159 * gdb.guile/scm-block.c: New file.
3160 * gdb.guile/scm-block.exp: New file.
3161 * gdb.guile/scm-breakpoint.c: New file.
3162 * gdb.guile/scm-breakpoint.exp: New file.
3163 * gdb.guile/scm-disasm.c: New file.
3164 * gdb.guile/scm-disasm.exp: New file.
3165 * gdb.guile/scm-equal.c: New file.
3166 * gdb.guile/scm-equal.exp: New file.
3167 * gdb.guile/scm-error.exp: New file.
3168 * gdb.guile/scm-error.scm: New file.
3169 * gdb.guile/scm-frame-args.c: New file.
3170 * gdb.guile/scm-frame-args.exp: New file.
3171 * gdb.guile/scm-frame-args.scm: New file.
3172 * gdb.guile/scm-frame-inline.c: New file.
3173 * gdb.guile/scm-frame-inline.exp: New file.
3174 * gdb.guile/scm-frame.c: New file.
3175 * gdb.guile/scm-frame.exp: New file.
3176 * gdb.guile/scm-generics.exp: New file.
3177 * gdb.guile/scm-gsmob.exp: New file.
3178 * gdb.guile/scm-iterator.c: New file.
3179 * gdb.guile/scm-iterator.exp: New file.
3180 * gdb.guile/scm-math.c: New file.
3181 * gdb.guile/scm-math.exp: New file.
3182 * gdb.guile/scm-objfile-script-gdb.in: New file.
3183 * gdb.guile/scm-objfile-script.c: New file.
3184 * gdb.guile/scm-objfile-script.exp: New file.
3185 * gdb.guile/scm-objfile.c: New file.
3186 * gdb.guile/scm-objfile.exp: New file.
3187 * gdb.guile/scm-ports.exp: New file.
3188 * gdb.guile/scm-pretty-print.c: New file.
3189 * gdb.guile/scm-pretty-print.exp: New file.
3190 * gdb.guile/scm-pretty-print.scm: New file.
3191 * gdb.guile/scm-section-script.c: New file.
3192 * gdb.guile/scm-section-script.exp: New file.
3193 * gdb.guile/scm-section-script.scm: New file.
3194 * gdb.guile/scm-symbol.c: New file.
3195 * gdb.guile/scm-symbol.exp: New file.
3196 * gdb.guile/scm-symtab-2.c: New file.
3197 * gdb.guile/scm-symtab.c: New file.
3198 * gdb.guile/scm-symtab.exp: New file.
3199 * gdb.guile/scm-type.c: New file.
3200 * gdb.guile/scm-type.exp: New file.
3201 * gdb.guile/scm-value-cc.cc: New file.
3202 * gdb.guile/scm-value-cc.exp: New file.
3203 * gdb.guile/scm-value.c: New file.
3204 * gdb.guile/scm-value.exp: New file.
3205 * gdb.guile/source2.scm: New file.
3206 * gdb.guile/types-module.cc: New file.
3207 * gdb.guile/types-module.exp: New file.
3208
7026a7c1
YQ
32092014-02-10 Yao Qi <yao@codesourcery.com>
3210
3211 PR testsuite/16543
3212 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
3213 * configure: Regenerated.
3214 * Makefile.in: New file.
3215
6c466447
AS
32162014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3217
3218 * gdb.python/py-framefilter.exp: Fix typo.
3219
6e854735
YQ
32202014-02-08 Yao Qi <yao@codesourcery.com>
3221
3222 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
3223 that no =breakpoint-modified is emitted when breakpoints are
3224 modified through MI commands.
3225
d137e6dc
PA
32262014-02-07 Pedro Alves <pedro@codesourcery.com>
3227 Pedro Alves <palves@redhat.com>
3228
3229 * gdb.threads/step-after-sr-lock.c: New file.
3230 * gdb.threads/step-after-sr-lock.exp: New file.
3231
b5ee5a50
PA
32322014-02-07 Pedro Alves <palves@redhat.com>
3233
3234 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
3235
3c77faf3
JK
32362014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3237
3238 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
3239 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
3240
6dddc817
DE
32412014-02-06 Doug Evans <xdje42@gmail.com>
3242
3243 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
3244 output.
3245
3246 * gdb.gdb/python-interrupts.exp: New file.
3247
de7b2893
YQ
32482014-02-05 Yao Qi <yao@codesourcery.com>
3249
3250 * gdb.trace/report.exp (use_collected_data): Test the output
3251 of "info threads" and "info inferiors".
3252
66d032ac
YQ
32532014-02-05 Yao Qi <yao@codesourcery.com>
3254
3255 Revert this patch:
3256
3257 2013-05-24 Yao Qi <yao@codesourcery.com>
3258
3259 * gdb.trace/tfile.exp: Test inferior and thread.
3260
591a12a1
UW
32612014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3262
3263 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
3264 on a function.
3265 * gdb.base/step-bt.c: Call hello via function pointer to make
3266 sure its first instruction is executed on powerpc64le-linux.
3267
0ff3e01f
UW
32682014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3269
3270 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
3271
084ee545
UW
32722014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3273
3274 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
3275 of the test patterns for use on little-endian systems.
3276
6ed14ff3
UW
32772014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3278
3279 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
3280 (decimal_vector): Fix for little-endian.
3281
401e27fd
JM
32822014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3283
3284 * gdb.arch/sparc-sysstep.exp: New file.
3285 * gdb.arch/sparc-sysstep.c: Likewise.
3286
3287 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
3288
8b924729
EBM
32892014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3290
3291 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
3292
fb151210
JB
32932014-01-23 Tom Tromey <tromey@redhat.com>
3294
3295 * gdb.ada/array_char_idx: New testcase.
3296
0740f8d8
TT
32972014-01-23 Tom Tromey <tromey@redhat.com>
3298
3299 PR python/16487:
3300 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
3301 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
3302 classes.
3303
21909fa1
TT
33042014-01-23 Tom Tromey <tromey@redhat.com>
3305
3306 PR python/16491:
3307 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
3308 string from an inferior frame.
3309 * gdb.python/py-framefilter-mi.exp: Update.
3310
87ce2a04
DE
33112014-01-22 Doug Evans <dje@google.com>
3312
3313 * gdb.server/server-mon.exp: Add tests for "set debug-format".
3314
237b092b
AA
33152014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3316
3317 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
3318
d674a709
AA
33192014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3320
3321 * gdb.trace/entry-values.exp: Remove excess space character from
3322 regex patterns. Handle s390 call instruction.
3323
20fa3390
AA
33242014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3325
3326 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
3327 define "*_start" label. Make "name" static.
3328 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
3329 ${name} by references to ${name}_start.
3330
78466714
AA
33312014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3332
3333 * gdb.base/info-macros.exp: Remove "debug" from the compile
3334 options.
3335
ec9f644a
IB
33362014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3337
3338 * gdb.dlang/demangle.exp: New file.
3339
94b1b47e
IB
33402014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3341
3342 * gdb.dlang/primitive-types.exp: New file.
3343
7f420862
IB
33442014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3345
3346 * configure.ac: Create gdb.dlang/Makefile.
3347 * configure: Regenerate.
3348 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
3349 * gdb.dlang/Makefile.in: New file.
3350 * lib/d-support.exp: New file.
3351 * lib/gdb.exp (skip_d_tests): New proc.
3352
52834460
MM
33532014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3354
3355 * gdb.btrace/delta.exp: Check reverse stepi.
3356 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
3357 * gdb.btrace/finish.exp: New.
3358 * gdb.btrace/next.exp: New.
3359 * gdb.btrace/nexti.exp: New.
3360 * gdb.btrace/record_goto.c: Add comments.
3361 * gdb.btrace/step.exp: New.
3362 * gdb.btrace/stepi.exp: New.
3363 * gdb.btrace/multi-thread-step.c: New.
3364 * gdb.btrace/multi-thread-step.exp: New.
3365 * gdb.btrace/rn-dl-bind.c: New.
3366 * gdb.btrace/rn-dl-bind.exp: New.
3367 * gdb.btrace/data.c: New.
3368 * gdb.btrace/data.exp: New.
3369 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3370
6e07b1d2
MM
33712014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3372
3373 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
3374 * gdb.btrace/exception.exp: Update.
3375 * gdb.btrace/instruction_history.exp: Update.
3376 * gdb.btrace/record_goto.exp: Update.
3377 * gdb.btrace/tailcall.exp: Update.
3378 * gdb.btrace/unknown_functions.exp: Update.
3379 * gdb.btrace/delta.exp: New.
3380
0b722aec
MM
33812014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3382
3383 * gdb.btrace/record_goto.exp: Add backtrace test.
3384 * gdb.btrace/tailcall.exp: Add backtrace test.
3385
066ce621
MM
33862014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3387
3388 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
3389 * gdb.btrace/record_goto.c: New.
3390 * gdb.btrace/record_goto.exp: New.
3391 * gdb.btrace/x86-record_goto.S: New.
3392
0688d04e
MM
33932014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3394
3395 * gdb.btrace/function_call_history.exp: Update tests.
3396 * gdb.btrace/instruction_history.exp: Update tests.
3397
8710b709
MM
33982014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3399
3400 * gdb.btrace/function_call_history.exp: Fix expected field
3401 order for "record function-call-history".
3402 Add new tests for "record function-call-history /c".
3403 * gdb.btrace/exception.cc: New.
3404 * gdb.btrace/exception.exp: New.
3405 * gdb.btrace/tailcall.exp: New.
3406 * gdb.btrace/x86-tailcall.S: New.
3407 * gdb.btrace/x86-tailcall.c: New.
3408 * gdb.btrace/unknown_functions.c: New.
3409 * gdb.btrace/unknown_functions.exp: New.
3410 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3411
5de9129b
MM
34122014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3413
3414 * gdb.btrace/instruction_history.exp: Update.
3415 * gdb.btrace/function_call_history.exp: Update.
3416
23a7fe75
MM
34172014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3418
3419 * gdb.btrace/function_call_history.exp: Fix expected function
3420 trace.
3421 * gdb.btrace/instruction_history.exp: Initialize traced.
3422 Remove traced_functions.
3423
724c7dd8
MM
34242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3425
3426 * gdb.btrace/function_call_history.exp: Update
3427 * gdb.btrace/instruction_history.exp: Update.
3428
6d78d93b
MM
34292014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3430
3431 * gdb.btrace/enable.exp: Update expected text.
3432
93a360cc
OJ
34332014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
3434
3435 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
3436 bytes.
3437
3772b53f
MR
34382014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
3439
3440 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
3441
596662fa
OJ
34422014-01-15 Omair Javaid <omair.javaid@linaro.org>
3443
3444 * lib/gdb.exp (supports_process_record): Return true for
3445 arm*-linux*. (supports_reverse): Likewise.
3446
b5b08fb4
SC
34472014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3448
3449 PR python/15464
3450 PR python/16113
3451 * gdb.python/py-type.c: Enhance test case.
3452 * gdb.python/py-value-cc.cc: Likewise
3453 * gdb.python/py-type.exp: Add new tests.
3454 * gdb.python/py-value-cc.exp: Likewise
3455
52d7fb13
AA
34562014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3457 Pedro Alves <palves@redhat.com>
3458
3459 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
3460 Make "name" extern.
3461 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
3462 references to ${name}_start by references to ${name}.
3463
a2cd8cfe
JB
34642014-01-10 Joel Brobecker <brobecker@adacore.com>
3465
3466 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
3467
4e23fced
JB
34682014-01-10 Joel Brobecker <brobecker@adacore.com>
3469
3470 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
3471
c6a9e42c
PA
34722014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
3473 Pedro Alves <palves@redhat.com>
3474
3475 * gdb.mi/mi-info-os.exp: Connect to the target with
3476 mi_gdb_target_load.
3477
b7ea362b
PA
34782014-01-08 Pedro Alves <palves@redhat.com>
3479
3480 * gdb.threads/reconnect-signal.c: New file.
3481 * gdb.threads/reconnect-signal.exp: New file.
3482
5e3f4fab
EBM
34832014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3484
3485 * gdb.base/source-dir.exp: New file.
3486
79301218
JB
34872014-01-07 Joel Brobecker <brobecker@adacore.com>
3488
3489 * gdb.ada/mi_interface: New testcase.
3490
8e355c5d
JB
34912014-01-07 Joel Brobecker <brobecker@adacore.com>
3492
3493 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
3494 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
3495 gdb.ada/pp-rec-component/pck.ads: New files.
3496
c0d48811
JB
34972014-01-07 Joel Brobecker <brobecker@adacore.com>
3498
3499 * gdb.python/py-pp-integral.c: New file.
3500 * gdb.python/py-pp-integral.py: New file.
3501 * gdb.python/py-pp-integral.exp: New file.
3502
17b609c3 3503For older changes see ChangeLog-1993-2013.
c906108c 3504\f
8d8cb839
EZ
3505;; Local Variables:
3506;; mode: change-log
3507;; left-margin: 8
3508;; fill-column: 74
3509;; version-control: never
3510;; End:
902f2ccb 3511
14f8b115 3512 Copyright 2014 Free Software Foundation, Inc.
902f2ccb
MC
3513 Copying and distribution of this file, with or without modification,
3514 are permitted provided the copyright notice and this notice are preserved.
This page took 2.190797 seconds and 4 git commands to generate.