1 2014-12-13 Joel Brobecker <brobecker@adacore.com>
3 * gdb.ada/str_uninit: New testcase.
5 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8 * gdb.base/vla-stub-define.c: New file.
9 * gdb.base/vla-stub.c: New file.
10 * gdb.base/vla-stub.exp: New file.
12 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
13 Jan Kratochvil <jan.kratochvil@redhat.com>
14 Tom Tromey <tromey@redhat.com>
16 * configure.ac: Add gdb.compile/.
17 * configure: Regenerate.
18 * gdb.compile/Makefile.in: New file.
19 * gdb.compile/compile-ops.exp: New file.
20 * gdb.compile/compile-ops.c: New file.
21 * gdb.compile/compile-tls.c: New file.
22 * gdb.compile/compile-tls.exp: New file.
23 * gdb.compile/compile-constvar.S: New file.
24 * gdb.compile/compile-constvar.c: New file.
25 * gdb.compile/compile-mod.c: New file.
26 * gdb.compile/compile-nodebug.c: New file.
27 * gdb.compile/compile-setjmp-mod.c: New file.
28 * gdb.compile/compile-setjmp.c: New file.
29 * gdb.compile/compile-setjmp.exp: New file.
30 * gdb.compile/compile-shlib.c: New file.
31 * gdb.compile/compile.c: New file.
32 * gdb.compile/compile.exp: New file.
33 * lib/gdb.exp (skip_compile_feature_tests): New proc.
35 2014-12-12 Tom Tromey <tromey@redhat.com>
37 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
38 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
40 2014-12-12 Doug Evans <dje@google.com>
42 * lib/gdb-python.exp (get_python_valueof): New function.
43 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
45 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
47 * gdb.base/completion.exp: Add test for completion of "info
50 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
52 * gdb.base/func-ptrs.c: New file.
53 * gdb.base/func-ptrs.exp: New file.
55 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
58 * gdb.base/dprintf-detach.c: New file.
59 * gdb.base/dprintf-detach.exp: New file.
61 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
63 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
64 * lib/gdb.exp (target_is_gdbserver): New procedure.
66 2014-12-08 Doug Evans <dje@google.com>
68 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
70 2014-12-05 Yao Qi <yao@codesourcery.com>
72 * gdb.guile/scm-error.exp: Remove the third argument to
74 * gdb.guile/scm-frame-args.exp: Likewise.
75 * gdb.guile/scm-section-script.exp: Likewise.
77 2014-12-05 Yao Qi <yao@codesourcery.com>
79 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
81 2014-12-04 Doug Evans <dje@google.com>
83 * gdb.python/py-objfile.exp: Add tests for
84 objfile.add_separate_debug_file.
86 2014-12-04 Doug Evans <dje@google.com>
88 * lib/gdb.exp (get_build_id): New function.
89 (build_id_debug_filename_get): Rewrite to use it.
90 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
92 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
94 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
95 `method(long)', not just 0x0.
96 * gdb.cp/nsalias.exp: Align code labels to 4.
97 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
98 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
99 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
100 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
101 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
102 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
104 2014-12-02 Doug Evans <dje@google.com>
107 * gdb.cp/anon-ns.cc: Move guts of this file to ...
108 * gdb.cp/anon-ns-2.cc: ... here. New file.
109 * gdb.cp/anon-ns.exp: Update.
111 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
113 * gdb.python/py-events.py (inferior_call_handler): New.
114 (register_changed_handler, memory_changed_handler): New.
115 (test_events.invoke): Register new handlers.
116 * gdb.python/py-events.exp: Add tests for inferior call,
117 memory_changed and register_changed events.
119 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
121 * gdb.base/execl-update-breakpoints.exp: Specify the link address
122 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
123 if the linker doesn't understand this.
125 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
127 * gdb.python/python.exp: Change expected reply to help().
129 2014-12-01 Yao Qi <yao@codesourcery.com>
131 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
132 AC_CONFIG_SUBDIRS(gdb.gdbtk).
133 * configure: Re-generated.
135 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
137 * gdb.cp/chained-calls.cc: New file.
138 * gdb.cp/chained-calls.exp: New file.
139 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
141 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
143 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
144 * gdb.dwarf2/symtab-producer.exp: Same.
145 * gdb.gdb/python-interrupts.exp: Same.
146 * gdb.gdb/python-selftest.exp: Same.
147 * gdb.python/py-linetable.exp: Same.
148 * gdb.python/py-type.exp: Same.
149 * gdb.python/py-value-cc.exp: Same.
150 * gdb.python/py-value.exp: Same.
152 2014-11-28 Yao Qi <yao@codesourcery.com>
154 * gdb.base/break-probes.exp: Match library name prefixed with
157 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
159 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
160 test expected output. Add parentheses for the call to print.
161 Remove L suffix from integers.
163 2014-11-26 Doug Evans <dje@google.com>
165 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
167 2014-11-22 Yao Qi <yao@codesourcery.com>
169 * gdb.trace/entry-values.c: Remove asms.
170 (foo): Add foo_label.
171 (bar): Add bar_label.
172 * gdb.trace/entry-values.exp: Remove code computing foo's
173 length and bar's length.
174 (Dwarf::assemble): Invoke function_range for bar and use
175 MACRO_AT_func for foo.
177 2014-11-22 Yao Qi <yao@codesourcery.com>
179 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
180 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
181 Use .Lgcc43_procstart instead of gcc43.
183 2014-11-21 Joel Brobecker <brobecker@adacore.com>
185 * gdb.ada/n_arr_bound: New testcase.
187 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
190 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
191 test_catch_syscall_multi_arch.
192 (test_catch_syscall_multi_arch): New function.
194 2014-11-20 Doug Evans <xdje42@gmail.com>
196 * gdb.base/maint.exp: Update expected output.
198 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
200 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
201 4-byte instruction on S390.
203 2014-11-19 Joel Brobecker <brobecker@adacore.com>
205 * gdb.ada/arr_arr: New testcase.
207 2014-11-19 Joel Brobecker <brobecker@adacore.com>
209 * gdb.ada/pkd_arr_elem: New Testcase.
211 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
213 * gdb.reverse/break-precsave: Expect completion message for
215 * gdb.reverse/consecutive-precsave.exp: Likewise.
216 * gdb.reverse/finish-precsave.exp: Likewise.
217 * gdb.reverse/i386-precsave.exp: Likewise.
218 * gdb.reverse/machinestate-precsave.exp: Likewise.
219 * gdb.reverse/sigall-precsave.exp: Likewise.
220 * gdb.reverse/solib-precsave.exp: Likewise.
221 * gdb.reverse/step-precsave.exp: Likewise.
222 * gdb.reverse/until-precsave.exp: Likewise.
223 * gdb.reverse/watch-precsave.exp: Likewise.
225 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
227 * gdb.base/bp-permanent.c: Include unistd.h.
228 * gdb.python/py-framefilter-mi.c (main): Add return type.
229 * gdb.python/py-framefilter.c (main): Likewise.
230 * gdb.trace/actions-changed.c (main): Likewise.
232 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
234 * gdb.mi/until.c: Add eye-catchers.
235 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
238 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
240 * gdb.base/condbreak.exp: Drop references to removed non-prototype
241 function header variants in break1.c.
242 * gdb.base/ena-dis-br.exp: Likewise.
243 * gdb.base/hbreak2.exp: Likewise.
244 * gdb.reverse/until-precsave.exp: Drop references to removed
245 non-prototype function header variants in ur1.c.
246 * gdb.reverse/until-reverse.exp: Likewise.
248 2014-11-17 Petr Machata <pmachata@redhat.com>
250 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
251 ${_cu_offset_size} bytes abbrev offset.
253 2014-11-15 Doug Evans <xdje42@gmail.com>
256 * gdb.base/line-symtabs.exp: New file.
257 * gdb.base/line-symtabs.c: New file.
258 * gdb.base/line-symtabs.h: New file.
260 2014-11-14 Yao Qi <yao@codesourcery.com>
262 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
263 (func): Add label func_label.
264 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
265 Replace low_pc and high_pc with MACRO_AT_range.
266 Replace name, low_pc and high_pc with MACRO_AT_func.
268 2014-11-14 Yao Qi <yao@codesourcery.com>
270 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
271 Replace name, low_pc and high_pc with MACRO_AT_func.
273 2014-11-14 Yao Qi <yao@codesourcery.com>
275 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
276 produce debug information.
277 * gdb.dwarf2/implptr-optimized-out.S: Removed.
279 2014-11-14 Yao Qi <yao@codesourcery.com>
281 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
282 object and get function length.
283 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
285 (top-level): Replace gdb_compile and clean_restart with
287 * gdb.dwarf2/main.c (main): Add label main_label.
289 2014-11-14 Yao Qi <yao@codesourcery.com>
291 * lib/dwarf.exp (function_range): New procedure.
292 (Dwarf::_handle_macro_at_func): New procedure.
293 (Dwarf::_handle_macro_at_range): New procedure.
294 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
296 2014-11-14 Yao Qi <yao@codesourcery.com>
298 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
299 (_handle_attribute): New procedure.
301 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
303 * gdb.ada/cond_lang/foo.c (callme): Add return type.
304 * gdb.base/call-sc.c (zed): Likewise.
305 * gdb.base/checkpoint.c (main): Likewise.
306 * gdb.base/dump.c (main): Likewise.
307 * gdb.base/gcore.c (main): Likewise.
308 * gdb.base/huge.c (main): Likewise.
309 * gdb.base/multi-forks.c (main): Likewise.
310 * gdb.base/pr10179-a.c (main): Likewise.
311 * gdb.base/savedregs.c (main): Likewise.
312 * gdb.base/sigaltstack.c (main): Likewise.
313 * gdb.base/siginfo.c (main): Likewise.
314 * gdb.base/structs.c (zed): Likewise.
315 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
316 * gdb.mi/mi-syn-frame.c (main): Likewise.
317 * gdb.mi/until.c (foo, main): Likewise.
318 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
319 * gdb.base/solib-weak.c (foo): Declare.
320 * gdb.base/attach-twice.c: Include stdio.h.
321 * gdb.base/weaklib1.c: Likewise.
322 * gdb.base/weaklib2.c: Likewise.
323 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
324 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
326 * gdb.base/attach-pie-misread.c: Include stdlib.h.
327 * gdb.mi/mi-exit-code.c: Likewise.
328 * gdb.base/break-interp-lib.c: Include string.h.
329 * gdb.base/coremaker.c: Likewise.
330 * gdb.base/testenv.c: Likewise.
331 * gdb.python/py-finish-breakpoint.c: Likewise.
332 * gdb.base/inferior-died.c: Include sys/wait.h.
333 * gdb.base/fileio.c: Include time.h.
334 * gdb.base/async-shell.c: Include unistd.h.
335 * gdb.base/dprintf-non-stop.c: Likewise.
336 * gdb.base/info-os.c: Likewise.
337 * gdb.mi/mi-console.c: Likewise.
338 * gdb.mi/watch-nonstop.c: Likewise.
339 * gdb.python/py-events.c: Likewise.
340 * gdb.base/async.c (baz): Move up before its invocation.
341 * gdb.base/code_elim2.c (my_global_func): Likewise.
342 * gdb.base/skip-solib-lib.c (multiply): Likewise.
343 * gdb.base/advance.c (func2): Likewise.
345 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
347 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
349 * gdb.base/annota3.c: Likewise.
350 * gdb.base/async.c: Likewise.
351 * gdb.base/average.c: Likewise.
352 * gdb.base/call-ar-st.c: Likewise.
353 * gdb.base/call-rt-st.c: Likewise.
354 * gdb.base/call-sc.c: Likewise.
355 * gdb.base/call-strs.c: Likewise.
356 * gdb.base/ending-run.c: Likewise.
357 * gdb.base/execd-prog.c: Likewise.
358 * gdb.base/exprs.c: Likewise.
359 * gdb.base/foll-exec.c: Likewise.
360 * gdb.base/foll-fork.c: Likewise.
361 * gdb.base/foll-vfork.c: Likewise.
362 * gdb.base/funcargs.c: Likewise.
363 * gdb.base/gcore.c: Likewise.
364 * gdb.base/jump.c: Likewise.
365 * gdb.base/langs0.c: Likewise.
366 * gdb.base/langs1.c: Likewise.
367 * gdb.base/langs2.c: Likewise.
368 * gdb.base/mips_pro.c: Likewise.
369 * gdb.base/nodebug.c: Likewise.
370 * gdb.base/opaque0.c: Likewise.
371 * gdb.base/opaque1.c: Likewise.
372 * gdb.base/recurse.c: Likewise.
373 * gdb.base/run.c: Likewise.
374 * gdb.base/scope0.c: Likewise.
375 * gdb.base/scope1.c: Likewise.
376 * gdb.base/setshow.c: Likewise.
377 * gdb.base/setvar.c: Likewise.
378 * gdb.base/shmain.c: Likewise.
379 * gdb.base/shr1.c: Likewise.
380 * gdb.base/shr2.c: Likewise.
381 * gdb.base/sigall.c: Likewise.
382 * gdb.base/signals.c: Likewise.
383 * gdb.base/so-indr-cl.c: Likewise.
384 * gdb.base/solib2.c: Likewise.
385 * gdb.base/structs.c: Likewise.
386 * gdb.base/sum.c: Likewise.
387 * gdb.base/vforked-prog.c: Likewise.
388 * gdb.base/watchpoint.c: Likewise.
389 * gdb.reverse/shr2.c: Likewise.
390 * gdb.reverse/until-reverse.c: Likewise.
391 * gdb.reverse/ur1.c: Likewise.
392 * gdb.reverse/watch-reverse.c: Likewise.
394 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
396 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
398 * gdb.base/sepdebug.exp: Drop references to removed code.
400 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
402 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
403 variant. Preserve original line numbering.
404 * gdb.base/list1.c: Likewise.
406 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
408 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
410 * gdb.base/break1.c: Likewise.
411 * gdb.base/break.exp: Drop references to removed code.
413 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
415 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
418 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
420 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
422 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
424 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
425 logic into perform_all_tests() and invoke it with and without
426 function header prototypes.
427 (do_function_calls): Remove conditional XFAIL for PR 5318.
428 (rerun_and_prepare): Remove duplicate code.
429 (perform_all_tests): New. Main logic moved here.
431 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
433 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
434 code guarded by #ifdef NO_PROTOTYPES.
435 (t_double_many_args): Likewise.
436 (DEF_FUNC_MANY_ARGS_1): Likewise.
437 (DEF_FUNC_VALUES_1): Likewise.
438 (t_structs_ldc): Renamed from t_structs_fc in conditional code
439 guarded by #ifdef PROTOTYPES.
441 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
443 * gdb.mi/mi-console.c: Add eye-catcher.
444 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
445 instead of literal line number.
447 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
449 * gdb.base/shr2.c: Add eye-catcher.
450 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
453 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
455 * gdb.base/jump.c: Add eye-catchers.
456 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
459 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
461 * gdb.base/execd-prog.c: Add eye-catchers.
462 * gdb.base/foll-exec.c: Likewise.
463 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
466 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
468 * gdb.base/ending-run.c: Add eye-catchers.
469 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
470 literal line numbers.
472 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
474 * gdb.base/call-rt-st.c: Add eye-catchers.
475 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
476 literal line numbers.
478 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
480 * gdb.base/call-ar-st.c: Add eye-catchers.
481 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
482 literal line numbers.
484 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
486 * gdb.base/average.c: Add eye-catchers.
487 * gdb.base/sum.c: Likewise.
488 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
491 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
493 * gdb.base/solib1.c: Add eye-catchers.
494 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
495 literal line numbers.
497 2014-11-12 Pedro Alves <palves@redhat.com>
499 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
502 2014-11-12 Pedro Alves <palves@redhat.com>
504 * gdb.arch/i386-bp_permanent.c: New file.
505 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
506 (srcfile): Set to i386-bp_permanent.c.
507 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
508 that stepi does not execute the 'leave' instruction, instead of
509 testing it does execute.
510 * gdb.base/bp-permanent.c: New file.
511 * gdb.base/bp-permanent.exp: New file.
513 2014-11-10 Doug Evans <xdje42@gmail.com>
516 * gdb.base/symtab-search-order.exp: New file.
517 * gdb.base/symtab-search-order.c: New file.
518 * gdb.base/symtab-search-order-1.c: New file.
519 * gdb.base/symtab-search-order-shlib-1.c: New file.
521 2014-11-07 Pedro Alves <palves@redhat.com>
524 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
527 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
530 * gdb.cp/pr17494.cc: New file.
531 * gdb.cp/pr17494.exp: New file.
533 2014-11-02 Yao Qi <yao@codesourcery.com>
535 * gdb.python/python.exp: Get working directory and match the
536 output of "set extended-prompt \\w " with it.
538 2014-10-30 Doug Evans <dje@google.com>
540 * gdb.python/py-objfile.exp: Add tests for setting random attributes
542 * gdb.python/py-progspace.exp: Add tests for setting random attributes
545 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
547 * gdb.base/fullpath-expand.exp: Skip for a remote host.
548 * gdb.base/realname-expand.exp: Likewise.
549 * gdb.linespec/macro-relative.exp: Likewise.
551 2014-10-29 Pedro Alves <palves@redhat.com>
554 * gdb.threads/schedlock.c (some_function): New function.
555 (call_function): New global.
556 (MAYBE_CALL_SOME_FUNCTION): New macro.
557 (thread_function): Call it.
558 * gdb.threads/schedlock.exp (get_args): Add description parameter,
559 and use it instead of a global counter. Adjust all callers.
560 (get_current_thread): Use "find current thread" for test message
561 here rather than having all callers pass down the same string.
562 (goto_loop): New procedure, factored out from ...
563 (my_continue): ... this.
564 (step_ten_loops): Change parameter from test message to command to
566 (list_count): Delete global.
567 (check_result): New procedure, factored out from duplicate top
569 (continue tests): Wrap in with_test_prefix.
570 (test_step): New procedure, factored out from duplicate top level
572 (top level): Test "step" in combination with all scheduler-locking
573 modes. Test "next" in combination with all scheduler-locking
574 modes, and in combination with stepping over a function call or
576 * gdb.threads/next-bp-other-thread.c: New file.
577 * gdb.threads/next-bp-other-thread.exp: New file.
579 2014-10-29 Pedro Alves <palves@redhat.com>
582 * gdb.python/python.exp: Test a multi-line command that spawns
584 * gdb.base/multi-line-starts-subshell.exp: New file.
586 2014-10-29 Yao Qi <yao@codesourcery.com>
588 * gdb.base/fileio.exp: Make directories on host.
590 2014-10-29 Yao Qi <yao@codesourcery.com>
592 * gdb.base/fileio.c (test_write): Close the file.
594 2014-10-28 Pedro Alves <palves@redhat.com>
597 * gdb.base/sigstep.c (no_handler): New global.
598 (main): If 'no_handler is true, set the signal handlers to
600 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
601 with_sw_watch and no_handler parameters. Handle them.
602 (top level) <stepping over handler when stopped at a breakpoint
603 test>: Add a test axis for testing with a software watchpoint, and
604 another for testing with the signal handler set to SIG_IGN.
605 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
606 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
608 2014-10-28 Pedro Alves <palves@redhat.com>
611 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
612 * gdb.base/sigstep.exp (other_handler_location): New global.
613 (advance): Support stepping into the signal handler, and running
614 commands while in the handler.
615 (in_handler_map): New global.
616 (top level): In the advance test, add combinations for getting
617 into the handler with stepping commands, and for running commands
618 in the handler. Add comment descripting the advancei tests.
620 2014-10-28 Pedro Alves <palves@redhat.com>
622 * gdb.base/sigstep.exp: Use build_executable instead of
624 (top level): Move code that starts GDB, runs to main and creates a
626 (restart): ... this new procedure.
627 (top level): Move backtrace from signal handler test to ...
628 (validate_backtrace): ... this new procedure.
629 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
630 with_test_prefix. Always restart GDB.
631 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
632 with_test_prefix. Always restart GDB. No need to delete
633 breakpoints after the test.
634 (test_skip_handler): Remove prefix parameter.
635 (skip_over_handler, breakpoint_to_handler)
636 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
637 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
638 restart GDB. No need to delete breakpoints after the test.
639 (top level): Use foreach to call the test procedures with
642 2014-10-28 Pedro Alves <palves@redhat.com>
644 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
645 instead of GNATS numbers.
646 * gdb.base/sigbpt.exp: Likewise.
647 * gdb.base/siginfo.exp: Likewise.
648 * gdb.base/sigstep.exp: Likewise.
650 2014-10-27 Pedro Alves <palves@redhat.com>
652 * gdb.base/sigstep.c (dummy): New global.
653 (main): Issue a couple writes to the new global.
654 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
656 (skip_over_handler): Use test_skip_handler.
657 (top level): Call skip_over_handler for stepi and nexti too.
658 (breakpoint_over_handler): Use test_skip_handler.
659 (top level): Call breakpoint_over_handler for stepi and nexti too.
661 2014-10-27 Yao Qi <yao@codesourcery.com>
663 * gdb.trace/tfile.c (adjust_function_address)
664 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
667 2014-10-24 Don Breazeal <donb@codesourcery.com>
669 * gdb.base/foll-fork.exp (test_follow_fork,
670 catch_fork_child_follow): Check for updated fork messages emitted
672 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
673 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
674 vfork_and_exec_child_follow_through_step): Check for updated vfork
675 messages emitted from infrun.c.
677 2014-10-24 Pedro Alves <palves@redhat.com>
679 * gdb.base/corefile.exp: Remove references to ultrix.
680 * gdb.base/interrupt.exp: Likewise.
681 * gdb.base/whatis.exp: Likewise.
682 * gdb.gdb/selftest.exp: Likewise.
683 * gdb.threads/manythreads.exp: Likewise.
684 * gdb.threads/print-threads.exp: Likewise.
685 * gdb.threads/pthreads.exp:: Likewise.
686 * gdb.threads/schedlock.exp: Likewise.
688 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
690 * gdb.cp/non-trivial-retval.cc: Add a test case.
691 * gdb.cp/non-trivial-retval.exp: Add a test.
693 2014-10-20 Yao Qi <yao@codesourcery.com>
695 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
696 * gdb.python/py-objfile-script-gdb.py: New file.
697 * gdb.python/py-objfile-script.exp: Update reference to
698 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
699 of remote_download. Remove the dest file.
701 2014-10-20 Yao Qi <yao@codesourcery.com>
703 * gdb.base/checkpoint.exp: Don't remove file copied on host.
704 * gdb.base/step-line.exp: Likewise.
705 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
706 * gdb.dwarf2/dw2-basic.exp: Likewise.
707 * gdb.dwarf2/dw2-compressed.exp: Likewise.
708 * gdb.dwarf2/dw2-filename.exp: Likewise.
709 * gdb.dwarf2/dw2-intercu.exp: Likewise.
710 * gdb.dwarf2/dw2-intermix.exp: Likewise.
711 * gdb.dwarf2/dw2-producer.exp: Likewise.
712 * gdb.dwarf2/mac-fileno.exp: Likewise.
713 * gdb.python/py-frame-args.exp: Likewise.
714 * gdb.python/py-framefilter.exp: Likewise.
715 * gdb.python/py-mi.exp: Likewise.
716 * gdb.python/py-objfile-script.exp: Likewise
717 * gdb.python/py-pp-integral.exp: Likewise.
718 * gdb.python/py-pp-re-notag.exp: Likewise.
719 * gdb.python/py-prettyprint.exp: Likewise.
720 * gdb.python/py-section-script.exp: Likewise.
721 * gdb.python/py-typeprint.exp: Likewise.
722 * gdb.python/py-xmethods.exp: Likewise.
723 * gdb.stabs/weird.exp: Likewise.
724 * gdb.xml/tdesc-regs.exp: Likewise.
726 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
728 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
729 (out_cu): Use addr_len for the size of addresses.
730 (out_line): Likewise. Size DW_LNE_set_address instruction
731 according to addr_len.
732 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
733 (FUNC): Add START_INSNS to definition.
735 2014-10-18 Yao Qi <yao@codesourcery.com>
737 * gdb.base/argv0-symlink.exp: Check argv[0] value if
738 gdb_has_argv0 return true.
739 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
740 check [target_info exists noargs], check [gdb_has_argv0]
742 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
743 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
746 2014-10-17 Doug Evans <dje@google.com>
748 * gdb.python/py-events.exp: Update expected output for clear_objfiles
750 * gdb.python/py-events.py: Add clear_objfiles event.
752 2014-10-17 Doug Evans <dje@google.com>
754 * gdb.python/py-objfile.exp: Test progspace attribute.
756 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
758 * gdb.guile/scm-breakpoint.exp: Do not assume any
759 directory separators when matching source file paths.
760 * gdb.python/py-breakpoint.exp: Likewise.
761 * gdb.reverse/break-precsave.exp: Likewise.
762 * gdb.reverse/break-reverse.exp: Likewise.
763 * gdb.reverse/consecutive-precsave.exp: Likewise.
764 * gdb.reverse/finish-precsave.exp: Likewise.
765 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
766 * gdb.reverse/finish-reverse.exp: Likewise.
767 * gdb.reverse/i386-precsave.exp: Likewise.
768 * gdb.reverse/i387-env-reverse.exp: Likewise.
769 * gdb.reverse/i387-stack-reverse.exp: Likewise.
770 * gdb.reverse/machinestate-precsave.exp: Likewise.
771 * gdb.reverse/machinestate.exp: Likewise.
772 * gdb.reverse/sigall-precsave.exp: Likewise.
773 * gdb.reverse/solib-precsave.exp: Likewise.
774 * gdb.reverse/step-precsave.exp: Likewise.
775 * gdb.reverse/until-precsave.exp: Likewise.
776 * gdb.reverse/watch-precsave.exp: Likewise.
777 * gdb.reverse/watch-reverse.exp: Likewise.
779 2014-10-17 Yao Qi <yao@codesourcery.com>
781 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
782 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
784 2014-10-17 Pedro Alves <palves@redhat.com>
787 * gdb.base/bg-execution-repeat.c: New file.
788 * gdb.base/bg-execution-repeat.exp: New file.
790 2014-10-17 Pedro Alves <palves@redhat.com>
793 * gdb.base/continue-all-already-running.c: New file.
794 * gdb.base/continue-all-already-running.exp: New file.
796 2014-10-17 Pedro Alves <palves@redhat.com>
799 * gdb.base/annota-input-while-running.c: New file.
800 * gdb.base/annota-input-while-running.exp: New file.
802 2014-10-17 Pedro Alves <palves@redhat.com>
804 * gdb.base/callfuncs.exp: emove references to osf.
805 * gdb.base/sigall.exp: Likewise.
806 * gdb.gdb/selftest.exp: Likewise.
807 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
808 * gdb.mi/non-stop.c: Likewise.
809 * gdb.mi/pthreads.c: Likewise.
810 * gdb.reverse/sigall-precsave.exp: Likewise.
811 * gdb.reverse/sigall-reverse.exp: Likewise.
812 * gdb.threads/pthreads.c: Likewise.
813 * gdb.threads/pthreads.exp: Likewise.
815 2014-10-17 Yao Qi <yao@codesourcery.com>
817 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
818 check 'target_info exists noargs'.
819 (test_command_prompt_position): Likewise.
820 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
822 (progvar_simple_while_test): Likewise.
823 (progvar_complex_if_while_test): Likewise.
824 (if_while_breakpoint_command_test): Likewise.
825 (infrun_breakpoint_command_test): Likewise.
826 (breakpoint_command_test): Likewise.
827 (watchpoint_command_test): Likewise.
828 (bp_deleted_in_command_test): Likewise.
829 (temporary_breakpoint_commands): Likewise.
831 2014-10-16 Yao Qi <yao@codesourcery.com>
833 * gdb.base/remotetimeout.exp: Remove noargs checking.
835 2014-10-15 Pedro Alves <palves@redhat.com>
838 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
839 * gdb.base/breakpoint-in-ro-region.exp
840 (probe_target_hardware_step): New procedure.
841 (top level): Probe hardware stepping and hardware breakpoint
842 support. Test stepping through a read-only region, with both
843 "breakpoint auto-hw" on and off and both "always-inserted" on and
846 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
848 * gdb.dlang/demangle.exp: Update for demangling changes.
850 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
852 * gdb.cp/non-trivial-retval.cc: Add new test cases.
853 * gdb.cp/non-trivial-retval.exp: Add new tests.
855 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
859 * gdb.cp/non-trivial-retval.cc: New file.
860 * gdb.cp/non-trivial-retval.exp: New file.
862 2014-10-15 Yao Qi <yao@codesourcery.com>
864 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
867 2014-10-15 Yao Qi <yao@codesourcery.com>
869 * gdb.python/py-symbol.exp: Match file base name if host is
870 remote, otherwise match file name with dir name.
871 * gdb.python/py-symtab.exp: Likewise.
872 * gdb.python/python.exp: Likewise.
874 2014-10-15 Yao Qi <yao@codesourcery.com>
876 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
878 * gdb.python/py-symtab.exp: Likewise.
879 * gdb.python/python.exp: Remove trailing ".*". Fix typo
882 2014-10-14 Joel Brobecker <brobecker@adacore.com>
884 * gdb.ada/addr_arith: New testcase.
886 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
888 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
889 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
890 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
891 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
893 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
895 * gdb.arch/stap-eval-lang-ada.S: Likewise.
896 * gdb.arch/stap-eval-lang-ada.c: Likewise.
897 * gdb.arch/stap-eval-lang-ada.exp: New file.
899 2014-10-14 Yao Qi <yao@codesourcery.com>
901 * gdb.mi/mi-var-child.c (nothing1): New function.
902 (nothing2): New function.
903 (do_children_tests): Set function pointers by nothing1 and
905 * gdb.mi/mi-var-child.exp: Step over new added statements.
906 Update test to match the new output.
907 * gdb.mi/var-cmd.c (nothing1): New function.
908 (nothing2): New function.
909 (do_children_tests): Set function pointers by nothing1 and
911 * gdb.mi/mi-var-display.exp: Update test to match output.
912 Step to the line specified by $line_dct_nothing.
913 Increase the number of lines to step.
915 2014-10-14 Yao Qi <yao@codesourcery.com>
917 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
919 * gdb.mi/mi2-var-child.exp: Likewise.
921 2014-10-13 Doug Evans <dje@google.com>
923 * gdb.python/py-objfile.exp: Change name of file name test.
925 2014-10-13 Doug Evans <dje@google.com>
927 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
928 from the start of the CU.
930 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
931 Yao Qi <yao@codesourcery.com>
933 Fix "save breakpoints" for "catch" command.
934 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
935 Remove -nonewline. Match also the added "main" line.
937 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
939 Fix "save breakpoints" for "disable $bpnum" command.
940 * gdb.base/save-bp.c (main): Add label.
941 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
943 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
945 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
947 2014-10-11 Yao Qi <yao@codesourcery.com>
949 * gdb.server/server-kill.exp: Execute command
950 "set remote trace-status-packet on" before "tstatus".
952 2014-10-11 Yao Qi <yao@codesourcery.com>
954 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
955 (main): Call getppid.
956 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
957 and continue to it. Read variable "server_pid".
959 2014-10-11 Yao Qi <yao@codesourcery.com>
961 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
963 2014-10-11 Yao Qi <yao@codesourcery.com>
965 * gdb.threads/thread-find.exp: Don't execute command
967 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
968 * gdb.threads/linux-dp.exp: Don't check the condition
969 $threads_created equals to zero.
971 2014-10-10 Pedro Alves <palves@redhat.com>
973 * gdb.base/bigcore.exp: Remove references to IRIX.
974 * gdb.base/funcargs.exp: Likewise.
975 * gdb.base/interrupt.exp: Likewise.
976 * gdb.base/mips_pro.exp: Likewise.
977 * gdb.base/nodebug.exp: Likewise.
978 * gdb.base/setvar.exp: Likewise.
979 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
981 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
982 Pedro Alves <palves@redhat.com>
985 * gdb.base/vdso-warning.c: New file.
986 * gdb.base/vdso-warning.exp: New file.
988 2014-10-02 Doug Evans <dje@google.com>
990 * gdb.base/structs.c (main): Don't run forever.
992 2014-10-02 Pedro Alves <palves@redhat.com>
994 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
995 (top level) <stop threads 1, stop threads 2>: Use it.
997 2014-10-02 Pedro Alves <palves@redhat.com>
999 * gdb.threads/break-while-running.exp (test): Add new
1000 'update_thread_list' argument. Skip "info threads" if false.
1001 (top level): Add new 'update_thread_list' axis.
1003 2014-10-02 Pedro Alves <palves@redhat.com>
1005 PR breakpoints/17431
1006 * gdb.base/execl-update-breakpoints.c: New file.
1007 * gdb.base/execl-update-breakpoints.exp: New file.
1009 2014-10-01 Pedro Alves <palves@redhat.com>
1011 * gdb.base/breakpoint-in-ro-region.c: New file.
1012 * gdb.base/breakpoint-in-ro-region.exp: New file.
1014 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
1016 * gdb.mi/mi-exit-code.exp: New file.
1017 * gdb.mi/mi-exit-code.c: New file.
1019 2014-09-30 Yao Qi <yao@codesourcery.com>
1021 * lib/prelink-support.exp (build_executable_own_libs): Error if
1022 the target isn't native.
1024 2014-09-30 Yao Qi <yao@codesourcery.com>
1026 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
1029 2014-09-22 Pedro Alves <palves@redhat.com>
1031 * gdb.threads/break-while-running.exp: New file.
1032 * gdb.threads/break-while-running.c: New file.
1034 2014-09-19 Yao Qi <yao@codesourcery.com>
1036 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
1037 Invoke test. Restart GDB with --readnow and invoke test again.
1039 2014-09-19 Yao Qi <yao@codesourcery.com>
1041 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
1042 proc set_breakpoint_on_gcd_function. Invoke
1043 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
1044 invoke set_breakpoint_on_gcd_function again.
1046 2014-09-18 Doug Evans <dje@google.com>
1048 * gdb.dwarf2/symtab-producer.exp: New file.
1050 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1052 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
1053 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
1054 * gdb.base/global-var-nested-by-dso.c: Likewise.
1055 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1057 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1058 Pedro Alves <palves@redhat.com>
1060 * gdb.base/watch-bitfields.exp: Pass string other than test file
1061 name to prepare_for_testing.
1062 (watch): New procedure.
1063 (expect_watchpoint): Use with_test_prefix.
1064 (top level): Factor out tests to ...
1065 (test_watch_location, test_regular_watch): ... these new
1066 procedures, and use with_test_prefix and gdb_continue_to_end.
1068 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
1070 PR breakpoints/12526
1071 * gdb.base/watch-bitfields.exp: New file.
1072 * gdb.base/watch-bitfields.c: New file.
1074 2014-09-16 Pedro Alves <palves@redhat.com>
1076 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
1077 software and hardware addresses, not software address against
1080 2014-09-16 Pedro Alves <palves@redhat.com>
1082 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
1083 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
1085 2014-09-16 Pedro Alves <palves@redhat.com>
1087 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
1089 * gdb.base/a2-run.exp: Remove all code guarded by istarget
1090 "*-*-vxworks*" throughout.
1091 * gdb.base/break.exp: Likewise.
1092 * gdb.base/default.exp: Likewise.
1093 * gdb.base/scope.exp: Likewise.
1094 * gdb.base/sepdebug.exp: Likewise.
1095 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
1097 * gdb.base/run.c: Likewise.
1098 * gdb.base/sepdebug.c: Likewise.
1099 * gdb.hp/gdb.aCC/run.c: Likewise.
1100 * gdb.reverse/until-reverse.c: Likewise.
1101 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
1103 2014-09-16 Yao Qi <yao@codesourcery.com>
1105 * boards/local-remote-host-native.exp: New file.
1107 2014-09-14 Doug Evans <xdje42@gmail.com>
1109 * gdb.threads/queue-signal.c (thread_count): New variable.
1110 (thread_count_mutex, thread_count_condvar): New variables.
1111 (incr_thread_count, wait_all_threads_running): New functions.
1112 (main): Wait for all threads to be in their thread functions.
1114 2014-09-13 Doug Evans <xdje42@gmail.com>
1116 * gdb.threads/queue-signal.c: New file.
1117 * gdb.threads/queue-signal.exp: New file.
1119 2014-09-13 Doug Evans <xdje42@gmail.com>
1121 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
1122 be consistent with what default_gdb_init uses.
1123 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
1124 the plain text of the prompt. Add some logging printfs.
1125 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
1127 2014-09-12 Pedro Alves <palves@redhat.com>
1129 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
1130 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
1131 * gdb.arch/i386-size-overlap.exp: Likewise.
1132 * gdb.arch/i386-size.exp: Likewise.
1133 * gdb.arch/i386-unwind.exp: Likewise.
1134 * gdb.base/a2-run.exp: Likewise.
1135 * gdb.base/break.exp: Likewise.
1136 * gdb.base/charset.exp: Likewise.
1137 * gdb.base/chng-syms.exp: Likewise.
1138 * gdb.base/commands.exp: Likewise.
1139 * gdb.base/dbx.exp: Likewise.
1140 * gdb.base/find.exp: Likewise.
1141 * gdb.base/funcargs.exp: Likewise.
1142 * gdb.base/jit-simple.exp: Likewise.
1143 * gdb.base/reread.exp: Likewise.
1144 * gdb.base/sepdebug.exp: Likewise.
1145 * gdb.base/step-bt.exp: Likewise.
1146 * gdb.cp/mb-inline.exp: Likewise.
1147 * gdb.cp/mb-templates.exp: Likewise.
1148 * gdb.objc/basicclass.exp: Likewise.
1149 * gdb.threads/killed.exp: Likewise.
1151 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1154 * gdb.arch/powerpc-stackless.S: New file.
1155 * gdb.arch/powerpc-stackless.exp: New file.
1157 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1159 * gdb.base/attach.c: Include unistd.h.
1160 (main): Call alarm. Add label postloop.
1161 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
1162 gdb_breakpoint, gdb_continue_to_breakpoint.
1163 (test_command_line_attach_run): Kill ${testpid} in one exit path.
1165 2014-09-11 Pedro Alves <palves@redhat.com>
1168 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
1169 * gdb.base/attach.exp (test_command_line_attach_run): New
1171 (top level): Call it.
1173 2014-09-11 Pedro Alves <palves@redhat.com>
1175 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
1176 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
1177 (do_command_attach_tests): Use spawn_wait_for_attach.
1178 * gdb.base/solib-overlap.exp: Likewise.
1179 * gdb.multi/multi-attach.exp: Likewise.
1180 * gdb.python/py-prompt.exp: Likewise.
1181 * gdb.python/py-sync-interp.exp: Likewise.
1182 * gdb.server/ext-attach.exp: Likewise.
1184 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
1186 * gdb.fortran/array-element.exp: Remove unexpected "continue"
1187 command in testcase. Simplify testcase.
1189 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1191 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
1193 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1195 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
1197 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1199 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
1201 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1203 * gdb.dwarf2/dynarr-ptr.c: New file.
1204 * gdb.dwarf2/dynarr-ptr.exp: New file.
1206 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1208 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
1209 of 30 rather than hardcoding 120 for a slow test case. Take the
1210 `gdb,timeout' target setting into account for this calculation.
1211 Don't extend the timeout for the test cases that don't need it.
1213 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1215 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
1216 a factor of 2 for a slow test case. Take the `gdb,timeout'
1217 target setting into account for this calculation.
1218 * gdb.reverse/until-precsave.exp: Increase the timeout by
1219 a factor of 15 and 3 respectively rather than adding 120
1220 for a pair of slow test cases. Take the `gdb,timeout'
1221 target setting into account for this calculation.
1223 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1225 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
1226 timeout, don't pass one down to gdb_expect.
1227 (gdb_expect): Rework timeout selection.
1229 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1231 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
1232 exception on timeout.
1233 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
1234 (gdbserver_start_extended): Catch any `gdbserver_start' error
1236 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
1237 * lib/mi-support.exp (mi_gdb_target_load): Catch any
1238 `gdbserver_gdb_load' error exceptions.
1240 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1242 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
1243 120 on waiting for the TCP socket to open.
1245 2014-09-09 Doug Evans <xdje42@gmail.com>
1247 * gdb.base/default.exp (show_conv_list): Add _caller_is,
1248 _caller_matches, _any_caller_is, _any_caller_matches.
1250 2014-09-09 Doug Evans <xdje42@gmail.com>
1252 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
1254 2014-09-09 Yao Qi <yao@codesourcery.com>
1256 * gdb.mi/mi-var-display.exp: Set print symbol off.
1258 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
1261 * gdb.base/commands.exp: Add tests to verify user-defined
1262 commands with empty bodies.
1263 * gdb.python/py-cmd.exp: Test that we don't show user-defined
1264 python commands in `show user command`.
1265 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
1266 scheme commands in `show user command`.
1268 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1271 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
1272 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
1273 * gdb.python/py-framefilter-invalidarg.exp: New file.
1274 * gdb.python/py-framefilter-invalidarg.py: New file.
1276 2014-09-06 Doug Evans <xdje42@gmail.com>
1279 * gdb.python/py-caller-is.c: New file.
1280 * gdb.python/py-caller-is.exp: New file.
1282 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
1285 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
1286 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
1288 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
1291 * gdb.fortran/print-formatted.exp: New file.
1292 * gdb.fortran/print-formatted.f90: Likewise.
1294 2014-09-03 Sasha Smundak <asmundak@google.com>
1296 * gdb.python/py-frame.exp: Test Frame.read_register.
1298 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
1301 * gdb.python/py-completion.exp: New file.
1302 * gdb.python/py-completion.py: Likewise.
1304 2014-08-28 Doug Evans <dje@google.com>
1306 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
1307 eax,etc. are live with values set by gdb and thus the compiler can't
1309 * gdb.arch/i386-pseudo.c (main): Ditto.
1311 2014-08-27 Doug Evans <dje@google.com>
1313 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
1315 2014-08-25 Doug Evans <dje@google.com>
1317 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
1320 2014-08-25 Doug Evans <dje@google.com>
1322 * gdb.threads/thread-execl.exp: #include <stdio.h>.
1324 2014-08-24 Yao Qi <yao@codesourcery.com>
1326 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
1328 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
1330 2014-08-22 Doug Evans <dje@google.com>
1333 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
1334 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
1335 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
1337 2014-08-22 Yao Qi <yao@codesourcery.com>
1339 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
1340 * gdb.python/py-finish-breakpoint2.exp: Likewise.
1341 * gdb.python/python.exp: Likewise. Use .py file on the host
1342 instead of the build.
1344 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1346 * gdb.threads/gcore-stale-thread.c: New file.
1347 * gdb.threads/gcore-stale-thread.exp: New file.
1349 2014-08-21 Pedro Alves <palves@redhat.com>
1351 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
1352 * gdb.base/gcore-relro-pie.exp: Likewise.
1353 * gdb.base/gcore-relro.exp: Likewise.
1354 * gdb.base/gcore.exp: Likewise.
1355 * gdb.base/print-symbol-loading.exp: Likewise.
1356 * gdb.threads/gcore-thread.exp: Likewise.
1357 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
1359 2014-08-20 Pedro Alves <palves@redhat.com>
1360 Jan Kratochvil <jan.kratochvil@redhat.com>
1362 * Makefile.in (EXTRA_RULES, CC): New variables, get from
1364 (EXPECT): Handle READ1 being set.
1365 (all): Depend on EXTRA_RULES.
1366 (check-read1, expect-read1, read1.so, read1): New rules.
1367 * README (Testsuite Parameters): Document the READ1 make variable.
1368 (Race detection): New section.
1369 * configure: Regenerate.
1370 * configure.ac: If build==host==target, and running under a
1371 GNU/glibc system, add read1 to the extra Makefile rules.
1372 (EXTRA_RULES): AC_SUBST it.
1373 * lib/read1.c: New file.
1375 2014-08-20 Joel Brobecker <brobecker@adacore.com>
1377 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
1378 the handling of variables declared as a typedef to an array
1379 which a DW_AT_data_location attribute.
1381 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
1382 Pedro Alves <palves@redhat.com>
1386 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
1389 2014-08-19 Pedro Alves <palves@redhat.com>
1391 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
1393 2014-08-19 Yao Qi <yao@codesourcery.com>
1395 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
1398 2014-08-18 David Blaikie <dblaikie@gmail.com>
1400 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
1402 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1404 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
1405 attribute in array range.
1407 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1409 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
1411 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1414 * gdb.cp/pr17132.cc: New file.
1415 * gdb.cp/pr17132.exp: New file.
1417 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1419 * gdb.python/py-xmethods.py (A_getarrayind)
1420 (E_method_char_worker.__call__, E_method_int_worker.__call__):
1421 Use 'print' with function call syntax.
1422 (E_method_matcher.match): Fix tab vs space indentation mixup.
1424 2014-08-15 Yao Qi <yao@codesourcery.com>
1426 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
1429 2014-08-15 Yao Qi <yao@codesourcery.com>
1431 * gdb.cp/casts.exp: Set print symbol off.
1432 * gdb.cp/class2.exp: Likewise.
1433 * gdb.cp/overload.exp: Likewise.
1434 * gdb.cp/templates.exp: Likewise.
1436 2014-08-11 Doug Evans <dje@google.com>
1438 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1439 (test_load_shlib): Update.
1441 2014-08-09 Yao Qi <yao@codesourcery.com>
1443 * gdb.base/display.exp: Invoke is_address_zero_readable.
1444 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
1445 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1446 * gdb.base/hbreak-unmapped.exp: Return if
1447 is_address_zero_readable returns true.
1448 * gdb.base/signest.exp: Likewise.
1449 * gdb.base/signull.exp: Likewise.
1450 * gdb.base/sigbpt.exp: Likewise.
1451 * gdb.guile/scm-disasm.exp: Do the test if
1452 is_address_zero_readable returns false.
1453 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
1454 * gdb.python/py-arch.exp: Likewise.
1455 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
1456 * lib/gdb.exp (is_address_zero_readable): New proc.
1458 2014-08-09 Yao Qi <yao@codesourcery.com>
1461 * gdb.mi/mi-var-display.exp: Make test messages unique.
1463 2014-08-04 Tom Tromey <tromey@redhat.com>
1465 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
1468 2014-08-04 Tom Tromey <tromey@redhat.com>
1470 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
1473 2014-08-01 Joel Brobecker <brobecker@adacore.com>
1475 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
1476 inner_vla_struct_object_size.
1477 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
1480 2014-07-30 Pedro Alves <palves@redhat.com>
1482 * gdb.threads/signal-command-handle-nopass.exp (test): Add
1485 2014-07-29 Yao Qi <yao@codesourcery.com>
1488 * gdb.base/until-nodebug.exp: New.
1490 2014-07-28 Doug Evans <xdje42@gmail.com>
1493 * gdb.guile/scm-parameter.exp: Add tests for trying to create
1494 previously existing parameter, and previously ambiguously spelled
1497 2014-07-28 Will Newton <will.newton@linaro.org>
1499 * gdb.base/varargs.exp: Remove KFAILs for ARM.
1501 2014-07-26 Ludovic Courtès <ludo@gnu.org>
1502 Doug Evans <xdje42@gmail.com>
1505 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
1507 2014-07-25 Pedro Alves <palves@redhat.com>
1509 * gdb.threads/signal-command-handle-nopass.c: New file.
1510 * gdb.threads/signal-command-handle-nopass.exp: New file.
1511 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
1512 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
1513 * gdb.threads/signal-delivered-right-thread.c: New file.
1514 * gdb.threads/signal-delivered-right-thread.exp: New file.
1516 2014-07-25 Pedro Alves <palves@redhat.com>
1518 * gdb.base/double-prompt-target-event-error.exp
1519 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
1521 (cancel_pagination_in_target_event): Rework double prompt
1523 * gdb.base/paginate-after-ctrl-c-running.exp
1524 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
1526 * gdb.base/paginate-bg-execution.exp
1527 (test_bg_execution_pagination_return)
1528 (test_bg_execution_pagination_cancel): Remove '-notransfer
1530 * gdb.base/paginate-execution-startup.exp
1531 (test_fg_execution_pagination_return)
1532 (test_fg_execution_pagination_cancel): Remove '-notransfer
1534 * gdb.base/paginate-inferior-exit.exp
1535 (test_paginate_inferior_exited): Remove '-notransfer <return>'
1537 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
1538 * lib/gdb.exp (pagination_prompt): Run text through
1540 (gdb_test_multiple): Match $pagination_prompt instead of
1542 (string_to_regexp): Move to lib/gdb-utils.exp.
1544 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1546 * gdb.arch/amd64-entry-value-paramref.S: New file.
1547 * gdb.arch/amd64-entry-value-paramref.cc: New file.
1548 * gdb.arch/amd64-entry-value-paramref.exp: New file.
1549 * gdb.arch/amd64-optimout-repeat.S: New file.
1550 * gdb.arch/amd64-optimout-repeat.c: New file.
1551 * gdb.arch/amd64-optimout-repeat.exp: New file.
1553 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1556 * gdb.base/statistics.exp: New file.
1558 2014-07-17 Doug Evans <dje@google.com>
1561 * gdb.base/maint.exp: Update testing of per-command stats.
1563 2014-07-16 Pedro Alves <palves@redhat.com>
1565 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
1566 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
1567 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
1568 (tfile_write_buf): New functions.
1569 (add_memory_block): Rewrite using the above.
1570 (adjust_function_address): New function.
1571 (FUNCTION_ADDRESS): New macro.
1572 (write_basic_trace_file): Remove short_x local, and use
1573 tfile_write_16. Change type of func_addr local to unsigned long
1574 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
1575 here. Cast argument of add_memory_block to char pointer.
1576 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
1577 (main): Remove parameters.
1578 * gdb.trace/tfile.exp: Remove nowarnings.
1580 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1582 * gdb.base/debug-expr.exp: Test string evaluation with
1583 "debug expression" on.
1585 2014-07-15 Pedro Alves <palves@redhat.com>
1587 * gdb.base/reread.exp: Use clean_restart.
1589 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1591 * gdb.arch/avr-flash-qualifer.c: New.
1592 * gdb.arch/avr-flash-qualifer.exp: New.
1594 2014-07-14 Pedro Alves <palves@redhat.com>
1596 * gdb.base/paginate-after-ctrl-c-running.c: New file.
1597 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1599 2014-07-14 Pedro Alves <palves@redhat.com>
1601 * gdb.base/double-prompt-target-event-error.c: New file.
1602 * gdb.base/double-prompt-target-event-error.exp: New file.
1604 2014-07-14 Pedro Alves <palves@redhat.com>
1607 * gdb.base/paginate-inferior-exit.c: New file.
1608 * gdb.base/paginate-inferior-exit.exp: New file.
1610 2014-07-14 Pedro Alves <palves@redhat.com>
1613 * gdb.base/paginate-bg-execution.c: New file.
1614 * gdb.base/paginate-bg-execution.exp: New file.
1616 2014-07-14 Pedro Alves <palves@redhat.com>
1619 * gdb.base/paginate-execution-startup.c: New file.
1620 * gdb.base/paginate-execution-startup.exp: New file.
1621 * lib/gdb.exp (pagination_prompt): New global.
1622 (default_gdb_spawn): New procedure, factored out from
1624 (default_gdb_start): Adjust to call default_gdb_spawn.
1625 (gdb_spawn): New procedure.
1627 2014-07-14 Pedro Alves <palves@redhat.com>
1629 * lib/gdb.exp (gdb_assert): New procedure.
1630 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
1632 2014-07-14 Pedro Alves <palves@redhat.com>
1634 * gdb.base/execution-termios.c: New file.
1635 * gdb.base/execution-termios.exp: New file.
1637 2014-07-14 Tom Tromey <tromey@redhat.com>
1639 * gdb.cp/vla-cxx.cc: New file.
1640 * gdb.cp/vla-cxx.exp: New file.
1642 2014-07-14 Tom Tromey <tromey@redhat.com>
1644 * gdb.reverse/rerun-prec.c: New file.
1645 * gdb.reverse/rerun-prec.exp: New file.
1647 2014-07-12 Maciej W. Rozycki <macro@mips.com>
1648 Maciej W. Rozycki <macro@codesourcery.com>
1650 * lib/gdb-utils.exp: New file.
1651 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
1652 inline `gdb_init_command' processing.
1653 (gdb_start_cmd): Likewise.
1654 * lib/mi-support.exp (mi_run_cmd): Likewise.
1655 * README: Document `gdb_init_command' and `gdb_init_commands'.
1657 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1659 Fix false FAIL running under a very long directory name.
1660 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1661 and "set print elements 10000". Twice.
1663 2014-07-11 Yao Qi <yao@codesourcery.com>
1665 * gdb.base/exprs.exp: "set print symbol off".
1667 2014-07-11 Pedro Alves <palves@redhat.com>
1669 * gdb.threads/kill.c: New file.
1670 * gdb.threads/kill.exp: New file.
1672 2014-07-10 Yao Qi <yao@codesourcery.com>
1674 * gdb.trace/tfile.c (write_basic_trace_file)
1675 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1676 address written to trace file.
1678 2014-07-09 Pedro Alves <palves@redhat.com>
1680 * gdb.base/attach-wait-input.exp: New file.
1681 * gdb.base/attach-wait-input.c: New file.
1683 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1685 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1686 setting up test structures.
1687 (main): Call new test function.
1688 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1689 test function, continue into test function and walk test
1692 2014-07-02 Yao Qi <yao@codesourcery.com>
1694 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1695 'bar_start' at the beginning of functions 'foo' and 'bar'
1697 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1698 instead of 'foo' and 'bar'.
1700 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1702 * gdb.btrace/segv.exp: New.
1703 * gdb.btrace/segv.c: New.
1705 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
1707 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1710 2014-06-30 Mark Wielaard <mjw@redhat.com>
1712 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1713 vulture, vilify, villar): New volatile array constants.
1714 (vindictive, vegetation): New const volatile array constants.
1715 * gdb.base/volatile.exp: Test volatile and const volatile array
1718 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1720 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1721 target lacks support for awatch, rwatch, or hbreak.
1723 2014-06-27 Yao Qi <yao@codesourcery.com>
1725 * gdb.multi/dummy-frame-restore.exp: New.
1726 * gdb.multi/dummy-frame-restore.c: New.
1728 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1730 * gdb.btrace/gcore.exp: New.
1732 2014-06-23 Pedro Alves <palves@redhat.com>
1734 * gdb.base/watchpoint-reuse-slot.c: New file.
1735 * gdb.base/watchpoint-reuse-slot.exp: New file.
1737 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1739 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1740 progspace's filename in 'info', 'enable' and 'disable' command
1743 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1745 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1746 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1747 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1749 2014-06-20 Gary Benson <gbenson@redhat.com>
1751 * gdb.arch/i386-avx.exp: Fix include file location.
1752 * gdb.arch/i386-sse.exp: Likewise.
1754 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1756 * gdb.dlang/expression.exp: New file.
1758 2014-06-19 Pedro Alves <palves@redhat.com>
1760 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1762 (top level): ... here. Iterate running tests under different
1763 scheduler-locking settings.
1765 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
1767 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1768 to DW_FORM_addr and use non-zero addresses.
1770 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1773 * gdb.python/py-xmethods.cc: Add global function call counters and
1774 increment them in their respective functions. Remove "cout"
1776 * gdb.python/py-xmethods.exp: Make tests check the global function
1777 call counters instead of depending on inferior IO.
1779 2014-06-18 Don Breazeal <donb@codesourcery.com>
1781 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1783 (explicit_fork_parent_follow): Deleted procedure.
1784 (explicit_fork_child_follow): Deleted procedure.
1785 (test_follow_fork): New procedure.
1786 (do_fork_tests): Replace calls to deleted procedures with
1787 calls to test_follow_fork and reset GDB for subsequent
1790 2014-06-17 Yao Qi <yao@codesourcery.com>
1792 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1795 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
1797 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1798 Initialize ptr and S explicitly.
1799 (skip_type_update_when_not_use_rtti_test): Likewise.
1801 2014-06-16 Keith Seitz <keiths@redhat.com>
1804 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1805 the inferior is started.
1807 2014-06-16 Pedro Alves <palves@redhat.com>
1809 * gdb.base/break-main-file-remove-fail.c: New file.
1810 * gdb.base/break-main-file-remove-fail.exp: New file.
1811 * gdb.base/break-unload-file.exp: Use build_executable instead of
1812 prepare_for_testing.
1813 (test_break): New parameter "initial_load". Handle it.
1814 (top level): Add initial_load cmdline/file axis.
1816 2014-06-12 Tom Tromey <tromey@redhat.com>
1818 * gdb.base/completion.exp: Don't use directory name in test.
1820 2014-06-09 Gary Benson <gbenson@redhat.com>
1822 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1823 separate the always-available ANSI-standard signals from the
1824 signals that require checking.
1826 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1830 2014-06-07 Keith Seitz <keiths@redhat.com>
1834 * gdb.cp/var-tag.cc: New file.
1835 * gdb.cp/var-tag.exp: New file.
1836 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1837 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1838 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1839 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1841 2014-06-06 Doug Evans <xdje42@gmail.com>
1843 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1845 2014-06-06 Pedro Alves <palves@redhat.com>
1847 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1848 in target debug output instead of looking at RSP packets,
1849 disabling the test on any target that uses hardware stepping.
1852 2014-06-06 Pedro Alves <palves@redhat.com>
1854 * gdb.base/break-unload-file.exp: Fix typo.
1856 2014-06-06 Yao Qi <yao@codesourcery.com>
1858 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1859 from "jit_function" to "^jit_function".
1861 2014-06-06 Yao Qi <yao@codesourcery.com>
1863 * gdb.base/async.c (foo): Add one statement.
1864 * gdb.base/async.exp: Get the next instruction address and
1865 match the output of "nexti" by instruction address. Match
1866 the hex address in the output of "finish".
1868 2014-06-06 Gary Benson <gbenson@redhat.com>
1870 * gdb.base/call-signals.c: Remove preprocessor conditionals
1871 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1872 SIGSEGV and SIGTERM.
1873 * gdb.base/sigall.c: Likewise.
1874 * gdb.base/unwindonsignal.c: Likewise.
1875 * gdb.reverse/sigall-reverse.c: Likewise.
1877 2014-06-06 Yao Qi <yao@codesourcery.com>
1879 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1880 readable, skip the test.
1882 2014-06-06 Yao Qi <yao@codesourcery.com>
1884 * gdb.threads/staticthreads.c (thread_function): Move the line
1885 setting breakpoint on forward.
1886 * gdb.threads/staticthreads.exp: Update comments.
1888 2014-06-05 Ludovic Courtès <ludo@gnu.org>
1890 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1891 "history-append! type error".
1893 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1895 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1896 erroneous dprintf expected input.
1898 2014-06-04 Doug Evans <xdje42@gmail.com>
1900 * gdb.guile/scm-generics.exp: Delete.
1902 2014-06-04 Doug Evans <xdje42@gmail.com>
1904 * gdb.guile/scm-breakpoint.exp: Update.
1905 Add tests for breakpoint registration.
1907 2014-06-04 Tom Tromey <tromey@redhat.com>
1909 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1911 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1912 inner_vla_struct, vla_union types. Initialize objects of those
1913 types and compute their sizes.
1915 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1916 Hui Zhu <hui@codesourcery.com>
1918 * gdb.base/fileio.exp: Add test for shell not available as well as
1920 * gdb.base/fileio.c (test_system): Check for shell twice.
1922 2014-06-04 Yao Qi <yao@codesourcery.com>
1924 * gdb.base/auto-connect-native-target.exp: Remove redundant
1925 space from the regexp pattern.
1927 2014-06-04 Yao Qi <yao@codesourcery.com>
1929 * gdb.base/default.exp: Replace "child" with "native" in
1932 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1934 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1935 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1936 * gdb.python/py-xmethods.py: Python script supporting the
1937 new testcase and tests.
1939 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1940 Pedro Alves <palves@redhat.com>
1942 PR breakpoints/17000
1943 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1944 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1946 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1948 * gdb.base/subst.exp: Add tests to verify partial path matching
1951 2014-06-03 Pedro Alves <palves@redhat.com>
1953 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1954 target that doesn't use software single-stepping.
1956 2014-06-03 Pedro Alves <palves@redhat.com>
1958 PR breakpoints/17000
1959 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1960 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1962 2014-06-02 Doug Evans <xdje42@gmail.com>
1964 * gdb.guile/scm-parameter.exp: New file.
1966 2014-06-02 Doug Evans <xdje42@gmail.com>
1968 * gdb.guile/scm-cmd.c: New file.
1969 * gdb.guile/scm-cmd.exp: New file.
1971 2014-06-02 Doug Evans <xdje42@gmail.com>
1973 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1974 pretty-printer lookup.
1975 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1976 (make-pp_s-printer): Call it.
1977 (make-pretty-printer-from-dict): New function.
1978 (lookup-pretty-printer-maker-from-dict): New function.
1979 (*pretty-printer*): Simplify.
1980 (make-objfile-pp_s-printer): New function.
1981 (install-objfile-pretty-printers!): New function.
1982 (make-progspace-pp_s-printer): New function.
1983 (install-progspace-pretty-printers!): New function.
1984 * gdb.guile/scm-progspace.c: New file.
1985 * gdb.guile/scm-progspace.exp: New file.
1987 2014-06-02 Pedro Alves <palves@redhat.com>
1989 * gdb.base/dprintf-bp-same-addr.c: New file.
1990 * gdb.base/dprintf-bp-same-addr.exp: New file.
1992 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1994 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1995 * gdb.arch/powerpc-power.s: Likewise.
1997 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1999 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
2001 2014-06-01 Yao Qi <yao@codesourcery.com>
2003 * gdb.base/watchpoint.exp (test_watch_location): Check null
2004 pointer can be dereferenced. If not, do the test, otherwise
2007 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
2009 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
2011 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
2013 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
2015 * gdb.arch/amd64-invalid-stack-middle.S: New file.
2016 * gdb.arch/amd64-invalid-stack-middle.c: New file.
2017 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
2018 * gdb.arch/amd64-invalid-stack-top.c: New file.
2019 * gdb.arch/amd64-invalid-stack-top.exp: New file.
2021 2014-05-30 Pedro Alves <palves@redhat.com>
2023 PR breakpoints/17000
2024 * gdb.base/sss-bp-on-user-bp.c: New file.
2025 * gdb.base/sss-bp-on-user-bp.exp: New file.
2027 2014-05-30 David Blaikie <dblaikie@gmail.com>
2029 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
2030 gnu_inline semantics via attribute.
2031 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
2032 source explicitly specifies the required semantics.
2034 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
2036 * gdb.reverse/sigall-reverse.exp: Fix a typo.
2038 2014-05-29 Pedro Alves <palves@redhat.com>
2039 Tom Tromey <tromey@redhat.com>
2041 * gdb.base/async-shell.exp: Don't enable target-async.
2042 * gdb.base/async.exp
2043 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
2045 (top level): Don't test with "target-async".
2046 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
2047 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
2048 * gdb.base/inferior-died.exp: Don't enable target-async.
2049 * gdb.base/interrupt-noterm.exp: Likewise.
2050 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
2051 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2052 * gdb.mi/mi-nonstop.exp: Likewise.
2053 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2054 * gdb.mi/mi-nsintrall.exp: Likewise.
2055 * gdb.mi/mi-nsmoribund.exp: Likewise.
2056 * gdb.mi/mi-nsthrexec.exp: Likewise.
2057 * gdb.mi/mi-watch-nonstop.exp: Likewise.
2058 * gdb.multi/watchpoint-multi.exp: Adjust comment.
2059 * gdb.python/py-evsignal.exp: Don't enable target-async.
2060 * gdb.python/py-evthreads.exp: Likewise.
2061 * gdb.python/py-prompt.exp: Likewise.
2062 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
2063 * gdb.server/solib-list.exp: Don't enable target-async.
2064 * gdb.threads/thread-specific-bp.exp: Likewise.
2065 * lib/mi-support.exp: Adjust to use mi-async.
2067 2014-05-29 Pedro Alves <palves@redhat.com>
2070 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
2071 reason, even in sync mode.
2073 2014-05-29 Pedro Alves <palves@redhat.com>
2074 Hui Zhu <hui@codesourcery.com>
2077 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
2078 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
2079 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
2080 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
2082 2014-05-28 Joel Brobecker <brobecker@adacore.com>
2084 * config/monitor.exp (gdb_target_monitor): Replace use of
2085 "set remotebaud" by "set serial baud".
2087 2014-05-26 Andy Wingo <wingo@igalia.com>
2089 * gdb.guile/scm-breakpoint.exp:
2090 * gdb.guile/scm-gsmob.exp: Update to use plain old object
2091 properties instead of gdb-object-properties.
2093 2014-05-26 Yao Qi <yao@codesourcery.com>
2095 * gdb.server/no-thread-db.exp: Specify source file name
2096 explicitly when setting a breakpoint.
2098 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2100 * gdb.btrace/vdso.c: New.
2101 * gdb.btrace/vdso.exp: New.
2103 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2105 * gdb.base/gcore.exp (capture_command_output): Move ...
2106 * lib/gdb.exp (capture_command_output): ... here.
2108 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2110 * gdb.btrace/data.exp: Test memory access during btrace replay.
2112 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
2114 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
2116 2014-05-21 Pedro Alves <palves@redhat.com>
2119 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
2120 (top level): Test that output related to execution commands is
2121 sent to the console with CLI commands, but not with MI commands.
2122 Test that breakpoint events are always mirrored to the console.
2123 Also expect the new source line to be output after a "next" in
2124 async mode too. Make it a pass/fail test.
2125 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
2127 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
2129 2014-05-21 Pedro Alves <palves@redhat.com>
2131 * gdb.base/list.exp (build_pattern, test_list): New procedures.
2132 Use them to test variations of "list" after reaching a breakpoint.
2133 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
2134 Test "list" with listsize 10 after reaching a breakpoint.
2135 * gdb.python/python.exp (decode_line current location line
2136 number): Adjust expected line number.
2138 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
2140 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
2141 behavior for $args, pass it directly to "run".
2143 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
2145 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
2148 2014-05-21 Pedro Alves <palves@redhat.com>
2150 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
2151 auto-connect-native-target off".
2152 * gdb.base/auto-connect-native-target.c: New file.
2153 * gdb.base/auto-connect-native-target.exp: New file.
2155 2014-05-21 Pedro Alves <palves@redhat.com>
2157 * gdb.base/default.exp: Test "target native" instead of "target
2160 2014-05-21 Mark Wielaard <mjw@redhat.com>
2162 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2164 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2166 Fix TLS access for -static -pthread.
2167 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
2168 <HAVE_TLS> (thread_function, main): Initialize it.
2169 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
2171 <$have_tls != "">: Check TLSVAR.
2173 2014-05-21 Pedro Alves <palves@redhat.com>
2175 * gdb.base/dcache-line-read-error.c: New.
2176 * gdb.base/dcache-line-read-error.exp: New.
2178 2014-05-20 Pedro Alves <palves@redhat.com>
2180 * gdb.base/compare-sections.c: New file.
2181 * gdb.base/compare-sections.exp: New file.
2183 2014-05-20 Pedro Alves <palves@redhat.com>
2185 * gdb.base/break-idempotent.c: New file.
2186 * gdb.base/break-idempotent.exp: New file.
2188 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
2190 * gdb.btrace/nohist.exp: New.
2192 2014-05-20 Yao Qi <yao@codesourcery.com>
2194 * lib/gdb.exp (gdb_init): Set timeout if test file is under
2195 gdb.reverse directory and gdb_reverse_timeout exists in board
2197 * README: Document gdb_reverse_timeout.
2199 2014-05-20 Yao Qi <yao@codesourcery.com>
2201 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
2202 'test_file_name'. Treat args as a string instead of a list.
2203 (gdb_init): Rename argument 'args' by 'test_file_name'.
2205 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2207 * gdb.arch/powerpc-power.exp: New file.
2208 * gdb.arch/powerpc-power.s: New file.
2210 2014-05-16 Doug Evans <dje@google.com>
2212 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
2213 * gdb.base/completion.exp: Check that all expected files exist
2214 before doing file completion.
2216 2014-05-16 Doug Evans <dje@google.com>
2218 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
2220 (do_syscall_tests_without_xml): Update.
2222 2014-05-16 Pedro Alves <palves@redhat.com>
2224 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
2225 instead of "unknown output after running".
2227 2014-05-16 Yao Qi <yao@codesourcery.com>
2229 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
2230 file1.txt from host at the end.
2231 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2233 2014-05-15 Doug Evans <dje@google.com>
2235 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
2236 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
2237 loading file. Add test for TU lookup.
2239 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2241 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
2242 calling "-exec-arguments" or "set args" before running the
2245 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2247 * lib/mi-support.exp (mi_expect_stop): Expect message for
2248 inferiors that exit with non-zero exit code.
2250 2014-05-14 Yao Qi <yao@codesourcery.com>
2252 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
2253 match absolute path on remote host.
2254 (test_file_list_exec_source_files): Remove "/" from the
2257 2014-05-14 Yao Qi <yao@codesourcery.com>
2259 * boards/local-remote-host-notty.exp (${board}_file): New
2262 2014-05-07 Kyle McMartin <kyle@redhat.com>
2264 Pushed by Joel Brobecker <brobecker@adacore.com>.
2265 * gdb.arch/aarch64-atomic-inst.c: New file.
2266 * gdb.arch/aarch64-atomic-inst.exp: New file.
2268 2014-05-07 Yao Qi <yao@codesourcery.com>
2270 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
2271 in current context" too.
2273 2014-05-05 Keith Seitz <keiths@redhat.com>
2275 * gdb.linespec/ls-dollar.exp: Add test for linespec
2276 file:convenience_variable.
2278 2014-05-05 Yao Qi <yao@codesourcery.com>
2280 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
2281 traceframes into tfile and ctf trace files. Read data from
2282 trace file and test collected data.
2283 (gdb_collect_locals_test): Likewise.
2284 (gdb_unavailable_registers_test): Likewise.
2285 (gdb_unavailable_floats): Likewise.
2286 (gdb_collect_globals_test): Likewise.
2287 (top-level): Append "ctf" to trace_file_targets if GDB
2290 2014-05-05 Yao Qi <yao@codesourcery.com>
2292 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
2294 (gdb_collect_args_test_1): ... it. New proc.
2295 (gdb_collect_locals_test): Move some code to ...
2296 (gdb_collect_locals_test_1): ... it. New proc.
2297 (gdb_unavailable_registers_test): Move some code to ...
2298 (gdb_unavailable_registers_test_1): ... it. New proc.
2299 (gdb_unavailable_floats): Move some code to ...
2300 (gdb_unavailable_floats_1): ... it. New proc.
2302 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2304 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
2305 probes to test for bitness recognition.
2306 * gdb.arch/amd64-stap-optional-prefix.exp
2307 (test_probe_value_without_reg): New procedure.
2308 Add code to test for different kinds of bitness.
2310 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2312 PR breakpoints/16889
2313 * gdb.arch/amd64-stap-optional-prefix.S: New file.
2314 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2316 2014-05-01 Pedro Alves <palves@redhat.com>
2318 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
2319 gdb_file_cmd if no file is specified.
2320 * boards/native-extended-gdbserver.exp (gdb_load): Use the
2321 last_loaded_file to set the remote exec-file.
2323 2014-05-01 Pedro Alves <palves@redhat.com>
2325 * boards/local-remote-host.exp: New file.
2327 2014-05-01 Pedro Alves <palves@redhat.com>
2329 * boards/local-remote-host.exp: Rename to ...
2330 * boards/local-remote-host-notty.exp: ... this.
2332 2014-04-28 Joel Brobecker <brobecker@adacore.com>
2334 * gdb.ada/dyn_arrayidx: New testcase.
2336 2014-04-26 Yao Qi <yao@codesourcery.com>
2338 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
2339 and compute the length of function main. Save it in
2341 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
2342 (top-level): Use gdb_compile to compile objects into
2343 executable and restart GDB. Remove invocation to
2344 prepare_for_testing.
2346 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
2347 Pedro Alves <palves@redhat.com>
2350 * gdb.multi/multi-attach.c: New file.
2351 * gdb.multi/multi-attach.exp: New file.
2353 2014-04-25 Pedro Alves <palves@redhat.com>
2355 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
2357 (top level): Test that "set remote conditional-breakpoints-packet
2358 off" works as intended.
2359 * gdb.base/dprintf.exp: Test that "set remote
2360 breakpoint-commands-packet off" works as intended.
2361 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
2363 (top level): Call it.
2364 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
2365 remote fast-tracepoints-packet off" works as intended.
2366 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
2367 * lib/gdb.exp (gdb_is_target_remote): ... here.
2369 2014-04-24 David Blaikie <dblaikie@gmail.com>
2371 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
2372 ensure clang would not discard them.
2373 * gdb.base/gdbvars.c: Ditto.
2374 * gdb.base/memattr.c: Ditto.
2375 * gdb.base/whatis.c: Ditto.
2376 * gdb.python/py-prettyprint.c: Ditto.
2377 * gdb.trace/actions.c: Ditto.
2378 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
2379 ensure clang would not discard it.
2381 2014-04-24 David Blaikie <dblaikie@gmail.com>
2383 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
2384 clang to emit the full definition of type required by the test
2385 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
2387 2014-04-24 David Blaikie <dblaikie@gmail.com>
2389 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
2390 coax Clang into emitting the definition of the type.
2391 * gdb.cp/pr10728-x.h (y): Ditto.
2392 * gdb.cp/pr10728-y.cc (y): Ditto.
2394 2014-04-24 David Blaikie <dblaikie@gmail.com>
2396 * gdb.base/label.exp: XFAIL label related tests under Clang.
2397 * gdb.cp/cplabel.exp: Ditto.
2398 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
2399 under Clang those using labels.
2401 2014-04-25 Yao Qi <yao@codesourcery.com>
2403 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
2405 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
2406 partial_label and double_label.
2408 2014-04-24 David Blaikie <dblaikie@gmail.com>
2410 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
2412 2014-04-24 David Blaikie <dblaikie@gmail.com>
2414 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
2415 of the function to work across GCC and Clang.
2416 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
2417 pointer types (const void ** const V void **).
2419 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
2420 Walfred Tedeschi <walfred.tedeschi@intel.com>
2422 * Makefile.in (EXECUTABLES): Added i386-avx512.
2423 * gdb.arch/i386-avx512.c: New file.
2424 * gdb.arch/i386-avx512.exp: Likewise.
2426 2014-04-23 Keith Seitz <keiths@redhat.com>
2428 * lib/mi-support.exp (mi_list_breakpoints): Delete.
2429 (mi_make_breakpoint_table): New procedure.
2430 (mi_create_breakpoint): Use mi_make_breakpoint
2431 and return the result.
2432 (mi_make_breakpoint): New procedure.
2433 (mi_build_kv_pairs): New procedure.
2435 * gdb.mi/mi-break.exp: Remove unused globals,
2436 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
2437 All callers updated.
2438 * gdb.mi/mi-dprintf.exp: Use variable to track command
2440 Update all callers of mi_create_breakpoint and use
2441 mi_make_breakpoint_table.
2442 Remove any unused global variables.
2443 * gdb.mi/mi-nonstop.exp: Likewise.
2444 * gdb.mi/mi-nsintrall.exp: Likewise.
2445 * gdb.mi/mi-nsmoribund.exp: Likewise.
2446 * gdb.mi/mi-nsthrexec.exp: Likewise.
2447 * gdb.mi/mi-reverse.exp: Likewise.
2448 * gdb.mi/mi-simplerun.exp: Likewise.
2449 * gdb.mi/mi-stepn.exp: Likewise.
2450 * gdb.mi/mi-syn-frame.exp: Likewise.
2451 * gdb.mi/mi-until.exp: Likewise.
2452 * gdb.mi/mi-var-cp.exp: Likewise.
2453 * gdb.mi/mi-var-display.exp: Likewise.
2454 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2455 * gdb.mi/mi2-var-child.exp: Likewise.
2456 * gdb.mi/mi-vla-c99.exp: Likewise.
2457 * lib/mi-support.exp: Likewise.
2459 From Ian Lance Taylor <iant@cygnus.com>:
2460 * lib/gdb.exp (parse_args): New procedure.
2462 2014-04-23 Pedro Alves <palves@redhat.com>
2464 * gdb.base/break-unload-file.c: New file.
2465 * gdb.base/break-unload-file.exp: New file.
2466 * gdb.base/sym-file-lib.c (baz): New function.
2467 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
2469 (load): Store the segment's mapped size.
2470 (unload): New function.
2471 (unload_shlib): New function.
2472 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
2473 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
2474 set a breakpoint at baz, and call it.
2475 * gdb.base/sym-file.exp: New tests for stale breakpoint
2478 2014-04-23 Pedro Alves <palves@redhat.com>
2480 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
2481 * gdb.base/hbreak-in-shr-unsupported.c: New file.
2482 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
2483 * gdb.base/hbreak-unmapped.c: New file.
2484 * gdb.base/hbreak-unmapped.exp: New file.
2485 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
2486 * lib/gdb.exp (gdb_is_target_remote): ... here.
2488 2014-04-22 Pedro Alves <palves@redhat.com>
2490 * gdb.base/consecutive-step-over.c: New file.
2491 * gdb.base/consecutive-step-over.exp: New file.
2493 2014-04-22 Pedro Alves <palves@redhat.com>
2495 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
2496 instead of send_gdb/gdb_expect.
2498 2014-04-22 Yao Qi <yao@codesourcery.com>
2500 * lib/trace-support.exp (generate_tracefile): New procedure.
2501 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
2503 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
2504 if generate_tracefile returns 1.
2506 2014-04-18 Tom Tromey <palves@redhat.com>
2507 Pedro alves <tromey@redhat.com>
2510 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
2511 with a backtrace limit.
2512 * gdb.python/py-frame-inline.exp: Test running to an inline
2513 function with a backtrace limit, and printing the newest frame.
2514 * gdb.python/py-frame-inline.c (main): Call f.
2516 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2518 * gdb.java/jnpe.exp: Drop srcdir from untested path.
2520 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2522 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
2523 Drop prefix from unsupported source file path.
2525 2014-04-17 Yao Qi <yao@codesourcery.com>
2527 * lib/gdb.exp (with_target_charset): New proc.
2528 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
2529 with_target_charset.
2530 (test_print_strings): Likewise.
2531 (test_repeat_bytes): Likewise.
2532 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
2535 2014-04-16 Keith Seitz <keiths@redhat.com>
2538 * gdb.dwarf2/corrupt.c: New file.
2539 * gdb.dwarf2/corrupt.exp: New file.
2541 2014-04-16 Keith Seitz <keiths@redhat.com>
2544 * gdb.cp/namelessclass.cc: New file.
2545 * gdb.cp/namelessclass.exp: New file.
2546 * gdb.cp/namelessclass.S: New file.
2548 2014-04-16 Doug Evans <dje@google.com>
2550 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
2552 (gdbserver_default_get_comm_port): New function.
2553 (gdbserver_start): Check if board file provided
2554 "gdbserver,get_comm_port" and use it if so.
2555 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
2556 (gdb,socketport): Set to "stdio".
2557 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
2558 (stdio_gdbserver_template): Delete.
2559 (${board}_get_remote_address): Update.
2560 (${board}_build_remote_cmd): Delete.
2561 (${board}_get_comm_port): New function.
2562 (${board}_spawn): Update.
2563 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
2565 (${board}_get_remote_address): Update.
2566 (${board}_get_comm_port): New function.
2568 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
2570 * gdb.base/memattr.exp: Improve regexps to handle memory regions
2571 appearing in any order.
2573 2014-04-15 Doug Evans <dje@google.com>
2575 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
2576 uninitialized value of "description".
2578 2014-04-15 Keith Seitz <keiths@redhat.com>
2580 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
2581 Remove unused globals.
2582 (test_running_the_program): Likewise.
2583 (test_controlled_execution): Likewise.
2584 (test_controlling_breakpoints): Likewise.
2585 (test_program_termination): Likewise.
2587 2014-04-15 Keith Seitz <keiths@redhat.com>
2589 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
2591 (test_rbreak_creation_and_listing): Likewise.
2592 (test_ignore_count): Likewise.
2593 (test_error): Likewise.
2595 2014-04-15 Pedro Alves <palves@redhat.com>
2597 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2598 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2600 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2601 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2602 to sym-file-loader.c.
2603 (struct library): Forward declare.
2604 (load_shlib, lookup_function): Change prototypes.
2605 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2606 (translate_offset): Remove declarations.
2607 (get_text_addr): New declaration.
2608 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2609 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2611 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2612 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2613 here from sym-file-loader.h.
2614 (struct library): New structure.
2615 (load_shlib, lookup_function): Change prototypes and adjust to
2616 work with a struct library.
2617 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2618 (translate_offset): Make static.
2619 (get_text_addr): New function.
2620 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
2622 2014-04-15 Pedro Alves <palves@redhat.com>
2624 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
2626 2014-04-15 Pedro Alves <palves@redhat.com>
2628 * gdb.base/sym-file-loader.c: Include <limits.h>.
2629 (SELF_LINK): New define.
2630 (get_origin): New function.
2631 (load_shlib): Use it.
2632 * gdb.base/sym-file.exp: Don't early return if the target is
2633 remote. Use runto_main, and issue fail is that fails. Use
2635 (shlib_name): Delete.
2636 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
2638 2014-04-15 Pedro Alves <palves@redhat.com>
2640 * gdb.base/sym-file.exp: Remove regex characters from test
2641 message. Don't refer to breakpoint numbers in test messages.
2643 2014-04-14 Keith Seitz <keiths@redhat.com>
2646 * gdb.cp/var-tag.cc: New file.
2647 * gdb.cp/var-tag.exp: New file.
2648 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2649 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2650 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2651 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2653 2014-04-14 Tom Tromey <tromey@redhat.com>
2655 * gdb.cp/classes.exp (test_enums): Handle underlying type.
2656 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
2658 * gdb.cp/enum-class.exp: New file.
2659 * gdb.cp/enum-class.cc: New file.
2661 2014-04-14 Tom Tromey <tromey@redhat.com>
2663 * gdb.dwarf2/enum-type.exp: New file.
2665 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2667 * gdb.mi/mi-vla-c99.exp: New file.
2668 * gdb.mi/vla.c: New file.
2670 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2672 * gdb.base/vla-datatypes.c: New file.
2673 * gdb.base/vla-datatypes.exp: New file.
2675 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2677 * gdb.base/vla-ptr.c: New file.
2678 * gdb.base/vla-ptr.exp: New file.
2680 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2682 * gdb.dwarf2/count.exp: New file.
2684 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2686 * gdb.base/vla-sideeffect.c: New file.
2687 * gdb.base/vla-sideeffect.exp: New file.
2689 2014-04-14 David Blaikie <dblaikie@gmail.com>
2691 * gdb.mi/non-stop.c: Add return value for non-void function return
2693 * gdb.threads/staticthreads.c: Ditto.
2695 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2696 Doug Evans <xdje42@gmail.com>
2698 * gdb.guile/scm-value.c: Improve test case.
2699 * gdb.guile/scm-value.exp: Add new test.
2701 2014-04-11 David Blaikie <dblaikie@gmail.com>
2703 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2704 override Clang's default.
2706 2014-04-11 Joel Brobecker <brobecker@adacore.com>
2708 Revert the following changes (regressions):
2710 * gdb.base/vla-sideeffect.c: New file.
2711 * gdb.base/vla-sideeffect.exp: New file.
2713 * gdb.dwarf2/count.exp: New file.
2715 * gdb.base/vla-multi.c: New file.
2716 * gdb.base/vla-multi.exp: New file.
2718 * gdb.base/vla-ptr.c: New file.
2719 * gdb.base/vla-ptr.exp: New file.
2721 * gdb.base/vla-datatypes.c: New file.
2722 * gdb.base/vla-datatypes.exp: New file.
2724 * gdb.mi/mi-vla-c99.exp: New file.
2725 * gdb.mi/vla.c: New file.
2727 2014-04-11 Keith Seitz <keiths@redhat.com>
2730 * gdb.cp/cpsizeof.exp: New file.
2731 * gdb.cp/cpsizeof.cc: New file.
2733 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2735 * gdb.mi/mi-vla-c99.exp: New file.
2736 * gdb.mi/vla.c: New file.
2738 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2740 * gdb.base/vla-datatypes.c: New file.
2741 * gdb.base/vla-datatypes.exp: New file.
2743 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2745 * gdb.base/vla-ptr.c: New file.
2746 * gdb.base/vla-ptr.exp: New file.
2748 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2750 * gdb.base/vla-multi.c: New file.
2751 * gdb.base/vla-multi.exp: New file.
2753 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2755 * gdb.dwarf2/count.exp: New file.
2757 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2759 * gdb.base/vla-sideeffect.c: New file.
2760 * gdb.base/vla-sideeffect.exp: New file.
2762 2014-04-11 Yao Qi <yao@codesourcery.com>
2764 * gdb.base/completion.exp: Check file exists before running tests
2767 2014-04-10 Pedro Alves <palves@redhat.com>
2769 * gdb.base/cond-eval-mode.c: New file.
2770 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2771 prepare_for_testing to build the new file. Check result of
2773 (test_break, test_watch): New procedures.
2774 (top level): Use them.
2776 2014-04-08 Pierre Muller <muller@sourceware.org>
2778 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2779 Ctrl-V use for mingw hosts.
2781 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2783 * gdb.python/py-value.c: Improve test case.
2784 * gdb.python/py-value.exp: Add new test.
2786 2014-04-07 David Blaikie <dblaikie@gmail.com>
2788 * lib/compiler.c: Identify the clang compiler.
2789 * lib/compiler.cc: Ditto.
2791 2014-04-03 Yao Qi <yao@codesourcery.com>
2793 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2795 2014-04-01 Anton Blanchard <anton@samba.org>
2797 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2800 2014-04-01 Anton Blanchard <anton@samba.org>
2802 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2803 prepare_for_testing.
2805 2014-04-01 Anton Blanchard <anton@samba.org>
2807 * gdb.arch/ppc64-atomic-inst.c: Remove.
2808 * gdb.arch/ppc64-atomic-inst.S: New file.
2809 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2811 2014-03-31 Doug Evans <dje@google.com>
2813 * gdb.base/print-symbol-loading-lib.c: New file.
2814 * gdb.base/print-symbol-loading-main.c: New file.
2815 * gdb.base/print-symbol-loading.exp: New file.
2817 2014-03-31 Yao Qi <yao@codesourcery.com>
2819 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2821 2014-03-28 Joel Brobecker <brobecker@adacore.com>
2823 * gdb.ada/mi_dyn_arr: New testcase.
2825 2014-03-27 Doug Evans <dje@google.com>
2827 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2829 2014-03-27 Yao Qi <yao@codesourcery.com>
2831 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2832 if target is nios2-*-*.
2834 2014-03-26 Yao Qi <yao@codesourcery.com>
2836 * lib/gdb.exp (readline_is_used): New proc.
2837 * gdb.base/completion.exp: Move tests on command complete up.
2838 Skip the rest of tests if readline is not used.
2839 * gdb.ada/complete.exp: Skp the test if readline is not
2841 * gdb.base/filesym.exp: Likewise.
2842 * gdb.base/macscp.exp: Likewise.
2843 * gdb.base/readline-ask.exp: Likewise.
2844 * gdb.base/readline.exp: Likewise.
2845 * gdb.python/py-cmd.exp: Likewise.
2846 * gdb.trace/tfile.exp: Likewise.
2848 2014-03-26 Yao Qi <yao@codesourcery.com>
2850 * gdb.base/macscp.exp: Fix code format issues.
2852 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2854 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2855 * gdb.asm/powerpc64le.inc: New file.
2857 2014-03-25 Pedro Alves <palves@redhat.com>
2858 Doug Evans <dje@google.com>
2860 * gdb.base/source-execution.c: New file.
2861 * gdb.base/source-execution.exp: New file.
2862 * gdb.base/source-execution.gdb: New file.
2864 2014-03-24 Doug Evans <dje@google.com>
2866 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2869 2014-03-24 Hui Zhu <hui@codesourcery.com>
2870 Pedro Alves <palves@redhat.com>
2872 PR breakpoints/16101
2873 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2874 test pass/fail messages. Detect missing support for dprintf when
2875 breakpoints are actually inserted.
2876 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2877 breakpoints are actually inserted.
2878 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2881 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2883 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2885 2014-03-22 Doug Evans <xdje42@gmail.com>
2887 * gdb.python/python.exp (python not supported): Verify multi-line
2888 python command issues an error.
2889 * gdb.guile/guile.exp (guile not supported): Verify multi-line
2890 guile command issues an error.
2892 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2894 * gdb.threads/thread-specific.exp: Handle the lack of usable
2895 $this_breakpoint and $this_thread.
2897 2014-03-21 Hui Zhu <hui@codesourcery.com>
2899 * gdb.base/attach.exp (do_command_attach_tests): New.
2901 2014-03-20 Tom Tromey <tromey@redhat.com>
2902 Pedro Alves <palves@redhat.com>
2905 * gdb.base/condbreak-call-false.c: New file.
2906 * gdb.base/condbreak-call-false.exp: New file.
2908 2014-03-20 Pedro Alves <palves@redhat.com>
2910 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2912 (block_signals, unblock_signals): Delete.
2913 (child_function_2, main): Remove references to deleted variable
2916 2014-03-20 Pedro Alves <palves@redhat.com>
2918 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2919 Use pthread_kill to signal thread 2.
2920 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2921 Adjust to make the test send itself a signal rather than using the
2922 host's "kill" command.
2924 2014-03-20 Pedro Alves <palves@redhat.com>
2926 * gdb.threads/multiple-step-overs.c: New file.
2927 * gdb.threads/multiple-step-overs.exp: New file.
2928 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2929 Adjust expected infrun debug output.
2931 2014-03-20 Pedro Alves <palves@redhat.com>
2933 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2934 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2936 2014-03-20 Pedro Alves <palves@redhat.com>
2939 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2940 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2941 of gdb_test_multiple.
2942 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2943 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2945 2014-03-20 Pedro Alves <palves@redhat.com>
2947 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2948 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2950 2014-03-19 Pedro Alves <palves@redhat.com>
2952 * gdb.base/async.exp: Remove early return.
2954 2014-03-19 Pedro Alves <palves@redhat.com>
2956 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2958 2014-03-19 Pedro Alves <palves@redhat.com>
2960 * gdb.base/async.exp (test_background): Expect \r\n after
2961 "completed." in the fail pattern.
2963 2014-03-19 Pedro Alves <palves@redhat.com>
2965 * gdb.base/async.exp (test_background): New procedure.
2966 Use it for all background execution command tests.
2968 2014-03-19 Pedro Alves <palves@redhat.com>
2970 * gdb.base/async.exp: Use prepare_for_testing.
2972 2014-03-19 Pedro Alves <palves@redhat.com>
2974 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2977 2014-03-19 Pedro Alves <palves@redhat.com>
2979 * gdb.base/async.c (main): Add "jump here" and "until here" line
2981 * gdb.base/async.exp (jump_here): New global.
2982 (jump& test): Use it.
2983 (until_here): New global.
2984 (until& test): Use it.
2986 2014-03-19 Pedro Alves <palves@redhat.com>
2988 * gdb.base/async.exp: Don't frob gdb_protocol.
2990 2014-03-18 Doug Evans <xdje42@gmail.com>
2992 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2993 Fix spelling of exec-done-display.
2995 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2998 * gdb.base/gdb-sigterm.c: New file.
2999 * gdb.base/gdb-sigterm.exp: New file.
3001 2014-03-18 Pedro Alves <palves@redhat.com>
3004 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
3005 * lib/mi-support.exp (mi_expect_stop): Add special handling for
3008 2014-03-17 Joel Brobecker <brobecker@adacore.com>
3010 * gdb.ada/pckd_arr_ren: New testcase.
3012 2014-03-13 Doug Evans <xdje42@gmail.com>
3015 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
3016 collect after discarding symbols.
3018 2014-03-13 Ludovic Courtès <ludo@gnu.org>
3019 Doug Evans <xdje42@gmail.com>
3021 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
3022 to history survives a gc.
3024 2014-03-13 Pedro Alves <palves@redhat.com>
3026 * gdb.base/default.exp: Don't test "target procfs".
3028 2014-03-13 Pedro Alves <palves@redhat.com>
3030 * gdb.base/default.exp: Update "target child" and "target procfs"
3031 tests to not expect "Unix".
3033 2014-03-12 Tom Tromey <tromey@redhat.com>
3035 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
3036 New procs. Add target-async tests.
3037 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
3038 Add target-async tests.
3040 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3042 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
3043 'func_start' and 'func_end' for the beginning and end of the
3044 function code, respectively.
3045 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
3046 'func_end' instead of 'func' and 'main'.
3048 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3050 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
3051 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
3052 generate the debug info assembler source.
3054 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3056 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
3057 * gdb.dwarf2/arr-subrange.exp: Likewise.
3058 * gdb.dwarf2/dwz.exp: Likewise.
3059 * gdb.dwarf2/method-ptr.exp: Likewise.
3060 * gdb.dwarf2/missing-sig-type.exp: Likewise.
3061 * gdb.dwarf2/subrange.exp: Likewise.
3062 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
3063 * gdb.dwarf2/implptrpiece.exp: Likewise.
3064 * gdb.dwarf2/nostaticblock.exp: Likewise.
3066 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3068 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
3069 directory to absolute path name arguments.
3071 2014-03-10 Joel Brobecker <brobecker@adacore.com>
3073 * gdb.ada/tagged_access: New testcase.
3075 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
3077 * gdb.btrace/data.exp: Update expected output.
3079 2014-03-06 Yao Qi <yao@codesourcery.com>
3081 * gdb.trace/pr16508.exp: New file.
3083 2014-03-05 Pedro Alves <palves@redhat.com>
3086 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
3088 (top level): Adjust to use it. Add tests that exercise breakpoint
3089 interaction with the code-cache.
3091 2014-02-26 Ludovic Courtès <ludo@gnu.org>
3093 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
3094 test for 'history-append!'.
3096 2014-02-26 Joel Brobecker <brobecker@adacore.com>
3098 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
3099 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
3100 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
3101 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
3102 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
3103 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
3105 2014-02-26 Joel Brobecker <brobecker@adacore.com>
3107 * testsuite/gdb.python/py-pp-re-notag.c: New file.
3108 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
3109 * testsuite/gdb.python/py-pp-re-notag.p: New file.
3111 2014-02-26 Joel Brobecker <brobecker@adacore.com>
3113 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
3115 2014-02-26 Joel Brobecker <brobecker@adacore.com>
3117 * gdb.dwarf2/arr-stride.c: New file.
3118 * gdb.dwarf2/arr-stride.exp: New file.
3120 2014-02-26 Pedro Alves <palves@redhat.com>
3122 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
3123 that won't ever trigger. Make sure that GDB reports the correct
3124 breakpoint that caused the stop.
3126 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3129 * gdb.base/auto-load-script: New file.
3130 * gdb.base/auto-load.c: New file.
3131 * gdb.base/auto-load.exp: New file.
3134 * gdb.base/auto-load.exp: Fix out-of-srctree run.
3136 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3138 Fix dw2-icycle.exp -fsanitize=address GDB crash.
3139 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
3141 2014-02-24 Doug Evans <dje@google.com>
3143 * lib/gdb.exp (run_on_host): Log error output if program fails.
3145 2014-02-21 Pedro Alves <palves@redhat.com>
3147 * gdb.threads/step-after-sr-lock.c: Rename to ...
3148 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
3149 * gdb.threads/step-after-sr-lock.exp: Rename to ...
3150 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3153 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
3156 * gdb.arch/amd64-stap-special-operands.exp: New file.
3157 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
3158 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
3159 * gdb.arch/amd64-stap-triplet.S: Likewise.
3160 * gdb.arch/amd64-stap-triplet.c: Likewise.
3162 2014-02-20 Joel Brobecker <brobecker@adacore.com>
3164 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
3165 in .section pseudo-op.
3167 2014-02-20 lin zuojian <manjian2006@gmail.com>
3168 Joel Brobecker <brobecker@adacore.com>
3169 Doug Evans <xdje42@gmail.com>
3172 * gdb.dwarf2/dw2-icycle.S: New file.
3173 * gdb.dwarf2/dw2-icycle.c: New file.
3174 * gdb.dwarf2/dw2-icycle.exp: New file.
3176 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
3178 * gdb.python/py-value-cc.cc: Improve test case to enable testing
3179 operations on gdb.Value objects.
3180 * gdb.python/py-value-cc.exp: Add new test to test operations on
3183 2014-02-18 Doug Evans <dje@google.com>
3185 * Makefile.in (TESTS): New variable.
3186 (expanded_tests, expanded_tests_or_none): New variables
3187 (check-single): Pass $(expanded_tests_or_none) to runtest.
3188 (check-parallel): Only run tests in $(TESTS) if non-empty.
3189 (check/no-matching-tests-found): New rule.
3190 * README: Document TESTS makefile variable.
3192 2014-02-18 Doug Evans <dje@google.com>
3194 * Makefile.in (check-parallel): rm -rf outputs temp.
3196 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3198 Fix "ERROR: no fileid for" in the testsuite.
3199 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
3201 2014-02-12 Doug Evans <dje@google.com>
3203 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
3204 (MISCELLANEOUS): New variable.
3205 (clean): rm -rf $(MISCELLANEOUS).
3206 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
3207 dwp live in the same directory as symlinks, with each symlink pointed
3208 to a differently named file in a different directory.
3210 2014-02-11 Doug Evans <dje@google.com>
3212 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
3213 of Tcl file commands.
3215 2014-02-10 Mark Kettenis <kettenis@gnu.org>
3217 * gdb.threads/step-after-sr-lock.exp: Avoid executing
3220 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3222 * gdb.ada/tick_length_array_enum_idx: New testcase.
3224 2014-02-10 Doug Evans <xdje42@gmail.com>
3226 * configure.ac (AC_OUTPUT): Add gdb.guile.
3227 * configure: Regenerate.
3228 * lib/gdb-guile.exp: New file.
3229 * lib/gdb.exp (get_target_charset): New function.
3230 * gdb.base/help.exp: Update expected output from "apropos apropos".
3231 * gdb.guile/Makefile.in: New file.
3232 * gdb.guile/guile.exp: New file.
3233 * gdb.guile/scm-arch.c: New file.
3234 * gdb.guile/scm-arch.exp: New file.
3235 * gdb.guile/scm-block.c: New file.
3236 * gdb.guile/scm-block.exp: New file.
3237 * gdb.guile/scm-breakpoint.c: New file.
3238 * gdb.guile/scm-breakpoint.exp: New file.
3239 * gdb.guile/scm-disasm.c: New file.
3240 * gdb.guile/scm-disasm.exp: New file.
3241 * gdb.guile/scm-equal.c: New file.
3242 * gdb.guile/scm-equal.exp: New file.
3243 * gdb.guile/scm-error.exp: New file.
3244 * gdb.guile/scm-error.scm: New file.
3245 * gdb.guile/scm-frame-args.c: New file.
3246 * gdb.guile/scm-frame-args.exp: New file.
3247 * gdb.guile/scm-frame-args.scm: New file.
3248 * gdb.guile/scm-frame-inline.c: New file.
3249 * gdb.guile/scm-frame-inline.exp: New file.
3250 * gdb.guile/scm-frame.c: New file.
3251 * gdb.guile/scm-frame.exp: New file.
3252 * gdb.guile/scm-generics.exp: New file.
3253 * gdb.guile/scm-gsmob.exp: New file.
3254 * gdb.guile/scm-iterator.c: New file.
3255 * gdb.guile/scm-iterator.exp: New file.
3256 * gdb.guile/scm-math.c: New file.
3257 * gdb.guile/scm-math.exp: New file.
3258 * gdb.guile/scm-objfile-script-gdb.in: New file.
3259 * gdb.guile/scm-objfile-script.c: New file.
3260 * gdb.guile/scm-objfile-script.exp: New file.
3261 * gdb.guile/scm-objfile.c: New file.
3262 * gdb.guile/scm-objfile.exp: New file.
3263 * gdb.guile/scm-ports.exp: New file.
3264 * gdb.guile/scm-pretty-print.c: New file.
3265 * gdb.guile/scm-pretty-print.exp: New file.
3266 * gdb.guile/scm-pretty-print.scm: New file.
3267 * gdb.guile/scm-section-script.c: New file.
3268 * gdb.guile/scm-section-script.exp: New file.
3269 * gdb.guile/scm-section-script.scm: New file.
3270 * gdb.guile/scm-symbol.c: New file.
3271 * gdb.guile/scm-symbol.exp: New file.
3272 * gdb.guile/scm-symtab-2.c: New file.
3273 * gdb.guile/scm-symtab.c: New file.
3274 * gdb.guile/scm-symtab.exp: New file.
3275 * gdb.guile/scm-type.c: New file.
3276 * gdb.guile/scm-type.exp: New file.
3277 * gdb.guile/scm-value-cc.cc: New file.
3278 * gdb.guile/scm-value-cc.exp: New file.
3279 * gdb.guile/scm-value.c: New file.
3280 * gdb.guile/scm-value.exp: New file.
3281 * gdb.guile/source2.scm: New file.
3282 * gdb.guile/types-module.cc: New file.
3283 * gdb.guile/types-module.exp: New file.
3285 2014-02-10 Yao Qi <yao@codesourcery.com>
3288 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
3289 * configure: Regenerated.
3290 * Makefile.in: New file.
3292 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3294 * gdb.python/py-framefilter.exp: Fix typo.
3296 2014-02-08 Yao Qi <yao@codesourcery.com>
3298 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
3299 that no =breakpoint-modified is emitted when breakpoints are
3300 modified through MI commands.
3302 2014-02-07 Pedro Alves <pedro@codesourcery.com>
3303 Pedro Alves <palves@redhat.com>
3305 * gdb.threads/step-after-sr-lock.c: New file.
3306 * gdb.threads/step-after-sr-lock.exp: New file.
3308 2014-02-07 Pedro Alves <palves@redhat.com>
3310 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
3312 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3314 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
3315 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
3317 2014-02-06 Doug Evans <xdje42@gmail.com>
3319 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
3322 * gdb.gdb/python-interrupts.exp: New file.
3324 2014-02-05 Yao Qi <yao@codesourcery.com>
3326 * gdb.trace/report.exp (use_collected_data): Test the output
3327 of "info threads" and "info inferiors".
3329 2014-02-05 Yao Qi <yao@codesourcery.com>
3333 2013-05-24 Yao Qi <yao@codesourcery.com>
3335 * gdb.trace/tfile.exp: Test inferior and thread.
3337 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3339 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
3341 * gdb.base/step-bt.c: Call hello via function pointer to make
3342 sure its first instruction is executed on powerpc64le-linux.
3344 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3346 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
3348 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3350 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
3351 of the test patterns for use on little-endian systems.
3353 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3355 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
3356 (decimal_vector): Fix for little-endian.
3358 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3360 * gdb.arch/sparc-sysstep.exp: New file.
3361 * gdb.arch/sparc-sysstep.c: Likewise.
3363 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
3365 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3367 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
3369 2014-01-23 Tom Tromey <tromey@redhat.com>
3371 * gdb.ada/array_char_idx: New testcase.
3373 2014-01-23 Tom Tromey <tromey@redhat.com>
3376 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
3377 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
3380 2014-01-23 Tom Tromey <tromey@redhat.com>
3383 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
3384 string from an inferior frame.
3385 * gdb.python/py-framefilter-mi.exp: Update.
3387 2014-01-22 Doug Evans <dje@google.com>
3389 * gdb.server/server-mon.exp: Add tests for "set debug-format".
3391 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3393 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
3395 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3397 * gdb.trace/entry-values.exp: Remove excess space character from
3398 regex patterns. Handle s390 call instruction.
3400 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3402 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
3403 define "*_start" label. Make "name" static.
3404 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
3405 ${name} by references to ${name}_start.
3407 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3409 * gdb.base/info-macros.exp: Remove "debug" from the compile
3412 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3414 * gdb.dlang/demangle.exp: New file.
3416 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3418 * gdb.dlang/primitive-types.exp: New file.
3420 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3422 * configure.ac: Create gdb.dlang/Makefile.
3423 * configure: Regenerate.
3424 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
3425 * gdb.dlang/Makefile.in: New file.
3426 * lib/d-support.exp: New file.
3427 * lib/gdb.exp (skip_d_tests): New proc.
3429 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3431 * gdb.btrace/delta.exp: Check reverse stepi.
3432 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
3433 * gdb.btrace/finish.exp: New.
3434 * gdb.btrace/next.exp: New.
3435 * gdb.btrace/nexti.exp: New.
3436 * gdb.btrace/record_goto.c: Add comments.
3437 * gdb.btrace/step.exp: New.
3438 * gdb.btrace/stepi.exp: New.
3439 * gdb.btrace/multi-thread-step.c: New.
3440 * gdb.btrace/multi-thread-step.exp: New.
3441 * gdb.btrace/rn-dl-bind.c: New.
3442 * gdb.btrace/rn-dl-bind.exp: New.
3443 * gdb.btrace/data.c: New.
3444 * gdb.btrace/data.exp: New.
3445 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3447 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3449 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
3450 * gdb.btrace/exception.exp: Update.
3451 * gdb.btrace/instruction_history.exp: Update.
3452 * gdb.btrace/record_goto.exp: Update.
3453 * gdb.btrace/tailcall.exp: Update.
3454 * gdb.btrace/unknown_functions.exp: Update.
3455 * gdb.btrace/delta.exp: New.
3457 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3459 * gdb.btrace/record_goto.exp: Add backtrace test.
3460 * gdb.btrace/tailcall.exp: Add backtrace test.
3462 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3464 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
3465 * gdb.btrace/record_goto.c: New.
3466 * gdb.btrace/record_goto.exp: New.
3467 * gdb.btrace/x86-record_goto.S: New.
3469 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3471 * gdb.btrace/function_call_history.exp: Update tests.
3472 * gdb.btrace/instruction_history.exp: Update tests.
3474 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3476 * gdb.btrace/function_call_history.exp: Fix expected field
3477 order for "record function-call-history".
3478 Add new tests for "record function-call-history /c".
3479 * gdb.btrace/exception.cc: New.
3480 * gdb.btrace/exception.exp: New.
3481 * gdb.btrace/tailcall.exp: New.
3482 * gdb.btrace/x86-tailcall.S: New.
3483 * gdb.btrace/x86-tailcall.c: New.
3484 * gdb.btrace/unknown_functions.c: New.
3485 * gdb.btrace/unknown_functions.exp: New.
3486 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3488 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3490 * gdb.btrace/instruction_history.exp: Update.
3491 * gdb.btrace/function_call_history.exp: Update.
3493 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3495 * gdb.btrace/function_call_history.exp: Fix expected function
3497 * gdb.btrace/instruction_history.exp: Initialize traced.
3498 Remove traced_functions.
3500 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3502 * gdb.btrace/function_call_history.exp: Update
3503 * gdb.btrace/instruction_history.exp: Update.
3505 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3507 * gdb.btrace/enable.exp: Update expected text.
3509 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
3511 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
3514 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
3516 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
3518 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3520 * lib/gdb.exp (supports_process_record): Return true for
3521 arm*-linux*. (supports_reverse): Likewise.
3523 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3527 * gdb.python/py-type.c: Enhance test case.
3528 * gdb.python/py-value-cc.cc: Likewise
3529 * gdb.python/py-type.exp: Add new tests.
3530 * gdb.python/py-value-cc.exp: Likewise
3532 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3533 Pedro Alves <palves@redhat.com>
3535 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
3537 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
3538 references to ${name}_start by references to ${name}.
3540 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3542 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
3544 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3546 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
3548 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
3549 Pedro Alves <palves@redhat.com>
3551 * gdb.mi/mi-info-os.exp: Connect to the target with
3554 2014-01-08 Pedro Alves <palves@redhat.com>
3556 * gdb.threads/reconnect-signal.c: New file.
3557 * gdb.threads/reconnect-signal.exp: New file.
3559 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3561 * gdb.base/source-dir.exp: New file.
3563 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3565 * gdb.ada/mi_interface: New testcase.
3567 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3569 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
3570 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
3571 gdb.ada/pp-rec-component/pck.ads: New files.
3573 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3575 * gdb.python/py-pp-integral.c: New file.
3576 * gdb.python/py-pp-integral.py: New file.
3577 * gdb.python/py-pp-integral.exp: New file.
3579 For older changes see ChangeLog-1993-2013.
3585 ;; version-control: never
3588 Copyright 2014 Free Software Foundation, Inc.
3589 Copying and distribution of this file, with or without modification,
3590 are permitted provided the copyright notice and this notice are preserved.