1 2014-10-17 Pedro Alves <palves@redhat.com>
3 * gdb.base/callfuncs.exp: emove references to osf.
4 * gdb.base/sigall.exp: Likewise.
5 * gdb.gdb/selftest.exp: Likewise.
6 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
7 * gdb.mi/non-stop.c: Likewise.
8 * gdb.mi/pthreads.c: Likewise.
9 * gdb.reverse/sigall-precsave.exp: Likewise.
10 * gdb.reverse/sigall-reverse.exp: Likewise.
11 * gdb.threads/pthreads.c: Likewise.
12 * gdb.threads/pthreads.exp: Likewise.
14 2014-10-17 Yao Qi <yao@codesourcery.com>
16 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
17 check 'target_info exists noargs'.
18 (test_command_prompt_position): Likewise.
19 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
21 (progvar_simple_while_test): Likewise.
22 (progvar_complex_if_while_test): Likewise.
23 (if_while_breakpoint_command_test): Likewise.
24 (infrun_breakpoint_command_test): Likewise.
25 (breakpoint_command_test): Likewise.
26 (watchpoint_command_test): Likewise.
27 (bp_deleted_in_command_test): Likewise.
28 (temporary_breakpoint_commands): Likewise.
30 2014-10-16 Yao Qi <yao@codesourcery.com>
32 * gdb.base/remotetimeout.exp: Remove noargs checking.
34 2014-10-15 Pedro Alves <palves@redhat.com>
37 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
38 * gdb.base/breakpoint-in-ro-region.exp
39 (probe_target_hardware_step): New procedure.
40 (top level): Probe hardware stepping and hardware breakpoint
41 support. Test stepping through a read-only region, with both
42 "breakpoint auto-hw" on and off and both "always-inserted" on and
45 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
47 * gdb.dlang/demangle.exp: Update for demangling changes.
49 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
51 * gdb.cp/non-trivial-retval.cc: Add new test cases.
52 * gdb.cp/non-trivial-retval.exp: Add new tests.
54 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
58 * gdb.cp/non-trivial-retval.cc: New file.
59 * gdb.cp/non-trivial-retval.exp: New file.
61 2014-10-15 Yao Qi <yao@codesourcery.com>
63 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
66 2014-10-15 Yao Qi <yao@codesourcery.com>
68 * gdb.python/py-symbol.exp: Match file base name if host is
69 remote, otherwise match file name with dir name.
70 * gdb.python/py-symtab.exp: Likewise.
71 * gdb.python/python.exp: Likewise.
73 2014-10-15 Yao Qi <yao@codesourcery.com>
75 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
77 * gdb.python/py-symtab.exp: Likewise.
78 * gdb.python/python.exp: Remove trailing ".*". Fix typo
81 2014-10-14 Joel Brobecker <brobecker@adacore.com>
83 * gdb.ada/addr_arith: New testcase.
85 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
87 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
88 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
89 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
90 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
92 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
94 * gdb.arch/stap-eval-lang-ada.S: Likewise.
95 * gdb.arch/stap-eval-lang-ada.c: Likewise.
96 * gdb.arch/stap-eval-lang-ada.exp: New file.
98 2014-10-14 Yao Qi <yao@codesourcery.com>
100 * gdb.mi/mi-var-child.c (nothing1): New function.
101 (nothing2): New function.
102 (do_children_tests): Set function pointers by nothing1 and
104 * gdb.mi/mi-var-child.exp: Step over new added statements.
105 Update test to match the new output.
106 * gdb.mi/var-cmd.c (nothing1): New function.
107 (nothing2): New function.
108 (do_children_tests): Set function pointers by nothing1 and
110 * gdb.mi/mi-var-display.exp: Update test to match output.
111 Step to the line specified by $line_dct_nothing.
112 Increase the number of lines to step.
114 2014-10-14 Yao Qi <yao@codesourcery.com>
116 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
118 * gdb.mi/mi2-var-child.exp: Likewise.
120 2014-10-13 Doug Evans <dje@google.com>
122 * gdb.python/py-objfile.exp: Change name of file name test.
124 2014-10-13 Doug Evans <dje@google.com>
126 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
127 from the start of the CU.
129 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
130 Yao Qi <yao@codesourcery.com>
132 Fix "save breakpoints" for "catch" command.
133 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
134 Remove -nonewline. Match also the added "main" line.
136 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
138 Fix "save breakpoints" for "disable $bpnum" command.
139 * gdb.base/save-bp.c (main): Add label.
140 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
142 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
144 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
146 2014-10-11 Yao Qi <yao@codesourcery.com>
148 * gdb.server/server-kill.exp: Execute command
149 "set remote trace-status-packet on" before "tstatus".
151 2014-10-11 Yao Qi <yao@codesourcery.com>
153 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
154 (main): Call getppid.
155 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
156 and continue to it. Read variable "server_pid".
158 2014-10-11 Yao Qi <yao@codesourcery.com>
160 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
162 2014-10-11 Yao Qi <yao@codesourcery.com>
164 * gdb.threads/thread-find.exp: Don't execute command
166 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
167 * gdb.threads/linux-dp.exp: Don't check the condition
168 $threads_created equals to zero.
170 2014-10-10 Pedro Alves <palves@redhat.com>
172 * gdb.base/bigcore.exp: Remove references to IRIX.
173 * gdb.base/funcargs.exp: Likewise.
174 * gdb.base/interrupt.exp: Likewise.
175 * gdb.base/mips_pro.exp: Likewise.
176 * gdb.base/nodebug.exp: Likewise.
177 * gdb.base/setvar.exp: Likewise.
178 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
180 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
181 Pedro Alves <palves@redhat.com>
184 * gdb.base/vdso-warning.c: New file.
185 * gdb.base/vdso-warning.exp: New file.
187 2014-10-02 Doug Evans <dje@google.com>
189 * gdb.base/structs.c (main): Don't run forever.
191 2014-10-02 Pedro Alves <palves@redhat.com>
193 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
194 (top level) <stop threads 1, stop threads 2>: Use it.
196 2014-10-02 Pedro Alves <palves@redhat.com>
198 * gdb.threads/break-while-running.exp (test): Add new
199 'update_thread_list' argument. Skip "info threads" if false.
200 (top level): Add new 'update_thread_list' axis.
202 2014-10-02 Pedro Alves <palves@redhat.com>
205 * gdb.base/execl-update-breakpoints.c: New file.
206 * gdb.base/execl-update-breakpoints.exp: New file.
208 2014-10-01 Pedro Alves <palves@redhat.com>
210 * gdb.base/breakpoint-in-ro-region.c: New file.
211 * gdb.base/breakpoint-in-ro-region.exp: New file.
213 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
215 * gdb.mi/mi-exit-code.exp: New file.
216 * gdb.mi/mi-exit-code.c: New file.
218 2014-09-30 Yao Qi <yao@codesourcery.com>
220 * lib/prelink-support.exp (build_executable_own_libs): Error if
221 the target isn't native.
223 2014-09-30 Yao Qi <yao@codesourcery.com>
225 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
228 2014-09-22 Pedro Alves <palves@redhat.com>
230 * gdb.threads/break-while-running.exp: New file.
231 * gdb.threads/break-while-running.c: New file.
233 2014-09-19 Yao Qi <yao@codesourcery.com>
235 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
236 Invoke test. Restart GDB with --readnow and invoke test again.
238 2014-09-19 Yao Qi <yao@codesourcery.com>
240 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
241 proc set_breakpoint_on_gcd_function. Invoke
242 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
243 invoke set_breakpoint_on_gcd_function again.
245 2014-09-18 Doug Evans <dje@google.com>
247 * gdb.dwarf2/symtab-producer.exp: New file.
249 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
251 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
252 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
253 * gdb.base/global-var-nested-by-dso.c: Likewise.
254 * gdb.base/global-var-nested-by-dso.exp: Likewise.
256 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
257 Pedro Alves <palves@redhat.com>
259 * gdb.base/watch-bitfields.exp: Pass string other than test file
260 name to prepare_for_testing.
261 (watch): New procedure.
262 (expect_watchpoint): Use with_test_prefix.
263 (top level): Factor out tests to ...
264 (test_watch_location, test_regular_watch): ... these new
265 procedures, and use with_test_prefix and gdb_continue_to_end.
267 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
270 * gdb.base/watch-bitfields.exp: New file.
271 * gdb.base/watch-bitfields.c: New file.
273 2014-09-16 Pedro Alves <palves@redhat.com>
275 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
276 software and hardware addresses, not software address against
279 2014-09-16 Pedro Alves <palves@redhat.com>
281 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
282 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
284 2014-09-16 Pedro Alves <palves@redhat.com>
286 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
288 * gdb.base/a2-run.exp: Remove all code guarded by istarget
289 "*-*-vxworks*" throughout.
290 * gdb.base/break.exp: Likewise.
291 * gdb.base/default.exp: Likewise.
292 * gdb.base/scope.exp: Likewise.
293 * gdb.base/sepdebug.exp: Likewise.
294 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
296 * gdb.base/run.c: Likewise.
297 * gdb.base/sepdebug.c: Likewise.
298 * gdb.hp/gdb.aCC/run.c: Likewise.
299 * gdb.reverse/until-reverse.c: Likewise.
300 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
302 2014-09-16 Yao Qi <yao@codesourcery.com>
304 * boards/local-remote-host-native.exp: New file.
306 2014-09-14 Doug Evans <xdje42@gmail.com>
308 * gdb.threads/queue-signal.c (thread_count): New variable.
309 (thread_count_mutex, thread_count_condvar): New variables.
310 (incr_thread_count, wait_all_threads_running): New functions.
311 (main): Wait for all threads to be in their thread functions.
313 2014-09-13 Doug Evans <xdje42@gmail.com>
315 * gdb.threads/queue-signal.c: New file.
316 * gdb.threads/queue-signal.exp: New file.
318 2014-09-13 Doug Evans <xdje42@gmail.com>
320 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
321 be consistent with what default_gdb_init uses.
322 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
323 the plain text of the prompt. Add some logging printfs.
324 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
326 2014-09-12 Pedro Alves <palves@redhat.com>
328 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
329 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
330 * gdb.arch/i386-size-overlap.exp: Likewise.
331 * gdb.arch/i386-size.exp: Likewise.
332 * gdb.arch/i386-unwind.exp: Likewise.
333 * gdb.base/a2-run.exp: Likewise.
334 * gdb.base/break.exp: Likewise.
335 * gdb.base/charset.exp: Likewise.
336 * gdb.base/chng-syms.exp: Likewise.
337 * gdb.base/commands.exp: Likewise.
338 * gdb.base/dbx.exp: Likewise.
339 * gdb.base/find.exp: Likewise.
340 * gdb.base/funcargs.exp: Likewise.
341 * gdb.base/jit-simple.exp: Likewise.
342 * gdb.base/reread.exp: Likewise.
343 * gdb.base/sepdebug.exp: Likewise.
344 * gdb.base/step-bt.exp: Likewise.
345 * gdb.cp/mb-inline.exp: Likewise.
346 * gdb.cp/mb-templates.exp: Likewise.
347 * gdb.objc/basicclass.exp: Likewise.
348 * gdb.threads/killed.exp: Likewise.
350 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
353 * gdb.arch/powerpc-stackless.S: New file.
354 * gdb.arch/powerpc-stackless.exp: New file.
356 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
358 * gdb.base/attach.c: Include unistd.h.
359 (main): Call alarm. Add label postloop.
360 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
361 gdb_breakpoint, gdb_continue_to_breakpoint.
362 (test_command_line_attach_run): Kill ${testpid} in one exit path.
364 2014-09-11 Pedro Alves <palves@redhat.com>
367 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
368 * gdb.base/attach.exp (test_command_line_attach_run): New
370 (top level): Call it.
372 2014-09-11 Pedro Alves <palves@redhat.com>
374 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
375 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
376 (do_command_attach_tests): Use spawn_wait_for_attach.
377 * gdb.base/solib-overlap.exp: Likewise.
378 * gdb.multi/multi-attach.exp: Likewise.
379 * gdb.python/py-prompt.exp: Likewise.
380 * gdb.python/py-sync-interp.exp: Likewise.
381 * gdb.server/ext-attach.exp: Likewise.
383 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
385 * gdb.fortran/array-element.exp: Remove unexpected "continue"
386 command in testcase. Simplify testcase.
388 2014-09-10 Joel Brobecker <brobecker@adacore.com>
390 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
392 2014-09-10 Joel Brobecker <brobecker@adacore.com>
394 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
396 2014-09-10 Joel Brobecker <brobecker@adacore.com>
398 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
400 2014-09-10 Joel Brobecker <brobecker@adacore.com>
402 * gdb.dwarf2/dynarr-ptr.c: New file.
403 * gdb.dwarf2/dynarr-ptr.exp: New file.
405 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
407 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
408 of 30 rather than hardcoding 120 for a slow test case. Take the
409 `gdb,timeout' target setting into account for this calculation.
410 Don't extend the timeout for the test cases that don't need it.
412 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
414 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
415 a factor of 2 for a slow test case. Take the `gdb,timeout'
416 target setting into account for this calculation.
417 * gdb.reverse/until-precsave.exp: Increase the timeout by
418 a factor of 15 and 3 respectively rather than adding 120
419 for a pair of slow test cases. Take the `gdb,timeout'
420 target setting into account for this calculation.
422 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
424 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
425 timeout, don't pass one down to gdb_expect.
426 (gdb_expect): Rework timeout selection.
428 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
430 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
431 exception on timeout.
432 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
433 (gdbserver_start_extended): Catch any `gdbserver_start' error
435 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
436 * lib/mi-support.exp (mi_gdb_target_load): Catch any
437 `gdbserver_gdb_load' error exceptions.
439 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
441 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
442 120 on waiting for the TCP socket to open.
444 2014-09-09 Doug Evans <xdje42@gmail.com>
446 * gdb.base/default.exp (show_conv_list): Add _caller_is,
447 _caller_matches, _any_caller_is, _any_caller_matches.
449 2014-09-09 Doug Evans <xdje42@gmail.com>
451 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
453 2014-09-09 Yao Qi <yao@codesourcery.com>
455 * gdb.mi/mi-var-display.exp: Set print symbol off.
457 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
460 * gdb.base/commands.exp: Add tests to verify user-defined
461 commands with empty bodies.
462 * gdb.python/py-cmd.exp: Test that we don't show user-defined
463 python commands in `show user command`.
464 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
465 scheme commands in `show user command`.
467 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
470 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
471 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
472 * gdb.python/py-framefilter-invalidarg.exp: New file.
473 * gdb.python/py-framefilter-invalidarg.py: New file.
475 2014-09-06 Doug Evans <xdje42@gmail.com>
478 * gdb.python/py-caller-is.c: New file.
479 * gdb.python/py-caller-is.exp: New file.
481 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
484 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
485 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
487 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
490 * gdb.fortran/print-formatted.exp: New file.
491 * gdb.fortran/print-formatted.f90: Likewise.
493 2014-09-03 Sasha Smundak <asmundak@google.com>
495 * gdb.python/py-frame.exp: Test Frame.read_register.
497 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
500 * gdb.python/py-completion.exp: New file.
501 * gdb.python/py-completion.py: Likewise.
503 2014-08-28 Doug Evans <dje@google.com>
505 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
506 eax,etc. are live with values set by gdb and thus the compiler can't
508 * gdb.arch/i386-pseudo.c (main): Ditto.
510 2014-08-27 Doug Evans <dje@google.com>
512 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
514 2014-08-25 Doug Evans <dje@google.com>
516 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
519 2014-08-25 Doug Evans <dje@google.com>
521 * gdb.threads/thread-execl.exp: #include <stdio.h>.
523 2014-08-24 Yao Qi <yao@codesourcery.com>
525 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
527 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
529 2014-08-22 Doug Evans <dje@google.com>
532 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
533 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
534 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
536 2014-08-22 Yao Qi <yao@codesourcery.com>
538 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
539 * gdb.python/py-finish-breakpoint2.exp: Likewise.
540 * gdb.python/python.exp: Likewise. Use .py file on the host
541 instead of the build.
543 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
545 * gdb.threads/gcore-stale-thread.c: New file.
546 * gdb.threads/gcore-stale-thread.exp: New file.
548 2014-08-21 Pedro Alves <palves@redhat.com>
550 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
551 * gdb.base/gcore-relro-pie.exp: Likewise.
552 * gdb.base/gcore-relro.exp: Likewise.
553 * gdb.base/gcore.exp: Likewise.
554 * gdb.base/print-symbol-loading.exp: Likewise.
555 * gdb.threads/gcore-thread.exp: Likewise.
556 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
558 2014-08-20 Pedro Alves <palves@redhat.com>
559 Jan Kratochvil <jan.kratochvil@redhat.com>
561 * Makefile.in (EXTRA_RULES, CC): New variables, get from
563 (EXPECT): Handle READ1 being set.
564 (all): Depend on EXTRA_RULES.
565 (check-read1, expect-read1, read1.so, read1): New rules.
566 * README (Testsuite Parameters): Document the READ1 make variable.
567 (Race detection): New section.
568 * configure: Regenerate.
569 * configure.ac: If build==host==target, and running under a
570 GNU/glibc system, add read1 to the extra Makefile rules.
571 (EXTRA_RULES): AC_SUBST it.
572 * lib/read1.c: New file.
574 2014-08-20 Joel Brobecker <brobecker@adacore.com>
576 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
577 the handling of variables declared as a typedef to an array
578 which a DW_AT_data_location attribute.
580 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
581 Pedro Alves <palves@redhat.com>
585 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
588 2014-08-19 Pedro Alves <palves@redhat.com>
590 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
592 2014-08-19 Yao Qi <yao@codesourcery.com>
594 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
597 2014-08-18 David Blaikie <dblaikie@gmail.com>
599 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
601 2014-08-18 Joel Brobecker <brobecker@adacore.com>
603 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
604 attribute in array range.
606 2014-08-18 Joel Brobecker <brobecker@adacore.com>
608 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
610 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
613 * gdb.cp/pr17132.cc: New file.
614 * gdb.cp/pr17132.exp: New file.
616 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
618 * gdb.python/py-xmethods.py (A_getarrayind)
619 (E_method_char_worker.__call__, E_method_int_worker.__call__):
620 Use 'print' with function call syntax.
621 (E_method_matcher.match): Fix tab vs space indentation mixup.
623 2014-08-15 Yao Qi <yao@codesourcery.com>
625 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
628 2014-08-15 Yao Qi <yao@codesourcery.com>
630 * gdb.cp/casts.exp: Set print symbol off.
631 * gdb.cp/class2.exp: Likewise.
632 * gdb.cp/overload.exp: Likewise.
633 * gdb.cp/templates.exp: Likewise.
635 2014-08-11 Doug Evans <dje@google.com>
637 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
638 (test_load_shlib): Update.
640 2014-08-09 Yao Qi <yao@codesourcery.com>
642 * gdb.base/display.exp: Invoke is_address_zero_readable.
643 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
644 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
645 * gdb.base/hbreak-unmapped.exp: Return if
646 is_address_zero_readable returns true.
647 * gdb.base/signest.exp: Likewise.
648 * gdb.base/signull.exp: Likewise.
649 * gdb.base/sigbpt.exp: Likewise.
650 * gdb.guile/scm-disasm.exp: Do the test if
651 is_address_zero_readable returns false.
652 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
653 * gdb.python/py-arch.exp: Likewise.
654 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
655 * lib/gdb.exp (is_address_zero_readable): New proc.
657 2014-08-09 Yao Qi <yao@codesourcery.com>
660 * gdb.mi/mi-var-display.exp: Make test messages unique.
662 2014-08-04 Tom Tromey <tromey@redhat.com>
664 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
667 2014-08-04 Tom Tromey <tromey@redhat.com>
669 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
672 2014-08-01 Joel Brobecker <brobecker@adacore.com>
674 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
675 inner_vla_struct_object_size.
676 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
679 2014-07-30 Pedro Alves <palves@redhat.com>
681 * gdb.threads/signal-command-handle-nopass.exp (test): Add
684 2014-07-29 Yao Qi <yao@codesourcery.com>
687 * gdb.base/until-nodebug.exp: New.
689 2014-07-28 Doug Evans <xdje42@gmail.com>
692 * gdb.guile/scm-parameter.exp: Add tests for trying to create
693 previously existing parameter, and previously ambiguously spelled
696 2014-07-28 Will Newton <will.newton@linaro.org>
698 * gdb.base/varargs.exp: Remove KFAILs for ARM.
700 2014-07-26 Ludovic Courtès <ludo@gnu.org>
701 Doug Evans <xdje42@gmail.com>
704 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
706 2014-07-25 Pedro Alves <palves@redhat.com>
708 * gdb.threads/signal-command-handle-nopass.c: New file.
709 * gdb.threads/signal-command-handle-nopass.exp: New file.
710 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
711 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
712 * gdb.threads/signal-delivered-right-thread.c: New file.
713 * gdb.threads/signal-delivered-right-thread.exp: New file.
715 2014-07-25 Pedro Alves <palves@redhat.com>
717 * gdb.base/double-prompt-target-event-error.exp
718 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
720 (cancel_pagination_in_target_event): Rework double prompt
722 * gdb.base/paginate-after-ctrl-c-running.exp
723 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
725 * gdb.base/paginate-bg-execution.exp
726 (test_bg_execution_pagination_return)
727 (test_bg_execution_pagination_cancel): Remove '-notransfer
729 * gdb.base/paginate-execution-startup.exp
730 (test_fg_execution_pagination_return)
731 (test_fg_execution_pagination_cancel): Remove '-notransfer
733 * gdb.base/paginate-inferior-exit.exp
734 (test_paginate_inferior_exited): Remove '-notransfer <return>'
736 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
737 * lib/gdb.exp (pagination_prompt): Run text through
739 (gdb_test_multiple): Match $pagination_prompt instead of
741 (string_to_regexp): Move to lib/gdb-utils.exp.
743 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
745 * gdb.arch/amd64-entry-value-paramref.S: New file.
746 * gdb.arch/amd64-entry-value-paramref.cc: New file.
747 * gdb.arch/amd64-entry-value-paramref.exp: New file.
748 * gdb.arch/amd64-optimout-repeat.S: New file.
749 * gdb.arch/amd64-optimout-repeat.c: New file.
750 * gdb.arch/amd64-optimout-repeat.exp: New file.
752 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
755 * gdb.base/statistics.exp: New file.
757 2014-07-17 Doug Evans <dje@google.com>
760 * gdb.base/maint.exp: Update testing of per-command stats.
762 2014-07-16 Pedro Alves <palves@redhat.com>
764 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
765 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
766 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
767 (tfile_write_buf): New functions.
768 (add_memory_block): Rewrite using the above.
769 (adjust_function_address): New function.
770 (FUNCTION_ADDRESS): New macro.
771 (write_basic_trace_file): Remove short_x local, and use
772 tfile_write_16. Change type of func_addr local to unsigned long
773 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
774 here. Cast argument of add_memory_block to char pointer.
775 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
776 (main): Remove parameters.
777 * gdb.trace/tfile.exp: Remove nowarnings.
779 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
781 * gdb.base/debug-expr.exp: Test string evaluation with
782 "debug expression" on.
784 2014-07-15 Pedro Alves <palves@redhat.com>
786 * gdb.base/reread.exp: Use clean_restart.
788 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
790 * gdb.arch/avr-flash-qualifer.c: New.
791 * gdb.arch/avr-flash-qualifer.exp: New.
793 2014-07-14 Pedro Alves <palves@redhat.com>
795 * gdb.base/paginate-after-ctrl-c-running.c: New file.
796 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
798 2014-07-14 Pedro Alves <palves@redhat.com>
800 * gdb.base/double-prompt-target-event-error.c: New file.
801 * gdb.base/double-prompt-target-event-error.exp: New file.
803 2014-07-14 Pedro Alves <palves@redhat.com>
806 * gdb.base/paginate-inferior-exit.c: New file.
807 * gdb.base/paginate-inferior-exit.exp: New file.
809 2014-07-14 Pedro Alves <palves@redhat.com>
812 * gdb.base/paginate-bg-execution.c: New file.
813 * gdb.base/paginate-bg-execution.exp: New file.
815 2014-07-14 Pedro Alves <palves@redhat.com>
818 * gdb.base/paginate-execution-startup.c: New file.
819 * gdb.base/paginate-execution-startup.exp: New file.
820 * lib/gdb.exp (pagination_prompt): New global.
821 (default_gdb_spawn): New procedure, factored out from
823 (default_gdb_start): Adjust to call default_gdb_spawn.
824 (gdb_spawn): New procedure.
826 2014-07-14 Pedro Alves <palves@redhat.com>
828 * lib/gdb.exp (gdb_assert): New procedure.
829 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
831 2014-07-14 Pedro Alves <palves@redhat.com>
833 * gdb.base/execution-termios.c: New file.
834 * gdb.base/execution-termios.exp: New file.
836 2014-07-14 Tom Tromey <tromey@redhat.com>
838 * gdb.cp/vla-cxx.cc: New file.
839 * gdb.cp/vla-cxx.exp: New file.
841 2014-07-14 Tom Tromey <tromey@redhat.com>
843 * gdb.reverse/rerun-prec.c: New file.
844 * gdb.reverse/rerun-prec.exp: New file.
846 2014-07-12 Maciej W. Rozycki <macro@mips.com>
847 Maciej W. Rozycki <macro@codesourcery.com>
849 * lib/gdb-utils.exp: New file.
850 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
851 inline `gdb_init_command' processing.
852 (gdb_start_cmd): Likewise.
853 * lib/mi-support.exp (mi_run_cmd): Likewise.
854 * README: Document `gdb_init_command' and `gdb_init_commands'.
856 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
858 Fix false FAIL running under a very long directory name.
859 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
860 and "set print elements 10000". Twice.
862 2014-07-11 Yao Qi <yao@codesourcery.com>
864 * gdb.base/exprs.exp: "set print symbol off".
866 2014-07-11 Pedro Alves <palves@redhat.com>
868 * gdb.threads/kill.c: New file.
869 * gdb.threads/kill.exp: New file.
871 2014-07-10 Yao Qi <yao@codesourcery.com>
873 * gdb.trace/tfile.c (write_basic_trace_file)
874 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
875 address written to trace file.
877 2014-07-09 Pedro Alves <palves@redhat.com>
879 * gdb.base/attach-wait-input.exp: New file.
880 * gdb.base/attach-wait-input.c: New file.
882 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
884 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
885 setting up test structures.
886 (main): Call new test function.
887 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
888 test function, continue into test function and walk test
891 2014-07-02 Yao Qi <yao@codesourcery.com>
893 * gdb.trace/entry-values.c: Define labels 'foo_start' and
894 'bar_start' at the beginning of functions 'foo' and 'bar'
896 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
897 instead of 'foo' and 'bar'.
899 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
901 * gdb.btrace/segv.exp: New.
902 * gdb.btrace/segv.c: New.
904 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
906 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
909 2014-06-30 Mark Wielaard <mjw@redhat.com>
911 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
912 vulture, vilify, villar): New volatile array constants.
913 (vindictive, vegetation): New const volatile array constants.
914 * gdb.base/volatile.exp: Test volatile and const volatile array
917 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
919 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
920 target lacks support for awatch, rwatch, or hbreak.
922 2014-06-27 Yao Qi <yao@codesourcery.com>
924 * gdb.multi/dummy-frame-restore.exp: New.
925 * gdb.multi/dummy-frame-restore.c: New.
927 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
929 * gdb.btrace/gcore.exp: New.
931 2014-06-23 Pedro Alves <palves@redhat.com>
933 * gdb.base/watchpoint-reuse-slot.c: New file.
934 * gdb.base/watchpoint-reuse-slot.exp: New file.
936 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
938 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
939 progspace's filename in 'info', 'enable' and 'disable' command
942 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
944 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
945 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
946 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
948 2014-06-20 Gary Benson <gbenson@redhat.com>
950 * gdb.arch/i386-avx.exp: Fix include file location.
951 * gdb.arch/i386-sse.exp: Likewise.
953 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
955 * gdb.dlang/expression.exp: New file.
957 2014-06-19 Pedro Alves <palves@redhat.com>
959 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
961 (top level): ... here. Iterate running tests under different
962 scheduler-locking settings.
964 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
966 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
967 to DW_FORM_addr and use non-zero addresses.
969 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
972 * gdb.python/py-xmethods.cc: Add global function call counters and
973 increment them in their respective functions. Remove "cout"
975 * gdb.python/py-xmethods.exp: Make tests check the global function
976 call counters instead of depending on inferior IO.
978 2014-06-18 Don Breazeal <donb@codesourcery.com>
980 * gdb.base/foll-fork.exp (default_fork_parent_follow):
982 (explicit_fork_parent_follow): Deleted procedure.
983 (explicit_fork_child_follow): Deleted procedure.
984 (test_follow_fork): New procedure.
985 (do_fork_tests): Replace calls to deleted procedures with
986 calls to test_follow_fork and reset GDB for subsequent
989 2014-06-17 Yao Qi <yao@codesourcery.com>
991 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
994 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
996 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
997 Initialize ptr and S explicitly.
998 (skip_type_update_when_not_use_rtti_test): Likewise.
1000 2014-06-16 Keith Seitz <keiths@redhat.com>
1003 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1004 the inferior is started.
1006 2014-06-16 Pedro Alves <palves@redhat.com>
1008 * gdb.base/break-main-file-remove-fail.c: New file.
1009 * gdb.base/break-main-file-remove-fail.exp: New file.
1010 * gdb.base/break-unload-file.exp: Use build_executable instead of
1011 prepare_for_testing.
1012 (test_break): New parameter "initial_load". Handle it.
1013 (top level): Add initial_load cmdline/file axis.
1015 2014-06-12 Tom Tromey <tromey@redhat.com>
1017 * gdb.base/completion.exp: Don't use directory name in test.
1019 2014-06-09 Gary Benson <gbenson@redhat.com>
1021 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1022 separate the always-available ANSI-standard signals from the
1023 signals that require checking.
1025 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1029 2014-06-07 Keith Seitz <keiths@redhat.com>
1033 * gdb.cp/var-tag.cc: New file.
1034 * gdb.cp/var-tag.exp: New file.
1035 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1036 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1037 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1038 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1040 2014-06-06 Doug Evans <xdje42@gmail.com>
1042 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1044 2014-06-06 Pedro Alves <palves@redhat.com>
1046 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1047 in target debug output instead of looking at RSP packets,
1048 disabling the test on any target that uses hardware stepping.
1051 2014-06-06 Pedro Alves <palves@redhat.com>
1053 * gdb.base/break-unload-file.exp: Fix typo.
1055 2014-06-06 Yao Qi <yao@codesourcery.com>
1057 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1058 from "jit_function" to "^jit_function".
1060 2014-06-06 Yao Qi <yao@codesourcery.com>
1062 * gdb.base/async.c (foo): Add one statement.
1063 * gdb.base/async.exp: Get the next instruction address and
1064 match the output of "nexti" by instruction address. Match
1065 the hex address in the output of "finish".
1067 2014-06-06 Gary Benson <gbenson@redhat.com>
1069 * gdb.base/call-signals.c: Remove preprocessor conditionals
1070 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1071 SIGSEGV and SIGTERM.
1072 * gdb.base/sigall.c: Likewise.
1073 * gdb.base/unwindonsignal.c: Likewise.
1074 * gdb.reverse/sigall-reverse.c: Likewise.
1076 2014-06-06 Yao Qi <yao@codesourcery.com>
1078 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1079 readable, skip the test.
1081 2014-06-06 Yao Qi <yao@codesourcery.com>
1083 * gdb.threads/staticthreads.c (thread_function): Move the line
1084 setting breakpoint on forward.
1085 * gdb.threads/staticthreads.exp: Update comments.
1087 2014-06-05 Ludovic Courtès <ludo@gnu.org>
1089 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1090 "history-append! type error".
1092 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1094 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1095 erroneous dprintf expected input.
1097 2014-06-04 Doug Evans <xdje42@gmail.com>
1099 * gdb.guile/scm-generics.exp: Delete.
1101 2014-06-04 Doug Evans <xdje42@gmail.com>
1103 * gdb.guile/scm-breakpoint.exp: Update.
1104 Add tests for breakpoint registration.
1106 2014-06-04 Tom Tromey <tromey@redhat.com>
1108 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1110 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1111 inner_vla_struct, vla_union types. Initialize objects of those
1112 types and compute their sizes.
1114 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1115 Hui Zhu <hui@codesourcery.com>
1117 * gdb.base/fileio.exp: Add test for shell not available as well as
1119 * gdb.base/fileio.c (test_system): Check for shell twice.
1121 2014-06-04 Yao Qi <yao@codesourcery.com>
1123 * gdb.base/auto-connect-native-target.exp: Remove redundant
1124 space from the regexp pattern.
1126 2014-06-04 Yao Qi <yao@codesourcery.com>
1128 * gdb.base/default.exp: Replace "child" with "native" in
1131 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1133 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1134 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1135 * gdb.python/py-xmethods.py: Python script supporting the
1136 new testcase and tests.
1138 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1139 Pedro Alves <palves@redhat.com>
1141 PR breakpoints/17000
1142 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1143 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1145 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1147 * gdb.base/subst.exp: Add tests to verify partial path matching
1150 2014-06-03 Pedro Alves <palves@redhat.com>
1152 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1153 target that doesn't use software single-stepping.
1155 2014-06-03 Pedro Alves <palves@redhat.com>
1157 PR breakpoints/17000
1158 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1159 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1161 2014-06-02 Doug Evans <xdje42@gmail.com>
1163 * gdb.guile/scm-parameter.exp: New file.
1165 2014-06-02 Doug Evans <xdje42@gmail.com>
1167 * gdb.guile/scm-cmd.c: New file.
1168 * gdb.guile/scm-cmd.exp: New file.
1170 2014-06-02 Doug Evans <xdje42@gmail.com>
1172 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1173 pretty-printer lookup.
1174 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1175 (make-pp_s-printer): Call it.
1176 (make-pretty-printer-from-dict): New function.
1177 (lookup-pretty-printer-maker-from-dict): New function.
1178 (*pretty-printer*): Simplify.
1179 (make-objfile-pp_s-printer): New function.
1180 (install-objfile-pretty-printers!): New function.
1181 (make-progspace-pp_s-printer): New function.
1182 (install-progspace-pretty-printers!): New function.
1183 * gdb.guile/scm-progspace.c: New file.
1184 * gdb.guile/scm-progspace.exp: New file.
1186 2014-06-02 Pedro Alves <palves@redhat.com>
1188 * gdb.base/dprintf-bp-same-addr.c: New file.
1189 * gdb.base/dprintf-bp-same-addr.exp: New file.
1191 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1193 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1194 * gdb.arch/powerpc-power.s: Likewise.
1196 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1198 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1200 2014-06-01 Yao Qi <yao@codesourcery.com>
1202 * gdb.base/watchpoint.exp (test_watch_location): Check null
1203 pointer can be dereferenced. If not, do the test, otherwise
1206 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1208 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1210 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1212 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1214 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1215 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1216 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1217 * gdb.arch/amd64-invalid-stack-top.c: New file.
1218 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1220 2014-05-30 Pedro Alves <palves@redhat.com>
1222 PR breakpoints/17000
1223 * gdb.base/sss-bp-on-user-bp.c: New file.
1224 * gdb.base/sss-bp-on-user-bp.exp: New file.
1226 2014-05-30 David Blaikie <dblaikie@gmail.com>
1228 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1229 gnu_inline semantics via attribute.
1230 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1231 source explicitly specifies the required semantics.
1233 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1235 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1237 2014-05-29 Pedro Alves <palves@redhat.com>
1238 Tom Tromey <tromey@redhat.com>
1240 * gdb.base/async-shell.exp: Don't enable target-async.
1241 * gdb.base/async.exp
1242 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1244 (top level): Don't test with "target-async".
1245 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1246 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1247 * gdb.base/inferior-died.exp: Don't enable target-async.
1248 * gdb.base/interrupt-noterm.exp: Likewise.
1249 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1250 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1251 * gdb.mi/mi-nonstop.exp: Likewise.
1252 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1253 * gdb.mi/mi-nsintrall.exp: Likewise.
1254 * gdb.mi/mi-nsmoribund.exp: Likewise.
1255 * gdb.mi/mi-nsthrexec.exp: Likewise.
1256 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1257 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1258 * gdb.python/py-evsignal.exp: Don't enable target-async.
1259 * gdb.python/py-evthreads.exp: Likewise.
1260 * gdb.python/py-prompt.exp: Likewise.
1261 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1262 * gdb.server/solib-list.exp: Don't enable target-async.
1263 * gdb.threads/thread-specific-bp.exp: Likewise.
1264 * lib/mi-support.exp: Adjust to use mi-async.
1266 2014-05-29 Pedro Alves <palves@redhat.com>
1269 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1270 reason, even in sync mode.
1272 2014-05-29 Pedro Alves <palves@redhat.com>
1273 Hui Zhu <hui@codesourcery.com>
1276 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1277 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1278 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1279 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1281 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1283 * config/monitor.exp (gdb_target_monitor): Replace use of
1284 "set remotebaud" by "set serial baud".
1286 2014-05-26 Andy Wingo <wingo@igalia.com>
1288 * gdb.guile/scm-breakpoint.exp:
1289 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1290 properties instead of gdb-object-properties.
1292 2014-05-26 Yao Qi <yao@codesourcery.com>
1294 * gdb.server/no-thread-db.exp: Specify source file name
1295 explicitly when setting a breakpoint.
1297 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1299 * gdb.btrace/vdso.c: New.
1300 * gdb.btrace/vdso.exp: New.
1302 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1304 * gdb.base/gcore.exp (capture_command_output): Move ...
1305 * lib/gdb.exp (capture_command_output): ... here.
1307 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1309 * gdb.btrace/data.exp: Test memory access during btrace replay.
1311 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1313 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1315 2014-05-21 Pedro Alves <palves@redhat.com>
1318 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1319 (top level): Test that output related to execution commands is
1320 sent to the console with CLI commands, but not with MI commands.
1321 Test that breakpoint events are always mirrored to the console.
1322 Also expect the new source line to be output after a "next" in
1323 async mode too. Make it a pass/fail test.
1324 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1326 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1328 2014-05-21 Pedro Alves <palves@redhat.com>
1330 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1331 Use them to test variations of "list" after reaching a breakpoint.
1332 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1333 Test "list" with listsize 10 after reaching a breakpoint.
1334 * gdb.python/python.exp (decode_line current location line
1335 number): Adjust expected line number.
1337 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1339 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1340 behavior for $args, pass it directly to "run".
1342 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1344 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1347 2014-05-21 Pedro Alves <palves@redhat.com>
1349 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1350 auto-connect-native-target off".
1351 * gdb.base/auto-connect-native-target.c: New file.
1352 * gdb.base/auto-connect-native-target.exp: New file.
1354 2014-05-21 Pedro Alves <palves@redhat.com>
1356 * gdb.base/default.exp: Test "target native" instead of "target
1359 2014-05-21 Mark Wielaard <mjw@redhat.com>
1361 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1363 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1365 Fix TLS access for -static -pthread.
1366 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1367 <HAVE_TLS> (thread_function, main): Initialize it.
1368 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1370 <$have_tls != "">: Check TLSVAR.
1372 2014-05-21 Pedro Alves <palves@redhat.com>
1374 * gdb.base/dcache-line-read-error.c: New.
1375 * gdb.base/dcache-line-read-error.exp: New.
1377 2014-05-20 Pedro Alves <palves@redhat.com>
1379 * gdb.base/compare-sections.c: New file.
1380 * gdb.base/compare-sections.exp: New file.
1382 2014-05-20 Pedro Alves <palves@redhat.com>
1384 * gdb.base/break-idempotent.c: New file.
1385 * gdb.base/break-idempotent.exp: New file.
1387 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1389 * gdb.btrace/nohist.exp: New.
1391 2014-05-20 Yao Qi <yao@codesourcery.com>
1393 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1394 gdb.reverse directory and gdb_reverse_timeout exists in board
1396 * README: Document gdb_reverse_timeout.
1398 2014-05-20 Yao Qi <yao@codesourcery.com>
1400 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1401 'test_file_name'. Treat args as a string instead of a list.
1402 (gdb_init): Rename argument 'args' by 'test_file_name'.
1404 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1406 * gdb.arch/powerpc-power.exp: New file.
1407 * gdb.arch/powerpc-power.s: New file.
1409 2014-05-16 Doug Evans <dje@google.com>
1411 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
1412 * gdb.base/completion.exp: Check that all expected files exist
1413 before doing file completion.
1415 2014-05-16 Doug Evans <dje@google.com>
1417 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1419 (do_syscall_tests_without_xml): Update.
1421 2014-05-16 Pedro Alves <palves@redhat.com>
1423 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1424 instead of "unknown output after running".
1426 2014-05-16 Yao Qi <yao@codesourcery.com>
1428 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1429 file1.txt from host at the end.
1430 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1432 2014-05-15 Doug Evans <dje@google.com>
1434 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1435 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1436 loading file. Add test for TU lookup.
1438 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1440 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1441 calling "-exec-arguments" or "set args" before running the
1444 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1446 * lib/mi-support.exp (mi_expect_stop): Expect message for
1447 inferiors that exit with non-zero exit code.
1449 2014-05-14 Yao Qi <yao@codesourcery.com>
1451 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1452 match absolute path on remote host.
1453 (test_file_list_exec_source_files): Remove "/" from the
1456 2014-05-14 Yao Qi <yao@codesourcery.com>
1458 * boards/local-remote-host-notty.exp (${board}_file): New
1461 2014-05-07 Kyle McMartin <kyle@redhat.com>
1463 Pushed by Joel Brobecker <brobecker@adacore.com>.
1464 * gdb.arch/aarch64-atomic-inst.c: New file.
1465 * gdb.arch/aarch64-atomic-inst.exp: New file.
1467 2014-05-07 Yao Qi <yao@codesourcery.com>
1469 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1470 in current context" too.
1472 2014-05-05 Keith Seitz <keiths@redhat.com>
1474 * gdb.linespec/ls-dollar.exp: Add test for linespec
1475 file:convenience_variable.
1477 2014-05-05 Yao Qi <yao@codesourcery.com>
1479 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
1480 traceframes into tfile and ctf trace files. Read data from
1481 trace file and test collected data.
1482 (gdb_collect_locals_test): Likewise.
1483 (gdb_unavailable_registers_test): Likewise.
1484 (gdb_unavailable_floats): Likewise.
1485 (gdb_collect_globals_test): Likewise.
1486 (top-level): Append "ctf" to trace_file_targets if GDB
1489 2014-05-05 Yao Qi <yao@codesourcery.com>
1491 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
1493 (gdb_collect_args_test_1): ... it. New proc.
1494 (gdb_collect_locals_test): Move some code to ...
1495 (gdb_collect_locals_test_1): ... it. New proc.
1496 (gdb_unavailable_registers_test): Move some code to ...
1497 (gdb_unavailable_registers_test_1): ... it. New proc.
1498 (gdb_unavailable_floats): Move some code to ...
1499 (gdb_unavailable_floats_1): ... it. New proc.
1501 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1503 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
1504 probes to test for bitness recognition.
1505 * gdb.arch/amd64-stap-optional-prefix.exp
1506 (test_probe_value_without_reg): New procedure.
1507 Add code to test for different kinds of bitness.
1509 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1511 PR breakpoints/16889
1512 * gdb.arch/amd64-stap-optional-prefix.S: New file.
1513 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1515 2014-05-01 Pedro Alves <palves@redhat.com>
1517 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
1518 gdb_file_cmd if no file is specified.
1519 * boards/native-extended-gdbserver.exp (gdb_load): Use the
1520 last_loaded_file to set the remote exec-file.
1522 2014-05-01 Pedro Alves <palves@redhat.com>
1524 * boards/local-remote-host.exp: New file.
1526 2014-05-01 Pedro Alves <palves@redhat.com>
1528 * boards/local-remote-host.exp: Rename to ...
1529 * boards/local-remote-host-notty.exp: ... this.
1531 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1533 * gdb.ada/dyn_arrayidx: New testcase.
1535 2014-04-26 Yao Qi <yao@codesourcery.com>
1537 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
1538 and compute the length of function main. Save it in
1540 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
1541 (top-level): Use gdb_compile to compile objects into
1542 executable and restart GDB. Remove invocation to
1543 prepare_for_testing.
1545 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
1546 Pedro Alves <palves@redhat.com>
1549 * gdb.multi/multi-attach.c: New file.
1550 * gdb.multi/multi-attach.exp: New file.
1552 2014-04-25 Pedro Alves <palves@redhat.com>
1554 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
1556 (top level): Test that "set remote conditional-breakpoints-packet
1557 off" works as intended.
1558 * gdb.base/dprintf.exp: Test that "set remote
1559 breakpoint-commands-packet off" works as intended.
1560 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
1562 (top level): Call it.
1563 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
1564 remote fast-tracepoints-packet off" works as intended.
1565 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
1566 * lib/gdb.exp (gdb_is_target_remote): ... here.
1568 2014-04-24 David Blaikie <dblaikie@gmail.com>
1570 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
1571 ensure clang would not discard them.
1572 * gdb.base/gdbvars.c: Ditto.
1573 * gdb.base/memattr.c: Ditto.
1574 * gdb.base/whatis.c: Ditto.
1575 * gdb.python/py-prettyprint.c: Ditto.
1576 * gdb.trace/actions.c: Ditto.
1577 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
1578 ensure clang would not discard it.
1580 2014-04-24 David Blaikie <dblaikie@gmail.com>
1582 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1583 clang to emit the full definition of type required by the test
1584 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1586 2014-04-24 David Blaikie <dblaikie@gmail.com>
1588 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1589 coax Clang into emitting the definition of the type.
1590 * gdb.cp/pr10728-x.h (y): Ditto.
1591 * gdb.cp/pr10728-y.cc (y): Ditto.
1593 2014-04-24 David Blaikie <dblaikie@gmail.com>
1595 * gdb.base/label.exp: XFAIL label related tests under Clang.
1596 * gdb.cp/cplabel.exp: Ditto.
1597 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
1598 under Clang those using labels.
1600 2014-04-25 Yao Qi <yao@codesourcery.com>
1602 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
1604 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
1605 partial_label and double_label.
1607 2014-04-24 David Blaikie <dblaikie@gmail.com>
1609 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
1611 2014-04-24 David Blaikie <dblaikie@gmail.com>
1613 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
1614 of the function to work across GCC and Clang.
1615 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
1616 pointer types (const void ** const V void **).
1618 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
1619 Walfred Tedeschi <walfred.tedeschi@intel.com>
1621 * Makefile.in (EXECUTABLES): Added i386-avx512.
1622 * gdb.arch/i386-avx512.c: New file.
1623 * gdb.arch/i386-avx512.exp: Likewise.
1625 2014-04-23 Keith Seitz <keiths@redhat.com>
1627 * lib/mi-support.exp (mi_list_breakpoints): Delete.
1628 (mi_make_breakpoint_table): New procedure.
1629 (mi_create_breakpoint): Use mi_make_breakpoint
1630 and return the result.
1631 (mi_make_breakpoint): New procedure.
1632 (mi_build_kv_pairs): New procedure.
1634 * gdb.mi/mi-break.exp: Remove unused globals,
1635 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
1636 All callers updated.
1637 * gdb.mi/mi-dprintf.exp: Use variable to track command
1639 Update all callers of mi_create_breakpoint and use
1640 mi_make_breakpoint_table.
1641 Remove any unused global variables.
1642 * gdb.mi/mi-nonstop.exp: Likewise.
1643 * gdb.mi/mi-nsintrall.exp: Likewise.
1644 * gdb.mi/mi-nsmoribund.exp: Likewise.
1645 * gdb.mi/mi-nsthrexec.exp: Likewise.
1646 * gdb.mi/mi-reverse.exp: Likewise.
1647 * gdb.mi/mi-simplerun.exp: Likewise.
1648 * gdb.mi/mi-stepn.exp: Likewise.
1649 * gdb.mi/mi-syn-frame.exp: Likewise.
1650 * gdb.mi/mi-until.exp: Likewise.
1651 * gdb.mi/mi-var-cp.exp: Likewise.
1652 * gdb.mi/mi-var-display.exp: Likewise.
1653 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1654 * gdb.mi/mi2-var-child.exp: Likewise.
1655 * gdb.mi/mi-vla-c99.exp: Likewise.
1656 * lib/mi-support.exp: Likewise.
1658 From Ian Lance Taylor <iant@cygnus.com>:
1659 * lib/gdb.exp (parse_args): New procedure.
1661 2014-04-23 Pedro Alves <palves@redhat.com>
1663 * gdb.base/break-unload-file.c: New file.
1664 * gdb.base/break-unload-file.exp: New file.
1665 * gdb.base/sym-file-lib.c (baz): New function.
1666 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
1668 (load): Store the segment's mapped size.
1669 (unload): New function.
1670 (unload_shlib): New function.
1671 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
1672 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
1673 set a breakpoint at baz, and call it.
1674 * gdb.base/sym-file.exp: New tests for stale breakpoint
1677 2014-04-23 Pedro Alves <palves@redhat.com>
1679 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
1680 * gdb.base/hbreak-in-shr-unsupported.c: New file.
1681 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
1682 * gdb.base/hbreak-unmapped.c: New file.
1683 * gdb.base/hbreak-unmapped.exp: New file.
1684 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
1685 * lib/gdb.exp (gdb_is_target_remote): ... here.
1687 2014-04-22 Pedro Alves <palves@redhat.com>
1689 * gdb.base/consecutive-step-over.c: New file.
1690 * gdb.base/consecutive-step-over.exp: New file.
1692 2014-04-22 Pedro Alves <palves@redhat.com>
1694 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
1695 instead of send_gdb/gdb_expect.
1697 2014-04-22 Yao Qi <yao@codesourcery.com>
1699 * lib/trace-support.exp (generate_tracefile): New procedure.
1700 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
1702 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
1703 if generate_tracefile returns 1.
1705 2014-04-18 Tom Tromey <palves@redhat.com>
1706 Pedro alves <tromey@redhat.com>
1709 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
1710 with a backtrace limit.
1711 * gdb.python/py-frame-inline.exp: Test running to an inline
1712 function with a backtrace limit, and printing the newest frame.
1713 * gdb.python/py-frame-inline.c (main): Call f.
1715 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1717 * gdb.java/jnpe.exp: Drop srcdir from untested path.
1719 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1721 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
1722 Drop prefix from unsupported source file path.
1724 2014-04-17 Yao Qi <yao@codesourcery.com>
1726 * lib/gdb.exp (with_target_charset): New proc.
1727 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
1728 with_target_charset.
1729 (test_print_strings): Likewise.
1730 (test_repeat_bytes): Likewise.
1731 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
1734 2014-04-16 Keith Seitz <keiths@redhat.com>
1737 * gdb.dwarf2/corrupt.c: New file.
1738 * gdb.dwarf2/corrupt.exp: New file.
1740 2014-04-16 Keith Seitz <keiths@redhat.com>
1743 * gdb.cp/namelessclass.cc: New file.
1744 * gdb.cp/namelessclass.exp: New file.
1745 * gdb.cp/namelessclass.S: New file.
1747 2014-04-16 Doug Evans <dje@google.com>
1749 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
1751 (gdbserver_default_get_comm_port): New function.
1752 (gdbserver_start): Check if board file provided
1753 "gdbserver,get_comm_port" and use it if so.
1754 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
1755 (gdb,socketport): Set to "stdio".
1756 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
1757 (stdio_gdbserver_template): Delete.
1758 (${board}_get_remote_address): Update.
1759 (${board}_build_remote_cmd): Delete.
1760 (${board}_get_comm_port): New function.
1761 (${board}_spawn): Update.
1762 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
1764 (${board}_get_remote_address): Update.
1765 (${board}_get_comm_port): New function.
1767 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
1769 * gdb.base/memattr.exp: Improve regexps to handle memory regions
1770 appearing in any order.
1772 2014-04-15 Doug Evans <dje@google.com>
1774 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
1775 uninitialized value of "description".
1777 2014-04-15 Keith Seitz <keiths@redhat.com>
1779 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
1780 Remove unused globals.
1781 (test_running_the_program): Likewise.
1782 (test_controlled_execution): Likewise.
1783 (test_controlling_breakpoints): Likewise.
1784 (test_program_termination): Likewise.
1786 2014-04-15 Keith Seitz <keiths@redhat.com>
1788 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
1790 (test_rbreak_creation_and_listing): Likewise.
1791 (test_ignore_count): Likewise.
1792 (test_error): Likewise.
1794 2014-04-15 Pedro Alves <palves@redhat.com>
1796 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
1797 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
1799 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1800 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1801 to sym-file-loader.c.
1802 (struct library): Forward declare.
1803 (load_shlib, lookup_function): Change prototypes.
1804 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1805 (translate_offset): Remove declarations.
1806 (get_text_addr): New declaration.
1807 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
1808 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
1810 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1811 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1812 here from sym-file-loader.h.
1813 (struct library): New structure.
1814 (load_shlib, lookup_function): Change prototypes and adjust to
1815 work with a struct library.
1816 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1817 (translate_offset): Make static.
1818 (get_text_addr): New function.
1819 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
1821 2014-04-15 Pedro Alves <palves@redhat.com>
1823 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
1825 2014-04-15 Pedro Alves <palves@redhat.com>
1827 * gdb.base/sym-file-loader.c: Include <limits.h>.
1828 (SELF_LINK): New define.
1829 (get_origin): New function.
1830 (load_shlib): Use it.
1831 * gdb.base/sym-file.exp: Don't early return if the target is
1832 remote. Use runto_main, and issue fail is that fails. Use
1834 (shlib_name): Delete.
1835 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
1837 2014-04-15 Pedro Alves <palves@redhat.com>
1839 * gdb.base/sym-file.exp: Remove regex characters from test
1840 message. Don't refer to breakpoint numbers in test messages.
1842 2014-04-14 Keith Seitz <keiths@redhat.com>
1845 * gdb.cp/var-tag.cc: New file.
1846 * gdb.cp/var-tag.exp: New file.
1847 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1848 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1849 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1850 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1852 2014-04-14 Tom Tromey <tromey@redhat.com>
1854 * gdb.cp/classes.exp (test_enums): Handle underlying type.
1855 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
1857 * gdb.cp/enum-class.exp: New file.
1858 * gdb.cp/enum-class.cc: New file.
1860 2014-04-14 Tom Tromey <tromey@redhat.com>
1862 * gdb.dwarf2/enum-type.exp: New file.
1864 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1866 * gdb.mi/mi-vla-c99.exp: New file.
1867 * gdb.mi/vla.c: New file.
1869 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1871 * gdb.base/vla-datatypes.c: New file.
1872 * gdb.base/vla-datatypes.exp: New file.
1874 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1876 * gdb.base/vla-ptr.c: New file.
1877 * gdb.base/vla-ptr.exp: New file.
1879 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1881 * gdb.dwarf2/count.exp: New file.
1883 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1885 * gdb.base/vla-sideeffect.c: New file.
1886 * gdb.base/vla-sideeffect.exp: New file.
1888 2014-04-14 David Blaikie <dblaikie@gmail.com>
1890 * gdb.mi/non-stop.c: Add return value for non-void function return
1892 * gdb.threads/staticthreads.c: Ditto.
1894 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
1895 Doug Evans <xdje42@gmail.com>
1897 * gdb.guile/scm-value.c: Improve test case.
1898 * gdb.guile/scm-value.exp: Add new test.
1900 2014-04-11 David Blaikie <dblaikie@gmail.com>
1902 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
1903 override Clang's default.
1905 2014-04-11 Joel Brobecker <brobecker@adacore.com>
1907 Revert the following changes (regressions):
1909 * gdb.base/vla-sideeffect.c: New file.
1910 * gdb.base/vla-sideeffect.exp: New file.
1912 * gdb.dwarf2/count.exp: New file.
1914 * gdb.base/vla-multi.c: New file.
1915 * gdb.base/vla-multi.exp: New file.
1917 * gdb.base/vla-ptr.c: New file.
1918 * gdb.base/vla-ptr.exp: New file.
1920 * gdb.base/vla-datatypes.c: New file.
1921 * gdb.base/vla-datatypes.exp: New file.
1923 * gdb.mi/mi-vla-c99.exp: New file.
1924 * gdb.mi/vla.c: New file.
1926 2014-04-11 Keith Seitz <keiths@redhat.com>
1929 * gdb.cp/cpsizeof.exp: New file.
1930 * gdb.cp/cpsizeof.cc: New file.
1932 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1934 * gdb.mi/mi-vla-c99.exp: New file.
1935 * gdb.mi/vla.c: New file.
1937 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1939 * gdb.base/vla-datatypes.c: New file.
1940 * gdb.base/vla-datatypes.exp: New file.
1942 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1944 * gdb.base/vla-ptr.c: New file.
1945 * gdb.base/vla-ptr.exp: New file.
1947 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1949 * gdb.base/vla-multi.c: New file.
1950 * gdb.base/vla-multi.exp: New file.
1952 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1954 * gdb.dwarf2/count.exp: New file.
1956 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1958 * gdb.base/vla-sideeffect.c: New file.
1959 * gdb.base/vla-sideeffect.exp: New file.
1961 2014-04-11 Yao Qi <yao@codesourcery.com>
1963 * gdb.base/completion.exp: Check file exists before running tests
1966 2014-04-10 Pedro Alves <palves@redhat.com>
1968 * gdb.base/cond-eval-mode.c: New file.
1969 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
1970 prepare_for_testing to build the new file. Check result of
1972 (test_break, test_watch): New procedures.
1973 (top level): Use them.
1975 2014-04-08 Pierre Muller <muller@sourceware.org>
1977 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
1978 Ctrl-V use for mingw hosts.
1980 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
1982 * gdb.python/py-value.c: Improve test case.
1983 * gdb.python/py-value.exp: Add new test.
1985 2014-04-07 David Blaikie <dblaikie@gmail.com>
1987 * lib/compiler.c: Identify the clang compiler.
1988 * lib/compiler.cc: Ditto.
1990 2014-04-03 Yao Qi <yao@codesourcery.com>
1992 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
1994 2014-04-01 Anton Blanchard <anton@samba.org>
1996 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
1999 2014-04-01 Anton Blanchard <anton@samba.org>
2001 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2002 prepare_for_testing.
2004 2014-04-01 Anton Blanchard <anton@samba.org>
2006 * gdb.arch/ppc64-atomic-inst.c: Remove.
2007 * gdb.arch/ppc64-atomic-inst.S: New file.
2008 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2010 2014-03-31 Doug Evans <dje@google.com>
2012 * gdb.base/print-symbol-loading-lib.c: New file.
2013 * gdb.base/print-symbol-loading-main.c: New file.
2014 * gdb.base/print-symbol-loading.exp: New file.
2016 2014-03-31 Yao Qi <yao@codesourcery.com>
2018 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2020 2014-03-28 Joel Brobecker <brobecker@adacore.com>
2022 * gdb.ada/mi_dyn_arr: New testcase.
2024 2014-03-27 Doug Evans <dje@google.com>
2026 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2028 2014-03-27 Yao Qi <yao@codesourcery.com>
2030 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2031 if target is nios2-*-*.
2033 2014-03-26 Yao Qi <yao@codesourcery.com>
2035 * lib/gdb.exp (readline_is_used): New proc.
2036 * gdb.base/completion.exp: Move tests on command complete up.
2037 Skip the rest of tests if readline is not used.
2038 * gdb.ada/complete.exp: Skp the test if readline is not
2040 * gdb.base/filesym.exp: Likewise.
2041 * gdb.base/macscp.exp: Likewise.
2042 * gdb.base/readline-ask.exp: Likewise.
2043 * gdb.base/readline.exp: Likewise.
2044 * gdb.python/py-cmd.exp: Likewise.
2045 * gdb.trace/tfile.exp: Likewise.
2047 2014-03-26 Yao Qi <yao@codesourcery.com>
2049 * gdb.base/macscp.exp: Fix code format issues.
2051 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2053 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2054 * gdb.asm/powerpc64le.inc: New file.
2056 2014-03-25 Pedro Alves <palves@redhat.com>
2057 Doug Evans <dje@google.com>
2059 * gdb.base/source-execution.c: New file.
2060 * gdb.base/source-execution.exp: New file.
2061 * gdb.base/source-execution.gdb: New file.
2063 2014-03-24 Doug Evans <dje@google.com>
2065 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2068 2014-03-24 Hui Zhu <hui@codesourcery.com>
2069 Pedro Alves <palves@redhat.com>
2071 PR breakpoints/16101
2072 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2073 test pass/fail messages. Detect missing support for dprintf when
2074 breakpoints are actually inserted.
2075 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2076 breakpoints are actually inserted.
2077 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2080 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2082 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2084 2014-03-22 Doug Evans <xdje42@gmail.com>
2086 * gdb.python/python.exp (python not supported): Verify multi-line
2087 python command issues an error.
2088 * gdb.guile/guile.exp (guile not supported): Verify multi-line
2089 guile command issues an error.
2091 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2093 * gdb.threads/thread-specific.exp: Handle the lack of usable
2094 $this_breakpoint and $this_thread.
2096 2014-03-21 Hui Zhu <hui@codesourcery.com>
2098 * gdb.base/attach.exp (do_command_attach_tests): New.
2100 2014-03-20 Tom Tromey <tromey@redhat.com>
2101 Pedro Alves <palves@redhat.com>
2104 * gdb.base/condbreak-call-false.c: New file.
2105 * gdb.base/condbreak-call-false.exp: New file.
2107 2014-03-20 Pedro Alves <palves@redhat.com>
2109 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2111 (block_signals, unblock_signals): Delete.
2112 (child_function_2, main): Remove references to deleted variable
2115 2014-03-20 Pedro Alves <palves@redhat.com>
2117 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2118 Use pthread_kill to signal thread 2.
2119 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2120 Adjust to make the test send itself a signal rather than using the
2121 host's "kill" command.
2123 2014-03-20 Pedro Alves <palves@redhat.com>
2125 * gdb.threads/multiple-step-overs.c: New file.
2126 * gdb.threads/multiple-step-overs.exp: New file.
2127 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2128 Adjust expected infrun debug output.
2130 2014-03-20 Pedro Alves <palves@redhat.com>
2132 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2133 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2135 2014-03-20 Pedro Alves <palves@redhat.com>
2138 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2139 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2140 of gdb_test_multiple.
2141 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2142 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2144 2014-03-20 Pedro Alves <palves@redhat.com>
2146 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2147 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2149 2014-03-19 Pedro Alves <palves@redhat.com>
2151 * gdb.base/async.exp: Remove early return.
2153 2014-03-19 Pedro Alves <palves@redhat.com>
2155 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2157 2014-03-19 Pedro Alves <palves@redhat.com>
2159 * gdb.base/async.exp (test_background): Expect \r\n after
2160 "completed." in the fail pattern.
2162 2014-03-19 Pedro Alves <palves@redhat.com>
2164 * gdb.base/async.exp (test_background): New procedure.
2165 Use it for all background execution command tests.
2167 2014-03-19 Pedro Alves <palves@redhat.com>
2169 * gdb.base/async.exp: Use prepare_for_testing.
2171 2014-03-19 Pedro Alves <palves@redhat.com>
2173 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2176 2014-03-19 Pedro Alves <palves@redhat.com>
2178 * gdb.base/async.c (main): Add "jump here" and "until here" line
2180 * gdb.base/async.exp (jump_here): New global.
2181 (jump& test): Use it.
2182 (until_here): New global.
2183 (until& test): Use it.
2185 2014-03-19 Pedro Alves <palves@redhat.com>
2187 * gdb.base/async.exp: Don't frob gdb_protocol.
2189 2014-03-18 Doug Evans <xdje42@gmail.com>
2191 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2192 Fix spelling of exec-done-display.
2194 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2197 * gdb.base/gdb-sigterm.c: New file.
2198 * gdb.base/gdb-sigterm.exp: New file.
2200 2014-03-18 Pedro Alves <palves@redhat.com>
2203 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2204 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2207 2014-03-17 Joel Brobecker <brobecker@adacore.com>
2209 * gdb.ada/pckd_arr_ren: New testcase.
2211 2014-03-13 Doug Evans <xdje42@gmail.com>
2214 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2215 collect after discarding symbols.
2217 2014-03-13 Ludovic Courtès <ludo@gnu.org>
2218 Doug Evans <xdje42@gmail.com>
2220 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2221 to history survives a gc.
2223 2014-03-13 Pedro Alves <palves@redhat.com>
2225 * gdb.base/default.exp: Don't test "target procfs".
2227 2014-03-13 Pedro Alves <palves@redhat.com>
2229 * gdb.base/default.exp: Update "target child" and "target procfs"
2230 tests to not expect "Unix".
2232 2014-03-12 Tom Tromey <tromey@redhat.com>
2234 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2235 New procs. Add target-async tests.
2236 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2237 Add target-async tests.
2239 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2241 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2242 'func_start' and 'func_end' for the beginning and end of the
2243 function code, respectively.
2244 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2245 'func_end' instead of 'func' and 'main'.
2247 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2249 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2250 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2251 generate the debug info assembler source.
2253 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2255 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2256 * gdb.dwarf2/arr-subrange.exp: Likewise.
2257 * gdb.dwarf2/dwz.exp: Likewise.
2258 * gdb.dwarf2/method-ptr.exp: Likewise.
2259 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2260 * gdb.dwarf2/subrange.exp: Likewise.
2261 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2262 * gdb.dwarf2/implptrpiece.exp: Likewise.
2263 * gdb.dwarf2/nostaticblock.exp: Likewise.
2265 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2267 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2268 directory to absolute path name arguments.
2270 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2272 * gdb.ada/tagged_access: New testcase.
2274 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2276 * gdb.btrace/data.exp: Update expected output.
2278 2014-03-06 Yao Qi <yao@codesourcery.com>
2280 * gdb.trace/pr16508.exp: New file.
2282 2014-03-05 Pedro Alves <palves@redhat.com>
2285 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2287 (top level): Adjust to use it. Add tests that exercise breakpoint
2288 interaction with the code-cache.
2290 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2292 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2293 test for 'history-append!'.
2295 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2297 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2298 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2299 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2300 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2301 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2302 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2304 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2306 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2307 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2308 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2310 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2312 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2314 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2316 * gdb.dwarf2/arr-stride.c: New file.
2317 * gdb.dwarf2/arr-stride.exp: New file.
2319 2014-02-26 Pedro Alves <palves@redhat.com>
2321 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2322 that won't ever trigger. Make sure that GDB reports the correct
2323 breakpoint that caused the stop.
2325 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2328 * gdb.base/auto-load-script: New file.
2329 * gdb.base/auto-load.c: New file.
2330 * gdb.base/auto-load.exp: New file.
2333 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2335 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2337 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2338 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2340 2014-02-24 Doug Evans <dje@google.com>
2342 * lib/gdb.exp (run_on_host): Log error output if program fails.
2344 2014-02-21 Pedro Alves <palves@redhat.com>
2346 * gdb.threads/step-after-sr-lock.c: Rename to ...
2347 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2348 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2349 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2352 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2355 * gdb.arch/amd64-stap-special-operands.exp: New file.
2356 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2357 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2358 * gdb.arch/amd64-stap-triplet.S: Likewise.
2359 * gdb.arch/amd64-stap-triplet.c: Likewise.
2361 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2363 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2364 in .section pseudo-op.
2366 2014-02-20 lin zuojian <manjian2006@gmail.com>
2367 Joel Brobecker <brobecker@adacore.com>
2368 Doug Evans <xdje42@gmail.com>
2371 * gdb.dwarf2/dw2-icycle.S: New file.
2372 * gdb.dwarf2/dw2-icycle.c: New file.
2373 * gdb.dwarf2/dw2-icycle.exp: New file.
2375 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2377 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2378 operations on gdb.Value objects.
2379 * gdb.python/py-value-cc.exp: Add new test to test operations on
2382 2014-02-18 Doug Evans <dje@google.com>
2384 * Makefile.in (TESTS): New variable.
2385 (expanded_tests, expanded_tests_or_none): New variables
2386 (check-single): Pass $(expanded_tests_or_none) to runtest.
2387 (check-parallel): Only run tests in $(TESTS) if non-empty.
2388 (check/no-matching-tests-found): New rule.
2389 * README: Document TESTS makefile variable.
2391 2014-02-18 Doug Evans <dje@google.com>
2393 * Makefile.in (check-parallel): rm -rf outputs temp.
2395 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2397 Fix "ERROR: no fileid for" in the testsuite.
2398 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2400 2014-02-12 Doug Evans <dje@google.com>
2402 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2403 (MISCELLANEOUS): New variable.
2404 (clean): rm -rf $(MISCELLANEOUS).
2405 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2406 dwp live in the same directory as symlinks, with each symlink pointed
2407 to a differently named file in a different directory.
2409 2014-02-11 Doug Evans <dje@google.com>
2411 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2412 of Tcl file commands.
2414 2014-02-10 Mark Kettenis <kettenis@gnu.org>
2416 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2419 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2421 * gdb.ada/tick_length_array_enum_idx: New testcase.
2423 2014-02-10 Doug Evans <xdje42@gmail.com>
2425 * configure.ac (AC_OUTPUT): Add gdb.guile.
2426 * configure: Regenerate.
2427 * lib/gdb-guile.exp: New file.
2428 * lib/gdb.exp (get_target_charset): New function.
2429 * gdb.base/help.exp: Update expected output from "apropos apropos".
2430 * gdb.guile/Makefile.in: New file.
2431 * gdb.guile/guile.exp: New file.
2432 * gdb.guile/scm-arch.c: New file.
2433 * gdb.guile/scm-arch.exp: New file.
2434 * gdb.guile/scm-block.c: New file.
2435 * gdb.guile/scm-block.exp: New file.
2436 * gdb.guile/scm-breakpoint.c: New file.
2437 * gdb.guile/scm-breakpoint.exp: New file.
2438 * gdb.guile/scm-disasm.c: New file.
2439 * gdb.guile/scm-disasm.exp: New file.
2440 * gdb.guile/scm-equal.c: New file.
2441 * gdb.guile/scm-equal.exp: New file.
2442 * gdb.guile/scm-error.exp: New file.
2443 * gdb.guile/scm-error.scm: New file.
2444 * gdb.guile/scm-frame-args.c: New file.
2445 * gdb.guile/scm-frame-args.exp: New file.
2446 * gdb.guile/scm-frame-args.scm: New file.
2447 * gdb.guile/scm-frame-inline.c: New file.
2448 * gdb.guile/scm-frame-inline.exp: New file.
2449 * gdb.guile/scm-frame.c: New file.
2450 * gdb.guile/scm-frame.exp: New file.
2451 * gdb.guile/scm-generics.exp: New file.
2452 * gdb.guile/scm-gsmob.exp: New file.
2453 * gdb.guile/scm-iterator.c: New file.
2454 * gdb.guile/scm-iterator.exp: New file.
2455 * gdb.guile/scm-math.c: New file.
2456 * gdb.guile/scm-math.exp: New file.
2457 * gdb.guile/scm-objfile-script-gdb.in: New file.
2458 * gdb.guile/scm-objfile-script.c: New file.
2459 * gdb.guile/scm-objfile-script.exp: New file.
2460 * gdb.guile/scm-objfile.c: New file.
2461 * gdb.guile/scm-objfile.exp: New file.
2462 * gdb.guile/scm-ports.exp: New file.
2463 * gdb.guile/scm-pretty-print.c: New file.
2464 * gdb.guile/scm-pretty-print.exp: New file.
2465 * gdb.guile/scm-pretty-print.scm: New file.
2466 * gdb.guile/scm-section-script.c: New file.
2467 * gdb.guile/scm-section-script.exp: New file.
2468 * gdb.guile/scm-section-script.scm: New file.
2469 * gdb.guile/scm-symbol.c: New file.
2470 * gdb.guile/scm-symbol.exp: New file.
2471 * gdb.guile/scm-symtab-2.c: New file.
2472 * gdb.guile/scm-symtab.c: New file.
2473 * gdb.guile/scm-symtab.exp: New file.
2474 * gdb.guile/scm-type.c: New file.
2475 * gdb.guile/scm-type.exp: New file.
2476 * gdb.guile/scm-value-cc.cc: New file.
2477 * gdb.guile/scm-value-cc.exp: New file.
2478 * gdb.guile/scm-value.c: New file.
2479 * gdb.guile/scm-value.exp: New file.
2480 * gdb.guile/source2.scm: New file.
2481 * gdb.guile/types-module.cc: New file.
2482 * gdb.guile/types-module.exp: New file.
2484 2014-02-10 Yao Qi <yao@codesourcery.com>
2487 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
2488 * configure: Regenerated.
2489 * Makefile.in: New file.
2491 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2493 * gdb.python/py-framefilter.exp: Fix typo.
2495 2014-02-08 Yao Qi <yao@codesourcery.com>
2497 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
2498 that no =breakpoint-modified is emitted when breakpoints are
2499 modified through MI commands.
2501 2014-02-07 Pedro Alves <pedro@codesourcery.com>
2502 Pedro Alves <palves@redhat.com>
2504 * gdb.threads/step-after-sr-lock.c: New file.
2505 * gdb.threads/step-after-sr-lock.exp: New file.
2507 2014-02-07 Pedro Alves <palves@redhat.com>
2509 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
2511 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2513 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
2514 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
2516 2014-02-06 Doug Evans <xdje42@gmail.com>
2518 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
2521 * gdb.gdb/python-interrupts.exp: New file.
2523 2014-02-05 Yao Qi <yao@codesourcery.com>
2525 * gdb.trace/report.exp (use_collected_data): Test the output
2526 of "info threads" and "info inferiors".
2528 2014-02-05 Yao Qi <yao@codesourcery.com>
2532 2013-05-24 Yao Qi <yao@codesourcery.com>
2534 * gdb.trace/tfile.exp: Test inferior and thread.
2536 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2538 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
2540 * gdb.base/step-bt.c: Call hello via function pointer to make
2541 sure its first instruction is executed on powerpc64le-linux.
2543 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2545 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
2547 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2549 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
2550 of the test patterns for use on little-endian systems.
2552 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2554 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
2555 (decimal_vector): Fix for little-endian.
2557 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2559 * gdb.arch/sparc-sysstep.exp: New file.
2560 * gdb.arch/sparc-sysstep.c: Likewise.
2562 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
2564 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2566 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2568 2014-01-23 Tom Tromey <tromey@redhat.com>
2570 * gdb.ada/array_char_idx: New testcase.
2572 2014-01-23 Tom Tromey <tromey@redhat.com>
2575 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
2576 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2579 2014-01-23 Tom Tromey <tromey@redhat.com>
2582 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2583 string from an inferior frame.
2584 * gdb.python/py-framefilter-mi.exp: Update.
2586 2014-01-22 Doug Evans <dje@google.com>
2588 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2590 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2592 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2594 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2596 * gdb.trace/entry-values.exp: Remove excess space character from
2597 regex patterns. Handle s390 call instruction.
2599 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2601 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
2602 define "*_start" label. Make "name" static.
2603 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
2604 ${name} by references to ${name}_start.
2606 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2608 * gdb.base/info-macros.exp: Remove "debug" from the compile
2611 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2613 * gdb.dlang/demangle.exp: New file.
2615 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2617 * gdb.dlang/primitive-types.exp: New file.
2619 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2621 * configure.ac: Create gdb.dlang/Makefile.
2622 * configure: Regenerate.
2623 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
2624 * gdb.dlang/Makefile.in: New file.
2625 * lib/d-support.exp: New file.
2626 * lib/gdb.exp (skip_d_tests): New proc.
2628 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2630 * gdb.btrace/delta.exp: Check reverse stepi.
2631 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
2632 * gdb.btrace/finish.exp: New.
2633 * gdb.btrace/next.exp: New.
2634 * gdb.btrace/nexti.exp: New.
2635 * gdb.btrace/record_goto.c: Add comments.
2636 * gdb.btrace/step.exp: New.
2637 * gdb.btrace/stepi.exp: New.
2638 * gdb.btrace/multi-thread-step.c: New.
2639 * gdb.btrace/multi-thread-step.exp: New.
2640 * gdb.btrace/rn-dl-bind.c: New.
2641 * gdb.btrace/rn-dl-bind.exp: New.
2642 * gdb.btrace/data.c: New.
2643 * gdb.btrace/data.exp: New.
2644 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2646 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2648 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
2649 * gdb.btrace/exception.exp: Update.
2650 * gdb.btrace/instruction_history.exp: Update.
2651 * gdb.btrace/record_goto.exp: Update.
2652 * gdb.btrace/tailcall.exp: Update.
2653 * gdb.btrace/unknown_functions.exp: Update.
2654 * gdb.btrace/delta.exp: New.
2656 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2658 * gdb.btrace/record_goto.exp: Add backtrace test.
2659 * gdb.btrace/tailcall.exp: Add backtrace test.
2661 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2663 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
2664 * gdb.btrace/record_goto.c: New.
2665 * gdb.btrace/record_goto.exp: New.
2666 * gdb.btrace/x86-record_goto.S: New.
2668 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2670 * gdb.btrace/function_call_history.exp: Update tests.
2671 * gdb.btrace/instruction_history.exp: Update tests.
2673 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2675 * gdb.btrace/function_call_history.exp: Fix expected field
2676 order for "record function-call-history".
2677 Add new tests for "record function-call-history /c".
2678 * gdb.btrace/exception.cc: New.
2679 * gdb.btrace/exception.exp: New.
2680 * gdb.btrace/tailcall.exp: New.
2681 * gdb.btrace/x86-tailcall.S: New.
2682 * gdb.btrace/x86-tailcall.c: New.
2683 * gdb.btrace/unknown_functions.c: New.
2684 * gdb.btrace/unknown_functions.exp: New.
2685 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2687 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2689 * gdb.btrace/instruction_history.exp: Update.
2690 * gdb.btrace/function_call_history.exp: Update.
2692 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2694 * gdb.btrace/function_call_history.exp: Fix expected function
2696 * gdb.btrace/instruction_history.exp: Initialize traced.
2697 Remove traced_functions.
2699 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2701 * gdb.btrace/function_call_history.exp: Update
2702 * gdb.btrace/instruction_history.exp: Update.
2704 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2706 * gdb.btrace/enable.exp: Update expected text.
2708 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
2710 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
2713 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
2715 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
2717 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2719 * lib/gdb.exp (supports_process_record): Return true for
2720 arm*-linux*. (supports_reverse): Likewise.
2722 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
2726 * gdb.python/py-type.c: Enhance test case.
2727 * gdb.python/py-value-cc.cc: Likewise
2728 * gdb.python/py-type.exp: Add new tests.
2729 * gdb.python/py-value-cc.exp: Likewise
2731 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2732 Pedro Alves <palves@redhat.com>
2734 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
2736 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
2737 references to ${name}_start by references to ${name}.
2739 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2741 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
2743 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2745 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
2747 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
2748 Pedro Alves <palves@redhat.com>
2750 * gdb.mi/mi-info-os.exp: Connect to the target with
2753 2014-01-08 Pedro Alves <palves@redhat.com>
2755 * gdb.threads/reconnect-signal.c: New file.
2756 * gdb.threads/reconnect-signal.exp: New file.
2758 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2760 * gdb.base/source-dir.exp: New file.
2762 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2764 * gdb.ada/mi_interface: New testcase.
2766 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2768 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
2769 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
2770 gdb.ada/pp-rec-component/pck.ads: New files.
2772 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2774 * gdb.python/py-pp-integral.c: New file.
2775 * gdb.python/py-pp-integral.py: New file.
2776 * gdb.python/py-pp-integral.exp: New file.
2778 For older changes see ChangeLog-1993-2013.
2784 ;; version-control: never
2787 Copyright 2014 Free Software Foundation, Inc.
2788 Copying and distribution of this file, with or without modification,
2789 are permitted provided the copyright notice and this notice are preserved.