1 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5 if the linker doesn't understand this.
7 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
9 * gdb.python/python.exp: Change expected reply to help().
11 2014-12-01 Yao Qi <yao@codesourcery.com>
13 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
14 AC_CONFIG_SUBDIRS(gdb.gdbtk).
15 * configure: Re-generated.
17 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
19 * gdb.cp/chained-calls.cc: New file.
20 * gdb.cp/chained-calls.exp: New file.
21 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
23 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
25 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
26 * gdb.dwarf2/symtab-producer.exp: Same.
27 * gdb.gdb/python-interrupts.exp: Same.
28 * gdb.gdb/python-selftest.exp: Same.
29 * gdb.python/py-linetable.exp: Same.
30 * gdb.python/py-type.exp: Same.
31 * gdb.python/py-value-cc.exp: Same.
32 * gdb.python/py-value.exp: Same.
34 2014-11-28 Yao Qi <yao@codesourcery.com>
36 * gdb.base/break-probes.exp: Match library name prefixed with
39 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
41 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
42 test expected output. Add parentheses for the call to print.
43 Remove L suffix from integers.
45 2014-11-26 Doug Evans <dje@google.com>
47 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
49 2014-11-22 Yao Qi <yao@codesourcery.com>
51 * gdb.trace/entry-values.c: Remove asms.
54 * gdb.trace/entry-values.exp: Remove code computing foo's
55 length and bar's length.
56 (Dwarf::assemble): Invoke function_range for bar and use
57 MACRO_AT_func for foo.
59 2014-11-22 Yao Qi <yao@codesourcery.com>
61 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
62 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
63 Use .Lgcc43_procstart instead of gcc43.
65 2014-11-21 Joel Brobecker <brobecker@adacore.com>
67 * gdb.ada/n_arr_bound: New testcase.
69 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
72 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
73 test_catch_syscall_multi_arch.
74 (test_catch_syscall_multi_arch): New function.
76 2014-11-20 Doug Evans <xdje42@gmail.com>
78 * gdb.base/maint.exp: Update expected output.
80 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
82 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
83 4-byte instruction on S390.
85 2014-11-19 Joel Brobecker <brobecker@adacore.com>
87 * gdb.ada/arr_arr: New testcase.
89 2014-11-19 Joel Brobecker <brobecker@adacore.com>
91 * gdb.ada/pkd_arr_elem: New Testcase.
93 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
95 * gdb.reverse/break-precsave: Expect completion message for
97 * gdb.reverse/consecutive-precsave.exp: Likewise.
98 * gdb.reverse/finish-precsave.exp: Likewise.
99 * gdb.reverse/i386-precsave.exp: Likewise.
100 * gdb.reverse/machinestate-precsave.exp: Likewise.
101 * gdb.reverse/sigall-precsave.exp: Likewise.
102 * gdb.reverse/solib-precsave.exp: Likewise.
103 * gdb.reverse/step-precsave.exp: Likewise.
104 * gdb.reverse/until-precsave.exp: Likewise.
105 * gdb.reverse/watch-precsave.exp: Likewise.
107 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
109 * gdb.base/bp-permanent.c: Include unistd.h.
110 * gdb.python/py-framefilter-mi.c (main): Add return type.
111 * gdb.python/py-framefilter.c (main): Likewise.
112 * gdb.trace/actions-changed.c (main): Likewise.
114 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
116 * gdb.mi/until.c: Add eye-catchers.
117 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
120 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
122 * gdb.base/condbreak.exp: Drop references to removed non-prototype
123 function header variants in break1.c.
124 * gdb.base/ena-dis-br.exp: Likewise.
125 * gdb.base/hbreak2.exp: Likewise.
126 * gdb.reverse/until-precsave.exp: Drop references to removed
127 non-prototype function header variants in ur1.c.
128 * gdb.reverse/until-reverse.exp: Likewise.
130 2014-11-17 Petr Machata <pmachata@redhat.com>
132 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
133 ${_cu_offset_size} bytes abbrev offset.
135 2014-11-15 Doug Evans <xdje42@gmail.com>
138 * gdb.base/line-symtabs.exp: New file.
139 * gdb.base/line-symtabs.c: New file.
140 * gdb.base/line-symtabs.h: New file.
142 2014-11-14 Yao Qi <yao@codesourcery.com>
144 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
145 (func): Add label func_label.
146 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
147 Replace low_pc and high_pc with MACRO_AT_range.
148 Replace name, low_pc and high_pc with MACRO_AT_func.
150 2014-11-14 Yao Qi <yao@codesourcery.com>
152 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
153 Replace name, low_pc and high_pc with MACRO_AT_func.
155 2014-11-14 Yao Qi <yao@codesourcery.com>
157 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
158 produce debug information.
159 * gdb.dwarf2/implptr-optimized-out.S: Removed.
161 2014-11-14 Yao Qi <yao@codesourcery.com>
163 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
164 object and get function length.
165 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
167 (top-level): Replace gdb_compile and clean_restart with
169 * gdb.dwarf2/main.c (main): Add label main_label.
171 2014-11-14 Yao Qi <yao@codesourcery.com>
173 * lib/dwarf.exp (function_range): New procedure.
174 (Dwarf::_handle_macro_at_func): New procedure.
175 (Dwarf::_handle_macro_at_range): New procedure.
176 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
178 2014-11-14 Yao Qi <yao@codesourcery.com>
180 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
181 (_handle_attribute): New procedure.
183 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
185 * gdb.ada/cond_lang/foo.c (callme): Add return type.
186 * gdb.base/call-sc.c (zed): Likewise.
187 * gdb.base/checkpoint.c (main): Likewise.
188 * gdb.base/dump.c (main): Likewise.
189 * gdb.base/gcore.c (main): Likewise.
190 * gdb.base/huge.c (main): Likewise.
191 * gdb.base/multi-forks.c (main): Likewise.
192 * gdb.base/pr10179-a.c (main): Likewise.
193 * gdb.base/savedregs.c (main): Likewise.
194 * gdb.base/sigaltstack.c (main): Likewise.
195 * gdb.base/siginfo.c (main): Likewise.
196 * gdb.base/structs.c (zed): Likewise.
197 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
198 * gdb.mi/mi-syn-frame.c (main): Likewise.
199 * gdb.mi/until.c (foo, main): Likewise.
200 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
201 * gdb.base/solib-weak.c (foo): Declare.
202 * gdb.base/attach-twice.c: Include stdio.h.
203 * gdb.base/weaklib1.c: Likewise.
204 * gdb.base/weaklib2.c: Likewise.
205 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
206 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
208 * gdb.base/attach-pie-misread.c: Include stdlib.h.
209 * gdb.mi/mi-exit-code.c: Likewise.
210 * gdb.base/break-interp-lib.c: Include string.h.
211 * gdb.base/coremaker.c: Likewise.
212 * gdb.base/testenv.c: Likewise.
213 * gdb.python/py-finish-breakpoint.c: Likewise.
214 * gdb.base/inferior-died.c: Include sys/wait.h.
215 * gdb.base/fileio.c: Include time.h.
216 * gdb.base/async-shell.c: Include unistd.h.
217 * gdb.base/dprintf-non-stop.c: Likewise.
218 * gdb.base/info-os.c: Likewise.
219 * gdb.mi/mi-console.c: Likewise.
220 * gdb.mi/watch-nonstop.c: Likewise.
221 * gdb.python/py-events.c: Likewise.
222 * gdb.base/async.c (baz): Move up before its invocation.
223 * gdb.base/code_elim2.c (my_global_func): Likewise.
224 * gdb.base/skip-solib-lib.c (multiply): Likewise.
225 * gdb.base/advance.c (func2): Likewise.
227 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
229 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
231 * gdb.base/annota3.c: Likewise.
232 * gdb.base/async.c: Likewise.
233 * gdb.base/average.c: Likewise.
234 * gdb.base/call-ar-st.c: Likewise.
235 * gdb.base/call-rt-st.c: Likewise.
236 * gdb.base/call-sc.c: Likewise.
237 * gdb.base/call-strs.c: Likewise.
238 * gdb.base/ending-run.c: Likewise.
239 * gdb.base/execd-prog.c: Likewise.
240 * gdb.base/exprs.c: Likewise.
241 * gdb.base/foll-exec.c: Likewise.
242 * gdb.base/foll-fork.c: Likewise.
243 * gdb.base/foll-vfork.c: Likewise.
244 * gdb.base/funcargs.c: Likewise.
245 * gdb.base/gcore.c: Likewise.
246 * gdb.base/jump.c: Likewise.
247 * gdb.base/langs0.c: Likewise.
248 * gdb.base/langs1.c: Likewise.
249 * gdb.base/langs2.c: Likewise.
250 * gdb.base/mips_pro.c: Likewise.
251 * gdb.base/nodebug.c: Likewise.
252 * gdb.base/opaque0.c: Likewise.
253 * gdb.base/opaque1.c: Likewise.
254 * gdb.base/recurse.c: Likewise.
255 * gdb.base/run.c: Likewise.
256 * gdb.base/scope0.c: Likewise.
257 * gdb.base/scope1.c: Likewise.
258 * gdb.base/setshow.c: Likewise.
259 * gdb.base/setvar.c: Likewise.
260 * gdb.base/shmain.c: Likewise.
261 * gdb.base/shr1.c: Likewise.
262 * gdb.base/shr2.c: Likewise.
263 * gdb.base/sigall.c: Likewise.
264 * gdb.base/signals.c: Likewise.
265 * gdb.base/so-indr-cl.c: Likewise.
266 * gdb.base/solib2.c: Likewise.
267 * gdb.base/structs.c: Likewise.
268 * gdb.base/sum.c: Likewise.
269 * gdb.base/vforked-prog.c: Likewise.
270 * gdb.base/watchpoint.c: Likewise.
271 * gdb.reverse/shr2.c: Likewise.
272 * gdb.reverse/until-reverse.c: Likewise.
273 * gdb.reverse/ur1.c: Likewise.
274 * gdb.reverse/watch-reverse.c: Likewise.
276 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
278 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
280 * gdb.base/sepdebug.exp: Drop references to removed code.
282 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
284 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
285 variant. Preserve original line numbering.
286 * gdb.base/list1.c: Likewise.
288 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
290 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
292 * gdb.base/break1.c: Likewise.
293 * gdb.base/break.exp: Drop references to removed code.
295 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
297 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
300 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
302 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
304 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
306 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
307 logic into perform_all_tests() and invoke it with and without
308 function header prototypes.
309 (do_function_calls): Remove conditional XFAIL for PR 5318.
310 (rerun_and_prepare): Remove duplicate code.
311 (perform_all_tests): New. Main logic moved here.
313 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
315 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
316 code guarded by #ifdef NO_PROTOTYPES.
317 (t_double_many_args): Likewise.
318 (DEF_FUNC_MANY_ARGS_1): Likewise.
319 (DEF_FUNC_VALUES_1): Likewise.
320 (t_structs_ldc): Renamed from t_structs_fc in conditional code
321 guarded by #ifdef PROTOTYPES.
323 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
325 * gdb.mi/mi-console.c: Add eye-catcher.
326 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
327 instead of literal line number.
329 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
331 * gdb.base/shr2.c: Add eye-catcher.
332 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
335 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
337 * gdb.base/jump.c: Add eye-catchers.
338 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
341 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
343 * gdb.base/execd-prog.c: Add eye-catchers.
344 * gdb.base/foll-exec.c: Likewise.
345 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
348 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
350 * gdb.base/ending-run.c: Add eye-catchers.
351 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
352 literal line numbers.
354 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
356 * gdb.base/call-rt-st.c: Add eye-catchers.
357 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
358 literal line numbers.
360 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
362 * gdb.base/call-ar-st.c: Add eye-catchers.
363 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
364 literal line numbers.
366 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
368 * gdb.base/average.c: Add eye-catchers.
369 * gdb.base/sum.c: Likewise.
370 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
373 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
375 * gdb.base/solib1.c: Add eye-catchers.
376 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
377 literal line numbers.
379 2014-11-12 Pedro Alves <palves@redhat.com>
381 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
384 2014-11-12 Pedro Alves <palves@redhat.com>
386 * gdb.arch/i386-bp_permanent.c: New file.
387 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
388 (srcfile): Set to i386-bp_permanent.c.
389 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
390 that stepi does not execute the 'leave' instruction, instead of
391 testing it does execute.
392 * gdb.base/bp-permanent.c: New file.
393 * gdb.base/bp-permanent.exp: New file.
395 2014-11-10 Doug Evans <xdje42@gmail.com>
398 * gdb.base/symtab-search-order.exp: New file.
399 * gdb.base/symtab-search-order.c: New file.
400 * gdb.base/symtab-search-order-1.c: New file.
401 * gdb.base/symtab-search-order-shlib-1.c: New file.
403 2014-11-07 Pedro Alves <palves@redhat.com>
406 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
409 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
412 * gdb.cp/pr17494.cc: New file.
413 * gdb.cp/pr17494.exp: New file.
415 2014-11-02 Yao Qi <yao@codesourcery.com>
417 * gdb.python/python.exp: Get working directory and match the
418 output of "set extended-prompt \\w " with it.
420 2014-10-30 Doug Evans <dje@google.com>
422 * gdb.python/py-objfile.exp: Add tests for setting random attributes
424 * gdb.python/py-progspace.exp: Add tests for setting random attributes
427 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
429 * gdb.base/fullpath-expand.exp: Skip for a remote host.
430 * gdb.base/realname-expand.exp: Likewise.
431 * gdb.linespec/macro-relative.exp: Likewise.
433 2014-10-29 Pedro Alves <palves@redhat.com>
436 * gdb.threads/schedlock.c (some_function): New function.
437 (call_function): New global.
438 (MAYBE_CALL_SOME_FUNCTION): New macro.
439 (thread_function): Call it.
440 * gdb.threads/schedlock.exp (get_args): Add description parameter,
441 and use it instead of a global counter. Adjust all callers.
442 (get_current_thread): Use "find current thread" for test message
443 here rather than having all callers pass down the same string.
444 (goto_loop): New procedure, factored out from ...
445 (my_continue): ... this.
446 (step_ten_loops): Change parameter from test message to command to
448 (list_count): Delete global.
449 (check_result): New procedure, factored out from duplicate top
451 (continue tests): Wrap in with_test_prefix.
452 (test_step): New procedure, factored out from duplicate top level
454 (top level): Test "step" in combination with all scheduler-locking
455 modes. Test "next" in combination with all scheduler-locking
456 modes, and in combination with stepping over a function call or
458 * gdb.threads/next-bp-other-thread.c: New file.
459 * gdb.threads/next-bp-other-thread.exp: New file.
461 2014-10-29 Pedro Alves <palves@redhat.com>
464 * gdb.python/python.exp: Test a multi-line command that spawns
466 * gdb.base/multi-line-starts-subshell.exp: New file.
468 2014-10-29 Yao Qi <yao@codesourcery.com>
470 * gdb.base/fileio.exp: Make directories on host.
472 2014-10-29 Yao Qi <yao@codesourcery.com>
474 * gdb.base/fileio.c (test_write): Close the file.
476 2014-10-28 Pedro Alves <palves@redhat.com>
479 * gdb.base/sigstep.c (no_handler): New global.
480 (main): If 'no_handler is true, set the signal handlers to
482 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
483 with_sw_watch and no_handler parameters. Handle them.
484 (top level) <stepping over handler when stopped at a breakpoint
485 test>: Add a test axis for testing with a software watchpoint, and
486 another for testing with the signal handler set to SIG_IGN.
487 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
488 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
490 2014-10-28 Pedro Alves <palves@redhat.com>
493 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
494 * gdb.base/sigstep.exp (other_handler_location): New global.
495 (advance): Support stepping into the signal handler, and running
496 commands while in the handler.
497 (in_handler_map): New global.
498 (top level): In the advance test, add combinations for getting
499 into the handler with stepping commands, and for running commands
500 in the handler. Add comment descripting the advancei tests.
502 2014-10-28 Pedro Alves <palves@redhat.com>
504 * gdb.base/sigstep.exp: Use build_executable instead of
506 (top level): Move code that starts GDB, runs to main and creates a
508 (restart): ... this new procedure.
509 (top level): Move backtrace from signal handler test to ...
510 (validate_backtrace): ... this new procedure.
511 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
512 with_test_prefix. Always restart GDB.
513 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
514 with_test_prefix. Always restart GDB. No need to delete
515 breakpoints after the test.
516 (test_skip_handler): Remove prefix parameter.
517 (skip_over_handler, breakpoint_to_handler)
518 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
519 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
520 restart GDB. No need to delete breakpoints after the test.
521 (top level): Use foreach to call the test procedures with
524 2014-10-28 Pedro Alves <palves@redhat.com>
526 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
527 instead of GNATS numbers.
528 * gdb.base/sigbpt.exp: Likewise.
529 * gdb.base/siginfo.exp: Likewise.
530 * gdb.base/sigstep.exp: Likewise.
532 2014-10-27 Pedro Alves <palves@redhat.com>
534 * gdb.base/sigstep.c (dummy): New global.
535 (main): Issue a couple writes to the new global.
536 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
538 (skip_over_handler): Use test_skip_handler.
539 (top level): Call skip_over_handler for stepi and nexti too.
540 (breakpoint_over_handler): Use test_skip_handler.
541 (top level): Call breakpoint_over_handler for stepi and nexti too.
543 2014-10-27 Yao Qi <yao@codesourcery.com>
545 * gdb.trace/tfile.c (adjust_function_address)
546 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
549 2014-10-24 Don Breazeal <donb@codesourcery.com>
551 * gdb.base/foll-fork.exp (test_follow_fork,
552 catch_fork_child_follow): Check for updated fork messages emitted
554 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
555 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
556 vfork_and_exec_child_follow_through_step): Check for updated vfork
557 messages emitted from infrun.c.
559 2014-10-24 Pedro Alves <palves@redhat.com>
561 * gdb.base/corefile.exp: Remove references to ultrix.
562 * gdb.base/interrupt.exp: Likewise.
563 * gdb.base/whatis.exp: Likewise.
564 * gdb.gdb/selftest.exp: Likewise.
565 * gdb.threads/manythreads.exp: Likewise.
566 * gdb.threads/print-threads.exp: Likewise.
567 * gdb.threads/pthreads.exp:: Likewise.
568 * gdb.threads/schedlock.exp: Likewise.
570 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
572 * gdb.cp/non-trivial-retval.cc: Add a test case.
573 * gdb.cp/non-trivial-retval.exp: Add a test.
575 2014-10-20 Yao Qi <yao@codesourcery.com>
577 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
578 * gdb.python/py-objfile-script-gdb.py: New file.
579 * gdb.python/py-objfile-script.exp: Update reference to
580 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
581 of remote_download. Remove the dest file.
583 2014-10-20 Yao Qi <yao@codesourcery.com>
585 * gdb.base/checkpoint.exp: Don't remove file copied on host.
586 * gdb.base/step-line.exp: Likewise.
587 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
588 * gdb.dwarf2/dw2-basic.exp: Likewise.
589 * gdb.dwarf2/dw2-compressed.exp: Likewise.
590 * gdb.dwarf2/dw2-filename.exp: Likewise.
591 * gdb.dwarf2/dw2-intercu.exp: Likewise.
592 * gdb.dwarf2/dw2-intermix.exp: Likewise.
593 * gdb.dwarf2/dw2-producer.exp: Likewise.
594 * gdb.dwarf2/mac-fileno.exp: Likewise.
595 * gdb.python/py-frame-args.exp: Likewise.
596 * gdb.python/py-framefilter.exp: Likewise.
597 * gdb.python/py-mi.exp: Likewise.
598 * gdb.python/py-objfile-script.exp: Likewise
599 * gdb.python/py-pp-integral.exp: Likewise.
600 * gdb.python/py-pp-re-notag.exp: Likewise.
601 * gdb.python/py-prettyprint.exp: Likewise.
602 * gdb.python/py-section-script.exp: Likewise.
603 * gdb.python/py-typeprint.exp: Likewise.
604 * gdb.python/py-xmethods.exp: Likewise.
605 * gdb.stabs/weird.exp: Likewise.
606 * gdb.xml/tdesc-regs.exp: Likewise.
608 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
610 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
611 (out_cu): Use addr_len for the size of addresses.
612 (out_line): Likewise. Size DW_LNE_set_address instruction
613 according to addr_len.
614 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
615 (FUNC): Add START_INSNS to definition.
617 2014-10-18 Yao Qi <yao@codesourcery.com>
619 * gdb.base/argv0-symlink.exp: Check argv[0] value if
620 gdb_has_argv0 return true.
621 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
622 check [target_info exists noargs], check [gdb_has_argv0]
624 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
625 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
628 2014-10-17 Doug Evans <dje@google.com>
630 * gdb.python/py-events.exp: Update expected output for clear_objfiles
632 * gdb.python/py-events.py: Add clear_objfiles event.
634 2014-10-17 Doug Evans <dje@google.com>
636 * gdb.python/py-objfile.exp: Test progspace attribute.
638 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
640 * gdb.guile/scm-breakpoint.exp: Do not assume any
641 directory separators when matching source file paths.
642 * gdb.python/py-breakpoint.exp: Likewise.
643 * gdb.reverse/break-precsave.exp: Likewise.
644 * gdb.reverse/break-reverse.exp: Likewise.
645 * gdb.reverse/consecutive-precsave.exp: Likewise.
646 * gdb.reverse/finish-precsave.exp: Likewise.
647 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
648 * gdb.reverse/finish-reverse.exp: Likewise.
649 * gdb.reverse/i386-precsave.exp: Likewise.
650 * gdb.reverse/i387-env-reverse.exp: Likewise.
651 * gdb.reverse/i387-stack-reverse.exp: Likewise.
652 * gdb.reverse/machinestate-precsave.exp: Likewise.
653 * gdb.reverse/machinestate.exp: Likewise.
654 * gdb.reverse/sigall-precsave.exp: Likewise.
655 * gdb.reverse/solib-precsave.exp: Likewise.
656 * gdb.reverse/step-precsave.exp: Likewise.
657 * gdb.reverse/until-precsave.exp: Likewise.
658 * gdb.reverse/watch-precsave.exp: Likewise.
659 * gdb.reverse/watch-reverse.exp: Likewise.
661 2014-10-17 Yao Qi <yao@codesourcery.com>
663 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
664 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
666 2014-10-17 Pedro Alves <palves@redhat.com>
669 * gdb.base/bg-execution-repeat.c: New file.
670 * gdb.base/bg-execution-repeat.exp: New file.
672 2014-10-17 Pedro Alves <palves@redhat.com>
675 * gdb.base/continue-all-already-running.c: New file.
676 * gdb.base/continue-all-already-running.exp: New file.
678 2014-10-17 Pedro Alves <palves@redhat.com>
681 * gdb.base/annota-input-while-running.c: New file.
682 * gdb.base/annota-input-while-running.exp: New file.
684 2014-10-17 Pedro Alves <palves@redhat.com>
686 * gdb.base/callfuncs.exp: emove references to osf.
687 * gdb.base/sigall.exp: Likewise.
688 * gdb.gdb/selftest.exp: Likewise.
689 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
690 * gdb.mi/non-stop.c: Likewise.
691 * gdb.mi/pthreads.c: Likewise.
692 * gdb.reverse/sigall-precsave.exp: Likewise.
693 * gdb.reverse/sigall-reverse.exp: Likewise.
694 * gdb.threads/pthreads.c: Likewise.
695 * gdb.threads/pthreads.exp: Likewise.
697 2014-10-17 Yao Qi <yao@codesourcery.com>
699 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
700 check 'target_info exists noargs'.
701 (test_command_prompt_position): Likewise.
702 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
704 (progvar_simple_while_test): Likewise.
705 (progvar_complex_if_while_test): Likewise.
706 (if_while_breakpoint_command_test): Likewise.
707 (infrun_breakpoint_command_test): Likewise.
708 (breakpoint_command_test): Likewise.
709 (watchpoint_command_test): Likewise.
710 (bp_deleted_in_command_test): Likewise.
711 (temporary_breakpoint_commands): Likewise.
713 2014-10-16 Yao Qi <yao@codesourcery.com>
715 * gdb.base/remotetimeout.exp: Remove noargs checking.
717 2014-10-15 Pedro Alves <palves@redhat.com>
720 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
721 * gdb.base/breakpoint-in-ro-region.exp
722 (probe_target_hardware_step): New procedure.
723 (top level): Probe hardware stepping and hardware breakpoint
724 support. Test stepping through a read-only region, with both
725 "breakpoint auto-hw" on and off and both "always-inserted" on and
728 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
730 * gdb.dlang/demangle.exp: Update for demangling changes.
732 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
734 * gdb.cp/non-trivial-retval.cc: Add new test cases.
735 * gdb.cp/non-trivial-retval.exp: Add new tests.
737 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
741 * gdb.cp/non-trivial-retval.cc: New file.
742 * gdb.cp/non-trivial-retval.exp: New file.
744 2014-10-15 Yao Qi <yao@codesourcery.com>
746 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
749 2014-10-15 Yao Qi <yao@codesourcery.com>
751 * gdb.python/py-symbol.exp: Match file base name if host is
752 remote, otherwise match file name with dir name.
753 * gdb.python/py-symtab.exp: Likewise.
754 * gdb.python/python.exp: Likewise.
756 2014-10-15 Yao Qi <yao@codesourcery.com>
758 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
760 * gdb.python/py-symtab.exp: Likewise.
761 * gdb.python/python.exp: Remove trailing ".*". Fix typo
764 2014-10-14 Joel Brobecker <brobecker@adacore.com>
766 * gdb.ada/addr_arith: New testcase.
768 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
770 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
771 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
772 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
773 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
775 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
777 * gdb.arch/stap-eval-lang-ada.S: Likewise.
778 * gdb.arch/stap-eval-lang-ada.c: Likewise.
779 * gdb.arch/stap-eval-lang-ada.exp: New file.
781 2014-10-14 Yao Qi <yao@codesourcery.com>
783 * gdb.mi/mi-var-child.c (nothing1): New function.
784 (nothing2): New function.
785 (do_children_tests): Set function pointers by nothing1 and
787 * gdb.mi/mi-var-child.exp: Step over new added statements.
788 Update test to match the new output.
789 * gdb.mi/var-cmd.c (nothing1): New function.
790 (nothing2): New function.
791 (do_children_tests): Set function pointers by nothing1 and
793 * gdb.mi/mi-var-display.exp: Update test to match output.
794 Step to the line specified by $line_dct_nothing.
795 Increase the number of lines to step.
797 2014-10-14 Yao Qi <yao@codesourcery.com>
799 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
801 * gdb.mi/mi2-var-child.exp: Likewise.
803 2014-10-13 Doug Evans <dje@google.com>
805 * gdb.python/py-objfile.exp: Change name of file name test.
807 2014-10-13 Doug Evans <dje@google.com>
809 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
810 from the start of the CU.
812 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
813 Yao Qi <yao@codesourcery.com>
815 Fix "save breakpoints" for "catch" command.
816 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
817 Remove -nonewline. Match also the added "main" line.
819 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
821 Fix "save breakpoints" for "disable $bpnum" command.
822 * gdb.base/save-bp.c (main): Add label.
823 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
825 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
827 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
829 2014-10-11 Yao Qi <yao@codesourcery.com>
831 * gdb.server/server-kill.exp: Execute command
832 "set remote trace-status-packet on" before "tstatus".
834 2014-10-11 Yao Qi <yao@codesourcery.com>
836 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
837 (main): Call getppid.
838 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
839 and continue to it. Read variable "server_pid".
841 2014-10-11 Yao Qi <yao@codesourcery.com>
843 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
845 2014-10-11 Yao Qi <yao@codesourcery.com>
847 * gdb.threads/thread-find.exp: Don't execute command
849 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
850 * gdb.threads/linux-dp.exp: Don't check the condition
851 $threads_created equals to zero.
853 2014-10-10 Pedro Alves <palves@redhat.com>
855 * gdb.base/bigcore.exp: Remove references to IRIX.
856 * gdb.base/funcargs.exp: Likewise.
857 * gdb.base/interrupt.exp: Likewise.
858 * gdb.base/mips_pro.exp: Likewise.
859 * gdb.base/nodebug.exp: Likewise.
860 * gdb.base/setvar.exp: Likewise.
861 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
863 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
864 Pedro Alves <palves@redhat.com>
867 * gdb.base/vdso-warning.c: New file.
868 * gdb.base/vdso-warning.exp: New file.
870 2014-10-02 Doug Evans <dje@google.com>
872 * gdb.base/structs.c (main): Don't run forever.
874 2014-10-02 Pedro Alves <palves@redhat.com>
876 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
877 (top level) <stop threads 1, stop threads 2>: Use it.
879 2014-10-02 Pedro Alves <palves@redhat.com>
881 * gdb.threads/break-while-running.exp (test): Add new
882 'update_thread_list' argument. Skip "info threads" if false.
883 (top level): Add new 'update_thread_list' axis.
885 2014-10-02 Pedro Alves <palves@redhat.com>
888 * gdb.base/execl-update-breakpoints.c: New file.
889 * gdb.base/execl-update-breakpoints.exp: New file.
891 2014-10-01 Pedro Alves <palves@redhat.com>
893 * gdb.base/breakpoint-in-ro-region.c: New file.
894 * gdb.base/breakpoint-in-ro-region.exp: New file.
896 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
898 * gdb.mi/mi-exit-code.exp: New file.
899 * gdb.mi/mi-exit-code.c: New file.
901 2014-09-30 Yao Qi <yao@codesourcery.com>
903 * lib/prelink-support.exp (build_executable_own_libs): Error if
904 the target isn't native.
906 2014-09-30 Yao Qi <yao@codesourcery.com>
908 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
911 2014-09-22 Pedro Alves <palves@redhat.com>
913 * gdb.threads/break-while-running.exp: New file.
914 * gdb.threads/break-while-running.c: New file.
916 2014-09-19 Yao Qi <yao@codesourcery.com>
918 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
919 Invoke test. Restart GDB with --readnow and invoke test again.
921 2014-09-19 Yao Qi <yao@codesourcery.com>
923 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
924 proc set_breakpoint_on_gcd_function. Invoke
925 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
926 invoke set_breakpoint_on_gcd_function again.
928 2014-09-18 Doug Evans <dje@google.com>
930 * gdb.dwarf2/symtab-producer.exp: New file.
932 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
934 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
935 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
936 * gdb.base/global-var-nested-by-dso.c: Likewise.
937 * gdb.base/global-var-nested-by-dso.exp: Likewise.
939 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
940 Pedro Alves <palves@redhat.com>
942 * gdb.base/watch-bitfields.exp: Pass string other than test file
943 name to prepare_for_testing.
944 (watch): New procedure.
945 (expect_watchpoint): Use with_test_prefix.
946 (top level): Factor out tests to ...
947 (test_watch_location, test_regular_watch): ... these new
948 procedures, and use with_test_prefix and gdb_continue_to_end.
950 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
953 * gdb.base/watch-bitfields.exp: New file.
954 * gdb.base/watch-bitfields.c: New file.
956 2014-09-16 Pedro Alves <palves@redhat.com>
958 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
959 software and hardware addresses, not software address against
962 2014-09-16 Pedro Alves <palves@redhat.com>
964 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
965 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
967 2014-09-16 Pedro Alves <palves@redhat.com>
969 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
971 * gdb.base/a2-run.exp: Remove all code guarded by istarget
972 "*-*-vxworks*" throughout.
973 * gdb.base/break.exp: Likewise.
974 * gdb.base/default.exp: Likewise.
975 * gdb.base/scope.exp: Likewise.
976 * gdb.base/sepdebug.exp: Likewise.
977 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
979 * gdb.base/run.c: Likewise.
980 * gdb.base/sepdebug.c: Likewise.
981 * gdb.hp/gdb.aCC/run.c: Likewise.
982 * gdb.reverse/until-reverse.c: Likewise.
983 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
985 2014-09-16 Yao Qi <yao@codesourcery.com>
987 * boards/local-remote-host-native.exp: New file.
989 2014-09-14 Doug Evans <xdje42@gmail.com>
991 * gdb.threads/queue-signal.c (thread_count): New variable.
992 (thread_count_mutex, thread_count_condvar): New variables.
993 (incr_thread_count, wait_all_threads_running): New functions.
994 (main): Wait for all threads to be in their thread functions.
996 2014-09-13 Doug Evans <xdje42@gmail.com>
998 * gdb.threads/queue-signal.c: New file.
999 * gdb.threads/queue-signal.exp: New file.
1001 2014-09-13 Doug Evans <xdje42@gmail.com>
1003 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
1004 be consistent with what default_gdb_init uses.
1005 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
1006 the plain text of the prompt. Add some logging printfs.
1007 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
1009 2014-09-12 Pedro Alves <palves@redhat.com>
1011 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
1012 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
1013 * gdb.arch/i386-size-overlap.exp: Likewise.
1014 * gdb.arch/i386-size.exp: Likewise.
1015 * gdb.arch/i386-unwind.exp: Likewise.
1016 * gdb.base/a2-run.exp: Likewise.
1017 * gdb.base/break.exp: Likewise.
1018 * gdb.base/charset.exp: Likewise.
1019 * gdb.base/chng-syms.exp: Likewise.
1020 * gdb.base/commands.exp: Likewise.
1021 * gdb.base/dbx.exp: Likewise.
1022 * gdb.base/find.exp: Likewise.
1023 * gdb.base/funcargs.exp: Likewise.
1024 * gdb.base/jit-simple.exp: Likewise.
1025 * gdb.base/reread.exp: Likewise.
1026 * gdb.base/sepdebug.exp: Likewise.
1027 * gdb.base/step-bt.exp: Likewise.
1028 * gdb.cp/mb-inline.exp: Likewise.
1029 * gdb.cp/mb-templates.exp: Likewise.
1030 * gdb.objc/basicclass.exp: Likewise.
1031 * gdb.threads/killed.exp: Likewise.
1033 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1036 * gdb.arch/powerpc-stackless.S: New file.
1037 * gdb.arch/powerpc-stackless.exp: New file.
1039 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1041 * gdb.base/attach.c: Include unistd.h.
1042 (main): Call alarm. Add label postloop.
1043 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
1044 gdb_breakpoint, gdb_continue_to_breakpoint.
1045 (test_command_line_attach_run): Kill ${testpid} in one exit path.
1047 2014-09-11 Pedro Alves <palves@redhat.com>
1050 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
1051 * gdb.base/attach.exp (test_command_line_attach_run): New
1053 (top level): Call it.
1055 2014-09-11 Pedro Alves <palves@redhat.com>
1057 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
1058 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
1059 (do_command_attach_tests): Use spawn_wait_for_attach.
1060 * gdb.base/solib-overlap.exp: Likewise.
1061 * gdb.multi/multi-attach.exp: Likewise.
1062 * gdb.python/py-prompt.exp: Likewise.
1063 * gdb.python/py-sync-interp.exp: Likewise.
1064 * gdb.server/ext-attach.exp: Likewise.
1066 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
1068 * gdb.fortran/array-element.exp: Remove unexpected "continue"
1069 command in testcase. Simplify testcase.
1071 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1073 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
1075 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1077 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
1079 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1081 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
1083 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1085 * gdb.dwarf2/dynarr-ptr.c: New file.
1086 * gdb.dwarf2/dynarr-ptr.exp: New file.
1088 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1090 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
1091 of 30 rather than hardcoding 120 for a slow test case. Take the
1092 `gdb,timeout' target setting into account for this calculation.
1093 Don't extend the timeout for the test cases that don't need it.
1095 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1097 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
1098 a factor of 2 for a slow test case. Take the `gdb,timeout'
1099 target setting into account for this calculation.
1100 * gdb.reverse/until-precsave.exp: Increase the timeout by
1101 a factor of 15 and 3 respectively rather than adding 120
1102 for a pair of slow test cases. Take the `gdb,timeout'
1103 target setting into account for this calculation.
1105 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1107 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
1108 timeout, don't pass one down to gdb_expect.
1109 (gdb_expect): Rework timeout selection.
1111 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1113 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
1114 exception on timeout.
1115 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
1116 (gdbserver_start_extended): Catch any `gdbserver_start' error
1118 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
1119 * lib/mi-support.exp (mi_gdb_target_load): Catch any
1120 `gdbserver_gdb_load' error exceptions.
1122 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1124 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
1125 120 on waiting for the TCP socket to open.
1127 2014-09-09 Doug Evans <xdje42@gmail.com>
1129 * gdb.base/default.exp (show_conv_list): Add _caller_is,
1130 _caller_matches, _any_caller_is, _any_caller_matches.
1132 2014-09-09 Doug Evans <xdje42@gmail.com>
1134 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
1136 2014-09-09 Yao Qi <yao@codesourcery.com>
1138 * gdb.mi/mi-var-display.exp: Set print symbol off.
1140 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
1143 * gdb.base/commands.exp: Add tests to verify user-defined
1144 commands with empty bodies.
1145 * gdb.python/py-cmd.exp: Test that we don't show user-defined
1146 python commands in `show user command`.
1147 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
1148 scheme commands in `show user command`.
1150 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1153 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
1154 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
1155 * gdb.python/py-framefilter-invalidarg.exp: New file.
1156 * gdb.python/py-framefilter-invalidarg.py: New file.
1158 2014-09-06 Doug Evans <xdje42@gmail.com>
1161 * gdb.python/py-caller-is.c: New file.
1162 * gdb.python/py-caller-is.exp: New file.
1164 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
1167 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
1168 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
1170 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
1173 * gdb.fortran/print-formatted.exp: New file.
1174 * gdb.fortran/print-formatted.f90: Likewise.
1176 2014-09-03 Sasha Smundak <asmundak@google.com>
1178 * gdb.python/py-frame.exp: Test Frame.read_register.
1180 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
1183 * gdb.python/py-completion.exp: New file.
1184 * gdb.python/py-completion.py: Likewise.
1186 2014-08-28 Doug Evans <dje@google.com>
1188 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
1189 eax,etc. are live with values set by gdb and thus the compiler can't
1191 * gdb.arch/i386-pseudo.c (main): Ditto.
1193 2014-08-27 Doug Evans <dje@google.com>
1195 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
1197 2014-08-25 Doug Evans <dje@google.com>
1199 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
1202 2014-08-25 Doug Evans <dje@google.com>
1204 * gdb.threads/thread-execl.exp: #include <stdio.h>.
1206 2014-08-24 Yao Qi <yao@codesourcery.com>
1208 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
1210 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
1212 2014-08-22 Doug Evans <dje@google.com>
1215 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
1216 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
1217 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
1219 2014-08-22 Yao Qi <yao@codesourcery.com>
1221 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
1222 * gdb.python/py-finish-breakpoint2.exp: Likewise.
1223 * gdb.python/python.exp: Likewise. Use .py file on the host
1224 instead of the build.
1226 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1228 * gdb.threads/gcore-stale-thread.c: New file.
1229 * gdb.threads/gcore-stale-thread.exp: New file.
1231 2014-08-21 Pedro Alves <palves@redhat.com>
1233 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
1234 * gdb.base/gcore-relro-pie.exp: Likewise.
1235 * gdb.base/gcore-relro.exp: Likewise.
1236 * gdb.base/gcore.exp: Likewise.
1237 * gdb.base/print-symbol-loading.exp: Likewise.
1238 * gdb.threads/gcore-thread.exp: Likewise.
1239 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
1241 2014-08-20 Pedro Alves <palves@redhat.com>
1242 Jan Kratochvil <jan.kratochvil@redhat.com>
1244 * Makefile.in (EXTRA_RULES, CC): New variables, get from
1246 (EXPECT): Handle READ1 being set.
1247 (all): Depend on EXTRA_RULES.
1248 (check-read1, expect-read1, read1.so, read1): New rules.
1249 * README (Testsuite Parameters): Document the READ1 make variable.
1250 (Race detection): New section.
1251 * configure: Regenerate.
1252 * configure.ac: If build==host==target, and running under a
1253 GNU/glibc system, add read1 to the extra Makefile rules.
1254 (EXTRA_RULES): AC_SUBST it.
1255 * lib/read1.c: New file.
1257 2014-08-20 Joel Brobecker <brobecker@adacore.com>
1259 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
1260 the handling of variables declared as a typedef to an array
1261 which a DW_AT_data_location attribute.
1263 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
1264 Pedro Alves <palves@redhat.com>
1268 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
1271 2014-08-19 Pedro Alves <palves@redhat.com>
1273 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
1275 2014-08-19 Yao Qi <yao@codesourcery.com>
1277 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
1280 2014-08-18 David Blaikie <dblaikie@gmail.com>
1282 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
1284 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1286 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
1287 attribute in array range.
1289 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1291 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
1293 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1296 * gdb.cp/pr17132.cc: New file.
1297 * gdb.cp/pr17132.exp: New file.
1299 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1301 * gdb.python/py-xmethods.py (A_getarrayind)
1302 (E_method_char_worker.__call__, E_method_int_worker.__call__):
1303 Use 'print' with function call syntax.
1304 (E_method_matcher.match): Fix tab vs space indentation mixup.
1306 2014-08-15 Yao Qi <yao@codesourcery.com>
1308 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
1311 2014-08-15 Yao Qi <yao@codesourcery.com>
1313 * gdb.cp/casts.exp: Set print symbol off.
1314 * gdb.cp/class2.exp: Likewise.
1315 * gdb.cp/overload.exp: Likewise.
1316 * gdb.cp/templates.exp: Likewise.
1318 2014-08-11 Doug Evans <dje@google.com>
1320 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1321 (test_load_shlib): Update.
1323 2014-08-09 Yao Qi <yao@codesourcery.com>
1325 * gdb.base/display.exp: Invoke is_address_zero_readable.
1326 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
1327 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1328 * gdb.base/hbreak-unmapped.exp: Return if
1329 is_address_zero_readable returns true.
1330 * gdb.base/signest.exp: Likewise.
1331 * gdb.base/signull.exp: Likewise.
1332 * gdb.base/sigbpt.exp: Likewise.
1333 * gdb.guile/scm-disasm.exp: Do the test if
1334 is_address_zero_readable returns false.
1335 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
1336 * gdb.python/py-arch.exp: Likewise.
1337 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
1338 * lib/gdb.exp (is_address_zero_readable): New proc.
1340 2014-08-09 Yao Qi <yao@codesourcery.com>
1343 * gdb.mi/mi-var-display.exp: Make test messages unique.
1345 2014-08-04 Tom Tromey <tromey@redhat.com>
1347 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
1350 2014-08-04 Tom Tromey <tromey@redhat.com>
1352 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
1355 2014-08-01 Joel Brobecker <brobecker@adacore.com>
1357 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
1358 inner_vla_struct_object_size.
1359 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
1362 2014-07-30 Pedro Alves <palves@redhat.com>
1364 * gdb.threads/signal-command-handle-nopass.exp (test): Add
1367 2014-07-29 Yao Qi <yao@codesourcery.com>
1370 * gdb.base/until-nodebug.exp: New.
1372 2014-07-28 Doug Evans <xdje42@gmail.com>
1375 * gdb.guile/scm-parameter.exp: Add tests for trying to create
1376 previously existing parameter, and previously ambiguously spelled
1379 2014-07-28 Will Newton <will.newton@linaro.org>
1381 * gdb.base/varargs.exp: Remove KFAILs for ARM.
1383 2014-07-26 Ludovic Courtès <ludo@gnu.org>
1384 Doug Evans <xdje42@gmail.com>
1387 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
1389 2014-07-25 Pedro Alves <palves@redhat.com>
1391 * gdb.threads/signal-command-handle-nopass.c: New file.
1392 * gdb.threads/signal-command-handle-nopass.exp: New file.
1393 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
1394 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
1395 * gdb.threads/signal-delivered-right-thread.c: New file.
1396 * gdb.threads/signal-delivered-right-thread.exp: New file.
1398 2014-07-25 Pedro Alves <palves@redhat.com>
1400 * gdb.base/double-prompt-target-event-error.exp
1401 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
1403 (cancel_pagination_in_target_event): Rework double prompt
1405 * gdb.base/paginate-after-ctrl-c-running.exp
1406 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
1408 * gdb.base/paginate-bg-execution.exp
1409 (test_bg_execution_pagination_return)
1410 (test_bg_execution_pagination_cancel): Remove '-notransfer
1412 * gdb.base/paginate-execution-startup.exp
1413 (test_fg_execution_pagination_return)
1414 (test_fg_execution_pagination_cancel): Remove '-notransfer
1416 * gdb.base/paginate-inferior-exit.exp
1417 (test_paginate_inferior_exited): Remove '-notransfer <return>'
1419 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
1420 * lib/gdb.exp (pagination_prompt): Run text through
1422 (gdb_test_multiple): Match $pagination_prompt instead of
1424 (string_to_regexp): Move to lib/gdb-utils.exp.
1426 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1428 * gdb.arch/amd64-entry-value-paramref.S: New file.
1429 * gdb.arch/amd64-entry-value-paramref.cc: New file.
1430 * gdb.arch/amd64-entry-value-paramref.exp: New file.
1431 * gdb.arch/amd64-optimout-repeat.S: New file.
1432 * gdb.arch/amd64-optimout-repeat.c: New file.
1433 * gdb.arch/amd64-optimout-repeat.exp: New file.
1435 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1438 * gdb.base/statistics.exp: New file.
1440 2014-07-17 Doug Evans <dje@google.com>
1443 * gdb.base/maint.exp: Update testing of per-command stats.
1445 2014-07-16 Pedro Alves <palves@redhat.com>
1447 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
1448 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
1449 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
1450 (tfile_write_buf): New functions.
1451 (add_memory_block): Rewrite using the above.
1452 (adjust_function_address): New function.
1453 (FUNCTION_ADDRESS): New macro.
1454 (write_basic_trace_file): Remove short_x local, and use
1455 tfile_write_16. Change type of func_addr local to unsigned long
1456 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
1457 here. Cast argument of add_memory_block to char pointer.
1458 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
1459 (main): Remove parameters.
1460 * gdb.trace/tfile.exp: Remove nowarnings.
1462 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1464 * gdb.base/debug-expr.exp: Test string evaluation with
1465 "debug expression" on.
1467 2014-07-15 Pedro Alves <palves@redhat.com>
1469 * gdb.base/reread.exp: Use clean_restart.
1471 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1473 * gdb.arch/avr-flash-qualifer.c: New.
1474 * gdb.arch/avr-flash-qualifer.exp: New.
1476 2014-07-14 Pedro Alves <palves@redhat.com>
1478 * gdb.base/paginate-after-ctrl-c-running.c: New file.
1479 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1481 2014-07-14 Pedro Alves <palves@redhat.com>
1483 * gdb.base/double-prompt-target-event-error.c: New file.
1484 * gdb.base/double-prompt-target-event-error.exp: New file.
1486 2014-07-14 Pedro Alves <palves@redhat.com>
1489 * gdb.base/paginate-inferior-exit.c: New file.
1490 * gdb.base/paginate-inferior-exit.exp: New file.
1492 2014-07-14 Pedro Alves <palves@redhat.com>
1495 * gdb.base/paginate-bg-execution.c: New file.
1496 * gdb.base/paginate-bg-execution.exp: New file.
1498 2014-07-14 Pedro Alves <palves@redhat.com>
1501 * gdb.base/paginate-execution-startup.c: New file.
1502 * gdb.base/paginate-execution-startup.exp: New file.
1503 * lib/gdb.exp (pagination_prompt): New global.
1504 (default_gdb_spawn): New procedure, factored out from
1506 (default_gdb_start): Adjust to call default_gdb_spawn.
1507 (gdb_spawn): New procedure.
1509 2014-07-14 Pedro Alves <palves@redhat.com>
1511 * lib/gdb.exp (gdb_assert): New procedure.
1512 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
1514 2014-07-14 Pedro Alves <palves@redhat.com>
1516 * gdb.base/execution-termios.c: New file.
1517 * gdb.base/execution-termios.exp: New file.
1519 2014-07-14 Tom Tromey <tromey@redhat.com>
1521 * gdb.cp/vla-cxx.cc: New file.
1522 * gdb.cp/vla-cxx.exp: New file.
1524 2014-07-14 Tom Tromey <tromey@redhat.com>
1526 * gdb.reverse/rerun-prec.c: New file.
1527 * gdb.reverse/rerun-prec.exp: New file.
1529 2014-07-12 Maciej W. Rozycki <macro@mips.com>
1530 Maciej W. Rozycki <macro@codesourcery.com>
1532 * lib/gdb-utils.exp: New file.
1533 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
1534 inline `gdb_init_command' processing.
1535 (gdb_start_cmd): Likewise.
1536 * lib/mi-support.exp (mi_run_cmd): Likewise.
1537 * README: Document `gdb_init_command' and `gdb_init_commands'.
1539 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1541 Fix false FAIL running under a very long directory name.
1542 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1543 and "set print elements 10000". Twice.
1545 2014-07-11 Yao Qi <yao@codesourcery.com>
1547 * gdb.base/exprs.exp: "set print symbol off".
1549 2014-07-11 Pedro Alves <palves@redhat.com>
1551 * gdb.threads/kill.c: New file.
1552 * gdb.threads/kill.exp: New file.
1554 2014-07-10 Yao Qi <yao@codesourcery.com>
1556 * gdb.trace/tfile.c (write_basic_trace_file)
1557 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1558 address written to trace file.
1560 2014-07-09 Pedro Alves <palves@redhat.com>
1562 * gdb.base/attach-wait-input.exp: New file.
1563 * gdb.base/attach-wait-input.c: New file.
1565 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1567 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1568 setting up test structures.
1569 (main): Call new test function.
1570 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1571 test function, continue into test function and walk test
1574 2014-07-02 Yao Qi <yao@codesourcery.com>
1576 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1577 'bar_start' at the beginning of functions 'foo' and 'bar'
1579 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1580 instead of 'foo' and 'bar'.
1582 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1584 * gdb.btrace/segv.exp: New.
1585 * gdb.btrace/segv.c: New.
1587 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
1589 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1592 2014-06-30 Mark Wielaard <mjw@redhat.com>
1594 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1595 vulture, vilify, villar): New volatile array constants.
1596 (vindictive, vegetation): New const volatile array constants.
1597 * gdb.base/volatile.exp: Test volatile and const volatile array
1600 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1602 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1603 target lacks support for awatch, rwatch, or hbreak.
1605 2014-06-27 Yao Qi <yao@codesourcery.com>
1607 * gdb.multi/dummy-frame-restore.exp: New.
1608 * gdb.multi/dummy-frame-restore.c: New.
1610 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1612 * gdb.btrace/gcore.exp: New.
1614 2014-06-23 Pedro Alves <palves@redhat.com>
1616 * gdb.base/watchpoint-reuse-slot.c: New file.
1617 * gdb.base/watchpoint-reuse-slot.exp: New file.
1619 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1621 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1622 progspace's filename in 'info', 'enable' and 'disable' command
1625 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1627 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1628 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1629 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1631 2014-06-20 Gary Benson <gbenson@redhat.com>
1633 * gdb.arch/i386-avx.exp: Fix include file location.
1634 * gdb.arch/i386-sse.exp: Likewise.
1636 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1638 * gdb.dlang/expression.exp: New file.
1640 2014-06-19 Pedro Alves <palves@redhat.com>
1642 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1644 (top level): ... here. Iterate running tests under different
1645 scheduler-locking settings.
1647 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
1649 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1650 to DW_FORM_addr and use non-zero addresses.
1652 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1655 * gdb.python/py-xmethods.cc: Add global function call counters and
1656 increment them in their respective functions. Remove "cout"
1658 * gdb.python/py-xmethods.exp: Make tests check the global function
1659 call counters instead of depending on inferior IO.
1661 2014-06-18 Don Breazeal <donb@codesourcery.com>
1663 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1665 (explicit_fork_parent_follow): Deleted procedure.
1666 (explicit_fork_child_follow): Deleted procedure.
1667 (test_follow_fork): New procedure.
1668 (do_fork_tests): Replace calls to deleted procedures with
1669 calls to test_follow_fork and reset GDB for subsequent
1672 2014-06-17 Yao Qi <yao@codesourcery.com>
1674 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1677 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
1679 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1680 Initialize ptr and S explicitly.
1681 (skip_type_update_when_not_use_rtti_test): Likewise.
1683 2014-06-16 Keith Seitz <keiths@redhat.com>
1686 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1687 the inferior is started.
1689 2014-06-16 Pedro Alves <palves@redhat.com>
1691 * gdb.base/break-main-file-remove-fail.c: New file.
1692 * gdb.base/break-main-file-remove-fail.exp: New file.
1693 * gdb.base/break-unload-file.exp: Use build_executable instead of
1694 prepare_for_testing.
1695 (test_break): New parameter "initial_load". Handle it.
1696 (top level): Add initial_load cmdline/file axis.
1698 2014-06-12 Tom Tromey <tromey@redhat.com>
1700 * gdb.base/completion.exp: Don't use directory name in test.
1702 2014-06-09 Gary Benson <gbenson@redhat.com>
1704 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1705 separate the always-available ANSI-standard signals from the
1706 signals that require checking.
1708 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1712 2014-06-07 Keith Seitz <keiths@redhat.com>
1716 * gdb.cp/var-tag.cc: New file.
1717 * gdb.cp/var-tag.exp: New file.
1718 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1719 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1720 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1721 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1723 2014-06-06 Doug Evans <xdje42@gmail.com>
1725 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1727 2014-06-06 Pedro Alves <palves@redhat.com>
1729 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1730 in target debug output instead of looking at RSP packets,
1731 disabling the test on any target that uses hardware stepping.
1734 2014-06-06 Pedro Alves <palves@redhat.com>
1736 * gdb.base/break-unload-file.exp: Fix typo.
1738 2014-06-06 Yao Qi <yao@codesourcery.com>
1740 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1741 from "jit_function" to "^jit_function".
1743 2014-06-06 Yao Qi <yao@codesourcery.com>
1745 * gdb.base/async.c (foo): Add one statement.
1746 * gdb.base/async.exp: Get the next instruction address and
1747 match the output of "nexti" by instruction address. Match
1748 the hex address in the output of "finish".
1750 2014-06-06 Gary Benson <gbenson@redhat.com>
1752 * gdb.base/call-signals.c: Remove preprocessor conditionals
1753 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1754 SIGSEGV and SIGTERM.
1755 * gdb.base/sigall.c: Likewise.
1756 * gdb.base/unwindonsignal.c: Likewise.
1757 * gdb.reverse/sigall-reverse.c: Likewise.
1759 2014-06-06 Yao Qi <yao@codesourcery.com>
1761 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1762 readable, skip the test.
1764 2014-06-06 Yao Qi <yao@codesourcery.com>
1766 * gdb.threads/staticthreads.c (thread_function): Move the line
1767 setting breakpoint on forward.
1768 * gdb.threads/staticthreads.exp: Update comments.
1770 2014-06-05 Ludovic Courtès <ludo@gnu.org>
1772 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1773 "history-append! type error".
1775 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1777 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1778 erroneous dprintf expected input.
1780 2014-06-04 Doug Evans <xdje42@gmail.com>
1782 * gdb.guile/scm-generics.exp: Delete.
1784 2014-06-04 Doug Evans <xdje42@gmail.com>
1786 * gdb.guile/scm-breakpoint.exp: Update.
1787 Add tests for breakpoint registration.
1789 2014-06-04 Tom Tromey <tromey@redhat.com>
1791 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1793 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1794 inner_vla_struct, vla_union types. Initialize objects of those
1795 types and compute their sizes.
1797 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1798 Hui Zhu <hui@codesourcery.com>
1800 * gdb.base/fileio.exp: Add test for shell not available as well as
1802 * gdb.base/fileio.c (test_system): Check for shell twice.
1804 2014-06-04 Yao Qi <yao@codesourcery.com>
1806 * gdb.base/auto-connect-native-target.exp: Remove redundant
1807 space from the regexp pattern.
1809 2014-06-04 Yao Qi <yao@codesourcery.com>
1811 * gdb.base/default.exp: Replace "child" with "native" in
1814 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1816 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1817 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1818 * gdb.python/py-xmethods.py: Python script supporting the
1819 new testcase and tests.
1821 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1822 Pedro Alves <palves@redhat.com>
1824 PR breakpoints/17000
1825 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1826 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1828 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1830 * gdb.base/subst.exp: Add tests to verify partial path matching
1833 2014-06-03 Pedro Alves <palves@redhat.com>
1835 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1836 target that doesn't use software single-stepping.
1838 2014-06-03 Pedro Alves <palves@redhat.com>
1840 PR breakpoints/17000
1841 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1842 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1844 2014-06-02 Doug Evans <xdje42@gmail.com>
1846 * gdb.guile/scm-parameter.exp: New file.
1848 2014-06-02 Doug Evans <xdje42@gmail.com>
1850 * gdb.guile/scm-cmd.c: New file.
1851 * gdb.guile/scm-cmd.exp: New file.
1853 2014-06-02 Doug Evans <xdje42@gmail.com>
1855 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1856 pretty-printer lookup.
1857 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1858 (make-pp_s-printer): Call it.
1859 (make-pretty-printer-from-dict): New function.
1860 (lookup-pretty-printer-maker-from-dict): New function.
1861 (*pretty-printer*): Simplify.
1862 (make-objfile-pp_s-printer): New function.
1863 (install-objfile-pretty-printers!): New function.
1864 (make-progspace-pp_s-printer): New function.
1865 (install-progspace-pretty-printers!): New function.
1866 * gdb.guile/scm-progspace.c: New file.
1867 * gdb.guile/scm-progspace.exp: New file.
1869 2014-06-02 Pedro Alves <palves@redhat.com>
1871 * gdb.base/dprintf-bp-same-addr.c: New file.
1872 * gdb.base/dprintf-bp-same-addr.exp: New file.
1874 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1876 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1877 * gdb.arch/powerpc-power.s: Likewise.
1879 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1881 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1883 2014-06-01 Yao Qi <yao@codesourcery.com>
1885 * gdb.base/watchpoint.exp (test_watch_location): Check null
1886 pointer can be dereferenced. If not, do the test, otherwise
1889 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1891 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1893 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1895 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1897 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1898 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1899 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1900 * gdb.arch/amd64-invalid-stack-top.c: New file.
1901 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1903 2014-05-30 Pedro Alves <palves@redhat.com>
1905 PR breakpoints/17000
1906 * gdb.base/sss-bp-on-user-bp.c: New file.
1907 * gdb.base/sss-bp-on-user-bp.exp: New file.
1909 2014-05-30 David Blaikie <dblaikie@gmail.com>
1911 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1912 gnu_inline semantics via attribute.
1913 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1914 source explicitly specifies the required semantics.
1916 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1918 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1920 2014-05-29 Pedro Alves <palves@redhat.com>
1921 Tom Tromey <tromey@redhat.com>
1923 * gdb.base/async-shell.exp: Don't enable target-async.
1924 * gdb.base/async.exp
1925 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1927 (top level): Don't test with "target-async".
1928 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1929 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1930 * gdb.base/inferior-died.exp: Don't enable target-async.
1931 * gdb.base/interrupt-noterm.exp: Likewise.
1932 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1933 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1934 * gdb.mi/mi-nonstop.exp: Likewise.
1935 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1936 * gdb.mi/mi-nsintrall.exp: Likewise.
1937 * gdb.mi/mi-nsmoribund.exp: Likewise.
1938 * gdb.mi/mi-nsthrexec.exp: Likewise.
1939 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1940 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1941 * gdb.python/py-evsignal.exp: Don't enable target-async.
1942 * gdb.python/py-evthreads.exp: Likewise.
1943 * gdb.python/py-prompt.exp: Likewise.
1944 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1945 * gdb.server/solib-list.exp: Don't enable target-async.
1946 * gdb.threads/thread-specific-bp.exp: Likewise.
1947 * lib/mi-support.exp: Adjust to use mi-async.
1949 2014-05-29 Pedro Alves <palves@redhat.com>
1952 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1953 reason, even in sync mode.
1955 2014-05-29 Pedro Alves <palves@redhat.com>
1956 Hui Zhu <hui@codesourcery.com>
1959 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1960 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1961 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1962 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1964 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1966 * config/monitor.exp (gdb_target_monitor): Replace use of
1967 "set remotebaud" by "set serial baud".
1969 2014-05-26 Andy Wingo <wingo@igalia.com>
1971 * gdb.guile/scm-breakpoint.exp:
1972 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1973 properties instead of gdb-object-properties.
1975 2014-05-26 Yao Qi <yao@codesourcery.com>
1977 * gdb.server/no-thread-db.exp: Specify source file name
1978 explicitly when setting a breakpoint.
1980 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1982 * gdb.btrace/vdso.c: New.
1983 * gdb.btrace/vdso.exp: New.
1985 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1987 * gdb.base/gcore.exp (capture_command_output): Move ...
1988 * lib/gdb.exp (capture_command_output): ... here.
1990 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1992 * gdb.btrace/data.exp: Test memory access during btrace replay.
1994 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1996 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1998 2014-05-21 Pedro Alves <palves@redhat.com>
2001 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
2002 (top level): Test that output related to execution commands is
2003 sent to the console with CLI commands, but not with MI commands.
2004 Test that breakpoint events are always mirrored to the console.
2005 Also expect the new source line to be output after a "next" in
2006 async mode too. Make it a pass/fail test.
2007 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
2009 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
2011 2014-05-21 Pedro Alves <palves@redhat.com>
2013 * gdb.base/list.exp (build_pattern, test_list): New procedures.
2014 Use them to test variations of "list" after reaching a breakpoint.
2015 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
2016 Test "list" with listsize 10 after reaching a breakpoint.
2017 * gdb.python/python.exp (decode_line current location line
2018 number): Adjust expected line number.
2020 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
2022 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
2023 behavior for $args, pass it directly to "run".
2025 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
2027 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
2030 2014-05-21 Pedro Alves <palves@redhat.com>
2032 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
2033 auto-connect-native-target off".
2034 * gdb.base/auto-connect-native-target.c: New file.
2035 * gdb.base/auto-connect-native-target.exp: New file.
2037 2014-05-21 Pedro Alves <palves@redhat.com>
2039 * gdb.base/default.exp: Test "target native" instead of "target
2042 2014-05-21 Mark Wielaard <mjw@redhat.com>
2044 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2046 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2048 Fix TLS access for -static -pthread.
2049 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
2050 <HAVE_TLS> (thread_function, main): Initialize it.
2051 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
2053 <$have_tls != "">: Check TLSVAR.
2055 2014-05-21 Pedro Alves <palves@redhat.com>
2057 * gdb.base/dcache-line-read-error.c: New.
2058 * gdb.base/dcache-line-read-error.exp: New.
2060 2014-05-20 Pedro Alves <palves@redhat.com>
2062 * gdb.base/compare-sections.c: New file.
2063 * gdb.base/compare-sections.exp: New file.
2065 2014-05-20 Pedro Alves <palves@redhat.com>
2067 * gdb.base/break-idempotent.c: New file.
2068 * gdb.base/break-idempotent.exp: New file.
2070 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
2072 * gdb.btrace/nohist.exp: New.
2074 2014-05-20 Yao Qi <yao@codesourcery.com>
2076 * lib/gdb.exp (gdb_init): Set timeout if test file is under
2077 gdb.reverse directory and gdb_reverse_timeout exists in board
2079 * README: Document gdb_reverse_timeout.
2081 2014-05-20 Yao Qi <yao@codesourcery.com>
2083 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
2084 'test_file_name'. Treat args as a string instead of a list.
2085 (gdb_init): Rename argument 'args' by 'test_file_name'.
2087 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2089 * gdb.arch/powerpc-power.exp: New file.
2090 * gdb.arch/powerpc-power.s: New file.
2092 2014-05-16 Doug Evans <dje@google.com>
2094 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
2095 * gdb.base/completion.exp: Check that all expected files exist
2096 before doing file completion.
2098 2014-05-16 Doug Evans <dje@google.com>
2100 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
2102 (do_syscall_tests_without_xml): Update.
2104 2014-05-16 Pedro Alves <palves@redhat.com>
2106 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
2107 instead of "unknown output after running".
2109 2014-05-16 Yao Qi <yao@codesourcery.com>
2111 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
2112 file1.txt from host at the end.
2113 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2115 2014-05-15 Doug Evans <dje@google.com>
2117 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
2118 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
2119 loading file. Add test for TU lookup.
2121 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2123 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
2124 calling "-exec-arguments" or "set args" before running the
2127 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2129 * lib/mi-support.exp (mi_expect_stop): Expect message for
2130 inferiors that exit with non-zero exit code.
2132 2014-05-14 Yao Qi <yao@codesourcery.com>
2134 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
2135 match absolute path on remote host.
2136 (test_file_list_exec_source_files): Remove "/" from the
2139 2014-05-14 Yao Qi <yao@codesourcery.com>
2141 * boards/local-remote-host-notty.exp (${board}_file): New
2144 2014-05-07 Kyle McMartin <kyle@redhat.com>
2146 Pushed by Joel Brobecker <brobecker@adacore.com>.
2147 * gdb.arch/aarch64-atomic-inst.c: New file.
2148 * gdb.arch/aarch64-atomic-inst.exp: New file.
2150 2014-05-07 Yao Qi <yao@codesourcery.com>
2152 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
2153 in current context" too.
2155 2014-05-05 Keith Seitz <keiths@redhat.com>
2157 * gdb.linespec/ls-dollar.exp: Add test for linespec
2158 file:convenience_variable.
2160 2014-05-05 Yao Qi <yao@codesourcery.com>
2162 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
2163 traceframes into tfile and ctf trace files. Read data from
2164 trace file and test collected data.
2165 (gdb_collect_locals_test): Likewise.
2166 (gdb_unavailable_registers_test): Likewise.
2167 (gdb_unavailable_floats): Likewise.
2168 (gdb_collect_globals_test): Likewise.
2169 (top-level): Append "ctf" to trace_file_targets if GDB
2172 2014-05-05 Yao Qi <yao@codesourcery.com>
2174 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
2176 (gdb_collect_args_test_1): ... it. New proc.
2177 (gdb_collect_locals_test): Move some code to ...
2178 (gdb_collect_locals_test_1): ... it. New proc.
2179 (gdb_unavailable_registers_test): Move some code to ...
2180 (gdb_unavailable_registers_test_1): ... it. New proc.
2181 (gdb_unavailable_floats): Move some code to ...
2182 (gdb_unavailable_floats_1): ... it. New proc.
2184 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2186 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
2187 probes to test for bitness recognition.
2188 * gdb.arch/amd64-stap-optional-prefix.exp
2189 (test_probe_value_without_reg): New procedure.
2190 Add code to test for different kinds of bitness.
2192 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2194 PR breakpoints/16889
2195 * gdb.arch/amd64-stap-optional-prefix.S: New file.
2196 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2198 2014-05-01 Pedro Alves <palves@redhat.com>
2200 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
2201 gdb_file_cmd if no file is specified.
2202 * boards/native-extended-gdbserver.exp (gdb_load): Use the
2203 last_loaded_file to set the remote exec-file.
2205 2014-05-01 Pedro Alves <palves@redhat.com>
2207 * boards/local-remote-host.exp: New file.
2209 2014-05-01 Pedro Alves <palves@redhat.com>
2211 * boards/local-remote-host.exp: Rename to ...
2212 * boards/local-remote-host-notty.exp: ... this.
2214 2014-04-28 Joel Brobecker <brobecker@adacore.com>
2216 * gdb.ada/dyn_arrayidx: New testcase.
2218 2014-04-26 Yao Qi <yao@codesourcery.com>
2220 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
2221 and compute the length of function main. Save it in
2223 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
2224 (top-level): Use gdb_compile to compile objects into
2225 executable and restart GDB. Remove invocation to
2226 prepare_for_testing.
2228 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
2229 Pedro Alves <palves@redhat.com>
2232 * gdb.multi/multi-attach.c: New file.
2233 * gdb.multi/multi-attach.exp: New file.
2235 2014-04-25 Pedro Alves <palves@redhat.com>
2237 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
2239 (top level): Test that "set remote conditional-breakpoints-packet
2240 off" works as intended.
2241 * gdb.base/dprintf.exp: Test that "set remote
2242 breakpoint-commands-packet off" works as intended.
2243 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
2245 (top level): Call it.
2246 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
2247 remote fast-tracepoints-packet off" works as intended.
2248 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
2249 * lib/gdb.exp (gdb_is_target_remote): ... here.
2251 2014-04-24 David Blaikie <dblaikie@gmail.com>
2253 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
2254 ensure clang would not discard them.
2255 * gdb.base/gdbvars.c: Ditto.
2256 * gdb.base/memattr.c: Ditto.
2257 * gdb.base/whatis.c: Ditto.
2258 * gdb.python/py-prettyprint.c: Ditto.
2259 * gdb.trace/actions.c: Ditto.
2260 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
2261 ensure clang would not discard it.
2263 2014-04-24 David Blaikie <dblaikie@gmail.com>
2265 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
2266 clang to emit the full definition of type required by the test
2267 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
2269 2014-04-24 David Blaikie <dblaikie@gmail.com>
2271 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
2272 coax Clang into emitting the definition of the type.
2273 * gdb.cp/pr10728-x.h (y): Ditto.
2274 * gdb.cp/pr10728-y.cc (y): Ditto.
2276 2014-04-24 David Blaikie <dblaikie@gmail.com>
2278 * gdb.base/label.exp: XFAIL label related tests under Clang.
2279 * gdb.cp/cplabel.exp: Ditto.
2280 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
2281 under Clang those using labels.
2283 2014-04-25 Yao Qi <yao@codesourcery.com>
2285 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
2287 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
2288 partial_label and double_label.
2290 2014-04-24 David Blaikie <dblaikie@gmail.com>
2292 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
2294 2014-04-24 David Blaikie <dblaikie@gmail.com>
2296 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
2297 of the function to work across GCC and Clang.
2298 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
2299 pointer types (const void ** const V void **).
2301 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
2302 Walfred Tedeschi <walfred.tedeschi@intel.com>
2304 * Makefile.in (EXECUTABLES): Added i386-avx512.
2305 * gdb.arch/i386-avx512.c: New file.
2306 * gdb.arch/i386-avx512.exp: Likewise.
2308 2014-04-23 Keith Seitz <keiths@redhat.com>
2310 * lib/mi-support.exp (mi_list_breakpoints): Delete.
2311 (mi_make_breakpoint_table): New procedure.
2312 (mi_create_breakpoint): Use mi_make_breakpoint
2313 and return the result.
2314 (mi_make_breakpoint): New procedure.
2315 (mi_build_kv_pairs): New procedure.
2317 * gdb.mi/mi-break.exp: Remove unused globals,
2318 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
2319 All callers updated.
2320 * gdb.mi/mi-dprintf.exp: Use variable to track command
2322 Update all callers of mi_create_breakpoint and use
2323 mi_make_breakpoint_table.
2324 Remove any unused global variables.
2325 * gdb.mi/mi-nonstop.exp: Likewise.
2326 * gdb.mi/mi-nsintrall.exp: Likewise.
2327 * gdb.mi/mi-nsmoribund.exp: Likewise.
2328 * gdb.mi/mi-nsthrexec.exp: Likewise.
2329 * gdb.mi/mi-reverse.exp: Likewise.
2330 * gdb.mi/mi-simplerun.exp: Likewise.
2331 * gdb.mi/mi-stepn.exp: Likewise.
2332 * gdb.mi/mi-syn-frame.exp: Likewise.
2333 * gdb.mi/mi-until.exp: Likewise.
2334 * gdb.mi/mi-var-cp.exp: Likewise.
2335 * gdb.mi/mi-var-display.exp: Likewise.
2336 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2337 * gdb.mi/mi2-var-child.exp: Likewise.
2338 * gdb.mi/mi-vla-c99.exp: Likewise.
2339 * lib/mi-support.exp: Likewise.
2341 From Ian Lance Taylor <iant@cygnus.com>:
2342 * lib/gdb.exp (parse_args): New procedure.
2344 2014-04-23 Pedro Alves <palves@redhat.com>
2346 * gdb.base/break-unload-file.c: New file.
2347 * gdb.base/break-unload-file.exp: New file.
2348 * gdb.base/sym-file-lib.c (baz): New function.
2349 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
2351 (load): Store the segment's mapped size.
2352 (unload): New function.
2353 (unload_shlib): New function.
2354 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
2355 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
2356 set a breakpoint at baz, and call it.
2357 * gdb.base/sym-file.exp: New tests for stale breakpoint
2360 2014-04-23 Pedro Alves <palves@redhat.com>
2362 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
2363 * gdb.base/hbreak-in-shr-unsupported.c: New file.
2364 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
2365 * gdb.base/hbreak-unmapped.c: New file.
2366 * gdb.base/hbreak-unmapped.exp: New file.
2367 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
2368 * lib/gdb.exp (gdb_is_target_remote): ... here.
2370 2014-04-22 Pedro Alves <palves@redhat.com>
2372 * gdb.base/consecutive-step-over.c: New file.
2373 * gdb.base/consecutive-step-over.exp: New file.
2375 2014-04-22 Pedro Alves <palves@redhat.com>
2377 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
2378 instead of send_gdb/gdb_expect.
2380 2014-04-22 Yao Qi <yao@codesourcery.com>
2382 * lib/trace-support.exp (generate_tracefile): New procedure.
2383 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
2385 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
2386 if generate_tracefile returns 1.
2388 2014-04-18 Tom Tromey <palves@redhat.com>
2389 Pedro alves <tromey@redhat.com>
2392 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
2393 with a backtrace limit.
2394 * gdb.python/py-frame-inline.exp: Test running to an inline
2395 function with a backtrace limit, and printing the newest frame.
2396 * gdb.python/py-frame-inline.c (main): Call f.
2398 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2400 * gdb.java/jnpe.exp: Drop srcdir from untested path.
2402 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2404 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
2405 Drop prefix from unsupported source file path.
2407 2014-04-17 Yao Qi <yao@codesourcery.com>
2409 * lib/gdb.exp (with_target_charset): New proc.
2410 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
2411 with_target_charset.
2412 (test_print_strings): Likewise.
2413 (test_repeat_bytes): Likewise.
2414 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
2417 2014-04-16 Keith Seitz <keiths@redhat.com>
2420 * gdb.dwarf2/corrupt.c: New file.
2421 * gdb.dwarf2/corrupt.exp: New file.
2423 2014-04-16 Keith Seitz <keiths@redhat.com>
2426 * gdb.cp/namelessclass.cc: New file.
2427 * gdb.cp/namelessclass.exp: New file.
2428 * gdb.cp/namelessclass.S: New file.
2430 2014-04-16 Doug Evans <dje@google.com>
2432 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
2434 (gdbserver_default_get_comm_port): New function.
2435 (gdbserver_start): Check if board file provided
2436 "gdbserver,get_comm_port" and use it if so.
2437 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
2438 (gdb,socketport): Set to "stdio".
2439 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
2440 (stdio_gdbserver_template): Delete.
2441 (${board}_get_remote_address): Update.
2442 (${board}_build_remote_cmd): Delete.
2443 (${board}_get_comm_port): New function.
2444 (${board}_spawn): Update.
2445 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
2447 (${board}_get_remote_address): Update.
2448 (${board}_get_comm_port): New function.
2450 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
2452 * gdb.base/memattr.exp: Improve regexps to handle memory regions
2453 appearing in any order.
2455 2014-04-15 Doug Evans <dje@google.com>
2457 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
2458 uninitialized value of "description".
2460 2014-04-15 Keith Seitz <keiths@redhat.com>
2462 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
2463 Remove unused globals.
2464 (test_running_the_program): Likewise.
2465 (test_controlled_execution): Likewise.
2466 (test_controlling_breakpoints): Likewise.
2467 (test_program_termination): Likewise.
2469 2014-04-15 Keith Seitz <keiths@redhat.com>
2471 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
2473 (test_rbreak_creation_and_listing): Likewise.
2474 (test_ignore_count): Likewise.
2475 (test_error): Likewise.
2477 2014-04-15 Pedro Alves <palves@redhat.com>
2479 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2480 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2482 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2483 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2484 to sym-file-loader.c.
2485 (struct library): Forward declare.
2486 (load_shlib, lookup_function): Change prototypes.
2487 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2488 (translate_offset): Remove declarations.
2489 (get_text_addr): New declaration.
2490 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2491 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2493 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2494 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2495 here from sym-file-loader.h.
2496 (struct library): New structure.
2497 (load_shlib, lookup_function): Change prototypes and adjust to
2498 work with a struct library.
2499 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2500 (translate_offset): Make static.
2501 (get_text_addr): New function.
2502 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
2504 2014-04-15 Pedro Alves <palves@redhat.com>
2506 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
2508 2014-04-15 Pedro Alves <palves@redhat.com>
2510 * gdb.base/sym-file-loader.c: Include <limits.h>.
2511 (SELF_LINK): New define.
2512 (get_origin): New function.
2513 (load_shlib): Use it.
2514 * gdb.base/sym-file.exp: Don't early return if the target is
2515 remote. Use runto_main, and issue fail is that fails. Use
2517 (shlib_name): Delete.
2518 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
2520 2014-04-15 Pedro Alves <palves@redhat.com>
2522 * gdb.base/sym-file.exp: Remove regex characters from test
2523 message. Don't refer to breakpoint numbers in test messages.
2525 2014-04-14 Keith Seitz <keiths@redhat.com>
2528 * gdb.cp/var-tag.cc: New file.
2529 * gdb.cp/var-tag.exp: New file.
2530 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2531 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2532 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2533 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2535 2014-04-14 Tom Tromey <tromey@redhat.com>
2537 * gdb.cp/classes.exp (test_enums): Handle underlying type.
2538 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
2540 * gdb.cp/enum-class.exp: New file.
2541 * gdb.cp/enum-class.cc: New file.
2543 2014-04-14 Tom Tromey <tromey@redhat.com>
2545 * gdb.dwarf2/enum-type.exp: New file.
2547 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2549 * gdb.mi/mi-vla-c99.exp: New file.
2550 * gdb.mi/vla.c: New file.
2552 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2554 * gdb.base/vla-datatypes.c: New file.
2555 * gdb.base/vla-datatypes.exp: New file.
2557 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2559 * gdb.base/vla-ptr.c: New file.
2560 * gdb.base/vla-ptr.exp: New file.
2562 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2564 * gdb.dwarf2/count.exp: New file.
2566 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2568 * gdb.base/vla-sideeffect.c: New file.
2569 * gdb.base/vla-sideeffect.exp: New file.
2571 2014-04-14 David Blaikie <dblaikie@gmail.com>
2573 * gdb.mi/non-stop.c: Add return value for non-void function return
2575 * gdb.threads/staticthreads.c: Ditto.
2577 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2578 Doug Evans <xdje42@gmail.com>
2580 * gdb.guile/scm-value.c: Improve test case.
2581 * gdb.guile/scm-value.exp: Add new test.
2583 2014-04-11 David Blaikie <dblaikie@gmail.com>
2585 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2586 override Clang's default.
2588 2014-04-11 Joel Brobecker <brobecker@adacore.com>
2590 Revert the following changes (regressions):
2592 * gdb.base/vla-sideeffect.c: New file.
2593 * gdb.base/vla-sideeffect.exp: New file.
2595 * gdb.dwarf2/count.exp: New file.
2597 * gdb.base/vla-multi.c: New file.
2598 * gdb.base/vla-multi.exp: New file.
2600 * gdb.base/vla-ptr.c: New file.
2601 * gdb.base/vla-ptr.exp: New file.
2603 * gdb.base/vla-datatypes.c: New file.
2604 * gdb.base/vla-datatypes.exp: New file.
2606 * gdb.mi/mi-vla-c99.exp: New file.
2607 * gdb.mi/vla.c: New file.
2609 2014-04-11 Keith Seitz <keiths@redhat.com>
2612 * gdb.cp/cpsizeof.exp: New file.
2613 * gdb.cp/cpsizeof.cc: New file.
2615 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2617 * gdb.mi/mi-vla-c99.exp: New file.
2618 * gdb.mi/vla.c: New file.
2620 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2622 * gdb.base/vla-datatypes.c: New file.
2623 * gdb.base/vla-datatypes.exp: New file.
2625 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2627 * gdb.base/vla-ptr.c: New file.
2628 * gdb.base/vla-ptr.exp: New file.
2630 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2632 * gdb.base/vla-multi.c: New file.
2633 * gdb.base/vla-multi.exp: New file.
2635 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2637 * gdb.dwarf2/count.exp: New file.
2639 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2641 * gdb.base/vla-sideeffect.c: New file.
2642 * gdb.base/vla-sideeffect.exp: New file.
2644 2014-04-11 Yao Qi <yao@codesourcery.com>
2646 * gdb.base/completion.exp: Check file exists before running tests
2649 2014-04-10 Pedro Alves <palves@redhat.com>
2651 * gdb.base/cond-eval-mode.c: New file.
2652 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2653 prepare_for_testing to build the new file. Check result of
2655 (test_break, test_watch): New procedures.
2656 (top level): Use them.
2658 2014-04-08 Pierre Muller <muller@sourceware.org>
2660 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2661 Ctrl-V use for mingw hosts.
2663 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2665 * gdb.python/py-value.c: Improve test case.
2666 * gdb.python/py-value.exp: Add new test.
2668 2014-04-07 David Blaikie <dblaikie@gmail.com>
2670 * lib/compiler.c: Identify the clang compiler.
2671 * lib/compiler.cc: Ditto.
2673 2014-04-03 Yao Qi <yao@codesourcery.com>
2675 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2677 2014-04-01 Anton Blanchard <anton@samba.org>
2679 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2682 2014-04-01 Anton Blanchard <anton@samba.org>
2684 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2685 prepare_for_testing.
2687 2014-04-01 Anton Blanchard <anton@samba.org>
2689 * gdb.arch/ppc64-atomic-inst.c: Remove.
2690 * gdb.arch/ppc64-atomic-inst.S: New file.
2691 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2693 2014-03-31 Doug Evans <dje@google.com>
2695 * gdb.base/print-symbol-loading-lib.c: New file.
2696 * gdb.base/print-symbol-loading-main.c: New file.
2697 * gdb.base/print-symbol-loading.exp: New file.
2699 2014-03-31 Yao Qi <yao@codesourcery.com>
2701 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2703 2014-03-28 Joel Brobecker <brobecker@adacore.com>
2705 * gdb.ada/mi_dyn_arr: New testcase.
2707 2014-03-27 Doug Evans <dje@google.com>
2709 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2711 2014-03-27 Yao Qi <yao@codesourcery.com>
2713 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2714 if target is nios2-*-*.
2716 2014-03-26 Yao Qi <yao@codesourcery.com>
2718 * lib/gdb.exp (readline_is_used): New proc.
2719 * gdb.base/completion.exp: Move tests on command complete up.
2720 Skip the rest of tests if readline is not used.
2721 * gdb.ada/complete.exp: Skp the test if readline is not
2723 * gdb.base/filesym.exp: Likewise.
2724 * gdb.base/macscp.exp: Likewise.
2725 * gdb.base/readline-ask.exp: Likewise.
2726 * gdb.base/readline.exp: Likewise.
2727 * gdb.python/py-cmd.exp: Likewise.
2728 * gdb.trace/tfile.exp: Likewise.
2730 2014-03-26 Yao Qi <yao@codesourcery.com>
2732 * gdb.base/macscp.exp: Fix code format issues.
2734 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2736 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2737 * gdb.asm/powerpc64le.inc: New file.
2739 2014-03-25 Pedro Alves <palves@redhat.com>
2740 Doug Evans <dje@google.com>
2742 * gdb.base/source-execution.c: New file.
2743 * gdb.base/source-execution.exp: New file.
2744 * gdb.base/source-execution.gdb: New file.
2746 2014-03-24 Doug Evans <dje@google.com>
2748 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2751 2014-03-24 Hui Zhu <hui@codesourcery.com>
2752 Pedro Alves <palves@redhat.com>
2754 PR breakpoints/16101
2755 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2756 test pass/fail messages. Detect missing support for dprintf when
2757 breakpoints are actually inserted.
2758 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2759 breakpoints are actually inserted.
2760 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2763 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2765 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2767 2014-03-22 Doug Evans <xdje42@gmail.com>
2769 * gdb.python/python.exp (python not supported): Verify multi-line
2770 python command issues an error.
2771 * gdb.guile/guile.exp (guile not supported): Verify multi-line
2772 guile command issues an error.
2774 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2776 * gdb.threads/thread-specific.exp: Handle the lack of usable
2777 $this_breakpoint and $this_thread.
2779 2014-03-21 Hui Zhu <hui@codesourcery.com>
2781 * gdb.base/attach.exp (do_command_attach_tests): New.
2783 2014-03-20 Tom Tromey <tromey@redhat.com>
2784 Pedro Alves <palves@redhat.com>
2787 * gdb.base/condbreak-call-false.c: New file.
2788 * gdb.base/condbreak-call-false.exp: New file.
2790 2014-03-20 Pedro Alves <palves@redhat.com>
2792 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2794 (block_signals, unblock_signals): Delete.
2795 (child_function_2, main): Remove references to deleted variable
2798 2014-03-20 Pedro Alves <palves@redhat.com>
2800 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2801 Use pthread_kill to signal thread 2.
2802 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2803 Adjust to make the test send itself a signal rather than using the
2804 host's "kill" command.
2806 2014-03-20 Pedro Alves <palves@redhat.com>
2808 * gdb.threads/multiple-step-overs.c: New file.
2809 * gdb.threads/multiple-step-overs.exp: New file.
2810 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2811 Adjust expected infrun debug output.
2813 2014-03-20 Pedro Alves <palves@redhat.com>
2815 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2816 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2818 2014-03-20 Pedro Alves <palves@redhat.com>
2821 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2822 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2823 of gdb_test_multiple.
2824 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2825 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2827 2014-03-20 Pedro Alves <palves@redhat.com>
2829 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2830 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2832 2014-03-19 Pedro Alves <palves@redhat.com>
2834 * gdb.base/async.exp: Remove early return.
2836 2014-03-19 Pedro Alves <palves@redhat.com>
2838 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2840 2014-03-19 Pedro Alves <palves@redhat.com>
2842 * gdb.base/async.exp (test_background): Expect \r\n after
2843 "completed." in the fail pattern.
2845 2014-03-19 Pedro Alves <palves@redhat.com>
2847 * gdb.base/async.exp (test_background): New procedure.
2848 Use it for all background execution command tests.
2850 2014-03-19 Pedro Alves <palves@redhat.com>
2852 * gdb.base/async.exp: Use prepare_for_testing.
2854 2014-03-19 Pedro Alves <palves@redhat.com>
2856 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2859 2014-03-19 Pedro Alves <palves@redhat.com>
2861 * gdb.base/async.c (main): Add "jump here" and "until here" line
2863 * gdb.base/async.exp (jump_here): New global.
2864 (jump& test): Use it.
2865 (until_here): New global.
2866 (until& test): Use it.
2868 2014-03-19 Pedro Alves <palves@redhat.com>
2870 * gdb.base/async.exp: Don't frob gdb_protocol.
2872 2014-03-18 Doug Evans <xdje42@gmail.com>
2874 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2875 Fix spelling of exec-done-display.
2877 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2880 * gdb.base/gdb-sigterm.c: New file.
2881 * gdb.base/gdb-sigterm.exp: New file.
2883 2014-03-18 Pedro Alves <palves@redhat.com>
2886 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2887 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2890 2014-03-17 Joel Brobecker <brobecker@adacore.com>
2892 * gdb.ada/pckd_arr_ren: New testcase.
2894 2014-03-13 Doug Evans <xdje42@gmail.com>
2897 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2898 collect after discarding symbols.
2900 2014-03-13 Ludovic Courtès <ludo@gnu.org>
2901 Doug Evans <xdje42@gmail.com>
2903 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2904 to history survives a gc.
2906 2014-03-13 Pedro Alves <palves@redhat.com>
2908 * gdb.base/default.exp: Don't test "target procfs".
2910 2014-03-13 Pedro Alves <palves@redhat.com>
2912 * gdb.base/default.exp: Update "target child" and "target procfs"
2913 tests to not expect "Unix".
2915 2014-03-12 Tom Tromey <tromey@redhat.com>
2917 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2918 New procs. Add target-async tests.
2919 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2920 Add target-async tests.
2922 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2924 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2925 'func_start' and 'func_end' for the beginning and end of the
2926 function code, respectively.
2927 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2928 'func_end' instead of 'func' and 'main'.
2930 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2932 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2933 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2934 generate the debug info assembler source.
2936 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2938 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2939 * gdb.dwarf2/arr-subrange.exp: Likewise.
2940 * gdb.dwarf2/dwz.exp: Likewise.
2941 * gdb.dwarf2/method-ptr.exp: Likewise.
2942 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2943 * gdb.dwarf2/subrange.exp: Likewise.
2944 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2945 * gdb.dwarf2/implptrpiece.exp: Likewise.
2946 * gdb.dwarf2/nostaticblock.exp: Likewise.
2948 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2950 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2951 directory to absolute path name arguments.
2953 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2955 * gdb.ada/tagged_access: New testcase.
2957 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2959 * gdb.btrace/data.exp: Update expected output.
2961 2014-03-06 Yao Qi <yao@codesourcery.com>
2963 * gdb.trace/pr16508.exp: New file.
2965 2014-03-05 Pedro Alves <palves@redhat.com>
2968 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2970 (top level): Adjust to use it. Add tests that exercise breakpoint
2971 interaction with the code-cache.
2973 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2975 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2976 test for 'history-append!'.
2978 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2980 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2981 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2982 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2983 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2984 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2985 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2987 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2989 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2990 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2991 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2993 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2995 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2997 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2999 * gdb.dwarf2/arr-stride.c: New file.
3000 * gdb.dwarf2/arr-stride.exp: New file.
3002 2014-02-26 Pedro Alves <palves@redhat.com>
3004 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
3005 that won't ever trigger. Make sure that GDB reports the correct
3006 breakpoint that caused the stop.
3008 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3011 * gdb.base/auto-load-script: New file.
3012 * gdb.base/auto-load.c: New file.
3013 * gdb.base/auto-load.exp: New file.
3016 * gdb.base/auto-load.exp: Fix out-of-srctree run.
3018 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3020 Fix dw2-icycle.exp -fsanitize=address GDB crash.
3021 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
3023 2014-02-24 Doug Evans <dje@google.com>
3025 * lib/gdb.exp (run_on_host): Log error output if program fails.
3027 2014-02-21 Pedro Alves <palves@redhat.com>
3029 * gdb.threads/step-after-sr-lock.c: Rename to ...
3030 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
3031 * gdb.threads/step-after-sr-lock.exp: Rename to ...
3032 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3035 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
3038 * gdb.arch/amd64-stap-special-operands.exp: New file.
3039 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
3040 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
3041 * gdb.arch/amd64-stap-triplet.S: Likewise.
3042 * gdb.arch/amd64-stap-triplet.c: Likewise.
3044 2014-02-20 Joel Brobecker <brobecker@adacore.com>
3046 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
3047 in .section pseudo-op.
3049 2014-02-20 lin zuojian <manjian2006@gmail.com>
3050 Joel Brobecker <brobecker@adacore.com>
3051 Doug Evans <xdje42@gmail.com>
3054 * gdb.dwarf2/dw2-icycle.S: New file.
3055 * gdb.dwarf2/dw2-icycle.c: New file.
3056 * gdb.dwarf2/dw2-icycle.exp: New file.
3058 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
3060 * gdb.python/py-value-cc.cc: Improve test case to enable testing
3061 operations on gdb.Value objects.
3062 * gdb.python/py-value-cc.exp: Add new test to test operations on
3065 2014-02-18 Doug Evans <dje@google.com>
3067 * Makefile.in (TESTS): New variable.
3068 (expanded_tests, expanded_tests_or_none): New variables
3069 (check-single): Pass $(expanded_tests_or_none) to runtest.
3070 (check-parallel): Only run tests in $(TESTS) if non-empty.
3071 (check/no-matching-tests-found): New rule.
3072 * README: Document TESTS makefile variable.
3074 2014-02-18 Doug Evans <dje@google.com>
3076 * Makefile.in (check-parallel): rm -rf outputs temp.
3078 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3080 Fix "ERROR: no fileid for" in the testsuite.
3081 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
3083 2014-02-12 Doug Evans <dje@google.com>
3085 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
3086 (MISCELLANEOUS): New variable.
3087 (clean): rm -rf $(MISCELLANEOUS).
3088 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
3089 dwp live in the same directory as symlinks, with each symlink pointed
3090 to a differently named file in a different directory.
3092 2014-02-11 Doug Evans <dje@google.com>
3094 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
3095 of Tcl file commands.
3097 2014-02-10 Mark Kettenis <kettenis@gnu.org>
3099 * gdb.threads/step-after-sr-lock.exp: Avoid executing
3102 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3104 * gdb.ada/tick_length_array_enum_idx: New testcase.
3106 2014-02-10 Doug Evans <xdje42@gmail.com>
3108 * configure.ac (AC_OUTPUT): Add gdb.guile.
3109 * configure: Regenerate.
3110 * lib/gdb-guile.exp: New file.
3111 * lib/gdb.exp (get_target_charset): New function.
3112 * gdb.base/help.exp: Update expected output from "apropos apropos".
3113 * gdb.guile/Makefile.in: New file.
3114 * gdb.guile/guile.exp: New file.
3115 * gdb.guile/scm-arch.c: New file.
3116 * gdb.guile/scm-arch.exp: New file.
3117 * gdb.guile/scm-block.c: New file.
3118 * gdb.guile/scm-block.exp: New file.
3119 * gdb.guile/scm-breakpoint.c: New file.
3120 * gdb.guile/scm-breakpoint.exp: New file.
3121 * gdb.guile/scm-disasm.c: New file.
3122 * gdb.guile/scm-disasm.exp: New file.
3123 * gdb.guile/scm-equal.c: New file.
3124 * gdb.guile/scm-equal.exp: New file.
3125 * gdb.guile/scm-error.exp: New file.
3126 * gdb.guile/scm-error.scm: New file.
3127 * gdb.guile/scm-frame-args.c: New file.
3128 * gdb.guile/scm-frame-args.exp: New file.
3129 * gdb.guile/scm-frame-args.scm: New file.
3130 * gdb.guile/scm-frame-inline.c: New file.
3131 * gdb.guile/scm-frame-inline.exp: New file.
3132 * gdb.guile/scm-frame.c: New file.
3133 * gdb.guile/scm-frame.exp: New file.
3134 * gdb.guile/scm-generics.exp: New file.
3135 * gdb.guile/scm-gsmob.exp: New file.
3136 * gdb.guile/scm-iterator.c: New file.
3137 * gdb.guile/scm-iterator.exp: New file.
3138 * gdb.guile/scm-math.c: New file.
3139 * gdb.guile/scm-math.exp: New file.
3140 * gdb.guile/scm-objfile-script-gdb.in: New file.
3141 * gdb.guile/scm-objfile-script.c: New file.
3142 * gdb.guile/scm-objfile-script.exp: New file.
3143 * gdb.guile/scm-objfile.c: New file.
3144 * gdb.guile/scm-objfile.exp: New file.
3145 * gdb.guile/scm-ports.exp: New file.
3146 * gdb.guile/scm-pretty-print.c: New file.
3147 * gdb.guile/scm-pretty-print.exp: New file.
3148 * gdb.guile/scm-pretty-print.scm: New file.
3149 * gdb.guile/scm-section-script.c: New file.
3150 * gdb.guile/scm-section-script.exp: New file.
3151 * gdb.guile/scm-section-script.scm: New file.
3152 * gdb.guile/scm-symbol.c: New file.
3153 * gdb.guile/scm-symbol.exp: New file.
3154 * gdb.guile/scm-symtab-2.c: New file.
3155 * gdb.guile/scm-symtab.c: New file.
3156 * gdb.guile/scm-symtab.exp: New file.
3157 * gdb.guile/scm-type.c: New file.
3158 * gdb.guile/scm-type.exp: New file.
3159 * gdb.guile/scm-value-cc.cc: New file.
3160 * gdb.guile/scm-value-cc.exp: New file.
3161 * gdb.guile/scm-value.c: New file.
3162 * gdb.guile/scm-value.exp: New file.
3163 * gdb.guile/source2.scm: New file.
3164 * gdb.guile/types-module.cc: New file.
3165 * gdb.guile/types-module.exp: New file.
3167 2014-02-10 Yao Qi <yao@codesourcery.com>
3170 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
3171 * configure: Regenerated.
3172 * Makefile.in: New file.
3174 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3176 * gdb.python/py-framefilter.exp: Fix typo.
3178 2014-02-08 Yao Qi <yao@codesourcery.com>
3180 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
3181 that no =breakpoint-modified is emitted when breakpoints are
3182 modified through MI commands.
3184 2014-02-07 Pedro Alves <pedro@codesourcery.com>
3185 Pedro Alves <palves@redhat.com>
3187 * gdb.threads/step-after-sr-lock.c: New file.
3188 * gdb.threads/step-after-sr-lock.exp: New file.
3190 2014-02-07 Pedro Alves <palves@redhat.com>
3192 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
3194 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3196 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
3197 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
3199 2014-02-06 Doug Evans <xdje42@gmail.com>
3201 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
3204 * gdb.gdb/python-interrupts.exp: New file.
3206 2014-02-05 Yao Qi <yao@codesourcery.com>
3208 * gdb.trace/report.exp (use_collected_data): Test the output
3209 of "info threads" and "info inferiors".
3211 2014-02-05 Yao Qi <yao@codesourcery.com>
3215 2013-05-24 Yao Qi <yao@codesourcery.com>
3217 * gdb.trace/tfile.exp: Test inferior and thread.
3219 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3221 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
3223 * gdb.base/step-bt.c: Call hello via function pointer to make
3224 sure its first instruction is executed on powerpc64le-linux.
3226 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3228 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
3230 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3232 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
3233 of the test patterns for use on little-endian systems.
3235 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3237 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
3238 (decimal_vector): Fix for little-endian.
3240 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3242 * gdb.arch/sparc-sysstep.exp: New file.
3243 * gdb.arch/sparc-sysstep.c: Likewise.
3245 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
3247 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3249 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
3251 2014-01-23 Tom Tromey <tromey@redhat.com>
3253 * gdb.ada/array_char_idx: New testcase.
3255 2014-01-23 Tom Tromey <tromey@redhat.com>
3258 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
3259 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
3262 2014-01-23 Tom Tromey <tromey@redhat.com>
3265 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
3266 string from an inferior frame.
3267 * gdb.python/py-framefilter-mi.exp: Update.
3269 2014-01-22 Doug Evans <dje@google.com>
3271 * gdb.server/server-mon.exp: Add tests for "set debug-format".
3273 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3275 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
3277 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3279 * gdb.trace/entry-values.exp: Remove excess space character from
3280 regex patterns. Handle s390 call instruction.
3282 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3284 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
3285 define "*_start" label. Make "name" static.
3286 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
3287 ${name} by references to ${name}_start.
3289 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3291 * gdb.base/info-macros.exp: Remove "debug" from the compile
3294 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3296 * gdb.dlang/demangle.exp: New file.
3298 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3300 * gdb.dlang/primitive-types.exp: New file.
3302 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3304 * configure.ac: Create gdb.dlang/Makefile.
3305 * configure: Regenerate.
3306 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
3307 * gdb.dlang/Makefile.in: New file.
3308 * lib/d-support.exp: New file.
3309 * lib/gdb.exp (skip_d_tests): New proc.
3311 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3313 * gdb.btrace/delta.exp: Check reverse stepi.
3314 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
3315 * gdb.btrace/finish.exp: New.
3316 * gdb.btrace/next.exp: New.
3317 * gdb.btrace/nexti.exp: New.
3318 * gdb.btrace/record_goto.c: Add comments.
3319 * gdb.btrace/step.exp: New.
3320 * gdb.btrace/stepi.exp: New.
3321 * gdb.btrace/multi-thread-step.c: New.
3322 * gdb.btrace/multi-thread-step.exp: New.
3323 * gdb.btrace/rn-dl-bind.c: New.
3324 * gdb.btrace/rn-dl-bind.exp: New.
3325 * gdb.btrace/data.c: New.
3326 * gdb.btrace/data.exp: New.
3327 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3329 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3331 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
3332 * gdb.btrace/exception.exp: Update.
3333 * gdb.btrace/instruction_history.exp: Update.
3334 * gdb.btrace/record_goto.exp: Update.
3335 * gdb.btrace/tailcall.exp: Update.
3336 * gdb.btrace/unknown_functions.exp: Update.
3337 * gdb.btrace/delta.exp: New.
3339 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3341 * gdb.btrace/record_goto.exp: Add backtrace test.
3342 * gdb.btrace/tailcall.exp: Add backtrace test.
3344 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3346 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
3347 * gdb.btrace/record_goto.c: New.
3348 * gdb.btrace/record_goto.exp: New.
3349 * gdb.btrace/x86-record_goto.S: New.
3351 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3353 * gdb.btrace/function_call_history.exp: Update tests.
3354 * gdb.btrace/instruction_history.exp: Update tests.
3356 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3358 * gdb.btrace/function_call_history.exp: Fix expected field
3359 order for "record function-call-history".
3360 Add new tests for "record function-call-history /c".
3361 * gdb.btrace/exception.cc: New.
3362 * gdb.btrace/exception.exp: New.
3363 * gdb.btrace/tailcall.exp: New.
3364 * gdb.btrace/x86-tailcall.S: New.
3365 * gdb.btrace/x86-tailcall.c: New.
3366 * gdb.btrace/unknown_functions.c: New.
3367 * gdb.btrace/unknown_functions.exp: New.
3368 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3370 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3372 * gdb.btrace/instruction_history.exp: Update.
3373 * gdb.btrace/function_call_history.exp: Update.
3375 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3377 * gdb.btrace/function_call_history.exp: Fix expected function
3379 * gdb.btrace/instruction_history.exp: Initialize traced.
3380 Remove traced_functions.
3382 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3384 * gdb.btrace/function_call_history.exp: Update
3385 * gdb.btrace/instruction_history.exp: Update.
3387 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3389 * gdb.btrace/enable.exp: Update expected text.
3391 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
3393 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
3396 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
3398 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
3400 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3402 * lib/gdb.exp (supports_process_record): Return true for
3403 arm*-linux*. (supports_reverse): Likewise.
3405 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3409 * gdb.python/py-type.c: Enhance test case.
3410 * gdb.python/py-value-cc.cc: Likewise
3411 * gdb.python/py-type.exp: Add new tests.
3412 * gdb.python/py-value-cc.exp: Likewise
3414 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3415 Pedro Alves <palves@redhat.com>
3417 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
3419 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
3420 references to ${name}_start by references to ${name}.
3422 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3424 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
3426 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3428 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
3430 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
3431 Pedro Alves <palves@redhat.com>
3433 * gdb.mi/mi-info-os.exp: Connect to the target with
3436 2014-01-08 Pedro Alves <palves@redhat.com>
3438 * gdb.threads/reconnect-signal.c: New file.
3439 * gdb.threads/reconnect-signal.exp: New file.
3441 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3443 * gdb.base/source-dir.exp: New file.
3445 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3447 * gdb.ada/mi_interface: New testcase.
3449 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3451 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
3452 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
3453 gdb.ada/pp-rec-component/pck.ads: New files.
3455 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3457 * gdb.python/py-pp-integral.c: New file.
3458 * gdb.python/py-pp-integral.py: New file.
3459 * gdb.python/py-pp-integral.exp: New file.
3461 For older changes see ChangeLog-1993-2013.
3467 ;; version-control: never
3470 Copyright 2014 Free Software Foundation, Inc.
3471 Copying and distribution of this file, with or without modification,
3472 are permitted provided the copyright notice and this notice are preserved.