1 2014-11-19 Joel Brobecker <brobecker@adacore.com>
3 * gdb.ada/pkd_arr_elem: New Testcase.
5 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
7 * gdb.reverse/break-precsave: Expect completion message for
9 * gdb.reverse/consecutive-precsave.exp: Likewise.
10 * gdb.reverse/finish-precsave.exp: Likewise.
11 * gdb.reverse/i386-precsave.exp: Likewise.
12 * gdb.reverse/machinestate-precsave.exp: Likewise.
13 * gdb.reverse/sigall-precsave.exp: Likewise.
14 * gdb.reverse/solib-precsave.exp: Likewise.
15 * gdb.reverse/step-precsave.exp: Likewise.
16 * gdb.reverse/until-precsave.exp: Likewise.
17 * gdb.reverse/watch-precsave.exp: Likewise.
19 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
21 * gdb.base/bp-permanent.c: Include unistd.h.
22 * gdb.python/py-framefilter-mi.c (main): Add return type.
23 * gdb.python/py-framefilter.c (main): Likewise.
24 * gdb.trace/actions-changed.c (main): Likewise.
26 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
28 * gdb.mi/until.c: Add eye-catchers.
29 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
32 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
34 * gdb.base/condbreak.exp: Drop references to removed non-prototype
35 function header variants in break1.c.
36 * gdb.base/ena-dis-br.exp: Likewise.
37 * gdb.base/hbreak2.exp: Likewise.
38 * gdb.reverse/until-precsave.exp: Drop references to removed
39 non-prototype function header variants in ur1.c.
40 * gdb.reverse/until-reverse.exp: Likewise.
42 2014-11-17 Petr Machata <pmachata@redhat.com>
44 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
45 ${_cu_offset_size} bytes abbrev offset.
47 2014-11-15 Doug Evans <xdje42@gmail.com>
50 * gdb.base/line-symtabs.exp: New file.
51 * gdb.base/line-symtabs.c: New file.
52 * gdb.base/line-symtabs.h: New file.
54 2014-11-14 Yao Qi <yao@codesourcery.com>
56 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
57 (func): Add label func_label.
58 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
59 Replace low_pc and high_pc with MACRO_AT_range.
60 Replace name, low_pc and high_pc with MACRO_AT_func.
62 2014-11-14 Yao Qi <yao@codesourcery.com>
64 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
65 Replace name, low_pc and high_pc with MACRO_AT_func.
67 2014-11-14 Yao Qi <yao@codesourcery.com>
69 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
70 produce debug information.
71 * gdb.dwarf2/implptr-optimized-out.S: Removed.
73 2014-11-14 Yao Qi <yao@codesourcery.com>
75 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
76 object and get function length.
77 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
79 (top-level): Replace gdb_compile and clean_restart with
81 * gdb.dwarf2/main.c (main): Add label main_label.
83 2014-11-14 Yao Qi <yao@codesourcery.com>
85 * lib/dwarf.exp (function_range): New procedure.
86 (Dwarf::_handle_macro_at_func): New procedure.
87 (Dwarf::_handle_macro_at_range): New procedure.
88 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
90 2014-11-14 Yao Qi <yao@codesourcery.com>
92 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
93 (_handle_attribute): New procedure.
95 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
97 * gdb.ada/cond_lang/foo.c (callme): Add return type.
98 * gdb.base/call-sc.c (zed): Likewise.
99 * gdb.base/checkpoint.c (main): Likewise.
100 * gdb.base/dump.c (main): Likewise.
101 * gdb.base/gcore.c (main): Likewise.
102 * gdb.base/huge.c (main): Likewise.
103 * gdb.base/multi-forks.c (main): Likewise.
104 * gdb.base/pr10179-a.c (main): Likewise.
105 * gdb.base/savedregs.c (main): Likewise.
106 * gdb.base/sigaltstack.c (main): Likewise.
107 * gdb.base/siginfo.c (main): Likewise.
108 * gdb.base/structs.c (zed): Likewise.
109 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
110 * gdb.mi/mi-syn-frame.c (main): Likewise.
111 * gdb.mi/until.c (foo, main): Likewise.
112 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
113 * gdb.base/solib-weak.c (foo): Declare.
114 * gdb.base/attach-twice.c: Include stdio.h.
115 * gdb.base/weaklib1.c: Likewise.
116 * gdb.base/weaklib2.c: Likewise.
117 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
118 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
120 * gdb.base/attach-pie-misread.c: Include stdlib.h.
121 * gdb.mi/mi-exit-code.c: Likewise.
122 * gdb.base/break-interp-lib.c: Include string.h.
123 * gdb.base/coremaker.c: Likewise.
124 * gdb.base/testenv.c: Likewise.
125 * gdb.python/py-finish-breakpoint.c: Likewise.
126 * gdb.base/inferior-died.c: Include sys/wait.h.
127 * gdb.base/fileio.c: Include time.h.
128 * gdb.base/async-shell.c: Include unistd.h.
129 * gdb.base/dprintf-non-stop.c: Likewise.
130 * gdb.base/info-os.c: Likewise.
131 * gdb.mi/mi-console.c: Likewise.
132 * gdb.mi/watch-nonstop.c: Likewise.
133 * gdb.python/py-events.c: Likewise.
134 * gdb.base/async.c (baz): Move up before its invocation.
135 * gdb.base/code_elim2.c (my_global_func): Likewise.
136 * gdb.base/skip-solib-lib.c (multiply): Likewise.
137 * gdb.base/advance.c (func2): Likewise.
139 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
141 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
143 * gdb.base/annota3.c: Likewise.
144 * gdb.base/async.c: Likewise.
145 * gdb.base/average.c: Likewise.
146 * gdb.base/call-ar-st.c: Likewise.
147 * gdb.base/call-rt-st.c: Likewise.
148 * gdb.base/call-sc.c: Likewise.
149 * gdb.base/call-strs.c: Likewise.
150 * gdb.base/ending-run.c: Likewise.
151 * gdb.base/execd-prog.c: Likewise.
152 * gdb.base/exprs.c: Likewise.
153 * gdb.base/foll-exec.c: Likewise.
154 * gdb.base/foll-fork.c: Likewise.
155 * gdb.base/foll-vfork.c: Likewise.
156 * gdb.base/funcargs.c: Likewise.
157 * gdb.base/gcore.c: Likewise.
158 * gdb.base/jump.c: Likewise.
159 * gdb.base/langs0.c: Likewise.
160 * gdb.base/langs1.c: Likewise.
161 * gdb.base/langs2.c: Likewise.
162 * gdb.base/mips_pro.c: Likewise.
163 * gdb.base/nodebug.c: Likewise.
164 * gdb.base/opaque0.c: Likewise.
165 * gdb.base/opaque1.c: Likewise.
166 * gdb.base/recurse.c: Likewise.
167 * gdb.base/run.c: Likewise.
168 * gdb.base/scope0.c: Likewise.
169 * gdb.base/scope1.c: Likewise.
170 * gdb.base/setshow.c: Likewise.
171 * gdb.base/setvar.c: Likewise.
172 * gdb.base/shmain.c: Likewise.
173 * gdb.base/shr1.c: Likewise.
174 * gdb.base/shr2.c: Likewise.
175 * gdb.base/sigall.c: Likewise.
176 * gdb.base/signals.c: Likewise.
177 * gdb.base/so-indr-cl.c: Likewise.
178 * gdb.base/solib2.c: Likewise.
179 * gdb.base/structs.c: Likewise.
180 * gdb.base/sum.c: Likewise.
181 * gdb.base/vforked-prog.c: Likewise.
182 * gdb.base/watchpoint.c: Likewise.
183 * gdb.reverse/shr2.c: Likewise.
184 * gdb.reverse/until-reverse.c: Likewise.
185 * gdb.reverse/ur1.c: Likewise.
186 * gdb.reverse/watch-reverse.c: Likewise.
188 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
190 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
192 * gdb.base/sepdebug.exp: Drop references to removed code.
194 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
196 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
197 variant. Preserve original line numbering.
198 * gdb.base/list1.c: Likewise.
200 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
202 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
204 * gdb.base/break1.c: Likewise.
205 * gdb.base/break.exp: Drop references to removed code.
207 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
209 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
212 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
214 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
216 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
218 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
219 logic into perform_all_tests() and invoke it with and without
220 function header prototypes.
221 (do_function_calls): Remove conditional XFAIL for PR 5318.
222 (rerun_and_prepare): Remove duplicate code.
223 (perform_all_tests): New. Main logic moved here.
225 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
227 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
228 code guarded by #ifdef NO_PROTOTYPES.
229 (t_double_many_args): Likewise.
230 (DEF_FUNC_MANY_ARGS_1): Likewise.
231 (DEF_FUNC_VALUES_1): Likewise.
232 (t_structs_ldc): Renamed from t_structs_fc in conditional code
233 guarded by #ifdef PROTOTYPES.
235 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
237 * gdb.mi/mi-console.c: Add eye-catcher.
238 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
239 instead of literal line number.
241 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
243 * gdb.base/shr2.c: Add eye-catcher.
244 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
247 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
249 * gdb.base/jump.c: Add eye-catchers.
250 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
253 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
255 * gdb.base/execd-prog.c: Add eye-catchers.
256 * gdb.base/foll-exec.c: Likewise.
257 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
260 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
262 * gdb.base/ending-run.c: Add eye-catchers.
263 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
264 literal line numbers.
266 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
268 * gdb.base/call-rt-st.c: Add eye-catchers.
269 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
270 literal line numbers.
272 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
274 * gdb.base/call-ar-st.c: Add eye-catchers.
275 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
276 literal line numbers.
278 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
280 * gdb.base/average.c: Add eye-catchers.
281 * gdb.base/sum.c: Likewise.
282 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
285 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
287 * gdb.base/solib1.c: Add eye-catchers.
288 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
289 literal line numbers.
291 2014-11-12 Pedro Alves <palves@redhat.com>
293 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
296 2014-11-12 Pedro Alves <palves@redhat.com>
298 * gdb.arch/i386-bp_permanent.c: New file.
299 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
300 (srcfile): Set to i386-bp_permanent.c.
301 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
302 that stepi does not execute the 'leave' instruction, instead of
303 testing it does execute.
304 * gdb.base/bp-permanent.c: New file.
305 * gdb.base/bp-permanent.exp: New file.
307 2014-11-10 Doug Evans <xdje42@gmail.com>
310 * gdb.base/symtab-search-order.exp: New file.
311 * gdb.base/symtab-search-order.c: New file.
312 * gdb.base/symtab-search-order-1.c: New file.
313 * gdb.base/symtab-search-order-shlib-1.c: New file.
315 2014-11-07 Pedro Alves <palves@redhat.com>
318 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
321 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
324 * gdb.cp/pr17494.cc: New file.
325 * gdb.cp/pr17494.exp: New file.
327 2014-11-02 Yao Qi <yao@codesourcery.com>
329 * gdb.python/python.exp: Get working directory and match the
330 output of "set extended-prompt \\w " with it.
332 2014-10-30 Doug Evans <dje@google.com>
334 * gdb.python/py-objfile.exp: Add tests for setting random attributes
336 * gdb.python/py-progspace.exp: Add tests for setting random attributes
339 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
341 * gdb.base/fullpath-expand.exp: Skip for a remote host.
342 * gdb.base/realname-expand.exp: Likewise.
343 * gdb.linespec/macro-relative.exp: Likewise.
345 2014-10-29 Pedro Alves <palves@redhat.com>
348 * gdb.threads/schedlock.c (some_function): New function.
349 (call_function): New global.
350 (MAYBE_CALL_SOME_FUNCTION): New macro.
351 (thread_function): Call it.
352 * gdb.threads/schedlock.exp (get_args): Add description parameter,
353 and use it instead of a global counter. Adjust all callers.
354 (get_current_thread): Use "find current thread" for test message
355 here rather than having all callers pass down the same string.
356 (goto_loop): New procedure, factored out from ...
357 (my_continue): ... this.
358 (step_ten_loops): Change parameter from test message to command to
360 (list_count): Delete global.
361 (check_result): New procedure, factored out from duplicate top
363 (continue tests): Wrap in with_test_prefix.
364 (test_step): New procedure, factored out from duplicate top level
366 (top level): Test "step" in combination with all scheduler-locking
367 modes. Test "next" in combination with all scheduler-locking
368 modes, and in combination with stepping over a function call or
370 * gdb.threads/next-bp-other-thread.c: New file.
371 * gdb.threads/next-bp-other-thread.exp: New file.
373 2014-10-29 Pedro Alves <palves@redhat.com>
376 * gdb.python/python.exp: Test a multi-line command that spawns
378 * gdb.base/multi-line-starts-subshell.exp: New file.
380 2014-10-29 Yao Qi <yao@codesourcery.com>
382 * gdb.base/fileio.exp: Make directories on host.
384 2014-10-29 Yao Qi <yao@codesourcery.com>
386 * gdb.base/fileio.c (test_write): Close the file.
388 2014-10-28 Pedro Alves <palves@redhat.com>
391 * gdb.base/sigstep.c (no_handler): New global.
392 (main): If 'no_handler is true, set the signal handlers to
394 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
395 with_sw_watch and no_handler parameters. Handle them.
396 (top level) <stepping over handler when stopped at a breakpoint
397 test>: Add a test axis for testing with a software watchpoint, and
398 another for testing with the signal handler set to SIG_IGN.
399 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
400 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
402 2014-10-28 Pedro Alves <palves@redhat.com>
405 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
406 * gdb.base/sigstep.exp (other_handler_location): New global.
407 (advance): Support stepping into the signal handler, and running
408 commands while in the handler.
409 (in_handler_map): New global.
410 (top level): In the advance test, add combinations for getting
411 into the handler with stepping commands, and for running commands
412 in the handler. Add comment descripting the advancei tests.
414 2014-10-28 Pedro Alves <palves@redhat.com>
416 * gdb.base/sigstep.exp: Use build_executable instead of
418 (top level): Move code that starts GDB, runs to main and creates a
420 (restart): ... this new procedure.
421 (top level): Move backtrace from signal handler test to ...
422 (validate_backtrace): ... this new procedure.
423 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
424 with_test_prefix. Always restart GDB.
425 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
426 with_test_prefix. Always restart GDB. No need to delete
427 breakpoints after the test.
428 (test_skip_handler): Remove prefix parameter.
429 (skip_over_handler, breakpoint_to_handler)
430 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
431 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
432 restart GDB. No need to delete breakpoints after the test.
433 (top level): Use foreach to call the test procedures with
436 2014-10-28 Pedro Alves <palves@redhat.com>
438 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
439 instead of GNATS numbers.
440 * gdb.base/sigbpt.exp: Likewise.
441 * gdb.base/siginfo.exp: Likewise.
442 * gdb.base/sigstep.exp: Likewise.
444 2014-10-27 Pedro Alves <palves@redhat.com>
446 * gdb.base/sigstep.c (dummy): New global.
447 (main): Issue a couple writes to the new global.
448 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
450 (skip_over_handler): Use test_skip_handler.
451 (top level): Call skip_over_handler for stepi and nexti too.
452 (breakpoint_over_handler): Use test_skip_handler.
453 (top level): Call breakpoint_over_handler for stepi and nexti too.
455 2014-10-27 Yao Qi <yao@codesourcery.com>
457 * gdb.trace/tfile.c (adjust_function_address)
458 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
461 2014-10-24 Don Breazeal <donb@codesourcery.com>
463 * gdb.base/foll-fork.exp (test_follow_fork,
464 catch_fork_child_follow): Check for updated fork messages emitted
466 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
467 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
468 vfork_and_exec_child_follow_through_step): Check for updated vfork
469 messages emitted from infrun.c.
471 2014-10-24 Pedro Alves <palves@redhat.com>
473 * gdb.base/corefile.exp: Remove references to ultrix.
474 * gdb.base/interrupt.exp: Likewise.
475 * gdb.base/whatis.exp: Likewise.
476 * gdb.gdb/selftest.exp: Likewise.
477 * gdb.threads/manythreads.exp: Likewise.
478 * gdb.threads/print-threads.exp: Likewise.
479 * gdb.threads/pthreads.exp:: Likewise.
480 * gdb.threads/schedlock.exp: Likewise.
482 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
484 * gdb.cp/non-trivial-retval.cc: Add a test case.
485 * gdb.cp/non-trivial-retval.exp: Add a test.
487 2014-10-20 Yao Qi <yao@codesourcery.com>
489 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
490 * gdb.python/py-objfile-script-gdb.py: New file.
491 * gdb.python/py-objfile-script.exp: Update reference to
492 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
493 of remote_download. Remove the dest file.
495 2014-10-20 Yao Qi <yao@codesourcery.com>
497 * gdb.base/checkpoint.exp: Don't remove file copied on host.
498 * gdb.base/step-line.exp: Likewise.
499 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
500 * gdb.dwarf2/dw2-basic.exp: Likewise.
501 * gdb.dwarf2/dw2-compressed.exp: Likewise.
502 * gdb.dwarf2/dw2-filename.exp: Likewise.
503 * gdb.dwarf2/dw2-intercu.exp: Likewise.
504 * gdb.dwarf2/dw2-intermix.exp: Likewise.
505 * gdb.dwarf2/dw2-producer.exp: Likewise.
506 * gdb.dwarf2/mac-fileno.exp: Likewise.
507 * gdb.python/py-frame-args.exp: Likewise.
508 * gdb.python/py-framefilter.exp: Likewise.
509 * gdb.python/py-mi.exp: Likewise.
510 * gdb.python/py-objfile-script.exp: Likewise
511 * gdb.python/py-pp-integral.exp: Likewise.
512 * gdb.python/py-pp-re-notag.exp: Likewise.
513 * gdb.python/py-prettyprint.exp: Likewise.
514 * gdb.python/py-section-script.exp: Likewise.
515 * gdb.python/py-typeprint.exp: Likewise.
516 * gdb.python/py-xmethods.exp: Likewise.
517 * gdb.stabs/weird.exp: Likewise.
518 * gdb.xml/tdesc-regs.exp: Likewise.
520 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
522 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
523 (out_cu): Use addr_len for the size of addresses.
524 (out_line): Likewise. Size DW_LNE_set_address instruction
525 according to addr_len.
526 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
527 (FUNC): Add START_INSNS to definition.
529 2014-10-18 Yao Qi <yao@codesourcery.com>
531 * gdb.base/argv0-symlink.exp: Check argv[0] value if
532 gdb_has_argv0 return true.
533 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
534 check [target_info exists noargs], check [gdb_has_argv0]
536 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
537 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
540 2014-10-17 Doug Evans <dje@google.com>
542 * gdb.python/py-events.exp: Update expected output for clear_objfiles
544 * gdb.python/py-events.py: Add clear_objfiles event.
546 2014-10-17 Doug Evans <dje@google.com>
548 * gdb.python/py-objfile.exp: Test progspace attribute.
550 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
552 * gdb.guile/scm-breakpoint.exp: Do not assume any
553 directory separators when matching source file paths.
554 * gdb.python/py-breakpoint.exp: Likewise.
555 * gdb.reverse/break-precsave.exp: Likewise.
556 * gdb.reverse/break-reverse.exp: Likewise.
557 * gdb.reverse/consecutive-precsave.exp: Likewise.
558 * gdb.reverse/finish-precsave.exp: Likewise.
559 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
560 * gdb.reverse/finish-reverse.exp: Likewise.
561 * gdb.reverse/i386-precsave.exp: Likewise.
562 * gdb.reverse/i387-env-reverse.exp: Likewise.
563 * gdb.reverse/i387-stack-reverse.exp: Likewise.
564 * gdb.reverse/machinestate-precsave.exp: Likewise.
565 * gdb.reverse/machinestate.exp: Likewise.
566 * gdb.reverse/sigall-precsave.exp: Likewise.
567 * gdb.reverse/solib-precsave.exp: Likewise.
568 * gdb.reverse/step-precsave.exp: Likewise.
569 * gdb.reverse/until-precsave.exp: Likewise.
570 * gdb.reverse/watch-precsave.exp: Likewise.
571 * gdb.reverse/watch-reverse.exp: Likewise.
573 2014-10-17 Yao Qi <yao@codesourcery.com>
575 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
576 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
578 2014-10-17 Pedro Alves <palves@redhat.com>
581 * gdb.base/bg-execution-repeat.c: New file.
582 * gdb.base/bg-execution-repeat.exp: New file.
584 2014-10-17 Pedro Alves <palves@redhat.com>
587 * gdb.base/continue-all-already-running.c: New file.
588 * gdb.base/continue-all-already-running.exp: New file.
590 2014-10-17 Pedro Alves <palves@redhat.com>
593 * gdb.base/annota-input-while-running.c: New file.
594 * gdb.base/annota-input-while-running.exp: New file.
596 2014-10-17 Pedro Alves <palves@redhat.com>
598 * gdb.base/callfuncs.exp: emove references to osf.
599 * gdb.base/sigall.exp: Likewise.
600 * gdb.gdb/selftest.exp: Likewise.
601 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
602 * gdb.mi/non-stop.c: Likewise.
603 * gdb.mi/pthreads.c: Likewise.
604 * gdb.reverse/sigall-precsave.exp: Likewise.
605 * gdb.reverse/sigall-reverse.exp: Likewise.
606 * gdb.threads/pthreads.c: Likewise.
607 * gdb.threads/pthreads.exp: Likewise.
609 2014-10-17 Yao Qi <yao@codesourcery.com>
611 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
612 check 'target_info exists noargs'.
613 (test_command_prompt_position): Likewise.
614 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
616 (progvar_simple_while_test): Likewise.
617 (progvar_complex_if_while_test): Likewise.
618 (if_while_breakpoint_command_test): Likewise.
619 (infrun_breakpoint_command_test): Likewise.
620 (breakpoint_command_test): Likewise.
621 (watchpoint_command_test): Likewise.
622 (bp_deleted_in_command_test): Likewise.
623 (temporary_breakpoint_commands): Likewise.
625 2014-10-16 Yao Qi <yao@codesourcery.com>
627 * gdb.base/remotetimeout.exp: Remove noargs checking.
629 2014-10-15 Pedro Alves <palves@redhat.com>
632 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
633 * gdb.base/breakpoint-in-ro-region.exp
634 (probe_target_hardware_step): New procedure.
635 (top level): Probe hardware stepping and hardware breakpoint
636 support. Test stepping through a read-only region, with both
637 "breakpoint auto-hw" on and off and both "always-inserted" on and
640 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
642 * gdb.dlang/demangle.exp: Update for demangling changes.
644 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
646 * gdb.cp/non-trivial-retval.cc: Add new test cases.
647 * gdb.cp/non-trivial-retval.exp: Add new tests.
649 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
653 * gdb.cp/non-trivial-retval.cc: New file.
654 * gdb.cp/non-trivial-retval.exp: New file.
656 2014-10-15 Yao Qi <yao@codesourcery.com>
658 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
661 2014-10-15 Yao Qi <yao@codesourcery.com>
663 * gdb.python/py-symbol.exp: Match file base name if host is
664 remote, otherwise match file name with dir name.
665 * gdb.python/py-symtab.exp: Likewise.
666 * gdb.python/python.exp: Likewise.
668 2014-10-15 Yao Qi <yao@codesourcery.com>
670 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
672 * gdb.python/py-symtab.exp: Likewise.
673 * gdb.python/python.exp: Remove trailing ".*". Fix typo
676 2014-10-14 Joel Brobecker <brobecker@adacore.com>
678 * gdb.ada/addr_arith: New testcase.
680 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
682 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
683 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
684 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
685 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
687 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
689 * gdb.arch/stap-eval-lang-ada.S: Likewise.
690 * gdb.arch/stap-eval-lang-ada.c: Likewise.
691 * gdb.arch/stap-eval-lang-ada.exp: New file.
693 2014-10-14 Yao Qi <yao@codesourcery.com>
695 * gdb.mi/mi-var-child.c (nothing1): New function.
696 (nothing2): New function.
697 (do_children_tests): Set function pointers by nothing1 and
699 * gdb.mi/mi-var-child.exp: Step over new added statements.
700 Update test to match the new output.
701 * gdb.mi/var-cmd.c (nothing1): New function.
702 (nothing2): New function.
703 (do_children_tests): Set function pointers by nothing1 and
705 * gdb.mi/mi-var-display.exp: Update test to match output.
706 Step to the line specified by $line_dct_nothing.
707 Increase the number of lines to step.
709 2014-10-14 Yao Qi <yao@codesourcery.com>
711 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
713 * gdb.mi/mi2-var-child.exp: Likewise.
715 2014-10-13 Doug Evans <dje@google.com>
717 * gdb.python/py-objfile.exp: Change name of file name test.
719 2014-10-13 Doug Evans <dje@google.com>
721 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
722 from the start of the CU.
724 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
725 Yao Qi <yao@codesourcery.com>
727 Fix "save breakpoints" for "catch" command.
728 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
729 Remove -nonewline. Match also the added "main" line.
731 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
733 Fix "save breakpoints" for "disable $bpnum" command.
734 * gdb.base/save-bp.c (main): Add label.
735 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
737 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
739 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
741 2014-10-11 Yao Qi <yao@codesourcery.com>
743 * gdb.server/server-kill.exp: Execute command
744 "set remote trace-status-packet on" before "tstatus".
746 2014-10-11 Yao Qi <yao@codesourcery.com>
748 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
749 (main): Call getppid.
750 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
751 and continue to it. Read variable "server_pid".
753 2014-10-11 Yao Qi <yao@codesourcery.com>
755 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
757 2014-10-11 Yao Qi <yao@codesourcery.com>
759 * gdb.threads/thread-find.exp: Don't execute command
761 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
762 * gdb.threads/linux-dp.exp: Don't check the condition
763 $threads_created equals to zero.
765 2014-10-10 Pedro Alves <palves@redhat.com>
767 * gdb.base/bigcore.exp: Remove references to IRIX.
768 * gdb.base/funcargs.exp: Likewise.
769 * gdb.base/interrupt.exp: Likewise.
770 * gdb.base/mips_pro.exp: Likewise.
771 * gdb.base/nodebug.exp: Likewise.
772 * gdb.base/setvar.exp: Likewise.
773 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
775 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
776 Pedro Alves <palves@redhat.com>
779 * gdb.base/vdso-warning.c: New file.
780 * gdb.base/vdso-warning.exp: New file.
782 2014-10-02 Doug Evans <dje@google.com>
784 * gdb.base/structs.c (main): Don't run forever.
786 2014-10-02 Pedro Alves <palves@redhat.com>
788 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
789 (top level) <stop threads 1, stop threads 2>: Use it.
791 2014-10-02 Pedro Alves <palves@redhat.com>
793 * gdb.threads/break-while-running.exp (test): Add new
794 'update_thread_list' argument. Skip "info threads" if false.
795 (top level): Add new 'update_thread_list' axis.
797 2014-10-02 Pedro Alves <palves@redhat.com>
800 * gdb.base/execl-update-breakpoints.c: New file.
801 * gdb.base/execl-update-breakpoints.exp: New file.
803 2014-10-01 Pedro Alves <palves@redhat.com>
805 * gdb.base/breakpoint-in-ro-region.c: New file.
806 * gdb.base/breakpoint-in-ro-region.exp: New file.
808 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
810 * gdb.mi/mi-exit-code.exp: New file.
811 * gdb.mi/mi-exit-code.c: New file.
813 2014-09-30 Yao Qi <yao@codesourcery.com>
815 * lib/prelink-support.exp (build_executable_own_libs): Error if
816 the target isn't native.
818 2014-09-30 Yao Qi <yao@codesourcery.com>
820 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
823 2014-09-22 Pedro Alves <palves@redhat.com>
825 * gdb.threads/break-while-running.exp: New file.
826 * gdb.threads/break-while-running.c: New file.
828 2014-09-19 Yao Qi <yao@codesourcery.com>
830 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
831 Invoke test. Restart GDB with --readnow and invoke test again.
833 2014-09-19 Yao Qi <yao@codesourcery.com>
835 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
836 proc set_breakpoint_on_gcd_function. Invoke
837 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
838 invoke set_breakpoint_on_gcd_function again.
840 2014-09-18 Doug Evans <dje@google.com>
842 * gdb.dwarf2/symtab-producer.exp: New file.
844 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
846 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
847 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
848 * gdb.base/global-var-nested-by-dso.c: Likewise.
849 * gdb.base/global-var-nested-by-dso.exp: Likewise.
851 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
852 Pedro Alves <palves@redhat.com>
854 * gdb.base/watch-bitfields.exp: Pass string other than test file
855 name to prepare_for_testing.
856 (watch): New procedure.
857 (expect_watchpoint): Use with_test_prefix.
858 (top level): Factor out tests to ...
859 (test_watch_location, test_regular_watch): ... these new
860 procedures, and use with_test_prefix and gdb_continue_to_end.
862 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
865 * gdb.base/watch-bitfields.exp: New file.
866 * gdb.base/watch-bitfields.c: New file.
868 2014-09-16 Pedro Alves <palves@redhat.com>
870 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
871 software and hardware addresses, not software address against
874 2014-09-16 Pedro Alves <palves@redhat.com>
876 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
877 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
879 2014-09-16 Pedro Alves <palves@redhat.com>
881 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
883 * gdb.base/a2-run.exp: Remove all code guarded by istarget
884 "*-*-vxworks*" throughout.
885 * gdb.base/break.exp: Likewise.
886 * gdb.base/default.exp: Likewise.
887 * gdb.base/scope.exp: Likewise.
888 * gdb.base/sepdebug.exp: Likewise.
889 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
891 * gdb.base/run.c: Likewise.
892 * gdb.base/sepdebug.c: Likewise.
893 * gdb.hp/gdb.aCC/run.c: Likewise.
894 * gdb.reverse/until-reverse.c: Likewise.
895 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
897 2014-09-16 Yao Qi <yao@codesourcery.com>
899 * boards/local-remote-host-native.exp: New file.
901 2014-09-14 Doug Evans <xdje42@gmail.com>
903 * gdb.threads/queue-signal.c (thread_count): New variable.
904 (thread_count_mutex, thread_count_condvar): New variables.
905 (incr_thread_count, wait_all_threads_running): New functions.
906 (main): Wait for all threads to be in their thread functions.
908 2014-09-13 Doug Evans <xdje42@gmail.com>
910 * gdb.threads/queue-signal.c: New file.
911 * gdb.threads/queue-signal.exp: New file.
913 2014-09-13 Doug Evans <xdje42@gmail.com>
915 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
916 be consistent with what default_gdb_init uses.
917 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
918 the plain text of the prompt. Add some logging printfs.
919 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
921 2014-09-12 Pedro Alves <palves@redhat.com>
923 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
924 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
925 * gdb.arch/i386-size-overlap.exp: Likewise.
926 * gdb.arch/i386-size.exp: Likewise.
927 * gdb.arch/i386-unwind.exp: Likewise.
928 * gdb.base/a2-run.exp: Likewise.
929 * gdb.base/break.exp: Likewise.
930 * gdb.base/charset.exp: Likewise.
931 * gdb.base/chng-syms.exp: Likewise.
932 * gdb.base/commands.exp: Likewise.
933 * gdb.base/dbx.exp: Likewise.
934 * gdb.base/find.exp: Likewise.
935 * gdb.base/funcargs.exp: Likewise.
936 * gdb.base/jit-simple.exp: Likewise.
937 * gdb.base/reread.exp: Likewise.
938 * gdb.base/sepdebug.exp: Likewise.
939 * gdb.base/step-bt.exp: Likewise.
940 * gdb.cp/mb-inline.exp: Likewise.
941 * gdb.cp/mb-templates.exp: Likewise.
942 * gdb.objc/basicclass.exp: Likewise.
943 * gdb.threads/killed.exp: Likewise.
945 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
948 * gdb.arch/powerpc-stackless.S: New file.
949 * gdb.arch/powerpc-stackless.exp: New file.
951 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
953 * gdb.base/attach.c: Include unistd.h.
954 (main): Call alarm. Add label postloop.
955 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
956 gdb_breakpoint, gdb_continue_to_breakpoint.
957 (test_command_line_attach_run): Kill ${testpid} in one exit path.
959 2014-09-11 Pedro Alves <palves@redhat.com>
962 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
963 * gdb.base/attach.exp (test_command_line_attach_run): New
965 (top level): Call it.
967 2014-09-11 Pedro Alves <palves@redhat.com>
969 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
970 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
971 (do_command_attach_tests): Use spawn_wait_for_attach.
972 * gdb.base/solib-overlap.exp: Likewise.
973 * gdb.multi/multi-attach.exp: Likewise.
974 * gdb.python/py-prompt.exp: Likewise.
975 * gdb.python/py-sync-interp.exp: Likewise.
976 * gdb.server/ext-attach.exp: Likewise.
978 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
980 * gdb.fortran/array-element.exp: Remove unexpected "continue"
981 command in testcase. Simplify testcase.
983 2014-09-10 Joel Brobecker <brobecker@adacore.com>
985 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
987 2014-09-10 Joel Brobecker <brobecker@adacore.com>
989 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
991 2014-09-10 Joel Brobecker <brobecker@adacore.com>
993 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
995 2014-09-10 Joel Brobecker <brobecker@adacore.com>
997 * gdb.dwarf2/dynarr-ptr.c: New file.
998 * gdb.dwarf2/dynarr-ptr.exp: New file.
1000 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1002 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
1003 of 30 rather than hardcoding 120 for a slow test case. Take the
1004 `gdb,timeout' target setting into account for this calculation.
1005 Don't extend the timeout for the test cases that don't need it.
1007 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1009 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
1010 a factor of 2 for a slow test case. Take the `gdb,timeout'
1011 target setting into account for this calculation.
1012 * gdb.reverse/until-precsave.exp: Increase the timeout by
1013 a factor of 15 and 3 respectively rather than adding 120
1014 for a pair of slow test cases. Take the `gdb,timeout'
1015 target setting into account for this calculation.
1017 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1019 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
1020 timeout, don't pass one down to gdb_expect.
1021 (gdb_expect): Rework timeout selection.
1023 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1025 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
1026 exception on timeout.
1027 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
1028 (gdbserver_start_extended): Catch any `gdbserver_start' error
1030 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
1031 * lib/mi-support.exp (mi_gdb_target_load): Catch any
1032 `gdbserver_gdb_load' error exceptions.
1034 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1036 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
1037 120 on waiting for the TCP socket to open.
1039 2014-09-09 Doug Evans <xdje42@gmail.com>
1041 * gdb.base/default.exp (show_conv_list): Add _caller_is,
1042 _caller_matches, _any_caller_is, _any_caller_matches.
1044 2014-09-09 Doug Evans <xdje42@gmail.com>
1046 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
1048 2014-09-09 Yao Qi <yao@codesourcery.com>
1050 * gdb.mi/mi-var-display.exp: Set print symbol off.
1052 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
1055 * gdb.base/commands.exp: Add tests to verify user-defined
1056 commands with empty bodies.
1057 * gdb.python/py-cmd.exp: Test that we don't show user-defined
1058 python commands in `show user command`.
1059 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
1060 scheme commands in `show user command`.
1062 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1065 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
1066 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
1067 * gdb.python/py-framefilter-invalidarg.exp: New file.
1068 * gdb.python/py-framefilter-invalidarg.py: New file.
1070 2014-09-06 Doug Evans <xdje42@gmail.com>
1073 * gdb.python/py-caller-is.c: New file.
1074 * gdb.python/py-caller-is.exp: New file.
1076 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
1079 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
1080 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
1082 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
1085 * gdb.fortran/print-formatted.exp: New file.
1086 * gdb.fortran/print-formatted.f90: Likewise.
1088 2014-09-03 Sasha Smundak <asmundak@google.com>
1090 * gdb.python/py-frame.exp: Test Frame.read_register.
1092 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
1095 * gdb.python/py-completion.exp: New file.
1096 * gdb.python/py-completion.py: Likewise.
1098 2014-08-28 Doug Evans <dje@google.com>
1100 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
1101 eax,etc. are live with values set by gdb and thus the compiler can't
1103 * gdb.arch/i386-pseudo.c (main): Ditto.
1105 2014-08-27 Doug Evans <dje@google.com>
1107 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
1109 2014-08-25 Doug Evans <dje@google.com>
1111 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
1114 2014-08-25 Doug Evans <dje@google.com>
1116 * gdb.threads/thread-execl.exp: #include <stdio.h>.
1118 2014-08-24 Yao Qi <yao@codesourcery.com>
1120 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
1122 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
1124 2014-08-22 Doug Evans <dje@google.com>
1127 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
1128 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
1129 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
1131 2014-08-22 Yao Qi <yao@codesourcery.com>
1133 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
1134 * gdb.python/py-finish-breakpoint2.exp: Likewise.
1135 * gdb.python/python.exp: Likewise. Use .py file on the host
1136 instead of the build.
1138 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1140 * gdb.threads/gcore-stale-thread.c: New file.
1141 * gdb.threads/gcore-stale-thread.exp: New file.
1143 2014-08-21 Pedro Alves <palves@redhat.com>
1145 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
1146 * gdb.base/gcore-relro-pie.exp: Likewise.
1147 * gdb.base/gcore-relro.exp: Likewise.
1148 * gdb.base/gcore.exp: Likewise.
1149 * gdb.base/print-symbol-loading.exp: Likewise.
1150 * gdb.threads/gcore-thread.exp: Likewise.
1151 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
1153 2014-08-20 Pedro Alves <palves@redhat.com>
1154 Jan Kratochvil <jan.kratochvil@redhat.com>
1156 * Makefile.in (EXTRA_RULES, CC): New variables, get from
1158 (EXPECT): Handle READ1 being set.
1159 (all): Depend on EXTRA_RULES.
1160 (check-read1, expect-read1, read1.so, read1): New rules.
1161 * README (Testsuite Parameters): Document the READ1 make variable.
1162 (Race detection): New section.
1163 * configure: Regenerate.
1164 * configure.ac: If build==host==target, and running under a
1165 GNU/glibc system, add read1 to the extra Makefile rules.
1166 (EXTRA_RULES): AC_SUBST it.
1167 * lib/read1.c: New file.
1169 2014-08-20 Joel Brobecker <brobecker@adacore.com>
1171 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
1172 the handling of variables declared as a typedef to an array
1173 which a DW_AT_data_location attribute.
1175 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
1176 Pedro Alves <palves@redhat.com>
1180 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
1183 2014-08-19 Pedro Alves <palves@redhat.com>
1185 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
1187 2014-08-19 Yao Qi <yao@codesourcery.com>
1189 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
1192 2014-08-18 David Blaikie <dblaikie@gmail.com>
1194 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
1196 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1198 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
1199 attribute in array range.
1201 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1203 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
1205 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1208 * gdb.cp/pr17132.cc: New file.
1209 * gdb.cp/pr17132.exp: New file.
1211 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1213 * gdb.python/py-xmethods.py (A_getarrayind)
1214 (E_method_char_worker.__call__, E_method_int_worker.__call__):
1215 Use 'print' with function call syntax.
1216 (E_method_matcher.match): Fix tab vs space indentation mixup.
1218 2014-08-15 Yao Qi <yao@codesourcery.com>
1220 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
1223 2014-08-15 Yao Qi <yao@codesourcery.com>
1225 * gdb.cp/casts.exp: Set print symbol off.
1226 * gdb.cp/class2.exp: Likewise.
1227 * gdb.cp/overload.exp: Likewise.
1228 * gdb.cp/templates.exp: Likewise.
1230 2014-08-11 Doug Evans <dje@google.com>
1232 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1233 (test_load_shlib): Update.
1235 2014-08-09 Yao Qi <yao@codesourcery.com>
1237 * gdb.base/display.exp: Invoke is_address_zero_readable.
1238 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
1239 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1240 * gdb.base/hbreak-unmapped.exp: Return if
1241 is_address_zero_readable returns true.
1242 * gdb.base/signest.exp: Likewise.
1243 * gdb.base/signull.exp: Likewise.
1244 * gdb.base/sigbpt.exp: Likewise.
1245 * gdb.guile/scm-disasm.exp: Do the test if
1246 is_address_zero_readable returns false.
1247 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
1248 * gdb.python/py-arch.exp: Likewise.
1249 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
1250 * lib/gdb.exp (is_address_zero_readable): New proc.
1252 2014-08-09 Yao Qi <yao@codesourcery.com>
1255 * gdb.mi/mi-var-display.exp: Make test messages unique.
1257 2014-08-04 Tom Tromey <tromey@redhat.com>
1259 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
1262 2014-08-04 Tom Tromey <tromey@redhat.com>
1264 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
1267 2014-08-01 Joel Brobecker <brobecker@adacore.com>
1269 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
1270 inner_vla_struct_object_size.
1271 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
1274 2014-07-30 Pedro Alves <palves@redhat.com>
1276 * gdb.threads/signal-command-handle-nopass.exp (test): Add
1279 2014-07-29 Yao Qi <yao@codesourcery.com>
1282 * gdb.base/until-nodebug.exp: New.
1284 2014-07-28 Doug Evans <xdje42@gmail.com>
1287 * gdb.guile/scm-parameter.exp: Add tests for trying to create
1288 previously existing parameter, and previously ambiguously spelled
1291 2014-07-28 Will Newton <will.newton@linaro.org>
1293 * gdb.base/varargs.exp: Remove KFAILs for ARM.
1295 2014-07-26 Ludovic Courtès <ludo@gnu.org>
1296 Doug Evans <xdje42@gmail.com>
1299 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
1301 2014-07-25 Pedro Alves <palves@redhat.com>
1303 * gdb.threads/signal-command-handle-nopass.c: New file.
1304 * gdb.threads/signal-command-handle-nopass.exp: New file.
1305 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
1306 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
1307 * gdb.threads/signal-delivered-right-thread.c: New file.
1308 * gdb.threads/signal-delivered-right-thread.exp: New file.
1310 2014-07-25 Pedro Alves <palves@redhat.com>
1312 * gdb.base/double-prompt-target-event-error.exp
1313 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
1315 (cancel_pagination_in_target_event): Rework double prompt
1317 * gdb.base/paginate-after-ctrl-c-running.exp
1318 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
1320 * gdb.base/paginate-bg-execution.exp
1321 (test_bg_execution_pagination_return)
1322 (test_bg_execution_pagination_cancel): Remove '-notransfer
1324 * gdb.base/paginate-execution-startup.exp
1325 (test_fg_execution_pagination_return)
1326 (test_fg_execution_pagination_cancel): Remove '-notransfer
1328 * gdb.base/paginate-inferior-exit.exp
1329 (test_paginate_inferior_exited): Remove '-notransfer <return>'
1331 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
1332 * lib/gdb.exp (pagination_prompt): Run text through
1334 (gdb_test_multiple): Match $pagination_prompt instead of
1336 (string_to_regexp): Move to lib/gdb-utils.exp.
1338 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1340 * gdb.arch/amd64-entry-value-paramref.S: New file.
1341 * gdb.arch/amd64-entry-value-paramref.cc: New file.
1342 * gdb.arch/amd64-entry-value-paramref.exp: New file.
1343 * gdb.arch/amd64-optimout-repeat.S: New file.
1344 * gdb.arch/amd64-optimout-repeat.c: New file.
1345 * gdb.arch/amd64-optimout-repeat.exp: New file.
1347 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1350 * gdb.base/statistics.exp: New file.
1352 2014-07-17 Doug Evans <dje@google.com>
1355 * gdb.base/maint.exp: Update testing of per-command stats.
1357 2014-07-16 Pedro Alves <palves@redhat.com>
1359 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
1360 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
1361 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
1362 (tfile_write_buf): New functions.
1363 (add_memory_block): Rewrite using the above.
1364 (adjust_function_address): New function.
1365 (FUNCTION_ADDRESS): New macro.
1366 (write_basic_trace_file): Remove short_x local, and use
1367 tfile_write_16. Change type of func_addr local to unsigned long
1368 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
1369 here. Cast argument of add_memory_block to char pointer.
1370 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
1371 (main): Remove parameters.
1372 * gdb.trace/tfile.exp: Remove nowarnings.
1374 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1376 * gdb.base/debug-expr.exp: Test string evaluation with
1377 "debug expression" on.
1379 2014-07-15 Pedro Alves <palves@redhat.com>
1381 * gdb.base/reread.exp: Use clean_restart.
1383 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1385 * gdb.arch/avr-flash-qualifer.c: New.
1386 * gdb.arch/avr-flash-qualifer.exp: New.
1388 2014-07-14 Pedro Alves <palves@redhat.com>
1390 * gdb.base/paginate-after-ctrl-c-running.c: New file.
1391 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1393 2014-07-14 Pedro Alves <palves@redhat.com>
1395 * gdb.base/double-prompt-target-event-error.c: New file.
1396 * gdb.base/double-prompt-target-event-error.exp: New file.
1398 2014-07-14 Pedro Alves <palves@redhat.com>
1401 * gdb.base/paginate-inferior-exit.c: New file.
1402 * gdb.base/paginate-inferior-exit.exp: New file.
1404 2014-07-14 Pedro Alves <palves@redhat.com>
1407 * gdb.base/paginate-bg-execution.c: New file.
1408 * gdb.base/paginate-bg-execution.exp: New file.
1410 2014-07-14 Pedro Alves <palves@redhat.com>
1413 * gdb.base/paginate-execution-startup.c: New file.
1414 * gdb.base/paginate-execution-startup.exp: New file.
1415 * lib/gdb.exp (pagination_prompt): New global.
1416 (default_gdb_spawn): New procedure, factored out from
1418 (default_gdb_start): Adjust to call default_gdb_spawn.
1419 (gdb_spawn): New procedure.
1421 2014-07-14 Pedro Alves <palves@redhat.com>
1423 * lib/gdb.exp (gdb_assert): New procedure.
1424 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
1426 2014-07-14 Pedro Alves <palves@redhat.com>
1428 * gdb.base/execution-termios.c: New file.
1429 * gdb.base/execution-termios.exp: New file.
1431 2014-07-14 Tom Tromey <tromey@redhat.com>
1433 * gdb.cp/vla-cxx.cc: New file.
1434 * gdb.cp/vla-cxx.exp: New file.
1436 2014-07-14 Tom Tromey <tromey@redhat.com>
1438 * gdb.reverse/rerun-prec.c: New file.
1439 * gdb.reverse/rerun-prec.exp: New file.
1441 2014-07-12 Maciej W. Rozycki <macro@mips.com>
1442 Maciej W. Rozycki <macro@codesourcery.com>
1444 * lib/gdb-utils.exp: New file.
1445 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
1446 inline `gdb_init_command' processing.
1447 (gdb_start_cmd): Likewise.
1448 * lib/mi-support.exp (mi_run_cmd): Likewise.
1449 * README: Document `gdb_init_command' and `gdb_init_commands'.
1451 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1453 Fix false FAIL running under a very long directory name.
1454 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1455 and "set print elements 10000". Twice.
1457 2014-07-11 Yao Qi <yao@codesourcery.com>
1459 * gdb.base/exprs.exp: "set print symbol off".
1461 2014-07-11 Pedro Alves <palves@redhat.com>
1463 * gdb.threads/kill.c: New file.
1464 * gdb.threads/kill.exp: New file.
1466 2014-07-10 Yao Qi <yao@codesourcery.com>
1468 * gdb.trace/tfile.c (write_basic_trace_file)
1469 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1470 address written to trace file.
1472 2014-07-09 Pedro Alves <palves@redhat.com>
1474 * gdb.base/attach-wait-input.exp: New file.
1475 * gdb.base/attach-wait-input.c: New file.
1477 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1479 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1480 setting up test structures.
1481 (main): Call new test function.
1482 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1483 test function, continue into test function and walk test
1486 2014-07-02 Yao Qi <yao@codesourcery.com>
1488 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1489 'bar_start' at the beginning of functions 'foo' and 'bar'
1491 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1492 instead of 'foo' and 'bar'.
1494 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1496 * gdb.btrace/segv.exp: New.
1497 * gdb.btrace/segv.c: New.
1499 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
1501 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1504 2014-06-30 Mark Wielaard <mjw@redhat.com>
1506 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1507 vulture, vilify, villar): New volatile array constants.
1508 (vindictive, vegetation): New const volatile array constants.
1509 * gdb.base/volatile.exp: Test volatile and const volatile array
1512 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1514 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1515 target lacks support for awatch, rwatch, or hbreak.
1517 2014-06-27 Yao Qi <yao@codesourcery.com>
1519 * gdb.multi/dummy-frame-restore.exp: New.
1520 * gdb.multi/dummy-frame-restore.c: New.
1522 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1524 * gdb.btrace/gcore.exp: New.
1526 2014-06-23 Pedro Alves <palves@redhat.com>
1528 * gdb.base/watchpoint-reuse-slot.c: New file.
1529 * gdb.base/watchpoint-reuse-slot.exp: New file.
1531 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1533 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1534 progspace's filename in 'info', 'enable' and 'disable' command
1537 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1539 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1540 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1541 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1543 2014-06-20 Gary Benson <gbenson@redhat.com>
1545 * gdb.arch/i386-avx.exp: Fix include file location.
1546 * gdb.arch/i386-sse.exp: Likewise.
1548 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1550 * gdb.dlang/expression.exp: New file.
1552 2014-06-19 Pedro Alves <palves@redhat.com>
1554 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1556 (top level): ... here. Iterate running tests under different
1557 scheduler-locking settings.
1559 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
1561 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1562 to DW_FORM_addr and use non-zero addresses.
1564 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1567 * gdb.python/py-xmethods.cc: Add global function call counters and
1568 increment them in their respective functions. Remove "cout"
1570 * gdb.python/py-xmethods.exp: Make tests check the global function
1571 call counters instead of depending on inferior IO.
1573 2014-06-18 Don Breazeal <donb@codesourcery.com>
1575 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1577 (explicit_fork_parent_follow): Deleted procedure.
1578 (explicit_fork_child_follow): Deleted procedure.
1579 (test_follow_fork): New procedure.
1580 (do_fork_tests): Replace calls to deleted procedures with
1581 calls to test_follow_fork and reset GDB for subsequent
1584 2014-06-17 Yao Qi <yao@codesourcery.com>
1586 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1589 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
1591 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1592 Initialize ptr and S explicitly.
1593 (skip_type_update_when_not_use_rtti_test): Likewise.
1595 2014-06-16 Keith Seitz <keiths@redhat.com>
1598 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1599 the inferior is started.
1601 2014-06-16 Pedro Alves <palves@redhat.com>
1603 * gdb.base/break-main-file-remove-fail.c: New file.
1604 * gdb.base/break-main-file-remove-fail.exp: New file.
1605 * gdb.base/break-unload-file.exp: Use build_executable instead of
1606 prepare_for_testing.
1607 (test_break): New parameter "initial_load". Handle it.
1608 (top level): Add initial_load cmdline/file axis.
1610 2014-06-12 Tom Tromey <tromey@redhat.com>
1612 * gdb.base/completion.exp: Don't use directory name in test.
1614 2014-06-09 Gary Benson <gbenson@redhat.com>
1616 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1617 separate the always-available ANSI-standard signals from the
1618 signals that require checking.
1620 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1624 2014-06-07 Keith Seitz <keiths@redhat.com>
1628 * gdb.cp/var-tag.cc: New file.
1629 * gdb.cp/var-tag.exp: New file.
1630 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1631 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1632 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1633 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1635 2014-06-06 Doug Evans <xdje42@gmail.com>
1637 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1639 2014-06-06 Pedro Alves <palves@redhat.com>
1641 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1642 in target debug output instead of looking at RSP packets,
1643 disabling the test on any target that uses hardware stepping.
1646 2014-06-06 Pedro Alves <palves@redhat.com>
1648 * gdb.base/break-unload-file.exp: Fix typo.
1650 2014-06-06 Yao Qi <yao@codesourcery.com>
1652 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1653 from "jit_function" to "^jit_function".
1655 2014-06-06 Yao Qi <yao@codesourcery.com>
1657 * gdb.base/async.c (foo): Add one statement.
1658 * gdb.base/async.exp: Get the next instruction address and
1659 match the output of "nexti" by instruction address. Match
1660 the hex address in the output of "finish".
1662 2014-06-06 Gary Benson <gbenson@redhat.com>
1664 * gdb.base/call-signals.c: Remove preprocessor conditionals
1665 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1666 SIGSEGV and SIGTERM.
1667 * gdb.base/sigall.c: Likewise.
1668 * gdb.base/unwindonsignal.c: Likewise.
1669 * gdb.reverse/sigall-reverse.c: Likewise.
1671 2014-06-06 Yao Qi <yao@codesourcery.com>
1673 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1674 readable, skip the test.
1676 2014-06-06 Yao Qi <yao@codesourcery.com>
1678 * gdb.threads/staticthreads.c (thread_function): Move the line
1679 setting breakpoint on forward.
1680 * gdb.threads/staticthreads.exp: Update comments.
1682 2014-06-05 Ludovic Courtès <ludo@gnu.org>
1684 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1685 "history-append! type error".
1687 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1689 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1690 erroneous dprintf expected input.
1692 2014-06-04 Doug Evans <xdje42@gmail.com>
1694 * gdb.guile/scm-generics.exp: Delete.
1696 2014-06-04 Doug Evans <xdje42@gmail.com>
1698 * gdb.guile/scm-breakpoint.exp: Update.
1699 Add tests for breakpoint registration.
1701 2014-06-04 Tom Tromey <tromey@redhat.com>
1703 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1705 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1706 inner_vla_struct, vla_union types. Initialize objects of those
1707 types and compute their sizes.
1709 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1710 Hui Zhu <hui@codesourcery.com>
1712 * gdb.base/fileio.exp: Add test for shell not available as well as
1714 * gdb.base/fileio.c (test_system): Check for shell twice.
1716 2014-06-04 Yao Qi <yao@codesourcery.com>
1718 * gdb.base/auto-connect-native-target.exp: Remove redundant
1719 space from the regexp pattern.
1721 2014-06-04 Yao Qi <yao@codesourcery.com>
1723 * gdb.base/default.exp: Replace "child" with "native" in
1726 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1728 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1729 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1730 * gdb.python/py-xmethods.py: Python script supporting the
1731 new testcase and tests.
1733 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1734 Pedro Alves <palves@redhat.com>
1736 PR breakpoints/17000
1737 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1738 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1740 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1742 * gdb.base/subst.exp: Add tests to verify partial path matching
1745 2014-06-03 Pedro Alves <palves@redhat.com>
1747 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1748 target that doesn't use software single-stepping.
1750 2014-06-03 Pedro Alves <palves@redhat.com>
1752 PR breakpoints/17000
1753 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1754 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1756 2014-06-02 Doug Evans <xdje42@gmail.com>
1758 * gdb.guile/scm-parameter.exp: New file.
1760 2014-06-02 Doug Evans <xdje42@gmail.com>
1762 * gdb.guile/scm-cmd.c: New file.
1763 * gdb.guile/scm-cmd.exp: New file.
1765 2014-06-02 Doug Evans <xdje42@gmail.com>
1767 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1768 pretty-printer lookup.
1769 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1770 (make-pp_s-printer): Call it.
1771 (make-pretty-printer-from-dict): New function.
1772 (lookup-pretty-printer-maker-from-dict): New function.
1773 (*pretty-printer*): Simplify.
1774 (make-objfile-pp_s-printer): New function.
1775 (install-objfile-pretty-printers!): New function.
1776 (make-progspace-pp_s-printer): New function.
1777 (install-progspace-pretty-printers!): New function.
1778 * gdb.guile/scm-progspace.c: New file.
1779 * gdb.guile/scm-progspace.exp: New file.
1781 2014-06-02 Pedro Alves <palves@redhat.com>
1783 * gdb.base/dprintf-bp-same-addr.c: New file.
1784 * gdb.base/dprintf-bp-same-addr.exp: New file.
1786 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1788 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1789 * gdb.arch/powerpc-power.s: Likewise.
1791 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1793 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1795 2014-06-01 Yao Qi <yao@codesourcery.com>
1797 * gdb.base/watchpoint.exp (test_watch_location): Check null
1798 pointer can be dereferenced. If not, do the test, otherwise
1801 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1803 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1805 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1807 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1809 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1810 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1811 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1812 * gdb.arch/amd64-invalid-stack-top.c: New file.
1813 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1815 2014-05-30 Pedro Alves <palves@redhat.com>
1817 PR breakpoints/17000
1818 * gdb.base/sss-bp-on-user-bp.c: New file.
1819 * gdb.base/sss-bp-on-user-bp.exp: New file.
1821 2014-05-30 David Blaikie <dblaikie@gmail.com>
1823 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1824 gnu_inline semantics via attribute.
1825 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1826 source explicitly specifies the required semantics.
1828 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1830 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1832 2014-05-29 Pedro Alves <palves@redhat.com>
1833 Tom Tromey <tromey@redhat.com>
1835 * gdb.base/async-shell.exp: Don't enable target-async.
1836 * gdb.base/async.exp
1837 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1839 (top level): Don't test with "target-async".
1840 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1841 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1842 * gdb.base/inferior-died.exp: Don't enable target-async.
1843 * gdb.base/interrupt-noterm.exp: Likewise.
1844 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1845 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1846 * gdb.mi/mi-nonstop.exp: Likewise.
1847 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1848 * gdb.mi/mi-nsintrall.exp: Likewise.
1849 * gdb.mi/mi-nsmoribund.exp: Likewise.
1850 * gdb.mi/mi-nsthrexec.exp: Likewise.
1851 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1852 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1853 * gdb.python/py-evsignal.exp: Don't enable target-async.
1854 * gdb.python/py-evthreads.exp: Likewise.
1855 * gdb.python/py-prompt.exp: Likewise.
1856 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1857 * gdb.server/solib-list.exp: Don't enable target-async.
1858 * gdb.threads/thread-specific-bp.exp: Likewise.
1859 * lib/mi-support.exp: Adjust to use mi-async.
1861 2014-05-29 Pedro Alves <palves@redhat.com>
1864 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1865 reason, even in sync mode.
1867 2014-05-29 Pedro Alves <palves@redhat.com>
1868 Hui Zhu <hui@codesourcery.com>
1871 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1872 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1873 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1874 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1876 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1878 * config/monitor.exp (gdb_target_monitor): Replace use of
1879 "set remotebaud" by "set serial baud".
1881 2014-05-26 Andy Wingo <wingo@igalia.com>
1883 * gdb.guile/scm-breakpoint.exp:
1884 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1885 properties instead of gdb-object-properties.
1887 2014-05-26 Yao Qi <yao@codesourcery.com>
1889 * gdb.server/no-thread-db.exp: Specify source file name
1890 explicitly when setting a breakpoint.
1892 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1894 * gdb.btrace/vdso.c: New.
1895 * gdb.btrace/vdso.exp: New.
1897 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1899 * gdb.base/gcore.exp (capture_command_output): Move ...
1900 * lib/gdb.exp (capture_command_output): ... here.
1902 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1904 * gdb.btrace/data.exp: Test memory access during btrace replay.
1906 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1908 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1910 2014-05-21 Pedro Alves <palves@redhat.com>
1913 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1914 (top level): Test that output related to execution commands is
1915 sent to the console with CLI commands, but not with MI commands.
1916 Test that breakpoint events are always mirrored to the console.
1917 Also expect the new source line to be output after a "next" in
1918 async mode too. Make it a pass/fail test.
1919 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1921 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1923 2014-05-21 Pedro Alves <palves@redhat.com>
1925 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1926 Use them to test variations of "list" after reaching a breakpoint.
1927 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1928 Test "list" with listsize 10 after reaching a breakpoint.
1929 * gdb.python/python.exp (decode_line current location line
1930 number): Adjust expected line number.
1932 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1934 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1935 behavior for $args, pass it directly to "run".
1937 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1939 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1942 2014-05-21 Pedro Alves <palves@redhat.com>
1944 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1945 auto-connect-native-target off".
1946 * gdb.base/auto-connect-native-target.c: New file.
1947 * gdb.base/auto-connect-native-target.exp: New file.
1949 2014-05-21 Pedro Alves <palves@redhat.com>
1951 * gdb.base/default.exp: Test "target native" instead of "target
1954 2014-05-21 Mark Wielaard <mjw@redhat.com>
1956 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1958 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1960 Fix TLS access for -static -pthread.
1961 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1962 <HAVE_TLS> (thread_function, main): Initialize it.
1963 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1965 <$have_tls != "">: Check TLSVAR.
1967 2014-05-21 Pedro Alves <palves@redhat.com>
1969 * gdb.base/dcache-line-read-error.c: New.
1970 * gdb.base/dcache-line-read-error.exp: New.
1972 2014-05-20 Pedro Alves <palves@redhat.com>
1974 * gdb.base/compare-sections.c: New file.
1975 * gdb.base/compare-sections.exp: New file.
1977 2014-05-20 Pedro Alves <palves@redhat.com>
1979 * gdb.base/break-idempotent.c: New file.
1980 * gdb.base/break-idempotent.exp: New file.
1982 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1984 * gdb.btrace/nohist.exp: New.
1986 2014-05-20 Yao Qi <yao@codesourcery.com>
1988 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1989 gdb.reverse directory and gdb_reverse_timeout exists in board
1991 * README: Document gdb_reverse_timeout.
1993 2014-05-20 Yao Qi <yao@codesourcery.com>
1995 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1996 'test_file_name'. Treat args as a string instead of a list.
1997 (gdb_init): Rename argument 'args' by 'test_file_name'.
1999 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2001 * gdb.arch/powerpc-power.exp: New file.
2002 * gdb.arch/powerpc-power.s: New file.
2004 2014-05-16 Doug Evans <dje@google.com>
2006 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
2007 * gdb.base/completion.exp: Check that all expected files exist
2008 before doing file completion.
2010 2014-05-16 Doug Evans <dje@google.com>
2012 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
2014 (do_syscall_tests_without_xml): Update.
2016 2014-05-16 Pedro Alves <palves@redhat.com>
2018 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
2019 instead of "unknown output after running".
2021 2014-05-16 Yao Qi <yao@codesourcery.com>
2023 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
2024 file1.txt from host at the end.
2025 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2027 2014-05-15 Doug Evans <dje@google.com>
2029 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
2030 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
2031 loading file. Add test for TU lookup.
2033 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2035 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
2036 calling "-exec-arguments" or "set args" before running the
2039 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2041 * lib/mi-support.exp (mi_expect_stop): Expect message for
2042 inferiors that exit with non-zero exit code.
2044 2014-05-14 Yao Qi <yao@codesourcery.com>
2046 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
2047 match absolute path on remote host.
2048 (test_file_list_exec_source_files): Remove "/" from the
2051 2014-05-14 Yao Qi <yao@codesourcery.com>
2053 * boards/local-remote-host-notty.exp (${board}_file): New
2056 2014-05-07 Kyle McMartin <kyle@redhat.com>
2058 Pushed by Joel Brobecker <brobecker@adacore.com>.
2059 * gdb.arch/aarch64-atomic-inst.c: New file.
2060 * gdb.arch/aarch64-atomic-inst.exp: New file.
2062 2014-05-07 Yao Qi <yao@codesourcery.com>
2064 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
2065 in current context" too.
2067 2014-05-05 Keith Seitz <keiths@redhat.com>
2069 * gdb.linespec/ls-dollar.exp: Add test for linespec
2070 file:convenience_variable.
2072 2014-05-05 Yao Qi <yao@codesourcery.com>
2074 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
2075 traceframes into tfile and ctf trace files. Read data from
2076 trace file and test collected data.
2077 (gdb_collect_locals_test): Likewise.
2078 (gdb_unavailable_registers_test): Likewise.
2079 (gdb_unavailable_floats): Likewise.
2080 (gdb_collect_globals_test): Likewise.
2081 (top-level): Append "ctf" to trace_file_targets if GDB
2084 2014-05-05 Yao Qi <yao@codesourcery.com>
2086 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
2088 (gdb_collect_args_test_1): ... it. New proc.
2089 (gdb_collect_locals_test): Move some code to ...
2090 (gdb_collect_locals_test_1): ... it. New proc.
2091 (gdb_unavailable_registers_test): Move some code to ...
2092 (gdb_unavailable_registers_test_1): ... it. New proc.
2093 (gdb_unavailable_floats): Move some code to ...
2094 (gdb_unavailable_floats_1): ... it. New proc.
2096 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2098 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
2099 probes to test for bitness recognition.
2100 * gdb.arch/amd64-stap-optional-prefix.exp
2101 (test_probe_value_without_reg): New procedure.
2102 Add code to test for different kinds of bitness.
2104 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2106 PR breakpoints/16889
2107 * gdb.arch/amd64-stap-optional-prefix.S: New file.
2108 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2110 2014-05-01 Pedro Alves <palves@redhat.com>
2112 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
2113 gdb_file_cmd if no file is specified.
2114 * boards/native-extended-gdbserver.exp (gdb_load): Use the
2115 last_loaded_file to set the remote exec-file.
2117 2014-05-01 Pedro Alves <palves@redhat.com>
2119 * boards/local-remote-host.exp: New file.
2121 2014-05-01 Pedro Alves <palves@redhat.com>
2123 * boards/local-remote-host.exp: Rename to ...
2124 * boards/local-remote-host-notty.exp: ... this.
2126 2014-04-28 Joel Brobecker <brobecker@adacore.com>
2128 * gdb.ada/dyn_arrayidx: New testcase.
2130 2014-04-26 Yao Qi <yao@codesourcery.com>
2132 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
2133 and compute the length of function main. Save it in
2135 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
2136 (top-level): Use gdb_compile to compile objects into
2137 executable and restart GDB. Remove invocation to
2138 prepare_for_testing.
2140 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
2141 Pedro Alves <palves@redhat.com>
2144 * gdb.multi/multi-attach.c: New file.
2145 * gdb.multi/multi-attach.exp: New file.
2147 2014-04-25 Pedro Alves <palves@redhat.com>
2149 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
2151 (top level): Test that "set remote conditional-breakpoints-packet
2152 off" works as intended.
2153 * gdb.base/dprintf.exp: Test that "set remote
2154 breakpoint-commands-packet off" works as intended.
2155 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
2157 (top level): Call it.
2158 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
2159 remote fast-tracepoints-packet off" works as intended.
2160 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
2161 * lib/gdb.exp (gdb_is_target_remote): ... here.
2163 2014-04-24 David Blaikie <dblaikie@gmail.com>
2165 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
2166 ensure clang would not discard them.
2167 * gdb.base/gdbvars.c: Ditto.
2168 * gdb.base/memattr.c: Ditto.
2169 * gdb.base/whatis.c: Ditto.
2170 * gdb.python/py-prettyprint.c: Ditto.
2171 * gdb.trace/actions.c: Ditto.
2172 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
2173 ensure clang would not discard it.
2175 2014-04-24 David Blaikie <dblaikie@gmail.com>
2177 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
2178 clang to emit the full definition of type required by the test
2179 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
2181 2014-04-24 David Blaikie <dblaikie@gmail.com>
2183 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
2184 coax Clang into emitting the definition of the type.
2185 * gdb.cp/pr10728-x.h (y): Ditto.
2186 * gdb.cp/pr10728-y.cc (y): Ditto.
2188 2014-04-24 David Blaikie <dblaikie@gmail.com>
2190 * gdb.base/label.exp: XFAIL label related tests under Clang.
2191 * gdb.cp/cplabel.exp: Ditto.
2192 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
2193 under Clang those using labels.
2195 2014-04-25 Yao Qi <yao@codesourcery.com>
2197 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
2199 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
2200 partial_label and double_label.
2202 2014-04-24 David Blaikie <dblaikie@gmail.com>
2204 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
2206 2014-04-24 David Blaikie <dblaikie@gmail.com>
2208 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
2209 of the function to work across GCC and Clang.
2210 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
2211 pointer types (const void ** const V void **).
2213 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
2214 Walfred Tedeschi <walfred.tedeschi@intel.com>
2216 * Makefile.in (EXECUTABLES): Added i386-avx512.
2217 * gdb.arch/i386-avx512.c: New file.
2218 * gdb.arch/i386-avx512.exp: Likewise.
2220 2014-04-23 Keith Seitz <keiths@redhat.com>
2222 * lib/mi-support.exp (mi_list_breakpoints): Delete.
2223 (mi_make_breakpoint_table): New procedure.
2224 (mi_create_breakpoint): Use mi_make_breakpoint
2225 and return the result.
2226 (mi_make_breakpoint): New procedure.
2227 (mi_build_kv_pairs): New procedure.
2229 * gdb.mi/mi-break.exp: Remove unused globals,
2230 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
2231 All callers updated.
2232 * gdb.mi/mi-dprintf.exp: Use variable to track command
2234 Update all callers of mi_create_breakpoint and use
2235 mi_make_breakpoint_table.
2236 Remove any unused global variables.
2237 * gdb.mi/mi-nonstop.exp: Likewise.
2238 * gdb.mi/mi-nsintrall.exp: Likewise.
2239 * gdb.mi/mi-nsmoribund.exp: Likewise.
2240 * gdb.mi/mi-nsthrexec.exp: Likewise.
2241 * gdb.mi/mi-reverse.exp: Likewise.
2242 * gdb.mi/mi-simplerun.exp: Likewise.
2243 * gdb.mi/mi-stepn.exp: Likewise.
2244 * gdb.mi/mi-syn-frame.exp: Likewise.
2245 * gdb.mi/mi-until.exp: Likewise.
2246 * gdb.mi/mi-var-cp.exp: Likewise.
2247 * gdb.mi/mi-var-display.exp: Likewise.
2248 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2249 * gdb.mi/mi2-var-child.exp: Likewise.
2250 * gdb.mi/mi-vla-c99.exp: Likewise.
2251 * lib/mi-support.exp: Likewise.
2253 From Ian Lance Taylor <iant@cygnus.com>:
2254 * lib/gdb.exp (parse_args): New procedure.
2256 2014-04-23 Pedro Alves <palves@redhat.com>
2258 * gdb.base/break-unload-file.c: New file.
2259 * gdb.base/break-unload-file.exp: New file.
2260 * gdb.base/sym-file-lib.c (baz): New function.
2261 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
2263 (load): Store the segment's mapped size.
2264 (unload): New function.
2265 (unload_shlib): New function.
2266 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
2267 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
2268 set a breakpoint at baz, and call it.
2269 * gdb.base/sym-file.exp: New tests for stale breakpoint
2272 2014-04-23 Pedro Alves <palves@redhat.com>
2274 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
2275 * gdb.base/hbreak-in-shr-unsupported.c: New file.
2276 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
2277 * gdb.base/hbreak-unmapped.c: New file.
2278 * gdb.base/hbreak-unmapped.exp: New file.
2279 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
2280 * lib/gdb.exp (gdb_is_target_remote): ... here.
2282 2014-04-22 Pedro Alves <palves@redhat.com>
2284 * gdb.base/consecutive-step-over.c: New file.
2285 * gdb.base/consecutive-step-over.exp: New file.
2287 2014-04-22 Pedro Alves <palves@redhat.com>
2289 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
2290 instead of send_gdb/gdb_expect.
2292 2014-04-22 Yao Qi <yao@codesourcery.com>
2294 * lib/trace-support.exp (generate_tracefile): New procedure.
2295 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
2297 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
2298 if generate_tracefile returns 1.
2300 2014-04-18 Tom Tromey <palves@redhat.com>
2301 Pedro alves <tromey@redhat.com>
2304 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
2305 with a backtrace limit.
2306 * gdb.python/py-frame-inline.exp: Test running to an inline
2307 function with a backtrace limit, and printing the newest frame.
2308 * gdb.python/py-frame-inline.c (main): Call f.
2310 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2312 * gdb.java/jnpe.exp: Drop srcdir from untested path.
2314 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2316 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
2317 Drop prefix from unsupported source file path.
2319 2014-04-17 Yao Qi <yao@codesourcery.com>
2321 * lib/gdb.exp (with_target_charset): New proc.
2322 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
2323 with_target_charset.
2324 (test_print_strings): Likewise.
2325 (test_repeat_bytes): Likewise.
2326 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
2329 2014-04-16 Keith Seitz <keiths@redhat.com>
2332 * gdb.dwarf2/corrupt.c: New file.
2333 * gdb.dwarf2/corrupt.exp: New file.
2335 2014-04-16 Keith Seitz <keiths@redhat.com>
2338 * gdb.cp/namelessclass.cc: New file.
2339 * gdb.cp/namelessclass.exp: New file.
2340 * gdb.cp/namelessclass.S: New file.
2342 2014-04-16 Doug Evans <dje@google.com>
2344 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
2346 (gdbserver_default_get_comm_port): New function.
2347 (gdbserver_start): Check if board file provided
2348 "gdbserver,get_comm_port" and use it if so.
2349 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
2350 (gdb,socketport): Set to "stdio".
2351 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
2352 (stdio_gdbserver_template): Delete.
2353 (${board}_get_remote_address): Update.
2354 (${board}_build_remote_cmd): Delete.
2355 (${board}_get_comm_port): New function.
2356 (${board}_spawn): Update.
2357 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
2359 (${board}_get_remote_address): Update.
2360 (${board}_get_comm_port): New function.
2362 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
2364 * gdb.base/memattr.exp: Improve regexps to handle memory regions
2365 appearing in any order.
2367 2014-04-15 Doug Evans <dje@google.com>
2369 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
2370 uninitialized value of "description".
2372 2014-04-15 Keith Seitz <keiths@redhat.com>
2374 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
2375 Remove unused globals.
2376 (test_running_the_program): Likewise.
2377 (test_controlled_execution): Likewise.
2378 (test_controlling_breakpoints): Likewise.
2379 (test_program_termination): Likewise.
2381 2014-04-15 Keith Seitz <keiths@redhat.com>
2383 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
2385 (test_rbreak_creation_and_listing): Likewise.
2386 (test_ignore_count): Likewise.
2387 (test_error): Likewise.
2389 2014-04-15 Pedro Alves <palves@redhat.com>
2391 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2392 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2394 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2395 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2396 to sym-file-loader.c.
2397 (struct library): Forward declare.
2398 (load_shlib, lookup_function): Change prototypes.
2399 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2400 (translate_offset): Remove declarations.
2401 (get_text_addr): New declaration.
2402 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2403 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2405 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2406 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2407 here from sym-file-loader.h.
2408 (struct library): New structure.
2409 (load_shlib, lookup_function): Change prototypes and adjust to
2410 work with a struct library.
2411 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2412 (translate_offset): Make static.
2413 (get_text_addr): New function.
2414 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
2416 2014-04-15 Pedro Alves <palves@redhat.com>
2418 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
2420 2014-04-15 Pedro Alves <palves@redhat.com>
2422 * gdb.base/sym-file-loader.c: Include <limits.h>.
2423 (SELF_LINK): New define.
2424 (get_origin): New function.
2425 (load_shlib): Use it.
2426 * gdb.base/sym-file.exp: Don't early return if the target is
2427 remote. Use runto_main, and issue fail is that fails. Use
2429 (shlib_name): Delete.
2430 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
2432 2014-04-15 Pedro Alves <palves@redhat.com>
2434 * gdb.base/sym-file.exp: Remove regex characters from test
2435 message. Don't refer to breakpoint numbers in test messages.
2437 2014-04-14 Keith Seitz <keiths@redhat.com>
2440 * gdb.cp/var-tag.cc: New file.
2441 * gdb.cp/var-tag.exp: New file.
2442 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2443 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2444 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2445 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2447 2014-04-14 Tom Tromey <tromey@redhat.com>
2449 * gdb.cp/classes.exp (test_enums): Handle underlying type.
2450 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
2452 * gdb.cp/enum-class.exp: New file.
2453 * gdb.cp/enum-class.cc: New file.
2455 2014-04-14 Tom Tromey <tromey@redhat.com>
2457 * gdb.dwarf2/enum-type.exp: New file.
2459 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2461 * gdb.mi/mi-vla-c99.exp: New file.
2462 * gdb.mi/vla.c: New file.
2464 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2466 * gdb.base/vla-datatypes.c: New file.
2467 * gdb.base/vla-datatypes.exp: New file.
2469 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2471 * gdb.base/vla-ptr.c: New file.
2472 * gdb.base/vla-ptr.exp: New file.
2474 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2476 * gdb.dwarf2/count.exp: New file.
2478 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2480 * gdb.base/vla-sideeffect.c: New file.
2481 * gdb.base/vla-sideeffect.exp: New file.
2483 2014-04-14 David Blaikie <dblaikie@gmail.com>
2485 * gdb.mi/non-stop.c: Add return value for non-void function return
2487 * gdb.threads/staticthreads.c: Ditto.
2489 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2490 Doug Evans <xdje42@gmail.com>
2492 * gdb.guile/scm-value.c: Improve test case.
2493 * gdb.guile/scm-value.exp: Add new test.
2495 2014-04-11 David Blaikie <dblaikie@gmail.com>
2497 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2498 override Clang's default.
2500 2014-04-11 Joel Brobecker <brobecker@adacore.com>
2502 Revert the following changes (regressions):
2504 * gdb.base/vla-sideeffect.c: New file.
2505 * gdb.base/vla-sideeffect.exp: New file.
2507 * gdb.dwarf2/count.exp: New file.
2509 * gdb.base/vla-multi.c: New file.
2510 * gdb.base/vla-multi.exp: New file.
2512 * gdb.base/vla-ptr.c: New file.
2513 * gdb.base/vla-ptr.exp: New file.
2515 * gdb.base/vla-datatypes.c: New file.
2516 * gdb.base/vla-datatypes.exp: New file.
2518 * gdb.mi/mi-vla-c99.exp: New file.
2519 * gdb.mi/vla.c: New file.
2521 2014-04-11 Keith Seitz <keiths@redhat.com>
2524 * gdb.cp/cpsizeof.exp: New file.
2525 * gdb.cp/cpsizeof.cc: New file.
2527 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2529 * gdb.mi/mi-vla-c99.exp: New file.
2530 * gdb.mi/vla.c: New file.
2532 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2534 * gdb.base/vla-datatypes.c: New file.
2535 * gdb.base/vla-datatypes.exp: New file.
2537 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2539 * gdb.base/vla-ptr.c: New file.
2540 * gdb.base/vla-ptr.exp: New file.
2542 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2544 * gdb.base/vla-multi.c: New file.
2545 * gdb.base/vla-multi.exp: New file.
2547 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2549 * gdb.dwarf2/count.exp: New file.
2551 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2553 * gdb.base/vla-sideeffect.c: New file.
2554 * gdb.base/vla-sideeffect.exp: New file.
2556 2014-04-11 Yao Qi <yao@codesourcery.com>
2558 * gdb.base/completion.exp: Check file exists before running tests
2561 2014-04-10 Pedro Alves <palves@redhat.com>
2563 * gdb.base/cond-eval-mode.c: New file.
2564 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2565 prepare_for_testing to build the new file. Check result of
2567 (test_break, test_watch): New procedures.
2568 (top level): Use them.
2570 2014-04-08 Pierre Muller <muller@sourceware.org>
2572 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2573 Ctrl-V use for mingw hosts.
2575 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2577 * gdb.python/py-value.c: Improve test case.
2578 * gdb.python/py-value.exp: Add new test.
2580 2014-04-07 David Blaikie <dblaikie@gmail.com>
2582 * lib/compiler.c: Identify the clang compiler.
2583 * lib/compiler.cc: Ditto.
2585 2014-04-03 Yao Qi <yao@codesourcery.com>
2587 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2589 2014-04-01 Anton Blanchard <anton@samba.org>
2591 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2594 2014-04-01 Anton Blanchard <anton@samba.org>
2596 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2597 prepare_for_testing.
2599 2014-04-01 Anton Blanchard <anton@samba.org>
2601 * gdb.arch/ppc64-atomic-inst.c: Remove.
2602 * gdb.arch/ppc64-atomic-inst.S: New file.
2603 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2605 2014-03-31 Doug Evans <dje@google.com>
2607 * gdb.base/print-symbol-loading-lib.c: New file.
2608 * gdb.base/print-symbol-loading-main.c: New file.
2609 * gdb.base/print-symbol-loading.exp: New file.
2611 2014-03-31 Yao Qi <yao@codesourcery.com>
2613 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2615 2014-03-28 Joel Brobecker <brobecker@adacore.com>
2617 * gdb.ada/mi_dyn_arr: New testcase.
2619 2014-03-27 Doug Evans <dje@google.com>
2621 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2623 2014-03-27 Yao Qi <yao@codesourcery.com>
2625 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2626 if target is nios2-*-*.
2628 2014-03-26 Yao Qi <yao@codesourcery.com>
2630 * lib/gdb.exp (readline_is_used): New proc.
2631 * gdb.base/completion.exp: Move tests on command complete up.
2632 Skip the rest of tests if readline is not used.
2633 * gdb.ada/complete.exp: Skp the test if readline is not
2635 * gdb.base/filesym.exp: Likewise.
2636 * gdb.base/macscp.exp: Likewise.
2637 * gdb.base/readline-ask.exp: Likewise.
2638 * gdb.base/readline.exp: Likewise.
2639 * gdb.python/py-cmd.exp: Likewise.
2640 * gdb.trace/tfile.exp: Likewise.
2642 2014-03-26 Yao Qi <yao@codesourcery.com>
2644 * gdb.base/macscp.exp: Fix code format issues.
2646 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2648 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2649 * gdb.asm/powerpc64le.inc: New file.
2651 2014-03-25 Pedro Alves <palves@redhat.com>
2652 Doug Evans <dje@google.com>
2654 * gdb.base/source-execution.c: New file.
2655 * gdb.base/source-execution.exp: New file.
2656 * gdb.base/source-execution.gdb: New file.
2658 2014-03-24 Doug Evans <dje@google.com>
2660 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2663 2014-03-24 Hui Zhu <hui@codesourcery.com>
2664 Pedro Alves <palves@redhat.com>
2666 PR breakpoints/16101
2667 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2668 test pass/fail messages. Detect missing support for dprintf when
2669 breakpoints are actually inserted.
2670 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2671 breakpoints are actually inserted.
2672 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2675 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2677 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2679 2014-03-22 Doug Evans <xdje42@gmail.com>
2681 * gdb.python/python.exp (python not supported): Verify multi-line
2682 python command issues an error.
2683 * gdb.guile/guile.exp (guile not supported): Verify multi-line
2684 guile command issues an error.
2686 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2688 * gdb.threads/thread-specific.exp: Handle the lack of usable
2689 $this_breakpoint and $this_thread.
2691 2014-03-21 Hui Zhu <hui@codesourcery.com>
2693 * gdb.base/attach.exp (do_command_attach_tests): New.
2695 2014-03-20 Tom Tromey <tromey@redhat.com>
2696 Pedro Alves <palves@redhat.com>
2699 * gdb.base/condbreak-call-false.c: New file.
2700 * gdb.base/condbreak-call-false.exp: New file.
2702 2014-03-20 Pedro Alves <palves@redhat.com>
2704 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2706 (block_signals, unblock_signals): Delete.
2707 (child_function_2, main): Remove references to deleted variable
2710 2014-03-20 Pedro Alves <palves@redhat.com>
2712 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2713 Use pthread_kill to signal thread 2.
2714 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2715 Adjust to make the test send itself a signal rather than using the
2716 host's "kill" command.
2718 2014-03-20 Pedro Alves <palves@redhat.com>
2720 * gdb.threads/multiple-step-overs.c: New file.
2721 * gdb.threads/multiple-step-overs.exp: New file.
2722 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2723 Adjust expected infrun debug output.
2725 2014-03-20 Pedro Alves <palves@redhat.com>
2727 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2728 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2730 2014-03-20 Pedro Alves <palves@redhat.com>
2733 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2734 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2735 of gdb_test_multiple.
2736 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2737 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2739 2014-03-20 Pedro Alves <palves@redhat.com>
2741 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2742 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2744 2014-03-19 Pedro Alves <palves@redhat.com>
2746 * gdb.base/async.exp: Remove early return.
2748 2014-03-19 Pedro Alves <palves@redhat.com>
2750 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2752 2014-03-19 Pedro Alves <palves@redhat.com>
2754 * gdb.base/async.exp (test_background): Expect \r\n after
2755 "completed." in the fail pattern.
2757 2014-03-19 Pedro Alves <palves@redhat.com>
2759 * gdb.base/async.exp (test_background): New procedure.
2760 Use it for all background execution command tests.
2762 2014-03-19 Pedro Alves <palves@redhat.com>
2764 * gdb.base/async.exp: Use prepare_for_testing.
2766 2014-03-19 Pedro Alves <palves@redhat.com>
2768 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2771 2014-03-19 Pedro Alves <palves@redhat.com>
2773 * gdb.base/async.c (main): Add "jump here" and "until here" line
2775 * gdb.base/async.exp (jump_here): New global.
2776 (jump& test): Use it.
2777 (until_here): New global.
2778 (until& test): Use it.
2780 2014-03-19 Pedro Alves <palves@redhat.com>
2782 * gdb.base/async.exp: Don't frob gdb_protocol.
2784 2014-03-18 Doug Evans <xdje42@gmail.com>
2786 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2787 Fix spelling of exec-done-display.
2789 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2792 * gdb.base/gdb-sigterm.c: New file.
2793 * gdb.base/gdb-sigterm.exp: New file.
2795 2014-03-18 Pedro Alves <palves@redhat.com>
2798 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2799 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2802 2014-03-17 Joel Brobecker <brobecker@adacore.com>
2804 * gdb.ada/pckd_arr_ren: New testcase.
2806 2014-03-13 Doug Evans <xdje42@gmail.com>
2809 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2810 collect after discarding symbols.
2812 2014-03-13 Ludovic Courtès <ludo@gnu.org>
2813 Doug Evans <xdje42@gmail.com>
2815 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2816 to history survives a gc.
2818 2014-03-13 Pedro Alves <palves@redhat.com>
2820 * gdb.base/default.exp: Don't test "target procfs".
2822 2014-03-13 Pedro Alves <palves@redhat.com>
2824 * gdb.base/default.exp: Update "target child" and "target procfs"
2825 tests to not expect "Unix".
2827 2014-03-12 Tom Tromey <tromey@redhat.com>
2829 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2830 New procs. Add target-async tests.
2831 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2832 Add target-async tests.
2834 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2836 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2837 'func_start' and 'func_end' for the beginning and end of the
2838 function code, respectively.
2839 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2840 'func_end' instead of 'func' and 'main'.
2842 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2844 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2845 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2846 generate the debug info assembler source.
2848 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2850 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2851 * gdb.dwarf2/arr-subrange.exp: Likewise.
2852 * gdb.dwarf2/dwz.exp: Likewise.
2853 * gdb.dwarf2/method-ptr.exp: Likewise.
2854 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2855 * gdb.dwarf2/subrange.exp: Likewise.
2856 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2857 * gdb.dwarf2/implptrpiece.exp: Likewise.
2858 * gdb.dwarf2/nostaticblock.exp: Likewise.
2860 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2862 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2863 directory to absolute path name arguments.
2865 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2867 * gdb.ada/tagged_access: New testcase.
2869 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2871 * gdb.btrace/data.exp: Update expected output.
2873 2014-03-06 Yao Qi <yao@codesourcery.com>
2875 * gdb.trace/pr16508.exp: New file.
2877 2014-03-05 Pedro Alves <palves@redhat.com>
2880 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2882 (top level): Adjust to use it. Add tests that exercise breakpoint
2883 interaction with the code-cache.
2885 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2887 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2888 test for 'history-append!'.
2890 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2892 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2893 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2894 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2895 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2896 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2897 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2899 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2901 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2902 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2903 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2905 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2907 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2909 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2911 * gdb.dwarf2/arr-stride.c: New file.
2912 * gdb.dwarf2/arr-stride.exp: New file.
2914 2014-02-26 Pedro Alves <palves@redhat.com>
2916 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2917 that won't ever trigger. Make sure that GDB reports the correct
2918 breakpoint that caused the stop.
2920 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2923 * gdb.base/auto-load-script: New file.
2924 * gdb.base/auto-load.c: New file.
2925 * gdb.base/auto-load.exp: New file.
2928 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2930 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2932 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2933 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2935 2014-02-24 Doug Evans <dje@google.com>
2937 * lib/gdb.exp (run_on_host): Log error output if program fails.
2939 2014-02-21 Pedro Alves <palves@redhat.com>
2941 * gdb.threads/step-after-sr-lock.c: Rename to ...
2942 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2943 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2944 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2947 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2950 * gdb.arch/amd64-stap-special-operands.exp: New file.
2951 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2952 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2953 * gdb.arch/amd64-stap-triplet.S: Likewise.
2954 * gdb.arch/amd64-stap-triplet.c: Likewise.
2956 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2958 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2959 in .section pseudo-op.
2961 2014-02-20 lin zuojian <manjian2006@gmail.com>
2962 Joel Brobecker <brobecker@adacore.com>
2963 Doug Evans <xdje42@gmail.com>
2966 * gdb.dwarf2/dw2-icycle.S: New file.
2967 * gdb.dwarf2/dw2-icycle.c: New file.
2968 * gdb.dwarf2/dw2-icycle.exp: New file.
2970 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2972 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2973 operations on gdb.Value objects.
2974 * gdb.python/py-value-cc.exp: Add new test to test operations on
2977 2014-02-18 Doug Evans <dje@google.com>
2979 * Makefile.in (TESTS): New variable.
2980 (expanded_tests, expanded_tests_or_none): New variables
2981 (check-single): Pass $(expanded_tests_or_none) to runtest.
2982 (check-parallel): Only run tests in $(TESTS) if non-empty.
2983 (check/no-matching-tests-found): New rule.
2984 * README: Document TESTS makefile variable.
2986 2014-02-18 Doug Evans <dje@google.com>
2988 * Makefile.in (check-parallel): rm -rf outputs temp.
2990 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2992 Fix "ERROR: no fileid for" in the testsuite.
2993 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2995 2014-02-12 Doug Evans <dje@google.com>
2997 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2998 (MISCELLANEOUS): New variable.
2999 (clean): rm -rf $(MISCELLANEOUS).
3000 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
3001 dwp live in the same directory as symlinks, with each symlink pointed
3002 to a differently named file in a different directory.
3004 2014-02-11 Doug Evans <dje@google.com>
3006 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
3007 of Tcl file commands.
3009 2014-02-10 Mark Kettenis <kettenis@gnu.org>
3011 * gdb.threads/step-after-sr-lock.exp: Avoid executing
3014 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3016 * gdb.ada/tick_length_array_enum_idx: New testcase.
3018 2014-02-10 Doug Evans <xdje42@gmail.com>
3020 * configure.ac (AC_OUTPUT): Add gdb.guile.
3021 * configure: Regenerate.
3022 * lib/gdb-guile.exp: New file.
3023 * lib/gdb.exp (get_target_charset): New function.
3024 * gdb.base/help.exp: Update expected output from "apropos apropos".
3025 * gdb.guile/Makefile.in: New file.
3026 * gdb.guile/guile.exp: New file.
3027 * gdb.guile/scm-arch.c: New file.
3028 * gdb.guile/scm-arch.exp: New file.
3029 * gdb.guile/scm-block.c: New file.
3030 * gdb.guile/scm-block.exp: New file.
3031 * gdb.guile/scm-breakpoint.c: New file.
3032 * gdb.guile/scm-breakpoint.exp: New file.
3033 * gdb.guile/scm-disasm.c: New file.
3034 * gdb.guile/scm-disasm.exp: New file.
3035 * gdb.guile/scm-equal.c: New file.
3036 * gdb.guile/scm-equal.exp: New file.
3037 * gdb.guile/scm-error.exp: New file.
3038 * gdb.guile/scm-error.scm: New file.
3039 * gdb.guile/scm-frame-args.c: New file.
3040 * gdb.guile/scm-frame-args.exp: New file.
3041 * gdb.guile/scm-frame-args.scm: New file.
3042 * gdb.guile/scm-frame-inline.c: New file.
3043 * gdb.guile/scm-frame-inline.exp: New file.
3044 * gdb.guile/scm-frame.c: New file.
3045 * gdb.guile/scm-frame.exp: New file.
3046 * gdb.guile/scm-generics.exp: New file.
3047 * gdb.guile/scm-gsmob.exp: New file.
3048 * gdb.guile/scm-iterator.c: New file.
3049 * gdb.guile/scm-iterator.exp: New file.
3050 * gdb.guile/scm-math.c: New file.
3051 * gdb.guile/scm-math.exp: New file.
3052 * gdb.guile/scm-objfile-script-gdb.in: New file.
3053 * gdb.guile/scm-objfile-script.c: New file.
3054 * gdb.guile/scm-objfile-script.exp: New file.
3055 * gdb.guile/scm-objfile.c: New file.
3056 * gdb.guile/scm-objfile.exp: New file.
3057 * gdb.guile/scm-ports.exp: New file.
3058 * gdb.guile/scm-pretty-print.c: New file.
3059 * gdb.guile/scm-pretty-print.exp: New file.
3060 * gdb.guile/scm-pretty-print.scm: New file.
3061 * gdb.guile/scm-section-script.c: New file.
3062 * gdb.guile/scm-section-script.exp: New file.
3063 * gdb.guile/scm-section-script.scm: New file.
3064 * gdb.guile/scm-symbol.c: New file.
3065 * gdb.guile/scm-symbol.exp: New file.
3066 * gdb.guile/scm-symtab-2.c: New file.
3067 * gdb.guile/scm-symtab.c: New file.
3068 * gdb.guile/scm-symtab.exp: New file.
3069 * gdb.guile/scm-type.c: New file.
3070 * gdb.guile/scm-type.exp: New file.
3071 * gdb.guile/scm-value-cc.cc: New file.
3072 * gdb.guile/scm-value-cc.exp: New file.
3073 * gdb.guile/scm-value.c: New file.
3074 * gdb.guile/scm-value.exp: New file.
3075 * gdb.guile/source2.scm: New file.
3076 * gdb.guile/types-module.cc: New file.
3077 * gdb.guile/types-module.exp: New file.
3079 2014-02-10 Yao Qi <yao@codesourcery.com>
3082 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
3083 * configure: Regenerated.
3084 * Makefile.in: New file.
3086 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3088 * gdb.python/py-framefilter.exp: Fix typo.
3090 2014-02-08 Yao Qi <yao@codesourcery.com>
3092 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
3093 that no =breakpoint-modified is emitted when breakpoints are
3094 modified through MI commands.
3096 2014-02-07 Pedro Alves <pedro@codesourcery.com>
3097 Pedro Alves <palves@redhat.com>
3099 * gdb.threads/step-after-sr-lock.c: New file.
3100 * gdb.threads/step-after-sr-lock.exp: New file.
3102 2014-02-07 Pedro Alves <palves@redhat.com>
3104 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
3106 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3108 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
3109 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
3111 2014-02-06 Doug Evans <xdje42@gmail.com>
3113 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
3116 * gdb.gdb/python-interrupts.exp: New file.
3118 2014-02-05 Yao Qi <yao@codesourcery.com>
3120 * gdb.trace/report.exp (use_collected_data): Test the output
3121 of "info threads" and "info inferiors".
3123 2014-02-05 Yao Qi <yao@codesourcery.com>
3127 2013-05-24 Yao Qi <yao@codesourcery.com>
3129 * gdb.trace/tfile.exp: Test inferior and thread.
3131 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3133 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
3135 * gdb.base/step-bt.c: Call hello via function pointer to make
3136 sure its first instruction is executed on powerpc64le-linux.
3138 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3140 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
3142 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3144 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
3145 of the test patterns for use on little-endian systems.
3147 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3149 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
3150 (decimal_vector): Fix for little-endian.
3152 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3154 * gdb.arch/sparc-sysstep.exp: New file.
3155 * gdb.arch/sparc-sysstep.c: Likewise.
3157 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
3159 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3161 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
3163 2014-01-23 Tom Tromey <tromey@redhat.com>
3165 * gdb.ada/array_char_idx: New testcase.
3167 2014-01-23 Tom Tromey <tromey@redhat.com>
3170 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
3171 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
3174 2014-01-23 Tom Tromey <tromey@redhat.com>
3177 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
3178 string from an inferior frame.
3179 * gdb.python/py-framefilter-mi.exp: Update.
3181 2014-01-22 Doug Evans <dje@google.com>
3183 * gdb.server/server-mon.exp: Add tests for "set debug-format".
3185 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3187 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
3189 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3191 * gdb.trace/entry-values.exp: Remove excess space character from
3192 regex patterns. Handle s390 call instruction.
3194 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3196 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
3197 define "*_start" label. Make "name" static.
3198 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
3199 ${name} by references to ${name}_start.
3201 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3203 * gdb.base/info-macros.exp: Remove "debug" from the compile
3206 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3208 * gdb.dlang/demangle.exp: New file.
3210 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3212 * gdb.dlang/primitive-types.exp: New file.
3214 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3216 * configure.ac: Create gdb.dlang/Makefile.
3217 * configure: Regenerate.
3218 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
3219 * gdb.dlang/Makefile.in: New file.
3220 * lib/d-support.exp: New file.
3221 * lib/gdb.exp (skip_d_tests): New proc.
3223 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3225 * gdb.btrace/delta.exp: Check reverse stepi.
3226 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
3227 * gdb.btrace/finish.exp: New.
3228 * gdb.btrace/next.exp: New.
3229 * gdb.btrace/nexti.exp: New.
3230 * gdb.btrace/record_goto.c: Add comments.
3231 * gdb.btrace/step.exp: New.
3232 * gdb.btrace/stepi.exp: New.
3233 * gdb.btrace/multi-thread-step.c: New.
3234 * gdb.btrace/multi-thread-step.exp: New.
3235 * gdb.btrace/rn-dl-bind.c: New.
3236 * gdb.btrace/rn-dl-bind.exp: New.
3237 * gdb.btrace/data.c: New.
3238 * gdb.btrace/data.exp: New.
3239 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3241 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3243 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
3244 * gdb.btrace/exception.exp: Update.
3245 * gdb.btrace/instruction_history.exp: Update.
3246 * gdb.btrace/record_goto.exp: Update.
3247 * gdb.btrace/tailcall.exp: Update.
3248 * gdb.btrace/unknown_functions.exp: Update.
3249 * gdb.btrace/delta.exp: New.
3251 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3253 * gdb.btrace/record_goto.exp: Add backtrace test.
3254 * gdb.btrace/tailcall.exp: Add backtrace test.
3256 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3258 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
3259 * gdb.btrace/record_goto.c: New.
3260 * gdb.btrace/record_goto.exp: New.
3261 * gdb.btrace/x86-record_goto.S: New.
3263 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3265 * gdb.btrace/function_call_history.exp: Update tests.
3266 * gdb.btrace/instruction_history.exp: Update tests.
3268 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3270 * gdb.btrace/function_call_history.exp: Fix expected field
3271 order for "record function-call-history".
3272 Add new tests for "record function-call-history /c".
3273 * gdb.btrace/exception.cc: New.
3274 * gdb.btrace/exception.exp: New.
3275 * gdb.btrace/tailcall.exp: New.
3276 * gdb.btrace/x86-tailcall.S: New.
3277 * gdb.btrace/x86-tailcall.c: New.
3278 * gdb.btrace/unknown_functions.c: New.
3279 * gdb.btrace/unknown_functions.exp: New.
3280 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3282 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3284 * gdb.btrace/instruction_history.exp: Update.
3285 * gdb.btrace/function_call_history.exp: Update.
3287 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3289 * gdb.btrace/function_call_history.exp: Fix expected function
3291 * gdb.btrace/instruction_history.exp: Initialize traced.
3292 Remove traced_functions.
3294 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3296 * gdb.btrace/function_call_history.exp: Update
3297 * gdb.btrace/instruction_history.exp: Update.
3299 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3301 * gdb.btrace/enable.exp: Update expected text.
3303 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
3305 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
3308 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
3310 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
3312 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3314 * lib/gdb.exp (supports_process_record): Return true for
3315 arm*-linux*. (supports_reverse): Likewise.
3317 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3321 * gdb.python/py-type.c: Enhance test case.
3322 * gdb.python/py-value-cc.cc: Likewise
3323 * gdb.python/py-type.exp: Add new tests.
3324 * gdb.python/py-value-cc.exp: Likewise
3326 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3327 Pedro Alves <palves@redhat.com>
3329 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
3331 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
3332 references to ${name}_start by references to ${name}.
3334 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3336 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
3338 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3340 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
3342 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
3343 Pedro Alves <palves@redhat.com>
3345 * gdb.mi/mi-info-os.exp: Connect to the target with
3348 2014-01-08 Pedro Alves <palves@redhat.com>
3350 * gdb.threads/reconnect-signal.c: New file.
3351 * gdb.threads/reconnect-signal.exp: New file.
3353 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3355 * gdb.base/source-dir.exp: New file.
3357 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3359 * gdb.ada/mi_interface: New testcase.
3361 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3363 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
3364 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
3365 gdb.ada/pp-rec-component/pck.ads: New files.
3367 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3369 * gdb.python/py-pp-integral.c: New file.
3370 * gdb.python/py-pp-integral.py: New file.
3371 * gdb.python/py-pp-integral.exp: New file.
3373 For older changes see ChangeLog-1993-2013.
3379 ;; version-control: never
3382 Copyright 2014 Free Software Foundation, Inc.
3383 Copying and distribution of this file, with or without modification,
3384 are permitted provided the copyright notice and this notice are preserved.