1 2014-10-29 Pedro Alves <palves@redhat.com>
4 * gdb.threads/schedlock.c (some_function): New function.
5 (call_function): New global.
6 (MAYBE_CALL_SOME_FUNCTION): New macro.
7 (thread_function): Call it.
8 * gdb.threads/schedlock.exp (get_args): Add description parameter,
9 and use it instead of a global counter. Adjust all callers.
10 (get_current_thread): Use "find current thread" for test message
11 here rather than having all callers pass down the same string.
12 (goto_loop): New procedure, factored out from ...
13 (my_continue): ... this.
14 (step_ten_loops): Change parameter from test message to command to
16 (list_count): Delete global.
17 (check_result): New procedure, factored out from duplicate top
19 (continue tests): Wrap in with_test_prefix.
20 (test_step): New procedure, factored out from duplicate top level
22 (top level): Test "step" in combination with all scheduler-locking
23 modes. Test "next" in combination with all scheduler-locking
24 modes, and in combination with stepping over a function call or
26 * gdb.threads/next-bp-other-thread.c: New file.
27 * gdb.threads/next-bp-other-thread.exp: New file.
29 2014-10-29 Pedro Alves <palves@redhat.com>
32 * gdb.python/python.exp: Test a multi-line command that spawns
34 * gdb.base/multi-line-starts-subshell.exp: New file.
36 2014-10-29 Yao Qi <yao@codesourcery.com>
38 * gdb.base/fileio.exp: Make directories on host.
40 2014-10-29 Yao Qi <yao@codesourcery.com>
42 * gdb.base/fileio.c (test_write): Close the file.
44 2014-10-28 Pedro Alves <palves@redhat.com>
47 * gdb.base/sigstep.c (no_handler): New global.
48 (main): If 'no_handler is true, set the signal handlers to
50 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
51 with_sw_watch and no_handler parameters. Handle them.
52 (top level) <stepping over handler when stopped at a breakpoint
53 test>: Add a test axis for testing with a software watchpoint, and
54 another for testing with the signal handler set to SIG_IGN.
55 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
56 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
58 2014-10-28 Pedro Alves <palves@redhat.com>
61 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
62 * gdb.base/sigstep.exp (other_handler_location): New global.
63 (advance): Support stepping into the signal handler, and running
64 commands while in the handler.
65 (in_handler_map): New global.
66 (top level): In the advance test, add combinations for getting
67 into the handler with stepping commands, and for running commands
68 in the handler. Add comment descripting the advancei tests.
70 2014-10-28 Pedro Alves <palves@redhat.com>
72 * gdb.base/sigstep.exp: Use build_executable instead of
74 (top level): Move code that starts GDB, runs to main and creates a
76 (restart): ... this new procedure.
77 (top level): Move backtrace from signal handler test to ...
78 (validate_backtrace): ... this new procedure.
79 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
80 with_test_prefix. Always restart GDB.
81 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
82 with_test_prefix. Always restart GDB. No need to delete
83 breakpoints after the test.
84 (test_skip_handler): Remove prefix parameter.
85 (skip_over_handler, breakpoint_to_handler)
86 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
87 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
88 restart GDB. No need to delete breakpoints after the test.
89 (top level): Use foreach to call the test procedures with
92 2014-10-28 Pedro Alves <palves@redhat.com>
94 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
95 instead of GNATS numbers.
96 * gdb.base/sigbpt.exp: Likewise.
97 * gdb.base/siginfo.exp: Likewise.
98 * gdb.base/sigstep.exp: Likewise.
100 2014-10-27 Pedro Alves <palves@redhat.com>
102 * gdb.base/sigstep.c (dummy): New global.
103 (main): Issue a couple writes to the new global.
104 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
106 (skip_over_handler): Use test_skip_handler.
107 (top level): Call skip_over_handler for stepi and nexti too.
108 (breakpoint_over_handler): Use test_skip_handler.
109 (top level): Call breakpoint_over_handler for stepi and nexti too.
111 2014-10-27 Yao Qi <yao@codesourcery.com>
113 * gdb.trace/tfile.c (adjust_function_address)
114 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
117 2014-10-24 Don Breazeal <donb@codesourcery.com>
119 * gdb.base/foll-fork.exp (test_follow_fork,
120 catch_fork_child_follow): Check for updated fork messages emitted
122 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
123 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
124 vfork_and_exec_child_follow_through_step): Check for updated vfork
125 messages emitted from infrun.c.
127 2014-10-24 Pedro Alves <palves@redhat.com>
129 * gdb.base/corefile.exp: Remove references to ultrix.
130 * gdb.base/interrupt.exp: Likewise.
131 * gdb.base/whatis.exp: Likewise.
132 * gdb.gdb/selftest.exp: Likewise.
133 * gdb.threads/manythreads.exp: Likewise.
134 * gdb.threads/print-threads.exp: Likewise.
135 * gdb.threads/pthreads.exp:: Likewise.
136 * gdb.threads/schedlock.exp: Likewise.
138 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
140 * gdb.cp/non-trivial-retval.cc: Add a test case.
141 * gdb.cp/non-trivial-retval.exp: Add a test.
143 2014-10-20 Yao Qi <yao@codesourcery.com>
145 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
146 * gdb.python/py-objfile-script-gdb.py: New file.
147 * gdb.python/py-objfile-script.exp: Update reference to
148 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
149 of remote_download. Remove the dest file.
151 2014-10-20 Yao Qi <yao@codesourcery.com>
153 * gdb.base/checkpoint.exp: Don't remove file copied on host.
154 * gdb.base/step-line.exp: Likewise.
155 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
156 * gdb.dwarf2/dw2-basic.exp: Likewise.
157 * gdb.dwarf2/dw2-compressed.exp: Likewise.
158 * gdb.dwarf2/dw2-filename.exp: Likewise.
159 * gdb.dwarf2/dw2-intercu.exp: Likewise.
160 * gdb.dwarf2/dw2-intermix.exp: Likewise.
161 * gdb.dwarf2/dw2-producer.exp: Likewise.
162 * gdb.dwarf2/mac-fileno.exp: Likewise.
163 * gdb.python/py-frame-args.exp: Likewise.
164 * gdb.python/py-framefilter.exp: Likewise.
165 * gdb.python/py-mi.exp: Likewise.
166 * gdb.python/py-objfile-script.exp: Likewise
167 * gdb.python/py-pp-integral.exp: Likewise.
168 * gdb.python/py-pp-re-notag.exp: Likewise.
169 * gdb.python/py-prettyprint.exp: Likewise.
170 * gdb.python/py-section-script.exp: Likewise.
171 * gdb.python/py-typeprint.exp: Likewise.
172 * gdb.python/py-xmethods.exp: Likewise.
173 * gdb.stabs/weird.exp: Likewise.
174 * gdb.xml/tdesc-regs.exp: Likewise.
176 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
178 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
179 (out_cu): Use addr_len for the size of addresses.
180 (out_line): Likewise. Size DW_LNE_set_address instruction
181 according to addr_len.
182 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
183 (FUNC): Add START_INSNS to definition.
185 2014-10-18 Yao Qi <yao@codesourcery.com>
187 * gdb.base/argv0-symlink.exp: Check argv[0] value if
188 gdb_has_argv0 return true.
189 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
190 check [target_info exists noargs], check [gdb_has_argv0]
192 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
193 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
196 2014-10-17 Doug Evans <dje@google.com>
198 * gdb.python/py-events.exp: Update expected output for clear_objfiles
200 * gdb.python/py-events.py: Add clear_objfiles event.
202 2014-10-17 Doug Evans <dje@google.com>
204 * gdb.python/py-objfile.exp: Test progspace attribute.
206 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
208 * gdb.guile/scm-breakpoint.exp: Do not assume any
209 directory separators when matching source file paths.
210 * gdb.python/py-breakpoint.exp: Likewise.
211 * gdb.reverse/break-precsave.exp: Likewise.
212 * gdb.reverse/break-reverse.exp: Likewise.
213 * gdb.reverse/consecutive-precsave.exp: Likewise.
214 * gdb.reverse/finish-precsave.exp: Likewise.
215 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
216 * gdb.reverse/finish-reverse.exp: Likewise.
217 * gdb.reverse/i386-precsave.exp: Likewise.
218 * gdb.reverse/i387-env-reverse.exp: Likewise.
219 * gdb.reverse/i387-stack-reverse.exp: Likewise.
220 * gdb.reverse/machinestate-precsave.exp: Likewise.
221 * gdb.reverse/machinestate.exp: Likewise.
222 * gdb.reverse/sigall-precsave.exp: Likewise.
223 * gdb.reverse/solib-precsave.exp: Likewise.
224 * gdb.reverse/step-precsave.exp: Likewise.
225 * gdb.reverse/until-precsave.exp: Likewise.
226 * gdb.reverse/watch-precsave.exp: Likewise.
227 * gdb.reverse/watch-reverse.exp: Likewise.
229 2014-10-17 Yao Qi <yao@codesourcery.com>
231 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
232 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
234 2014-10-17 Pedro Alves <palves@redhat.com>
237 * gdb.base/bg-execution-repeat.c: New file.
238 * gdb.base/bg-execution-repeat.exp: New file.
240 2014-10-17 Pedro Alves <palves@redhat.com>
243 * gdb.base/continue-all-already-running.c: New file.
244 * gdb.base/continue-all-already-running.exp: New file.
246 2014-10-17 Pedro Alves <palves@redhat.com>
249 * gdb.base/annota-input-while-running.c: New file.
250 * gdb.base/annota-input-while-running.exp: New file.
252 2014-10-17 Pedro Alves <palves@redhat.com>
254 * gdb.base/callfuncs.exp: emove references to osf.
255 * gdb.base/sigall.exp: Likewise.
256 * gdb.gdb/selftest.exp: Likewise.
257 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
258 * gdb.mi/non-stop.c: Likewise.
259 * gdb.mi/pthreads.c: Likewise.
260 * gdb.reverse/sigall-precsave.exp: Likewise.
261 * gdb.reverse/sigall-reverse.exp: Likewise.
262 * gdb.threads/pthreads.c: Likewise.
263 * gdb.threads/pthreads.exp: Likewise.
265 2014-10-17 Yao Qi <yao@codesourcery.com>
267 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
268 check 'target_info exists noargs'.
269 (test_command_prompt_position): Likewise.
270 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
272 (progvar_simple_while_test): Likewise.
273 (progvar_complex_if_while_test): Likewise.
274 (if_while_breakpoint_command_test): Likewise.
275 (infrun_breakpoint_command_test): Likewise.
276 (breakpoint_command_test): Likewise.
277 (watchpoint_command_test): Likewise.
278 (bp_deleted_in_command_test): Likewise.
279 (temporary_breakpoint_commands): Likewise.
281 2014-10-16 Yao Qi <yao@codesourcery.com>
283 * gdb.base/remotetimeout.exp: Remove noargs checking.
285 2014-10-15 Pedro Alves <palves@redhat.com>
288 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
289 * gdb.base/breakpoint-in-ro-region.exp
290 (probe_target_hardware_step): New procedure.
291 (top level): Probe hardware stepping and hardware breakpoint
292 support. Test stepping through a read-only region, with both
293 "breakpoint auto-hw" on and off and both "always-inserted" on and
296 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
298 * gdb.dlang/demangle.exp: Update for demangling changes.
300 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
302 * gdb.cp/non-trivial-retval.cc: Add new test cases.
303 * gdb.cp/non-trivial-retval.exp: Add new tests.
305 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
309 * gdb.cp/non-trivial-retval.cc: New file.
310 * gdb.cp/non-trivial-retval.exp: New file.
312 2014-10-15 Yao Qi <yao@codesourcery.com>
314 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
317 2014-10-15 Yao Qi <yao@codesourcery.com>
319 * gdb.python/py-symbol.exp: Match file base name if host is
320 remote, otherwise match file name with dir name.
321 * gdb.python/py-symtab.exp: Likewise.
322 * gdb.python/python.exp: Likewise.
324 2014-10-15 Yao Qi <yao@codesourcery.com>
326 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
328 * gdb.python/py-symtab.exp: Likewise.
329 * gdb.python/python.exp: Remove trailing ".*". Fix typo
332 2014-10-14 Joel Brobecker <brobecker@adacore.com>
334 * gdb.ada/addr_arith: New testcase.
336 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
338 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
339 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
340 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
341 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
343 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
345 * gdb.arch/stap-eval-lang-ada.S: Likewise.
346 * gdb.arch/stap-eval-lang-ada.c: Likewise.
347 * gdb.arch/stap-eval-lang-ada.exp: New file.
349 2014-10-14 Yao Qi <yao@codesourcery.com>
351 * gdb.mi/mi-var-child.c (nothing1): New function.
352 (nothing2): New function.
353 (do_children_tests): Set function pointers by nothing1 and
355 * gdb.mi/mi-var-child.exp: Step over new added statements.
356 Update test to match the new output.
357 * gdb.mi/var-cmd.c (nothing1): New function.
358 (nothing2): New function.
359 (do_children_tests): Set function pointers by nothing1 and
361 * gdb.mi/mi-var-display.exp: Update test to match output.
362 Step to the line specified by $line_dct_nothing.
363 Increase the number of lines to step.
365 2014-10-14 Yao Qi <yao@codesourcery.com>
367 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
369 * gdb.mi/mi2-var-child.exp: Likewise.
371 2014-10-13 Doug Evans <dje@google.com>
373 * gdb.python/py-objfile.exp: Change name of file name test.
375 2014-10-13 Doug Evans <dje@google.com>
377 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
378 from the start of the CU.
380 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
381 Yao Qi <yao@codesourcery.com>
383 Fix "save breakpoints" for "catch" command.
384 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
385 Remove -nonewline. Match also the added "main" line.
387 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
389 Fix "save breakpoints" for "disable $bpnum" command.
390 * gdb.base/save-bp.c (main): Add label.
391 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
393 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
395 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
397 2014-10-11 Yao Qi <yao@codesourcery.com>
399 * gdb.server/server-kill.exp: Execute command
400 "set remote trace-status-packet on" before "tstatus".
402 2014-10-11 Yao Qi <yao@codesourcery.com>
404 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
405 (main): Call getppid.
406 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
407 and continue to it. Read variable "server_pid".
409 2014-10-11 Yao Qi <yao@codesourcery.com>
411 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
413 2014-10-11 Yao Qi <yao@codesourcery.com>
415 * gdb.threads/thread-find.exp: Don't execute command
417 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
418 * gdb.threads/linux-dp.exp: Don't check the condition
419 $threads_created equals to zero.
421 2014-10-10 Pedro Alves <palves@redhat.com>
423 * gdb.base/bigcore.exp: Remove references to IRIX.
424 * gdb.base/funcargs.exp: Likewise.
425 * gdb.base/interrupt.exp: Likewise.
426 * gdb.base/mips_pro.exp: Likewise.
427 * gdb.base/nodebug.exp: Likewise.
428 * gdb.base/setvar.exp: Likewise.
429 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
431 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
432 Pedro Alves <palves@redhat.com>
435 * gdb.base/vdso-warning.c: New file.
436 * gdb.base/vdso-warning.exp: New file.
438 2014-10-02 Doug Evans <dje@google.com>
440 * gdb.base/structs.c (main): Don't run forever.
442 2014-10-02 Pedro Alves <palves@redhat.com>
444 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
445 (top level) <stop threads 1, stop threads 2>: Use it.
447 2014-10-02 Pedro Alves <palves@redhat.com>
449 * gdb.threads/break-while-running.exp (test): Add new
450 'update_thread_list' argument. Skip "info threads" if false.
451 (top level): Add new 'update_thread_list' axis.
453 2014-10-02 Pedro Alves <palves@redhat.com>
456 * gdb.base/execl-update-breakpoints.c: New file.
457 * gdb.base/execl-update-breakpoints.exp: New file.
459 2014-10-01 Pedro Alves <palves@redhat.com>
461 * gdb.base/breakpoint-in-ro-region.c: New file.
462 * gdb.base/breakpoint-in-ro-region.exp: New file.
464 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
466 * gdb.mi/mi-exit-code.exp: New file.
467 * gdb.mi/mi-exit-code.c: New file.
469 2014-09-30 Yao Qi <yao@codesourcery.com>
471 * lib/prelink-support.exp (build_executable_own_libs): Error if
472 the target isn't native.
474 2014-09-30 Yao Qi <yao@codesourcery.com>
476 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
479 2014-09-22 Pedro Alves <palves@redhat.com>
481 * gdb.threads/break-while-running.exp: New file.
482 * gdb.threads/break-while-running.c: New file.
484 2014-09-19 Yao Qi <yao@codesourcery.com>
486 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
487 Invoke test. Restart GDB with --readnow and invoke test again.
489 2014-09-19 Yao Qi <yao@codesourcery.com>
491 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
492 proc set_breakpoint_on_gcd_function. Invoke
493 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
494 invoke set_breakpoint_on_gcd_function again.
496 2014-09-18 Doug Evans <dje@google.com>
498 * gdb.dwarf2/symtab-producer.exp: New file.
500 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
502 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
503 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
504 * gdb.base/global-var-nested-by-dso.c: Likewise.
505 * gdb.base/global-var-nested-by-dso.exp: Likewise.
507 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
508 Pedro Alves <palves@redhat.com>
510 * gdb.base/watch-bitfields.exp: Pass string other than test file
511 name to prepare_for_testing.
512 (watch): New procedure.
513 (expect_watchpoint): Use with_test_prefix.
514 (top level): Factor out tests to ...
515 (test_watch_location, test_regular_watch): ... these new
516 procedures, and use with_test_prefix and gdb_continue_to_end.
518 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
521 * gdb.base/watch-bitfields.exp: New file.
522 * gdb.base/watch-bitfields.c: New file.
524 2014-09-16 Pedro Alves <palves@redhat.com>
526 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
527 software and hardware addresses, not software address against
530 2014-09-16 Pedro Alves <palves@redhat.com>
532 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
533 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
535 2014-09-16 Pedro Alves <palves@redhat.com>
537 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
539 * gdb.base/a2-run.exp: Remove all code guarded by istarget
540 "*-*-vxworks*" throughout.
541 * gdb.base/break.exp: Likewise.
542 * gdb.base/default.exp: Likewise.
543 * gdb.base/scope.exp: Likewise.
544 * gdb.base/sepdebug.exp: Likewise.
545 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
547 * gdb.base/run.c: Likewise.
548 * gdb.base/sepdebug.c: Likewise.
549 * gdb.hp/gdb.aCC/run.c: Likewise.
550 * gdb.reverse/until-reverse.c: Likewise.
551 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
553 2014-09-16 Yao Qi <yao@codesourcery.com>
555 * boards/local-remote-host-native.exp: New file.
557 2014-09-14 Doug Evans <xdje42@gmail.com>
559 * gdb.threads/queue-signal.c (thread_count): New variable.
560 (thread_count_mutex, thread_count_condvar): New variables.
561 (incr_thread_count, wait_all_threads_running): New functions.
562 (main): Wait for all threads to be in their thread functions.
564 2014-09-13 Doug Evans <xdje42@gmail.com>
566 * gdb.threads/queue-signal.c: New file.
567 * gdb.threads/queue-signal.exp: New file.
569 2014-09-13 Doug Evans <xdje42@gmail.com>
571 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
572 be consistent with what default_gdb_init uses.
573 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
574 the plain text of the prompt. Add some logging printfs.
575 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
577 2014-09-12 Pedro Alves <palves@redhat.com>
579 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
580 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
581 * gdb.arch/i386-size-overlap.exp: Likewise.
582 * gdb.arch/i386-size.exp: Likewise.
583 * gdb.arch/i386-unwind.exp: Likewise.
584 * gdb.base/a2-run.exp: Likewise.
585 * gdb.base/break.exp: Likewise.
586 * gdb.base/charset.exp: Likewise.
587 * gdb.base/chng-syms.exp: Likewise.
588 * gdb.base/commands.exp: Likewise.
589 * gdb.base/dbx.exp: Likewise.
590 * gdb.base/find.exp: Likewise.
591 * gdb.base/funcargs.exp: Likewise.
592 * gdb.base/jit-simple.exp: Likewise.
593 * gdb.base/reread.exp: Likewise.
594 * gdb.base/sepdebug.exp: Likewise.
595 * gdb.base/step-bt.exp: Likewise.
596 * gdb.cp/mb-inline.exp: Likewise.
597 * gdb.cp/mb-templates.exp: Likewise.
598 * gdb.objc/basicclass.exp: Likewise.
599 * gdb.threads/killed.exp: Likewise.
601 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
604 * gdb.arch/powerpc-stackless.S: New file.
605 * gdb.arch/powerpc-stackless.exp: New file.
607 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
609 * gdb.base/attach.c: Include unistd.h.
610 (main): Call alarm. Add label postloop.
611 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
612 gdb_breakpoint, gdb_continue_to_breakpoint.
613 (test_command_line_attach_run): Kill ${testpid} in one exit path.
615 2014-09-11 Pedro Alves <palves@redhat.com>
618 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
619 * gdb.base/attach.exp (test_command_line_attach_run): New
621 (top level): Call it.
623 2014-09-11 Pedro Alves <palves@redhat.com>
625 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
626 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
627 (do_command_attach_tests): Use spawn_wait_for_attach.
628 * gdb.base/solib-overlap.exp: Likewise.
629 * gdb.multi/multi-attach.exp: Likewise.
630 * gdb.python/py-prompt.exp: Likewise.
631 * gdb.python/py-sync-interp.exp: Likewise.
632 * gdb.server/ext-attach.exp: Likewise.
634 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
636 * gdb.fortran/array-element.exp: Remove unexpected "continue"
637 command in testcase. Simplify testcase.
639 2014-09-10 Joel Brobecker <brobecker@adacore.com>
641 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
643 2014-09-10 Joel Brobecker <brobecker@adacore.com>
645 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
647 2014-09-10 Joel Brobecker <brobecker@adacore.com>
649 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
651 2014-09-10 Joel Brobecker <brobecker@adacore.com>
653 * gdb.dwarf2/dynarr-ptr.c: New file.
654 * gdb.dwarf2/dynarr-ptr.exp: New file.
656 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
658 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
659 of 30 rather than hardcoding 120 for a slow test case. Take the
660 `gdb,timeout' target setting into account for this calculation.
661 Don't extend the timeout for the test cases that don't need it.
663 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
665 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
666 a factor of 2 for a slow test case. Take the `gdb,timeout'
667 target setting into account for this calculation.
668 * gdb.reverse/until-precsave.exp: Increase the timeout by
669 a factor of 15 and 3 respectively rather than adding 120
670 for a pair of slow test cases. Take the `gdb,timeout'
671 target setting into account for this calculation.
673 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
675 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
676 timeout, don't pass one down to gdb_expect.
677 (gdb_expect): Rework timeout selection.
679 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
681 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
682 exception on timeout.
683 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
684 (gdbserver_start_extended): Catch any `gdbserver_start' error
686 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
687 * lib/mi-support.exp (mi_gdb_target_load): Catch any
688 `gdbserver_gdb_load' error exceptions.
690 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
692 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
693 120 on waiting for the TCP socket to open.
695 2014-09-09 Doug Evans <xdje42@gmail.com>
697 * gdb.base/default.exp (show_conv_list): Add _caller_is,
698 _caller_matches, _any_caller_is, _any_caller_matches.
700 2014-09-09 Doug Evans <xdje42@gmail.com>
702 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
704 2014-09-09 Yao Qi <yao@codesourcery.com>
706 * gdb.mi/mi-var-display.exp: Set print symbol off.
708 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
711 * gdb.base/commands.exp: Add tests to verify user-defined
712 commands with empty bodies.
713 * gdb.python/py-cmd.exp: Test that we don't show user-defined
714 python commands in `show user command`.
715 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
716 scheme commands in `show user command`.
718 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
721 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
722 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
723 * gdb.python/py-framefilter-invalidarg.exp: New file.
724 * gdb.python/py-framefilter-invalidarg.py: New file.
726 2014-09-06 Doug Evans <xdje42@gmail.com>
729 * gdb.python/py-caller-is.c: New file.
730 * gdb.python/py-caller-is.exp: New file.
732 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
735 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
736 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
738 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
741 * gdb.fortran/print-formatted.exp: New file.
742 * gdb.fortran/print-formatted.f90: Likewise.
744 2014-09-03 Sasha Smundak <asmundak@google.com>
746 * gdb.python/py-frame.exp: Test Frame.read_register.
748 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
751 * gdb.python/py-completion.exp: New file.
752 * gdb.python/py-completion.py: Likewise.
754 2014-08-28 Doug Evans <dje@google.com>
756 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
757 eax,etc. are live with values set by gdb and thus the compiler can't
759 * gdb.arch/i386-pseudo.c (main): Ditto.
761 2014-08-27 Doug Evans <dje@google.com>
763 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
765 2014-08-25 Doug Evans <dje@google.com>
767 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
770 2014-08-25 Doug Evans <dje@google.com>
772 * gdb.threads/thread-execl.exp: #include <stdio.h>.
774 2014-08-24 Yao Qi <yao@codesourcery.com>
776 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
778 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
780 2014-08-22 Doug Evans <dje@google.com>
783 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
784 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
785 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
787 2014-08-22 Yao Qi <yao@codesourcery.com>
789 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
790 * gdb.python/py-finish-breakpoint2.exp: Likewise.
791 * gdb.python/python.exp: Likewise. Use .py file on the host
792 instead of the build.
794 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
796 * gdb.threads/gcore-stale-thread.c: New file.
797 * gdb.threads/gcore-stale-thread.exp: New file.
799 2014-08-21 Pedro Alves <palves@redhat.com>
801 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
802 * gdb.base/gcore-relro-pie.exp: Likewise.
803 * gdb.base/gcore-relro.exp: Likewise.
804 * gdb.base/gcore.exp: Likewise.
805 * gdb.base/print-symbol-loading.exp: Likewise.
806 * gdb.threads/gcore-thread.exp: Likewise.
807 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
809 2014-08-20 Pedro Alves <palves@redhat.com>
810 Jan Kratochvil <jan.kratochvil@redhat.com>
812 * Makefile.in (EXTRA_RULES, CC): New variables, get from
814 (EXPECT): Handle READ1 being set.
815 (all): Depend on EXTRA_RULES.
816 (check-read1, expect-read1, read1.so, read1): New rules.
817 * README (Testsuite Parameters): Document the READ1 make variable.
818 (Race detection): New section.
819 * configure: Regenerate.
820 * configure.ac: If build==host==target, and running under a
821 GNU/glibc system, add read1 to the extra Makefile rules.
822 (EXTRA_RULES): AC_SUBST it.
823 * lib/read1.c: New file.
825 2014-08-20 Joel Brobecker <brobecker@adacore.com>
827 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
828 the handling of variables declared as a typedef to an array
829 which a DW_AT_data_location attribute.
831 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
832 Pedro Alves <palves@redhat.com>
836 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
839 2014-08-19 Pedro Alves <palves@redhat.com>
841 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
843 2014-08-19 Yao Qi <yao@codesourcery.com>
845 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
848 2014-08-18 David Blaikie <dblaikie@gmail.com>
850 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
852 2014-08-18 Joel Brobecker <brobecker@adacore.com>
854 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
855 attribute in array range.
857 2014-08-18 Joel Brobecker <brobecker@adacore.com>
859 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
861 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
864 * gdb.cp/pr17132.cc: New file.
865 * gdb.cp/pr17132.exp: New file.
867 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
869 * gdb.python/py-xmethods.py (A_getarrayind)
870 (E_method_char_worker.__call__, E_method_int_worker.__call__):
871 Use 'print' with function call syntax.
872 (E_method_matcher.match): Fix tab vs space indentation mixup.
874 2014-08-15 Yao Qi <yao@codesourcery.com>
876 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
879 2014-08-15 Yao Qi <yao@codesourcery.com>
881 * gdb.cp/casts.exp: Set print symbol off.
882 * gdb.cp/class2.exp: Likewise.
883 * gdb.cp/overload.exp: Likewise.
884 * gdb.cp/templates.exp: Likewise.
886 2014-08-11 Doug Evans <dje@google.com>
888 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
889 (test_load_shlib): Update.
891 2014-08-09 Yao Qi <yao@codesourcery.com>
893 * gdb.base/display.exp: Invoke is_address_zero_readable.
894 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
895 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
896 * gdb.base/hbreak-unmapped.exp: Return if
897 is_address_zero_readable returns true.
898 * gdb.base/signest.exp: Likewise.
899 * gdb.base/signull.exp: Likewise.
900 * gdb.base/sigbpt.exp: Likewise.
901 * gdb.guile/scm-disasm.exp: Do the test if
902 is_address_zero_readable returns false.
903 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
904 * gdb.python/py-arch.exp: Likewise.
905 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
906 * lib/gdb.exp (is_address_zero_readable): New proc.
908 2014-08-09 Yao Qi <yao@codesourcery.com>
911 * gdb.mi/mi-var-display.exp: Make test messages unique.
913 2014-08-04 Tom Tromey <tromey@redhat.com>
915 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
918 2014-08-04 Tom Tromey <tromey@redhat.com>
920 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
923 2014-08-01 Joel Brobecker <brobecker@adacore.com>
925 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
926 inner_vla_struct_object_size.
927 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
930 2014-07-30 Pedro Alves <palves@redhat.com>
932 * gdb.threads/signal-command-handle-nopass.exp (test): Add
935 2014-07-29 Yao Qi <yao@codesourcery.com>
938 * gdb.base/until-nodebug.exp: New.
940 2014-07-28 Doug Evans <xdje42@gmail.com>
943 * gdb.guile/scm-parameter.exp: Add tests for trying to create
944 previously existing parameter, and previously ambiguously spelled
947 2014-07-28 Will Newton <will.newton@linaro.org>
949 * gdb.base/varargs.exp: Remove KFAILs for ARM.
951 2014-07-26 Ludovic Courtès <ludo@gnu.org>
952 Doug Evans <xdje42@gmail.com>
955 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
957 2014-07-25 Pedro Alves <palves@redhat.com>
959 * gdb.threads/signal-command-handle-nopass.c: New file.
960 * gdb.threads/signal-command-handle-nopass.exp: New file.
961 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
962 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
963 * gdb.threads/signal-delivered-right-thread.c: New file.
964 * gdb.threads/signal-delivered-right-thread.exp: New file.
966 2014-07-25 Pedro Alves <palves@redhat.com>
968 * gdb.base/double-prompt-target-event-error.exp
969 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
971 (cancel_pagination_in_target_event): Rework double prompt
973 * gdb.base/paginate-after-ctrl-c-running.exp
974 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
976 * gdb.base/paginate-bg-execution.exp
977 (test_bg_execution_pagination_return)
978 (test_bg_execution_pagination_cancel): Remove '-notransfer
980 * gdb.base/paginate-execution-startup.exp
981 (test_fg_execution_pagination_return)
982 (test_fg_execution_pagination_cancel): Remove '-notransfer
984 * gdb.base/paginate-inferior-exit.exp
985 (test_paginate_inferior_exited): Remove '-notransfer <return>'
987 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
988 * lib/gdb.exp (pagination_prompt): Run text through
990 (gdb_test_multiple): Match $pagination_prompt instead of
992 (string_to_regexp): Move to lib/gdb-utils.exp.
994 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
996 * gdb.arch/amd64-entry-value-paramref.S: New file.
997 * gdb.arch/amd64-entry-value-paramref.cc: New file.
998 * gdb.arch/amd64-entry-value-paramref.exp: New file.
999 * gdb.arch/amd64-optimout-repeat.S: New file.
1000 * gdb.arch/amd64-optimout-repeat.c: New file.
1001 * gdb.arch/amd64-optimout-repeat.exp: New file.
1003 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1006 * gdb.base/statistics.exp: New file.
1008 2014-07-17 Doug Evans <dje@google.com>
1011 * gdb.base/maint.exp: Update testing of per-command stats.
1013 2014-07-16 Pedro Alves <palves@redhat.com>
1015 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
1016 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
1017 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
1018 (tfile_write_buf): New functions.
1019 (add_memory_block): Rewrite using the above.
1020 (adjust_function_address): New function.
1021 (FUNCTION_ADDRESS): New macro.
1022 (write_basic_trace_file): Remove short_x local, and use
1023 tfile_write_16. Change type of func_addr local to unsigned long
1024 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
1025 here. Cast argument of add_memory_block to char pointer.
1026 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
1027 (main): Remove parameters.
1028 * gdb.trace/tfile.exp: Remove nowarnings.
1030 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1032 * gdb.base/debug-expr.exp: Test string evaluation with
1033 "debug expression" on.
1035 2014-07-15 Pedro Alves <palves@redhat.com>
1037 * gdb.base/reread.exp: Use clean_restart.
1039 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1041 * gdb.arch/avr-flash-qualifer.c: New.
1042 * gdb.arch/avr-flash-qualifer.exp: New.
1044 2014-07-14 Pedro Alves <palves@redhat.com>
1046 * gdb.base/paginate-after-ctrl-c-running.c: New file.
1047 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1049 2014-07-14 Pedro Alves <palves@redhat.com>
1051 * gdb.base/double-prompt-target-event-error.c: New file.
1052 * gdb.base/double-prompt-target-event-error.exp: New file.
1054 2014-07-14 Pedro Alves <palves@redhat.com>
1057 * gdb.base/paginate-inferior-exit.c: New file.
1058 * gdb.base/paginate-inferior-exit.exp: New file.
1060 2014-07-14 Pedro Alves <palves@redhat.com>
1063 * gdb.base/paginate-bg-execution.c: New file.
1064 * gdb.base/paginate-bg-execution.exp: New file.
1066 2014-07-14 Pedro Alves <palves@redhat.com>
1069 * gdb.base/paginate-execution-startup.c: New file.
1070 * gdb.base/paginate-execution-startup.exp: New file.
1071 * lib/gdb.exp (pagination_prompt): New global.
1072 (default_gdb_spawn): New procedure, factored out from
1074 (default_gdb_start): Adjust to call default_gdb_spawn.
1075 (gdb_spawn): New procedure.
1077 2014-07-14 Pedro Alves <palves@redhat.com>
1079 * lib/gdb.exp (gdb_assert): New procedure.
1080 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
1082 2014-07-14 Pedro Alves <palves@redhat.com>
1084 * gdb.base/execution-termios.c: New file.
1085 * gdb.base/execution-termios.exp: New file.
1087 2014-07-14 Tom Tromey <tromey@redhat.com>
1089 * gdb.cp/vla-cxx.cc: New file.
1090 * gdb.cp/vla-cxx.exp: New file.
1092 2014-07-14 Tom Tromey <tromey@redhat.com>
1094 * gdb.reverse/rerun-prec.c: New file.
1095 * gdb.reverse/rerun-prec.exp: New file.
1097 2014-07-12 Maciej W. Rozycki <macro@mips.com>
1098 Maciej W. Rozycki <macro@codesourcery.com>
1100 * lib/gdb-utils.exp: New file.
1101 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
1102 inline `gdb_init_command' processing.
1103 (gdb_start_cmd): Likewise.
1104 * lib/mi-support.exp (mi_run_cmd): Likewise.
1105 * README: Document `gdb_init_command' and `gdb_init_commands'.
1107 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1109 Fix false FAIL running under a very long directory name.
1110 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1111 and "set print elements 10000". Twice.
1113 2014-07-11 Yao Qi <yao@codesourcery.com>
1115 * gdb.base/exprs.exp: "set print symbol off".
1117 2014-07-11 Pedro Alves <palves@redhat.com>
1119 * gdb.threads/kill.c: New file.
1120 * gdb.threads/kill.exp: New file.
1122 2014-07-10 Yao Qi <yao@codesourcery.com>
1124 * gdb.trace/tfile.c (write_basic_trace_file)
1125 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1126 address written to trace file.
1128 2014-07-09 Pedro Alves <palves@redhat.com>
1130 * gdb.base/attach-wait-input.exp: New file.
1131 * gdb.base/attach-wait-input.c: New file.
1133 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1135 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1136 setting up test structures.
1137 (main): Call new test function.
1138 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1139 test function, continue into test function and walk test
1142 2014-07-02 Yao Qi <yao@codesourcery.com>
1144 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1145 'bar_start' at the beginning of functions 'foo' and 'bar'
1147 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1148 instead of 'foo' and 'bar'.
1150 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1152 * gdb.btrace/segv.exp: New.
1153 * gdb.btrace/segv.c: New.
1155 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
1157 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1160 2014-06-30 Mark Wielaard <mjw@redhat.com>
1162 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1163 vulture, vilify, villar): New volatile array constants.
1164 (vindictive, vegetation): New const volatile array constants.
1165 * gdb.base/volatile.exp: Test volatile and const volatile array
1168 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1170 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1171 target lacks support for awatch, rwatch, or hbreak.
1173 2014-06-27 Yao Qi <yao@codesourcery.com>
1175 * gdb.multi/dummy-frame-restore.exp: New.
1176 * gdb.multi/dummy-frame-restore.c: New.
1178 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1180 * gdb.btrace/gcore.exp: New.
1182 2014-06-23 Pedro Alves <palves@redhat.com>
1184 * gdb.base/watchpoint-reuse-slot.c: New file.
1185 * gdb.base/watchpoint-reuse-slot.exp: New file.
1187 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1189 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1190 progspace's filename in 'info', 'enable' and 'disable' command
1193 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1195 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1196 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1197 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1199 2014-06-20 Gary Benson <gbenson@redhat.com>
1201 * gdb.arch/i386-avx.exp: Fix include file location.
1202 * gdb.arch/i386-sse.exp: Likewise.
1204 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1206 * gdb.dlang/expression.exp: New file.
1208 2014-06-19 Pedro Alves <palves@redhat.com>
1210 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1212 (top level): ... here. Iterate running tests under different
1213 scheduler-locking settings.
1215 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
1217 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1218 to DW_FORM_addr and use non-zero addresses.
1220 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1223 * gdb.python/py-xmethods.cc: Add global function call counters and
1224 increment them in their respective functions. Remove "cout"
1226 * gdb.python/py-xmethods.exp: Make tests check the global function
1227 call counters instead of depending on inferior IO.
1229 2014-06-18 Don Breazeal <donb@codesourcery.com>
1231 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1233 (explicit_fork_parent_follow): Deleted procedure.
1234 (explicit_fork_child_follow): Deleted procedure.
1235 (test_follow_fork): New procedure.
1236 (do_fork_tests): Replace calls to deleted procedures with
1237 calls to test_follow_fork and reset GDB for subsequent
1240 2014-06-17 Yao Qi <yao@codesourcery.com>
1242 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1245 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
1247 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1248 Initialize ptr and S explicitly.
1249 (skip_type_update_when_not_use_rtti_test): Likewise.
1251 2014-06-16 Keith Seitz <keiths@redhat.com>
1254 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1255 the inferior is started.
1257 2014-06-16 Pedro Alves <palves@redhat.com>
1259 * gdb.base/break-main-file-remove-fail.c: New file.
1260 * gdb.base/break-main-file-remove-fail.exp: New file.
1261 * gdb.base/break-unload-file.exp: Use build_executable instead of
1262 prepare_for_testing.
1263 (test_break): New parameter "initial_load". Handle it.
1264 (top level): Add initial_load cmdline/file axis.
1266 2014-06-12 Tom Tromey <tromey@redhat.com>
1268 * gdb.base/completion.exp: Don't use directory name in test.
1270 2014-06-09 Gary Benson <gbenson@redhat.com>
1272 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1273 separate the always-available ANSI-standard signals from the
1274 signals that require checking.
1276 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1280 2014-06-07 Keith Seitz <keiths@redhat.com>
1284 * gdb.cp/var-tag.cc: New file.
1285 * gdb.cp/var-tag.exp: New file.
1286 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1287 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1288 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1289 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1291 2014-06-06 Doug Evans <xdje42@gmail.com>
1293 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1295 2014-06-06 Pedro Alves <palves@redhat.com>
1297 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1298 in target debug output instead of looking at RSP packets,
1299 disabling the test on any target that uses hardware stepping.
1302 2014-06-06 Pedro Alves <palves@redhat.com>
1304 * gdb.base/break-unload-file.exp: Fix typo.
1306 2014-06-06 Yao Qi <yao@codesourcery.com>
1308 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1309 from "jit_function" to "^jit_function".
1311 2014-06-06 Yao Qi <yao@codesourcery.com>
1313 * gdb.base/async.c (foo): Add one statement.
1314 * gdb.base/async.exp: Get the next instruction address and
1315 match the output of "nexti" by instruction address. Match
1316 the hex address in the output of "finish".
1318 2014-06-06 Gary Benson <gbenson@redhat.com>
1320 * gdb.base/call-signals.c: Remove preprocessor conditionals
1321 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1322 SIGSEGV and SIGTERM.
1323 * gdb.base/sigall.c: Likewise.
1324 * gdb.base/unwindonsignal.c: Likewise.
1325 * gdb.reverse/sigall-reverse.c: Likewise.
1327 2014-06-06 Yao Qi <yao@codesourcery.com>
1329 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1330 readable, skip the test.
1332 2014-06-06 Yao Qi <yao@codesourcery.com>
1334 * gdb.threads/staticthreads.c (thread_function): Move the line
1335 setting breakpoint on forward.
1336 * gdb.threads/staticthreads.exp: Update comments.
1338 2014-06-05 Ludovic Courtès <ludo@gnu.org>
1340 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1341 "history-append! type error".
1343 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1345 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1346 erroneous dprintf expected input.
1348 2014-06-04 Doug Evans <xdje42@gmail.com>
1350 * gdb.guile/scm-generics.exp: Delete.
1352 2014-06-04 Doug Evans <xdje42@gmail.com>
1354 * gdb.guile/scm-breakpoint.exp: Update.
1355 Add tests for breakpoint registration.
1357 2014-06-04 Tom Tromey <tromey@redhat.com>
1359 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1361 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1362 inner_vla_struct, vla_union types. Initialize objects of those
1363 types and compute their sizes.
1365 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1366 Hui Zhu <hui@codesourcery.com>
1368 * gdb.base/fileio.exp: Add test for shell not available as well as
1370 * gdb.base/fileio.c (test_system): Check for shell twice.
1372 2014-06-04 Yao Qi <yao@codesourcery.com>
1374 * gdb.base/auto-connect-native-target.exp: Remove redundant
1375 space from the regexp pattern.
1377 2014-06-04 Yao Qi <yao@codesourcery.com>
1379 * gdb.base/default.exp: Replace "child" with "native" in
1382 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1384 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1385 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1386 * gdb.python/py-xmethods.py: Python script supporting the
1387 new testcase and tests.
1389 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1390 Pedro Alves <palves@redhat.com>
1392 PR breakpoints/17000
1393 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1394 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1396 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1398 * gdb.base/subst.exp: Add tests to verify partial path matching
1401 2014-06-03 Pedro Alves <palves@redhat.com>
1403 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1404 target that doesn't use software single-stepping.
1406 2014-06-03 Pedro Alves <palves@redhat.com>
1408 PR breakpoints/17000
1409 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1410 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1412 2014-06-02 Doug Evans <xdje42@gmail.com>
1414 * gdb.guile/scm-parameter.exp: New file.
1416 2014-06-02 Doug Evans <xdje42@gmail.com>
1418 * gdb.guile/scm-cmd.c: New file.
1419 * gdb.guile/scm-cmd.exp: New file.
1421 2014-06-02 Doug Evans <xdje42@gmail.com>
1423 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1424 pretty-printer lookup.
1425 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1426 (make-pp_s-printer): Call it.
1427 (make-pretty-printer-from-dict): New function.
1428 (lookup-pretty-printer-maker-from-dict): New function.
1429 (*pretty-printer*): Simplify.
1430 (make-objfile-pp_s-printer): New function.
1431 (install-objfile-pretty-printers!): New function.
1432 (make-progspace-pp_s-printer): New function.
1433 (install-progspace-pretty-printers!): New function.
1434 * gdb.guile/scm-progspace.c: New file.
1435 * gdb.guile/scm-progspace.exp: New file.
1437 2014-06-02 Pedro Alves <palves@redhat.com>
1439 * gdb.base/dprintf-bp-same-addr.c: New file.
1440 * gdb.base/dprintf-bp-same-addr.exp: New file.
1442 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1444 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1445 * gdb.arch/powerpc-power.s: Likewise.
1447 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1449 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1451 2014-06-01 Yao Qi <yao@codesourcery.com>
1453 * gdb.base/watchpoint.exp (test_watch_location): Check null
1454 pointer can be dereferenced. If not, do the test, otherwise
1457 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1459 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1461 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1463 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1465 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1466 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1467 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1468 * gdb.arch/amd64-invalid-stack-top.c: New file.
1469 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1471 2014-05-30 Pedro Alves <palves@redhat.com>
1473 PR breakpoints/17000
1474 * gdb.base/sss-bp-on-user-bp.c: New file.
1475 * gdb.base/sss-bp-on-user-bp.exp: New file.
1477 2014-05-30 David Blaikie <dblaikie@gmail.com>
1479 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1480 gnu_inline semantics via attribute.
1481 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1482 source explicitly specifies the required semantics.
1484 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1486 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1488 2014-05-29 Pedro Alves <palves@redhat.com>
1489 Tom Tromey <tromey@redhat.com>
1491 * gdb.base/async-shell.exp: Don't enable target-async.
1492 * gdb.base/async.exp
1493 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1495 (top level): Don't test with "target-async".
1496 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1497 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1498 * gdb.base/inferior-died.exp: Don't enable target-async.
1499 * gdb.base/interrupt-noterm.exp: Likewise.
1500 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1501 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1502 * gdb.mi/mi-nonstop.exp: Likewise.
1503 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1504 * gdb.mi/mi-nsintrall.exp: Likewise.
1505 * gdb.mi/mi-nsmoribund.exp: Likewise.
1506 * gdb.mi/mi-nsthrexec.exp: Likewise.
1507 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1508 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1509 * gdb.python/py-evsignal.exp: Don't enable target-async.
1510 * gdb.python/py-evthreads.exp: Likewise.
1511 * gdb.python/py-prompt.exp: Likewise.
1512 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1513 * gdb.server/solib-list.exp: Don't enable target-async.
1514 * gdb.threads/thread-specific-bp.exp: Likewise.
1515 * lib/mi-support.exp: Adjust to use mi-async.
1517 2014-05-29 Pedro Alves <palves@redhat.com>
1520 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1521 reason, even in sync mode.
1523 2014-05-29 Pedro Alves <palves@redhat.com>
1524 Hui Zhu <hui@codesourcery.com>
1527 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1528 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1529 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1530 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1532 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1534 * config/monitor.exp (gdb_target_monitor): Replace use of
1535 "set remotebaud" by "set serial baud".
1537 2014-05-26 Andy Wingo <wingo@igalia.com>
1539 * gdb.guile/scm-breakpoint.exp:
1540 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1541 properties instead of gdb-object-properties.
1543 2014-05-26 Yao Qi <yao@codesourcery.com>
1545 * gdb.server/no-thread-db.exp: Specify source file name
1546 explicitly when setting a breakpoint.
1548 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1550 * gdb.btrace/vdso.c: New.
1551 * gdb.btrace/vdso.exp: New.
1553 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1555 * gdb.base/gcore.exp (capture_command_output): Move ...
1556 * lib/gdb.exp (capture_command_output): ... here.
1558 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1560 * gdb.btrace/data.exp: Test memory access during btrace replay.
1562 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1564 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1566 2014-05-21 Pedro Alves <palves@redhat.com>
1569 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1570 (top level): Test that output related to execution commands is
1571 sent to the console with CLI commands, but not with MI commands.
1572 Test that breakpoint events are always mirrored to the console.
1573 Also expect the new source line to be output after a "next" in
1574 async mode too. Make it a pass/fail test.
1575 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1577 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1579 2014-05-21 Pedro Alves <palves@redhat.com>
1581 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1582 Use them to test variations of "list" after reaching a breakpoint.
1583 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1584 Test "list" with listsize 10 after reaching a breakpoint.
1585 * gdb.python/python.exp (decode_line current location line
1586 number): Adjust expected line number.
1588 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1590 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1591 behavior for $args, pass it directly to "run".
1593 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1595 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1598 2014-05-21 Pedro Alves <palves@redhat.com>
1600 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1601 auto-connect-native-target off".
1602 * gdb.base/auto-connect-native-target.c: New file.
1603 * gdb.base/auto-connect-native-target.exp: New file.
1605 2014-05-21 Pedro Alves <palves@redhat.com>
1607 * gdb.base/default.exp: Test "target native" instead of "target
1610 2014-05-21 Mark Wielaard <mjw@redhat.com>
1612 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1614 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1616 Fix TLS access for -static -pthread.
1617 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1618 <HAVE_TLS> (thread_function, main): Initialize it.
1619 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1621 <$have_tls != "">: Check TLSVAR.
1623 2014-05-21 Pedro Alves <palves@redhat.com>
1625 * gdb.base/dcache-line-read-error.c: New.
1626 * gdb.base/dcache-line-read-error.exp: New.
1628 2014-05-20 Pedro Alves <palves@redhat.com>
1630 * gdb.base/compare-sections.c: New file.
1631 * gdb.base/compare-sections.exp: New file.
1633 2014-05-20 Pedro Alves <palves@redhat.com>
1635 * gdb.base/break-idempotent.c: New file.
1636 * gdb.base/break-idempotent.exp: New file.
1638 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1640 * gdb.btrace/nohist.exp: New.
1642 2014-05-20 Yao Qi <yao@codesourcery.com>
1644 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1645 gdb.reverse directory and gdb_reverse_timeout exists in board
1647 * README: Document gdb_reverse_timeout.
1649 2014-05-20 Yao Qi <yao@codesourcery.com>
1651 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1652 'test_file_name'. Treat args as a string instead of a list.
1653 (gdb_init): Rename argument 'args' by 'test_file_name'.
1655 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1657 * gdb.arch/powerpc-power.exp: New file.
1658 * gdb.arch/powerpc-power.s: New file.
1660 2014-05-16 Doug Evans <dje@google.com>
1662 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
1663 * gdb.base/completion.exp: Check that all expected files exist
1664 before doing file completion.
1666 2014-05-16 Doug Evans <dje@google.com>
1668 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1670 (do_syscall_tests_without_xml): Update.
1672 2014-05-16 Pedro Alves <palves@redhat.com>
1674 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1675 instead of "unknown output after running".
1677 2014-05-16 Yao Qi <yao@codesourcery.com>
1679 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1680 file1.txt from host at the end.
1681 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1683 2014-05-15 Doug Evans <dje@google.com>
1685 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1686 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1687 loading file. Add test for TU lookup.
1689 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1691 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1692 calling "-exec-arguments" or "set args" before running the
1695 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1697 * lib/mi-support.exp (mi_expect_stop): Expect message for
1698 inferiors that exit with non-zero exit code.
1700 2014-05-14 Yao Qi <yao@codesourcery.com>
1702 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1703 match absolute path on remote host.
1704 (test_file_list_exec_source_files): Remove "/" from the
1707 2014-05-14 Yao Qi <yao@codesourcery.com>
1709 * boards/local-remote-host-notty.exp (${board}_file): New
1712 2014-05-07 Kyle McMartin <kyle@redhat.com>
1714 Pushed by Joel Brobecker <brobecker@adacore.com>.
1715 * gdb.arch/aarch64-atomic-inst.c: New file.
1716 * gdb.arch/aarch64-atomic-inst.exp: New file.
1718 2014-05-07 Yao Qi <yao@codesourcery.com>
1720 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1721 in current context" too.
1723 2014-05-05 Keith Seitz <keiths@redhat.com>
1725 * gdb.linespec/ls-dollar.exp: Add test for linespec
1726 file:convenience_variable.
1728 2014-05-05 Yao Qi <yao@codesourcery.com>
1730 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
1731 traceframes into tfile and ctf trace files. Read data from
1732 trace file and test collected data.
1733 (gdb_collect_locals_test): Likewise.
1734 (gdb_unavailable_registers_test): Likewise.
1735 (gdb_unavailable_floats): Likewise.
1736 (gdb_collect_globals_test): Likewise.
1737 (top-level): Append "ctf" to trace_file_targets if GDB
1740 2014-05-05 Yao Qi <yao@codesourcery.com>
1742 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
1744 (gdb_collect_args_test_1): ... it. New proc.
1745 (gdb_collect_locals_test): Move some code to ...
1746 (gdb_collect_locals_test_1): ... it. New proc.
1747 (gdb_unavailable_registers_test): Move some code to ...
1748 (gdb_unavailable_registers_test_1): ... it. New proc.
1749 (gdb_unavailable_floats): Move some code to ...
1750 (gdb_unavailable_floats_1): ... it. New proc.
1752 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1754 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
1755 probes to test for bitness recognition.
1756 * gdb.arch/amd64-stap-optional-prefix.exp
1757 (test_probe_value_without_reg): New procedure.
1758 Add code to test for different kinds of bitness.
1760 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1762 PR breakpoints/16889
1763 * gdb.arch/amd64-stap-optional-prefix.S: New file.
1764 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1766 2014-05-01 Pedro Alves <palves@redhat.com>
1768 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
1769 gdb_file_cmd if no file is specified.
1770 * boards/native-extended-gdbserver.exp (gdb_load): Use the
1771 last_loaded_file to set the remote exec-file.
1773 2014-05-01 Pedro Alves <palves@redhat.com>
1775 * boards/local-remote-host.exp: New file.
1777 2014-05-01 Pedro Alves <palves@redhat.com>
1779 * boards/local-remote-host.exp: Rename to ...
1780 * boards/local-remote-host-notty.exp: ... this.
1782 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1784 * gdb.ada/dyn_arrayidx: New testcase.
1786 2014-04-26 Yao Qi <yao@codesourcery.com>
1788 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
1789 and compute the length of function main. Save it in
1791 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
1792 (top-level): Use gdb_compile to compile objects into
1793 executable and restart GDB. Remove invocation to
1794 prepare_for_testing.
1796 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
1797 Pedro Alves <palves@redhat.com>
1800 * gdb.multi/multi-attach.c: New file.
1801 * gdb.multi/multi-attach.exp: New file.
1803 2014-04-25 Pedro Alves <palves@redhat.com>
1805 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
1807 (top level): Test that "set remote conditional-breakpoints-packet
1808 off" works as intended.
1809 * gdb.base/dprintf.exp: Test that "set remote
1810 breakpoint-commands-packet off" works as intended.
1811 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
1813 (top level): Call it.
1814 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
1815 remote fast-tracepoints-packet off" works as intended.
1816 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
1817 * lib/gdb.exp (gdb_is_target_remote): ... here.
1819 2014-04-24 David Blaikie <dblaikie@gmail.com>
1821 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
1822 ensure clang would not discard them.
1823 * gdb.base/gdbvars.c: Ditto.
1824 * gdb.base/memattr.c: Ditto.
1825 * gdb.base/whatis.c: Ditto.
1826 * gdb.python/py-prettyprint.c: Ditto.
1827 * gdb.trace/actions.c: Ditto.
1828 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
1829 ensure clang would not discard it.
1831 2014-04-24 David Blaikie <dblaikie@gmail.com>
1833 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1834 clang to emit the full definition of type required by the test
1835 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1837 2014-04-24 David Blaikie <dblaikie@gmail.com>
1839 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1840 coax Clang into emitting the definition of the type.
1841 * gdb.cp/pr10728-x.h (y): Ditto.
1842 * gdb.cp/pr10728-y.cc (y): Ditto.
1844 2014-04-24 David Blaikie <dblaikie@gmail.com>
1846 * gdb.base/label.exp: XFAIL label related tests under Clang.
1847 * gdb.cp/cplabel.exp: Ditto.
1848 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
1849 under Clang those using labels.
1851 2014-04-25 Yao Qi <yao@codesourcery.com>
1853 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
1855 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
1856 partial_label and double_label.
1858 2014-04-24 David Blaikie <dblaikie@gmail.com>
1860 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
1862 2014-04-24 David Blaikie <dblaikie@gmail.com>
1864 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
1865 of the function to work across GCC and Clang.
1866 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
1867 pointer types (const void ** const V void **).
1869 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
1870 Walfred Tedeschi <walfred.tedeschi@intel.com>
1872 * Makefile.in (EXECUTABLES): Added i386-avx512.
1873 * gdb.arch/i386-avx512.c: New file.
1874 * gdb.arch/i386-avx512.exp: Likewise.
1876 2014-04-23 Keith Seitz <keiths@redhat.com>
1878 * lib/mi-support.exp (mi_list_breakpoints): Delete.
1879 (mi_make_breakpoint_table): New procedure.
1880 (mi_create_breakpoint): Use mi_make_breakpoint
1881 and return the result.
1882 (mi_make_breakpoint): New procedure.
1883 (mi_build_kv_pairs): New procedure.
1885 * gdb.mi/mi-break.exp: Remove unused globals,
1886 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
1887 All callers updated.
1888 * gdb.mi/mi-dprintf.exp: Use variable to track command
1890 Update all callers of mi_create_breakpoint and use
1891 mi_make_breakpoint_table.
1892 Remove any unused global variables.
1893 * gdb.mi/mi-nonstop.exp: Likewise.
1894 * gdb.mi/mi-nsintrall.exp: Likewise.
1895 * gdb.mi/mi-nsmoribund.exp: Likewise.
1896 * gdb.mi/mi-nsthrexec.exp: Likewise.
1897 * gdb.mi/mi-reverse.exp: Likewise.
1898 * gdb.mi/mi-simplerun.exp: Likewise.
1899 * gdb.mi/mi-stepn.exp: Likewise.
1900 * gdb.mi/mi-syn-frame.exp: Likewise.
1901 * gdb.mi/mi-until.exp: Likewise.
1902 * gdb.mi/mi-var-cp.exp: Likewise.
1903 * gdb.mi/mi-var-display.exp: Likewise.
1904 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1905 * gdb.mi/mi2-var-child.exp: Likewise.
1906 * gdb.mi/mi-vla-c99.exp: Likewise.
1907 * lib/mi-support.exp: Likewise.
1909 From Ian Lance Taylor <iant@cygnus.com>:
1910 * lib/gdb.exp (parse_args): New procedure.
1912 2014-04-23 Pedro Alves <palves@redhat.com>
1914 * gdb.base/break-unload-file.c: New file.
1915 * gdb.base/break-unload-file.exp: New file.
1916 * gdb.base/sym-file-lib.c (baz): New function.
1917 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
1919 (load): Store the segment's mapped size.
1920 (unload): New function.
1921 (unload_shlib): New function.
1922 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
1923 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
1924 set a breakpoint at baz, and call it.
1925 * gdb.base/sym-file.exp: New tests for stale breakpoint
1928 2014-04-23 Pedro Alves <palves@redhat.com>
1930 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
1931 * gdb.base/hbreak-in-shr-unsupported.c: New file.
1932 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
1933 * gdb.base/hbreak-unmapped.c: New file.
1934 * gdb.base/hbreak-unmapped.exp: New file.
1935 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
1936 * lib/gdb.exp (gdb_is_target_remote): ... here.
1938 2014-04-22 Pedro Alves <palves@redhat.com>
1940 * gdb.base/consecutive-step-over.c: New file.
1941 * gdb.base/consecutive-step-over.exp: New file.
1943 2014-04-22 Pedro Alves <palves@redhat.com>
1945 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
1946 instead of send_gdb/gdb_expect.
1948 2014-04-22 Yao Qi <yao@codesourcery.com>
1950 * lib/trace-support.exp (generate_tracefile): New procedure.
1951 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
1953 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
1954 if generate_tracefile returns 1.
1956 2014-04-18 Tom Tromey <palves@redhat.com>
1957 Pedro alves <tromey@redhat.com>
1960 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
1961 with a backtrace limit.
1962 * gdb.python/py-frame-inline.exp: Test running to an inline
1963 function with a backtrace limit, and printing the newest frame.
1964 * gdb.python/py-frame-inline.c (main): Call f.
1966 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1968 * gdb.java/jnpe.exp: Drop srcdir from untested path.
1970 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1972 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
1973 Drop prefix from unsupported source file path.
1975 2014-04-17 Yao Qi <yao@codesourcery.com>
1977 * lib/gdb.exp (with_target_charset): New proc.
1978 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
1979 with_target_charset.
1980 (test_print_strings): Likewise.
1981 (test_repeat_bytes): Likewise.
1982 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
1985 2014-04-16 Keith Seitz <keiths@redhat.com>
1988 * gdb.dwarf2/corrupt.c: New file.
1989 * gdb.dwarf2/corrupt.exp: New file.
1991 2014-04-16 Keith Seitz <keiths@redhat.com>
1994 * gdb.cp/namelessclass.cc: New file.
1995 * gdb.cp/namelessclass.exp: New file.
1996 * gdb.cp/namelessclass.S: New file.
1998 2014-04-16 Doug Evans <dje@google.com>
2000 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
2002 (gdbserver_default_get_comm_port): New function.
2003 (gdbserver_start): Check if board file provided
2004 "gdbserver,get_comm_port" and use it if so.
2005 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
2006 (gdb,socketport): Set to "stdio".
2007 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
2008 (stdio_gdbserver_template): Delete.
2009 (${board}_get_remote_address): Update.
2010 (${board}_build_remote_cmd): Delete.
2011 (${board}_get_comm_port): New function.
2012 (${board}_spawn): Update.
2013 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
2015 (${board}_get_remote_address): Update.
2016 (${board}_get_comm_port): New function.
2018 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
2020 * gdb.base/memattr.exp: Improve regexps to handle memory regions
2021 appearing in any order.
2023 2014-04-15 Doug Evans <dje@google.com>
2025 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
2026 uninitialized value of "description".
2028 2014-04-15 Keith Seitz <keiths@redhat.com>
2030 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
2031 Remove unused globals.
2032 (test_running_the_program): Likewise.
2033 (test_controlled_execution): Likewise.
2034 (test_controlling_breakpoints): Likewise.
2035 (test_program_termination): Likewise.
2037 2014-04-15 Keith Seitz <keiths@redhat.com>
2039 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
2041 (test_rbreak_creation_and_listing): Likewise.
2042 (test_ignore_count): Likewise.
2043 (test_error): Likewise.
2045 2014-04-15 Pedro Alves <palves@redhat.com>
2047 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2048 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2050 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2051 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2052 to sym-file-loader.c.
2053 (struct library): Forward declare.
2054 (load_shlib, lookup_function): Change prototypes.
2055 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2056 (translate_offset): Remove declarations.
2057 (get_text_addr): New declaration.
2058 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2059 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2061 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2062 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2063 here from sym-file-loader.h.
2064 (struct library): New structure.
2065 (load_shlib, lookup_function): Change prototypes and adjust to
2066 work with a struct library.
2067 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2068 (translate_offset): Make static.
2069 (get_text_addr): New function.
2070 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
2072 2014-04-15 Pedro Alves <palves@redhat.com>
2074 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
2076 2014-04-15 Pedro Alves <palves@redhat.com>
2078 * gdb.base/sym-file-loader.c: Include <limits.h>.
2079 (SELF_LINK): New define.
2080 (get_origin): New function.
2081 (load_shlib): Use it.
2082 * gdb.base/sym-file.exp: Don't early return if the target is
2083 remote. Use runto_main, and issue fail is that fails. Use
2085 (shlib_name): Delete.
2086 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
2088 2014-04-15 Pedro Alves <palves@redhat.com>
2090 * gdb.base/sym-file.exp: Remove regex characters from test
2091 message. Don't refer to breakpoint numbers in test messages.
2093 2014-04-14 Keith Seitz <keiths@redhat.com>
2096 * gdb.cp/var-tag.cc: New file.
2097 * gdb.cp/var-tag.exp: New file.
2098 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2099 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2100 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2101 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2103 2014-04-14 Tom Tromey <tromey@redhat.com>
2105 * gdb.cp/classes.exp (test_enums): Handle underlying type.
2106 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
2108 * gdb.cp/enum-class.exp: New file.
2109 * gdb.cp/enum-class.cc: New file.
2111 2014-04-14 Tom Tromey <tromey@redhat.com>
2113 * gdb.dwarf2/enum-type.exp: New file.
2115 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2117 * gdb.mi/mi-vla-c99.exp: New file.
2118 * gdb.mi/vla.c: New file.
2120 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2122 * gdb.base/vla-datatypes.c: New file.
2123 * gdb.base/vla-datatypes.exp: New file.
2125 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2127 * gdb.base/vla-ptr.c: New file.
2128 * gdb.base/vla-ptr.exp: New file.
2130 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2132 * gdb.dwarf2/count.exp: New file.
2134 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2136 * gdb.base/vla-sideeffect.c: New file.
2137 * gdb.base/vla-sideeffect.exp: New file.
2139 2014-04-14 David Blaikie <dblaikie@gmail.com>
2141 * gdb.mi/non-stop.c: Add return value for non-void function return
2143 * gdb.threads/staticthreads.c: Ditto.
2145 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2146 Doug Evans <xdje42@gmail.com>
2148 * gdb.guile/scm-value.c: Improve test case.
2149 * gdb.guile/scm-value.exp: Add new test.
2151 2014-04-11 David Blaikie <dblaikie@gmail.com>
2153 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2154 override Clang's default.
2156 2014-04-11 Joel Brobecker <brobecker@adacore.com>
2158 Revert the following changes (regressions):
2160 * gdb.base/vla-sideeffect.c: New file.
2161 * gdb.base/vla-sideeffect.exp: New file.
2163 * gdb.dwarf2/count.exp: New file.
2165 * gdb.base/vla-multi.c: New file.
2166 * gdb.base/vla-multi.exp: New file.
2168 * gdb.base/vla-ptr.c: New file.
2169 * gdb.base/vla-ptr.exp: New file.
2171 * gdb.base/vla-datatypes.c: New file.
2172 * gdb.base/vla-datatypes.exp: New file.
2174 * gdb.mi/mi-vla-c99.exp: New file.
2175 * gdb.mi/vla.c: New file.
2177 2014-04-11 Keith Seitz <keiths@redhat.com>
2180 * gdb.cp/cpsizeof.exp: New file.
2181 * gdb.cp/cpsizeof.cc: New file.
2183 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2185 * gdb.mi/mi-vla-c99.exp: New file.
2186 * gdb.mi/vla.c: New file.
2188 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2190 * gdb.base/vla-datatypes.c: New file.
2191 * gdb.base/vla-datatypes.exp: New file.
2193 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2195 * gdb.base/vla-ptr.c: New file.
2196 * gdb.base/vla-ptr.exp: New file.
2198 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2200 * gdb.base/vla-multi.c: New file.
2201 * gdb.base/vla-multi.exp: New file.
2203 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2205 * gdb.dwarf2/count.exp: New file.
2207 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2209 * gdb.base/vla-sideeffect.c: New file.
2210 * gdb.base/vla-sideeffect.exp: New file.
2212 2014-04-11 Yao Qi <yao@codesourcery.com>
2214 * gdb.base/completion.exp: Check file exists before running tests
2217 2014-04-10 Pedro Alves <palves@redhat.com>
2219 * gdb.base/cond-eval-mode.c: New file.
2220 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2221 prepare_for_testing to build the new file. Check result of
2223 (test_break, test_watch): New procedures.
2224 (top level): Use them.
2226 2014-04-08 Pierre Muller <muller@sourceware.org>
2228 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2229 Ctrl-V use for mingw hosts.
2231 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2233 * gdb.python/py-value.c: Improve test case.
2234 * gdb.python/py-value.exp: Add new test.
2236 2014-04-07 David Blaikie <dblaikie@gmail.com>
2238 * lib/compiler.c: Identify the clang compiler.
2239 * lib/compiler.cc: Ditto.
2241 2014-04-03 Yao Qi <yao@codesourcery.com>
2243 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2245 2014-04-01 Anton Blanchard <anton@samba.org>
2247 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2250 2014-04-01 Anton Blanchard <anton@samba.org>
2252 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2253 prepare_for_testing.
2255 2014-04-01 Anton Blanchard <anton@samba.org>
2257 * gdb.arch/ppc64-atomic-inst.c: Remove.
2258 * gdb.arch/ppc64-atomic-inst.S: New file.
2259 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2261 2014-03-31 Doug Evans <dje@google.com>
2263 * gdb.base/print-symbol-loading-lib.c: New file.
2264 * gdb.base/print-symbol-loading-main.c: New file.
2265 * gdb.base/print-symbol-loading.exp: New file.
2267 2014-03-31 Yao Qi <yao@codesourcery.com>
2269 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2271 2014-03-28 Joel Brobecker <brobecker@adacore.com>
2273 * gdb.ada/mi_dyn_arr: New testcase.
2275 2014-03-27 Doug Evans <dje@google.com>
2277 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2279 2014-03-27 Yao Qi <yao@codesourcery.com>
2281 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2282 if target is nios2-*-*.
2284 2014-03-26 Yao Qi <yao@codesourcery.com>
2286 * lib/gdb.exp (readline_is_used): New proc.
2287 * gdb.base/completion.exp: Move tests on command complete up.
2288 Skip the rest of tests if readline is not used.
2289 * gdb.ada/complete.exp: Skp the test if readline is not
2291 * gdb.base/filesym.exp: Likewise.
2292 * gdb.base/macscp.exp: Likewise.
2293 * gdb.base/readline-ask.exp: Likewise.
2294 * gdb.base/readline.exp: Likewise.
2295 * gdb.python/py-cmd.exp: Likewise.
2296 * gdb.trace/tfile.exp: Likewise.
2298 2014-03-26 Yao Qi <yao@codesourcery.com>
2300 * gdb.base/macscp.exp: Fix code format issues.
2302 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2304 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2305 * gdb.asm/powerpc64le.inc: New file.
2307 2014-03-25 Pedro Alves <palves@redhat.com>
2308 Doug Evans <dje@google.com>
2310 * gdb.base/source-execution.c: New file.
2311 * gdb.base/source-execution.exp: New file.
2312 * gdb.base/source-execution.gdb: New file.
2314 2014-03-24 Doug Evans <dje@google.com>
2316 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2319 2014-03-24 Hui Zhu <hui@codesourcery.com>
2320 Pedro Alves <palves@redhat.com>
2322 PR breakpoints/16101
2323 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2324 test pass/fail messages. Detect missing support for dprintf when
2325 breakpoints are actually inserted.
2326 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2327 breakpoints are actually inserted.
2328 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2331 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2333 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2335 2014-03-22 Doug Evans <xdje42@gmail.com>
2337 * gdb.python/python.exp (python not supported): Verify multi-line
2338 python command issues an error.
2339 * gdb.guile/guile.exp (guile not supported): Verify multi-line
2340 guile command issues an error.
2342 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2344 * gdb.threads/thread-specific.exp: Handle the lack of usable
2345 $this_breakpoint and $this_thread.
2347 2014-03-21 Hui Zhu <hui@codesourcery.com>
2349 * gdb.base/attach.exp (do_command_attach_tests): New.
2351 2014-03-20 Tom Tromey <tromey@redhat.com>
2352 Pedro Alves <palves@redhat.com>
2355 * gdb.base/condbreak-call-false.c: New file.
2356 * gdb.base/condbreak-call-false.exp: New file.
2358 2014-03-20 Pedro Alves <palves@redhat.com>
2360 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2362 (block_signals, unblock_signals): Delete.
2363 (child_function_2, main): Remove references to deleted variable
2366 2014-03-20 Pedro Alves <palves@redhat.com>
2368 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2369 Use pthread_kill to signal thread 2.
2370 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2371 Adjust to make the test send itself a signal rather than using the
2372 host's "kill" command.
2374 2014-03-20 Pedro Alves <palves@redhat.com>
2376 * gdb.threads/multiple-step-overs.c: New file.
2377 * gdb.threads/multiple-step-overs.exp: New file.
2378 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2379 Adjust expected infrun debug output.
2381 2014-03-20 Pedro Alves <palves@redhat.com>
2383 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2384 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2386 2014-03-20 Pedro Alves <palves@redhat.com>
2389 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2390 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2391 of gdb_test_multiple.
2392 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2393 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2395 2014-03-20 Pedro Alves <palves@redhat.com>
2397 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2398 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2400 2014-03-19 Pedro Alves <palves@redhat.com>
2402 * gdb.base/async.exp: Remove early return.
2404 2014-03-19 Pedro Alves <palves@redhat.com>
2406 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2408 2014-03-19 Pedro Alves <palves@redhat.com>
2410 * gdb.base/async.exp (test_background): Expect \r\n after
2411 "completed." in the fail pattern.
2413 2014-03-19 Pedro Alves <palves@redhat.com>
2415 * gdb.base/async.exp (test_background): New procedure.
2416 Use it for all background execution command tests.
2418 2014-03-19 Pedro Alves <palves@redhat.com>
2420 * gdb.base/async.exp: Use prepare_for_testing.
2422 2014-03-19 Pedro Alves <palves@redhat.com>
2424 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2427 2014-03-19 Pedro Alves <palves@redhat.com>
2429 * gdb.base/async.c (main): Add "jump here" and "until here" line
2431 * gdb.base/async.exp (jump_here): New global.
2432 (jump& test): Use it.
2433 (until_here): New global.
2434 (until& test): Use it.
2436 2014-03-19 Pedro Alves <palves@redhat.com>
2438 * gdb.base/async.exp: Don't frob gdb_protocol.
2440 2014-03-18 Doug Evans <xdje42@gmail.com>
2442 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2443 Fix spelling of exec-done-display.
2445 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2448 * gdb.base/gdb-sigterm.c: New file.
2449 * gdb.base/gdb-sigterm.exp: New file.
2451 2014-03-18 Pedro Alves <palves@redhat.com>
2454 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2455 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2458 2014-03-17 Joel Brobecker <brobecker@adacore.com>
2460 * gdb.ada/pckd_arr_ren: New testcase.
2462 2014-03-13 Doug Evans <xdje42@gmail.com>
2465 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2466 collect after discarding symbols.
2468 2014-03-13 Ludovic Courtès <ludo@gnu.org>
2469 Doug Evans <xdje42@gmail.com>
2471 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2472 to history survives a gc.
2474 2014-03-13 Pedro Alves <palves@redhat.com>
2476 * gdb.base/default.exp: Don't test "target procfs".
2478 2014-03-13 Pedro Alves <palves@redhat.com>
2480 * gdb.base/default.exp: Update "target child" and "target procfs"
2481 tests to not expect "Unix".
2483 2014-03-12 Tom Tromey <tromey@redhat.com>
2485 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2486 New procs. Add target-async tests.
2487 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2488 Add target-async tests.
2490 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2492 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2493 'func_start' and 'func_end' for the beginning and end of the
2494 function code, respectively.
2495 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2496 'func_end' instead of 'func' and 'main'.
2498 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2500 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2501 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2502 generate the debug info assembler source.
2504 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2506 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2507 * gdb.dwarf2/arr-subrange.exp: Likewise.
2508 * gdb.dwarf2/dwz.exp: Likewise.
2509 * gdb.dwarf2/method-ptr.exp: Likewise.
2510 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2511 * gdb.dwarf2/subrange.exp: Likewise.
2512 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2513 * gdb.dwarf2/implptrpiece.exp: Likewise.
2514 * gdb.dwarf2/nostaticblock.exp: Likewise.
2516 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2518 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2519 directory to absolute path name arguments.
2521 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2523 * gdb.ada/tagged_access: New testcase.
2525 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2527 * gdb.btrace/data.exp: Update expected output.
2529 2014-03-06 Yao Qi <yao@codesourcery.com>
2531 * gdb.trace/pr16508.exp: New file.
2533 2014-03-05 Pedro Alves <palves@redhat.com>
2536 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2538 (top level): Adjust to use it. Add tests that exercise breakpoint
2539 interaction with the code-cache.
2541 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2543 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2544 test for 'history-append!'.
2546 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2548 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2549 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2550 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2551 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2552 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2553 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2555 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2557 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2558 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2559 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2561 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2563 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2565 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2567 * gdb.dwarf2/arr-stride.c: New file.
2568 * gdb.dwarf2/arr-stride.exp: New file.
2570 2014-02-26 Pedro Alves <palves@redhat.com>
2572 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2573 that won't ever trigger. Make sure that GDB reports the correct
2574 breakpoint that caused the stop.
2576 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2579 * gdb.base/auto-load-script: New file.
2580 * gdb.base/auto-load.c: New file.
2581 * gdb.base/auto-load.exp: New file.
2584 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2586 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2588 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2589 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2591 2014-02-24 Doug Evans <dje@google.com>
2593 * lib/gdb.exp (run_on_host): Log error output if program fails.
2595 2014-02-21 Pedro Alves <palves@redhat.com>
2597 * gdb.threads/step-after-sr-lock.c: Rename to ...
2598 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2599 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2600 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2603 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2606 * gdb.arch/amd64-stap-special-operands.exp: New file.
2607 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2608 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2609 * gdb.arch/amd64-stap-triplet.S: Likewise.
2610 * gdb.arch/amd64-stap-triplet.c: Likewise.
2612 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2614 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2615 in .section pseudo-op.
2617 2014-02-20 lin zuojian <manjian2006@gmail.com>
2618 Joel Brobecker <brobecker@adacore.com>
2619 Doug Evans <xdje42@gmail.com>
2622 * gdb.dwarf2/dw2-icycle.S: New file.
2623 * gdb.dwarf2/dw2-icycle.c: New file.
2624 * gdb.dwarf2/dw2-icycle.exp: New file.
2626 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2628 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2629 operations on gdb.Value objects.
2630 * gdb.python/py-value-cc.exp: Add new test to test operations on
2633 2014-02-18 Doug Evans <dje@google.com>
2635 * Makefile.in (TESTS): New variable.
2636 (expanded_tests, expanded_tests_or_none): New variables
2637 (check-single): Pass $(expanded_tests_or_none) to runtest.
2638 (check-parallel): Only run tests in $(TESTS) if non-empty.
2639 (check/no-matching-tests-found): New rule.
2640 * README: Document TESTS makefile variable.
2642 2014-02-18 Doug Evans <dje@google.com>
2644 * Makefile.in (check-parallel): rm -rf outputs temp.
2646 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2648 Fix "ERROR: no fileid for" in the testsuite.
2649 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2651 2014-02-12 Doug Evans <dje@google.com>
2653 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2654 (MISCELLANEOUS): New variable.
2655 (clean): rm -rf $(MISCELLANEOUS).
2656 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2657 dwp live in the same directory as symlinks, with each symlink pointed
2658 to a differently named file in a different directory.
2660 2014-02-11 Doug Evans <dje@google.com>
2662 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2663 of Tcl file commands.
2665 2014-02-10 Mark Kettenis <kettenis@gnu.org>
2667 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2670 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2672 * gdb.ada/tick_length_array_enum_idx: New testcase.
2674 2014-02-10 Doug Evans <xdje42@gmail.com>
2676 * configure.ac (AC_OUTPUT): Add gdb.guile.
2677 * configure: Regenerate.
2678 * lib/gdb-guile.exp: New file.
2679 * lib/gdb.exp (get_target_charset): New function.
2680 * gdb.base/help.exp: Update expected output from "apropos apropos".
2681 * gdb.guile/Makefile.in: New file.
2682 * gdb.guile/guile.exp: New file.
2683 * gdb.guile/scm-arch.c: New file.
2684 * gdb.guile/scm-arch.exp: New file.
2685 * gdb.guile/scm-block.c: New file.
2686 * gdb.guile/scm-block.exp: New file.
2687 * gdb.guile/scm-breakpoint.c: New file.
2688 * gdb.guile/scm-breakpoint.exp: New file.
2689 * gdb.guile/scm-disasm.c: New file.
2690 * gdb.guile/scm-disasm.exp: New file.
2691 * gdb.guile/scm-equal.c: New file.
2692 * gdb.guile/scm-equal.exp: New file.
2693 * gdb.guile/scm-error.exp: New file.
2694 * gdb.guile/scm-error.scm: New file.
2695 * gdb.guile/scm-frame-args.c: New file.
2696 * gdb.guile/scm-frame-args.exp: New file.
2697 * gdb.guile/scm-frame-args.scm: New file.
2698 * gdb.guile/scm-frame-inline.c: New file.
2699 * gdb.guile/scm-frame-inline.exp: New file.
2700 * gdb.guile/scm-frame.c: New file.
2701 * gdb.guile/scm-frame.exp: New file.
2702 * gdb.guile/scm-generics.exp: New file.
2703 * gdb.guile/scm-gsmob.exp: New file.
2704 * gdb.guile/scm-iterator.c: New file.
2705 * gdb.guile/scm-iterator.exp: New file.
2706 * gdb.guile/scm-math.c: New file.
2707 * gdb.guile/scm-math.exp: New file.
2708 * gdb.guile/scm-objfile-script-gdb.in: New file.
2709 * gdb.guile/scm-objfile-script.c: New file.
2710 * gdb.guile/scm-objfile-script.exp: New file.
2711 * gdb.guile/scm-objfile.c: New file.
2712 * gdb.guile/scm-objfile.exp: New file.
2713 * gdb.guile/scm-ports.exp: New file.
2714 * gdb.guile/scm-pretty-print.c: New file.
2715 * gdb.guile/scm-pretty-print.exp: New file.
2716 * gdb.guile/scm-pretty-print.scm: New file.
2717 * gdb.guile/scm-section-script.c: New file.
2718 * gdb.guile/scm-section-script.exp: New file.
2719 * gdb.guile/scm-section-script.scm: New file.
2720 * gdb.guile/scm-symbol.c: New file.
2721 * gdb.guile/scm-symbol.exp: New file.
2722 * gdb.guile/scm-symtab-2.c: New file.
2723 * gdb.guile/scm-symtab.c: New file.
2724 * gdb.guile/scm-symtab.exp: New file.
2725 * gdb.guile/scm-type.c: New file.
2726 * gdb.guile/scm-type.exp: New file.
2727 * gdb.guile/scm-value-cc.cc: New file.
2728 * gdb.guile/scm-value-cc.exp: New file.
2729 * gdb.guile/scm-value.c: New file.
2730 * gdb.guile/scm-value.exp: New file.
2731 * gdb.guile/source2.scm: New file.
2732 * gdb.guile/types-module.cc: New file.
2733 * gdb.guile/types-module.exp: New file.
2735 2014-02-10 Yao Qi <yao@codesourcery.com>
2738 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
2739 * configure: Regenerated.
2740 * Makefile.in: New file.
2742 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2744 * gdb.python/py-framefilter.exp: Fix typo.
2746 2014-02-08 Yao Qi <yao@codesourcery.com>
2748 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
2749 that no =breakpoint-modified is emitted when breakpoints are
2750 modified through MI commands.
2752 2014-02-07 Pedro Alves <pedro@codesourcery.com>
2753 Pedro Alves <palves@redhat.com>
2755 * gdb.threads/step-after-sr-lock.c: New file.
2756 * gdb.threads/step-after-sr-lock.exp: New file.
2758 2014-02-07 Pedro Alves <palves@redhat.com>
2760 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
2762 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2764 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
2765 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
2767 2014-02-06 Doug Evans <xdje42@gmail.com>
2769 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
2772 * gdb.gdb/python-interrupts.exp: New file.
2774 2014-02-05 Yao Qi <yao@codesourcery.com>
2776 * gdb.trace/report.exp (use_collected_data): Test the output
2777 of "info threads" and "info inferiors".
2779 2014-02-05 Yao Qi <yao@codesourcery.com>
2783 2013-05-24 Yao Qi <yao@codesourcery.com>
2785 * gdb.trace/tfile.exp: Test inferior and thread.
2787 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2789 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
2791 * gdb.base/step-bt.c: Call hello via function pointer to make
2792 sure its first instruction is executed on powerpc64le-linux.
2794 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2796 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
2798 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2800 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
2801 of the test patterns for use on little-endian systems.
2803 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2805 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
2806 (decimal_vector): Fix for little-endian.
2808 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2810 * gdb.arch/sparc-sysstep.exp: New file.
2811 * gdb.arch/sparc-sysstep.c: Likewise.
2813 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
2815 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2817 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2819 2014-01-23 Tom Tromey <tromey@redhat.com>
2821 * gdb.ada/array_char_idx: New testcase.
2823 2014-01-23 Tom Tromey <tromey@redhat.com>
2826 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
2827 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2830 2014-01-23 Tom Tromey <tromey@redhat.com>
2833 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2834 string from an inferior frame.
2835 * gdb.python/py-framefilter-mi.exp: Update.
2837 2014-01-22 Doug Evans <dje@google.com>
2839 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2841 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2843 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2845 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2847 * gdb.trace/entry-values.exp: Remove excess space character from
2848 regex patterns. Handle s390 call instruction.
2850 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2852 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
2853 define "*_start" label. Make "name" static.
2854 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
2855 ${name} by references to ${name}_start.
2857 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2859 * gdb.base/info-macros.exp: Remove "debug" from the compile
2862 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2864 * gdb.dlang/demangle.exp: New file.
2866 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2868 * gdb.dlang/primitive-types.exp: New file.
2870 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2872 * configure.ac: Create gdb.dlang/Makefile.
2873 * configure: Regenerate.
2874 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
2875 * gdb.dlang/Makefile.in: New file.
2876 * lib/d-support.exp: New file.
2877 * lib/gdb.exp (skip_d_tests): New proc.
2879 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2881 * gdb.btrace/delta.exp: Check reverse stepi.
2882 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
2883 * gdb.btrace/finish.exp: New.
2884 * gdb.btrace/next.exp: New.
2885 * gdb.btrace/nexti.exp: New.
2886 * gdb.btrace/record_goto.c: Add comments.
2887 * gdb.btrace/step.exp: New.
2888 * gdb.btrace/stepi.exp: New.
2889 * gdb.btrace/multi-thread-step.c: New.
2890 * gdb.btrace/multi-thread-step.exp: New.
2891 * gdb.btrace/rn-dl-bind.c: New.
2892 * gdb.btrace/rn-dl-bind.exp: New.
2893 * gdb.btrace/data.c: New.
2894 * gdb.btrace/data.exp: New.
2895 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2897 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2899 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
2900 * gdb.btrace/exception.exp: Update.
2901 * gdb.btrace/instruction_history.exp: Update.
2902 * gdb.btrace/record_goto.exp: Update.
2903 * gdb.btrace/tailcall.exp: Update.
2904 * gdb.btrace/unknown_functions.exp: Update.
2905 * gdb.btrace/delta.exp: New.
2907 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2909 * gdb.btrace/record_goto.exp: Add backtrace test.
2910 * gdb.btrace/tailcall.exp: Add backtrace test.
2912 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2914 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
2915 * gdb.btrace/record_goto.c: New.
2916 * gdb.btrace/record_goto.exp: New.
2917 * gdb.btrace/x86-record_goto.S: New.
2919 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2921 * gdb.btrace/function_call_history.exp: Update tests.
2922 * gdb.btrace/instruction_history.exp: Update tests.
2924 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2926 * gdb.btrace/function_call_history.exp: Fix expected field
2927 order for "record function-call-history".
2928 Add new tests for "record function-call-history /c".
2929 * gdb.btrace/exception.cc: New.
2930 * gdb.btrace/exception.exp: New.
2931 * gdb.btrace/tailcall.exp: New.
2932 * gdb.btrace/x86-tailcall.S: New.
2933 * gdb.btrace/x86-tailcall.c: New.
2934 * gdb.btrace/unknown_functions.c: New.
2935 * gdb.btrace/unknown_functions.exp: New.
2936 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2938 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2940 * gdb.btrace/instruction_history.exp: Update.
2941 * gdb.btrace/function_call_history.exp: Update.
2943 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2945 * gdb.btrace/function_call_history.exp: Fix expected function
2947 * gdb.btrace/instruction_history.exp: Initialize traced.
2948 Remove traced_functions.
2950 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2952 * gdb.btrace/function_call_history.exp: Update
2953 * gdb.btrace/instruction_history.exp: Update.
2955 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2957 * gdb.btrace/enable.exp: Update expected text.
2959 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
2961 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
2964 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
2966 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
2968 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2970 * lib/gdb.exp (supports_process_record): Return true for
2971 arm*-linux*. (supports_reverse): Likewise.
2973 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
2977 * gdb.python/py-type.c: Enhance test case.
2978 * gdb.python/py-value-cc.cc: Likewise
2979 * gdb.python/py-type.exp: Add new tests.
2980 * gdb.python/py-value-cc.exp: Likewise
2982 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2983 Pedro Alves <palves@redhat.com>
2985 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
2987 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
2988 references to ${name}_start by references to ${name}.
2990 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2992 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
2994 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2996 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
2998 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
2999 Pedro Alves <palves@redhat.com>
3001 * gdb.mi/mi-info-os.exp: Connect to the target with
3004 2014-01-08 Pedro Alves <palves@redhat.com>
3006 * gdb.threads/reconnect-signal.c: New file.
3007 * gdb.threads/reconnect-signal.exp: New file.
3009 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3011 * gdb.base/source-dir.exp: New file.
3013 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3015 * gdb.ada/mi_interface: New testcase.
3017 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3019 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
3020 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
3021 gdb.ada/pp-rec-component/pck.ads: New files.
3023 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3025 * gdb.python/py-pp-integral.c: New file.
3026 * gdb.python/py-pp-integral.py: New file.
3027 * gdb.python/py-pp-integral.exp: New file.
3029 For older changes see ChangeLog-1993-2013.
3035 ;; version-control: never
3038 Copyright 2014 Free Software Foundation, Inc.
3039 Copying and distribution of this file, with or without modification,
3040 are permitted provided the copyright notice and this notice are preserved.