1 2014-11-14 Yao Qi <yao@codesourcery.com>
3 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4 object and get function length.
5 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
7 (top-level): Replace gdb_compile and clean_restart with
9 * gdb.dwarf2/main.c (main): Add label main_label.
11 2014-11-14 Yao Qi <yao@codesourcery.com>
13 * lib/dwarf.exp (function_range): New procedure.
14 (Dwarf::_handle_macro_at_func): New procedure.
15 (Dwarf::_handle_macro_at_range): New procedure.
16 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
18 2014-11-14 Yao Qi <yao@codesourcery.com>
20 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
21 (_handle_attribute): New procedure.
23 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
25 * gdb.ada/cond_lang/foo.c (callme): Add return type.
26 * gdb.base/call-sc.c (zed): Likewise.
27 * gdb.base/checkpoint.c (main): Likewise.
28 * gdb.base/dump.c (main): Likewise.
29 * gdb.base/gcore.c (main): Likewise.
30 * gdb.base/huge.c (main): Likewise.
31 * gdb.base/multi-forks.c (main): Likewise.
32 * gdb.base/pr10179-a.c (main): Likewise.
33 * gdb.base/savedregs.c (main): Likewise.
34 * gdb.base/sigaltstack.c (main): Likewise.
35 * gdb.base/siginfo.c (main): Likewise.
36 * gdb.base/structs.c (zed): Likewise.
37 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
38 * gdb.mi/mi-syn-frame.c (main): Likewise.
39 * gdb.mi/until.c (foo, main): Likewise.
40 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
41 * gdb.base/solib-weak.c (foo): Declare.
42 * gdb.base/attach-twice.c: Include stdio.h.
43 * gdb.base/weaklib1.c: Likewise.
44 * gdb.base/weaklib2.c: Likewise.
45 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
46 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
48 * gdb.base/attach-pie-misread.c: Include stdlib.h.
49 * gdb.mi/mi-exit-code.c: Likewise.
50 * gdb.base/break-interp-lib.c: Include string.h.
51 * gdb.base/coremaker.c: Likewise.
52 * gdb.base/testenv.c: Likewise.
53 * gdb.python/py-finish-breakpoint.c: Likewise.
54 * gdb.base/inferior-died.c: Include sys/wait.h.
55 * gdb.base/fileio.c: Include time.h.
56 * gdb.base/async-shell.c: Include unistd.h.
57 * gdb.base/dprintf-non-stop.c: Likewise.
58 * gdb.base/info-os.c: Likewise.
59 * gdb.mi/mi-console.c: Likewise.
60 * gdb.mi/watch-nonstop.c: Likewise.
61 * gdb.python/py-events.c: Likewise.
62 * gdb.base/async.c (baz): Move up before its invocation.
63 * gdb.base/code_elim2.c (my_global_func): Likewise.
64 * gdb.base/skip-solib-lib.c (multiply): Likewise.
65 * gdb.base/advance.c (func2): Likewise.
67 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
69 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
71 * gdb.base/annota3.c: Likewise.
72 * gdb.base/async.c: Likewise.
73 * gdb.base/average.c: Likewise.
74 * gdb.base/call-ar-st.c: Likewise.
75 * gdb.base/call-rt-st.c: Likewise.
76 * gdb.base/call-sc.c: Likewise.
77 * gdb.base/call-strs.c: Likewise.
78 * gdb.base/ending-run.c: Likewise.
79 * gdb.base/execd-prog.c: Likewise.
80 * gdb.base/exprs.c: Likewise.
81 * gdb.base/foll-exec.c: Likewise.
82 * gdb.base/foll-fork.c: Likewise.
83 * gdb.base/foll-vfork.c: Likewise.
84 * gdb.base/funcargs.c: Likewise.
85 * gdb.base/gcore.c: Likewise.
86 * gdb.base/jump.c: Likewise.
87 * gdb.base/langs0.c: Likewise.
88 * gdb.base/langs1.c: Likewise.
89 * gdb.base/langs2.c: Likewise.
90 * gdb.base/mips_pro.c: Likewise.
91 * gdb.base/nodebug.c: Likewise.
92 * gdb.base/opaque0.c: Likewise.
93 * gdb.base/opaque1.c: Likewise.
94 * gdb.base/recurse.c: Likewise.
95 * gdb.base/run.c: Likewise.
96 * gdb.base/scope0.c: Likewise.
97 * gdb.base/scope1.c: Likewise.
98 * gdb.base/setshow.c: Likewise.
99 * gdb.base/setvar.c: Likewise.
100 * gdb.base/shmain.c: Likewise.
101 * gdb.base/shr1.c: Likewise.
102 * gdb.base/shr2.c: Likewise.
103 * gdb.base/sigall.c: Likewise.
104 * gdb.base/signals.c: Likewise.
105 * gdb.base/so-indr-cl.c: Likewise.
106 * gdb.base/solib2.c: Likewise.
107 * gdb.base/structs.c: Likewise.
108 * gdb.base/sum.c: Likewise.
109 * gdb.base/vforked-prog.c: Likewise.
110 * gdb.base/watchpoint.c: Likewise.
111 * gdb.reverse/shr2.c: Likewise.
112 * gdb.reverse/until-reverse.c: Likewise.
113 * gdb.reverse/ur1.c: Likewise.
114 * gdb.reverse/watch-reverse.c: Likewise.
116 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
118 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
120 * gdb.base/sepdebug.exp: Drop references to removed code.
122 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
124 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
125 variant. Preserve original line numbering.
126 * gdb.base/list1.c: Likewise.
128 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
130 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
132 * gdb.base/break1.c: Likewise.
133 * gdb.base/break.exp: Drop references to removed code.
135 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
137 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
140 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
142 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
144 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
146 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
147 logic into perform_all_tests() and invoke it with and without
148 function header prototypes.
149 (do_function_calls): Remove conditional XFAIL for PR 5318.
150 (rerun_and_prepare): Remove duplicate code.
151 (perform_all_tests): New. Main logic moved here.
153 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
155 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
156 code guarded by #ifdef NO_PROTOTYPES.
157 (t_double_many_args): Likewise.
158 (DEF_FUNC_MANY_ARGS_1): Likewise.
159 (DEF_FUNC_VALUES_1): Likewise.
160 (t_structs_ldc): Renamed from t_structs_fc in conditional code
161 guarded by #ifdef PROTOTYPES.
163 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
165 * gdb.mi/mi-console.c: Add eye-catcher.
166 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
167 instead of literal line number.
169 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
171 * gdb.base/shr2.c: Add eye-catcher.
172 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
175 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
177 * gdb.base/jump.c: Add eye-catchers.
178 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
181 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
183 * gdb.base/execd-prog.c: Add eye-catchers.
184 * gdb.base/foll-exec.c: Likewise.
185 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
188 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
190 * gdb.base/ending-run.c: Add eye-catchers.
191 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
192 literal line numbers.
194 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
196 * gdb.base/call-rt-st.c: Add eye-catchers.
197 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
198 literal line numbers.
200 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
202 * gdb.base/call-ar-st.c: Add eye-catchers.
203 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
204 literal line numbers.
206 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
208 * gdb.base/average.c: Add eye-catchers.
209 * gdb.base/sum.c: Likewise.
210 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
213 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
215 * gdb.base/solib1.c: Add eye-catchers.
216 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
217 literal line numbers.
219 2014-11-12 Pedro Alves <palves@redhat.com>
221 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
224 2014-11-12 Pedro Alves <palves@redhat.com>
226 * gdb.arch/i386-bp_permanent.c: New file.
227 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
228 (srcfile): Set to i386-bp_permanent.c.
229 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
230 that stepi does not execute the 'leave' instruction, instead of
231 testing it does execute.
232 * gdb.base/bp-permanent.c: New file.
233 * gdb.base/bp-permanent.exp: New file.
235 2014-11-10 Doug Evans <xdje42@gmail.com>
238 * gdb.base/symtab-search-order.exp: New file.
239 * gdb.base/symtab-search-order.c: New file.
240 * gdb.base/symtab-search-order-1.c: New file.
241 * gdb.base/symtab-search-order-shlib-1.c: New file.
243 2014-11-07 Pedro Alves <palves@redhat.com>
246 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
249 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
252 * gdb.cp/pr17494.cc: New file.
253 * gdb.cp/pr17494.exp: New file.
255 2014-11-02 Yao Qi <yao@codesourcery.com>
257 * gdb.python/python.exp: Get working directory and match the
258 output of "set extended-prompt \\w " with it.
260 2014-10-30 Doug Evans <dje@google.com>
262 * gdb.python/py-objfile.exp: Add tests for setting random attributes
264 * gdb.python/py-progspace.exp: Add tests for setting random attributes
267 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
269 * gdb.base/fullpath-expand.exp: Skip for a remote host.
270 * gdb.base/realname-expand.exp: Likewise.
271 * gdb.linespec/macro-relative.exp: Likewise.
273 2014-10-29 Pedro Alves <palves@redhat.com>
276 * gdb.threads/schedlock.c (some_function): New function.
277 (call_function): New global.
278 (MAYBE_CALL_SOME_FUNCTION): New macro.
279 (thread_function): Call it.
280 * gdb.threads/schedlock.exp (get_args): Add description parameter,
281 and use it instead of a global counter. Adjust all callers.
282 (get_current_thread): Use "find current thread" for test message
283 here rather than having all callers pass down the same string.
284 (goto_loop): New procedure, factored out from ...
285 (my_continue): ... this.
286 (step_ten_loops): Change parameter from test message to command to
288 (list_count): Delete global.
289 (check_result): New procedure, factored out from duplicate top
291 (continue tests): Wrap in with_test_prefix.
292 (test_step): New procedure, factored out from duplicate top level
294 (top level): Test "step" in combination with all scheduler-locking
295 modes. Test "next" in combination with all scheduler-locking
296 modes, and in combination with stepping over a function call or
298 * gdb.threads/next-bp-other-thread.c: New file.
299 * gdb.threads/next-bp-other-thread.exp: New file.
301 2014-10-29 Pedro Alves <palves@redhat.com>
304 * gdb.python/python.exp: Test a multi-line command that spawns
306 * gdb.base/multi-line-starts-subshell.exp: New file.
308 2014-10-29 Yao Qi <yao@codesourcery.com>
310 * gdb.base/fileio.exp: Make directories on host.
312 2014-10-29 Yao Qi <yao@codesourcery.com>
314 * gdb.base/fileio.c (test_write): Close the file.
316 2014-10-28 Pedro Alves <palves@redhat.com>
319 * gdb.base/sigstep.c (no_handler): New global.
320 (main): If 'no_handler is true, set the signal handlers to
322 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
323 with_sw_watch and no_handler parameters. Handle them.
324 (top level) <stepping over handler when stopped at a breakpoint
325 test>: Add a test axis for testing with a software watchpoint, and
326 another for testing with the signal handler set to SIG_IGN.
327 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
328 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
330 2014-10-28 Pedro Alves <palves@redhat.com>
333 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
334 * gdb.base/sigstep.exp (other_handler_location): New global.
335 (advance): Support stepping into the signal handler, and running
336 commands while in the handler.
337 (in_handler_map): New global.
338 (top level): In the advance test, add combinations for getting
339 into the handler with stepping commands, and for running commands
340 in the handler. Add comment descripting the advancei tests.
342 2014-10-28 Pedro Alves <palves@redhat.com>
344 * gdb.base/sigstep.exp: Use build_executable instead of
346 (top level): Move code that starts GDB, runs to main and creates a
348 (restart): ... this new procedure.
349 (top level): Move backtrace from signal handler test to ...
350 (validate_backtrace): ... this new procedure.
351 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
352 with_test_prefix. Always restart GDB.
353 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
354 with_test_prefix. Always restart GDB. No need to delete
355 breakpoints after the test.
356 (test_skip_handler): Remove prefix parameter.
357 (skip_over_handler, breakpoint_to_handler)
358 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
359 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
360 restart GDB. No need to delete breakpoints after the test.
361 (top level): Use foreach to call the test procedures with
364 2014-10-28 Pedro Alves <palves@redhat.com>
366 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
367 instead of GNATS numbers.
368 * gdb.base/sigbpt.exp: Likewise.
369 * gdb.base/siginfo.exp: Likewise.
370 * gdb.base/sigstep.exp: Likewise.
372 2014-10-27 Pedro Alves <palves@redhat.com>
374 * gdb.base/sigstep.c (dummy): New global.
375 (main): Issue a couple writes to the new global.
376 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
378 (skip_over_handler): Use test_skip_handler.
379 (top level): Call skip_over_handler for stepi and nexti too.
380 (breakpoint_over_handler): Use test_skip_handler.
381 (top level): Call breakpoint_over_handler for stepi and nexti too.
383 2014-10-27 Yao Qi <yao@codesourcery.com>
385 * gdb.trace/tfile.c (adjust_function_address)
386 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
389 2014-10-24 Don Breazeal <donb@codesourcery.com>
391 * gdb.base/foll-fork.exp (test_follow_fork,
392 catch_fork_child_follow): Check for updated fork messages emitted
394 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
395 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
396 vfork_and_exec_child_follow_through_step): Check for updated vfork
397 messages emitted from infrun.c.
399 2014-10-24 Pedro Alves <palves@redhat.com>
401 * gdb.base/corefile.exp: Remove references to ultrix.
402 * gdb.base/interrupt.exp: Likewise.
403 * gdb.base/whatis.exp: Likewise.
404 * gdb.gdb/selftest.exp: Likewise.
405 * gdb.threads/manythreads.exp: Likewise.
406 * gdb.threads/print-threads.exp: Likewise.
407 * gdb.threads/pthreads.exp:: Likewise.
408 * gdb.threads/schedlock.exp: Likewise.
410 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
412 * gdb.cp/non-trivial-retval.cc: Add a test case.
413 * gdb.cp/non-trivial-retval.exp: Add a test.
415 2014-10-20 Yao Qi <yao@codesourcery.com>
417 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
418 * gdb.python/py-objfile-script-gdb.py: New file.
419 * gdb.python/py-objfile-script.exp: Update reference to
420 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
421 of remote_download. Remove the dest file.
423 2014-10-20 Yao Qi <yao@codesourcery.com>
425 * gdb.base/checkpoint.exp: Don't remove file copied on host.
426 * gdb.base/step-line.exp: Likewise.
427 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
428 * gdb.dwarf2/dw2-basic.exp: Likewise.
429 * gdb.dwarf2/dw2-compressed.exp: Likewise.
430 * gdb.dwarf2/dw2-filename.exp: Likewise.
431 * gdb.dwarf2/dw2-intercu.exp: Likewise.
432 * gdb.dwarf2/dw2-intermix.exp: Likewise.
433 * gdb.dwarf2/dw2-producer.exp: Likewise.
434 * gdb.dwarf2/mac-fileno.exp: Likewise.
435 * gdb.python/py-frame-args.exp: Likewise.
436 * gdb.python/py-framefilter.exp: Likewise.
437 * gdb.python/py-mi.exp: Likewise.
438 * gdb.python/py-objfile-script.exp: Likewise
439 * gdb.python/py-pp-integral.exp: Likewise.
440 * gdb.python/py-pp-re-notag.exp: Likewise.
441 * gdb.python/py-prettyprint.exp: Likewise.
442 * gdb.python/py-section-script.exp: Likewise.
443 * gdb.python/py-typeprint.exp: Likewise.
444 * gdb.python/py-xmethods.exp: Likewise.
445 * gdb.stabs/weird.exp: Likewise.
446 * gdb.xml/tdesc-regs.exp: Likewise.
448 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
450 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
451 (out_cu): Use addr_len for the size of addresses.
452 (out_line): Likewise. Size DW_LNE_set_address instruction
453 according to addr_len.
454 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
455 (FUNC): Add START_INSNS to definition.
457 2014-10-18 Yao Qi <yao@codesourcery.com>
459 * gdb.base/argv0-symlink.exp: Check argv[0] value if
460 gdb_has_argv0 return true.
461 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
462 check [target_info exists noargs], check [gdb_has_argv0]
464 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
465 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
468 2014-10-17 Doug Evans <dje@google.com>
470 * gdb.python/py-events.exp: Update expected output for clear_objfiles
472 * gdb.python/py-events.py: Add clear_objfiles event.
474 2014-10-17 Doug Evans <dje@google.com>
476 * gdb.python/py-objfile.exp: Test progspace attribute.
478 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
480 * gdb.guile/scm-breakpoint.exp: Do not assume any
481 directory separators when matching source file paths.
482 * gdb.python/py-breakpoint.exp: Likewise.
483 * gdb.reverse/break-precsave.exp: Likewise.
484 * gdb.reverse/break-reverse.exp: Likewise.
485 * gdb.reverse/consecutive-precsave.exp: Likewise.
486 * gdb.reverse/finish-precsave.exp: Likewise.
487 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
488 * gdb.reverse/finish-reverse.exp: Likewise.
489 * gdb.reverse/i386-precsave.exp: Likewise.
490 * gdb.reverse/i387-env-reverse.exp: Likewise.
491 * gdb.reverse/i387-stack-reverse.exp: Likewise.
492 * gdb.reverse/machinestate-precsave.exp: Likewise.
493 * gdb.reverse/machinestate.exp: Likewise.
494 * gdb.reverse/sigall-precsave.exp: Likewise.
495 * gdb.reverse/solib-precsave.exp: Likewise.
496 * gdb.reverse/step-precsave.exp: Likewise.
497 * gdb.reverse/until-precsave.exp: Likewise.
498 * gdb.reverse/watch-precsave.exp: Likewise.
499 * gdb.reverse/watch-reverse.exp: Likewise.
501 2014-10-17 Yao Qi <yao@codesourcery.com>
503 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
504 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
506 2014-10-17 Pedro Alves <palves@redhat.com>
509 * gdb.base/bg-execution-repeat.c: New file.
510 * gdb.base/bg-execution-repeat.exp: New file.
512 2014-10-17 Pedro Alves <palves@redhat.com>
515 * gdb.base/continue-all-already-running.c: New file.
516 * gdb.base/continue-all-already-running.exp: New file.
518 2014-10-17 Pedro Alves <palves@redhat.com>
521 * gdb.base/annota-input-while-running.c: New file.
522 * gdb.base/annota-input-while-running.exp: New file.
524 2014-10-17 Pedro Alves <palves@redhat.com>
526 * gdb.base/callfuncs.exp: emove references to osf.
527 * gdb.base/sigall.exp: Likewise.
528 * gdb.gdb/selftest.exp: Likewise.
529 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
530 * gdb.mi/non-stop.c: Likewise.
531 * gdb.mi/pthreads.c: Likewise.
532 * gdb.reverse/sigall-precsave.exp: Likewise.
533 * gdb.reverse/sigall-reverse.exp: Likewise.
534 * gdb.threads/pthreads.c: Likewise.
535 * gdb.threads/pthreads.exp: Likewise.
537 2014-10-17 Yao Qi <yao@codesourcery.com>
539 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
540 check 'target_info exists noargs'.
541 (test_command_prompt_position): Likewise.
542 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
544 (progvar_simple_while_test): Likewise.
545 (progvar_complex_if_while_test): Likewise.
546 (if_while_breakpoint_command_test): Likewise.
547 (infrun_breakpoint_command_test): Likewise.
548 (breakpoint_command_test): Likewise.
549 (watchpoint_command_test): Likewise.
550 (bp_deleted_in_command_test): Likewise.
551 (temporary_breakpoint_commands): Likewise.
553 2014-10-16 Yao Qi <yao@codesourcery.com>
555 * gdb.base/remotetimeout.exp: Remove noargs checking.
557 2014-10-15 Pedro Alves <palves@redhat.com>
560 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
561 * gdb.base/breakpoint-in-ro-region.exp
562 (probe_target_hardware_step): New procedure.
563 (top level): Probe hardware stepping and hardware breakpoint
564 support. Test stepping through a read-only region, with both
565 "breakpoint auto-hw" on and off and both "always-inserted" on and
568 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
570 * gdb.dlang/demangle.exp: Update for demangling changes.
572 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
574 * gdb.cp/non-trivial-retval.cc: Add new test cases.
575 * gdb.cp/non-trivial-retval.exp: Add new tests.
577 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
581 * gdb.cp/non-trivial-retval.cc: New file.
582 * gdb.cp/non-trivial-retval.exp: New file.
584 2014-10-15 Yao Qi <yao@codesourcery.com>
586 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
589 2014-10-15 Yao Qi <yao@codesourcery.com>
591 * gdb.python/py-symbol.exp: Match file base name if host is
592 remote, otherwise match file name with dir name.
593 * gdb.python/py-symtab.exp: Likewise.
594 * gdb.python/python.exp: Likewise.
596 2014-10-15 Yao Qi <yao@codesourcery.com>
598 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
600 * gdb.python/py-symtab.exp: Likewise.
601 * gdb.python/python.exp: Remove trailing ".*". Fix typo
604 2014-10-14 Joel Brobecker <brobecker@adacore.com>
606 * gdb.ada/addr_arith: New testcase.
608 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
610 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
611 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
612 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
613 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
615 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
617 * gdb.arch/stap-eval-lang-ada.S: Likewise.
618 * gdb.arch/stap-eval-lang-ada.c: Likewise.
619 * gdb.arch/stap-eval-lang-ada.exp: New file.
621 2014-10-14 Yao Qi <yao@codesourcery.com>
623 * gdb.mi/mi-var-child.c (nothing1): New function.
624 (nothing2): New function.
625 (do_children_tests): Set function pointers by nothing1 and
627 * gdb.mi/mi-var-child.exp: Step over new added statements.
628 Update test to match the new output.
629 * gdb.mi/var-cmd.c (nothing1): New function.
630 (nothing2): New function.
631 (do_children_tests): Set function pointers by nothing1 and
633 * gdb.mi/mi-var-display.exp: Update test to match output.
634 Step to the line specified by $line_dct_nothing.
635 Increase the number of lines to step.
637 2014-10-14 Yao Qi <yao@codesourcery.com>
639 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
641 * gdb.mi/mi2-var-child.exp: Likewise.
643 2014-10-13 Doug Evans <dje@google.com>
645 * gdb.python/py-objfile.exp: Change name of file name test.
647 2014-10-13 Doug Evans <dje@google.com>
649 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
650 from the start of the CU.
652 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
653 Yao Qi <yao@codesourcery.com>
655 Fix "save breakpoints" for "catch" command.
656 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
657 Remove -nonewline. Match also the added "main" line.
659 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
661 Fix "save breakpoints" for "disable $bpnum" command.
662 * gdb.base/save-bp.c (main): Add label.
663 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
665 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
667 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
669 2014-10-11 Yao Qi <yao@codesourcery.com>
671 * gdb.server/server-kill.exp: Execute command
672 "set remote trace-status-packet on" before "tstatus".
674 2014-10-11 Yao Qi <yao@codesourcery.com>
676 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
677 (main): Call getppid.
678 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
679 and continue to it. Read variable "server_pid".
681 2014-10-11 Yao Qi <yao@codesourcery.com>
683 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
685 2014-10-11 Yao Qi <yao@codesourcery.com>
687 * gdb.threads/thread-find.exp: Don't execute command
689 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
690 * gdb.threads/linux-dp.exp: Don't check the condition
691 $threads_created equals to zero.
693 2014-10-10 Pedro Alves <palves@redhat.com>
695 * gdb.base/bigcore.exp: Remove references to IRIX.
696 * gdb.base/funcargs.exp: Likewise.
697 * gdb.base/interrupt.exp: Likewise.
698 * gdb.base/mips_pro.exp: Likewise.
699 * gdb.base/nodebug.exp: Likewise.
700 * gdb.base/setvar.exp: Likewise.
701 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
703 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
704 Pedro Alves <palves@redhat.com>
707 * gdb.base/vdso-warning.c: New file.
708 * gdb.base/vdso-warning.exp: New file.
710 2014-10-02 Doug Evans <dje@google.com>
712 * gdb.base/structs.c (main): Don't run forever.
714 2014-10-02 Pedro Alves <palves@redhat.com>
716 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
717 (top level) <stop threads 1, stop threads 2>: Use it.
719 2014-10-02 Pedro Alves <palves@redhat.com>
721 * gdb.threads/break-while-running.exp (test): Add new
722 'update_thread_list' argument. Skip "info threads" if false.
723 (top level): Add new 'update_thread_list' axis.
725 2014-10-02 Pedro Alves <palves@redhat.com>
728 * gdb.base/execl-update-breakpoints.c: New file.
729 * gdb.base/execl-update-breakpoints.exp: New file.
731 2014-10-01 Pedro Alves <palves@redhat.com>
733 * gdb.base/breakpoint-in-ro-region.c: New file.
734 * gdb.base/breakpoint-in-ro-region.exp: New file.
736 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
738 * gdb.mi/mi-exit-code.exp: New file.
739 * gdb.mi/mi-exit-code.c: New file.
741 2014-09-30 Yao Qi <yao@codesourcery.com>
743 * lib/prelink-support.exp (build_executable_own_libs): Error if
744 the target isn't native.
746 2014-09-30 Yao Qi <yao@codesourcery.com>
748 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
751 2014-09-22 Pedro Alves <palves@redhat.com>
753 * gdb.threads/break-while-running.exp: New file.
754 * gdb.threads/break-while-running.c: New file.
756 2014-09-19 Yao Qi <yao@codesourcery.com>
758 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
759 Invoke test. Restart GDB with --readnow and invoke test again.
761 2014-09-19 Yao Qi <yao@codesourcery.com>
763 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
764 proc set_breakpoint_on_gcd_function. Invoke
765 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
766 invoke set_breakpoint_on_gcd_function again.
768 2014-09-18 Doug Evans <dje@google.com>
770 * gdb.dwarf2/symtab-producer.exp: New file.
772 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
774 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
775 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
776 * gdb.base/global-var-nested-by-dso.c: Likewise.
777 * gdb.base/global-var-nested-by-dso.exp: Likewise.
779 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
780 Pedro Alves <palves@redhat.com>
782 * gdb.base/watch-bitfields.exp: Pass string other than test file
783 name to prepare_for_testing.
784 (watch): New procedure.
785 (expect_watchpoint): Use with_test_prefix.
786 (top level): Factor out tests to ...
787 (test_watch_location, test_regular_watch): ... these new
788 procedures, and use with_test_prefix and gdb_continue_to_end.
790 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
793 * gdb.base/watch-bitfields.exp: New file.
794 * gdb.base/watch-bitfields.c: New file.
796 2014-09-16 Pedro Alves <palves@redhat.com>
798 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
799 software and hardware addresses, not software address against
802 2014-09-16 Pedro Alves <palves@redhat.com>
804 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
805 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
807 2014-09-16 Pedro Alves <palves@redhat.com>
809 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
811 * gdb.base/a2-run.exp: Remove all code guarded by istarget
812 "*-*-vxworks*" throughout.
813 * gdb.base/break.exp: Likewise.
814 * gdb.base/default.exp: Likewise.
815 * gdb.base/scope.exp: Likewise.
816 * gdb.base/sepdebug.exp: Likewise.
817 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
819 * gdb.base/run.c: Likewise.
820 * gdb.base/sepdebug.c: Likewise.
821 * gdb.hp/gdb.aCC/run.c: Likewise.
822 * gdb.reverse/until-reverse.c: Likewise.
823 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
825 2014-09-16 Yao Qi <yao@codesourcery.com>
827 * boards/local-remote-host-native.exp: New file.
829 2014-09-14 Doug Evans <xdje42@gmail.com>
831 * gdb.threads/queue-signal.c (thread_count): New variable.
832 (thread_count_mutex, thread_count_condvar): New variables.
833 (incr_thread_count, wait_all_threads_running): New functions.
834 (main): Wait for all threads to be in their thread functions.
836 2014-09-13 Doug Evans <xdje42@gmail.com>
838 * gdb.threads/queue-signal.c: New file.
839 * gdb.threads/queue-signal.exp: New file.
841 2014-09-13 Doug Evans <xdje42@gmail.com>
843 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
844 be consistent with what default_gdb_init uses.
845 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
846 the plain text of the prompt. Add some logging printfs.
847 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
849 2014-09-12 Pedro Alves <palves@redhat.com>
851 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
852 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
853 * gdb.arch/i386-size-overlap.exp: Likewise.
854 * gdb.arch/i386-size.exp: Likewise.
855 * gdb.arch/i386-unwind.exp: Likewise.
856 * gdb.base/a2-run.exp: Likewise.
857 * gdb.base/break.exp: Likewise.
858 * gdb.base/charset.exp: Likewise.
859 * gdb.base/chng-syms.exp: Likewise.
860 * gdb.base/commands.exp: Likewise.
861 * gdb.base/dbx.exp: Likewise.
862 * gdb.base/find.exp: Likewise.
863 * gdb.base/funcargs.exp: Likewise.
864 * gdb.base/jit-simple.exp: Likewise.
865 * gdb.base/reread.exp: Likewise.
866 * gdb.base/sepdebug.exp: Likewise.
867 * gdb.base/step-bt.exp: Likewise.
868 * gdb.cp/mb-inline.exp: Likewise.
869 * gdb.cp/mb-templates.exp: Likewise.
870 * gdb.objc/basicclass.exp: Likewise.
871 * gdb.threads/killed.exp: Likewise.
873 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
876 * gdb.arch/powerpc-stackless.S: New file.
877 * gdb.arch/powerpc-stackless.exp: New file.
879 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
881 * gdb.base/attach.c: Include unistd.h.
882 (main): Call alarm. Add label postloop.
883 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
884 gdb_breakpoint, gdb_continue_to_breakpoint.
885 (test_command_line_attach_run): Kill ${testpid} in one exit path.
887 2014-09-11 Pedro Alves <palves@redhat.com>
890 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
891 * gdb.base/attach.exp (test_command_line_attach_run): New
893 (top level): Call it.
895 2014-09-11 Pedro Alves <palves@redhat.com>
897 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
898 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
899 (do_command_attach_tests): Use spawn_wait_for_attach.
900 * gdb.base/solib-overlap.exp: Likewise.
901 * gdb.multi/multi-attach.exp: Likewise.
902 * gdb.python/py-prompt.exp: Likewise.
903 * gdb.python/py-sync-interp.exp: Likewise.
904 * gdb.server/ext-attach.exp: Likewise.
906 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
908 * gdb.fortran/array-element.exp: Remove unexpected "continue"
909 command in testcase. Simplify testcase.
911 2014-09-10 Joel Brobecker <brobecker@adacore.com>
913 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
915 2014-09-10 Joel Brobecker <brobecker@adacore.com>
917 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
919 2014-09-10 Joel Brobecker <brobecker@adacore.com>
921 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
923 2014-09-10 Joel Brobecker <brobecker@adacore.com>
925 * gdb.dwarf2/dynarr-ptr.c: New file.
926 * gdb.dwarf2/dynarr-ptr.exp: New file.
928 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
930 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
931 of 30 rather than hardcoding 120 for a slow test case. Take the
932 `gdb,timeout' target setting into account for this calculation.
933 Don't extend the timeout for the test cases that don't need it.
935 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
937 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
938 a factor of 2 for a slow test case. Take the `gdb,timeout'
939 target setting into account for this calculation.
940 * gdb.reverse/until-precsave.exp: Increase the timeout by
941 a factor of 15 and 3 respectively rather than adding 120
942 for a pair of slow test cases. Take the `gdb,timeout'
943 target setting into account for this calculation.
945 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
947 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
948 timeout, don't pass one down to gdb_expect.
949 (gdb_expect): Rework timeout selection.
951 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
953 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
954 exception on timeout.
955 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
956 (gdbserver_start_extended): Catch any `gdbserver_start' error
958 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
959 * lib/mi-support.exp (mi_gdb_target_load): Catch any
960 `gdbserver_gdb_load' error exceptions.
962 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
964 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
965 120 on waiting for the TCP socket to open.
967 2014-09-09 Doug Evans <xdje42@gmail.com>
969 * gdb.base/default.exp (show_conv_list): Add _caller_is,
970 _caller_matches, _any_caller_is, _any_caller_matches.
972 2014-09-09 Doug Evans <xdje42@gmail.com>
974 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
976 2014-09-09 Yao Qi <yao@codesourcery.com>
978 * gdb.mi/mi-var-display.exp: Set print symbol off.
980 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
983 * gdb.base/commands.exp: Add tests to verify user-defined
984 commands with empty bodies.
985 * gdb.python/py-cmd.exp: Test that we don't show user-defined
986 python commands in `show user command`.
987 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
988 scheme commands in `show user command`.
990 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
993 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
994 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
995 * gdb.python/py-framefilter-invalidarg.exp: New file.
996 * gdb.python/py-framefilter-invalidarg.py: New file.
998 2014-09-06 Doug Evans <xdje42@gmail.com>
1001 * gdb.python/py-caller-is.c: New file.
1002 * gdb.python/py-caller-is.exp: New file.
1004 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
1007 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
1008 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
1010 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
1013 * gdb.fortran/print-formatted.exp: New file.
1014 * gdb.fortran/print-formatted.f90: Likewise.
1016 2014-09-03 Sasha Smundak <asmundak@google.com>
1018 * gdb.python/py-frame.exp: Test Frame.read_register.
1020 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
1023 * gdb.python/py-completion.exp: New file.
1024 * gdb.python/py-completion.py: Likewise.
1026 2014-08-28 Doug Evans <dje@google.com>
1028 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
1029 eax,etc. are live with values set by gdb and thus the compiler can't
1031 * gdb.arch/i386-pseudo.c (main): Ditto.
1033 2014-08-27 Doug Evans <dje@google.com>
1035 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
1037 2014-08-25 Doug Evans <dje@google.com>
1039 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
1042 2014-08-25 Doug Evans <dje@google.com>
1044 * gdb.threads/thread-execl.exp: #include <stdio.h>.
1046 2014-08-24 Yao Qi <yao@codesourcery.com>
1048 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
1050 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
1052 2014-08-22 Doug Evans <dje@google.com>
1055 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
1056 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
1057 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
1059 2014-08-22 Yao Qi <yao@codesourcery.com>
1061 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
1062 * gdb.python/py-finish-breakpoint2.exp: Likewise.
1063 * gdb.python/python.exp: Likewise. Use .py file on the host
1064 instead of the build.
1066 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1068 * gdb.threads/gcore-stale-thread.c: New file.
1069 * gdb.threads/gcore-stale-thread.exp: New file.
1071 2014-08-21 Pedro Alves <palves@redhat.com>
1073 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
1074 * gdb.base/gcore-relro-pie.exp: Likewise.
1075 * gdb.base/gcore-relro.exp: Likewise.
1076 * gdb.base/gcore.exp: Likewise.
1077 * gdb.base/print-symbol-loading.exp: Likewise.
1078 * gdb.threads/gcore-thread.exp: Likewise.
1079 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
1081 2014-08-20 Pedro Alves <palves@redhat.com>
1082 Jan Kratochvil <jan.kratochvil@redhat.com>
1084 * Makefile.in (EXTRA_RULES, CC): New variables, get from
1086 (EXPECT): Handle READ1 being set.
1087 (all): Depend on EXTRA_RULES.
1088 (check-read1, expect-read1, read1.so, read1): New rules.
1089 * README (Testsuite Parameters): Document the READ1 make variable.
1090 (Race detection): New section.
1091 * configure: Regenerate.
1092 * configure.ac: If build==host==target, and running under a
1093 GNU/glibc system, add read1 to the extra Makefile rules.
1094 (EXTRA_RULES): AC_SUBST it.
1095 * lib/read1.c: New file.
1097 2014-08-20 Joel Brobecker <brobecker@adacore.com>
1099 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
1100 the handling of variables declared as a typedef to an array
1101 which a DW_AT_data_location attribute.
1103 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
1104 Pedro Alves <palves@redhat.com>
1108 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
1111 2014-08-19 Pedro Alves <palves@redhat.com>
1113 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
1115 2014-08-19 Yao Qi <yao@codesourcery.com>
1117 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
1120 2014-08-18 David Blaikie <dblaikie@gmail.com>
1122 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
1124 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1126 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
1127 attribute in array range.
1129 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1131 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
1133 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1136 * gdb.cp/pr17132.cc: New file.
1137 * gdb.cp/pr17132.exp: New file.
1139 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1141 * gdb.python/py-xmethods.py (A_getarrayind)
1142 (E_method_char_worker.__call__, E_method_int_worker.__call__):
1143 Use 'print' with function call syntax.
1144 (E_method_matcher.match): Fix tab vs space indentation mixup.
1146 2014-08-15 Yao Qi <yao@codesourcery.com>
1148 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
1151 2014-08-15 Yao Qi <yao@codesourcery.com>
1153 * gdb.cp/casts.exp: Set print symbol off.
1154 * gdb.cp/class2.exp: Likewise.
1155 * gdb.cp/overload.exp: Likewise.
1156 * gdb.cp/templates.exp: Likewise.
1158 2014-08-11 Doug Evans <dje@google.com>
1160 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1161 (test_load_shlib): Update.
1163 2014-08-09 Yao Qi <yao@codesourcery.com>
1165 * gdb.base/display.exp: Invoke is_address_zero_readable.
1166 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
1167 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1168 * gdb.base/hbreak-unmapped.exp: Return if
1169 is_address_zero_readable returns true.
1170 * gdb.base/signest.exp: Likewise.
1171 * gdb.base/signull.exp: Likewise.
1172 * gdb.base/sigbpt.exp: Likewise.
1173 * gdb.guile/scm-disasm.exp: Do the test if
1174 is_address_zero_readable returns false.
1175 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
1176 * gdb.python/py-arch.exp: Likewise.
1177 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
1178 * lib/gdb.exp (is_address_zero_readable): New proc.
1180 2014-08-09 Yao Qi <yao@codesourcery.com>
1183 * gdb.mi/mi-var-display.exp: Make test messages unique.
1185 2014-08-04 Tom Tromey <tromey@redhat.com>
1187 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
1190 2014-08-04 Tom Tromey <tromey@redhat.com>
1192 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
1195 2014-08-01 Joel Brobecker <brobecker@adacore.com>
1197 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
1198 inner_vla_struct_object_size.
1199 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
1202 2014-07-30 Pedro Alves <palves@redhat.com>
1204 * gdb.threads/signal-command-handle-nopass.exp (test): Add
1207 2014-07-29 Yao Qi <yao@codesourcery.com>
1210 * gdb.base/until-nodebug.exp: New.
1212 2014-07-28 Doug Evans <xdje42@gmail.com>
1215 * gdb.guile/scm-parameter.exp: Add tests for trying to create
1216 previously existing parameter, and previously ambiguously spelled
1219 2014-07-28 Will Newton <will.newton@linaro.org>
1221 * gdb.base/varargs.exp: Remove KFAILs for ARM.
1223 2014-07-26 Ludovic Courtès <ludo@gnu.org>
1224 Doug Evans <xdje42@gmail.com>
1227 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
1229 2014-07-25 Pedro Alves <palves@redhat.com>
1231 * gdb.threads/signal-command-handle-nopass.c: New file.
1232 * gdb.threads/signal-command-handle-nopass.exp: New file.
1233 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
1234 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
1235 * gdb.threads/signal-delivered-right-thread.c: New file.
1236 * gdb.threads/signal-delivered-right-thread.exp: New file.
1238 2014-07-25 Pedro Alves <palves@redhat.com>
1240 * gdb.base/double-prompt-target-event-error.exp
1241 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
1243 (cancel_pagination_in_target_event): Rework double prompt
1245 * gdb.base/paginate-after-ctrl-c-running.exp
1246 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
1248 * gdb.base/paginate-bg-execution.exp
1249 (test_bg_execution_pagination_return)
1250 (test_bg_execution_pagination_cancel): Remove '-notransfer
1252 * gdb.base/paginate-execution-startup.exp
1253 (test_fg_execution_pagination_return)
1254 (test_fg_execution_pagination_cancel): Remove '-notransfer
1256 * gdb.base/paginate-inferior-exit.exp
1257 (test_paginate_inferior_exited): Remove '-notransfer <return>'
1259 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
1260 * lib/gdb.exp (pagination_prompt): Run text through
1262 (gdb_test_multiple): Match $pagination_prompt instead of
1264 (string_to_regexp): Move to lib/gdb-utils.exp.
1266 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1268 * gdb.arch/amd64-entry-value-paramref.S: New file.
1269 * gdb.arch/amd64-entry-value-paramref.cc: New file.
1270 * gdb.arch/amd64-entry-value-paramref.exp: New file.
1271 * gdb.arch/amd64-optimout-repeat.S: New file.
1272 * gdb.arch/amd64-optimout-repeat.c: New file.
1273 * gdb.arch/amd64-optimout-repeat.exp: New file.
1275 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1278 * gdb.base/statistics.exp: New file.
1280 2014-07-17 Doug Evans <dje@google.com>
1283 * gdb.base/maint.exp: Update testing of per-command stats.
1285 2014-07-16 Pedro Alves <palves@redhat.com>
1287 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
1288 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
1289 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
1290 (tfile_write_buf): New functions.
1291 (add_memory_block): Rewrite using the above.
1292 (adjust_function_address): New function.
1293 (FUNCTION_ADDRESS): New macro.
1294 (write_basic_trace_file): Remove short_x local, and use
1295 tfile_write_16. Change type of func_addr local to unsigned long
1296 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
1297 here. Cast argument of add_memory_block to char pointer.
1298 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
1299 (main): Remove parameters.
1300 * gdb.trace/tfile.exp: Remove nowarnings.
1302 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1304 * gdb.base/debug-expr.exp: Test string evaluation with
1305 "debug expression" on.
1307 2014-07-15 Pedro Alves <palves@redhat.com>
1309 * gdb.base/reread.exp: Use clean_restart.
1311 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1313 * gdb.arch/avr-flash-qualifer.c: New.
1314 * gdb.arch/avr-flash-qualifer.exp: New.
1316 2014-07-14 Pedro Alves <palves@redhat.com>
1318 * gdb.base/paginate-after-ctrl-c-running.c: New file.
1319 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1321 2014-07-14 Pedro Alves <palves@redhat.com>
1323 * gdb.base/double-prompt-target-event-error.c: New file.
1324 * gdb.base/double-prompt-target-event-error.exp: New file.
1326 2014-07-14 Pedro Alves <palves@redhat.com>
1329 * gdb.base/paginate-inferior-exit.c: New file.
1330 * gdb.base/paginate-inferior-exit.exp: New file.
1332 2014-07-14 Pedro Alves <palves@redhat.com>
1335 * gdb.base/paginate-bg-execution.c: New file.
1336 * gdb.base/paginate-bg-execution.exp: New file.
1338 2014-07-14 Pedro Alves <palves@redhat.com>
1341 * gdb.base/paginate-execution-startup.c: New file.
1342 * gdb.base/paginate-execution-startup.exp: New file.
1343 * lib/gdb.exp (pagination_prompt): New global.
1344 (default_gdb_spawn): New procedure, factored out from
1346 (default_gdb_start): Adjust to call default_gdb_spawn.
1347 (gdb_spawn): New procedure.
1349 2014-07-14 Pedro Alves <palves@redhat.com>
1351 * lib/gdb.exp (gdb_assert): New procedure.
1352 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
1354 2014-07-14 Pedro Alves <palves@redhat.com>
1356 * gdb.base/execution-termios.c: New file.
1357 * gdb.base/execution-termios.exp: New file.
1359 2014-07-14 Tom Tromey <tromey@redhat.com>
1361 * gdb.cp/vla-cxx.cc: New file.
1362 * gdb.cp/vla-cxx.exp: New file.
1364 2014-07-14 Tom Tromey <tromey@redhat.com>
1366 * gdb.reverse/rerun-prec.c: New file.
1367 * gdb.reverse/rerun-prec.exp: New file.
1369 2014-07-12 Maciej W. Rozycki <macro@mips.com>
1370 Maciej W. Rozycki <macro@codesourcery.com>
1372 * lib/gdb-utils.exp: New file.
1373 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
1374 inline `gdb_init_command' processing.
1375 (gdb_start_cmd): Likewise.
1376 * lib/mi-support.exp (mi_run_cmd): Likewise.
1377 * README: Document `gdb_init_command' and `gdb_init_commands'.
1379 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1381 Fix false FAIL running under a very long directory name.
1382 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1383 and "set print elements 10000". Twice.
1385 2014-07-11 Yao Qi <yao@codesourcery.com>
1387 * gdb.base/exprs.exp: "set print symbol off".
1389 2014-07-11 Pedro Alves <palves@redhat.com>
1391 * gdb.threads/kill.c: New file.
1392 * gdb.threads/kill.exp: New file.
1394 2014-07-10 Yao Qi <yao@codesourcery.com>
1396 * gdb.trace/tfile.c (write_basic_trace_file)
1397 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1398 address written to trace file.
1400 2014-07-09 Pedro Alves <palves@redhat.com>
1402 * gdb.base/attach-wait-input.exp: New file.
1403 * gdb.base/attach-wait-input.c: New file.
1405 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1407 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1408 setting up test structures.
1409 (main): Call new test function.
1410 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1411 test function, continue into test function and walk test
1414 2014-07-02 Yao Qi <yao@codesourcery.com>
1416 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1417 'bar_start' at the beginning of functions 'foo' and 'bar'
1419 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1420 instead of 'foo' and 'bar'.
1422 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1424 * gdb.btrace/segv.exp: New.
1425 * gdb.btrace/segv.c: New.
1427 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
1429 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1432 2014-06-30 Mark Wielaard <mjw@redhat.com>
1434 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1435 vulture, vilify, villar): New volatile array constants.
1436 (vindictive, vegetation): New const volatile array constants.
1437 * gdb.base/volatile.exp: Test volatile and const volatile array
1440 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1442 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1443 target lacks support for awatch, rwatch, or hbreak.
1445 2014-06-27 Yao Qi <yao@codesourcery.com>
1447 * gdb.multi/dummy-frame-restore.exp: New.
1448 * gdb.multi/dummy-frame-restore.c: New.
1450 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1452 * gdb.btrace/gcore.exp: New.
1454 2014-06-23 Pedro Alves <palves@redhat.com>
1456 * gdb.base/watchpoint-reuse-slot.c: New file.
1457 * gdb.base/watchpoint-reuse-slot.exp: New file.
1459 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1461 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1462 progspace's filename in 'info', 'enable' and 'disable' command
1465 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1467 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1468 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1469 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1471 2014-06-20 Gary Benson <gbenson@redhat.com>
1473 * gdb.arch/i386-avx.exp: Fix include file location.
1474 * gdb.arch/i386-sse.exp: Likewise.
1476 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1478 * gdb.dlang/expression.exp: New file.
1480 2014-06-19 Pedro Alves <palves@redhat.com>
1482 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1484 (top level): ... here. Iterate running tests under different
1485 scheduler-locking settings.
1487 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
1489 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1490 to DW_FORM_addr and use non-zero addresses.
1492 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1495 * gdb.python/py-xmethods.cc: Add global function call counters and
1496 increment them in their respective functions. Remove "cout"
1498 * gdb.python/py-xmethods.exp: Make tests check the global function
1499 call counters instead of depending on inferior IO.
1501 2014-06-18 Don Breazeal <donb@codesourcery.com>
1503 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1505 (explicit_fork_parent_follow): Deleted procedure.
1506 (explicit_fork_child_follow): Deleted procedure.
1507 (test_follow_fork): New procedure.
1508 (do_fork_tests): Replace calls to deleted procedures with
1509 calls to test_follow_fork and reset GDB for subsequent
1512 2014-06-17 Yao Qi <yao@codesourcery.com>
1514 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1517 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
1519 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1520 Initialize ptr and S explicitly.
1521 (skip_type_update_when_not_use_rtti_test): Likewise.
1523 2014-06-16 Keith Seitz <keiths@redhat.com>
1526 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1527 the inferior is started.
1529 2014-06-16 Pedro Alves <palves@redhat.com>
1531 * gdb.base/break-main-file-remove-fail.c: New file.
1532 * gdb.base/break-main-file-remove-fail.exp: New file.
1533 * gdb.base/break-unload-file.exp: Use build_executable instead of
1534 prepare_for_testing.
1535 (test_break): New parameter "initial_load". Handle it.
1536 (top level): Add initial_load cmdline/file axis.
1538 2014-06-12 Tom Tromey <tromey@redhat.com>
1540 * gdb.base/completion.exp: Don't use directory name in test.
1542 2014-06-09 Gary Benson <gbenson@redhat.com>
1544 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1545 separate the always-available ANSI-standard signals from the
1546 signals that require checking.
1548 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1552 2014-06-07 Keith Seitz <keiths@redhat.com>
1556 * gdb.cp/var-tag.cc: New file.
1557 * gdb.cp/var-tag.exp: New file.
1558 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1559 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1560 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1561 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1563 2014-06-06 Doug Evans <xdje42@gmail.com>
1565 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1567 2014-06-06 Pedro Alves <palves@redhat.com>
1569 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1570 in target debug output instead of looking at RSP packets,
1571 disabling the test on any target that uses hardware stepping.
1574 2014-06-06 Pedro Alves <palves@redhat.com>
1576 * gdb.base/break-unload-file.exp: Fix typo.
1578 2014-06-06 Yao Qi <yao@codesourcery.com>
1580 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1581 from "jit_function" to "^jit_function".
1583 2014-06-06 Yao Qi <yao@codesourcery.com>
1585 * gdb.base/async.c (foo): Add one statement.
1586 * gdb.base/async.exp: Get the next instruction address and
1587 match the output of "nexti" by instruction address. Match
1588 the hex address in the output of "finish".
1590 2014-06-06 Gary Benson <gbenson@redhat.com>
1592 * gdb.base/call-signals.c: Remove preprocessor conditionals
1593 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1594 SIGSEGV and SIGTERM.
1595 * gdb.base/sigall.c: Likewise.
1596 * gdb.base/unwindonsignal.c: Likewise.
1597 * gdb.reverse/sigall-reverse.c: Likewise.
1599 2014-06-06 Yao Qi <yao@codesourcery.com>
1601 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1602 readable, skip the test.
1604 2014-06-06 Yao Qi <yao@codesourcery.com>
1606 * gdb.threads/staticthreads.c (thread_function): Move the line
1607 setting breakpoint on forward.
1608 * gdb.threads/staticthreads.exp: Update comments.
1610 2014-06-05 Ludovic Courtès <ludo@gnu.org>
1612 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1613 "history-append! type error".
1615 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1617 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1618 erroneous dprintf expected input.
1620 2014-06-04 Doug Evans <xdje42@gmail.com>
1622 * gdb.guile/scm-generics.exp: Delete.
1624 2014-06-04 Doug Evans <xdje42@gmail.com>
1626 * gdb.guile/scm-breakpoint.exp: Update.
1627 Add tests for breakpoint registration.
1629 2014-06-04 Tom Tromey <tromey@redhat.com>
1631 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1633 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1634 inner_vla_struct, vla_union types. Initialize objects of those
1635 types and compute their sizes.
1637 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1638 Hui Zhu <hui@codesourcery.com>
1640 * gdb.base/fileio.exp: Add test for shell not available as well as
1642 * gdb.base/fileio.c (test_system): Check for shell twice.
1644 2014-06-04 Yao Qi <yao@codesourcery.com>
1646 * gdb.base/auto-connect-native-target.exp: Remove redundant
1647 space from the regexp pattern.
1649 2014-06-04 Yao Qi <yao@codesourcery.com>
1651 * gdb.base/default.exp: Replace "child" with "native" in
1654 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1656 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1657 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1658 * gdb.python/py-xmethods.py: Python script supporting the
1659 new testcase and tests.
1661 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1662 Pedro Alves <palves@redhat.com>
1664 PR breakpoints/17000
1665 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1666 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1668 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1670 * gdb.base/subst.exp: Add tests to verify partial path matching
1673 2014-06-03 Pedro Alves <palves@redhat.com>
1675 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1676 target that doesn't use software single-stepping.
1678 2014-06-03 Pedro Alves <palves@redhat.com>
1680 PR breakpoints/17000
1681 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1682 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1684 2014-06-02 Doug Evans <xdje42@gmail.com>
1686 * gdb.guile/scm-parameter.exp: New file.
1688 2014-06-02 Doug Evans <xdje42@gmail.com>
1690 * gdb.guile/scm-cmd.c: New file.
1691 * gdb.guile/scm-cmd.exp: New file.
1693 2014-06-02 Doug Evans <xdje42@gmail.com>
1695 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1696 pretty-printer lookup.
1697 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1698 (make-pp_s-printer): Call it.
1699 (make-pretty-printer-from-dict): New function.
1700 (lookup-pretty-printer-maker-from-dict): New function.
1701 (*pretty-printer*): Simplify.
1702 (make-objfile-pp_s-printer): New function.
1703 (install-objfile-pretty-printers!): New function.
1704 (make-progspace-pp_s-printer): New function.
1705 (install-progspace-pretty-printers!): New function.
1706 * gdb.guile/scm-progspace.c: New file.
1707 * gdb.guile/scm-progspace.exp: New file.
1709 2014-06-02 Pedro Alves <palves@redhat.com>
1711 * gdb.base/dprintf-bp-same-addr.c: New file.
1712 * gdb.base/dprintf-bp-same-addr.exp: New file.
1714 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1716 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1717 * gdb.arch/powerpc-power.s: Likewise.
1719 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1721 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1723 2014-06-01 Yao Qi <yao@codesourcery.com>
1725 * gdb.base/watchpoint.exp (test_watch_location): Check null
1726 pointer can be dereferenced. If not, do the test, otherwise
1729 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1731 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1733 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1735 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1737 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1738 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1739 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1740 * gdb.arch/amd64-invalid-stack-top.c: New file.
1741 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1743 2014-05-30 Pedro Alves <palves@redhat.com>
1745 PR breakpoints/17000
1746 * gdb.base/sss-bp-on-user-bp.c: New file.
1747 * gdb.base/sss-bp-on-user-bp.exp: New file.
1749 2014-05-30 David Blaikie <dblaikie@gmail.com>
1751 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1752 gnu_inline semantics via attribute.
1753 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1754 source explicitly specifies the required semantics.
1756 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1758 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1760 2014-05-29 Pedro Alves <palves@redhat.com>
1761 Tom Tromey <tromey@redhat.com>
1763 * gdb.base/async-shell.exp: Don't enable target-async.
1764 * gdb.base/async.exp
1765 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1767 (top level): Don't test with "target-async".
1768 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1769 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1770 * gdb.base/inferior-died.exp: Don't enable target-async.
1771 * gdb.base/interrupt-noterm.exp: Likewise.
1772 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1773 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1774 * gdb.mi/mi-nonstop.exp: Likewise.
1775 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1776 * gdb.mi/mi-nsintrall.exp: Likewise.
1777 * gdb.mi/mi-nsmoribund.exp: Likewise.
1778 * gdb.mi/mi-nsthrexec.exp: Likewise.
1779 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1780 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1781 * gdb.python/py-evsignal.exp: Don't enable target-async.
1782 * gdb.python/py-evthreads.exp: Likewise.
1783 * gdb.python/py-prompt.exp: Likewise.
1784 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1785 * gdb.server/solib-list.exp: Don't enable target-async.
1786 * gdb.threads/thread-specific-bp.exp: Likewise.
1787 * lib/mi-support.exp: Adjust to use mi-async.
1789 2014-05-29 Pedro Alves <palves@redhat.com>
1792 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1793 reason, even in sync mode.
1795 2014-05-29 Pedro Alves <palves@redhat.com>
1796 Hui Zhu <hui@codesourcery.com>
1799 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1800 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1801 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1802 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1804 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1806 * config/monitor.exp (gdb_target_monitor): Replace use of
1807 "set remotebaud" by "set serial baud".
1809 2014-05-26 Andy Wingo <wingo@igalia.com>
1811 * gdb.guile/scm-breakpoint.exp:
1812 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1813 properties instead of gdb-object-properties.
1815 2014-05-26 Yao Qi <yao@codesourcery.com>
1817 * gdb.server/no-thread-db.exp: Specify source file name
1818 explicitly when setting a breakpoint.
1820 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1822 * gdb.btrace/vdso.c: New.
1823 * gdb.btrace/vdso.exp: New.
1825 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1827 * gdb.base/gcore.exp (capture_command_output): Move ...
1828 * lib/gdb.exp (capture_command_output): ... here.
1830 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1832 * gdb.btrace/data.exp: Test memory access during btrace replay.
1834 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1836 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1838 2014-05-21 Pedro Alves <palves@redhat.com>
1841 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1842 (top level): Test that output related to execution commands is
1843 sent to the console with CLI commands, but not with MI commands.
1844 Test that breakpoint events are always mirrored to the console.
1845 Also expect the new source line to be output after a "next" in
1846 async mode too. Make it a pass/fail test.
1847 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1849 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1851 2014-05-21 Pedro Alves <palves@redhat.com>
1853 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1854 Use them to test variations of "list" after reaching a breakpoint.
1855 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1856 Test "list" with listsize 10 after reaching a breakpoint.
1857 * gdb.python/python.exp (decode_line current location line
1858 number): Adjust expected line number.
1860 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1862 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1863 behavior for $args, pass it directly to "run".
1865 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1867 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1870 2014-05-21 Pedro Alves <palves@redhat.com>
1872 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1873 auto-connect-native-target off".
1874 * gdb.base/auto-connect-native-target.c: New file.
1875 * gdb.base/auto-connect-native-target.exp: New file.
1877 2014-05-21 Pedro Alves <palves@redhat.com>
1879 * gdb.base/default.exp: Test "target native" instead of "target
1882 2014-05-21 Mark Wielaard <mjw@redhat.com>
1884 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1886 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1888 Fix TLS access for -static -pthread.
1889 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1890 <HAVE_TLS> (thread_function, main): Initialize it.
1891 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1893 <$have_tls != "">: Check TLSVAR.
1895 2014-05-21 Pedro Alves <palves@redhat.com>
1897 * gdb.base/dcache-line-read-error.c: New.
1898 * gdb.base/dcache-line-read-error.exp: New.
1900 2014-05-20 Pedro Alves <palves@redhat.com>
1902 * gdb.base/compare-sections.c: New file.
1903 * gdb.base/compare-sections.exp: New file.
1905 2014-05-20 Pedro Alves <palves@redhat.com>
1907 * gdb.base/break-idempotent.c: New file.
1908 * gdb.base/break-idempotent.exp: New file.
1910 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1912 * gdb.btrace/nohist.exp: New.
1914 2014-05-20 Yao Qi <yao@codesourcery.com>
1916 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1917 gdb.reverse directory and gdb_reverse_timeout exists in board
1919 * README: Document gdb_reverse_timeout.
1921 2014-05-20 Yao Qi <yao@codesourcery.com>
1923 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1924 'test_file_name'. Treat args as a string instead of a list.
1925 (gdb_init): Rename argument 'args' by 'test_file_name'.
1927 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1929 * gdb.arch/powerpc-power.exp: New file.
1930 * gdb.arch/powerpc-power.s: New file.
1932 2014-05-16 Doug Evans <dje@google.com>
1934 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
1935 * gdb.base/completion.exp: Check that all expected files exist
1936 before doing file completion.
1938 2014-05-16 Doug Evans <dje@google.com>
1940 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1942 (do_syscall_tests_without_xml): Update.
1944 2014-05-16 Pedro Alves <palves@redhat.com>
1946 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1947 instead of "unknown output after running".
1949 2014-05-16 Yao Qi <yao@codesourcery.com>
1951 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1952 file1.txt from host at the end.
1953 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1955 2014-05-15 Doug Evans <dje@google.com>
1957 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1958 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1959 loading file. Add test for TU lookup.
1961 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1963 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1964 calling "-exec-arguments" or "set args" before running the
1967 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1969 * lib/mi-support.exp (mi_expect_stop): Expect message for
1970 inferiors that exit with non-zero exit code.
1972 2014-05-14 Yao Qi <yao@codesourcery.com>
1974 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1975 match absolute path on remote host.
1976 (test_file_list_exec_source_files): Remove "/" from the
1979 2014-05-14 Yao Qi <yao@codesourcery.com>
1981 * boards/local-remote-host-notty.exp (${board}_file): New
1984 2014-05-07 Kyle McMartin <kyle@redhat.com>
1986 Pushed by Joel Brobecker <brobecker@adacore.com>.
1987 * gdb.arch/aarch64-atomic-inst.c: New file.
1988 * gdb.arch/aarch64-atomic-inst.exp: New file.
1990 2014-05-07 Yao Qi <yao@codesourcery.com>
1992 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1993 in current context" too.
1995 2014-05-05 Keith Seitz <keiths@redhat.com>
1997 * gdb.linespec/ls-dollar.exp: Add test for linespec
1998 file:convenience_variable.
2000 2014-05-05 Yao Qi <yao@codesourcery.com>
2002 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
2003 traceframes into tfile and ctf trace files. Read data from
2004 trace file and test collected data.
2005 (gdb_collect_locals_test): Likewise.
2006 (gdb_unavailable_registers_test): Likewise.
2007 (gdb_unavailable_floats): Likewise.
2008 (gdb_collect_globals_test): Likewise.
2009 (top-level): Append "ctf" to trace_file_targets if GDB
2012 2014-05-05 Yao Qi <yao@codesourcery.com>
2014 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
2016 (gdb_collect_args_test_1): ... it. New proc.
2017 (gdb_collect_locals_test): Move some code to ...
2018 (gdb_collect_locals_test_1): ... it. New proc.
2019 (gdb_unavailable_registers_test): Move some code to ...
2020 (gdb_unavailable_registers_test_1): ... it. New proc.
2021 (gdb_unavailable_floats): Move some code to ...
2022 (gdb_unavailable_floats_1): ... it. New proc.
2024 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2026 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
2027 probes to test for bitness recognition.
2028 * gdb.arch/amd64-stap-optional-prefix.exp
2029 (test_probe_value_without_reg): New procedure.
2030 Add code to test for different kinds of bitness.
2032 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2034 PR breakpoints/16889
2035 * gdb.arch/amd64-stap-optional-prefix.S: New file.
2036 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2038 2014-05-01 Pedro Alves <palves@redhat.com>
2040 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
2041 gdb_file_cmd if no file is specified.
2042 * boards/native-extended-gdbserver.exp (gdb_load): Use the
2043 last_loaded_file to set the remote exec-file.
2045 2014-05-01 Pedro Alves <palves@redhat.com>
2047 * boards/local-remote-host.exp: New file.
2049 2014-05-01 Pedro Alves <palves@redhat.com>
2051 * boards/local-remote-host.exp: Rename to ...
2052 * boards/local-remote-host-notty.exp: ... this.
2054 2014-04-28 Joel Brobecker <brobecker@adacore.com>
2056 * gdb.ada/dyn_arrayidx: New testcase.
2058 2014-04-26 Yao Qi <yao@codesourcery.com>
2060 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
2061 and compute the length of function main. Save it in
2063 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
2064 (top-level): Use gdb_compile to compile objects into
2065 executable and restart GDB. Remove invocation to
2066 prepare_for_testing.
2068 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
2069 Pedro Alves <palves@redhat.com>
2072 * gdb.multi/multi-attach.c: New file.
2073 * gdb.multi/multi-attach.exp: New file.
2075 2014-04-25 Pedro Alves <palves@redhat.com>
2077 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
2079 (top level): Test that "set remote conditional-breakpoints-packet
2080 off" works as intended.
2081 * gdb.base/dprintf.exp: Test that "set remote
2082 breakpoint-commands-packet off" works as intended.
2083 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
2085 (top level): Call it.
2086 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
2087 remote fast-tracepoints-packet off" works as intended.
2088 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
2089 * lib/gdb.exp (gdb_is_target_remote): ... here.
2091 2014-04-24 David Blaikie <dblaikie@gmail.com>
2093 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
2094 ensure clang would not discard them.
2095 * gdb.base/gdbvars.c: Ditto.
2096 * gdb.base/memattr.c: Ditto.
2097 * gdb.base/whatis.c: Ditto.
2098 * gdb.python/py-prettyprint.c: Ditto.
2099 * gdb.trace/actions.c: Ditto.
2100 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
2101 ensure clang would not discard it.
2103 2014-04-24 David Blaikie <dblaikie@gmail.com>
2105 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
2106 clang to emit the full definition of type required by the test
2107 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
2109 2014-04-24 David Blaikie <dblaikie@gmail.com>
2111 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
2112 coax Clang into emitting the definition of the type.
2113 * gdb.cp/pr10728-x.h (y): Ditto.
2114 * gdb.cp/pr10728-y.cc (y): Ditto.
2116 2014-04-24 David Blaikie <dblaikie@gmail.com>
2118 * gdb.base/label.exp: XFAIL label related tests under Clang.
2119 * gdb.cp/cplabel.exp: Ditto.
2120 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
2121 under Clang those using labels.
2123 2014-04-25 Yao Qi <yao@codesourcery.com>
2125 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
2127 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
2128 partial_label and double_label.
2130 2014-04-24 David Blaikie <dblaikie@gmail.com>
2132 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
2134 2014-04-24 David Blaikie <dblaikie@gmail.com>
2136 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
2137 of the function to work across GCC and Clang.
2138 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
2139 pointer types (const void ** const V void **).
2141 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
2142 Walfred Tedeschi <walfred.tedeschi@intel.com>
2144 * Makefile.in (EXECUTABLES): Added i386-avx512.
2145 * gdb.arch/i386-avx512.c: New file.
2146 * gdb.arch/i386-avx512.exp: Likewise.
2148 2014-04-23 Keith Seitz <keiths@redhat.com>
2150 * lib/mi-support.exp (mi_list_breakpoints): Delete.
2151 (mi_make_breakpoint_table): New procedure.
2152 (mi_create_breakpoint): Use mi_make_breakpoint
2153 and return the result.
2154 (mi_make_breakpoint): New procedure.
2155 (mi_build_kv_pairs): New procedure.
2157 * gdb.mi/mi-break.exp: Remove unused globals,
2158 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
2159 All callers updated.
2160 * gdb.mi/mi-dprintf.exp: Use variable to track command
2162 Update all callers of mi_create_breakpoint and use
2163 mi_make_breakpoint_table.
2164 Remove any unused global variables.
2165 * gdb.mi/mi-nonstop.exp: Likewise.
2166 * gdb.mi/mi-nsintrall.exp: Likewise.
2167 * gdb.mi/mi-nsmoribund.exp: Likewise.
2168 * gdb.mi/mi-nsthrexec.exp: Likewise.
2169 * gdb.mi/mi-reverse.exp: Likewise.
2170 * gdb.mi/mi-simplerun.exp: Likewise.
2171 * gdb.mi/mi-stepn.exp: Likewise.
2172 * gdb.mi/mi-syn-frame.exp: Likewise.
2173 * gdb.mi/mi-until.exp: Likewise.
2174 * gdb.mi/mi-var-cp.exp: Likewise.
2175 * gdb.mi/mi-var-display.exp: Likewise.
2176 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2177 * gdb.mi/mi2-var-child.exp: Likewise.
2178 * gdb.mi/mi-vla-c99.exp: Likewise.
2179 * lib/mi-support.exp: Likewise.
2181 From Ian Lance Taylor <iant@cygnus.com>:
2182 * lib/gdb.exp (parse_args): New procedure.
2184 2014-04-23 Pedro Alves <palves@redhat.com>
2186 * gdb.base/break-unload-file.c: New file.
2187 * gdb.base/break-unload-file.exp: New file.
2188 * gdb.base/sym-file-lib.c (baz): New function.
2189 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
2191 (load): Store the segment's mapped size.
2192 (unload): New function.
2193 (unload_shlib): New function.
2194 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
2195 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
2196 set a breakpoint at baz, and call it.
2197 * gdb.base/sym-file.exp: New tests for stale breakpoint
2200 2014-04-23 Pedro Alves <palves@redhat.com>
2202 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
2203 * gdb.base/hbreak-in-shr-unsupported.c: New file.
2204 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
2205 * gdb.base/hbreak-unmapped.c: New file.
2206 * gdb.base/hbreak-unmapped.exp: New file.
2207 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
2208 * lib/gdb.exp (gdb_is_target_remote): ... here.
2210 2014-04-22 Pedro Alves <palves@redhat.com>
2212 * gdb.base/consecutive-step-over.c: New file.
2213 * gdb.base/consecutive-step-over.exp: New file.
2215 2014-04-22 Pedro Alves <palves@redhat.com>
2217 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
2218 instead of send_gdb/gdb_expect.
2220 2014-04-22 Yao Qi <yao@codesourcery.com>
2222 * lib/trace-support.exp (generate_tracefile): New procedure.
2223 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
2225 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
2226 if generate_tracefile returns 1.
2228 2014-04-18 Tom Tromey <palves@redhat.com>
2229 Pedro alves <tromey@redhat.com>
2232 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
2233 with a backtrace limit.
2234 * gdb.python/py-frame-inline.exp: Test running to an inline
2235 function with a backtrace limit, and printing the newest frame.
2236 * gdb.python/py-frame-inline.c (main): Call f.
2238 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2240 * gdb.java/jnpe.exp: Drop srcdir from untested path.
2242 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2244 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
2245 Drop prefix from unsupported source file path.
2247 2014-04-17 Yao Qi <yao@codesourcery.com>
2249 * lib/gdb.exp (with_target_charset): New proc.
2250 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
2251 with_target_charset.
2252 (test_print_strings): Likewise.
2253 (test_repeat_bytes): Likewise.
2254 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
2257 2014-04-16 Keith Seitz <keiths@redhat.com>
2260 * gdb.dwarf2/corrupt.c: New file.
2261 * gdb.dwarf2/corrupt.exp: New file.
2263 2014-04-16 Keith Seitz <keiths@redhat.com>
2266 * gdb.cp/namelessclass.cc: New file.
2267 * gdb.cp/namelessclass.exp: New file.
2268 * gdb.cp/namelessclass.S: New file.
2270 2014-04-16 Doug Evans <dje@google.com>
2272 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
2274 (gdbserver_default_get_comm_port): New function.
2275 (gdbserver_start): Check if board file provided
2276 "gdbserver,get_comm_port" and use it if so.
2277 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
2278 (gdb,socketport): Set to "stdio".
2279 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
2280 (stdio_gdbserver_template): Delete.
2281 (${board}_get_remote_address): Update.
2282 (${board}_build_remote_cmd): Delete.
2283 (${board}_get_comm_port): New function.
2284 (${board}_spawn): Update.
2285 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
2287 (${board}_get_remote_address): Update.
2288 (${board}_get_comm_port): New function.
2290 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
2292 * gdb.base/memattr.exp: Improve regexps to handle memory regions
2293 appearing in any order.
2295 2014-04-15 Doug Evans <dje@google.com>
2297 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
2298 uninitialized value of "description".
2300 2014-04-15 Keith Seitz <keiths@redhat.com>
2302 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
2303 Remove unused globals.
2304 (test_running_the_program): Likewise.
2305 (test_controlled_execution): Likewise.
2306 (test_controlling_breakpoints): Likewise.
2307 (test_program_termination): Likewise.
2309 2014-04-15 Keith Seitz <keiths@redhat.com>
2311 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
2313 (test_rbreak_creation_and_listing): Likewise.
2314 (test_ignore_count): Likewise.
2315 (test_error): Likewise.
2317 2014-04-15 Pedro Alves <palves@redhat.com>
2319 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2320 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2322 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2323 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2324 to sym-file-loader.c.
2325 (struct library): Forward declare.
2326 (load_shlib, lookup_function): Change prototypes.
2327 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2328 (translate_offset): Remove declarations.
2329 (get_text_addr): New declaration.
2330 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2331 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2333 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2334 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2335 here from sym-file-loader.h.
2336 (struct library): New structure.
2337 (load_shlib, lookup_function): Change prototypes and adjust to
2338 work with a struct library.
2339 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2340 (translate_offset): Make static.
2341 (get_text_addr): New function.
2342 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
2344 2014-04-15 Pedro Alves <palves@redhat.com>
2346 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
2348 2014-04-15 Pedro Alves <palves@redhat.com>
2350 * gdb.base/sym-file-loader.c: Include <limits.h>.
2351 (SELF_LINK): New define.
2352 (get_origin): New function.
2353 (load_shlib): Use it.
2354 * gdb.base/sym-file.exp: Don't early return if the target is
2355 remote. Use runto_main, and issue fail is that fails. Use
2357 (shlib_name): Delete.
2358 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
2360 2014-04-15 Pedro Alves <palves@redhat.com>
2362 * gdb.base/sym-file.exp: Remove regex characters from test
2363 message. Don't refer to breakpoint numbers in test messages.
2365 2014-04-14 Keith Seitz <keiths@redhat.com>
2368 * gdb.cp/var-tag.cc: New file.
2369 * gdb.cp/var-tag.exp: New file.
2370 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2371 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2372 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2373 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2375 2014-04-14 Tom Tromey <tromey@redhat.com>
2377 * gdb.cp/classes.exp (test_enums): Handle underlying type.
2378 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
2380 * gdb.cp/enum-class.exp: New file.
2381 * gdb.cp/enum-class.cc: New file.
2383 2014-04-14 Tom Tromey <tromey@redhat.com>
2385 * gdb.dwarf2/enum-type.exp: New file.
2387 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2389 * gdb.mi/mi-vla-c99.exp: New file.
2390 * gdb.mi/vla.c: New file.
2392 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2394 * gdb.base/vla-datatypes.c: New file.
2395 * gdb.base/vla-datatypes.exp: New file.
2397 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2399 * gdb.base/vla-ptr.c: New file.
2400 * gdb.base/vla-ptr.exp: New file.
2402 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2404 * gdb.dwarf2/count.exp: New file.
2406 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2408 * gdb.base/vla-sideeffect.c: New file.
2409 * gdb.base/vla-sideeffect.exp: New file.
2411 2014-04-14 David Blaikie <dblaikie@gmail.com>
2413 * gdb.mi/non-stop.c: Add return value for non-void function return
2415 * gdb.threads/staticthreads.c: Ditto.
2417 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2418 Doug Evans <xdje42@gmail.com>
2420 * gdb.guile/scm-value.c: Improve test case.
2421 * gdb.guile/scm-value.exp: Add new test.
2423 2014-04-11 David Blaikie <dblaikie@gmail.com>
2425 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2426 override Clang's default.
2428 2014-04-11 Joel Brobecker <brobecker@adacore.com>
2430 Revert the following changes (regressions):
2432 * gdb.base/vla-sideeffect.c: New file.
2433 * gdb.base/vla-sideeffect.exp: New file.
2435 * gdb.dwarf2/count.exp: New file.
2437 * gdb.base/vla-multi.c: New file.
2438 * gdb.base/vla-multi.exp: New file.
2440 * gdb.base/vla-ptr.c: New file.
2441 * gdb.base/vla-ptr.exp: New file.
2443 * gdb.base/vla-datatypes.c: New file.
2444 * gdb.base/vla-datatypes.exp: New file.
2446 * gdb.mi/mi-vla-c99.exp: New file.
2447 * gdb.mi/vla.c: New file.
2449 2014-04-11 Keith Seitz <keiths@redhat.com>
2452 * gdb.cp/cpsizeof.exp: New file.
2453 * gdb.cp/cpsizeof.cc: New file.
2455 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2457 * gdb.mi/mi-vla-c99.exp: New file.
2458 * gdb.mi/vla.c: New file.
2460 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2462 * gdb.base/vla-datatypes.c: New file.
2463 * gdb.base/vla-datatypes.exp: New file.
2465 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2467 * gdb.base/vla-ptr.c: New file.
2468 * gdb.base/vla-ptr.exp: New file.
2470 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2472 * gdb.base/vla-multi.c: New file.
2473 * gdb.base/vla-multi.exp: New file.
2475 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2477 * gdb.dwarf2/count.exp: New file.
2479 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2481 * gdb.base/vla-sideeffect.c: New file.
2482 * gdb.base/vla-sideeffect.exp: New file.
2484 2014-04-11 Yao Qi <yao@codesourcery.com>
2486 * gdb.base/completion.exp: Check file exists before running tests
2489 2014-04-10 Pedro Alves <palves@redhat.com>
2491 * gdb.base/cond-eval-mode.c: New file.
2492 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2493 prepare_for_testing to build the new file. Check result of
2495 (test_break, test_watch): New procedures.
2496 (top level): Use them.
2498 2014-04-08 Pierre Muller <muller@sourceware.org>
2500 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2501 Ctrl-V use for mingw hosts.
2503 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2505 * gdb.python/py-value.c: Improve test case.
2506 * gdb.python/py-value.exp: Add new test.
2508 2014-04-07 David Blaikie <dblaikie@gmail.com>
2510 * lib/compiler.c: Identify the clang compiler.
2511 * lib/compiler.cc: Ditto.
2513 2014-04-03 Yao Qi <yao@codesourcery.com>
2515 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2517 2014-04-01 Anton Blanchard <anton@samba.org>
2519 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2522 2014-04-01 Anton Blanchard <anton@samba.org>
2524 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2525 prepare_for_testing.
2527 2014-04-01 Anton Blanchard <anton@samba.org>
2529 * gdb.arch/ppc64-atomic-inst.c: Remove.
2530 * gdb.arch/ppc64-atomic-inst.S: New file.
2531 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2533 2014-03-31 Doug Evans <dje@google.com>
2535 * gdb.base/print-symbol-loading-lib.c: New file.
2536 * gdb.base/print-symbol-loading-main.c: New file.
2537 * gdb.base/print-symbol-loading.exp: New file.
2539 2014-03-31 Yao Qi <yao@codesourcery.com>
2541 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2543 2014-03-28 Joel Brobecker <brobecker@adacore.com>
2545 * gdb.ada/mi_dyn_arr: New testcase.
2547 2014-03-27 Doug Evans <dje@google.com>
2549 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2551 2014-03-27 Yao Qi <yao@codesourcery.com>
2553 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2554 if target is nios2-*-*.
2556 2014-03-26 Yao Qi <yao@codesourcery.com>
2558 * lib/gdb.exp (readline_is_used): New proc.
2559 * gdb.base/completion.exp: Move tests on command complete up.
2560 Skip the rest of tests if readline is not used.
2561 * gdb.ada/complete.exp: Skp the test if readline is not
2563 * gdb.base/filesym.exp: Likewise.
2564 * gdb.base/macscp.exp: Likewise.
2565 * gdb.base/readline-ask.exp: Likewise.
2566 * gdb.base/readline.exp: Likewise.
2567 * gdb.python/py-cmd.exp: Likewise.
2568 * gdb.trace/tfile.exp: Likewise.
2570 2014-03-26 Yao Qi <yao@codesourcery.com>
2572 * gdb.base/macscp.exp: Fix code format issues.
2574 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2576 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2577 * gdb.asm/powerpc64le.inc: New file.
2579 2014-03-25 Pedro Alves <palves@redhat.com>
2580 Doug Evans <dje@google.com>
2582 * gdb.base/source-execution.c: New file.
2583 * gdb.base/source-execution.exp: New file.
2584 * gdb.base/source-execution.gdb: New file.
2586 2014-03-24 Doug Evans <dje@google.com>
2588 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2591 2014-03-24 Hui Zhu <hui@codesourcery.com>
2592 Pedro Alves <palves@redhat.com>
2594 PR breakpoints/16101
2595 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2596 test pass/fail messages. Detect missing support for dprintf when
2597 breakpoints are actually inserted.
2598 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2599 breakpoints are actually inserted.
2600 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2603 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2605 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2607 2014-03-22 Doug Evans <xdje42@gmail.com>
2609 * gdb.python/python.exp (python not supported): Verify multi-line
2610 python command issues an error.
2611 * gdb.guile/guile.exp (guile not supported): Verify multi-line
2612 guile command issues an error.
2614 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2616 * gdb.threads/thread-specific.exp: Handle the lack of usable
2617 $this_breakpoint and $this_thread.
2619 2014-03-21 Hui Zhu <hui@codesourcery.com>
2621 * gdb.base/attach.exp (do_command_attach_tests): New.
2623 2014-03-20 Tom Tromey <tromey@redhat.com>
2624 Pedro Alves <palves@redhat.com>
2627 * gdb.base/condbreak-call-false.c: New file.
2628 * gdb.base/condbreak-call-false.exp: New file.
2630 2014-03-20 Pedro Alves <palves@redhat.com>
2632 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2634 (block_signals, unblock_signals): Delete.
2635 (child_function_2, main): Remove references to deleted variable
2638 2014-03-20 Pedro Alves <palves@redhat.com>
2640 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2641 Use pthread_kill to signal thread 2.
2642 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2643 Adjust to make the test send itself a signal rather than using the
2644 host's "kill" command.
2646 2014-03-20 Pedro Alves <palves@redhat.com>
2648 * gdb.threads/multiple-step-overs.c: New file.
2649 * gdb.threads/multiple-step-overs.exp: New file.
2650 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2651 Adjust expected infrun debug output.
2653 2014-03-20 Pedro Alves <palves@redhat.com>
2655 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2656 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2658 2014-03-20 Pedro Alves <palves@redhat.com>
2661 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2662 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2663 of gdb_test_multiple.
2664 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2665 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2667 2014-03-20 Pedro Alves <palves@redhat.com>
2669 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2670 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2672 2014-03-19 Pedro Alves <palves@redhat.com>
2674 * gdb.base/async.exp: Remove early return.
2676 2014-03-19 Pedro Alves <palves@redhat.com>
2678 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2680 2014-03-19 Pedro Alves <palves@redhat.com>
2682 * gdb.base/async.exp (test_background): Expect \r\n after
2683 "completed." in the fail pattern.
2685 2014-03-19 Pedro Alves <palves@redhat.com>
2687 * gdb.base/async.exp (test_background): New procedure.
2688 Use it for all background execution command tests.
2690 2014-03-19 Pedro Alves <palves@redhat.com>
2692 * gdb.base/async.exp: Use prepare_for_testing.
2694 2014-03-19 Pedro Alves <palves@redhat.com>
2696 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2699 2014-03-19 Pedro Alves <palves@redhat.com>
2701 * gdb.base/async.c (main): Add "jump here" and "until here" line
2703 * gdb.base/async.exp (jump_here): New global.
2704 (jump& test): Use it.
2705 (until_here): New global.
2706 (until& test): Use it.
2708 2014-03-19 Pedro Alves <palves@redhat.com>
2710 * gdb.base/async.exp: Don't frob gdb_protocol.
2712 2014-03-18 Doug Evans <xdje42@gmail.com>
2714 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2715 Fix spelling of exec-done-display.
2717 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2720 * gdb.base/gdb-sigterm.c: New file.
2721 * gdb.base/gdb-sigterm.exp: New file.
2723 2014-03-18 Pedro Alves <palves@redhat.com>
2726 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2727 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2730 2014-03-17 Joel Brobecker <brobecker@adacore.com>
2732 * gdb.ada/pckd_arr_ren: New testcase.
2734 2014-03-13 Doug Evans <xdje42@gmail.com>
2737 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2738 collect after discarding symbols.
2740 2014-03-13 Ludovic Courtès <ludo@gnu.org>
2741 Doug Evans <xdje42@gmail.com>
2743 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2744 to history survives a gc.
2746 2014-03-13 Pedro Alves <palves@redhat.com>
2748 * gdb.base/default.exp: Don't test "target procfs".
2750 2014-03-13 Pedro Alves <palves@redhat.com>
2752 * gdb.base/default.exp: Update "target child" and "target procfs"
2753 tests to not expect "Unix".
2755 2014-03-12 Tom Tromey <tromey@redhat.com>
2757 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2758 New procs. Add target-async tests.
2759 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2760 Add target-async tests.
2762 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2764 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2765 'func_start' and 'func_end' for the beginning and end of the
2766 function code, respectively.
2767 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2768 'func_end' instead of 'func' and 'main'.
2770 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2772 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2773 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2774 generate the debug info assembler source.
2776 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2778 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2779 * gdb.dwarf2/arr-subrange.exp: Likewise.
2780 * gdb.dwarf2/dwz.exp: Likewise.
2781 * gdb.dwarf2/method-ptr.exp: Likewise.
2782 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2783 * gdb.dwarf2/subrange.exp: Likewise.
2784 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2785 * gdb.dwarf2/implptrpiece.exp: Likewise.
2786 * gdb.dwarf2/nostaticblock.exp: Likewise.
2788 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2790 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2791 directory to absolute path name arguments.
2793 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2795 * gdb.ada/tagged_access: New testcase.
2797 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2799 * gdb.btrace/data.exp: Update expected output.
2801 2014-03-06 Yao Qi <yao@codesourcery.com>
2803 * gdb.trace/pr16508.exp: New file.
2805 2014-03-05 Pedro Alves <palves@redhat.com>
2808 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2810 (top level): Adjust to use it. Add tests that exercise breakpoint
2811 interaction with the code-cache.
2813 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2815 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2816 test for 'history-append!'.
2818 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2820 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2821 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2822 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2823 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2824 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2825 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2827 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2829 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2830 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2831 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2833 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2835 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2837 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2839 * gdb.dwarf2/arr-stride.c: New file.
2840 * gdb.dwarf2/arr-stride.exp: New file.
2842 2014-02-26 Pedro Alves <palves@redhat.com>
2844 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2845 that won't ever trigger. Make sure that GDB reports the correct
2846 breakpoint that caused the stop.
2848 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2851 * gdb.base/auto-load-script: New file.
2852 * gdb.base/auto-load.c: New file.
2853 * gdb.base/auto-load.exp: New file.
2856 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2858 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2860 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2861 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2863 2014-02-24 Doug Evans <dje@google.com>
2865 * lib/gdb.exp (run_on_host): Log error output if program fails.
2867 2014-02-21 Pedro Alves <palves@redhat.com>
2869 * gdb.threads/step-after-sr-lock.c: Rename to ...
2870 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2871 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2872 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2875 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2878 * gdb.arch/amd64-stap-special-operands.exp: New file.
2879 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2880 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2881 * gdb.arch/amd64-stap-triplet.S: Likewise.
2882 * gdb.arch/amd64-stap-triplet.c: Likewise.
2884 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2886 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2887 in .section pseudo-op.
2889 2014-02-20 lin zuojian <manjian2006@gmail.com>
2890 Joel Brobecker <brobecker@adacore.com>
2891 Doug Evans <xdje42@gmail.com>
2894 * gdb.dwarf2/dw2-icycle.S: New file.
2895 * gdb.dwarf2/dw2-icycle.c: New file.
2896 * gdb.dwarf2/dw2-icycle.exp: New file.
2898 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2900 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2901 operations on gdb.Value objects.
2902 * gdb.python/py-value-cc.exp: Add new test to test operations on
2905 2014-02-18 Doug Evans <dje@google.com>
2907 * Makefile.in (TESTS): New variable.
2908 (expanded_tests, expanded_tests_or_none): New variables
2909 (check-single): Pass $(expanded_tests_or_none) to runtest.
2910 (check-parallel): Only run tests in $(TESTS) if non-empty.
2911 (check/no-matching-tests-found): New rule.
2912 * README: Document TESTS makefile variable.
2914 2014-02-18 Doug Evans <dje@google.com>
2916 * Makefile.in (check-parallel): rm -rf outputs temp.
2918 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2920 Fix "ERROR: no fileid for" in the testsuite.
2921 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2923 2014-02-12 Doug Evans <dje@google.com>
2925 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2926 (MISCELLANEOUS): New variable.
2927 (clean): rm -rf $(MISCELLANEOUS).
2928 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2929 dwp live in the same directory as symlinks, with each symlink pointed
2930 to a differently named file in a different directory.
2932 2014-02-11 Doug Evans <dje@google.com>
2934 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2935 of Tcl file commands.
2937 2014-02-10 Mark Kettenis <kettenis@gnu.org>
2939 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2942 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2944 * gdb.ada/tick_length_array_enum_idx: New testcase.
2946 2014-02-10 Doug Evans <xdje42@gmail.com>
2948 * configure.ac (AC_OUTPUT): Add gdb.guile.
2949 * configure: Regenerate.
2950 * lib/gdb-guile.exp: New file.
2951 * lib/gdb.exp (get_target_charset): New function.
2952 * gdb.base/help.exp: Update expected output from "apropos apropos".
2953 * gdb.guile/Makefile.in: New file.
2954 * gdb.guile/guile.exp: New file.
2955 * gdb.guile/scm-arch.c: New file.
2956 * gdb.guile/scm-arch.exp: New file.
2957 * gdb.guile/scm-block.c: New file.
2958 * gdb.guile/scm-block.exp: New file.
2959 * gdb.guile/scm-breakpoint.c: New file.
2960 * gdb.guile/scm-breakpoint.exp: New file.
2961 * gdb.guile/scm-disasm.c: New file.
2962 * gdb.guile/scm-disasm.exp: New file.
2963 * gdb.guile/scm-equal.c: New file.
2964 * gdb.guile/scm-equal.exp: New file.
2965 * gdb.guile/scm-error.exp: New file.
2966 * gdb.guile/scm-error.scm: New file.
2967 * gdb.guile/scm-frame-args.c: New file.
2968 * gdb.guile/scm-frame-args.exp: New file.
2969 * gdb.guile/scm-frame-args.scm: New file.
2970 * gdb.guile/scm-frame-inline.c: New file.
2971 * gdb.guile/scm-frame-inline.exp: New file.
2972 * gdb.guile/scm-frame.c: New file.
2973 * gdb.guile/scm-frame.exp: New file.
2974 * gdb.guile/scm-generics.exp: New file.
2975 * gdb.guile/scm-gsmob.exp: New file.
2976 * gdb.guile/scm-iterator.c: New file.
2977 * gdb.guile/scm-iterator.exp: New file.
2978 * gdb.guile/scm-math.c: New file.
2979 * gdb.guile/scm-math.exp: New file.
2980 * gdb.guile/scm-objfile-script-gdb.in: New file.
2981 * gdb.guile/scm-objfile-script.c: New file.
2982 * gdb.guile/scm-objfile-script.exp: New file.
2983 * gdb.guile/scm-objfile.c: New file.
2984 * gdb.guile/scm-objfile.exp: New file.
2985 * gdb.guile/scm-ports.exp: New file.
2986 * gdb.guile/scm-pretty-print.c: New file.
2987 * gdb.guile/scm-pretty-print.exp: New file.
2988 * gdb.guile/scm-pretty-print.scm: New file.
2989 * gdb.guile/scm-section-script.c: New file.
2990 * gdb.guile/scm-section-script.exp: New file.
2991 * gdb.guile/scm-section-script.scm: New file.
2992 * gdb.guile/scm-symbol.c: New file.
2993 * gdb.guile/scm-symbol.exp: New file.
2994 * gdb.guile/scm-symtab-2.c: New file.
2995 * gdb.guile/scm-symtab.c: New file.
2996 * gdb.guile/scm-symtab.exp: New file.
2997 * gdb.guile/scm-type.c: New file.
2998 * gdb.guile/scm-type.exp: New file.
2999 * gdb.guile/scm-value-cc.cc: New file.
3000 * gdb.guile/scm-value-cc.exp: New file.
3001 * gdb.guile/scm-value.c: New file.
3002 * gdb.guile/scm-value.exp: New file.
3003 * gdb.guile/source2.scm: New file.
3004 * gdb.guile/types-module.cc: New file.
3005 * gdb.guile/types-module.exp: New file.
3007 2014-02-10 Yao Qi <yao@codesourcery.com>
3010 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
3011 * configure: Regenerated.
3012 * Makefile.in: New file.
3014 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3016 * gdb.python/py-framefilter.exp: Fix typo.
3018 2014-02-08 Yao Qi <yao@codesourcery.com>
3020 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
3021 that no =breakpoint-modified is emitted when breakpoints are
3022 modified through MI commands.
3024 2014-02-07 Pedro Alves <pedro@codesourcery.com>
3025 Pedro Alves <palves@redhat.com>
3027 * gdb.threads/step-after-sr-lock.c: New file.
3028 * gdb.threads/step-after-sr-lock.exp: New file.
3030 2014-02-07 Pedro Alves <palves@redhat.com>
3032 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
3034 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3036 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
3037 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
3039 2014-02-06 Doug Evans <xdje42@gmail.com>
3041 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
3044 * gdb.gdb/python-interrupts.exp: New file.
3046 2014-02-05 Yao Qi <yao@codesourcery.com>
3048 * gdb.trace/report.exp (use_collected_data): Test the output
3049 of "info threads" and "info inferiors".
3051 2014-02-05 Yao Qi <yao@codesourcery.com>
3055 2013-05-24 Yao Qi <yao@codesourcery.com>
3057 * gdb.trace/tfile.exp: Test inferior and thread.
3059 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3061 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
3063 * gdb.base/step-bt.c: Call hello via function pointer to make
3064 sure its first instruction is executed on powerpc64le-linux.
3066 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3068 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
3070 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3072 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
3073 of the test patterns for use on little-endian systems.
3075 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3077 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
3078 (decimal_vector): Fix for little-endian.
3080 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3082 * gdb.arch/sparc-sysstep.exp: New file.
3083 * gdb.arch/sparc-sysstep.c: Likewise.
3085 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
3087 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3089 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
3091 2014-01-23 Tom Tromey <tromey@redhat.com>
3093 * gdb.ada/array_char_idx: New testcase.
3095 2014-01-23 Tom Tromey <tromey@redhat.com>
3098 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
3099 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
3102 2014-01-23 Tom Tromey <tromey@redhat.com>
3105 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
3106 string from an inferior frame.
3107 * gdb.python/py-framefilter-mi.exp: Update.
3109 2014-01-22 Doug Evans <dje@google.com>
3111 * gdb.server/server-mon.exp: Add tests for "set debug-format".
3113 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3115 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
3117 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3119 * gdb.trace/entry-values.exp: Remove excess space character from
3120 regex patterns. Handle s390 call instruction.
3122 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3124 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
3125 define "*_start" label. Make "name" static.
3126 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
3127 ${name} by references to ${name}_start.
3129 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3131 * gdb.base/info-macros.exp: Remove "debug" from the compile
3134 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3136 * gdb.dlang/demangle.exp: New file.
3138 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3140 * gdb.dlang/primitive-types.exp: New file.
3142 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3144 * configure.ac: Create gdb.dlang/Makefile.
3145 * configure: Regenerate.
3146 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
3147 * gdb.dlang/Makefile.in: New file.
3148 * lib/d-support.exp: New file.
3149 * lib/gdb.exp (skip_d_tests): New proc.
3151 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3153 * gdb.btrace/delta.exp: Check reverse stepi.
3154 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
3155 * gdb.btrace/finish.exp: New.
3156 * gdb.btrace/next.exp: New.
3157 * gdb.btrace/nexti.exp: New.
3158 * gdb.btrace/record_goto.c: Add comments.
3159 * gdb.btrace/step.exp: New.
3160 * gdb.btrace/stepi.exp: New.
3161 * gdb.btrace/multi-thread-step.c: New.
3162 * gdb.btrace/multi-thread-step.exp: New.
3163 * gdb.btrace/rn-dl-bind.c: New.
3164 * gdb.btrace/rn-dl-bind.exp: New.
3165 * gdb.btrace/data.c: New.
3166 * gdb.btrace/data.exp: New.
3167 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3169 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3171 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
3172 * gdb.btrace/exception.exp: Update.
3173 * gdb.btrace/instruction_history.exp: Update.
3174 * gdb.btrace/record_goto.exp: Update.
3175 * gdb.btrace/tailcall.exp: Update.
3176 * gdb.btrace/unknown_functions.exp: Update.
3177 * gdb.btrace/delta.exp: New.
3179 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3181 * gdb.btrace/record_goto.exp: Add backtrace test.
3182 * gdb.btrace/tailcall.exp: Add backtrace test.
3184 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3186 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
3187 * gdb.btrace/record_goto.c: New.
3188 * gdb.btrace/record_goto.exp: New.
3189 * gdb.btrace/x86-record_goto.S: New.
3191 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3193 * gdb.btrace/function_call_history.exp: Update tests.
3194 * gdb.btrace/instruction_history.exp: Update tests.
3196 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3198 * gdb.btrace/function_call_history.exp: Fix expected field
3199 order for "record function-call-history".
3200 Add new tests for "record function-call-history /c".
3201 * gdb.btrace/exception.cc: New.
3202 * gdb.btrace/exception.exp: New.
3203 * gdb.btrace/tailcall.exp: New.
3204 * gdb.btrace/x86-tailcall.S: New.
3205 * gdb.btrace/x86-tailcall.c: New.
3206 * gdb.btrace/unknown_functions.c: New.
3207 * gdb.btrace/unknown_functions.exp: New.
3208 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3210 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3212 * gdb.btrace/instruction_history.exp: Update.
3213 * gdb.btrace/function_call_history.exp: Update.
3215 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3217 * gdb.btrace/function_call_history.exp: Fix expected function
3219 * gdb.btrace/instruction_history.exp: Initialize traced.
3220 Remove traced_functions.
3222 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3224 * gdb.btrace/function_call_history.exp: Update
3225 * gdb.btrace/instruction_history.exp: Update.
3227 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3229 * gdb.btrace/enable.exp: Update expected text.
3231 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
3233 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
3236 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
3238 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
3240 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3242 * lib/gdb.exp (supports_process_record): Return true for
3243 arm*-linux*. (supports_reverse): Likewise.
3245 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3249 * gdb.python/py-type.c: Enhance test case.
3250 * gdb.python/py-value-cc.cc: Likewise
3251 * gdb.python/py-type.exp: Add new tests.
3252 * gdb.python/py-value-cc.exp: Likewise
3254 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3255 Pedro Alves <palves@redhat.com>
3257 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
3259 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
3260 references to ${name}_start by references to ${name}.
3262 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3264 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
3266 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3268 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
3270 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
3271 Pedro Alves <palves@redhat.com>
3273 * gdb.mi/mi-info-os.exp: Connect to the target with
3276 2014-01-08 Pedro Alves <palves@redhat.com>
3278 * gdb.threads/reconnect-signal.c: New file.
3279 * gdb.threads/reconnect-signal.exp: New file.
3281 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3283 * gdb.base/source-dir.exp: New file.
3285 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3287 * gdb.ada/mi_interface: New testcase.
3289 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3291 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
3292 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
3293 gdb.ada/pp-rec-component/pck.ads: New files.
3295 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3297 * gdb.python/py-pp-integral.c: New file.
3298 * gdb.python/py-pp-integral.py: New file.
3299 * gdb.python/py-pp-integral.exp: New file.
3301 For older changes see ChangeLog-1993-2013.
3307 ;; version-control: never
3310 Copyright 2014 Free Software Foundation, Inc.
3311 Copying and distribution of this file, with or without modification,
3312 are permitted provided the copyright notice and this notice are preserved.