1 2014-11-14 Yao Qi <yao@codesourcery.com>
3 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4 produce debug information.
5 * gdb.dwarf2/implptr-optimized-out.S: Removed.
7 2014-11-14 Yao Qi <yao@codesourcery.com>
9 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
10 object and get function length.
11 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
13 (top-level): Replace gdb_compile and clean_restart with
15 * gdb.dwarf2/main.c (main): Add label main_label.
17 2014-11-14 Yao Qi <yao@codesourcery.com>
19 * lib/dwarf.exp (function_range): New procedure.
20 (Dwarf::_handle_macro_at_func): New procedure.
21 (Dwarf::_handle_macro_at_range): New procedure.
22 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
24 2014-11-14 Yao Qi <yao@codesourcery.com>
26 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
27 (_handle_attribute): New procedure.
29 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
31 * gdb.ada/cond_lang/foo.c (callme): Add return type.
32 * gdb.base/call-sc.c (zed): Likewise.
33 * gdb.base/checkpoint.c (main): Likewise.
34 * gdb.base/dump.c (main): Likewise.
35 * gdb.base/gcore.c (main): Likewise.
36 * gdb.base/huge.c (main): Likewise.
37 * gdb.base/multi-forks.c (main): Likewise.
38 * gdb.base/pr10179-a.c (main): Likewise.
39 * gdb.base/savedregs.c (main): Likewise.
40 * gdb.base/sigaltstack.c (main): Likewise.
41 * gdb.base/siginfo.c (main): Likewise.
42 * gdb.base/structs.c (zed): Likewise.
43 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
44 * gdb.mi/mi-syn-frame.c (main): Likewise.
45 * gdb.mi/until.c (foo, main): Likewise.
46 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
47 * gdb.base/solib-weak.c (foo): Declare.
48 * gdb.base/attach-twice.c: Include stdio.h.
49 * gdb.base/weaklib1.c: Likewise.
50 * gdb.base/weaklib2.c: Likewise.
51 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
52 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
54 * gdb.base/attach-pie-misread.c: Include stdlib.h.
55 * gdb.mi/mi-exit-code.c: Likewise.
56 * gdb.base/break-interp-lib.c: Include string.h.
57 * gdb.base/coremaker.c: Likewise.
58 * gdb.base/testenv.c: Likewise.
59 * gdb.python/py-finish-breakpoint.c: Likewise.
60 * gdb.base/inferior-died.c: Include sys/wait.h.
61 * gdb.base/fileio.c: Include time.h.
62 * gdb.base/async-shell.c: Include unistd.h.
63 * gdb.base/dprintf-non-stop.c: Likewise.
64 * gdb.base/info-os.c: Likewise.
65 * gdb.mi/mi-console.c: Likewise.
66 * gdb.mi/watch-nonstop.c: Likewise.
67 * gdb.python/py-events.c: Likewise.
68 * gdb.base/async.c (baz): Move up before its invocation.
69 * gdb.base/code_elim2.c (my_global_func): Likewise.
70 * gdb.base/skip-solib-lib.c (multiply): Likewise.
71 * gdb.base/advance.c (func2): Likewise.
73 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
75 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
77 * gdb.base/annota3.c: Likewise.
78 * gdb.base/async.c: Likewise.
79 * gdb.base/average.c: Likewise.
80 * gdb.base/call-ar-st.c: Likewise.
81 * gdb.base/call-rt-st.c: Likewise.
82 * gdb.base/call-sc.c: Likewise.
83 * gdb.base/call-strs.c: Likewise.
84 * gdb.base/ending-run.c: Likewise.
85 * gdb.base/execd-prog.c: Likewise.
86 * gdb.base/exprs.c: Likewise.
87 * gdb.base/foll-exec.c: Likewise.
88 * gdb.base/foll-fork.c: Likewise.
89 * gdb.base/foll-vfork.c: Likewise.
90 * gdb.base/funcargs.c: Likewise.
91 * gdb.base/gcore.c: Likewise.
92 * gdb.base/jump.c: Likewise.
93 * gdb.base/langs0.c: Likewise.
94 * gdb.base/langs1.c: Likewise.
95 * gdb.base/langs2.c: Likewise.
96 * gdb.base/mips_pro.c: Likewise.
97 * gdb.base/nodebug.c: Likewise.
98 * gdb.base/opaque0.c: Likewise.
99 * gdb.base/opaque1.c: Likewise.
100 * gdb.base/recurse.c: Likewise.
101 * gdb.base/run.c: Likewise.
102 * gdb.base/scope0.c: Likewise.
103 * gdb.base/scope1.c: Likewise.
104 * gdb.base/setshow.c: Likewise.
105 * gdb.base/setvar.c: Likewise.
106 * gdb.base/shmain.c: Likewise.
107 * gdb.base/shr1.c: Likewise.
108 * gdb.base/shr2.c: Likewise.
109 * gdb.base/sigall.c: Likewise.
110 * gdb.base/signals.c: Likewise.
111 * gdb.base/so-indr-cl.c: Likewise.
112 * gdb.base/solib2.c: Likewise.
113 * gdb.base/structs.c: Likewise.
114 * gdb.base/sum.c: Likewise.
115 * gdb.base/vforked-prog.c: Likewise.
116 * gdb.base/watchpoint.c: Likewise.
117 * gdb.reverse/shr2.c: Likewise.
118 * gdb.reverse/until-reverse.c: Likewise.
119 * gdb.reverse/ur1.c: Likewise.
120 * gdb.reverse/watch-reverse.c: Likewise.
122 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
124 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
126 * gdb.base/sepdebug.exp: Drop references to removed code.
128 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
130 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
131 variant. Preserve original line numbering.
132 * gdb.base/list1.c: Likewise.
134 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
136 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
138 * gdb.base/break1.c: Likewise.
139 * gdb.base/break.exp: Drop references to removed code.
141 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
143 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
146 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
148 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
150 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
152 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
153 logic into perform_all_tests() and invoke it with and without
154 function header prototypes.
155 (do_function_calls): Remove conditional XFAIL for PR 5318.
156 (rerun_and_prepare): Remove duplicate code.
157 (perform_all_tests): New. Main logic moved here.
159 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
161 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
162 code guarded by #ifdef NO_PROTOTYPES.
163 (t_double_many_args): Likewise.
164 (DEF_FUNC_MANY_ARGS_1): Likewise.
165 (DEF_FUNC_VALUES_1): Likewise.
166 (t_structs_ldc): Renamed from t_structs_fc in conditional code
167 guarded by #ifdef PROTOTYPES.
169 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
171 * gdb.mi/mi-console.c: Add eye-catcher.
172 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
173 instead of literal line number.
175 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
177 * gdb.base/shr2.c: Add eye-catcher.
178 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
181 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
183 * gdb.base/jump.c: Add eye-catchers.
184 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
187 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
189 * gdb.base/execd-prog.c: Add eye-catchers.
190 * gdb.base/foll-exec.c: Likewise.
191 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
194 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
196 * gdb.base/ending-run.c: Add eye-catchers.
197 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
198 literal line numbers.
200 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
202 * gdb.base/call-rt-st.c: Add eye-catchers.
203 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
204 literal line numbers.
206 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
208 * gdb.base/call-ar-st.c: Add eye-catchers.
209 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
210 literal line numbers.
212 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
214 * gdb.base/average.c: Add eye-catchers.
215 * gdb.base/sum.c: Likewise.
216 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
219 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
221 * gdb.base/solib1.c: Add eye-catchers.
222 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
223 literal line numbers.
225 2014-11-12 Pedro Alves <palves@redhat.com>
227 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
230 2014-11-12 Pedro Alves <palves@redhat.com>
232 * gdb.arch/i386-bp_permanent.c: New file.
233 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
234 (srcfile): Set to i386-bp_permanent.c.
235 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
236 that stepi does not execute the 'leave' instruction, instead of
237 testing it does execute.
238 * gdb.base/bp-permanent.c: New file.
239 * gdb.base/bp-permanent.exp: New file.
241 2014-11-10 Doug Evans <xdje42@gmail.com>
244 * gdb.base/symtab-search-order.exp: New file.
245 * gdb.base/symtab-search-order.c: New file.
246 * gdb.base/symtab-search-order-1.c: New file.
247 * gdb.base/symtab-search-order-shlib-1.c: New file.
249 2014-11-07 Pedro Alves <palves@redhat.com>
252 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
255 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
258 * gdb.cp/pr17494.cc: New file.
259 * gdb.cp/pr17494.exp: New file.
261 2014-11-02 Yao Qi <yao@codesourcery.com>
263 * gdb.python/python.exp: Get working directory and match the
264 output of "set extended-prompt \\w " with it.
266 2014-10-30 Doug Evans <dje@google.com>
268 * gdb.python/py-objfile.exp: Add tests for setting random attributes
270 * gdb.python/py-progspace.exp: Add tests for setting random attributes
273 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
275 * gdb.base/fullpath-expand.exp: Skip for a remote host.
276 * gdb.base/realname-expand.exp: Likewise.
277 * gdb.linespec/macro-relative.exp: Likewise.
279 2014-10-29 Pedro Alves <palves@redhat.com>
282 * gdb.threads/schedlock.c (some_function): New function.
283 (call_function): New global.
284 (MAYBE_CALL_SOME_FUNCTION): New macro.
285 (thread_function): Call it.
286 * gdb.threads/schedlock.exp (get_args): Add description parameter,
287 and use it instead of a global counter. Adjust all callers.
288 (get_current_thread): Use "find current thread" for test message
289 here rather than having all callers pass down the same string.
290 (goto_loop): New procedure, factored out from ...
291 (my_continue): ... this.
292 (step_ten_loops): Change parameter from test message to command to
294 (list_count): Delete global.
295 (check_result): New procedure, factored out from duplicate top
297 (continue tests): Wrap in with_test_prefix.
298 (test_step): New procedure, factored out from duplicate top level
300 (top level): Test "step" in combination with all scheduler-locking
301 modes. Test "next" in combination with all scheduler-locking
302 modes, and in combination with stepping over a function call or
304 * gdb.threads/next-bp-other-thread.c: New file.
305 * gdb.threads/next-bp-other-thread.exp: New file.
307 2014-10-29 Pedro Alves <palves@redhat.com>
310 * gdb.python/python.exp: Test a multi-line command that spawns
312 * gdb.base/multi-line-starts-subshell.exp: New file.
314 2014-10-29 Yao Qi <yao@codesourcery.com>
316 * gdb.base/fileio.exp: Make directories on host.
318 2014-10-29 Yao Qi <yao@codesourcery.com>
320 * gdb.base/fileio.c (test_write): Close the file.
322 2014-10-28 Pedro Alves <palves@redhat.com>
325 * gdb.base/sigstep.c (no_handler): New global.
326 (main): If 'no_handler is true, set the signal handlers to
328 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
329 with_sw_watch and no_handler parameters. Handle them.
330 (top level) <stepping over handler when stopped at a breakpoint
331 test>: Add a test axis for testing with a software watchpoint, and
332 another for testing with the signal handler set to SIG_IGN.
333 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
334 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
336 2014-10-28 Pedro Alves <palves@redhat.com>
339 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
340 * gdb.base/sigstep.exp (other_handler_location): New global.
341 (advance): Support stepping into the signal handler, and running
342 commands while in the handler.
343 (in_handler_map): New global.
344 (top level): In the advance test, add combinations for getting
345 into the handler with stepping commands, and for running commands
346 in the handler. Add comment descripting the advancei tests.
348 2014-10-28 Pedro Alves <palves@redhat.com>
350 * gdb.base/sigstep.exp: Use build_executable instead of
352 (top level): Move code that starts GDB, runs to main and creates a
354 (restart): ... this new procedure.
355 (top level): Move backtrace from signal handler test to ...
356 (validate_backtrace): ... this new procedure.
357 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
358 with_test_prefix. Always restart GDB.
359 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
360 with_test_prefix. Always restart GDB. No need to delete
361 breakpoints after the test.
362 (test_skip_handler): Remove prefix parameter.
363 (skip_over_handler, breakpoint_to_handler)
364 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
365 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
366 restart GDB. No need to delete breakpoints after the test.
367 (top level): Use foreach to call the test procedures with
370 2014-10-28 Pedro Alves <palves@redhat.com>
372 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
373 instead of GNATS numbers.
374 * gdb.base/sigbpt.exp: Likewise.
375 * gdb.base/siginfo.exp: Likewise.
376 * gdb.base/sigstep.exp: Likewise.
378 2014-10-27 Pedro Alves <palves@redhat.com>
380 * gdb.base/sigstep.c (dummy): New global.
381 (main): Issue a couple writes to the new global.
382 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
384 (skip_over_handler): Use test_skip_handler.
385 (top level): Call skip_over_handler for stepi and nexti too.
386 (breakpoint_over_handler): Use test_skip_handler.
387 (top level): Call breakpoint_over_handler for stepi and nexti too.
389 2014-10-27 Yao Qi <yao@codesourcery.com>
391 * gdb.trace/tfile.c (adjust_function_address)
392 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
395 2014-10-24 Don Breazeal <donb@codesourcery.com>
397 * gdb.base/foll-fork.exp (test_follow_fork,
398 catch_fork_child_follow): Check for updated fork messages emitted
400 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
401 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
402 vfork_and_exec_child_follow_through_step): Check for updated vfork
403 messages emitted from infrun.c.
405 2014-10-24 Pedro Alves <palves@redhat.com>
407 * gdb.base/corefile.exp: Remove references to ultrix.
408 * gdb.base/interrupt.exp: Likewise.
409 * gdb.base/whatis.exp: Likewise.
410 * gdb.gdb/selftest.exp: Likewise.
411 * gdb.threads/manythreads.exp: Likewise.
412 * gdb.threads/print-threads.exp: Likewise.
413 * gdb.threads/pthreads.exp:: Likewise.
414 * gdb.threads/schedlock.exp: Likewise.
416 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
418 * gdb.cp/non-trivial-retval.cc: Add a test case.
419 * gdb.cp/non-trivial-retval.exp: Add a test.
421 2014-10-20 Yao Qi <yao@codesourcery.com>
423 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
424 * gdb.python/py-objfile-script-gdb.py: New file.
425 * gdb.python/py-objfile-script.exp: Update reference to
426 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
427 of remote_download. Remove the dest file.
429 2014-10-20 Yao Qi <yao@codesourcery.com>
431 * gdb.base/checkpoint.exp: Don't remove file copied on host.
432 * gdb.base/step-line.exp: Likewise.
433 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
434 * gdb.dwarf2/dw2-basic.exp: Likewise.
435 * gdb.dwarf2/dw2-compressed.exp: Likewise.
436 * gdb.dwarf2/dw2-filename.exp: Likewise.
437 * gdb.dwarf2/dw2-intercu.exp: Likewise.
438 * gdb.dwarf2/dw2-intermix.exp: Likewise.
439 * gdb.dwarf2/dw2-producer.exp: Likewise.
440 * gdb.dwarf2/mac-fileno.exp: Likewise.
441 * gdb.python/py-frame-args.exp: Likewise.
442 * gdb.python/py-framefilter.exp: Likewise.
443 * gdb.python/py-mi.exp: Likewise.
444 * gdb.python/py-objfile-script.exp: Likewise
445 * gdb.python/py-pp-integral.exp: Likewise.
446 * gdb.python/py-pp-re-notag.exp: Likewise.
447 * gdb.python/py-prettyprint.exp: Likewise.
448 * gdb.python/py-section-script.exp: Likewise.
449 * gdb.python/py-typeprint.exp: Likewise.
450 * gdb.python/py-xmethods.exp: Likewise.
451 * gdb.stabs/weird.exp: Likewise.
452 * gdb.xml/tdesc-regs.exp: Likewise.
454 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
456 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
457 (out_cu): Use addr_len for the size of addresses.
458 (out_line): Likewise. Size DW_LNE_set_address instruction
459 according to addr_len.
460 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
461 (FUNC): Add START_INSNS to definition.
463 2014-10-18 Yao Qi <yao@codesourcery.com>
465 * gdb.base/argv0-symlink.exp: Check argv[0] value if
466 gdb_has_argv0 return true.
467 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
468 check [target_info exists noargs], check [gdb_has_argv0]
470 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
471 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
474 2014-10-17 Doug Evans <dje@google.com>
476 * gdb.python/py-events.exp: Update expected output for clear_objfiles
478 * gdb.python/py-events.py: Add clear_objfiles event.
480 2014-10-17 Doug Evans <dje@google.com>
482 * gdb.python/py-objfile.exp: Test progspace attribute.
484 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
486 * gdb.guile/scm-breakpoint.exp: Do not assume any
487 directory separators when matching source file paths.
488 * gdb.python/py-breakpoint.exp: Likewise.
489 * gdb.reverse/break-precsave.exp: Likewise.
490 * gdb.reverse/break-reverse.exp: Likewise.
491 * gdb.reverse/consecutive-precsave.exp: Likewise.
492 * gdb.reverse/finish-precsave.exp: Likewise.
493 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
494 * gdb.reverse/finish-reverse.exp: Likewise.
495 * gdb.reverse/i386-precsave.exp: Likewise.
496 * gdb.reverse/i387-env-reverse.exp: Likewise.
497 * gdb.reverse/i387-stack-reverse.exp: Likewise.
498 * gdb.reverse/machinestate-precsave.exp: Likewise.
499 * gdb.reverse/machinestate.exp: Likewise.
500 * gdb.reverse/sigall-precsave.exp: Likewise.
501 * gdb.reverse/solib-precsave.exp: Likewise.
502 * gdb.reverse/step-precsave.exp: Likewise.
503 * gdb.reverse/until-precsave.exp: Likewise.
504 * gdb.reverse/watch-precsave.exp: Likewise.
505 * gdb.reverse/watch-reverse.exp: Likewise.
507 2014-10-17 Yao Qi <yao@codesourcery.com>
509 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
510 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
512 2014-10-17 Pedro Alves <palves@redhat.com>
515 * gdb.base/bg-execution-repeat.c: New file.
516 * gdb.base/bg-execution-repeat.exp: New file.
518 2014-10-17 Pedro Alves <palves@redhat.com>
521 * gdb.base/continue-all-already-running.c: New file.
522 * gdb.base/continue-all-already-running.exp: New file.
524 2014-10-17 Pedro Alves <palves@redhat.com>
527 * gdb.base/annota-input-while-running.c: New file.
528 * gdb.base/annota-input-while-running.exp: New file.
530 2014-10-17 Pedro Alves <palves@redhat.com>
532 * gdb.base/callfuncs.exp: emove references to osf.
533 * gdb.base/sigall.exp: Likewise.
534 * gdb.gdb/selftest.exp: Likewise.
535 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
536 * gdb.mi/non-stop.c: Likewise.
537 * gdb.mi/pthreads.c: Likewise.
538 * gdb.reverse/sigall-precsave.exp: Likewise.
539 * gdb.reverse/sigall-reverse.exp: Likewise.
540 * gdb.threads/pthreads.c: Likewise.
541 * gdb.threads/pthreads.exp: Likewise.
543 2014-10-17 Yao Qi <yao@codesourcery.com>
545 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
546 check 'target_info exists noargs'.
547 (test_command_prompt_position): Likewise.
548 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
550 (progvar_simple_while_test): Likewise.
551 (progvar_complex_if_while_test): Likewise.
552 (if_while_breakpoint_command_test): Likewise.
553 (infrun_breakpoint_command_test): Likewise.
554 (breakpoint_command_test): Likewise.
555 (watchpoint_command_test): Likewise.
556 (bp_deleted_in_command_test): Likewise.
557 (temporary_breakpoint_commands): Likewise.
559 2014-10-16 Yao Qi <yao@codesourcery.com>
561 * gdb.base/remotetimeout.exp: Remove noargs checking.
563 2014-10-15 Pedro Alves <palves@redhat.com>
566 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
567 * gdb.base/breakpoint-in-ro-region.exp
568 (probe_target_hardware_step): New procedure.
569 (top level): Probe hardware stepping and hardware breakpoint
570 support. Test stepping through a read-only region, with both
571 "breakpoint auto-hw" on and off and both "always-inserted" on and
574 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
576 * gdb.dlang/demangle.exp: Update for demangling changes.
578 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
580 * gdb.cp/non-trivial-retval.cc: Add new test cases.
581 * gdb.cp/non-trivial-retval.exp: Add new tests.
583 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
587 * gdb.cp/non-trivial-retval.cc: New file.
588 * gdb.cp/non-trivial-retval.exp: New file.
590 2014-10-15 Yao Qi <yao@codesourcery.com>
592 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
595 2014-10-15 Yao Qi <yao@codesourcery.com>
597 * gdb.python/py-symbol.exp: Match file base name if host is
598 remote, otherwise match file name with dir name.
599 * gdb.python/py-symtab.exp: Likewise.
600 * gdb.python/python.exp: Likewise.
602 2014-10-15 Yao Qi <yao@codesourcery.com>
604 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
606 * gdb.python/py-symtab.exp: Likewise.
607 * gdb.python/python.exp: Remove trailing ".*". Fix typo
610 2014-10-14 Joel Brobecker <brobecker@adacore.com>
612 * gdb.ada/addr_arith: New testcase.
614 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
616 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
617 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
618 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
619 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
621 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
623 * gdb.arch/stap-eval-lang-ada.S: Likewise.
624 * gdb.arch/stap-eval-lang-ada.c: Likewise.
625 * gdb.arch/stap-eval-lang-ada.exp: New file.
627 2014-10-14 Yao Qi <yao@codesourcery.com>
629 * gdb.mi/mi-var-child.c (nothing1): New function.
630 (nothing2): New function.
631 (do_children_tests): Set function pointers by nothing1 and
633 * gdb.mi/mi-var-child.exp: Step over new added statements.
634 Update test to match the new output.
635 * gdb.mi/var-cmd.c (nothing1): New function.
636 (nothing2): New function.
637 (do_children_tests): Set function pointers by nothing1 and
639 * gdb.mi/mi-var-display.exp: Update test to match output.
640 Step to the line specified by $line_dct_nothing.
641 Increase the number of lines to step.
643 2014-10-14 Yao Qi <yao@codesourcery.com>
645 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
647 * gdb.mi/mi2-var-child.exp: Likewise.
649 2014-10-13 Doug Evans <dje@google.com>
651 * gdb.python/py-objfile.exp: Change name of file name test.
653 2014-10-13 Doug Evans <dje@google.com>
655 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
656 from the start of the CU.
658 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
659 Yao Qi <yao@codesourcery.com>
661 Fix "save breakpoints" for "catch" command.
662 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
663 Remove -nonewline. Match also the added "main" line.
665 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
667 Fix "save breakpoints" for "disable $bpnum" command.
668 * gdb.base/save-bp.c (main): Add label.
669 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
671 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
673 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
675 2014-10-11 Yao Qi <yao@codesourcery.com>
677 * gdb.server/server-kill.exp: Execute command
678 "set remote trace-status-packet on" before "tstatus".
680 2014-10-11 Yao Qi <yao@codesourcery.com>
682 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
683 (main): Call getppid.
684 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
685 and continue to it. Read variable "server_pid".
687 2014-10-11 Yao Qi <yao@codesourcery.com>
689 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
691 2014-10-11 Yao Qi <yao@codesourcery.com>
693 * gdb.threads/thread-find.exp: Don't execute command
695 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
696 * gdb.threads/linux-dp.exp: Don't check the condition
697 $threads_created equals to zero.
699 2014-10-10 Pedro Alves <palves@redhat.com>
701 * gdb.base/bigcore.exp: Remove references to IRIX.
702 * gdb.base/funcargs.exp: Likewise.
703 * gdb.base/interrupt.exp: Likewise.
704 * gdb.base/mips_pro.exp: Likewise.
705 * gdb.base/nodebug.exp: Likewise.
706 * gdb.base/setvar.exp: Likewise.
707 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
709 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
710 Pedro Alves <palves@redhat.com>
713 * gdb.base/vdso-warning.c: New file.
714 * gdb.base/vdso-warning.exp: New file.
716 2014-10-02 Doug Evans <dje@google.com>
718 * gdb.base/structs.c (main): Don't run forever.
720 2014-10-02 Pedro Alves <palves@redhat.com>
722 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
723 (top level) <stop threads 1, stop threads 2>: Use it.
725 2014-10-02 Pedro Alves <palves@redhat.com>
727 * gdb.threads/break-while-running.exp (test): Add new
728 'update_thread_list' argument. Skip "info threads" if false.
729 (top level): Add new 'update_thread_list' axis.
731 2014-10-02 Pedro Alves <palves@redhat.com>
734 * gdb.base/execl-update-breakpoints.c: New file.
735 * gdb.base/execl-update-breakpoints.exp: New file.
737 2014-10-01 Pedro Alves <palves@redhat.com>
739 * gdb.base/breakpoint-in-ro-region.c: New file.
740 * gdb.base/breakpoint-in-ro-region.exp: New file.
742 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
744 * gdb.mi/mi-exit-code.exp: New file.
745 * gdb.mi/mi-exit-code.c: New file.
747 2014-09-30 Yao Qi <yao@codesourcery.com>
749 * lib/prelink-support.exp (build_executable_own_libs): Error if
750 the target isn't native.
752 2014-09-30 Yao Qi <yao@codesourcery.com>
754 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
757 2014-09-22 Pedro Alves <palves@redhat.com>
759 * gdb.threads/break-while-running.exp: New file.
760 * gdb.threads/break-while-running.c: New file.
762 2014-09-19 Yao Qi <yao@codesourcery.com>
764 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
765 Invoke test. Restart GDB with --readnow and invoke test again.
767 2014-09-19 Yao Qi <yao@codesourcery.com>
769 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
770 proc set_breakpoint_on_gcd_function. Invoke
771 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
772 invoke set_breakpoint_on_gcd_function again.
774 2014-09-18 Doug Evans <dje@google.com>
776 * gdb.dwarf2/symtab-producer.exp: New file.
778 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
780 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
781 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
782 * gdb.base/global-var-nested-by-dso.c: Likewise.
783 * gdb.base/global-var-nested-by-dso.exp: Likewise.
785 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
786 Pedro Alves <palves@redhat.com>
788 * gdb.base/watch-bitfields.exp: Pass string other than test file
789 name to prepare_for_testing.
790 (watch): New procedure.
791 (expect_watchpoint): Use with_test_prefix.
792 (top level): Factor out tests to ...
793 (test_watch_location, test_regular_watch): ... these new
794 procedures, and use with_test_prefix and gdb_continue_to_end.
796 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
799 * gdb.base/watch-bitfields.exp: New file.
800 * gdb.base/watch-bitfields.c: New file.
802 2014-09-16 Pedro Alves <palves@redhat.com>
804 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
805 software and hardware addresses, not software address against
808 2014-09-16 Pedro Alves <palves@redhat.com>
810 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
811 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
813 2014-09-16 Pedro Alves <palves@redhat.com>
815 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
817 * gdb.base/a2-run.exp: Remove all code guarded by istarget
818 "*-*-vxworks*" throughout.
819 * gdb.base/break.exp: Likewise.
820 * gdb.base/default.exp: Likewise.
821 * gdb.base/scope.exp: Likewise.
822 * gdb.base/sepdebug.exp: Likewise.
823 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
825 * gdb.base/run.c: Likewise.
826 * gdb.base/sepdebug.c: Likewise.
827 * gdb.hp/gdb.aCC/run.c: Likewise.
828 * gdb.reverse/until-reverse.c: Likewise.
829 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
831 2014-09-16 Yao Qi <yao@codesourcery.com>
833 * boards/local-remote-host-native.exp: New file.
835 2014-09-14 Doug Evans <xdje42@gmail.com>
837 * gdb.threads/queue-signal.c (thread_count): New variable.
838 (thread_count_mutex, thread_count_condvar): New variables.
839 (incr_thread_count, wait_all_threads_running): New functions.
840 (main): Wait for all threads to be in their thread functions.
842 2014-09-13 Doug Evans <xdje42@gmail.com>
844 * gdb.threads/queue-signal.c: New file.
845 * gdb.threads/queue-signal.exp: New file.
847 2014-09-13 Doug Evans <xdje42@gmail.com>
849 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
850 be consistent with what default_gdb_init uses.
851 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
852 the plain text of the prompt. Add some logging printfs.
853 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
855 2014-09-12 Pedro Alves <palves@redhat.com>
857 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
858 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
859 * gdb.arch/i386-size-overlap.exp: Likewise.
860 * gdb.arch/i386-size.exp: Likewise.
861 * gdb.arch/i386-unwind.exp: Likewise.
862 * gdb.base/a2-run.exp: Likewise.
863 * gdb.base/break.exp: Likewise.
864 * gdb.base/charset.exp: Likewise.
865 * gdb.base/chng-syms.exp: Likewise.
866 * gdb.base/commands.exp: Likewise.
867 * gdb.base/dbx.exp: Likewise.
868 * gdb.base/find.exp: Likewise.
869 * gdb.base/funcargs.exp: Likewise.
870 * gdb.base/jit-simple.exp: Likewise.
871 * gdb.base/reread.exp: Likewise.
872 * gdb.base/sepdebug.exp: Likewise.
873 * gdb.base/step-bt.exp: Likewise.
874 * gdb.cp/mb-inline.exp: Likewise.
875 * gdb.cp/mb-templates.exp: Likewise.
876 * gdb.objc/basicclass.exp: Likewise.
877 * gdb.threads/killed.exp: Likewise.
879 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
882 * gdb.arch/powerpc-stackless.S: New file.
883 * gdb.arch/powerpc-stackless.exp: New file.
885 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
887 * gdb.base/attach.c: Include unistd.h.
888 (main): Call alarm. Add label postloop.
889 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
890 gdb_breakpoint, gdb_continue_to_breakpoint.
891 (test_command_line_attach_run): Kill ${testpid} in one exit path.
893 2014-09-11 Pedro Alves <palves@redhat.com>
896 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
897 * gdb.base/attach.exp (test_command_line_attach_run): New
899 (top level): Call it.
901 2014-09-11 Pedro Alves <palves@redhat.com>
903 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
904 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
905 (do_command_attach_tests): Use spawn_wait_for_attach.
906 * gdb.base/solib-overlap.exp: Likewise.
907 * gdb.multi/multi-attach.exp: Likewise.
908 * gdb.python/py-prompt.exp: Likewise.
909 * gdb.python/py-sync-interp.exp: Likewise.
910 * gdb.server/ext-attach.exp: Likewise.
912 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
914 * gdb.fortran/array-element.exp: Remove unexpected "continue"
915 command in testcase. Simplify testcase.
917 2014-09-10 Joel Brobecker <brobecker@adacore.com>
919 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
921 2014-09-10 Joel Brobecker <brobecker@adacore.com>
923 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
925 2014-09-10 Joel Brobecker <brobecker@adacore.com>
927 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
929 2014-09-10 Joel Brobecker <brobecker@adacore.com>
931 * gdb.dwarf2/dynarr-ptr.c: New file.
932 * gdb.dwarf2/dynarr-ptr.exp: New file.
934 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
936 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
937 of 30 rather than hardcoding 120 for a slow test case. Take the
938 `gdb,timeout' target setting into account for this calculation.
939 Don't extend the timeout for the test cases that don't need it.
941 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
943 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
944 a factor of 2 for a slow test case. Take the `gdb,timeout'
945 target setting into account for this calculation.
946 * gdb.reverse/until-precsave.exp: Increase the timeout by
947 a factor of 15 and 3 respectively rather than adding 120
948 for a pair of slow test cases. Take the `gdb,timeout'
949 target setting into account for this calculation.
951 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
953 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
954 timeout, don't pass one down to gdb_expect.
955 (gdb_expect): Rework timeout selection.
957 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
959 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
960 exception on timeout.
961 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
962 (gdbserver_start_extended): Catch any `gdbserver_start' error
964 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
965 * lib/mi-support.exp (mi_gdb_target_load): Catch any
966 `gdbserver_gdb_load' error exceptions.
968 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
970 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
971 120 on waiting for the TCP socket to open.
973 2014-09-09 Doug Evans <xdje42@gmail.com>
975 * gdb.base/default.exp (show_conv_list): Add _caller_is,
976 _caller_matches, _any_caller_is, _any_caller_matches.
978 2014-09-09 Doug Evans <xdje42@gmail.com>
980 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
982 2014-09-09 Yao Qi <yao@codesourcery.com>
984 * gdb.mi/mi-var-display.exp: Set print symbol off.
986 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
989 * gdb.base/commands.exp: Add tests to verify user-defined
990 commands with empty bodies.
991 * gdb.python/py-cmd.exp: Test that we don't show user-defined
992 python commands in `show user command`.
993 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
994 scheme commands in `show user command`.
996 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
999 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
1000 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
1001 * gdb.python/py-framefilter-invalidarg.exp: New file.
1002 * gdb.python/py-framefilter-invalidarg.py: New file.
1004 2014-09-06 Doug Evans <xdje42@gmail.com>
1007 * gdb.python/py-caller-is.c: New file.
1008 * gdb.python/py-caller-is.exp: New file.
1010 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
1013 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
1014 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
1016 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
1019 * gdb.fortran/print-formatted.exp: New file.
1020 * gdb.fortran/print-formatted.f90: Likewise.
1022 2014-09-03 Sasha Smundak <asmundak@google.com>
1024 * gdb.python/py-frame.exp: Test Frame.read_register.
1026 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
1029 * gdb.python/py-completion.exp: New file.
1030 * gdb.python/py-completion.py: Likewise.
1032 2014-08-28 Doug Evans <dje@google.com>
1034 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
1035 eax,etc. are live with values set by gdb and thus the compiler can't
1037 * gdb.arch/i386-pseudo.c (main): Ditto.
1039 2014-08-27 Doug Evans <dje@google.com>
1041 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
1043 2014-08-25 Doug Evans <dje@google.com>
1045 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
1048 2014-08-25 Doug Evans <dje@google.com>
1050 * gdb.threads/thread-execl.exp: #include <stdio.h>.
1052 2014-08-24 Yao Qi <yao@codesourcery.com>
1054 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
1056 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
1058 2014-08-22 Doug Evans <dje@google.com>
1061 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
1062 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
1063 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
1065 2014-08-22 Yao Qi <yao@codesourcery.com>
1067 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
1068 * gdb.python/py-finish-breakpoint2.exp: Likewise.
1069 * gdb.python/python.exp: Likewise. Use .py file on the host
1070 instead of the build.
1072 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1074 * gdb.threads/gcore-stale-thread.c: New file.
1075 * gdb.threads/gcore-stale-thread.exp: New file.
1077 2014-08-21 Pedro Alves <palves@redhat.com>
1079 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
1080 * gdb.base/gcore-relro-pie.exp: Likewise.
1081 * gdb.base/gcore-relro.exp: Likewise.
1082 * gdb.base/gcore.exp: Likewise.
1083 * gdb.base/print-symbol-loading.exp: Likewise.
1084 * gdb.threads/gcore-thread.exp: Likewise.
1085 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
1087 2014-08-20 Pedro Alves <palves@redhat.com>
1088 Jan Kratochvil <jan.kratochvil@redhat.com>
1090 * Makefile.in (EXTRA_RULES, CC): New variables, get from
1092 (EXPECT): Handle READ1 being set.
1093 (all): Depend on EXTRA_RULES.
1094 (check-read1, expect-read1, read1.so, read1): New rules.
1095 * README (Testsuite Parameters): Document the READ1 make variable.
1096 (Race detection): New section.
1097 * configure: Regenerate.
1098 * configure.ac: If build==host==target, and running under a
1099 GNU/glibc system, add read1 to the extra Makefile rules.
1100 (EXTRA_RULES): AC_SUBST it.
1101 * lib/read1.c: New file.
1103 2014-08-20 Joel Brobecker <brobecker@adacore.com>
1105 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
1106 the handling of variables declared as a typedef to an array
1107 which a DW_AT_data_location attribute.
1109 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
1110 Pedro Alves <palves@redhat.com>
1114 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
1117 2014-08-19 Pedro Alves <palves@redhat.com>
1119 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
1121 2014-08-19 Yao Qi <yao@codesourcery.com>
1123 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
1126 2014-08-18 David Blaikie <dblaikie@gmail.com>
1128 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
1130 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1132 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
1133 attribute in array range.
1135 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1137 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
1139 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1142 * gdb.cp/pr17132.cc: New file.
1143 * gdb.cp/pr17132.exp: New file.
1145 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1147 * gdb.python/py-xmethods.py (A_getarrayind)
1148 (E_method_char_worker.__call__, E_method_int_worker.__call__):
1149 Use 'print' with function call syntax.
1150 (E_method_matcher.match): Fix tab vs space indentation mixup.
1152 2014-08-15 Yao Qi <yao@codesourcery.com>
1154 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
1157 2014-08-15 Yao Qi <yao@codesourcery.com>
1159 * gdb.cp/casts.exp: Set print symbol off.
1160 * gdb.cp/class2.exp: Likewise.
1161 * gdb.cp/overload.exp: Likewise.
1162 * gdb.cp/templates.exp: Likewise.
1164 2014-08-11 Doug Evans <dje@google.com>
1166 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1167 (test_load_shlib): Update.
1169 2014-08-09 Yao Qi <yao@codesourcery.com>
1171 * gdb.base/display.exp: Invoke is_address_zero_readable.
1172 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
1173 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1174 * gdb.base/hbreak-unmapped.exp: Return if
1175 is_address_zero_readable returns true.
1176 * gdb.base/signest.exp: Likewise.
1177 * gdb.base/signull.exp: Likewise.
1178 * gdb.base/sigbpt.exp: Likewise.
1179 * gdb.guile/scm-disasm.exp: Do the test if
1180 is_address_zero_readable returns false.
1181 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
1182 * gdb.python/py-arch.exp: Likewise.
1183 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
1184 * lib/gdb.exp (is_address_zero_readable): New proc.
1186 2014-08-09 Yao Qi <yao@codesourcery.com>
1189 * gdb.mi/mi-var-display.exp: Make test messages unique.
1191 2014-08-04 Tom Tromey <tromey@redhat.com>
1193 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
1196 2014-08-04 Tom Tromey <tromey@redhat.com>
1198 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
1201 2014-08-01 Joel Brobecker <brobecker@adacore.com>
1203 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
1204 inner_vla_struct_object_size.
1205 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
1208 2014-07-30 Pedro Alves <palves@redhat.com>
1210 * gdb.threads/signal-command-handle-nopass.exp (test): Add
1213 2014-07-29 Yao Qi <yao@codesourcery.com>
1216 * gdb.base/until-nodebug.exp: New.
1218 2014-07-28 Doug Evans <xdje42@gmail.com>
1221 * gdb.guile/scm-parameter.exp: Add tests for trying to create
1222 previously existing parameter, and previously ambiguously spelled
1225 2014-07-28 Will Newton <will.newton@linaro.org>
1227 * gdb.base/varargs.exp: Remove KFAILs for ARM.
1229 2014-07-26 Ludovic Courtès <ludo@gnu.org>
1230 Doug Evans <xdje42@gmail.com>
1233 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
1235 2014-07-25 Pedro Alves <palves@redhat.com>
1237 * gdb.threads/signal-command-handle-nopass.c: New file.
1238 * gdb.threads/signal-command-handle-nopass.exp: New file.
1239 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
1240 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
1241 * gdb.threads/signal-delivered-right-thread.c: New file.
1242 * gdb.threads/signal-delivered-right-thread.exp: New file.
1244 2014-07-25 Pedro Alves <palves@redhat.com>
1246 * gdb.base/double-prompt-target-event-error.exp
1247 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
1249 (cancel_pagination_in_target_event): Rework double prompt
1251 * gdb.base/paginate-after-ctrl-c-running.exp
1252 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
1254 * gdb.base/paginate-bg-execution.exp
1255 (test_bg_execution_pagination_return)
1256 (test_bg_execution_pagination_cancel): Remove '-notransfer
1258 * gdb.base/paginate-execution-startup.exp
1259 (test_fg_execution_pagination_return)
1260 (test_fg_execution_pagination_cancel): Remove '-notransfer
1262 * gdb.base/paginate-inferior-exit.exp
1263 (test_paginate_inferior_exited): Remove '-notransfer <return>'
1265 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
1266 * lib/gdb.exp (pagination_prompt): Run text through
1268 (gdb_test_multiple): Match $pagination_prompt instead of
1270 (string_to_regexp): Move to lib/gdb-utils.exp.
1272 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1274 * gdb.arch/amd64-entry-value-paramref.S: New file.
1275 * gdb.arch/amd64-entry-value-paramref.cc: New file.
1276 * gdb.arch/amd64-entry-value-paramref.exp: New file.
1277 * gdb.arch/amd64-optimout-repeat.S: New file.
1278 * gdb.arch/amd64-optimout-repeat.c: New file.
1279 * gdb.arch/amd64-optimout-repeat.exp: New file.
1281 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1284 * gdb.base/statistics.exp: New file.
1286 2014-07-17 Doug Evans <dje@google.com>
1289 * gdb.base/maint.exp: Update testing of per-command stats.
1291 2014-07-16 Pedro Alves <palves@redhat.com>
1293 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
1294 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
1295 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
1296 (tfile_write_buf): New functions.
1297 (add_memory_block): Rewrite using the above.
1298 (adjust_function_address): New function.
1299 (FUNCTION_ADDRESS): New macro.
1300 (write_basic_trace_file): Remove short_x local, and use
1301 tfile_write_16. Change type of func_addr local to unsigned long
1302 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
1303 here. Cast argument of add_memory_block to char pointer.
1304 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
1305 (main): Remove parameters.
1306 * gdb.trace/tfile.exp: Remove nowarnings.
1308 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1310 * gdb.base/debug-expr.exp: Test string evaluation with
1311 "debug expression" on.
1313 2014-07-15 Pedro Alves <palves@redhat.com>
1315 * gdb.base/reread.exp: Use clean_restart.
1317 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1319 * gdb.arch/avr-flash-qualifer.c: New.
1320 * gdb.arch/avr-flash-qualifer.exp: New.
1322 2014-07-14 Pedro Alves <palves@redhat.com>
1324 * gdb.base/paginate-after-ctrl-c-running.c: New file.
1325 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1327 2014-07-14 Pedro Alves <palves@redhat.com>
1329 * gdb.base/double-prompt-target-event-error.c: New file.
1330 * gdb.base/double-prompt-target-event-error.exp: New file.
1332 2014-07-14 Pedro Alves <palves@redhat.com>
1335 * gdb.base/paginate-inferior-exit.c: New file.
1336 * gdb.base/paginate-inferior-exit.exp: New file.
1338 2014-07-14 Pedro Alves <palves@redhat.com>
1341 * gdb.base/paginate-bg-execution.c: New file.
1342 * gdb.base/paginate-bg-execution.exp: New file.
1344 2014-07-14 Pedro Alves <palves@redhat.com>
1347 * gdb.base/paginate-execution-startup.c: New file.
1348 * gdb.base/paginate-execution-startup.exp: New file.
1349 * lib/gdb.exp (pagination_prompt): New global.
1350 (default_gdb_spawn): New procedure, factored out from
1352 (default_gdb_start): Adjust to call default_gdb_spawn.
1353 (gdb_spawn): New procedure.
1355 2014-07-14 Pedro Alves <palves@redhat.com>
1357 * lib/gdb.exp (gdb_assert): New procedure.
1358 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
1360 2014-07-14 Pedro Alves <palves@redhat.com>
1362 * gdb.base/execution-termios.c: New file.
1363 * gdb.base/execution-termios.exp: New file.
1365 2014-07-14 Tom Tromey <tromey@redhat.com>
1367 * gdb.cp/vla-cxx.cc: New file.
1368 * gdb.cp/vla-cxx.exp: New file.
1370 2014-07-14 Tom Tromey <tromey@redhat.com>
1372 * gdb.reverse/rerun-prec.c: New file.
1373 * gdb.reverse/rerun-prec.exp: New file.
1375 2014-07-12 Maciej W. Rozycki <macro@mips.com>
1376 Maciej W. Rozycki <macro@codesourcery.com>
1378 * lib/gdb-utils.exp: New file.
1379 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
1380 inline `gdb_init_command' processing.
1381 (gdb_start_cmd): Likewise.
1382 * lib/mi-support.exp (mi_run_cmd): Likewise.
1383 * README: Document `gdb_init_command' and `gdb_init_commands'.
1385 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1387 Fix false FAIL running under a very long directory name.
1388 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1389 and "set print elements 10000". Twice.
1391 2014-07-11 Yao Qi <yao@codesourcery.com>
1393 * gdb.base/exprs.exp: "set print symbol off".
1395 2014-07-11 Pedro Alves <palves@redhat.com>
1397 * gdb.threads/kill.c: New file.
1398 * gdb.threads/kill.exp: New file.
1400 2014-07-10 Yao Qi <yao@codesourcery.com>
1402 * gdb.trace/tfile.c (write_basic_trace_file)
1403 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1404 address written to trace file.
1406 2014-07-09 Pedro Alves <palves@redhat.com>
1408 * gdb.base/attach-wait-input.exp: New file.
1409 * gdb.base/attach-wait-input.c: New file.
1411 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1413 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1414 setting up test structures.
1415 (main): Call new test function.
1416 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1417 test function, continue into test function and walk test
1420 2014-07-02 Yao Qi <yao@codesourcery.com>
1422 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1423 'bar_start' at the beginning of functions 'foo' and 'bar'
1425 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1426 instead of 'foo' and 'bar'.
1428 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1430 * gdb.btrace/segv.exp: New.
1431 * gdb.btrace/segv.c: New.
1433 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
1435 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1438 2014-06-30 Mark Wielaard <mjw@redhat.com>
1440 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1441 vulture, vilify, villar): New volatile array constants.
1442 (vindictive, vegetation): New const volatile array constants.
1443 * gdb.base/volatile.exp: Test volatile and const volatile array
1446 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1448 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1449 target lacks support for awatch, rwatch, or hbreak.
1451 2014-06-27 Yao Qi <yao@codesourcery.com>
1453 * gdb.multi/dummy-frame-restore.exp: New.
1454 * gdb.multi/dummy-frame-restore.c: New.
1456 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1458 * gdb.btrace/gcore.exp: New.
1460 2014-06-23 Pedro Alves <palves@redhat.com>
1462 * gdb.base/watchpoint-reuse-slot.c: New file.
1463 * gdb.base/watchpoint-reuse-slot.exp: New file.
1465 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1467 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1468 progspace's filename in 'info', 'enable' and 'disable' command
1471 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1473 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1474 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1475 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1477 2014-06-20 Gary Benson <gbenson@redhat.com>
1479 * gdb.arch/i386-avx.exp: Fix include file location.
1480 * gdb.arch/i386-sse.exp: Likewise.
1482 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1484 * gdb.dlang/expression.exp: New file.
1486 2014-06-19 Pedro Alves <palves@redhat.com>
1488 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1490 (top level): ... here. Iterate running tests under different
1491 scheduler-locking settings.
1493 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
1495 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1496 to DW_FORM_addr and use non-zero addresses.
1498 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1501 * gdb.python/py-xmethods.cc: Add global function call counters and
1502 increment them in their respective functions. Remove "cout"
1504 * gdb.python/py-xmethods.exp: Make tests check the global function
1505 call counters instead of depending on inferior IO.
1507 2014-06-18 Don Breazeal <donb@codesourcery.com>
1509 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1511 (explicit_fork_parent_follow): Deleted procedure.
1512 (explicit_fork_child_follow): Deleted procedure.
1513 (test_follow_fork): New procedure.
1514 (do_fork_tests): Replace calls to deleted procedures with
1515 calls to test_follow_fork and reset GDB for subsequent
1518 2014-06-17 Yao Qi <yao@codesourcery.com>
1520 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1523 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
1525 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1526 Initialize ptr and S explicitly.
1527 (skip_type_update_when_not_use_rtti_test): Likewise.
1529 2014-06-16 Keith Seitz <keiths@redhat.com>
1532 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1533 the inferior is started.
1535 2014-06-16 Pedro Alves <palves@redhat.com>
1537 * gdb.base/break-main-file-remove-fail.c: New file.
1538 * gdb.base/break-main-file-remove-fail.exp: New file.
1539 * gdb.base/break-unload-file.exp: Use build_executable instead of
1540 prepare_for_testing.
1541 (test_break): New parameter "initial_load". Handle it.
1542 (top level): Add initial_load cmdline/file axis.
1544 2014-06-12 Tom Tromey <tromey@redhat.com>
1546 * gdb.base/completion.exp: Don't use directory name in test.
1548 2014-06-09 Gary Benson <gbenson@redhat.com>
1550 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1551 separate the always-available ANSI-standard signals from the
1552 signals that require checking.
1554 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1558 2014-06-07 Keith Seitz <keiths@redhat.com>
1562 * gdb.cp/var-tag.cc: New file.
1563 * gdb.cp/var-tag.exp: New file.
1564 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1565 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1566 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1567 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1569 2014-06-06 Doug Evans <xdje42@gmail.com>
1571 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1573 2014-06-06 Pedro Alves <palves@redhat.com>
1575 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1576 in target debug output instead of looking at RSP packets,
1577 disabling the test on any target that uses hardware stepping.
1580 2014-06-06 Pedro Alves <palves@redhat.com>
1582 * gdb.base/break-unload-file.exp: Fix typo.
1584 2014-06-06 Yao Qi <yao@codesourcery.com>
1586 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1587 from "jit_function" to "^jit_function".
1589 2014-06-06 Yao Qi <yao@codesourcery.com>
1591 * gdb.base/async.c (foo): Add one statement.
1592 * gdb.base/async.exp: Get the next instruction address and
1593 match the output of "nexti" by instruction address. Match
1594 the hex address in the output of "finish".
1596 2014-06-06 Gary Benson <gbenson@redhat.com>
1598 * gdb.base/call-signals.c: Remove preprocessor conditionals
1599 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1600 SIGSEGV and SIGTERM.
1601 * gdb.base/sigall.c: Likewise.
1602 * gdb.base/unwindonsignal.c: Likewise.
1603 * gdb.reverse/sigall-reverse.c: Likewise.
1605 2014-06-06 Yao Qi <yao@codesourcery.com>
1607 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1608 readable, skip the test.
1610 2014-06-06 Yao Qi <yao@codesourcery.com>
1612 * gdb.threads/staticthreads.c (thread_function): Move the line
1613 setting breakpoint on forward.
1614 * gdb.threads/staticthreads.exp: Update comments.
1616 2014-06-05 Ludovic Courtès <ludo@gnu.org>
1618 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1619 "history-append! type error".
1621 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1623 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1624 erroneous dprintf expected input.
1626 2014-06-04 Doug Evans <xdje42@gmail.com>
1628 * gdb.guile/scm-generics.exp: Delete.
1630 2014-06-04 Doug Evans <xdje42@gmail.com>
1632 * gdb.guile/scm-breakpoint.exp: Update.
1633 Add tests for breakpoint registration.
1635 2014-06-04 Tom Tromey <tromey@redhat.com>
1637 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1639 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1640 inner_vla_struct, vla_union types. Initialize objects of those
1641 types and compute their sizes.
1643 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1644 Hui Zhu <hui@codesourcery.com>
1646 * gdb.base/fileio.exp: Add test for shell not available as well as
1648 * gdb.base/fileio.c (test_system): Check for shell twice.
1650 2014-06-04 Yao Qi <yao@codesourcery.com>
1652 * gdb.base/auto-connect-native-target.exp: Remove redundant
1653 space from the regexp pattern.
1655 2014-06-04 Yao Qi <yao@codesourcery.com>
1657 * gdb.base/default.exp: Replace "child" with "native" in
1660 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1662 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1663 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1664 * gdb.python/py-xmethods.py: Python script supporting the
1665 new testcase and tests.
1667 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1668 Pedro Alves <palves@redhat.com>
1670 PR breakpoints/17000
1671 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1672 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1674 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1676 * gdb.base/subst.exp: Add tests to verify partial path matching
1679 2014-06-03 Pedro Alves <palves@redhat.com>
1681 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1682 target that doesn't use software single-stepping.
1684 2014-06-03 Pedro Alves <palves@redhat.com>
1686 PR breakpoints/17000
1687 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1688 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1690 2014-06-02 Doug Evans <xdje42@gmail.com>
1692 * gdb.guile/scm-parameter.exp: New file.
1694 2014-06-02 Doug Evans <xdje42@gmail.com>
1696 * gdb.guile/scm-cmd.c: New file.
1697 * gdb.guile/scm-cmd.exp: New file.
1699 2014-06-02 Doug Evans <xdje42@gmail.com>
1701 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1702 pretty-printer lookup.
1703 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1704 (make-pp_s-printer): Call it.
1705 (make-pretty-printer-from-dict): New function.
1706 (lookup-pretty-printer-maker-from-dict): New function.
1707 (*pretty-printer*): Simplify.
1708 (make-objfile-pp_s-printer): New function.
1709 (install-objfile-pretty-printers!): New function.
1710 (make-progspace-pp_s-printer): New function.
1711 (install-progspace-pretty-printers!): New function.
1712 * gdb.guile/scm-progspace.c: New file.
1713 * gdb.guile/scm-progspace.exp: New file.
1715 2014-06-02 Pedro Alves <palves@redhat.com>
1717 * gdb.base/dprintf-bp-same-addr.c: New file.
1718 * gdb.base/dprintf-bp-same-addr.exp: New file.
1720 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1722 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1723 * gdb.arch/powerpc-power.s: Likewise.
1725 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1727 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1729 2014-06-01 Yao Qi <yao@codesourcery.com>
1731 * gdb.base/watchpoint.exp (test_watch_location): Check null
1732 pointer can be dereferenced. If not, do the test, otherwise
1735 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1737 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1739 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1741 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1743 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1744 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1745 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1746 * gdb.arch/amd64-invalid-stack-top.c: New file.
1747 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1749 2014-05-30 Pedro Alves <palves@redhat.com>
1751 PR breakpoints/17000
1752 * gdb.base/sss-bp-on-user-bp.c: New file.
1753 * gdb.base/sss-bp-on-user-bp.exp: New file.
1755 2014-05-30 David Blaikie <dblaikie@gmail.com>
1757 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1758 gnu_inline semantics via attribute.
1759 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1760 source explicitly specifies the required semantics.
1762 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1764 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1766 2014-05-29 Pedro Alves <palves@redhat.com>
1767 Tom Tromey <tromey@redhat.com>
1769 * gdb.base/async-shell.exp: Don't enable target-async.
1770 * gdb.base/async.exp
1771 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1773 (top level): Don't test with "target-async".
1774 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1775 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1776 * gdb.base/inferior-died.exp: Don't enable target-async.
1777 * gdb.base/interrupt-noterm.exp: Likewise.
1778 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1779 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1780 * gdb.mi/mi-nonstop.exp: Likewise.
1781 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1782 * gdb.mi/mi-nsintrall.exp: Likewise.
1783 * gdb.mi/mi-nsmoribund.exp: Likewise.
1784 * gdb.mi/mi-nsthrexec.exp: Likewise.
1785 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1786 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1787 * gdb.python/py-evsignal.exp: Don't enable target-async.
1788 * gdb.python/py-evthreads.exp: Likewise.
1789 * gdb.python/py-prompt.exp: Likewise.
1790 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1791 * gdb.server/solib-list.exp: Don't enable target-async.
1792 * gdb.threads/thread-specific-bp.exp: Likewise.
1793 * lib/mi-support.exp: Adjust to use mi-async.
1795 2014-05-29 Pedro Alves <palves@redhat.com>
1798 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1799 reason, even in sync mode.
1801 2014-05-29 Pedro Alves <palves@redhat.com>
1802 Hui Zhu <hui@codesourcery.com>
1805 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1806 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1807 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1808 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1810 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1812 * config/monitor.exp (gdb_target_monitor): Replace use of
1813 "set remotebaud" by "set serial baud".
1815 2014-05-26 Andy Wingo <wingo@igalia.com>
1817 * gdb.guile/scm-breakpoint.exp:
1818 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1819 properties instead of gdb-object-properties.
1821 2014-05-26 Yao Qi <yao@codesourcery.com>
1823 * gdb.server/no-thread-db.exp: Specify source file name
1824 explicitly when setting a breakpoint.
1826 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1828 * gdb.btrace/vdso.c: New.
1829 * gdb.btrace/vdso.exp: New.
1831 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1833 * gdb.base/gcore.exp (capture_command_output): Move ...
1834 * lib/gdb.exp (capture_command_output): ... here.
1836 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1838 * gdb.btrace/data.exp: Test memory access during btrace replay.
1840 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1842 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1844 2014-05-21 Pedro Alves <palves@redhat.com>
1847 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1848 (top level): Test that output related to execution commands is
1849 sent to the console with CLI commands, but not with MI commands.
1850 Test that breakpoint events are always mirrored to the console.
1851 Also expect the new source line to be output after a "next" in
1852 async mode too. Make it a pass/fail test.
1853 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1855 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1857 2014-05-21 Pedro Alves <palves@redhat.com>
1859 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1860 Use them to test variations of "list" after reaching a breakpoint.
1861 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1862 Test "list" with listsize 10 after reaching a breakpoint.
1863 * gdb.python/python.exp (decode_line current location line
1864 number): Adjust expected line number.
1866 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1868 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1869 behavior for $args, pass it directly to "run".
1871 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1873 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1876 2014-05-21 Pedro Alves <palves@redhat.com>
1878 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1879 auto-connect-native-target off".
1880 * gdb.base/auto-connect-native-target.c: New file.
1881 * gdb.base/auto-connect-native-target.exp: New file.
1883 2014-05-21 Pedro Alves <palves@redhat.com>
1885 * gdb.base/default.exp: Test "target native" instead of "target
1888 2014-05-21 Mark Wielaard <mjw@redhat.com>
1890 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1892 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1894 Fix TLS access for -static -pthread.
1895 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1896 <HAVE_TLS> (thread_function, main): Initialize it.
1897 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1899 <$have_tls != "">: Check TLSVAR.
1901 2014-05-21 Pedro Alves <palves@redhat.com>
1903 * gdb.base/dcache-line-read-error.c: New.
1904 * gdb.base/dcache-line-read-error.exp: New.
1906 2014-05-20 Pedro Alves <palves@redhat.com>
1908 * gdb.base/compare-sections.c: New file.
1909 * gdb.base/compare-sections.exp: New file.
1911 2014-05-20 Pedro Alves <palves@redhat.com>
1913 * gdb.base/break-idempotent.c: New file.
1914 * gdb.base/break-idempotent.exp: New file.
1916 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1918 * gdb.btrace/nohist.exp: New.
1920 2014-05-20 Yao Qi <yao@codesourcery.com>
1922 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1923 gdb.reverse directory and gdb_reverse_timeout exists in board
1925 * README: Document gdb_reverse_timeout.
1927 2014-05-20 Yao Qi <yao@codesourcery.com>
1929 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1930 'test_file_name'. Treat args as a string instead of a list.
1931 (gdb_init): Rename argument 'args' by 'test_file_name'.
1933 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1935 * gdb.arch/powerpc-power.exp: New file.
1936 * gdb.arch/powerpc-power.s: New file.
1938 2014-05-16 Doug Evans <dje@google.com>
1940 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
1941 * gdb.base/completion.exp: Check that all expected files exist
1942 before doing file completion.
1944 2014-05-16 Doug Evans <dje@google.com>
1946 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1948 (do_syscall_tests_without_xml): Update.
1950 2014-05-16 Pedro Alves <palves@redhat.com>
1952 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1953 instead of "unknown output after running".
1955 2014-05-16 Yao Qi <yao@codesourcery.com>
1957 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1958 file1.txt from host at the end.
1959 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1961 2014-05-15 Doug Evans <dje@google.com>
1963 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1964 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1965 loading file. Add test for TU lookup.
1967 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1969 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1970 calling "-exec-arguments" or "set args" before running the
1973 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1975 * lib/mi-support.exp (mi_expect_stop): Expect message for
1976 inferiors that exit with non-zero exit code.
1978 2014-05-14 Yao Qi <yao@codesourcery.com>
1980 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1981 match absolute path on remote host.
1982 (test_file_list_exec_source_files): Remove "/" from the
1985 2014-05-14 Yao Qi <yao@codesourcery.com>
1987 * boards/local-remote-host-notty.exp (${board}_file): New
1990 2014-05-07 Kyle McMartin <kyle@redhat.com>
1992 Pushed by Joel Brobecker <brobecker@adacore.com>.
1993 * gdb.arch/aarch64-atomic-inst.c: New file.
1994 * gdb.arch/aarch64-atomic-inst.exp: New file.
1996 2014-05-07 Yao Qi <yao@codesourcery.com>
1998 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1999 in current context" too.
2001 2014-05-05 Keith Seitz <keiths@redhat.com>
2003 * gdb.linespec/ls-dollar.exp: Add test for linespec
2004 file:convenience_variable.
2006 2014-05-05 Yao Qi <yao@codesourcery.com>
2008 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
2009 traceframes into tfile and ctf trace files. Read data from
2010 trace file and test collected data.
2011 (gdb_collect_locals_test): Likewise.
2012 (gdb_unavailable_registers_test): Likewise.
2013 (gdb_unavailable_floats): Likewise.
2014 (gdb_collect_globals_test): Likewise.
2015 (top-level): Append "ctf" to trace_file_targets if GDB
2018 2014-05-05 Yao Qi <yao@codesourcery.com>
2020 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
2022 (gdb_collect_args_test_1): ... it. New proc.
2023 (gdb_collect_locals_test): Move some code to ...
2024 (gdb_collect_locals_test_1): ... it. New proc.
2025 (gdb_unavailable_registers_test): Move some code to ...
2026 (gdb_unavailable_registers_test_1): ... it. New proc.
2027 (gdb_unavailable_floats): Move some code to ...
2028 (gdb_unavailable_floats_1): ... it. New proc.
2030 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2032 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
2033 probes to test for bitness recognition.
2034 * gdb.arch/amd64-stap-optional-prefix.exp
2035 (test_probe_value_without_reg): New procedure.
2036 Add code to test for different kinds of bitness.
2038 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2040 PR breakpoints/16889
2041 * gdb.arch/amd64-stap-optional-prefix.S: New file.
2042 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2044 2014-05-01 Pedro Alves <palves@redhat.com>
2046 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
2047 gdb_file_cmd if no file is specified.
2048 * boards/native-extended-gdbserver.exp (gdb_load): Use the
2049 last_loaded_file to set the remote exec-file.
2051 2014-05-01 Pedro Alves <palves@redhat.com>
2053 * boards/local-remote-host.exp: New file.
2055 2014-05-01 Pedro Alves <palves@redhat.com>
2057 * boards/local-remote-host.exp: Rename to ...
2058 * boards/local-remote-host-notty.exp: ... this.
2060 2014-04-28 Joel Brobecker <brobecker@adacore.com>
2062 * gdb.ada/dyn_arrayidx: New testcase.
2064 2014-04-26 Yao Qi <yao@codesourcery.com>
2066 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
2067 and compute the length of function main. Save it in
2069 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
2070 (top-level): Use gdb_compile to compile objects into
2071 executable and restart GDB. Remove invocation to
2072 prepare_for_testing.
2074 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
2075 Pedro Alves <palves@redhat.com>
2078 * gdb.multi/multi-attach.c: New file.
2079 * gdb.multi/multi-attach.exp: New file.
2081 2014-04-25 Pedro Alves <palves@redhat.com>
2083 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
2085 (top level): Test that "set remote conditional-breakpoints-packet
2086 off" works as intended.
2087 * gdb.base/dprintf.exp: Test that "set remote
2088 breakpoint-commands-packet off" works as intended.
2089 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
2091 (top level): Call it.
2092 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
2093 remote fast-tracepoints-packet off" works as intended.
2094 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
2095 * lib/gdb.exp (gdb_is_target_remote): ... here.
2097 2014-04-24 David Blaikie <dblaikie@gmail.com>
2099 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
2100 ensure clang would not discard them.
2101 * gdb.base/gdbvars.c: Ditto.
2102 * gdb.base/memattr.c: Ditto.
2103 * gdb.base/whatis.c: Ditto.
2104 * gdb.python/py-prettyprint.c: Ditto.
2105 * gdb.trace/actions.c: Ditto.
2106 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
2107 ensure clang would not discard it.
2109 2014-04-24 David Blaikie <dblaikie@gmail.com>
2111 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
2112 clang to emit the full definition of type required by the test
2113 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
2115 2014-04-24 David Blaikie <dblaikie@gmail.com>
2117 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
2118 coax Clang into emitting the definition of the type.
2119 * gdb.cp/pr10728-x.h (y): Ditto.
2120 * gdb.cp/pr10728-y.cc (y): Ditto.
2122 2014-04-24 David Blaikie <dblaikie@gmail.com>
2124 * gdb.base/label.exp: XFAIL label related tests under Clang.
2125 * gdb.cp/cplabel.exp: Ditto.
2126 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
2127 under Clang those using labels.
2129 2014-04-25 Yao Qi <yao@codesourcery.com>
2131 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
2133 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
2134 partial_label and double_label.
2136 2014-04-24 David Blaikie <dblaikie@gmail.com>
2138 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
2140 2014-04-24 David Blaikie <dblaikie@gmail.com>
2142 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
2143 of the function to work across GCC and Clang.
2144 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
2145 pointer types (const void ** const V void **).
2147 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
2148 Walfred Tedeschi <walfred.tedeschi@intel.com>
2150 * Makefile.in (EXECUTABLES): Added i386-avx512.
2151 * gdb.arch/i386-avx512.c: New file.
2152 * gdb.arch/i386-avx512.exp: Likewise.
2154 2014-04-23 Keith Seitz <keiths@redhat.com>
2156 * lib/mi-support.exp (mi_list_breakpoints): Delete.
2157 (mi_make_breakpoint_table): New procedure.
2158 (mi_create_breakpoint): Use mi_make_breakpoint
2159 and return the result.
2160 (mi_make_breakpoint): New procedure.
2161 (mi_build_kv_pairs): New procedure.
2163 * gdb.mi/mi-break.exp: Remove unused globals,
2164 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
2165 All callers updated.
2166 * gdb.mi/mi-dprintf.exp: Use variable to track command
2168 Update all callers of mi_create_breakpoint and use
2169 mi_make_breakpoint_table.
2170 Remove any unused global variables.
2171 * gdb.mi/mi-nonstop.exp: Likewise.
2172 * gdb.mi/mi-nsintrall.exp: Likewise.
2173 * gdb.mi/mi-nsmoribund.exp: Likewise.
2174 * gdb.mi/mi-nsthrexec.exp: Likewise.
2175 * gdb.mi/mi-reverse.exp: Likewise.
2176 * gdb.mi/mi-simplerun.exp: Likewise.
2177 * gdb.mi/mi-stepn.exp: Likewise.
2178 * gdb.mi/mi-syn-frame.exp: Likewise.
2179 * gdb.mi/mi-until.exp: Likewise.
2180 * gdb.mi/mi-var-cp.exp: Likewise.
2181 * gdb.mi/mi-var-display.exp: Likewise.
2182 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2183 * gdb.mi/mi2-var-child.exp: Likewise.
2184 * gdb.mi/mi-vla-c99.exp: Likewise.
2185 * lib/mi-support.exp: Likewise.
2187 From Ian Lance Taylor <iant@cygnus.com>:
2188 * lib/gdb.exp (parse_args): New procedure.
2190 2014-04-23 Pedro Alves <palves@redhat.com>
2192 * gdb.base/break-unload-file.c: New file.
2193 * gdb.base/break-unload-file.exp: New file.
2194 * gdb.base/sym-file-lib.c (baz): New function.
2195 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
2197 (load): Store the segment's mapped size.
2198 (unload): New function.
2199 (unload_shlib): New function.
2200 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
2201 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
2202 set a breakpoint at baz, and call it.
2203 * gdb.base/sym-file.exp: New tests for stale breakpoint
2206 2014-04-23 Pedro Alves <palves@redhat.com>
2208 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
2209 * gdb.base/hbreak-in-shr-unsupported.c: New file.
2210 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
2211 * gdb.base/hbreak-unmapped.c: New file.
2212 * gdb.base/hbreak-unmapped.exp: New file.
2213 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
2214 * lib/gdb.exp (gdb_is_target_remote): ... here.
2216 2014-04-22 Pedro Alves <palves@redhat.com>
2218 * gdb.base/consecutive-step-over.c: New file.
2219 * gdb.base/consecutive-step-over.exp: New file.
2221 2014-04-22 Pedro Alves <palves@redhat.com>
2223 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
2224 instead of send_gdb/gdb_expect.
2226 2014-04-22 Yao Qi <yao@codesourcery.com>
2228 * lib/trace-support.exp (generate_tracefile): New procedure.
2229 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
2231 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
2232 if generate_tracefile returns 1.
2234 2014-04-18 Tom Tromey <palves@redhat.com>
2235 Pedro alves <tromey@redhat.com>
2238 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
2239 with a backtrace limit.
2240 * gdb.python/py-frame-inline.exp: Test running to an inline
2241 function with a backtrace limit, and printing the newest frame.
2242 * gdb.python/py-frame-inline.c (main): Call f.
2244 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2246 * gdb.java/jnpe.exp: Drop srcdir from untested path.
2248 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2250 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
2251 Drop prefix from unsupported source file path.
2253 2014-04-17 Yao Qi <yao@codesourcery.com>
2255 * lib/gdb.exp (with_target_charset): New proc.
2256 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
2257 with_target_charset.
2258 (test_print_strings): Likewise.
2259 (test_repeat_bytes): Likewise.
2260 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
2263 2014-04-16 Keith Seitz <keiths@redhat.com>
2266 * gdb.dwarf2/corrupt.c: New file.
2267 * gdb.dwarf2/corrupt.exp: New file.
2269 2014-04-16 Keith Seitz <keiths@redhat.com>
2272 * gdb.cp/namelessclass.cc: New file.
2273 * gdb.cp/namelessclass.exp: New file.
2274 * gdb.cp/namelessclass.S: New file.
2276 2014-04-16 Doug Evans <dje@google.com>
2278 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
2280 (gdbserver_default_get_comm_port): New function.
2281 (gdbserver_start): Check if board file provided
2282 "gdbserver,get_comm_port" and use it if so.
2283 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
2284 (gdb,socketport): Set to "stdio".
2285 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
2286 (stdio_gdbserver_template): Delete.
2287 (${board}_get_remote_address): Update.
2288 (${board}_build_remote_cmd): Delete.
2289 (${board}_get_comm_port): New function.
2290 (${board}_spawn): Update.
2291 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
2293 (${board}_get_remote_address): Update.
2294 (${board}_get_comm_port): New function.
2296 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
2298 * gdb.base/memattr.exp: Improve regexps to handle memory regions
2299 appearing in any order.
2301 2014-04-15 Doug Evans <dje@google.com>
2303 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
2304 uninitialized value of "description".
2306 2014-04-15 Keith Seitz <keiths@redhat.com>
2308 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
2309 Remove unused globals.
2310 (test_running_the_program): Likewise.
2311 (test_controlled_execution): Likewise.
2312 (test_controlling_breakpoints): Likewise.
2313 (test_program_termination): Likewise.
2315 2014-04-15 Keith Seitz <keiths@redhat.com>
2317 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
2319 (test_rbreak_creation_and_listing): Likewise.
2320 (test_ignore_count): Likewise.
2321 (test_error): Likewise.
2323 2014-04-15 Pedro Alves <palves@redhat.com>
2325 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2326 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2328 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2329 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2330 to sym-file-loader.c.
2331 (struct library): Forward declare.
2332 (load_shlib, lookup_function): Change prototypes.
2333 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2334 (translate_offset): Remove declarations.
2335 (get_text_addr): New declaration.
2336 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2337 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2339 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2340 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2341 here from sym-file-loader.h.
2342 (struct library): New structure.
2343 (load_shlib, lookup_function): Change prototypes and adjust to
2344 work with a struct library.
2345 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2346 (translate_offset): Make static.
2347 (get_text_addr): New function.
2348 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
2350 2014-04-15 Pedro Alves <palves@redhat.com>
2352 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
2354 2014-04-15 Pedro Alves <palves@redhat.com>
2356 * gdb.base/sym-file-loader.c: Include <limits.h>.
2357 (SELF_LINK): New define.
2358 (get_origin): New function.
2359 (load_shlib): Use it.
2360 * gdb.base/sym-file.exp: Don't early return if the target is
2361 remote. Use runto_main, and issue fail is that fails. Use
2363 (shlib_name): Delete.
2364 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
2366 2014-04-15 Pedro Alves <palves@redhat.com>
2368 * gdb.base/sym-file.exp: Remove regex characters from test
2369 message. Don't refer to breakpoint numbers in test messages.
2371 2014-04-14 Keith Seitz <keiths@redhat.com>
2374 * gdb.cp/var-tag.cc: New file.
2375 * gdb.cp/var-tag.exp: New file.
2376 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2377 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2378 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2379 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2381 2014-04-14 Tom Tromey <tromey@redhat.com>
2383 * gdb.cp/classes.exp (test_enums): Handle underlying type.
2384 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
2386 * gdb.cp/enum-class.exp: New file.
2387 * gdb.cp/enum-class.cc: New file.
2389 2014-04-14 Tom Tromey <tromey@redhat.com>
2391 * gdb.dwarf2/enum-type.exp: New file.
2393 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2395 * gdb.mi/mi-vla-c99.exp: New file.
2396 * gdb.mi/vla.c: New file.
2398 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2400 * gdb.base/vla-datatypes.c: New file.
2401 * gdb.base/vla-datatypes.exp: New file.
2403 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2405 * gdb.base/vla-ptr.c: New file.
2406 * gdb.base/vla-ptr.exp: New file.
2408 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2410 * gdb.dwarf2/count.exp: New file.
2412 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2414 * gdb.base/vla-sideeffect.c: New file.
2415 * gdb.base/vla-sideeffect.exp: New file.
2417 2014-04-14 David Blaikie <dblaikie@gmail.com>
2419 * gdb.mi/non-stop.c: Add return value for non-void function return
2421 * gdb.threads/staticthreads.c: Ditto.
2423 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2424 Doug Evans <xdje42@gmail.com>
2426 * gdb.guile/scm-value.c: Improve test case.
2427 * gdb.guile/scm-value.exp: Add new test.
2429 2014-04-11 David Blaikie <dblaikie@gmail.com>
2431 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2432 override Clang's default.
2434 2014-04-11 Joel Brobecker <brobecker@adacore.com>
2436 Revert the following changes (regressions):
2438 * gdb.base/vla-sideeffect.c: New file.
2439 * gdb.base/vla-sideeffect.exp: New file.
2441 * gdb.dwarf2/count.exp: New file.
2443 * gdb.base/vla-multi.c: New file.
2444 * gdb.base/vla-multi.exp: New file.
2446 * gdb.base/vla-ptr.c: New file.
2447 * gdb.base/vla-ptr.exp: New file.
2449 * gdb.base/vla-datatypes.c: New file.
2450 * gdb.base/vla-datatypes.exp: New file.
2452 * gdb.mi/mi-vla-c99.exp: New file.
2453 * gdb.mi/vla.c: New file.
2455 2014-04-11 Keith Seitz <keiths@redhat.com>
2458 * gdb.cp/cpsizeof.exp: New file.
2459 * gdb.cp/cpsizeof.cc: New file.
2461 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2463 * gdb.mi/mi-vla-c99.exp: New file.
2464 * gdb.mi/vla.c: New file.
2466 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2468 * gdb.base/vla-datatypes.c: New file.
2469 * gdb.base/vla-datatypes.exp: New file.
2471 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2473 * gdb.base/vla-ptr.c: New file.
2474 * gdb.base/vla-ptr.exp: New file.
2476 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2478 * gdb.base/vla-multi.c: New file.
2479 * gdb.base/vla-multi.exp: New file.
2481 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2483 * gdb.dwarf2/count.exp: New file.
2485 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2487 * gdb.base/vla-sideeffect.c: New file.
2488 * gdb.base/vla-sideeffect.exp: New file.
2490 2014-04-11 Yao Qi <yao@codesourcery.com>
2492 * gdb.base/completion.exp: Check file exists before running tests
2495 2014-04-10 Pedro Alves <palves@redhat.com>
2497 * gdb.base/cond-eval-mode.c: New file.
2498 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2499 prepare_for_testing to build the new file. Check result of
2501 (test_break, test_watch): New procedures.
2502 (top level): Use them.
2504 2014-04-08 Pierre Muller <muller@sourceware.org>
2506 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2507 Ctrl-V use for mingw hosts.
2509 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2511 * gdb.python/py-value.c: Improve test case.
2512 * gdb.python/py-value.exp: Add new test.
2514 2014-04-07 David Blaikie <dblaikie@gmail.com>
2516 * lib/compiler.c: Identify the clang compiler.
2517 * lib/compiler.cc: Ditto.
2519 2014-04-03 Yao Qi <yao@codesourcery.com>
2521 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2523 2014-04-01 Anton Blanchard <anton@samba.org>
2525 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2528 2014-04-01 Anton Blanchard <anton@samba.org>
2530 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2531 prepare_for_testing.
2533 2014-04-01 Anton Blanchard <anton@samba.org>
2535 * gdb.arch/ppc64-atomic-inst.c: Remove.
2536 * gdb.arch/ppc64-atomic-inst.S: New file.
2537 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2539 2014-03-31 Doug Evans <dje@google.com>
2541 * gdb.base/print-symbol-loading-lib.c: New file.
2542 * gdb.base/print-symbol-loading-main.c: New file.
2543 * gdb.base/print-symbol-loading.exp: New file.
2545 2014-03-31 Yao Qi <yao@codesourcery.com>
2547 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2549 2014-03-28 Joel Brobecker <brobecker@adacore.com>
2551 * gdb.ada/mi_dyn_arr: New testcase.
2553 2014-03-27 Doug Evans <dje@google.com>
2555 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2557 2014-03-27 Yao Qi <yao@codesourcery.com>
2559 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2560 if target is nios2-*-*.
2562 2014-03-26 Yao Qi <yao@codesourcery.com>
2564 * lib/gdb.exp (readline_is_used): New proc.
2565 * gdb.base/completion.exp: Move tests on command complete up.
2566 Skip the rest of tests if readline is not used.
2567 * gdb.ada/complete.exp: Skp the test if readline is not
2569 * gdb.base/filesym.exp: Likewise.
2570 * gdb.base/macscp.exp: Likewise.
2571 * gdb.base/readline-ask.exp: Likewise.
2572 * gdb.base/readline.exp: Likewise.
2573 * gdb.python/py-cmd.exp: Likewise.
2574 * gdb.trace/tfile.exp: Likewise.
2576 2014-03-26 Yao Qi <yao@codesourcery.com>
2578 * gdb.base/macscp.exp: Fix code format issues.
2580 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2582 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2583 * gdb.asm/powerpc64le.inc: New file.
2585 2014-03-25 Pedro Alves <palves@redhat.com>
2586 Doug Evans <dje@google.com>
2588 * gdb.base/source-execution.c: New file.
2589 * gdb.base/source-execution.exp: New file.
2590 * gdb.base/source-execution.gdb: New file.
2592 2014-03-24 Doug Evans <dje@google.com>
2594 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2597 2014-03-24 Hui Zhu <hui@codesourcery.com>
2598 Pedro Alves <palves@redhat.com>
2600 PR breakpoints/16101
2601 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2602 test pass/fail messages. Detect missing support for dprintf when
2603 breakpoints are actually inserted.
2604 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2605 breakpoints are actually inserted.
2606 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2609 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2611 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2613 2014-03-22 Doug Evans <xdje42@gmail.com>
2615 * gdb.python/python.exp (python not supported): Verify multi-line
2616 python command issues an error.
2617 * gdb.guile/guile.exp (guile not supported): Verify multi-line
2618 guile command issues an error.
2620 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2622 * gdb.threads/thread-specific.exp: Handle the lack of usable
2623 $this_breakpoint and $this_thread.
2625 2014-03-21 Hui Zhu <hui@codesourcery.com>
2627 * gdb.base/attach.exp (do_command_attach_tests): New.
2629 2014-03-20 Tom Tromey <tromey@redhat.com>
2630 Pedro Alves <palves@redhat.com>
2633 * gdb.base/condbreak-call-false.c: New file.
2634 * gdb.base/condbreak-call-false.exp: New file.
2636 2014-03-20 Pedro Alves <palves@redhat.com>
2638 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2640 (block_signals, unblock_signals): Delete.
2641 (child_function_2, main): Remove references to deleted variable
2644 2014-03-20 Pedro Alves <palves@redhat.com>
2646 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2647 Use pthread_kill to signal thread 2.
2648 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2649 Adjust to make the test send itself a signal rather than using the
2650 host's "kill" command.
2652 2014-03-20 Pedro Alves <palves@redhat.com>
2654 * gdb.threads/multiple-step-overs.c: New file.
2655 * gdb.threads/multiple-step-overs.exp: New file.
2656 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2657 Adjust expected infrun debug output.
2659 2014-03-20 Pedro Alves <palves@redhat.com>
2661 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2662 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2664 2014-03-20 Pedro Alves <palves@redhat.com>
2667 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2668 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2669 of gdb_test_multiple.
2670 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2671 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2673 2014-03-20 Pedro Alves <palves@redhat.com>
2675 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2676 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2678 2014-03-19 Pedro Alves <palves@redhat.com>
2680 * gdb.base/async.exp: Remove early return.
2682 2014-03-19 Pedro Alves <palves@redhat.com>
2684 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2686 2014-03-19 Pedro Alves <palves@redhat.com>
2688 * gdb.base/async.exp (test_background): Expect \r\n after
2689 "completed." in the fail pattern.
2691 2014-03-19 Pedro Alves <palves@redhat.com>
2693 * gdb.base/async.exp (test_background): New procedure.
2694 Use it for all background execution command tests.
2696 2014-03-19 Pedro Alves <palves@redhat.com>
2698 * gdb.base/async.exp: Use prepare_for_testing.
2700 2014-03-19 Pedro Alves <palves@redhat.com>
2702 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2705 2014-03-19 Pedro Alves <palves@redhat.com>
2707 * gdb.base/async.c (main): Add "jump here" and "until here" line
2709 * gdb.base/async.exp (jump_here): New global.
2710 (jump& test): Use it.
2711 (until_here): New global.
2712 (until& test): Use it.
2714 2014-03-19 Pedro Alves <palves@redhat.com>
2716 * gdb.base/async.exp: Don't frob gdb_protocol.
2718 2014-03-18 Doug Evans <xdje42@gmail.com>
2720 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2721 Fix spelling of exec-done-display.
2723 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2726 * gdb.base/gdb-sigterm.c: New file.
2727 * gdb.base/gdb-sigterm.exp: New file.
2729 2014-03-18 Pedro Alves <palves@redhat.com>
2732 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2733 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2736 2014-03-17 Joel Brobecker <brobecker@adacore.com>
2738 * gdb.ada/pckd_arr_ren: New testcase.
2740 2014-03-13 Doug Evans <xdje42@gmail.com>
2743 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2744 collect after discarding symbols.
2746 2014-03-13 Ludovic Courtès <ludo@gnu.org>
2747 Doug Evans <xdje42@gmail.com>
2749 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2750 to history survives a gc.
2752 2014-03-13 Pedro Alves <palves@redhat.com>
2754 * gdb.base/default.exp: Don't test "target procfs".
2756 2014-03-13 Pedro Alves <palves@redhat.com>
2758 * gdb.base/default.exp: Update "target child" and "target procfs"
2759 tests to not expect "Unix".
2761 2014-03-12 Tom Tromey <tromey@redhat.com>
2763 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2764 New procs. Add target-async tests.
2765 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2766 Add target-async tests.
2768 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2770 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2771 'func_start' and 'func_end' for the beginning and end of the
2772 function code, respectively.
2773 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2774 'func_end' instead of 'func' and 'main'.
2776 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2778 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2779 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2780 generate the debug info assembler source.
2782 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2784 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2785 * gdb.dwarf2/arr-subrange.exp: Likewise.
2786 * gdb.dwarf2/dwz.exp: Likewise.
2787 * gdb.dwarf2/method-ptr.exp: Likewise.
2788 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2789 * gdb.dwarf2/subrange.exp: Likewise.
2790 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2791 * gdb.dwarf2/implptrpiece.exp: Likewise.
2792 * gdb.dwarf2/nostaticblock.exp: Likewise.
2794 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2796 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2797 directory to absolute path name arguments.
2799 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2801 * gdb.ada/tagged_access: New testcase.
2803 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2805 * gdb.btrace/data.exp: Update expected output.
2807 2014-03-06 Yao Qi <yao@codesourcery.com>
2809 * gdb.trace/pr16508.exp: New file.
2811 2014-03-05 Pedro Alves <palves@redhat.com>
2814 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2816 (top level): Adjust to use it. Add tests that exercise breakpoint
2817 interaction with the code-cache.
2819 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2821 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2822 test for 'history-append!'.
2824 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2826 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2827 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2828 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2829 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2830 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2831 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2833 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2835 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2836 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2837 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2839 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2841 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2843 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2845 * gdb.dwarf2/arr-stride.c: New file.
2846 * gdb.dwarf2/arr-stride.exp: New file.
2848 2014-02-26 Pedro Alves <palves@redhat.com>
2850 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2851 that won't ever trigger. Make sure that GDB reports the correct
2852 breakpoint that caused the stop.
2854 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2857 * gdb.base/auto-load-script: New file.
2858 * gdb.base/auto-load.c: New file.
2859 * gdb.base/auto-load.exp: New file.
2862 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2864 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2866 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2867 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2869 2014-02-24 Doug Evans <dje@google.com>
2871 * lib/gdb.exp (run_on_host): Log error output if program fails.
2873 2014-02-21 Pedro Alves <palves@redhat.com>
2875 * gdb.threads/step-after-sr-lock.c: Rename to ...
2876 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2877 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2878 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2881 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2884 * gdb.arch/amd64-stap-special-operands.exp: New file.
2885 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2886 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2887 * gdb.arch/amd64-stap-triplet.S: Likewise.
2888 * gdb.arch/amd64-stap-triplet.c: Likewise.
2890 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2892 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2893 in .section pseudo-op.
2895 2014-02-20 lin zuojian <manjian2006@gmail.com>
2896 Joel Brobecker <brobecker@adacore.com>
2897 Doug Evans <xdje42@gmail.com>
2900 * gdb.dwarf2/dw2-icycle.S: New file.
2901 * gdb.dwarf2/dw2-icycle.c: New file.
2902 * gdb.dwarf2/dw2-icycle.exp: New file.
2904 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2906 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2907 operations on gdb.Value objects.
2908 * gdb.python/py-value-cc.exp: Add new test to test operations on
2911 2014-02-18 Doug Evans <dje@google.com>
2913 * Makefile.in (TESTS): New variable.
2914 (expanded_tests, expanded_tests_or_none): New variables
2915 (check-single): Pass $(expanded_tests_or_none) to runtest.
2916 (check-parallel): Only run tests in $(TESTS) if non-empty.
2917 (check/no-matching-tests-found): New rule.
2918 * README: Document TESTS makefile variable.
2920 2014-02-18 Doug Evans <dje@google.com>
2922 * Makefile.in (check-parallel): rm -rf outputs temp.
2924 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2926 Fix "ERROR: no fileid for" in the testsuite.
2927 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2929 2014-02-12 Doug Evans <dje@google.com>
2931 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2932 (MISCELLANEOUS): New variable.
2933 (clean): rm -rf $(MISCELLANEOUS).
2934 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2935 dwp live in the same directory as symlinks, with each symlink pointed
2936 to a differently named file in a different directory.
2938 2014-02-11 Doug Evans <dje@google.com>
2940 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2941 of Tcl file commands.
2943 2014-02-10 Mark Kettenis <kettenis@gnu.org>
2945 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2948 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2950 * gdb.ada/tick_length_array_enum_idx: New testcase.
2952 2014-02-10 Doug Evans <xdje42@gmail.com>
2954 * configure.ac (AC_OUTPUT): Add gdb.guile.
2955 * configure: Regenerate.
2956 * lib/gdb-guile.exp: New file.
2957 * lib/gdb.exp (get_target_charset): New function.
2958 * gdb.base/help.exp: Update expected output from "apropos apropos".
2959 * gdb.guile/Makefile.in: New file.
2960 * gdb.guile/guile.exp: New file.
2961 * gdb.guile/scm-arch.c: New file.
2962 * gdb.guile/scm-arch.exp: New file.
2963 * gdb.guile/scm-block.c: New file.
2964 * gdb.guile/scm-block.exp: New file.
2965 * gdb.guile/scm-breakpoint.c: New file.
2966 * gdb.guile/scm-breakpoint.exp: New file.
2967 * gdb.guile/scm-disasm.c: New file.
2968 * gdb.guile/scm-disasm.exp: New file.
2969 * gdb.guile/scm-equal.c: New file.
2970 * gdb.guile/scm-equal.exp: New file.
2971 * gdb.guile/scm-error.exp: New file.
2972 * gdb.guile/scm-error.scm: New file.
2973 * gdb.guile/scm-frame-args.c: New file.
2974 * gdb.guile/scm-frame-args.exp: New file.
2975 * gdb.guile/scm-frame-args.scm: New file.
2976 * gdb.guile/scm-frame-inline.c: New file.
2977 * gdb.guile/scm-frame-inline.exp: New file.
2978 * gdb.guile/scm-frame.c: New file.
2979 * gdb.guile/scm-frame.exp: New file.
2980 * gdb.guile/scm-generics.exp: New file.
2981 * gdb.guile/scm-gsmob.exp: New file.
2982 * gdb.guile/scm-iterator.c: New file.
2983 * gdb.guile/scm-iterator.exp: New file.
2984 * gdb.guile/scm-math.c: New file.
2985 * gdb.guile/scm-math.exp: New file.
2986 * gdb.guile/scm-objfile-script-gdb.in: New file.
2987 * gdb.guile/scm-objfile-script.c: New file.
2988 * gdb.guile/scm-objfile-script.exp: New file.
2989 * gdb.guile/scm-objfile.c: New file.
2990 * gdb.guile/scm-objfile.exp: New file.
2991 * gdb.guile/scm-ports.exp: New file.
2992 * gdb.guile/scm-pretty-print.c: New file.
2993 * gdb.guile/scm-pretty-print.exp: New file.
2994 * gdb.guile/scm-pretty-print.scm: New file.
2995 * gdb.guile/scm-section-script.c: New file.
2996 * gdb.guile/scm-section-script.exp: New file.
2997 * gdb.guile/scm-section-script.scm: New file.
2998 * gdb.guile/scm-symbol.c: New file.
2999 * gdb.guile/scm-symbol.exp: New file.
3000 * gdb.guile/scm-symtab-2.c: New file.
3001 * gdb.guile/scm-symtab.c: New file.
3002 * gdb.guile/scm-symtab.exp: New file.
3003 * gdb.guile/scm-type.c: New file.
3004 * gdb.guile/scm-type.exp: New file.
3005 * gdb.guile/scm-value-cc.cc: New file.
3006 * gdb.guile/scm-value-cc.exp: New file.
3007 * gdb.guile/scm-value.c: New file.
3008 * gdb.guile/scm-value.exp: New file.
3009 * gdb.guile/source2.scm: New file.
3010 * gdb.guile/types-module.cc: New file.
3011 * gdb.guile/types-module.exp: New file.
3013 2014-02-10 Yao Qi <yao@codesourcery.com>
3016 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
3017 * configure: Regenerated.
3018 * Makefile.in: New file.
3020 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3022 * gdb.python/py-framefilter.exp: Fix typo.
3024 2014-02-08 Yao Qi <yao@codesourcery.com>
3026 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
3027 that no =breakpoint-modified is emitted when breakpoints are
3028 modified through MI commands.
3030 2014-02-07 Pedro Alves <pedro@codesourcery.com>
3031 Pedro Alves <palves@redhat.com>
3033 * gdb.threads/step-after-sr-lock.c: New file.
3034 * gdb.threads/step-after-sr-lock.exp: New file.
3036 2014-02-07 Pedro Alves <palves@redhat.com>
3038 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
3040 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3042 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
3043 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
3045 2014-02-06 Doug Evans <xdje42@gmail.com>
3047 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
3050 * gdb.gdb/python-interrupts.exp: New file.
3052 2014-02-05 Yao Qi <yao@codesourcery.com>
3054 * gdb.trace/report.exp (use_collected_data): Test the output
3055 of "info threads" and "info inferiors".
3057 2014-02-05 Yao Qi <yao@codesourcery.com>
3061 2013-05-24 Yao Qi <yao@codesourcery.com>
3063 * gdb.trace/tfile.exp: Test inferior and thread.
3065 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3067 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
3069 * gdb.base/step-bt.c: Call hello via function pointer to make
3070 sure its first instruction is executed on powerpc64le-linux.
3072 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3074 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
3076 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3078 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
3079 of the test patterns for use on little-endian systems.
3081 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3083 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
3084 (decimal_vector): Fix for little-endian.
3086 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3088 * gdb.arch/sparc-sysstep.exp: New file.
3089 * gdb.arch/sparc-sysstep.c: Likewise.
3091 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
3093 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3095 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
3097 2014-01-23 Tom Tromey <tromey@redhat.com>
3099 * gdb.ada/array_char_idx: New testcase.
3101 2014-01-23 Tom Tromey <tromey@redhat.com>
3104 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
3105 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
3108 2014-01-23 Tom Tromey <tromey@redhat.com>
3111 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
3112 string from an inferior frame.
3113 * gdb.python/py-framefilter-mi.exp: Update.
3115 2014-01-22 Doug Evans <dje@google.com>
3117 * gdb.server/server-mon.exp: Add tests for "set debug-format".
3119 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3121 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
3123 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3125 * gdb.trace/entry-values.exp: Remove excess space character from
3126 regex patterns. Handle s390 call instruction.
3128 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3130 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
3131 define "*_start" label. Make "name" static.
3132 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
3133 ${name} by references to ${name}_start.
3135 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3137 * gdb.base/info-macros.exp: Remove "debug" from the compile
3140 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3142 * gdb.dlang/demangle.exp: New file.
3144 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3146 * gdb.dlang/primitive-types.exp: New file.
3148 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3150 * configure.ac: Create gdb.dlang/Makefile.
3151 * configure: Regenerate.
3152 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
3153 * gdb.dlang/Makefile.in: New file.
3154 * lib/d-support.exp: New file.
3155 * lib/gdb.exp (skip_d_tests): New proc.
3157 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3159 * gdb.btrace/delta.exp: Check reverse stepi.
3160 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
3161 * gdb.btrace/finish.exp: New.
3162 * gdb.btrace/next.exp: New.
3163 * gdb.btrace/nexti.exp: New.
3164 * gdb.btrace/record_goto.c: Add comments.
3165 * gdb.btrace/step.exp: New.
3166 * gdb.btrace/stepi.exp: New.
3167 * gdb.btrace/multi-thread-step.c: New.
3168 * gdb.btrace/multi-thread-step.exp: New.
3169 * gdb.btrace/rn-dl-bind.c: New.
3170 * gdb.btrace/rn-dl-bind.exp: New.
3171 * gdb.btrace/data.c: New.
3172 * gdb.btrace/data.exp: New.
3173 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3175 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3177 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
3178 * gdb.btrace/exception.exp: Update.
3179 * gdb.btrace/instruction_history.exp: Update.
3180 * gdb.btrace/record_goto.exp: Update.
3181 * gdb.btrace/tailcall.exp: Update.
3182 * gdb.btrace/unknown_functions.exp: Update.
3183 * gdb.btrace/delta.exp: New.
3185 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3187 * gdb.btrace/record_goto.exp: Add backtrace test.
3188 * gdb.btrace/tailcall.exp: Add backtrace test.
3190 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3192 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
3193 * gdb.btrace/record_goto.c: New.
3194 * gdb.btrace/record_goto.exp: New.
3195 * gdb.btrace/x86-record_goto.S: New.
3197 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3199 * gdb.btrace/function_call_history.exp: Update tests.
3200 * gdb.btrace/instruction_history.exp: Update tests.
3202 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3204 * gdb.btrace/function_call_history.exp: Fix expected field
3205 order for "record function-call-history".
3206 Add new tests for "record function-call-history /c".
3207 * gdb.btrace/exception.cc: New.
3208 * gdb.btrace/exception.exp: New.
3209 * gdb.btrace/tailcall.exp: New.
3210 * gdb.btrace/x86-tailcall.S: New.
3211 * gdb.btrace/x86-tailcall.c: New.
3212 * gdb.btrace/unknown_functions.c: New.
3213 * gdb.btrace/unknown_functions.exp: New.
3214 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3216 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3218 * gdb.btrace/instruction_history.exp: Update.
3219 * gdb.btrace/function_call_history.exp: Update.
3221 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3223 * gdb.btrace/function_call_history.exp: Fix expected function
3225 * gdb.btrace/instruction_history.exp: Initialize traced.
3226 Remove traced_functions.
3228 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3230 * gdb.btrace/function_call_history.exp: Update
3231 * gdb.btrace/instruction_history.exp: Update.
3233 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3235 * gdb.btrace/enable.exp: Update expected text.
3237 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
3239 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
3242 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
3244 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
3246 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3248 * lib/gdb.exp (supports_process_record): Return true for
3249 arm*-linux*. (supports_reverse): Likewise.
3251 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3255 * gdb.python/py-type.c: Enhance test case.
3256 * gdb.python/py-value-cc.cc: Likewise
3257 * gdb.python/py-type.exp: Add new tests.
3258 * gdb.python/py-value-cc.exp: Likewise
3260 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3261 Pedro Alves <palves@redhat.com>
3263 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
3265 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
3266 references to ${name}_start by references to ${name}.
3268 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3270 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
3272 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3274 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
3276 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
3277 Pedro Alves <palves@redhat.com>
3279 * gdb.mi/mi-info-os.exp: Connect to the target with
3282 2014-01-08 Pedro Alves <palves@redhat.com>
3284 * gdb.threads/reconnect-signal.c: New file.
3285 * gdb.threads/reconnect-signal.exp: New file.
3287 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3289 * gdb.base/source-dir.exp: New file.
3291 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3293 * gdb.ada/mi_interface: New testcase.
3295 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3297 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
3298 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
3299 gdb.ada/pp-rec-component/pck.ads: New files.
3301 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3303 * gdb.python/py-pp-integral.c: New file.
3304 * gdb.python/py-pp-integral.py: New file.
3305 * gdb.python/py-pp-integral.exp: New file.
3307 For older changes see ChangeLog-1993-2013.
3313 ;; version-control: never
3316 Copyright 2014 Free Software Foundation, Inc.
3317 Copying and distribution of this file, with or without modification,
3318 are permitted provided the copyright notice and this notice are preserved.