]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Add _bfd_elf_ifunc_get_synthetic_symtab
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
86e4ed39
DE
12014-12-04 Doug Evans <dje@google.com>
2
3 * gdb.python/py-objfile.exp: Add tests for
4 objfile.add_separate_debug_file.
5
7c50a931
DE
62014-12-04 Doug Evans <dje@google.com>
7
8 * lib/gdb.exp (get_build_id): New function.
9 (build_id_debug_filename_get): Rewrite to use it.
10 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
11
621661e3
MR
122014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
13
14 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
15 `method(long)', not just 0x0.
16 * gdb.cp/nsalias.exp: Align code labels to 4.
17 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
18 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
19 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
20 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
21 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
22 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
23
29f0c3b7
DE
242014-12-02 Doug Evans <dje@google.com>
25
26 PR symtab/17602
27 * gdb.cp/anon-ns.cc: Move guts of this file to ...
28 * gdb.cp/anon-ns-2.cc: ... here. New file.
29 * gdb.cp/anon-ns.exp: Update.
30
162078c8
NB
312014-12-02 Nick Bull <nicholaspbull@gmail.com>
32
33 * gdb.python/py-events.py (inferior_call_handler): New.
34 (register_changed_handler, memory_changed_handler): New.
35 (test_events.invoke): Register new handlers.
36 * gdb.python/py-events.exp: Add tests for inferior call,
37 memory_changed and register_changed events.
38
fdb09caf
AA
392014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
40
41 * gdb.base/execl-update-breakpoints.exp: Specify the link address
42 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
43 if the linker doesn't understand this.
44
55cfb2c4
SM
452014-12-01 Simon Marchi <simon.marchi@ericsson.com>
46
47 * gdb.python/python.exp: Change expected reply to help().
48
9e8cd6df
YQ
492014-12-01 Yao Qi <yao@codesourcery.com>
50
51 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
52 AC_CONFIG_SUBDIRS(gdb.gdbtk).
53 * configure: Re-generated.
54
6c659fc2
SC
552014-11-28 Siva Chandra Reddy <sivachandra@google.com>
56
57 * gdb.cp/chained-calls.cc: New file.
58 * gdb.cp/chained-calls.exp: New file.
59 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
60
d7fc3181
SM
612014-11-28 Simon Marchi <simon.marchi@ericsson.com>
62
63 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
64 * gdb.dwarf2/symtab-producer.exp: Same.
65 * gdb.gdb/python-interrupts.exp: Same.
66 * gdb.gdb/python-selftest.exp: Same.
67 * gdb.python/py-linetable.exp: Same.
68 * gdb.python/py-type.exp: Same.
69 * gdb.python/py-value-cc.exp: Same.
70 * gdb.python/py-value.exp: Same.
71
10e79639
YQ
722014-11-28 Yao Qi <yao@codesourcery.com>
73
74 * gdb.base/break-probes.exp: Match library name prefixed with
75 sysroot.
76
f28a0564
SM
772014-11-27 Simon Marchi <simon.marchi@ericsson.com>
78
79 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
80 test expected output. Add parentheses for the call to print.
81 Remove L suffix from integers.
82
3fe1ce1d
DE
832014-11-26 Doug Evans <dje@google.com>
84
85 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
86
84429e27
YQ
872014-11-22 Yao Qi <yao@codesourcery.com>
88
89 * gdb.trace/entry-values.c: Remove asms.
90 (foo): Add foo_label.
91 (bar): Add bar_label.
92 * gdb.trace/entry-values.exp: Remove code computing foo's
93 length and bar's length.
94 (Dwarf::assemble): Invoke function_range for bar and use
95 MACRO_AT_func for foo.
96
26741859
YQ
972014-11-22 Yao Qi <yao@codesourcery.com>
98
99 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
100 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
101 Use .Lgcc43_procstart instead of gcc43.
102
45e44d27
JB
1032014-11-21 Joel Brobecker <brobecker@adacore.com>
104
105 * gdb.ada/n_arr_bound: New testcase.
106
458c8db8
SDJ
1072014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
108
109 PR breakpoints/10737
110 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
111 test_catch_syscall_multi_arch.
112 (test_catch_syscall_multi_arch): New function.
113
43f3e411
DE
1142014-11-20 Doug Evans <xdje42@gmail.com>
115
116 * gdb.base/maint.exp: Update expected output.
117
0d7b2549
AA
1182014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
119
120 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
121 4-byte instruction on S390.
122
8908fca5
JB
1232014-11-19 Joel Brobecker <brobecker@adacore.com>
124
125 * gdb.ada/arr_arr: New testcase.
126
4a46959e
JB
1272014-11-19 Joel Brobecker <brobecker@adacore.com>
128
129 * gdb.ada/pkd_arr_elem: New Testcase.
130
470e2f4e
LM
1312014-11-18 Luis Machado <lgustavo@codesourcery.com>
132
133 * gdb.reverse/break-precsave: Expect completion message for
134 core file reads.
135 * gdb.reverse/consecutive-precsave.exp: Likewise.
136 * gdb.reverse/finish-precsave.exp: Likewise.
137 * gdb.reverse/i386-precsave.exp: Likewise.
138 * gdb.reverse/machinestate-precsave.exp: Likewise.
139 * gdb.reverse/sigall-precsave.exp: Likewise.
140 * gdb.reverse/solib-precsave.exp: Likewise.
141 * gdb.reverse/step-precsave.exp: Likewise.
142 * gdb.reverse/until-precsave.exp: Likewise.
143 * gdb.reverse/watch-precsave.exp: Likewise.
144
a267f3ad
AA
1452014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
146
147 * gdb.base/bp-permanent.c: Include unistd.h.
148 * gdb.python/py-framefilter-mi.c (main): Add return type.
149 * gdb.python/py-framefilter.c (main): Likewise.
150 * gdb.trace/actions-changed.c (main): Likewise.
151
12084a9a
AA
1522014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
153
154 * gdb.mi/until.c: Add eye-catchers.
155 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
156 line numbers.
157
dc7e1a77
AA
1582014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
159
160 * gdb.base/condbreak.exp: Drop references to removed non-prototype
161 function header variants in break1.c.
162 * gdb.base/ena-dis-br.exp: Likewise.
163 * gdb.base/hbreak2.exp: Likewise.
164 * gdb.reverse/until-precsave.exp: Drop references to removed
165 non-prototype function header variants in ur1.c.
166 * gdb.reverse/until-reverse.exp: Likewise.
167
41c77605
PM
1682014-11-17 Petr Machata <pmachata@redhat.com>
169
170 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
171 ${_cu_offset_size} bytes abbrev offset.
172
34248c3a
DE
1732014-11-15 Doug Evans <xdje42@gmail.com>
174
175 PR symtab/17559
176 * gdb.base/line-symtabs.exp: New file.
177 * gdb.base/line-symtabs.c: New file.
178 * gdb.base/line-symtabs.h: New file.
179
646da059
YQ
1802014-11-14 Yao Qi <yao@codesourcery.com>
181
182 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
183 (func): Add label func_label.
184 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
185 Replace low_pc and high_pc with MACRO_AT_range.
186 Replace name, low_pc and high_pc with MACRO_AT_func.
187
9301ebe6
YQ
1882014-11-14 Yao Qi <yao@codesourcery.com>
189
190 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
191 Replace name, low_pc and high_pc with MACRO_AT_func.
192
f166b542
YQ
1932014-11-14 Yao Qi <yao@codesourcery.com>
194
195 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
196 produce debug information.
197 * gdb.dwarf2/implptr-optimized-out.S: Removed.
198
0f6e71e3
YQ
1992014-11-14 Yao Qi <yao@codesourcery.com>
200
201 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
202 object and get function length.
203 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
204 with MACRO_AT_func.
205 (top-level): Replace gdb_compile and clean_restart with
206 prepare_for_testing.
207 * gdb.dwarf2/main.c (main): Add label main_label.
208
876c4df9
YQ
2092014-11-14 Yao Qi <yao@codesourcery.com>
210
211 * lib/dwarf.exp (function_range): New procedure.
212 (Dwarf::_handle_macro_at_func): New procedure.
213 (Dwarf::_handle_macro_at_range): New procedure.
214 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
215
02ad9cf1
YQ
2162014-11-14 Yao Qi <yao@codesourcery.com>
217
218 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
219 (_handle_attribute): New procedure.
220
a59add0c
AA
2212014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
222
223 * gdb.ada/cond_lang/foo.c (callme): Add return type.
224 * gdb.base/call-sc.c (zed): Likewise.
225 * gdb.base/checkpoint.c (main): Likewise.
226 * gdb.base/dump.c (main): Likewise.
227 * gdb.base/gcore.c (main): Likewise.
228 * gdb.base/huge.c (main): Likewise.
229 * gdb.base/multi-forks.c (main): Likewise.
230 * gdb.base/pr10179-a.c (main): Likewise.
231 * gdb.base/savedregs.c (main): Likewise.
232 * gdb.base/sigaltstack.c (main): Likewise.
233 * gdb.base/siginfo.c (main): Likewise.
234 * gdb.base/structs.c (zed): Likewise.
235 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
236 * gdb.mi/mi-syn-frame.c (main): Likewise.
237 * gdb.mi/until.c (foo, main): Likewise.
238 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
239 * gdb.base/solib-weak.c (foo): Declare.
240 * gdb.base/attach-twice.c: Include stdio.h.
241 * gdb.base/weaklib1.c: Likewise.
242 * gdb.base/weaklib2.c: Likewise.
243 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
244 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
245 unistd.h.
246 * gdb.base/attach-pie-misread.c: Include stdlib.h.
247 * gdb.mi/mi-exit-code.c: Likewise.
248 * gdb.base/break-interp-lib.c: Include string.h.
249 * gdb.base/coremaker.c: Likewise.
250 * gdb.base/testenv.c: Likewise.
251 * gdb.python/py-finish-breakpoint.c: Likewise.
252 * gdb.base/inferior-died.c: Include sys/wait.h.
253 * gdb.base/fileio.c: Include time.h.
254 * gdb.base/async-shell.c: Include unistd.h.
255 * gdb.base/dprintf-non-stop.c: Likewise.
256 * gdb.base/info-os.c: Likewise.
257 * gdb.mi/mi-console.c: Likewise.
258 * gdb.mi/watch-nonstop.c: Likewise.
259 * gdb.python/py-events.c: Likewise.
260 * gdb.base/async.c (baz): Move up before its invocation.
261 * gdb.base/code_elim2.c (my_global_func): Likewise.
262 * gdb.base/skip-solib-lib.c (multiply): Likewise.
263 * gdb.base/advance.c (func2): Likewise.
264
3b5d5997
AA
2652014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
266
267 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
268 variant.
269 * gdb.base/annota3.c: Likewise.
270 * gdb.base/async.c: Likewise.
271 * gdb.base/average.c: Likewise.
272 * gdb.base/call-ar-st.c: Likewise.
273 * gdb.base/call-rt-st.c: Likewise.
274 * gdb.base/call-sc.c: Likewise.
275 * gdb.base/call-strs.c: Likewise.
276 * gdb.base/ending-run.c: Likewise.
277 * gdb.base/execd-prog.c: Likewise.
278 * gdb.base/exprs.c: Likewise.
279 * gdb.base/foll-exec.c: Likewise.
280 * gdb.base/foll-fork.c: Likewise.
281 * gdb.base/foll-vfork.c: Likewise.
282 * gdb.base/funcargs.c: Likewise.
283 * gdb.base/gcore.c: Likewise.
284 * gdb.base/jump.c: Likewise.
285 * gdb.base/langs0.c: Likewise.
286 * gdb.base/langs1.c: Likewise.
287 * gdb.base/langs2.c: Likewise.
288 * gdb.base/mips_pro.c: Likewise.
289 * gdb.base/nodebug.c: Likewise.
290 * gdb.base/opaque0.c: Likewise.
291 * gdb.base/opaque1.c: Likewise.
292 * gdb.base/recurse.c: Likewise.
293 * gdb.base/run.c: Likewise.
294 * gdb.base/scope0.c: Likewise.
295 * gdb.base/scope1.c: Likewise.
296 * gdb.base/setshow.c: Likewise.
297 * gdb.base/setvar.c: Likewise.
298 * gdb.base/shmain.c: Likewise.
299 * gdb.base/shr1.c: Likewise.
300 * gdb.base/shr2.c: Likewise.
301 * gdb.base/sigall.c: Likewise.
302 * gdb.base/signals.c: Likewise.
303 * gdb.base/so-indr-cl.c: Likewise.
304 * gdb.base/solib2.c: Likewise.
305 * gdb.base/structs.c: Likewise.
306 * gdb.base/sum.c: Likewise.
307 * gdb.base/vforked-prog.c: Likewise.
308 * gdb.base/watchpoint.c: Likewise.
309 * gdb.reverse/shr2.c: Likewise.
310 * gdb.reverse/until-reverse.c: Likewise.
311 * gdb.reverse/ur1.c: Likewise.
312 * gdb.reverse/watch-reverse.c: Likewise.
313
066a77c5
AA
3142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
315
316 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
317 variant.
318 * gdb.base/sepdebug.exp: Drop references to removed code.
319
4f204ea5
AA
3202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
321
322 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
323 variant. Preserve original line numbering.
324 * gdb.base/list1.c: Likewise.
325
3b377a3a
AA
3262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
327
328 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
329 variant.
330 * gdb.base/break1.c: Likewise.
331 * gdb.base/break.exp: Drop references to removed code.
332
e444df73
AA
3332014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
334
335 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
336 variant.
337
8008f2a7
AA
3382014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
339
340 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
341
a5a06887
AA
3422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
343
344 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
345 logic into perform_all_tests() and invoke it with and without
346 function header prototypes.
347 (do_function_calls): Remove conditional XFAIL for PR 5318.
348 (rerun_and_prepare): Remove duplicate code.
349 (perform_all_tests): New. Main logic moved here.
350
44dba9b9
AA
3512014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
352
353 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
354 code guarded by #ifdef NO_PROTOTYPES.
355 (t_double_many_args): Likewise.
356 (DEF_FUNC_MANY_ARGS_1): Likewise.
357 (DEF_FUNC_VALUES_1): Likewise.
358 (t_structs_ldc): Renamed from t_structs_fc in conditional code
359 guarded by #ifdef PROTOTYPES.
360
d1fbcd56
AA
3612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
362
363 * gdb.mi/mi-console.c: Add eye-catcher.
364 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
365 instead of literal line number.
366
b0e59b8f
AA
3672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
368
369 * gdb.base/shr2.c: Add eye-catcher.
370 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
371 line number.
372
78f98cca
AA
3732014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
374
375 * gdb.base/jump.c: Add eye-catchers.
376 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
377 numbers.
378
58fa2af0
AA
3792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
380
381 * gdb.base/execd-prog.c: Add eye-catchers.
382 * gdb.base/foll-exec.c: Likewise.
383 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
384 line numbers.
385
04e5059b
AA
3862014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
387
388 * gdb.base/ending-run.c: Add eye-catchers.
389 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
390 literal line numbers.
391
dbfdb174
AA
3922014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
393
394 * gdb.base/call-rt-st.c: Add eye-catchers.
395 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
396 literal line numbers.
397
888a2ade
AA
3982014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
399
400 * gdb.base/call-ar-st.c: Add eye-catchers.
401 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
402 literal line numbers.
403
6acc2dde
AA
4042014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
405
406 * gdb.base/average.c: Add eye-catchers.
407 * gdb.base/sum.c: Likewise.
408 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
409 regexps dynamically.
410
9ecfcd1d
AA
4112014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
412
413 * gdb.base/solib1.c: Add eye-catchers.
414 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
415 literal line numbers.
416
78708b7c
PA
4172014-11-12 Pedro Alves <palves@redhat.com>
418
419 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
420 leader has exited.
421
af48d08f
PA
4222014-11-12 Pedro Alves <palves@redhat.com>
423
424 * gdb.arch/i386-bp_permanent.c: New file.
425 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
426 (srcfile): Set to i386-bp_permanent.c.
427 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
428 that stepi does not execute the 'leave' instruction, instead of
429 testing it does execute.
430 * gdb.base/bp-permanent.c: New file.
431 * gdb.base/bp-permanent.exp: New file.
432
af3768e9
DE
4332014-11-10 Doug Evans <xdje42@gmail.com>
434
435 PR symtab/17564
436 * gdb.base/symtab-search-order.exp: New file.
437 * gdb.base/symtab-search-order.c: New file.
438 * gdb.base/symtab-search-order-1.c: New file.
439 * gdb.base/symtab-search-order-shlib-1.c: New file.
440
9de00a4a
PA
4412014-11-07 Pedro Alves <palves@redhat.com>
442
443 PR gdb/17511
444 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
445 i?86-*-linux*.
446
e0f52461
SC
4472014-11-03 Siva Chandra Reddy <sivachandra@google.com>
448
449 PR c++/17494
450 * gdb.cp/pr17494.cc: New file.
451 * gdb.cp/pr17494.exp: New file.
452
6ce8c980
YQ
4532014-11-02 Yao Qi <yao@codesourcery.com>
454
455 * gdb.python/python.exp: Get working directory and match the
456 output of "set extended-prompt \\w " with it.
457
02be9a71
DE
4582014-10-30 Doug Evans <dje@google.com>
459
460 * gdb.python/py-objfile.exp: Add tests for setting random attributes
461 in objfiles.
462 * gdb.python/py-progspace.exp: Add tests for setting random attributes
463 in progspaces.
464
3bdff46b
LM
4652014-10-30 Janis Johnson <janisjo@codesourcery.com>
466
467 * gdb.base/fullpath-expand.exp: Skip for a remote host.
468 * gdb.base/realname-expand.exp: Likewise.
469 * gdb.linespec/macro-relative.exp: Likewise.
470
ab917dfb
PA
4712014-10-29 Pedro Alves <palves@redhat.com>
472
473 PR gdb/17408
474 * gdb.threads/schedlock.c (some_function): New function.
475 (call_function): New global.
476 (MAYBE_CALL_SOME_FUNCTION): New macro.
477 (thread_function): Call it.
478 * gdb.threads/schedlock.exp (get_args): Add description parameter,
479 and use it instead of a global counter. Adjust all callers.
480 (get_current_thread): Use "find current thread" for test message
481 here rather than having all callers pass down the same string.
482 (goto_loop): New procedure, factored out from ...
483 (my_continue): ... this.
484 (step_ten_loops): Change parameter from test message to command to
485 use. Adjust.
486 (list_count): Delete global.
487 (check_result): New procedure, factored out from duplicate top
488 level code.
489 (continue tests): Wrap in with_test_prefix.
490 (test_step): New procedure, factored out from duplicate top level
491 code.
492 (top level): Test "step" in combination with all scheduler-locking
493 modes. Test "next" in combination with all scheduler-locking
494 modes, and in combination with stepping over a function call or
495 not.
496 * gdb.threads/next-bp-other-thread.c: New file.
497 * gdb.threads/next-bp-other-thread.exp: New file.
498
d3d4baed
PA
4992014-10-29 Pedro Alves <palves@redhat.com>
500
501 PR python/17372
502 * gdb.python/python.exp: Test a multi-line command that spawns
503 interactive Python.
504 * gdb.base/multi-line-starts-subshell.exp: New file.
505
563e8d85
YQ
5062014-10-29 Yao Qi <yao@codesourcery.com>
507
508 * gdb.base/fileio.exp: Make directories on host.
509
0ea4d52e
YQ
5102014-10-29 Yao Qi <yao@codesourcery.com>
511
512 * gdb.base/fileio.c (test_write): Close the file.
513
7f5ef605
PA
5142014-10-28 Pedro Alves <palves@redhat.com>
515
516 PR gdb/12623
517 * gdb.base/sigstep.c (no_handler): New global.
518 (main): If 'no_handler is true, set the signal handlers to
519 SIG_IGN.
520 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
521 with_sw_watch and no_handler parameters. Handle them.
522 (top level) <stepping over handler when stopped at a breakpoint
523 test>: Add a test axis for testing with a software watchpoint, and
524 another for testing with the signal handler set to SIG_IGN.
525 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
526 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
527
abbdbd03
PA
5282014-10-28 Pedro Alves <palves@redhat.com>
529
530 PR gdb/17511
531 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
532 * gdb.base/sigstep.exp (other_handler_location): New global.
533 (advance): Support stepping into the signal handler, and running
534 commands while in the handler.
535 (in_handler_map): New global.
536 (top level): In the advance test, add combinations for getting
537 into the handler with stepping commands, and for running commands
538 in the handler. Add comment descripting the advancei tests.
539
1df4399f
PA
5402014-10-28 Pedro Alves <palves@redhat.com>
541
542 * gdb.base/sigstep.exp: Use build_executable instead of
543 prepare_for_testing.
544 (top level): Move code that starts GDB, runs to main and creates a
545 display to ...
546 (restart): ... this new procedure.
547 (top level): Move backtrace from signal handler test to ...
548 (validate_backtrace): ... this new procedure.
549 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
550 with_test_prefix. Always restart GDB.
551 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
552 with_test_prefix. Always restart GDB. No need to delete
553 breakpoints after the test.
554 (test_skip_handler): Remove prefix parameter.
555 (skip_over_handler, breakpoint_to_handler)
556 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
557 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
558 restart GDB. No need to delete breakpoints after the test.
559 (top level): Use foreach to call the test procedures with
560 different commands.
561
a5b6e449
PA
5622014-10-28 Pedro Alves <palves@redhat.com>
563
564 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
565 instead of GNATS numbers.
566 * gdb.base/sigbpt.exp: Likewise.
567 * gdb.base/siginfo.exp: Likewise.
568 * gdb.base/sigstep.exp: Likewise.
569
e5f8a7cc
PA
5702014-10-27 Pedro Alves <palves@redhat.com>
571
572 * gdb.base/sigstep.c (dummy): New global.
573 (main): Issue a couple writes to the new global.
574 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
575 procedures.
576 (skip_over_handler): Use test_skip_handler.
577 (top level): Call skip_over_handler for stepi and nexti too.
578 (breakpoint_over_handler): Use test_skip_handler.
579 (top level): Call breakpoint_over_handler for stepi and nexti too.
580
763905a3
YQ
5812014-10-27 Yao Qi <yao@codesourcery.com>
582
583 * gdb.trace/tfile.c (adjust_function_address)
584 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
585 function descriptor.
586
6f259a23
DB
5872014-10-24 Don Breazeal <donb@codesourcery.com>
588
589 * gdb.base/foll-fork.exp (test_follow_fork,
590 catch_fork_child_follow): Check for updated fork messages emitted
591 from infrun.c.
592 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
593 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
594 vfork_and_exec_child_follow_through_step): Check for updated vfork
595 messages emitted from infrun.c.
596
09dd9a69
PA
5972014-10-24 Pedro Alves <palves@redhat.com>
598
599 * gdb.base/corefile.exp: Remove references to ultrix.
600 * gdb.base/interrupt.exp: Likewise.
601 * gdb.base/whatis.exp: Likewise.
602 * gdb.gdb/selftest.exp: Likewise.
603 * gdb.threads/manythreads.exp: Likewise.
604 * gdb.threads/print-threads.exp: Likewise.
605 * gdb.threads/pthreads.exp:: Likewise.
606 * gdb.threads/schedlock.exp: Likewise.
607
3433cfa5
SC
6082014-10-24 Siva Chandra Reddy <sivachandra@google.com>
609
610 * gdb.cp/non-trivial-retval.cc: Add a test case.
611 * gdb.cp/non-trivial-retval.exp: Add a test.
612
092f880b
YQ
6132014-10-20 Yao Qi <yao@codesourcery.com>
614
615 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
616 * gdb.python/py-objfile-script-gdb.py: New file.
617 * gdb.python/py-objfile-script.exp: Update reference to
618 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
619 of remote_download. Remove the dest file.
620
acbdb7f3
YQ
6212014-10-20 Yao Qi <yao@codesourcery.com>
622
623 * gdb.base/checkpoint.exp: Don't remove file copied on host.
624 * gdb.base/step-line.exp: Likewise.
625 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
626 * gdb.dwarf2/dw2-basic.exp: Likewise.
627 * gdb.dwarf2/dw2-compressed.exp: Likewise.
628 * gdb.dwarf2/dw2-filename.exp: Likewise.
629 * gdb.dwarf2/dw2-intercu.exp: Likewise.
630 * gdb.dwarf2/dw2-intermix.exp: Likewise.
631 * gdb.dwarf2/dw2-producer.exp: Likewise.
632 * gdb.dwarf2/mac-fileno.exp: Likewise.
633 * gdb.python/py-frame-args.exp: Likewise.
634 * gdb.python/py-framefilter.exp: Likewise.
635 * gdb.python/py-mi.exp: Likewise.
636 * gdb.python/py-objfile-script.exp: Likewise
637 * gdb.python/py-pp-integral.exp: Likewise.
638 * gdb.python/py-pp-re-notag.exp: Likewise.
639 * gdb.python/py-prettyprint.exp: Likewise.
640 * gdb.python/py-section-script.exp: Likewise.
641 * gdb.python/py-typeprint.exp: Likewise.
642 * gdb.python/py-xmethods.exp: Likewise.
643 * gdb.stabs/weird.exp: Likewise.
644 * gdb.xml/tdesc-regs.exp: Likewise.
645
bd286a29
KCY
6462014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
647
648 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
649 (out_cu): Use addr_len for the size of addresses.
650 (out_line): Likewise. Size DW_LNE_set_address instruction
651 according to addr_len.
652 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
653 (FUNC): Add START_INSNS to definition.
654
673dc4a0
YQ
6552014-10-18 Yao Qi <yao@codesourcery.com>
656
657 * gdb.base/argv0-symlink.exp: Check argv[0] value if
658 gdb_has_argv0 return true.
659 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
660 check [target_info exists noargs], check [gdb_has_argv0]
661 instead.
662 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
663 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
664 procedures.
665
4ffbba72
DE
6662014-10-17 Doug Evans <dje@google.com>
667
668 * gdb.python/py-events.exp: Update expected output for clear_objfiles
669 event.
670 * gdb.python/py-events.py: Add clear_objfiles event.
671
d096d8c1
DE
6722014-10-17 Doug Evans <dje@google.com>
673
674 * gdb.python/py-objfile.exp: Test progspace attribute.
675
a80db015
LM
6762014-10-17 Luis Machado <lgustavo@codesourcery.com>
677
678 * gdb.guile/scm-breakpoint.exp: Do not assume any
679 directory separators when matching source file paths.
680 * gdb.python/py-breakpoint.exp: Likewise.
681 * gdb.reverse/break-precsave.exp: Likewise.
682 * gdb.reverse/break-reverse.exp: Likewise.
683 * gdb.reverse/consecutive-precsave.exp: Likewise.
684 * gdb.reverse/finish-precsave.exp: Likewise.
685 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
686 * gdb.reverse/finish-reverse.exp: Likewise.
687 * gdb.reverse/i386-precsave.exp: Likewise.
688 * gdb.reverse/i387-env-reverse.exp: Likewise.
689 * gdb.reverse/i387-stack-reverse.exp: Likewise.
690 * gdb.reverse/machinestate-precsave.exp: Likewise.
691 * gdb.reverse/machinestate.exp: Likewise.
692 * gdb.reverse/sigall-precsave.exp: Likewise.
693 * gdb.reverse/solib-precsave.exp: Likewise.
694 * gdb.reverse/step-precsave.exp: Likewise.
695 * gdb.reverse/until-precsave.exp: Likewise.
696 * gdb.reverse/watch-precsave.exp: Likewise.
697 * gdb.reverse/watch-reverse.exp: Likewise.
698
b22089ab
YQ
6992014-10-17 Yao Qi <yao@codesourcery.com>
700
701 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
702 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
703
6c4486e6
PA
7042014-10-17 Pedro Alves <palves@redhat.com>
705
706 PR gdb/17471
707 * gdb.base/bg-execution-repeat.c: New file.
708 * gdb.base/bg-execution-repeat.exp: New file.
709
0ff33695
PA
7102014-10-17 Pedro Alves <palves@redhat.com>
711
712 PR gdb/17300
713 * gdb.base/continue-all-already-running.c: New file.
714 * gdb.base/continue-all-already-running.exp: New file.
715
6fdebc3d
PA
7162014-10-17 Pedro Alves <palves@redhat.com>
717
718 PR gdb/17472
719 * gdb.base/annota-input-while-running.c: New file.
720 * gdb.base/annota-input-while-running.exp: New file.
721
32a8097b
PA
7222014-10-17 Pedro Alves <palves@redhat.com>
723
724 * gdb.base/callfuncs.exp: emove references to osf.
725 * gdb.base/sigall.exp: Likewise.
726 * gdb.gdb/selftest.exp: Likewise.
727 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
728 * gdb.mi/non-stop.c: Likewise.
729 * gdb.mi/pthreads.c: Likewise.
730 * gdb.reverse/sigall-precsave.exp: Likewise.
731 * gdb.reverse/sigall-reverse.exp: Likewise.
732 * gdb.threads/pthreads.c: Likewise.
733 * gdb.threads/pthreads.exp: Likewise.
734
7a3517ff
YQ
7352014-10-17 Yao Qi <yao@codesourcery.com>
736
737 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
738 check 'target_info exists noargs'.
739 (test_command_prompt_position): Likewise.
740 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
741 Remove "set args".
742 (progvar_simple_while_test): Likewise.
743 (progvar_complex_if_while_test): Likewise.
744 (if_while_breakpoint_command_test): Likewise.
745 (infrun_breakpoint_command_test): Likewise.
746 (breakpoint_command_test): Likewise.
747 (watchpoint_command_test): Likewise.
748 (bp_deleted_in_command_test): Likewise.
749 (temporary_breakpoint_commands): Likewise.
750
bb99c472
YQ
7512014-10-16 Yao Qi <yao@codesourcery.com>
752
753 * gdb.base/remotetimeout.exp: Remove noargs checking.
754
7c16b83e
PA
7552014-10-15 Pedro Alves <palves@redhat.com>
756
757 PR breakpoints/9649
758 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
759 * gdb.base/breakpoint-in-ro-region.exp
760 (probe_target_hardware_step): New procedure.
761 (top level): Probe hardware stepping and hardware breakpoint
762 support. Test stepping through a read-only region, with both
763 "breakpoint auto-hw" on and off and both "always-inserted" on and
764 off.
765
35a49624
IB
7662014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
767
768 * gdb.dlang/demangle.exp: Update for demangling changes.
769
2d1c107c
SC
7702014-10-15 Siva Chandra Reddy <sivachandra@google.com>
771
772 * gdb.cp/non-trivial-retval.cc: Add new test cases.
773 * gdb.cp/non-trivial-retval.exp: Add new tests.
774
778811d5
SC
7752014-10-15 Siva Chandra Reddy <sivachandra@google.com>
776
777 PR c++/13403
778 PR c++/15154
779 * gdb.cp/non-trivial-retval.cc: New file.
780 * gdb.cp/non-trivial-retval.exp: New file.
781
10c5f0a8
YQ
7822014-10-15 Yao Qi <yao@codesourcery.com>
783
784 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
785 remote host.
786
65d7b369
YQ
7872014-10-15 Yao Qi <yao@codesourcery.com>
788
789 * gdb.python/py-symbol.exp: Match file base name if host is
790 remote, otherwise match file name with dir name.
791 * gdb.python/py-symtab.exp: Likewise.
792 * gdb.python/python.exp: Likewise.
793
46dc1394
YQ
7942014-10-15 Yao Qi <yao@codesourcery.com>
795
796 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
797 pattern.
798 * gdb.python/py-symtab.exp: Likewise.
799 * gdb.python/python.exp: Remove trailing ".*". Fix typo
800 locationn.
801
c40cc657
JB
8022014-10-14 Joel Brobecker <brobecker@adacore.com>
803
804 * gdb.ada/addr_arith: New testcase.
805
2abf49e1
MR
8062014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
807
808 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
809 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
810 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
811 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
812
f7088df3
SDJ
8132014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
814
815 * gdb.arch/stap-eval-lang-ada.S: Likewise.
816 * gdb.arch/stap-eval-lang-ada.c: Likewise.
817 * gdb.arch/stap-eval-lang-ada.exp: New file.
818
4dc06805
YQ
8192014-10-14 Yao Qi <yao@codesourcery.com>
820
821 * gdb.mi/mi-var-child.c (nothing1): New function.
822 (nothing2): New function.
823 (do_children_tests): Set function pointers by nothing1 and
824 nothing2.
825 * gdb.mi/mi-var-child.exp: Step over new added statements.
826 Update test to match the new output.
827 * gdb.mi/var-cmd.c (nothing1): New function.
828 (nothing2): New function.
829 (do_children_tests): Set function pointers by nothing1 and
830 nothing2.
831 * gdb.mi/mi-var-display.exp: Update test to match output.
832 Step to the line specified by $line_dct_nothing.
833 Increase the number of lines to step.
834
46a93de2
YQ
8352014-10-14 Yao Qi <yao@codesourcery.com>
836
837 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
838 tests.
839 * gdb.mi/mi2-var-child.exp: Likewise.
840
14ea52ee
DE
8412014-10-13 Doug Evans <dje@google.com>
842
843 * gdb.python/py-objfile.exp: Change name of file name test.
844
e5c6e92b
DE
8452014-10-13 Doug Evans <dje@google.com>
846
847 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
848 from the start of the CU.
849
c780cc2f
JK
8502014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
851 Yao Qi <yao@codesourcery.com>
852
853 Fix "save breakpoints" for "catch" command.
854 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
855 Remove -nonewline. Match also the added "main" line.
856
99894e11
JK
8572014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
858
859 Fix "save breakpoints" for "disable $bpnum" command.
860 * gdb.base/save-bp.c (main): Add label.
861 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
862
6e1ac5a3
JK
8632014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
864
865 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
866
754dd2b0
YQ
8672014-10-11 Yao Qi <yao@codesourcery.com>
868
869 * gdb.server/server-kill.exp: Execute command
870 "set remote trace-status-packet on" before "tstatus".
871
f90183d7
YQ
8722014-10-11 Yao Qi <yao@codesourcery.com>
873
874 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
875 (main): Call getppid.
876 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
877 and continue to it. Read variable "server_pid".
878
bf40a607
YQ
8792014-10-11 Yao Qi <yao@codesourcery.com>
880
881 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
882
052ca370
YQ
8832014-10-11 Yao Qi <yao@codesourcery.com>
884
885 * gdb.threads/thread-find.exp: Don't execute command
886 "info threads".
887 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
888 * gdb.threads/linux-dp.exp: Don't check the condition
889 $threads_created equals to zero.
890
3831839c
PA
8912014-10-10 Pedro Alves <palves@redhat.com>
892
893 * gdb.base/bigcore.exp: Remove references to IRIX.
894 * gdb.base/funcargs.exp: Likewise.
895 * gdb.base/interrupt.exp: Likewise.
896 * gdb.base/mips_pro.exp: Likewise.
897 * gdb.base/nodebug.exp: Likewise.
898 * gdb.base/setvar.exp: Likewise.
899 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
900
8b9a549d
PA
9012014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
902 Pedro Alves <palves@redhat.com>
903
904 PR symtab/14466
905 * gdb.base/vdso-warning.c: New file.
906 * gdb.base/vdso-warning.exp: New file.
907
d48ba5e8
DE
9082014-10-02 Doug Evans <dje@google.com>
909
910 * gdb.base/structs.c (main): Don't run forever.
911
2278c276
PA
9122014-10-02 Pedro Alves <palves@redhat.com>
913
914 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
915 (top level) <stop threads 1, stop threads 2>: Use it.
916
b57bacec
PA
9172014-10-02 Pedro Alves <palves@redhat.com>
918
919 * gdb.threads/break-while-running.exp (test): Add new
920 'update_thread_list' argument. Skip "info threads" if false.
921 (top level): Add new 'update_thread_list' axis.
922
13fd3ff3
PA
9232014-10-02 Pedro Alves <palves@redhat.com>
924
925 PR breakpoints/17431
926 * gdb.base/execl-update-breakpoints.c: New file.
927 * gdb.base/execl-update-breakpoints.exp: New file.
928
0fec99e8
PA
9292014-10-01 Pedro Alves <palves@redhat.com>
930
931 * gdb.base/breakpoint-in-ro-region.c: New file.
932 * gdb.base/breakpoint-in-ro-region.exp: New file.
933
2ddf4301
SM
9342014-10-01 Simon Marchi <simon.marchi@ericsson.com>
935
936 * gdb.mi/mi-exit-code.exp: New file.
937 * gdb.mi/mi-exit-code.c: New file.
938
6a5f3f43
YQ
9392014-09-30 Yao Qi <yao@codesourcery.com>
940
941 * lib/prelink-support.exp (build_executable_own_libs): Error if
942 the target isn't native.
943
345bcc73
YQ
9442014-09-30 Yao Qi <yao@codesourcery.com>
945
946 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
947 false.
948
a25a5a45
PA
9492014-09-22 Pedro Alves <palves@redhat.com>
950
951 * gdb.threads/break-while-running.exp: New file.
952 * gdb.threads/break-while-running.c: New file.
953
00ba3162
YQ
9542014-09-19 Yao Qi <yao@codesourcery.com>
955
956 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
957 Invoke test. Restart GDB with --readnow and invoke test again.
958
c3b7b696
YQ
9592014-09-19 Yao Qi <yao@codesourcery.com>
960
961 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
962 proc set_breakpoint_on_gcd_function. Invoke
963 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
964 invoke set_breakpoint_on_gcd_function again.
965
2b4fd423
DE
9662014-09-18 Doug Evans <dje@google.com>
967
968 * gdb.dwarf2/symtab-producer.exp: New file.
969
a5947601
SDJ
9702014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
971
972 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
973 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
974 * gdb.base/global-var-nested-by-dso.c: Likewise.
975 * gdb.base/global-var-nested-by-dso.exp: Likewise.
976
91c19059
SDJ
9772014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
978 Pedro Alves <palves@redhat.com>
979
980 * gdb.base/watch-bitfields.exp: Pass string other than test file
981 name to prepare_for_testing.
982 (watch): New procedure.
983 (expect_watchpoint): Use with_test_prefix.
984 (top level): Factor out tests to ...
985 (test_watch_location, test_regular_watch): ... these new
986 procedures, and use with_test_prefix and gdb_continue_to_end.
987
bb9d5f81
PP
9882014-09-16 Patrick Palka <patrick@parcs.ath.cx>
989
990 PR breakpoints/12526
991 * gdb.base/watch-bitfields.exp: New file.
992 * gdb.base/watch-bitfields.c: New file.
993
635856f5
PA
9942014-09-16 Pedro Alves <palves@redhat.com>
995
996 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
997 software and hardware addresses, not software address against
998 itself.
999
7280ceea
PA
10002014-09-16 Pedro Alves <palves@redhat.com>
1001
1002 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
1003 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
1004
428b16bd
PA
10052014-09-16 Pedro Alves <palves@redhat.com>
1006
1007 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
1008 files.
1009 * gdb.base/a2-run.exp: Remove all code guarded by istarget
1010 "*-*-vxworks*" throughout.
1011 * gdb.base/break.exp: Likewise.
1012 * gdb.base/default.exp: Likewise.
1013 * gdb.base/scope.exp: Likewise.
1014 * gdb.base/sepdebug.exp: Likewise.
1015 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
1016 throughout.
1017 * gdb.base/run.c: Likewise.
1018 * gdb.base/sepdebug.c: Likewise.
1019 * gdb.hp/gdb.aCC/run.c: Likewise.
1020 * gdb.reverse/until-reverse.c: Likewise.
1021 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
1022
666d413c
YQ
10232014-09-16 Yao Qi <yao@codesourcery.com>
1024
1025 * boards/local-remote-host-native.exp: New file.
1026
57cbd724
DE
10272014-09-14 Doug Evans <xdje42@gmail.com>
1028
1029 * gdb.threads/queue-signal.c (thread_count): New variable.
1030 (thread_count_mutex, thread_count_condvar): New variables.
1031 (incr_thread_count, wait_all_threads_running): New functions.
1032 (main): Wait for all threads to be in their thread functions.
1033
81219e53
DE
10342014-09-13 Doug Evans <xdje42@gmail.com>
1035
1036 * gdb.threads/queue-signal.c: New file.
1037 * gdb.threads/queue-signal.exp: New file.
1038
3714cea7
DE
10392014-09-13 Doug Evans <xdje42@gmail.com>
1040
1041 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
1042 be consistent with what default_gdb_init uses.
1043 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
1044 the plain text of the prompt. Add some logging printfs.
1045 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
1046
fa43b1d7
PA
10472014-09-12 Pedro Alves <palves@redhat.com>
1048
1049 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
1050 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
1051 * gdb.arch/i386-size-overlap.exp: Likewise.
1052 * gdb.arch/i386-size.exp: Likewise.
1053 * gdb.arch/i386-unwind.exp: Likewise.
1054 * gdb.base/a2-run.exp: Likewise.
1055 * gdb.base/break.exp: Likewise.
1056 * gdb.base/charset.exp: Likewise.
1057 * gdb.base/chng-syms.exp: Likewise.
1058 * gdb.base/commands.exp: Likewise.
1059 * gdb.base/dbx.exp: Likewise.
1060 * gdb.base/find.exp: Likewise.
1061 * gdb.base/funcargs.exp: Likewise.
1062 * gdb.base/jit-simple.exp: Likewise.
1063 * gdb.base/reread.exp: Likewise.
1064 * gdb.base/sepdebug.exp: Likewise.
1065 * gdb.base/step-bt.exp: Likewise.
1066 * gdb.cp/mb-inline.exp: Likewise.
1067 * gdb.cp/mb-templates.exp: Likewise.
1068 * gdb.objc/basicclass.exp: Likewise.
1069 * gdb.threads/killed.exp: Likewise.
1070
9d9bf2df
EBM
10712014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1072
1073 PR tdep/17379
1074 * gdb.arch/powerpc-stackless.S: New file.
1075 * gdb.arch/powerpc-stackless.exp: New file.
1076
1cf2f1b0
JK
10772014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1078
1079 * gdb.base/attach.c: Include unistd.h.
1080 (main): Call alarm. Add label postloop.
1081 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
1082 gdb_breakpoint, gdb_continue_to_breakpoint.
1083 (test_command_line_attach_run): Kill ${testpid} in one exit path.
1084
98880d46
PA
10852014-09-11 Pedro Alves <palves@redhat.com>
1086
1087 PR gdb/17347
1088 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
1089 * gdb.base/attach.exp (test_command_line_attach_run): New
1090 procedure.
1091 (top level): Call it.
1092
4c92ff2c
PA
10932014-09-11 Pedro Alves <palves@redhat.com>
1094
1095 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
1096 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
1097 (do_command_attach_tests): Use spawn_wait_for_attach.
1098 * gdb.base/solib-overlap.exp: Likewise.
1099 * gdb.multi/multi-attach.exp: Likewise.
1100 * gdb.python/py-prompt.exp: Likewise.
1101 * gdb.python/py-sync-interp.exp: Likewise.
1102 * gdb.server/ext-attach.exp: Likewise.
1103
3adc1a7d
GKB
11042014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
1105
1106 * gdb.fortran/array-element.exp: Remove unexpected "continue"
1107 command in testcase. Simplify testcase.
1108
96334934
JB
11092014-09-10 Joel Brobecker <brobecker@adacore.com>
1110
1111 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
1112
eb479039
JB
11132014-09-10 Joel Brobecker <brobecker@adacore.com>
1114
1115 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
1116
deede10c
JB
11172014-09-10 Joel Brobecker <brobecker@adacore.com>
1118
1119 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
1120
7828a5f5
JB
11212014-09-10 Joel Brobecker <brobecker@adacore.com>
1122
1123 * gdb.dwarf2/dynarr-ptr.c: New file.
1124 * gdb.dwarf2/dynarr-ptr.exp: New file.
1125
33aeebcf
MR
11262014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1127
1128 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
1129 of 30 rather than hardcoding 120 for a slow test case. Take the
1130 `gdb,timeout' target setting into account for this calculation.
1131 Don't extend the timeout for the test cases that don't need it.
1132
7b415901
MR
11332014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1134
1135 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
1136 a factor of 2 for a slow test case. Take the `gdb,timeout'
1137 target setting into account for this calculation.
1138 * gdb.reverse/until-precsave.exp: Increase the timeout by
1139 a factor of 15 and 3 respectively rather than adding 120
1140 for a pair of slow test cases. Take the `gdb,timeout'
1141 target setting into account for this calculation.
1142
4a40f85a
MR
11432014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1144
1145 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
1146 timeout, don't pass one down to gdb_expect.
1147 (gdb_expect): Rework timeout selection.
1148
09635af7
MR
11492014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1150
1151 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
1152 exception on timeout.
1153 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
1154 (gdbserver_start_extended): Catch any `gdbserver_start' error
1155 exceptions.
1156 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
1157 * lib/mi-support.exp (mi_gdb_target_load): Catch any
1158 `gdbserver_gdb_load' error exceptions.
1159
2bdd10b7
MR
11602014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1161
1162 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
1163 120 on waiting for the TCP socket to open.
1164
316935f0
DE
11652014-09-09 Doug Evans <xdje42@gmail.com>
1166
1167 * gdb.base/default.exp (show_conv_list): Add _caller_is,
1168 _caller_matches, _any_caller_is, _any_caller_matches.
1169
83740597
DE
11702014-09-09 Doug Evans <xdje42@gmail.com>
1171
1172 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
1173
4c122fc3
YQ
11742014-09-09 Yao Qi <yao@codesourcery.com>
1175
1176 * gdb.mi/mi-var-display.exp: Set print symbol off.
1177
a9f116cb
GKB
11782014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
1179
1180 PR gdb/17035
1181 * gdb.base/commands.exp: Add tests to verify user-defined
1182 commands with empty bodies.
1183 * gdb.python/py-cmd.exp: Test that we don't show user-defined
1184 python commands in `show user command`.
1185 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
1186 scheme commands in `show user command`.
1187
c75bd3a2
JK
11882014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1189
1190 PR python/17355
1191 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
1192 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
1193 * gdb.python/py-framefilter-invalidarg.exp: New file.
1194 * gdb.python/py-framefilter-invalidarg.py: New file.
1195
faa42425
DE
11962014-09-06 Doug Evans <xdje42@gmail.com>
1197
1198 PR 15276
1199 * gdb.python/py-caller-is.c: New file.
1200 * gdb.python/py-caller-is.exp: New file.
1201
474ca4f6
SDJ
12022014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
1203
1204 PR gdb/17235
1205 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
1206 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
1207
eb0b0463
SDJ
12082014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
1209
1210 PR fortran/17237
1211 * gdb.fortran/print-formatted.exp: New file.
1212 * gdb.fortran/print-formatted.f90: Likewise.
1213
5f3b99cf
SS
12142014-09-03 Sasha Smundak <asmundak@google.com>
1215
1216 * gdb.python/py-frame.exp: Test Frame.read_register.
1217
7d793aa9
SDJ
12182014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
1219
1220 PR python/16699
1221 * gdb.python/py-completion.exp: New file.
1222 * gdb.python/py-completion.py: Likewise.
1223
fb0576e9
DE
12242014-08-28 Doug Evans <dje@google.com>
1225
1226 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
1227 eax,etc. are live with values set by gdb and thus the compiler can't
1228 use them.
1229 * gdb.arch/i386-pseudo.c (main): Ditto.
1230
ee92b0dd
DE
12312014-08-27 Doug Evans <dje@google.com>
1232
1233 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
1234
6649db35
DE
12352014-08-25 Doug Evans <dje@google.com>
1236
1237 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
1238 (main): Ditto.
1239
564b7600
DE
12402014-08-25 Doug Evans <dje@google.com>
1241
1242 * gdb.threads/thread-execl.exp: #include <stdio.h>.
1243
3881fb67
YQ
12442014-08-24 Yao Qi <yao@codesourcery.com>
1245
1246 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
1247 symbol off.
1248 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
1249
a05a36a5
DE
12502014-08-22 Doug Evans <dje@google.com>
1251
1252 PR 17276
1253 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
1254 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
1255 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
1256
7c343b48
YQ
12572014-08-22 Yao Qi <yao@codesourcery.com>
1258
1259 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
1260 * gdb.python/py-finish-breakpoint2.exp: Likewise.
1261 * gdb.python/python.exp: Likewise. Use .py file on the host
1262 instead of the build.
1263
22fd09ae
JK
12642014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1265
1266 * gdb.threads/gcore-stale-thread.c: New file.
1267 * gdb.threads/gcore-stale-thread.exp: New file.
1268
a8454a7c
PA
12692014-08-21 Pedro Alves <palves@redhat.com>
1270
1271 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
1272 * gdb.base/gcore-relro-pie.exp: Likewise.
1273 * gdb.base/gcore-relro.exp: Likewise.
1274 * gdb.base/gcore.exp: Likewise.
1275 * gdb.base/print-symbol-loading.exp: Likewise.
1276 * gdb.threads/gcore-thread.exp: Likewise.
1277 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
1278
2a31c623
PA
12792014-08-20 Pedro Alves <palves@redhat.com>
1280 Jan Kratochvil <jan.kratochvil@redhat.com>
1281
1282 * Makefile.in (EXTRA_RULES, CC): New variables, get from
1283 configure.
1284 (EXPECT): Handle READ1 being set.
1285 (all): Depend on EXTRA_RULES.
1286 (check-read1, expect-read1, read1.so, read1): New rules.
1287 * README (Testsuite Parameters): Document the READ1 make variable.
1288 (Race detection): New section.
1289 * configure: Regenerate.
1290 * configure.ac: If build==host==target, and running under a
1291 GNU/glibc system, add read1 to the extra Makefile rules.
1292 (EXTRA_RULES): AC_SUBST it.
1293 * lib/read1.c: New file.
1294
d36430db
JB
12952014-08-20 Joel Brobecker <brobecker@adacore.com>
1296
1297 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
1298 the handling of variables declared as a typedef to an array
1299 which a DW_AT_data_location attribute.
1300
9a0dc9e3
PA
13012014-08-19 Andrew Burgess <aburgess@broadcom.com>
1302 Pedro Alves <palves@redhat.com>
1303
1304 PR symtab/14604
1305 PR symtab/14605
1306 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
1307 gdb_test.
1308
0718a8da
PA
13092014-08-19 Pedro Alves <palves@redhat.com>
1310
1311 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
1312
13b448cd
YQ
13132014-08-19 Yao Qi <yao@codesourcery.com>
1314
1315 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
1316 right line.
1317
1cbf5077
DB
13182014-08-18 David Blaikie <dblaikie@gmail.com>
1319
1320 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
1321
bf0fae19
JB
13222014-08-18 Joel Brobecker <brobecker@adacore.com>
1323
1324 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
1325 attribute in array range.
1326
3c8c5dcc
JB
13272014-08-18 Joel Brobecker <brobecker@adacore.com>
1328
1329 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
1330
e66d4446
SC
13312014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1332
1333 PR c++/17132
1334 * gdb.cp/pr17132.cc: New file.
1335 * gdb.cp/pr17132.exp: New file.
1336
940df408
SC
13372014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1338
1339 * gdb.python/py-xmethods.py (A_getarrayind)
1340 (E_method_char_worker.__call__, E_method_int_worker.__call__):
1341 Use 'print' with function call syntax.
1342 (E_method_matcher.match): Fix tab vs space indentation mixup.
1343
ebcc6c3a
YQ
13442014-08-15 Yao Qi <yao@codesourcery.com>
1345
1346 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
1347 false.
1348
775e0f04
YQ
13492014-08-15 Yao Qi <yao@codesourcery.com>
1350
1351 * gdb.cp/casts.exp: Set print symbol off.
1352 * gdb.cp/class2.exp: Likewise.
1353 * gdb.cp/overload.exp: Likewise.
1354 * gdb.cp/templates.exp: Likewise.
1355
d769e349
DE
13562014-08-11 Doug Evans <dje@google.com>
1357
1358 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1359 (test_load_shlib): Update.
1360
20c6f1e1
YQ
13612014-08-09 Yao Qi <yao@codesourcery.com>
1362
1363 * gdb.base/display.exp: Invoke is_address_zero_readable.
1364 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
1365 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1366 * gdb.base/hbreak-unmapped.exp: Return if
1367 is_address_zero_readable returns true.
1368 * gdb.base/signest.exp: Likewise.
1369 * gdb.base/signull.exp: Likewise.
1370 * gdb.base/sigbpt.exp: Likewise.
1371 * gdb.guile/scm-disasm.exp: Do the test if
1372 is_address_zero_readable returns false.
1373 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
1374 * gdb.python/py-arch.exp: Likewise.
1375 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
1376 * lib/gdb.exp (is_address_zero_readable): New proc.
1377
5792e8e3
YQ
13782014-08-09 Yao Qi <yao@codesourcery.com>
1379
1380 PR testsuite/13443
1381 * gdb.mi/mi-var-display.exp: Make test messages unique.
1382
3cecbbbe
TT
13832014-08-04 Tom Tromey <tromey@redhat.com>
1384
1385 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
1386 target 0".
1387
00b51ff5
TT
13882014-08-04 Tom Tromey <tromey@redhat.com>
1389
1390 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
1391 "target_resume".
1392
6908c509
JB
13932014-08-01 Joel Brobecker <brobecker@adacore.com>
1394
1395 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
1396 inner_vla_struct_object_size.
1397 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
1398 as xfail.
1399
cc6563d2
PA
14002014-07-30 Pedro Alves <palves@redhat.com>
1401
1402 * gdb.threads/signal-command-handle-nopass.exp (test): Add
1403 comment.
1404
7e09a223
YQ
14052014-07-29 Yao Qi <yao@codesourcery.com>
1406
1407 PR gdb/17206
1408 * gdb.base/until-nodebug.exp: New.
1409
7ebdbe92
DE
14102014-07-28 Doug Evans <xdje42@gmail.com>
1411
1412 PR guile/17203
1413 * gdb.guile/scm-parameter.exp: Add tests for trying to create
1414 previously existing parameter, and previously ambiguously spelled
1415 parameter.
1416
fdb1adc6
WN
14172014-07-28 Will Newton <will.newton@linaro.org>
1418
1419 * gdb.base/varargs.exp: Remove KFAILs for ARM.
1420
186fcde0
DE
14212014-07-26 Ludovic Courtès <ludo@gnu.org>
1422 Doug Evans <xdje42@gmail.com>
1423
1424 PR guile/17146
1425 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
1426
70509625
PA
14272014-07-25 Pedro Alves <palves@redhat.com>
1428
1429 * gdb.threads/signal-command-handle-nopass.c: New file.
1430 * gdb.threads/signal-command-handle-nopass.exp: New file.
1431 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
1432 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
1433 * gdb.threads/signal-delivered-right-thread.c: New file.
1434 * gdb.threads/signal-delivered-right-thread.exp: New file.
1435
c3f814a1
PA
14362014-07-25 Pedro Alves <palves@redhat.com>
1437
1438 * gdb.base/double-prompt-target-event-error.exp
1439 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
1440 match.
1441 (cancel_pagination_in_target_event): Rework double prompt
1442 detection.
1443 * gdb.base/paginate-after-ctrl-c-running.exp
1444 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
1445 <return>' match.
1446 * gdb.base/paginate-bg-execution.exp
1447 (test_bg_execution_pagination_return)
1448 (test_bg_execution_pagination_cancel): Remove '-notransfer
1449 <return>' matches.
1450 * gdb.base/paginate-execution-startup.exp
1451 (test_fg_execution_pagination_return)
1452 (test_fg_execution_pagination_cancel): Remove '-notransfer
1453 <return>' matches.
1454 * gdb.base/paginate-inferior-exit.exp
1455 (test_paginate_inferior_exited): Remove '-notransfer <return>'
1456 match.
1457 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
1458 * lib/gdb.exp (pagination_prompt): Run text through
1459 string_to_regexp.
1460 (gdb_test_multiple): Match $pagination_prompt instead of
1461 "<return>".
1462 (string_to_regexp): Move to lib/gdb-utils.exp.
1463
e214cf6c
JK
14642014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1465
1466 * gdb.arch/amd64-entry-value-paramref.S: New file.
1467 * gdb.arch/amd64-entry-value-paramref.cc: New file.
1468 * gdb.arch/amd64-entry-value-paramref.exp: New file.
1469 * gdb.arch/amd64-optimout-repeat.S: New file.
1470 * gdb.arch/amd64-optimout-repeat.c: New file.
1471 * gdb.arch/amd64-optimout-repeat.exp: New file.
1472
17d0c5c8
JK
14732014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1474
1475 PR gdb/17170
1476 * gdb.base/statistics.exp: New file.
1477
b8b8facf
DE
14782014-07-17 Doug Evans <dje@google.com>
1479
74b49205 1480 PR gdb/17170
b8b8facf
DE
1481 * gdb.base/maint.exp: Update testing of per-command stats.
1482
1b5d0ab3
PA
14832014-07-16 Pedro Alves <palves@redhat.com>
1484
1485 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
1486 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
1487 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
1488 (tfile_write_buf): New functions.
1489 (add_memory_block): Rewrite using the above.
1490 (adjust_function_address): New function.
1491 (FUNCTION_ADDRESS): New macro.
1492 (write_basic_trace_file): Remove short_x local, and use
1493 tfile_write_16. Change type of func_addr local to unsigned long
1494 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
1495 here. Cast argument of add_memory_block to char pointer.
1496 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
1497 (main): Remove parameters.
1498 * gdb.trace/tfile.exp: Remove nowarnings.
1499
4d974e88
SM
15002014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1501
1502 * gdb.base/debug-expr.exp: Test string evaluation with
1503 "debug expression" on.
1504
41e99568
PA
15052014-07-15 Pedro Alves <palves@redhat.com>
1506
1507 * gdb.base/reread.exp: Use clean_restart.
1508
487d9753
PL
15092014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1510
1511 * gdb.arch/avr-flash-qualifer.c: New.
1512 * gdb.arch/avr-flash-qualifer.exp: New.
1513
cc1c52ad
PA
15142014-07-14 Pedro Alves <palves@redhat.com>
1515
1516 * gdb.base/paginate-after-ctrl-c-running.c: New file.
1517 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1518
1e973570
PA
15192014-07-14 Pedro Alves <palves@redhat.com>
1520
1521 * gdb.base/double-prompt-target-event-error.c: New file.
1522 * gdb.base/double-prompt-target-event-error.exp: New file.
1523
93d6eb10
PA
15242014-07-14 Pedro Alves <palves@redhat.com>
1525
1526 PR gdb/17072
1527 * gdb.base/paginate-inferior-exit.c: New file.
1528 * gdb.base/paginate-inferior-exit.exp: New file.
1529
0017922d
PA
15302014-07-14 Pedro Alves <palves@redhat.com>
1531
1532 PR gdb/17072
1533 * gdb.base/paginate-bg-execution.c: New file.
1534 * gdb.base/paginate-bg-execution.exp: New file.
1535
94696ad3
PA
15362014-07-14 Pedro Alves <palves@redhat.com>
1537
1538 PR gdb/17072
1539 * gdb.base/paginate-execution-startup.c: New file.
1540 * gdb.base/paginate-execution-startup.exp: New file.
1541 * lib/gdb.exp (pagination_prompt): New global.
1542 (default_gdb_spawn): New procedure, factored out from
1543 default_gdb_spawn.
1544 (default_gdb_start): Adjust to call default_gdb_spawn.
1545 (gdb_spawn): New procedure.
1546
bd293940
PA
15472014-07-14 Pedro Alves <palves@redhat.com>
1548
1549 * lib/gdb.exp (gdb_assert): New procedure.
1550 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
1551
c933f875
PA
15522014-07-14 Pedro Alves <palves@redhat.com>
1553
1554 * gdb.base/execution-termios.c: New file.
1555 * gdb.base/execution-termios.exp: New file.
1556
d98b7a16
TT
15572014-07-14 Tom Tromey <tromey@redhat.com>
1558
1559 * gdb.cp/vla-cxx.cc: New file.
1560 * gdb.cp/vla-cxx.exp: New file.
1561
548740d6
TT
15622014-07-14 Tom Tromey <tromey@redhat.com>
1563
1564 * gdb.reverse/rerun-prec.c: New file.
1565 * gdb.reverse/rerun-prec.exp: New file.
1566
a25eb028
MR
15672014-07-12 Maciej W. Rozycki <macro@mips.com>
1568 Maciej W. Rozycki <macro@codesourcery.com>
1569
1570 * lib/gdb-utils.exp: New file.
1571 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
1572 inline `gdb_init_command' processing.
1573 (gdb_start_cmd): Likewise.
1574 * lib/mi-support.exp (mi_run_cmd): Likewise.
1575 * README: Document `gdb_init_command' and `gdb_init_commands'.
1576
218c2655
JK
15772014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1578
1579 Fix false FAIL running under a very long directory name.
1580 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1581 and "set print elements 10000". Twice.
1582
5401fde3
YQ
15832014-07-11 Yao Qi <yao@codesourcery.com>
1584
1585 * gdb.base/exprs.exp: "set print symbol off".
1586
e76126e8
PA
15872014-07-11 Pedro Alves <palves@redhat.com>
1588
1589 * gdb.threads/kill.c: New file.
1590 * gdb.threads/kill.exp: New file.
1591
2d6f0de6
YQ
15922014-07-10 Yao Qi <yao@codesourcery.com>
1593
1594 * gdb.trace/tfile.c (write_basic_trace_file)
1595 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1596 address written to trace file.
1597
7180e04a
PA
15982014-07-09 Pedro Alves <palves@redhat.com>
1599
1600 * gdb.base/attach-wait-input.exp: New file.
1601 * gdb.base/attach-wait-input.c: New file.
1602
9a9a7608
AB
16032014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1604
1605 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1606 setting up test structures.
1607 (main): Call new test function.
1608 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1609 test function, continue into test function and walk test
1610 structures.
1611
161ac41e
YQ
16122014-07-02 Yao Qi <yao@codesourcery.com>
1613
1614 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1615 'bar_start' at the beginning of functions 'foo' and 'bar'
1616 respectively.
1617 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1618 instead of 'foo' and 'bar'.
1619
1f267ae3
MM
16202014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1621
1622 * gdb.btrace/segv.exp: New.
1623 * gdb.btrace/segv.c: New.
1624
2b239efb
LM
16252014-07-02 Luis Machado <lgustavo@codesourcery.com>
1626
1627 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1628 instruction.
1629
cf363f18
MW
16302014-06-30 Mark Wielaard <mjw@redhat.com>
1631
1632 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1633 vulture, vilify, villar): New volatile array constants.
1634 (vindictive, vegetation): New const volatile array constants.
1635 * gdb.base/volatile.exp: Test volatile and const volatile array
1636 types.
1637
aebf9d24
AA
16382014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1639
1640 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1641 target lacks support for awatch, rwatch, or hbreak.
1642
b67a2c6f
YQ
16432014-06-27 Yao Qi <yao@codesourcery.com>
1644
1645 * gdb.multi/dummy-frame-restore.exp: New.
1646 * gdb.multi/dummy-frame-restore.c: New.
1647
aef92902
MM
16482014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1649
1650 * gdb.btrace/gcore.exp: New.
1651
8e9db26e
PA
16522014-06-23 Pedro Alves <palves@redhat.com>
1653
1654 * gdb.base/watchpoint-reuse-slot.c: New file.
1655 * gdb.base/watchpoint-reuse-slot.exp: New file.
1656
70afc5b7
SC
16572014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1658
1659 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1660 progspace's filename in 'info', 'enable' and 'disable' command
1661 tests.
1662
b972bd9c
JK
16632014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1664
1665 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1666 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1667 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1668
125f8a3d
GB
16692014-06-20 Gary Benson <gbenson@redhat.com>
1670
1671 * gdb.arch/i386-avx.exp: Fix include file location.
1672 * gdb.arch/i386-sse.exp: Likewise.
1673
3ed9baed
IB
16742014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1675
1676 * gdb.dlang/expression.exp: New file.
1677
034f788c
PA
16782014-06-19 Pedro Alves <palves@redhat.com>
1679
1680 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1681 out from ...
1682 (top level): ... here. Iterate running tests under different
1683 scheduler-locking settings.
1684
45371d0c
LM
16852014-06-18 Luis Machado <lgustavo@codesourcery.com>
1686
1687 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1688 to DW_FORM_addr and use non-zero addresses.
1689
5d376983
SC
16902014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1691
1692 PR gdb/17017
1693 * gdb.python/py-xmethods.cc: Add global function call counters and
1694 increment them in their respective functions. Remove "cout"
1695 statements.
1696 * gdb.python/py-xmethods.exp: Make tests check the global function
1697 call counters instead of depending on inferior IO.
1698
a1aa2221
LM
16992014-06-18 Don Breazeal <donb@codesourcery.com>
1700
1701 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1702 Deleted procedure.
1703 (explicit_fork_parent_follow): Deleted procedure.
1704 (explicit_fork_child_follow): Deleted procedure.
1705 (test_follow_fork): New procedure.
1706 (do_fork_tests): Replace calls to deleted procedures with
1707 calls to test_follow_fork and reset GDB for subsequent
1708 procedure calls.
1709
0fc05997
YQ
17102014-06-17 Yao Qi <yao@codesourcery.com>
1711
1712 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1713 CP1252.
1714
70795c52
LM
17152014-06-17 Luis Machado <lgustavo@codesourcery.com>
1716
1717 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1718 Initialize ptr and S explicitly.
1719 (skip_type_update_when_not_use_rtti_test): Likewise.
1720
6be47f0c
KS
17212014-06-16 Keith Seitz <keiths@redhat.com>
1722
1723 PR mi/15863
1724 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1725 the inferior is started.
1726
d03de421
PA
17272014-06-16 Pedro Alves <palves@redhat.com>
1728
1729 * gdb.base/break-main-file-remove-fail.c: New file.
1730 * gdb.base/break-main-file-remove-fail.exp: New file.
1731 * gdb.base/break-unload-file.exp: Use build_executable instead of
1732 prepare_for_testing.
1733 (test_break): New parameter "initial_load". Handle it.
1734 (top level): Add initial_load cmdline/file axis.
1735
f9579b99
TT
17362014-06-12 Tom Tromey <tromey@redhat.com>
1737
1738 * gdb.base/completion.exp: Don't use directory name in test.
1739
3657956b
GB
17402014-06-09 Gary Benson <gbenson@redhat.com>
1741
1742 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1743 separate the always-available ANSI-standard signals from the
1744 signals that require checking.
1745 (main): Likewise.
1746 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1747 Likewise.
1748 (main): Likewise.
1749
4186eb54
KS
17502014-06-07 Keith Seitz <keiths@redhat.com>
1751
1752 Revert:
1753 PR c++/16253
1754 * gdb.cp/var-tag.cc: New file.
1755 * gdb.cp/var-tag.exp: New file.
1756 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1757 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1758 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1759 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1760
25326a28 17612014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
1762
1763 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1764
829155c9
PA
17652014-06-06 Pedro Alves <palves@redhat.com>
1766
1767 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1768 in target debug output instead of looking at RSP packets,
1769 disabling the test on any target that uses hardware stepping.
1770 Update comments.
1771
61c8d22e
PA
17722014-06-06 Pedro Alves <palves@redhat.com>
1773
1774 * gdb.base/break-unload-file.exp: Fix typo.
1775
d9a47287
YQ
17762014-06-06 Yao Qi <yao@codesourcery.com>
1777
1778 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1779 from "jit_function" to "^jit_function".
1780
e5e01dbf
YQ
17812014-06-06 Yao Qi <yao@codesourcery.com>
1782
1783 * gdb.base/async.c (foo): Add one statement.
1784 * gdb.base/async.exp: Get the next instruction address and
1785 match the output of "nexti" by instruction address. Match
1786 the hex address in the output of "finish".
1787
73ba372c
GB
17882014-06-06 Gary Benson <gbenson@redhat.com>
1789
1790 * gdb.base/call-signals.c: Remove preprocessor conditionals
1791 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1792 SIGSEGV and SIGTERM.
1793 * gdb.base/sigall.c: Likewise.
1794 * gdb.base/unwindonsignal.c: Likewise.
1795 * gdb.reverse/sigall-reverse.c: Likewise.
1796
831517df
YQ
17972014-06-06 Yao Qi <yao@codesourcery.com>
1798
1799 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1800 readable, skip the test.
1801
b8b91e98
YQ
18022014-06-06 Yao Qi <yao@codesourcery.com>
1803
1804 * gdb.threads/staticthreads.c (thread_function): Move the line
1805 setting breakpoint on forward.
1806 * gdb.threads/staticthreads.exp: Update comments.
1807
fb934770
LC
18082014-06-05 Ludovic Courtès <ludo@gnu.org>
1809
1810 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1811 "history-append! type error".
1812
6ef284bd
SM
18132014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1814
1815 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1816 erroneous dprintf expected input.
1817
a872e241
DE
18182014-06-04 Doug Evans <xdje42@gmail.com>
1819
1820 * gdb.guile/scm-generics.exp: Delete.
1821
16f691fb
DE
18222014-06-04 Doug Evans <xdje42@gmail.com>
1823
1824 * gdb.guile/scm-breakpoint.exp: Update.
1825 Add tests for breakpoint registration.
1826
012370f6
TT
18272014-06-04 Tom Tromey <tromey@redhat.com>
1828
1829 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1830 VLA-in-union.
1831 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1832 inner_vla_struct, vla_union types. Initialize objects of those
1833 types and compute their sizes.
1834
9f5a4cef
HZ
18352014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1836 Hui Zhu <hui@codesourcery.com>
1837
1838 * gdb.base/fileio.exp: Add test for shell not available as well as
1839 available.
1840 * gdb.base/fileio.c (test_system): Check for shell twice.
1841
90a45c4d
YQ
18422014-06-04 Yao Qi <yao@codesourcery.com>
1843
1844 * gdb.base/auto-connect-native-target.exp: Remove redundant
1845 space from the regexp pattern.
1846
70017e41
YQ
18472014-06-04 Yao Qi <yao@codesourcery.com>
1848
1849 * gdb.base/default.exp: Replace "child" with "native" in
1850 regexp pattern.
1851
883964a7
SC
18522014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1853
1854 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1855 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1856 * gdb.python/py-xmethods.py: Python script supporting the
1857 new testcase and tests.
1858
ef370185
JB
18592014-06-03 Joel Brobecker <brobecker@adacore.com>
1860 Pedro Alves <palves@redhat.com>
1861
1862 PR breakpoints/17000
1863 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1864 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1865
1e2ccb61
BM
18662014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1867
1868 * gdb.base/subst.exp: Add tests to verify partial path matching
1869 output.
1870
c6ec5ab2
PA
18712014-06-03 Pedro Alves <palves@redhat.com>
1872
1873 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1874 target that doesn't use software single-stepping.
1875
835c559f
PA
18762014-06-03 Pedro Alves <palves@redhat.com>
1877
1878 PR breakpoints/17000
1879 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1880 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1881
06eb1586
DE
18822014-06-02 Doug Evans <xdje42@gmail.com>
1883
1884 * gdb.guile/scm-parameter.exp: New file.
1885
e698b8c4
DE
18862014-06-02 Doug Evans <xdje42@gmail.com>
1887
1888 * gdb.guile/scm-cmd.c: New file.
1889 * gdb.guile/scm-cmd.exp: New file.
1890
ded03782
DE
18912014-06-02 Doug Evans <xdje42@gmail.com>
1892
1893 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1894 pretty-printer lookup.
1895 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1896 (make-pp_s-printer): Call it.
1897 (make-pretty-printer-from-dict): New function.
1898 (lookup-pretty-printer-maker-from-dict): New function.
1899 (*pretty-printer*): Simplify.
1900 (make-objfile-pp_s-printer): New function.
1901 (install-objfile-pretty-printers!): New function.
1902 (make-progspace-pp_s-printer): New function.
1903 (install-progspace-pretty-printers!): New function.
1904 * gdb.guile/scm-progspace.c: New file.
1905 * gdb.guile/scm-progspace.exp: New file.
1906
41fac0cf
PA
19072014-06-02 Pedro Alves <palves@redhat.com>
1908
1909 * gdb.base/dprintf-bp-same-addr.c: New file.
1910 * gdb.base/dprintf-bp-same-addr.exp: New file.
1911
96ae5695
EBM
19122014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1913
1914 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1915 * gdb.arch/powerpc-power.s: Likewise.
1916
da02b3a8
JB
19172014-06-02 Joel Brobecker <brobecker@adacore.com>
1918
1919 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1920
c72b2e7b
YQ
19212014-06-01 Yao Qi <yao@codesourcery.com>
1922
1923 * gdb.base/watchpoint.exp (test_watch_location): Check null
1924 pointer can be dereferenced. If not, do the test, otherwise
1925 skip it.
1926
53e8a631
AB
19272014-05-30 Andrew Burgess <aburgess@broadcom.com>
1928
1929 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1930 results.
1931 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1932
938f0e2f
AB
19332014-05-30 Andrew Burgess <aburgess@broadcom.com>
1934
1935 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1936 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1937 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1938 * gdb.arch/amd64-invalid-stack-top.c: New file.
1939 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1940
9ba6657a
PA
19412014-05-30 Pedro Alves <palves@redhat.com>
1942
1943 PR breakpoints/17000
1944 * gdb.base/sss-bp-on-user-bp.c: New file.
1945 * gdb.base/sss-bp-on-user-bp.exp: New file.
1946
522c09bf
DB
19472014-05-30 David Blaikie <dblaikie@gmail.com>
1948
1949 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1950 gnu_inline semantics via attribute.
1951 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1952 source explicitly specifies the required semantics.
1953
bf4ef81e
MR
19542014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1955
1956 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1957
329ea579
PA
19582014-05-29 Pedro Alves <palves@redhat.com>
1959 Tom Tromey <tromey@redhat.com>
1960
1961 * gdb.base/async-shell.exp: Don't enable target-async.
1962 * gdb.base/async.exp
1963 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1964 parameter. Adjust.
1965 (top level): Don't test with "target-async".
1966 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1967 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1968 * gdb.base/inferior-died.exp: Don't enable target-async.
1969 * gdb.base/interrupt-noterm.exp: Likewise.
1970 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1971 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1972 * gdb.mi/mi-nonstop.exp: Likewise.
1973 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1974 * gdb.mi/mi-nsintrall.exp: Likewise.
1975 * gdb.mi/mi-nsmoribund.exp: Likewise.
1976 * gdb.mi/mi-nsthrexec.exp: Likewise.
1977 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1978 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1979 * gdb.python/py-evsignal.exp: Don't enable target-async.
1980 * gdb.python/py-evthreads.exp: Likewise.
1981 * gdb.python/py-prompt.exp: Likewise.
1982 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1983 * gdb.server/solib-list.exp: Don't enable target-async.
1984 * gdb.threads/thread-specific-bp.exp: Likewise.
1985 * lib/mi-support.exp: Adjust to use mi-async.
1986
fd664c91
PA
19872014-05-29 Pedro Alves <palves@redhat.com>
1988
1989 PR gdb/13860
1990 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1991 reason, even in sync mode.
1992
251bde03
PA
19932014-05-29 Pedro Alves <palves@redhat.com>
1994 Hui Zhu <hui@codesourcery.com>
1995
1996 PR PR15693
1997 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1998 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1999 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
2000 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
2001
7f3c0343
JB
20022014-05-28 Joel Brobecker <brobecker@adacore.com>
2003
2004 * config/monitor.exp (gdb_target_monitor): Replace use of
2005 "set remotebaud" by "set serial baud".
2006
b2715b27
AW
20072014-05-26 Andy Wingo <wingo@igalia.com>
2008
2009 * gdb.guile/scm-breakpoint.exp:
2010 * gdb.guile/scm-gsmob.exp: Update to use plain old object
2011 properties instead of gdb-object-properties.
2012
498a4489
YQ
20132014-05-26 Yao Qi <yao@codesourcery.com>
2014
2015 * gdb.server/no-thread-db.exp: Specify source file name
2016 explicitly when setting a breakpoint.
2017
589fdceb
MM
20182014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2019
2020 * gdb.btrace/vdso.c: New.
2021 * gdb.btrace/vdso.exp: New.
2022
e9089e05
MM
20232014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2024
2025 * gdb.base/gcore.exp (capture_command_output): Move ...
2026 * lib/gdb.exp (capture_command_output): ... here.
2027
67b5c0c1
MM
20282014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2029
2030 * gdb.btrace/data.exp: Test memory access during btrace replay.
2031
a2199296
SM
20322014-05-22 Simon Marchi <simon.marchi@ericsson.com>
2033
2034 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
2035
17b2616c
PA
20362014-05-21 Pedro Alves <palves@redhat.com>
2037
2038 PR gdb/13860
2039 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
2040 (top level): Test that output related to execution commands is
2041 sent to the console with CLI commands, but not with MI commands.
2042 Test that breakpoint events are always mirrored to the console.
2043 Also expect the new source line to be output after a "next" in
2044 async mode too. Make it a pass/fail test.
2045 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
2046 output.
2047 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
2048
5166082f
PA
20492014-05-21 Pedro Alves <palves@redhat.com>
2050
2051 * gdb.base/list.exp (build_pattern, test_list): New procedures.
2052 Use them to test variations of "list" after reaching a breakpoint.
2053 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
2054 Test "list" with listsize 10 after reaching a breakpoint.
2055 * gdb.python/python.exp (decode_line current location line
2056 number): Adjust expected line number.
2057
2f25d70f
SM
20582014-05-21 Simon Marchi <simon.marchi@ericsson.com>
2059
2060 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
2061 behavior for $args, pass it directly to "run".
2062
ff604a67
MR
20632014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
2064
2065 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
2066 30000 to 65536.
2067
6a3cb8e8
PA
20682014-05-21 Pedro Alves <palves@redhat.com>
2069
2070 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
2071 auto-connect-native-target off".
2072 * gdb.base/auto-connect-native-target.c: New file.
2073 * gdb.base/auto-connect-native-target.exp: New file.
2074
4ebfc96e
PA
20752014-05-21 Pedro Alves <palves@redhat.com>
2076
2077 * gdb.base/default.exp: Test "target native" instead of "target
2078 child".
2079
36d46afb
MW
20802014-05-21 Mark Wielaard <mjw@redhat.com>
2081
2082 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2083
5876f503
JK
20842014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2085
2086 Fix TLS access for -static -pthread.
2087 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
2088 <HAVE_TLS> (thread_function, main): Initialize it.
2089 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
2090 Add clean_restart.
2091 <$have_tls != "">: Check TLSVAR.
2092
0256a6ac
PA
20932014-05-21 Pedro Alves <palves@redhat.com>
2094
2095 * gdb.base/dcache-line-read-error.c: New.
2096 * gdb.base/dcache-line-read-error.exp: New.
2097
936d2992
PA
20982014-05-20 Pedro Alves <palves@redhat.com>
2099
2100 * gdb.base/compare-sections.c: New file.
2101 * gdb.base/compare-sections.exp: New file.
2102
802e8e6d
PA
21032014-05-20 Pedro Alves <palves@redhat.com>
2104
2105 * gdb.base/break-idempotent.c: New file.
2106 * gdb.base/break-idempotent.exp: New file.
2107
e59fa00f
MM
21082014-05-20 Markus Metzger <markus.t.metzger@intel.com>
2109
2110 * gdb.btrace/nohist.exp: New.
2111
8b696e31
YQ
21122014-05-20 Yao Qi <yao@codesourcery.com>
2113
2114 * lib/gdb.exp (gdb_init): Set timeout if test file is under
2115 gdb.reverse directory and gdb_reverse_timeout exists in board
2116 setting.
2117 * README: Document gdb_reverse_timeout.
2118
73c9764f
YQ
21192014-05-20 Yao Qi <yao@codesourcery.com>
2120
2121 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
2122 'test_file_name'. Treat args as a string instead of a list.
2123 (gdb_init): Rename argument 'args' by 'test_file_name'.
2124
f1f4348a
JK
21252014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2126
2127 * gdb.arch/powerpc-power.exp: New file.
2128 * gdb.arch/powerpc-power.s: New file.
2129
0dbe70ce
DE
21302014-05-16 Doug Evans <dje@google.com>
2131
2132 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
2133 * gdb.base/completion.exp: Check that all expected files exist
2134 before doing file completion.
0dbe70ce 2135
8d551b02
DE
21362014-05-16 Doug Evans <dje@google.com>
2137
2138 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
2139 Update.
2140 (do_syscall_tests_without_xml): Update.
2141
73eb7709
PA
21422014-05-16 Pedro Alves <palves@redhat.com>
2143
2144 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
2145 instead of "unknown output after running".
2146
3fae92fc
YQ
21472014-05-16 Yao Qi <yao@codesourcery.com>
2148
2149 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
2150 file1.txt from host at the end.
2151 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2152
c2b2ccc5
DE
21532014-05-15 Doug Evans <dje@google.com>
2154
2155 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
2156 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
2157 loading file. Add test for TU lookup.
2158
8c217a4b
SM
21592014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2160
2161 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
2162 calling "-exec-arguments" or "set args" before running the
2163 inferior.
2164
3deb39c6
SM
21652014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2166
2167 * lib/mi-support.exp (mi_expect_stop): Expect message for
2168 inferiors that exit with non-zero exit code.
2169
71a79f8c
YQ
21702014-05-14 Yao Qi <yao@codesourcery.com>
2171
2172 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
2173 match absolute path on remote host.
2174 (test_file_list_exec_source_files): Remove "/" from the
2175 pattern.
2176
f23fcd46
YQ
21772014-05-14 Yao Qi <yao@codesourcery.com>
2178
2179 * boards/local-remote-host-notty.exp (${board}_file): New
2180 proc.
2181
9404b58f
KM
21822014-05-07 Kyle McMartin <kyle@redhat.com>
2183
2184 Pushed by Joel Brobecker <brobecker@adacore.com>.
2185 * gdb.arch/aarch64-atomic-inst.c: New file.
2186 * gdb.arch/aarch64-atomic-inst.exp: New file.
2187
5e45f04c
YQ
21882014-05-07 Yao Qi <yao@codesourcery.com>
2189
2190 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
2191 in current context" too.
2192
c888a17d
KS
21932014-05-05 Keith Seitz <keiths@redhat.com>
2194
2195 * gdb.linespec/ls-dollar.exp: Add test for linespec
2196 file:convenience_variable.
2197
290a839c
YQ
21982014-05-05 Yao Qi <yao@codesourcery.com>
2199
2200 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
2201 traceframes into tfile and ctf trace files. Read data from
2202 trace file and test collected data.
2203 (gdb_collect_locals_test): Likewise.
2204 (gdb_unavailable_registers_test): Likewise.
2205 (gdb_unavailable_floats): Likewise.
2206 (gdb_collect_globals_test): Likewise.
2207 (top-level): Append "ctf" to trace_file_targets if GDB
2208 supports.
2209
b5262cd0
YQ
22102014-05-05 Yao Qi <yao@codesourcery.com>
2211
2212 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
2213 code to ...
2214 (gdb_collect_args_test_1): ... it. New proc.
2215 (gdb_collect_locals_test): Move some code to ...
2216 (gdb_collect_locals_test_1): ... it. New proc.
2217 (gdb_unavailable_registers_test): Move some code to ...
2218 (gdb_unavailable_registers_test_1): ... it. New proc.
2219 (gdb_unavailable_floats): Move some code to ...
2220 (gdb_unavailable_floats_1): ... it. New proc.
2221
30a1e6cc
SDJ
22222014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2223
2224 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
2225 probes to test for bitness recognition.
2226 * gdb.arch/amd64-stap-optional-prefix.exp
2227 (test_probe_value_without_reg): New procedure.
2228 Add code to test for different kinds of bitness.
2229
f33da99a
SDJ
22302014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2231
2232 PR breakpoints/16889
2233 * gdb.arch/amd64-stap-optional-prefix.S: New file.
2234 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2235
5b80f00d
PA
22362014-05-01 Pedro Alves <palves@redhat.com>
2237
2238 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
2239 gdb_file_cmd if no file is specified.
2240 * boards/native-extended-gdbserver.exp (gdb_load): Use the
2241 last_loaded_file to set the remote exec-file.
2242
f8c2a73c
PA
22432014-05-01 Pedro Alves <palves@redhat.com>
2244
2245 * boards/local-remote-host.exp: New file.
2246
be6e8ac7
PA
22472014-05-01 Pedro Alves <palves@redhat.com>
2248
2249 * boards/local-remote-host.exp: Rename to ...
2250 * boards/local-remote-host-notty.exp: ... this.
2251
cac0dc8f
JB
22522014-04-28 Joel Brobecker <brobecker@adacore.com>
2253
2254 * gdb.ada/dyn_arrayidx: New testcase.
2255
9730e6cc
YQ
22562014-04-26 Yao Qi <yao@codesourcery.com>
2257
2258 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
2259 and compute the length of function main. Save it in
2260 $main_length.
2261 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
2262 (top-level): Use gdb_compile to compile objects into
2263 executable and restart GDB. Remove invocation to
2264 prepare_for_testing.
2265
7ae1a6a6
PA
22662014-04-25 Simon Marchi <simon.marchi@ericsson.com>
2267 Pedro Alves <palves@redhat.com>
2268
2269 PR server/16255
2270 * gdb.multi/multi-attach.c: New file.
2271 * gdb.multi/multi-attach.exp: New file.
2272
4082afcc
PA
22732014-04-25 Pedro Alves <palves@redhat.com>
2274
2275 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
2276 user.
2277 (top level): Test that "set remote conditional-breakpoints-packet
2278 off" works as intended.
2279 * gdb.base/dprintf.exp: Test that "set remote
2280 breakpoint-commands-packet off" works as intended.
2281 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
2282 New function.
2283 (top level): Call it.
2284 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
2285 remote fast-tracepoints-packet off" works as intended.
2286 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
2287 * lib/gdb.exp (gdb_is_target_remote): ... here.
2288
2abc3f8d
DB
22892014-04-24 David Blaikie <dblaikie@gmail.com>
2290
2291 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
2292 ensure clang would not discard them.
2293 * gdb.base/gdbvars.c: Ditto.
2294 * gdb.base/memattr.c: Ditto.
2295 * gdb.base/whatis.c: Ditto.
2296 * gdb.python/py-prettyprint.c: Ditto.
2297 * gdb.trace/actions.c: Ditto.
2298 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
2299 ensure clang would not discard it.
2300
bfd39632
DB
23012014-04-24 David Blaikie <dblaikie@gmail.com>
2302
2303 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
2304 clang to emit the full definition of type required by the test
2305 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
2306
22842ff6
DB
23072014-04-24 David Blaikie <dblaikie@gmail.com>
2308
2309 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
2310 coax Clang into emitting the definition of the type.
2311 * gdb.cp/pr10728-x.h (y): Ditto.
2312 * gdb.cp/pr10728-y.cc (y): Ditto.
2313
c2e827ad
DB
23142014-04-24 David Blaikie <dblaikie@gmail.com>
2315
2316 * gdb.base/label.exp: XFAIL label related tests under Clang.
2317 * gdb.cp/cplabel.exp: Ditto.
2318 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
2319 under Clang those using labels.
2320
4c2d33e7
YQ
23212014-04-25 Yao Qi <yao@codesourcery.com>
2322
2323 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
2324 double_label.
2325 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
2326 partial_label and double_label.
2327
56083b99
DB
23282014-04-24 David Blaikie <dblaikie@gmail.com>
2329
2330 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
2331
25d4e99d
DB
23322014-04-24 David Blaikie <dblaikie@gmail.com>
2333
2334 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
2335 of the function to work across GCC and Clang.
2336 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
2337 pointer types (const void ** const V void **).
2338
01f9f808
MS
23392014-04-24 Michael Sturm <michael.sturm@mintel.com>
2340 Walfred Tedeschi <walfred.tedeschi@intel.com>
2341
2342 * Makefile.in (EXECUTABLES): Added i386-avx512.
2343 * gdb.arch/i386-avx512.c: New file.
2344 * gdb.arch/i386-avx512.exp: Likewise.
2345
4b48d439
KS
23462014-04-23 Keith Seitz <keiths@redhat.com>
2347
2348 * lib/mi-support.exp (mi_list_breakpoints): Delete.
2349 (mi_make_breakpoint_table): New procedure.
2350 (mi_create_breakpoint): Use mi_make_breakpoint
2351 and return the result.
2352 (mi_make_breakpoint): New procedure.
2353 (mi_build_kv_pairs): New procedure.
2354
2355 * gdb.mi/mi-break.exp: Remove unused globals,
2356 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
2357 All callers updated.
2358 * gdb.mi/mi-dprintf.exp: Use variable to track command
2359 number.
2360 Update all callers of mi_create_breakpoint and use
2361 mi_make_breakpoint_table.
2362 Remove any unused global variables.
2363 * gdb.mi/mi-nonstop.exp: Likewise.
2364 * gdb.mi/mi-nsintrall.exp: Likewise.
2365 * gdb.mi/mi-nsmoribund.exp: Likewise.
2366 * gdb.mi/mi-nsthrexec.exp: Likewise.
2367 * gdb.mi/mi-reverse.exp: Likewise.
2368 * gdb.mi/mi-simplerun.exp: Likewise.
2369 * gdb.mi/mi-stepn.exp: Likewise.
2370 * gdb.mi/mi-syn-frame.exp: Likewise.
2371 * gdb.mi/mi-until.exp: Likewise.
2372 * gdb.mi/mi-var-cp.exp: Likewise.
2373 * gdb.mi/mi-var-display.exp: Likewise.
2374 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2375 * gdb.mi/mi2-var-child.exp: Likewise.
2376 * gdb.mi/mi-vla-c99.exp: Likewise.
2377 * lib/mi-support.exp: Likewise.
2378
2379 From Ian Lance Taylor <iant@cygnus.com>:
2380 * lib/gdb.exp (parse_args): New procedure.
2381
08351840
PA
23822014-04-23 Pedro Alves <palves@redhat.com>
2383
2384 * gdb.base/break-unload-file.c: New file.
2385 * gdb.base/break-unload-file.exp: New file.
2386 * gdb.base/sym-file-lib.c (baz): New function.
2387 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
2388 field.
2389 (load): Store the segment's mapped size.
2390 (unload): New function.
2391 (unload_shlib): New function.
2392 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
2393 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
2394 set a breakpoint at baz, and call it.
2395 * gdb.base/sym-file.exp: New tests for stale breakpoint
2396 instructions.
2397
076855f9
PA
23982014-04-23 Pedro Alves <palves@redhat.com>
2399
2400 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
2401 * gdb.base/hbreak-in-shr-unsupported.c: New file.
2402 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
2403 * gdb.base/hbreak-unmapped.c: New file.
2404 * gdb.base/hbreak-unmapped.exp: New file.
2405 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
2406 * lib/gdb.exp (gdb_is_target_remote): ... here.
2407
483805cf
PA
24082014-04-22 Pedro Alves <palves@redhat.com>
2409
2410 * gdb.base/consecutive-step-over.c: New file.
2411 * gdb.base/consecutive-step-over.exp: New file.
2412
06d97543
PA
24132014-04-22 Pedro Alves <palves@redhat.com>
2414
2415 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
2416 instead of send_gdb/gdb_expect.
2417
b4429ea2
YQ
24182014-04-22 Yao Qi <yao@codesourcery.com>
2419
2420 * lib/trace-support.exp (generate_tracefile): New procedure.
2421 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
2422 return 0.
2423 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
2424 if generate_tracefile returns 1.
2425
51d48146
PA
24262014-04-18 Tom Tromey <palves@redhat.com>
2427 Pedro alves <tromey@redhat.com>
2428
2429 PR backtrace/15558
2430 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
2431 with a backtrace limit.
2432 * gdb.python/py-frame-inline.exp: Test running to an inline
2433 function with a backtrace limit, and printing the newest frame.
2434 * gdb.python/py-frame-inline.c (main): Call f.
2435
bd1dce5f
MS
24362014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2437
2438 * gdb.java/jnpe.exp: Drop srcdir from untested path.
2439
40d1a503
MS
24402014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2441
2442 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
2443 Drop prefix from unsupported source file path.
2444
389b98f7
YQ
24452014-04-17 Yao Qi <yao@codesourcery.com>
2446
2447 * lib/gdb.exp (with_target_charset): New proc.
2448 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
2449 with_target_charset.
2450 (test_print_strings): Likewise.
2451 (test_repeat_bytes): Likewise.
2452 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
2453 for some tests.
2454
22869d73
KS
24552014-04-16 Keith Seitz <keiths@redhat.com>
2456
2457 PR gdb/15827
2458 * gdb.dwarf2/corrupt.c: New file.
2459 * gdb.dwarf2/corrupt.exp: New file.
2460
c4f87ca6
KS
24612014-04-16 Keith Seitz <keiths@redhat.com>
2462
2463 PR c++/16597
2464 * gdb.cp/namelessclass.cc: New file.
2465 * gdb.cp/namelessclass.exp: New file.
2466 * gdb.cp/namelessclass.S: New file.
2467
ab19de87
DE
24682014-04-16 Doug Evans <dje@google.com>
2469
2470 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
2471 Add comment.
2472 (gdbserver_default_get_comm_port): New function.
2473 (gdbserver_start): Check if board file provided
2474 "gdbserver,get_comm_port" and use it if so.
2475 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
2476 (gdb,socketport): Set to "stdio".
2477 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
2478 (stdio_gdbserver_template): Delete.
2479 (${board}_get_remote_address): Update.
2480 (${board}_build_remote_cmd): Delete.
2481 (${board}_get_comm_port): New function.
2482 (${board}_spawn): Update.
2483 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
2484 Delete.
2485 (${board}_get_remote_address): Update.
2486 (${board}_get_comm_port): New function.
2487
fc98a809
AB
24882014-04-16 Andrew Burgess <aburgess@broadcom.com>
2489
2490 * gdb.base/memattr.exp: Improve regexps to handle memory regions
2491 appearing in any order.
2492
87fd9e6e
DE
24932014-04-15 Doug Evans <dje@google.com>
2494
2495 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
2496 uninitialized value of "description".
2497
099fc3ea
KS
24982014-04-15 Keith Seitz <keiths@redhat.com>
2499
2500 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
2501 Remove unused globals.
2502 (test_running_the_program): Likewise.
2503 (test_controlled_execution): Likewise.
2504 (test_controlling_breakpoints): Likewise.
2505 (test_program_termination): Likewise.
2506
5da151d4
KS
25072014-04-15 Keith Seitz <keiths@redhat.com>
2508
2509 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
2510 unused globals.
2511 (test_rbreak_creation_and_listing): Likewise.
2512 (test_ignore_count): Likewise.
2513 (test_error): Likewise.
2514
35e5d2f0
PA
25152014-04-15 Pedro Alves <palves@redhat.com>
2516
2517 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2518 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2519 sym-file-loader.c.
2520 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2521 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2522 to sym-file-loader.c.
2523 (struct library): Forward declare.
2524 (load_shlib, lookup_function): Change prototypes.
2525 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2526 (translate_offset): Remove declarations.
2527 (get_text_addr): New declaration.
2528 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2529 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2530 sym-file-loader.h.
2531 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2532 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2533 here from sym-file-loader.h.
2534 (struct library): New structure.
2535 (load_shlib, lookup_function): Change prototypes and adjust to
2536 work with a struct library.
2537 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2538 (translate_offset): Make static.
2539 (get_text_addr): New function.
2540 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
2541
eb4c1710
PA
25422014-04-15 Pedro Alves <palves@redhat.com>
2543
2544 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
2545
2d1baf52
PA
25462014-04-15 Pedro Alves <palves@redhat.com>
2547
2548 * gdb.base/sym-file-loader.c: Include <limits.h>.
2549 (SELF_LINK): New define.
2550 (get_origin): New function.
2551 (load_shlib): Use it.
2552 * gdb.base/sym-file.exp: Don't early return if the target is
2553 remote. Use runto_main, and issue fail is that fails. Use
2554 gdb_load_shlibs.
2555 (shlib_name): Delete.
2556 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
2557
7dd6df01
PA
25582014-04-15 Pedro Alves <palves@redhat.com>
2559
2560 * gdb.base/sym-file.exp: Remove regex characters from test
2561 message. Don't refer to breakpoint numbers in test messages.
2562
b50c8614
KS
25632014-04-14 Keith Seitz <keiths@redhat.com>
2564
2565 PR c++/16253
2566 * gdb.cp/var-tag.cc: New file.
2567 * gdb.cp/var-tag.exp: New file.
2568 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2569 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2570 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2571 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2572
3d567982
TT
25732014-04-14 Tom Tromey <tromey@redhat.com>
2574
2575 * gdb.cp/classes.exp (test_enums): Handle underlying type.
2576 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
2577 type.
2578 * gdb.cp/enum-class.exp: New file.
2579 * gdb.cp/enum-class.cc: New file.
2580
0626fc76
TT
25812014-04-14 Tom Tromey <tromey@redhat.com>
2582
2583 * gdb.dwarf2/enum-type.exp: New file.
2584
dca325b3
SA
25852014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2586
2587 * gdb.mi/mi-vla-c99.exp: New file.
2588 * gdb.mi/vla.c: New file.
2589
5854b38a
SA
25902014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2591
2592 * gdb.base/vla-datatypes.c: New file.
2593 * gdb.base/vla-datatypes.exp: New file.
2594
463bb957
SA
25952014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2596
2597 * gdb.base/vla-ptr.c: New file.
2598 * gdb.base/vla-ptr.exp: New file.
2599
3dd170be
SA
26002014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2601
2602 * gdb.dwarf2/count.exp: New file.
2603
5ecaaa66
SA
26042014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2605
2606 * gdb.base/vla-sideeffect.c: New file.
2607 * gdb.base/vla-sideeffect.exp: New file.
2608
41f1ada5
DB
26092014-04-14 David Blaikie <dblaikie@gmail.com>
2610
2611 * gdb.mi/non-stop.c: Add return value for non-void function return
2612 statement.
2613 * gdb.threads/staticthreads.c: Ditto.
2614
0be03e84
DE
26152014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2616 Doug Evans <xdje42@gmail.com>
2617
2618 * gdb.guile/scm-value.c: Improve test case.
2619 * gdb.guile/scm-value.exp: Add new test.
2620
f180a1fb
DB
26212014-04-11 David Blaikie <dblaikie@gmail.com>
2622
2623 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2624 override Clang's default.
2625
6b662e19
JB
26262014-04-11 Joel Brobecker <brobecker@adacore.com>
2627
2628 Revert the following changes (regressions):
2629
2630 * gdb.base/vla-sideeffect.c: New file.
2631 * gdb.base/vla-sideeffect.exp: New file.
2632
2633 * gdb.dwarf2/count.exp: New file.
2634
2635 * gdb.base/vla-multi.c: New file.
2636 * gdb.base/vla-multi.exp: New file.
2637
2638 * gdb.base/vla-ptr.c: New file.
2639 * gdb.base/vla-ptr.exp: New file.
2640
2641 * gdb.base/vla-datatypes.c: New file.
2642 * gdb.base/vla-datatypes.exp: New file.
2643
2644 * gdb.mi/mi-vla-c99.exp: New file.
2645 * gdb.mi/vla.c: New file.
2646
245a5f0b
KS
26472014-04-11 Keith Seitz <keiths@redhat.com>
2648
2649 PR c++/16675
2650 * gdb.cp/cpsizeof.exp: New file.
2651 * gdb.cp/cpsizeof.cc: New file.
2652
58a84dcf
SA
26532014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2654
191a8a90
JB
2655 * gdb.mi/mi-vla-c99.exp: New file.
2656 * gdb.mi/vla.c: New file.
58a84dcf 2657
c8655f75
SA
26582014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2659
2660 * gdb.base/vla-datatypes.c: New file.
2661 * gdb.base/vla-datatypes.exp: New file.
2662
024e13b4
SA
26632014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2664
2665 * gdb.base/vla-ptr.c: New file.
2666 * gdb.base/vla-ptr.exp: New file.
2667
1a237e0e
SA
26682014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2669
2670 * gdb.base/vla-multi.c: New file.
2671 * gdb.base/vla-multi.exp: New file.
2672
504f3432
SA
26732014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2674
2675 * gdb.dwarf2/count.exp: New file.
2676
3bce8237
SA
26772014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2678
191a8a90
JB
2679 * gdb.base/vla-sideeffect.c: New file.
2680 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 2681
322f9c21
YQ
26822014-04-11 Yao Qi <yao@codesourcery.com>
2683
2684 * gdb.base/completion.exp: Check file exists before running tests
2685 on file completion.
2686
d708bcd1
PA
26872014-04-10 Pedro Alves <palves@redhat.com>
2688
2689 * gdb.base/cond-eval-mode.c: New file.
2690 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2691 prepare_for_testing to build the new file. Check result of
2692 runto_main.
2693 (test_break, test_watch): New procedures.
2694 (top level): Use them.
2695
ae1d2761
PM
26962014-04-08 Pierre Muller <muller@sourceware.org>
2697
2698 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2699 Ctrl-V use for mingw hosts.
2700
7af389b8
SC
27012014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2702
2703 * gdb.python/py-value.c: Improve test case.
2704 * gdb.python/py-value.exp: Add new test.
2705
5e703181
DE
27062014-04-07 David Blaikie <dblaikie@gmail.com>
2707
2708 * lib/compiler.c: Identify the clang compiler.
2709 * lib/compiler.cc: Ditto.
2710
9810b410
YQ
27112014-04-03 Yao Qi <yao@codesourcery.com>
2712
2713 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2714
98d1b8dc
AB
27152014-04-01 Anton Blanchard <anton@samba.org>
2716
2717 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2718 messages unique.
2719
3114cea1
AB
27202014-04-01 Anton Blanchard <anton@samba.org>
2721
2722 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2723 prepare_for_testing.
2724
62f7182c
AB
27252014-04-01 Anton Blanchard <anton@samba.org>
2726
2727 * gdb.arch/ppc64-atomic-inst.c: Remove.
2728 * gdb.arch/ppc64-atomic-inst.S: New file.
2729 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2730
770e7fc7
DE
27312014-03-31 Doug Evans <dje@google.com>
2732
2733 * gdb.base/print-symbol-loading-lib.c: New file.
2734 * gdb.base/print-symbol-loading-main.c: New file.
2735 * gdb.base/print-symbol-loading.exp: New file.
2736
46e2bafa
YQ
27372014-03-31 Yao Qi <yao@codesourcery.com>
2738
2739 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2740
8776cfe9
JB
27412014-03-28 Joel Brobecker <brobecker@adacore.com>
2742
2743 * gdb.ada/mi_dyn_arr: New testcase.
2744
5d1ef361
DE
27452014-03-27 Doug Evans <dje@google.com>
2746
2747 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2748
b5bee914
YQ
27492014-03-27 Yao Qi <yao@codesourcery.com>
2750
2751 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2752 if target is nios2-*-*.
2753
0d4d0e77
YQ
27542014-03-26 Yao Qi <yao@codesourcery.com>
2755
2756 * lib/gdb.exp (readline_is_used): New proc.
2757 * gdb.base/completion.exp: Move tests on command complete up.
2758 Skip the rest of tests if readline is not used.
2759 * gdb.ada/complete.exp: Skp the test if readline is not
2760 used.
2761 * gdb.base/filesym.exp: Likewise.
2762 * gdb.base/macscp.exp: Likewise.
2763 * gdb.base/readline-ask.exp: Likewise.
2764 * gdb.base/readline.exp: Likewise.
2765 * gdb.python/py-cmd.exp: Likewise.
2766 * gdb.trace/tfile.exp: Likewise.
2767
29361eee
YQ
27682014-03-26 Yao Qi <yao@codesourcery.com>
2769
2770 * gdb.base/macscp.exp: Fix code format issues.
2771
bc9a5525
UW
27722014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2773
2774 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2775 * gdb.asm/powerpc64le.inc: New file.
2776
d3839ede
PA
27772014-03-25 Pedro Alves <palves@redhat.com>
2778 Doug Evans <dje@google.com>
2779
2780 * gdb.base/source-execution.c: New file.
2781 * gdb.base/source-execution.exp: New file.
2782 * gdb.base/source-execution.gdb: New file.
2783
01672a57
DE
27842014-03-24 Doug Evans <dje@google.com>
2785
2786 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2787 using fission.
2788
88bbeca9
HZ
27892014-03-24 Hui Zhu <hui@codesourcery.com>
2790 Pedro Alves <palves@redhat.com>
2791
2792 PR breakpoints/16101
2793 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2794 test pass/fail messages. Detect missing support for dprintf when
2795 breakpoints are actually inserted.
2796 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2797 breakpoints are actually inserted.
2798 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2799 fails.
2800
d2348791
JK
28012014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2802
2803 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2804
feef67ab
DE
28052014-03-22 Doug Evans <xdje42@gmail.com>
2806
2807 * gdb.python/python.exp (python not supported): Verify multi-line
2808 python command issues an error.
25d743f9 2809 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 2810 guile command issues an error.
feef67ab 2811
ecebef6a
MR
28122014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2813
2814 * gdb.threads/thread-specific.exp: Handle the lack of usable
2815 $this_breakpoint and $this_thread.
2816
ccdd1909
HZ
28172014-03-21 Hui Zhu <hui@codesourcery.com>
2818
2819 * gdb.base/attach.exp (do_command_attach_tests): New.
2820
beb460e8
PA
28212014-03-20 Tom Tromey <tromey@redhat.com>
2822 Pedro Alves <palves@redhat.com>
2823
2824 PR cli/15718
2825 * gdb.base/condbreak-call-false.c: New file.
2826 * gdb.base/condbreak-call-false.exp: New file.
2827
40acf43a
PA
28282014-03-20 Pedro Alves <palves@redhat.com>
2829
2830 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2831 Delete.
2832 (block_signals, unblock_signals): Delete.
2833 (child_function_2, main): Remove references to deleted variable
2834 and functions.
2835
9f5e1e02
PA
28362014-03-20 Pedro Alves <palves@redhat.com>
2837
2838 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2839 Use pthread_kill to signal thread 2.
2840 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2841 Adjust to make the test send itself a signal rather than using the
2842 host's "kill" command.
2843
99619bea
PA
28442014-03-20 Pedro Alves <palves@redhat.com>
2845
2846 * gdb.threads/multiple-step-overs.c: New file.
2847 * gdb.threads/multiple-step-overs.exp: New file.
2848 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2849 Adjust expected infrun debug output.
2850
2adfaa28
PA
28512014-03-20 Pedro Alves <palves@redhat.com>
2852
2853 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2854 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2855
31e77af2
PA
28562014-03-20 Pedro Alves <palves@redhat.com>
2857
2858 PR breakpoints/7143
2859 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2860 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2861 of gdb_test_multiple.
2862 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2863 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2864
b9f437de
PA
28652014-03-20 Pedro Alves <palves@redhat.com>
2866
2867 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2868 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2869
05adc73e
PA
28702014-03-19 Pedro Alves <palves@redhat.com>
2871
2872 * gdb.base/async.exp: Remove early return.
2873
6048b950
PA
28742014-03-19 Pedro Alves <palves@redhat.com>
2875
2876 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2877
8bcfb00a
PA
28782014-03-19 Pedro Alves <palves@redhat.com>
2879
2880 * gdb.base/async.exp (test_background): Expect \r\n after
2881 "completed." in the fail pattern.
2882
884e37dc
PA
28832014-03-19 Pedro Alves <palves@redhat.com>
2884
2885 * gdb.base/async.exp (test_background): New procedure.
2886 Use it for all background execution command tests.
2887
148e57e2
PA
28882014-03-19 Pedro Alves <palves@redhat.com>
2889
2890 * gdb.base/async.exp: Use prepare_for_testing.
2891
f48088c7
PA
28922014-03-19 Pedro Alves <palves@redhat.com>
2893
2894 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2895 the same line.
2896
e2f6c966
PA
28972014-03-19 Pedro Alves <palves@redhat.com>
2898
2899 * gdb.base/async.c (main): Add "jump here" and "until here" line
2900 marker comments.
2901 * gdb.base/async.exp (jump_here): New global.
2902 (jump& test): Use it.
2903 (until_here): New global.
2904 (until& test): Use it.
2905
c30568d4
PA
29062014-03-19 Pedro Alves <palves@redhat.com>
2907
2908 * gdb.base/async.exp: Don't frob gdb_protocol.
2909
0172b6a7
DE
29102014-03-18 Doug Evans <xdje42@gmail.com>
2911
2912 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2913 Fix spelling of exec-done-display.
2914
06c868a8
JK
29152014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2916
2917 PR gdb/15358
2918 * gdb.base/gdb-sigterm.c: New file.
2919 * gdb.base/gdb-sigterm.exp: New file.
2920
0c7e1a46
PA
29212014-03-18 Pedro Alves <palves@redhat.com>
2922
2923 PR gdb/13860
2924 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2925 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2926 solib-event.
2927
f7c77d93
JB
29282014-03-17 Joel Brobecker <brobecker@adacore.com>
2929
2930 * gdb.ada/pckd_arr_ren: New testcase.
2931
5a1e8c7a
DE
29322014-03-13 Doug Evans <xdje42@gmail.com>
2933
2934 PR guile/16612
2935 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2936 collect after discarding symbols.
2937
350e1a76
DE
29382014-03-13 Ludovic Courtès <ludo@gnu.org>
2939 Doug Evans <xdje42@gmail.com>
2940
2941 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2942 to history survives a gc.
2943
a69900ae
PA
29442014-03-13 Pedro Alves <palves@redhat.com>
2945
2946 * gdb.base/default.exp: Don't test "target procfs".
2947
5db9f0bd
PA
29482014-03-13 Pedro Alves <palves@redhat.com>
2949
2950 * gdb.base/default.exp: Update "target child" and "target procfs"
2951 tests to not expect "Unix".
2952
b3ccfe11
TT
29532014-03-12 Tom Tromey <tromey@redhat.com>
2954
2955 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2956 New procs. Add target-async tests.
2957 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2958 Add target-async tests.
2959
646f4417
AA
29602014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2961
2962 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2963 'func_start' and 'func_end' for the beginning and end of the
2964 function code, respectively.
2965 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2966 'func_end' instead of 'func' and 'main'.
2967
288c211f
AA
29682014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2969
2970 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2971 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2972 generate the debug info assembler source.
2973
e0c0f156
AA
29742014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2975
2976 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2977 * gdb.dwarf2/arr-subrange.exp: Likewise.
2978 * gdb.dwarf2/dwz.exp: Likewise.
2979 * gdb.dwarf2/method-ptr.exp: Likewise.
2980 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2981 * gdb.dwarf2/subrange.exp: Likewise.
2982 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2983 * gdb.dwarf2/implptrpiece.exp: Likewise.
2984 * gdb.dwarf2/nostaticblock.exp: Likewise.
2985
0e5c4555
AA
29862014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2987
2988 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2989 directory to absolute path name arguments.
2990
5ec18f2b
JG
29912014-03-10 Joel Brobecker <brobecker@adacore.com>
2992
2993 * gdb.ada/tagged_access: New testcase.
2994
847fc4f2
MM
29952014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2996
2997 * gdb.btrace/data.exp: Update expected output.
2998
cc3da688
YQ
29992014-03-06 Yao Qi <yao@codesourcery.com>
3000
3001 * gdb.trace/pr16508.exp: New file.
3002
0f26cec1
PA
30032014-03-05 Pedro Alves <palves@redhat.com>
3004
3005 PR gdb/16575
3006 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
3007 procedure.
3008 (top level): Adjust to use it. Add tests that exercise breakpoint
3009 interaction with the code-cache.
3010
7a5a839f
LC
30112014-02-26 Ludovic Courtès <ludo@gnu.org>
3012
3013 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
3014 test for 'history-append!'.
3015
31aa7e4e
JB
30162014-02-26 Joel Brobecker <brobecker@adacore.com>
3017
3018 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
3019 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
3020 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
3021 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
3022 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
3023 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
3024
1b588015
JB
30252014-02-26 Joel Brobecker <brobecker@adacore.com>
3026
3027 * testsuite/gdb.python/py-pp-re-notag.c: New file.
3028 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
3029 * testsuite/gdb.python/py-pp-re-notag.p: New file.
3030
55426c9d
JB
30312014-02-26 Joel Brobecker <brobecker@adacore.com>
3032
3033 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
3034
dc53a7ad
JB
30352014-02-26 Joel Brobecker <brobecker@adacore.com>
3036
3037 * gdb.dwarf2/arr-stride.c: New file.
3038 * gdb.dwarf2/arr-stride.exp: New file.
3039
12ab52e9
PA
30402014-02-26 Pedro Alves <palves@redhat.com>
3041
3042 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
3043 that won't ever trigger. Make sure that GDB reports the correct
3044 breakpoint that caused the stop.
3045
849c862e
JK
30462014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3047
3048 PR gdb/16626
3049 * gdb.base/auto-load-script: New file.
3050 * gdb.base/auto-load.c: New file.
3051 * gdb.base/auto-load.exp: New file.
3052
71b7d793
JK
3053 PR gdb/16626
3054 * gdb.base/auto-load.exp: Fix out-of-srctree run.
3055
e2f0d509
JK
30562014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3057
3058 Fix dw2-icycle.exp -fsanitize=address GDB crash.
3059 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
3060
50cc37c8
DE
30612014-02-24 Doug Evans <dje@google.com>
3062
3063 * lib/gdb.exp (run_on_host): Log error output if program fails.
3064
ea4758f2
PA
30652014-02-21 Pedro Alves <palves@redhat.com>
3066
3067 * gdb.threads/step-after-sr-lock.c: Rename to ...
3068 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
3069 * gdb.threads/step-after-sr-lock.exp: Rename to ...
3070 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3071 ... this.
3072
d7b30f67
SDJ
30732014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
3074
3075 PR tdep/16397
3076 * gdb.arch/amd64-stap-special-operands.exp: New file.
3077 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
3078 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
3079 * gdb.arch/amd64-stap-triplet.S: Likewise.
3080 * gdb.arch/amd64-stap-triplet.c: Likewise.
3081
83deb43f
JB
30822014-02-20 Joel Brobecker <brobecker@adacore.com>
3083
3084 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
3085 in .section pseudo-op.
3086
adde2bff
DE
30872014-02-20 lin zuojian <manjian2006@gmail.com>
3088 Joel Brobecker <brobecker@adacore.com>
3089 Doug Evans <xdje42@gmail.com>
3090
3091 PR symtab/16581
3092 * gdb.dwarf2/dw2-icycle.S: New file.
3093 * gdb.dwarf2/dw2-icycle.c: New file.
3094 * gdb.dwarf2/dw2-icycle.exp: New file.
3095
f7bd0f78
SC
30962014-02-19 Siva Chandra Reddy <sivachandra@google.com>
3097
3098 * gdb.python/py-value-cc.cc: Improve test case to enable testing
3099 operations on gdb.Value objects.
3100 * gdb.python/py-value-cc.exp: Add new test to test operations on
3101 gdb.Value objects.
3102
c17ef0d5
DE
31032014-02-18 Doug Evans <dje@google.com>
3104
3105 * Makefile.in (TESTS): New variable.
3106 (expanded_tests, expanded_tests_or_none): New variables
3107 (check-single): Pass $(expanded_tests_or_none) to runtest.
3108 (check-parallel): Only run tests in $(TESTS) if non-empty.
3109 (check/no-matching-tests-found): New rule.
3110 * README: Document TESTS makefile variable.
3111
5dd3176f
DE
31122014-02-18 Doug Evans <dje@google.com>
3113
3114 * Makefile.in (check-parallel): rm -rf outputs temp.
3115
0b10be4f
JK
31162014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3117
3118 Fix "ERROR: no fileid for" in the testsuite.
3119 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
3120
85f224e7
DE
31212014-02-12 Doug Evans <dje@google.com>
3122
3123 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
3124 (MISCELLANEOUS): New variable.
3125 (clean): rm -rf $(MISCELLANEOUS).
3126 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
3127 dwp live in the same directory as symlinks, with each symlink pointed
3128 to a differently named file in a different directory.
3129
149b30ff
DE
31302014-02-11 Doug Evans <dje@google.com>
3131
3132 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
3133 of Tcl file commands.
3134
1dfdac32
MK
31352014-02-10 Mark Kettenis <kettenis@gnu.org>
3136
3137 * gdb.threads/step-after-sr-lock.exp: Avoid executing
3138 "kill -SIGUSR1 -1".
3139
aa4fb036
JB
31402014-02-10 Joel Brobecker <brobecker@adacore.com>
3141
3142 * gdb.ada/tick_length_array_enum_idx: New testcase.
3143
ed3ef339
DE
31442014-02-10 Doug Evans <xdje42@gmail.com>
3145
3146 * configure.ac (AC_OUTPUT): Add gdb.guile.
3147 * configure: Regenerate.
3148 * lib/gdb-guile.exp: New file.
3149 * lib/gdb.exp (get_target_charset): New function.
3150 * gdb.base/help.exp: Update expected output from "apropos apropos".
3151 * gdb.guile/Makefile.in: New file.
3152 * gdb.guile/guile.exp: New file.
3153 * gdb.guile/scm-arch.c: New file.
3154 * gdb.guile/scm-arch.exp: New file.
3155 * gdb.guile/scm-block.c: New file.
3156 * gdb.guile/scm-block.exp: New file.
3157 * gdb.guile/scm-breakpoint.c: New file.
3158 * gdb.guile/scm-breakpoint.exp: New file.
3159 * gdb.guile/scm-disasm.c: New file.
3160 * gdb.guile/scm-disasm.exp: New file.
3161 * gdb.guile/scm-equal.c: New file.
3162 * gdb.guile/scm-equal.exp: New file.
3163 * gdb.guile/scm-error.exp: New file.
3164 * gdb.guile/scm-error.scm: New file.
3165 * gdb.guile/scm-frame-args.c: New file.
3166 * gdb.guile/scm-frame-args.exp: New file.
3167 * gdb.guile/scm-frame-args.scm: New file.
3168 * gdb.guile/scm-frame-inline.c: New file.
3169 * gdb.guile/scm-frame-inline.exp: New file.
3170 * gdb.guile/scm-frame.c: New file.
3171 * gdb.guile/scm-frame.exp: New file.
3172 * gdb.guile/scm-generics.exp: New file.
3173 * gdb.guile/scm-gsmob.exp: New file.
3174 * gdb.guile/scm-iterator.c: New file.
3175 * gdb.guile/scm-iterator.exp: New file.
3176 * gdb.guile/scm-math.c: New file.
3177 * gdb.guile/scm-math.exp: New file.
3178 * gdb.guile/scm-objfile-script-gdb.in: New file.
3179 * gdb.guile/scm-objfile-script.c: New file.
3180 * gdb.guile/scm-objfile-script.exp: New file.
3181 * gdb.guile/scm-objfile.c: New file.
3182 * gdb.guile/scm-objfile.exp: New file.
3183 * gdb.guile/scm-ports.exp: New file.
3184 * gdb.guile/scm-pretty-print.c: New file.
3185 * gdb.guile/scm-pretty-print.exp: New file.
3186 * gdb.guile/scm-pretty-print.scm: New file.
3187 * gdb.guile/scm-section-script.c: New file.
3188 * gdb.guile/scm-section-script.exp: New file.
3189 * gdb.guile/scm-section-script.scm: New file.
3190 * gdb.guile/scm-symbol.c: New file.
3191 * gdb.guile/scm-symbol.exp: New file.
3192 * gdb.guile/scm-symtab-2.c: New file.
3193 * gdb.guile/scm-symtab.c: New file.
3194 * gdb.guile/scm-symtab.exp: New file.
3195 * gdb.guile/scm-type.c: New file.
3196 * gdb.guile/scm-type.exp: New file.
3197 * gdb.guile/scm-value-cc.cc: New file.
3198 * gdb.guile/scm-value-cc.exp: New file.
3199 * gdb.guile/scm-value.c: New file.
3200 * gdb.guile/scm-value.exp: New file.
3201 * gdb.guile/source2.scm: New file.
3202 * gdb.guile/types-module.cc: New file.
3203 * gdb.guile/types-module.exp: New file.
3204
7026a7c1
YQ
32052014-02-10 Yao Qi <yao@codesourcery.com>
3206
3207 PR testsuite/16543
3208 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
3209 * configure: Regenerated.
3210 * Makefile.in: New file.
3211
6c466447
AS
32122014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3213
3214 * gdb.python/py-framefilter.exp: Fix typo.
3215
6e854735
YQ
32162014-02-08 Yao Qi <yao@codesourcery.com>
3217
3218 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
3219 that no =breakpoint-modified is emitted when breakpoints are
3220 modified through MI commands.
3221
d137e6dc
PA
32222014-02-07 Pedro Alves <pedro@codesourcery.com>
3223 Pedro Alves <palves@redhat.com>
3224
3225 * gdb.threads/step-after-sr-lock.c: New file.
3226 * gdb.threads/step-after-sr-lock.exp: New file.
3227
b5ee5a50
PA
32282014-02-07 Pedro Alves <palves@redhat.com>
3229
3230 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
3231
3c77faf3
JK
32322014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3233
3234 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
3235 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
3236
6dddc817
DE
32372014-02-06 Doug Evans <xdje42@gmail.com>
3238
3239 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
3240 output.
3241
3242 * gdb.gdb/python-interrupts.exp: New file.
3243
de7b2893
YQ
32442014-02-05 Yao Qi <yao@codesourcery.com>
3245
3246 * gdb.trace/report.exp (use_collected_data): Test the output
3247 of "info threads" and "info inferiors".
3248
66d032ac
YQ
32492014-02-05 Yao Qi <yao@codesourcery.com>
3250
3251 Revert this patch:
3252
3253 2013-05-24 Yao Qi <yao@codesourcery.com>
3254
3255 * gdb.trace/tfile.exp: Test inferior and thread.
3256
591a12a1
UW
32572014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3258
3259 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
3260 on a function.
3261 * gdb.base/step-bt.c: Call hello via function pointer to make
3262 sure its first instruction is executed on powerpc64le-linux.
3263
0ff3e01f
UW
32642014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3265
3266 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
3267
084ee545
UW
32682014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3269
3270 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
3271 of the test patterns for use on little-endian systems.
3272
6ed14ff3
UW
32732014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3274
3275 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
3276 (decimal_vector): Fix for little-endian.
3277
401e27fd
JM
32782014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3279
3280 * gdb.arch/sparc-sysstep.exp: New file.
3281 * gdb.arch/sparc-sysstep.c: Likewise.
3282
3283 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
3284
8b924729
EBM
32852014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3286
3287 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
3288
fb151210
JB
32892014-01-23 Tom Tromey <tromey@redhat.com>
3290
3291 * gdb.ada/array_char_idx: New testcase.
3292
0740f8d8
TT
32932014-01-23 Tom Tromey <tromey@redhat.com>
3294
3295 PR python/16487:
3296 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
3297 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
3298 classes.
3299
21909fa1
TT
33002014-01-23 Tom Tromey <tromey@redhat.com>
3301
3302 PR python/16491:
3303 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
3304 string from an inferior frame.
3305 * gdb.python/py-framefilter-mi.exp: Update.
3306
87ce2a04
DE
33072014-01-22 Doug Evans <dje@google.com>
3308
3309 * gdb.server/server-mon.exp: Add tests for "set debug-format".
3310
237b092b
AA
33112014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3312
3313 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
3314
d674a709
AA
33152014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3316
3317 * gdb.trace/entry-values.exp: Remove excess space character from
3318 regex patterns. Handle s390 call instruction.
3319
20fa3390
AA
33202014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3321
3322 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
3323 define "*_start" label. Make "name" static.
3324 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
3325 ${name} by references to ${name}_start.
3326
78466714
AA
33272014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3328
3329 * gdb.base/info-macros.exp: Remove "debug" from the compile
3330 options.
3331
ec9f644a
IB
33322014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3333
3334 * gdb.dlang/demangle.exp: New file.
3335
94b1b47e
IB
33362014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3337
3338 * gdb.dlang/primitive-types.exp: New file.
3339
7f420862
IB
33402014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3341
3342 * configure.ac: Create gdb.dlang/Makefile.
3343 * configure: Regenerate.
3344 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
3345 * gdb.dlang/Makefile.in: New file.
3346 * lib/d-support.exp: New file.
3347 * lib/gdb.exp (skip_d_tests): New proc.
3348
52834460
MM
33492014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3350
3351 * gdb.btrace/delta.exp: Check reverse stepi.
3352 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
3353 * gdb.btrace/finish.exp: New.
3354 * gdb.btrace/next.exp: New.
3355 * gdb.btrace/nexti.exp: New.
3356 * gdb.btrace/record_goto.c: Add comments.
3357 * gdb.btrace/step.exp: New.
3358 * gdb.btrace/stepi.exp: New.
3359 * gdb.btrace/multi-thread-step.c: New.
3360 * gdb.btrace/multi-thread-step.exp: New.
3361 * gdb.btrace/rn-dl-bind.c: New.
3362 * gdb.btrace/rn-dl-bind.exp: New.
3363 * gdb.btrace/data.c: New.
3364 * gdb.btrace/data.exp: New.
3365 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3366
6e07b1d2
MM
33672014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3368
3369 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
3370 * gdb.btrace/exception.exp: Update.
3371 * gdb.btrace/instruction_history.exp: Update.
3372 * gdb.btrace/record_goto.exp: Update.
3373 * gdb.btrace/tailcall.exp: Update.
3374 * gdb.btrace/unknown_functions.exp: Update.
3375 * gdb.btrace/delta.exp: New.
3376
0b722aec
MM
33772014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3378
3379 * gdb.btrace/record_goto.exp: Add backtrace test.
3380 * gdb.btrace/tailcall.exp: Add backtrace test.
3381
066ce621
MM
33822014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3383
3384 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
3385 * gdb.btrace/record_goto.c: New.
3386 * gdb.btrace/record_goto.exp: New.
3387 * gdb.btrace/x86-record_goto.S: New.
3388
0688d04e
MM
33892014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3390
3391 * gdb.btrace/function_call_history.exp: Update tests.
3392 * gdb.btrace/instruction_history.exp: Update tests.
3393
8710b709
MM
33942014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3395
3396 * gdb.btrace/function_call_history.exp: Fix expected field
3397 order for "record function-call-history".
3398 Add new tests for "record function-call-history /c".
3399 * gdb.btrace/exception.cc: New.
3400 * gdb.btrace/exception.exp: New.
3401 * gdb.btrace/tailcall.exp: New.
3402 * gdb.btrace/x86-tailcall.S: New.
3403 * gdb.btrace/x86-tailcall.c: New.
3404 * gdb.btrace/unknown_functions.c: New.
3405 * gdb.btrace/unknown_functions.exp: New.
3406 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3407
5de9129b
MM
34082014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3409
3410 * gdb.btrace/instruction_history.exp: Update.
3411 * gdb.btrace/function_call_history.exp: Update.
3412
23a7fe75
MM
34132014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3414
3415 * gdb.btrace/function_call_history.exp: Fix expected function
3416 trace.
3417 * gdb.btrace/instruction_history.exp: Initialize traced.
3418 Remove traced_functions.
3419
724c7dd8
MM
34202014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3421
3422 * gdb.btrace/function_call_history.exp: Update
3423 * gdb.btrace/instruction_history.exp: Update.
3424
6d78d93b
MM
34252014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3426
3427 * gdb.btrace/enable.exp: Update expected text.
3428
93a360cc
OJ
34292014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
3430
3431 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
3432 bytes.
3433
3772b53f
MR
34342014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
3435
3436 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
3437
596662fa
OJ
34382014-01-15 Omair Javaid <omair.javaid@linaro.org>
3439
3440 * lib/gdb.exp (supports_process_record): Return true for
3441 arm*-linux*. (supports_reverse): Likewise.
3442
b5b08fb4
SC
34432014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3444
3445 PR python/15464
3446 PR python/16113
3447 * gdb.python/py-type.c: Enhance test case.
3448 * gdb.python/py-value-cc.cc: Likewise
3449 * gdb.python/py-type.exp: Add new tests.
3450 * gdb.python/py-value-cc.exp: Likewise
3451
52d7fb13
AA
34522014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3453 Pedro Alves <palves@redhat.com>
3454
3455 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
3456 Make "name" extern.
3457 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
3458 references to ${name}_start by references to ${name}.
3459
a2cd8cfe
JB
34602014-01-10 Joel Brobecker <brobecker@adacore.com>
3461
3462 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
3463
4e23fced
JB
34642014-01-10 Joel Brobecker <brobecker@adacore.com>
3465
3466 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
3467
c6a9e42c
PA
34682014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
3469 Pedro Alves <palves@redhat.com>
3470
3471 * gdb.mi/mi-info-os.exp: Connect to the target with
3472 mi_gdb_target_load.
3473
b7ea362b
PA
34742014-01-08 Pedro Alves <palves@redhat.com>
3475
3476 * gdb.threads/reconnect-signal.c: New file.
3477 * gdb.threads/reconnect-signal.exp: New file.
3478
5e3f4fab
EBM
34792014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3480
3481 * gdb.base/source-dir.exp: New file.
3482
79301218
JB
34832014-01-07 Joel Brobecker <brobecker@adacore.com>
3484
3485 * gdb.ada/mi_interface: New testcase.
3486
8e355c5d
JB
34872014-01-07 Joel Brobecker <brobecker@adacore.com>
3488
3489 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
3490 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
3491 gdb.ada/pp-rec-component/pck.ads: New files.
3492
c0d48811
JB
34932014-01-07 Joel Brobecker <brobecker@adacore.com>
3494
3495 * gdb.python/py-pp-integral.c: New file.
3496 * gdb.python/py-pp-integral.py: New file.
3497 * gdb.python/py-pp-integral.exp: New file.
3498
17b609c3 3499For older changes see ChangeLog-1993-2013.
c906108c 3500\f
8d8cb839
EZ
3501;; Local Variables:
3502;; mode: change-log
3503;; left-margin: 8
3504;; fill-column: 74
3505;; version-control: never
3506;; End:
902f2ccb 3507
14f8b115 3508 Copyright 2014 Free Software Foundation, Inc.
902f2ccb
MC
3509 Copying and distribution of this file, with or without modification,
3510 are permitted provided the copyright notice and this notice are preserved.