1 2014-12-15 Jason Merrill <jason@redhat.com>
3 * Makefile.in (check-gdb.%): Restore.
6 2014-12-13 Joel Brobecker <brobecker@adacore.com>
8 * gdb.ada/str_uninit: New testcase.
10 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13 * gdb.base/vla-stub-define.c: New file.
14 * gdb.base/vla-stub.c: New file.
15 * gdb.base/vla-stub.exp: New file.
17 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
18 Jan Kratochvil <jan.kratochvil@redhat.com>
19 Tom Tromey <tromey@redhat.com>
21 * configure.ac: Add gdb.compile/.
22 * configure: Regenerate.
23 * gdb.compile/Makefile.in: New file.
24 * gdb.compile/compile-ops.exp: New file.
25 * gdb.compile/compile-ops.c: New file.
26 * gdb.compile/compile-tls.c: New file.
27 * gdb.compile/compile-tls.exp: New file.
28 * gdb.compile/compile-constvar.S: New file.
29 * gdb.compile/compile-constvar.c: New file.
30 * gdb.compile/compile-mod.c: New file.
31 * gdb.compile/compile-nodebug.c: New file.
32 * gdb.compile/compile-setjmp-mod.c: New file.
33 * gdb.compile/compile-setjmp.c: New file.
34 * gdb.compile/compile-setjmp.exp: New file.
35 * gdb.compile/compile-shlib.c: New file.
36 * gdb.compile/compile.c: New file.
37 * gdb.compile/compile.exp: New file.
38 * lib/gdb.exp (skip_compile_feature_tests): New proc.
40 2014-12-12 Tom Tromey <tromey@redhat.com>
42 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
43 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
45 2014-12-12 Doug Evans <dje@google.com>
47 * lib/gdb-python.exp (get_python_valueof): New function.
48 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
50 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
52 * gdb.base/completion.exp: Add test for completion of "info
55 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
57 * gdb.base/func-ptrs.c: New file.
58 * gdb.base/func-ptrs.exp: New file.
60 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
63 * gdb.base/dprintf-detach.c: New file.
64 * gdb.base/dprintf-detach.exp: New file.
66 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
68 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
69 * lib/gdb.exp (target_is_gdbserver): New procedure.
71 2014-12-08 Doug Evans <dje@google.com>
73 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
75 2014-12-05 Yao Qi <yao@codesourcery.com>
77 * gdb.guile/scm-error.exp: Remove the third argument to
79 * gdb.guile/scm-frame-args.exp: Likewise.
80 * gdb.guile/scm-section-script.exp: Likewise.
82 2014-12-05 Yao Qi <yao@codesourcery.com>
84 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
86 2014-12-04 Doug Evans <dje@google.com>
88 * gdb.python/py-objfile.exp: Add tests for
89 objfile.add_separate_debug_file.
91 2014-12-04 Doug Evans <dje@google.com>
93 * lib/gdb.exp (get_build_id): New function.
94 (build_id_debug_filename_get): Rewrite to use it.
95 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
97 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
99 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
100 `method(long)', not just 0x0.
101 * gdb.cp/nsalias.exp: Align code labels to 4.
102 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
103 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
104 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
105 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
106 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
107 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
109 2014-12-02 Doug Evans <dje@google.com>
112 * gdb.cp/anon-ns.cc: Move guts of this file to ...
113 * gdb.cp/anon-ns-2.cc: ... here. New file.
114 * gdb.cp/anon-ns.exp: Update.
116 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
118 * gdb.python/py-events.py (inferior_call_handler): New.
119 (register_changed_handler, memory_changed_handler): New.
120 (test_events.invoke): Register new handlers.
121 * gdb.python/py-events.exp: Add tests for inferior call,
122 memory_changed and register_changed events.
124 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
126 * gdb.base/execl-update-breakpoints.exp: Specify the link address
127 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
128 if the linker doesn't understand this.
130 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
132 * gdb.python/python.exp: Change expected reply to help().
134 2014-12-01 Yao Qi <yao@codesourcery.com>
136 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
137 AC_CONFIG_SUBDIRS(gdb.gdbtk).
138 * configure: Re-generated.
140 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
142 * gdb.cp/chained-calls.cc: New file.
143 * gdb.cp/chained-calls.exp: New file.
144 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
146 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
148 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
149 * gdb.dwarf2/symtab-producer.exp: Same.
150 * gdb.gdb/python-interrupts.exp: Same.
151 * gdb.gdb/python-selftest.exp: Same.
152 * gdb.python/py-linetable.exp: Same.
153 * gdb.python/py-type.exp: Same.
154 * gdb.python/py-value-cc.exp: Same.
155 * gdb.python/py-value.exp: Same.
157 2014-11-28 Yao Qi <yao@codesourcery.com>
159 * gdb.base/break-probes.exp: Match library name prefixed with
162 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
164 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
165 test expected output. Add parentheses for the call to print.
166 Remove L suffix from integers.
168 2014-11-26 Doug Evans <dje@google.com>
170 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
172 2014-11-22 Yao Qi <yao@codesourcery.com>
174 * gdb.trace/entry-values.c: Remove asms.
175 (foo): Add foo_label.
176 (bar): Add bar_label.
177 * gdb.trace/entry-values.exp: Remove code computing foo's
178 length and bar's length.
179 (Dwarf::assemble): Invoke function_range for bar and use
180 MACRO_AT_func for foo.
182 2014-11-22 Yao Qi <yao@codesourcery.com>
184 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
185 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
186 Use .Lgcc43_procstart instead of gcc43.
188 2014-11-21 Joel Brobecker <brobecker@adacore.com>
190 * gdb.ada/n_arr_bound: New testcase.
192 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
195 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
196 test_catch_syscall_multi_arch.
197 (test_catch_syscall_multi_arch): New function.
199 2014-11-20 Doug Evans <xdje42@gmail.com>
201 * gdb.base/maint.exp: Update expected output.
203 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
205 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
206 4-byte instruction on S390.
208 2014-11-19 Joel Brobecker <brobecker@adacore.com>
210 * gdb.ada/arr_arr: New testcase.
212 2014-11-19 Joel Brobecker <brobecker@adacore.com>
214 * gdb.ada/pkd_arr_elem: New Testcase.
216 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
218 * gdb.reverse/break-precsave: Expect completion message for
220 * gdb.reverse/consecutive-precsave.exp: Likewise.
221 * gdb.reverse/finish-precsave.exp: Likewise.
222 * gdb.reverse/i386-precsave.exp: Likewise.
223 * gdb.reverse/machinestate-precsave.exp: Likewise.
224 * gdb.reverse/sigall-precsave.exp: Likewise.
225 * gdb.reverse/solib-precsave.exp: Likewise.
226 * gdb.reverse/step-precsave.exp: Likewise.
227 * gdb.reverse/until-precsave.exp: Likewise.
228 * gdb.reverse/watch-precsave.exp: Likewise.
230 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
232 * gdb.base/bp-permanent.c: Include unistd.h.
233 * gdb.python/py-framefilter-mi.c (main): Add return type.
234 * gdb.python/py-framefilter.c (main): Likewise.
235 * gdb.trace/actions-changed.c (main): Likewise.
237 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
239 * gdb.mi/until.c: Add eye-catchers.
240 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
243 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
245 * gdb.base/condbreak.exp: Drop references to removed non-prototype
246 function header variants in break1.c.
247 * gdb.base/ena-dis-br.exp: Likewise.
248 * gdb.base/hbreak2.exp: Likewise.
249 * gdb.reverse/until-precsave.exp: Drop references to removed
250 non-prototype function header variants in ur1.c.
251 * gdb.reverse/until-reverse.exp: Likewise.
253 2014-11-17 Petr Machata <pmachata@redhat.com>
255 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
256 ${_cu_offset_size} bytes abbrev offset.
258 2014-11-15 Doug Evans <xdje42@gmail.com>
261 * gdb.base/line-symtabs.exp: New file.
262 * gdb.base/line-symtabs.c: New file.
263 * gdb.base/line-symtabs.h: New file.
265 2014-11-14 Yao Qi <yao@codesourcery.com>
267 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
268 (func): Add label func_label.
269 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
270 Replace low_pc and high_pc with MACRO_AT_range.
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 (Dwarf::assemble):
276 Replace name, low_pc and high_pc with MACRO_AT_func.
278 2014-11-14 Yao Qi <yao@codesourcery.com>
280 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
281 produce debug information.
282 * gdb.dwarf2/implptr-optimized-out.S: Removed.
284 2014-11-14 Yao Qi <yao@codesourcery.com>
286 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
287 object and get function length.
288 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
290 (top-level): Replace gdb_compile and clean_restart with
292 * gdb.dwarf2/main.c (main): Add label main_label.
294 2014-11-14 Yao Qi <yao@codesourcery.com>
296 * lib/dwarf.exp (function_range): New procedure.
297 (Dwarf::_handle_macro_at_func): New procedure.
298 (Dwarf::_handle_macro_at_range): New procedure.
299 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
301 2014-11-14 Yao Qi <yao@codesourcery.com>
303 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
304 (_handle_attribute): New procedure.
306 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
308 * gdb.ada/cond_lang/foo.c (callme): Add return type.
309 * gdb.base/call-sc.c (zed): Likewise.
310 * gdb.base/checkpoint.c (main): Likewise.
311 * gdb.base/dump.c (main): Likewise.
312 * gdb.base/gcore.c (main): Likewise.
313 * gdb.base/huge.c (main): Likewise.
314 * gdb.base/multi-forks.c (main): Likewise.
315 * gdb.base/pr10179-a.c (main): Likewise.
316 * gdb.base/savedregs.c (main): Likewise.
317 * gdb.base/sigaltstack.c (main): Likewise.
318 * gdb.base/siginfo.c (main): Likewise.
319 * gdb.base/structs.c (zed): Likewise.
320 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
321 * gdb.mi/mi-syn-frame.c (main): Likewise.
322 * gdb.mi/until.c (foo, main): Likewise.
323 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
324 * gdb.base/solib-weak.c (foo): Declare.
325 * gdb.base/attach-twice.c: Include stdio.h.
326 * gdb.base/weaklib1.c: Likewise.
327 * gdb.base/weaklib2.c: Likewise.
328 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
329 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
331 * gdb.base/attach-pie-misread.c: Include stdlib.h.
332 * gdb.mi/mi-exit-code.c: Likewise.
333 * gdb.base/break-interp-lib.c: Include string.h.
334 * gdb.base/coremaker.c: Likewise.
335 * gdb.base/testenv.c: Likewise.
336 * gdb.python/py-finish-breakpoint.c: Likewise.
337 * gdb.base/inferior-died.c: Include sys/wait.h.
338 * gdb.base/fileio.c: Include time.h.
339 * gdb.base/async-shell.c: Include unistd.h.
340 * gdb.base/dprintf-non-stop.c: Likewise.
341 * gdb.base/info-os.c: Likewise.
342 * gdb.mi/mi-console.c: Likewise.
343 * gdb.mi/watch-nonstop.c: Likewise.
344 * gdb.python/py-events.c: Likewise.
345 * gdb.base/async.c (baz): Move up before its invocation.
346 * gdb.base/code_elim2.c (my_global_func): Likewise.
347 * gdb.base/skip-solib-lib.c (multiply): Likewise.
348 * gdb.base/advance.c (func2): Likewise.
350 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
352 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
354 * gdb.base/annota3.c: Likewise.
355 * gdb.base/async.c: Likewise.
356 * gdb.base/average.c: Likewise.
357 * gdb.base/call-ar-st.c: Likewise.
358 * gdb.base/call-rt-st.c: Likewise.
359 * gdb.base/call-sc.c: Likewise.
360 * gdb.base/call-strs.c: Likewise.
361 * gdb.base/ending-run.c: Likewise.
362 * gdb.base/execd-prog.c: Likewise.
363 * gdb.base/exprs.c: Likewise.
364 * gdb.base/foll-exec.c: Likewise.
365 * gdb.base/foll-fork.c: Likewise.
366 * gdb.base/foll-vfork.c: Likewise.
367 * gdb.base/funcargs.c: Likewise.
368 * gdb.base/gcore.c: Likewise.
369 * gdb.base/jump.c: Likewise.
370 * gdb.base/langs0.c: Likewise.
371 * gdb.base/langs1.c: Likewise.
372 * gdb.base/langs2.c: Likewise.
373 * gdb.base/mips_pro.c: Likewise.
374 * gdb.base/nodebug.c: Likewise.
375 * gdb.base/opaque0.c: Likewise.
376 * gdb.base/opaque1.c: Likewise.
377 * gdb.base/recurse.c: Likewise.
378 * gdb.base/run.c: Likewise.
379 * gdb.base/scope0.c: Likewise.
380 * gdb.base/scope1.c: Likewise.
381 * gdb.base/setshow.c: Likewise.
382 * gdb.base/setvar.c: Likewise.
383 * gdb.base/shmain.c: Likewise.
384 * gdb.base/shr1.c: Likewise.
385 * gdb.base/shr2.c: Likewise.
386 * gdb.base/sigall.c: Likewise.
387 * gdb.base/signals.c: Likewise.
388 * gdb.base/so-indr-cl.c: Likewise.
389 * gdb.base/solib2.c: Likewise.
390 * gdb.base/structs.c: Likewise.
391 * gdb.base/sum.c: Likewise.
392 * gdb.base/vforked-prog.c: Likewise.
393 * gdb.base/watchpoint.c: Likewise.
394 * gdb.reverse/shr2.c: Likewise.
395 * gdb.reverse/until-reverse.c: Likewise.
396 * gdb.reverse/ur1.c: Likewise.
397 * gdb.reverse/watch-reverse.c: Likewise.
399 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
401 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
403 * gdb.base/sepdebug.exp: Drop references to removed code.
405 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
407 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
408 variant. Preserve original line numbering.
409 * gdb.base/list1.c: Likewise.
411 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
413 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
415 * gdb.base/break1.c: Likewise.
416 * gdb.base/break.exp: Drop references to removed code.
418 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
420 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
423 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
425 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
427 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
429 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
430 logic into perform_all_tests() and invoke it with and without
431 function header prototypes.
432 (do_function_calls): Remove conditional XFAIL for PR 5318.
433 (rerun_and_prepare): Remove duplicate code.
434 (perform_all_tests): New. Main logic moved here.
436 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
438 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
439 code guarded by #ifdef NO_PROTOTYPES.
440 (t_double_many_args): Likewise.
441 (DEF_FUNC_MANY_ARGS_1): Likewise.
442 (DEF_FUNC_VALUES_1): Likewise.
443 (t_structs_ldc): Renamed from t_structs_fc in conditional code
444 guarded by #ifdef PROTOTYPES.
446 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
448 * gdb.mi/mi-console.c: Add eye-catcher.
449 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
450 instead of literal line number.
452 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
454 * gdb.base/shr2.c: Add eye-catcher.
455 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
458 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
460 * gdb.base/jump.c: Add eye-catchers.
461 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
464 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
466 * gdb.base/execd-prog.c: Add eye-catchers.
467 * gdb.base/foll-exec.c: Likewise.
468 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
471 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
473 * gdb.base/ending-run.c: Add eye-catchers.
474 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
475 literal line numbers.
477 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
479 * gdb.base/call-rt-st.c: Add eye-catchers.
480 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
481 literal line numbers.
483 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
485 * gdb.base/call-ar-st.c: Add eye-catchers.
486 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
487 literal line numbers.
489 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
491 * gdb.base/average.c: Add eye-catchers.
492 * gdb.base/sum.c: Likewise.
493 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
496 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
498 * gdb.base/solib1.c: Add eye-catchers.
499 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
500 literal line numbers.
502 2014-11-12 Pedro Alves <palves@redhat.com>
504 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
507 2014-11-12 Pedro Alves <palves@redhat.com>
509 * gdb.arch/i386-bp_permanent.c: New file.
510 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
511 (srcfile): Set to i386-bp_permanent.c.
512 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
513 that stepi does not execute the 'leave' instruction, instead of
514 testing it does execute.
515 * gdb.base/bp-permanent.c: New file.
516 * gdb.base/bp-permanent.exp: New file.
518 2014-11-10 Doug Evans <xdje42@gmail.com>
521 * gdb.base/symtab-search-order.exp: New file.
522 * gdb.base/symtab-search-order.c: New file.
523 * gdb.base/symtab-search-order-1.c: New file.
524 * gdb.base/symtab-search-order-shlib-1.c: New file.
526 2014-11-07 Pedro Alves <palves@redhat.com>
529 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
532 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
535 * gdb.cp/pr17494.cc: New file.
536 * gdb.cp/pr17494.exp: New file.
538 2014-11-02 Yao Qi <yao@codesourcery.com>
540 * gdb.python/python.exp: Get working directory and match the
541 output of "set extended-prompt \\w " with it.
543 2014-10-30 Doug Evans <dje@google.com>
545 * gdb.python/py-objfile.exp: Add tests for setting random attributes
547 * gdb.python/py-progspace.exp: Add tests for setting random attributes
550 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
552 * gdb.base/fullpath-expand.exp: Skip for a remote host.
553 * gdb.base/realname-expand.exp: Likewise.
554 * gdb.linespec/macro-relative.exp: Likewise.
556 2014-10-29 Pedro Alves <palves@redhat.com>
559 * gdb.threads/schedlock.c (some_function): New function.
560 (call_function): New global.
561 (MAYBE_CALL_SOME_FUNCTION): New macro.
562 (thread_function): Call it.
563 * gdb.threads/schedlock.exp (get_args): Add description parameter,
564 and use it instead of a global counter. Adjust all callers.
565 (get_current_thread): Use "find current thread" for test message
566 here rather than having all callers pass down the same string.
567 (goto_loop): New procedure, factored out from ...
568 (my_continue): ... this.
569 (step_ten_loops): Change parameter from test message to command to
571 (list_count): Delete global.
572 (check_result): New procedure, factored out from duplicate top
574 (continue tests): Wrap in with_test_prefix.
575 (test_step): New procedure, factored out from duplicate top level
577 (top level): Test "step" in combination with all scheduler-locking
578 modes. Test "next" in combination with all scheduler-locking
579 modes, and in combination with stepping over a function call or
581 * gdb.threads/next-bp-other-thread.c: New file.
582 * gdb.threads/next-bp-other-thread.exp: New file.
584 2014-10-29 Pedro Alves <palves@redhat.com>
587 * gdb.python/python.exp: Test a multi-line command that spawns
589 * gdb.base/multi-line-starts-subshell.exp: New file.
591 2014-10-29 Yao Qi <yao@codesourcery.com>
593 * gdb.base/fileio.exp: Make directories on host.
595 2014-10-29 Yao Qi <yao@codesourcery.com>
597 * gdb.base/fileio.c (test_write): Close the file.
599 2014-10-28 Pedro Alves <palves@redhat.com>
602 * gdb.base/sigstep.c (no_handler): New global.
603 (main): If 'no_handler is true, set the signal handlers to
605 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
606 with_sw_watch and no_handler parameters. Handle them.
607 (top level) <stepping over handler when stopped at a breakpoint
608 test>: Add a test axis for testing with a software watchpoint, and
609 another for testing with the signal handler set to SIG_IGN.
610 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
611 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
613 2014-10-28 Pedro Alves <palves@redhat.com>
616 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
617 * gdb.base/sigstep.exp (other_handler_location): New global.
618 (advance): Support stepping into the signal handler, and running
619 commands while in the handler.
620 (in_handler_map): New global.
621 (top level): In the advance test, add combinations for getting
622 into the handler with stepping commands, and for running commands
623 in the handler. Add comment descripting the advancei tests.
625 2014-10-28 Pedro Alves <palves@redhat.com>
627 * gdb.base/sigstep.exp: Use build_executable instead of
629 (top level): Move code that starts GDB, runs to main and creates a
631 (restart): ... this new procedure.
632 (top level): Move backtrace from signal handler test to ...
633 (validate_backtrace): ... this new procedure.
634 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
635 with_test_prefix. Always restart GDB.
636 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
637 with_test_prefix. Always restart GDB. No need to delete
638 breakpoints after the test.
639 (test_skip_handler): Remove prefix parameter.
640 (skip_over_handler, breakpoint_to_handler)
641 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
642 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
643 restart GDB. No need to delete breakpoints after the test.
644 (top level): Use foreach to call the test procedures with
647 2014-10-28 Pedro Alves <palves@redhat.com>
649 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
650 instead of GNATS numbers.
651 * gdb.base/sigbpt.exp: Likewise.
652 * gdb.base/siginfo.exp: Likewise.
653 * gdb.base/sigstep.exp: Likewise.
655 2014-10-27 Pedro Alves <palves@redhat.com>
657 * gdb.base/sigstep.c (dummy): New global.
658 (main): Issue a couple writes to the new global.
659 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
661 (skip_over_handler): Use test_skip_handler.
662 (top level): Call skip_over_handler for stepi and nexti too.
663 (breakpoint_over_handler): Use test_skip_handler.
664 (top level): Call breakpoint_over_handler for stepi and nexti too.
666 2014-10-27 Yao Qi <yao@codesourcery.com>
668 * gdb.trace/tfile.c (adjust_function_address)
669 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
672 2014-10-24 Don Breazeal <donb@codesourcery.com>
674 * gdb.base/foll-fork.exp (test_follow_fork,
675 catch_fork_child_follow): Check for updated fork messages emitted
677 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
678 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
679 vfork_and_exec_child_follow_through_step): Check for updated vfork
680 messages emitted from infrun.c.
682 2014-10-24 Pedro Alves <palves@redhat.com>
684 * gdb.base/corefile.exp: Remove references to ultrix.
685 * gdb.base/interrupt.exp: Likewise.
686 * gdb.base/whatis.exp: Likewise.
687 * gdb.gdb/selftest.exp: Likewise.
688 * gdb.threads/manythreads.exp: Likewise.
689 * gdb.threads/print-threads.exp: Likewise.
690 * gdb.threads/pthreads.exp:: Likewise.
691 * gdb.threads/schedlock.exp: Likewise.
693 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
695 * gdb.cp/non-trivial-retval.cc: Add a test case.
696 * gdb.cp/non-trivial-retval.exp: Add a test.
698 2014-10-20 Yao Qi <yao@codesourcery.com>
700 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
701 * gdb.python/py-objfile-script-gdb.py: New file.
702 * gdb.python/py-objfile-script.exp: Update reference to
703 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
704 of remote_download. Remove the dest file.
706 2014-10-20 Yao Qi <yao@codesourcery.com>
708 * gdb.base/checkpoint.exp: Don't remove file copied on host.
709 * gdb.base/step-line.exp: Likewise.
710 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
711 * gdb.dwarf2/dw2-basic.exp: Likewise.
712 * gdb.dwarf2/dw2-compressed.exp: Likewise.
713 * gdb.dwarf2/dw2-filename.exp: Likewise.
714 * gdb.dwarf2/dw2-intercu.exp: Likewise.
715 * gdb.dwarf2/dw2-intermix.exp: Likewise.
716 * gdb.dwarf2/dw2-producer.exp: Likewise.
717 * gdb.dwarf2/mac-fileno.exp: Likewise.
718 * gdb.python/py-frame-args.exp: Likewise.
719 * gdb.python/py-framefilter.exp: Likewise.
720 * gdb.python/py-mi.exp: Likewise.
721 * gdb.python/py-objfile-script.exp: Likewise
722 * gdb.python/py-pp-integral.exp: Likewise.
723 * gdb.python/py-pp-re-notag.exp: Likewise.
724 * gdb.python/py-prettyprint.exp: Likewise.
725 * gdb.python/py-section-script.exp: Likewise.
726 * gdb.python/py-typeprint.exp: Likewise.
727 * gdb.python/py-xmethods.exp: Likewise.
728 * gdb.stabs/weird.exp: Likewise.
729 * gdb.xml/tdesc-regs.exp: Likewise.
731 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
733 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
734 (out_cu): Use addr_len for the size of addresses.
735 (out_line): Likewise. Size DW_LNE_set_address instruction
736 according to addr_len.
737 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
738 (FUNC): Add START_INSNS to definition.
740 2014-10-18 Yao Qi <yao@codesourcery.com>
742 * gdb.base/argv0-symlink.exp: Check argv[0] value if
743 gdb_has_argv0 return true.
744 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
745 check [target_info exists noargs], check [gdb_has_argv0]
747 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
748 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
751 2014-10-17 Doug Evans <dje@google.com>
753 * gdb.python/py-events.exp: Update expected output for clear_objfiles
755 * gdb.python/py-events.py: Add clear_objfiles event.
757 2014-10-17 Doug Evans <dje@google.com>
759 * gdb.python/py-objfile.exp: Test progspace attribute.
761 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
763 * gdb.guile/scm-breakpoint.exp: Do not assume any
764 directory separators when matching source file paths.
765 * gdb.python/py-breakpoint.exp: Likewise.
766 * gdb.reverse/break-precsave.exp: Likewise.
767 * gdb.reverse/break-reverse.exp: Likewise.
768 * gdb.reverse/consecutive-precsave.exp: Likewise.
769 * gdb.reverse/finish-precsave.exp: Likewise.
770 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
771 * gdb.reverse/finish-reverse.exp: Likewise.
772 * gdb.reverse/i386-precsave.exp: Likewise.
773 * gdb.reverse/i387-env-reverse.exp: Likewise.
774 * gdb.reverse/i387-stack-reverse.exp: Likewise.
775 * gdb.reverse/machinestate-precsave.exp: Likewise.
776 * gdb.reverse/machinestate.exp: Likewise.
777 * gdb.reverse/sigall-precsave.exp: Likewise.
778 * gdb.reverse/solib-precsave.exp: Likewise.
779 * gdb.reverse/step-precsave.exp: Likewise.
780 * gdb.reverse/until-precsave.exp: Likewise.
781 * gdb.reverse/watch-precsave.exp: Likewise.
782 * gdb.reverse/watch-reverse.exp: Likewise.
784 2014-10-17 Yao Qi <yao@codesourcery.com>
786 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
787 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
789 2014-10-17 Pedro Alves <palves@redhat.com>
792 * gdb.base/bg-execution-repeat.c: New file.
793 * gdb.base/bg-execution-repeat.exp: New file.
795 2014-10-17 Pedro Alves <palves@redhat.com>
798 * gdb.base/continue-all-already-running.c: New file.
799 * gdb.base/continue-all-already-running.exp: New file.
801 2014-10-17 Pedro Alves <palves@redhat.com>
804 * gdb.base/annota-input-while-running.c: New file.
805 * gdb.base/annota-input-while-running.exp: New file.
807 2014-10-17 Pedro Alves <palves@redhat.com>
809 * gdb.base/callfuncs.exp: emove references to osf.
810 * gdb.base/sigall.exp: Likewise.
811 * gdb.gdb/selftest.exp: Likewise.
812 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
813 * gdb.mi/non-stop.c: Likewise.
814 * gdb.mi/pthreads.c: Likewise.
815 * gdb.reverse/sigall-precsave.exp: Likewise.
816 * gdb.reverse/sigall-reverse.exp: Likewise.
817 * gdb.threads/pthreads.c: Likewise.
818 * gdb.threads/pthreads.exp: Likewise.
820 2014-10-17 Yao Qi <yao@codesourcery.com>
822 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
823 check 'target_info exists noargs'.
824 (test_command_prompt_position): Likewise.
825 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
827 (progvar_simple_while_test): Likewise.
828 (progvar_complex_if_while_test): Likewise.
829 (if_while_breakpoint_command_test): Likewise.
830 (infrun_breakpoint_command_test): Likewise.
831 (breakpoint_command_test): Likewise.
832 (watchpoint_command_test): Likewise.
833 (bp_deleted_in_command_test): Likewise.
834 (temporary_breakpoint_commands): Likewise.
836 2014-10-16 Yao Qi <yao@codesourcery.com>
838 * gdb.base/remotetimeout.exp: Remove noargs checking.
840 2014-10-15 Pedro Alves <palves@redhat.com>
843 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
844 * gdb.base/breakpoint-in-ro-region.exp
845 (probe_target_hardware_step): New procedure.
846 (top level): Probe hardware stepping and hardware breakpoint
847 support. Test stepping through a read-only region, with both
848 "breakpoint auto-hw" on and off and both "always-inserted" on and
851 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
853 * gdb.dlang/demangle.exp: Update for demangling changes.
855 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
857 * gdb.cp/non-trivial-retval.cc: Add new test cases.
858 * gdb.cp/non-trivial-retval.exp: Add new tests.
860 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
864 * gdb.cp/non-trivial-retval.cc: New file.
865 * gdb.cp/non-trivial-retval.exp: New file.
867 2014-10-15 Yao Qi <yao@codesourcery.com>
869 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
872 2014-10-15 Yao Qi <yao@codesourcery.com>
874 * gdb.python/py-symbol.exp: Match file base name if host is
875 remote, otherwise match file name with dir name.
876 * gdb.python/py-symtab.exp: Likewise.
877 * gdb.python/python.exp: Likewise.
879 2014-10-15 Yao Qi <yao@codesourcery.com>
881 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
883 * gdb.python/py-symtab.exp: Likewise.
884 * gdb.python/python.exp: Remove trailing ".*". Fix typo
887 2014-10-14 Joel Brobecker <brobecker@adacore.com>
889 * gdb.ada/addr_arith: New testcase.
891 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
893 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
894 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
895 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
896 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
898 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
900 * gdb.arch/stap-eval-lang-ada.S: Likewise.
901 * gdb.arch/stap-eval-lang-ada.c: Likewise.
902 * gdb.arch/stap-eval-lang-ada.exp: New file.
904 2014-10-14 Yao Qi <yao@codesourcery.com>
906 * gdb.mi/mi-var-child.c (nothing1): New function.
907 (nothing2): New function.
908 (do_children_tests): Set function pointers by nothing1 and
910 * gdb.mi/mi-var-child.exp: Step over new added statements.
911 Update test to match the new output.
912 * gdb.mi/var-cmd.c (nothing1): New function.
913 (nothing2): New function.
914 (do_children_tests): Set function pointers by nothing1 and
916 * gdb.mi/mi-var-display.exp: Update test to match output.
917 Step to the line specified by $line_dct_nothing.
918 Increase the number of lines to step.
920 2014-10-14 Yao Qi <yao@codesourcery.com>
922 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
924 * gdb.mi/mi2-var-child.exp: Likewise.
926 2014-10-13 Doug Evans <dje@google.com>
928 * gdb.python/py-objfile.exp: Change name of file name test.
930 2014-10-13 Doug Evans <dje@google.com>
932 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
933 from the start of the CU.
935 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
936 Yao Qi <yao@codesourcery.com>
938 Fix "save breakpoints" for "catch" command.
939 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
940 Remove -nonewline. Match also the added "main" line.
942 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
944 Fix "save breakpoints" for "disable $bpnum" command.
945 * gdb.base/save-bp.c (main): Add label.
946 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
948 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
950 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
952 2014-10-11 Yao Qi <yao@codesourcery.com>
954 * gdb.server/server-kill.exp: Execute command
955 "set remote trace-status-packet on" before "tstatus".
957 2014-10-11 Yao Qi <yao@codesourcery.com>
959 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
960 (main): Call getppid.
961 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
962 and continue to it. Read variable "server_pid".
964 2014-10-11 Yao Qi <yao@codesourcery.com>
966 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
968 2014-10-11 Yao Qi <yao@codesourcery.com>
970 * gdb.threads/thread-find.exp: Don't execute command
972 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
973 * gdb.threads/linux-dp.exp: Don't check the condition
974 $threads_created equals to zero.
976 2014-10-10 Pedro Alves <palves@redhat.com>
978 * gdb.base/bigcore.exp: Remove references to IRIX.
979 * gdb.base/funcargs.exp: Likewise.
980 * gdb.base/interrupt.exp: Likewise.
981 * gdb.base/mips_pro.exp: Likewise.
982 * gdb.base/nodebug.exp: Likewise.
983 * gdb.base/setvar.exp: Likewise.
984 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
986 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
987 Pedro Alves <palves@redhat.com>
990 * gdb.base/vdso-warning.c: New file.
991 * gdb.base/vdso-warning.exp: New file.
993 2014-10-02 Doug Evans <dje@google.com>
995 * gdb.base/structs.c (main): Don't run forever.
997 2014-10-02 Pedro Alves <palves@redhat.com>
999 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
1000 (top level) <stop threads 1, stop threads 2>: Use it.
1002 2014-10-02 Pedro Alves <palves@redhat.com>
1004 * gdb.threads/break-while-running.exp (test): Add new
1005 'update_thread_list' argument. Skip "info threads" if false.
1006 (top level): Add new 'update_thread_list' axis.
1008 2014-10-02 Pedro Alves <palves@redhat.com>
1010 PR breakpoints/17431
1011 * gdb.base/execl-update-breakpoints.c: New file.
1012 * gdb.base/execl-update-breakpoints.exp: New file.
1014 2014-10-01 Pedro Alves <palves@redhat.com>
1016 * gdb.base/breakpoint-in-ro-region.c: New file.
1017 * gdb.base/breakpoint-in-ro-region.exp: New file.
1019 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
1021 * gdb.mi/mi-exit-code.exp: New file.
1022 * gdb.mi/mi-exit-code.c: New file.
1024 2014-09-30 Yao Qi <yao@codesourcery.com>
1026 * lib/prelink-support.exp (build_executable_own_libs): Error if
1027 the target isn't native.
1029 2014-09-30 Yao Qi <yao@codesourcery.com>
1031 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
1034 2014-09-22 Pedro Alves <palves@redhat.com>
1036 * gdb.threads/break-while-running.exp: New file.
1037 * gdb.threads/break-while-running.c: New file.
1039 2014-09-19 Yao Qi <yao@codesourcery.com>
1041 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
1042 Invoke test. Restart GDB with --readnow and invoke test again.
1044 2014-09-19 Yao Qi <yao@codesourcery.com>
1046 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
1047 proc set_breakpoint_on_gcd_function. Invoke
1048 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
1049 invoke set_breakpoint_on_gcd_function again.
1051 2014-09-18 Doug Evans <dje@google.com>
1053 * gdb.dwarf2/symtab-producer.exp: New file.
1055 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1057 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
1058 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
1059 * gdb.base/global-var-nested-by-dso.c: Likewise.
1060 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1062 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1063 Pedro Alves <palves@redhat.com>
1065 * gdb.base/watch-bitfields.exp: Pass string other than test file
1066 name to prepare_for_testing.
1067 (watch): New procedure.
1068 (expect_watchpoint): Use with_test_prefix.
1069 (top level): Factor out tests to ...
1070 (test_watch_location, test_regular_watch): ... these new
1071 procedures, and use with_test_prefix and gdb_continue_to_end.
1073 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
1075 PR breakpoints/12526
1076 * gdb.base/watch-bitfields.exp: New file.
1077 * gdb.base/watch-bitfields.c: New file.
1079 2014-09-16 Pedro Alves <palves@redhat.com>
1081 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
1082 software and hardware addresses, not software address against
1085 2014-09-16 Pedro Alves <palves@redhat.com>
1087 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
1088 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
1090 2014-09-16 Pedro Alves <palves@redhat.com>
1092 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
1094 * gdb.base/a2-run.exp: Remove all code guarded by istarget
1095 "*-*-vxworks*" throughout.
1096 * gdb.base/break.exp: Likewise.
1097 * gdb.base/default.exp: Likewise.
1098 * gdb.base/scope.exp: Likewise.
1099 * gdb.base/sepdebug.exp: Likewise.
1100 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
1102 * gdb.base/run.c: Likewise.
1103 * gdb.base/sepdebug.c: Likewise.
1104 * gdb.hp/gdb.aCC/run.c: Likewise.
1105 * gdb.reverse/until-reverse.c: Likewise.
1106 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
1108 2014-09-16 Yao Qi <yao@codesourcery.com>
1110 * boards/local-remote-host-native.exp: New file.
1112 2014-09-14 Doug Evans <xdje42@gmail.com>
1114 * gdb.threads/queue-signal.c (thread_count): New variable.
1115 (thread_count_mutex, thread_count_condvar): New variables.
1116 (incr_thread_count, wait_all_threads_running): New functions.
1117 (main): Wait for all threads to be in their thread functions.
1119 2014-09-13 Doug Evans <xdje42@gmail.com>
1121 * gdb.threads/queue-signal.c: New file.
1122 * gdb.threads/queue-signal.exp: New file.
1124 2014-09-13 Doug Evans <xdje42@gmail.com>
1126 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
1127 be consistent with what default_gdb_init uses.
1128 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
1129 the plain text of the prompt. Add some logging printfs.
1130 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
1132 2014-09-12 Pedro Alves <palves@redhat.com>
1134 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
1135 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
1136 * gdb.arch/i386-size-overlap.exp: Likewise.
1137 * gdb.arch/i386-size.exp: Likewise.
1138 * gdb.arch/i386-unwind.exp: Likewise.
1139 * gdb.base/a2-run.exp: Likewise.
1140 * gdb.base/break.exp: Likewise.
1141 * gdb.base/charset.exp: Likewise.
1142 * gdb.base/chng-syms.exp: Likewise.
1143 * gdb.base/commands.exp: Likewise.
1144 * gdb.base/dbx.exp: Likewise.
1145 * gdb.base/find.exp: Likewise.
1146 * gdb.base/funcargs.exp: Likewise.
1147 * gdb.base/jit-simple.exp: Likewise.
1148 * gdb.base/reread.exp: Likewise.
1149 * gdb.base/sepdebug.exp: Likewise.
1150 * gdb.base/step-bt.exp: Likewise.
1151 * gdb.cp/mb-inline.exp: Likewise.
1152 * gdb.cp/mb-templates.exp: Likewise.
1153 * gdb.objc/basicclass.exp: Likewise.
1154 * gdb.threads/killed.exp: Likewise.
1156 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1159 * gdb.arch/powerpc-stackless.S: New file.
1160 * gdb.arch/powerpc-stackless.exp: New file.
1162 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1164 * gdb.base/attach.c: Include unistd.h.
1165 (main): Call alarm. Add label postloop.
1166 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
1167 gdb_breakpoint, gdb_continue_to_breakpoint.
1168 (test_command_line_attach_run): Kill ${testpid} in one exit path.
1170 2014-09-11 Pedro Alves <palves@redhat.com>
1173 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
1174 * gdb.base/attach.exp (test_command_line_attach_run): New
1176 (top level): Call it.
1178 2014-09-11 Pedro Alves <palves@redhat.com>
1180 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
1181 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
1182 (do_command_attach_tests): Use spawn_wait_for_attach.
1183 * gdb.base/solib-overlap.exp: Likewise.
1184 * gdb.multi/multi-attach.exp: Likewise.
1185 * gdb.python/py-prompt.exp: Likewise.
1186 * gdb.python/py-sync-interp.exp: Likewise.
1187 * gdb.server/ext-attach.exp: Likewise.
1189 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
1191 * gdb.fortran/array-element.exp: Remove unexpected "continue"
1192 command in testcase. Simplify testcase.
1194 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1196 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
1198 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1200 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
1202 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1204 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
1206 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1208 * gdb.dwarf2/dynarr-ptr.c: New file.
1209 * gdb.dwarf2/dynarr-ptr.exp: New file.
1211 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1213 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
1214 of 30 rather than hardcoding 120 for a slow test case. Take the
1215 `gdb,timeout' target setting into account for this calculation.
1216 Don't extend the timeout for the test cases that don't need it.
1218 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1220 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
1221 a factor of 2 for a slow test case. Take the `gdb,timeout'
1222 target setting into account for this calculation.
1223 * gdb.reverse/until-precsave.exp: Increase the timeout by
1224 a factor of 15 and 3 respectively rather than adding 120
1225 for a pair of slow test cases. Take the `gdb,timeout'
1226 target setting into account for this calculation.
1228 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1230 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
1231 timeout, don't pass one down to gdb_expect.
1232 (gdb_expect): Rework timeout selection.
1234 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1236 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
1237 exception on timeout.
1238 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
1239 (gdbserver_start_extended): Catch any `gdbserver_start' error
1241 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
1242 * lib/mi-support.exp (mi_gdb_target_load): Catch any
1243 `gdbserver_gdb_load' error exceptions.
1245 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1247 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
1248 120 on waiting for the TCP socket to open.
1250 2014-09-09 Doug Evans <xdje42@gmail.com>
1252 * gdb.base/default.exp (show_conv_list): Add _caller_is,
1253 _caller_matches, _any_caller_is, _any_caller_matches.
1255 2014-09-09 Doug Evans <xdje42@gmail.com>
1257 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
1259 2014-09-09 Yao Qi <yao@codesourcery.com>
1261 * gdb.mi/mi-var-display.exp: Set print symbol off.
1263 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
1266 * gdb.base/commands.exp: Add tests to verify user-defined
1267 commands with empty bodies.
1268 * gdb.python/py-cmd.exp: Test that we don't show user-defined
1269 python commands in `show user command`.
1270 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
1271 scheme commands in `show user command`.
1273 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1276 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
1277 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
1278 * gdb.python/py-framefilter-invalidarg.exp: New file.
1279 * gdb.python/py-framefilter-invalidarg.py: New file.
1281 2014-09-06 Doug Evans <xdje42@gmail.com>
1284 * gdb.python/py-caller-is.c: New file.
1285 * gdb.python/py-caller-is.exp: New file.
1287 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
1290 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
1291 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
1293 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
1296 * gdb.fortran/print-formatted.exp: New file.
1297 * gdb.fortran/print-formatted.f90: Likewise.
1299 2014-09-03 Sasha Smundak <asmundak@google.com>
1301 * gdb.python/py-frame.exp: Test Frame.read_register.
1303 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
1306 * gdb.python/py-completion.exp: New file.
1307 * gdb.python/py-completion.py: Likewise.
1309 2014-08-28 Doug Evans <dje@google.com>
1311 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
1312 eax,etc. are live with values set by gdb and thus the compiler can't
1314 * gdb.arch/i386-pseudo.c (main): Ditto.
1316 2014-08-27 Doug Evans <dje@google.com>
1318 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
1320 2014-08-25 Doug Evans <dje@google.com>
1322 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
1325 2014-08-25 Doug Evans <dje@google.com>
1327 * gdb.threads/thread-execl.exp: #include <stdio.h>.
1329 2014-08-24 Yao Qi <yao@codesourcery.com>
1331 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
1333 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
1335 2014-08-22 Doug Evans <dje@google.com>
1338 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
1339 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
1340 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
1342 2014-08-22 Yao Qi <yao@codesourcery.com>
1344 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
1345 * gdb.python/py-finish-breakpoint2.exp: Likewise.
1346 * gdb.python/python.exp: Likewise. Use .py file on the host
1347 instead of the build.
1349 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1351 * gdb.threads/gcore-stale-thread.c: New file.
1352 * gdb.threads/gcore-stale-thread.exp: New file.
1354 2014-08-21 Pedro Alves <palves@redhat.com>
1356 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
1357 * gdb.base/gcore-relro-pie.exp: Likewise.
1358 * gdb.base/gcore-relro.exp: Likewise.
1359 * gdb.base/gcore.exp: Likewise.
1360 * gdb.base/print-symbol-loading.exp: Likewise.
1361 * gdb.threads/gcore-thread.exp: Likewise.
1362 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
1364 2014-08-20 Pedro Alves <palves@redhat.com>
1365 Jan Kratochvil <jan.kratochvil@redhat.com>
1367 * Makefile.in (EXTRA_RULES, CC): New variables, get from
1369 (EXPECT): Handle READ1 being set.
1370 (all): Depend on EXTRA_RULES.
1371 (check-read1, expect-read1, read1.so, read1): New rules.
1372 * README (Testsuite Parameters): Document the READ1 make variable.
1373 (Race detection): New section.
1374 * configure: Regenerate.
1375 * configure.ac: If build==host==target, and running under a
1376 GNU/glibc system, add read1 to the extra Makefile rules.
1377 (EXTRA_RULES): AC_SUBST it.
1378 * lib/read1.c: New file.
1380 2014-08-20 Joel Brobecker <brobecker@adacore.com>
1382 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
1383 the handling of variables declared as a typedef to an array
1384 which a DW_AT_data_location attribute.
1386 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
1387 Pedro Alves <palves@redhat.com>
1391 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
1394 2014-08-19 Pedro Alves <palves@redhat.com>
1396 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
1398 2014-08-19 Yao Qi <yao@codesourcery.com>
1400 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
1403 2014-08-18 David Blaikie <dblaikie@gmail.com>
1405 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
1407 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1409 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
1410 attribute in array range.
1412 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1414 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
1416 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1419 * gdb.cp/pr17132.cc: New file.
1420 * gdb.cp/pr17132.exp: New file.
1422 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1424 * gdb.python/py-xmethods.py (A_getarrayind)
1425 (E_method_char_worker.__call__, E_method_int_worker.__call__):
1426 Use 'print' with function call syntax.
1427 (E_method_matcher.match): Fix tab vs space indentation mixup.
1429 2014-08-15 Yao Qi <yao@codesourcery.com>
1431 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
1434 2014-08-15 Yao Qi <yao@codesourcery.com>
1436 * gdb.cp/casts.exp: Set print symbol off.
1437 * gdb.cp/class2.exp: Likewise.
1438 * gdb.cp/overload.exp: Likewise.
1439 * gdb.cp/templates.exp: Likewise.
1441 2014-08-11 Doug Evans <dje@google.com>
1443 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1444 (test_load_shlib): Update.
1446 2014-08-09 Yao Qi <yao@codesourcery.com>
1448 * gdb.base/display.exp: Invoke is_address_zero_readable.
1449 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
1450 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1451 * gdb.base/hbreak-unmapped.exp: Return if
1452 is_address_zero_readable returns true.
1453 * gdb.base/signest.exp: Likewise.
1454 * gdb.base/signull.exp: Likewise.
1455 * gdb.base/sigbpt.exp: Likewise.
1456 * gdb.guile/scm-disasm.exp: Do the test if
1457 is_address_zero_readable returns false.
1458 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
1459 * gdb.python/py-arch.exp: Likewise.
1460 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
1461 * lib/gdb.exp (is_address_zero_readable): New proc.
1463 2014-08-09 Yao Qi <yao@codesourcery.com>
1466 * gdb.mi/mi-var-display.exp: Make test messages unique.
1468 2014-08-04 Tom Tromey <tromey@redhat.com>
1470 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
1473 2014-08-04 Tom Tromey <tromey@redhat.com>
1475 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
1478 2014-08-01 Joel Brobecker <brobecker@adacore.com>
1480 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
1481 inner_vla_struct_object_size.
1482 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
1485 2014-07-30 Pedro Alves <palves@redhat.com>
1487 * gdb.threads/signal-command-handle-nopass.exp (test): Add
1490 2014-07-29 Yao Qi <yao@codesourcery.com>
1493 * gdb.base/until-nodebug.exp: New.
1495 2014-07-28 Doug Evans <xdje42@gmail.com>
1498 * gdb.guile/scm-parameter.exp: Add tests for trying to create
1499 previously existing parameter, and previously ambiguously spelled
1502 2014-07-28 Will Newton <will.newton@linaro.org>
1504 * gdb.base/varargs.exp: Remove KFAILs for ARM.
1506 2014-07-26 Ludovic Courtès <ludo@gnu.org>
1507 Doug Evans <xdje42@gmail.com>
1510 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
1512 2014-07-25 Pedro Alves <palves@redhat.com>
1514 * gdb.threads/signal-command-handle-nopass.c: New file.
1515 * gdb.threads/signal-command-handle-nopass.exp: New file.
1516 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
1517 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
1518 * gdb.threads/signal-delivered-right-thread.c: New file.
1519 * gdb.threads/signal-delivered-right-thread.exp: New file.
1521 2014-07-25 Pedro Alves <palves@redhat.com>
1523 * gdb.base/double-prompt-target-event-error.exp
1524 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
1526 (cancel_pagination_in_target_event): Rework double prompt
1528 * gdb.base/paginate-after-ctrl-c-running.exp
1529 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
1531 * gdb.base/paginate-bg-execution.exp
1532 (test_bg_execution_pagination_return)
1533 (test_bg_execution_pagination_cancel): Remove '-notransfer
1535 * gdb.base/paginate-execution-startup.exp
1536 (test_fg_execution_pagination_return)
1537 (test_fg_execution_pagination_cancel): Remove '-notransfer
1539 * gdb.base/paginate-inferior-exit.exp
1540 (test_paginate_inferior_exited): Remove '-notransfer <return>'
1542 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
1543 * lib/gdb.exp (pagination_prompt): Run text through
1545 (gdb_test_multiple): Match $pagination_prompt instead of
1547 (string_to_regexp): Move to lib/gdb-utils.exp.
1549 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1551 * gdb.arch/amd64-entry-value-paramref.S: New file.
1552 * gdb.arch/amd64-entry-value-paramref.cc: New file.
1553 * gdb.arch/amd64-entry-value-paramref.exp: New file.
1554 * gdb.arch/amd64-optimout-repeat.S: New file.
1555 * gdb.arch/amd64-optimout-repeat.c: New file.
1556 * gdb.arch/amd64-optimout-repeat.exp: New file.
1558 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1561 * gdb.base/statistics.exp: New file.
1563 2014-07-17 Doug Evans <dje@google.com>
1566 * gdb.base/maint.exp: Update testing of per-command stats.
1568 2014-07-16 Pedro Alves <palves@redhat.com>
1570 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
1571 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
1572 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
1573 (tfile_write_buf): New functions.
1574 (add_memory_block): Rewrite using the above.
1575 (adjust_function_address): New function.
1576 (FUNCTION_ADDRESS): New macro.
1577 (write_basic_trace_file): Remove short_x local, and use
1578 tfile_write_16. Change type of func_addr local to unsigned long
1579 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
1580 here. Cast argument of add_memory_block to char pointer.
1581 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
1582 (main): Remove parameters.
1583 * gdb.trace/tfile.exp: Remove nowarnings.
1585 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1587 * gdb.base/debug-expr.exp: Test string evaluation with
1588 "debug expression" on.
1590 2014-07-15 Pedro Alves <palves@redhat.com>
1592 * gdb.base/reread.exp: Use clean_restart.
1594 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1596 * gdb.arch/avr-flash-qualifer.c: New.
1597 * gdb.arch/avr-flash-qualifer.exp: New.
1599 2014-07-14 Pedro Alves <palves@redhat.com>
1601 * gdb.base/paginate-after-ctrl-c-running.c: New file.
1602 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1604 2014-07-14 Pedro Alves <palves@redhat.com>
1606 * gdb.base/double-prompt-target-event-error.c: New file.
1607 * gdb.base/double-prompt-target-event-error.exp: New file.
1609 2014-07-14 Pedro Alves <palves@redhat.com>
1612 * gdb.base/paginate-inferior-exit.c: New file.
1613 * gdb.base/paginate-inferior-exit.exp: New file.
1615 2014-07-14 Pedro Alves <palves@redhat.com>
1618 * gdb.base/paginate-bg-execution.c: New file.
1619 * gdb.base/paginate-bg-execution.exp: New file.
1621 2014-07-14 Pedro Alves <palves@redhat.com>
1624 * gdb.base/paginate-execution-startup.c: New file.
1625 * gdb.base/paginate-execution-startup.exp: New file.
1626 * lib/gdb.exp (pagination_prompt): New global.
1627 (default_gdb_spawn): New procedure, factored out from
1629 (default_gdb_start): Adjust to call default_gdb_spawn.
1630 (gdb_spawn): New procedure.
1632 2014-07-14 Pedro Alves <palves@redhat.com>
1634 * lib/gdb.exp (gdb_assert): New procedure.
1635 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
1637 2014-07-14 Pedro Alves <palves@redhat.com>
1639 * gdb.base/execution-termios.c: New file.
1640 * gdb.base/execution-termios.exp: New file.
1642 2014-07-14 Tom Tromey <tromey@redhat.com>
1644 * gdb.cp/vla-cxx.cc: New file.
1645 * gdb.cp/vla-cxx.exp: New file.
1647 2014-07-14 Tom Tromey <tromey@redhat.com>
1649 * gdb.reverse/rerun-prec.c: New file.
1650 * gdb.reverse/rerun-prec.exp: New file.
1652 2014-07-12 Maciej W. Rozycki <macro@mips.com>
1653 Maciej W. Rozycki <macro@codesourcery.com>
1655 * lib/gdb-utils.exp: New file.
1656 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
1657 inline `gdb_init_command' processing.
1658 (gdb_start_cmd): Likewise.
1659 * lib/mi-support.exp (mi_run_cmd): Likewise.
1660 * README: Document `gdb_init_command' and `gdb_init_commands'.
1662 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1664 Fix false FAIL running under a very long directory name.
1665 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1666 and "set print elements 10000". Twice.
1668 2014-07-11 Yao Qi <yao@codesourcery.com>
1670 * gdb.base/exprs.exp: "set print symbol off".
1672 2014-07-11 Pedro Alves <palves@redhat.com>
1674 * gdb.threads/kill.c: New file.
1675 * gdb.threads/kill.exp: New file.
1677 2014-07-10 Yao Qi <yao@codesourcery.com>
1679 * gdb.trace/tfile.c (write_basic_trace_file)
1680 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1681 address written to trace file.
1683 2014-07-09 Pedro Alves <palves@redhat.com>
1685 * gdb.base/attach-wait-input.exp: New file.
1686 * gdb.base/attach-wait-input.c: New file.
1688 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1690 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1691 setting up test structures.
1692 (main): Call new test function.
1693 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1694 test function, continue into test function and walk test
1697 2014-07-02 Yao Qi <yao@codesourcery.com>
1699 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1700 'bar_start' at the beginning of functions 'foo' and 'bar'
1702 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1703 instead of 'foo' and 'bar'.
1705 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1707 * gdb.btrace/segv.exp: New.
1708 * gdb.btrace/segv.c: New.
1710 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
1712 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1715 2014-06-30 Mark Wielaard <mjw@redhat.com>
1717 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1718 vulture, vilify, villar): New volatile array constants.
1719 (vindictive, vegetation): New const volatile array constants.
1720 * gdb.base/volatile.exp: Test volatile and const volatile array
1723 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1725 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1726 target lacks support for awatch, rwatch, or hbreak.
1728 2014-06-27 Yao Qi <yao@codesourcery.com>
1730 * gdb.multi/dummy-frame-restore.exp: New.
1731 * gdb.multi/dummy-frame-restore.c: New.
1733 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1735 * gdb.btrace/gcore.exp: New.
1737 2014-06-23 Pedro Alves <palves@redhat.com>
1739 * gdb.base/watchpoint-reuse-slot.c: New file.
1740 * gdb.base/watchpoint-reuse-slot.exp: New file.
1742 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1744 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1745 progspace's filename in 'info', 'enable' and 'disable' command
1748 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1750 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1751 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1752 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1754 2014-06-20 Gary Benson <gbenson@redhat.com>
1756 * gdb.arch/i386-avx.exp: Fix include file location.
1757 * gdb.arch/i386-sse.exp: Likewise.
1759 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1761 * gdb.dlang/expression.exp: New file.
1763 2014-06-19 Pedro Alves <palves@redhat.com>
1765 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1767 (top level): ... here. Iterate running tests under different
1768 scheduler-locking settings.
1770 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
1772 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1773 to DW_FORM_addr and use non-zero addresses.
1775 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1778 * gdb.python/py-xmethods.cc: Add global function call counters and
1779 increment them in their respective functions. Remove "cout"
1781 * gdb.python/py-xmethods.exp: Make tests check the global function
1782 call counters instead of depending on inferior IO.
1784 2014-06-18 Don Breazeal <donb@codesourcery.com>
1786 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1788 (explicit_fork_parent_follow): Deleted procedure.
1789 (explicit_fork_child_follow): Deleted procedure.
1790 (test_follow_fork): New procedure.
1791 (do_fork_tests): Replace calls to deleted procedures with
1792 calls to test_follow_fork and reset GDB for subsequent
1795 2014-06-17 Yao Qi <yao@codesourcery.com>
1797 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1800 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
1802 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1803 Initialize ptr and S explicitly.
1804 (skip_type_update_when_not_use_rtti_test): Likewise.
1806 2014-06-16 Keith Seitz <keiths@redhat.com>
1809 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1810 the inferior is started.
1812 2014-06-16 Pedro Alves <palves@redhat.com>
1814 * gdb.base/break-main-file-remove-fail.c: New file.
1815 * gdb.base/break-main-file-remove-fail.exp: New file.
1816 * gdb.base/break-unload-file.exp: Use build_executable instead of
1817 prepare_for_testing.
1818 (test_break): New parameter "initial_load". Handle it.
1819 (top level): Add initial_load cmdline/file axis.
1821 2014-06-12 Tom Tromey <tromey@redhat.com>
1823 * gdb.base/completion.exp: Don't use directory name in test.
1825 2014-06-09 Gary Benson <gbenson@redhat.com>
1827 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1828 separate the always-available ANSI-standard signals from the
1829 signals that require checking.
1831 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1835 2014-06-07 Keith Seitz <keiths@redhat.com>
1839 * gdb.cp/var-tag.cc: New file.
1840 * gdb.cp/var-tag.exp: New file.
1841 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1842 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1843 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1844 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1846 2014-06-06 Doug Evans <xdje42@gmail.com>
1848 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1850 2014-06-06 Pedro Alves <palves@redhat.com>
1852 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1853 in target debug output instead of looking at RSP packets,
1854 disabling the test on any target that uses hardware stepping.
1857 2014-06-06 Pedro Alves <palves@redhat.com>
1859 * gdb.base/break-unload-file.exp: Fix typo.
1861 2014-06-06 Yao Qi <yao@codesourcery.com>
1863 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1864 from "jit_function" to "^jit_function".
1866 2014-06-06 Yao Qi <yao@codesourcery.com>
1868 * gdb.base/async.c (foo): Add one statement.
1869 * gdb.base/async.exp: Get the next instruction address and
1870 match the output of "nexti" by instruction address. Match
1871 the hex address in the output of "finish".
1873 2014-06-06 Gary Benson <gbenson@redhat.com>
1875 * gdb.base/call-signals.c: Remove preprocessor conditionals
1876 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1877 SIGSEGV and SIGTERM.
1878 * gdb.base/sigall.c: Likewise.
1879 * gdb.base/unwindonsignal.c: Likewise.
1880 * gdb.reverse/sigall-reverse.c: Likewise.
1882 2014-06-06 Yao Qi <yao@codesourcery.com>
1884 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1885 readable, skip the test.
1887 2014-06-06 Yao Qi <yao@codesourcery.com>
1889 * gdb.threads/staticthreads.c (thread_function): Move the line
1890 setting breakpoint on forward.
1891 * gdb.threads/staticthreads.exp: Update comments.
1893 2014-06-05 Ludovic Courtès <ludo@gnu.org>
1895 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1896 "history-append! type error".
1898 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1900 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1901 erroneous dprintf expected input.
1903 2014-06-04 Doug Evans <xdje42@gmail.com>
1905 * gdb.guile/scm-generics.exp: Delete.
1907 2014-06-04 Doug Evans <xdje42@gmail.com>
1909 * gdb.guile/scm-breakpoint.exp: Update.
1910 Add tests for breakpoint registration.
1912 2014-06-04 Tom Tromey <tromey@redhat.com>
1914 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1916 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1917 inner_vla_struct, vla_union types. Initialize objects of those
1918 types and compute their sizes.
1920 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1921 Hui Zhu <hui@codesourcery.com>
1923 * gdb.base/fileio.exp: Add test for shell not available as well as
1925 * gdb.base/fileio.c (test_system): Check for shell twice.
1927 2014-06-04 Yao Qi <yao@codesourcery.com>
1929 * gdb.base/auto-connect-native-target.exp: Remove redundant
1930 space from the regexp pattern.
1932 2014-06-04 Yao Qi <yao@codesourcery.com>
1934 * gdb.base/default.exp: Replace "child" with "native" in
1937 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1939 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1940 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1941 * gdb.python/py-xmethods.py: Python script supporting the
1942 new testcase and tests.
1944 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1945 Pedro Alves <palves@redhat.com>
1947 PR breakpoints/17000
1948 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1949 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1951 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1953 * gdb.base/subst.exp: Add tests to verify partial path matching
1956 2014-06-03 Pedro Alves <palves@redhat.com>
1958 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1959 target that doesn't use software single-stepping.
1961 2014-06-03 Pedro Alves <palves@redhat.com>
1963 PR breakpoints/17000
1964 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1965 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1967 2014-06-02 Doug Evans <xdje42@gmail.com>
1969 * gdb.guile/scm-parameter.exp: New file.
1971 2014-06-02 Doug Evans <xdje42@gmail.com>
1973 * gdb.guile/scm-cmd.c: New file.
1974 * gdb.guile/scm-cmd.exp: New file.
1976 2014-06-02 Doug Evans <xdje42@gmail.com>
1978 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1979 pretty-printer lookup.
1980 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1981 (make-pp_s-printer): Call it.
1982 (make-pretty-printer-from-dict): New function.
1983 (lookup-pretty-printer-maker-from-dict): New function.
1984 (*pretty-printer*): Simplify.
1985 (make-objfile-pp_s-printer): New function.
1986 (install-objfile-pretty-printers!): New function.
1987 (make-progspace-pp_s-printer): New function.
1988 (install-progspace-pretty-printers!): New function.
1989 * gdb.guile/scm-progspace.c: New file.
1990 * gdb.guile/scm-progspace.exp: New file.
1992 2014-06-02 Pedro Alves <palves@redhat.com>
1994 * gdb.base/dprintf-bp-same-addr.c: New file.
1995 * gdb.base/dprintf-bp-same-addr.exp: New file.
1997 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1999 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
2000 * gdb.arch/powerpc-power.s: Likewise.
2002 2014-06-02 Joel Brobecker <brobecker@adacore.com>
2004 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
2006 2014-06-01 Yao Qi <yao@codesourcery.com>
2008 * gdb.base/watchpoint.exp (test_watch_location): Check null
2009 pointer can be dereferenced. If not, do the test, otherwise
2012 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
2014 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
2016 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
2018 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
2020 * gdb.arch/amd64-invalid-stack-middle.S: New file.
2021 * gdb.arch/amd64-invalid-stack-middle.c: New file.
2022 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
2023 * gdb.arch/amd64-invalid-stack-top.c: New file.
2024 * gdb.arch/amd64-invalid-stack-top.exp: New file.
2026 2014-05-30 Pedro Alves <palves@redhat.com>
2028 PR breakpoints/17000
2029 * gdb.base/sss-bp-on-user-bp.c: New file.
2030 * gdb.base/sss-bp-on-user-bp.exp: New file.
2032 2014-05-30 David Blaikie <dblaikie@gmail.com>
2034 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
2035 gnu_inline semantics via attribute.
2036 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
2037 source explicitly specifies the required semantics.
2039 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
2041 * gdb.reverse/sigall-reverse.exp: Fix a typo.
2043 2014-05-29 Pedro Alves <palves@redhat.com>
2044 Tom Tromey <tromey@redhat.com>
2046 * gdb.base/async-shell.exp: Don't enable target-async.
2047 * gdb.base/async.exp
2048 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
2050 (top level): Don't test with "target-async".
2051 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
2052 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
2053 * gdb.base/inferior-died.exp: Don't enable target-async.
2054 * gdb.base/interrupt-noterm.exp: Likewise.
2055 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
2056 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2057 * gdb.mi/mi-nonstop.exp: Likewise.
2058 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2059 * gdb.mi/mi-nsintrall.exp: Likewise.
2060 * gdb.mi/mi-nsmoribund.exp: Likewise.
2061 * gdb.mi/mi-nsthrexec.exp: Likewise.
2062 * gdb.mi/mi-watch-nonstop.exp: Likewise.
2063 * gdb.multi/watchpoint-multi.exp: Adjust comment.
2064 * gdb.python/py-evsignal.exp: Don't enable target-async.
2065 * gdb.python/py-evthreads.exp: Likewise.
2066 * gdb.python/py-prompt.exp: Likewise.
2067 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
2068 * gdb.server/solib-list.exp: Don't enable target-async.
2069 * gdb.threads/thread-specific-bp.exp: Likewise.
2070 * lib/mi-support.exp: Adjust to use mi-async.
2072 2014-05-29 Pedro Alves <palves@redhat.com>
2075 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
2076 reason, even in sync mode.
2078 2014-05-29 Pedro Alves <palves@redhat.com>
2079 Hui Zhu <hui@codesourcery.com>
2082 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
2083 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
2084 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
2085 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
2087 2014-05-28 Joel Brobecker <brobecker@adacore.com>
2089 * config/monitor.exp (gdb_target_monitor): Replace use of
2090 "set remotebaud" by "set serial baud".
2092 2014-05-26 Andy Wingo <wingo@igalia.com>
2094 * gdb.guile/scm-breakpoint.exp:
2095 * gdb.guile/scm-gsmob.exp: Update to use plain old object
2096 properties instead of gdb-object-properties.
2098 2014-05-26 Yao Qi <yao@codesourcery.com>
2100 * gdb.server/no-thread-db.exp: Specify source file name
2101 explicitly when setting a breakpoint.
2103 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2105 * gdb.btrace/vdso.c: New.
2106 * gdb.btrace/vdso.exp: New.
2108 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2110 * gdb.base/gcore.exp (capture_command_output): Move ...
2111 * lib/gdb.exp (capture_command_output): ... here.
2113 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2115 * gdb.btrace/data.exp: Test memory access during btrace replay.
2117 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
2119 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
2121 2014-05-21 Pedro Alves <palves@redhat.com>
2124 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
2125 (top level): Test that output related to execution commands is
2126 sent to the console with CLI commands, but not with MI commands.
2127 Test that breakpoint events are always mirrored to the console.
2128 Also expect the new source line to be output after a "next" in
2129 async mode too. Make it a pass/fail test.
2130 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
2132 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
2134 2014-05-21 Pedro Alves <palves@redhat.com>
2136 * gdb.base/list.exp (build_pattern, test_list): New procedures.
2137 Use them to test variations of "list" after reaching a breakpoint.
2138 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
2139 Test "list" with listsize 10 after reaching a breakpoint.
2140 * gdb.python/python.exp (decode_line current location line
2141 number): Adjust expected line number.
2143 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
2145 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
2146 behavior for $args, pass it directly to "run".
2148 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
2150 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
2153 2014-05-21 Pedro Alves <palves@redhat.com>
2155 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
2156 auto-connect-native-target off".
2157 * gdb.base/auto-connect-native-target.c: New file.
2158 * gdb.base/auto-connect-native-target.exp: New file.
2160 2014-05-21 Pedro Alves <palves@redhat.com>
2162 * gdb.base/default.exp: Test "target native" instead of "target
2165 2014-05-21 Mark Wielaard <mjw@redhat.com>
2167 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2169 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2171 Fix TLS access for -static -pthread.
2172 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
2173 <HAVE_TLS> (thread_function, main): Initialize it.
2174 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
2176 <$have_tls != "">: Check TLSVAR.
2178 2014-05-21 Pedro Alves <palves@redhat.com>
2180 * gdb.base/dcache-line-read-error.c: New.
2181 * gdb.base/dcache-line-read-error.exp: New.
2183 2014-05-20 Pedro Alves <palves@redhat.com>
2185 * gdb.base/compare-sections.c: New file.
2186 * gdb.base/compare-sections.exp: New file.
2188 2014-05-20 Pedro Alves <palves@redhat.com>
2190 * gdb.base/break-idempotent.c: New file.
2191 * gdb.base/break-idempotent.exp: New file.
2193 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
2195 * gdb.btrace/nohist.exp: New.
2197 2014-05-20 Yao Qi <yao@codesourcery.com>
2199 * lib/gdb.exp (gdb_init): Set timeout if test file is under
2200 gdb.reverse directory and gdb_reverse_timeout exists in board
2202 * README: Document gdb_reverse_timeout.
2204 2014-05-20 Yao Qi <yao@codesourcery.com>
2206 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
2207 'test_file_name'. Treat args as a string instead of a list.
2208 (gdb_init): Rename argument 'args' by 'test_file_name'.
2210 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2212 * gdb.arch/powerpc-power.exp: New file.
2213 * gdb.arch/powerpc-power.s: New file.
2215 2014-05-16 Doug Evans <dje@google.com>
2217 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
2218 * gdb.base/completion.exp: Check that all expected files exist
2219 before doing file completion.
2221 2014-05-16 Doug Evans <dje@google.com>
2223 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
2225 (do_syscall_tests_without_xml): Update.
2227 2014-05-16 Pedro Alves <palves@redhat.com>
2229 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
2230 instead of "unknown output after running".
2232 2014-05-16 Yao Qi <yao@codesourcery.com>
2234 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
2235 file1.txt from host at the end.
2236 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2238 2014-05-15 Doug Evans <dje@google.com>
2240 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
2241 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
2242 loading file. Add test for TU lookup.
2244 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2246 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
2247 calling "-exec-arguments" or "set args" before running the
2250 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2252 * lib/mi-support.exp (mi_expect_stop): Expect message for
2253 inferiors that exit with non-zero exit code.
2255 2014-05-14 Yao Qi <yao@codesourcery.com>
2257 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
2258 match absolute path on remote host.
2259 (test_file_list_exec_source_files): Remove "/" from the
2262 2014-05-14 Yao Qi <yao@codesourcery.com>
2264 * boards/local-remote-host-notty.exp (${board}_file): New
2267 2014-05-07 Kyle McMartin <kyle@redhat.com>
2269 Pushed by Joel Brobecker <brobecker@adacore.com>.
2270 * gdb.arch/aarch64-atomic-inst.c: New file.
2271 * gdb.arch/aarch64-atomic-inst.exp: New file.
2273 2014-05-07 Yao Qi <yao@codesourcery.com>
2275 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
2276 in current context" too.
2278 2014-05-05 Keith Seitz <keiths@redhat.com>
2280 * gdb.linespec/ls-dollar.exp: Add test for linespec
2281 file:convenience_variable.
2283 2014-05-05 Yao Qi <yao@codesourcery.com>
2285 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
2286 traceframes into tfile and ctf trace files. Read data from
2287 trace file and test collected data.
2288 (gdb_collect_locals_test): Likewise.
2289 (gdb_unavailable_registers_test): Likewise.
2290 (gdb_unavailable_floats): Likewise.
2291 (gdb_collect_globals_test): Likewise.
2292 (top-level): Append "ctf" to trace_file_targets if GDB
2295 2014-05-05 Yao Qi <yao@codesourcery.com>
2297 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
2299 (gdb_collect_args_test_1): ... it. New proc.
2300 (gdb_collect_locals_test): Move some code to ...
2301 (gdb_collect_locals_test_1): ... it. New proc.
2302 (gdb_unavailable_registers_test): Move some code to ...
2303 (gdb_unavailable_registers_test_1): ... it. New proc.
2304 (gdb_unavailable_floats): Move some code to ...
2305 (gdb_unavailable_floats_1): ... it. New proc.
2307 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2309 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
2310 probes to test for bitness recognition.
2311 * gdb.arch/amd64-stap-optional-prefix.exp
2312 (test_probe_value_without_reg): New procedure.
2313 Add code to test for different kinds of bitness.
2315 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2317 PR breakpoints/16889
2318 * gdb.arch/amd64-stap-optional-prefix.S: New file.
2319 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2321 2014-05-01 Pedro Alves <palves@redhat.com>
2323 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
2324 gdb_file_cmd if no file is specified.
2325 * boards/native-extended-gdbserver.exp (gdb_load): Use the
2326 last_loaded_file to set the remote exec-file.
2328 2014-05-01 Pedro Alves <palves@redhat.com>
2330 * boards/local-remote-host.exp: New file.
2332 2014-05-01 Pedro Alves <palves@redhat.com>
2334 * boards/local-remote-host.exp: Rename to ...
2335 * boards/local-remote-host-notty.exp: ... this.
2337 2014-04-28 Joel Brobecker <brobecker@adacore.com>
2339 * gdb.ada/dyn_arrayidx: New testcase.
2341 2014-04-26 Yao Qi <yao@codesourcery.com>
2343 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
2344 and compute the length of function main. Save it in
2346 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
2347 (top-level): Use gdb_compile to compile objects into
2348 executable and restart GDB. Remove invocation to
2349 prepare_for_testing.
2351 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
2352 Pedro Alves <palves@redhat.com>
2355 * gdb.multi/multi-attach.c: New file.
2356 * gdb.multi/multi-attach.exp: New file.
2358 2014-04-25 Pedro Alves <palves@redhat.com>
2360 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
2362 (top level): Test that "set remote conditional-breakpoints-packet
2363 off" works as intended.
2364 * gdb.base/dprintf.exp: Test that "set remote
2365 breakpoint-commands-packet off" works as intended.
2366 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
2368 (top level): Call it.
2369 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
2370 remote fast-tracepoints-packet off" works as intended.
2371 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
2372 * lib/gdb.exp (gdb_is_target_remote): ... here.
2374 2014-04-24 David Blaikie <dblaikie@gmail.com>
2376 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
2377 ensure clang would not discard them.
2378 * gdb.base/gdbvars.c: Ditto.
2379 * gdb.base/memattr.c: Ditto.
2380 * gdb.base/whatis.c: Ditto.
2381 * gdb.python/py-prettyprint.c: Ditto.
2382 * gdb.trace/actions.c: Ditto.
2383 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
2384 ensure clang would not discard it.
2386 2014-04-24 David Blaikie <dblaikie@gmail.com>
2388 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
2389 clang to emit the full definition of type required by the test
2390 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
2392 2014-04-24 David Blaikie <dblaikie@gmail.com>
2394 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
2395 coax Clang into emitting the definition of the type.
2396 * gdb.cp/pr10728-x.h (y): Ditto.
2397 * gdb.cp/pr10728-y.cc (y): Ditto.
2399 2014-04-24 David Blaikie <dblaikie@gmail.com>
2401 * gdb.base/label.exp: XFAIL label related tests under Clang.
2402 * gdb.cp/cplabel.exp: Ditto.
2403 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
2404 under Clang those using labels.
2406 2014-04-25 Yao Qi <yao@codesourcery.com>
2408 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
2410 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
2411 partial_label and double_label.
2413 2014-04-24 David Blaikie <dblaikie@gmail.com>
2415 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
2417 2014-04-24 David Blaikie <dblaikie@gmail.com>
2419 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
2420 of the function to work across GCC and Clang.
2421 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
2422 pointer types (const void ** const V void **).
2424 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
2425 Walfred Tedeschi <walfred.tedeschi@intel.com>
2427 * Makefile.in (EXECUTABLES): Added i386-avx512.
2428 * gdb.arch/i386-avx512.c: New file.
2429 * gdb.arch/i386-avx512.exp: Likewise.
2431 2014-04-23 Keith Seitz <keiths@redhat.com>
2433 * lib/mi-support.exp (mi_list_breakpoints): Delete.
2434 (mi_make_breakpoint_table): New procedure.
2435 (mi_create_breakpoint): Use mi_make_breakpoint
2436 and return the result.
2437 (mi_make_breakpoint): New procedure.
2438 (mi_build_kv_pairs): New procedure.
2440 * gdb.mi/mi-break.exp: Remove unused globals,
2441 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
2442 All callers updated.
2443 * gdb.mi/mi-dprintf.exp: Use variable to track command
2445 Update all callers of mi_create_breakpoint and use
2446 mi_make_breakpoint_table.
2447 Remove any unused global variables.
2448 * gdb.mi/mi-nonstop.exp: Likewise.
2449 * gdb.mi/mi-nsintrall.exp: Likewise.
2450 * gdb.mi/mi-nsmoribund.exp: Likewise.
2451 * gdb.mi/mi-nsthrexec.exp: Likewise.
2452 * gdb.mi/mi-reverse.exp: Likewise.
2453 * gdb.mi/mi-simplerun.exp: Likewise.
2454 * gdb.mi/mi-stepn.exp: Likewise.
2455 * gdb.mi/mi-syn-frame.exp: Likewise.
2456 * gdb.mi/mi-until.exp: Likewise.
2457 * gdb.mi/mi-var-cp.exp: Likewise.
2458 * gdb.mi/mi-var-display.exp: Likewise.
2459 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2460 * gdb.mi/mi2-var-child.exp: Likewise.
2461 * gdb.mi/mi-vla-c99.exp: Likewise.
2462 * lib/mi-support.exp: Likewise.
2464 From Ian Lance Taylor <iant@cygnus.com>:
2465 * lib/gdb.exp (parse_args): New procedure.
2467 2014-04-23 Pedro Alves <palves@redhat.com>
2469 * gdb.base/break-unload-file.c: New file.
2470 * gdb.base/break-unload-file.exp: New file.
2471 * gdb.base/sym-file-lib.c (baz): New function.
2472 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
2474 (load): Store the segment's mapped size.
2475 (unload): New function.
2476 (unload_shlib): New function.
2477 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
2478 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
2479 set a breakpoint at baz, and call it.
2480 * gdb.base/sym-file.exp: New tests for stale breakpoint
2483 2014-04-23 Pedro Alves <palves@redhat.com>
2485 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
2486 * gdb.base/hbreak-in-shr-unsupported.c: New file.
2487 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
2488 * gdb.base/hbreak-unmapped.c: New file.
2489 * gdb.base/hbreak-unmapped.exp: New file.
2490 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
2491 * lib/gdb.exp (gdb_is_target_remote): ... here.
2493 2014-04-22 Pedro Alves <palves@redhat.com>
2495 * gdb.base/consecutive-step-over.c: New file.
2496 * gdb.base/consecutive-step-over.exp: New file.
2498 2014-04-22 Pedro Alves <palves@redhat.com>
2500 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
2501 instead of send_gdb/gdb_expect.
2503 2014-04-22 Yao Qi <yao@codesourcery.com>
2505 * lib/trace-support.exp (generate_tracefile): New procedure.
2506 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
2508 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
2509 if generate_tracefile returns 1.
2511 2014-04-18 Tom Tromey <palves@redhat.com>
2512 Pedro alves <tromey@redhat.com>
2515 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
2516 with a backtrace limit.
2517 * gdb.python/py-frame-inline.exp: Test running to an inline
2518 function with a backtrace limit, and printing the newest frame.
2519 * gdb.python/py-frame-inline.c (main): Call f.
2521 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2523 * gdb.java/jnpe.exp: Drop srcdir from untested path.
2525 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2527 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
2528 Drop prefix from unsupported source file path.
2530 2014-04-17 Yao Qi <yao@codesourcery.com>
2532 * lib/gdb.exp (with_target_charset): New proc.
2533 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
2534 with_target_charset.
2535 (test_print_strings): Likewise.
2536 (test_repeat_bytes): Likewise.
2537 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
2540 2014-04-16 Keith Seitz <keiths@redhat.com>
2543 * gdb.dwarf2/corrupt.c: New file.
2544 * gdb.dwarf2/corrupt.exp: New file.
2546 2014-04-16 Keith Seitz <keiths@redhat.com>
2549 * gdb.cp/namelessclass.cc: New file.
2550 * gdb.cp/namelessclass.exp: New file.
2551 * gdb.cp/namelessclass.S: New file.
2553 2014-04-16 Doug Evans <dje@google.com>
2555 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
2557 (gdbserver_default_get_comm_port): New function.
2558 (gdbserver_start): Check if board file provided
2559 "gdbserver,get_comm_port" and use it if so.
2560 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
2561 (gdb,socketport): Set to "stdio".
2562 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
2563 (stdio_gdbserver_template): Delete.
2564 (${board}_get_remote_address): Update.
2565 (${board}_build_remote_cmd): Delete.
2566 (${board}_get_comm_port): New function.
2567 (${board}_spawn): Update.
2568 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
2570 (${board}_get_remote_address): Update.
2571 (${board}_get_comm_port): New function.
2573 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
2575 * gdb.base/memattr.exp: Improve regexps to handle memory regions
2576 appearing in any order.
2578 2014-04-15 Doug Evans <dje@google.com>
2580 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
2581 uninitialized value of "description".
2583 2014-04-15 Keith Seitz <keiths@redhat.com>
2585 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
2586 Remove unused globals.
2587 (test_running_the_program): Likewise.
2588 (test_controlled_execution): Likewise.
2589 (test_controlling_breakpoints): Likewise.
2590 (test_program_termination): Likewise.
2592 2014-04-15 Keith Seitz <keiths@redhat.com>
2594 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
2596 (test_rbreak_creation_and_listing): Likewise.
2597 (test_ignore_count): Likewise.
2598 (test_error): Likewise.
2600 2014-04-15 Pedro Alves <palves@redhat.com>
2602 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2603 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2605 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2606 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2607 to sym-file-loader.c.
2608 (struct library): Forward declare.
2609 (load_shlib, lookup_function): Change prototypes.
2610 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2611 (translate_offset): Remove declarations.
2612 (get_text_addr): New declaration.
2613 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2614 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2616 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2617 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2618 here from sym-file-loader.h.
2619 (struct library): New structure.
2620 (load_shlib, lookup_function): Change prototypes and adjust to
2621 work with a struct library.
2622 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2623 (translate_offset): Make static.
2624 (get_text_addr): New function.
2625 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
2627 2014-04-15 Pedro Alves <palves@redhat.com>
2629 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
2631 2014-04-15 Pedro Alves <palves@redhat.com>
2633 * gdb.base/sym-file-loader.c: Include <limits.h>.
2634 (SELF_LINK): New define.
2635 (get_origin): New function.
2636 (load_shlib): Use it.
2637 * gdb.base/sym-file.exp: Don't early return if the target is
2638 remote. Use runto_main, and issue fail is that fails. Use
2640 (shlib_name): Delete.
2641 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
2643 2014-04-15 Pedro Alves <palves@redhat.com>
2645 * gdb.base/sym-file.exp: Remove regex characters from test
2646 message. Don't refer to breakpoint numbers in test messages.
2648 2014-04-14 Keith Seitz <keiths@redhat.com>
2651 * gdb.cp/var-tag.cc: New file.
2652 * gdb.cp/var-tag.exp: New file.
2653 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2654 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2655 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2656 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2658 2014-04-14 Tom Tromey <tromey@redhat.com>
2660 * gdb.cp/classes.exp (test_enums): Handle underlying type.
2661 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
2663 * gdb.cp/enum-class.exp: New file.
2664 * gdb.cp/enum-class.cc: New file.
2666 2014-04-14 Tom Tromey <tromey@redhat.com>
2668 * gdb.dwarf2/enum-type.exp: New file.
2670 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2672 * gdb.mi/mi-vla-c99.exp: New file.
2673 * gdb.mi/vla.c: New file.
2675 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2677 * gdb.base/vla-datatypes.c: New file.
2678 * gdb.base/vla-datatypes.exp: New file.
2680 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2682 * gdb.base/vla-ptr.c: New file.
2683 * gdb.base/vla-ptr.exp: New file.
2685 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2687 * gdb.dwarf2/count.exp: New file.
2689 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2691 * gdb.base/vla-sideeffect.c: New file.
2692 * gdb.base/vla-sideeffect.exp: New file.
2694 2014-04-14 David Blaikie <dblaikie@gmail.com>
2696 * gdb.mi/non-stop.c: Add return value for non-void function return
2698 * gdb.threads/staticthreads.c: Ditto.
2700 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2701 Doug Evans <xdje42@gmail.com>
2703 * gdb.guile/scm-value.c: Improve test case.
2704 * gdb.guile/scm-value.exp: Add new test.
2706 2014-04-11 David Blaikie <dblaikie@gmail.com>
2708 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2709 override Clang's default.
2711 2014-04-11 Joel Brobecker <brobecker@adacore.com>
2713 Revert the following changes (regressions):
2715 * gdb.base/vla-sideeffect.c: New file.
2716 * gdb.base/vla-sideeffect.exp: New file.
2718 * gdb.dwarf2/count.exp: New file.
2720 * gdb.base/vla-multi.c: New file.
2721 * gdb.base/vla-multi.exp: New file.
2723 * gdb.base/vla-ptr.c: New file.
2724 * gdb.base/vla-ptr.exp: New file.
2726 * gdb.base/vla-datatypes.c: New file.
2727 * gdb.base/vla-datatypes.exp: New file.
2729 * gdb.mi/mi-vla-c99.exp: New file.
2730 * gdb.mi/vla.c: New file.
2732 2014-04-11 Keith Seitz <keiths@redhat.com>
2735 * gdb.cp/cpsizeof.exp: New file.
2736 * gdb.cp/cpsizeof.cc: New file.
2738 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2740 * gdb.mi/mi-vla-c99.exp: New file.
2741 * gdb.mi/vla.c: New file.
2743 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2745 * gdb.base/vla-datatypes.c: New file.
2746 * gdb.base/vla-datatypes.exp: New file.
2748 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2750 * gdb.base/vla-ptr.c: New file.
2751 * gdb.base/vla-ptr.exp: New file.
2753 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2755 * gdb.base/vla-multi.c: New file.
2756 * gdb.base/vla-multi.exp: New file.
2758 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2760 * gdb.dwarf2/count.exp: New file.
2762 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2764 * gdb.base/vla-sideeffect.c: New file.
2765 * gdb.base/vla-sideeffect.exp: New file.
2767 2014-04-11 Yao Qi <yao@codesourcery.com>
2769 * gdb.base/completion.exp: Check file exists before running tests
2772 2014-04-10 Pedro Alves <palves@redhat.com>
2774 * gdb.base/cond-eval-mode.c: New file.
2775 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2776 prepare_for_testing to build the new file. Check result of
2778 (test_break, test_watch): New procedures.
2779 (top level): Use them.
2781 2014-04-08 Pierre Muller <muller@sourceware.org>
2783 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2784 Ctrl-V use for mingw hosts.
2786 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2788 * gdb.python/py-value.c: Improve test case.
2789 * gdb.python/py-value.exp: Add new test.
2791 2014-04-07 David Blaikie <dblaikie@gmail.com>
2793 * lib/compiler.c: Identify the clang compiler.
2794 * lib/compiler.cc: Ditto.
2796 2014-04-03 Yao Qi <yao@codesourcery.com>
2798 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2800 2014-04-01 Anton Blanchard <anton@samba.org>
2802 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2805 2014-04-01 Anton Blanchard <anton@samba.org>
2807 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2808 prepare_for_testing.
2810 2014-04-01 Anton Blanchard <anton@samba.org>
2812 * gdb.arch/ppc64-atomic-inst.c: Remove.
2813 * gdb.arch/ppc64-atomic-inst.S: New file.
2814 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2816 2014-03-31 Doug Evans <dje@google.com>
2818 * gdb.base/print-symbol-loading-lib.c: New file.
2819 * gdb.base/print-symbol-loading-main.c: New file.
2820 * gdb.base/print-symbol-loading.exp: New file.
2822 2014-03-31 Yao Qi <yao@codesourcery.com>
2824 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2826 2014-03-28 Joel Brobecker <brobecker@adacore.com>
2828 * gdb.ada/mi_dyn_arr: New testcase.
2830 2014-03-27 Doug Evans <dje@google.com>
2832 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2834 2014-03-27 Yao Qi <yao@codesourcery.com>
2836 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2837 if target is nios2-*-*.
2839 2014-03-26 Yao Qi <yao@codesourcery.com>
2841 * lib/gdb.exp (readline_is_used): New proc.
2842 * gdb.base/completion.exp: Move tests on command complete up.
2843 Skip the rest of tests if readline is not used.
2844 * gdb.ada/complete.exp: Skp the test if readline is not
2846 * gdb.base/filesym.exp: Likewise.
2847 * gdb.base/macscp.exp: Likewise.
2848 * gdb.base/readline-ask.exp: Likewise.
2849 * gdb.base/readline.exp: Likewise.
2850 * gdb.python/py-cmd.exp: Likewise.
2851 * gdb.trace/tfile.exp: Likewise.
2853 2014-03-26 Yao Qi <yao@codesourcery.com>
2855 * gdb.base/macscp.exp: Fix code format issues.
2857 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2859 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2860 * gdb.asm/powerpc64le.inc: New file.
2862 2014-03-25 Pedro Alves <palves@redhat.com>
2863 Doug Evans <dje@google.com>
2865 * gdb.base/source-execution.c: New file.
2866 * gdb.base/source-execution.exp: New file.
2867 * gdb.base/source-execution.gdb: New file.
2869 2014-03-24 Doug Evans <dje@google.com>
2871 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2874 2014-03-24 Hui Zhu <hui@codesourcery.com>
2875 Pedro Alves <palves@redhat.com>
2877 PR breakpoints/16101
2878 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2879 test pass/fail messages. Detect missing support for dprintf when
2880 breakpoints are actually inserted.
2881 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2882 breakpoints are actually inserted.
2883 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2886 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2888 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2890 2014-03-22 Doug Evans <xdje42@gmail.com>
2892 * gdb.python/python.exp (python not supported): Verify multi-line
2893 python command issues an error.
2894 * gdb.guile/guile.exp (guile not supported): Verify multi-line
2895 guile command issues an error.
2897 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2899 * gdb.threads/thread-specific.exp: Handle the lack of usable
2900 $this_breakpoint and $this_thread.
2902 2014-03-21 Hui Zhu <hui@codesourcery.com>
2904 * gdb.base/attach.exp (do_command_attach_tests): New.
2906 2014-03-20 Tom Tromey <tromey@redhat.com>
2907 Pedro Alves <palves@redhat.com>
2910 * gdb.base/condbreak-call-false.c: New file.
2911 * gdb.base/condbreak-call-false.exp: New file.
2913 2014-03-20 Pedro Alves <palves@redhat.com>
2915 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2917 (block_signals, unblock_signals): Delete.
2918 (child_function_2, main): Remove references to deleted variable
2921 2014-03-20 Pedro Alves <palves@redhat.com>
2923 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2924 Use pthread_kill to signal thread 2.
2925 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2926 Adjust to make the test send itself a signal rather than using the
2927 host's "kill" command.
2929 2014-03-20 Pedro Alves <palves@redhat.com>
2931 * gdb.threads/multiple-step-overs.c: New file.
2932 * gdb.threads/multiple-step-overs.exp: New file.
2933 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2934 Adjust expected infrun debug output.
2936 2014-03-20 Pedro Alves <palves@redhat.com>
2938 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2939 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2941 2014-03-20 Pedro Alves <palves@redhat.com>
2944 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2945 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2946 of gdb_test_multiple.
2947 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2948 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2950 2014-03-20 Pedro Alves <palves@redhat.com>
2952 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2953 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2955 2014-03-19 Pedro Alves <palves@redhat.com>
2957 * gdb.base/async.exp: Remove early return.
2959 2014-03-19 Pedro Alves <palves@redhat.com>
2961 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2963 2014-03-19 Pedro Alves <palves@redhat.com>
2965 * gdb.base/async.exp (test_background): Expect \r\n after
2966 "completed." in the fail pattern.
2968 2014-03-19 Pedro Alves <palves@redhat.com>
2970 * gdb.base/async.exp (test_background): New procedure.
2971 Use it for all background execution command tests.
2973 2014-03-19 Pedro Alves <palves@redhat.com>
2975 * gdb.base/async.exp: Use prepare_for_testing.
2977 2014-03-19 Pedro Alves <palves@redhat.com>
2979 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2982 2014-03-19 Pedro Alves <palves@redhat.com>
2984 * gdb.base/async.c (main): Add "jump here" and "until here" line
2986 * gdb.base/async.exp (jump_here): New global.
2987 (jump& test): Use it.
2988 (until_here): New global.
2989 (until& test): Use it.
2991 2014-03-19 Pedro Alves <palves@redhat.com>
2993 * gdb.base/async.exp: Don't frob gdb_protocol.
2995 2014-03-18 Doug Evans <xdje42@gmail.com>
2997 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2998 Fix spelling of exec-done-display.
3000 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3003 * gdb.base/gdb-sigterm.c: New file.
3004 * gdb.base/gdb-sigterm.exp: New file.
3006 2014-03-18 Pedro Alves <palves@redhat.com>
3009 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
3010 * lib/mi-support.exp (mi_expect_stop): Add special handling for
3013 2014-03-17 Joel Brobecker <brobecker@adacore.com>
3015 * gdb.ada/pckd_arr_ren: New testcase.
3017 2014-03-13 Doug Evans <xdje42@gmail.com>
3020 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
3021 collect after discarding symbols.
3023 2014-03-13 Ludovic Courtès <ludo@gnu.org>
3024 Doug Evans <xdje42@gmail.com>
3026 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
3027 to history survives a gc.
3029 2014-03-13 Pedro Alves <palves@redhat.com>
3031 * gdb.base/default.exp: Don't test "target procfs".
3033 2014-03-13 Pedro Alves <palves@redhat.com>
3035 * gdb.base/default.exp: Update "target child" and "target procfs"
3036 tests to not expect "Unix".
3038 2014-03-12 Tom Tromey <tromey@redhat.com>
3040 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
3041 New procs. Add target-async tests.
3042 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
3043 Add target-async tests.
3045 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3047 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
3048 'func_start' and 'func_end' for the beginning and end of the
3049 function code, respectively.
3050 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
3051 'func_end' instead of 'func' and 'main'.
3053 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3055 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
3056 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
3057 generate the debug info assembler source.
3059 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3061 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
3062 * gdb.dwarf2/arr-subrange.exp: Likewise.
3063 * gdb.dwarf2/dwz.exp: Likewise.
3064 * gdb.dwarf2/method-ptr.exp: Likewise.
3065 * gdb.dwarf2/missing-sig-type.exp: Likewise.
3066 * gdb.dwarf2/subrange.exp: Likewise.
3067 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
3068 * gdb.dwarf2/implptrpiece.exp: Likewise.
3069 * gdb.dwarf2/nostaticblock.exp: Likewise.
3071 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3073 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
3074 directory to absolute path name arguments.
3076 2014-03-10 Joel Brobecker <brobecker@adacore.com>
3078 * gdb.ada/tagged_access: New testcase.
3080 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
3082 * gdb.btrace/data.exp: Update expected output.
3084 2014-03-06 Yao Qi <yao@codesourcery.com>
3086 * gdb.trace/pr16508.exp: New file.
3088 2014-03-05 Pedro Alves <palves@redhat.com>
3091 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
3093 (top level): Adjust to use it. Add tests that exercise breakpoint
3094 interaction with the code-cache.
3096 2014-02-26 Ludovic Courtès <ludo@gnu.org>
3098 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
3099 test for 'history-append!'.
3101 2014-02-26 Joel Brobecker <brobecker@adacore.com>
3103 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
3104 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
3105 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
3106 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
3107 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
3108 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
3110 2014-02-26 Joel Brobecker <brobecker@adacore.com>
3112 * testsuite/gdb.python/py-pp-re-notag.c: New file.
3113 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
3114 * testsuite/gdb.python/py-pp-re-notag.p: New file.
3116 2014-02-26 Joel Brobecker <brobecker@adacore.com>
3118 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
3120 2014-02-26 Joel Brobecker <brobecker@adacore.com>
3122 * gdb.dwarf2/arr-stride.c: New file.
3123 * gdb.dwarf2/arr-stride.exp: New file.
3125 2014-02-26 Pedro Alves <palves@redhat.com>
3127 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
3128 that won't ever trigger. Make sure that GDB reports the correct
3129 breakpoint that caused the stop.
3131 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3134 * gdb.base/auto-load-script: New file.
3135 * gdb.base/auto-load.c: New file.
3136 * gdb.base/auto-load.exp: New file.
3139 * gdb.base/auto-load.exp: Fix out-of-srctree run.
3141 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3143 Fix dw2-icycle.exp -fsanitize=address GDB crash.
3144 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
3146 2014-02-24 Doug Evans <dje@google.com>
3148 * lib/gdb.exp (run_on_host): Log error output if program fails.
3150 2014-02-21 Pedro Alves <palves@redhat.com>
3152 * gdb.threads/step-after-sr-lock.c: Rename to ...
3153 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
3154 * gdb.threads/step-after-sr-lock.exp: Rename to ...
3155 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3158 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
3161 * gdb.arch/amd64-stap-special-operands.exp: New file.
3162 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
3163 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
3164 * gdb.arch/amd64-stap-triplet.S: Likewise.
3165 * gdb.arch/amd64-stap-triplet.c: Likewise.
3167 2014-02-20 Joel Brobecker <brobecker@adacore.com>
3169 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
3170 in .section pseudo-op.
3172 2014-02-20 lin zuojian <manjian2006@gmail.com>
3173 Joel Brobecker <brobecker@adacore.com>
3174 Doug Evans <xdje42@gmail.com>
3177 * gdb.dwarf2/dw2-icycle.S: New file.
3178 * gdb.dwarf2/dw2-icycle.c: New file.
3179 * gdb.dwarf2/dw2-icycle.exp: New file.
3181 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
3183 * gdb.python/py-value-cc.cc: Improve test case to enable testing
3184 operations on gdb.Value objects.
3185 * gdb.python/py-value-cc.exp: Add new test to test operations on
3188 2014-02-18 Doug Evans <dje@google.com>
3190 * Makefile.in (TESTS): New variable.
3191 (expanded_tests, expanded_tests_or_none): New variables
3192 (check-single): Pass $(expanded_tests_or_none) to runtest.
3193 (check-parallel): Only run tests in $(TESTS) if non-empty.
3194 (check/no-matching-tests-found): New rule.
3195 * README: Document TESTS makefile variable.
3197 2014-02-18 Doug Evans <dje@google.com>
3199 * Makefile.in (check-parallel): rm -rf outputs temp.
3201 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3203 Fix "ERROR: no fileid for" in the testsuite.
3204 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
3206 2014-02-12 Doug Evans <dje@google.com>
3208 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
3209 (MISCELLANEOUS): New variable.
3210 (clean): rm -rf $(MISCELLANEOUS).
3211 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
3212 dwp live in the same directory as symlinks, with each symlink pointed
3213 to a differently named file in a different directory.
3215 2014-02-11 Doug Evans <dje@google.com>
3217 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
3218 of Tcl file commands.
3220 2014-02-10 Mark Kettenis <kettenis@gnu.org>
3222 * gdb.threads/step-after-sr-lock.exp: Avoid executing
3225 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3227 * gdb.ada/tick_length_array_enum_idx: New testcase.
3229 2014-02-10 Doug Evans <xdje42@gmail.com>
3231 * configure.ac (AC_OUTPUT): Add gdb.guile.
3232 * configure: Regenerate.
3233 * lib/gdb-guile.exp: New file.
3234 * lib/gdb.exp (get_target_charset): New function.
3235 * gdb.base/help.exp: Update expected output from "apropos apropos".
3236 * gdb.guile/Makefile.in: New file.
3237 * gdb.guile/guile.exp: New file.
3238 * gdb.guile/scm-arch.c: New file.
3239 * gdb.guile/scm-arch.exp: New file.
3240 * gdb.guile/scm-block.c: New file.
3241 * gdb.guile/scm-block.exp: New file.
3242 * gdb.guile/scm-breakpoint.c: New file.
3243 * gdb.guile/scm-breakpoint.exp: New file.
3244 * gdb.guile/scm-disasm.c: New file.
3245 * gdb.guile/scm-disasm.exp: New file.
3246 * gdb.guile/scm-equal.c: New file.
3247 * gdb.guile/scm-equal.exp: New file.
3248 * gdb.guile/scm-error.exp: New file.
3249 * gdb.guile/scm-error.scm: New file.
3250 * gdb.guile/scm-frame-args.c: New file.
3251 * gdb.guile/scm-frame-args.exp: New file.
3252 * gdb.guile/scm-frame-args.scm: New file.
3253 * gdb.guile/scm-frame-inline.c: New file.
3254 * gdb.guile/scm-frame-inline.exp: New file.
3255 * gdb.guile/scm-frame.c: New file.
3256 * gdb.guile/scm-frame.exp: New file.
3257 * gdb.guile/scm-generics.exp: New file.
3258 * gdb.guile/scm-gsmob.exp: New file.
3259 * gdb.guile/scm-iterator.c: New file.
3260 * gdb.guile/scm-iterator.exp: New file.
3261 * gdb.guile/scm-math.c: New file.
3262 * gdb.guile/scm-math.exp: New file.
3263 * gdb.guile/scm-objfile-script-gdb.in: New file.
3264 * gdb.guile/scm-objfile-script.c: New file.
3265 * gdb.guile/scm-objfile-script.exp: New file.
3266 * gdb.guile/scm-objfile.c: New file.
3267 * gdb.guile/scm-objfile.exp: New file.
3268 * gdb.guile/scm-ports.exp: New file.
3269 * gdb.guile/scm-pretty-print.c: New file.
3270 * gdb.guile/scm-pretty-print.exp: New file.
3271 * gdb.guile/scm-pretty-print.scm: New file.
3272 * gdb.guile/scm-section-script.c: New file.
3273 * gdb.guile/scm-section-script.exp: New file.
3274 * gdb.guile/scm-section-script.scm: New file.
3275 * gdb.guile/scm-symbol.c: New file.
3276 * gdb.guile/scm-symbol.exp: New file.
3277 * gdb.guile/scm-symtab-2.c: New file.
3278 * gdb.guile/scm-symtab.c: New file.
3279 * gdb.guile/scm-symtab.exp: New file.
3280 * gdb.guile/scm-type.c: New file.
3281 * gdb.guile/scm-type.exp: New file.
3282 * gdb.guile/scm-value-cc.cc: New file.
3283 * gdb.guile/scm-value-cc.exp: New file.
3284 * gdb.guile/scm-value.c: New file.
3285 * gdb.guile/scm-value.exp: New file.
3286 * gdb.guile/source2.scm: New file.
3287 * gdb.guile/types-module.cc: New file.
3288 * gdb.guile/types-module.exp: New file.
3290 2014-02-10 Yao Qi <yao@codesourcery.com>
3293 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
3294 * configure: Regenerated.
3295 * Makefile.in: New file.
3297 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3299 * gdb.python/py-framefilter.exp: Fix typo.
3301 2014-02-08 Yao Qi <yao@codesourcery.com>
3303 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
3304 that no =breakpoint-modified is emitted when breakpoints are
3305 modified through MI commands.
3307 2014-02-07 Pedro Alves <pedro@codesourcery.com>
3308 Pedro Alves <palves@redhat.com>
3310 * gdb.threads/step-after-sr-lock.c: New file.
3311 * gdb.threads/step-after-sr-lock.exp: New file.
3313 2014-02-07 Pedro Alves <palves@redhat.com>
3315 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
3317 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3319 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
3320 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
3322 2014-02-06 Doug Evans <xdje42@gmail.com>
3324 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
3327 * gdb.gdb/python-interrupts.exp: New file.
3329 2014-02-05 Yao Qi <yao@codesourcery.com>
3331 * gdb.trace/report.exp (use_collected_data): Test the output
3332 of "info threads" and "info inferiors".
3334 2014-02-05 Yao Qi <yao@codesourcery.com>
3338 2013-05-24 Yao Qi <yao@codesourcery.com>
3340 * gdb.trace/tfile.exp: Test inferior and thread.
3342 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3344 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
3346 * gdb.base/step-bt.c: Call hello via function pointer to make
3347 sure its first instruction is executed on powerpc64le-linux.
3349 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3351 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
3353 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3355 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
3356 of the test patterns for use on little-endian systems.
3358 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3360 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
3361 (decimal_vector): Fix for little-endian.
3363 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3365 * gdb.arch/sparc-sysstep.exp: New file.
3366 * gdb.arch/sparc-sysstep.c: Likewise.
3368 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
3370 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3372 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
3374 2014-01-23 Tom Tromey <tromey@redhat.com>
3376 * gdb.ada/array_char_idx: New testcase.
3378 2014-01-23 Tom Tromey <tromey@redhat.com>
3381 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
3382 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
3385 2014-01-23 Tom Tromey <tromey@redhat.com>
3388 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
3389 string from an inferior frame.
3390 * gdb.python/py-framefilter-mi.exp: Update.
3392 2014-01-22 Doug Evans <dje@google.com>
3394 * gdb.server/server-mon.exp: Add tests for "set debug-format".
3396 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3398 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
3400 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3402 * gdb.trace/entry-values.exp: Remove excess space character from
3403 regex patterns. Handle s390 call instruction.
3405 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3407 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
3408 define "*_start" label. Make "name" static.
3409 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
3410 ${name} by references to ${name}_start.
3412 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3414 * gdb.base/info-macros.exp: Remove "debug" from the compile
3417 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3419 * gdb.dlang/demangle.exp: New file.
3421 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3423 * gdb.dlang/primitive-types.exp: New file.
3425 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3427 * configure.ac: Create gdb.dlang/Makefile.
3428 * configure: Regenerate.
3429 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
3430 * gdb.dlang/Makefile.in: New file.
3431 * lib/d-support.exp: New file.
3432 * lib/gdb.exp (skip_d_tests): New proc.
3434 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3436 * gdb.btrace/delta.exp: Check reverse stepi.
3437 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
3438 * gdb.btrace/finish.exp: New.
3439 * gdb.btrace/next.exp: New.
3440 * gdb.btrace/nexti.exp: New.
3441 * gdb.btrace/record_goto.c: Add comments.
3442 * gdb.btrace/step.exp: New.
3443 * gdb.btrace/stepi.exp: New.
3444 * gdb.btrace/multi-thread-step.c: New.
3445 * gdb.btrace/multi-thread-step.exp: New.
3446 * gdb.btrace/rn-dl-bind.c: New.
3447 * gdb.btrace/rn-dl-bind.exp: New.
3448 * gdb.btrace/data.c: New.
3449 * gdb.btrace/data.exp: New.
3450 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3452 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3454 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
3455 * gdb.btrace/exception.exp: Update.
3456 * gdb.btrace/instruction_history.exp: Update.
3457 * gdb.btrace/record_goto.exp: Update.
3458 * gdb.btrace/tailcall.exp: Update.
3459 * gdb.btrace/unknown_functions.exp: Update.
3460 * gdb.btrace/delta.exp: New.
3462 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3464 * gdb.btrace/record_goto.exp: Add backtrace test.
3465 * gdb.btrace/tailcall.exp: Add backtrace test.
3467 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3469 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
3470 * gdb.btrace/record_goto.c: New.
3471 * gdb.btrace/record_goto.exp: New.
3472 * gdb.btrace/x86-record_goto.S: New.
3474 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3476 * gdb.btrace/function_call_history.exp: Update tests.
3477 * gdb.btrace/instruction_history.exp: Update tests.
3479 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3481 * gdb.btrace/function_call_history.exp: Fix expected field
3482 order for "record function-call-history".
3483 Add new tests for "record function-call-history /c".
3484 * gdb.btrace/exception.cc: New.
3485 * gdb.btrace/exception.exp: New.
3486 * gdb.btrace/tailcall.exp: New.
3487 * gdb.btrace/x86-tailcall.S: New.
3488 * gdb.btrace/x86-tailcall.c: New.
3489 * gdb.btrace/unknown_functions.c: New.
3490 * gdb.btrace/unknown_functions.exp: New.
3491 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3493 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3495 * gdb.btrace/instruction_history.exp: Update.
3496 * gdb.btrace/function_call_history.exp: Update.
3498 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3500 * gdb.btrace/function_call_history.exp: Fix expected function
3502 * gdb.btrace/instruction_history.exp: Initialize traced.
3503 Remove traced_functions.
3505 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3507 * gdb.btrace/function_call_history.exp: Update
3508 * gdb.btrace/instruction_history.exp: Update.
3510 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3512 * gdb.btrace/enable.exp: Update expected text.
3514 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
3516 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
3519 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
3521 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
3523 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3525 * lib/gdb.exp (supports_process_record): Return true for
3526 arm*-linux*. (supports_reverse): Likewise.
3528 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3532 * gdb.python/py-type.c: Enhance test case.
3533 * gdb.python/py-value-cc.cc: Likewise
3534 * gdb.python/py-type.exp: Add new tests.
3535 * gdb.python/py-value-cc.exp: Likewise
3537 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3538 Pedro Alves <palves@redhat.com>
3540 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
3542 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
3543 references to ${name}_start by references to ${name}.
3545 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3547 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
3549 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3551 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
3553 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
3554 Pedro Alves <palves@redhat.com>
3556 * gdb.mi/mi-info-os.exp: Connect to the target with
3559 2014-01-08 Pedro Alves <palves@redhat.com>
3561 * gdb.threads/reconnect-signal.c: New file.
3562 * gdb.threads/reconnect-signal.exp: New file.
3564 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3566 * gdb.base/source-dir.exp: New file.
3568 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3570 * gdb.ada/mi_interface: New testcase.
3572 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3574 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
3575 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
3576 gdb.ada/pp-rec-component/pck.ads: New files.
3578 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3580 * gdb.python/py-pp-integral.c: New file.
3581 * gdb.python/py-pp-integral.py: New file.
3582 * gdb.python/py-pp-integral.exp: New file.
3584 For older changes see ChangeLog-1993-2013.
3590 ;; version-control: never
3593 Copyright 2014 Free Software Foundation, Inc.
3594 Copying and distribution of this file, with or without modification,
3595 are permitted provided the copyright notice and this notice are preserved.