1 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
3 * gdb.cp/chained-calls.cc: New file.
4 * gdb.cp/chained-calls.exp: New file.
5 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
7 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
9 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
10 * gdb.dwarf2/symtab-producer.exp: Same.
11 * gdb.gdb/python-interrupts.exp: Same.
12 * gdb.gdb/python-selftest.exp: Same.
13 * gdb.python/py-linetable.exp: Same.
14 * gdb.python/py-type.exp: Same.
15 * gdb.python/py-value-cc.exp: Same.
16 * gdb.python/py-value.exp: Same.
18 2014-11-28 Yao Qi <yao@codesourcery.com>
20 * gdb.base/break-probes.exp: Match library name prefixed with
23 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
25 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
26 test expected output. Add parentheses for the call to print.
27 Remove L suffix from integers.
29 2014-11-26 Doug Evans <dje@google.com>
31 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
33 2014-11-22 Yao Qi <yao@codesourcery.com>
35 * gdb.trace/entry-values.c: Remove asms.
38 * gdb.trace/entry-values.exp: Remove code computing foo's
39 length and bar's length.
40 (Dwarf::assemble): Invoke function_range for bar and use
41 MACRO_AT_func for foo.
43 2014-11-22 Yao Qi <yao@codesourcery.com>
45 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
46 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
47 Use .Lgcc43_procstart instead of gcc43.
49 2014-11-21 Joel Brobecker <brobecker@adacore.com>
51 * gdb.ada/n_arr_bound: New testcase.
53 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
56 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
57 test_catch_syscall_multi_arch.
58 (test_catch_syscall_multi_arch): New function.
60 2014-11-20 Doug Evans <xdje42@gmail.com>
62 * gdb.base/maint.exp: Update expected output.
64 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
66 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
67 4-byte instruction on S390.
69 2014-11-19 Joel Brobecker <brobecker@adacore.com>
71 * gdb.ada/arr_arr: New testcase.
73 2014-11-19 Joel Brobecker <brobecker@adacore.com>
75 * gdb.ada/pkd_arr_elem: New Testcase.
77 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
79 * gdb.reverse/break-precsave: Expect completion message for
81 * gdb.reverse/consecutive-precsave.exp: Likewise.
82 * gdb.reverse/finish-precsave.exp: Likewise.
83 * gdb.reverse/i386-precsave.exp: Likewise.
84 * gdb.reverse/machinestate-precsave.exp: Likewise.
85 * gdb.reverse/sigall-precsave.exp: Likewise.
86 * gdb.reverse/solib-precsave.exp: Likewise.
87 * gdb.reverse/step-precsave.exp: Likewise.
88 * gdb.reverse/until-precsave.exp: Likewise.
89 * gdb.reverse/watch-precsave.exp: Likewise.
91 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
93 * gdb.base/bp-permanent.c: Include unistd.h.
94 * gdb.python/py-framefilter-mi.c (main): Add return type.
95 * gdb.python/py-framefilter.c (main): Likewise.
96 * gdb.trace/actions-changed.c (main): Likewise.
98 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
100 * gdb.mi/until.c: Add eye-catchers.
101 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
104 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
106 * gdb.base/condbreak.exp: Drop references to removed non-prototype
107 function header variants in break1.c.
108 * gdb.base/ena-dis-br.exp: Likewise.
109 * gdb.base/hbreak2.exp: Likewise.
110 * gdb.reverse/until-precsave.exp: Drop references to removed
111 non-prototype function header variants in ur1.c.
112 * gdb.reverse/until-reverse.exp: Likewise.
114 2014-11-17 Petr Machata <pmachata@redhat.com>
116 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
117 ${_cu_offset_size} bytes abbrev offset.
119 2014-11-15 Doug Evans <xdje42@gmail.com>
122 * gdb.base/line-symtabs.exp: New file.
123 * gdb.base/line-symtabs.c: New file.
124 * gdb.base/line-symtabs.h: New file.
126 2014-11-14 Yao Qi <yao@codesourcery.com>
128 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
129 (func): Add label func_label.
130 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
131 Replace low_pc and high_pc with MACRO_AT_range.
132 Replace name, low_pc and high_pc with MACRO_AT_func.
134 2014-11-14 Yao Qi <yao@codesourcery.com>
136 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
137 Replace name, low_pc and high_pc with MACRO_AT_func.
139 2014-11-14 Yao Qi <yao@codesourcery.com>
141 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
142 produce debug information.
143 * gdb.dwarf2/implptr-optimized-out.S: Removed.
145 2014-11-14 Yao Qi <yao@codesourcery.com>
147 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
148 object and get function length.
149 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
151 (top-level): Replace gdb_compile and clean_restart with
153 * gdb.dwarf2/main.c (main): Add label main_label.
155 2014-11-14 Yao Qi <yao@codesourcery.com>
157 * lib/dwarf.exp (function_range): New procedure.
158 (Dwarf::_handle_macro_at_func): New procedure.
159 (Dwarf::_handle_macro_at_range): New procedure.
160 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
162 2014-11-14 Yao Qi <yao@codesourcery.com>
164 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
165 (_handle_attribute): New procedure.
167 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
169 * gdb.ada/cond_lang/foo.c (callme): Add return type.
170 * gdb.base/call-sc.c (zed): Likewise.
171 * gdb.base/checkpoint.c (main): Likewise.
172 * gdb.base/dump.c (main): Likewise.
173 * gdb.base/gcore.c (main): Likewise.
174 * gdb.base/huge.c (main): Likewise.
175 * gdb.base/multi-forks.c (main): Likewise.
176 * gdb.base/pr10179-a.c (main): Likewise.
177 * gdb.base/savedregs.c (main): Likewise.
178 * gdb.base/sigaltstack.c (main): Likewise.
179 * gdb.base/siginfo.c (main): Likewise.
180 * gdb.base/structs.c (zed): Likewise.
181 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
182 * gdb.mi/mi-syn-frame.c (main): Likewise.
183 * gdb.mi/until.c (foo, main): Likewise.
184 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
185 * gdb.base/solib-weak.c (foo): Declare.
186 * gdb.base/attach-twice.c: Include stdio.h.
187 * gdb.base/weaklib1.c: Likewise.
188 * gdb.base/weaklib2.c: Likewise.
189 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
190 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
192 * gdb.base/attach-pie-misread.c: Include stdlib.h.
193 * gdb.mi/mi-exit-code.c: Likewise.
194 * gdb.base/break-interp-lib.c: Include string.h.
195 * gdb.base/coremaker.c: Likewise.
196 * gdb.base/testenv.c: Likewise.
197 * gdb.python/py-finish-breakpoint.c: Likewise.
198 * gdb.base/inferior-died.c: Include sys/wait.h.
199 * gdb.base/fileio.c: Include time.h.
200 * gdb.base/async-shell.c: Include unistd.h.
201 * gdb.base/dprintf-non-stop.c: Likewise.
202 * gdb.base/info-os.c: Likewise.
203 * gdb.mi/mi-console.c: Likewise.
204 * gdb.mi/watch-nonstop.c: Likewise.
205 * gdb.python/py-events.c: Likewise.
206 * gdb.base/async.c (baz): Move up before its invocation.
207 * gdb.base/code_elim2.c (my_global_func): Likewise.
208 * gdb.base/skip-solib-lib.c (multiply): Likewise.
209 * gdb.base/advance.c (func2): Likewise.
211 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
213 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
215 * gdb.base/annota3.c: Likewise.
216 * gdb.base/async.c: Likewise.
217 * gdb.base/average.c: Likewise.
218 * gdb.base/call-ar-st.c: Likewise.
219 * gdb.base/call-rt-st.c: Likewise.
220 * gdb.base/call-sc.c: Likewise.
221 * gdb.base/call-strs.c: Likewise.
222 * gdb.base/ending-run.c: Likewise.
223 * gdb.base/execd-prog.c: Likewise.
224 * gdb.base/exprs.c: Likewise.
225 * gdb.base/foll-exec.c: Likewise.
226 * gdb.base/foll-fork.c: Likewise.
227 * gdb.base/foll-vfork.c: Likewise.
228 * gdb.base/funcargs.c: Likewise.
229 * gdb.base/gcore.c: Likewise.
230 * gdb.base/jump.c: Likewise.
231 * gdb.base/langs0.c: Likewise.
232 * gdb.base/langs1.c: Likewise.
233 * gdb.base/langs2.c: Likewise.
234 * gdb.base/mips_pro.c: Likewise.
235 * gdb.base/nodebug.c: Likewise.
236 * gdb.base/opaque0.c: Likewise.
237 * gdb.base/opaque1.c: Likewise.
238 * gdb.base/recurse.c: Likewise.
239 * gdb.base/run.c: Likewise.
240 * gdb.base/scope0.c: Likewise.
241 * gdb.base/scope1.c: Likewise.
242 * gdb.base/setshow.c: Likewise.
243 * gdb.base/setvar.c: Likewise.
244 * gdb.base/shmain.c: Likewise.
245 * gdb.base/shr1.c: Likewise.
246 * gdb.base/shr2.c: Likewise.
247 * gdb.base/sigall.c: Likewise.
248 * gdb.base/signals.c: Likewise.
249 * gdb.base/so-indr-cl.c: Likewise.
250 * gdb.base/solib2.c: Likewise.
251 * gdb.base/structs.c: Likewise.
252 * gdb.base/sum.c: Likewise.
253 * gdb.base/vforked-prog.c: Likewise.
254 * gdb.base/watchpoint.c: Likewise.
255 * gdb.reverse/shr2.c: Likewise.
256 * gdb.reverse/until-reverse.c: Likewise.
257 * gdb.reverse/ur1.c: Likewise.
258 * gdb.reverse/watch-reverse.c: Likewise.
260 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
262 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
264 * gdb.base/sepdebug.exp: Drop references to removed code.
266 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
268 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
269 variant. Preserve original line numbering.
270 * gdb.base/list1.c: Likewise.
272 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
274 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
276 * gdb.base/break1.c: Likewise.
277 * gdb.base/break.exp: Drop references to removed code.
279 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
281 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
284 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
286 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
288 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
290 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
291 logic into perform_all_tests() and invoke it with and without
292 function header prototypes.
293 (do_function_calls): Remove conditional XFAIL for PR 5318.
294 (rerun_and_prepare): Remove duplicate code.
295 (perform_all_tests): New. Main logic moved here.
297 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
299 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
300 code guarded by #ifdef NO_PROTOTYPES.
301 (t_double_many_args): Likewise.
302 (DEF_FUNC_MANY_ARGS_1): Likewise.
303 (DEF_FUNC_VALUES_1): Likewise.
304 (t_structs_ldc): Renamed from t_structs_fc in conditional code
305 guarded by #ifdef PROTOTYPES.
307 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
309 * gdb.mi/mi-console.c: Add eye-catcher.
310 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
311 instead of literal line number.
313 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
315 * gdb.base/shr2.c: Add eye-catcher.
316 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
319 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
321 * gdb.base/jump.c: Add eye-catchers.
322 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
325 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
327 * gdb.base/execd-prog.c: Add eye-catchers.
328 * gdb.base/foll-exec.c: Likewise.
329 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
332 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
334 * gdb.base/ending-run.c: Add eye-catchers.
335 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
336 literal line numbers.
338 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
340 * gdb.base/call-rt-st.c: Add eye-catchers.
341 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
342 literal line numbers.
344 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
346 * gdb.base/call-ar-st.c: Add eye-catchers.
347 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
348 literal line numbers.
350 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
352 * gdb.base/average.c: Add eye-catchers.
353 * gdb.base/sum.c: Likewise.
354 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
357 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
359 * gdb.base/solib1.c: Add eye-catchers.
360 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
361 literal line numbers.
363 2014-11-12 Pedro Alves <palves@redhat.com>
365 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
368 2014-11-12 Pedro Alves <palves@redhat.com>
370 * gdb.arch/i386-bp_permanent.c: New file.
371 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
372 (srcfile): Set to i386-bp_permanent.c.
373 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
374 that stepi does not execute the 'leave' instruction, instead of
375 testing it does execute.
376 * gdb.base/bp-permanent.c: New file.
377 * gdb.base/bp-permanent.exp: New file.
379 2014-11-10 Doug Evans <xdje42@gmail.com>
382 * gdb.base/symtab-search-order.exp: New file.
383 * gdb.base/symtab-search-order.c: New file.
384 * gdb.base/symtab-search-order-1.c: New file.
385 * gdb.base/symtab-search-order-shlib-1.c: New file.
387 2014-11-07 Pedro Alves <palves@redhat.com>
390 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
393 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
396 * gdb.cp/pr17494.cc: New file.
397 * gdb.cp/pr17494.exp: New file.
399 2014-11-02 Yao Qi <yao@codesourcery.com>
401 * gdb.python/python.exp: Get working directory and match the
402 output of "set extended-prompt \\w " with it.
404 2014-10-30 Doug Evans <dje@google.com>
406 * gdb.python/py-objfile.exp: Add tests for setting random attributes
408 * gdb.python/py-progspace.exp: Add tests for setting random attributes
411 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
413 * gdb.base/fullpath-expand.exp: Skip for a remote host.
414 * gdb.base/realname-expand.exp: Likewise.
415 * gdb.linespec/macro-relative.exp: Likewise.
417 2014-10-29 Pedro Alves <palves@redhat.com>
420 * gdb.threads/schedlock.c (some_function): New function.
421 (call_function): New global.
422 (MAYBE_CALL_SOME_FUNCTION): New macro.
423 (thread_function): Call it.
424 * gdb.threads/schedlock.exp (get_args): Add description parameter,
425 and use it instead of a global counter. Adjust all callers.
426 (get_current_thread): Use "find current thread" for test message
427 here rather than having all callers pass down the same string.
428 (goto_loop): New procedure, factored out from ...
429 (my_continue): ... this.
430 (step_ten_loops): Change parameter from test message to command to
432 (list_count): Delete global.
433 (check_result): New procedure, factored out from duplicate top
435 (continue tests): Wrap in with_test_prefix.
436 (test_step): New procedure, factored out from duplicate top level
438 (top level): Test "step" in combination with all scheduler-locking
439 modes. Test "next" in combination with all scheduler-locking
440 modes, and in combination with stepping over a function call or
442 * gdb.threads/next-bp-other-thread.c: New file.
443 * gdb.threads/next-bp-other-thread.exp: New file.
445 2014-10-29 Pedro Alves <palves@redhat.com>
448 * gdb.python/python.exp: Test a multi-line command that spawns
450 * gdb.base/multi-line-starts-subshell.exp: New file.
452 2014-10-29 Yao Qi <yao@codesourcery.com>
454 * gdb.base/fileio.exp: Make directories on host.
456 2014-10-29 Yao Qi <yao@codesourcery.com>
458 * gdb.base/fileio.c (test_write): Close the file.
460 2014-10-28 Pedro Alves <palves@redhat.com>
463 * gdb.base/sigstep.c (no_handler): New global.
464 (main): If 'no_handler is true, set the signal handlers to
466 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
467 with_sw_watch and no_handler parameters. Handle them.
468 (top level) <stepping over handler when stopped at a breakpoint
469 test>: Add a test axis for testing with a software watchpoint, and
470 another for testing with the signal handler set to SIG_IGN.
471 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
472 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
474 2014-10-28 Pedro Alves <palves@redhat.com>
477 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
478 * gdb.base/sigstep.exp (other_handler_location): New global.
479 (advance): Support stepping into the signal handler, and running
480 commands while in the handler.
481 (in_handler_map): New global.
482 (top level): In the advance test, add combinations for getting
483 into the handler with stepping commands, and for running commands
484 in the handler. Add comment descripting the advancei tests.
486 2014-10-28 Pedro Alves <palves@redhat.com>
488 * gdb.base/sigstep.exp: Use build_executable instead of
490 (top level): Move code that starts GDB, runs to main and creates a
492 (restart): ... this new procedure.
493 (top level): Move backtrace from signal handler test to ...
494 (validate_backtrace): ... this new procedure.
495 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
496 with_test_prefix. Always restart GDB.
497 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
498 with_test_prefix. Always restart GDB. No need to delete
499 breakpoints after the test.
500 (test_skip_handler): Remove prefix parameter.
501 (skip_over_handler, breakpoint_to_handler)
502 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
503 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
504 restart GDB. No need to delete breakpoints after the test.
505 (top level): Use foreach to call the test procedures with
508 2014-10-28 Pedro Alves <palves@redhat.com>
510 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
511 instead of GNATS numbers.
512 * gdb.base/sigbpt.exp: Likewise.
513 * gdb.base/siginfo.exp: Likewise.
514 * gdb.base/sigstep.exp: Likewise.
516 2014-10-27 Pedro Alves <palves@redhat.com>
518 * gdb.base/sigstep.c (dummy): New global.
519 (main): Issue a couple writes to the new global.
520 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
522 (skip_over_handler): Use test_skip_handler.
523 (top level): Call skip_over_handler for stepi and nexti too.
524 (breakpoint_over_handler): Use test_skip_handler.
525 (top level): Call breakpoint_over_handler for stepi and nexti too.
527 2014-10-27 Yao Qi <yao@codesourcery.com>
529 * gdb.trace/tfile.c (adjust_function_address)
530 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
533 2014-10-24 Don Breazeal <donb@codesourcery.com>
535 * gdb.base/foll-fork.exp (test_follow_fork,
536 catch_fork_child_follow): Check for updated fork messages emitted
538 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
539 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
540 vfork_and_exec_child_follow_through_step): Check for updated vfork
541 messages emitted from infrun.c.
543 2014-10-24 Pedro Alves <palves@redhat.com>
545 * gdb.base/corefile.exp: Remove references to ultrix.
546 * gdb.base/interrupt.exp: Likewise.
547 * gdb.base/whatis.exp: Likewise.
548 * gdb.gdb/selftest.exp: Likewise.
549 * gdb.threads/manythreads.exp: Likewise.
550 * gdb.threads/print-threads.exp: Likewise.
551 * gdb.threads/pthreads.exp:: Likewise.
552 * gdb.threads/schedlock.exp: Likewise.
554 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
556 * gdb.cp/non-trivial-retval.cc: Add a test case.
557 * gdb.cp/non-trivial-retval.exp: Add a test.
559 2014-10-20 Yao Qi <yao@codesourcery.com>
561 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
562 * gdb.python/py-objfile-script-gdb.py: New file.
563 * gdb.python/py-objfile-script.exp: Update reference to
564 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
565 of remote_download. Remove the dest file.
567 2014-10-20 Yao Qi <yao@codesourcery.com>
569 * gdb.base/checkpoint.exp: Don't remove file copied on host.
570 * gdb.base/step-line.exp: Likewise.
571 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
572 * gdb.dwarf2/dw2-basic.exp: Likewise.
573 * gdb.dwarf2/dw2-compressed.exp: Likewise.
574 * gdb.dwarf2/dw2-filename.exp: Likewise.
575 * gdb.dwarf2/dw2-intercu.exp: Likewise.
576 * gdb.dwarf2/dw2-intermix.exp: Likewise.
577 * gdb.dwarf2/dw2-producer.exp: Likewise.
578 * gdb.dwarf2/mac-fileno.exp: Likewise.
579 * gdb.python/py-frame-args.exp: Likewise.
580 * gdb.python/py-framefilter.exp: Likewise.
581 * gdb.python/py-mi.exp: Likewise.
582 * gdb.python/py-objfile-script.exp: Likewise
583 * gdb.python/py-pp-integral.exp: Likewise.
584 * gdb.python/py-pp-re-notag.exp: Likewise.
585 * gdb.python/py-prettyprint.exp: Likewise.
586 * gdb.python/py-section-script.exp: Likewise.
587 * gdb.python/py-typeprint.exp: Likewise.
588 * gdb.python/py-xmethods.exp: Likewise.
589 * gdb.stabs/weird.exp: Likewise.
590 * gdb.xml/tdesc-regs.exp: Likewise.
592 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
594 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
595 (out_cu): Use addr_len for the size of addresses.
596 (out_line): Likewise. Size DW_LNE_set_address instruction
597 according to addr_len.
598 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
599 (FUNC): Add START_INSNS to definition.
601 2014-10-18 Yao Qi <yao@codesourcery.com>
603 * gdb.base/argv0-symlink.exp: Check argv[0] value if
604 gdb_has_argv0 return true.
605 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
606 check [target_info exists noargs], check [gdb_has_argv0]
608 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
609 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
612 2014-10-17 Doug Evans <dje@google.com>
614 * gdb.python/py-events.exp: Update expected output for clear_objfiles
616 * gdb.python/py-events.py: Add clear_objfiles event.
618 2014-10-17 Doug Evans <dje@google.com>
620 * gdb.python/py-objfile.exp: Test progspace attribute.
622 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
624 * gdb.guile/scm-breakpoint.exp: Do not assume any
625 directory separators when matching source file paths.
626 * gdb.python/py-breakpoint.exp: Likewise.
627 * gdb.reverse/break-precsave.exp: Likewise.
628 * gdb.reverse/break-reverse.exp: Likewise.
629 * gdb.reverse/consecutive-precsave.exp: Likewise.
630 * gdb.reverse/finish-precsave.exp: Likewise.
631 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
632 * gdb.reverse/finish-reverse.exp: Likewise.
633 * gdb.reverse/i386-precsave.exp: Likewise.
634 * gdb.reverse/i387-env-reverse.exp: Likewise.
635 * gdb.reverse/i387-stack-reverse.exp: Likewise.
636 * gdb.reverse/machinestate-precsave.exp: Likewise.
637 * gdb.reverse/machinestate.exp: Likewise.
638 * gdb.reverse/sigall-precsave.exp: Likewise.
639 * gdb.reverse/solib-precsave.exp: Likewise.
640 * gdb.reverse/step-precsave.exp: Likewise.
641 * gdb.reverse/until-precsave.exp: Likewise.
642 * gdb.reverse/watch-precsave.exp: Likewise.
643 * gdb.reverse/watch-reverse.exp: Likewise.
645 2014-10-17 Yao Qi <yao@codesourcery.com>
647 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
648 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
650 2014-10-17 Pedro Alves <palves@redhat.com>
653 * gdb.base/bg-execution-repeat.c: New file.
654 * gdb.base/bg-execution-repeat.exp: New file.
656 2014-10-17 Pedro Alves <palves@redhat.com>
659 * gdb.base/continue-all-already-running.c: New file.
660 * gdb.base/continue-all-already-running.exp: New file.
662 2014-10-17 Pedro Alves <palves@redhat.com>
665 * gdb.base/annota-input-while-running.c: New file.
666 * gdb.base/annota-input-while-running.exp: New file.
668 2014-10-17 Pedro Alves <palves@redhat.com>
670 * gdb.base/callfuncs.exp: emove references to osf.
671 * gdb.base/sigall.exp: Likewise.
672 * gdb.gdb/selftest.exp: Likewise.
673 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
674 * gdb.mi/non-stop.c: Likewise.
675 * gdb.mi/pthreads.c: Likewise.
676 * gdb.reverse/sigall-precsave.exp: Likewise.
677 * gdb.reverse/sigall-reverse.exp: Likewise.
678 * gdb.threads/pthreads.c: Likewise.
679 * gdb.threads/pthreads.exp: Likewise.
681 2014-10-17 Yao Qi <yao@codesourcery.com>
683 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
684 check 'target_info exists noargs'.
685 (test_command_prompt_position): Likewise.
686 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
688 (progvar_simple_while_test): Likewise.
689 (progvar_complex_if_while_test): Likewise.
690 (if_while_breakpoint_command_test): Likewise.
691 (infrun_breakpoint_command_test): Likewise.
692 (breakpoint_command_test): Likewise.
693 (watchpoint_command_test): Likewise.
694 (bp_deleted_in_command_test): Likewise.
695 (temporary_breakpoint_commands): Likewise.
697 2014-10-16 Yao Qi <yao@codesourcery.com>
699 * gdb.base/remotetimeout.exp: Remove noargs checking.
701 2014-10-15 Pedro Alves <palves@redhat.com>
704 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
705 * gdb.base/breakpoint-in-ro-region.exp
706 (probe_target_hardware_step): New procedure.
707 (top level): Probe hardware stepping and hardware breakpoint
708 support. Test stepping through a read-only region, with both
709 "breakpoint auto-hw" on and off and both "always-inserted" on and
712 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
714 * gdb.dlang/demangle.exp: Update for demangling changes.
716 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
718 * gdb.cp/non-trivial-retval.cc: Add new test cases.
719 * gdb.cp/non-trivial-retval.exp: Add new tests.
721 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
725 * gdb.cp/non-trivial-retval.cc: New file.
726 * gdb.cp/non-trivial-retval.exp: New file.
728 2014-10-15 Yao Qi <yao@codesourcery.com>
730 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
733 2014-10-15 Yao Qi <yao@codesourcery.com>
735 * gdb.python/py-symbol.exp: Match file base name if host is
736 remote, otherwise match file name with dir name.
737 * gdb.python/py-symtab.exp: Likewise.
738 * gdb.python/python.exp: Likewise.
740 2014-10-15 Yao Qi <yao@codesourcery.com>
742 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
744 * gdb.python/py-symtab.exp: Likewise.
745 * gdb.python/python.exp: Remove trailing ".*". Fix typo
748 2014-10-14 Joel Brobecker <brobecker@adacore.com>
750 * gdb.ada/addr_arith: New testcase.
752 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
754 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
755 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
756 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
757 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
759 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
761 * gdb.arch/stap-eval-lang-ada.S: Likewise.
762 * gdb.arch/stap-eval-lang-ada.c: Likewise.
763 * gdb.arch/stap-eval-lang-ada.exp: New file.
765 2014-10-14 Yao Qi <yao@codesourcery.com>
767 * gdb.mi/mi-var-child.c (nothing1): New function.
768 (nothing2): New function.
769 (do_children_tests): Set function pointers by nothing1 and
771 * gdb.mi/mi-var-child.exp: Step over new added statements.
772 Update test to match the new output.
773 * gdb.mi/var-cmd.c (nothing1): New function.
774 (nothing2): New function.
775 (do_children_tests): Set function pointers by nothing1 and
777 * gdb.mi/mi-var-display.exp: Update test to match output.
778 Step to the line specified by $line_dct_nothing.
779 Increase the number of lines to step.
781 2014-10-14 Yao Qi <yao@codesourcery.com>
783 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
785 * gdb.mi/mi2-var-child.exp: Likewise.
787 2014-10-13 Doug Evans <dje@google.com>
789 * gdb.python/py-objfile.exp: Change name of file name test.
791 2014-10-13 Doug Evans <dje@google.com>
793 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
794 from the start of the CU.
796 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
797 Yao Qi <yao@codesourcery.com>
799 Fix "save breakpoints" for "catch" command.
800 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
801 Remove -nonewline. Match also the added "main" line.
803 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
805 Fix "save breakpoints" for "disable $bpnum" command.
806 * gdb.base/save-bp.c (main): Add label.
807 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
809 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
811 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
813 2014-10-11 Yao Qi <yao@codesourcery.com>
815 * gdb.server/server-kill.exp: Execute command
816 "set remote trace-status-packet on" before "tstatus".
818 2014-10-11 Yao Qi <yao@codesourcery.com>
820 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
821 (main): Call getppid.
822 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
823 and continue to it. Read variable "server_pid".
825 2014-10-11 Yao Qi <yao@codesourcery.com>
827 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
829 2014-10-11 Yao Qi <yao@codesourcery.com>
831 * gdb.threads/thread-find.exp: Don't execute command
833 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
834 * gdb.threads/linux-dp.exp: Don't check the condition
835 $threads_created equals to zero.
837 2014-10-10 Pedro Alves <palves@redhat.com>
839 * gdb.base/bigcore.exp: Remove references to IRIX.
840 * gdb.base/funcargs.exp: Likewise.
841 * gdb.base/interrupt.exp: Likewise.
842 * gdb.base/mips_pro.exp: Likewise.
843 * gdb.base/nodebug.exp: Likewise.
844 * gdb.base/setvar.exp: Likewise.
845 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
847 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
848 Pedro Alves <palves@redhat.com>
851 * gdb.base/vdso-warning.c: New file.
852 * gdb.base/vdso-warning.exp: New file.
854 2014-10-02 Doug Evans <dje@google.com>
856 * gdb.base/structs.c (main): Don't run forever.
858 2014-10-02 Pedro Alves <palves@redhat.com>
860 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
861 (top level) <stop threads 1, stop threads 2>: Use it.
863 2014-10-02 Pedro Alves <palves@redhat.com>
865 * gdb.threads/break-while-running.exp (test): Add new
866 'update_thread_list' argument. Skip "info threads" if false.
867 (top level): Add new 'update_thread_list' axis.
869 2014-10-02 Pedro Alves <palves@redhat.com>
872 * gdb.base/execl-update-breakpoints.c: New file.
873 * gdb.base/execl-update-breakpoints.exp: New file.
875 2014-10-01 Pedro Alves <palves@redhat.com>
877 * gdb.base/breakpoint-in-ro-region.c: New file.
878 * gdb.base/breakpoint-in-ro-region.exp: New file.
880 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
882 * gdb.mi/mi-exit-code.exp: New file.
883 * gdb.mi/mi-exit-code.c: New file.
885 2014-09-30 Yao Qi <yao@codesourcery.com>
887 * lib/prelink-support.exp (build_executable_own_libs): Error if
888 the target isn't native.
890 2014-09-30 Yao Qi <yao@codesourcery.com>
892 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
895 2014-09-22 Pedro Alves <palves@redhat.com>
897 * gdb.threads/break-while-running.exp: New file.
898 * gdb.threads/break-while-running.c: New file.
900 2014-09-19 Yao Qi <yao@codesourcery.com>
902 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
903 Invoke test. Restart GDB with --readnow and invoke test again.
905 2014-09-19 Yao Qi <yao@codesourcery.com>
907 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
908 proc set_breakpoint_on_gcd_function. Invoke
909 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
910 invoke set_breakpoint_on_gcd_function again.
912 2014-09-18 Doug Evans <dje@google.com>
914 * gdb.dwarf2/symtab-producer.exp: New file.
916 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
918 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
919 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
920 * gdb.base/global-var-nested-by-dso.c: Likewise.
921 * gdb.base/global-var-nested-by-dso.exp: Likewise.
923 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
924 Pedro Alves <palves@redhat.com>
926 * gdb.base/watch-bitfields.exp: Pass string other than test file
927 name to prepare_for_testing.
928 (watch): New procedure.
929 (expect_watchpoint): Use with_test_prefix.
930 (top level): Factor out tests to ...
931 (test_watch_location, test_regular_watch): ... these new
932 procedures, and use with_test_prefix and gdb_continue_to_end.
934 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
937 * gdb.base/watch-bitfields.exp: New file.
938 * gdb.base/watch-bitfields.c: New file.
940 2014-09-16 Pedro Alves <palves@redhat.com>
942 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
943 software and hardware addresses, not software address against
946 2014-09-16 Pedro Alves <palves@redhat.com>
948 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
949 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
951 2014-09-16 Pedro Alves <palves@redhat.com>
953 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
955 * gdb.base/a2-run.exp: Remove all code guarded by istarget
956 "*-*-vxworks*" throughout.
957 * gdb.base/break.exp: Likewise.
958 * gdb.base/default.exp: Likewise.
959 * gdb.base/scope.exp: Likewise.
960 * gdb.base/sepdebug.exp: Likewise.
961 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
963 * gdb.base/run.c: Likewise.
964 * gdb.base/sepdebug.c: Likewise.
965 * gdb.hp/gdb.aCC/run.c: Likewise.
966 * gdb.reverse/until-reverse.c: Likewise.
967 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
969 2014-09-16 Yao Qi <yao@codesourcery.com>
971 * boards/local-remote-host-native.exp: New file.
973 2014-09-14 Doug Evans <xdje42@gmail.com>
975 * gdb.threads/queue-signal.c (thread_count): New variable.
976 (thread_count_mutex, thread_count_condvar): New variables.
977 (incr_thread_count, wait_all_threads_running): New functions.
978 (main): Wait for all threads to be in their thread functions.
980 2014-09-13 Doug Evans <xdje42@gmail.com>
982 * gdb.threads/queue-signal.c: New file.
983 * gdb.threads/queue-signal.exp: New file.
985 2014-09-13 Doug Evans <xdje42@gmail.com>
987 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
988 be consistent with what default_gdb_init uses.
989 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
990 the plain text of the prompt. Add some logging printfs.
991 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
993 2014-09-12 Pedro Alves <palves@redhat.com>
995 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
996 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
997 * gdb.arch/i386-size-overlap.exp: Likewise.
998 * gdb.arch/i386-size.exp: Likewise.
999 * gdb.arch/i386-unwind.exp: Likewise.
1000 * gdb.base/a2-run.exp: Likewise.
1001 * gdb.base/break.exp: Likewise.
1002 * gdb.base/charset.exp: Likewise.
1003 * gdb.base/chng-syms.exp: Likewise.
1004 * gdb.base/commands.exp: Likewise.
1005 * gdb.base/dbx.exp: Likewise.
1006 * gdb.base/find.exp: Likewise.
1007 * gdb.base/funcargs.exp: Likewise.
1008 * gdb.base/jit-simple.exp: Likewise.
1009 * gdb.base/reread.exp: Likewise.
1010 * gdb.base/sepdebug.exp: Likewise.
1011 * gdb.base/step-bt.exp: Likewise.
1012 * gdb.cp/mb-inline.exp: Likewise.
1013 * gdb.cp/mb-templates.exp: Likewise.
1014 * gdb.objc/basicclass.exp: Likewise.
1015 * gdb.threads/killed.exp: Likewise.
1017 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1020 * gdb.arch/powerpc-stackless.S: New file.
1021 * gdb.arch/powerpc-stackless.exp: New file.
1023 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1025 * gdb.base/attach.c: Include unistd.h.
1026 (main): Call alarm. Add label postloop.
1027 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
1028 gdb_breakpoint, gdb_continue_to_breakpoint.
1029 (test_command_line_attach_run): Kill ${testpid} in one exit path.
1031 2014-09-11 Pedro Alves <palves@redhat.com>
1034 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
1035 * gdb.base/attach.exp (test_command_line_attach_run): New
1037 (top level): Call it.
1039 2014-09-11 Pedro Alves <palves@redhat.com>
1041 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
1042 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
1043 (do_command_attach_tests): Use spawn_wait_for_attach.
1044 * gdb.base/solib-overlap.exp: Likewise.
1045 * gdb.multi/multi-attach.exp: Likewise.
1046 * gdb.python/py-prompt.exp: Likewise.
1047 * gdb.python/py-sync-interp.exp: Likewise.
1048 * gdb.server/ext-attach.exp: Likewise.
1050 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
1052 * gdb.fortran/array-element.exp: Remove unexpected "continue"
1053 command in testcase. Simplify testcase.
1055 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1057 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
1059 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1061 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
1063 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1065 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
1067 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1069 * gdb.dwarf2/dynarr-ptr.c: New file.
1070 * gdb.dwarf2/dynarr-ptr.exp: New file.
1072 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1074 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
1075 of 30 rather than hardcoding 120 for a slow test case. Take the
1076 `gdb,timeout' target setting into account for this calculation.
1077 Don't extend the timeout for the test cases that don't need it.
1079 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1081 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
1082 a factor of 2 for a slow test case. Take the `gdb,timeout'
1083 target setting into account for this calculation.
1084 * gdb.reverse/until-precsave.exp: Increase the timeout by
1085 a factor of 15 and 3 respectively rather than adding 120
1086 for a pair of slow test cases. Take the `gdb,timeout'
1087 target setting into account for this calculation.
1089 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1091 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
1092 timeout, don't pass one down to gdb_expect.
1093 (gdb_expect): Rework timeout selection.
1095 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1097 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
1098 exception on timeout.
1099 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
1100 (gdbserver_start_extended): Catch any `gdbserver_start' error
1102 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
1103 * lib/mi-support.exp (mi_gdb_target_load): Catch any
1104 `gdbserver_gdb_load' error exceptions.
1106 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1108 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
1109 120 on waiting for the TCP socket to open.
1111 2014-09-09 Doug Evans <xdje42@gmail.com>
1113 * gdb.base/default.exp (show_conv_list): Add _caller_is,
1114 _caller_matches, _any_caller_is, _any_caller_matches.
1116 2014-09-09 Doug Evans <xdje42@gmail.com>
1118 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
1120 2014-09-09 Yao Qi <yao@codesourcery.com>
1122 * gdb.mi/mi-var-display.exp: Set print symbol off.
1124 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
1127 * gdb.base/commands.exp: Add tests to verify user-defined
1128 commands with empty bodies.
1129 * gdb.python/py-cmd.exp: Test that we don't show user-defined
1130 python commands in `show user command`.
1131 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
1132 scheme commands in `show user command`.
1134 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1137 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
1138 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
1139 * gdb.python/py-framefilter-invalidarg.exp: New file.
1140 * gdb.python/py-framefilter-invalidarg.py: New file.
1142 2014-09-06 Doug Evans <xdje42@gmail.com>
1145 * gdb.python/py-caller-is.c: New file.
1146 * gdb.python/py-caller-is.exp: New file.
1148 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
1151 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
1152 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
1154 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
1157 * gdb.fortran/print-formatted.exp: New file.
1158 * gdb.fortran/print-formatted.f90: Likewise.
1160 2014-09-03 Sasha Smundak <asmundak@google.com>
1162 * gdb.python/py-frame.exp: Test Frame.read_register.
1164 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
1167 * gdb.python/py-completion.exp: New file.
1168 * gdb.python/py-completion.py: Likewise.
1170 2014-08-28 Doug Evans <dje@google.com>
1172 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
1173 eax,etc. are live with values set by gdb and thus the compiler can't
1175 * gdb.arch/i386-pseudo.c (main): Ditto.
1177 2014-08-27 Doug Evans <dje@google.com>
1179 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
1181 2014-08-25 Doug Evans <dje@google.com>
1183 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
1186 2014-08-25 Doug Evans <dje@google.com>
1188 * gdb.threads/thread-execl.exp: #include <stdio.h>.
1190 2014-08-24 Yao Qi <yao@codesourcery.com>
1192 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
1194 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
1196 2014-08-22 Doug Evans <dje@google.com>
1199 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
1200 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
1201 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
1203 2014-08-22 Yao Qi <yao@codesourcery.com>
1205 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
1206 * gdb.python/py-finish-breakpoint2.exp: Likewise.
1207 * gdb.python/python.exp: Likewise. Use .py file on the host
1208 instead of the build.
1210 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1212 * gdb.threads/gcore-stale-thread.c: New file.
1213 * gdb.threads/gcore-stale-thread.exp: New file.
1215 2014-08-21 Pedro Alves <palves@redhat.com>
1217 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
1218 * gdb.base/gcore-relro-pie.exp: Likewise.
1219 * gdb.base/gcore-relro.exp: Likewise.
1220 * gdb.base/gcore.exp: Likewise.
1221 * gdb.base/print-symbol-loading.exp: Likewise.
1222 * gdb.threads/gcore-thread.exp: Likewise.
1223 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
1225 2014-08-20 Pedro Alves <palves@redhat.com>
1226 Jan Kratochvil <jan.kratochvil@redhat.com>
1228 * Makefile.in (EXTRA_RULES, CC): New variables, get from
1230 (EXPECT): Handle READ1 being set.
1231 (all): Depend on EXTRA_RULES.
1232 (check-read1, expect-read1, read1.so, read1): New rules.
1233 * README (Testsuite Parameters): Document the READ1 make variable.
1234 (Race detection): New section.
1235 * configure: Regenerate.
1236 * configure.ac: If build==host==target, and running under a
1237 GNU/glibc system, add read1 to the extra Makefile rules.
1238 (EXTRA_RULES): AC_SUBST it.
1239 * lib/read1.c: New file.
1241 2014-08-20 Joel Brobecker <brobecker@adacore.com>
1243 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
1244 the handling of variables declared as a typedef to an array
1245 which a DW_AT_data_location attribute.
1247 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
1248 Pedro Alves <palves@redhat.com>
1252 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
1255 2014-08-19 Pedro Alves <palves@redhat.com>
1257 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
1259 2014-08-19 Yao Qi <yao@codesourcery.com>
1261 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
1264 2014-08-18 David Blaikie <dblaikie@gmail.com>
1266 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
1268 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1270 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
1271 attribute in array range.
1273 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1275 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
1277 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1280 * gdb.cp/pr17132.cc: New file.
1281 * gdb.cp/pr17132.exp: New file.
1283 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1285 * gdb.python/py-xmethods.py (A_getarrayind)
1286 (E_method_char_worker.__call__, E_method_int_worker.__call__):
1287 Use 'print' with function call syntax.
1288 (E_method_matcher.match): Fix tab vs space indentation mixup.
1290 2014-08-15 Yao Qi <yao@codesourcery.com>
1292 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
1295 2014-08-15 Yao Qi <yao@codesourcery.com>
1297 * gdb.cp/casts.exp: Set print symbol off.
1298 * gdb.cp/class2.exp: Likewise.
1299 * gdb.cp/overload.exp: Likewise.
1300 * gdb.cp/templates.exp: Likewise.
1302 2014-08-11 Doug Evans <dje@google.com>
1304 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1305 (test_load_shlib): Update.
1307 2014-08-09 Yao Qi <yao@codesourcery.com>
1309 * gdb.base/display.exp: Invoke is_address_zero_readable.
1310 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
1311 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1312 * gdb.base/hbreak-unmapped.exp: Return if
1313 is_address_zero_readable returns true.
1314 * gdb.base/signest.exp: Likewise.
1315 * gdb.base/signull.exp: Likewise.
1316 * gdb.base/sigbpt.exp: Likewise.
1317 * gdb.guile/scm-disasm.exp: Do the test if
1318 is_address_zero_readable returns false.
1319 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
1320 * gdb.python/py-arch.exp: Likewise.
1321 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
1322 * lib/gdb.exp (is_address_zero_readable): New proc.
1324 2014-08-09 Yao Qi <yao@codesourcery.com>
1327 * gdb.mi/mi-var-display.exp: Make test messages unique.
1329 2014-08-04 Tom Tromey <tromey@redhat.com>
1331 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
1334 2014-08-04 Tom Tromey <tromey@redhat.com>
1336 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
1339 2014-08-01 Joel Brobecker <brobecker@adacore.com>
1341 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
1342 inner_vla_struct_object_size.
1343 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
1346 2014-07-30 Pedro Alves <palves@redhat.com>
1348 * gdb.threads/signal-command-handle-nopass.exp (test): Add
1351 2014-07-29 Yao Qi <yao@codesourcery.com>
1354 * gdb.base/until-nodebug.exp: New.
1356 2014-07-28 Doug Evans <xdje42@gmail.com>
1359 * gdb.guile/scm-parameter.exp: Add tests for trying to create
1360 previously existing parameter, and previously ambiguously spelled
1363 2014-07-28 Will Newton <will.newton@linaro.org>
1365 * gdb.base/varargs.exp: Remove KFAILs for ARM.
1367 2014-07-26 Ludovic Courtès <ludo@gnu.org>
1368 Doug Evans <xdje42@gmail.com>
1371 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
1373 2014-07-25 Pedro Alves <palves@redhat.com>
1375 * gdb.threads/signal-command-handle-nopass.c: New file.
1376 * gdb.threads/signal-command-handle-nopass.exp: New file.
1377 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
1378 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
1379 * gdb.threads/signal-delivered-right-thread.c: New file.
1380 * gdb.threads/signal-delivered-right-thread.exp: New file.
1382 2014-07-25 Pedro Alves <palves@redhat.com>
1384 * gdb.base/double-prompt-target-event-error.exp
1385 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
1387 (cancel_pagination_in_target_event): Rework double prompt
1389 * gdb.base/paginate-after-ctrl-c-running.exp
1390 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
1392 * gdb.base/paginate-bg-execution.exp
1393 (test_bg_execution_pagination_return)
1394 (test_bg_execution_pagination_cancel): Remove '-notransfer
1396 * gdb.base/paginate-execution-startup.exp
1397 (test_fg_execution_pagination_return)
1398 (test_fg_execution_pagination_cancel): Remove '-notransfer
1400 * gdb.base/paginate-inferior-exit.exp
1401 (test_paginate_inferior_exited): Remove '-notransfer <return>'
1403 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
1404 * lib/gdb.exp (pagination_prompt): Run text through
1406 (gdb_test_multiple): Match $pagination_prompt instead of
1408 (string_to_regexp): Move to lib/gdb-utils.exp.
1410 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1412 * gdb.arch/amd64-entry-value-paramref.S: New file.
1413 * gdb.arch/amd64-entry-value-paramref.cc: New file.
1414 * gdb.arch/amd64-entry-value-paramref.exp: New file.
1415 * gdb.arch/amd64-optimout-repeat.S: New file.
1416 * gdb.arch/amd64-optimout-repeat.c: New file.
1417 * gdb.arch/amd64-optimout-repeat.exp: New file.
1419 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1422 * gdb.base/statistics.exp: New file.
1424 2014-07-17 Doug Evans <dje@google.com>
1427 * gdb.base/maint.exp: Update testing of per-command stats.
1429 2014-07-16 Pedro Alves <palves@redhat.com>
1431 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
1432 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
1433 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
1434 (tfile_write_buf): New functions.
1435 (add_memory_block): Rewrite using the above.
1436 (adjust_function_address): New function.
1437 (FUNCTION_ADDRESS): New macro.
1438 (write_basic_trace_file): Remove short_x local, and use
1439 tfile_write_16. Change type of func_addr local to unsigned long
1440 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
1441 here. Cast argument of add_memory_block to char pointer.
1442 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
1443 (main): Remove parameters.
1444 * gdb.trace/tfile.exp: Remove nowarnings.
1446 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1448 * gdb.base/debug-expr.exp: Test string evaluation with
1449 "debug expression" on.
1451 2014-07-15 Pedro Alves <palves@redhat.com>
1453 * gdb.base/reread.exp: Use clean_restart.
1455 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1457 * gdb.arch/avr-flash-qualifer.c: New.
1458 * gdb.arch/avr-flash-qualifer.exp: New.
1460 2014-07-14 Pedro Alves <palves@redhat.com>
1462 * gdb.base/paginate-after-ctrl-c-running.c: New file.
1463 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1465 2014-07-14 Pedro Alves <palves@redhat.com>
1467 * gdb.base/double-prompt-target-event-error.c: New file.
1468 * gdb.base/double-prompt-target-event-error.exp: New file.
1470 2014-07-14 Pedro Alves <palves@redhat.com>
1473 * gdb.base/paginate-inferior-exit.c: New file.
1474 * gdb.base/paginate-inferior-exit.exp: New file.
1476 2014-07-14 Pedro Alves <palves@redhat.com>
1479 * gdb.base/paginate-bg-execution.c: New file.
1480 * gdb.base/paginate-bg-execution.exp: New file.
1482 2014-07-14 Pedro Alves <palves@redhat.com>
1485 * gdb.base/paginate-execution-startup.c: New file.
1486 * gdb.base/paginate-execution-startup.exp: New file.
1487 * lib/gdb.exp (pagination_prompt): New global.
1488 (default_gdb_spawn): New procedure, factored out from
1490 (default_gdb_start): Adjust to call default_gdb_spawn.
1491 (gdb_spawn): New procedure.
1493 2014-07-14 Pedro Alves <palves@redhat.com>
1495 * lib/gdb.exp (gdb_assert): New procedure.
1496 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
1498 2014-07-14 Pedro Alves <palves@redhat.com>
1500 * gdb.base/execution-termios.c: New file.
1501 * gdb.base/execution-termios.exp: New file.
1503 2014-07-14 Tom Tromey <tromey@redhat.com>
1505 * gdb.cp/vla-cxx.cc: New file.
1506 * gdb.cp/vla-cxx.exp: New file.
1508 2014-07-14 Tom Tromey <tromey@redhat.com>
1510 * gdb.reverse/rerun-prec.c: New file.
1511 * gdb.reverse/rerun-prec.exp: New file.
1513 2014-07-12 Maciej W. Rozycki <macro@mips.com>
1514 Maciej W. Rozycki <macro@codesourcery.com>
1516 * lib/gdb-utils.exp: New file.
1517 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
1518 inline `gdb_init_command' processing.
1519 (gdb_start_cmd): Likewise.
1520 * lib/mi-support.exp (mi_run_cmd): Likewise.
1521 * README: Document `gdb_init_command' and `gdb_init_commands'.
1523 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1525 Fix false FAIL running under a very long directory name.
1526 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1527 and "set print elements 10000". Twice.
1529 2014-07-11 Yao Qi <yao@codesourcery.com>
1531 * gdb.base/exprs.exp: "set print symbol off".
1533 2014-07-11 Pedro Alves <palves@redhat.com>
1535 * gdb.threads/kill.c: New file.
1536 * gdb.threads/kill.exp: New file.
1538 2014-07-10 Yao Qi <yao@codesourcery.com>
1540 * gdb.trace/tfile.c (write_basic_trace_file)
1541 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1542 address written to trace file.
1544 2014-07-09 Pedro Alves <palves@redhat.com>
1546 * gdb.base/attach-wait-input.exp: New file.
1547 * gdb.base/attach-wait-input.c: New file.
1549 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1551 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1552 setting up test structures.
1553 (main): Call new test function.
1554 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1555 test function, continue into test function and walk test
1558 2014-07-02 Yao Qi <yao@codesourcery.com>
1560 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1561 'bar_start' at the beginning of functions 'foo' and 'bar'
1563 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1564 instead of 'foo' and 'bar'.
1566 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1568 * gdb.btrace/segv.exp: New.
1569 * gdb.btrace/segv.c: New.
1571 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
1573 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1576 2014-06-30 Mark Wielaard <mjw@redhat.com>
1578 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1579 vulture, vilify, villar): New volatile array constants.
1580 (vindictive, vegetation): New const volatile array constants.
1581 * gdb.base/volatile.exp: Test volatile and const volatile array
1584 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1586 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1587 target lacks support for awatch, rwatch, or hbreak.
1589 2014-06-27 Yao Qi <yao@codesourcery.com>
1591 * gdb.multi/dummy-frame-restore.exp: New.
1592 * gdb.multi/dummy-frame-restore.c: New.
1594 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1596 * gdb.btrace/gcore.exp: New.
1598 2014-06-23 Pedro Alves <palves@redhat.com>
1600 * gdb.base/watchpoint-reuse-slot.c: New file.
1601 * gdb.base/watchpoint-reuse-slot.exp: New file.
1603 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1605 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1606 progspace's filename in 'info', 'enable' and 'disable' command
1609 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1611 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1612 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1613 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1615 2014-06-20 Gary Benson <gbenson@redhat.com>
1617 * gdb.arch/i386-avx.exp: Fix include file location.
1618 * gdb.arch/i386-sse.exp: Likewise.
1620 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1622 * gdb.dlang/expression.exp: New file.
1624 2014-06-19 Pedro Alves <palves@redhat.com>
1626 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1628 (top level): ... here. Iterate running tests under different
1629 scheduler-locking settings.
1631 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
1633 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1634 to DW_FORM_addr and use non-zero addresses.
1636 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1639 * gdb.python/py-xmethods.cc: Add global function call counters and
1640 increment them in their respective functions. Remove "cout"
1642 * gdb.python/py-xmethods.exp: Make tests check the global function
1643 call counters instead of depending on inferior IO.
1645 2014-06-18 Don Breazeal <donb@codesourcery.com>
1647 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1649 (explicit_fork_parent_follow): Deleted procedure.
1650 (explicit_fork_child_follow): Deleted procedure.
1651 (test_follow_fork): New procedure.
1652 (do_fork_tests): Replace calls to deleted procedures with
1653 calls to test_follow_fork and reset GDB for subsequent
1656 2014-06-17 Yao Qi <yao@codesourcery.com>
1658 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1661 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
1663 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1664 Initialize ptr and S explicitly.
1665 (skip_type_update_when_not_use_rtti_test): Likewise.
1667 2014-06-16 Keith Seitz <keiths@redhat.com>
1670 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1671 the inferior is started.
1673 2014-06-16 Pedro Alves <palves@redhat.com>
1675 * gdb.base/break-main-file-remove-fail.c: New file.
1676 * gdb.base/break-main-file-remove-fail.exp: New file.
1677 * gdb.base/break-unload-file.exp: Use build_executable instead of
1678 prepare_for_testing.
1679 (test_break): New parameter "initial_load". Handle it.
1680 (top level): Add initial_load cmdline/file axis.
1682 2014-06-12 Tom Tromey <tromey@redhat.com>
1684 * gdb.base/completion.exp: Don't use directory name in test.
1686 2014-06-09 Gary Benson <gbenson@redhat.com>
1688 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1689 separate the always-available ANSI-standard signals from the
1690 signals that require checking.
1692 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1696 2014-06-07 Keith Seitz <keiths@redhat.com>
1700 * gdb.cp/var-tag.cc: New file.
1701 * gdb.cp/var-tag.exp: New file.
1702 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1703 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1704 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1705 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1707 2014-06-06 Doug Evans <xdje42@gmail.com>
1709 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1711 2014-06-06 Pedro Alves <palves@redhat.com>
1713 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1714 in target debug output instead of looking at RSP packets,
1715 disabling the test on any target that uses hardware stepping.
1718 2014-06-06 Pedro Alves <palves@redhat.com>
1720 * gdb.base/break-unload-file.exp: Fix typo.
1722 2014-06-06 Yao Qi <yao@codesourcery.com>
1724 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1725 from "jit_function" to "^jit_function".
1727 2014-06-06 Yao Qi <yao@codesourcery.com>
1729 * gdb.base/async.c (foo): Add one statement.
1730 * gdb.base/async.exp: Get the next instruction address and
1731 match the output of "nexti" by instruction address. Match
1732 the hex address in the output of "finish".
1734 2014-06-06 Gary Benson <gbenson@redhat.com>
1736 * gdb.base/call-signals.c: Remove preprocessor conditionals
1737 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1738 SIGSEGV and SIGTERM.
1739 * gdb.base/sigall.c: Likewise.
1740 * gdb.base/unwindonsignal.c: Likewise.
1741 * gdb.reverse/sigall-reverse.c: Likewise.
1743 2014-06-06 Yao Qi <yao@codesourcery.com>
1745 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1746 readable, skip the test.
1748 2014-06-06 Yao Qi <yao@codesourcery.com>
1750 * gdb.threads/staticthreads.c (thread_function): Move the line
1751 setting breakpoint on forward.
1752 * gdb.threads/staticthreads.exp: Update comments.
1754 2014-06-05 Ludovic Courtès <ludo@gnu.org>
1756 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1757 "history-append! type error".
1759 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1761 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1762 erroneous dprintf expected input.
1764 2014-06-04 Doug Evans <xdje42@gmail.com>
1766 * gdb.guile/scm-generics.exp: Delete.
1768 2014-06-04 Doug Evans <xdje42@gmail.com>
1770 * gdb.guile/scm-breakpoint.exp: Update.
1771 Add tests for breakpoint registration.
1773 2014-06-04 Tom Tromey <tromey@redhat.com>
1775 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1777 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1778 inner_vla_struct, vla_union types. Initialize objects of those
1779 types and compute their sizes.
1781 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1782 Hui Zhu <hui@codesourcery.com>
1784 * gdb.base/fileio.exp: Add test for shell not available as well as
1786 * gdb.base/fileio.c (test_system): Check for shell twice.
1788 2014-06-04 Yao Qi <yao@codesourcery.com>
1790 * gdb.base/auto-connect-native-target.exp: Remove redundant
1791 space from the regexp pattern.
1793 2014-06-04 Yao Qi <yao@codesourcery.com>
1795 * gdb.base/default.exp: Replace "child" with "native" in
1798 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1800 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1801 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1802 * gdb.python/py-xmethods.py: Python script supporting the
1803 new testcase and tests.
1805 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1806 Pedro Alves <palves@redhat.com>
1808 PR breakpoints/17000
1809 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1810 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1812 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1814 * gdb.base/subst.exp: Add tests to verify partial path matching
1817 2014-06-03 Pedro Alves <palves@redhat.com>
1819 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1820 target that doesn't use software single-stepping.
1822 2014-06-03 Pedro Alves <palves@redhat.com>
1824 PR breakpoints/17000
1825 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1826 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1828 2014-06-02 Doug Evans <xdje42@gmail.com>
1830 * gdb.guile/scm-parameter.exp: New file.
1832 2014-06-02 Doug Evans <xdje42@gmail.com>
1834 * gdb.guile/scm-cmd.c: New file.
1835 * gdb.guile/scm-cmd.exp: New file.
1837 2014-06-02 Doug Evans <xdje42@gmail.com>
1839 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1840 pretty-printer lookup.
1841 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1842 (make-pp_s-printer): Call it.
1843 (make-pretty-printer-from-dict): New function.
1844 (lookup-pretty-printer-maker-from-dict): New function.
1845 (*pretty-printer*): Simplify.
1846 (make-objfile-pp_s-printer): New function.
1847 (install-objfile-pretty-printers!): New function.
1848 (make-progspace-pp_s-printer): New function.
1849 (install-progspace-pretty-printers!): New function.
1850 * gdb.guile/scm-progspace.c: New file.
1851 * gdb.guile/scm-progspace.exp: New file.
1853 2014-06-02 Pedro Alves <palves@redhat.com>
1855 * gdb.base/dprintf-bp-same-addr.c: New file.
1856 * gdb.base/dprintf-bp-same-addr.exp: New file.
1858 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1860 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1861 * gdb.arch/powerpc-power.s: Likewise.
1863 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1865 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1867 2014-06-01 Yao Qi <yao@codesourcery.com>
1869 * gdb.base/watchpoint.exp (test_watch_location): Check null
1870 pointer can be dereferenced. If not, do the test, otherwise
1873 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1875 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1877 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1879 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1881 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1882 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1883 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1884 * gdb.arch/amd64-invalid-stack-top.c: New file.
1885 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1887 2014-05-30 Pedro Alves <palves@redhat.com>
1889 PR breakpoints/17000
1890 * gdb.base/sss-bp-on-user-bp.c: New file.
1891 * gdb.base/sss-bp-on-user-bp.exp: New file.
1893 2014-05-30 David Blaikie <dblaikie@gmail.com>
1895 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1896 gnu_inline semantics via attribute.
1897 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1898 source explicitly specifies the required semantics.
1900 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1902 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1904 2014-05-29 Pedro Alves <palves@redhat.com>
1905 Tom Tromey <tromey@redhat.com>
1907 * gdb.base/async-shell.exp: Don't enable target-async.
1908 * gdb.base/async.exp
1909 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1911 (top level): Don't test with "target-async".
1912 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1913 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1914 * gdb.base/inferior-died.exp: Don't enable target-async.
1915 * gdb.base/interrupt-noterm.exp: Likewise.
1916 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1917 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1918 * gdb.mi/mi-nonstop.exp: Likewise.
1919 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1920 * gdb.mi/mi-nsintrall.exp: Likewise.
1921 * gdb.mi/mi-nsmoribund.exp: Likewise.
1922 * gdb.mi/mi-nsthrexec.exp: Likewise.
1923 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1924 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1925 * gdb.python/py-evsignal.exp: Don't enable target-async.
1926 * gdb.python/py-evthreads.exp: Likewise.
1927 * gdb.python/py-prompt.exp: Likewise.
1928 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1929 * gdb.server/solib-list.exp: Don't enable target-async.
1930 * gdb.threads/thread-specific-bp.exp: Likewise.
1931 * lib/mi-support.exp: Adjust to use mi-async.
1933 2014-05-29 Pedro Alves <palves@redhat.com>
1936 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1937 reason, even in sync mode.
1939 2014-05-29 Pedro Alves <palves@redhat.com>
1940 Hui Zhu <hui@codesourcery.com>
1943 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1944 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1945 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1946 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1948 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1950 * config/monitor.exp (gdb_target_monitor): Replace use of
1951 "set remotebaud" by "set serial baud".
1953 2014-05-26 Andy Wingo <wingo@igalia.com>
1955 * gdb.guile/scm-breakpoint.exp:
1956 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1957 properties instead of gdb-object-properties.
1959 2014-05-26 Yao Qi <yao@codesourcery.com>
1961 * gdb.server/no-thread-db.exp: Specify source file name
1962 explicitly when setting a breakpoint.
1964 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1966 * gdb.btrace/vdso.c: New.
1967 * gdb.btrace/vdso.exp: New.
1969 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1971 * gdb.base/gcore.exp (capture_command_output): Move ...
1972 * lib/gdb.exp (capture_command_output): ... here.
1974 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1976 * gdb.btrace/data.exp: Test memory access during btrace replay.
1978 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1980 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1982 2014-05-21 Pedro Alves <palves@redhat.com>
1985 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1986 (top level): Test that output related to execution commands is
1987 sent to the console with CLI commands, but not with MI commands.
1988 Test that breakpoint events are always mirrored to the console.
1989 Also expect the new source line to be output after a "next" in
1990 async mode too. Make it a pass/fail test.
1991 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1993 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1995 2014-05-21 Pedro Alves <palves@redhat.com>
1997 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1998 Use them to test variations of "list" after reaching a breakpoint.
1999 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
2000 Test "list" with listsize 10 after reaching a breakpoint.
2001 * gdb.python/python.exp (decode_line current location line
2002 number): Adjust expected line number.
2004 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
2006 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
2007 behavior for $args, pass it directly to "run".
2009 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
2011 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
2014 2014-05-21 Pedro Alves <palves@redhat.com>
2016 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
2017 auto-connect-native-target off".
2018 * gdb.base/auto-connect-native-target.c: New file.
2019 * gdb.base/auto-connect-native-target.exp: New file.
2021 2014-05-21 Pedro Alves <palves@redhat.com>
2023 * gdb.base/default.exp: Test "target native" instead of "target
2026 2014-05-21 Mark Wielaard <mjw@redhat.com>
2028 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2030 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2032 Fix TLS access for -static -pthread.
2033 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
2034 <HAVE_TLS> (thread_function, main): Initialize it.
2035 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
2037 <$have_tls != "">: Check TLSVAR.
2039 2014-05-21 Pedro Alves <palves@redhat.com>
2041 * gdb.base/dcache-line-read-error.c: New.
2042 * gdb.base/dcache-line-read-error.exp: New.
2044 2014-05-20 Pedro Alves <palves@redhat.com>
2046 * gdb.base/compare-sections.c: New file.
2047 * gdb.base/compare-sections.exp: New file.
2049 2014-05-20 Pedro Alves <palves@redhat.com>
2051 * gdb.base/break-idempotent.c: New file.
2052 * gdb.base/break-idempotent.exp: New file.
2054 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
2056 * gdb.btrace/nohist.exp: New.
2058 2014-05-20 Yao Qi <yao@codesourcery.com>
2060 * lib/gdb.exp (gdb_init): Set timeout if test file is under
2061 gdb.reverse directory and gdb_reverse_timeout exists in board
2063 * README: Document gdb_reverse_timeout.
2065 2014-05-20 Yao Qi <yao@codesourcery.com>
2067 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
2068 'test_file_name'. Treat args as a string instead of a list.
2069 (gdb_init): Rename argument 'args' by 'test_file_name'.
2071 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2073 * gdb.arch/powerpc-power.exp: New file.
2074 * gdb.arch/powerpc-power.s: New file.
2076 2014-05-16 Doug Evans <dje@google.com>
2078 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
2079 * gdb.base/completion.exp: Check that all expected files exist
2080 before doing file completion.
2082 2014-05-16 Doug Evans <dje@google.com>
2084 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
2086 (do_syscall_tests_without_xml): Update.
2088 2014-05-16 Pedro Alves <palves@redhat.com>
2090 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
2091 instead of "unknown output after running".
2093 2014-05-16 Yao Qi <yao@codesourcery.com>
2095 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
2096 file1.txt from host at the end.
2097 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2099 2014-05-15 Doug Evans <dje@google.com>
2101 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
2102 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
2103 loading file. Add test for TU lookup.
2105 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2107 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
2108 calling "-exec-arguments" or "set args" before running the
2111 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2113 * lib/mi-support.exp (mi_expect_stop): Expect message for
2114 inferiors that exit with non-zero exit code.
2116 2014-05-14 Yao Qi <yao@codesourcery.com>
2118 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
2119 match absolute path on remote host.
2120 (test_file_list_exec_source_files): Remove "/" from the
2123 2014-05-14 Yao Qi <yao@codesourcery.com>
2125 * boards/local-remote-host-notty.exp (${board}_file): New
2128 2014-05-07 Kyle McMartin <kyle@redhat.com>
2130 Pushed by Joel Brobecker <brobecker@adacore.com>.
2131 * gdb.arch/aarch64-atomic-inst.c: New file.
2132 * gdb.arch/aarch64-atomic-inst.exp: New file.
2134 2014-05-07 Yao Qi <yao@codesourcery.com>
2136 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
2137 in current context" too.
2139 2014-05-05 Keith Seitz <keiths@redhat.com>
2141 * gdb.linespec/ls-dollar.exp: Add test for linespec
2142 file:convenience_variable.
2144 2014-05-05 Yao Qi <yao@codesourcery.com>
2146 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
2147 traceframes into tfile and ctf trace files. Read data from
2148 trace file and test collected data.
2149 (gdb_collect_locals_test): Likewise.
2150 (gdb_unavailable_registers_test): Likewise.
2151 (gdb_unavailable_floats): Likewise.
2152 (gdb_collect_globals_test): Likewise.
2153 (top-level): Append "ctf" to trace_file_targets if GDB
2156 2014-05-05 Yao Qi <yao@codesourcery.com>
2158 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
2160 (gdb_collect_args_test_1): ... it. New proc.
2161 (gdb_collect_locals_test): Move some code to ...
2162 (gdb_collect_locals_test_1): ... it. New proc.
2163 (gdb_unavailable_registers_test): Move some code to ...
2164 (gdb_unavailable_registers_test_1): ... it. New proc.
2165 (gdb_unavailable_floats): Move some code to ...
2166 (gdb_unavailable_floats_1): ... it. New proc.
2168 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2170 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
2171 probes to test for bitness recognition.
2172 * gdb.arch/amd64-stap-optional-prefix.exp
2173 (test_probe_value_without_reg): New procedure.
2174 Add code to test for different kinds of bitness.
2176 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2178 PR breakpoints/16889
2179 * gdb.arch/amd64-stap-optional-prefix.S: New file.
2180 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2182 2014-05-01 Pedro Alves <palves@redhat.com>
2184 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
2185 gdb_file_cmd if no file is specified.
2186 * boards/native-extended-gdbserver.exp (gdb_load): Use the
2187 last_loaded_file to set the remote exec-file.
2189 2014-05-01 Pedro Alves <palves@redhat.com>
2191 * boards/local-remote-host.exp: New file.
2193 2014-05-01 Pedro Alves <palves@redhat.com>
2195 * boards/local-remote-host.exp: Rename to ...
2196 * boards/local-remote-host-notty.exp: ... this.
2198 2014-04-28 Joel Brobecker <brobecker@adacore.com>
2200 * gdb.ada/dyn_arrayidx: New testcase.
2202 2014-04-26 Yao Qi <yao@codesourcery.com>
2204 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
2205 and compute the length of function main. Save it in
2207 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
2208 (top-level): Use gdb_compile to compile objects into
2209 executable and restart GDB. Remove invocation to
2210 prepare_for_testing.
2212 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
2213 Pedro Alves <palves@redhat.com>
2216 * gdb.multi/multi-attach.c: New file.
2217 * gdb.multi/multi-attach.exp: New file.
2219 2014-04-25 Pedro Alves <palves@redhat.com>
2221 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
2223 (top level): Test that "set remote conditional-breakpoints-packet
2224 off" works as intended.
2225 * gdb.base/dprintf.exp: Test that "set remote
2226 breakpoint-commands-packet off" works as intended.
2227 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
2229 (top level): Call it.
2230 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
2231 remote fast-tracepoints-packet off" works as intended.
2232 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
2233 * lib/gdb.exp (gdb_is_target_remote): ... here.
2235 2014-04-24 David Blaikie <dblaikie@gmail.com>
2237 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
2238 ensure clang would not discard them.
2239 * gdb.base/gdbvars.c: Ditto.
2240 * gdb.base/memattr.c: Ditto.
2241 * gdb.base/whatis.c: Ditto.
2242 * gdb.python/py-prettyprint.c: Ditto.
2243 * gdb.trace/actions.c: Ditto.
2244 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
2245 ensure clang would not discard it.
2247 2014-04-24 David Blaikie <dblaikie@gmail.com>
2249 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
2250 clang to emit the full definition of type required by the test
2251 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
2253 2014-04-24 David Blaikie <dblaikie@gmail.com>
2255 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
2256 coax Clang into emitting the definition of the type.
2257 * gdb.cp/pr10728-x.h (y): Ditto.
2258 * gdb.cp/pr10728-y.cc (y): Ditto.
2260 2014-04-24 David Blaikie <dblaikie@gmail.com>
2262 * gdb.base/label.exp: XFAIL label related tests under Clang.
2263 * gdb.cp/cplabel.exp: Ditto.
2264 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
2265 under Clang those using labels.
2267 2014-04-25 Yao Qi <yao@codesourcery.com>
2269 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
2271 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
2272 partial_label and double_label.
2274 2014-04-24 David Blaikie <dblaikie@gmail.com>
2276 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
2278 2014-04-24 David Blaikie <dblaikie@gmail.com>
2280 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
2281 of the function to work across GCC and Clang.
2282 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
2283 pointer types (const void ** const V void **).
2285 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
2286 Walfred Tedeschi <walfred.tedeschi@intel.com>
2288 * Makefile.in (EXECUTABLES): Added i386-avx512.
2289 * gdb.arch/i386-avx512.c: New file.
2290 * gdb.arch/i386-avx512.exp: Likewise.
2292 2014-04-23 Keith Seitz <keiths@redhat.com>
2294 * lib/mi-support.exp (mi_list_breakpoints): Delete.
2295 (mi_make_breakpoint_table): New procedure.
2296 (mi_create_breakpoint): Use mi_make_breakpoint
2297 and return the result.
2298 (mi_make_breakpoint): New procedure.
2299 (mi_build_kv_pairs): New procedure.
2301 * gdb.mi/mi-break.exp: Remove unused globals,
2302 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
2303 All callers updated.
2304 * gdb.mi/mi-dprintf.exp: Use variable to track command
2306 Update all callers of mi_create_breakpoint and use
2307 mi_make_breakpoint_table.
2308 Remove any unused global variables.
2309 * gdb.mi/mi-nonstop.exp: Likewise.
2310 * gdb.mi/mi-nsintrall.exp: Likewise.
2311 * gdb.mi/mi-nsmoribund.exp: Likewise.
2312 * gdb.mi/mi-nsthrexec.exp: Likewise.
2313 * gdb.mi/mi-reverse.exp: Likewise.
2314 * gdb.mi/mi-simplerun.exp: Likewise.
2315 * gdb.mi/mi-stepn.exp: Likewise.
2316 * gdb.mi/mi-syn-frame.exp: Likewise.
2317 * gdb.mi/mi-until.exp: Likewise.
2318 * gdb.mi/mi-var-cp.exp: Likewise.
2319 * gdb.mi/mi-var-display.exp: Likewise.
2320 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2321 * gdb.mi/mi2-var-child.exp: Likewise.
2322 * gdb.mi/mi-vla-c99.exp: Likewise.
2323 * lib/mi-support.exp: Likewise.
2325 From Ian Lance Taylor <iant@cygnus.com>:
2326 * lib/gdb.exp (parse_args): New procedure.
2328 2014-04-23 Pedro Alves <palves@redhat.com>
2330 * gdb.base/break-unload-file.c: New file.
2331 * gdb.base/break-unload-file.exp: New file.
2332 * gdb.base/sym-file-lib.c (baz): New function.
2333 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
2335 (load): Store the segment's mapped size.
2336 (unload): New function.
2337 (unload_shlib): New function.
2338 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
2339 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
2340 set a breakpoint at baz, and call it.
2341 * gdb.base/sym-file.exp: New tests for stale breakpoint
2344 2014-04-23 Pedro Alves <palves@redhat.com>
2346 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
2347 * gdb.base/hbreak-in-shr-unsupported.c: New file.
2348 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
2349 * gdb.base/hbreak-unmapped.c: New file.
2350 * gdb.base/hbreak-unmapped.exp: New file.
2351 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
2352 * lib/gdb.exp (gdb_is_target_remote): ... here.
2354 2014-04-22 Pedro Alves <palves@redhat.com>
2356 * gdb.base/consecutive-step-over.c: New file.
2357 * gdb.base/consecutive-step-over.exp: New file.
2359 2014-04-22 Pedro Alves <palves@redhat.com>
2361 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
2362 instead of send_gdb/gdb_expect.
2364 2014-04-22 Yao Qi <yao@codesourcery.com>
2366 * lib/trace-support.exp (generate_tracefile): New procedure.
2367 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
2369 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
2370 if generate_tracefile returns 1.
2372 2014-04-18 Tom Tromey <palves@redhat.com>
2373 Pedro alves <tromey@redhat.com>
2376 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
2377 with a backtrace limit.
2378 * gdb.python/py-frame-inline.exp: Test running to an inline
2379 function with a backtrace limit, and printing the newest frame.
2380 * gdb.python/py-frame-inline.c (main): Call f.
2382 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2384 * gdb.java/jnpe.exp: Drop srcdir from untested path.
2386 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2388 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
2389 Drop prefix from unsupported source file path.
2391 2014-04-17 Yao Qi <yao@codesourcery.com>
2393 * lib/gdb.exp (with_target_charset): New proc.
2394 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
2395 with_target_charset.
2396 (test_print_strings): Likewise.
2397 (test_repeat_bytes): Likewise.
2398 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
2401 2014-04-16 Keith Seitz <keiths@redhat.com>
2404 * gdb.dwarf2/corrupt.c: New file.
2405 * gdb.dwarf2/corrupt.exp: New file.
2407 2014-04-16 Keith Seitz <keiths@redhat.com>
2410 * gdb.cp/namelessclass.cc: New file.
2411 * gdb.cp/namelessclass.exp: New file.
2412 * gdb.cp/namelessclass.S: New file.
2414 2014-04-16 Doug Evans <dje@google.com>
2416 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
2418 (gdbserver_default_get_comm_port): New function.
2419 (gdbserver_start): Check if board file provided
2420 "gdbserver,get_comm_port" and use it if so.
2421 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
2422 (gdb,socketport): Set to "stdio".
2423 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
2424 (stdio_gdbserver_template): Delete.
2425 (${board}_get_remote_address): Update.
2426 (${board}_build_remote_cmd): Delete.
2427 (${board}_get_comm_port): New function.
2428 (${board}_spawn): Update.
2429 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
2431 (${board}_get_remote_address): Update.
2432 (${board}_get_comm_port): New function.
2434 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
2436 * gdb.base/memattr.exp: Improve regexps to handle memory regions
2437 appearing in any order.
2439 2014-04-15 Doug Evans <dje@google.com>
2441 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
2442 uninitialized value of "description".
2444 2014-04-15 Keith Seitz <keiths@redhat.com>
2446 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
2447 Remove unused globals.
2448 (test_running_the_program): Likewise.
2449 (test_controlled_execution): Likewise.
2450 (test_controlling_breakpoints): Likewise.
2451 (test_program_termination): Likewise.
2453 2014-04-15 Keith Seitz <keiths@redhat.com>
2455 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
2457 (test_rbreak_creation_and_listing): Likewise.
2458 (test_ignore_count): Likewise.
2459 (test_error): Likewise.
2461 2014-04-15 Pedro Alves <palves@redhat.com>
2463 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2464 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2466 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2467 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2468 to sym-file-loader.c.
2469 (struct library): Forward declare.
2470 (load_shlib, lookup_function): Change prototypes.
2471 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2472 (translate_offset): Remove declarations.
2473 (get_text_addr): New declaration.
2474 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2475 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2477 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2478 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2479 here from sym-file-loader.h.
2480 (struct library): New structure.
2481 (load_shlib, lookup_function): Change prototypes and adjust to
2482 work with a struct library.
2483 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2484 (translate_offset): Make static.
2485 (get_text_addr): New function.
2486 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
2488 2014-04-15 Pedro Alves <palves@redhat.com>
2490 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
2492 2014-04-15 Pedro Alves <palves@redhat.com>
2494 * gdb.base/sym-file-loader.c: Include <limits.h>.
2495 (SELF_LINK): New define.
2496 (get_origin): New function.
2497 (load_shlib): Use it.
2498 * gdb.base/sym-file.exp: Don't early return if the target is
2499 remote. Use runto_main, and issue fail is that fails. Use
2501 (shlib_name): Delete.
2502 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
2504 2014-04-15 Pedro Alves <palves@redhat.com>
2506 * gdb.base/sym-file.exp: Remove regex characters from test
2507 message. Don't refer to breakpoint numbers in test messages.
2509 2014-04-14 Keith Seitz <keiths@redhat.com>
2512 * gdb.cp/var-tag.cc: New file.
2513 * gdb.cp/var-tag.exp: New file.
2514 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2515 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2516 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2517 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2519 2014-04-14 Tom Tromey <tromey@redhat.com>
2521 * gdb.cp/classes.exp (test_enums): Handle underlying type.
2522 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
2524 * gdb.cp/enum-class.exp: New file.
2525 * gdb.cp/enum-class.cc: New file.
2527 2014-04-14 Tom Tromey <tromey@redhat.com>
2529 * gdb.dwarf2/enum-type.exp: New file.
2531 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2533 * gdb.mi/mi-vla-c99.exp: New file.
2534 * gdb.mi/vla.c: New file.
2536 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2538 * gdb.base/vla-datatypes.c: New file.
2539 * gdb.base/vla-datatypes.exp: New file.
2541 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2543 * gdb.base/vla-ptr.c: New file.
2544 * gdb.base/vla-ptr.exp: New file.
2546 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2548 * gdb.dwarf2/count.exp: New file.
2550 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2552 * gdb.base/vla-sideeffect.c: New file.
2553 * gdb.base/vla-sideeffect.exp: New file.
2555 2014-04-14 David Blaikie <dblaikie@gmail.com>
2557 * gdb.mi/non-stop.c: Add return value for non-void function return
2559 * gdb.threads/staticthreads.c: Ditto.
2561 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2562 Doug Evans <xdje42@gmail.com>
2564 * gdb.guile/scm-value.c: Improve test case.
2565 * gdb.guile/scm-value.exp: Add new test.
2567 2014-04-11 David Blaikie <dblaikie@gmail.com>
2569 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2570 override Clang's default.
2572 2014-04-11 Joel Brobecker <brobecker@adacore.com>
2574 Revert the following changes (regressions):
2576 * gdb.base/vla-sideeffect.c: New file.
2577 * gdb.base/vla-sideeffect.exp: New file.
2579 * gdb.dwarf2/count.exp: New file.
2581 * gdb.base/vla-multi.c: New file.
2582 * gdb.base/vla-multi.exp: New file.
2584 * gdb.base/vla-ptr.c: New file.
2585 * gdb.base/vla-ptr.exp: New file.
2587 * gdb.base/vla-datatypes.c: New file.
2588 * gdb.base/vla-datatypes.exp: New file.
2590 * gdb.mi/mi-vla-c99.exp: New file.
2591 * gdb.mi/vla.c: New file.
2593 2014-04-11 Keith Seitz <keiths@redhat.com>
2596 * gdb.cp/cpsizeof.exp: New file.
2597 * gdb.cp/cpsizeof.cc: New file.
2599 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2601 * gdb.mi/mi-vla-c99.exp: New file.
2602 * gdb.mi/vla.c: New file.
2604 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2606 * gdb.base/vla-datatypes.c: New file.
2607 * gdb.base/vla-datatypes.exp: New file.
2609 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2611 * gdb.base/vla-ptr.c: New file.
2612 * gdb.base/vla-ptr.exp: New file.
2614 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2616 * gdb.base/vla-multi.c: New file.
2617 * gdb.base/vla-multi.exp: New file.
2619 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2621 * gdb.dwarf2/count.exp: New file.
2623 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2625 * gdb.base/vla-sideeffect.c: New file.
2626 * gdb.base/vla-sideeffect.exp: New file.
2628 2014-04-11 Yao Qi <yao@codesourcery.com>
2630 * gdb.base/completion.exp: Check file exists before running tests
2633 2014-04-10 Pedro Alves <palves@redhat.com>
2635 * gdb.base/cond-eval-mode.c: New file.
2636 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2637 prepare_for_testing to build the new file. Check result of
2639 (test_break, test_watch): New procedures.
2640 (top level): Use them.
2642 2014-04-08 Pierre Muller <muller@sourceware.org>
2644 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2645 Ctrl-V use for mingw hosts.
2647 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2649 * gdb.python/py-value.c: Improve test case.
2650 * gdb.python/py-value.exp: Add new test.
2652 2014-04-07 David Blaikie <dblaikie@gmail.com>
2654 * lib/compiler.c: Identify the clang compiler.
2655 * lib/compiler.cc: Ditto.
2657 2014-04-03 Yao Qi <yao@codesourcery.com>
2659 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2661 2014-04-01 Anton Blanchard <anton@samba.org>
2663 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2666 2014-04-01 Anton Blanchard <anton@samba.org>
2668 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2669 prepare_for_testing.
2671 2014-04-01 Anton Blanchard <anton@samba.org>
2673 * gdb.arch/ppc64-atomic-inst.c: Remove.
2674 * gdb.arch/ppc64-atomic-inst.S: New file.
2675 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2677 2014-03-31 Doug Evans <dje@google.com>
2679 * gdb.base/print-symbol-loading-lib.c: New file.
2680 * gdb.base/print-symbol-loading-main.c: New file.
2681 * gdb.base/print-symbol-loading.exp: New file.
2683 2014-03-31 Yao Qi <yao@codesourcery.com>
2685 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2687 2014-03-28 Joel Brobecker <brobecker@adacore.com>
2689 * gdb.ada/mi_dyn_arr: New testcase.
2691 2014-03-27 Doug Evans <dje@google.com>
2693 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2695 2014-03-27 Yao Qi <yao@codesourcery.com>
2697 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2698 if target is nios2-*-*.
2700 2014-03-26 Yao Qi <yao@codesourcery.com>
2702 * lib/gdb.exp (readline_is_used): New proc.
2703 * gdb.base/completion.exp: Move tests on command complete up.
2704 Skip the rest of tests if readline is not used.
2705 * gdb.ada/complete.exp: Skp the test if readline is not
2707 * gdb.base/filesym.exp: Likewise.
2708 * gdb.base/macscp.exp: Likewise.
2709 * gdb.base/readline-ask.exp: Likewise.
2710 * gdb.base/readline.exp: Likewise.
2711 * gdb.python/py-cmd.exp: Likewise.
2712 * gdb.trace/tfile.exp: Likewise.
2714 2014-03-26 Yao Qi <yao@codesourcery.com>
2716 * gdb.base/macscp.exp: Fix code format issues.
2718 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2720 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2721 * gdb.asm/powerpc64le.inc: New file.
2723 2014-03-25 Pedro Alves <palves@redhat.com>
2724 Doug Evans <dje@google.com>
2726 * gdb.base/source-execution.c: New file.
2727 * gdb.base/source-execution.exp: New file.
2728 * gdb.base/source-execution.gdb: New file.
2730 2014-03-24 Doug Evans <dje@google.com>
2732 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2735 2014-03-24 Hui Zhu <hui@codesourcery.com>
2736 Pedro Alves <palves@redhat.com>
2738 PR breakpoints/16101
2739 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2740 test pass/fail messages. Detect missing support for dprintf when
2741 breakpoints are actually inserted.
2742 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2743 breakpoints are actually inserted.
2744 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2747 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2749 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2751 2014-03-22 Doug Evans <xdje42@gmail.com>
2753 * gdb.python/python.exp (python not supported): Verify multi-line
2754 python command issues an error.
2755 * gdb.guile/guile.exp (guile not supported): Verify multi-line
2756 guile command issues an error.
2758 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2760 * gdb.threads/thread-specific.exp: Handle the lack of usable
2761 $this_breakpoint and $this_thread.
2763 2014-03-21 Hui Zhu <hui@codesourcery.com>
2765 * gdb.base/attach.exp (do_command_attach_tests): New.
2767 2014-03-20 Tom Tromey <tromey@redhat.com>
2768 Pedro Alves <palves@redhat.com>
2771 * gdb.base/condbreak-call-false.c: New file.
2772 * gdb.base/condbreak-call-false.exp: New file.
2774 2014-03-20 Pedro Alves <palves@redhat.com>
2776 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2778 (block_signals, unblock_signals): Delete.
2779 (child_function_2, main): Remove references to deleted variable
2782 2014-03-20 Pedro Alves <palves@redhat.com>
2784 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2785 Use pthread_kill to signal thread 2.
2786 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2787 Adjust to make the test send itself a signal rather than using the
2788 host's "kill" command.
2790 2014-03-20 Pedro Alves <palves@redhat.com>
2792 * gdb.threads/multiple-step-overs.c: New file.
2793 * gdb.threads/multiple-step-overs.exp: New file.
2794 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2795 Adjust expected infrun debug output.
2797 2014-03-20 Pedro Alves <palves@redhat.com>
2799 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2800 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2802 2014-03-20 Pedro Alves <palves@redhat.com>
2805 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2806 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2807 of gdb_test_multiple.
2808 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2809 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2811 2014-03-20 Pedro Alves <palves@redhat.com>
2813 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2814 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2816 2014-03-19 Pedro Alves <palves@redhat.com>
2818 * gdb.base/async.exp: Remove early return.
2820 2014-03-19 Pedro Alves <palves@redhat.com>
2822 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2824 2014-03-19 Pedro Alves <palves@redhat.com>
2826 * gdb.base/async.exp (test_background): Expect \r\n after
2827 "completed." in the fail pattern.
2829 2014-03-19 Pedro Alves <palves@redhat.com>
2831 * gdb.base/async.exp (test_background): New procedure.
2832 Use it for all background execution command tests.
2834 2014-03-19 Pedro Alves <palves@redhat.com>
2836 * gdb.base/async.exp: Use prepare_for_testing.
2838 2014-03-19 Pedro Alves <palves@redhat.com>
2840 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2843 2014-03-19 Pedro Alves <palves@redhat.com>
2845 * gdb.base/async.c (main): Add "jump here" and "until here" line
2847 * gdb.base/async.exp (jump_here): New global.
2848 (jump& test): Use it.
2849 (until_here): New global.
2850 (until& test): Use it.
2852 2014-03-19 Pedro Alves <palves@redhat.com>
2854 * gdb.base/async.exp: Don't frob gdb_protocol.
2856 2014-03-18 Doug Evans <xdje42@gmail.com>
2858 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2859 Fix spelling of exec-done-display.
2861 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2864 * gdb.base/gdb-sigterm.c: New file.
2865 * gdb.base/gdb-sigterm.exp: New file.
2867 2014-03-18 Pedro Alves <palves@redhat.com>
2870 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2871 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2874 2014-03-17 Joel Brobecker <brobecker@adacore.com>
2876 * gdb.ada/pckd_arr_ren: New testcase.
2878 2014-03-13 Doug Evans <xdje42@gmail.com>
2881 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2882 collect after discarding symbols.
2884 2014-03-13 Ludovic Courtès <ludo@gnu.org>
2885 Doug Evans <xdje42@gmail.com>
2887 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2888 to history survives a gc.
2890 2014-03-13 Pedro Alves <palves@redhat.com>
2892 * gdb.base/default.exp: Don't test "target procfs".
2894 2014-03-13 Pedro Alves <palves@redhat.com>
2896 * gdb.base/default.exp: Update "target child" and "target procfs"
2897 tests to not expect "Unix".
2899 2014-03-12 Tom Tromey <tromey@redhat.com>
2901 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2902 New procs. Add target-async tests.
2903 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2904 Add target-async tests.
2906 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2908 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2909 'func_start' and 'func_end' for the beginning and end of the
2910 function code, respectively.
2911 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2912 'func_end' instead of 'func' and 'main'.
2914 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2916 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2917 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2918 generate the debug info assembler source.
2920 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2922 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2923 * gdb.dwarf2/arr-subrange.exp: Likewise.
2924 * gdb.dwarf2/dwz.exp: Likewise.
2925 * gdb.dwarf2/method-ptr.exp: Likewise.
2926 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2927 * gdb.dwarf2/subrange.exp: Likewise.
2928 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2929 * gdb.dwarf2/implptrpiece.exp: Likewise.
2930 * gdb.dwarf2/nostaticblock.exp: Likewise.
2932 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2934 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2935 directory to absolute path name arguments.
2937 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2939 * gdb.ada/tagged_access: New testcase.
2941 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2943 * gdb.btrace/data.exp: Update expected output.
2945 2014-03-06 Yao Qi <yao@codesourcery.com>
2947 * gdb.trace/pr16508.exp: New file.
2949 2014-03-05 Pedro Alves <palves@redhat.com>
2952 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2954 (top level): Adjust to use it. Add tests that exercise breakpoint
2955 interaction with the code-cache.
2957 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2959 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2960 test for 'history-append!'.
2962 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2964 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2965 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2966 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2967 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2968 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2969 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2971 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2973 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2974 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2975 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2977 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2979 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2981 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2983 * gdb.dwarf2/arr-stride.c: New file.
2984 * gdb.dwarf2/arr-stride.exp: New file.
2986 2014-02-26 Pedro Alves <palves@redhat.com>
2988 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2989 that won't ever trigger. Make sure that GDB reports the correct
2990 breakpoint that caused the stop.
2992 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2995 * gdb.base/auto-load-script: New file.
2996 * gdb.base/auto-load.c: New file.
2997 * gdb.base/auto-load.exp: New file.
3000 * gdb.base/auto-load.exp: Fix out-of-srctree run.
3002 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3004 Fix dw2-icycle.exp -fsanitize=address GDB crash.
3005 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
3007 2014-02-24 Doug Evans <dje@google.com>
3009 * lib/gdb.exp (run_on_host): Log error output if program fails.
3011 2014-02-21 Pedro Alves <palves@redhat.com>
3013 * gdb.threads/step-after-sr-lock.c: Rename to ...
3014 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
3015 * gdb.threads/step-after-sr-lock.exp: Rename to ...
3016 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3019 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
3022 * gdb.arch/amd64-stap-special-operands.exp: New file.
3023 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
3024 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
3025 * gdb.arch/amd64-stap-triplet.S: Likewise.
3026 * gdb.arch/amd64-stap-triplet.c: Likewise.
3028 2014-02-20 Joel Brobecker <brobecker@adacore.com>
3030 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
3031 in .section pseudo-op.
3033 2014-02-20 lin zuojian <manjian2006@gmail.com>
3034 Joel Brobecker <brobecker@adacore.com>
3035 Doug Evans <xdje42@gmail.com>
3038 * gdb.dwarf2/dw2-icycle.S: New file.
3039 * gdb.dwarf2/dw2-icycle.c: New file.
3040 * gdb.dwarf2/dw2-icycle.exp: New file.
3042 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
3044 * gdb.python/py-value-cc.cc: Improve test case to enable testing
3045 operations on gdb.Value objects.
3046 * gdb.python/py-value-cc.exp: Add new test to test operations on
3049 2014-02-18 Doug Evans <dje@google.com>
3051 * Makefile.in (TESTS): New variable.
3052 (expanded_tests, expanded_tests_or_none): New variables
3053 (check-single): Pass $(expanded_tests_or_none) to runtest.
3054 (check-parallel): Only run tests in $(TESTS) if non-empty.
3055 (check/no-matching-tests-found): New rule.
3056 * README: Document TESTS makefile variable.
3058 2014-02-18 Doug Evans <dje@google.com>
3060 * Makefile.in (check-parallel): rm -rf outputs temp.
3062 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3064 Fix "ERROR: no fileid for" in the testsuite.
3065 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
3067 2014-02-12 Doug Evans <dje@google.com>
3069 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
3070 (MISCELLANEOUS): New variable.
3071 (clean): rm -rf $(MISCELLANEOUS).
3072 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
3073 dwp live in the same directory as symlinks, with each symlink pointed
3074 to a differently named file in a different directory.
3076 2014-02-11 Doug Evans <dje@google.com>
3078 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
3079 of Tcl file commands.
3081 2014-02-10 Mark Kettenis <kettenis@gnu.org>
3083 * gdb.threads/step-after-sr-lock.exp: Avoid executing
3086 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3088 * gdb.ada/tick_length_array_enum_idx: New testcase.
3090 2014-02-10 Doug Evans <xdje42@gmail.com>
3092 * configure.ac (AC_OUTPUT): Add gdb.guile.
3093 * configure: Regenerate.
3094 * lib/gdb-guile.exp: New file.
3095 * lib/gdb.exp (get_target_charset): New function.
3096 * gdb.base/help.exp: Update expected output from "apropos apropos".
3097 * gdb.guile/Makefile.in: New file.
3098 * gdb.guile/guile.exp: New file.
3099 * gdb.guile/scm-arch.c: New file.
3100 * gdb.guile/scm-arch.exp: New file.
3101 * gdb.guile/scm-block.c: New file.
3102 * gdb.guile/scm-block.exp: New file.
3103 * gdb.guile/scm-breakpoint.c: New file.
3104 * gdb.guile/scm-breakpoint.exp: New file.
3105 * gdb.guile/scm-disasm.c: New file.
3106 * gdb.guile/scm-disasm.exp: New file.
3107 * gdb.guile/scm-equal.c: New file.
3108 * gdb.guile/scm-equal.exp: New file.
3109 * gdb.guile/scm-error.exp: New file.
3110 * gdb.guile/scm-error.scm: New file.
3111 * gdb.guile/scm-frame-args.c: New file.
3112 * gdb.guile/scm-frame-args.exp: New file.
3113 * gdb.guile/scm-frame-args.scm: New file.
3114 * gdb.guile/scm-frame-inline.c: New file.
3115 * gdb.guile/scm-frame-inline.exp: New file.
3116 * gdb.guile/scm-frame.c: New file.
3117 * gdb.guile/scm-frame.exp: New file.
3118 * gdb.guile/scm-generics.exp: New file.
3119 * gdb.guile/scm-gsmob.exp: New file.
3120 * gdb.guile/scm-iterator.c: New file.
3121 * gdb.guile/scm-iterator.exp: New file.
3122 * gdb.guile/scm-math.c: New file.
3123 * gdb.guile/scm-math.exp: New file.
3124 * gdb.guile/scm-objfile-script-gdb.in: New file.
3125 * gdb.guile/scm-objfile-script.c: New file.
3126 * gdb.guile/scm-objfile-script.exp: New file.
3127 * gdb.guile/scm-objfile.c: New file.
3128 * gdb.guile/scm-objfile.exp: New file.
3129 * gdb.guile/scm-ports.exp: New file.
3130 * gdb.guile/scm-pretty-print.c: New file.
3131 * gdb.guile/scm-pretty-print.exp: New file.
3132 * gdb.guile/scm-pretty-print.scm: New file.
3133 * gdb.guile/scm-section-script.c: New file.
3134 * gdb.guile/scm-section-script.exp: New file.
3135 * gdb.guile/scm-section-script.scm: New file.
3136 * gdb.guile/scm-symbol.c: New file.
3137 * gdb.guile/scm-symbol.exp: New file.
3138 * gdb.guile/scm-symtab-2.c: New file.
3139 * gdb.guile/scm-symtab.c: New file.
3140 * gdb.guile/scm-symtab.exp: New file.
3141 * gdb.guile/scm-type.c: New file.
3142 * gdb.guile/scm-type.exp: New file.
3143 * gdb.guile/scm-value-cc.cc: New file.
3144 * gdb.guile/scm-value-cc.exp: New file.
3145 * gdb.guile/scm-value.c: New file.
3146 * gdb.guile/scm-value.exp: New file.
3147 * gdb.guile/source2.scm: New file.
3148 * gdb.guile/types-module.cc: New file.
3149 * gdb.guile/types-module.exp: New file.
3151 2014-02-10 Yao Qi <yao@codesourcery.com>
3154 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
3155 * configure: Regenerated.
3156 * Makefile.in: New file.
3158 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3160 * gdb.python/py-framefilter.exp: Fix typo.
3162 2014-02-08 Yao Qi <yao@codesourcery.com>
3164 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
3165 that no =breakpoint-modified is emitted when breakpoints are
3166 modified through MI commands.
3168 2014-02-07 Pedro Alves <pedro@codesourcery.com>
3169 Pedro Alves <palves@redhat.com>
3171 * gdb.threads/step-after-sr-lock.c: New file.
3172 * gdb.threads/step-after-sr-lock.exp: New file.
3174 2014-02-07 Pedro Alves <palves@redhat.com>
3176 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
3178 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3180 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
3181 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
3183 2014-02-06 Doug Evans <xdje42@gmail.com>
3185 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
3188 * gdb.gdb/python-interrupts.exp: New file.
3190 2014-02-05 Yao Qi <yao@codesourcery.com>
3192 * gdb.trace/report.exp (use_collected_data): Test the output
3193 of "info threads" and "info inferiors".
3195 2014-02-05 Yao Qi <yao@codesourcery.com>
3199 2013-05-24 Yao Qi <yao@codesourcery.com>
3201 * gdb.trace/tfile.exp: Test inferior and thread.
3203 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3205 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
3207 * gdb.base/step-bt.c: Call hello via function pointer to make
3208 sure its first instruction is executed on powerpc64le-linux.
3210 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3212 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
3214 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3216 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
3217 of the test patterns for use on little-endian systems.
3219 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3221 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
3222 (decimal_vector): Fix for little-endian.
3224 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3226 * gdb.arch/sparc-sysstep.exp: New file.
3227 * gdb.arch/sparc-sysstep.c: Likewise.
3229 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
3231 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3233 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
3235 2014-01-23 Tom Tromey <tromey@redhat.com>
3237 * gdb.ada/array_char_idx: New testcase.
3239 2014-01-23 Tom Tromey <tromey@redhat.com>
3242 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
3243 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
3246 2014-01-23 Tom Tromey <tromey@redhat.com>
3249 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
3250 string from an inferior frame.
3251 * gdb.python/py-framefilter-mi.exp: Update.
3253 2014-01-22 Doug Evans <dje@google.com>
3255 * gdb.server/server-mon.exp: Add tests for "set debug-format".
3257 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3259 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
3261 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3263 * gdb.trace/entry-values.exp: Remove excess space character from
3264 regex patterns. Handle s390 call instruction.
3266 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3268 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
3269 define "*_start" label. Make "name" static.
3270 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
3271 ${name} by references to ${name}_start.
3273 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3275 * gdb.base/info-macros.exp: Remove "debug" from the compile
3278 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3280 * gdb.dlang/demangle.exp: New file.
3282 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3284 * gdb.dlang/primitive-types.exp: New file.
3286 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3288 * configure.ac: Create gdb.dlang/Makefile.
3289 * configure: Regenerate.
3290 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
3291 * gdb.dlang/Makefile.in: New file.
3292 * lib/d-support.exp: New file.
3293 * lib/gdb.exp (skip_d_tests): New proc.
3295 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3297 * gdb.btrace/delta.exp: Check reverse stepi.
3298 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
3299 * gdb.btrace/finish.exp: New.
3300 * gdb.btrace/next.exp: New.
3301 * gdb.btrace/nexti.exp: New.
3302 * gdb.btrace/record_goto.c: Add comments.
3303 * gdb.btrace/step.exp: New.
3304 * gdb.btrace/stepi.exp: New.
3305 * gdb.btrace/multi-thread-step.c: New.
3306 * gdb.btrace/multi-thread-step.exp: New.
3307 * gdb.btrace/rn-dl-bind.c: New.
3308 * gdb.btrace/rn-dl-bind.exp: New.
3309 * gdb.btrace/data.c: New.
3310 * gdb.btrace/data.exp: New.
3311 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3313 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3315 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
3316 * gdb.btrace/exception.exp: Update.
3317 * gdb.btrace/instruction_history.exp: Update.
3318 * gdb.btrace/record_goto.exp: Update.
3319 * gdb.btrace/tailcall.exp: Update.
3320 * gdb.btrace/unknown_functions.exp: Update.
3321 * gdb.btrace/delta.exp: New.
3323 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3325 * gdb.btrace/record_goto.exp: Add backtrace test.
3326 * gdb.btrace/tailcall.exp: Add backtrace test.
3328 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3330 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
3331 * gdb.btrace/record_goto.c: New.
3332 * gdb.btrace/record_goto.exp: New.
3333 * gdb.btrace/x86-record_goto.S: New.
3335 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3337 * gdb.btrace/function_call_history.exp: Update tests.
3338 * gdb.btrace/instruction_history.exp: Update tests.
3340 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3342 * gdb.btrace/function_call_history.exp: Fix expected field
3343 order for "record function-call-history".
3344 Add new tests for "record function-call-history /c".
3345 * gdb.btrace/exception.cc: New.
3346 * gdb.btrace/exception.exp: New.
3347 * gdb.btrace/tailcall.exp: New.
3348 * gdb.btrace/x86-tailcall.S: New.
3349 * gdb.btrace/x86-tailcall.c: New.
3350 * gdb.btrace/unknown_functions.c: New.
3351 * gdb.btrace/unknown_functions.exp: New.
3352 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3354 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3356 * gdb.btrace/instruction_history.exp: Update.
3357 * gdb.btrace/function_call_history.exp: Update.
3359 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3361 * gdb.btrace/function_call_history.exp: Fix expected function
3363 * gdb.btrace/instruction_history.exp: Initialize traced.
3364 Remove traced_functions.
3366 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3368 * gdb.btrace/function_call_history.exp: Update
3369 * gdb.btrace/instruction_history.exp: Update.
3371 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3373 * gdb.btrace/enable.exp: Update expected text.
3375 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
3377 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
3380 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
3382 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
3384 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3386 * lib/gdb.exp (supports_process_record): Return true for
3387 arm*-linux*. (supports_reverse): Likewise.
3389 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3393 * gdb.python/py-type.c: Enhance test case.
3394 * gdb.python/py-value-cc.cc: Likewise
3395 * gdb.python/py-type.exp: Add new tests.
3396 * gdb.python/py-value-cc.exp: Likewise
3398 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3399 Pedro Alves <palves@redhat.com>
3401 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
3403 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
3404 references to ${name}_start by references to ${name}.
3406 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3408 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
3410 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3412 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
3414 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
3415 Pedro Alves <palves@redhat.com>
3417 * gdb.mi/mi-info-os.exp: Connect to the target with
3420 2014-01-08 Pedro Alves <palves@redhat.com>
3422 * gdb.threads/reconnect-signal.c: New file.
3423 * gdb.threads/reconnect-signal.exp: New file.
3425 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3427 * gdb.base/source-dir.exp: New file.
3429 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3431 * gdb.ada/mi_interface: New testcase.
3433 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3435 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
3436 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
3437 gdb.ada/pp-rec-component/pck.ads: New files.
3439 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3441 * gdb.python/py-pp-integral.c: New file.
3442 * gdb.python/py-pp-integral.py: New file.
3443 * gdb.python/py-pp-integral.exp: New file.
3445 For older changes see ChangeLog-1993-2013.
3451 ;; version-control: never
3454 Copyright 2014 Free Software Foundation, Inc.
3455 Copying and distribution of this file, with or without modification,
3456 are permitted provided the copyright notice and this notice are preserved.