1 2014-11-19 Joel Brobecker <brobecker@adacore.com>
3 * gdb.ada/arr_arr: New testcase.
5 2014-11-19 Joel Brobecker <brobecker@adacore.com>
7 * gdb.ada/pkd_arr_elem: New Testcase.
9 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
11 * gdb.reverse/break-precsave: Expect completion message for
13 * gdb.reverse/consecutive-precsave.exp: Likewise.
14 * gdb.reverse/finish-precsave.exp: Likewise.
15 * gdb.reverse/i386-precsave.exp: Likewise.
16 * gdb.reverse/machinestate-precsave.exp: Likewise.
17 * gdb.reverse/sigall-precsave.exp: Likewise.
18 * gdb.reverse/solib-precsave.exp: Likewise.
19 * gdb.reverse/step-precsave.exp: Likewise.
20 * gdb.reverse/until-precsave.exp: Likewise.
21 * gdb.reverse/watch-precsave.exp: Likewise.
23 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
25 * gdb.base/bp-permanent.c: Include unistd.h.
26 * gdb.python/py-framefilter-mi.c (main): Add return type.
27 * gdb.python/py-framefilter.c (main): Likewise.
28 * gdb.trace/actions-changed.c (main): Likewise.
30 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
32 * gdb.mi/until.c: Add eye-catchers.
33 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
36 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
38 * gdb.base/condbreak.exp: Drop references to removed non-prototype
39 function header variants in break1.c.
40 * gdb.base/ena-dis-br.exp: Likewise.
41 * gdb.base/hbreak2.exp: Likewise.
42 * gdb.reverse/until-precsave.exp: Drop references to removed
43 non-prototype function header variants in ur1.c.
44 * gdb.reverse/until-reverse.exp: Likewise.
46 2014-11-17 Petr Machata <pmachata@redhat.com>
48 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
49 ${_cu_offset_size} bytes abbrev offset.
51 2014-11-15 Doug Evans <xdje42@gmail.com>
54 * gdb.base/line-symtabs.exp: New file.
55 * gdb.base/line-symtabs.c: New file.
56 * gdb.base/line-symtabs.h: New file.
58 2014-11-14 Yao Qi <yao@codesourcery.com>
60 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
61 (func): Add label func_label.
62 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
63 Replace low_pc and high_pc with MACRO_AT_range.
64 Replace name, low_pc and high_pc with MACRO_AT_func.
66 2014-11-14 Yao Qi <yao@codesourcery.com>
68 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
69 Replace name, low_pc and high_pc with MACRO_AT_func.
71 2014-11-14 Yao Qi <yao@codesourcery.com>
73 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
74 produce debug information.
75 * gdb.dwarf2/implptr-optimized-out.S: Removed.
77 2014-11-14 Yao Qi <yao@codesourcery.com>
79 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
80 object and get function length.
81 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
83 (top-level): Replace gdb_compile and clean_restart with
85 * gdb.dwarf2/main.c (main): Add label main_label.
87 2014-11-14 Yao Qi <yao@codesourcery.com>
89 * lib/dwarf.exp (function_range): New procedure.
90 (Dwarf::_handle_macro_at_func): New procedure.
91 (Dwarf::_handle_macro_at_range): New procedure.
92 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
94 2014-11-14 Yao Qi <yao@codesourcery.com>
96 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
97 (_handle_attribute): New procedure.
99 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
101 * gdb.ada/cond_lang/foo.c (callme): Add return type.
102 * gdb.base/call-sc.c (zed): Likewise.
103 * gdb.base/checkpoint.c (main): Likewise.
104 * gdb.base/dump.c (main): Likewise.
105 * gdb.base/gcore.c (main): Likewise.
106 * gdb.base/huge.c (main): Likewise.
107 * gdb.base/multi-forks.c (main): Likewise.
108 * gdb.base/pr10179-a.c (main): Likewise.
109 * gdb.base/savedregs.c (main): Likewise.
110 * gdb.base/sigaltstack.c (main): Likewise.
111 * gdb.base/siginfo.c (main): Likewise.
112 * gdb.base/structs.c (zed): Likewise.
113 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
114 * gdb.mi/mi-syn-frame.c (main): Likewise.
115 * gdb.mi/until.c (foo, main): Likewise.
116 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
117 * gdb.base/solib-weak.c (foo): Declare.
118 * gdb.base/attach-twice.c: Include stdio.h.
119 * gdb.base/weaklib1.c: Likewise.
120 * gdb.base/weaklib2.c: Likewise.
121 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
122 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
124 * gdb.base/attach-pie-misread.c: Include stdlib.h.
125 * gdb.mi/mi-exit-code.c: Likewise.
126 * gdb.base/break-interp-lib.c: Include string.h.
127 * gdb.base/coremaker.c: Likewise.
128 * gdb.base/testenv.c: Likewise.
129 * gdb.python/py-finish-breakpoint.c: Likewise.
130 * gdb.base/inferior-died.c: Include sys/wait.h.
131 * gdb.base/fileio.c: Include time.h.
132 * gdb.base/async-shell.c: Include unistd.h.
133 * gdb.base/dprintf-non-stop.c: Likewise.
134 * gdb.base/info-os.c: Likewise.
135 * gdb.mi/mi-console.c: Likewise.
136 * gdb.mi/watch-nonstop.c: Likewise.
137 * gdb.python/py-events.c: Likewise.
138 * gdb.base/async.c (baz): Move up before its invocation.
139 * gdb.base/code_elim2.c (my_global_func): Likewise.
140 * gdb.base/skip-solib-lib.c (multiply): Likewise.
141 * gdb.base/advance.c (func2): Likewise.
143 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
145 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
147 * gdb.base/annota3.c: Likewise.
148 * gdb.base/async.c: Likewise.
149 * gdb.base/average.c: Likewise.
150 * gdb.base/call-ar-st.c: Likewise.
151 * gdb.base/call-rt-st.c: Likewise.
152 * gdb.base/call-sc.c: Likewise.
153 * gdb.base/call-strs.c: Likewise.
154 * gdb.base/ending-run.c: Likewise.
155 * gdb.base/execd-prog.c: Likewise.
156 * gdb.base/exprs.c: Likewise.
157 * gdb.base/foll-exec.c: Likewise.
158 * gdb.base/foll-fork.c: Likewise.
159 * gdb.base/foll-vfork.c: Likewise.
160 * gdb.base/funcargs.c: Likewise.
161 * gdb.base/gcore.c: Likewise.
162 * gdb.base/jump.c: Likewise.
163 * gdb.base/langs0.c: Likewise.
164 * gdb.base/langs1.c: Likewise.
165 * gdb.base/langs2.c: Likewise.
166 * gdb.base/mips_pro.c: Likewise.
167 * gdb.base/nodebug.c: Likewise.
168 * gdb.base/opaque0.c: Likewise.
169 * gdb.base/opaque1.c: Likewise.
170 * gdb.base/recurse.c: Likewise.
171 * gdb.base/run.c: Likewise.
172 * gdb.base/scope0.c: Likewise.
173 * gdb.base/scope1.c: Likewise.
174 * gdb.base/setshow.c: Likewise.
175 * gdb.base/setvar.c: Likewise.
176 * gdb.base/shmain.c: Likewise.
177 * gdb.base/shr1.c: Likewise.
178 * gdb.base/shr2.c: Likewise.
179 * gdb.base/sigall.c: Likewise.
180 * gdb.base/signals.c: Likewise.
181 * gdb.base/so-indr-cl.c: Likewise.
182 * gdb.base/solib2.c: Likewise.
183 * gdb.base/structs.c: Likewise.
184 * gdb.base/sum.c: Likewise.
185 * gdb.base/vforked-prog.c: Likewise.
186 * gdb.base/watchpoint.c: Likewise.
187 * gdb.reverse/shr2.c: Likewise.
188 * gdb.reverse/until-reverse.c: Likewise.
189 * gdb.reverse/ur1.c: Likewise.
190 * gdb.reverse/watch-reverse.c: Likewise.
192 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
194 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
196 * gdb.base/sepdebug.exp: Drop references to removed code.
198 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
200 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
201 variant. Preserve original line numbering.
202 * gdb.base/list1.c: Likewise.
204 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
206 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
208 * gdb.base/break1.c: Likewise.
209 * gdb.base/break.exp: Drop references to removed code.
211 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
213 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
216 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
218 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
220 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
222 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
223 logic into perform_all_tests() and invoke it with and without
224 function header prototypes.
225 (do_function_calls): Remove conditional XFAIL for PR 5318.
226 (rerun_and_prepare): Remove duplicate code.
227 (perform_all_tests): New. Main logic moved here.
229 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
231 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
232 code guarded by #ifdef NO_PROTOTYPES.
233 (t_double_many_args): Likewise.
234 (DEF_FUNC_MANY_ARGS_1): Likewise.
235 (DEF_FUNC_VALUES_1): Likewise.
236 (t_structs_ldc): Renamed from t_structs_fc in conditional code
237 guarded by #ifdef PROTOTYPES.
239 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
241 * gdb.mi/mi-console.c: Add eye-catcher.
242 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
243 instead of literal line number.
245 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
247 * gdb.base/shr2.c: Add eye-catcher.
248 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
251 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
253 * gdb.base/jump.c: Add eye-catchers.
254 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
257 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
259 * gdb.base/execd-prog.c: Add eye-catchers.
260 * gdb.base/foll-exec.c: Likewise.
261 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
264 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
266 * gdb.base/ending-run.c: Add eye-catchers.
267 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
268 literal line numbers.
270 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
272 * gdb.base/call-rt-st.c: Add eye-catchers.
273 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
274 literal line numbers.
276 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
278 * gdb.base/call-ar-st.c: Add eye-catchers.
279 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
280 literal line numbers.
282 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
284 * gdb.base/average.c: Add eye-catchers.
285 * gdb.base/sum.c: Likewise.
286 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
289 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
291 * gdb.base/solib1.c: Add eye-catchers.
292 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
293 literal line numbers.
295 2014-11-12 Pedro Alves <palves@redhat.com>
297 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
300 2014-11-12 Pedro Alves <palves@redhat.com>
302 * gdb.arch/i386-bp_permanent.c: New file.
303 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
304 (srcfile): Set to i386-bp_permanent.c.
305 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
306 that stepi does not execute the 'leave' instruction, instead of
307 testing it does execute.
308 * gdb.base/bp-permanent.c: New file.
309 * gdb.base/bp-permanent.exp: New file.
311 2014-11-10 Doug Evans <xdje42@gmail.com>
314 * gdb.base/symtab-search-order.exp: New file.
315 * gdb.base/symtab-search-order.c: New file.
316 * gdb.base/symtab-search-order-1.c: New file.
317 * gdb.base/symtab-search-order-shlib-1.c: New file.
319 2014-11-07 Pedro Alves <palves@redhat.com>
322 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
325 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
328 * gdb.cp/pr17494.cc: New file.
329 * gdb.cp/pr17494.exp: New file.
331 2014-11-02 Yao Qi <yao@codesourcery.com>
333 * gdb.python/python.exp: Get working directory and match the
334 output of "set extended-prompt \\w " with it.
336 2014-10-30 Doug Evans <dje@google.com>
338 * gdb.python/py-objfile.exp: Add tests for setting random attributes
340 * gdb.python/py-progspace.exp: Add tests for setting random attributes
343 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
345 * gdb.base/fullpath-expand.exp: Skip for a remote host.
346 * gdb.base/realname-expand.exp: Likewise.
347 * gdb.linespec/macro-relative.exp: Likewise.
349 2014-10-29 Pedro Alves <palves@redhat.com>
352 * gdb.threads/schedlock.c (some_function): New function.
353 (call_function): New global.
354 (MAYBE_CALL_SOME_FUNCTION): New macro.
355 (thread_function): Call it.
356 * gdb.threads/schedlock.exp (get_args): Add description parameter,
357 and use it instead of a global counter. Adjust all callers.
358 (get_current_thread): Use "find current thread" for test message
359 here rather than having all callers pass down the same string.
360 (goto_loop): New procedure, factored out from ...
361 (my_continue): ... this.
362 (step_ten_loops): Change parameter from test message to command to
364 (list_count): Delete global.
365 (check_result): New procedure, factored out from duplicate top
367 (continue tests): Wrap in with_test_prefix.
368 (test_step): New procedure, factored out from duplicate top level
370 (top level): Test "step" in combination with all scheduler-locking
371 modes. Test "next" in combination with all scheduler-locking
372 modes, and in combination with stepping over a function call or
374 * gdb.threads/next-bp-other-thread.c: New file.
375 * gdb.threads/next-bp-other-thread.exp: New file.
377 2014-10-29 Pedro Alves <palves@redhat.com>
380 * gdb.python/python.exp: Test a multi-line command that spawns
382 * gdb.base/multi-line-starts-subshell.exp: New file.
384 2014-10-29 Yao Qi <yao@codesourcery.com>
386 * gdb.base/fileio.exp: Make directories on host.
388 2014-10-29 Yao Qi <yao@codesourcery.com>
390 * gdb.base/fileio.c (test_write): Close the file.
392 2014-10-28 Pedro Alves <palves@redhat.com>
395 * gdb.base/sigstep.c (no_handler): New global.
396 (main): If 'no_handler is true, set the signal handlers to
398 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
399 with_sw_watch and no_handler parameters. Handle them.
400 (top level) <stepping over handler when stopped at a breakpoint
401 test>: Add a test axis for testing with a software watchpoint, and
402 another for testing with the signal handler set to SIG_IGN.
403 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
404 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
406 2014-10-28 Pedro Alves <palves@redhat.com>
409 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
410 * gdb.base/sigstep.exp (other_handler_location): New global.
411 (advance): Support stepping into the signal handler, and running
412 commands while in the handler.
413 (in_handler_map): New global.
414 (top level): In the advance test, add combinations for getting
415 into the handler with stepping commands, and for running commands
416 in the handler. Add comment descripting the advancei tests.
418 2014-10-28 Pedro Alves <palves@redhat.com>
420 * gdb.base/sigstep.exp: Use build_executable instead of
422 (top level): Move code that starts GDB, runs to main and creates a
424 (restart): ... this new procedure.
425 (top level): Move backtrace from signal handler test to ...
426 (validate_backtrace): ... this new procedure.
427 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
428 with_test_prefix. Always restart GDB.
429 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
430 with_test_prefix. Always restart GDB. No need to delete
431 breakpoints after the test.
432 (test_skip_handler): Remove prefix parameter.
433 (skip_over_handler, breakpoint_to_handler)
434 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
435 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
436 restart GDB. No need to delete breakpoints after the test.
437 (top level): Use foreach to call the test procedures with
440 2014-10-28 Pedro Alves <palves@redhat.com>
442 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
443 instead of GNATS numbers.
444 * gdb.base/sigbpt.exp: Likewise.
445 * gdb.base/siginfo.exp: Likewise.
446 * gdb.base/sigstep.exp: Likewise.
448 2014-10-27 Pedro Alves <palves@redhat.com>
450 * gdb.base/sigstep.c (dummy): New global.
451 (main): Issue a couple writes to the new global.
452 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
454 (skip_over_handler): Use test_skip_handler.
455 (top level): Call skip_over_handler for stepi and nexti too.
456 (breakpoint_over_handler): Use test_skip_handler.
457 (top level): Call breakpoint_over_handler for stepi and nexti too.
459 2014-10-27 Yao Qi <yao@codesourcery.com>
461 * gdb.trace/tfile.c (adjust_function_address)
462 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
465 2014-10-24 Don Breazeal <donb@codesourcery.com>
467 * gdb.base/foll-fork.exp (test_follow_fork,
468 catch_fork_child_follow): Check for updated fork messages emitted
470 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
471 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
472 vfork_and_exec_child_follow_through_step): Check for updated vfork
473 messages emitted from infrun.c.
475 2014-10-24 Pedro Alves <palves@redhat.com>
477 * gdb.base/corefile.exp: Remove references to ultrix.
478 * gdb.base/interrupt.exp: Likewise.
479 * gdb.base/whatis.exp: Likewise.
480 * gdb.gdb/selftest.exp: Likewise.
481 * gdb.threads/manythreads.exp: Likewise.
482 * gdb.threads/print-threads.exp: Likewise.
483 * gdb.threads/pthreads.exp:: Likewise.
484 * gdb.threads/schedlock.exp: Likewise.
486 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
488 * gdb.cp/non-trivial-retval.cc: Add a test case.
489 * gdb.cp/non-trivial-retval.exp: Add a test.
491 2014-10-20 Yao Qi <yao@codesourcery.com>
493 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
494 * gdb.python/py-objfile-script-gdb.py: New file.
495 * gdb.python/py-objfile-script.exp: Update reference to
496 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
497 of remote_download. Remove the dest file.
499 2014-10-20 Yao Qi <yao@codesourcery.com>
501 * gdb.base/checkpoint.exp: Don't remove file copied on host.
502 * gdb.base/step-line.exp: Likewise.
503 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
504 * gdb.dwarf2/dw2-basic.exp: Likewise.
505 * gdb.dwarf2/dw2-compressed.exp: Likewise.
506 * gdb.dwarf2/dw2-filename.exp: Likewise.
507 * gdb.dwarf2/dw2-intercu.exp: Likewise.
508 * gdb.dwarf2/dw2-intermix.exp: Likewise.
509 * gdb.dwarf2/dw2-producer.exp: Likewise.
510 * gdb.dwarf2/mac-fileno.exp: Likewise.
511 * gdb.python/py-frame-args.exp: Likewise.
512 * gdb.python/py-framefilter.exp: Likewise.
513 * gdb.python/py-mi.exp: Likewise.
514 * gdb.python/py-objfile-script.exp: Likewise
515 * gdb.python/py-pp-integral.exp: Likewise.
516 * gdb.python/py-pp-re-notag.exp: Likewise.
517 * gdb.python/py-prettyprint.exp: Likewise.
518 * gdb.python/py-section-script.exp: Likewise.
519 * gdb.python/py-typeprint.exp: Likewise.
520 * gdb.python/py-xmethods.exp: Likewise.
521 * gdb.stabs/weird.exp: Likewise.
522 * gdb.xml/tdesc-regs.exp: Likewise.
524 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
526 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
527 (out_cu): Use addr_len for the size of addresses.
528 (out_line): Likewise. Size DW_LNE_set_address instruction
529 according to addr_len.
530 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
531 (FUNC): Add START_INSNS to definition.
533 2014-10-18 Yao Qi <yao@codesourcery.com>
535 * gdb.base/argv0-symlink.exp: Check argv[0] value if
536 gdb_has_argv0 return true.
537 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
538 check [target_info exists noargs], check [gdb_has_argv0]
540 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
541 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
544 2014-10-17 Doug Evans <dje@google.com>
546 * gdb.python/py-events.exp: Update expected output for clear_objfiles
548 * gdb.python/py-events.py: Add clear_objfiles event.
550 2014-10-17 Doug Evans <dje@google.com>
552 * gdb.python/py-objfile.exp: Test progspace attribute.
554 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
556 * gdb.guile/scm-breakpoint.exp: Do not assume any
557 directory separators when matching source file paths.
558 * gdb.python/py-breakpoint.exp: Likewise.
559 * gdb.reverse/break-precsave.exp: Likewise.
560 * gdb.reverse/break-reverse.exp: Likewise.
561 * gdb.reverse/consecutive-precsave.exp: Likewise.
562 * gdb.reverse/finish-precsave.exp: Likewise.
563 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
564 * gdb.reverse/finish-reverse.exp: Likewise.
565 * gdb.reverse/i386-precsave.exp: Likewise.
566 * gdb.reverse/i387-env-reverse.exp: Likewise.
567 * gdb.reverse/i387-stack-reverse.exp: Likewise.
568 * gdb.reverse/machinestate-precsave.exp: Likewise.
569 * gdb.reverse/machinestate.exp: Likewise.
570 * gdb.reverse/sigall-precsave.exp: Likewise.
571 * gdb.reverse/solib-precsave.exp: Likewise.
572 * gdb.reverse/step-precsave.exp: Likewise.
573 * gdb.reverse/until-precsave.exp: Likewise.
574 * gdb.reverse/watch-precsave.exp: Likewise.
575 * gdb.reverse/watch-reverse.exp: Likewise.
577 2014-10-17 Yao Qi <yao@codesourcery.com>
579 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
580 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
582 2014-10-17 Pedro Alves <palves@redhat.com>
585 * gdb.base/bg-execution-repeat.c: New file.
586 * gdb.base/bg-execution-repeat.exp: New file.
588 2014-10-17 Pedro Alves <palves@redhat.com>
591 * gdb.base/continue-all-already-running.c: New file.
592 * gdb.base/continue-all-already-running.exp: New file.
594 2014-10-17 Pedro Alves <palves@redhat.com>
597 * gdb.base/annota-input-while-running.c: New file.
598 * gdb.base/annota-input-while-running.exp: New file.
600 2014-10-17 Pedro Alves <palves@redhat.com>
602 * gdb.base/callfuncs.exp: emove references to osf.
603 * gdb.base/sigall.exp: Likewise.
604 * gdb.gdb/selftest.exp: Likewise.
605 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
606 * gdb.mi/non-stop.c: Likewise.
607 * gdb.mi/pthreads.c: Likewise.
608 * gdb.reverse/sigall-precsave.exp: Likewise.
609 * gdb.reverse/sigall-reverse.exp: Likewise.
610 * gdb.threads/pthreads.c: Likewise.
611 * gdb.threads/pthreads.exp: Likewise.
613 2014-10-17 Yao Qi <yao@codesourcery.com>
615 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
616 check 'target_info exists noargs'.
617 (test_command_prompt_position): Likewise.
618 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
620 (progvar_simple_while_test): Likewise.
621 (progvar_complex_if_while_test): Likewise.
622 (if_while_breakpoint_command_test): Likewise.
623 (infrun_breakpoint_command_test): Likewise.
624 (breakpoint_command_test): Likewise.
625 (watchpoint_command_test): Likewise.
626 (bp_deleted_in_command_test): Likewise.
627 (temporary_breakpoint_commands): Likewise.
629 2014-10-16 Yao Qi <yao@codesourcery.com>
631 * gdb.base/remotetimeout.exp: Remove noargs checking.
633 2014-10-15 Pedro Alves <palves@redhat.com>
636 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
637 * gdb.base/breakpoint-in-ro-region.exp
638 (probe_target_hardware_step): New procedure.
639 (top level): Probe hardware stepping and hardware breakpoint
640 support. Test stepping through a read-only region, with both
641 "breakpoint auto-hw" on and off and both "always-inserted" on and
644 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
646 * gdb.dlang/demangle.exp: Update for demangling changes.
648 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
650 * gdb.cp/non-trivial-retval.cc: Add new test cases.
651 * gdb.cp/non-trivial-retval.exp: Add new tests.
653 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
657 * gdb.cp/non-trivial-retval.cc: New file.
658 * gdb.cp/non-trivial-retval.exp: New file.
660 2014-10-15 Yao Qi <yao@codesourcery.com>
662 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
665 2014-10-15 Yao Qi <yao@codesourcery.com>
667 * gdb.python/py-symbol.exp: Match file base name if host is
668 remote, otherwise match file name with dir name.
669 * gdb.python/py-symtab.exp: Likewise.
670 * gdb.python/python.exp: Likewise.
672 2014-10-15 Yao Qi <yao@codesourcery.com>
674 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
676 * gdb.python/py-symtab.exp: Likewise.
677 * gdb.python/python.exp: Remove trailing ".*". Fix typo
680 2014-10-14 Joel Brobecker <brobecker@adacore.com>
682 * gdb.ada/addr_arith: New testcase.
684 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
686 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
687 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
688 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
689 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
691 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
693 * gdb.arch/stap-eval-lang-ada.S: Likewise.
694 * gdb.arch/stap-eval-lang-ada.c: Likewise.
695 * gdb.arch/stap-eval-lang-ada.exp: New file.
697 2014-10-14 Yao Qi <yao@codesourcery.com>
699 * gdb.mi/mi-var-child.c (nothing1): New function.
700 (nothing2): New function.
701 (do_children_tests): Set function pointers by nothing1 and
703 * gdb.mi/mi-var-child.exp: Step over new added statements.
704 Update test to match the new output.
705 * gdb.mi/var-cmd.c (nothing1): New function.
706 (nothing2): New function.
707 (do_children_tests): Set function pointers by nothing1 and
709 * gdb.mi/mi-var-display.exp: Update test to match output.
710 Step to the line specified by $line_dct_nothing.
711 Increase the number of lines to step.
713 2014-10-14 Yao Qi <yao@codesourcery.com>
715 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
717 * gdb.mi/mi2-var-child.exp: Likewise.
719 2014-10-13 Doug Evans <dje@google.com>
721 * gdb.python/py-objfile.exp: Change name of file name test.
723 2014-10-13 Doug Evans <dje@google.com>
725 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
726 from the start of the CU.
728 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
729 Yao Qi <yao@codesourcery.com>
731 Fix "save breakpoints" for "catch" command.
732 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
733 Remove -nonewline. Match also the added "main" line.
735 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
737 Fix "save breakpoints" for "disable $bpnum" command.
738 * gdb.base/save-bp.c (main): Add label.
739 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
741 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
743 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
745 2014-10-11 Yao Qi <yao@codesourcery.com>
747 * gdb.server/server-kill.exp: Execute command
748 "set remote trace-status-packet on" before "tstatus".
750 2014-10-11 Yao Qi <yao@codesourcery.com>
752 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
753 (main): Call getppid.
754 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
755 and continue to it. Read variable "server_pid".
757 2014-10-11 Yao Qi <yao@codesourcery.com>
759 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
761 2014-10-11 Yao Qi <yao@codesourcery.com>
763 * gdb.threads/thread-find.exp: Don't execute command
765 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
766 * gdb.threads/linux-dp.exp: Don't check the condition
767 $threads_created equals to zero.
769 2014-10-10 Pedro Alves <palves@redhat.com>
771 * gdb.base/bigcore.exp: Remove references to IRIX.
772 * gdb.base/funcargs.exp: Likewise.
773 * gdb.base/interrupt.exp: Likewise.
774 * gdb.base/mips_pro.exp: Likewise.
775 * gdb.base/nodebug.exp: Likewise.
776 * gdb.base/setvar.exp: Likewise.
777 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
779 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
780 Pedro Alves <palves@redhat.com>
783 * gdb.base/vdso-warning.c: New file.
784 * gdb.base/vdso-warning.exp: New file.
786 2014-10-02 Doug Evans <dje@google.com>
788 * gdb.base/structs.c (main): Don't run forever.
790 2014-10-02 Pedro Alves <palves@redhat.com>
792 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
793 (top level) <stop threads 1, stop threads 2>: Use it.
795 2014-10-02 Pedro Alves <palves@redhat.com>
797 * gdb.threads/break-while-running.exp (test): Add new
798 'update_thread_list' argument. Skip "info threads" if false.
799 (top level): Add new 'update_thread_list' axis.
801 2014-10-02 Pedro Alves <palves@redhat.com>
804 * gdb.base/execl-update-breakpoints.c: New file.
805 * gdb.base/execl-update-breakpoints.exp: New file.
807 2014-10-01 Pedro Alves <palves@redhat.com>
809 * gdb.base/breakpoint-in-ro-region.c: New file.
810 * gdb.base/breakpoint-in-ro-region.exp: New file.
812 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
814 * gdb.mi/mi-exit-code.exp: New file.
815 * gdb.mi/mi-exit-code.c: New file.
817 2014-09-30 Yao Qi <yao@codesourcery.com>
819 * lib/prelink-support.exp (build_executable_own_libs): Error if
820 the target isn't native.
822 2014-09-30 Yao Qi <yao@codesourcery.com>
824 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
827 2014-09-22 Pedro Alves <palves@redhat.com>
829 * gdb.threads/break-while-running.exp: New file.
830 * gdb.threads/break-while-running.c: New file.
832 2014-09-19 Yao Qi <yao@codesourcery.com>
834 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
835 Invoke test. Restart GDB with --readnow and invoke test again.
837 2014-09-19 Yao Qi <yao@codesourcery.com>
839 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
840 proc set_breakpoint_on_gcd_function. Invoke
841 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
842 invoke set_breakpoint_on_gcd_function again.
844 2014-09-18 Doug Evans <dje@google.com>
846 * gdb.dwarf2/symtab-producer.exp: New file.
848 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
850 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
851 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
852 * gdb.base/global-var-nested-by-dso.c: Likewise.
853 * gdb.base/global-var-nested-by-dso.exp: Likewise.
855 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
856 Pedro Alves <palves@redhat.com>
858 * gdb.base/watch-bitfields.exp: Pass string other than test file
859 name to prepare_for_testing.
860 (watch): New procedure.
861 (expect_watchpoint): Use with_test_prefix.
862 (top level): Factor out tests to ...
863 (test_watch_location, test_regular_watch): ... these new
864 procedures, and use with_test_prefix and gdb_continue_to_end.
866 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
869 * gdb.base/watch-bitfields.exp: New file.
870 * gdb.base/watch-bitfields.c: New file.
872 2014-09-16 Pedro Alves <palves@redhat.com>
874 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
875 software and hardware addresses, not software address against
878 2014-09-16 Pedro Alves <palves@redhat.com>
880 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
881 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
883 2014-09-16 Pedro Alves <palves@redhat.com>
885 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
887 * gdb.base/a2-run.exp: Remove all code guarded by istarget
888 "*-*-vxworks*" throughout.
889 * gdb.base/break.exp: Likewise.
890 * gdb.base/default.exp: Likewise.
891 * gdb.base/scope.exp: Likewise.
892 * gdb.base/sepdebug.exp: Likewise.
893 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
895 * gdb.base/run.c: Likewise.
896 * gdb.base/sepdebug.c: Likewise.
897 * gdb.hp/gdb.aCC/run.c: Likewise.
898 * gdb.reverse/until-reverse.c: Likewise.
899 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
901 2014-09-16 Yao Qi <yao@codesourcery.com>
903 * boards/local-remote-host-native.exp: New file.
905 2014-09-14 Doug Evans <xdje42@gmail.com>
907 * gdb.threads/queue-signal.c (thread_count): New variable.
908 (thread_count_mutex, thread_count_condvar): New variables.
909 (incr_thread_count, wait_all_threads_running): New functions.
910 (main): Wait for all threads to be in their thread functions.
912 2014-09-13 Doug Evans <xdje42@gmail.com>
914 * gdb.threads/queue-signal.c: New file.
915 * gdb.threads/queue-signal.exp: New file.
917 2014-09-13 Doug Evans <xdje42@gmail.com>
919 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
920 be consistent with what default_gdb_init uses.
921 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
922 the plain text of the prompt. Add some logging printfs.
923 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
925 2014-09-12 Pedro Alves <palves@redhat.com>
927 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
928 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
929 * gdb.arch/i386-size-overlap.exp: Likewise.
930 * gdb.arch/i386-size.exp: Likewise.
931 * gdb.arch/i386-unwind.exp: Likewise.
932 * gdb.base/a2-run.exp: Likewise.
933 * gdb.base/break.exp: Likewise.
934 * gdb.base/charset.exp: Likewise.
935 * gdb.base/chng-syms.exp: Likewise.
936 * gdb.base/commands.exp: Likewise.
937 * gdb.base/dbx.exp: Likewise.
938 * gdb.base/find.exp: Likewise.
939 * gdb.base/funcargs.exp: Likewise.
940 * gdb.base/jit-simple.exp: Likewise.
941 * gdb.base/reread.exp: Likewise.
942 * gdb.base/sepdebug.exp: Likewise.
943 * gdb.base/step-bt.exp: Likewise.
944 * gdb.cp/mb-inline.exp: Likewise.
945 * gdb.cp/mb-templates.exp: Likewise.
946 * gdb.objc/basicclass.exp: Likewise.
947 * gdb.threads/killed.exp: Likewise.
949 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
952 * gdb.arch/powerpc-stackless.S: New file.
953 * gdb.arch/powerpc-stackless.exp: New file.
955 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
957 * gdb.base/attach.c: Include unistd.h.
958 (main): Call alarm. Add label postloop.
959 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
960 gdb_breakpoint, gdb_continue_to_breakpoint.
961 (test_command_line_attach_run): Kill ${testpid} in one exit path.
963 2014-09-11 Pedro Alves <palves@redhat.com>
966 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
967 * gdb.base/attach.exp (test_command_line_attach_run): New
969 (top level): Call it.
971 2014-09-11 Pedro Alves <palves@redhat.com>
973 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
974 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
975 (do_command_attach_tests): Use spawn_wait_for_attach.
976 * gdb.base/solib-overlap.exp: Likewise.
977 * gdb.multi/multi-attach.exp: Likewise.
978 * gdb.python/py-prompt.exp: Likewise.
979 * gdb.python/py-sync-interp.exp: Likewise.
980 * gdb.server/ext-attach.exp: Likewise.
982 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
984 * gdb.fortran/array-element.exp: Remove unexpected "continue"
985 command in testcase. Simplify testcase.
987 2014-09-10 Joel Brobecker <brobecker@adacore.com>
989 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
991 2014-09-10 Joel Brobecker <brobecker@adacore.com>
993 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
995 2014-09-10 Joel Brobecker <brobecker@adacore.com>
997 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
999 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1001 * gdb.dwarf2/dynarr-ptr.c: New file.
1002 * gdb.dwarf2/dynarr-ptr.exp: New file.
1004 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1006 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
1007 of 30 rather than hardcoding 120 for a slow test case. Take the
1008 `gdb,timeout' target setting into account for this calculation.
1009 Don't extend the timeout for the test cases that don't need it.
1011 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1013 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
1014 a factor of 2 for a slow test case. Take the `gdb,timeout'
1015 target setting into account for this calculation.
1016 * gdb.reverse/until-precsave.exp: Increase the timeout by
1017 a factor of 15 and 3 respectively rather than adding 120
1018 for a pair of slow test cases. Take the `gdb,timeout'
1019 target setting into account for this calculation.
1021 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1023 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
1024 timeout, don't pass one down to gdb_expect.
1025 (gdb_expect): Rework timeout selection.
1027 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1029 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
1030 exception on timeout.
1031 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
1032 (gdbserver_start_extended): Catch any `gdbserver_start' error
1034 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
1035 * lib/mi-support.exp (mi_gdb_target_load): Catch any
1036 `gdbserver_gdb_load' error exceptions.
1038 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1040 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
1041 120 on waiting for the TCP socket to open.
1043 2014-09-09 Doug Evans <xdje42@gmail.com>
1045 * gdb.base/default.exp (show_conv_list): Add _caller_is,
1046 _caller_matches, _any_caller_is, _any_caller_matches.
1048 2014-09-09 Doug Evans <xdje42@gmail.com>
1050 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
1052 2014-09-09 Yao Qi <yao@codesourcery.com>
1054 * gdb.mi/mi-var-display.exp: Set print symbol off.
1056 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
1059 * gdb.base/commands.exp: Add tests to verify user-defined
1060 commands with empty bodies.
1061 * gdb.python/py-cmd.exp: Test that we don't show user-defined
1062 python commands in `show user command`.
1063 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
1064 scheme commands in `show user command`.
1066 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1069 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
1070 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
1071 * gdb.python/py-framefilter-invalidarg.exp: New file.
1072 * gdb.python/py-framefilter-invalidarg.py: New file.
1074 2014-09-06 Doug Evans <xdje42@gmail.com>
1077 * gdb.python/py-caller-is.c: New file.
1078 * gdb.python/py-caller-is.exp: New file.
1080 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
1083 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
1084 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
1086 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
1089 * gdb.fortran/print-formatted.exp: New file.
1090 * gdb.fortran/print-formatted.f90: Likewise.
1092 2014-09-03 Sasha Smundak <asmundak@google.com>
1094 * gdb.python/py-frame.exp: Test Frame.read_register.
1096 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
1099 * gdb.python/py-completion.exp: New file.
1100 * gdb.python/py-completion.py: Likewise.
1102 2014-08-28 Doug Evans <dje@google.com>
1104 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
1105 eax,etc. are live with values set by gdb and thus the compiler can't
1107 * gdb.arch/i386-pseudo.c (main): Ditto.
1109 2014-08-27 Doug Evans <dje@google.com>
1111 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
1113 2014-08-25 Doug Evans <dje@google.com>
1115 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
1118 2014-08-25 Doug Evans <dje@google.com>
1120 * gdb.threads/thread-execl.exp: #include <stdio.h>.
1122 2014-08-24 Yao Qi <yao@codesourcery.com>
1124 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
1126 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
1128 2014-08-22 Doug Evans <dje@google.com>
1131 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
1132 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
1133 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
1135 2014-08-22 Yao Qi <yao@codesourcery.com>
1137 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
1138 * gdb.python/py-finish-breakpoint2.exp: Likewise.
1139 * gdb.python/python.exp: Likewise. Use .py file on the host
1140 instead of the build.
1142 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1144 * gdb.threads/gcore-stale-thread.c: New file.
1145 * gdb.threads/gcore-stale-thread.exp: New file.
1147 2014-08-21 Pedro Alves <palves@redhat.com>
1149 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
1150 * gdb.base/gcore-relro-pie.exp: Likewise.
1151 * gdb.base/gcore-relro.exp: Likewise.
1152 * gdb.base/gcore.exp: Likewise.
1153 * gdb.base/print-symbol-loading.exp: Likewise.
1154 * gdb.threads/gcore-thread.exp: Likewise.
1155 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
1157 2014-08-20 Pedro Alves <palves@redhat.com>
1158 Jan Kratochvil <jan.kratochvil@redhat.com>
1160 * Makefile.in (EXTRA_RULES, CC): New variables, get from
1162 (EXPECT): Handle READ1 being set.
1163 (all): Depend on EXTRA_RULES.
1164 (check-read1, expect-read1, read1.so, read1): New rules.
1165 * README (Testsuite Parameters): Document the READ1 make variable.
1166 (Race detection): New section.
1167 * configure: Regenerate.
1168 * configure.ac: If build==host==target, and running under a
1169 GNU/glibc system, add read1 to the extra Makefile rules.
1170 (EXTRA_RULES): AC_SUBST it.
1171 * lib/read1.c: New file.
1173 2014-08-20 Joel Brobecker <brobecker@adacore.com>
1175 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
1176 the handling of variables declared as a typedef to an array
1177 which a DW_AT_data_location attribute.
1179 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
1180 Pedro Alves <palves@redhat.com>
1184 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
1187 2014-08-19 Pedro Alves <palves@redhat.com>
1189 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
1191 2014-08-19 Yao Qi <yao@codesourcery.com>
1193 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
1196 2014-08-18 David Blaikie <dblaikie@gmail.com>
1198 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
1200 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1202 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
1203 attribute in array range.
1205 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1207 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
1209 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1212 * gdb.cp/pr17132.cc: New file.
1213 * gdb.cp/pr17132.exp: New file.
1215 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1217 * gdb.python/py-xmethods.py (A_getarrayind)
1218 (E_method_char_worker.__call__, E_method_int_worker.__call__):
1219 Use 'print' with function call syntax.
1220 (E_method_matcher.match): Fix tab vs space indentation mixup.
1222 2014-08-15 Yao Qi <yao@codesourcery.com>
1224 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
1227 2014-08-15 Yao Qi <yao@codesourcery.com>
1229 * gdb.cp/casts.exp: Set print symbol off.
1230 * gdb.cp/class2.exp: Likewise.
1231 * gdb.cp/overload.exp: Likewise.
1232 * gdb.cp/templates.exp: Likewise.
1234 2014-08-11 Doug Evans <dje@google.com>
1236 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1237 (test_load_shlib): Update.
1239 2014-08-09 Yao Qi <yao@codesourcery.com>
1241 * gdb.base/display.exp: Invoke is_address_zero_readable.
1242 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
1243 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1244 * gdb.base/hbreak-unmapped.exp: Return if
1245 is_address_zero_readable returns true.
1246 * gdb.base/signest.exp: Likewise.
1247 * gdb.base/signull.exp: Likewise.
1248 * gdb.base/sigbpt.exp: Likewise.
1249 * gdb.guile/scm-disasm.exp: Do the test if
1250 is_address_zero_readable returns false.
1251 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
1252 * gdb.python/py-arch.exp: Likewise.
1253 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
1254 * lib/gdb.exp (is_address_zero_readable): New proc.
1256 2014-08-09 Yao Qi <yao@codesourcery.com>
1259 * gdb.mi/mi-var-display.exp: Make test messages unique.
1261 2014-08-04 Tom Tromey <tromey@redhat.com>
1263 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
1266 2014-08-04 Tom Tromey <tromey@redhat.com>
1268 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
1271 2014-08-01 Joel Brobecker <brobecker@adacore.com>
1273 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
1274 inner_vla_struct_object_size.
1275 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
1278 2014-07-30 Pedro Alves <palves@redhat.com>
1280 * gdb.threads/signal-command-handle-nopass.exp (test): Add
1283 2014-07-29 Yao Qi <yao@codesourcery.com>
1286 * gdb.base/until-nodebug.exp: New.
1288 2014-07-28 Doug Evans <xdje42@gmail.com>
1291 * gdb.guile/scm-parameter.exp: Add tests for trying to create
1292 previously existing parameter, and previously ambiguously spelled
1295 2014-07-28 Will Newton <will.newton@linaro.org>
1297 * gdb.base/varargs.exp: Remove KFAILs for ARM.
1299 2014-07-26 Ludovic Courtès <ludo@gnu.org>
1300 Doug Evans <xdje42@gmail.com>
1303 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
1305 2014-07-25 Pedro Alves <palves@redhat.com>
1307 * gdb.threads/signal-command-handle-nopass.c: New file.
1308 * gdb.threads/signal-command-handle-nopass.exp: New file.
1309 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
1310 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
1311 * gdb.threads/signal-delivered-right-thread.c: New file.
1312 * gdb.threads/signal-delivered-right-thread.exp: New file.
1314 2014-07-25 Pedro Alves <palves@redhat.com>
1316 * gdb.base/double-prompt-target-event-error.exp
1317 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
1319 (cancel_pagination_in_target_event): Rework double prompt
1321 * gdb.base/paginate-after-ctrl-c-running.exp
1322 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
1324 * gdb.base/paginate-bg-execution.exp
1325 (test_bg_execution_pagination_return)
1326 (test_bg_execution_pagination_cancel): Remove '-notransfer
1328 * gdb.base/paginate-execution-startup.exp
1329 (test_fg_execution_pagination_return)
1330 (test_fg_execution_pagination_cancel): Remove '-notransfer
1332 * gdb.base/paginate-inferior-exit.exp
1333 (test_paginate_inferior_exited): Remove '-notransfer <return>'
1335 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
1336 * lib/gdb.exp (pagination_prompt): Run text through
1338 (gdb_test_multiple): Match $pagination_prompt instead of
1340 (string_to_regexp): Move to lib/gdb-utils.exp.
1342 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1344 * gdb.arch/amd64-entry-value-paramref.S: New file.
1345 * gdb.arch/amd64-entry-value-paramref.cc: New file.
1346 * gdb.arch/amd64-entry-value-paramref.exp: New file.
1347 * gdb.arch/amd64-optimout-repeat.S: New file.
1348 * gdb.arch/amd64-optimout-repeat.c: New file.
1349 * gdb.arch/amd64-optimout-repeat.exp: New file.
1351 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1354 * gdb.base/statistics.exp: New file.
1356 2014-07-17 Doug Evans <dje@google.com>
1359 * gdb.base/maint.exp: Update testing of per-command stats.
1361 2014-07-16 Pedro Alves <palves@redhat.com>
1363 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
1364 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
1365 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
1366 (tfile_write_buf): New functions.
1367 (add_memory_block): Rewrite using the above.
1368 (adjust_function_address): New function.
1369 (FUNCTION_ADDRESS): New macro.
1370 (write_basic_trace_file): Remove short_x local, and use
1371 tfile_write_16. Change type of func_addr local to unsigned long
1372 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
1373 here. Cast argument of add_memory_block to char pointer.
1374 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
1375 (main): Remove parameters.
1376 * gdb.trace/tfile.exp: Remove nowarnings.
1378 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1380 * gdb.base/debug-expr.exp: Test string evaluation with
1381 "debug expression" on.
1383 2014-07-15 Pedro Alves <palves@redhat.com>
1385 * gdb.base/reread.exp: Use clean_restart.
1387 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1389 * gdb.arch/avr-flash-qualifer.c: New.
1390 * gdb.arch/avr-flash-qualifer.exp: New.
1392 2014-07-14 Pedro Alves <palves@redhat.com>
1394 * gdb.base/paginate-after-ctrl-c-running.c: New file.
1395 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1397 2014-07-14 Pedro Alves <palves@redhat.com>
1399 * gdb.base/double-prompt-target-event-error.c: New file.
1400 * gdb.base/double-prompt-target-event-error.exp: New file.
1402 2014-07-14 Pedro Alves <palves@redhat.com>
1405 * gdb.base/paginate-inferior-exit.c: New file.
1406 * gdb.base/paginate-inferior-exit.exp: New file.
1408 2014-07-14 Pedro Alves <palves@redhat.com>
1411 * gdb.base/paginate-bg-execution.c: New file.
1412 * gdb.base/paginate-bg-execution.exp: New file.
1414 2014-07-14 Pedro Alves <palves@redhat.com>
1417 * gdb.base/paginate-execution-startup.c: New file.
1418 * gdb.base/paginate-execution-startup.exp: New file.
1419 * lib/gdb.exp (pagination_prompt): New global.
1420 (default_gdb_spawn): New procedure, factored out from
1422 (default_gdb_start): Adjust to call default_gdb_spawn.
1423 (gdb_spawn): New procedure.
1425 2014-07-14 Pedro Alves <palves@redhat.com>
1427 * lib/gdb.exp (gdb_assert): New procedure.
1428 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
1430 2014-07-14 Pedro Alves <palves@redhat.com>
1432 * gdb.base/execution-termios.c: New file.
1433 * gdb.base/execution-termios.exp: New file.
1435 2014-07-14 Tom Tromey <tromey@redhat.com>
1437 * gdb.cp/vla-cxx.cc: New file.
1438 * gdb.cp/vla-cxx.exp: New file.
1440 2014-07-14 Tom Tromey <tromey@redhat.com>
1442 * gdb.reverse/rerun-prec.c: New file.
1443 * gdb.reverse/rerun-prec.exp: New file.
1445 2014-07-12 Maciej W. Rozycki <macro@mips.com>
1446 Maciej W. Rozycki <macro@codesourcery.com>
1448 * lib/gdb-utils.exp: New file.
1449 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
1450 inline `gdb_init_command' processing.
1451 (gdb_start_cmd): Likewise.
1452 * lib/mi-support.exp (mi_run_cmd): Likewise.
1453 * README: Document `gdb_init_command' and `gdb_init_commands'.
1455 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1457 Fix false FAIL running under a very long directory name.
1458 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1459 and "set print elements 10000". Twice.
1461 2014-07-11 Yao Qi <yao@codesourcery.com>
1463 * gdb.base/exprs.exp: "set print symbol off".
1465 2014-07-11 Pedro Alves <palves@redhat.com>
1467 * gdb.threads/kill.c: New file.
1468 * gdb.threads/kill.exp: New file.
1470 2014-07-10 Yao Qi <yao@codesourcery.com>
1472 * gdb.trace/tfile.c (write_basic_trace_file)
1473 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1474 address written to trace file.
1476 2014-07-09 Pedro Alves <palves@redhat.com>
1478 * gdb.base/attach-wait-input.exp: New file.
1479 * gdb.base/attach-wait-input.c: New file.
1481 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1483 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1484 setting up test structures.
1485 (main): Call new test function.
1486 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1487 test function, continue into test function and walk test
1490 2014-07-02 Yao Qi <yao@codesourcery.com>
1492 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1493 'bar_start' at the beginning of functions 'foo' and 'bar'
1495 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1496 instead of 'foo' and 'bar'.
1498 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1500 * gdb.btrace/segv.exp: New.
1501 * gdb.btrace/segv.c: New.
1503 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
1505 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1508 2014-06-30 Mark Wielaard <mjw@redhat.com>
1510 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1511 vulture, vilify, villar): New volatile array constants.
1512 (vindictive, vegetation): New const volatile array constants.
1513 * gdb.base/volatile.exp: Test volatile and const volatile array
1516 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1518 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1519 target lacks support for awatch, rwatch, or hbreak.
1521 2014-06-27 Yao Qi <yao@codesourcery.com>
1523 * gdb.multi/dummy-frame-restore.exp: New.
1524 * gdb.multi/dummy-frame-restore.c: New.
1526 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1528 * gdb.btrace/gcore.exp: New.
1530 2014-06-23 Pedro Alves <palves@redhat.com>
1532 * gdb.base/watchpoint-reuse-slot.c: New file.
1533 * gdb.base/watchpoint-reuse-slot.exp: New file.
1535 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1537 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1538 progspace's filename in 'info', 'enable' and 'disable' command
1541 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1543 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1544 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1545 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1547 2014-06-20 Gary Benson <gbenson@redhat.com>
1549 * gdb.arch/i386-avx.exp: Fix include file location.
1550 * gdb.arch/i386-sse.exp: Likewise.
1552 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1554 * gdb.dlang/expression.exp: New file.
1556 2014-06-19 Pedro Alves <palves@redhat.com>
1558 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1560 (top level): ... here. Iterate running tests under different
1561 scheduler-locking settings.
1563 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
1565 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1566 to DW_FORM_addr and use non-zero addresses.
1568 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1571 * gdb.python/py-xmethods.cc: Add global function call counters and
1572 increment them in their respective functions. Remove "cout"
1574 * gdb.python/py-xmethods.exp: Make tests check the global function
1575 call counters instead of depending on inferior IO.
1577 2014-06-18 Don Breazeal <donb@codesourcery.com>
1579 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1581 (explicit_fork_parent_follow): Deleted procedure.
1582 (explicit_fork_child_follow): Deleted procedure.
1583 (test_follow_fork): New procedure.
1584 (do_fork_tests): Replace calls to deleted procedures with
1585 calls to test_follow_fork and reset GDB for subsequent
1588 2014-06-17 Yao Qi <yao@codesourcery.com>
1590 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1593 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
1595 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1596 Initialize ptr and S explicitly.
1597 (skip_type_update_when_not_use_rtti_test): Likewise.
1599 2014-06-16 Keith Seitz <keiths@redhat.com>
1602 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1603 the inferior is started.
1605 2014-06-16 Pedro Alves <palves@redhat.com>
1607 * gdb.base/break-main-file-remove-fail.c: New file.
1608 * gdb.base/break-main-file-remove-fail.exp: New file.
1609 * gdb.base/break-unload-file.exp: Use build_executable instead of
1610 prepare_for_testing.
1611 (test_break): New parameter "initial_load". Handle it.
1612 (top level): Add initial_load cmdline/file axis.
1614 2014-06-12 Tom Tromey <tromey@redhat.com>
1616 * gdb.base/completion.exp: Don't use directory name in test.
1618 2014-06-09 Gary Benson <gbenson@redhat.com>
1620 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1621 separate the always-available ANSI-standard signals from the
1622 signals that require checking.
1624 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1628 2014-06-07 Keith Seitz <keiths@redhat.com>
1632 * gdb.cp/var-tag.cc: New file.
1633 * gdb.cp/var-tag.exp: New file.
1634 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1635 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1636 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1637 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1639 2014-06-06 Doug Evans <xdje42@gmail.com>
1641 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1643 2014-06-06 Pedro Alves <palves@redhat.com>
1645 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1646 in target debug output instead of looking at RSP packets,
1647 disabling the test on any target that uses hardware stepping.
1650 2014-06-06 Pedro Alves <palves@redhat.com>
1652 * gdb.base/break-unload-file.exp: Fix typo.
1654 2014-06-06 Yao Qi <yao@codesourcery.com>
1656 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1657 from "jit_function" to "^jit_function".
1659 2014-06-06 Yao Qi <yao@codesourcery.com>
1661 * gdb.base/async.c (foo): Add one statement.
1662 * gdb.base/async.exp: Get the next instruction address and
1663 match the output of "nexti" by instruction address. Match
1664 the hex address in the output of "finish".
1666 2014-06-06 Gary Benson <gbenson@redhat.com>
1668 * gdb.base/call-signals.c: Remove preprocessor conditionals
1669 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1670 SIGSEGV and SIGTERM.
1671 * gdb.base/sigall.c: Likewise.
1672 * gdb.base/unwindonsignal.c: Likewise.
1673 * gdb.reverse/sigall-reverse.c: Likewise.
1675 2014-06-06 Yao Qi <yao@codesourcery.com>
1677 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1678 readable, skip the test.
1680 2014-06-06 Yao Qi <yao@codesourcery.com>
1682 * gdb.threads/staticthreads.c (thread_function): Move the line
1683 setting breakpoint on forward.
1684 * gdb.threads/staticthreads.exp: Update comments.
1686 2014-06-05 Ludovic Courtès <ludo@gnu.org>
1688 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1689 "history-append! type error".
1691 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1693 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1694 erroneous dprintf expected input.
1696 2014-06-04 Doug Evans <xdje42@gmail.com>
1698 * gdb.guile/scm-generics.exp: Delete.
1700 2014-06-04 Doug Evans <xdje42@gmail.com>
1702 * gdb.guile/scm-breakpoint.exp: Update.
1703 Add tests for breakpoint registration.
1705 2014-06-04 Tom Tromey <tromey@redhat.com>
1707 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1709 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1710 inner_vla_struct, vla_union types. Initialize objects of those
1711 types and compute their sizes.
1713 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1714 Hui Zhu <hui@codesourcery.com>
1716 * gdb.base/fileio.exp: Add test for shell not available as well as
1718 * gdb.base/fileio.c (test_system): Check for shell twice.
1720 2014-06-04 Yao Qi <yao@codesourcery.com>
1722 * gdb.base/auto-connect-native-target.exp: Remove redundant
1723 space from the regexp pattern.
1725 2014-06-04 Yao Qi <yao@codesourcery.com>
1727 * gdb.base/default.exp: Replace "child" with "native" in
1730 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1732 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1733 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1734 * gdb.python/py-xmethods.py: Python script supporting the
1735 new testcase and tests.
1737 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1738 Pedro Alves <palves@redhat.com>
1740 PR breakpoints/17000
1741 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1742 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1744 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1746 * gdb.base/subst.exp: Add tests to verify partial path matching
1749 2014-06-03 Pedro Alves <palves@redhat.com>
1751 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1752 target that doesn't use software single-stepping.
1754 2014-06-03 Pedro Alves <palves@redhat.com>
1756 PR breakpoints/17000
1757 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1758 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1760 2014-06-02 Doug Evans <xdje42@gmail.com>
1762 * gdb.guile/scm-parameter.exp: New file.
1764 2014-06-02 Doug Evans <xdje42@gmail.com>
1766 * gdb.guile/scm-cmd.c: New file.
1767 * gdb.guile/scm-cmd.exp: New file.
1769 2014-06-02 Doug Evans <xdje42@gmail.com>
1771 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1772 pretty-printer lookup.
1773 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1774 (make-pp_s-printer): Call it.
1775 (make-pretty-printer-from-dict): New function.
1776 (lookup-pretty-printer-maker-from-dict): New function.
1777 (*pretty-printer*): Simplify.
1778 (make-objfile-pp_s-printer): New function.
1779 (install-objfile-pretty-printers!): New function.
1780 (make-progspace-pp_s-printer): New function.
1781 (install-progspace-pretty-printers!): New function.
1782 * gdb.guile/scm-progspace.c: New file.
1783 * gdb.guile/scm-progspace.exp: New file.
1785 2014-06-02 Pedro Alves <palves@redhat.com>
1787 * gdb.base/dprintf-bp-same-addr.c: New file.
1788 * gdb.base/dprintf-bp-same-addr.exp: New file.
1790 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1792 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1793 * gdb.arch/powerpc-power.s: Likewise.
1795 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1797 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1799 2014-06-01 Yao Qi <yao@codesourcery.com>
1801 * gdb.base/watchpoint.exp (test_watch_location): Check null
1802 pointer can be dereferenced. If not, do the test, otherwise
1805 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1807 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1809 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1811 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1813 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1814 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1815 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1816 * gdb.arch/amd64-invalid-stack-top.c: New file.
1817 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1819 2014-05-30 Pedro Alves <palves@redhat.com>
1821 PR breakpoints/17000
1822 * gdb.base/sss-bp-on-user-bp.c: New file.
1823 * gdb.base/sss-bp-on-user-bp.exp: New file.
1825 2014-05-30 David Blaikie <dblaikie@gmail.com>
1827 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1828 gnu_inline semantics via attribute.
1829 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1830 source explicitly specifies the required semantics.
1832 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1834 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1836 2014-05-29 Pedro Alves <palves@redhat.com>
1837 Tom Tromey <tromey@redhat.com>
1839 * gdb.base/async-shell.exp: Don't enable target-async.
1840 * gdb.base/async.exp
1841 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1843 (top level): Don't test with "target-async".
1844 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1845 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1846 * gdb.base/inferior-died.exp: Don't enable target-async.
1847 * gdb.base/interrupt-noterm.exp: Likewise.
1848 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1849 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1850 * gdb.mi/mi-nonstop.exp: Likewise.
1851 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1852 * gdb.mi/mi-nsintrall.exp: Likewise.
1853 * gdb.mi/mi-nsmoribund.exp: Likewise.
1854 * gdb.mi/mi-nsthrexec.exp: Likewise.
1855 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1856 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1857 * gdb.python/py-evsignal.exp: Don't enable target-async.
1858 * gdb.python/py-evthreads.exp: Likewise.
1859 * gdb.python/py-prompt.exp: Likewise.
1860 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1861 * gdb.server/solib-list.exp: Don't enable target-async.
1862 * gdb.threads/thread-specific-bp.exp: Likewise.
1863 * lib/mi-support.exp: Adjust to use mi-async.
1865 2014-05-29 Pedro Alves <palves@redhat.com>
1868 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1869 reason, even in sync mode.
1871 2014-05-29 Pedro Alves <palves@redhat.com>
1872 Hui Zhu <hui@codesourcery.com>
1875 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1876 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1877 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1878 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1880 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1882 * config/monitor.exp (gdb_target_monitor): Replace use of
1883 "set remotebaud" by "set serial baud".
1885 2014-05-26 Andy Wingo <wingo@igalia.com>
1887 * gdb.guile/scm-breakpoint.exp:
1888 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1889 properties instead of gdb-object-properties.
1891 2014-05-26 Yao Qi <yao@codesourcery.com>
1893 * gdb.server/no-thread-db.exp: Specify source file name
1894 explicitly when setting a breakpoint.
1896 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1898 * gdb.btrace/vdso.c: New.
1899 * gdb.btrace/vdso.exp: New.
1901 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1903 * gdb.base/gcore.exp (capture_command_output): Move ...
1904 * lib/gdb.exp (capture_command_output): ... here.
1906 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1908 * gdb.btrace/data.exp: Test memory access during btrace replay.
1910 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1912 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1914 2014-05-21 Pedro Alves <palves@redhat.com>
1917 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1918 (top level): Test that output related to execution commands is
1919 sent to the console with CLI commands, but not with MI commands.
1920 Test that breakpoint events are always mirrored to the console.
1921 Also expect the new source line to be output after a "next" in
1922 async mode too. Make it a pass/fail test.
1923 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1925 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1927 2014-05-21 Pedro Alves <palves@redhat.com>
1929 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1930 Use them to test variations of "list" after reaching a breakpoint.
1931 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1932 Test "list" with listsize 10 after reaching a breakpoint.
1933 * gdb.python/python.exp (decode_line current location line
1934 number): Adjust expected line number.
1936 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1938 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1939 behavior for $args, pass it directly to "run".
1941 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1943 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1946 2014-05-21 Pedro Alves <palves@redhat.com>
1948 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1949 auto-connect-native-target off".
1950 * gdb.base/auto-connect-native-target.c: New file.
1951 * gdb.base/auto-connect-native-target.exp: New file.
1953 2014-05-21 Pedro Alves <palves@redhat.com>
1955 * gdb.base/default.exp: Test "target native" instead of "target
1958 2014-05-21 Mark Wielaard <mjw@redhat.com>
1960 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1962 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1964 Fix TLS access for -static -pthread.
1965 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1966 <HAVE_TLS> (thread_function, main): Initialize it.
1967 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1969 <$have_tls != "">: Check TLSVAR.
1971 2014-05-21 Pedro Alves <palves@redhat.com>
1973 * gdb.base/dcache-line-read-error.c: New.
1974 * gdb.base/dcache-line-read-error.exp: New.
1976 2014-05-20 Pedro Alves <palves@redhat.com>
1978 * gdb.base/compare-sections.c: New file.
1979 * gdb.base/compare-sections.exp: New file.
1981 2014-05-20 Pedro Alves <palves@redhat.com>
1983 * gdb.base/break-idempotent.c: New file.
1984 * gdb.base/break-idempotent.exp: New file.
1986 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1988 * gdb.btrace/nohist.exp: New.
1990 2014-05-20 Yao Qi <yao@codesourcery.com>
1992 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1993 gdb.reverse directory and gdb_reverse_timeout exists in board
1995 * README: Document gdb_reverse_timeout.
1997 2014-05-20 Yao Qi <yao@codesourcery.com>
1999 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
2000 'test_file_name'. Treat args as a string instead of a list.
2001 (gdb_init): Rename argument 'args' by 'test_file_name'.
2003 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2005 * gdb.arch/powerpc-power.exp: New file.
2006 * gdb.arch/powerpc-power.s: New file.
2008 2014-05-16 Doug Evans <dje@google.com>
2010 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
2011 * gdb.base/completion.exp: Check that all expected files exist
2012 before doing file completion.
2014 2014-05-16 Doug Evans <dje@google.com>
2016 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
2018 (do_syscall_tests_without_xml): Update.
2020 2014-05-16 Pedro Alves <palves@redhat.com>
2022 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
2023 instead of "unknown output after running".
2025 2014-05-16 Yao Qi <yao@codesourcery.com>
2027 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
2028 file1.txt from host at the end.
2029 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2031 2014-05-15 Doug Evans <dje@google.com>
2033 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
2034 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
2035 loading file. Add test for TU lookup.
2037 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2039 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
2040 calling "-exec-arguments" or "set args" before running the
2043 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2045 * lib/mi-support.exp (mi_expect_stop): Expect message for
2046 inferiors that exit with non-zero exit code.
2048 2014-05-14 Yao Qi <yao@codesourcery.com>
2050 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
2051 match absolute path on remote host.
2052 (test_file_list_exec_source_files): Remove "/" from the
2055 2014-05-14 Yao Qi <yao@codesourcery.com>
2057 * boards/local-remote-host-notty.exp (${board}_file): New
2060 2014-05-07 Kyle McMartin <kyle@redhat.com>
2062 Pushed by Joel Brobecker <brobecker@adacore.com>.
2063 * gdb.arch/aarch64-atomic-inst.c: New file.
2064 * gdb.arch/aarch64-atomic-inst.exp: New file.
2066 2014-05-07 Yao Qi <yao@codesourcery.com>
2068 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
2069 in current context" too.
2071 2014-05-05 Keith Seitz <keiths@redhat.com>
2073 * gdb.linespec/ls-dollar.exp: Add test for linespec
2074 file:convenience_variable.
2076 2014-05-05 Yao Qi <yao@codesourcery.com>
2078 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
2079 traceframes into tfile and ctf trace files. Read data from
2080 trace file and test collected data.
2081 (gdb_collect_locals_test): Likewise.
2082 (gdb_unavailable_registers_test): Likewise.
2083 (gdb_unavailable_floats): Likewise.
2084 (gdb_collect_globals_test): Likewise.
2085 (top-level): Append "ctf" to trace_file_targets if GDB
2088 2014-05-05 Yao Qi <yao@codesourcery.com>
2090 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
2092 (gdb_collect_args_test_1): ... it. New proc.
2093 (gdb_collect_locals_test): Move some code to ...
2094 (gdb_collect_locals_test_1): ... it. New proc.
2095 (gdb_unavailable_registers_test): Move some code to ...
2096 (gdb_unavailable_registers_test_1): ... it. New proc.
2097 (gdb_unavailable_floats): Move some code to ...
2098 (gdb_unavailable_floats_1): ... it. New proc.
2100 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2102 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
2103 probes to test for bitness recognition.
2104 * gdb.arch/amd64-stap-optional-prefix.exp
2105 (test_probe_value_without_reg): New procedure.
2106 Add code to test for different kinds of bitness.
2108 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2110 PR breakpoints/16889
2111 * gdb.arch/amd64-stap-optional-prefix.S: New file.
2112 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2114 2014-05-01 Pedro Alves <palves@redhat.com>
2116 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
2117 gdb_file_cmd if no file is specified.
2118 * boards/native-extended-gdbserver.exp (gdb_load): Use the
2119 last_loaded_file to set the remote exec-file.
2121 2014-05-01 Pedro Alves <palves@redhat.com>
2123 * boards/local-remote-host.exp: New file.
2125 2014-05-01 Pedro Alves <palves@redhat.com>
2127 * boards/local-remote-host.exp: Rename to ...
2128 * boards/local-remote-host-notty.exp: ... this.
2130 2014-04-28 Joel Brobecker <brobecker@adacore.com>
2132 * gdb.ada/dyn_arrayidx: New testcase.
2134 2014-04-26 Yao Qi <yao@codesourcery.com>
2136 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
2137 and compute the length of function main. Save it in
2139 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
2140 (top-level): Use gdb_compile to compile objects into
2141 executable and restart GDB. Remove invocation to
2142 prepare_for_testing.
2144 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
2145 Pedro Alves <palves@redhat.com>
2148 * gdb.multi/multi-attach.c: New file.
2149 * gdb.multi/multi-attach.exp: New file.
2151 2014-04-25 Pedro Alves <palves@redhat.com>
2153 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
2155 (top level): Test that "set remote conditional-breakpoints-packet
2156 off" works as intended.
2157 * gdb.base/dprintf.exp: Test that "set remote
2158 breakpoint-commands-packet off" works as intended.
2159 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
2161 (top level): Call it.
2162 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
2163 remote fast-tracepoints-packet off" works as intended.
2164 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
2165 * lib/gdb.exp (gdb_is_target_remote): ... here.
2167 2014-04-24 David Blaikie <dblaikie@gmail.com>
2169 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
2170 ensure clang would not discard them.
2171 * gdb.base/gdbvars.c: Ditto.
2172 * gdb.base/memattr.c: Ditto.
2173 * gdb.base/whatis.c: Ditto.
2174 * gdb.python/py-prettyprint.c: Ditto.
2175 * gdb.trace/actions.c: Ditto.
2176 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
2177 ensure clang would not discard it.
2179 2014-04-24 David Blaikie <dblaikie@gmail.com>
2181 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
2182 clang to emit the full definition of type required by the test
2183 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
2185 2014-04-24 David Blaikie <dblaikie@gmail.com>
2187 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
2188 coax Clang into emitting the definition of the type.
2189 * gdb.cp/pr10728-x.h (y): Ditto.
2190 * gdb.cp/pr10728-y.cc (y): Ditto.
2192 2014-04-24 David Blaikie <dblaikie@gmail.com>
2194 * gdb.base/label.exp: XFAIL label related tests under Clang.
2195 * gdb.cp/cplabel.exp: Ditto.
2196 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
2197 under Clang those using labels.
2199 2014-04-25 Yao Qi <yao@codesourcery.com>
2201 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
2203 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
2204 partial_label and double_label.
2206 2014-04-24 David Blaikie <dblaikie@gmail.com>
2208 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
2210 2014-04-24 David Blaikie <dblaikie@gmail.com>
2212 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
2213 of the function to work across GCC and Clang.
2214 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
2215 pointer types (const void ** const V void **).
2217 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
2218 Walfred Tedeschi <walfred.tedeschi@intel.com>
2220 * Makefile.in (EXECUTABLES): Added i386-avx512.
2221 * gdb.arch/i386-avx512.c: New file.
2222 * gdb.arch/i386-avx512.exp: Likewise.
2224 2014-04-23 Keith Seitz <keiths@redhat.com>
2226 * lib/mi-support.exp (mi_list_breakpoints): Delete.
2227 (mi_make_breakpoint_table): New procedure.
2228 (mi_create_breakpoint): Use mi_make_breakpoint
2229 and return the result.
2230 (mi_make_breakpoint): New procedure.
2231 (mi_build_kv_pairs): New procedure.
2233 * gdb.mi/mi-break.exp: Remove unused globals,
2234 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
2235 All callers updated.
2236 * gdb.mi/mi-dprintf.exp: Use variable to track command
2238 Update all callers of mi_create_breakpoint and use
2239 mi_make_breakpoint_table.
2240 Remove any unused global variables.
2241 * gdb.mi/mi-nonstop.exp: Likewise.
2242 * gdb.mi/mi-nsintrall.exp: Likewise.
2243 * gdb.mi/mi-nsmoribund.exp: Likewise.
2244 * gdb.mi/mi-nsthrexec.exp: Likewise.
2245 * gdb.mi/mi-reverse.exp: Likewise.
2246 * gdb.mi/mi-simplerun.exp: Likewise.
2247 * gdb.mi/mi-stepn.exp: Likewise.
2248 * gdb.mi/mi-syn-frame.exp: Likewise.
2249 * gdb.mi/mi-until.exp: Likewise.
2250 * gdb.mi/mi-var-cp.exp: Likewise.
2251 * gdb.mi/mi-var-display.exp: Likewise.
2252 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2253 * gdb.mi/mi2-var-child.exp: Likewise.
2254 * gdb.mi/mi-vla-c99.exp: Likewise.
2255 * lib/mi-support.exp: Likewise.
2257 From Ian Lance Taylor <iant@cygnus.com>:
2258 * lib/gdb.exp (parse_args): New procedure.
2260 2014-04-23 Pedro Alves <palves@redhat.com>
2262 * gdb.base/break-unload-file.c: New file.
2263 * gdb.base/break-unload-file.exp: New file.
2264 * gdb.base/sym-file-lib.c (baz): New function.
2265 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
2267 (load): Store the segment's mapped size.
2268 (unload): New function.
2269 (unload_shlib): New function.
2270 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
2271 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
2272 set a breakpoint at baz, and call it.
2273 * gdb.base/sym-file.exp: New tests for stale breakpoint
2276 2014-04-23 Pedro Alves <palves@redhat.com>
2278 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
2279 * gdb.base/hbreak-in-shr-unsupported.c: New file.
2280 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
2281 * gdb.base/hbreak-unmapped.c: New file.
2282 * gdb.base/hbreak-unmapped.exp: New file.
2283 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
2284 * lib/gdb.exp (gdb_is_target_remote): ... here.
2286 2014-04-22 Pedro Alves <palves@redhat.com>
2288 * gdb.base/consecutive-step-over.c: New file.
2289 * gdb.base/consecutive-step-over.exp: New file.
2291 2014-04-22 Pedro Alves <palves@redhat.com>
2293 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
2294 instead of send_gdb/gdb_expect.
2296 2014-04-22 Yao Qi <yao@codesourcery.com>
2298 * lib/trace-support.exp (generate_tracefile): New procedure.
2299 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
2301 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
2302 if generate_tracefile returns 1.
2304 2014-04-18 Tom Tromey <palves@redhat.com>
2305 Pedro alves <tromey@redhat.com>
2308 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
2309 with a backtrace limit.
2310 * gdb.python/py-frame-inline.exp: Test running to an inline
2311 function with a backtrace limit, and printing the newest frame.
2312 * gdb.python/py-frame-inline.c (main): Call f.
2314 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2316 * gdb.java/jnpe.exp: Drop srcdir from untested path.
2318 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2320 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
2321 Drop prefix from unsupported source file path.
2323 2014-04-17 Yao Qi <yao@codesourcery.com>
2325 * lib/gdb.exp (with_target_charset): New proc.
2326 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
2327 with_target_charset.
2328 (test_print_strings): Likewise.
2329 (test_repeat_bytes): Likewise.
2330 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
2333 2014-04-16 Keith Seitz <keiths@redhat.com>
2336 * gdb.dwarf2/corrupt.c: New file.
2337 * gdb.dwarf2/corrupt.exp: New file.
2339 2014-04-16 Keith Seitz <keiths@redhat.com>
2342 * gdb.cp/namelessclass.cc: New file.
2343 * gdb.cp/namelessclass.exp: New file.
2344 * gdb.cp/namelessclass.S: New file.
2346 2014-04-16 Doug Evans <dje@google.com>
2348 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
2350 (gdbserver_default_get_comm_port): New function.
2351 (gdbserver_start): Check if board file provided
2352 "gdbserver,get_comm_port" and use it if so.
2353 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
2354 (gdb,socketport): Set to "stdio".
2355 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
2356 (stdio_gdbserver_template): Delete.
2357 (${board}_get_remote_address): Update.
2358 (${board}_build_remote_cmd): Delete.
2359 (${board}_get_comm_port): New function.
2360 (${board}_spawn): Update.
2361 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
2363 (${board}_get_remote_address): Update.
2364 (${board}_get_comm_port): New function.
2366 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
2368 * gdb.base/memattr.exp: Improve regexps to handle memory regions
2369 appearing in any order.
2371 2014-04-15 Doug Evans <dje@google.com>
2373 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
2374 uninitialized value of "description".
2376 2014-04-15 Keith Seitz <keiths@redhat.com>
2378 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
2379 Remove unused globals.
2380 (test_running_the_program): Likewise.
2381 (test_controlled_execution): Likewise.
2382 (test_controlling_breakpoints): Likewise.
2383 (test_program_termination): Likewise.
2385 2014-04-15 Keith Seitz <keiths@redhat.com>
2387 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
2389 (test_rbreak_creation_and_listing): Likewise.
2390 (test_ignore_count): Likewise.
2391 (test_error): Likewise.
2393 2014-04-15 Pedro Alves <palves@redhat.com>
2395 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2396 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2398 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2399 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2400 to sym-file-loader.c.
2401 (struct library): Forward declare.
2402 (load_shlib, lookup_function): Change prototypes.
2403 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2404 (translate_offset): Remove declarations.
2405 (get_text_addr): New declaration.
2406 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2407 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2409 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2410 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2411 here from sym-file-loader.h.
2412 (struct library): New structure.
2413 (load_shlib, lookup_function): Change prototypes and adjust to
2414 work with a struct library.
2415 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2416 (translate_offset): Make static.
2417 (get_text_addr): New function.
2418 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
2420 2014-04-15 Pedro Alves <palves@redhat.com>
2422 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
2424 2014-04-15 Pedro Alves <palves@redhat.com>
2426 * gdb.base/sym-file-loader.c: Include <limits.h>.
2427 (SELF_LINK): New define.
2428 (get_origin): New function.
2429 (load_shlib): Use it.
2430 * gdb.base/sym-file.exp: Don't early return if the target is
2431 remote. Use runto_main, and issue fail is that fails. Use
2433 (shlib_name): Delete.
2434 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
2436 2014-04-15 Pedro Alves <palves@redhat.com>
2438 * gdb.base/sym-file.exp: Remove regex characters from test
2439 message. Don't refer to breakpoint numbers in test messages.
2441 2014-04-14 Keith Seitz <keiths@redhat.com>
2444 * gdb.cp/var-tag.cc: New file.
2445 * gdb.cp/var-tag.exp: New file.
2446 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2447 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2448 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2449 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2451 2014-04-14 Tom Tromey <tromey@redhat.com>
2453 * gdb.cp/classes.exp (test_enums): Handle underlying type.
2454 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
2456 * gdb.cp/enum-class.exp: New file.
2457 * gdb.cp/enum-class.cc: New file.
2459 2014-04-14 Tom Tromey <tromey@redhat.com>
2461 * gdb.dwarf2/enum-type.exp: New file.
2463 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2465 * gdb.mi/mi-vla-c99.exp: New file.
2466 * gdb.mi/vla.c: New file.
2468 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2470 * gdb.base/vla-datatypes.c: New file.
2471 * gdb.base/vla-datatypes.exp: New file.
2473 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2475 * gdb.base/vla-ptr.c: New file.
2476 * gdb.base/vla-ptr.exp: New file.
2478 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2480 * gdb.dwarf2/count.exp: New file.
2482 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2484 * gdb.base/vla-sideeffect.c: New file.
2485 * gdb.base/vla-sideeffect.exp: New file.
2487 2014-04-14 David Blaikie <dblaikie@gmail.com>
2489 * gdb.mi/non-stop.c: Add return value for non-void function return
2491 * gdb.threads/staticthreads.c: Ditto.
2493 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2494 Doug Evans <xdje42@gmail.com>
2496 * gdb.guile/scm-value.c: Improve test case.
2497 * gdb.guile/scm-value.exp: Add new test.
2499 2014-04-11 David Blaikie <dblaikie@gmail.com>
2501 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2502 override Clang's default.
2504 2014-04-11 Joel Brobecker <brobecker@adacore.com>
2506 Revert the following changes (regressions):
2508 * gdb.base/vla-sideeffect.c: New file.
2509 * gdb.base/vla-sideeffect.exp: New file.
2511 * gdb.dwarf2/count.exp: New file.
2513 * gdb.base/vla-multi.c: New file.
2514 * gdb.base/vla-multi.exp: New file.
2516 * gdb.base/vla-ptr.c: New file.
2517 * gdb.base/vla-ptr.exp: New file.
2519 * gdb.base/vla-datatypes.c: New file.
2520 * gdb.base/vla-datatypes.exp: New file.
2522 * gdb.mi/mi-vla-c99.exp: New file.
2523 * gdb.mi/vla.c: New file.
2525 2014-04-11 Keith Seitz <keiths@redhat.com>
2528 * gdb.cp/cpsizeof.exp: New file.
2529 * gdb.cp/cpsizeof.cc: New file.
2531 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2533 * gdb.mi/mi-vla-c99.exp: New file.
2534 * gdb.mi/vla.c: New file.
2536 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2538 * gdb.base/vla-datatypes.c: New file.
2539 * gdb.base/vla-datatypes.exp: New file.
2541 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2543 * gdb.base/vla-ptr.c: New file.
2544 * gdb.base/vla-ptr.exp: New file.
2546 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2548 * gdb.base/vla-multi.c: New file.
2549 * gdb.base/vla-multi.exp: New file.
2551 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2553 * gdb.dwarf2/count.exp: New file.
2555 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2557 * gdb.base/vla-sideeffect.c: New file.
2558 * gdb.base/vla-sideeffect.exp: New file.
2560 2014-04-11 Yao Qi <yao@codesourcery.com>
2562 * gdb.base/completion.exp: Check file exists before running tests
2565 2014-04-10 Pedro Alves <palves@redhat.com>
2567 * gdb.base/cond-eval-mode.c: New file.
2568 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2569 prepare_for_testing to build the new file. Check result of
2571 (test_break, test_watch): New procedures.
2572 (top level): Use them.
2574 2014-04-08 Pierre Muller <muller@sourceware.org>
2576 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2577 Ctrl-V use for mingw hosts.
2579 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2581 * gdb.python/py-value.c: Improve test case.
2582 * gdb.python/py-value.exp: Add new test.
2584 2014-04-07 David Blaikie <dblaikie@gmail.com>
2586 * lib/compiler.c: Identify the clang compiler.
2587 * lib/compiler.cc: Ditto.
2589 2014-04-03 Yao Qi <yao@codesourcery.com>
2591 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2593 2014-04-01 Anton Blanchard <anton@samba.org>
2595 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2598 2014-04-01 Anton Blanchard <anton@samba.org>
2600 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2601 prepare_for_testing.
2603 2014-04-01 Anton Blanchard <anton@samba.org>
2605 * gdb.arch/ppc64-atomic-inst.c: Remove.
2606 * gdb.arch/ppc64-atomic-inst.S: New file.
2607 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2609 2014-03-31 Doug Evans <dje@google.com>
2611 * gdb.base/print-symbol-loading-lib.c: New file.
2612 * gdb.base/print-symbol-loading-main.c: New file.
2613 * gdb.base/print-symbol-loading.exp: New file.
2615 2014-03-31 Yao Qi <yao@codesourcery.com>
2617 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2619 2014-03-28 Joel Brobecker <brobecker@adacore.com>
2621 * gdb.ada/mi_dyn_arr: New testcase.
2623 2014-03-27 Doug Evans <dje@google.com>
2625 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2627 2014-03-27 Yao Qi <yao@codesourcery.com>
2629 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2630 if target is nios2-*-*.
2632 2014-03-26 Yao Qi <yao@codesourcery.com>
2634 * lib/gdb.exp (readline_is_used): New proc.
2635 * gdb.base/completion.exp: Move tests on command complete up.
2636 Skip the rest of tests if readline is not used.
2637 * gdb.ada/complete.exp: Skp the test if readline is not
2639 * gdb.base/filesym.exp: Likewise.
2640 * gdb.base/macscp.exp: Likewise.
2641 * gdb.base/readline-ask.exp: Likewise.
2642 * gdb.base/readline.exp: Likewise.
2643 * gdb.python/py-cmd.exp: Likewise.
2644 * gdb.trace/tfile.exp: Likewise.
2646 2014-03-26 Yao Qi <yao@codesourcery.com>
2648 * gdb.base/macscp.exp: Fix code format issues.
2650 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2652 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2653 * gdb.asm/powerpc64le.inc: New file.
2655 2014-03-25 Pedro Alves <palves@redhat.com>
2656 Doug Evans <dje@google.com>
2658 * gdb.base/source-execution.c: New file.
2659 * gdb.base/source-execution.exp: New file.
2660 * gdb.base/source-execution.gdb: New file.
2662 2014-03-24 Doug Evans <dje@google.com>
2664 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2667 2014-03-24 Hui Zhu <hui@codesourcery.com>
2668 Pedro Alves <palves@redhat.com>
2670 PR breakpoints/16101
2671 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2672 test pass/fail messages. Detect missing support for dprintf when
2673 breakpoints are actually inserted.
2674 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2675 breakpoints are actually inserted.
2676 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2679 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2681 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2683 2014-03-22 Doug Evans <xdje42@gmail.com>
2685 * gdb.python/python.exp (python not supported): Verify multi-line
2686 python command issues an error.
2687 * gdb.guile/guile.exp (guile not supported): Verify multi-line
2688 guile command issues an error.
2690 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2692 * gdb.threads/thread-specific.exp: Handle the lack of usable
2693 $this_breakpoint and $this_thread.
2695 2014-03-21 Hui Zhu <hui@codesourcery.com>
2697 * gdb.base/attach.exp (do_command_attach_tests): New.
2699 2014-03-20 Tom Tromey <tromey@redhat.com>
2700 Pedro Alves <palves@redhat.com>
2703 * gdb.base/condbreak-call-false.c: New file.
2704 * gdb.base/condbreak-call-false.exp: New file.
2706 2014-03-20 Pedro Alves <palves@redhat.com>
2708 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2710 (block_signals, unblock_signals): Delete.
2711 (child_function_2, main): Remove references to deleted variable
2714 2014-03-20 Pedro Alves <palves@redhat.com>
2716 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2717 Use pthread_kill to signal thread 2.
2718 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2719 Adjust to make the test send itself a signal rather than using the
2720 host's "kill" command.
2722 2014-03-20 Pedro Alves <palves@redhat.com>
2724 * gdb.threads/multiple-step-overs.c: New file.
2725 * gdb.threads/multiple-step-overs.exp: New file.
2726 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2727 Adjust expected infrun debug output.
2729 2014-03-20 Pedro Alves <palves@redhat.com>
2731 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2732 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2734 2014-03-20 Pedro Alves <palves@redhat.com>
2737 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2738 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2739 of gdb_test_multiple.
2740 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2741 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2743 2014-03-20 Pedro Alves <palves@redhat.com>
2745 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2746 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2748 2014-03-19 Pedro Alves <palves@redhat.com>
2750 * gdb.base/async.exp: Remove early return.
2752 2014-03-19 Pedro Alves <palves@redhat.com>
2754 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2756 2014-03-19 Pedro Alves <palves@redhat.com>
2758 * gdb.base/async.exp (test_background): Expect \r\n after
2759 "completed." in the fail pattern.
2761 2014-03-19 Pedro Alves <palves@redhat.com>
2763 * gdb.base/async.exp (test_background): New procedure.
2764 Use it for all background execution command tests.
2766 2014-03-19 Pedro Alves <palves@redhat.com>
2768 * gdb.base/async.exp: Use prepare_for_testing.
2770 2014-03-19 Pedro Alves <palves@redhat.com>
2772 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2775 2014-03-19 Pedro Alves <palves@redhat.com>
2777 * gdb.base/async.c (main): Add "jump here" and "until here" line
2779 * gdb.base/async.exp (jump_here): New global.
2780 (jump& test): Use it.
2781 (until_here): New global.
2782 (until& test): Use it.
2784 2014-03-19 Pedro Alves <palves@redhat.com>
2786 * gdb.base/async.exp: Don't frob gdb_protocol.
2788 2014-03-18 Doug Evans <xdje42@gmail.com>
2790 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2791 Fix spelling of exec-done-display.
2793 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2796 * gdb.base/gdb-sigterm.c: New file.
2797 * gdb.base/gdb-sigterm.exp: New file.
2799 2014-03-18 Pedro Alves <palves@redhat.com>
2802 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2803 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2806 2014-03-17 Joel Brobecker <brobecker@adacore.com>
2808 * gdb.ada/pckd_arr_ren: New testcase.
2810 2014-03-13 Doug Evans <xdje42@gmail.com>
2813 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2814 collect after discarding symbols.
2816 2014-03-13 Ludovic Courtès <ludo@gnu.org>
2817 Doug Evans <xdje42@gmail.com>
2819 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2820 to history survives a gc.
2822 2014-03-13 Pedro Alves <palves@redhat.com>
2824 * gdb.base/default.exp: Don't test "target procfs".
2826 2014-03-13 Pedro Alves <palves@redhat.com>
2828 * gdb.base/default.exp: Update "target child" and "target procfs"
2829 tests to not expect "Unix".
2831 2014-03-12 Tom Tromey <tromey@redhat.com>
2833 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2834 New procs. Add target-async tests.
2835 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2836 Add target-async tests.
2838 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2840 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2841 'func_start' and 'func_end' for the beginning and end of the
2842 function code, respectively.
2843 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2844 'func_end' instead of 'func' and 'main'.
2846 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2848 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2849 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2850 generate the debug info assembler source.
2852 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2854 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2855 * gdb.dwarf2/arr-subrange.exp: Likewise.
2856 * gdb.dwarf2/dwz.exp: Likewise.
2857 * gdb.dwarf2/method-ptr.exp: Likewise.
2858 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2859 * gdb.dwarf2/subrange.exp: Likewise.
2860 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2861 * gdb.dwarf2/implptrpiece.exp: Likewise.
2862 * gdb.dwarf2/nostaticblock.exp: Likewise.
2864 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2866 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2867 directory to absolute path name arguments.
2869 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2871 * gdb.ada/tagged_access: New testcase.
2873 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2875 * gdb.btrace/data.exp: Update expected output.
2877 2014-03-06 Yao Qi <yao@codesourcery.com>
2879 * gdb.trace/pr16508.exp: New file.
2881 2014-03-05 Pedro Alves <palves@redhat.com>
2884 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2886 (top level): Adjust to use it. Add tests that exercise breakpoint
2887 interaction with the code-cache.
2889 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2891 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2892 test for 'history-append!'.
2894 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2896 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2897 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2898 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2899 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2900 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2901 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2903 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2905 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2906 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2907 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2909 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2911 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2913 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2915 * gdb.dwarf2/arr-stride.c: New file.
2916 * gdb.dwarf2/arr-stride.exp: New file.
2918 2014-02-26 Pedro Alves <palves@redhat.com>
2920 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2921 that won't ever trigger. Make sure that GDB reports the correct
2922 breakpoint that caused the stop.
2924 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2927 * gdb.base/auto-load-script: New file.
2928 * gdb.base/auto-load.c: New file.
2929 * gdb.base/auto-load.exp: New file.
2932 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2934 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2936 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2937 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2939 2014-02-24 Doug Evans <dje@google.com>
2941 * lib/gdb.exp (run_on_host): Log error output if program fails.
2943 2014-02-21 Pedro Alves <palves@redhat.com>
2945 * gdb.threads/step-after-sr-lock.c: Rename to ...
2946 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2947 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2948 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2951 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2954 * gdb.arch/amd64-stap-special-operands.exp: New file.
2955 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2956 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2957 * gdb.arch/amd64-stap-triplet.S: Likewise.
2958 * gdb.arch/amd64-stap-triplet.c: Likewise.
2960 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2962 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2963 in .section pseudo-op.
2965 2014-02-20 lin zuojian <manjian2006@gmail.com>
2966 Joel Brobecker <brobecker@adacore.com>
2967 Doug Evans <xdje42@gmail.com>
2970 * gdb.dwarf2/dw2-icycle.S: New file.
2971 * gdb.dwarf2/dw2-icycle.c: New file.
2972 * gdb.dwarf2/dw2-icycle.exp: New file.
2974 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2976 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2977 operations on gdb.Value objects.
2978 * gdb.python/py-value-cc.exp: Add new test to test operations on
2981 2014-02-18 Doug Evans <dje@google.com>
2983 * Makefile.in (TESTS): New variable.
2984 (expanded_tests, expanded_tests_or_none): New variables
2985 (check-single): Pass $(expanded_tests_or_none) to runtest.
2986 (check-parallel): Only run tests in $(TESTS) if non-empty.
2987 (check/no-matching-tests-found): New rule.
2988 * README: Document TESTS makefile variable.
2990 2014-02-18 Doug Evans <dje@google.com>
2992 * Makefile.in (check-parallel): rm -rf outputs temp.
2994 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2996 Fix "ERROR: no fileid for" in the testsuite.
2997 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2999 2014-02-12 Doug Evans <dje@google.com>
3001 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
3002 (MISCELLANEOUS): New variable.
3003 (clean): rm -rf $(MISCELLANEOUS).
3004 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
3005 dwp live in the same directory as symlinks, with each symlink pointed
3006 to a differently named file in a different directory.
3008 2014-02-11 Doug Evans <dje@google.com>
3010 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
3011 of Tcl file commands.
3013 2014-02-10 Mark Kettenis <kettenis@gnu.org>
3015 * gdb.threads/step-after-sr-lock.exp: Avoid executing
3018 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3020 * gdb.ada/tick_length_array_enum_idx: New testcase.
3022 2014-02-10 Doug Evans <xdje42@gmail.com>
3024 * configure.ac (AC_OUTPUT): Add gdb.guile.
3025 * configure: Regenerate.
3026 * lib/gdb-guile.exp: New file.
3027 * lib/gdb.exp (get_target_charset): New function.
3028 * gdb.base/help.exp: Update expected output from "apropos apropos".
3029 * gdb.guile/Makefile.in: New file.
3030 * gdb.guile/guile.exp: New file.
3031 * gdb.guile/scm-arch.c: New file.
3032 * gdb.guile/scm-arch.exp: New file.
3033 * gdb.guile/scm-block.c: New file.
3034 * gdb.guile/scm-block.exp: New file.
3035 * gdb.guile/scm-breakpoint.c: New file.
3036 * gdb.guile/scm-breakpoint.exp: New file.
3037 * gdb.guile/scm-disasm.c: New file.
3038 * gdb.guile/scm-disasm.exp: New file.
3039 * gdb.guile/scm-equal.c: New file.
3040 * gdb.guile/scm-equal.exp: New file.
3041 * gdb.guile/scm-error.exp: New file.
3042 * gdb.guile/scm-error.scm: New file.
3043 * gdb.guile/scm-frame-args.c: New file.
3044 * gdb.guile/scm-frame-args.exp: New file.
3045 * gdb.guile/scm-frame-args.scm: New file.
3046 * gdb.guile/scm-frame-inline.c: New file.
3047 * gdb.guile/scm-frame-inline.exp: New file.
3048 * gdb.guile/scm-frame.c: New file.
3049 * gdb.guile/scm-frame.exp: New file.
3050 * gdb.guile/scm-generics.exp: New file.
3051 * gdb.guile/scm-gsmob.exp: New file.
3052 * gdb.guile/scm-iterator.c: New file.
3053 * gdb.guile/scm-iterator.exp: New file.
3054 * gdb.guile/scm-math.c: New file.
3055 * gdb.guile/scm-math.exp: New file.
3056 * gdb.guile/scm-objfile-script-gdb.in: New file.
3057 * gdb.guile/scm-objfile-script.c: New file.
3058 * gdb.guile/scm-objfile-script.exp: New file.
3059 * gdb.guile/scm-objfile.c: New file.
3060 * gdb.guile/scm-objfile.exp: New file.
3061 * gdb.guile/scm-ports.exp: New file.
3062 * gdb.guile/scm-pretty-print.c: New file.
3063 * gdb.guile/scm-pretty-print.exp: New file.
3064 * gdb.guile/scm-pretty-print.scm: New file.
3065 * gdb.guile/scm-section-script.c: New file.
3066 * gdb.guile/scm-section-script.exp: New file.
3067 * gdb.guile/scm-section-script.scm: New file.
3068 * gdb.guile/scm-symbol.c: New file.
3069 * gdb.guile/scm-symbol.exp: New file.
3070 * gdb.guile/scm-symtab-2.c: New file.
3071 * gdb.guile/scm-symtab.c: New file.
3072 * gdb.guile/scm-symtab.exp: New file.
3073 * gdb.guile/scm-type.c: New file.
3074 * gdb.guile/scm-type.exp: New file.
3075 * gdb.guile/scm-value-cc.cc: New file.
3076 * gdb.guile/scm-value-cc.exp: New file.
3077 * gdb.guile/scm-value.c: New file.
3078 * gdb.guile/scm-value.exp: New file.
3079 * gdb.guile/source2.scm: New file.
3080 * gdb.guile/types-module.cc: New file.
3081 * gdb.guile/types-module.exp: New file.
3083 2014-02-10 Yao Qi <yao@codesourcery.com>
3086 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
3087 * configure: Regenerated.
3088 * Makefile.in: New file.
3090 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3092 * gdb.python/py-framefilter.exp: Fix typo.
3094 2014-02-08 Yao Qi <yao@codesourcery.com>
3096 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
3097 that no =breakpoint-modified is emitted when breakpoints are
3098 modified through MI commands.
3100 2014-02-07 Pedro Alves <pedro@codesourcery.com>
3101 Pedro Alves <palves@redhat.com>
3103 * gdb.threads/step-after-sr-lock.c: New file.
3104 * gdb.threads/step-after-sr-lock.exp: New file.
3106 2014-02-07 Pedro Alves <palves@redhat.com>
3108 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
3110 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3112 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
3113 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
3115 2014-02-06 Doug Evans <xdje42@gmail.com>
3117 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
3120 * gdb.gdb/python-interrupts.exp: New file.
3122 2014-02-05 Yao Qi <yao@codesourcery.com>
3124 * gdb.trace/report.exp (use_collected_data): Test the output
3125 of "info threads" and "info inferiors".
3127 2014-02-05 Yao Qi <yao@codesourcery.com>
3131 2013-05-24 Yao Qi <yao@codesourcery.com>
3133 * gdb.trace/tfile.exp: Test inferior and thread.
3135 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3137 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
3139 * gdb.base/step-bt.c: Call hello via function pointer to make
3140 sure its first instruction is executed on powerpc64le-linux.
3142 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3144 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
3146 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3148 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
3149 of the test patterns for use on little-endian systems.
3151 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3153 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
3154 (decimal_vector): Fix for little-endian.
3156 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3158 * gdb.arch/sparc-sysstep.exp: New file.
3159 * gdb.arch/sparc-sysstep.c: Likewise.
3161 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
3163 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3165 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
3167 2014-01-23 Tom Tromey <tromey@redhat.com>
3169 * gdb.ada/array_char_idx: New testcase.
3171 2014-01-23 Tom Tromey <tromey@redhat.com>
3174 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
3175 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
3178 2014-01-23 Tom Tromey <tromey@redhat.com>
3181 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
3182 string from an inferior frame.
3183 * gdb.python/py-framefilter-mi.exp: Update.
3185 2014-01-22 Doug Evans <dje@google.com>
3187 * gdb.server/server-mon.exp: Add tests for "set debug-format".
3189 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3191 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
3193 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3195 * gdb.trace/entry-values.exp: Remove excess space character from
3196 regex patterns. Handle s390 call instruction.
3198 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3200 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
3201 define "*_start" label. Make "name" static.
3202 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
3203 ${name} by references to ${name}_start.
3205 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3207 * gdb.base/info-macros.exp: Remove "debug" from the compile
3210 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3212 * gdb.dlang/demangle.exp: New file.
3214 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3216 * gdb.dlang/primitive-types.exp: New file.
3218 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3220 * configure.ac: Create gdb.dlang/Makefile.
3221 * configure: Regenerate.
3222 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
3223 * gdb.dlang/Makefile.in: New file.
3224 * lib/d-support.exp: New file.
3225 * lib/gdb.exp (skip_d_tests): New proc.
3227 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3229 * gdb.btrace/delta.exp: Check reverse stepi.
3230 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
3231 * gdb.btrace/finish.exp: New.
3232 * gdb.btrace/next.exp: New.
3233 * gdb.btrace/nexti.exp: New.
3234 * gdb.btrace/record_goto.c: Add comments.
3235 * gdb.btrace/step.exp: New.
3236 * gdb.btrace/stepi.exp: New.
3237 * gdb.btrace/multi-thread-step.c: New.
3238 * gdb.btrace/multi-thread-step.exp: New.
3239 * gdb.btrace/rn-dl-bind.c: New.
3240 * gdb.btrace/rn-dl-bind.exp: New.
3241 * gdb.btrace/data.c: New.
3242 * gdb.btrace/data.exp: New.
3243 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3245 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3247 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
3248 * gdb.btrace/exception.exp: Update.
3249 * gdb.btrace/instruction_history.exp: Update.
3250 * gdb.btrace/record_goto.exp: Update.
3251 * gdb.btrace/tailcall.exp: Update.
3252 * gdb.btrace/unknown_functions.exp: Update.
3253 * gdb.btrace/delta.exp: New.
3255 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3257 * gdb.btrace/record_goto.exp: Add backtrace test.
3258 * gdb.btrace/tailcall.exp: Add backtrace test.
3260 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3262 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
3263 * gdb.btrace/record_goto.c: New.
3264 * gdb.btrace/record_goto.exp: New.
3265 * gdb.btrace/x86-record_goto.S: New.
3267 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3269 * gdb.btrace/function_call_history.exp: Update tests.
3270 * gdb.btrace/instruction_history.exp: Update tests.
3272 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3274 * gdb.btrace/function_call_history.exp: Fix expected field
3275 order for "record function-call-history".
3276 Add new tests for "record function-call-history /c".
3277 * gdb.btrace/exception.cc: New.
3278 * gdb.btrace/exception.exp: New.
3279 * gdb.btrace/tailcall.exp: New.
3280 * gdb.btrace/x86-tailcall.S: New.
3281 * gdb.btrace/x86-tailcall.c: New.
3282 * gdb.btrace/unknown_functions.c: New.
3283 * gdb.btrace/unknown_functions.exp: New.
3284 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3286 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3288 * gdb.btrace/instruction_history.exp: Update.
3289 * gdb.btrace/function_call_history.exp: Update.
3291 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3293 * gdb.btrace/function_call_history.exp: Fix expected function
3295 * gdb.btrace/instruction_history.exp: Initialize traced.
3296 Remove traced_functions.
3298 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3300 * gdb.btrace/function_call_history.exp: Update
3301 * gdb.btrace/instruction_history.exp: Update.
3303 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3305 * gdb.btrace/enable.exp: Update expected text.
3307 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
3309 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
3312 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
3314 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
3316 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3318 * lib/gdb.exp (supports_process_record): Return true for
3319 arm*-linux*. (supports_reverse): Likewise.
3321 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3325 * gdb.python/py-type.c: Enhance test case.
3326 * gdb.python/py-value-cc.cc: Likewise
3327 * gdb.python/py-type.exp: Add new tests.
3328 * gdb.python/py-value-cc.exp: Likewise
3330 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3331 Pedro Alves <palves@redhat.com>
3333 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
3335 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
3336 references to ${name}_start by references to ${name}.
3338 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3340 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
3342 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3344 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
3346 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
3347 Pedro Alves <palves@redhat.com>
3349 * gdb.mi/mi-info-os.exp: Connect to the target with
3352 2014-01-08 Pedro Alves <palves@redhat.com>
3354 * gdb.threads/reconnect-signal.c: New file.
3355 * gdb.threads/reconnect-signal.exp: New file.
3357 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3359 * gdb.base/source-dir.exp: New file.
3361 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3363 * gdb.ada/mi_interface: New testcase.
3365 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3367 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
3368 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
3369 gdb.ada/pp-rec-component/pck.ads: New files.
3371 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3373 * gdb.python/py-pp-integral.c: New file.
3374 * gdb.python/py-pp-integral.py: New file.
3375 * gdb.python/py-pp-integral.exp: New file.
3377 For older changes see ChangeLog-1993-2013.
3383 ;; version-control: never
3386 Copyright 2014 Free Software Foundation, Inc.
3387 Copying and distribution of this file, with or without modification,
3388 are permitted provided the copyright notice and this notice are preserved.