1 2014-12-01 Yao Qi <yao@codesourcery.com>
3 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5 * configure: Re-generated.
7 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
9 * gdb.cp/chained-calls.cc: New file.
10 * gdb.cp/chained-calls.exp: New file.
11 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
13 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
15 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
16 * gdb.dwarf2/symtab-producer.exp: Same.
17 * gdb.gdb/python-interrupts.exp: Same.
18 * gdb.gdb/python-selftest.exp: Same.
19 * gdb.python/py-linetable.exp: Same.
20 * gdb.python/py-type.exp: Same.
21 * gdb.python/py-value-cc.exp: Same.
22 * gdb.python/py-value.exp: Same.
24 2014-11-28 Yao Qi <yao@codesourcery.com>
26 * gdb.base/break-probes.exp: Match library name prefixed with
29 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
31 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
32 test expected output. Add parentheses for the call to print.
33 Remove L suffix from integers.
35 2014-11-26 Doug Evans <dje@google.com>
37 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
39 2014-11-22 Yao Qi <yao@codesourcery.com>
41 * gdb.trace/entry-values.c: Remove asms.
44 * gdb.trace/entry-values.exp: Remove code computing foo's
45 length and bar's length.
46 (Dwarf::assemble): Invoke function_range for bar and use
47 MACRO_AT_func for foo.
49 2014-11-22 Yao Qi <yao@codesourcery.com>
51 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
52 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
53 Use .Lgcc43_procstart instead of gcc43.
55 2014-11-21 Joel Brobecker <brobecker@adacore.com>
57 * gdb.ada/n_arr_bound: New testcase.
59 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
62 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
63 test_catch_syscall_multi_arch.
64 (test_catch_syscall_multi_arch): New function.
66 2014-11-20 Doug Evans <xdje42@gmail.com>
68 * gdb.base/maint.exp: Update expected output.
70 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
72 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
73 4-byte instruction on S390.
75 2014-11-19 Joel Brobecker <brobecker@adacore.com>
77 * gdb.ada/arr_arr: New testcase.
79 2014-11-19 Joel Brobecker <brobecker@adacore.com>
81 * gdb.ada/pkd_arr_elem: New Testcase.
83 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
85 * gdb.reverse/break-precsave: Expect completion message for
87 * gdb.reverse/consecutive-precsave.exp: Likewise.
88 * gdb.reverse/finish-precsave.exp: Likewise.
89 * gdb.reverse/i386-precsave.exp: Likewise.
90 * gdb.reverse/machinestate-precsave.exp: Likewise.
91 * gdb.reverse/sigall-precsave.exp: Likewise.
92 * gdb.reverse/solib-precsave.exp: Likewise.
93 * gdb.reverse/step-precsave.exp: Likewise.
94 * gdb.reverse/until-precsave.exp: Likewise.
95 * gdb.reverse/watch-precsave.exp: Likewise.
97 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
99 * gdb.base/bp-permanent.c: Include unistd.h.
100 * gdb.python/py-framefilter-mi.c (main): Add return type.
101 * gdb.python/py-framefilter.c (main): Likewise.
102 * gdb.trace/actions-changed.c (main): Likewise.
104 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
106 * gdb.mi/until.c: Add eye-catchers.
107 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
110 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
112 * gdb.base/condbreak.exp: Drop references to removed non-prototype
113 function header variants in break1.c.
114 * gdb.base/ena-dis-br.exp: Likewise.
115 * gdb.base/hbreak2.exp: Likewise.
116 * gdb.reverse/until-precsave.exp: Drop references to removed
117 non-prototype function header variants in ur1.c.
118 * gdb.reverse/until-reverse.exp: Likewise.
120 2014-11-17 Petr Machata <pmachata@redhat.com>
122 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
123 ${_cu_offset_size} bytes abbrev offset.
125 2014-11-15 Doug Evans <xdje42@gmail.com>
128 * gdb.base/line-symtabs.exp: New file.
129 * gdb.base/line-symtabs.c: New file.
130 * gdb.base/line-symtabs.h: New file.
132 2014-11-14 Yao Qi <yao@codesourcery.com>
134 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
135 (func): Add label func_label.
136 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
137 Replace low_pc and high_pc with MACRO_AT_range.
138 Replace name, low_pc and high_pc with MACRO_AT_func.
140 2014-11-14 Yao Qi <yao@codesourcery.com>
142 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
143 Replace name, low_pc and high_pc with MACRO_AT_func.
145 2014-11-14 Yao Qi <yao@codesourcery.com>
147 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
148 produce debug information.
149 * gdb.dwarf2/implptr-optimized-out.S: Removed.
151 2014-11-14 Yao Qi <yao@codesourcery.com>
153 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
154 object and get function length.
155 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
157 (top-level): Replace gdb_compile and clean_restart with
159 * gdb.dwarf2/main.c (main): Add label main_label.
161 2014-11-14 Yao Qi <yao@codesourcery.com>
163 * lib/dwarf.exp (function_range): New procedure.
164 (Dwarf::_handle_macro_at_func): New procedure.
165 (Dwarf::_handle_macro_at_range): New procedure.
166 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
168 2014-11-14 Yao Qi <yao@codesourcery.com>
170 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
171 (_handle_attribute): New procedure.
173 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
175 * gdb.ada/cond_lang/foo.c (callme): Add return type.
176 * gdb.base/call-sc.c (zed): Likewise.
177 * gdb.base/checkpoint.c (main): Likewise.
178 * gdb.base/dump.c (main): Likewise.
179 * gdb.base/gcore.c (main): Likewise.
180 * gdb.base/huge.c (main): Likewise.
181 * gdb.base/multi-forks.c (main): Likewise.
182 * gdb.base/pr10179-a.c (main): Likewise.
183 * gdb.base/savedregs.c (main): Likewise.
184 * gdb.base/sigaltstack.c (main): Likewise.
185 * gdb.base/siginfo.c (main): Likewise.
186 * gdb.base/structs.c (zed): Likewise.
187 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
188 * gdb.mi/mi-syn-frame.c (main): Likewise.
189 * gdb.mi/until.c (foo, main): Likewise.
190 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
191 * gdb.base/solib-weak.c (foo): Declare.
192 * gdb.base/attach-twice.c: Include stdio.h.
193 * gdb.base/weaklib1.c: Likewise.
194 * gdb.base/weaklib2.c: Likewise.
195 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
196 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
198 * gdb.base/attach-pie-misread.c: Include stdlib.h.
199 * gdb.mi/mi-exit-code.c: Likewise.
200 * gdb.base/break-interp-lib.c: Include string.h.
201 * gdb.base/coremaker.c: Likewise.
202 * gdb.base/testenv.c: Likewise.
203 * gdb.python/py-finish-breakpoint.c: Likewise.
204 * gdb.base/inferior-died.c: Include sys/wait.h.
205 * gdb.base/fileio.c: Include time.h.
206 * gdb.base/async-shell.c: Include unistd.h.
207 * gdb.base/dprintf-non-stop.c: Likewise.
208 * gdb.base/info-os.c: Likewise.
209 * gdb.mi/mi-console.c: Likewise.
210 * gdb.mi/watch-nonstop.c: Likewise.
211 * gdb.python/py-events.c: Likewise.
212 * gdb.base/async.c (baz): Move up before its invocation.
213 * gdb.base/code_elim2.c (my_global_func): Likewise.
214 * gdb.base/skip-solib-lib.c (multiply): Likewise.
215 * gdb.base/advance.c (func2): Likewise.
217 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
219 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
221 * gdb.base/annota3.c: Likewise.
222 * gdb.base/async.c: Likewise.
223 * gdb.base/average.c: Likewise.
224 * gdb.base/call-ar-st.c: Likewise.
225 * gdb.base/call-rt-st.c: Likewise.
226 * gdb.base/call-sc.c: Likewise.
227 * gdb.base/call-strs.c: Likewise.
228 * gdb.base/ending-run.c: Likewise.
229 * gdb.base/execd-prog.c: Likewise.
230 * gdb.base/exprs.c: Likewise.
231 * gdb.base/foll-exec.c: Likewise.
232 * gdb.base/foll-fork.c: Likewise.
233 * gdb.base/foll-vfork.c: Likewise.
234 * gdb.base/funcargs.c: Likewise.
235 * gdb.base/gcore.c: Likewise.
236 * gdb.base/jump.c: Likewise.
237 * gdb.base/langs0.c: Likewise.
238 * gdb.base/langs1.c: Likewise.
239 * gdb.base/langs2.c: Likewise.
240 * gdb.base/mips_pro.c: Likewise.
241 * gdb.base/nodebug.c: Likewise.
242 * gdb.base/opaque0.c: Likewise.
243 * gdb.base/opaque1.c: Likewise.
244 * gdb.base/recurse.c: Likewise.
245 * gdb.base/run.c: Likewise.
246 * gdb.base/scope0.c: Likewise.
247 * gdb.base/scope1.c: Likewise.
248 * gdb.base/setshow.c: Likewise.
249 * gdb.base/setvar.c: Likewise.
250 * gdb.base/shmain.c: Likewise.
251 * gdb.base/shr1.c: Likewise.
252 * gdb.base/shr2.c: Likewise.
253 * gdb.base/sigall.c: Likewise.
254 * gdb.base/signals.c: Likewise.
255 * gdb.base/so-indr-cl.c: Likewise.
256 * gdb.base/solib2.c: Likewise.
257 * gdb.base/structs.c: Likewise.
258 * gdb.base/sum.c: Likewise.
259 * gdb.base/vforked-prog.c: Likewise.
260 * gdb.base/watchpoint.c: Likewise.
261 * gdb.reverse/shr2.c: Likewise.
262 * gdb.reverse/until-reverse.c: Likewise.
263 * gdb.reverse/ur1.c: Likewise.
264 * gdb.reverse/watch-reverse.c: Likewise.
266 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
268 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
270 * gdb.base/sepdebug.exp: Drop references to removed code.
272 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
274 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
275 variant. Preserve original line numbering.
276 * gdb.base/list1.c: Likewise.
278 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
280 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
282 * gdb.base/break1.c: Likewise.
283 * gdb.base/break.exp: Drop references to removed code.
285 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
287 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
290 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
292 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
294 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
296 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
297 logic into perform_all_tests() and invoke it with and without
298 function header prototypes.
299 (do_function_calls): Remove conditional XFAIL for PR 5318.
300 (rerun_and_prepare): Remove duplicate code.
301 (perform_all_tests): New. Main logic moved here.
303 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
305 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
306 code guarded by #ifdef NO_PROTOTYPES.
307 (t_double_many_args): Likewise.
308 (DEF_FUNC_MANY_ARGS_1): Likewise.
309 (DEF_FUNC_VALUES_1): Likewise.
310 (t_structs_ldc): Renamed from t_structs_fc in conditional code
311 guarded by #ifdef PROTOTYPES.
313 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
315 * gdb.mi/mi-console.c: Add eye-catcher.
316 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
317 instead of literal line number.
319 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
321 * gdb.base/shr2.c: Add eye-catcher.
322 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
325 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
327 * gdb.base/jump.c: Add eye-catchers.
328 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
331 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
333 * gdb.base/execd-prog.c: Add eye-catchers.
334 * gdb.base/foll-exec.c: Likewise.
335 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
338 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
340 * gdb.base/ending-run.c: Add eye-catchers.
341 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
342 literal line numbers.
344 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
346 * gdb.base/call-rt-st.c: Add eye-catchers.
347 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
348 literal line numbers.
350 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
352 * gdb.base/call-ar-st.c: Add eye-catchers.
353 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
354 literal line numbers.
356 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
358 * gdb.base/average.c: Add eye-catchers.
359 * gdb.base/sum.c: Likewise.
360 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
363 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
365 * gdb.base/solib1.c: Add eye-catchers.
366 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
367 literal line numbers.
369 2014-11-12 Pedro Alves <palves@redhat.com>
371 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
374 2014-11-12 Pedro Alves <palves@redhat.com>
376 * gdb.arch/i386-bp_permanent.c: New file.
377 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
378 (srcfile): Set to i386-bp_permanent.c.
379 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
380 that stepi does not execute the 'leave' instruction, instead of
381 testing it does execute.
382 * gdb.base/bp-permanent.c: New file.
383 * gdb.base/bp-permanent.exp: New file.
385 2014-11-10 Doug Evans <xdje42@gmail.com>
388 * gdb.base/symtab-search-order.exp: New file.
389 * gdb.base/symtab-search-order.c: New file.
390 * gdb.base/symtab-search-order-1.c: New file.
391 * gdb.base/symtab-search-order-shlib-1.c: New file.
393 2014-11-07 Pedro Alves <palves@redhat.com>
396 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
399 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
402 * gdb.cp/pr17494.cc: New file.
403 * gdb.cp/pr17494.exp: New file.
405 2014-11-02 Yao Qi <yao@codesourcery.com>
407 * gdb.python/python.exp: Get working directory and match the
408 output of "set extended-prompt \\w " with it.
410 2014-10-30 Doug Evans <dje@google.com>
412 * gdb.python/py-objfile.exp: Add tests for setting random attributes
414 * gdb.python/py-progspace.exp: Add tests for setting random attributes
417 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
419 * gdb.base/fullpath-expand.exp: Skip for a remote host.
420 * gdb.base/realname-expand.exp: Likewise.
421 * gdb.linespec/macro-relative.exp: Likewise.
423 2014-10-29 Pedro Alves <palves@redhat.com>
426 * gdb.threads/schedlock.c (some_function): New function.
427 (call_function): New global.
428 (MAYBE_CALL_SOME_FUNCTION): New macro.
429 (thread_function): Call it.
430 * gdb.threads/schedlock.exp (get_args): Add description parameter,
431 and use it instead of a global counter. Adjust all callers.
432 (get_current_thread): Use "find current thread" for test message
433 here rather than having all callers pass down the same string.
434 (goto_loop): New procedure, factored out from ...
435 (my_continue): ... this.
436 (step_ten_loops): Change parameter from test message to command to
438 (list_count): Delete global.
439 (check_result): New procedure, factored out from duplicate top
441 (continue tests): Wrap in with_test_prefix.
442 (test_step): New procedure, factored out from duplicate top level
444 (top level): Test "step" in combination with all scheduler-locking
445 modes. Test "next" in combination with all scheduler-locking
446 modes, and in combination with stepping over a function call or
448 * gdb.threads/next-bp-other-thread.c: New file.
449 * gdb.threads/next-bp-other-thread.exp: New file.
451 2014-10-29 Pedro Alves <palves@redhat.com>
454 * gdb.python/python.exp: Test a multi-line command that spawns
456 * gdb.base/multi-line-starts-subshell.exp: New file.
458 2014-10-29 Yao Qi <yao@codesourcery.com>
460 * gdb.base/fileio.exp: Make directories on host.
462 2014-10-29 Yao Qi <yao@codesourcery.com>
464 * gdb.base/fileio.c (test_write): Close the file.
466 2014-10-28 Pedro Alves <palves@redhat.com>
469 * gdb.base/sigstep.c (no_handler): New global.
470 (main): If 'no_handler is true, set the signal handlers to
472 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
473 with_sw_watch and no_handler parameters. Handle them.
474 (top level) <stepping over handler when stopped at a breakpoint
475 test>: Add a test axis for testing with a software watchpoint, and
476 another for testing with the signal handler set to SIG_IGN.
477 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
478 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
480 2014-10-28 Pedro Alves <palves@redhat.com>
483 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
484 * gdb.base/sigstep.exp (other_handler_location): New global.
485 (advance): Support stepping into the signal handler, and running
486 commands while in the handler.
487 (in_handler_map): New global.
488 (top level): In the advance test, add combinations for getting
489 into the handler with stepping commands, and for running commands
490 in the handler. Add comment descripting the advancei tests.
492 2014-10-28 Pedro Alves <palves@redhat.com>
494 * gdb.base/sigstep.exp: Use build_executable instead of
496 (top level): Move code that starts GDB, runs to main and creates a
498 (restart): ... this new procedure.
499 (top level): Move backtrace from signal handler test to ...
500 (validate_backtrace): ... this new procedure.
501 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
502 with_test_prefix. Always restart GDB.
503 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
504 with_test_prefix. Always restart GDB. No need to delete
505 breakpoints after the test.
506 (test_skip_handler): Remove prefix parameter.
507 (skip_over_handler, breakpoint_to_handler)
508 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
509 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
510 restart GDB. No need to delete breakpoints after the test.
511 (top level): Use foreach to call the test procedures with
514 2014-10-28 Pedro Alves <palves@redhat.com>
516 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
517 instead of GNATS numbers.
518 * gdb.base/sigbpt.exp: Likewise.
519 * gdb.base/siginfo.exp: Likewise.
520 * gdb.base/sigstep.exp: Likewise.
522 2014-10-27 Pedro Alves <palves@redhat.com>
524 * gdb.base/sigstep.c (dummy): New global.
525 (main): Issue a couple writes to the new global.
526 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
528 (skip_over_handler): Use test_skip_handler.
529 (top level): Call skip_over_handler for stepi and nexti too.
530 (breakpoint_over_handler): Use test_skip_handler.
531 (top level): Call breakpoint_over_handler for stepi and nexti too.
533 2014-10-27 Yao Qi <yao@codesourcery.com>
535 * gdb.trace/tfile.c (adjust_function_address)
536 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
539 2014-10-24 Don Breazeal <donb@codesourcery.com>
541 * gdb.base/foll-fork.exp (test_follow_fork,
542 catch_fork_child_follow): Check for updated fork messages emitted
544 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
545 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
546 vfork_and_exec_child_follow_through_step): Check for updated vfork
547 messages emitted from infrun.c.
549 2014-10-24 Pedro Alves <palves@redhat.com>
551 * gdb.base/corefile.exp: Remove references to ultrix.
552 * gdb.base/interrupt.exp: Likewise.
553 * gdb.base/whatis.exp: Likewise.
554 * gdb.gdb/selftest.exp: Likewise.
555 * gdb.threads/manythreads.exp: Likewise.
556 * gdb.threads/print-threads.exp: Likewise.
557 * gdb.threads/pthreads.exp:: Likewise.
558 * gdb.threads/schedlock.exp: Likewise.
560 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
562 * gdb.cp/non-trivial-retval.cc: Add a test case.
563 * gdb.cp/non-trivial-retval.exp: Add a test.
565 2014-10-20 Yao Qi <yao@codesourcery.com>
567 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
568 * gdb.python/py-objfile-script-gdb.py: New file.
569 * gdb.python/py-objfile-script.exp: Update reference to
570 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
571 of remote_download. Remove the dest file.
573 2014-10-20 Yao Qi <yao@codesourcery.com>
575 * gdb.base/checkpoint.exp: Don't remove file copied on host.
576 * gdb.base/step-line.exp: Likewise.
577 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
578 * gdb.dwarf2/dw2-basic.exp: Likewise.
579 * gdb.dwarf2/dw2-compressed.exp: Likewise.
580 * gdb.dwarf2/dw2-filename.exp: Likewise.
581 * gdb.dwarf2/dw2-intercu.exp: Likewise.
582 * gdb.dwarf2/dw2-intermix.exp: Likewise.
583 * gdb.dwarf2/dw2-producer.exp: Likewise.
584 * gdb.dwarf2/mac-fileno.exp: Likewise.
585 * gdb.python/py-frame-args.exp: Likewise.
586 * gdb.python/py-framefilter.exp: Likewise.
587 * gdb.python/py-mi.exp: Likewise.
588 * gdb.python/py-objfile-script.exp: Likewise
589 * gdb.python/py-pp-integral.exp: Likewise.
590 * gdb.python/py-pp-re-notag.exp: Likewise.
591 * gdb.python/py-prettyprint.exp: Likewise.
592 * gdb.python/py-section-script.exp: Likewise.
593 * gdb.python/py-typeprint.exp: Likewise.
594 * gdb.python/py-xmethods.exp: Likewise.
595 * gdb.stabs/weird.exp: Likewise.
596 * gdb.xml/tdesc-regs.exp: Likewise.
598 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
600 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
601 (out_cu): Use addr_len for the size of addresses.
602 (out_line): Likewise. Size DW_LNE_set_address instruction
603 according to addr_len.
604 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
605 (FUNC): Add START_INSNS to definition.
607 2014-10-18 Yao Qi <yao@codesourcery.com>
609 * gdb.base/argv0-symlink.exp: Check argv[0] value if
610 gdb_has_argv0 return true.
611 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
612 check [target_info exists noargs], check [gdb_has_argv0]
614 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
615 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
618 2014-10-17 Doug Evans <dje@google.com>
620 * gdb.python/py-events.exp: Update expected output for clear_objfiles
622 * gdb.python/py-events.py: Add clear_objfiles event.
624 2014-10-17 Doug Evans <dje@google.com>
626 * gdb.python/py-objfile.exp: Test progspace attribute.
628 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
630 * gdb.guile/scm-breakpoint.exp: Do not assume any
631 directory separators when matching source file paths.
632 * gdb.python/py-breakpoint.exp: Likewise.
633 * gdb.reverse/break-precsave.exp: Likewise.
634 * gdb.reverse/break-reverse.exp: Likewise.
635 * gdb.reverse/consecutive-precsave.exp: Likewise.
636 * gdb.reverse/finish-precsave.exp: Likewise.
637 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
638 * gdb.reverse/finish-reverse.exp: Likewise.
639 * gdb.reverse/i386-precsave.exp: Likewise.
640 * gdb.reverse/i387-env-reverse.exp: Likewise.
641 * gdb.reverse/i387-stack-reverse.exp: Likewise.
642 * gdb.reverse/machinestate-precsave.exp: Likewise.
643 * gdb.reverse/machinestate.exp: Likewise.
644 * gdb.reverse/sigall-precsave.exp: Likewise.
645 * gdb.reverse/solib-precsave.exp: Likewise.
646 * gdb.reverse/step-precsave.exp: Likewise.
647 * gdb.reverse/until-precsave.exp: Likewise.
648 * gdb.reverse/watch-precsave.exp: Likewise.
649 * gdb.reverse/watch-reverse.exp: Likewise.
651 2014-10-17 Yao Qi <yao@codesourcery.com>
653 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
654 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
656 2014-10-17 Pedro Alves <palves@redhat.com>
659 * gdb.base/bg-execution-repeat.c: New file.
660 * gdb.base/bg-execution-repeat.exp: New file.
662 2014-10-17 Pedro Alves <palves@redhat.com>
665 * gdb.base/continue-all-already-running.c: New file.
666 * gdb.base/continue-all-already-running.exp: New file.
668 2014-10-17 Pedro Alves <palves@redhat.com>
671 * gdb.base/annota-input-while-running.c: New file.
672 * gdb.base/annota-input-while-running.exp: New file.
674 2014-10-17 Pedro Alves <palves@redhat.com>
676 * gdb.base/callfuncs.exp: emove references to osf.
677 * gdb.base/sigall.exp: Likewise.
678 * gdb.gdb/selftest.exp: Likewise.
679 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
680 * gdb.mi/non-stop.c: Likewise.
681 * gdb.mi/pthreads.c: Likewise.
682 * gdb.reverse/sigall-precsave.exp: Likewise.
683 * gdb.reverse/sigall-reverse.exp: Likewise.
684 * gdb.threads/pthreads.c: Likewise.
685 * gdb.threads/pthreads.exp: Likewise.
687 2014-10-17 Yao Qi <yao@codesourcery.com>
689 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
690 check 'target_info exists noargs'.
691 (test_command_prompt_position): Likewise.
692 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
694 (progvar_simple_while_test): Likewise.
695 (progvar_complex_if_while_test): Likewise.
696 (if_while_breakpoint_command_test): Likewise.
697 (infrun_breakpoint_command_test): Likewise.
698 (breakpoint_command_test): Likewise.
699 (watchpoint_command_test): Likewise.
700 (bp_deleted_in_command_test): Likewise.
701 (temporary_breakpoint_commands): Likewise.
703 2014-10-16 Yao Qi <yao@codesourcery.com>
705 * gdb.base/remotetimeout.exp: Remove noargs checking.
707 2014-10-15 Pedro Alves <palves@redhat.com>
710 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
711 * gdb.base/breakpoint-in-ro-region.exp
712 (probe_target_hardware_step): New procedure.
713 (top level): Probe hardware stepping and hardware breakpoint
714 support. Test stepping through a read-only region, with both
715 "breakpoint auto-hw" on and off and both "always-inserted" on and
718 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
720 * gdb.dlang/demangle.exp: Update for demangling changes.
722 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
724 * gdb.cp/non-trivial-retval.cc: Add new test cases.
725 * gdb.cp/non-trivial-retval.exp: Add new tests.
727 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
731 * gdb.cp/non-trivial-retval.cc: New file.
732 * gdb.cp/non-trivial-retval.exp: New file.
734 2014-10-15 Yao Qi <yao@codesourcery.com>
736 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
739 2014-10-15 Yao Qi <yao@codesourcery.com>
741 * gdb.python/py-symbol.exp: Match file base name if host is
742 remote, otherwise match file name with dir name.
743 * gdb.python/py-symtab.exp: Likewise.
744 * gdb.python/python.exp: Likewise.
746 2014-10-15 Yao Qi <yao@codesourcery.com>
748 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
750 * gdb.python/py-symtab.exp: Likewise.
751 * gdb.python/python.exp: Remove trailing ".*". Fix typo
754 2014-10-14 Joel Brobecker <brobecker@adacore.com>
756 * gdb.ada/addr_arith: New testcase.
758 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
760 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
761 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
762 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
763 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
765 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
767 * gdb.arch/stap-eval-lang-ada.S: Likewise.
768 * gdb.arch/stap-eval-lang-ada.c: Likewise.
769 * gdb.arch/stap-eval-lang-ada.exp: New file.
771 2014-10-14 Yao Qi <yao@codesourcery.com>
773 * gdb.mi/mi-var-child.c (nothing1): New function.
774 (nothing2): New function.
775 (do_children_tests): Set function pointers by nothing1 and
777 * gdb.mi/mi-var-child.exp: Step over new added statements.
778 Update test to match the new output.
779 * gdb.mi/var-cmd.c (nothing1): New function.
780 (nothing2): New function.
781 (do_children_tests): Set function pointers by nothing1 and
783 * gdb.mi/mi-var-display.exp: Update test to match output.
784 Step to the line specified by $line_dct_nothing.
785 Increase the number of lines to step.
787 2014-10-14 Yao Qi <yao@codesourcery.com>
789 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
791 * gdb.mi/mi2-var-child.exp: Likewise.
793 2014-10-13 Doug Evans <dje@google.com>
795 * gdb.python/py-objfile.exp: Change name of file name test.
797 2014-10-13 Doug Evans <dje@google.com>
799 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
800 from the start of the CU.
802 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
803 Yao Qi <yao@codesourcery.com>
805 Fix "save breakpoints" for "catch" command.
806 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
807 Remove -nonewline. Match also the added "main" line.
809 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
811 Fix "save breakpoints" for "disable $bpnum" command.
812 * gdb.base/save-bp.c (main): Add label.
813 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
815 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
817 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
819 2014-10-11 Yao Qi <yao@codesourcery.com>
821 * gdb.server/server-kill.exp: Execute command
822 "set remote trace-status-packet on" before "tstatus".
824 2014-10-11 Yao Qi <yao@codesourcery.com>
826 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
827 (main): Call getppid.
828 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
829 and continue to it. Read variable "server_pid".
831 2014-10-11 Yao Qi <yao@codesourcery.com>
833 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
835 2014-10-11 Yao Qi <yao@codesourcery.com>
837 * gdb.threads/thread-find.exp: Don't execute command
839 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
840 * gdb.threads/linux-dp.exp: Don't check the condition
841 $threads_created equals to zero.
843 2014-10-10 Pedro Alves <palves@redhat.com>
845 * gdb.base/bigcore.exp: Remove references to IRIX.
846 * gdb.base/funcargs.exp: Likewise.
847 * gdb.base/interrupt.exp: Likewise.
848 * gdb.base/mips_pro.exp: Likewise.
849 * gdb.base/nodebug.exp: Likewise.
850 * gdb.base/setvar.exp: Likewise.
851 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
853 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
854 Pedro Alves <palves@redhat.com>
857 * gdb.base/vdso-warning.c: New file.
858 * gdb.base/vdso-warning.exp: New file.
860 2014-10-02 Doug Evans <dje@google.com>
862 * gdb.base/structs.c (main): Don't run forever.
864 2014-10-02 Pedro Alves <palves@redhat.com>
866 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
867 (top level) <stop threads 1, stop threads 2>: Use it.
869 2014-10-02 Pedro Alves <palves@redhat.com>
871 * gdb.threads/break-while-running.exp (test): Add new
872 'update_thread_list' argument. Skip "info threads" if false.
873 (top level): Add new 'update_thread_list' axis.
875 2014-10-02 Pedro Alves <palves@redhat.com>
878 * gdb.base/execl-update-breakpoints.c: New file.
879 * gdb.base/execl-update-breakpoints.exp: New file.
881 2014-10-01 Pedro Alves <palves@redhat.com>
883 * gdb.base/breakpoint-in-ro-region.c: New file.
884 * gdb.base/breakpoint-in-ro-region.exp: New file.
886 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
888 * gdb.mi/mi-exit-code.exp: New file.
889 * gdb.mi/mi-exit-code.c: New file.
891 2014-09-30 Yao Qi <yao@codesourcery.com>
893 * lib/prelink-support.exp (build_executable_own_libs): Error if
894 the target isn't native.
896 2014-09-30 Yao Qi <yao@codesourcery.com>
898 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
901 2014-09-22 Pedro Alves <palves@redhat.com>
903 * gdb.threads/break-while-running.exp: New file.
904 * gdb.threads/break-while-running.c: New file.
906 2014-09-19 Yao Qi <yao@codesourcery.com>
908 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
909 Invoke test. Restart GDB with --readnow and invoke test again.
911 2014-09-19 Yao Qi <yao@codesourcery.com>
913 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
914 proc set_breakpoint_on_gcd_function. Invoke
915 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
916 invoke set_breakpoint_on_gcd_function again.
918 2014-09-18 Doug Evans <dje@google.com>
920 * gdb.dwarf2/symtab-producer.exp: New file.
922 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
924 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
925 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
926 * gdb.base/global-var-nested-by-dso.c: Likewise.
927 * gdb.base/global-var-nested-by-dso.exp: Likewise.
929 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
930 Pedro Alves <palves@redhat.com>
932 * gdb.base/watch-bitfields.exp: Pass string other than test file
933 name to prepare_for_testing.
934 (watch): New procedure.
935 (expect_watchpoint): Use with_test_prefix.
936 (top level): Factor out tests to ...
937 (test_watch_location, test_regular_watch): ... these new
938 procedures, and use with_test_prefix and gdb_continue_to_end.
940 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
943 * gdb.base/watch-bitfields.exp: New file.
944 * gdb.base/watch-bitfields.c: New file.
946 2014-09-16 Pedro Alves <palves@redhat.com>
948 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
949 software and hardware addresses, not software address against
952 2014-09-16 Pedro Alves <palves@redhat.com>
954 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
955 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
957 2014-09-16 Pedro Alves <palves@redhat.com>
959 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
961 * gdb.base/a2-run.exp: Remove all code guarded by istarget
962 "*-*-vxworks*" throughout.
963 * gdb.base/break.exp: Likewise.
964 * gdb.base/default.exp: Likewise.
965 * gdb.base/scope.exp: Likewise.
966 * gdb.base/sepdebug.exp: Likewise.
967 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
969 * gdb.base/run.c: Likewise.
970 * gdb.base/sepdebug.c: Likewise.
971 * gdb.hp/gdb.aCC/run.c: Likewise.
972 * gdb.reverse/until-reverse.c: Likewise.
973 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
975 2014-09-16 Yao Qi <yao@codesourcery.com>
977 * boards/local-remote-host-native.exp: New file.
979 2014-09-14 Doug Evans <xdje42@gmail.com>
981 * gdb.threads/queue-signal.c (thread_count): New variable.
982 (thread_count_mutex, thread_count_condvar): New variables.
983 (incr_thread_count, wait_all_threads_running): New functions.
984 (main): Wait for all threads to be in their thread functions.
986 2014-09-13 Doug Evans <xdje42@gmail.com>
988 * gdb.threads/queue-signal.c: New file.
989 * gdb.threads/queue-signal.exp: New file.
991 2014-09-13 Doug Evans <xdje42@gmail.com>
993 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
994 be consistent with what default_gdb_init uses.
995 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
996 the plain text of the prompt. Add some logging printfs.
997 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
999 2014-09-12 Pedro Alves <palves@redhat.com>
1001 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
1002 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
1003 * gdb.arch/i386-size-overlap.exp: Likewise.
1004 * gdb.arch/i386-size.exp: Likewise.
1005 * gdb.arch/i386-unwind.exp: Likewise.
1006 * gdb.base/a2-run.exp: Likewise.
1007 * gdb.base/break.exp: Likewise.
1008 * gdb.base/charset.exp: Likewise.
1009 * gdb.base/chng-syms.exp: Likewise.
1010 * gdb.base/commands.exp: Likewise.
1011 * gdb.base/dbx.exp: Likewise.
1012 * gdb.base/find.exp: Likewise.
1013 * gdb.base/funcargs.exp: Likewise.
1014 * gdb.base/jit-simple.exp: Likewise.
1015 * gdb.base/reread.exp: Likewise.
1016 * gdb.base/sepdebug.exp: Likewise.
1017 * gdb.base/step-bt.exp: Likewise.
1018 * gdb.cp/mb-inline.exp: Likewise.
1019 * gdb.cp/mb-templates.exp: Likewise.
1020 * gdb.objc/basicclass.exp: Likewise.
1021 * gdb.threads/killed.exp: Likewise.
1023 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1026 * gdb.arch/powerpc-stackless.S: New file.
1027 * gdb.arch/powerpc-stackless.exp: New file.
1029 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1031 * gdb.base/attach.c: Include unistd.h.
1032 (main): Call alarm. Add label postloop.
1033 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
1034 gdb_breakpoint, gdb_continue_to_breakpoint.
1035 (test_command_line_attach_run): Kill ${testpid} in one exit path.
1037 2014-09-11 Pedro Alves <palves@redhat.com>
1040 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
1041 * gdb.base/attach.exp (test_command_line_attach_run): New
1043 (top level): Call it.
1045 2014-09-11 Pedro Alves <palves@redhat.com>
1047 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
1048 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
1049 (do_command_attach_tests): Use spawn_wait_for_attach.
1050 * gdb.base/solib-overlap.exp: Likewise.
1051 * gdb.multi/multi-attach.exp: Likewise.
1052 * gdb.python/py-prompt.exp: Likewise.
1053 * gdb.python/py-sync-interp.exp: Likewise.
1054 * gdb.server/ext-attach.exp: Likewise.
1056 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
1058 * gdb.fortran/array-element.exp: Remove unexpected "continue"
1059 command in testcase. Simplify testcase.
1061 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1063 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
1065 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1067 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
1069 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1071 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
1073 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1075 * gdb.dwarf2/dynarr-ptr.c: New file.
1076 * gdb.dwarf2/dynarr-ptr.exp: New file.
1078 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1080 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
1081 of 30 rather than hardcoding 120 for a slow test case. Take the
1082 `gdb,timeout' target setting into account for this calculation.
1083 Don't extend the timeout for the test cases that don't need it.
1085 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1087 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
1088 a factor of 2 for a slow test case. Take the `gdb,timeout'
1089 target setting into account for this calculation.
1090 * gdb.reverse/until-precsave.exp: Increase the timeout by
1091 a factor of 15 and 3 respectively rather than adding 120
1092 for a pair of slow test cases. Take the `gdb,timeout'
1093 target setting into account for this calculation.
1095 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1097 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
1098 timeout, don't pass one down to gdb_expect.
1099 (gdb_expect): Rework timeout selection.
1101 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1103 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
1104 exception on timeout.
1105 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
1106 (gdbserver_start_extended): Catch any `gdbserver_start' error
1108 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
1109 * lib/mi-support.exp (mi_gdb_target_load): Catch any
1110 `gdbserver_gdb_load' error exceptions.
1112 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1114 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
1115 120 on waiting for the TCP socket to open.
1117 2014-09-09 Doug Evans <xdje42@gmail.com>
1119 * gdb.base/default.exp (show_conv_list): Add _caller_is,
1120 _caller_matches, _any_caller_is, _any_caller_matches.
1122 2014-09-09 Doug Evans <xdje42@gmail.com>
1124 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
1126 2014-09-09 Yao Qi <yao@codesourcery.com>
1128 * gdb.mi/mi-var-display.exp: Set print symbol off.
1130 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
1133 * gdb.base/commands.exp: Add tests to verify user-defined
1134 commands with empty bodies.
1135 * gdb.python/py-cmd.exp: Test that we don't show user-defined
1136 python commands in `show user command`.
1137 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
1138 scheme commands in `show user command`.
1140 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1143 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
1144 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
1145 * gdb.python/py-framefilter-invalidarg.exp: New file.
1146 * gdb.python/py-framefilter-invalidarg.py: New file.
1148 2014-09-06 Doug Evans <xdje42@gmail.com>
1151 * gdb.python/py-caller-is.c: New file.
1152 * gdb.python/py-caller-is.exp: New file.
1154 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
1157 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
1158 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
1160 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
1163 * gdb.fortran/print-formatted.exp: New file.
1164 * gdb.fortran/print-formatted.f90: Likewise.
1166 2014-09-03 Sasha Smundak <asmundak@google.com>
1168 * gdb.python/py-frame.exp: Test Frame.read_register.
1170 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
1173 * gdb.python/py-completion.exp: New file.
1174 * gdb.python/py-completion.py: Likewise.
1176 2014-08-28 Doug Evans <dje@google.com>
1178 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
1179 eax,etc. are live with values set by gdb and thus the compiler can't
1181 * gdb.arch/i386-pseudo.c (main): Ditto.
1183 2014-08-27 Doug Evans <dje@google.com>
1185 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
1187 2014-08-25 Doug Evans <dje@google.com>
1189 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
1192 2014-08-25 Doug Evans <dje@google.com>
1194 * gdb.threads/thread-execl.exp: #include <stdio.h>.
1196 2014-08-24 Yao Qi <yao@codesourcery.com>
1198 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
1200 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
1202 2014-08-22 Doug Evans <dje@google.com>
1205 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
1206 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
1207 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
1209 2014-08-22 Yao Qi <yao@codesourcery.com>
1211 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
1212 * gdb.python/py-finish-breakpoint2.exp: Likewise.
1213 * gdb.python/python.exp: Likewise. Use .py file on the host
1214 instead of the build.
1216 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1218 * gdb.threads/gcore-stale-thread.c: New file.
1219 * gdb.threads/gcore-stale-thread.exp: New file.
1221 2014-08-21 Pedro Alves <palves@redhat.com>
1223 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
1224 * gdb.base/gcore-relro-pie.exp: Likewise.
1225 * gdb.base/gcore-relro.exp: Likewise.
1226 * gdb.base/gcore.exp: Likewise.
1227 * gdb.base/print-symbol-loading.exp: Likewise.
1228 * gdb.threads/gcore-thread.exp: Likewise.
1229 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
1231 2014-08-20 Pedro Alves <palves@redhat.com>
1232 Jan Kratochvil <jan.kratochvil@redhat.com>
1234 * Makefile.in (EXTRA_RULES, CC): New variables, get from
1236 (EXPECT): Handle READ1 being set.
1237 (all): Depend on EXTRA_RULES.
1238 (check-read1, expect-read1, read1.so, read1): New rules.
1239 * README (Testsuite Parameters): Document the READ1 make variable.
1240 (Race detection): New section.
1241 * configure: Regenerate.
1242 * configure.ac: If build==host==target, and running under a
1243 GNU/glibc system, add read1 to the extra Makefile rules.
1244 (EXTRA_RULES): AC_SUBST it.
1245 * lib/read1.c: New file.
1247 2014-08-20 Joel Brobecker <brobecker@adacore.com>
1249 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
1250 the handling of variables declared as a typedef to an array
1251 which a DW_AT_data_location attribute.
1253 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
1254 Pedro Alves <palves@redhat.com>
1258 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
1261 2014-08-19 Pedro Alves <palves@redhat.com>
1263 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
1265 2014-08-19 Yao Qi <yao@codesourcery.com>
1267 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
1270 2014-08-18 David Blaikie <dblaikie@gmail.com>
1272 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
1274 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1276 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
1277 attribute in array range.
1279 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1281 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
1283 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1286 * gdb.cp/pr17132.cc: New file.
1287 * gdb.cp/pr17132.exp: New file.
1289 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1291 * gdb.python/py-xmethods.py (A_getarrayind)
1292 (E_method_char_worker.__call__, E_method_int_worker.__call__):
1293 Use 'print' with function call syntax.
1294 (E_method_matcher.match): Fix tab vs space indentation mixup.
1296 2014-08-15 Yao Qi <yao@codesourcery.com>
1298 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
1301 2014-08-15 Yao Qi <yao@codesourcery.com>
1303 * gdb.cp/casts.exp: Set print symbol off.
1304 * gdb.cp/class2.exp: Likewise.
1305 * gdb.cp/overload.exp: Likewise.
1306 * gdb.cp/templates.exp: Likewise.
1308 2014-08-11 Doug Evans <dje@google.com>
1310 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1311 (test_load_shlib): Update.
1313 2014-08-09 Yao Qi <yao@codesourcery.com>
1315 * gdb.base/display.exp: Invoke is_address_zero_readable.
1316 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
1317 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1318 * gdb.base/hbreak-unmapped.exp: Return if
1319 is_address_zero_readable returns true.
1320 * gdb.base/signest.exp: Likewise.
1321 * gdb.base/signull.exp: Likewise.
1322 * gdb.base/sigbpt.exp: Likewise.
1323 * gdb.guile/scm-disasm.exp: Do the test if
1324 is_address_zero_readable returns false.
1325 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
1326 * gdb.python/py-arch.exp: Likewise.
1327 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
1328 * lib/gdb.exp (is_address_zero_readable): New proc.
1330 2014-08-09 Yao Qi <yao@codesourcery.com>
1333 * gdb.mi/mi-var-display.exp: Make test messages unique.
1335 2014-08-04 Tom Tromey <tromey@redhat.com>
1337 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
1340 2014-08-04 Tom Tromey <tromey@redhat.com>
1342 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
1345 2014-08-01 Joel Brobecker <brobecker@adacore.com>
1347 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
1348 inner_vla_struct_object_size.
1349 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
1352 2014-07-30 Pedro Alves <palves@redhat.com>
1354 * gdb.threads/signal-command-handle-nopass.exp (test): Add
1357 2014-07-29 Yao Qi <yao@codesourcery.com>
1360 * gdb.base/until-nodebug.exp: New.
1362 2014-07-28 Doug Evans <xdje42@gmail.com>
1365 * gdb.guile/scm-parameter.exp: Add tests for trying to create
1366 previously existing parameter, and previously ambiguously spelled
1369 2014-07-28 Will Newton <will.newton@linaro.org>
1371 * gdb.base/varargs.exp: Remove KFAILs for ARM.
1373 2014-07-26 Ludovic Courtès <ludo@gnu.org>
1374 Doug Evans <xdje42@gmail.com>
1377 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
1379 2014-07-25 Pedro Alves <palves@redhat.com>
1381 * gdb.threads/signal-command-handle-nopass.c: New file.
1382 * gdb.threads/signal-command-handle-nopass.exp: New file.
1383 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
1384 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
1385 * gdb.threads/signal-delivered-right-thread.c: New file.
1386 * gdb.threads/signal-delivered-right-thread.exp: New file.
1388 2014-07-25 Pedro Alves <palves@redhat.com>
1390 * gdb.base/double-prompt-target-event-error.exp
1391 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
1393 (cancel_pagination_in_target_event): Rework double prompt
1395 * gdb.base/paginate-after-ctrl-c-running.exp
1396 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
1398 * gdb.base/paginate-bg-execution.exp
1399 (test_bg_execution_pagination_return)
1400 (test_bg_execution_pagination_cancel): Remove '-notransfer
1402 * gdb.base/paginate-execution-startup.exp
1403 (test_fg_execution_pagination_return)
1404 (test_fg_execution_pagination_cancel): Remove '-notransfer
1406 * gdb.base/paginate-inferior-exit.exp
1407 (test_paginate_inferior_exited): Remove '-notransfer <return>'
1409 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
1410 * lib/gdb.exp (pagination_prompt): Run text through
1412 (gdb_test_multiple): Match $pagination_prompt instead of
1414 (string_to_regexp): Move to lib/gdb-utils.exp.
1416 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1418 * gdb.arch/amd64-entry-value-paramref.S: New file.
1419 * gdb.arch/amd64-entry-value-paramref.cc: New file.
1420 * gdb.arch/amd64-entry-value-paramref.exp: New file.
1421 * gdb.arch/amd64-optimout-repeat.S: New file.
1422 * gdb.arch/amd64-optimout-repeat.c: New file.
1423 * gdb.arch/amd64-optimout-repeat.exp: New file.
1425 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1428 * gdb.base/statistics.exp: New file.
1430 2014-07-17 Doug Evans <dje@google.com>
1433 * gdb.base/maint.exp: Update testing of per-command stats.
1435 2014-07-16 Pedro Alves <palves@redhat.com>
1437 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
1438 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
1439 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
1440 (tfile_write_buf): New functions.
1441 (add_memory_block): Rewrite using the above.
1442 (adjust_function_address): New function.
1443 (FUNCTION_ADDRESS): New macro.
1444 (write_basic_trace_file): Remove short_x local, and use
1445 tfile_write_16. Change type of func_addr local to unsigned long
1446 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
1447 here. Cast argument of add_memory_block to char pointer.
1448 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
1449 (main): Remove parameters.
1450 * gdb.trace/tfile.exp: Remove nowarnings.
1452 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1454 * gdb.base/debug-expr.exp: Test string evaluation with
1455 "debug expression" on.
1457 2014-07-15 Pedro Alves <palves@redhat.com>
1459 * gdb.base/reread.exp: Use clean_restart.
1461 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1463 * gdb.arch/avr-flash-qualifer.c: New.
1464 * gdb.arch/avr-flash-qualifer.exp: New.
1466 2014-07-14 Pedro Alves <palves@redhat.com>
1468 * gdb.base/paginate-after-ctrl-c-running.c: New file.
1469 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1471 2014-07-14 Pedro Alves <palves@redhat.com>
1473 * gdb.base/double-prompt-target-event-error.c: New file.
1474 * gdb.base/double-prompt-target-event-error.exp: New file.
1476 2014-07-14 Pedro Alves <palves@redhat.com>
1479 * gdb.base/paginate-inferior-exit.c: New file.
1480 * gdb.base/paginate-inferior-exit.exp: New file.
1482 2014-07-14 Pedro Alves <palves@redhat.com>
1485 * gdb.base/paginate-bg-execution.c: New file.
1486 * gdb.base/paginate-bg-execution.exp: New file.
1488 2014-07-14 Pedro Alves <palves@redhat.com>
1491 * gdb.base/paginate-execution-startup.c: New file.
1492 * gdb.base/paginate-execution-startup.exp: New file.
1493 * lib/gdb.exp (pagination_prompt): New global.
1494 (default_gdb_spawn): New procedure, factored out from
1496 (default_gdb_start): Adjust to call default_gdb_spawn.
1497 (gdb_spawn): New procedure.
1499 2014-07-14 Pedro Alves <palves@redhat.com>
1501 * lib/gdb.exp (gdb_assert): New procedure.
1502 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
1504 2014-07-14 Pedro Alves <palves@redhat.com>
1506 * gdb.base/execution-termios.c: New file.
1507 * gdb.base/execution-termios.exp: New file.
1509 2014-07-14 Tom Tromey <tromey@redhat.com>
1511 * gdb.cp/vla-cxx.cc: New file.
1512 * gdb.cp/vla-cxx.exp: New file.
1514 2014-07-14 Tom Tromey <tromey@redhat.com>
1516 * gdb.reverse/rerun-prec.c: New file.
1517 * gdb.reverse/rerun-prec.exp: New file.
1519 2014-07-12 Maciej W. Rozycki <macro@mips.com>
1520 Maciej W. Rozycki <macro@codesourcery.com>
1522 * lib/gdb-utils.exp: New file.
1523 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
1524 inline `gdb_init_command' processing.
1525 (gdb_start_cmd): Likewise.
1526 * lib/mi-support.exp (mi_run_cmd): Likewise.
1527 * README: Document `gdb_init_command' and `gdb_init_commands'.
1529 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1531 Fix false FAIL running under a very long directory name.
1532 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1533 and "set print elements 10000". Twice.
1535 2014-07-11 Yao Qi <yao@codesourcery.com>
1537 * gdb.base/exprs.exp: "set print symbol off".
1539 2014-07-11 Pedro Alves <palves@redhat.com>
1541 * gdb.threads/kill.c: New file.
1542 * gdb.threads/kill.exp: New file.
1544 2014-07-10 Yao Qi <yao@codesourcery.com>
1546 * gdb.trace/tfile.c (write_basic_trace_file)
1547 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1548 address written to trace file.
1550 2014-07-09 Pedro Alves <palves@redhat.com>
1552 * gdb.base/attach-wait-input.exp: New file.
1553 * gdb.base/attach-wait-input.c: New file.
1555 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1557 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1558 setting up test structures.
1559 (main): Call new test function.
1560 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1561 test function, continue into test function and walk test
1564 2014-07-02 Yao Qi <yao@codesourcery.com>
1566 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1567 'bar_start' at the beginning of functions 'foo' and 'bar'
1569 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1570 instead of 'foo' and 'bar'.
1572 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1574 * gdb.btrace/segv.exp: New.
1575 * gdb.btrace/segv.c: New.
1577 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
1579 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1582 2014-06-30 Mark Wielaard <mjw@redhat.com>
1584 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1585 vulture, vilify, villar): New volatile array constants.
1586 (vindictive, vegetation): New const volatile array constants.
1587 * gdb.base/volatile.exp: Test volatile and const volatile array
1590 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1592 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1593 target lacks support for awatch, rwatch, or hbreak.
1595 2014-06-27 Yao Qi <yao@codesourcery.com>
1597 * gdb.multi/dummy-frame-restore.exp: New.
1598 * gdb.multi/dummy-frame-restore.c: New.
1600 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1602 * gdb.btrace/gcore.exp: New.
1604 2014-06-23 Pedro Alves <palves@redhat.com>
1606 * gdb.base/watchpoint-reuse-slot.c: New file.
1607 * gdb.base/watchpoint-reuse-slot.exp: New file.
1609 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1611 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1612 progspace's filename in 'info', 'enable' and 'disable' command
1615 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1617 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1618 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1619 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1621 2014-06-20 Gary Benson <gbenson@redhat.com>
1623 * gdb.arch/i386-avx.exp: Fix include file location.
1624 * gdb.arch/i386-sse.exp: Likewise.
1626 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1628 * gdb.dlang/expression.exp: New file.
1630 2014-06-19 Pedro Alves <palves@redhat.com>
1632 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1634 (top level): ... here. Iterate running tests under different
1635 scheduler-locking settings.
1637 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
1639 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1640 to DW_FORM_addr and use non-zero addresses.
1642 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1645 * gdb.python/py-xmethods.cc: Add global function call counters and
1646 increment them in their respective functions. Remove "cout"
1648 * gdb.python/py-xmethods.exp: Make tests check the global function
1649 call counters instead of depending on inferior IO.
1651 2014-06-18 Don Breazeal <donb@codesourcery.com>
1653 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1655 (explicit_fork_parent_follow): Deleted procedure.
1656 (explicit_fork_child_follow): Deleted procedure.
1657 (test_follow_fork): New procedure.
1658 (do_fork_tests): Replace calls to deleted procedures with
1659 calls to test_follow_fork and reset GDB for subsequent
1662 2014-06-17 Yao Qi <yao@codesourcery.com>
1664 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1667 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
1669 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1670 Initialize ptr and S explicitly.
1671 (skip_type_update_when_not_use_rtti_test): Likewise.
1673 2014-06-16 Keith Seitz <keiths@redhat.com>
1676 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1677 the inferior is started.
1679 2014-06-16 Pedro Alves <palves@redhat.com>
1681 * gdb.base/break-main-file-remove-fail.c: New file.
1682 * gdb.base/break-main-file-remove-fail.exp: New file.
1683 * gdb.base/break-unload-file.exp: Use build_executable instead of
1684 prepare_for_testing.
1685 (test_break): New parameter "initial_load". Handle it.
1686 (top level): Add initial_load cmdline/file axis.
1688 2014-06-12 Tom Tromey <tromey@redhat.com>
1690 * gdb.base/completion.exp: Don't use directory name in test.
1692 2014-06-09 Gary Benson <gbenson@redhat.com>
1694 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1695 separate the always-available ANSI-standard signals from the
1696 signals that require checking.
1698 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1702 2014-06-07 Keith Seitz <keiths@redhat.com>
1706 * gdb.cp/var-tag.cc: New file.
1707 * gdb.cp/var-tag.exp: New file.
1708 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1709 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1710 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1711 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1713 2014-06-06 Doug Evans <xdje42@gmail.com>
1715 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1717 2014-06-06 Pedro Alves <palves@redhat.com>
1719 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1720 in target debug output instead of looking at RSP packets,
1721 disabling the test on any target that uses hardware stepping.
1724 2014-06-06 Pedro Alves <palves@redhat.com>
1726 * gdb.base/break-unload-file.exp: Fix typo.
1728 2014-06-06 Yao Qi <yao@codesourcery.com>
1730 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1731 from "jit_function" to "^jit_function".
1733 2014-06-06 Yao Qi <yao@codesourcery.com>
1735 * gdb.base/async.c (foo): Add one statement.
1736 * gdb.base/async.exp: Get the next instruction address and
1737 match the output of "nexti" by instruction address. Match
1738 the hex address in the output of "finish".
1740 2014-06-06 Gary Benson <gbenson@redhat.com>
1742 * gdb.base/call-signals.c: Remove preprocessor conditionals
1743 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1744 SIGSEGV and SIGTERM.
1745 * gdb.base/sigall.c: Likewise.
1746 * gdb.base/unwindonsignal.c: Likewise.
1747 * gdb.reverse/sigall-reverse.c: Likewise.
1749 2014-06-06 Yao Qi <yao@codesourcery.com>
1751 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1752 readable, skip the test.
1754 2014-06-06 Yao Qi <yao@codesourcery.com>
1756 * gdb.threads/staticthreads.c (thread_function): Move the line
1757 setting breakpoint on forward.
1758 * gdb.threads/staticthreads.exp: Update comments.
1760 2014-06-05 Ludovic Courtès <ludo@gnu.org>
1762 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1763 "history-append! type error".
1765 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1767 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1768 erroneous dprintf expected input.
1770 2014-06-04 Doug Evans <xdje42@gmail.com>
1772 * gdb.guile/scm-generics.exp: Delete.
1774 2014-06-04 Doug Evans <xdje42@gmail.com>
1776 * gdb.guile/scm-breakpoint.exp: Update.
1777 Add tests for breakpoint registration.
1779 2014-06-04 Tom Tromey <tromey@redhat.com>
1781 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1783 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1784 inner_vla_struct, vla_union types. Initialize objects of those
1785 types and compute their sizes.
1787 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1788 Hui Zhu <hui@codesourcery.com>
1790 * gdb.base/fileio.exp: Add test for shell not available as well as
1792 * gdb.base/fileio.c (test_system): Check for shell twice.
1794 2014-06-04 Yao Qi <yao@codesourcery.com>
1796 * gdb.base/auto-connect-native-target.exp: Remove redundant
1797 space from the regexp pattern.
1799 2014-06-04 Yao Qi <yao@codesourcery.com>
1801 * gdb.base/default.exp: Replace "child" with "native" in
1804 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1806 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1807 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1808 * gdb.python/py-xmethods.py: Python script supporting the
1809 new testcase and tests.
1811 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1812 Pedro Alves <palves@redhat.com>
1814 PR breakpoints/17000
1815 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1816 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1818 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1820 * gdb.base/subst.exp: Add tests to verify partial path matching
1823 2014-06-03 Pedro Alves <palves@redhat.com>
1825 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1826 target that doesn't use software single-stepping.
1828 2014-06-03 Pedro Alves <palves@redhat.com>
1830 PR breakpoints/17000
1831 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1832 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1834 2014-06-02 Doug Evans <xdje42@gmail.com>
1836 * gdb.guile/scm-parameter.exp: New file.
1838 2014-06-02 Doug Evans <xdje42@gmail.com>
1840 * gdb.guile/scm-cmd.c: New file.
1841 * gdb.guile/scm-cmd.exp: New file.
1843 2014-06-02 Doug Evans <xdje42@gmail.com>
1845 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1846 pretty-printer lookup.
1847 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1848 (make-pp_s-printer): Call it.
1849 (make-pretty-printer-from-dict): New function.
1850 (lookup-pretty-printer-maker-from-dict): New function.
1851 (*pretty-printer*): Simplify.
1852 (make-objfile-pp_s-printer): New function.
1853 (install-objfile-pretty-printers!): New function.
1854 (make-progspace-pp_s-printer): New function.
1855 (install-progspace-pretty-printers!): New function.
1856 * gdb.guile/scm-progspace.c: New file.
1857 * gdb.guile/scm-progspace.exp: New file.
1859 2014-06-02 Pedro Alves <palves@redhat.com>
1861 * gdb.base/dprintf-bp-same-addr.c: New file.
1862 * gdb.base/dprintf-bp-same-addr.exp: New file.
1864 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1866 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1867 * gdb.arch/powerpc-power.s: Likewise.
1869 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1871 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1873 2014-06-01 Yao Qi <yao@codesourcery.com>
1875 * gdb.base/watchpoint.exp (test_watch_location): Check null
1876 pointer can be dereferenced. If not, do the test, otherwise
1879 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1881 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1883 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1885 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1887 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1888 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1889 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1890 * gdb.arch/amd64-invalid-stack-top.c: New file.
1891 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1893 2014-05-30 Pedro Alves <palves@redhat.com>
1895 PR breakpoints/17000
1896 * gdb.base/sss-bp-on-user-bp.c: New file.
1897 * gdb.base/sss-bp-on-user-bp.exp: New file.
1899 2014-05-30 David Blaikie <dblaikie@gmail.com>
1901 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1902 gnu_inline semantics via attribute.
1903 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1904 source explicitly specifies the required semantics.
1906 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1908 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1910 2014-05-29 Pedro Alves <palves@redhat.com>
1911 Tom Tromey <tromey@redhat.com>
1913 * gdb.base/async-shell.exp: Don't enable target-async.
1914 * gdb.base/async.exp
1915 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1917 (top level): Don't test with "target-async".
1918 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1919 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1920 * gdb.base/inferior-died.exp: Don't enable target-async.
1921 * gdb.base/interrupt-noterm.exp: Likewise.
1922 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1923 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1924 * gdb.mi/mi-nonstop.exp: Likewise.
1925 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1926 * gdb.mi/mi-nsintrall.exp: Likewise.
1927 * gdb.mi/mi-nsmoribund.exp: Likewise.
1928 * gdb.mi/mi-nsthrexec.exp: Likewise.
1929 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1930 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1931 * gdb.python/py-evsignal.exp: Don't enable target-async.
1932 * gdb.python/py-evthreads.exp: Likewise.
1933 * gdb.python/py-prompt.exp: Likewise.
1934 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1935 * gdb.server/solib-list.exp: Don't enable target-async.
1936 * gdb.threads/thread-specific-bp.exp: Likewise.
1937 * lib/mi-support.exp: Adjust to use mi-async.
1939 2014-05-29 Pedro Alves <palves@redhat.com>
1942 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1943 reason, even in sync mode.
1945 2014-05-29 Pedro Alves <palves@redhat.com>
1946 Hui Zhu <hui@codesourcery.com>
1949 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1950 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1951 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1952 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1954 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1956 * config/monitor.exp (gdb_target_monitor): Replace use of
1957 "set remotebaud" by "set serial baud".
1959 2014-05-26 Andy Wingo <wingo@igalia.com>
1961 * gdb.guile/scm-breakpoint.exp:
1962 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1963 properties instead of gdb-object-properties.
1965 2014-05-26 Yao Qi <yao@codesourcery.com>
1967 * gdb.server/no-thread-db.exp: Specify source file name
1968 explicitly when setting a breakpoint.
1970 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1972 * gdb.btrace/vdso.c: New.
1973 * gdb.btrace/vdso.exp: New.
1975 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1977 * gdb.base/gcore.exp (capture_command_output): Move ...
1978 * lib/gdb.exp (capture_command_output): ... here.
1980 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1982 * gdb.btrace/data.exp: Test memory access during btrace replay.
1984 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1986 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1988 2014-05-21 Pedro Alves <palves@redhat.com>
1991 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1992 (top level): Test that output related to execution commands is
1993 sent to the console with CLI commands, but not with MI commands.
1994 Test that breakpoint events are always mirrored to the console.
1995 Also expect the new source line to be output after a "next" in
1996 async mode too. Make it a pass/fail test.
1997 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1999 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
2001 2014-05-21 Pedro Alves <palves@redhat.com>
2003 * gdb.base/list.exp (build_pattern, test_list): New procedures.
2004 Use them to test variations of "list" after reaching a breakpoint.
2005 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
2006 Test "list" with listsize 10 after reaching a breakpoint.
2007 * gdb.python/python.exp (decode_line current location line
2008 number): Adjust expected line number.
2010 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
2012 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
2013 behavior for $args, pass it directly to "run".
2015 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
2017 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
2020 2014-05-21 Pedro Alves <palves@redhat.com>
2022 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
2023 auto-connect-native-target off".
2024 * gdb.base/auto-connect-native-target.c: New file.
2025 * gdb.base/auto-connect-native-target.exp: New file.
2027 2014-05-21 Pedro Alves <palves@redhat.com>
2029 * gdb.base/default.exp: Test "target native" instead of "target
2032 2014-05-21 Mark Wielaard <mjw@redhat.com>
2034 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2036 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2038 Fix TLS access for -static -pthread.
2039 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
2040 <HAVE_TLS> (thread_function, main): Initialize it.
2041 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
2043 <$have_tls != "">: Check TLSVAR.
2045 2014-05-21 Pedro Alves <palves@redhat.com>
2047 * gdb.base/dcache-line-read-error.c: New.
2048 * gdb.base/dcache-line-read-error.exp: New.
2050 2014-05-20 Pedro Alves <palves@redhat.com>
2052 * gdb.base/compare-sections.c: New file.
2053 * gdb.base/compare-sections.exp: New file.
2055 2014-05-20 Pedro Alves <palves@redhat.com>
2057 * gdb.base/break-idempotent.c: New file.
2058 * gdb.base/break-idempotent.exp: New file.
2060 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
2062 * gdb.btrace/nohist.exp: New.
2064 2014-05-20 Yao Qi <yao@codesourcery.com>
2066 * lib/gdb.exp (gdb_init): Set timeout if test file is under
2067 gdb.reverse directory and gdb_reverse_timeout exists in board
2069 * README: Document gdb_reverse_timeout.
2071 2014-05-20 Yao Qi <yao@codesourcery.com>
2073 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
2074 'test_file_name'. Treat args as a string instead of a list.
2075 (gdb_init): Rename argument 'args' by 'test_file_name'.
2077 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2079 * gdb.arch/powerpc-power.exp: New file.
2080 * gdb.arch/powerpc-power.s: New file.
2082 2014-05-16 Doug Evans <dje@google.com>
2084 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
2085 * gdb.base/completion.exp: Check that all expected files exist
2086 before doing file completion.
2088 2014-05-16 Doug Evans <dje@google.com>
2090 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
2092 (do_syscall_tests_without_xml): Update.
2094 2014-05-16 Pedro Alves <palves@redhat.com>
2096 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
2097 instead of "unknown output after running".
2099 2014-05-16 Yao Qi <yao@codesourcery.com>
2101 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
2102 file1.txt from host at the end.
2103 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2105 2014-05-15 Doug Evans <dje@google.com>
2107 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
2108 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
2109 loading file. Add test for TU lookup.
2111 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2113 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
2114 calling "-exec-arguments" or "set args" before running the
2117 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2119 * lib/mi-support.exp (mi_expect_stop): Expect message for
2120 inferiors that exit with non-zero exit code.
2122 2014-05-14 Yao Qi <yao@codesourcery.com>
2124 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
2125 match absolute path on remote host.
2126 (test_file_list_exec_source_files): Remove "/" from the
2129 2014-05-14 Yao Qi <yao@codesourcery.com>
2131 * boards/local-remote-host-notty.exp (${board}_file): New
2134 2014-05-07 Kyle McMartin <kyle@redhat.com>
2136 Pushed by Joel Brobecker <brobecker@adacore.com>.
2137 * gdb.arch/aarch64-atomic-inst.c: New file.
2138 * gdb.arch/aarch64-atomic-inst.exp: New file.
2140 2014-05-07 Yao Qi <yao@codesourcery.com>
2142 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
2143 in current context" too.
2145 2014-05-05 Keith Seitz <keiths@redhat.com>
2147 * gdb.linespec/ls-dollar.exp: Add test for linespec
2148 file:convenience_variable.
2150 2014-05-05 Yao Qi <yao@codesourcery.com>
2152 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
2153 traceframes into tfile and ctf trace files. Read data from
2154 trace file and test collected data.
2155 (gdb_collect_locals_test): Likewise.
2156 (gdb_unavailable_registers_test): Likewise.
2157 (gdb_unavailable_floats): Likewise.
2158 (gdb_collect_globals_test): Likewise.
2159 (top-level): Append "ctf" to trace_file_targets if GDB
2162 2014-05-05 Yao Qi <yao@codesourcery.com>
2164 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
2166 (gdb_collect_args_test_1): ... it. New proc.
2167 (gdb_collect_locals_test): Move some code to ...
2168 (gdb_collect_locals_test_1): ... it. New proc.
2169 (gdb_unavailable_registers_test): Move some code to ...
2170 (gdb_unavailable_registers_test_1): ... it. New proc.
2171 (gdb_unavailable_floats): Move some code to ...
2172 (gdb_unavailable_floats_1): ... it. New proc.
2174 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2176 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
2177 probes to test for bitness recognition.
2178 * gdb.arch/amd64-stap-optional-prefix.exp
2179 (test_probe_value_without_reg): New procedure.
2180 Add code to test for different kinds of bitness.
2182 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2184 PR breakpoints/16889
2185 * gdb.arch/amd64-stap-optional-prefix.S: New file.
2186 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2188 2014-05-01 Pedro Alves <palves@redhat.com>
2190 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
2191 gdb_file_cmd if no file is specified.
2192 * boards/native-extended-gdbserver.exp (gdb_load): Use the
2193 last_loaded_file to set the remote exec-file.
2195 2014-05-01 Pedro Alves <palves@redhat.com>
2197 * boards/local-remote-host.exp: New file.
2199 2014-05-01 Pedro Alves <palves@redhat.com>
2201 * boards/local-remote-host.exp: Rename to ...
2202 * boards/local-remote-host-notty.exp: ... this.
2204 2014-04-28 Joel Brobecker <brobecker@adacore.com>
2206 * gdb.ada/dyn_arrayidx: New testcase.
2208 2014-04-26 Yao Qi <yao@codesourcery.com>
2210 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
2211 and compute the length of function main. Save it in
2213 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
2214 (top-level): Use gdb_compile to compile objects into
2215 executable and restart GDB. Remove invocation to
2216 prepare_for_testing.
2218 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
2219 Pedro Alves <palves@redhat.com>
2222 * gdb.multi/multi-attach.c: New file.
2223 * gdb.multi/multi-attach.exp: New file.
2225 2014-04-25 Pedro Alves <palves@redhat.com>
2227 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
2229 (top level): Test that "set remote conditional-breakpoints-packet
2230 off" works as intended.
2231 * gdb.base/dprintf.exp: Test that "set remote
2232 breakpoint-commands-packet off" works as intended.
2233 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
2235 (top level): Call it.
2236 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
2237 remote fast-tracepoints-packet off" works as intended.
2238 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
2239 * lib/gdb.exp (gdb_is_target_remote): ... here.
2241 2014-04-24 David Blaikie <dblaikie@gmail.com>
2243 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
2244 ensure clang would not discard them.
2245 * gdb.base/gdbvars.c: Ditto.
2246 * gdb.base/memattr.c: Ditto.
2247 * gdb.base/whatis.c: Ditto.
2248 * gdb.python/py-prettyprint.c: Ditto.
2249 * gdb.trace/actions.c: Ditto.
2250 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
2251 ensure clang would not discard it.
2253 2014-04-24 David Blaikie <dblaikie@gmail.com>
2255 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
2256 clang to emit the full definition of type required by the test
2257 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
2259 2014-04-24 David Blaikie <dblaikie@gmail.com>
2261 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
2262 coax Clang into emitting the definition of the type.
2263 * gdb.cp/pr10728-x.h (y): Ditto.
2264 * gdb.cp/pr10728-y.cc (y): Ditto.
2266 2014-04-24 David Blaikie <dblaikie@gmail.com>
2268 * gdb.base/label.exp: XFAIL label related tests under Clang.
2269 * gdb.cp/cplabel.exp: Ditto.
2270 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
2271 under Clang those using labels.
2273 2014-04-25 Yao Qi <yao@codesourcery.com>
2275 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
2277 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
2278 partial_label and double_label.
2280 2014-04-24 David Blaikie <dblaikie@gmail.com>
2282 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
2284 2014-04-24 David Blaikie <dblaikie@gmail.com>
2286 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
2287 of the function to work across GCC and Clang.
2288 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
2289 pointer types (const void ** const V void **).
2291 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
2292 Walfred Tedeschi <walfred.tedeschi@intel.com>
2294 * Makefile.in (EXECUTABLES): Added i386-avx512.
2295 * gdb.arch/i386-avx512.c: New file.
2296 * gdb.arch/i386-avx512.exp: Likewise.
2298 2014-04-23 Keith Seitz <keiths@redhat.com>
2300 * lib/mi-support.exp (mi_list_breakpoints): Delete.
2301 (mi_make_breakpoint_table): New procedure.
2302 (mi_create_breakpoint): Use mi_make_breakpoint
2303 and return the result.
2304 (mi_make_breakpoint): New procedure.
2305 (mi_build_kv_pairs): New procedure.
2307 * gdb.mi/mi-break.exp: Remove unused globals,
2308 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
2309 All callers updated.
2310 * gdb.mi/mi-dprintf.exp: Use variable to track command
2312 Update all callers of mi_create_breakpoint and use
2313 mi_make_breakpoint_table.
2314 Remove any unused global variables.
2315 * gdb.mi/mi-nonstop.exp: Likewise.
2316 * gdb.mi/mi-nsintrall.exp: Likewise.
2317 * gdb.mi/mi-nsmoribund.exp: Likewise.
2318 * gdb.mi/mi-nsthrexec.exp: Likewise.
2319 * gdb.mi/mi-reverse.exp: Likewise.
2320 * gdb.mi/mi-simplerun.exp: Likewise.
2321 * gdb.mi/mi-stepn.exp: Likewise.
2322 * gdb.mi/mi-syn-frame.exp: Likewise.
2323 * gdb.mi/mi-until.exp: Likewise.
2324 * gdb.mi/mi-var-cp.exp: Likewise.
2325 * gdb.mi/mi-var-display.exp: Likewise.
2326 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2327 * gdb.mi/mi2-var-child.exp: Likewise.
2328 * gdb.mi/mi-vla-c99.exp: Likewise.
2329 * lib/mi-support.exp: Likewise.
2331 From Ian Lance Taylor <iant@cygnus.com>:
2332 * lib/gdb.exp (parse_args): New procedure.
2334 2014-04-23 Pedro Alves <palves@redhat.com>
2336 * gdb.base/break-unload-file.c: New file.
2337 * gdb.base/break-unload-file.exp: New file.
2338 * gdb.base/sym-file-lib.c (baz): New function.
2339 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
2341 (load): Store the segment's mapped size.
2342 (unload): New function.
2343 (unload_shlib): New function.
2344 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
2345 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
2346 set a breakpoint at baz, and call it.
2347 * gdb.base/sym-file.exp: New tests for stale breakpoint
2350 2014-04-23 Pedro Alves <palves@redhat.com>
2352 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
2353 * gdb.base/hbreak-in-shr-unsupported.c: New file.
2354 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
2355 * gdb.base/hbreak-unmapped.c: New file.
2356 * gdb.base/hbreak-unmapped.exp: New file.
2357 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
2358 * lib/gdb.exp (gdb_is_target_remote): ... here.
2360 2014-04-22 Pedro Alves <palves@redhat.com>
2362 * gdb.base/consecutive-step-over.c: New file.
2363 * gdb.base/consecutive-step-over.exp: New file.
2365 2014-04-22 Pedro Alves <palves@redhat.com>
2367 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
2368 instead of send_gdb/gdb_expect.
2370 2014-04-22 Yao Qi <yao@codesourcery.com>
2372 * lib/trace-support.exp (generate_tracefile): New procedure.
2373 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
2375 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
2376 if generate_tracefile returns 1.
2378 2014-04-18 Tom Tromey <palves@redhat.com>
2379 Pedro alves <tromey@redhat.com>
2382 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
2383 with a backtrace limit.
2384 * gdb.python/py-frame-inline.exp: Test running to an inline
2385 function with a backtrace limit, and printing the newest frame.
2386 * gdb.python/py-frame-inline.c (main): Call f.
2388 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2390 * gdb.java/jnpe.exp: Drop srcdir from untested path.
2392 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2394 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
2395 Drop prefix from unsupported source file path.
2397 2014-04-17 Yao Qi <yao@codesourcery.com>
2399 * lib/gdb.exp (with_target_charset): New proc.
2400 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
2401 with_target_charset.
2402 (test_print_strings): Likewise.
2403 (test_repeat_bytes): Likewise.
2404 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
2407 2014-04-16 Keith Seitz <keiths@redhat.com>
2410 * gdb.dwarf2/corrupt.c: New file.
2411 * gdb.dwarf2/corrupt.exp: New file.
2413 2014-04-16 Keith Seitz <keiths@redhat.com>
2416 * gdb.cp/namelessclass.cc: New file.
2417 * gdb.cp/namelessclass.exp: New file.
2418 * gdb.cp/namelessclass.S: New file.
2420 2014-04-16 Doug Evans <dje@google.com>
2422 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
2424 (gdbserver_default_get_comm_port): New function.
2425 (gdbserver_start): Check if board file provided
2426 "gdbserver,get_comm_port" and use it if so.
2427 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
2428 (gdb,socketport): Set to "stdio".
2429 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
2430 (stdio_gdbserver_template): Delete.
2431 (${board}_get_remote_address): Update.
2432 (${board}_build_remote_cmd): Delete.
2433 (${board}_get_comm_port): New function.
2434 (${board}_spawn): Update.
2435 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
2437 (${board}_get_remote_address): Update.
2438 (${board}_get_comm_port): New function.
2440 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
2442 * gdb.base/memattr.exp: Improve regexps to handle memory regions
2443 appearing in any order.
2445 2014-04-15 Doug Evans <dje@google.com>
2447 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
2448 uninitialized value of "description".
2450 2014-04-15 Keith Seitz <keiths@redhat.com>
2452 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
2453 Remove unused globals.
2454 (test_running_the_program): Likewise.
2455 (test_controlled_execution): Likewise.
2456 (test_controlling_breakpoints): Likewise.
2457 (test_program_termination): Likewise.
2459 2014-04-15 Keith Seitz <keiths@redhat.com>
2461 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
2463 (test_rbreak_creation_and_listing): Likewise.
2464 (test_ignore_count): Likewise.
2465 (test_error): Likewise.
2467 2014-04-15 Pedro Alves <palves@redhat.com>
2469 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2470 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2472 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2473 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2474 to sym-file-loader.c.
2475 (struct library): Forward declare.
2476 (load_shlib, lookup_function): Change prototypes.
2477 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2478 (translate_offset): Remove declarations.
2479 (get_text_addr): New declaration.
2480 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2481 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2483 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2484 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2485 here from sym-file-loader.h.
2486 (struct library): New structure.
2487 (load_shlib, lookup_function): Change prototypes and adjust to
2488 work with a struct library.
2489 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2490 (translate_offset): Make static.
2491 (get_text_addr): New function.
2492 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
2494 2014-04-15 Pedro Alves <palves@redhat.com>
2496 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
2498 2014-04-15 Pedro Alves <palves@redhat.com>
2500 * gdb.base/sym-file-loader.c: Include <limits.h>.
2501 (SELF_LINK): New define.
2502 (get_origin): New function.
2503 (load_shlib): Use it.
2504 * gdb.base/sym-file.exp: Don't early return if the target is
2505 remote. Use runto_main, and issue fail is that fails. Use
2507 (shlib_name): Delete.
2508 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
2510 2014-04-15 Pedro Alves <palves@redhat.com>
2512 * gdb.base/sym-file.exp: Remove regex characters from test
2513 message. Don't refer to breakpoint numbers in test messages.
2515 2014-04-14 Keith Seitz <keiths@redhat.com>
2518 * gdb.cp/var-tag.cc: New file.
2519 * gdb.cp/var-tag.exp: New file.
2520 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2521 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2522 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2523 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2525 2014-04-14 Tom Tromey <tromey@redhat.com>
2527 * gdb.cp/classes.exp (test_enums): Handle underlying type.
2528 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
2530 * gdb.cp/enum-class.exp: New file.
2531 * gdb.cp/enum-class.cc: New file.
2533 2014-04-14 Tom Tromey <tromey@redhat.com>
2535 * gdb.dwarf2/enum-type.exp: New file.
2537 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2539 * gdb.mi/mi-vla-c99.exp: New file.
2540 * gdb.mi/vla.c: New file.
2542 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2544 * gdb.base/vla-datatypes.c: New file.
2545 * gdb.base/vla-datatypes.exp: New file.
2547 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2549 * gdb.base/vla-ptr.c: New file.
2550 * gdb.base/vla-ptr.exp: New file.
2552 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2554 * gdb.dwarf2/count.exp: New file.
2556 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2558 * gdb.base/vla-sideeffect.c: New file.
2559 * gdb.base/vla-sideeffect.exp: New file.
2561 2014-04-14 David Blaikie <dblaikie@gmail.com>
2563 * gdb.mi/non-stop.c: Add return value for non-void function return
2565 * gdb.threads/staticthreads.c: Ditto.
2567 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2568 Doug Evans <xdje42@gmail.com>
2570 * gdb.guile/scm-value.c: Improve test case.
2571 * gdb.guile/scm-value.exp: Add new test.
2573 2014-04-11 David Blaikie <dblaikie@gmail.com>
2575 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2576 override Clang's default.
2578 2014-04-11 Joel Brobecker <brobecker@adacore.com>
2580 Revert the following changes (regressions):
2582 * gdb.base/vla-sideeffect.c: New file.
2583 * gdb.base/vla-sideeffect.exp: New file.
2585 * gdb.dwarf2/count.exp: New file.
2587 * gdb.base/vla-multi.c: New file.
2588 * gdb.base/vla-multi.exp: New file.
2590 * gdb.base/vla-ptr.c: New file.
2591 * gdb.base/vla-ptr.exp: New file.
2593 * gdb.base/vla-datatypes.c: New file.
2594 * gdb.base/vla-datatypes.exp: New file.
2596 * gdb.mi/mi-vla-c99.exp: New file.
2597 * gdb.mi/vla.c: New file.
2599 2014-04-11 Keith Seitz <keiths@redhat.com>
2602 * gdb.cp/cpsizeof.exp: New file.
2603 * gdb.cp/cpsizeof.cc: New file.
2605 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2607 * gdb.mi/mi-vla-c99.exp: New file.
2608 * gdb.mi/vla.c: New file.
2610 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2612 * gdb.base/vla-datatypes.c: New file.
2613 * gdb.base/vla-datatypes.exp: New file.
2615 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2617 * gdb.base/vla-ptr.c: New file.
2618 * gdb.base/vla-ptr.exp: New file.
2620 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2622 * gdb.base/vla-multi.c: New file.
2623 * gdb.base/vla-multi.exp: New file.
2625 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2627 * gdb.dwarf2/count.exp: New file.
2629 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2631 * gdb.base/vla-sideeffect.c: New file.
2632 * gdb.base/vla-sideeffect.exp: New file.
2634 2014-04-11 Yao Qi <yao@codesourcery.com>
2636 * gdb.base/completion.exp: Check file exists before running tests
2639 2014-04-10 Pedro Alves <palves@redhat.com>
2641 * gdb.base/cond-eval-mode.c: New file.
2642 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2643 prepare_for_testing to build the new file. Check result of
2645 (test_break, test_watch): New procedures.
2646 (top level): Use them.
2648 2014-04-08 Pierre Muller <muller@sourceware.org>
2650 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2651 Ctrl-V use for mingw hosts.
2653 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2655 * gdb.python/py-value.c: Improve test case.
2656 * gdb.python/py-value.exp: Add new test.
2658 2014-04-07 David Blaikie <dblaikie@gmail.com>
2660 * lib/compiler.c: Identify the clang compiler.
2661 * lib/compiler.cc: Ditto.
2663 2014-04-03 Yao Qi <yao@codesourcery.com>
2665 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2667 2014-04-01 Anton Blanchard <anton@samba.org>
2669 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2672 2014-04-01 Anton Blanchard <anton@samba.org>
2674 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2675 prepare_for_testing.
2677 2014-04-01 Anton Blanchard <anton@samba.org>
2679 * gdb.arch/ppc64-atomic-inst.c: Remove.
2680 * gdb.arch/ppc64-atomic-inst.S: New file.
2681 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2683 2014-03-31 Doug Evans <dje@google.com>
2685 * gdb.base/print-symbol-loading-lib.c: New file.
2686 * gdb.base/print-symbol-loading-main.c: New file.
2687 * gdb.base/print-symbol-loading.exp: New file.
2689 2014-03-31 Yao Qi <yao@codesourcery.com>
2691 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2693 2014-03-28 Joel Brobecker <brobecker@adacore.com>
2695 * gdb.ada/mi_dyn_arr: New testcase.
2697 2014-03-27 Doug Evans <dje@google.com>
2699 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2701 2014-03-27 Yao Qi <yao@codesourcery.com>
2703 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2704 if target is nios2-*-*.
2706 2014-03-26 Yao Qi <yao@codesourcery.com>
2708 * lib/gdb.exp (readline_is_used): New proc.
2709 * gdb.base/completion.exp: Move tests on command complete up.
2710 Skip the rest of tests if readline is not used.
2711 * gdb.ada/complete.exp: Skp the test if readline is not
2713 * gdb.base/filesym.exp: Likewise.
2714 * gdb.base/macscp.exp: Likewise.
2715 * gdb.base/readline-ask.exp: Likewise.
2716 * gdb.base/readline.exp: Likewise.
2717 * gdb.python/py-cmd.exp: Likewise.
2718 * gdb.trace/tfile.exp: Likewise.
2720 2014-03-26 Yao Qi <yao@codesourcery.com>
2722 * gdb.base/macscp.exp: Fix code format issues.
2724 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2726 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2727 * gdb.asm/powerpc64le.inc: New file.
2729 2014-03-25 Pedro Alves <palves@redhat.com>
2730 Doug Evans <dje@google.com>
2732 * gdb.base/source-execution.c: New file.
2733 * gdb.base/source-execution.exp: New file.
2734 * gdb.base/source-execution.gdb: New file.
2736 2014-03-24 Doug Evans <dje@google.com>
2738 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2741 2014-03-24 Hui Zhu <hui@codesourcery.com>
2742 Pedro Alves <palves@redhat.com>
2744 PR breakpoints/16101
2745 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2746 test pass/fail messages. Detect missing support for dprintf when
2747 breakpoints are actually inserted.
2748 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2749 breakpoints are actually inserted.
2750 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2753 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2755 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2757 2014-03-22 Doug Evans <xdje42@gmail.com>
2759 * gdb.python/python.exp (python not supported): Verify multi-line
2760 python command issues an error.
2761 * gdb.guile/guile.exp (guile not supported): Verify multi-line
2762 guile command issues an error.
2764 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2766 * gdb.threads/thread-specific.exp: Handle the lack of usable
2767 $this_breakpoint and $this_thread.
2769 2014-03-21 Hui Zhu <hui@codesourcery.com>
2771 * gdb.base/attach.exp (do_command_attach_tests): New.
2773 2014-03-20 Tom Tromey <tromey@redhat.com>
2774 Pedro Alves <palves@redhat.com>
2777 * gdb.base/condbreak-call-false.c: New file.
2778 * gdb.base/condbreak-call-false.exp: New file.
2780 2014-03-20 Pedro Alves <palves@redhat.com>
2782 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2784 (block_signals, unblock_signals): Delete.
2785 (child_function_2, main): Remove references to deleted variable
2788 2014-03-20 Pedro Alves <palves@redhat.com>
2790 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2791 Use pthread_kill to signal thread 2.
2792 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2793 Adjust to make the test send itself a signal rather than using the
2794 host's "kill" command.
2796 2014-03-20 Pedro Alves <palves@redhat.com>
2798 * gdb.threads/multiple-step-overs.c: New file.
2799 * gdb.threads/multiple-step-overs.exp: New file.
2800 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2801 Adjust expected infrun debug output.
2803 2014-03-20 Pedro Alves <palves@redhat.com>
2805 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2806 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2808 2014-03-20 Pedro Alves <palves@redhat.com>
2811 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2812 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2813 of gdb_test_multiple.
2814 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2815 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2817 2014-03-20 Pedro Alves <palves@redhat.com>
2819 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2820 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2822 2014-03-19 Pedro Alves <palves@redhat.com>
2824 * gdb.base/async.exp: Remove early return.
2826 2014-03-19 Pedro Alves <palves@redhat.com>
2828 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2830 2014-03-19 Pedro Alves <palves@redhat.com>
2832 * gdb.base/async.exp (test_background): Expect \r\n after
2833 "completed." in the fail pattern.
2835 2014-03-19 Pedro Alves <palves@redhat.com>
2837 * gdb.base/async.exp (test_background): New procedure.
2838 Use it for all background execution command tests.
2840 2014-03-19 Pedro Alves <palves@redhat.com>
2842 * gdb.base/async.exp: Use prepare_for_testing.
2844 2014-03-19 Pedro Alves <palves@redhat.com>
2846 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2849 2014-03-19 Pedro Alves <palves@redhat.com>
2851 * gdb.base/async.c (main): Add "jump here" and "until here" line
2853 * gdb.base/async.exp (jump_here): New global.
2854 (jump& test): Use it.
2855 (until_here): New global.
2856 (until& test): Use it.
2858 2014-03-19 Pedro Alves <palves@redhat.com>
2860 * gdb.base/async.exp: Don't frob gdb_protocol.
2862 2014-03-18 Doug Evans <xdje42@gmail.com>
2864 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2865 Fix spelling of exec-done-display.
2867 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2870 * gdb.base/gdb-sigterm.c: New file.
2871 * gdb.base/gdb-sigterm.exp: New file.
2873 2014-03-18 Pedro Alves <palves@redhat.com>
2876 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2877 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2880 2014-03-17 Joel Brobecker <brobecker@adacore.com>
2882 * gdb.ada/pckd_arr_ren: New testcase.
2884 2014-03-13 Doug Evans <xdje42@gmail.com>
2887 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2888 collect after discarding symbols.
2890 2014-03-13 Ludovic Courtès <ludo@gnu.org>
2891 Doug Evans <xdje42@gmail.com>
2893 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2894 to history survives a gc.
2896 2014-03-13 Pedro Alves <palves@redhat.com>
2898 * gdb.base/default.exp: Don't test "target procfs".
2900 2014-03-13 Pedro Alves <palves@redhat.com>
2902 * gdb.base/default.exp: Update "target child" and "target procfs"
2903 tests to not expect "Unix".
2905 2014-03-12 Tom Tromey <tromey@redhat.com>
2907 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2908 New procs. Add target-async tests.
2909 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2910 Add target-async tests.
2912 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2914 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2915 'func_start' and 'func_end' for the beginning and end of the
2916 function code, respectively.
2917 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2918 'func_end' instead of 'func' and 'main'.
2920 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2922 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2923 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2924 generate the debug info assembler source.
2926 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2928 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2929 * gdb.dwarf2/arr-subrange.exp: Likewise.
2930 * gdb.dwarf2/dwz.exp: Likewise.
2931 * gdb.dwarf2/method-ptr.exp: Likewise.
2932 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2933 * gdb.dwarf2/subrange.exp: Likewise.
2934 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2935 * gdb.dwarf2/implptrpiece.exp: Likewise.
2936 * gdb.dwarf2/nostaticblock.exp: Likewise.
2938 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2940 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2941 directory to absolute path name arguments.
2943 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2945 * gdb.ada/tagged_access: New testcase.
2947 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2949 * gdb.btrace/data.exp: Update expected output.
2951 2014-03-06 Yao Qi <yao@codesourcery.com>
2953 * gdb.trace/pr16508.exp: New file.
2955 2014-03-05 Pedro Alves <palves@redhat.com>
2958 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2960 (top level): Adjust to use it. Add tests that exercise breakpoint
2961 interaction with the code-cache.
2963 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2965 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2966 test for 'history-append!'.
2968 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2970 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2971 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2972 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2973 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2974 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2975 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2977 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2979 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2980 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2981 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2983 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2985 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2987 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2989 * gdb.dwarf2/arr-stride.c: New file.
2990 * gdb.dwarf2/arr-stride.exp: New file.
2992 2014-02-26 Pedro Alves <palves@redhat.com>
2994 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2995 that won't ever trigger. Make sure that GDB reports the correct
2996 breakpoint that caused the stop.
2998 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3001 * gdb.base/auto-load-script: New file.
3002 * gdb.base/auto-load.c: New file.
3003 * gdb.base/auto-load.exp: New file.
3006 * gdb.base/auto-load.exp: Fix out-of-srctree run.
3008 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3010 Fix dw2-icycle.exp -fsanitize=address GDB crash.
3011 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
3013 2014-02-24 Doug Evans <dje@google.com>
3015 * lib/gdb.exp (run_on_host): Log error output if program fails.
3017 2014-02-21 Pedro Alves <palves@redhat.com>
3019 * gdb.threads/step-after-sr-lock.c: Rename to ...
3020 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
3021 * gdb.threads/step-after-sr-lock.exp: Rename to ...
3022 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3025 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
3028 * gdb.arch/amd64-stap-special-operands.exp: New file.
3029 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
3030 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
3031 * gdb.arch/amd64-stap-triplet.S: Likewise.
3032 * gdb.arch/amd64-stap-triplet.c: Likewise.
3034 2014-02-20 Joel Brobecker <brobecker@adacore.com>
3036 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
3037 in .section pseudo-op.
3039 2014-02-20 lin zuojian <manjian2006@gmail.com>
3040 Joel Brobecker <brobecker@adacore.com>
3041 Doug Evans <xdje42@gmail.com>
3044 * gdb.dwarf2/dw2-icycle.S: New file.
3045 * gdb.dwarf2/dw2-icycle.c: New file.
3046 * gdb.dwarf2/dw2-icycle.exp: New file.
3048 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
3050 * gdb.python/py-value-cc.cc: Improve test case to enable testing
3051 operations on gdb.Value objects.
3052 * gdb.python/py-value-cc.exp: Add new test to test operations on
3055 2014-02-18 Doug Evans <dje@google.com>
3057 * Makefile.in (TESTS): New variable.
3058 (expanded_tests, expanded_tests_or_none): New variables
3059 (check-single): Pass $(expanded_tests_or_none) to runtest.
3060 (check-parallel): Only run tests in $(TESTS) if non-empty.
3061 (check/no-matching-tests-found): New rule.
3062 * README: Document TESTS makefile variable.
3064 2014-02-18 Doug Evans <dje@google.com>
3066 * Makefile.in (check-parallel): rm -rf outputs temp.
3068 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3070 Fix "ERROR: no fileid for" in the testsuite.
3071 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
3073 2014-02-12 Doug Evans <dje@google.com>
3075 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
3076 (MISCELLANEOUS): New variable.
3077 (clean): rm -rf $(MISCELLANEOUS).
3078 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
3079 dwp live in the same directory as symlinks, with each symlink pointed
3080 to a differently named file in a different directory.
3082 2014-02-11 Doug Evans <dje@google.com>
3084 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
3085 of Tcl file commands.
3087 2014-02-10 Mark Kettenis <kettenis@gnu.org>
3089 * gdb.threads/step-after-sr-lock.exp: Avoid executing
3092 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3094 * gdb.ada/tick_length_array_enum_idx: New testcase.
3096 2014-02-10 Doug Evans <xdje42@gmail.com>
3098 * configure.ac (AC_OUTPUT): Add gdb.guile.
3099 * configure: Regenerate.
3100 * lib/gdb-guile.exp: New file.
3101 * lib/gdb.exp (get_target_charset): New function.
3102 * gdb.base/help.exp: Update expected output from "apropos apropos".
3103 * gdb.guile/Makefile.in: New file.
3104 * gdb.guile/guile.exp: New file.
3105 * gdb.guile/scm-arch.c: New file.
3106 * gdb.guile/scm-arch.exp: New file.
3107 * gdb.guile/scm-block.c: New file.
3108 * gdb.guile/scm-block.exp: New file.
3109 * gdb.guile/scm-breakpoint.c: New file.
3110 * gdb.guile/scm-breakpoint.exp: New file.
3111 * gdb.guile/scm-disasm.c: New file.
3112 * gdb.guile/scm-disasm.exp: New file.
3113 * gdb.guile/scm-equal.c: New file.
3114 * gdb.guile/scm-equal.exp: New file.
3115 * gdb.guile/scm-error.exp: New file.
3116 * gdb.guile/scm-error.scm: New file.
3117 * gdb.guile/scm-frame-args.c: New file.
3118 * gdb.guile/scm-frame-args.exp: New file.
3119 * gdb.guile/scm-frame-args.scm: New file.
3120 * gdb.guile/scm-frame-inline.c: New file.
3121 * gdb.guile/scm-frame-inline.exp: New file.
3122 * gdb.guile/scm-frame.c: New file.
3123 * gdb.guile/scm-frame.exp: New file.
3124 * gdb.guile/scm-generics.exp: New file.
3125 * gdb.guile/scm-gsmob.exp: New file.
3126 * gdb.guile/scm-iterator.c: New file.
3127 * gdb.guile/scm-iterator.exp: New file.
3128 * gdb.guile/scm-math.c: New file.
3129 * gdb.guile/scm-math.exp: New file.
3130 * gdb.guile/scm-objfile-script-gdb.in: New file.
3131 * gdb.guile/scm-objfile-script.c: New file.
3132 * gdb.guile/scm-objfile-script.exp: New file.
3133 * gdb.guile/scm-objfile.c: New file.
3134 * gdb.guile/scm-objfile.exp: New file.
3135 * gdb.guile/scm-ports.exp: New file.
3136 * gdb.guile/scm-pretty-print.c: New file.
3137 * gdb.guile/scm-pretty-print.exp: New file.
3138 * gdb.guile/scm-pretty-print.scm: New file.
3139 * gdb.guile/scm-section-script.c: New file.
3140 * gdb.guile/scm-section-script.exp: New file.
3141 * gdb.guile/scm-section-script.scm: New file.
3142 * gdb.guile/scm-symbol.c: New file.
3143 * gdb.guile/scm-symbol.exp: New file.
3144 * gdb.guile/scm-symtab-2.c: New file.
3145 * gdb.guile/scm-symtab.c: New file.
3146 * gdb.guile/scm-symtab.exp: New file.
3147 * gdb.guile/scm-type.c: New file.
3148 * gdb.guile/scm-type.exp: New file.
3149 * gdb.guile/scm-value-cc.cc: New file.
3150 * gdb.guile/scm-value-cc.exp: New file.
3151 * gdb.guile/scm-value.c: New file.
3152 * gdb.guile/scm-value.exp: New file.
3153 * gdb.guile/source2.scm: New file.
3154 * gdb.guile/types-module.cc: New file.
3155 * gdb.guile/types-module.exp: New file.
3157 2014-02-10 Yao Qi <yao@codesourcery.com>
3160 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
3161 * configure: Regenerated.
3162 * Makefile.in: New file.
3164 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3166 * gdb.python/py-framefilter.exp: Fix typo.
3168 2014-02-08 Yao Qi <yao@codesourcery.com>
3170 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
3171 that no =breakpoint-modified is emitted when breakpoints are
3172 modified through MI commands.
3174 2014-02-07 Pedro Alves <pedro@codesourcery.com>
3175 Pedro Alves <palves@redhat.com>
3177 * gdb.threads/step-after-sr-lock.c: New file.
3178 * gdb.threads/step-after-sr-lock.exp: New file.
3180 2014-02-07 Pedro Alves <palves@redhat.com>
3182 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
3184 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3186 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
3187 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
3189 2014-02-06 Doug Evans <xdje42@gmail.com>
3191 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
3194 * gdb.gdb/python-interrupts.exp: New file.
3196 2014-02-05 Yao Qi <yao@codesourcery.com>
3198 * gdb.trace/report.exp (use_collected_data): Test the output
3199 of "info threads" and "info inferiors".
3201 2014-02-05 Yao Qi <yao@codesourcery.com>
3205 2013-05-24 Yao Qi <yao@codesourcery.com>
3207 * gdb.trace/tfile.exp: Test inferior and thread.
3209 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3211 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
3213 * gdb.base/step-bt.c: Call hello via function pointer to make
3214 sure its first instruction is executed on powerpc64le-linux.
3216 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3218 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
3220 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3222 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
3223 of the test patterns for use on little-endian systems.
3225 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3227 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
3228 (decimal_vector): Fix for little-endian.
3230 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3232 * gdb.arch/sparc-sysstep.exp: New file.
3233 * gdb.arch/sparc-sysstep.c: Likewise.
3235 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
3237 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3239 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
3241 2014-01-23 Tom Tromey <tromey@redhat.com>
3243 * gdb.ada/array_char_idx: New testcase.
3245 2014-01-23 Tom Tromey <tromey@redhat.com>
3248 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
3249 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
3252 2014-01-23 Tom Tromey <tromey@redhat.com>
3255 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
3256 string from an inferior frame.
3257 * gdb.python/py-framefilter-mi.exp: Update.
3259 2014-01-22 Doug Evans <dje@google.com>
3261 * gdb.server/server-mon.exp: Add tests for "set debug-format".
3263 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3265 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
3267 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3269 * gdb.trace/entry-values.exp: Remove excess space character from
3270 regex patterns. Handle s390 call instruction.
3272 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3274 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
3275 define "*_start" label. Make "name" static.
3276 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
3277 ${name} by references to ${name}_start.
3279 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3281 * gdb.base/info-macros.exp: Remove "debug" from the compile
3284 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3286 * gdb.dlang/demangle.exp: New file.
3288 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3290 * gdb.dlang/primitive-types.exp: New file.
3292 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3294 * configure.ac: Create gdb.dlang/Makefile.
3295 * configure: Regenerate.
3296 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
3297 * gdb.dlang/Makefile.in: New file.
3298 * lib/d-support.exp: New file.
3299 * lib/gdb.exp (skip_d_tests): New proc.
3301 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3303 * gdb.btrace/delta.exp: Check reverse stepi.
3304 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
3305 * gdb.btrace/finish.exp: New.
3306 * gdb.btrace/next.exp: New.
3307 * gdb.btrace/nexti.exp: New.
3308 * gdb.btrace/record_goto.c: Add comments.
3309 * gdb.btrace/step.exp: New.
3310 * gdb.btrace/stepi.exp: New.
3311 * gdb.btrace/multi-thread-step.c: New.
3312 * gdb.btrace/multi-thread-step.exp: New.
3313 * gdb.btrace/rn-dl-bind.c: New.
3314 * gdb.btrace/rn-dl-bind.exp: New.
3315 * gdb.btrace/data.c: New.
3316 * gdb.btrace/data.exp: New.
3317 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3319 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3321 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
3322 * gdb.btrace/exception.exp: Update.
3323 * gdb.btrace/instruction_history.exp: Update.
3324 * gdb.btrace/record_goto.exp: Update.
3325 * gdb.btrace/tailcall.exp: Update.
3326 * gdb.btrace/unknown_functions.exp: Update.
3327 * gdb.btrace/delta.exp: New.
3329 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3331 * gdb.btrace/record_goto.exp: Add backtrace test.
3332 * gdb.btrace/tailcall.exp: Add backtrace test.
3334 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3336 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
3337 * gdb.btrace/record_goto.c: New.
3338 * gdb.btrace/record_goto.exp: New.
3339 * gdb.btrace/x86-record_goto.S: New.
3341 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3343 * gdb.btrace/function_call_history.exp: Update tests.
3344 * gdb.btrace/instruction_history.exp: Update tests.
3346 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3348 * gdb.btrace/function_call_history.exp: Fix expected field
3349 order for "record function-call-history".
3350 Add new tests for "record function-call-history /c".
3351 * gdb.btrace/exception.cc: New.
3352 * gdb.btrace/exception.exp: New.
3353 * gdb.btrace/tailcall.exp: New.
3354 * gdb.btrace/x86-tailcall.S: New.
3355 * gdb.btrace/x86-tailcall.c: New.
3356 * gdb.btrace/unknown_functions.c: New.
3357 * gdb.btrace/unknown_functions.exp: New.
3358 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3360 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3362 * gdb.btrace/instruction_history.exp: Update.
3363 * gdb.btrace/function_call_history.exp: Update.
3365 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3367 * gdb.btrace/function_call_history.exp: Fix expected function
3369 * gdb.btrace/instruction_history.exp: Initialize traced.
3370 Remove traced_functions.
3372 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3374 * gdb.btrace/function_call_history.exp: Update
3375 * gdb.btrace/instruction_history.exp: Update.
3377 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3379 * gdb.btrace/enable.exp: Update expected text.
3381 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
3383 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
3386 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
3388 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
3390 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3392 * lib/gdb.exp (supports_process_record): Return true for
3393 arm*-linux*. (supports_reverse): Likewise.
3395 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3399 * gdb.python/py-type.c: Enhance test case.
3400 * gdb.python/py-value-cc.cc: Likewise
3401 * gdb.python/py-type.exp: Add new tests.
3402 * gdb.python/py-value-cc.exp: Likewise
3404 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3405 Pedro Alves <palves@redhat.com>
3407 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
3409 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
3410 references to ${name}_start by references to ${name}.
3412 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3414 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
3416 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3418 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
3420 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
3421 Pedro Alves <palves@redhat.com>
3423 * gdb.mi/mi-info-os.exp: Connect to the target with
3426 2014-01-08 Pedro Alves <palves@redhat.com>
3428 * gdb.threads/reconnect-signal.c: New file.
3429 * gdb.threads/reconnect-signal.exp: New file.
3431 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3433 * gdb.base/source-dir.exp: New file.
3435 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3437 * gdb.ada/mi_interface: New testcase.
3439 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3441 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
3442 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
3443 gdb.ada/pp-rec-component/pck.ads: New files.
3445 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3447 * gdb.python/py-pp-integral.c: New file.
3448 * gdb.python/py-pp-integral.py: New file.
3449 * gdb.python/py-pp-integral.exp: New file.
3451 For older changes see ChangeLog-1993-2013.
3457 ;; version-control: never
3460 Copyright 2014 Free Software Foundation, Inc.
3461 Copying and distribution of this file, with or without modification,
3462 are permitted provided the copyright notice and this notice are preserved.