1 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3 * gdb.base/shr2.c: Add eye-catcher.
4 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
7 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9 * gdb.base/jump.c: Add eye-catchers.
10 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
13 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15 * gdb.base/execd-prog.c: Add eye-catchers.
16 * gdb.base/foll-exec.c: Likewise.
17 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
20 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
22 * gdb.base/ending-run.c: Add eye-catchers.
23 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
26 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
28 * gdb.base/call-rt-st.c: Add eye-catchers.
29 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
32 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
34 * gdb.base/call-ar-st.c: Add eye-catchers.
35 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
38 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
40 * gdb.base/average.c: Add eye-catchers.
41 * gdb.base/sum.c: Likewise.
42 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
45 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
47 * gdb.base/solib1.c: Add eye-catchers.
48 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
51 2014-11-12 Pedro Alves <palves@redhat.com>
53 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
56 2014-11-12 Pedro Alves <palves@redhat.com>
58 * gdb.arch/i386-bp_permanent.c: New file.
59 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
60 (srcfile): Set to i386-bp_permanent.c.
61 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
62 that stepi does not execute the 'leave' instruction, instead of
63 testing it does execute.
64 * gdb.base/bp-permanent.c: New file.
65 * gdb.base/bp-permanent.exp: New file.
67 2014-11-10 Doug Evans <xdje42@gmail.com>
70 * gdb.base/symtab-search-order.exp: New file.
71 * gdb.base/symtab-search-order.c: New file.
72 * gdb.base/symtab-search-order-1.c: New file.
73 * gdb.base/symtab-search-order-shlib-1.c: New file.
75 2014-11-07 Pedro Alves <palves@redhat.com>
78 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
81 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
84 * gdb.cp/pr17494.cc: New file.
85 * gdb.cp/pr17494.exp: New file.
87 2014-11-02 Yao Qi <yao@codesourcery.com>
89 * gdb.python/python.exp: Get working directory and match the
90 output of "set extended-prompt \\w " with it.
92 2014-10-30 Doug Evans <dje@google.com>
94 * gdb.python/py-objfile.exp: Add tests for setting random attributes
96 * gdb.python/py-progspace.exp: Add tests for setting random attributes
99 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
101 * gdb.base/fullpath-expand.exp: Skip for a remote host.
102 * gdb.base/realname-expand.exp: Likewise.
103 * gdb.linespec/macro-relative.exp: Likewise.
105 2014-10-29 Pedro Alves <palves@redhat.com>
108 * gdb.threads/schedlock.c (some_function): New function.
109 (call_function): New global.
110 (MAYBE_CALL_SOME_FUNCTION): New macro.
111 (thread_function): Call it.
112 * gdb.threads/schedlock.exp (get_args): Add description parameter,
113 and use it instead of a global counter. Adjust all callers.
114 (get_current_thread): Use "find current thread" for test message
115 here rather than having all callers pass down the same string.
116 (goto_loop): New procedure, factored out from ...
117 (my_continue): ... this.
118 (step_ten_loops): Change parameter from test message to command to
120 (list_count): Delete global.
121 (check_result): New procedure, factored out from duplicate top
123 (continue tests): Wrap in with_test_prefix.
124 (test_step): New procedure, factored out from duplicate top level
126 (top level): Test "step" in combination with all scheduler-locking
127 modes. Test "next" in combination with all scheduler-locking
128 modes, and in combination with stepping over a function call or
130 * gdb.threads/next-bp-other-thread.c: New file.
131 * gdb.threads/next-bp-other-thread.exp: New file.
133 2014-10-29 Pedro Alves <palves@redhat.com>
136 * gdb.python/python.exp: Test a multi-line command that spawns
138 * gdb.base/multi-line-starts-subshell.exp: New file.
140 2014-10-29 Yao Qi <yao@codesourcery.com>
142 * gdb.base/fileio.exp: Make directories on host.
144 2014-10-29 Yao Qi <yao@codesourcery.com>
146 * gdb.base/fileio.c (test_write): Close the file.
148 2014-10-28 Pedro Alves <palves@redhat.com>
151 * gdb.base/sigstep.c (no_handler): New global.
152 (main): If 'no_handler is true, set the signal handlers to
154 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
155 with_sw_watch and no_handler parameters. Handle them.
156 (top level) <stepping over handler when stopped at a breakpoint
157 test>: Add a test axis for testing with a software watchpoint, and
158 another for testing with the signal handler set to SIG_IGN.
159 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
160 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
162 2014-10-28 Pedro Alves <palves@redhat.com>
165 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
166 * gdb.base/sigstep.exp (other_handler_location): New global.
167 (advance): Support stepping into the signal handler, and running
168 commands while in the handler.
169 (in_handler_map): New global.
170 (top level): In the advance test, add combinations for getting
171 into the handler with stepping commands, and for running commands
172 in the handler. Add comment descripting the advancei tests.
174 2014-10-28 Pedro Alves <palves@redhat.com>
176 * gdb.base/sigstep.exp: Use build_executable instead of
178 (top level): Move code that starts GDB, runs to main and creates a
180 (restart): ... this new procedure.
181 (top level): Move backtrace from signal handler test to ...
182 (validate_backtrace): ... this new procedure.
183 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
184 with_test_prefix. Always restart GDB.
185 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
186 with_test_prefix. Always restart GDB. No need to delete
187 breakpoints after the test.
188 (test_skip_handler): Remove prefix parameter.
189 (skip_over_handler, breakpoint_to_handler)
190 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
191 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
192 restart GDB. No need to delete breakpoints after the test.
193 (top level): Use foreach to call the test procedures with
196 2014-10-28 Pedro Alves <palves@redhat.com>
198 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
199 instead of GNATS numbers.
200 * gdb.base/sigbpt.exp: Likewise.
201 * gdb.base/siginfo.exp: Likewise.
202 * gdb.base/sigstep.exp: Likewise.
204 2014-10-27 Pedro Alves <palves@redhat.com>
206 * gdb.base/sigstep.c (dummy): New global.
207 (main): Issue a couple writes to the new global.
208 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
210 (skip_over_handler): Use test_skip_handler.
211 (top level): Call skip_over_handler for stepi and nexti too.
212 (breakpoint_over_handler): Use test_skip_handler.
213 (top level): Call breakpoint_over_handler for stepi and nexti too.
215 2014-10-27 Yao Qi <yao@codesourcery.com>
217 * gdb.trace/tfile.c (adjust_function_address)
218 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
221 2014-10-24 Don Breazeal <donb@codesourcery.com>
223 * gdb.base/foll-fork.exp (test_follow_fork,
224 catch_fork_child_follow): Check for updated fork messages emitted
226 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
227 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
228 vfork_and_exec_child_follow_through_step): Check for updated vfork
229 messages emitted from infrun.c.
231 2014-10-24 Pedro Alves <palves@redhat.com>
233 * gdb.base/corefile.exp: Remove references to ultrix.
234 * gdb.base/interrupt.exp: Likewise.
235 * gdb.base/whatis.exp: Likewise.
236 * gdb.gdb/selftest.exp: Likewise.
237 * gdb.threads/manythreads.exp: Likewise.
238 * gdb.threads/print-threads.exp: Likewise.
239 * gdb.threads/pthreads.exp:: Likewise.
240 * gdb.threads/schedlock.exp: Likewise.
242 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
244 * gdb.cp/non-trivial-retval.cc: Add a test case.
245 * gdb.cp/non-trivial-retval.exp: Add a test.
247 2014-10-20 Yao Qi <yao@codesourcery.com>
249 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
250 * gdb.python/py-objfile-script-gdb.py: New file.
251 * gdb.python/py-objfile-script.exp: Update reference to
252 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
253 of remote_download. Remove the dest file.
255 2014-10-20 Yao Qi <yao@codesourcery.com>
257 * gdb.base/checkpoint.exp: Don't remove file copied on host.
258 * gdb.base/step-line.exp: Likewise.
259 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
260 * gdb.dwarf2/dw2-basic.exp: Likewise.
261 * gdb.dwarf2/dw2-compressed.exp: Likewise.
262 * gdb.dwarf2/dw2-filename.exp: Likewise.
263 * gdb.dwarf2/dw2-intercu.exp: Likewise.
264 * gdb.dwarf2/dw2-intermix.exp: Likewise.
265 * gdb.dwarf2/dw2-producer.exp: Likewise.
266 * gdb.dwarf2/mac-fileno.exp: Likewise.
267 * gdb.python/py-frame-args.exp: Likewise.
268 * gdb.python/py-framefilter.exp: Likewise.
269 * gdb.python/py-mi.exp: Likewise.
270 * gdb.python/py-objfile-script.exp: Likewise
271 * gdb.python/py-pp-integral.exp: Likewise.
272 * gdb.python/py-pp-re-notag.exp: Likewise.
273 * gdb.python/py-prettyprint.exp: Likewise.
274 * gdb.python/py-section-script.exp: Likewise.
275 * gdb.python/py-typeprint.exp: Likewise.
276 * gdb.python/py-xmethods.exp: Likewise.
277 * gdb.stabs/weird.exp: Likewise.
278 * gdb.xml/tdesc-regs.exp: Likewise.
280 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
282 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
283 (out_cu): Use addr_len for the size of addresses.
284 (out_line): Likewise. Size DW_LNE_set_address instruction
285 according to addr_len.
286 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
287 (FUNC): Add START_INSNS to definition.
289 2014-10-18 Yao Qi <yao@codesourcery.com>
291 * gdb.base/argv0-symlink.exp: Check argv[0] value if
292 gdb_has_argv0 return true.
293 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
294 check [target_info exists noargs], check [gdb_has_argv0]
296 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
297 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
300 2014-10-17 Doug Evans <dje@google.com>
302 * gdb.python/py-events.exp: Update expected output for clear_objfiles
304 * gdb.python/py-events.py: Add clear_objfiles event.
306 2014-10-17 Doug Evans <dje@google.com>
308 * gdb.python/py-objfile.exp: Test progspace attribute.
310 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
312 * gdb.guile/scm-breakpoint.exp: Do not assume any
313 directory separators when matching source file paths.
314 * gdb.python/py-breakpoint.exp: Likewise.
315 * gdb.reverse/break-precsave.exp: Likewise.
316 * gdb.reverse/break-reverse.exp: Likewise.
317 * gdb.reverse/consecutive-precsave.exp: Likewise.
318 * gdb.reverse/finish-precsave.exp: Likewise.
319 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
320 * gdb.reverse/finish-reverse.exp: Likewise.
321 * gdb.reverse/i386-precsave.exp: Likewise.
322 * gdb.reverse/i387-env-reverse.exp: Likewise.
323 * gdb.reverse/i387-stack-reverse.exp: Likewise.
324 * gdb.reverse/machinestate-precsave.exp: Likewise.
325 * gdb.reverse/machinestate.exp: Likewise.
326 * gdb.reverse/sigall-precsave.exp: Likewise.
327 * gdb.reverse/solib-precsave.exp: Likewise.
328 * gdb.reverse/step-precsave.exp: Likewise.
329 * gdb.reverse/until-precsave.exp: Likewise.
330 * gdb.reverse/watch-precsave.exp: Likewise.
331 * gdb.reverse/watch-reverse.exp: Likewise.
333 2014-10-17 Yao Qi <yao@codesourcery.com>
335 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
336 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
338 2014-10-17 Pedro Alves <palves@redhat.com>
341 * gdb.base/bg-execution-repeat.c: New file.
342 * gdb.base/bg-execution-repeat.exp: New file.
344 2014-10-17 Pedro Alves <palves@redhat.com>
347 * gdb.base/continue-all-already-running.c: New file.
348 * gdb.base/continue-all-already-running.exp: New file.
350 2014-10-17 Pedro Alves <palves@redhat.com>
353 * gdb.base/annota-input-while-running.c: New file.
354 * gdb.base/annota-input-while-running.exp: New file.
356 2014-10-17 Pedro Alves <palves@redhat.com>
358 * gdb.base/callfuncs.exp: emove references to osf.
359 * gdb.base/sigall.exp: Likewise.
360 * gdb.gdb/selftest.exp: Likewise.
361 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
362 * gdb.mi/non-stop.c: Likewise.
363 * gdb.mi/pthreads.c: Likewise.
364 * gdb.reverse/sigall-precsave.exp: Likewise.
365 * gdb.reverse/sigall-reverse.exp: Likewise.
366 * gdb.threads/pthreads.c: Likewise.
367 * gdb.threads/pthreads.exp: Likewise.
369 2014-10-17 Yao Qi <yao@codesourcery.com>
371 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
372 check 'target_info exists noargs'.
373 (test_command_prompt_position): Likewise.
374 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
376 (progvar_simple_while_test): Likewise.
377 (progvar_complex_if_while_test): Likewise.
378 (if_while_breakpoint_command_test): Likewise.
379 (infrun_breakpoint_command_test): Likewise.
380 (breakpoint_command_test): Likewise.
381 (watchpoint_command_test): Likewise.
382 (bp_deleted_in_command_test): Likewise.
383 (temporary_breakpoint_commands): Likewise.
385 2014-10-16 Yao Qi <yao@codesourcery.com>
387 * gdb.base/remotetimeout.exp: Remove noargs checking.
389 2014-10-15 Pedro Alves <palves@redhat.com>
392 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
393 * gdb.base/breakpoint-in-ro-region.exp
394 (probe_target_hardware_step): New procedure.
395 (top level): Probe hardware stepping and hardware breakpoint
396 support. Test stepping through a read-only region, with both
397 "breakpoint auto-hw" on and off and both "always-inserted" on and
400 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
402 * gdb.dlang/demangle.exp: Update for demangling changes.
404 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
406 * gdb.cp/non-trivial-retval.cc: Add new test cases.
407 * gdb.cp/non-trivial-retval.exp: Add new tests.
409 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
413 * gdb.cp/non-trivial-retval.cc: New file.
414 * gdb.cp/non-trivial-retval.exp: New file.
416 2014-10-15 Yao Qi <yao@codesourcery.com>
418 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
421 2014-10-15 Yao Qi <yao@codesourcery.com>
423 * gdb.python/py-symbol.exp: Match file base name if host is
424 remote, otherwise match file name with dir name.
425 * gdb.python/py-symtab.exp: Likewise.
426 * gdb.python/python.exp: Likewise.
428 2014-10-15 Yao Qi <yao@codesourcery.com>
430 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
432 * gdb.python/py-symtab.exp: Likewise.
433 * gdb.python/python.exp: Remove trailing ".*". Fix typo
436 2014-10-14 Joel Brobecker <brobecker@adacore.com>
438 * gdb.ada/addr_arith: New testcase.
440 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
442 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
443 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
444 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
445 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
447 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
449 * gdb.arch/stap-eval-lang-ada.S: Likewise.
450 * gdb.arch/stap-eval-lang-ada.c: Likewise.
451 * gdb.arch/stap-eval-lang-ada.exp: New file.
453 2014-10-14 Yao Qi <yao@codesourcery.com>
455 * gdb.mi/mi-var-child.c (nothing1): New function.
456 (nothing2): New function.
457 (do_children_tests): Set function pointers by nothing1 and
459 * gdb.mi/mi-var-child.exp: Step over new added statements.
460 Update test to match the new output.
461 * gdb.mi/var-cmd.c (nothing1): New function.
462 (nothing2): New function.
463 (do_children_tests): Set function pointers by nothing1 and
465 * gdb.mi/mi-var-display.exp: Update test to match output.
466 Step to the line specified by $line_dct_nothing.
467 Increase the number of lines to step.
469 2014-10-14 Yao Qi <yao@codesourcery.com>
471 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
473 * gdb.mi/mi2-var-child.exp: Likewise.
475 2014-10-13 Doug Evans <dje@google.com>
477 * gdb.python/py-objfile.exp: Change name of file name test.
479 2014-10-13 Doug Evans <dje@google.com>
481 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
482 from the start of the CU.
484 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
485 Yao Qi <yao@codesourcery.com>
487 Fix "save breakpoints" for "catch" command.
488 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
489 Remove -nonewline. Match also the added "main" line.
491 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
493 Fix "save breakpoints" for "disable $bpnum" command.
494 * gdb.base/save-bp.c (main): Add label.
495 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
497 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
499 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
501 2014-10-11 Yao Qi <yao@codesourcery.com>
503 * gdb.server/server-kill.exp: Execute command
504 "set remote trace-status-packet on" before "tstatus".
506 2014-10-11 Yao Qi <yao@codesourcery.com>
508 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
509 (main): Call getppid.
510 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
511 and continue to it. Read variable "server_pid".
513 2014-10-11 Yao Qi <yao@codesourcery.com>
515 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
517 2014-10-11 Yao Qi <yao@codesourcery.com>
519 * gdb.threads/thread-find.exp: Don't execute command
521 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
522 * gdb.threads/linux-dp.exp: Don't check the condition
523 $threads_created equals to zero.
525 2014-10-10 Pedro Alves <palves@redhat.com>
527 * gdb.base/bigcore.exp: Remove references to IRIX.
528 * gdb.base/funcargs.exp: Likewise.
529 * gdb.base/interrupt.exp: Likewise.
530 * gdb.base/mips_pro.exp: Likewise.
531 * gdb.base/nodebug.exp: Likewise.
532 * gdb.base/setvar.exp: Likewise.
533 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
535 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
536 Pedro Alves <palves@redhat.com>
539 * gdb.base/vdso-warning.c: New file.
540 * gdb.base/vdso-warning.exp: New file.
542 2014-10-02 Doug Evans <dje@google.com>
544 * gdb.base/structs.c (main): Don't run forever.
546 2014-10-02 Pedro Alves <palves@redhat.com>
548 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
549 (top level) <stop threads 1, stop threads 2>: Use it.
551 2014-10-02 Pedro Alves <palves@redhat.com>
553 * gdb.threads/break-while-running.exp (test): Add new
554 'update_thread_list' argument. Skip "info threads" if false.
555 (top level): Add new 'update_thread_list' axis.
557 2014-10-02 Pedro Alves <palves@redhat.com>
560 * gdb.base/execl-update-breakpoints.c: New file.
561 * gdb.base/execl-update-breakpoints.exp: New file.
563 2014-10-01 Pedro Alves <palves@redhat.com>
565 * gdb.base/breakpoint-in-ro-region.c: New file.
566 * gdb.base/breakpoint-in-ro-region.exp: New file.
568 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
570 * gdb.mi/mi-exit-code.exp: New file.
571 * gdb.mi/mi-exit-code.c: New file.
573 2014-09-30 Yao Qi <yao@codesourcery.com>
575 * lib/prelink-support.exp (build_executable_own_libs): Error if
576 the target isn't native.
578 2014-09-30 Yao Qi <yao@codesourcery.com>
580 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
583 2014-09-22 Pedro Alves <palves@redhat.com>
585 * gdb.threads/break-while-running.exp: New file.
586 * gdb.threads/break-while-running.c: New file.
588 2014-09-19 Yao Qi <yao@codesourcery.com>
590 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
591 Invoke test. Restart GDB with --readnow and invoke test again.
593 2014-09-19 Yao Qi <yao@codesourcery.com>
595 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
596 proc set_breakpoint_on_gcd_function. Invoke
597 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
598 invoke set_breakpoint_on_gcd_function again.
600 2014-09-18 Doug Evans <dje@google.com>
602 * gdb.dwarf2/symtab-producer.exp: New file.
604 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
606 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
607 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
608 * gdb.base/global-var-nested-by-dso.c: Likewise.
609 * gdb.base/global-var-nested-by-dso.exp: Likewise.
611 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
612 Pedro Alves <palves@redhat.com>
614 * gdb.base/watch-bitfields.exp: Pass string other than test file
615 name to prepare_for_testing.
616 (watch): New procedure.
617 (expect_watchpoint): Use with_test_prefix.
618 (top level): Factor out tests to ...
619 (test_watch_location, test_regular_watch): ... these new
620 procedures, and use with_test_prefix and gdb_continue_to_end.
622 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
625 * gdb.base/watch-bitfields.exp: New file.
626 * gdb.base/watch-bitfields.c: New file.
628 2014-09-16 Pedro Alves <palves@redhat.com>
630 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
631 software and hardware addresses, not software address against
634 2014-09-16 Pedro Alves <palves@redhat.com>
636 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
637 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
639 2014-09-16 Pedro Alves <palves@redhat.com>
641 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
643 * gdb.base/a2-run.exp: Remove all code guarded by istarget
644 "*-*-vxworks*" throughout.
645 * gdb.base/break.exp: Likewise.
646 * gdb.base/default.exp: Likewise.
647 * gdb.base/scope.exp: Likewise.
648 * gdb.base/sepdebug.exp: Likewise.
649 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
651 * gdb.base/run.c: Likewise.
652 * gdb.base/sepdebug.c: Likewise.
653 * gdb.hp/gdb.aCC/run.c: Likewise.
654 * gdb.reverse/until-reverse.c: Likewise.
655 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
657 2014-09-16 Yao Qi <yao@codesourcery.com>
659 * boards/local-remote-host-native.exp: New file.
661 2014-09-14 Doug Evans <xdje42@gmail.com>
663 * gdb.threads/queue-signal.c (thread_count): New variable.
664 (thread_count_mutex, thread_count_condvar): New variables.
665 (incr_thread_count, wait_all_threads_running): New functions.
666 (main): Wait for all threads to be in their thread functions.
668 2014-09-13 Doug Evans <xdje42@gmail.com>
670 * gdb.threads/queue-signal.c: New file.
671 * gdb.threads/queue-signal.exp: New file.
673 2014-09-13 Doug Evans <xdje42@gmail.com>
675 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
676 be consistent with what default_gdb_init uses.
677 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
678 the plain text of the prompt. Add some logging printfs.
679 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
681 2014-09-12 Pedro Alves <palves@redhat.com>
683 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
684 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
685 * gdb.arch/i386-size-overlap.exp: Likewise.
686 * gdb.arch/i386-size.exp: Likewise.
687 * gdb.arch/i386-unwind.exp: Likewise.
688 * gdb.base/a2-run.exp: Likewise.
689 * gdb.base/break.exp: Likewise.
690 * gdb.base/charset.exp: Likewise.
691 * gdb.base/chng-syms.exp: Likewise.
692 * gdb.base/commands.exp: Likewise.
693 * gdb.base/dbx.exp: Likewise.
694 * gdb.base/find.exp: Likewise.
695 * gdb.base/funcargs.exp: Likewise.
696 * gdb.base/jit-simple.exp: Likewise.
697 * gdb.base/reread.exp: Likewise.
698 * gdb.base/sepdebug.exp: Likewise.
699 * gdb.base/step-bt.exp: Likewise.
700 * gdb.cp/mb-inline.exp: Likewise.
701 * gdb.cp/mb-templates.exp: Likewise.
702 * gdb.objc/basicclass.exp: Likewise.
703 * gdb.threads/killed.exp: Likewise.
705 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
708 * gdb.arch/powerpc-stackless.S: New file.
709 * gdb.arch/powerpc-stackless.exp: New file.
711 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
713 * gdb.base/attach.c: Include unistd.h.
714 (main): Call alarm. Add label postloop.
715 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
716 gdb_breakpoint, gdb_continue_to_breakpoint.
717 (test_command_line_attach_run): Kill ${testpid} in one exit path.
719 2014-09-11 Pedro Alves <palves@redhat.com>
722 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
723 * gdb.base/attach.exp (test_command_line_attach_run): New
725 (top level): Call it.
727 2014-09-11 Pedro Alves <palves@redhat.com>
729 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
730 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
731 (do_command_attach_tests): Use spawn_wait_for_attach.
732 * gdb.base/solib-overlap.exp: Likewise.
733 * gdb.multi/multi-attach.exp: Likewise.
734 * gdb.python/py-prompt.exp: Likewise.
735 * gdb.python/py-sync-interp.exp: Likewise.
736 * gdb.server/ext-attach.exp: Likewise.
738 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
740 * gdb.fortran/array-element.exp: Remove unexpected "continue"
741 command in testcase. Simplify testcase.
743 2014-09-10 Joel Brobecker <brobecker@adacore.com>
745 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
747 2014-09-10 Joel Brobecker <brobecker@adacore.com>
749 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
751 2014-09-10 Joel Brobecker <brobecker@adacore.com>
753 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
755 2014-09-10 Joel Brobecker <brobecker@adacore.com>
757 * gdb.dwarf2/dynarr-ptr.c: New file.
758 * gdb.dwarf2/dynarr-ptr.exp: New file.
760 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
762 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
763 of 30 rather than hardcoding 120 for a slow test case. Take the
764 `gdb,timeout' target setting into account for this calculation.
765 Don't extend the timeout for the test cases that don't need it.
767 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
769 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
770 a factor of 2 for a slow test case. Take the `gdb,timeout'
771 target setting into account for this calculation.
772 * gdb.reverse/until-precsave.exp: Increase the timeout by
773 a factor of 15 and 3 respectively rather than adding 120
774 for a pair of slow test cases. Take the `gdb,timeout'
775 target setting into account for this calculation.
777 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
779 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
780 timeout, don't pass one down to gdb_expect.
781 (gdb_expect): Rework timeout selection.
783 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
785 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
786 exception on timeout.
787 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
788 (gdbserver_start_extended): Catch any `gdbserver_start' error
790 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
791 * lib/mi-support.exp (mi_gdb_target_load): Catch any
792 `gdbserver_gdb_load' error exceptions.
794 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
796 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
797 120 on waiting for the TCP socket to open.
799 2014-09-09 Doug Evans <xdje42@gmail.com>
801 * gdb.base/default.exp (show_conv_list): Add _caller_is,
802 _caller_matches, _any_caller_is, _any_caller_matches.
804 2014-09-09 Doug Evans <xdje42@gmail.com>
806 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
808 2014-09-09 Yao Qi <yao@codesourcery.com>
810 * gdb.mi/mi-var-display.exp: Set print symbol off.
812 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
815 * gdb.base/commands.exp: Add tests to verify user-defined
816 commands with empty bodies.
817 * gdb.python/py-cmd.exp: Test that we don't show user-defined
818 python commands in `show user command`.
819 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
820 scheme commands in `show user command`.
822 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
825 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
826 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
827 * gdb.python/py-framefilter-invalidarg.exp: New file.
828 * gdb.python/py-framefilter-invalidarg.py: New file.
830 2014-09-06 Doug Evans <xdje42@gmail.com>
833 * gdb.python/py-caller-is.c: New file.
834 * gdb.python/py-caller-is.exp: New file.
836 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
839 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
840 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
842 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
845 * gdb.fortran/print-formatted.exp: New file.
846 * gdb.fortran/print-formatted.f90: Likewise.
848 2014-09-03 Sasha Smundak <asmundak@google.com>
850 * gdb.python/py-frame.exp: Test Frame.read_register.
852 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
855 * gdb.python/py-completion.exp: New file.
856 * gdb.python/py-completion.py: Likewise.
858 2014-08-28 Doug Evans <dje@google.com>
860 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
861 eax,etc. are live with values set by gdb and thus the compiler can't
863 * gdb.arch/i386-pseudo.c (main): Ditto.
865 2014-08-27 Doug Evans <dje@google.com>
867 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
869 2014-08-25 Doug Evans <dje@google.com>
871 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
874 2014-08-25 Doug Evans <dje@google.com>
876 * gdb.threads/thread-execl.exp: #include <stdio.h>.
878 2014-08-24 Yao Qi <yao@codesourcery.com>
880 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
882 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
884 2014-08-22 Doug Evans <dje@google.com>
887 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
888 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
889 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
891 2014-08-22 Yao Qi <yao@codesourcery.com>
893 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
894 * gdb.python/py-finish-breakpoint2.exp: Likewise.
895 * gdb.python/python.exp: Likewise. Use .py file on the host
896 instead of the build.
898 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
900 * gdb.threads/gcore-stale-thread.c: New file.
901 * gdb.threads/gcore-stale-thread.exp: New file.
903 2014-08-21 Pedro Alves <palves@redhat.com>
905 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
906 * gdb.base/gcore-relro-pie.exp: Likewise.
907 * gdb.base/gcore-relro.exp: Likewise.
908 * gdb.base/gcore.exp: Likewise.
909 * gdb.base/print-symbol-loading.exp: Likewise.
910 * gdb.threads/gcore-thread.exp: Likewise.
911 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
913 2014-08-20 Pedro Alves <palves@redhat.com>
914 Jan Kratochvil <jan.kratochvil@redhat.com>
916 * Makefile.in (EXTRA_RULES, CC): New variables, get from
918 (EXPECT): Handle READ1 being set.
919 (all): Depend on EXTRA_RULES.
920 (check-read1, expect-read1, read1.so, read1): New rules.
921 * README (Testsuite Parameters): Document the READ1 make variable.
922 (Race detection): New section.
923 * configure: Regenerate.
924 * configure.ac: If build==host==target, and running under a
925 GNU/glibc system, add read1 to the extra Makefile rules.
926 (EXTRA_RULES): AC_SUBST it.
927 * lib/read1.c: New file.
929 2014-08-20 Joel Brobecker <brobecker@adacore.com>
931 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
932 the handling of variables declared as a typedef to an array
933 which a DW_AT_data_location attribute.
935 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
936 Pedro Alves <palves@redhat.com>
940 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
943 2014-08-19 Pedro Alves <palves@redhat.com>
945 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
947 2014-08-19 Yao Qi <yao@codesourcery.com>
949 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
952 2014-08-18 David Blaikie <dblaikie@gmail.com>
954 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
956 2014-08-18 Joel Brobecker <brobecker@adacore.com>
958 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
959 attribute in array range.
961 2014-08-18 Joel Brobecker <brobecker@adacore.com>
963 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
965 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
968 * gdb.cp/pr17132.cc: New file.
969 * gdb.cp/pr17132.exp: New file.
971 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
973 * gdb.python/py-xmethods.py (A_getarrayind)
974 (E_method_char_worker.__call__, E_method_int_worker.__call__):
975 Use 'print' with function call syntax.
976 (E_method_matcher.match): Fix tab vs space indentation mixup.
978 2014-08-15 Yao Qi <yao@codesourcery.com>
980 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
983 2014-08-15 Yao Qi <yao@codesourcery.com>
985 * gdb.cp/casts.exp: Set print symbol off.
986 * gdb.cp/class2.exp: Likewise.
987 * gdb.cp/overload.exp: Likewise.
988 * gdb.cp/templates.exp: Likewise.
990 2014-08-11 Doug Evans <dje@google.com>
992 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
993 (test_load_shlib): Update.
995 2014-08-09 Yao Qi <yao@codesourcery.com>
997 * gdb.base/display.exp: Invoke is_address_zero_readable.
998 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
999 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1000 * gdb.base/hbreak-unmapped.exp: Return if
1001 is_address_zero_readable returns true.
1002 * gdb.base/signest.exp: Likewise.
1003 * gdb.base/signull.exp: Likewise.
1004 * gdb.base/sigbpt.exp: Likewise.
1005 * gdb.guile/scm-disasm.exp: Do the test if
1006 is_address_zero_readable returns false.
1007 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
1008 * gdb.python/py-arch.exp: Likewise.
1009 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
1010 * lib/gdb.exp (is_address_zero_readable): New proc.
1012 2014-08-09 Yao Qi <yao@codesourcery.com>
1015 * gdb.mi/mi-var-display.exp: Make test messages unique.
1017 2014-08-04 Tom Tromey <tromey@redhat.com>
1019 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
1022 2014-08-04 Tom Tromey <tromey@redhat.com>
1024 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
1027 2014-08-01 Joel Brobecker <brobecker@adacore.com>
1029 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
1030 inner_vla_struct_object_size.
1031 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
1034 2014-07-30 Pedro Alves <palves@redhat.com>
1036 * gdb.threads/signal-command-handle-nopass.exp (test): Add
1039 2014-07-29 Yao Qi <yao@codesourcery.com>
1042 * gdb.base/until-nodebug.exp: New.
1044 2014-07-28 Doug Evans <xdje42@gmail.com>
1047 * gdb.guile/scm-parameter.exp: Add tests for trying to create
1048 previously existing parameter, and previously ambiguously spelled
1051 2014-07-28 Will Newton <will.newton@linaro.org>
1053 * gdb.base/varargs.exp: Remove KFAILs for ARM.
1055 2014-07-26 Ludovic Courtès <ludo@gnu.org>
1056 Doug Evans <xdje42@gmail.com>
1059 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
1061 2014-07-25 Pedro Alves <palves@redhat.com>
1063 * gdb.threads/signal-command-handle-nopass.c: New file.
1064 * gdb.threads/signal-command-handle-nopass.exp: New file.
1065 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
1066 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
1067 * gdb.threads/signal-delivered-right-thread.c: New file.
1068 * gdb.threads/signal-delivered-right-thread.exp: New file.
1070 2014-07-25 Pedro Alves <palves@redhat.com>
1072 * gdb.base/double-prompt-target-event-error.exp
1073 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
1075 (cancel_pagination_in_target_event): Rework double prompt
1077 * gdb.base/paginate-after-ctrl-c-running.exp
1078 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
1080 * gdb.base/paginate-bg-execution.exp
1081 (test_bg_execution_pagination_return)
1082 (test_bg_execution_pagination_cancel): Remove '-notransfer
1084 * gdb.base/paginate-execution-startup.exp
1085 (test_fg_execution_pagination_return)
1086 (test_fg_execution_pagination_cancel): Remove '-notransfer
1088 * gdb.base/paginate-inferior-exit.exp
1089 (test_paginate_inferior_exited): Remove '-notransfer <return>'
1091 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
1092 * lib/gdb.exp (pagination_prompt): Run text through
1094 (gdb_test_multiple): Match $pagination_prompt instead of
1096 (string_to_regexp): Move to lib/gdb-utils.exp.
1098 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1100 * gdb.arch/amd64-entry-value-paramref.S: New file.
1101 * gdb.arch/amd64-entry-value-paramref.cc: New file.
1102 * gdb.arch/amd64-entry-value-paramref.exp: New file.
1103 * gdb.arch/amd64-optimout-repeat.S: New file.
1104 * gdb.arch/amd64-optimout-repeat.c: New file.
1105 * gdb.arch/amd64-optimout-repeat.exp: New file.
1107 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1110 * gdb.base/statistics.exp: New file.
1112 2014-07-17 Doug Evans <dje@google.com>
1115 * gdb.base/maint.exp: Update testing of per-command stats.
1117 2014-07-16 Pedro Alves <palves@redhat.com>
1119 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
1120 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
1121 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
1122 (tfile_write_buf): New functions.
1123 (add_memory_block): Rewrite using the above.
1124 (adjust_function_address): New function.
1125 (FUNCTION_ADDRESS): New macro.
1126 (write_basic_trace_file): Remove short_x local, and use
1127 tfile_write_16. Change type of func_addr local to unsigned long
1128 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
1129 here. Cast argument of add_memory_block to char pointer.
1130 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
1131 (main): Remove parameters.
1132 * gdb.trace/tfile.exp: Remove nowarnings.
1134 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1136 * gdb.base/debug-expr.exp: Test string evaluation with
1137 "debug expression" on.
1139 2014-07-15 Pedro Alves <palves@redhat.com>
1141 * gdb.base/reread.exp: Use clean_restart.
1143 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1145 * gdb.arch/avr-flash-qualifer.c: New.
1146 * gdb.arch/avr-flash-qualifer.exp: New.
1148 2014-07-14 Pedro Alves <palves@redhat.com>
1150 * gdb.base/paginate-after-ctrl-c-running.c: New file.
1151 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1153 2014-07-14 Pedro Alves <palves@redhat.com>
1155 * gdb.base/double-prompt-target-event-error.c: New file.
1156 * gdb.base/double-prompt-target-event-error.exp: New file.
1158 2014-07-14 Pedro Alves <palves@redhat.com>
1161 * gdb.base/paginate-inferior-exit.c: New file.
1162 * gdb.base/paginate-inferior-exit.exp: New file.
1164 2014-07-14 Pedro Alves <palves@redhat.com>
1167 * gdb.base/paginate-bg-execution.c: New file.
1168 * gdb.base/paginate-bg-execution.exp: New file.
1170 2014-07-14 Pedro Alves <palves@redhat.com>
1173 * gdb.base/paginate-execution-startup.c: New file.
1174 * gdb.base/paginate-execution-startup.exp: New file.
1175 * lib/gdb.exp (pagination_prompt): New global.
1176 (default_gdb_spawn): New procedure, factored out from
1178 (default_gdb_start): Adjust to call default_gdb_spawn.
1179 (gdb_spawn): New procedure.
1181 2014-07-14 Pedro Alves <palves@redhat.com>
1183 * lib/gdb.exp (gdb_assert): New procedure.
1184 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
1186 2014-07-14 Pedro Alves <palves@redhat.com>
1188 * gdb.base/execution-termios.c: New file.
1189 * gdb.base/execution-termios.exp: New file.
1191 2014-07-14 Tom Tromey <tromey@redhat.com>
1193 * gdb.cp/vla-cxx.cc: New file.
1194 * gdb.cp/vla-cxx.exp: New file.
1196 2014-07-14 Tom Tromey <tromey@redhat.com>
1198 * gdb.reverse/rerun-prec.c: New file.
1199 * gdb.reverse/rerun-prec.exp: New file.
1201 2014-07-12 Maciej W. Rozycki <macro@mips.com>
1202 Maciej W. Rozycki <macro@codesourcery.com>
1204 * lib/gdb-utils.exp: New file.
1205 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
1206 inline `gdb_init_command' processing.
1207 (gdb_start_cmd): Likewise.
1208 * lib/mi-support.exp (mi_run_cmd): Likewise.
1209 * README: Document `gdb_init_command' and `gdb_init_commands'.
1211 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1213 Fix false FAIL running under a very long directory name.
1214 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1215 and "set print elements 10000". Twice.
1217 2014-07-11 Yao Qi <yao@codesourcery.com>
1219 * gdb.base/exprs.exp: "set print symbol off".
1221 2014-07-11 Pedro Alves <palves@redhat.com>
1223 * gdb.threads/kill.c: New file.
1224 * gdb.threads/kill.exp: New file.
1226 2014-07-10 Yao Qi <yao@codesourcery.com>
1228 * gdb.trace/tfile.c (write_basic_trace_file)
1229 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1230 address written to trace file.
1232 2014-07-09 Pedro Alves <palves@redhat.com>
1234 * gdb.base/attach-wait-input.exp: New file.
1235 * gdb.base/attach-wait-input.c: New file.
1237 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1239 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1240 setting up test structures.
1241 (main): Call new test function.
1242 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1243 test function, continue into test function and walk test
1246 2014-07-02 Yao Qi <yao@codesourcery.com>
1248 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1249 'bar_start' at the beginning of functions 'foo' and 'bar'
1251 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1252 instead of 'foo' and 'bar'.
1254 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1256 * gdb.btrace/segv.exp: New.
1257 * gdb.btrace/segv.c: New.
1259 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
1261 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1264 2014-06-30 Mark Wielaard <mjw@redhat.com>
1266 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1267 vulture, vilify, villar): New volatile array constants.
1268 (vindictive, vegetation): New const volatile array constants.
1269 * gdb.base/volatile.exp: Test volatile and const volatile array
1272 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1274 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1275 target lacks support for awatch, rwatch, or hbreak.
1277 2014-06-27 Yao Qi <yao@codesourcery.com>
1279 * gdb.multi/dummy-frame-restore.exp: New.
1280 * gdb.multi/dummy-frame-restore.c: New.
1282 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1284 * gdb.btrace/gcore.exp: New.
1286 2014-06-23 Pedro Alves <palves@redhat.com>
1288 * gdb.base/watchpoint-reuse-slot.c: New file.
1289 * gdb.base/watchpoint-reuse-slot.exp: New file.
1291 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1293 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1294 progspace's filename in 'info', 'enable' and 'disable' command
1297 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1299 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1300 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1301 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1303 2014-06-20 Gary Benson <gbenson@redhat.com>
1305 * gdb.arch/i386-avx.exp: Fix include file location.
1306 * gdb.arch/i386-sse.exp: Likewise.
1308 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1310 * gdb.dlang/expression.exp: New file.
1312 2014-06-19 Pedro Alves <palves@redhat.com>
1314 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1316 (top level): ... here. Iterate running tests under different
1317 scheduler-locking settings.
1319 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
1321 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1322 to DW_FORM_addr and use non-zero addresses.
1324 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1327 * gdb.python/py-xmethods.cc: Add global function call counters and
1328 increment them in their respective functions. Remove "cout"
1330 * gdb.python/py-xmethods.exp: Make tests check the global function
1331 call counters instead of depending on inferior IO.
1333 2014-06-18 Don Breazeal <donb@codesourcery.com>
1335 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1337 (explicit_fork_parent_follow): Deleted procedure.
1338 (explicit_fork_child_follow): Deleted procedure.
1339 (test_follow_fork): New procedure.
1340 (do_fork_tests): Replace calls to deleted procedures with
1341 calls to test_follow_fork and reset GDB for subsequent
1344 2014-06-17 Yao Qi <yao@codesourcery.com>
1346 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1349 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
1351 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1352 Initialize ptr and S explicitly.
1353 (skip_type_update_when_not_use_rtti_test): Likewise.
1355 2014-06-16 Keith Seitz <keiths@redhat.com>
1358 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1359 the inferior is started.
1361 2014-06-16 Pedro Alves <palves@redhat.com>
1363 * gdb.base/break-main-file-remove-fail.c: New file.
1364 * gdb.base/break-main-file-remove-fail.exp: New file.
1365 * gdb.base/break-unload-file.exp: Use build_executable instead of
1366 prepare_for_testing.
1367 (test_break): New parameter "initial_load". Handle it.
1368 (top level): Add initial_load cmdline/file axis.
1370 2014-06-12 Tom Tromey <tromey@redhat.com>
1372 * gdb.base/completion.exp: Don't use directory name in test.
1374 2014-06-09 Gary Benson <gbenson@redhat.com>
1376 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1377 separate the always-available ANSI-standard signals from the
1378 signals that require checking.
1380 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1384 2014-06-07 Keith Seitz <keiths@redhat.com>
1388 * gdb.cp/var-tag.cc: New file.
1389 * gdb.cp/var-tag.exp: New file.
1390 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1391 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1392 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1393 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1395 2014-06-06 Doug Evans <xdje42@gmail.com>
1397 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1399 2014-06-06 Pedro Alves <palves@redhat.com>
1401 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1402 in target debug output instead of looking at RSP packets,
1403 disabling the test on any target that uses hardware stepping.
1406 2014-06-06 Pedro Alves <palves@redhat.com>
1408 * gdb.base/break-unload-file.exp: Fix typo.
1410 2014-06-06 Yao Qi <yao@codesourcery.com>
1412 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1413 from "jit_function" to "^jit_function".
1415 2014-06-06 Yao Qi <yao@codesourcery.com>
1417 * gdb.base/async.c (foo): Add one statement.
1418 * gdb.base/async.exp: Get the next instruction address and
1419 match the output of "nexti" by instruction address. Match
1420 the hex address in the output of "finish".
1422 2014-06-06 Gary Benson <gbenson@redhat.com>
1424 * gdb.base/call-signals.c: Remove preprocessor conditionals
1425 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1426 SIGSEGV and SIGTERM.
1427 * gdb.base/sigall.c: Likewise.
1428 * gdb.base/unwindonsignal.c: Likewise.
1429 * gdb.reverse/sigall-reverse.c: Likewise.
1431 2014-06-06 Yao Qi <yao@codesourcery.com>
1433 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1434 readable, skip the test.
1436 2014-06-06 Yao Qi <yao@codesourcery.com>
1438 * gdb.threads/staticthreads.c (thread_function): Move the line
1439 setting breakpoint on forward.
1440 * gdb.threads/staticthreads.exp: Update comments.
1442 2014-06-05 Ludovic Courtès <ludo@gnu.org>
1444 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1445 "history-append! type error".
1447 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1449 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1450 erroneous dprintf expected input.
1452 2014-06-04 Doug Evans <xdje42@gmail.com>
1454 * gdb.guile/scm-generics.exp: Delete.
1456 2014-06-04 Doug Evans <xdje42@gmail.com>
1458 * gdb.guile/scm-breakpoint.exp: Update.
1459 Add tests for breakpoint registration.
1461 2014-06-04 Tom Tromey <tromey@redhat.com>
1463 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1465 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1466 inner_vla_struct, vla_union types. Initialize objects of those
1467 types and compute their sizes.
1469 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1470 Hui Zhu <hui@codesourcery.com>
1472 * gdb.base/fileio.exp: Add test for shell not available as well as
1474 * gdb.base/fileio.c (test_system): Check for shell twice.
1476 2014-06-04 Yao Qi <yao@codesourcery.com>
1478 * gdb.base/auto-connect-native-target.exp: Remove redundant
1479 space from the regexp pattern.
1481 2014-06-04 Yao Qi <yao@codesourcery.com>
1483 * gdb.base/default.exp: Replace "child" with "native" in
1486 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1488 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1489 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1490 * gdb.python/py-xmethods.py: Python script supporting the
1491 new testcase and tests.
1493 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1494 Pedro Alves <palves@redhat.com>
1496 PR breakpoints/17000
1497 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1498 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1500 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1502 * gdb.base/subst.exp: Add tests to verify partial path matching
1505 2014-06-03 Pedro Alves <palves@redhat.com>
1507 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1508 target that doesn't use software single-stepping.
1510 2014-06-03 Pedro Alves <palves@redhat.com>
1512 PR breakpoints/17000
1513 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1514 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1516 2014-06-02 Doug Evans <xdje42@gmail.com>
1518 * gdb.guile/scm-parameter.exp: New file.
1520 2014-06-02 Doug Evans <xdje42@gmail.com>
1522 * gdb.guile/scm-cmd.c: New file.
1523 * gdb.guile/scm-cmd.exp: New file.
1525 2014-06-02 Doug Evans <xdje42@gmail.com>
1527 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1528 pretty-printer lookup.
1529 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1530 (make-pp_s-printer): Call it.
1531 (make-pretty-printer-from-dict): New function.
1532 (lookup-pretty-printer-maker-from-dict): New function.
1533 (*pretty-printer*): Simplify.
1534 (make-objfile-pp_s-printer): New function.
1535 (install-objfile-pretty-printers!): New function.
1536 (make-progspace-pp_s-printer): New function.
1537 (install-progspace-pretty-printers!): New function.
1538 * gdb.guile/scm-progspace.c: New file.
1539 * gdb.guile/scm-progspace.exp: New file.
1541 2014-06-02 Pedro Alves <palves@redhat.com>
1543 * gdb.base/dprintf-bp-same-addr.c: New file.
1544 * gdb.base/dprintf-bp-same-addr.exp: New file.
1546 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1548 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1549 * gdb.arch/powerpc-power.s: Likewise.
1551 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1553 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1555 2014-06-01 Yao Qi <yao@codesourcery.com>
1557 * gdb.base/watchpoint.exp (test_watch_location): Check null
1558 pointer can be dereferenced. If not, do the test, otherwise
1561 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1563 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1565 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1567 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1569 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1570 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1571 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1572 * gdb.arch/amd64-invalid-stack-top.c: New file.
1573 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1575 2014-05-30 Pedro Alves <palves@redhat.com>
1577 PR breakpoints/17000
1578 * gdb.base/sss-bp-on-user-bp.c: New file.
1579 * gdb.base/sss-bp-on-user-bp.exp: New file.
1581 2014-05-30 David Blaikie <dblaikie@gmail.com>
1583 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1584 gnu_inline semantics via attribute.
1585 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1586 source explicitly specifies the required semantics.
1588 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1590 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1592 2014-05-29 Pedro Alves <palves@redhat.com>
1593 Tom Tromey <tromey@redhat.com>
1595 * gdb.base/async-shell.exp: Don't enable target-async.
1596 * gdb.base/async.exp
1597 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1599 (top level): Don't test with "target-async".
1600 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1601 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1602 * gdb.base/inferior-died.exp: Don't enable target-async.
1603 * gdb.base/interrupt-noterm.exp: Likewise.
1604 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1605 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1606 * gdb.mi/mi-nonstop.exp: Likewise.
1607 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1608 * gdb.mi/mi-nsintrall.exp: Likewise.
1609 * gdb.mi/mi-nsmoribund.exp: Likewise.
1610 * gdb.mi/mi-nsthrexec.exp: Likewise.
1611 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1612 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1613 * gdb.python/py-evsignal.exp: Don't enable target-async.
1614 * gdb.python/py-evthreads.exp: Likewise.
1615 * gdb.python/py-prompt.exp: Likewise.
1616 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1617 * gdb.server/solib-list.exp: Don't enable target-async.
1618 * gdb.threads/thread-specific-bp.exp: Likewise.
1619 * lib/mi-support.exp: Adjust to use mi-async.
1621 2014-05-29 Pedro Alves <palves@redhat.com>
1624 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1625 reason, even in sync mode.
1627 2014-05-29 Pedro Alves <palves@redhat.com>
1628 Hui Zhu <hui@codesourcery.com>
1631 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1632 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1633 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1634 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1636 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1638 * config/monitor.exp (gdb_target_monitor): Replace use of
1639 "set remotebaud" by "set serial baud".
1641 2014-05-26 Andy Wingo <wingo@igalia.com>
1643 * gdb.guile/scm-breakpoint.exp:
1644 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1645 properties instead of gdb-object-properties.
1647 2014-05-26 Yao Qi <yao@codesourcery.com>
1649 * gdb.server/no-thread-db.exp: Specify source file name
1650 explicitly when setting a breakpoint.
1652 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1654 * gdb.btrace/vdso.c: New.
1655 * gdb.btrace/vdso.exp: New.
1657 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1659 * gdb.base/gcore.exp (capture_command_output): Move ...
1660 * lib/gdb.exp (capture_command_output): ... here.
1662 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1664 * gdb.btrace/data.exp: Test memory access during btrace replay.
1666 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1668 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1670 2014-05-21 Pedro Alves <palves@redhat.com>
1673 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1674 (top level): Test that output related to execution commands is
1675 sent to the console with CLI commands, but not with MI commands.
1676 Test that breakpoint events are always mirrored to the console.
1677 Also expect the new source line to be output after a "next" in
1678 async mode too. Make it a pass/fail test.
1679 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1681 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1683 2014-05-21 Pedro Alves <palves@redhat.com>
1685 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1686 Use them to test variations of "list" after reaching a breakpoint.
1687 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1688 Test "list" with listsize 10 after reaching a breakpoint.
1689 * gdb.python/python.exp (decode_line current location line
1690 number): Adjust expected line number.
1692 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1694 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1695 behavior for $args, pass it directly to "run".
1697 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1699 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1702 2014-05-21 Pedro Alves <palves@redhat.com>
1704 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1705 auto-connect-native-target off".
1706 * gdb.base/auto-connect-native-target.c: New file.
1707 * gdb.base/auto-connect-native-target.exp: New file.
1709 2014-05-21 Pedro Alves <palves@redhat.com>
1711 * gdb.base/default.exp: Test "target native" instead of "target
1714 2014-05-21 Mark Wielaard <mjw@redhat.com>
1716 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1718 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1720 Fix TLS access for -static -pthread.
1721 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1722 <HAVE_TLS> (thread_function, main): Initialize it.
1723 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1725 <$have_tls != "">: Check TLSVAR.
1727 2014-05-21 Pedro Alves <palves@redhat.com>
1729 * gdb.base/dcache-line-read-error.c: New.
1730 * gdb.base/dcache-line-read-error.exp: New.
1732 2014-05-20 Pedro Alves <palves@redhat.com>
1734 * gdb.base/compare-sections.c: New file.
1735 * gdb.base/compare-sections.exp: New file.
1737 2014-05-20 Pedro Alves <palves@redhat.com>
1739 * gdb.base/break-idempotent.c: New file.
1740 * gdb.base/break-idempotent.exp: New file.
1742 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1744 * gdb.btrace/nohist.exp: New.
1746 2014-05-20 Yao Qi <yao@codesourcery.com>
1748 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1749 gdb.reverse directory and gdb_reverse_timeout exists in board
1751 * README: Document gdb_reverse_timeout.
1753 2014-05-20 Yao Qi <yao@codesourcery.com>
1755 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1756 'test_file_name'. Treat args as a string instead of a list.
1757 (gdb_init): Rename argument 'args' by 'test_file_name'.
1759 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1761 * gdb.arch/powerpc-power.exp: New file.
1762 * gdb.arch/powerpc-power.s: New file.
1764 2014-05-16 Doug Evans <dje@google.com>
1766 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
1767 * gdb.base/completion.exp: Check that all expected files exist
1768 before doing file completion.
1770 2014-05-16 Doug Evans <dje@google.com>
1772 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1774 (do_syscall_tests_without_xml): Update.
1776 2014-05-16 Pedro Alves <palves@redhat.com>
1778 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1779 instead of "unknown output after running".
1781 2014-05-16 Yao Qi <yao@codesourcery.com>
1783 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1784 file1.txt from host at the end.
1785 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1787 2014-05-15 Doug Evans <dje@google.com>
1789 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1790 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1791 loading file. Add test for TU lookup.
1793 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1795 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1796 calling "-exec-arguments" or "set args" before running the
1799 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1801 * lib/mi-support.exp (mi_expect_stop): Expect message for
1802 inferiors that exit with non-zero exit code.
1804 2014-05-14 Yao Qi <yao@codesourcery.com>
1806 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1807 match absolute path on remote host.
1808 (test_file_list_exec_source_files): Remove "/" from the
1811 2014-05-14 Yao Qi <yao@codesourcery.com>
1813 * boards/local-remote-host-notty.exp (${board}_file): New
1816 2014-05-07 Kyle McMartin <kyle@redhat.com>
1818 Pushed by Joel Brobecker <brobecker@adacore.com>.
1819 * gdb.arch/aarch64-atomic-inst.c: New file.
1820 * gdb.arch/aarch64-atomic-inst.exp: New file.
1822 2014-05-07 Yao Qi <yao@codesourcery.com>
1824 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1825 in current context" too.
1827 2014-05-05 Keith Seitz <keiths@redhat.com>
1829 * gdb.linespec/ls-dollar.exp: Add test for linespec
1830 file:convenience_variable.
1832 2014-05-05 Yao Qi <yao@codesourcery.com>
1834 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
1835 traceframes into tfile and ctf trace files. Read data from
1836 trace file and test collected data.
1837 (gdb_collect_locals_test): Likewise.
1838 (gdb_unavailable_registers_test): Likewise.
1839 (gdb_unavailable_floats): Likewise.
1840 (gdb_collect_globals_test): Likewise.
1841 (top-level): Append "ctf" to trace_file_targets if GDB
1844 2014-05-05 Yao Qi <yao@codesourcery.com>
1846 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
1848 (gdb_collect_args_test_1): ... it. New proc.
1849 (gdb_collect_locals_test): Move some code to ...
1850 (gdb_collect_locals_test_1): ... it. New proc.
1851 (gdb_unavailable_registers_test): Move some code to ...
1852 (gdb_unavailable_registers_test_1): ... it. New proc.
1853 (gdb_unavailable_floats): Move some code to ...
1854 (gdb_unavailable_floats_1): ... it. New proc.
1856 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1858 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
1859 probes to test for bitness recognition.
1860 * gdb.arch/amd64-stap-optional-prefix.exp
1861 (test_probe_value_without_reg): New procedure.
1862 Add code to test for different kinds of bitness.
1864 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1866 PR breakpoints/16889
1867 * gdb.arch/amd64-stap-optional-prefix.S: New file.
1868 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1870 2014-05-01 Pedro Alves <palves@redhat.com>
1872 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
1873 gdb_file_cmd if no file is specified.
1874 * boards/native-extended-gdbserver.exp (gdb_load): Use the
1875 last_loaded_file to set the remote exec-file.
1877 2014-05-01 Pedro Alves <palves@redhat.com>
1879 * boards/local-remote-host.exp: New file.
1881 2014-05-01 Pedro Alves <palves@redhat.com>
1883 * boards/local-remote-host.exp: Rename to ...
1884 * boards/local-remote-host-notty.exp: ... this.
1886 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1888 * gdb.ada/dyn_arrayidx: New testcase.
1890 2014-04-26 Yao Qi <yao@codesourcery.com>
1892 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
1893 and compute the length of function main. Save it in
1895 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
1896 (top-level): Use gdb_compile to compile objects into
1897 executable and restart GDB. Remove invocation to
1898 prepare_for_testing.
1900 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
1901 Pedro Alves <palves@redhat.com>
1904 * gdb.multi/multi-attach.c: New file.
1905 * gdb.multi/multi-attach.exp: New file.
1907 2014-04-25 Pedro Alves <palves@redhat.com>
1909 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
1911 (top level): Test that "set remote conditional-breakpoints-packet
1912 off" works as intended.
1913 * gdb.base/dprintf.exp: Test that "set remote
1914 breakpoint-commands-packet off" works as intended.
1915 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
1917 (top level): Call it.
1918 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
1919 remote fast-tracepoints-packet off" works as intended.
1920 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
1921 * lib/gdb.exp (gdb_is_target_remote): ... here.
1923 2014-04-24 David Blaikie <dblaikie@gmail.com>
1925 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
1926 ensure clang would not discard them.
1927 * gdb.base/gdbvars.c: Ditto.
1928 * gdb.base/memattr.c: Ditto.
1929 * gdb.base/whatis.c: Ditto.
1930 * gdb.python/py-prettyprint.c: Ditto.
1931 * gdb.trace/actions.c: Ditto.
1932 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
1933 ensure clang would not discard it.
1935 2014-04-24 David Blaikie <dblaikie@gmail.com>
1937 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1938 clang to emit the full definition of type required by the test
1939 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1941 2014-04-24 David Blaikie <dblaikie@gmail.com>
1943 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1944 coax Clang into emitting the definition of the type.
1945 * gdb.cp/pr10728-x.h (y): Ditto.
1946 * gdb.cp/pr10728-y.cc (y): Ditto.
1948 2014-04-24 David Blaikie <dblaikie@gmail.com>
1950 * gdb.base/label.exp: XFAIL label related tests under Clang.
1951 * gdb.cp/cplabel.exp: Ditto.
1952 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
1953 under Clang those using labels.
1955 2014-04-25 Yao Qi <yao@codesourcery.com>
1957 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
1959 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
1960 partial_label and double_label.
1962 2014-04-24 David Blaikie <dblaikie@gmail.com>
1964 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
1966 2014-04-24 David Blaikie <dblaikie@gmail.com>
1968 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
1969 of the function to work across GCC and Clang.
1970 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
1971 pointer types (const void ** const V void **).
1973 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
1974 Walfred Tedeschi <walfred.tedeschi@intel.com>
1976 * Makefile.in (EXECUTABLES): Added i386-avx512.
1977 * gdb.arch/i386-avx512.c: New file.
1978 * gdb.arch/i386-avx512.exp: Likewise.
1980 2014-04-23 Keith Seitz <keiths@redhat.com>
1982 * lib/mi-support.exp (mi_list_breakpoints): Delete.
1983 (mi_make_breakpoint_table): New procedure.
1984 (mi_create_breakpoint): Use mi_make_breakpoint
1985 and return the result.
1986 (mi_make_breakpoint): New procedure.
1987 (mi_build_kv_pairs): New procedure.
1989 * gdb.mi/mi-break.exp: Remove unused globals,
1990 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
1991 All callers updated.
1992 * gdb.mi/mi-dprintf.exp: Use variable to track command
1994 Update all callers of mi_create_breakpoint and use
1995 mi_make_breakpoint_table.
1996 Remove any unused global variables.
1997 * gdb.mi/mi-nonstop.exp: Likewise.
1998 * gdb.mi/mi-nsintrall.exp: Likewise.
1999 * gdb.mi/mi-nsmoribund.exp: Likewise.
2000 * gdb.mi/mi-nsthrexec.exp: Likewise.
2001 * gdb.mi/mi-reverse.exp: Likewise.
2002 * gdb.mi/mi-simplerun.exp: Likewise.
2003 * gdb.mi/mi-stepn.exp: Likewise.
2004 * gdb.mi/mi-syn-frame.exp: Likewise.
2005 * gdb.mi/mi-until.exp: Likewise.
2006 * gdb.mi/mi-var-cp.exp: Likewise.
2007 * gdb.mi/mi-var-display.exp: Likewise.
2008 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2009 * gdb.mi/mi2-var-child.exp: Likewise.
2010 * gdb.mi/mi-vla-c99.exp: Likewise.
2011 * lib/mi-support.exp: Likewise.
2013 From Ian Lance Taylor <iant@cygnus.com>:
2014 * lib/gdb.exp (parse_args): New procedure.
2016 2014-04-23 Pedro Alves <palves@redhat.com>
2018 * gdb.base/break-unload-file.c: New file.
2019 * gdb.base/break-unload-file.exp: New file.
2020 * gdb.base/sym-file-lib.c (baz): New function.
2021 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
2023 (load): Store the segment's mapped size.
2024 (unload): New function.
2025 (unload_shlib): New function.
2026 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
2027 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
2028 set a breakpoint at baz, and call it.
2029 * gdb.base/sym-file.exp: New tests for stale breakpoint
2032 2014-04-23 Pedro Alves <palves@redhat.com>
2034 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
2035 * gdb.base/hbreak-in-shr-unsupported.c: New file.
2036 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
2037 * gdb.base/hbreak-unmapped.c: New file.
2038 * gdb.base/hbreak-unmapped.exp: New file.
2039 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
2040 * lib/gdb.exp (gdb_is_target_remote): ... here.
2042 2014-04-22 Pedro Alves <palves@redhat.com>
2044 * gdb.base/consecutive-step-over.c: New file.
2045 * gdb.base/consecutive-step-over.exp: New file.
2047 2014-04-22 Pedro Alves <palves@redhat.com>
2049 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
2050 instead of send_gdb/gdb_expect.
2052 2014-04-22 Yao Qi <yao@codesourcery.com>
2054 * lib/trace-support.exp (generate_tracefile): New procedure.
2055 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
2057 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
2058 if generate_tracefile returns 1.
2060 2014-04-18 Tom Tromey <palves@redhat.com>
2061 Pedro alves <tromey@redhat.com>
2064 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
2065 with a backtrace limit.
2066 * gdb.python/py-frame-inline.exp: Test running to an inline
2067 function with a backtrace limit, and printing the newest frame.
2068 * gdb.python/py-frame-inline.c (main): Call f.
2070 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2072 * gdb.java/jnpe.exp: Drop srcdir from untested path.
2074 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2076 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
2077 Drop prefix from unsupported source file path.
2079 2014-04-17 Yao Qi <yao@codesourcery.com>
2081 * lib/gdb.exp (with_target_charset): New proc.
2082 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
2083 with_target_charset.
2084 (test_print_strings): Likewise.
2085 (test_repeat_bytes): Likewise.
2086 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
2089 2014-04-16 Keith Seitz <keiths@redhat.com>
2092 * gdb.dwarf2/corrupt.c: New file.
2093 * gdb.dwarf2/corrupt.exp: New file.
2095 2014-04-16 Keith Seitz <keiths@redhat.com>
2098 * gdb.cp/namelessclass.cc: New file.
2099 * gdb.cp/namelessclass.exp: New file.
2100 * gdb.cp/namelessclass.S: New file.
2102 2014-04-16 Doug Evans <dje@google.com>
2104 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
2106 (gdbserver_default_get_comm_port): New function.
2107 (gdbserver_start): Check if board file provided
2108 "gdbserver,get_comm_port" and use it if so.
2109 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
2110 (gdb,socketport): Set to "stdio".
2111 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
2112 (stdio_gdbserver_template): Delete.
2113 (${board}_get_remote_address): Update.
2114 (${board}_build_remote_cmd): Delete.
2115 (${board}_get_comm_port): New function.
2116 (${board}_spawn): Update.
2117 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
2119 (${board}_get_remote_address): Update.
2120 (${board}_get_comm_port): New function.
2122 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
2124 * gdb.base/memattr.exp: Improve regexps to handle memory regions
2125 appearing in any order.
2127 2014-04-15 Doug Evans <dje@google.com>
2129 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
2130 uninitialized value of "description".
2132 2014-04-15 Keith Seitz <keiths@redhat.com>
2134 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
2135 Remove unused globals.
2136 (test_running_the_program): Likewise.
2137 (test_controlled_execution): Likewise.
2138 (test_controlling_breakpoints): Likewise.
2139 (test_program_termination): Likewise.
2141 2014-04-15 Keith Seitz <keiths@redhat.com>
2143 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
2145 (test_rbreak_creation_and_listing): Likewise.
2146 (test_ignore_count): Likewise.
2147 (test_error): Likewise.
2149 2014-04-15 Pedro Alves <palves@redhat.com>
2151 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2152 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2154 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2155 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2156 to sym-file-loader.c.
2157 (struct library): Forward declare.
2158 (load_shlib, lookup_function): Change prototypes.
2159 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2160 (translate_offset): Remove declarations.
2161 (get_text_addr): New declaration.
2162 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2163 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2165 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2166 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2167 here from sym-file-loader.h.
2168 (struct library): New structure.
2169 (load_shlib, lookup_function): Change prototypes and adjust to
2170 work with a struct library.
2171 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2172 (translate_offset): Make static.
2173 (get_text_addr): New function.
2174 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
2176 2014-04-15 Pedro Alves <palves@redhat.com>
2178 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
2180 2014-04-15 Pedro Alves <palves@redhat.com>
2182 * gdb.base/sym-file-loader.c: Include <limits.h>.
2183 (SELF_LINK): New define.
2184 (get_origin): New function.
2185 (load_shlib): Use it.
2186 * gdb.base/sym-file.exp: Don't early return if the target is
2187 remote. Use runto_main, and issue fail is that fails. Use
2189 (shlib_name): Delete.
2190 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
2192 2014-04-15 Pedro Alves <palves@redhat.com>
2194 * gdb.base/sym-file.exp: Remove regex characters from test
2195 message. Don't refer to breakpoint numbers in test messages.
2197 2014-04-14 Keith Seitz <keiths@redhat.com>
2200 * gdb.cp/var-tag.cc: New file.
2201 * gdb.cp/var-tag.exp: New file.
2202 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2203 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2204 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2205 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2207 2014-04-14 Tom Tromey <tromey@redhat.com>
2209 * gdb.cp/classes.exp (test_enums): Handle underlying type.
2210 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
2212 * gdb.cp/enum-class.exp: New file.
2213 * gdb.cp/enum-class.cc: New file.
2215 2014-04-14 Tom Tromey <tromey@redhat.com>
2217 * gdb.dwarf2/enum-type.exp: New file.
2219 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2221 * gdb.mi/mi-vla-c99.exp: New file.
2222 * gdb.mi/vla.c: New file.
2224 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2226 * gdb.base/vla-datatypes.c: New file.
2227 * gdb.base/vla-datatypes.exp: New file.
2229 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2231 * gdb.base/vla-ptr.c: New file.
2232 * gdb.base/vla-ptr.exp: New file.
2234 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2236 * gdb.dwarf2/count.exp: New file.
2238 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2240 * gdb.base/vla-sideeffect.c: New file.
2241 * gdb.base/vla-sideeffect.exp: New file.
2243 2014-04-14 David Blaikie <dblaikie@gmail.com>
2245 * gdb.mi/non-stop.c: Add return value for non-void function return
2247 * gdb.threads/staticthreads.c: Ditto.
2249 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2250 Doug Evans <xdje42@gmail.com>
2252 * gdb.guile/scm-value.c: Improve test case.
2253 * gdb.guile/scm-value.exp: Add new test.
2255 2014-04-11 David Blaikie <dblaikie@gmail.com>
2257 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2258 override Clang's default.
2260 2014-04-11 Joel Brobecker <brobecker@adacore.com>
2262 Revert the following changes (regressions):
2264 * gdb.base/vla-sideeffect.c: New file.
2265 * gdb.base/vla-sideeffect.exp: New file.
2267 * gdb.dwarf2/count.exp: New file.
2269 * gdb.base/vla-multi.c: New file.
2270 * gdb.base/vla-multi.exp: New file.
2272 * gdb.base/vla-ptr.c: New file.
2273 * gdb.base/vla-ptr.exp: New file.
2275 * gdb.base/vla-datatypes.c: New file.
2276 * gdb.base/vla-datatypes.exp: New file.
2278 * gdb.mi/mi-vla-c99.exp: New file.
2279 * gdb.mi/vla.c: New file.
2281 2014-04-11 Keith Seitz <keiths@redhat.com>
2284 * gdb.cp/cpsizeof.exp: New file.
2285 * gdb.cp/cpsizeof.cc: New file.
2287 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2289 * gdb.mi/mi-vla-c99.exp: New file.
2290 * gdb.mi/vla.c: New file.
2292 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2294 * gdb.base/vla-datatypes.c: New file.
2295 * gdb.base/vla-datatypes.exp: New file.
2297 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2299 * gdb.base/vla-ptr.c: New file.
2300 * gdb.base/vla-ptr.exp: New file.
2302 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2304 * gdb.base/vla-multi.c: New file.
2305 * gdb.base/vla-multi.exp: New file.
2307 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2309 * gdb.dwarf2/count.exp: New file.
2311 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2313 * gdb.base/vla-sideeffect.c: New file.
2314 * gdb.base/vla-sideeffect.exp: New file.
2316 2014-04-11 Yao Qi <yao@codesourcery.com>
2318 * gdb.base/completion.exp: Check file exists before running tests
2321 2014-04-10 Pedro Alves <palves@redhat.com>
2323 * gdb.base/cond-eval-mode.c: New file.
2324 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2325 prepare_for_testing to build the new file. Check result of
2327 (test_break, test_watch): New procedures.
2328 (top level): Use them.
2330 2014-04-08 Pierre Muller <muller@sourceware.org>
2332 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2333 Ctrl-V use for mingw hosts.
2335 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2337 * gdb.python/py-value.c: Improve test case.
2338 * gdb.python/py-value.exp: Add new test.
2340 2014-04-07 David Blaikie <dblaikie@gmail.com>
2342 * lib/compiler.c: Identify the clang compiler.
2343 * lib/compiler.cc: Ditto.
2345 2014-04-03 Yao Qi <yao@codesourcery.com>
2347 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2349 2014-04-01 Anton Blanchard <anton@samba.org>
2351 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2354 2014-04-01 Anton Blanchard <anton@samba.org>
2356 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2357 prepare_for_testing.
2359 2014-04-01 Anton Blanchard <anton@samba.org>
2361 * gdb.arch/ppc64-atomic-inst.c: Remove.
2362 * gdb.arch/ppc64-atomic-inst.S: New file.
2363 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2365 2014-03-31 Doug Evans <dje@google.com>
2367 * gdb.base/print-symbol-loading-lib.c: New file.
2368 * gdb.base/print-symbol-loading-main.c: New file.
2369 * gdb.base/print-symbol-loading.exp: New file.
2371 2014-03-31 Yao Qi <yao@codesourcery.com>
2373 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2375 2014-03-28 Joel Brobecker <brobecker@adacore.com>
2377 * gdb.ada/mi_dyn_arr: New testcase.
2379 2014-03-27 Doug Evans <dje@google.com>
2381 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2383 2014-03-27 Yao Qi <yao@codesourcery.com>
2385 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2386 if target is nios2-*-*.
2388 2014-03-26 Yao Qi <yao@codesourcery.com>
2390 * lib/gdb.exp (readline_is_used): New proc.
2391 * gdb.base/completion.exp: Move tests on command complete up.
2392 Skip the rest of tests if readline is not used.
2393 * gdb.ada/complete.exp: Skp the test if readline is not
2395 * gdb.base/filesym.exp: Likewise.
2396 * gdb.base/macscp.exp: Likewise.
2397 * gdb.base/readline-ask.exp: Likewise.
2398 * gdb.base/readline.exp: Likewise.
2399 * gdb.python/py-cmd.exp: Likewise.
2400 * gdb.trace/tfile.exp: Likewise.
2402 2014-03-26 Yao Qi <yao@codesourcery.com>
2404 * gdb.base/macscp.exp: Fix code format issues.
2406 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2408 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2409 * gdb.asm/powerpc64le.inc: New file.
2411 2014-03-25 Pedro Alves <palves@redhat.com>
2412 Doug Evans <dje@google.com>
2414 * gdb.base/source-execution.c: New file.
2415 * gdb.base/source-execution.exp: New file.
2416 * gdb.base/source-execution.gdb: New file.
2418 2014-03-24 Doug Evans <dje@google.com>
2420 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2423 2014-03-24 Hui Zhu <hui@codesourcery.com>
2424 Pedro Alves <palves@redhat.com>
2426 PR breakpoints/16101
2427 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2428 test pass/fail messages. Detect missing support for dprintf when
2429 breakpoints are actually inserted.
2430 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2431 breakpoints are actually inserted.
2432 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2435 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2437 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2439 2014-03-22 Doug Evans <xdje42@gmail.com>
2441 * gdb.python/python.exp (python not supported): Verify multi-line
2442 python command issues an error.
2443 * gdb.guile/guile.exp (guile not supported): Verify multi-line
2444 guile command issues an error.
2446 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2448 * gdb.threads/thread-specific.exp: Handle the lack of usable
2449 $this_breakpoint and $this_thread.
2451 2014-03-21 Hui Zhu <hui@codesourcery.com>
2453 * gdb.base/attach.exp (do_command_attach_tests): New.
2455 2014-03-20 Tom Tromey <tromey@redhat.com>
2456 Pedro Alves <palves@redhat.com>
2459 * gdb.base/condbreak-call-false.c: New file.
2460 * gdb.base/condbreak-call-false.exp: New file.
2462 2014-03-20 Pedro Alves <palves@redhat.com>
2464 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2466 (block_signals, unblock_signals): Delete.
2467 (child_function_2, main): Remove references to deleted variable
2470 2014-03-20 Pedro Alves <palves@redhat.com>
2472 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2473 Use pthread_kill to signal thread 2.
2474 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2475 Adjust to make the test send itself a signal rather than using the
2476 host's "kill" command.
2478 2014-03-20 Pedro Alves <palves@redhat.com>
2480 * gdb.threads/multiple-step-overs.c: New file.
2481 * gdb.threads/multiple-step-overs.exp: New file.
2482 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2483 Adjust expected infrun debug output.
2485 2014-03-20 Pedro Alves <palves@redhat.com>
2487 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2488 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2490 2014-03-20 Pedro Alves <palves@redhat.com>
2493 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2494 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2495 of gdb_test_multiple.
2496 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2497 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2499 2014-03-20 Pedro Alves <palves@redhat.com>
2501 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2502 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2504 2014-03-19 Pedro Alves <palves@redhat.com>
2506 * gdb.base/async.exp: Remove early return.
2508 2014-03-19 Pedro Alves <palves@redhat.com>
2510 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2512 2014-03-19 Pedro Alves <palves@redhat.com>
2514 * gdb.base/async.exp (test_background): Expect \r\n after
2515 "completed." in the fail pattern.
2517 2014-03-19 Pedro Alves <palves@redhat.com>
2519 * gdb.base/async.exp (test_background): New procedure.
2520 Use it for all background execution command tests.
2522 2014-03-19 Pedro Alves <palves@redhat.com>
2524 * gdb.base/async.exp: Use prepare_for_testing.
2526 2014-03-19 Pedro Alves <palves@redhat.com>
2528 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2531 2014-03-19 Pedro Alves <palves@redhat.com>
2533 * gdb.base/async.c (main): Add "jump here" and "until here" line
2535 * gdb.base/async.exp (jump_here): New global.
2536 (jump& test): Use it.
2537 (until_here): New global.
2538 (until& test): Use it.
2540 2014-03-19 Pedro Alves <palves@redhat.com>
2542 * gdb.base/async.exp: Don't frob gdb_protocol.
2544 2014-03-18 Doug Evans <xdje42@gmail.com>
2546 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2547 Fix spelling of exec-done-display.
2549 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2552 * gdb.base/gdb-sigterm.c: New file.
2553 * gdb.base/gdb-sigterm.exp: New file.
2555 2014-03-18 Pedro Alves <palves@redhat.com>
2558 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2559 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2562 2014-03-17 Joel Brobecker <brobecker@adacore.com>
2564 * gdb.ada/pckd_arr_ren: New testcase.
2566 2014-03-13 Doug Evans <xdje42@gmail.com>
2569 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2570 collect after discarding symbols.
2572 2014-03-13 Ludovic Courtès <ludo@gnu.org>
2573 Doug Evans <xdje42@gmail.com>
2575 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2576 to history survives a gc.
2578 2014-03-13 Pedro Alves <palves@redhat.com>
2580 * gdb.base/default.exp: Don't test "target procfs".
2582 2014-03-13 Pedro Alves <palves@redhat.com>
2584 * gdb.base/default.exp: Update "target child" and "target procfs"
2585 tests to not expect "Unix".
2587 2014-03-12 Tom Tromey <tromey@redhat.com>
2589 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2590 New procs. Add target-async tests.
2591 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2592 Add target-async tests.
2594 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2596 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2597 'func_start' and 'func_end' for the beginning and end of the
2598 function code, respectively.
2599 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2600 'func_end' instead of 'func' and 'main'.
2602 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2604 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2605 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2606 generate the debug info assembler source.
2608 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2610 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2611 * gdb.dwarf2/arr-subrange.exp: Likewise.
2612 * gdb.dwarf2/dwz.exp: Likewise.
2613 * gdb.dwarf2/method-ptr.exp: Likewise.
2614 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2615 * gdb.dwarf2/subrange.exp: Likewise.
2616 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2617 * gdb.dwarf2/implptrpiece.exp: Likewise.
2618 * gdb.dwarf2/nostaticblock.exp: Likewise.
2620 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2622 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2623 directory to absolute path name arguments.
2625 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2627 * gdb.ada/tagged_access: New testcase.
2629 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2631 * gdb.btrace/data.exp: Update expected output.
2633 2014-03-06 Yao Qi <yao@codesourcery.com>
2635 * gdb.trace/pr16508.exp: New file.
2637 2014-03-05 Pedro Alves <palves@redhat.com>
2640 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2642 (top level): Adjust to use it. Add tests that exercise breakpoint
2643 interaction with the code-cache.
2645 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2647 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2648 test for 'history-append!'.
2650 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2652 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2653 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2654 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2655 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2656 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2657 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2659 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2661 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2662 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2663 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2665 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2667 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2669 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2671 * gdb.dwarf2/arr-stride.c: New file.
2672 * gdb.dwarf2/arr-stride.exp: New file.
2674 2014-02-26 Pedro Alves <palves@redhat.com>
2676 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2677 that won't ever trigger. Make sure that GDB reports the correct
2678 breakpoint that caused the stop.
2680 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2683 * gdb.base/auto-load-script: New file.
2684 * gdb.base/auto-load.c: New file.
2685 * gdb.base/auto-load.exp: New file.
2688 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2690 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2692 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2693 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2695 2014-02-24 Doug Evans <dje@google.com>
2697 * lib/gdb.exp (run_on_host): Log error output if program fails.
2699 2014-02-21 Pedro Alves <palves@redhat.com>
2701 * gdb.threads/step-after-sr-lock.c: Rename to ...
2702 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2703 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2704 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2707 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2710 * gdb.arch/amd64-stap-special-operands.exp: New file.
2711 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2712 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2713 * gdb.arch/amd64-stap-triplet.S: Likewise.
2714 * gdb.arch/amd64-stap-triplet.c: Likewise.
2716 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2718 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2719 in .section pseudo-op.
2721 2014-02-20 lin zuojian <manjian2006@gmail.com>
2722 Joel Brobecker <brobecker@adacore.com>
2723 Doug Evans <xdje42@gmail.com>
2726 * gdb.dwarf2/dw2-icycle.S: New file.
2727 * gdb.dwarf2/dw2-icycle.c: New file.
2728 * gdb.dwarf2/dw2-icycle.exp: New file.
2730 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2732 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2733 operations on gdb.Value objects.
2734 * gdb.python/py-value-cc.exp: Add new test to test operations on
2737 2014-02-18 Doug Evans <dje@google.com>
2739 * Makefile.in (TESTS): New variable.
2740 (expanded_tests, expanded_tests_or_none): New variables
2741 (check-single): Pass $(expanded_tests_or_none) to runtest.
2742 (check-parallel): Only run tests in $(TESTS) if non-empty.
2743 (check/no-matching-tests-found): New rule.
2744 * README: Document TESTS makefile variable.
2746 2014-02-18 Doug Evans <dje@google.com>
2748 * Makefile.in (check-parallel): rm -rf outputs temp.
2750 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2752 Fix "ERROR: no fileid for" in the testsuite.
2753 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2755 2014-02-12 Doug Evans <dje@google.com>
2757 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2758 (MISCELLANEOUS): New variable.
2759 (clean): rm -rf $(MISCELLANEOUS).
2760 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2761 dwp live in the same directory as symlinks, with each symlink pointed
2762 to a differently named file in a different directory.
2764 2014-02-11 Doug Evans <dje@google.com>
2766 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2767 of Tcl file commands.
2769 2014-02-10 Mark Kettenis <kettenis@gnu.org>
2771 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2774 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2776 * gdb.ada/tick_length_array_enum_idx: New testcase.
2778 2014-02-10 Doug Evans <xdje42@gmail.com>
2780 * configure.ac (AC_OUTPUT): Add gdb.guile.
2781 * configure: Regenerate.
2782 * lib/gdb-guile.exp: New file.
2783 * lib/gdb.exp (get_target_charset): New function.
2784 * gdb.base/help.exp: Update expected output from "apropos apropos".
2785 * gdb.guile/Makefile.in: New file.
2786 * gdb.guile/guile.exp: New file.
2787 * gdb.guile/scm-arch.c: New file.
2788 * gdb.guile/scm-arch.exp: New file.
2789 * gdb.guile/scm-block.c: New file.
2790 * gdb.guile/scm-block.exp: New file.
2791 * gdb.guile/scm-breakpoint.c: New file.
2792 * gdb.guile/scm-breakpoint.exp: New file.
2793 * gdb.guile/scm-disasm.c: New file.
2794 * gdb.guile/scm-disasm.exp: New file.
2795 * gdb.guile/scm-equal.c: New file.
2796 * gdb.guile/scm-equal.exp: New file.
2797 * gdb.guile/scm-error.exp: New file.
2798 * gdb.guile/scm-error.scm: New file.
2799 * gdb.guile/scm-frame-args.c: New file.
2800 * gdb.guile/scm-frame-args.exp: New file.
2801 * gdb.guile/scm-frame-args.scm: New file.
2802 * gdb.guile/scm-frame-inline.c: New file.
2803 * gdb.guile/scm-frame-inline.exp: New file.
2804 * gdb.guile/scm-frame.c: New file.
2805 * gdb.guile/scm-frame.exp: New file.
2806 * gdb.guile/scm-generics.exp: New file.
2807 * gdb.guile/scm-gsmob.exp: New file.
2808 * gdb.guile/scm-iterator.c: New file.
2809 * gdb.guile/scm-iterator.exp: New file.
2810 * gdb.guile/scm-math.c: New file.
2811 * gdb.guile/scm-math.exp: New file.
2812 * gdb.guile/scm-objfile-script-gdb.in: New file.
2813 * gdb.guile/scm-objfile-script.c: New file.
2814 * gdb.guile/scm-objfile-script.exp: New file.
2815 * gdb.guile/scm-objfile.c: New file.
2816 * gdb.guile/scm-objfile.exp: New file.
2817 * gdb.guile/scm-ports.exp: New file.
2818 * gdb.guile/scm-pretty-print.c: New file.
2819 * gdb.guile/scm-pretty-print.exp: New file.
2820 * gdb.guile/scm-pretty-print.scm: New file.
2821 * gdb.guile/scm-section-script.c: New file.
2822 * gdb.guile/scm-section-script.exp: New file.
2823 * gdb.guile/scm-section-script.scm: New file.
2824 * gdb.guile/scm-symbol.c: New file.
2825 * gdb.guile/scm-symbol.exp: New file.
2826 * gdb.guile/scm-symtab-2.c: New file.
2827 * gdb.guile/scm-symtab.c: New file.
2828 * gdb.guile/scm-symtab.exp: New file.
2829 * gdb.guile/scm-type.c: New file.
2830 * gdb.guile/scm-type.exp: New file.
2831 * gdb.guile/scm-value-cc.cc: New file.
2832 * gdb.guile/scm-value-cc.exp: New file.
2833 * gdb.guile/scm-value.c: New file.
2834 * gdb.guile/scm-value.exp: New file.
2835 * gdb.guile/source2.scm: New file.
2836 * gdb.guile/types-module.cc: New file.
2837 * gdb.guile/types-module.exp: New file.
2839 2014-02-10 Yao Qi <yao@codesourcery.com>
2842 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
2843 * configure: Regenerated.
2844 * Makefile.in: New file.
2846 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2848 * gdb.python/py-framefilter.exp: Fix typo.
2850 2014-02-08 Yao Qi <yao@codesourcery.com>
2852 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
2853 that no =breakpoint-modified is emitted when breakpoints are
2854 modified through MI commands.
2856 2014-02-07 Pedro Alves <pedro@codesourcery.com>
2857 Pedro Alves <palves@redhat.com>
2859 * gdb.threads/step-after-sr-lock.c: New file.
2860 * gdb.threads/step-after-sr-lock.exp: New file.
2862 2014-02-07 Pedro Alves <palves@redhat.com>
2864 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
2866 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2868 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
2869 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
2871 2014-02-06 Doug Evans <xdje42@gmail.com>
2873 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
2876 * gdb.gdb/python-interrupts.exp: New file.
2878 2014-02-05 Yao Qi <yao@codesourcery.com>
2880 * gdb.trace/report.exp (use_collected_data): Test the output
2881 of "info threads" and "info inferiors".
2883 2014-02-05 Yao Qi <yao@codesourcery.com>
2887 2013-05-24 Yao Qi <yao@codesourcery.com>
2889 * gdb.trace/tfile.exp: Test inferior and thread.
2891 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2893 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
2895 * gdb.base/step-bt.c: Call hello via function pointer to make
2896 sure its first instruction is executed on powerpc64le-linux.
2898 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2900 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
2902 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2904 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
2905 of the test patterns for use on little-endian systems.
2907 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2909 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
2910 (decimal_vector): Fix for little-endian.
2912 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2914 * gdb.arch/sparc-sysstep.exp: New file.
2915 * gdb.arch/sparc-sysstep.c: Likewise.
2917 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
2919 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2921 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2923 2014-01-23 Tom Tromey <tromey@redhat.com>
2925 * gdb.ada/array_char_idx: New testcase.
2927 2014-01-23 Tom Tromey <tromey@redhat.com>
2930 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
2931 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2934 2014-01-23 Tom Tromey <tromey@redhat.com>
2937 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2938 string from an inferior frame.
2939 * gdb.python/py-framefilter-mi.exp: Update.
2941 2014-01-22 Doug Evans <dje@google.com>
2943 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2945 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2947 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2949 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2951 * gdb.trace/entry-values.exp: Remove excess space character from
2952 regex patterns. Handle s390 call instruction.
2954 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2956 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
2957 define "*_start" label. Make "name" static.
2958 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
2959 ${name} by references to ${name}_start.
2961 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2963 * gdb.base/info-macros.exp: Remove "debug" from the compile
2966 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2968 * gdb.dlang/demangle.exp: New file.
2970 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2972 * gdb.dlang/primitive-types.exp: New file.
2974 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2976 * configure.ac: Create gdb.dlang/Makefile.
2977 * configure: Regenerate.
2978 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
2979 * gdb.dlang/Makefile.in: New file.
2980 * lib/d-support.exp: New file.
2981 * lib/gdb.exp (skip_d_tests): New proc.
2983 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2985 * gdb.btrace/delta.exp: Check reverse stepi.
2986 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
2987 * gdb.btrace/finish.exp: New.
2988 * gdb.btrace/next.exp: New.
2989 * gdb.btrace/nexti.exp: New.
2990 * gdb.btrace/record_goto.c: Add comments.
2991 * gdb.btrace/step.exp: New.
2992 * gdb.btrace/stepi.exp: New.
2993 * gdb.btrace/multi-thread-step.c: New.
2994 * gdb.btrace/multi-thread-step.exp: New.
2995 * gdb.btrace/rn-dl-bind.c: New.
2996 * gdb.btrace/rn-dl-bind.exp: New.
2997 * gdb.btrace/data.c: New.
2998 * gdb.btrace/data.exp: New.
2999 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3001 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3003 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
3004 * gdb.btrace/exception.exp: Update.
3005 * gdb.btrace/instruction_history.exp: Update.
3006 * gdb.btrace/record_goto.exp: Update.
3007 * gdb.btrace/tailcall.exp: Update.
3008 * gdb.btrace/unknown_functions.exp: Update.
3009 * gdb.btrace/delta.exp: New.
3011 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3013 * gdb.btrace/record_goto.exp: Add backtrace test.
3014 * gdb.btrace/tailcall.exp: Add backtrace test.
3016 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3018 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
3019 * gdb.btrace/record_goto.c: New.
3020 * gdb.btrace/record_goto.exp: New.
3021 * gdb.btrace/x86-record_goto.S: New.
3023 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3025 * gdb.btrace/function_call_history.exp: Update tests.
3026 * gdb.btrace/instruction_history.exp: Update tests.
3028 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3030 * gdb.btrace/function_call_history.exp: Fix expected field
3031 order for "record function-call-history".
3032 Add new tests for "record function-call-history /c".
3033 * gdb.btrace/exception.cc: New.
3034 * gdb.btrace/exception.exp: New.
3035 * gdb.btrace/tailcall.exp: New.
3036 * gdb.btrace/x86-tailcall.S: New.
3037 * gdb.btrace/x86-tailcall.c: New.
3038 * gdb.btrace/unknown_functions.c: New.
3039 * gdb.btrace/unknown_functions.exp: New.
3040 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3042 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3044 * gdb.btrace/instruction_history.exp: Update.
3045 * gdb.btrace/function_call_history.exp: Update.
3047 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3049 * gdb.btrace/function_call_history.exp: Fix expected function
3051 * gdb.btrace/instruction_history.exp: Initialize traced.
3052 Remove traced_functions.
3054 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3056 * gdb.btrace/function_call_history.exp: Update
3057 * gdb.btrace/instruction_history.exp: Update.
3059 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3061 * gdb.btrace/enable.exp: Update expected text.
3063 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
3065 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
3068 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
3070 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
3072 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3074 * lib/gdb.exp (supports_process_record): Return true for
3075 arm*-linux*. (supports_reverse): Likewise.
3077 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3081 * gdb.python/py-type.c: Enhance test case.
3082 * gdb.python/py-value-cc.cc: Likewise
3083 * gdb.python/py-type.exp: Add new tests.
3084 * gdb.python/py-value-cc.exp: Likewise
3086 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3087 Pedro Alves <palves@redhat.com>
3089 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
3091 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
3092 references to ${name}_start by references to ${name}.
3094 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3096 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
3098 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3100 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
3102 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
3103 Pedro Alves <palves@redhat.com>
3105 * gdb.mi/mi-info-os.exp: Connect to the target with
3108 2014-01-08 Pedro Alves <palves@redhat.com>
3110 * gdb.threads/reconnect-signal.c: New file.
3111 * gdb.threads/reconnect-signal.exp: New file.
3113 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3115 * gdb.base/source-dir.exp: New file.
3117 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3119 * gdb.ada/mi_interface: New testcase.
3121 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3123 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
3124 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
3125 gdb.ada/pp-rec-component/pck.ads: New files.
3127 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3129 * gdb.python/py-pp-integral.c: New file.
3130 * gdb.python/py-pp-integral.py: New file.
3131 * gdb.python/py-pp-integral.exp: New file.
3133 For older changes see ChangeLog-1993-2013.
3139 ;; version-control: never
3142 Copyright 2014 Free Software Foundation, Inc.
3143 Copying and distribution of this file, with or without modification,
3144 are permitted provided the copyright notice and this notice are preserved.