1 2014-10-13 Doug Evans <dje@google.com>
3 * gdb.python/py-objfile.exp: Change name of file name test.
5 2014-10-13 Doug Evans <dje@google.com>
7 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
8 from the start of the CU.
10 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11 Yao Qi <yao@codesourcery.com>
13 Fix "save breakpoints" for "catch" command.
14 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
15 Remove -nonewline. Match also the added "main" line.
17 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19 Fix "save breakpoints" for "disable $bpnum" command.
20 * gdb.base/save-bp.c (main): Add label.
21 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
23 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
25 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
27 2014-10-11 Yao Qi <yao@codesourcery.com>
29 * gdb.server/server-kill.exp: Execute command
30 "set remote trace-status-packet on" before "tstatus".
32 2014-10-11 Yao Qi <yao@codesourcery.com>
34 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
36 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
37 and continue to it. Read variable "server_pid".
39 2014-10-11 Yao Qi <yao@codesourcery.com>
41 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
43 2014-10-11 Yao Qi <yao@codesourcery.com>
45 * gdb.threads/thread-find.exp: Don't execute command
47 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
48 * gdb.threads/linux-dp.exp: Don't check the condition
49 $threads_created equals to zero.
51 2014-10-10 Pedro Alves <palves@redhat.com>
53 * gdb.base/bigcore.exp: Remove references to IRIX.
54 * gdb.base/funcargs.exp: Likewise.
55 * gdb.base/interrupt.exp: Likewise.
56 * gdb.base/mips_pro.exp: Likewise.
57 * gdb.base/nodebug.exp: Likewise.
58 * gdb.base/setvar.exp: Likewise.
59 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
61 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
62 Pedro Alves <palves@redhat.com>
65 * gdb.base/vdso-warning.c: New file.
66 * gdb.base/vdso-warning.exp: New file.
68 2014-10-02 Doug Evans <dje@google.com>
70 * gdb.base/structs.c (main): Don't run forever.
72 2014-10-02 Pedro Alves <palves@redhat.com>
74 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
75 (top level) <stop threads 1, stop threads 2>: Use it.
77 2014-10-02 Pedro Alves <palves@redhat.com>
79 * gdb.threads/break-while-running.exp (test): Add new
80 'update_thread_list' argument. Skip "info threads" if false.
81 (top level): Add new 'update_thread_list' axis.
83 2014-10-02 Pedro Alves <palves@redhat.com>
86 * gdb.base/execl-update-breakpoints.c: New file.
87 * gdb.base/execl-update-breakpoints.exp: New file.
89 2014-10-01 Pedro Alves <palves@redhat.com>
91 * gdb.base/breakpoint-in-ro-region.c: New file.
92 * gdb.base/breakpoint-in-ro-region.exp: New file.
94 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
96 * gdb.mi/mi-exit-code.exp: New file.
97 * gdb.mi/mi-exit-code.c: New file.
99 2014-09-30 Yao Qi <yao@codesourcery.com>
101 * lib/prelink-support.exp (build_executable_own_libs): Error if
102 the target isn't native.
104 2014-09-30 Yao Qi <yao@codesourcery.com>
106 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
109 2014-09-22 Pedro Alves <palves@redhat.com>
111 * gdb.threads/break-while-running.exp: New file.
112 * gdb.threads/break-while-running.c: New file.
114 2014-09-19 Yao Qi <yao@codesourcery.com>
116 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
117 Invoke test. Restart GDB with --readnow and invoke test again.
119 2014-09-19 Yao Qi <yao@codesourcery.com>
121 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
122 proc set_breakpoint_on_gcd_function. Invoke
123 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
124 invoke set_breakpoint_on_gcd_function again.
126 2014-09-18 Doug Evans <dje@google.com>
128 * gdb.dwarf2/symtab-producer.exp: New file.
130 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
132 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
133 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
134 * gdb.base/global-var-nested-by-dso.c: Likewise.
135 * gdb.base/global-var-nested-by-dso.exp: Likewise.
137 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
138 Pedro Alves <palves@redhat.com>
140 * gdb.base/watch-bitfields.exp: Pass string other than test file
141 name to prepare_for_testing.
142 (watch): New procedure.
143 (expect_watchpoint): Use with_test_prefix.
144 (top level): Factor out tests to ...
145 (test_watch_location, test_regular_watch): ... these new
146 procedures, and use with_test_prefix and gdb_continue_to_end.
148 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
151 * gdb.base/watch-bitfields.exp: New file.
152 * gdb.base/watch-bitfields.c: New file.
154 2014-09-16 Pedro Alves <palves@redhat.com>
156 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
157 software and hardware addresses, not software address against
160 2014-09-16 Pedro Alves <palves@redhat.com>
162 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
163 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
165 2014-09-16 Pedro Alves <palves@redhat.com>
167 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
169 * gdb.base/a2-run.exp: Remove all code guarded by istarget
170 "*-*-vxworks*" throughout.
171 * gdb.base/break.exp: Likewise.
172 * gdb.base/default.exp: Likewise.
173 * gdb.base/scope.exp: Likewise.
174 * gdb.base/sepdebug.exp: Likewise.
175 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
177 * gdb.base/run.c: Likewise.
178 * gdb.base/sepdebug.c: Likewise.
179 * gdb.hp/gdb.aCC/run.c: Likewise.
180 * gdb.reverse/until-reverse.c: Likewise.
181 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
183 2014-09-16 Yao Qi <yao@codesourcery.com>
185 * boards/local-remote-host-native.exp: New file.
187 2014-09-14 Doug Evans <xdje42@gmail.com>
189 * gdb.threads/queue-signal.c (thread_count): New variable.
190 (thread_count_mutex, thread_count_condvar): New variables.
191 (incr_thread_count, wait_all_threads_running): New functions.
192 (main): Wait for all threads to be in their thread functions.
194 2014-09-13 Doug Evans <xdje42@gmail.com>
196 * gdb.threads/queue-signal.c: New file.
197 * gdb.threads/queue-signal.exp: New file.
199 2014-09-13 Doug Evans <xdje42@gmail.com>
201 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
202 be consistent with what default_gdb_init uses.
203 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
204 the plain text of the prompt. Add some logging printfs.
205 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
207 2014-09-12 Pedro Alves <palves@redhat.com>
209 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
210 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
211 * gdb.arch/i386-size-overlap.exp: Likewise.
212 * gdb.arch/i386-size.exp: Likewise.
213 * gdb.arch/i386-unwind.exp: Likewise.
214 * gdb.base/a2-run.exp: Likewise.
215 * gdb.base/break.exp: Likewise.
216 * gdb.base/charset.exp: Likewise.
217 * gdb.base/chng-syms.exp: Likewise.
218 * gdb.base/commands.exp: Likewise.
219 * gdb.base/dbx.exp: Likewise.
220 * gdb.base/find.exp: Likewise.
221 * gdb.base/funcargs.exp: Likewise.
222 * gdb.base/jit-simple.exp: Likewise.
223 * gdb.base/reread.exp: Likewise.
224 * gdb.base/sepdebug.exp: Likewise.
225 * gdb.base/step-bt.exp: Likewise.
226 * gdb.cp/mb-inline.exp: Likewise.
227 * gdb.cp/mb-templates.exp: Likewise.
228 * gdb.objc/basicclass.exp: Likewise.
229 * gdb.threads/killed.exp: Likewise.
231 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
234 * gdb.arch/powerpc-stackless.S: New file.
235 * gdb.arch/powerpc-stackless.exp: New file.
237 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
239 * gdb.base/attach.c: Include unistd.h.
240 (main): Call alarm. Add label postloop.
241 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
242 gdb_breakpoint, gdb_continue_to_breakpoint.
243 (test_command_line_attach_run): Kill ${testpid} in one exit path.
245 2014-09-11 Pedro Alves <palves@redhat.com>
248 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
249 * gdb.base/attach.exp (test_command_line_attach_run): New
251 (top level): Call it.
253 2014-09-11 Pedro Alves <palves@redhat.com>
255 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
256 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
257 (do_command_attach_tests): Use spawn_wait_for_attach.
258 * gdb.base/solib-overlap.exp: Likewise.
259 * gdb.multi/multi-attach.exp: Likewise.
260 * gdb.python/py-prompt.exp: Likewise.
261 * gdb.python/py-sync-interp.exp: Likewise.
262 * gdb.server/ext-attach.exp: Likewise.
264 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
266 * gdb.fortran/array-element.exp: Remove unexpected "continue"
267 command in testcase. Simplify testcase.
269 2014-09-10 Joel Brobecker <brobecker@adacore.com>
271 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
273 2014-09-10 Joel Brobecker <brobecker@adacore.com>
275 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
277 2014-09-10 Joel Brobecker <brobecker@adacore.com>
279 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
281 2014-09-10 Joel Brobecker <brobecker@adacore.com>
283 * gdb.dwarf2/dynarr-ptr.c: New file.
284 * gdb.dwarf2/dynarr-ptr.exp: New file.
286 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
288 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
289 of 30 rather than hardcoding 120 for a slow test case. Take the
290 `gdb,timeout' target setting into account for this calculation.
291 Don't extend the timeout for the test cases that don't need it.
293 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
295 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
296 a factor of 2 for a slow test case. Take the `gdb,timeout'
297 target setting into account for this calculation.
298 * gdb.reverse/until-precsave.exp: Increase the timeout by
299 a factor of 15 and 3 respectively rather than adding 120
300 for a pair of slow test cases. Take the `gdb,timeout'
301 target setting into account for this calculation.
303 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
305 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
306 timeout, don't pass one down to gdb_expect.
307 (gdb_expect): Rework timeout selection.
309 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
311 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
312 exception on timeout.
313 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
314 (gdbserver_start_extended): Catch any `gdbserver_start' error
316 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
317 * lib/mi-support.exp (mi_gdb_target_load): Catch any
318 `gdbserver_gdb_load' error exceptions.
320 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
322 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
323 120 on waiting for the TCP socket to open.
325 2014-09-09 Doug Evans <xdje42@gmail.com>
327 * gdb.base/default.exp (show_conv_list): Add _caller_is,
328 _caller_matches, _any_caller_is, _any_caller_matches.
330 2014-09-09 Doug Evans <xdje42@gmail.com>
332 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
334 2014-09-09 Yao Qi <yao@codesourcery.com>
336 * gdb.mi/mi-var-display.exp: Set print symbol off.
338 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
341 * gdb.base/commands.exp: Add tests to verify user-defined
342 commands with empty bodies.
343 * gdb.python/py-cmd.exp: Test that we don't show user-defined
344 python commands in `show user command`.
345 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
346 scheme commands in `show user command`.
348 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
351 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
352 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
353 * gdb.python/py-framefilter-invalidarg.exp: New file.
354 * gdb.python/py-framefilter-invalidarg.py: New file.
356 2014-09-06 Doug Evans <xdje42@gmail.com>
359 * gdb.python/py-caller-is.c: New file.
360 * gdb.python/py-caller-is.exp: New file.
362 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
365 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
366 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
368 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
371 * gdb.fortran/print-formatted.exp: New file.
372 * gdb.fortran/print-formatted.f90: Likewise.
374 2014-09-03 Sasha Smundak <asmundak@google.com>
376 * gdb.python/py-frame.exp: Test Frame.read_register.
378 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
381 * gdb.python/py-completion.exp: New file.
382 * gdb.python/py-completion.py: Likewise.
384 2014-08-28 Doug Evans <dje@google.com>
386 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
387 eax,etc. are live with values set by gdb and thus the compiler can't
389 * gdb.arch/i386-pseudo.c (main): Ditto.
391 2014-08-27 Doug Evans <dje@google.com>
393 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
395 2014-08-25 Doug Evans <dje@google.com>
397 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
400 2014-08-25 Doug Evans <dje@google.com>
402 * gdb.threads/thread-execl.exp: #include <stdio.h>.
404 2014-08-24 Yao Qi <yao@codesourcery.com>
406 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
408 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
410 2014-08-22 Doug Evans <dje@google.com>
413 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
414 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
415 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
417 2014-08-22 Yao Qi <yao@codesourcery.com>
419 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
420 * gdb.python/py-finish-breakpoint2.exp: Likewise.
421 * gdb.python/python.exp: Likewise. Use .py file on the host
422 instead of the build.
424 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
426 * gdb.threads/gcore-stale-thread.c: New file.
427 * gdb.threads/gcore-stale-thread.exp: New file.
429 2014-08-21 Pedro Alves <palves@redhat.com>
431 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
432 * gdb.base/gcore-relro-pie.exp: Likewise.
433 * gdb.base/gcore-relro.exp: Likewise.
434 * gdb.base/gcore.exp: Likewise.
435 * gdb.base/print-symbol-loading.exp: Likewise.
436 * gdb.threads/gcore-thread.exp: Likewise.
437 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
439 2014-08-20 Pedro Alves <palves@redhat.com>
440 Jan Kratochvil <jan.kratochvil@redhat.com>
442 * Makefile.in (EXTRA_RULES, CC): New variables, get from
444 (EXPECT): Handle READ1 being set.
445 (all): Depend on EXTRA_RULES.
446 (check-read1, expect-read1, read1.so, read1): New rules.
447 * README (Testsuite Parameters): Document the READ1 make variable.
448 (Race detection): New section.
449 * configure: Regenerate.
450 * configure.ac: If build==host==target, and running under a
451 GNU/glibc system, add read1 to the extra Makefile rules.
452 (EXTRA_RULES): AC_SUBST it.
453 * lib/read1.c: New file.
455 2014-08-20 Joel Brobecker <brobecker@adacore.com>
457 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
458 the handling of variables declared as a typedef to an array
459 which a DW_AT_data_location attribute.
461 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
462 Pedro Alves <palves@redhat.com>
466 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
469 2014-08-19 Pedro Alves <palves@redhat.com>
471 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
473 2014-08-19 Yao Qi <yao@codesourcery.com>
475 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
478 2014-08-18 David Blaikie <dblaikie@gmail.com>
480 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
482 2014-08-18 Joel Brobecker <brobecker@adacore.com>
484 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
485 attribute in array range.
487 2014-08-18 Joel Brobecker <brobecker@adacore.com>
489 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
491 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
494 * gdb.cp/pr17132.cc: New file.
495 * gdb.cp/pr17132.exp: New file.
497 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
499 * gdb.python/py-xmethods.py (A_getarrayind)
500 (E_method_char_worker.__call__, E_method_int_worker.__call__):
501 Use 'print' with function call syntax.
502 (E_method_matcher.match): Fix tab vs space indentation mixup.
504 2014-08-15 Yao Qi <yao@codesourcery.com>
506 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
509 2014-08-15 Yao Qi <yao@codesourcery.com>
511 * gdb.cp/casts.exp: Set print symbol off.
512 * gdb.cp/class2.exp: Likewise.
513 * gdb.cp/overload.exp: Likewise.
514 * gdb.cp/templates.exp: Likewise.
516 2014-08-11 Doug Evans <dje@google.com>
518 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
519 (test_load_shlib): Update.
521 2014-08-09 Yao Qi <yao@codesourcery.com>
523 * gdb.base/display.exp: Invoke is_address_zero_readable.
524 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
525 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
526 * gdb.base/hbreak-unmapped.exp: Return if
527 is_address_zero_readable returns true.
528 * gdb.base/signest.exp: Likewise.
529 * gdb.base/signull.exp: Likewise.
530 * gdb.base/sigbpt.exp: Likewise.
531 * gdb.guile/scm-disasm.exp: Do the test if
532 is_address_zero_readable returns false.
533 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
534 * gdb.python/py-arch.exp: Likewise.
535 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
536 * lib/gdb.exp (is_address_zero_readable): New proc.
538 2014-08-09 Yao Qi <yao@codesourcery.com>
541 * gdb.mi/mi-var-display.exp: Make test messages unique.
543 2014-08-04 Tom Tromey <tromey@redhat.com>
545 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
548 2014-08-04 Tom Tromey <tromey@redhat.com>
550 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
553 2014-08-01 Joel Brobecker <brobecker@adacore.com>
555 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
556 inner_vla_struct_object_size.
557 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
560 2014-07-30 Pedro Alves <palves@redhat.com>
562 * gdb.threads/signal-command-handle-nopass.exp (test): Add
565 2014-07-29 Yao Qi <yao@codesourcery.com>
568 * gdb.base/until-nodebug.exp: New.
570 2014-07-28 Doug Evans <xdje42@gmail.com>
573 * gdb.guile/scm-parameter.exp: Add tests for trying to create
574 previously existing parameter, and previously ambiguously spelled
577 2014-07-28 Will Newton <will.newton@linaro.org>
579 * gdb.base/varargs.exp: Remove KFAILs for ARM.
581 2014-07-26 Ludovic Courtès <ludo@gnu.org>
582 Doug Evans <xdje42@gmail.com>
585 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
587 2014-07-25 Pedro Alves <palves@redhat.com>
589 * gdb.threads/signal-command-handle-nopass.c: New file.
590 * gdb.threads/signal-command-handle-nopass.exp: New file.
591 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
592 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
593 * gdb.threads/signal-delivered-right-thread.c: New file.
594 * gdb.threads/signal-delivered-right-thread.exp: New file.
596 2014-07-25 Pedro Alves <palves@redhat.com>
598 * gdb.base/double-prompt-target-event-error.exp
599 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
601 (cancel_pagination_in_target_event): Rework double prompt
603 * gdb.base/paginate-after-ctrl-c-running.exp
604 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
606 * gdb.base/paginate-bg-execution.exp
607 (test_bg_execution_pagination_return)
608 (test_bg_execution_pagination_cancel): Remove '-notransfer
610 * gdb.base/paginate-execution-startup.exp
611 (test_fg_execution_pagination_return)
612 (test_fg_execution_pagination_cancel): Remove '-notransfer
614 * gdb.base/paginate-inferior-exit.exp
615 (test_paginate_inferior_exited): Remove '-notransfer <return>'
617 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
618 * lib/gdb.exp (pagination_prompt): Run text through
620 (gdb_test_multiple): Match $pagination_prompt instead of
622 (string_to_regexp): Move to lib/gdb-utils.exp.
624 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
626 * gdb.arch/amd64-entry-value-paramref.S: New file.
627 * gdb.arch/amd64-entry-value-paramref.cc: New file.
628 * gdb.arch/amd64-entry-value-paramref.exp: New file.
629 * gdb.arch/amd64-optimout-repeat.S: New file.
630 * gdb.arch/amd64-optimout-repeat.c: New file.
631 * gdb.arch/amd64-optimout-repeat.exp: New file.
633 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
636 * gdb.base/statistics.exp: New file.
638 2014-07-17 Doug Evans <dje@google.com>
641 * gdb.base/maint.exp: Update testing of per-command stats.
643 2014-07-16 Pedro Alves <palves@redhat.com>
645 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
646 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
647 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
648 (tfile_write_buf): New functions.
649 (add_memory_block): Rewrite using the above.
650 (adjust_function_address): New function.
651 (FUNCTION_ADDRESS): New macro.
652 (write_basic_trace_file): Remove short_x local, and use
653 tfile_write_16. Change type of func_addr local to unsigned long
654 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
655 here. Cast argument of add_memory_block to char pointer.
656 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
657 (main): Remove parameters.
658 * gdb.trace/tfile.exp: Remove nowarnings.
660 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
662 * gdb.base/debug-expr.exp: Test string evaluation with
663 "debug expression" on.
665 2014-07-15 Pedro Alves <palves@redhat.com>
667 * gdb.base/reread.exp: Use clean_restart.
669 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
671 * gdb.arch/avr-flash-qualifer.c: New.
672 * gdb.arch/avr-flash-qualifer.exp: New.
674 2014-07-14 Pedro Alves <palves@redhat.com>
676 * gdb.base/paginate-after-ctrl-c-running.c: New file.
677 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
679 2014-07-14 Pedro Alves <palves@redhat.com>
681 * gdb.base/double-prompt-target-event-error.c: New file.
682 * gdb.base/double-prompt-target-event-error.exp: New file.
684 2014-07-14 Pedro Alves <palves@redhat.com>
687 * gdb.base/paginate-inferior-exit.c: New file.
688 * gdb.base/paginate-inferior-exit.exp: New file.
690 2014-07-14 Pedro Alves <palves@redhat.com>
693 * gdb.base/paginate-bg-execution.c: New file.
694 * gdb.base/paginate-bg-execution.exp: New file.
696 2014-07-14 Pedro Alves <palves@redhat.com>
699 * gdb.base/paginate-execution-startup.c: New file.
700 * gdb.base/paginate-execution-startup.exp: New file.
701 * lib/gdb.exp (pagination_prompt): New global.
702 (default_gdb_spawn): New procedure, factored out from
704 (default_gdb_start): Adjust to call default_gdb_spawn.
705 (gdb_spawn): New procedure.
707 2014-07-14 Pedro Alves <palves@redhat.com>
709 * lib/gdb.exp (gdb_assert): New procedure.
710 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
712 2014-07-14 Pedro Alves <palves@redhat.com>
714 * gdb.base/execution-termios.c: New file.
715 * gdb.base/execution-termios.exp: New file.
717 2014-07-14 Tom Tromey <tromey@redhat.com>
719 * gdb.cp/vla-cxx.cc: New file.
720 * gdb.cp/vla-cxx.exp: New file.
722 2014-07-14 Tom Tromey <tromey@redhat.com>
724 * gdb.reverse/rerun-prec.c: New file.
725 * gdb.reverse/rerun-prec.exp: New file.
727 2014-07-12 Maciej W. Rozycki <macro@mips.com>
728 Maciej W. Rozycki <macro@codesourcery.com>
730 * lib/gdb-utils.exp: New file.
731 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
732 inline `gdb_init_command' processing.
733 (gdb_start_cmd): Likewise.
734 * lib/mi-support.exp (mi_run_cmd): Likewise.
735 * README: Document `gdb_init_command' and `gdb_init_commands'.
737 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
739 Fix false FAIL running under a very long directory name.
740 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
741 and "set print elements 10000". Twice.
743 2014-07-11 Yao Qi <yao@codesourcery.com>
745 * gdb.base/exprs.exp: "set print symbol off".
747 2014-07-11 Pedro Alves <palves@redhat.com>
749 * gdb.threads/kill.c: New file.
750 * gdb.threads/kill.exp: New file.
752 2014-07-10 Yao Qi <yao@codesourcery.com>
754 * gdb.trace/tfile.c (write_basic_trace_file)
755 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
756 address written to trace file.
758 2014-07-09 Pedro Alves <palves@redhat.com>
760 * gdb.base/attach-wait-input.exp: New file.
761 * gdb.base/attach-wait-input.c: New file.
763 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
765 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
766 setting up test structures.
767 (main): Call new test function.
768 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
769 test function, continue into test function and walk test
772 2014-07-02 Yao Qi <yao@codesourcery.com>
774 * gdb.trace/entry-values.c: Define labels 'foo_start' and
775 'bar_start' at the beginning of functions 'foo' and 'bar'
777 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
778 instead of 'foo' and 'bar'.
780 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
782 * gdb.btrace/segv.exp: New.
783 * gdb.btrace/segv.c: New.
785 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
787 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
790 2014-06-30 Mark Wielaard <mjw@redhat.com>
792 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
793 vulture, vilify, villar): New volatile array constants.
794 (vindictive, vegetation): New const volatile array constants.
795 * gdb.base/volatile.exp: Test volatile and const volatile array
798 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
800 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
801 target lacks support for awatch, rwatch, or hbreak.
803 2014-06-27 Yao Qi <yao@codesourcery.com>
805 * gdb.multi/dummy-frame-restore.exp: New.
806 * gdb.multi/dummy-frame-restore.c: New.
808 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
810 * gdb.btrace/gcore.exp: New.
812 2014-06-23 Pedro Alves <palves@redhat.com>
814 * gdb.base/watchpoint-reuse-slot.c: New file.
815 * gdb.base/watchpoint-reuse-slot.exp: New file.
817 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
819 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
820 progspace's filename in 'info', 'enable' and 'disable' command
823 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
825 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
826 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
827 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
829 2014-06-20 Gary Benson <gbenson@redhat.com>
831 * gdb.arch/i386-avx.exp: Fix include file location.
832 * gdb.arch/i386-sse.exp: Likewise.
834 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
836 * gdb.dlang/expression.exp: New file.
838 2014-06-19 Pedro Alves <palves@redhat.com>
840 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
842 (top level): ... here. Iterate running tests under different
843 scheduler-locking settings.
845 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
847 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
848 to DW_FORM_addr and use non-zero addresses.
850 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
853 * gdb.python/py-xmethods.cc: Add global function call counters and
854 increment them in their respective functions. Remove "cout"
856 * gdb.python/py-xmethods.exp: Make tests check the global function
857 call counters instead of depending on inferior IO.
859 2014-06-18 Don Breazeal <donb@codesourcery.com>
861 * gdb.base/foll-fork.exp (default_fork_parent_follow):
863 (explicit_fork_parent_follow): Deleted procedure.
864 (explicit_fork_child_follow): Deleted procedure.
865 (test_follow_fork): New procedure.
866 (do_fork_tests): Replace calls to deleted procedures with
867 calls to test_follow_fork and reset GDB for subsequent
870 2014-06-17 Yao Qi <yao@codesourcery.com>
872 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
875 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
877 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
878 Initialize ptr and S explicitly.
879 (skip_type_update_when_not_use_rtti_test): Likewise.
881 2014-06-16 Keith Seitz <keiths@redhat.com>
884 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
885 the inferior is started.
887 2014-06-16 Pedro Alves <palves@redhat.com>
889 * gdb.base/break-main-file-remove-fail.c: New file.
890 * gdb.base/break-main-file-remove-fail.exp: New file.
891 * gdb.base/break-unload-file.exp: Use build_executable instead of
893 (test_break): New parameter "initial_load". Handle it.
894 (top level): Add initial_load cmdline/file axis.
896 2014-06-12 Tom Tromey <tromey@redhat.com>
898 * gdb.base/completion.exp: Don't use directory name in test.
900 2014-06-09 Gary Benson <gbenson@redhat.com>
902 * gdb.base/sigall.c [Functions to send signals]: Reorder to
903 separate the always-available ANSI-standard signals from the
904 signals that require checking.
906 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
910 2014-06-07 Keith Seitz <keiths@redhat.com>
914 * gdb.cp/var-tag.cc: New file.
915 * gdb.cp/var-tag.exp: New file.
916 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
917 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
918 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
919 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
921 2014-06-06 Doug Evans <xdje42@gmail.com>
923 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
925 2014-06-06 Pedro Alves <palves@redhat.com>
927 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
928 in target debug output instead of looking at RSP packets,
929 disabling the test on any target that uses hardware stepping.
932 2014-06-06 Pedro Alves <palves@redhat.com>
934 * gdb.base/break-unload-file.exp: Fix typo.
936 2014-06-06 Yao Qi <yao@codesourcery.com>
938 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
939 from "jit_function" to "^jit_function".
941 2014-06-06 Yao Qi <yao@codesourcery.com>
943 * gdb.base/async.c (foo): Add one statement.
944 * gdb.base/async.exp: Get the next instruction address and
945 match the output of "nexti" by instruction address. Match
946 the hex address in the output of "finish".
948 2014-06-06 Gary Benson <gbenson@redhat.com>
950 * gdb.base/call-signals.c: Remove preprocessor conditionals
951 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
953 * gdb.base/sigall.c: Likewise.
954 * gdb.base/unwindonsignal.c: Likewise.
955 * gdb.reverse/sigall-reverse.c: Likewise.
957 2014-06-06 Yao Qi <yao@codesourcery.com>
959 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
960 readable, skip the test.
962 2014-06-06 Yao Qi <yao@codesourcery.com>
964 * gdb.threads/staticthreads.c (thread_function): Move the line
965 setting breakpoint on forward.
966 * gdb.threads/staticthreads.exp: Update comments.
968 2014-06-05 Ludovic Courtès <ludo@gnu.org>
970 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
971 "history-append! type error".
973 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
975 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
976 erroneous dprintf expected input.
978 2014-06-04 Doug Evans <xdje42@gmail.com>
980 * gdb.guile/scm-generics.exp: Delete.
982 2014-06-04 Doug Evans <xdje42@gmail.com>
984 * gdb.guile/scm-breakpoint.exp: Update.
985 Add tests for breakpoint registration.
987 2014-06-04 Tom Tromey <tromey@redhat.com>
989 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
991 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
992 inner_vla_struct, vla_union types. Initialize objects of those
993 types and compute their sizes.
995 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
996 Hui Zhu <hui@codesourcery.com>
998 * gdb.base/fileio.exp: Add test for shell not available as well as
1000 * gdb.base/fileio.c (test_system): Check for shell twice.
1002 2014-06-04 Yao Qi <yao@codesourcery.com>
1004 * gdb.base/auto-connect-native-target.exp: Remove redundant
1005 space from the regexp pattern.
1007 2014-06-04 Yao Qi <yao@codesourcery.com>
1009 * gdb.base/default.exp: Replace "child" with "native" in
1012 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1014 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1015 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1016 * gdb.python/py-xmethods.py: Python script supporting the
1017 new testcase and tests.
1019 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1020 Pedro Alves <palves@redhat.com>
1022 PR breakpoints/17000
1023 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1024 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1026 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1028 * gdb.base/subst.exp: Add tests to verify partial path matching
1031 2014-06-03 Pedro Alves <palves@redhat.com>
1033 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1034 target that doesn't use software single-stepping.
1036 2014-06-03 Pedro Alves <palves@redhat.com>
1038 PR breakpoints/17000
1039 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1040 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1042 2014-06-02 Doug Evans <xdje42@gmail.com>
1044 * gdb.guile/scm-parameter.exp: New file.
1046 2014-06-02 Doug Evans <xdje42@gmail.com>
1048 * gdb.guile/scm-cmd.c: New file.
1049 * gdb.guile/scm-cmd.exp: New file.
1051 2014-06-02 Doug Evans <xdje42@gmail.com>
1053 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1054 pretty-printer lookup.
1055 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1056 (make-pp_s-printer): Call it.
1057 (make-pretty-printer-from-dict): New function.
1058 (lookup-pretty-printer-maker-from-dict): New function.
1059 (*pretty-printer*): Simplify.
1060 (make-objfile-pp_s-printer): New function.
1061 (install-objfile-pretty-printers!): New function.
1062 (make-progspace-pp_s-printer): New function.
1063 (install-progspace-pretty-printers!): New function.
1064 * gdb.guile/scm-progspace.c: New file.
1065 * gdb.guile/scm-progspace.exp: New file.
1067 2014-06-02 Pedro Alves <palves@redhat.com>
1069 * gdb.base/dprintf-bp-same-addr.c: New file.
1070 * gdb.base/dprintf-bp-same-addr.exp: New file.
1072 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1074 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1075 * gdb.arch/powerpc-power.s: Likewise.
1077 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1079 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1081 2014-06-01 Yao Qi <yao@codesourcery.com>
1083 * gdb.base/watchpoint.exp (test_watch_location): Check null
1084 pointer can be dereferenced. If not, do the test, otherwise
1087 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1089 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1091 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1093 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1095 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1096 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1097 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1098 * gdb.arch/amd64-invalid-stack-top.c: New file.
1099 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1101 2014-05-30 Pedro Alves <palves@redhat.com>
1103 PR breakpoints/17000
1104 * gdb.base/sss-bp-on-user-bp.c: New file.
1105 * gdb.base/sss-bp-on-user-bp.exp: New file.
1107 2014-05-30 David Blaikie <dblaikie@gmail.com>
1109 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1110 gnu_inline semantics via attribute.
1111 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1112 source explicitly specifies the required semantics.
1114 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1116 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1118 2014-05-29 Pedro Alves <palves@redhat.com>
1119 Tom Tromey <tromey@redhat.com>
1121 * gdb.base/async-shell.exp: Don't enable target-async.
1122 * gdb.base/async.exp
1123 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1125 (top level): Don't test with "target-async".
1126 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1127 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1128 * gdb.base/inferior-died.exp: Don't enable target-async.
1129 * gdb.base/interrupt-noterm.exp: Likewise.
1130 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1131 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1132 * gdb.mi/mi-nonstop.exp: Likewise.
1133 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1134 * gdb.mi/mi-nsintrall.exp: Likewise.
1135 * gdb.mi/mi-nsmoribund.exp: Likewise.
1136 * gdb.mi/mi-nsthrexec.exp: Likewise.
1137 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1138 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1139 * gdb.python/py-evsignal.exp: Don't enable target-async.
1140 * gdb.python/py-evthreads.exp: Likewise.
1141 * gdb.python/py-prompt.exp: Likewise.
1142 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1143 * gdb.server/solib-list.exp: Don't enable target-async.
1144 * gdb.threads/thread-specific-bp.exp: Likewise.
1145 * lib/mi-support.exp: Adjust to use mi-async.
1147 2014-05-29 Pedro Alves <palves@redhat.com>
1150 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1151 reason, even in sync mode.
1153 2014-05-29 Pedro Alves <palves@redhat.com>
1154 Hui Zhu <hui@codesourcery.com>
1157 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1158 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1159 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1160 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1162 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1164 * config/monitor.exp (gdb_target_monitor): Replace use of
1165 "set remotebaud" by "set serial baud".
1167 2014-05-26 Andy Wingo <wingo@igalia.com>
1169 * gdb.guile/scm-breakpoint.exp:
1170 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1171 properties instead of gdb-object-properties.
1173 2014-05-26 Yao Qi <yao@codesourcery.com>
1175 * gdb.server/no-thread-db.exp: Specify source file name
1176 explicitly when setting a breakpoint.
1178 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1180 * gdb.btrace/vdso.c: New.
1181 * gdb.btrace/vdso.exp: New.
1183 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1185 * gdb.base/gcore.exp (capture_command_output): Move ...
1186 * lib/gdb.exp (capture_command_output): ... here.
1188 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1190 * gdb.btrace/data.exp: Test memory access during btrace replay.
1192 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1194 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1196 2014-05-21 Pedro Alves <palves@redhat.com>
1199 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1200 (top level): Test that output related to execution commands is
1201 sent to the console with CLI commands, but not with MI commands.
1202 Test that breakpoint events are always mirrored to the console.
1203 Also expect the new source line to be output after a "next" in
1204 async mode too. Make it a pass/fail test.
1205 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1207 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1209 2014-05-21 Pedro Alves <palves@redhat.com>
1211 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1212 Use them to test variations of "list" after reaching a breakpoint.
1213 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1214 Test "list" with listsize 10 after reaching a breakpoint.
1215 * gdb.python/python.exp (decode_line current location line
1216 number): Adjust expected line number.
1218 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1220 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1221 behavior for $args, pass it directly to "run".
1223 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1225 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1228 2014-05-21 Pedro Alves <palves@redhat.com>
1230 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1231 auto-connect-native-target off".
1232 * gdb.base/auto-connect-native-target.c: New file.
1233 * gdb.base/auto-connect-native-target.exp: New file.
1235 2014-05-21 Pedro Alves <palves@redhat.com>
1237 * gdb.base/default.exp: Test "target native" instead of "target
1240 2014-05-21 Mark Wielaard <mjw@redhat.com>
1242 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1244 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1246 Fix TLS access for -static -pthread.
1247 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1248 <HAVE_TLS> (thread_function, main): Initialize it.
1249 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1251 <$have_tls != "">: Check TLSVAR.
1253 2014-05-21 Pedro Alves <palves@redhat.com>
1255 * gdb.base/dcache-line-read-error.c: New.
1256 * gdb.base/dcache-line-read-error.exp: New.
1258 2014-05-20 Pedro Alves <palves@redhat.com>
1260 * gdb.base/compare-sections.c: New file.
1261 * gdb.base/compare-sections.exp: New file.
1263 2014-05-20 Pedro Alves <palves@redhat.com>
1265 * gdb.base/break-idempotent.c: New file.
1266 * gdb.base/break-idempotent.exp: New file.
1268 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1270 * gdb.btrace/nohist.exp: New.
1272 2014-05-20 Yao Qi <yao@codesourcery.com>
1274 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1275 gdb.reverse directory and gdb_reverse_timeout exists in board
1277 * README: Document gdb_reverse_timeout.
1279 2014-05-20 Yao Qi <yao@codesourcery.com>
1281 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1282 'test_file_name'. Treat args as a string instead of a list.
1283 (gdb_init): Rename argument 'args' by 'test_file_name'.
1285 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1287 * gdb.arch/powerpc-power.exp: New file.
1288 * gdb.arch/powerpc-power.s: New file.
1290 2014-05-16 Doug Evans <dje@google.com>
1292 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
1293 * gdb.base/completion.exp: Check that all expected files exist
1294 before doing file completion.
1296 2014-05-16 Doug Evans <dje@google.com>
1298 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1300 (do_syscall_tests_without_xml): Update.
1302 2014-05-16 Pedro Alves <palves@redhat.com>
1304 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1305 instead of "unknown output after running".
1307 2014-05-16 Yao Qi <yao@codesourcery.com>
1309 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1310 file1.txt from host at the end.
1311 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1313 2014-05-15 Doug Evans <dje@google.com>
1315 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1316 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1317 loading file. Add test for TU lookup.
1319 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1321 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1322 calling "-exec-arguments" or "set args" before running the
1325 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1327 * lib/mi-support.exp (mi_expect_stop): Expect message for
1328 inferiors that exit with non-zero exit code.
1330 2014-05-14 Yao Qi <yao@codesourcery.com>
1332 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1333 match absolute path on remote host.
1334 (test_file_list_exec_source_files): Remove "/" from the
1337 2014-05-14 Yao Qi <yao@codesourcery.com>
1339 * boards/local-remote-host-notty.exp (${board}_file): New
1342 2014-05-07 Kyle McMartin <kyle@redhat.com>
1344 Pushed by Joel Brobecker <brobecker@adacore.com>.
1345 * gdb.arch/aarch64-atomic-inst.c: New file.
1346 * gdb.arch/aarch64-atomic-inst.exp: New file.
1348 2014-05-07 Yao Qi <yao@codesourcery.com>
1350 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1351 in current context" too.
1353 2014-05-05 Keith Seitz <keiths@redhat.com>
1355 * gdb.linespec/ls-dollar.exp: Add test for linespec
1356 file:convenience_variable.
1358 2014-05-05 Yao Qi <yao@codesourcery.com>
1360 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
1361 traceframes into tfile and ctf trace files. Read data from
1362 trace file and test collected data.
1363 (gdb_collect_locals_test): Likewise.
1364 (gdb_unavailable_registers_test): Likewise.
1365 (gdb_unavailable_floats): Likewise.
1366 (gdb_collect_globals_test): Likewise.
1367 (top-level): Append "ctf" to trace_file_targets if GDB
1370 2014-05-05 Yao Qi <yao@codesourcery.com>
1372 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
1374 (gdb_collect_args_test_1): ... it. New proc.
1375 (gdb_collect_locals_test): Move some code to ...
1376 (gdb_collect_locals_test_1): ... it. New proc.
1377 (gdb_unavailable_registers_test): Move some code to ...
1378 (gdb_unavailable_registers_test_1): ... it. New proc.
1379 (gdb_unavailable_floats): Move some code to ...
1380 (gdb_unavailable_floats_1): ... it. New proc.
1382 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1384 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
1385 probes to test for bitness recognition.
1386 * gdb.arch/amd64-stap-optional-prefix.exp
1387 (test_probe_value_without_reg): New procedure.
1388 Add code to test for different kinds of bitness.
1390 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1392 PR breakpoints/16889
1393 * gdb.arch/amd64-stap-optional-prefix.S: New file.
1394 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1396 2014-05-01 Pedro Alves <palves@redhat.com>
1398 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
1399 gdb_file_cmd if no file is specified.
1400 * boards/native-extended-gdbserver.exp (gdb_load): Use the
1401 last_loaded_file to set the remote exec-file.
1403 2014-05-01 Pedro Alves <palves@redhat.com>
1405 * boards/local-remote-host.exp: New file.
1407 2014-05-01 Pedro Alves <palves@redhat.com>
1409 * boards/local-remote-host.exp: Rename to ...
1410 * boards/local-remote-host-notty.exp: ... this.
1412 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1414 * gdb.ada/dyn_arrayidx: New testcase.
1416 2014-04-26 Yao Qi <yao@codesourcery.com>
1418 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
1419 and compute the length of function main. Save it in
1421 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
1422 (top-level): Use gdb_compile to compile objects into
1423 executable and restart GDB. Remove invocation to
1424 prepare_for_testing.
1426 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
1427 Pedro Alves <palves@redhat.com>
1430 * gdb.multi/multi-attach.c: New file.
1431 * gdb.multi/multi-attach.exp: New file.
1433 2014-04-25 Pedro Alves <palves@redhat.com>
1435 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
1437 (top level): Test that "set remote conditional-breakpoints-packet
1438 off" works as intended.
1439 * gdb.base/dprintf.exp: Test that "set remote
1440 breakpoint-commands-packet off" works as intended.
1441 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
1443 (top level): Call it.
1444 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
1445 remote fast-tracepoints-packet off" works as intended.
1446 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
1447 * lib/gdb.exp (gdb_is_target_remote): ... here.
1449 2014-04-24 David Blaikie <dblaikie@gmail.com>
1451 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
1452 ensure clang would not discard them.
1453 * gdb.base/gdbvars.c: Ditto.
1454 * gdb.base/memattr.c: Ditto.
1455 * gdb.base/whatis.c: Ditto.
1456 * gdb.python/py-prettyprint.c: Ditto.
1457 * gdb.trace/actions.c: Ditto.
1458 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
1459 ensure clang would not discard it.
1461 2014-04-24 David Blaikie <dblaikie@gmail.com>
1463 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1464 clang to emit the full definition of type required by the test
1465 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1467 2014-04-24 David Blaikie <dblaikie@gmail.com>
1469 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1470 coax Clang into emitting the definition of the type.
1471 * gdb.cp/pr10728-x.h (y): Ditto.
1472 * gdb.cp/pr10728-y.cc (y): Ditto.
1474 2014-04-24 David Blaikie <dblaikie@gmail.com>
1476 * gdb.base/label.exp: XFAIL label related tests under Clang.
1477 * gdb.cp/cplabel.exp: Ditto.
1478 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
1479 under Clang those using labels.
1481 2014-04-25 Yao Qi <yao@codesourcery.com>
1483 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
1485 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
1486 partial_label and double_label.
1488 2014-04-24 David Blaikie <dblaikie@gmail.com>
1490 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
1492 2014-04-24 David Blaikie <dblaikie@gmail.com>
1494 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
1495 of the function to work across GCC and Clang.
1496 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
1497 pointer types (const void ** const V void **).
1499 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
1500 Walfred Tedeschi <walfred.tedeschi@intel.com>
1502 * Makefile.in (EXECUTABLES): Added i386-avx512.
1503 * gdb.arch/i386-avx512.c: New file.
1504 * gdb.arch/i386-avx512.exp: Likewise.
1506 2014-04-23 Keith Seitz <keiths@redhat.com>
1508 * lib/mi-support.exp (mi_list_breakpoints): Delete.
1509 (mi_make_breakpoint_table): New procedure.
1510 (mi_create_breakpoint): Use mi_make_breakpoint
1511 and return the result.
1512 (mi_make_breakpoint): New procedure.
1513 (mi_build_kv_pairs): New procedure.
1515 * gdb.mi/mi-break.exp: Remove unused globals,
1516 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
1517 All callers updated.
1518 * gdb.mi/mi-dprintf.exp: Use variable to track command
1520 Update all callers of mi_create_breakpoint and use
1521 mi_make_breakpoint_table.
1522 Remove any unused global variables.
1523 * gdb.mi/mi-nonstop.exp: Likewise.
1524 * gdb.mi/mi-nsintrall.exp: Likewise.
1525 * gdb.mi/mi-nsmoribund.exp: Likewise.
1526 * gdb.mi/mi-nsthrexec.exp: Likewise.
1527 * gdb.mi/mi-reverse.exp: Likewise.
1528 * gdb.mi/mi-simplerun.exp: Likewise.
1529 * gdb.mi/mi-stepn.exp: Likewise.
1530 * gdb.mi/mi-syn-frame.exp: Likewise.
1531 * gdb.mi/mi-until.exp: Likewise.
1532 * gdb.mi/mi-var-cp.exp: Likewise.
1533 * gdb.mi/mi-var-display.exp: Likewise.
1534 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1535 * gdb.mi/mi2-var-child.exp: Likewise.
1536 * gdb.mi/mi-vla-c99.exp: Likewise.
1537 * lib/mi-support.exp: Likewise.
1539 From Ian Lance Taylor <iant@cygnus.com>:
1540 * lib/gdb.exp (parse_args): New procedure.
1542 2014-04-23 Pedro Alves <palves@redhat.com>
1544 * gdb.base/break-unload-file.c: New file.
1545 * gdb.base/break-unload-file.exp: New file.
1546 * gdb.base/sym-file-lib.c (baz): New function.
1547 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
1549 (load): Store the segment's mapped size.
1550 (unload): New function.
1551 (unload_shlib): New function.
1552 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
1553 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
1554 set a breakpoint at baz, and call it.
1555 * gdb.base/sym-file.exp: New tests for stale breakpoint
1558 2014-04-23 Pedro Alves <palves@redhat.com>
1560 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
1561 * gdb.base/hbreak-in-shr-unsupported.c: New file.
1562 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
1563 * gdb.base/hbreak-unmapped.c: New file.
1564 * gdb.base/hbreak-unmapped.exp: New file.
1565 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
1566 * lib/gdb.exp (gdb_is_target_remote): ... here.
1568 2014-04-22 Pedro Alves <palves@redhat.com>
1570 * gdb.base/consecutive-step-over.c: New file.
1571 * gdb.base/consecutive-step-over.exp: New file.
1573 2014-04-22 Pedro Alves <palves@redhat.com>
1575 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
1576 instead of send_gdb/gdb_expect.
1578 2014-04-22 Yao Qi <yao@codesourcery.com>
1580 * lib/trace-support.exp (generate_tracefile): New procedure.
1581 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
1583 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
1584 if generate_tracefile returns 1.
1586 2014-04-18 Tom Tromey <palves@redhat.com>
1587 Pedro alves <tromey@redhat.com>
1590 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
1591 with a backtrace limit.
1592 * gdb.python/py-frame-inline.exp: Test running to an inline
1593 function with a backtrace limit, and printing the newest frame.
1594 * gdb.python/py-frame-inline.c (main): Call f.
1596 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1598 * gdb.java/jnpe.exp: Drop srcdir from untested path.
1600 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1602 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
1603 Drop prefix from unsupported source file path.
1605 2014-04-17 Yao Qi <yao@codesourcery.com>
1607 * lib/gdb.exp (with_target_charset): New proc.
1608 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
1609 with_target_charset.
1610 (test_print_strings): Likewise.
1611 (test_repeat_bytes): Likewise.
1612 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
1615 2014-04-16 Keith Seitz <keiths@redhat.com>
1618 * gdb.dwarf2/corrupt.c: New file.
1619 * gdb.dwarf2/corrupt.exp: New file.
1621 2014-04-16 Keith Seitz <keiths@redhat.com>
1624 * gdb.cp/namelessclass.cc: New file.
1625 * gdb.cp/namelessclass.exp: New file.
1626 * gdb.cp/namelessclass.S: New file.
1628 2014-04-16 Doug Evans <dje@google.com>
1630 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
1632 (gdbserver_default_get_comm_port): New function.
1633 (gdbserver_start): Check if board file provided
1634 "gdbserver,get_comm_port" and use it if so.
1635 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
1636 (gdb,socketport): Set to "stdio".
1637 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
1638 (stdio_gdbserver_template): Delete.
1639 (${board}_get_remote_address): Update.
1640 (${board}_build_remote_cmd): Delete.
1641 (${board}_get_comm_port): New function.
1642 (${board}_spawn): Update.
1643 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
1645 (${board}_get_remote_address): Update.
1646 (${board}_get_comm_port): New function.
1648 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
1650 * gdb.base/memattr.exp: Improve regexps to handle memory regions
1651 appearing in any order.
1653 2014-04-15 Doug Evans <dje@google.com>
1655 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
1656 uninitialized value of "description".
1658 2014-04-15 Keith Seitz <keiths@redhat.com>
1660 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
1661 Remove unused globals.
1662 (test_running_the_program): Likewise.
1663 (test_controlled_execution): Likewise.
1664 (test_controlling_breakpoints): Likewise.
1665 (test_program_termination): Likewise.
1667 2014-04-15 Keith Seitz <keiths@redhat.com>
1669 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
1671 (test_rbreak_creation_and_listing): Likewise.
1672 (test_ignore_count): Likewise.
1673 (test_error): Likewise.
1675 2014-04-15 Pedro Alves <palves@redhat.com>
1677 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
1678 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
1680 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1681 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1682 to sym-file-loader.c.
1683 (struct library): Forward declare.
1684 (load_shlib, lookup_function): Change prototypes.
1685 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1686 (translate_offset): Remove declarations.
1687 (get_text_addr): New declaration.
1688 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
1689 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
1691 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1692 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1693 here from sym-file-loader.h.
1694 (struct library): New structure.
1695 (load_shlib, lookup_function): Change prototypes and adjust to
1696 work with a struct library.
1697 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1698 (translate_offset): Make static.
1699 (get_text_addr): New function.
1700 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
1702 2014-04-15 Pedro Alves <palves@redhat.com>
1704 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
1706 2014-04-15 Pedro Alves <palves@redhat.com>
1708 * gdb.base/sym-file-loader.c: Include <limits.h>.
1709 (SELF_LINK): New define.
1710 (get_origin): New function.
1711 (load_shlib): Use it.
1712 * gdb.base/sym-file.exp: Don't early return if the target is
1713 remote. Use runto_main, and issue fail is that fails. Use
1715 (shlib_name): Delete.
1716 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
1718 2014-04-15 Pedro Alves <palves@redhat.com>
1720 * gdb.base/sym-file.exp: Remove regex characters from test
1721 message. Don't refer to breakpoint numbers in test messages.
1723 2014-04-14 Keith Seitz <keiths@redhat.com>
1726 * gdb.cp/var-tag.cc: New file.
1727 * gdb.cp/var-tag.exp: New file.
1728 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1729 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1730 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1731 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1733 2014-04-14 Tom Tromey <tromey@redhat.com>
1735 * gdb.cp/classes.exp (test_enums): Handle underlying type.
1736 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
1738 * gdb.cp/enum-class.exp: New file.
1739 * gdb.cp/enum-class.cc: New file.
1741 2014-04-14 Tom Tromey <tromey@redhat.com>
1743 * gdb.dwarf2/enum-type.exp: New file.
1745 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1747 * gdb.mi/mi-vla-c99.exp: New file.
1748 * gdb.mi/vla.c: New file.
1750 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1752 * gdb.base/vla-datatypes.c: New file.
1753 * gdb.base/vla-datatypes.exp: New file.
1755 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1757 * gdb.base/vla-ptr.c: New file.
1758 * gdb.base/vla-ptr.exp: New file.
1760 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1762 * gdb.dwarf2/count.exp: New file.
1764 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1766 * gdb.base/vla-sideeffect.c: New file.
1767 * gdb.base/vla-sideeffect.exp: New file.
1769 2014-04-14 David Blaikie <dblaikie@gmail.com>
1771 * gdb.mi/non-stop.c: Add return value for non-void function return
1773 * gdb.threads/staticthreads.c: Ditto.
1775 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
1776 Doug Evans <xdje42@gmail.com>
1778 * gdb.guile/scm-value.c: Improve test case.
1779 * gdb.guile/scm-value.exp: Add new test.
1781 2014-04-11 David Blaikie <dblaikie@gmail.com>
1783 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
1784 override Clang's default.
1786 2014-04-11 Joel Brobecker <brobecker@adacore.com>
1788 Revert the following changes (regressions):
1790 * gdb.base/vla-sideeffect.c: New file.
1791 * gdb.base/vla-sideeffect.exp: New file.
1793 * gdb.dwarf2/count.exp: New file.
1795 * gdb.base/vla-multi.c: New file.
1796 * gdb.base/vla-multi.exp: New file.
1798 * gdb.base/vla-ptr.c: New file.
1799 * gdb.base/vla-ptr.exp: New file.
1801 * gdb.base/vla-datatypes.c: New file.
1802 * gdb.base/vla-datatypes.exp: New file.
1804 * gdb.mi/mi-vla-c99.exp: New file.
1805 * gdb.mi/vla.c: New file.
1807 2014-04-11 Keith Seitz <keiths@redhat.com>
1810 * gdb.cp/cpsizeof.exp: New file.
1811 * gdb.cp/cpsizeof.cc: New file.
1813 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1815 * gdb.mi/mi-vla-c99.exp: New file.
1816 * gdb.mi/vla.c: New file.
1818 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1820 * gdb.base/vla-datatypes.c: New file.
1821 * gdb.base/vla-datatypes.exp: New file.
1823 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1825 * gdb.base/vla-ptr.c: New file.
1826 * gdb.base/vla-ptr.exp: New file.
1828 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1830 * gdb.base/vla-multi.c: New file.
1831 * gdb.base/vla-multi.exp: New file.
1833 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1835 * gdb.dwarf2/count.exp: New file.
1837 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1839 * gdb.base/vla-sideeffect.c: New file.
1840 * gdb.base/vla-sideeffect.exp: New file.
1842 2014-04-11 Yao Qi <yao@codesourcery.com>
1844 * gdb.base/completion.exp: Check file exists before running tests
1847 2014-04-10 Pedro Alves <palves@redhat.com>
1849 * gdb.base/cond-eval-mode.c: New file.
1850 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
1851 prepare_for_testing to build the new file. Check result of
1853 (test_break, test_watch): New procedures.
1854 (top level): Use them.
1856 2014-04-08 Pierre Muller <muller@sourceware.org>
1858 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
1859 Ctrl-V use for mingw hosts.
1861 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
1863 * gdb.python/py-value.c: Improve test case.
1864 * gdb.python/py-value.exp: Add new test.
1866 2014-04-07 David Blaikie <dblaikie@gmail.com>
1868 * lib/compiler.c: Identify the clang compiler.
1869 * lib/compiler.cc: Ditto.
1871 2014-04-03 Yao Qi <yao@codesourcery.com>
1873 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
1875 2014-04-01 Anton Blanchard <anton@samba.org>
1877 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
1880 2014-04-01 Anton Blanchard <anton@samba.org>
1882 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
1883 prepare_for_testing.
1885 2014-04-01 Anton Blanchard <anton@samba.org>
1887 * gdb.arch/ppc64-atomic-inst.c: Remove.
1888 * gdb.arch/ppc64-atomic-inst.S: New file.
1889 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
1891 2014-03-31 Doug Evans <dje@google.com>
1893 * gdb.base/print-symbol-loading-lib.c: New file.
1894 * gdb.base/print-symbol-loading-main.c: New file.
1895 * gdb.base/print-symbol-loading.exp: New file.
1897 2014-03-31 Yao Qi <yao@codesourcery.com>
1899 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
1901 2014-03-28 Joel Brobecker <brobecker@adacore.com>
1903 * gdb.ada/mi_dyn_arr: New testcase.
1905 2014-03-27 Doug Evans <dje@google.com>
1907 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
1909 2014-03-27 Yao Qi <yao@codesourcery.com>
1911 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
1912 if target is nios2-*-*.
1914 2014-03-26 Yao Qi <yao@codesourcery.com>
1916 * lib/gdb.exp (readline_is_used): New proc.
1917 * gdb.base/completion.exp: Move tests on command complete up.
1918 Skip the rest of tests if readline is not used.
1919 * gdb.ada/complete.exp: Skp the test if readline is not
1921 * gdb.base/filesym.exp: Likewise.
1922 * gdb.base/macscp.exp: Likewise.
1923 * gdb.base/readline-ask.exp: Likewise.
1924 * gdb.base/readline.exp: Likewise.
1925 * gdb.python/py-cmd.exp: Likewise.
1926 * gdb.trace/tfile.exp: Likewise.
1928 2014-03-26 Yao Qi <yao@codesourcery.com>
1930 * gdb.base/macscp.exp: Fix code format issues.
1932 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
1934 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
1935 * gdb.asm/powerpc64le.inc: New file.
1937 2014-03-25 Pedro Alves <palves@redhat.com>
1938 Doug Evans <dje@google.com>
1940 * gdb.base/source-execution.c: New file.
1941 * gdb.base/source-execution.exp: New file.
1942 * gdb.base/source-execution.gdb: New file.
1944 2014-03-24 Doug Evans <dje@google.com>
1946 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
1949 2014-03-24 Hui Zhu <hui@codesourcery.com>
1950 Pedro Alves <palves@redhat.com>
1952 PR breakpoints/16101
1953 * gdb.base/dprintf.exp: Use unsupported rather than changing the
1954 test pass/fail messages. Detect missing support for dprintf when
1955 breakpoints are actually inserted.
1956 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
1957 breakpoints are actually inserted.
1958 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
1961 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1963 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
1965 2014-03-22 Doug Evans <xdje42@gmail.com>
1967 * gdb.python/python.exp (python not supported): Verify multi-line
1968 python command issues an error.
1969 * gdb.guile/guile.exp (guile not supported): Verify multi-line
1970 guile command issues an error.
1972 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
1974 * gdb.threads/thread-specific.exp: Handle the lack of usable
1975 $this_breakpoint and $this_thread.
1977 2014-03-21 Hui Zhu <hui@codesourcery.com>
1979 * gdb.base/attach.exp (do_command_attach_tests): New.
1981 2014-03-20 Tom Tromey <tromey@redhat.com>
1982 Pedro Alves <palves@redhat.com>
1985 * gdb.base/condbreak-call-false.c: New file.
1986 * gdb.base/condbreak-call-false.exp: New file.
1988 2014-03-20 Pedro Alves <palves@redhat.com>
1990 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
1992 (block_signals, unblock_signals): Delete.
1993 (child_function_2, main): Remove references to deleted variable
1996 2014-03-20 Pedro Alves <palves@redhat.com>
1998 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
1999 Use pthread_kill to signal thread 2.
2000 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2001 Adjust to make the test send itself a signal rather than using the
2002 host's "kill" command.
2004 2014-03-20 Pedro Alves <palves@redhat.com>
2006 * gdb.threads/multiple-step-overs.c: New file.
2007 * gdb.threads/multiple-step-overs.exp: New file.
2008 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2009 Adjust expected infrun debug output.
2011 2014-03-20 Pedro Alves <palves@redhat.com>
2013 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2014 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2016 2014-03-20 Pedro Alves <palves@redhat.com>
2019 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2020 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2021 of gdb_test_multiple.
2022 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2023 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2025 2014-03-20 Pedro Alves <palves@redhat.com>
2027 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2028 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2030 2014-03-19 Pedro Alves <palves@redhat.com>
2032 * gdb.base/async.exp: Remove early return.
2034 2014-03-19 Pedro Alves <palves@redhat.com>
2036 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2038 2014-03-19 Pedro Alves <palves@redhat.com>
2040 * gdb.base/async.exp (test_background): Expect \r\n after
2041 "completed." in the fail pattern.
2043 2014-03-19 Pedro Alves <palves@redhat.com>
2045 * gdb.base/async.exp (test_background): New procedure.
2046 Use it for all background execution command tests.
2048 2014-03-19 Pedro Alves <palves@redhat.com>
2050 * gdb.base/async.exp: Use prepare_for_testing.
2052 2014-03-19 Pedro Alves <palves@redhat.com>
2054 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2057 2014-03-19 Pedro Alves <palves@redhat.com>
2059 * gdb.base/async.c (main): Add "jump here" and "until here" line
2061 * gdb.base/async.exp (jump_here): New global.
2062 (jump& test): Use it.
2063 (until_here): New global.
2064 (until& test): Use it.
2066 2014-03-19 Pedro Alves <palves@redhat.com>
2068 * gdb.base/async.exp: Don't frob gdb_protocol.
2070 2014-03-18 Doug Evans <xdje42@gmail.com>
2072 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2073 Fix spelling of exec-done-display.
2075 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2078 * gdb.base/gdb-sigterm.c: New file.
2079 * gdb.base/gdb-sigterm.exp: New file.
2081 2014-03-18 Pedro Alves <palves@redhat.com>
2084 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2085 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2088 2014-03-17 Joel Brobecker <brobecker@adacore.com>
2090 * gdb.ada/pckd_arr_ren: New testcase.
2092 2014-03-13 Doug Evans <xdje42@gmail.com>
2095 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2096 collect after discarding symbols.
2098 2014-03-13 Ludovic Courtès <ludo@gnu.org>
2099 Doug Evans <xdje42@gmail.com>
2101 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2102 to history survives a gc.
2104 2014-03-13 Pedro Alves <palves@redhat.com>
2106 * gdb.base/default.exp: Don't test "target procfs".
2108 2014-03-13 Pedro Alves <palves@redhat.com>
2110 * gdb.base/default.exp: Update "target child" and "target procfs"
2111 tests to not expect "Unix".
2113 2014-03-12 Tom Tromey <tromey@redhat.com>
2115 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2116 New procs. Add target-async tests.
2117 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2118 Add target-async tests.
2120 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2122 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2123 'func_start' and 'func_end' for the beginning and end of the
2124 function code, respectively.
2125 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2126 'func_end' instead of 'func' and 'main'.
2128 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2130 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2131 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2132 generate the debug info assembler source.
2134 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2136 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2137 * gdb.dwarf2/arr-subrange.exp: Likewise.
2138 * gdb.dwarf2/dwz.exp: Likewise.
2139 * gdb.dwarf2/method-ptr.exp: Likewise.
2140 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2141 * gdb.dwarf2/subrange.exp: Likewise.
2142 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2143 * gdb.dwarf2/implptrpiece.exp: Likewise.
2144 * gdb.dwarf2/nostaticblock.exp: Likewise.
2146 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2148 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2149 directory to absolute path name arguments.
2151 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2153 * gdb.ada/tagged_access: New testcase.
2155 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2157 * gdb.btrace/data.exp: Update expected output.
2159 2014-03-06 Yao Qi <yao@codesourcery.com>
2161 * gdb.trace/pr16508.exp: New file.
2163 2014-03-05 Pedro Alves <palves@redhat.com>
2166 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2168 (top level): Adjust to use it. Add tests that exercise breakpoint
2169 interaction with the code-cache.
2171 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2173 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2174 test for 'history-append!'.
2176 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2178 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2179 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2180 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2181 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2182 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2183 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2185 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2187 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2188 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2189 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2191 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2193 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2195 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2197 * gdb.dwarf2/arr-stride.c: New file.
2198 * gdb.dwarf2/arr-stride.exp: New file.
2200 2014-02-26 Pedro Alves <palves@redhat.com>
2202 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2203 that won't ever trigger. Make sure that GDB reports the correct
2204 breakpoint that caused the stop.
2206 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2209 * gdb.base/auto-load-script: New file.
2210 * gdb.base/auto-load.c: New file.
2211 * gdb.base/auto-load.exp: New file.
2214 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2216 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2218 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2219 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2221 2014-02-24 Doug Evans <dje@google.com>
2223 * lib/gdb.exp (run_on_host): Log error output if program fails.
2225 2014-02-21 Pedro Alves <palves@redhat.com>
2227 * gdb.threads/step-after-sr-lock.c: Rename to ...
2228 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2229 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2230 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2233 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2236 * gdb.arch/amd64-stap-special-operands.exp: New file.
2237 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2238 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2239 * gdb.arch/amd64-stap-triplet.S: Likewise.
2240 * gdb.arch/amd64-stap-triplet.c: Likewise.
2242 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2244 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2245 in .section pseudo-op.
2247 2014-02-20 lin zuojian <manjian2006@gmail.com>
2248 Joel Brobecker <brobecker@adacore.com>
2249 Doug Evans <xdje42@gmail.com>
2252 * gdb.dwarf2/dw2-icycle.S: New file.
2253 * gdb.dwarf2/dw2-icycle.c: New file.
2254 * gdb.dwarf2/dw2-icycle.exp: New file.
2256 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2258 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2259 operations on gdb.Value objects.
2260 * gdb.python/py-value-cc.exp: Add new test to test operations on
2263 2014-02-18 Doug Evans <dje@google.com>
2265 * Makefile.in (TESTS): New variable.
2266 (expanded_tests, expanded_tests_or_none): New variables
2267 (check-single): Pass $(expanded_tests_or_none) to runtest.
2268 (check-parallel): Only run tests in $(TESTS) if non-empty.
2269 (check/no-matching-tests-found): New rule.
2270 * README: Document TESTS makefile variable.
2272 2014-02-18 Doug Evans <dje@google.com>
2274 * Makefile.in (check-parallel): rm -rf outputs temp.
2276 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2278 Fix "ERROR: no fileid for" in the testsuite.
2279 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2281 2014-02-12 Doug Evans <dje@google.com>
2283 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2284 (MISCELLANEOUS): New variable.
2285 (clean): rm -rf $(MISCELLANEOUS).
2286 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2287 dwp live in the same directory as symlinks, with each symlink pointed
2288 to a differently named file in a different directory.
2290 2014-02-11 Doug Evans <dje@google.com>
2292 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2293 of Tcl file commands.
2295 2014-02-10 Mark Kettenis <kettenis@gnu.org>
2297 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2300 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2302 * gdb.ada/tick_length_array_enum_idx: New testcase.
2304 2014-02-10 Doug Evans <xdje42@gmail.com>
2306 * configure.ac (AC_OUTPUT): Add gdb.guile.
2307 * configure: Regenerate.
2308 * lib/gdb-guile.exp: New file.
2309 * lib/gdb.exp (get_target_charset): New function.
2310 * gdb.base/help.exp: Update expected output from "apropos apropos".
2311 * gdb.guile/Makefile.in: New file.
2312 * gdb.guile/guile.exp: New file.
2313 * gdb.guile/scm-arch.c: New file.
2314 * gdb.guile/scm-arch.exp: New file.
2315 * gdb.guile/scm-block.c: New file.
2316 * gdb.guile/scm-block.exp: New file.
2317 * gdb.guile/scm-breakpoint.c: New file.
2318 * gdb.guile/scm-breakpoint.exp: New file.
2319 * gdb.guile/scm-disasm.c: New file.
2320 * gdb.guile/scm-disasm.exp: New file.
2321 * gdb.guile/scm-equal.c: New file.
2322 * gdb.guile/scm-equal.exp: New file.
2323 * gdb.guile/scm-error.exp: New file.
2324 * gdb.guile/scm-error.scm: New file.
2325 * gdb.guile/scm-frame-args.c: New file.
2326 * gdb.guile/scm-frame-args.exp: New file.
2327 * gdb.guile/scm-frame-args.scm: New file.
2328 * gdb.guile/scm-frame-inline.c: New file.
2329 * gdb.guile/scm-frame-inline.exp: New file.
2330 * gdb.guile/scm-frame.c: New file.
2331 * gdb.guile/scm-frame.exp: New file.
2332 * gdb.guile/scm-generics.exp: New file.
2333 * gdb.guile/scm-gsmob.exp: New file.
2334 * gdb.guile/scm-iterator.c: New file.
2335 * gdb.guile/scm-iterator.exp: New file.
2336 * gdb.guile/scm-math.c: New file.
2337 * gdb.guile/scm-math.exp: New file.
2338 * gdb.guile/scm-objfile-script-gdb.in: New file.
2339 * gdb.guile/scm-objfile-script.c: New file.
2340 * gdb.guile/scm-objfile-script.exp: New file.
2341 * gdb.guile/scm-objfile.c: New file.
2342 * gdb.guile/scm-objfile.exp: New file.
2343 * gdb.guile/scm-ports.exp: New file.
2344 * gdb.guile/scm-pretty-print.c: New file.
2345 * gdb.guile/scm-pretty-print.exp: New file.
2346 * gdb.guile/scm-pretty-print.scm: New file.
2347 * gdb.guile/scm-section-script.c: New file.
2348 * gdb.guile/scm-section-script.exp: New file.
2349 * gdb.guile/scm-section-script.scm: New file.
2350 * gdb.guile/scm-symbol.c: New file.
2351 * gdb.guile/scm-symbol.exp: New file.
2352 * gdb.guile/scm-symtab-2.c: New file.
2353 * gdb.guile/scm-symtab.c: New file.
2354 * gdb.guile/scm-symtab.exp: New file.
2355 * gdb.guile/scm-type.c: New file.
2356 * gdb.guile/scm-type.exp: New file.
2357 * gdb.guile/scm-value-cc.cc: New file.
2358 * gdb.guile/scm-value-cc.exp: New file.
2359 * gdb.guile/scm-value.c: New file.
2360 * gdb.guile/scm-value.exp: New file.
2361 * gdb.guile/source2.scm: New file.
2362 * gdb.guile/types-module.cc: New file.
2363 * gdb.guile/types-module.exp: New file.
2365 2014-02-10 Yao Qi <yao@codesourcery.com>
2368 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
2369 * configure: Regenerated.
2370 * Makefile.in: New file.
2372 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2374 * gdb.python/py-framefilter.exp: Fix typo.
2376 2014-02-08 Yao Qi <yao@codesourcery.com>
2378 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
2379 that no =breakpoint-modified is emitted when breakpoints are
2380 modified through MI commands.
2382 2014-02-07 Pedro Alves <pedro@codesourcery.com>
2383 Pedro Alves <palves@redhat.com>
2385 * gdb.threads/step-after-sr-lock.c: New file.
2386 * gdb.threads/step-after-sr-lock.exp: New file.
2388 2014-02-07 Pedro Alves <palves@redhat.com>
2390 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
2392 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2394 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
2395 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
2397 2014-02-06 Doug Evans <xdje42@gmail.com>
2399 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
2402 * gdb.gdb/python-interrupts.exp: New file.
2404 2014-02-05 Yao Qi <yao@codesourcery.com>
2406 * gdb.trace/report.exp (use_collected_data): Test the output
2407 of "info threads" and "info inferiors".
2409 2014-02-05 Yao Qi <yao@codesourcery.com>
2413 2013-05-24 Yao Qi <yao@codesourcery.com>
2415 * gdb.trace/tfile.exp: Test inferior and thread.
2417 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2419 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
2421 * gdb.base/step-bt.c: Call hello via function pointer to make
2422 sure its first instruction is executed on powerpc64le-linux.
2424 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2426 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
2428 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2430 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
2431 of the test patterns for use on little-endian systems.
2433 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2435 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
2436 (decimal_vector): Fix for little-endian.
2438 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2440 * gdb.arch/sparc-sysstep.exp: New file.
2441 * gdb.arch/sparc-sysstep.c: Likewise.
2443 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
2445 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2447 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2449 2014-01-23 Tom Tromey <tromey@redhat.com>
2451 * gdb.ada/array_char_idx: New testcase.
2453 2014-01-23 Tom Tromey <tromey@redhat.com>
2456 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
2457 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2460 2014-01-23 Tom Tromey <tromey@redhat.com>
2463 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2464 string from an inferior frame.
2465 * gdb.python/py-framefilter-mi.exp: Update.
2467 2014-01-22 Doug Evans <dje@google.com>
2469 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2471 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2473 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2475 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2477 * gdb.trace/entry-values.exp: Remove excess space character from
2478 regex patterns. Handle s390 call instruction.
2480 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2482 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
2483 define "*_start" label. Make "name" static.
2484 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
2485 ${name} by references to ${name}_start.
2487 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2489 * gdb.base/info-macros.exp: Remove "debug" from the compile
2492 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2494 * gdb.dlang/demangle.exp: New file.
2496 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2498 * gdb.dlang/primitive-types.exp: New file.
2500 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2502 * configure.ac: Create gdb.dlang/Makefile.
2503 * configure: Regenerate.
2504 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
2505 * gdb.dlang/Makefile.in: New file.
2506 * lib/d-support.exp: New file.
2507 * lib/gdb.exp (skip_d_tests): New proc.
2509 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2511 * gdb.btrace/delta.exp: Check reverse stepi.
2512 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
2513 * gdb.btrace/finish.exp: New.
2514 * gdb.btrace/next.exp: New.
2515 * gdb.btrace/nexti.exp: New.
2516 * gdb.btrace/record_goto.c: Add comments.
2517 * gdb.btrace/step.exp: New.
2518 * gdb.btrace/stepi.exp: New.
2519 * gdb.btrace/multi-thread-step.c: New.
2520 * gdb.btrace/multi-thread-step.exp: New.
2521 * gdb.btrace/rn-dl-bind.c: New.
2522 * gdb.btrace/rn-dl-bind.exp: New.
2523 * gdb.btrace/data.c: New.
2524 * gdb.btrace/data.exp: New.
2525 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2527 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2529 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
2530 * gdb.btrace/exception.exp: Update.
2531 * gdb.btrace/instruction_history.exp: Update.
2532 * gdb.btrace/record_goto.exp: Update.
2533 * gdb.btrace/tailcall.exp: Update.
2534 * gdb.btrace/unknown_functions.exp: Update.
2535 * gdb.btrace/delta.exp: New.
2537 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2539 * gdb.btrace/record_goto.exp: Add backtrace test.
2540 * gdb.btrace/tailcall.exp: Add backtrace test.
2542 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2544 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
2545 * gdb.btrace/record_goto.c: New.
2546 * gdb.btrace/record_goto.exp: New.
2547 * gdb.btrace/x86-record_goto.S: New.
2549 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2551 * gdb.btrace/function_call_history.exp: Update tests.
2552 * gdb.btrace/instruction_history.exp: Update tests.
2554 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2556 * gdb.btrace/function_call_history.exp: Fix expected field
2557 order for "record function-call-history".
2558 Add new tests for "record function-call-history /c".
2559 * gdb.btrace/exception.cc: New.
2560 * gdb.btrace/exception.exp: New.
2561 * gdb.btrace/tailcall.exp: New.
2562 * gdb.btrace/x86-tailcall.S: New.
2563 * gdb.btrace/x86-tailcall.c: New.
2564 * gdb.btrace/unknown_functions.c: New.
2565 * gdb.btrace/unknown_functions.exp: New.
2566 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2568 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2570 * gdb.btrace/instruction_history.exp: Update.
2571 * gdb.btrace/function_call_history.exp: Update.
2573 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2575 * gdb.btrace/function_call_history.exp: Fix expected function
2577 * gdb.btrace/instruction_history.exp: Initialize traced.
2578 Remove traced_functions.
2580 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2582 * gdb.btrace/function_call_history.exp: Update
2583 * gdb.btrace/instruction_history.exp: Update.
2585 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2587 * gdb.btrace/enable.exp: Update expected text.
2589 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
2591 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
2594 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
2596 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
2598 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2600 * lib/gdb.exp (supports_process_record): Return true for
2601 arm*-linux*. (supports_reverse): Likewise.
2603 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
2607 * gdb.python/py-type.c: Enhance test case.
2608 * gdb.python/py-value-cc.cc: Likewise
2609 * gdb.python/py-type.exp: Add new tests.
2610 * gdb.python/py-value-cc.exp: Likewise
2612 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2613 Pedro Alves <palves@redhat.com>
2615 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
2617 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
2618 references to ${name}_start by references to ${name}.
2620 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2622 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
2624 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2626 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
2628 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
2629 Pedro Alves <palves@redhat.com>
2631 * gdb.mi/mi-info-os.exp: Connect to the target with
2634 2014-01-08 Pedro Alves <palves@redhat.com>
2636 * gdb.threads/reconnect-signal.c: New file.
2637 * gdb.threads/reconnect-signal.exp: New file.
2639 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2641 * gdb.base/source-dir.exp: New file.
2643 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2645 * gdb.ada/mi_interface: New testcase.
2647 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2649 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
2650 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
2651 gdb.ada/pp-rec-component/pck.ads: New files.
2653 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2655 * gdb.python/py-pp-integral.c: New file.
2656 * gdb.python/py-pp-integral.py: New file.
2657 * gdb.python/py-pp-integral.exp: New file.
2659 For older changes see ChangeLog-1993-2013.
2665 ;; version-control: never
2668 Copyright 2014 Free Software Foundation, Inc.
2669 Copying and distribution of this file, with or without modification,
2670 are permitted provided the copyright notice and this notice are preserved.