1 2014-10-17 Doug Evans <dje@google.com>
3 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5 * gdb.python/py-events.py: Add clear_objfiles event.
7 2014-10-17 Doug Evans <dje@google.com>
9 * gdb.python/py-objfile.exp: Test progspace attribute.
11 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
13 * gdb.guile/scm-breakpoint.exp: Do not assume any
14 directory separators when matching source file paths.
15 * gdb.python/py-breakpoint.exp: Likewise.
16 * gdb.reverse/break-precsave.exp: Likewise.
17 * gdb.reverse/break-reverse.exp: Likewise.
18 * gdb.reverse/consecutive-precsave.exp: Likewise.
19 * gdb.reverse/finish-precsave.exp: Likewise.
20 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
21 * gdb.reverse/finish-reverse.exp: Likewise.
22 * gdb.reverse/i386-precsave.exp: Likewise.
23 * gdb.reverse/i387-env-reverse.exp: Likewise.
24 * gdb.reverse/i387-stack-reverse.exp: Likewise.
25 * gdb.reverse/machinestate-precsave.exp: Likewise.
26 * gdb.reverse/machinestate.exp: Likewise.
27 * gdb.reverse/sigall-precsave.exp: Likewise.
28 * gdb.reverse/solib-precsave.exp: Likewise.
29 * gdb.reverse/step-precsave.exp: Likewise.
30 * gdb.reverse/until-precsave.exp: Likewise.
31 * gdb.reverse/watch-precsave.exp: Likewise.
32 * gdb.reverse/watch-reverse.exp: Likewise.
34 2014-10-17 Yao Qi <yao@codesourcery.com>
36 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
37 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
39 2014-10-17 Pedro Alves <palves@redhat.com>
42 * gdb.base/bg-execution-repeat.c: New file.
43 * gdb.base/bg-execution-repeat.exp: New file.
45 2014-10-17 Pedro Alves <palves@redhat.com>
48 * gdb.base/continue-all-already-running.c: New file.
49 * gdb.base/continue-all-already-running.exp: New file.
51 2014-10-17 Pedro Alves <palves@redhat.com>
54 * gdb.base/annota-input-while-running.c: New file.
55 * gdb.base/annota-input-while-running.exp: New file.
57 2014-10-17 Pedro Alves <palves@redhat.com>
59 * gdb.base/callfuncs.exp: emove references to osf.
60 * gdb.base/sigall.exp: Likewise.
61 * gdb.gdb/selftest.exp: Likewise.
62 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
63 * gdb.mi/non-stop.c: Likewise.
64 * gdb.mi/pthreads.c: Likewise.
65 * gdb.reverse/sigall-precsave.exp: Likewise.
66 * gdb.reverse/sigall-reverse.exp: Likewise.
67 * gdb.threads/pthreads.c: Likewise.
68 * gdb.threads/pthreads.exp: Likewise.
70 2014-10-17 Yao Qi <yao@codesourcery.com>
72 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
73 check 'target_info exists noargs'.
74 (test_command_prompt_position): Likewise.
75 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
77 (progvar_simple_while_test): Likewise.
78 (progvar_complex_if_while_test): Likewise.
79 (if_while_breakpoint_command_test): Likewise.
80 (infrun_breakpoint_command_test): Likewise.
81 (breakpoint_command_test): Likewise.
82 (watchpoint_command_test): Likewise.
83 (bp_deleted_in_command_test): Likewise.
84 (temporary_breakpoint_commands): Likewise.
86 2014-10-16 Yao Qi <yao@codesourcery.com>
88 * gdb.base/remotetimeout.exp: Remove noargs checking.
90 2014-10-15 Pedro Alves <palves@redhat.com>
93 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
94 * gdb.base/breakpoint-in-ro-region.exp
95 (probe_target_hardware_step): New procedure.
96 (top level): Probe hardware stepping and hardware breakpoint
97 support. Test stepping through a read-only region, with both
98 "breakpoint auto-hw" on and off and both "always-inserted" on and
101 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
103 * gdb.dlang/demangle.exp: Update for demangling changes.
105 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
107 * gdb.cp/non-trivial-retval.cc: Add new test cases.
108 * gdb.cp/non-trivial-retval.exp: Add new tests.
110 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
114 * gdb.cp/non-trivial-retval.cc: New file.
115 * gdb.cp/non-trivial-retval.exp: New file.
117 2014-10-15 Yao Qi <yao@codesourcery.com>
119 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
122 2014-10-15 Yao Qi <yao@codesourcery.com>
124 * gdb.python/py-symbol.exp: Match file base name if host is
125 remote, otherwise match file name with dir name.
126 * gdb.python/py-symtab.exp: Likewise.
127 * gdb.python/python.exp: Likewise.
129 2014-10-15 Yao Qi <yao@codesourcery.com>
131 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
133 * gdb.python/py-symtab.exp: Likewise.
134 * gdb.python/python.exp: Remove trailing ".*". Fix typo
137 2014-10-14 Joel Brobecker <brobecker@adacore.com>
139 * gdb.ada/addr_arith: New testcase.
141 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
143 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
144 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
145 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
146 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
148 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
150 * gdb.arch/stap-eval-lang-ada.S: Likewise.
151 * gdb.arch/stap-eval-lang-ada.c: Likewise.
152 * gdb.arch/stap-eval-lang-ada.exp: New file.
154 2014-10-14 Yao Qi <yao@codesourcery.com>
156 * gdb.mi/mi-var-child.c (nothing1): New function.
157 (nothing2): New function.
158 (do_children_tests): Set function pointers by nothing1 and
160 * gdb.mi/mi-var-child.exp: Step over new added statements.
161 Update test to match the new output.
162 * gdb.mi/var-cmd.c (nothing1): New function.
163 (nothing2): New function.
164 (do_children_tests): Set function pointers by nothing1 and
166 * gdb.mi/mi-var-display.exp: Update test to match output.
167 Step to the line specified by $line_dct_nothing.
168 Increase the number of lines to step.
170 2014-10-14 Yao Qi <yao@codesourcery.com>
172 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
174 * gdb.mi/mi2-var-child.exp: Likewise.
176 2014-10-13 Doug Evans <dje@google.com>
178 * gdb.python/py-objfile.exp: Change name of file name test.
180 2014-10-13 Doug Evans <dje@google.com>
182 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
183 from the start of the CU.
185 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
186 Yao Qi <yao@codesourcery.com>
188 Fix "save breakpoints" for "catch" command.
189 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
190 Remove -nonewline. Match also the added "main" line.
192 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
194 Fix "save breakpoints" for "disable $bpnum" command.
195 * gdb.base/save-bp.c (main): Add label.
196 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
198 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
200 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
202 2014-10-11 Yao Qi <yao@codesourcery.com>
204 * gdb.server/server-kill.exp: Execute command
205 "set remote trace-status-packet on" before "tstatus".
207 2014-10-11 Yao Qi <yao@codesourcery.com>
209 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
210 (main): Call getppid.
211 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
212 and continue to it. Read variable "server_pid".
214 2014-10-11 Yao Qi <yao@codesourcery.com>
216 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
218 2014-10-11 Yao Qi <yao@codesourcery.com>
220 * gdb.threads/thread-find.exp: Don't execute command
222 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
223 * gdb.threads/linux-dp.exp: Don't check the condition
224 $threads_created equals to zero.
226 2014-10-10 Pedro Alves <palves@redhat.com>
228 * gdb.base/bigcore.exp: Remove references to IRIX.
229 * gdb.base/funcargs.exp: Likewise.
230 * gdb.base/interrupt.exp: Likewise.
231 * gdb.base/mips_pro.exp: Likewise.
232 * gdb.base/nodebug.exp: Likewise.
233 * gdb.base/setvar.exp: Likewise.
234 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
236 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
237 Pedro Alves <palves@redhat.com>
240 * gdb.base/vdso-warning.c: New file.
241 * gdb.base/vdso-warning.exp: New file.
243 2014-10-02 Doug Evans <dje@google.com>
245 * gdb.base/structs.c (main): Don't run forever.
247 2014-10-02 Pedro Alves <palves@redhat.com>
249 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
250 (top level) <stop threads 1, stop threads 2>: Use it.
252 2014-10-02 Pedro Alves <palves@redhat.com>
254 * gdb.threads/break-while-running.exp (test): Add new
255 'update_thread_list' argument. Skip "info threads" if false.
256 (top level): Add new 'update_thread_list' axis.
258 2014-10-02 Pedro Alves <palves@redhat.com>
261 * gdb.base/execl-update-breakpoints.c: New file.
262 * gdb.base/execl-update-breakpoints.exp: New file.
264 2014-10-01 Pedro Alves <palves@redhat.com>
266 * gdb.base/breakpoint-in-ro-region.c: New file.
267 * gdb.base/breakpoint-in-ro-region.exp: New file.
269 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
271 * gdb.mi/mi-exit-code.exp: New file.
272 * gdb.mi/mi-exit-code.c: New file.
274 2014-09-30 Yao Qi <yao@codesourcery.com>
276 * lib/prelink-support.exp (build_executable_own_libs): Error if
277 the target isn't native.
279 2014-09-30 Yao Qi <yao@codesourcery.com>
281 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
284 2014-09-22 Pedro Alves <palves@redhat.com>
286 * gdb.threads/break-while-running.exp: New file.
287 * gdb.threads/break-while-running.c: New file.
289 2014-09-19 Yao Qi <yao@codesourcery.com>
291 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
292 Invoke test. Restart GDB with --readnow and invoke test again.
294 2014-09-19 Yao Qi <yao@codesourcery.com>
296 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
297 proc set_breakpoint_on_gcd_function. Invoke
298 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
299 invoke set_breakpoint_on_gcd_function again.
301 2014-09-18 Doug Evans <dje@google.com>
303 * gdb.dwarf2/symtab-producer.exp: New file.
305 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
307 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
308 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
309 * gdb.base/global-var-nested-by-dso.c: Likewise.
310 * gdb.base/global-var-nested-by-dso.exp: Likewise.
312 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
313 Pedro Alves <palves@redhat.com>
315 * gdb.base/watch-bitfields.exp: Pass string other than test file
316 name to prepare_for_testing.
317 (watch): New procedure.
318 (expect_watchpoint): Use with_test_prefix.
319 (top level): Factor out tests to ...
320 (test_watch_location, test_regular_watch): ... these new
321 procedures, and use with_test_prefix and gdb_continue_to_end.
323 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
326 * gdb.base/watch-bitfields.exp: New file.
327 * gdb.base/watch-bitfields.c: New file.
329 2014-09-16 Pedro Alves <palves@redhat.com>
331 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
332 software and hardware addresses, not software address against
335 2014-09-16 Pedro Alves <palves@redhat.com>
337 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
338 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
340 2014-09-16 Pedro Alves <palves@redhat.com>
342 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
344 * gdb.base/a2-run.exp: Remove all code guarded by istarget
345 "*-*-vxworks*" throughout.
346 * gdb.base/break.exp: Likewise.
347 * gdb.base/default.exp: Likewise.
348 * gdb.base/scope.exp: Likewise.
349 * gdb.base/sepdebug.exp: Likewise.
350 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
352 * gdb.base/run.c: Likewise.
353 * gdb.base/sepdebug.c: Likewise.
354 * gdb.hp/gdb.aCC/run.c: Likewise.
355 * gdb.reverse/until-reverse.c: Likewise.
356 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
358 2014-09-16 Yao Qi <yao@codesourcery.com>
360 * boards/local-remote-host-native.exp: New file.
362 2014-09-14 Doug Evans <xdje42@gmail.com>
364 * gdb.threads/queue-signal.c (thread_count): New variable.
365 (thread_count_mutex, thread_count_condvar): New variables.
366 (incr_thread_count, wait_all_threads_running): New functions.
367 (main): Wait for all threads to be in their thread functions.
369 2014-09-13 Doug Evans <xdje42@gmail.com>
371 * gdb.threads/queue-signal.c: New file.
372 * gdb.threads/queue-signal.exp: New file.
374 2014-09-13 Doug Evans <xdje42@gmail.com>
376 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
377 be consistent with what default_gdb_init uses.
378 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
379 the plain text of the prompt. Add some logging printfs.
380 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
382 2014-09-12 Pedro Alves <palves@redhat.com>
384 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
385 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
386 * gdb.arch/i386-size-overlap.exp: Likewise.
387 * gdb.arch/i386-size.exp: Likewise.
388 * gdb.arch/i386-unwind.exp: Likewise.
389 * gdb.base/a2-run.exp: Likewise.
390 * gdb.base/break.exp: Likewise.
391 * gdb.base/charset.exp: Likewise.
392 * gdb.base/chng-syms.exp: Likewise.
393 * gdb.base/commands.exp: Likewise.
394 * gdb.base/dbx.exp: Likewise.
395 * gdb.base/find.exp: Likewise.
396 * gdb.base/funcargs.exp: Likewise.
397 * gdb.base/jit-simple.exp: Likewise.
398 * gdb.base/reread.exp: Likewise.
399 * gdb.base/sepdebug.exp: Likewise.
400 * gdb.base/step-bt.exp: Likewise.
401 * gdb.cp/mb-inline.exp: Likewise.
402 * gdb.cp/mb-templates.exp: Likewise.
403 * gdb.objc/basicclass.exp: Likewise.
404 * gdb.threads/killed.exp: Likewise.
406 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
409 * gdb.arch/powerpc-stackless.S: New file.
410 * gdb.arch/powerpc-stackless.exp: New file.
412 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
414 * gdb.base/attach.c: Include unistd.h.
415 (main): Call alarm. Add label postloop.
416 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
417 gdb_breakpoint, gdb_continue_to_breakpoint.
418 (test_command_line_attach_run): Kill ${testpid} in one exit path.
420 2014-09-11 Pedro Alves <palves@redhat.com>
423 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
424 * gdb.base/attach.exp (test_command_line_attach_run): New
426 (top level): Call it.
428 2014-09-11 Pedro Alves <palves@redhat.com>
430 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
431 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
432 (do_command_attach_tests): Use spawn_wait_for_attach.
433 * gdb.base/solib-overlap.exp: Likewise.
434 * gdb.multi/multi-attach.exp: Likewise.
435 * gdb.python/py-prompt.exp: Likewise.
436 * gdb.python/py-sync-interp.exp: Likewise.
437 * gdb.server/ext-attach.exp: Likewise.
439 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
441 * gdb.fortran/array-element.exp: Remove unexpected "continue"
442 command in testcase. Simplify testcase.
444 2014-09-10 Joel Brobecker <brobecker@adacore.com>
446 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
448 2014-09-10 Joel Brobecker <brobecker@adacore.com>
450 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
452 2014-09-10 Joel Brobecker <brobecker@adacore.com>
454 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
456 2014-09-10 Joel Brobecker <brobecker@adacore.com>
458 * gdb.dwarf2/dynarr-ptr.c: New file.
459 * gdb.dwarf2/dynarr-ptr.exp: New file.
461 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
463 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
464 of 30 rather than hardcoding 120 for a slow test case. Take the
465 `gdb,timeout' target setting into account for this calculation.
466 Don't extend the timeout for the test cases that don't need it.
468 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
470 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
471 a factor of 2 for a slow test case. Take the `gdb,timeout'
472 target setting into account for this calculation.
473 * gdb.reverse/until-precsave.exp: Increase the timeout by
474 a factor of 15 and 3 respectively rather than adding 120
475 for a pair of slow test cases. Take the `gdb,timeout'
476 target setting into account for this calculation.
478 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
480 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
481 timeout, don't pass one down to gdb_expect.
482 (gdb_expect): Rework timeout selection.
484 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
486 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
487 exception on timeout.
488 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
489 (gdbserver_start_extended): Catch any `gdbserver_start' error
491 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
492 * lib/mi-support.exp (mi_gdb_target_load): Catch any
493 `gdbserver_gdb_load' error exceptions.
495 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
497 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
498 120 on waiting for the TCP socket to open.
500 2014-09-09 Doug Evans <xdje42@gmail.com>
502 * gdb.base/default.exp (show_conv_list): Add _caller_is,
503 _caller_matches, _any_caller_is, _any_caller_matches.
505 2014-09-09 Doug Evans <xdje42@gmail.com>
507 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
509 2014-09-09 Yao Qi <yao@codesourcery.com>
511 * gdb.mi/mi-var-display.exp: Set print symbol off.
513 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
516 * gdb.base/commands.exp: Add tests to verify user-defined
517 commands with empty bodies.
518 * gdb.python/py-cmd.exp: Test that we don't show user-defined
519 python commands in `show user command`.
520 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
521 scheme commands in `show user command`.
523 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
526 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
527 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
528 * gdb.python/py-framefilter-invalidarg.exp: New file.
529 * gdb.python/py-framefilter-invalidarg.py: New file.
531 2014-09-06 Doug Evans <xdje42@gmail.com>
534 * gdb.python/py-caller-is.c: New file.
535 * gdb.python/py-caller-is.exp: New file.
537 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
540 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
541 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
543 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
546 * gdb.fortran/print-formatted.exp: New file.
547 * gdb.fortran/print-formatted.f90: Likewise.
549 2014-09-03 Sasha Smundak <asmundak@google.com>
551 * gdb.python/py-frame.exp: Test Frame.read_register.
553 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
556 * gdb.python/py-completion.exp: New file.
557 * gdb.python/py-completion.py: Likewise.
559 2014-08-28 Doug Evans <dje@google.com>
561 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
562 eax,etc. are live with values set by gdb and thus the compiler can't
564 * gdb.arch/i386-pseudo.c (main): Ditto.
566 2014-08-27 Doug Evans <dje@google.com>
568 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
570 2014-08-25 Doug Evans <dje@google.com>
572 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
575 2014-08-25 Doug Evans <dje@google.com>
577 * gdb.threads/thread-execl.exp: #include <stdio.h>.
579 2014-08-24 Yao Qi <yao@codesourcery.com>
581 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
583 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
585 2014-08-22 Doug Evans <dje@google.com>
588 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
589 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
590 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
592 2014-08-22 Yao Qi <yao@codesourcery.com>
594 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
595 * gdb.python/py-finish-breakpoint2.exp: Likewise.
596 * gdb.python/python.exp: Likewise. Use .py file on the host
597 instead of the build.
599 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
601 * gdb.threads/gcore-stale-thread.c: New file.
602 * gdb.threads/gcore-stale-thread.exp: New file.
604 2014-08-21 Pedro Alves <palves@redhat.com>
606 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
607 * gdb.base/gcore-relro-pie.exp: Likewise.
608 * gdb.base/gcore-relro.exp: Likewise.
609 * gdb.base/gcore.exp: Likewise.
610 * gdb.base/print-symbol-loading.exp: Likewise.
611 * gdb.threads/gcore-thread.exp: Likewise.
612 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
614 2014-08-20 Pedro Alves <palves@redhat.com>
615 Jan Kratochvil <jan.kratochvil@redhat.com>
617 * Makefile.in (EXTRA_RULES, CC): New variables, get from
619 (EXPECT): Handle READ1 being set.
620 (all): Depend on EXTRA_RULES.
621 (check-read1, expect-read1, read1.so, read1): New rules.
622 * README (Testsuite Parameters): Document the READ1 make variable.
623 (Race detection): New section.
624 * configure: Regenerate.
625 * configure.ac: If build==host==target, and running under a
626 GNU/glibc system, add read1 to the extra Makefile rules.
627 (EXTRA_RULES): AC_SUBST it.
628 * lib/read1.c: New file.
630 2014-08-20 Joel Brobecker <brobecker@adacore.com>
632 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
633 the handling of variables declared as a typedef to an array
634 which a DW_AT_data_location attribute.
636 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
637 Pedro Alves <palves@redhat.com>
641 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
644 2014-08-19 Pedro Alves <palves@redhat.com>
646 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
648 2014-08-19 Yao Qi <yao@codesourcery.com>
650 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
653 2014-08-18 David Blaikie <dblaikie@gmail.com>
655 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
657 2014-08-18 Joel Brobecker <brobecker@adacore.com>
659 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
660 attribute in array range.
662 2014-08-18 Joel Brobecker <brobecker@adacore.com>
664 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
666 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
669 * gdb.cp/pr17132.cc: New file.
670 * gdb.cp/pr17132.exp: New file.
672 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
674 * gdb.python/py-xmethods.py (A_getarrayind)
675 (E_method_char_worker.__call__, E_method_int_worker.__call__):
676 Use 'print' with function call syntax.
677 (E_method_matcher.match): Fix tab vs space indentation mixup.
679 2014-08-15 Yao Qi <yao@codesourcery.com>
681 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
684 2014-08-15 Yao Qi <yao@codesourcery.com>
686 * gdb.cp/casts.exp: Set print symbol off.
687 * gdb.cp/class2.exp: Likewise.
688 * gdb.cp/overload.exp: Likewise.
689 * gdb.cp/templates.exp: Likewise.
691 2014-08-11 Doug Evans <dje@google.com>
693 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
694 (test_load_shlib): Update.
696 2014-08-09 Yao Qi <yao@codesourcery.com>
698 * gdb.base/display.exp: Invoke is_address_zero_readable.
699 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
700 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
701 * gdb.base/hbreak-unmapped.exp: Return if
702 is_address_zero_readable returns true.
703 * gdb.base/signest.exp: Likewise.
704 * gdb.base/signull.exp: Likewise.
705 * gdb.base/sigbpt.exp: Likewise.
706 * gdb.guile/scm-disasm.exp: Do the test if
707 is_address_zero_readable returns false.
708 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
709 * gdb.python/py-arch.exp: Likewise.
710 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
711 * lib/gdb.exp (is_address_zero_readable): New proc.
713 2014-08-09 Yao Qi <yao@codesourcery.com>
716 * gdb.mi/mi-var-display.exp: Make test messages unique.
718 2014-08-04 Tom Tromey <tromey@redhat.com>
720 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
723 2014-08-04 Tom Tromey <tromey@redhat.com>
725 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
728 2014-08-01 Joel Brobecker <brobecker@adacore.com>
730 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
731 inner_vla_struct_object_size.
732 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
735 2014-07-30 Pedro Alves <palves@redhat.com>
737 * gdb.threads/signal-command-handle-nopass.exp (test): Add
740 2014-07-29 Yao Qi <yao@codesourcery.com>
743 * gdb.base/until-nodebug.exp: New.
745 2014-07-28 Doug Evans <xdje42@gmail.com>
748 * gdb.guile/scm-parameter.exp: Add tests for trying to create
749 previously existing parameter, and previously ambiguously spelled
752 2014-07-28 Will Newton <will.newton@linaro.org>
754 * gdb.base/varargs.exp: Remove KFAILs for ARM.
756 2014-07-26 Ludovic Courtès <ludo@gnu.org>
757 Doug Evans <xdje42@gmail.com>
760 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
762 2014-07-25 Pedro Alves <palves@redhat.com>
764 * gdb.threads/signal-command-handle-nopass.c: New file.
765 * gdb.threads/signal-command-handle-nopass.exp: New file.
766 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
767 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
768 * gdb.threads/signal-delivered-right-thread.c: New file.
769 * gdb.threads/signal-delivered-right-thread.exp: New file.
771 2014-07-25 Pedro Alves <palves@redhat.com>
773 * gdb.base/double-prompt-target-event-error.exp
774 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
776 (cancel_pagination_in_target_event): Rework double prompt
778 * gdb.base/paginate-after-ctrl-c-running.exp
779 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
781 * gdb.base/paginate-bg-execution.exp
782 (test_bg_execution_pagination_return)
783 (test_bg_execution_pagination_cancel): Remove '-notransfer
785 * gdb.base/paginate-execution-startup.exp
786 (test_fg_execution_pagination_return)
787 (test_fg_execution_pagination_cancel): Remove '-notransfer
789 * gdb.base/paginate-inferior-exit.exp
790 (test_paginate_inferior_exited): Remove '-notransfer <return>'
792 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
793 * lib/gdb.exp (pagination_prompt): Run text through
795 (gdb_test_multiple): Match $pagination_prompt instead of
797 (string_to_regexp): Move to lib/gdb-utils.exp.
799 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
801 * gdb.arch/amd64-entry-value-paramref.S: New file.
802 * gdb.arch/amd64-entry-value-paramref.cc: New file.
803 * gdb.arch/amd64-entry-value-paramref.exp: New file.
804 * gdb.arch/amd64-optimout-repeat.S: New file.
805 * gdb.arch/amd64-optimout-repeat.c: New file.
806 * gdb.arch/amd64-optimout-repeat.exp: New file.
808 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
811 * gdb.base/statistics.exp: New file.
813 2014-07-17 Doug Evans <dje@google.com>
816 * gdb.base/maint.exp: Update testing of per-command stats.
818 2014-07-16 Pedro Alves <palves@redhat.com>
820 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
821 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
822 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
823 (tfile_write_buf): New functions.
824 (add_memory_block): Rewrite using the above.
825 (adjust_function_address): New function.
826 (FUNCTION_ADDRESS): New macro.
827 (write_basic_trace_file): Remove short_x local, and use
828 tfile_write_16. Change type of func_addr local to unsigned long
829 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
830 here. Cast argument of add_memory_block to char pointer.
831 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
832 (main): Remove parameters.
833 * gdb.trace/tfile.exp: Remove nowarnings.
835 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
837 * gdb.base/debug-expr.exp: Test string evaluation with
838 "debug expression" on.
840 2014-07-15 Pedro Alves <palves@redhat.com>
842 * gdb.base/reread.exp: Use clean_restart.
844 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
846 * gdb.arch/avr-flash-qualifer.c: New.
847 * gdb.arch/avr-flash-qualifer.exp: New.
849 2014-07-14 Pedro Alves <palves@redhat.com>
851 * gdb.base/paginate-after-ctrl-c-running.c: New file.
852 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
854 2014-07-14 Pedro Alves <palves@redhat.com>
856 * gdb.base/double-prompt-target-event-error.c: New file.
857 * gdb.base/double-prompt-target-event-error.exp: New file.
859 2014-07-14 Pedro Alves <palves@redhat.com>
862 * gdb.base/paginate-inferior-exit.c: New file.
863 * gdb.base/paginate-inferior-exit.exp: New file.
865 2014-07-14 Pedro Alves <palves@redhat.com>
868 * gdb.base/paginate-bg-execution.c: New file.
869 * gdb.base/paginate-bg-execution.exp: New file.
871 2014-07-14 Pedro Alves <palves@redhat.com>
874 * gdb.base/paginate-execution-startup.c: New file.
875 * gdb.base/paginate-execution-startup.exp: New file.
876 * lib/gdb.exp (pagination_prompt): New global.
877 (default_gdb_spawn): New procedure, factored out from
879 (default_gdb_start): Adjust to call default_gdb_spawn.
880 (gdb_spawn): New procedure.
882 2014-07-14 Pedro Alves <palves@redhat.com>
884 * lib/gdb.exp (gdb_assert): New procedure.
885 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
887 2014-07-14 Pedro Alves <palves@redhat.com>
889 * gdb.base/execution-termios.c: New file.
890 * gdb.base/execution-termios.exp: New file.
892 2014-07-14 Tom Tromey <tromey@redhat.com>
894 * gdb.cp/vla-cxx.cc: New file.
895 * gdb.cp/vla-cxx.exp: New file.
897 2014-07-14 Tom Tromey <tromey@redhat.com>
899 * gdb.reverse/rerun-prec.c: New file.
900 * gdb.reverse/rerun-prec.exp: New file.
902 2014-07-12 Maciej W. Rozycki <macro@mips.com>
903 Maciej W. Rozycki <macro@codesourcery.com>
905 * lib/gdb-utils.exp: New file.
906 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
907 inline `gdb_init_command' processing.
908 (gdb_start_cmd): Likewise.
909 * lib/mi-support.exp (mi_run_cmd): Likewise.
910 * README: Document `gdb_init_command' and `gdb_init_commands'.
912 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
914 Fix false FAIL running under a very long directory name.
915 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
916 and "set print elements 10000". Twice.
918 2014-07-11 Yao Qi <yao@codesourcery.com>
920 * gdb.base/exprs.exp: "set print symbol off".
922 2014-07-11 Pedro Alves <palves@redhat.com>
924 * gdb.threads/kill.c: New file.
925 * gdb.threads/kill.exp: New file.
927 2014-07-10 Yao Qi <yao@codesourcery.com>
929 * gdb.trace/tfile.c (write_basic_trace_file)
930 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
931 address written to trace file.
933 2014-07-09 Pedro Alves <palves@redhat.com>
935 * gdb.base/attach-wait-input.exp: New file.
936 * gdb.base/attach-wait-input.c: New file.
938 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
940 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
941 setting up test structures.
942 (main): Call new test function.
943 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
944 test function, continue into test function and walk test
947 2014-07-02 Yao Qi <yao@codesourcery.com>
949 * gdb.trace/entry-values.c: Define labels 'foo_start' and
950 'bar_start' at the beginning of functions 'foo' and 'bar'
952 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
953 instead of 'foo' and 'bar'.
955 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
957 * gdb.btrace/segv.exp: New.
958 * gdb.btrace/segv.c: New.
960 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
962 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
965 2014-06-30 Mark Wielaard <mjw@redhat.com>
967 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
968 vulture, vilify, villar): New volatile array constants.
969 (vindictive, vegetation): New const volatile array constants.
970 * gdb.base/volatile.exp: Test volatile and const volatile array
973 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
975 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
976 target lacks support for awatch, rwatch, or hbreak.
978 2014-06-27 Yao Qi <yao@codesourcery.com>
980 * gdb.multi/dummy-frame-restore.exp: New.
981 * gdb.multi/dummy-frame-restore.c: New.
983 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
985 * gdb.btrace/gcore.exp: New.
987 2014-06-23 Pedro Alves <palves@redhat.com>
989 * gdb.base/watchpoint-reuse-slot.c: New file.
990 * gdb.base/watchpoint-reuse-slot.exp: New file.
992 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
994 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
995 progspace's filename in 'info', 'enable' and 'disable' command
998 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1000 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1001 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1002 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1004 2014-06-20 Gary Benson <gbenson@redhat.com>
1006 * gdb.arch/i386-avx.exp: Fix include file location.
1007 * gdb.arch/i386-sse.exp: Likewise.
1009 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1011 * gdb.dlang/expression.exp: New file.
1013 2014-06-19 Pedro Alves <palves@redhat.com>
1015 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1017 (top level): ... here. Iterate running tests under different
1018 scheduler-locking settings.
1020 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
1022 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1023 to DW_FORM_addr and use non-zero addresses.
1025 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1028 * gdb.python/py-xmethods.cc: Add global function call counters and
1029 increment them in their respective functions. Remove "cout"
1031 * gdb.python/py-xmethods.exp: Make tests check the global function
1032 call counters instead of depending on inferior IO.
1034 2014-06-18 Don Breazeal <donb@codesourcery.com>
1036 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1038 (explicit_fork_parent_follow): Deleted procedure.
1039 (explicit_fork_child_follow): Deleted procedure.
1040 (test_follow_fork): New procedure.
1041 (do_fork_tests): Replace calls to deleted procedures with
1042 calls to test_follow_fork and reset GDB for subsequent
1045 2014-06-17 Yao Qi <yao@codesourcery.com>
1047 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1050 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
1052 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1053 Initialize ptr and S explicitly.
1054 (skip_type_update_when_not_use_rtti_test): Likewise.
1056 2014-06-16 Keith Seitz <keiths@redhat.com>
1059 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1060 the inferior is started.
1062 2014-06-16 Pedro Alves <palves@redhat.com>
1064 * gdb.base/break-main-file-remove-fail.c: New file.
1065 * gdb.base/break-main-file-remove-fail.exp: New file.
1066 * gdb.base/break-unload-file.exp: Use build_executable instead of
1067 prepare_for_testing.
1068 (test_break): New parameter "initial_load". Handle it.
1069 (top level): Add initial_load cmdline/file axis.
1071 2014-06-12 Tom Tromey <tromey@redhat.com>
1073 * gdb.base/completion.exp: Don't use directory name in test.
1075 2014-06-09 Gary Benson <gbenson@redhat.com>
1077 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1078 separate the always-available ANSI-standard signals from the
1079 signals that require checking.
1081 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1085 2014-06-07 Keith Seitz <keiths@redhat.com>
1089 * gdb.cp/var-tag.cc: New file.
1090 * gdb.cp/var-tag.exp: New file.
1091 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1092 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1093 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1094 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1096 2014-06-06 Doug Evans <xdje42@gmail.com>
1098 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1100 2014-06-06 Pedro Alves <palves@redhat.com>
1102 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1103 in target debug output instead of looking at RSP packets,
1104 disabling the test on any target that uses hardware stepping.
1107 2014-06-06 Pedro Alves <palves@redhat.com>
1109 * gdb.base/break-unload-file.exp: Fix typo.
1111 2014-06-06 Yao Qi <yao@codesourcery.com>
1113 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1114 from "jit_function" to "^jit_function".
1116 2014-06-06 Yao Qi <yao@codesourcery.com>
1118 * gdb.base/async.c (foo): Add one statement.
1119 * gdb.base/async.exp: Get the next instruction address and
1120 match the output of "nexti" by instruction address. Match
1121 the hex address in the output of "finish".
1123 2014-06-06 Gary Benson <gbenson@redhat.com>
1125 * gdb.base/call-signals.c: Remove preprocessor conditionals
1126 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1127 SIGSEGV and SIGTERM.
1128 * gdb.base/sigall.c: Likewise.
1129 * gdb.base/unwindonsignal.c: Likewise.
1130 * gdb.reverse/sigall-reverse.c: Likewise.
1132 2014-06-06 Yao Qi <yao@codesourcery.com>
1134 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1135 readable, skip the test.
1137 2014-06-06 Yao Qi <yao@codesourcery.com>
1139 * gdb.threads/staticthreads.c (thread_function): Move the line
1140 setting breakpoint on forward.
1141 * gdb.threads/staticthreads.exp: Update comments.
1143 2014-06-05 Ludovic Courtès <ludo@gnu.org>
1145 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1146 "history-append! type error".
1148 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1150 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1151 erroneous dprintf expected input.
1153 2014-06-04 Doug Evans <xdje42@gmail.com>
1155 * gdb.guile/scm-generics.exp: Delete.
1157 2014-06-04 Doug Evans <xdje42@gmail.com>
1159 * gdb.guile/scm-breakpoint.exp: Update.
1160 Add tests for breakpoint registration.
1162 2014-06-04 Tom Tromey <tromey@redhat.com>
1164 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1166 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1167 inner_vla_struct, vla_union types. Initialize objects of those
1168 types and compute their sizes.
1170 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1171 Hui Zhu <hui@codesourcery.com>
1173 * gdb.base/fileio.exp: Add test for shell not available as well as
1175 * gdb.base/fileio.c (test_system): Check for shell twice.
1177 2014-06-04 Yao Qi <yao@codesourcery.com>
1179 * gdb.base/auto-connect-native-target.exp: Remove redundant
1180 space from the regexp pattern.
1182 2014-06-04 Yao Qi <yao@codesourcery.com>
1184 * gdb.base/default.exp: Replace "child" with "native" in
1187 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1189 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1190 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1191 * gdb.python/py-xmethods.py: Python script supporting the
1192 new testcase and tests.
1194 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1195 Pedro Alves <palves@redhat.com>
1197 PR breakpoints/17000
1198 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1199 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1201 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1203 * gdb.base/subst.exp: Add tests to verify partial path matching
1206 2014-06-03 Pedro Alves <palves@redhat.com>
1208 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1209 target that doesn't use software single-stepping.
1211 2014-06-03 Pedro Alves <palves@redhat.com>
1213 PR breakpoints/17000
1214 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1215 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1217 2014-06-02 Doug Evans <xdje42@gmail.com>
1219 * gdb.guile/scm-parameter.exp: New file.
1221 2014-06-02 Doug Evans <xdje42@gmail.com>
1223 * gdb.guile/scm-cmd.c: New file.
1224 * gdb.guile/scm-cmd.exp: New file.
1226 2014-06-02 Doug Evans <xdje42@gmail.com>
1228 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1229 pretty-printer lookup.
1230 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1231 (make-pp_s-printer): Call it.
1232 (make-pretty-printer-from-dict): New function.
1233 (lookup-pretty-printer-maker-from-dict): New function.
1234 (*pretty-printer*): Simplify.
1235 (make-objfile-pp_s-printer): New function.
1236 (install-objfile-pretty-printers!): New function.
1237 (make-progspace-pp_s-printer): New function.
1238 (install-progspace-pretty-printers!): New function.
1239 * gdb.guile/scm-progspace.c: New file.
1240 * gdb.guile/scm-progspace.exp: New file.
1242 2014-06-02 Pedro Alves <palves@redhat.com>
1244 * gdb.base/dprintf-bp-same-addr.c: New file.
1245 * gdb.base/dprintf-bp-same-addr.exp: New file.
1247 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1249 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1250 * gdb.arch/powerpc-power.s: Likewise.
1252 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1254 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1256 2014-06-01 Yao Qi <yao@codesourcery.com>
1258 * gdb.base/watchpoint.exp (test_watch_location): Check null
1259 pointer can be dereferenced. If not, do the test, otherwise
1262 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1264 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1266 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1268 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1270 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1271 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1272 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1273 * gdb.arch/amd64-invalid-stack-top.c: New file.
1274 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1276 2014-05-30 Pedro Alves <palves@redhat.com>
1278 PR breakpoints/17000
1279 * gdb.base/sss-bp-on-user-bp.c: New file.
1280 * gdb.base/sss-bp-on-user-bp.exp: New file.
1282 2014-05-30 David Blaikie <dblaikie@gmail.com>
1284 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1285 gnu_inline semantics via attribute.
1286 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1287 source explicitly specifies the required semantics.
1289 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1291 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1293 2014-05-29 Pedro Alves <palves@redhat.com>
1294 Tom Tromey <tromey@redhat.com>
1296 * gdb.base/async-shell.exp: Don't enable target-async.
1297 * gdb.base/async.exp
1298 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1300 (top level): Don't test with "target-async".
1301 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1302 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1303 * gdb.base/inferior-died.exp: Don't enable target-async.
1304 * gdb.base/interrupt-noterm.exp: Likewise.
1305 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1306 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1307 * gdb.mi/mi-nonstop.exp: Likewise.
1308 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1309 * gdb.mi/mi-nsintrall.exp: Likewise.
1310 * gdb.mi/mi-nsmoribund.exp: Likewise.
1311 * gdb.mi/mi-nsthrexec.exp: Likewise.
1312 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1313 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1314 * gdb.python/py-evsignal.exp: Don't enable target-async.
1315 * gdb.python/py-evthreads.exp: Likewise.
1316 * gdb.python/py-prompt.exp: Likewise.
1317 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1318 * gdb.server/solib-list.exp: Don't enable target-async.
1319 * gdb.threads/thread-specific-bp.exp: Likewise.
1320 * lib/mi-support.exp: Adjust to use mi-async.
1322 2014-05-29 Pedro Alves <palves@redhat.com>
1325 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1326 reason, even in sync mode.
1328 2014-05-29 Pedro Alves <palves@redhat.com>
1329 Hui Zhu <hui@codesourcery.com>
1332 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1333 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1334 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1335 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1337 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1339 * config/monitor.exp (gdb_target_monitor): Replace use of
1340 "set remotebaud" by "set serial baud".
1342 2014-05-26 Andy Wingo <wingo@igalia.com>
1344 * gdb.guile/scm-breakpoint.exp:
1345 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1346 properties instead of gdb-object-properties.
1348 2014-05-26 Yao Qi <yao@codesourcery.com>
1350 * gdb.server/no-thread-db.exp: Specify source file name
1351 explicitly when setting a breakpoint.
1353 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1355 * gdb.btrace/vdso.c: New.
1356 * gdb.btrace/vdso.exp: New.
1358 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1360 * gdb.base/gcore.exp (capture_command_output): Move ...
1361 * lib/gdb.exp (capture_command_output): ... here.
1363 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1365 * gdb.btrace/data.exp: Test memory access during btrace replay.
1367 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1369 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1371 2014-05-21 Pedro Alves <palves@redhat.com>
1374 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1375 (top level): Test that output related to execution commands is
1376 sent to the console with CLI commands, but not with MI commands.
1377 Test that breakpoint events are always mirrored to the console.
1378 Also expect the new source line to be output after a "next" in
1379 async mode too. Make it a pass/fail test.
1380 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1382 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1384 2014-05-21 Pedro Alves <palves@redhat.com>
1386 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1387 Use them to test variations of "list" after reaching a breakpoint.
1388 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1389 Test "list" with listsize 10 after reaching a breakpoint.
1390 * gdb.python/python.exp (decode_line current location line
1391 number): Adjust expected line number.
1393 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1395 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1396 behavior for $args, pass it directly to "run".
1398 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1400 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1403 2014-05-21 Pedro Alves <palves@redhat.com>
1405 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1406 auto-connect-native-target off".
1407 * gdb.base/auto-connect-native-target.c: New file.
1408 * gdb.base/auto-connect-native-target.exp: New file.
1410 2014-05-21 Pedro Alves <palves@redhat.com>
1412 * gdb.base/default.exp: Test "target native" instead of "target
1415 2014-05-21 Mark Wielaard <mjw@redhat.com>
1417 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1419 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1421 Fix TLS access for -static -pthread.
1422 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1423 <HAVE_TLS> (thread_function, main): Initialize it.
1424 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1426 <$have_tls != "">: Check TLSVAR.
1428 2014-05-21 Pedro Alves <palves@redhat.com>
1430 * gdb.base/dcache-line-read-error.c: New.
1431 * gdb.base/dcache-line-read-error.exp: New.
1433 2014-05-20 Pedro Alves <palves@redhat.com>
1435 * gdb.base/compare-sections.c: New file.
1436 * gdb.base/compare-sections.exp: New file.
1438 2014-05-20 Pedro Alves <palves@redhat.com>
1440 * gdb.base/break-idempotent.c: New file.
1441 * gdb.base/break-idempotent.exp: New file.
1443 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1445 * gdb.btrace/nohist.exp: New.
1447 2014-05-20 Yao Qi <yao@codesourcery.com>
1449 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1450 gdb.reverse directory and gdb_reverse_timeout exists in board
1452 * README: Document gdb_reverse_timeout.
1454 2014-05-20 Yao Qi <yao@codesourcery.com>
1456 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1457 'test_file_name'. Treat args as a string instead of a list.
1458 (gdb_init): Rename argument 'args' by 'test_file_name'.
1460 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1462 * gdb.arch/powerpc-power.exp: New file.
1463 * gdb.arch/powerpc-power.s: New file.
1465 2014-05-16 Doug Evans <dje@google.com>
1467 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
1468 * gdb.base/completion.exp: Check that all expected files exist
1469 before doing file completion.
1471 2014-05-16 Doug Evans <dje@google.com>
1473 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1475 (do_syscall_tests_without_xml): Update.
1477 2014-05-16 Pedro Alves <palves@redhat.com>
1479 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1480 instead of "unknown output after running".
1482 2014-05-16 Yao Qi <yao@codesourcery.com>
1484 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1485 file1.txt from host at the end.
1486 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1488 2014-05-15 Doug Evans <dje@google.com>
1490 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1491 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1492 loading file. Add test for TU lookup.
1494 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1496 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1497 calling "-exec-arguments" or "set args" before running the
1500 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1502 * lib/mi-support.exp (mi_expect_stop): Expect message for
1503 inferiors that exit with non-zero exit code.
1505 2014-05-14 Yao Qi <yao@codesourcery.com>
1507 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1508 match absolute path on remote host.
1509 (test_file_list_exec_source_files): Remove "/" from the
1512 2014-05-14 Yao Qi <yao@codesourcery.com>
1514 * boards/local-remote-host-notty.exp (${board}_file): New
1517 2014-05-07 Kyle McMartin <kyle@redhat.com>
1519 Pushed by Joel Brobecker <brobecker@adacore.com>.
1520 * gdb.arch/aarch64-atomic-inst.c: New file.
1521 * gdb.arch/aarch64-atomic-inst.exp: New file.
1523 2014-05-07 Yao Qi <yao@codesourcery.com>
1525 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1526 in current context" too.
1528 2014-05-05 Keith Seitz <keiths@redhat.com>
1530 * gdb.linespec/ls-dollar.exp: Add test for linespec
1531 file:convenience_variable.
1533 2014-05-05 Yao Qi <yao@codesourcery.com>
1535 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
1536 traceframes into tfile and ctf trace files. Read data from
1537 trace file and test collected data.
1538 (gdb_collect_locals_test): Likewise.
1539 (gdb_unavailable_registers_test): Likewise.
1540 (gdb_unavailable_floats): Likewise.
1541 (gdb_collect_globals_test): Likewise.
1542 (top-level): Append "ctf" to trace_file_targets if GDB
1545 2014-05-05 Yao Qi <yao@codesourcery.com>
1547 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
1549 (gdb_collect_args_test_1): ... it. New proc.
1550 (gdb_collect_locals_test): Move some code to ...
1551 (gdb_collect_locals_test_1): ... it. New proc.
1552 (gdb_unavailable_registers_test): Move some code to ...
1553 (gdb_unavailable_registers_test_1): ... it. New proc.
1554 (gdb_unavailable_floats): Move some code to ...
1555 (gdb_unavailable_floats_1): ... it. New proc.
1557 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1559 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
1560 probes to test for bitness recognition.
1561 * gdb.arch/amd64-stap-optional-prefix.exp
1562 (test_probe_value_without_reg): New procedure.
1563 Add code to test for different kinds of bitness.
1565 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1567 PR breakpoints/16889
1568 * gdb.arch/amd64-stap-optional-prefix.S: New file.
1569 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1571 2014-05-01 Pedro Alves <palves@redhat.com>
1573 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
1574 gdb_file_cmd if no file is specified.
1575 * boards/native-extended-gdbserver.exp (gdb_load): Use the
1576 last_loaded_file to set the remote exec-file.
1578 2014-05-01 Pedro Alves <palves@redhat.com>
1580 * boards/local-remote-host.exp: New file.
1582 2014-05-01 Pedro Alves <palves@redhat.com>
1584 * boards/local-remote-host.exp: Rename to ...
1585 * boards/local-remote-host-notty.exp: ... this.
1587 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1589 * gdb.ada/dyn_arrayidx: New testcase.
1591 2014-04-26 Yao Qi <yao@codesourcery.com>
1593 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
1594 and compute the length of function main. Save it in
1596 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
1597 (top-level): Use gdb_compile to compile objects into
1598 executable and restart GDB. Remove invocation to
1599 prepare_for_testing.
1601 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
1602 Pedro Alves <palves@redhat.com>
1605 * gdb.multi/multi-attach.c: New file.
1606 * gdb.multi/multi-attach.exp: New file.
1608 2014-04-25 Pedro Alves <palves@redhat.com>
1610 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
1612 (top level): Test that "set remote conditional-breakpoints-packet
1613 off" works as intended.
1614 * gdb.base/dprintf.exp: Test that "set remote
1615 breakpoint-commands-packet off" works as intended.
1616 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
1618 (top level): Call it.
1619 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
1620 remote fast-tracepoints-packet off" works as intended.
1621 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
1622 * lib/gdb.exp (gdb_is_target_remote): ... here.
1624 2014-04-24 David Blaikie <dblaikie@gmail.com>
1626 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
1627 ensure clang would not discard them.
1628 * gdb.base/gdbvars.c: Ditto.
1629 * gdb.base/memattr.c: Ditto.
1630 * gdb.base/whatis.c: Ditto.
1631 * gdb.python/py-prettyprint.c: Ditto.
1632 * gdb.trace/actions.c: Ditto.
1633 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
1634 ensure clang would not discard it.
1636 2014-04-24 David Blaikie <dblaikie@gmail.com>
1638 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1639 clang to emit the full definition of type required by the test
1640 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1642 2014-04-24 David Blaikie <dblaikie@gmail.com>
1644 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1645 coax Clang into emitting the definition of the type.
1646 * gdb.cp/pr10728-x.h (y): Ditto.
1647 * gdb.cp/pr10728-y.cc (y): Ditto.
1649 2014-04-24 David Blaikie <dblaikie@gmail.com>
1651 * gdb.base/label.exp: XFAIL label related tests under Clang.
1652 * gdb.cp/cplabel.exp: Ditto.
1653 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
1654 under Clang those using labels.
1656 2014-04-25 Yao Qi <yao@codesourcery.com>
1658 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
1660 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
1661 partial_label and double_label.
1663 2014-04-24 David Blaikie <dblaikie@gmail.com>
1665 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
1667 2014-04-24 David Blaikie <dblaikie@gmail.com>
1669 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
1670 of the function to work across GCC and Clang.
1671 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
1672 pointer types (const void ** const V void **).
1674 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
1675 Walfred Tedeschi <walfred.tedeschi@intel.com>
1677 * Makefile.in (EXECUTABLES): Added i386-avx512.
1678 * gdb.arch/i386-avx512.c: New file.
1679 * gdb.arch/i386-avx512.exp: Likewise.
1681 2014-04-23 Keith Seitz <keiths@redhat.com>
1683 * lib/mi-support.exp (mi_list_breakpoints): Delete.
1684 (mi_make_breakpoint_table): New procedure.
1685 (mi_create_breakpoint): Use mi_make_breakpoint
1686 and return the result.
1687 (mi_make_breakpoint): New procedure.
1688 (mi_build_kv_pairs): New procedure.
1690 * gdb.mi/mi-break.exp: Remove unused globals,
1691 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
1692 All callers updated.
1693 * gdb.mi/mi-dprintf.exp: Use variable to track command
1695 Update all callers of mi_create_breakpoint and use
1696 mi_make_breakpoint_table.
1697 Remove any unused global variables.
1698 * gdb.mi/mi-nonstop.exp: Likewise.
1699 * gdb.mi/mi-nsintrall.exp: Likewise.
1700 * gdb.mi/mi-nsmoribund.exp: Likewise.
1701 * gdb.mi/mi-nsthrexec.exp: Likewise.
1702 * gdb.mi/mi-reverse.exp: Likewise.
1703 * gdb.mi/mi-simplerun.exp: Likewise.
1704 * gdb.mi/mi-stepn.exp: Likewise.
1705 * gdb.mi/mi-syn-frame.exp: Likewise.
1706 * gdb.mi/mi-until.exp: Likewise.
1707 * gdb.mi/mi-var-cp.exp: Likewise.
1708 * gdb.mi/mi-var-display.exp: Likewise.
1709 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1710 * gdb.mi/mi2-var-child.exp: Likewise.
1711 * gdb.mi/mi-vla-c99.exp: Likewise.
1712 * lib/mi-support.exp: Likewise.
1714 From Ian Lance Taylor <iant@cygnus.com>:
1715 * lib/gdb.exp (parse_args): New procedure.
1717 2014-04-23 Pedro Alves <palves@redhat.com>
1719 * gdb.base/break-unload-file.c: New file.
1720 * gdb.base/break-unload-file.exp: New file.
1721 * gdb.base/sym-file-lib.c (baz): New function.
1722 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
1724 (load): Store the segment's mapped size.
1725 (unload): New function.
1726 (unload_shlib): New function.
1727 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
1728 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
1729 set a breakpoint at baz, and call it.
1730 * gdb.base/sym-file.exp: New tests for stale breakpoint
1733 2014-04-23 Pedro Alves <palves@redhat.com>
1735 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
1736 * gdb.base/hbreak-in-shr-unsupported.c: New file.
1737 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
1738 * gdb.base/hbreak-unmapped.c: New file.
1739 * gdb.base/hbreak-unmapped.exp: New file.
1740 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
1741 * lib/gdb.exp (gdb_is_target_remote): ... here.
1743 2014-04-22 Pedro Alves <palves@redhat.com>
1745 * gdb.base/consecutive-step-over.c: New file.
1746 * gdb.base/consecutive-step-over.exp: New file.
1748 2014-04-22 Pedro Alves <palves@redhat.com>
1750 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
1751 instead of send_gdb/gdb_expect.
1753 2014-04-22 Yao Qi <yao@codesourcery.com>
1755 * lib/trace-support.exp (generate_tracefile): New procedure.
1756 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
1758 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
1759 if generate_tracefile returns 1.
1761 2014-04-18 Tom Tromey <palves@redhat.com>
1762 Pedro alves <tromey@redhat.com>
1765 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
1766 with a backtrace limit.
1767 * gdb.python/py-frame-inline.exp: Test running to an inline
1768 function with a backtrace limit, and printing the newest frame.
1769 * gdb.python/py-frame-inline.c (main): Call f.
1771 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1773 * gdb.java/jnpe.exp: Drop srcdir from untested path.
1775 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1777 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
1778 Drop prefix from unsupported source file path.
1780 2014-04-17 Yao Qi <yao@codesourcery.com>
1782 * lib/gdb.exp (with_target_charset): New proc.
1783 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
1784 with_target_charset.
1785 (test_print_strings): Likewise.
1786 (test_repeat_bytes): Likewise.
1787 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
1790 2014-04-16 Keith Seitz <keiths@redhat.com>
1793 * gdb.dwarf2/corrupt.c: New file.
1794 * gdb.dwarf2/corrupt.exp: New file.
1796 2014-04-16 Keith Seitz <keiths@redhat.com>
1799 * gdb.cp/namelessclass.cc: New file.
1800 * gdb.cp/namelessclass.exp: New file.
1801 * gdb.cp/namelessclass.S: New file.
1803 2014-04-16 Doug Evans <dje@google.com>
1805 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
1807 (gdbserver_default_get_comm_port): New function.
1808 (gdbserver_start): Check if board file provided
1809 "gdbserver,get_comm_port" and use it if so.
1810 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
1811 (gdb,socketport): Set to "stdio".
1812 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
1813 (stdio_gdbserver_template): Delete.
1814 (${board}_get_remote_address): Update.
1815 (${board}_build_remote_cmd): Delete.
1816 (${board}_get_comm_port): New function.
1817 (${board}_spawn): Update.
1818 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
1820 (${board}_get_remote_address): Update.
1821 (${board}_get_comm_port): New function.
1823 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
1825 * gdb.base/memattr.exp: Improve regexps to handle memory regions
1826 appearing in any order.
1828 2014-04-15 Doug Evans <dje@google.com>
1830 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
1831 uninitialized value of "description".
1833 2014-04-15 Keith Seitz <keiths@redhat.com>
1835 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
1836 Remove unused globals.
1837 (test_running_the_program): Likewise.
1838 (test_controlled_execution): Likewise.
1839 (test_controlling_breakpoints): Likewise.
1840 (test_program_termination): Likewise.
1842 2014-04-15 Keith Seitz <keiths@redhat.com>
1844 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
1846 (test_rbreak_creation_and_listing): Likewise.
1847 (test_ignore_count): Likewise.
1848 (test_error): Likewise.
1850 2014-04-15 Pedro Alves <palves@redhat.com>
1852 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
1853 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
1855 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1856 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1857 to sym-file-loader.c.
1858 (struct library): Forward declare.
1859 (load_shlib, lookup_function): Change prototypes.
1860 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1861 (translate_offset): Remove declarations.
1862 (get_text_addr): New declaration.
1863 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
1864 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
1866 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1867 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1868 here from sym-file-loader.h.
1869 (struct library): New structure.
1870 (load_shlib, lookup_function): Change prototypes and adjust to
1871 work with a struct library.
1872 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1873 (translate_offset): Make static.
1874 (get_text_addr): New function.
1875 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
1877 2014-04-15 Pedro Alves <palves@redhat.com>
1879 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
1881 2014-04-15 Pedro Alves <palves@redhat.com>
1883 * gdb.base/sym-file-loader.c: Include <limits.h>.
1884 (SELF_LINK): New define.
1885 (get_origin): New function.
1886 (load_shlib): Use it.
1887 * gdb.base/sym-file.exp: Don't early return if the target is
1888 remote. Use runto_main, and issue fail is that fails. Use
1890 (shlib_name): Delete.
1891 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
1893 2014-04-15 Pedro Alves <palves@redhat.com>
1895 * gdb.base/sym-file.exp: Remove regex characters from test
1896 message. Don't refer to breakpoint numbers in test messages.
1898 2014-04-14 Keith Seitz <keiths@redhat.com>
1901 * gdb.cp/var-tag.cc: New file.
1902 * gdb.cp/var-tag.exp: New file.
1903 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1904 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1905 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1906 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1908 2014-04-14 Tom Tromey <tromey@redhat.com>
1910 * gdb.cp/classes.exp (test_enums): Handle underlying type.
1911 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
1913 * gdb.cp/enum-class.exp: New file.
1914 * gdb.cp/enum-class.cc: New file.
1916 2014-04-14 Tom Tromey <tromey@redhat.com>
1918 * gdb.dwarf2/enum-type.exp: New file.
1920 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1922 * gdb.mi/mi-vla-c99.exp: New file.
1923 * gdb.mi/vla.c: New file.
1925 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1927 * gdb.base/vla-datatypes.c: New file.
1928 * gdb.base/vla-datatypes.exp: New file.
1930 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1932 * gdb.base/vla-ptr.c: New file.
1933 * gdb.base/vla-ptr.exp: New file.
1935 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1937 * gdb.dwarf2/count.exp: New file.
1939 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1941 * gdb.base/vla-sideeffect.c: New file.
1942 * gdb.base/vla-sideeffect.exp: New file.
1944 2014-04-14 David Blaikie <dblaikie@gmail.com>
1946 * gdb.mi/non-stop.c: Add return value for non-void function return
1948 * gdb.threads/staticthreads.c: Ditto.
1950 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
1951 Doug Evans <xdje42@gmail.com>
1953 * gdb.guile/scm-value.c: Improve test case.
1954 * gdb.guile/scm-value.exp: Add new test.
1956 2014-04-11 David Blaikie <dblaikie@gmail.com>
1958 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
1959 override Clang's default.
1961 2014-04-11 Joel Brobecker <brobecker@adacore.com>
1963 Revert the following changes (regressions):
1965 * gdb.base/vla-sideeffect.c: New file.
1966 * gdb.base/vla-sideeffect.exp: New file.
1968 * gdb.dwarf2/count.exp: New file.
1970 * gdb.base/vla-multi.c: New file.
1971 * gdb.base/vla-multi.exp: New file.
1973 * gdb.base/vla-ptr.c: New file.
1974 * gdb.base/vla-ptr.exp: New file.
1976 * gdb.base/vla-datatypes.c: New file.
1977 * gdb.base/vla-datatypes.exp: New file.
1979 * gdb.mi/mi-vla-c99.exp: New file.
1980 * gdb.mi/vla.c: New file.
1982 2014-04-11 Keith Seitz <keiths@redhat.com>
1985 * gdb.cp/cpsizeof.exp: New file.
1986 * gdb.cp/cpsizeof.cc: New file.
1988 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1990 * gdb.mi/mi-vla-c99.exp: New file.
1991 * gdb.mi/vla.c: New file.
1993 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1995 * gdb.base/vla-datatypes.c: New file.
1996 * gdb.base/vla-datatypes.exp: New file.
1998 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2000 * gdb.base/vla-ptr.c: New file.
2001 * gdb.base/vla-ptr.exp: New file.
2003 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2005 * gdb.base/vla-multi.c: New file.
2006 * gdb.base/vla-multi.exp: New file.
2008 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2010 * gdb.dwarf2/count.exp: New file.
2012 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2014 * gdb.base/vla-sideeffect.c: New file.
2015 * gdb.base/vla-sideeffect.exp: New file.
2017 2014-04-11 Yao Qi <yao@codesourcery.com>
2019 * gdb.base/completion.exp: Check file exists before running tests
2022 2014-04-10 Pedro Alves <palves@redhat.com>
2024 * gdb.base/cond-eval-mode.c: New file.
2025 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2026 prepare_for_testing to build the new file. Check result of
2028 (test_break, test_watch): New procedures.
2029 (top level): Use them.
2031 2014-04-08 Pierre Muller <muller@sourceware.org>
2033 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2034 Ctrl-V use for mingw hosts.
2036 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2038 * gdb.python/py-value.c: Improve test case.
2039 * gdb.python/py-value.exp: Add new test.
2041 2014-04-07 David Blaikie <dblaikie@gmail.com>
2043 * lib/compiler.c: Identify the clang compiler.
2044 * lib/compiler.cc: Ditto.
2046 2014-04-03 Yao Qi <yao@codesourcery.com>
2048 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2050 2014-04-01 Anton Blanchard <anton@samba.org>
2052 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2055 2014-04-01 Anton Blanchard <anton@samba.org>
2057 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2058 prepare_for_testing.
2060 2014-04-01 Anton Blanchard <anton@samba.org>
2062 * gdb.arch/ppc64-atomic-inst.c: Remove.
2063 * gdb.arch/ppc64-atomic-inst.S: New file.
2064 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2066 2014-03-31 Doug Evans <dje@google.com>
2068 * gdb.base/print-symbol-loading-lib.c: New file.
2069 * gdb.base/print-symbol-loading-main.c: New file.
2070 * gdb.base/print-symbol-loading.exp: New file.
2072 2014-03-31 Yao Qi <yao@codesourcery.com>
2074 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2076 2014-03-28 Joel Brobecker <brobecker@adacore.com>
2078 * gdb.ada/mi_dyn_arr: New testcase.
2080 2014-03-27 Doug Evans <dje@google.com>
2082 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2084 2014-03-27 Yao Qi <yao@codesourcery.com>
2086 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2087 if target is nios2-*-*.
2089 2014-03-26 Yao Qi <yao@codesourcery.com>
2091 * lib/gdb.exp (readline_is_used): New proc.
2092 * gdb.base/completion.exp: Move tests on command complete up.
2093 Skip the rest of tests if readline is not used.
2094 * gdb.ada/complete.exp: Skp the test if readline is not
2096 * gdb.base/filesym.exp: Likewise.
2097 * gdb.base/macscp.exp: Likewise.
2098 * gdb.base/readline-ask.exp: Likewise.
2099 * gdb.base/readline.exp: Likewise.
2100 * gdb.python/py-cmd.exp: Likewise.
2101 * gdb.trace/tfile.exp: Likewise.
2103 2014-03-26 Yao Qi <yao@codesourcery.com>
2105 * gdb.base/macscp.exp: Fix code format issues.
2107 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2109 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2110 * gdb.asm/powerpc64le.inc: New file.
2112 2014-03-25 Pedro Alves <palves@redhat.com>
2113 Doug Evans <dje@google.com>
2115 * gdb.base/source-execution.c: New file.
2116 * gdb.base/source-execution.exp: New file.
2117 * gdb.base/source-execution.gdb: New file.
2119 2014-03-24 Doug Evans <dje@google.com>
2121 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2124 2014-03-24 Hui Zhu <hui@codesourcery.com>
2125 Pedro Alves <palves@redhat.com>
2127 PR breakpoints/16101
2128 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2129 test pass/fail messages. Detect missing support for dprintf when
2130 breakpoints are actually inserted.
2131 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2132 breakpoints are actually inserted.
2133 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2136 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2138 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2140 2014-03-22 Doug Evans <xdje42@gmail.com>
2142 * gdb.python/python.exp (python not supported): Verify multi-line
2143 python command issues an error.
2144 * gdb.guile/guile.exp (guile not supported): Verify multi-line
2145 guile command issues an error.
2147 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2149 * gdb.threads/thread-specific.exp: Handle the lack of usable
2150 $this_breakpoint and $this_thread.
2152 2014-03-21 Hui Zhu <hui@codesourcery.com>
2154 * gdb.base/attach.exp (do_command_attach_tests): New.
2156 2014-03-20 Tom Tromey <tromey@redhat.com>
2157 Pedro Alves <palves@redhat.com>
2160 * gdb.base/condbreak-call-false.c: New file.
2161 * gdb.base/condbreak-call-false.exp: New file.
2163 2014-03-20 Pedro Alves <palves@redhat.com>
2165 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2167 (block_signals, unblock_signals): Delete.
2168 (child_function_2, main): Remove references to deleted variable
2171 2014-03-20 Pedro Alves <palves@redhat.com>
2173 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2174 Use pthread_kill to signal thread 2.
2175 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2176 Adjust to make the test send itself a signal rather than using the
2177 host's "kill" command.
2179 2014-03-20 Pedro Alves <palves@redhat.com>
2181 * gdb.threads/multiple-step-overs.c: New file.
2182 * gdb.threads/multiple-step-overs.exp: New file.
2183 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2184 Adjust expected infrun debug output.
2186 2014-03-20 Pedro Alves <palves@redhat.com>
2188 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2189 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2191 2014-03-20 Pedro Alves <palves@redhat.com>
2194 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2195 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2196 of gdb_test_multiple.
2197 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2198 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2200 2014-03-20 Pedro Alves <palves@redhat.com>
2202 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2203 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2205 2014-03-19 Pedro Alves <palves@redhat.com>
2207 * gdb.base/async.exp: Remove early return.
2209 2014-03-19 Pedro Alves <palves@redhat.com>
2211 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2213 2014-03-19 Pedro Alves <palves@redhat.com>
2215 * gdb.base/async.exp (test_background): Expect \r\n after
2216 "completed." in the fail pattern.
2218 2014-03-19 Pedro Alves <palves@redhat.com>
2220 * gdb.base/async.exp (test_background): New procedure.
2221 Use it for all background execution command tests.
2223 2014-03-19 Pedro Alves <palves@redhat.com>
2225 * gdb.base/async.exp: Use prepare_for_testing.
2227 2014-03-19 Pedro Alves <palves@redhat.com>
2229 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2232 2014-03-19 Pedro Alves <palves@redhat.com>
2234 * gdb.base/async.c (main): Add "jump here" and "until here" line
2236 * gdb.base/async.exp (jump_here): New global.
2237 (jump& test): Use it.
2238 (until_here): New global.
2239 (until& test): Use it.
2241 2014-03-19 Pedro Alves <palves@redhat.com>
2243 * gdb.base/async.exp: Don't frob gdb_protocol.
2245 2014-03-18 Doug Evans <xdje42@gmail.com>
2247 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2248 Fix spelling of exec-done-display.
2250 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2253 * gdb.base/gdb-sigterm.c: New file.
2254 * gdb.base/gdb-sigterm.exp: New file.
2256 2014-03-18 Pedro Alves <palves@redhat.com>
2259 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2260 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2263 2014-03-17 Joel Brobecker <brobecker@adacore.com>
2265 * gdb.ada/pckd_arr_ren: New testcase.
2267 2014-03-13 Doug Evans <xdje42@gmail.com>
2270 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2271 collect after discarding symbols.
2273 2014-03-13 Ludovic Courtès <ludo@gnu.org>
2274 Doug Evans <xdje42@gmail.com>
2276 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2277 to history survives a gc.
2279 2014-03-13 Pedro Alves <palves@redhat.com>
2281 * gdb.base/default.exp: Don't test "target procfs".
2283 2014-03-13 Pedro Alves <palves@redhat.com>
2285 * gdb.base/default.exp: Update "target child" and "target procfs"
2286 tests to not expect "Unix".
2288 2014-03-12 Tom Tromey <tromey@redhat.com>
2290 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2291 New procs. Add target-async tests.
2292 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2293 Add target-async tests.
2295 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2297 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2298 'func_start' and 'func_end' for the beginning and end of the
2299 function code, respectively.
2300 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2301 'func_end' instead of 'func' and 'main'.
2303 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2305 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2306 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2307 generate the debug info assembler source.
2309 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2311 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2312 * gdb.dwarf2/arr-subrange.exp: Likewise.
2313 * gdb.dwarf2/dwz.exp: Likewise.
2314 * gdb.dwarf2/method-ptr.exp: Likewise.
2315 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2316 * gdb.dwarf2/subrange.exp: Likewise.
2317 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2318 * gdb.dwarf2/implptrpiece.exp: Likewise.
2319 * gdb.dwarf2/nostaticblock.exp: Likewise.
2321 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2323 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2324 directory to absolute path name arguments.
2326 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2328 * gdb.ada/tagged_access: New testcase.
2330 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2332 * gdb.btrace/data.exp: Update expected output.
2334 2014-03-06 Yao Qi <yao@codesourcery.com>
2336 * gdb.trace/pr16508.exp: New file.
2338 2014-03-05 Pedro Alves <palves@redhat.com>
2341 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2343 (top level): Adjust to use it. Add tests that exercise breakpoint
2344 interaction with the code-cache.
2346 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2348 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2349 test for 'history-append!'.
2351 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2353 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2354 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2355 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2356 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2357 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2358 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2360 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2362 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2363 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2364 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2366 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2368 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2370 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2372 * gdb.dwarf2/arr-stride.c: New file.
2373 * gdb.dwarf2/arr-stride.exp: New file.
2375 2014-02-26 Pedro Alves <palves@redhat.com>
2377 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2378 that won't ever trigger. Make sure that GDB reports the correct
2379 breakpoint that caused the stop.
2381 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2384 * gdb.base/auto-load-script: New file.
2385 * gdb.base/auto-load.c: New file.
2386 * gdb.base/auto-load.exp: New file.
2389 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2391 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2393 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2394 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2396 2014-02-24 Doug Evans <dje@google.com>
2398 * lib/gdb.exp (run_on_host): Log error output if program fails.
2400 2014-02-21 Pedro Alves <palves@redhat.com>
2402 * gdb.threads/step-after-sr-lock.c: Rename to ...
2403 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2404 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2405 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2408 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2411 * gdb.arch/amd64-stap-special-operands.exp: New file.
2412 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2413 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2414 * gdb.arch/amd64-stap-triplet.S: Likewise.
2415 * gdb.arch/amd64-stap-triplet.c: Likewise.
2417 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2419 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2420 in .section pseudo-op.
2422 2014-02-20 lin zuojian <manjian2006@gmail.com>
2423 Joel Brobecker <brobecker@adacore.com>
2424 Doug Evans <xdje42@gmail.com>
2427 * gdb.dwarf2/dw2-icycle.S: New file.
2428 * gdb.dwarf2/dw2-icycle.c: New file.
2429 * gdb.dwarf2/dw2-icycle.exp: New file.
2431 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2433 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2434 operations on gdb.Value objects.
2435 * gdb.python/py-value-cc.exp: Add new test to test operations on
2438 2014-02-18 Doug Evans <dje@google.com>
2440 * Makefile.in (TESTS): New variable.
2441 (expanded_tests, expanded_tests_or_none): New variables
2442 (check-single): Pass $(expanded_tests_or_none) to runtest.
2443 (check-parallel): Only run tests in $(TESTS) if non-empty.
2444 (check/no-matching-tests-found): New rule.
2445 * README: Document TESTS makefile variable.
2447 2014-02-18 Doug Evans <dje@google.com>
2449 * Makefile.in (check-parallel): rm -rf outputs temp.
2451 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2453 Fix "ERROR: no fileid for" in the testsuite.
2454 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2456 2014-02-12 Doug Evans <dje@google.com>
2458 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2459 (MISCELLANEOUS): New variable.
2460 (clean): rm -rf $(MISCELLANEOUS).
2461 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2462 dwp live in the same directory as symlinks, with each symlink pointed
2463 to a differently named file in a different directory.
2465 2014-02-11 Doug Evans <dje@google.com>
2467 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2468 of Tcl file commands.
2470 2014-02-10 Mark Kettenis <kettenis@gnu.org>
2472 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2475 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2477 * gdb.ada/tick_length_array_enum_idx: New testcase.
2479 2014-02-10 Doug Evans <xdje42@gmail.com>
2481 * configure.ac (AC_OUTPUT): Add gdb.guile.
2482 * configure: Regenerate.
2483 * lib/gdb-guile.exp: New file.
2484 * lib/gdb.exp (get_target_charset): New function.
2485 * gdb.base/help.exp: Update expected output from "apropos apropos".
2486 * gdb.guile/Makefile.in: New file.
2487 * gdb.guile/guile.exp: New file.
2488 * gdb.guile/scm-arch.c: New file.
2489 * gdb.guile/scm-arch.exp: New file.
2490 * gdb.guile/scm-block.c: New file.
2491 * gdb.guile/scm-block.exp: New file.
2492 * gdb.guile/scm-breakpoint.c: New file.
2493 * gdb.guile/scm-breakpoint.exp: New file.
2494 * gdb.guile/scm-disasm.c: New file.
2495 * gdb.guile/scm-disasm.exp: New file.
2496 * gdb.guile/scm-equal.c: New file.
2497 * gdb.guile/scm-equal.exp: New file.
2498 * gdb.guile/scm-error.exp: New file.
2499 * gdb.guile/scm-error.scm: New file.
2500 * gdb.guile/scm-frame-args.c: New file.
2501 * gdb.guile/scm-frame-args.exp: New file.
2502 * gdb.guile/scm-frame-args.scm: New file.
2503 * gdb.guile/scm-frame-inline.c: New file.
2504 * gdb.guile/scm-frame-inline.exp: New file.
2505 * gdb.guile/scm-frame.c: New file.
2506 * gdb.guile/scm-frame.exp: New file.
2507 * gdb.guile/scm-generics.exp: New file.
2508 * gdb.guile/scm-gsmob.exp: New file.
2509 * gdb.guile/scm-iterator.c: New file.
2510 * gdb.guile/scm-iterator.exp: New file.
2511 * gdb.guile/scm-math.c: New file.
2512 * gdb.guile/scm-math.exp: New file.
2513 * gdb.guile/scm-objfile-script-gdb.in: New file.
2514 * gdb.guile/scm-objfile-script.c: New file.
2515 * gdb.guile/scm-objfile-script.exp: New file.
2516 * gdb.guile/scm-objfile.c: New file.
2517 * gdb.guile/scm-objfile.exp: New file.
2518 * gdb.guile/scm-ports.exp: New file.
2519 * gdb.guile/scm-pretty-print.c: New file.
2520 * gdb.guile/scm-pretty-print.exp: New file.
2521 * gdb.guile/scm-pretty-print.scm: New file.
2522 * gdb.guile/scm-section-script.c: New file.
2523 * gdb.guile/scm-section-script.exp: New file.
2524 * gdb.guile/scm-section-script.scm: New file.
2525 * gdb.guile/scm-symbol.c: New file.
2526 * gdb.guile/scm-symbol.exp: New file.
2527 * gdb.guile/scm-symtab-2.c: New file.
2528 * gdb.guile/scm-symtab.c: New file.
2529 * gdb.guile/scm-symtab.exp: New file.
2530 * gdb.guile/scm-type.c: New file.
2531 * gdb.guile/scm-type.exp: New file.
2532 * gdb.guile/scm-value-cc.cc: New file.
2533 * gdb.guile/scm-value-cc.exp: New file.
2534 * gdb.guile/scm-value.c: New file.
2535 * gdb.guile/scm-value.exp: New file.
2536 * gdb.guile/source2.scm: New file.
2537 * gdb.guile/types-module.cc: New file.
2538 * gdb.guile/types-module.exp: New file.
2540 2014-02-10 Yao Qi <yao@codesourcery.com>
2543 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
2544 * configure: Regenerated.
2545 * Makefile.in: New file.
2547 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2549 * gdb.python/py-framefilter.exp: Fix typo.
2551 2014-02-08 Yao Qi <yao@codesourcery.com>
2553 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
2554 that no =breakpoint-modified is emitted when breakpoints are
2555 modified through MI commands.
2557 2014-02-07 Pedro Alves <pedro@codesourcery.com>
2558 Pedro Alves <palves@redhat.com>
2560 * gdb.threads/step-after-sr-lock.c: New file.
2561 * gdb.threads/step-after-sr-lock.exp: New file.
2563 2014-02-07 Pedro Alves <palves@redhat.com>
2565 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
2567 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2569 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
2570 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
2572 2014-02-06 Doug Evans <xdje42@gmail.com>
2574 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
2577 * gdb.gdb/python-interrupts.exp: New file.
2579 2014-02-05 Yao Qi <yao@codesourcery.com>
2581 * gdb.trace/report.exp (use_collected_data): Test the output
2582 of "info threads" and "info inferiors".
2584 2014-02-05 Yao Qi <yao@codesourcery.com>
2588 2013-05-24 Yao Qi <yao@codesourcery.com>
2590 * gdb.trace/tfile.exp: Test inferior and thread.
2592 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2594 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
2596 * gdb.base/step-bt.c: Call hello via function pointer to make
2597 sure its first instruction is executed on powerpc64le-linux.
2599 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2601 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
2603 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2605 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
2606 of the test patterns for use on little-endian systems.
2608 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2610 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
2611 (decimal_vector): Fix for little-endian.
2613 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2615 * gdb.arch/sparc-sysstep.exp: New file.
2616 * gdb.arch/sparc-sysstep.c: Likewise.
2618 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
2620 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2622 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2624 2014-01-23 Tom Tromey <tromey@redhat.com>
2626 * gdb.ada/array_char_idx: New testcase.
2628 2014-01-23 Tom Tromey <tromey@redhat.com>
2631 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
2632 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2635 2014-01-23 Tom Tromey <tromey@redhat.com>
2638 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2639 string from an inferior frame.
2640 * gdb.python/py-framefilter-mi.exp: Update.
2642 2014-01-22 Doug Evans <dje@google.com>
2644 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2646 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2648 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2650 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2652 * gdb.trace/entry-values.exp: Remove excess space character from
2653 regex patterns. Handle s390 call instruction.
2655 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2657 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
2658 define "*_start" label. Make "name" static.
2659 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
2660 ${name} by references to ${name}_start.
2662 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2664 * gdb.base/info-macros.exp: Remove "debug" from the compile
2667 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2669 * gdb.dlang/demangle.exp: New file.
2671 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2673 * gdb.dlang/primitive-types.exp: New file.
2675 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2677 * configure.ac: Create gdb.dlang/Makefile.
2678 * configure: Regenerate.
2679 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
2680 * gdb.dlang/Makefile.in: New file.
2681 * lib/d-support.exp: New file.
2682 * lib/gdb.exp (skip_d_tests): New proc.
2684 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2686 * gdb.btrace/delta.exp: Check reverse stepi.
2687 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
2688 * gdb.btrace/finish.exp: New.
2689 * gdb.btrace/next.exp: New.
2690 * gdb.btrace/nexti.exp: New.
2691 * gdb.btrace/record_goto.c: Add comments.
2692 * gdb.btrace/step.exp: New.
2693 * gdb.btrace/stepi.exp: New.
2694 * gdb.btrace/multi-thread-step.c: New.
2695 * gdb.btrace/multi-thread-step.exp: New.
2696 * gdb.btrace/rn-dl-bind.c: New.
2697 * gdb.btrace/rn-dl-bind.exp: New.
2698 * gdb.btrace/data.c: New.
2699 * gdb.btrace/data.exp: New.
2700 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2702 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2704 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
2705 * gdb.btrace/exception.exp: Update.
2706 * gdb.btrace/instruction_history.exp: Update.
2707 * gdb.btrace/record_goto.exp: Update.
2708 * gdb.btrace/tailcall.exp: Update.
2709 * gdb.btrace/unknown_functions.exp: Update.
2710 * gdb.btrace/delta.exp: New.
2712 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2714 * gdb.btrace/record_goto.exp: Add backtrace test.
2715 * gdb.btrace/tailcall.exp: Add backtrace test.
2717 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2719 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
2720 * gdb.btrace/record_goto.c: New.
2721 * gdb.btrace/record_goto.exp: New.
2722 * gdb.btrace/x86-record_goto.S: New.
2724 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2726 * gdb.btrace/function_call_history.exp: Update tests.
2727 * gdb.btrace/instruction_history.exp: Update tests.
2729 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2731 * gdb.btrace/function_call_history.exp: Fix expected field
2732 order for "record function-call-history".
2733 Add new tests for "record function-call-history /c".
2734 * gdb.btrace/exception.cc: New.
2735 * gdb.btrace/exception.exp: New.
2736 * gdb.btrace/tailcall.exp: New.
2737 * gdb.btrace/x86-tailcall.S: New.
2738 * gdb.btrace/x86-tailcall.c: New.
2739 * gdb.btrace/unknown_functions.c: New.
2740 * gdb.btrace/unknown_functions.exp: New.
2741 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2743 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2745 * gdb.btrace/instruction_history.exp: Update.
2746 * gdb.btrace/function_call_history.exp: Update.
2748 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2750 * gdb.btrace/function_call_history.exp: Fix expected function
2752 * gdb.btrace/instruction_history.exp: Initialize traced.
2753 Remove traced_functions.
2755 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2757 * gdb.btrace/function_call_history.exp: Update
2758 * gdb.btrace/instruction_history.exp: Update.
2760 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2762 * gdb.btrace/enable.exp: Update expected text.
2764 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
2766 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
2769 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
2771 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
2773 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2775 * lib/gdb.exp (supports_process_record): Return true for
2776 arm*-linux*. (supports_reverse): Likewise.
2778 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
2782 * gdb.python/py-type.c: Enhance test case.
2783 * gdb.python/py-value-cc.cc: Likewise
2784 * gdb.python/py-type.exp: Add new tests.
2785 * gdb.python/py-value-cc.exp: Likewise
2787 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2788 Pedro Alves <palves@redhat.com>
2790 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
2792 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
2793 references to ${name}_start by references to ${name}.
2795 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2797 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
2799 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2801 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
2803 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
2804 Pedro Alves <palves@redhat.com>
2806 * gdb.mi/mi-info-os.exp: Connect to the target with
2809 2014-01-08 Pedro Alves <palves@redhat.com>
2811 * gdb.threads/reconnect-signal.c: New file.
2812 * gdb.threads/reconnect-signal.exp: New file.
2814 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2816 * gdb.base/source-dir.exp: New file.
2818 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2820 * gdb.ada/mi_interface: New testcase.
2822 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2824 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
2825 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
2826 gdb.ada/pp-rec-component/pck.ads: New files.
2828 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2830 * gdb.python/py-pp-integral.c: New file.
2831 * gdb.python/py-pp-integral.py: New file.
2832 * gdb.python/py-pp-integral.exp: New file.
2834 For older changes see ChangeLog-1993-2013.
2840 ;; version-control: never
2843 Copyright 2014 Free Software Foundation, Inc.
2844 Copying and distribution of this file, with or without modification,
2845 are permitted provided the copyright notice and this notice are preserved.