1 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5 test_catch_syscall_multi_arch.
6 (test_catch_syscall_multi_arch): New function.
8 2014-11-20 Doug Evans <xdje42@gmail.com>
10 * gdb.base/maint.exp: Update expected output.
12 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
14 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
15 4-byte instruction on S390.
17 2014-11-19 Joel Brobecker <brobecker@adacore.com>
19 * gdb.ada/arr_arr: New testcase.
21 2014-11-19 Joel Brobecker <brobecker@adacore.com>
23 * gdb.ada/pkd_arr_elem: New Testcase.
25 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
27 * gdb.reverse/break-precsave: Expect completion message for
29 * gdb.reverse/consecutive-precsave.exp: Likewise.
30 * gdb.reverse/finish-precsave.exp: Likewise.
31 * gdb.reverse/i386-precsave.exp: Likewise.
32 * gdb.reverse/machinestate-precsave.exp: Likewise.
33 * gdb.reverse/sigall-precsave.exp: Likewise.
34 * gdb.reverse/solib-precsave.exp: Likewise.
35 * gdb.reverse/step-precsave.exp: Likewise.
36 * gdb.reverse/until-precsave.exp: Likewise.
37 * gdb.reverse/watch-precsave.exp: Likewise.
39 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
41 * gdb.base/bp-permanent.c: Include unistd.h.
42 * gdb.python/py-framefilter-mi.c (main): Add return type.
43 * gdb.python/py-framefilter.c (main): Likewise.
44 * gdb.trace/actions-changed.c (main): Likewise.
46 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
48 * gdb.mi/until.c: Add eye-catchers.
49 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
52 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
54 * gdb.base/condbreak.exp: Drop references to removed non-prototype
55 function header variants in break1.c.
56 * gdb.base/ena-dis-br.exp: Likewise.
57 * gdb.base/hbreak2.exp: Likewise.
58 * gdb.reverse/until-precsave.exp: Drop references to removed
59 non-prototype function header variants in ur1.c.
60 * gdb.reverse/until-reverse.exp: Likewise.
62 2014-11-17 Petr Machata <pmachata@redhat.com>
64 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
65 ${_cu_offset_size} bytes abbrev offset.
67 2014-11-15 Doug Evans <xdje42@gmail.com>
70 * gdb.base/line-symtabs.exp: New file.
71 * gdb.base/line-symtabs.c: New file.
72 * gdb.base/line-symtabs.h: New file.
74 2014-11-14 Yao Qi <yao@codesourcery.com>
76 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
77 (func): Add label func_label.
78 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
79 Replace low_pc and high_pc with MACRO_AT_range.
80 Replace name, low_pc and high_pc with MACRO_AT_func.
82 2014-11-14 Yao Qi <yao@codesourcery.com>
84 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
85 Replace name, low_pc and high_pc with MACRO_AT_func.
87 2014-11-14 Yao Qi <yao@codesourcery.com>
89 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
90 produce debug information.
91 * gdb.dwarf2/implptr-optimized-out.S: Removed.
93 2014-11-14 Yao Qi <yao@codesourcery.com>
95 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
96 object and get function length.
97 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
99 (top-level): Replace gdb_compile and clean_restart with
101 * gdb.dwarf2/main.c (main): Add label main_label.
103 2014-11-14 Yao Qi <yao@codesourcery.com>
105 * lib/dwarf.exp (function_range): New procedure.
106 (Dwarf::_handle_macro_at_func): New procedure.
107 (Dwarf::_handle_macro_at_range): New procedure.
108 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
110 2014-11-14 Yao Qi <yao@codesourcery.com>
112 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
113 (_handle_attribute): New procedure.
115 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
117 * gdb.ada/cond_lang/foo.c (callme): Add return type.
118 * gdb.base/call-sc.c (zed): Likewise.
119 * gdb.base/checkpoint.c (main): Likewise.
120 * gdb.base/dump.c (main): Likewise.
121 * gdb.base/gcore.c (main): Likewise.
122 * gdb.base/huge.c (main): Likewise.
123 * gdb.base/multi-forks.c (main): Likewise.
124 * gdb.base/pr10179-a.c (main): Likewise.
125 * gdb.base/savedregs.c (main): Likewise.
126 * gdb.base/sigaltstack.c (main): Likewise.
127 * gdb.base/siginfo.c (main): Likewise.
128 * gdb.base/structs.c (zed): Likewise.
129 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
130 * gdb.mi/mi-syn-frame.c (main): Likewise.
131 * gdb.mi/until.c (foo, main): Likewise.
132 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
133 * gdb.base/solib-weak.c (foo): Declare.
134 * gdb.base/attach-twice.c: Include stdio.h.
135 * gdb.base/weaklib1.c: Likewise.
136 * gdb.base/weaklib2.c: Likewise.
137 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
138 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
140 * gdb.base/attach-pie-misread.c: Include stdlib.h.
141 * gdb.mi/mi-exit-code.c: Likewise.
142 * gdb.base/break-interp-lib.c: Include string.h.
143 * gdb.base/coremaker.c: Likewise.
144 * gdb.base/testenv.c: Likewise.
145 * gdb.python/py-finish-breakpoint.c: Likewise.
146 * gdb.base/inferior-died.c: Include sys/wait.h.
147 * gdb.base/fileio.c: Include time.h.
148 * gdb.base/async-shell.c: Include unistd.h.
149 * gdb.base/dprintf-non-stop.c: Likewise.
150 * gdb.base/info-os.c: Likewise.
151 * gdb.mi/mi-console.c: Likewise.
152 * gdb.mi/watch-nonstop.c: Likewise.
153 * gdb.python/py-events.c: Likewise.
154 * gdb.base/async.c (baz): Move up before its invocation.
155 * gdb.base/code_elim2.c (my_global_func): Likewise.
156 * gdb.base/skip-solib-lib.c (multiply): Likewise.
157 * gdb.base/advance.c (func2): Likewise.
159 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
161 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
163 * gdb.base/annota3.c: Likewise.
164 * gdb.base/async.c: Likewise.
165 * gdb.base/average.c: Likewise.
166 * gdb.base/call-ar-st.c: Likewise.
167 * gdb.base/call-rt-st.c: Likewise.
168 * gdb.base/call-sc.c: Likewise.
169 * gdb.base/call-strs.c: Likewise.
170 * gdb.base/ending-run.c: Likewise.
171 * gdb.base/execd-prog.c: Likewise.
172 * gdb.base/exprs.c: Likewise.
173 * gdb.base/foll-exec.c: Likewise.
174 * gdb.base/foll-fork.c: Likewise.
175 * gdb.base/foll-vfork.c: Likewise.
176 * gdb.base/funcargs.c: Likewise.
177 * gdb.base/gcore.c: Likewise.
178 * gdb.base/jump.c: Likewise.
179 * gdb.base/langs0.c: Likewise.
180 * gdb.base/langs1.c: Likewise.
181 * gdb.base/langs2.c: Likewise.
182 * gdb.base/mips_pro.c: Likewise.
183 * gdb.base/nodebug.c: Likewise.
184 * gdb.base/opaque0.c: Likewise.
185 * gdb.base/opaque1.c: Likewise.
186 * gdb.base/recurse.c: Likewise.
187 * gdb.base/run.c: Likewise.
188 * gdb.base/scope0.c: Likewise.
189 * gdb.base/scope1.c: Likewise.
190 * gdb.base/setshow.c: Likewise.
191 * gdb.base/setvar.c: Likewise.
192 * gdb.base/shmain.c: Likewise.
193 * gdb.base/shr1.c: Likewise.
194 * gdb.base/shr2.c: Likewise.
195 * gdb.base/sigall.c: Likewise.
196 * gdb.base/signals.c: Likewise.
197 * gdb.base/so-indr-cl.c: Likewise.
198 * gdb.base/solib2.c: Likewise.
199 * gdb.base/structs.c: Likewise.
200 * gdb.base/sum.c: Likewise.
201 * gdb.base/vforked-prog.c: Likewise.
202 * gdb.base/watchpoint.c: Likewise.
203 * gdb.reverse/shr2.c: Likewise.
204 * gdb.reverse/until-reverse.c: Likewise.
205 * gdb.reverse/ur1.c: Likewise.
206 * gdb.reverse/watch-reverse.c: Likewise.
208 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
210 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
212 * gdb.base/sepdebug.exp: Drop references to removed code.
214 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
216 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
217 variant. Preserve original line numbering.
218 * gdb.base/list1.c: Likewise.
220 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
222 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
224 * gdb.base/break1.c: Likewise.
225 * gdb.base/break.exp: Drop references to removed code.
227 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
229 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
232 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
234 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
236 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
238 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
239 logic into perform_all_tests() and invoke it with and without
240 function header prototypes.
241 (do_function_calls): Remove conditional XFAIL for PR 5318.
242 (rerun_and_prepare): Remove duplicate code.
243 (perform_all_tests): New. Main logic moved here.
245 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
247 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
248 code guarded by #ifdef NO_PROTOTYPES.
249 (t_double_many_args): Likewise.
250 (DEF_FUNC_MANY_ARGS_1): Likewise.
251 (DEF_FUNC_VALUES_1): Likewise.
252 (t_structs_ldc): Renamed from t_structs_fc in conditional code
253 guarded by #ifdef PROTOTYPES.
255 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
257 * gdb.mi/mi-console.c: Add eye-catcher.
258 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
259 instead of literal line number.
261 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
263 * gdb.base/shr2.c: Add eye-catcher.
264 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
267 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
269 * gdb.base/jump.c: Add eye-catchers.
270 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
273 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
275 * gdb.base/execd-prog.c: Add eye-catchers.
276 * gdb.base/foll-exec.c: Likewise.
277 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
280 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
282 * gdb.base/ending-run.c: Add eye-catchers.
283 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
284 literal line numbers.
286 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
288 * gdb.base/call-rt-st.c: Add eye-catchers.
289 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
290 literal line numbers.
292 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
294 * gdb.base/call-ar-st.c: Add eye-catchers.
295 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
296 literal line numbers.
298 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
300 * gdb.base/average.c: Add eye-catchers.
301 * gdb.base/sum.c: Likewise.
302 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
305 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
307 * gdb.base/solib1.c: Add eye-catchers.
308 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
309 literal line numbers.
311 2014-11-12 Pedro Alves <palves@redhat.com>
313 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
316 2014-11-12 Pedro Alves <palves@redhat.com>
318 * gdb.arch/i386-bp_permanent.c: New file.
319 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
320 (srcfile): Set to i386-bp_permanent.c.
321 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
322 that stepi does not execute the 'leave' instruction, instead of
323 testing it does execute.
324 * gdb.base/bp-permanent.c: New file.
325 * gdb.base/bp-permanent.exp: New file.
327 2014-11-10 Doug Evans <xdje42@gmail.com>
330 * gdb.base/symtab-search-order.exp: New file.
331 * gdb.base/symtab-search-order.c: New file.
332 * gdb.base/symtab-search-order-1.c: New file.
333 * gdb.base/symtab-search-order-shlib-1.c: New file.
335 2014-11-07 Pedro Alves <palves@redhat.com>
338 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
341 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
344 * gdb.cp/pr17494.cc: New file.
345 * gdb.cp/pr17494.exp: New file.
347 2014-11-02 Yao Qi <yao@codesourcery.com>
349 * gdb.python/python.exp: Get working directory and match the
350 output of "set extended-prompt \\w " with it.
352 2014-10-30 Doug Evans <dje@google.com>
354 * gdb.python/py-objfile.exp: Add tests for setting random attributes
356 * gdb.python/py-progspace.exp: Add tests for setting random attributes
359 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
361 * gdb.base/fullpath-expand.exp: Skip for a remote host.
362 * gdb.base/realname-expand.exp: Likewise.
363 * gdb.linespec/macro-relative.exp: Likewise.
365 2014-10-29 Pedro Alves <palves@redhat.com>
368 * gdb.threads/schedlock.c (some_function): New function.
369 (call_function): New global.
370 (MAYBE_CALL_SOME_FUNCTION): New macro.
371 (thread_function): Call it.
372 * gdb.threads/schedlock.exp (get_args): Add description parameter,
373 and use it instead of a global counter. Adjust all callers.
374 (get_current_thread): Use "find current thread" for test message
375 here rather than having all callers pass down the same string.
376 (goto_loop): New procedure, factored out from ...
377 (my_continue): ... this.
378 (step_ten_loops): Change parameter from test message to command to
380 (list_count): Delete global.
381 (check_result): New procedure, factored out from duplicate top
383 (continue tests): Wrap in with_test_prefix.
384 (test_step): New procedure, factored out from duplicate top level
386 (top level): Test "step" in combination with all scheduler-locking
387 modes. Test "next" in combination with all scheduler-locking
388 modes, and in combination with stepping over a function call or
390 * gdb.threads/next-bp-other-thread.c: New file.
391 * gdb.threads/next-bp-other-thread.exp: New file.
393 2014-10-29 Pedro Alves <palves@redhat.com>
396 * gdb.python/python.exp: Test a multi-line command that spawns
398 * gdb.base/multi-line-starts-subshell.exp: New file.
400 2014-10-29 Yao Qi <yao@codesourcery.com>
402 * gdb.base/fileio.exp: Make directories on host.
404 2014-10-29 Yao Qi <yao@codesourcery.com>
406 * gdb.base/fileio.c (test_write): Close the file.
408 2014-10-28 Pedro Alves <palves@redhat.com>
411 * gdb.base/sigstep.c (no_handler): New global.
412 (main): If 'no_handler is true, set the signal handlers to
414 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
415 with_sw_watch and no_handler parameters. Handle them.
416 (top level) <stepping over handler when stopped at a breakpoint
417 test>: Add a test axis for testing with a software watchpoint, and
418 another for testing with the signal handler set to SIG_IGN.
419 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
420 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
422 2014-10-28 Pedro Alves <palves@redhat.com>
425 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
426 * gdb.base/sigstep.exp (other_handler_location): New global.
427 (advance): Support stepping into the signal handler, and running
428 commands while in the handler.
429 (in_handler_map): New global.
430 (top level): In the advance test, add combinations for getting
431 into the handler with stepping commands, and for running commands
432 in the handler. Add comment descripting the advancei tests.
434 2014-10-28 Pedro Alves <palves@redhat.com>
436 * gdb.base/sigstep.exp: Use build_executable instead of
438 (top level): Move code that starts GDB, runs to main and creates a
440 (restart): ... this new procedure.
441 (top level): Move backtrace from signal handler test to ...
442 (validate_backtrace): ... this new procedure.
443 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
444 with_test_prefix. Always restart GDB.
445 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
446 with_test_prefix. Always restart GDB. No need to delete
447 breakpoints after the test.
448 (test_skip_handler): Remove prefix parameter.
449 (skip_over_handler, breakpoint_to_handler)
450 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
451 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
452 restart GDB. No need to delete breakpoints after the test.
453 (top level): Use foreach to call the test procedures with
456 2014-10-28 Pedro Alves <palves@redhat.com>
458 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
459 instead of GNATS numbers.
460 * gdb.base/sigbpt.exp: Likewise.
461 * gdb.base/siginfo.exp: Likewise.
462 * gdb.base/sigstep.exp: Likewise.
464 2014-10-27 Pedro Alves <palves@redhat.com>
466 * gdb.base/sigstep.c (dummy): New global.
467 (main): Issue a couple writes to the new global.
468 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
470 (skip_over_handler): Use test_skip_handler.
471 (top level): Call skip_over_handler for stepi and nexti too.
472 (breakpoint_over_handler): Use test_skip_handler.
473 (top level): Call breakpoint_over_handler for stepi and nexti too.
475 2014-10-27 Yao Qi <yao@codesourcery.com>
477 * gdb.trace/tfile.c (adjust_function_address)
478 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
481 2014-10-24 Don Breazeal <donb@codesourcery.com>
483 * gdb.base/foll-fork.exp (test_follow_fork,
484 catch_fork_child_follow): Check for updated fork messages emitted
486 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
487 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
488 vfork_and_exec_child_follow_through_step): Check for updated vfork
489 messages emitted from infrun.c.
491 2014-10-24 Pedro Alves <palves@redhat.com>
493 * gdb.base/corefile.exp: Remove references to ultrix.
494 * gdb.base/interrupt.exp: Likewise.
495 * gdb.base/whatis.exp: Likewise.
496 * gdb.gdb/selftest.exp: Likewise.
497 * gdb.threads/manythreads.exp: Likewise.
498 * gdb.threads/print-threads.exp: Likewise.
499 * gdb.threads/pthreads.exp:: Likewise.
500 * gdb.threads/schedlock.exp: Likewise.
502 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
504 * gdb.cp/non-trivial-retval.cc: Add a test case.
505 * gdb.cp/non-trivial-retval.exp: Add a test.
507 2014-10-20 Yao Qi <yao@codesourcery.com>
509 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
510 * gdb.python/py-objfile-script-gdb.py: New file.
511 * gdb.python/py-objfile-script.exp: Update reference to
512 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
513 of remote_download. Remove the dest file.
515 2014-10-20 Yao Qi <yao@codesourcery.com>
517 * gdb.base/checkpoint.exp: Don't remove file copied on host.
518 * gdb.base/step-line.exp: Likewise.
519 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
520 * gdb.dwarf2/dw2-basic.exp: Likewise.
521 * gdb.dwarf2/dw2-compressed.exp: Likewise.
522 * gdb.dwarf2/dw2-filename.exp: Likewise.
523 * gdb.dwarf2/dw2-intercu.exp: Likewise.
524 * gdb.dwarf2/dw2-intermix.exp: Likewise.
525 * gdb.dwarf2/dw2-producer.exp: Likewise.
526 * gdb.dwarf2/mac-fileno.exp: Likewise.
527 * gdb.python/py-frame-args.exp: Likewise.
528 * gdb.python/py-framefilter.exp: Likewise.
529 * gdb.python/py-mi.exp: Likewise.
530 * gdb.python/py-objfile-script.exp: Likewise
531 * gdb.python/py-pp-integral.exp: Likewise.
532 * gdb.python/py-pp-re-notag.exp: Likewise.
533 * gdb.python/py-prettyprint.exp: Likewise.
534 * gdb.python/py-section-script.exp: Likewise.
535 * gdb.python/py-typeprint.exp: Likewise.
536 * gdb.python/py-xmethods.exp: Likewise.
537 * gdb.stabs/weird.exp: Likewise.
538 * gdb.xml/tdesc-regs.exp: Likewise.
540 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
542 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
543 (out_cu): Use addr_len for the size of addresses.
544 (out_line): Likewise. Size DW_LNE_set_address instruction
545 according to addr_len.
546 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
547 (FUNC): Add START_INSNS to definition.
549 2014-10-18 Yao Qi <yao@codesourcery.com>
551 * gdb.base/argv0-symlink.exp: Check argv[0] value if
552 gdb_has_argv0 return true.
553 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
554 check [target_info exists noargs], check [gdb_has_argv0]
556 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
557 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
560 2014-10-17 Doug Evans <dje@google.com>
562 * gdb.python/py-events.exp: Update expected output for clear_objfiles
564 * gdb.python/py-events.py: Add clear_objfiles event.
566 2014-10-17 Doug Evans <dje@google.com>
568 * gdb.python/py-objfile.exp: Test progspace attribute.
570 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
572 * gdb.guile/scm-breakpoint.exp: Do not assume any
573 directory separators when matching source file paths.
574 * gdb.python/py-breakpoint.exp: Likewise.
575 * gdb.reverse/break-precsave.exp: Likewise.
576 * gdb.reverse/break-reverse.exp: Likewise.
577 * gdb.reverse/consecutive-precsave.exp: Likewise.
578 * gdb.reverse/finish-precsave.exp: Likewise.
579 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
580 * gdb.reverse/finish-reverse.exp: Likewise.
581 * gdb.reverse/i386-precsave.exp: Likewise.
582 * gdb.reverse/i387-env-reverse.exp: Likewise.
583 * gdb.reverse/i387-stack-reverse.exp: Likewise.
584 * gdb.reverse/machinestate-precsave.exp: Likewise.
585 * gdb.reverse/machinestate.exp: Likewise.
586 * gdb.reverse/sigall-precsave.exp: Likewise.
587 * gdb.reverse/solib-precsave.exp: Likewise.
588 * gdb.reverse/step-precsave.exp: Likewise.
589 * gdb.reverse/until-precsave.exp: Likewise.
590 * gdb.reverse/watch-precsave.exp: Likewise.
591 * gdb.reverse/watch-reverse.exp: Likewise.
593 2014-10-17 Yao Qi <yao@codesourcery.com>
595 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
596 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
598 2014-10-17 Pedro Alves <palves@redhat.com>
601 * gdb.base/bg-execution-repeat.c: New file.
602 * gdb.base/bg-execution-repeat.exp: New file.
604 2014-10-17 Pedro Alves <palves@redhat.com>
607 * gdb.base/continue-all-already-running.c: New file.
608 * gdb.base/continue-all-already-running.exp: New file.
610 2014-10-17 Pedro Alves <palves@redhat.com>
613 * gdb.base/annota-input-while-running.c: New file.
614 * gdb.base/annota-input-while-running.exp: New file.
616 2014-10-17 Pedro Alves <palves@redhat.com>
618 * gdb.base/callfuncs.exp: emove references to osf.
619 * gdb.base/sigall.exp: Likewise.
620 * gdb.gdb/selftest.exp: Likewise.
621 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
622 * gdb.mi/non-stop.c: Likewise.
623 * gdb.mi/pthreads.c: Likewise.
624 * gdb.reverse/sigall-precsave.exp: Likewise.
625 * gdb.reverse/sigall-reverse.exp: Likewise.
626 * gdb.threads/pthreads.c: Likewise.
627 * gdb.threads/pthreads.exp: Likewise.
629 2014-10-17 Yao Qi <yao@codesourcery.com>
631 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
632 check 'target_info exists noargs'.
633 (test_command_prompt_position): Likewise.
634 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
636 (progvar_simple_while_test): Likewise.
637 (progvar_complex_if_while_test): Likewise.
638 (if_while_breakpoint_command_test): Likewise.
639 (infrun_breakpoint_command_test): Likewise.
640 (breakpoint_command_test): Likewise.
641 (watchpoint_command_test): Likewise.
642 (bp_deleted_in_command_test): Likewise.
643 (temporary_breakpoint_commands): Likewise.
645 2014-10-16 Yao Qi <yao@codesourcery.com>
647 * gdb.base/remotetimeout.exp: Remove noargs checking.
649 2014-10-15 Pedro Alves <palves@redhat.com>
652 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
653 * gdb.base/breakpoint-in-ro-region.exp
654 (probe_target_hardware_step): New procedure.
655 (top level): Probe hardware stepping and hardware breakpoint
656 support. Test stepping through a read-only region, with both
657 "breakpoint auto-hw" on and off and both "always-inserted" on and
660 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
662 * gdb.dlang/demangle.exp: Update for demangling changes.
664 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
666 * gdb.cp/non-trivial-retval.cc: Add new test cases.
667 * gdb.cp/non-trivial-retval.exp: Add new tests.
669 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
673 * gdb.cp/non-trivial-retval.cc: New file.
674 * gdb.cp/non-trivial-retval.exp: New file.
676 2014-10-15 Yao Qi <yao@codesourcery.com>
678 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
681 2014-10-15 Yao Qi <yao@codesourcery.com>
683 * gdb.python/py-symbol.exp: Match file base name if host is
684 remote, otherwise match file name with dir name.
685 * gdb.python/py-symtab.exp: Likewise.
686 * gdb.python/python.exp: Likewise.
688 2014-10-15 Yao Qi <yao@codesourcery.com>
690 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
692 * gdb.python/py-symtab.exp: Likewise.
693 * gdb.python/python.exp: Remove trailing ".*". Fix typo
696 2014-10-14 Joel Brobecker <brobecker@adacore.com>
698 * gdb.ada/addr_arith: New testcase.
700 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
702 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
703 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
704 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
705 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
707 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
709 * gdb.arch/stap-eval-lang-ada.S: Likewise.
710 * gdb.arch/stap-eval-lang-ada.c: Likewise.
711 * gdb.arch/stap-eval-lang-ada.exp: New file.
713 2014-10-14 Yao Qi <yao@codesourcery.com>
715 * gdb.mi/mi-var-child.c (nothing1): New function.
716 (nothing2): New function.
717 (do_children_tests): Set function pointers by nothing1 and
719 * gdb.mi/mi-var-child.exp: Step over new added statements.
720 Update test to match the new output.
721 * gdb.mi/var-cmd.c (nothing1): New function.
722 (nothing2): New function.
723 (do_children_tests): Set function pointers by nothing1 and
725 * gdb.mi/mi-var-display.exp: Update test to match output.
726 Step to the line specified by $line_dct_nothing.
727 Increase the number of lines to step.
729 2014-10-14 Yao Qi <yao@codesourcery.com>
731 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
733 * gdb.mi/mi2-var-child.exp: Likewise.
735 2014-10-13 Doug Evans <dje@google.com>
737 * gdb.python/py-objfile.exp: Change name of file name test.
739 2014-10-13 Doug Evans <dje@google.com>
741 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
742 from the start of the CU.
744 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
745 Yao Qi <yao@codesourcery.com>
747 Fix "save breakpoints" for "catch" command.
748 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
749 Remove -nonewline. Match also the added "main" line.
751 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
753 Fix "save breakpoints" for "disable $bpnum" command.
754 * gdb.base/save-bp.c (main): Add label.
755 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
757 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
759 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
761 2014-10-11 Yao Qi <yao@codesourcery.com>
763 * gdb.server/server-kill.exp: Execute command
764 "set remote trace-status-packet on" before "tstatus".
766 2014-10-11 Yao Qi <yao@codesourcery.com>
768 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
769 (main): Call getppid.
770 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
771 and continue to it. Read variable "server_pid".
773 2014-10-11 Yao Qi <yao@codesourcery.com>
775 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
777 2014-10-11 Yao Qi <yao@codesourcery.com>
779 * gdb.threads/thread-find.exp: Don't execute command
781 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
782 * gdb.threads/linux-dp.exp: Don't check the condition
783 $threads_created equals to zero.
785 2014-10-10 Pedro Alves <palves@redhat.com>
787 * gdb.base/bigcore.exp: Remove references to IRIX.
788 * gdb.base/funcargs.exp: Likewise.
789 * gdb.base/interrupt.exp: Likewise.
790 * gdb.base/mips_pro.exp: Likewise.
791 * gdb.base/nodebug.exp: Likewise.
792 * gdb.base/setvar.exp: Likewise.
793 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
795 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
796 Pedro Alves <palves@redhat.com>
799 * gdb.base/vdso-warning.c: New file.
800 * gdb.base/vdso-warning.exp: New file.
802 2014-10-02 Doug Evans <dje@google.com>
804 * gdb.base/structs.c (main): Don't run forever.
806 2014-10-02 Pedro Alves <palves@redhat.com>
808 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
809 (top level) <stop threads 1, stop threads 2>: Use it.
811 2014-10-02 Pedro Alves <palves@redhat.com>
813 * gdb.threads/break-while-running.exp (test): Add new
814 'update_thread_list' argument. Skip "info threads" if false.
815 (top level): Add new 'update_thread_list' axis.
817 2014-10-02 Pedro Alves <palves@redhat.com>
820 * gdb.base/execl-update-breakpoints.c: New file.
821 * gdb.base/execl-update-breakpoints.exp: New file.
823 2014-10-01 Pedro Alves <palves@redhat.com>
825 * gdb.base/breakpoint-in-ro-region.c: New file.
826 * gdb.base/breakpoint-in-ro-region.exp: New file.
828 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
830 * gdb.mi/mi-exit-code.exp: New file.
831 * gdb.mi/mi-exit-code.c: New file.
833 2014-09-30 Yao Qi <yao@codesourcery.com>
835 * lib/prelink-support.exp (build_executable_own_libs): Error if
836 the target isn't native.
838 2014-09-30 Yao Qi <yao@codesourcery.com>
840 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
843 2014-09-22 Pedro Alves <palves@redhat.com>
845 * gdb.threads/break-while-running.exp: New file.
846 * gdb.threads/break-while-running.c: New file.
848 2014-09-19 Yao Qi <yao@codesourcery.com>
850 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
851 Invoke test. Restart GDB with --readnow and invoke test again.
853 2014-09-19 Yao Qi <yao@codesourcery.com>
855 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
856 proc set_breakpoint_on_gcd_function. Invoke
857 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
858 invoke set_breakpoint_on_gcd_function again.
860 2014-09-18 Doug Evans <dje@google.com>
862 * gdb.dwarf2/symtab-producer.exp: New file.
864 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
866 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
867 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
868 * gdb.base/global-var-nested-by-dso.c: Likewise.
869 * gdb.base/global-var-nested-by-dso.exp: Likewise.
871 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
872 Pedro Alves <palves@redhat.com>
874 * gdb.base/watch-bitfields.exp: Pass string other than test file
875 name to prepare_for_testing.
876 (watch): New procedure.
877 (expect_watchpoint): Use with_test_prefix.
878 (top level): Factor out tests to ...
879 (test_watch_location, test_regular_watch): ... these new
880 procedures, and use with_test_prefix and gdb_continue_to_end.
882 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
885 * gdb.base/watch-bitfields.exp: New file.
886 * gdb.base/watch-bitfields.c: New file.
888 2014-09-16 Pedro Alves <palves@redhat.com>
890 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
891 software and hardware addresses, not software address against
894 2014-09-16 Pedro Alves <palves@redhat.com>
896 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
897 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
899 2014-09-16 Pedro Alves <palves@redhat.com>
901 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
903 * gdb.base/a2-run.exp: Remove all code guarded by istarget
904 "*-*-vxworks*" throughout.
905 * gdb.base/break.exp: Likewise.
906 * gdb.base/default.exp: Likewise.
907 * gdb.base/scope.exp: Likewise.
908 * gdb.base/sepdebug.exp: Likewise.
909 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
911 * gdb.base/run.c: Likewise.
912 * gdb.base/sepdebug.c: Likewise.
913 * gdb.hp/gdb.aCC/run.c: Likewise.
914 * gdb.reverse/until-reverse.c: Likewise.
915 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
917 2014-09-16 Yao Qi <yao@codesourcery.com>
919 * boards/local-remote-host-native.exp: New file.
921 2014-09-14 Doug Evans <xdje42@gmail.com>
923 * gdb.threads/queue-signal.c (thread_count): New variable.
924 (thread_count_mutex, thread_count_condvar): New variables.
925 (incr_thread_count, wait_all_threads_running): New functions.
926 (main): Wait for all threads to be in their thread functions.
928 2014-09-13 Doug Evans <xdje42@gmail.com>
930 * gdb.threads/queue-signal.c: New file.
931 * gdb.threads/queue-signal.exp: New file.
933 2014-09-13 Doug Evans <xdje42@gmail.com>
935 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
936 be consistent with what default_gdb_init uses.
937 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
938 the plain text of the prompt. Add some logging printfs.
939 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
941 2014-09-12 Pedro Alves <palves@redhat.com>
943 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
944 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
945 * gdb.arch/i386-size-overlap.exp: Likewise.
946 * gdb.arch/i386-size.exp: Likewise.
947 * gdb.arch/i386-unwind.exp: Likewise.
948 * gdb.base/a2-run.exp: Likewise.
949 * gdb.base/break.exp: Likewise.
950 * gdb.base/charset.exp: Likewise.
951 * gdb.base/chng-syms.exp: Likewise.
952 * gdb.base/commands.exp: Likewise.
953 * gdb.base/dbx.exp: Likewise.
954 * gdb.base/find.exp: Likewise.
955 * gdb.base/funcargs.exp: Likewise.
956 * gdb.base/jit-simple.exp: Likewise.
957 * gdb.base/reread.exp: Likewise.
958 * gdb.base/sepdebug.exp: Likewise.
959 * gdb.base/step-bt.exp: Likewise.
960 * gdb.cp/mb-inline.exp: Likewise.
961 * gdb.cp/mb-templates.exp: Likewise.
962 * gdb.objc/basicclass.exp: Likewise.
963 * gdb.threads/killed.exp: Likewise.
965 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
968 * gdb.arch/powerpc-stackless.S: New file.
969 * gdb.arch/powerpc-stackless.exp: New file.
971 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
973 * gdb.base/attach.c: Include unistd.h.
974 (main): Call alarm. Add label postloop.
975 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
976 gdb_breakpoint, gdb_continue_to_breakpoint.
977 (test_command_line_attach_run): Kill ${testpid} in one exit path.
979 2014-09-11 Pedro Alves <palves@redhat.com>
982 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
983 * gdb.base/attach.exp (test_command_line_attach_run): New
985 (top level): Call it.
987 2014-09-11 Pedro Alves <palves@redhat.com>
989 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
990 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
991 (do_command_attach_tests): Use spawn_wait_for_attach.
992 * gdb.base/solib-overlap.exp: Likewise.
993 * gdb.multi/multi-attach.exp: Likewise.
994 * gdb.python/py-prompt.exp: Likewise.
995 * gdb.python/py-sync-interp.exp: Likewise.
996 * gdb.server/ext-attach.exp: Likewise.
998 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
1000 * gdb.fortran/array-element.exp: Remove unexpected "continue"
1001 command in testcase. Simplify testcase.
1003 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1005 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
1007 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1009 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
1011 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1013 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
1015 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1017 * gdb.dwarf2/dynarr-ptr.c: New file.
1018 * gdb.dwarf2/dynarr-ptr.exp: New file.
1020 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1022 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
1023 of 30 rather than hardcoding 120 for a slow test case. Take the
1024 `gdb,timeout' target setting into account for this calculation.
1025 Don't extend the timeout for the test cases that don't need it.
1027 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1029 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
1030 a factor of 2 for a slow test case. Take the `gdb,timeout'
1031 target setting into account for this calculation.
1032 * gdb.reverse/until-precsave.exp: Increase the timeout by
1033 a factor of 15 and 3 respectively rather than adding 120
1034 for a pair of slow test cases. Take the `gdb,timeout'
1035 target setting into account for this calculation.
1037 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1039 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
1040 timeout, don't pass one down to gdb_expect.
1041 (gdb_expect): Rework timeout selection.
1043 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1045 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
1046 exception on timeout.
1047 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
1048 (gdbserver_start_extended): Catch any `gdbserver_start' error
1050 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
1051 * lib/mi-support.exp (mi_gdb_target_load): Catch any
1052 `gdbserver_gdb_load' error exceptions.
1054 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1056 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
1057 120 on waiting for the TCP socket to open.
1059 2014-09-09 Doug Evans <xdje42@gmail.com>
1061 * gdb.base/default.exp (show_conv_list): Add _caller_is,
1062 _caller_matches, _any_caller_is, _any_caller_matches.
1064 2014-09-09 Doug Evans <xdje42@gmail.com>
1066 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
1068 2014-09-09 Yao Qi <yao@codesourcery.com>
1070 * gdb.mi/mi-var-display.exp: Set print symbol off.
1072 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
1075 * gdb.base/commands.exp: Add tests to verify user-defined
1076 commands with empty bodies.
1077 * gdb.python/py-cmd.exp: Test that we don't show user-defined
1078 python commands in `show user command`.
1079 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
1080 scheme commands in `show user command`.
1082 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1085 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
1086 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
1087 * gdb.python/py-framefilter-invalidarg.exp: New file.
1088 * gdb.python/py-framefilter-invalidarg.py: New file.
1090 2014-09-06 Doug Evans <xdje42@gmail.com>
1093 * gdb.python/py-caller-is.c: New file.
1094 * gdb.python/py-caller-is.exp: New file.
1096 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
1099 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
1100 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
1102 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
1105 * gdb.fortran/print-formatted.exp: New file.
1106 * gdb.fortran/print-formatted.f90: Likewise.
1108 2014-09-03 Sasha Smundak <asmundak@google.com>
1110 * gdb.python/py-frame.exp: Test Frame.read_register.
1112 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
1115 * gdb.python/py-completion.exp: New file.
1116 * gdb.python/py-completion.py: Likewise.
1118 2014-08-28 Doug Evans <dje@google.com>
1120 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
1121 eax,etc. are live with values set by gdb and thus the compiler can't
1123 * gdb.arch/i386-pseudo.c (main): Ditto.
1125 2014-08-27 Doug Evans <dje@google.com>
1127 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
1129 2014-08-25 Doug Evans <dje@google.com>
1131 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
1134 2014-08-25 Doug Evans <dje@google.com>
1136 * gdb.threads/thread-execl.exp: #include <stdio.h>.
1138 2014-08-24 Yao Qi <yao@codesourcery.com>
1140 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
1142 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
1144 2014-08-22 Doug Evans <dje@google.com>
1147 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
1148 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
1149 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
1151 2014-08-22 Yao Qi <yao@codesourcery.com>
1153 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
1154 * gdb.python/py-finish-breakpoint2.exp: Likewise.
1155 * gdb.python/python.exp: Likewise. Use .py file on the host
1156 instead of the build.
1158 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1160 * gdb.threads/gcore-stale-thread.c: New file.
1161 * gdb.threads/gcore-stale-thread.exp: New file.
1163 2014-08-21 Pedro Alves <palves@redhat.com>
1165 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
1166 * gdb.base/gcore-relro-pie.exp: Likewise.
1167 * gdb.base/gcore-relro.exp: Likewise.
1168 * gdb.base/gcore.exp: Likewise.
1169 * gdb.base/print-symbol-loading.exp: Likewise.
1170 * gdb.threads/gcore-thread.exp: Likewise.
1171 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
1173 2014-08-20 Pedro Alves <palves@redhat.com>
1174 Jan Kratochvil <jan.kratochvil@redhat.com>
1176 * Makefile.in (EXTRA_RULES, CC): New variables, get from
1178 (EXPECT): Handle READ1 being set.
1179 (all): Depend on EXTRA_RULES.
1180 (check-read1, expect-read1, read1.so, read1): New rules.
1181 * README (Testsuite Parameters): Document the READ1 make variable.
1182 (Race detection): New section.
1183 * configure: Regenerate.
1184 * configure.ac: If build==host==target, and running under a
1185 GNU/glibc system, add read1 to the extra Makefile rules.
1186 (EXTRA_RULES): AC_SUBST it.
1187 * lib/read1.c: New file.
1189 2014-08-20 Joel Brobecker <brobecker@adacore.com>
1191 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
1192 the handling of variables declared as a typedef to an array
1193 which a DW_AT_data_location attribute.
1195 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
1196 Pedro Alves <palves@redhat.com>
1200 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
1203 2014-08-19 Pedro Alves <palves@redhat.com>
1205 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
1207 2014-08-19 Yao Qi <yao@codesourcery.com>
1209 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
1212 2014-08-18 David Blaikie <dblaikie@gmail.com>
1214 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
1216 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1218 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
1219 attribute in array range.
1221 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1223 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
1225 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1228 * gdb.cp/pr17132.cc: New file.
1229 * gdb.cp/pr17132.exp: New file.
1231 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1233 * gdb.python/py-xmethods.py (A_getarrayind)
1234 (E_method_char_worker.__call__, E_method_int_worker.__call__):
1235 Use 'print' with function call syntax.
1236 (E_method_matcher.match): Fix tab vs space indentation mixup.
1238 2014-08-15 Yao Qi <yao@codesourcery.com>
1240 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
1243 2014-08-15 Yao Qi <yao@codesourcery.com>
1245 * gdb.cp/casts.exp: Set print symbol off.
1246 * gdb.cp/class2.exp: Likewise.
1247 * gdb.cp/overload.exp: Likewise.
1248 * gdb.cp/templates.exp: Likewise.
1250 2014-08-11 Doug Evans <dje@google.com>
1252 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1253 (test_load_shlib): Update.
1255 2014-08-09 Yao Qi <yao@codesourcery.com>
1257 * gdb.base/display.exp: Invoke is_address_zero_readable.
1258 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
1259 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1260 * gdb.base/hbreak-unmapped.exp: Return if
1261 is_address_zero_readable returns true.
1262 * gdb.base/signest.exp: Likewise.
1263 * gdb.base/signull.exp: Likewise.
1264 * gdb.base/sigbpt.exp: Likewise.
1265 * gdb.guile/scm-disasm.exp: Do the test if
1266 is_address_zero_readable returns false.
1267 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
1268 * gdb.python/py-arch.exp: Likewise.
1269 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
1270 * lib/gdb.exp (is_address_zero_readable): New proc.
1272 2014-08-09 Yao Qi <yao@codesourcery.com>
1275 * gdb.mi/mi-var-display.exp: Make test messages unique.
1277 2014-08-04 Tom Tromey <tromey@redhat.com>
1279 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
1282 2014-08-04 Tom Tromey <tromey@redhat.com>
1284 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
1287 2014-08-01 Joel Brobecker <brobecker@adacore.com>
1289 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
1290 inner_vla_struct_object_size.
1291 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
1294 2014-07-30 Pedro Alves <palves@redhat.com>
1296 * gdb.threads/signal-command-handle-nopass.exp (test): Add
1299 2014-07-29 Yao Qi <yao@codesourcery.com>
1302 * gdb.base/until-nodebug.exp: New.
1304 2014-07-28 Doug Evans <xdje42@gmail.com>
1307 * gdb.guile/scm-parameter.exp: Add tests for trying to create
1308 previously existing parameter, and previously ambiguously spelled
1311 2014-07-28 Will Newton <will.newton@linaro.org>
1313 * gdb.base/varargs.exp: Remove KFAILs for ARM.
1315 2014-07-26 Ludovic Courtès <ludo@gnu.org>
1316 Doug Evans <xdje42@gmail.com>
1319 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
1321 2014-07-25 Pedro Alves <palves@redhat.com>
1323 * gdb.threads/signal-command-handle-nopass.c: New file.
1324 * gdb.threads/signal-command-handle-nopass.exp: New file.
1325 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
1326 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
1327 * gdb.threads/signal-delivered-right-thread.c: New file.
1328 * gdb.threads/signal-delivered-right-thread.exp: New file.
1330 2014-07-25 Pedro Alves <palves@redhat.com>
1332 * gdb.base/double-prompt-target-event-error.exp
1333 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
1335 (cancel_pagination_in_target_event): Rework double prompt
1337 * gdb.base/paginate-after-ctrl-c-running.exp
1338 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
1340 * gdb.base/paginate-bg-execution.exp
1341 (test_bg_execution_pagination_return)
1342 (test_bg_execution_pagination_cancel): Remove '-notransfer
1344 * gdb.base/paginate-execution-startup.exp
1345 (test_fg_execution_pagination_return)
1346 (test_fg_execution_pagination_cancel): Remove '-notransfer
1348 * gdb.base/paginate-inferior-exit.exp
1349 (test_paginate_inferior_exited): Remove '-notransfer <return>'
1351 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
1352 * lib/gdb.exp (pagination_prompt): Run text through
1354 (gdb_test_multiple): Match $pagination_prompt instead of
1356 (string_to_regexp): Move to lib/gdb-utils.exp.
1358 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1360 * gdb.arch/amd64-entry-value-paramref.S: New file.
1361 * gdb.arch/amd64-entry-value-paramref.cc: New file.
1362 * gdb.arch/amd64-entry-value-paramref.exp: New file.
1363 * gdb.arch/amd64-optimout-repeat.S: New file.
1364 * gdb.arch/amd64-optimout-repeat.c: New file.
1365 * gdb.arch/amd64-optimout-repeat.exp: New file.
1367 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1370 * gdb.base/statistics.exp: New file.
1372 2014-07-17 Doug Evans <dje@google.com>
1375 * gdb.base/maint.exp: Update testing of per-command stats.
1377 2014-07-16 Pedro Alves <palves@redhat.com>
1379 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
1380 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
1381 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
1382 (tfile_write_buf): New functions.
1383 (add_memory_block): Rewrite using the above.
1384 (adjust_function_address): New function.
1385 (FUNCTION_ADDRESS): New macro.
1386 (write_basic_trace_file): Remove short_x local, and use
1387 tfile_write_16. Change type of func_addr local to unsigned long
1388 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
1389 here. Cast argument of add_memory_block to char pointer.
1390 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
1391 (main): Remove parameters.
1392 * gdb.trace/tfile.exp: Remove nowarnings.
1394 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1396 * gdb.base/debug-expr.exp: Test string evaluation with
1397 "debug expression" on.
1399 2014-07-15 Pedro Alves <palves@redhat.com>
1401 * gdb.base/reread.exp: Use clean_restart.
1403 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1405 * gdb.arch/avr-flash-qualifer.c: New.
1406 * gdb.arch/avr-flash-qualifer.exp: New.
1408 2014-07-14 Pedro Alves <palves@redhat.com>
1410 * gdb.base/paginate-after-ctrl-c-running.c: New file.
1411 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1413 2014-07-14 Pedro Alves <palves@redhat.com>
1415 * gdb.base/double-prompt-target-event-error.c: New file.
1416 * gdb.base/double-prompt-target-event-error.exp: New file.
1418 2014-07-14 Pedro Alves <palves@redhat.com>
1421 * gdb.base/paginate-inferior-exit.c: New file.
1422 * gdb.base/paginate-inferior-exit.exp: New file.
1424 2014-07-14 Pedro Alves <palves@redhat.com>
1427 * gdb.base/paginate-bg-execution.c: New file.
1428 * gdb.base/paginate-bg-execution.exp: New file.
1430 2014-07-14 Pedro Alves <palves@redhat.com>
1433 * gdb.base/paginate-execution-startup.c: New file.
1434 * gdb.base/paginate-execution-startup.exp: New file.
1435 * lib/gdb.exp (pagination_prompt): New global.
1436 (default_gdb_spawn): New procedure, factored out from
1438 (default_gdb_start): Adjust to call default_gdb_spawn.
1439 (gdb_spawn): New procedure.
1441 2014-07-14 Pedro Alves <palves@redhat.com>
1443 * lib/gdb.exp (gdb_assert): New procedure.
1444 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
1446 2014-07-14 Pedro Alves <palves@redhat.com>
1448 * gdb.base/execution-termios.c: New file.
1449 * gdb.base/execution-termios.exp: New file.
1451 2014-07-14 Tom Tromey <tromey@redhat.com>
1453 * gdb.cp/vla-cxx.cc: New file.
1454 * gdb.cp/vla-cxx.exp: New file.
1456 2014-07-14 Tom Tromey <tromey@redhat.com>
1458 * gdb.reverse/rerun-prec.c: New file.
1459 * gdb.reverse/rerun-prec.exp: New file.
1461 2014-07-12 Maciej W. Rozycki <macro@mips.com>
1462 Maciej W. Rozycki <macro@codesourcery.com>
1464 * lib/gdb-utils.exp: New file.
1465 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
1466 inline `gdb_init_command' processing.
1467 (gdb_start_cmd): Likewise.
1468 * lib/mi-support.exp (mi_run_cmd): Likewise.
1469 * README: Document `gdb_init_command' and `gdb_init_commands'.
1471 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1473 Fix false FAIL running under a very long directory name.
1474 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1475 and "set print elements 10000". Twice.
1477 2014-07-11 Yao Qi <yao@codesourcery.com>
1479 * gdb.base/exprs.exp: "set print symbol off".
1481 2014-07-11 Pedro Alves <palves@redhat.com>
1483 * gdb.threads/kill.c: New file.
1484 * gdb.threads/kill.exp: New file.
1486 2014-07-10 Yao Qi <yao@codesourcery.com>
1488 * gdb.trace/tfile.c (write_basic_trace_file)
1489 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1490 address written to trace file.
1492 2014-07-09 Pedro Alves <palves@redhat.com>
1494 * gdb.base/attach-wait-input.exp: New file.
1495 * gdb.base/attach-wait-input.c: New file.
1497 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1499 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1500 setting up test structures.
1501 (main): Call new test function.
1502 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1503 test function, continue into test function and walk test
1506 2014-07-02 Yao Qi <yao@codesourcery.com>
1508 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1509 'bar_start' at the beginning of functions 'foo' and 'bar'
1511 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1512 instead of 'foo' and 'bar'.
1514 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1516 * gdb.btrace/segv.exp: New.
1517 * gdb.btrace/segv.c: New.
1519 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
1521 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1524 2014-06-30 Mark Wielaard <mjw@redhat.com>
1526 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1527 vulture, vilify, villar): New volatile array constants.
1528 (vindictive, vegetation): New const volatile array constants.
1529 * gdb.base/volatile.exp: Test volatile and const volatile array
1532 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1534 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1535 target lacks support for awatch, rwatch, or hbreak.
1537 2014-06-27 Yao Qi <yao@codesourcery.com>
1539 * gdb.multi/dummy-frame-restore.exp: New.
1540 * gdb.multi/dummy-frame-restore.c: New.
1542 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1544 * gdb.btrace/gcore.exp: New.
1546 2014-06-23 Pedro Alves <palves@redhat.com>
1548 * gdb.base/watchpoint-reuse-slot.c: New file.
1549 * gdb.base/watchpoint-reuse-slot.exp: New file.
1551 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1553 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1554 progspace's filename in 'info', 'enable' and 'disable' command
1557 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1559 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1560 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1561 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1563 2014-06-20 Gary Benson <gbenson@redhat.com>
1565 * gdb.arch/i386-avx.exp: Fix include file location.
1566 * gdb.arch/i386-sse.exp: Likewise.
1568 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1570 * gdb.dlang/expression.exp: New file.
1572 2014-06-19 Pedro Alves <palves@redhat.com>
1574 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1576 (top level): ... here. Iterate running tests under different
1577 scheduler-locking settings.
1579 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
1581 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1582 to DW_FORM_addr and use non-zero addresses.
1584 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1587 * gdb.python/py-xmethods.cc: Add global function call counters and
1588 increment them in their respective functions. Remove "cout"
1590 * gdb.python/py-xmethods.exp: Make tests check the global function
1591 call counters instead of depending on inferior IO.
1593 2014-06-18 Don Breazeal <donb@codesourcery.com>
1595 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1597 (explicit_fork_parent_follow): Deleted procedure.
1598 (explicit_fork_child_follow): Deleted procedure.
1599 (test_follow_fork): New procedure.
1600 (do_fork_tests): Replace calls to deleted procedures with
1601 calls to test_follow_fork and reset GDB for subsequent
1604 2014-06-17 Yao Qi <yao@codesourcery.com>
1606 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1609 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
1611 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1612 Initialize ptr and S explicitly.
1613 (skip_type_update_when_not_use_rtti_test): Likewise.
1615 2014-06-16 Keith Seitz <keiths@redhat.com>
1618 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1619 the inferior is started.
1621 2014-06-16 Pedro Alves <palves@redhat.com>
1623 * gdb.base/break-main-file-remove-fail.c: New file.
1624 * gdb.base/break-main-file-remove-fail.exp: New file.
1625 * gdb.base/break-unload-file.exp: Use build_executable instead of
1626 prepare_for_testing.
1627 (test_break): New parameter "initial_load". Handle it.
1628 (top level): Add initial_load cmdline/file axis.
1630 2014-06-12 Tom Tromey <tromey@redhat.com>
1632 * gdb.base/completion.exp: Don't use directory name in test.
1634 2014-06-09 Gary Benson <gbenson@redhat.com>
1636 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1637 separate the always-available ANSI-standard signals from the
1638 signals that require checking.
1640 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1644 2014-06-07 Keith Seitz <keiths@redhat.com>
1648 * gdb.cp/var-tag.cc: New file.
1649 * gdb.cp/var-tag.exp: New file.
1650 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1651 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1652 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1653 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1655 2014-06-06 Doug Evans <xdje42@gmail.com>
1657 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1659 2014-06-06 Pedro Alves <palves@redhat.com>
1661 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1662 in target debug output instead of looking at RSP packets,
1663 disabling the test on any target that uses hardware stepping.
1666 2014-06-06 Pedro Alves <palves@redhat.com>
1668 * gdb.base/break-unload-file.exp: Fix typo.
1670 2014-06-06 Yao Qi <yao@codesourcery.com>
1672 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1673 from "jit_function" to "^jit_function".
1675 2014-06-06 Yao Qi <yao@codesourcery.com>
1677 * gdb.base/async.c (foo): Add one statement.
1678 * gdb.base/async.exp: Get the next instruction address and
1679 match the output of "nexti" by instruction address. Match
1680 the hex address in the output of "finish".
1682 2014-06-06 Gary Benson <gbenson@redhat.com>
1684 * gdb.base/call-signals.c: Remove preprocessor conditionals
1685 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1686 SIGSEGV and SIGTERM.
1687 * gdb.base/sigall.c: Likewise.
1688 * gdb.base/unwindonsignal.c: Likewise.
1689 * gdb.reverse/sigall-reverse.c: Likewise.
1691 2014-06-06 Yao Qi <yao@codesourcery.com>
1693 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1694 readable, skip the test.
1696 2014-06-06 Yao Qi <yao@codesourcery.com>
1698 * gdb.threads/staticthreads.c (thread_function): Move the line
1699 setting breakpoint on forward.
1700 * gdb.threads/staticthreads.exp: Update comments.
1702 2014-06-05 Ludovic Courtès <ludo@gnu.org>
1704 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1705 "history-append! type error".
1707 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1709 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1710 erroneous dprintf expected input.
1712 2014-06-04 Doug Evans <xdje42@gmail.com>
1714 * gdb.guile/scm-generics.exp: Delete.
1716 2014-06-04 Doug Evans <xdje42@gmail.com>
1718 * gdb.guile/scm-breakpoint.exp: Update.
1719 Add tests for breakpoint registration.
1721 2014-06-04 Tom Tromey <tromey@redhat.com>
1723 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1725 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1726 inner_vla_struct, vla_union types. Initialize objects of those
1727 types and compute their sizes.
1729 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1730 Hui Zhu <hui@codesourcery.com>
1732 * gdb.base/fileio.exp: Add test for shell not available as well as
1734 * gdb.base/fileio.c (test_system): Check for shell twice.
1736 2014-06-04 Yao Qi <yao@codesourcery.com>
1738 * gdb.base/auto-connect-native-target.exp: Remove redundant
1739 space from the regexp pattern.
1741 2014-06-04 Yao Qi <yao@codesourcery.com>
1743 * gdb.base/default.exp: Replace "child" with "native" in
1746 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1748 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1749 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1750 * gdb.python/py-xmethods.py: Python script supporting the
1751 new testcase and tests.
1753 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1754 Pedro Alves <palves@redhat.com>
1756 PR breakpoints/17000
1757 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1758 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1760 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1762 * gdb.base/subst.exp: Add tests to verify partial path matching
1765 2014-06-03 Pedro Alves <palves@redhat.com>
1767 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1768 target that doesn't use software single-stepping.
1770 2014-06-03 Pedro Alves <palves@redhat.com>
1772 PR breakpoints/17000
1773 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1774 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1776 2014-06-02 Doug Evans <xdje42@gmail.com>
1778 * gdb.guile/scm-parameter.exp: New file.
1780 2014-06-02 Doug Evans <xdje42@gmail.com>
1782 * gdb.guile/scm-cmd.c: New file.
1783 * gdb.guile/scm-cmd.exp: New file.
1785 2014-06-02 Doug Evans <xdje42@gmail.com>
1787 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1788 pretty-printer lookup.
1789 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1790 (make-pp_s-printer): Call it.
1791 (make-pretty-printer-from-dict): New function.
1792 (lookup-pretty-printer-maker-from-dict): New function.
1793 (*pretty-printer*): Simplify.
1794 (make-objfile-pp_s-printer): New function.
1795 (install-objfile-pretty-printers!): New function.
1796 (make-progspace-pp_s-printer): New function.
1797 (install-progspace-pretty-printers!): New function.
1798 * gdb.guile/scm-progspace.c: New file.
1799 * gdb.guile/scm-progspace.exp: New file.
1801 2014-06-02 Pedro Alves <palves@redhat.com>
1803 * gdb.base/dprintf-bp-same-addr.c: New file.
1804 * gdb.base/dprintf-bp-same-addr.exp: New file.
1806 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1808 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1809 * gdb.arch/powerpc-power.s: Likewise.
1811 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1813 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1815 2014-06-01 Yao Qi <yao@codesourcery.com>
1817 * gdb.base/watchpoint.exp (test_watch_location): Check null
1818 pointer can be dereferenced. If not, do the test, otherwise
1821 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1823 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1825 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1827 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1829 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1830 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1831 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1832 * gdb.arch/amd64-invalid-stack-top.c: New file.
1833 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1835 2014-05-30 Pedro Alves <palves@redhat.com>
1837 PR breakpoints/17000
1838 * gdb.base/sss-bp-on-user-bp.c: New file.
1839 * gdb.base/sss-bp-on-user-bp.exp: New file.
1841 2014-05-30 David Blaikie <dblaikie@gmail.com>
1843 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1844 gnu_inline semantics via attribute.
1845 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1846 source explicitly specifies the required semantics.
1848 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1850 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1852 2014-05-29 Pedro Alves <palves@redhat.com>
1853 Tom Tromey <tromey@redhat.com>
1855 * gdb.base/async-shell.exp: Don't enable target-async.
1856 * gdb.base/async.exp
1857 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1859 (top level): Don't test with "target-async".
1860 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1861 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1862 * gdb.base/inferior-died.exp: Don't enable target-async.
1863 * gdb.base/interrupt-noterm.exp: Likewise.
1864 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1865 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1866 * gdb.mi/mi-nonstop.exp: Likewise.
1867 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1868 * gdb.mi/mi-nsintrall.exp: Likewise.
1869 * gdb.mi/mi-nsmoribund.exp: Likewise.
1870 * gdb.mi/mi-nsthrexec.exp: Likewise.
1871 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1872 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1873 * gdb.python/py-evsignal.exp: Don't enable target-async.
1874 * gdb.python/py-evthreads.exp: Likewise.
1875 * gdb.python/py-prompt.exp: Likewise.
1876 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1877 * gdb.server/solib-list.exp: Don't enable target-async.
1878 * gdb.threads/thread-specific-bp.exp: Likewise.
1879 * lib/mi-support.exp: Adjust to use mi-async.
1881 2014-05-29 Pedro Alves <palves@redhat.com>
1884 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1885 reason, even in sync mode.
1887 2014-05-29 Pedro Alves <palves@redhat.com>
1888 Hui Zhu <hui@codesourcery.com>
1891 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1892 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1893 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1894 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1896 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1898 * config/monitor.exp (gdb_target_monitor): Replace use of
1899 "set remotebaud" by "set serial baud".
1901 2014-05-26 Andy Wingo <wingo@igalia.com>
1903 * gdb.guile/scm-breakpoint.exp:
1904 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1905 properties instead of gdb-object-properties.
1907 2014-05-26 Yao Qi <yao@codesourcery.com>
1909 * gdb.server/no-thread-db.exp: Specify source file name
1910 explicitly when setting a breakpoint.
1912 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1914 * gdb.btrace/vdso.c: New.
1915 * gdb.btrace/vdso.exp: New.
1917 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1919 * gdb.base/gcore.exp (capture_command_output): Move ...
1920 * lib/gdb.exp (capture_command_output): ... here.
1922 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1924 * gdb.btrace/data.exp: Test memory access during btrace replay.
1926 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1928 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1930 2014-05-21 Pedro Alves <palves@redhat.com>
1933 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1934 (top level): Test that output related to execution commands is
1935 sent to the console with CLI commands, but not with MI commands.
1936 Test that breakpoint events are always mirrored to the console.
1937 Also expect the new source line to be output after a "next" in
1938 async mode too. Make it a pass/fail test.
1939 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1941 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1943 2014-05-21 Pedro Alves <palves@redhat.com>
1945 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1946 Use them to test variations of "list" after reaching a breakpoint.
1947 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1948 Test "list" with listsize 10 after reaching a breakpoint.
1949 * gdb.python/python.exp (decode_line current location line
1950 number): Adjust expected line number.
1952 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1954 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1955 behavior for $args, pass it directly to "run".
1957 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1959 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1962 2014-05-21 Pedro Alves <palves@redhat.com>
1964 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1965 auto-connect-native-target off".
1966 * gdb.base/auto-connect-native-target.c: New file.
1967 * gdb.base/auto-connect-native-target.exp: New file.
1969 2014-05-21 Pedro Alves <palves@redhat.com>
1971 * gdb.base/default.exp: Test "target native" instead of "target
1974 2014-05-21 Mark Wielaard <mjw@redhat.com>
1976 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1978 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1980 Fix TLS access for -static -pthread.
1981 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1982 <HAVE_TLS> (thread_function, main): Initialize it.
1983 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1985 <$have_tls != "">: Check TLSVAR.
1987 2014-05-21 Pedro Alves <palves@redhat.com>
1989 * gdb.base/dcache-line-read-error.c: New.
1990 * gdb.base/dcache-line-read-error.exp: New.
1992 2014-05-20 Pedro Alves <palves@redhat.com>
1994 * gdb.base/compare-sections.c: New file.
1995 * gdb.base/compare-sections.exp: New file.
1997 2014-05-20 Pedro Alves <palves@redhat.com>
1999 * gdb.base/break-idempotent.c: New file.
2000 * gdb.base/break-idempotent.exp: New file.
2002 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
2004 * gdb.btrace/nohist.exp: New.
2006 2014-05-20 Yao Qi <yao@codesourcery.com>
2008 * lib/gdb.exp (gdb_init): Set timeout if test file is under
2009 gdb.reverse directory and gdb_reverse_timeout exists in board
2011 * README: Document gdb_reverse_timeout.
2013 2014-05-20 Yao Qi <yao@codesourcery.com>
2015 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
2016 'test_file_name'. Treat args as a string instead of a list.
2017 (gdb_init): Rename argument 'args' by 'test_file_name'.
2019 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2021 * gdb.arch/powerpc-power.exp: New file.
2022 * gdb.arch/powerpc-power.s: New file.
2024 2014-05-16 Doug Evans <dje@google.com>
2026 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
2027 * gdb.base/completion.exp: Check that all expected files exist
2028 before doing file completion.
2030 2014-05-16 Doug Evans <dje@google.com>
2032 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
2034 (do_syscall_tests_without_xml): Update.
2036 2014-05-16 Pedro Alves <palves@redhat.com>
2038 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
2039 instead of "unknown output after running".
2041 2014-05-16 Yao Qi <yao@codesourcery.com>
2043 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
2044 file1.txt from host at the end.
2045 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2047 2014-05-15 Doug Evans <dje@google.com>
2049 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
2050 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
2051 loading file. Add test for TU lookup.
2053 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2055 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
2056 calling "-exec-arguments" or "set args" before running the
2059 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2061 * lib/mi-support.exp (mi_expect_stop): Expect message for
2062 inferiors that exit with non-zero exit code.
2064 2014-05-14 Yao Qi <yao@codesourcery.com>
2066 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
2067 match absolute path on remote host.
2068 (test_file_list_exec_source_files): Remove "/" from the
2071 2014-05-14 Yao Qi <yao@codesourcery.com>
2073 * boards/local-remote-host-notty.exp (${board}_file): New
2076 2014-05-07 Kyle McMartin <kyle@redhat.com>
2078 Pushed by Joel Brobecker <brobecker@adacore.com>.
2079 * gdb.arch/aarch64-atomic-inst.c: New file.
2080 * gdb.arch/aarch64-atomic-inst.exp: New file.
2082 2014-05-07 Yao Qi <yao@codesourcery.com>
2084 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
2085 in current context" too.
2087 2014-05-05 Keith Seitz <keiths@redhat.com>
2089 * gdb.linespec/ls-dollar.exp: Add test for linespec
2090 file:convenience_variable.
2092 2014-05-05 Yao Qi <yao@codesourcery.com>
2094 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
2095 traceframes into tfile and ctf trace files. Read data from
2096 trace file and test collected data.
2097 (gdb_collect_locals_test): Likewise.
2098 (gdb_unavailable_registers_test): Likewise.
2099 (gdb_unavailable_floats): Likewise.
2100 (gdb_collect_globals_test): Likewise.
2101 (top-level): Append "ctf" to trace_file_targets if GDB
2104 2014-05-05 Yao Qi <yao@codesourcery.com>
2106 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
2108 (gdb_collect_args_test_1): ... it. New proc.
2109 (gdb_collect_locals_test): Move some code to ...
2110 (gdb_collect_locals_test_1): ... it. New proc.
2111 (gdb_unavailable_registers_test): Move some code to ...
2112 (gdb_unavailable_registers_test_1): ... it. New proc.
2113 (gdb_unavailable_floats): Move some code to ...
2114 (gdb_unavailable_floats_1): ... it. New proc.
2116 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2118 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
2119 probes to test for bitness recognition.
2120 * gdb.arch/amd64-stap-optional-prefix.exp
2121 (test_probe_value_without_reg): New procedure.
2122 Add code to test for different kinds of bitness.
2124 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2126 PR breakpoints/16889
2127 * gdb.arch/amd64-stap-optional-prefix.S: New file.
2128 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2130 2014-05-01 Pedro Alves <palves@redhat.com>
2132 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
2133 gdb_file_cmd if no file is specified.
2134 * boards/native-extended-gdbserver.exp (gdb_load): Use the
2135 last_loaded_file to set the remote exec-file.
2137 2014-05-01 Pedro Alves <palves@redhat.com>
2139 * boards/local-remote-host.exp: New file.
2141 2014-05-01 Pedro Alves <palves@redhat.com>
2143 * boards/local-remote-host.exp: Rename to ...
2144 * boards/local-remote-host-notty.exp: ... this.
2146 2014-04-28 Joel Brobecker <brobecker@adacore.com>
2148 * gdb.ada/dyn_arrayidx: New testcase.
2150 2014-04-26 Yao Qi <yao@codesourcery.com>
2152 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
2153 and compute the length of function main. Save it in
2155 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
2156 (top-level): Use gdb_compile to compile objects into
2157 executable and restart GDB. Remove invocation to
2158 prepare_for_testing.
2160 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
2161 Pedro Alves <palves@redhat.com>
2164 * gdb.multi/multi-attach.c: New file.
2165 * gdb.multi/multi-attach.exp: New file.
2167 2014-04-25 Pedro Alves <palves@redhat.com>
2169 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
2171 (top level): Test that "set remote conditional-breakpoints-packet
2172 off" works as intended.
2173 * gdb.base/dprintf.exp: Test that "set remote
2174 breakpoint-commands-packet off" works as intended.
2175 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
2177 (top level): Call it.
2178 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
2179 remote fast-tracepoints-packet off" works as intended.
2180 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
2181 * lib/gdb.exp (gdb_is_target_remote): ... here.
2183 2014-04-24 David Blaikie <dblaikie@gmail.com>
2185 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
2186 ensure clang would not discard them.
2187 * gdb.base/gdbvars.c: Ditto.
2188 * gdb.base/memattr.c: Ditto.
2189 * gdb.base/whatis.c: Ditto.
2190 * gdb.python/py-prettyprint.c: Ditto.
2191 * gdb.trace/actions.c: Ditto.
2192 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
2193 ensure clang would not discard it.
2195 2014-04-24 David Blaikie <dblaikie@gmail.com>
2197 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
2198 clang to emit the full definition of type required by the test
2199 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
2201 2014-04-24 David Blaikie <dblaikie@gmail.com>
2203 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
2204 coax Clang into emitting the definition of the type.
2205 * gdb.cp/pr10728-x.h (y): Ditto.
2206 * gdb.cp/pr10728-y.cc (y): Ditto.
2208 2014-04-24 David Blaikie <dblaikie@gmail.com>
2210 * gdb.base/label.exp: XFAIL label related tests under Clang.
2211 * gdb.cp/cplabel.exp: Ditto.
2212 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
2213 under Clang those using labels.
2215 2014-04-25 Yao Qi <yao@codesourcery.com>
2217 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
2219 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
2220 partial_label and double_label.
2222 2014-04-24 David Blaikie <dblaikie@gmail.com>
2224 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
2226 2014-04-24 David Blaikie <dblaikie@gmail.com>
2228 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
2229 of the function to work across GCC and Clang.
2230 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
2231 pointer types (const void ** const V void **).
2233 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
2234 Walfred Tedeschi <walfred.tedeschi@intel.com>
2236 * Makefile.in (EXECUTABLES): Added i386-avx512.
2237 * gdb.arch/i386-avx512.c: New file.
2238 * gdb.arch/i386-avx512.exp: Likewise.
2240 2014-04-23 Keith Seitz <keiths@redhat.com>
2242 * lib/mi-support.exp (mi_list_breakpoints): Delete.
2243 (mi_make_breakpoint_table): New procedure.
2244 (mi_create_breakpoint): Use mi_make_breakpoint
2245 and return the result.
2246 (mi_make_breakpoint): New procedure.
2247 (mi_build_kv_pairs): New procedure.
2249 * gdb.mi/mi-break.exp: Remove unused globals,
2250 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
2251 All callers updated.
2252 * gdb.mi/mi-dprintf.exp: Use variable to track command
2254 Update all callers of mi_create_breakpoint and use
2255 mi_make_breakpoint_table.
2256 Remove any unused global variables.
2257 * gdb.mi/mi-nonstop.exp: Likewise.
2258 * gdb.mi/mi-nsintrall.exp: Likewise.
2259 * gdb.mi/mi-nsmoribund.exp: Likewise.
2260 * gdb.mi/mi-nsthrexec.exp: Likewise.
2261 * gdb.mi/mi-reverse.exp: Likewise.
2262 * gdb.mi/mi-simplerun.exp: Likewise.
2263 * gdb.mi/mi-stepn.exp: Likewise.
2264 * gdb.mi/mi-syn-frame.exp: Likewise.
2265 * gdb.mi/mi-until.exp: Likewise.
2266 * gdb.mi/mi-var-cp.exp: Likewise.
2267 * gdb.mi/mi-var-display.exp: Likewise.
2268 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2269 * gdb.mi/mi2-var-child.exp: Likewise.
2270 * gdb.mi/mi-vla-c99.exp: Likewise.
2271 * lib/mi-support.exp: Likewise.
2273 From Ian Lance Taylor <iant@cygnus.com>:
2274 * lib/gdb.exp (parse_args): New procedure.
2276 2014-04-23 Pedro Alves <palves@redhat.com>
2278 * gdb.base/break-unload-file.c: New file.
2279 * gdb.base/break-unload-file.exp: New file.
2280 * gdb.base/sym-file-lib.c (baz): New function.
2281 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
2283 (load): Store the segment's mapped size.
2284 (unload): New function.
2285 (unload_shlib): New function.
2286 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
2287 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
2288 set a breakpoint at baz, and call it.
2289 * gdb.base/sym-file.exp: New tests for stale breakpoint
2292 2014-04-23 Pedro Alves <palves@redhat.com>
2294 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
2295 * gdb.base/hbreak-in-shr-unsupported.c: New file.
2296 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
2297 * gdb.base/hbreak-unmapped.c: New file.
2298 * gdb.base/hbreak-unmapped.exp: New file.
2299 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
2300 * lib/gdb.exp (gdb_is_target_remote): ... here.
2302 2014-04-22 Pedro Alves <palves@redhat.com>
2304 * gdb.base/consecutive-step-over.c: New file.
2305 * gdb.base/consecutive-step-over.exp: New file.
2307 2014-04-22 Pedro Alves <palves@redhat.com>
2309 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
2310 instead of send_gdb/gdb_expect.
2312 2014-04-22 Yao Qi <yao@codesourcery.com>
2314 * lib/trace-support.exp (generate_tracefile): New procedure.
2315 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
2317 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
2318 if generate_tracefile returns 1.
2320 2014-04-18 Tom Tromey <palves@redhat.com>
2321 Pedro alves <tromey@redhat.com>
2324 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
2325 with a backtrace limit.
2326 * gdb.python/py-frame-inline.exp: Test running to an inline
2327 function with a backtrace limit, and printing the newest frame.
2328 * gdb.python/py-frame-inline.c (main): Call f.
2330 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2332 * gdb.java/jnpe.exp: Drop srcdir from untested path.
2334 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2336 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
2337 Drop prefix from unsupported source file path.
2339 2014-04-17 Yao Qi <yao@codesourcery.com>
2341 * lib/gdb.exp (with_target_charset): New proc.
2342 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
2343 with_target_charset.
2344 (test_print_strings): Likewise.
2345 (test_repeat_bytes): Likewise.
2346 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
2349 2014-04-16 Keith Seitz <keiths@redhat.com>
2352 * gdb.dwarf2/corrupt.c: New file.
2353 * gdb.dwarf2/corrupt.exp: New file.
2355 2014-04-16 Keith Seitz <keiths@redhat.com>
2358 * gdb.cp/namelessclass.cc: New file.
2359 * gdb.cp/namelessclass.exp: New file.
2360 * gdb.cp/namelessclass.S: New file.
2362 2014-04-16 Doug Evans <dje@google.com>
2364 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
2366 (gdbserver_default_get_comm_port): New function.
2367 (gdbserver_start): Check if board file provided
2368 "gdbserver,get_comm_port" and use it if so.
2369 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
2370 (gdb,socketport): Set to "stdio".
2371 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
2372 (stdio_gdbserver_template): Delete.
2373 (${board}_get_remote_address): Update.
2374 (${board}_build_remote_cmd): Delete.
2375 (${board}_get_comm_port): New function.
2376 (${board}_spawn): Update.
2377 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
2379 (${board}_get_remote_address): Update.
2380 (${board}_get_comm_port): New function.
2382 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
2384 * gdb.base/memattr.exp: Improve regexps to handle memory regions
2385 appearing in any order.
2387 2014-04-15 Doug Evans <dje@google.com>
2389 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
2390 uninitialized value of "description".
2392 2014-04-15 Keith Seitz <keiths@redhat.com>
2394 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
2395 Remove unused globals.
2396 (test_running_the_program): Likewise.
2397 (test_controlled_execution): Likewise.
2398 (test_controlling_breakpoints): Likewise.
2399 (test_program_termination): Likewise.
2401 2014-04-15 Keith Seitz <keiths@redhat.com>
2403 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
2405 (test_rbreak_creation_and_listing): Likewise.
2406 (test_ignore_count): Likewise.
2407 (test_error): Likewise.
2409 2014-04-15 Pedro Alves <palves@redhat.com>
2411 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2412 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2414 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2415 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2416 to sym-file-loader.c.
2417 (struct library): Forward declare.
2418 (load_shlib, lookup_function): Change prototypes.
2419 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2420 (translate_offset): Remove declarations.
2421 (get_text_addr): New declaration.
2422 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2423 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2425 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2426 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2427 here from sym-file-loader.h.
2428 (struct library): New structure.
2429 (load_shlib, lookup_function): Change prototypes and adjust to
2430 work with a struct library.
2431 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2432 (translate_offset): Make static.
2433 (get_text_addr): New function.
2434 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
2436 2014-04-15 Pedro Alves <palves@redhat.com>
2438 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
2440 2014-04-15 Pedro Alves <palves@redhat.com>
2442 * gdb.base/sym-file-loader.c: Include <limits.h>.
2443 (SELF_LINK): New define.
2444 (get_origin): New function.
2445 (load_shlib): Use it.
2446 * gdb.base/sym-file.exp: Don't early return if the target is
2447 remote. Use runto_main, and issue fail is that fails. Use
2449 (shlib_name): Delete.
2450 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
2452 2014-04-15 Pedro Alves <palves@redhat.com>
2454 * gdb.base/sym-file.exp: Remove regex characters from test
2455 message. Don't refer to breakpoint numbers in test messages.
2457 2014-04-14 Keith Seitz <keiths@redhat.com>
2460 * gdb.cp/var-tag.cc: New file.
2461 * gdb.cp/var-tag.exp: New file.
2462 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2463 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2464 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2465 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2467 2014-04-14 Tom Tromey <tromey@redhat.com>
2469 * gdb.cp/classes.exp (test_enums): Handle underlying type.
2470 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
2472 * gdb.cp/enum-class.exp: New file.
2473 * gdb.cp/enum-class.cc: New file.
2475 2014-04-14 Tom Tromey <tromey@redhat.com>
2477 * gdb.dwarf2/enum-type.exp: New file.
2479 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2481 * gdb.mi/mi-vla-c99.exp: New file.
2482 * gdb.mi/vla.c: New file.
2484 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2486 * gdb.base/vla-datatypes.c: New file.
2487 * gdb.base/vla-datatypes.exp: New file.
2489 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2491 * gdb.base/vla-ptr.c: New file.
2492 * gdb.base/vla-ptr.exp: New file.
2494 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2496 * gdb.dwarf2/count.exp: New file.
2498 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2500 * gdb.base/vla-sideeffect.c: New file.
2501 * gdb.base/vla-sideeffect.exp: New file.
2503 2014-04-14 David Blaikie <dblaikie@gmail.com>
2505 * gdb.mi/non-stop.c: Add return value for non-void function return
2507 * gdb.threads/staticthreads.c: Ditto.
2509 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2510 Doug Evans <xdje42@gmail.com>
2512 * gdb.guile/scm-value.c: Improve test case.
2513 * gdb.guile/scm-value.exp: Add new test.
2515 2014-04-11 David Blaikie <dblaikie@gmail.com>
2517 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2518 override Clang's default.
2520 2014-04-11 Joel Brobecker <brobecker@adacore.com>
2522 Revert the following changes (regressions):
2524 * gdb.base/vla-sideeffect.c: New file.
2525 * gdb.base/vla-sideeffect.exp: New file.
2527 * gdb.dwarf2/count.exp: New file.
2529 * gdb.base/vla-multi.c: New file.
2530 * gdb.base/vla-multi.exp: New file.
2532 * gdb.base/vla-ptr.c: New file.
2533 * gdb.base/vla-ptr.exp: New file.
2535 * gdb.base/vla-datatypes.c: New file.
2536 * gdb.base/vla-datatypes.exp: New file.
2538 * gdb.mi/mi-vla-c99.exp: New file.
2539 * gdb.mi/vla.c: New file.
2541 2014-04-11 Keith Seitz <keiths@redhat.com>
2544 * gdb.cp/cpsizeof.exp: New file.
2545 * gdb.cp/cpsizeof.cc: New file.
2547 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2549 * gdb.mi/mi-vla-c99.exp: New file.
2550 * gdb.mi/vla.c: New file.
2552 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2554 * gdb.base/vla-datatypes.c: New file.
2555 * gdb.base/vla-datatypes.exp: New file.
2557 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2559 * gdb.base/vla-ptr.c: New file.
2560 * gdb.base/vla-ptr.exp: New file.
2562 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2564 * gdb.base/vla-multi.c: New file.
2565 * gdb.base/vla-multi.exp: New file.
2567 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2569 * gdb.dwarf2/count.exp: New file.
2571 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2573 * gdb.base/vla-sideeffect.c: New file.
2574 * gdb.base/vla-sideeffect.exp: New file.
2576 2014-04-11 Yao Qi <yao@codesourcery.com>
2578 * gdb.base/completion.exp: Check file exists before running tests
2581 2014-04-10 Pedro Alves <palves@redhat.com>
2583 * gdb.base/cond-eval-mode.c: New file.
2584 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2585 prepare_for_testing to build the new file. Check result of
2587 (test_break, test_watch): New procedures.
2588 (top level): Use them.
2590 2014-04-08 Pierre Muller <muller@sourceware.org>
2592 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2593 Ctrl-V use for mingw hosts.
2595 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2597 * gdb.python/py-value.c: Improve test case.
2598 * gdb.python/py-value.exp: Add new test.
2600 2014-04-07 David Blaikie <dblaikie@gmail.com>
2602 * lib/compiler.c: Identify the clang compiler.
2603 * lib/compiler.cc: Ditto.
2605 2014-04-03 Yao Qi <yao@codesourcery.com>
2607 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2609 2014-04-01 Anton Blanchard <anton@samba.org>
2611 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2614 2014-04-01 Anton Blanchard <anton@samba.org>
2616 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2617 prepare_for_testing.
2619 2014-04-01 Anton Blanchard <anton@samba.org>
2621 * gdb.arch/ppc64-atomic-inst.c: Remove.
2622 * gdb.arch/ppc64-atomic-inst.S: New file.
2623 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2625 2014-03-31 Doug Evans <dje@google.com>
2627 * gdb.base/print-symbol-loading-lib.c: New file.
2628 * gdb.base/print-symbol-loading-main.c: New file.
2629 * gdb.base/print-symbol-loading.exp: New file.
2631 2014-03-31 Yao Qi <yao@codesourcery.com>
2633 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2635 2014-03-28 Joel Brobecker <brobecker@adacore.com>
2637 * gdb.ada/mi_dyn_arr: New testcase.
2639 2014-03-27 Doug Evans <dje@google.com>
2641 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2643 2014-03-27 Yao Qi <yao@codesourcery.com>
2645 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2646 if target is nios2-*-*.
2648 2014-03-26 Yao Qi <yao@codesourcery.com>
2650 * lib/gdb.exp (readline_is_used): New proc.
2651 * gdb.base/completion.exp: Move tests on command complete up.
2652 Skip the rest of tests if readline is not used.
2653 * gdb.ada/complete.exp: Skp the test if readline is not
2655 * gdb.base/filesym.exp: Likewise.
2656 * gdb.base/macscp.exp: Likewise.
2657 * gdb.base/readline-ask.exp: Likewise.
2658 * gdb.base/readline.exp: Likewise.
2659 * gdb.python/py-cmd.exp: Likewise.
2660 * gdb.trace/tfile.exp: Likewise.
2662 2014-03-26 Yao Qi <yao@codesourcery.com>
2664 * gdb.base/macscp.exp: Fix code format issues.
2666 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2668 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2669 * gdb.asm/powerpc64le.inc: New file.
2671 2014-03-25 Pedro Alves <palves@redhat.com>
2672 Doug Evans <dje@google.com>
2674 * gdb.base/source-execution.c: New file.
2675 * gdb.base/source-execution.exp: New file.
2676 * gdb.base/source-execution.gdb: New file.
2678 2014-03-24 Doug Evans <dje@google.com>
2680 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2683 2014-03-24 Hui Zhu <hui@codesourcery.com>
2684 Pedro Alves <palves@redhat.com>
2686 PR breakpoints/16101
2687 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2688 test pass/fail messages. Detect missing support for dprintf when
2689 breakpoints are actually inserted.
2690 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2691 breakpoints are actually inserted.
2692 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2695 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2697 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2699 2014-03-22 Doug Evans <xdje42@gmail.com>
2701 * gdb.python/python.exp (python not supported): Verify multi-line
2702 python command issues an error.
2703 * gdb.guile/guile.exp (guile not supported): Verify multi-line
2704 guile command issues an error.
2706 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2708 * gdb.threads/thread-specific.exp: Handle the lack of usable
2709 $this_breakpoint and $this_thread.
2711 2014-03-21 Hui Zhu <hui@codesourcery.com>
2713 * gdb.base/attach.exp (do_command_attach_tests): New.
2715 2014-03-20 Tom Tromey <tromey@redhat.com>
2716 Pedro Alves <palves@redhat.com>
2719 * gdb.base/condbreak-call-false.c: New file.
2720 * gdb.base/condbreak-call-false.exp: New file.
2722 2014-03-20 Pedro Alves <palves@redhat.com>
2724 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2726 (block_signals, unblock_signals): Delete.
2727 (child_function_2, main): Remove references to deleted variable
2730 2014-03-20 Pedro Alves <palves@redhat.com>
2732 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2733 Use pthread_kill to signal thread 2.
2734 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2735 Adjust to make the test send itself a signal rather than using the
2736 host's "kill" command.
2738 2014-03-20 Pedro Alves <palves@redhat.com>
2740 * gdb.threads/multiple-step-overs.c: New file.
2741 * gdb.threads/multiple-step-overs.exp: New file.
2742 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2743 Adjust expected infrun debug output.
2745 2014-03-20 Pedro Alves <palves@redhat.com>
2747 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2748 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2750 2014-03-20 Pedro Alves <palves@redhat.com>
2753 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2754 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2755 of gdb_test_multiple.
2756 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2757 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2759 2014-03-20 Pedro Alves <palves@redhat.com>
2761 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2762 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2764 2014-03-19 Pedro Alves <palves@redhat.com>
2766 * gdb.base/async.exp: Remove early return.
2768 2014-03-19 Pedro Alves <palves@redhat.com>
2770 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2772 2014-03-19 Pedro Alves <palves@redhat.com>
2774 * gdb.base/async.exp (test_background): Expect \r\n after
2775 "completed." in the fail pattern.
2777 2014-03-19 Pedro Alves <palves@redhat.com>
2779 * gdb.base/async.exp (test_background): New procedure.
2780 Use it for all background execution command tests.
2782 2014-03-19 Pedro Alves <palves@redhat.com>
2784 * gdb.base/async.exp: Use prepare_for_testing.
2786 2014-03-19 Pedro Alves <palves@redhat.com>
2788 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2791 2014-03-19 Pedro Alves <palves@redhat.com>
2793 * gdb.base/async.c (main): Add "jump here" and "until here" line
2795 * gdb.base/async.exp (jump_here): New global.
2796 (jump& test): Use it.
2797 (until_here): New global.
2798 (until& test): Use it.
2800 2014-03-19 Pedro Alves <palves@redhat.com>
2802 * gdb.base/async.exp: Don't frob gdb_protocol.
2804 2014-03-18 Doug Evans <xdje42@gmail.com>
2806 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2807 Fix spelling of exec-done-display.
2809 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2812 * gdb.base/gdb-sigterm.c: New file.
2813 * gdb.base/gdb-sigterm.exp: New file.
2815 2014-03-18 Pedro Alves <palves@redhat.com>
2818 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2819 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2822 2014-03-17 Joel Brobecker <brobecker@adacore.com>
2824 * gdb.ada/pckd_arr_ren: New testcase.
2826 2014-03-13 Doug Evans <xdje42@gmail.com>
2829 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2830 collect after discarding symbols.
2832 2014-03-13 Ludovic Courtès <ludo@gnu.org>
2833 Doug Evans <xdje42@gmail.com>
2835 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2836 to history survives a gc.
2838 2014-03-13 Pedro Alves <palves@redhat.com>
2840 * gdb.base/default.exp: Don't test "target procfs".
2842 2014-03-13 Pedro Alves <palves@redhat.com>
2844 * gdb.base/default.exp: Update "target child" and "target procfs"
2845 tests to not expect "Unix".
2847 2014-03-12 Tom Tromey <tromey@redhat.com>
2849 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2850 New procs. Add target-async tests.
2851 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2852 Add target-async tests.
2854 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2856 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2857 'func_start' and 'func_end' for the beginning and end of the
2858 function code, respectively.
2859 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2860 'func_end' instead of 'func' and 'main'.
2862 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2864 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2865 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2866 generate the debug info assembler source.
2868 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2870 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2871 * gdb.dwarf2/arr-subrange.exp: Likewise.
2872 * gdb.dwarf2/dwz.exp: Likewise.
2873 * gdb.dwarf2/method-ptr.exp: Likewise.
2874 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2875 * gdb.dwarf2/subrange.exp: Likewise.
2876 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2877 * gdb.dwarf2/implptrpiece.exp: Likewise.
2878 * gdb.dwarf2/nostaticblock.exp: Likewise.
2880 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2882 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2883 directory to absolute path name arguments.
2885 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2887 * gdb.ada/tagged_access: New testcase.
2889 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2891 * gdb.btrace/data.exp: Update expected output.
2893 2014-03-06 Yao Qi <yao@codesourcery.com>
2895 * gdb.trace/pr16508.exp: New file.
2897 2014-03-05 Pedro Alves <palves@redhat.com>
2900 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2902 (top level): Adjust to use it. Add tests that exercise breakpoint
2903 interaction with the code-cache.
2905 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2907 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2908 test for 'history-append!'.
2910 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2912 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2913 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2914 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2915 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2916 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2917 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2919 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2921 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2922 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2923 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2925 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2927 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2929 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2931 * gdb.dwarf2/arr-stride.c: New file.
2932 * gdb.dwarf2/arr-stride.exp: New file.
2934 2014-02-26 Pedro Alves <palves@redhat.com>
2936 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2937 that won't ever trigger. Make sure that GDB reports the correct
2938 breakpoint that caused the stop.
2940 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2943 * gdb.base/auto-load-script: New file.
2944 * gdb.base/auto-load.c: New file.
2945 * gdb.base/auto-load.exp: New file.
2948 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2950 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2952 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2953 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2955 2014-02-24 Doug Evans <dje@google.com>
2957 * lib/gdb.exp (run_on_host): Log error output if program fails.
2959 2014-02-21 Pedro Alves <palves@redhat.com>
2961 * gdb.threads/step-after-sr-lock.c: Rename to ...
2962 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2963 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2964 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2967 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2970 * gdb.arch/amd64-stap-special-operands.exp: New file.
2971 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2972 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2973 * gdb.arch/amd64-stap-triplet.S: Likewise.
2974 * gdb.arch/amd64-stap-triplet.c: Likewise.
2976 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2978 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2979 in .section pseudo-op.
2981 2014-02-20 lin zuojian <manjian2006@gmail.com>
2982 Joel Brobecker <brobecker@adacore.com>
2983 Doug Evans <xdje42@gmail.com>
2986 * gdb.dwarf2/dw2-icycle.S: New file.
2987 * gdb.dwarf2/dw2-icycle.c: New file.
2988 * gdb.dwarf2/dw2-icycle.exp: New file.
2990 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2992 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2993 operations on gdb.Value objects.
2994 * gdb.python/py-value-cc.exp: Add new test to test operations on
2997 2014-02-18 Doug Evans <dje@google.com>
2999 * Makefile.in (TESTS): New variable.
3000 (expanded_tests, expanded_tests_or_none): New variables
3001 (check-single): Pass $(expanded_tests_or_none) to runtest.
3002 (check-parallel): Only run tests in $(TESTS) if non-empty.
3003 (check/no-matching-tests-found): New rule.
3004 * README: Document TESTS makefile variable.
3006 2014-02-18 Doug Evans <dje@google.com>
3008 * Makefile.in (check-parallel): rm -rf outputs temp.
3010 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3012 Fix "ERROR: no fileid for" in the testsuite.
3013 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
3015 2014-02-12 Doug Evans <dje@google.com>
3017 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
3018 (MISCELLANEOUS): New variable.
3019 (clean): rm -rf $(MISCELLANEOUS).
3020 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
3021 dwp live in the same directory as symlinks, with each symlink pointed
3022 to a differently named file in a different directory.
3024 2014-02-11 Doug Evans <dje@google.com>
3026 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
3027 of Tcl file commands.
3029 2014-02-10 Mark Kettenis <kettenis@gnu.org>
3031 * gdb.threads/step-after-sr-lock.exp: Avoid executing
3034 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3036 * gdb.ada/tick_length_array_enum_idx: New testcase.
3038 2014-02-10 Doug Evans <xdje42@gmail.com>
3040 * configure.ac (AC_OUTPUT): Add gdb.guile.
3041 * configure: Regenerate.
3042 * lib/gdb-guile.exp: New file.
3043 * lib/gdb.exp (get_target_charset): New function.
3044 * gdb.base/help.exp: Update expected output from "apropos apropos".
3045 * gdb.guile/Makefile.in: New file.
3046 * gdb.guile/guile.exp: New file.
3047 * gdb.guile/scm-arch.c: New file.
3048 * gdb.guile/scm-arch.exp: New file.
3049 * gdb.guile/scm-block.c: New file.
3050 * gdb.guile/scm-block.exp: New file.
3051 * gdb.guile/scm-breakpoint.c: New file.
3052 * gdb.guile/scm-breakpoint.exp: New file.
3053 * gdb.guile/scm-disasm.c: New file.
3054 * gdb.guile/scm-disasm.exp: New file.
3055 * gdb.guile/scm-equal.c: New file.
3056 * gdb.guile/scm-equal.exp: New file.
3057 * gdb.guile/scm-error.exp: New file.
3058 * gdb.guile/scm-error.scm: New file.
3059 * gdb.guile/scm-frame-args.c: New file.
3060 * gdb.guile/scm-frame-args.exp: New file.
3061 * gdb.guile/scm-frame-args.scm: New file.
3062 * gdb.guile/scm-frame-inline.c: New file.
3063 * gdb.guile/scm-frame-inline.exp: New file.
3064 * gdb.guile/scm-frame.c: New file.
3065 * gdb.guile/scm-frame.exp: New file.
3066 * gdb.guile/scm-generics.exp: New file.
3067 * gdb.guile/scm-gsmob.exp: New file.
3068 * gdb.guile/scm-iterator.c: New file.
3069 * gdb.guile/scm-iterator.exp: New file.
3070 * gdb.guile/scm-math.c: New file.
3071 * gdb.guile/scm-math.exp: New file.
3072 * gdb.guile/scm-objfile-script-gdb.in: New file.
3073 * gdb.guile/scm-objfile-script.c: New file.
3074 * gdb.guile/scm-objfile-script.exp: New file.
3075 * gdb.guile/scm-objfile.c: New file.
3076 * gdb.guile/scm-objfile.exp: New file.
3077 * gdb.guile/scm-ports.exp: New file.
3078 * gdb.guile/scm-pretty-print.c: New file.
3079 * gdb.guile/scm-pretty-print.exp: New file.
3080 * gdb.guile/scm-pretty-print.scm: New file.
3081 * gdb.guile/scm-section-script.c: New file.
3082 * gdb.guile/scm-section-script.exp: New file.
3083 * gdb.guile/scm-section-script.scm: New file.
3084 * gdb.guile/scm-symbol.c: New file.
3085 * gdb.guile/scm-symbol.exp: New file.
3086 * gdb.guile/scm-symtab-2.c: New file.
3087 * gdb.guile/scm-symtab.c: New file.
3088 * gdb.guile/scm-symtab.exp: New file.
3089 * gdb.guile/scm-type.c: New file.
3090 * gdb.guile/scm-type.exp: New file.
3091 * gdb.guile/scm-value-cc.cc: New file.
3092 * gdb.guile/scm-value-cc.exp: New file.
3093 * gdb.guile/scm-value.c: New file.
3094 * gdb.guile/scm-value.exp: New file.
3095 * gdb.guile/source2.scm: New file.
3096 * gdb.guile/types-module.cc: New file.
3097 * gdb.guile/types-module.exp: New file.
3099 2014-02-10 Yao Qi <yao@codesourcery.com>
3102 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
3103 * configure: Regenerated.
3104 * Makefile.in: New file.
3106 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3108 * gdb.python/py-framefilter.exp: Fix typo.
3110 2014-02-08 Yao Qi <yao@codesourcery.com>
3112 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
3113 that no =breakpoint-modified is emitted when breakpoints are
3114 modified through MI commands.
3116 2014-02-07 Pedro Alves <pedro@codesourcery.com>
3117 Pedro Alves <palves@redhat.com>
3119 * gdb.threads/step-after-sr-lock.c: New file.
3120 * gdb.threads/step-after-sr-lock.exp: New file.
3122 2014-02-07 Pedro Alves <palves@redhat.com>
3124 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
3126 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3128 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
3129 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
3131 2014-02-06 Doug Evans <xdje42@gmail.com>
3133 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
3136 * gdb.gdb/python-interrupts.exp: New file.
3138 2014-02-05 Yao Qi <yao@codesourcery.com>
3140 * gdb.trace/report.exp (use_collected_data): Test the output
3141 of "info threads" and "info inferiors".
3143 2014-02-05 Yao Qi <yao@codesourcery.com>
3147 2013-05-24 Yao Qi <yao@codesourcery.com>
3149 * gdb.trace/tfile.exp: Test inferior and thread.
3151 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3153 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
3155 * gdb.base/step-bt.c: Call hello via function pointer to make
3156 sure its first instruction is executed on powerpc64le-linux.
3158 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3160 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
3162 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3164 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
3165 of the test patterns for use on little-endian systems.
3167 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3169 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
3170 (decimal_vector): Fix for little-endian.
3172 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3174 * gdb.arch/sparc-sysstep.exp: New file.
3175 * gdb.arch/sparc-sysstep.c: Likewise.
3177 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
3179 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3181 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
3183 2014-01-23 Tom Tromey <tromey@redhat.com>
3185 * gdb.ada/array_char_idx: New testcase.
3187 2014-01-23 Tom Tromey <tromey@redhat.com>
3190 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
3191 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
3194 2014-01-23 Tom Tromey <tromey@redhat.com>
3197 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
3198 string from an inferior frame.
3199 * gdb.python/py-framefilter-mi.exp: Update.
3201 2014-01-22 Doug Evans <dje@google.com>
3203 * gdb.server/server-mon.exp: Add tests for "set debug-format".
3205 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3207 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
3209 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3211 * gdb.trace/entry-values.exp: Remove excess space character from
3212 regex patterns. Handle s390 call instruction.
3214 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3216 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
3217 define "*_start" label. Make "name" static.
3218 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
3219 ${name} by references to ${name}_start.
3221 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3223 * gdb.base/info-macros.exp: Remove "debug" from the compile
3226 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3228 * gdb.dlang/demangle.exp: New file.
3230 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3232 * gdb.dlang/primitive-types.exp: New file.
3234 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3236 * configure.ac: Create gdb.dlang/Makefile.
3237 * configure: Regenerate.
3238 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
3239 * gdb.dlang/Makefile.in: New file.
3240 * lib/d-support.exp: New file.
3241 * lib/gdb.exp (skip_d_tests): New proc.
3243 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3245 * gdb.btrace/delta.exp: Check reverse stepi.
3246 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
3247 * gdb.btrace/finish.exp: New.
3248 * gdb.btrace/next.exp: New.
3249 * gdb.btrace/nexti.exp: New.
3250 * gdb.btrace/record_goto.c: Add comments.
3251 * gdb.btrace/step.exp: New.
3252 * gdb.btrace/stepi.exp: New.
3253 * gdb.btrace/multi-thread-step.c: New.
3254 * gdb.btrace/multi-thread-step.exp: New.
3255 * gdb.btrace/rn-dl-bind.c: New.
3256 * gdb.btrace/rn-dl-bind.exp: New.
3257 * gdb.btrace/data.c: New.
3258 * gdb.btrace/data.exp: New.
3259 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3261 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3263 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
3264 * gdb.btrace/exception.exp: Update.
3265 * gdb.btrace/instruction_history.exp: Update.
3266 * gdb.btrace/record_goto.exp: Update.
3267 * gdb.btrace/tailcall.exp: Update.
3268 * gdb.btrace/unknown_functions.exp: Update.
3269 * gdb.btrace/delta.exp: New.
3271 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3273 * gdb.btrace/record_goto.exp: Add backtrace test.
3274 * gdb.btrace/tailcall.exp: Add backtrace test.
3276 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3278 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
3279 * gdb.btrace/record_goto.c: New.
3280 * gdb.btrace/record_goto.exp: New.
3281 * gdb.btrace/x86-record_goto.S: New.
3283 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3285 * gdb.btrace/function_call_history.exp: Update tests.
3286 * gdb.btrace/instruction_history.exp: Update tests.
3288 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3290 * gdb.btrace/function_call_history.exp: Fix expected field
3291 order for "record function-call-history".
3292 Add new tests for "record function-call-history /c".
3293 * gdb.btrace/exception.cc: New.
3294 * gdb.btrace/exception.exp: New.
3295 * gdb.btrace/tailcall.exp: New.
3296 * gdb.btrace/x86-tailcall.S: New.
3297 * gdb.btrace/x86-tailcall.c: New.
3298 * gdb.btrace/unknown_functions.c: New.
3299 * gdb.btrace/unknown_functions.exp: New.
3300 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3302 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3304 * gdb.btrace/instruction_history.exp: Update.
3305 * gdb.btrace/function_call_history.exp: Update.
3307 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3309 * gdb.btrace/function_call_history.exp: Fix expected function
3311 * gdb.btrace/instruction_history.exp: Initialize traced.
3312 Remove traced_functions.
3314 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3316 * gdb.btrace/function_call_history.exp: Update
3317 * gdb.btrace/instruction_history.exp: Update.
3319 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3321 * gdb.btrace/enable.exp: Update expected text.
3323 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
3325 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
3328 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
3330 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
3332 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3334 * lib/gdb.exp (supports_process_record): Return true for
3335 arm*-linux*. (supports_reverse): Likewise.
3337 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3341 * gdb.python/py-type.c: Enhance test case.
3342 * gdb.python/py-value-cc.cc: Likewise
3343 * gdb.python/py-type.exp: Add new tests.
3344 * gdb.python/py-value-cc.exp: Likewise
3346 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3347 Pedro Alves <palves@redhat.com>
3349 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
3351 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
3352 references to ${name}_start by references to ${name}.
3354 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3356 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
3358 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3360 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
3362 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
3363 Pedro Alves <palves@redhat.com>
3365 * gdb.mi/mi-info-os.exp: Connect to the target with
3368 2014-01-08 Pedro Alves <palves@redhat.com>
3370 * gdb.threads/reconnect-signal.c: New file.
3371 * gdb.threads/reconnect-signal.exp: New file.
3373 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3375 * gdb.base/source-dir.exp: New file.
3377 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3379 * gdb.ada/mi_interface: New testcase.
3381 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3383 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
3384 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
3385 gdb.ada/pp-rec-component/pck.ads: New files.
3387 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3389 * gdb.python/py-pp-integral.c: New file.
3390 * gdb.python/py-pp-integral.py: New file.
3391 * gdb.python/py-pp-integral.exp: New file.
3393 For older changes see ChangeLog-1993-2013.
3399 ;; version-control: never
3402 Copyright 2014 Free Software Foundation, Inc.
3403 Copying and distribution of this file, with or without modification,
3404 are permitted provided the copyright notice and this notice are preserved.