1 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4 logic into perform_all_tests() and invoke it with and without
5 function header prototypes.
6 (do_function_calls): Remove conditional XFAIL for PR 5318.
7 (rerun_and_prepare): Remove duplicate code.
8 (perform_all_tests): New. Main logic moved here.
10 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
13 code guarded by #ifdef NO_PROTOTYPES.
14 (t_double_many_args): Likewise.
15 (DEF_FUNC_MANY_ARGS_1): Likewise.
16 (DEF_FUNC_VALUES_1): Likewise.
17 (t_structs_ldc): Renamed from t_structs_fc in conditional code
18 guarded by #ifdef PROTOTYPES.
20 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
22 * gdb.mi/mi-console.c: Add eye-catcher.
23 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
24 instead of literal line number.
26 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
28 * gdb.base/shr2.c: Add eye-catcher.
29 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
32 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
34 * gdb.base/jump.c: Add eye-catchers.
35 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
38 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
40 * gdb.base/execd-prog.c: Add eye-catchers.
41 * gdb.base/foll-exec.c: Likewise.
42 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
45 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
47 * gdb.base/ending-run.c: Add eye-catchers.
48 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
51 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
53 * gdb.base/call-rt-st.c: Add eye-catchers.
54 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
57 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
59 * gdb.base/call-ar-st.c: Add eye-catchers.
60 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
63 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
65 * gdb.base/average.c: Add eye-catchers.
66 * gdb.base/sum.c: Likewise.
67 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
70 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
72 * gdb.base/solib1.c: Add eye-catchers.
73 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
76 2014-11-12 Pedro Alves <palves@redhat.com>
78 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
81 2014-11-12 Pedro Alves <palves@redhat.com>
83 * gdb.arch/i386-bp_permanent.c: New file.
84 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
85 (srcfile): Set to i386-bp_permanent.c.
86 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
87 that stepi does not execute the 'leave' instruction, instead of
88 testing it does execute.
89 * gdb.base/bp-permanent.c: New file.
90 * gdb.base/bp-permanent.exp: New file.
92 2014-11-10 Doug Evans <xdje42@gmail.com>
95 * gdb.base/symtab-search-order.exp: New file.
96 * gdb.base/symtab-search-order.c: New file.
97 * gdb.base/symtab-search-order-1.c: New file.
98 * gdb.base/symtab-search-order-shlib-1.c: New file.
100 2014-11-07 Pedro Alves <palves@redhat.com>
103 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
106 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
109 * gdb.cp/pr17494.cc: New file.
110 * gdb.cp/pr17494.exp: New file.
112 2014-11-02 Yao Qi <yao@codesourcery.com>
114 * gdb.python/python.exp: Get working directory and match the
115 output of "set extended-prompt \\w " with it.
117 2014-10-30 Doug Evans <dje@google.com>
119 * gdb.python/py-objfile.exp: Add tests for setting random attributes
121 * gdb.python/py-progspace.exp: Add tests for setting random attributes
124 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
126 * gdb.base/fullpath-expand.exp: Skip for a remote host.
127 * gdb.base/realname-expand.exp: Likewise.
128 * gdb.linespec/macro-relative.exp: Likewise.
130 2014-10-29 Pedro Alves <palves@redhat.com>
133 * gdb.threads/schedlock.c (some_function): New function.
134 (call_function): New global.
135 (MAYBE_CALL_SOME_FUNCTION): New macro.
136 (thread_function): Call it.
137 * gdb.threads/schedlock.exp (get_args): Add description parameter,
138 and use it instead of a global counter. Adjust all callers.
139 (get_current_thread): Use "find current thread" for test message
140 here rather than having all callers pass down the same string.
141 (goto_loop): New procedure, factored out from ...
142 (my_continue): ... this.
143 (step_ten_loops): Change parameter from test message to command to
145 (list_count): Delete global.
146 (check_result): New procedure, factored out from duplicate top
148 (continue tests): Wrap in with_test_prefix.
149 (test_step): New procedure, factored out from duplicate top level
151 (top level): Test "step" in combination with all scheduler-locking
152 modes. Test "next" in combination with all scheduler-locking
153 modes, and in combination with stepping over a function call or
155 * gdb.threads/next-bp-other-thread.c: New file.
156 * gdb.threads/next-bp-other-thread.exp: New file.
158 2014-10-29 Pedro Alves <palves@redhat.com>
161 * gdb.python/python.exp: Test a multi-line command that spawns
163 * gdb.base/multi-line-starts-subshell.exp: New file.
165 2014-10-29 Yao Qi <yao@codesourcery.com>
167 * gdb.base/fileio.exp: Make directories on host.
169 2014-10-29 Yao Qi <yao@codesourcery.com>
171 * gdb.base/fileio.c (test_write): Close the file.
173 2014-10-28 Pedro Alves <palves@redhat.com>
176 * gdb.base/sigstep.c (no_handler): New global.
177 (main): If 'no_handler is true, set the signal handlers to
179 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
180 with_sw_watch and no_handler parameters. Handle them.
181 (top level) <stepping over handler when stopped at a breakpoint
182 test>: Add a test axis for testing with a software watchpoint, and
183 another for testing with the signal handler set to SIG_IGN.
184 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
185 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
187 2014-10-28 Pedro Alves <palves@redhat.com>
190 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
191 * gdb.base/sigstep.exp (other_handler_location): New global.
192 (advance): Support stepping into the signal handler, and running
193 commands while in the handler.
194 (in_handler_map): New global.
195 (top level): In the advance test, add combinations for getting
196 into the handler with stepping commands, and for running commands
197 in the handler. Add comment descripting the advancei tests.
199 2014-10-28 Pedro Alves <palves@redhat.com>
201 * gdb.base/sigstep.exp: Use build_executable instead of
203 (top level): Move code that starts GDB, runs to main and creates a
205 (restart): ... this new procedure.
206 (top level): Move backtrace from signal handler test to ...
207 (validate_backtrace): ... this new procedure.
208 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
209 with_test_prefix. Always restart GDB.
210 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
211 with_test_prefix. Always restart GDB. No need to delete
212 breakpoints after the test.
213 (test_skip_handler): Remove prefix parameter.
214 (skip_over_handler, breakpoint_to_handler)
215 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
216 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
217 restart GDB. No need to delete breakpoints after the test.
218 (top level): Use foreach to call the test procedures with
221 2014-10-28 Pedro Alves <palves@redhat.com>
223 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
224 instead of GNATS numbers.
225 * gdb.base/sigbpt.exp: Likewise.
226 * gdb.base/siginfo.exp: Likewise.
227 * gdb.base/sigstep.exp: Likewise.
229 2014-10-27 Pedro Alves <palves@redhat.com>
231 * gdb.base/sigstep.c (dummy): New global.
232 (main): Issue a couple writes to the new global.
233 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
235 (skip_over_handler): Use test_skip_handler.
236 (top level): Call skip_over_handler for stepi and nexti too.
237 (breakpoint_over_handler): Use test_skip_handler.
238 (top level): Call breakpoint_over_handler for stepi and nexti too.
240 2014-10-27 Yao Qi <yao@codesourcery.com>
242 * gdb.trace/tfile.c (adjust_function_address)
243 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
246 2014-10-24 Don Breazeal <donb@codesourcery.com>
248 * gdb.base/foll-fork.exp (test_follow_fork,
249 catch_fork_child_follow): Check for updated fork messages emitted
251 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
252 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
253 vfork_and_exec_child_follow_through_step): Check for updated vfork
254 messages emitted from infrun.c.
256 2014-10-24 Pedro Alves <palves@redhat.com>
258 * gdb.base/corefile.exp: Remove references to ultrix.
259 * gdb.base/interrupt.exp: Likewise.
260 * gdb.base/whatis.exp: Likewise.
261 * gdb.gdb/selftest.exp: Likewise.
262 * gdb.threads/manythreads.exp: Likewise.
263 * gdb.threads/print-threads.exp: Likewise.
264 * gdb.threads/pthreads.exp:: Likewise.
265 * gdb.threads/schedlock.exp: Likewise.
267 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
269 * gdb.cp/non-trivial-retval.cc: Add a test case.
270 * gdb.cp/non-trivial-retval.exp: Add a test.
272 2014-10-20 Yao Qi <yao@codesourcery.com>
274 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
275 * gdb.python/py-objfile-script-gdb.py: New file.
276 * gdb.python/py-objfile-script.exp: Update reference to
277 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
278 of remote_download. Remove the dest file.
280 2014-10-20 Yao Qi <yao@codesourcery.com>
282 * gdb.base/checkpoint.exp: Don't remove file copied on host.
283 * gdb.base/step-line.exp: Likewise.
284 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
285 * gdb.dwarf2/dw2-basic.exp: Likewise.
286 * gdb.dwarf2/dw2-compressed.exp: Likewise.
287 * gdb.dwarf2/dw2-filename.exp: Likewise.
288 * gdb.dwarf2/dw2-intercu.exp: Likewise.
289 * gdb.dwarf2/dw2-intermix.exp: Likewise.
290 * gdb.dwarf2/dw2-producer.exp: Likewise.
291 * gdb.dwarf2/mac-fileno.exp: Likewise.
292 * gdb.python/py-frame-args.exp: Likewise.
293 * gdb.python/py-framefilter.exp: Likewise.
294 * gdb.python/py-mi.exp: Likewise.
295 * gdb.python/py-objfile-script.exp: Likewise
296 * gdb.python/py-pp-integral.exp: Likewise.
297 * gdb.python/py-pp-re-notag.exp: Likewise.
298 * gdb.python/py-prettyprint.exp: Likewise.
299 * gdb.python/py-section-script.exp: Likewise.
300 * gdb.python/py-typeprint.exp: Likewise.
301 * gdb.python/py-xmethods.exp: Likewise.
302 * gdb.stabs/weird.exp: Likewise.
303 * gdb.xml/tdesc-regs.exp: Likewise.
305 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
307 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
308 (out_cu): Use addr_len for the size of addresses.
309 (out_line): Likewise. Size DW_LNE_set_address instruction
310 according to addr_len.
311 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
312 (FUNC): Add START_INSNS to definition.
314 2014-10-18 Yao Qi <yao@codesourcery.com>
316 * gdb.base/argv0-symlink.exp: Check argv[0] value if
317 gdb_has_argv0 return true.
318 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
319 check [target_info exists noargs], check [gdb_has_argv0]
321 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
322 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
325 2014-10-17 Doug Evans <dje@google.com>
327 * gdb.python/py-events.exp: Update expected output for clear_objfiles
329 * gdb.python/py-events.py: Add clear_objfiles event.
331 2014-10-17 Doug Evans <dje@google.com>
333 * gdb.python/py-objfile.exp: Test progspace attribute.
335 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
337 * gdb.guile/scm-breakpoint.exp: Do not assume any
338 directory separators when matching source file paths.
339 * gdb.python/py-breakpoint.exp: Likewise.
340 * gdb.reverse/break-precsave.exp: Likewise.
341 * gdb.reverse/break-reverse.exp: Likewise.
342 * gdb.reverse/consecutive-precsave.exp: Likewise.
343 * gdb.reverse/finish-precsave.exp: Likewise.
344 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
345 * gdb.reverse/finish-reverse.exp: Likewise.
346 * gdb.reverse/i386-precsave.exp: Likewise.
347 * gdb.reverse/i387-env-reverse.exp: Likewise.
348 * gdb.reverse/i387-stack-reverse.exp: Likewise.
349 * gdb.reverse/machinestate-precsave.exp: Likewise.
350 * gdb.reverse/machinestate.exp: Likewise.
351 * gdb.reverse/sigall-precsave.exp: Likewise.
352 * gdb.reverse/solib-precsave.exp: Likewise.
353 * gdb.reverse/step-precsave.exp: Likewise.
354 * gdb.reverse/until-precsave.exp: Likewise.
355 * gdb.reverse/watch-precsave.exp: Likewise.
356 * gdb.reverse/watch-reverse.exp: Likewise.
358 2014-10-17 Yao Qi <yao@codesourcery.com>
360 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
361 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
363 2014-10-17 Pedro Alves <palves@redhat.com>
366 * gdb.base/bg-execution-repeat.c: New file.
367 * gdb.base/bg-execution-repeat.exp: New file.
369 2014-10-17 Pedro Alves <palves@redhat.com>
372 * gdb.base/continue-all-already-running.c: New file.
373 * gdb.base/continue-all-already-running.exp: New file.
375 2014-10-17 Pedro Alves <palves@redhat.com>
378 * gdb.base/annota-input-while-running.c: New file.
379 * gdb.base/annota-input-while-running.exp: New file.
381 2014-10-17 Pedro Alves <palves@redhat.com>
383 * gdb.base/callfuncs.exp: emove references to osf.
384 * gdb.base/sigall.exp: Likewise.
385 * gdb.gdb/selftest.exp: Likewise.
386 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
387 * gdb.mi/non-stop.c: Likewise.
388 * gdb.mi/pthreads.c: Likewise.
389 * gdb.reverse/sigall-precsave.exp: Likewise.
390 * gdb.reverse/sigall-reverse.exp: Likewise.
391 * gdb.threads/pthreads.c: Likewise.
392 * gdb.threads/pthreads.exp: Likewise.
394 2014-10-17 Yao Qi <yao@codesourcery.com>
396 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
397 check 'target_info exists noargs'.
398 (test_command_prompt_position): Likewise.
399 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
401 (progvar_simple_while_test): Likewise.
402 (progvar_complex_if_while_test): Likewise.
403 (if_while_breakpoint_command_test): Likewise.
404 (infrun_breakpoint_command_test): Likewise.
405 (breakpoint_command_test): Likewise.
406 (watchpoint_command_test): Likewise.
407 (bp_deleted_in_command_test): Likewise.
408 (temporary_breakpoint_commands): Likewise.
410 2014-10-16 Yao Qi <yao@codesourcery.com>
412 * gdb.base/remotetimeout.exp: Remove noargs checking.
414 2014-10-15 Pedro Alves <palves@redhat.com>
417 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
418 * gdb.base/breakpoint-in-ro-region.exp
419 (probe_target_hardware_step): New procedure.
420 (top level): Probe hardware stepping and hardware breakpoint
421 support. Test stepping through a read-only region, with both
422 "breakpoint auto-hw" on and off and both "always-inserted" on and
425 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
427 * gdb.dlang/demangle.exp: Update for demangling changes.
429 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
431 * gdb.cp/non-trivial-retval.cc: Add new test cases.
432 * gdb.cp/non-trivial-retval.exp: Add new tests.
434 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
438 * gdb.cp/non-trivial-retval.cc: New file.
439 * gdb.cp/non-trivial-retval.exp: New file.
441 2014-10-15 Yao Qi <yao@codesourcery.com>
443 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
446 2014-10-15 Yao Qi <yao@codesourcery.com>
448 * gdb.python/py-symbol.exp: Match file base name if host is
449 remote, otherwise match file name with dir name.
450 * gdb.python/py-symtab.exp: Likewise.
451 * gdb.python/python.exp: Likewise.
453 2014-10-15 Yao Qi <yao@codesourcery.com>
455 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
457 * gdb.python/py-symtab.exp: Likewise.
458 * gdb.python/python.exp: Remove trailing ".*". Fix typo
461 2014-10-14 Joel Brobecker <brobecker@adacore.com>
463 * gdb.ada/addr_arith: New testcase.
465 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
467 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
468 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
469 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
470 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
472 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
474 * gdb.arch/stap-eval-lang-ada.S: Likewise.
475 * gdb.arch/stap-eval-lang-ada.c: Likewise.
476 * gdb.arch/stap-eval-lang-ada.exp: New file.
478 2014-10-14 Yao Qi <yao@codesourcery.com>
480 * gdb.mi/mi-var-child.c (nothing1): New function.
481 (nothing2): New function.
482 (do_children_tests): Set function pointers by nothing1 and
484 * gdb.mi/mi-var-child.exp: Step over new added statements.
485 Update test to match the new output.
486 * gdb.mi/var-cmd.c (nothing1): New function.
487 (nothing2): New function.
488 (do_children_tests): Set function pointers by nothing1 and
490 * gdb.mi/mi-var-display.exp: Update test to match output.
491 Step to the line specified by $line_dct_nothing.
492 Increase the number of lines to step.
494 2014-10-14 Yao Qi <yao@codesourcery.com>
496 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
498 * gdb.mi/mi2-var-child.exp: Likewise.
500 2014-10-13 Doug Evans <dje@google.com>
502 * gdb.python/py-objfile.exp: Change name of file name test.
504 2014-10-13 Doug Evans <dje@google.com>
506 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
507 from the start of the CU.
509 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
510 Yao Qi <yao@codesourcery.com>
512 Fix "save breakpoints" for "catch" command.
513 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
514 Remove -nonewline. Match also the added "main" line.
516 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
518 Fix "save breakpoints" for "disable $bpnum" command.
519 * gdb.base/save-bp.c (main): Add label.
520 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
522 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
524 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
526 2014-10-11 Yao Qi <yao@codesourcery.com>
528 * gdb.server/server-kill.exp: Execute command
529 "set remote trace-status-packet on" before "tstatus".
531 2014-10-11 Yao Qi <yao@codesourcery.com>
533 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
534 (main): Call getppid.
535 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
536 and continue to it. Read variable "server_pid".
538 2014-10-11 Yao Qi <yao@codesourcery.com>
540 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
542 2014-10-11 Yao Qi <yao@codesourcery.com>
544 * gdb.threads/thread-find.exp: Don't execute command
546 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
547 * gdb.threads/linux-dp.exp: Don't check the condition
548 $threads_created equals to zero.
550 2014-10-10 Pedro Alves <palves@redhat.com>
552 * gdb.base/bigcore.exp: Remove references to IRIX.
553 * gdb.base/funcargs.exp: Likewise.
554 * gdb.base/interrupt.exp: Likewise.
555 * gdb.base/mips_pro.exp: Likewise.
556 * gdb.base/nodebug.exp: Likewise.
557 * gdb.base/setvar.exp: Likewise.
558 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
560 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
561 Pedro Alves <palves@redhat.com>
564 * gdb.base/vdso-warning.c: New file.
565 * gdb.base/vdso-warning.exp: New file.
567 2014-10-02 Doug Evans <dje@google.com>
569 * gdb.base/structs.c (main): Don't run forever.
571 2014-10-02 Pedro Alves <palves@redhat.com>
573 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
574 (top level) <stop threads 1, stop threads 2>: Use it.
576 2014-10-02 Pedro Alves <palves@redhat.com>
578 * gdb.threads/break-while-running.exp (test): Add new
579 'update_thread_list' argument. Skip "info threads" if false.
580 (top level): Add new 'update_thread_list' axis.
582 2014-10-02 Pedro Alves <palves@redhat.com>
585 * gdb.base/execl-update-breakpoints.c: New file.
586 * gdb.base/execl-update-breakpoints.exp: New file.
588 2014-10-01 Pedro Alves <palves@redhat.com>
590 * gdb.base/breakpoint-in-ro-region.c: New file.
591 * gdb.base/breakpoint-in-ro-region.exp: New file.
593 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
595 * gdb.mi/mi-exit-code.exp: New file.
596 * gdb.mi/mi-exit-code.c: New file.
598 2014-09-30 Yao Qi <yao@codesourcery.com>
600 * lib/prelink-support.exp (build_executable_own_libs): Error if
601 the target isn't native.
603 2014-09-30 Yao Qi <yao@codesourcery.com>
605 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
608 2014-09-22 Pedro Alves <palves@redhat.com>
610 * gdb.threads/break-while-running.exp: New file.
611 * gdb.threads/break-while-running.c: New file.
613 2014-09-19 Yao Qi <yao@codesourcery.com>
615 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
616 Invoke test. Restart GDB with --readnow and invoke test again.
618 2014-09-19 Yao Qi <yao@codesourcery.com>
620 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
621 proc set_breakpoint_on_gcd_function. Invoke
622 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
623 invoke set_breakpoint_on_gcd_function again.
625 2014-09-18 Doug Evans <dje@google.com>
627 * gdb.dwarf2/symtab-producer.exp: New file.
629 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
631 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
632 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
633 * gdb.base/global-var-nested-by-dso.c: Likewise.
634 * gdb.base/global-var-nested-by-dso.exp: Likewise.
636 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
637 Pedro Alves <palves@redhat.com>
639 * gdb.base/watch-bitfields.exp: Pass string other than test file
640 name to prepare_for_testing.
641 (watch): New procedure.
642 (expect_watchpoint): Use with_test_prefix.
643 (top level): Factor out tests to ...
644 (test_watch_location, test_regular_watch): ... these new
645 procedures, and use with_test_prefix and gdb_continue_to_end.
647 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
650 * gdb.base/watch-bitfields.exp: New file.
651 * gdb.base/watch-bitfields.c: New file.
653 2014-09-16 Pedro Alves <palves@redhat.com>
655 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
656 software and hardware addresses, not software address against
659 2014-09-16 Pedro Alves <palves@redhat.com>
661 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
662 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
664 2014-09-16 Pedro Alves <palves@redhat.com>
666 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
668 * gdb.base/a2-run.exp: Remove all code guarded by istarget
669 "*-*-vxworks*" throughout.
670 * gdb.base/break.exp: Likewise.
671 * gdb.base/default.exp: Likewise.
672 * gdb.base/scope.exp: Likewise.
673 * gdb.base/sepdebug.exp: Likewise.
674 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
676 * gdb.base/run.c: Likewise.
677 * gdb.base/sepdebug.c: Likewise.
678 * gdb.hp/gdb.aCC/run.c: Likewise.
679 * gdb.reverse/until-reverse.c: Likewise.
680 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
682 2014-09-16 Yao Qi <yao@codesourcery.com>
684 * boards/local-remote-host-native.exp: New file.
686 2014-09-14 Doug Evans <xdje42@gmail.com>
688 * gdb.threads/queue-signal.c (thread_count): New variable.
689 (thread_count_mutex, thread_count_condvar): New variables.
690 (incr_thread_count, wait_all_threads_running): New functions.
691 (main): Wait for all threads to be in their thread functions.
693 2014-09-13 Doug Evans <xdje42@gmail.com>
695 * gdb.threads/queue-signal.c: New file.
696 * gdb.threads/queue-signal.exp: New file.
698 2014-09-13 Doug Evans <xdje42@gmail.com>
700 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
701 be consistent with what default_gdb_init uses.
702 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
703 the plain text of the prompt. Add some logging printfs.
704 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
706 2014-09-12 Pedro Alves <palves@redhat.com>
708 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
709 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
710 * gdb.arch/i386-size-overlap.exp: Likewise.
711 * gdb.arch/i386-size.exp: Likewise.
712 * gdb.arch/i386-unwind.exp: Likewise.
713 * gdb.base/a2-run.exp: Likewise.
714 * gdb.base/break.exp: Likewise.
715 * gdb.base/charset.exp: Likewise.
716 * gdb.base/chng-syms.exp: Likewise.
717 * gdb.base/commands.exp: Likewise.
718 * gdb.base/dbx.exp: Likewise.
719 * gdb.base/find.exp: Likewise.
720 * gdb.base/funcargs.exp: Likewise.
721 * gdb.base/jit-simple.exp: Likewise.
722 * gdb.base/reread.exp: Likewise.
723 * gdb.base/sepdebug.exp: Likewise.
724 * gdb.base/step-bt.exp: Likewise.
725 * gdb.cp/mb-inline.exp: Likewise.
726 * gdb.cp/mb-templates.exp: Likewise.
727 * gdb.objc/basicclass.exp: Likewise.
728 * gdb.threads/killed.exp: Likewise.
730 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
733 * gdb.arch/powerpc-stackless.S: New file.
734 * gdb.arch/powerpc-stackless.exp: New file.
736 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
738 * gdb.base/attach.c: Include unistd.h.
739 (main): Call alarm. Add label postloop.
740 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
741 gdb_breakpoint, gdb_continue_to_breakpoint.
742 (test_command_line_attach_run): Kill ${testpid} in one exit path.
744 2014-09-11 Pedro Alves <palves@redhat.com>
747 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
748 * gdb.base/attach.exp (test_command_line_attach_run): New
750 (top level): Call it.
752 2014-09-11 Pedro Alves <palves@redhat.com>
754 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
755 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
756 (do_command_attach_tests): Use spawn_wait_for_attach.
757 * gdb.base/solib-overlap.exp: Likewise.
758 * gdb.multi/multi-attach.exp: Likewise.
759 * gdb.python/py-prompt.exp: Likewise.
760 * gdb.python/py-sync-interp.exp: Likewise.
761 * gdb.server/ext-attach.exp: Likewise.
763 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
765 * gdb.fortran/array-element.exp: Remove unexpected "continue"
766 command in testcase. Simplify testcase.
768 2014-09-10 Joel Brobecker <brobecker@adacore.com>
770 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
772 2014-09-10 Joel Brobecker <brobecker@adacore.com>
774 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
776 2014-09-10 Joel Brobecker <brobecker@adacore.com>
778 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
780 2014-09-10 Joel Brobecker <brobecker@adacore.com>
782 * gdb.dwarf2/dynarr-ptr.c: New file.
783 * gdb.dwarf2/dynarr-ptr.exp: New file.
785 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
787 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
788 of 30 rather than hardcoding 120 for a slow test case. Take the
789 `gdb,timeout' target setting into account for this calculation.
790 Don't extend the timeout for the test cases that don't need it.
792 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
794 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
795 a factor of 2 for a slow test case. Take the `gdb,timeout'
796 target setting into account for this calculation.
797 * gdb.reverse/until-precsave.exp: Increase the timeout by
798 a factor of 15 and 3 respectively rather than adding 120
799 for a pair of slow test cases. Take the `gdb,timeout'
800 target setting into account for this calculation.
802 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
804 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
805 timeout, don't pass one down to gdb_expect.
806 (gdb_expect): Rework timeout selection.
808 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
810 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
811 exception on timeout.
812 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
813 (gdbserver_start_extended): Catch any `gdbserver_start' error
815 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
816 * lib/mi-support.exp (mi_gdb_target_load): Catch any
817 `gdbserver_gdb_load' error exceptions.
819 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
821 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
822 120 on waiting for the TCP socket to open.
824 2014-09-09 Doug Evans <xdje42@gmail.com>
826 * gdb.base/default.exp (show_conv_list): Add _caller_is,
827 _caller_matches, _any_caller_is, _any_caller_matches.
829 2014-09-09 Doug Evans <xdje42@gmail.com>
831 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
833 2014-09-09 Yao Qi <yao@codesourcery.com>
835 * gdb.mi/mi-var-display.exp: Set print symbol off.
837 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
840 * gdb.base/commands.exp: Add tests to verify user-defined
841 commands with empty bodies.
842 * gdb.python/py-cmd.exp: Test that we don't show user-defined
843 python commands in `show user command`.
844 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
845 scheme commands in `show user command`.
847 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
850 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
851 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
852 * gdb.python/py-framefilter-invalidarg.exp: New file.
853 * gdb.python/py-framefilter-invalidarg.py: New file.
855 2014-09-06 Doug Evans <xdje42@gmail.com>
858 * gdb.python/py-caller-is.c: New file.
859 * gdb.python/py-caller-is.exp: New file.
861 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
864 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
865 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
867 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
870 * gdb.fortran/print-formatted.exp: New file.
871 * gdb.fortran/print-formatted.f90: Likewise.
873 2014-09-03 Sasha Smundak <asmundak@google.com>
875 * gdb.python/py-frame.exp: Test Frame.read_register.
877 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
880 * gdb.python/py-completion.exp: New file.
881 * gdb.python/py-completion.py: Likewise.
883 2014-08-28 Doug Evans <dje@google.com>
885 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
886 eax,etc. are live with values set by gdb and thus the compiler can't
888 * gdb.arch/i386-pseudo.c (main): Ditto.
890 2014-08-27 Doug Evans <dje@google.com>
892 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
894 2014-08-25 Doug Evans <dje@google.com>
896 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
899 2014-08-25 Doug Evans <dje@google.com>
901 * gdb.threads/thread-execl.exp: #include <stdio.h>.
903 2014-08-24 Yao Qi <yao@codesourcery.com>
905 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
907 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
909 2014-08-22 Doug Evans <dje@google.com>
912 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
913 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
914 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
916 2014-08-22 Yao Qi <yao@codesourcery.com>
918 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
919 * gdb.python/py-finish-breakpoint2.exp: Likewise.
920 * gdb.python/python.exp: Likewise. Use .py file on the host
921 instead of the build.
923 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
925 * gdb.threads/gcore-stale-thread.c: New file.
926 * gdb.threads/gcore-stale-thread.exp: New file.
928 2014-08-21 Pedro Alves <palves@redhat.com>
930 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
931 * gdb.base/gcore-relro-pie.exp: Likewise.
932 * gdb.base/gcore-relro.exp: Likewise.
933 * gdb.base/gcore.exp: Likewise.
934 * gdb.base/print-symbol-loading.exp: Likewise.
935 * gdb.threads/gcore-thread.exp: Likewise.
936 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
938 2014-08-20 Pedro Alves <palves@redhat.com>
939 Jan Kratochvil <jan.kratochvil@redhat.com>
941 * Makefile.in (EXTRA_RULES, CC): New variables, get from
943 (EXPECT): Handle READ1 being set.
944 (all): Depend on EXTRA_RULES.
945 (check-read1, expect-read1, read1.so, read1): New rules.
946 * README (Testsuite Parameters): Document the READ1 make variable.
947 (Race detection): New section.
948 * configure: Regenerate.
949 * configure.ac: If build==host==target, and running under a
950 GNU/glibc system, add read1 to the extra Makefile rules.
951 (EXTRA_RULES): AC_SUBST it.
952 * lib/read1.c: New file.
954 2014-08-20 Joel Brobecker <brobecker@adacore.com>
956 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
957 the handling of variables declared as a typedef to an array
958 which a DW_AT_data_location attribute.
960 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
961 Pedro Alves <palves@redhat.com>
965 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
968 2014-08-19 Pedro Alves <palves@redhat.com>
970 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
972 2014-08-19 Yao Qi <yao@codesourcery.com>
974 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
977 2014-08-18 David Blaikie <dblaikie@gmail.com>
979 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
981 2014-08-18 Joel Brobecker <brobecker@adacore.com>
983 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
984 attribute in array range.
986 2014-08-18 Joel Brobecker <brobecker@adacore.com>
988 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
990 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
993 * gdb.cp/pr17132.cc: New file.
994 * gdb.cp/pr17132.exp: New file.
996 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
998 * gdb.python/py-xmethods.py (A_getarrayind)
999 (E_method_char_worker.__call__, E_method_int_worker.__call__):
1000 Use 'print' with function call syntax.
1001 (E_method_matcher.match): Fix tab vs space indentation mixup.
1003 2014-08-15 Yao Qi <yao@codesourcery.com>
1005 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
1008 2014-08-15 Yao Qi <yao@codesourcery.com>
1010 * gdb.cp/casts.exp: Set print symbol off.
1011 * gdb.cp/class2.exp: Likewise.
1012 * gdb.cp/overload.exp: Likewise.
1013 * gdb.cp/templates.exp: Likewise.
1015 2014-08-11 Doug Evans <dje@google.com>
1017 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1018 (test_load_shlib): Update.
1020 2014-08-09 Yao Qi <yao@codesourcery.com>
1022 * gdb.base/display.exp: Invoke is_address_zero_readable.
1023 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
1024 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1025 * gdb.base/hbreak-unmapped.exp: Return if
1026 is_address_zero_readable returns true.
1027 * gdb.base/signest.exp: Likewise.
1028 * gdb.base/signull.exp: Likewise.
1029 * gdb.base/sigbpt.exp: Likewise.
1030 * gdb.guile/scm-disasm.exp: Do the test if
1031 is_address_zero_readable returns false.
1032 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
1033 * gdb.python/py-arch.exp: Likewise.
1034 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
1035 * lib/gdb.exp (is_address_zero_readable): New proc.
1037 2014-08-09 Yao Qi <yao@codesourcery.com>
1040 * gdb.mi/mi-var-display.exp: Make test messages unique.
1042 2014-08-04 Tom Tromey <tromey@redhat.com>
1044 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
1047 2014-08-04 Tom Tromey <tromey@redhat.com>
1049 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
1052 2014-08-01 Joel Brobecker <brobecker@adacore.com>
1054 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
1055 inner_vla_struct_object_size.
1056 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
1059 2014-07-30 Pedro Alves <palves@redhat.com>
1061 * gdb.threads/signal-command-handle-nopass.exp (test): Add
1064 2014-07-29 Yao Qi <yao@codesourcery.com>
1067 * gdb.base/until-nodebug.exp: New.
1069 2014-07-28 Doug Evans <xdje42@gmail.com>
1072 * gdb.guile/scm-parameter.exp: Add tests for trying to create
1073 previously existing parameter, and previously ambiguously spelled
1076 2014-07-28 Will Newton <will.newton@linaro.org>
1078 * gdb.base/varargs.exp: Remove KFAILs for ARM.
1080 2014-07-26 Ludovic Courtès <ludo@gnu.org>
1081 Doug Evans <xdje42@gmail.com>
1084 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
1086 2014-07-25 Pedro Alves <palves@redhat.com>
1088 * gdb.threads/signal-command-handle-nopass.c: New file.
1089 * gdb.threads/signal-command-handle-nopass.exp: New file.
1090 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
1091 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
1092 * gdb.threads/signal-delivered-right-thread.c: New file.
1093 * gdb.threads/signal-delivered-right-thread.exp: New file.
1095 2014-07-25 Pedro Alves <palves@redhat.com>
1097 * gdb.base/double-prompt-target-event-error.exp
1098 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
1100 (cancel_pagination_in_target_event): Rework double prompt
1102 * gdb.base/paginate-after-ctrl-c-running.exp
1103 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
1105 * gdb.base/paginate-bg-execution.exp
1106 (test_bg_execution_pagination_return)
1107 (test_bg_execution_pagination_cancel): Remove '-notransfer
1109 * gdb.base/paginate-execution-startup.exp
1110 (test_fg_execution_pagination_return)
1111 (test_fg_execution_pagination_cancel): Remove '-notransfer
1113 * gdb.base/paginate-inferior-exit.exp
1114 (test_paginate_inferior_exited): Remove '-notransfer <return>'
1116 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
1117 * lib/gdb.exp (pagination_prompt): Run text through
1119 (gdb_test_multiple): Match $pagination_prompt instead of
1121 (string_to_regexp): Move to lib/gdb-utils.exp.
1123 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1125 * gdb.arch/amd64-entry-value-paramref.S: New file.
1126 * gdb.arch/amd64-entry-value-paramref.cc: New file.
1127 * gdb.arch/amd64-entry-value-paramref.exp: New file.
1128 * gdb.arch/amd64-optimout-repeat.S: New file.
1129 * gdb.arch/amd64-optimout-repeat.c: New file.
1130 * gdb.arch/amd64-optimout-repeat.exp: New file.
1132 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1135 * gdb.base/statistics.exp: New file.
1137 2014-07-17 Doug Evans <dje@google.com>
1140 * gdb.base/maint.exp: Update testing of per-command stats.
1142 2014-07-16 Pedro Alves <palves@redhat.com>
1144 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
1145 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
1146 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
1147 (tfile_write_buf): New functions.
1148 (add_memory_block): Rewrite using the above.
1149 (adjust_function_address): New function.
1150 (FUNCTION_ADDRESS): New macro.
1151 (write_basic_trace_file): Remove short_x local, and use
1152 tfile_write_16. Change type of func_addr local to unsigned long
1153 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
1154 here. Cast argument of add_memory_block to char pointer.
1155 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
1156 (main): Remove parameters.
1157 * gdb.trace/tfile.exp: Remove nowarnings.
1159 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1161 * gdb.base/debug-expr.exp: Test string evaluation with
1162 "debug expression" on.
1164 2014-07-15 Pedro Alves <palves@redhat.com>
1166 * gdb.base/reread.exp: Use clean_restart.
1168 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1170 * gdb.arch/avr-flash-qualifer.c: New.
1171 * gdb.arch/avr-flash-qualifer.exp: New.
1173 2014-07-14 Pedro Alves <palves@redhat.com>
1175 * gdb.base/paginate-after-ctrl-c-running.c: New file.
1176 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1178 2014-07-14 Pedro Alves <palves@redhat.com>
1180 * gdb.base/double-prompt-target-event-error.c: New file.
1181 * gdb.base/double-prompt-target-event-error.exp: New file.
1183 2014-07-14 Pedro Alves <palves@redhat.com>
1186 * gdb.base/paginate-inferior-exit.c: New file.
1187 * gdb.base/paginate-inferior-exit.exp: New file.
1189 2014-07-14 Pedro Alves <palves@redhat.com>
1192 * gdb.base/paginate-bg-execution.c: New file.
1193 * gdb.base/paginate-bg-execution.exp: New file.
1195 2014-07-14 Pedro Alves <palves@redhat.com>
1198 * gdb.base/paginate-execution-startup.c: New file.
1199 * gdb.base/paginate-execution-startup.exp: New file.
1200 * lib/gdb.exp (pagination_prompt): New global.
1201 (default_gdb_spawn): New procedure, factored out from
1203 (default_gdb_start): Adjust to call default_gdb_spawn.
1204 (gdb_spawn): New procedure.
1206 2014-07-14 Pedro Alves <palves@redhat.com>
1208 * lib/gdb.exp (gdb_assert): New procedure.
1209 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
1211 2014-07-14 Pedro Alves <palves@redhat.com>
1213 * gdb.base/execution-termios.c: New file.
1214 * gdb.base/execution-termios.exp: New file.
1216 2014-07-14 Tom Tromey <tromey@redhat.com>
1218 * gdb.cp/vla-cxx.cc: New file.
1219 * gdb.cp/vla-cxx.exp: New file.
1221 2014-07-14 Tom Tromey <tromey@redhat.com>
1223 * gdb.reverse/rerun-prec.c: New file.
1224 * gdb.reverse/rerun-prec.exp: New file.
1226 2014-07-12 Maciej W. Rozycki <macro@mips.com>
1227 Maciej W. Rozycki <macro@codesourcery.com>
1229 * lib/gdb-utils.exp: New file.
1230 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
1231 inline `gdb_init_command' processing.
1232 (gdb_start_cmd): Likewise.
1233 * lib/mi-support.exp (mi_run_cmd): Likewise.
1234 * README: Document `gdb_init_command' and `gdb_init_commands'.
1236 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1238 Fix false FAIL running under a very long directory name.
1239 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1240 and "set print elements 10000". Twice.
1242 2014-07-11 Yao Qi <yao@codesourcery.com>
1244 * gdb.base/exprs.exp: "set print symbol off".
1246 2014-07-11 Pedro Alves <palves@redhat.com>
1248 * gdb.threads/kill.c: New file.
1249 * gdb.threads/kill.exp: New file.
1251 2014-07-10 Yao Qi <yao@codesourcery.com>
1253 * gdb.trace/tfile.c (write_basic_trace_file)
1254 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1255 address written to trace file.
1257 2014-07-09 Pedro Alves <palves@redhat.com>
1259 * gdb.base/attach-wait-input.exp: New file.
1260 * gdb.base/attach-wait-input.c: New file.
1262 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1264 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1265 setting up test structures.
1266 (main): Call new test function.
1267 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1268 test function, continue into test function and walk test
1271 2014-07-02 Yao Qi <yao@codesourcery.com>
1273 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1274 'bar_start' at the beginning of functions 'foo' and 'bar'
1276 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1277 instead of 'foo' and 'bar'.
1279 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1281 * gdb.btrace/segv.exp: New.
1282 * gdb.btrace/segv.c: New.
1284 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
1286 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1289 2014-06-30 Mark Wielaard <mjw@redhat.com>
1291 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1292 vulture, vilify, villar): New volatile array constants.
1293 (vindictive, vegetation): New const volatile array constants.
1294 * gdb.base/volatile.exp: Test volatile and const volatile array
1297 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1299 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1300 target lacks support for awatch, rwatch, or hbreak.
1302 2014-06-27 Yao Qi <yao@codesourcery.com>
1304 * gdb.multi/dummy-frame-restore.exp: New.
1305 * gdb.multi/dummy-frame-restore.c: New.
1307 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1309 * gdb.btrace/gcore.exp: New.
1311 2014-06-23 Pedro Alves <palves@redhat.com>
1313 * gdb.base/watchpoint-reuse-slot.c: New file.
1314 * gdb.base/watchpoint-reuse-slot.exp: New file.
1316 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1318 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1319 progspace's filename in 'info', 'enable' and 'disable' command
1322 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1324 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1325 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1326 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1328 2014-06-20 Gary Benson <gbenson@redhat.com>
1330 * gdb.arch/i386-avx.exp: Fix include file location.
1331 * gdb.arch/i386-sse.exp: Likewise.
1333 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1335 * gdb.dlang/expression.exp: New file.
1337 2014-06-19 Pedro Alves <palves@redhat.com>
1339 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1341 (top level): ... here. Iterate running tests under different
1342 scheduler-locking settings.
1344 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
1346 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1347 to DW_FORM_addr and use non-zero addresses.
1349 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1352 * gdb.python/py-xmethods.cc: Add global function call counters and
1353 increment them in their respective functions. Remove "cout"
1355 * gdb.python/py-xmethods.exp: Make tests check the global function
1356 call counters instead of depending on inferior IO.
1358 2014-06-18 Don Breazeal <donb@codesourcery.com>
1360 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1362 (explicit_fork_parent_follow): Deleted procedure.
1363 (explicit_fork_child_follow): Deleted procedure.
1364 (test_follow_fork): New procedure.
1365 (do_fork_tests): Replace calls to deleted procedures with
1366 calls to test_follow_fork and reset GDB for subsequent
1369 2014-06-17 Yao Qi <yao@codesourcery.com>
1371 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1374 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
1376 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1377 Initialize ptr and S explicitly.
1378 (skip_type_update_when_not_use_rtti_test): Likewise.
1380 2014-06-16 Keith Seitz <keiths@redhat.com>
1383 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1384 the inferior is started.
1386 2014-06-16 Pedro Alves <palves@redhat.com>
1388 * gdb.base/break-main-file-remove-fail.c: New file.
1389 * gdb.base/break-main-file-remove-fail.exp: New file.
1390 * gdb.base/break-unload-file.exp: Use build_executable instead of
1391 prepare_for_testing.
1392 (test_break): New parameter "initial_load". Handle it.
1393 (top level): Add initial_load cmdline/file axis.
1395 2014-06-12 Tom Tromey <tromey@redhat.com>
1397 * gdb.base/completion.exp: Don't use directory name in test.
1399 2014-06-09 Gary Benson <gbenson@redhat.com>
1401 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1402 separate the always-available ANSI-standard signals from the
1403 signals that require checking.
1405 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1409 2014-06-07 Keith Seitz <keiths@redhat.com>
1413 * gdb.cp/var-tag.cc: New file.
1414 * gdb.cp/var-tag.exp: New file.
1415 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1416 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1417 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1418 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1420 2014-06-06 Doug Evans <xdje42@gmail.com>
1422 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1424 2014-06-06 Pedro Alves <palves@redhat.com>
1426 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1427 in target debug output instead of looking at RSP packets,
1428 disabling the test on any target that uses hardware stepping.
1431 2014-06-06 Pedro Alves <palves@redhat.com>
1433 * gdb.base/break-unload-file.exp: Fix typo.
1435 2014-06-06 Yao Qi <yao@codesourcery.com>
1437 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1438 from "jit_function" to "^jit_function".
1440 2014-06-06 Yao Qi <yao@codesourcery.com>
1442 * gdb.base/async.c (foo): Add one statement.
1443 * gdb.base/async.exp: Get the next instruction address and
1444 match the output of "nexti" by instruction address. Match
1445 the hex address in the output of "finish".
1447 2014-06-06 Gary Benson <gbenson@redhat.com>
1449 * gdb.base/call-signals.c: Remove preprocessor conditionals
1450 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1451 SIGSEGV and SIGTERM.
1452 * gdb.base/sigall.c: Likewise.
1453 * gdb.base/unwindonsignal.c: Likewise.
1454 * gdb.reverse/sigall-reverse.c: Likewise.
1456 2014-06-06 Yao Qi <yao@codesourcery.com>
1458 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1459 readable, skip the test.
1461 2014-06-06 Yao Qi <yao@codesourcery.com>
1463 * gdb.threads/staticthreads.c (thread_function): Move the line
1464 setting breakpoint on forward.
1465 * gdb.threads/staticthreads.exp: Update comments.
1467 2014-06-05 Ludovic Courtès <ludo@gnu.org>
1469 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1470 "history-append! type error".
1472 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1474 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1475 erroneous dprintf expected input.
1477 2014-06-04 Doug Evans <xdje42@gmail.com>
1479 * gdb.guile/scm-generics.exp: Delete.
1481 2014-06-04 Doug Evans <xdje42@gmail.com>
1483 * gdb.guile/scm-breakpoint.exp: Update.
1484 Add tests for breakpoint registration.
1486 2014-06-04 Tom Tromey <tromey@redhat.com>
1488 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1490 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1491 inner_vla_struct, vla_union types. Initialize objects of those
1492 types and compute their sizes.
1494 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1495 Hui Zhu <hui@codesourcery.com>
1497 * gdb.base/fileio.exp: Add test for shell not available as well as
1499 * gdb.base/fileio.c (test_system): Check for shell twice.
1501 2014-06-04 Yao Qi <yao@codesourcery.com>
1503 * gdb.base/auto-connect-native-target.exp: Remove redundant
1504 space from the regexp pattern.
1506 2014-06-04 Yao Qi <yao@codesourcery.com>
1508 * gdb.base/default.exp: Replace "child" with "native" in
1511 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1513 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1514 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1515 * gdb.python/py-xmethods.py: Python script supporting the
1516 new testcase and tests.
1518 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1519 Pedro Alves <palves@redhat.com>
1521 PR breakpoints/17000
1522 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1523 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1525 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1527 * gdb.base/subst.exp: Add tests to verify partial path matching
1530 2014-06-03 Pedro Alves <palves@redhat.com>
1532 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1533 target that doesn't use software single-stepping.
1535 2014-06-03 Pedro Alves <palves@redhat.com>
1537 PR breakpoints/17000
1538 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1539 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1541 2014-06-02 Doug Evans <xdje42@gmail.com>
1543 * gdb.guile/scm-parameter.exp: New file.
1545 2014-06-02 Doug Evans <xdje42@gmail.com>
1547 * gdb.guile/scm-cmd.c: New file.
1548 * gdb.guile/scm-cmd.exp: New file.
1550 2014-06-02 Doug Evans <xdje42@gmail.com>
1552 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1553 pretty-printer lookup.
1554 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1555 (make-pp_s-printer): Call it.
1556 (make-pretty-printer-from-dict): New function.
1557 (lookup-pretty-printer-maker-from-dict): New function.
1558 (*pretty-printer*): Simplify.
1559 (make-objfile-pp_s-printer): New function.
1560 (install-objfile-pretty-printers!): New function.
1561 (make-progspace-pp_s-printer): New function.
1562 (install-progspace-pretty-printers!): New function.
1563 * gdb.guile/scm-progspace.c: New file.
1564 * gdb.guile/scm-progspace.exp: New file.
1566 2014-06-02 Pedro Alves <palves@redhat.com>
1568 * gdb.base/dprintf-bp-same-addr.c: New file.
1569 * gdb.base/dprintf-bp-same-addr.exp: New file.
1571 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1573 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1574 * gdb.arch/powerpc-power.s: Likewise.
1576 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1578 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1580 2014-06-01 Yao Qi <yao@codesourcery.com>
1582 * gdb.base/watchpoint.exp (test_watch_location): Check null
1583 pointer can be dereferenced. If not, do the test, otherwise
1586 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1588 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1590 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1592 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1594 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1595 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1596 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1597 * gdb.arch/amd64-invalid-stack-top.c: New file.
1598 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1600 2014-05-30 Pedro Alves <palves@redhat.com>
1602 PR breakpoints/17000
1603 * gdb.base/sss-bp-on-user-bp.c: New file.
1604 * gdb.base/sss-bp-on-user-bp.exp: New file.
1606 2014-05-30 David Blaikie <dblaikie@gmail.com>
1608 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1609 gnu_inline semantics via attribute.
1610 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1611 source explicitly specifies the required semantics.
1613 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1615 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1617 2014-05-29 Pedro Alves <palves@redhat.com>
1618 Tom Tromey <tromey@redhat.com>
1620 * gdb.base/async-shell.exp: Don't enable target-async.
1621 * gdb.base/async.exp
1622 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1624 (top level): Don't test with "target-async".
1625 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1626 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1627 * gdb.base/inferior-died.exp: Don't enable target-async.
1628 * gdb.base/interrupt-noterm.exp: Likewise.
1629 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1630 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1631 * gdb.mi/mi-nonstop.exp: Likewise.
1632 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1633 * gdb.mi/mi-nsintrall.exp: Likewise.
1634 * gdb.mi/mi-nsmoribund.exp: Likewise.
1635 * gdb.mi/mi-nsthrexec.exp: Likewise.
1636 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1637 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1638 * gdb.python/py-evsignal.exp: Don't enable target-async.
1639 * gdb.python/py-evthreads.exp: Likewise.
1640 * gdb.python/py-prompt.exp: Likewise.
1641 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1642 * gdb.server/solib-list.exp: Don't enable target-async.
1643 * gdb.threads/thread-specific-bp.exp: Likewise.
1644 * lib/mi-support.exp: Adjust to use mi-async.
1646 2014-05-29 Pedro Alves <palves@redhat.com>
1649 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1650 reason, even in sync mode.
1652 2014-05-29 Pedro Alves <palves@redhat.com>
1653 Hui Zhu <hui@codesourcery.com>
1656 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1657 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1658 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1659 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1661 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1663 * config/monitor.exp (gdb_target_monitor): Replace use of
1664 "set remotebaud" by "set serial baud".
1666 2014-05-26 Andy Wingo <wingo@igalia.com>
1668 * gdb.guile/scm-breakpoint.exp:
1669 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1670 properties instead of gdb-object-properties.
1672 2014-05-26 Yao Qi <yao@codesourcery.com>
1674 * gdb.server/no-thread-db.exp: Specify source file name
1675 explicitly when setting a breakpoint.
1677 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1679 * gdb.btrace/vdso.c: New.
1680 * gdb.btrace/vdso.exp: New.
1682 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1684 * gdb.base/gcore.exp (capture_command_output): Move ...
1685 * lib/gdb.exp (capture_command_output): ... here.
1687 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1689 * gdb.btrace/data.exp: Test memory access during btrace replay.
1691 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1693 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1695 2014-05-21 Pedro Alves <palves@redhat.com>
1698 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1699 (top level): Test that output related to execution commands is
1700 sent to the console with CLI commands, but not with MI commands.
1701 Test that breakpoint events are always mirrored to the console.
1702 Also expect the new source line to be output after a "next" in
1703 async mode too. Make it a pass/fail test.
1704 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1706 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1708 2014-05-21 Pedro Alves <palves@redhat.com>
1710 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1711 Use them to test variations of "list" after reaching a breakpoint.
1712 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1713 Test "list" with listsize 10 after reaching a breakpoint.
1714 * gdb.python/python.exp (decode_line current location line
1715 number): Adjust expected line number.
1717 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1719 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1720 behavior for $args, pass it directly to "run".
1722 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1724 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1727 2014-05-21 Pedro Alves <palves@redhat.com>
1729 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1730 auto-connect-native-target off".
1731 * gdb.base/auto-connect-native-target.c: New file.
1732 * gdb.base/auto-connect-native-target.exp: New file.
1734 2014-05-21 Pedro Alves <palves@redhat.com>
1736 * gdb.base/default.exp: Test "target native" instead of "target
1739 2014-05-21 Mark Wielaard <mjw@redhat.com>
1741 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1743 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1745 Fix TLS access for -static -pthread.
1746 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1747 <HAVE_TLS> (thread_function, main): Initialize it.
1748 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1750 <$have_tls != "">: Check TLSVAR.
1752 2014-05-21 Pedro Alves <palves@redhat.com>
1754 * gdb.base/dcache-line-read-error.c: New.
1755 * gdb.base/dcache-line-read-error.exp: New.
1757 2014-05-20 Pedro Alves <palves@redhat.com>
1759 * gdb.base/compare-sections.c: New file.
1760 * gdb.base/compare-sections.exp: New file.
1762 2014-05-20 Pedro Alves <palves@redhat.com>
1764 * gdb.base/break-idempotent.c: New file.
1765 * gdb.base/break-idempotent.exp: New file.
1767 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1769 * gdb.btrace/nohist.exp: New.
1771 2014-05-20 Yao Qi <yao@codesourcery.com>
1773 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1774 gdb.reverse directory and gdb_reverse_timeout exists in board
1776 * README: Document gdb_reverse_timeout.
1778 2014-05-20 Yao Qi <yao@codesourcery.com>
1780 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1781 'test_file_name'. Treat args as a string instead of a list.
1782 (gdb_init): Rename argument 'args' by 'test_file_name'.
1784 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1786 * gdb.arch/powerpc-power.exp: New file.
1787 * gdb.arch/powerpc-power.s: New file.
1789 2014-05-16 Doug Evans <dje@google.com>
1791 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
1792 * gdb.base/completion.exp: Check that all expected files exist
1793 before doing file completion.
1795 2014-05-16 Doug Evans <dje@google.com>
1797 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1799 (do_syscall_tests_without_xml): Update.
1801 2014-05-16 Pedro Alves <palves@redhat.com>
1803 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1804 instead of "unknown output after running".
1806 2014-05-16 Yao Qi <yao@codesourcery.com>
1808 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1809 file1.txt from host at the end.
1810 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1812 2014-05-15 Doug Evans <dje@google.com>
1814 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1815 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1816 loading file. Add test for TU lookup.
1818 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1820 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1821 calling "-exec-arguments" or "set args" before running the
1824 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1826 * lib/mi-support.exp (mi_expect_stop): Expect message for
1827 inferiors that exit with non-zero exit code.
1829 2014-05-14 Yao Qi <yao@codesourcery.com>
1831 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1832 match absolute path on remote host.
1833 (test_file_list_exec_source_files): Remove "/" from the
1836 2014-05-14 Yao Qi <yao@codesourcery.com>
1838 * boards/local-remote-host-notty.exp (${board}_file): New
1841 2014-05-07 Kyle McMartin <kyle@redhat.com>
1843 Pushed by Joel Brobecker <brobecker@adacore.com>.
1844 * gdb.arch/aarch64-atomic-inst.c: New file.
1845 * gdb.arch/aarch64-atomic-inst.exp: New file.
1847 2014-05-07 Yao Qi <yao@codesourcery.com>
1849 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1850 in current context" too.
1852 2014-05-05 Keith Seitz <keiths@redhat.com>
1854 * gdb.linespec/ls-dollar.exp: Add test for linespec
1855 file:convenience_variable.
1857 2014-05-05 Yao Qi <yao@codesourcery.com>
1859 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
1860 traceframes into tfile and ctf trace files. Read data from
1861 trace file and test collected data.
1862 (gdb_collect_locals_test): Likewise.
1863 (gdb_unavailable_registers_test): Likewise.
1864 (gdb_unavailable_floats): Likewise.
1865 (gdb_collect_globals_test): Likewise.
1866 (top-level): Append "ctf" to trace_file_targets if GDB
1869 2014-05-05 Yao Qi <yao@codesourcery.com>
1871 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
1873 (gdb_collect_args_test_1): ... it. New proc.
1874 (gdb_collect_locals_test): Move some code to ...
1875 (gdb_collect_locals_test_1): ... it. New proc.
1876 (gdb_unavailable_registers_test): Move some code to ...
1877 (gdb_unavailable_registers_test_1): ... it. New proc.
1878 (gdb_unavailable_floats): Move some code to ...
1879 (gdb_unavailable_floats_1): ... it. New proc.
1881 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1883 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
1884 probes to test for bitness recognition.
1885 * gdb.arch/amd64-stap-optional-prefix.exp
1886 (test_probe_value_without_reg): New procedure.
1887 Add code to test for different kinds of bitness.
1889 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1891 PR breakpoints/16889
1892 * gdb.arch/amd64-stap-optional-prefix.S: New file.
1893 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1895 2014-05-01 Pedro Alves <palves@redhat.com>
1897 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
1898 gdb_file_cmd if no file is specified.
1899 * boards/native-extended-gdbserver.exp (gdb_load): Use the
1900 last_loaded_file to set the remote exec-file.
1902 2014-05-01 Pedro Alves <palves@redhat.com>
1904 * boards/local-remote-host.exp: New file.
1906 2014-05-01 Pedro Alves <palves@redhat.com>
1908 * boards/local-remote-host.exp: Rename to ...
1909 * boards/local-remote-host-notty.exp: ... this.
1911 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1913 * gdb.ada/dyn_arrayidx: New testcase.
1915 2014-04-26 Yao Qi <yao@codesourcery.com>
1917 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
1918 and compute the length of function main. Save it in
1920 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
1921 (top-level): Use gdb_compile to compile objects into
1922 executable and restart GDB. Remove invocation to
1923 prepare_for_testing.
1925 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
1926 Pedro Alves <palves@redhat.com>
1929 * gdb.multi/multi-attach.c: New file.
1930 * gdb.multi/multi-attach.exp: New file.
1932 2014-04-25 Pedro Alves <palves@redhat.com>
1934 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
1936 (top level): Test that "set remote conditional-breakpoints-packet
1937 off" works as intended.
1938 * gdb.base/dprintf.exp: Test that "set remote
1939 breakpoint-commands-packet off" works as intended.
1940 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
1942 (top level): Call it.
1943 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
1944 remote fast-tracepoints-packet off" works as intended.
1945 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
1946 * lib/gdb.exp (gdb_is_target_remote): ... here.
1948 2014-04-24 David Blaikie <dblaikie@gmail.com>
1950 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
1951 ensure clang would not discard them.
1952 * gdb.base/gdbvars.c: Ditto.
1953 * gdb.base/memattr.c: Ditto.
1954 * gdb.base/whatis.c: Ditto.
1955 * gdb.python/py-prettyprint.c: Ditto.
1956 * gdb.trace/actions.c: Ditto.
1957 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
1958 ensure clang would not discard it.
1960 2014-04-24 David Blaikie <dblaikie@gmail.com>
1962 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1963 clang to emit the full definition of type required by the test
1964 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1966 2014-04-24 David Blaikie <dblaikie@gmail.com>
1968 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1969 coax Clang into emitting the definition of the type.
1970 * gdb.cp/pr10728-x.h (y): Ditto.
1971 * gdb.cp/pr10728-y.cc (y): Ditto.
1973 2014-04-24 David Blaikie <dblaikie@gmail.com>
1975 * gdb.base/label.exp: XFAIL label related tests under Clang.
1976 * gdb.cp/cplabel.exp: Ditto.
1977 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
1978 under Clang those using labels.
1980 2014-04-25 Yao Qi <yao@codesourcery.com>
1982 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
1984 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
1985 partial_label and double_label.
1987 2014-04-24 David Blaikie <dblaikie@gmail.com>
1989 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
1991 2014-04-24 David Blaikie <dblaikie@gmail.com>
1993 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
1994 of the function to work across GCC and Clang.
1995 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
1996 pointer types (const void ** const V void **).
1998 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
1999 Walfred Tedeschi <walfred.tedeschi@intel.com>
2001 * Makefile.in (EXECUTABLES): Added i386-avx512.
2002 * gdb.arch/i386-avx512.c: New file.
2003 * gdb.arch/i386-avx512.exp: Likewise.
2005 2014-04-23 Keith Seitz <keiths@redhat.com>
2007 * lib/mi-support.exp (mi_list_breakpoints): Delete.
2008 (mi_make_breakpoint_table): New procedure.
2009 (mi_create_breakpoint): Use mi_make_breakpoint
2010 and return the result.
2011 (mi_make_breakpoint): New procedure.
2012 (mi_build_kv_pairs): New procedure.
2014 * gdb.mi/mi-break.exp: Remove unused globals,
2015 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
2016 All callers updated.
2017 * gdb.mi/mi-dprintf.exp: Use variable to track command
2019 Update all callers of mi_create_breakpoint and use
2020 mi_make_breakpoint_table.
2021 Remove any unused global variables.
2022 * gdb.mi/mi-nonstop.exp: Likewise.
2023 * gdb.mi/mi-nsintrall.exp: Likewise.
2024 * gdb.mi/mi-nsmoribund.exp: Likewise.
2025 * gdb.mi/mi-nsthrexec.exp: Likewise.
2026 * gdb.mi/mi-reverse.exp: Likewise.
2027 * gdb.mi/mi-simplerun.exp: Likewise.
2028 * gdb.mi/mi-stepn.exp: Likewise.
2029 * gdb.mi/mi-syn-frame.exp: Likewise.
2030 * gdb.mi/mi-until.exp: Likewise.
2031 * gdb.mi/mi-var-cp.exp: Likewise.
2032 * gdb.mi/mi-var-display.exp: Likewise.
2033 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2034 * gdb.mi/mi2-var-child.exp: Likewise.
2035 * gdb.mi/mi-vla-c99.exp: Likewise.
2036 * lib/mi-support.exp: Likewise.
2038 From Ian Lance Taylor <iant@cygnus.com>:
2039 * lib/gdb.exp (parse_args): New procedure.
2041 2014-04-23 Pedro Alves <palves@redhat.com>
2043 * gdb.base/break-unload-file.c: New file.
2044 * gdb.base/break-unload-file.exp: New file.
2045 * gdb.base/sym-file-lib.c (baz): New function.
2046 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
2048 (load): Store the segment's mapped size.
2049 (unload): New function.
2050 (unload_shlib): New function.
2051 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
2052 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
2053 set a breakpoint at baz, and call it.
2054 * gdb.base/sym-file.exp: New tests for stale breakpoint
2057 2014-04-23 Pedro Alves <palves@redhat.com>
2059 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
2060 * gdb.base/hbreak-in-shr-unsupported.c: New file.
2061 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
2062 * gdb.base/hbreak-unmapped.c: New file.
2063 * gdb.base/hbreak-unmapped.exp: New file.
2064 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
2065 * lib/gdb.exp (gdb_is_target_remote): ... here.
2067 2014-04-22 Pedro Alves <palves@redhat.com>
2069 * gdb.base/consecutive-step-over.c: New file.
2070 * gdb.base/consecutive-step-over.exp: New file.
2072 2014-04-22 Pedro Alves <palves@redhat.com>
2074 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
2075 instead of send_gdb/gdb_expect.
2077 2014-04-22 Yao Qi <yao@codesourcery.com>
2079 * lib/trace-support.exp (generate_tracefile): New procedure.
2080 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
2082 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
2083 if generate_tracefile returns 1.
2085 2014-04-18 Tom Tromey <palves@redhat.com>
2086 Pedro alves <tromey@redhat.com>
2089 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
2090 with a backtrace limit.
2091 * gdb.python/py-frame-inline.exp: Test running to an inline
2092 function with a backtrace limit, and printing the newest frame.
2093 * gdb.python/py-frame-inline.c (main): Call f.
2095 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2097 * gdb.java/jnpe.exp: Drop srcdir from untested path.
2099 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2101 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
2102 Drop prefix from unsupported source file path.
2104 2014-04-17 Yao Qi <yao@codesourcery.com>
2106 * lib/gdb.exp (with_target_charset): New proc.
2107 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
2108 with_target_charset.
2109 (test_print_strings): Likewise.
2110 (test_repeat_bytes): Likewise.
2111 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
2114 2014-04-16 Keith Seitz <keiths@redhat.com>
2117 * gdb.dwarf2/corrupt.c: New file.
2118 * gdb.dwarf2/corrupt.exp: New file.
2120 2014-04-16 Keith Seitz <keiths@redhat.com>
2123 * gdb.cp/namelessclass.cc: New file.
2124 * gdb.cp/namelessclass.exp: New file.
2125 * gdb.cp/namelessclass.S: New file.
2127 2014-04-16 Doug Evans <dje@google.com>
2129 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
2131 (gdbserver_default_get_comm_port): New function.
2132 (gdbserver_start): Check if board file provided
2133 "gdbserver,get_comm_port" and use it if so.
2134 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
2135 (gdb,socketport): Set to "stdio".
2136 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
2137 (stdio_gdbserver_template): Delete.
2138 (${board}_get_remote_address): Update.
2139 (${board}_build_remote_cmd): Delete.
2140 (${board}_get_comm_port): New function.
2141 (${board}_spawn): Update.
2142 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
2144 (${board}_get_remote_address): Update.
2145 (${board}_get_comm_port): New function.
2147 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
2149 * gdb.base/memattr.exp: Improve regexps to handle memory regions
2150 appearing in any order.
2152 2014-04-15 Doug Evans <dje@google.com>
2154 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
2155 uninitialized value of "description".
2157 2014-04-15 Keith Seitz <keiths@redhat.com>
2159 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
2160 Remove unused globals.
2161 (test_running_the_program): Likewise.
2162 (test_controlled_execution): Likewise.
2163 (test_controlling_breakpoints): Likewise.
2164 (test_program_termination): Likewise.
2166 2014-04-15 Keith Seitz <keiths@redhat.com>
2168 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
2170 (test_rbreak_creation_and_listing): Likewise.
2171 (test_ignore_count): Likewise.
2172 (test_error): Likewise.
2174 2014-04-15 Pedro Alves <palves@redhat.com>
2176 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2177 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2179 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2180 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2181 to sym-file-loader.c.
2182 (struct library): Forward declare.
2183 (load_shlib, lookup_function): Change prototypes.
2184 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2185 (translate_offset): Remove declarations.
2186 (get_text_addr): New declaration.
2187 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2188 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2190 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2191 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2192 here from sym-file-loader.h.
2193 (struct library): New structure.
2194 (load_shlib, lookup_function): Change prototypes and adjust to
2195 work with a struct library.
2196 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2197 (translate_offset): Make static.
2198 (get_text_addr): New function.
2199 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
2201 2014-04-15 Pedro Alves <palves@redhat.com>
2203 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
2205 2014-04-15 Pedro Alves <palves@redhat.com>
2207 * gdb.base/sym-file-loader.c: Include <limits.h>.
2208 (SELF_LINK): New define.
2209 (get_origin): New function.
2210 (load_shlib): Use it.
2211 * gdb.base/sym-file.exp: Don't early return if the target is
2212 remote. Use runto_main, and issue fail is that fails. Use
2214 (shlib_name): Delete.
2215 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
2217 2014-04-15 Pedro Alves <palves@redhat.com>
2219 * gdb.base/sym-file.exp: Remove regex characters from test
2220 message. Don't refer to breakpoint numbers in test messages.
2222 2014-04-14 Keith Seitz <keiths@redhat.com>
2225 * gdb.cp/var-tag.cc: New file.
2226 * gdb.cp/var-tag.exp: New file.
2227 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2228 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2229 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2230 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2232 2014-04-14 Tom Tromey <tromey@redhat.com>
2234 * gdb.cp/classes.exp (test_enums): Handle underlying type.
2235 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
2237 * gdb.cp/enum-class.exp: New file.
2238 * gdb.cp/enum-class.cc: New file.
2240 2014-04-14 Tom Tromey <tromey@redhat.com>
2242 * gdb.dwarf2/enum-type.exp: New file.
2244 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2246 * gdb.mi/mi-vla-c99.exp: New file.
2247 * gdb.mi/vla.c: New file.
2249 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2251 * gdb.base/vla-datatypes.c: New file.
2252 * gdb.base/vla-datatypes.exp: New file.
2254 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2256 * gdb.base/vla-ptr.c: New file.
2257 * gdb.base/vla-ptr.exp: New file.
2259 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2261 * gdb.dwarf2/count.exp: New file.
2263 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2265 * gdb.base/vla-sideeffect.c: New file.
2266 * gdb.base/vla-sideeffect.exp: New file.
2268 2014-04-14 David Blaikie <dblaikie@gmail.com>
2270 * gdb.mi/non-stop.c: Add return value for non-void function return
2272 * gdb.threads/staticthreads.c: Ditto.
2274 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2275 Doug Evans <xdje42@gmail.com>
2277 * gdb.guile/scm-value.c: Improve test case.
2278 * gdb.guile/scm-value.exp: Add new test.
2280 2014-04-11 David Blaikie <dblaikie@gmail.com>
2282 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2283 override Clang's default.
2285 2014-04-11 Joel Brobecker <brobecker@adacore.com>
2287 Revert the following changes (regressions):
2289 * gdb.base/vla-sideeffect.c: New file.
2290 * gdb.base/vla-sideeffect.exp: New file.
2292 * gdb.dwarf2/count.exp: New file.
2294 * gdb.base/vla-multi.c: New file.
2295 * gdb.base/vla-multi.exp: New file.
2297 * gdb.base/vla-ptr.c: New file.
2298 * gdb.base/vla-ptr.exp: New file.
2300 * gdb.base/vla-datatypes.c: New file.
2301 * gdb.base/vla-datatypes.exp: New file.
2303 * gdb.mi/mi-vla-c99.exp: New file.
2304 * gdb.mi/vla.c: New file.
2306 2014-04-11 Keith Seitz <keiths@redhat.com>
2309 * gdb.cp/cpsizeof.exp: New file.
2310 * gdb.cp/cpsizeof.cc: New file.
2312 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2314 * gdb.mi/mi-vla-c99.exp: New file.
2315 * gdb.mi/vla.c: New file.
2317 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2319 * gdb.base/vla-datatypes.c: New file.
2320 * gdb.base/vla-datatypes.exp: New file.
2322 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2324 * gdb.base/vla-ptr.c: New file.
2325 * gdb.base/vla-ptr.exp: New file.
2327 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2329 * gdb.base/vla-multi.c: New file.
2330 * gdb.base/vla-multi.exp: New file.
2332 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2334 * gdb.dwarf2/count.exp: New file.
2336 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2338 * gdb.base/vla-sideeffect.c: New file.
2339 * gdb.base/vla-sideeffect.exp: New file.
2341 2014-04-11 Yao Qi <yao@codesourcery.com>
2343 * gdb.base/completion.exp: Check file exists before running tests
2346 2014-04-10 Pedro Alves <palves@redhat.com>
2348 * gdb.base/cond-eval-mode.c: New file.
2349 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2350 prepare_for_testing to build the new file. Check result of
2352 (test_break, test_watch): New procedures.
2353 (top level): Use them.
2355 2014-04-08 Pierre Muller <muller@sourceware.org>
2357 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2358 Ctrl-V use for mingw hosts.
2360 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2362 * gdb.python/py-value.c: Improve test case.
2363 * gdb.python/py-value.exp: Add new test.
2365 2014-04-07 David Blaikie <dblaikie@gmail.com>
2367 * lib/compiler.c: Identify the clang compiler.
2368 * lib/compiler.cc: Ditto.
2370 2014-04-03 Yao Qi <yao@codesourcery.com>
2372 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2374 2014-04-01 Anton Blanchard <anton@samba.org>
2376 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2379 2014-04-01 Anton Blanchard <anton@samba.org>
2381 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2382 prepare_for_testing.
2384 2014-04-01 Anton Blanchard <anton@samba.org>
2386 * gdb.arch/ppc64-atomic-inst.c: Remove.
2387 * gdb.arch/ppc64-atomic-inst.S: New file.
2388 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2390 2014-03-31 Doug Evans <dje@google.com>
2392 * gdb.base/print-symbol-loading-lib.c: New file.
2393 * gdb.base/print-symbol-loading-main.c: New file.
2394 * gdb.base/print-symbol-loading.exp: New file.
2396 2014-03-31 Yao Qi <yao@codesourcery.com>
2398 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2400 2014-03-28 Joel Brobecker <brobecker@adacore.com>
2402 * gdb.ada/mi_dyn_arr: New testcase.
2404 2014-03-27 Doug Evans <dje@google.com>
2406 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2408 2014-03-27 Yao Qi <yao@codesourcery.com>
2410 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2411 if target is nios2-*-*.
2413 2014-03-26 Yao Qi <yao@codesourcery.com>
2415 * lib/gdb.exp (readline_is_used): New proc.
2416 * gdb.base/completion.exp: Move tests on command complete up.
2417 Skip the rest of tests if readline is not used.
2418 * gdb.ada/complete.exp: Skp the test if readline is not
2420 * gdb.base/filesym.exp: Likewise.
2421 * gdb.base/macscp.exp: Likewise.
2422 * gdb.base/readline-ask.exp: Likewise.
2423 * gdb.base/readline.exp: Likewise.
2424 * gdb.python/py-cmd.exp: Likewise.
2425 * gdb.trace/tfile.exp: Likewise.
2427 2014-03-26 Yao Qi <yao@codesourcery.com>
2429 * gdb.base/macscp.exp: Fix code format issues.
2431 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2433 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2434 * gdb.asm/powerpc64le.inc: New file.
2436 2014-03-25 Pedro Alves <palves@redhat.com>
2437 Doug Evans <dje@google.com>
2439 * gdb.base/source-execution.c: New file.
2440 * gdb.base/source-execution.exp: New file.
2441 * gdb.base/source-execution.gdb: New file.
2443 2014-03-24 Doug Evans <dje@google.com>
2445 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2448 2014-03-24 Hui Zhu <hui@codesourcery.com>
2449 Pedro Alves <palves@redhat.com>
2451 PR breakpoints/16101
2452 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2453 test pass/fail messages. Detect missing support for dprintf when
2454 breakpoints are actually inserted.
2455 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2456 breakpoints are actually inserted.
2457 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2460 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2462 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2464 2014-03-22 Doug Evans <xdje42@gmail.com>
2466 * gdb.python/python.exp (python not supported): Verify multi-line
2467 python command issues an error.
2468 * gdb.guile/guile.exp (guile not supported): Verify multi-line
2469 guile command issues an error.
2471 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2473 * gdb.threads/thread-specific.exp: Handle the lack of usable
2474 $this_breakpoint and $this_thread.
2476 2014-03-21 Hui Zhu <hui@codesourcery.com>
2478 * gdb.base/attach.exp (do_command_attach_tests): New.
2480 2014-03-20 Tom Tromey <tromey@redhat.com>
2481 Pedro Alves <palves@redhat.com>
2484 * gdb.base/condbreak-call-false.c: New file.
2485 * gdb.base/condbreak-call-false.exp: New file.
2487 2014-03-20 Pedro Alves <palves@redhat.com>
2489 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2491 (block_signals, unblock_signals): Delete.
2492 (child_function_2, main): Remove references to deleted variable
2495 2014-03-20 Pedro Alves <palves@redhat.com>
2497 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2498 Use pthread_kill to signal thread 2.
2499 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2500 Adjust to make the test send itself a signal rather than using the
2501 host's "kill" command.
2503 2014-03-20 Pedro Alves <palves@redhat.com>
2505 * gdb.threads/multiple-step-overs.c: New file.
2506 * gdb.threads/multiple-step-overs.exp: New file.
2507 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2508 Adjust expected infrun debug output.
2510 2014-03-20 Pedro Alves <palves@redhat.com>
2512 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2513 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2515 2014-03-20 Pedro Alves <palves@redhat.com>
2518 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2519 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2520 of gdb_test_multiple.
2521 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2522 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2524 2014-03-20 Pedro Alves <palves@redhat.com>
2526 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2527 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2529 2014-03-19 Pedro Alves <palves@redhat.com>
2531 * gdb.base/async.exp: Remove early return.
2533 2014-03-19 Pedro Alves <palves@redhat.com>
2535 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2537 2014-03-19 Pedro Alves <palves@redhat.com>
2539 * gdb.base/async.exp (test_background): Expect \r\n after
2540 "completed." in the fail pattern.
2542 2014-03-19 Pedro Alves <palves@redhat.com>
2544 * gdb.base/async.exp (test_background): New procedure.
2545 Use it for all background execution command tests.
2547 2014-03-19 Pedro Alves <palves@redhat.com>
2549 * gdb.base/async.exp: Use prepare_for_testing.
2551 2014-03-19 Pedro Alves <palves@redhat.com>
2553 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2556 2014-03-19 Pedro Alves <palves@redhat.com>
2558 * gdb.base/async.c (main): Add "jump here" and "until here" line
2560 * gdb.base/async.exp (jump_here): New global.
2561 (jump& test): Use it.
2562 (until_here): New global.
2563 (until& test): Use it.
2565 2014-03-19 Pedro Alves <palves@redhat.com>
2567 * gdb.base/async.exp: Don't frob gdb_protocol.
2569 2014-03-18 Doug Evans <xdje42@gmail.com>
2571 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2572 Fix spelling of exec-done-display.
2574 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2577 * gdb.base/gdb-sigterm.c: New file.
2578 * gdb.base/gdb-sigterm.exp: New file.
2580 2014-03-18 Pedro Alves <palves@redhat.com>
2583 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2584 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2587 2014-03-17 Joel Brobecker <brobecker@adacore.com>
2589 * gdb.ada/pckd_arr_ren: New testcase.
2591 2014-03-13 Doug Evans <xdje42@gmail.com>
2594 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2595 collect after discarding symbols.
2597 2014-03-13 Ludovic Courtès <ludo@gnu.org>
2598 Doug Evans <xdje42@gmail.com>
2600 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2601 to history survives a gc.
2603 2014-03-13 Pedro Alves <palves@redhat.com>
2605 * gdb.base/default.exp: Don't test "target procfs".
2607 2014-03-13 Pedro Alves <palves@redhat.com>
2609 * gdb.base/default.exp: Update "target child" and "target procfs"
2610 tests to not expect "Unix".
2612 2014-03-12 Tom Tromey <tromey@redhat.com>
2614 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2615 New procs. Add target-async tests.
2616 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2617 Add target-async tests.
2619 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2621 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2622 'func_start' and 'func_end' for the beginning and end of the
2623 function code, respectively.
2624 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2625 'func_end' instead of 'func' and 'main'.
2627 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2629 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2630 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2631 generate the debug info assembler source.
2633 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2635 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2636 * gdb.dwarf2/arr-subrange.exp: Likewise.
2637 * gdb.dwarf2/dwz.exp: Likewise.
2638 * gdb.dwarf2/method-ptr.exp: Likewise.
2639 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2640 * gdb.dwarf2/subrange.exp: Likewise.
2641 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2642 * gdb.dwarf2/implptrpiece.exp: Likewise.
2643 * gdb.dwarf2/nostaticblock.exp: Likewise.
2645 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2647 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2648 directory to absolute path name arguments.
2650 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2652 * gdb.ada/tagged_access: New testcase.
2654 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2656 * gdb.btrace/data.exp: Update expected output.
2658 2014-03-06 Yao Qi <yao@codesourcery.com>
2660 * gdb.trace/pr16508.exp: New file.
2662 2014-03-05 Pedro Alves <palves@redhat.com>
2665 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2667 (top level): Adjust to use it. Add tests that exercise breakpoint
2668 interaction with the code-cache.
2670 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2672 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2673 test for 'history-append!'.
2675 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2677 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2678 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2679 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2680 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2681 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2682 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2684 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2686 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2687 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2688 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2690 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2692 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2694 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2696 * gdb.dwarf2/arr-stride.c: New file.
2697 * gdb.dwarf2/arr-stride.exp: New file.
2699 2014-02-26 Pedro Alves <palves@redhat.com>
2701 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2702 that won't ever trigger. Make sure that GDB reports the correct
2703 breakpoint that caused the stop.
2705 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2708 * gdb.base/auto-load-script: New file.
2709 * gdb.base/auto-load.c: New file.
2710 * gdb.base/auto-load.exp: New file.
2713 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2715 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2717 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2718 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2720 2014-02-24 Doug Evans <dje@google.com>
2722 * lib/gdb.exp (run_on_host): Log error output if program fails.
2724 2014-02-21 Pedro Alves <palves@redhat.com>
2726 * gdb.threads/step-after-sr-lock.c: Rename to ...
2727 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2728 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2729 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2732 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2735 * gdb.arch/amd64-stap-special-operands.exp: New file.
2736 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2737 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2738 * gdb.arch/amd64-stap-triplet.S: Likewise.
2739 * gdb.arch/amd64-stap-triplet.c: Likewise.
2741 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2743 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2744 in .section pseudo-op.
2746 2014-02-20 lin zuojian <manjian2006@gmail.com>
2747 Joel Brobecker <brobecker@adacore.com>
2748 Doug Evans <xdje42@gmail.com>
2751 * gdb.dwarf2/dw2-icycle.S: New file.
2752 * gdb.dwarf2/dw2-icycle.c: New file.
2753 * gdb.dwarf2/dw2-icycle.exp: New file.
2755 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2757 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2758 operations on gdb.Value objects.
2759 * gdb.python/py-value-cc.exp: Add new test to test operations on
2762 2014-02-18 Doug Evans <dje@google.com>
2764 * Makefile.in (TESTS): New variable.
2765 (expanded_tests, expanded_tests_or_none): New variables
2766 (check-single): Pass $(expanded_tests_or_none) to runtest.
2767 (check-parallel): Only run tests in $(TESTS) if non-empty.
2768 (check/no-matching-tests-found): New rule.
2769 * README: Document TESTS makefile variable.
2771 2014-02-18 Doug Evans <dje@google.com>
2773 * Makefile.in (check-parallel): rm -rf outputs temp.
2775 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2777 Fix "ERROR: no fileid for" in the testsuite.
2778 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2780 2014-02-12 Doug Evans <dje@google.com>
2782 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2783 (MISCELLANEOUS): New variable.
2784 (clean): rm -rf $(MISCELLANEOUS).
2785 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2786 dwp live in the same directory as symlinks, with each symlink pointed
2787 to a differently named file in a different directory.
2789 2014-02-11 Doug Evans <dje@google.com>
2791 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2792 of Tcl file commands.
2794 2014-02-10 Mark Kettenis <kettenis@gnu.org>
2796 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2799 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2801 * gdb.ada/tick_length_array_enum_idx: New testcase.
2803 2014-02-10 Doug Evans <xdje42@gmail.com>
2805 * configure.ac (AC_OUTPUT): Add gdb.guile.
2806 * configure: Regenerate.
2807 * lib/gdb-guile.exp: New file.
2808 * lib/gdb.exp (get_target_charset): New function.
2809 * gdb.base/help.exp: Update expected output from "apropos apropos".
2810 * gdb.guile/Makefile.in: New file.
2811 * gdb.guile/guile.exp: New file.
2812 * gdb.guile/scm-arch.c: New file.
2813 * gdb.guile/scm-arch.exp: New file.
2814 * gdb.guile/scm-block.c: New file.
2815 * gdb.guile/scm-block.exp: New file.
2816 * gdb.guile/scm-breakpoint.c: New file.
2817 * gdb.guile/scm-breakpoint.exp: New file.
2818 * gdb.guile/scm-disasm.c: New file.
2819 * gdb.guile/scm-disasm.exp: New file.
2820 * gdb.guile/scm-equal.c: New file.
2821 * gdb.guile/scm-equal.exp: New file.
2822 * gdb.guile/scm-error.exp: New file.
2823 * gdb.guile/scm-error.scm: New file.
2824 * gdb.guile/scm-frame-args.c: New file.
2825 * gdb.guile/scm-frame-args.exp: New file.
2826 * gdb.guile/scm-frame-args.scm: New file.
2827 * gdb.guile/scm-frame-inline.c: New file.
2828 * gdb.guile/scm-frame-inline.exp: New file.
2829 * gdb.guile/scm-frame.c: New file.
2830 * gdb.guile/scm-frame.exp: New file.
2831 * gdb.guile/scm-generics.exp: New file.
2832 * gdb.guile/scm-gsmob.exp: New file.
2833 * gdb.guile/scm-iterator.c: New file.
2834 * gdb.guile/scm-iterator.exp: New file.
2835 * gdb.guile/scm-math.c: New file.
2836 * gdb.guile/scm-math.exp: New file.
2837 * gdb.guile/scm-objfile-script-gdb.in: New file.
2838 * gdb.guile/scm-objfile-script.c: New file.
2839 * gdb.guile/scm-objfile-script.exp: New file.
2840 * gdb.guile/scm-objfile.c: New file.
2841 * gdb.guile/scm-objfile.exp: New file.
2842 * gdb.guile/scm-ports.exp: New file.
2843 * gdb.guile/scm-pretty-print.c: New file.
2844 * gdb.guile/scm-pretty-print.exp: New file.
2845 * gdb.guile/scm-pretty-print.scm: New file.
2846 * gdb.guile/scm-section-script.c: New file.
2847 * gdb.guile/scm-section-script.exp: New file.
2848 * gdb.guile/scm-section-script.scm: New file.
2849 * gdb.guile/scm-symbol.c: New file.
2850 * gdb.guile/scm-symbol.exp: New file.
2851 * gdb.guile/scm-symtab-2.c: New file.
2852 * gdb.guile/scm-symtab.c: New file.
2853 * gdb.guile/scm-symtab.exp: New file.
2854 * gdb.guile/scm-type.c: New file.
2855 * gdb.guile/scm-type.exp: New file.
2856 * gdb.guile/scm-value-cc.cc: New file.
2857 * gdb.guile/scm-value-cc.exp: New file.
2858 * gdb.guile/scm-value.c: New file.
2859 * gdb.guile/scm-value.exp: New file.
2860 * gdb.guile/source2.scm: New file.
2861 * gdb.guile/types-module.cc: New file.
2862 * gdb.guile/types-module.exp: New file.
2864 2014-02-10 Yao Qi <yao@codesourcery.com>
2867 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
2868 * configure: Regenerated.
2869 * Makefile.in: New file.
2871 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2873 * gdb.python/py-framefilter.exp: Fix typo.
2875 2014-02-08 Yao Qi <yao@codesourcery.com>
2877 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
2878 that no =breakpoint-modified is emitted when breakpoints are
2879 modified through MI commands.
2881 2014-02-07 Pedro Alves <pedro@codesourcery.com>
2882 Pedro Alves <palves@redhat.com>
2884 * gdb.threads/step-after-sr-lock.c: New file.
2885 * gdb.threads/step-after-sr-lock.exp: New file.
2887 2014-02-07 Pedro Alves <palves@redhat.com>
2889 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
2891 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2893 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
2894 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
2896 2014-02-06 Doug Evans <xdje42@gmail.com>
2898 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
2901 * gdb.gdb/python-interrupts.exp: New file.
2903 2014-02-05 Yao Qi <yao@codesourcery.com>
2905 * gdb.trace/report.exp (use_collected_data): Test the output
2906 of "info threads" and "info inferiors".
2908 2014-02-05 Yao Qi <yao@codesourcery.com>
2912 2013-05-24 Yao Qi <yao@codesourcery.com>
2914 * gdb.trace/tfile.exp: Test inferior and thread.
2916 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2918 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
2920 * gdb.base/step-bt.c: Call hello via function pointer to make
2921 sure its first instruction is executed on powerpc64le-linux.
2923 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2925 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
2927 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2929 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
2930 of the test patterns for use on little-endian systems.
2932 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2934 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
2935 (decimal_vector): Fix for little-endian.
2937 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2939 * gdb.arch/sparc-sysstep.exp: New file.
2940 * gdb.arch/sparc-sysstep.c: Likewise.
2942 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
2944 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2946 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2948 2014-01-23 Tom Tromey <tromey@redhat.com>
2950 * gdb.ada/array_char_idx: New testcase.
2952 2014-01-23 Tom Tromey <tromey@redhat.com>
2955 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
2956 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2959 2014-01-23 Tom Tromey <tromey@redhat.com>
2962 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2963 string from an inferior frame.
2964 * gdb.python/py-framefilter-mi.exp: Update.
2966 2014-01-22 Doug Evans <dje@google.com>
2968 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2970 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2972 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2974 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2976 * gdb.trace/entry-values.exp: Remove excess space character from
2977 regex patterns. Handle s390 call instruction.
2979 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2981 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
2982 define "*_start" label. Make "name" static.
2983 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
2984 ${name} by references to ${name}_start.
2986 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2988 * gdb.base/info-macros.exp: Remove "debug" from the compile
2991 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2993 * gdb.dlang/demangle.exp: New file.
2995 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2997 * gdb.dlang/primitive-types.exp: New file.
2999 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3001 * configure.ac: Create gdb.dlang/Makefile.
3002 * configure: Regenerate.
3003 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
3004 * gdb.dlang/Makefile.in: New file.
3005 * lib/d-support.exp: New file.
3006 * lib/gdb.exp (skip_d_tests): New proc.
3008 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3010 * gdb.btrace/delta.exp: Check reverse stepi.
3011 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
3012 * gdb.btrace/finish.exp: New.
3013 * gdb.btrace/next.exp: New.
3014 * gdb.btrace/nexti.exp: New.
3015 * gdb.btrace/record_goto.c: Add comments.
3016 * gdb.btrace/step.exp: New.
3017 * gdb.btrace/stepi.exp: New.
3018 * gdb.btrace/multi-thread-step.c: New.
3019 * gdb.btrace/multi-thread-step.exp: New.
3020 * gdb.btrace/rn-dl-bind.c: New.
3021 * gdb.btrace/rn-dl-bind.exp: New.
3022 * gdb.btrace/data.c: New.
3023 * gdb.btrace/data.exp: New.
3024 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3026 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3028 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
3029 * gdb.btrace/exception.exp: Update.
3030 * gdb.btrace/instruction_history.exp: Update.
3031 * gdb.btrace/record_goto.exp: Update.
3032 * gdb.btrace/tailcall.exp: Update.
3033 * gdb.btrace/unknown_functions.exp: Update.
3034 * gdb.btrace/delta.exp: New.
3036 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3038 * gdb.btrace/record_goto.exp: Add backtrace test.
3039 * gdb.btrace/tailcall.exp: Add backtrace test.
3041 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3043 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
3044 * gdb.btrace/record_goto.c: New.
3045 * gdb.btrace/record_goto.exp: New.
3046 * gdb.btrace/x86-record_goto.S: New.
3048 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3050 * gdb.btrace/function_call_history.exp: Update tests.
3051 * gdb.btrace/instruction_history.exp: Update tests.
3053 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3055 * gdb.btrace/function_call_history.exp: Fix expected field
3056 order for "record function-call-history".
3057 Add new tests for "record function-call-history /c".
3058 * gdb.btrace/exception.cc: New.
3059 * gdb.btrace/exception.exp: New.
3060 * gdb.btrace/tailcall.exp: New.
3061 * gdb.btrace/x86-tailcall.S: New.
3062 * gdb.btrace/x86-tailcall.c: New.
3063 * gdb.btrace/unknown_functions.c: New.
3064 * gdb.btrace/unknown_functions.exp: New.
3065 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3067 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3069 * gdb.btrace/instruction_history.exp: Update.
3070 * gdb.btrace/function_call_history.exp: Update.
3072 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3074 * gdb.btrace/function_call_history.exp: Fix expected function
3076 * gdb.btrace/instruction_history.exp: Initialize traced.
3077 Remove traced_functions.
3079 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3081 * gdb.btrace/function_call_history.exp: Update
3082 * gdb.btrace/instruction_history.exp: Update.
3084 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3086 * gdb.btrace/enable.exp: Update expected text.
3088 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
3090 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
3093 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
3095 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
3097 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3099 * lib/gdb.exp (supports_process_record): Return true for
3100 arm*-linux*. (supports_reverse): Likewise.
3102 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3106 * gdb.python/py-type.c: Enhance test case.
3107 * gdb.python/py-value-cc.cc: Likewise
3108 * gdb.python/py-type.exp: Add new tests.
3109 * gdb.python/py-value-cc.exp: Likewise
3111 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3112 Pedro Alves <palves@redhat.com>
3114 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
3116 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
3117 references to ${name}_start by references to ${name}.
3119 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3121 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
3123 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3125 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
3127 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
3128 Pedro Alves <palves@redhat.com>
3130 * gdb.mi/mi-info-os.exp: Connect to the target with
3133 2014-01-08 Pedro Alves <palves@redhat.com>
3135 * gdb.threads/reconnect-signal.c: New file.
3136 * gdb.threads/reconnect-signal.exp: New file.
3138 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3140 * gdb.base/source-dir.exp: New file.
3142 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3144 * gdb.ada/mi_interface: New testcase.
3146 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3148 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
3149 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
3150 gdb.ada/pp-rec-component/pck.ads: New files.
3152 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3154 * gdb.python/py-pp-integral.c: New file.
3155 * gdb.python/py-pp-integral.py: New file.
3156 * gdb.python/py-pp-integral.exp: New file.
3158 For older changes see ChangeLog-1993-2013.
3164 ;; version-control: never
3167 Copyright 2014 Free Software Foundation, Inc.
3168 Copying and distribution of this file, with or without modification,
3169 are permitted provided the copyright notice and this notice are preserved.