1 2014-10-16 Yao Qi <yao@codesourcery.com>
3 * gdb.base/remotetimeout.exp: Remove noargs checking.
5 2014-10-15 Pedro Alves <palves@redhat.com>
8 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
9 * gdb.base/breakpoint-in-ro-region.exp
10 (probe_target_hardware_step): New procedure.
11 (top level): Probe hardware stepping and hardware breakpoint
12 support. Test stepping through a read-only region, with both
13 "breakpoint auto-hw" on and off and both "always-inserted" on and
16 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
18 * gdb.dlang/demangle.exp: Update for demangling changes.
20 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
22 * gdb.cp/non-trivial-retval.cc: Add new test cases.
23 * gdb.cp/non-trivial-retval.exp: Add new tests.
25 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
29 * gdb.cp/non-trivial-retval.cc: New file.
30 * gdb.cp/non-trivial-retval.exp: New file.
32 2014-10-15 Yao Qi <yao@codesourcery.com>
34 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
37 2014-10-15 Yao Qi <yao@codesourcery.com>
39 * gdb.python/py-symbol.exp: Match file base name if host is
40 remote, otherwise match file name with dir name.
41 * gdb.python/py-symtab.exp: Likewise.
42 * gdb.python/python.exp: Likewise.
44 2014-10-15 Yao Qi <yao@codesourcery.com>
46 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
48 * gdb.python/py-symtab.exp: Likewise.
49 * gdb.python/python.exp: Remove trailing ".*". Fix typo
52 2014-10-14 Joel Brobecker <brobecker@adacore.com>
54 * gdb.ada/addr_arith: New testcase.
56 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
58 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
59 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
60 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
61 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
63 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
65 * gdb.arch/stap-eval-lang-ada.S: Likewise.
66 * gdb.arch/stap-eval-lang-ada.c: Likewise.
67 * gdb.arch/stap-eval-lang-ada.exp: New file.
69 2014-10-14 Yao Qi <yao@codesourcery.com>
71 * gdb.mi/mi-var-child.c (nothing1): New function.
72 (nothing2): New function.
73 (do_children_tests): Set function pointers by nothing1 and
75 * gdb.mi/mi-var-child.exp: Step over new added statements.
76 Update test to match the new output.
77 * gdb.mi/var-cmd.c (nothing1): New function.
78 (nothing2): New function.
79 (do_children_tests): Set function pointers by nothing1 and
81 * gdb.mi/mi-var-display.exp: Update test to match output.
82 Step to the line specified by $line_dct_nothing.
83 Increase the number of lines to step.
85 2014-10-14 Yao Qi <yao@codesourcery.com>
87 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
89 * gdb.mi/mi2-var-child.exp: Likewise.
91 2014-10-13 Doug Evans <dje@google.com>
93 * gdb.python/py-objfile.exp: Change name of file name test.
95 2014-10-13 Doug Evans <dje@google.com>
97 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
98 from the start of the CU.
100 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
101 Yao Qi <yao@codesourcery.com>
103 Fix "save breakpoints" for "catch" command.
104 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
105 Remove -nonewline. Match also the added "main" line.
107 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
109 Fix "save breakpoints" for "disable $bpnum" command.
110 * gdb.base/save-bp.c (main): Add label.
111 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
113 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
115 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
117 2014-10-11 Yao Qi <yao@codesourcery.com>
119 * gdb.server/server-kill.exp: Execute command
120 "set remote trace-status-packet on" before "tstatus".
122 2014-10-11 Yao Qi <yao@codesourcery.com>
124 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
125 (main): Call getppid.
126 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
127 and continue to it. Read variable "server_pid".
129 2014-10-11 Yao Qi <yao@codesourcery.com>
131 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
133 2014-10-11 Yao Qi <yao@codesourcery.com>
135 * gdb.threads/thread-find.exp: Don't execute command
137 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
138 * gdb.threads/linux-dp.exp: Don't check the condition
139 $threads_created equals to zero.
141 2014-10-10 Pedro Alves <palves@redhat.com>
143 * gdb.base/bigcore.exp: Remove references to IRIX.
144 * gdb.base/funcargs.exp: Likewise.
145 * gdb.base/interrupt.exp: Likewise.
146 * gdb.base/mips_pro.exp: Likewise.
147 * gdb.base/nodebug.exp: Likewise.
148 * gdb.base/setvar.exp: Likewise.
149 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
151 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
152 Pedro Alves <palves@redhat.com>
155 * gdb.base/vdso-warning.c: New file.
156 * gdb.base/vdso-warning.exp: New file.
158 2014-10-02 Doug Evans <dje@google.com>
160 * gdb.base/structs.c (main): Don't run forever.
162 2014-10-02 Pedro Alves <palves@redhat.com>
164 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
165 (top level) <stop threads 1, stop threads 2>: Use it.
167 2014-10-02 Pedro Alves <palves@redhat.com>
169 * gdb.threads/break-while-running.exp (test): Add new
170 'update_thread_list' argument. Skip "info threads" if false.
171 (top level): Add new 'update_thread_list' axis.
173 2014-10-02 Pedro Alves <palves@redhat.com>
176 * gdb.base/execl-update-breakpoints.c: New file.
177 * gdb.base/execl-update-breakpoints.exp: New file.
179 2014-10-01 Pedro Alves <palves@redhat.com>
181 * gdb.base/breakpoint-in-ro-region.c: New file.
182 * gdb.base/breakpoint-in-ro-region.exp: New file.
184 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
186 * gdb.mi/mi-exit-code.exp: New file.
187 * gdb.mi/mi-exit-code.c: New file.
189 2014-09-30 Yao Qi <yao@codesourcery.com>
191 * lib/prelink-support.exp (build_executable_own_libs): Error if
192 the target isn't native.
194 2014-09-30 Yao Qi <yao@codesourcery.com>
196 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
199 2014-09-22 Pedro Alves <palves@redhat.com>
201 * gdb.threads/break-while-running.exp: New file.
202 * gdb.threads/break-while-running.c: New file.
204 2014-09-19 Yao Qi <yao@codesourcery.com>
206 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
207 Invoke test. Restart GDB with --readnow and invoke test again.
209 2014-09-19 Yao Qi <yao@codesourcery.com>
211 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
212 proc set_breakpoint_on_gcd_function. Invoke
213 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
214 invoke set_breakpoint_on_gcd_function again.
216 2014-09-18 Doug Evans <dje@google.com>
218 * gdb.dwarf2/symtab-producer.exp: New file.
220 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
222 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
223 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
224 * gdb.base/global-var-nested-by-dso.c: Likewise.
225 * gdb.base/global-var-nested-by-dso.exp: Likewise.
227 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
228 Pedro Alves <palves@redhat.com>
230 * gdb.base/watch-bitfields.exp: Pass string other than test file
231 name to prepare_for_testing.
232 (watch): New procedure.
233 (expect_watchpoint): Use with_test_prefix.
234 (top level): Factor out tests to ...
235 (test_watch_location, test_regular_watch): ... these new
236 procedures, and use with_test_prefix and gdb_continue_to_end.
238 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
241 * gdb.base/watch-bitfields.exp: New file.
242 * gdb.base/watch-bitfields.c: New file.
244 2014-09-16 Pedro Alves <palves@redhat.com>
246 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
247 software and hardware addresses, not software address against
250 2014-09-16 Pedro Alves <palves@redhat.com>
252 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
253 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
255 2014-09-16 Pedro Alves <palves@redhat.com>
257 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
259 * gdb.base/a2-run.exp: Remove all code guarded by istarget
260 "*-*-vxworks*" throughout.
261 * gdb.base/break.exp: Likewise.
262 * gdb.base/default.exp: Likewise.
263 * gdb.base/scope.exp: Likewise.
264 * gdb.base/sepdebug.exp: Likewise.
265 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
267 * gdb.base/run.c: Likewise.
268 * gdb.base/sepdebug.c: Likewise.
269 * gdb.hp/gdb.aCC/run.c: Likewise.
270 * gdb.reverse/until-reverse.c: Likewise.
271 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
273 2014-09-16 Yao Qi <yao@codesourcery.com>
275 * boards/local-remote-host-native.exp: New file.
277 2014-09-14 Doug Evans <xdje42@gmail.com>
279 * gdb.threads/queue-signal.c (thread_count): New variable.
280 (thread_count_mutex, thread_count_condvar): New variables.
281 (incr_thread_count, wait_all_threads_running): New functions.
282 (main): Wait for all threads to be in their thread functions.
284 2014-09-13 Doug Evans <xdje42@gmail.com>
286 * gdb.threads/queue-signal.c: New file.
287 * gdb.threads/queue-signal.exp: New file.
289 2014-09-13 Doug Evans <xdje42@gmail.com>
291 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
292 be consistent with what default_gdb_init uses.
293 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
294 the plain text of the prompt. Add some logging printfs.
295 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
297 2014-09-12 Pedro Alves <palves@redhat.com>
299 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
300 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
301 * gdb.arch/i386-size-overlap.exp: Likewise.
302 * gdb.arch/i386-size.exp: Likewise.
303 * gdb.arch/i386-unwind.exp: Likewise.
304 * gdb.base/a2-run.exp: Likewise.
305 * gdb.base/break.exp: Likewise.
306 * gdb.base/charset.exp: Likewise.
307 * gdb.base/chng-syms.exp: Likewise.
308 * gdb.base/commands.exp: Likewise.
309 * gdb.base/dbx.exp: Likewise.
310 * gdb.base/find.exp: Likewise.
311 * gdb.base/funcargs.exp: Likewise.
312 * gdb.base/jit-simple.exp: Likewise.
313 * gdb.base/reread.exp: Likewise.
314 * gdb.base/sepdebug.exp: Likewise.
315 * gdb.base/step-bt.exp: Likewise.
316 * gdb.cp/mb-inline.exp: Likewise.
317 * gdb.cp/mb-templates.exp: Likewise.
318 * gdb.objc/basicclass.exp: Likewise.
319 * gdb.threads/killed.exp: Likewise.
321 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
324 * gdb.arch/powerpc-stackless.S: New file.
325 * gdb.arch/powerpc-stackless.exp: New file.
327 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
329 * gdb.base/attach.c: Include unistd.h.
330 (main): Call alarm. Add label postloop.
331 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
332 gdb_breakpoint, gdb_continue_to_breakpoint.
333 (test_command_line_attach_run): Kill ${testpid} in one exit path.
335 2014-09-11 Pedro Alves <palves@redhat.com>
338 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
339 * gdb.base/attach.exp (test_command_line_attach_run): New
341 (top level): Call it.
343 2014-09-11 Pedro Alves <palves@redhat.com>
345 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
346 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
347 (do_command_attach_tests): Use spawn_wait_for_attach.
348 * gdb.base/solib-overlap.exp: Likewise.
349 * gdb.multi/multi-attach.exp: Likewise.
350 * gdb.python/py-prompt.exp: Likewise.
351 * gdb.python/py-sync-interp.exp: Likewise.
352 * gdb.server/ext-attach.exp: Likewise.
354 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
356 * gdb.fortran/array-element.exp: Remove unexpected "continue"
357 command in testcase. Simplify testcase.
359 2014-09-10 Joel Brobecker <brobecker@adacore.com>
361 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
363 2014-09-10 Joel Brobecker <brobecker@adacore.com>
365 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
367 2014-09-10 Joel Brobecker <brobecker@adacore.com>
369 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
371 2014-09-10 Joel Brobecker <brobecker@adacore.com>
373 * gdb.dwarf2/dynarr-ptr.c: New file.
374 * gdb.dwarf2/dynarr-ptr.exp: New file.
376 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
378 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
379 of 30 rather than hardcoding 120 for a slow test case. Take the
380 `gdb,timeout' target setting into account for this calculation.
381 Don't extend the timeout for the test cases that don't need it.
383 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
385 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
386 a factor of 2 for a slow test case. Take the `gdb,timeout'
387 target setting into account for this calculation.
388 * gdb.reverse/until-precsave.exp: Increase the timeout by
389 a factor of 15 and 3 respectively rather than adding 120
390 for a pair of slow test cases. Take the `gdb,timeout'
391 target setting into account for this calculation.
393 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
395 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
396 timeout, don't pass one down to gdb_expect.
397 (gdb_expect): Rework timeout selection.
399 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
401 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
402 exception on timeout.
403 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
404 (gdbserver_start_extended): Catch any `gdbserver_start' error
406 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
407 * lib/mi-support.exp (mi_gdb_target_load): Catch any
408 `gdbserver_gdb_load' error exceptions.
410 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
412 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
413 120 on waiting for the TCP socket to open.
415 2014-09-09 Doug Evans <xdje42@gmail.com>
417 * gdb.base/default.exp (show_conv_list): Add _caller_is,
418 _caller_matches, _any_caller_is, _any_caller_matches.
420 2014-09-09 Doug Evans <xdje42@gmail.com>
422 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
424 2014-09-09 Yao Qi <yao@codesourcery.com>
426 * gdb.mi/mi-var-display.exp: Set print symbol off.
428 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
431 * gdb.base/commands.exp: Add tests to verify user-defined
432 commands with empty bodies.
433 * gdb.python/py-cmd.exp: Test that we don't show user-defined
434 python commands in `show user command`.
435 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
436 scheme commands in `show user command`.
438 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
441 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
442 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
443 * gdb.python/py-framefilter-invalidarg.exp: New file.
444 * gdb.python/py-framefilter-invalidarg.py: New file.
446 2014-09-06 Doug Evans <xdje42@gmail.com>
449 * gdb.python/py-caller-is.c: New file.
450 * gdb.python/py-caller-is.exp: New file.
452 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
455 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
456 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
458 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
461 * gdb.fortran/print-formatted.exp: New file.
462 * gdb.fortran/print-formatted.f90: Likewise.
464 2014-09-03 Sasha Smundak <asmundak@google.com>
466 * gdb.python/py-frame.exp: Test Frame.read_register.
468 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
471 * gdb.python/py-completion.exp: New file.
472 * gdb.python/py-completion.py: Likewise.
474 2014-08-28 Doug Evans <dje@google.com>
476 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
477 eax,etc. are live with values set by gdb and thus the compiler can't
479 * gdb.arch/i386-pseudo.c (main): Ditto.
481 2014-08-27 Doug Evans <dje@google.com>
483 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
485 2014-08-25 Doug Evans <dje@google.com>
487 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
490 2014-08-25 Doug Evans <dje@google.com>
492 * gdb.threads/thread-execl.exp: #include <stdio.h>.
494 2014-08-24 Yao Qi <yao@codesourcery.com>
496 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
498 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
500 2014-08-22 Doug Evans <dje@google.com>
503 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
504 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
505 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
507 2014-08-22 Yao Qi <yao@codesourcery.com>
509 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
510 * gdb.python/py-finish-breakpoint2.exp: Likewise.
511 * gdb.python/python.exp: Likewise. Use .py file on the host
512 instead of the build.
514 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
516 * gdb.threads/gcore-stale-thread.c: New file.
517 * gdb.threads/gcore-stale-thread.exp: New file.
519 2014-08-21 Pedro Alves <palves@redhat.com>
521 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
522 * gdb.base/gcore-relro-pie.exp: Likewise.
523 * gdb.base/gcore-relro.exp: Likewise.
524 * gdb.base/gcore.exp: Likewise.
525 * gdb.base/print-symbol-loading.exp: Likewise.
526 * gdb.threads/gcore-thread.exp: Likewise.
527 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
529 2014-08-20 Pedro Alves <palves@redhat.com>
530 Jan Kratochvil <jan.kratochvil@redhat.com>
532 * Makefile.in (EXTRA_RULES, CC): New variables, get from
534 (EXPECT): Handle READ1 being set.
535 (all): Depend on EXTRA_RULES.
536 (check-read1, expect-read1, read1.so, read1): New rules.
537 * README (Testsuite Parameters): Document the READ1 make variable.
538 (Race detection): New section.
539 * configure: Regenerate.
540 * configure.ac: If build==host==target, and running under a
541 GNU/glibc system, add read1 to the extra Makefile rules.
542 (EXTRA_RULES): AC_SUBST it.
543 * lib/read1.c: New file.
545 2014-08-20 Joel Brobecker <brobecker@adacore.com>
547 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
548 the handling of variables declared as a typedef to an array
549 which a DW_AT_data_location attribute.
551 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
552 Pedro Alves <palves@redhat.com>
556 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
559 2014-08-19 Pedro Alves <palves@redhat.com>
561 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
563 2014-08-19 Yao Qi <yao@codesourcery.com>
565 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
568 2014-08-18 David Blaikie <dblaikie@gmail.com>
570 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
572 2014-08-18 Joel Brobecker <brobecker@adacore.com>
574 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
575 attribute in array range.
577 2014-08-18 Joel Brobecker <brobecker@adacore.com>
579 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
581 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
584 * gdb.cp/pr17132.cc: New file.
585 * gdb.cp/pr17132.exp: New file.
587 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
589 * gdb.python/py-xmethods.py (A_getarrayind)
590 (E_method_char_worker.__call__, E_method_int_worker.__call__):
591 Use 'print' with function call syntax.
592 (E_method_matcher.match): Fix tab vs space indentation mixup.
594 2014-08-15 Yao Qi <yao@codesourcery.com>
596 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
599 2014-08-15 Yao Qi <yao@codesourcery.com>
601 * gdb.cp/casts.exp: Set print symbol off.
602 * gdb.cp/class2.exp: Likewise.
603 * gdb.cp/overload.exp: Likewise.
604 * gdb.cp/templates.exp: Likewise.
606 2014-08-11 Doug Evans <dje@google.com>
608 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
609 (test_load_shlib): Update.
611 2014-08-09 Yao Qi <yao@codesourcery.com>
613 * gdb.base/display.exp: Invoke is_address_zero_readable.
614 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
615 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
616 * gdb.base/hbreak-unmapped.exp: Return if
617 is_address_zero_readable returns true.
618 * gdb.base/signest.exp: Likewise.
619 * gdb.base/signull.exp: Likewise.
620 * gdb.base/sigbpt.exp: Likewise.
621 * gdb.guile/scm-disasm.exp: Do the test if
622 is_address_zero_readable returns false.
623 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
624 * gdb.python/py-arch.exp: Likewise.
625 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
626 * lib/gdb.exp (is_address_zero_readable): New proc.
628 2014-08-09 Yao Qi <yao@codesourcery.com>
631 * gdb.mi/mi-var-display.exp: Make test messages unique.
633 2014-08-04 Tom Tromey <tromey@redhat.com>
635 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
638 2014-08-04 Tom Tromey <tromey@redhat.com>
640 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
643 2014-08-01 Joel Brobecker <brobecker@adacore.com>
645 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
646 inner_vla_struct_object_size.
647 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
650 2014-07-30 Pedro Alves <palves@redhat.com>
652 * gdb.threads/signal-command-handle-nopass.exp (test): Add
655 2014-07-29 Yao Qi <yao@codesourcery.com>
658 * gdb.base/until-nodebug.exp: New.
660 2014-07-28 Doug Evans <xdje42@gmail.com>
663 * gdb.guile/scm-parameter.exp: Add tests for trying to create
664 previously existing parameter, and previously ambiguously spelled
667 2014-07-28 Will Newton <will.newton@linaro.org>
669 * gdb.base/varargs.exp: Remove KFAILs for ARM.
671 2014-07-26 Ludovic Courtès <ludo@gnu.org>
672 Doug Evans <xdje42@gmail.com>
675 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
677 2014-07-25 Pedro Alves <palves@redhat.com>
679 * gdb.threads/signal-command-handle-nopass.c: New file.
680 * gdb.threads/signal-command-handle-nopass.exp: New file.
681 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
682 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
683 * gdb.threads/signal-delivered-right-thread.c: New file.
684 * gdb.threads/signal-delivered-right-thread.exp: New file.
686 2014-07-25 Pedro Alves <palves@redhat.com>
688 * gdb.base/double-prompt-target-event-error.exp
689 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
691 (cancel_pagination_in_target_event): Rework double prompt
693 * gdb.base/paginate-after-ctrl-c-running.exp
694 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
696 * gdb.base/paginate-bg-execution.exp
697 (test_bg_execution_pagination_return)
698 (test_bg_execution_pagination_cancel): Remove '-notransfer
700 * gdb.base/paginate-execution-startup.exp
701 (test_fg_execution_pagination_return)
702 (test_fg_execution_pagination_cancel): Remove '-notransfer
704 * gdb.base/paginate-inferior-exit.exp
705 (test_paginate_inferior_exited): Remove '-notransfer <return>'
707 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
708 * lib/gdb.exp (pagination_prompt): Run text through
710 (gdb_test_multiple): Match $pagination_prompt instead of
712 (string_to_regexp): Move to lib/gdb-utils.exp.
714 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
716 * gdb.arch/amd64-entry-value-paramref.S: New file.
717 * gdb.arch/amd64-entry-value-paramref.cc: New file.
718 * gdb.arch/amd64-entry-value-paramref.exp: New file.
719 * gdb.arch/amd64-optimout-repeat.S: New file.
720 * gdb.arch/amd64-optimout-repeat.c: New file.
721 * gdb.arch/amd64-optimout-repeat.exp: New file.
723 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
726 * gdb.base/statistics.exp: New file.
728 2014-07-17 Doug Evans <dje@google.com>
731 * gdb.base/maint.exp: Update testing of per-command stats.
733 2014-07-16 Pedro Alves <palves@redhat.com>
735 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
736 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
737 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
738 (tfile_write_buf): New functions.
739 (add_memory_block): Rewrite using the above.
740 (adjust_function_address): New function.
741 (FUNCTION_ADDRESS): New macro.
742 (write_basic_trace_file): Remove short_x local, and use
743 tfile_write_16. Change type of func_addr local to unsigned long
744 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
745 here. Cast argument of add_memory_block to char pointer.
746 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
747 (main): Remove parameters.
748 * gdb.trace/tfile.exp: Remove nowarnings.
750 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
752 * gdb.base/debug-expr.exp: Test string evaluation with
753 "debug expression" on.
755 2014-07-15 Pedro Alves <palves@redhat.com>
757 * gdb.base/reread.exp: Use clean_restart.
759 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
761 * gdb.arch/avr-flash-qualifer.c: New.
762 * gdb.arch/avr-flash-qualifer.exp: New.
764 2014-07-14 Pedro Alves <palves@redhat.com>
766 * gdb.base/paginate-after-ctrl-c-running.c: New file.
767 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
769 2014-07-14 Pedro Alves <palves@redhat.com>
771 * gdb.base/double-prompt-target-event-error.c: New file.
772 * gdb.base/double-prompt-target-event-error.exp: New file.
774 2014-07-14 Pedro Alves <palves@redhat.com>
777 * gdb.base/paginate-inferior-exit.c: New file.
778 * gdb.base/paginate-inferior-exit.exp: New file.
780 2014-07-14 Pedro Alves <palves@redhat.com>
783 * gdb.base/paginate-bg-execution.c: New file.
784 * gdb.base/paginate-bg-execution.exp: New file.
786 2014-07-14 Pedro Alves <palves@redhat.com>
789 * gdb.base/paginate-execution-startup.c: New file.
790 * gdb.base/paginate-execution-startup.exp: New file.
791 * lib/gdb.exp (pagination_prompt): New global.
792 (default_gdb_spawn): New procedure, factored out from
794 (default_gdb_start): Adjust to call default_gdb_spawn.
795 (gdb_spawn): New procedure.
797 2014-07-14 Pedro Alves <palves@redhat.com>
799 * lib/gdb.exp (gdb_assert): New procedure.
800 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
802 2014-07-14 Pedro Alves <palves@redhat.com>
804 * gdb.base/execution-termios.c: New file.
805 * gdb.base/execution-termios.exp: New file.
807 2014-07-14 Tom Tromey <tromey@redhat.com>
809 * gdb.cp/vla-cxx.cc: New file.
810 * gdb.cp/vla-cxx.exp: New file.
812 2014-07-14 Tom Tromey <tromey@redhat.com>
814 * gdb.reverse/rerun-prec.c: New file.
815 * gdb.reverse/rerun-prec.exp: New file.
817 2014-07-12 Maciej W. Rozycki <macro@mips.com>
818 Maciej W. Rozycki <macro@codesourcery.com>
820 * lib/gdb-utils.exp: New file.
821 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
822 inline `gdb_init_command' processing.
823 (gdb_start_cmd): Likewise.
824 * lib/mi-support.exp (mi_run_cmd): Likewise.
825 * README: Document `gdb_init_command' and `gdb_init_commands'.
827 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
829 Fix false FAIL running under a very long directory name.
830 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
831 and "set print elements 10000". Twice.
833 2014-07-11 Yao Qi <yao@codesourcery.com>
835 * gdb.base/exprs.exp: "set print symbol off".
837 2014-07-11 Pedro Alves <palves@redhat.com>
839 * gdb.threads/kill.c: New file.
840 * gdb.threads/kill.exp: New file.
842 2014-07-10 Yao Qi <yao@codesourcery.com>
844 * gdb.trace/tfile.c (write_basic_trace_file)
845 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
846 address written to trace file.
848 2014-07-09 Pedro Alves <palves@redhat.com>
850 * gdb.base/attach-wait-input.exp: New file.
851 * gdb.base/attach-wait-input.c: New file.
853 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
855 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
856 setting up test structures.
857 (main): Call new test function.
858 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
859 test function, continue into test function and walk test
862 2014-07-02 Yao Qi <yao@codesourcery.com>
864 * gdb.trace/entry-values.c: Define labels 'foo_start' and
865 'bar_start' at the beginning of functions 'foo' and 'bar'
867 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
868 instead of 'foo' and 'bar'.
870 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
872 * gdb.btrace/segv.exp: New.
873 * gdb.btrace/segv.c: New.
875 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
877 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
880 2014-06-30 Mark Wielaard <mjw@redhat.com>
882 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
883 vulture, vilify, villar): New volatile array constants.
884 (vindictive, vegetation): New const volatile array constants.
885 * gdb.base/volatile.exp: Test volatile and const volatile array
888 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
890 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
891 target lacks support for awatch, rwatch, or hbreak.
893 2014-06-27 Yao Qi <yao@codesourcery.com>
895 * gdb.multi/dummy-frame-restore.exp: New.
896 * gdb.multi/dummy-frame-restore.c: New.
898 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
900 * gdb.btrace/gcore.exp: New.
902 2014-06-23 Pedro Alves <palves@redhat.com>
904 * gdb.base/watchpoint-reuse-slot.c: New file.
905 * gdb.base/watchpoint-reuse-slot.exp: New file.
907 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
909 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
910 progspace's filename in 'info', 'enable' and 'disable' command
913 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
915 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
916 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
917 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
919 2014-06-20 Gary Benson <gbenson@redhat.com>
921 * gdb.arch/i386-avx.exp: Fix include file location.
922 * gdb.arch/i386-sse.exp: Likewise.
924 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
926 * gdb.dlang/expression.exp: New file.
928 2014-06-19 Pedro Alves <palves@redhat.com>
930 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
932 (top level): ... here. Iterate running tests under different
933 scheduler-locking settings.
935 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
937 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
938 to DW_FORM_addr and use non-zero addresses.
940 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
943 * gdb.python/py-xmethods.cc: Add global function call counters and
944 increment them in their respective functions. Remove "cout"
946 * gdb.python/py-xmethods.exp: Make tests check the global function
947 call counters instead of depending on inferior IO.
949 2014-06-18 Don Breazeal <donb@codesourcery.com>
951 * gdb.base/foll-fork.exp (default_fork_parent_follow):
953 (explicit_fork_parent_follow): Deleted procedure.
954 (explicit_fork_child_follow): Deleted procedure.
955 (test_follow_fork): New procedure.
956 (do_fork_tests): Replace calls to deleted procedures with
957 calls to test_follow_fork and reset GDB for subsequent
960 2014-06-17 Yao Qi <yao@codesourcery.com>
962 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
965 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
967 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
968 Initialize ptr and S explicitly.
969 (skip_type_update_when_not_use_rtti_test): Likewise.
971 2014-06-16 Keith Seitz <keiths@redhat.com>
974 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
975 the inferior is started.
977 2014-06-16 Pedro Alves <palves@redhat.com>
979 * gdb.base/break-main-file-remove-fail.c: New file.
980 * gdb.base/break-main-file-remove-fail.exp: New file.
981 * gdb.base/break-unload-file.exp: Use build_executable instead of
983 (test_break): New parameter "initial_load". Handle it.
984 (top level): Add initial_load cmdline/file axis.
986 2014-06-12 Tom Tromey <tromey@redhat.com>
988 * gdb.base/completion.exp: Don't use directory name in test.
990 2014-06-09 Gary Benson <gbenson@redhat.com>
992 * gdb.base/sigall.c [Functions to send signals]: Reorder to
993 separate the always-available ANSI-standard signals from the
994 signals that require checking.
996 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1000 2014-06-07 Keith Seitz <keiths@redhat.com>
1004 * gdb.cp/var-tag.cc: New file.
1005 * gdb.cp/var-tag.exp: New file.
1006 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1007 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1008 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1009 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1011 2014-06-06 Doug Evans <xdje42@gmail.com>
1013 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1015 2014-06-06 Pedro Alves <palves@redhat.com>
1017 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1018 in target debug output instead of looking at RSP packets,
1019 disabling the test on any target that uses hardware stepping.
1022 2014-06-06 Pedro Alves <palves@redhat.com>
1024 * gdb.base/break-unload-file.exp: Fix typo.
1026 2014-06-06 Yao Qi <yao@codesourcery.com>
1028 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1029 from "jit_function" to "^jit_function".
1031 2014-06-06 Yao Qi <yao@codesourcery.com>
1033 * gdb.base/async.c (foo): Add one statement.
1034 * gdb.base/async.exp: Get the next instruction address and
1035 match the output of "nexti" by instruction address. Match
1036 the hex address in the output of "finish".
1038 2014-06-06 Gary Benson <gbenson@redhat.com>
1040 * gdb.base/call-signals.c: Remove preprocessor conditionals
1041 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1042 SIGSEGV and SIGTERM.
1043 * gdb.base/sigall.c: Likewise.
1044 * gdb.base/unwindonsignal.c: Likewise.
1045 * gdb.reverse/sigall-reverse.c: Likewise.
1047 2014-06-06 Yao Qi <yao@codesourcery.com>
1049 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1050 readable, skip the test.
1052 2014-06-06 Yao Qi <yao@codesourcery.com>
1054 * gdb.threads/staticthreads.c (thread_function): Move the line
1055 setting breakpoint on forward.
1056 * gdb.threads/staticthreads.exp: Update comments.
1058 2014-06-05 Ludovic Courtès <ludo@gnu.org>
1060 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1061 "history-append! type error".
1063 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1065 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1066 erroneous dprintf expected input.
1068 2014-06-04 Doug Evans <xdje42@gmail.com>
1070 * gdb.guile/scm-generics.exp: Delete.
1072 2014-06-04 Doug Evans <xdje42@gmail.com>
1074 * gdb.guile/scm-breakpoint.exp: Update.
1075 Add tests for breakpoint registration.
1077 2014-06-04 Tom Tromey <tromey@redhat.com>
1079 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1081 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1082 inner_vla_struct, vla_union types. Initialize objects of those
1083 types and compute their sizes.
1085 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1086 Hui Zhu <hui@codesourcery.com>
1088 * gdb.base/fileio.exp: Add test for shell not available as well as
1090 * gdb.base/fileio.c (test_system): Check for shell twice.
1092 2014-06-04 Yao Qi <yao@codesourcery.com>
1094 * gdb.base/auto-connect-native-target.exp: Remove redundant
1095 space from the regexp pattern.
1097 2014-06-04 Yao Qi <yao@codesourcery.com>
1099 * gdb.base/default.exp: Replace "child" with "native" in
1102 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1104 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1105 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1106 * gdb.python/py-xmethods.py: Python script supporting the
1107 new testcase and tests.
1109 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1110 Pedro Alves <palves@redhat.com>
1112 PR breakpoints/17000
1113 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1114 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1116 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1118 * gdb.base/subst.exp: Add tests to verify partial path matching
1121 2014-06-03 Pedro Alves <palves@redhat.com>
1123 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1124 target that doesn't use software single-stepping.
1126 2014-06-03 Pedro Alves <palves@redhat.com>
1128 PR breakpoints/17000
1129 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1130 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1132 2014-06-02 Doug Evans <xdje42@gmail.com>
1134 * gdb.guile/scm-parameter.exp: New file.
1136 2014-06-02 Doug Evans <xdje42@gmail.com>
1138 * gdb.guile/scm-cmd.c: New file.
1139 * gdb.guile/scm-cmd.exp: New file.
1141 2014-06-02 Doug Evans <xdje42@gmail.com>
1143 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1144 pretty-printer lookup.
1145 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1146 (make-pp_s-printer): Call it.
1147 (make-pretty-printer-from-dict): New function.
1148 (lookup-pretty-printer-maker-from-dict): New function.
1149 (*pretty-printer*): Simplify.
1150 (make-objfile-pp_s-printer): New function.
1151 (install-objfile-pretty-printers!): New function.
1152 (make-progspace-pp_s-printer): New function.
1153 (install-progspace-pretty-printers!): New function.
1154 * gdb.guile/scm-progspace.c: New file.
1155 * gdb.guile/scm-progspace.exp: New file.
1157 2014-06-02 Pedro Alves <palves@redhat.com>
1159 * gdb.base/dprintf-bp-same-addr.c: New file.
1160 * gdb.base/dprintf-bp-same-addr.exp: New file.
1162 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1164 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1165 * gdb.arch/powerpc-power.s: Likewise.
1167 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1169 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1171 2014-06-01 Yao Qi <yao@codesourcery.com>
1173 * gdb.base/watchpoint.exp (test_watch_location): Check null
1174 pointer can be dereferenced. If not, do the test, otherwise
1177 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1179 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1181 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1183 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1185 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1186 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1187 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1188 * gdb.arch/amd64-invalid-stack-top.c: New file.
1189 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1191 2014-05-30 Pedro Alves <palves@redhat.com>
1193 PR breakpoints/17000
1194 * gdb.base/sss-bp-on-user-bp.c: New file.
1195 * gdb.base/sss-bp-on-user-bp.exp: New file.
1197 2014-05-30 David Blaikie <dblaikie@gmail.com>
1199 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1200 gnu_inline semantics via attribute.
1201 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1202 source explicitly specifies the required semantics.
1204 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1206 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1208 2014-05-29 Pedro Alves <palves@redhat.com>
1209 Tom Tromey <tromey@redhat.com>
1211 * gdb.base/async-shell.exp: Don't enable target-async.
1212 * gdb.base/async.exp
1213 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1215 (top level): Don't test with "target-async".
1216 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1217 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1218 * gdb.base/inferior-died.exp: Don't enable target-async.
1219 * gdb.base/interrupt-noterm.exp: Likewise.
1220 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1221 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1222 * gdb.mi/mi-nonstop.exp: Likewise.
1223 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1224 * gdb.mi/mi-nsintrall.exp: Likewise.
1225 * gdb.mi/mi-nsmoribund.exp: Likewise.
1226 * gdb.mi/mi-nsthrexec.exp: Likewise.
1227 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1228 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1229 * gdb.python/py-evsignal.exp: Don't enable target-async.
1230 * gdb.python/py-evthreads.exp: Likewise.
1231 * gdb.python/py-prompt.exp: Likewise.
1232 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1233 * gdb.server/solib-list.exp: Don't enable target-async.
1234 * gdb.threads/thread-specific-bp.exp: Likewise.
1235 * lib/mi-support.exp: Adjust to use mi-async.
1237 2014-05-29 Pedro Alves <palves@redhat.com>
1240 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1241 reason, even in sync mode.
1243 2014-05-29 Pedro Alves <palves@redhat.com>
1244 Hui Zhu <hui@codesourcery.com>
1247 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1248 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1249 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1250 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1252 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1254 * config/monitor.exp (gdb_target_monitor): Replace use of
1255 "set remotebaud" by "set serial baud".
1257 2014-05-26 Andy Wingo <wingo@igalia.com>
1259 * gdb.guile/scm-breakpoint.exp:
1260 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1261 properties instead of gdb-object-properties.
1263 2014-05-26 Yao Qi <yao@codesourcery.com>
1265 * gdb.server/no-thread-db.exp: Specify source file name
1266 explicitly when setting a breakpoint.
1268 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1270 * gdb.btrace/vdso.c: New.
1271 * gdb.btrace/vdso.exp: New.
1273 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1275 * gdb.base/gcore.exp (capture_command_output): Move ...
1276 * lib/gdb.exp (capture_command_output): ... here.
1278 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1280 * gdb.btrace/data.exp: Test memory access during btrace replay.
1282 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1284 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1286 2014-05-21 Pedro Alves <palves@redhat.com>
1289 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1290 (top level): Test that output related to execution commands is
1291 sent to the console with CLI commands, but not with MI commands.
1292 Test that breakpoint events are always mirrored to the console.
1293 Also expect the new source line to be output after a "next" in
1294 async mode too. Make it a pass/fail test.
1295 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1297 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1299 2014-05-21 Pedro Alves <palves@redhat.com>
1301 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1302 Use them to test variations of "list" after reaching a breakpoint.
1303 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1304 Test "list" with listsize 10 after reaching a breakpoint.
1305 * gdb.python/python.exp (decode_line current location line
1306 number): Adjust expected line number.
1308 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1310 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1311 behavior for $args, pass it directly to "run".
1313 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1315 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1318 2014-05-21 Pedro Alves <palves@redhat.com>
1320 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1321 auto-connect-native-target off".
1322 * gdb.base/auto-connect-native-target.c: New file.
1323 * gdb.base/auto-connect-native-target.exp: New file.
1325 2014-05-21 Pedro Alves <palves@redhat.com>
1327 * gdb.base/default.exp: Test "target native" instead of "target
1330 2014-05-21 Mark Wielaard <mjw@redhat.com>
1332 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1334 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1336 Fix TLS access for -static -pthread.
1337 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1338 <HAVE_TLS> (thread_function, main): Initialize it.
1339 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1341 <$have_tls != "">: Check TLSVAR.
1343 2014-05-21 Pedro Alves <palves@redhat.com>
1345 * gdb.base/dcache-line-read-error.c: New.
1346 * gdb.base/dcache-line-read-error.exp: New.
1348 2014-05-20 Pedro Alves <palves@redhat.com>
1350 * gdb.base/compare-sections.c: New file.
1351 * gdb.base/compare-sections.exp: New file.
1353 2014-05-20 Pedro Alves <palves@redhat.com>
1355 * gdb.base/break-idempotent.c: New file.
1356 * gdb.base/break-idempotent.exp: New file.
1358 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1360 * gdb.btrace/nohist.exp: New.
1362 2014-05-20 Yao Qi <yao@codesourcery.com>
1364 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1365 gdb.reverse directory and gdb_reverse_timeout exists in board
1367 * README: Document gdb_reverse_timeout.
1369 2014-05-20 Yao Qi <yao@codesourcery.com>
1371 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1372 'test_file_name'. Treat args as a string instead of a list.
1373 (gdb_init): Rename argument 'args' by 'test_file_name'.
1375 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1377 * gdb.arch/powerpc-power.exp: New file.
1378 * gdb.arch/powerpc-power.s: New file.
1380 2014-05-16 Doug Evans <dje@google.com>
1382 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
1383 * gdb.base/completion.exp: Check that all expected files exist
1384 before doing file completion.
1386 2014-05-16 Doug Evans <dje@google.com>
1388 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1390 (do_syscall_tests_without_xml): Update.
1392 2014-05-16 Pedro Alves <palves@redhat.com>
1394 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1395 instead of "unknown output after running".
1397 2014-05-16 Yao Qi <yao@codesourcery.com>
1399 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1400 file1.txt from host at the end.
1401 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1403 2014-05-15 Doug Evans <dje@google.com>
1405 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1406 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1407 loading file. Add test for TU lookup.
1409 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1411 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1412 calling "-exec-arguments" or "set args" before running the
1415 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1417 * lib/mi-support.exp (mi_expect_stop): Expect message for
1418 inferiors that exit with non-zero exit code.
1420 2014-05-14 Yao Qi <yao@codesourcery.com>
1422 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1423 match absolute path on remote host.
1424 (test_file_list_exec_source_files): Remove "/" from the
1427 2014-05-14 Yao Qi <yao@codesourcery.com>
1429 * boards/local-remote-host-notty.exp (${board}_file): New
1432 2014-05-07 Kyle McMartin <kyle@redhat.com>
1434 Pushed by Joel Brobecker <brobecker@adacore.com>.
1435 * gdb.arch/aarch64-atomic-inst.c: New file.
1436 * gdb.arch/aarch64-atomic-inst.exp: New file.
1438 2014-05-07 Yao Qi <yao@codesourcery.com>
1440 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1441 in current context" too.
1443 2014-05-05 Keith Seitz <keiths@redhat.com>
1445 * gdb.linespec/ls-dollar.exp: Add test for linespec
1446 file:convenience_variable.
1448 2014-05-05 Yao Qi <yao@codesourcery.com>
1450 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
1451 traceframes into tfile and ctf trace files. Read data from
1452 trace file and test collected data.
1453 (gdb_collect_locals_test): Likewise.
1454 (gdb_unavailable_registers_test): Likewise.
1455 (gdb_unavailable_floats): Likewise.
1456 (gdb_collect_globals_test): Likewise.
1457 (top-level): Append "ctf" to trace_file_targets if GDB
1460 2014-05-05 Yao Qi <yao@codesourcery.com>
1462 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
1464 (gdb_collect_args_test_1): ... it. New proc.
1465 (gdb_collect_locals_test): Move some code to ...
1466 (gdb_collect_locals_test_1): ... it. New proc.
1467 (gdb_unavailable_registers_test): Move some code to ...
1468 (gdb_unavailable_registers_test_1): ... it. New proc.
1469 (gdb_unavailable_floats): Move some code to ...
1470 (gdb_unavailable_floats_1): ... it. New proc.
1472 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1474 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
1475 probes to test for bitness recognition.
1476 * gdb.arch/amd64-stap-optional-prefix.exp
1477 (test_probe_value_without_reg): New procedure.
1478 Add code to test for different kinds of bitness.
1480 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1482 PR breakpoints/16889
1483 * gdb.arch/amd64-stap-optional-prefix.S: New file.
1484 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1486 2014-05-01 Pedro Alves <palves@redhat.com>
1488 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
1489 gdb_file_cmd if no file is specified.
1490 * boards/native-extended-gdbserver.exp (gdb_load): Use the
1491 last_loaded_file to set the remote exec-file.
1493 2014-05-01 Pedro Alves <palves@redhat.com>
1495 * boards/local-remote-host.exp: New file.
1497 2014-05-01 Pedro Alves <palves@redhat.com>
1499 * boards/local-remote-host.exp: Rename to ...
1500 * boards/local-remote-host-notty.exp: ... this.
1502 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1504 * gdb.ada/dyn_arrayidx: New testcase.
1506 2014-04-26 Yao Qi <yao@codesourcery.com>
1508 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
1509 and compute the length of function main. Save it in
1511 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
1512 (top-level): Use gdb_compile to compile objects into
1513 executable and restart GDB. Remove invocation to
1514 prepare_for_testing.
1516 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
1517 Pedro Alves <palves@redhat.com>
1520 * gdb.multi/multi-attach.c: New file.
1521 * gdb.multi/multi-attach.exp: New file.
1523 2014-04-25 Pedro Alves <palves@redhat.com>
1525 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
1527 (top level): Test that "set remote conditional-breakpoints-packet
1528 off" works as intended.
1529 * gdb.base/dprintf.exp: Test that "set remote
1530 breakpoint-commands-packet off" works as intended.
1531 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
1533 (top level): Call it.
1534 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
1535 remote fast-tracepoints-packet off" works as intended.
1536 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
1537 * lib/gdb.exp (gdb_is_target_remote): ... here.
1539 2014-04-24 David Blaikie <dblaikie@gmail.com>
1541 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
1542 ensure clang would not discard them.
1543 * gdb.base/gdbvars.c: Ditto.
1544 * gdb.base/memattr.c: Ditto.
1545 * gdb.base/whatis.c: Ditto.
1546 * gdb.python/py-prettyprint.c: Ditto.
1547 * gdb.trace/actions.c: Ditto.
1548 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
1549 ensure clang would not discard it.
1551 2014-04-24 David Blaikie <dblaikie@gmail.com>
1553 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1554 clang to emit the full definition of type required by the test
1555 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1557 2014-04-24 David Blaikie <dblaikie@gmail.com>
1559 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1560 coax Clang into emitting the definition of the type.
1561 * gdb.cp/pr10728-x.h (y): Ditto.
1562 * gdb.cp/pr10728-y.cc (y): Ditto.
1564 2014-04-24 David Blaikie <dblaikie@gmail.com>
1566 * gdb.base/label.exp: XFAIL label related tests under Clang.
1567 * gdb.cp/cplabel.exp: Ditto.
1568 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
1569 under Clang those using labels.
1571 2014-04-25 Yao Qi <yao@codesourcery.com>
1573 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
1575 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
1576 partial_label and double_label.
1578 2014-04-24 David Blaikie <dblaikie@gmail.com>
1580 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
1582 2014-04-24 David Blaikie <dblaikie@gmail.com>
1584 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
1585 of the function to work across GCC and Clang.
1586 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
1587 pointer types (const void ** const V void **).
1589 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
1590 Walfred Tedeschi <walfred.tedeschi@intel.com>
1592 * Makefile.in (EXECUTABLES): Added i386-avx512.
1593 * gdb.arch/i386-avx512.c: New file.
1594 * gdb.arch/i386-avx512.exp: Likewise.
1596 2014-04-23 Keith Seitz <keiths@redhat.com>
1598 * lib/mi-support.exp (mi_list_breakpoints): Delete.
1599 (mi_make_breakpoint_table): New procedure.
1600 (mi_create_breakpoint): Use mi_make_breakpoint
1601 and return the result.
1602 (mi_make_breakpoint): New procedure.
1603 (mi_build_kv_pairs): New procedure.
1605 * gdb.mi/mi-break.exp: Remove unused globals,
1606 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
1607 All callers updated.
1608 * gdb.mi/mi-dprintf.exp: Use variable to track command
1610 Update all callers of mi_create_breakpoint and use
1611 mi_make_breakpoint_table.
1612 Remove any unused global variables.
1613 * gdb.mi/mi-nonstop.exp: Likewise.
1614 * gdb.mi/mi-nsintrall.exp: Likewise.
1615 * gdb.mi/mi-nsmoribund.exp: Likewise.
1616 * gdb.mi/mi-nsthrexec.exp: Likewise.
1617 * gdb.mi/mi-reverse.exp: Likewise.
1618 * gdb.mi/mi-simplerun.exp: Likewise.
1619 * gdb.mi/mi-stepn.exp: Likewise.
1620 * gdb.mi/mi-syn-frame.exp: Likewise.
1621 * gdb.mi/mi-until.exp: Likewise.
1622 * gdb.mi/mi-var-cp.exp: Likewise.
1623 * gdb.mi/mi-var-display.exp: Likewise.
1624 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1625 * gdb.mi/mi2-var-child.exp: Likewise.
1626 * gdb.mi/mi-vla-c99.exp: Likewise.
1627 * lib/mi-support.exp: Likewise.
1629 From Ian Lance Taylor <iant@cygnus.com>:
1630 * lib/gdb.exp (parse_args): New procedure.
1632 2014-04-23 Pedro Alves <palves@redhat.com>
1634 * gdb.base/break-unload-file.c: New file.
1635 * gdb.base/break-unload-file.exp: New file.
1636 * gdb.base/sym-file-lib.c (baz): New function.
1637 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
1639 (load): Store the segment's mapped size.
1640 (unload): New function.
1641 (unload_shlib): New function.
1642 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
1643 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
1644 set a breakpoint at baz, and call it.
1645 * gdb.base/sym-file.exp: New tests for stale breakpoint
1648 2014-04-23 Pedro Alves <palves@redhat.com>
1650 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
1651 * gdb.base/hbreak-in-shr-unsupported.c: New file.
1652 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
1653 * gdb.base/hbreak-unmapped.c: New file.
1654 * gdb.base/hbreak-unmapped.exp: New file.
1655 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
1656 * lib/gdb.exp (gdb_is_target_remote): ... here.
1658 2014-04-22 Pedro Alves <palves@redhat.com>
1660 * gdb.base/consecutive-step-over.c: New file.
1661 * gdb.base/consecutive-step-over.exp: New file.
1663 2014-04-22 Pedro Alves <palves@redhat.com>
1665 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
1666 instead of send_gdb/gdb_expect.
1668 2014-04-22 Yao Qi <yao@codesourcery.com>
1670 * lib/trace-support.exp (generate_tracefile): New procedure.
1671 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
1673 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
1674 if generate_tracefile returns 1.
1676 2014-04-18 Tom Tromey <palves@redhat.com>
1677 Pedro alves <tromey@redhat.com>
1680 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
1681 with a backtrace limit.
1682 * gdb.python/py-frame-inline.exp: Test running to an inline
1683 function with a backtrace limit, and printing the newest frame.
1684 * gdb.python/py-frame-inline.c (main): Call f.
1686 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1688 * gdb.java/jnpe.exp: Drop srcdir from untested path.
1690 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1692 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
1693 Drop prefix from unsupported source file path.
1695 2014-04-17 Yao Qi <yao@codesourcery.com>
1697 * lib/gdb.exp (with_target_charset): New proc.
1698 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
1699 with_target_charset.
1700 (test_print_strings): Likewise.
1701 (test_repeat_bytes): Likewise.
1702 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
1705 2014-04-16 Keith Seitz <keiths@redhat.com>
1708 * gdb.dwarf2/corrupt.c: New file.
1709 * gdb.dwarf2/corrupt.exp: New file.
1711 2014-04-16 Keith Seitz <keiths@redhat.com>
1714 * gdb.cp/namelessclass.cc: New file.
1715 * gdb.cp/namelessclass.exp: New file.
1716 * gdb.cp/namelessclass.S: New file.
1718 2014-04-16 Doug Evans <dje@google.com>
1720 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
1722 (gdbserver_default_get_comm_port): New function.
1723 (gdbserver_start): Check if board file provided
1724 "gdbserver,get_comm_port" and use it if so.
1725 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
1726 (gdb,socketport): Set to "stdio".
1727 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
1728 (stdio_gdbserver_template): Delete.
1729 (${board}_get_remote_address): Update.
1730 (${board}_build_remote_cmd): Delete.
1731 (${board}_get_comm_port): New function.
1732 (${board}_spawn): Update.
1733 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
1735 (${board}_get_remote_address): Update.
1736 (${board}_get_comm_port): New function.
1738 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
1740 * gdb.base/memattr.exp: Improve regexps to handle memory regions
1741 appearing in any order.
1743 2014-04-15 Doug Evans <dje@google.com>
1745 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
1746 uninitialized value of "description".
1748 2014-04-15 Keith Seitz <keiths@redhat.com>
1750 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
1751 Remove unused globals.
1752 (test_running_the_program): Likewise.
1753 (test_controlled_execution): Likewise.
1754 (test_controlling_breakpoints): Likewise.
1755 (test_program_termination): Likewise.
1757 2014-04-15 Keith Seitz <keiths@redhat.com>
1759 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
1761 (test_rbreak_creation_and_listing): Likewise.
1762 (test_ignore_count): Likewise.
1763 (test_error): Likewise.
1765 2014-04-15 Pedro Alves <palves@redhat.com>
1767 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
1768 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
1770 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1771 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1772 to sym-file-loader.c.
1773 (struct library): Forward declare.
1774 (load_shlib, lookup_function): Change prototypes.
1775 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1776 (translate_offset): Remove declarations.
1777 (get_text_addr): New declaration.
1778 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
1779 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
1781 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1782 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1783 here from sym-file-loader.h.
1784 (struct library): New structure.
1785 (load_shlib, lookup_function): Change prototypes and adjust to
1786 work with a struct library.
1787 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1788 (translate_offset): Make static.
1789 (get_text_addr): New function.
1790 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
1792 2014-04-15 Pedro Alves <palves@redhat.com>
1794 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
1796 2014-04-15 Pedro Alves <palves@redhat.com>
1798 * gdb.base/sym-file-loader.c: Include <limits.h>.
1799 (SELF_LINK): New define.
1800 (get_origin): New function.
1801 (load_shlib): Use it.
1802 * gdb.base/sym-file.exp: Don't early return if the target is
1803 remote. Use runto_main, and issue fail is that fails. Use
1805 (shlib_name): Delete.
1806 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
1808 2014-04-15 Pedro Alves <palves@redhat.com>
1810 * gdb.base/sym-file.exp: Remove regex characters from test
1811 message. Don't refer to breakpoint numbers in test messages.
1813 2014-04-14 Keith Seitz <keiths@redhat.com>
1816 * gdb.cp/var-tag.cc: New file.
1817 * gdb.cp/var-tag.exp: New file.
1818 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1819 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1820 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1821 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1823 2014-04-14 Tom Tromey <tromey@redhat.com>
1825 * gdb.cp/classes.exp (test_enums): Handle underlying type.
1826 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
1828 * gdb.cp/enum-class.exp: New file.
1829 * gdb.cp/enum-class.cc: New file.
1831 2014-04-14 Tom Tromey <tromey@redhat.com>
1833 * gdb.dwarf2/enum-type.exp: New file.
1835 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1837 * gdb.mi/mi-vla-c99.exp: New file.
1838 * gdb.mi/vla.c: New file.
1840 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1842 * gdb.base/vla-datatypes.c: New file.
1843 * gdb.base/vla-datatypes.exp: New file.
1845 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1847 * gdb.base/vla-ptr.c: New file.
1848 * gdb.base/vla-ptr.exp: New file.
1850 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1852 * gdb.dwarf2/count.exp: New file.
1854 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1856 * gdb.base/vla-sideeffect.c: New file.
1857 * gdb.base/vla-sideeffect.exp: New file.
1859 2014-04-14 David Blaikie <dblaikie@gmail.com>
1861 * gdb.mi/non-stop.c: Add return value for non-void function return
1863 * gdb.threads/staticthreads.c: Ditto.
1865 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
1866 Doug Evans <xdje42@gmail.com>
1868 * gdb.guile/scm-value.c: Improve test case.
1869 * gdb.guile/scm-value.exp: Add new test.
1871 2014-04-11 David Blaikie <dblaikie@gmail.com>
1873 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
1874 override Clang's default.
1876 2014-04-11 Joel Brobecker <brobecker@adacore.com>
1878 Revert the following changes (regressions):
1880 * gdb.base/vla-sideeffect.c: New file.
1881 * gdb.base/vla-sideeffect.exp: New file.
1883 * gdb.dwarf2/count.exp: New file.
1885 * gdb.base/vla-multi.c: New file.
1886 * gdb.base/vla-multi.exp: New file.
1888 * gdb.base/vla-ptr.c: New file.
1889 * gdb.base/vla-ptr.exp: New file.
1891 * gdb.base/vla-datatypes.c: New file.
1892 * gdb.base/vla-datatypes.exp: New file.
1894 * gdb.mi/mi-vla-c99.exp: New file.
1895 * gdb.mi/vla.c: New file.
1897 2014-04-11 Keith Seitz <keiths@redhat.com>
1900 * gdb.cp/cpsizeof.exp: New file.
1901 * gdb.cp/cpsizeof.cc: New file.
1903 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1905 * gdb.mi/mi-vla-c99.exp: New file.
1906 * gdb.mi/vla.c: New file.
1908 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1910 * gdb.base/vla-datatypes.c: New file.
1911 * gdb.base/vla-datatypes.exp: New file.
1913 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1915 * gdb.base/vla-ptr.c: New file.
1916 * gdb.base/vla-ptr.exp: New file.
1918 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1920 * gdb.base/vla-multi.c: New file.
1921 * gdb.base/vla-multi.exp: New file.
1923 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1925 * gdb.dwarf2/count.exp: New file.
1927 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1929 * gdb.base/vla-sideeffect.c: New file.
1930 * gdb.base/vla-sideeffect.exp: New file.
1932 2014-04-11 Yao Qi <yao@codesourcery.com>
1934 * gdb.base/completion.exp: Check file exists before running tests
1937 2014-04-10 Pedro Alves <palves@redhat.com>
1939 * gdb.base/cond-eval-mode.c: New file.
1940 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
1941 prepare_for_testing to build the new file. Check result of
1943 (test_break, test_watch): New procedures.
1944 (top level): Use them.
1946 2014-04-08 Pierre Muller <muller@sourceware.org>
1948 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
1949 Ctrl-V use for mingw hosts.
1951 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
1953 * gdb.python/py-value.c: Improve test case.
1954 * gdb.python/py-value.exp: Add new test.
1956 2014-04-07 David Blaikie <dblaikie@gmail.com>
1958 * lib/compiler.c: Identify the clang compiler.
1959 * lib/compiler.cc: Ditto.
1961 2014-04-03 Yao Qi <yao@codesourcery.com>
1963 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
1965 2014-04-01 Anton Blanchard <anton@samba.org>
1967 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
1970 2014-04-01 Anton Blanchard <anton@samba.org>
1972 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
1973 prepare_for_testing.
1975 2014-04-01 Anton Blanchard <anton@samba.org>
1977 * gdb.arch/ppc64-atomic-inst.c: Remove.
1978 * gdb.arch/ppc64-atomic-inst.S: New file.
1979 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
1981 2014-03-31 Doug Evans <dje@google.com>
1983 * gdb.base/print-symbol-loading-lib.c: New file.
1984 * gdb.base/print-symbol-loading-main.c: New file.
1985 * gdb.base/print-symbol-loading.exp: New file.
1987 2014-03-31 Yao Qi <yao@codesourcery.com>
1989 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
1991 2014-03-28 Joel Brobecker <brobecker@adacore.com>
1993 * gdb.ada/mi_dyn_arr: New testcase.
1995 2014-03-27 Doug Evans <dje@google.com>
1997 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
1999 2014-03-27 Yao Qi <yao@codesourcery.com>
2001 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2002 if target is nios2-*-*.
2004 2014-03-26 Yao Qi <yao@codesourcery.com>
2006 * lib/gdb.exp (readline_is_used): New proc.
2007 * gdb.base/completion.exp: Move tests on command complete up.
2008 Skip the rest of tests if readline is not used.
2009 * gdb.ada/complete.exp: Skp the test if readline is not
2011 * gdb.base/filesym.exp: Likewise.
2012 * gdb.base/macscp.exp: Likewise.
2013 * gdb.base/readline-ask.exp: Likewise.
2014 * gdb.base/readline.exp: Likewise.
2015 * gdb.python/py-cmd.exp: Likewise.
2016 * gdb.trace/tfile.exp: Likewise.
2018 2014-03-26 Yao Qi <yao@codesourcery.com>
2020 * gdb.base/macscp.exp: Fix code format issues.
2022 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2024 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2025 * gdb.asm/powerpc64le.inc: New file.
2027 2014-03-25 Pedro Alves <palves@redhat.com>
2028 Doug Evans <dje@google.com>
2030 * gdb.base/source-execution.c: New file.
2031 * gdb.base/source-execution.exp: New file.
2032 * gdb.base/source-execution.gdb: New file.
2034 2014-03-24 Doug Evans <dje@google.com>
2036 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2039 2014-03-24 Hui Zhu <hui@codesourcery.com>
2040 Pedro Alves <palves@redhat.com>
2042 PR breakpoints/16101
2043 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2044 test pass/fail messages. Detect missing support for dprintf when
2045 breakpoints are actually inserted.
2046 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2047 breakpoints are actually inserted.
2048 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2051 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2053 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2055 2014-03-22 Doug Evans <xdje42@gmail.com>
2057 * gdb.python/python.exp (python not supported): Verify multi-line
2058 python command issues an error.
2059 * gdb.guile/guile.exp (guile not supported): Verify multi-line
2060 guile command issues an error.
2062 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2064 * gdb.threads/thread-specific.exp: Handle the lack of usable
2065 $this_breakpoint and $this_thread.
2067 2014-03-21 Hui Zhu <hui@codesourcery.com>
2069 * gdb.base/attach.exp (do_command_attach_tests): New.
2071 2014-03-20 Tom Tromey <tromey@redhat.com>
2072 Pedro Alves <palves@redhat.com>
2075 * gdb.base/condbreak-call-false.c: New file.
2076 * gdb.base/condbreak-call-false.exp: New file.
2078 2014-03-20 Pedro Alves <palves@redhat.com>
2080 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2082 (block_signals, unblock_signals): Delete.
2083 (child_function_2, main): Remove references to deleted variable
2086 2014-03-20 Pedro Alves <palves@redhat.com>
2088 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2089 Use pthread_kill to signal thread 2.
2090 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2091 Adjust to make the test send itself a signal rather than using the
2092 host's "kill" command.
2094 2014-03-20 Pedro Alves <palves@redhat.com>
2096 * gdb.threads/multiple-step-overs.c: New file.
2097 * gdb.threads/multiple-step-overs.exp: New file.
2098 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2099 Adjust expected infrun debug output.
2101 2014-03-20 Pedro Alves <palves@redhat.com>
2103 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2104 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2106 2014-03-20 Pedro Alves <palves@redhat.com>
2109 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2110 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2111 of gdb_test_multiple.
2112 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2113 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2115 2014-03-20 Pedro Alves <palves@redhat.com>
2117 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2118 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2120 2014-03-19 Pedro Alves <palves@redhat.com>
2122 * gdb.base/async.exp: Remove early return.
2124 2014-03-19 Pedro Alves <palves@redhat.com>
2126 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2128 2014-03-19 Pedro Alves <palves@redhat.com>
2130 * gdb.base/async.exp (test_background): Expect \r\n after
2131 "completed." in the fail pattern.
2133 2014-03-19 Pedro Alves <palves@redhat.com>
2135 * gdb.base/async.exp (test_background): New procedure.
2136 Use it for all background execution command tests.
2138 2014-03-19 Pedro Alves <palves@redhat.com>
2140 * gdb.base/async.exp: Use prepare_for_testing.
2142 2014-03-19 Pedro Alves <palves@redhat.com>
2144 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2147 2014-03-19 Pedro Alves <palves@redhat.com>
2149 * gdb.base/async.c (main): Add "jump here" and "until here" line
2151 * gdb.base/async.exp (jump_here): New global.
2152 (jump& test): Use it.
2153 (until_here): New global.
2154 (until& test): Use it.
2156 2014-03-19 Pedro Alves <palves@redhat.com>
2158 * gdb.base/async.exp: Don't frob gdb_protocol.
2160 2014-03-18 Doug Evans <xdje42@gmail.com>
2162 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2163 Fix spelling of exec-done-display.
2165 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2168 * gdb.base/gdb-sigterm.c: New file.
2169 * gdb.base/gdb-sigterm.exp: New file.
2171 2014-03-18 Pedro Alves <palves@redhat.com>
2174 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2175 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2178 2014-03-17 Joel Brobecker <brobecker@adacore.com>
2180 * gdb.ada/pckd_arr_ren: New testcase.
2182 2014-03-13 Doug Evans <xdje42@gmail.com>
2185 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2186 collect after discarding symbols.
2188 2014-03-13 Ludovic Courtès <ludo@gnu.org>
2189 Doug Evans <xdje42@gmail.com>
2191 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2192 to history survives a gc.
2194 2014-03-13 Pedro Alves <palves@redhat.com>
2196 * gdb.base/default.exp: Don't test "target procfs".
2198 2014-03-13 Pedro Alves <palves@redhat.com>
2200 * gdb.base/default.exp: Update "target child" and "target procfs"
2201 tests to not expect "Unix".
2203 2014-03-12 Tom Tromey <tromey@redhat.com>
2205 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2206 New procs. Add target-async tests.
2207 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2208 Add target-async tests.
2210 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2212 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2213 'func_start' and 'func_end' for the beginning and end of the
2214 function code, respectively.
2215 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2216 'func_end' instead of 'func' and 'main'.
2218 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2220 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2221 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2222 generate the debug info assembler source.
2224 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2226 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2227 * gdb.dwarf2/arr-subrange.exp: Likewise.
2228 * gdb.dwarf2/dwz.exp: Likewise.
2229 * gdb.dwarf2/method-ptr.exp: Likewise.
2230 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2231 * gdb.dwarf2/subrange.exp: Likewise.
2232 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2233 * gdb.dwarf2/implptrpiece.exp: Likewise.
2234 * gdb.dwarf2/nostaticblock.exp: Likewise.
2236 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2238 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2239 directory to absolute path name arguments.
2241 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2243 * gdb.ada/tagged_access: New testcase.
2245 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2247 * gdb.btrace/data.exp: Update expected output.
2249 2014-03-06 Yao Qi <yao@codesourcery.com>
2251 * gdb.trace/pr16508.exp: New file.
2253 2014-03-05 Pedro Alves <palves@redhat.com>
2256 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2258 (top level): Adjust to use it. Add tests that exercise breakpoint
2259 interaction with the code-cache.
2261 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2263 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2264 test for 'history-append!'.
2266 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2268 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2269 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2270 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2271 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2272 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2273 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2275 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2277 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2278 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2279 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2281 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2283 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2285 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2287 * gdb.dwarf2/arr-stride.c: New file.
2288 * gdb.dwarf2/arr-stride.exp: New file.
2290 2014-02-26 Pedro Alves <palves@redhat.com>
2292 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2293 that won't ever trigger. Make sure that GDB reports the correct
2294 breakpoint that caused the stop.
2296 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2299 * gdb.base/auto-load-script: New file.
2300 * gdb.base/auto-load.c: New file.
2301 * gdb.base/auto-load.exp: New file.
2304 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2306 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2308 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2309 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2311 2014-02-24 Doug Evans <dje@google.com>
2313 * lib/gdb.exp (run_on_host): Log error output if program fails.
2315 2014-02-21 Pedro Alves <palves@redhat.com>
2317 * gdb.threads/step-after-sr-lock.c: Rename to ...
2318 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2319 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2320 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2323 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2326 * gdb.arch/amd64-stap-special-operands.exp: New file.
2327 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2328 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2329 * gdb.arch/amd64-stap-triplet.S: Likewise.
2330 * gdb.arch/amd64-stap-triplet.c: Likewise.
2332 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2334 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2335 in .section pseudo-op.
2337 2014-02-20 lin zuojian <manjian2006@gmail.com>
2338 Joel Brobecker <brobecker@adacore.com>
2339 Doug Evans <xdje42@gmail.com>
2342 * gdb.dwarf2/dw2-icycle.S: New file.
2343 * gdb.dwarf2/dw2-icycle.c: New file.
2344 * gdb.dwarf2/dw2-icycle.exp: New file.
2346 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2348 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2349 operations on gdb.Value objects.
2350 * gdb.python/py-value-cc.exp: Add new test to test operations on
2353 2014-02-18 Doug Evans <dje@google.com>
2355 * Makefile.in (TESTS): New variable.
2356 (expanded_tests, expanded_tests_or_none): New variables
2357 (check-single): Pass $(expanded_tests_or_none) to runtest.
2358 (check-parallel): Only run tests in $(TESTS) if non-empty.
2359 (check/no-matching-tests-found): New rule.
2360 * README: Document TESTS makefile variable.
2362 2014-02-18 Doug Evans <dje@google.com>
2364 * Makefile.in (check-parallel): rm -rf outputs temp.
2366 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2368 Fix "ERROR: no fileid for" in the testsuite.
2369 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2371 2014-02-12 Doug Evans <dje@google.com>
2373 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2374 (MISCELLANEOUS): New variable.
2375 (clean): rm -rf $(MISCELLANEOUS).
2376 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2377 dwp live in the same directory as symlinks, with each symlink pointed
2378 to a differently named file in a different directory.
2380 2014-02-11 Doug Evans <dje@google.com>
2382 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2383 of Tcl file commands.
2385 2014-02-10 Mark Kettenis <kettenis@gnu.org>
2387 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2390 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2392 * gdb.ada/tick_length_array_enum_idx: New testcase.
2394 2014-02-10 Doug Evans <xdje42@gmail.com>
2396 * configure.ac (AC_OUTPUT): Add gdb.guile.
2397 * configure: Regenerate.
2398 * lib/gdb-guile.exp: New file.
2399 * lib/gdb.exp (get_target_charset): New function.
2400 * gdb.base/help.exp: Update expected output from "apropos apropos".
2401 * gdb.guile/Makefile.in: New file.
2402 * gdb.guile/guile.exp: New file.
2403 * gdb.guile/scm-arch.c: New file.
2404 * gdb.guile/scm-arch.exp: New file.
2405 * gdb.guile/scm-block.c: New file.
2406 * gdb.guile/scm-block.exp: New file.
2407 * gdb.guile/scm-breakpoint.c: New file.
2408 * gdb.guile/scm-breakpoint.exp: New file.
2409 * gdb.guile/scm-disasm.c: New file.
2410 * gdb.guile/scm-disasm.exp: New file.
2411 * gdb.guile/scm-equal.c: New file.
2412 * gdb.guile/scm-equal.exp: New file.
2413 * gdb.guile/scm-error.exp: New file.
2414 * gdb.guile/scm-error.scm: New file.
2415 * gdb.guile/scm-frame-args.c: New file.
2416 * gdb.guile/scm-frame-args.exp: New file.
2417 * gdb.guile/scm-frame-args.scm: New file.
2418 * gdb.guile/scm-frame-inline.c: New file.
2419 * gdb.guile/scm-frame-inline.exp: New file.
2420 * gdb.guile/scm-frame.c: New file.
2421 * gdb.guile/scm-frame.exp: New file.
2422 * gdb.guile/scm-generics.exp: New file.
2423 * gdb.guile/scm-gsmob.exp: New file.
2424 * gdb.guile/scm-iterator.c: New file.
2425 * gdb.guile/scm-iterator.exp: New file.
2426 * gdb.guile/scm-math.c: New file.
2427 * gdb.guile/scm-math.exp: New file.
2428 * gdb.guile/scm-objfile-script-gdb.in: New file.
2429 * gdb.guile/scm-objfile-script.c: New file.
2430 * gdb.guile/scm-objfile-script.exp: New file.
2431 * gdb.guile/scm-objfile.c: New file.
2432 * gdb.guile/scm-objfile.exp: New file.
2433 * gdb.guile/scm-ports.exp: New file.
2434 * gdb.guile/scm-pretty-print.c: New file.
2435 * gdb.guile/scm-pretty-print.exp: New file.
2436 * gdb.guile/scm-pretty-print.scm: New file.
2437 * gdb.guile/scm-section-script.c: New file.
2438 * gdb.guile/scm-section-script.exp: New file.
2439 * gdb.guile/scm-section-script.scm: New file.
2440 * gdb.guile/scm-symbol.c: New file.
2441 * gdb.guile/scm-symbol.exp: New file.
2442 * gdb.guile/scm-symtab-2.c: New file.
2443 * gdb.guile/scm-symtab.c: New file.
2444 * gdb.guile/scm-symtab.exp: New file.
2445 * gdb.guile/scm-type.c: New file.
2446 * gdb.guile/scm-type.exp: New file.
2447 * gdb.guile/scm-value-cc.cc: New file.
2448 * gdb.guile/scm-value-cc.exp: New file.
2449 * gdb.guile/scm-value.c: New file.
2450 * gdb.guile/scm-value.exp: New file.
2451 * gdb.guile/source2.scm: New file.
2452 * gdb.guile/types-module.cc: New file.
2453 * gdb.guile/types-module.exp: New file.
2455 2014-02-10 Yao Qi <yao@codesourcery.com>
2458 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
2459 * configure: Regenerated.
2460 * Makefile.in: New file.
2462 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2464 * gdb.python/py-framefilter.exp: Fix typo.
2466 2014-02-08 Yao Qi <yao@codesourcery.com>
2468 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
2469 that no =breakpoint-modified is emitted when breakpoints are
2470 modified through MI commands.
2472 2014-02-07 Pedro Alves <pedro@codesourcery.com>
2473 Pedro Alves <palves@redhat.com>
2475 * gdb.threads/step-after-sr-lock.c: New file.
2476 * gdb.threads/step-after-sr-lock.exp: New file.
2478 2014-02-07 Pedro Alves <palves@redhat.com>
2480 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
2482 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2484 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
2485 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
2487 2014-02-06 Doug Evans <xdje42@gmail.com>
2489 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
2492 * gdb.gdb/python-interrupts.exp: New file.
2494 2014-02-05 Yao Qi <yao@codesourcery.com>
2496 * gdb.trace/report.exp (use_collected_data): Test the output
2497 of "info threads" and "info inferiors".
2499 2014-02-05 Yao Qi <yao@codesourcery.com>
2503 2013-05-24 Yao Qi <yao@codesourcery.com>
2505 * gdb.trace/tfile.exp: Test inferior and thread.
2507 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2509 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
2511 * gdb.base/step-bt.c: Call hello via function pointer to make
2512 sure its first instruction is executed on powerpc64le-linux.
2514 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2516 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
2518 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2520 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
2521 of the test patterns for use on little-endian systems.
2523 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2525 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
2526 (decimal_vector): Fix for little-endian.
2528 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2530 * gdb.arch/sparc-sysstep.exp: New file.
2531 * gdb.arch/sparc-sysstep.c: Likewise.
2533 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
2535 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2537 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2539 2014-01-23 Tom Tromey <tromey@redhat.com>
2541 * gdb.ada/array_char_idx: New testcase.
2543 2014-01-23 Tom Tromey <tromey@redhat.com>
2546 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
2547 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2550 2014-01-23 Tom Tromey <tromey@redhat.com>
2553 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2554 string from an inferior frame.
2555 * gdb.python/py-framefilter-mi.exp: Update.
2557 2014-01-22 Doug Evans <dje@google.com>
2559 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2561 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2563 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2565 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2567 * gdb.trace/entry-values.exp: Remove excess space character from
2568 regex patterns. Handle s390 call instruction.
2570 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2572 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
2573 define "*_start" label. Make "name" static.
2574 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
2575 ${name} by references to ${name}_start.
2577 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2579 * gdb.base/info-macros.exp: Remove "debug" from the compile
2582 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2584 * gdb.dlang/demangle.exp: New file.
2586 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2588 * gdb.dlang/primitive-types.exp: New file.
2590 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2592 * configure.ac: Create gdb.dlang/Makefile.
2593 * configure: Regenerate.
2594 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
2595 * gdb.dlang/Makefile.in: New file.
2596 * lib/d-support.exp: New file.
2597 * lib/gdb.exp (skip_d_tests): New proc.
2599 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2601 * gdb.btrace/delta.exp: Check reverse stepi.
2602 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
2603 * gdb.btrace/finish.exp: New.
2604 * gdb.btrace/next.exp: New.
2605 * gdb.btrace/nexti.exp: New.
2606 * gdb.btrace/record_goto.c: Add comments.
2607 * gdb.btrace/step.exp: New.
2608 * gdb.btrace/stepi.exp: New.
2609 * gdb.btrace/multi-thread-step.c: New.
2610 * gdb.btrace/multi-thread-step.exp: New.
2611 * gdb.btrace/rn-dl-bind.c: New.
2612 * gdb.btrace/rn-dl-bind.exp: New.
2613 * gdb.btrace/data.c: New.
2614 * gdb.btrace/data.exp: New.
2615 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2617 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2619 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
2620 * gdb.btrace/exception.exp: Update.
2621 * gdb.btrace/instruction_history.exp: Update.
2622 * gdb.btrace/record_goto.exp: Update.
2623 * gdb.btrace/tailcall.exp: Update.
2624 * gdb.btrace/unknown_functions.exp: Update.
2625 * gdb.btrace/delta.exp: New.
2627 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2629 * gdb.btrace/record_goto.exp: Add backtrace test.
2630 * gdb.btrace/tailcall.exp: Add backtrace test.
2632 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2634 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
2635 * gdb.btrace/record_goto.c: New.
2636 * gdb.btrace/record_goto.exp: New.
2637 * gdb.btrace/x86-record_goto.S: New.
2639 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2641 * gdb.btrace/function_call_history.exp: Update tests.
2642 * gdb.btrace/instruction_history.exp: Update tests.
2644 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2646 * gdb.btrace/function_call_history.exp: Fix expected field
2647 order for "record function-call-history".
2648 Add new tests for "record function-call-history /c".
2649 * gdb.btrace/exception.cc: New.
2650 * gdb.btrace/exception.exp: New.
2651 * gdb.btrace/tailcall.exp: New.
2652 * gdb.btrace/x86-tailcall.S: New.
2653 * gdb.btrace/x86-tailcall.c: New.
2654 * gdb.btrace/unknown_functions.c: New.
2655 * gdb.btrace/unknown_functions.exp: New.
2656 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2658 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2660 * gdb.btrace/instruction_history.exp: Update.
2661 * gdb.btrace/function_call_history.exp: Update.
2663 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2665 * gdb.btrace/function_call_history.exp: Fix expected function
2667 * gdb.btrace/instruction_history.exp: Initialize traced.
2668 Remove traced_functions.
2670 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2672 * gdb.btrace/function_call_history.exp: Update
2673 * gdb.btrace/instruction_history.exp: Update.
2675 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2677 * gdb.btrace/enable.exp: Update expected text.
2679 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
2681 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
2684 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
2686 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
2688 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2690 * lib/gdb.exp (supports_process_record): Return true for
2691 arm*-linux*. (supports_reverse): Likewise.
2693 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
2697 * gdb.python/py-type.c: Enhance test case.
2698 * gdb.python/py-value-cc.cc: Likewise
2699 * gdb.python/py-type.exp: Add new tests.
2700 * gdb.python/py-value-cc.exp: Likewise
2702 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2703 Pedro Alves <palves@redhat.com>
2705 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
2707 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
2708 references to ${name}_start by references to ${name}.
2710 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2712 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
2714 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2716 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
2718 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
2719 Pedro Alves <palves@redhat.com>
2721 * gdb.mi/mi-info-os.exp: Connect to the target with
2724 2014-01-08 Pedro Alves <palves@redhat.com>
2726 * gdb.threads/reconnect-signal.c: New file.
2727 * gdb.threads/reconnect-signal.exp: New file.
2729 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2731 * gdb.base/source-dir.exp: New file.
2733 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2735 * gdb.ada/mi_interface: New testcase.
2737 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2739 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
2740 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
2741 gdb.ada/pp-rec-component/pck.ads: New files.
2743 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2745 * gdb.python/py-pp-integral.c: New file.
2746 * gdb.python/py-pp-integral.py: New file.
2747 * gdb.python/py-pp-integral.exp: New file.
2749 For older changes see ChangeLog-1993-2013.
2755 ;; version-control: never
2758 Copyright 2014 Free Software Foundation, Inc.
2759 Copying and distribution of this file, with or without modification,
2760 are permitted provided the copyright notice and this notice are preserved.