1 2014-10-11 Yao Qi <yao@codesourcery.com>
3 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5 2014-10-11 Yao Qi <yao@codesourcery.com>
7 * gdb.threads/thread-find.exp: Don't execute command
9 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
10 * gdb.threads/linux-dp.exp: Don't check the condition
11 $threads_created equals to zero.
13 2014-10-10 Pedro Alves <palves@redhat.com>
15 * gdb.base/bigcore.exp: Remove references to IRIX.
16 * gdb.base/funcargs.exp: Likewise.
17 * gdb.base/interrupt.exp: Likewise.
18 * gdb.base/mips_pro.exp: Likewise.
19 * gdb.base/nodebug.exp: Likewise.
20 * gdb.base/setvar.exp: Likewise.
21 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
23 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
24 Pedro Alves <palves@redhat.com>
27 * gdb.base/vdso-warning.c: New file.
28 * gdb.base/vdso-warning.exp: New file.
30 2014-10-02 Doug Evans <dje@google.com>
32 * gdb.base/structs.c (main): Don't run forever.
34 2014-10-02 Pedro Alves <palves@redhat.com>
36 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
37 (top level) <stop threads 1, stop threads 2>: Use it.
39 2014-10-02 Pedro Alves <palves@redhat.com>
41 * gdb.threads/break-while-running.exp (test): Add new
42 'update_thread_list' argument. Skip "info threads" if false.
43 (top level): Add new 'update_thread_list' axis.
45 2014-10-02 Pedro Alves <palves@redhat.com>
48 * gdb.base/execl-update-breakpoints.c: New file.
49 * gdb.base/execl-update-breakpoints.exp: New file.
51 2014-10-01 Pedro Alves <palves@redhat.com>
53 * gdb.base/breakpoint-in-ro-region.c: New file.
54 * gdb.base/breakpoint-in-ro-region.exp: New file.
56 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
58 * gdb.mi/mi-exit-code.exp: New file.
59 * gdb.mi/mi-exit-code.c: New file.
61 2014-09-30 Yao Qi <yao@codesourcery.com>
63 * lib/prelink-support.exp (build_executable_own_libs): Error if
64 the target isn't native.
66 2014-09-30 Yao Qi <yao@codesourcery.com>
68 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
71 2014-09-22 Pedro Alves <palves@redhat.com>
73 * gdb.threads/break-while-running.exp: New file.
74 * gdb.threads/break-while-running.c: New file.
76 2014-09-19 Yao Qi <yao@codesourcery.com>
78 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
79 Invoke test. Restart GDB with --readnow and invoke test again.
81 2014-09-19 Yao Qi <yao@codesourcery.com>
83 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
84 proc set_breakpoint_on_gcd_function. Invoke
85 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
86 invoke set_breakpoint_on_gcd_function again.
88 2014-09-18 Doug Evans <dje@google.com>
90 * gdb.dwarf2/symtab-producer.exp: New file.
92 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
94 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
95 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
96 * gdb.base/global-var-nested-by-dso.c: Likewise.
97 * gdb.base/global-var-nested-by-dso.exp: Likewise.
99 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
100 Pedro Alves <palves@redhat.com>
102 * gdb.base/watch-bitfields.exp: Pass string other than test file
103 name to prepare_for_testing.
104 (watch): New procedure.
105 (expect_watchpoint): Use with_test_prefix.
106 (top level): Factor out tests to ...
107 (test_watch_location, test_regular_watch): ... these new
108 procedures, and use with_test_prefix and gdb_continue_to_end.
110 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
113 * gdb.base/watch-bitfields.exp: New file.
114 * gdb.base/watch-bitfields.c: New file.
116 2014-09-16 Pedro Alves <palves@redhat.com>
118 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
119 software and hardware addresses, not software address against
122 2014-09-16 Pedro Alves <palves@redhat.com>
124 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
125 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
127 2014-09-16 Pedro Alves <palves@redhat.com>
129 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
131 * gdb.base/a2-run.exp: Remove all code guarded by istarget
132 "*-*-vxworks*" throughout.
133 * gdb.base/break.exp: Likewise.
134 * gdb.base/default.exp: Likewise.
135 * gdb.base/scope.exp: Likewise.
136 * gdb.base/sepdebug.exp: Likewise.
137 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
139 * gdb.base/run.c: Likewise.
140 * gdb.base/sepdebug.c: Likewise.
141 * gdb.hp/gdb.aCC/run.c: Likewise.
142 * gdb.reverse/until-reverse.c: Likewise.
143 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
145 2014-09-16 Yao Qi <yao@codesourcery.com>
147 * boards/local-remote-host-native.exp: New file.
149 2014-09-14 Doug Evans <xdje42@gmail.com>
151 * gdb.threads/queue-signal.c (thread_count): New variable.
152 (thread_count_mutex, thread_count_condvar): New variables.
153 (incr_thread_count, wait_all_threads_running): New functions.
154 (main): Wait for all threads to be in their thread functions.
156 2014-09-13 Doug Evans <xdje42@gmail.com>
158 * gdb.threads/queue-signal.c: New file.
159 * gdb.threads/queue-signal.exp: New file.
161 2014-09-13 Doug Evans <xdje42@gmail.com>
163 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
164 be consistent with what default_gdb_init uses.
165 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
166 the plain text of the prompt. Add some logging printfs.
167 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
169 2014-09-12 Pedro Alves <palves@redhat.com>
171 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
172 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
173 * gdb.arch/i386-size-overlap.exp: Likewise.
174 * gdb.arch/i386-size.exp: Likewise.
175 * gdb.arch/i386-unwind.exp: Likewise.
176 * gdb.base/a2-run.exp: Likewise.
177 * gdb.base/break.exp: Likewise.
178 * gdb.base/charset.exp: Likewise.
179 * gdb.base/chng-syms.exp: Likewise.
180 * gdb.base/commands.exp: Likewise.
181 * gdb.base/dbx.exp: Likewise.
182 * gdb.base/find.exp: Likewise.
183 * gdb.base/funcargs.exp: Likewise.
184 * gdb.base/jit-simple.exp: Likewise.
185 * gdb.base/reread.exp: Likewise.
186 * gdb.base/sepdebug.exp: Likewise.
187 * gdb.base/step-bt.exp: Likewise.
188 * gdb.cp/mb-inline.exp: Likewise.
189 * gdb.cp/mb-templates.exp: Likewise.
190 * gdb.objc/basicclass.exp: Likewise.
191 * gdb.threads/killed.exp: Likewise.
193 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
196 * gdb.arch/powerpc-stackless.S: New file.
197 * gdb.arch/powerpc-stackless.exp: New file.
199 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
201 * gdb.base/attach.c: Include unistd.h.
202 (main): Call alarm. Add label postloop.
203 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
204 gdb_breakpoint, gdb_continue_to_breakpoint.
205 (test_command_line_attach_run): Kill ${testpid} in one exit path.
207 2014-09-11 Pedro Alves <palves@redhat.com>
210 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
211 * gdb.base/attach.exp (test_command_line_attach_run): New
213 (top level): Call it.
215 2014-09-11 Pedro Alves <palves@redhat.com>
217 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
218 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
219 (do_command_attach_tests): Use spawn_wait_for_attach.
220 * gdb.base/solib-overlap.exp: Likewise.
221 * gdb.multi/multi-attach.exp: Likewise.
222 * gdb.python/py-prompt.exp: Likewise.
223 * gdb.python/py-sync-interp.exp: Likewise.
224 * gdb.server/ext-attach.exp: Likewise.
226 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
228 * gdb.fortran/array-element.exp: Remove unexpected "continue"
229 command in testcase. Simplify testcase.
231 2014-09-10 Joel Brobecker <brobecker@adacore.com>
233 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
235 2014-09-10 Joel Brobecker <brobecker@adacore.com>
237 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
239 2014-09-10 Joel Brobecker <brobecker@adacore.com>
241 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
243 2014-09-10 Joel Brobecker <brobecker@adacore.com>
245 * gdb.dwarf2/dynarr-ptr.c: New file.
246 * gdb.dwarf2/dynarr-ptr.exp: New file.
248 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
250 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
251 of 30 rather than hardcoding 120 for a slow test case. Take the
252 `gdb,timeout' target setting into account for this calculation.
253 Don't extend the timeout for the test cases that don't need it.
255 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
257 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
258 a factor of 2 for a slow test case. Take the `gdb,timeout'
259 target setting into account for this calculation.
260 * gdb.reverse/until-precsave.exp: Increase the timeout by
261 a factor of 15 and 3 respectively rather than adding 120
262 for a pair of slow test cases. Take the `gdb,timeout'
263 target setting into account for this calculation.
265 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
267 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
268 timeout, don't pass one down to gdb_expect.
269 (gdb_expect): Rework timeout selection.
271 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
273 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
274 exception on timeout.
275 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
276 (gdbserver_start_extended): Catch any `gdbserver_start' error
278 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
279 * lib/mi-support.exp (mi_gdb_target_load): Catch any
280 `gdbserver_gdb_load' error exceptions.
282 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
284 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
285 120 on waiting for the TCP socket to open.
287 2014-09-09 Doug Evans <xdje42@gmail.com>
289 * gdb.base/default.exp (show_conv_list): Add _caller_is,
290 _caller_matches, _any_caller_is, _any_caller_matches.
292 2014-09-09 Doug Evans <xdje42@gmail.com>
294 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
296 2014-09-09 Yao Qi <yao@codesourcery.com>
298 * gdb.mi/mi-var-display.exp: Set print symbol off.
300 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
303 * gdb.base/commands.exp: Add tests to verify user-defined
304 commands with empty bodies.
305 * gdb.python/py-cmd.exp: Test that we don't show user-defined
306 python commands in `show user command`.
307 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
308 scheme commands in `show user command`.
310 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
313 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
314 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
315 * gdb.python/py-framefilter-invalidarg.exp: New file.
316 * gdb.python/py-framefilter-invalidarg.py: New file.
318 2014-09-06 Doug Evans <xdje42@gmail.com>
321 * gdb.python/py-caller-is.c: New file.
322 * gdb.python/py-caller-is.exp: New file.
324 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
327 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
328 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
330 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
333 * gdb.fortran/print-formatted.exp: New file.
334 * gdb.fortran/print-formatted.f90: Likewise.
336 2014-09-03 Sasha Smundak <asmundak@google.com>
338 * gdb.python/py-frame.exp: Test Frame.read_register.
340 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
343 * gdb.python/py-completion.exp: New file.
344 * gdb.python/py-completion.py: Likewise.
346 2014-08-28 Doug Evans <dje@google.com>
348 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
349 eax,etc. are live with values set by gdb and thus the compiler can't
351 * gdb.arch/i386-pseudo.c (main): Ditto.
353 2014-08-27 Doug Evans <dje@google.com>
355 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
357 2014-08-25 Doug Evans <dje@google.com>
359 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
362 2014-08-25 Doug Evans <dje@google.com>
364 * gdb.threads/thread-execl.exp: #include <stdio.h>.
366 2014-08-24 Yao Qi <yao@codesourcery.com>
368 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
370 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
372 2014-08-22 Doug Evans <dje@google.com>
375 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
376 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
377 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
379 2014-08-22 Yao Qi <yao@codesourcery.com>
381 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
382 * gdb.python/py-finish-breakpoint2.exp: Likewise.
383 * gdb.python/python.exp: Likewise. Use .py file on the host
384 instead of the build.
386 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
388 * gdb.threads/gcore-stale-thread.c: New file.
389 * gdb.threads/gcore-stale-thread.exp: New file.
391 2014-08-21 Pedro Alves <palves@redhat.com>
393 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
394 * gdb.base/gcore-relro-pie.exp: Likewise.
395 * gdb.base/gcore-relro.exp: Likewise.
396 * gdb.base/gcore.exp: Likewise.
397 * gdb.base/print-symbol-loading.exp: Likewise.
398 * gdb.threads/gcore-thread.exp: Likewise.
399 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
401 2014-08-20 Pedro Alves <palves@redhat.com>
402 Jan Kratochvil <jan.kratochvil@redhat.com>
404 * Makefile.in (EXTRA_RULES, CC): New variables, get from
406 (EXPECT): Handle READ1 being set.
407 (all): Depend on EXTRA_RULES.
408 (check-read1, expect-read1, read1.so, read1): New rules.
409 * README (Testsuite Parameters): Document the READ1 make variable.
410 (Race detection): New section.
411 * configure: Regenerate.
412 * configure.ac: If build==host==target, and running under a
413 GNU/glibc system, add read1 to the extra Makefile rules.
414 (EXTRA_RULES): AC_SUBST it.
415 * lib/read1.c: New file.
417 2014-08-20 Joel Brobecker <brobecker@adacore.com>
419 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
420 the handling of variables declared as a typedef to an array
421 which a DW_AT_data_location attribute.
423 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
424 Pedro Alves <palves@redhat.com>
428 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
431 2014-08-19 Pedro Alves <palves@redhat.com>
433 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
435 2014-08-19 Yao Qi <yao@codesourcery.com>
437 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
440 2014-08-18 David Blaikie <dblaikie@gmail.com>
442 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
444 2014-08-18 Joel Brobecker <brobecker@adacore.com>
446 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
447 attribute in array range.
449 2014-08-18 Joel Brobecker <brobecker@adacore.com>
451 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
453 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
456 * gdb.cp/pr17132.cc: New file.
457 * gdb.cp/pr17132.exp: New file.
459 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
461 * gdb.python/py-xmethods.py (A_getarrayind)
462 (E_method_char_worker.__call__, E_method_int_worker.__call__):
463 Use 'print' with function call syntax.
464 (E_method_matcher.match): Fix tab vs space indentation mixup.
466 2014-08-15 Yao Qi <yao@codesourcery.com>
468 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
471 2014-08-15 Yao Qi <yao@codesourcery.com>
473 * gdb.cp/casts.exp: Set print symbol off.
474 * gdb.cp/class2.exp: Likewise.
475 * gdb.cp/overload.exp: Likewise.
476 * gdb.cp/templates.exp: Likewise.
478 2014-08-11 Doug Evans <dje@google.com>
480 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
481 (test_load_shlib): Update.
483 2014-08-09 Yao Qi <yao@codesourcery.com>
485 * gdb.base/display.exp: Invoke is_address_zero_readable.
486 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
487 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
488 * gdb.base/hbreak-unmapped.exp: Return if
489 is_address_zero_readable returns true.
490 * gdb.base/signest.exp: Likewise.
491 * gdb.base/signull.exp: Likewise.
492 * gdb.base/sigbpt.exp: Likewise.
493 * gdb.guile/scm-disasm.exp: Do the test if
494 is_address_zero_readable returns false.
495 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
496 * gdb.python/py-arch.exp: Likewise.
497 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
498 * lib/gdb.exp (is_address_zero_readable): New proc.
500 2014-08-09 Yao Qi <yao@codesourcery.com>
503 * gdb.mi/mi-var-display.exp: Make test messages unique.
505 2014-08-04 Tom Tromey <tromey@redhat.com>
507 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
510 2014-08-04 Tom Tromey <tromey@redhat.com>
512 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
515 2014-08-01 Joel Brobecker <brobecker@adacore.com>
517 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
518 inner_vla_struct_object_size.
519 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
522 2014-07-30 Pedro Alves <palves@redhat.com>
524 * gdb.threads/signal-command-handle-nopass.exp (test): Add
527 2014-07-29 Yao Qi <yao@codesourcery.com>
530 * gdb.base/until-nodebug.exp: New.
532 2014-07-28 Doug Evans <xdje42@gmail.com>
535 * gdb.guile/scm-parameter.exp: Add tests for trying to create
536 previously existing parameter, and previously ambiguously spelled
539 2014-07-28 Will Newton <will.newton@linaro.org>
541 * gdb.base/varargs.exp: Remove KFAILs for ARM.
543 2014-07-26 Ludovic Courtès <ludo@gnu.org>
544 Doug Evans <xdje42@gmail.com>
547 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
549 2014-07-25 Pedro Alves <palves@redhat.com>
551 * gdb.threads/signal-command-handle-nopass.c: New file.
552 * gdb.threads/signal-command-handle-nopass.exp: New file.
553 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
554 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
555 * gdb.threads/signal-delivered-right-thread.c: New file.
556 * gdb.threads/signal-delivered-right-thread.exp: New file.
558 2014-07-25 Pedro Alves <palves@redhat.com>
560 * gdb.base/double-prompt-target-event-error.exp
561 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
563 (cancel_pagination_in_target_event): Rework double prompt
565 * gdb.base/paginate-after-ctrl-c-running.exp
566 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
568 * gdb.base/paginate-bg-execution.exp
569 (test_bg_execution_pagination_return)
570 (test_bg_execution_pagination_cancel): Remove '-notransfer
572 * gdb.base/paginate-execution-startup.exp
573 (test_fg_execution_pagination_return)
574 (test_fg_execution_pagination_cancel): Remove '-notransfer
576 * gdb.base/paginate-inferior-exit.exp
577 (test_paginate_inferior_exited): Remove '-notransfer <return>'
579 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
580 * lib/gdb.exp (pagination_prompt): Run text through
582 (gdb_test_multiple): Match $pagination_prompt instead of
584 (string_to_regexp): Move to lib/gdb-utils.exp.
586 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
588 * gdb.arch/amd64-entry-value-paramref.S: New file.
589 * gdb.arch/amd64-entry-value-paramref.cc: New file.
590 * gdb.arch/amd64-entry-value-paramref.exp: New file.
591 * gdb.arch/amd64-optimout-repeat.S: New file.
592 * gdb.arch/amd64-optimout-repeat.c: New file.
593 * gdb.arch/amd64-optimout-repeat.exp: New file.
595 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
598 * gdb.base/statistics.exp: New file.
600 2014-07-17 Doug Evans <dje@google.com>
603 * gdb.base/maint.exp: Update testing of per-command stats.
605 2014-07-16 Pedro Alves <palves@redhat.com>
607 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
608 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
609 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
610 (tfile_write_buf): New functions.
611 (add_memory_block): Rewrite using the above.
612 (adjust_function_address): New function.
613 (FUNCTION_ADDRESS): New macro.
614 (write_basic_trace_file): Remove short_x local, and use
615 tfile_write_16. Change type of func_addr local to unsigned long
616 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
617 here. Cast argument of add_memory_block to char pointer.
618 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
619 (main): Remove parameters.
620 * gdb.trace/tfile.exp: Remove nowarnings.
622 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
624 * gdb.base/debug-expr.exp: Test string evaluation with
625 "debug expression" on.
627 2014-07-15 Pedro Alves <palves@redhat.com>
629 * gdb.base/reread.exp: Use clean_restart.
631 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
633 * gdb.arch/avr-flash-qualifer.c: New.
634 * gdb.arch/avr-flash-qualifer.exp: New.
636 2014-07-14 Pedro Alves <palves@redhat.com>
638 * gdb.base/paginate-after-ctrl-c-running.c: New file.
639 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
641 2014-07-14 Pedro Alves <palves@redhat.com>
643 * gdb.base/double-prompt-target-event-error.c: New file.
644 * gdb.base/double-prompt-target-event-error.exp: New file.
646 2014-07-14 Pedro Alves <palves@redhat.com>
649 * gdb.base/paginate-inferior-exit.c: New file.
650 * gdb.base/paginate-inferior-exit.exp: New file.
652 2014-07-14 Pedro Alves <palves@redhat.com>
655 * gdb.base/paginate-bg-execution.c: New file.
656 * gdb.base/paginate-bg-execution.exp: New file.
658 2014-07-14 Pedro Alves <palves@redhat.com>
661 * gdb.base/paginate-execution-startup.c: New file.
662 * gdb.base/paginate-execution-startup.exp: New file.
663 * lib/gdb.exp (pagination_prompt): New global.
664 (default_gdb_spawn): New procedure, factored out from
666 (default_gdb_start): Adjust to call default_gdb_spawn.
667 (gdb_spawn): New procedure.
669 2014-07-14 Pedro Alves <palves@redhat.com>
671 * lib/gdb.exp (gdb_assert): New procedure.
672 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
674 2014-07-14 Pedro Alves <palves@redhat.com>
676 * gdb.base/execution-termios.c: New file.
677 * gdb.base/execution-termios.exp: New file.
679 2014-07-14 Tom Tromey <tromey@redhat.com>
681 * gdb.cp/vla-cxx.cc: New file.
682 * gdb.cp/vla-cxx.exp: New file.
684 2014-07-14 Tom Tromey <tromey@redhat.com>
686 * gdb.reverse/rerun-prec.c: New file.
687 * gdb.reverse/rerun-prec.exp: New file.
689 2014-07-12 Maciej W. Rozycki <macro@mips.com>
690 Maciej W. Rozycki <macro@codesourcery.com>
692 * lib/gdb-utils.exp: New file.
693 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
694 inline `gdb_init_command' processing.
695 (gdb_start_cmd): Likewise.
696 * lib/mi-support.exp (mi_run_cmd): Likewise.
697 * README: Document `gdb_init_command' and `gdb_init_commands'.
699 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
701 Fix false FAIL running under a very long directory name.
702 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
703 and "set print elements 10000". Twice.
705 2014-07-11 Yao Qi <yao@codesourcery.com>
707 * gdb.base/exprs.exp: "set print symbol off".
709 2014-07-11 Pedro Alves <palves@redhat.com>
711 * gdb.threads/kill.c: New file.
712 * gdb.threads/kill.exp: New file.
714 2014-07-10 Yao Qi <yao@codesourcery.com>
716 * gdb.trace/tfile.c (write_basic_trace_file)
717 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
718 address written to trace file.
720 2014-07-09 Pedro Alves <palves@redhat.com>
722 * gdb.base/attach-wait-input.exp: New file.
723 * gdb.base/attach-wait-input.c: New file.
725 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
727 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
728 setting up test structures.
729 (main): Call new test function.
730 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
731 test function, continue into test function and walk test
734 2014-07-02 Yao Qi <yao@codesourcery.com>
736 * gdb.trace/entry-values.c: Define labels 'foo_start' and
737 'bar_start' at the beginning of functions 'foo' and 'bar'
739 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
740 instead of 'foo' and 'bar'.
742 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
744 * gdb.btrace/segv.exp: New.
745 * gdb.btrace/segv.c: New.
747 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
749 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
752 2014-06-30 Mark Wielaard <mjw@redhat.com>
754 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
755 vulture, vilify, villar): New volatile array constants.
756 (vindictive, vegetation): New const volatile array constants.
757 * gdb.base/volatile.exp: Test volatile and const volatile array
760 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
762 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
763 target lacks support for awatch, rwatch, or hbreak.
765 2014-06-27 Yao Qi <yao@codesourcery.com>
767 * gdb.multi/dummy-frame-restore.exp: New.
768 * gdb.multi/dummy-frame-restore.c: New.
770 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
772 * gdb.btrace/gcore.exp: New.
774 2014-06-23 Pedro Alves <palves@redhat.com>
776 * gdb.base/watchpoint-reuse-slot.c: New file.
777 * gdb.base/watchpoint-reuse-slot.exp: New file.
779 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
781 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
782 progspace's filename in 'info', 'enable' and 'disable' command
785 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
787 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
788 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
789 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
791 2014-06-20 Gary Benson <gbenson@redhat.com>
793 * gdb.arch/i386-avx.exp: Fix include file location.
794 * gdb.arch/i386-sse.exp: Likewise.
796 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
798 * gdb.dlang/expression.exp: New file.
800 2014-06-19 Pedro Alves <palves@redhat.com>
802 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
804 (top level): ... here. Iterate running tests under different
805 scheduler-locking settings.
807 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
809 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
810 to DW_FORM_addr and use non-zero addresses.
812 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
815 * gdb.python/py-xmethods.cc: Add global function call counters and
816 increment them in their respective functions. Remove "cout"
818 * gdb.python/py-xmethods.exp: Make tests check the global function
819 call counters instead of depending on inferior IO.
821 2014-06-18 Don Breazeal <donb@codesourcery.com>
823 * gdb.base/foll-fork.exp (default_fork_parent_follow):
825 (explicit_fork_parent_follow): Deleted procedure.
826 (explicit_fork_child_follow): Deleted procedure.
827 (test_follow_fork): New procedure.
828 (do_fork_tests): Replace calls to deleted procedures with
829 calls to test_follow_fork and reset GDB for subsequent
832 2014-06-17 Yao Qi <yao@codesourcery.com>
834 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
837 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
839 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
840 Initialize ptr and S explicitly.
841 (skip_type_update_when_not_use_rtti_test): Likewise.
843 2014-06-16 Keith Seitz <keiths@redhat.com>
846 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
847 the inferior is started.
849 2014-06-16 Pedro Alves <palves@redhat.com>
851 * gdb.base/break-main-file-remove-fail.c: New file.
852 * gdb.base/break-main-file-remove-fail.exp: New file.
853 * gdb.base/break-unload-file.exp: Use build_executable instead of
855 (test_break): New parameter "initial_load". Handle it.
856 (top level): Add initial_load cmdline/file axis.
858 2014-06-12 Tom Tromey <tromey@redhat.com>
860 * gdb.base/completion.exp: Don't use directory name in test.
862 2014-06-09 Gary Benson <gbenson@redhat.com>
864 * gdb.base/sigall.c [Functions to send signals]: Reorder to
865 separate the always-available ANSI-standard signals from the
866 signals that require checking.
868 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
872 2014-06-07 Keith Seitz <keiths@redhat.com>
876 * gdb.cp/var-tag.cc: New file.
877 * gdb.cp/var-tag.exp: New file.
878 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
879 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
880 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
881 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
883 2014-06-06 Doug Evans <xdje42@gmail.com>
885 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
887 2014-06-06 Pedro Alves <palves@redhat.com>
889 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
890 in target debug output instead of looking at RSP packets,
891 disabling the test on any target that uses hardware stepping.
894 2014-06-06 Pedro Alves <palves@redhat.com>
896 * gdb.base/break-unload-file.exp: Fix typo.
898 2014-06-06 Yao Qi <yao@codesourcery.com>
900 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
901 from "jit_function" to "^jit_function".
903 2014-06-06 Yao Qi <yao@codesourcery.com>
905 * gdb.base/async.c (foo): Add one statement.
906 * gdb.base/async.exp: Get the next instruction address and
907 match the output of "nexti" by instruction address. Match
908 the hex address in the output of "finish".
910 2014-06-06 Gary Benson <gbenson@redhat.com>
912 * gdb.base/call-signals.c: Remove preprocessor conditionals
913 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
915 * gdb.base/sigall.c: Likewise.
916 * gdb.base/unwindonsignal.c: Likewise.
917 * gdb.reverse/sigall-reverse.c: Likewise.
919 2014-06-06 Yao Qi <yao@codesourcery.com>
921 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
922 readable, skip the test.
924 2014-06-06 Yao Qi <yao@codesourcery.com>
926 * gdb.threads/staticthreads.c (thread_function): Move the line
927 setting breakpoint on forward.
928 * gdb.threads/staticthreads.exp: Update comments.
930 2014-06-05 Ludovic Courtès <ludo@gnu.org>
932 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
933 "history-append! type error".
935 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
937 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
938 erroneous dprintf expected input.
940 2014-06-04 Doug Evans <xdje42@gmail.com>
942 * gdb.guile/scm-generics.exp: Delete.
944 2014-06-04 Doug Evans <xdje42@gmail.com>
946 * gdb.guile/scm-breakpoint.exp: Update.
947 Add tests for breakpoint registration.
949 2014-06-04 Tom Tromey <tromey@redhat.com>
951 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
953 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
954 inner_vla_struct, vla_union types. Initialize objects of those
955 types and compute their sizes.
957 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
958 Hui Zhu <hui@codesourcery.com>
960 * gdb.base/fileio.exp: Add test for shell not available as well as
962 * gdb.base/fileio.c (test_system): Check for shell twice.
964 2014-06-04 Yao Qi <yao@codesourcery.com>
966 * gdb.base/auto-connect-native-target.exp: Remove redundant
967 space from the regexp pattern.
969 2014-06-04 Yao Qi <yao@codesourcery.com>
971 * gdb.base/default.exp: Replace "child" with "native" in
974 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
976 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
977 * gdb.python/py-xmethods.exp: New tests to test xmethods.
978 * gdb.python/py-xmethods.py: Python script supporting the
979 new testcase and tests.
981 2014-06-03 Joel Brobecker <brobecker@adacore.com>
982 Pedro Alves <palves@redhat.com>
985 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
986 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
988 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
990 * gdb.base/subst.exp: Add tests to verify partial path matching
993 2014-06-03 Pedro Alves <palves@redhat.com>
995 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
996 target that doesn't use software single-stepping.
998 2014-06-03 Pedro Alves <palves@redhat.com>
1000 PR breakpoints/17000
1001 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1002 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1004 2014-06-02 Doug Evans <xdje42@gmail.com>
1006 * gdb.guile/scm-parameter.exp: New file.
1008 2014-06-02 Doug Evans <xdje42@gmail.com>
1010 * gdb.guile/scm-cmd.c: New file.
1011 * gdb.guile/scm-cmd.exp: New file.
1013 2014-06-02 Doug Evans <xdje42@gmail.com>
1015 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1016 pretty-printer lookup.
1017 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1018 (make-pp_s-printer): Call it.
1019 (make-pretty-printer-from-dict): New function.
1020 (lookup-pretty-printer-maker-from-dict): New function.
1021 (*pretty-printer*): Simplify.
1022 (make-objfile-pp_s-printer): New function.
1023 (install-objfile-pretty-printers!): New function.
1024 (make-progspace-pp_s-printer): New function.
1025 (install-progspace-pretty-printers!): New function.
1026 * gdb.guile/scm-progspace.c: New file.
1027 * gdb.guile/scm-progspace.exp: New file.
1029 2014-06-02 Pedro Alves <palves@redhat.com>
1031 * gdb.base/dprintf-bp-same-addr.c: New file.
1032 * gdb.base/dprintf-bp-same-addr.exp: New file.
1034 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1036 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1037 * gdb.arch/powerpc-power.s: Likewise.
1039 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1041 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1043 2014-06-01 Yao Qi <yao@codesourcery.com>
1045 * gdb.base/watchpoint.exp (test_watch_location): Check null
1046 pointer can be dereferenced. If not, do the test, otherwise
1049 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1051 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1053 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1055 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1057 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1058 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1059 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1060 * gdb.arch/amd64-invalid-stack-top.c: New file.
1061 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1063 2014-05-30 Pedro Alves <palves@redhat.com>
1065 PR breakpoints/17000
1066 * gdb.base/sss-bp-on-user-bp.c: New file.
1067 * gdb.base/sss-bp-on-user-bp.exp: New file.
1069 2014-05-30 David Blaikie <dblaikie@gmail.com>
1071 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1072 gnu_inline semantics via attribute.
1073 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1074 source explicitly specifies the required semantics.
1076 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1078 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1080 2014-05-29 Pedro Alves <palves@redhat.com>
1081 Tom Tromey <tromey@redhat.com>
1083 * gdb.base/async-shell.exp: Don't enable target-async.
1084 * gdb.base/async.exp
1085 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1087 (top level): Don't test with "target-async".
1088 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1089 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1090 * gdb.base/inferior-died.exp: Don't enable target-async.
1091 * gdb.base/interrupt-noterm.exp: Likewise.
1092 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1093 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1094 * gdb.mi/mi-nonstop.exp: Likewise.
1095 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1096 * gdb.mi/mi-nsintrall.exp: Likewise.
1097 * gdb.mi/mi-nsmoribund.exp: Likewise.
1098 * gdb.mi/mi-nsthrexec.exp: Likewise.
1099 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1100 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1101 * gdb.python/py-evsignal.exp: Don't enable target-async.
1102 * gdb.python/py-evthreads.exp: Likewise.
1103 * gdb.python/py-prompt.exp: Likewise.
1104 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1105 * gdb.server/solib-list.exp: Don't enable target-async.
1106 * gdb.threads/thread-specific-bp.exp: Likewise.
1107 * lib/mi-support.exp: Adjust to use mi-async.
1109 2014-05-29 Pedro Alves <palves@redhat.com>
1112 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1113 reason, even in sync mode.
1115 2014-05-29 Pedro Alves <palves@redhat.com>
1116 Hui Zhu <hui@codesourcery.com>
1119 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1120 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1121 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1122 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1124 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1126 * config/monitor.exp (gdb_target_monitor): Replace use of
1127 "set remotebaud" by "set serial baud".
1129 2014-05-26 Andy Wingo <wingo@igalia.com>
1131 * gdb.guile/scm-breakpoint.exp:
1132 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1133 properties instead of gdb-object-properties.
1135 2014-05-26 Yao Qi <yao@codesourcery.com>
1137 * gdb.server/no-thread-db.exp: Specify source file name
1138 explicitly when setting a breakpoint.
1140 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1142 * gdb.btrace/vdso.c: New.
1143 * gdb.btrace/vdso.exp: New.
1145 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1147 * gdb.base/gcore.exp (capture_command_output): Move ...
1148 * lib/gdb.exp (capture_command_output): ... here.
1150 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1152 * gdb.btrace/data.exp: Test memory access during btrace replay.
1154 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1156 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1158 2014-05-21 Pedro Alves <palves@redhat.com>
1161 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1162 (top level): Test that output related to execution commands is
1163 sent to the console with CLI commands, but not with MI commands.
1164 Test that breakpoint events are always mirrored to the console.
1165 Also expect the new source line to be output after a "next" in
1166 async mode too. Make it a pass/fail test.
1167 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1169 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1171 2014-05-21 Pedro Alves <palves@redhat.com>
1173 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1174 Use them to test variations of "list" after reaching a breakpoint.
1175 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1176 Test "list" with listsize 10 after reaching a breakpoint.
1177 * gdb.python/python.exp (decode_line current location line
1178 number): Adjust expected line number.
1180 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1182 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1183 behavior for $args, pass it directly to "run".
1185 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1187 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1190 2014-05-21 Pedro Alves <palves@redhat.com>
1192 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1193 auto-connect-native-target off".
1194 * gdb.base/auto-connect-native-target.c: New file.
1195 * gdb.base/auto-connect-native-target.exp: New file.
1197 2014-05-21 Pedro Alves <palves@redhat.com>
1199 * gdb.base/default.exp: Test "target native" instead of "target
1202 2014-05-21 Mark Wielaard <mjw@redhat.com>
1204 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1206 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1208 Fix TLS access for -static -pthread.
1209 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1210 <HAVE_TLS> (thread_function, main): Initialize it.
1211 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1213 <$have_tls != "">: Check TLSVAR.
1215 2014-05-21 Pedro Alves <palves@redhat.com>
1217 * gdb.base/dcache-line-read-error.c: New.
1218 * gdb.base/dcache-line-read-error.exp: New.
1220 2014-05-20 Pedro Alves <palves@redhat.com>
1222 * gdb.base/compare-sections.c: New file.
1223 * gdb.base/compare-sections.exp: New file.
1225 2014-05-20 Pedro Alves <palves@redhat.com>
1227 * gdb.base/break-idempotent.c: New file.
1228 * gdb.base/break-idempotent.exp: New file.
1230 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1232 * gdb.btrace/nohist.exp: New.
1234 2014-05-20 Yao Qi <yao@codesourcery.com>
1236 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1237 gdb.reverse directory and gdb_reverse_timeout exists in board
1239 * README: Document gdb_reverse_timeout.
1241 2014-05-20 Yao Qi <yao@codesourcery.com>
1243 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1244 'test_file_name'. Treat args as a string instead of a list.
1245 (gdb_init): Rename argument 'args' by 'test_file_name'.
1247 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1249 * gdb.arch/powerpc-power.exp: New file.
1250 * gdb.arch/powerpc-power.s: New file.
1252 2014-05-16 Doug Evans <dje@google.com>
1254 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
1255 * gdb.base/completion.exp: Check that all expected files exist
1256 before doing file completion.
1258 2014-05-16 Doug Evans <dje@google.com>
1260 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1262 (do_syscall_tests_without_xml): Update.
1264 2014-05-16 Pedro Alves <palves@redhat.com>
1266 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1267 instead of "unknown output after running".
1269 2014-05-16 Yao Qi <yao@codesourcery.com>
1271 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1272 file1.txt from host at the end.
1273 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1275 2014-05-15 Doug Evans <dje@google.com>
1277 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1278 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1279 loading file. Add test for TU lookup.
1281 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1283 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1284 calling "-exec-arguments" or "set args" before running the
1287 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1289 * lib/mi-support.exp (mi_expect_stop): Expect message for
1290 inferiors that exit with non-zero exit code.
1292 2014-05-14 Yao Qi <yao@codesourcery.com>
1294 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1295 match absolute path on remote host.
1296 (test_file_list_exec_source_files): Remove "/" from the
1299 2014-05-14 Yao Qi <yao@codesourcery.com>
1301 * boards/local-remote-host-notty.exp (${board}_file): New
1304 2014-05-07 Kyle McMartin <kyle@redhat.com>
1306 Pushed by Joel Brobecker <brobecker@adacore.com>.
1307 * gdb.arch/aarch64-atomic-inst.c: New file.
1308 * gdb.arch/aarch64-atomic-inst.exp: New file.
1310 2014-05-07 Yao Qi <yao@codesourcery.com>
1312 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1313 in current context" too.
1315 2014-05-05 Keith Seitz <keiths@redhat.com>
1317 * gdb.linespec/ls-dollar.exp: Add test for linespec
1318 file:convenience_variable.
1320 2014-05-05 Yao Qi <yao@codesourcery.com>
1322 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
1323 traceframes into tfile and ctf trace files. Read data from
1324 trace file and test collected data.
1325 (gdb_collect_locals_test): Likewise.
1326 (gdb_unavailable_registers_test): Likewise.
1327 (gdb_unavailable_floats): Likewise.
1328 (gdb_collect_globals_test): Likewise.
1329 (top-level): Append "ctf" to trace_file_targets if GDB
1332 2014-05-05 Yao Qi <yao@codesourcery.com>
1334 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
1336 (gdb_collect_args_test_1): ... it. New proc.
1337 (gdb_collect_locals_test): Move some code to ...
1338 (gdb_collect_locals_test_1): ... it. New proc.
1339 (gdb_unavailable_registers_test): Move some code to ...
1340 (gdb_unavailable_registers_test_1): ... it. New proc.
1341 (gdb_unavailable_floats): Move some code to ...
1342 (gdb_unavailable_floats_1): ... it. New proc.
1344 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1346 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
1347 probes to test for bitness recognition.
1348 * gdb.arch/amd64-stap-optional-prefix.exp
1349 (test_probe_value_without_reg): New procedure.
1350 Add code to test for different kinds of bitness.
1352 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1354 PR breakpoints/16889
1355 * gdb.arch/amd64-stap-optional-prefix.S: New file.
1356 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1358 2014-05-01 Pedro Alves <palves@redhat.com>
1360 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
1361 gdb_file_cmd if no file is specified.
1362 * boards/native-extended-gdbserver.exp (gdb_load): Use the
1363 last_loaded_file to set the remote exec-file.
1365 2014-05-01 Pedro Alves <palves@redhat.com>
1367 * boards/local-remote-host.exp: New file.
1369 2014-05-01 Pedro Alves <palves@redhat.com>
1371 * boards/local-remote-host.exp: Rename to ...
1372 * boards/local-remote-host-notty.exp: ... this.
1374 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1376 * gdb.ada/dyn_arrayidx: New testcase.
1378 2014-04-26 Yao Qi <yao@codesourcery.com>
1380 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
1381 and compute the length of function main. Save it in
1383 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
1384 (top-level): Use gdb_compile to compile objects into
1385 executable and restart GDB. Remove invocation to
1386 prepare_for_testing.
1388 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
1389 Pedro Alves <palves@redhat.com>
1392 * gdb.multi/multi-attach.c: New file.
1393 * gdb.multi/multi-attach.exp: New file.
1395 2014-04-25 Pedro Alves <palves@redhat.com>
1397 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
1399 (top level): Test that "set remote conditional-breakpoints-packet
1400 off" works as intended.
1401 * gdb.base/dprintf.exp: Test that "set remote
1402 breakpoint-commands-packet off" works as intended.
1403 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
1405 (top level): Call it.
1406 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
1407 remote fast-tracepoints-packet off" works as intended.
1408 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
1409 * lib/gdb.exp (gdb_is_target_remote): ... here.
1411 2014-04-24 David Blaikie <dblaikie@gmail.com>
1413 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
1414 ensure clang would not discard them.
1415 * gdb.base/gdbvars.c: Ditto.
1416 * gdb.base/memattr.c: Ditto.
1417 * gdb.base/whatis.c: Ditto.
1418 * gdb.python/py-prettyprint.c: Ditto.
1419 * gdb.trace/actions.c: Ditto.
1420 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
1421 ensure clang would not discard it.
1423 2014-04-24 David Blaikie <dblaikie@gmail.com>
1425 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1426 clang to emit the full definition of type required by the test
1427 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1429 2014-04-24 David Blaikie <dblaikie@gmail.com>
1431 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1432 coax Clang into emitting the definition of the type.
1433 * gdb.cp/pr10728-x.h (y): Ditto.
1434 * gdb.cp/pr10728-y.cc (y): Ditto.
1436 2014-04-24 David Blaikie <dblaikie@gmail.com>
1438 * gdb.base/label.exp: XFAIL label related tests under Clang.
1439 * gdb.cp/cplabel.exp: Ditto.
1440 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
1441 under Clang those using labels.
1443 2014-04-25 Yao Qi <yao@codesourcery.com>
1445 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
1447 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
1448 partial_label and double_label.
1450 2014-04-24 David Blaikie <dblaikie@gmail.com>
1452 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
1454 2014-04-24 David Blaikie <dblaikie@gmail.com>
1456 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
1457 of the function to work across GCC and Clang.
1458 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
1459 pointer types (const void ** const V void **).
1461 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
1462 Walfred Tedeschi <walfred.tedeschi@intel.com>
1464 * Makefile.in (EXECUTABLES): Added i386-avx512.
1465 * gdb.arch/i386-avx512.c: New file.
1466 * gdb.arch/i386-avx512.exp: Likewise.
1468 2014-04-23 Keith Seitz <keiths@redhat.com>
1470 * lib/mi-support.exp (mi_list_breakpoints): Delete.
1471 (mi_make_breakpoint_table): New procedure.
1472 (mi_create_breakpoint): Use mi_make_breakpoint
1473 and return the result.
1474 (mi_make_breakpoint): New procedure.
1475 (mi_build_kv_pairs): New procedure.
1477 * gdb.mi/mi-break.exp: Remove unused globals,
1478 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
1479 All callers updated.
1480 * gdb.mi/mi-dprintf.exp: Use variable to track command
1482 Update all callers of mi_create_breakpoint and use
1483 mi_make_breakpoint_table.
1484 Remove any unused global variables.
1485 * gdb.mi/mi-nonstop.exp: Likewise.
1486 * gdb.mi/mi-nsintrall.exp: Likewise.
1487 * gdb.mi/mi-nsmoribund.exp: Likewise.
1488 * gdb.mi/mi-nsthrexec.exp: Likewise.
1489 * gdb.mi/mi-reverse.exp: Likewise.
1490 * gdb.mi/mi-simplerun.exp: Likewise.
1491 * gdb.mi/mi-stepn.exp: Likewise.
1492 * gdb.mi/mi-syn-frame.exp: Likewise.
1493 * gdb.mi/mi-until.exp: Likewise.
1494 * gdb.mi/mi-var-cp.exp: Likewise.
1495 * gdb.mi/mi-var-display.exp: Likewise.
1496 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1497 * gdb.mi/mi2-var-child.exp: Likewise.
1498 * gdb.mi/mi-vla-c99.exp: Likewise.
1499 * lib/mi-support.exp: Likewise.
1501 From Ian Lance Taylor <iant@cygnus.com>:
1502 * lib/gdb.exp (parse_args): New procedure.
1504 2014-04-23 Pedro Alves <palves@redhat.com>
1506 * gdb.base/break-unload-file.c: New file.
1507 * gdb.base/break-unload-file.exp: New file.
1508 * gdb.base/sym-file-lib.c (baz): New function.
1509 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
1511 (load): Store the segment's mapped size.
1512 (unload): New function.
1513 (unload_shlib): New function.
1514 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
1515 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
1516 set a breakpoint at baz, and call it.
1517 * gdb.base/sym-file.exp: New tests for stale breakpoint
1520 2014-04-23 Pedro Alves <palves@redhat.com>
1522 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
1523 * gdb.base/hbreak-in-shr-unsupported.c: New file.
1524 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
1525 * gdb.base/hbreak-unmapped.c: New file.
1526 * gdb.base/hbreak-unmapped.exp: New file.
1527 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
1528 * lib/gdb.exp (gdb_is_target_remote): ... here.
1530 2014-04-22 Pedro Alves <palves@redhat.com>
1532 * gdb.base/consecutive-step-over.c: New file.
1533 * gdb.base/consecutive-step-over.exp: New file.
1535 2014-04-22 Pedro Alves <palves@redhat.com>
1537 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
1538 instead of send_gdb/gdb_expect.
1540 2014-04-22 Yao Qi <yao@codesourcery.com>
1542 * lib/trace-support.exp (generate_tracefile): New procedure.
1543 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
1545 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
1546 if generate_tracefile returns 1.
1548 2014-04-18 Tom Tromey <palves@redhat.com>
1549 Pedro alves <tromey@redhat.com>
1552 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
1553 with a backtrace limit.
1554 * gdb.python/py-frame-inline.exp: Test running to an inline
1555 function with a backtrace limit, and printing the newest frame.
1556 * gdb.python/py-frame-inline.c (main): Call f.
1558 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1560 * gdb.java/jnpe.exp: Drop srcdir from untested path.
1562 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1564 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
1565 Drop prefix from unsupported source file path.
1567 2014-04-17 Yao Qi <yao@codesourcery.com>
1569 * lib/gdb.exp (with_target_charset): New proc.
1570 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
1571 with_target_charset.
1572 (test_print_strings): Likewise.
1573 (test_repeat_bytes): Likewise.
1574 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
1577 2014-04-16 Keith Seitz <keiths@redhat.com>
1580 * gdb.dwarf2/corrupt.c: New file.
1581 * gdb.dwarf2/corrupt.exp: New file.
1583 2014-04-16 Keith Seitz <keiths@redhat.com>
1586 * gdb.cp/namelessclass.cc: New file.
1587 * gdb.cp/namelessclass.exp: New file.
1588 * gdb.cp/namelessclass.S: New file.
1590 2014-04-16 Doug Evans <dje@google.com>
1592 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
1594 (gdbserver_default_get_comm_port): New function.
1595 (gdbserver_start): Check if board file provided
1596 "gdbserver,get_comm_port" and use it if so.
1597 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
1598 (gdb,socketport): Set to "stdio".
1599 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
1600 (stdio_gdbserver_template): Delete.
1601 (${board}_get_remote_address): Update.
1602 (${board}_build_remote_cmd): Delete.
1603 (${board}_get_comm_port): New function.
1604 (${board}_spawn): Update.
1605 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
1607 (${board}_get_remote_address): Update.
1608 (${board}_get_comm_port): New function.
1610 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
1612 * gdb.base/memattr.exp: Improve regexps to handle memory regions
1613 appearing in any order.
1615 2014-04-15 Doug Evans <dje@google.com>
1617 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
1618 uninitialized value of "description".
1620 2014-04-15 Keith Seitz <keiths@redhat.com>
1622 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
1623 Remove unused globals.
1624 (test_running_the_program): Likewise.
1625 (test_controlled_execution): Likewise.
1626 (test_controlling_breakpoints): Likewise.
1627 (test_program_termination): Likewise.
1629 2014-04-15 Keith Seitz <keiths@redhat.com>
1631 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
1633 (test_rbreak_creation_and_listing): Likewise.
1634 (test_ignore_count): Likewise.
1635 (test_error): Likewise.
1637 2014-04-15 Pedro Alves <palves@redhat.com>
1639 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
1640 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
1642 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1643 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1644 to sym-file-loader.c.
1645 (struct library): Forward declare.
1646 (load_shlib, lookup_function): Change prototypes.
1647 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1648 (translate_offset): Remove declarations.
1649 (get_text_addr): New declaration.
1650 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
1651 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
1653 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1654 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1655 here from sym-file-loader.h.
1656 (struct library): New structure.
1657 (load_shlib, lookup_function): Change prototypes and adjust to
1658 work with a struct library.
1659 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1660 (translate_offset): Make static.
1661 (get_text_addr): New function.
1662 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
1664 2014-04-15 Pedro Alves <palves@redhat.com>
1666 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
1668 2014-04-15 Pedro Alves <palves@redhat.com>
1670 * gdb.base/sym-file-loader.c: Include <limits.h>.
1671 (SELF_LINK): New define.
1672 (get_origin): New function.
1673 (load_shlib): Use it.
1674 * gdb.base/sym-file.exp: Don't early return if the target is
1675 remote. Use runto_main, and issue fail is that fails. Use
1677 (shlib_name): Delete.
1678 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
1680 2014-04-15 Pedro Alves <palves@redhat.com>
1682 * gdb.base/sym-file.exp: Remove regex characters from test
1683 message. Don't refer to breakpoint numbers in test messages.
1685 2014-04-14 Keith Seitz <keiths@redhat.com>
1688 * gdb.cp/var-tag.cc: New file.
1689 * gdb.cp/var-tag.exp: New file.
1690 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1691 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1692 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1693 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1695 2014-04-14 Tom Tromey <tromey@redhat.com>
1697 * gdb.cp/classes.exp (test_enums): Handle underlying type.
1698 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
1700 * gdb.cp/enum-class.exp: New file.
1701 * gdb.cp/enum-class.cc: New file.
1703 2014-04-14 Tom Tromey <tromey@redhat.com>
1705 * gdb.dwarf2/enum-type.exp: New file.
1707 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1709 * gdb.mi/mi-vla-c99.exp: New file.
1710 * gdb.mi/vla.c: New file.
1712 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1714 * gdb.base/vla-datatypes.c: New file.
1715 * gdb.base/vla-datatypes.exp: New file.
1717 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1719 * gdb.base/vla-ptr.c: New file.
1720 * gdb.base/vla-ptr.exp: New file.
1722 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1724 * gdb.dwarf2/count.exp: New file.
1726 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1728 * gdb.base/vla-sideeffect.c: New file.
1729 * gdb.base/vla-sideeffect.exp: New file.
1731 2014-04-14 David Blaikie <dblaikie@gmail.com>
1733 * gdb.mi/non-stop.c: Add return value for non-void function return
1735 * gdb.threads/staticthreads.c: Ditto.
1737 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
1738 Doug Evans <xdje42@gmail.com>
1740 * gdb.guile/scm-value.c: Improve test case.
1741 * gdb.guile/scm-value.exp: Add new test.
1743 2014-04-11 David Blaikie <dblaikie@gmail.com>
1745 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
1746 override Clang's default.
1748 2014-04-11 Joel Brobecker <brobecker@adacore.com>
1750 Revert the following changes (regressions):
1752 * gdb.base/vla-sideeffect.c: New file.
1753 * gdb.base/vla-sideeffect.exp: New file.
1755 * gdb.dwarf2/count.exp: New file.
1757 * gdb.base/vla-multi.c: New file.
1758 * gdb.base/vla-multi.exp: New file.
1760 * gdb.base/vla-ptr.c: New file.
1761 * gdb.base/vla-ptr.exp: New file.
1763 * gdb.base/vla-datatypes.c: New file.
1764 * gdb.base/vla-datatypes.exp: New file.
1766 * gdb.mi/mi-vla-c99.exp: New file.
1767 * gdb.mi/vla.c: New file.
1769 2014-04-11 Keith Seitz <keiths@redhat.com>
1772 * gdb.cp/cpsizeof.exp: New file.
1773 * gdb.cp/cpsizeof.cc: New file.
1775 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1777 * gdb.mi/mi-vla-c99.exp: New file.
1778 * gdb.mi/vla.c: New file.
1780 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1782 * gdb.base/vla-datatypes.c: New file.
1783 * gdb.base/vla-datatypes.exp: New file.
1785 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1787 * gdb.base/vla-ptr.c: New file.
1788 * gdb.base/vla-ptr.exp: New file.
1790 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1792 * gdb.base/vla-multi.c: New file.
1793 * gdb.base/vla-multi.exp: New file.
1795 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1797 * gdb.dwarf2/count.exp: New file.
1799 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1801 * gdb.base/vla-sideeffect.c: New file.
1802 * gdb.base/vla-sideeffect.exp: New file.
1804 2014-04-11 Yao Qi <yao@codesourcery.com>
1806 * gdb.base/completion.exp: Check file exists before running tests
1809 2014-04-10 Pedro Alves <palves@redhat.com>
1811 * gdb.base/cond-eval-mode.c: New file.
1812 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
1813 prepare_for_testing to build the new file. Check result of
1815 (test_break, test_watch): New procedures.
1816 (top level): Use them.
1818 2014-04-08 Pierre Muller <muller@sourceware.org>
1820 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
1821 Ctrl-V use for mingw hosts.
1823 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
1825 * gdb.python/py-value.c: Improve test case.
1826 * gdb.python/py-value.exp: Add new test.
1828 2014-04-07 David Blaikie <dblaikie@gmail.com>
1830 * lib/compiler.c: Identify the clang compiler.
1831 * lib/compiler.cc: Ditto.
1833 2014-04-03 Yao Qi <yao@codesourcery.com>
1835 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
1837 2014-04-01 Anton Blanchard <anton@samba.org>
1839 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
1842 2014-04-01 Anton Blanchard <anton@samba.org>
1844 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
1845 prepare_for_testing.
1847 2014-04-01 Anton Blanchard <anton@samba.org>
1849 * gdb.arch/ppc64-atomic-inst.c: Remove.
1850 * gdb.arch/ppc64-atomic-inst.S: New file.
1851 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
1853 2014-03-31 Doug Evans <dje@google.com>
1855 * gdb.base/print-symbol-loading-lib.c: New file.
1856 * gdb.base/print-symbol-loading-main.c: New file.
1857 * gdb.base/print-symbol-loading.exp: New file.
1859 2014-03-31 Yao Qi <yao@codesourcery.com>
1861 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
1863 2014-03-28 Joel Brobecker <brobecker@adacore.com>
1865 * gdb.ada/mi_dyn_arr: New testcase.
1867 2014-03-27 Doug Evans <dje@google.com>
1869 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
1871 2014-03-27 Yao Qi <yao@codesourcery.com>
1873 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
1874 if target is nios2-*-*.
1876 2014-03-26 Yao Qi <yao@codesourcery.com>
1878 * lib/gdb.exp (readline_is_used): New proc.
1879 * gdb.base/completion.exp: Move tests on command complete up.
1880 Skip the rest of tests if readline is not used.
1881 * gdb.ada/complete.exp: Skp the test if readline is not
1883 * gdb.base/filesym.exp: Likewise.
1884 * gdb.base/macscp.exp: Likewise.
1885 * gdb.base/readline-ask.exp: Likewise.
1886 * gdb.base/readline.exp: Likewise.
1887 * gdb.python/py-cmd.exp: Likewise.
1888 * gdb.trace/tfile.exp: Likewise.
1890 2014-03-26 Yao Qi <yao@codesourcery.com>
1892 * gdb.base/macscp.exp: Fix code format issues.
1894 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
1896 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
1897 * gdb.asm/powerpc64le.inc: New file.
1899 2014-03-25 Pedro Alves <palves@redhat.com>
1900 Doug Evans <dje@google.com>
1902 * gdb.base/source-execution.c: New file.
1903 * gdb.base/source-execution.exp: New file.
1904 * gdb.base/source-execution.gdb: New file.
1906 2014-03-24 Doug Evans <dje@google.com>
1908 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
1911 2014-03-24 Hui Zhu <hui@codesourcery.com>
1912 Pedro Alves <palves@redhat.com>
1914 PR breakpoints/16101
1915 * gdb.base/dprintf.exp: Use unsupported rather than changing the
1916 test pass/fail messages. Detect missing support for dprintf when
1917 breakpoints are actually inserted.
1918 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
1919 breakpoints are actually inserted.
1920 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
1923 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1925 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
1927 2014-03-22 Doug Evans <xdje42@gmail.com>
1929 * gdb.python/python.exp (python not supported): Verify multi-line
1930 python command issues an error.
1931 * gdb.guile/guile.exp (guile not supported): Verify multi-line
1932 guile command issues an error.
1934 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
1936 * gdb.threads/thread-specific.exp: Handle the lack of usable
1937 $this_breakpoint and $this_thread.
1939 2014-03-21 Hui Zhu <hui@codesourcery.com>
1941 * gdb.base/attach.exp (do_command_attach_tests): New.
1943 2014-03-20 Tom Tromey <tromey@redhat.com>
1944 Pedro Alves <palves@redhat.com>
1947 * gdb.base/condbreak-call-false.c: New file.
1948 * gdb.base/condbreak-call-false.exp: New file.
1950 2014-03-20 Pedro Alves <palves@redhat.com>
1952 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
1954 (block_signals, unblock_signals): Delete.
1955 (child_function_2, main): Remove references to deleted variable
1958 2014-03-20 Pedro Alves <palves@redhat.com>
1960 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
1961 Use pthread_kill to signal thread 2.
1962 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1963 Adjust to make the test send itself a signal rather than using the
1964 host's "kill" command.
1966 2014-03-20 Pedro Alves <palves@redhat.com>
1968 * gdb.threads/multiple-step-overs.c: New file.
1969 * gdb.threads/multiple-step-overs.exp: New file.
1970 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1971 Adjust expected infrun debug output.
1973 2014-03-20 Pedro Alves <palves@redhat.com>
1975 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
1976 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
1978 2014-03-20 Pedro Alves <palves@redhat.com>
1981 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
1982 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
1983 of gdb_test_multiple.
1984 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
1985 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
1987 2014-03-20 Pedro Alves <palves@redhat.com>
1989 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
1990 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
1992 2014-03-19 Pedro Alves <palves@redhat.com>
1994 * gdb.base/async.exp: Remove early return.
1996 2014-03-19 Pedro Alves <palves@redhat.com>
1998 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2000 2014-03-19 Pedro Alves <palves@redhat.com>
2002 * gdb.base/async.exp (test_background): Expect \r\n after
2003 "completed." in the fail pattern.
2005 2014-03-19 Pedro Alves <palves@redhat.com>
2007 * gdb.base/async.exp (test_background): New procedure.
2008 Use it for all background execution command tests.
2010 2014-03-19 Pedro Alves <palves@redhat.com>
2012 * gdb.base/async.exp: Use prepare_for_testing.
2014 2014-03-19 Pedro Alves <palves@redhat.com>
2016 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2019 2014-03-19 Pedro Alves <palves@redhat.com>
2021 * gdb.base/async.c (main): Add "jump here" and "until here" line
2023 * gdb.base/async.exp (jump_here): New global.
2024 (jump& test): Use it.
2025 (until_here): New global.
2026 (until& test): Use it.
2028 2014-03-19 Pedro Alves <palves@redhat.com>
2030 * gdb.base/async.exp: Don't frob gdb_protocol.
2032 2014-03-18 Doug Evans <xdje42@gmail.com>
2034 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2035 Fix spelling of exec-done-display.
2037 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2040 * gdb.base/gdb-sigterm.c: New file.
2041 * gdb.base/gdb-sigterm.exp: New file.
2043 2014-03-18 Pedro Alves <palves@redhat.com>
2046 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2047 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2050 2014-03-17 Joel Brobecker <brobecker@adacore.com>
2052 * gdb.ada/pckd_arr_ren: New testcase.
2054 2014-03-13 Doug Evans <xdje42@gmail.com>
2057 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2058 collect after discarding symbols.
2060 2014-03-13 Ludovic Courtès <ludo@gnu.org>
2061 Doug Evans <xdje42@gmail.com>
2063 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2064 to history survives a gc.
2066 2014-03-13 Pedro Alves <palves@redhat.com>
2068 * gdb.base/default.exp: Don't test "target procfs".
2070 2014-03-13 Pedro Alves <palves@redhat.com>
2072 * gdb.base/default.exp: Update "target child" and "target procfs"
2073 tests to not expect "Unix".
2075 2014-03-12 Tom Tromey <tromey@redhat.com>
2077 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2078 New procs. Add target-async tests.
2079 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2080 Add target-async tests.
2082 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2084 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2085 'func_start' and 'func_end' for the beginning and end of the
2086 function code, respectively.
2087 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2088 'func_end' instead of 'func' and 'main'.
2090 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2092 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2093 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2094 generate the debug info assembler source.
2096 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2098 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2099 * gdb.dwarf2/arr-subrange.exp: Likewise.
2100 * gdb.dwarf2/dwz.exp: Likewise.
2101 * gdb.dwarf2/method-ptr.exp: Likewise.
2102 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2103 * gdb.dwarf2/subrange.exp: Likewise.
2104 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2105 * gdb.dwarf2/implptrpiece.exp: Likewise.
2106 * gdb.dwarf2/nostaticblock.exp: Likewise.
2108 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2110 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2111 directory to absolute path name arguments.
2113 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2115 * gdb.ada/tagged_access: New testcase.
2117 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2119 * gdb.btrace/data.exp: Update expected output.
2121 2014-03-06 Yao Qi <yao@codesourcery.com>
2123 * gdb.trace/pr16508.exp: New file.
2125 2014-03-05 Pedro Alves <palves@redhat.com>
2128 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2130 (top level): Adjust to use it. Add tests that exercise breakpoint
2131 interaction with the code-cache.
2133 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2135 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2136 test for 'history-append!'.
2138 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2140 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2141 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2142 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2143 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2144 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2145 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2147 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2149 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2150 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2151 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2153 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2155 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2157 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2159 * gdb.dwarf2/arr-stride.c: New file.
2160 * gdb.dwarf2/arr-stride.exp: New file.
2162 2014-02-26 Pedro Alves <palves@redhat.com>
2164 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2165 that won't ever trigger. Make sure that GDB reports the correct
2166 breakpoint that caused the stop.
2168 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2171 * gdb.base/auto-load-script: New file.
2172 * gdb.base/auto-load.c: New file.
2173 * gdb.base/auto-load.exp: New file.
2176 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2178 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2180 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2181 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2183 2014-02-24 Doug Evans <dje@google.com>
2185 * lib/gdb.exp (run_on_host): Log error output if program fails.
2187 2014-02-21 Pedro Alves <palves@redhat.com>
2189 * gdb.threads/step-after-sr-lock.c: Rename to ...
2190 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2191 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2192 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2195 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2198 * gdb.arch/amd64-stap-special-operands.exp: New file.
2199 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2200 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2201 * gdb.arch/amd64-stap-triplet.S: Likewise.
2202 * gdb.arch/amd64-stap-triplet.c: Likewise.
2204 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2206 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2207 in .section pseudo-op.
2209 2014-02-20 lin zuojian <manjian2006@gmail.com>
2210 Joel Brobecker <brobecker@adacore.com>
2211 Doug Evans <xdje42@gmail.com>
2214 * gdb.dwarf2/dw2-icycle.S: New file.
2215 * gdb.dwarf2/dw2-icycle.c: New file.
2216 * gdb.dwarf2/dw2-icycle.exp: New file.
2218 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2220 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2221 operations on gdb.Value objects.
2222 * gdb.python/py-value-cc.exp: Add new test to test operations on
2225 2014-02-18 Doug Evans <dje@google.com>
2227 * Makefile.in (TESTS): New variable.
2228 (expanded_tests, expanded_tests_or_none): New variables
2229 (check-single): Pass $(expanded_tests_or_none) to runtest.
2230 (check-parallel): Only run tests in $(TESTS) if non-empty.
2231 (check/no-matching-tests-found): New rule.
2232 * README: Document TESTS makefile variable.
2234 2014-02-18 Doug Evans <dje@google.com>
2236 * Makefile.in (check-parallel): rm -rf outputs temp.
2238 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2240 Fix "ERROR: no fileid for" in the testsuite.
2241 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2243 2014-02-12 Doug Evans <dje@google.com>
2245 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2246 (MISCELLANEOUS): New variable.
2247 (clean): rm -rf $(MISCELLANEOUS).
2248 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2249 dwp live in the same directory as symlinks, with each symlink pointed
2250 to a differently named file in a different directory.
2252 2014-02-11 Doug Evans <dje@google.com>
2254 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2255 of Tcl file commands.
2257 2014-02-10 Mark Kettenis <kettenis@gnu.org>
2259 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2262 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2264 * gdb.ada/tick_length_array_enum_idx: New testcase.
2266 2014-02-10 Doug Evans <xdje42@gmail.com>
2268 * configure.ac (AC_OUTPUT): Add gdb.guile.
2269 * configure: Regenerate.
2270 * lib/gdb-guile.exp: New file.
2271 * lib/gdb.exp (get_target_charset): New function.
2272 * gdb.base/help.exp: Update expected output from "apropos apropos".
2273 * gdb.guile/Makefile.in: New file.
2274 * gdb.guile/guile.exp: New file.
2275 * gdb.guile/scm-arch.c: New file.
2276 * gdb.guile/scm-arch.exp: New file.
2277 * gdb.guile/scm-block.c: New file.
2278 * gdb.guile/scm-block.exp: New file.
2279 * gdb.guile/scm-breakpoint.c: New file.
2280 * gdb.guile/scm-breakpoint.exp: New file.
2281 * gdb.guile/scm-disasm.c: New file.
2282 * gdb.guile/scm-disasm.exp: New file.
2283 * gdb.guile/scm-equal.c: New file.
2284 * gdb.guile/scm-equal.exp: New file.
2285 * gdb.guile/scm-error.exp: New file.
2286 * gdb.guile/scm-error.scm: New file.
2287 * gdb.guile/scm-frame-args.c: New file.
2288 * gdb.guile/scm-frame-args.exp: New file.
2289 * gdb.guile/scm-frame-args.scm: New file.
2290 * gdb.guile/scm-frame-inline.c: New file.
2291 * gdb.guile/scm-frame-inline.exp: New file.
2292 * gdb.guile/scm-frame.c: New file.
2293 * gdb.guile/scm-frame.exp: New file.
2294 * gdb.guile/scm-generics.exp: New file.
2295 * gdb.guile/scm-gsmob.exp: New file.
2296 * gdb.guile/scm-iterator.c: New file.
2297 * gdb.guile/scm-iterator.exp: New file.
2298 * gdb.guile/scm-math.c: New file.
2299 * gdb.guile/scm-math.exp: New file.
2300 * gdb.guile/scm-objfile-script-gdb.in: New file.
2301 * gdb.guile/scm-objfile-script.c: New file.
2302 * gdb.guile/scm-objfile-script.exp: New file.
2303 * gdb.guile/scm-objfile.c: New file.
2304 * gdb.guile/scm-objfile.exp: New file.
2305 * gdb.guile/scm-ports.exp: New file.
2306 * gdb.guile/scm-pretty-print.c: New file.
2307 * gdb.guile/scm-pretty-print.exp: New file.
2308 * gdb.guile/scm-pretty-print.scm: New file.
2309 * gdb.guile/scm-section-script.c: New file.
2310 * gdb.guile/scm-section-script.exp: New file.
2311 * gdb.guile/scm-section-script.scm: New file.
2312 * gdb.guile/scm-symbol.c: New file.
2313 * gdb.guile/scm-symbol.exp: New file.
2314 * gdb.guile/scm-symtab-2.c: New file.
2315 * gdb.guile/scm-symtab.c: New file.
2316 * gdb.guile/scm-symtab.exp: New file.
2317 * gdb.guile/scm-type.c: New file.
2318 * gdb.guile/scm-type.exp: New file.
2319 * gdb.guile/scm-value-cc.cc: New file.
2320 * gdb.guile/scm-value-cc.exp: New file.
2321 * gdb.guile/scm-value.c: New file.
2322 * gdb.guile/scm-value.exp: New file.
2323 * gdb.guile/source2.scm: New file.
2324 * gdb.guile/types-module.cc: New file.
2325 * gdb.guile/types-module.exp: New file.
2327 2014-02-10 Yao Qi <yao@codesourcery.com>
2330 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
2331 * configure: Regenerated.
2332 * Makefile.in: New file.
2334 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2336 * gdb.python/py-framefilter.exp: Fix typo.
2338 2014-02-08 Yao Qi <yao@codesourcery.com>
2340 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
2341 that no =breakpoint-modified is emitted when breakpoints are
2342 modified through MI commands.
2344 2014-02-07 Pedro Alves <pedro@codesourcery.com>
2345 Pedro Alves <palves@redhat.com>
2347 * gdb.threads/step-after-sr-lock.c: New file.
2348 * gdb.threads/step-after-sr-lock.exp: New file.
2350 2014-02-07 Pedro Alves <palves@redhat.com>
2352 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
2354 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2356 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
2357 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
2359 2014-02-06 Doug Evans <xdje42@gmail.com>
2361 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
2364 * gdb.gdb/python-interrupts.exp: New file.
2366 2014-02-05 Yao Qi <yao@codesourcery.com>
2368 * gdb.trace/report.exp (use_collected_data): Test the output
2369 of "info threads" and "info inferiors".
2371 2014-02-05 Yao Qi <yao@codesourcery.com>
2375 2013-05-24 Yao Qi <yao@codesourcery.com>
2377 * gdb.trace/tfile.exp: Test inferior and thread.
2379 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2381 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
2383 * gdb.base/step-bt.c: Call hello via function pointer to make
2384 sure its first instruction is executed on powerpc64le-linux.
2386 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2388 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
2390 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2392 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
2393 of the test patterns for use on little-endian systems.
2395 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2397 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
2398 (decimal_vector): Fix for little-endian.
2400 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2402 * gdb.arch/sparc-sysstep.exp: New file.
2403 * gdb.arch/sparc-sysstep.c: Likewise.
2405 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
2407 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2409 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2411 2014-01-23 Tom Tromey <tromey@redhat.com>
2413 * gdb.ada/array_char_idx: New testcase.
2415 2014-01-23 Tom Tromey <tromey@redhat.com>
2418 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
2419 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2422 2014-01-23 Tom Tromey <tromey@redhat.com>
2425 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2426 string from an inferior frame.
2427 * gdb.python/py-framefilter-mi.exp: Update.
2429 2014-01-22 Doug Evans <dje@google.com>
2431 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2433 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2435 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2437 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2439 * gdb.trace/entry-values.exp: Remove excess space character from
2440 regex patterns. Handle s390 call instruction.
2442 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2444 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
2445 define "*_start" label. Make "name" static.
2446 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
2447 ${name} by references to ${name}_start.
2449 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2451 * gdb.base/info-macros.exp: Remove "debug" from the compile
2454 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2456 * gdb.dlang/demangle.exp: New file.
2458 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2460 * gdb.dlang/primitive-types.exp: New file.
2462 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2464 * configure.ac: Create gdb.dlang/Makefile.
2465 * configure: Regenerate.
2466 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
2467 * gdb.dlang/Makefile.in: New file.
2468 * lib/d-support.exp: New file.
2469 * lib/gdb.exp (skip_d_tests): New proc.
2471 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2473 * gdb.btrace/delta.exp: Check reverse stepi.
2474 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
2475 * gdb.btrace/finish.exp: New.
2476 * gdb.btrace/next.exp: New.
2477 * gdb.btrace/nexti.exp: New.
2478 * gdb.btrace/record_goto.c: Add comments.
2479 * gdb.btrace/step.exp: New.
2480 * gdb.btrace/stepi.exp: New.
2481 * gdb.btrace/multi-thread-step.c: New.
2482 * gdb.btrace/multi-thread-step.exp: New.
2483 * gdb.btrace/rn-dl-bind.c: New.
2484 * gdb.btrace/rn-dl-bind.exp: New.
2485 * gdb.btrace/data.c: New.
2486 * gdb.btrace/data.exp: New.
2487 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2489 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2491 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
2492 * gdb.btrace/exception.exp: Update.
2493 * gdb.btrace/instruction_history.exp: Update.
2494 * gdb.btrace/record_goto.exp: Update.
2495 * gdb.btrace/tailcall.exp: Update.
2496 * gdb.btrace/unknown_functions.exp: Update.
2497 * gdb.btrace/delta.exp: New.
2499 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2501 * gdb.btrace/record_goto.exp: Add backtrace test.
2502 * gdb.btrace/tailcall.exp: Add backtrace test.
2504 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2506 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
2507 * gdb.btrace/record_goto.c: New.
2508 * gdb.btrace/record_goto.exp: New.
2509 * gdb.btrace/x86-record_goto.S: New.
2511 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2513 * gdb.btrace/function_call_history.exp: Update tests.
2514 * gdb.btrace/instruction_history.exp: Update tests.
2516 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2518 * gdb.btrace/function_call_history.exp: Fix expected field
2519 order for "record function-call-history".
2520 Add new tests for "record function-call-history /c".
2521 * gdb.btrace/exception.cc: New.
2522 * gdb.btrace/exception.exp: New.
2523 * gdb.btrace/tailcall.exp: New.
2524 * gdb.btrace/x86-tailcall.S: New.
2525 * gdb.btrace/x86-tailcall.c: New.
2526 * gdb.btrace/unknown_functions.c: New.
2527 * gdb.btrace/unknown_functions.exp: New.
2528 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2530 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2532 * gdb.btrace/instruction_history.exp: Update.
2533 * gdb.btrace/function_call_history.exp: Update.
2535 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2537 * gdb.btrace/function_call_history.exp: Fix expected function
2539 * gdb.btrace/instruction_history.exp: Initialize traced.
2540 Remove traced_functions.
2542 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2544 * gdb.btrace/function_call_history.exp: Update
2545 * gdb.btrace/instruction_history.exp: Update.
2547 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2549 * gdb.btrace/enable.exp: Update expected text.
2551 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
2553 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
2556 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
2558 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
2560 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2562 * lib/gdb.exp (supports_process_record): Return true for
2563 arm*-linux*. (supports_reverse): Likewise.
2565 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
2569 * gdb.python/py-type.c: Enhance test case.
2570 * gdb.python/py-value-cc.cc: Likewise
2571 * gdb.python/py-type.exp: Add new tests.
2572 * gdb.python/py-value-cc.exp: Likewise
2574 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2575 Pedro Alves <palves@redhat.com>
2577 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
2579 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
2580 references to ${name}_start by references to ${name}.
2582 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2584 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
2586 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2588 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
2590 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
2591 Pedro Alves <palves@redhat.com>
2593 * gdb.mi/mi-info-os.exp: Connect to the target with
2596 2014-01-08 Pedro Alves <palves@redhat.com>
2598 * gdb.threads/reconnect-signal.c: New file.
2599 * gdb.threads/reconnect-signal.exp: New file.
2601 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2603 * gdb.base/source-dir.exp: New file.
2605 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2607 * gdb.ada/mi_interface: New testcase.
2609 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2611 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
2612 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
2613 gdb.ada/pp-rec-component/pck.ads: New files.
2615 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2617 * gdb.python/py-pp-integral.c: New file.
2618 * gdb.python/py-pp-integral.py: New file.
2619 * gdb.python/py-pp-integral.exp: New file.
2621 For older changes see ChangeLog-1993-2013.
2627 ;; version-control: never
2630 Copyright 2014 Free Software Foundation, Inc.
2631 Copying and distribution of this file, with or without modification,
2632 are permitted provided the copyright notice and this notice are preserved.