1 2014-11-14 Yao Qi <yao@codesourcery.com>
3 * lib/dwarf.exp (function_range): New procedure.
4 (Dwarf::_handle_macro_at_func): New procedure.
5 (Dwarf::_handle_macro_at_range): New procedure.
6 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
8 2014-11-14 Yao Qi <yao@codesourcery.com>
10 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
11 (_handle_attribute): New procedure.
13 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15 * gdb.ada/cond_lang/foo.c (callme): Add return type.
16 * gdb.base/call-sc.c (zed): Likewise.
17 * gdb.base/checkpoint.c (main): Likewise.
18 * gdb.base/dump.c (main): Likewise.
19 * gdb.base/gcore.c (main): Likewise.
20 * gdb.base/huge.c (main): Likewise.
21 * gdb.base/multi-forks.c (main): Likewise.
22 * gdb.base/pr10179-a.c (main): Likewise.
23 * gdb.base/savedregs.c (main): Likewise.
24 * gdb.base/sigaltstack.c (main): Likewise.
25 * gdb.base/siginfo.c (main): Likewise.
26 * gdb.base/structs.c (zed): Likewise.
27 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
28 * gdb.mi/mi-syn-frame.c (main): Likewise.
29 * gdb.mi/until.c (foo, main): Likewise.
30 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
31 * gdb.base/solib-weak.c (foo): Declare.
32 * gdb.base/attach-twice.c: Include stdio.h.
33 * gdb.base/weaklib1.c: Likewise.
34 * gdb.base/weaklib2.c: Likewise.
35 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
36 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
38 * gdb.base/attach-pie-misread.c: Include stdlib.h.
39 * gdb.mi/mi-exit-code.c: Likewise.
40 * gdb.base/break-interp-lib.c: Include string.h.
41 * gdb.base/coremaker.c: Likewise.
42 * gdb.base/testenv.c: Likewise.
43 * gdb.python/py-finish-breakpoint.c: Likewise.
44 * gdb.base/inferior-died.c: Include sys/wait.h.
45 * gdb.base/fileio.c: Include time.h.
46 * gdb.base/async-shell.c: Include unistd.h.
47 * gdb.base/dprintf-non-stop.c: Likewise.
48 * gdb.base/info-os.c: Likewise.
49 * gdb.mi/mi-console.c: Likewise.
50 * gdb.mi/watch-nonstop.c: Likewise.
51 * gdb.python/py-events.c: Likewise.
52 * gdb.base/async.c (baz): Move up before its invocation.
53 * gdb.base/code_elim2.c (my_global_func): Likewise.
54 * gdb.base/skip-solib-lib.c (multiply): Likewise.
55 * gdb.base/advance.c (func2): Likewise.
57 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
59 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
61 * gdb.base/annota3.c: Likewise.
62 * gdb.base/async.c: Likewise.
63 * gdb.base/average.c: Likewise.
64 * gdb.base/call-ar-st.c: Likewise.
65 * gdb.base/call-rt-st.c: Likewise.
66 * gdb.base/call-sc.c: Likewise.
67 * gdb.base/call-strs.c: Likewise.
68 * gdb.base/ending-run.c: Likewise.
69 * gdb.base/execd-prog.c: Likewise.
70 * gdb.base/exprs.c: Likewise.
71 * gdb.base/foll-exec.c: Likewise.
72 * gdb.base/foll-fork.c: Likewise.
73 * gdb.base/foll-vfork.c: Likewise.
74 * gdb.base/funcargs.c: Likewise.
75 * gdb.base/gcore.c: Likewise.
76 * gdb.base/jump.c: Likewise.
77 * gdb.base/langs0.c: Likewise.
78 * gdb.base/langs1.c: Likewise.
79 * gdb.base/langs2.c: Likewise.
80 * gdb.base/mips_pro.c: Likewise.
81 * gdb.base/nodebug.c: Likewise.
82 * gdb.base/opaque0.c: Likewise.
83 * gdb.base/opaque1.c: Likewise.
84 * gdb.base/recurse.c: Likewise.
85 * gdb.base/run.c: Likewise.
86 * gdb.base/scope0.c: Likewise.
87 * gdb.base/scope1.c: Likewise.
88 * gdb.base/setshow.c: Likewise.
89 * gdb.base/setvar.c: Likewise.
90 * gdb.base/shmain.c: Likewise.
91 * gdb.base/shr1.c: Likewise.
92 * gdb.base/shr2.c: Likewise.
93 * gdb.base/sigall.c: Likewise.
94 * gdb.base/signals.c: Likewise.
95 * gdb.base/so-indr-cl.c: Likewise.
96 * gdb.base/solib2.c: Likewise.
97 * gdb.base/structs.c: Likewise.
98 * gdb.base/sum.c: Likewise.
99 * gdb.base/vforked-prog.c: Likewise.
100 * gdb.base/watchpoint.c: Likewise.
101 * gdb.reverse/shr2.c: Likewise.
102 * gdb.reverse/until-reverse.c: Likewise.
103 * gdb.reverse/ur1.c: Likewise.
104 * gdb.reverse/watch-reverse.c: Likewise.
106 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
108 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
110 * gdb.base/sepdebug.exp: Drop references to removed code.
112 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
114 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
115 variant. Preserve original line numbering.
116 * gdb.base/list1.c: Likewise.
118 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
120 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
122 * gdb.base/break1.c: Likewise.
123 * gdb.base/break.exp: Drop references to removed code.
125 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
127 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
130 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
132 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
134 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
136 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
137 logic into perform_all_tests() and invoke it with and without
138 function header prototypes.
139 (do_function_calls): Remove conditional XFAIL for PR 5318.
140 (rerun_and_prepare): Remove duplicate code.
141 (perform_all_tests): New. Main logic moved here.
143 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
145 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
146 code guarded by #ifdef NO_PROTOTYPES.
147 (t_double_many_args): Likewise.
148 (DEF_FUNC_MANY_ARGS_1): Likewise.
149 (DEF_FUNC_VALUES_1): Likewise.
150 (t_structs_ldc): Renamed from t_structs_fc in conditional code
151 guarded by #ifdef PROTOTYPES.
153 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
155 * gdb.mi/mi-console.c: Add eye-catcher.
156 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
157 instead of literal line number.
159 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
161 * gdb.base/shr2.c: Add eye-catcher.
162 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
165 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
167 * gdb.base/jump.c: Add eye-catchers.
168 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
171 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
173 * gdb.base/execd-prog.c: Add eye-catchers.
174 * gdb.base/foll-exec.c: Likewise.
175 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
178 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
180 * gdb.base/ending-run.c: Add eye-catchers.
181 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
182 literal line numbers.
184 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
186 * gdb.base/call-rt-st.c: Add eye-catchers.
187 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
188 literal line numbers.
190 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
192 * gdb.base/call-ar-st.c: Add eye-catchers.
193 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
194 literal line numbers.
196 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
198 * gdb.base/average.c: Add eye-catchers.
199 * gdb.base/sum.c: Likewise.
200 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
203 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
205 * gdb.base/solib1.c: Add eye-catchers.
206 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
207 literal line numbers.
209 2014-11-12 Pedro Alves <palves@redhat.com>
211 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
214 2014-11-12 Pedro Alves <palves@redhat.com>
216 * gdb.arch/i386-bp_permanent.c: New file.
217 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
218 (srcfile): Set to i386-bp_permanent.c.
219 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
220 that stepi does not execute the 'leave' instruction, instead of
221 testing it does execute.
222 * gdb.base/bp-permanent.c: New file.
223 * gdb.base/bp-permanent.exp: New file.
225 2014-11-10 Doug Evans <xdje42@gmail.com>
228 * gdb.base/symtab-search-order.exp: New file.
229 * gdb.base/symtab-search-order.c: New file.
230 * gdb.base/symtab-search-order-1.c: New file.
231 * gdb.base/symtab-search-order-shlib-1.c: New file.
233 2014-11-07 Pedro Alves <palves@redhat.com>
236 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
239 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
242 * gdb.cp/pr17494.cc: New file.
243 * gdb.cp/pr17494.exp: New file.
245 2014-11-02 Yao Qi <yao@codesourcery.com>
247 * gdb.python/python.exp: Get working directory and match the
248 output of "set extended-prompt \\w " with it.
250 2014-10-30 Doug Evans <dje@google.com>
252 * gdb.python/py-objfile.exp: Add tests for setting random attributes
254 * gdb.python/py-progspace.exp: Add tests for setting random attributes
257 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
259 * gdb.base/fullpath-expand.exp: Skip for a remote host.
260 * gdb.base/realname-expand.exp: Likewise.
261 * gdb.linespec/macro-relative.exp: Likewise.
263 2014-10-29 Pedro Alves <palves@redhat.com>
266 * gdb.threads/schedlock.c (some_function): New function.
267 (call_function): New global.
268 (MAYBE_CALL_SOME_FUNCTION): New macro.
269 (thread_function): Call it.
270 * gdb.threads/schedlock.exp (get_args): Add description parameter,
271 and use it instead of a global counter. Adjust all callers.
272 (get_current_thread): Use "find current thread" for test message
273 here rather than having all callers pass down the same string.
274 (goto_loop): New procedure, factored out from ...
275 (my_continue): ... this.
276 (step_ten_loops): Change parameter from test message to command to
278 (list_count): Delete global.
279 (check_result): New procedure, factored out from duplicate top
281 (continue tests): Wrap in with_test_prefix.
282 (test_step): New procedure, factored out from duplicate top level
284 (top level): Test "step" in combination with all scheduler-locking
285 modes. Test "next" in combination with all scheduler-locking
286 modes, and in combination with stepping over a function call or
288 * gdb.threads/next-bp-other-thread.c: New file.
289 * gdb.threads/next-bp-other-thread.exp: New file.
291 2014-10-29 Pedro Alves <palves@redhat.com>
294 * gdb.python/python.exp: Test a multi-line command that spawns
296 * gdb.base/multi-line-starts-subshell.exp: New file.
298 2014-10-29 Yao Qi <yao@codesourcery.com>
300 * gdb.base/fileio.exp: Make directories on host.
302 2014-10-29 Yao Qi <yao@codesourcery.com>
304 * gdb.base/fileio.c (test_write): Close the file.
306 2014-10-28 Pedro Alves <palves@redhat.com>
309 * gdb.base/sigstep.c (no_handler): New global.
310 (main): If 'no_handler is true, set the signal handlers to
312 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
313 with_sw_watch and no_handler parameters. Handle them.
314 (top level) <stepping over handler when stopped at a breakpoint
315 test>: Add a test axis for testing with a software watchpoint, and
316 another for testing with the signal handler set to SIG_IGN.
317 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
318 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
320 2014-10-28 Pedro Alves <palves@redhat.com>
323 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
324 * gdb.base/sigstep.exp (other_handler_location): New global.
325 (advance): Support stepping into the signal handler, and running
326 commands while in the handler.
327 (in_handler_map): New global.
328 (top level): In the advance test, add combinations for getting
329 into the handler with stepping commands, and for running commands
330 in the handler. Add comment descripting the advancei tests.
332 2014-10-28 Pedro Alves <palves@redhat.com>
334 * gdb.base/sigstep.exp: Use build_executable instead of
336 (top level): Move code that starts GDB, runs to main and creates a
338 (restart): ... this new procedure.
339 (top level): Move backtrace from signal handler test to ...
340 (validate_backtrace): ... this new procedure.
341 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
342 with_test_prefix. Always restart GDB.
343 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
344 with_test_prefix. Always restart GDB. No need to delete
345 breakpoints after the test.
346 (test_skip_handler): Remove prefix parameter.
347 (skip_over_handler, breakpoint_to_handler)
348 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
349 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
350 restart GDB. No need to delete breakpoints after the test.
351 (top level): Use foreach to call the test procedures with
354 2014-10-28 Pedro Alves <palves@redhat.com>
356 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
357 instead of GNATS numbers.
358 * gdb.base/sigbpt.exp: Likewise.
359 * gdb.base/siginfo.exp: Likewise.
360 * gdb.base/sigstep.exp: Likewise.
362 2014-10-27 Pedro Alves <palves@redhat.com>
364 * gdb.base/sigstep.c (dummy): New global.
365 (main): Issue a couple writes to the new global.
366 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
368 (skip_over_handler): Use test_skip_handler.
369 (top level): Call skip_over_handler for stepi and nexti too.
370 (breakpoint_over_handler): Use test_skip_handler.
371 (top level): Call breakpoint_over_handler for stepi and nexti too.
373 2014-10-27 Yao Qi <yao@codesourcery.com>
375 * gdb.trace/tfile.c (adjust_function_address)
376 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
379 2014-10-24 Don Breazeal <donb@codesourcery.com>
381 * gdb.base/foll-fork.exp (test_follow_fork,
382 catch_fork_child_follow): Check for updated fork messages emitted
384 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
385 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
386 vfork_and_exec_child_follow_through_step): Check for updated vfork
387 messages emitted from infrun.c.
389 2014-10-24 Pedro Alves <palves@redhat.com>
391 * gdb.base/corefile.exp: Remove references to ultrix.
392 * gdb.base/interrupt.exp: Likewise.
393 * gdb.base/whatis.exp: Likewise.
394 * gdb.gdb/selftest.exp: Likewise.
395 * gdb.threads/manythreads.exp: Likewise.
396 * gdb.threads/print-threads.exp: Likewise.
397 * gdb.threads/pthreads.exp:: Likewise.
398 * gdb.threads/schedlock.exp: Likewise.
400 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
402 * gdb.cp/non-trivial-retval.cc: Add a test case.
403 * gdb.cp/non-trivial-retval.exp: Add a test.
405 2014-10-20 Yao Qi <yao@codesourcery.com>
407 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
408 * gdb.python/py-objfile-script-gdb.py: New file.
409 * gdb.python/py-objfile-script.exp: Update reference to
410 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
411 of remote_download. Remove the dest file.
413 2014-10-20 Yao Qi <yao@codesourcery.com>
415 * gdb.base/checkpoint.exp: Don't remove file copied on host.
416 * gdb.base/step-line.exp: Likewise.
417 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
418 * gdb.dwarf2/dw2-basic.exp: Likewise.
419 * gdb.dwarf2/dw2-compressed.exp: Likewise.
420 * gdb.dwarf2/dw2-filename.exp: Likewise.
421 * gdb.dwarf2/dw2-intercu.exp: Likewise.
422 * gdb.dwarf2/dw2-intermix.exp: Likewise.
423 * gdb.dwarf2/dw2-producer.exp: Likewise.
424 * gdb.dwarf2/mac-fileno.exp: Likewise.
425 * gdb.python/py-frame-args.exp: Likewise.
426 * gdb.python/py-framefilter.exp: Likewise.
427 * gdb.python/py-mi.exp: Likewise.
428 * gdb.python/py-objfile-script.exp: Likewise
429 * gdb.python/py-pp-integral.exp: Likewise.
430 * gdb.python/py-pp-re-notag.exp: Likewise.
431 * gdb.python/py-prettyprint.exp: Likewise.
432 * gdb.python/py-section-script.exp: Likewise.
433 * gdb.python/py-typeprint.exp: Likewise.
434 * gdb.python/py-xmethods.exp: Likewise.
435 * gdb.stabs/weird.exp: Likewise.
436 * gdb.xml/tdesc-regs.exp: Likewise.
438 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
440 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
441 (out_cu): Use addr_len for the size of addresses.
442 (out_line): Likewise. Size DW_LNE_set_address instruction
443 according to addr_len.
444 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
445 (FUNC): Add START_INSNS to definition.
447 2014-10-18 Yao Qi <yao@codesourcery.com>
449 * gdb.base/argv0-symlink.exp: Check argv[0] value if
450 gdb_has_argv0 return true.
451 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
452 check [target_info exists noargs], check [gdb_has_argv0]
454 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
455 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
458 2014-10-17 Doug Evans <dje@google.com>
460 * gdb.python/py-events.exp: Update expected output for clear_objfiles
462 * gdb.python/py-events.py: Add clear_objfiles event.
464 2014-10-17 Doug Evans <dje@google.com>
466 * gdb.python/py-objfile.exp: Test progspace attribute.
468 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
470 * gdb.guile/scm-breakpoint.exp: Do not assume any
471 directory separators when matching source file paths.
472 * gdb.python/py-breakpoint.exp: Likewise.
473 * gdb.reverse/break-precsave.exp: Likewise.
474 * gdb.reverse/break-reverse.exp: Likewise.
475 * gdb.reverse/consecutive-precsave.exp: Likewise.
476 * gdb.reverse/finish-precsave.exp: Likewise.
477 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
478 * gdb.reverse/finish-reverse.exp: Likewise.
479 * gdb.reverse/i386-precsave.exp: Likewise.
480 * gdb.reverse/i387-env-reverse.exp: Likewise.
481 * gdb.reverse/i387-stack-reverse.exp: Likewise.
482 * gdb.reverse/machinestate-precsave.exp: Likewise.
483 * gdb.reverse/machinestate.exp: Likewise.
484 * gdb.reverse/sigall-precsave.exp: Likewise.
485 * gdb.reverse/solib-precsave.exp: Likewise.
486 * gdb.reverse/step-precsave.exp: Likewise.
487 * gdb.reverse/until-precsave.exp: Likewise.
488 * gdb.reverse/watch-precsave.exp: Likewise.
489 * gdb.reverse/watch-reverse.exp: Likewise.
491 2014-10-17 Yao Qi <yao@codesourcery.com>
493 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
494 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
496 2014-10-17 Pedro Alves <palves@redhat.com>
499 * gdb.base/bg-execution-repeat.c: New file.
500 * gdb.base/bg-execution-repeat.exp: New file.
502 2014-10-17 Pedro Alves <palves@redhat.com>
505 * gdb.base/continue-all-already-running.c: New file.
506 * gdb.base/continue-all-already-running.exp: New file.
508 2014-10-17 Pedro Alves <palves@redhat.com>
511 * gdb.base/annota-input-while-running.c: New file.
512 * gdb.base/annota-input-while-running.exp: New file.
514 2014-10-17 Pedro Alves <palves@redhat.com>
516 * gdb.base/callfuncs.exp: emove references to osf.
517 * gdb.base/sigall.exp: Likewise.
518 * gdb.gdb/selftest.exp: Likewise.
519 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
520 * gdb.mi/non-stop.c: Likewise.
521 * gdb.mi/pthreads.c: Likewise.
522 * gdb.reverse/sigall-precsave.exp: Likewise.
523 * gdb.reverse/sigall-reverse.exp: Likewise.
524 * gdb.threads/pthreads.c: Likewise.
525 * gdb.threads/pthreads.exp: Likewise.
527 2014-10-17 Yao Qi <yao@codesourcery.com>
529 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
530 check 'target_info exists noargs'.
531 (test_command_prompt_position): Likewise.
532 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
534 (progvar_simple_while_test): Likewise.
535 (progvar_complex_if_while_test): Likewise.
536 (if_while_breakpoint_command_test): Likewise.
537 (infrun_breakpoint_command_test): Likewise.
538 (breakpoint_command_test): Likewise.
539 (watchpoint_command_test): Likewise.
540 (bp_deleted_in_command_test): Likewise.
541 (temporary_breakpoint_commands): Likewise.
543 2014-10-16 Yao Qi <yao@codesourcery.com>
545 * gdb.base/remotetimeout.exp: Remove noargs checking.
547 2014-10-15 Pedro Alves <palves@redhat.com>
550 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
551 * gdb.base/breakpoint-in-ro-region.exp
552 (probe_target_hardware_step): New procedure.
553 (top level): Probe hardware stepping and hardware breakpoint
554 support. Test stepping through a read-only region, with both
555 "breakpoint auto-hw" on and off and both "always-inserted" on and
558 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
560 * gdb.dlang/demangle.exp: Update for demangling changes.
562 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
564 * gdb.cp/non-trivial-retval.cc: Add new test cases.
565 * gdb.cp/non-trivial-retval.exp: Add new tests.
567 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
571 * gdb.cp/non-trivial-retval.cc: New file.
572 * gdb.cp/non-trivial-retval.exp: New file.
574 2014-10-15 Yao Qi <yao@codesourcery.com>
576 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
579 2014-10-15 Yao Qi <yao@codesourcery.com>
581 * gdb.python/py-symbol.exp: Match file base name if host is
582 remote, otherwise match file name with dir name.
583 * gdb.python/py-symtab.exp: Likewise.
584 * gdb.python/python.exp: Likewise.
586 2014-10-15 Yao Qi <yao@codesourcery.com>
588 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
590 * gdb.python/py-symtab.exp: Likewise.
591 * gdb.python/python.exp: Remove trailing ".*". Fix typo
594 2014-10-14 Joel Brobecker <brobecker@adacore.com>
596 * gdb.ada/addr_arith: New testcase.
598 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
600 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
601 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
602 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
603 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
605 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
607 * gdb.arch/stap-eval-lang-ada.S: Likewise.
608 * gdb.arch/stap-eval-lang-ada.c: Likewise.
609 * gdb.arch/stap-eval-lang-ada.exp: New file.
611 2014-10-14 Yao Qi <yao@codesourcery.com>
613 * gdb.mi/mi-var-child.c (nothing1): New function.
614 (nothing2): New function.
615 (do_children_tests): Set function pointers by nothing1 and
617 * gdb.mi/mi-var-child.exp: Step over new added statements.
618 Update test to match the new output.
619 * gdb.mi/var-cmd.c (nothing1): New function.
620 (nothing2): New function.
621 (do_children_tests): Set function pointers by nothing1 and
623 * gdb.mi/mi-var-display.exp: Update test to match output.
624 Step to the line specified by $line_dct_nothing.
625 Increase the number of lines to step.
627 2014-10-14 Yao Qi <yao@codesourcery.com>
629 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
631 * gdb.mi/mi2-var-child.exp: Likewise.
633 2014-10-13 Doug Evans <dje@google.com>
635 * gdb.python/py-objfile.exp: Change name of file name test.
637 2014-10-13 Doug Evans <dje@google.com>
639 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
640 from the start of the CU.
642 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
643 Yao Qi <yao@codesourcery.com>
645 Fix "save breakpoints" for "catch" command.
646 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
647 Remove -nonewline. Match also the added "main" line.
649 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
651 Fix "save breakpoints" for "disable $bpnum" command.
652 * gdb.base/save-bp.c (main): Add label.
653 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
655 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
657 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
659 2014-10-11 Yao Qi <yao@codesourcery.com>
661 * gdb.server/server-kill.exp: Execute command
662 "set remote trace-status-packet on" before "tstatus".
664 2014-10-11 Yao Qi <yao@codesourcery.com>
666 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
667 (main): Call getppid.
668 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
669 and continue to it. Read variable "server_pid".
671 2014-10-11 Yao Qi <yao@codesourcery.com>
673 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
675 2014-10-11 Yao Qi <yao@codesourcery.com>
677 * gdb.threads/thread-find.exp: Don't execute command
679 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
680 * gdb.threads/linux-dp.exp: Don't check the condition
681 $threads_created equals to zero.
683 2014-10-10 Pedro Alves <palves@redhat.com>
685 * gdb.base/bigcore.exp: Remove references to IRIX.
686 * gdb.base/funcargs.exp: Likewise.
687 * gdb.base/interrupt.exp: Likewise.
688 * gdb.base/mips_pro.exp: Likewise.
689 * gdb.base/nodebug.exp: Likewise.
690 * gdb.base/setvar.exp: Likewise.
691 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
693 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
694 Pedro Alves <palves@redhat.com>
697 * gdb.base/vdso-warning.c: New file.
698 * gdb.base/vdso-warning.exp: New file.
700 2014-10-02 Doug Evans <dje@google.com>
702 * gdb.base/structs.c (main): Don't run forever.
704 2014-10-02 Pedro Alves <palves@redhat.com>
706 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
707 (top level) <stop threads 1, stop threads 2>: Use it.
709 2014-10-02 Pedro Alves <palves@redhat.com>
711 * gdb.threads/break-while-running.exp (test): Add new
712 'update_thread_list' argument. Skip "info threads" if false.
713 (top level): Add new 'update_thread_list' axis.
715 2014-10-02 Pedro Alves <palves@redhat.com>
718 * gdb.base/execl-update-breakpoints.c: New file.
719 * gdb.base/execl-update-breakpoints.exp: New file.
721 2014-10-01 Pedro Alves <palves@redhat.com>
723 * gdb.base/breakpoint-in-ro-region.c: New file.
724 * gdb.base/breakpoint-in-ro-region.exp: New file.
726 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
728 * gdb.mi/mi-exit-code.exp: New file.
729 * gdb.mi/mi-exit-code.c: New file.
731 2014-09-30 Yao Qi <yao@codesourcery.com>
733 * lib/prelink-support.exp (build_executable_own_libs): Error if
734 the target isn't native.
736 2014-09-30 Yao Qi <yao@codesourcery.com>
738 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
741 2014-09-22 Pedro Alves <palves@redhat.com>
743 * gdb.threads/break-while-running.exp: New file.
744 * gdb.threads/break-while-running.c: New file.
746 2014-09-19 Yao Qi <yao@codesourcery.com>
748 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
749 Invoke test. Restart GDB with --readnow and invoke test again.
751 2014-09-19 Yao Qi <yao@codesourcery.com>
753 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
754 proc set_breakpoint_on_gcd_function. Invoke
755 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
756 invoke set_breakpoint_on_gcd_function again.
758 2014-09-18 Doug Evans <dje@google.com>
760 * gdb.dwarf2/symtab-producer.exp: New file.
762 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
764 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
765 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
766 * gdb.base/global-var-nested-by-dso.c: Likewise.
767 * gdb.base/global-var-nested-by-dso.exp: Likewise.
769 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
770 Pedro Alves <palves@redhat.com>
772 * gdb.base/watch-bitfields.exp: Pass string other than test file
773 name to prepare_for_testing.
774 (watch): New procedure.
775 (expect_watchpoint): Use with_test_prefix.
776 (top level): Factor out tests to ...
777 (test_watch_location, test_regular_watch): ... these new
778 procedures, and use with_test_prefix and gdb_continue_to_end.
780 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
783 * gdb.base/watch-bitfields.exp: New file.
784 * gdb.base/watch-bitfields.c: New file.
786 2014-09-16 Pedro Alves <palves@redhat.com>
788 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
789 software and hardware addresses, not software address against
792 2014-09-16 Pedro Alves <palves@redhat.com>
794 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
795 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
797 2014-09-16 Pedro Alves <palves@redhat.com>
799 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
801 * gdb.base/a2-run.exp: Remove all code guarded by istarget
802 "*-*-vxworks*" throughout.
803 * gdb.base/break.exp: Likewise.
804 * gdb.base/default.exp: Likewise.
805 * gdb.base/scope.exp: Likewise.
806 * gdb.base/sepdebug.exp: Likewise.
807 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
809 * gdb.base/run.c: Likewise.
810 * gdb.base/sepdebug.c: Likewise.
811 * gdb.hp/gdb.aCC/run.c: Likewise.
812 * gdb.reverse/until-reverse.c: Likewise.
813 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
815 2014-09-16 Yao Qi <yao@codesourcery.com>
817 * boards/local-remote-host-native.exp: New file.
819 2014-09-14 Doug Evans <xdje42@gmail.com>
821 * gdb.threads/queue-signal.c (thread_count): New variable.
822 (thread_count_mutex, thread_count_condvar): New variables.
823 (incr_thread_count, wait_all_threads_running): New functions.
824 (main): Wait for all threads to be in their thread functions.
826 2014-09-13 Doug Evans <xdje42@gmail.com>
828 * gdb.threads/queue-signal.c: New file.
829 * gdb.threads/queue-signal.exp: New file.
831 2014-09-13 Doug Evans <xdje42@gmail.com>
833 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
834 be consistent with what default_gdb_init uses.
835 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
836 the plain text of the prompt. Add some logging printfs.
837 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
839 2014-09-12 Pedro Alves <palves@redhat.com>
841 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
842 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
843 * gdb.arch/i386-size-overlap.exp: Likewise.
844 * gdb.arch/i386-size.exp: Likewise.
845 * gdb.arch/i386-unwind.exp: Likewise.
846 * gdb.base/a2-run.exp: Likewise.
847 * gdb.base/break.exp: Likewise.
848 * gdb.base/charset.exp: Likewise.
849 * gdb.base/chng-syms.exp: Likewise.
850 * gdb.base/commands.exp: Likewise.
851 * gdb.base/dbx.exp: Likewise.
852 * gdb.base/find.exp: Likewise.
853 * gdb.base/funcargs.exp: Likewise.
854 * gdb.base/jit-simple.exp: Likewise.
855 * gdb.base/reread.exp: Likewise.
856 * gdb.base/sepdebug.exp: Likewise.
857 * gdb.base/step-bt.exp: Likewise.
858 * gdb.cp/mb-inline.exp: Likewise.
859 * gdb.cp/mb-templates.exp: Likewise.
860 * gdb.objc/basicclass.exp: Likewise.
861 * gdb.threads/killed.exp: Likewise.
863 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
866 * gdb.arch/powerpc-stackless.S: New file.
867 * gdb.arch/powerpc-stackless.exp: New file.
869 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
871 * gdb.base/attach.c: Include unistd.h.
872 (main): Call alarm. Add label postloop.
873 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
874 gdb_breakpoint, gdb_continue_to_breakpoint.
875 (test_command_line_attach_run): Kill ${testpid} in one exit path.
877 2014-09-11 Pedro Alves <palves@redhat.com>
880 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
881 * gdb.base/attach.exp (test_command_line_attach_run): New
883 (top level): Call it.
885 2014-09-11 Pedro Alves <palves@redhat.com>
887 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
888 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
889 (do_command_attach_tests): Use spawn_wait_for_attach.
890 * gdb.base/solib-overlap.exp: Likewise.
891 * gdb.multi/multi-attach.exp: Likewise.
892 * gdb.python/py-prompt.exp: Likewise.
893 * gdb.python/py-sync-interp.exp: Likewise.
894 * gdb.server/ext-attach.exp: Likewise.
896 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
898 * gdb.fortran/array-element.exp: Remove unexpected "continue"
899 command in testcase. Simplify testcase.
901 2014-09-10 Joel Brobecker <brobecker@adacore.com>
903 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
905 2014-09-10 Joel Brobecker <brobecker@adacore.com>
907 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
909 2014-09-10 Joel Brobecker <brobecker@adacore.com>
911 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
913 2014-09-10 Joel Brobecker <brobecker@adacore.com>
915 * gdb.dwarf2/dynarr-ptr.c: New file.
916 * gdb.dwarf2/dynarr-ptr.exp: New file.
918 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
920 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
921 of 30 rather than hardcoding 120 for a slow test case. Take the
922 `gdb,timeout' target setting into account for this calculation.
923 Don't extend the timeout for the test cases that don't need it.
925 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
927 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
928 a factor of 2 for a slow test case. Take the `gdb,timeout'
929 target setting into account for this calculation.
930 * gdb.reverse/until-precsave.exp: Increase the timeout by
931 a factor of 15 and 3 respectively rather than adding 120
932 for a pair of slow test cases. Take the `gdb,timeout'
933 target setting into account for this calculation.
935 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
937 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
938 timeout, don't pass one down to gdb_expect.
939 (gdb_expect): Rework timeout selection.
941 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
943 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
944 exception on timeout.
945 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
946 (gdbserver_start_extended): Catch any `gdbserver_start' error
948 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
949 * lib/mi-support.exp (mi_gdb_target_load): Catch any
950 `gdbserver_gdb_load' error exceptions.
952 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
954 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
955 120 on waiting for the TCP socket to open.
957 2014-09-09 Doug Evans <xdje42@gmail.com>
959 * gdb.base/default.exp (show_conv_list): Add _caller_is,
960 _caller_matches, _any_caller_is, _any_caller_matches.
962 2014-09-09 Doug Evans <xdje42@gmail.com>
964 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
966 2014-09-09 Yao Qi <yao@codesourcery.com>
968 * gdb.mi/mi-var-display.exp: Set print symbol off.
970 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
973 * gdb.base/commands.exp: Add tests to verify user-defined
974 commands with empty bodies.
975 * gdb.python/py-cmd.exp: Test that we don't show user-defined
976 python commands in `show user command`.
977 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
978 scheme commands in `show user command`.
980 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
983 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
984 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
985 * gdb.python/py-framefilter-invalidarg.exp: New file.
986 * gdb.python/py-framefilter-invalidarg.py: New file.
988 2014-09-06 Doug Evans <xdje42@gmail.com>
991 * gdb.python/py-caller-is.c: New file.
992 * gdb.python/py-caller-is.exp: New file.
994 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
997 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
998 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
1000 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
1003 * gdb.fortran/print-formatted.exp: New file.
1004 * gdb.fortran/print-formatted.f90: Likewise.
1006 2014-09-03 Sasha Smundak <asmundak@google.com>
1008 * gdb.python/py-frame.exp: Test Frame.read_register.
1010 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
1013 * gdb.python/py-completion.exp: New file.
1014 * gdb.python/py-completion.py: Likewise.
1016 2014-08-28 Doug Evans <dje@google.com>
1018 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
1019 eax,etc. are live with values set by gdb and thus the compiler can't
1021 * gdb.arch/i386-pseudo.c (main): Ditto.
1023 2014-08-27 Doug Evans <dje@google.com>
1025 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
1027 2014-08-25 Doug Evans <dje@google.com>
1029 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
1032 2014-08-25 Doug Evans <dje@google.com>
1034 * gdb.threads/thread-execl.exp: #include <stdio.h>.
1036 2014-08-24 Yao Qi <yao@codesourcery.com>
1038 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
1040 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
1042 2014-08-22 Doug Evans <dje@google.com>
1045 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
1046 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
1047 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
1049 2014-08-22 Yao Qi <yao@codesourcery.com>
1051 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
1052 * gdb.python/py-finish-breakpoint2.exp: Likewise.
1053 * gdb.python/python.exp: Likewise. Use .py file on the host
1054 instead of the build.
1056 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1058 * gdb.threads/gcore-stale-thread.c: New file.
1059 * gdb.threads/gcore-stale-thread.exp: New file.
1061 2014-08-21 Pedro Alves <palves@redhat.com>
1063 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
1064 * gdb.base/gcore-relro-pie.exp: Likewise.
1065 * gdb.base/gcore-relro.exp: Likewise.
1066 * gdb.base/gcore.exp: Likewise.
1067 * gdb.base/print-symbol-loading.exp: Likewise.
1068 * gdb.threads/gcore-thread.exp: Likewise.
1069 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
1071 2014-08-20 Pedro Alves <palves@redhat.com>
1072 Jan Kratochvil <jan.kratochvil@redhat.com>
1074 * Makefile.in (EXTRA_RULES, CC): New variables, get from
1076 (EXPECT): Handle READ1 being set.
1077 (all): Depend on EXTRA_RULES.
1078 (check-read1, expect-read1, read1.so, read1): New rules.
1079 * README (Testsuite Parameters): Document the READ1 make variable.
1080 (Race detection): New section.
1081 * configure: Regenerate.
1082 * configure.ac: If build==host==target, and running under a
1083 GNU/glibc system, add read1 to the extra Makefile rules.
1084 (EXTRA_RULES): AC_SUBST it.
1085 * lib/read1.c: New file.
1087 2014-08-20 Joel Brobecker <brobecker@adacore.com>
1089 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
1090 the handling of variables declared as a typedef to an array
1091 which a DW_AT_data_location attribute.
1093 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
1094 Pedro Alves <palves@redhat.com>
1098 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
1101 2014-08-19 Pedro Alves <palves@redhat.com>
1103 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
1105 2014-08-19 Yao Qi <yao@codesourcery.com>
1107 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
1110 2014-08-18 David Blaikie <dblaikie@gmail.com>
1112 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
1114 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1116 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
1117 attribute in array range.
1119 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1121 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
1123 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1126 * gdb.cp/pr17132.cc: New file.
1127 * gdb.cp/pr17132.exp: New file.
1129 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1131 * gdb.python/py-xmethods.py (A_getarrayind)
1132 (E_method_char_worker.__call__, E_method_int_worker.__call__):
1133 Use 'print' with function call syntax.
1134 (E_method_matcher.match): Fix tab vs space indentation mixup.
1136 2014-08-15 Yao Qi <yao@codesourcery.com>
1138 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
1141 2014-08-15 Yao Qi <yao@codesourcery.com>
1143 * gdb.cp/casts.exp: Set print symbol off.
1144 * gdb.cp/class2.exp: Likewise.
1145 * gdb.cp/overload.exp: Likewise.
1146 * gdb.cp/templates.exp: Likewise.
1148 2014-08-11 Doug Evans <dje@google.com>
1150 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1151 (test_load_shlib): Update.
1153 2014-08-09 Yao Qi <yao@codesourcery.com>
1155 * gdb.base/display.exp: Invoke is_address_zero_readable.
1156 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
1157 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1158 * gdb.base/hbreak-unmapped.exp: Return if
1159 is_address_zero_readable returns true.
1160 * gdb.base/signest.exp: Likewise.
1161 * gdb.base/signull.exp: Likewise.
1162 * gdb.base/sigbpt.exp: Likewise.
1163 * gdb.guile/scm-disasm.exp: Do the test if
1164 is_address_zero_readable returns false.
1165 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
1166 * gdb.python/py-arch.exp: Likewise.
1167 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
1168 * lib/gdb.exp (is_address_zero_readable): New proc.
1170 2014-08-09 Yao Qi <yao@codesourcery.com>
1173 * gdb.mi/mi-var-display.exp: Make test messages unique.
1175 2014-08-04 Tom Tromey <tromey@redhat.com>
1177 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
1180 2014-08-04 Tom Tromey <tromey@redhat.com>
1182 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
1185 2014-08-01 Joel Brobecker <brobecker@adacore.com>
1187 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
1188 inner_vla_struct_object_size.
1189 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
1192 2014-07-30 Pedro Alves <palves@redhat.com>
1194 * gdb.threads/signal-command-handle-nopass.exp (test): Add
1197 2014-07-29 Yao Qi <yao@codesourcery.com>
1200 * gdb.base/until-nodebug.exp: New.
1202 2014-07-28 Doug Evans <xdje42@gmail.com>
1205 * gdb.guile/scm-parameter.exp: Add tests for trying to create
1206 previously existing parameter, and previously ambiguously spelled
1209 2014-07-28 Will Newton <will.newton@linaro.org>
1211 * gdb.base/varargs.exp: Remove KFAILs for ARM.
1213 2014-07-26 Ludovic Courtès <ludo@gnu.org>
1214 Doug Evans <xdje42@gmail.com>
1217 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
1219 2014-07-25 Pedro Alves <palves@redhat.com>
1221 * gdb.threads/signal-command-handle-nopass.c: New file.
1222 * gdb.threads/signal-command-handle-nopass.exp: New file.
1223 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
1224 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
1225 * gdb.threads/signal-delivered-right-thread.c: New file.
1226 * gdb.threads/signal-delivered-right-thread.exp: New file.
1228 2014-07-25 Pedro Alves <palves@redhat.com>
1230 * gdb.base/double-prompt-target-event-error.exp
1231 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
1233 (cancel_pagination_in_target_event): Rework double prompt
1235 * gdb.base/paginate-after-ctrl-c-running.exp
1236 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
1238 * gdb.base/paginate-bg-execution.exp
1239 (test_bg_execution_pagination_return)
1240 (test_bg_execution_pagination_cancel): Remove '-notransfer
1242 * gdb.base/paginate-execution-startup.exp
1243 (test_fg_execution_pagination_return)
1244 (test_fg_execution_pagination_cancel): Remove '-notransfer
1246 * gdb.base/paginate-inferior-exit.exp
1247 (test_paginate_inferior_exited): Remove '-notransfer <return>'
1249 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
1250 * lib/gdb.exp (pagination_prompt): Run text through
1252 (gdb_test_multiple): Match $pagination_prompt instead of
1254 (string_to_regexp): Move to lib/gdb-utils.exp.
1256 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1258 * gdb.arch/amd64-entry-value-paramref.S: New file.
1259 * gdb.arch/amd64-entry-value-paramref.cc: New file.
1260 * gdb.arch/amd64-entry-value-paramref.exp: New file.
1261 * gdb.arch/amd64-optimout-repeat.S: New file.
1262 * gdb.arch/amd64-optimout-repeat.c: New file.
1263 * gdb.arch/amd64-optimout-repeat.exp: New file.
1265 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1268 * gdb.base/statistics.exp: New file.
1270 2014-07-17 Doug Evans <dje@google.com>
1273 * gdb.base/maint.exp: Update testing of per-command stats.
1275 2014-07-16 Pedro Alves <palves@redhat.com>
1277 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
1278 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
1279 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
1280 (tfile_write_buf): New functions.
1281 (add_memory_block): Rewrite using the above.
1282 (adjust_function_address): New function.
1283 (FUNCTION_ADDRESS): New macro.
1284 (write_basic_trace_file): Remove short_x local, and use
1285 tfile_write_16. Change type of func_addr local to unsigned long
1286 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
1287 here. Cast argument of add_memory_block to char pointer.
1288 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
1289 (main): Remove parameters.
1290 * gdb.trace/tfile.exp: Remove nowarnings.
1292 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1294 * gdb.base/debug-expr.exp: Test string evaluation with
1295 "debug expression" on.
1297 2014-07-15 Pedro Alves <palves@redhat.com>
1299 * gdb.base/reread.exp: Use clean_restart.
1301 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1303 * gdb.arch/avr-flash-qualifer.c: New.
1304 * gdb.arch/avr-flash-qualifer.exp: New.
1306 2014-07-14 Pedro Alves <palves@redhat.com>
1308 * gdb.base/paginate-after-ctrl-c-running.c: New file.
1309 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1311 2014-07-14 Pedro Alves <palves@redhat.com>
1313 * gdb.base/double-prompt-target-event-error.c: New file.
1314 * gdb.base/double-prompt-target-event-error.exp: New file.
1316 2014-07-14 Pedro Alves <palves@redhat.com>
1319 * gdb.base/paginate-inferior-exit.c: New file.
1320 * gdb.base/paginate-inferior-exit.exp: New file.
1322 2014-07-14 Pedro Alves <palves@redhat.com>
1325 * gdb.base/paginate-bg-execution.c: New file.
1326 * gdb.base/paginate-bg-execution.exp: New file.
1328 2014-07-14 Pedro Alves <palves@redhat.com>
1331 * gdb.base/paginate-execution-startup.c: New file.
1332 * gdb.base/paginate-execution-startup.exp: New file.
1333 * lib/gdb.exp (pagination_prompt): New global.
1334 (default_gdb_spawn): New procedure, factored out from
1336 (default_gdb_start): Adjust to call default_gdb_spawn.
1337 (gdb_spawn): New procedure.
1339 2014-07-14 Pedro Alves <palves@redhat.com>
1341 * lib/gdb.exp (gdb_assert): New procedure.
1342 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
1344 2014-07-14 Pedro Alves <palves@redhat.com>
1346 * gdb.base/execution-termios.c: New file.
1347 * gdb.base/execution-termios.exp: New file.
1349 2014-07-14 Tom Tromey <tromey@redhat.com>
1351 * gdb.cp/vla-cxx.cc: New file.
1352 * gdb.cp/vla-cxx.exp: New file.
1354 2014-07-14 Tom Tromey <tromey@redhat.com>
1356 * gdb.reverse/rerun-prec.c: New file.
1357 * gdb.reverse/rerun-prec.exp: New file.
1359 2014-07-12 Maciej W. Rozycki <macro@mips.com>
1360 Maciej W. Rozycki <macro@codesourcery.com>
1362 * lib/gdb-utils.exp: New file.
1363 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
1364 inline `gdb_init_command' processing.
1365 (gdb_start_cmd): Likewise.
1366 * lib/mi-support.exp (mi_run_cmd): Likewise.
1367 * README: Document `gdb_init_command' and `gdb_init_commands'.
1369 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1371 Fix false FAIL running under a very long directory name.
1372 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1373 and "set print elements 10000". Twice.
1375 2014-07-11 Yao Qi <yao@codesourcery.com>
1377 * gdb.base/exprs.exp: "set print symbol off".
1379 2014-07-11 Pedro Alves <palves@redhat.com>
1381 * gdb.threads/kill.c: New file.
1382 * gdb.threads/kill.exp: New file.
1384 2014-07-10 Yao Qi <yao@codesourcery.com>
1386 * gdb.trace/tfile.c (write_basic_trace_file)
1387 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1388 address written to trace file.
1390 2014-07-09 Pedro Alves <palves@redhat.com>
1392 * gdb.base/attach-wait-input.exp: New file.
1393 * gdb.base/attach-wait-input.c: New file.
1395 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1397 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1398 setting up test structures.
1399 (main): Call new test function.
1400 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1401 test function, continue into test function and walk test
1404 2014-07-02 Yao Qi <yao@codesourcery.com>
1406 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1407 'bar_start' at the beginning of functions 'foo' and 'bar'
1409 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1410 instead of 'foo' and 'bar'.
1412 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1414 * gdb.btrace/segv.exp: New.
1415 * gdb.btrace/segv.c: New.
1417 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
1419 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1422 2014-06-30 Mark Wielaard <mjw@redhat.com>
1424 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1425 vulture, vilify, villar): New volatile array constants.
1426 (vindictive, vegetation): New const volatile array constants.
1427 * gdb.base/volatile.exp: Test volatile and const volatile array
1430 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1432 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1433 target lacks support for awatch, rwatch, or hbreak.
1435 2014-06-27 Yao Qi <yao@codesourcery.com>
1437 * gdb.multi/dummy-frame-restore.exp: New.
1438 * gdb.multi/dummy-frame-restore.c: New.
1440 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1442 * gdb.btrace/gcore.exp: New.
1444 2014-06-23 Pedro Alves <palves@redhat.com>
1446 * gdb.base/watchpoint-reuse-slot.c: New file.
1447 * gdb.base/watchpoint-reuse-slot.exp: New file.
1449 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1451 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1452 progspace's filename in 'info', 'enable' and 'disable' command
1455 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1457 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1458 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1459 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1461 2014-06-20 Gary Benson <gbenson@redhat.com>
1463 * gdb.arch/i386-avx.exp: Fix include file location.
1464 * gdb.arch/i386-sse.exp: Likewise.
1466 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1468 * gdb.dlang/expression.exp: New file.
1470 2014-06-19 Pedro Alves <palves@redhat.com>
1472 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1474 (top level): ... here. Iterate running tests under different
1475 scheduler-locking settings.
1477 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
1479 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1480 to DW_FORM_addr and use non-zero addresses.
1482 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1485 * gdb.python/py-xmethods.cc: Add global function call counters and
1486 increment them in their respective functions. Remove "cout"
1488 * gdb.python/py-xmethods.exp: Make tests check the global function
1489 call counters instead of depending on inferior IO.
1491 2014-06-18 Don Breazeal <donb@codesourcery.com>
1493 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1495 (explicit_fork_parent_follow): Deleted procedure.
1496 (explicit_fork_child_follow): Deleted procedure.
1497 (test_follow_fork): New procedure.
1498 (do_fork_tests): Replace calls to deleted procedures with
1499 calls to test_follow_fork and reset GDB for subsequent
1502 2014-06-17 Yao Qi <yao@codesourcery.com>
1504 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1507 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
1509 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1510 Initialize ptr and S explicitly.
1511 (skip_type_update_when_not_use_rtti_test): Likewise.
1513 2014-06-16 Keith Seitz <keiths@redhat.com>
1516 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1517 the inferior is started.
1519 2014-06-16 Pedro Alves <palves@redhat.com>
1521 * gdb.base/break-main-file-remove-fail.c: New file.
1522 * gdb.base/break-main-file-remove-fail.exp: New file.
1523 * gdb.base/break-unload-file.exp: Use build_executable instead of
1524 prepare_for_testing.
1525 (test_break): New parameter "initial_load". Handle it.
1526 (top level): Add initial_load cmdline/file axis.
1528 2014-06-12 Tom Tromey <tromey@redhat.com>
1530 * gdb.base/completion.exp: Don't use directory name in test.
1532 2014-06-09 Gary Benson <gbenson@redhat.com>
1534 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1535 separate the always-available ANSI-standard signals from the
1536 signals that require checking.
1538 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1542 2014-06-07 Keith Seitz <keiths@redhat.com>
1546 * gdb.cp/var-tag.cc: New file.
1547 * gdb.cp/var-tag.exp: New file.
1548 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1549 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1550 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1551 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1553 2014-06-06 Doug Evans <xdje42@gmail.com>
1555 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1557 2014-06-06 Pedro Alves <palves@redhat.com>
1559 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1560 in target debug output instead of looking at RSP packets,
1561 disabling the test on any target that uses hardware stepping.
1564 2014-06-06 Pedro Alves <palves@redhat.com>
1566 * gdb.base/break-unload-file.exp: Fix typo.
1568 2014-06-06 Yao Qi <yao@codesourcery.com>
1570 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1571 from "jit_function" to "^jit_function".
1573 2014-06-06 Yao Qi <yao@codesourcery.com>
1575 * gdb.base/async.c (foo): Add one statement.
1576 * gdb.base/async.exp: Get the next instruction address and
1577 match the output of "nexti" by instruction address. Match
1578 the hex address in the output of "finish".
1580 2014-06-06 Gary Benson <gbenson@redhat.com>
1582 * gdb.base/call-signals.c: Remove preprocessor conditionals
1583 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1584 SIGSEGV and SIGTERM.
1585 * gdb.base/sigall.c: Likewise.
1586 * gdb.base/unwindonsignal.c: Likewise.
1587 * gdb.reverse/sigall-reverse.c: Likewise.
1589 2014-06-06 Yao Qi <yao@codesourcery.com>
1591 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1592 readable, skip the test.
1594 2014-06-06 Yao Qi <yao@codesourcery.com>
1596 * gdb.threads/staticthreads.c (thread_function): Move the line
1597 setting breakpoint on forward.
1598 * gdb.threads/staticthreads.exp: Update comments.
1600 2014-06-05 Ludovic Courtès <ludo@gnu.org>
1602 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1603 "history-append! type error".
1605 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1607 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1608 erroneous dprintf expected input.
1610 2014-06-04 Doug Evans <xdje42@gmail.com>
1612 * gdb.guile/scm-generics.exp: Delete.
1614 2014-06-04 Doug Evans <xdje42@gmail.com>
1616 * gdb.guile/scm-breakpoint.exp: Update.
1617 Add tests for breakpoint registration.
1619 2014-06-04 Tom Tromey <tromey@redhat.com>
1621 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1623 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1624 inner_vla_struct, vla_union types. Initialize objects of those
1625 types and compute their sizes.
1627 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1628 Hui Zhu <hui@codesourcery.com>
1630 * gdb.base/fileio.exp: Add test for shell not available as well as
1632 * gdb.base/fileio.c (test_system): Check for shell twice.
1634 2014-06-04 Yao Qi <yao@codesourcery.com>
1636 * gdb.base/auto-connect-native-target.exp: Remove redundant
1637 space from the regexp pattern.
1639 2014-06-04 Yao Qi <yao@codesourcery.com>
1641 * gdb.base/default.exp: Replace "child" with "native" in
1644 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1646 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1647 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1648 * gdb.python/py-xmethods.py: Python script supporting the
1649 new testcase and tests.
1651 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1652 Pedro Alves <palves@redhat.com>
1654 PR breakpoints/17000
1655 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1656 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1658 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1660 * gdb.base/subst.exp: Add tests to verify partial path matching
1663 2014-06-03 Pedro Alves <palves@redhat.com>
1665 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1666 target that doesn't use software single-stepping.
1668 2014-06-03 Pedro Alves <palves@redhat.com>
1670 PR breakpoints/17000
1671 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1672 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1674 2014-06-02 Doug Evans <xdje42@gmail.com>
1676 * gdb.guile/scm-parameter.exp: New file.
1678 2014-06-02 Doug Evans <xdje42@gmail.com>
1680 * gdb.guile/scm-cmd.c: New file.
1681 * gdb.guile/scm-cmd.exp: New file.
1683 2014-06-02 Doug Evans <xdje42@gmail.com>
1685 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1686 pretty-printer lookup.
1687 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1688 (make-pp_s-printer): Call it.
1689 (make-pretty-printer-from-dict): New function.
1690 (lookup-pretty-printer-maker-from-dict): New function.
1691 (*pretty-printer*): Simplify.
1692 (make-objfile-pp_s-printer): New function.
1693 (install-objfile-pretty-printers!): New function.
1694 (make-progspace-pp_s-printer): New function.
1695 (install-progspace-pretty-printers!): New function.
1696 * gdb.guile/scm-progspace.c: New file.
1697 * gdb.guile/scm-progspace.exp: New file.
1699 2014-06-02 Pedro Alves <palves@redhat.com>
1701 * gdb.base/dprintf-bp-same-addr.c: New file.
1702 * gdb.base/dprintf-bp-same-addr.exp: New file.
1704 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1706 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1707 * gdb.arch/powerpc-power.s: Likewise.
1709 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1711 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1713 2014-06-01 Yao Qi <yao@codesourcery.com>
1715 * gdb.base/watchpoint.exp (test_watch_location): Check null
1716 pointer can be dereferenced. If not, do the test, otherwise
1719 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1721 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1723 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1725 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1727 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1728 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1729 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1730 * gdb.arch/amd64-invalid-stack-top.c: New file.
1731 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1733 2014-05-30 Pedro Alves <palves@redhat.com>
1735 PR breakpoints/17000
1736 * gdb.base/sss-bp-on-user-bp.c: New file.
1737 * gdb.base/sss-bp-on-user-bp.exp: New file.
1739 2014-05-30 David Blaikie <dblaikie@gmail.com>
1741 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1742 gnu_inline semantics via attribute.
1743 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1744 source explicitly specifies the required semantics.
1746 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1748 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1750 2014-05-29 Pedro Alves <palves@redhat.com>
1751 Tom Tromey <tromey@redhat.com>
1753 * gdb.base/async-shell.exp: Don't enable target-async.
1754 * gdb.base/async.exp
1755 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1757 (top level): Don't test with "target-async".
1758 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1759 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1760 * gdb.base/inferior-died.exp: Don't enable target-async.
1761 * gdb.base/interrupt-noterm.exp: Likewise.
1762 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1763 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1764 * gdb.mi/mi-nonstop.exp: Likewise.
1765 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1766 * gdb.mi/mi-nsintrall.exp: Likewise.
1767 * gdb.mi/mi-nsmoribund.exp: Likewise.
1768 * gdb.mi/mi-nsthrexec.exp: Likewise.
1769 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1770 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1771 * gdb.python/py-evsignal.exp: Don't enable target-async.
1772 * gdb.python/py-evthreads.exp: Likewise.
1773 * gdb.python/py-prompt.exp: Likewise.
1774 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1775 * gdb.server/solib-list.exp: Don't enable target-async.
1776 * gdb.threads/thread-specific-bp.exp: Likewise.
1777 * lib/mi-support.exp: Adjust to use mi-async.
1779 2014-05-29 Pedro Alves <palves@redhat.com>
1782 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1783 reason, even in sync mode.
1785 2014-05-29 Pedro Alves <palves@redhat.com>
1786 Hui Zhu <hui@codesourcery.com>
1789 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1790 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1791 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1792 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1794 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1796 * config/monitor.exp (gdb_target_monitor): Replace use of
1797 "set remotebaud" by "set serial baud".
1799 2014-05-26 Andy Wingo <wingo@igalia.com>
1801 * gdb.guile/scm-breakpoint.exp:
1802 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1803 properties instead of gdb-object-properties.
1805 2014-05-26 Yao Qi <yao@codesourcery.com>
1807 * gdb.server/no-thread-db.exp: Specify source file name
1808 explicitly when setting a breakpoint.
1810 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1812 * gdb.btrace/vdso.c: New.
1813 * gdb.btrace/vdso.exp: New.
1815 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1817 * gdb.base/gcore.exp (capture_command_output): Move ...
1818 * lib/gdb.exp (capture_command_output): ... here.
1820 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1822 * gdb.btrace/data.exp: Test memory access during btrace replay.
1824 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1826 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1828 2014-05-21 Pedro Alves <palves@redhat.com>
1831 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1832 (top level): Test that output related to execution commands is
1833 sent to the console with CLI commands, but not with MI commands.
1834 Test that breakpoint events are always mirrored to the console.
1835 Also expect the new source line to be output after a "next" in
1836 async mode too. Make it a pass/fail test.
1837 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1839 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1841 2014-05-21 Pedro Alves <palves@redhat.com>
1843 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1844 Use them to test variations of "list" after reaching a breakpoint.
1845 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1846 Test "list" with listsize 10 after reaching a breakpoint.
1847 * gdb.python/python.exp (decode_line current location line
1848 number): Adjust expected line number.
1850 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1852 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1853 behavior for $args, pass it directly to "run".
1855 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1857 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1860 2014-05-21 Pedro Alves <palves@redhat.com>
1862 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1863 auto-connect-native-target off".
1864 * gdb.base/auto-connect-native-target.c: New file.
1865 * gdb.base/auto-connect-native-target.exp: New file.
1867 2014-05-21 Pedro Alves <palves@redhat.com>
1869 * gdb.base/default.exp: Test "target native" instead of "target
1872 2014-05-21 Mark Wielaard <mjw@redhat.com>
1874 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1876 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1878 Fix TLS access for -static -pthread.
1879 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1880 <HAVE_TLS> (thread_function, main): Initialize it.
1881 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1883 <$have_tls != "">: Check TLSVAR.
1885 2014-05-21 Pedro Alves <palves@redhat.com>
1887 * gdb.base/dcache-line-read-error.c: New.
1888 * gdb.base/dcache-line-read-error.exp: New.
1890 2014-05-20 Pedro Alves <palves@redhat.com>
1892 * gdb.base/compare-sections.c: New file.
1893 * gdb.base/compare-sections.exp: New file.
1895 2014-05-20 Pedro Alves <palves@redhat.com>
1897 * gdb.base/break-idempotent.c: New file.
1898 * gdb.base/break-idempotent.exp: New file.
1900 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1902 * gdb.btrace/nohist.exp: New.
1904 2014-05-20 Yao Qi <yao@codesourcery.com>
1906 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1907 gdb.reverse directory and gdb_reverse_timeout exists in board
1909 * README: Document gdb_reverse_timeout.
1911 2014-05-20 Yao Qi <yao@codesourcery.com>
1913 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1914 'test_file_name'. Treat args as a string instead of a list.
1915 (gdb_init): Rename argument 'args' by 'test_file_name'.
1917 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1919 * gdb.arch/powerpc-power.exp: New file.
1920 * gdb.arch/powerpc-power.s: New file.
1922 2014-05-16 Doug Evans <dje@google.com>
1924 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
1925 * gdb.base/completion.exp: Check that all expected files exist
1926 before doing file completion.
1928 2014-05-16 Doug Evans <dje@google.com>
1930 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1932 (do_syscall_tests_without_xml): Update.
1934 2014-05-16 Pedro Alves <palves@redhat.com>
1936 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1937 instead of "unknown output after running".
1939 2014-05-16 Yao Qi <yao@codesourcery.com>
1941 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1942 file1.txt from host at the end.
1943 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1945 2014-05-15 Doug Evans <dje@google.com>
1947 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1948 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1949 loading file. Add test for TU lookup.
1951 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1953 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1954 calling "-exec-arguments" or "set args" before running the
1957 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1959 * lib/mi-support.exp (mi_expect_stop): Expect message for
1960 inferiors that exit with non-zero exit code.
1962 2014-05-14 Yao Qi <yao@codesourcery.com>
1964 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1965 match absolute path on remote host.
1966 (test_file_list_exec_source_files): Remove "/" from the
1969 2014-05-14 Yao Qi <yao@codesourcery.com>
1971 * boards/local-remote-host-notty.exp (${board}_file): New
1974 2014-05-07 Kyle McMartin <kyle@redhat.com>
1976 Pushed by Joel Brobecker <brobecker@adacore.com>.
1977 * gdb.arch/aarch64-atomic-inst.c: New file.
1978 * gdb.arch/aarch64-atomic-inst.exp: New file.
1980 2014-05-07 Yao Qi <yao@codesourcery.com>
1982 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1983 in current context" too.
1985 2014-05-05 Keith Seitz <keiths@redhat.com>
1987 * gdb.linespec/ls-dollar.exp: Add test for linespec
1988 file:convenience_variable.
1990 2014-05-05 Yao Qi <yao@codesourcery.com>
1992 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
1993 traceframes into tfile and ctf trace files. Read data from
1994 trace file and test collected data.
1995 (gdb_collect_locals_test): Likewise.
1996 (gdb_unavailable_registers_test): Likewise.
1997 (gdb_unavailable_floats): Likewise.
1998 (gdb_collect_globals_test): Likewise.
1999 (top-level): Append "ctf" to trace_file_targets if GDB
2002 2014-05-05 Yao Qi <yao@codesourcery.com>
2004 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
2006 (gdb_collect_args_test_1): ... it. New proc.
2007 (gdb_collect_locals_test): Move some code to ...
2008 (gdb_collect_locals_test_1): ... it. New proc.
2009 (gdb_unavailable_registers_test): Move some code to ...
2010 (gdb_unavailable_registers_test_1): ... it. New proc.
2011 (gdb_unavailable_floats): Move some code to ...
2012 (gdb_unavailable_floats_1): ... it. New proc.
2014 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2016 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
2017 probes to test for bitness recognition.
2018 * gdb.arch/amd64-stap-optional-prefix.exp
2019 (test_probe_value_without_reg): New procedure.
2020 Add code to test for different kinds of bitness.
2022 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2024 PR breakpoints/16889
2025 * gdb.arch/amd64-stap-optional-prefix.S: New file.
2026 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2028 2014-05-01 Pedro Alves <palves@redhat.com>
2030 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
2031 gdb_file_cmd if no file is specified.
2032 * boards/native-extended-gdbserver.exp (gdb_load): Use the
2033 last_loaded_file to set the remote exec-file.
2035 2014-05-01 Pedro Alves <palves@redhat.com>
2037 * boards/local-remote-host.exp: New file.
2039 2014-05-01 Pedro Alves <palves@redhat.com>
2041 * boards/local-remote-host.exp: Rename to ...
2042 * boards/local-remote-host-notty.exp: ... this.
2044 2014-04-28 Joel Brobecker <brobecker@adacore.com>
2046 * gdb.ada/dyn_arrayidx: New testcase.
2048 2014-04-26 Yao Qi <yao@codesourcery.com>
2050 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
2051 and compute the length of function main. Save it in
2053 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
2054 (top-level): Use gdb_compile to compile objects into
2055 executable and restart GDB. Remove invocation to
2056 prepare_for_testing.
2058 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
2059 Pedro Alves <palves@redhat.com>
2062 * gdb.multi/multi-attach.c: New file.
2063 * gdb.multi/multi-attach.exp: New file.
2065 2014-04-25 Pedro Alves <palves@redhat.com>
2067 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
2069 (top level): Test that "set remote conditional-breakpoints-packet
2070 off" works as intended.
2071 * gdb.base/dprintf.exp: Test that "set remote
2072 breakpoint-commands-packet off" works as intended.
2073 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
2075 (top level): Call it.
2076 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
2077 remote fast-tracepoints-packet off" works as intended.
2078 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
2079 * lib/gdb.exp (gdb_is_target_remote): ... here.
2081 2014-04-24 David Blaikie <dblaikie@gmail.com>
2083 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
2084 ensure clang would not discard them.
2085 * gdb.base/gdbvars.c: Ditto.
2086 * gdb.base/memattr.c: Ditto.
2087 * gdb.base/whatis.c: Ditto.
2088 * gdb.python/py-prettyprint.c: Ditto.
2089 * gdb.trace/actions.c: Ditto.
2090 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
2091 ensure clang would not discard it.
2093 2014-04-24 David Blaikie <dblaikie@gmail.com>
2095 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
2096 clang to emit the full definition of type required by the test
2097 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
2099 2014-04-24 David Blaikie <dblaikie@gmail.com>
2101 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
2102 coax Clang into emitting the definition of the type.
2103 * gdb.cp/pr10728-x.h (y): Ditto.
2104 * gdb.cp/pr10728-y.cc (y): Ditto.
2106 2014-04-24 David Blaikie <dblaikie@gmail.com>
2108 * gdb.base/label.exp: XFAIL label related tests under Clang.
2109 * gdb.cp/cplabel.exp: Ditto.
2110 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
2111 under Clang those using labels.
2113 2014-04-25 Yao Qi <yao@codesourcery.com>
2115 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
2117 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
2118 partial_label and double_label.
2120 2014-04-24 David Blaikie <dblaikie@gmail.com>
2122 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
2124 2014-04-24 David Blaikie <dblaikie@gmail.com>
2126 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
2127 of the function to work across GCC and Clang.
2128 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
2129 pointer types (const void ** const V void **).
2131 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
2132 Walfred Tedeschi <walfred.tedeschi@intel.com>
2134 * Makefile.in (EXECUTABLES): Added i386-avx512.
2135 * gdb.arch/i386-avx512.c: New file.
2136 * gdb.arch/i386-avx512.exp: Likewise.
2138 2014-04-23 Keith Seitz <keiths@redhat.com>
2140 * lib/mi-support.exp (mi_list_breakpoints): Delete.
2141 (mi_make_breakpoint_table): New procedure.
2142 (mi_create_breakpoint): Use mi_make_breakpoint
2143 and return the result.
2144 (mi_make_breakpoint): New procedure.
2145 (mi_build_kv_pairs): New procedure.
2147 * gdb.mi/mi-break.exp: Remove unused globals,
2148 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
2149 All callers updated.
2150 * gdb.mi/mi-dprintf.exp: Use variable to track command
2152 Update all callers of mi_create_breakpoint and use
2153 mi_make_breakpoint_table.
2154 Remove any unused global variables.
2155 * gdb.mi/mi-nonstop.exp: Likewise.
2156 * gdb.mi/mi-nsintrall.exp: Likewise.
2157 * gdb.mi/mi-nsmoribund.exp: Likewise.
2158 * gdb.mi/mi-nsthrexec.exp: Likewise.
2159 * gdb.mi/mi-reverse.exp: Likewise.
2160 * gdb.mi/mi-simplerun.exp: Likewise.
2161 * gdb.mi/mi-stepn.exp: Likewise.
2162 * gdb.mi/mi-syn-frame.exp: Likewise.
2163 * gdb.mi/mi-until.exp: Likewise.
2164 * gdb.mi/mi-var-cp.exp: Likewise.
2165 * gdb.mi/mi-var-display.exp: Likewise.
2166 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2167 * gdb.mi/mi2-var-child.exp: Likewise.
2168 * gdb.mi/mi-vla-c99.exp: Likewise.
2169 * lib/mi-support.exp: Likewise.
2171 From Ian Lance Taylor <iant@cygnus.com>:
2172 * lib/gdb.exp (parse_args): New procedure.
2174 2014-04-23 Pedro Alves <palves@redhat.com>
2176 * gdb.base/break-unload-file.c: New file.
2177 * gdb.base/break-unload-file.exp: New file.
2178 * gdb.base/sym-file-lib.c (baz): New function.
2179 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
2181 (load): Store the segment's mapped size.
2182 (unload): New function.
2183 (unload_shlib): New function.
2184 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
2185 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
2186 set a breakpoint at baz, and call it.
2187 * gdb.base/sym-file.exp: New tests for stale breakpoint
2190 2014-04-23 Pedro Alves <palves@redhat.com>
2192 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
2193 * gdb.base/hbreak-in-shr-unsupported.c: New file.
2194 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
2195 * gdb.base/hbreak-unmapped.c: New file.
2196 * gdb.base/hbreak-unmapped.exp: New file.
2197 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
2198 * lib/gdb.exp (gdb_is_target_remote): ... here.
2200 2014-04-22 Pedro Alves <palves@redhat.com>
2202 * gdb.base/consecutive-step-over.c: New file.
2203 * gdb.base/consecutive-step-over.exp: New file.
2205 2014-04-22 Pedro Alves <palves@redhat.com>
2207 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
2208 instead of send_gdb/gdb_expect.
2210 2014-04-22 Yao Qi <yao@codesourcery.com>
2212 * lib/trace-support.exp (generate_tracefile): New procedure.
2213 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
2215 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
2216 if generate_tracefile returns 1.
2218 2014-04-18 Tom Tromey <palves@redhat.com>
2219 Pedro alves <tromey@redhat.com>
2222 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
2223 with a backtrace limit.
2224 * gdb.python/py-frame-inline.exp: Test running to an inline
2225 function with a backtrace limit, and printing the newest frame.
2226 * gdb.python/py-frame-inline.c (main): Call f.
2228 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2230 * gdb.java/jnpe.exp: Drop srcdir from untested path.
2232 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2234 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
2235 Drop prefix from unsupported source file path.
2237 2014-04-17 Yao Qi <yao@codesourcery.com>
2239 * lib/gdb.exp (with_target_charset): New proc.
2240 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
2241 with_target_charset.
2242 (test_print_strings): Likewise.
2243 (test_repeat_bytes): Likewise.
2244 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
2247 2014-04-16 Keith Seitz <keiths@redhat.com>
2250 * gdb.dwarf2/corrupt.c: New file.
2251 * gdb.dwarf2/corrupt.exp: New file.
2253 2014-04-16 Keith Seitz <keiths@redhat.com>
2256 * gdb.cp/namelessclass.cc: New file.
2257 * gdb.cp/namelessclass.exp: New file.
2258 * gdb.cp/namelessclass.S: New file.
2260 2014-04-16 Doug Evans <dje@google.com>
2262 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
2264 (gdbserver_default_get_comm_port): New function.
2265 (gdbserver_start): Check if board file provided
2266 "gdbserver,get_comm_port" and use it if so.
2267 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
2268 (gdb,socketport): Set to "stdio".
2269 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
2270 (stdio_gdbserver_template): Delete.
2271 (${board}_get_remote_address): Update.
2272 (${board}_build_remote_cmd): Delete.
2273 (${board}_get_comm_port): New function.
2274 (${board}_spawn): Update.
2275 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
2277 (${board}_get_remote_address): Update.
2278 (${board}_get_comm_port): New function.
2280 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
2282 * gdb.base/memattr.exp: Improve regexps to handle memory regions
2283 appearing in any order.
2285 2014-04-15 Doug Evans <dje@google.com>
2287 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
2288 uninitialized value of "description".
2290 2014-04-15 Keith Seitz <keiths@redhat.com>
2292 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
2293 Remove unused globals.
2294 (test_running_the_program): Likewise.
2295 (test_controlled_execution): Likewise.
2296 (test_controlling_breakpoints): Likewise.
2297 (test_program_termination): Likewise.
2299 2014-04-15 Keith Seitz <keiths@redhat.com>
2301 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
2303 (test_rbreak_creation_and_listing): Likewise.
2304 (test_ignore_count): Likewise.
2305 (test_error): Likewise.
2307 2014-04-15 Pedro Alves <palves@redhat.com>
2309 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2310 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2312 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2313 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2314 to sym-file-loader.c.
2315 (struct library): Forward declare.
2316 (load_shlib, lookup_function): Change prototypes.
2317 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2318 (translate_offset): Remove declarations.
2319 (get_text_addr): New declaration.
2320 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2321 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2323 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2324 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2325 here from sym-file-loader.h.
2326 (struct library): New structure.
2327 (load_shlib, lookup_function): Change prototypes and adjust to
2328 work with a struct library.
2329 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2330 (translate_offset): Make static.
2331 (get_text_addr): New function.
2332 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
2334 2014-04-15 Pedro Alves <palves@redhat.com>
2336 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
2338 2014-04-15 Pedro Alves <palves@redhat.com>
2340 * gdb.base/sym-file-loader.c: Include <limits.h>.
2341 (SELF_LINK): New define.
2342 (get_origin): New function.
2343 (load_shlib): Use it.
2344 * gdb.base/sym-file.exp: Don't early return if the target is
2345 remote. Use runto_main, and issue fail is that fails. Use
2347 (shlib_name): Delete.
2348 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
2350 2014-04-15 Pedro Alves <palves@redhat.com>
2352 * gdb.base/sym-file.exp: Remove regex characters from test
2353 message. Don't refer to breakpoint numbers in test messages.
2355 2014-04-14 Keith Seitz <keiths@redhat.com>
2358 * gdb.cp/var-tag.cc: New file.
2359 * gdb.cp/var-tag.exp: New file.
2360 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2361 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2362 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2363 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2365 2014-04-14 Tom Tromey <tromey@redhat.com>
2367 * gdb.cp/classes.exp (test_enums): Handle underlying type.
2368 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
2370 * gdb.cp/enum-class.exp: New file.
2371 * gdb.cp/enum-class.cc: New file.
2373 2014-04-14 Tom Tromey <tromey@redhat.com>
2375 * gdb.dwarf2/enum-type.exp: New file.
2377 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2379 * gdb.mi/mi-vla-c99.exp: New file.
2380 * gdb.mi/vla.c: New file.
2382 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2384 * gdb.base/vla-datatypes.c: New file.
2385 * gdb.base/vla-datatypes.exp: New file.
2387 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2389 * gdb.base/vla-ptr.c: New file.
2390 * gdb.base/vla-ptr.exp: New file.
2392 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2394 * gdb.dwarf2/count.exp: New file.
2396 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2398 * gdb.base/vla-sideeffect.c: New file.
2399 * gdb.base/vla-sideeffect.exp: New file.
2401 2014-04-14 David Blaikie <dblaikie@gmail.com>
2403 * gdb.mi/non-stop.c: Add return value for non-void function return
2405 * gdb.threads/staticthreads.c: Ditto.
2407 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2408 Doug Evans <xdje42@gmail.com>
2410 * gdb.guile/scm-value.c: Improve test case.
2411 * gdb.guile/scm-value.exp: Add new test.
2413 2014-04-11 David Blaikie <dblaikie@gmail.com>
2415 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2416 override Clang's default.
2418 2014-04-11 Joel Brobecker <brobecker@adacore.com>
2420 Revert the following changes (regressions):
2422 * gdb.base/vla-sideeffect.c: New file.
2423 * gdb.base/vla-sideeffect.exp: New file.
2425 * gdb.dwarf2/count.exp: New file.
2427 * gdb.base/vla-multi.c: New file.
2428 * gdb.base/vla-multi.exp: New file.
2430 * gdb.base/vla-ptr.c: New file.
2431 * gdb.base/vla-ptr.exp: New file.
2433 * gdb.base/vla-datatypes.c: New file.
2434 * gdb.base/vla-datatypes.exp: New file.
2436 * gdb.mi/mi-vla-c99.exp: New file.
2437 * gdb.mi/vla.c: New file.
2439 2014-04-11 Keith Seitz <keiths@redhat.com>
2442 * gdb.cp/cpsizeof.exp: New file.
2443 * gdb.cp/cpsizeof.cc: New file.
2445 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2447 * gdb.mi/mi-vla-c99.exp: New file.
2448 * gdb.mi/vla.c: New file.
2450 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2452 * gdb.base/vla-datatypes.c: New file.
2453 * gdb.base/vla-datatypes.exp: New file.
2455 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2457 * gdb.base/vla-ptr.c: New file.
2458 * gdb.base/vla-ptr.exp: New file.
2460 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2462 * gdb.base/vla-multi.c: New file.
2463 * gdb.base/vla-multi.exp: New file.
2465 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2467 * gdb.dwarf2/count.exp: New file.
2469 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2471 * gdb.base/vla-sideeffect.c: New file.
2472 * gdb.base/vla-sideeffect.exp: New file.
2474 2014-04-11 Yao Qi <yao@codesourcery.com>
2476 * gdb.base/completion.exp: Check file exists before running tests
2479 2014-04-10 Pedro Alves <palves@redhat.com>
2481 * gdb.base/cond-eval-mode.c: New file.
2482 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2483 prepare_for_testing to build the new file. Check result of
2485 (test_break, test_watch): New procedures.
2486 (top level): Use them.
2488 2014-04-08 Pierre Muller <muller@sourceware.org>
2490 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2491 Ctrl-V use for mingw hosts.
2493 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2495 * gdb.python/py-value.c: Improve test case.
2496 * gdb.python/py-value.exp: Add new test.
2498 2014-04-07 David Blaikie <dblaikie@gmail.com>
2500 * lib/compiler.c: Identify the clang compiler.
2501 * lib/compiler.cc: Ditto.
2503 2014-04-03 Yao Qi <yao@codesourcery.com>
2505 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2507 2014-04-01 Anton Blanchard <anton@samba.org>
2509 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2512 2014-04-01 Anton Blanchard <anton@samba.org>
2514 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2515 prepare_for_testing.
2517 2014-04-01 Anton Blanchard <anton@samba.org>
2519 * gdb.arch/ppc64-atomic-inst.c: Remove.
2520 * gdb.arch/ppc64-atomic-inst.S: New file.
2521 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2523 2014-03-31 Doug Evans <dje@google.com>
2525 * gdb.base/print-symbol-loading-lib.c: New file.
2526 * gdb.base/print-symbol-loading-main.c: New file.
2527 * gdb.base/print-symbol-loading.exp: New file.
2529 2014-03-31 Yao Qi <yao@codesourcery.com>
2531 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2533 2014-03-28 Joel Brobecker <brobecker@adacore.com>
2535 * gdb.ada/mi_dyn_arr: New testcase.
2537 2014-03-27 Doug Evans <dje@google.com>
2539 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2541 2014-03-27 Yao Qi <yao@codesourcery.com>
2543 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2544 if target is nios2-*-*.
2546 2014-03-26 Yao Qi <yao@codesourcery.com>
2548 * lib/gdb.exp (readline_is_used): New proc.
2549 * gdb.base/completion.exp: Move tests on command complete up.
2550 Skip the rest of tests if readline is not used.
2551 * gdb.ada/complete.exp: Skp the test if readline is not
2553 * gdb.base/filesym.exp: Likewise.
2554 * gdb.base/macscp.exp: Likewise.
2555 * gdb.base/readline-ask.exp: Likewise.
2556 * gdb.base/readline.exp: Likewise.
2557 * gdb.python/py-cmd.exp: Likewise.
2558 * gdb.trace/tfile.exp: Likewise.
2560 2014-03-26 Yao Qi <yao@codesourcery.com>
2562 * gdb.base/macscp.exp: Fix code format issues.
2564 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2566 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2567 * gdb.asm/powerpc64le.inc: New file.
2569 2014-03-25 Pedro Alves <palves@redhat.com>
2570 Doug Evans <dje@google.com>
2572 * gdb.base/source-execution.c: New file.
2573 * gdb.base/source-execution.exp: New file.
2574 * gdb.base/source-execution.gdb: New file.
2576 2014-03-24 Doug Evans <dje@google.com>
2578 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2581 2014-03-24 Hui Zhu <hui@codesourcery.com>
2582 Pedro Alves <palves@redhat.com>
2584 PR breakpoints/16101
2585 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2586 test pass/fail messages. Detect missing support for dprintf when
2587 breakpoints are actually inserted.
2588 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2589 breakpoints are actually inserted.
2590 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2593 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2595 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2597 2014-03-22 Doug Evans <xdje42@gmail.com>
2599 * gdb.python/python.exp (python not supported): Verify multi-line
2600 python command issues an error.
2601 * gdb.guile/guile.exp (guile not supported): Verify multi-line
2602 guile command issues an error.
2604 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2606 * gdb.threads/thread-specific.exp: Handle the lack of usable
2607 $this_breakpoint and $this_thread.
2609 2014-03-21 Hui Zhu <hui@codesourcery.com>
2611 * gdb.base/attach.exp (do_command_attach_tests): New.
2613 2014-03-20 Tom Tromey <tromey@redhat.com>
2614 Pedro Alves <palves@redhat.com>
2617 * gdb.base/condbreak-call-false.c: New file.
2618 * gdb.base/condbreak-call-false.exp: New file.
2620 2014-03-20 Pedro Alves <palves@redhat.com>
2622 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2624 (block_signals, unblock_signals): Delete.
2625 (child_function_2, main): Remove references to deleted variable
2628 2014-03-20 Pedro Alves <palves@redhat.com>
2630 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2631 Use pthread_kill to signal thread 2.
2632 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2633 Adjust to make the test send itself a signal rather than using the
2634 host's "kill" command.
2636 2014-03-20 Pedro Alves <palves@redhat.com>
2638 * gdb.threads/multiple-step-overs.c: New file.
2639 * gdb.threads/multiple-step-overs.exp: New file.
2640 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2641 Adjust expected infrun debug output.
2643 2014-03-20 Pedro Alves <palves@redhat.com>
2645 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2646 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2648 2014-03-20 Pedro Alves <palves@redhat.com>
2651 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2652 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2653 of gdb_test_multiple.
2654 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2655 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2657 2014-03-20 Pedro Alves <palves@redhat.com>
2659 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2660 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2662 2014-03-19 Pedro Alves <palves@redhat.com>
2664 * gdb.base/async.exp: Remove early return.
2666 2014-03-19 Pedro Alves <palves@redhat.com>
2668 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2670 2014-03-19 Pedro Alves <palves@redhat.com>
2672 * gdb.base/async.exp (test_background): Expect \r\n after
2673 "completed." in the fail pattern.
2675 2014-03-19 Pedro Alves <palves@redhat.com>
2677 * gdb.base/async.exp (test_background): New procedure.
2678 Use it for all background execution command tests.
2680 2014-03-19 Pedro Alves <palves@redhat.com>
2682 * gdb.base/async.exp: Use prepare_for_testing.
2684 2014-03-19 Pedro Alves <palves@redhat.com>
2686 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2689 2014-03-19 Pedro Alves <palves@redhat.com>
2691 * gdb.base/async.c (main): Add "jump here" and "until here" line
2693 * gdb.base/async.exp (jump_here): New global.
2694 (jump& test): Use it.
2695 (until_here): New global.
2696 (until& test): Use it.
2698 2014-03-19 Pedro Alves <palves@redhat.com>
2700 * gdb.base/async.exp: Don't frob gdb_protocol.
2702 2014-03-18 Doug Evans <xdje42@gmail.com>
2704 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2705 Fix spelling of exec-done-display.
2707 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2710 * gdb.base/gdb-sigterm.c: New file.
2711 * gdb.base/gdb-sigterm.exp: New file.
2713 2014-03-18 Pedro Alves <palves@redhat.com>
2716 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2717 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2720 2014-03-17 Joel Brobecker <brobecker@adacore.com>
2722 * gdb.ada/pckd_arr_ren: New testcase.
2724 2014-03-13 Doug Evans <xdje42@gmail.com>
2727 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2728 collect after discarding symbols.
2730 2014-03-13 Ludovic Courtès <ludo@gnu.org>
2731 Doug Evans <xdje42@gmail.com>
2733 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2734 to history survives a gc.
2736 2014-03-13 Pedro Alves <palves@redhat.com>
2738 * gdb.base/default.exp: Don't test "target procfs".
2740 2014-03-13 Pedro Alves <palves@redhat.com>
2742 * gdb.base/default.exp: Update "target child" and "target procfs"
2743 tests to not expect "Unix".
2745 2014-03-12 Tom Tromey <tromey@redhat.com>
2747 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2748 New procs. Add target-async tests.
2749 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2750 Add target-async tests.
2752 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2754 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2755 'func_start' and 'func_end' for the beginning and end of the
2756 function code, respectively.
2757 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2758 'func_end' instead of 'func' and 'main'.
2760 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2762 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2763 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2764 generate the debug info assembler source.
2766 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2768 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2769 * gdb.dwarf2/arr-subrange.exp: Likewise.
2770 * gdb.dwarf2/dwz.exp: Likewise.
2771 * gdb.dwarf2/method-ptr.exp: Likewise.
2772 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2773 * gdb.dwarf2/subrange.exp: Likewise.
2774 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2775 * gdb.dwarf2/implptrpiece.exp: Likewise.
2776 * gdb.dwarf2/nostaticblock.exp: Likewise.
2778 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2780 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2781 directory to absolute path name arguments.
2783 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2785 * gdb.ada/tagged_access: New testcase.
2787 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2789 * gdb.btrace/data.exp: Update expected output.
2791 2014-03-06 Yao Qi <yao@codesourcery.com>
2793 * gdb.trace/pr16508.exp: New file.
2795 2014-03-05 Pedro Alves <palves@redhat.com>
2798 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2800 (top level): Adjust to use it. Add tests that exercise breakpoint
2801 interaction with the code-cache.
2803 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2805 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2806 test for 'history-append!'.
2808 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2810 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2811 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2812 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2813 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2814 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2815 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2817 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2819 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2820 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2821 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2823 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2825 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2827 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2829 * gdb.dwarf2/arr-stride.c: New file.
2830 * gdb.dwarf2/arr-stride.exp: New file.
2832 2014-02-26 Pedro Alves <palves@redhat.com>
2834 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2835 that won't ever trigger. Make sure that GDB reports the correct
2836 breakpoint that caused the stop.
2838 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2841 * gdb.base/auto-load-script: New file.
2842 * gdb.base/auto-load.c: New file.
2843 * gdb.base/auto-load.exp: New file.
2846 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2848 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2850 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2851 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2853 2014-02-24 Doug Evans <dje@google.com>
2855 * lib/gdb.exp (run_on_host): Log error output if program fails.
2857 2014-02-21 Pedro Alves <palves@redhat.com>
2859 * gdb.threads/step-after-sr-lock.c: Rename to ...
2860 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2861 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2862 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2865 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2868 * gdb.arch/amd64-stap-special-operands.exp: New file.
2869 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2870 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2871 * gdb.arch/amd64-stap-triplet.S: Likewise.
2872 * gdb.arch/amd64-stap-triplet.c: Likewise.
2874 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2876 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2877 in .section pseudo-op.
2879 2014-02-20 lin zuojian <manjian2006@gmail.com>
2880 Joel Brobecker <brobecker@adacore.com>
2881 Doug Evans <xdje42@gmail.com>
2884 * gdb.dwarf2/dw2-icycle.S: New file.
2885 * gdb.dwarf2/dw2-icycle.c: New file.
2886 * gdb.dwarf2/dw2-icycle.exp: New file.
2888 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2890 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2891 operations on gdb.Value objects.
2892 * gdb.python/py-value-cc.exp: Add new test to test operations on
2895 2014-02-18 Doug Evans <dje@google.com>
2897 * Makefile.in (TESTS): New variable.
2898 (expanded_tests, expanded_tests_or_none): New variables
2899 (check-single): Pass $(expanded_tests_or_none) to runtest.
2900 (check-parallel): Only run tests in $(TESTS) if non-empty.
2901 (check/no-matching-tests-found): New rule.
2902 * README: Document TESTS makefile variable.
2904 2014-02-18 Doug Evans <dje@google.com>
2906 * Makefile.in (check-parallel): rm -rf outputs temp.
2908 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2910 Fix "ERROR: no fileid for" in the testsuite.
2911 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2913 2014-02-12 Doug Evans <dje@google.com>
2915 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2916 (MISCELLANEOUS): New variable.
2917 (clean): rm -rf $(MISCELLANEOUS).
2918 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2919 dwp live in the same directory as symlinks, with each symlink pointed
2920 to a differently named file in a different directory.
2922 2014-02-11 Doug Evans <dje@google.com>
2924 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2925 of Tcl file commands.
2927 2014-02-10 Mark Kettenis <kettenis@gnu.org>
2929 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2932 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2934 * gdb.ada/tick_length_array_enum_idx: New testcase.
2936 2014-02-10 Doug Evans <xdje42@gmail.com>
2938 * configure.ac (AC_OUTPUT): Add gdb.guile.
2939 * configure: Regenerate.
2940 * lib/gdb-guile.exp: New file.
2941 * lib/gdb.exp (get_target_charset): New function.
2942 * gdb.base/help.exp: Update expected output from "apropos apropos".
2943 * gdb.guile/Makefile.in: New file.
2944 * gdb.guile/guile.exp: New file.
2945 * gdb.guile/scm-arch.c: New file.
2946 * gdb.guile/scm-arch.exp: New file.
2947 * gdb.guile/scm-block.c: New file.
2948 * gdb.guile/scm-block.exp: New file.
2949 * gdb.guile/scm-breakpoint.c: New file.
2950 * gdb.guile/scm-breakpoint.exp: New file.
2951 * gdb.guile/scm-disasm.c: New file.
2952 * gdb.guile/scm-disasm.exp: New file.
2953 * gdb.guile/scm-equal.c: New file.
2954 * gdb.guile/scm-equal.exp: New file.
2955 * gdb.guile/scm-error.exp: New file.
2956 * gdb.guile/scm-error.scm: New file.
2957 * gdb.guile/scm-frame-args.c: New file.
2958 * gdb.guile/scm-frame-args.exp: New file.
2959 * gdb.guile/scm-frame-args.scm: New file.
2960 * gdb.guile/scm-frame-inline.c: New file.
2961 * gdb.guile/scm-frame-inline.exp: New file.
2962 * gdb.guile/scm-frame.c: New file.
2963 * gdb.guile/scm-frame.exp: New file.
2964 * gdb.guile/scm-generics.exp: New file.
2965 * gdb.guile/scm-gsmob.exp: New file.
2966 * gdb.guile/scm-iterator.c: New file.
2967 * gdb.guile/scm-iterator.exp: New file.
2968 * gdb.guile/scm-math.c: New file.
2969 * gdb.guile/scm-math.exp: New file.
2970 * gdb.guile/scm-objfile-script-gdb.in: New file.
2971 * gdb.guile/scm-objfile-script.c: New file.
2972 * gdb.guile/scm-objfile-script.exp: New file.
2973 * gdb.guile/scm-objfile.c: New file.
2974 * gdb.guile/scm-objfile.exp: New file.
2975 * gdb.guile/scm-ports.exp: New file.
2976 * gdb.guile/scm-pretty-print.c: New file.
2977 * gdb.guile/scm-pretty-print.exp: New file.
2978 * gdb.guile/scm-pretty-print.scm: New file.
2979 * gdb.guile/scm-section-script.c: New file.
2980 * gdb.guile/scm-section-script.exp: New file.
2981 * gdb.guile/scm-section-script.scm: New file.
2982 * gdb.guile/scm-symbol.c: New file.
2983 * gdb.guile/scm-symbol.exp: New file.
2984 * gdb.guile/scm-symtab-2.c: New file.
2985 * gdb.guile/scm-symtab.c: New file.
2986 * gdb.guile/scm-symtab.exp: New file.
2987 * gdb.guile/scm-type.c: New file.
2988 * gdb.guile/scm-type.exp: New file.
2989 * gdb.guile/scm-value-cc.cc: New file.
2990 * gdb.guile/scm-value-cc.exp: New file.
2991 * gdb.guile/scm-value.c: New file.
2992 * gdb.guile/scm-value.exp: New file.
2993 * gdb.guile/source2.scm: New file.
2994 * gdb.guile/types-module.cc: New file.
2995 * gdb.guile/types-module.exp: New file.
2997 2014-02-10 Yao Qi <yao@codesourcery.com>
3000 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
3001 * configure: Regenerated.
3002 * Makefile.in: New file.
3004 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3006 * gdb.python/py-framefilter.exp: Fix typo.
3008 2014-02-08 Yao Qi <yao@codesourcery.com>
3010 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
3011 that no =breakpoint-modified is emitted when breakpoints are
3012 modified through MI commands.
3014 2014-02-07 Pedro Alves <pedro@codesourcery.com>
3015 Pedro Alves <palves@redhat.com>
3017 * gdb.threads/step-after-sr-lock.c: New file.
3018 * gdb.threads/step-after-sr-lock.exp: New file.
3020 2014-02-07 Pedro Alves <palves@redhat.com>
3022 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
3024 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3026 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
3027 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
3029 2014-02-06 Doug Evans <xdje42@gmail.com>
3031 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
3034 * gdb.gdb/python-interrupts.exp: New file.
3036 2014-02-05 Yao Qi <yao@codesourcery.com>
3038 * gdb.trace/report.exp (use_collected_data): Test the output
3039 of "info threads" and "info inferiors".
3041 2014-02-05 Yao Qi <yao@codesourcery.com>
3045 2013-05-24 Yao Qi <yao@codesourcery.com>
3047 * gdb.trace/tfile.exp: Test inferior and thread.
3049 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3051 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
3053 * gdb.base/step-bt.c: Call hello via function pointer to make
3054 sure its first instruction is executed on powerpc64le-linux.
3056 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3058 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
3060 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3062 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
3063 of the test patterns for use on little-endian systems.
3065 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3067 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
3068 (decimal_vector): Fix for little-endian.
3070 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3072 * gdb.arch/sparc-sysstep.exp: New file.
3073 * gdb.arch/sparc-sysstep.c: Likewise.
3075 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
3077 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3079 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
3081 2014-01-23 Tom Tromey <tromey@redhat.com>
3083 * gdb.ada/array_char_idx: New testcase.
3085 2014-01-23 Tom Tromey <tromey@redhat.com>
3088 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
3089 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
3092 2014-01-23 Tom Tromey <tromey@redhat.com>
3095 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
3096 string from an inferior frame.
3097 * gdb.python/py-framefilter-mi.exp: Update.
3099 2014-01-22 Doug Evans <dje@google.com>
3101 * gdb.server/server-mon.exp: Add tests for "set debug-format".
3103 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3105 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
3107 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3109 * gdb.trace/entry-values.exp: Remove excess space character from
3110 regex patterns. Handle s390 call instruction.
3112 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3114 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
3115 define "*_start" label. Make "name" static.
3116 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
3117 ${name} by references to ${name}_start.
3119 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3121 * gdb.base/info-macros.exp: Remove "debug" from the compile
3124 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3126 * gdb.dlang/demangle.exp: New file.
3128 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3130 * gdb.dlang/primitive-types.exp: New file.
3132 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3134 * configure.ac: Create gdb.dlang/Makefile.
3135 * configure: Regenerate.
3136 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
3137 * gdb.dlang/Makefile.in: New file.
3138 * lib/d-support.exp: New file.
3139 * lib/gdb.exp (skip_d_tests): New proc.
3141 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3143 * gdb.btrace/delta.exp: Check reverse stepi.
3144 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
3145 * gdb.btrace/finish.exp: New.
3146 * gdb.btrace/next.exp: New.
3147 * gdb.btrace/nexti.exp: New.
3148 * gdb.btrace/record_goto.c: Add comments.
3149 * gdb.btrace/step.exp: New.
3150 * gdb.btrace/stepi.exp: New.
3151 * gdb.btrace/multi-thread-step.c: New.
3152 * gdb.btrace/multi-thread-step.exp: New.
3153 * gdb.btrace/rn-dl-bind.c: New.
3154 * gdb.btrace/rn-dl-bind.exp: New.
3155 * gdb.btrace/data.c: New.
3156 * gdb.btrace/data.exp: New.
3157 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3159 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3161 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
3162 * gdb.btrace/exception.exp: Update.
3163 * gdb.btrace/instruction_history.exp: Update.
3164 * gdb.btrace/record_goto.exp: Update.
3165 * gdb.btrace/tailcall.exp: Update.
3166 * gdb.btrace/unknown_functions.exp: Update.
3167 * gdb.btrace/delta.exp: New.
3169 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3171 * gdb.btrace/record_goto.exp: Add backtrace test.
3172 * gdb.btrace/tailcall.exp: Add backtrace test.
3174 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3176 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
3177 * gdb.btrace/record_goto.c: New.
3178 * gdb.btrace/record_goto.exp: New.
3179 * gdb.btrace/x86-record_goto.S: New.
3181 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3183 * gdb.btrace/function_call_history.exp: Update tests.
3184 * gdb.btrace/instruction_history.exp: Update tests.
3186 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3188 * gdb.btrace/function_call_history.exp: Fix expected field
3189 order for "record function-call-history".
3190 Add new tests for "record function-call-history /c".
3191 * gdb.btrace/exception.cc: New.
3192 * gdb.btrace/exception.exp: New.
3193 * gdb.btrace/tailcall.exp: New.
3194 * gdb.btrace/x86-tailcall.S: New.
3195 * gdb.btrace/x86-tailcall.c: New.
3196 * gdb.btrace/unknown_functions.c: New.
3197 * gdb.btrace/unknown_functions.exp: New.
3198 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3200 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3202 * gdb.btrace/instruction_history.exp: Update.
3203 * gdb.btrace/function_call_history.exp: Update.
3205 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3207 * gdb.btrace/function_call_history.exp: Fix expected function
3209 * gdb.btrace/instruction_history.exp: Initialize traced.
3210 Remove traced_functions.
3212 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3214 * gdb.btrace/function_call_history.exp: Update
3215 * gdb.btrace/instruction_history.exp: Update.
3217 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3219 * gdb.btrace/enable.exp: Update expected text.
3221 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
3223 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
3226 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
3228 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
3230 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3232 * lib/gdb.exp (supports_process_record): Return true for
3233 arm*-linux*. (supports_reverse): Likewise.
3235 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3239 * gdb.python/py-type.c: Enhance test case.
3240 * gdb.python/py-value-cc.cc: Likewise
3241 * gdb.python/py-type.exp: Add new tests.
3242 * gdb.python/py-value-cc.exp: Likewise
3244 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3245 Pedro Alves <palves@redhat.com>
3247 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
3249 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
3250 references to ${name}_start by references to ${name}.
3252 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3254 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
3256 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3258 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
3260 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
3261 Pedro Alves <palves@redhat.com>
3263 * gdb.mi/mi-info-os.exp: Connect to the target with
3266 2014-01-08 Pedro Alves <palves@redhat.com>
3268 * gdb.threads/reconnect-signal.c: New file.
3269 * gdb.threads/reconnect-signal.exp: New file.
3271 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3273 * gdb.base/source-dir.exp: New file.
3275 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3277 * gdb.ada/mi_interface: New testcase.
3279 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3281 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
3282 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
3283 gdb.ada/pp-rec-component/pck.ads: New files.
3285 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3287 * gdb.python/py-pp-integral.c: New file.
3288 * gdb.python/py-pp-integral.py: New file.
3289 * gdb.python/py-pp-integral.exp: New file.
3291 For older changes see ChangeLog-1993-2013.
3297 ;; version-control: never
3300 Copyright 2014 Free Software Foundation, Inc.
3301 Copying and distribution of this file, with or without modification,
3302 are permitted provided the copyright notice and this notice are preserved.