1 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4 code guarded by #ifdef NO_PROTOTYPES.
5 (t_double_many_args): Likewise.
6 (DEF_FUNC_MANY_ARGS_1): Likewise.
7 (DEF_FUNC_VALUES_1): Likewise.
8 (t_structs_ldc): Renamed from t_structs_fc in conditional code
9 guarded by #ifdef PROTOTYPES.
11 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13 * gdb.mi/mi-console.c: Add eye-catcher.
14 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
15 instead of literal line number.
17 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19 * gdb.base/shr2.c: Add eye-catcher.
20 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
23 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
25 * gdb.base/jump.c: Add eye-catchers.
26 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
29 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
31 * gdb.base/execd-prog.c: Add eye-catchers.
32 * gdb.base/foll-exec.c: Likewise.
33 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
36 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
38 * gdb.base/ending-run.c: Add eye-catchers.
39 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
42 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
44 * gdb.base/call-rt-st.c: Add eye-catchers.
45 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
48 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
50 * gdb.base/call-ar-st.c: Add eye-catchers.
51 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
54 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
56 * gdb.base/average.c: Add eye-catchers.
57 * gdb.base/sum.c: Likewise.
58 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
61 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
63 * gdb.base/solib1.c: Add eye-catchers.
64 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
67 2014-11-12 Pedro Alves <palves@redhat.com>
69 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
72 2014-11-12 Pedro Alves <palves@redhat.com>
74 * gdb.arch/i386-bp_permanent.c: New file.
75 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
76 (srcfile): Set to i386-bp_permanent.c.
77 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
78 that stepi does not execute the 'leave' instruction, instead of
79 testing it does execute.
80 * gdb.base/bp-permanent.c: New file.
81 * gdb.base/bp-permanent.exp: New file.
83 2014-11-10 Doug Evans <xdje42@gmail.com>
86 * gdb.base/symtab-search-order.exp: New file.
87 * gdb.base/symtab-search-order.c: New file.
88 * gdb.base/symtab-search-order-1.c: New file.
89 * gdb.base/symtab-search-order-shlib-1.c: New file.
91 2014-11-07 Pedro Alves <palves@redhat.com>
94 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
97 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
100 * gdb.cp/pr17494.cc: New file.
101 * gdb.cp/pr17494.exp: New file.
103 2014-11-02 Yao Qi <yao@codesourcery.com>
105 * gdb.python/python.exp: Get working directory and match the
106 output of "set extended-prompt \\w " with it.
108 2014-10-30 Doug Evans <dje@google.com>
110 * gdb.python/py-objfile.exp: Add tests for setting random attributes
112 * gdb.python/py-progspace.exp: Add tests for setting random attributes
115 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
117 * gdb.base/fullpath-expand.exp: Skip for a remote host.
118 * gdb.base/realname-expand.exp: Likewise.
119 * gdb.linespec/macro-relative.exp: Likewise.
121 2014-10-29 Pedro Alves <palves@redhat.com>
124 * gdb.threads/schedlock.c (some_function): New function.
125 (call_function): New global.
126 (MAYBE_CALL_SOME_FUNCTION): New macro.
127 (thread_function): Call it.
128 * gdb.threads/schedlock.exp (get_args): Add description parameter,
129 and use it instead of a global counter. Adjust all callers.
130 (get_current_thread): Use "find current thread" for test message
131 here rather than having all callers pass down the same string.
132 (goto_loop): New procedure, factored out from ...
133 (my_continue): ... this.
134 (step_ten_loops): Change parameter from test message to command to
136 (list_count): Delete global.
137 (check_result): New procedure, factored out from duplicate top
139 (continue tests): Wrap in with_test_prefix.
140 (test_step): New procedure, factored out from duplicate top level
142 (top level): Test "step" in combination with all scheduler-locking
143 modes. Test "next" in combination with all scheduler-locking
144 modes, and in combination with stepping over a function call or
146 * gdb.threads/next-bp-other-thread.c: New file.
147 * gdb.threads/next-bp-other-thread.exp: New file.
149 2014-10-29 Pedro Alves <palves@redhat.com>
152 * gdb.python/python.exp: Test a multi-line command that spawns
154 * gdb.base/multi-line-starts-subshell.exp: New file.
156 2014-10-29 Yao Qi <yao@codesourcery.com>
158 * gdb.base/fileio.exp: Make directories on host.
160 2014-10-29 Yao Qi <yao@codesourcery.com>
162 * gdb.base/fileio.c (test_write): Close the file.
164 2014-10-28 Pedro Alves <palves@redhat.com>
167 * gdb.base/sigstep.c (no_handler): New global.
168 (main): If 'no_handler is true, set the signal handlers to
170 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
171 with_sw_watch and no_handler parameters. Handle them.
172 (top level) <stepping over handler when stopped at a breakpoint
173 test>: Add a test axis for testing with a software watchpoint, and
174 another for testing with the signal handler set to SIG_IGN.
175 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
176 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
178 2014-10-28 Pedro Alves <palves@redhat.com>
181 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
182 * gdb.base/sigstep.exp (other_handler_location): New global.
183 (advance): Support stepping into the signal handler, and running
184 commands while in the handler.
185 (in_handler_map): New global.
186 (top level): In the advance test, add combinations for getting
187 into the handler with stepping commands, and for running commands
188 in the handler. Add comment descripting the advancei tests.
190 2014-10-28 Pedro Alves <palves@redhat.com>
192 * gdb.base/sigstep.exp: Use build_executable instead of
194 (top level): Move code that starts GDB, runs to main and creates a
196 (restart): ... this new procedure.
197 (top level): Move backtrace from signal handler test to ...
198 (validate_backtrace): ... this new procedure.
199 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
200 with_test_prefix. Always restart GDB.
201 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
202 with_test_prefix. Always restart GDB. No need to delete
203 breakpoints after the test.
204 (test_skip_handler): Remove prefix parameter.
205 (skip_over_handler, breakpoint_to_handler)
206 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
207 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
208 restart GDB. No need to delete breakpoints after the test.
209 (top level): Use foreach to call the test procedures with
212 2014-10-28 Pedro Alves <palves@redhat.com>
214 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
215 instead of GNATS numbers.
216 * gdb.base/sigbpt.exp: Likewise.
217 * gdb.base/siginfo.exp: Likewise.
218 * gdb.base/sigstep.exp: Likewise.
220 2014-10-27 Pedro Alves <palves@redhat.com>
222 * gdb.base/sigstep.c (dummy): New global.
223 (main): Issue a couple writes to the new global.
224 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
226 (skip_over_handler): Use test_skip_handler.
227 (top level): Call skip_over_handler for stepi and nexti too.
228 (breakpoint_over_handler): Use test_skip_handler.
229 (top level): Call breakpoint_over_handler for stepi and nexti too.
231 2014-10-27 Yao Qi <yao@codesourcery.com>
233 * gdb.trace/tfile.c (adjust_function_address)
234 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
237 2014-10-24 Don Breazeal <donb@codesourcery.com>
239 * gdb.base/foll-fork.exp (test_follow_fork,
240 catch_fork_child_follow): Check for updated fork messages emitted
242 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
243 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
244 vfork_and_exec_child_follow_through_step): Check for updated vfork
245 messages emitted from infrun.c.
247 2014-10-24 Pedro Alves <palves@redhat.com>
249 * gdb.base/corefile.exp: Remove references to ultrix.
250 * gdb.base/interrupt.exp: Likewise.
251 * gdb.base/whatis.exp: Likewise.
252 * gdb.gdb/selftest.exp: Likewise.
253 * gdb.threads/manythreads.exp: Likewise.
254 * gdb.threads/print-threads.exp: Likewise.
255 * gdb.threads/pthreads.exp:: Likewise.
256 * gdb.threads/schedlock.exp: Likewise.
258 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
260 * gdb.cp/non-trivial-retval.cc: Add a test case.
261 * gdb.cp/non-trivial-retval.exp: Add a test.
263 2014-10-20 Yao Qi <yao@codesourcery.com>
265 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
266 * gdb.python/py-objfile-script-gdb.py: New file.
267 * gdb.python/py-objfile-script.exp: Update reference to
268 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
269 of remote_download. Remove the dest file.
271 2014-10-20 Yao Qi <yao@codesourcery.com>
273 * gdb.base/checkpoint.exp: Don't remove file copied on host.
274 * gdb.base/step-line.exp: Likewise.
275 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
276 * gdb.dwarf2/dw2-basic.exp: Likewise.
277 * gdb.dwarf2/dw2-compressed.exp: Likewise.
278 * gdb.dwarf2/dw2-filename.exp: Likewise.
279 * gdb.dwarf2/dw2-intercu.exp: Likewise.
280 * gdb.dwarf2/dw2-intermix.exp: Likewise.
281 * gdb.dwarf2/dw2-producer.exp: Likewise.
282 * gdb.dwarf2/mac-fileno.exp: Likewise.
283 * gdb.python/py-frame-args.exp: Likewise.
284 * gdb.python/py-framefilter.exp: Likewise.
285 * gdb.python/py-mi.exp: Likewise.
286 * gdb.python/py-objfile-script.exp: Likewise
287 * gdb.python/py-pp-integral.exp: Likewise.
288 * gdb.python/py-pp-re-notag.exp: Likewise.
289 * gdb.python/py-prettyprint.exp: Likewise.
290 * gdb.python/py-section-script.exp: Likewise.
291 * gdb.python/py-typeprint.exp: Likewise.
292 * gdb.python/py-xmethods.exp: Likewise.
293 * gdb.stabs/weird.exp: Likewise.
294 * gdb.xml/tdesc-regs.exp: Likewise.
296 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
298 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
299 (out_cu): Use addr_len for the size of addresses.
300 (out_line): Likewise. Size DW_LNE_set_address instruction
301 according to addr_len.
302 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
303 (FUNC): Add START_INSNS to definition.
305 2014-10-18 Yao Qi <yao@codesourcery.com>
307 * gdb.base/argv0-symlink.exp: Check argv[0] value if
308 gdb_has_argv0 return true.
309 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
310 check [target_info exists noargs], check [gdb_has_argv0]
312 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
313 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
316 2014-10-17 Doug Evans <dje@google.com>
318 * gdb.python/py-events.exp: Update expected output for clear_objfiles
320 * gdb.python/py-events.py: Add clear_objfiles event.
322 2014-10-17 Doug Evans <dje@google.com>
324 * gdb.python/py-objfile.exp: Test progspace attribute.
326 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
328 * gdb.guile/scm-breakpoint.exp: Do not assume any
329 directory separators when matching source file paths.
330 * gdb.python/py-breakpoint.exp: Likewise.
331 * gdb.reverse/break-precsave.exp: Likewise.
332 * gdb.reverse/break-reverse.exp: Likewise.
333 * gdb.reverse/consecutive-precsave.exp: Likewise.
334 * gdb.reverse/finish-precsave.exp: Likewise.
335 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
336 * gdb.reverse/finish-reverse.exp: Likewise.
337 * gdb.reverse/i386-precsave.exp: Likewise.
338 * gdb.reverse/i387-env-reverse.exp: Likewise.
339 * gdb.reverse/i387-stack-reverse.exp: Likewise.
340 * gdb.reverse/machinestate-precsave.exp: Likewise.
341 * gdb.reverse/machinestate.exp: Likewise.
342 * gdb.reverse/sigall-precsave.exp: Likewise.
343 * gdb.reverse/solib-precsave.exp: Likewise.
344 * gdb.reverse/step-precsave.exp: Likewise.
345 * gdb.reverse/until-precsave.exp: Likewise.
346 * gdb.reverse/watch-precsave.exp: Likewise.
347 * gdb.reverse/watch-reverse.exp: Likewise.
349 2014-10-17 Yao Qi <yao@codesourcery.com>
351 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
352 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
354 2014-10-17 Pedro Alves <palves@redhat.com>
357 * gdb.base/bg-execution-repeat.c: New file.
358 * gdb.base/bg-execution-repeat.exp: New file.
360 2014-10-17 Pedro Alves <palves@redhat.com>
363 * gdb.base/continue-all-already-running.c: New file.
364 * gdb.base/continue-all-already-running.exp: New file.
366 2014-10-17 Pedro Alves <palves@redhat.com>
369 * gdb.base/annota-input-while-running.c: New file.
370 * gdb.base/annota-input-while-running.exp: New file.
372 2014-10-17 Pedro Alves <palves@redhat.com>
374 * gdb.base/callfuncs.exp: emove references to osf.
375 * gdb.base/sigall.exp: Likewise.
376 * gdb.gdb/selftest.exp: Likewise.
377 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
378 * gdb.mi/non-stop.c: Likewise.
379 * gdb.mi/pthreads.c: Likewise.
380 * gdb.reverse/sigall-precsave.exp: Likewise.
381 * gdb.reverse/sigall-reverse.exp: Likewise.
382 * gdb.threads/pthreads.c: Likewise.
383 * gdb.threads/pthreads.exp: Likewise.
385 2014-10-17 Yao Qi <yao@codesourcery.com>
387 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
388 check 'target_info exists noargs'.
389 (test_command_prompt_position): Likewise.
390 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
392 (progvar_simple_while_test): Likewise.
393 (progvar_complex_if_while_test): Likewise.
394 (if_while_breakpoint_command_test): Likewise.
395 (infrun_breakpoint_command_test): Likewise.
396 (breakpoint_command_test): Likewise.
397 (watchpoint_command_test): Likewise.
398 (bp_deleted_in_command_test): Likewise.
399 (temporary_breakpoint_commands): Likewise.
401 2014-10-16 Yao Qi <yao@codesourcery.com>
403 * gdb.base/remotetimeout.exp: Remove noargs checking.
405 2014-10-15 Pedro Alves <palves@redhat.com>
408 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
409 * gdb.base/breakpoint-in-ro-region.exp
410 (probe_target_hardware_step): New procedure.
411 (top level): Probe hardware stepping and hardware breakpoint
412 support. Test stepping through a read-only region, with both
413 "breakpoint auto-hw" on and off and both "always-inserted" on and
416 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
418 * gdb.dlang/demangle.exp: Update for demangling changes.
420 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
422 * gdb.cp/non-trivial-retval.cc: Add new test cases.
423 * gdb.cp/non-trivial-retval.exp: Add new tests.
425 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
429 * gdb.cp/non-trivial-retval.cc: New file.
430 * gdb.cp/non-trivial-retval.exp: New file.
432 2014-10-15 Yao Qi <yao@codesourcery.com>
434 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
437 2014-10-15 Yao Qi <yao@codesourcery.com>
439 * gdb.python/py-symbol.exp: Match file base name if host is
440 remote, otherwise match file name with dir name.
441 * gdb.python/py-symtab.exp: Likewise.
442 * gdb.python/python.exp: Likewise.
444 2014-10-15 Yao Qi <yao@codesourcery.com>
446 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
448 * gdb.python/py-symtab.exp: Likewise.
449 * gdb.python/python.exp: Remove trailing ".*". Fix typo
452 2014-10-14 Joel Brobecker <brobecker@adacore.com>
454 * gdb.ada/addr_arith: New testcase.
456 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
458 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
459 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
460 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
461 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
463 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
465 * gdb.arch/stap-eval-lang-ada.S: Likewise.
466 * gdb.arch/stap-eval-lang-ada.c: Likewise.
467 * gdb.arch/stap-eval-lang-ada.exp: New file.
469 2014-10-14 Yao Qi <yao@codesourcery.com>
471 * gdb.mi/mi-var-child.c (nothing1): New function.
472 (nothing2): New function.
473 (do_children_tests): Set function pointers by nothing1 and
475 * gdb.mi/mi-var-child.exp: Step over new added statements.
476 Update test to match the new output.
477 * gdb.mi/var-cmd.c (nothing1): New function.
478 (nothing2): New function.
479 (do_children_tests): Set function pointers by nothing1 and
481 * gdb.mi/mi-var-display.exp: Update test to match output.
482 Step to the line specified by $line_dct_nothing.
483 Increase the number of lines to step.
485 2014-10-14 Yao Qi <yao@codesourcery.com>
487 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
489 * gdb.mi/mi2-var-child.exp: Likewise.
491 2014-10-13 Doug Evans <dje@google.com>
493 * gdb.python/py-objfile.exp: Change name of file name test.
495 2014-10-13 Doug Evans <dje@google.com>
497 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
498 from the start of the CU.
500 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
501 Yao Qi <yao@codesourcery.com>
503 Fix "save breakpoints" for "catch" command.
504 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
505 Remove -nonewline. Match also the added "main" line.
507 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
509 Fix "save breakpoints" for "disable $bpnum" command.
510 * gdb.base/save-bp.c (main): Add label.
511 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
513 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
515 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
517 2014-10-11 Yao Qi <yao@codesourcery.com>
519 * gdb.server/server-kill.exp: Execute command
520 "set remote trace-status-packet on" before "tstatus".
522 2014-10-11 Yao Qi <yao@codesourcery.com>
524 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
525 (main): Call getppid.
526 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
527 and continue to it. Read variable "server_pid".
529 2014-10-11 Yao Qi <yao@codesourcery.com>
531 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
533 2014-10-11 Yao Qi <yao@codesourcery.com>
535 * gdb.threads/thread-find.exp: Don't execute command
537 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
538 * gdb.threads/linux-dp.exp: Don't check the condition
539 $threads_created equals to zero.
541 2014-10-10 Pedro Alves <palves@redhat.com>
543 * gdb.base/bigcore.exp: Remove references to IRIX.
544 * gdb.base/funcargs.exp: Likewise.
545 * gdb.base/interrupt.exp: Likewise.
546 * gdb.base/mips_pro.exp: Likewise.
547 * gdb.base/nodebug.exp: Likewise.
548 * gdb.base/setvar.exp: Likewise.
549 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
551 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
552 Pedro Alves <palves@redhat.com>
555 * gdb.base/vdso-warning.c: New file.
556 * gdb.base/vdso-warning.exp: New file.
558 2014-10-02 Doug Evans <dje@google.com>
560 * gdb.base/structs.c (main): Don't run forever.
562 2014-10-02 Pedro Alves <palves@redhat.com>
564 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
565 (top level) <stop threads 1, stop threads 2>: Use it.
567 2014-10-02 Pedro Alves <palves@redhat.com>
569 * gdb.threads/break-while-running.exp (test): Add new
570 'update_thread_list' argument. Skip "info threads" if false.
571 (top level): Add new 'update_thread_list' axis.
573 2014-10-02 Pedro Alves <palves@redhat.com>
576 * gdb.base/execl-update-breakpoints.c: New file.
577 * gdb.base/execl-update-breakpoints.exp: New file.
579 2014-10-01 Pedro Alves <palves@redhat.com>
581 * gdb.base/breakpoint-in-ro-region.c: New file.
582 * gdb.base/breakpoint-in-ro-region.exp: New file.
584 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
586 * gdb.mi/mi-exit-code.exp: New file.
587 * gdb.mi/mi-exit-code.c: New file.
589 2014-09-30 Yao Qi <yao@codesourcery.com>
591 * lib/prelink-support.exp (build_executable_own_libs): Error if
592 the target isn't native.
594 2014-09-30 Yao Qi <yao@codesourcery.com>
596 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
599 2014-09-22 Pedro Alves <palves@redhat.com>
601 * gdb.threads/break-while-running.exp: New file.
602 * gdb.threads/break-while-running.c: New file.
604 2014-09-19 Yao Qi <yao@codesourcery.com>
606 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
607 Invoke test. Restart GDB with --readnow and invoke test again.
609 2014-09-19 Yao Qi <yao@codesourcery.com>
611 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
612 proc set_breakpoint_on_gcd_function. Invoke
613 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
614 invoke set_breakpoint_on_gcd_function again.
616 2014-09-18 Doug Evans <dje@google.com>
618 * gdb.dwarf2/symtab-producer.exp: New file.
620 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
622 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
623 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
624 * gdb.base/global-var-nested-by-dso.c: Likewise.
625 * gdb.base/global-var-nested-by-dso.exp: Likewise.
627 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
628 Pedro Alves <palves@redhat.com>
630 * gdb.base/watch-bitfields.exp: Pass string other than test file
631 name to prepare_for_testing.
632 (watch): New procedure.
633 (expect_watchpoint): Use with_test_prefix.
634 (top level): Factor out tests to ...
635 (test_watch_location, test_regular_watch): ... these new
636 procedures, and use with_test_prefix and gdb_continue_to_end.
638 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
641 * gdb.base/watch-bitfields.exp: New file.
642 * gdb.base/watch-bitfields.c: New file.
644 2014-09-16 Pedro Alves <palves@redhat.com>
646 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
647 software and hardware addresses, not software address against
650 2014-09-16 Pedro Alves <palves@redhat.com>
652 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
653 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
655 2014-09-16 Pedro Alves <palves@redhat.com>
657 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
659 * gdb.base/a2-run.exp: Remove all code guarded by istarget
660 "*-*-vxworks*" throughout.
661 * gdb.base/break.exp: Likewise.
662 * gdb.base/default.exp: Likewise.
663 * gdb.base/scope.exp: Likewise.
664 * gdb.base/sepdebug.exp: Likewise.
665 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
667 * gdb.base/run.c: Likewise.
668 * gdb.base/sepdebug.c: Likewise.
669 * gdb.hp/gdb.aCC/run.c: Likewise.
670 * gdb.reverse/until-reverse.c: Likewise.
671 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
673 2014-09-16 Yao Qi <yao@codesourcery.com>
675 * boards/local-remote-host-native.exp: New file.
677 2014-09-14 Doug Evans <xdje42@gmail.com>
679 * gdb.threads/queue-signal.c (thread_count): New variable.
680 (thread_count_mutex, thread_count_condvar): New variables.
681 (incr_thread_count, wait_all_threads_running): New functions.
682 (main): Wait for all threads to be in their thread functions.
684 2014-09-13 Doug Evans <xdje42@gmail.com>
686 * gdb.threads/queue-signal.c: New file.
687 * gdb.threads/queue-signal.exp: New file.
689 2014-09-13 Doug Evans <xdje42@gmail.com>
691 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
692 be consistent with what default_gdb_init uses.
693 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
694 the plain text of the prompt. Add some logging printfs.
695 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
697 2014-09-12 Pedro Alves <palves@redhat.com>
699 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
700 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
701 * gdb.arch/i386-size-overlap.exp: Likewise.
702 * gdb.arch/i386-size.exp: Likewise.
703 * gdb.arch/i386-unwind.exp: Likewise.
704 * gdb.base/a2-run.exp: Likewise.
705 * gdb.base/break.exp: Likewise.
706 * gdb.base/charset.exp: Likewise.
707 * gdb.base/chng-syms.exp: Likewise.
708 * gdb.base/commands.exp: Likewise.
709 * gdb.base/dbx.exp: Likewise.
710 * gdb.base/find.exp: Likewise.
711 * gdb.base/funcargs.exp: Likewise.
712 * gdb.base/jit-simple.exp: Likewise.
713 * gdb.base/reread.exp: Likewise.
714 * gdb.base/sepdebug.exp: Likewise.
715 * gdb.base/step-bt.exp: Likewise.
716 * gdb.cp/mb-inline.exp: Likewise.
717 * gdb.cp/mb-templates.exp: Likewise.
718 * gdb.objc/basicclass.exp: Likewise.
719 * gdb.threads/killed.exp: Likewise.
721 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
724 * gdb.arch/powerpc-stackless.S: New file.
725 * gdb.arch/powerpc-stackless.exp: New file.
727 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
729 * gdb.base/attach.c: Include unistd.h.
730 (main): Call alarm. Add label postloop.
731 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
732 gdb_breakpoint, gdb_continue_to_breakpoint.
733 (test_command_line_attach_run): Kill ${testpid} in one exit path.
735 2014-09-11 Pedro Alves <palves@redhat.com>
738 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
739 * gdb.base/attach.exp (test_command_line_attach_run): New
741 (top level): Call it.
743 2014-09-11 Pedro Alves <palves@redhat.com>
745 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
746 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
747 (do_command_attach_tests): Use spawn_wait_for_attach.
748 * gdb.base/solib-overlap.exp: Likewise.
749 * gdb.multi/multi-attach.exp: Likewise.
750 * gdb.python/py-prompt.exp: Likewise.
751 * gdb.python/py-sync-interp.exp: Likewise.
752 * gdb.server/ext-attach.exp: Likewise.
754 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
756 * gdb.fortran/array-element.exp: Remove unexpected "continue"
757 command in testcase. Simplify testcase.
759 2014-09-10 Joel Brobecker <brobecker@adacore.com>
761 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
763 2014-09-10 Joel Brobecker <brobecker@adacore.com>
765 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
767 2014-09-10 Joel Brobecker <brobecker@adacore.com>
769 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
771 2014-09-10 Joel Brobecker <brobecker@adacore.com>
773 * gdb.dwarf2/dynarr-ptr.c: New file.
774 * gdb.dwarf2/dynarr-ptr.exp: New file.
776 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
778 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
779 of 30 rather than hardcoding 120 for a slow test case. Take the
780 `gdb,timeout' target setting into account for this calculation.
781 Don't extend the timeout for the test cases that don't need it.
783 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
785 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
786 a factor of 2 for a slow test case. Take the `gdb,timeout'
787 target setting into account for this calculation.
788 * gdb.reverse/until-precsave.exp: Increase the timeout by
789 a factor of 15 and 3 respectively rather than adding 120
790 for a pair of slow test cases. Take the `gdb,timeout'
791 target setting into account for this calculation.
793 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
795 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
796 timeout, don't pass one down to gdb_expect.
797 (gdb_expect): Rework timeout selection.
799 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
801 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
802 exception on timeout.
803 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
804 (gdbserver_start_extended): Catch any `gdbserver_start' error
806 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
807 * lib/mi-support.exp (mi_gdb_target_load): Catch any
808 `gdbserver_gdb_load' error exceptions.
810 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
812 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
813 120 on waiting for the TCP socket to open.
815 2014-09-09 Doug Evans <xdje42@gmail.com>
817 * gdb.base/default.exp (show_conv_list): Add _caller_is,
818 _caller_matches, _any_caller_is, _any_caller_matches.
820 2014-09-09 Doug Evans <xdje42@gmail.com>
822 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
824 2014-09-09 Yao Qi <yao@codesourcery.com>
826 * gdb.mi/mi-var-display.exp: Set print symbol off.
828 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
831 * gdb.base/commands.exp: Add tests to verify user-defined
832 commands with empty bodies.
833 * gdb.python/py-cmd.exp: Test that we don't show user-defined
834 python commands in `show user command`.
835 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
836 scheme commands in `show user command`.
838 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
841 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
842 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
843 * gdb.python/py-framefilter-invalidarg.exp: New file.
844 * gdb.python/py-framefilter-invalidarg.py: New file.
846 2014-09-06 Doug Evans <xdje42@gmail.com>
849 * gdb.python/py-caller-is.c: New file.
850 * gdb.python/py-caller-is.exp: New file.
852 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
855 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
856 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
858 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
861 * gdb.fortran/print-formatted.exp: New file.
862 * gdb.fortran/print-formatted.f90: Likewise.
864 2014-09-03 Sasha Smundak <asmundak@google.com>
866 * gdb.python/py-frame.exp: Test Frame.read_register.
868 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
871 * gdb.python/py-completion.exp: New file.
872 * gdb.python/py-completion.py: Likewise.
874 2014-08-28 Doug Evans <dje@google.com>
876 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
877 eax,etc. are live with values set by gdb and thus the compiler can't
879 * gdb.arch/i386-pseudo.c (main): Ditto.
881 2014-08-27 Doug Evans <dje@google.com>
883 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
885 2014-08-25 Doug Evans <dje@google.com>
887 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
890 2014-08-25 Doug Evans <dje@google.com>
892 * gdb.threads/thread-execl.exp: #include <stdio.h>.
894 2014-08-24 Yao Qi <yao@codesourcery.com>
896 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
898 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
900 2014-08-22 Doug Evans <dje@google.com>
903 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
904 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
905 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
907 2014-08-22 Yao Qi <yao@codesourcery.com>
909 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
910 * gdb.python/py-finish-breakpoint2.exp: Likewise.
911 * gdb.python/python.exp: Likewise. Use .py file on the host
912 instead of the build.
914 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
916 * gdb.threads/gcore-stale-thread.c: New file.
917 * gdb.threads/gcore-stale-thread.exp: New file.
919 2014-08-21 Pedro Alves <palves@redhat.com>
921 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
922 * gdb.base/gcore-relro-pie.exp: Likewise.
923 * gdb.base/gcore-relro.exp: Likewise.
924 * gdb.base/gcore.exp: Likewise.
925 * gdb.base/print-symbol-loading.exp: Likewise.
926 * gdb.threads/gcore-thread.exp: Likewise.
927 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
929 2014-08-20 Pedro Alves <palves@redhat.com>
930 Jan Kratochvil <jan.kratochvil@redhat.com>
932 * Makefile.in (EXTRA_RULES, CC): New variables, get from
934 (EXPECT): Handle READ1 being set.
935 (all): Depend on EXTRA_RULES.
936 (check-read1, expect-read1, read1.so, read1): New rules.
937 * README (Testsuite Parameters): Document the READ1 make variable.
938 (Race detection): New section.
939 * configure: Regenerate.
940 * configure.ac: If build==host==target, and running under a
941 GNU/glibc system, add read1 to the extra Makefile rules.
942 (EXTRA_RULES): AC_SUBST it.
943 * lib/read1.c: New file.
945 2014-08-20 Joel Brobecker <brobecker@adacore.com>
947 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
948 the handling of variables declared as a typedef to an array
949 which a DW_AT_data_location attribute.
951 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
952 Pedro Alves <palves@redhat.com>
956 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
959 2014-08-19 Pedro Alves <palves@redhat.com>
961 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
963 2014-08-19 Yao Qi <yao@codesourcery.com>
965 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
968 2014-08-18 David Blaikie <dblaikie@gmail.com>
970 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
972 2014-08-18 Joel Brobecker <brobecker@adacore.com>
974 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
975 attribute in array range.
977 2014-08-18 Joel Brobecker <brobecker@adacore.com>
979 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
981 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
984 * gdb.cp/pr17132.cc: New file.
985 * gdb.cp/pr17132.exp: New file.
987 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
989 * gdb.python/py-xmethods.py (A_getarrayind)
990 (E_method_char_worker.__call__, E_method_int_worker.__call__):
991 Use 'print' with function call syntax.
992 (E_method_matcher.match): Fix tab vs space indentation mixup.
994 2014-08-15 Yao Qi <yao@codesourcery.com>
996 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
999 2014-08-15 Yao Qi <yao@codesourcery.com>
1001 * gdb.cp/casts.exp: Set print symbol off.
1002 * gdb.cp/class2.exp: Likewise.
1003 * gdb.cp/overload.exp: Likewise.
1004 * gdb.cp/templates.exp: Likewise.
1006 2014-08-11 Doug Evans <dje@google.com>
1008 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1009 (test_load_shlib): Update.
1011 2014-08-09 Yao Qi <yao@codesourcery.com>
1013 * gdb.base/display.exp: Invoke is_address_zero_readable.
1014 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
1015 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1016 * gdb.base/hbreak-unmapped.exp: Return if
1017 is_address_zero_readable returns true.
1018 * gdb.base/signest.exp: Likewise.
1019 * gdb.base/signull.exp: Likewise.
1020 * gdb.base/sigbpt.exp: Likewise.
1021 * gdb.guile/scm-disasm.exp: Do the test if
1022 is_address_zero_readable returns false.
1023 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
1024 * gdb.python/py-arch.exp: Likewise.
1025 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
1026 * lib/gdb.exp (is_address_zero_readable): New proc.
1028 2014-08-09 Yao Qi <yao@codesourcery.com>
1031 * gdb.mi/mi-var-display.exp: Make test messages unique.
1033 2014-08-04 Tom Tromey <tromey@redhat.com>
1035 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
1038 2014-08-04 Tom Tromey <tromey@redhat.com>
1040 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
1043 2014-08-01 Joel Brobecker <brobecker@adacore.com>
1045 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
1046 inner_vla_struct_object_size.
1047 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
1050 2014-07-30 Pedro Alves <palves@redhat.com>
1052 * gdb.threads/signal-command-handle-nopass.exp (test): Add
1055 2014-07-29 Yao Qi <yao@codesourcery.com>
1058 * gdb.base/until-nodebug.exp: New.
1060 2014-07-28 Doug Evans <xdje42@gmail.com>
1063 * gdb.guile/scm-parameter.exp: Add tests for trying to create
1064 previously existing parameter, and previously ambiguously spelled
1067 2014-07-28 Will Newton <will.newton@linaro.org>
1069 * gdb.base/varargs.exp: Remove KFAILs for ARM.
1071 2014-07-26 Ludovic Courtès <ludo@gnu.org>
1072 Doug Evans <xdje42@gmail.com>
1075 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
1077 2014-07-25 Pedro Alves <palves@redhat.com>
1079 * gdb.threads/signal-command-handle-nopass.c: New file.
1080 * gdb.threads/signal-command-handle-nopass.exp: New file.
1081 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
1082 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
1083 * gdb.threads/signal-delivered-right-thread.c: New file.
1084 * gdb.threads/signal-delivered-right-thread.exp: New file.
1086 2014-07-25 Pedro Alves <palves@redhat.com>
1088 * gdb.base/double-prompt-target-event-error.exp
1089 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
1091 (cancel_pagination_in_target_event): Rework double prompt
1093 * gdb.base/paginate-after-ctrl-c-running.exp
1094 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
1096 * gdb.base/paginate-bg-execution.exp
1097 (test_bg_execution_pagination_return)
1098 (test_bg_execution_pagination_cancel): Remove '-notransfer
1100 * gdb.base/paginate-execution-startup.exp
1101 (test_fg_execution_pagination_return)
1102 (test_fg_execution_pagination_cancel): Remove '-notransfer
1104 * gdb.base/paginate-inferior-exit.exp
1105 (test_paginate_inferior_exited): Remove '-notransfer <return>'
1107 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
1108 * lib/gdb.exp (pagination_prompt): Run text through
1110 (gdb_test_multiple): Match $pagination_prompt instead of
1112 (string_to_regexp): Move to lib/gdb-utils.exp.
1114 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1116 * gdb.arch/amd64-entry-value-paramref.S: New file.
1117 * gdb.arch/amd64-entry-value-paramref.cc: New file.
1118 * gdb.arch/amd64-entry-value-paramref.exp: New file.
1119 * gdb.arch/amd64-optimout-repeat.S: New file.
1120 * gdb.arch/amd64-optimout-repeat.c: New file.
1121 * gdb.arch/amd64-optimout-repeat.exp: New file.
1123 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1126 * gdb.base/statistics.exp: New file.
1128 2014-07-17 Doug Evans <dje@google.com>
1131 * gdb.base/maint.exp: Update testing of per-command stats.
1133 2014-07-16 Pedro Alves <palves@redhat.com>
1135 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
1136 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
1137 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
1138 (tfile_write_buf): New functions.
1139 (add_memory_block): Rewrite using the above.
1140 (adjust_function_address): New function.
1141 (FUNCTION_ADDRESS): New macro.
1142 (write_basic_trace_file): Remove short_x local, and use
1143 tfile_write_16. Change type of func_addr local to unsigned long
1144 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
1145 here. Cast argument of add_memory_block to char pointer.
1146 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
1147 (main): Remove parameters.
1148 * gdb.trace/tfile.exp: Remove nowarnings.
1150 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1152 * gdb.base/debug-expr.exp: Test string evaluation with
1153 "debug expression" on.
1155 2014-07-15 Pedro Alves <palves@redhat.com>
1157 * gdb.base/reread.exp: Use clean_restart.
1159 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1161 * gdb.arch/avr-flash-qualifer.c: New.
1162 * gdb.arch/avr-flash-qualifer.exp: New.
1164 2014-07-14 Pedro Alves <palves@redhat.com>
1166 * gdb.base/paginate-after-ctrl-c-running.c: New file.
1167 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1169 2014-07-14 Pedro Alves <palves@redhat.com>
1171 * gdb.base/double-prompt-target-event-error.c: New file.
1172 * gdb.base/double-prompt-target-event-error.exp: New file.
1174 2014-07-14 Pedro Alves <palves@redhat.com>
1177 * gdb.base/paginate-inferior-exit.c: New file.
1178 * gdb.base/paginate-inferior-exit.exp: New file.
1180 2014-07-14 Pedro Alves <palves@redhat.com>
1183 * gdb.base/paginate-bg-execution.c: New file.
1184 * gdb.base/paginate-bg-execution.exp: New file.
1186 2014-07-14 Pedro Alves <palves@redhat.com>
1189 * gdb.base/paginate-execution-startup.c: New file.
1190 * gdb.base/paginate-execution-startup.exp: New file.
1191 * lib/gdb.exp (pagination_prompt): New global.
1192 (default_gdb_spawn): New procedure, factored out from
1194 (default_gdb_start): Adjust to call default_gdb_spawn.
1195 (gdb_spawn): New procedure.
1197 2014-07-14 Pedro Alves <palves@redhat.com>
1199 * lib/gdb.exp (gdb_assert): New procedure.
1200 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
1202 2014-07-14 Pedro Alves <palves@redhat.com>
1204 * gdb.base/execution-termios.c: New file.
1205 * gdb.base/execution-termios.exp: New file.
1207 2014-07-14 Tom Tromey <tromey@redhat.com>
1209 * gdb.cp/vla-cxx.cc: New file.
1210 * gdb.cp/vla-cxx.exp: New file.
1212 2014-07-14 Tom Tromey <tromey@redhat.com>
1214 * gdb.reverse/rerun-prec.c: New file.
1215 * gdb.reverse/rerun-prec.exp: New file.
1217 2014-07-12 Maciej W. Rozycki <macro@mips.com>
1218 Maciej W. Rozycki <macro@codesourcery.com>
1220 * lib/gdb-utils.exp: New file.
1221 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
1222 inline `gdb_init_command' processing.
1223 (gdb_start_cmd): Likewise.
1224 * lib/mi-support.exp (mi_run_cmd): Likewise.
1225 * README: Document `gdb_init_command' and `gdb_init_commands'.
1227 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1229 Fix false FAIL running under a very long directory name.
1230 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1231 and "set print elements 10000". Twice.
1233 2014-07-11 Yao Qi <yao@codesourcery.com>
1235 * gdb.base/exprs.exp: "set print symbol off".
1237 2014-07-11 Pedro Alves <palves@redhat.com>
1239 * gdb.threads/kill.c: New file.
1240 * gdb.threads/kill.exp: New file.
1242 2014-07-10 Yao Qi <yao@codesourcery.com>
1244 * gdb.trace/tfile.c (write_basic_trace_file)
1245 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1246 address written to trace file.
1248 2014-07-09 Pedro Alves <palves@redhat.com>
1250 * gdb.base/attach-wait-input.exp: New file.
1251 * gdb.base/attach-wait-input.c: New file.
1253 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1255 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1256 setting up test structures.
1257 (main): Call new test function.
1258 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1259 test function, continue into test function and walk test
1262 2014-07-02 Yao Qi <yao@codesourcery.com>
1264 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1265 'bar_start' at the beginning of functions 'foo' and 'bar'
1267 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1268 instead of 'foo' and 'bar'.
1270 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1272 * gdb.btrace/segv.exp: New.
1273 * gdb.btrace/segv.c: New.
1275 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
1277 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1280 2014-06-30 Mark Wielaard <mjw@redhat.com>
1282 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1283 vulture, vilify, villar): New volatile array constants.
1284 (vindictive, vegetation): New const volatile array constants.
1285 * gdb.base/volatile.exp: Test volatile and const volatile array
1288 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1290 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1291 target lacks support for awatch, rwatch, or hbreak.
1293 2014-06-27 Yao Qi <yao@codesourcery.com>
1295 * gdb.multi/dummy-frame-restore.exp: New.
1296 * gdb.multi/dummy-frame-restore.c: New.
1298 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1300 * gdb.btrace/gcore.exp: New.
1302 2014-06-23 Pedro Alves <palves@redhat.com>
1304 * gdb.base/watchpoint-reuse-slot.c: New file.
1305 * gdb.base/watchpoint-reuse-slot.exp: New file.
1307 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1309 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1310 progspace's filename in 'info', 'enable' and 'disable' command
1313 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1315 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1316 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1317 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1319 2014-06-20 Gary Benson <gbenson@redhat.com>
1321 * gdb.arch/i386-avx.exp: Fix include file location.
1322 * gdb.arch/i386-sse.exp: Likewise.
1324 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1326 * gdb.dlang/expression.exp: New file.
1328 2014-06-19 Pedro Alves <palves@redhat.com>
1330 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1332 (top level): ... here. Iterate running tests under different
1333 scheduler-locking settings.
1335 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
1337 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1338 to DW_FORM_addr and use non-zero addresses.
1340 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1343 * gdb.python/py-xmethods.cc: Add global function call counters and
1344 increment them in their respective functions. Remove "cout"
1346 * gdb.python/py-xmethods.exp: Make tests check the global function
1347 call counters instead of depending on inferior IO.
1349 2014-06-18 Don Breazeal <donb@codesourcery.com>
1351 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1353 (explicit_fork_parent_follow): Deleted procedure.
1354 (explicit_fork_child_follow): Deleted procedure.
1355 (test_follow_fork): New procedure.
1356 (do_fork_tests): Replace calls to deleted procedures with
1357 calls to test_follow_fork and reset GDB for subsequent
1360 2014-06-17 Yao Qi <yao@codesourcery.com>
1362 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1365 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
1367 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1368 Initialize ptr and S explicitly.
1369 (skip_type_update_when_not_use_rtti_test): Likewise.
1371 2014-06-16 Keith Seitz <keiths@redhat.com>
1374 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1375 the inferior is started.
1377 2014-06-16 Pedro Alves <palves@redhat.com>
1379 * gdb.base/break-main-file-remove-fail.c: New file.
1380 * gdb.base/break-main-file-remove-fail.exp: New file.
1381 * gdb.base/break-unload-file.exp: Use build_executable instead of
1382 prepare_for_testing.
1383 (test_break): New parameter "initial_load". Handle it.
1384 (top level): Add initial_load cmdline/file axis.
1386 2014-06-12 Tom Tromey <tromey@redhat.com>
1388 * gdb.base/completion.exp: Don't use directory name in test.
1390 2014-06-09 Gary Benson <gbenson@redhat.com>
1392 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1393 separate the always-available ANSI-standard signals from the
1394 signals that require checking.
1396 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1400 2014-06-07 Keith Seitz <keiths@redhat.com>
1404 * gdb.cp/var-tag.cc: New file.
1405 * gdb.cp/var-tag.exp: New file.
1406 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1407 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1408 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1409 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1411 2014-06-06 Doug Evans <xdje42@gmail.com>
1413 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1415 2014-06-06 Pedro Alves <palves@redhat.com>
1417 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1418 in target debug output instead of looking at RSP packets,
1419 disabling the test on any target that uses hardware stepping.
1422 2014-06-06 Pedro Alves <palves@redhat.com>
1424 * gdb.base/break-unload-file.exp: Fix typo.
1426 2014-06-06 Yao Qi <yao@codesourcery.com>
1428 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1429 from "jit_function" to "^jit_function".
1431 2014-06-06 Yao Qi <yao@codesourcery.com>
1433 * gdb.base/async.c (foo): Add one statement.
1434 * gdb.base/async.exp: Get the next instruction address and
1435 match the output of "nexti" by instruction address. Match
1436 the hex address in the output of "finish".
1438 2014-06-06 Gary Benson <gbenson@redhat.com>
1440 * gdb.base/call-signals.c: Remove preprocessor conditionals
1441 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1442 SIGSEGV and SIGTERM.
1443 * gdb.base/sigall.c: Likewise.
1444 * gdb.base/unwindonsignal.c: Likewise.
1445 * gdb.reverse/sigall-reverse.c: Likewise.
1447 2014-06-06 Yao Qi <yao@codesourcery.com>
1449 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1450 readable, skip the test.
1452 2014-06-06 Yao Qi <yao@codesourcery.com>
1454 * gdb.threads/staticthreads.c (thread_function): Move the line
1455 setting breakpoint on forward.
1456 * gdb.threads/staticthreads.exp: Update comments.
1458 2014-06-05 Ludovic Courtès <ludo@gnu.org>
1460 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1461 "history-append! type error".
1463 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1465 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1466 erroneous dprintf expected input.
1468 2014-06-04 Doug Evans <xdje42@gmail.com>
1470 * gdb.guile/scm-generics.exp: Delete.
1472 2014-06-04 Doug Evans <xdje42@gmail.com>
1474 * gdb.guile/scm-breakpoint.exp: Update.
1475 Add tests for breakpoint registration.
1477 2014-06-04 Tom Tromey <tromey@redhat.com>
1479 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1481 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1482 inner_vla_struct, vla_union types. Initialize objects of those
1483 types and compute their sizes.
1485 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1486 Hui Zhu <hui@codesourcery.com>
1488 * gdb.base/fileio.exp: Add test for shell not available as well as
1490 * gdb.base/fileio.c (test_system): Check for shell twice.
1492 2014-06-04 Yao Qi <yao@codesourcery.com>
1494 * gdb.base/auto-connect-native-target.exp: Remove redundant
1495 space from the regexp pattern.
1497 2014-06-04 Yao Qi <yao@codesourcery.com>
1499 * gdb.base/default.exp: Replace "child" with "native" in
1502 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1504 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1505 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1506 * gdb.python/py-xmethods.py: Python script supporting the
1507 new testcase and tests.
1509 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1510 Pedro Alves <palves@redhat.com>
1512 PR breakpoints/17000
1513 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1514 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1516 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1518 * gdb.base/subst.exp: Add tests to verify partial path matching
1521 2014-06-03 Pedro Alves <palves@redhat.com>
1523 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1524 target that doesn't use software single-stepping.
1526 2014-06-03 Pedro Alves <palves@redhat.com>
1528 PR breakpoints/17000
1529 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1530 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1532 2014-06-02 Doug Evans <xdje42@gmail.com>
1534 * gdb.guile/scm-parameter.exp: New file.
1536 2014-06-02 Doug Evans <xdje42@gmail.com>
1538 * gdb.guile/scm-cmd.c: New file.
1539 * gdb.guile/scm-cmd.exp: New file.
1541 2014-06-02 Doug Evans <xdje42@gmail.com>
1543 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1544 pretty-printer lookup.
1545 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1546 (make-pp_s-printer): Call it.
1547 (make-pretty-printer-from-dict): New function.
1548 (lookup-pretty-printer-maker-from-dict): New function.
1549 (*pretty-printer*): Simplify.
1550 (make-objfile-pp_s-printer): New function.
1551 (install-objfile-pretty-printers!): New function.
1552 (make-progspace-pp_s-printer): New function.
1553 (install-progspace-pretty-printers!): New function.
1554 * gdb.guile/scm-progspace.c: New file.
1555 * gdb.guile/scm-progspace.exp: New file.
1557 2014-06-02 Pedro Alves <palves@redhat.com>
1559 * gdb.base/dprintf-bp-same-addr.c: New file.
1560 * gdb.base/dprintf-bp-same-addr.exp: New file.
1562 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1564 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1565 * gdb.arch/powerpc-power.s: Likewise.
1567 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1569 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1571 2014-06-01 Yao Qi <yao@codesourcery.com>
1573 * gdb.base/watchpoint.exp (test_watch_location): Check null
1574 pointer can be dereferenced. If not, do the test, otherwise
1577 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1579 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1581 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1583 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1585 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1586 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1587 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1588 * gdb.arch/amd64-invalid-stack-top.c: New file.
1589 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1591 2014-05-30 Pedro Alves <palves@redhat.com>
1593 PR breakpoints/17000
1594 * gdb.base/sss-bp-on-user-bp.c: New file.
1595 * gdb.base/sss-bp-on-user-bp.exp: New file.
1597 2014-05-30 David Blaikie <dblaikie@gmail.com>
1599 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1600 gnu_inline semantics via attribute.
1601 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1602 source explicitly specifies the required semantics.
1604 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1606 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1608 2014-05-29 Pedro Alves <palves@redhat.com>
1609 Tom Tromey <tromey@redhat.com>
1611 * gdb.base/async-shell.exp: Don't enable target-async.
1612 * gdb.base/async.exp
1613 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1615 (top level): Don't test with "target-async".
1616 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1617 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1618 * gdb.base/inferior-died.exp: Don't enable target-async.
1619 * gdb.base/interrupt-noterm.exp: Likewise.
1620 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1621 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1622 * gdb.mi/mi-nonstop.exp: Likewise.
1623 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1624 * gdb.mi/mi-nsintrall.exp: Likewise.
1625 * gdb.mi/mi-nsmoribund.exp: Likewise.
1626 * gdb.mi/mi-nsthrexec.exp: Likewise.
1627 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1628 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1629 * gdb.python/py-evsignal.exp: Don't enable target-async.
1630 * gdb.python/py-evthreads.exp: Likewise.
1631 * gdb.python/py-prompt.exp: Likewise.
1632 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1633 * gdb.server/solib-list.exp: Don't enable target-async.
1634 * gdb.threads/thread-specific-bp.exp: Likewise.
1635 * lib/mi-support.exp: Adjust to use mi-async.
1637 2014-05-29 Pedro Alves <palves@redhat.com>
1640 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1641 reason, even in sync mode.
1643 2014-05-29 Pedro Alves <palves@redhat.com>
1644 Hui Zhu <hui@codesourcery.com>
1647 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1648 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1649 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1650 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1652 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1654 * config/monitor.exp (gdb_target_monitor): Replace use of
1655 "set remotebaud" by "set serial baud".
1657 2014-05-26 Andy Wingo <wingo@igalia.com>
1659 * gdb.guile/scm-breakpoint.exp:
1660 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1661 properties instead of gdb-object-properties.
1663 2014-05-26 Yao Qi <yao@codesourcery.com>
1665 * gdb.server/no-thread-db.exp: Specify source file name
1666 explicitly when setting a breakpoint.
1668 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1670 * gdb.btrace/vdso.c: New.
1671 * gdb.btrace/vdso.exp: New.
1673 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1675 * gdb.base/gcore.exp (capture_command_output): Move ...
1676 * lib/gdb.exp (capture_command_output): ... here.
1678 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1680 * gdb.btrace/data.exp: Test memory access during btrace replay.
1682 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1684 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1686 2014-05-21 Pedro Alves <palves@redhat.com>
1689 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1690 (top level): Test that output related to execution commands is
1691 sent to the console with CLI commands, but not with MI commands.
1692 Test that breakpoint events are always mirrored to the console.
1693 Also expect the new source line to be output after a "next" in
1694 async mode too. Make it a pass/fail test.
1695 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1697 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1699 2014-05-21 Pedro Alves <palves@redhat.com>
1701 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1702 Use them to test variations of "list" after reaching a breakpoint.
1703 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1704 Test "list" with listsize 10 after reaching a breakpoint.
1705 * gdb.python/python.exp (decode_line current location line
1706 number): Adjust expected line number.
1708 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1710 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1711 behavior for $args, pass it directly to "run".
1713 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1715 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1718 2014-05-21 Pedro Alves <palves@redhat.com>
1720 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1721 auto-connect-native-target off".
1722 * gdb.base/auto-connect-native-target.c: New file.
1723 * gdb.base/auto-connect-native-target.exp: New file.
1725 2014-05-21 Pedro Alves <palves@redhat.com>
1727 * gdb.base/default.exp: Test "target native" instead of "target
1730 2014-05-21 Mark Wielaard <mjw@redhat.com>
1732 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1734 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1736 Fix TLS access for -static -pthread.
1737 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1738 <HAVE_TLS> (thread_function, main): Initialize it.
1739 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1741 <$have_tls != "">: Check TLSVAR.
1743 2014-05-21 Pedro Alves <palves@redhat.com>
1745 * gdb.base/dcache-line-read-error.c: New.
1746 * gdb.base/dcache-line-read-error.exp: New.
1748 2014-05-20 Pedro Alves <palves@redhat.com>
1750 * gdb.base/compare-sections.c: New file.
1751 * gdb.base/compare-sections.exp: New file.
1753 2014-05-20 Pedro Alves <palves@redhat.com>
1755 * gdb.base/break-idempotent.c: New file.
1756 * gdb.base/break-idempotent.exp: New file.
1758 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1760 * gdb.btrace/nohist.exp: New.
1762 2014-05-20 Yao Qi <yao@codesourcery.com>
1764 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1765 gdb.reverse directory and gdb_reverse_timeout exists in board
1767 * README: Document gdb_reverse_timeout.
1769 2014-05-20 Yao Qi <yao@codesourcery.com>
1771 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1772 'test_file_name'. Treat args as a string instead of a list.
1773 (gdb_init): Rename argument 'args' by 'test_file_name'.
1775 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1777 * gdb.arch/powerpc-power.exp: New file.
1778 * gdb.arch/powerpc-power.s: New file.
1780 2014-05-16 Doug Evans <dje@google.com>
1782 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
1783 * gdb.base/completion.exp: Check that all expected files exist
1784 before doing file completion.
1786 2014-05-16 Doug Evans <dje@google.com>
1788 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1790 (do_syscall_tests_without_xml): Update.
1792 2014-05-16 Pedro Alves <palves@redhat.com>
1794 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1795 instead of "unknown output after running".
1797 2014-05-16 Yao Qi <yao@codesourcery.com>
1799 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1800 file1.txt from host at the end.
1801 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1803 2014-05-15 Doug Evans <dje@google.com>
1805 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1806 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1807 loading file. Add test for TU lookup.
1809 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1811 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1812 calling "-exec-arguments" or "set args" before running the
1815 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1817 * lib/mi-support.exp (mi_expect_stop): Expect message for
1818 inferiors that exit with non-zero exit code.
1820 2014-05-14 Yao Qi <yao@codesourcery.com>
1822 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1823 match absolute path on remote host.
1824 (test_file_list_exec_source_files): Remove "/" from the
1827 2014-05-14 Yao Qi <yao@codesourcery.com>
1829 * boards/local-remote-host-notty.exp (${board}_file): New
1832 2014-05-07 Kyle McMartin <kyle@redhat.com>
1834 Pushed by Joel Brobecker <brobecker@adacore.com>.
1835 * gdb.arch/aarch64-atomic-inst.c: New file.
1836 * gdb.arch/aarch64-atomic-inst.exp: New file.
1838 2014-05-07 Yao Qi <yao@codesourcery.com>
1840 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1841 in current context" too.
1843 2014-05-05 Keith Seitz <keiths@redhat.com>
1845 * gdb.linespec/ls-dollar.exp: Add test for linespec
1846 file:convenience_variable.
1848 2014-05-05 Yao Qi <yao@codesourcery.com>
1850 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
1851 traceframes into tfile and ctf trace files. Read data from
1852 trace file and test collected data.
1853 (gdb_collect_locals_test): Likewise.
1854 (gdb_unavailable_registers_test): Likewise.
1855 (gdb_unavailable_floats): Likewise.
1856 (gdb_collect_globals_test): Likewise.
1857 (top-level): Append "ctf" to trace_file_targets if GDB
1860 2014-05-05 Yao Qi <yao@codesourcery.com>
1862 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
1864 (gdb_collect_args_test_1): ... it. New proc.
1865 (gdb_collect_locals_test): Move some code to ...
1866 (gdb_collect_locals_test_1): ... it. New proc.
1867 (gdb_unavailable_registers_test): Move some code to ...
1868 (gdb_unavailable_registers_test_1): ... it. New proc.
1869 (gdb_unavailable_floats): Move some code to ...
1870 (gdb_unavailable_floats_1): ... it. New proc.
1872 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1874 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
1875 probes to test for bitness recognition.
1876 * gdb.arch/amd64-stap-optional-prefix.exp
1877 (test_probe_value_without_reg): New procedure.
1878 Add code to test for different kinds of bitness.
1880 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1882 PR breakpoints/16889
1883 * gdb.arch/amd64-stap-optional-prefix.S: New file.
1884 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1886 2014-05-01 Pedro Alves <palves@redhat.com>
1888 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
1889 gdb_file_cmd if no file is specified.
1890 * boards/native-extended-gdbserver.exp (gdb_load): Use the
1891 last_loaded_file to set the remote exec-file.
1893 2014-05-01 Pedro Alves <palves@redhat.com>
1895 * boards/local-remote-host.exp: New file.
1897 2014-05-01 Pedro Alves <palves@redhat.com>
1899 * boards/local-remote-host.exp: Rename to ...
1900 * boards/local-remote-host-notty.exp: ... this.
1902 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1904 * gdb.ada/dyn_arrayidx: New testcase.
1906 2014-04-26 Yao Qi <yao@codesourcery.com>
1908 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
1909 and compute the length of function main. Save it in
1911 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
1912 (top-level): Use gdb_compile to compile objects into
1913 executable and restart GDB. Remove invocation to
1914 prepare_for_testing.
1916 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
1917 Pedro Alves <palves@redhat.com>
1920 * gdb.multi/multi-attach.c: New file.
1921 * gdb.multi/multi-attach.exp: New file.
1923 2014-04-25 Pedro Alves <palves@redhat.com>
1925 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
1927 (top level): Test that "set remote conditional-breakpoints-packet
1928 off" works as intended.
1929 * gdb.base/dprintf.exp: Test that "set remote
1930 breakpoint-commands-packet off" works as intended.
1931 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
1933 (top level): Call it.
1934 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
1935 remote fast-tracepoints-packet off" works as intended.
1936 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
1937 * lib/gdb.exp (gdb_is_target_remote): ... here.
1939 2014-04-24 David Blaikie <dblaikie@gmail.com>
1941 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
1942 ensure clang would not discard them.
1943 * gdb.base/gdbvars.c: Ditto.
1944 * gdb.base/memattr.c: Ditto.
1945 * gdb.base/whatis.c: Ditto.
1946 * gdb.python/py-prettyprint.c: Ditto.
1947 * gdb.trace/actions.c: Ditto.
1948 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
1949 ensure clang would not discard it.
1951 2014-04-24 David Blaikie <dblaikie@gmail.com>
1953 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1954 clang to emit the full definition of type required by the test
1955 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1957 2014-04-24 David Blaikie <dblaikie@gmail.com>
1959 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1960 coax Clang into emitting the definition of the type.
1961 * gdb.cp/pr10728-x.h (y): Ditto.
1962 * gdb.cp/pr10728-y.cc (y): Ditto.
1964 2014-04-24 David Blaikie <dblaikie@gmail.com>
1966 * gdb.base/label.exp: XFAIL label related tests under Clang.
1967 * gdb.cp/cplabel.exp: Ditto.
1968 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
1969 under Clang those using labels.
1971 2014-04-25 Yao Qi <yao@codesourcery.com>
1973 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
1975 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
1976 partial_label and double_label.
1978 2014-04-24 David Blaikie <dblaikie@gmail.com>
1980 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
1982 2014-04-24 David Blaikie <dblaikie@gmail.com>
1984 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
1985 of the function to work across GCC and Clang.
1986 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
1987 pointer types (const void ** const V void **).
1989 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
1990 Walfred Tedeschi <walfred.tedeschi@intel.com>
1992 * Makefile.in (EXECUTABLES): Added i386-avx512.
1993 * gdb.arch/i386-avx512.c: New file.
1994 * gdb.arch/i386-avx512.exp: Likewise.
1996 2014-04-23 Keith Seitz <keiths@redhat.com>
1998 * lib/mi-support.exp (mi_list_breakpoints): Delete.
1999 (mi_make_breakpoint_table): New procedure.
2000 (mi_create_breakpoint): Use mi_make_breakpoint
2001 and return the result.
2002 (mi_make_breakpoint): New procedure.
2003 (mi_build_kv_pairs): New procedure.
2005 * gdb.mi/mi-break.exp: Remove unused globals,
2006 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
2007 All callers updated.
2008 * gdb.mi/mi-dprintf.exp: Use variable to track command
2010 Update all callers of mi_create_breakpoint and use
2011 mi_make_breakpoint_table.
2012 Remove any unused global variables.
2013 * gdb.mi/mi-nonstop.exp: Likewise.
2014 * gdb.mi/mi-nsintrall.exp: Likewise.
2015 * gdb.mi/mi-nsmoribund.exp: Likewise.
2016 * gdb.mi/mi-nsthrexec.exp: Likewise.
2017 * gdb.mi/mi-reverse.exp: Likewise.
2018 * gdb.mi/mi-simplerun.exp: Likewise.
2019 * gdb.mi/mi-stepn.exp: Likewise.
2020 * gdb.mi/mi-syn-frame.exp: Likewise.
2021 * gdb.mi/mi-until.exp: Likewise.
2022 * gdb.mi/mi-var-cp.exp: Likewise.
2023 * gdb.mi/mi-var-display.exp: Likewise.
2024 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2025 * gdb.mi/mi2-var-child.exp: Likewise.
2026 * gdb.mi/mi-vla-c99.exp: Likewise.
2027 * lib/mi-support.exp: Likewise.
2029 From Ian Lance Taylor <iant@cygnus.com>:
2030 * lib/gdb.exp (parse_args): New procedure.
2032 2014-04-23 Pedro Alves <palves@redhat.com>
2034 * gdb.base/break-unload-file.c: New file.
2035 * gdb.base/break-unload-file.exp: New file.
2036 * gdb.base/sym-file-lib.c (baz): New function.
2037 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
2039 (load): Store the segment's mapped size.
2040 (unload): New function.
2041 (unload_shlib): New function.
2042 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
2043 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
2044 set a breakpoint at baz, and call it.
2045 * gdb.base/sym-file.exp: New tests for stale breakpoint
2048 2014-04-23 Pedro Alves <palves@redhat.com>
2050 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
2051 * gdb.base/hbreak-in-shr-unsupported.c: New file.
2052 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
2053 * gdb.base/hbreak-unmapped.c: New file.
2054 * gdb.base/hbreak-unmapped.exp: New file.
2055 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
2056 * lib/gdb.exp (gdb_is_target_remote): ... here.
2058 2014-04-22 Pedro Alves <palves@redhat.com>
2060 * gdb.base/consecutive-step-over.c: New file.
2061 * gdb.base/consecutive-step-over.exp: New file.
2063 2014-04-22 Pedro Alves <palves@redhat.com>
2065 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
2066 instead of send_gdb/gdb_expect.
2068 2014-04-22 Yao Qi <yao@codesourcery.com>
2070 * lib/trace-support.exp (generate_tracefile): New procedure.
2071 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
2073 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
2074 if generate_tracefile returns 1.
2076 2014-04-18 Tom Tromey <palves@redhat.com>
2077 Pedro alves <tromey@redhat.com>
2080 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
2081 with a backtrace limit.
2082 * gdb.python/py-frame-inline.exp: Test running to an inline
2083 function with a backtrace limit, and printing the newest frame.
2084 * gdb.python/py-frame-inline.c (main): Call f.
2086 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2088 * gdb.java/jnpe.exp: Drop srcdir from untested path.
2090 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2092 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
2093 Drop prefix from unsupported source file path.
2095 2014-04-17 Yao Qi <yao@codesourcery.com>
2097 * lib/gdb.exp (with_target_charset): New proc.
2098 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
2099 with_target_charset.
2100 (test_print_strings): Likewise.
2101 (test_repeat_bytes): Likewise.
2102 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
2105 2014-04-16 Keith Seitz <keiths@redhat.com>
2108 * gdb.dwarf2/corrupt.c: New file.
2109 * gdb.dwarf2/corrupt.exp: New file.
2111 2014-04-16 Keith Seitz <keiths@redhat.com>
2114 * gdb.cp/namelessclass.cc: New file.
2115 * gdb.cp/namelessclass.exp: New file.
2116 * gdb.cp/namelessclass.S: New file.
2118 2014-04-16 Doug Evans <dje@google.com>
2120 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
2122 (gdbserver_default_get_comm_port): New function.
2123 (gdbserver_start): Check if board file provided
2124 "gdbserver,get_comm_port" and use it if so.
2125 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
2126 (gdb,socketport): Set to "stdio".
2127 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
2128 (stdio_gdbserver_template): Delete.
2129 (${board}_get_remote_address): Update.
2130 (${board}_build_remote_cmd): Delete.
2131 (${board}_get_comm_port): New function.
2132 (${board}_spawn): Update.
2133 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
2135 (${board}_get_remote_address): Update.
2136 (${board}_get_comm_port): New function.
2138 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
2140 * gdb.base/memattr.exp: Improve regexps to handle memory regions
2141 appearing in any order.
2143 2014-04-15 Doug Evans <dje@google.com>
2145 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
2146 uninitialized value of "description".
2148 2014-04-15 Keith Seitz <keiths@redhat.com>
2150 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
2151 Remove unused globals.
2152 (test_running_the_program): Likewise.
2153 (test_controlled_execution): Likewise.
2154 (test_controlling_breakpoints): Likewise.
2155 (test_program_termination): Likewise.
2157 2014-04-15 Keith Seitz <keiths@redhat.com>
2159 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
2161 (test_rbreak_creation_and_listing): Likewise.
2162 (test_ignore_count): Likewise.
2163 (test_error): Likewise.
2165 2014-04-15 Pedro Alves <palves@redhat.com>
2167 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2168 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2170 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2171 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2172 to sym-file-loader.c.
2173 (struct library): Forward declare.
2174 (load_shlib, lookup_function): Change prototypes.
2175 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2176 (translate_offset): Remove declarations.
2177 (get_text_addr): New declaration.
2178 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2179 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2181 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2182 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2183 here from sym-file-loader.h.
2184 (struct library): New structure.
2185 (load_shlib, lookup_function): Change prototypes and adjust to
2186 work with a struct library.
2187 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2188 (translate_offset): Make static.
2189 (get_text_addr): New function.
2190 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
2192 2014-04-15 Pedro Alves <palves@redhat.com>
2194 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
2196 2014-04-15 Pedro Alves <palves@redhat.com>
2198 * gdb.base/sym-file-loader.c: Include <limits.h>.
2199 (SELF_LINK): New define.
2200 (get_origin): New function.
2201 (load_shlib): Use it.
2202 * gdb.base/sym-file.exp: Don't early return if the target is
2203 remote. Use runto_main, and issue fail is that fails. Use
2205 (shlib_name): Delete.
2206 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
2208 2014-04-15 Pedro Alves <palves@redhat.com>
2210 * gdb.base/sym-file.exp: Remove regex characters from test
2211 message. Don't refer to breakpoint numbers in test messages.
2213 2014-04-14 Keith Seitz <keiths@redhat.com>
2216 * gdb.cp/var-tag.cc: New file.
2217 * gdb.cp/var-tag.exp: New file.
2218 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2219 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2220 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2221 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2223 2014-04-14 Tom Tromey <tromey@redhat.com>
2225 * gdb.cp/classes.exp (test_enums): Handle underlying type.
2226 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
2228 * gdb.cp/enum-class.exp: New file.
2229 * gdb.cp/enum-class.cc: New file.
2231 2014-04-14 Tom Tromey <tromey@redhat.com>
2233 * gdb.dwarf2/enum-type.exp: New file.
2235 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2237 * gdb.mi/mi-vla-c99.exp: New file.
2238 * gdb.mi/vla.c: New file.
2240 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2242 * gdb.base/vla-datatypes.c: New file.
2243 * gdb.base/vla-datatypes.exp: New file.
2245 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2247 * gdb.base/vla-ptr.c: New file.
2248 * gdb.base/vla-ptr.exp: New file.
2250 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2252 * gdb.dwarf2/count.exp: New file.
2254 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2256 * gdb.base/vla-sideeffect.c: New file.
2257 * gdb.base/vla-sideeffect.exp: New file.
2259 2014-04-14 David Blaikie <dblaikie@gmail.com>
2261 * gdb.mi/non-stop.c: Add return value for non-void function return
2263 * gdb.threads/staticthreads.c: Ditto.
2265 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2266 Doug Evans <xdje42@gmail.com>
2268 * gdb.guile/scm-value.c: Improve test case.
2269 * gdb.guile/scm-value.exp: Add new test.
2271 2014-04-11 David Blaikie <dblaikie@gmail.com>
2273 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2274 override Clang's default.
2276 2014-04-11 Joel Brobecker <brobecker@adacore.com>
2278 Revert the following changes (regressions):
2280 * gdb.base/vla-sideeffect.c: New file.
2281 * gdb.base/vla-sideeffect.exp: New file.
2283 * gdb.dwarf2/count.exp: New file.
2285 * gdb.base/vla-multi.c: New file.
2286 * gdb.base/vla-multi.exp: New file.
2288 * gdb.base/vla-ptr.c: New file.
2289 * gdb.base/vla-ptr.exp: New file.
2291 * gdb.base/vla-datatypes.c: New file.
2292 * gdb.base/vla-datatypes.exp: New file.
2294 * gdb.mi/mi-vla-c99.exp: New file.
2295 * gdb.mi/vla.c: New file.
2297 2014-04-11 Keith Seitz <keiths@redhat.com>
2300 * gdb.cp/cpsizeof.exp: New file.
2301 * gdb.cp/cpsizeof.cc: New file.
2303 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2305 * gdb.mi/mi-vla-c99.exp: New file.
2306 * gdb.mi/vla.c: New file.
2308 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2310 * gdb.base/vla-datatypes.c: New file.
2311 * gdb.base/vla-datatypes.exp: New file.
2313 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2315 * gdb.base/vla-ptr.c: New file.
2316 * gdb.base/vla-ptr.exp: New file.
2318 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2320 * gdb.base/vla-multi.c: New file.
2321 * gdb.base/vla-multi.exp: New file.
2323 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2325 * gdb.dwarf2/count.exp: New file.
2327 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2329 * gdb.base/vla-sideeffect.c: New file.
2330 * gdb.base/vla-sideeffect.exp: New file.
2332 2014-04-11 Yao Qi <yao@codesourcery.com>
2334 * gdb.base/completion.exp: Check file exists before running tests
2337 2014-04-10 Pedro Alves <palves@redhat.com>
2339 * gdb.base/cond-eval-mode.c: New file.
2340 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2341 prepare_for_testing to build the new file. Check result of
2343 (test_break, test_watch): New procedures.
2344 (top level): Use them.
2346 2014-04-08 Pierre Muller <muller@sourceware.org>
2348 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2349 Ctrl-V use for mingw hosts.
2351 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2353 * gdb.python/py-value.c: Improve test case.
2354 * gdb.python/py-value.exp: Add new test.
2356 2014-04-07 David Blaikie <dblaikie@gmail.com>
2358 * lib/compiler.c: Identify the clang compiler.
2359 * lib/compiler.cc: Ditto.
2361 2014-04-03 Yao Qi <yao@codesourcery.com>
2363 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2365 2014-04-01 Anton Blanchard <anton@samba.org>
2367 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2370 2014-04-01 Anton Blanchard <anton@samba.org>
2372 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2373 prepare_for_testing.
2375 2014-04-01 Anton Blanchard <anton@samba.org>
2377 * gdb.arch/ppc64-atomic-inst.c: Remove.
2378 * gdb.arch/ppc64-atomic-inst.S: New file.
2379 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2381 2014-03-31 Doug Evans <dje@google.com>
2383 * gdb.base/print-symbol-loading-lib.c: New file.
2384 * gdb.base/print-symbol-loading-main.c: New file.
2385 * gdb.base/print-symbol-loading.exp: New file.
2387 2014-03-31 Yao Qi <yao@codesourcery.com>
2389 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2391 2014-03-28 Joel Brobecker <brobecker@adacore.com>
2393 * gdb.ada/mi_dyn_arr: New testcase.
2395 2014-03-27 Doug Evans <dje@google.com>
2397 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2399 2014-03-27 Yao Qi <yao@codesourcery.com>
2401 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2402 if target is nios2-*-*.
2404 2014-03-26 Yao Qi <yao@codesourcery.com>
2406 * lib/gdb.exp (readline_is_used): New proc.
2407 * gdb.base/completion.exp: Move tests on command complete up.
2408 Skip the rest of tests if readline is not used.
2409 * gdb.ada/complete.exp: Skp the test if readline is not
2411 * gdb.base/filesym.exp: Likewise.
2412 * gdb.base/macscp.exp: Likewise.
2413 * gdb.base/readline-ask.exp: Likewise.
2414 * gdb.base/readline.exp: Likewise.
2415 * gdb.python/py-cmd.exp: Likewise.
2416 * gdb.trace/tfile.exp: Likewise.
2418 2014-03-26 Yao Qi <yao@codesourcery.com>
2420 * gdb.base/macscp.exp: Fix code format issues.
2422 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2424 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2425 * gdb.asm/powerpc64le.inc: New file.
2427 2014-03-25 Pedro Alves <palves@redhat.com>
2428 Doug Evans <dje@google.com>
2430 * gdb.base/source-execution.c: New file.
2431 * gdb.base/source-execution.exp: New file.
2432 * gdb.base/source-execution.gdb: New file.
2434 2014-03-24 Doug Evans <dje@google.com>
2436 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2439 2014-03-24 Hui Zhu <hui@codesourcery.com>
2440 Pedro Alves <palves@redhat.com>
2442 PR breakpoints/16101
2443 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2444 test pass/fail messages. Detect missing support for dprintf when
2445 breakpoints are actually inserted.
2446 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2447 breakpoints are actually inserted.
2448 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2451 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2453 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2455 2014-03-22 Doug Evans <xdje42@gmail.com>
2457 * gdb.python/python.exp (python not supported): Verify multi-line
2458 python command issues an error.
2459 * gdb.guile/guile.exp (guile not supported): Verify multi-line
2460 guile command issues an error.
2462 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2464 * gdb.threads/thread-specific.exp: Handle the lack of usable
2465 $this_breakpoint and $this_thread.
2467 2014-03-21 Hui Zhu <hui@codesourcery.com>
2469 * gdb.base/attach.exp (do_command_attach_tests): New.
2471 2014-03-20 Tom Tromey <tromey@redhat.com>
2472 Pedro Alves <palves@redhat.com>
2475 * gdb.base/condbreak-call-false.c: New file.
2476 * gdb.base/condbreak-call-false.exp: New file.
2478 2014-03-20 Pedro Alves <palves@redhat.com>
2480 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2482 (block_signals, unblock_signals): Delete.
2483 (child_function_2, main): Remove references to deleted variable
2486 2014-03-20 Pedro Alves <palves@redhat.com>
2488 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2489 Use pthread_kill to signal thread 2.
2490 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2491 Adjust to make the test send itself a signal rather than using the
2492 host's "kill" command.
2494 2014-03-20 Pedro Alves <palves@redhat.com>
2496 * gdb.threads/multiple-step-overs.c: New file.
2497 * gdb.threads/multiple-step-overs.exp: New file.
2498 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2499 Adjust expected infrun debug output.
2501 2014-03-20 Pedro Alves <palves@redhat.com>
2503 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2504 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2506 2014-03-20 Pedro Alves <palves@redhat.com>
2509 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2510 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2511 of gdb_test_multiple.
2512 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2513 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2515 2014-03-20 Pedro Alves <palves@redhat.com>
2517 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2518 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2520 2014-03-19 Pedro Alves <palves@redhat.com>
2522 * gdb.base/async.exp: Remove early return.
2524 2014-03-19 Pedro Alves <palves@redhat.com>
2526 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2528 2014-03-19 Pedro Alves <palves@redhat.com>
2530 * gdb.base/async.exp (test_background): Expect \r\n after
2531 "completed." in the fail pattern.
2533 2014-03-19 Pedro Alves <palves@redhat.com>
2535 * gdb.base/async.exp (test_background): New procedure.
2536 Use it for all background execution command tests.
2538 2014-03-19 Pedro Alves <palves@redhat.com>
2540 * gdb.base/async.exp: Use prepare_for_testing.
2542 2014-03-19 Pedro Alves <palves@redhat.com>
2544 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2547 2014-03-19 Pedro Alves <palves@redhat.com>
2549 * gdb.base/async.c (main): Add "jump here" and "until here" line
2551 * gdb.base/async.exp (jump_here): New global.
2552 (jump& test): Use it.
2553 (until_here): New global.
2554 (until& test): Use it.
2556 2014-03-19 Pedro Alves <palves@redhat.com>
2558 * gdb.base/async.exp: Don't frob gdb_protocol.
2560 2014-03-18 Doug Evans <xdje42@gmail.com>
2562 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2563 Fix spelling of exec-done-display.
2565 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2568 * gdb.base/gdb-sigterm.c: New file.
2569 * gdb.base/gdb-sigterm.exp: New file.
2571 2014-03-18 Pedro Alves <palves@redhat.com>
2574 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2575 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2578 2014-03-17 Joel Brobecker <brobecker@adacore.com>
2580 * gdb.ada/pckd_arr_ren: New testcase.
2582 2014-03-13 Doug Evans <xdje42@gmail.com>
2585 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2586 collect after discarding symbols.
2588 2014-03-13 Ludovic Courtès <ludo@gnu.org>
2589 Doug Evans <xdje42@gmail.com>
2591 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2592 to history survives a gc.
2594 2014-03-13 Pedro Alves <palves@redhat.com>
2596 * gdb.base/default.exp: Don't test "target procfs".
2598 2014-03-13 Pedro Alves <palves@redhat.com>
2600 * gdb.base/default.exp: Update "target child" and "target procfs"
2601 tests to not expect "Unix".
2603 2014-03-12 Tom Tromey <tromey@redhat.com>
2605 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2606 New procs. Add target-async tests.
2607 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2608 Add target-async tests.
2610 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2612 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2613 'func_start' and 'func_end' for the beginning and end of the
2614 function code, respectively.
2615 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2616 'func_end' instead of 'func' and 'main'.
2618 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2620 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2621 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2622 generate the debug info assembler source.
2624 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2626 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2627 * gdb.dwarf2/arr-subrange.exp: Likewise.
2628 * gdb.dwarf2/dwz.exp: Likewise.
2629 * gdb.dwarf2/method-ptr.exp: Likewise.
2630 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2631 * gdb.dwarf2/subrange.exp: Likewise.
2632 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2633 * gdb.dwarf2/implptrpiece.exp: Likewise.
2634 * gdb.dwarf2/nostaticblock.exp: Likewise.
2636 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2638 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2639 directory to absolute path name arguments.
2641 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2643 * gdb.ada/tagged_access: New testcase.
2645 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2647 * gdb.btrace/data.exp: Update expected output.
2649 2014-03-06 Yao Qi <yao@codesourcery.com>
2651 * gdb.trace/pr16508.exp: New file.
2653 2014-03-05 Pedro Alves <palves@redhat.com>
2656 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2658 (top level): Adjust to use it. Add tests that exercise breakpoint
2659 interaction with the code-cache.
2661 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2663 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2664 test for 'history-append!'.
2666 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2668 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2669 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2670 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2671 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2672 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2673 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2675 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2677 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2678 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2679 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2681 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2683 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2685 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2687 * gdb.dwarf2/arr-stride.c: New file.
2688 * gdb.dwarf2/arr-stride.exp: New file.
2690 2014-02-26 Pedro Alves <palves@redhat.com>
2692 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2693 that won't ever trigger. Make sure that GDB reports the correct
2694 breakpoint that caused the stop.
2696 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2699 * gdb.base/auto-load-script: New file.
2700 * gdb.base/auto-load.c: New file.
2701 * gdb.base/auto-load.exp: New file.
2704 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2706 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2708 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2709 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2711 2014-02-24 Doug Evans <dje@google.com>
2713 * lib/gdb.exp (run_on_host): Log error output if program fails.
2715 2014-02-21 Pedro Alves <palves@redhat.com>
2717 * gdb.threads/step-after-sr-lock.c: Rename to ...
2718 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2719 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2720 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2723 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2726 * gdb.arch/amd64-stap-special-operands.exp: New file.
2727 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2728 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2729 * gdb.arch/amd64-stap-triplet.S: Likewise.
2730 * gdb.arch/amd64-stap-triplet.c: Likewise.
2732 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2734 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2735 in .section pseudo-op.
2737 2014-02-20 lin zuojian <manjian2006@gmail.com>
2738 Joel Brobecker <brobecker@adacore.com>
2739 Doug Evans <xdje42@gmail.com>
2742 * gdb.dwarf2/dw2-icycle.S: New file.
2743 * gdb.dwarf2/dw2-icycle.c: New file.
2744 * gdb.dwarf2/dw2-icycle.exp: New file.
2746 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2748 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2749 operations on gdb.Value objects.
2750 * gdb.python/py-value-cc.exp: Add new test to test operations on
2753 2014-02-18 Doug Evans <dje@google.com>
2755 * Makefile.in (TESTS): New variable.
2756 (expanded_tests, expanded_tests_or_none): New variables
2757 (check-single): Pass $(expanded_tests_or_none) to runtest.
2758 (check-parallel): Only run tests in $(TESTS) if non-empty.
2759 (check/no-matching-tests-found): New rule.
2760 * README: Document TESTS makefile variable.
2762 2014-02-18 Doug Evans <dje@google.com>
2764 * Makefile.in (check-parallel): rm -rf outputs temp.
2766 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2768 Fix "ERROR: no fileid for" in the testsuite.
2769 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2771 2014-02-12 Doug Evans <dje@google.com>
2773 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2774 (MISCELLANEOUS): New variable.
2775 (clean): rm -rf $(MISCELLANEOUS).
2776 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2777 dwp live in the same directory as symlinks, with each symlink pointed
2778 to a differently named file in a different directory.
2780 2014-02-11 Doug Evans <dje@google.com>
2782 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2783 of Tcl file commands.
2785 2014-02-10 Mark Kettenis <kettenis@gnu.org>
2787 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2790 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2792 * gdb.ada/tick_length_array_enum_idx: New testcase.
2794 2014-02-10 Doug Evans <xdje42@gmail.com>
2796 * configure.ac (AC_OUTPUT): Add gdb.guile.
2797 * configure: Regenerate.
2798 * lib/gdb-guile.exp: New file.
2799 * lib/gdb.exp (get_target_charset): New function.
2800 * gdb.base/help.exp: Update expected output from "apropos apropos".
2801 * gdb.guile/Makefile.in: New file.
2802 * gdb.guile/guile.exp: New file.
2803 * gdb.guile/scm-arch.c: New file.
2804 * gdb.guile/scm-arch.exp: New file.
2805 * gdb.guile/scm-block.c: New file.
2806 * gdb.guile/scm-block.exp: New file.
2807 * gdb.guile/scm-breakpoint.c: New file.
2808 * gdb.guile/scm-breakpoint.exp: New file.
2809 * gdb.guile/scm-disasm.c: New file.
2810 * gdb.guile/scm-disasm.exp: New file.
2811 * gdb.guile/scm-equal.c: New file.
2812 * gdb.guile/scm-equal.exp: New file.
2813 * gdb.guile/scm-error.exp: New file.
2814 * gdb.guile/scm-error.scm: New file.
2815 * gdb.guile/scm-frame-args.c: New file.
2816 * gdb.guile/scm-frame-args.exp: New file.
2817 * gdb.guile/scm-frame-args.scm: New file.
2818 * gdb.guile/scm-frame-inline.c: New file.
2819 * gdb.guile/scm-frame-inline.exp: New file.
2820 * gdb.guile/scm-frame.c: New file.
2821 * gdb.guile/scm-frame.exp: New file.
2822 * gdb.guile/scm-generics.exp: New file.
2823 * gdb.guile/scm-gsmob.exp: New file.
2824 * gdb.guile/scm-iterator.c: New file.
2825 * gdb.guile/scm-iterator.exp: New file.
2826 * gdb.guile/scm-math.c: New file.
2827 * gdb.guile/scm-math.exp: New file.
2828 * gdb.guile/scm-objfile-script-gdb.in: New file.
2829 * gdb.guile/scm-objfile-script.c: New file.
2830 * gdb.guile/scm-objfile-script.exp: New file.
2831 * gdb.guile/scm-objfile.c: New file.
2832 * gdb.guile/scm-objfile.exp: New file.
2833 * gdb.guile/scm-ports.exp: New file.
2834 * gdb.guile/scm-pretty-print.c: New file.
2835 * gdb.guile/scm-pretty-print.exp: New file.
2836 * gdb.guile/scm-pretty-print.scm: New file.
2837 * gdb.guile/scm-section-script.c: New file.
2838 * gdb.guile/scm-section-script.exp: New file.
2839 * gdb.guile/scm-section-script.scm: New file.
2840 * gdb.guile/scm-symbol.c: New file.
2841 * gdb.guile/scm-symbol.exp: New file.
2842 * gdb.guile/scm-symtab-2.c: New file.
2843 * gdb.guile/scm-symtab.c: New file.
2844 * gdb.guile/scm-symtab.exp: New file.
2845 * gdb.guile/scm-type.c: New file.
2846 * gdb.guile/scm-type.exp: New file.
2847 * gdb.guile/scm-value-cc.cc: New file.
2848 * gdb.guile/scm-value-cc.exp: New file.
2849 * gdb.guile/scm-value.c: New file.
2850 * gdb.guile/scm-value.exp: New file.
2851 * gdb.guile/source2.scm: New file.
2852 * gdb.guile/types-module.cc: New file.
2853 * gdb.guile/types-module.exp: New file.
2855 2014-02-10 Yao Qi <yao@codesourcery.com>
2858 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
2859 * configure: Regenerated.
2860 * Makefile.in: New file.
2862 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2864 * gdb.python/py-framefilter.exp: Fix typo.
2866 2014-02-08 Yao Qi <yao@codesourcery.com>
2868 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
2869 that no =breakpoint-modified is emitted when breakpoints are
2870 modified through MI commands.
2872 2014-02-07 Pedro Alves <pedro@codesourcery.com>
2873 Pedro Alves <palves@redhat.com>
2875 * gdb.threads/step-after-sr-lock.c: New file.
2876 * gdb.threads/step-after-sr-lock.exp: New file.
2878 2014-02-07 Pedro Alves <palves@redhat.com>
2880 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
2882 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2884 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
2885 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
2887 2014-02-06 Doug Evans <xdje42@gmail.com>
2889 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
2892 * gdb.gdb/python-interrupts.exp: New file.
2894 2014-02-05 Yao Qi <yao@codesourcery.com>
2896 * gdb.trace/report.exp (use_collected_data): Test the output
2897 of "info threads" and "info inferiors".
2899 2014-02-05 Yao Qi <yao@codesourcery.com>
2903 2013-05-24 Yao Qi <yao@codesourcery.com>
2905 * gdb.trace/tfile.exp: Test inferior and thread.
2907 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2909 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
2911 * gdb.base/step-bt.c: Call hello via function pointer to make
2912 sure its first instruction is executed on powerpc64le-linux.
2914 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2916 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
2918 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2920 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
2921 of the test patterns for use on little-endian systems.
2923 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2925 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
2926 (decimal_vector): Fix for little-endian.
2928 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2930 * gdb.arch/sparc-sysstep.exp: New file.
2931 * gdb.arch/sparc-sysstep.c: Likewise.
2933 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
2935 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2937 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2939 2014-01-23 Tom Tromey <tromey@redhat.com>
2941 * gdb.ada/array_char_idx: New testcase.
2943 2014-01-23 Tom Tromey <tromey@redhat.com>
2946 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
2947 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2950 2014-01-23 Tom Tromey <tromey@redhat.com>
2953 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2954 string from an inferior frame.
2955 * gdb.python/py-framefilter-mi.exp: Update.
2957 2014-01-22 Doug Evans <dje@google.com>
2959 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2961 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2963 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2965 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2967 * gdb.trace/entry-values.exp: Remove excess space character from
2968 regex patterns. Handle s390 call instruction.
2970 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2972 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
2973 define "*_start" label. Make "name" static.
2974 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
2975 ${name} by references to ${name}_start.
2977 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2979 * gdb.base/info-macros.exp: Remove "debug" from the compile
2982 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2984 * gdb.dlang/demangle.exp: New file.
2986 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2988 * gdb.dlang/primitive-types.exp: New file.
2990 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2992 * configure.ac: Create gdb.dlang/Makefile.
2993 * configure: Regenerate.
2994 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
2995 * gdb.dlang/Makefile.in: New file.
2996 * lib/d-support.exp: New file.
2997 * lib/gdb.exp (skip_d_tests): New proc.
2999 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3001 * gdb.btrace/delta.exp: Check reverse stepi.
3002 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
3003 * gdb.btrace/finish.exp: New.
3004 * gdb.btrace/next.exp: New.
3005 * gdb.btrace/nexti.exp: New.
3006 * gdb.btrace/record_goto.c: Add comments.
3007 * gdb.btrace/step.exp: New.
3008 * gdb.btrace/stepi.exp: New.
3009 * gdb.btrace/multi-thread-step.c: New.
3010 * gdb.btrace/multi-thread-step.exp: New.
3011 * gdb.btrace/rn-dl-bind.c: New.
3012 * gdb.btrace/rn-dl-bind.exp: New.
3013 * gdb.btrace/data.c: New.
3014 * gdb.btrace/data.exp: New.
3015 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3017 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3019 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
3020 * gdb.btrace/exception.exp: Update.
3021 * gdb.btrace/instruction_history.exp: Update.
3022 * gdb.btrace/record_goto.exp: Update.
3023 * gdb.btrace/tailcall.exp: Update.
3024 * gdb.btrace/unknown_functions.exp: Update.
3025 * gdb.btrace/delta.exp: New.
3027 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3029 * gdb.btrace/record_goto.exp: Add backtrace test.
3030 * gdb.btrace/tailcall.exp: Add backtrace test.
3032 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3034 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
3035 * gdb.btrace/record_goto.c: New.
3036 * gdb.btrace/record_goto.exp: New.
3037 * gdb.btrace/x86-record_goto.S: New.
3039 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3041 * gdb.btrace/function_call_history.exp: Update tests.
3042 * gdb.btrace/instruction_history.exp: Update tests.
3044 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3046 * gdb.btrace/function_call_history.exp: Fix expected field
3047 order for "record function-call-history".
3048 Add new tests for "record function-call-history /c".
3049 * gdb.btrace/exception.cc: New.
3050 * gdb.btrace/exception.exp: New.
3051 * gdb.btrace/tailcall.exp: New.
3052 * gdb.btrace/x86-tailcall.S: New.
3053 * gdb.btrace/x86-tailcall.c: New.
3054 * gdb.btrace/unknown_functions.c: New.
3055 * gdb.btrace/unknown_functions.exp: New.
3056 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3058 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3060 * gdb.btrace/instruction_history.exp: Update.
3061 * gdb.btrace/function_call_history.exp: Update.
3063 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3065 * gdb.btrace/function_call_history.exp: Fix expected function
3067 * gdb.btrace/instruction_history.exp: Initialize traced.
3068 Remove traced_functions.
3070 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3072 * gdb.btrace/function_call_history.exp: Update
3073 * gdb.btrace/instruction_history.exp: Update.
3075 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3077 * gdb.btrace/enable.exp: Update expected text.
3079 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
3081 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
3084 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
3086 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
3088 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3090 * lib/gdb.exp (supports_process_record): Return true for
3091 arm*-linux*. (supports_reverse): Likewise.
3093 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3097 * gdb.python/py-type.c: Enhance test case.
3098 * gdb.python/py-value-cc.cc: Likewise
3099 * gdb.python/py-type.exp: Add new tests.
3100 * gdb.python/py-value-cc.exp: Likewise
3102 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3103 Pedro Alves <palves@redhat.com>
3105 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
3107 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
3108 references to ${name}_start by references to ${name}.
3110 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3112 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
3114 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3116 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
3118 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
3119 Pedro Alves <palves@redhat.com>
3121 * gdb.mi/mi-info-os.exp: Connect to the target with
3124 2014-01-08 Pedro Alves <palves@redhat.com>
3126 * gdb.threads/reconnect-signal.c: New file.
3127 * gdb.threads/reconnect-signal.exp: New file.
3129 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3131 * gdb.base/source-dir.exp: New file.
3133 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3135 * gdb.ada/mi_interface: New testcase.
3137 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3139 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
3140 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
3141 gdb.ada/pp-rec-component/pck.ads: New files.
3143 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3145 * gdb.python/py-pp-integral.c: New file.
3146 * gdb.python/py-pp-integral.py: New file.
3147 * gdb.python/py-pp-integral.exp: New file.
3149 For older changes see ChangeLog-1993-2013.
3155 ;; version-control: never
3158 Copyright 2014 Free Software Foundation, Inc.
3159 Copying and distribution of this file, with or without modification,
3160 are permitted provided the copyright notice and this notice are preserved.