1 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3 * gdb.mi/mi-console.c: Add eye-catcher.
4 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5 instead of literal line number.
7 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9 * gdb.base/shr2.c: Add eye-catcher.
10 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
13 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15 * gdb.base/jump.c: Add eye-catchers.
16 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
19 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21 * gdb.base/execd-prog.c: Add eye-catchers.
22 * gdb.base/foll-exec.c: Likewise.
23 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
26 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
28 * gdb.base/ending-run.c: Add eye-catchers.
29 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
32 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
34 * gdb.base/call-rt-st.c: Add eye-catchers.
35 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
38 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
40 * gdb.base/call-ar-st.c: Add eye-catchers.
41 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
44 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
46 * gdb.base/average.c: Add eye-catchers.
47 * gdb.base/sum.c: Likewise.
48 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
51 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
53 * gdb.base/solib1.c: Add eye-catchers.
54 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
57 2014-11-12 Pedro Alves <palves@redhat.com>
59 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
62 2014-11-12 Pedro Alves <palves@redhat.com>
64 * gdb.arch/i386-bp_permanent.c: New file.
65 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
66 (srcfile): Set to i386-bp_permanent.c.
67 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
68 that stepi does not execute the 'leave' instruction, instead of
69 testing it does execute.
70 * gdb.base/bp-permanent.c: New file.
71 * gdb.base/bp-permanent.exp: New file.
73 2014-11-10 Doug Evans <xdje42@gmail.com>
76 * gdb.base/symtab-search-order.exp: New file.
77 * gdb.base/symtab-search-order.c: New file.
78 * gdb.base/symtab-search-order-1.c: New file.
79 * gdb.base/symtab-search-order-shlib-1.c: New file.
81 2014-11-07 Pedro Alves <palves@redhat.com>
84 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
87 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
90 * gdb.cp/pr17494.cc: New file.
91 * gdb.cp/pr17494.exp: New file.
93 2014-11-02 Yao Qi <yao@codesourcery.com>
95 * gdb.python/python.exp: Get working directory and match the
96 output of "set extended-prompt \\w " with it.
98 2014-10-30 Doug Evans <dje@google.com>
100 * gdb.python/py-objfile.exp: Add tests for setting random attributes
102 * gdb.python/py-progspace.exp: Add tests for setting random attributes
105 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
107 * gdb.base/fullpath-expand.exp: Skip for a remote host.
108 * gdb.base/realname-expand.exp: Likewise.
109 * gdb.linespec/macro-relative.exp: Likewise.
111 2014-10-29 Pedro Alves <palves@redhat.com>
114 * gdb.threads/schedlock.c (some_function): New function.
115 (call_function): New global.
116 (MAYBE_CALL_SOME_FUNCTION): New macro.
117 (thread_function): Call it.
118 * gdb.threads/schedlock.exp (get_args): Add description parameter,
119 and use it instead of a global counter. Adjust all callers.
120 (get_current_thread): Use "find current thread" for test message
121 here rather than having all callers pass down the same string.
122 (goto_loop): New procedure, factored out from ...
123 (my_continue): ... this.
124 (step_ten_loops): Change parameter from test message to command to
126 (list_count): Delete global.
127 (check_result): New procedure, factored out from duplicate top
129 (continue tests): Wrap in with_test_prefix.
130 (test_step): New procedure, factored out from duplicate top level
132 (top level): Test "step" in combination with all scheduler-locking
133 modes. Test "next" in combination with all scheduler-locking
134 modes, and in combination with stepping over a function call or
136 * gdb.threads/next-bp-other-thread.c: New file.
137 * gdb.threads/next-bp-other-thread.exp: New file.
139 2014-10-29 Pedro Alves <palves@redhat.com>
142 * gdb.python/python.exp: Test a multi-line command that spawns
144 * gdb.base/multi-line-starts-subshell.exp: New file.
146 2014-10-29 Yao Qi <yao@codesourcery.com>
148 * gdb.base/fileio.exp: Make directories on host.
150 2014-10-29 Yao Qi <yao@codesourcery.com>
152 * gdb.base/fileio.c (test_write): Close the file.
154 2014-10-28 Pedro Alves <palves@redhat.com>
157 * gdb.base/sigstep.c (no_handler): New global.
158 (main): If 'no_handler is true, set the signal handlers to
160 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
161 with_sw_watch and no_handler parameters. Handle them.
162 (top level) <stepping over handler when stopped at a breakpoint
163 test>: Add a test axis for testing with a software watchpoint, and
164 another for testing with the signal handler set to SIG_IGN.
165 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
166 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
168 2014-10-28 Pedro Alves <palves@redhat.com>
171 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
172 * gdb.base/sigstep.exp (other_handler_location): New global.
173 (advance): Support stepping into the signal handler, and running
174 commands while in the handler.
175 (in_handler_map): New global.
176 (top level): In the advance test, add combinations for getting
177 into the handler with stepping commands, and for running commands
178 in the handler. Add comment descripting the advancei tests.
180 2014-10-28 Pedro Alves <palves@redhat.com>
182 * gdb.base/sigstep.exp: Use build_executable instead of
184 (top level): Move code that starts GDB, runs to main and creates a
186 (restart): ... this new procedure.
187 (top level): Move backtrace from signal handler test to ...
188 (validate_backtrace): ... this new procedure.
189 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
190 with_test_prefix. Always restart GDB.
191 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
192 with_test_prefix. Always restart GDB. No need to delete
193 breakpoints after the test.
194 (test_skip_handler): Remove prefix parameter.
195 (skip_over_handler, breakpoint_to_handler)
196 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
197 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
198 restart GDB. No need to delete breakpoints after the test.
199 (top level): Use foreach to call the test procedures with
202 2014-10-28 Pedro Alves <palves@redhat.com>
204 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
205 instead of GNATS numbers.
206 * gdb.base/sigbpt.exp: Likewise.
207 * gdb.base/siginfo.exp: Likewise.
208 * gdb.base/sigstep.exp: Likewise.
210 2014-10-27 Pedro Alves <palves@redhat.com>
212 * gdb.base/sigstep.c (dummy): New global.
213 (main): Issue a couple writes to the new global.
214 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
216 (skip_over_handler): Use test_skip_handler.
217 (top level): Call skip_over_handler for stepi and nexti too.
218 (breakpoint_over_handler): Use test_skip_handler.
219 (top level): Call breakpoint_over_handler for stepi and nexti too.
221 2014-10-27 Yao Qi <yao@codesourcery.com>
223 * gdb.trace/tfile.c (adjust_function_address)
224 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
227 2014-10-24 Don Breazeal <donb@codesourcery.com>
229 * gdb.base/foll-fork.exp (test_follow_fork,
230 catch_fork_child_follow): Check for updated fork messages emitted
232 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
233 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
234 vfork_and_exec_child_follow_through_step): Check for updated vfork
235 messages emitted from infrun.c.
237 2014-10-24 Pedro Alves <palves@redhat.com>
239 * gdb.base/corefile.exp: Remove references to ultrix.
240 * gdb.base/interrupt.exp: Likewise.
241 * gdb.base/whatis.exp: Likewise.
242 * gdb.gdb/selftest.exp: Likewise.
243 * gdb.threads/manythreads.exp: Likewise.
244 * gdb.threads/print-threads.exp: Likewise.
245 * gdb.threads/pthreads.exp:: Likewise.
246 * gdb.threads/schedlock.exp: Likewise.
248 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
250 * gdb.cp/non-trivial-retval.cc: Add a test case.
251 * gdb.cp/non-trivial-retval.exp: Add a test.
253 2014-10-20 Yao Qi <yao@codesourcery.com>
255 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
256 * gdb.python/py-objfile-script-gdb.py: New file.
257 * gdb.python/py-objfile-script.exp: Update reference to
258 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
259 of remote_download. Remove the dest file.
261 2014-10-20 Yao Qi <yao@codesourcery.com>
263 * gdb.base/checkpoint.exp: Don't remove file copied on host.
264 * gdb.base/step-line.exp: Likewise.
265 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
266 * gdb.dwarf2/dw2-basic.exp: Likewise.
267 * gdb.dwarf2/dw2-compressed.exp: Likewise.
268 * gdb.dwarf2/dw2-filename.exp: Likewise.
269 * gdb.dwarf2/dw2-intercu.exp: Likewise.
270 * gdb.dwarf2/dw2-intermix.exp: Likewise.
271 * gdb.dwarf2/dw2-producer.exp: Likewise.
272 * gdb.dwarf2/mac-fileno.exp: Likewise.
273 * gdb.python/py-frame-args.exp: Likewise.
274 * gdb.python/py-framefilter.exp: Likewise.
275 * gdb.python/py-mi.exp: Likewise.
276 * gdb.python/py-objfile-script.exp: Likewise
277 * gdb.python/py-pp-integral.exp: Likewise.
278 * gdb.python/py-pp-re-notag.exp: Likewise.
279 * gdb.python/py-prettyprint.exp: Likewise.
280 * gdb.python/py-section-script.exp: Likewise.
281 * gdb.python/py-typeprint.exp: Likewise.
282 * gdb.python/py-xmethods.exp: Likewise.
283 * gdb.stabs/weird.exp: Likewise.
284 * gdb.xml/tdesc-regs.exp: Likewise.
286 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
288 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
289 (out_cu): Use addr_len for the size of addresses.
290 (out_line): Likewise. Size DW_LNE_set_address instruction
291 according to addr_len.
292 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
293 (FUNC): Add START_INSNS to definition.
295 2014-10-18 Yao Qi <yao@codesourcery.com>
297 * gdb.base/argv0-symlink.exp: Check argv[0] value if
298 gdb_has_argv0 return true.
299 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
300 check [target_info exists noargs], check [gdb_has_argv0]
302 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
303 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
306 2014-10-17 Doug Evans <dje@google.com>
308 * gdb.python/py-events.exp: Update expected output for clear_objfiles
310 * gdb.python/py-events.py: Add clear_objfiles event.
312 2014-10-17 Doug Evans <dje@google.com>
314 * gdb.python/py-objfile.exp: Test progspace attribute.
316 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
318 * gdb.guile/scm-breakpoint.exp: Do not assume any
319 directory separators when matching source file paths.
320 * gdb.python/py-breakpoint.exp: Likewise.
321 * gdb.reverse/break-precsave.exp: Likewise.
322 * gdb.reverse/break-reverse.exp: Likewise.
323 * gdb.reverse/consecutive-precsave.exp: Likewise.
324 * gdb.reverse/finish-precsave.exp: Likewise.
325 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
326 * gdb.reverse/finish-reverse.exp: Likewise.
327 * gdb.reverse/i386-precsave.exp: Likewise.
328 * gdb.reverse/i387-env-reverse.exp: Likewise.
329 * gdb.reverse/i387-stack-reverse.exp: Likewise.
330 * gdb.reverse/machinestate-precsave.exp: Likewise.
331 * gdb.reverse/machinestate.exp: Likewise.
332 * gdb.reverse/sigall-precsave.exp: Likewise.
333 * gdb.reverse/solib-precsave.exp: Likewise.
334 * gdb.reverse/step-precsave.exp: Likewise.
335 * gdb.reverse/until-precsave.exp: Likewise.
336 * gdb.reverse/watch-precsave.exp: Likewise.
337 * gdb.reverse/watch-reverse.exp: Likewise.
339 2014-10-17 Yao Qi <yao@codesourcery.com>
341 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
342 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
344 2014-10-17 Pedro Alves <palves@redhat.com>
347 * gdb.base/bg-execution-repeat.c: New file.
348 * gdb.base/bg-execution-repeat.exp: New file.
350 2014-10-17 Pedro Alves <palves@redhat.com>
353 * gdb.base/continue-all-already-running.c: New file.
354 * gdb.base/continue-all-already-running.exp: New file.
356 2014-10-17 Pedro Alves <palves@redhat.com>
359 * gdb.base/annota-input-while-running.c: New file.
360 * gdb.base/annota-input-while-running.exp: New file.
362 2014-10-17 Pedro Alves <palves@redhat.com>
364 * gdb.base/callfuncs.exp: emove references to osf.
365 * gdb.base/sigall.exp: Likewise.
366 * gdb.gdb/selftest.exp: Likewise.
367 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
368 * gdb.mi/non-stop.c: Likewise.
369 * gdb.mi/pthreads.c: Likewise.
370 * gdb.reverse/sigall-precsave.exp: Likewise.
371 * gdb.reverse/sigall-reverse.exp: Likewise.
372 * gdb.threads/pthreads.c: Likewise.
373 * gdb.threads/pthreads.exp: Likewise.
375 2014-10-17 Yao Qi <yao@codesourcery.com>
377 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
378 check 'target_info exists noargs'.
379 (test_command_prompt_position): Likewise.
380 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
382 (progvar_simple_while_test): Likewise.
383 (progvar_complex_if_while_test): Likewise.
384 (if_while_breakpoint_command_test): Likewise.
385 (infrun_breakpoint_command_test): Likewise.
386 (breakpoint_command_test): Likewise.
387 (watchpoint_command_test): Likewise.
388 (bp_deleted_in_command_test): Likewise.
389 (temporary_breakpoint_commands): Likewise.
391 2014-10-16 Yao Qi <yao@codesourcery.com>
393 * gdb.base/remotetimeout.exp: Remove noargs checking.
395 2014-10-15 Pedro Alves <palves@redhat.com>
398 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
399 * gdb.base/breakpoint-in-ro-region.exp
400 (probe_target_hardware_step): New procedure.
401 (top level): Probe hardware stepping and hardware breakpoint
402 support. Test stepping through a read-only region, with both
403 "breakpoint auto-hw" on and off and both "always-inserted" on and
406 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
408 * gdb.dlang/demangle.exp: Update for demangling changes.
410 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
412 * gdb.cp/non-trivial-retval.cc: Add new test cases.
413 * gdb.cp/non-trivial-retval.exp: Add new tests.
415 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
419 * gdb.cp/non-trivial-retval.cc: New file.
420 * gdb.cp/non-trivial-retval.exp: New file.
422 2014-10-15 Yao Qi <yao@codesourcery.com>
424 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
427 2014-10-15 Yao Qi <yao@codesourcery.com>
429 * gdb.python/py-symbol.exp: Match file base name if host is
430 remote, otherwise match file name with dir name.
431 * gdb.python/py-symtab.exp: Likewise.
432 * gdb.python/python.exp: Likewise.
434 2014-10-15 Yao Qi <yao@codesourcery.com>
436 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
438 * gdb.python/py-symtab.exp: Likewise.
439 * gdb.python/python.exp: Remove trailing ".*". Fix typo
442 2014-10-14 Joel Brobecker <brobecker@adacore.com>
444 * gdb.ada/addr_arith: New testcase.
446 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
448 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
449 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
450 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
451 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
453 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
455 * gdb.arch/stap-eval-lang-ada.S: Likewise.
456 * gdb.arch/stap-eval-lang-ada.c: Likewise.
457 * gdb.arch/stap-eval-lang-ada.exp: New file.
459 2014-10-14 Yao Qi <yao@codesourcery.com>
461 * gdb.mi/mi-var-child.c (nothing1): New function.
462 (nothing2): New function.
463 (do_children_tests): Set function pointers by nothing1 and
465 * gdb.mi/mi-var-child.exp: Step over new added statements.
466 Update test to match the new output.
467 * gdb.mi/var-cmd.c (nothing1): New function.
468 (nothing2): New function.
469 (do_children_tests): Set function pointers by nothing1 and
471 * gdb.mi/mi-var-display.exp: Update test to match output.
472 Step to the line specified by $line_dct_nothing.
473 Increase the number of lines to step.
475 2014-10-14 Yao Qi <yao@codesourcery.com>
477 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
479 * gdb.mi/mi2-var-child.exp: Likewise.
481 2014-10-13 Doug Evans <dje@google.com>
483 * gdb.python/py-objfile.exp: Change name of file name test.
485 2014-10-13 Doug Evans <dje@google.com>
487 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
488 from the start of the CU.
490 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
491 Yao Qi <yao@codesourcery.com>
493 Fix "save breakpoints" for "catch" command.
494 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
495 Remove -nonewline. Match also the added "main" line.
497 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
499 Fix "save breakpoints" for "disable $bpnum" command.
500 * gdb.base/save-bp.c (main): Add label.
501 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
503 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
505 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
507 2014-10-11 Yao Qi <yao@codesourcery.com>
509 * gdb.server/server-kill.exp: Execute command
510 "set remote trace-status-packet on" before "tstatus".
512 2014-10-11 Yao Qi <yao@codesourcery.com>
514 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
515 (main): Call getppid.
516 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
517 and continue to it. Read variable "server_pid".
519 2014-10-11 Yao Qi <yao@codesourcery.com>
521 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
523 2014-10-11 Yao Qi <yao@codesourcery.com>
525 * gdb.threads/thread-find.exp: Don't execute command
527 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
528 * gdb.threads/linux-dp.exp: Don't check the condition
529 $threads_created equals to zero.
531 2014-10-10 Pedro Alves <palves@redhat.com>
533 * gdb.base/bigcore.exp: Remove references to IRIX.
534 * gdb.base/funcargs.exp: Likewise.
535 * gdb.base/interrupt.exp: Likewise.
536 * gdb.base/mips_pro.exp: Likewise.
537 * gdb.base/nodebug.exp: Likewise.
538 * gdb.base/setvar.exp: Likewise.
539 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
541 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
542 Pedro Alves <palves@redhat.com>
545 * gdb.base/vdso-warning.c: New file.
546 * gdb.base/vdso-warning.exp: New file.
548 2014-10-02 Doug Evans <dje@google.com>
550 * gdb.base/structs.c (main): Don't run forever.
552 2014-10-02 Pedro Alves <palves@redhat.com>
554 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
555 (top level) <stop threads 1, stop threads 2>: Use it.
557 2014-10-02 Pedro Alves <palves@redhat.com>
559 * gdb.threads/break-while-running.exp (test): Add new
560 'update_thread_list' argument. Skip "info threads" if false.
561 (top level): Add new 'update_thread_list' axis.
563 2014-10-02 Pedro Alves <palves@redhat.com>
566 * gdb.base/execl-update-breakpoints.c: New file.
567 * gdb.base/execl-update-breakpoints.exp: New file.
569 2014-10-01 Pedro Alves <palves@redhat.com>
571 * gdb.base/breakpoint-in-ro-region.c: New file.
572 * gdb.base/breakpoint-in-ro-region.exp: New file.
574 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
576 * gdb.mi/mi-exit-code.exp: New file.
577 * gdb.mi/mi-exit-code.c: New file.
579 2014-09-30 Yao Qi <yao@codesourcery.com>
581 * lib/prelink-support.exp (build_executable_own_libs): Error if
582 the target isn't native.
584 2014-09-30 Yao Qi <yao@codesourcery.com>
586 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
589 2014-09-22 Pedro Alves <palves@redhat.com>
591 * gdb.threads/break-while-running.exp: New file.
592 * gdb.threads/break-while-running.c: New file.
594 2014-09-19 Yao Qi <yao@codesourcery.com>
596 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
597 Invoke test. Restart GDB with --readnow and invoke test again.
599 2014-09-19 Yao Qi <yao@codesourcery.com>
601 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
602 proc set_breakpoint_on_gcd_function. Invoke
603 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
604 invoke set_breakpoint_on_gcd_function again.
606 2014-09-18 Doug Evans <dje@google.com>
608 * gdb.dwarf2/symtab-producer.exp: New file.
610 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
612 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
613 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
614 * gdb.base/global-var-nested-by-dso.c: Likewise.
615 * gdb.base/global-var-nested-by-dso.exp: Likewise.
617 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
618 Pedro Alves <palves@redhat.com>
620 * gdb.base/watch-bitfields.exp: Pass string other than test file
621 name to prepare_for_testing.
622 (watch): New procedure.
623 (expect_watchpoint): Use with_test_prefix.
624 (top level): Factor out tests to ...
625 (test_watch_location, test_regular_watch): ... these new
626 procedures, and use with_test_prefix and gdb_continue_to_end.
628 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
631 * gdb.base/watch-bitfields.exp: New file.
632 * gdb.base/watch-bitfields.c: New file.
634 2014-09-16 Pedro Alves <palves@redhat.com>
636 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
637 software and hardware addresses, not software address against
640 2014-09-16 Pedro Alves <palves@redhat.com>
642 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
643 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
645 2014-09-16 Pedro Alves <palves@redhat.com>
647 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
649 * gdb.base/a2-run.exp: Remove all code guarded by istarget
650 "*-*-vxworks*" throughout.
651 * gdb.base/break.exp: Likewise.
652 * gdb.base/default.exp: Likewise.
653 * gdb.base/scope.exp: Likewise.
654 * gdb.base/sepdebug.exp: Likewise.
655 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
657 * gdb.base/run.c: Likewise.
658 * gdb.base/sepdebug.c: Likewise.
659 * gdb.hp/gdb.aCC/run.c: Likewise.
660 * gdb.reverse/until-reverse.c: Likewise.
661 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
663 2014-09-16 Yao Qi <yao@codesourcery.com>
665 * boards/local-remote-host-native.exp: New file.
667 2014-09-14 Doug Evans <xdje42@gmail.com>
669 * gdb.threads/queue-signal.c (thread_count): New variable.
670 (thread_count_mutex, thread_count_condvar): New variables.
671 (incr_thread_count, wait_all_threads_running): New functions.
672 (main): Wait for all threads to be in their thread functions.
674 2014-09-13 Doug Evans <xdje42@gmail.com>
676 * gdb.threads/queue-signal.c: New file.
677 * gdb.threads/queue-signal.exp: New file.
679 2014-09-13 Doug Evans <xdje42@gmail.com>
681 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
682 be consistent with what default_gdb_init uses.
683 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
684 the plain text of the prompt. Add some logging printfs.
685 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
687 2014-09-12 Pedro Alves <palves@redhat.com>
689 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
690 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
691 * gdb.arch/i386-size-overlap.exp: Likewise.
692 * gdb.arch/i386-size.exp: Likewise.
693 * gdb.arch/i386-unwind.exp: Likewise.
694 * gdb.base/a2-run.exp: Likewise.
695 * gdb.base/break.exp: Likewise.
696 * gdb.base/charset.exp: Likewise.
697 * gdb.base/chng-syms.exp: Likewise.
698 * gdb.base/commands.exp: Likewise.
699 * gdb.base/dbx.exp: Likewise.
700 * gdb.base/find.exp: Likewise.
701 * gdb.base/funcargs.exp: Likewise.
702 * gdb.base/jit-simple.exp: Likewise.
703 * gdb.base/reread.exp: Likewise.
704 * gdb.base/sepdebug.exp: Likewise.
705 * gdb.base/step-bt.exp: Likewise.
706 * gdb.cp/mb-inline.exp: Likewise.
707 * gdb.cp/mb-templates.exp: Likewise.
708 * gdb.objc/basicclass.exp: Likewise.
709 * gdb.threads/killed.exp: Likewise.
711 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
714 * gdb.arch/powerpc-stackless.S: New file.
715 * gdb.arch/powerpc-stackless.exp: New file.
717 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
719 * gdb.base/attach.c: Include unistd.h.
720 (main): Call alarm. Add label postloop.
721 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
722 gdb_breakpoint, gdb_continue_to_breakpoint.
723 (test_command_line_attach_run): Kill ${testpid} in one exit path.
725 2014-09-11 Pedro Alves <palves@redhat.com>
728 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
729 * gdb.base/attach.exp (test_command_line_attach_run): New
731 (top level): Call it.
733 2014-09-11 Pedro Alves <palves@redhat.com>
735 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
736 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
737 (do_command_attach_tests): Use spawn_wait_for_attach.
738 * gdb.base/solib-overlap.exp: Likewise.
739 * gdb.multi/multi-attach.exp: Likewise.
740 * gdb.python/py-prompt.exp: Likewise.
741 * gdb.python/py-sync-interp.exp: Likewise.
742 * gdb.server/ext-attach.exp: Likewise.
744 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
746 * gdb.fortran/array-element.exp: Remove unexpected "continue"
747 command in testcase. Simplify testcase.
749 2014-09-10 Joel Brobecker <brobecker@adacore.com>
751 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
753 2014-09-10 Joel Brobecker <brobecker@adacore.com>
755 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
757 2014-09-10 Joel Brobecker <brobecker@adacore.com>
759 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
761 2014-09-10 Joel Brobecker <brobecker@adacore.com>
763 * gdb.dwarf2/dynarr-ptr.c: New file.
764 * gdb.dwarf2/dynarr-ptr.exp: New file.
766 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
768 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
769 of 30 rather than hardcoding 120 for a slow test case. Take the
770 `gdb,timeout' target setting into account for this calculation.
771 Don't extend the timeout for the test cases that don't need it.
773 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
775 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
776 a factor of 2 for a slow test case. Take the `gdb,timeout'
777 target setting into account for this calculation.
778 * gdb.reverse/until-precsave.exp: Increase the timeout by
779 a factor of 15 and 3 respectively rather than adding 120
780 for a pair of slow test cases. Take the `gdb,timeout'
781 target setting into account for this calculation.
783 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
785 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
786 timeout, don't pass one down to gdb_expect.
787 (gdb_expect): Rework timeout selection.
789 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
791 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
792 exception on timeout.
793 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
794 (gdbserver_start_extended): Catch any `gdbserver_start' error
796 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
797 * lib/mi-support.exp (mi_gdb_target_load): Catch any
798 `gdbserver_gdb_load' error exceptions.
800 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
802 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
803 120 on waiting for the TCP socket to open.
805 2014-09-09 Doug Evans <xdje42@gmail.com>
807 * gdb.base/default.exp (show_conv_list): Add _caller_is,
808 _caller_matches, _any_caller_is, _any_caller_matches.
810 2014-09-09 Doug Evans <xdje42@gmail.com>
812 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
814 2014-09-09 Yao Qi <yao@codesourcery.com>
816 * gdb.mi/mi-var-display.exp: Set print symbol off.
818 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
821 * gdb.base/commands.exp: Add tests to verify user-defined
822 commands with empty bodies.
823 * gdb.python/py-cmd.exp: Test that we don't show user-defined
824 python commands in `show user command`.
825 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
826 scheme commands in `show user command`.
828 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
831 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
832 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
833 * gdb.python/py-framefilter-invalidarg.exp: New file.
834 * gdb.python/py-framefilter-invalidarg.py: New file.
836 2014-09-06 Doug Evans <xdje42@gmail.com>
839 * gdb.python/py-caller-is.c: New file.
840 * gdb.python/py-caller-is.exp: New file.
842 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
845 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
846 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
848 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
851 * gdb.fortran/print-formatted.exp: New file.
852 * gdb.fortran/print-formatted.f90: Likewise.
854 2014-09-03 Sasha Smundak <asmundak@google.com>
856 * gdb.python/py-frame.exp: Test Frame.read_register.
858 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
861 * gdb.python/py-completion.exp: New file.
862 * gdb.python/py-completion.py: Likewise.
864 2014-08-28 Doug Evans <dje@google.com>
866 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
867 eax,etc. are live with values set by gdb and thus the compiler can't
869 * gdb.arch/i386-pseudo.c (main): Ditto.
871 2014-08-27 Doug Evans <dje@google.com>
873 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
875 2014-08-25 Doug Evans <dje@google.com>
877 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
880 2014-08-25 Doug Evans <dje@google.com>
882 * gdb.threads/thread-execl.exp: #include <stdio.h>.
884 2014-08-24 Yao Qi <yao@codesourcery.com>
886 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
888 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
890 2014-08-22 Doug Evans <dje@google.com>
893 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
894 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
895 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
897 2014-08-22 Yao Qi <yao@codesourcery.com>
899 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
900 * gdb.python/py-finish-breakpoint2.exp: Likewise.
901 * gdb.python/python.exp: Likewise. Use .py file on the host
902 instead of the build.
904 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
906 * gdb.threads/gcore-stale-thread.c: New file.
907 * gdb.threads/gcore-stale-thread.exp: New file.
909 2014-08-21 Pedro Alves <palves@redhat.com>
911 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
912 * gdb.base/gcore-relro-pie.exp: Likewise.
913 * gdb.base/gcore-relro.exp: Likewise.
914 * gdb.base/gcore.exp: Likewise.
915 * gdb.base/print-symbol-loading.exp: Likewise.
916 * gdb.threads/gcore-thread.exp: Likewise.
917 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
919 2014-08-20 Pedro Alves <palves@redhat.com>
920 Jan Kratochvil <jan.kratochvil@redhat.com>
922 * Makefile.in (EXTRA_RULES, CC): New variables, get from
924 (EXPECT): Handle READ1 being set.
925 (all): Depend on EXTRA_RULES.
926 (check-read1, expect-read1, read1.so, read1): New rules.
927 * README (Testsuite Parameters): Document the READ1 make variable.
928 (Race detection): New section.
929 * configure: Regenerate.
930 * configure.ac: If build==host==target, and running under a
931 GNU/glibc system, add read1 to the extra Makefile rules.
932 (EXTRA_RULES): AC_SUBST it.
933 * lib/read1.c: New file.
935 2014-08-20 Joel Brobecker <brobecker@adacore.com>
937 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
938 the handling of variables declared as a typedef to an array
939 which a DW_AT_data_location attribute.
941 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
942 Pedro Alves <palves@redhat.com>
946 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
949 2014-08-19 Pedro Alves <palves@redhat.com>
951 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
953 2014-08-19 Yao Qi <yao@codesourcery.com>
955 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
958 2014-08-18 David Blaikie <dblaikie@gmail.com>
960 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
962 2014-08-18 Joel Brobecker <brobecker@adacore.com>
964 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
965 attribute in array range.
967 2014-08-18 Joel Brobecker <brobecker@adacore.com>
969 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
971 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
974 * gdb.cp/pr17132.cc: New file.
975 * gdb.cp/pr17132.exp: New file.
977 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
979 * gdb.python/py-xmethods.py (A_getarrayind)
980 (E_method_char_worker.__call__, E_method_int_worker.__call__):
981 Use 'print' with function call syntax.
982 (E_method_matcher.match): Fix tab vs space indentation mixup.
984 2014-08-15 Yao Qi <yao@codesourcery.com>
986 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
989 2014-08-15 Yao Qi <yao@codesourcery.com>
991 * gdb.cp/casts.exp: Set print symbol off.
992 * gdb.cp/class2.exp: Likewise.
993 * gdb.cp/overload.exp: Likewise.
994 * gdb.cp/templates.exp: Likewise.
996 2014-08-11 Doug Evans <dje@google.com>
998 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
999 (test_load_shlib): Update.
1001 2014-08-09 Yao Qi <yao@codesourcery.com>
1003 * gdb.base/display.exp: Invoke is_address_zero_readable.
1004 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
1005 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1006 * gdb.base/hbreak-unmapped.exp: Return if
1007 is_address_zero_readable returns true.
1008 * gdb.base/signest.exp: Likewise.
1009 * gdb.base/signull.exp: Likewise.
1010 * gdb.base/sigbpt.exp: Likewise.
1011 * gdb.guile/scm-disasm.exp: Do the test if
1012 is_address_zero_readable returns false.
1013 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
1014 * gdb.python/py-arch.exp: Likewise.
1015 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
1016 * lib/gdb.exp (is_address_zero_readable): New proc.
1018 2014-08-09 Yao Qi <yao@codesourcery.com>
1021 * gdb.mi/mi-var-display.exp: Make test messages unique.
1023 2014-08-04 Tom Tromey <tromey@redhat.com>
1025 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
1028 2014-08-04 Tom Tromey <tromey@redhat.com>
1030 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
1033 2014-08-01 Joel Brobecker <brobecker@adacore.com>
1035 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
1036 inner_vla_struct_object_size.
1037 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
1040 2014-07-30 Pedro Alves <palves@redhat.com>
1042 * gdb.threads/signal-command-handle-nopass.exp (test): Add
1045 2014-07-29 Yao Qi <yao@codesourcery.com>
1048 * gdb.base/until-nodebug.exp: New.
1050 2014-07-28 Doug Evans <xdje42@gmail.com>
1053 * gdb.guile/scm-parameter.exp: Add tests for trying to create
1054 previously existing parameter, and previously ambiguously spelled
1057 2014-07-28 Will Newton <will.newton@linaro.org>
1059 * gdb.base/varargs.exp: Remove KFAILs for ARM.
1061 2014-07-26 Ludovic Courtès <ludo@gnu.org>
1062 Doug Evans <xdje42@gmail.com>
1065 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
1067 2014-07-25 Pedro Alves <palves@redhat.com>
1069 * gdb.threads/signal-command-handle-nopass.c: New file.
1070 * gdb.threads/signal-command-handle-nopass.exp: New file.
1071 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
1072 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
1073 * gdb.threads/signal-delivered-right-thread.c: New file.
1074 * gdb.threads/signal-delivered-right-thread.exp: New file.
1076 2014-07-25 Pedro Alves <palves@redhat.com>
1078 * gdb.base/double-prompt-target-event-error.exp
1079 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
1081 (cancel_pagination_in_target_event): Rework double prompt
1083 * gdb.base/paginate-after-ctrl-c-running.exp
1084 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
1086 * gdb.base/paginate-bg-execution.exp
1087 (test_bg_execution_pagination_return)
1088 (test_bg_execution_pagination_cancel): Remove '-notransfer
1090 * gdb.base/paginate-execution-startup.exp
1091 (test_fg_execution_pagination_return)
1092 (test_fg_execution_pagination_cancel): Remove '-notransfer
1094 * gdb.base/paginate-inferior-exit.exp
1095 (test_paginate_inferior_exited): Remove '-notransfer <return>'
1097 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
1098 * lib/gdb.exp (pagination_prompt): Run text through
1100 (gdb_test_multiple): Match $pagination_prompt instead of
1102 (string_to_regexp): Move to lib/gdb-utils.exp.
1104 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1106 * gdb.arch/amd64-entry-value-paramref.S: New file.
1107 * gdb.arch/amd64-entry-value-paramref.cc: New file.
1108 * gdb.arch/amd64-entry-value-paramref.exp: New file.
1109 * gdb.arch/amd64-optimout-repeat.S: New file.
1110 * gdb.arch/amd64-optimout-repeat.c: New file.
1111 * gdb.arch/amd64-optimout-repeat.exp: New file.
1113 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1116 * gdb.base/statistics.exp: New file.
1118 2014-07-17 Doug Evans <dje@google.com>
1121 * gdb.base/maint.exp: Update testing of per-command stats.
1123 2014-07-16 Pedro Alves <palves@redhat.com>
1125 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
1126 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
1127 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
1128 (tfile_write_buf): New functions.
1129 (add_memory_block): Rewrite using the above.
1130 (adjust_function_address): New function.
1131 (FUNCTION_ADDRESS): New macro.
1132 (write_basic_trace_file): Remove short_x local, and use
1133 tfile_write_16. Change type of func_addr local to unsigned long
1134 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
1135 here. Cast argument of add_memory_block to char pointer.
1136 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
1137 (main): Remove parameters.
1138 * gdb.trace/tfile.exp: Remove nowarnings.
1140 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1142 * gdb.base/debug-expr.exp: Test string evaluation with
1143 "debug expression" on.
1145 2014-07-15 Pedro Alves <palves@redhat.com>
1147 * gdb.base/reread.exp: Use clean_restart.
1149 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1151 * gdb.arch/avr-flash-qualifer.c: New.
1152 * gdb.arch/avr-flash-qualifer.exp: New.
1154 2014-07-14 Pedro Alves <palves@redhat.com>
1156 * gdb.base/paginate-after-ctrl-c-running.c: New file.
1157 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1159 2014-07-14 Pedro Alves <palves@redhat.com>
1161 * gdb.base/double-prompt-target-event-error.c: New file.
1162 * gdb.base/double-prompt-target-event-error.exp: New file.
1164 2014-07-14 Pedro Alves <palves@redhat.com>
1167 * gdb.base/paginate-inferior-exit.c: New file.
1168 * gdb.base/paginate-inferior-exit.exp: New file.
1170 2014-07-14 Pedro Alves <palves@redhat.com>
1173 * gdb.base/paginate-bg-execution.c: New file.
1174 * gdb.base/paginate-bg-execution.exp: New file.
1176 2014-07-14 Pedro Alves <palves@redhat.com>
1179 * gdb.base/paginate-execution-startup.c: New file.
1180 * gdb.base/paginate-execution-startup.exp: New file.
1181 * lib/gdb.exp (pagination_prompt): New global.
1182 (default_gdb_spawn): New procedure, factored out from
1184 (default_gdb_start): Adjust to call default_gdb_spawn.
1185 (gdb_spawn): New procedure.
1187 2014-07-14 Pedro Alves <palves@redhat.com>
1189 * lib/gdb.exp (gdb_assert): New procedure.
1190 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
1192 2014-07-14 Pedro Alves <palves@redhat.com>
1194 * gdb.base/execution-termios.c: New file.
1195 * gdb.base/execution-termios.exp: New file.
1197 2014-07-14 Tom Tromey <tromey@redhat.com>
1199 * gdb.cp/vla-cxx.cc: New file.
1200 * gdb.cp/vla-cxx.exp: New file.
1202 2014-07-14 Tom Tromey <tromey@redhat.com>
1204 * gdb.reverse/rerun-prec.c: New file.
1205 * gdb.reverse/rerun-prec.exp: New file.
1207 2014-07-12 Maciej W. Rozycki <macro@mips.com>
1208 Maciej W. Rozycki <macro@codesourcery.com>
1210 * lib/gdb-utils.exp: New file.
1211 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
1212 inline `gdb_init_command' processing.
1213 (gdb_start_cmd): Likewise.
1214 * lib/mi-support.exp (mi_run_cmd): Likewise.
1215 * README: Document `gdb_init_command' and `gdb_init_commands'.
1217 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1219 Fix false FAIL running under a very long directory name.
1220 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1221 and "set print elements 10000". Twice.
1223 2014-07-11 Yao Qi <yao@codesourcery.com>
1225 * gdb.base/exprs.exp: "set print symbol off".
1227 2014-07-11 Pedro Alves <palves@redhat.com>
1229 * gdb.threads/kill.c: New file.
1230 * gdb.threads/kill.exp: New file.
1232 2014-07-10 Yao Qi <yao@codesourcery.com>
1234 * gdb.trace/tfile.c (write_basic_trace_file)
1235 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1236 address written to trace file.
1238 2014-07-09 Pedro Alves <palves@redhat.com>
1240 * gdb.base/attach-wait-input.exp: New file.
1241 * gdb.base/attach-wait-input.c: New file.
1243 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1245 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1246 setting up test structures.
1247 (main): Call new test function.
1248 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1249 test function, continue into test function and walk test
1252 2014-07-02 Yao Qi <yao@codesourcery.com>
1254 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1255 'bar_start' at the beginning of functions 'foo' and 'bar'
1257 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1258 instead of 'foo' and 'bar'.
1260 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1262 * gdb.btrace/segv.exp: New.
1263 * gdb.btrace/segv.c: New.
1265 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
1267 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1270 2014-06-30 Mark Wielaard <mjw@redhat.com>
1272 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1273 vulture, vilify, villar): New volatile array constants.
1274 (vindictive, vegetation): New const volatile array constants.
1275 * gdb.base/volatile.exp: Test volatile and const volatile array
1278 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1280 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1281 target lacks support for awatch, rwatch, or hbreak.
1283 2014-06-27 Yao Qi <yao@codesourcery.com>
1285 * gdb.multi/dummy-frame-restore.exp: New.
1286 * gdb.multi/dummy-frame-restore.c: New.
1288 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1290 * gdb.btrace/gcore.exp: New.
1292 2014-06-23 Pedro Alves <palves@redhat.com>
1294 * gdb.base/watchpoint-reuse-slot.c: New file.
1295 * gdb.base/watchpoint-reuse-slot.exp: New file.
1297 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1299 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1300 progspace's filename in 'info', 'enable' and 'disable' command
1303 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1305 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1306 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1307 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1309 2014-06-20 Gary Benson <gbenson@redhat.com>
1311 * gdb.arch/i386-avx.exp: Fix include file location.
1312 * gdb.arch/i386-sse.exp: Likewise.
1314 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1316 * gdb.dlang/expression.exp: New file.
1318 2014-06-19 Pedro Alves <palves@redhat.com>
1320 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1322 (top level): ... here. Iterate running tests under different
1323 scheduler-locking settings.
1325 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
1327 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1328 to DW_FORM_addr and use non-zero addresses.
1330 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1333 * gdb.python/py-xmethods.cc: Add global function call counters and
1334 increment them in their respective functions. Remove "cout"
1336 * gdb.python/py-xmethods.exp: Make tests check the global function
1337 call counters instead of depending on inferior IO.
1339 2014-06-18 Don Breazeal <donb@codesourcery.com>
1341 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1343 (explicit_fork_parent_follow): Deleted procedure.
1344 (explicit_fork_child_follow): Deleted procedure.
1345 (test_follow_fork): New procedure.
1346 (do_fork_tests): Replace calls to deleted procedures with
1347 calls to test_follow_fork and reset GDB for subsequent
1350 2014-06-17 Yao Qi <yao@codesourcery.com>
1352 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1355 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
1357 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1358 Initialize ptr and S explicitly.
1359 (skip_type_update_when_not_use_rtti_test): Likewise.
1361 2014-06-16 Keith Seitz <keiths@redhat.com>
1364 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1365 the inferior is started.
1367 2014-06-16 Pedro Alves <palves@redhat.com>
1369 * gdb.base/break-main-file-remove-fail.c: New file.
1370 * gdb.base/break-main-file-remove-fail.exp: New file.
1371 * gdb.base/break-unload-file.exp: Use build_executable instead of
1372 prepare_for_testing.
1373 (test_break): New parameter "initial_load". Handle it.
1374 (top level): Add initial_load cmdline/file axis.
1376 2014-06-12 Tom Tromey <tromey@redhat.com>
1378 * gdb.base/completion.exp: Don't use directory name in test.
1380 2014-06-09 Gary Benson <gbenson@redhat.com>
1382 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1383 separate the always-available ANSI-standard signals from the
1384 signals that require checking.
1386 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1390 2014-06-07 Keith Seitz <keiths@redhat.com>
1394 * gdb.cp/var-tag.cc: New file.
1395 * gdb.cp/var-tag.exp: New file.
1396 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1397 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1398 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1399 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1401 2014-06-06 Doug Evans <xdje42@gmail.com>
1403 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1405 2014-06-06 Pedro Alves <palves@redhat.com>
1407 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1408 in target debug output instead of looking at RSP packets,
1409 disabling the test on any target that uses hardware stepping.
1412 2014-06-06 Pedro Alves <palves@redhat.com>
1414 * gdb.base/break-unload-file.exp: Fix typo.
1416 2014-06-06 Yao Qi <yao@codesourcery.com>
1418 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1419 from "jit_function" to "^jit_function".
1421 2014-06-06 Yao Qi <yao@codesourcery.com>
1423 * gdb.base/async.c (foo): Add one statement.
1424 * gdb.base/async.exp: Get the next instruction address and
1425 match the output of "nexti" by instruction address. Match
1426 the hex address in the output of "finish".
1428 2014-06-06 Gary Benson <gbenson@redhat.com>
1430 * gdb.base/call-signals.c: Remove preprocessor conditionals
1431 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1432 SIGSEGV and SIGTERM.
1433 * gdb.base/sigall.c: Likewise.
1434 * gdb.base/unwindonsignal.c: Likewise.
1435 * gdb.reverse/sigall-reverse.c: Likewise.
1437 2014-06-06 Yao Qi <yao@codesourcery.com>
1439 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1440 readable, skip the test.
1442 2014-06-06 Yao Qi <yao@codesourcery.com>
1444 * gdb.threads/staticthreads.c (thread_function): Move the line
1445 setting breakpoint on forward.
1446 * gdb.threads/staticthreads.exp: Update comments.
1448 2014-06-05 Ludovic Courtès <ludo@gnu.org>
1450 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1451 "history-append! type error".
1453 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1455 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1456 erroneous dprintf expected input.
1458 2014-06-04 Doug Evans <xdje42@gmail.com>
1460 * gdb.guile/scm-generics.exp: Delete.
1462 2014-06-04 Doug Evans <xdje42@gmail.com>
1464 * gdb.guile/scm-breakpoint.exp: Update.
1465 Add tests for breakpoint registration.
1467 2014-06-04 Tom Tromey <tromey@redhat.com>
1469 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1471 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1472 inner_vla_struct, vla_union types. Initialize objects of those
1473 types and compute their sizes.
1475 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1476 Hui Zhu <hui@codesourcery.com>
1478 * gdb.base/fileio.exp: Add test for shell not available as well as
1480 * gdb.base/fileio.c (test_system): Check for shell twice.
1482 2014-06-04 Yao Qi <yao@codesourcery.com>
1484 * gdb.base/auto-connect-native-target.exp: Remove redundant
1485 space from the regexp pattern.
1487 2014-06-04 Yao Qi <yao@codesourcery.com>
1489 * gdb.base/default.exp: Replace "child" with "native" in
1492 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1494 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1495 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1496 * gdb.python/py-xmethods.py: Python script supporting the
1497 new testcase and tests.
1499 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1500 Pedro Alves <palves@redhat.com>
1502 PR breakpoints/17000
1503 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1504 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1506 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1508 * gdb.base/subst.exp: Add tests to verify partial path matching
1511 2014-06-03 Pedro Alves <palves@redhat.com>
1513 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1514 target that doesn't use software single-stepping.
1516 2014-06-03 Pedro Alves <palves@redhat.com>
1518 PR breakpoints/17000
1519 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1520 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1522 2014-06-02 Doug Evans <xdje42@gmail.com>
1524 * gdb.guile/scm-parameter.exp: New file.
1526 2014-06-02 Doug Evans <xdje42@gmail.com>
1528 * gdb.guile/scm-cmd.c: New file.
1529 * gdb.guile/scm-cmd.exp: New file.
1531 2014-06-02 Doug Evans <xdje42@gmail.com>
1533 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1534 pretty-printer lookup.
1535 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1536 (make-pp_s-printer): Call it.
1537 (make-pretty-printer-from-dict): New function.
1538 (lookup-pretty-printer-maker-from-dict): New function.
1539 (*pretty-printer*): Simplify.
1540 (make-objfile-pp_s-printer): New function.
1541 (install-objfile-pretty-printers!): New function.
1542 (make-progspace-pp_s-printer): New function.
1543 (install-progspace-pretty-printers!): New function.
1544 * gdb.guile/scm-progspace.c: New file.
1545 * gdb.guile/scm-progspace.exp: New file.
1547 2014-06-02 Pedro Alves <palves@redhat.com>
1549 * gdb.base/dprintf-bp-same-addr.c: New file.
1550 * gdb.base/dprintf-bp-same-addr.exp: New file.
1552 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1554 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1555 * gdb.arch/powerpc-power.s: Likewise.
1557 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1559 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1561 2014-06-01 Yao Qi <yao@codesourcery.com>
1563 * gdb.base/watchpoint.exp (test_watch_location): Check null
1564 pointer can be dereferenced. If not, do the test, otherwise
1567 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1569 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1571 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1573 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1575 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1576 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1577 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1578 * gdb.arch/amd64-invalid-stack-top.c: New file.
1579 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1581 2014-05-30 Pedro Alves <palves@redhat.com>
1583 PR breakpoints/17000
1584 * gdb.base/sss-bp-on-user-bp.c: New file.
1585 * gdb.base/sss-bp-on-user-bp.exp: New file.
1587 2014-05-30 David Blaikie <dblaikie@gmail.com>
1589 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1590 gnu_inline semantics via attribute.
1591 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1592 source explicitly specifies the required semantics.
1594 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1596 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1598 2014-05-29 Pedro Alves <palves@redhat.com>
1599 Tom Tromey <tromey@redhat.com>
1601 * gdb.base/async-shell.exp: Don't enable target-async.
1602 * gdb.base/async.exp
1603 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1605 (top level): Don't test with "target-async".
1606 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1607 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1608 * gdb.base/inferior-died.exp: Don't enable target-async.
1609 * gdb.base/interrupt-noterm.exp: Likewise.
1610 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1611 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1612 * gdb.mi/mi-nonstop.exp: Likewise.
1613 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1614 * gdb.mi/mi-nsintrall.exp: Likewise.
1615 * gdb.mi/mi-nsmoribund.exp: Likewise.
1616 * gdb.mi/mi-nsthrexec.exp: Likewise.
1617 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1618 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1619 * gdb.python/py-evsignal.exp: Don't enable target-async.
1620 * gdb.python/py-evthreads.exp: Likewise.
1621 * gdb.python/py-prompt.exp: Likewise.
1622 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1623 * gdb.server/solib-list.exp: Don't enable target-async.
1624 * gdb.threads/thread-specific-bp.exp: Likewise.
1625 * lib/mi-support.exp: Adjust to use mi-async.
1627 2014-05-29 Pedro Alves <palves@redhat.com>
1630 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1631 reason, even in sync mode.
1633 2014-05-29 Pedro Alves <palves@redhat.com>
1634 Hui Zhu <hui@codesourcery.com>
1637 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1638 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1639 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1640 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1642 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1644 * config/monitor.exp (gdb_target_monitor): Replace use of
1645 "set remotebaud" by "set serial baud".
1647 2014-05-26 Andy Wingo <wingo@igalia.com>
1649 * gdb.guile/scm-breakpoint.exp:
1650 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1651 properties instead of gdb-object-properties.
1653 2014-05-26 Yao Qi <yao@codesourcery.com>
1655 * gdb.server/no-thread-db.exp: Specify source file name
1656 explicitly when setting a breakpoint.
1658 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1660 * gdb.btrace/vdso.c: New.
1661 * gdb.btrace/vdso.exp: New.
1663 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1665 * gdb.base/gcore.exp (capture_command_output): Move ...
1666 * lib/gdb.exp (capture_command_output): ... here.
1668 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1670 * gdb.btrace/data.exp: Test memory access during btrace replay.
1672 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1674 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1676 2014-05-21 Pedro Alves <palves@redhat.com>
1679 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1680 (top level): Test that output related to execution commands is
1681 sent to the console with CLI commands, but not with MI commands.
1682 Test that breakpoint events are always mirrored to the console.
1683 Also expect the new source line to be output after a "next" in
1684 async mode too. Make it a pass/fail test.
1685 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1687 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1689 2014-05-21 Pedro Alves <palves@redhat.com>
1691 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1692 Use them to test variations of "list" after reaching a breakpoint.
1693 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1694 Test "list" with listsize 10 after reaching a breakpoint.
1695 * gdb.python/python.exp (decode_line current location line
1696 number): Adjust expected line number.
1698 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1700 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1701 behavior for $args, pass it directly to "run".
1703 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1705 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1708 2014-05-21 Pedro Alves <palves@redhat.com>
1710 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1711 auto-connect-native-target off".
1712 * gdb.base/auto-connect-native-target.c: New file.
1713 * gdb.base/auto-connect-native-target.exp: New file.
1715 2014-05-21 Pedro Alves <palves@redhat.com>
1717 * gdb.base/default.exp: Test "target native" instead of "target
1720 2014-05-21 Mark Wielaard <mjw@redhat.com>
1722 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1724 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1726 Fix TLS access for -static -pthread.
1727 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1728 <HAVE_TLS> (thread_function, main): Initialize it.
1729 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1731 <$have_tls != "">: Check TLSVAR.
1733 2014-05-21 Pedro Alves <palves@redhat.com>
1735 * gdb.base/dcache-line-read-error.c: New.
1736 * gdb.base/dcache-line-read-error.exp: New.
1738 2014-05-20 Pedro Alves <palves@redhat.com>
1740 * gdb.base/compare-sections.c: New file.
1741 * gdb.base/compare-sections.exp: New file.
1743 2014-05-20 Pedro Alves <palves@redhat.com>
1745 * gdb.base/break-idempotent.c: New file.
1746 * gdb.base/break-idempotent.exp: New file.
1748 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1750 * gdb.btrace/nohist.exp: New.
1752 2014-05-20 Yao Qi <yao@codesourcery.com>
1754 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1755 gdb.reverse directory and gdb_reverse_timeout exists in board
1757 * README: Document gdb_reverse_timeout.
1759 2014-05-20 Yao Qi <yao@codesourcery.com>
1761 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1762 'test_file_name'. Treat args as a string instead of a list.
1763 (gdb_init): Rename argument 'args' by 'test_file_name'.
1765 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1767 * gdb.arch/powerpc-power.exp: New file.
1768 * gdb.arch/powerpc-power.s: New file.
1770 2014-05-16 Doug Evans <dje@google.com>
1772 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
1773 * gdb.base/completion.exp: Check that all expected files exist
1774 before doing file completion.
1776 2014-05-16 Doug Evans <dje@google.com>
1778 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1780 (do_syscall_tests_without_xml): Update.
1782 2014-05-16 Pedro Alves <palves@redhat.com>
1784 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1785 instead of "unknown output after running".
1787 2014-05-16 Yao Qi <yao@codesourcery.com>
1789 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1790 file1.txt from host at the end.
1791 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1793 2014-05-15 Doug Evans <dje@google.com>
1795 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1796 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1797 loading file. Add test for TU lookup.
1799 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1801 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1802 calling "-exec-arguments" or "set args" before running the
1805 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1807 * lib/mi-support.exp (mi_expect_stop): Expect message for
1808 inferiors that exit with non-zero exit code.
1810 2014-05-14 Yao Qi <yao@codesourcery.com>
1812 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1813 match absolute path on remote host.
1814 (test_file_list_exec_source_files): Remove "/" from the
1817 2014-05-14 Yao Qi <yao@codesourcery.com>
1819 * boards/local-remote-host-notty.exp (${board}_file): New
1822 2014-05-07 Kyle McMartin <kyle@redhat.com>
1824 Pushed by Joel Brobecker <brobecker@adacore.com>.
1825 * gdb.arch/aarch64-atomic-inst.c: New file.
1826 * gdb.arch/aarch64-atomic-inst.exp: New file.
1828 2014-05-07 Yao Qi <yao@codesourcery.com>
1830 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1831 in current context" too.
1833 2014-05-05 Keith Seitz <keiths@redhat.com>
1835 * gdb.linespec/ls-dollar.exp: Add test for linespec
1836 file:convenience_variable.
1838 2014-05-05 Yao Qi <yao@codesourcery.com>
1840 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
1841 traceframes into tfile and ctf trace files. Read data from
1842 trace file and test collected data.
1843 (gdb_collect_locals_test): Likewise.
1844 (gdb_unavailable_registers_test): Likewise.
1845 (gdb_unavailable_floats): Likewise.
1846 (gdb_collect_globals_test): Likewise.
1847 (top-level): Append "ctf" to trace_file_targets if GDB
1850 2014-05-05 Yao Qi <yao@codesourcery.com>
1852 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
1854 (gdb_collect_args_test_1): ... it. New proc.
1855 (gdb_collect_locals_test): Move some code to ...
1856 (gdb_collect_locals_test_1): ... it. New proc.
1857 (gdb_unavailable_registers_test): Move some code to ...
1858 (gdb_unavailable_registers_test_1): ... it. New proc.
1859 (gdb_unavailable_floats): Move some code to ...
1860 (gdb_unavailable_floats_1): ... it. New proc.
1862 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1864 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
1865 probes to test for bitness recognition.
1866 * gdb.arch/amd64-stap-optional-prefix.exp
1867 (test_probe_value_without_reg): New procedure.
1868 Add code to test for different kinds of bitness.
1870 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1872 PR breakpoints/16889
1873 * gdb.arch/amd64-stap-optional-prefix.S: New file.
1874 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1876 2014-05-01 Pedro Alves <palves@redhat.com>
1878 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
1879 gdb_file_cmd if no file is specified.
1880 * boards/native-extended-gdbserver.exp (gdb_load): Use the
1881 last_loaded_file to set the remote exec-file.
1883 2014-05-01 Pedro Alves <palves@redhat.com>
1885 * boards/local-remote-host.exp: New file.
1887 2014-05-01 Pedro Alves <palves@redhat.com>
1889 * boards/local-remote-host.exp: Rename to ...
1890 * boards/local-remote-host-notty.exp: ... this.
1892 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1894 * gdb.ada/dyn_arrayidx: New testcase.
1896 2014-04-26 Yao Qi <yao@codesourcery.com>
1898 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
1899 and compute the length of function main. Save it in
1901 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
1902 (top-level): Use gdb_compile to compile objects into
1903 executable and restart GDB. Remove invocation to
1904 prepare_for_testing.
1906 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
1907 Pedro Alves <palves@redhat.com>
1910 * gdb.multi/multi-attach.c: New file.
1911 * gdb.multi/multi-attach.exp: New file.
1913 2014-04-25 Pedro Alves <palves@redhat.com>
1915 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
1917 (top level): Test that "set remote conditional-breakpoints-packet
1918 off" works as intended.
1919 * gdb.base/dprintf.exp: Test that "set remote
1920 breakpoint-commands-packet off" works as intended.
1921 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
1923 (top level): Call it.
1924 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
1925 remote fast-tracepoints-packet off" works as intended.
1926 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
1927 * lib/gdb.exp (gdb_is_target_remote): ... here.
1929 2014-04-24 David Blaikie <dblaikie@gmail.com>
1931 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
1932 ensure clang would not discard them.
1933 * gdb.base/gdbvars.c: Ditto.
1934 * gdb.base/memattr.c: Ditto.
1935 * gdb.base/whatis.c: Ditto.
1936 * gdb.python/py-prettyprint.c: Ditto.
1937 * gdb.trace/actions.c: Ditto.
1938 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
1939 ensure clang would not discard it.
1941 2014-04-24 David Blaikie <dblaikie@gmail.com>
1943 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1944 clang to emit the full definition of type required by the test
1945 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1947 2014-04-24 David Blaikie <dblaikie@gmail.com>
1949 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1950 coax Clang into emitting the definition of the type.
1951 * gdb.cp/pr10728-x.h (y): Ditto.
1952 * gdb.cp/pr10728-y.cc (y): Ditto.
1954 2014-04-24 David Blaikie <dblaikie@gmail.com>
1956 * gdb.base/label.exp: XFAIL label related tests under Clang.
1957 * gdb.cp/cplabel.exp: Ditto.
1958 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
1959 under Clang those using labels.
1961 2014-04-25 Yao Qi <yao@codesourcery.com>
1963 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
1965 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
1966 partial_label and double_label.
1968 2014-04-24 David Blaikie <dblaikie@gmail.com>
1970 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
1972 2014-04-24 David Blaikie <dblaikie@gmail.com>
1974 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
1975 of the function to work across GCC and Clang.
1976 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
1977 pointer types (const void ** const V void **).
1979 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
1980 Walfred Tedeschi <walfred.tedeschi@intel.com>
1982 * Makefile.in (EXECUTABLES): Added i386-avx512.
1983 * gdb.arch/i386-avx512.c: New file.
1984 * gdb.arch/i386-avx512.exp: Likewise.
1986 2014-04-23 Keith Seitz <keiths@redhat.com>
1988 * lib/mi-support.exp (mi_list_breakpoints): Delete.
1989 (mi_make_breakpoint_table): New procedure.
1990 (mi_create_breakpoint): Use mi_make_breakpoint
1991 and return the result.
1992 (mi_make_breakpoint): New procedure.
1993 (mi_build_kv_pairs): New procedure.
1995 * gdb.mi/mi-break.exp: Remove unused globals,
1996 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
1997 All callers updated.
1998 * gdb.mi/mi-dprintf.exp: Use variable to track command
2000 Update all callers of mi_create_breakpoint and use
2001 mi_make_breakpoint_table.
2002 Remove any unused global variables.
2003 * gdb.mi/mi-nonstop.exp: Likewise.
2004 * gdb.mi/mi-nsintrall.exp: Likewise.
2005 * gdb.mi/mi-nsmoribund.exp: Likewise.
2006 * gdb.mi/mi-nsthrexec.exp: Likewise.
2007 * gdb.mi/mi-reverse.exp: Likewise.
2008 * gdb.mi/mi-simplerun.exp: Likewise.
2009 * gdb.mi/mi-stepn.exp: Likewise.
2010 * gdb.mi/mi-syn-frame.exp: Likewise.
2011 * gdb.mi/mi-until.exp: Likewise.
2012 * gdb.mi/mi-var-cp.exp: Likewise.
2013 * gdb.mi/mi-var-display.exp: Likewise.
2014 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2015 * gdb.mi/mi2-var-child.exp: Likewise.
2016 * gdb.mi/mi-vla-c99.exp: Likewise.
2017 * lib/mi-support.exp: Likewise.
2019 From Ian Lance Taylor <iant@cygnus.com>:
2020 * lib/gdb.exp (parse_args): New procedure.
2022 2014-04-23 Pedro Alves <palves@redhat.com>
2024 * gdb.base/break-unload-file.c: New file.
2025 * gdb.base/break-unload-file.exp: New file.
2026 * gdb.base/sym-file-lib.c (baz): New function.
2027 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
2029 (load): Store the segment's mapped size.
2030 (unload): New function.
2031 (unload_shlib): New function.
2032 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
2033 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
2034 set a breakpoint at baz, and call it.
2035 * gdb.base/sym-file.exp: New tests for stale breakpoint
2038 2014-04-23 Pedro Alves <palves@redhat.com>
2040 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
2041 * gdb.base/hbreak-in-shr-unsupported.c: New file.
2042 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
2043 * gdb.base/hbreak-unmapped.c: New file.
2044 * gdb.base/hbreak-unmapped.exp: New file.
2045 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
2046 * lib/gdb.exp (gdb_is_target_remote): ... here.
2048 2014-04-22 Pedro Alves <palves@redhat.com>
2050 * gdb.base/consecutive-step-over.c: New file.
2051 * gdb.base/consecutive-step-over.exp: New file.
2053 2014-04-22 Pedro Alves <palves@redhat.com>
2055 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
2056 instead of send_gdb/gdb_expect.
2058 2014-04-22 Yao Qi <yao@codesourcery.com>
2060 * lib/trace-support.exp (generate_tracefile): New procedure.
2061 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
2063 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
2064 if generate_tracefile returns 1.
2066 2014-04-18 Tom Tromey <palves@redhat.com>
2067 Pedro alves <tromey@redhat.com>
2070 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
2071 with a backtrace limit.
2072 * gdb.python/py-frame-inline.exp: Test running to an inline
2073 function with a backtrace limit, and printing the newest frame.
2074 * gdb.python/py-frame-inline.c (main): Call f.
2076 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2078 * gdb.java/jnpe.exp: Drop srcdir from untested path.
2080 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2082 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
2083 Drop prefix from unsupported source file path.
2085 2014-04-17 Yao Qi <yao@codesourcery.com>
2087 * lib/gdb.exp (with_target_charset): New proc.
2088 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
2089 with_target_charset.
2090 (test_print_strings): Likewise.
2091 (test_repeat_bytes): Likewise.
2092 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
2095 2014-04-16 Keith Seitz <keiths@redhat.com>
2098 * gdb.dwarf2/corrupt.c: New file.
2099 * gdb.dwarf2/corrupt.exp: New file.
2101 2014-04-16 Keith Seitz <keiths@redhat.com>
2104 * gdb.cp/namelessclass.cc: New file.
2105 * gdb.cp/namelessclass.exp: New file.
2106 * gdb.cp/namelessclass.S: New file.
2108 2014-04-16 Doug Evans <dje@google.com>
2110 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
2112 (gdbserver_default_get_comm_port): New function.
2113 (gdbserver_start): Check if board file provided
2114 "gdbserver,get_comm_port" and use it if so.
2115 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
2116 (gdb,socketport): Set to "stdio".
2117 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
2118 (stdio_gdbserver_template): Delete.
2119 (${board}_get_remote_address): Update.
2120 (${board}_build_remote_cmd): Delete.
2121 (${board}_get_comm_port): New function.
2122 (${board}_spawn): Update.
2123 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
2125 (${board}_get_remote_address): Update.
2126 (${board}_get_comm_port): New function.
2128 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
2130 * gdb.base/memattr.exp: Improve regexps to handle memory regions
2131 appearing in any order.
2133 2014-04-15 Doug Evans <dje@google.com>
2135 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
2136 uninitialized value of "description".
2138 2014-04-15 Keith Seitz <keiths@redhat.com>
2140 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
2141 Remove unused globals.
2142 (test_running_the_program): Likewise.
2143 (test_controlled_execution): Likewise.
2144 (test_controlling_breakpoints): Likewise.
2145 (test_program_termination): Likewise.
2147 2014-04-15 Keith Seitz <keiths@redhat.com>
2149 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
2151 (test_rbreak_creation_and_listing): Likewise.
2152 (test_ignore_count): Likewise.
2153 (test_error): Likewise.
2155 2014-04-15 Pedro Alves <palves@redhat.com>
2157 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2158 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2160 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2161 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2162 to sym-file-loader.c.
2163 (struct library): Forward declare.
2164 (load_shlib, lookup_function): Change prototypes.
2165 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2166 (translate_offset): Remove declarations.
2167 (get_text_addr): New declaration.
2168 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2169 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2171 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2172 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2173 here from sym-file-loader.h.
2174 (struct library): New structure.
2175 (load_shlib, lookup_function): Change prototypes and adjust to
2176 work with a struct library.
2177 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2178 (translate_offset): Make static.
2179 (get_text_addr): New function.
2180 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
2182 2014-04-15 Pedro Alves <palves@redhat.com>
2184 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
2186 2014-04-15 Pedro Alves <palves@redhat.com>
2188 * gdb.base/sym-file-loader.c: Include <limits.h>.
2189 (SELF_LINK): New define.
2190 (get_origin): New function.
2191 (load_shlib): Use it.
2192 * gdb.base/sym-file.exp: Don't early return if the target is
2193 remote. Use runto_main, and issue fail is that fails. Use
2195 (shlib_name): Delete.
2196 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
2198 2014-04-15 Pedro Alves <palves@redhat.com>
2200 * gdb.base/sym-file.exp: Remove regex characters from test
2201 message. Don't refer to breakpoint numbers in test messages.
2203 2014-04-14 Keith Seitz <keiths@redhat.com>
2206 * gdb.cp/var-tag.cc: New file.
2207 * gdb.cp/var-tag.exp: New file.
2208 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2209 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2210 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2211 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2213 2014-04-14 Tom Tromey <tromey@redhat.com>
2215 * gdb.cp/classes.exp (test_enums): Handle underlying type.
2216 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
2218 * gdb.cp/enum-class.exp: New file.
2219 * gdb.cp/enum-class.cc: New file.
2221 2014-04-14 Tom Tromey <tromey@redhat.com>
2223 * gdb.dwarf2/enum-type.exp: New file.
2225 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2227 * gdb.mi/mi-vla-c99.exp: New file.
2228 * gdb.mi/vla.c: New file.
2230 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2232 * gdb.base/vla-datatypes.c: New file.
2233 * gdb.base/vla-datatypes.exp: New file.
2235 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2237 * gdb.base/vla-ptr.c: New file.
2238 * gdb.base/vla-ptr.exp: New file.
2240 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2242 * gdb.dwarf2/count.exp: New file.
2244 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2246 * gdb.base/vla-sideeffect.c: New file.
2247 * gdb.base/vla-sideeffect.exp: New file.
2249 2014-04-14 David Blaikie <dblaikie@gmail.com>
2251 * gdb.mi/non-stop.c: Add return value for non-void function return
2253 * gdb.threads/staticthreads.c: Ditto.
2255 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2256 Doug Evans <xdje42@gmail.com>
2258 * gdb.guile/scm-value.c: Improve test case.
2259 * gdb.guile/scm-value.exp: Add new test.
2261 2014-04-11 David Blaikie <dblaikie@gmail.com>
2263 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2264 override Clang's default.
2266 2014-04-11 Joel Brobecker <brobecker@adacore.com>
2268 Revert the following changes (regressions):
2270 * gdb.base/vla-sideeffect.c: New file.
2271 * gdb.base/vla-sideeffect.exp: New file.
2273 * gdb.dwarf2/count.exp: New file.
2275 * gdb.base/vla-multi.c: New file.
2276 * gdb.base/vla-multi.exp: New file.
2278 * gdb.base/vla-ptr.c: New file.
2279 * gdb.base/vla-ptr.exp: New file.
2281 * gdb.base/vla-datatypes.c: New file.
2282 * gdb.base/vla-datatypes.exp: New file.
2284 * gdb.mi/mi-vla-c99.exp: New file.
2285 * gdb.mi/vla.c: New file.
2287 2014-04-11 Keith Seitz <keiths@redhat.com>
2290 * gdb.cp/cpsizeof.exp: New file.
2291 * gdb.cp/cpsizeof.cc: New file.
2293 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2295 * gdb.mi/mi-vla-c99.exp: New file.
2296 * gdb.mi/vla.c: New file.
2298 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2300 * gdb.base/vla-datatypes.c: New file.
2301 * gdb.base/vla-datatypes.exp: New file.
2303 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2305 * gdb.base/vla-ptr.c: New file.
2306 * gdb.base/vla-ptr.exp: New file.
2308 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2310 * gdb.base/vla-multi.c: New file.
2311 * gdb.base/vla-multi.exp: New file.
2313 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2315 * gdb.dwarf2/count.exp: New file.
2317 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2319 * gdb.base/vla-sideeffect.c: New file.
2320 * gdb.base/vla-sideeffect.exp: New file.
2322 2014-04-11 Yao Qi <yao@codesourcery.com>
2324 * gdb.base/completion.exp: Check file exists before running tests
2327 2014-04-10 Pedro Alves <palves@redhat.com>
2329 * gdb.base/cond-eval-mode.c: New file.
2330 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2331 prepare_for_testing to build the new file. Check result of
2333 (test_break, test_watch): New procedures.
2334 (top level): Use them.
2336 2014-04-08 Pierre Muller <muller@sourceware.org>
2338 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2339 Ctrl-V use for mingw hosts.
2341 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2343 * gdb.python/py-value.c: Improve test case.
2344 * gdb.python/py-value.exp: Add new test.
2346 2014-04-07 David Blaikie <dblaikie@gmail.com>
2348 * lib/compiler.c: Identify the clang compiler.
2349 * lib/compiler.cc: Ditto.
2351 2014-04-03 Yao Qi <yao@codesourcery.com>
2353 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2355 2014-04-01 Anton Blanchard <anton@samba.org>
2357 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2360 2014-04-01 Anton Blanchard <anton@samba.org>
2362 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2363 prepare_for_testing.
2365 2014-04-01 Anton Blanchard <anton@samba.org>
2367 * gdb.arch/ppc64-atomic-inst.c: Remove.
2368 * gdb.arch/ppc64-atomic-inst.S: New file.
2369 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2371 2014-03-31 Doug Evans <dje@google.com>
2373 * gdb.base/print-symbol-loading-lib.c: New file.
2374 * gdb.base/print-symbol-loading-main.c: New file.
2375 * gdb.base/print-symbol-loading.exp: New file.
2377 2014-03-31 Yao Qi <yao@codesourcery.com>
2379 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2381 2014-03-28 Joel Brobecker <brobecker@adacore.com>
2383 * gdb.ada/mi_dyn_arr: New testcase.
2385 2014-03-27 Doug Evans <dje@google.com>
2387 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2389 2014-03-27 Yao Qi <yao@codesourcery.com>
2391 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2392 if target is nios2-*-*.
2394 2014-03-26 Yao Qi <yao@codesourcery.com>
2396 * lib/gdb.exp (readline_is_used): New proc.
2397 * gdb.base/completion.exp: Move tests on command complete up.
2398 Skip the rest of tests if readline is not used.
2399 * gdb.ada/complete.exp: Skp the test if readline is not
2401 * gdb.base/filesym.exp: Likewise.
2402 * gdb.base/macscp.exp: Likewise.
2403 * gdb.base/readline-ask.exp: Likewise.
2404 * gdb.base/readline.exp: Likewise.
2405 * gdb.python/py-cmd.exp: Likewise.
2406 * gdb.trace/tfile.exp: Likewise.
2408 2014-03-26 Yao Qi <yao@codesourcery.com>
2410 * gdb.base/macscp.exp: Fix code format issues.
2412 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2414 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2415 * gdb.asm/powerpc64le.inc: New file.
2417 2014-03-25 Pedro Alves <palves@redhat.com>
2418 Doug Evans <dje@google.com>
2420 * gdb.base/source-execution.c: New file.
2421 * gdb.base/source-execution.exp: New file.
2422 * gdb.base/source-execution.gdb: New file.
2424 2014-03-24 Doug Evans <dje@google.com>
2426 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2429 2014-03-24 Hui Zhu <hui@codesourcery.com>
2430 Pedro Alves <palves@redhat.com>
2432 PR breakpoints/16101
2433 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2434 test pass/fail messages. Detect missing support for dprintf when
2435 breakpoints are actually inserted.
2436 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2437 breakpoints are actually inserted.
2438 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2441 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2443 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2445 2014-03-22 Doug Evans <xdje42@gmail.com>
2447 * gdb.python/python.exp (python not supported): Verify multi-line
2448 python command issues an error.
2449 * gdb.guile/guile.exp (guile not supported): Verify multi-line
2450 guile command issues an error.
2452 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2454 * gdb.threads/thread-specific.exp: Handle the lack of usable
2455 $this_breakpoint and $this_thread.
2457 2014-03-21 Hui Zhu <hui@codesourcery.com>
2459 * gdb.base/attach.exp (do_command_attach_tests): New.
2461 2014-03-20 Tom Tromey <tromey@redhat.com>
2462 Pedro Alves <palves@redhat.com>
2465 * gdb.base/condbreak-call-false.c: New file.
2466 * gdb.base/condbreak-call-false.exp: New file.
2468 2014-03-20 Pedro Alves <palves@redhat.com>
2470 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2472 (block_signals, unblock_signals): Delete.
2473 (child_function_2, main): Remove references to deleted variable
2476 2014-03-20 Pedro Alves <palves@redhat.com>
2478 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2479 Use pthread_kill to signal thread 2.
2480 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2481 Adjust to make the test send itself a signal rather than using the
2482 host's "kill" command.
2484 2014-03-20 Pedro Alves <palves@redhat.com>
2486 * gdb.threads/multiple-step-overs.c: New file.
2487 * gdb.threads/multiple-step-overs.exp: New file.
2488 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2489 Adjust expected infrun debug output.
2491 2014-03-20 Pedro Alves <palves@redhat.com>
2493 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2494 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2496 2014-03-20 Pedro Alves <palves@redhat.com>
2499 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2500 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2501 of gdb_test_multiple.
2502 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2503 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2505 2014-03-20 Pedro Alves <palves@redhat.com>
2507 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2508 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2510 2014-03-19 Pedro Alves <palves@redhat.com>
2512 * gdb.base/async.exp: Remove early return.
2514 2014-03-19 Pedro Alves <palves@redhat.com>
2516 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2518 2014-03-19 Pedro Alves <palves@redhat.com>
2520 * gdb.base/async.exp (test_background): Expect \r\n after
2521 "completed." in the fail pattern.
2523 2014-03-19 Pedro Alves <palves@redhat.com>
2525 * gdb.base/async.exp (test_background): New procedure.
2526 Use it for all background execution command tests.
2528 2014-03-19 Pedro Alves <palves@redhat.com>
2530 * gdb.base/async.exp: Use prepare_for_testing.
2532 2014-03-19 Pedro Alves <palves@redhat.com>
2534 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2537 2014-03-19 Pedro Alves <palves@redhat.com>
2539 * gdb.base/async.c (main): Add "jump here" and "until here" line
2541 * gdb.base/async.exp (jump_here): New global.
2542 (jump& test): Use it.
2543 (until_here): New global.
2544 (until& test): Use it.
2546 2014-03-19 Pedro Alves <palves@redhat.com>
2548 * gdb.base/async.exp: Don't frob gdb_protocol.
2550 2014-03-18 Doug Evans <xdje42@gmail.com>
2552 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2553 Fix spelling of exec-done-display.
2555 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2558 * gdb.base/gdb-sigterm.c: New file.
2559 * gdb.base/gdb-sigterm.exp: New file.
2561 2014-03-18 Pedro Alves <palves@redhat.com>
2564 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2565 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2568 2014-03-17 Joel Brobecker <brobecker@adacore.com>
2570 * gdb.ada/pckd_arr_ren: New testcase.
2572 2014-03-13 Doug Evans <xdje42@gmail.com>
2575 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2576 collect after discarding symbols.
2578 2014-03-13 Ludovic Courtès <ludo@gnu.org>
2579 Doug Evans <xdje42@gmail.com>
2581 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2582 to history survives a gc.
2584 2014-03-13 Pedro Alves <palves@redhat.com>
2586 * gdb.base/default.exp: Don't test "target procfs".
2588 2014-03-13 Pedro Alves <palves@redhat.com>
2590 * gdb.base/default.exp: Update "target child" and "target procfs"
2591 tests to not expect "Unix".
2593 2014-03-12 Tom Tromey <tromey@redhat.com>
2595 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2596 New procs. Add target-async tests.
2597 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2598 Add target-async tests.
2600 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2602 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2603 'func_start' and 'func_end' for the beginning and end of the
2604 function code, respectively.
2605 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2606 'func_end' instead of 'func' and 'main'.
2608 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2610 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2611 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2612 generate the debug info assembler source.
2614 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2616 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2617 * gdb.dwarf2/arr-subrange.exp: Likewise.
2618 * gdb.dwarf2/dwz.exp: Likewise.
2619 * gdb.dwarf2/method-ptr.exp: Likewise.
2620 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2621 * gdb.dwarf2/subrange.exp: Likewise.
2622 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2623 * gdb.dwarf2/implptrpiece.exp: Likewise.
2624 * gdb.dwarf2/nostaticblock.exp: Likewise.
2626 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2628 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2629 directory to absolute path name arguments.
2631 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2633 * gdb.ada/tagged_access: New testcase.
2635 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2637 * gdb.btrace/data.exp: Update expected output.
2639 2014-03-06 Yao Qi <yao@codesourcery.com>
2641 * gdb.trace/pr16508.exp: New file.
2643 2014-03-05 Pedro Alves <palves@redhat.com>
2646 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2648 (top level): Adjust to use it. Add tests that exercise breakpoint
2649 interaction with the code-cache.
2651 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2653 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2654 test for 'history-append!'.
2656 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2658 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2659 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2660 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2661 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2662 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2663 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2665 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2667 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2668 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2669 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2671 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2673 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2675 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2677 * gdb.dwarf2/arr-stride.c: New file.
2678 * gdb.dwarf2/arr-stride.exp: New file.
2680 2014-02-26 Pedro Alves <palves@redhat.com>
2682 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2683 that won't ever trigger. Make sure that GDB reports the correct
2684 breakpoint that caused the stop.
2686 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2689 * gdb.base/auto-load-script: New file.
2690 * gdb.base/auto-load.c: New file.
2691 * gdb.base/auto-load.exp: New file.
2694 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2696 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2698 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2699 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2701 2014-02-24 Doug Evans <dje@google.com>
2703 * lib/gdb.exp (run_on_host): Log error output if program fails.
2705 2014-02-21 Pedro Alves <palves@redhat.com>
2707 * gdb.threads/step-after-sr-lock.c: Rename to ...
2708 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2709 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2710 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2713 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2716 * gdb.arch/amd64-stap-special-operands.exp: New file.
2717 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2718 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2719 * gdb.arch/amd64-stap-triplet.S: Likewise.
2720 * gdb.arch/amd64-stap-triplet.c: Likewise.
2722 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2724 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2725 in .section pseudo-op.
2727 2014-02-20 lin zuojian <manjian2006@gmail.com>
2728 Joel Brobecker <brobecker@adacore.com>
2729 Doug Evans <xdje42@gmail.com>
2732 * gdb.dwarf2/dw2-icycle.S: New file.
2733 * gdb.dwarf2/dw2-icycle.c: New file.
2734 * gdb.dwarf2/dw2-icycle.exp: New file.
2736 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2738 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2739 operations on gdb.Value objects.
2740 * gdb.python/py-value-cc.exp: Add new test to test operations on
2743 2014-02-18 Doug Evans <dje@google.com>
2745 * Makefile.in (TESTS): New variable.
2746 (expanded_tests, expanded_tests_or_none): New variables
2747 (check-single): Pass $(expanded_tests_or_none) to runtest.
2748 (check-parallel): Only run tests in $(TESTS) if non-empty.
2749 (check/no-matching-tests-found): New rule.
2750 * README: Document TESTS makefile variable.
2752 2014-02-18 Doug Evans <dje@google.com>
2754 * Makefile.in (check-parallel): rm -rf outputs temp.
2756 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2758 Fix "ERROR: no fileid for" in the testsuite.
2759 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2761 2014-02-12 Doug Evans <dje@google.com>
2763 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2764 (MISCELLANEOUS): New variable.
2765 (clean): rm -rf $(MISCELLANEOUS).
2766 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2767 dwp live in the same directory as symlinks, with each symlink pointed
2768 to a differently named file in a different directory.
2770 2014-02-11 Doug Evans <dje@google.com>
2772 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2773 of Tcl file commands.
2775 2014-02-10 Mark Kettenis <kettenis@gnu.org>
2777 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2780 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2782 * gdb.ada/tick_length_array_enum_idx: New testcase.
2784 2014-02-10 Doug Evans <xdje42@gmail.com>
2786 * configure.ac (AC_OUTPUT): Add gdb.guile.
2787 * configure: Regenerate.
2788 * lib/gdb-guile.exp: New file.
2789 * lib/gdb.exp (get_target_charset): New function.
2790 * gdb.base/help.exp: Update expected output from "apropos apropos".
2791 * gdb.guile/Makefile.in: New file.
2792 * gdb.guile/guile.exp: New file.
2793 * gdb.guile/scm-arch.c: New file.
2794 * gdb.guile/scm-arch.exp: New file.
2795 * gdb.guile/scm-block.c: New file.
2796 * gdb.guile/scm-block.exp: New file.
2797 * gdb.guile/scm-breakpoint.c: New file.
2798 * gdb.guile/scm-breakpoint.exp: New file.
2799 * gdb.guile/scm-disasm.c: New file.
2800 * gdb.guile/scm-disasm.exp: New file.
2801 * gdb.guile/scm-equal.c: New file.
2802 * gdb.guile/scm-equal.exp: New file.
2803 * gdb.guile/scm-error.exp: New file.
2804 * gdb.guile/scm-error.scm: New file.
2805 * gdb.guile/scm-frame-args.c: New file.
2806 * gdb.guile/scm-frame-args.exp: New file.
2807 * gdb.guile/scm-frame-args.scm: New file.
2808 * gdb.guile/scm-frame-inline.c: New file.
2809 * gdb.guile/scm-frame-inline.exp: New file.
2810 * gdb.guile/scm-frame.c: New file.
2811 * gdb.guile/scm-frame.exp: New file.
2812 * gdb.guile/scm-generics.exp: New file.
2813 * gdb.guile/scm-gsmob.exp: New file.
2814 * gdb.guile/scm-iterator.c: New file.
2815 * gdb.guile/scm-iterator.exp: New file.
2816 * gdb.guile/scm-math.c: New file.
2817 * gdb.guile/scm-math.exp: New file.
2818 * gdb.guile/scm-objfile-script-gdb.in: New file.
2819 * gdb.guile/scm-objfile-script.c: New file.
2820 * gdb.guile/scm-objfile-script.exp: New file.
2821 * gdb.guile/scm-objfile.c: New file.
2822 * gdb.guile/scm-objfile.exp: New file.
2823 * gdb.guile/scm-ports.exp: New file.
2824 * gdb.guile/scm-pretty-print.c: New file.
2825 * gdb.guile/scm-pretty-print.exp: New file.
2826 * gdb.guile/scm-pretty-print.scm: New file.
2827 * gdb.guile/scm-section-script.c: New file.
2828 * gdb.guile/scm-section-script.exp: New file.
2829 * gdb.guile/scm-section-script.scm: New file.
2830 * gdb.guile/scm-symbol.c: New file.
2831 * gdb.guile/scm-symbol.exp: New file.
2832 * gdb.guile/scm-symtab-2.c: New file.
2833 * gdb.guile/scm-symtab.c: New file.
2834 * gdb.guile/scm-symtab.exp: New file.
2835 * gdb.guile/scm-type.c: New file.
2836 * gdb.guile/scm-type.exp: New file.
2837 * gdb.guile/scm-value-cc.cc: New file.
2838 * gdb.guile/scm-value-cc.exp: New file.
2839 * gdb.guile/scm-value.c: New file.
2840 * gdb.guile/scm-value.exp: New file.
2841 * gdb.guile/source2.scm: New file.
2842 * gdb.guile/types-module.cc: New file.
2843 * gdb.guile/types-module.exp: New file.
2845 2014-02-10 Yao Qi <yao@codesourcery.com>
2848 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
2849 * configure: Regenerated.
2850 * Makefile.in: New file.
2852 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2854 * gdb.python/py-framefilter.exp: Fix typo.
2856 2014-02-08 Yao Qi <yao@codesourcery.com>
2858 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
2859 that no =breakpoint-modified is emitted when breakpoints are
2860 modified through MI commands.
2862 2014-02-07 Pedro Alves <pedro@codesourcery.com>
2863 Pedro Alves <palves@redhat.com>
2865 * gdb.threads/step-after-sr-lock.c: New file.
2866 * gdb.threads/step-after-sr-lock.exp: New file.
2868 2014-02-07 Pedro Alves <palves@redhat.com>
2870 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
2872 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2874 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
2875 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
2877 2014-02-06 Doug Evans <xdje42@gmail.com>
2879 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
2882 * gdb.gdb/python-interrupts.exp: New file.
2884 2014-02-05 Yao Qi <yao@codesourcery.com>
2886 * gdb.trace/report.exp (use_collected_data): Test the output
2887 of "info threads" and "info inferiors".
2889 2014-02-05 Yao Qi <yao@codesourcery.com>
2893 2013-05-24 Yao Qi <yao@codesourcery.com>
2895 * gdb.trace/tfile.exp: Test inferior and thread.
2897 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2899 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
2901 * gdb.base/step-bt.c: Call hello via function pointer to make
2902 sure its first instruction is executed on powerpc64le-linux.
2904 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2906 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
2908 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2910 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
2911 of the test patterns for use on little-endian systems.
2913 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2915 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
2916 (decimal_vector): Fix for little-endian.
2918 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2920 * gdb.arch/sparc-sysstep.exp: New file.
2921 * gdb.arch/sparc-sysstep.c: Likewise.
2923 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
2925 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2927 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2929 2014-01-23 Tom Tromey <tromey@redhat.com>
2931 * gdb.ada/array_char_idx: New testcase.
2933 2014-01-23 Tom Tromey <tromey@redhat.com>
2936 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
2937 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2940 2014-01-23 Tom Tromey <tromey@redhat.com>
2943 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2944 string from an inferior frame.
2945 * gdb.python/py-framefilter-mi.exp: Update.
2947 2014-01-22 Doug Evans <dje@google.com>
2949 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2951 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2953 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2955 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2957 * gdb.trace/entry-values.exp: Remove excess space character from
2958 regex patterns. Handle s390 call instruction.
2960 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2962 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
2963 define "*_start" label. Make "name" static.
2964 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
2965 ${name} by references to ${name}_start.
2967 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2969 * gdb.base/info-macros.exp: Remove "debug" from the compile
2972 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2974 * gdb.dlang/demangle.exp: New file.
2976 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2978 * gdb.dlang/primitive-types.exp: New file.
2980 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2982 * configure.ac: Create gdb.dlang/Makefile.
2983 * configure: Regenerate.
2984 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
2985 * gdb.dlang/Makefile.in: New file.
2986 * lib/d-support.exp: New file.
2987 * lib/gdb.exp (skip_d_tests): New proc.
2989 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2991 * gdb.btrace/delta.exp: Check reverse stepi.
2992 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
2993 * gdb.btrace/finish.exp: New.
2994 * gdb.btrace/next.exp: New.
2995 * gdb.btrace/nexti.exp: New.
2996 * gdb.btrace/record_goto.c: Add comments.
2997 * gdb.btrace/step.exp: New.
2998 * gdb.btrace/stepi.exp: New.
2999 * gdb.btrace/multi-thread-step.c: New.
3000 * gdb.btrace/multi-thread-step.exp: New.
3001 * gdb.btrace/rn-dl-bind.c: New.
3002 * gdb.btrace/rn-dl-bind.exp: New.
3003 * gdb.btrace/data.c: New.
3004 * gdb.btrace/data.exp: New.
3005 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3007 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3009 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
3010 * gdb.btrace/exception.exp: Update.
3011 * gdb.btrace/instruction_history.exp: Update.
3012 * gdb.btrace/record_goto.exp: Update.
3013 * gdb.btrace/tailcall.exp: Update.
3014 * gdb.btrace/unknown_functions.exp: Update.
3015 * gdb.btrace/delta.exp: New.
3017 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3019 * gdb.btrace/record_goto.exp: Add backtrace test.
3020 * gdb.btrace/tailcall.exp: Add backtrace test.
3022 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3024 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
3025 * gdb.btrace/record_goto.c: New.
3026 * gdb.btrace/record_goto.exp: New.
3027 * gdb.btrace/x86-record_goto.S: New.
3029 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3031 * gdb.btrace/function_call_history.exp: Update tests.
3032 * gdb.btrace/instruction_history.exp: Update tests.
3034 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3036 * gdb.btrace/function_call_history.exp: Fix expected field
3037 order for "record function-call-history".
3038 Add new tests for "record function-call-history /c".
3039 * gdb.btrace/exception.cc: New.
3040 * gdb.btrace/exception.exp: New.
3041 * gdb.btrace/tailcall.exp: New.
3042 * gdb.btrace/x86-tailcall.S: New.
3043 * gdb.btrace/x86-tailcall.c: New.
3044 * gdb.btrace/unknown_functions.c: New.
3045 * gdb.btrace/unknown_functions.exp: New.
3046 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3048 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3050 * gdb.btrace/instruction_history.exp: Update.
3051 * gdb.btrace/function_call_history.exp: Update.
3053 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3055 * gdb.btrace/function_call_history.exp: Fix expected function
3057 * gdb.btrace/instruction_history.exp: Initialize traced.
3058 Remove traced_functions.
3060 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3062 * gdb.btrace/function_call_history.exp: Update
3063 * gdb.btrace/instruction_history.exp: Update.
3065 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3067 * gdb.btrace/enable.exp: Update expected text.
3069 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
3071 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
3074 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
3076 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
3078 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3080 * lib/gdb.exp (supports_process_record): Return true for
3081 arm*-linux*. (supports_reverse): Likewise.
3083 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3087 * gdb.python/py-type.c: Enhance test case.
3088 * gdb.python/py-value-cc.cc: Likewise
3089 * gdb.python/py-type.exp: Add new tests.
3090 * gdb.python/py-value-cc.exp: Likewise
3092 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3093 Pedro Alves <palves@redhat.com>
3095 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
3097 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
3098 references to ${name}_start by references to ${name}.
3100 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3102 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
3104 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3106 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
3108 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
3109 Pedro Alves <palves@redhat.com>
3111 * gdb.mi/mi-info-os.exp: Connect to the target with
3114 2014-01-08 Pedro Alves <palves@redhat.com>
3116 * gdb.threads/reconnect-signal.c: New file.
3117 * gdb.threads/reconnect-signal.exp: New file.
3119 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3121 * gdb.base/source-dir.exp: New file.
3123 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3125 * gdb.ada/mi_interface: New testcase.
3127 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3129 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
3130 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
3131 gdb.ada/pp-rec-component/pck.ads: New files.
3133 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3135 * gdb.python/py-pp-integral.c: New file.
3136 * gdb.python/py-pp-integral.py: New file.
3137 * gdb.python/py-pp-integral.exp: New file.
3139 For older changes see ChangeLog-1993-2013.
3145 ;; version-control: never
3148 Copyright 2014 Free Software Foundation, Inc.
3149 Copying and distribution of this file, with or without modification,
3150 are permitted provided the copyright notice and this notice are preserved.