1 2014-11-14 Yao Qi <yao@codesourcery.com>
3 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4 Replace name, low_pc and high_pc with MACRO_AT_func.
6 2014-11-14 Yao Qi <yao@codesourcery.com>
8 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
9 produce debug information.
10 * gdb.dwarf2/implptr-optimized-out.S: Removed.
12 2014-11-14 Yao Qi <yao@codesourcery.com>
14 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
15 object and get function length.
16 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
18 (top-level): Replace gdb_compile and clean_restart with
20 * gdb.dwarf2/main.c (main): Add label main_label.
22 2014-11-14 Yao Qi <yao@codesourcery.com>
24 * lib/dwarf.exp (function_range): New procedure.
25 (Dwarf::_handle_macro_at_func): New procedure.
26 (Dwarf::_handle_macro_at_range): New procedure.
27 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
29 2014-11-14 Yao Qi <yao@codesourcery.com>
31 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
32 (_handle_attribute): New procedure.
34 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
36 * gdb.ada/cond_lang/foo.c (callme): Add return type.
37 * gdb.base/call-sc.c (zed): Likewise.
38 * gdb.base/checkpoint.c (main): Likewise.
39 * gdb.base/dump.c (main): Likewise.
40 * gdb.base/gcore.c (main): Likewise.
41 * gdb.base/huge.c (main): Likewise.
42 * gdb.base/multi-forks.c (main): Likewise.
43 * gdb.base/pr10179-a.c (main): Likewise.
44 * gdb.base/savedregs.c (main): Likewise.
45 * gdb.base/sigaltstack.c (main): Likewise.
46 * gdb.base/siginfo.c (main): Likewise.
47 * gdb.base/structs.c (zed): Likewise.
48 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
49 * gdb.mi/mi-syn-frame.c (main): Likewise.
50 * gdb.mi/until.c (foo, main): Likewise.
51 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
52 * gdb.base/solib-weak.c (foo): Declare.
53 * gdb.base/attach-twice.c: Include stdio.h.
54 * gdb.base/weaklib1.c: Likewise.
55 * gdb.base/weaklib2.c: Likewise.
56 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
57 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
59 * gdb.base/attach-pie-misread.c: Include stdlib.h.
60 * gdb.mi/mi-exit-code.c: Likewise.
61 * gdb.base/break-interp-lib.c: Include string.h.
62 * gdb.base/coremaker.c: Likewise.
63 * gdb.base/testenv.c: Likewise.
64 * gdb.python/py-finish-breakpoint.c: Likewise.
65 * gdb.base/inferior-died.c: Include sys/wait.h.
66 * gdb.base/fileio.c: Include time.h.
67 * gdb.base/async-shell.c: Include unistd.h.
68 * gdb.base/dprintf-non-stop.c: Likewise.
69 * gdb.base/info-os.c: Likewise.
70 * gdb.mi/mi-console.c: Likewise.
71 * gdb.mi/watch-nonstop.c: Likewise.
72 * gdb.python/py-events.c: Likewise.
73 * gdb.base/async.c (baz): Move up before its invocation.
74 * gdb.base/code_elim2.c (my_global_func): Likewise.
75 * gdb.base/skip-solib-lib.c (multiply): Likewise.
76 * gdb.base/advance.c (func2): Likewise.
78 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
80 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
82 * gdb.base/annota3.c: Likewise.
83 * gdb.base/async.c: Likewise.
84 * gdb.base/average.c: Likewise.
85 * gdb.base/call-ar-st.c: Likewise.
86 * gdb.base/call-rt-st.c: Likewise.
87 * gdb.base/call-sc.c: Likewise.
88 * gdb.base/call-strs.c: Likewise.
89 * gdb.base/ending-run.c: Likewise.
90 * gdb.base/execd-prog.c: Likewise.
91 * gdb.base/exprs.c: Likewise.
92 * gdb.base/foll-exec.c: Likewise.
93 * gdb.base/foll-fork.c: Likewise.
94 * gdb.base/foll-vfork.c: Likewise.
95 * gdb.base/funcargs.c: Likewise.
96 * gdb.base/gcore.c: Likewise.
97 * gdb.base/jump.c: Likewise.
98 * gdb.base/langs0.c: Likewise.
99 * gdb.base/langs1.c: Likewise.
100 * gdb.base/langs2.c: Likewise.
101 * gdb.base/mips_pro.c: Likewise.
102 * gdb.base/nodebug.c: Likewise.
103 * gdb.base/opaque0.c: Likewise.
104 * gdb.base/opaque1.c: Likewise.
105 * gdb.base/recurse.c: Likewise.
106 * gdb.base/run.c: Likewise.
107 * gdb.base/scope0.c: Likewise.
108 * gdb.base/scope1.c: Likewise.
109 * gdb.base/setshow.c: Likewise.
110 * gdb.base/setvar.c: Likewise.
111 * gdb.base/shmain.c: Likewise.
112 * gdb.base/shr1.c: Likewise.
113 * gdb.base/shr2.c: Likewise.
114 * gdb.base/sigall.c: Likewise.
115 * gdb.base/signals.c: Likewise.
116 * gdb.base/so-indr-cl.c: Likewise.
117 * gdb.base/solib2.c: Likewise.
118 * gdb.base/structs.c: Likewise.
119 * gdb.base/sum.c: Likewise.
120 * gdb.base/vforked-prog.c: Likewise.
121 * gdb.base/watchpoint.c: Likewise.
122 * gdb.reverse/shr2.c: Likewise.
123 * gdb.reverse/until-reverse.c: Likewise.
124 * gdb.reverse/ur1.c: Likewise.
125 * gdb.reverse/watch-reverse.c: Likewise.
127 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
129 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
131 * gdb.base/sepdebug.exp: Drop references to removed code.
133 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
135 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
136 variant. Preserve original line numbering.
137 * gdb.base/list1.c: Likewise.
139 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
141 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
143 * gdb.base/break1.c: Likewise.
144 * gdb.base/break.exp: Drop references to removed code.
146 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
148 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
151 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
153 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
155 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
157 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
158 logic into perform_all_tests() and invoke it with and without
159 function header prototypes.
160 (do_function_calls): Remove conditional XFAIL for PR 5318.
161 (rerun_and_prepare): Remove duplicate code.
162 (perform_all_tests): New. Main logic moved here.
164 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
166 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
167 code guarded by #ifdef NO_PROTOTYPES.
168 (t_double_many_args): Likewise.
169 (DEF_FUNC_MANY_ARGS_1): Likewise.
170 (DEF_FUNC_VALUES_1): Likewise.
171 (t_structs_ldc): Renamed from t_structs_fc in conditional code
172 guarded by #ifdef PROTOTYPES.
174 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
176 * gdb.mi/mi-console.c: Add eye-catcher.
177 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
178 instead of literal line number.
180 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
182 * gdb.base/shr2.c: Add eye-catcher.
183 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
186 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
188 * gdb.base/jump.c: Add eye-catchers.
189 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
192 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
194 * gdb.base/execd-prog.c: Add eye-catchers.
195 * gdb.base/foll-exec.c: Likewise.
196 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
199 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
201 * gdb.base/ending-run.c: Add eye-catchers.
202 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
203 literal line numbers.
205 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
207 * gdb.base/call-rt-st.c: Add eye-catchers.
208 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
209 literal line numbers.
211 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
213 * gdb.base/call-ar-st.c: Add eye-catchers.
214 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
215 literal line numbers.
217 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
219 * gdb.base/average.c: Add eye-catchers.
220 * gdb.base/sum.c: Likewise.
221 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
224 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
226 * gdb.base/solib1.c: Add eye-catchers.
227 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
228 literal line numbers.
230 2014-11-12 Pedro Alves <palves@redhat.com>
232 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
235 2014-11-12 Pedro Alves <palves@redhat.com>
237 * gdb.arch/i386-bp_permanent.c: New file.
238 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
239 (srcfile): Set to i386-bp_permanent.c.
240 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
241 that stepi does not execute the 'leave' instruction, instead of
242 testing it does execute.
243 * gdb.base/bp-permanent.c: New file.
244 * gdb.base/bp-permanent.exp: New file.
246 2014-11-10 Doug Evans <xdje42@gmail.com>
249 * gdb.base/symtab-search-order.exp: New file.
250 * gdb.base/symtab-search-order.c: New file.
251 * gdb.base/symtab-search-order-1.c: New file.
252 * gdb.base/symtab-search-order-shlib-1.c: New file.
254 2014-11-07 Pedro Alves <palves@redhat.com>
257 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
260 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
263 * gdb.cp/pr17494.cc: New file.
264 * gdb.cp/pr17494.exp: New file.
266 2014-11-02 Yao Qi <yao@codesourcery.com>
268 * gdb.python/python.exp: Get working directory and match the
269 output of "set extended-prompt \\w " with it.
271 2014-10-30 Doug Evans <dje@google.com>
273 * gdb.python/py-objfile.exp: Add tests for setting random attributes
275 * gdb.python/py-progspace.exp: Add tests for setting random attributes
278 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
280 * gdb.base/fullpath-expand.exp: Skip for a remote host.
281 * gdb.base/realname-expand.exp: Likewise.
282 * gdb.linespec/macro-relative.exp: Likewise.
284 2014-10-29 Pedro Alves <palves@redhat.com>
287 * gdb.threads/schedlock.c (some_function): New function.
288 (call_function): New global.
289 (MAYBE_CALL_SOME_FUNCTION): New macro.
290 (thread_function): Call it.
291 * gdb.threads/schedlock.exp (get_args): Add description parameter,
292 and use it instead of a global counter. Adjust all callers.
293 (get_current_thread): Use "find current thread" for test message
294 here rather than having all callers pass down the same string.
295 (goto_loop): New procedure, factored out from ...
296 (my_continue): ... this.
297 (step_ten_loops): Change parameter from test message to command to
299 (list_count): Delete global.
300 (check_result): New procedure, factored out from duplicate top
302 (continue tests): Wrap in with_test_prefix.
303 (test_step): New procedure, factored out from duplicate top level
305 (top level): Test "step" in combination with all scheduler-locking
306 modes. Test "next" in combination with all scheduler-locking
307 modes, and in combination with stepping over a function call or
309 * gdb.threads/next-bp-other-thread.c: New file.
310 * gdb.threads/next-bp-other-thread.exp: New file.
312 2014-10-29 Pedro Alves <palves@redhat.com>
315 * gdb.python/python.exp: Test a multi-line command that spawns
317 * gdb.base/multi-line-starts-subshell.exp: New file.
319 2014-10-29 Yao Qi <yao@codesourcery.com>
321 * gdb.base/fileio.exp: Make directories on host.
323 2014-10-29 Yao Qi <yao@codesourcery.com>
325 * gdb.base/fileio.c (test_write): Close the file.
327 2014-10-28 Pedro Alves <palves@redhat.com>
330 * gdb.base/sigstep.c (no_handler): New global.
331 (main): If 'no_handler is true, set the signal handlers to
333 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
334 with_sw_watch and no_handler parameters. Handle them.
335 (top level) <stepping over handler when stopped at a breakpoint
336 test>: Add a test axis for testing with a software watchpoint, and
337 another for testing with the signal handler set to SIG_IGN.
338 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
339 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
341 2014-10-28 Pedro Alves <palves@redhat.com>
344 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
345 * gdb.base/sigstep.exp (other_handler_location): New global.
346 (advance): Support stepping into the signal handler, and running
347 commands while in the handler.
348 (in_handler_map): New global.
349 (top level): In the advance test, add combinations for getting
350 into the handler with stepping commands, and for running commands
351 in the handler. Add comment descripting the advancei tests.
353 2014-10-28 Pedro Alves <palves@redhat.com>
355 * gdb.base/sigstep.exp: Use build_executable instead of
357 (top level): Move code that starts GDB, runs to main and creates a
359 (restart): ... this new procedure.
360 (top level): Move backtrace from signal handler test to ...
361 (validate_backtrace): ... this new procedure.
362 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
363 with_test_prefix. Always restart GDB.
364 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
365 with_test_prefix. Always restart GDB. No need to delete
366 breakpoints after the test.
367 (test_skip_handler): Remove prefix parameter.
368 (skip_over_handler, breakpoint_to_handler)
369 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
370 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
371 restart GDB. No need to delete breakpoints after the test.
372 (top level): Use foreach to call the test procedures with
375 2014-10-28 Pedro Alves <palves@redhat.com>
377 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
378 instead of GNATS numbers.
379 * gdb.base/sigbpt.exp: Likewise.
380 * gdb.base/siginfo.exp: Likewise.
381 * gdb.base/sigstep.exp: Likewise.
383 2014-10-27 Pedro Alves <palves@redhat.com>
385 * gdb.base/sigstep.c (dummy): New global.
386 (main): Issue a couple writes to the new global.
387 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
389 (skip_over_handler): Use test_skip_handler.
390 (top level): Call skip_over_handler for stepi and nexti too.
391 (breakpoint_over_handler): Use test_skip_handler.
392 (top level): Call breakpoint_over_handler for stepi and nexti too.
394 2014-10-27 Yao Qi <yao@codesourcery.com>
396 * gdb.trace/tfile.c (adjust_function_address)
397 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
400 2014-10-24 Don Breazeal <donb@codesourcery.com>
402 * gdb.base/foll-fork.exp (test_follow_fork,
403 catch_fork_child_follow): Check for updated fork messages emitted
405 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
406 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
407 vfork_and_exec_child_follow_through_step): Check for updated vfork
408 messages emitted from infrun.c.
410 2014-10-24 Pedro Alves <palves@redhat.com>
412 * gdb.base/corefile.exp: Remove references to ultrix.
413 * gdb.base/interrupt.exp: Likewise.
414 * gdb.base/whatis.exp: Likewise.
415 * gdb.gdb/selftest.exp: Likewise.
416 * gdb.threads/manythreads.exp: Likewise.
417 * gdb.threads/print-threads.exp: Likewise.
418 * gdb.threads/pthreads.exp:: Likewise.
419 * gdb.threads/schedlock.exp: Likewise.
421 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
423 * gdb.cp/non-trivial-retval.cc: Add a test case.
424 * gdb.cp/non-trivial-retval.exp: Add a test.
426 2014-10-20 Yao Qi <yao@codesourcery.com>
428 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
429 * gdb.python/py-objfile-script-gdb.py: New file.
430 * gdb.python/py-objfile-script.exp: Update reference to
431 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
432 of remote_download. Remove the dest file.
434 2014-10-20 Yao Qi <yao@codesourcery.com>
436 * gdb.base/checkpoint.exp: Don't remove file copied on host.
437 * gdb.base/step-line.exp: Likewise.
438 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
439 * gdb.dwarf2/dw2-basic.exp: Likewise.
440 * gdb.dwarf2/dw2-compressed.exp: Likewise.
441 * gdb.dwarf2/dw2-filename.exp: Likewise.
442 * gdb.dwarf2/dw2-intercu.exp: Likewise.
443 * gdb.dwarf2/dw2-intermix.exp: Likewise.
444 * gdb.dwarf2/dw2-producer.exp: Likewise.
445 * gdb.dwarf2/mac-fileno.exp: Likewise.
446 * gdb.python/py-frame-args.exp: Likewise.
447 * gdb.python/py-framefilter.exp: Likewise.
448 * gdb.python/py-mi.exp: Likewise.
449 * gdb.python/py-objfile-script.exp: Likewise
450 * gdb.python/py-pp-integral.exp: Likewise.
451 * gdb.python/py-pp-re-notag.exp: Likewise.
452 * gdb.python/py-prettyprint.exp: Likewise.
453 * gdb.python/py-section-script.exp: Likewise.
454 * gdb.python/py-typeprint.exp: Likewise.
455 * gdb.python/py-xmethods.exp: Likewise.
456 * gdb.stabs/weird.exp: Likewise.
457 * gdb.xml/tdesc-regs.exp: Likewise.
459 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
461 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
462 (out_cu): Use addr_len for the size of addresses.
463 (out_line): Likewise. Size DW_LNE_set_address instruction
464 according to addr_len.
465 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
466 (FUNC): Add START_INSNS to definition.
468 2014-10-18 Yao Qi <yao@codesourcery.com>
470 * gdb.base/argv0-symlink.exp: Check argv[0] value if
471 gdb_has_argv0 return true.
472 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
473 check [target_info exists noargs], check [gdb_has_argv0]
475 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
476 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
479 2014-10-17 Doug Evans <dje@google.com>
481 * gdb.python/py-events.exp: Update expected output for clear_objfiles
483 * gdb.python/py-events.py: Add clear_objfiles event.
485 2014-10-17 Doug Evans <dje@google.com>
487 * gdb.python/py-objfile.exp: Test progspace attribute.
489 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
491 * gdb.guile/scm-breakpoint.exp: Do not assume any
492 directory separators when matching source file paths.
493 * gdb.python/py-breakpoint.exp: Likewise.
494 * gdb.reverse/break-precsave.exp: Likewise.
495 * gdb.reverse/break-reverse.exp: Likewise.
496 * gdb.reverse/consecutive-precsave.exp: Likewise.
497 * gdb.reverse/finish-precsave.exp: Likewise.
498 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
499 * gdb.reverse/finish-reverse.exp: Likewise.
500 * gdb.reverse/i386-precsave.exp: Likewise.
501 * gdb.reverse/i387-env-reverse.exp: Likewise.
502 * gdb.reverse/i387-stack-reverse.exp: Likewise.
503 * gdb.reverse/machinestate-precsave.exp: Likewise.
504 * gdb.reverse/machinestate.exp: Likewise.
505 * gdb.reverse/sigall-precsave.exp: Likewise.
506 * gdb.reverse/solib-precsave.exp: Likewise.
507 * gdb.reverse/step-precsave.exp: Likewise.
508 * gdb.reverse/until-precsave.exp: Likewise.
509 * gdb.reverse/watch-precsave.exp: Likewise.
510 * gdb.reverse/watch-reverse.exp: Likewise.
512 2014-10-17 Yao Qi <yao@codesourcery.com>
514 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
515 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
517 2014-10-17 Pedro Alves <palves@redhat.com>
520 * gdb.base/bg-execution-repeat.c: New file.
521 * gdb.base/bg-execution-repeat.exp: New file.
523 2014-10-17 Pedro Alves <palves@redhat.com>
526 * gdb.base/continue-all-already-running.c: New file.
527 * gdb.base/continue-all-already-running.exp: New file.
529 2014-10-17 Pedro Alves <palves@redhat.com>
532 * gdb.base/annota-input-while-running.c: New file.
533 * gdb.base/annota-input-while-running.exp: New file.
535 2014-10-17 Pedro Alves <palves@redhat.com>
537 * gdb.base/callfuncs.exp: emove references to osf.
538 * gdb.base/sigall.exp: Likewise.
539 * gdb.gdb/selftest.exp: Likewise.
540 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
541 * gdb.mi/non-stop.c: Likewise.
542 * gdb.mi/pthreads.c: Likewise.
543 * gdb.reverse/sigall-precsave.exp: Likewise.
544 * gdb.reverse/sigall-reverse.exp: Likewise.
545 * gdb.threads/pthreads.c: Likewise.
546 * gdb.threads/pthreads.exp: Likewise.
548 2014-10-17 Yao Qi <yao@codesourcery.com>
550 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
551 check 'target_info exists noargs'.
552 (test_command_prompt_position): Likewise.
553 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
555 (progvar_simple_while_test): Likewise.
556 (progvar_complex_if_while_test): Likewise.
557 (if_while_breakpoint_command_test): Likewise.
558 (infrun_breakpoint_command_test): Likewise.
559 (breakpoint_command_test): Likewise.
560 (watchpoint_command_test): Likewise.
561 (bp_deleted_in_command_test): Likewise.
562 (temporary_breakpoint_commands): Likewise.
564 2014-10-16 Yao Qi <yao@codesourcery.com>
566 * gdb.base/remotetimeout.exp: Remove noargs checking.
568 2014-10-15 Pedro Alves <palves@redhat.com>
571 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
572 * gdb.base/breakpoint-in-ro-region.exp
573 (probe_target_hardware_step): New procedure.
574 (top level): Probe hardware stepping and hardware breakpoint
575 support. Test stepping through a read-only region, with both
576 "breakpoint auto-hw" on and off and both "always-inserted" on and
579 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
581 * gdb.dlang/demangle.exp: Update for demangling changes.
583 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
585 * gdb.cp/non-trivial-retval.cc: Add new test cases.
586 * gdb.cp/non-trivial-retval.exp: Add new tests.
588 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
592 * gdb.cp/non-trivial-retval.cc: New file.
593 * gdb.cp/non-trivial-retval.exp: New file.
595 2014-10-15 Yao Qi <yao@codesourcery.com>
597 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
600 2014-10-15 Yao Qi <yao@codesourcery.com>
602 * gdb.python/py-symbol.exp: Match file base name if host is
603 remote, otherwise match file name with dir name.
604 * gdb.python/py-symtab.exp: Likewise.
605 * gdb.python/python.exp: Likewise.
607 2014-10-15 Yao Qi <yao@codesourcery.com>
609 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
611 * gdb.python/py-symtab.exp: Likewise.
612 * gdb.python/python.exp: Remove trailing ".*". Fix typo
615 2014-10-14 Joel Brobecker <brobecker@adacore.com>
617 * gdb.ada/addr_arith: New testcase.
619 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
621 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
622 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
623 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
624 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
626 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
628 * gdb.arch/stap-eval-lang-ada.S: Likewise.
629 * gdb.arch/stap-eval-lang-ada.c: Likewise.
630 * gdb.arch/stap-eval-lang-ada.exp: New file.
632 2014-10-14 Yao Qi <yao@codesourcery.com>
634 * gdb.mi/mi-var-child.c (nothing1): New function.
635 (nothing2): New function.
636 (do_children_tests): Set function pointers by nothing1 and
638 * gdb.mi/mi-var-child.exp: Step over new added statements.
639 Update test to match the new output.
640 * gdb.mi/var-cmd.c (nothing1): New function.
641 (nothing2): New function.
642 (do_children_tests): Set function pointers by nothing1 and
644 * gdb.mi/mi-var-display.exp: Update test to match output.
645 Step to the line specified by $line_dct_nothing.
646 Increase the number of lines to step.
648 2014-10-14 Yao Qi <yao@codesourcery.com>
650 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
652 * gdb.mi/mi2-var-child.exp: Likewise.
654 2014-10-13 Doug Evans <dje@google.com>
656 * gdb.python/py-objfile.exp: Change name of file name test.
658 2014-10-13 Doug Evans <dje@google.com>
660 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
661 from the start of the CU.
663 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
664 Yao Qi <yao@codesourcery.com>
666 Fix "save breakpoints" for "catch" command.
667 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
668 Remove -nonewline. Match also the added "main" line.
670 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
672 Fix "save breakpoints" for "disable $bpnum" command.
673 * gdb.base/save-bp.c (main): Add label.
674 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
676 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
678 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
680 2014-10-11 Yao Qi <yao@codesourcery.com>
682 * gdb.server/server-kill.exp: Execute command
683 "set remote trace-status-packet on" before "tstatus".
685 2014-10-11 Yao Qi <yao@codesourcery.com>
687 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
688 (main): Call getppid.
689 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
690 and continue to it. Read variable "server_pid".
692 2014-10-11 Yao Qi <yao@codesourcery.com>
694 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
696 2014-10-11 Yao Qi <yao@codesourcery.com>
698 * gdb.threads/thread-find.exp: Don't execute command
700 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
701 * gdb.threads/linux-dp.exp: Don't check the condition
702 $threads_created equals to zero.
704 2014-10-10 Pedro Alves <palves@redhat.com>
706 * gdb.base/bigcore.exp: Remove references to IRIX.
707 * gdb.base/funcargs.exp: Likewise.
708 * gdb.base/interrupt.exp: Likewise.
709 * gdb.base/mips_pro.exp: Likewise.
710 * gdb.base/nodebug.exp: Likewise.
711 * gdb.base/setvar.exp: Likewise.
712 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
714 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
715 Pedro Alves <palves@redhat.com>
718 * gdb.base/vdso-warning.c: New file.
719 * gdb.base/vdso-warning.exp: New file.
721 2014-10-02 Doug Evans <dje@google.com>
723 * gdb.base/structs.c (main): Don't run forever.
725 2014-10-02 Pedro Alves <palves@redhat.com>
727 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
728 (top level) <stop threads 1, stop threads 2>: Use it.
730 2014-10-02 Pedro Alves <palves@redhat.com>
732 * gdb.threads/break-while-running.exp (test): Add new
733 'update_thread_list' argument. Skip "info threads" if false.
734 (top level): Add new 'update_thread_list' axis.
736 2014-10-02 Pedro Alves <palves@redhat.com>
739 * gdb.base/execl-update-breakpoints.c: New file.
740 * gdb.base/execl-update-breakpoints.exp: New file.
742 2014-10-01 Pedro Alves <palves@redhat.com>
744 * gdb.base/breakpoint-in-ro-region.c: New file.
745 * gdb.base/breakpoint-in-ro-region.exp: New file.
747 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
749 * gdb.mi/mi-exit-code.exp: New file.
750 * gdb.mi/mi-exit-code.c: New file.
752 2014-09-30 Yao Qi <yao@codesourcery.com>
754 * lib/prelink-support.exp (build_executable_own_libs): Error if
755 the target isn't native.
757 2014-09-30 Yao Qi <yao@codesourcery.com>
759 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
762 2014-09-22 Pedro Alves <palves@redhat.com>
764 * gdb.threads/break-while-running.exp: New file.
765 * gdb.threads/break-while-running.c: New file.
767 2014-09-19 Yao Qi <yao@codesourcery.com>
769 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
770 Invoke test. Restart GDB with --readnow and invoke test again.
772 2014-09-19 Yao Qi <yao@codesourcery.com>
774 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
775 proc set_breakpoint_on_gcd_function. Invoke
776 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
777 invoke set_breakpoint_on_gcd_function again.
779 2014-09-18 Doug Evans <dje@google.com>
781 * gdb.dwarf2/symtab-producer.exp: New file.
783 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
785 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
786 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
787 * gdb.base/global-var-nested-by-dso.c: Likewise.
788 * gdb.base/global-var-nested-by-dso.exp: Likewise.
790 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
791 Pedro Alves <palves@redhat.com>
793 * gdb.base/watch-bitfields.exp: Pass string other than test file
794 name to prepare_for_testing.
795 (watch): New procedure.
796 (expect_watchpoint): Use with_test_prefix.
797 (top level): Factor out tests to ...
798 (test_watch_location, test_regular_watch): ... these new
799 procedures, and use with_test_prefix and gdb_continue_to_end.
801 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
804 * gdb.base/watch-bitfields.exp: New file.
805 * gdb.base/watch-bitfields.c: New file.
807 2014-09-16 Pedro Alves <palves@redhat.com>
809 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
810 software and hardware addresses, not software address against
813 2014-09-16 Pedro Alves <palves@redhat.com>
815 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
816 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
818 2014-09-16 Pedro Alves <palves@redhat.com>
820 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
822 * gdb.base/a2-run.exp: Remove all code guarded by istarget
823 "*-*-vxworks*" throughout.
824 * gdb.base/break.exp: Likewise.
825 * gdb.base/default.exp: Likewise.
826 * gdb.base/scope.exp: Likewise.
827 * gdb.base/sepdebug.exp: Likewise.
828 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
830 * gdb.base/run.c: Likewise.
831 * gdb.base/sepdebug.c: Likewise.
832 * gdb.hp/gdb.aCC/run.c: Likewise.
833 * gdb.reverse/until-reverse.c: Likewise.
834 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
836 2014-09-16 Yao Qi <yao@codesourcery.com>
838 * boards/local-remote-host-native.exp: New file.
840 2014-09-14 Doug Evans <xdje42@gmail.com>
842 * gdb.threads/queue-signal.c (thread_count): New variable.
843 (thread_count_mutex, thread_count_condvar): New variables.
844 (incr_thread_count, wait_all_threads_running): New functions.
845 (main): Wait for all threads to be in their thread functions.
847 2014-09-13 Doug Evans <xdje42@gmail.com>
849 * gdb.threads/queue-signal.c: New file.
850 * gdb.threads/queue-signal.exp: New file.
852 2014-09-13 Doug Evans <xdje42@gmail.com>
854 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
855 be consistent with what default_gdb_init uses.
856 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
857 the plain text of the prompt. Add some logging printfs.
858 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
860 2014-09-12 Pedro Alves <palves@redhat.com>
862 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
863 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
864 * gdb.arch/i386-size-overlap.exp: Likewise.
865 * gdb.arch/i386-size.exp: Likewise.
866 * gdb.arch/i386-unwind.exp: Likewise.
867 * gdb.base/a2-run.exp: Likewise.
868 * gdb.base/break.exp: Likewise.
869 * gdb.base/charset.exp: Likewise.
870 * gdb.base/chng-syms.exp: Likewise.
871 * gdb.base/commands.exp: Likewise.
872 * gdb.base/dbx.exp: Likewise.
873 * gdb.base/find.exp: Likewise.
874 * gdb.base/funcargs.exp: Likewise.
875 * gdb.base/jit-simple.exp: Likewise.
876 * gdb.base/reread.exp: Likewise.
877 * gdb.base/sepdebug.exp: Likewise.
878 * gdb.base/step-bt.exp: Likewise.
879 * gdb.cp/mb-inline.exp: Likewise.
880 * gdb.cp/mb-templates.exp: Likewise.
881 * gdb.objc/basicclass.exp: Likewise.
882 * gdb.threads/killed.exp: Likewise.
884 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
887 * gdb.arch/powerpc-stackless.S: New file.
888 * gdb.arch/powerpc-stackless.exp: New file.
890 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
892 * gdb.base/attach.c: Include unistd.h.
893 (main): Call alarm. Add label postloop.
894 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
895 gdb_breakpoint, gdb_continue_to_breakpoint.
896 (test_command_line_attach_run): Kill ${testpid} in one exit path.
898 2014-09-11 Pedro Alves <palves@redhat.com>
901 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
902 * gdb.base/attach.exp (test_command_line_attach_run): New
904 (top level): Call it.
906 2014-09-11 Pedro Alves <palves@redhat.com>
908 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
909 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
910 (do_command_attach_tests): Use spawn_wait_for_attach.
911 * gdb.base/solib-overlap.exp: Likewise.
912 * gdb.multi/multi-attach.exp: Likewise.
913 * gdb.python/py-prompt.exp: Likewise.
914 * gdb.python/py-sync-interp.exp: Likewise.
915 * gdb.server/ext-attach.exp: Likewise.
917 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
919 * gdb.fortran/array-element.exp: Remove unexpected "continue"
920 command in testcase. Simplify testcase.
922 2014-09-10 Joel Brobecker <brobecker@adacore.com>
924 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
926 2014-09-10 Joel Brobecker <brobecker@adacore.com>
928 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
930 2014-09-10 Joel Brobecker <brobecker@adacore.com>
932 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
934 2014-09-10 Joel Brobecker <brobecker@adacore.com>
936 * gdb.dwarf2/dynarr-ptr.c: New file.
937 * gdb.dwarf2/dynarr-ptr.exp: New file.
939 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
941 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
942 of 30 rather than hardcoding 120 for a slow test case. Take the
943 `gdb,timeout' target setting into account for this calculation.
944 Don't extend the timeout for the test cases that don't need it.
946 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
948 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
949 a factor of 2 for a slow test case. Take the `gdb,timeout'
950 target setting into account for this calculation.
951 * gdb.reverse/until-precsave.exp: Increase the timeout by
952 a factor of 15 and 3 respectively rather than adding 120
953 for a pair of slow test cases. Take the `gdb,timeout'
954 target setting into account for this calculation.
956 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
958 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
959 timeout, don't pass one down to gdb_expect.
960 (gdb_expect): Rework timeout selection.
962 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
964 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
965 exception on timeout.
966 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
967 (gdbserver_start_extended): Catch any `gdbserver_start' error
969 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
970 * lib/mi-support.exp (mi_gdb_target_load): Catch any
971 `gdbserver_gdb_load' error exceptions.
973 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
975 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
976 120 on waiting for the TCP socket to open.
978 2014-09-09 Doug Evans <xdje42@gmail.com>
980 * gdb.base/default.exp (show_conv_list): Add _caller_is,
981 _caller_matches, _any_caller_is, _any_caller_matches.
983 2014-09-09 Doug Evans <xdje42@gmail.com>
985 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
987 2014-09-09 Yao Qi <yao@codesourcery.com>
989 * gdb.mi/mi-var-display.exp: Set print symbol off.
991 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
994 * gdb.base/commands.exp: Add tests to verify user-defined
995 commands with empty bodies.
996 * gdb.python/py-cmd.exp: Test that we don't show user-defined
997 python commands in `show user command`.
998 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
999 scheme commands in `show user command`.
1001 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1004 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
1005 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
1006 * gdb.python/py-framefilter-invalidarg.exp: New file.
1007 * gdb.python/py-framefilter-invalidarg.py: New file.
1009 2014-09-06 Doug Evans <xdje42@gmail.com>
1012 * gdb.python/py-caller-is.c: New file.
1013 * gdb.python/py-caller-is.exp: New file.
1015 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
1018 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
1019 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
1021 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
1024 * gdb.fortran/print-formatted.exp: New file.
1025 * gdb.fortran/print-formatted.f90: Likewise.
1027 2014-09-03 Sasha Smundak <asmundak@google.com>
1029 * gdb.python/py-frame.exp: Test Frame.read_register.
1031 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
1034 * gdb.python/py-completion.exp: New file.
1035 * gdb.python/py-completion.py: Likewise.
1037 2014-08-28 Doug Evans <dje@google.com>
1039 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
1040 eax,etc. are live with values set by gdb and thus the compiler can't
1042 * gdb.arch/i386-pseudo.c (main): Ditto.
1044 2014-08-27 Doug Evans <dje@google.com>
1046 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
1048 2014-08-25 Doug Evans <dje@google.com>
1050 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
1053 2014-08-25 Doug Evans <dje@google.com>
1055 * gdb.threads/thread-execl.exp: #include <stdio.h>.
1057 2014-08-24 Yao Qi <yao@codesourcery.com>
1059 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
1061 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
1063 2014-08-22 Doug Evans <dje@google.com>
1066 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
1067 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
1068 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
1070 2014-08-22 Yao Qi <yao@codesourcery.com>
1072 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
1073 * gdb.python/py-finish-breakpoint2.exp: Likewise.
1074 * gdb.python/python.exp: Likewise. Use .py file on the host
1075 instead of the build.
1077 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1079 * gdb.threads/gcore-stale-thread.c: New file.
1080 * gdb.threads/gcore-stale-thread.exp: New file.
1082 2014-08-21 Pedro Alves <palves@redhat.com>
1084 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
1085 * gdb.base/gcore-relro-pie.exp: Likewise.
1086 * gdb.base/gcore-relro.exp: Likewise.
1087 * gdb.base/gcore.exp: Likewise.
1088 * gdb.base/print-symbol-loading.exp: Likewise.
1089 * gdb.threads/gcore-thread.exp: Likewise.
1090 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
1092 2014-08-20 Pedro Alves <palves@redhat.com>
1093 Jan Kratochvil <jan.kratochvil@redhat.com>
1095 * Makefile.in (EXTRA_RULES, CC): New variables, get from
1097 (EXPECT): Handle READ1 being set.
1098 (all): Depend on EXTRA_RULES.
1099 (check-read1, expect-read1, read1.so, read1): New rules.
1100 * README (Testsuite Parameters): Document the READ1 make variable.
1101 (Race detection): New section.
1102 * configure: Regenerate.
1103 * configure.ac: If build==host==target, and running under a
1104 GNU/glibc system, add read1 to the extra Makefile rules.
1105 (EXTRA_RULES): AC_SUBST it.
1106 * lib/read1.c: New file.
1108 2014-08-20 Joel Brobecker <brobecker@adacore.com>
1110 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
1111 the handling of variables declared as a typedef to an array
1112 which a DW_AT_data_location attribute.
1114 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
1115 Pedro Alves <palves@redhat.com>
1119 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
1122 2014-08-19 Pedro Alves <palves@redhat.com>
1124 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
1126 2014-08-19 Yao Qi <yao@codesourcery.com>
1128 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
1131 2014-08-18 David Blaikie <dblaikie@gmail.com>
1133 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
1135 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1137 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
1138 attribute in array range.
1140 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1142 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
1144 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1147 * gdb.cp/pr17132.cc: New file.
1148 * gdb.cp/pr17132.exp: New file.
1150 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1152 * gdb.python/py-xmethods.py (A_getarrayind)
1153 (E_method_char_worker.__call__, E_method_int_worker.__call__):
1154 Use 'print' with function call syntax.
1155 (E_method_matcher.match): Fix tab vs space indentation mixup.
1157 2014-08-15 Yao Qi <yao@codesourcery.com>
1159 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
1162 2014-08-15 Yao Qi <yao@codesourcery.com>
1164 * gdb.cp/casts.exp: Set print symbol off.
1165 * gdb.cp/class2.exp: Likewise.
1166 * gdb.cp/overload.exp: Likewise.
1167 * gdb.cp/templates.exp: Likewise.
1169 2014-08-11 Doug Evans <dje@google.com>
1171 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1172 (test_load_shlib): Update.
1174 2014-08-09 Yao Qi <yao@codesourcery.com>
1176 * gdb.base/display.exp: Invoke is_address_zero_readable.
1177 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
1178 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1179 * gdb.base/hbreak-unmapped.exp: Return if
1180 is_address_zero_readable returns true.
1181 * gdb.base/signest.exp: Likewise.
1182 * gdb.base/signull.exp: Likewise.
1183 * gdb.base/sigbpt.exp: Likewise.
1184 * gdb.guile/scm-disasm.exp: Do the test if
1185 is_address_zero_readable returns false.
1186 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
1187 * gdb.python/py-arch.exp: Likewise.
1188 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
1189 * lib/gdb.exp (is_address_zero_readable): New proc.
1191 2014-08-09 Yao Qi <yao@codesourcery.com>
1194 * gdb.mi/mi-var-display.exp: Make test messages unique.
1196 2014-08-04 Tom Tromey <tromey@redhat.com>
1198 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
1201 2014-08-04 Tom Tromey <tromey@redhat.com>
1203 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
1206 2014-08-01 Joel Brobecker <brobecker@adacore.com>
1208 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
1209 inner_vla_struct_object_size.
1210 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
1213 2014-07-30 Pedro Alves <palves@redhat.com>
1215 * gdb.threads/signal-command-handle-nopass.exp (test): Add
1218 2014-07-29 Yao Qi <yao@codesourcery.com>
1221 * gdb.base/until-nodebug.exp: New.
1223 2014-07-28 Doug Evans <xdje42@gmail.com>
1226 * gdb.guile/scm-parameter.exp: Add tests for trying to create
1227 previously existing parameter, and previously ambiguously spelled
1230 2014-07-28 Will Newton <will.newton@linaro.org>
1232 * gdb.base/varargs.exp: Remove KFAILs for ARM.
1234 2014-07-26 Ludovic Courtès <ludo@gnu.org>
1235 Doug Evans <xdje42@gmail.com>
1238 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
1240 2014-07-25 Pedro Alves <palves@redhat.com>
1242 * gdb.threads/signal-command-handle-nopass.c: New file.
1243 * gdb.threads/signal-command-handle-nopass.exp: New file.
1244 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
1245 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
1246 * gdb.threads/signal-delivered-right-thread.c: New file.
1247 * gdb.threads/signal-delivered-right-thread.exp: New file.
1249 2014-07-25 Pedro Alves <palves@redhat.com>
1251 * gdb.base/double-prompt-target-event-error.exp
1252 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
1254 (cancel_pagination_in_target_event): Rework double prompt
1256 * gdb.base/paginate-after-ctrl-c-running.exp
1257 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
1259 * gdb.base/paginate-bg-execution.exp
1260 (test_bg_execution_pagination_return)
1261 (test_bg_execution_pagination_cancel): Remove '-notransfer
1263 * gdb.base/paginate-execution-startup.exp
1264 (test_fg_execution_pagination_return)
1265 (test_fg_execution_pagination_cancel): Remove '-notransfer
1267 * gdb.base/paginate-inferior-exit.exp
1268 (test_paginate_inferior_exited): Remove '-notransfer <return>'
1270 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
1271 * lib/gdb.exp (pagination_prompt): Run text through
1273 (gdb_test_multiple): Match $pagination_prompt instead of
1275 (string_to_regexp): Move to lib/gdb-utils.exp.
1277 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1279 * gdb.arch/amd64-entry-value-paramref.S: New file.
1280 * gdb.arch/amd64-entry-value-paramref.cc: New file.
1281 * gdb.arch/amd64-entry-value-paramref.exp: New file.
1282 * gdb.arch/amd64-optimout-repeat.S: New file.
1283 * gdb.arch/amd64-optimout-repeat.c: New file.
1284 * gdb.arch/amd64-optimout-repeat.exp: New file.
1286 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1289 * gdb.base/statistics.exp: New file.
1291 2014-07-17 Doug Evans <dje@google.com>
1294 * gdb.base/maint.exp: Update testing of per-command stats.
1296 2014-07-16 Pedro Alves <palves@redhat.com>
1298 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
1299 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
1300 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
1301 (tfile_write_buf): New functions.
1302 (add_memory_block): Rewrite using the above.
1303 (adjust_function_address): New function.
1304 (FUNCTION_ADDRESS): New macro.
1305 (write_basic_trace_file): Remove short_x local, and use
1306 tfile_write_16. Change type of func_addr local to unsigned long
1307 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
1308 here. Cast argument of add_memory_block to char pointer.
1309 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
1310 (main): Remove parameters.
1311 * gdb.trace/tfile.exp: Remove nowarnings.
1313 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1315 * gdb.base/debug-expr.exp: Test string evaluation with
1316 "debug expression" on.
1318 2014-07-15 Pedro Alves <palves@redhat.com>
1320 * gdb.base/reread.exp: Use clean_restart.
1322 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1324 * gdb.arch/avr-flash-qualifer.c: New.
1325 * gdb.arch/avr-flash-qualifer.exp: New.
1327 2014-07-14 Pedro Alves <palves@redhat.com>
1329 * gdb.base/paginate-after-ctrl-c-running.c: New file.
1330 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1332 2014-07-14 Pedro Alves <palves@redhat.com>
1334 * gdb.base/double-prompt-target-event-error.c: New file.
1335 * gdb.base/double-prompt-target-event-error.exp: New file.
1337 2014-07-14 Pedro Alves <palves@redhat.com>
1340 * gdb.base/paginate-inferior-exit.c: New file.
1341 * gdb.base/paginate-inferior-exit.exp: New file.
1343 2014-07-14 Pedro Alves <palves@redhat.com>
1346 * gdb.base/paginate-bg-execution.c: New file.
1347 * gdb.base/paginate-bg-execution.exp: New file.
1349 2014-07-14 Pedro Alves <palves@redhat.com>
1352 * gdb.base/paginate-execution-startup.c: New file.
1353 * gdb.base/paginate-execution-startup.exp: New file.
1354 * lib/gdb.exp (pagination_prompt): New global.
1355 (default_gdb_spawn): New procedure, factored out from
1357 (default_gdb_start): Adjust to call default_gdb_spawn.
1358 (gdb_spawn): New procedure.
1360 2014-07-14 Pedro Alves <palves@redhat.com>
1362 * lib/gdb.exp (gdb_assert): New procedure.
1363 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
1365 2014-07-14 Pedro Alves <palves@redhat.com>
1367 * gdb.base/execution-termios.c: New file.
1368 * gdb.base/execution-termios.exp: New file.
1370 2014-07-14 Tom Tromey <tromey@redhat.com>
1372 * gdb.cp/vla-cxx.cc: New file.
1373 * gdb.cp/vla-cxx.exp: New file.
1375 2014-07-14 Tom Tromey <tromey@redhat.com>
1377 * gdb.reverse/rerun-prec.c: New file.
1378 * gdb.reverse/rerun-prec.exp: New file.
1380 2014-07-12 Maciej W. Rozycki <macro@mips.com>
1381 Maciej W. Rozycki <macro@codesourcery.com>
1383 * lib/gdb-utils.exp: New file.
1384 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
1385 inline `gdb_init_command' processing.
1386 (gdb_start_cmd): Likewise.
1387 * lib/mi-support.exp (mi_run_cmd): Likewise.
1388 * README: Document `gdb_init_command' and `gdb_init_commands'.
1390 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1392 Fix false FAIL running under a very long directory name.
1393 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1394 and "set print elements 10000". Twice.
1396 2014-07-11 Yao Qi <yao@codesourcery.com>
1398 * gdb.base/exprs.exp: "set print symbol off".
1400 2014-07-11 Pedro Alves <palves@redhat.com>
1402 * gdb.threads/kill.c: New file.
1403 * gdb.threads/kill.exp: New file.
1405 2014-07-10 Yao Qi <yao@codesourcery.com>
1407 * gdb.trace/tfile.c (write_basic_trace_file)
1408 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1409 address written to trace file.
1411 2014-07-09 Pedro Alves <palves@redhat.com>
1413 * gdb.base/attach-wait-input.exp: New file.
1414 * gdb.base/attach-wait-input.c: New file.
1416 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1418 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1419 setting up test structures.
1420 (main): Call new test function.
1421 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1422 test function, continue into test function and walk test
1425 2014-07-02 Yao Qi <yao@codesourcery.com>
1427 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1428 'bar_start' at the beginning of functions 'foo' and 'bar'
1430 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1431 instead of 'foo' and 'bar'.
1433 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1435 * gdb.btrace/segv.exp: New.
1436 * gdb.btrace/segv.c: New.
1438 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
1440 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1443 2014-06-30 Mark Wielaard <mjw@redhat.com>
1445 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1446 vulture, vilify, villar): New volatile array constants.
1447 (vindictive, vegetation): New const volatile array constants.
1448 * gdb.base/volatile.exp: Test volatile and const volatile array
1451 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1453 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1454 target lacks support for awatch, rwatch, or hbreak.
1456 2014-06-27 Yao Qi <yao@codesourcery.com>
1458 * gdb.multi/dummy-frame-restore.exp: New.
1459 * gdb.multi/dummy-frame-restore.c: New.
1461 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1463 * gdb.btrace/gcore.exp: New.
1465 2014-06-23 Pedro Alves <palves@redhat.com>
1467 * gdb.base/watchpoint-reuse-slot.c: New file.
1468 * gdb.base/watchpoint-reuse-slot.exp: New file.
1470 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1472 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1473 progspace's filename in 'info', 'enable' and 'disable' command
1476 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1478 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1479 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1480 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1482 2014-06-20 Gary Benson <gbenson@redhat.com>
1484 * gdb.arch/i386-avx.exp: Fix include file location.
1485 * gdb.arch/i386-sse.exp: Likewise.
1487 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1489 * gdb.dlang/expression.exp: New file.
1491 2014-06-19 Pedro Alves <palves@redhat.com>
1493 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1495 (top level): ... here. Iterate running tests under different
1496 scheduler-locking settings.
1498 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
1500 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1501 to DW_FORM_addr and use non-zero addresses.
1503 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1506 * gdb.python/py-xmethods.cc: Add global function call counters and
1507 increment them in their respective functions. Remove "cout"
1509 * gdb.python/py-xmethods.exp: Make tests check the global function
1510 call counters instead of depending on inferior IO.
1512 2014-06-18 Don Breazeal <donb@codesourcery.com>
1514 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1516 (explicit_fork_parent_follow): Deleted procedure.
1517 (explicit_fork_child_follow): Deleted procedure.
1518 (test_follow_fork): New procedure.
1519 (do_fork_tests): Replace calls to deleted procedures with
1520 calls to test_follow_fork and reset GDB for subsequent
1523 2014-06-17 Yao Qi <yao@codesourcery.com>
1525 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1528 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
1530 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1531 Initialize ptr and S explicitly.
1532 (skip_type_update_when_not_use_rtti_test): Likewise.
1534 2014-06-16 Keith Seitz <keiths@redhat.com>
1537 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1538 the inferior is started.
1540 2014-06-16 Pedro Alves <palves@redhat.com>
1542 * gdb.base/break-main-file-remove-fail.c: New file.
1543 * gdb.base/break-main-file-remove-fail.exp: New file.
1544 * gdb.base/break-unload-file.exp: Use build_executable instead of
1545 prepare_for_testing.
1546 (test_break): New parameter "initial_load". Handle it.
1547 (top level): Add initial_load cmdline/file axis.
1549 2014-06-12 Tom Tromey <tromey@redhat.com>
1551 * gdb.base/completion.exp: Don't use directory name in test.
1553 2014-06-09 Gary Benson <gbenson@redhat.com>
1555 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1556 separate the always-available ANSI-standard signals from the
1557 signals that require checking.
1559 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1563 2014-06-07 Keith Seitz <keiths@redhat.com>
1567 * gdb.cp/var-tag.cc: New file.
1568 * gdb.cp/var-tag.exp: New file.
1569 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1570 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1571 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1572 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1574 2014-06-06 Doug Evans <xdje42@gmail.com>
1576 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1578 2014-06-06 Pedro Alves <palves@redhat.com>
1580 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1581 in target debug output instead of looking at RSP packets,
1582 disabling the test on any target that uses hardware stepping.
1585 2014-06-06 Pedro Alves <palves@redhat.com>
1587 * gdb.base/break-unload-file.exp: Fix typo.
1589 2014-06-06 Yao Qi <yao@codesourcery.com>
1591 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1592 from "jit_function" to "^jit_function".
1594 2014-06-06 Yao Qi <yao@codesourcery.com>
1596 * gdb.base/async.c (foo): Add one statement.
1597 * gdb.base/async.exp: Get the next instruction address and
1598 match the output of "nexti" by instruction address. Match
1599 the hex address in the output of "finish".
1601 2014-06-06 Gary Benson <gbenson@redhat.com>
1603 * gdb.base/call-signals.c: Remove preprocessor conditionals
1604 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1605 SIGSEGV and SIGTERM.
1606 * gdb.base/sigall.c: Likewise.
1607 * gdb.base/unwindonsignal.c: Likewise.
1608 * gdb.reverse/sigall-reverse.c: Likewise.
1610 2014-06-06 Yao Qi <yao@codesourcery.com>
1612 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1613 readable, skip the test.
1615 2014-06-06 Yao Qi <yao@codesourcery.com>
1617 * gdb.threads/staticthreads.c (thread_function): Move the line
1618 setting breakpoint on forward.
1619 * gdb.threads/staticthreads.exp: Update comments.
1621 2014-06-05 Ludovic Courtès <ludo@gnu.org>
1623 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1624 "history-append! type error".
1626 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1628 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1629 erroneous dprintf expected input.
1631 2014-06-04 Doug Evans <xdje42@gmail.com>
1633 * gdb.guile/scm-generics.exp: Delete.
1635 2014-06-04 Doug Evans <xdje42@gmail.com>
1637 * gdb.guile/scm-breakpoint.exp: Update.
1638 Add tests for breakpoint registration.
1640 2014-06-04 Tom Tromey <tromey@redhat.com>
1642 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1644 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1645 inner_vla_struct, vla_union types. Initialize objects of those
1646 types and compute their sizes.
1648 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1649 Hui Zhu <hui@codesourcery.com>
1651 * gdb.base/fileio.exp: Add test for shell not available as well as
1653 * gdb.base/fileio.c (test_system): Check for shell twice.
1655 2014-06-04 Yao Qi <yao@codesourcery.com>
1657 * gdb.base/auto-connect-native-target.exp: Remove redundant
1658 space from the regexp pattern.
1660 2014-06-04 Yao Qi <yao@codesourcery.com>
1662 * gdb.base/default.exp: Replace "child" with "native" in
1665 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1667 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1668 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1669 * gdb.python/py-xmethods.py: Python script supporting the
1670 new testcase and tests.
1672 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1673 Pedro Alves <palves@redhat.com>
1675 PR breakpoints/17000
1676 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1677 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1679 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1681 * gdb.base/subst.exp: Add tests to verify partial path matching
1684 2014-06-03 Pedro Alves <palves@redhat.com>
1686 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1687 target that doesn't use software single-stepping.
1689 2014-06-03 Pedro Alves <palves@redhat.com>
1691 PR breakpoints/17000
1692 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1693 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1695 2014-06-02 Doug Evans <xdje42@gmail.com>
1697 * gdb.guile/scm-parameter.exp: New file.
1699 2014-06-02 Doug Evans <xdje42@gmail.com>
1701 * gdb.guile/scm-cmd.c: New file.
1702 * gdb.guile/scm-cmd.exp: New file.
1704 2014-06-02 Doug Evans <xdje42@gmail.com>
1706 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1707 pretty-printer lookup.
1708 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1709 (make-pp_s-printer): Call it.
1710 (make-pretty-printer-from-dict): New function.
1711 (lookup-pretty-printer-maker-from-dict): New function.
1712 (*pretty-printer*): Simplify.
1713 (make-objfile-pp_s-printer): New function.
1714 (install-objfile-pretty-printers!): New function.
1715 (make-progspace-pp_s-printer): New function.
1716 (install-progspace-pretty-printers!): New function.
1717 * gdb.guile/scm-progspace.c: New file.
1718 * gdb.guile/scm-progspace.exp: New file.
1720 2014-06-02 Pedro Alves <palves@redhat.com>
1722 * gdb.base/dprintf-bp-same-addr.c: New file.
1723 * gdb.base/dprintf-bp-same-addr.exp: New file.
1725 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1727 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1728 * gdb.arch/powerpc-power.s: Likewise.
1730 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1732 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1734 2014-06-01 Yao Qi <yao@codesourcery.com>
1736 * gdb.base/watchpoint.exp (test_watch_location): Check null
1737 pointer can be dereferenced. If not, do the test, otherwise
1740 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1742 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1744 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1746 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1748 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1749 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1750 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1751 * gdb.arch/amd64-invalid-stack-top.c: New file.
1752 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1754 2014-05-30 Pedro Alves <palves@redhat.com>
1756 PR breakpoints/17000
1757 * gdb.base/sss-bp-on-user-bp.c: New file.
1758 * gdb.base/sss-bp-on-user-bp.exp: New file.
1760 2014-05-30 David Blaikie <dblaikie@gmail.com>
1762 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1763 gnu_inline semantics via attribute.
1764 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1765 source explicitly specifies the required semantics.
1767 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1769 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1771 2014-05-29 Pedro Alves <palves@redhat.com>
1772 Tom Tromey <tromey@redhat.com>
1774 * gdb.base/async-shell.exp: Don't enable target-async.
1775 * gdb.base/async.exp
1776 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1778 (top level): Don't test with "target-async".
1779 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1780 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1781 * gdb.base/inferior-died.exp: Don't enable target-async.
1782 * gdb.base/interrupt-noterm.exp: Likewise.
1783 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1784 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1785 * gdb.mi/mi-nonstop.exp: Likewise.
1786 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1787 * gdb.mi/mi-nsintrall.exp: Likewise.
1788 * gdb.mi/mi-nsmoribund.exp: Likewise.
1789 * gdb.mi/mi-nsthrexec.exp: Likewise.
1790 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1791 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1792 * gdb.python/py-evsignal.exp: Don't enable target-async.
1793 * gdb.python/py-evthreads.exp: Likewise.
1794 * gdb.python/py-prompt.exp: Likewise.
1795 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1796 * gdb.server/solib-list.exp: Don't enable target-async.
1797 * gdb.threads/thread-specific-bp.exp: Likewise.
1798 * lib/mi-support.exp: Adjust to use mi-async.
1800 2014-05-29 Pedro Alves <palves@redhat.com>
1803 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1804 reason, even in sync mode.
1806 2014-05-29 Pedro Alves <palves@redhat.com>
1807 Hui Zhu <hui@codesourcery.com>
1810 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1811 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1812 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1813 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1815 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1817 * config/monitor.exp (gdb_target_monitor): Replace use of
1818 "set remotebaud" by "set serial baud".
1820 2014-05-26 Andy Wingo <wingo@igalia.com>
1822 * gdb.guile/scm-breakpoint.exp:
1823 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1824 properties instead of gdb-object-properties.
1826 2014-05-26 Yao Qi <yao@codesourcery.com>
1828 * gdb.server/no-thread-db.exp: Specify source file name
1829 explicitly when setting a breakpoint.
1831 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1833 * gdb.btrace/vdso.c: New.
1834 * gdb.btrace/vdso.exp: New.
1836 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1838 * gdb.base/gcore.exp (capture_command_output): Move ...
1839 * lib/gdb.exp (capture_command_output): ... here.
1841 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1843 * gdb.btrace/data.exp: Test memory access during btrace replay.
1845 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1847 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1849 2014-05-21 Pedro Alves <palves@redhat.com>
1852 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1853 (top level): Test that output related to execution commands is
1854 sent to the console with CLI commands, but not with MI commands.
1855 Test that breakpoint events are always mirrored to the console.
1856 Also expect the new source line to be output after a "next" in
1857 async mode too. Make it a pass/fail test.
1858 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1860 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1862 2014-05-21 Pedro Alves <palves@redhat.com>
1864 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1865 Use them to test variations of "list" after reaching a breakpoint.
1866 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1867 Test "list" with listsize 10 after reaching a breakpoint.
1868 * gdb.python/python.exp (decode_line current location line
1869 number): Adjust expected line number.
1871 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1873 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1874 behavior for $args, pass it directly to "run".
1876 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1878 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1881 2014-05-21 Pedro Alves <palves@redhat.com>
1883 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1884 auto-connect-native-target off".
1885 * gdb.base/auto-connect-native-target.c: New file.
1886 * gdb.base/auto-connect-native-target.exp: New file.
1888 2014-05-21 Pedro Alves <palves@redhat.com>
1890 * gdb.base/default.exp: Test "target native" instead of "target
1893 2014-05-21 Mark Wielaard <mjw@redhat.com>
1895 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1897 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1899 Fix TLS access for -static -pthread.
1900 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1901 <HAVE_TLS> (thread_function, main): Initialize it.
1902 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1904 <$have_tls != "">: Check TLSVAR.
1906 2014-05-21 Pedro Alves <palves@redhat.com>
1908 * gdb.base/dcache-line-read-error.c: New.
1909 * gdb.base/dcache-line-read-error.exp: New.
1911 2014-05-20 Pedro Alves <palves@redhat.com>
1913 * gdb.base/compare-sections.c: New file.
1914 * gdb.base/compare-sections.exp: New file.
1916 2014-05-20 Pedro Alves <palves@redhat.com>
1918 * gdb.base/break-idempotent.c: New file.
1919 * gdb.base/break-idempotent.exp: New file.
1921 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1923 * gdb.btrace/nohist.exp: New.
1925 2014-05-20 Yao Qi <yao@codesourcery.com>
1927 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1928 gdb.reverse directory and gdb_reverse_timeout exists in board
1930 * README: Document gdb_reverse_timeout.
1932 2014-05-20 Yao Qi <yao@codesourcery.com>
1934 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1935 'test_file_name'. Treat args as a string instead of a list.
1936 (gdb_init): Rename argument 'args' by 'test_file_name'.
1938 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1940 * gdb.arch/powerpc-power.exp: New file.
1941 * gdb.arch/powerpc-power.s: New file.
1943 2014-05-16 Doug Evans <dje@google.com>
1945 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
1946 * gdb.base/completion.exp: Check that all expected files exist
1947 before doing file completion.
1949 2014-05-16 Doug Evans <dje@google.com>
1951 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1953 (do_syscall_tests_without_xml): Update.
1955 2014-05-16 Pedro Alves <palves@redhat.com>
1957 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1958 instead of "unknown output after running".
1960 2014-05-16 Yao Qi <yao@codesourcery.com>
1962 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1963 file1.txt from host at the end.
1964 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1966 2014-05-15 Doug Evans <dje@google.com>
1968 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1969 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1970 loading file. Add test for TU lookup.
1972 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1974 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1975 calling "-exec-arguments" or "set args" before running the
1978 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1980 * lib/mi-support.exp (mi_expect_stop): Expect message for
1981 inferiors that exit with non-zero exit code.
1983 2014-05-14 Yao Qi <yao@codesourcery.com>
1985 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1986 match absolute path on remote host.
1987 (test_file_list_exec_source_files): Remove "/" from the
1990 2014-05-14 Yao Qi <yao@codesourcery.com>
1992 * boards/local-remote-host-notty.exp (${board}_file): New
1995 2014-05-07 Kyle McMartin <kyle@redhat.com>
1997 Pushed by Joel Brobecker <brobecker@adacore.com>.
1998 * gdb.arch/aarch64-atomic-inst.c: New file.
1999 * gdb.arch/aarch64-atomic-inst.exp: New file.
2001 2014-05-07 Yao Qi <yao@codesourcery.com>
2003 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
2004 in current context" too.
2006 2014-05-05 Keith Seitz <keiths@redhat.com>
2008 * gdb.linespec/ls-dollar.exp: Add test for linespec
2009 file:convenience_variable.
2011 2014-05-05 Yao Qi <yao@codesourcery.com>
2013 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
2014 traceframes into tfile and ctf trace files. Read data from
2015 trace file and test collected data.
2016 (gdb_collect_locals_test): Likewise.
2017 (gdb_unavailable_registers_test): Likewise.
2018 (gdb_unavailable_floats): Likewise.
2019 (gdb_collect_globals_test): Likewise.
2020 (top-level): Append "ctf" to trace_file_targets if GDB
2023 2014-05-05 Yao Qi <yao@codesourcery.com>
2025 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
2027 (gdb_collect_args_test_1): ... it. New proc.
2028 (gdb_collect_locals_test): Move some code to ...
2029 (gdb_collect_locals_test_1): ... it. New proc.
2030 (gdb_unavailable_registers_test): Move some code to ...
2031 (gdb_unavailable_registers_test_1): ... it. New proc.
2032 (gdb_unavailable_floats): Move some code to ...
2033 (gdb_unavailable_floats_1): ... it. New proc.
2035 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2037 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
2038 probes to test for bitness recognition.
2039 * gdb.arch/amd64-stap-optional-prefix.exp
2040 (test_probe_value_without_reg): New procedure.
2041 Add code to test for different kinds of bitness.
2043 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2045 PR breakpoints/16889
2046 * gdb.arch/amd64-stap-optional-prefix.S: New file.
2047 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2049 2014-05-01 Pedro Alves <palves@redhat.com>
2051 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
2052 gdb_file_cmd if no file is specified.
2053 * boards/native-extended-gdbserver.exp (gdb_load): Use the
2054 last_loaded_file to set the remote exec-file.
2056 2014-05-01 Pedro Alves <palves@redhat.com>
2058 * boards/local-remote-host.exp: New file.
2060 2014-05-01 Pedro Alves <palves@redhat.com>
2062 * boards/local-remote-host.exp: Rename to ...
2063 * boards/local-remote-host-notty.exp: ... this.
2065 2014-04-28 Joel Brobecker <brobecker@adacore.com>
2067 * gdb.ada/dyn_arrayidx: New testcase.
2069 2014-04-26 Yao Qi <yao@codesourcery.com>
2071 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
2072 and compute the length of function main. Save it in
2074 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
2075 (top-level): Use gdb_compile to compile objects into
2076 executable and restart GDB. Remove invocation to
2077 prepare_for_testing.
2079 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
2080 Pedro Alves <palves@redhat.com>
2083 * gdb.multi/multi-attach.c: New file.
2084 * gdb.multi/multi-attach.exp: New file.
2086 2014-04-25 Pedro Alves <palves@redhat.com>
2088 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
2090 (top level): Test that "set remote conditional-breakpoints-packet
2091 off" works as intended.
2092 * gdb.base/dprintf.exp: Test that "set remote
2093 breakpoint-commands-packet off" works as intended.
2094 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
2096 (top level): Call it.
2097 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
2098 remote fast-tracepoints-packet off" works as intended.
2099 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
2100 * lib/gdb.exp (gdb_is_target_remote): ... here.
2102 2014-04-24 David Blaikie <dblaikie@gmail.com>
2104 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
2105 ensure clang would not discard them.
2106 * gdb.base/gdbvars.c: Ditto.
2107 * gdb.base/memattr.c: Ditto.
2108 * gdb.base/whatis.c: Ditto.
2109 * gdb.python/py-prettyprint.c: Ditto.
2110 * gdb.trace/actions.c: Ditto.
2111 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
2112 ensure clang would not discard it.
2114 2014-04-24 David Blaikie <dblaikie@gmail.com>
2116 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
2117 clang to emit the full definition of type required by the test
2118 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
2120 2014-04-24 David Blaikie <dblaikie@gmail.com>
2122 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
2123 coax Clang into emitting the definition of the type.
2124 * gdb.cp/pr10728-x.h (y): Ditto.
2125 * gdb.cp/pr10728-y.cc (y): Ditto.
2127 2014-04-24 David Blaikie <dblaikie@gmail.com>
2129 * gdb.base/label.exp: XFAIL label related tests under Clang.
2130 * gdb.cp/cplabel.exp: Ditto.
2131 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
2132 under Clang those using labels.
2134 2014-04-25 Yao Qi <yao@codesourcery.com>
2136 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
2138 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
2139 partial_label and double_label.
2141 2014-04-24 David Blaikie <dblaikie@gmail.com>
2143 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
2145 2014-04-24 David Blaikie <dblaikie@gmail.com>
2147 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
2148 of the function to work across GCC and Clang.
2149 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
2150 pointer types (const void ** const V void **).
2152 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
2153 Walfred Tedeschi <walfred.tedeschi@intel.com>
2155 * Makefile.in (EXECUTABLES): Added i386-avx512.
2156 * gdb.arch/i386-avx512.c: New file.
2157 * gdb.arch/i386-avx512.exp: Likewise.
2159 2014-04-23 Keith Seitz <keiths@redhat.com>
2161 * lib/mi-support.exp (mi_list_breakpoints): Delete.
2162 (mi_make_breakpoint_table): New procedure.
2163 (mi_create_breakpoint): Use mi_make_breakpoint
2164 and return the result.
2165 (mi_make_breakpoint): New procedure.
2166 (mi_build_kv_pairs): New procedure.
2168 * gdb.mi/mi-break.exp: Remove unused globals,
2169 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
2170 All callers updated.
2171 * gdb.mi/mi-dprintf.exp: Use variable to track command
2173 Update all callers of mi_create_breakpoint and use
2174 mi_make_breakpoint_table.
2175 Remove any unused global variables.
2176 * gdb.mi/mi-nonstop.exp: Likewise.
2177 * gdb.mi/mi-nsintrall.exp: Likewise.
2178 * gdb.mi/mi-nsmoribund.exp: Likewise.
2179 * gdb.mi/mi-nsthrexec.exp: Likewise.
2180 * gdb.mi/mi-reverse.exp: Likewise.
2181 * gdb.mi/mi-simplerun.exp: Likewise.
2182 * gdb.mi/mi-stepn.exp: Likewise.
2183 * gdb.mi/mi-syn-frame.exp: Likewise.
2184 * gdb.mi/mi-until.exp: Likewise.
2185 * gdb.mi/mi-var-cp.exp: Likewise.
2186 * gdb.mi/mi-var-display.exp: Likewise.
2187 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2188 * gdb.mi/mi2-var-child.exp: Likewise.
2189 * gdb.mi/mi-vla-c99.exp: Likewise.
2190 * lib/mi-support.exp: Likewise.
2192 From Ian Lance Taylor <iant@cygnus.com>:
2193 * lib/gdb.exp (parse_args): New procedure.
2195 2014-04-23 Pedro Alves <palves@redhat.com>
2197 * gdb.base/break-unload-file.c: New file.
2198 * gdb.base/break-unload-file.exp: New file.
2199 * gdb.base/sym-file-lib.c (baz): New function.
2200 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
2202 (load): Store the segment's mapped size.
2203 (unload): New function.
2204 (unload_shlib): New function.
2205 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
2206 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
2207 set a breakpoint at baz, and call it.
2208 * gdb.base/sym-file.exp: New tests for stale breakpoint
2211 2014-04-23 Pedro Alves <palves@redhat.com>
2213 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
2214 * gdb.base/hbreak-in-shr-unsupported.c: New file.
2215 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
2216 * gdb.base/hbreak-unmapped.c: New file.
2217 * gdb.base/hbreak-unmapped.exp: New file.
2218 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
2219 * lib/gdb.exp (gdb_is_target_remote): ... here.
2221 2014-04-22 Pedro Alves <palves@redhat.com>
2223 * gdb.base/consecutive-step-over.c: New file.
2224 * gdb.base/consecutive-step-over.exp: New file.
2226 2014-04-22 Pedro Alves <palves@redhat.com>
2228 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
2229 instead of send_gdb/gdb_expect.
2231 2014-04-22 Yao Qi <yao@codesourcery.com>
2233 * lib/trace-support.exp (generate_tracefile): New procedure.
2234 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
2236 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
2237 if generate_tracefile returns 1.
2239 2014-04-18 Tom Tromey <palves@redhat.com>
2240 Pedro alves <tromey@redhat.com>
2243 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
2244 with a backtrace limit.
2245 * gdb.python/py-frame-inline.exp: Test running to an inline
2246 function with a backtrace limit, and printing the newest frame.
2247 * gdb.python/py-frame-inline.c (main): Call f.
2249 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2251 * gdb.java/jnpe.exp: Drop srcdir from untested path.
2253 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2255 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
2256 Drop prefix from unsupported source file path.
2258 2014-04-17 Yao Qi <yao@codesourcery.com>
2260 * lib/gdb.exp (with_target_charset): New proc.
2261 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
2262 with_target_charset.
2263 (test_print_strings): Likewise.
2264 (test_repeat_bytes): Likewise.
2265 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
2268 2014-04-16 Keith Seitz <keiths@redhat.com>
2271 * gdb.dwarf2/corrupt.c: New file.
2272 * gdb.dwarf2/corrupt.exp: New file.
2274 2014-04-16 Keith Seitz <keiths@redhat.com>
2277 * gdb.cp/namelessclass.cc: New file.
2278 * gdb.cp/namelessclass.exp: New file.
2279 * gdb.cp/namelessclass.S: New file.
2281 2014-04-16 Doug Evans <dje@google.com>
2283 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
2285 (gdbserver_default_get_comm_port): New function.
2286 (gdbserver_start): Check if board file provided
2287 "gdbserver,get_comm_port" and use it if so.
2288 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
2289 (gdb,socketport): Set to "stdio".
2290 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
2291 (stdio_gdbserver_template): Delete.
2292 (${board}_get_remote_address): Update.
2293 (${board}_build_remote_cmd): Delete.
2294 (${board}_get_comm_port): New function.
2295 (${board}_spawn): Update.
2296 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
2298 (${board}_get_remote_address): Update.
2299 (${board}_get_comm_port): New function.
2301 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
2303 * gdb.base/memattr.exp: Improve regexps to handle memory regions
2304 appearing in any order.
2306 2014-04-15 Doug Evans <dje@google.com>
2308 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
2309 uninitialized value of "description".
2311 2014-04-15 Keith Seitz <keiths@redhat.com>
2313 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
2314 Remove unused globals.
2315 (test_running_the_program): Likewise.
2316 (test_controlled_execution): Likewise.
2317 (test_controlling_breakpoints): Likewise.
2318 (test_program_termination): Likewise.
2320 2014-04-15 Keith Seitz <keiths@redhat.com>
2322 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
2324 (test_rbreak_creation_and_listing): Likewise.
2325 (test_ignore_count): Likewise.
2326 (test_error): Likewise.
2328 2014-04-15 Pedro Alves <palves@redhat.com>
2330 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2331 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2333 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2334 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2335 to sym-file-loader.c.
2336 (struct library): Forward declare.
2337 (load_shlib, lookup_function): Change prototypes.
2338 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2339 (translate_offset): Remove declarations.
2340 (get_text_addr): New declaration.
2341 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2342 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2344 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2345 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2346 here from sym-file-loader.h.
2347 (struct library): New structure.
2348 (load_shlib, lookup_function): Change prototypes and adjust to
2349 work with a struct library.
2350 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2351 (translate_offset): Make static.
2352 (get_text_addr): New function.
2353 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
2355 2014-04-15 Pedro Alves <palves@redhat.com>
2357 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
2359 2014-04-15 Pedro Alves <palves@redhat.com>
2361 * gdb.base/sym-file-loader.c: Include <limits.h>.
2362 (SELF_LINK): New define.
2363 (get_origin): New function.
2364 (load_shlib): Use it.
2365 * gdb.base/sym-file.exp: Don't early return if the target is
2366 remote. Use runto_main, and issue fail is that fails. Use
2368 (shlib_name): Delete.
2369 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
2371 2014-04-15 Pedro Alves <palves@redhat.com>
2373 * gdb.base/sym-file.exp: Remove regex characters from test
2374 message. Don't refer to breakpoint numbers in test messages.
2376 2014-04-14 Keith Seitz <keiths@redhat.com>
2379 * gdb.cp/var-tag.cc: New file.
2380 * gdb.cp/var-tag.exp: New file.
2381 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2382 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2383 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2384 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2386 2014-04-14 Tom Tromey <tromey@redhat.com>
2388 * gdb.cp/classes.exp (test_enums): Handle underlying type.
2389 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
2391 * gdb.cp/enum-class.exp: New file.
2392 * gdb.cp/enum-class.cc: New file.
2394 2014-04-14 Tom Tromey <tromey@redhat.com>
2396 * gdb.dwarf2/enum-type.exp: New file.
2398 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2400 * gdb.mi/mi-vla-c99.exp: New file.
2401 * gdb.mi/vla.c: New file.
2403 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2405 * gdb.base/vla-datatypes.c: New file.
2406 * gdb.base/vla-datatypes.exp: New file.
2408 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2410 * gdb.base/vla-ptr.c: New file.
2411 * gdb.base/vla-ptr.exp: New file.
2413 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2415 * gdb.dwarf2/count.exp: New file.
2417 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2419 * gdb.base/vla-sideeffect.c: New file.
2420 * gdb.base/vla-sideeffect.exp: New file.
2422 2014-04-14 David Blaikie <dblaikie@gmail.com>
2424 * gdb.mi/non-stop.c: Add return value for non-void function return
2426 * gdb.threads/staticthreads.c: Ditto.
2428 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2429 Doug Evans <xdje42@gmail.com>
2431 * gdb.guile/scm-value.c: Improve test case.
2432 * gdb.guile/scm-value.exp: Add new test.
2434 2014-04-11 David Blaikie <dblaikie@gmail.com>
2436 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2437 override Clang's default.
2439 2014-04-11 Joel Brobecker <brobecker@adacore.com>
2441 Revert the following changes (regressions):
2443 * gdb.base/vla-sideeffect.c: New file.
2444 * gdb.base/vla-sideeffect.exp: New file.
2446 * gdb.dwarf2/count.exp: New file.
2448 * gdb.base/vla-multi.c: New file.
2449 * gdb.base/vla-multi.exp: New file.
2451 * gdb.base/vla-ptr.c: New file.
2452 * gdb.base/vla-ptr.exp: New file.
2454 * gdb.base/vla-datatypes.c: New file.
2455 * gdb.base/vla-datatypes.exp: New file.
2457 * gdb.mi/mi-vla-c99.exp: New file.
2458 * gdb.mi/vla.c: New file.
2460 2014-04-11 Keith Seitz <keiths@redhat.com>
2463 * gdb.cp/cpsizeof.exp: New file.
2464 * gdb.cp/cpsizeof.cc: New file.
2466 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2468 * gdb.mi/mi-vla-c99.exp: New file.
2469 * gdb.mi/vla.c: New file.
2471 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2473 * gdb.base/vla-datatypes.c: New file.
2474 * gdb.base/vla-datatypes.exp: New file.
2476 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2478 * gdb.base/vla-ptr.c: New file.
2479 * gdb.base/vla-ptr.exp: New file.
2481 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2483 * gdb.base/vla-multi.c: New file.
2484 * gdb.base/vla-multi.exp: New file.
2486 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2488 * gdb.dwarf2/count.exp: New file.
2490 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2492 * gdb.base/vla-sideeffect.c: New file.
2493 * gdb.base/vla-sideeffect.exp: New file.
2495 2014-04-11 Yao Qi <yao@codesourcery.com>
2497 * gdb.base/completion.exp: Check file exists before running tests
2500 2014-04-10 Pedro Alves <palves@redhat.com>
2502 * gdb.base/cond-eval-mode.c: New file.
2503 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2504 prepare_for_testing to build the new file. Check result of
2506 (test_break, test_watch): New procedures.
2507 (top level): Use them.
2509 2014-04-08 Pierre Muller <muller@sourceware.org>
2511 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2512 Ctrl-V use for mingw hosts.
2514 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2516 * gdb.python/py-value.c: Improve test case.
2517 * gdb.python/py-value.exp: Add new test.
2519 2014-04-07 David Blaikie <dblaikie@gmail.com>
2521 * lib/compiler.c: Identify the clang compiler.
2522 * lib/compiler.cc: Ditto.
2524 2014-04-03 Yao Qi <yao@codesourcery.com>
2526 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2528 2014-04-01 Anton Blanchard <anton@samba.org>
2530 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2533 2014-04-01 Anton Blanchard <anton@samba.org>
2535 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2536 prepare_for_testing.
2538 2014-04-01 Anton Blanchard <anton@samba.org>
2540 * gdb.arch/ppc64-atomic-inst.c: Remove.
2541 * gdb.arch/ppc64-atomic-inst.S: New file.
2542 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2544 2014-03-31 Doug Evans <dje@google.com>
2546 * gdb.base/print-symbol-loading-lib.c: New file.
2547 * gdb.base/print-symbol-loading-main.c: New file.
2548 * gdb.base/print-symbol-loading.exp: New file.
2550 2014-03-31 Yao Qi <yao@codesourcery.com>
2552 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2554 2014-03-28 Joel Brobecker <brobecker@adacore.com>
2556 * gdb.ada/mi_dyn_arr: New testcase.
2558 2014-03-27 Doug Evans <dje@google.com>
2560 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2562 2014-03-27 Yao Qi <yao@codesourcery.com>
2564 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2565 if target is nios2-*-*.
2567 2014-03-26 Yao Qi <yao@codesourcery.com>
2569 * lib/gdb.exp (readline_is_used): New proc.
2570 * gdb.base/completion.exp: Move tests on command complete up.
2571 Skip the rest of tests if readline is not used.
2572 * gdb.ada/complete.exp: Skp the test if readline is not
2574 * gdb.base/filesym.exp: Likewise.
2575 * gdb.base/macscp.exp: Likewise.
2576 * gdb.base/readline-ask.exp: Likewise.
2577 * gdb.base/readline.exp: Likewise.
2578 * gdb.python/py-cmd.exp: Likewise.
2579 * gdb.trace/tfile.exp: Likewise.
2581 2014-03-26 Yao Qi <yao@codesourcery.com>
2583 * gdb.base/macscp.exp: Fix code format issues.
2585 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2587 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2588 * gdb.asm/powerpc64le.inc: New file.
2590 2014-03-25 Pedro Alves <palves@redhat.com>
2591 Doug Evans <dje@google.com>
2593 * gdb.base/source-execution.c: New file.
2594 * gdb.base/source-execution.exp: New file.
2595 * gdb.base/source-execution.gdb: New file.
2597 2014-03-24 Doug Evans <dje@google.com>
2599 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2602 2014-03-24 Hui Zhu <hui@codesourcery.com>
2603 Pedro Alves <palves@redhat.com>
2605 PR breakpoints/16101
2606 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2607 test pass/fail messages. Detect missing support for dprintf when
2608 breakpoints are actually inserted.
2609 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2610 breakpoints are actually inserted.
2611 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2614 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2616 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2618 2014-03-22 Doug Evans <xdje42@gmail.com>
2620 * gdb.python/python.exp (python not supported): Verify multi-line
2621 python command issues an error.
2622 * gdb.guile/guile.exp (guile not supported): Verify multi-line
2623 guile command issues an error.
2625 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2627 * gdb.threads/thread-specific.exp: Handle the lack of usable
2628 $this_breakpoint and $this_thread.
2630 2014-03-21 Hui Zhu <hui@codesourcery.com>
2632 * gdb.base/attach.exp (do_command_attach_tests): New.
2634 2014-03-20 Tom Tromey <tromey@redhat.com>
2635 Pedro Alves <palves@redhat.com>
2638 * gdb.base/condbreak-call-false.c: New file.
2639 * gdb.base/condbreak-call-false.exp: New file.
2641 2014-03-20 Pedro Alves <palves@redhat.com>
2643 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2645 (block_signals, unblock_signals): Delete.
2646 (child_function_2, main): Remove references to deleted variable
2649 2014-03-20 Pedro Alves <palves@redhat.com>
2651 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2652 Use pthread_kill to signal thread 2.
2653 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2654 Adjust to make the test send itself a signal rather than using the
2655 host's "kill" command.
2657 2014-03-20 Pedro Alves <palves@redhat.com>
2659 * gdb.threads/multiple-step-overs.c: New file.
2660 * gdb.threads/multiple-step-overs.exp: New file.
2661 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2662 Adjust expected infrun debug output.
2664 2014-03-20 Pedro Alves <palves@redhat.com>
2666 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2667 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2669 2014-03-20 Pedro Alves <palves@redhat.com>
2672 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2673 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2674 of gdb_test_multiple.
2675 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2676 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2678 2014-03-20 Pedro Alves <palves@redhat.com>
2680 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2681 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2683 2014-03-19 Pedro Alves <palves@redhat.com>
2685 * gdb.base/async.exp: Remove early return.
2687 2014-03-19 Pedro Alves <palves@redhat.com>
2689 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2691 2014-03-19 Pedro Alves <palves@redhat.com>
2693 * gdb.base/async.exp (test_background): Expect \r\n after
2694 "completed." in the fail pattern.
2696 2014-03-19 Pedro Alves <palves@redhat.com>
2698 * gdb.base/async.exp (test_background): New procedure.
2699 Use it for all background execution command tests.
2701 2014-03-19 Pedro Alves <palves@redhat.com>
2703 * gdb.base/async.exp: Use prepare_for_testing.
2705 2014-03-19 Pedro Alves <palves@redhat.com>
2707 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2710 2014-03-19 Pedro Alves <palves@redhat.com>
2712 * gdb.base/async.c (main): Add "jump here" and "until here" line
2714 * gdb.base/async.exp (jump_here): New global.
2715 (jump& test): Use it.
2716 (until_here): New global.
2717 (until& test): Use it.
2719 2014-03-19 Pedro Alves <palves@redhat.com>
2721 * gdb.base/async.exp: Don't frob gdb_protocol.
2723 2014-03-18 Doug Evans <xdje42@gmail.com>
2725 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2726 Fix spelling of exec-done-display.
2728 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2731 * gdb.base/gdb-sigterm.c: New file.
2732 * gdb.base/gdb-sigterm.exp: New file.
2734 2014-03-18 Pedro Alves <palves@redhat.com>
2737 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2738 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2741 2014-03-17 Joel Brobecker <brobecker@adacore.com>
2743 * gdb.ada/pckd_arr_ren: New testcase.
2745 2014-03-13 Doug Evans <xdje42@gmail.com>
2748 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2749 collect after discarding symbols.
2751 2014-03-13 Ludovic Courtès <ludo@gnu.org>
2752 Doug Evans <xdje42@gmail.com>
2754 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2755 to history survives a gc.
2757 2014-03-13 Pedro Alves <palves@redhat.com>
2759 * gdb.base/default.exp: Don't test "target procfs".
2761 2014-03-13 Pedro Alves <palves@redhat.com>
2763 * gdb.base/default.exp: Update "target child" and "target procfs"
2764 tests to not expect "Unix".
2766 2014-03-12 Tom Tromey <tromey@redhat.com>
2768 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2769 New procs. Add target-async tests.
2770 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2771 Add target-async tests.
2773 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2775 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2776 'func_start' and 'func_end' for the beginning and end of the
2777 function code, respectively.
2778 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2779 'func_end' instead of 'func' and 'main'.
2781 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2783 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2784 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2785 generate the debug info assembler source.
2787 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2789 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2790 * gdb.dwarf2/arr-subrange.exp: Likewise.
2791 * gdb.dwarf2/dwz.exp: Likewise.
2792 * gdb.dwarf2/method-ptr.exp: Likewise.
2793 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2794 * gdb.dwarf2/subrange.exp: Likewise.
2795 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2796 * gdb.dwarf2/implptrpiece.exp: Likewise.
2797 * gdb.dwarf2/nostaticblock.exp: Likewise.
2799 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2801 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2802 directory to absolute path name arguments.
2804 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2806 * gdb.ada/tagged_access: New testcase.
2808 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2810 * gdb.btrace/data.exp: Update expected output.
2812 2014-03-06 Yao Qi <yao@codesourcery.com>
2814 * gdb.trace/pr16508.exp: New file.
2816 2014-03-05 Pedro Alves <palves@redhat.com>
2819 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2821 (top level): Adjust to use it. Add tests that exercise breakpoint
2822 interaction with the code-cache.
2824 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2826 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2827 test for 'history-append!'.
2829 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2831 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2832 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2833 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2834 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2835 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2836 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2838 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2840 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2841 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2842 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2844 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2846 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2848 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2850 * gdb.dwarf2/arr-stride.c: New file.
2851 * gdb.dwarf2/arr-stride.exp: New file.
2853 2014-02-26 Pedro Alves <palves@redhat.com>
2855 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2856 that won't ever trigger. Make sure that GDB reports the correct
2857 breakpoint that caused the stop.
2859 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2862 * gdb.base/auto-load-script: New file.
2863 * gdb.base/auto-load.c: New file.
2864 * gdb.base/auto-load.exp: New file.
2867 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2869 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2871 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2872 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2874 2014-02-24 Doug Evans <dje@google.com>
2876 * lib/gdb.exp (run_on_host): Log error output if program fails.
2878 2014-02-21 Pedro Alves <palves@redhat.com>
2880 * gdb.threads/step-after-sr-lock.c: Rename to ...
2881 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2882 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2883 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2886 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2889 * gdb.arch/amd64-stap-special-operands.exp: New file.
2890 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2891 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2892 * gdb.arch/amd64-stap-triplet.S: Likewise.
2893 * gdb.arch/amd64-stap-triplet.c: Likewise.
2895 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2897 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2898 in .section pseudo-op.
2900 2014-02-20 lin zuojian <manjian2006@gmail.com>
2901 Joel Brobecker <brobecker@adacore.com>
2902 Doug Evans <xdje42@gmail.com>
2905 * gdb.dwarf2/dw2-icycle.S: New file.
2906 * gdb.dwarf2/dw2-icycle.c: New file.
2907 * gdb.dwarf2/dw2-icycle.exp: New file.
2909 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2911 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2912 operations on gdb.Value objects.
2913 * gdb.python/py-value-cc.exp: Add new test to test operations on
2916 2014-02-18 Doug Evans <dje@google.com>
2918 * Makefile.in (TESTS): New variable.
2919 (expanded_tests, expanded_tests_or_none): New variables
2920 (check-single): Pass $(expanded_tests_or_none) to runtest.
2921 (check-parallel): Only run tests in $(TESTS) if non-empty.
2922 (check/no-matching-tests-found): New rule.
2923 * README: Document TESTS makefile variable.
2925 2014-02-18 Doug Evans <dje@google.com>
2927 * Makefile.in (check-parallel): rm -rf outputs temp.
2929 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2931 Fix "ERROR: no fileid for" in the testsuite.
2932 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2934 2014-02-12 Doug Evans <dje@google.com>
2936 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2937 (MISCELLANEOUS): New variable.
2938 (clean): rm -rf $(MISCELLANEOUS).
2939 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2940 dwp live in the same directory as symlinks, with each symlink pointed
2941 to a differently named file in a different directory.
2943 2014-02-11 Doug Evans <dje@google.com>
2945 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2946 of Tcl file commands.
2948 2014-02-10 Mark Kettenis <kettenis@gnu.org>
2950 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2953 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2955 * gdb.ada/tick_length_array_enum_idx: New testcase.
2957 2014-02-10 Doug Evans <xdje42@gmail.com>
2959 * configure.ac (AC_OUTPUT): Add gdb.guile.
2960 * configure: Regenerate.
2961 * lib/gdb-guile.exp: New file.
2962 * lib/gdb.exp (get_target_charset): New function.
2963 * gdb.base/help.exp: Update expected output from "apropos apropos".
2964 * gdb.guile/Makefile.in: New file.
2965 * gdb.guile/guile.exp: New file.
2966 * gdb.guile/scm-arch.c: New file.
2967 * gdb.guile/scm-arch.exp: New file.
2968 * gdb.guile/scm-block.c: New file.
2969 * gdb.guile/scm-block.exp: New file.
2970 * gdb.guile/scm-breakpoint.c: New file.
2971 * gdb.guile/scm-breakpoint.exp: New file.
2972 * gdb.guile/scm-disasm.c: New file.
2973 * gdb.guile/scm-disasm.exp: New file.
2974 * gdb.guile/scm-equal.c: New file.
2975 * gdb.guile/scm-equal.exp: New file.
2976 * gdb.guile/scm-error.exp: New file.
2977 * gdb.guile/scm-error.scm: New file.
2978 * gdb.guile/scm-frame-args.c: New file.
2979 * gdb.guile/scm-frame-args.exp: New file.
2980 * gdb.guile/scm-frame-args.scm: New file.
2981 * gdb.guile/scm-frame-inline.c: New file.
2982 * gdb.guile/scm-frame-inline.exp: New file.
2983 * gdb.guile/scm-frame.c: New file.
2984 * gdb.guile/scm-frame.exp: New file.
2985 * gdb.guile/scm-generics.exp: New file.
2986 * gdb.guile/scm-gsmob.exp: New file.
2987 * gdb.guile/scm-iterator.c: New file.
2988 * gdb.guile/scm-iterator.exp: New file.
2989 * gdb.guile/scm-math.c: New file.
2990 * gdb.guile/scm-math.exp: New file.
2991 * gdb.guile/scm-objfile-script-gdb.in: New file.
2992 * gdb.guile/scm-objfile-script.c: New file.
2993 * gdb.guile/scm-objfile-script.exp: New file.
2994 * gdb.guile/scm-objfile.c: New file.
2995 * gdb.guile/scm-objfile.exp: New file.
2996 * gdb.guile/scm-ports.exp: New file.
2997 * gdb.guile/scm-pretty-print.c: New file.
2998 * gdb.guile/scm-pretty-print.exp: New file.
2999 * gdb.guile/scm-pretty-print.scm: New file.
3000 * gdb.guile/scm-section-script.c: New file.
3001 * gdb.guile/scm-section-script.exp: New file.
3002 * gdb.guile/scm-section-script.scm: New file.
3003 * gdb.guile/scm-symbol.c: New file.
3004 * gdb.guile/scm-symbol.exp: New file.
3005 * gdb.guile/scm-symtab-2.c: New file.
3006 * gdb.guile/scm-symtab.c: New file.
3007 * gdb.guile/scm-symtab.exp: New file.
3008 * gdb.guile/scm-type.c: New file.
3009 * gdb.guile/scm-type.exp: New file.
3010 * gdb.guile/scm-value-cc.cc: New file.
3011 * gdb.guile/scm-value-cc.exp: New file.
3012 * gdb.guile/scm-value.c: New file.
3013 * gdb.guile/scm-value.exp: New file.
3014 * gdb.guile/source2.scm: New file.
3015 * gdb.guile/types-module.cc: New file.
3016 * gdb.guile/types-module.exp: New file.
3018 2014-02-10 Yao Qi <yao@codesourcery.com>
3021 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
3022 * configure: Regenerated.
3023 * Makefile.in: New file.
3025 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3027 * gdb.python/py-framefilter.exp: Fix typo.
3029 2014-02-08 Yao Qi <yao@codesourcery.com>
3031 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
3032 that no =breakpoint-modified is emitted when breakpoints are
3033 modified through MI commands.
3035 2014-02-07 Pedro Alves <pedro@codesourcery.com>
3036 Pedro Alves <palves@redhat.com>
3038 * gdb.threads/step-after-sr-lock.c: New file.
3039 * gdb.threads/step-after-sr-lock.exp: New file.
3041 2014-02-07 Pedro Alves <palves@redhat.com>
3043 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
3045 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3047 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
3048 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
3050 2014-02-06 Doug Evans <xdje42@gmail.com>
3052 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
3055 * gdb.gdb/python-interrupts.exp: New file.
3057 2014-02-05 Yao Qi <yao@codesourcery.com>
3059 * gdb.trace/report.exp (use_collected_data): Test the output
3060 of "info threads" and "info inferiors".
3062 2014-02-05 Yao Qi <yao@codesourcery.com>
3066 2013-05-24 Yao Qi <yao@codesourcery.com>
3068 * gdb.trace/tfile.exp: Test inferior and thread.
3070 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3072 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
3074 * gdb.base/step-bt.c: Call hello via function pointer to make
3075 sure its first instruction is executed on powerpc64le-linux.
3077 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3079 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
3081 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3083 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
3084 of the test patterns for use on little-endian systems.
3086 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3088 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
3089 (decimal_vector): Fix for little-endian.
3091 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3093 * gdb.arch/sparc-sysstep.exp: New file.
3094 * gdb.arch/sparc-sysstep.c: Likewise.
3096 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
3098 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3100 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
3102 2014-01-23 Tom Tromey <tromey@redhat.com>
3104 * gdb.ada/array_char_idx: New testcase.
3106 2014-01-23 Tom Tromey <tromey@redhat.com>
3109 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
3110 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
3113 2014-01-23 Tom Tromey <tromey@redhat.com>
3116 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
3117 string from an inferior frame.
3118 * gdb.python/py-framefilter-mi.exp: Update.
3120 2014-01-22 Doug Evans <dje@google.com>
3122 * gdb.server/server-mon.exp: Add tests for "set debug-format".
3124 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3126 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
3128 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3130 * gdb.trace/entry-values.exp: Remove excess space character from
3131 regex patterns. Handle s390 call instruction.
3133 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3135 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
3136 define "*_start" label. Make "name" static.
3137 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
3138 ${name} by references to ${name}_start.
3140 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3142 * gdb.base/info-macros.exp: Remove "debug" from the compile
3145 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3147 * gdb.dlang/demangle.exp: New file.
3149 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3151 * gdb.dlang/primitive-types.exp: New file.
3153 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3155 * configure.ac: Create gdb.dlang/Makefile.
3156 * configure: Regenerate.
3157 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
3158 * gdb.dlang/Makefile.in: New file.
3159 * lib/d-support.exp: New file.
3160 * lib/gdb.exp (skip_d_tests): New proc.
3162 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3164 * gdb.btrace/delta.exp: Check reverse stepi.
3165 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
3166 * gdb.btrace/finish.exp: New.
3167 * gdb.btrace/next.exp: New.
3168 * gdb.btrace/nexti.exp: New.
3169 * gdb.btrace/record_goto.c: Add comments.
3170 * gdb.btrace/step.exp: New.
3171 * gdb.btrace/stepi.exp: New.
3172 * gdb.btrace/multi-thread-step.c: New.
3173 * gdb.btrace/multi-thread-step.exp: New.
3174 * gdb.btrace/rn-dl-bind.c: New.
3175 * gdb.btrace/rn-dl-bind.exp: New.
3176 * gdb.btrace/data.c: New.
3177 * gdb.btrace/data.exp: New.
3178 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3180 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3182 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
3183 * gdb.btrace/exception.exp: Update.
3184 * gdb.btrace/instruction_history.exp: Update.
3185 * gdb.btrace/record_goto.exp: Update.
3186 * gdb.btrace/tailcall.exp: Update.
3187 * gdb.btrace/unknown_functions.exp: Update.
3188 * gdb.btrace/delta.exp: New.
3190 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3192 * gdb.btrace/record_goto.exp: Add backtrace test.
3193 * gdb.btrace/tailcall.exp: Add backtrace test.
3195 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3197 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
3198 * gdb.btrace/record_goto.c: New.
3199 * gdb.btrace/record_goto.exp: New.
3200 * gdb.btrace/x86-record_goto.S: New.
3202 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3204 * gdb.btrace/function_call_history.exp: Update tests.
3205 * gdb.btrace/instruction_history.exp: Update tests.
3207 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3209 * gdb.btrace/function_call_history.exp: Fix expected field
3210 order for "record function-call-history".
3211 Add new tests for "record function-call-history /c".
3212 * gdb.btrace/exception.cc: New.
3213 * gdb.btrace/exception.exp: New.
3214 * gdb.btrace/tailcall.exp: New.
3215 * gdb.btrace/x86-tailcall.S: New.
3216 * gdb.btrace/x86-tailcall.c: New.
3217 * gdb.btrace/unknown_functions.c: New.
3218 * gdb.btrace/unknown_functions.exp: New.
3219 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3221 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3223 * gdb.btrace/instruction_history.exp: Update.
3224 * gdb.btrace/function_call_history.exp: Update.
3226 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3228 * gdb.btrace/function_call_history.exp: Fix expected function
3230 * gdb.btrace/instruction_history.exp: Initialize traced.
3231 Remove traced_functions.
3233 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3235 * gdb.btrace/function_call_history.exp: Update
3236 * gdb.btrace/instruction_history.exp: Update.
3238 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3240 * gdb.btrace/enable.exp: Update expected text.
3242 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
3244 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
3247 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
3249 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
3251 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3253 * lib/gdb.exp (supports_process_record): Return true for
3254 arm*-linux*. (supports_reverse): Likewise.
3256 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3260 * gdb.python/py-type.c: Enhance test case.
3261 * gdb.python/py-value-cc.cc: Likewise
3262 * gdb.python/py-type.exp: Add new tests.
3263 * gdb.python/py-value-cc.exp: Likewise
3265 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3266 Pedro Alves <palves@redhat.com>
3268 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
3270 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
3271 references to ${name}_start by references to ${name}.
3273 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3275 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
3277 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3279 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
3281 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
3282 Pedro Alves <palves@redhat.com>
3284 * gdb.mi/mi-info-os.exp: Connect to the target with
3287 2014-01-08 Pedro Alves <palves@redhat.com>
3289 * gdb.threads/reconnect-signal.c: New file.
3290 * gdb.threads/reconnect-signal.exp: New file.
3292 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3294 * gdb.base/source-dir.exp: New file.
3296 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3298 * gdb.ada/mi_interface: New testcase.
3300 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3302 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
3303 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
3304 gdb.ada/pp-rec-component/pck.ads: New files.
3306 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3308 * gdb.python/py-pp-integral.c: New file.
3309 * gdb.python/py-pp-integral.py: New file.
3310 * gdb.python/py-pp-integral.exp: New file.
3312 For older changes see ChangeLog-1993-2013.
3318 ;; version-control: never
3321 Copyright 2014 Free Software Foundation, Inc.
3322 Copying and distribution of this file, with or without modification,
3323 are permitted provided the copyright notice and this notice are preserved.