1 2014-10-13 Doug Evans <dje@google.com>
3 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
4 from the start of the CU.
6 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7 Yao Qi <yao@codesourcery.com>
9 Fix "save breakpoints" for "catch" command.
10 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
11 Remove -nonewline. Match also the added "main" line.
13 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15 Fix "save breakpoints" for "disable $bpnum" command.
16 * gdb.base/save-bp.c (main): Add label.
17 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
19 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
23 2014-10-11 Yao Qi <yao@codesourcery.com>
25 * gdb.server/server-kill.exp: Execute command
26 "set remote trace-status-packet on" before "tstatus".
28 2014-10-11 Yao Qi <yao@codesourcery.com>
30 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
32 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
33 and continue to it. Read variable "server_pid".
35 2014-10-11 Yao Qi <yao@codesourcery.com>
37 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
39 2014-10-11 Yao Qi <yao@codesourcery.com>
41 * gdb.threads/thread-find.exp: Don't execute command
43 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
44 * gdb.threads/linux-dp.exp: Don't check the condition
45 $threads_created equals to zero.
47 2014-10-10 Pedro Alves <palves@redhat.com>
49 * gdb.base/bigcore.exp: Remove references to IRIX.
50 * gdb.base/funcargs.exp: Likewise.
51 * gdb.base/interrupt.exp: Likewise.
52 * gdb.base/mips_pro.exp: Likewise.
53 * gdb.base/nodebug.exp: Likewise.
54 * gdb.base/setvar.exp: Likewise.
55 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
57 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
58 Pedro Alves <palves@redhat.com>
61 * gdb.base/vdso-warning.c: New file.
62 * gdb.base/vdso-warning.exp: New file.
64 2014-10-02 Doug Evans <dje@google.com>
66 * gdb.base/structs.c (main): Don't run forever.
68 2014-10-02 Pedro Alves <palves@redhat.com>
70 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
71 (top level) <stop threads 1, stop threads 2>: Use it.
73 2014-10-02 Pedro Alves <palves@redhat.com>
75 * gdb.threads/break-while-running.exp (test): Add new
76 'update_thread_list' argument. Skip "info threads" if false.
77 (top level): Add new 'update_thread_list' axis.
79 2014-10-02 Pedro Alves <palves@redhat.com>
82 * gdb.base/execl-update-breakpoints.c: New file.
83 * gdb.base/execl-update-breakpoints.exp: New file.
85 2014-10-01 Pedro Alves <palves@redhat.com>
87 * gdb.base/breakpoint-in-ro-region.c: New file.
88 * gdb.base/breakpoint-in-ro-region.exp: New file.
90 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
92 * gdb.mi/mi-exit-code.exp: New file.
93 * gdb.mi/mi-exit-code.c: New file.
95 2014-09-30 Yao Qi <yao@codesourcery.com>
97 * lib/prelink-support.exp (build_executable_own_libs): Error if
98 the target isn't native.
100 2014-09-30 Yao Qi <yao@codesourcery.com>
102 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
105 2014-09-22 Pedro Alves <palves@redhat.com>
107 * gdb.threads/break-while-running.exp: New file.
108 * gdb.threads/break-while-running.c: New file.
110 2014-09-19 Yao Qi <yao@codesourcery.com>
112 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
113 Invoke test. Restart GDB with --readnow and invoke test again.
115 2014-09-19 Yao Qi <yao@codesourcery.com>
117 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
118 proc set_breakpoint_on_gcd_function. Invoke
119 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
120 invoke set_breakpoint_on_gcd_function again.
122 2014-09-18 Doug Evans <dje@google.com>
124 * gdb.dwarf2/symtab-producer.exp: New file.
126 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
128 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
129 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
130 * gdb.base/global-var-nested-by-dso.c: Likewise.
131 * gdb.base/global-var-nested-by-dso.exp: Likewise.
133 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
134 Pedro Alves <palves@redhat.com>
136 * gdb.base/watch-bitfields.exp: Pass string other than test file
137 name to prepare_for_testing.
138 (watch): New procedure.
139 (expect_watchpoint): Use with_test_prefix.
140 (top level): Factor out tests to ...
141 (test_watch_location, test_regular_watch): ... these new
142 procedures, and use with_test_prefix and gdb_continue_to_end.
144 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
147 * gdb.base/watch-bitfields.exp: New file.
148 * gdb.base/watch-bitfields.c: New file.
150 2014-09-16 Pedro Alves <palves@redhat.com>
152 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
153 software and hardware addresses, not software address against
156 2014-09-16 Pedro Alves <palves@redhat.com>
158 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
159 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
161 2014-09-16 Pedro Alves <palves@redhat.com>
163 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
165 * gdb.base/a2-run.exp: Remove all code guarded by istarget
166 "*-*-vxworks*" throughout.
167 * gdb.base/break.exp: Likewise.
168 * gdb.base/default.exp: Likewise.
169 * gdb.base/scope.exp: Likewise.
170 * gdb.base/sepdebug.exp: Likewise.
171 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
173 * gdb.base/run.c: Likewise.
174 * gdb.base/sepdebug.c: Likewise.
175 * gdb.hp/gdb.aCC/run.c: Likewise.
176 * gdb.reverse/until-reverse.c: Likewise.
177 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
179 2014-09-16 Yao Qi <yao@codesourcery.com>
181 * boards/local-remote-host-native.exp: New file.
183 2014-09-14 Doug Evans <xdje42@gmail.com>
185 * gdb.threads/queue-signal.c (thread_count): New variable.
186 (thread_count_mutex, thread_count_condvar): New variables.
187 (incr_thread_count, wait_all_threads_running): New functions.
188 (main): Wait for all threads to be in their thread functions.
190 2014-09-13 Doug Evans <xdje42@gmail.com>
192 * gdb.threads/queue-signal.c: New file.
193 * gdb.threads/queue-signal.exp: New file.
195 2014-09-13 Doug Evans <xdje42@gmail.com>
197 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
198 be consistent with what default_gdb_init uses.
199 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
200 the plain text of the prompt. Add some logging printfs.
201 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
203 2014-09-12 Pedro Alves <palves@redhat.com>
205 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
206 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
207 * gdb.arch/i386-size-overlap.exp: Likewise.
208 * gdb.arch/i386-size.exp: Likewise.
209 * gdb.arch/i386-unwind.exp: Likewise.
210 * gdb.base/a2-run.exp: Likewise.
211 * gdb.base/break.exp: Likewise.
212 * gdb.base/charset.exp: Likewise.
213 * gdb.base/chng-syms.exp: Likewise.
214 * gdb.base/commands.exp: Likewise.
215 * gdb.base/dbx.exp: Likewise.
216 * gdb.base/find.exp: Likewise.
217 * gdb.base/funcargs.exp: Likewise.
218 * gdb.base/jit-simple.exp: Likewise.
219 * gdb.base/reread.exp: Likewise.
220 * gdb.base/sepdebug.exp: Likewise.
221 * gdb.base/step-bt.exp: Likewise.
222 * gdb.cp/mb-inline.exp: Likewise.
223 * gdb.cp/mb-templates.exp: Likewise.
224 * gdb.objc/basicclass.exp: Likewise.
225 * gdb.threads/killed.exp: Likewise.
227 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
230 * gdb.arch/powerpc-stackless.S: New file.
231 * gdb.arch/powerpc-stackless.exp: New file.
233 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
235 * gdb.base/attach.c: Include unistd.h.
236 (main): Call alarm. Add label postloop.
237 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
238 gdb_breakpoint, gdb_continue_to_breakpoint.
239 (test_command_line_attach_run): Kill ${testpid} in one exit path.
241 2014-09-11 Pedro Alves <palves@redhat.com>
244 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
245 * gdb.base/attach.exp (test_command_line_attach_run): New
247 (top level): Call it.
249 2014-09-11 Pedro Alves <palves@redhat.com>
251 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
252 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
253 (do_command_attach_tests): Use spawn_wait_for_attach.
254 * gdb.base/solib-overlap.exp: Likewise.
255 * gdb.multi/multi-attach.exp: Likewise.
256 * gdb.python/py-prompt.exp: Likewise.
257 * gdb.python/py-sync-interp.exp: Likewise.
258 * gdb.server/ext-attach.exp: Likewise.
260 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
262 * gdb.fortran/array-element.exp: Remove unexpected "continue"
263 command in testcase. Simplify testcase.
265 2014-09-10 Joel Brobecker <brobecker@adacore.com>
267 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
269 2014-09-10 Joel Brobecker <brobecker@adacore.com>
271 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
273 2014-09-10 Joel Brobecker <brobecker@adacore.com>
275 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
277 2014-09-10 Joel Brobecker <brobecker@adacore.com>
279 * gdb.dwarf2/dynarr-ptr.c: New file.
280 * gdb.dwarf2/dynarr-ptr.exp: New file.
282 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
284 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
285 of 30 rather than hardcoding 120 for a slow test case. Take the
286 `gdb,timeout' target setting into account for this calculation.
287 Don't extend the timeout for the test cases that don't need it.
289 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
291 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
292 a factor of 2 for a slow test case. Take the `gdb,timeout'
293 target setting into account for this calculation.
294 * gdb.reverse/until-precsave.exp: Increase the timeout by
295 a factor of 15 and 3 respectively rather than adding 120
296 for a pair of slow test cases. Take the `gdb,timeout'
297 target setting into account for this calculation.
299 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
301 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
302 timeout, don't pass one down to gdb_expect.
303 (gdb_expect): Rework timeout selection.
305 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
307 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
308 exception on timeout.
309 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
310 (gdbserver_start_extended): Catch any `gdbserver_start' error
312 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
313 * lib/mi-support.exp (mi_gdb_target_load): Catch any
314 `gdbserver_gdb_load' error exceptions.
316 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
318 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
319 120 on waiting for the TCP socket to open.
321 2014-09-09 Doug Evans <xdje42@gmail.com>
323 * gdb.base/default.exp (show_conv_list): Add _caller_is,
324 _caller_matches, _any_caller_is, _any_caller_matches.
326 2014-09-09 Doug Evans <xdje42@gmail.com>
328 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
330 2014-09-09 Yao Qi <yao@codesourcery.com>
332 * gdb.mi/mi-var-display.exp: Set print symbol off.
334 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
337 * gdb.base/commands.exp: Add tests to verify user-defined
338 commands with empty bodies.
339 * gdb.python/py-cmd.exp: Test that we don't show user-defined
340 python commands in `show user command`.
341 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
342 scheme commands in `show user command`.
344 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
347 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
348 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
349 * gdb.python/py-framefilter-invalidarg.exp: New file.
350 * gdb.python/py-framefilter-invalidarg.py: New file.
352 2014-09-06 Doug Evans <xdje42@gmail.com>
355 * gdb.python/py-caller-is.c: New file.
356 * gdb.python/py-caller-is.exp: New file.
358 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
361 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
362 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
364 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
367 * gdb.fortran/print-formatted.exp: New file.
368 * gdb.fortran/print-formatted.f90: Likewise.
370 2014-09-03 Sasha Smundak <asmundak@google.com>
372 * gdb.python/py-frame.exp: Test Frame.read_register.
374 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
377 * gdb.python/py-completion.exp: New file.
378 * gdb.python/py-completion.py: Likewise.
380 2014-08-28 Doug Evans <dje@google.com>
382 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
383 eax,etc. are live with values set by gdb and thus the compiler can't
385 * gdb.arch/i386-pseudo.c (main): Ditto.
387 2014-08-27 Doug Evans <dje@google.com>
389 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
391 2014-08-25 Doug Evans <dje@google.com>
393 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
396 2014-08-25 Doug Evans <dje@google.com>
398 * gdb.threads/thread-execl.exp: #include <stdio.h>.
400 2014-08-24 Yao Qi <yao@codesourcery.com>
402 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
404 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
406 2014-08-22 Doug Evans <dje@google.com>
409 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
410 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
411 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
413 2014-08-22 Yao Qi <yao@codesourcery.com>
415 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
416 * gdb.python/py-finish-breakpoint2.exp: Likewise.
417 * gdb.python/python.exp: Likewise. Use .py file on the host
418 instead of the build.
420 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
422 * gdb.threads/gcore-stale-thread.c: New file.
423 * gdb.threads/gcore-stale-thread.exp: New file.
425 2014-08-21 Pedro Alves <palves@redhat.com>
427 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
428 * gdb.base/gcore-relro-pie.exp: Likewise.
429 * gdb.base/gcore-relro.exp: Likewise.
430 * gdb.base/gcore.exp: Likewise.
431 * gdb.base/print-symbol-loading.exp: Likewise.
432 * gdb.threads/gcore-thread.exp: Likewise.
433 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
435 2014-08-20 Pedro Alves <palves@redhat.com>
436 Jan Kratochvil <jan.kratochvil@redhat.com>
438 * Makefile.in (EXTRA_RULES, CC): New variables, get from
440 (EXPECT): Handle READ1 being set.
441 (all): Depend on EXTRA_RULES.
442 (check-read1, expect-read1, read1.so, read1): New rules.
443 * README (Testsuite Parameters): Document the READ1 make variable.
444 (Race detection): New section.
445 * configure: Regenerate.
446 * configure.ac: If build==host==target, and running under a
447 GNU/glibc system, add read1 to the extra Makefile rules.
448 (EXTRA_RULES): AC_SUBST it.
449 * lib/read1.c: New file.
451 2014-08-20 Joel Brobecker <brobecker@adacore.com>
453 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
454 the handling of variables declared as a typedef to an array
455 which a DW_AT_data_location attribute.
457 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
458 Pedro Alves <palves@redhat.com>
462 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
465 2014-08-19 Pedro Alves <palves@redhat.com>
467 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
469 2014-08-19 Yao Qi <yao@codesourcery.com>
471 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
474 2014-08-18 David Blaikie <dblaikie@gmail.com>
476 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
478 2014-08-18 Joel Brobecker <brobecker@adacore.com>
480 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
481 attribute in array range.
483 2014-08-18 Joel Brobecker <brobecker@adacore.com>
485 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
487 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
490 * gdb.cp/pr17132.cc: New file.
491 * gdb.cp/pr17132.exp: New file.
493 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
495 * gdb.python/py-xmethods.py (A_getarrayind)
496 (E_method_char_worker.__call__, E_method_int_worker.__call__):
497 Use 'print' with function call syntax.
498 (E_method_matcher.match): Fix tab vs space indentation mixup.
500 2014-08-15 Yao Qi <yao@codesourcery.com>
502 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
505 2014-08-15 Yao Qi <yao@codesourcery.com>
507 * gdb.cp/casts.exp: Set print symbol off.
508 * gdb.cp/class2.exp: Likewise.
509 * gdb.cp/overload.exp: Likewise.
510 * gdb.cp/templates.exp: Likewise.
512 2014-08-11 Doug Evans <dje@google.com>
514 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
515 (test_load_shlib): Update.
517 2014-08-09 Yao Qi <yao@codesourcery.com>
519 * gdb.base/display.exp: Invoke is_address_zero_readable.
520 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
521 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
522 * gdb.base/hbreak-unmapped.exp: Return if
523 is_address_zero_readable returns true.
524 * gdb.base/signest.exp: Likewise.
525 * gdb.base/signull.exp: Likewise.
526 * gdb.base/sigbpt.exp: Likewise.
527 * gdb.guile/scm-disasm.exp: Do the test if
528 is_address_zero_readable returns false.
529 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
530 * gdb.python/py-arch.exp: Likewise.
531 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
532 * lib/gdb.exp (is_address_zero_readable): New proc.
534 2014-08-09 Yao Qi <yao@codesourcery.com>
537 * gdb.mi/mi-var-display.exp: Make test messages unique.
539 2014-08-04 Tom Tromey <tromey@redhat.com>
541 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
544 2014-08-04 Tom Tromey <tromey@redhat.com>
546 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
549 2014-08-01 Joel Brobecker <brobecker@adacore.com>
551 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
552 inner_vla_struct_object_size.
553 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
556 2014-07-30 Pedro Alves <palves@redhat.com>
558 * gdb.threads/signal-command-handle-nopass.exp (test): Add
561 2014-07-29 Yao Qi <yao@codesourcery.com>
564 * gdb.base/until-nodebug.exp: New.
566 2014-07-28 Doug Evans <xdje42@gmail.com>
569 * gdb.guile/scm-parameter.exp: Add tests for trying to create
570 previously existing parameter, and previously ambiguously spelled
573 2014-07-28 Will Newton <will.newton@linaro.org>
575 * gdb.base/varargs.exp: Remove KFAILs for ARM.
577 2014-07-26 Ludovic Courtès <ludo@gnu.org>
578 Doug Evans <xdje42@gmail.com>
581 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
583 2014-07-25 Pedro Alves <palves@redhat.com>
585 * gdb.threads/signal-command-handle-nopass.c: New file.
586 * gdb.threads/signal-command-handle-nopass.exp: New file.
587 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
588 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
589 * gdb.threads/signal-delivered-right-thread.c: New file.
590 * gdb.threads/signal-delivered-right-thread.exp: New file.
592 2014-07-25 Pedro Alves <palves@redhat.com>
594 * gdb.base/double-prompt-target-event-error.exp
595 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
597 (cancel_pagination_in_target_event): Rework double prompt
599 * gdb.base/paginate-after-ctrl-c-running.exp
600 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
602 * gdb.base/paginate-bg-execution.exp
603 (test_bg_execution_pagination_return)
604 (test_bg_execution_pagination_cancel): Remove '-notransfer
606 * gdb.base/paginate-execution-startup.exp
607 (test_fg_execution_pagination_return)
608 (test_fg_execution_pagination_cancel): Remove '-notransfer
610 * gdb.base/paginate-inferior-exit.exp
611 (test_paginate_inferior_exited): Remove '-notransfer <return>'
613 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
614 * lib/gdb.exp (pagination_prompt): Run text through
616 (gdb_test_multiple): Match $pagination_prompt instead of
618 (string_to_regexp): Move to lib/gdb-utils.exp.
620 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
622 * gdb.arch/amd64-entry-value-paramref.S: New file.
623 * gdb.arch/amd64-entry-value-paramref.cc: New file.
624 * gdb.arch/amd64-entry-value-paramref.exp: New file.
625 * gdb.arch/amd64-optimout-repeat.S: New file.
626 * gdb.arch/amd64-optimout-repeat.c: New file.
627 * gdb.arch/amd64-optimout-repeat.exp: New file.
629 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
632 * gdb.base/statistics.exp: New file.
634 2014-07-17 Doug Evans <dje@google.com>
637 * gdb.base/maint.exp: Update testing of per-command stats.
639 2014-07-16 Pedro Alves <palves@redhat.com>
641 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
642 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
643 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
644 (tfile_write_buf): New functions.
645 (add_memory_block): Rewrite using the above.
646 (adjust_function_address): New function.
647 (FUNCTION_ADDRESS): New macro.
648 (write_basic_trace_file): Remove short_x local, and use
649 tfile_write_16. Change type of func_addr local to unsigned long
650 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
651 here. Cast argument of add_memory_block to char pointer.
652 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
653 (main): Remove parameters.
654 * gdb.trace/tfile.exp: Remove nowarnings.
656 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
658 * gdb.base/debug-expr.exp: Test string evaluation with
659 "debug expression" on.
661 2014-07-15 Pedro Alves <palves@redhat.com>
663 * gdb.base/reread.exp: Use clean_restart.
665 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
667 * gdb.arch/avr-flash-qualifer.c: New.
668 * gdb.arch/avr-flash-qualifer.exp: New.
670 2014-07-14 Pedro Alves <palves@redhat.com>
672 * gdb.base/paginate-after-ctrl-c-running.c: New file.
673 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
675 2014-07-14 Pedro Alves <palves@redhat.com>
677 * gdb.base/double-prompt-target-event-error.c: New file.
678 * gdb.base/double-prompt-target-event-error.exp: New file.
680 2014-07-14 Pedro Alves <palves@redhat.com>
683 * gdb.base/paginate-inferior-exit.c: New file.
684 * gdb.base/paginate-inferior-exit.exp: New file.
686 2014-07-14 Pedro Alves <palves@redhat.com>
689 * gdb.base/paginate-bg-execution.c: New file.
690 * gdb.base/paginate-bg-execution.exp: New file.
692 2014-07-14 Pedro Alves <palves@redhat.com>
695 * gdb.base/paginate-execution-startup.c: New file.
696 * gdb.base/paginate-execution-startup.exp: New file.
697 * lib/gdb.exp (pagination_prompt): New global.
698 (default_gdb_spawn): New procedure, factored out from
700 (default_gdb_start): Adjust to call default_gdb_spawn.
701 (gdb_spawn): New procedure.
703 2014-07-14 Pedro Alves <palves@redhat.com>
705 * lib/gdb.exp (gdb_assert): New procedure.
706 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
708 2014-07-14 Pedro Alves <palves@redhat.com>
710 * gdb.base/execution-termios.c: New file.
711 * gdb.base/execution-termios.exp: New file.
713 2014-07-14 Tom Tromey <tromey@redhat.com>
715 * gdb.cp/vla-cxx.cc: New file.
716 * gdb.cp/vla-cxx.exp: New file.
718 2014-07-14 Tom Tromey <tromey@redhat.com>
720 * gdb.reverse/rerun-prec.c: New file.
721 * gdb.reverse/rerun-prec.exp: New file.
723 2014-07-12 Maciej W. Rozycki <macro@mips.com>
724 Maciej W. Rozycki <macro@codesourcery.com>
726 * lib/gdb-utils.exp: New file.
727 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
728 inline `gdb_init_command' processing.
729 (gdb_start_cmd): Likewise.
730 * lib/mi-support.exp (mi_run_cmd): Likewise.
731 * README: Document `gdb_init_command' and `gdb_init_commands'.
733 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
735 Fix false FAIL running under a very long directory name.
736 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
737 and "set print elements 10000". Twice.
739 2014-07-11 Yao Qi <yao@codesourcery.com>
741 * gdb.base/exprs.exp: "set print symbol off".
743 2014-07-11 Pedro Alves <palves@redhat.com>
745 * gdb.threads/kill.c: New file.
746 * gdb.threads/kill.exp: New file.
748 2014-07-10 Yao Qi <yao@codesourcery.com>
750 * gdb.trace/tfile.c (write_basic_trace_file)
751 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
752 address written to trace file.
754 2014-07-09 Pedro Alves <palves@redhat.com>
756 * gdb.base/attach-wait-input.exp: New file.
757 * gdb.base/attach-wait-input.c: New file.
759 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
761 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
762 setting up test structures.
763 (main): Call new test function.
764 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
765 test function, continue into test function and walk test
768 2014-07-02 Yao Qi <yao@codesourcery.com>
770 * gdb.trace/entry-values.c: Define labels 'foo_start' and
771 'bar_start' at the beginning of functions 'foo' and 'bar'
773 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
774 instead of 'foo' and 'bar'.
776 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
778 * gdb.btrace/segv.exp: New.
779 * gdb.btrace/segv.c: New.
781 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
783 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
786 2014-06-30 Mark Wielaard <mjw@redhat.com>
788 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
789 vulture, vilify, villar): New volatile array constants.
790 (vindictive, vegetation): New const volatile array constants.
791 * gdb.base/volatile.exp: Test volatile and const volatile array
794 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
796 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
797 target lacks support for awatch, rwatch, or hbreak.
799 2014-06-27 Yao Qi <yao@codesourcery.com>
801 * gdb.multi/dummy-frame-restore.exp: New.
802 * gdb.multi/dummy-frame-restore.c: New.
804 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
806 * gdb.btrace/gcore.exp: New.
808 2014-06-23 Pedro Alves <palves@redhat.com>
810 * gdb.base/watchpoint-reuse-slot.c: New file.
811 * gdb.base/watchpoint-reuse-slot.exp: New file.
813 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
815 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
816 progspace's filename in 'info', 'enable' and 'disable' command
819 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
821 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
822 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
823 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
825 2014-06-20 Gary Benson <gbenson@redhat.com>
827 * gdb.arch/i386-avx.exp: Fix include file location.
828 * gdb.arch/i386-sse.exp: Likewise.
830 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
832 * gdb.dlang/expression.exp: New file.
834 2014-06-19 Pedro Alves <palves@redhat.com>
836 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
838 (top level): ... here. Iterate running tests under different
839 scheduler-locking settings.
841 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
843 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
844 to DW_FORM_addr and use non-zero addresses.
846 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
849 * gdb.python/py-xmethods.cc: Add global function call counters and
850 increment them in their respective functions. Remove "cout"
852 * gdb.python/py-xmethods.exp: Make tests check the global function
853 call counters instead of depending on inferior IO.
855 2014-06-18 Don Breazeal <donb@codesourcery.com>
857 * gdb.base/foll-fork.exp (default_fork_parent_follow):
859 (explicit_fork_parent_follow): Deleted procedure.
860 (explicit_fork_child_follow): Deleted procedure.
861 (test_follow_fork): New procedure.
862 (do_fork_tests): Replace calls to deleted procedures with
863 calls to test_follow_fork and reset GDB for subsequent
866 2014-06-17 Yao Qi <yao@codesourcery.com>
868 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
871 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
873 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
874 Initialize ptr and S explicitly.
875 (skip_type_update_when_not_use_rtti_test): Likewise.
877 2014-06-16 Keith Seitz <keiths@redhat.com>
880 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
881 the inferior is started.
883 2014-06-16 Pedro Alves <palves@redhat.com>
885 * gdb.base/break-main-file-remove-fail.c: New file.
886 * gdb.base/break-main-file-remove-fail.exp: New file.
887 * gdb.base/break-unload-file.exp: Use build_executable instead of
889 (test_break): New parameter "initial_load". Handle it.
890 (top level): Add initial_load cmdline/file axis.
892 2014-06-12 Tom Tromey <tromey@redhat.com>
894 * gdb.base/completion.exp: Don't use directory name in test.
896 2014-06-09 Gary Benson <gbenson@redhat.com>
898 * gdb.base/sigall.c [Functions to send signals]: Reorder to
899 separate the always-available ANSI-standard signals from the
900 signals that require checking.
902 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
906 2014-06-07 Keith Seitz <keiths@redhat.com>
910 * gdb.cp/var-tag.cc: New file.
911 * gdb.cp/var-tag.exp: New file.
912 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
913 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
914 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
915 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
917 2014-06-06 Doug Evans <xdje42@gmail.com>
919 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
921 2014-06-06 Pedro Alves <palves@redhat.com>
923 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
924 in target debug output instead of looking at RSP packets,
925 disabling the test on any target that uses hardware stepping.
928 2014-06-06 Pedro Alves <palves@redhat.com>
930 * gdb.base/break-unload-file.exp: Fix typo.
932 2014-06-06 Yao Qi <yao@codesourcery.com>
934 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
935 from "jit_function" to "^jit_function".
937 2014-06-06 Yao Qi <yao@codesourcery.com>
939 * gdb.base/async.c (foo): Add one statement.
940 * gdb.base/async.exp: Get the next instruction address and
941 match the output of "nexti" by instruction address. Match
942 the hex address in the output of "finish".
944 2014-06-06 Gary Benson <gbenson@redhat.com>
946 * gdb.base/call-signals.c: Remove preprocessor conditionals
947 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
949 * gdb.base/sigall.c: Likewise.
950 * gdb.base/unwindonsignal.c: Likewise.
951 * gdb.reverse/sigall-reverse.c: Likewise.
953 2014-06-06 Yao Qi <yao@codesourcery.com>
955 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
956 readable, skip the test.
958 2014-06-06 Yao Qi <yao@codesourcery.com>
960 * gdb.threads/staticthreads.c (thread_function): Move the line
961 setting breakpoint on forward.
962 * gdb.threads/staticthreads.exp: Update comments.
964 2014-06-05 Ludovic Courtès <ludo@gnu.org>
966 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
967 "history-append! type error".
969 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
971 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
972 erroneous dprintf expected input.
974 2014-06-04 Doug Evans <xdje42@gmail.com>
976 * gdb.guile/scm-generics.exp: Delete.
978 2014-06-04 Doug Evans <xdje42@gmail.com>
980 * gdb.guile/scm-breakpoint.exp: Update.
981 Add tests for breakpoint registration.
983 2014-06-04 Tom Tromey <tromey@redhat.com>
985 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
987 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
988 inner_vla_struct, vla_union types. Initialize objects of those
989 types and compute their sizes.
991 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
992 Hui Zhu <hui@codesourcery.com>
994 * gdb.base/fileio.exp: Add test for shell not available as well as
996 * gdb.base/fileio.c (test_system): Check for shell twice.
998 2014-06-04 Yao Qi <yao@codesourcery.com>
1000 * gdb.base/auto-connect-native-target.exp: Remove redundant
1001 space from the regexp pattern.
1003 2014-06-04 Yao Qi <yao@codesourcery.com>
1005 * gdb.base/default.exp: Replace "child" with "native" in
1008 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1010 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1011 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1012 * gdb.python/py-xmethods.py: Python script supporting the
1013 new testcase and tests.
1015 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1016 Pedro Alves <palves@redhat.com>
1018 PR breakpoints/17000
1019 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1020 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1022 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1024 * gdb.base/subst.exp: Add tests to verify partial path matching
1027 2014-06-03 Pedro Alves <palves@redhat.com>
1029 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1030 target that doesn't use software single-stepping.
1032 2014-06-03 Pedro Alves <palves@redhat.com>
1034 PR breakpoints/17000
1035 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1036 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1038 2014-06-02 Doug Evans <xdje42@gmail.com>
1040 * gdb.guile/scm-parameter.exp: New file.
1042 2014-06-02 Doug Evans <xdje42@gmail.com>
1044 * gdb.guile/scm-cmd.c: New file.
1045 * gdb.guile/scm-cmd.exp: New file.
1047 2014-06-02 Doug Evans <xdje42@gmail.com>
1049 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1050 pretty-printer lookup.
1051 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1052 (make-pp_s-printer): Call it.
1053 (make-pretty-printer-from-dict): New function.
1054 (lookup-pretty-printer-maker-from-dict): New function.
1055 (*pretty-printer*): Simplify.
1056 (make-objfile-pp_s-printer): New function.
1057 (install-objfile-pretty-printers!): New function.
1058 (make-progspace-pp_s-printer): New function.
1059 (install-progspace-pretty-printers!): New function.
1060 * gdb.guile/scm-progspace.c: New file.
1061 * gdb.guile/scm-progspace.exp: New file.
1063 2014-06-02 Pedro Alves <palves@redhat.com>
1065 * gdb.base/dprintf-bp-same-addr.c: New file.
1066 * gdb.base/dprintf-bp-same-addr.exp: New file.
1068 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1070 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1071 * gdb.arch/powerpc-power.s: Likewise.
1073 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1075 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1077 2014-06-01 Yao Qi <yao@codesourcery.com>
1079 * gdb.base/watchpoint.exp (test_watch_location): Check null
1080 pointer can be dereferenced. If not, do the test, otherwise
1083 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1085 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1087 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1089 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1091 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1092 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1093 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1094 * gdb.arch/amd64-invalid-stack-top.c: New file.
1095 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1097 2014-05-30 Pedro Alves <palves@redhat.com>
1099 PR breakpoints/17000
1100 * gdb.base/sss-bp-on-user-bp.c: New file.
1101 * gdb.base/sss-bp-on-user-bp.exp: New file.
1103 2014-05-30 David Blaikie <dblaikie@gmail.com>
1105 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1106 gnu_inline semantics via attribute.
1107 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1108 source explicitly specifies the required semantics.
1110 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1112 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1114 2014-05-29 Pedro Alves <palves@redhat.com>
1115 Tom Tromey <tromey@redhat.com>
1117 * gdb.base/async-shell.exp: Don't enable target-async.
1118 * gdb.base/async.exp
1119 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1121 (top level): Don't test with "target-async".
1122 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1123 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1124 * gdb.base/inferior-died.exp: Don't enable target-async.
1125 * gdb.base/interrupt-noterm.exp: Likewise.
1126 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1127 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1128 * gdb.mi/mi-nonstop.exp: Likewise.
1129 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1130 * gdb.mi/mi-nsintrall.exp: Likewise.
1131 * gdb.mi/mi-nsmoribund.exp: Likewise.
1132 * gdb.mi/mi-nsthrexec.exp: Likewise.
1133 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1134 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1135 * gdb.python/py-evsignal.exp: Don't enable target-async.
1136 * gdb.python/py-evthreads.exp: Likewise.
1137 * gdb.python/py-prompt.exp: Likewise.
1138 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1139 * gdb.server/solib-list.exp: Don't enable target-async.
1140 * gdb.threads/thread-specific-bp.exp: Likewise.
1141 * lib/mi-support.exp: Adjust to use mi-async.
1143 2014-05-29 Pedro Alves <palves@redhat.com>
1146 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1147 reason, even in sync mode.
1149 2014-05-29 Pedro Alves <palves@redhat.com>
1150 Hui Zhu <hui@codesourcery.com>
1153 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1154 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1155 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1156 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1158 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1160 * config/monitor.exp (gdb_target_monitor): Replace use of
1161 "set remotebaud" by "set serial baud".
1163 2014-05-26 Andy Wingo <wingo@igalia.com>
1165 * gdb.guile/scm-breakpoint.exp:
1166 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1167 properties instead of gdb-object-properties.
1169 2014-05-26 Yao Qi <yao@codesourcery.com>
1171 * gdb.server/no-thread-db.exp: Specify source file name
1172 explicitly when setting a breakpoint.
1174 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1176 * gdb.btrace/vdso.c: New.
1177 * gdb.btrace/vdso.exp: New.
1179 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1181 * gdb.base/gcore.exp (capture_command_output): Move ...
1182 * lib/gdb.exp (capture_command_output): ... here.
1184 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1186 * gdb.btrace/data.exp: Test memory access during btrace replay.
1188 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1190 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1192 2014-05-21 Pedro Alves <palves@redhat.com>
1195 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1196 (top level): Test that output related to execution commands is
1197 sent to the console with CLI commands, but not with MI commands.
1198 Test that breakpoint events are always mirrored to the console.
1199 Also expect the new source line to be output after a "next" in
1200 async mode too. Make it a pass/fail test.
1201 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1203 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1205 2014-05-21 Pedro Alves <palves@redhat.com>
1207 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1208 Use them to test variations of "list" after reaching a breakpoint.
1209 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1210 Test "list" with listsize 10 after reaching a breakpoint.
1211 * gdb.python/python.exp (decode_line current location line
1212 number): Adjust expected line number.
1214 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1216 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1217 behavior for $args, pass it directly to "run".
1219 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1221 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1224 2014-05-21 Pedro Alves <palves@redhat.com>
1226 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1227 auto-connect-native-target off".
1228 * gdb.base/auto-connect-native-target.c: New file.
1229 * gdb.base/auto-connect-native-target.exp: New file.
1231 2014-05-21 Pedro Alves <palves@redhat.com>
1233 * gdb.base/default.exp: Test "target native" instead of "target
1236 2014-05-21 Mark Wielaard <mjw@redhat.com>
1238 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1240 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1242 Fix TLS access for -static -pthread.
1243 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1244 <HAVE_TLS> (thread_function, main): Initialize it.
1245 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1247 <$have_tls != "">: Check TLSVAR.
1249 2014-05-21 Pedro Alves <palves@redhat.com>
1251 * gdb.base/dcache-line-read-error.c: New.
1252 * gdb.base/dcache-line-read-error.exp: New.
1254 2014-05-20 Pedro Alves <palves@redhat.com>
1256 * gdb.base/compare-sections.c: New file.
1257 * gdb.base/compare-sections.exp: New file.
1259 2014-05-20 Pedro Alves <palves@redhat.com>
1261 * gdb.base/break-idempotent.c: New file.
1262 * gdb.base/break-idempotent.exp: New file.
1264 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1266 * gdb.btrace/nohist.exp: New.
1268 2014-05-20 Yao Qi <yao@codesourcery.com>
1270 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1271 gdb.reverse directory and gdb_reverse_timeout exists in board
1273 * README: Document gdb_reverse_timeout.
1275 2014-05-20 Yao Qi <yao@codesourcery.com>
1277 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1278 'test_file_name'. Treat args as a string instead of a list.
1279 (gdb_init): Rename argument 'args' by 'test_file_name'.
1281 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1283 * gdb.arch/powerpc-power.exp: New file.
1284 * gdb.arch/powerpc-power.s: New file.
1286 2014-05-16 Doug Evans <dje@google.com>
1288 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
1289 * gdb.base/completion.exp: Check that all expected files exist
1290 before doing file completion.
1292 2014-05-16 Doug Evans <dje@google.com>
1294 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1296 (do_syscall_tests_without_xml): Update.
1298 2014-05-16 Pedro Alves <palves@redhat.com>
1300 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1301 instead of "unknown output after running".
1303 2014-05-16 Yao Qi <yao@codesourcery.com>
1305 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1306 file1.txt from host at the end.
1307 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1309 2014-05-15 Doug Evans <dje@google.com>
1311 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1312 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1313 loading file. Add test for TU lookup.
1315 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1317 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1318 calling "-exec-arguments" or "set args" before running the
1321 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1323 * lib/mi-support.exp (mi_expect_stop): Expect message for
1324 inferiors that exit with non-zero exit code.
1326 2014-05-14 Yao Qi <yao@codesourcery.com>
1328 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1329 match absolute path on remote host.
1330 (test_file_list_exec_source_files): Remove "/" from the
1333 2014-05-14 Yao Qi <yao@codesourcery.com>
1335 * boards/local-remote-host-notty.exp (${board}_file): New
1338 2014-05-07 Kyle McMartin <kyle@redhat.com>
1340 Pushed by Joel Brobecker <brobecker@adacore.com>.
1341 * gdb.arch/aarch64-atomic-inst.c: New file.
1342 * gdb.arch/aarch64-atomic-inst.exp: New file.
1344 2014-05-07 Yao Qi <yao@codesourcery.com>
1346 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1347 in current context" too.
1349 2014-05-05 Keith Seitz <keiths@redhat.com>
1351 * gdb.linespec/ls-dollar.exp: Add test for linespec
1352 file:convenience_variable.
1354 2014-05-05 Yao Qi <yao@codesourcery.com>
1356 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
1357 traceframes into tfile and ctf trace files. Read data from
1358 trace file and test collected data.
1359 (gdb_collect_locals_test): Likewise.
1360 (gdb_unavailable_registers_test): Likewise.
1361 (gdb_unavailable_floats): Likewise.
1362 (gdb_collect_globals_test): Likewise.
1363 (top-level): Append "ctf" to trace_file_targets if GDB
1366 2014-05-05 Yao Qi <yao@codesourcery.com>
1368 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
1370 (gdb_collect_args_test_1): ... it. New proc.
1371 (gdb_collect_locals_test): Move some code to ...
1372 (gdb_collect_locals_test_1): ... it. New proc.
1373 (gdb_unavailable_registers_test): Move some code to ...
1374 (gdb_unavailable_registers_test_1): ... it. New proc.
1375 (gdb_unavailable_floats): Move some code to ...
1376 (gdb_unavailable_floats_1): ... it. New proc.
1378 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1380 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
1381 probes to test for bitness recognition.
1382 * gdb.arch/amd64-stap-optional-prefix.exp
1383 (test_probe_value_without_reg): New procedure.
1384 Add code to test for different kinds of bitness.
1386 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1388 PR breakpoints/16889
1389 * gdb.arch/amd64-stap-optional-prefix.S: New file.
1390 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1392 2014-05-01 Pedro Alves <palves@redhat.com>
1394 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
1395 gdb_file_cmd if no file is specified.
1396 * boards/native-extended-gdbserver.exp (gdb_load): Use the
1397 last_loaded_file to set the remote exec-file.
1399 2014-05-01 Pedro Alves <palves@redhat.com>
1401 * boards/local-remote-host.exp: New file.
1403 2014-05-01 Pedro Alves <palves@redhat.com>
1405 * boards/local-remote-host.exp: Rename to ...
1406 * boards/local-remote-host-notty.exp: ... this.
1408 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1410 * gdb.ada/dyn_arrayidx: New testcase.
1412 2014-04-26 Yao Qi <yao@codesourcery.com>
1414 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
1415 and compute the length of function main. Save it in
1417 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
1418 (top-level): Use gdb_compile to compile objects into
1419 executable and restart GDB. Remove invocation to
1420 prepare_for_testing.
1422 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
1423 Pedro Alves <palves@redhat.com>
1426 * gdb.multi/multi-attach.c: New file.
1427 * gdb.multi/multi-attach.exp: New file.
1429 2014-04-25 Pedro Alves <palves@redhat.com>
1431 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
1433 (top level): Test that "set remote conditional-breakpoints-packet
1434 off" works as intended.
1435 * gdb.base/dprintf.exp: Test that "set remote
1436 breakpoint-commands-packet off" works as intended.
1437 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
1439 (top level): Call it.
1440 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
1441 remote fast-tracepoints-packet off" works as intended.
1442 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
1443 * lib/gdb.exp (gdb_is_target_remote): ... here.
1445 2014-04-24 David Blaikie <dblaikie@gmail.com>
1447 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
1448 ensure clang would not discard them.
1449 * gdb.base/gdbvars.c: Ditto.
1450 * gdb.base/memattr.c: Ditto.
1451 * gdb.base/whatis.c: Ditto.
1452 * gdb.python/py-prettyprint.c: Ditto.
1453 * gdb.trace/actions.c: Ditto.
1454 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
1455 ensure clang would not discard it.
1457 2014-04-24 David Blaikie <dblaikie@gmail.com>
1459 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1460 clang to emit the full definition of type required by the test
1461 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1463 2014-04-24 David Blaikie <dblaikie@gmail.com>
1465 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1466 coax Clang into emitting the definition of the type.
1467 * gdb.cp/pr10728-x.h (y): Ditto.
1468 * gdb.cp/pr10728-y.cc (y): Ditto.
1470 2014-04-24 David Blaikie <dblaikie@gmail.com>
1472 * gdb.base/label.exp: XFAIL label related tests under Clang.
1473 * gdb.cp/cplabel.exp: Ditto.
1474 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
1475 under Clang those using labels.
1477 2014-04-25 Yao Qi <yao@codesourcery.com>
1479 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
1481 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
1482 partial_label and double_label.
1484 2014-04-24 David Blaikie <dblaikie@gmail.com>
1486 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
1488 2014-04-24 David Blaikie <dblaikie@gmail.com>
1490 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
1491 of the function to work across GCC and Clang.
1492 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
1493 pointer types (const void ** const V void **).
1495 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
1496 Walfred Tedeschi <walfred.tedeschi@intel.com>
1498 * Makefile.in (EXECUTABLES): Added i386-avx512.
1499 * gdb.arch/i386-avx512.c: New file.
1500 * gdb.arch/i386-avx512.exp: Likewise.
1502 2014-04-23 Keith Seitz <keiths@redhat.com>
1504 * lib/mi-support.exp (mi_list_breakpoints): Delete.
1505 (mi_make_breakpoint_table): New procedure.
1506 (mi_create_breakpoint): Use mi_make_breakpoint
1507 and return the result.
1508 (mi_make_breakpoint): New procedure.
1509 (mi_build_kv_pairs): New procedure.
1511 * gdb.mi/mi-break.exp: Remove unused globals,
1512 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
1513 All callers updated.
1514 * gdb.mi/mi-dprintf.exp: Use variable to track command
1516 Update all callers of mi_create_breakpoint and use
1517 mi_make_breakpoint_table.
1518 Remove any unused global variables.
1519 * gdb.mi/mi-nonstop.exp: Likewise.
1520 * gdb.mi/mi-nsintrall.exp: Likewise.
1521 * gdb.mi/mi-nsmoribund.exp: Likewise.
1522 * gdb.mi/mi-nsthrexec.exp: Likewise.
1523 * gdb.mi/mi-reverse.exp: Likewise.
1524 * gdb.mi/mi-simplerun.exp: Likewise.
1525 * gdb.mi/mi-stepn.exp: Likewise.
1526 * gdb.mi/mi-syn-frame.exp: Likewise.
1527 * gdb.mi/mi-until.exp: Likewise.
1528 * gdb.mi/mi-var-cp.exp: Likewise.
1529 * gdb.mi/mi-var-display.exp: Likewise.
1530 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1531 * gdb.mi/mi2-var-child.exp: Likewise.
1532 * gdb.mi/mi-vla-c99.exp: Likewise.
1533 * lib/mi-support.exp: Likewise.
1535 From Ian Lance Taylor <iant@cygnus.com>:
1536 * lib/gdb.exp (parse_args): New procedure.
1538 2014-04-23 Pedro Alves <palves@redhat.com>
1540 * gdb.base/break-unload-file.c: New file.
1541 * gdb.base/break-unload-file.exp: New file.
1542 * gdb.base/sym-file-lib.c (baz): New function.
1543 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
1545 (load): Store the segment's mapped size.
1546 (unload): New function.
1547 (unload_shlib): New function.
1548 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
1549 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
1550 set a breakpoint at baz, and call it.
1551 * gdb.base/sym-file.exp: New tests for stale breakpoint
1554 2014-04-23 Pedro Alves <palves@redhat.com>
1556 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
1557 * gdb.base/hbreak-in-shr-unsupported.c: New file.
1558 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
1559 * gdb.base/hbreak-unmapped.c: New file.
1560 * gdb.base/hbreak-unmapped.exp: New file.
1561 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
1562 * lib/gdb.exp (gdb_is_target_remote): ... here.
1564 2014-04-22 Pedro Alves <palves@redhat.com>
1566 * gdb.base/consecutive-step-over.c: New file.
1567 * gdb.base/consecutive-step-over.exp: New file.
1569 2014-04-22 Pedro Alves <palves@redhat.com>
1571 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
1572 instead of send_gdb/gdb_expect.
1574 2014-04-22 Yao Qi <yao@codesourcery.com>
1576 * lib/trace-support.exp (generate_tracefile): New procedure.
1577 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
1579 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
1580 if generate_tracefile returns 1.
1582 2014-04-18 Tom Tromey <palves@redhat.com>
1583 Pedro alves <tromey@redhat.com>
1586 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
1587 with a backtrace limit.
1588 * gdb.python/py-frame-inline.exp: Test running to an inline
1589 function with a backtrace limit, and printing the newest frame.
1590 * gdb.python/py-frame-inline.c (main): Call f.
1592 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1594 * gdb.java/jnpe.exp: Drop srcdir from untested path.
1596 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1598 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
1599 Drop prefix from unsupported source file path.
1601 2014-04-17 Yao Qi <yao@codesourcery.com>
1603 * lib/gdb.exp (with_target_charset): New proc.
1604 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
1605 with_target_charset.
1606 (test_print_strings): Likewise.
1607 (test_repeat_bytes): Likewise.
1608 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
1611 2014-04-16 Keith Seitz <keiths@redhat.com>
1614 * gdb.dwarf2/corrupt.c: New file.
1615 * gdb.dwarf2/corrupt.exp: New file.
1617 2014-04-16 Keith Seitz <keiths@redhat.com>
1620 * gdb.cp/namelessclass.cc: New file.
1621 * gdb.cp/namelessclass.exp: New file.
1622 * gdb.cp/namelessclass.S: New file.
1624 2014-04-16 Doug Evans <dje@google.com>
1626 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
1628 (gdbserver_default_get_comm_port): New function.
1629 (gdbserver_start): Check if board file provided
1630 "gdbserver,get_comm_port" and use it if so.
1631 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
1632 (gdb,socketport): Set to "stdio".
1633 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
1634 (stdio_gdbserver_template): Delete.
1635 (${board}_get_remote_address): Update.
1636 (${board}_build_remote_cmd): Delete.
1637 (${board}_get_comm_port): New function.
1638 (${board}_spawn): Update.
1639 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
1641 (${board}_get_remote_address): Update.
1642 (${board}_get_comm_port): New function.
1644 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
1646 * gdb.base/memattr.exp: Improve regexps to handle memory regions
1647 appearing in any order.
1649 2014-04-15 Doug Evans <dje@google.com>
1651 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
1652 uninitialized value of "description".
1654 2014-04-15 Keith Seitz <keiths@redhat.com>
1656 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
1657 Remove unused globals.
1658 (test_running_the_program): Likewise.
1659 (test_controlled_execution): Likewise.
1660 (test_controlling_breakpoints): Likewise.
1661 (test_program_termination): Likewise.
1663 2014-04-15 Keith Seitz <keiths@redhat.com>
1665 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
1667 (test_rbreak_creation_and_listing): Likewise.
1668 (test_ignore_count): Likewise.
1669 (test_error): Likewise.
1671 2014-04-15 Pedro Alves <palves@redhat.com>
1673 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
1674 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
1676 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1677 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1678 to sym-file-loader.c.
1679 (struct library): Forward declare.
1680 (load_shlib, lookup_function): Change prototypes.
1681 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1682 (translate_offset): Remove declarations.
1683 (get_text_addr): New declaration.
1684 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
1685 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
1687 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1688 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1689 here from sym-file-loader.h.
1690 (struct library): New structure.
1691 (load_shlib, lookup_function): Change prototypes and adjust to
1692 work with a struct library.
1693 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1694 (translate_offset): Make static.
1695 (get_text_addr): New function.
1696 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
1698 2014-04-15 Pedro Alves <palves@redhat.com>
1700 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
1702 2014-04-15 Pedro Alves <palves@redhat.com>
1704 * gdb.base/sym-file-loader.c: Include <limits.h>.
1705 (SELF_LINK): New define.
1706 (get_origin): New function.
1707 (load_shlib): Use it.
1708 * gdb.base/sym-file.exp: Don't early return if the target is
1709 remote. Use runto_main, and issue fail is that fails. Use
1711 (shlib_name): Delete.
1712 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
1714 2014-04-15 Pedro Alves <palves@redhat.com>
1716 * gdb.base/sym-file.exp: Remove regex characters from test
1717 message. Don't refer to breakpoint numbers in test messages.
1719 2014-04-14 Keith Seitz <keiths@redhat.com>
1722 * gdb.cp/var-tag.cc: New file.
1723 * gdb.cp/var-tag.exp: New file.
1724 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1725 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1726 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1727 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1729 2014-04-14 Tom Tromey <tromey@redhat.com>
1731 * gdb.cp/classes.exp (test_enums): Handle underlying type.
1732 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
1734 * gdb.cp/enum-class.exp: New file.
1735 * gdb.cp/enum-class.cc: New file.
1737 2014-04-14 Tom Tromey <tromey@redhat.com>
1739 * gdb.dwarf2/enum-type.exp: New file.
1741 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1743 * gdb.mi/mi-vla-c99.exp: New file.
1744 * gdb.mi/vla.c: New file.
1746 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1748 * gdb.base/vla-datatypes.c: New file.
1749 * gdb.base/vla-datatypes.exp: New file.
1751 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1753 * gdb.base/vla-ptr.c: New file.
1754 * gdb.base/vla-ptr.exp: New file.
1756 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1758 * gdb.dwarf2/count.exp: New file.
1760 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1762 * gdb.base/vla-sideeffect.c: New file.
1763 * gdb.base/vla-sideeffect.exp: New file.
1765 2014-04-14 David Blaikie <dblaikie@gmail.com>
1767 * gdb.mi/non-stop.c: Add return value for non-void function return
1769 * gdb.threads/staticthreads.c: Ditto.
1771 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
1772 Doug Evans <xdje42@gmail.com>
1774 * gdb.guile/scm-value.c: Improve test case.
1775 * gdb.guile/scm-value.exp: Add new test.
1777 2014-04-11 David Blaikie <dblaikie@gmail.com>
1779 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
1780 override Clang's default.
1782 2014-04-11 Joel Brobecker <brobecker@adacore.com>
1784 Revert the following changes (regressions):
1786 * gdb.base/vla-sideeffect.c: New file.
1787 * gdb.base/vla-sideeffect.exp: New file.
1789 * gdb.dwarf2/count.exp: New file.
1791 * gdb.base/vla-multi.c: New file.
1792 * gdb.base/vla-multi.exp: New file.
1794 * gdb.base/vla-ptr.c: New file.
1795 * gdb.base/vla-ptr.exp: New file.
1797 * gdb.base/vla-datatypes.c: New file.
1798 * gdb.base/vla-datatypes.exp: New file.
1800 * gdb.mi/mi-vla-c99.exp: New file.
1801 * gdb.mi/vla.c: New file.
1803 2014-04-11 Keith Seitz <keiths@redhat.com>
1806 * gdb.cp/cpsizeof.exp: New file.
1807 * gdb.cp/cpsizeof.cc: New file.
1809 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1811 * gdb.mi/mi-vla-c99.exp: New file.
1812 * gdb.mi/vla.c: New file.
1814 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1816 * gdb.base/vla-datatypes.c: New file.
1817 * gdb.base/vla-datatypes.exp: New file.
1819 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1821 * gdb.base/vla-ptr.c: New file.
1822 * gdb.base/vla-ptr.exp: New file.
1824 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1826 * gdb.base/vla-multi.c: New file.
1827 * gdb.base/vla-multi.exp: New file.
1829 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1831 * gdb.dwarf2/count.exp: New file.
1833 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1835 * gdb.base/vla-sideeffect.c: New file.
1836 * gdb.base/vla-sideeffect.exp: New file.
1838 2014-04-11 Yao Qi <yao@codesourcery.com>
1840 * gdb.base/completion.exp: Check file exists before running tests
1843 2014-04-10 Pedro Alves <palves@redhat.com>
1845 * gdb.base/cond-eval-mode.c: New file.
1846 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
1847 prepare_for_testing to build the new file. Check result of
1849 (test_break, test_watch): New procedures.
1850 (top level): Use them.
1852 2014-04-08 Pierre Muller <muller@sourceware.org>
1854 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
1855 Ctrl-V use for mingw hosts.
1857 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
1859 * gdb.python/py-value.c: Improve test case.
1860 * gdb.python/py-value.exp: Add new test.
1862 2014-04-07 David Blaikie <dblaikie@gmail.com>
1864 * lib/compiler.c: Identify the clang compiler.
1865 * lib/compiler.cc: Ditto.
1867 2014-04-03 Yao Qi <yao@codesourcery.com>
1869 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
1871 2014-04-01 Anton Blanchard <anton@samba.org>
1873 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
1876 2014-04-01 Anton Blanchard <anton@samba.org>
1878 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
1879 prepare_for_testing.
1881 2014-04-01 Anton Blanchard <anton@samba.org>
1883 * gdb.arch/ppc64-atomic-inst.c: Remove.
1884 * gdb.arch/ppc64-atomic-inst.S: New file.
1885 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
1887 2014-03-31 Doug Evans <dje@google.com>
1889 * gdb.base/print-symbol-loading-lib.c: New file.
1890 * gdb.base/print-symbol-loading-main.c: New file.
1891 * gdb.base/print-symbol-loading.exp: New file.
1893 2014-03-31 Yao Qi <yao@codesourcery.com>
1895 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
1897 2014-03-28 Joel Brobecker <brobecker@adacore.com>
1899 * gdb.ada/mi_dyn_arr: New testcase.
1901 2014-03-27 Doug Evans <dje@google.com>
1903 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
1905 2014-03-27 Yao Qi <yao@codesourcery.com>
1907 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
1908 if target is nios2-*-*.
1910 2014-03-26 Yao Qi <yao@codesourcery.com>
1912 * lib/gdb.exp (readline_is_used): New proc.
1913 * gdb.base/completion.exp: Move tests on command complete up.
1914 Skip the rest of tests if readline is not used.
1915 * gdb.ada/complete.exp: Skp the test if readline is not
1917 * gdb.base/filesym.exp: Likewise.
1918 * gdb.base/macscp.exp: Likewise.
1919 * gdb.base/readline-ask.exp: Likewise.
1920 * gdb.base/readline.exp: Likewise.
1921 * gdb.python/py-cmd.exp: Likewise.
1922 * gdb.trace/tfile.exp: Likewise.
1924 2014-03-26 Yao Qi <yao@codesourcery.com>
1926 * gdb.base/macscp.exp: Fix code format issues.
1928 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
1930 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
1931 * gdb.asm/powerpc64le.inc: New file.
1933 2014-03-25 Pedro Alves <palves@redhat.com>
1934 Doug Evans <dje@google.com>
1936 * gdb.base/source-execution.c: New file.
1937 * gdb.base/source-execution.exp: New file.
1938 * gdb.base/source-execution.gdb: New file.
1940 2014-03-24 Doug Evans <dje@google.com>
1942 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
1945 2014-03-24 Hui Zhu <hui@codesourcery.com>
1946 Pedro Alves <palves@redhat.com>
1948 PR breakpoints/16101
1949 * gdb.base/dprintf.exp: Use unsupported rather than changing the
1950 test pass/fail messages. Detect missing support for dprintf when
1951 breakpoints are actually inserted.
1952 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
1953 breakpoints are actually inserted.
1954 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
1957 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1959 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
1961 2014-03-22 Doug Evans <xdje42@gmail.com>
1963 * gdb.python/python.exp (python not supported): Verify multi-line
1964 python command issues an error.
1965 * gdb.guile/guile.exp (guile not supported): Verify multi-line
1966 guile command issues an error.
1968 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
1970 * gdb.threads/thread-specific.exp: Handle the lack of usable
1971 $this_breakpoint and $this_thread.
1973 2014-03-21 Hui Zhu <hui@codesourcery.com>
1975 * gdb.base/attach.exp (do_command_attach_tests): New.
1977 2014-03-20 Tom Tromey <tromey@redhat.com>
1978 Pedro Alves <palves@redhat.com>
1981 * gdb.base/condbreak-call-false.c: New file.
1982 * gdb.base/condbreak-call-false.exp: New file.
1984 2014-03-20 Pedro Alves <palves@redhat.com>
1986 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
1988 (block_signals, unblock_signals): Delete.
1989 (child_function_2, main): Remove references to deleted variable
1992 2014-03-20 Pedro Alves <palves@redhat.com>
1994 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
1995 Use pthread_kill to signal thread 2.
1996 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1997 Adjust to make the test send itself a signal rather than using the
1998 host's "kill" command.
2000 2014-03-20 Pedro Alves <palves@redhat.com>
2002 * gdb.threads/multiple-step-overs.c: New file.
2003 * gdb.threads/multiple-step-overs.exp: New file.
2004 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2005 Adjust expected infrun debug output.
2007 2014-03-20 Pedro Alves <palves@redhat.com>
2009 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2010 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2012 2014-03-20 Pedro Alves <palves@redhat.com>
2015 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2016 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2017 of gdb_test_multiple.
2018 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2019 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2021 2014-03-20 Pedro Alves <palves@redhat.com>
2023 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2024 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2026 2014-03-19 Pedro Alves <palves@redhat.com>
2028 * gdb.base/async.exp: Remove early return.
2030 2014-03-19 Pedro Alves <palves@redhat.com>
2032 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2034 2014-03-19 Pedro Alves <palves@redhat.com>
2036 * gdb.base/async.exp (test_background): Expect \r\n after
2037 "completed." in the fail pattern.
2039 2014-03-19 Pedro Alves <palves@redhat.com>
2041 * gdb.base/async.exp (test_background): New procedure.
2042 Use it for all background execution command tests.
2044 2014-03-19 Pedro Alves <palves@redhat.com>
2046 * gdb.base/async.exp: Use prepare_for_testing.
2048 2014-03-19 Pedro Alves <palves@redhat.com>
2050 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2053 2014-03-19 Pedro Alves <palves@redhat.com>
2055 * gdb.base/async.c (main): Add "jump here" and "until here" line
2057 * gdb.base/async.exp (jump_here): New global.
2058 (jump& test): Use it.
2059 (until_here): New global.
2060 (until& test): Use it.
2062 2014-03-19 Pedro Alves <palves@redhat.com>
2064 * gdb.base/async.exp: Don't frob gdb_protocol.
2066 2014-03-18 Doug Evans <xdje42@gmail.com>
2068 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2069 Fix spelling of exec-done-display.
2071 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2074 * gdb.base/gdb-sigterm.c: New file.
2075 * gdb.base/gdb-sigterm.exp: New file.
2077 2014-03-18 Pedro Alves <palves@redhat.com>
2080 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2081 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2084 2014-03-17 Joel Brobecker <brobecker@adacore.com>
2086 * gdb.ada/pckd_arr_ren: New testcase.
2088 2014-03-13 Doug Evans <xdje42@gmail.com>
2091 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2092 collect after discarding symbols.
2094 2014-03-13 Ludovic Courtès <ludo@gnu.org>
2095 Doug Evans <xdje42@gmail.com>
2097 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2098 to history survives a gc.
2100 2014-03-13 Pedro Alves <palves@redhat.com>
2102 * gdb.base/default.exp: Don't test "target procfs".
2104 2014-03-13 Pedro Alves <palves@redhat.com>
2106 * gdb.base/default.exp: Update "target child" and "target procfs"
2107 tests to not expect "Unix".
2109 2014-03-12 Tom Tromey <tromey@redhat.com>
2111 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2112 New procs. Add target-async tests.
2113 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2114 Add target-async tests.
2116 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2118 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2119 'func_start' and 'func_end' for the beginning and end of the
2120 function code, respectively.
2121 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2122 'func_end' instead of 'func' and 'main'.
2124 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2126 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2127 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2128 generate the debug info assembler source.
2130 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2132 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2133 * gdb.dwarf2/arr-subrange.exp: Likewise.
2134 * gdb.dwarf2/dwz.exp: Likewise.
2135 * gdb.dwarf2/method-ptr.exp: Likewise.
2136 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2137 * gdb.dwarf2/subrange.exp: Likewise.
2138 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2139 * gdb.dwarf2/implptrpiece.exp: Likewise.
2140 * gdb.dwarf2/nostaticblock.exp: Likewise.
2142 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2144 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2145 directory to absolute path name arguments.
2147 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2149 * gdb.ada/tagged_access: New testcase.
2151 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2153 * gdb.btrace/data.exp: Update expected output.
2155 2014-03-06 Yao Qi <yao@codesourcery.com>
2157 * gdb.trace/pr16508.exp: New file.
2159 2014-03-05 Pedro Alves <palves@redhat.com>
2162 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2164 (top level): Adjust to use it. Add tests that exercise breakpoint
2165 interaction with the code-cache.
2167 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2169 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2170 test for 'history-append!'.
2172 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2174 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2175 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2176 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2177 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2178 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2179 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2181 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2183 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2184 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2185 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2187 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2189 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2191 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2193 * gdb.dwarf2/arr-stride.c: New file.
2194 * gdb.dwarf2/arr-stride.exp: New file.
2196 2014-02-26 Pedro Alves <palves@redhat.com>
2198 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2199 that won't ever trigger. Make sure that GDB reports the correct
2200 breakpoint that caused the stop.
2202 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2205 * gdb.base/auto-load-script: New file.
2206 * gdb.base/auto-load.c: New file.
2207 * gdb.base/auto-load.exp: New file.
2210 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2212 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2214 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2215 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2217 2014-02-24 Doug Evans <dje@google.com>
2219 * lib/gdb.exp (run_on_host): Log error output if program fails.
2221 2014-02-21 Pedro Alves <palves@redhat.com>
2223 * gdb.threads/step-after-sr-lock.c: Rename to ...
2224 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2225 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2226 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2229 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2232 * gdb.arch/amd64-stap-special-operands.exp: New file.
2233 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2234 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2235 * gdb.arch/amd64-stap-triplet.S: Likewise.
2236 * gdb.arch/amd64-stap-triplet.c: Likewise.
2238 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2240 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2241 in .section pseudo-op.
2243 2014-02-20 lin zuojian <manjian2006@gmail.com>
2244 Joel Brobecker <brobecker@adacore.com>
2245 Doug Evans <xdje42@gmail.com>
2248 * gdb.dwarf2/dw2-icycle.S: New file.
2249 * gdb.dwarf2/dw2-icycle.c: New file.
2250 * gdb.dwarf2/dw2-icycle.exp: New file.
2252 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2254 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2255 operations on gdb.Value objects.
2256 * gdb.python/py-value-cc.exp: Add new test to test operations on
2259 2014-02-18 Doug Evans <dje@google.com>
2261 * Makefile.in (TESTS): New variable.
2262 (expanded_tests, expanded_tests_or_none): New variables
2263 (check-single): Pass $(expanded_tests_or_none) to runtest.
2264 (check-parallel): Only run tests in $(TESTS) if non-empty.
2265 (check/no-matching-tests-found): New rule.
2266 * README: Document TESTS makefile variable.
2268 2014-02-18 Doug Evans <dje@google.com>
2270 * Makefile.in (check-parallel): rm -rf outputs temp.
2272 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2274 Fix "ERROR: no fileid for" in the testsuite.
2275 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2277 2014-02-12 Doug Evans <dje@google.com>
2279 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2280 (MISCELLANEOUS): New variable.
2281 (clean): rm -rf $(MISCELLANEOUS).
2282 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2283 dwp live in the same directory as symlinks, with each symlink pointed
2284 to a differently named file in a different directory.
2286 2014-02-11 Doug Evans <dje@google.com>
2288 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2289 of Tcl file commands.
2291 2014-02-10 Mark Kettenis <kettenis@gnu.org>
2293 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2296 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2298 * gdb.ada/tick_length_array_enum_idx: New testcase.
2300 2014-02-10 Doug Evans <xdje42@gmail.com>
2302 * configure.ac (AC_OUTPUT): Add gdb.guile.
2303 * configure: Regenerate.
2304 * lib/gdb-guile.exp: New file.
2305 * lib/gdb.exp (get_target_charset): New function.
2306 * gdb.base/help.exp: Update expected output from "apropos apropos".
2307 * gdb.guile/Makefile.in: New file.
2308 * gdb.guile/guile.exp: New file.
2309 * gdb.guile/scm-arch.c: New file.
2310 * gdb.guile/scm-arch.exp: New file.
2311 * gdb.guile/scm-block.c: New file.
2312 * gdb.guile/scm-block.exp: New file.
2313 * gdb.guile/scm-breakpoint.c: New file.
2314 * gdb.guile/scm-breakpoint.exp: New file.
2315 * gdb.guile/scm-disasm.c: New file.
2316 * gdb.guile/scm-disasm.exp: New file.
2317 * gdb.guile/scm-equal.c: New file.
2318 * gdb.guile/scm-equal.exp: New file.
2319 * gdb.guile/scm-error.exp: New file.
2320 * gdb.guile/scm-error.scm: New file.
2321 * gdb.guile/scm-frame-args.c: New file.
2322 * gdb.guile/scm-frame-args.exp: New file.
2323 * gdb.guile/scm-frame-args.scm: New file.
2324 * gdb.guile/scm-frame-inline.c: New file.
2325 * gdb.guile/scm-frame-inline.exp: New file.
2326 * gdb.guile/scm-frame.c: New file.
2327 * gdb.guile/scm-frame.exp: New file.
2328 * gdb.guile/scm-generics.exp: New file.
2329 * gdb.guile/scm-gsmob.exp: New file.
2330 * gdb.guile/scm-iterator.c: New file.
2331 * gdb.guile/scm-iterator.exp: New file.
2332 * gdb.guile/scm-math.c: New file.
2333 * gdb.guile/scm-math.exp: New file.
2334 * gdb.guile/scm-objfile-script-gdb.in: New file.
2335 * gdb.guile/scm-objfile-script.c: New file.
2336 * gdb.guile/scm-objfile-script.exp: New file.
2337 * gdb.guile/scm-objfile.c: New file.
2338 * gdb.guile/scm-objfile.exp: New file.
2339 * gdb.guile/scm-ports.exp: New file.
2340 * gdb.guile/scm-pretty-print.c: New file.
2341 * gdb.guile/scm-pretty-print.exp: New file.
2342 * gdb.guile/scm-pretty-print.scm: New file.
2343 * gdb.guile/scm-section-script.c: New file.
2344 * gdb.guile/scm-section-script.exp: New file.
2345 * gdb.guile/scm-section-script.scm: New file.
2346 * gdb.guile/scm-symbol.c: New file.
2347 * gdb.guile/scm-symbol.exp: New file.
2348 * gdb.guile/scm-symtab-2.c: New file.
2349 * gdb.guile/scm-symtab.c: New file.
2350 * gdb.guile/scm-symtab.exp: New file.
2351 * gdb.guile/scm-type.c: New file.
2352 * gdb.guile/scm-type.exp: New file.
2353 * gdb.guile/scm-value-cc.cc: New file.
2354 * gdb.guile/scm-value-cc.exp: New file.
2355 * gdb.guile/scm-value.c: New file.
2356 * gdb.guile/scm-value.exp: New file.
2357 * gdb.guile/source2.scm: New file.
2358 * gdb.guile/types-module.cc: New file.
2359 * gdb.guile/types-module.exp: New file.
2361 2014-02-10 Yao Qi <yao@codesourcery.com>
2364 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
2365 * configure: Regenerated.
2366 * Makefile.in: New file.
2368 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2370 * gdb.python/py-framefilter.exp: Fix typo.
2372 2014-02-08 Yao Qi <yao@codesourcery.com>
2374 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
2375 that no =breakpoint-modified is emitted when breakpoints are
2376 modified through MI commands.
2378 2014-02-07 Pedro Alves <pedro@codesourcery.com>
2379 Pedro Alves <palves@redhat.com>
2381 * gdb.threads/step-after-sr-lock.c: New file.
2382 * gdb.threads/step-after-sr-lock.exp: New file.
2384 2014-02-07 Pedro Alves <palves@redhat.com>
2386 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
2388 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2390 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
2391 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
2393 2014-02-06 Doug Evans <xdje42@gmail.com>
2395 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
2398 * gdb.gdb/python-interrupts.exp: New file.
2400 2014-02-05 Yao Qi <yao@codesourcery.com>
2402 * gdb.trace/report.exp (use_collected_data): Test the output
2403 of "info threads" and "info inferiors".
2405 2014-02-05 Yao Qi <yao@codesourcery.com>
2409 2013-05-24 Yao Qi <yao@codesourcery.com>
2411 * gdb.trace/tfile.exp: Test inferior and thread.
2413 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2415 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
2417 * gdb.base/step-bt.c: Call hello via function pointer to make
2418 sure its first instruction is executed on powerpc64le-linux.
2420 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2422 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
2424 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2426 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
2427 of the test patterns for use on little-endian systems.
2429 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2431 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
2432 (decimal_vector): Fix for little-endian.
2434 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2436 * gdb.arch/sparc-sysstep.exp: New file.
2437 * gdb.arch/sparc-sysstep.c: Likewise.
2439 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
2441 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2443 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2445 2014-01-23 Tom Tromey <tromey@redhat.com>
2447 * gdb.ada/array_char_idx: New testcase.
2449 2014-01-23 Tom Tromey <tromey@redhat.com>
2452 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
2453 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2456 2014-01-23 Tom Tromey <tromey@redhat.com>
2459 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2460 string from an inferior frame.
2461 * gdb.python/py-framefilter-mi.exp: Update.
2463 2014-01-22 Doug Evans <dje@google.com>
2465 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2467 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2469 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2471 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2473 * gdb.trace/entry-values.exp: Remove excess space character from
2474 regex patterns. Handle s390 call instruction.
2476 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2478 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
2479 define "*_start" label. Make "name" static.
2480 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
2481 ${name} by references to ${name}_start.
2483 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2485 * gdb.base/info-macros.exp: Remove "debug" from the compile
2488 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2490 * gdb.dlang/demangle.exp: New file.
2492 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2494 * gdb.dlang/primitive-types.exp: New file.
2496 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2498 * configure.ac: Create gdb.dlang/Makefile.
2499 * configure: Regenerate.
2500 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
2501 * gdb.dlang/Makefile.in: New file.
2502 * lib/d-support.exp: New file.
2503 * lib/gdb.exp (skip_d_tests): New proc.
2505 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2507 * gdb.btrace/delta.exp: Check reverse stepi.
2508 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
2509 * gdb.btrace/finish.exp: New.
2510 * gdb.btrace/next.exp: New.
2511 * gdb.btrace/nexti.exp: New.
2512 * gdb.btrace/record_goto.c: Add comments.
2513 * gdb.btrace/step.exp: New.
2514 * gdb.btrace/stepi.exp: New.
2515 * gdb.btrace/multi-thread-step.c: New.
2516 * gdb.btrace/multi-thread-step.exp: New.
2517 * gdb.btrace/rn-dl-bind.c: New.
2518 * gdb.btrace/rn-dl-bind.exp: New.
2519 * gdb.btrace/data.c: New.
2520 * gdb.btrace/data.exp: New.
2521 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2523 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2525 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
2526 * gdb.btrace/exception.exp: Update.
2527 * gdb.btrace/instruction_history.exp: Update.
2528 * gdb.btrace/record_goto.exp: Update.
2529 * gdb.btrace/tailcall.exp: Update.
2530 * gdb.btrace/unknown_functions.exp: Update.
2531 * gdb.btrace/delta.exp: New.
2533 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2535 * gdb.btrace/record_goto.exp: Add backtrace test.
2536 * gdb.btrace/tailcall.exp: Add backtrace test.
2538 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2540 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
2541 * gdb.btrace/record_goto.c: New.
2542 * gdb.btrace/record_goto.exp: New.
2543 * gdb.btrace/x86-record_goto.S: New.
2545 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2547 * gdb.btrace/function_call_history.exp: Update tests.
2548 * gdb.btrace/instruction_history.exp: Update tests.
2550 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2552 * gdb.btrace/function_call_history.exp: Fix expected field
2553 order for "record function-call-history".
2554 Add new tests for "record function-call-history /c".
2555 * gdb.btrace/exception.cc: New.
2556 * gdb.btrace/exception.exp: New.
2557 * gdb.btrace/tailcall.exp: New.
2558 * gdb.btrace/x86-tailcall.S: New.
2559 * gdb.btrace/x86-tailcall.c: New.
2560 * gdb.btrace/unknown_functions.c: New.
2561 * gdb.btrace/unknown_functions.exp: New.
2562 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2564 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2566 * gdb.btrace/instruction_history.exp: Update.
2567 * gdb.btrace/function_call_history.exp: Update.
2569 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2571 * gdb.btrace/function_call_history.exp: Fix expected function
2573 * gdb.btrace/instruction_history.exp: Initialize traced.
2574 Remove traced_functions.
2576 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2578 * gdb.btrace/function_call_history.exp: Update
2579 * gdb.btrace/instruction_history.exp: Update.
2581 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2583 * gdb.btrace/enable.exp: Update expected text.
2585 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
2587 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
2590 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
2592 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
2594 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2596 * lib/gdb.exp (supports_process_record): Return true for
2597 arm*-linux*. (supports_reverse): Likewise.
2599 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
2603 * gdb.python/py-type.c: Enhance test case.
2604 * gdb.python/py-value-cc.cc: Likewise
2605 * gdb.python/py-type.exp: Add new tests.
2606 * gdb.python/py-value-cc.exp: Likewise
2608 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2609 Pedro Alves <palves@redhat.com>
2611 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
2613 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
2614 references to ${name}_start by references to ${name}.
2616 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2618 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
2620 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2622 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
2624 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
2625 Pedro Alves <palves@redhat.com>
2627 * gdb.mi/mi-info-os.exp: Connect to the target with
2630 2014-01-08 Pedro Alves <palves@redhat.com>
2632 * gdb.threads/reconnect-signal.c: New file.
2633 * gdb.threads/reconnect-signal.exp: New file.
2635 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2637 * gdb.base/source-dir.exp: New file.
2639 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2641 * gdb.ada/mi_interface: New testcase.
2643 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2645 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
2646 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
2647 gdb.ada/pp-rec-component/pck.ads: New files.
2649 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2651 * gdb.python/py-pp-integral.c: New file.
2652 * gdb.python/py-pp-integral.py: New file.
2653 * gdb.python/py-pp-integral.exp: New file.
2655 For older changes see ChangeLog-1993-2013.
2661 ;; version-control: never
2664 Copyright 2014 Free Software Foundation, Inc.
2665 Copying and distribution of this file, with or without modification,
2666 are permitted provided the copyright notice and this notice are preserved.