1 2014-11-07 Pedro Alves <palves@redhat.com>
4 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
7 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
10 * gdb.cp/pr17494.cc: New file.
11 * gdb.cp/pr17494.exp: New file.
13 2014-11-02 Yao Qi <yao@codesourcery.com>
15 * gdb.python/python.exp: Get working directory and match the
16 output of "set extended-prompt \\w " with it.
18 2014-10-30 Doug Evans <dje@google.com>
20 * gdb.python/py-objfile.exp: Add tests for setting random attributes
22 * gdb.python/py-progspace.exp: Add tests for setting random attributes
25 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
27 * gdb.base/fullpath-expand.exp: Skip for a remote host.
28 * gdb.base/realname-expand.exp: Likewise.
29 * gdb.linespec/macro-relative.exp: Likewise.
31 2014-10-29 Pedro Alves <palves@redhat.com>
34 * gdb.threads/schedlock.c (some_function): New function.
35 (call_function): New global.
36 (MAYBE_CALL_SOME_FUNCTION): New macro.
37 (thread_function): Call it.
38 * gdb.threads/schedlock.exp (get_args): Add description parameter,
39 and use it instead of a global counter. Adjust all callers.
40 (get_current_thread): Use "find current thread" for test message
41 here rather than having all callers pass down the same string.
42 (goto_loop): New procedure, factored out from ...
43 (my_continue): ... this.
44 (step_ten_loops): Change parameter from test message to command to
46 (list_count): Delete global.
47 (check_result): New procedure, factored out from duplicate top
49 (continue tests): Wrap in with_test_prefix.
50 (test_step): New procedure, factored out from duplicate top level
52 (top level): Test "step" in combination with all scheduler-locking
53 modes. Test "next" in combination with all scheduler-locking
54 modes, and in combination with stepping over a function call or
56 * gdb.threads/next-bp-other-thread.c: New file.
57 * gdb.threads/next-bp-other-thread.exp: New file.
59 2014-10-29 Pedro Alves <palves@redhat.com>
62 * gdb.python/python.exp: Test a multi-line command that spawns
64 * gdb.base/multi-line-starts-subshell.exp: New file.
66 2014-10-29 Yao Qi <yao@codesourcery.com>
68 * gdb.base/fileio.exp: Make directories on host.
70 2014-10-29 Yao Qi <yao@codesourcery.com>
72 * gdb.base/fileio.c (test_write): Close the file.
74 2014-10-28 Pedro Alves <palves@redhat.com>
77 * gdb.base/sigstep.c (no_handler): New global.
78 (main): If 'no_handler is true, set the signal handlers to
80 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
81 with_sw_watch and no_handler parameters. Handle them.
82 (top level) <stepping over handler when stopped at a breakpoint
83 test>: Add a test axis for testing with a software watchpoint, and
84 another for testing with the signal handler set to SIG_IGN.
85 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
86 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
88 2014-10-28 Pedro Alves <palves@redhat.com>
91 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
92 * gdb.base/sigstep.exp (other_handler_location): New global.
93 (advance): Support stepping into the signal handler, and running
94 commands while in the handler.
95 (in_handler_map): New global.
96 (top level): In the advance test, add combinations for getting
97 into the handler with stepping commands, and for running commands
98 in the handler. Add comment descripting the advancei tests.
100 2014-10-28 Pedro Alves <palves@redhat.com>
102 * gdb.base/sigstep.exp: Use build_executable instead of
104 (top level): Move code that starts GDB, runs to main and creates a
106 (restart): ... this new procedure.
107 (top level): Move backtrace from signal handler test to ...
108 (validate_backtrace): ... this new procedure.
109 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
110 with_test_prefix. Always restart GDB.
111 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
112 with_test_prefix. Always restart GDB. No need to delete
113 breakpoints after the test.
114 (test_skip_handler): Remove prefix parameter.
115 (skip_over_handler, breakpoint_to_handler)
116 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
117 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
118 restart GDB. No need to delete breakpoints after the test.
119 (top level): Use foreach to call the test procedures with
122 2014-10-28 Pedro Alves <palves@redhat.com>
124 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
125 instead of GNATS numbers.
126 * gdb.base/sigbpt.exp: Likewise.
127 * gdb.base/siginfo.exp: Likewise.
128 * gdb.base/sigstep.exp: Likewise.
130 2014-10-27 Pedro Alves <palves@redhat.com>
132 * gdb.base/sigstep.c (dummy): New global.
133 (main): Issue a couple writes to the new global.
134 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
136 (skip_over_handler): Use test_skip_handler.
137 (top level): Call skip_over_handler for stepi and nexti too.
138 (breakpoint_over_handler): Use test_skip_handler.
139 (top level): Call breakpoint_over_handler for stepi and nexti too.
141 2014-10-27 Yao Qi <yao@codesourcery.com>
143 * gdb.trace/tfile.c (adjust_function_address)
144 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
147 2014-10-24 Don Breazeal <donb@codesourcery.com>
149 * gdb.base/foll-fork.exp (test_follow_fork,
150 catch_fork_child_follow): Check for updated fork messages emitted
152 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
153 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
154 vfork_and_exec_child_follow_through_step): Check for updated vfork
155 messages emitted from infrun.c.
157 2014-10-24 Pedro Alves <palves@redhat.com>
159 * gdb.base/corefile.exp: Remove references to ultrix.
160 * gdb.base/interrupt.exp: Likewise.
161 * gdb.base/whatis.exp: Likewise.
162 * gdb.gdb/selftest.exp: Likewise.
163 * gdb.threads/manythreads.exp: Likewise.
164 * gdb.threads/print-threads.exp: Likewise.
165 * gdb.threads/pthreads.exp:: Likewise.
166 * gdb.threads/schedlock.exp: Likewise.
168 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
170 * gdb.cp/non-trivial-retval.cc: Add a test case.
171 * gdb.cp/non-trivial-retval.exp: Add a test.
173 2014-10-20 Yao Qi <yao@codesourcery.com>
175 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
176 * gdb.python/py-objfile-script-gdb.py: New file.
177 * gdb.python/py-objfile-script.exp: Update reference to
178 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
179 of remote_download. Remove the dest file.
181 2014-10-20 Yao Qi <yao@codesourcery.com>
183 * gdb.base/checkpoint.exp: Don't remove file copied on host.
184 * gdb.base/step-line.exp: Likewise.
185 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
186 * gdb.dwarf2/dw2-basic.exp: Likewise.
187 * gdb.dwarf2/dw2-compressed.exp: Likewise.
188 * gdb.dwarf2/dw2-filename.exp: Likewise.
189 * gdb.dwarf2/dw2-intercu.exp: Likewise.
190 * gdb.dwarf2/dw2-intermix.exp: Likewise.
191 * gdb.dwarf2/dw2-producer.exp: Likewise.
192 * gdb.dwarf2/mac-fileno.exp: Likewise.
193 * gdb.python/py-frame-args.exp: Likewise.
194 * gdb.python/py-framefilter.exp: Likewise.
195 * gdb.python/py-mi.exp: Likewise.
196 * gdb.python/py-objfile-script.exp: Likewise
197 * gdb.python/py-pp-integral.exp: Likewise.
198 * gdb.python/py-pp-re-notag.exp: Likewise.
199 * gdb.python/py-prettyprint.exp: Likewise.
200 * gdb.python/py-section-script.exp: Likewise.
201 * gdb.python/py-typeprint.exp: Likewise.
202 * gdb.python/py-xmethods.exp: Likewise.
203 * gdb.stabs/weird.exp: Likewise.
204 * gdb.xml/tdesc-regs.exp: Likewise.
206 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
208 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
209 (out_cu): Use addr_len for the size of addresses.
210 (out_line): Likewise. Size DW_LNE_set_address instruction
211 according to addr_len.
212 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
213 (FUNC): Add START_INSNS to definition.
215 2014-10-18 Yao Qi <yao@codesourcery.com>
217 * gdb.base/argv0-symlink.exp: Check argv[0] value if
218 gdb_has_argv0 return true.
219 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
220 check [target_info exists noargs], check [gdb_has_argv0]
222 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
223 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
226 2014-10-17 Doug Evans <dje@google.com>
228 * gdb.python/py-events.exp: Update expected output for clear_objfiles
230 * gdb.python/py-events.py: Add clear_objfiles event.
232 2014-10-17 Doug Evans <dje@google.com>
234 * gdb.python/py-objfile.exp: Test progspace attribute.
236 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
238 * gdb.guile/scm-breakpoint.exp: Do not assume any
239 directory separators when matching source file paths.
240 * gdb.python/py-breakpoint.exp: Likewise.
241 * gdb.reverse/break-precsave.exp: Likewise.
242 * gdb.reverse/break-reverse.exp: Likewise.
243 * gdb.reverse/consecutive-precsave.exp: Likewise.
244 * gdb.reverse/finish-precsave.exp: Likewise.
245 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
246 * gdb.reverse/finish-reverse.exp: Likewise.
247 * gdb.reverse/i386-precsave.exp: Likewise.
248 * gdb.reverse/i387-env-reverse.exp: Likewise.
249 * gdb.reverse/i387-stack-reverse.exp: Likewise.
250 * gdb.reverse/machinestate-precsave.exp: Likewise.
251 * gdb.reverse/machinestate.exp: Likewise.
252 * gdb.reverse/sigall-precsave.exp: Likewise.
253 * gdb.reverse/solib-precsave.exp: Likewise.
254 * gdb.reverse/step-precsave.exp: Likewise.
255 * gdb.reverse/until-precsave.exp: Likewise.
256 * gdb.reverse/watch-precsave.exp: Likewise.
257 * gdb.reverse/watch-reverse.exp: Likewise.
259 2014-10-17 Yao Qi <yao@codesourcery.com>
261 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
262 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
264 2014-10-17 Pedro Alves <palves@redhat.com>
267 * gdb.base/bg-execution-repeat.c: New file.
268 * gdb.base/bg-execution-repeat.exp: New file.
270 2014-10-17 Pedro Alves <palves@redhat.com>
273 * gdb.base/continue-all-already-running.c: New file.
274 * gdb.base/continue-all-already-running.exp: New file.
276 2014-10-17 Pedro Alves <palves@redhat.com>
279 * gdb.base/annota-input-while-running.c: New file.
280 * gdb.base/annota-input-while-running.exp: New file.
282 2014-10-17 Pedro Alves <palves@redhat.com>
284 * gdb.base/callfuncs.exp: emove references to osf.
285 * gdb.base/sigall.exp: Likewise.
286 * gdb.gdb/selftest.exp: Likewise.
287 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
288 * gdb.mi/non-stop.c: Likewise.
289 * gdb.mi/pthreads.c: Likewise.
290 * gdb.reverse/sigall-precsave.exp: Likewise.
291 * gdb.reverse/sigall-reverse.exp: Likewise.
292 * gdb.threads/pthreads.c: Likewise.
293 * gdb.threads/pthreads.exp: Likewise.
295 2014-10-17 Yao Qi <yao@codesourcery.com>
297 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
298 check 'target_info exists noargs'.
299 (test_command_prompt_position): Likewise.
300 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
302 (progvar_simple_while_test): Likewise.
303 (progvar_complex_if_while_test): Likewise.
304 (if_while_breakpoint_command_test): Likewise.
305 (infrun_breakpoint_command_test): Likewise.
306 (breakpoint_command_test): Likewise.
307 (watchpoint_command_test): Likewise.
308 (bp_deleted_in_command_test): Likewise.
309 (temporary_breakpoint_commands): Likewise.
311 2014-10-16 Yao Qi <yao@codesourcery.com>
313 * gdb.base/remotetimeout.exp: Remove noargs checking.
315 2014-10-15 Pedro Alves <palves@redhat.com>
318 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
319 * gdb.base/breakpoint-in-ro-region.exp
320 (probe_target_hardware_step): New procedure.
321 (top level): Probe hardware stepping and hardware breakpoint
322 support. Test stepping through a read-only region, with both
323 "breakpoint auto-hw" on and off and both "always-inserted" on and
326 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
328 * gdb.dlang/demangle.exp: Update for demangling changes.
330 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
332 * gdb.cp/non-trivial-retval.cc: Add new test cases.
333 * gdb.cp/non-trivial-retval.exp: Add new tests.
335 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
339 * gdb.cp/non-trivial-retval.cc: New file.
340 * gdb.cp/non-trivial-retval.exp: New file.
342 2014-10-15 Yao Qi <yao@codesourcery.com>
344 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
347 2014-10-15 Yao Qi <yao@codesourcery.com>
349 * gdb.python/py-symbol.exp: Match file base name if host is
350 remote, otherwise match file name with dir name.
351 * gdb.python/py-symtab.exp: Likewise.
352 * gdb.python/python.exp: Likewise.
354 2014-10-15 Yao Qi <yao@codesourcery.com>
356 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
358 * gdb.python/py-symtab.exp: Likewise.
359 * gdb.python/python.exp: Remove trailing ".*". Fix typo
362 2014-10-14 Joel Brobecker <brobecker@adacore.com>
364 * gdb.ada/addr_arith: New testcase.
366 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
368 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
369 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
370 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
371 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
373 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
375 * gdb.arch/stap-eval-lang-ada.S: Likewise.
376 * gdb.arch/stap-eval-lang-ada.c: Likewise.
377 * gdb.arch/stap-eval-lang-ada.exp: New file.
379 2014-10-14 Yao Qi <yao@codesourcery.com>
381 * gdb.mi/mi-var-child.c (nothing1): New function.
382 (nothing2): New function.
383 (do_children_tests): Set function pointers by nothing1 and
385 * gdb.mi/mi-var-child.exp: Step over new added statements.
386 Update test to match the new output.
387 * gdb.mi/var-cmd.c (nothing1): New function.
388 (nothing2): New function.
389 (do_children_tests): Set function pointers by nothing1 and
391 * gdb.mi/mi-var-display.exp: Update test to match output.
392 Step to the line specified by $line_dct_nothing.
393 Increase the number of lines to step.
395 2014-10-14 Yao Qi <yao@codesourcery.com>
397 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
399 * gdb.mi/mi2-var-child.exp: Likewise.
401 2014-10-13 Doug Evans <dje@google.com>
403 * gdb.python/py-objfile.exp: Change name of file name test.
405 2014-10-13 Doug Evans <dje@google.com>
407 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
408 from the start of the CU.
410 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
411 Yao Qi <yao@codesourcery.com>
413 Fix "save breakpoints" for "catch" command.
414 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
415 Remove -nonewline. Match also the added "main" line.
417 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
419 Fix "save breakpoints" for "disable $bpnum" command.
420 * gdb.base/save-bp.c (main): Add label.
421 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
423 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
425 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
427 2014-10-11 Yao Qi <yao@codesourcery.com>
429 * gdb.server/server-kill.exp: Execute command
430 "set remote trace-status-packet on" before "tstatus".
432 2014-10-11 Yao Qi <yao@codesourcery.com>
434 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
435 (main): Call getppid.
436 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
437 and continue to it. Read variable "server_pid".
439 2014-10-11 Yao Qi <yao@codesourcery.com>
441 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
443 2014-10-11 Yao Qi <yao@codesourcery.com>
445 * gdb.threads/thread-find.exp: Don't execute command
447 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
448 * gdb.threads/linux-dp.exp: Don't check the condition
449 $threads_created equals to zero.
451 2014-10-10 Pedro Alves <palves@redhat.com>
453 * gdb.base/bigcore.exp: Remove references to IRIX.
454 * gdb.base/funcargs.exp: Likewise.
455 * gdb.base/interrupt.exp: Likewise.
456 * gdb.base/mips_pro.exp: Likewise.
457 * gdb.base/nodebug.exp: Likewise.
458 * gdb.base/setvar.exp: Likewise.
459 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
461 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
462 Pedro Alves <palves@redhat.com>
465 * gdb.base/vdso-warning.c: New file.
466 * gdb.base/vdso-warning.exp: New file.
468 2014-10-02 Doug Evans <dje@google.com>
470 * gdb.base/structs.c (main): Don't run forever.
472 2014-10-02 Pedro Alves <palves@redhat.com>
474 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
475 (top level) <stop threads 1, stop threads 2>: Use it.
477 2014-10-02 Pedro Alves <palves@redhat.com>
479 * gdb.threads/break-while-running.exp (test): Add new
480 'update_thread_list' argument. Skip "info threads" if false.
481 (top level): Add new 'update_thread_list' axis.
483 2014-10-02 Pedro Alves <palves@redhat.com>
486 * gdb.base/execl-update-breakpoints.c: New file.
487 * gdb.base/execl-update-breakpoints.exp: New file.
489 2014-10-01 Pedro Alves <palves@redhat.com>
491 * gdb.base/breakpoint-in-ro-region.c: New file.
492 * gdb.base/breakpoint-in-ro-region.exp: New file.
494 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
496 * gdb.mi/mi-exit-code.exp: New file.
497 * gdb.mi/mi-exit-code.c: New file.
499 2014-09-30 Yao Qi <yao@codesourcery.com>
501 * lib/prelink-support.exp (build_executable_own_libs): Error if
502 the target isn't native.
504 2014-09-30 Yao Qi <yao@codesourcery.com>
506 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
509 2014-09-22 Pedro Alves <palves@redhat.com>
511 * gdb.threads/break-while-running.exp: New file.
512 * gdb.threads/break-while-running.c: New file.
514 2014-09-19 Yao Qi <yao@codesourcery.com>
516 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
517 Invoke test. Restart GDB with --readnow and invoke test again.
519 2014-09-19 Yao Qi <yao@codesourcery.com>
521 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
522 proc set_breakpoint_on_gcd_function. Invoke
523 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
524 invoke set_breakpoint_on_gcd_function again.
526 2014-09-18 Doug Evans <dje@google.com>
528 * gdb.dwarf2/symtab-producer.exp: New file.
530 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
532 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
533 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
534 * gdb.base/global-var-nested-by-dso.c: Likewise.
535 * gdb.base/global-var-nested-by-dso.exp: Likewise.
537 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
538 Pedro Alves <palves@redhat.com>
540 * gdb.base/watch-bitfields.exp: Pass string other than test file
541 name to prepare_for_testing.
542 (watch): New procedure.
543 (expect_watchpoint): Use with_test_prefix.
544 (top level): Factor out tests to ...
545 (test_watch_location, test_regular_watch): ... these new
546 procedures, and use with_test_prefix and gdb_continue_to_end.
548 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
551 * gdb.base/watch-bitfields.exp: New file.
552 * gdb.base/watch-bitfields.c: New file.
554 2014-09-16 Pedro Alves <palves@redhat.com>
556 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
557 software and hardware addresses, not software address against
560 2014-09-16 Pedro Alves <palves@redhat.com>
562 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
563 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
565 2014-09-16 Pedro Alves <palves@redhat.com>
567 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
569 * gdb.base/a2-run.exp: Remove all code guarded by istarget
570 "*-*-vxworks*" throughout.
571 * gdb.base/break.exp: Likewise.
572 * gdb.base/default.exp: Likewise.
573 * gdb.base/scope.exp: Likewise.
574 * gdb.base/sepdebug.exp: Likewise.
575 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
577 * gdb.base/run.c: Likewise.
578 * gdb.base/sepdebug.c: Likewise.
579 * gdb.hp/gdb.aCC/run.c: Likewise.
580 * gdb.reverse/until-reverse.c: Likewise.
581 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
583 2014-09-16 Yao Qi <yao@codesourcery.com>
585 * boards/local-remote-host-native.exp: New file.
587 2014-09-14 Doug Evans <xdje42@gmail.com>
589 * gdb.threads/queue-signal.c (thread_count): New variable.
590 (thread_count_mutex, thread_count_condvar): New variables.
591 (incr_thread_count, wait_all_threads_running): New functions.
592 (main): Wait for all threads to be in their thread functions.
594 2014-09-13 Doug Evans <xdje42@gmail.com>
596 * gdb.threads/queue-signal.c: New file.
597 * gdb.threads/queue-signal.exp: New file.
599 2014-09-13 Doug Evans <xdje42@gmail.com>
601 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
602 be consistent with what default_gdb_init uses.
603 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
604 the plain text of the prompt. Add some logging printfs.
605 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
607 2014-09-12 Pedro Alves <palves@redhat.com>
609 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
610 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
611 * gdb.arch/i386-size-overlap.exp: Likewise.
612 * gdb.arch/i386-size.exp: Likewise.
613 * gdb.arch/i386-unwind.exp: Likewise.
614 * gdb.base/a2-run.exp: Likewise.
615 * gdb.base/break.exp: Likewise.
616 * gdb.base/charset.exp: Likewise.
617 * gdb.base/chng-syms.exp: Likewise.
618 * gdb.base/commands.exp: Likewise.
619 * gdb.base/dbx.exp: Likewise.
620 * gdb.base/find.exp: Likewise.
621 * gdb.base/funcargs.exp: Likewise.
622 * gdb.base/jit-simple.exp: Likewise.
623 * gdb.base/reread.exp: Likewise.
624 * gdb.base/sepdebug.exp: Likewise.
625 * gdb.base/step-bt.exp: Likewise.
626 * gdb.cp/mb-inline.exp: Likewise.
627 * gdb.cp/mb-templates.exp: Likewise.
628 * gdb.objc/basicclass.exp: Likewise.
629 * gdb.threads/killed.exp: Likewise.
631 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
634 * gdb.arch/powerpc-stackless.S: New file.
635 * gdb.arch/powerpc-stackless.exp: New file.
637 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
639 * gdb.base/attach.c: Include unistd.h.
640 (main): Call alarm. Add label postloop.
641 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
642 gdb_breakpoint, gdb_continue_to_breakpoint.
643 (test_command_line_attach_run): Kill ${testpid} in one exit path.
645 2014-09-11 Pedro Alves <palves@redhat.com>
648 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
649 * gdb.base/attach.exp (test_command_line_attach_run): New
651 (top level): Call it.
653 2014-09-11 Pedro Alves <palves@redhat.com>
655 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
656 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
657 (do_command_attach_tests): Use spawn_wait_for_attach.
658 * gdb.base/solib-overlap.exp: Likewise.
659 * gdb.multi/multi-attach.exp: Likewise.
660 * gdb.python/py-prompt.exp: Likewise.
661 * gdb.python/py-sync-interp.exp: Likewise.
662 * gdb.server/ext-attach.exp: Likewise.
664 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
666 * gdb.fortran/array-element.exp: Remove unexpected "continue"
667 command in testcase. Simplify testcase.
669 2014-09-10 Joel Brobecker <brobecker@adacore.com>
671 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
673 2014-09-10 Joel Brobecker <brobecker@adacore.com>
675 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
677 2014-09-10 Joel Brobecker <brobecker@adacore.com>
679 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
681 2014-09-10 Joel Brobecker <brobecker@adacore.com>
683 * gdb.dwarf2/dynarr-ptr.c: New file.
684 * gdb.dwarf2/dynarr-ptr.exp: New file.
686 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
688 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
689 of 30 rather than hardcoding 120 for a slow test case. Take the
690 `gdb,timeout' target setting into account for this calculation.
691 Don't extend the timeout for the test cases that don't need it.
693 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
695 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
696 a factor of 2 for a slow test case. Take the `gdb,timeout'
697 target setting into account for this calculation.
698 * gdb.reverse/until-precsave.exp: Increase the timeout by
699 a factor of 15 and 3 respectively rather than adding 120
700 for a pair of slow test cases. Take the `gdb,timeout'
701 target setting into account for this calculation.
703 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
705 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
706 timeout, don't pass one down to gdb_expect.
707 (gdb_expect): Rework timeout selection.
709 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
711 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
712 exception on timeout.
713 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
714 (gdbserver_start_extended): Catch any `gdbserver_start' error
716 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
717 * lib/mi-support.exp (mi_gdb_target_load): Catch any
718 `gdbserver_gdb_load' error exceptions.
720 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
722 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
723 120 on waiting for the TCP socket to open.
725 2014-09-09 Doug Evans <xdje42@gmail.com>
727 * gdb.base/default.exp (show_conv_list): Add _caller_is,
728 _caller_matches, _any_caller_is, _any_caller_matches.
730 2014-09-09 Doug Evans <xdje42@gmail.com>
732 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
734 2014-09-09 Yao Qi <yao@codesourcery.com>
736 * gdb.mi/mi-var-display.exp: Set print symbol off.
738 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
741 * gdb.base/commands.exp: Add tests to verify user-defined
742 commands with empty bodies.
743 * gdb.python/py-cmd.exp: Test that we don't show user-defined
744 python commands in `show user command`.
745 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
746 scheme commands in `show user command`.
748 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
751 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
752 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
753 * gdb.python/py-framefilter-invalidarg.exp: New file.
754 * gdb.python/py-framefilter-invalidarg.py: New file.
756 2014-09-06 Doug Evans <xdje42@gmail.com>
759 * gdb.python/py-caller-is.c: New file.
760 * gdb.python/py-caller-is.exp: New file.
762 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
765 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
766 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
768 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
771 * gdb.fortran/print-formatted.exp: New file.
772 * gdb.fortran/print-formatted.f90: Likewise.
774 2014-09-03 Sasha Smundak <asmundak@google.com>
776 * gdb.python/py-frame.exp: Test Frame.read_register.
778 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
781 * gdb.python/py-completion.exp: New file.
782 * gdb.python/py-completion.py: Likewise.
784 2014-08-28 Doug Evans <dje@google.com>
786 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
787 eax,etc. are live with values set by gdb and thus the compiler can't
789 * gdb.arch/i386-pseudo.c (main): Ditto.
791 2014-08-27 Doug Evans <dje@google.com>
793 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
795 2014-08-25 Doug Evans <dje@google.com>
797 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
800 2014-08-25 Doug Evans <dje@google.com>
802 * gdb.threads/thread-execl.exp: #include <stdio.h>.
804 2014-08-24 Yao Qi <yao@codesourcery.com>
806 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
808 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
810 2014-08-22 Doug Evans <dje@google.com>
813 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
814 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
815 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
817 2014-08-22 Yao Qi <yao@codesourcery.com>
819 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
820 * gdb.python/py-finish-breakpoint2.exp: Likewise.
821 * gdb.python/python.exp: Likewise. Use .py file on the host
822 instead of the build.
824 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
826 * gdb.threads/gcore-stale-thread.c: New file.
827 * gdb.threads/gcore-stale-thread.exp: New file.
829 2014-08-21 Pedro Alves <palves@redhat.com>
831 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
832 * gdb.base/gcore-relro-pie.exp: Likewise.
833 * gdb.base/gcore-relro.exp: Likewise.
834 * gdb.base/gcore.exp: Likewise.
835 * gdb.base/print-symbol-loading.exp: Likewise.
836 * gdb.threads/gcore-thread.exp: Likewise.
837 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
839 2014-08-20 Pedro Alves <palves@redhat.com>
840 Jan Kratochvil <jan.kratochvil@redhat.com>
842 * Makefile.in (EXTRA_RULES, CC): New variables, get from
844 (EXPECT): Handle READ1 being set.
845 (all): Depend on EXTRA_RULES.
846 (check-read1, expect-read1, read1.so, read1): New rules.
847 * README (Testsuite Parameters): Document the READ1 make variable.
848 (Race detection): New section.
849 * configure: Regenerate.
850 * configure.ac: If build==host==target, and running under a
851 GNU/glibc system, add read1 to the extra Makefile rules.
852 (EXTRA_RULES): AC_SUBST it.
853 * lib/read1.c: New file.
855 2014-08-20 Joel Brobecker <brobecker@adacore.com>
857 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
858 the handling of variables declared as a typedef to an array
859 which a DW_AT_data_location attribute.
861 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
862 Pedro Alves <palves@redhat.com>
866 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
869 2014-08-19 Pedro Alves <palves@redhat.com>
871 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
873 2014-08-19 Yao Qi <yao@codesourcery.com>
875 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
878 2014-08-18 David Blaikie <dblaikie@gmail.com>
880 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
882 2014-08-18 Joel Brobecker <brobecker@adacore.com>
884 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
885 attribute in array range.
887 2014-08-18 Joel Brobecker <brobecker@adacore.com>
889 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
891 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
894 * gdb.cp/pr17132.cc: New file.
895 * gdb.cp/pr17132.exp: New file.
897 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
899 * gdb.python/py-xmethods.py (A_getarrayind)
900 (E_method_char_worker.__call__, E_method_int_worker.__call__):
901 Use 'print' with function call syntax.
902 (E_method_matcher.match): Fix tab vs space indentation mixup.
904 2014-08-15 Yao Qi <yao@codesourcery.com>
906 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
909 2014-08-15 Yao Qi <yao@codesourcery.com>
911 * gdb.cp/casts.exp: Set print symbol off.
912 * gdb.cp/class2.exp: Likewise.
913 * gdb.cp/overload.exp: Likewise.
914 * gdb.cp/templates.exp: Likewise.
916 2014-08-11 Doug Evans <dje@google.com>
918 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
919 (test_load_shlib): Update.
921 2014-08-09 Yao Qi <yao@codesourcery.com>
923 * gdb.base/display.exp: Invoke is_address_zero_readable.
924 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
925 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
926 * gdb.base/hbreak-unmapped.exp: Return if
927 is_address_zero_readable returns true.
928 * gdb.base/signest.exp: Likewise.
929 * gdb.base/signull.exp: Likewise.
930 * gdb.base/sigbpt.exp: Likewise.
931 * gdb.guile/scm-disasm.exp: Do the test if
932 is_address_zero_readable returns false.
933 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
934 * gdb.python/py-arch.exp: Likewise.
935 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
936 * lib/gdb.exp (is_address_zero_readable): New proc.
938 2014-08-09 Yao Qi <yao@codesourcery.com>
941 * gdb.mi/mi-var-display.exp: Make test messages unique.
943 2014-08-04 Tom Tromey <tromey@redhat.com>
945 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
948 2014-08-04 Tom Tromey <tromey@redhat.com>
950 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
953 2014-08-01 Joel Brobecker <brobecker@adacore.com>
955 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
956 inner_vla_struct_object_size.
957 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
960 2014-07-30 Pedro Alves <palves@redhat.com>
962 * gdb.threads/signal-command-handle-nopass.exp (test): Add
965 2014-07-29 Yao Qi <yao@codesourcery.com>
968 * gdb.base/until-nodebug.exp: New.
970 2014-07-28 Doug Evans <xdje42@gmail.com>
973 * gdb.guile/scm-parameter.exp: Add tests for trying to create
974 previously existing parameter, and previously ambiguously spelled
977 2014-07-28 Will Newton <will.newton@linaro.org>
979 * gdb.base/varargs.exp: Remove KFAILs for ARM.
981 2014-07-26 Ludovic Courtès <ludo@gnu.org>
982 Doug Evans <xdje42@gmail.com>
985 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
987 2014-07-25 Pedro Alves <palves@redhat.com>
989 * gdb.threads/signal-command-handle-nopass.c: New file.
990 * gdb.threads/signal-command-handle-nopass.exp: New file.
991 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
992 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
993 * gdb.threads/signal-delivered-right-thread.c: New file.
994 * gdb.threads/signal-delivered-right-thread.exp: New file.
996 2014-07-25 Pedro Alves <palves@redhat.com>
998 * gdb.base/double-prompt-target-event-error.exp
999 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
1001 (cancel_pagination_in_target_event): Rework double prompt
1003 * gdb.base/paginate-after-ctrl-c-running.exp
1004 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
1006 * gdb.base/paginate-bg-execution.exp
1007 (test_bg_execution_pagination_return)
1008 (test_bg_execution_pagination_cancel): Remove '-notransfer
1010 * gdb.base/paginate-execution-startup.exp
1011 (test_fg_execution_pagination_return)
1012 (test_fg_execution_pagination_cancel): Remove '-notransfer
1014 * gdb.base/paginate-inferior-exit.exp
1015 (test_paginate_inferior_exited): Remove '-notransfer <return>'
1017 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
1018 * lib/gdb.exp (pagination_prompt): Run text through
1020 (gdb_test_multiple): Match $pagination_prompt instead of
1022 (string_to_regexp): Move to lib/gdb-utils.exp.
1024 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1026 * gdb.arch/amd64-entry-value-paramref.S: New file.
1027 * gdb.arch/amd64-entry-value-paramref.cc: New file.
1028 * gdb.arch/amd64-entry-value-paramref.exp: New file.
1029 * gdb.arch/amd64-optimout-repeat.S: New file.
1030 * gdb.arch/amd64-optimout-repeat.c: New file.
1031 * gdb.arch/amd64-optimout-repeat.exp: New file.
1033 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1036 * gdb.base/statistics.exp: New file.
1038 2014-07-17 Doug Evans <dje@google.com>
1041 * gdb.base/maint.exp: Update testing of per-command stats.
1043 2014-07-16 Pedro Alves <palves@redhat.com>
1045 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
1046 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
1047 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
1048 (tfile_write_buf): New functions.
1049 (add_memory_block): Rewrite using the above.
1050 (adjust_function_address): New function.
1051 (FUNCTION_ADDRESS): New macro.
1052 (write_basic_trace_file): Remove short_x local, and use
1053 tfile_write_16. Change type of func_addr local to unsigned long
1054 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
1055 here. Cast argument of add_memory_block to char pointer.
1056 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
1057 (main): Remove parameters.
1058 * gdb.trace/tfile.exp: Remove nowarnings.
1060 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1062 * gdb.base/debug-expr.exp: Test string evaluation with
1063 "debug expression" on.
1065 2014-07-15 Pedro Alves <palves@redhat.com>
1067 * gdb.base/reread.exp: Use clean_restart.
1069 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1071 * gdb.arch/avr-flash-qualifer.c: New.
1072 * gdb.arch/avr-flash-qualifer.exp: New.
1074 2014-07-14 Pedro Alves <palves@redhat.com>
1076 * gdb.base/paginate-after-ctrl-c-running.c: New file.
1077 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1079 2014-07-14 Pedro Alves <palves@redhat.com>
1081 * gdb.base/double-prompt-target-event-error.c: New file.
1082 * gdb.base/double-prompt-target-event-error.exp: New file.
1084 2014-07-14 Pedro Alves <palves@redhat.com>
1087 * gdb.base/paginate-inferior-exit.c: New file.
1088 * gdb.base/paginate-inferior-exit.exp: New file.
1090 2014-07-14 Pedro Alves <palves@redhat.com>
1093 * gdb.base/paginate-bg-execution.c: New file.
1094 * gdb.base/paginate-bg-execution.exp: New file.
1096 2014-07-14 Pedro Alves <palves@redhat.com>
1099 * gdb.base/paginate-execution-startup.c: New file.
1100 * gdb.base/paginate-execution-startup.exp: New file.
1101 * lib/gdb.exp (pagination_prompt): New global.
1102 (default_gdb_spawn): New procedure, factored out from
1104 (default_gdb_start): Adjust to call default_gdb_spawn.
1105 (gdb_spawn): New procedure.
1107 2014-07-14 Pedro Alves <palves@redhat.com>
1109 * lib/gdb.exp (gdb_assert): New procedure.
1110 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
1112 2014-07-14 Pedro Alves <palves@redhat.com>
1114 * gdb.base/execution-termios.c: New file.
1115 * gdb.base/execution-termios.exp: New file.
1117 2014-07-14 Tom Tromey <tromey@redhat.com>
1119 * gdb.cp/vla-cxx.cc: New file.
1120 * gdb.cp/vla-cxx.exp: New file.
1122 2014-07-14 Tom Tromey <tromey@redhat.com>
1124 * gdb.reverse/rerun-prec.c: New file.
1125 * gdb.reverse/rerun-prec.exp: New file.
1127 2014-07-12 Maciej W. Rozycki <macro@mips.com>
1128 Maciej W. Rozycki <macro@codesourcery.com>
1130 * lib/gdb-utils.exp: New file.
1131 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
1132 inline `gdb_init_command' processing.
1133 (gdb_start_cmd): Likewise.
1134 * lib/mi-support.exp (mi_run_cmd): Likewise.
1135 * README: Document `gdb_init_command' and `gdb_init_commands'.
1137 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1139 Fix false FAIL running under a very long directory name.
1140 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1141 and "set print elements 10000". Twice.
1143 2014-07-11 Yao Qi <yao@codesourcery.com>
1145 * gdb.base/exprs.exp: "set print symbol off".
1147 2014-07-11 Pedro Alves <palves@redhat.com>
1149 * gdb.threads/kill.c: New file.
1150 * gdb.threads/kill.exp: New file.
1152 2014-07-10 Yao Qi <yao@codesourcery.com>
1154 * gdb.trace/tfile.c (write_basic_trace_file)
1155 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1156 address written to trace file.
1158 2014-07-09 Pedro Alves <palves@redhat.com>
1160 * gdb.base/attach-wait-input.exp: New file.
1161 * gdb.base/attach-wait-input.c: New file.
1163 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1165 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1166 setting up test structures.
1167 (main): Call new test function.
1168 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1169 test function, continue into test function and walk test
1172 2014-07-02 Yao Qi <yao@codesourcery.com>
1174 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1175 'bar_start' at the beginning of functions 'foo' and 'bar'
1177 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1178 instead of 'foo' and 'bar'.
1180 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1182 * gdb.btrace/segv.exp: New.
1183 * gdb.btrace/segv.c: New.
1185 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
1187 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1190 2014-06-30 Mark Wielaard <mjw@redhat.com>
1192 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1193 vulture, vilify, villar): New volatile array constants.
1194 (vindictive, vegetation): New const volatile array constants.
1195 * gdb.base/volatile.exp: Test volatile and const volatile array
1198 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1200 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1201 target lacks support for awatch, rwatch, or hbreak.
1203 2014-06-27 Yao Qi <yao@codesourcery.com>
1205 * gdb.multi/dummy-frame-restore.exp: New.
1206 * gdb.multi/dummy-frame-restore.c: New.
1208 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1210 * gdb.btrace/gcore.exp: New.
1212 2014-06-23 Pedro Alves <palves@redhat.com>
1214 * gdb.base/watchpoint-reuse-slot.c: New file.
1215 * gdb.base/watchpoint-reuse-slot.exp: New file.
1217 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1219 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1220 progspace's filename in 'info', 'enable' and 'disable' command
1223 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1225 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1226 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1227 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1229 2014-06-20 Gary Benson <gbenson@redhat.com>
1231 * gdb.arch/i386-avx.exp: Fix include file location.
1232 * gdb.arch/i386-sse.exp: Likewise.
1234 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1236 * gdb.dlang/expression.exp: New file.
1238 2014-06-19 Pedro Alves <palves@redhat.com>
1240 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1242 (top level): ... here. Iterate running tests under different
1243 scheduler-locking settings.
1245 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
1247 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1248 to DW_FORM_addr and use non-zero addresses.
1250 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1253 * gdb.python/py-xmethods.cc: Add global function call counters and
1254 increment them in their respective functions. Remove "cout"
1256 * gdb.python/py-xmethods.exp: Make tests check the global function
1257 call counters instead of depending on inferior IO.
1259 2014-06-18 Don Breazeal <donb@codesourcery.com>
1261 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1263 (explicit_fork_parent_follow): Deleted procedure.
1264 (explicit_fork_child_follow): Deleted procedure.
1265 (test_follow_fork): New procedure.
1266 (do_fork_tests): Replace calls to deleted procedures with
1267 calls to test_follow_fork and reset GDB for subsequent
1270 2014-06-17 Yao Qi <yao@codesourcery.com>
1272 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1275 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
1277 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1278 Initialize ptr and S explicitly.
1279 (skip_type_update_when_not_use_rtti_test): Likewise.
1281 2014-06-16 Keith Seitz <keiths@redhat.com>
1284 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1285 the inferior is started.
1287 2014-06-16 Pedro Alves <palves@redhat.com>
1289 * gdb.base/break-main-file-remove-fail.c: New file.
1290 * gdb.base/break-main-file-remove-fail.exp: New file.
1291 * gdb.base/break-unload-file.exp: Use build_executable instead of
1292 prepare_for_testing.
1293 (test_break): New parameter "initial_load". Handle it.
1294 (top level): Add initial_load cmdline/file axis.
1296 2014-06-12 Tom Tromey <tromey@redhat.com>
1298 * gdb.base/completion.exp: Don't use directory name in test.
1300 2014-06-09 Gary Benson <gbenson@redhat.com>
1302 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1303 separate the always-available ANSI-standard signals from the
1304 signals that require checking.
1306 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1310 2014-06-07 Keith Seitz <keiths@redhat.com>
1314 * gdb.cp/var-tag.cc: New file.
1315 * gdb.cp/var-tag.exp: New file.
1316 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1317 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1318 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1319 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1321 2014-06-06 Doug Evans <xdje42@gmail.com>
1323 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1325 2014-06-06 Pedro Alves <palves@redhat.com>
1327 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1328 in target debug output instead of looking at RSP packets,
1329 disabling the test on any target that uses hardware stepping.
1332 2014-06-06 Pedro Alves <palves@redhat.com>
1334 * gdb.base/break-unload-file.exp: Fix typo.
1336 2014-06-06 Yao Qi <yao@codesourcery.com>
1338 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1339 from "jit_function" to "^jit_function".
1341 2014-06-06 Yao Qi <yao@codesourcery.com>
1343 * gdb.base/async.c (foo): Add one statement.
1344 * gdb.base/async.exp: Get the next instruction address and
1345 match the output of "nexti" by instruction address. Match
1346 the hex address in the output of "finish".
1348 2014-06-06 Gary Benson <gbenson@redhat.com>
1350 * gdb.base/call-signals.c: Remove preprocessor conditionals
1351 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1352 SIGSEGV and SIGTERM.
1353 * gdb.base/sigall.c: Likewise.
1354 * gdb.base/unwindonsignal.c: Likewise.
1355 * gdb.reverse/sigall-reverse.c: Likewise.
1357 2014-06-06 Yao Qi <yao@codesourcery.com>
1359 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1360 readable, skip the test.
1362 2014-06-06 Yao Qi <yao@codesourcery.com>
1364 * gdb.threads/staticthreads.c (thread_function): Move the line
1365 setting breakpoint on forward.
1366 * gdb.threads/staticthreads.exp: Update comments.
1368 2014-06-05 Ludovic Courtès <ludo@gnu.org>
1370 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1371 "history-append! type error".
1373 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1375 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1376 erroneous dprintf expected input.
1378 2014-06-04 Doug Evans <xdje42@gmail.com>
1380 * gdb.guile/scm-generics.exp: Delete.
1382 2014-06-04 Doug Evans <xdje42@gmail.com>
1384 * gdb.guile/scm-breakpoint.exp: Update.
1385 Add tests for breakpoint registration.
1387 2014-06-04 Tom Tromey <tromey@redhat.com>
1389 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1391 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1392 inner_vla_struct, vla_union types. Initialize objects of those
1393 types and compute their sizes.
1395 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1396 Hui Zhu <hui@codesourcery.com>
1398 * gdb.base/fileio.exp: Add test for shell not available as well as
1400 * gdb.base/fileio.c (test_system): Check for shell twice.
1402 2014-06-04 Yao Qi <yao@codesourcery.com>
1404 * gdb.base/auto-connect-native-target.exp: Remove redundant
1405 space from the regexp pattern.
1407 2014-06-04 Yao Qi <yao@codesourcery.com>
1409 * gdb.base/default.exp: Replace "child" with "native" in
1412 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1414 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1415 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1416 * gdb.python/py-xmethods.py: Python script supporting the
1417 new testcase and tests.
1419 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1420 Pedro Alves <palves@redhat.com>
1422 PR breakpoints/17000
1423 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1424 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1426 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1428 * gdb.base/subst.exp: Add tests to verify partial path matching
1431 2014-06-03 Pedro Alves <palves@redhat.com>
1433 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1434 target that doesn't use software single-stepping.
1436 2014-06-03 Pedro Alves <palves@redhat.com>
1438 PR breakpoints/17000
1439 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1440 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1442 2014-06-02 Doug Evans <xdje42@gmail.com>
1444 * gdb.guile/scm-parameter.exp: New file.
1446 2014-06-02 Doug Evans <xdje42@gmail.com>
1448 * gdb.guile/scm-cmd.c: New file.
1449 * gdb.guile/scm-cmd.exp: New file.
1451 2014-06-02 Doug Evans <xdje42@gmail.com>
1453 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1454 pretty-printer lookup.
1455 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1456 (make-pp_s-printer): Call it.
1457 (make-pretty-printer-from-dict): New function.
1458 (lookup-pretty-printer-maker-from-dict): New function.
1459 (*pretty-printer*): Simplify.
1460 (make-objfile-pp_s-printer): New function.
1461 (install-objfile-pretty-printers!): New function.
1462 (make-progspace-pp_s-printer): New function.
1463 (install-progspace-pretty-printers!): New function.
1464 * gdb.guile/scm-progspace.c: New file.
1465 * gdb.guile/scm-progspace.exp: New file.
1467 2014-06-02 Pedro Alves <palves@redhat.com>
1469 * gdb.base/dprintf-bp-same-addr.c: New file.
1470 * gdb.base/dprintf-bp-same-addr.exp: New file.
1472 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1474 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1475 * gdb.arch/powerpc-power.s: Likewise.
1477 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1479 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1481 2014-06-01 Yao Qi <yao@codesourcery.com>
1483 * gdb.base/watchpoint.exp (test_watch_location): Check null
1484 pointer can be dereferenced. If not, do the test, otherwise
1487 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1489 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1491 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1493 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1495 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1496 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1497 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1498 * gdb.arch/amd64-invalid-stack-top.c: New file.
1499 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1501 2014-05-30 Pedro Alves <palves@redhat.com>
1503 PR breakpoints/17000
1504 * gdb.base/sss-bp-on-user-bp.c: New file.
1505 * gdb.base/sss-bp-on-user-bp.exp: New file.
1507 2014-05-30 David Blaikie <dblaikie@gmail.com>
1509 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1510 gnu_inline semantics via attribute.
1511 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1512 source explicitly specifies the required semantics.
1514 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1516 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1518 2014-05-29 Pedro Alves <palves@redhat.com>
1519 Tom Tromey <tromey@redhat.com>
1521 * gdb.base/async-shell.exp: Don't enable target-async.
1522 * gdb.base/async.exp
1523 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1525 (top level): Don't test with "target-async".
1526 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1527 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1528 * gdb.base/inferior-died.exp: Don't enable target-async.
1529 * gdb.base/interrupt-noterm.exp: Likewise.
1530 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1531 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1532 * gdb.mi/mi-nonstop.exp: Likewise.
1533 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1534 * gdb.mi/mi-nsintrall.exp: Likewise.
1535 * gdb.mi/mi-nsmoribund.exp: Likewise.
1536 * gdb.mi/mi-nsthrexec.exp: Likewise.
1537 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1538 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1539 * gdb.python/py-evsignal.exp: Don't enable target-async.
1540 * gdb.python/py-evthreads.exp: Likewise.
1541 * gdb.python/py-prompt.exp: Likewise.
1542 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1543 * gdb.server/solib-list.exp: Don't enable target-async.
1544 * gdb.threads/thread-specific-bp.exp: Likewise.
1545 * lib/mi-support.exp: Adjust to use mi-async.
1547 2014-05-29 Pedro Alves <palves@redhat.com>
1550 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1551 reason, even in sync mode.
1553 2014-05-29 Pedro Alves <palves@redhat.com>
1554 Hui Zhu <hui@codesourcery.com>
1557 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1558 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1559 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1560 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1562 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1564 * config/monitor.exp (gdb_target_monitor): Replace use of
1565 "set remotebaud" by "set serial baud".
1567 2014-05-26 Andy Wingo <wingo@igalia.com>
1569 * gdb.guile/scm-breakpoint.exp:
1570 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1571 properties instead of gdb-object-properties.
1573 2014-05-26 Yao Qi <yao@codesourcery.com>
1575 * gdb.server/no-thread-db.exp: Specify source file name
1576 explicitly when setting a breakpoint.
1578 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1580 * gdb.btrace/vdso.c: New.
1581 * gdb.btrace/vdso.exp: New.
1583 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1585 * gdb.base/gcore.exp (capture_command_output): Move ...
1586 * lib/gdb.exp (capture_command_output): ... here.
1588 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1590 * gdb.btrace/data.exp: Test memory access during btrace replay.
1592 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1594 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1596 2014-05-21 Pedro Alves <palves@redhat.com>
1599 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1600 (top level): Test that output related to execution commands is
1601 sent to the console with CLI commands, but not with MI commands.
1602 Test that breakpoint events are always mirrored to the console.
1603 Also expect the new source line to be output after a "next" in
1604 async mode too. Make it a pass/fail test.
1605 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1607 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1609 2014-05-21 Pedro Alves <palves@redhat.com>
1611 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1612 Use them to test variations of "list" after reaching a breakpoint.
1613 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1614 Test "list" with listsize 10 after reaching a breakpoint.
1615 * gdb.python/python.exp (decode_line current location line
1616 number): Adjust expected line number.
1618 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1620 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1621 behavior for $args, pass it directly to "run".
1623 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1625 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1628 2014-05-21 Pedro Alves <palves@redhat.com>
1630 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1631 auto-connect-native-target off".
1632 * gdb.base/auto-connect-native-target.c: New file.
1633 * gdb.base/auto-connect-native-target.exp: New file.
1635 2014-05-21 Pedro Alves <palves@redhat.com>
1637 * gdb.base/default.exp: Test "target native" instead of "target
1640 2014-05-21 Mark Wielaard <mjw@redhat.com>
1642 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1644 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1646 Fix TLS access for -static -pthread.
1647 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1648 <HAVE_TLS> (thread_function, main): Initialize it.
1649 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1651 <$have_tls != "">: Check TLSVAR.
1653 2014-05-21 Pedro Alves <palves@redhat.com>
1655 * gdb.base/dcache-line-read-error.c: New.
1656 * gdb.base/dcache-line-read-error.exp: New.
1658 2014-05-20 Pedro Alves <palves@redhat.com>
1660 * gdb.base/compare-sections.c: New file.
1661 * gdb.base/compare-sections.exp: New file.
1663 2014-05-20 Pedro Alves <palves@redhat.com>
1665 * gdb.base/break-idempotent.c: New file.
1666 * gdb.base/break-idempotent.exp: New file.
1668 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1670 * gdb.btrace/nohist.exp: New.
1672 2014-05-20 Yao Qi <yao@codesourcery.com>
1674 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1675 gdb.reverse directory and gdb_reverse_timeout exists in board
1677 * README: Document gdb_reverse_timeout.
1679 2014-05-20 Yao Qi <yao@codesourcery.com>
1681 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1682 'test_file_name'. Treat args as a string instead of a list.
1683 (gdb_init): Rename argument 'args' by 'test_file_name'.
1685 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1687 * gdb.arch/powerpc-power.exp: New file.
1688 * gdb.arch/powerpc-power.s: New file.
1690 2014-05-16 Doug Evans <dje@google.com>
1692 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
1693 * gdb.base/completion.exp: Check that all expected files exist
1694 before doing file completion.
1696 2014-05-16 Doug Evans <dje@google.com>
1698 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1700 (do_syscall_tests_without_xml): Update.
1702 2014-05-16 Pedro Alves <palves@redhat.com>
1704 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1705 instead of "unknown output after running".
1707 2014-05-16 Yao Qi <yao@codesourcery.com>
1709 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1710 file1.txt from host at the end.
1711 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1713 2014-05-15 Doug Evans <dje@google.com>
1715 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1716 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1717 loading file. Add test for TU lookup.
1719 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1721 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1722 calling "-exec-arguments" or "set args" before running the
1725 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1727 * lib/mi-support.exp (mi_expect_stop): Expect message for
1728 inferiors that exit with non-zero exit code.
1730 2014-05-14 Yao Qi <yao@codesourcery.com>
1732 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1733 match absolute path on remote host.
1734 (test_file_list_exec_source_files): Remove "/" from the
1737 2014-05-14 Yao Qi <yao@codesourcery.com>
1739 * boards/local-remote-host-notty.exp (${board}_file): New
1742 2014-05-07 Kyle McMartin <kyle@redhat.com>
1744 Pushed by Joel Brobecker <brobecker@adacore.com>.
1745 * gdb.arch/aarch64-atomic-inst.c: New file.
1746 * gdb.arch/aarch64-atomic-inst.exp: New file.
1748 2014-05-07 Yao Qi <yao@codesourcery.com>
1750 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1751 in current context" too.
1753 2014-05-05 Keith Seitz <keiths@redhat.com>
1755 * gdb.linespec/ls-dollar.exp: Add test for linespec
1756 file:convenience_variable.
1758 2014-05-05 Yao Qi <yao@codesourcery.com>
1760 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
1761 traceframes into tfile and ctf trace files. Read data from
1762 trace file and test collected data.
1763 (gdb_collect_locals_test): Likewise.
1764 (gdb_unavailable_registers_test): Likewise.
1765 (gdb_unavailable_floats): Likewise.
1766 (gdb_collect_globals_test): Likewise.
1767 (top-level): Append "ctf" to trace_file_targets if GDB
1770 2014-05-05 Yao Qi <yao@codesourcery.com>
1772 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
1774 (gdb_collect_args_test_1): ... it. New proc.
1775 (gdb_collect_locals_test): Move some code to ...
1776 (gdb_collect_locals_test_1): ... it. New proc.
1777 (gdb_unavailable_registers_test): Move some code to ...
1778 (gdb_unavailable_registers_test_1): ... it. New proc.
1779 (gdb_unavailable_floats): Move some code to ...
1780 (gdb_unavailable_floats_1): ... it. New proc.
1782 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1784 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
1785 probes to test for bitness recognition.
1786 * gdb.arch/amd64-stap-optional-prefix.exp
1787 (test_probe_value_without_reg): New procedure.
1788 Add code to test for different kinds of bitness.
1790 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1792 PR breakpoints/16889
1793 * gdb.arch/amd64-stap-optional-prefix.S: New file.
1794 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1796 2014-05-01 Pedro Alves <palves@redhat.com>
1798 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
1799 gdb_file_cmd if no file is specified.
1800 * boards/native-extended-gdbserver.exp (gdb_load): Use the
1801 last_loaded_file to set the remote exec-file.
1803 2014-05-01 Pedro Alves <palves@redhat.com>
1805 * boards/local-remote-host.exp: New file.
1807 2014-05-01 Pedro Alves <palves@redhat.com>
1809 * boards/local-remote-host.exp: Rename to ...
1810 * boards/local-remote-host-notty.exp: ... this.
1812 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1814 * gdb.ada/dyn_arrayidx: New testcase.
1816 2014-04-26 Yao Qi <yao@codesourcery.com>
1818 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
1819 and compute the length of function main. Save it in
1821 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
1822 (top-level): Use gdb_compile to compile objects into
1823 executable and restart GDB. Remove invocation to
1824 prepare_for_testing.
1826 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
1827 Pedro Alves <palves@redhat.com>
1830 * gdb.multi/multi-attach.c: New file.
1831 * gdb.multi/multi-attach.exp: New file.
1833 2014-04-25 Pedro Alves <palves@redhat.com>
1835 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
1837 (top level): Test that "set remote conditional-breakpoints-packet
1838 off" works as intended.
1839 * gdb.base/dprintf.exp: Test that "set remote
1840 breakpoint-commands-packet off" works as intended.
1841 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
1843 (top level): Call it.
1844 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
1845 remote fast-tracepoints-packet off" works as intended.
1846 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
1847 * lib/gdb.exp (gdb_is_target_remote): ... here.
1849 2014-04-24 David Blaikie <dblaikie@gmail.com>
1851 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
1852 ensure clang would not discard them.
1853 * gdb.base/gdbvars.c: Ditto.
1854 * gdb.base/memattr.c: Ditto.
1855 * gdb.base/whatis.c: Ditto.
1856 * gdb.python/py-prettyprint.c: Ditto.
1857 * gdb.trace/actions.c: Ditto.
1858 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
1859 ensure clang would not discard it.
1861 2014-04-24 David Blaikie <dblaikie@gmail.com>
1863 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1864 clang to emit the full definition of type required by the test
1865 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1867 2014-04-24 David Blaikie <dblaikie@gmail.com>
1869 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1870 coax Clang into emitting the definition of the type.
1871 * gdb.cp/pr10728-x.h (y): Ditto.
1872 * gdb.cp/pr10728-y.cc (y): Ditto.
1874 2014-04-24 David Blaikie <dblaikie@gmail.com>
1876 * gdb.base/label.exp: XFAIL label related tests under Clang.
1877 * gdb.cp/cplabel.exp: Ditto.
1878 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
1879 under Clang those using labels.
1881 2014-04-25 Yao Qi <yao@codesourcery.com>
1883 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
1885 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
1886 partial_label and double_label.
1888 2014-04-24 David Blaikie <dblaikie@gmail.com>
1890 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
1892 2014-04-24 David Blaikie <dblaikie@gmail.com>
1894 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
1895 of the function to work across GCC and Clang.
1896 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
1897 pointer types (const void ** const V void **).
1899 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
1900 Walfred Tedeschi <walfred.tedeschi@intel.com>
1902 * Makefile.in (EXECUTABLES): Added i386-avx512.
1903 * gdb.arch/i386-avx512.c: New file.
1904 * gdb.arch/i386-avx512.exp: Likewise.
1906 2014-04-23 Keith Seitz <keiths@redhat.com>
1908 * lib/mi-support.exp (mi_list_breakpoints): Delete.
1909 (mi_make_breakpoint_table): New procedure.
1910 (mi_create_breakpoint): Use mi_make_breakpoint
1911 and return the result.
1912 (mi_make_breakpoint): New procedure.
1913 (mi_build_kv_pairs): New procedure.
1915 * gdb.mi/mi-break.exp: Remove unused globals,
1916 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
1917 All callers updated.
1918 * gdb.mi/mi-dprintf.exp: Use variable to track command
1920 Update all callers of mi_create_breakpoint and use
1921 mi_make_breakpoint_table.
1922 Remove any unused global variables.
1923 * gdb.mi/mi-nonstop.exp: Likewise.
1924 * gdb.mi/mi-nsintrall.exp: Likewise.
1925 * gdb.mi/mi-nsmoribund.exp: Likewise.
1926 * gdb.mi/mi-nsthrexec.exp: Likewise.
1927 * gdb.mi/mi-reverse.exp: Likewise.
1928 * gdb.mi/mi-simplerun.exp: Likewise.
1929 * gdb.mi/mi-stepn.exp: Likewise.
1930 * gdb.mi/mi-syn-frame.exp: Likewise.
1931 * gdb.mi/mi-until.exp: Likewise.
1932 * gdb.mi/mi-var-cp.exp: Likewise.
1933 * gdb.mi/mi-var-display.exp: Likewise.
1934 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1935 * gdb.mi/mi2-var-child.exp: Likewise.
1936 * gdb.mi/mi-vla-c99.exp: Likewise.
1937 * lib/mi-support.exp: Likewise.
1939 From Ian Lance Taylor <iant@cygnus.com>:
1940 * lib/gdb.exp (parse_args): New procedure.
1942 2014-04-23 Pedro Alves <palves@redhat.com>
1944 * gdb.base/break-unload-file.c: New file.
1945 * gdb.base/break-unload-file.exp: New file.
1946 * gdb.base/sym-file-lib.c (baz): New function.
1947 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
1949 (load): Store the segment's mapped size.
1950 (unload): New function.
1951 (unload_shlib): New function.
1952 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
1953 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
1954 set a breakpoint at baz, and call it.
1955 * gdb.base/sym-file.exp: New tests for stale breakpoint
1958 2014-04-23 Pedro Alves <palves@redhat.com>
1960 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
1961 * gdb.base/hbreak-in-shr-unsupported.c: New file.
1962 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
1963 * gdb.base/hbreak-unmapped.c: New file.
1964 * gdb.base/hbreak-unmapped.exp: New file.
1965 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
1966 * lib/gdb.exp (gdb_is_target_remote): ... here.
1968 2014-04-22 Pedro Alves <palves@redhat.com>
1970 * gdb.base/consecutive-step-over.c: New file.
1971 * gdb.base/consecutive-step-over.exp: New file.
1973 2014-04-22 Pedro Alves <palves@redhat.com>
1975 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
1976 instead of send_gdb/gdb_expect.
1978 2014-04-22 Yao Qi <yao@codesourcery.com>
1980 * lib/trace-support.exp (generate_tracefile): New procedure.
1981 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
1983 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
1984 if generate_tracefile returns 1.
1986 2014-04-18 Tom Tromey <palves@redhat.com>
1987 Pedro alves <tromey@redhat.com>
1990 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
1991 with a backtrace limit.
1992 * gdb.python/py-frame-inline.exp: Test running to an inline
1993 function with a backtrace limit, and printing the newest frame.
1994 * gdb.python/py-frame-inline.c (main): Call f.
1996 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1998 * gdb.java/jnpe.exp: Drop srcdir from untested path.
2000 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2002 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
2003 Drop prefix from unsupported source file path.
2005 2014-04-17 Yao Qi <yao@codesourcery.com>
2007 * lib/gdb.exp (with_target_charset): New proc.
2008 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
2009 with_target_charset.
2010 (test_print_strings): Likewise.
2011 (test_repeat_bytes): Likewise.
2012 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
2015 2014-04-16 Keith Seitz <keiths@redhat.com>
2018 * gdb.dwarf2/corrupt.c: New file.
2019 * gdb.dwarf2/corrupt.exp: New file.
2021 2014-04-16 Keith Seitz <keiths@redhat.com>
2024 * gdb.cp/namelessclass.cc: New file.
2025 * gdb.cp/namelessclass.exp: New file.
2026 * gdb.cp/namelessclass.S: New file.
2028 2014-04-16 Doug Evans <dje@google.com>
2030 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
2032 (gdbserver_default_get_comm_port): New function.
2033 (gdbserver_start): Check if board file provided
2034 "gdbserver,get_comm_port" and use it if so.
2035 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
2036 (gdb,socketport): Set to "stdio".
2037 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
2038 (stdio_gdbserver_template): Delete.
2039 (${board}_get_remote_address): Update.
2040 (${board}_build_remote_cmd): Delete.
2041 (${board}_get_comm_port): New function.
2042 (${board}_spawn): Update.
2043 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
2045 (${board}_get_remote_address): Update.
2046 (${board}_get_comm_port): New function.
2048 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
2050 * gdb.base/memattr.exp: Improve regexps to handle memory regions
2051 appearing in any order.
2053 2014-04-15 Doug Evans <dje@google.com>
2055 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
2056 uninitialized value of "description".
2058 2014-04-15 Keith Seitz <keiths@redhat.com>
2060 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
2061 Remove unused globals.
2062 (test_running_the_program): Likewise.
2063 (test_controlled_execution): Likewise.
2064 (test_controlling_breakpoints): Likewise.
2065 (test_program_termination): Likewise.
2067 2014-04-15 Keith Seitz <keiths@redhat.com>
2069 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
2071 (test_rbreak_creation_and_listing): Likewise.
2072 (test_ignore_count): Likewise.
2073 (test_error): Likewise.
2075 2014-04-15 Pedro Alves <palves@redhat.com>
2077 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2078 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2080 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2081 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2082 to sym-file-loader.c.
2083 (struct library): Forward declare.
2084 (load_shlib, lookup_function): Change prototypes.
2085 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2086 (translate_offset): Remove declarations.
2087 (get_text_addr): New declaration.
2088 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2089 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2091 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2092 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2093 here from sym-file-loader.h.
2094 (struct library): New structure.
2095 (load_shlib, lookup_function): Change prototypes and adjust to
2096 work with a struct library.
2097 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2098 (translate_offset): Make static.
2099 (get_text_addr): New function.
2100 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
2102 2014-04-15 Pedro Alves <palves@redhat.com>
2104 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
2106 2014-04-15 Pedro Alves <palves@redhat.com>
2108 * gdb.base/sym-file-loader.c: Include <limits.h>.
2109 (SELF_LINK): New define.
2110 (get_origin): New function.
2111 (load_shlib): Use it.
2112 * gdb.base/sym-file.exp: Don't early return if the target is
2113 remote. Use runto_main, and issue fail is that fails. Use
2115 (shlib_name): Delete.
2116 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
2118 2014-04-15 Pedro Alves <palves@redhat.com>
2120 * gdb.base/sym-file.exp: Remove regex characters from test
2121 message. Don't refer to breakpoint numbers in test messages.
2123 2014-04-14 Keith Seitz <keiths@redhat.com>
2126 * gdb.cp/var-tag.cc: New file.
2127 * gdb.cp/var-tag.exp: New file.
2128 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2129 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2130 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2131 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2133 2014-04-14 Tom Tromey <tromey@redhat.com>
2135 * gdb.cp/classes.exp (test_enums): Handle underlying type.
2136 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
2138 * gdb.cp/enum-class.exp: New file.
2139 * gdb.cp/enum-class.cc: New file.
2141 2014-04-14 Tom Tromey <tromey@redhat.com>
2143 * gdb.dwarf2/enum-type.exp: New file.
2145 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2147 * gdb.mi/mi-vla-c99.exp: New file.
2148 * gdb.mi/vla.c: New file.
2150 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2152 * gdb.base/vla-datatypes.c: New file.
2153 * gdb.base/vla-datatypes.exp: New file.
2155 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2157 * gdb.base/vla-ptr.c: New file.
2158 * gdb.base/vla-ptr.exp: New file.
2160 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2162 * gdb.dwarf2/count.exp: New file.
2164 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2166 * gdb.base/vla-sideeffect.c: New file.
2167 * gdb.base/vla-sideeffect.exp: New file.
2169 2014-04-14 David Blaikie <dblaikie@gmail.com>
2171 * gdb.mi/non-stop.c: Add return value for non-void function return
2173 * gdb.threads/staticthreads.c: Ditto.
2175 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2176 Doug Evans <xdje42@gmail.com>
2178 * gdb.guile/scm-value.c: Improve test case.
2179 * gdb.guile/scm-value.exp: Add new test.
2181 2014-04-11 David Blaikie <dblaikie@gmail.com>
2183 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2184 override Clang's default.
2186 2014-04-11 Joel Brobecker <brobecker@adacore.com>
2188 Revert the following changes (regressions):
2190 * gdb.base/vla-sideeffect.c: New file.
2191 * gdb.base/vla-sideeffect.exp: New file.
2193 * gdb.dwarf2/count.exp: New file.
2195 * gdb.base/vla-multi.c: New file.
2196 * gdb.base/vla-multi.exp: New file.
2198 * gdb.base/vla-ptr.c: New file.
2199 * gdb.base/vla-ptr.exp: New file.
2201 * gdb.base/vla-datatypes.c: New file.
2202 * gdb.base/vla-datatypes.exp: New file.
2204 * gdb.mi/mi-vla-c99.exp: New file.
2205 * gdb.mi/vla.c: New file.
2207 2014-04-11 Keith Seitz <keiths@redhat.com>
2210 * gdb.cp/cpsizeof.exp: New file.
2211 * gdb.cp/cpsizeof.cc: New file.
2213 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2215 * gdb.mi/mi-vla-c99.exp: New file.
2216 * gdb.mi/vla.c: New file.
2218 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2220 * gdb.base/vla-datatypes.c: New file.
2221 * gdb.base/vla-datatypes.exp: New file.
2223 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2225 * gdb.base/vla-ptr.c: New file.
2226 * gdb.base/vla-ptr.exp: New file.
2228 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2230 * gdb.base/vla-multi.c: New file.
2231 * gdb.base/vla-multi.exp: New file.
2233 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2235 * gdb.dwarf2/count.exp: New file.
2237 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2239 * gdb.base/vla-sideeffect.c: New file.
2240 * gdb.base/vla-sideeffect.exp: New file.
2242 2014-04-11 Yao Qi <yao@codesourcery.com>
2244 * gdb.base/completion.exp: Check file exists before running tests
2247 2014-04-10 Pedro Alves <palves@redhat.com>
2249 * gdb.base/cond-eval-mode.c: New file.
2250 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2251 prepare_for_testing to build the new file. Check result of
2253 (test_break, test_watch): New procedures.
2254 (top level): Use them.
2256 2014-04-08 Pierre Muller <muller@sourceware.org>
2258 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2259 Ctrl-V use for mingw hosts.
2261 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2263 * gdb.python/py-value.c: Improve test case.
2264 * gdb.python/py-value.exp: Add new test.
2266 2014-04-07 David Blaikie <dblaikie@gmail.com>
2268 * lib/compiler.c: Identify the clang compiler.
2269 * lib/compiler.cc: Ditto.
2271 2014-04-03 Yao Qi <yao@codesourcery.com>
2273 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2275 2014-04-01 Anton Blanchard <anton@samba.org>
2277 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2280 2014-04-01 Anton Blanchard <anton@samba.org>
2282 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2283 prepare_for_testing.
2285 2014-04-01 Anton Blanchard <anton@samba.org>
2287 * gdb.arch/ppc64-atomic-inst.c: Remove.
2288 * gdb.arch/ppc64-atomic-inst.S: New file.
2289 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2291 2014-03-31 Doug Evans <dje@google.com>
2293 * gdb.base/print-symbol-loading-lib.c: New file.
2294 * gdb.base/print-symbol-loading-main.c: New file.
2295 * gdb.base/print-symbol-loading.exp: New file.
2297 2014-03-31 Yao Qi <yao@codesourcery.com>
2299 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2301 2014-03-28 Joel Brobecker <brobecker@adacore.com>
2303 * gdb.ada/mi_dyn_arr: New testcase.
2305 2014-03-27 Doug Evans <dje@google.com>
2307 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2309 2014-03-27 Yao Qi <yao@codesourcery.com>
2311 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2312 if target is nios2-*-*.
2314 2014-03-26 Yao Qi <yao@codesourcery.com>
2316 * lib/gdb.exp (readline_is_used): New proc.
2317 * gdb.base/completion.exp: Move tests on command complete up.
2318 Skip the rest of tests if readline is not used.
2319 * gdb.ada/complete.exp: Skp the test if readline is not
2321 * gdb.base/filesym.exp: Likewise.
2322 * gdb.base/macscp.exp: Likewise.
2323 * gdb.base/readline-ask.exp: Likewise.
2324 * gdb.base/readline.exp: Likewise.
2325 * gdb.python/py-cmd.exp: Likewise.
2326 * gdb.trace/tfile.exp: Likewise.
2328 2014-03-26 Yao Qi <yao@codesourcery.com>
2330 * gdb.base/macscp.exp: Fix code format issues.
2332 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2334 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2335 * gdb.asm/powerpc64le.inc: New file.
2337 2014-03-25 Pedro Alves <palves@redhat.com>
2338 Doug Evans <dje@google.com>
2340 * gdb.base/source-execution.c: New file.
2341 * gdb.base/source-execution.exp: New file.
2342 * gdb.base/source-execution.gdb: New file.
2344 2014-03-24 Doug Evans <dje@google.com>
2346 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2349 2014-03-24 Hui Zhu <hui@codesourcery.com>
2350 Pedro Alves <palves@redhat.com>
2352 PR breakpoints/16101
2353 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2354 test pass/fail messages. Detect missing support for dprintf when
2355 breakpoints are actually inserted.
2356 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2357 breakpoints are actually inserted.
2358 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2361 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2363 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2365 2014-03-22 Doug Evans <xdje42@gmail.com>
2367 * gdb.python/python.exp (python not supported): Verify multi-line
2368 python command issues an error.
2369 * gdb.guile/guile.exp (guile not supported): Verify multi-line
2370 guile command issues an error.
2372 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2374 * gdb.threads/thread-specific.exp: Handle the lack of usable
2375 $this_breakpoint and $this_thread.
2377 2014-03-21 Hui Zhu <hui@codesourcery.com>
2379 * gdb.base/attach.exp (do_command_attach_tests): New.
2381 2014-03-20 Tom Tromey <tromey@redhat.com>
2382 Pedro Alves <palves@redhat.com>
2385 * gdb.base/condbreak-call-false.c: New file.
2386 * gdb.base/condbreak-call-false.exp: New file.
2388 2014-03-20 Pedro Alves <palves@redhat.com>
2390 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2392 (block_signals, unblock_signals): Delete.
2393 (child_function_2, main): Remove references to deleted variable
2396 2014-03-20 Pedro Alves <palves@redhat.com>
2398 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2399 Use pthread_kill to signal thread 2.
2400 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2401 Adjust to make the test send itself a signal rather than using the
2402 host's "kill" command.
2404 2014-03-20 Pedro Alves <palves@redhat.com>
2406 * gdb.threads/multiple-step-overs.c: New file.
2407 * gdb.threads/multiple-step-overs.exp: New file.
2408 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2409 Adjust expected infrun debug output.
2411 2014-03-20 Pedro Alves <palves@redhat.com>
2413 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2414 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2416 2014-03-20 Pedro Alves <palves@redhat.com>
2419 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2420 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2421 of gdb_test_multiple.
2422 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2423 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2425 2014-03-20 Pedro Alves <palves@redhat.com>
2427 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2428 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2430 2014-03-19 Pedro Alves <palves@redhat.com>
2432 * gdb.base/async.exp: Remove early return.
2434 2014-03-19 Pedro Alves <palves@redhat.com>
2436 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2438 2014-03-19 Pedro Alves <palves@redhat.com>
2440 * gdb.base/async.exp (test_background): Expect \r\n after
2441 "completed." in the fail pattern.
2443 2014-03-19 Pedro Alves <palves@redhat.com>
2445 * gdb.base/async.exp (test_background): New procedure.
2446 Use it for all background execution command tests.
2448 2014-03-19 Pedro Alves <palves@redhat.com>
2450 * gdb.base/async.exp: Use prepare_for_testing.
2452 2014-03-19 Pedro Alves <palves@redhat.com>
2454 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2457 2014-03-19 Pedro Alves <palves@redhat.com>
2459 * gdb.base/async.c (main): Add "jump here" and "until here" line
2461 * gdb.base/async.exp (jump_here): New global.
2462 (jump& test): Use it.
2463 (until_here): New global.
2464 (until& test): Use it.
2466 2014-03-19 Pedro Alves <palves@redhat.com>
2468 * gdb.base/async.exp: Don't frob gdb_protocol.
2470 2014-03-18 Doug Evans <xdje42@gmail.com>
2472 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2473 Fix spelling of exec-done-display.
2475 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2478 * gdb.base/gdb-sigterm.c: New file.
2479 * gdb.base/gdb-sigterm.exp: New file.
2481 2014-03-18 Pedro Alves <palves@redhat.com>
2484 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2485 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2488 2014-03-17 Joel Brobecker <brobecker@adacore.com>
2490 * gdb.ada/pckd_arr_ren: New testcase.
2492 2014-03-13 Doug Evans <xdje42@gmail.com>
2495 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2496 collect after discarding symbols.
2498 2014-03-13 Ludovic Courtès <ludo@gnu.org>
2499 Doug Evans <xdje42@gmail.com>
2501 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2502 to history survives a gc.
2504 2014-03-13 Pedro Alves <palves@redhat.com>
2506 * gdb.base/default.exp: Don't test "target procfs".
2508 2014-03-13 Pedro Alves <palves@redhat.com>
2510 * gdb.base/default.exp: Update "target child" and "target procfs"
2511 tests to not expect "Unix".
2513 2014-03-12 Tom Tromey <tromey@redhat.com>
2515 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2516 New procs. Add target-async tests.
2517 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2518 Add target-async tests.
2520 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2522 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2523 'func_start' and 'func_end' for the beginning and end of the
2524 function code, respectively.
2525 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2526 'func_end' instead of 'func' and 'main'.
2528 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2530 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2531 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2532 generate the debug info assembler source.
2534 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2536 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2537 * gdb.dwarf2/arr-subrange.exp: Likewise.
2538 * gdb.dwarf2/dwz.exp: Likewise.
2539 * gdb.dwarf2/method-ptr.exp: Likewise.
2540 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2541 * gdb.dwarf2/subrange.exp: Likewise.
2542 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2543 * gdb.dwarf2/implptrpiece.exp: Likewise.
2544 * gdb.dwarf2/nostaticblock.exp: Likewise.
2546 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2548 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2549 directory to absolute path name arguments.
2551 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2553 * gdb.ada/tagged_access: New testcase.
2555 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2557 * gdb.btrace/data.exp: Update expected output.
2559 2014-03-06 Yao Qi <yao@codesourcery.com>
2561 * gdb.trace/pr16508.exp: New file.
2563 2014-03-05 Pedro Alves <palves@redhat.com>
2566 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2568 (top level): Adjust to use it. Add tests that exercise breakpoint
2569 interaction with the code-cache.
2571 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2573 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2574 test for 'history-append!'.
2576 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2578 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2579 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2580 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2581 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2582 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2583 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2585 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2587 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2588 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2589 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2591 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2593 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2595 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2597 * gdb.dwarf2/arr-stride.c: New file.
2598 * gdb.dwarf2/arr-stride.exp: New file.
2600 2014-02-26 Pedro Alves <palves@redhat.com>
2602 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2603 that won't ever trigger. Make sure that GDB reports the correct
2604 breakpoint that caused the stop.
2606 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2609 * gdb.base/auto-load-script: New file.
2610 * gdb.base/auto-load.c: New file.
2611 * gdb.base/auto-load.exp: New file.
2614 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2616 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2618 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2619 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2621 2014-02-24 Doug Evans <dje@google.com>
2623 * lib/gdb.exp (run_on_host): Log error output if program fails.
2625 2014-02-21 Pedro Alves <palves@redhat.com>
2627 * gdb.threads/step-after-sr-lock.c: Rename to ...
2628 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2629 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2630 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2633 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2636 * gdb.arch/amd64-stap-special-operands.exp: New file.
2637 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2638 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2639 * gdb.arch/amd64-stap-triplet.S: Likewise.
2640 * gdb.arch/amd64-stap-triplet.c: Likewise.
2642 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2644 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2645 in .section pseudo-op.
2647 2014-02-20 lin zuojian <manjian2006@gmail.com>
2648 Joel Brobecker <brobecker@adacore.com>
2649 Doug Evans <xdje42@gmail.com>
2652 * gdb.dwarf2/dw2-icycle.S: New file.
2653 * gdb.dwarf2/dw2-icycle.c: New file.
2654 * gdb.dwarf2/dw2-icycle.exp: New file.
2656 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2658 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2659 operations on gdb.Value objects.
2660 * gdb.python/py-value-cc.exp: Add new test to test operations on
2663 2014-02-18 Doug Evans <dje@google.com>
2665 * Makefile.in (TESTS): New variable.
2666 (expanded_tests, expanded_tests_or_none): New variables
2667 (check-single): Pass $(expanded_tests_or_none) to runtest.
2668 (check-parallel): Only run tests in $(TESTS) if non-empty.
2669 (check/no-matching-tests-found): New rule.
2670 * README: Document TESTS makefile variable.
2672 2014-02-18 Doug Evans <dje@google.com>
2674 * Makefile.in (check-parallel): rm -rf outputs temp.
2676 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2678 Fix "ERROR: no fileid for" in the testsuite.
2679 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2681 2014-02-12 Doug Evans <dje@google.com>
2683 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2684 (MISCELLANEOUS): New variable.
2685 (clean): rm -rf $(MISCELLANEOUS).
2686 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2687 dwp live in the same directory as symlinks, with each symlink pointed
2688 to a differently named file in a different directory.
2690 2014-02-11 Doug Evans <dje@google.com>
2692 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2693 of Tcl file commands.
2695 2014-02-10 Mark Kettenis <kettenis@gnu.org>
2697 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2700 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2702 * gdb.ada/tick_length_array_enum_idx: New testcase.
2704 2014-02-10 Doug Evans <xdje42@gmail.com>
2706 * configure.ac (AC_OUTPUT): Add gdb.guile.
2707 * configure: Regenerate.
2708 * lib/gdb-guile.exp: New file.
2709 * lib/gdb.exp (get_target_charset): New function.
2710 * gdb.base/help.exp: Update expected output from "apropos apropos".
2711 * gdb.guile/Makefile.in: New file.
2712 * gdb.guile/guile.exp: New file.
2713 * gdb.guile/scm-arch.c: New file.
2714 * gdb.guile/scm-arch.exp: New file.
2715 * gdb.guile/scm-block.c: New file.
2716 * gdb.guile/scm-block.exp: New file.
2717 * gdb.guile/scm-breakpoint.c: New file.
2718 * gdb.guile/scm-breakpoint.exp: New file.
2719 * gdb.guile/scm-disasm.c: New file.
2720 * gdb.guile/scm-disasm.exp: New file.
2721 * gdb.guile/scm-equal.c: New file.
2722 * gdb.guile/scm-equal.exp: New file.
2723 * gdb.guile/scm-error.exp: New file.
2724 * gdb.guile/scm-error.scm: New file.
2725 * gdb.guile/scm-frame-args.c: New file.
2726 * gdb.guile/scm-frame-args.exp: New file.
2727 * gdb.guile/scm-frame-args.scm: New file.
2728 * gdb.guile/scm-frame-inline.c: New file.
2729 * gdb.guile/scm-frame-inline.exp: New file.
2730 * gdb.guile/scm-frame.c: New file.
2731 * gdb.guile/scm-frame.exp: New file.
2732 * gdb.guile/scm-generics.exp: New file.
2733 * gdb.guile/scm-gsmob.exp: New file.
2734 * gdb.guile/scm-iterator.c: New file.
2735 * gdb.guile/scm-iterator.exp: New file.
2736 * gdb.guile/scm-math.c: New file.
2737 * gdb.guile/scm-math.exp: New file.
2738 * gdb.guile/scm-objfile-script-gdb.in: New file.
2739 * gdb.guile/scm-objfile-script.c: New file.
2740 * gdb.guile/scm-objfile-script.exp: New file.
2741 * gdb.guile/scm-objfile.c: New file.
2742 * gdb.guile/scm-objfile.exp: New file.
2743 * gdb.guile/scm-ports.exp: New file.
2744 * gdb.guile/scm-pretty-print.c: New file.
2745 * gdb.guile/scm-pretty-print.exp: New file.
2746 * gdb.guile/scm-pretty-print.scm: New file.
2747 * gdb.guile/scm-section-script.c: New file.
2748 * gdb.guile/scm-section-script.exp: New file.
2749 * gdb.guile/scm-section-script.scm: New file.
2750 * gdb.guile/scm-symbol.c: New file.
2751 * gdb.guile/scm-symbol.exp: New file.
2752 * gdb.guile/scm-symtab-2.c: New file.
2753 * gdb.guile/scm-symtab.c: New file.
2754 * gdb.guile/scm-symtab.exp: New file.
2755 * gdb.guile/scm-type.c: New file.
2756 * gdb.guile/scm-type.exp: New file.
2757 * gdb.guile/scm-value-cc.cc: New file.
2758 * gdb.guile/scm-value-cc.exp: New file.
2759 * gdb.guile/scm-value.c: New file.
2760 * gdb.guile/scm-value.exp: New file.
2761 * gdb.guile/source2.scm: New file.
2762 * gdb.guile/types-module.cc: New file.
2763 * gdb.guile/types-module.exp: New file.
2765 2014-02-10 Yao Qi <yao@codesourcery.com>
2768 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
2769 * configure: Regenerated.
2770 * Makefile.in: New file.
2772 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2774 * gdb.python/py-framefilter.exp: Fix typo.
2776 2014-02-08 Yao Qi <yao@codesourcery.com>
2778 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
2779 that no =breakpoint-modified is emitted when breakpoints are
2780 modified through MI commands.
2782 2014-02-07 Pedro Alves <pedro@codesourcery.com>
2783 Pedro Alves <palves@redhat.com>
2785 * gdb.threads/step-after-sr-lock.c: New file.
2786 * gdb.threads/step-after-sr-lock.exp: New file.
2788 2014-02-07 Pedro Alves <palves@redhat.com>
2790 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
2792 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2794 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
2795 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
2797 2014-02-06 Doug Evans <xdje42@gmail.com>
2799 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
2802 * gdb.gdb/python-interrupts.exp: New file.
2804 2014-02-05 Yao Qi <yao@codesourcery.com>
2806 * gdb.trace/report.exp (use_collected_data): Test the output
2807 of "info threads" and "info inferiors".
2809 2014-02-05 Yao Qi <yao@codesourcery.com>
2813 2013-05-24 Yao Qi <yao@codesourcery.com>
2815 * gdb.trace/tfile.exp: Test inferior and thread.
2817 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2819 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
2821 * gdb.base/step-bt.c: Call hello via function pointer to make
2822 sure its first instruction is executed on powerpc64le-linux.
2824 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2826 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
2828 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2830 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
2831 of the test patterns for use on little-endian systems.
2833 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2835 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
2836 (decimal_vector): Fix for little-endian.
2838 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2840 * gdb.arch/sparc-sysstep.exp: New file.
2841 * gdb.arch/sparc-sysstep.c: Likewise.
2843 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
2845 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2847 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2849 2014-01-23 Tom Tromey <tromey@redhat.com>
2851 * gdb.ada/array_char_idx: New testcase.
2853 2014-01-23 Tom Tromey <tromey@redhat.com>
2856 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
2857 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2860 2014-01-23 Tom Tromey <tromey@redhat.com>
2863 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2864 string from an inferior frame.
2865 * gdb.python/py-framefilter-mi.exp: Update.
2867 2014-01-22 Doug Evans <dje@google.com>
2869 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2871 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2873 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2875 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2877 * gdb.trace/entry-values.exp: Remove excess space character from
2878 regex patterns. Handle s390 call instruction.
2880 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2882 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
2883 define "*_start" label. Make "name" static.
2884 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
2885 ${name} by references to ${name}_start.
2887 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2889 * gdb.base/info-macros.exp: Remove "debug" from the compile
2892 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2894 * gdb.dlang/demangle.exp: New file.
2896 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2898 * gdb.dlang/primitive-types.exp: New file.
2900 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2902 * configure.ac: Create gdb.dlang/Makefile.
2903 * configure: Regenerate.
2904 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
2905 * gdb.dlang/Makefile.in: New file.
2906 * lib/d-support.exp: New file.
2907 * lib/gdb.exp (skip_d_tests): New proc.
2909 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2911 * gdb.btrace/delta.exp: Check reverse stepi.
2912 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
2913 * gdb.btrace/finish.exp: New.
2914 * gdb.btrace/next.exp: New.
2915 * gdb.btrace/nexti.exp: New.
2916 * gdb.btrace/record_goto.c: Add comments.
2917 * gdb.btrace/step.exp: New.
2918 * gdb.btrace/stepi.exp: New.
2919 * gdb.btrace/multi-thread-step.c: New.
2920 * gdb.btrace/multi-thread-step.exp: New.
2921 * gdb.btrace/rn-dl-bind.c: New.
2922 * gdb.btrace/rn-dl-bind.exp: New.
2923 * gdb.btrace/data.c: New.
2924 * gdb.btrace/data.exp: New.
2925 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2927 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2929 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
2930 * gdb.btrace/exception.exp: Update.
2931 * gdb.btrace/instruction_history.exp: Update.
2932 * gdb.btrace/record_goto.exp: Update.
2933 * gdb.btrace/tailcall.exp: Update.
2934 * gdb.btrace/unknown_functions.exp: Update.
2935 * gdb.btrace/delta.exp: New.
2937 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2939 * gdb.btrace/record_goto.exp: Add backtrace test.
2940 * gdb.btrace/tailcall.exp: Add backtrace test.
2942 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2944 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
2945 * gdb.btrace/record_goto.c: New.
2946 * gdb.btrace/record_goto.exp: New.
2947 * gdb.btrace/x86-record_goto.S: New.
2949 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2951 * gdb.btrace/function_call_history.exp: Update tests.
2952 * gdb.btrace/instruction_history.exp: Update tests.
2954 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2956 * gdb.btrace/function_call_history.exp: Fix expected field
2957 order for "record function-call-history".
2958 Add new tests for "record function-call-history /c".
2959 * gdb.btrace/exception.cc: New.
2960 * gdb.btrace/exception.exp: New.
2961 * gdb.btrace/tailcall.exp: New.
2962 * gdb.btrace/x86-tailcall.S: New.
2963 * gdb.btrace/x86-tailcall.c: New.
2964 * gdb.btrace/unknown_functions.c: New.
2965 * gdb.btrace/unknown_functions.exp: New.
2966 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2968 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2970 * gdb.btrace/instruction_history.exp: Update.
2971 * gdb.btrace/function_call_history.exp: Update.
2973 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2975 * gdb.btrace/function_call_history.exp: Fix expected function
2977 * gdb.btrace/instruction_history.exp: Initialize traced.
2978 Remove traced_functions.
2980 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2982 * gdb.btrace/function_call_history.exp: Update
2983 * gdb.btrace/instruction_history.exp: Update.
2985 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2987 * gdb.btrace/enable.exp: Update expected text.
2989 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
2991 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
2994 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
2996 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
2998 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3000 * lib/gdb.exp (supports_process_record): Return true for
3001 arm*-linux*. (supports_reverse): Likewise.
3003 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3007 * gdb.python/py-type.c: Enhance test case.
3008 * gdb.python/py-value-cc.cc: Likewise
3009 * gdb.python/py-type.exp: Add new tests.
3010 * gdb.python/py-value-cc.exp: Likewise
3012 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3013 Pedro Alves <palves@redhat.com>
3015 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
3017 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
3018 references to ${name}_start by references to ${name}.
3020 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3022 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
3024 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3026 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
3028 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
3029 Pedro Alves <palves@redhat.com>
3031 * gdb.mi/mi-info-os.exp: Connect to the target with
3034 2014-01-08 Pedro Alves <palves@redhat.com>
3036 * gdb.threads/reconnect-signal.c: New file.
3037 * gdb.threads/reconnect-signal.exp: New file.
3039 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3041 * gdb.base/source-dir.exp: New file.
3043 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3045 * gdb.ada/mi_interface: New testcase.
3047 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3049 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
3050 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
3051 gdb.ada/pp-rec-component/pck.ads: New files.
3053 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3055 * gdb.python/py-pp-integral.c: New file.
3056 * gdb.python/py-pp-integral.py: New file.
3057 * gdb.python/py-pp-integral.exp: New file.
3059 For older changes see ChangeLog-1993-2013.
3065 ;; version-control: never
3068 Copyright 2014 Free Software Foundation, Inc.
3069 Copying and distribution of this file, with or without modification,
3070 are permitted provided the copyright notice and this notice are preserved.