1 2014-10-17 Pedro Alves <palves@redhat.com>
4 * gdb.base/continue-all-already-running.c: New file.
5 * gdb.base/continue-all-already-running.exp: New file.
7 2014-10-17 Pedro Alves <palves@redhat.com>
10 * gdb.base/annota-input-while-running.c: New file.
11 * gdb.base/annota-input-while-running.exp: New file.
13 2014-10-17 Pedro Alves <palves@redhat.com>
15 * gdb.base/callfuncs.exp: emove references to osf.
16 * gdb.base/sigall.exp: Likewise.
17 * gdb.gdb/selftest.exp: Likewise.
18 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
19 * gdb.mi/non-stop.c: Likewise.
20 * gdb.mi/pthreads.c: Likewise.
21 * gdb.reverse/sigall-precsave.exp: Likewise.
22 * gdb.reverse/sigall-reverse.exp: Likewise.
23 * gdb.threads/pthreads.c: Likewise.
24 * gdb.threads/pthreads.exp: Likewise.
26 2014-10-17 Yao Qi <yao@codesourcery.com>
28 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
29 check 'target_info exists noargs'.
30 (test_command_prompt_position): Likewise.
31 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
33 (progvar_simple_while_test): Likewise.
34 (progvar_complex_if_while_test): Likewise.
35 (if_while_breakpoint_command_test): Likewise.
36 (infrun_breakpoint_command_test): Likewise.
37 (breakpoint_command_test): Likewise.
38 (watchpoint_command_test): Likewise.
39 (bp_deleted_in_command_test): Likewise.
40 (temporary_breakpoint_commands): Likewise.
42 2014-10-16 Yao Qi <yao@codesourcery.com>
44 * gdb.base/remotetimeout.exp: Remove noargs checking.
46 2014-10-15 Pedro Alves <palves@redhat.com>
49 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
50 * gdb.base/breakpoint-in-ro-region.exp
51 (probe_target_hardware_step): New procedure.
52 (top level): Probe hardware stepping and hardware breakpoint
53 support. Test stepping through a read-only region, with both
54 "breakpoint auto-hw" on and off and both "always-inserted" on and
57 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
59 * gdb.dlang/demangle.exp: Update for demangling changes.
61 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
63 * gdb.cp/non-trivial-retval.cc: Add new test cases.
64 * gdb.cp/non-trivial-retval.exp: Add new tests.
66 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
70 * gdb.cp/non-trivial-retval.cc: New file.
71 * gdb.cp/non-trivial-retval.exp: New file.
73 2014-10-15 Yao Qi <yao@codesourcery.com>
75 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
78 2014-10-15 Yao Qi <yao@codesourcery.com>
80 * gdb.python/py-symbol.exp: Match file base name if host is
81 remote, otherwise match file name with dir name.
82 * gdb.python/py-symtab.exp: Likewise.
83 * gdb.python/python.exp: Likewise.
85 2014-10-15 Yao Qi <yao@codesourcery.com>
87 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
89 * gdb.python/py-symtab.exp: Likewise.
90 * gdb.python/python.exp: Remove trailing ".*". Fix typo
93 2014-10-14 Joel Brobecker <brobecker@adacore.com>
95 * gdb.ada/addr_arith: New testcase.
97 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
99 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
100 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
101 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
102 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
104 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
106 * gdb.arch/stap-eval-lang-ada.S: Likewise.
107 * gdb.arch/stap-eval-lang-ada.c: Likewise.
108 * gdb.arch/stap-eval-lang-ada.exp: New file.
110 2014-10-14 Yao Qi <yao@codesourcery.com>
112 * gdb.mi/mi-var-child.c (nothing1): New function.
113 (nothing2): New function.
114 (do_children_tests): Set function pointers by nothing1 and
116 * gdb.mi/mi-var-child.exp: Step over new added statements.
117 Update test to match the new output.
118 * gdb.mi/var-cmd.c (nothing1): New function.
119 (nothing2): New function.
120 (do_children_tests): Set function pointers by nothing1 and
122 * gdb.mi/mi-var-display.exp: Update test to match output.
123 Step to the line specified by $line_dct_nothing.
124 Increase the number of lines to step.
126 2014-10-14 Yao Qi <yao@codesourcery.com>
128 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
130 * gdb.mi/mi2-var-child.exp: Likewise.
132 2014-10-13 Doug Evans <dje@google.com>
134 * gdb.python/py-objfile.exp: Change name of file name test.
136 2014-10-13 Doug Evans <dje@google.com>
138 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
139 from the start of the CU.
141 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
142 Yao Qi <yao@codesourcery.com>
144 Fix "save breakpoints" for "catch" command.
145 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
146 Remove -nonewline. Match also the added "main" line.
148 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
150 Fix "save breakpoints" for "disable $bpnum" command.
151 * gdb.base/save-bp.c (main): Add label.
152 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
154 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
156 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
158 2014-10-11 Yao Qi <yao@codesourcery.com>
160 * gdb.server/server-kill.exp: Execute command
161 "set remote trace-status-packet on" before "tstatus".
163 2014-10-11 Yao Qi <yao@codesourcery.com>
165 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
166 (main): Call getppid.
167 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
168 and continue to it. Read variable "server_pid".
170 2014-10-11 Yao Qi <yao@codesourcery.com>
172 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
174 2014-10-11 Yao Qi <yao@codesourcery.com>
176 * gdb.threads/thread-find.exp: Don't execute command
178 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
179 * gdb.threads/linux-dp.exp: Don't check the condition
180 $threads_created equals to zero.
182 2014-10-10 Pedro Alves <palves@redhat.com>
184 * gdb.base/bigcore.exp: Remove references to IRIX.
185 * gdb.base/funcargs.exp: Likewise.
186 * gdb.base/interrupt.exp: Likewise.
187 * gdb.base/mips_pro.exp: Likewise.
188 * gdb.base/nodebug.exp: Likewise.
189 * gdb.base/setvar.exp: Likewise.
190 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
192 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
193 Pedro Alves <palves@redhat.com>
196 * gdb.base/vdso-warning.c: New file.
197 * gdb.base/vdso-warning.exp: New file.
199 2014-10-02 Doug Evans <dje@google.com>
201 * gdb.base/structs.c (main): Don't run forever.
203 2014-10-02 Pedro Alves <palves@redhat.com>
205 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
206 (top level) <stop threads 1, stop threads 2>: Use it.
208 2014-10-02 Pedro Alves <palves@redhat.com>
210 * gdb.threads/break-while-running.exp (test): Add new
211 'update_thread_list' argument. Skip "info threads" if false.
212 (top level): Add new 'update_thread_list' axis.
214 2014-10-02 Pedro Alves <palves@redhat.com>
217 * gdb.base/execl-update-breakpoints.c: New file.
218 * gdb.base/execl-update-breakpoints.exp: New file.
220 2014-10-01 Pedro Alves <palves@redhat.com>
222 * gdb.base/breakpoint-in-ro-region.c: New file.
223 * gdb.base/breakpoint-in-ro-region.exp: New file.
225 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
227 * gdb.mi/mi-exit-code.exp: New file.
228 * gdb.mi/mi-exit-code.c: New file.
230 2014-09-30 Yao Qi <yao@codesourcery.com>
232 * lib/prelink-support.exp (build_executable_own_libs): Error if
233 the target isn't native.
235 2014-09-30 Yao Qi <yao@codesourcery.com>
237 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
240 2014-09-22 Pedro Alves <palves@redhat.com>
242 * gdb.threads/break-while-running.exp: New file.
243 * gdb.threads/break-while-running.c: New file.
245 2014-09-19 Yao Qi <yao@codesourcery.com>
247 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
248 Invoke test. Restart GDB with --readnow and invoke test again.
250 2014-09-19 Yao Qi <yao@codesourcery.com>
252 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
253 proc set_breakpoint_on_gcd_function. Invoke
254 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
255 invoke set_breakpoint_on_gcd_function again.
257 2014-09-18 Doug Evans <dje@google.com>
259 * gdb.dwarf2/symtab-producer.exp: New file.
261 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
263 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
264 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
265 * gdb.base/global-var-nested-by-dso.c: Likewise.
266 * gdb.base/global-var-nested-by-dso.exp: Likewise.
268 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
269 Pedro Alves <palves@redhat.com>
271 * gdb.base/watch-bitfields.exp: Pass string other than test file
272 name to prepare_for_testing.
273 (watch): New procedure.
274 (expect_watchpoint): Use with_test_prefix.
275 (top level): Factor out tests to ...
276 (test_watch_location, test_regular_watch): ... these new
277 procedures, and use with_test_prefix and gdb_continue_to_end.
279 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
282 * gdb.base/watch-bitfields.exp: New file.
283 * gdb.base/watch-bitfields.c: New file.
285 2014-09-16 Pedro Alves <palves@redhat.com>
287 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
288 software and hardware addresses, not software address against
291 2014-09-16 Pedro Alves <palves@redhat.com>
293 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
294 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
296 2014-09-16 Pedro Alves <palves@redhat.com>
298 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
300 * gdb.base/a2-run.exp: Remove all code guarded by istarget
301 "*-*-vxworks*" throughout.
302 * gdb.base/break.exp: Likewise.
303 * gdb.base/default.exp: Likewise.
304 * gdb.base/scope.exp: Likewise.
305 * gdb.base/sepdebug.exp: Likewise.
306 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
308 * gdb.base/run.c: Likewise.
309 * gdb.base/sepdebug.c: Likewise.
310 * gdb.hp/gdb.aCC/run.c: Likewise.
311 * gdb.reverse/until-reverse.c: Likewise.
312 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
314 2014-09-16 Yao Qi <yao@codesourcery.com>
316 * boards/local-remote-host-native.exp: New file.
318 2014-09-14 Doug Evans <xdje42@gmail.com>
320 * gdb.threads/queue-signal.c (thread_count): New variable.
321 (thread_count_mutex, thread_count_condvar): New variables.
322 (incr_thread_count, wait_all_threads_running): New functions.
323 (main): Wait for all threads to be in their thread functions.
325 2014-09-13 Doug Evans <xdje42@gmail.com>
327 * gdb.threads/queue-signal.c: New file.
328 * gdb.threads/queue-signal.exp: New file.
330 2014-09-13 Doug Evans <xdje42@gmail.com>
332 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
333 be consistent with what default_gdb_init uses.
334 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
335 the plain text of the prompt. Add some logging printfs.
336 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
338 2014-09-12 Pedro Alves <palves@redhat.com>
340 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
341 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
342 * gdb.arch/i386-size-overlap.exp: Likewise.
343 * gdb.arch/i386-size.exp: Likewise.
344 * gdb.arch/i386-unwind.exp: Likewise.
345 * gdb.base/a2-run.exp: Likewise.
346 * gdb.base/break.exp: Likewise.
347 * gdb.base/charset.exp: Likewise.
348 * gdb.base/chng-syms.exp: Likewise.
349 * gdb.base/commands.exp: Likewise.
350 * gdb.base/dbx.exp: Likewise.
351 * gdb.base/find.exp: Likewise.
352 * gdb.base/funcargs.exp: Likewise.
353 * gdb.base/jit-simple.exp: Likewise.
354 * gdb.base/reread.exp: Likewise.
355 * gdb.base/sepdebug.exp: Likewise.
356 * gdb.base/step-bt.exp: Likewise.
357 * gdb.cp/mb-inline.exp: Likewise.
358 * gdb.cp/mb-templates.exp: Likewise.
359 * gdb.objc/basicclass.exp: Likewise.
360 * gdb.threads/killed.exp: Likewise.
362 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
365 * gdb.arch/powerpc-stackless.S: New file.
366 * gdb.arch/powerpc-stackless.exp: New file.
368 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
370 * gdb.base/attach.c: Include unistd.h.
371 (main): Call alarm. Add label postloop.
372 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
373 gdb_breakpoint, gdb_continue_to_breakpoint.
374 (test_command_line_attach_run): Kill ${testpid} in one exit path.
376 2014-09-11 Pedro Alves <palves@redhat.com>
379 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
380 * gdb.base/attach.exp (test_command_line_attach_run): New
382 (top level): Call it.
384 2014-09-11 Pedro Alves <palves@redhat.com>
386 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
387 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
388 (do_command_attach_tests): Use spawn_wait_for_attach.
389 * gdb.base/solib-overlap.exp: Likewise.
390 * gdb.multi/multi-attach.exp: Likewise.
391 * gdb.python/py-prompt.exp: Likewise.
392 * gdb.python/py-sync-interp.exp: Likewise.
393 * gdb.server/ext-attach.exp: Likewise.
395 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
397 * gdb.fortran/array-element.exp: Remove unexpected "continue"
398 command in testcase. Simplify testcase.
400 2014-09-10 Joel Brobecker <brobecker@adacore.com>
402 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
404 2014-09-10 Joel Brobecker <brobecker@adacore.com>
406 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
408 2014-09-10 Joel Brobecker <brobecker@adacore.com>
410 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
412 2014-09-10 Joel Brobecker <brobecker@adacore.com>
414 * gdb.dwarf2/dynarr-ptr.c: New file.
415 * gdb.dwarf2/dynarr-ptr.exp: New file.
417 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
419 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
420 of 30 rather than hardcoding 120 for a slow test case. Take the
421 `gdb,timeout' target setting into account for this calculation.
422 Don't extend the timeout for the test cases that don't need it.
424 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
426 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
427 a factor of 2 for a slow test case. Take the `gdb,timeout'
428 target setting into account for this calculation.
429 * gdb.reverse/until-precsave.exp: Increase the timeout by
430 a factor of 15 and 3 respectively rather than adding 120
431 for a pair of slow test cases. Take the `gdb,timeout'
432 target setting into account for this calculation.
434 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
436 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
437 timeout, don't pass one down to gdb_expect.
438 (gdb_expect): Rework timeout selection.
440 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
442 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
443 exception on timeout.
444 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
445 (gdbserver_start_extended): Catch any `gdbserver_start' error
447 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
448 * lib/mi-support.exp (mi_gdb_target_load): Catch any
449 `gdbserver_gdb_load' error exceptions.
451 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
453 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
454 120 on waiting for the TCP socket to open.
456 2014-09-09 Doug Evans <xdje42@gmail.com>
458 * gdb.base/default.exp (show_conv_list): Add _caller_is,
459 _caller_matches, _any_caller_is, _any_caller_matches.
461 2014-09-09 Doug Evans <xdje42@gmail.com>
463 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
465 2014-09-09 Yao Qi <yao@codesourcery.com>
467 * gdb.mi/mi-var-display.exp: Set print symbol off.
469 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
472 * gdb.base/commands.exp: Add tests to verify user-defined
473 commands with empty bodies.
474 * gdb.python/py-cmd.exp: Test that we don't show user-defined
475 python commands in `show user command`.
476 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
477 scheme commands in `show user command`.
479 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
482 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
483 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
484 * gdb.python/py-framefilter-invalidarg.exp: New file.
485 * gdb.python/py-framefilter-invalidarg.py: New file.
487 2014-09-06 Doug Evans <xdje42@gmail.com>
490 * gdb.python/py-caller-is.c: New file.
491 * gdb.python/py-caller-is.exp: New file.
493 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
496 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
497 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
499 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
502 * gdb.fortran/print-formatted.exp: New file.
503 * gdb.fortran/print-formatted.f90: Likewise.
505 2014-09-03 Sasha Smundak <asmundak@google.com>
507 * gdb.python/py-frame.exp: Test Frame.read_register.
509 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
512 * gdb.python/py-completion.exp: New file.
513 * gdb.python/py-completion.py: Likewise.
515 2014-08-28 Doug Evans <dje@google.com>
517 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
518 eax,etc. are live with values set by gdb and thus the compiler can't
520 * gdb.arch/i386-pseudo.c (main): Ditto.
522 2014-08-27 Doug Evans <dje@google.com>
524 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
526 2014-08-25 Doug Evans <dje@google.com>
528 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
531 2014-08-25 Doug Evans <dje@google.com>
533 * gdb.threads/thread-execl.exp: #include <stdio.h>.
535 2014-08-24 Yao Qi <yao@codesourcery.com>
537 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
539 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
541 2014-08-22 Doug Evans <dje@google.com>
544 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
545 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
546 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
548 2014-08-22 Yao Qi <yao@codesourcery.com>
550 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
551 * gdb.python/py-finish-breakpoint2.exp: Likewise.
552 * gdb.python/python.exp: Likewise. Use .py file on the host
553 instead of the build.
555 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
557 * gdb.threads/gcore-stale-thread.c: New file.
558 * gdb.threads/gcore-stale-thread.exp: New file.
560 2014-08-21 Pedro Alves <palves@redhat.com>
562 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
563 * gdb.base/gcore-relro-pie.exp: Likewise.
564 * gdb.base/gcore-relro.exp: Likewise.
565 * gdb.base/gcore.exp: Likewise.
566 * gdb.base/print-symbol-loading.exp: Likewise.
567 * gdb.threads/gcore-thread.exp: Likewise.
568 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
570 2014-08-20 Pedro Alves <palves@redhat.com>
571 Jan Kratochvil <jan.kratochvil@redhat.com>
573 * Makefile.in (EXTRA_RULES, CC): New variables, get from
575 (EXPECT): Handle READ1 being set.
576 (all): Depend on EXTRA_RULES.
577 (check-read1, expect-read1, read1.so, read1): New rules.
578 * README (Testsuite Parameters): Document the READ1 make variable.
579 (Race detection): New section.
580 * configure: Regenerate.
581 * configure.ac: If build==host==target, and running under a
582 GNU/glibc system, add read1 to the extra Makefile rules.
583 (EXTRA_RULES): AC_SUBST it.
584 * lib/read1.c: New file.
586 2014-08-20 Joel Brobecker <brobecker@adacore.com>
588 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
589 the handling of variables declared as a typedef to an array
590 which a DW_AT_data_location attribute.
592 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
593 Pedro Alves <palves@redhat.com>
597 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
600 2014-08-19 Pedro Alves <palves@redhat.com>
602 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
604 2014-08-19 Yao Qi <yao@codesourcery.com>
606 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
609 2014-08-18 David Blaikie <dblaikie@gmail.com>
611 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
613 2014-08-18 Joel Brobecker <brobecker@adacore.com>
615 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
616 attribute in array range.
618 2014-08-18 Joel Brobecker <brobecker@adacore.com>
620 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
622 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
625 * gdb.cp/pr17132.cc: New file.
626 * gdb.cp/pr17132.exp: New file.
628 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
630 * gdb.python/py-xmethods.py (A_getarrayind)
631 (E_method_char_worker.__call__, E_method_int_worker.__call__):
632 Use 'print' with function call syntax.
633 (E_method_matcher.match): Fix tab vs space indentation mixup.
635 2014-08-15 Yao Qi <yao@codesourcery.com>
637 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
640 2014-08-15 Yao Qi <yao@codesourcery.com>
642 * gdb.cp/casts.exp: Set print symbol off.
643 * gdb.cp/class2.exp: Likewise.
644 * gdb.cp/overload.exp: Likewise.
645 * gdb.cp/templates.exp: Likewise.
647 2014-08-11 Doug Evans <dje@google.com>
649 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
650 (test_load_shlib): Update.
652 2014-08-09 Yao Qi <yao@codesourcery.com>
654 * gdb.base/display.exp: Invoke is_address_zero_readable.
655 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
656 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
657 * gdb.base/hbreak-unmapped.exp: Return if
658 is_address_zero_readable returns true.
659 * gdb.base/signest.exp: Likewise.
660 * gdb.base/signull.exp: Likewise.
661 * gdb.base/sigbpt.exp: Likewise.
662 * gdb.guile/scm-disasm.exp: Do the test if
663 is_address_zero_readable returns false.
664 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
665 * gdb.python/py-arch.exp: Likewise.
666 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
667 * lib/gdb.exp (is_address_zero_readable): New proc.
669 2014-08-09 Yao Qi <yao@codesourcery.com>
672 * gdb.mi/mi-var-display.exp: Make test messages unique.
674 2014-08-04 Tom Tromey <tromey@redhat.com>
676 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
679 2014-08-04 Tom Tromey <tromey@redhat.com>
681 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
684 2014-08-01 Joel Brobecker <brobecker@adacore.com>
686 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
687 inner_vla_struct_object_size.
688 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
691 2014-07-30 Pedro Alves <palves@redhat.com>
693 * gdb.threads/signal-command-handle-nopass.exp (test): Add
696 2014-07-29 Yao Qi <yao@codesourcery.com>
699 * gdb.base/until-nodebug.exp: New.
701 2014-07-28 Doug Evans <xdje42@gmail.com>
704 * gdb.guile/scm-parameter.exp: Add tests for trying to create
705 previously existing parameter, and previously ambiguously spelled
708 2014-07-28 Will Newton <will.newton@linaro.org>
710 * gdb.base/varargs.exp: Remove KFAILs for ARM.
712 2014-07-26 Ludovic Courtès <ludo@gnu.org>
713 Doug Evans <xdje42@gmail.com>
716 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
718 2014-07-25 Pedro Alves <palves@redhat.com>
720 * gdb.threads/signal-command-handle-nopass.c: New file.
721 * gdb.threads/signal-command-handle-nopass.exp: New file.
722 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
723 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
724 * gdb.threads/signal-delivered-right-thread.c: New file.
725 * gdb.threads/signal-delivered-right-thread.exp: New file.
727 2014-07-25 Pedro Alves <palves@redhat.com>
729 * gdb.base/double-prompt-target-event-error.exp
730 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
732 (cancel_pagination_in_target_event): Rework double prompt
734 * gdb.base/paginate-after-ctrl-c-running.exp
735 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
737 * gdb.base/paginate-bg-execution.exp
738 (test_bg_execution_pagination_return)
739 (test_bg_execution_pagination_cancel): Remove '-notransfer
741 * gdb.base/paginate-execution-startup.exp
742 (test_fg_execution_pagination_return)
743 (test_fg_execution_pagination_cancel): Remove '-notransfer
745 * gdb.base/paginate-inferior-exit.exp
746 (test_paginate_inferior_exited): Remove '-notransfer <return>'
748 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
749 * lib/gdb.exp (pagination_prompt): Run text through
751 (gdb_test_multiple): Match $pagination_prompt instead of
753 (string_to_regexp): Move to lib/gdb-utils.exp.
755 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
757 * gdb.arch/amd64-entry-value-paramref.S: New file.
758 * gdb.arch/amd64-entry-value-paramref.cc: New file.
759 * gdb.arch/amd64-entry-value-paramref.exp: New file.
760 * gdb.arch/amd64-optimout-repeat.S: New file.
761 * gdb.arch/amd64-optimout-repeat.c: New file.
762 * gdb.arch/amd64-optimout-repeat.exp: New file.
764 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
767 * gdb.base/statistics.exp: New file.
769 2014-07-17 Doug Evans <dje@google.com>
772 * gdb.base/maint.exp: Update testing of per-command stats.
774 2014-07-16 Pedro Alves <palves@redhat.com>
776 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
777 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
778 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
779 (tfile_write_buf): New functions.
780 (add_memory_block): Rewrite using the above.
781 (adjust_function_address): New function.
782 (FUNCTION_ADDRESS): New macro.
783 (write_basic_trace_file): Remove short_x local, and use
784 tfile_write_16. Change type of func_addr local to unsigned long
785 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
786 here. Cast argument of add_memory_block to char pointer.
787 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
788 (main): Remove parameters.
789 * gdb.trace/tfile.exp: Remove nowarnings.
791 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
793 * gdb.base/debug-expr.exp: Test string evaluation with
794 "debug expression" on.
796 2014-07-15 Pedro Alves <palves@redhat.com>
798 * gdb.base/reread.exp: Use clean_restart.
800 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
802 * gdb.arch/avr-flash-qualifer.c: New.
803 * gdb.arch/avr-flash-qualifer.exp: New.
805 2014-07-14 Pedro Alves <palves@redhat.com>
807 * gdb.base/paginate-after-ctrl-c-running.c: New file.
808 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
810 2014-07-14 Pedro Alves <palves@redhat.com>
812 * gdb.base/double-prompt-target-event-error.c: New file.
813 * gdb.base/double-prompt-target-event-error.exp: New file.
815 2014-07-14 Pedro Alves <palves@redhat.com>
818 * gdb.base/paginate-inferior-exit.c: New file.
819 * gdb.base/paginate-inferior-exit.exp: New file.
821 2014-07-14 Pedro Alves <palves@redhat.com>
824 * gdb.base/paginate-bg-execution.c: New file.
825 * gdb.base/paginate-bg-execution.exp: New file.
827 2014-07-14 Pedro Alves <palves@redhat.com>
830 * gdb.base/paginate-execution-startup.c: New file.
831 * gdb.base/paginate-execution-startup.exp: New file.
832 * lib/gdb.exp (pagination_prompt): New global.
833 (default_gdb_spawn): New procedure, factored out from
835 (default_gdb_start): Adjust to call default_gdb_spawn.
836 (gdb_spawn): New procedure.
838 2014-07-14 Pedro Alves <palves@redhat.com>
840 * lib/gdb.exp (gdb_assert): New procedure.
841 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
843 2014-07-14 Pedro Alves <palves@redhat.com>
845 * gdb.base/execution-termios.c: New file.
846 * gdb.base/execution-termios.exp: New file.
848 2014-07-14 Tom Tromey <tromey@redhat.com>
850 * gdb.cp/vla-cxx.cc: New file.
851 * gdb.cp/vla-cxx.exp: New file.
853 2014-07-14 Tom Tromey <tromey@redhat.com>
855 * gdb.reverse/rerun-prec.c: New file.
856 * gdb.reverse/rerun-prec.exp: New file.
858 2014-07-12 Maciej W. Rozycki <macro@mips.com>
859 Maciej W. Rozycki <macro@codesourcery.com>
861 * lib/gdb-utils.exp: New file.
862 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
863 inline `gdb_init_command' processing.
864 (gdb_start_cmd): Likewise.
865 * lib/mi-support.exp (mi_run_cmd): Likewise.
866 * README: Document `gdb_init_command' and `gdb_init_commands'.
868 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
870 Fix false FAIL running under a very long directory name.
871 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
872 and "set print elements 10000". Twice.
874 2014-07-11 Yao Qi <yao@codesourcery.com>
876 * gdb.base/exprs.exp: "set print symbol off".
878 2014-07-11 Pedro Alves <palves@redhat.com>
880 * gdb.threads/kill.c: New file.
881 * gdb.threads/kill.exp: New file.
883 2014-07-10 Yao Qi <yao@codesourcery.com>
885 * gdb.trace/tfile.c (write_basic_trace_file)
886 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
887 address written to trace file.
889 2014-07-09 Pedro Alves <palves@redhat.com>
891 * gdb.base/attach-wait-input.exp: New file.
892 * gdb.base/attach-wait-input.c: New file.
894 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
896 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
897 setting up test structures.
898 (main): Call new test function.
899 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
900 test function, continue into test function and walk test
903 2014-07-02 Yao Qi <yao@codesourcery.com>
905 * gdb.trace/entry-values.c: Define labels 'foo_start' and
906 'bar_start' at the beginning of functions 'foo' and 'bar'
908 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
909 instead of 'foo' and 'bar'.
911 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
913 * gdb.btrace/segv.exp: New.
914 * gdb.btrace/segv.c: New.
916 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
918 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
921 2014-06-30 Mark Wielaard <mjw@redhat.com>
923 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
924 vulture, vilify, villar): New volatile array constants.
925 (vindictive, vegetation): New const volatile array constants.
926 * gdb.base/volatile.exp: Test volatile and const volatile array
929 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
931 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
932 target lacks support for awatch, rwatch, or hbreak.
934 2014-06-27 Yao Qi <yao@codesourcery.com>
936 * gdb.multi/dummy-frame-restore.exp: New.
937 * gdb.multi/dummy-frame-restore.c: New.
939 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
941 * gdb.btrace/gcore.exp: New.
943 2014-06-23 Pedro Alves <palves@redhat.com>
945 * gdb.base/watchpoint-reuse-slot.c: New file.
946 * gdb.base/watchpoint-reuse-slot.exp: New file.
948 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
950 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
951 progspace's filename in 'info', 'enable' and 'disable' command
954 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
956 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
957 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
958 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
960 2014-06-20 Gary Benson <gbenson@redhat.com>
962 * gdb.arch/i386-avx.exp: Fix include file location.
963 * gdb.arch/i386-sse.exp: Likewise.
965 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
967 * gdb.dlang/expression.exp: New file.
969 2014-06-19 Pedro Alves <palves@redhat.com>
971 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
973 (top level): ... here. Iterate running tests under different
974 scheduler-locking settings.
976 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
978 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
979 to DW_FORM_addr and use non-zero addresses.
981 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
984 * gdb.python/py-xmethods.cc: Add global function call counters and
985 increment them in their respective functions. Remove "cout"
987 * gdb.python/py-xmethods.exp: Make tests check the global function
988 call counters instead of depending on inferior IO.
990 2014-06-18 Don Breazeal <donb@codesourcery.com>
992 * gdb.base/foll-fork.exp (default_fork_parent_follow):
994 (explicit_fork_parent_follow): Deleted procedure.
995 (explicit_fork_child_follow): Deleted procedure.
996 (test_follow_fork): New procedure.
997 (do_fork_tests): Replace calls to deleted procedures with
998 calls to test_follow_fork and reset GDB for subsequent
1001 2014-06-17 Yao Qi <yao@codesourcery.com>
1003 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1006 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
1008 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1009 Initialize ptr and S explicitly.
1010 (skip_type_update_when_not_use_rtti_test): Likewise.
1012 2014-06-16 Keith Seitz <keiths@redhat.com>
1015 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1016 the inferior is started.
1018 2014-06-16 Pedro Alves <palves@redhat.com>
1020 * gdb.base/break-main-file-remove-fail.c: New file.
1021 * gdb.base/break-main-file-remove-fail.exp: New file.
1022 * gdb.base/break-unload-file.exp: Use build_executable instead of
1023 prepare_for_testing.
1024 (test_break): New parameter "initial_load". Handle it.
1025 (top level): Add initial_load cmdline/file axis.
1027 2014-06-12 Tom Tromey <tromey@redhat.com>
1029 * gdb.base/completion.exp: Don't use directory name in test.
1031 2014-06-09 Gary Benson <gbenson@redhat.com>
1033 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1034 separate the always-available ANSI-standard signals from the
1035 signals that require checking.
1037 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1041 2014-06-07 Keith Seitz <keiths@redhat.com>
1045 * gdb.cp/var-tag.cc: New file.
1046 * gdb.cp/var-tag.exp: New file.
1047 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1048 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1049 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1050 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1052 2014-06-06 Doug Evans <xdje42@gmail.com>
1054 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1056 2014-06-06 Pedro Alves <palves@redhat.com>
1058 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1059 in target debug output instead of looking at RSP packets,
1060 disabling the test on any target that uses hardware stepping.
1063 2014-06-06 Pedro Alves <palves@redhat.com>
1065 * gdb.base/break-unload-file.exp: Fix typo.
1067 2014-06-06 Yao Qi <yao@codesourcery.com>
1069 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1070 from "jit_function" to "^jit_function".
1072 2014-06-06 Yao Qi <yao@codesourcery.com>
1074 * gdb.base/async.c (foo): Add one statement.
1075 * gdb.base/async.exp: Get the next instruction address and
1076 match the output of "nexti" by instruction address. Match
1077 the hex address in the output of "finish".
1079 2014-06-06 Gary Benson <gbenson@redhat.com>
1081 * gdb.base/call-signals.c: Remove preprocessor conditionals
1082 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1083 SIGSEGV and SIGTERM.
1084 * gdb.base/sigall.c: Likewise.
1085 * gdb.base/unwindonsignal.c: Likewise.
1086 * gdb.reverse/sigall-reverse.c: Likewise.
1088 2014-06-06 Yao Qi <yao@codesourcery.com>
1090 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1091 readable, skip the test.
1093 2014-06-06 Yao Qi <yao@codesourcery.com>
1095 * gdb.threads/staticthreads.c (thread_function): Move the line
1096 setting breakpoint on forward.
1097 * gdb.threads/staticthreads.exp: Update comments.
1099 2014-06-05 Ludovic Courtès <ludo@gnu.org>
1101 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1102 "history-append! type error".
1104 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1106 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1107 erroneous dprintf expected input.
1109 2014-06-04 Doug Evans <xdje42@gmail.com>
1111 * gdb.guile/scm-generics.exp: Delete.
1113 2014-06-04 Doug Evans <xdje42@gmail.com>
1115 * gdb.guile/scm-breakpoint.exp: Update.
1116 Add tests for breakpoint registration.
1118 2014-06-04 Tom Tromey <tromey@redhat.com>
1120 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1122 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1123 inner_vla_struct, vla_union types. Initialize objects of those
1124 types and compute their sizes.
1126 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1127 Hui Zhu <hui@codesourcery.com>
1129 * gdb.base/fileio.exp: Add test for shell not available as well as
1131 * gdb.base/fileio.c (test_system): Check for shell twice.
1133 2014-06-04 Yao Qi <yao@codesourcery.com>
1135 * gdb.base/auto-connect-native-target.exp: Remove redundant
1136 space from the regexp pattern.
1138 2014-06-04 Yao Qi <yao@codesourcery.com>
1140 * gdb.base/default.exp: Replace "child" with "native" in
1143 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1145 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1146 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1147 * gdb.python/py-xmethods.py: Python script supporting the
1148 new testcase and tests.
1150 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1151 Pedro Alves <palves@redhat.com>
1153 PR breakpoints/17000
1154 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1155 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1157 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1159 * gdb.base/subst.exp: Add tests to verify partial path matching
1162 2014-06-03 Pedro Alves <palves@redhat.com>
1164 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1165 target that doesn't use software single-stepping.
1167 2014-06-03 Pedro Alves <palves@redhat.com>
1169 PR breakpoints/17000
1170 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1171 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1173 2014-06-02 Doug Evans <xdje42@gmail.com>
1175 * gdb.guile/scm-parameter.exp: New file.
1177 2014-06-02 Doug Evans <xdje42@gmail.com>
1179 * gdb.guile/scm-cmd.c: New file.
1180 * gdb.guile/scm-cmd.exp: New file.
1182 2014-06-02 Doug Evans <xdje42@gmail.com>
1184 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1185 pretty-printer lookup.
1186 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1187 (make-pp_s-printer): Call it.
1188 (make-pretty-printer-from-dict): New function.
1189 (lookup-pretty-printer-maker-from-dict): New function.
1190 (*pretty-printer*): Simplify.
1191 (make-objfile-pp_s-printer): New function.
1192 (install-objfile-pretty-printers!): New function.
1193 (make-progspace-pp_s-printer): New function.
1194 (install-progspace-pretty-printers!): New function.
1195 * gdb.guile/scm-progspace.c: New file.
1196 * gdb.guile/scm-progspace.exp: New file.
1198 2014-06-02 Pedro Alves <palves@redhat.com>
1200 * gdb.base/dprintf-bp-same-addr.c: New file.
1201 * gdb.base/dprintf-bp-same-addr.exp: New file.
1203 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1205 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1206 * gdb.arch/powerpc-power.s: Likewise.
1208 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1210 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1212 2014-06-01 Yao Qi <yao@codesourcery.com>
1214 * gdb.base/watchpoint.exp (test_watch_location): Check null
1215 pointer can be dereferenced. If not, do the test, otherwise
1218 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1220 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1222 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1224 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1226 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1227 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1228 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1229 * gdb.arch/amd64-invalid-stack-top.c: New file.
1230 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1232 2014-05-30 Pedro Alves <palves@redhat.com>
1234 PR breakpoints/17000
1235 * gdb.base/sss-bp-on-user-bp.c: New file.
1236 * gdb.base/sss-bp-on-user-bp.exp: New file.
1238 2014-05-30 David Blaikie <dblaikie@gmail.com>
1240 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1241 gnu_inline semantics via attribute.
1242 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1243 source explicitly specifies the required semantics.
1245 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1247 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1249 2014-05-29 Pedro Alves <palves@redhat.com>
1250 Tom Tromey <tromey@redhat.com>
1252 * gdb.base/async-shell.exp: Don't enable target-async.
1253 * gdb.base/async.exp
1254 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1256 (top level): Don't test with "target-async".
1257 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1258 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1259 * gdb.base/inferior-died.exp: Don't enable target-async.
1260 * gdb.base/interrupt-noterm.exp: Likewise.
1261 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1262 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1263 * gdb.mi/mi-nonstop.exp: Likewise.
1264 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1265 * gdb.mi/mi-nsintrall.exp: Likewise.
1266 * gdb.mi/mi-nsmoribund.exp: Likewise.
1267 * gdb.mi/mi-nsthrexec.exp: Likewise.
1268 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1269 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1270 * gdb.python/py-evsignal.exp: Don't enable target-async.
1271 * gdb.python/py-evthreads.exp: Likewise.
1272 * gdb.python/py-prompt.exp: Likewise.
1273 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1274 * gdb.server/solib-list.exp: Don't enable target-async.
1275 * gdb.threads/thread-specific-bp.exp: Likewise.
1276 * lib/mi-support.exp: Adjust to use mi-async.
1278 2014-05-29 Pedro Alves <palves@redhat.com>
1281 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1282 reason, even in sync mode.
1284 2014-05-29 Pedro Alves <palves@redhat.com>
1285 Hui Zhu <hui@codesourcery.com>
1288 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1289 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1290 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1291 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1293 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1295 * config/monitor.exp (gdb_target_monitor): Replace use of
1296 "set remotebaud" by "set serial baud".
1298 2014-05-26 Andy Wingo <wingo@igalia.com>
1300 * gdb.guile/scm-breakpoint.exp:
1301 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1302 properties instead of gdb-object-properties.
1304 2014-05-26 Yao Qi <yao@codesourcery.com>
1306 * gdb.server/no-thread-db.exp: Specify source file name
1307 explicitly when setting a breakpoint.
1309 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1311 * gdb.btrace/vdso.c: New.
1312 * gdb.btrace/vdso.exp: New.
1314 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1316 * gdb.base/gcore.exp (capture_command_output): Move ...
1317 * lib/gdb.exp (capture_command_output): ... here.
1319 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1321 * gdb.btrace/data.exp: Test memory access during btrace replay.
1323 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1325 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1327 2014-05-21 Pedro Alves <palves@redhat.com>
1330 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1331 (top level): Test that output related to execution commands is
1332 sent to the console with CLI commands, but not with MI commands.
1333 Test that breakpoint events are always mirrored to the console.
1334 Also expect the new source line to be output after a "next" in
1335 async mode too. Make it a pass/fail test.
1336 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1338 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1340 2014-05-21 Pedro Alves <palves@redhat.com>
1342 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1343 Use them to test variations of "list" after reaching a breakpoint.
1344 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1345 Test "list" with listsize 10 after reaching a breakpoint.
1346 * gdb.python/python.exp (decode_line current location line
1347 number): Adjust expected line number.
1349 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1351 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1352 behavior for $args, pass it directly to "run".
1354 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1356 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1359 2014-05-21 Pedro Alves <palves@redhat.com>
1361 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1362 auto-connect-native-target off".
1363 * gdb.base/auto-connect-native-target.c: New file.
1364 * gdb.base/auto-connect-native-target.exp: New file.
1366 2014-05-21 Pedro Alves <palves@redhat.com>
1368 * gdb.base/default.exp: Test "target native" instead of "target
1371 2014-05-21 Mark Wielaard <mjw@redhat.com>
1373 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1375 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1377 Fix TLS access for -static -pthread.
1378 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1379 <HAVE_TLS> (thread_function, main): Initialize it.
1380 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1382 <$have_tls != "">: Check TLSVAR.
1384 2014-05-21 Pedro Alves <palves@redhat.com>
1386 * gdb.base/dcache-line-read-error.c: New.
1387 * gdb.base/dcache-line-read-error.exp: New.
1389 2014-05-20 Pedro Alves <palves@redhat.com>
1391 * gdb.base/compare-sections.c: New file.
1392 * gdb.base/compare-sections.exp: New file.
1394 2014-05-20 Pedro Alves <palves@redhat.com>
1396 * gdb.base/break-idempotent.c: New file.
1397 * gdb.base/break-idempotent.exp: New file.
1399 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1401 * gdb.btrace/nohist.exp: New.
1403 2014-05-20 Yao Qi <yao@codesourcery.com>
1405 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1406 gdb.reverse directory and gdb_reverse_timeout exists in board
1408 * README: Document gdb_reverse_timeout.
1410 2014-05-20 Yao Qi <yao@codesourcery.com>
1412 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1413 'test_file_name'. Treat args as a string instead of a list.
1414 (gdb_init): Rename argument 'args' by 'test_file_name'.
1416 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1418 * gdb.arch/powerpc-power.exp: New file.
1419 * gdb.arch/powerpc-power.s: New file.
1421 2014-05-16 Doug Evans <dje@google.com>
1423 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
1424 * gdb.base/completion.exp: Check that all expected files exist
1425 before doing file completion.
1427 2014-05-16 Doug Evans <dje@google.com>
1429 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1431 (do_syscall_tests_without_xml): Update.
1433 2014-05-16 Pedro Alves <palves@redhat.com>
1435 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1436 instead of "unknown output after running".
1438 2014-05-16 Yao Qi <yao@codesourcery.com>
1440 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1441 file1.txt from host at the end.
1442 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1444 2014-05-15 Doug Evans <dje@google.com>
1446 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1447 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1448 loading file. Add test for TU lookup.
1450 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1452 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1453 calling "-exec-arguments" or "set args" before running the
1456 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1458 * lib/mi-support.exp (mi_expect_stop): Expect message for
1459 inferiors that exit with non-zero exit code.
1461 2014-05-14 Yao Qi <yao@codesourcery.com>
1463 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1464 match absolute path on remote host.
1465 (test_file_list_exec_source_files): Remove "/" from the
1468 2014-05-14 Yao Qi <yao@codesourcery.com>
1470 * boards/local-remote-host-notty.exp (${board}_file): New
1473 2014-05-07 Kyle McMartin <kyle@redhat.com>
1475 Pushed by Joel Brobecker <brobecker@adacore.com>.
1476 * gdb.arch/aarch64-atomic-inst.c: New file.
1477 * gdb.arch/aarch64-atomic-inst.exp: New file.
1479 2014-05-07 Yao Qi <yao@codesourcery.com>
1481 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1482 in current context" too.
1484 2014-05-05 Keith Seitz <keiths@redhat.com>
1486 * gdb.linespec/ls-dollar.exp: Add test for linespec
1487 file:convenience_variable.
1489 2014-05-05 Yao Qi <yao@codesourcery.com>
1491 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
1492 traceframes into tfile and ctf trace files. Read data from
1493 trace file and test collected data.
1494 (gdb_collect_locals_test): Likewise.
1495 (gdb_unavailable_registers_test): Likewise.
1496 (gdb_unavailable_floats): Likewise.
1497 (gdb_collect_globals_test): Likewise.
1498 (top-level): Append "ctf" to trace_file_targets if GDB
1501 2014-05-05 Yao Qi <yao@codesourcery.com>
1503 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
1505 (gdb_collect_args_test_1): ... it. New proc.
1506 (gdb_collect_locals_test): Move some code to ...
1507 (gdb_collect_locals_test_1): ... it. New proc.
1508 (gdb_unavailable_registers_test): Move some code to ...
1509 (gdb_unavailable_registers_test_1): ... it. New proc.
1510 (gdb_unavailable_floats): Move some code to ...
1511 (gdb_unavailable_floats_1): ... it. New proc.
1513 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1515 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
1516 probes to test for bitness recognition.
1517 * gdb.arch/amd64-stap-optional-prefix.exp
1518 (test_probe_value_without_reg): New procedure.
1519 Add code to test for different kinds of bitness.
1521 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1523 PR breakpoints/16889
1524 * gdb.arch/amd64-stap-optional-prefix.S: New file.
1525 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1527 2014-05-01 Pedro Alves <palves@redhat.com>
1529 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
1530 gdb_file_cmd if no file is specified.
1531 * boards/native-extended-gdbserver.exp (gdb_load): Use the
1532 last_loaded_file to set the remote exec-file.
1534 2014-05-01 Pedro Alves <palves@redhat.com>
1536 * boards/local-remote-host.exp: New file.
1538 2014-05-01 Pedro Alves <palves@redhat.com>
1540 * boards/local-remote-host.exp: Rename to ...
1541 * boards/local-remote-host-notty.exp: ... this.
1543 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1545 * gdb.ada/dyn_arrayidx: New testcase.
1547 2014-04-26 Yao Qi <yao@codesourcery.com>
1549 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
1550 and compute the length of function main. Save it in
1552 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
1553 (top-level): Use gdb_compile to compile objects into
1554 executable and restart GDB. Remove invocation to
1555 prepare_for_testing.
1557 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
1558 Pedro Alves <palves@redhat.com>
1561 * gdb.multi/multi-attach.c: New file.
1562 * gdb.multi/multi-attach.exp: New file.
1564 2014-04-25 Pedro Alves <palves@redhat.com>
1566 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
1568 (top level): Test that "set remote conditional-breakpoints-packet
1569 off" works as intended.
1570 * gdb.base/dprintf.exp: Test that "set remote
1571 breakpoint-commands-packet off" works as intended.
1572 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
1574 (top level): Call it.
1575 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
1576 remote fast-tracepoints-packet off" works as intended.
1577 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
1578 * lib/gdb.exp (gdb_is_target_remote): ... here.
1580 2014-04-24 David Blaikie <dblaikie@gmail.com>
1582 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
1583 ensure clang would not discard them.
1584 * gdb.base/gdbvars.c: Ditto.
1585 * gdb.base/memattr.c: Ditto.
1586 * gdb.base/whatis.c: Ditto.
1587 * gdb.python/py-prettyprint.c: Ditto.
1588 * gdb.trace/actions.c: Ditto.
1589 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
1590 ensure clang would not discard it.
1592 2014-04-24 David Blaikie <dblaikie@gmail.com>
1594 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1595 clang to emit the full definition of type required by the test
1596 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1598 2014-04-24 David Blaikie <dblaikie@gmail.com>
1600 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1601 coax Clang into emitting the definition of the type.
1602 * gdb.cp/pr10728-x.h (y): Ditto.
1603 * gdb.cp/pr10728-y.cc (y): Ditto.
1605 2014-04-24 David Blaikie <dblaikie@gmail.com>
1607 * gdb.base/label.exp: XFAIL label related tests under Clang.
1608 * gdb.cp/cplabel.exp: Ditto.
1609 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
1610 under Clang those using labels.
1612 2014-04-25 Yao Qi <yao@codesourcery.com>
1614 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
1616 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
1617 partial_label and double_label.
1619 2014-04-24 David Blaikie <dblaikie@gmail.com>
1621 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
1623 2014-04-24 David Blaikie <dblaikie@gmail.com>
1625 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
1626 of the function to work across GCC and Clang.
1627 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
1628 pointer types (const void ** const V void **).
1630 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
1631 Walfred Tedeschi <walfred.tedeschi@intel.com>
1633 * Makefile.in (EXECUTABLES): Added i386-avx512.
1634 * gdb.arch/i386-avx512.c: New file.
1635 * gdb.arch/i386-avx512.exp: Likewise.
1637 2014-04-23 Keith Seitz <keiths@redhat.com>
1639 * lib/mi-support.exp (mi_list_breakpoints): Delete.
1640 (mi_make_breakpoint_table): New procedure.
1641 (mi_create_breakpoint): Use mi_make_breakpoint
1642 and return the result.
1643 (mi_make_breakpoint): New procedure.
1644 (mi_build_kv_pairs): New procedure.
1646 * gdb.mi/mi-break.exp: Remove unused globals,
1647 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
1648 All callers updated.
1649 * gdb.mi/mi-dprintf.exp: Use variable to track command
1651 Update all callers of mi_create_breakpoint and use
1652 mi_make_breakpoint_table.
1653 Remove any unused global variables.
1654 * gdb.mi/mi-nonstop.exp: Likewise.
1655 * gdb.mi/mi-nsintrall.exp: Likewise.
1656 * gdb.mi/mi-nsmoribund.exp: Likewise.
1657 * gdb.mi/mi-nsthrexec.exp: Likewise.
1658 * gdb.mi/mi-reverse.exp: Likewise.
1659 * gdb.mi/mi-simplerun.exp: Likewise.
1660 * gdb.mi/mi-stepn.exp: Likewise.
1661 * gdb.mi/mi-syn-frame.exp: Likewise.
1662 * gdb.mi/mi-until.exp: Likewise.
1663 * gdb.mi/mi-var-cp.exp: Likewise.
1664 * gdb.mi/mi-var-display.exp: Likewise.
1665 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1666 * gdb.mi/mi2-var-child.exp: Likewise.
1667 * gdb.mi/mi-vla-c99.exp: Likewise.
1668 * lib/mi-support.exp: Likewise.
1670 From Ian Lance Taylor <iant@cygnus.com>:
1671 * lib/gdb.exp (parse_args): New procedure.
1673 2014-04-23 Pedro Alves <palves@redhat.com>
1675 * gdb.base/break-unload-file.c: New file.
1676 * gdb.base/break-unload-file.exp: New file.
1677 * gdb.base/sym-file-lib.c (baz): New function.
1678 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
1680 (load): Store the segment's mapped size.
1681 (unload): New function.
1682 (unload_shlib): New function.
1683 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
1684 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
1685 set a breakpoint at baz, and call it.
1686 * gdb.base/sym-file.exp: New tests for stale breakpoint
1689 2014-04-23 Pedro Alves <palves@redhat.com>
1691 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
1692 * gdb.base/hbreak-in-shr-unsupported.c: New file.
1693 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
1694 * gdb.base/hbreak-unmapped.c: New file.
1695 * gdb.base/hbreak-unmapped.exp: New file.
1696 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
1697 * lib/gdb.exp (gdb_is_target_remote): ... here.
1699 2014-04-22 Pedro Alves <palves@redhat.com>
1701 * gdb.base/consecutive-step-over.c: New file.
1702 * gdb.base/consecutive-step-over.exp: New file.
1704 2014-04-22 Pedro Alves <palves@redhat.com>
1706 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
1707 instead of send_gdb/gdb_expect.
1709 2014-04-22 Yao Qi <yao@codesourcery.com>
1711 * lib/trace-support.exp (generate_tracefile): New procedure.
1712 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
1714 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
1715 if generate_tracefile returns 1.
1717 2014-04-18 Tom Tromey <palves@redhat.com>
1718 Pedro alves <tromey@redhat.com>
1721 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
1722 with a backtrace limit.
1723 * gdb.python/py-frame-inline.exp: Test running to an inline
1724 function with a backtrace limit, and printing the newest frame.
1725 * gdb.python/py-frame-inline.c (main): Call f.
1727 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1729 * gdb.java/jnpe.exp: Drop srcdir from untested path.
1731 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1733 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
1734 Drop prefix from unsupported source file path.
1736 2014-04-17 Yao Qi <yao@codesourcery.com>
1738 * lib/gdb.exp (with_target_charset): New proc.
1739 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
1740 with_target_charset.
1741 (test_print_strings): Likewise.
1742 (test_repeat_bytes): Likewise.
1743 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
1746 2014-04-16 Keith Seitz <keiths@redhat.com>
1749 * gdb.dwarf2/corrupt.c: New file.
1750 * gdb.dwarf2/corrupt.exp: New file.
1752 2014-04-16 Keith Seitz <keiths@redhat.com>
1755 * gdb.cp/namelessclass.cc: New file.
1756 * gdb.cp/namelessclass.exp: New file.
1757 * gdb.cp/namelessclass.S: New file.
1759 2014-04-16 Doug Evans <dje@google.com>
1761 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
1763 (gdbserver_default_get_comm_port): New function.
1764 (gdbserver_start): Check if board file provided
1765 "gdbserver,get_comm_port" and use it if so.
1766 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
1767 (gdb,socketport): Set to "stdio".
1768 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
1769 (stdio_gdbserver_template): Delete.
1770 (${board}_get_remote_address): Update.
1771 (${board}_build_remote_cmd): Delete.
1772 (${board}_get_comm_port): New function.
1773 (${board}_spawn): Update.
1774 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
1776 (${board}_get_remote_address): Update.
1777 (${board}_get_comm_port): New function.
1779 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
1781 * gdb.base/memattr.exp: Improve regexps to handle memory regions
1782 appearing in any order.
1784 2014-04-15 Doug Evans <dje@google.com>
1786 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
1787 uninitialized value of "description".
1789 2014-04-15 Keith Seitz <keiths@redhat.com>
1791 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
1792 Remove unused globals.
1793 (test_running_the_program): Likewise.
1794 (test_controlled_execution): Likewise.
1795 (test_controlling_breakpoints): Likewise.
1796 (test_program_termination): Likewise.
1798 2014-04-15 Keith Seitz <keiths@redhat.com>
1800 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
1802 (test_rbreak_creation_and_listing): Likewise.
1803 (test_ignore_count): Likewise.
1804 (test_error): Likewise.
1806 2014-04-15 Pedro Alves <palves@redhat.com>
1808 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
1809 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
1811 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1812 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1813 to sym-file-loader.c.
1814 (struct library): Forward declare.
1815 (load_shlib, lookup_function): Change prototypes.
1816 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1817 (translate_offset): Remove declarations.
1818 (get_text_addr): New declaration.
1819 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
1820 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
1822 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1823 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1824 here from sym-file-loader.h.
1825 (struct library): New structure.
1826 (load_shlib, lookup_function): Change prototypes and adjust to
1827 work with a struct library.
1828 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1829 (translate_offset): Make static.
1830 (get_text_addr): New function.
1831 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
1833 2014-04-15 Pedro Alves <palves@redhat.com>
1835 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
1837 2014-04-15 Pedro Alves <palves@redhat.com>
1839 * gdb.base/sym-file-loader.c: Include <limits.h>.
1840 (SELF_LINK): New define.
1841 (get_origin): New function.
1842 (load_shlib): Use it.
1843 * gdb.base/sym-file.exp: Don't early return if the target is
1844 remote. Use runto_main, and issue fail is that fails. Use
1846 (shlib_name): Delete.
1847 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
1849 2014-04-15 Pedro Alves <palves@redhat.com>
1851 * gdb.base/sym-file.exp: Remove regex characters from test
1852 message. Don't refer to breakpoint numbers in test messages.
1854 2014-04-14 Keith Seitz <keiths@redhat.com>
1857 * gdb.cp/var-tag.cc: New file.
1858 * gdb.cp/var-tag.exp: New file.
1859 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1860 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1861 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1862 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1864 2014-04-14 Tom Tromey <tromey@redhat.com>
1866 * gdb.cp/classes.exp (test_enums): Handle underlying type.
1867 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
1869 * gdb.cp/enum-class.exp: New file.
1870 * gdb.cp/enum-class.cc: New file.
1872 2014-04-14 Tom Tromey <tromey@redhat.com>
1874 * gdb.dwarf2/enum-type.exp: New file.
1876 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1878 * gdb.mi/mi-vla-c99.exp: New file.
1879 * gdb.mi/vla.c: New file.
1881 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1883 * gdb.base/vla-datatypes.c: New file.
1884 * gdb.base/vla-datatypes.exp: New file.
1886 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1888 * gdb.base/vla-ptr.c: New file.
1889 * gdb.base/vla-ptr.exp: New file.
1891 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1893 * gdb.dwarf2/count.exp: New file.
1895 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1897 * gdb.base/vla-sideeffect.c: New file.
1898 * gdb.base/vla-sideeffect.exp: New file.
1900 2014-04-14 David Blaikie <dblaikie@gmail.com>
1902 * gdb.mi/non-stop.c: Add return value for non-void function return
1904 * gdb.threads/staticthreads.c: Ditto.
1906 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
1907 Doug Evans <xdje42@gmail.com>
1909 * gdb.guile/scm-value.c: Improve test case.
1910 * gdb.guile/scm-value.exp: Add new test.
1912 2014-04-11 David Blaikie <dblaikie@gmail.com>
1914 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
1915 override Clang's default.
1917 2014-04-11 Joel Brobecker <brobecker@adacore.com>
1919 Revert the following changes (regressions):
1921 * gdb.base/vla-sideeffect.c: New file.
1922 * gdb.base/vla-sideeffect.exp: New file.
1924 * gdb.dwarf2/count.exp: New file.
1926 * gdb.base/vla-multi.c: New file.
1927 * gdb.base/vla-multi.exp: New file.
1929 * gdb.base/vla-ptr.c: New file.
1930 * gdb.base/vla-ptr.exp: New file.
1932 * gdb.base/vla-datatypes.c: New file.
1933 * gdb.base/vla-datatypes.exp: New file.
1935 * gdb.mi/mi-vla-c99.exp: New file.
1936 * gdb.mi/vla.c: New file.
1938 2014-04-11 Keith Seitz <keiths@redhat.com>
1941 * gdb.cp/cpsizeof.exp: New file.
1942 * gdb.cp/cpsizeof.cc: New file.
1944 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1946 * gdb.mi/mi-vla-c99.exp: New file.
1947 * gdb.mi/vla.c: New file.
1949 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1951 * gdb.base/vla-datatypes.c: New file.
1952 * gdb.base/vla-datatypes.exp: New file.
1954 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1956 * gdb.base/vla-ptr.c: New file.
1957 * gdb.base/vla-ptr.exp: New file.
1959 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1961 * gdb.base/vla-multi.c: New file.
1962 * gdb.base/vla-multi.exp: New file.
1964 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1966 * gdb.dwarf2/count.exp: New file.
1968 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1970 * gdb.base/vla-sideeffect.c: New file.
1971 * gdb.base/vla-sideeffect.exp: New file.
1973 2014-04-11 Yao Qi <yao@codesourcery.com>
1975 * gdb.base/completion.exp: Check file exists before running tests
1978 2014-04-10 Pedro Alves <palves@redhat.com>
1980 * gdb.base/cond-eval-mode.c: New file.
1981 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
1982 prepare_for_testing to build the new file. Check result of
1984 (test_break, test_watch): New procedures.
1985 (top level): Use them.
1987 2014-04-08 Pierre Muller <muller@sourceware.org>
1989 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
1990 Ctrl-V use for mingw hosts.
1992 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
1994 * gdb.python/py-value.c: Improve test case.
1995 * gdb.python/py-value.exp: Add new test.
1997 2014-04-07 David Blaikie <dblaikie@gmail.com>
1999 * lib/compiler.c: Identify the clang compiler.
2000 * lib/compiler.cc: Ditto.
2002 2014-04-03 Yao Qi <yao@codesourcery.com>
2004 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2006 2014-04-01 Anton Blanchard <anton@samba.org>
2008 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2011 2014-04-01 Anton Blanchard <anton@samba.org>
2013 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2014 prepare_for_testing.
2016 2014-04-01 Anton Blanchard <anton@samba.org>
2018 * gdb.arch/ppc64-atomic-inst.c: Remove.
2019 * gdb.arch/ppc64-atomic-inst.S: New file.
2020 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2022 2014-03-31 Doug Evans <dje@google.com>
2024 * gdb.base/print-symbol-loading-lib.c: New file.
2025 * gdb.base/print-symbol-loading-main.c: New file.
2026 * gdb.base/print-symbol-loading.exp: New file.
2028 2014-03-31 Yao Qi <yao@codesourcery.com>
2030 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2032 2014-03-28 Joel Brobecker <brobecker@adacore.com>
2034 * gdb.ada/mi_dyn_arr: New testcase.
2036 2014-03-27 Doug Evans <dje@google.com>
2038 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2040 2014-03-27 Yao Qi <yao@codesourcery.com>
2042 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2043 if target is nios2-*-*.
2045 2014-03-26 Yao Qi <yao@codesourcery.com>
2047 * lib/gdb.exp (readline_is_used): New proc.
2048 * gdb.base/completion.exp: Move tests on command complete up.
2049 Skip the rest of tests if readline is not used.
2050 * gdb.ada/complete.exp: Skp the test if readline is not
2052 * gdb.base/filesym.exp: Likewise.
2053 * gdb.base/macscp.exp: Likewise.
2054 * gdb.base/readline-ask.exp: Likewise.
2055 * gdb.base/readline.exp: Likewise.
2056 * gdb.python/py-cmd.exp: Likewise.
2057 * gdb.trace/tfile.exp: Likewise.
2059 2014-03-26 Yao Qi <yao@codesourcery.com>
2061 * gdb.base/macscp.exp: Fix code format issues.
2063 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2065 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2066 * gdb.asm/powerpc64le.inc: New file.
2068 2014-03-25 Pedro Alves <palves@redhat.com>
2069 Doug Evans <dje@google.com>
2071 * gdb.base/source-execution.c: New file.
2072 * gdb.base/source-execution.exp: New file.
2073 * gdb.base/source-execution.gdb: New file.
2075 2014-03-24 Doug Evans <dje@google.com>
2077 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2080 2014-03-24 Hui Zhu <hui@codesourcery.com>
2081 Pedro Alves <palves@redhat.com>
2083 PR breakpoints/16101
2084 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2085 test pass/fail messages. Detect missing support for dprintf when
2086 breakpoints are actually inserted.
2087 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2088 breakpoints are actually inserted.
2089 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2092 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2094 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2096 2014-03-22 Doug Evans <xdje42@gmail.com>
2098 * gdb.python/python.exp (python not supported): Verify multi-line
2099 python command issues an error.
2100 * gdb.guile/guile.exp (guile not supported): Verify multi-line
2101 guile command issues an error.
2103 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2105 * gdb.threads/thread-specific.exp: Handle the lack of usable
2106 $this_breakpoint and $this_thread.
2108 2014-03-21 Hui Zhu <hui@codesourcery.com>
2110 * gdb.base/attach.exp (do_command_attach_tests): New.
2112 2014-03-20 Tom Tromey <tromey@redhat.com>
2113 Pedro Alves <palves@redhat.com>
2116 * gdb.base/condbreak-call-false.c: New file.
2117 * gdb.base/condbreak-call-false.exp: New file.
2119 2014-03-20 Pedro Alves <palves@redhat.com>
2121 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2123 (block_signals, unblock_signals): Delete.
2124 (child_function_2, main): Remove references to deleted variable
2127 2014-03-20 Pedro Alves <palves@redhat.com>
2129 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2130 Use pthread_kill to signal thread 2.
2131 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2132 Adjust to make the test send itself a signal rather than using the
2133 host's "kill" command.
2135 2014-03-20 Pedro Alves <palves@redhat.com>
2137 * gdb.threads/multiple-step-overs.c: New file.
2138 * gdb.threads/multiple-step-overs.exp: New file.
2139 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2140 Adjust expected infrun debug output.
2142 2014-03-20 Pedro Alves <palves@redhat.com>
2144 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2145 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2147 2014-03-20 Pedro Alves <palves@redhat.com>
2150 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2151 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2152 of gdb_test_multiple.
2153 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2154 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2156 2014-03-20 Pedro Alves <palves@redhat.com>
2158 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2159 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2161 2014-03-19 Pedro Alves <palves@redhat.com>
2163 * gdb.base/async.exp: Remove early return.
2165 2014-03-19 Pedro Alves <palves@redhat.com>
2167 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2169 2014-03-19 Pedro Alves <palves@redhat.com>
2171 * gdb.base/async.exp (test_background): Expect \r\n after
2172 "completed." in the fail pattern.
2174 2014-03-19 Pedro Alves <palves@redhat.com>
2176 * gdb.base/async.exp (test_background): New procedure.
2177 Use it for all background execution command tests.
2179 2014-03-19 Pedro Alves <palves@redhat.com>
2181 * gdb.base/async.exp: Use prepare_for_testing.
2183 2014-03-19 Pedro Alves <palves@redhat.com>
2185 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2188 2014-03-19 Pedro Alves <palves@redhat.com>
2190 * gdb.base/async.c (main): Add "jump here" and "until here" line
2192 * gdb.base/async.exp (jump_here): New global.
2193 (jump& test): Use it.
2194 (until_here): New global.
2195 (until& test): Use it.
2197 2014-03-19 Pedro Alves <palves@redhat.com>
2199 * gdb.base/async.exp: Don't frob gdb_protocol.
2201 2014-03-18 Doug Evans <xdje42@gmail.com>
2203 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2204 Fix spelling of exec-done-display.
2206 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2209 * gdb.base/gdb-sigterm.c: New file.
2210 * gdb.base/gdb-sigterm.exp: New file.
2212 2014-03-18 Pedro Alves <palves@redhat.com>
2215 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2216 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2219 2014-03-17 Joel Brobecker <brobecker@adacore.com>
2221 * gdb.ada/pckd_arr_ren: New testcase.
2223 2014-03-13 Doug Evans <xdje42@gmail.com>
2226 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2227 collect after discarding symbols.
2229 2014-03-13 Ludovic Courtès <ludo@gnu.org>
2230 Doug Evans <xdje42@gmail.com>
2232 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2233 to history survives a gc.
2235 2014-03-13 Pedro Alves <palves@redhat.com>
2237 * gdb.base/default.exp: Don't test "target procfs".
2239 2014-03-13 Pedro Alves <palves@redhat.com>
2241 * gdb.base/default.exp: Update "target child" and "target procfs"
2242 tests to not expect "Unix".
2244 2014-03-12 Tom Tromey <tromey@redhat.com>
2246 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2247 New procs. Add target-async tests.
2248 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2249 Add target-async tests.
2251 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2253 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2254 'func_start' and 'func_end' for the beginning and end of the
2255 function code, respectively.
2256 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2257 'func_end' instead of 'func' and 'main'.
2259 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2261 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2262 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2263 generate the debug info assembler source.
2265 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2267 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2268 * gdb.dwarf2/arr-subrange.exp: Likewise.
2269 * gdb.dwarf2/dwz.exp: Likewise.
2270 * gdb.dwarf2/method-ptr.exp: Likewise.
2271 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2272 * gdb.dwarf2/subrange.exp: Likewise.
2273 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2274 * gdb.dwarf2/implptrpiece.exp: Likewise.
2275 * gdb.dwarf2/nostaticblock.exp: Likewise.
2277 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2279 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2280 directory to absolute path name arguments.
2282 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2284 * gdb.ada/tagged_access: New testcase.
2286 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2288 * gdb.btrace/data.exp: Update expected output.
2290 2014-03-06 Yao Qi <yao@codesourcery.com>
2292 * gdb.trace/pr16508.exp: New file.
2294 2014-03-05 Pedro Alves <palves@redhat.com>
2297 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2299 (top level): Adjust to use it. Add tests that exercise breakpoint
2300 interaction with the code-cache.
2302 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2304 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2305 test for 'history-append!'.
2307 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2309 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2310 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2311 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2312 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2313 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2314 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2316 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2318 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2319 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2320 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2322 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2324 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2326 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2328 * gdb.dwarf2/arr-stride.c: New file.
2329 * gdb.dwarf2/arr-stride.exp: New file.
2331 2014-02-26 Pedro Alves <palves@redhat.com>
2333 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2334 that won't ever trigger. Make sure that GDB reports the correct
2335 breakpoint that caused the stop.
2337 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2340 * gdb.base/auto-load-script: New file.
2341 * gdb.base/auto-load.c: New file.
2342 * gdb.base/auto-load.exp: New file.
2345 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2347 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2349 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2350 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2352 2014-02-24 Doug Evans <dje@google.com>
2354 * lib/gdb.exp (run_on_host): Log error output if program fails.
2356 2014-02-21 Pedro Alves <palves@redhat.com>
2358 * gdb.threads/step-after-sr-lock.c: Rename to ...
2359 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2360 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2361 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2364 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2367 * gdb.arch/amd64-stap-special-operands.exp: New file.
2368 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2369 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2370 * gdb.arch/amd64-stap-triplet.S: Likewise.
2371 * gdb.arch/amd64-stap-triplet.c: Likewise.
2373 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2375 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2376 in .section pseudo-op.
2378 2014-02-20 lin zuojian <manjian2006@gmail.com>
2379 Joel Brobecker <brobecker@adacore.com>
2380 Doug Evans <xdje42@gmail.com>
2383 * gdb.dwarf2/dw2-icycle.S: New file.
2384 * gdb.dwarf2/dw2-icycle.c: New file.
2385 * gdb.dwarf2/dw2-icycle.exp: New file.
2387 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2389 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2390 operations on gdb.Value objects.
2391 * gdb.python/py-value-cc.exp: Add new test to test operations on
2394 2014-02-18 Doug Evans <dje@google.com>
2396 * Makefile.in (TESTS): New variable.
2397 (expanded_tests, expanded_tests_or_none): New variables
2398 (check-single): Pass $(expanded_tests_or_none) to runtest.
2399 (check-parallel): Only run tests in $(TESTS) if non-empty.
2400 (check/no-matching-tests-found): New rule.
2401 * README: Document TESTS makefile variable.
2403 2014-02-18 Doug Evans <dje@google.com>
2405 * Makefile.in (check-parallel): rm -rf outputs temp.
2407 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2409 Fix "ERROR: no fileid for" in the testsuite.
2410 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2412 2014-02-12 Doug Evans <dje@google.com>
2414 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2415 (MISCELLANEOUS): New variable.
2416 (clean): rm -rf $(MISCELLANEOUS).
2417 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2418 dwp live in the same directory as symlinks, with each symlink pointed
2419 to a differently named file in a different directory.
2421 2014-02-11 Doug Evans <dje@google.com>
2423 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2424 of Tcl file commands.
2426 2014-02-10 Mark Kettenis <kettenis@gnu.org>
2428 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2431 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2433 * gdb.ada/tick_length_array_enum_idx: New testcase.
2435 2014-02-10 Doug Evans <xdje42@gmail.com>
2437 * configure.ac (AC_OUTPUT): Add gdb.guile.
2438 * configure: Regenerate.
2439 * lib/gdb-guile.exp: New file.
2440 * lib/gdb.exp (get_target_charset): New function.
2441 * gdb.base/help.exp: Update expected output from "apropos apropos".
2442 * gdb.guile/Makefile.in: New file.
2443 * gdb.guile/guile.exp: New file.
2444 * gdb.guile/scm-arch.c: New file.
2445 * gdb.guile/scm-arch.exp: New file.
2446 * gdb.guile/scm-block.c: New file.
2447 * gdb.guile/scm-block.exp: New file.
2448 * gdb.guile/scm-breakpoint.c: New file.
2449 * gdb.guile/scm-breakpoint.exp: New file.
2450 * gdb.guile/scm-disasm.c: New file.
2451 * gdb.guile/scm-disasm.exp: New file.
2452 * gdb.guile/scm-equal.c: New file.
2453 * gdb.guile/scm-equal.exp: New file.
2454 * gdb.guile/scm-error.exp: New file.
2455 * gdb.guile/scm-error.scm: New file.
2456 * gdb.guile/scm-frame-args.c: New file.
2457 * gdb.guile/scm-frame-args.exp: New file.
2458 * gdb.guile/scm-frame-args.scm: New file.
2459 * gdb.guile/scm-frame-inline.c: New file.
2460 * gdb.guile/scm-frame-inline.exp: New file.
2461 * gdb.guile/scm-frame.c: New file.
2462 * gdb.guile/scm-frame.exp: New file.
2463 * gdb.guile/scm-generics.exp: New file.
2464 * gdb.guile/scm-gsmob.exp: New file.
2465 * gdb.guile/scm-iterator.c: New file.
2466 * gdb.guile/scm-iterator.exp: New file.
2467 * gdb.guile/scm-math.c: New file.
2468 * gdb.guile/scm-math.exp: New file.
2469 * gdb.guile/scm-objfile-script-gdb.in: New file.
2470 * gdb.guile/scm-objfile-script.c: New file.
2471 * gdb.guile/scm-objfile-script.exp: New file.
2472 * gdb.guile/scm-objfile.c: New file.
2473 * gdb.guile/scm-objfile.exp: New file.
2474 * gdb.guile/scm-ports.exp: New file.
2475 * gdb.guile/scm-pretty-print.c: New file.
2476 * gdb.guile/scm-pretty-print.exp: New file.
2477 * gdb.guile/scm-pretty-print.scm: New file.
2478 * gdb.guile/scm-section-script.c: New file.
2479 * gdb.guile/scm-section-script.exp: New file.
2480 * gdb.guile/scm-section-script.scm: New file.
2481 * gdb.guile/scm-symbol.c: New file.
2482 * gdb.guile/scm-symbol.exp: New file.
2483 * gdb.guile/scm-symtab-2.c: New file.
2484 * gdb.guile/scm-symtab.c: New file.
2485 * gdb.guile/scm-symtab.exp: New file.
2486 * gdb.guile/scm-type.c: New file.
2487 * gdb.guile/scm-type.exp: New file.
2488 * gdb.guile/scm-value-cc.cc: New file.
2489 * gdb.guile/scm-value-cc.exp: New file.
2490 * gdb.guile/scm-value.c: New file.
2491 * gdb.guile/scm-value.exp: New file.
2492 * gdb.guile/source2.scm: New file.
2493 * gdb.guile/types-module.cc: New file.
2494 * gdb.guile/types-module.exp: New file.
2496 2014-02-10 Yao Qi <yao@codesourcery.com>
2499 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
2500 * configure: Regenerated.
2501 * Makefile.in: New file.
2503 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2505 * gdb.python/py-framefilter.exp: Fix typo.
2507 2014-02-08 Yao Qi <yao@codesourcery.com>
2509 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
2510 that no =breakpoint-modified is emitted when breakpoints are
2511 modified through MI commands.
2513 2014-02-07 Pedro Alves <pedro@codesourcery.com>
2514 Pedro Alves <palves@redhat.com>
2516 * gdb.threads/step-after-sr-lock.c: New file.
2517 * gdb.threads/step-after-sr-lock.exp: New file.
2519 2014-02-07 Pedro Alves <palves@redhat.com>
2521 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
2523 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2525 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
2526 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
2528 2014-02-06 Doug Evans <xdje42@gmail.com>
2530 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
2533 * gdb.gdb/python-interrupts.exp: New file.
2535 2014-02-05 Yao Qi <yao@codesourcery.com>
2537 * gdb.trace/report.exp (use_collected_data): Test the output
2538 of "info threads" and "info inferiors".
2540 2014-02-05 Yao Qi <yao@codesourcery.com>
2544 2013-05-24 Yao Qi <yao@codesourcery.com>
2546 * gdb.trace/tfile.exp: Test inferior and thread.
2548 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2550 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
2552 * gdb.base/step-bt.c: Call hello via function pointer to make
2553 sure its first instruction is executed on powerpc64le-linux.
2555 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2557 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
2559 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2561 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
2562 of the test patterns for use on little-endian systems.
2564 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2566 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
2567 (decimal_vector): Fix for little-endian.
2569 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2571 * gdb.arch/sparc-sysstep.exp: New file.
2572 * gdb.arch/sparc-sysstep.c: Likewise.
2574 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
2576 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2578 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2580 2014-01-23 Tom Tromey <tromey@redhat.com>
2582 * gdb.ada/array_char_idx: New testcase.
2584 2014-01-23 Tom Tromey <tromey@redhat.com>
2587 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
2588 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2591 2014-01-23 Tom Tromey <tromey@redhat.com>
2594 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2595 string from an inferior frame.
2596 * gdb.python/py-framefilter-mi.exp: Update.
2598 2014-01-22 Doug Evans <dje@google.com>
2600 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2602 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2604 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2606 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2608 * gdb.trace/entry-values.exp: Remove excess space character from
2609 regex patterns. Handle s390 call instruction.
2611 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2613 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
2614 define "*_start" label. Make "name" static.
2615 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
2616 ${name} by references to ${name}_start.
2618 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2620 * gdb.base/info-macros.exp: Remove "debug" from the compile
2623 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2625 * gdb.dlang/demangle.exp: New file.
2627 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2629 * gdb.dlang/primitive-types.exp: New file.
2631 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2633 * configure.ac: Create gdb.dlang/Makefile.
2634 * configure: Regenerate.
2635 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
2636 * gdb.dlang/Makefile.in: New file.
2637 * lib/d-support.exp: New file.
2638 * lib/gdb.exp (skip_d_tests): New proc.
2640 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2642 * gdb.btrace/delta.exp: Check reverse stepi.
2643 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
2644 * gdb.btrace/finish.exp: New.
2645 * gdb.btrace/next.exp: New.
2646 * gdb.btrace/nexti.exp: New.
2647 * gdb.btrace/record_goto.c: Add comments.
2648 * gdb.btrace/step.exp: New.
2649 * gdb.btrace/stepi.exp: New.
2650 * gdb.btrace/multi-thread-step.c: New.
2651 * gdb.btrace/multi-thread-step.exp: New.
2652 * gdb.btrace/rn-dl-bind.c: New.
2653 * gdb.btrace/rn-dl-bind.exp: New.
2654 * gdb.btrace/data.c: New.
2655 * gdb.btrace/data.exp: New.
2656 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2658 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2660 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
2661 * gdb.btrace/exception.exp: Update.
2662 * gdb.btrace/instruction_history.exp: Update.
2663 * gdb.btrace/record_goto.exp: Update.
2664 * gdb.btrace/tailcall.exp: Update.
2665 * gdb.btrace/unknown_functions.exp: Update.
2666 * gdb.btrace/delta.exp: New.
2668 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2670 * gdb.btrace/record_goto.exp: Add backtrace test.
2671 * gdb.btrace/tailcall.exp: Add backtrace test.
2673 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2675 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
2676 * gdb.btrace/record_goto.c: New.
2677 * gdb.btrace/record_goto.exp: New.
2678 * gdb.btrace/x86-record_goto.S: New.
2680 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2682 * gdb.btrace/function_call_history.exp: Update tests.
2683 * gdb.btrace/instruction_history.exp: Update tests.
2685 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2687 * gdb.btrace/function_call_history.exp: Fix expected field
2688 order for "record function-call-history".
2689 Add new tests for "record function-call-history /c".
2690 * gdb.btrace/exception.cc: New.
2691 * gdb.btrace/exception.exp: New.
2692 * gdb.btrace/tailcall.exp: New.
2693 * gdb.btrace/x86-tailcall.S: New.
2694 * gdb.btrace/x86-tailcall.c: New.
2695 * gdb.btrace/unknown_functions.c: New.
2696 * gdb.btrace/unknown_functions.exp: New.
2697 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2699 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2701 * gdb.btrace/instruction_history.exp: Update.
2702 * gdb.btrace/function_call_history.exp: Update.
2704 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2706 * gdb.btrace/function_call_history.exp: Fix expected function
2708 * gdb.btrace/instruction_history.exp: Initialize traced.
2709 Remove traced_functions.
2711 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2713 * gdb.btrace/function_call_history.exp: Update
2714 * gdb.btrace/instruction_history.exp: Update.
2716 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2718 * gdb.btrace/enable.exp: Update expected text.
2720 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
2722 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
2725 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
2727 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
2729 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2731 * lib/gdb.exp (supports_process_record): Return true for
2732 arm*-linux*. (supports_reverse): Likewise.
2734 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
2738 * gdb.python/py-type.c: Enhance test case.
2739 * gdb.python/py-value-cc.cc: Likewise
2740 * gdb.python/py-type.exp: Add new tests.
2741 * gdb.python/py-value-cc.exp: Likewise
2743 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2744 Pedro Alves <palves@redhat.com>
2746 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
2748 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
2749 references to ${name}_start by references to ${name}.
2751 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2753 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
2755 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2757 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
2759 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
2760 Pedro Alves <palves@redhat.com>
2762 * gdb.mi/mi-info-os.exp: Connect to the target with
2765 2014-01-08 Pedro Alves <palves@redhat.com>
2767 * gdb.threads/reconnect-signal.c: New file.
2768 * gdb.threads/reconnect-signal.exp: New file.
2770 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2772 * gdb.base/source-dir.exp: New file.
2774 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2776 * gdb.ada/mi_interface: New testcase.
2778 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2780 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
2781 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
2782 gdb.ada/pp-rec-component/pck.ads: New files.
2784 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2786 * gdb.python/py-pp-integral.c: New file.
2787 * gdb.python/py-pp-integral.py: New file.
2788 * gdb.python/py-pp-integral.exp: New file.
2790 For older changes see ChangeLog-1993-2013.
2796 ;; version-control: never
2799 Copyright 2014 Free Software Foundation, Inc.
2800 Copying and distribution of this file, with or without modification,
2801 are permitted provided the copyright notice and this notice are preserved.