1 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2 Yao Qi <yao@codesourcery.com>
4 Fix "save breakpoints" for "catch" command.
5 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6 Remove -nonewline. Match also the added "main" line.
8 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10 Fix "save breakpoints" for "disable $bpnum" command.
11 * gdb.base/save-bp.c (main): Add label.
12 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
14 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
18 2014-10-11 Yao Qi <yao@codesourcery.com>
20 * gdb.server/server-kill.exp: Execute command
21 "set remote trace-status-packet on" before "tstatus".
23 2014-10-11 Yao Qi <yao@codesourcery.com>
25 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
27 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
28 and continue to it. Read variable "server_pid".
30 2014-10-11 Yao Qi <yao@codesourcery.com>
32 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
34 2014-10-11 Yao Qi <yao@codesourcery.com>
36 * gdb.threads/thread-find.exp: Don't execute command
38 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
39 * gdb.threads/linux-dp.exp: Don't check the condition
40 $threads_created equals to zero.
42 2014-10-10 Pedro Alves <palves@redhat.com>
44 * gdb.base/bigcore.exp: Remove references to IRIX.
45 * gdb.base/funcargs.exp: Likewise.
46 * gdb.base/interrupt.exp: Likewise.
47 * gdb.base/mips_pro.exp: Likewise.
48 * gdb.base/nodebug.exp: Likewise.
49 * gdb.base/setvar.exp: Likewise.
50 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
52 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
53 Pedro Alves <palves@redhat.com>
56 * gdb.base/vdso-warning.c: New file.
57 * gdb.base/vdso-warning.exp: New file.
59 2014-10-02 Doug Evans <dje@google.com>
61 * gdb.base/structs.c (main): Don't run forever.
63 2014-10-02 Pedro Alves <palves@redhat.com>
65 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
66 (top level) <stop threads 1, stop threads 2>: Use it.
68 2014-10-02 Pedro Alves <palves@redhat.com>
70 * gdb.threads/break-while-running.exp (test): Add new
71 'update_thread_list' argument. Skip "info threads" if false.
72 (top level): Add new 'update_thread_list' axis.
74 2014-10-02 Pedro Alves <palves@redhat.com>
77 * gdb.base/execl-update-breakpoints.c: New file.
78 * gdb.base/execl-update-breakpoints.exp: New file.
80 2014-10-01 Pedro Alves <palves@redhat.com>
82 * gdb.base/breakpoint-in-ro-region.c: New file.
83 * gdb.base/breakpoint-in-ro-region.exp: New file.
85 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
87 * gdb.mi/mi-exit-code.exp: New file.
88 * gdb.mi/mi-exit-code.c: New file.
90 2014-09-30 Yao Qi <yao@codesourcery.com>
92 * lib/prelink-support.exp (build_executable_own_libs): Error if
93 the target isn't native.
95 2014-09-30 Yao Qi <yao@codesourcery.com>
97 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
100 2014-09-22 Pedro Alves <palves@redhat.com>
102 * gdb.threads/break-while-running.exp: New file.
103 * gdb.threads/break-while-running.c: New file.
105 2014-09-19 Yao Qi <yao@codesourcery.com>
107 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
108 Invoke test. Restart GDB with --readnow and invoke test again.
110 2014-09-19 Yao Qi <yao@codesourcery.com>
112 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
113 proc set_breakpoint_on_gcd_function. Invoke
114 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
115 invoke set_breakpoint_on_gcd_function again.
117 2014-09-18 Doug Evans <dje@google.com>
119 * gdb.dwarf2/symtab-producer.exp: New file.
121 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
123 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
124 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
125 * gdb.base/global-var-nested-by-dso.c: Likewise.
126 * gdb.base/global-var-nested-by-dso.exp: Likewise.
128 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
129 Pedro Alves <palves@redhat.com>
131 * gdb.base/watch-bitfields.exp: Pass string other than test file
132 name to prepare_for_testing.
133 (watch): New procedure.
134 (expect_watchpoint): Use with_test_prefix.
135 (top level): Factor out tests to ...
136 (test_watch_location, test_regular_watch): ... these new
137 procedures, and use with_test_prefix and gdb_continue_to_end.
139 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
142 * gdb.base/watch-bitfields.exp: New file.
143 * gdb.base/watch-bitfields.c: New file.
145 2014-09-16 Pedro Alves <palves@redhat.com>
147 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
148 software and hardware addresses, not software address against
151 2014-09-16 Pedro Alves <palves@redhat.com>
153 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
154 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
156 2014-09-16 Pedro Alves <palves@redhat.com>
158 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
160 * gdb.base/a2-run.exp: Remove all code guarded by istarget
161 "*-*-vxworks*" throughout.
162 * gdb.base/break.exp: Likewise.
163 * gdb.base/default.exp: Likewise.
164 * gdb.base/scope.exp: Likewise.
165 * gdb.base/sepdebug.exp: Likewise.
166 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
168 * gdb.base/run.c: Likewise.
169 * gdb.base/sepdebug.c: Likewise.
170 * gdb.hp/gdb.aCC/run.c: Likewise.
171 * gdb.reverse/until-reverse.c: Likewise.
172 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
174 2014-09-16 Yao Qi <yao@codesourcery.com>
176 * boards/local-remote-host-native.exp: New file.
178 2014-09-14 Doug Evans <xdje42@gmail.com>
180 * gdb.threads/queue-signal.c (thread_count): New variable.
181 (thread_count_mutex, thread_count_condvar): New variables.
182 (incr_thread_count, wait_all_threads_running): New functions.
183 (main): Wait for all threads to be in their thread functions.
185 2014-09-13 Doug Evans <xdje42@gmail.com>
187 * gdb.threads/queue-signal.c: New file.
188 * gdb.threads/queue-signal.exp: New file.
190 2014-09-13 Doug Evans <xdje42@gmail.com>
192 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
193 be consistent with what default_gdb_init uses.
194 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
195 the plain text of the prompt. Add some logging printfs.
196 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
198 2014-09-12 Pedro Alves <palves@redhat.com>
200 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
201 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
202 * gdb.arch/i386-size-overlap.exp: Likewise.
203 * gdb.arch/i386-size.exp: Likewise.
204 * gdb.arch/i386-unwind.exp: Likewise.
205 * gdb.base/a2-run.exp: Likewise.
206 * gdb.base/break.exp: Likewise.
207 * gdb.base/charset.exp: Likewise.
208 * gdb.base/chng-syms.exp: Likewise.
209 * gdb.base/commands.exp: Likewise.
210 * gdb.base/dbx.exp: Likewise.
211 * gdb.base/find.exp: Likewise.
212 * gdb.base/funcargs.exp: Likewise.
213 * gdb.base/jit-simple.exp: Likewise.
214 * gdb.base/reread.exp: Likewise.
215 * gdb.base/sepdebug.exp: Likewise.
216 * gdb.base/step-bt.exp: Likewise.
217 * gdb.cp/mb-inline.exp: Likewise.
218 * gdb.cp/mb-templates.exp: Likewise.
219 * gdb.objc/basicclass.exp: Likewise.
220 * gdb.threads/killed.exp: Likewise.
222 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
225 * gdb.arch/powerpc-stackless.S: New file.
226 * gdb.arch/powerpc-stackless.exp: New file.
228 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
230 * gdb.base/attach.c: Include unistd.h.
231 (main): Call alarm. Add label postloop.
232 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
233 gdb_breakpoint, gdb_continue_to_breakpoint.
234 (test_command_line_attach_run): Kill ${testpid} in one exit path.
236 2014-09-11 Pedro Alves <palves@redhat.com>
239 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
240 * gdb.base/attach.exp (test_command_line_attach_run): New
242 (top level): Call it.
244 2014-09-11 Pedro Alves <palves@redhat.com>
246 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
247 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
248 (do_command_attach_tests): Use spawn_wait_for_attach.
249 * gdb.base/solib-overlap.exp: Likewise.
250 * gdb.multi/multi-attach.exp: Likewise.
251 * gdb.python/py-prompt.exp: Likewise.
252 * gdb.python/py-sync-interp.exp: Likewise.
253 * gdb.server/ext-attach.exp: Likewise.
255 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
257 * gdb.fortran/array-element.exp: Remove unexpected "continue"
258 command in testcase. Simplify testcase.
260 2014-09-10 Joel Brobecker <brobecker@adacore.com>
262 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
264 2014-09-10 Joel Brobecker <brobecker@adacore.com>
266 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
268 2014-09-10 Joel Brobecker <brobecker@adacore.com>
270 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
272 2014-09-10 Joel Brobecker <brobecker@adacore.com>
274 * gdb.dwarf2/dynarr-ptr.c: New file.
275 * gdb.dwarf2/dynarr-ptr.exp: New file.
277 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
279 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
280 of 30 rather than hardcoding 120 for a slow test case. Take the
281 `gdb,timeout' target setting into account for this calculation.
282 Don't extend the timeout for the test cases that don't need it.
284 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
286 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
287 a factor of 2 for a slow test case. Take the `gdb,timeout'
288 target setting into account for this calculation.
289 * gdb.reverse/until-precsave.exp: Increase the timeout by
290 a factor of 15 and 3 respectively rather than adding 120
291 for a pair of slow test cases. Take the `gdb,timeout'
292 target setting into account for this calculation.
294 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
296 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
297 timeout, don't pass one down to gdb_expect.
298 (gdb_expect): Rework timeout selection.
300 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
302 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
303 exception on timeout.
304 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
305 (gdbserver_start_extended): Catch any `gdbserver_start' error
307 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
308 * lib/mi-support.exp (mi_gdb_target_load): Catch any
309 `gdbserver_gdb_load' error exceptions.
311 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
313 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
314 120 on waiting for the TCP socket to open.
316 2014-09-09 Doug Evans <xdje42@gmail.com>
318 * gdb.base/default.exp (show_conv_list): Add _caller_is,
319 _caller_matches, _any_caller_is, _any_caller_matches.
321 2014-09-09 Doug Evans <xdje42@gmail.com>
323 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
325 2014-09-09 Yao Qi <yao@codesourcery.com>
327 * gdb.mi/mi-var-display.exp: Set print symbol off.
329 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
332 * gdb.base/commands.exp: Add tests to verify user-defined
333 commands with empty bodies.
334 * gdb.python/py-cmd.exp: Test that we don't show user-defined
335 python commands in `show user command`.
336 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
337 scheme commands in `show user command`.
339 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
342 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
343 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
344 * gdb.python/py-framefilter-invalidarg.exp: New file.
345 * gdb.python/py-framefilter-invalidarg.py: New file.
347 2014-09-06 Doug Evans <xdje42@gmail.com>
350 * gdb.python/py-caller-is.c: New file.
351 * gdb.python/py-caller-is.exp: New file.
353 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
356 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
357 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
359 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
362 * gdb.fortran/print-formatted.exp: New file.
363 * gdb.fortran/print-formatted.f90: Likewise.
365 2014-09-03 Sasha Smundak <asmundak@google.com>
367 * gdb.python/py-frame.exp: Test Frame.read_register.
369 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
372 * gdb.python/py-completion.exp: New file.
373 * gdb.python/py-completion.py: Likewise.
375 2014-08-28 Doug Evans <dje@google.com>
377 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
378 eax,etc. are live with values set by gdb and thus the compiler can't
380 * gdb.arch/i386-pseudo.c (main): Ditto.
382 2014-08-27 Doug Evans <dje@google.com>
384 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
386 2014-08-25 Doug Evans <dje@google.com>
388 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
391 2014-08-25 Doug Evans <dje@google.com>
393 * gdb.threads/thread-execl.exp: #include <stdio.h>.
395 2014-08-24 Yao Qi <yao@codesourcery.com>
397 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
399 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
401 2014-08-22 Doug Evans <dje@google.com>
404 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
405 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
406 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
408 2014-08-22 Yao Qi <yao@codesourcery.com>
410 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
411 * gdb.python/py-finish-breakpoint2.exp: Likewise.
412 * gdb.python/python.exp: Likewise. Use .py file on the host
413 instead of the build.
415 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
417 * gdb.threads/gcore-stale-thread.c: New file.
418 * gdb.threads/gcore-stale-thread.exp: New file.
420 2014-08-21 Pedro Alves <palves@redhat.com>
422 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
423 * gdb.base/gcore-relro-pie.exp: Likewise.
424 * gdb.base/gcore-relro.exp: Likewise.
425 * gdb.base/gcore.exp: Likewise.
426 * gdb.base/print-symbol-loading.exp: Likewise.
427 * gdb.threads/gcore-thread.exp: Likewise.
428 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
430 2014-08-20 Pedro Alves <palves@redhat.com>
431 Jan Kratochvil <jan.kratochvil@redhat.com>
433 * Makefile.in (EXTRA_RULES, CC): New variables, get from
435 (EXPECT): Handle READ1 being set.
436 (all): Depend on EXTRA_RULES.
437 (check-read1, expect-read1, read1.so, read1): New rules.
438 * README (Testsuite Parameters): Document the READ1 make variable.
439 (Race detection): New section.
440 * configure: Regenerate.
441 * configure.ac: If build==host==target, and running under a
442 GNU/glibc system, add read1 to the extra Makefile rules.
443 (EXTRA_RULES): AC_SUBST it.
444 * lib/read1.c: New file.
446 2014-08-20 Joel Brobecker <brobecker@adacore.com>
448 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
449 the handling of variables declared as a typedef to an array
450 which a DW_AT_data_location attribute.
452 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
453 Pedro Alves <palves@redhat.com>
457 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
460 2014-08-19 Pedro Alves <palves@redhat.com>
462 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
464 2014-08-19 Yao Qi <yao@codesourcery.com>
466 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
469 2014-08-18 David Blaikie <dblaikie@gmail.com>
471 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
473 2014-08-18 Joel Brobecker <brobecker@adacore.com>
475 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
476 attribute in array range.
478 2014-08-18 Joel Brobecker <brobecker@adacore.com>
480 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
482 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
485 * gdb.cp/pr17132.cc: New file.
486 * gdb.cp/pr17132.exp: New file.
488 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
490 * gdb.python/py-xmethods.py (A_getarrayind)
491 (E_method_char_worker.__call__, E_method_int_worker.__call__):
492 Use 'print' with function call syntax.
493 (E_method_matcher.match): Fix tab vs space indentation mixup.
495 2014-08-15 Yao Qi <yao@codesourcery.com>
497 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
500 2014-08-15 Yao Qi <yao@codesourcery.com>
502 * gdb.cp/casts.exp: Set print symbol off.
503 * gdb.cp/class2.exp: Likewise.
504 * gdb.cp/overload.exp: Likewise.
505 * gdb.cp/templates.exp: Likewise.
507 2014-08-11 Doug Evans <dje@google.com>
509 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
510 (test_load_shlib): Update.
512 2014-08-09 Yao Qi <yao@codesourcery.com>
514 * gdb.base/display.exp: Invoke is_address_zero_readable.
515 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
516 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
517 * gdb.base/hbreak-unmapped.exp: Return if
518 is_address_zero_readable returns true.
519 * gdb.base/signest.exp: Likewise.
520 * gdb.base/signull.exp: Likewise.
521 * gdb.base/sigbpt.exp: Likewise.
522 * gdb.guile/scm-disasm.exp: Do the test if
523 is_address_zero_readable returns false.
524 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
525 * gdb.python/py-arch.exp: Likewise.
526 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
527 * lib/gdb.exp (is_address_zero_readable): New proc.
529 2014-08-09 Yao Qi <yao@codesourcery.com>
532 * gdb.mi/mi-var-display.exp: Make test messages unique.
534 2014-08-04 Tom Tromey <tromey@redhat.com>
536 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
539 2014-08-04 Tom Tromey <tromey@redhat.com>
541 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
544 2014-08-01 Joel Brobecker <brobecker@adacore.com>
546 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
547 inner_vla_struct_object_size.
548 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
551 2014-07-30 Pedro Alves <palves@redhat.com>
553 * gdb.threads/signal-command-handle-nopass.exp (test): Add
556 2014-07-29 Yao Qi <yao@codesourcery.com>
559 * gdb.base/until-nodebug.exp: New.
561 2014-07-28 Doug Evans <xdje42@gmail.com>
564 * gdb.guile/scm-parameter.exp: Add tests for trying to create
565 previously existing parameter, and previously ambiguously spelled
568 2014-07-28 Will Newton <will.newton@linaro.org>
570 * gdb.base/varargs.exp: Remove KFAILs for ARM.
572 2014-07-26 Ludovic Courtès <ludo@gnu.org>
573 Doug Evans <xdje42@gmail.com>
576 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
578 2014-07-25 Pedro Alves <palves@redhat.com>
580 * gdb.threads/signal-command-handle-nopass.c: New file.
581 * gdb.threads/signal-command-handle-nopass.exp: New file.
582 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
583 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
584 * gdb.threads/signal-delivered-right-thread.c: New file.
585 * gdb.threads/signal-delivered-right-thread.exp: New file.
587 2014-07-25 Pedro Alves <palves@redhat.com>
589 * gdb.base/double-prompt-target-event-error.exp
590 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
592 (cancel_pagination_in_target_event): Rework double prompt
594 * gdb.base/paginate-after-ctrl-c-running.exp
595 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
597 * gdb.base/paginate-bg-execution.exp
598 (test_bg_execution_pagination_return)
599 (test_bg_execution_pagination_cancel): Remove '-notransfer
601 * gdb.base/paginate-execution-startup.exp
602 (test_fg_execution_pagination_return)
603 (test_fg_execution_pagination_cancel): Remove '-notransfer
605 * gdb.base/paginate-inferior-exit.exp
606 (test_paginate_inferior_exited): Remove '-notransfer <return>'
608 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
609 * lib/gdb.exp (pagination_prompt): Run text through
611 (gdb_test_multiple): Match $pagination_prompt instead of
613 (string_to_regexp): Move to lib/gdb-utils.exp.
615 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
617 * gdb.arch/amd64-entry-value-paramref.S: New file.
618 * gdb.arch/amd64-entry-value-paramref.cc: New file.
619 * gdb.arch/amd64-entry-value-paramref.exp: New file.
620 * gdb.arch/amd64-optimout-repeat.S: New file.
621 * gdb.arch/amd64-optimout-repeat.c: New file.
622 * gdb.arch/amd64-optimout-repeat.exp: New file.
624 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
627 * gdb.base/statistics.exp: New file.
629 2014-07-17 Doug Evans <dje@google.com>
632 * gdb.base/maint.exp: Update testing of per-command stats.
634 2014-07-16 Pedro Alves <palves@redhat.com>
636 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
637 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
638 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
639 (tfile_write_buf): New functions.
640 (add_memory_block): Rewrite using the above.
641 (adjust_function_address): New function.
642 (FUNCTION_ADDRESS): New macro.
643 (write_basic_trace_file): Remove short_x local, and use
644 tfile_write_16. Change type of func_addr local to unsigned long
645 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
646 here. Cast argument of add_memory_block to char pointer.
647 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
648 (main): Remove parameters.
649 * gdb.trace/tfile.exp: Remove nowarnings.
651 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
653 * gdb.base/debug-expr.exp: Test string evaluation with
654 "debug expression" on.
656 2014-07-15 Pedro Alves <palves@redhat.com>
658 * gdb.base/reread.exp: Use clean_restart.
660 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
662 * gdb.arch/avr-flash-qualifer.c: New.
663 * gdb.arch/avr-flash-qualifer.exp: New.
665 2014-07-14 Pedro Alves <palves@redhat.com>
667 * gdb.base/paginate-after-ctrl-c-running.c: New file.
668 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
670 2014-07-14 Pedro Alves <palves@redhat.com>
672 * gdb.base/double-prompt-target-event-error.c: New file.
673 * gdb.base/double-prompt-target-event-error.exp: New file.
675 2014-07-14 Pedro Alves <palves@redhat.com>
678 * gdb.base/paginate-inferior-exit.c: New file.
679 * gdb.base/paginate-inferior-exit.exp: New file.
681 2014-07-14 Pedro Alves <palves@redhat.com>
684 * gdb.base/paginate-bg-execution.c: New file.
685 * gdb.base/paginate-bg-execution.exp: New file.
687 2014-07-14 Pedro Alves <palves@redhat.com>
690 * gdb.base/paginate-execution-startup.c: New file.
691 * gdb.base/paginate-execution-startup.exp: New file.
692 * lib/gdb.exp (pagination_prompt): New global.
693 (default_gdb_spawn): New procedure, factored out from
695 (default_gdb_start): Adjust to call default_gdb_spawn.
696 (gdb_spawn): New procedure.
698 2014-07-14 Pedro Alves <palves@redhat.com>
700 * lib/gdb.exp (gdb_assert): New procedure.
701 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
703 2014-07-14 Pedro Alves <palves@redhat.com>
705 * gdb.base/execution-termios.c: New file.
706 * gdb.base/execution-termios.exp: New file.
708 2014-07-14 Tom Tromey <tromey@redhat.com>
710 * gdb.cp/vla-cxx.cc: New file.
711 * gdb.cp/vla-cxx.exp: New file.
713 2014-07-14 Tom Tromey <tromey@redhat.com>
715 * gdb.reverse/rerun-prec.c: New file.
716 * gdb.reverse/rerun-prec.exp: New file.
718 2014-07-12 Maciej W. Rozycki <macro@mips.com>
719 Maciej W. Rozycki <macro@codesourcery.com>
721 * lib/gdb-utils.exp: New file.
722 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
723 inline `gdb_init_command' processing.
724 (gdb_start_cmd): Likewise.
725 * lib/mi-support.exp (mi_run_cmd): Likewise.
726 * README: Document `gdb_init_command' and `gdb_init_commands'.
728 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
730 Fix false FAIL running under a very long directory name.
731 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
732 and "set print elements 10000". Twice.
734 2014-07-11 Yao Qi <yao@codesourcery.com>
736 * gdb.base/exprs.exp: "set print symbol off".
738 2014-07-11 Pedro Alves <palves@redhat.com>
740 * gdb.threads/kill.c: New file.
741 * gdb.threads/kill.exp: New file.
743 2014-07-10 Yao Qi <yao@codesourcery.com>
745 * gdb.trace/tfile.c (write_basic_trace_file)
746 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
747 address written to trace file.
749 2014-07-09 Pedro Alves <palves@redhat.com>
751 * gdb.base/attach-wait-input.exp: New file.
752 * gdb.base/attach-wait-input.c: New file.
754 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
756 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
757 setting up test structures.
758 (main): Call new test function.
759 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
760 test function, continue into test function and walk test
763 2014-07-02 Yao Qi <yao@codesourcery.com>
765 * gdb.trace/entry-values.c: Define labels 'foo_start' and
766 'bar_start' at the beginning of functions 'foo' and 'bar'
768 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
769 instead of 'foo' and 'bar'.
771 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
773 * gdb.btrace/segv.exp: New.
774 * gdb.btrace/segv.c: New.
776 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
778 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
781 2014-06-30 Mark Wielaard <mjw@redhat.com>
783 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
784 vulture, vilify, villar): New volatile array constants.
785 (vindictive, vegetation): New const volatile array constants.
786 * gdb.base/volatile.exp: Test volatile and const volatile array
789 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
791 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
792 target lacks support for awatch, rwatch, or hbreak.
794 2014-06-27 Yao Qi <yao@codesourcery.com>
796 * gdb.multi/dummy-frame-restore.exp: New.
797 * gdb.multi/dummy-frame-restore.c: New.
799 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
801 * gdb.btrace/gcore.exp: New.
803 2014-06-23 Pedro Alves <palves@redhat.com>
805 * gdb.base/watchpoint-reuse-slot.c: New file.
806 * gdb.base/watchpoint-reuse-slot.exp: New file.
808 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
810 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
811 progspace's filename in 'info', 'enable' and 'disable' command
814 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
816 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
817 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
818 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
820 2014-06-20 Gary Benson <gbenson@redhat.com>
822 * gdb.arch/i386-avx.exp: Fix include file location.
823 * gdb.arch/i386-sse.exp: Likewise.
825 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
827 * gdb.dlang/expression.exp: New file.
829 2014-06-19 Pedro Alves <palves@redhat.com>
831 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
833 (top level): ... here. Iterate running tests under different
834 scheduler-locking settings.
836 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
838 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
839 to DW_FORM_addr and use non-zero addresses.
841 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
844 * gdb.python/py-xmethods.cc: Add global function call counters and
845 increment them in their respective functions. Remove "cout"
847 * gdb.python/py-xmethods.exp: Make tests check the global function
848 call counters instead of depending on inferior IO.
850 2014-06-18 Don Breazeal <donb@codesourcery.com>
852 * gdb.base/foll-fork.exp (default_fork_parent_follow):
854 (explicit_fork_parent_follow): Deleted procedure.
855 (explicit_fork_child_follow): Deleted procedure.
856 (test_follow_fork): New procedure.
857 (do_fork_tests): Replace calls to deleted procedures with
858 calls to test_follow_fork and reset GDB for subsequent
861 2014-06-17 Yao Qi <yao@codesourcery.com>
863 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
866 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
868 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
869 Initialize ptr and S explicitly.
870 (skip_type_update_when_not_use_rtti_test): Likewise.
872 2014-06-16 Keith Seitz <keiths@redhat.com>
875 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
876 the inferior is started.
878 2014-06-16 Pedro Alves <palves@redhat.com>
880 * gdb.base/break-main-file-remove-fail.c: New file.
881 * gdb.base/break-main-file-remove-fail.exp: New file.
882 * gdb.base/break-unload-file.exp: Use build_executable instead of
884 (test_break): New parameter "initial_load". Handle it.
885 (top level): Add initial_load cmdline/file axis.
887 2014-06-12 Tom Tromey <tromey@redhat.com>
889 * gdb.base/completion.exp: Don't use directory name in test.
891 2014-06-09 Gary Benson <gbenson@redhat.com>
893 * gdb.base/sigall.c [Functions to send signals]: Reorder to
894 separate the always-available ANSI-standard signals from the
895 signals that require checking.
897 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
901 2014-06-07 Keith Seitz <keiths@redhat.com>
905 * gdb.cp/var-tag.cc: New file.
906 * gdb.cp/var-tag.exp: New file.
907 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
908 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
909 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
910 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
912 2014-06-06 Doug Evans <xdje42@gmail.com>
914 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
916 2014-06-06 Pedro Alves <palves@redhat.com>
918 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
919 in target debug output instead of looking at RSP packets,
920 disabling the test on any target that uses hardware stepping.
923 2014-06-06 Pedro Alves <palves@redhat.com>
925 * gdb.base/break-unload-file.exp: Fix typo.
927 2014-06-06 Yao Qi <yao@codesourcery.com>
929 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
930 from "jit_function" to "^jit_function".
932 2014-06-06 Yao Qi <yao@codesourcery.com>
934 * gdb.base/async.c (foo): Add one statement.
935 * gdb.base/async.exp: Get the next instruction address and
936 match the output of "nexti" by instruction address. Match
937 the hex address in the output of "finish".
939 2014-06-06 Gary Benson <gbenson@redhat.com>
941 * gdb.base/call-signals.c: Remove preprocessor conditionals
942 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
944 * gdb.base/sigall.c: Likewise.
945 * gdb.base/unwindonsignal.c: Likewise.
946 * gdb.reverse/sigall-reverse.c: Likewise.
948 2014-06-06 Yao Qi <yao@codesourcery.com>
950 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
951 readable, skip the test.
953 2014-06-06 Yao Qi <yao@codesourcery.com>
955 * gdb.threads/staticthreads.c (thread_function): Move the line
956 setting breakpoint on forward.
957 * gdb.threads/staticthreads.exp: Update comments.
959 2014-06-05 Ludovic Courtès <ludo@gnu.org>
961 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
962 "history-append! type error".
964 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
966 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
967 erroneous dprintf expected input.
969 2014-06-04 Doug Evans <xdje42@gmail.com>
971 * gdb.guile/scm-generics.exp: Delete.
973 2014-06-04 Doug Evans <xdje42@gmail.com>
975 * gdb.guile/scm-breakpoint.exp: Update.
976 Add tests for breakpoint registration.
978 2014-06-04 Tom Tromey <tromey@redhat.com>
980 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
982 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
983 inner_vla_struct, vla_union types. Initialize objects of those
984 types and compute their sizes.
986 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
987 Hui Zhu <hui@codesourcery.com>
989 * gdb.base/fileio.exp: Add test for shell not available as well as
991 * gdb.base/fileio.c (test_system): Check for shell twice.
993 2014-06-04 Yao Qi <yao@codesourcery.com>
995 * gdb.base/auto-connect-native-target.exp: Remove redundant
996 space from the regexp pattern.
998 2014-06-04 Yao Qi <yao@codesourcery.com>
1000 * gdb.base/default.exp: Replace "child" with "native" in
1003 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1005 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1006 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1007 * gdb.python/py-xmethods.py: Python script supporting the
1008 new testcase and tests.
1010 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1011 Pedro Alves <palves@redhat.com>
1013 PR breakpoints/17000
1014 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1015 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1017 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1019 * gdb.base/subst.exp: Add tests to verify partial path matching
1022 2014-06-03 Pedro Alves <palves@redhat.com>
1024 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1025 target that doesn't use software single-stepping.
1027 2014-06-03 Pedro Alves <palves@redhat.com>
1029 PR breakpoints/17000
1030 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1031 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1033 2014-06-02 Doug Evans <xdje42@gmail.com>
1035 * gdb.guile/scm-parameter.exp: New file.
1037 2014-06-02 Doug Evans <xdje42@gmail.com>
1039 * gdb.guile/scm-cmd.c: New file.
1040 * gdb.guile/scm-cmd.exp: New file.
1042 2014-06-02 Doug Evans <xdje42@gmail.com>
1044 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1045 pretty-printer lookup.
1046 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1047 (make-pp_s-printer): Call it.
1048 (make-pretty-printer-from-dict): New function.
1049 (lookup-pretty-printer-maker-from-dict): New function.
1050 (*pretty-printer*): Simplify.
1051 (make-objfile-pp_s-printer): New function.
1052 (install-objfile-pretty-printers!): New function.
1053 (make-progspace-pp_s-printer): New function.
1054 (install-progspace-pretty-printers!): New function.
1055 * gdb.guile/scm-progspace.c: New file.
1056 * gdb.guile/scm-progspace.exp: New file.
1058 2014-06-02 Pedro Alves <palves@redhat.com>
1060 * gdb.base/dprintf-bp-same-addr.c: New file.
1061 * gdb.base/dprintf-bp-same-addr.exp: New file.
1063 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1065 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1066 * gdb.arch/powerpc-power.s: Likewise.
1068 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1070 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1072 2014-06-01 Yao Qi <yao@codesourcery.com>
1074 * gdb.base/watchpoint.exp (test_watch_location): Check null
1075 pointer can be dereferenced. If not, do the test, otherwise
1078 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1080 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1082 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1084 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1086 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1087 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1088 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1089 * gdb.arch/amd64-invalid-stack-top.c: New file.
1090 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1092 2014-05-30 Pedro Alves <palves@redhat.com>
1094 PR breakpoints/17000
1095 * gdb.base/sss-bp-on-user-bp.c: New file.
1096 * gdb.base/sss-bp-on-user-bp.exp: New file.
1098 2014-05-30 David Blaikie <dblaikie@gmail.com>
1100 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1101 gnu_inline semantics via attribute.
1102 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1103 source explicitly specifies the required semantics.
1105 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1107 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1109 2014-05-29 Pedro Alves <palves@redhat.com>
1110 Tom Tromey <tromey@redhat.com>
1112 * gdb.base/async-shell.exp: Don't enable target-async.
1113 * gdb.base/async.exp
1114 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1116 (top level): Don't test with "target-async".
1117 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1118 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1119 * gdb.base/inferior-died.exp: Don't enable target-async.
1120 * gdb.base/interrupt-noterm.exp: Likewise.
1121 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1122 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1123 * gdb.mi/mi-nonstop.exp: Likewise.
1124 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1125 * gdb.mi/mi-nsintrall.exp: Likewise.
1126 * gdb.mi/mi-nsmoribund.exp: Likewise.
1127 * gdb.mi/mi-nsthrexec.exp: Likewise.
1128 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1129 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1130 * gdb.python/py-evsignal.exp: Don't enable target-async.
1131 * gdb.python/py-evthreads.exp: Likewise.
1132 * gdb.python/py-prompt.exp: Likewise.
1133 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1134 * gdb.server/solib-list.exp: Don't enable target-async.
1135 * gdb.threads/thread-specific-bp.exp: Likewise.
1136 * lib/mi-support.exp: Adjust to use mi-async.
1138 2014-05-29 Pedro Alves <palves@redhat.com>
1141 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1142 reason, even in sync mode.
1144 2014-05-29 Pedro Alves <palves@redhat.com>
1145 Hui Zhu <hui@codesourcery.com>
1148 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1149 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1150 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1151 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1153 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1155 * config/monitor.exp (gdb_target_monitor): Replace use of
1156 "set remotebaud" by "set serial baud".
1158 2014-05-26 Andy Wingo <wingo@igalia.com>
1160 * gdb.guile/scm-breakpoint.exp:
1161 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1162 properties instead of gdb-object-properties.
1164 2014-05-26 Yao Qi <yao@codesourcery.com>
1166 * gdb.server/no-thread-db.exp: Specify source file name
1167 explicitly when setting a breakpoint.
1169 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1171 * gdb.btrace/vdso.c: New.
1172 * gdb.btrace/vdso.exp: New.
1174 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1176 * gdb.base/gcore.exp (capture_command_output): Move ...
1177 * lib/gdb.exp (capture_command_output): ... here.
1179 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1181 * gdb.btrace/data.exp: Test memory access during btrace replay.
1183 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1185 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1187 2014-05-21 Pedro Alves <palves@redhat.com>
1190 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1191 (top level): Test that output related to execution commands is
1192 sent to the console with CLI commands, but not with MI commands.
1193 Test that breakpoint events are always mirrored to the console.
1194 Also expect the new source line to be output after a "next" in
1195 async mode too. Make it a pass/fail test.
1196 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1198 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1200 2014-05-21 Pedro Alves <palves@redhat.com>
1202 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1203 Use them to test variations of "list" after reaching a breakpoint.
1204 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1205 Test "list" with listsize 10 after reaching a breakpoint.
1206 * gdb.python/python.exp (decode_line current location line
1207 number): Adjust expected line number.
1209 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1211 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1212 behavior for $args, pass it directly to "run".
1214 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1216 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1219 2014-05-21 Pedro Alves <palves@redhat.com>
1221 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1222 auto-connect-native-target off".
1223 * gdb.base/auto-connect-native-target.c: New file.
1224 * gdb.base/auto-connect-native-target.exp: New file.
1226 2014-05-21 Pedro Alves <palves@redhat.com>
1228 * gdb.base/default.exp: Test "target native" instead of "target
1231 2014-05-21 Mark Wielaard <mjw@redhat.com>
1233 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1235 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1237 Fix TLS access for -static -pthread.
1238 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1239 <HAVE_TLS> (thread_function, main): Initialize it.
1240 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1242 <$have_tls != "">: Check TLSVAR.
1244 2014-05-21 Pedro Alves <palves@redhat.com>
1246 * gdb.base/dcache-line-read-error.c: New.
1247 * gdb.base/dcache-line-read-error.exp: New.
1249 2014-05-20 Pedro Alves <palves@redhat.com>
1251 * gdb.base/compare-sections.c: New file.
1252 * gdb.base/compare-sections.exp: New file.
1254 2014-05-20 Pedro Alves <palves@redhat.com>
1256 * gdb.base/break-idempotent.c: New file.
1257 * gdb.base/break-idempotent.exp: New file.
1259 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1261 * gdb.btrace/nohist.exp: New.
1263 2014-05-20 Yao Qi <yao@codesourcery.com>
1265 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1266 gdb.reverse directory and gdb_reverse_timeout exists in board
1268 * README: Document gdb_reverse_timeout.
1270 2014-05-20 Yao Qi <yao@codesourcery.com>
1272 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1273 'test_file_name'. Treat args as a string instead of a list.
1274 (gdb_init): Rename argument 'args' by 'test_file_name'.
1276 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1278 * gdb.arch/powerpc-power.exp: New file.
1279 * gdb.arch/powerpc-power.s: New file.
1281 2014-05-16 Doug Evans <dje@google.com>
1283 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
1284 * gdb.base/completion.exp: Check that all expected files exist
1285 before doing file completion.
1287 2014-05-16 Doug Evans <dje@google.com>
1289 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1291 (do_syscall_tests_without_xml): Update.
1293 2014-05-16 Pedro Alves <palves@redhat.com>
1295 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1296 instead of "unknown output after running".
1298 2014-05-16 Yao Qi <yao@codesourcery.com>
1300 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1301 file1.txt from host at the end.
1302 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1304 2014-05-15 Doug Evans <dje@google.com>
1306 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1307 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1308 loading file. Add test for TU lookup.
1310 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1312 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1313 calling "-exec-arguments" or "set args" before running the
1316 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1318 * lib/mi-support.exp (mi_expect_stop): Expect message for
1319 inferiors that exit with non-zero exit code.
1321 2014-05-14 Yao Qi <yao@codesourcery.com>
1323 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1324 match absolute path on remote host.
1325 (test_file_list_exec_source_files): Remove "/" from the
1328 2014-05-14 Yao Qi <yao@codesourcery.com>
1330 * boards/local-remote-host-notty.exp (${board}_file): New
1333 2014-05-07 Kyle McMartin <kyle@redhat.com>
1335 Pushed by Joel Brobecker <brobecker@adacore.com>.
1336 * gdb.arch/aarch64-atomic-inst.c: New file.
1337 * gdb.arch/aarch64-atomic-inst.exp: New file.
1339 2014-05-07 Yao Qi <yao@codesourcery.com>
1341 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1342 in current context" too.
1344 2014-05-05 Keith Seitz <keiths@redhat.com>
1346 * gdb.linespec/ls-dollar.exp: Add test for linespec
1347 file:convenience_variable.
1349 2014-05-05 Yao Qi <yao@codesourcery.com>
1351 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
1352 traceframes into tfile and ctf trace files. Read data from
1353 trace file and test collected data.
1354 (gdb_collect_locals_test): Likewise.
1355 (gdb_unavailable_registers_test): Likewise.
1356 (gdb_unavailable_floats): Likewise.
1357 (gdb_collect_globals_test): Likewise.
1358 (top-level): Append "ctf" to trace_file_targets if GDB
1361 2014-05-05 Yao Qi <yao@codesourcery.com>
1363 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
1365 (gdb_collect_args_test_1): ... it. New proc.
1366 (gdb_collect_locals_test): Move some code to ...
1367 (gdb_collect_locals_test_1): ... it. New proc.
1368 (gdb_unavailable_registers_test): Move some code to ...
1369 (gdb_unavailable_registers_test_1): ... it. New proc.
1370 (gdb_unavailable_floats): Move some code to ...
1371 (gdb_unavailable_floats_1): ... it. New proc.
1373 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1375 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
1376 probes to test for bitness recognition.
1377 * gdb.arch/amd64-stap-optional-prefix.exp
1378 (test_probe_value_without_reg): New procedure.
1379 Add code to test for different kinds of bitness.
1381 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1383 PR breakpoints/16889
1384 * gdb.arch/amd64-stap-optional-prefix.S: New file.
1385 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1387 2014-05-01 Pedro Alves <palves@redhat.com>
1389 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
1390 gdb_file_cmd if no file is specified.
1391 * boards/native-extended-gdbserver.exp (gdb_load): Use the
1392 last_loaded_file to set the remote exec-file.
1394 2014-05-01 Pedro Alves <palves@redhat.com>
1396 * boards/local-remote-host.exp: New file.
1398 2014-05-01 Pedro Alves <palves@redhat.com>
1400 * boards/local-remote-host.exp: Rename to ...
1401 * boards/local-remote-host-notty.exp: ... this.
1403 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1405 * gdb.ada/dyn_arrayidx: New testcase.
1407 2014-04-26 Yao Qi <yao@codesourcery.com>
1409 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
1410 and compute the length of function main. Save it in
1412 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
1413 (top-level): Use gdb_compile to compile objects into
1414 executable and restart GDB. Remove invocation to
1415 prepare_for_testing.
1417 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
1418 Pedro Alves <palves@redhat.com>
1421 * gdb.multi/multi-attach.c: New file.
1422 * gdb.multi/multi-attach.exp: New file.
1424 2014-04-25 Pedro Alves <palves@redhat.com>
1426 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
1428 (top level): Test that "set remote conditional-breakpoints-packet
1429 off" works as intended.
1430 * gdb.base/dprintf.exp: Test that "set remote
1431 breakpoint-commands-packet off" works as intended.
1432 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
1434 (top level): Call it.
1435 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
1436 remote fast-tracepoints-packet off" works as intended.
1437 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
1438 * lib/gdb.exp (gdb_is_target_remote): ... here.
1440 2014-04-24 David Blaikie <dblaikie@gmail.com>
1442 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
1443 ensure clang would not discard them.
1444 * gdb.base/gdbvars.c: Ditto.
1445 * gdb.base/memattr.c: Ditto.
1446 * gdb.base/whatis.c: Ditto.
1447 * gdb.python/py-prettyprint.c: Ditto.
1448 * gdb.trace/actions.c: Ditto.
1449 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
1450 ensure clang would not discard it.
1452 2014-04-24 David Blaikie <dblaikie@gmail.com>
1454 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1455 clang to emit the full definition of type required by the test
1456 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1458 2014-04-24 David Blaikie <dblaikie@gmail.com>
1460 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1461 coax Clang into emitting the definition of the type.
1462 * gdb.cp/pr10728-x.h (y): Ditto.
1463 * gdb.cp/pr10728-y.cc (y): Ditto.
1465 2014-04-24 David Blaikie <dblaikie@gmail.com>
1467 * gdb.base/label.exp: XFAIL label related tests under Clang.
1468 * gdb.cp/cplabel.exp: Ditto.
1469 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
1470 under Clang those using labels.
1472 2014-04-25 Yao Qi <yao@codesourcery.com>
1474 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
1476 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
1477 partial_label and double_label.
1479 2014-04-24 David Blaikie <dblaikie@gmail.com>
1481 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
1483 2014-04-24 David Blaikie <dblaikie@gmail.com>
1485 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
1486 of the function to work across GCC and Clang.
1487 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
1488 pointer types (const void ** const V void **).
1490 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
1491 Walfred Tedeschi <walfred.tedeschi@intel.com>
1493 * Makefile.in (EXECUTABLES): Added i386-avx512.
1494 * gdb.arch/i386-avx512.c: New file.
1495 * gdb.arch/i386-avx512.exp: Likewise.
1497 2014-04-23 Keith Seitz <keiths@redhat.com>
1499 * lib/mi-support.exp (mi_list_breakpoints): Delete.
1500 (mi_make_breakpoint_table): New procedure.
1501 (mi_create_breakpoint): Use mi_make_breakpoint
1502 and return the result.
1503 (mi_make_breakpoint): New procedure.
1504 (mi_build_kv_pairs): New procedure.
1506 * gdb.mi/mi-break.exp: Remove unused globals,
1507 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
1508 All callers updated.
1509 * gdb.mi/mi-dprintf.exp: Use variable to track command
1511 Update all callers of mi_create_breakpoint and use
1512 mi_make_breakpoint_table.
1513 Remove any unused global variables.
1514 * gdb.mi/mi-nonstop.exp: Likewise.
1515 * gdb.mi/mi-nsintrall.exp: Likewise.
1516 * gdb.mi/mi-nsmoribund.exp: Likewise.
1517 * gdb.mi/mi-nsthrexec.exp: Likewise.
1518 * gdb.mi/mi-reverse.exp: Likewise.
1519 * gdb.mi/mi-simplerun.exp: Likewise.
1520 * gdb.mi/mi-stepn.exp: Likewise.
1521 * gdb.mi/mi-syn-frame.exp: Likewise.
1522 * gdb.mi/mi-until.exp: Likewise.
1523 * gdb.mi/mi-var-cp.exp: Likewise.
1524 * gdb.mi/mi-var-display.exp: Likewise.
1525 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1526 * gdb.mi/mi2-var-child.exp: Likewise.
1527 * gdb.mi/mi-vla-c99.exp: Likewise.
1528 * lib/mi-support.exp: Likewise.
1530 From Ian Lance Taylor <iant@cygnus.com>:
1531 * lib/gdb.exp (parse_args): New procedure.
1533 2014-04-23 Pedro Alves <palves@redhat.com>
1535 * gdb.base/break-unload-file.c: New file.
1536 * gdb.base/break-unload-file.exp: New file.
1537 * gdb.base/sym-file-lib.c (baz): New function.
1538 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
1540 (load): Store the segment's mapped size.
1541 (unload): New function.
1542 (unload_shlib): New function.
1543 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
1544 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
1545 set a breakpoint at baz, and call it.
1546 * gdb.base/sym-file.exp: New tests for stale breakpoint
1549 2014-04-23 Pedro Alves <palves@redhat.com>
1551 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
1552 * gdb.base/hbreak-in-shr-unsupported.c: New file.
1553 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
1554 * gdb.base/hbreak-unmapped.c: New file.
1555 * gdb.base/hbreak-unmapped.exp: New file.
1556 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
1557 * lib/gdb.exp (gdb_is_target_remote): ... here.
1559 2014-04-22 Pedro Alves <palves@redhat.com>
1561 * gdb.base/consecutive-step-over.c: New file.
1562 * gdb.base/consecutive-step-over.exp: New file.
1564 2014-04-22 Pedro Alves <palves@redhat.com>
1566 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
1567 instead of send_gdb/gdb_expect.
1569 2014-04-22 Yao Qi <yao@codesourcery.com>
1571 * lib/trace-support.exp (generate_tracefile): New procedure.
1572 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
1574 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
1575 if generate_tracefile returns 1.
1577 2014-04-18 Tom Tromey <palves@redhat.com>
1578 Pedro alves <tromey@redhat.com>
1581 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
1582 with a backtrace limit.
1583 * gdb.python/py-frame-inline.exp: Test running to an inline
1584 function with a backtrace limit, and printing the newest frame.
1585 * gdb.python/py-frame-inline.c (main): Call f.
1587 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1589 * gdb.java/jnpe.exp: Drop srcdir from untested path.
1591 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1593 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
1594 Drop prefix from unsupported source file path.
1596 2014-04-17 Yao Qi <yao@codesourcery.com>
1598 * lib/gdb.exp (with_target_charset): New proc.
1599 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
1600 with_target_charset.
1601 (test_print_strings): Likewise.
1602 (test_repeat_bytes): Likewise.
1603 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
1606 2014-04-16 Keith Seitz <keiths@redhat.com>
1609 * gdb.dwarf2/corrupt.c: New file.
1610 * gdb.dwarf2/corrupt.exp: New file.
1612 2014-04-16 Keith Seitz <keiths@redhat.com>
1615 * gdb.cp/namelessclass.cc: New file.
1616 * gdb.cp/namelessclass.exp: New file.
1617 * gdb.cp/namelessclass.S: New file.
1619 2014-04-16 Doug Evans <dje@google.com>
1621 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
1623 (gdbserver_default_get_comm_port): New function.
1624 (gdbserver_start): Check if board file provided
1625 "gdbserver,get_comm_port" and use it if so.
1626 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
1627 (gdb,socketport): Set to "stdio".
1628 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
1629 (stdio_gdbserver_template): Delete.
1630 (${board}_get_remote_address): Update.
1631 (${board}_build_remote_cmd): Delete.
1632 (${board}_get_comm_port): New function.
1633 (${board}_spawn): Update.
1634 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
1636 (${board}_get_remote_address): Update.
1637 (${board}_get_comm_port): New function.
1639 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
1641 * gdb.base/memattr.exp: Improve regexps to handle memory regions
1642 appearing in any order.
1644 2014-04-15 Doug Evans <dje@google.com>
1646 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
1647 uninitialized value of "description".
1649 2014-04-15 Keith Seitz <keiths@redhat.com>
1651 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
1652 Remove unused globals.
1653 (test_running_the_program): Likewise.
1654 (test_controlled_execution): Likewise.
1655 (test_controlling_breakpoints): Likewise.
1656 (test_program_termination): Likewise.
1658 2014-04-15 Keith Seitz <keiths@redhat.com>
1660 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
1662 (test_rbreak_creation_and_listing): Likewise.
1663 (test_ignore_count): Likewise.
1664 (test_error): Likewise.
1666 2014-04-15 Pedro Alves <palves@redhat.com>
1668 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
1669 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
1671 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1672 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1673 to sym-file-loader.c.
1674 (struct library): Forward declare.
1675 (load_shlib, lookup_function): Change prototypes.
1676 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1677 (translate_offset): Remove declarations.
1678 (get_text_addr): New declaration.
1679 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
1680 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
1682 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1683 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1684 here from sym-file-loader.h.
1685 (struct library): New structure.
1686 (load_shlib, lookup_function): Change prototypes and adjust to
1687 work with a struct library.
1688 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1689 (translate_offset): Make static.
1690 (get_text_addr): New function.
1691 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
1693 2014-04-15 Pedro Alves <palves@redhat.com>
1695 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
1697 2014-04-15 Pedro Alves <palves@redhat.com>
1699 * gdb.base/sym-file-loader.c: Include <limits.h>.
1700 (SELF_LINK): New define.
1701 (get_origin): New function.
1702 (load_shlib): Use it.
1703 * gdb.base/sym-file.exp: Don't early return if the target is
1704 remote. Use runto_main, and issue fail is that fails. Use
1706 (shlib_name): Delete.
1707 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
1709 2014-04-15 Pedro Alves <palves@redhat.com>
1711 * gdb.base/sym-file.exp: Remove regex characters from test
1712 message. Don't refer to breakpoint numbers in test messages.
1714 2014-04-14 Keith Seitz <keiths@redhat.com>
1717 * gdb.cp/var-tag.cc: New file.
1718 * gdb.cp/var-tag.exp: New file.
1719 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1720 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1721 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1722 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1724 2014-04-14 Tom Tromey <tromey@redhat.com>
1726 * gdb.cp/classes.exp (test_enums): Handle underlying type.
1727 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
1729 * gdb.cp/enum-class.exp: New file.
1730 * gdb.cp/enum-class.cc: New file.
1732 2014-04-14 Tom Tromey <tromey@redhat.com>
1734 * gdb.dwarf2/enum-type.exp: New file.
1736 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1738 * gdb.mi/mi-vla-c99.exp: New file.
1739 * gdb.mi/vla.c: New file.
1741 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1743 * gdb.base/vla-datatypes.c: New file.
1744 * gdb.base/vla-datatypes.exp: New file.
1746 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1748 * gdb.base/vla-ptr.c: New file.
1749 * gdb.base/vla-ptr.exp: New file.
1751 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1753 * gdb.dwarf2/count.exp: New file.
1755 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1757 * gdb.base/vla-sideeffect.c: New file.
1758 * gdb.base/vla-sideeffect.exp: New file.
1760 2014-04-14 David Blaikie <dblaikie@gmail.com>
1762 * gdb.mi/non-stop.c: Add return value for non-void function return
1764 * gdb.threads/staticthreads.c: Ditto.
1766 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
1767 Doug Evans <xdje42@gmail.com>
1769 * gdb.guile/scm-value.c: Improve test case.
1770 * gdb.guile/scm-value.exp: Add new test.
1772 2014-04-11 David Blaikie <dblaikie@gmail.com>
1774 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
1775 override Clang's default.
1777 2014-04-11 Joel Brobecker <brobecker@adacore.com>
1779 Revert the following changes (regressions):
1781 * gdb.base/vla-sideeffect.c: New file.
1782 * gdb.base/vla-sideeffect.exp: New file.
1784 * gdb.dwarf2/count.exp: New file.
1786 * gdb.base/vla-multi.c: New file.
1787 * gdb.base/vla-multi.exp: New file.
1789 * gdb.base/vla-ptr.c: New file.
1790 * gdb.base/vla-ptr.exp: New file.
1792 * gdb.base/vla-datatypes.c: New file.
1793 * gdb.base/vla-datatypes.exp: New file.
1795 * gdb.mi/mi-vla-c99.exp: New file.
1796 * gdb.mi/vla.c: New file.
1798 2014-04-11 Keith Seitz <keiths@redhat.com>
1801 * gdb.cp/cpsizeof.exp: New file.
1802 * gdb.cp/cpsizeof.cc: New file.
1804 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1806 * gdb.mi/mi-vla-c99.exp: New file.
1807 * gdb.mi/vla.c: New file.
1809 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1811 * gdb.base/vla-datatypes.c: New file.
1812 * gdb.base/vla-datatypes.exp: New file.
1814 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1816 * gdb.base/vla-ptr.c: New file.
1817 * gdb.base/vla-ptr.exp: New file.
1819 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1821 * gdb.base/vla-multi.c: New file.
1822 * gdb.base/vla-multi.exp: New file.
1824 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1826 * gdb.dwarf2/count.exp: New file.
1828 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1830 * gdb.base/vla-sideeffect.c: New file.
1831 * gdb.base/vla-sideeffect.exp: New file.
1833 2014-04-11 Yao Qi <yao@codesourcery.com>
1835 * gdb.base/completion.exp: Check file exists before running tests
1838 2014-04-10 Pedro Alves <palves@redhat.com>
1840 * gdb.base/cond-eval-mode.c: New file.
1841 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
1842 prepare_for_testing to build the new file. Check result of
1844 (test_break, test_watch): New procedures.
1845 (top level): Use them.
1847 2014-04-08 Pierre Muller <muller@sourceware.org>
1849 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
1850 Ctrl-V use for mingw hosts.
1852 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
1854 * gdb.python/py-value.c: Improve test case.
1855 * gdb.python/py-value.exp: Add new test.
1857 2014-04-07 David Blaikie <dblaikie@gmail.com>
1859 * lib/compiler.c: Identify the clang compiler.
1860 * lib/compiler.cc: Ditto.
1862 2014-04-03 Yao Qi <yao@codesourcery.com>
1864 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
1866 2014-04-01 Anton Blanchard <anton@samba.org>
1868 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
1871 2014-04-01 Anton Blanchard <anton@samba.org>
1873 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
1874 prepare_for_testing.
1876 2014-04-01 Anton Blanchard <anton@samba.org>
1878 * gdb.arch/ppc64-atomic-inst.c: Remove.
1879 * gdb.arch/ppc64-atomic-inst.S: New file.
1880 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
1882 2014-03-31 Doug Evans <dje@google.com>
1884 * gdb.base/print-symbol-loading-lib.c: New file.
1885 * gdb.base/print-symbol-loading-main.c: New file.
1886 * gdb.base/print-symbol-loading.exp: New file.
1888 2014-03-31 Yao Qi <yao@codesourcery.com>
1890 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
1892 2014-03-28 Joel Brobecker <brobecker@adacore.com>
1894 * gdb.ada/mi_dyn_arr: New testcase.
1896 2014-03-27 Doug Evans <dje@google.com>
1898 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
1900 2014-03-27 Yao Qi <yao@codesourcery.com>
1902 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
1903 if target is nios2-*-*.
1905 2014-03-26 Yao Qi <yao@codesourcery.com>
1907 * lib/gdb.exp (readline_is_used): New proc.
1908 * gdb.base/completion.exp: Move tests on command complete up.
1909 Skip the rest of tests if readline is not used.
1910 * gdb.ada/complete.exp: Skp the test if readline is not
1912 * gdb.base/filesym.exp: Likewise.
1913 * gdb.base/macscp.exp: Likewise.
1914 * gdb.base/readline-ask.exp: Likewise.
1915 * gdb.base/readline.exp: Likewise.
1916 * gdb.python/py-cmd.exp: Likewise.
1917 * gdb.trace/tfile.exp: Likewise.
1919 2014-03-26 Yao Qi <yao@codesourcery.com>
1921 * gdb.base/macscp.exp: Fix code format issues.
1923 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
1925 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
1926 * gdb.asm/powerpc64le.inc: New file.
1928 2014-03-25 Pedro Alves <palves@redhat.com>
1929 Doug Evans <dje@google.com>
1931 * gdb.base/source-execution.c: New file.
1932 * gdb.base/source-execution.exp: New file.
1933 * gdb.base/source-execution.gdb: New file.
1935 2014-03-24 Doug Evans <dje@google.com>
1937 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
1940 2014-03-24 Hui Zhu <hui@codesourcery.com>
1941 Pedro Alves <palves@redhat.com>
1943 PR breakpoints/16101
1944 * gdb.base/dprintf.exp: Use unsupported rather than changing the
1945 test pass/fail messages. Detect missing support for dprintf when
1946 breakpoints are actually inserted.
1947 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
1948 breakpoints are actually inserted.
1949 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
1952 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1954 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
1956 2014-03-22 Doug Evans <xdje42@gmail.com>
1958 * gdb.python/python.exp (python not supported): Verify multi-line
1959 python command issues an error.
1960 * gdb.guile/guile.exp (guile not supported): Verify multi-line
1961 guile command issues an error.
1963 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
1965 * gdb.threads/thread-specific.exp: Handle the lack of usable
1966 $this_breakpoint and $this_thread.
1968 2014-03-21 Hui Zhu <hui@codesourcery.com>
1970 * gdb.base/attach.exp (do_command_attach_tests): New.
1972 2014-03-20 Tom Tromey <tromey@redhat.com>
1973 Pedro Alves <palves@redhat.com>
1976 * gdb.base/condbreak-call-false.c: New file.
1977 * gdb.base/condbreak-call-false.exp: New file.
1979 2014-03-20 Pedro Alves <palves@redhat.com>
1981 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
1983 (block_signals, unblock_signals): Delete.
1984 (child_function_2, main): Remove references to deleted variable
1987 2014-03-20 Pedro Alves <palves@redhat.com>
1989 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
1990 Use pthread_kill to signal thread 2.
1991 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1992 Adjust to make the test send itself a signal rather than using the
1993 host's "kill" command.
1995 2014-03-20 Pedro Alves <palves@redhat.com>
1997 * gdb.threads/multiple-step-overs.c: New file.
1998 * gdb.threads/multiple-step-overs.exp: New file.
1999 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2000 Adjust expected infrun debug output.
2002 2014-03-20 Pedro Alves <palves@redhat.com>
2004 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2005 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2007 2014-03-20 Pedro Alves <palves@redhat.com>
2010 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2011 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2012 of gdb_test_multiple.
2013 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2014 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2016 2014-03-20 Pedro Alves <palves@redhat.com>
2018 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2019 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2021 2014-03-19 Pedro Alves <palves@redhat.com>
2023 * gdb.base/async.exp: Remove early return.
2025 2014-03-19 Pedro Alves <palves@redhat.com>
2027 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2029 2014-03-19 Pedro Alves <palves@redhat.com>
2031 * gdb.base/async.exp (test_background): Expect \r\n after
2032 "completed." in the fail pattern.
2034 2014-03-19 Pedro Alves <palves@redhat.com>
2036 * gdb.base/async.exp (test_background): New procedure.
2037 Use it for all background execution command tests.
2039 2014-03-19 Pedro Alves <palves@redhat.com>
2041 * gdb.base/async.exp: Use prepare_for_testing.
2043 2014-03-19 Pedro Alves <palves@redhat.com>
2045 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2048 2014-03-19 Pedro Alves <palves@redhat.com>
2050 * gdb.base/async.c (main): Add "jump here" and "until here" line
2052 * gdb.base/async.exp (jump_here): New global.
2053 (jump& test): Use it.
2054 (until_here): New global.
2055 (until& test): Use it.
2057 2014-03-19 Pedro Alves <palves@redhat.com>
2059 * gdb.base/async.exp: Don't frob gdb_protocol.
2061 2014-03-18 Doug Evans <xdje42@gmail.com>
2063 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2064 Fix spelling of exec-done-display.
2066 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2069 * gdb.base/gdb-sigterm.c: New file.
2070 * gdb.base/gdb-sigterm.exp: New file.
2072 2014-03-18 Pedro Alves <palves@redhat.com>
2075 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2076 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2079 2014-03-17 Joel Brobecker <brobecker@adacore.com>
2081 * gdb.ada/pckd_arr_ren: New testcase.
2083 2014-03-13 Doug Evans <xdje42@gmail.com>
2086 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2087 collect after discarding symbols.
2089 2014-03-13 Ludovic Courtès <ludo@gnu.org>
2090 Doug Evans <xdje42@gmail.com>
2092 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2093 to history survives a gc.
2095 2014-03-13 Pedro Alves <palves@redhat.com>
2097 * gdb.base/default.exp: Don't test "target procfs".
2099 2014-03-13 Pedro Alves <palves@redhat.com>
2101 * gdb.base/default.exp: Update "target child" and "target procfs"
2102 tests to not expect "Unix".
2104 2014-03-12 Tom Tromey <tromey@redhat.com>
2106 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2107 New procs. Add target-async tests.
2108 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2109 Add target-async tests.
2111 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2113 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2114 'func_start' and 'func_end' for the beginning and end of the
2115 function code, respectively.
2116 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2117 'func_end' instead of 'func' and 'main'.
2119 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2121 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2122 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2123 generate the debug info assembler source.
2125 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2127 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2128 * gdb.dwarf2/arr-subrange.exp: Likewise.
2129 * gdb.dwarf2/dwz.exp: Likewise.
2130 * gdb.dwarf2/method-ptr.exp: Likewise.
2131 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2132 * gdb.dwarf2/subrange.exp: Likewise.
2133 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2134 * gdb.dwarf2/implptrpiece.exp: Likewise.
2135 * gdb.dwarf2/nostaticblock.exp: Likewise.
2137 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2139 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2140 directory to absolute path name arguments.
2142 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2144 * gdb.ada/tagged_access: New testcase.
2146 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2148 * gdb.btrace/data.exp: Update expected output.
2150 2014-03-06 Yao Qi <yao@codesourcery.com>
2152 * gdb.trace/pr16508.exp: New file.
2154 2014-03-05 Pedro Alves <palves@redhat.com>
2157 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2159 (top level): Adjust to use it. Add tests that exercise breakpoint
2160 interaction with the code-cache.
2162 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2164 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2165 test for 'history-append!'.
2167 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2169 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2170 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2171 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2172 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2173 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2174 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2176 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2178 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2179 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2180 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2182 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2184 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2186 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2188 * gdb.dwarf2/arr-stride.c: New file.
2189 * gdb.dwarf2/arr-stride.exp: New file.
2191 2014-02-26 Pedro Alves <palves@redhat.com>
2193 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2194 that won't ever trigger. Make sure that GDB reports the correct
2195 breakpoint that caused the stop.
2197 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2200 * gdb.base/auto-load-script: New file.
2201 * gdb.base/auto-load.c: New file.
2202 * gdb.base/auto-load.exp: New file.
2205 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2207 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2209 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2210 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2212 2014-02-24 Doug Evans <dje@google.com>
2214 * lib/gdb.exp (run_on_host): Log error output if program fails.
2216 2014-02-21 Pedro Alves <palves@redhat.com>
2218 * gdb.threads/step-after-sr-lock.c: Rename to ...
2219 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2220 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2221 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2224 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2227 * gdb.arch/amd64-stap-special-operands.exp: New file.
2228 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2229 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2230 * gdb.arch/amd64-stap-triplet.S: Likewise.
2231 * gdb.arch/amd64-stap-triplet.c: Likewise.
2233 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2235 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2236 in .section pseudo-op.
2238 2014-02-20 lin zuojian <manjian2006@gmail.com>
2239 Joel Brobecker <brobecker@adacore.com>
2240 Doug Evans <xdje42@gmail.com>
2243 * gdb.dwarf2/dw2-icycle.S: New file.
2244 * gdb.dwarf2/dw2-icycle.c: New file.
2245 * gdb.dwarf2/dw2-icycle.exp: New file.
2247 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2249 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2250 operations on gdb.Value objects.
2251 * gdb.python/py-value-cc.exp: Add new test to test operations on
2254 2014-02-18 Doug Evans <dje@google.com>
2256 * Makefile.in (TESTS): New variable.
2257 (expanded_tests, expanded_tests_or_none): New variables
2258 (check-single): Pass $(expanded_tests_or_none) to runtest.
2259 (check-parallel): Only run tests in $(TESTS) if non-empty.
2260 (check/no-matching-tests-found): New rule.
2261 * README: Document TESTS makefile variable.
2263 2014-02-18 Doug Evans <dje@google.com>
2265 * Makefile.in (check-parallel): rm -rf outputs temp.
2267 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2269 Fix "ERROR: no fileid for" in the testsuite.
2270 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2272 2014-02-12 Doug Evans <dje@google.com>
2274 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2275 (MISCELLANEOUS): New variable.
2276 (clean): rm -rf $(MISCELLANEOUS).
2277 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2278 dwp live in the same directory as symlinks, with each symlink pointed
2279 to a differently named file in a different directory.
2281 2014-02-11 Doug Evans <dje@google.com>
2283 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2284 of Tcl file commands.
2286 2014-02-10 Mark Kettenis <kettenis@gnu.org>
2288 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2291 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2293 * gdb.ada/tick_length_array_enum_idx: New testcase.
2295 2014-02-10 Doug Evans <xdje42@gmail.com>
2297 * configure.ac (AC_OUTPUT): Add gdb.guile.
2298 * configure: Regenerate.
2299 * lib/gdb-guile.exp: New file.
2300 * lib/gdb.exp (get_target_charset): New function.
2301 * gdb.base/help.exp: Update expected output from "apropos apropos".
2302 * gdb.guile/Makefile.in: New file.
2303 * gdb.guile/guile.exp: New file.
2304 * gdb.guile/scm-arch.c: New file.
2305 * gdb.guile/scm-arch.exp: New file.
2306 * gdb.guile/scm-block.c: New file.
2307 * gdb.guile/scm-block.exp: New file.
2308 * gdb.guile/scm-breakpoint.c: New file.
2309 * gdb.guile/scm-breakpoint.exp: New file.
2310 * gdb.guile/scm-disasm.c: New file.
2311 * gdb.guile/scm-disasm.exp: New file.
2312 * gdb.guile/scm-equal.c: New file.
2313 * gdb.guile/scm-equal.exp: New file.
2314 * gdb.guile/scm-error.exp: New file.
2315 * gdb.guile/scm-error.scm: New file.
2316 * gdb.guile/scm-frame-args.c: New file.
2317 * gdb.guile/scm-frame-args.exp: New file.
2318 * gdb.guile/scm-frame-args.scm: New file.
2319 * gdb.guile/scm-frame-inline.c: New file.
2320 * gdb.guile/scm-frame-inline.exp: New file.
2321 * gdb.guile/scm-frame.c: New file.
2322 * gdb.guile/scm-frame.exp: New file.
2323 * gdb.guile/scm-generics.exp: New file.
2324 * gdb.guile/scm-gsmob.exp: New file.
2325 * gdb.guile/scm-iterator.c: New file.
2326 * gdb.guile/scm-iterator.exp: New file.
2327 * gdb.guile/scm-math.c: New file.
2328 * gdb.guile/scm-math.exp: New file.
2329 * gdb.guile/scm-objfile-script-gdb.in: New file.
2330 * gdb.guile/scm-objfile-script.c: New file.
2331 * gdb.guile/scm-objfile-script.exp: New file.
2332 * gdb.guile/scm-objfile.c: New file.
2333 * gdb.guile/scm-objfile.exp: New file.
2334 * gdb.guile/scm-ports.exp: New file.
2335 * gdb.guile/scm-pretty-print.c: New file.
2336 * gdb.guile/scm-pretty-print.exp: New file.
2337 * gdb.guile/scm-pretty-print.scm: New file.
2338 * gdb.guile/scm-section-script.c: New file.
2339 * gdb.guile/scm-section-script.exp: New file.
2340 * gdb.guile/scm-section-script.scm: New file.
2341 * gdb.guile/scm-symbol.c: New file.
2342 * gdb.guile/scm-symbol.exp: New file.
2343 * gdb.guile/scm-symtab-2.c: New file.
2344 * gdb.guile/scm-symtab.c: New file.
2345 * gdb.guile/scm-symtab.exp: New file.
2346 * gdb.guile/scm-type.c: New file.
2347 * gdb.guile/scm-type.exp: New file.
2348 * gdb.guile/scm-value-cc.cc: New file.
2349 * gdb.guile/scm-value-cc.exp: New file.
2350 * gdb.guile/scm-value.c: New file.
2351 * gdb.guile/scm-value.exp: New file.
2352 * gdb.guile/source2.scm: New file.
2353 * gdb.guile/types-module.cc: New file.
2354 * gdb.guile/types-module.exp: New file.
2356 2014-02-10 Yao Qi <yao@codesourcery.com>
2359 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
2360 * configure: Regenerated.
2361 * Makefile.in: New file.
2363 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2365 * gdb.python/py-framefilter.exp: Fix typo.
2367 2014-02-08 Yao Qi <yao@codesourcery.com>
2369 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
2370 that no =breakpoint-modified is emitted when breakpoints are
2371 modified through MI commands.
2373 2014-02-07 Pedro Alves <pedro@codesourcery.com>
2374 Pedro Alves <palves@redhat.com>
2376 * gdb.threads/step-after-sr-lock.c: New file.
2377 * gdb.threads/step-after-sr-lock.exp: New file.
2379 2014-02-07 Pedro Alves <palves@redhat.com>
2381 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
2383 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2385 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
2386 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
2388 2014-02-06 Doug Evans <xdje42@gmail.com>
2390 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
2393 * gdb.gdb/python-interrupts.exp: New file.
2395 2014-02-05 Yao Qi <yao@codesourcery.com>
2397 * gdb.trace/report.exp (use_collected_data): Test the output
2398 of "info threads" and "info inferiors".
2400 2014-02-05 Yao Qi <yao@codesourcery.com>
2404 2013-05-24 Yao Qi <yao@codesourcery.com>
2406 * gdb.trace/tfile.exp: Test inferior and thread.
2408 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2410 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
2412 * gdb.base/step-bt.c: Call hello via function pointer to make
2413 sure its first instruction is executed on powerpc64le-linux.
2415 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2417 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
2419 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2421 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
2422 of the test patterns for use on little-endian systems.
2424 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2426 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
2427 (decimal_vector): Fix for little-endian.
2429 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2431 * gdb.arch/sparc-sysstep.exp: New file.
2432 * gdb.arch/sparc-sysstep.c: Likewise.
2434 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
2436 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2438 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2440 2014-01-23 Tom Tromey <tromey@redhat.com>
2442 * gdb.ada/array_char_idx: New testcase.
2444 2014-01-23 Tom Tromey <tromey@redhat.com>
2447 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
2448 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2451 2014-01-23 Tom Tromey <tromey@redhat.com>
2454 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2455 string from an inferior frame.
2456 * gdb.python/py-framefilter-mi.exp: Update.
2458 2014-01-22 Doug Evans <dje@google.com>
2460 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2462 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2464 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2466 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2468 * gdb.trace/entry-values.exp: Remove excess space character from
2469 regex patterns. Handle s390 call instruction.
2471 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2473 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
2474 define "*_start" label. Make "name" static.
2475 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
2476 ${name} by references to ${name}_start.
2478 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2480 * gdb.base/info-macros.exp: Remove "debug" from the compile
2483 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2485 * gdb.dlang/demangle.exp: New file.
2487 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2489 * gdb.dlang/primitive-types.exp: New file.
2491 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2493 * configure.ac: Create gdb.dlang/Makefile.
2494 * configure: Regenerate.
2495 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
2496 * gdb.dlang/Makefile.in: New file.
2497 * lib/d-support.exp: New file.
2498 * lib/gdb.exp (skip_d_tests): New proc.
2500 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2502 * gdb.btrace/delta.exp: Check reverse stepi.
2503 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
2504 * gdb.btrace/finish.exp: New.
2505 * gdb.btrace/next.exp: New.
2506 * gdb.btrace/nexti.exp: New.
2507 * gdb.btrace/record_goto.c: Add comments.
2508 * gdb.btrace/step.exp: New.
2509 * gdb.btrace/stepi.exp: New.
2510 * gdb.btrace/multi-thread-step.c: New.
2511 * gdb.btrace/multi-thread-step.exp: New.
2512 * gdb.btrace/rn-dl-bind.c: New.
2513 * gdb.btrace/rn-dl-bind.exp: New.
2514 * gdb.btrace/data.c: New.
2515 * gdb.btrace/data.exp: New.
2516 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2518 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2520 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
2521 * gdb.btrace/exception.exp: Update.
2522 * gdb.btrace/instruction_history.exp: Update.
2523 * gdb.btrace/record_goto.exp: Update.
2524 * gdb.btrace/tailcall.exp: Update.
2525 * gdb.btrace/unknown_functions.exp: Update.
2526 * gdb.btrace/delta.exp: New.
2528 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2530 * gdb.btrace/record_goto.exp: Add backtrace test.
2531 * gdb.btrace/tailcall.exp: Add backtrace test.
2533 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2535 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
2536 * gdb.btrace/record_goto.c: New.
2537 * gdb.btrace/record_goto.exp: New.
2538 * gdb.btrace/x86-record_goto.S: New.
2540 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2542 * gdb.btrace/function_call_history.exp: Update tests.
2543 * gdb.btrace/instruction_history.exp: Update tests.
2545 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2547 * gdb.btrace/function_call_history.exp: Fix expected field
2548 order for "record function-call-history".
2549 Add new tests for "record function-call-history /c".
2550 * gdb.btrace/exception.cc: New.
2551 * gdb.btrace/exception.exp: New.
2552 * gdb.btrace/tailcall.exp: New.
2553 * gdb.btrace/x86-tailcall.S: New.
2554 * gdb.btrace/x86-tailcall.c: New.
2555 * gdb.btrace/unknown_functions.c: New.
2556 * gdb.btrace/unknown_functions.exp: New.
2557 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2559 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2561 * gdb.btrace/instruction_history.exp: Update.
2562 * gdb.btrace/function_call_history.exp: Update.
2564 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2566 * gdb.btrace/function_call_history.exp: Fix expected function
2568 * gdb.btrace/instruction_history.exp: Initialize traced.
2569 Remove traced_functions.
2571 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2573 * gdb.btrace/function_call_history.exp: Update
2574 * gdb.btrace/instruction_history.exp: Update.
2576 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2578 * gdb.btrace/enable.exp: Update expected text.
2580 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
2582 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
2585 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
2587 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
2589 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2591 * lib/gdb.exp (supports_process_record): Return true for
2592 arm*-linux*. (supports_reverse): Likewise.
2594 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
2598 * gdb.python/py-type.c: Enhance test case.
2599 * gdb.python/py-value-cc.cc: Likewise
2600 * gdb.python/py-type.exp: Add new tests.
2601 * gdb.python/py-value-cc.exp: Likewise
2603 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2604 Pedro Alves <palves@redhat.com>
2606 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
2608 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
2609 references to ${name}_start by references to ${name}.
2611 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2613 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
2615 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2617 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
2619 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
2620 Pedro Alves <palves@redhat.com>
2622 * gdb.mi/mi-info-os.exp: Connect to the target with
2625 2014-01-08 Pedro Alves <palves@redhat.com>
2627 * gdb.threads/reconnect-signal.c: New file.
2628 * gdb.threads/reconnect-signal.exp: New file.
2630 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2632 * gdb.base/source-dir.exp: New file.
2634 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2636 * gdb.ada/mi_interface: New testcase.
2638 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2640 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
2641 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
2642 gdb.ada/pp-rec-component/pck.ads: New files.
2644 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2646 * gdb.python/py-pp-integral.c: New file.
2647 * gdb.python/py-pp-integral.py: New file.
2648 * gdb.python/py-pp-integral.exp: New file.
2650 For older changes see ChangeLog-1993-2013.
2656 ;; version-control: never
2659 Copyright 2014 Free Software Foundation, Inc.
2660 Copying and distribution of this file, with or without modification,
2661 are permitted provided the copyright notice and this notice are preserved.