1 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4 variant. Preserve original line numbering.
5 * gdb.base/list1.c: Likewise.
7 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
11 * gdb.base/break1.c: Likewise.
12 * gdb.base/break.exp: Drop references to removed code.
14 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
19 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
23 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
25 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
26 logic into perform_all_tests() and invoke it with and without
27 function header prototypes.
28 (do_function_calls): Remove conditional XFAIL for PR 5318.
29 (rerun_and_prepare): Remove duplicate code.
30 (perform_all_tests): New. Main logic moved here.
32 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
34 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
35 code guarded by #ifdef NO_PROTOTYPES.
36 (t_double_many_args): Likewise.
37 (DEF_FUNC_MANY_ARGS_1): Likewise.
38 (DEF_FUNC_VALUES_1): Likewise.
39 (t_structs_ldc): Renamed from t_structs_fc in conditional code
40 guarded by #ifdef PROTOTYPES.
42 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
44 * gdb.mi/mi-console.c: Add eye-catcher.
45 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
46 instead of literal line number.
48 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
50 * gdb.base/shr2.c: Add eye-catcher.
51 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
54 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
56 * gdb.base/jump.c: Add eye-catchers.
57 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
60 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
62 * gdb.base/execd-prog.c: Add eye-catchers.
63 * gdb.base/foll-exec.c: Likewise.
64 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
67 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
69 * gdb.base/ending-run.c: Add eye-catchers.
70 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
73 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
75 * gdb.base/call-rt-st.c: Add eye-catchers.
76 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
79 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
81 * gdb.base/call-ar-st.c: Add eye-catchers.
82 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
85 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
87 * gdb.base/average.c: Add eye-catchers.
88 * gdb.base/sum.c: Likewise.
89 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
92 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
94 * gdb.base/solib1.c: Add eye-catchers.
95 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
98 2014-11-12 Pedro Alves <palves@redhat.com>
100 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
103 2014-11-12 Pedro Alves <palves@redhat.com>
105 * gdb.arch/i386-bp_permanent.c: New file.
106 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
107 (srcfile): Set to i386-bp_permanent.c.
108 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
109 that stepi does not execute the 'leave' instruction, instead of
110 testing it does execute.
111 * gdb.base/bp-permanent.c: New file.
112 * gdb.base/bp-permanent.exp: New file.
114 2014-11-10 Doug Evans <xdje42@gmail.com>
117 * gdb.base/symtab-search-order.exp: New file.
118 * gdb.base/symtab-search-order.c: New file.
119 * gdb.base/symtab-search-order-1.c: New file.
120 * gdb.base/symtab-search-order-shlib-1.c: New file.
122 2014-11-07 Pedro Alves <palves@redhat.com>
125 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
128 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
131 * gdb.cp/pr17494.cc: New file.
132 * gdb.cp/pr17494.exp: New file.
134 2014-11-02 Yao Qi <yao@codesourcery.com>
136 * gdb.python/python.exp: Get working directory and match the
137 output of "set extended-prompt \\w " with it.
139 2014-10-30 Doug Evans <dje@google.com>
141 * gdb.python/py-objfile.exp: Add tests for setting random attributes
143 * gdb.python/py-progspace.exp: Add tests for setting random attributes
146 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
148 * gdb.base/fullpath-expand.exp: Skip for a remote host.
149 * gdb.base/realname-expand.exp: Likewise.
150 * gdb.linespec/macro-relative.exp: Likewise.
152 2014-10-29 Pedro Alves <palves@redhat.com>
155 * gdb.threads/schedlock.c (some_function): New function.
156 (call_function): New global.
157 (MAYBE_CALL_SOME_FUNCTION): New macro.
158 (thread_function): Call it.
159 * gdb.threads/schedlock.exp (get_args): Add description parameter,
160 and use it instead of a global counter. Adjust all callers.
161 (get_current_thread): Use "find current thread" for test message
162 here rather than having all callers pass down the same string.
163 (goto_loop): New procedure, factored out from ...
164 (my_continue): ... this.
165 (step_ten_loops): Change parameter from test message to command to
167 (list_count): Delete global.
168 (check_result): New procedure, factored out from duplicate top
170 (continue tests): Wrap in with_test_prefix.
171 (test_step): New procedure, factored out from duplicate top level
173 (top level): Test "step" in combination with all scheduler-locking
174 modes. Test "next" in combination with all scheduler-locking
175 modes, and in combination with stepping over a function call or
177 * gdb.threads/next-bp-other-thread.c: New file.
178 * gdb.threads/next-bp-other-thread.exp: New file.
180 2014-10-29 Pedro Alves <palves@redhat.com>
183 * gdb.python/python.exp: Test a multi-line command that spawns
185 * gdb.base/multi-line-starts-subshell.exp: New file.
187 2014-10-29 Yao Qi <yao@codesourcery.com>
189 * gdb.base/fileio.exp: Make directories on host.
191 2014-10-29 Yao Qi <yao@codesourcery.com>
193 * gdb.base/fileio.c (test_write): Close the file.
195 2014-10-28 Pedro Alves <palves@redhat.com>
198 * gdb.base/sigstep.c (no_handler): New global.
199 (main): If 'no_handler is true, set the signal handlers to
201 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
202 with_sw_watch and no_handler parameters. Handle them.
203 (top level) <stepping over handler when stopped at a breakpoint
204 test>: Add a test axis for testing with a software watchpoint, and
205 another for testing with the signal handler set to SIG_IGN.
206 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
207 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
209 2014-10-28 Pedro Alves <palves@redhat.com>
212 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
213 * gdb.base/sigstep.exp (other_handler_location): New global.
214 (advance): Support stepping into the signal handler, and running
215 commands while in the handler.
216 (in_handler_map): New global.
217 (top level): In the advance test, add combinations for getting
218 into the handler with stepping commands, and for running commands
219 in the handler. Add comment descripting the advancei tests.
221 2014-10-28 Pedro Alves <palves@redhat.com>
223 * gdb.base/sigstep.exp: Use build_executable instead of
225 (top level): Move code that starts GDB, runs to main and creates a
227 (restart): ... this new procedure.
228 (top level): Move backtrace from signal handler test to ...
229 (validate_backtrace): ... this new procedure.
230 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
231 with_test_prefix. Always restart GDB.
232 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
233 with_test_prefix. Always restart GDB. No need to delete
234 breakpoints after the test.
235 (test_skip_handler): Remove prefix parameter.
236 (skip_over_handler, breakpoint_to_handler)
237 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
238 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
239 restart GDB. No need to delete breakpoints after the test.
240 (top level): Use foreach to call the test procedures with
243 2014-10-28 Pedro Alves <palves@redhat.com>
245 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
246 instead of GNATS numbers.
247 * gdb.base/sigbpt.exp: Likewise.
248 * gdb.base/siginfo.exp: Likewise.
249 * gdb.base/sigstep.exp: Likewise.
251 2014-10-27 Pedro Alves <palves@redhat.com>
253 * gdb.base/sigstep.c (dummy): New global.
254 (main): Issue a couple writes to the new global.
255 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
257 (skip_over_handler): Use test_skip_handler.
258 (top level): Call skip_over_handler for stepi and nexti too.
259 (breakpoint_over_handler): Use test_skip_handler.
260 (top level): Call breakpoint_over_handler for stepi and nexti too.
262 2014-10-27 Yao Qi <yao@codesourcery.com>
264 * gdb.trace/tfile.c (adjust_function_address)
265 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
268 2014-10-24 Don Breazeal <donb@codesourcery.com>
270 * gdb.base/foll-fork.exp (test_follow_fork,
271 catch_fork_child_follow): Check for updated fork messages emitted
273 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
274 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
275 vfork_and_exec_child_follow_through_step): Check for updated vfork
276 messages emitted from infrun.c.
278 2014-10-24 Pedro Alves <palves@redhat.com>
280 * gdb.base/corefile.exp: Remove references to ultrix.
281 * gdb.base/interrupt.exp: Likewise.
282 * gdb.base/whatis.exp: Likewise.
283 * gdb.gdb/selftest.exp: Likewise.
284 * gdb.threads/manythreads.exp: Likewise.
285 * gdb.threads/print-threads.exp: Likewise.
286 * gdb.threads/pthreads.exp:: Likewise.
287 * gdb.threads/schedlock.exp: Likewise.
289 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
291 * gdb.cp/non-trivial-retval.cc: Add a test case.
292 * gdb.cp/non-trivial-retval.exp: Add a test.
294 2014-10-20 Yao Qi <yao@codesourcery.com>
296 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
297 * gdb.python/py-objfile-script-gdb.py: New file.
298 * gdb.python/py-objfile-script.exp: Update reference to
299 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
300 of remote_download. Remove the dest file.
302 2014-10-20 Yao Qi <yao@codesourcery.com>
304 * gdb.base/checkpoint.exp: Don't remove file copied on host.
305 * gdb.base/step-line.exp: Likewise.
306 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
307 * gdb.dwarf2/dw2-basic.exp: Likewise.
308 * gdb.dwarf2/dw2-compressed.exp: Likewise.
309 * gdb.dwarf2/dw2-filename.exp: Likewise.
310 * gdb.dwarf2/dw2-intercu.exp: Likewise.
311 * gdb.dwarf2/dw2-intermix.exp: Likewise.
312 * gdb.dwarf2/dw2-producer.exp: Likewise.
313 * gdb.dwarf2/mac-fileno.exp: Likewise.
314 * gdb.python/py-frame-args.exp: Likewise.
315 * gdb.python/py-framefilter.exp: Likewise.
316 * gdb.python/py-mi.exp: Likewise.
317 * gdb.python/py-objfile-script.exp: Likewise
318 * gdb.python/py-pp-integral.exp: Likewise.
319 * gdb.python/py-pp-re-notag.exp: Likewise.
320 * gdb.python/py-prettyprint.exp: Likewise.
321 * gdb.python/py-section-script.exp: Likewise.
322 * gdb.python/py-typeprint.exp: Likewise.
323 * gdb.python/py-xmethods.exp: Likewise.
324 * gdb.stabs/weird.exp: Likewise.
325 * gdb.xml/tdesc-regs.exp: Likewise.
327 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
329 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
330 (out_cu): Use addr_len for the size of addresses.
331 (out_line): Likewise. Size DW_LNE_set_address instruction
332 according to addr_len.
333 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
334 (FUNC): Add START_INSNS to definition.
336 2014-10-18 Yao Qi <yao@codesourcery.com>
338 * gdb.base/argv0-symlink.exp: Check argv[0] value if
339 gdb_has_argv0 return true.
340 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
341 check [target_info exists noargs], check [gdb_has_argv0]
343 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
344 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
347 2014-10-17 Doug Evans <dje@google.com>
349 * gdb.python/py-events.exp: Update expected output for clear_objfiles
351 * gdb.python/py-events.py: Add clear_objfiles event.
353 2014-10-17 Doug Evans <dje@google.com>
355 * gdb.python/py-objfile.exp: Test progspace attribute.
357 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
359 * gdb.guile/scm-breakpoint.exp: Do not assume any
360 directory separators when matching source file paths.
361 * gdb.python/py-breakpoint.exp: Likewise.
362 * gdb.reverse/break-precsave.exp: Likewise.
363 * gdb.reverse/break-reverse.exp: Likewise.
364 * gdb.reverse/consecutive-precsave.exp: Likewise.
365 * gdb.reverse/finish-precsave.exp: Likewise.
366 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
367 * gdb.reverse/finish-reverse.exp: Likewise.
368 * gdb.reverse/i386-precsave.exp: Likewise.
369 * gdb.reverse/i387-env-reverse.exp: Likewise.
370 * gdb.reverse/i387-stack-reverse.exp: Likewise.
371 * gdb.reverse/machinestate-precsave.exp: Likewise.
372 * gdb.reverse/machinestate.exp: Likewise.
373 * gdb.reverse/sigall-precsave.exp: Likewise.
374 * gdb.reverse/solib-precsave.exp: Likewise.
375 * gdb.reverse/step-precsave.exp: Likewise.
376 * gdb.reverse/until-precsave.exp: Likewise.
377 * gdb.reverse/watch-precsave.exp: Likewise.
378 * gdb.reverse/watch-reverse.exp: Likewise.
380 2014-10-17 Yao Qi <yao@codesourcery.com>
382 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
383 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
385 2014-10-17 Pedro Alves <palves@redhat.com>
388 * gdb.base/bg-execution-repeat.c: New file.
389 * gdb.base/bg-execution-repeat.exp: New file.
391 2014-10-17 Pedro Alves <palves@redhat.com>
394 * gdb.base/continue-all-already-running.c: New file.
395 * gdb.base/continue-all-already-running.exp: New file.
397 2014-10-17 Pedro Alves <palves@redhat.com>
400 * gdb.base/annota-input-while-running.c: New file.
401 * gdb.base/annota-input-while-running.exp: New file.
403 2014-10-17 Pedro Alves <palves@redhat.com>
405 * gdb.base/callfuncs.exp: emove references to osf.
406 * gdb.base/sigall.exp: Likewise.
407 * gdb.gdb/selftest.exp: Likewise.
408 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
409 * gdb.mi/non-stop.c: Likewise.
410 * gdb.mi/pthreads.c: Likewise.
411 * gdb.reverse/sigall-precsave.exp: Likewise.
412 * gdb.reverse/sigall-reverse.exp: Likewise.
413 * gdb.threads/pthreads.c: Likewise.
414 * gdb.threads/pthreads.exp: Likewise.
416 2014-10-17 Yao Qi <yao@codesourcery.com>
418 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
419 check 'target_info exists noargs'.
420 (test_command_prompt_position): Likewise.
421 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
423 (progvar_simple_while_test): Likewise.
424 (progvar_complex_if_while_test): Likewise.
425 (if_while_breakpoint_command_test): Likewise.
426 (infrun_breakpoint_command_test): Likewise.
427 (breakpoint_command_test): Likewise.
428 (watchpoint_command_test): Likewise.
429 (bp_deleted_in_command_test): Likewise.
430 (temporary_breakpoint_commands): Likewise.
432 2014-10-16 Yao Qi <yao@codesourcery.com>
434 * gdb.base/remotetimeout.exp: Remove noargs checking.
436 2014-10-15 Pedro Alves <palves@redhat.com>
439 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
440 * gdb.base/breakpoint-in-ro-region.exp
441 (probe_target_hardware_step): New procedure.
442 (top level): Probe hardware stepping and hardware breakpoint
443 support. Test stepping through a read-only region, with both
444 "breakpoint auto-hw" on and off and both "always-inserted" on and
447 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
449 * gdb.dlang/demangle.exp: Update for demangling changes.
451 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
453 * gdb.cp/non-trivial-retval.cc: Add new test cases.
454 * gdb.cp/non-trivial-retval.exp: Add new tests.
456 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
460 * gdb.cp/non-trivial-retval.cc: New file.
461 * gdb.cp/non-trivial-retval.exp: New file.
463 2014-10-15 Yao Qi <yao@codesourcery.com>
465 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
468 2014-10-15 Yao Qi <yao@codesourcery.com>
470 * gdb.python/py-symbol.exp: Match file base name if host is
471 remote, otherwise match file name with dir name.
472 * gdb.python/py-symtab.exp: Likewise.
473 * gdb.python/python.exp: Likewise.
475 2014-10-15 Yao Qi <yao@codesourcery.com>
477 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
479 * gdb.python/py-symtab.exp: Likewise.
480 * gdb.python/python.exp: Remove trailing ".*". Fix typo
483 2014-10-14 Joel Brobecker <brobecker@adacore.com>
485 * gdb.ada/addr_arith: New testcase.
487 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
489 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
490 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
491 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
492 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
494 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
496 * gdb.arch/stap-eval-lang-ada.S: Likewise.
497 * gdb.arch/stap-eval-lang-ada.c: Likewise.
498 * gdb.arch/stap-eval-lang-ada.exp: New file.
500 2014-10-14 Yao Qi <yao@codesourcery.com>
502 * gdb.mi/mi-var-child.c (nothing1): New function.
503 (nothing2): New function.
504 (do_children_tests): Set function pointers by nothing1 and
506 * gdb.mi/mi-var-child.exp: Step over new added statements.
507 Update test to match the new output.
508 * gdb.mi/var-cmd.c (nothing1): New function.
509 (nothing2): New function.
510 (do_children_tests): Set function pointers by nothing1 and
512 * gdb.mi/mi-var-display.exp: Update test to match output.
513 Step to the line specified by $line_dct_nothing.
514 Increase the number of lines to step.
516 2014-10-14 Yao Qi <yao@codesourcery.com>
518 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
520 * gdb.mi/mi2-var-child.exp: Likewise.
522 2014-10-13 Doug Evans <dje@google.com>
524 * gdb.python/py-objfile.exp: Change name of file name test.
526 2014-10-13 Doug Evans <dje@google.com>
528 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
529 from the start of the CU.
531 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
532 Yao Qi <yao@codesourcery.com>
534 Fix "save breakpoints" for "catch" command.
535 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
536 Remove -nonewline. Match also the added "main" line.
538 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
540 Fix "save breakpoints" for "disable $bpnum" command.
541 * gdb.base/save-bp.c (main): Add label.
542 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
544 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
546 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
548 2014-10-11 Yao Qi <yao@codesourcery.com>
550 * gdb.server/server-kill.exp: Execute command
551 "set remote trace-status-packet on" before "tstatus".
553 2014-10-11 Yao Qi <yao@codesourcery.com>
555 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
556 (main): Call getppid.
557 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
558 and continue to it. Read variable "server_pid".
560 2014-10-11 Yao Qi <yao@codesourcery.com>
562 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
564 2014-10-11 Yao Qi <yao@codesourcery.com>
566 * gdb.threads/thread-find.exp: Don't execute command
568 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
569 * gdb.threads/linux-dp.exp: Don't check the condition
570 $threads_created equals to zero.
572 2014-10-10 Pedro Alves <palves@redhat.com>
574 * gdb.base/bigcore.exp: Remove references to IRIX.
575 * gdb.base/funcargs.exp: Likewise.
576 * gdb.base/interrupt.exp: Likewise.
577 * gdb.base/mips_pro.exp: Likewise.
578 * gdb.base/nodebug.exp: Likewise.
579 * gdb.base/setvar.exp: Likewise.
580 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
582 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
583 Pedro Alves <palves@redhat.com>
586 * gdb.base/vdso-warning.c: New file.
587 * gdb.base/vdso-warning.exp: New file.
589 2014-10-02 Doug Evans <dje@google.com>
591 * gdb.base/structs.c (main): Don't run forever.
593 2014-10-02 Pedro Alves <palves@redhat.com>
595 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
596 (top level) <stop threads 1, stop threads 2>: Use it.
598 2014-10-02 Pedro Alves <palves@redhat.com>
600 * gdb.threads/break-while-running.exp (test): Add new
601 'update_thread_list' argument. Skip "info threads" if false.
602 (top level): Add new 'update_thread_list' axis.
604 2014-10-02 Pedro Alves <palves@redhat.com>
607 * gdb.base/execl-update-breakpoints.c: New file.
608 * gdb.base/execl-update-breakpoints.exp: New file.
610 2014-10-01 Pedro Alves <palves@redhat.com>
612 * gdb.base/breakpoint-in-ro-region.c: New file.
613 * gdb.base/breakpoint-in-ro-region.exp: New file.
615 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
617 * gdb.mi/mi-exit-code.exp: New file.
618 * gdb.mi/mi-exit-code.c: New file.
620 2014-09-30 Yao Qi <yao@codesourcery.com>
622 * lib/prelink-support.exp (build_executable_own_libs): Error if
623 the target isn't native.
625 2014-09-30 Yao Qi <yao@codesourcery.com>
627 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
630 2014-09-22 Pedro Alves <palves@redhat.com>
632 * gdb.threads/break-while-running.exp: New file.
633 * gdb.threads/break-while-running.c: New file.
635 2014-09-19 Yao Qi <yao@codesourcery.com>
637 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
638 Invoke test. Restart GDB with --readnow and invoke test again.
640 2014-09-19 Yao Qi <yao@codesourcery.com>
642 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
643 proc set_breakpoint_on_gcd_function. Invoke
644 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
645 invoke set_breakpoint_on_gcd_function again.
647 2014-09-18 Doug Evans <dje@google.com>
649 * gdb.dwarf2/symtab-producer.exp: New file.
651 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
653 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
654 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
655 * gdb.base/global-var-nested-by-dso.c: Likewise.
656 * gdb.base/global-var-nested-by-dso.exp: Likewise.
658 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
659 Pedro Alves <palves@redhat.com>
661 * gdb.base/watch-bitfields.exp: Pass string other than test file
662 name to prepare_for_testing.
663 (watch): New procedure.
664 (expect_watchpoint): Use with_test_prefix.
665 (top level): Factor out tests to ...
666 (test_watch_location, test_regular_watch): ... these new
667 procedures, and use with_test_prefix and gdb_continue_to_end.
669 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
672 * gdb.base/watch-bitfields.exp: New file.
673 * gdb.base/watch-bitfields.c: New file.
675 2014-09-16 Pedro Alves <palves@redhat.com>
677 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
678 software and hardware addresses, not software address against
681 2014-09-16 Pedro Alves <palves@redhat.com>
683 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
684 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
686 2014-09-16 Pedro Alves <palves@redhat.com>
688 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
690 * gdb.base/a2-run.exp: Remove all code guarded by istarget
691 "*-*-vxworks*" throughout.
692 * gdb.base/break.exp: Likewise.
693 * gdb.base/default.exp: Likewise.
694 * gdb.base/scope.exp: Likewise.
695 * gdb.base/sepdebug.exp: Likewise.
696 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
698 * gdb.base/run.c: Likewise.
699 * gdb.base/sepdebug.c: Likewise.
700 * gdb.hp/gdb.aCC/run.c: Likewise.
701 * gdb.reverse/until-reverse.c: Likewise.
702 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
704 2014-09-16 Yao Qi <yao@codesourcery.com>
706 * boards/local-remote-host-native.exp: New file.
708 2014-09-14 Doug Evans <xdje42@gmail.com>
710 * gdb.threads/queue-signal.c (thread_count): New variable.
711 (thread_count_mutex, thread_count_condvar): New variables.
712 (incr_thread_count, wait_all_threads_running): New functions.
713 (main): Wait for all threads to be in their thread functions.
715 2014-09-13 Doug Evans <xdje42@gmail.com>
717 * gdb.threads/queue-signal.c: New file.
718 * gdb.threads/queue-signal.exp: New file.
720 2014-09-13 Doug Evans <xdje42@gmail.com>
722 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
723 be consistent with what default_gdb_init uses.
724 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
725 the plain text of the prompt. Add some logging printfs.
726 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
728 2014-09-12 Pedro Alves <palves@redhat.com>
730 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
731 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
732 * gdb.arch/i386-size-overlap.exp: Likewise.
733 * gdb.arch/i386-size.exp: Likewise.
734 * gdb.arch/i386-unwind.exp: Likewise.
735 * gdb.base/a2-run.exp: Likewise.
736 * gdb.base/break.exp: Likewise.
737 * gdb.base/charset.exp: Likewise.
738 * gdb.base/chng-syms.exp: Likewise.
739 * gdb.base/commands.exp: Likewise.
740 * gdb.base/dbx.exp: Likewise.
741 * gdb.base/find.exp: Likewise.
742 * gdb.base/funcargs.exp: Likewise.
743 * gdb.base/jit-simple.exp: Likewise.
744 * gdb.base/reread.exp: Likewise.
745 * gdb.base/sepdebug.exp: Likewise.
746 * gdb.base/step-bt.exp: Likewise.
747 * gdb.cp/mb-inline.exp: Likewise.
748 * gdb.cp/mb-templates.exp: Likewise.
749 * gdb.objc/basicclass.exp: Likewise.
750 * gdb.threads/killed.exp: Likewise.
752 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
755 * gdb.arch/powerpc-stackless.S: New file.
756 * gdb.arch/powerpc-stackless.exp: New file.
758 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
760 * gdb.base/attach.c: Include unistd.h.
761 (main): Call alarm. Add label postloop.
762 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
763 gdb_breakpoint, gdb_continue_to_breakpoint.
764 (test_command_line_attach_run): Kill ${testpid} in one exit path.
766 2014-09-11 Pedro Alves <palves@redhat.com>
769 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
770 * gdb.base/attach.exp (test_command_line_attach_run): New
772 (top level): Call it.
774 2014-09-11 Pedro Alves <palves@redhat.com>
776 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
777 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
778 (do_command_attach_tests): Use spawn_wait_for_attach.
779 * gdb.base/solib-overlap.exp: Likewise.
780 * gdb.multi/multi-attach.exp: Likewise.
781 * gdb.python/py-prompt.exp: Likewise.
782 * gdb.python/py-sync-interp.exp: Likewise.
783 * gdb.server/ext-attach.exp: Likewise.
785 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
787 * gdb.fortran/array-element.exp: Remove unexpected "continue"
788 command in testcase. Simplify testcase.
790 2014-09-10 Joel Brobecker <brobecker@adacore.com>
792 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
794 2014-09-10 Joel Brobecker <brobecker@adacore.com>
796 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
798 2014-09-10 Joel Brobecker <brobecker@adacore.com>
800 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
802 2014-09-10 Joel Brobecker <brobecker@adacore.com>
804 * gdb.dwarf2/dynarr-ptr.c: New file.
805 * gdb.dwarf2/dynarr-ptr.exp: New file.
807 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
809 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
810 of 30 rather than hardcoding 120 for a slow test case. Take the
811 `gdb,timeout' target setting into account for this calculation.
812 Don't extend the timeout for the test cases that don't need it.
814 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
816 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
817 a factor of 2 for a slow test case. Take the `gdb,timeout'
818 target setting into account for this calculation.
819 * gdb.reverse/until-precsave.exp: Increase the timeout by
820 a factor of 15 and 3 respectively rather than adding 120
821 for a pair of slow test cases. Take the `gdb,timeout'
822 target setting into account for this calculation.
824 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
826 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
827 timeout, don't pass one down to gdb_expect.
828 (gdb_expect): Rework timeout selection.
830 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
832 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
833 exception on timeout.
834 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
835 (gdbserver_start_extended): Catch any `gdbserver_start' error
837 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
838 * lib/mi-support.exp (mi_gdb_target_load): Catch any
839 `gdbserver_gdb_load' error exceptions.
841 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
843 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
844 120 on waiting for the TCP socket to open.
846 2014-09-09 Doug Evans <xdje42@gmail.com>
848 * gdb.base/default.exp (show_conv_list): Add _caller_is,
849 _caller_matches, _any_caller_is, _any_caller_matches.
851 2014-09-09 Doug Evans <xdje42@gmail.com>
853 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
855 2014-09-09 Yao Qi <yao@codesourcery.com>
857 * gdb.mi/mi-var-display.exp: Set print symbol off.
859 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
862 * gdb.base/commands.exp: Add tests to verify user-defined
863 commands with empty bodies.
864 * gdb.python/py-cmd.exp: Test that we don't show user-defined
865 python commands in `show user command`.
866 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
867 scheme commands in `show user command`.
869 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
872 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
873 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
874 * gdb.python/py-framefilter-invalidarg.exp: New file.
875 * gdb.python/py-framefilter-invalidarg.py: New file.
877 2014-09-06 Doug Evans <xdje42@gmail.com>
880 * gdb.python/py-caller-is.c: New file.
881 * gdb.python/py-caller-is.exp: New file.
883 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
886 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
887 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
889 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
892 * gdb.fortran/print-formatted.exp: New file.
893 * gdb.fortran/print-formatted.f90: Likewise.
895 2014-09-03 Sasha Smundak <asmundak@google.com>
897 * gdb.python/py-frame.exp: Test Frame.read_register.
899 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
902 * gdb.python/py-completion.exp: New file.
903 * gdb.python/py-completion.py: Likewise.
905 2014-08-28 Doug Evans <dje@google.com>
907 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
908 eax,etc. are live with values set by gdb and thus the compiler can't
910 * gdb.arch/i386-pseudo.c (main): Ditto.
912 2014-08-27 Doug Evans <dje@google.com>
914 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
916 2014-08-25 Doug Evans <dje@google.com>
918 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
921 2014-08-25 Doug Evans <dje@google.com>
923 * gdb.threads/thread-execl.exp: #include <stdio.h>.
925 2014-08-24 Yao Qi <yao@codesourcery.com>
927 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
929 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
931 2014-08-22 Doug Evans <dje@google.com>
934 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
935 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
936 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
938 2014-08-22 Yao Qi <yao@codesourcery.com>
940 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
941 * gdb.python/py-finish-breakpoint2.exp: Likewise.
942 * gdb.python/python.exp: Likewise. Use .py file on the host
943 instead of the build.
945 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
947 * gdb.threads/gcore-stale-thread.c: New file.
948 * gdb.threads/gcore-stale-thread.exp: New file.
950 2014-08-21 Pedro Alves <palves@redhat.com>
952 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
953 * gdb.base/gcore-relro-pie.exp: Likewise.
954 * gdb.base/gcore-relro.exp: Likewise.
955 * gdb.base/gcore.exp: Likewise.
956 * gdb.base/print-symbol-loading.exp: Likewise.
957 * gdb.threads/gcore-thread.exp: Likewise.
958 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
960 2014-08-20 Pedro Alves <palves@redhat.com>
961 Jan Kratochvil <jan.kratochvil@redhat.com>
963 * Makefile.in (EXTRA_RULES, CC): New variables, get from
965 (EXPECT): Handle READ1 being set.
966 (all): Depend on EXTRA_RULES.
967 (check-read1, expect-read1, read1.so, read1): New rules.
968 * README (Testsuite Parameters): Document the READ1 make variable.
969 (Race detection): New section.
970 * configure: Regenerate.
971 * configure.ac: If build==host==target, and running under a
972 GNU/glibc system, add read1 to the extra Makefile rules.
973 (EXTRA_RULES): AC_SUBST it.
974 * lib/read1.c: New file.
976 2014-08-20 Joel Brobecker <brobecker@adacore.com>
978 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
979 the handling of variables declared as a typedef to an array
980 which a DW_AT_data_location attribute.
982 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
983 Pedro Alves <palves@redhat.com>
987 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
990 2014-08-19 Pedro Alves <palves@redhat.com>
992 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
994 2014-08-19 Yao Qi <yao@codesourcery.com>
996 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
999 2014-08-18 David Blaikie <dblaikie@gmail.com>
1001 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
1003 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1005 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
1006 attribute in array range.
1008 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1010 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
1012 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1015 * gdb.cp/pr17132.cc: New file.
1016 * gdb.cp/pr17132.exp: New file.
1018 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1020 * gdb.python/py-xmethods.py (A_getarrayind)
1021 (E_method_char_worker.__call__, E_method_int_worker.__call__):
1022 Use 'print' with function call syntax.
1023 (E_method_matcher.match): Fix tab vs space indentation mixup.
1025 2014-08-15 Yao Qi <yao@codesourcery.com>
1027 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
1030 2014-08-15 Yao Qi <yao@codesourcery.com>
1032 * gdb.cp/casts.exp: Set print symbol off.
1033 * gdb.cp/class2.exp: Likewise.
1034 * gdb.cp/overload.exp: Likewise.
1035 * gdb.cp/templates.exp: Likewise.
1037 2014-08-11 Doug Evans <dje@google.com>
1039 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1040 (test_load_shlib): Update.
1042 2014-08-09 Yao Qi <yao@codesourcery.com>
1044 * gdb.base/display.exp: Invoke is_address_zero_readable.
1045 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
1046 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1047 * gdb.base/hbreak-unmapped.exp: Return if
1048 is_address_zero_readable returns true.
1049 * gdb.base/signest.exp: Likewise.
1050 * gdb.base/signull.exp: Likewise.
1051 * gdb.base/sigbpt.exp: Likewise.
1052 * gdb.guile/scm-disasm.exp: Do the test if
1053 is_address_zero_readable returns false.
1054 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
1055 * gdb.python/py-arch.exp: Likewise.
1056 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
1057 * lib/gdb.exp (is_address_zero_readable): New proc.
1059 2014-08-09 Yao Qi <yao@codesourcery.com>
1062 * gdb.mi/mi-var-display.exp: Make test messages unique.
1064 2014-08-04 Tom Tromey <tromey@redhat.com>
1066 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
1069 2014-08-04 Tom Tromey <tromey@redhat.com>
1071 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
1074 2014-08-01 Joel Brobecker <brobecker@adacore.com>
1076 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
1077 inner_vla_struct_object_size.
1078 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
1081 2014-07-30 Pedro Alves <palves@redhat.com>
1083 * gdb.threads/signal-command-handle-nopass.exp (test): Add
1086 2014-07-29 Yao Qi <yao@codesourcery.com>
1089 * gdb.base/until-nodebug.exp: New.
1091 2014-07-28 Doug Evans <xdje42@gmail.com>
1094 * gdb.guile/scm-parameter.exp: Add tests for trying to create
1095 previously existing parameter, and previously ambiguously spelled
1098 2014-07-28 Will Newton <will.newton@linaro.org>
1100 * gdb.base/varargs.exp: Remove KFAILs for ARM.
1102 2014-07-26 Ludovic Courtès <ludo@gnu.org>
1103 Doug Evans <xdje42@gmail.com>
1106 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
1108 2014-07-25 Pedro Alves <palves@redhat.com>
1110 * gdb.threads/signal-command-handle-nopass.c: New file.
1111 * gdb.threads/signal-command-handle-nopass.exp: New file.
1112 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
1113 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
1114 * gdb.threads/signal-delivered-right-thread.c: New file.
1115 * gdb.threads/signal-delivered-right-thread.exp: New file.
1117 2014-07-25 Pedro Alves <palves@redhat.com>
1119 * gdb.base/double-prompt-target-event-error.exp
1120 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
1122 (cancel_pagination_in_target_event): Rework double prompt
1124 * gdb.base/paginate-after-ctrl-c-running.exp
1125 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
1127 * gdb.base/paginate-bg-execution.exp
1128 (test_bg_execution_pagination_return)
1129 (test_bg_execution_pagination_cancel): Remove '-notransfer
1131 * gdb.base/paginate-execution-startup.exp
1132 (test_fg_execution_pagination_return)
1133 (test_fg_execution_pagination_cancel): Remove '-notransfer
1135 * gdb.base/paginate-inferior-exit.exp
1136 (test_paginate_inferior_exited): Remove '-notransfer <return>'
1138 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
1139 * lib/gdb.exp (pagination_prompt): Run text through
1141 (gdb_test_multiple): Match $pagination_prompt instead of
1143 (string_to_regexp): Move to lib/gdb-utils.exp.
1145 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1147 * gdb.arch/amd64-entry-value-paramref.S: New file.
1148 * gdb.arch/amd64-entry-value-paramref.cc: New file.
1149 * gdb.arch/amd64-entry-value-paramref.exp: New file.
1150 * gdb.arch/amd64-optimout-repeat.S: New file.
1151 * gdb.arch/amd64-optimout-repeat.c: New file.
1152 * gdb.arch/amd64-optimout-repeat.exp: New file.
1154 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1157 * gdb.base/statistics.exp: New file.
1159 2014-07-17 Doug Evans <dje@google.com>
1162 * gdb.base/maint.exp: Update testing of per-command stats.
1164 2014-07-16 Pedro Alves <palves@redhat.com>
1166 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
1167 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
1168 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
1169 (tfile_write_buf): New functions.
1170 (add_memory_block): Rewrite using the above.
1171 (adjust_function_address): New function.
1172 (FUNCTION_ADDRESS): New macro.
1173 (write_basic_trace_file): Remove short_x local, and use
1174 tfile_write_16. Change type of func_addr local to unsigned long
1175 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
1176 here. Cast argument of add_memory_block to char pointer.
1177 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
1178 (main): Remove parameters.
1179 * gdb.trace/tfile.exp: Remove nowarnings.
1181 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1183 * gdb.base/debug-expr.exp: Test string evaluation with
1184 "debug expression" on.
1186 2014-07-15 Pedro Alves <palves@redhat.com>
1188 * gdb.base/reread.exp: Use clean_restart.
1190 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1192 * gdb.arch/avr-flash-qualifer.c: New.
1193 * gdb.arch/avr-flash-qualifer.exp: New.
1195 2014-07-14 Pedro Alves <palves@redhat.com>
1197 * gdb.base/paginate-after-ctrl-c-running.c: New file.
1198 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1200 2014-07-14 Pedro Alves <palves@redhat.com>
1202 * gdb.base/double-prompt-target-event-error.c: New file.
1203 * gdb.base/double-prompt-target-event-error.exp: New file.
1205 2014-07-14 Pedro Alves <palves@redhat.com>
1208 * gdb.base/paginate-inferior-exit.c: New file.
1209 * gdb.base/paginate-inferior-exit.exp: New file.
1211 2014-07-14 Pedro Alves <palves@redhat.com>
1214 * gdb.base/paginate-bg-execution.c: New file.
1215 * gdb.base/paginate-bg-execution.exp: New file.
1217 2014-07-14 Pedro Alves <palves@redhat.com>
1220 * gdb.base/paginate-execution-startup.c: New file.
1221 * gdb.base/paginate-execution-startup.exp: New file.
1222 * lib/gdb.exp (pagination_prompt): New global.
1223 (default_gdb_spawn): New procedure, factored out from
1225 (default_gdb_start): Adjust to call default_gdb_spawn.
1226 (gdb_spawn): New procedure.
1228 2014-07-14 Pedro Alves <palves@redhat.com>
1230 * lib/gdb.exp (gdb_assert): New procedure.
1231 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
1233 2014-07-14 Pedro Alves <palves@redhat.com>
1235 * gdb.base/execution-termios.c: New file.
1236 * gdb.base/execution-termios.exp: New file.
1238 2014-07-14 Tom Tromey <tromey@redhat.com>
1240 * gdb.cp/vla-cxx.cc: New file.
1241 * gdb.cp/vla-cxx.exp: New file.
1243 2014-07-14 Tom Tromey <tromey@redhat.com>
1245 * gdb.reverse/rerun-prec.c: New file.
1246 * gdb.reverse/rerun-prec.exp: New file.
1248 2014-07-12 Maciej W. Rozycki <macro@mips.com>
1249 Maciej W. Rozycki <macro@codesourcery.com>
1251 * lib/gdb-utils.exp: New file.
1252 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
1253 inline `gdb_init_command' processing.
1254 (gdb_start_cmd): Likewise.
1255 * lib/mi-support.exp (mi_run_cmd): Likewise.
1256 * README: Document `gdb_init_command' and `gdb_init_commands'.
1258 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1260 Fix false FAIL running under a very long directory name.
1261 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1262 and "set print elements 10000". Twice.
1264 2014-07-11 Yao Qi <yao@codesourcery.com>
1266 * gdb.base/exprs.exp: "set print symbol off".
1268 2014-07-11 Pedro Alves <palves@redhat.com>
1270 * gdb.threads/kill.c: New file.
1271 * gdb.threads/kill.exp: New file.
1273 2014-07-10 Yao Qi <yao@codesourcery.com>
1275 * gdb.trace/tfile.c (write_basic_trace_file)
1276 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1277 address written to trace file.
1279 2014-07-09 Pedro Alves <palves@redhat.com>
1281 * gdb.base/attach-wait-input.exp: New file.
1282 * gdb.base/attach-wait-input.c: New file.
1284 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1286 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1287 setting up test structures.
1288 (main): Call new test function.
1289 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1290 test function, continue into test function and walk test
1293 2014-07-02 Yao Qi <yao@codesourcery.com>
1295 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1296 'bar_start' at the beginning of functions 'foo' and 'bar'
1298 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1299 instead of 'foo' and 'bar'.
1301 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1303 * gdb.btrace/segv.exp: New.
1304 * gdb.btrace/segv.c: New.
1306 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
1308 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1311 2014-06-30 Mark Wielaard <mjw@redhat.com>
1313 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1314 vulture, vilify, villar): New volatile array constants.
1315 (vindictive, vegetation): New const volatile array constants.
1316 * gdb.base/volatile.exp: Test volatile and const volatile array
1319 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1321 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1322 target lacks support for awatch, rwatch, or hbreak.
1324 2014-06-27 Yao Qi <yao@codesourcery.com>
1326 * gdb.multi/dummy-frame-restore.exp: New.
1327 * gdb.multi/dummy-frame-restore.c: New.
1329 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1331 * gdb.btrace/gcore.exp: New.
1333 2014-06-23 Pedro Alves <palves@redhat.com>
1335 * gdb.base/watchpoint-reuse-slot.c: New file.
1336 * gdb.base/watchpoint-reuse-slot.exp: New file.
1338 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1340 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1341 progspace's filename in 'info', 'enable' and 'disable' command
1344 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1346 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1347 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1348 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1350 2014-06-20 Gary Benson <gbenson@redhat.com>
1352 * gdb.arch/i386-avx.exp: Fix include file location.
1353 * gdb.arch/i386-sse.exp: Likewise.
1355 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1357 * gdb.dlang/expression.exp: New file.
1359 2014-06-19 Pedro Alves <palves@redhat.com>
1361 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1363 (top level): ... here. Iterate running tests under different
1364 scheduler-locking settings.
1366 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
1368 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1369 to DW_FORM_addr and use non-zero addresses.
1371 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1374 * gdb.python/py-xmethods.cc: Add global function call counters and
1375 increment them in their respective functions. Remove "cout"
1377 * gdb.python/py-xmethods.exp: Make tests check the global function
1378 call counters instead of depending on inferior IO.
1380 2014-06-18 Don Breazeal <donb@codesourcery.com>
1382 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1384 (explicit_fork_parent_follow): Deleted procedure.
1385 (explicit_fork_child_follow): Deleted procedure.
1386 (test_follow_fork): New procedure.
1387 (do_fork_tests): Replace calls to deleted procedures with
1388 calls to test_follow_fork and reset GDB for subsequent
1391 2014-06-17 Yao Qi <yao@codesourcery.com>
1393 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1396 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
1398 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1399 Initialize ptr and S explicitly.
1400 (skip_type_update_when_not_use_rtti_test): Likewise.
1402 2014-06-16 Keith Seitz <keiths@redhat.com>
1405 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1406 the inferior is started.
1408 2014-06-16 Pedro Alves <palves@redhat.com>
1410 * gdb.base/break-main-file-remove-fail.c: New file.
1411 * gdb.base/break-main-file-remove-fail.exp: New file.
1412 * gdb.base/break-unload-file.exp: Use build_executable instead of
1413 prepare_for_testing.
1414 (test_break): New parameter "initial_load". Handle it.
1415 (top level): Add initial_load cmdline/file axis.
1417 2014-06-12 Tom Tromey <tromey@redhat.com>
1419 * gdb.base/completion.exp: Don't use directory name in test.
1421 2014-06-09 Gary Benson <gbenson@redhat.com>
1423 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1424 separate the always-available ANSI-standard signals from the
1425 signals that require checking.
1427 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1431 2014-06-07 Keith Seitz <keiths@redhat.com>
1435 * gdb.cp/var-tag.cc: New file.
1436 * gdb.cp/var-tag.exp: New file.
1437 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1438 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1439 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1440 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1442 2014-06-06 Doug Evans <xdje42@gmail.com>
1444 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1446 2014-06-06 Pedro Alves <palves@redhat.com>
1448 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1449 in target debug output instead of looking at RSP packets,
1450 disabling the test on any target that uses hardware stepping.
1453 2014-06-06 Pedro Alves <palves@redhat.com>
1455 * gdb.base/break-unload-file.exp: Fix typo.
1457 2014-06-06 Yao Qi <yao@codesourcery.com>
1459 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1460 from "jit_function" to "^jit_function".
1462 2014-06-06 Yao Qi <yao@codesourcery.com>
1464 * gdb.base/async.c (foo): Add one statement.
1465 * gdb.base/async.exp: Get the next instruction address and
1466 match the output of "nexti" by instruction address. Match
1467 the hex address in the output of "finish".
1469 2014-06-06 Gary Benson <gbenson@redhat.com>
1471 * gdb.base/call-signals.c: Remove preprocessor conditionals
1472 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1473 SIGSEGV and SIGTERM.
1474 * gdb.base/sigall.c: Likewise.
1475 * gdb.base/unwindonsignal.c: Likewise.
1476 * gdb.reverse/sigall-reverse.c: Likewise.
1478 2014-06-06 Yao Qi <yao@codesourcery.com>
1480 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1481 readable, skip the test.
1483 2014-06-06 Yao Qi <yao@codesourcery.com>
1485 * gdb.threads/staticthreads.c (thread_function): Move the line
1486 setting breakpoint on forward.
1487 * gdb.threads/staticthreads.exp: Update comments.
1489 2014-06-05 Ludovic Courtès <ludo@gnu.org>
1491 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1492 "history-append! type error".
1494 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1496 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1497 erroneous dprintf expected input.
1499 2014-06-04 Doug Evans <xdje42@gmail.com>
1501 * gdb.guile/scm-generics.exp: Delete.
1503 2014-06-04 Doug Evans <xdje42@gmail.com>
1505 * gdb.guile/scm-breakpoint.exp: Update.
1506 Add tests for breakpoint registration.
1508 2014-06-04 Tom Tromey <tromey@redhat.com>
1510 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1512 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1513 inner_vla_struct, vla_union types. Initialize objects of those
1514 types and compute their sizes.
1516 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1517 Hui Zhu <hui@codesourcery.com>
1519 * gdb.base/fileio.exp: Add test for shell not available as well as
1521 * gdb.base/fileio.c (test_system): Check for shell twice.
1523 2014-06-04 Yao Qi <yao@codesourcery.com>
1525 * gdb.base/auto-connect-native-target.exp: Remove redundant
1526 space from the regexp pattern.
1528 2014-06-04 Yao Qi <yao@codesourcery.com>
1530 * gdb.base/default.exp: Replace "child" with "native" in
1533 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1535 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1536 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1537 * gdb.python/py-xmethods.py: Python script supporting the
1538 new testcase and tests.
1540 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1541 Pedro Alves <palves@redhat.com>
1543 PR breakpoints/17000
1544 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1545 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1547 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1549 * gdb.base/subst.exp: Add tests to verify partial path matching
1552 2014-06-03 Pedro Alves <palves@redhat.com>
1554 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1555 target that doesn't use software single-stepping.
1557 2014-06-03 Pedro Alves <palves@redhat.com>
1559 PR breakpoints/17000
1560 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1561 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1563 2014-06-02 Doug Evans <xdje42@gmail.com>
1565 * gdb.guile/scm-parameter.exp: New file.
1567 2014-06-02 Doug Evans <xdje42@gmail.com>
1569 * gdb.guile/scm-cmd.c: New file.
1570 * gdb.guile/scm-cmd.exp: New file.
1572 2014-06-02 Doug Evans <xdje42@gmail.com>
1574 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1575 pretty-printer lookup.
1576 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1577 (make-pp_s-printer): Call it.
1578 (make-pretty-printer-from-dict): New function.
1579 (lookup-pretty-printer-maker-from-dict): New function.
1580 (*pretty-printer*): Simplify.
1581 (make-objfile-pp_s-printer): New function.
1582 (install-objfile-pretty-printers!): New function.
1583 (make-progspace-pp_s-printer): New function.
1584 (install-progspace-pretty-printers!): New function.
1585 * gdb.guile/scm-progspace.c: New file.
1586 * gdb.guile/scm-progspace.exp: New file.
1588 2014-06-02 Pedro Alves <palves@redhat.com>
1590 * gdb.base/dprintf-bp-same-addr.c: New file.
1591 * gdb.base/dprintf-bp-same-addr.exp: New file.
1593 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1595 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1596 * gdb.arch/powerpc-power.s: Likewise.
1598 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1600 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1602 2014-06-01 Yao Qi <yao@codesourcery.com>
1604 * gdb.base/watchpoint.exp (test_watch_location): Check null
1605 pointer can be dereferenced. If not, do the test, otherwise
1608 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1610 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1612 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1614 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1616 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1617 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1618 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1619 * gdb.arch/amd64-invalid-stack-top.c: New file.
1620 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1622 2014-05-30 Pedro Alves <palves@redhat.com>
1624 PR breakpoints/17000
1625 * gdb.base/sss-bp-on-user-bp.c: New file.
1626 * gdb.base/sss-bp-on-user-bp.exp: New file.
1628 2014-05-30 David Blaikie <dblaikie@gmail.com>
1630 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1631 gnu_inline semantics via attribute.
1632 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1633 source explicitly specifies the required semantics.
1635 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1637 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1639 2014-05-29 Pedro Alves <palves@redhat.com>
1640 Tom Tromey <tromey@redhat.com>
1642 * gdb.base/async-shell.exp: Don't enable target-async.
1643 * gdb.base/async.exp
1644 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1646 (top level): Don't test with "target-async".
1647 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1648 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1649 * gdb.base/inferior-died.exp: Don't enable target-async.
1650 * gdb.base/interrupt-noterm.exp: Likewise.
1651 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1652 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1653 * gdb.mi/mi-nonstop.exp: Likewise.
1654 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1655 * gdb.mi/mi-nsintrall.exp: Likewise.
1656 * gdb.mi/mi-nsmoribund.exp: Likewise.
1657 * gdb.mi/mi-nsthrexec.exp: Likewise.
1658 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1659 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1660 * gdb.python/py-evsignal.exp: Don't enable target-async.
1661 * gdb.python/py-evthreads.exp: Likewise.
1662 * gdb.python/py-prompt.exp: Likewise.
1663 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1664 * gdb.server/solib-list.exp: Don't enable target-async.
1665 * gdb.threads/thread-specific-bp.exp: Likewise.
1666 * lib/mi-support.exp: Adjust to use mi-async.
1668 2014-05-29 Pedro Alves <palves@redhat.com>
1671 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1672 reason, even in sync mode.
1674 2014-05-29 Pedro Alves <palves@redhat.com>
1675 Hui Zhu <hui@codesourcery.com>
1678 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1679 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1680 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1681 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1683 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1685 * config/monitor.exp (gdb_target_monitor): Replace use of
1686 "set remotebaud" by "set serial baud".
1688 2014-05-26 Andy Wingo <wingo@igalia.com>
1690 * gdb.guile/scm-breakpoint.exp:
1691 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1692 properties instead of gdb-object-properties.
1694 2014-05-26 Yao Qi <yao@codesourcery.com>
1696 * gdb.server/no-thread-db.exp: Specify source file name
1697 explicitly when setting a breakpoint.
1699 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1701 * gdb.btrace/vdso.c: New.
1702 * gdb.btrace/vdso.exp: New.
1704 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1706 * gdb.base/gcore.exp (capture_command_output): Move ...
1707 * lib/gdb.exp (capture_command_output): ... here.
1709 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1711 * gdb.btrace/data.exp: Test memory access during btrace replay.
1713 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1715 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1717 2014-05-21 Pedro Alves <palves@redhat.com>
1720 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1721 (top level): Test that output related to execution commands is
1722 sent to the console with CLI commands, but not with MI commands.
1723 Test that breakpoint events are always mirrored to the console.
1724 Also expect the new source line to be output after a "next" in
1725 async mode too. Make it a pass/fail test.
1726 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1728 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1730 2014-05-21 Pedro Alves <palves@redhat.com>
1732 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1733 Use them to test variations of "list" after reaching a breakpoint.
1734 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1735 Test "list" with listsize 10 after reaching a breakpoint.
1736 * gdb.python/python.exp (decode_line current location line
1737 number): Adjust expected line number.
1739 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1741 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1742 behavior for $args, pass it directly to "run".
1744 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1746 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1749 2014-05-21 Pedro Alves <palves@redhat.com>
1751 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1752 auto-connect-native-target off".
1753 * gdb.base/auto-connect-native-target.c: New file.
1754 * gdb.base/auto-connect-native-target.exp: New file.
1756 2014-05-21 Pedro Alves <palves@redhat.com>
1758 * gdb.base/default.exp: Test "target native" instead of "target
1761 2014-05-21 Mark Wielaard <mjw@redhat.com>
1763 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1765 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1767 Fix TLS access for -static -pthread.
1768 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1769 <HAVE_TLS> (thread_function, main): Initialize it.
1770 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1772 <$have_tls != "">: Check TLSVAR.
1774 2014-05-21 Pedro Alves <palves@redhat.com>
1776 * gdb.base/dcache-line-read-error.c: New.
1777 * gdb.base/dcache-line-read-error.exp: New.
1779 2014-05-20 Pedro Alves <palves@redhat.com>
1781 * gdb.base/compare-sections.c: New file.
1782 * gdb.base/compare-sections.exp: New file.
1784 2014-05-20 Pedro Alves <palves@redhat.com>
1786 * gdb.base/break-idempotent.c: New file.
1787 * gdb.base/break-idempotent.exp: New file.
1789 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1791 * gdb.btrace/nohist.exp: New.
1793 2014-05-20 Yao Qi <yao@codesourcery.com>
1795 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1796 gdb.reverse directory and gdb_reverse_timeout exists in board
1798 * README: Document gdb_reverse_timeout.
1800 2014-05-20 Yao Qi <yao@codesourcery.com>
1802 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1803 'test_file_name'. Treat args as a string instead of a list.
1804 (gdb_init): Rename argument 'args' by 'test_file_name'.
1806 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1808 * gdb.arch/powerpc-power.exp: New file.
1809 * gdb.arch/powerpc-power.s: New file.
1811 2014-05-16 Doug Evans <dje@google.com>
1813 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
1814 * gdb.base/completion.exp: Check that all expected files exist
1815 before doing file completion.
1817 2014-05-16 Doug Evans <dje@google.com>
1819 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1821 (do_syscall_tests_without_xml): Update.
1823 2014-05-16 Pedro Alves <palves@redhat.com>
1825 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1826 instead of "unknown output after running".
1828 2014-05-16 Yao Qi <yao@codesourcery.com>
1830 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1831 file1.txt from host at the end.
1832 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1834 2014-05-15 Doug Evans <dje@google.com>
1836 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1837 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1838 loading file. Add test for TU lookup.
1840 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1842 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1843 calling "-exec-arguments" or "set args" before running the
1846 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1848 * lib/mi-support.exp (mi_expect_stop): Expect message for
1849 inferiors that exit with non-zero exit code.
1851 2014-05-14 Yao Qi <yao@codesourcery.com>
1853 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1854 match absolute path on remote host.
1855 (test_file_list_exec_source_files): Remove "/" from the
1858 2014-05-14 Yao Qi <yao@codesourcery.com>
1860 * boards/local-remote-host-notty.exp (${board}_file): New
1863 2014-05-07 Kyle McMartin <kyle@redhat.com>
1865 Pushed by Joel Brobecker <brobecker@adacore.com>.
1866 * gdb.arch/aarch64-atomic-inst.c: New file.
1867 * gdb.arch/aarch64-atomic-inst.exp: New file.
1869 2014-05-07 Yao Qi <yao@codesourcery.com>
1871 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1872 in current context" too.
1874 2014-05-05 Keith Seitz <keiths@redhat.com>
1876 * gdb.linespec/ls-dollar.exp: Add test for linespec
1877 file:convenience_variable.
1879 2014-05-05 Yao Qi <yao@codesourcery.com>
1881 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
1882 traceframes into tfile and ctf trace files. Read data from
1883 trace file and test collected data.
1884 (gdb_collect_locals_test): Likewise.
1885 (gdb_unavailable_registers_test): Likewise.
1886 (gdb_unavailable_floats): Likewise.
1887 (gdb_collect_globals_test): Likewise.
1888 (top-level): Append "ctf" to trace_file_targets if GDB
1891 2014-05-05 Yao Qi <yao@codesourcery.com>
1893 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
1895 (gdb_collect_args_test_1): ... it. New proc.
1896 (gdb_collect_locals_test): Move some code to ...
1897 (gdb_collect_locals_test_1): ... it. New proc.
1898 (gdb_unavailable_registers_test): Move some code to ...
1899 (gdb_unavailable_registers_test_1): ... it. New proc.
1900 (gdb_unavailable_floats): Move some code to ...
1901 (gdb_unavailable_floats_1): ... it. New proc.
1903 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1905 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
1906 probes to test for bitness recognition.
1907 * gdb.arch/amd64-stap-optional-prefix.exp
1908 (test_probe_value_without_reg): New procedure.
1909 Add code to test for different kinds of bitness.
1911 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1913 PR breakpoints/16889
1914 * gdb.arch/amd64-stap-optional-prefix.S: New file.
1915 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1917 2014-05-01 Pedro Alves <palves@redhat.com>
1919 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
1920 gdb_file_cmd if no file is specified.
1921 * boards/native-extended-gdbserver.exp (gdb_load): Use the
1922 last_loaded_file to set the remote exec-file.
1924 2014-05-01 Pedro Alves <palves@redhat.com>
1926 * boards/local-remote-host.exp: New file.
1928 2014-05-01 Pedro Alves <palves@redhat.com>
1930 * boards/local-remote-host.exp: Rename to ...
1931 * boards/local-remote-host-notty.exp: ... this.
1933 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1935 * gdb.ada/dyn_arrayidx: New testcase.
1937 2014-04-26 Yao Qi <yao@codesourcery.com>
1939 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
1940 and compute the length of function main. Save it in
1942 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
1943 (top-level): Use gdb_compile to compile objects into
1944 executable and restart GDB. Remove invocation to
1945 prepare_for_testing.
1947 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
1948 Pedro Alves <palves@redhat.com>
1951 * gdb.multi/multi-attach.c: New file.
1952 * gdb.multi/multi-attach.exp: New file.
1954 2014-04-25 Pedro Alves <palves@redhat.com>
1956 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
1958 (top level): Test that "set remote conditional-breakpoints-packet
1959 off" works as intended.
1960 * gdb.base/dprintf.exp: Test that "set remote
1961 breakpoint-commands-packet off" works as intended.
1962 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
1964 (top level): Call it.
1965 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
1966 remote fast-tracepoints-packet off" works as intended.
1967 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
1968 * lib/gdb.exp (gdb_is_target_remote): ... here.
1970 2014-04-24 David Blaikie <dblaikie@gmail.com>
1972 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
1973 ensure clang would not discard them.
1974 * gdb.base/gdbvars.c: Ditto.
1975 * gdb.base/memattr.c: Ditto.
1976 * gdb.base/whatis.c: Ditto.
1977 * gdb.python/py-prettyprint.c: Ditto.
1978 * gdb.trace/actions.c: Ditto.
1979 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
1980 ensure clang would not discard it.
1982 2014-04-24 David Blaikie <dblaikie@gmail.com>
1984 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1985 clang to emit the full definition of type required by the test
1986 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1988 2014-04-24 David Blaikie <dblaikie@gmail.com>
1990 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1991 coax Clang into emitting the definition of the type.
1992 * gdb.cp/pr10728-x.h (y): Ditto.
1993 * gdb.cp/pr10728-y.cc (y): Ditto.
1995 2014-04-24 David Blaikie <dblaikie@gmail.com>
1997 * gdb.base/label.exp: XFAIL label related tests under Clang.
1998 * gdb.cp/cplabel.exp: Ditto.
1999 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
2000 under Clang those using labels.
2002 2014-04-25 Yao Qi <yao@codesourcery.com>
2004 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
2006 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
2007 partial_label and double_label.
2009 2014-04-24 David Blaikie <dblaikie@gmail.com>
2011 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
2013 2014-04-24 David Blaikie <dblaikie@gmail.com>
2015 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
2016 of the function to work across GCC and Clang.
2017 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
2018 pointer types (const void ** const V void **).
2020 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
2021 Walfred Tedeschi <walfred.tedeschi@intel.com>
2023 * Makefile.in (EXECUTABLES): Added i386-avx512.
2024 * gdb.arch/i386-avx512.c: New file.
2025 * gdb.arch/i386-avx512.exp: Likewise.
2027 2014-04-23 Keith Seitz <keiths@redhat.com>
2029 * lib/mi-support.exp (mi_list_breakpoints): Delete.
2030 (mi_make_breakpoint_table): New procedure.
2031 (mi_create_breakpoint): Use mi_make_breakpoint
2032 and return the result.
2033 (mi_make_breakpoint): New procedure.
2034 (mi_build_kv_pairs): New procedure.
2036 * gdb.mi/mi-break.exp: Remove unused globals,
2037 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
2038 All callers updated.
2039 * gdb.mi/mi-dprintf.exp: Use variable to track command
2041 Update all callers of mi_create_breakpoint and use
2042 mi_make_breakpoint_table.
2043 Remove any unused global variables.
2044 * gdb.mi/mi-nonstop.exp: Likewise.
2045 * gdb.mi/mi-nsintrall.exp: Likewise.
2046 * gdb.mi/mi-nsmoribund.exp: Likewise.
2047 * gdb.mi/mi-nsthrexec.exp: Likewise.
2048 * gdb.mi/mi-reverse.exp: Likewise.
2049 * gdb.mi/mi-simplerun.exp: Likewise.
2050 * gdb.mi/mi-stepn.exp: Likewise.
2051 * gdb.mi/mi-syn-frame.exp: Likewise.
2052 * gdb.mi/mi-until.exp: Likewise.
2053 * gdb.mi/mi-var-cp.exp: Likewise.
2054 * gdb.mi/mi-var-display.exp: Likewise.
2055 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2056 * gdb.mi/mi2-var-child.exp: Likewise.
2057 * gdb.mi/mi-vla-c99.exp: Likewise.
2058 * lib/mi-support.exp: Likewise.
2060 From Ian Lance Taylor <iant@cygnus.com>:
2061 * lib/gdb.exp (parse_args): New procedure.
2063 2014-04-23 Pedro Alves <palves@redhat.com>
2065 * gdb.base/break-unload-file.c: New file.
2066 * gdb.base/break-unload-file.exp: New file.
2067 * gdb.base/sym-file-lib.c (baz): New function.
2068 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
2070 (load): Store the segment's mapped size.
2071 (unload): New function.
2072 (unload_shlib): New function.
2073 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
2074 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
2075 set a breakpoint at baz, and call it.
2076 * gdb.base/sym-file.exp: New tests for stale breakpoint
2079 2014-04-23 Pedro Alves <palves@redhat.com>
2081 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
2082 * gdb.base/hbreak-in-shr-unsupported.c: New file.
2083 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
2084 * gdb.base/hbreak-unmapped.c: New file.
2085 * gdb.base/hbreak-unmapped.exp: New file.
2086 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
2087 * lib/gdb.exp (gdb_is_target_remote): ... here.
2089 2014-04-22 Pedro Alves <palves@redhat.com>
2091 * gdb.base/consecutive-step-over.c: New file.
2092 * gdb.base/consecutive-step-over.exp: New file.
2094 2014-04-22 Pedro Alves <palves@redhat.com>
2096 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
2097 instead of send_gdb/gdb_expect.
2099 2014-04-22 Yao Qi <yao@codesourcery.com>
2101 * lib/trace-support.exp (generate_tracefile): New procedure.
2102 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
2104 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
2105 if generate_tracefile returns 1.
2107 2014-04-18 Tom Tromey <palves@redhat.com>
2108 Pedro alves <tromey@redhat.com>
2111 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
2112 with a backtrace limit.
2113 * gdb.python/py-frame-inline.exp: Test running to an inline
2114 function with a backtrace limit, and printing the newest frame.
2115 * gdb.python/py-frame-inline.c (main): Call f.
2117 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2119 * gdb.java/jnpe.exp: Drop srcdir from untested path.
2121 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2123 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
2124 Drop prefix from unsupported source file path.
2126 2014-04-17 Yao Qi <yao@codesourcery.com>
2128 * lib/gdb.exp (with_target_charset): New proc.
2129 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
2130 with_target_charset.
2131 (test_print_strings): Likewise.
2132 (test_repeat_bytes): Likewise.
2133 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
2136 2014-04-16 Keith Seitz <keiths@redhat.com>
2139 * gdb.dwarf2/corrupt.c: New file.
2140 * gdb.dwarf2/corrupt.exp: New file.
2142 2014-04-16 Keith Seitz <keiths@redhat.com>
2145 * gdb.cp/namelessclass.cc: New file.
2146 * gdb.cp/namelessclass.exp: New file.
2147 * gdb.cp/namelessclass.S: New file.
2149 2014-04-16 Doug Evans <dje@google.com>
2151 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
2153 (gdbserver_default_get_comm_port): New function.
2154 (gdbserver_start): Check if board file provided
2155 "gdbserver,get_comm_port" and use it if so.
2156 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
2157 (gdb,socketport): Set to "stdio".
2158 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
2159 (stdio_gdbserver_template): Delete.
2160 (${board}_get_remote_address): Update.
2161 (${board}_build_remote_cmd): Delete.
2162 (${board}_get_comm_port): New function.
2163 (${board}_spawn): Update.
2164 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
2166 (${board}_get_remote_address): Update.
2167 (${board}_get_comm_port): New function.
2169 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
2171 * gdb.base/memattr.exp: Improve regexps to handle memory regions
2172 appearing in any order.
2174 2014-04-15 Doug Evans <dje@google.com>
2176 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
2177 uninitialized value of "description".
2179 2014-04-15 Keith Seitz <keiths@redhat.com>
2181 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
2182 Remove unused globals.
2183 (test_running_the_program): Likewise.
2184 (test_controlled_execution): Likewise.
2185 (test_controlling_breakpoints): Likewise.
2186 (test_program_termination): Likewise.
2188 2014-04-15 Keith Seitz <keiths@redhat.com>
2190 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
2192 (test_rbreak_creation_and_listing): Likewise.
2193 (test_ignore_count): Likewise.
2194 (test_error): Likewise.
2196 2014-04-15 Pedro Alves <palves@redhat.com>
2198 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2199 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2201 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2202 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2203 to sym-file-loader.c.
2204 (struct library): Forward declare.
2205 (load_shlib, lookup_function): Change prototypes.
2206 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2207 (translate_offset): Remove declarations.
2208 (get_text_addr): New declaration.
2209 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2210 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2212 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2213 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2214 here from sym-file-loader.h.
2215 (struct library): New structure.
2216 (load_shlib, lookup_function): Change prototypes and adjust to
2217 work with a struct library.
2218 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2219 (translate_offset): Make static.
2220 (get_text_addr): New function.
2221 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
2223 2014-04-15 Pedro Alves <palves@redhat.com>
2225 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
2227 2014-04-15 Pedro Alves <palves@redhat.com>
2229 * gdb.base/sym-file-loader.c: Include <limits.h>.
2230 (SELF_LINK): New define.
2231 (get_origin): New function.
2232 (load_shlib): Use it.
2233 * gdb.base/sym-file.exp: Don't early return if the target is
2234 remote. Use runto_main, and issue fail is that fails. Use
2236 (shlib_name): Delete.
2237 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
2239 2014-04-15 Pedro Alves <palves@redhat.com>
2241 * gdb.base/sym-file.exp: Remove regex characters from test
2242 message. Don't refer to breakpoint numbers in test messages.
2244 2014-04-14 Keith Seitz <keiths@redhat.com>
2247 * gdb.cp/var-tag.cc: New file.
2248 * gdb.cp/var-tag.exp: New file.
2249 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2250 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2251 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2252 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2254 2014-04-14 Tom Tromey <tromey@redhat.com>
2256 * gdb.cp/classes.exp (test_enums): Handle underlying type.
2257 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
2259 * gdb.cp/enum-class.exp: New file.
2260 * gdb.cp/enum-class.cc: New file.
2262 2014-04-14 Tom Tromey <tromey@redhat.com>
2264 * gdb.dwarf2/enum-type.exp: New file.
2266 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2268 * gdb.mi/mi-vla-c99.exp: New file.
2269 * gdb.mi/vla.c: New file.
2271 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2273 * gdb.base/vla-datatypes.c: New file.
2274 * gdb.base/vla-datatypes.exp: New file.
2276 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2278 * gdb.base/vla-ptr.c: New file.
2279 * gdb.base/vla-ptr.exp: New file.
2281 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2283 * gdb.dwarf2/count.exp: New file.
2285 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2287 * gdb.base/vla-sideeffect.c: New file.
2288 * gdb.base/vla-sideeffect.exp: New file.
2290 2014-04-14 David Blaikie <dblaikie@gmail.com>
2292 * gdb.mi/non-stop.c: Add return value for non-void function return
2294 * gdb.threads/staticthreads.c: Ditto.
2296 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2297 Doug Evans <xdje42@gmail.com>
2299 * gdb.guile/scm-value.c: Improve test case.
2300 * gdb.guile/scm-value.exp: Add new test.
2302 2014-04-11 David Blaikie <dblaikie@gmail.com>
2304 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2305 override Clang's default.
2307 2014-04-11 Joel Brobecker <brobecker@adacore.com>
2309 Revert the following changes (regressions):
2311 * gdb.base/vla-sideeffect.c: New file.
2312 * gdb.base/vla-sideeffect.exp: New file.
2314 * gdb.dwarf2/count.exp: New file.
2316 * gdb.base/vla-multi.c: New file.
2317 * gdb.base/vla-multi.exp: New file.
2319 * gdb.base/vla-ptr.c: New file.
2320 * gdb.base/vla-ptr.exp: New file.
2322 * gdb.base/vla-datatypes.c: New file.
2323 * gdb.base/vla-datatypes.exp: New file.
2325 * gdb.mi/mi-vla-c99.exp: New file.
2326 * gdb.mi/vla.c: New file.
2328 2014-04-11 Keith Seitz <keiths@redhat.com>
2331 * gdb.cp/cpsizeof.exp: New file.
2332 * gdb.cp/cpsizeof.cc: New file.
2334 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2336 * gdb.mi/mi-vla-c99.exp: New file.
2337 * gdb.mi/vla.c: New file.
2339 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2341 * gdb.base/vla-datatypes.c: New file.
2342 * gdb.base/vla-datatypes.exp: New file.
2344 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2346 * gdb.base/vla-ptr.c: New file.
2347 * gdb.base/vla-ptr.exp: New file.
2349 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2351 * gdb.base/vla-multi.c: New file.
2352 * gdb.base/vla-multi.exp: New file.
2354 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2356 * gdb.dwarf2/count.exp: New file.
2358 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2360 * gdb.base/vla-sideeffect.c: New file.
2361 * gdb.base/vla-sideeffect.exp: New file.
2363 2014-04-11 Yao Qi <yao@codesourcery.com>
2365 * gdb.base/completion.exp: Check file exists before running tests
2368 2014-04-10 Pedro Alves <palves@redhat.com>
2370 * gdb.base/cond-eval-mode.c: New file.
2371 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2372 prepare_for_testing to build the new file. Check result of
2374 (test_break, test_watch): New procedures.
2375 (top level): Use them.
2377 2014-04-08 Pierre Muller <muller@sourceware.org>
2379 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2380 Ctrl-V use for mingw hosts.
2382 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2384 * gdb.python/py-value.c: Improve test case.
2385 * gdb.python/py-value.exp: Add new test.
2387 2014-04-07 David Blaikie <dblaikie@gmail.com>
2389 * lib/compiler.c: Identify the clang compiler.
2390 * lib/compiler.cc: Ditto.
2392 2014-04-03 Yao Qi <yao@codesourcery.com>
2394 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2396 2014-04-01 Anton Blanchard <anton@samba.org>
2398 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2401 2014-04-01 Anton Blanchard <anton@samba.org>
2403 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2404 prepare_for_testing.
2406 2014-04-01 Anton Blanchard <anton@samba.org>
2408 * gdb.arch/ppc64-atomic-inst.c: Remove.
2409 * gdb.arch/ppc64-atomic-inst.S: New file.
2410 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2412 2014-03-31 Doug Evans <dje@google.com>
2414 * gdb.base/print-symbol-loading-lib.c: New file.
2415 * gdb.base/print-symbol-loading-main.c: New file.
2416 * gdb.base/print-symbol-loading.exp: New file.
2418 2014-03-31 Yao Qi <yao@codesourcery.com>
2420 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2422 2014-03-28 Joel Brobecker <brobecker@adacore.com>
2424 * gdb.ada/mi_dyn_arr: New testcase.
2426 2014-03-27 Doug Evans <dje@google.com>
2428 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2430 2014-03-27 Yao Qi <yao@codesourcery.com>
2432 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2433 if target is nios2-*-*.
2435 2014-03-26 Yao Qi <yao@codesourcery.com>
2437 * lib/gdb.exp (readline_is_used): New proc.
2438 * gdb.base/completion.exp: Move tests on command complete up.
2439 Skip the rest of tests if readline is not used.
2440 * gdb.ada/complete.exp: Skp the test if readline is not
2442 * gdb.base/filesym.exp: Likewise.
2443 * gdb.base/macscp.exp: Likewise.
2444 * gdb.base/readline-ask.exp: Likewise.
2445 * gdb.base/readline.exp: Likewise.
2446 * gdb.python/py-cmd.exp: Likewise.
2447 * gdb.trace/tfile.exp: Likewise.
2449 2014-03-26 Yao Qi <yao@codesourcery.com>
2451 * gdb.base/macscp.exp: Fix code format issues.
2453 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2455 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2456 * gdb.asm/powerpc64le.inc: New file.
2458 2014-03-25 Pedro Alves <palves@redhat.com>
2459 Doug Evans <dje@google.com>
2461 * gdb.base/source-execution.c: New file.
2462 * gdb.base/source-execution.exp: New file.
2463 * gdb.base/source-execution.gdb: New file.
2465 2014-03-24 Doug Evans <dje@google.com>
2467 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2470 2014-03-24 Hui Zhu <hui@codesourcery.com>
2471 Pedro Alves <palves@redhat.com>
2473 PR breakpoints/16101
2474 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2475 test pass/fail messages. Detect missing support for dprintf when
2476 breakpoints are actually inserted.
2477 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2478 breakpoints are actually inserted.
2479 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2482 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2484 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2486 2014-03-22 Doug Evans <xdje42@gmail.com>
2488 * gdb.python/python.exp (python not supported): Verify multi-line
2489 python command issues an error.
2490 * gdb.guile/guile.exp (guile not supported): Verify multi-line
2491 guile command issues an error.
2493 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2495 * gdb.threads/thread-specific.exp: Handle the lack of usable
2496 $this_breakpoint and $this_thread.
2498 2014-03-21 Hui Zhu <hui@codesourcery.com>
2500 * gdb.base/attach.exp (do_command_attach_tests): New.
2502 2014-03-20 Tom Tromey <tromey@redhat.com>
2503 Pedro Alves <palves@redhat.com>
2506 * gdb.base/condbreak-call-false.c: New file.
2507 * gdb.base/condbreak-call-false.exp: New file.
2509 2014-03-20 Pedro Alves <palves@redhat.com>
2511 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2513 (block_signals, unblock_signals): Delete.
2514 (child_function_2, main): Remove references to deleted variable
2517 2014-03-20 Pedro Alves <palves@redhat.com>
2519 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2520 Use pthread_kill to signal thread 2.
2521 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2522 Adjust to make the test send itself a signal rather than using the
2523 host's "kill" command.
2525 2014-03-20 Pedro Alves <palves@redhat.com>
2527 * gdb.threads/multiple-step-overs.c: New file.
2528 * gdb.threads/multiple-step-overs.exp: New file.
2529 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2530 Adjust expected infrun debug output.
2532 2014-03-20 Pedro Alves <palves@redhat.com>
2534 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2535 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2537 2014-03-20 Pedro Alves <palves@redhat.com>
2540 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2541 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2542 of gdb_test_multiple.
2543 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2544 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2546 2014-03-20 Pedro Alves <palves@redhat.com>
2548 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2549 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2551 2014-03-19 Pedro Alves <palves@redhat.com>
2553 * gdb.base/async.exp: Remove early return.
2555 2014-03-19 Pedro Alves <palves@redhat.com>
2557 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2559 2014-03-19 Pedro Alves <palves@redhat.com>
2561 * gdb.base/async.exp (test_background): Expect \r\n after
2562 "completed." in the fail pattern.
2564 2014-03-19 Pedro Alves <palves@redhat.com>
2566 * gdb.base/async.exp (test_background): New procedure.
2567 Use it for all background execution command tests.
2569 2014-03-19 Pedro Alves <palves@redhat.com>
2571 * gdb.base/async.exp: Use prepare_for_testing.
2573 2014-03-19 Pedro Alves <palves@redhat.com>
2575 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2578 2014-03-19 Pedro Alves <palves@redhat.com>
2580 * gdb.base/async.c (main): Add "jump here" and "until here" line
2582 * gdb.base/async.exp (jump_here): New global.
2583 (jump& test): Use it.
2584 (until_here): New global.
2585 (until& test): Use it.
2587 2014-03-19 Pedro Alves <palves@redhat.com>
2589 * gdb.base/async.exp: Don't frob gdb_protocol.
2591 2014-03-18 Doug Evans <xdje42@gmail.com>
2593 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2594 Fix spelling of exec-done-display.
2596 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2599 * gdb.base/gdb-sigterm.c: New file.
2600 * gdb.base/gdb-sigterm.exp: New file.
2602 2014-03-18 Pedro Alves <palves@redhat.com>
2605 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2606 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2609 2014-03-17 Joel Brobecker <brobecker@adacore.com>
2611 * gdb.ada/pckd_arr_ren: New testcase.
2613 2014-03-13 Doug Evans <xdje42@gmail.com>
2616 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2617 collect after discarding symbols.
2619 2014-03-13 Ludovic Courtès <ludo@gnu.org>
2620 Doug Evans <xdje42@gmail.com>
2622 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2623 to history survives a gc.
2625 2014-03-13 Pedro Alves <palves@redhat.com>
2627 * gdb.base/default.exp: Don't test "target procfs".
2629 2014-03-13 Pedro Alves <palves@redhat.com>
2631 * gdb.base/default.exp: Update "target child" and "target procfs"
2632 tests to not expect "Unix".
2634 2014-03-12 Tom Tromey <tromey@redhat.com>
2636 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2637 New procs. Add target-async tests.
2638 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2639 Add target-async tests.
2641 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2643 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2644 'func_start' and 'func_end' for the beginning and end of the
2645 function code, respectively.
2646 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2647 'func_end' instead of 'func' and 'main'.
2649 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2651 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2652 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2653 generate the debug info assembler source.
2655 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2657 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2658 * gdb.dwarf2/arr-subrange.exp: Likewise.
2659 * gdb.dwarf2/dwz.exp: Likewise.
2660 * gdb.dwarf2/method-ptr.exp: Likewise.
2661 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2662 * gdb.dwarf2/subrange.exp: Likewise.
2663 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2664 * gdb.dwarf2/implptrpiece.exp: Likewise.
2665 * gdb.dwarf2/nostaticblock.exp: Likewise.
2667 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2669 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2670 directory to absolute path name arguments.
2672 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2674 * gdb.ada/tagged_access: New testcase.
2676 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2678 * gdb.btrace/data.exp: Update expected output.
2680 2014-03-06 Yao Qi <yao@codesourcery.com>
2682 * gdb.trace/pr16508.exp: New file.
2684 2014-03-05 Pedro Alves <palves@redhat.com>
2687 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2689 (top level): Adjust to use it. Add tests that exercise breakpoint
2690 interaction with the code-cache.
2692 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2694 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2695 test for 'history-append!'.
2697 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2699 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2700 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2701 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2702 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2703 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2704 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2706 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2708 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2709 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2710 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2712 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2714 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2716 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2718 * gdb.dwarf2/arr-stride.c: New file.
2719 * gdb.dwarf2/arr-stride.exp: New file.
2721 2014-02-26 Pedro Alves <palves@redhat.com>
2723 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2724 that won't ever trigger. Make sure that GDB reports the correct
2725 breakpoint that caused the stop.
2727 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2730 * gdb.base/auto-load-script: New file.
2731 * gdb.base/auto-load.c: New file.
2732 * gdb.base/auto-load.exp: New file.
2735 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2737 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2739 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2740 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2742 2014-02-24 Doug Evans <dje@google.com>
2744 * lib/gdb.exp (run_on_host): Log error output if program fails.
2746 2014-02-21 Pedro Alves <palves@redhat.com>
2748 * gdb.threads/step-after-sr-lock.c: Rename to ...
2749 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2750 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2751 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2754 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2757 * gdb.arch/amd64-stap-special-operands.exp: New file.
2758 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2759 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2760 * gdb.arch/amd64-stap-triplet.S: Likewise.
2761 * gdb.arch/amd64-stap-triplet.c: Likewise.
2763 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2765 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2766 in .section pseudo-op.
2768 2014-02-20 lin zuojian <manjian2006@gmail.com>
2769 Joel Brobecker <brobecker@adacore.com>
2770 Doug Evans <xdje42@gmail.com>
2773 * gdb.dwarf2/dw2-icycle.S: New file.
2774 * gdb.dwarf2/dw2-icycle.c: New file.
2775 * gdb.dwarf2/dw2-icycle.exp: New file.
2777 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2779 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2780 operations on gdb.Value objects.
2781 * gdb.python/py-value-cc.exp: Add new test to test operations on
2784 2014-02-18 Doug Evans <dje@google.com>
2786 * Makefile.in (TESTS): New variable.
2787 (expanded_tests, expanded_tests_or_none): New variables
2788 (check-single): Pass $(expanded_tests_or_none) to runtest.
2789 (check-parallel): Only run tests in $(TESTS) if non-empty.
2790 (check/no-matching-tests-found): New rule.
2791 * README: Document TESTS makefile variable.
2793 2014-02-18 Doug Evans <dje@google.com>
2795 * Makefile.in (check-parallel): rm -rf outputs temp.
2797 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2799 Fix "ERROR: no fileid for" in the testsuite.
2800 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2802 2014-02-12 Doug Evans <dje@google.com>
2804 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2805 (MISCELLANEOUS): New variable.
2806 (clean): rm -rf $(MISCELLANEOUS).
2807 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2808 dwp live in the same directory as symlinks, with each symlink pointed
2809 to a differently named file in a different directory.
2811 2014-02-11 Doug Evans <dje@google.com>
2813 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2814 of Tcl file commands.
2816 2014-02-10 Mark Kettenis <kettenis@gnu.org>
2818 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2821 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2823 * gdb.ada/tick_length_array_enum_idx: New testcase.
2825 2014-02-10 Doug Evans <xdje42@gmail.com>
2827 * configure.ac (AC_OUTPUT): Add gdb.guile.
2828 * configure: Regenerate.
2829 * lib/gdb-guile.exp: New file.
2830 * lib/gdb.exp (get_target_charset): New function.
2831 * gdb.base/help.exp: Update expected output from "apropos apropos".
2832 * gdb.guile/Makefile.in: New file.
2833 * gdb.guile/guile.exp: New file.
2834 * gdb.guile/scm-arch.c: New file.
2835 * gdb.guile/scm-arch.exp: New file.
2836 * gdb.guile/scm-block.c: New file.
2837 * gdb.guile/scm-block.exp: New file.
2838 * gdb.guile/scm-breakpoint.c: New file.
2839 * gdb.guile/scm-breakpoint.exp: New file.
2840 * gdb.guile/scm-disasm.c: New file.
2841 * gdb.guile/scm-disasm.exp: New file.
2842 * gdb.guile/scm-equal.c: New file.
2843 * gdb.guile/scm-equal.exp: New file.
2844 * gdb.guile/scm-error.exp: New file.
2845 * gdb.guile/scm-error.scm: New file.
2846 * gdb.guile/scm-frame-args.c: New file.
2847 * gdb.guile/scm-frame-args.exp: New file.
2848 * gdb.guile/scm-frame-args.scm: New file.
2849 * gdb.guile/scm-frame-inline.c: New file.
2850 * gdb.guile/scm-frame-inline.exp: New file.
2851 * gdb.guile/scm-frame.c: New file.
2852 * gdb.guile/scm-frame.exp: New file.
2853 * gdb.guile/scm-generics.exp: New file.
2854 * gdb.guile/scm-gsmob.exp: New file.
2855 * gdb.guile/scm-iterator.c: New file.
2856 * gdb.guile/scm-iterator.exp: New file.
2857 * gdb.guile/scm-math.c: New file.
2858 * gdb.guile/scm-math.exp: New file.
2859 * gdb.guile/scm-objfile-script-gdb.in: New file.
2860 * gdb.guile/scm-objfile-script.c: New file.
2861 * gdb.guile/scm-objfile-script.exp: New file.
2862 * gdb.guile/scm-objfile.c: New file.
2863 * gdb.guile/scm-objfile.exp: New file.
2864 * gdb.guile/scm-ports.exp: New file.
2865 * gdb.guile/scm-pretty-print.c: New file.
2866 * gdb.guile/scm-pretty-print.exp: New file.
2867 * gdb.guile/scm-pretty-print.scm: New file.
2868 * gdb.guile/scm-section-script.c: New file.
2869 * gdb.guile/scm-section-script.exp: New file.
2870 * gdb.guile/scm-section-script.scm: New file.
2871 * gdb.guile/scm-symbol.c: New file.
2872 * gdb.guile/scm-symbol.exp: New file.
2873 * gdb.guile/scm-symtab-2.c: New file.
2874 * gdb.guile/scm-symtab.c: New file.
2875 * gdb.guile/scm-symtab.exp: New file.
2876 * gdb.guile/scm-type.c: New file.
2877 * gdb.guile/scm-type.exp: New file.
2878 * gdb.guile/scm-value-cc.cc: New file.
2879 * gdb.guile/scm-value-cc.exp: New file.
2880 * gdb.guile/scm-value.c: New file.
2881 * gdb.guile/scm-value.exp: New file.
2882 * gdb.guile/source2.scm: New file.
2883 * gdb.guile/types-module.cc: New file.
2884 * gdb.guile/types-module.exp: New file.
2886 2014-02-10 Yao Qi <yao@codesourcery.com>
2889 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
2890 * configure: Regenerated.
2891 * Makefile.in: New file.
2893 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2895 * gdb.python/py-framefilter.exp: Fix typo.
2897 2014-02-08 Yao Qi <yao@codesourcery.com>
2899 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
2900 that no =breakpoint-modified is emitted when breakpoints are
2901 modified through MI commands.
2903 2014-02-07 Pedro Alves <pedro@codesourcery.com>
2904 Pedro Alves <palves@redhat.com>
2906 * gdb.threads/step-after-sr-lock.c: New file.
2907 * gdb.threads/step-after-sr-lock.exp: New file.
2909 2014-02-07 Pedro Alves <palves@redhat.com>
2911 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
2913 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2915 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
2916 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
2918 2014-02-06 Doug Evans <xdje42@gmail.com>
2920 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
2923 * gdb.gdb/python-interrupts.exp: New file.
2925 2014-02-05 Yao Qi <yao@codesourcery.com>
2927 * gdb.trace/report.exp (use_collected_data): Test the output
2928 of "info threads" and "info inferiors".
2930 2014-02-05 Yao Qi <yao@codesourcery.com>
2934 2013-05-24 Yao Qi <yao@codesourcery.com>
2936 * gdb.trace/tfile.exp: Test inferior and thread.
2938 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2940 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
2942 * gdb.base/step-bt.c: Call hello via function pointer to make
2943 sure its first instruction is executed on powerpc64le-linux.
2945 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2947 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
2949 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2951 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
2952 of the test patterns for use on little-endian systems.
2954 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2956 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
2957 (decimal_vector): Fix for little-endian.
2959 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2961 * gdb.arch/sparc-sysstep.exp: New file.
2962 * gdb.arch/sparc-sysstep.c: Likewise.
2964 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
2966 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2968 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2970 2014-01-23 Tom Tromey <tromey@redhat.com>
2972 * gdb.ada/array_char_idx: New testcase.
2974 2014-01-23 Tom Tromey <tromey@redhat.com>
2977 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
2978 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2981 2014-01-23 Tom Tromey <tromey@redhat.com>
2984 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2985 string from an inferior frame.
2986 * gdb.python/py-framefilter-mi.exp: Update.
2988 2014-01-22 Doug Evans <dje@google.com>
2990 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2992 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2994 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2996 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2998 * gdb.trace/entry-values.exp: Remove excess space character from
2999 regex patterns. Handle s390 call instruction.
3001 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3003 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
3004 define "*_start" label. Make "name" static.
3005 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
3006 ${name} by references to ${name}_start.
3008 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3010 * gdb.base/info-macros.exp: Remove "debug" from the compile
3013 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3015 * gdb.dlang/demangle.exp: New file.
3017 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3019 * gdb.dlang/primitive-types.exp: New file.
3021 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3023 * configure.ac: Create gdb.dlang/Makefile.
3024 * configure: Regenerate.
3025 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
3026 * gdb.dlang/Makefile.in: New file.
3027 * lib/d-support.exp: New file.
3028 * lib/gdb.exp (skip_d_tests): New proc.
3030 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3032 * gdb.btrace/delta.exp: Check reverse stepi.
3033 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
3034 * gdb.btrace/finish.exp: New.
3035 * gdb.btrace/next.exp: New.
3036 * gdb.btrace/nexti.exp: New.
3037 * gdb.btrace/record_goto.c: Add comments.
3038 * gdb.btrace/step.exp: New.
3039 * gdb.btrace/stepi.exp: New.
3040 * gdb.btrace/multi-thread-step.c: New.
3041 * gdb.btrace/multi-thread-step.exp: New.
3042 * gdb.btrace/rn-dl-bind.c: New.
3043 * gdb.btrace/rn-dl-bind.exp: New.
3044 * gdb.btrace/data.c: New.
3045 * gdb.btrace/data.exp: New.
3046 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3048 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3050 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
3051 * gdb.btrace/exception.exp: Update.
3052 * gdb.btrace/instruction_history.exp: Update.
3053 * gdb.btrace/record_goto.exp: Update.
3054 * gdb.btrace/tailcall.exp: Update.
3055 * gdb.btrace/unknown_functions.exp: Update.
3056 * gdb.btrace/delta.exp: New.
3058 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3060 * gdb.btrace/record_goto.exp: Add backtrace test.
3061 * gdb.btrace/tailcall.exp: Add backtrace test.
3063 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3065 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
3066 * gdb.btrace/record_goto.c: New.
3067 * gdb.btrace/record_goto.exp: New.
3068 * gdb.btrace/x86-record_goto.S: New.
3070 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3072 * gdb.btrace/function_call_history.exp: Update tests.
3073 * gdb.btrace/instruction_history.exp: Update tests.
3075 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3077 * gdb.btrace/function_call_history.exp: Fix expected field
3078 order for "record function-call-history".
3079 Add new tests for "record function-call-history /c".
3080 * gdb.btrace/exception.cc: New.
3081 * gdb.btrace/exception.exp: New.
3082 * gdb.btrace/tailcall.exp: New.
3083 * gdb.btrace/x86-tailcall.S: New.
3084 * gdb.btrace/x86-tailcall.c: New.
3085 * gdb.btrace/unknown_functions.c: New.
3086 * gdb.btrace/unknown_functions.exp: New.
3087 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3089 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3091 * gdb.btrace/instruction_history.exp: Update.
3092 * gdb.btrace/function_call_history.exp: Update.
3094 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3096 * gdb.btrace/function_call_history.exp: Fix expected function
3098 * gdb.btrace/instruction_history.exp: Initialize traced.
3099 Remove traced_functions.
3101 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3103 * gdb.btrace/function_call_history.exp: Update
3104 * gdb.btrace/instruction_history.exp: Update.
3106 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3108 * gdb.btrace/enable.exp: Update expected text.
3110 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
3112 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
3115 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
3117 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
3119 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3121 * lib/gdb.exp (supports_process_record): Return true for
3122 arm*-linux*. (supports_reverse): Likewise.
3124 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3128 * gdb.python/py-type.c: Enhance test case.
3129 * gdb.python/py-value-cc.cc: Likewise
3130 * gdb.python/py-type.exp: Add new tests.
3131 * gdb.python/py-value-cc.exp: Likewise
3133 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3134 Pedro Alves <palves@redhat.com>
3136 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
3138 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
3139 references to ${name}_start by references to ${name}.
3141 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3143 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
3145 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3147 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
3149 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
3150 Pedro Alves <palves@redhat.com>
3152 * gdb.mi/mi-info-os.exp: Connect to the target with
3155 2014-01-08 Pedro Alves <palves@redhat.com>
3157 * gdb.threads/reconnect-signal.c: New file.
3158 * gdb.threads/reconnect-signal.exp: New file.
3160 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3162 * gdb.base/source-dir.exp: New file.
3164 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3166 * gdb.ada/mi_interface: New testcase.
3168 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3170 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
3171 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
3172 gdb.ada/pp-rec-component/pck.ads: New files.
3174 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3176 * gdb.python/py-pp-integral.c: New file.
3177 * gdb.python/py-pp-integral.py: New file.
3178 * gdb.python/py-pp-integral.exp: New file.
3180 For older changes see ChangeLog-1993-2013.
3186 ;; version-control: never
3189 Copyright 2014 Free Software Foundation, Inc.
3190 Copying and distribution of this file, with or without modification,
3191 are permitted provided the copyright notice and this notice are preserved.