1 2014-10-17 Doug Evans <dje@google.com>
3 * gdb.python/py-objfile.exp: Test progspace attribute.
5 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
7 * gdb.guile/scm-breakpoint.exp: Do not assume any
8 directory separators when matching source file paths.
9 * gdb.python/py-breakpoint.exp: Likewise.
10 * gdb.reverse/break-precsave.exp: Likewise.
11 * gdb.reverse/break-reverse.exp: Likewise.
12 * gdb.reverse/consecutive-precsave.exp: Likewise.
13 * gdb.reverse/finish-precsave.exp: Likewise.
14 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
15 * gdb.reverse/finish-reverse.exp: Likewise.
16 * gdb.reverse/i386-precsave.exp: Likewise.
17 * gdb.reverse/i387-env-reverse.exp: Likewise.
18 * gdb.reverse/i387-stack-reverse.exp: Likewise.
19 * gdb.reverse/machinestate-precsave.exp: Likewise.
20 * gdb.reverse/machinestate.exp: Likewise.
21 * gdb.reverse/sigall-precsave.exp: Likewise.
22 * gdb.reverse/solib-precsave.exp: Likewise.
23 * gdb.reverse/step-precsave.exp: Likewise.
24 * gdb.reverse/until-precsave.exp: Likewise.
25 * gdb.reverse/watch-precsave.exp: Likewise.
26 * gdb.reverse/watch-reverse.exp: Likewise.
28 2014-10-17 Yao Qi <yao@codesourcery.com>
30 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
31 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
33 2014-10-17 Pedro Alves <palves@redhat.com>
36 * gdb.base/bg-execution-repeat.c: New file.
37 * gdb.base/bg-execution-repeat.exp: New file.
39 2014-10-17 Pedro Alves <palves@redhat.com>
42 * gdb.base/continue-all-already-running.c: New file.
43 * gdb.base/continue-all-already-running.exp: New file.
45 2014-10-17 Pedro Alves <palves@redhat.com>
48 * gdb.base/annota-input-while-running.c: New file.
49 * gdb.base/annota-input-while-running.exp: New file.
51 2014-10-17 Pedro Alves <palves@redhat.com>
53 * gdb.base/callfuncs.exp: emove references to osf.
54 * gdb.base/sigall.exp: Likewise.
55 * gdb.gdb/selftest.exp: Likewise.
56 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
57 * gdb.mi/non-stop.c: Likewise.
58 * gdb.mi/pthreads.c: Likewise.
59 * gdb.reverse/sigall-precsave.exp: Likewise.
60 * gdb.reverse/sigall-reverse.exp: Likewise.
61 * gdb.threads/pthreads.c: Likewise.
62 * gdb.threads/pthreads.exp: Likewise.
64 2014-10-17 Yao Qi <yao@codesourcery.com>
66 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
67 check 'target_info exists noargs'.
68 (test_command_prompt_position): Likewise.
69 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
71 (progvar_simple_while_test): Likewise.
72 (progvar_complex_if_while_test): Likewise.
73 (if_while_breakpoint_command_test): Likewise.
74 (infrun_breakpoint_command_test): Likewise.
75 (breakpoint_command_test): Likewise.
76 (watchpoint_command_test): Likewise.
77 (bp_deleted_in_command_test): Likewise.
78 (temporary_breakpoint_commands): Likewise.
80 2014-10-16 Yao Qi <yao@codesourcery.com>
82 * gdb.base/remotetimeout.exp: Remove noargs checking.
84 2014-10-15 Pedro Alves <palves@redhat.com>
87 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
88 * gdb.base/breakpoint-in-ro-region.exp
89 (probe_target_hardware_step): New procedure.
90 (top level): Probe hardware stepping and hardware breakpoint
91 support. Test stepping through a read-only region, with both
92 "breakpoint auto-hw" on and off and both "always-inserted" on and
95 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
97 * gdb.dlang/demangle.exp: Update for demangling changes.
99 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
101 * gdb.cp/non-trivial-retval.cc: Add new test cases.
102 * gdb.cp/non-trivial-retval.exp: Add new tests.
104 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
108 * gdb.cp/non-trivial-retval.cc: New file.
109 * gdb.cp/non-trivial-retval.exp: New file.
111 2014-10-15 Yao Qi <yao@codesourcery.com>
113 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
116 2014-10-15 Yao Qi <yao@codesourcery.com>
118 * gdb.python/py-symbol.exp: Match file base name if host is
119 remote, otherwise match file name with dir name.
120 * gdb.python/py-symtab.exp: Likewise.
121 * gdb.python/python.exp: Likewise.
123 2014-10-15 Yao Qi <yao@codesourcery.com>
125 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
127 * gdb.python/py-symtab.exp: Likewise.
128 * gdb.python/python.exp: Remove trailing ".*". Fix typo
131 2014-10-14 Joel Brobecker <brobecker@adacore.com>
133 * gdb.ada/addr_arith: New testcase.
135 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
137 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
138 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
139 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
140 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
142 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
144 * gdb.arch/stap-eval-lang-ada.S: Likewise.
145 * gdb.arch/stap-eval-lang-ada.c: Likewise.
146 * gdb.arch/stap-eval-lang-ada.exp: New file.
148 2014-10-14 Yao Qi <yao@codesourcery.com>
150 * gdb.mi/mi-var-child.c (nothing1): New function.
151 (nothing2): New function.
152 (do_children_tests): Set function pointers by nothing1 and
154 * gdb.mi/mi-var-child.exp: Step over new added statements.
155 Update test to match the new output.
156 * gdb.mi/var-cmd.c (nothing1): New function.
157 (nothing2): New function.
158 (do_children_tests): Set function pointers by nothing1 and
160 * gdb.mi/mi-var-display.exp: Update test to match output.
161 Step to the line specified by $line_dct_nothing.
162 Increase the number of lines to step.
164 2014-10-14 Yao Qi <yao@codesourcery.com>
166 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
168 * gdb.mi/mi2-var-child.exp: Likewise.
170 2014-10-13 Doug Evans <dje@google.com>
172 * gdb.python/py-objfile.exp: Change name of file name test.
174 2014-10-13 Doug Evans <dje@google.com>
176 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
177 from the start of the CU.
179 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
180 Yao Qi <yao@codesourcery.com>
182 Fix "save breakpoints" for "catch" command.
183 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
184 Remove -nonewline. Match also the added "main" line.
186 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
188 Fix "save breakpoints" for "disable $bpnum" command.
189 * gdb.base/save-bp.c (main): Add label.
190 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
192 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
194 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
196 2014-10-11 Yao Qi <yao@codesourcery.com>
198 * gdb.server/server-kill.exp: Execute command
199 "set remote trace-status-packet on" before "tstatus".
201 2014-10-11 Yao Qi <yao@codesourcery.com>
203 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
204 (main): Call getppid.
205 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
206 and continue to it. Read variable "server_pid".
208 2014-10-11 Yao Qi <yao@codesourcery.com>
210 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
212 2014-10-11 Yao Qi <yao@codesourcery.com>
214 * gdb.threads/thread-find.exp: Don't execute command
216 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
217 * gdb.threads/linux-dp.exp: Don't check the condition
218 $threads_created equals to zero.
220 2014-10-10 Pedro Alves <palves@redhat.com>
222 * gdb.base/bigcore.exp: Remove references to IRIX.
223 * gdb.base/funcargs.exp: Likewise.
224 * gdb.base/interrupt.exp: Likewise.
225 * gdb.base/mips_pro.exp: Likewise.
226 * gdb.base/nodebug.exp: Likewise.
227 * gdb.base/setvar.exp: Likewise.
228 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
230 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
231 Pedro Alves <palves@redhat.com>
234 * gdb.base/vdso-warning.c: New file.
235 * gdb.base/vdso-warning.exp: New file.
237 2014-10-02 Doug Evans <dje@google.com>
239 * gdb.base/structs.c (main): Don't run forever.
241 2014-10-02 Pedro Alves <palves@redhat.com>
243 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
244 (top level) <stop threads 1, stop threads 2>: Use it.
246 2014-10-02 Pedro Alves <palves@redhat.com>
248 * gdb.threads/break-while-running.exp (test): Add new
249 'update_thread_list' argument. Skip "info threads" if false.
250 (top level): Add new 'update_thread_list' axis.
252 2014-10-02 Pedro Alves <palves@redhat.com>
255 * gdb.base/execl-update-breakpoints.c: New file.
256 * gdb.base/execl-update-breakpoints.exp: New file.
258 2014-10-01 Pedro Alves <palves@redhat.com>
260 * gdb.base/breakpoint-in-ro-region.c: New file.
261 * gdb.base/breakpoint-in-ro-region.exp: New file.
263 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
265 * gdb.mi/mi-exit-code.exp: New file.
266 * gdb.mi/mi-exit-code.c: New file.
268 2014-09-30 Yao Qi <yao@codesourcery.com>
270 * lib/prelink-support.exp (build_executable_own_libs): Error if
271 the target isn't native.
273 2014-09-30 Yao Qi <yao@codesourcery.com>
275 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
278 2014-09-22 Pedro Alves <palves@redhat.com>
280 * gdb.threads/break-while-running.exp: New file.
281 * gdb.threads/break-while-running.c: New file.
283 2014-09-19 Yao Qi <yao@codesourcery.com>
285 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
286 Invoke test. Restart GDB with --readnow and invoke test again.
288 2014-09-19 Yao Qi <yao@codesourcery.com>
290 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
291 proc set_breakpoint_on_gcd_function. Invoke
292 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
293 invoke set_breakpoint_on_gcd_function again.
295 2014-09-18 Doug Evans <dje@google.com>
297 * gdb.dwarf2/symtab-producer.exp: New file.
299 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
301 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
302 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
303 * gdb.base/global-var-nested-by-dso.c: Likewise.
304 * gdb.base/global-var-nested-by-dso.exp: Likewise.
306 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
307 Pedro Alves <palves@redhat.com>
309 * gdb.base/watch-bitfields.exp: Pass string other than test file
310 name to prepare_for_testing.
311 (watch): New procedure.
312 (expect_watchpoint): Use with_test_prefix.
313 (top level): Factor out tests to ...
314 (test_watch_location, test_regular_watch): ... these new
315 procedures, and use with_test_prefix and gdb_continue_to_end.
317 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
320 * gdb.base/watch-bitfields.exp: New file.
321 * gdb.base/watch-bitfields.c: New file.
323 2014-09-16 Pedro Alves <palves@redhat.com>
325 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
326 software and hardware addresses, not software address against
329 2014-09-16 Pedro Alves <palves@redhat.com>
331 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
332 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
334 2014-09-16 Pedro Alves <palves@redhat.com>
336 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
338 * gdb.base/a2-run.exp: Remove all code guarded by istarget
339 "*-*-vxworks*" throughout.
340 * gdb.base/break.exp: Likewise.
341 * gdb.base/default.exp: Likewise.
342 * gdb.base/scope.exp: Likewise.
343 * gdb.base/sepdebug.exp: Likewise.
344 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
346 * gdb.base/run.c: Likewise.
347 * gdb.base/sepdebug.c: Likewise.
348 * gdb.hp/gdb.aCC/run.c: Likewise.
349 * gdb.reverse/until-reverse.c: Likewise.
350 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
352 2014-09-16 Yao Qi <yao@codesourcery.com>
354 * boards/local-remote-host-native.exp: New file.
356 2014-09-14 Doug Evans <xdje42@gmail.com>
358 * gdb.threads/queue-signal.c (thread_count): New variable.
359 (thread_count_mutex, thread_count_condvar): New variables.
360 (incr_thread_count, wait_all_threads_running): New functions.
361 (main): Wait for all threads to be in their thread functions.
363 2014-09-13 Doug Evans <xdje42@gmail.com>
365 * gdb.threads/queue-signal.c: New file.
366 * gdb.threads/queue-signal.exp: New file.
368 2014-09-13 Doug Evans <xdje42@gmail.com>
370 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
371 be consistent with what default_gdb_init uses.
372 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
373 the plain text of the prompt. Add some logging printfs.
374 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
376 2014-09-12 Pedro Alves <palves@redhat.com>
378 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
379 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
380 * gdb.arch/i386-size-overlap.exp: Likewise.
381 * gdb.arch/i386-size.exp: Likewise.
382 * gdb.arch/i386-unwind.exp: Likewise.
383 * gdb.base/a2-run.exp: Likewise.
384 * gdb.base/break.exp: Likewise.
385 * gdb.base/charset.exp: Likewise.
386 * gdb.base/chng-syms.exp: Likewise.
387 * gdb.base/commands.exp: Likewise.
388 * gdb.base/dbx.exp: Likewise.
389 * gdb.base/find.exp: Likewise.
390 * gdb.base/funcargs.exp: Likewise.
391 * gdb.base/jit-simple.exp: Likewise.
392 * gdb.base/reread.exp: Likewise.
393 * gdb.base/sepdebug.exp: Likewise.
394 * gdb.base/step-bt.exp: Likewise.
395 * gdb.cp/mb-inline.exp: Likewise.
396 * gdb.cp/mb-templates.exp: Likewise.
397 * gdb.objc/basicclass.exp: Likewise.
398 * gdb.threads/killed.exp: Likewise.
400 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
403 * gdb.arch/powerpc-stackless.S: New file.
404 * gdb.arch/powerpc-stackless.exp: New file.
406 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
408 * gdb.base/attach.c: Include unistd.h.
409 (main): Call alarm. Add label postloop.
410 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
411 gdb_breakpoint, gdb_continue_to_breakpoint.
412 (test_command_line_attach_run): Kill ${testpid} in one exit path.
414 2014-09-11 Pedro Alves <palves@redhat.com>
417 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
418 * gdb.base/attach.exp (test_command_line_attach_run): New
420 (top level): Call it.
422 2014-09-11 Pedro Alves <palves@redhat.com>
424 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
425 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
426 (do_command_attach_tests): Use spawn_wait_for_attach.
427 * gdb.base/solib-overlap.exp: Likewise.
428 * gdb.multi/multi-attach.exp: Likewise.
429 * gdb.python/py-prompt.exp: Likewise.
430 * gdb.python/py-sync-interp.exp: Likewise.
431 * gdb.server/ext-attach.exp: Likewise.
433 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
435 * gdb.fortran/array-element.exp: Remove unexpected "continue"
436 command in testcase. Simplify testcase.
438 2014-09-10 Joel Brobecker <brobecker@adacore.com>
440 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
442 2014-09-10 Joel Brobecker <brobecker@adacore.com>
444 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
446 2014-09-10 Joel Brobecker <brobecker@adacore.com>
448 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
450 2014-09-10 Joel Brobecker <brobecker@adacore.com>
452 * gdb.dwarf2/dynarr-ptr.c: New file.
453 * gdb.dwarf2/dynarr-ptr.exp: New file.
455 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
457 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
458 of 30 rather than hardcoding 120 for a slow test case. Take the
459 `gdb,timeout' target setting into account for this calculation.
460 Don't extend the timeout for the test cases that don't need it.
462 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
464 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
465 a factor of 2 for a slow test case. Take the `gdb,timeout'
466 target setting into account for this calculation.
467 * gdb.reverse/until-precsave.exp: Increase the timeout by
468 a factor of 15 and 3 respectively rather than adding 120
469 for a pair of slow test cases. Take the `gdb,timeout'
470 target setting into account for this calculation.
472 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
474 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
475 timeout, don't pass one down to gdb_expect.
476 (gdb_expect): Rework timeout selection.
478 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
480 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
481 exception on timeout.
482 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
483 (gdbserver_start_extended): Catch any `gdbserver_start' error
485 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
486 * lib/mi-support.exp (mi_gdb_target_load): Catch any
487 `gdbserver_gdb_load' error exceptions.
489 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
491 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
492 120 on waiting for the TCP socket to open.
494 2014-09-09 Doug Evans <xdje42@gmail.com>
496 * gdb.base/default.exp (show_conv_list): Add _caller_is,
497 _caller_matches, _any_caller_is, _any_caller_matches.
499 2014-09-09 Doug Evans <xdje42@gmail.com>
501 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
503 2014-09-09 Yao Qi <yao@codesourcery.com>
505 * gdb.mi/mi-var-display.exp: Set print symbol off.
507 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
510 * gdb.base/commands.exp: Add tests to verify user-defined
511 commands with empty bodies.
512 * gdb.python/py-cmd.exp: Test that we don't show user-defined
513 python commands in `show user command`.
514 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
515 scheme commands in `show user command`.
517 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
520 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
521 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
522 * gdb.python/py-framefilter-invalidarg.exp: New file.
523 * gdb.python/py-framefilter-invalidarg.py: New file.
525 2014-09-06 Doug Evans <xdje42@gmail.com>
528 * gdb.python/py-caller-is.c: New file.
529 * gdb.python/py-caller-is.exp: New file.
531 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
534 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
535 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
537 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
540 * gdb.fortran/print-formatted.exp: New file.
541 * gdb.fortran/print-formatted.f90: Likewise.
543 2014-09-03 Sasha Smundak <asmundak@google.com>
545 * gdb.python/py-frame.exp: Test Frame.read_register.
547 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
550 * gdb.python/py-completion.exp: New file.
551 * gdb.python/py-completion.py: Likewise.
553 2014-08-28 Doug Evans <dje@google.com>
555 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
556 eax,etc. are live with values set by gdb and thus the compiler can't
558 * gdb.arch/i386-pseudo.c (main): Ditto.
560 2014-08-27 Doug Evans <dje@google.com>
562 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
564 2014-08-25 Doug Evans <dje@google.com>
566 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
569 2014-08-25 Doug Evans <dje@google.com>
571 * gdb.threads/thread-execl.exp: #include <stdio.h>.
573 2014-08-24 Yao Qi <yao@codesourcery.com>
575 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
577 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
579 2014-08-22 Doug Evans <dje@google.com>
582 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
583 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
584 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
586 2014-08-22 Yao Qi <yao@codesourcery.com>
588 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
589 * gdb.python/py-finish-breakpoint2.exp: Likewise.
590 * gdb.python/python.exp: Likewise. Use .py file on the host
591 instead of the build.
593 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
595 * gdb.threads/gcore-stale-thread.c: New file.
596 * gdb.threads/gcore-stale-thread.exp: New file.
598 2014-08-21 Pedro Alves <palves@redhat.com>
600 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
601 * gdb.base/gcore-relro-pie.exp: Likewise.
602 * gdb.base/gcore-relro.exp: Likewise.
603 * gdb.base/gcore.exp: Likewise.
604 * gdb.base/print-symbol-loading.exp: Likewise.
605 * gdb.threads/gcore-thread.exp: Likewise.
606 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
608 2014-08-20 Pedro Alves <palves@redhat.com>
609 Jan Kratochvil <jan.kratochvil@redhat.com>
611 * Makefile.in (EXTRA_RULES, CC): New variables, get from
613 (EXPECT): Handle READ1 being set.
614 (all): Depend on EXTRA_RULES.
615 (check-read1, expect-read1, read1.so, read1): New rules.
616 * README (Testsuite Parameters): Document the READ1 make variable.
617 (Race detection): New section.
618 * configure: Regenerate.
619 * configure.ac: If build==host==target, and running under a
620 GNU/glibc system, add read1 to the extra Makefile rules.
621 (EXTRA_RULES): AC_SUBST it.
622 * lib/read1.c: New file.
624 2014-08-20 Joel Brobecker <brobecker@adacore.com>
626 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
627 the handling of variables declared as a typedef to an array
628 which a DW_AT_data_location attribute.
630 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
631 Pedro Alves <palves@redhat.com>
635 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
638 2014-08-19 Pedro Alves <palves@redhat.com>
640 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
642 2014-08-19 Yao Qi <yao@codesourcery.com>
644 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
647 2014-08-18 David Blaikie <dblaikie@gmail.com>
649 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
651 2014-08-18 Joel Brobecker <brobecker@adacore.com>
653 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
654 attribute in array range.
656 2014-08-18 Joel Brobecker <brobecker@adacore.com>
658 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
660 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
663 * gdb.cp/pr17132.cc: New file.
664 * gdb.cp/pr17132.exp: New file.
666 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
668 * gdb.python/py-xmethods.py (A_getarrayind)
669 (E_method_char_worker.__call__, E_method_int_worker.__call__):
670 Use 'print' with function call syntax.
671 (E_method_matcher.match): Fix tab vs space indentation mixup.
673 2014-08-15 Yao Qi <yao@codesourcery.com>
675 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
678 2014-08-15 Yao Qi <yao@codesourcery.com>
680 * gdb.cp/casts.exp: Set print symbol off.
681 * gdb.cp/class2.exp: Likewise.
682 * gdb.cp/overload.exp: Likewise.
683 * gdb.cp/templates.exp: Likewise.
685 2014-08-11 Doug Evans <dje@google.com>
687 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
688 (test_load_shlib): Update.
690 2014-08-09 Yao Qi <yao@codesourcery.com>
692 * gdb.base/display.exp: Invoke is_address_zero_readable.
693 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
694 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
695 * gdb.base/hbreak-unmapped.exp: Return if
696 is_address_zero_readable returns true.
697 * gdb.base/signest.exp: Likewise.
698 * gdb.base/signull.exp: Likewise.
699 * gdb.base/sigbpt.exp: Likewise.
700 * gdb.guile/scm-disasm.exp: Do the test if
701 is_address_zero_readable returns false.
702 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
703 * gdb.python/py-arch.exp: Likewise.
704 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
705 * lib/gdb.exp (is_address_zero_readable): New proc.
707 2014-08-09 Yao Qi <yao@codesourcery.com>
710 * gdb.mi/mi-var-display.exp: Make test messages unique.
712 2014-08-04 Tom Tromey <tromey@redhat.com>
714 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
717 2014-08-04 Tom Tromey <tromey@redhat.com>
719 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
722 2014-08-01 Joel Brobecker <brobecker@adacore.com>
724 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
725 inner_vla_struct_object_size.
726 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
729 2014-07-30 Pedro Alves <palves@redhat.com>
731 * gdb.threads/signal-command-handle-nopass.exp (test): Add
734 2014-07-29 Yao Qi <yao@codesourcery.com>
737 * gdb.base/until-nodebug.exp: New.
739 2014-07-28 Doug Evans <xdje42@gmail.com>
742 * gdb.guile/scm-parameter.exp: Add tests for trying to create
743 previously existing parameter, and previously ambiguously spelled
746 2014-07-28 Will Newton <will.newton@linaro.org>
748 * gdb.base/varargs.exp: Remove KFAILs for ARM.
750 2014-07-26 Ludovic Courtès <ludo@gnu.org>
751 Doug Evans <xdje42@gmail.com>
754 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
756 2014-07-25 Pedro Alves <palves@redhat.com>
758 * gdb.threads/signal-command-handle-nopass.c: New file.
759 * gdb.threads/signal-command-handle-nopass.exp: New file.
760 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
761 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
762 * gdb.threads/signal-delivered-right-thread.c: New file.
763 * gdb.threads/signal-delivered-right-thread.exp: New file.
765 2014-07-25 Pedro Alves <palves@redhat.com>
767 * gdb.base/double-prompt-target-event-error.exp
768 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
770 (cancel_pagination_in_target_event): Rework double prompt
772 * gdb.base/paginate-after-ctrl-c-running.exp
773 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
775 * gdb.base/paginate-bg-execution.exp
776 (test_bg_execution_pagination_return)
777 (test_bg_execution_pagination_cancel): Remove '-notransfer
779 * gdb.base/paginate-execution-startup.exp
780 (test_fg_execution_pagination_return)
781 (test_fg_execution_pagination_cancel): Remove '-notransfer
783 * gdb.base/paginate-inferior-exit.exp
784 (test_paginate_inferior_exited): Remove '-notransfer <return>'
786 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
787 * lib/gdb.exp (pagination_prompt): Run text through
789 (gdb_test_multiple): Match $pagination_prompt instead of
791 (string_to_regexp): Move to lib/gdb-utils.exp.
793 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
795 * gdb.arch/amd64-entry-value-paramref.S: New file.
796 * gdb.arch/amd64-entry-value-paramref.cc: New file.
797 * gdb.arch/amd64-entry-value-paramref.exp: New file.
798 * gdb.arch/amd64-optimout-repeat.S: New file.
799 * gdb.arch/amd64-optimout-repeat.c: New file.
800 * gdb.arch/amd64-optimout-repeat.exp: New file.
802 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
805 * gdb.base/statistics.exp: New file.
807 2014-07-17 Doug Evans <dje@google.com>
810 * gdb.base/maint.exp: Update testing of per-command stats.
812 2014-07-16 Pedro Alves <palves@redhat.com>
814 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
815 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
816 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
817 (tfile_write_buf): New functions.
818 (add_memory_block): Rewrite using the above.
819 (adjust_function_address): New function.
820 (FUNCTION_ADDRESS): New macro.
821 (write_basic_trace_file): Remove short_x local, and use
822 tfile_write_16. Change type of func_addr local to unsigned long
823 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
824 here. Cast argument of add_memory_block to char pointer.
825 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
826 (main): Remove parameters.
827 * gdb.trace/tfile.exp: Remove nowarnings.
829 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
831 * gdb.base/debug-expr.exp: Test string evaluation with
832 "debug expression" on.
834 2014-07-15 Pedro Alves <palves@redhat.com>
836 * gdb.base/reread.exp: Use clean_restart.
838 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
840 * gdb.arch/avr-flash-qualifer.c: New.
841 * gdb.arch/avr-flash-qualifer.exp: New.
843 2014-07-14 Pedro Alves <palves@redhat.com>
845 * gdb.base/paginate-after-ctrl-c-running.c: New file.
846 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
848 2014-07-14 Pedro Alves <palves@redhat.com>
850 * gdb.base/double-prompt-target-event-error.c: New file.
851 * gdb.base/double-prompt-target-event-error.exp: New file.
853 2014-07-14 Pedro Alves <palves@redhat.com>
856 * gdb.base/paginate-inferior-exit.c: New file.
857 * gdb.base/paginate-inferior-exit.exp: New file.
859 2014-07-14 Pedro Alves <palves@redhat.com>
862 * gdb.base/paginate-bg-execution.c: New file.
863 * gdb.base/paginate-bg-execution.exp: New file.
865 2014-07-14 Pedro Alves <palves@redhat.com>
868 * gdb.base/paginate-execution-startup.c: New file.
869 * gdb.base/paginate-execution-startup.exp: New file.
870 * lib/gdb.exp (pagination_prompt): New global.
871 (default_gdb_spawn): New procedure, factored out from
873 (default_gdb_start): Adjust to call default_gdb_spawn.
874 (gdb_spawn): New procedure.
876 2014-07-14 Pedro Alves <palves@redhat.com>
878 * lib/gdb.exp (gdb_assert): New procedure.
879 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
881 2014-07-14 Pedro Alves <palves@redhat.com>
883 * gdb.base/execution-termios.c: New file.
884 * gdb.base/execution-termios.exp: New file.
886 2014-07-14 Tom Tromey <tromey@redhat.com>
888 * gdb.cp/vla-cxx.cc: New file.
889 * gdb.cp/vla-cxx.exp: New file.
891 2014-07-14 Tom Tromey <tromey@redhat.com>
893 * gdb.reverse/rerun-prec.c: New file.
894 * gdb.reverse/rerun-prec.exp: New file.
896 2014-07-12 Maciej W. Rozycki <macro@mips.com>
897 Maciej W. Rozycki <macro@codesourcery.com>
899 * lib/gdb-utils.exp: New file.
900 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
901 inline `gdb_init_command' processing.
902 (gdb_start_cmd): Likewise.
903 * lib/mi-support.exp (mi_run_cmd): Likewise.
904 * README: Document `gdb_init_command' and `gdb_init_commands'.
906 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
908 Fix false FAIL running under a very long directory name.
909 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
910 and "set print elements 10000". Twice.
912 2014-07-11 Yao Qi <yao@codesourcery.com>
914 * gdb.base/exprs.exp: "set print symbol off".
916 2014-07-11 Pedro Alves <palves@redhat.com>
918 * gdb.threads/kill.c: New file.
919 * gdb.threads/kill.exp: New file.
921 2014-07-10 Yao Qi <yao@codesourcery.com>
923 * gdb.trace/tfile.c (write_basic_trace_file)
924 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
925 address written to trace file.
927 2014-07-09 Pedro Alves <palves@redhat.com>
929 * gdb.base/attach-wait-input.exp: New file.
930 * gdb.base/attach-wait-input.c: New file.
932 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
934 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
935 setting up test structures.
936 (main): Call new test function.
937 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
938 test function, continue into test function and walk test
941 2014-07-02 Yao Qi <yao@codesourcery.com>
943 * gdb.trace/entry-values.c: Define labels 'foo_start' and
944 'bar_start' at the beginning of functions 'foo' and 'bar'
946 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
947 instead of 'foo' and 'bar'.
949 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
951 * gdb.btrace/segv.exp: New.
952 * gdb.btrace/segv.c: New.
954 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
956 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
959 2014-06-30 Mark Wielaard <mjw@redhat.com>
961 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
962 vulture, vilify, villar): New volatile array constants.
963 (vindictive, vegetation): New const volatile array constants.
964 * gdb.base/volatile.exp: Test volatile and const volatile array
967 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
969 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
970 target lacks support for awatch, rwatch, or hbreak.
972 2014-06-27 Yao Qi <yao@codesourcery.com>
974 * gdb.multi/dummy-frame-restore.exp: New.
975 * gdb.multi/dummy-frame-restore.c: New.
977 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
979 * gdb.btrace/gcore.exp: New.
981 2014-06-23 Pedro Alves <palves@redhat.com>
983 * gdb.base/watchpoint-reuse-slot.c: New file.
984 * gdb.base/watchpoint-reuse-slot.exp: New file.
986 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
988 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
989 progspace's filename in 'info', 'enable' and 'disable' command
992 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
994 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
995 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
996 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
998 2014-06-20 Gary Benson <gbenson@redhat.com>
1000 * gdb.arch/i386-avx.exp: Fix include file location.
1001 * gdb.arch/i386-sse.exp: Likewise.
1003 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1005 * gdb.dlang/expression.exp: New file.
1007 2014-06-19 Pedro Alves <palves@redhat.com>
1009 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1011 (top level): ... here. Iterate running tests under different
1012 scheduler-locking settings.
1014 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
1016 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1017 to DW_FORM_addr and use non-zero addresses.
1019 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1022 * gdb.python/py-xmethods.cc: Add global function call counters and
1023 increment them in their respective functions. Remove "cout"
1025 * gdb.python/py-xmethods.exp: Make tests check the global function
1026 call counters instead of depending on inferior IO.
1028 2014-06-18 Don Breazeal <donb@codesourcery.com>
1030 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1032 (explicit_fork_parent_follow): Deleted procedure.
1033 (explicit_fork_child_follow): Deleted procedure.
1034 (test_follow_fork): New procedure.
1035 (do_fork_tests): Replace calls to deleted procedures with
1036 calls to test_follow_fork and reset GDB for subsequent
1039 2014-06-17 Yao Qi <yao@codesourcery.com>
1041 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1044 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
1046 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1047 Initialize ptr and S explicitly.
1048 (skip_type_update_when_not_use_rtti_test): Likewise.
1050 2014-06-16 Keith Seitz <keiths@redhat.com>
1053 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1054 the inferior is started.
1056 2014-06-16 Pedro Alves <palves@redhat.com>
1058 * gdb.base/break-main-file-remove-fail.c: New file.
1059 * gdb.base/break-main-file-remove-fail.exp: New file.
1060 * gdb.base/break-unload-file.exp: Use build_executable instead of
1061 prepare_for_testing.
1062 (test_break): New parameter "initial_load". Handle it.
1063 (top level): Add initial_load cmdline/file axis.
1065 2014-06-12 Tom Tromey <tromey@redhat.com>
1067 * gdb.base/completion.exp: Don't use directory name in test.
1069 2014-06-09 Gary Benson <gbenson@redhat.com>
1071 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1072 separate the always-available ANSI-standard signals from the
1073 signals that require checking.
1075 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1079 2014-06-07 Keith Seitz <keiths@redhat.com>
1083 * gdb.cp/var-tag.cc: New file.
1084 * gdb.cp/var-tag.exp: New file.
1085 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1086 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1087 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1088 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1090 2014-06-06 Doug Evans <xdje42@gmail.com>
1092 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1094 2014-06-06 Pedro Alves <palves@redhat.com>
1096 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1097 in target debug output instead of looking at RSP packets,
1098 disabling the test on any target that uses hardware stepping.
1101 2014-06-06 Pedro Alves <palves@redhat.com>
1103 * gdb.base/break-unload-file.exp: Fix typo.
1105 2014-06-06 Yao Qi <yao@codesourcery.com>
1107 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1108 from "jit_function" to "^jit_function".
1110 2014-06-06 Yao Qi <yao@codesourcery.com>
1112 * gdb.base/async.c (foo): Add one statement.
1113 * gdb.base/async.exp: Get the next instruction address and
1114 match the output of "nexti" by instruction address. Match
1115 the hex address in the output of "finish".
1117 2014-06-06 Gary Benson <gbenson@redhat.com>
1119 * gdb.base/call-signals.c: Remove preprocessor conditionals
1120 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1121 SIGSEGV and SIGTERM.
1122 * gdb.base/sigall.c: Likewise.
1123 * gdb.base/unwindonsignal.c: Likewise.
1124 * gdb.reverse/sigall-reverse.c: Likewise.
1126 2014-06-06 Yao Qi <yao@codesourcery.com>
1128 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1129 readable, skip the test.
1131 2014-06-06 Yao Qi <yao@codesourcery.com>
1133 * gdb.threads/staticthreads.c (thread_function): Move the line
1134 setting breakpoint on forward.
1135 * gdb.threads/staticthreads.exp: Update comments.
1137 2014-06-05 Ludovic Courtès <ludo@gnu.org>
1139 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1140 "history-append! type error".
1142 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1144 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1145 erroneous dprintf expected input.
1147 2014-06-04 Doug Evans <xdje42@gmail.com>
1149 * gdb.guile/scm-generics.exp: Delete.
1151 2014-06-04 Doug Evans <xdje42@gmail.com>
1153 * gdb.guile/scm-breakpoint.exp: Update.
1154 Add tests for breakpoint registration.
1156 2014-06-04 Tom Tromey <tromey@redhat.com>
1158 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1160 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1161 inner_vla_struct, vla_union types. Initialize objects of those
1162 types and compute their sizes.
1164 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1165 Hui Zhu <hui@codesourcery.com>
1167 * gdb.base/fileio.exp: Add test for shell not available as well as
1169 * gdb.base/fileio.c (test_system): Check for shell twice.
1171 2014-06-04 Yao Qi <yao@codesourcery.com>
1173 * gdb.base/auto-connect-native-target.exp: Remove redundant
1174 space from the regexp pattern.
1176 2014-06-04 Yao Qi <yao@codesourcery.com>
1178 * gdb.base/default.exp: Replace "child" with "native" in
1181 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1183 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1184 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1185 * gdb.python/py-xmethods.py: Python script supporting the
1186 new testcase and tests.
1188 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1189 Pedro Alves <palves@redhat.com>
1191 PR breakpoints/17000
1192 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1193 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1195 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1197 * gdb.base/subst.exp: Add tests to verify partial path matching
1200 2014-06-03 Pedro Alves <palves@redhat.com>
1202 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1203 target that doesn't use software single-stepping.
1205 2014-06-03 Pedro Alves <palves@redhat.com>
1207 PR breakpoints/17000
1208 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1209 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1211 2014-06-02 Doug Evans <xdje42@gmail.com>
1213 * gdb.guile/scm-parameter.exp: New file.
1215 2014-06-02 Doug Evans <xdje42@gmail.com>
1217 * gdb.guile/scm-cmd.c: New file.
1218 * gdb.guile/scm-cmd.exp: New file.
1220 2014-06-02 Doug Evans <xdje42@gmail.com>
1222 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1223 pretty-printer lookup.
1224 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1225 (make-pp_s-printer): Call it.
1226 (make-pretty-printer-from-dict): New function.
1227 (lookup-pretty-printer-maker-from-dict): New function.
1228 (*pretty-printer*): Simplify.
1229 (make-objfile-pp_s-printer): New function.
1230 (install-objfile-pretty-printers!): New function.
1231 (make-progspace-pp_s-printer): New function.
1232 (install-progspace-pretty-printers!): New function.
1233 * gdb.guile/scm-progspace.c: New file.
1234 * gdb.guile/scm-progspace.exp: New file.
1236 2014-06-02 Pedro Alves <palves@redhat.com>
1238 * gdb.base/dprintf-bp-same-addr.c: New file.
1239 * gdb.base/dprintf-bp-same-addr.exp: New file.
1241 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1243 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1244 * gdb.arch/powerpc-power.s: Likewise.
1246 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1248 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1250 2014-06-01 Yao Qi <yao@codesourcery.com>
1252 * gdb.base/watchpoint.exp (test_watch_location): Check null
1253 pointer can be dereferenced. If not, do the test, otherwise
1256 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1258 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1260 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1262 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1264 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1265 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1266 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1267 * gdb.arch/amd64-invalid-stack-top.c: New file.
1268 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1270 2014-05-30 Pedro Alves <palves@redhat.com>
1272 PR breakpoints/17000
1273 * gdb.base/sss-bp-on-user-bp.c: New file.
1274 * gdb.base/sss-bp-on-user-bp.exp: New file.
1276 2014-05-30 David Blaikie <dblaikie@gmail.com>
1278 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1279 gnu_inline semantics via attribute.
1280 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1281 source explicitly specifies the required semantics.
1283 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1285 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1287 2014-05-29 Pedro Alves <palves@redhat.com>
1288 Tom Tromey <tromey@redhat.com>
1290 * gdb.base/async-shell.exp: Don't enable target-async.
1291 * gdb.base/async.exp
1292 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1294 (top level): Don't test with "target-async".
1295 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1296 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1297 * gdb.base/inferior-died.exp: Don't enable target-async.
1298 * gdb.base/interrupt-noterm.exp: Likewise.
1299 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1300 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1301 * gdb.mi/mi-nonstop.exp: Likewise.
1302 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1303 * gdb.mi/mi-nsintrall.exp: Likewise.
1304 * gdb.mi/mi-nsmoribund.exp: Likewise.
1305 * gdb.mi/mi-nsthrexec.exp: Likewise.
1306 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1307 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1308 * gdb.python/py-evsignal.exp: Don't enable target-async.
1309 * gdb.python/py-evthreads.exp: Likewise.
1310 * gdb.python/py-prompt.exp: Likewise.
1311 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1312 * gdb.server/solib-list.exp: Don't enable target-async.
1313 * gdb.threads/thread-specific-bp.exp: Likewise.
1314 * lib/mi-support.exp: Adjust to use mi-async.
1316 2014-05-29 Pedro Alves <palves@redhat.com>
1319 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1320 reason, even in sync mode.
1322 2014-05-29 Pedro Alves <palves@redhat.com>
1323 Hui Zhu <hui@codesourcery.com>
1326 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1327 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1328 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1329 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1331 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1333 * config/monitor.exp (gdb_target_monitor): Replace use of
1334 "set remotebaud" by "set serial baud".
1336 2014-05-26 Andy Wingo <wingo@igalia.com>
1338 * gdb.guile/scm-breakpoint.exp:
1339 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1340 properties instead of gdb-object-properties.
1342 2014-05-26 Yao Qi <yao@codesourcery.com>
1344 * gdb.server/no-thread-db.exp: Specify source file name
1345 explicitly when setting a breakpoint.
1347 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1349 * gdb.btrace/vdso.c: New.
1350 * gdb.btrace/vdso.exp: New.
1352 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1354 * gdb.base/gcore.exp (capture_command_output): Move ...
1355 * lib/gdb.exp (capture_command_output): ... here.
1357 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1359 * gdb.btrace/data.exp: Test memory access during btrace replay.
1361 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1363 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1365 2014-05-21 Pedro Alves <palves@redhat.com>
1368 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1369 (top level): Test that output related to execution commands is
1370 sent to the console with CLI commands, but not with MI commands.
1371 Test that breakpoint events are always mirrored to the console.
1372 Also expect the new source line to be output after a "next" in
1373 async mode too. Make it a pass/fail test.
1374 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1376 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1378 2014-05-21 Pedro Alves <palves@redhat.com>
1380 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1381 Use them to test variations of "list" after reaching a breakpoint.
1382 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1383 Test "list" with listsize 10 after reaching a breakpoint.
1384 * gdb.python/python.exp (decode_line current location line
1385 number): Adjust expected line number.
1387 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1389 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1390 behavior for $args, pass it directly to "run".
1392 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1394 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1397 2014-05-21 Pedro Alves <palves@redhat.com>
1399 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1400 auto-connect-native-target off".
1401 * gdb.base/auto-connect-native-target.c: New file.
1402 * gdb.base/auto-connect-native-target.exp: New file.
1404 2014-05-21 Pedro Alves <palves@redhat.com>
1406 * gdb.base/default.exp: Test "target native" instead of "target
1409 2014-05-21 Mark Wielaard <mjw@redhat.com>
1411 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1413 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1415 Fix TLS access for -static -pthread.
1416 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1417 <HAVE_TLS> (thread_function, main): Initialize it.
1418 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1420 <$have_tls != "">: Check TLSVAR.
1422 2014-05-21 Pedro Alves <palves@redhat.com>
1424 * gdb.base/dcache-line-read-error.c: New.
1425 * gdb.base/dcache-line-read-error.exp: New.
1427 2014-05-20 Pedro Alves <palves@redhat.com>
1429 * gdb.base/compare-sections.c: New file.
1430 * gdb.base/compare-sections.exp: New file.
1432 2014-05-20 Pedro Alves <palves@redhat.com>
1434 * gdb.base/break-idempotent.c: New file.
1435 * gdb.base/break-idempotent.exp: New file.
1437 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1439 * gdb.btrace/nohist.exp: New.
1441 2014-05-20 Yao Qi <yao@codesourcery.com>
1443 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1444 gdb.reverse directory and gdb_reverse_timeout exists in board
1446 * README: Document gdb_reverse_timeout.
1448 2014-05-20 Yao Qi <yao@codesourcery.com>
1450 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1451 'test_file_name'. Treat args as a string instead of a list.
1452 (gdb_init): Rename argument 'args' by 'test_file_name'.
1454 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1456 * gdb.arch/powerpc-power.exp: New file.
1457 * gdb.arch/powerpc-power.s: New file.
1459 2014-05-16 Doug Evans <dje@google.com>
1461 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
1462 * gdb.base/completion.exp: Check that all expected files exist
1463 before doing file completion.
1465 2014-05-16 Doug Evans <dje@google.com>
1467 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1469 (do_syscall_tests_without_xml): Update.
1471 2014-05-16 Pedro Alves <palves@redhat.com>
1473 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1474 instead of "unknown output after running".
1476 2014-05-16 Yao Qi <yao@codesourcery.com>
1478 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1479 file1.txt from host at the end.
1480 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1482 2014-05-15 Doug Evans <dje@google.com>
1484 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1485 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1486 loading file. Add test for TU lookup.
1488 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1490 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1491 calling "-exec-arguments" or "set args" before running the
1494 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1496 * lib/mi-support.exp (mi_expect_stop): Expect message for
1497 inferiors that exit with non-zero exit code.
1499 2014-05-14 Yao Qi <yao@codesourcery.com>
1501 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1502 match absolute path on remote host.
1503 (test_file_list_exec_source_files): Remove "/" from the
1506 2014-05-14 Yao Qi <yao@codesourcery.com>
1508 * boards/local-remote-host-notty.exp (${board}_file): New
1511 2014-05-07 Kyle McMartin <kyle@redhat.com>
1513 Pushed by Joel Brobecker <brobecker@adacore.com>.
1514 * gdb.arch/aarch64-atomic-inst.c: New file.
1515 * gdb.arch/aarch64-atomic-inst.exp: New file.
1517 2014-05-07 Yao Qi <yao@codesourcery.com>
1519 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1520 in current context" too.
1522 2014-05-05 Keith Seitz <keiths@redhat.com>
1524 * gdb.linespec/ls-dollar.exp: Add test for linespec
1525 file:convenience_variable.
1527 2014-05-05 Yao Qi <yao@codesourcery.com>
1529 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
1530 traceframes into tfile and ctf trace files. Read data from
1531 trace file and test collected data.
1532 (gdb_collect_locals_test): Likewise.
1533 (gdb_unavailable_registers_test): Likewise.
1534 (gdb_unavailable_floats): Likewise.
1535 (gdb_collect_globals_test): Likewise.
1536 (top-level): Append "ctf" to trace_file_targets if GDB
1539 2014-05-05 Yao Qi <yao@codesourcery.com>
1541 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
1543 (gdb_collect_args_test_1): ... it. New proc.
1544 (gdb_collect_locals_test): Move some code to ...
1545 (gdb_collect_locals_test_1): ... it. New proc.
1546 (gdb_unavailable_registers_test): Move some code to ...
1547 (gdb_unavailable_registers_test_1): ... it. New proc.
1548 (gdb_unavailable_floats): Move some code to ...
1549 (gdb_unavailable_floats_1): ... it. New proc.
1551 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1553 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
1554 probes to test for bitness recognition.
1555 * gdb.arch/amd64-stap-optional-prefix.exp
1556 (test_probe_value_without_reg): New procedure.
1557 Add code to test for different kinds of bitness.
1559 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1561 PR breakpoints/16889
1562 * gdb.arch/amd64-stap-optional-prefix.S: New file.
1563 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1565 2014-05-01 Pedro Alves <palves@redhat.com>
1567 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
1568 gdb_file_cmd if no file is specified.
1569 * boards/native-extended-gdbserver.exp (gdb_load): Use the
1570 last_loaded_file to set the remote exec-file.
1572 2014-05-01 Pedro Alves <palves@redhat.com>
1574 * boards/local-remote-host.exp: New file.
1576 2014-05-01 Pedro Alves <palves@redhat.com>
1578 * boards/local-remote-host.exp: Rename to ...
1579 * boards/local-remote-host-notty.exp: ... this.
1581 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1583 * gdb.ada/dyn_arrayidx: New testcase.
1585 2014-04-26 Yao Qi <yao@codesourcery.com>
1587 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
1588 and compute the length of function main. Save it in
1590 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
1591 (top-level): Use gdb_compile to compile objects into
1592 executable and restart GDB. Remove invocation to
1593 prepare_for_testing.
1595 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
1596 Pedro Alves <palves@redhat.com>
1599 * gdb.multi/multi-attach.c: New file.
1600 * gdb.multi/multi-attach.exp: New file.
1602 2014-04-25 Pedro Alves <palves@redhat.com>
1604 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
1606 (top level): Test that "set remote conditional-breakpoints-packet
1607 off" works as intended.
1608 * gdb.base/dprintf.exp: Test that "set remote
1609 breakpoint-commands-packet off" works as intended.
1610 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
1612 (top level): Call it.
1613 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
1614 remote fast-tracepoints-packet off" works as intended.
1615 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
1616 * lib/gdb.exp (gdb_is_target_remote): ... here.
1618 2014-04-24 David Blaikie <dblaikie@gmail.com>
1620 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
1621 ensure clang would not discard them.
1622 * gdb.base/gdbvars.c: Ditto.
1623 * gdb.base/memattr.c: Ditto.
1624 * gdb.base/whatis.c: Ditto.
1625 * gdb.python/py-prettyprint.c: Ditto.
1626 * gdb.trace/actions.c: Ditto.
1627 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
1628 ensure clang would not discard it.
1630 2014-04-24 David Blaikie <dblaikie@gmail.com>
1632 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1633 clang to emit the full definition of type required by the test
1634 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1636 2014-04-24 David Blaikie <dblaikie@gmail.com>
1638 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1639 coax Clang into emitting the definition of the type.
1640 * gdb.cp/pr10728-x.h (y): Ditto.
1641 * gdb.cp/pr10728-y.cc (y): Ditto.
1643 2014-04-24 David Blaikie <dblaikie@gmail.com>
1645 * gdb.base/label.exp: XFAIL label related tests under Clang.
1646 * gdb.cp/cplabel.exp: Ditto.
1647 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
1648 under Clang those using labels.
1650 2014-04-25 Yao Qi <yao@codesourcery.com>
1652 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
1654 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
1655 partial_label and double_label.
1657 2014-04-24 David Blaikie <dblaikie@gmail.com>
1659 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
1661 2014-04-24 David Blaikie <dblaikie@gmail.com>
1663 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
1664 of the function to work across GCC and Clang.
1665 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
1666 pointer types (const void ** const V void **).
1668 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
1669 Walfred Tedeschi <walfred.tedeschi@intel.com>
1671 * Makefile.in (EXECUTABLES): Added i386-avx512.
1672 * gdb.arch/i386-avx512.c: New file.
1673 * gdb.arch/i386-avx512.exp: Likewise.
1675 2014-04-23 Keith Seitz <keiths@redhat.com>
1677 * lib/mi-support.exp (mi_list_breakpoints): Delete.
1678 (mi_make_breakpoint_table): New procedure.
1679 (mi_create_breakpoint): Use mi_make_breakpoint
1680 and return the result.
1681 (mi_make_breakpoint): New procedure.
1682 (mi_build_kv_pairs): New procedure.
1684 * gdb.mi/mi-break.exp: Remove unused globals,
1685 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
1686 All callers updated.
1687 * gdb.mi/mi-dprintf.exp: Use variable to track command
1689 Update all callers of mi_create_breakpoint and use
1690 mi_make_breakpoint_table.
1691 Remove any unused global variables.
1692 * gdb.mi/mi-nonstop.exp: Likewise.
1693 * gdb.mi/mi-nsintrall.exp: Likewise.
1694 * gdb.mi/mi-nsmoribund.exp: Likewise.
1695 * gdb.mi/mi-nsthrexec.exp: Likewise.
1696 * gdb.mi/mi-reverse.exp: Likewise.
1697 * gdb.mi/mi-simplerun.exp: Likewise.
1698 * gdb.mi/mi-stepn.exp: Likewise.
1699 * gdb.mi/mi-syn-frame.exp: Likewise.
1700 * gdb.mi/mi-until.exp: Likewise.
1701 * gdb.mi/mi-var-cp.exp: Likewise.
1702 * gdb.mi/mi-var-display.exp: Likewise.
1703 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1704 * gdb.mi/mi2-var-child.exp: Likewise.
1705 * gdb.mi/mi-vla-c99.exp: Likewise.
1706 * lib/mi-support.exp: Likewise.
1708 From Ian Lance Taylor <iant@cygnus.com>:
1709 * lib/gdb.exp (parse_args): New procedure.
1711 2014-04-23 Pedro Alves <palves@redhat.com>
1713 * gdb.base/break-unload-file.c: New file.
1714 * gdb.base/break-unload-file.exp: New file.
1715 * gdb.base/sym-file-lib.c (baz): New function.
1716 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
1718 (load): Store the segment's mapped size.
1719 (unload): New function.
1720 (unload_shlib): New function.
1721 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
1722 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
1723 set a breakpoint at baz, and call it.
1724 * gdb.base/sym-file.exp: New tests for stale breakpoint
1727 2014-04-23 Pedro Alves <palves@redhat.com>
1729 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
1730 * gdb.base/hbreak-in-shr-unsupported.c: New file.
1731 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
1732 * gdb.base/hbreak-unmapped.c: New file.
1733 * gdb.base/hbreak-unmapped.exp: New file.
1734 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
1735 * lib/gdb.exp (gdb_is_target_remote): ... here.
1737 2014-04-22 Pedro Alves <palves@redhat.com>
1739 * gdb.base/consecutive-step-over.c: New file.
1740 * gdb.base/consecutive-step-over.exp: New file.
1742 2014-04-22 Pedro Alves <palves@redhat.com>
1744 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
1745 instead of send_gdb/gdb_expect.
1747 2014-04-22 Yao Qi <yao@codesourcery.com>
1749 * lib/trace-support.exp (generate_tracefile): New procedure.
1750 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
1752 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
1753 if generate_tracefile returns 1.
1755 2014-04-18 Tom Tromey <palves@redhat.com>
1756 Pedro alves <tromey@redhat.com>
1759 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
1760 with a backtrace limit.
1761 * gdb.python/py-frame-inline.exp: Test running to an inline
1762 function with a backtrace limit, and printing the newest frame.
1763 * gdb.python/py-frame-inline.c (main): Call f.
1765 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1767 * gdb.java/jnpe.exp: Drop srcdir from untested path.
1769 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1771 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
1772 Drop prefix from unsupported source file path.
1774 2014-04-17 Yao Qi <yao@codesourcery.com>
1776 * lib/gdb.exp (with_target_charset): New proc.
1777 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
1778 with_target_charset.
1779 (test_print_strings): Likewise.
1780 (test_repeat_bytes): Likewise.
1781 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
1784 2014-04-16 Keith Seitz <keiths@redhat.com>
1787 * gdb.dwarf2/corrupt.c: New file.
1788 * gdb.dwarf2/corrupt.exp: New file.
1790 2014-04-16 Keith Seitz <keiths@redhat.com>
1793 * gdb.cp/namelessclass.cc: New file.
1794 * gdb.cp/namelessclass.exp: New file.
1795 * gdb.cp/namelessclass.S: New file.
1797 2014-04-16 Doug Evans <dje@google.com>
1799 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
1801 (gdbserver_default_get_comm_port): New function.
1802 (gdbserver_start): Check if board file provided
1803 "gdbserver,get_comm_port" and use it if so.
1804 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
1805 (gdb,socketport): Set to "stdio".
1806 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
1807 (stdio_gdbserver_template): Delete.
1808 (${board}_get_remote_address): Update.
1809 (${board}_build_remote_cmd): Delete.
1810 (${board}_get_comm_port): New function.
1811 (${board}_spawn): Update.
1812 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
1814 (${board}_get_remote_address): Update.
1815 (${board}_get_comm_port): New function.
1817 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
1819 * gdb.base/memattr.exp: Improve regexps to handle memory regions
1820 appearing in any order.
1822 2014-04-15 Doug Evans <dje@google.com>
1824 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
1825 uninitialized value of "description".
1827 2014-04-15 Keith Seitz <keiths@redhat.com>
1829 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
1830 Remove unused globals.
1831 (test_running_the_program): Likewise.
1832 (test_controlled_execution): Likewise.
1833 (test_controlling_breakpoints): Likewise.
1834 (test_program_termination): Likewise.
1836 2014-04-15 Keith Seitz <keiths@redhat.com>
1838 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
1840 (test_rbreak_creation_and_listing): Likewise.
1841 (test_ignore_count): Likewise.
1842 (test_error): Likewise.
1844 2014-04-15 Pedro Alves <palves@redhat.com>
1846 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
1847 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
1849 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1850 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1851 to sym-file-loader.c.
1852 (struct library): Forward declare.
1853 (load_shlib, lookup_function): Change prototypes.
1854 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1855 (translate_offset): Remove declarations.
1856 (get_text_addr): New declaration.
1857 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
1858 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
1860 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1861 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1862 here from sym-file-loader.h.
1863 (struct library): New structure.
1864 (load_shlib, lookup_function): Change prototypes and adjust to
1865 work with a struct library.
1866 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1867 (translate_offset): Make static.
1868 (get_text_addr): New function.
1869 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
1871 2014-04-15 Pedro Alves <palves@redhat.com>
1873 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
1875 2014-04-15 Pedro Alves <palves@redhat.com>
1877 * gdb.base/sym-file-loader.c: Include <limits.h>.
1878 (SELF_LINK): New define.
1879 (get_origin): New function.
1880 (load_shlib): Use it.
1881 * gdb.base/sym-file.exp: Don't early return if the target is
1882 remote. Use runto_main, and issue fail is that fails. Use
1884 (shlib_name): Delete.
1885 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
1887 2014-04-15 Pedro Alves <palves@redhat.com>
1889 * gdb.base/sym-file.exp: Remove regex characters from test
1890 message. Don't refer to breakpoint numbers in test messages.
1892 2014-04-14 Keith Seitz <keiths@redhat.com>
1895 * gdb.cp/var-tag.cc: New file.
1896 * gdb.cp/var-tag.exp: New file.
1897 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1898 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1899 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1900 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1902 2014-04-14 Tom Tromey <tromey@redhat.com>
1904 * gdb.cp/classes.exp (test_enums): Handle underlying type.
1905 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
1907 * gdb.cp/enum-class.exp: New file.
1908 * gdb.cp/enum-class.cc: New file.
1910 2014-04-14 Tom Tromey <tromey@redhat.com>
1912 * gdb.dwarf2/enum-type.exp: New file.
1914 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1916 * gdb.mi/mi-vla-c99.exp: New file.
1917 * gdb.mi/vla.c: New file.
1919 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1921 * gdb.base/vla-datatypes.c: New file.
1922 * gdb.base/vla-datatypes.exp: New file.
1924 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1926 * gdb.base/vla-ptr.c: New file.
1927 * gdb.base/vla-ptr.exp: New file.
1929 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1931 * gdb.dwarf2/count.exp: New file.
1933 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1935 * gdb.base/vla-sideeffect.c: New file.
1936 * gdb.base/vla-sideeffect.exp: New file.
1938 2014-04-14 David Blaikie <dblaikie@gmail.com>
1940 * gdb.mi/non-stop.c: Add return value for non-void function return
1942 * gdb.threads/staticthreads.c: Ditto.
1944 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
1945 Doug Evans <xdje42@gmail.com>
1947 * gdb.guile/scm-value.c: Improve test case.
1948 * gdb.guile/scm-value.exp: Add new test.
1950 2014-04-11 David Blaikie <dblaikie@gmail.com>
1952 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
1953 override Clang's default.
1955 2014-04-11 Joel Brobecker <brobecker@adacore.com>
1957 Revert the following changes (regressions):
1959 * gdb.base/vla-sideeffect.c: New file.
1960 * gdb.base/vla-sideeffect.exp: New file.
1962 * gdb.dwarf2/count.exp: New file.
1964 * gdb.base/vla-multi.c: New file.
1965 * gdb.base/vla-multi.exp: New file.
1967 * gdb.base/vla-ptr.c: New file.
1968 * gdb.base/vla-ptr.exp: New file.
1970 * gdb.base/vla-datatypes.c: New file.
1971 * gdb.base/vla-datatypes.exp: New file.
1973 * gdb.mi/mi-vla-c99.exp: New file.
1974 * gdb.mi/vla.c: New file.
1976 2014-04-11 Keith Seitz <keiths@redhat.com>
1979 * gdb.cp/cpsizeof.exp: New file.
1980 * gdb.cp/cpsizeof.cc: New file.
1982 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1984 * gdb.mi/mi-vla-c99.exp: New file.
1985 * gdb.mi/vla.c: New file.
1987 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1989 * gdb.base/vla-datatypes.c: New file.
1990 * gdb.base/vla-datatypes.exp: New file.
1992 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1994 * gdb.base/vla-ptr.c: New file.
1995 * gdb.base/vla-ptr.exp: New file.
1997 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1999 * gdb.base/vla-multi.c: New file.
2000 * gdb.base/vla-multi.exp: New file.
2002 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2004 * gdb.dwarf2/count.exp: New file.
2006 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2008 * gdb.base/vla-sideeffect.c: New file.
2009 * gdb.base/vla-sideeffect.exp: New file.
2011 2014-04-11 Yao Qi <yao@codesourcery.com>
2013 * gdb.base/completion.exp: Check file exists before running tests
2016 2014-04-10 Pedro Alves <palves@redhat.com>
2018 * gdb.base/cond-eval-mode.c: New file.
2019 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2020 prepare_for_testing to build the new file. Check result of
2022 (test_break, test_watch): New procedures.
2023 (top level): Use them.
2025 2014-04-08 Pierre Muller <muller@sourceware.org>
2027 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2028 Ctrl-V use for mingw hosts.
2030 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2032 * gdb.python/py-value.c: Improve test case.
2033 * gdb.python/py-value.exp: Add new test.
2035 2014-04-07 David Blaikie <dblaikie@gmail.com>
2037 * lib/compiler.c: Identify the clang compiler.
2038 * lib/compiler.cc: Ditto.
2040 2014-04-03 Yao Qi <yao@codesourcery.com>
2042 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2044 2014-04-01 Anton Blanchard <anton@samba.org>
2046 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2049 2014-04-01 Anton Blanchard <anton@samba.org>
2051 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2052 prepare_for_testing.
2054 2014-04-01 Anton Blanchard <anton@samba.org>
2056 * gdb.arch/ppc64-atomic-inst.c: Remove.
2057 * gdb.arch/ppc64-atomic-inst.S: New file.
2058 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2060 2014-03-31 Doug Evans <dje@google.com>
2062 * gdb.base/print-symbol-loading-lib.c: New file.
2063 * gdb.base/print-symbol-loading-main.c: New file.
2064 * gdb.base/print-symbol-loading.exp: New file.
2066 2014-03-31 Yao Qi <yao@codesourcery.com>
2068 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2070 2014-03-28 Joel Brobecker <brobecker@adacore.com>
2072 * gdb.ada/mi_dyn_arr: New testcase.
2074 2014-03-27 Doug Evans <dje@google.com>
2076 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2078 2014-03-27 Yao Qi <yao@codesourcery.com>
2080 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2081 if target is nios2-*-*.
2083 2014-03-26 Yao Qi <yao@codesourcery.com>
2085 * lib/gdb.exp (readline_is_used): New proc.
2086 * gdb.base/completion.exp: Move tests on command complete up.
2087 Skip the rest of tests if readline is not used.
2088 * gdb.ada/complete.exp: Skp the test if readline is not
2090 * gdb.base/filesym.exp: Likewise.
2091 * gdb.base/macscp.exp: Likewise.
2092 * gdb.base/readline-ask.exp: Likewise.
2093 * gdb.base/readline.exp: Likewise.
2094 * gdb.python/py-cmd.exp: Likewise.
2095 * gdb.trace/tfile.exp: Likewise.
2097 2014-03-26 Yao Qi <yao@codesourcery.com>
2099 * gdb.base/macscp.exp: Fix code format issues.
2101 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2103 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2104 * gdb.asm/powerpc64le.inc: New file.
2106 2014-03-25 Pedro Alves <palves@redhat.com>
2107 Doug Evans <dje@google.com>
2109 * gdb.base/source-execution.c: New file.
2110 * gdb.base/source-execution.exp: New file.
2111 * gdb.base/source-execution.gdb: New file.
2113 2014-03-24 Doug Evans <dje@google.com>
2115 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2118 2014-03-24 Hui Zhu <hui@codesourcery.com>
2119 Pedro Alves <palves@redhat.com>
2121 PR breakpoints/16101
2122 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2123 test pass/fail messages. Detect missing support for dprintf when
2124 breakpoints are actually inserted.
2125 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2126 breakpoints are actually inserted.
2127 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2130 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2132 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2134 2014-03-22 Doug Evans <xdje42@gmail.com>
2136 * gdb.python/python.exp (python not supported): Verify multi-line
2137 python command issues an error.
2138 * gdb.guile/guile.exp (guile not supported): Verify multi-line
2139 guile command issues an error.
2141 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2143 * gdb.threads/thread-specific.exp: Handle the lack of usable
2144 $this_breakpoint and $this_thread.
2146 2014-03-21 Hui Zhu <hui@codesourcery.com>
2148 * gdb.base/attach.exp (do_command_attach_tests): New.
2150 2014-03-20 Tom Tromey <tromey@redhat.com>
2151 Pedro Alves <palves@redhat.com>
2154 * gdb.base/condbreak-call-false.c: New file.
2155 * gdb.base/condbreak-call-false.exp: New file.
2157 2014-03-20 Pedro Alves <palves@redhat.com>
2159 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2161 (block_signals, unblock_signals): Delete.
2162 (child_function_2, main): Remove references to deleted variable
2165 2014-03-20 Pedro Alves <palves@redhat.com>
2167 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2168 Use pthread_kill to signal thread 2.
2169 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2170 Adjust to make the test send itself a signal rather than using the
2171 host's "kill" command.
2173 2014-03-20 Pedro Alves <palves@redhat.com>
2175 * gdb.threads/multiple-step-overs.c: New file.
2176 * gdb.threads/multiple-step-overs.exp: New file.
2177 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2178 Adjust expected infrun debug output.
2180 2014-03-20 Pedro Alves <palves@redhat.com>
2182 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2183 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2185 2014-03-20 Pedro Alves <palves@redhat.com>
2188 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2189 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2190 of gdb_test_multiple.
2191 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2192 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2194 2014-03-20 Pedro Alves <palves@redhat.com>
2196 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2197 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2199 2014-03-19 Pedro Alves <palves@redhat.com>
2201 * gdb.base/async.exp: Remove early return.
2203 2014-03-19 Pedro Alves <palves@redhat.com>
2205 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2207 2014-03-19 Pedro Alves <palves@redhat.com>
2209 * gdb.base/async.exp (test_background): Expect \r\n after
2210 "completed." in the fail pattern.
2212 2014-03-19 Pedro Alves <palves@redhat.com>
2214 * gdb.base/async.exp (test_background): New procedure.
2215 Use it for all background execution command tests.
2217 2014-03-19 Pedro Alves <palves@redhat.com>
2219 * gdb.base/async.exp: Use prepare_for_testing.
2221 2014-03-19 Pedro Alves <palves@redhat.com>
2223 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2226 2014-03-19 Pedro Alves <palves@redhat.com>
2228 * gdb.base/async.c (main): Add "jump here" and "until here" line
2230 * gdb.base/async.exp (jump_here): New global.
2231 (jump& test): Use it.
2232 (until_here): New global.
2233 (until& test): Use it.
2235 2014-03-19 Pedro Alves <palves@redhat.com>
2237 * gdb.base/async.exp: Don't frob gdb_protocol.
2239 2014-03-18 Doug Evans <xdje42@gmail.com>
2241 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2242 Fix spelling of exec-done-display.
2244 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2247 * gdb.base/gdb-sigterm.c: New file.
2248 * gdb.base/gdb-sigterm.exp: New file.
2250 2014-03-18 Pedro Alves <palves@redhat.com>
2253 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2254 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2257 2014-03-17 Joel Brobecker <brobecker@adacore.com>
2259 * gdb.ada/pckd_arr_ren: New testcase.
2261 2014-03-13 Doug Evans <xdje42@gmail.com>
2264 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2265 collect after discarding symbols.
2267 2014-03-13 Ludovic Courtès <ludo@gnu.org>
2268 Doug Evans <xdje42@gmail.com>
2270 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2271 to history survives a gc.
2273 2014-03-13 Pedro Alves <palves@redhat.com>
2275 * gdb.base/default.exp: Don't test "target procfs".
2277 2014-03-13 Pedro Alves <palves@redhat.com>
2279 * gdb.base/default.exp: Update "target child" and "target procfs"
2280 tests to not expect "Unix".
2282 2014-03-12 Tom Tromey <tromey@redhat.com>
2284 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2285 New procs. Add target-async tests.
2286 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2287 Add target-async tests.
2289 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2291 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2292 'func_start' and 'func_end' for the beginning and end of the
2293 function code, respectively.
2294 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2295 'func_end' instead of 'func' and 'main'.
2297 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2299 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2300 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2301 generate the debug info assembler source.
2303 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2305 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2306 * gdb.dwarf2/arr-subrange.exp: Likewise.
2307 * gdb.dwarf2/dwz.exp: Likewise.
2308 * gdb.dwarf2/method-ptr.exp: Likewise.
2309 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2310 * gdb.dwarf2/subrange.exp: Likewise.
2311 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2312 * gdb.dwarf2/implptrpiece.exp: Likewise.
2313 * gdb.dwarf2/nostaticblock.exp: Likewise.
2315 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2317 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2318 directory to absolute path name arguments.
2320 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2322 * gdb.ada/tagged_access: New testcase.
2324 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2326 * gdb.btrace/data.exp: Update expected output.
2328 2014-03-06 Yao Qi <yao@codesourcery.com>
2330 * gdb.trace/pr16508.exp: New file.
2332 2014-03-05 Pedro Alves <palves@redhat.com>
2335 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2337 (top level): Adjust to use it. Add tests that exercise breakpoint
2338 interaction with the code-cache.
2340 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2342 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2343 test for 'history-append!'.
2345 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2347 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2348 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2349 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2350 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2351 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2352 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2354 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2356 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2357 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2358 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2360 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2362 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2364 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2366 * gdb.dwarf2/arr-stride.c: New file.
2367 * gdb.dwarf2/arr-stride.exp: New file.
2369 2014-02-26 Pedro Alves <palves@redhat.com>
2371 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2372 that won't ever trigger. Make sure that GDB reports the correct
2373 breakpoint that caused the stop.
2375 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2378 * gdb.base/auto-load-script: New file.
2379 * gdb.base/auto-load.c: New file.
2380 * gdb.base/auto-load.exp: New file.
2383 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2385 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2387 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2388 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2390 2014-02-24 Doug Evans <dje@google.com>
2392 * lib/gdb.exp (run_on_host): Log error output if program fails.
2394 2014-02-21 Pedro Alves <palves@redhat.com>
2396 * gdb.threads/step-after-sr-lock.c: Rename to ...
2397 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2398 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2399 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2402 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2405 * gdb.arch/amd64-stap-special-operands.exp: New file.
2406 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2407 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2408 * gdb.arch/amd64-stap-triplet.S: Likewise.
2409 * gdb.arch/amd64-stap-triplet.c: Likewise.
2411 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2413 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2414 in .section pseudo-op.
2416 2014-02-20 lin zuojian <manjian2006@gmail.com>
2417 Joel Brobecker <brobecker@adacore.com>
2418 Doug Evans <xdje42@gmail.com>
2421 * gdb.dwarf2/dw2-icycle.S: New file.
2422 * gdb.dwarf2/dw2-icycle.c: New file.
2423 * gdb.dwarf2/dw2-icycle.exp: New file.
2425 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2427 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2428 operations on gdb.Value objects.
2429 * gdb.python/py-value-cc.exp: Add new test to test operations on
2432 2014-02-18 Doug Evans <dje@google.com>
2434 * Makefile.in (TESTS): New variable.
2435 (expanded_tests, expanded_tests_or_none): New variables
2436 (check-single): Pass $(expanded_tests_or_none) to runtest.
2437 (check-parallel): Only run tests in $(TESTS) if non-empty.
2438 (check/no-matching-tests-found): New rule.
2439 * README: Document TESTS makefile variable.
2441 2014-02-18 Doug Evans <dje@google.com>
2443 * Makefile.in (check-parallel): rm -rf outputs temp.
2445 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2447 Fix "ERROR: no fileid for" in the testsuite.
2448 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2450 2014-02-12 Doug Evans <dje@google.com>
2452 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2453 (MISCELLANEOUS): New variable.
2454 (clean): rm -rf $(MISCELLANEOUS).
2455 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2456 dwp live in the same directory as symlinks, with each symlink pointed
2457 to a differently named file in a different directory.
2459 2014-02-11 Doug Evans <dje@google.com>
2461 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2462 of Tcl file commands.
2464 2014-02-10 Mark Kettenis <kettenis@gnu.org>
2466 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2469 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2471 * gdb.ada/tick_length_array_enum_idx: New testcase.
2473 2014-02-10 Doug Evans <xdje42@gmail.com>
2475 * configure.ac (AC_OUTPUT): Add gdb.guile.
2476 * configure: Regenerate.
2477 * lib/gdb-guile.exp: New file.
2478 * lib/gdb.exp (get_target_charset): New function.
2479 * gdb.base/help.exp: Update expected output from "apropos apropos".
2480 * gdb.guile/Makefile.in: New file.
2481 * gdb.guile/guile.exp: New file.
2482 * gdb.guile/scm-arch.c: New file.
2483 * gdb.guile/scm-arch.exp: New file.
2484 * gdb.guile/scm-block.c: New file.
2485 * gdb.guile/scm-block.exp: New file.
2486 * gdb.guile/scm-breakpoint.c: New file.
2487 * gdb.guile/scm-breakpoint.exp: New file.
2488 * gdb.guile/scm-disasm.c: New file.
2489 * gdb.guile/scm-disasm.exp: New file.
2490 * gdb.guile/scm-equal.c: New file.
2491 * gdb.guile/scm-equal.exp: New file.
2492 * gdb.guile/scm-error.exp: New file.
2493 * gdb.guile/scm-error.scm: New file.
2494 * gdb.guile/scm-frame-args.c: New file.
2495 * gdb.guile/scm-frame-args.exp: New file.
2496 * gdb.guile/scm-frame-args.scm: New file.
2497 * gdb.guile/scm-frame-inline.c: New file.
2498 * gdb.guile/scm-frame-inline.exp: New file.
2499 * gdb.guile/scm-frame.c: New file.
2500 * gdb.guile/scm-frame.exp: New file.
2501 * gdb.guile/scm-generics.exp: New file.
2502 * gdb.guile/scm-gsmob.exp: New file.
2503 * gdb.guile/scm-iterator.c: New file.
2504 * gdb.guile/scm-iterator.exp: New file.
2505 * gdb.guile/scm-math.c: New file.
2506 * gdb.guile/scm-math.exp: New file.
2507 * gdb.guile/scm-objfile-script-gdb.in: New file.
2508 * gdb.guile/scm-objfile-script.c: New file.
2509 * gdb.guile/scm-objfile-script.exp: New file.
2510 * gdb.guile/scm-objfile.c: New file.
2511 * gdb.guile/scm-objfile.exp: New file.
2512 * gdb.guile/scm-ports.exp: New file.
2513 * gdb.guile/scm-pretty-print.c: New file.
2514 * gdb.guile/scm-pretty-print.exp: New file.
2515 * gdb.guile/scm-pretty-print.scm: New file.
2516 * gdb.guile/scm-section-script.c: New file.
2517 * gdb.guile/scm-section-script.exp: New file.
2518 * gdb.guile/scm-section-script.scm: New file.
2519 * gdb.guile/scm-symbol.c: New file.
2520 * gdb.guile/scm-symbol.exp: New file.
2521 * gdb.guile/scm-symtab-2.c: New file.
2522 * gdb.guile/scm-symtab.c: New file.
2523 * gdb.guile/scm-symtab.exp: New file.
2524 * gdb.guile/scm-type.c: New file.
2525 * gdb.guile/scm-type.exp: New file.
2526 * gdb.guile/scm-value-cc.cc: New file.
2527 * gdb.guile/scm-value-cc.exp: New file.
2528 * gdb.guile/scm-value.c: New file.
2529 * gdb.guile/scm-value.exp: New file.
2530 * gdb.guile/source2.scm: New file.
2531 * gdb.guile/types-module.cc: New file.
2532 * gdb.guile/types-module.exp: New file.
2534 2014-02-10 Yao Qi <yao@codesourcery.com>
2537 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
2538 * configure: Regenerated.
2539 * Makefile.in: New file.
2541 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2543 * gdb.python/py-framefilter.exp: Fix typo.
2545 2014-02-08 Yao Qi <yao@codesourcery.com>
2547 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
2548 that no =breakpoint-modified is emitted when breakpoints are
2549 modified through MI commands.
2551 2014-02-07 Pedro Alves <pedro@codesourcery.com>
2552 Pedro Alves <palves@redhat.com>
2554 * gdb.threads/step-after-sr-lock.c: New file.
2555 * gdb.threads/step-after-sr-lock.exp: New file.
2557 2014-02-07 Pedro Alves <palves@redhat.com>
2559 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
2561 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2563 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
2564 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
2566 2014-02-06 Doug Evans <xdje42@gmail.com>
2568 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
2571 * gdb.gdb/python-interrupts.exp: New file.
2573 2014-02-05 Yao Qi <yao@codesourcery.com>
2575 * gdb.trace/report.exp (use_collected_data): Test the output
2576 of "info threads" and "info inferiors".
2578 2014-02-05 Yao Qi <yao@codesourcery.com>
2582 2013-05-24 Yao Qi <yao@codesourcery.com>
2584 * gdb.trace/tfile.exp: Test inferior and thread.
2586 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2588 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
2590 * gdb.base/step-bt.c: Call hello via function pointer to make
2591 sure its first instruction is executed on powerpc64le-linux.
2593 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2595 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
2597 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2599 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
2600 of the test patterns for use on little-endian systems.
2602 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2604 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
2605 (decimal_vector): Fix for little-endian.
2607 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2609 * gdb.arch/sparc-sysstep.exp: New file.
2610 * gdb.arch/sparc-sysstep.c: Likewise.
2612 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
2614 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2616 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2618 2014-01-23 Tom Tromey <tromey@redhat.com>
2620 * gdb.ada/array_char_idx: New testcase.
2622 2014-01-23 Tom Tromey <tromey@redhat.com>
2625 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
2626 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2629 2014-01-23 Tom Tromey <tromey@redhat.com>
2632 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2633 string from an inferior frame.
2634 * gdb.python/py-framefilter-mi.exp: Update.
2636 2014-01-22 Doug Evans <dje@google.com>
2638 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2640 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2642 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2644 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2646 * gdb.trace/entry-values.exp: Remove excess space character from
2647 regex patterns. Handle s390 call instruction.
2649 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2651 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
2652 define "*_start" label. Make "name" static.
2653 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
2654 ${name} by references to ${name}_start.
2656 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2658 * gdb.base/info-macros.exp: Remove "debug" from the compile
2661 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2663 * gdb.dlang/demangle.exp: New file.
2665 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2667 * gdb.dlang/primitive-types.exp: New file.
2669 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2671 * configure.ac: Create gdb.dlang/Makefile.
2672 * configure: Regenerate.
2673 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
2674 * gdb.dlang/Makefile.in: New file.
2675 * lib/d-support.exp: New file.
2676 * lib/gdb.exp (skip_d_tests): New proc.
2678 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2680 * gdb.btrace/delta.exp: Check reverse stepi.
2681 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
2682 * gdb.btrace/finish.exp: New.
2683 * gdb.btrace/next.exp: New.
2684 * gdb.btrace/nexti.exp: New.
2685 * gdb.btrace/record_goto.c: Add comments.
2686 * gdb.btrace/step.exp: New.
2687 * gdb.btrace/stepi.exp: New.
2688 * gdb.btrace/multi-thread-step.c: New.
2689 * gdb.btrace/multi-thread-step.exp: New.
2690 * gdb.btrace/rn-dl-bind.c: New.
2691 * gdb.btrace/rn-dl-bind.exp: New.
2692 * gdb.btrace/data.c: New.
2693 * gdb.btrace/data.exp: New.
2694 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2696 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2698 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
2699 * gdb.btrace/exception.exp: Update.
2700 * gdb.btrace/instruction_history.exp: Update.
2701 * gdb.btrace/record_goto.exp: Update.
2702 * gdb.btrace/tailcall.exp: Update.
2703 * gdb.btrace/unknown_functions.exp: Update.
2704 * gdb.btrace/delta.exp: New.
2706 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2708 * gdb.btrace/record_goto.exp: Add backtrace test.
2709 * gdb.btrace/tailcall.exp: Add backtrace test.
2711 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2713 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
2714 * gdb.btrace/record_goto.c: New.
2715 * gdb.btrace/record_goto.exp: New.
2716 * gdb.btrace/x86-record_goto.S: New.
2718 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2720 * gdb.btrace/function_call_history.exp: Update tests.
2721 * gdb.btrace/instruction_history.exp: Update tests.
2723 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2725 * gdb.btrace/function_call_history.exp: Fix expected field
2726 order for "record function-call-history".
2727 Add new tests for "record function-call-history /c".
2728 * gdb.btrace/exception.cc: New.
2729 * gdb.btrace/exception.exp: New.
2730 * gdb.btrace/tailcall.exp: New.
2731 * gdb.btrace/x86-tailcall.S: New.
2732 * gdb.btrace/x86-tailcall.c: New.
2733 * gdb.btrace/unknown_functions.c: New.
2734 * gdb.btrace/unknown_functions.exp: New.
2735 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2737 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2739 * gdb.btrace/instruction_history.exp: Update.
2740 * gdb.btrace/function_call_history.exp: Update.
2742 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2744 * gdb.btrace/function_call_history.exp: Fix expected function
2746 * gdb.btrace/instruction_history.exp: Initialize traced.
2747 Remove traced_functions.
2749 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2751 * gdb.btrace/function_call_history.exp: Update
2752 * gdb.btrace/instruction_history.exp: Update.
2754 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2756 * gdb.btrace/enable.exp: Update expected text.
2758 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
2760 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
2763 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
2765 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
2767 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2769 * lib/gdb.exp (supports_process_record): Return true for
2770 arm*-linux*. (supports_reverse): Likewise.
2772 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
2776 * gdb.python/py-type.c: Enhance test case.
2777 * gdb.python/py-value-cc.cc: Likewise
2778 * gdb.python/py-type.exp: Add new tests.
2779 * gdb.python/py-value-cc.exp: Likewise
2781 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2782 Pedro Alves <palves@redhat.com>
2784 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
2786 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
2787 references to ${name}_start by references to ${name}.
2789 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2791 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
2793 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2795 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
2797 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
2798 Pedro Alves <palves@redhat.com>
2800 * gdb.mi/mi-info-os.exp: Connect to the target with
2803 2014-01-08 Pedro Alves <palves@redhat.com>
2805 * gdb.threads/reconnect-signal.c: New file.
2806 * gdb.threads/reconnect-signal.exp: New file.
2808 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2810 * gdb.base/source-dir.exp: New file.
2812 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2814 * gdb.ada/mi_interface: New testcase.
2816 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2818 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
2819 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
2820 gdb.ada/pp-rec-component/pck.ads: New files.
2822 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2824 * gdb.python/py-pp-integral.c: New file.
2825 * gdb.python/py-pp-integral.py: New file.
2826 * gdb.python/py-pp-integral.exp: New file.
2828 For older changes see ChangeLog-1993-2013.
2834 ;; version-control: never
2837 Copyright 2014 Free Software Foundation, Inc.
2838 Copying and distribution of this file, with or without modification,
2839 are permitted provided the copyright notice and this notice are preserved.