1 2014-10-17 Yao Qi <yao@codesourcery.com>
3 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
4 check 'target_info exists noargs'.
5 (test_command_prompt_position): Likewise.
6 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
8 (progvar_simple_while_test): Likewise.
9 (progvar_complex_if_while_test): Likewise.
10 (if_while_breakpoint_command_test): Likewise.
11 (infrun_breakpoint_command_test): Likewise.
12 (breakpoint_command_test): Likewise.
13 (watchpoint_command_test): Likewise.
14 (bp_deleted_in_command_test): Likewise.
15 (temporary_breakpoint_commands): Likewise.
17 2014-10-16 Yao Qi <yao@codesourcery.com>
19 * gdb.base/remotetimeout.exp: Remove noargs checking.
21 2014-10-15 Pedro Alves <palves@redhat.com>
24 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
25 * gdb.base/breakpoint-in-ro-region.exp
26 (probe_target_hardware_step): New procedure.
27 (top level): Probe hardware stepping and hardware breakpoint
28 support. Test stepping through a read-only region, with both
29 "breakpoint auto-hw" on and off and both "always-inserted" on and
32 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
34 * gdb.dlang/demangle.exp: Update for demangling changes.
36 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
38 * gdb.cp/non-trivial-retval.cc: Add new test cases.
39 * gdb.cp/non-trivial-retval.exp: Add new tests.
41 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
45 * gdb.cp/non-trivial-retval.cc: New file.
46 * gdb.cp/non-trivial-retval.exp: New file.
48 2014-10-15 Yao Qi <yao@codesourcery.com>
50 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
53 2014-10-15 Yao Qi <yao@codesourcery.com>
55 * gdb.python/py-symbol.exp: Match file base name if host is
56 remote, otherwise match file name with dir name.
57 * gdb.python/py-symtab.exp: Likewise.
58 * gdb.python/python.exp: Likewise.
60 2014-10-15 Yao Qi <yao@codesourcery.com>
62 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
64 * gdb.python/py-symtab.exp: Likewise.
65 * gdb.python/python.exp: Remove trailing ".*". Fix typo
68 2014-10-14 Joel Brobecker <brobecker@adacore.com>
70 * gdb.ada/addr_arith: New testcase.
72 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
74 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
75 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
76 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
77 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
79 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
81 * gdb.arch/stap-eval-lang-ada.S: Likewise.
82 * gdb.arch/stap-eval-lang-ada.c: Likewise.
83 * gdb.arch/stap-eval-lang-ada.exp: New file.
85 2014-10-14 Yao Qi <yao@codesourcery.com>
87 * gdb.mi/mi-var-child.c (nothing1): New function.
88 (nothing2): New function.
89 (do_children_tests): Set function pointers by nothing1 and
91 * gdb.mi/mi-var-child.exp: Step over new added statements.
92 Update test to match the new output.
93 * gdb.mi/var-cmd.c (nothing1): New function.
94 (nothing2): New function.
95 (do_children_tests): Set function pointers by nothing1 and
97 * gdb.mi/mi-var-display.exp: Update test to match output.
98 Step to the line specified by $line_dct_nothing.
99 Increase the number of lines to step.
101 2014-10-14 Yao Qi <yao@codesourcery.com>
103 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
105 * gdb.mi/mi2-var-child.exp: Likewise.
107 2014-10-13 Doug Evans <dje@google.com>
109 * gdb.python/py-objfile.exp: Change name of file name test.
111 2014-10-13 Doug Evans <dje@google.com>
113 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
114 from the start of the CU.
116 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
117 Yao Qi <yao@codesourcery.com>
119 Fix "save breakpoints" for "catch" command.
120 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
121 Remove -nonewline. Match also the added "main" line.
123 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
125 Fix "save breakpoints" for "disable $bpnum" command.
126 * gdb.base/save-bp.c (main): Add label.
127 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
129 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
131 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
133 2014-10-11 Yao Qi <yao@codesourcery.com>
135 * gdb.server/server-kill.exp: Execute command
136 "set remote trace-status-packet on" before "tstatus".
138 2014-10-11 Yao Qi <yao@codesourcery.com>
140 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
141 (main): Call getppid.
142 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
143 and continue to it. Read variable "server_pid".
145 2014-10-11 Yao Qi <yao@codesourcery.com>
147 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
149 2014-10-11 Yao Qi <yao@codesourcery.com>
151 * gdb.threads/thread-find.exp: Don't execute command
153 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
154 * gdb.threads/linux-dp.exp: Don't check the condition
155 $threads_created equals to zero.
157 2014-10-10 Pedro Alves <palves@redhat.com>
159 * gdb.base/bigcore.exp: Remove references to IRIX.
160 * gdb.base/funcargs.exp: Likewise.
161 * gdb.base/interrupt.exp: Likewise.
162 * gdb.base/mips_pro.exp: Likewise.
163 * gdb.base/nodebug.exp: Likewise.
164 * gdb.base/setvar.exp: Likewise.
165 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
167 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
168 Pedro Alves <palves@redhat.com>
171 * gdb.base/vdso-warning.c: New file.
172 * gdb.base/vdso-warning.exp: New file.
174 2014-10-02 Doug Evans <dje@google.com>
176 * gdb.base/structs.c (main): Don't run forever.
178 2014-10-02 Pedro Alves <palves@redhat.com>
180 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
181 (top level) <stop threads 1, stop threads 2>: Use it.
183 2014-10-02 Pedro Alves <palves@redhat.com>
185 * gdb.threads/break-while-running.exp (test): Add new
186 'update_thread_list' argument. Skip "info threads" if false.
187 (top level): Add new 'update_thread_list' axis.
189 2014-10-02 Pedro Alves <palves@redhat.com>
192 * gdb.base/execl-update-breakpoints.c: New file.
193 * gdb.base/execl-update-breakpoints.exp: New file.
195 2014-10-01 Pedro Alves <palves@redhat.com>
197 * gdb.base/breakpoint-in-ro-region.c: New file.
198 * gdb.base/breakpoint-in-ro-region.exp: New file.
200 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
202 * gdb.mi/mi-exit-code.exp: New file.
203 * gdb.mi/mi-exit-code.c: New file.
205 2014-09-30 Yao Qi <yao@codesourcery.com>
207 * lib/prelink-support.exp (build_executable_own_libs): Error if
208 the target isn't native.
210 2014-09-30 Yao Qi <yao@codesourcery.com>
212 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
215 2014-09-22 Pedro Alves <palves@redhat.com>
217 * gdb.threads/break-while-running.exp: New file.
218 * gdb.threads/break-while-running.c: New file.
220 2014-09-19 Yao Qi <yao@codesourcery.com>
222 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
223 Invoke test. Restart GDB with --readnow and invoke test again.
225 2014-09-19 Yao Qi <yao@codesourcery.com>
227 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
228 proc set_breakpoint_on_gcd_function. Invoke
229 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
230 invoke set_breakpoint_on_gcd_function again.
232 2014-09-18 Doug Evans <dje@google.com>
234 * gdb.dwarf2/symtab-producer.exp: New file.
236 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
238 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
239 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
240 * gdb.base/global-var-nested-by-dso.c: Likewise.
241 * gdb.base/global-var-nested-by-dso.exp: Likewise.
243 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
244 Pedro Alves <palves@redhat.com>
246 * gdb.base/watch-bitfields.exp: Pass string other than test file
247 name to prepare_for_testing.
248 (watch): New procedure.
249 (expect_watchpoint): Use with_test_prefix.
250 (top level): Factor out tests to ...
251 (test_watch_location, test_regular_watch): ... these new
252 procedures, and use with_test_prefix and gdb_continue_to_end.
254 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
257 * gdb.base/watch-bitfields.exp: New file.
258 * gdb.base/watch-bitfields.c: New file.
260 2014-09-16 Pedro Alves <palves@redhat.com>
262 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
263 software and hardware addresses, not software address against
266 2014-09-16 Pedro Alves <palves@redhat.com>
268 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
269 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
271 2014-09-16 Pedro Alves <palves@redhat.com>
273 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
275 * gdb.base/a2-run.exp: Remove all code guarded by istarget
276 "*-*-vxworks*" throughout.
277 * gdb.base/break.exp: Likewise.
278 * gdb.base/default.exp: Likewise.
279 * gdb.base/scope.exp: Likewise.
280 * gdb.base/sepdebug.exp: Likewise.
281 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
283 * gdb.base/run.c: Likewise.
284 * gdb.base/sepdebug.c: Likewise.
285 * gdb.hp/gdb.aCC/run.c: Likewise.
286 * gdb.reverse/until-reverse.c: Likewise.
287 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
289 2014-09-16 Yao Qi <yao@codesourcery.com>
291 * boards/local-remote-host-native.exp: New file.
293 2014-09-14 Doug Evans <xdje42@gmail.com>
295 * gdb.threads/queue-signal.c (thread_count): New variable.
296 (thread_count_mutex, thread_count_condvar): New variables.
297 (incr_thread_count, wait_all_threads_running): New functions.
298 (main): Wait for all threads to be in their thread functions.
300 2014-09-13 Doug Evans <xdje42@gmail.com>
302 * gdb.threads/queue-signal.c: New file.
303 * gdb.threads/queue-signal.exp: New file.
305 2014-09-13 Doug Evans <xdje42@gmail.com>
307 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
308 be consistent with what default_gdb_init uses.
309 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
310 the plain text of the prompt. Add some logging printfs.
311 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
313 2014-09-12 Pedro Alves <palves@redhat.com>
315 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
316 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
317 * gdb.arch/i386-size-overlap.exp: Likewise.
318 * gdb.arch/i386-size.exp: Likewise.
319 * gdb.arch/i386-unwind.exp: Likewise.
320 * gdb.base/a2-run.exp: Likewise.
321 * gdb.base/break.exp: Likewise.
322 * gdb.base/charset.exp: Likewise.
323 * gdb.base/chng-syms.exp: Likewise.
324 * gdb.base/commands.exp: Likewise.
325 * gdb.base/dbx.exp: Likewise.
326 * gdb.base/find.exp: Likewise.
327 * gdb.base/funcargs.exp: Likewise.
328 * gdb.base/jit-simple.exp: Likewise.
329 * gdb.base/reread.exp: Likewise.
330 * gdb.base/sepdebug.exp: Likewise.
331 * gdb.base/step-bt.exp: Likewise.
332 * gdb.cp/mb-inline.exp: Likewise.
333 * gdb.cp/mb-templates.exp: Likewise.
334 * gdb.objc/basicclass.exp: Likewise.
335 * gdb.threads/killed.exp: Likewise.
337 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
340 * gdb.arch/powerpc-stackless.S: New file.
341 * gdb.arch/powerpc-stackless.exp: New file.
343 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
345 * gdb.base/attach.c: Include unistd.h.
346 (main): Call alarm. Add label postloop.
347 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
348 gdb_breakpoint, gdb_continue_to_breakpoint.
349 (test_command_line_attach_run): Kill ${testpid} in one exit path.
351 2014-09-11 Pedro Alves <palves@redhat.com>
354 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
355 * gdb.base/attach.exp (test_command_line_attach_run): New
357 (top level): Call it.
359 2014-09-11 Pedro Alves <palves@redhat.com>
361 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
362 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
363 (do_command_attach_tests): Use spawn_wait_for_attach.
364 * gdb.base/solib-overlap.exp: Likewise.
365 * gdb.multi/multi-attach.exp: Likewise.
366 * gdb.python/py-prompt.exp: Likewise.
367 * gdb.python/py-sync-interp.exp: Likewise.
368 * gdb.server/ext-attach.exp: Likewise.
370 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
372 * gdb.fortran/array-element.exp: Remove unexpected "continue"
373 command in testcase. Simplify testcase.
375 2014-09-10 Joel Brobecker <brobecker@adacore.com>
377 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
379 2014-09-10 Joel Brobecker <brobecker@adacore.com>
381 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
383 2014-09-10 Joel Brobecker <brobecker@adacore.com>
385 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
387 2014-09-10 Joel Brobecker <brobecker@adacore.com>
389 * gdb.dwarf2/dynarr-ptr.c: New file.
390 * gdb.dwarf2/dynarr-ptr.exp: New file.
392 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
394 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
395 of 30 rather than hardcoding 120 for a slow test case. Take the
396 `gdb,timeout' target setting into account for this calculation.
397 Don't extend the timeout for the test cases that don't need it.
399 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
401 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
402 a factor of 2 for a slow test case. Take the `gdb,timeout'
403 target setting into account for this calculation.
404 * gdb.reverse/until-precsave.exp: Increase the timeout by
405 a factor of 15 and 3 respectively rather than adding 120
406 for a pair of slow test cases. Take the `gdb,timeout'
407 target setting into account for this calculation.
409 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
411 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
412 timeout, don't pass one down to gdb_expect.
413 (gdb_expect): Rework timeout selection.
415 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
417 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
418 exception on timeout.
419 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
420 (gdbserver_start_extended): Catch any `gdbserver_start' error
422 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
423 * lib/mi-support.exp (mi_gdb_target_load): Catch any
424 `gdbserver_gdb_load' error exceptions.
426 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
428 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
429 120 on waiting for the TCP socket to open.
431 2014-09-09 Doug Evans <xdje42@gmail.com>
433 * gdb.base/default.exp (show_conv_list): Add _caller_is,
434 _caller_matches, _any_caller_is, _any_caller_matches.
436 2014-09-09 Doug Evans <xdje42@gmail.com>
438 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
440 2014-09-09 Yao Qi <yao@codesourcery.com>
442 * gdb.mi/mi-var-display.exp: Set print symbol off.
444 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
447 * gdb.base/commands.exp: Add tests to verify user-defined
448 commands with empty bodies.
449 * gdb.python/py-cmd.exp: Test that we don't show user-defined
450 python commands in `show user command`.
451 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
452 scheme commands in `show user command`.
454 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
457 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
458 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
459 * gdb.python/py-framefilter-invalidarg.exp: New file.
460 * gdb.python/py-framefilter-invalidarg.py: New file.
462 2014-09-06 Doug Evans <xdje42@gmail.com>
465 * gdb.python/py-caller-is.c: New file.
466 * gdb.python/py-caller-is.exp: New file.
468 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
471 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
472 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
474 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
477 * gdb.fortran/print-formatted.exp: New file.
478 * gdb.fortran/print-formatted.f90: Likewise.
480 2014-09-03 Sasha Smundak <asmundak@google.com>
482 * gdb.python/py-frame.exp: Test Frame.read_register.
484 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
487 * gdb.python/py-completion.exp: New file.
488 * gdb.python/py-completion.py: Likewise.
490 2014-08-28 Doug Evans <dje@google.com>
492 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
493 eax,etc. are live with values set by gdb and thus the compiler can't
495 * gdb.arch/i386-pseudo.c (main): Ditto.
497 2014-08-27 Doug Evans <dje@google.com>
499 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
501 2014-08-25 Doug Evans <dje@google.com>
503 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
506 2014-08-25 Doug Evans <dje@google.com>
508 * gdb.threads/thread-execl.exp: #include <stdio.h>.
510 2014-08-24 Yao Qi <yao@codesourcery.com>
512 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
514 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
516 2014-08-22 Doug Evans <dje@google.com>
519 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
520 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
521 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
523 2014-08-22 Yao Qi <yao@codesourcery.com>
525 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
526 * gdb.python/py-finish-breakpoint2.exp: Likewise.
527 * gdb.python/python.exp: Likewise. Use .py file on the host
528 instead of the build.
530 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
532 * gdb.threads/gcore-stale-thread.c: New file.
533 * gdb.threads/gcore-stale-thread.exp: New file.
535 2014-08-21 Pedro Alves <palves@redhat.com>
537 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
538 * gdb.base/gcore-relro-pie.exp: Likewise.
539 * gdb.base/gcore-relro.exp: Likewise.
540 * gdb.base/gcore.exp: Likewise.
541 * gdb.base/print-symbol-loading.exp: Likewise.
542 * gdb.threads/gcore-thread.exp: Likewise.
543 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
545 2014-08-20 Pedro Alves <palves@redhat.com>
546 Jan Kratochvil <jan.kratochvil@redhat.com>
548 * Makefile.in (EXTRA_RULES, CC): New variables, get from
550 (EXPECT): Handle READ1 being set.
551 (all): Depend on EXTRA_RULES.
552 (check-read1, expect-read1, read1.so, read1): New rules.
553 * README (Testsuite Parameters): Document the READ1 make variable.
554 (Race detection): New section.
555 * configure: Regenerate.
556 * configure.ac: If build==host==target, and running under a
557 GNU/glibc system, add read1 to the extra Makefile rules.
558 (EXTRA_RULES): AC_SUBST it.
559 * lib/read1.c: New file.
561 2014-08-20 Joel Brobecker <brobecker@adacore.com>
563 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
564 the handling of variables declared as a typedef to an array
565 which a DW_AT_data_location attribute.
567 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
568 Pedro Alves <palves@redhat.com>
572 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
575 2014-08-19 Pedro Alves <palves@redhat.com>
577 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
579 2014-08-19 Yao Qi <yao@codesourcery.com>
581 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
584 2014-08-18 David Blaikie <dblaikie@gmail.com>
586 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
588 2014-08-18 Joel Brobecker <brobecker@adacore.com>
590 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
591 attribute in array range.
593 2014-08-18 Joel Brobecker <brobecker@adacore.com>
595 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
597 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
600 * gdb.cp/pr17132.cc: New file.
601 * gdb.cp/pr17132.exp: New file.
603 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
605 * gdb.python/py-xmethods.py (A_getarrayind)
606 (E_method_char_worker.__call__, E_method_int_worker.__call__):
607 Use 'print' with function call syntax.
608 (E_method_matcher.match): Fix tab vs space indentation mixup.
610 2014-08-15 Yao Qi <yao@codesourcery.com>
612 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
615 2014-08-15 Yao Qi <yao@codesourcery.com>
617 * gdb.cp/casts.exp: Set print symbol off.
618 * gdb.cp/class2.exp: Likewise.
619 * gdb.cp/overload.exp: Likewise.
620 * gdb.cp/templates.exp: Likewise.
622 2014-08-11 Doug Evans <dje@google.com>
624 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
625 (test_load_shlib): Update.
627 2014-08-09 Yao Qi <yao@codesourcery.com>
629 * gdb.base/display.exp: Invoke is_address_zero_readable.
630 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
631 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
632 * gdb.base/hbreak-unmapped.exp: Return if
633 is_address_zero_readable returns true.
634 * gdb.base/signest.exp: Likewise.
635 * gdb.base/signull.exp: Likewise.
636 * gdb.base/sigbpt.exp: Likewise.
637 * gdb.guile/scm-disasm.exp: Do the test if
638 is_address_zero_readable returns false.
639 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
640 * gdb.python/py-arch.exp: Likewise.
641 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
642 * lib/gdb.exp (is_address_zero_readable): New proc.
644 2014-08-09 Yao Qi <yao@codesourcery.com>
647 * gdb.mi/mi-var-display.exp: Make test messages unique.
649 2014-08-04 Tom Tromey <tromey@redhat.com>
651 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
654 2014-08-04 Tom Tromey <tromey@redhat.com>
656 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
659 2014-08-01 Joel Brobecker <brobecker@adacore.com>
661 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
662 inner_vla_struct_object_size.
663 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
666 2014-07-30 Pedro Alves <palves@redhat.com>
668 * gdb.threads/signal-command-handle-nopass.exp (test): Add
671 2014-07-29 Yao Qi <yao@codesourcery.com>
674 * gdb.base/until-nodebug.exp: New.
676 2014-07-28 Doug Evans <xdje42@gmail.com>
679 * gdb.guile/scm-parameter.exp: Add tests for trying to create
680 previously existing parameter, and previously ambiguously spelled
683 2014-07-28 Will Newton <will.newton@linaro.org>
685 * gdb.base/varargs.exp: Remove KFAILs for ARM.
687 2014-07-26 Ludovic Courtès <ludo@gnu.org>
688 Doug Evans <xdje42@gmail.com>
691 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
693 2014-07-25 Pedro Alves <palves@redhat.com>
695 * gdb.threads/signal-command-handle-nopass.c: New file.
696 * gdb.threads/signal-command-handle-nopass.exp: New file.
697 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
698 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
699 * gdb.threads/signal-delivered-right-thread.c: New file.
700 * gdb.threads/signal-delivered-right-thread.exp: New file.
702 2014-07-25 Pedro Alves <palves@redhat.com>
704 * gdb.base/double-prompt-target-event-error.exp
705 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
707 (cancel_pagination_in_target_event): Rework double prompt
709 * gdb.base/paginate-after-ctrl-c-running.exp
710 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
712 * gdb.base/paginate-bg-execution.exp
713 (test_bg_execution_pagination_return)
714 (test_bg_execution_pagination_cancel): Remove '-notransfer
716 * gdb.base/paginate-execution-startup.exp
717 (test_fg_execution_pagination_return)
718 (test_fg_execution_pagination_cancel): Remove '-notransfer
720 * gdb.base/paginate-inferior-exit.exp
721 (test_paginate_inferior_exited): Remove '-notransfer <return>'
723 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
724 * lib/gdb.exp (pagination_prompt): Run text through
726 (gdb_test_multiple): Match $pagination_prompt instead of
728 (string_to_regexp): Move to lib/gdb-utils.exp.
730 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
732 * gdb.arch/amd64-entry-value-paramref.S: New file.
733 * gdb.arch/amd64-entry-value-paramref.cc: New file.
734 * gdb.arch/amd64-entry-value-paramref.exp: New file.
735 * gdb.arch/amd64-optimout-repeat.S: New file.
736 * gdb.arch/amd64-optimout-repeat.c: New file.
737 * gdb.arch/amd64-optimout-repeat.exp: New file.
739 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
742 * gdb.base/statistics.exp: New file.
744 2014-07-17 Doug Evans <dje@google.com>
747 * gdb.base/maint.exp: Update testing of per-command stats.
749 2014-07-16 Pedro Alves <palves@redhat.com>
751 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
752 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
753 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
754 (tfile_write_buf): New functions.
755 (add_memory_block): Rewrite using the above.
756 (adjust_function_address): New function.
757 (FUNCTION_ADDRESS): New macro.
758 (write_basic_trace_file): Remove short_x local, and use
759 tfile_write_16. Change type of func_addr local to unsigned long
760 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
761 here. Cast argument of add_memory_block to char pointer.
762 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
763 (main): Remove parameters.
764 * gdb.trace/tfile.exp: Remove nowarnings.
766 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
768 * gdb.base/debug-expr.exp: Test string evaluation with
769 "debug expression" on.
771 2014-07-15 Pedro Alves <palves@redhat.com>
773 * gdb.base/reread.exp: Use clean_restart.
775 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
777 * gdb.arch/avr-flash-qualifer.c: New.
778 * gdb.arch/avr-flash-qualifer.exp: New.
780 2014-07-14 Pedro Alves <palves@redhat.com>
782 * gdb.base/paginate-after-ctrl-c-running.c: New file.
783 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
785 2014-07-14 Pedro Alves <palves@redhat.com>
787 * gdb.base/double-prompt-target-event-error.c: New file.
788 * gdb.base/double-prompt-target-event-error.exp: New file.
790 2014-07-14 Pedro Alves <palves@redhat.com>
793 * gdb.base/paginate-inferior-exit.c: New file.
794 * gdb.base/paginate-inferior-exit.exp: New file.
796 2014-07-14 Pedro Alves <palves@redhat.com>
799 * gdb.base/paginate-bg-execution.c: New file.
800 * gdb.base/paginate-bg-execution.exp: New file.
802 2014-07-14 Pedro Alves <palves@redhat.com>
805 * gdb.base/paginate-execution-startup.c: New file.
806 * gdb.base/paginate-execution-startup.exp: New file.
807 * lib/gdb.exp (pagination_prompt): New global.
808 (default_gdb_spawn): New procedure, factored out from
810 (default_gdb_start): Adjust to call default_gdb_spawn.
811 (gdb_spawn): New procedure.
813 2014-07-14 Pedro Alves <palves@redhat.com>
815 * lib/gdb.exp (gdb_assert): New procedure.
816 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
818 2014-07-14 Pedro Alves <palves@redhat.com>
820 * gdb.base/execution-termios.c: New file.
821 * gdb.base/execution-termios.exp: New file.
823 2014-07-14 Tom Tromey <tromey@redhat.com>
825 * gdb.cp/vla-cxx.cc: New file.
826 * gdb.cp/vla-cxx.exp: New file.
828 2014-07-14 Tom Tromey <tromey@redhat.com>
830 * gdb.reverse/rerun-prec.c: New file.
831 * gdb.reverse/rerun-prec.exp: New file.
833 2014-07-12 Maciej W. Rozycki <macro@mips.com>
834 Maciej W. Rozycki <macro@codesourcery.com>
836 * lib/gdb-utils.exp: New file.
837 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
838 inline `gdb_init_command' processing.
839 (gdb_start_cmd): Likewise.
840 * lib/mi-support.exp (mi_run_cmd): Likewise.
841 * README: Document `gdb_init_command' and `gdb_init_commands'.
843 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
845 Fix false FAIL running under a very long directory name.
846 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
847 and "set print elements 10000". Twice.
849 2014-07-11 Yao Qi <yao@codesourcery.com>
851 * gdb.base/exprs.exp: "set print symbol off".
853 2014-07-11 Pedro Alves <palves@redhat.com>
855 * gdb.threads/kill.c: New file.
856 * gdb.threads/kill.exp: New file.
858 2014-07-10 Yao Qi <yao@codesourcery.com>
860 * gdb.trace/tfile.c (write_basic_trace_file)
861 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
862 address written to trace file.
864 2014-07-09 Pedro Alves <palves@redhat.com>
866 * gdb.base/attach-wait-input.exp: New file.
867 * gdb.base/attach-wait-input.c: New file.
869 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
871 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
872 setting up test structures.
873 (main): Call new test function.
874 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
875 test function, continue into test function and walk test
878 2014-07-02 Yao Qi <yao@codesourcery.com>
880 * gdb.trace/entry-values.c: Define labels 'foo_start' and
881 'bar_start' at the beginning of functions 'foo' and 'bar'
883 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
884 instead of 'foo' and 'bar'.
886 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
888 * gdb.btrace/segv.exp: New.
889 * gdb.btrace/segv.c: New.
891 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
893 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
896 2014-06-30 Mark Wielaard <mjw@redhat.com>
898 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
899 vulture, vilify, villar): New volatile array constants.
900 (vindictive, vegetation): New const volatile array constants.
901 * gdb.base/volatile.exp: Test volatile and const volatile array
904 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
906 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
907 target lacks support for awatch, rwatch, or hbreak.
909 2014-06-27 Yao Qi <yao@codesourcery.com>
911 * gdb.multi/dummy-frame-restore.exp: New.
912 * gdb.multi/dummy-frame-restore.c: New.
914 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
916 * gdb.btrace/gcore.exp: New.
918 2014-06-23 Pedro Alves <palves@redhat.com>
920 * gdb.base/watchpoint-reuse-slot.c: New file.
921 * gdb.base/watchpoint-reuse-slot.exp: New file.
923 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
925 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
926 progspace's filename in 'info', 'enable' and 'disable' command
929 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
931 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
932 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
933 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
935 2014-06-20 Gary Benson <gbenson@redhat.com>
937 * gdb.arch/i386-avx.exp: Fix include file location.
938 * gdb.arch/i386-sse.exp: Likewise.
940 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
942 * gdb.dlang/expression.exp: New file.
944 2014-06-19 Pedro Alves <palves@redhat.com>
946 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
948 (top level): ... here. Iterate running tests under different
949 scheduler-locking settings.
951 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
953 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
954 to DW_FORM_addr and use non-zero addresses.
956 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
959 * gdb.python/py-xmethods.cc: Add global function call counters and
960 increment them in their respective functions. Remove "cout"
962 * gdb.python/py-xmethods.exp: Make tests check the global function
963 call counters instead of depending on inferior IO.
965 2014-06-18 Don Breazeal <donb@codesourcery.com>
967 * gdb.base/foll-fork.exp (default_fork_parent_follow):
969 (explicit_fork_parent_follow): Deleted procedure.
970 (explicit_fork_child_follow): Deleted procedure.
971 (test_follow_fork): New procedure.
972 (do_fork_tests): Replace calls to deleted procedures with
973 calls to test_follow_fork and reset GDB for subsequent
976 2014-06-17 Yao Qi <yao@codesourcery.com>
978 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
981 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
983 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
984 Initialize ptr and S explicitly.
985 (skip_type_update_when_not_use_rtti_test): Likewise.
987 2014-06-16 Keith Seitz <keiths@redhat.com>
990 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
991 the inferior is started.
993 2014-06-16 Pedro Alves <palves@redhat.com>
995 * gdb.base/break-main-file-remove-fail.c: New file.
996 * gdb.base/break-main-file-remove-fail.exp: New file.
997 * gdb.base/break-unload-file.exp: Use build_executable instead of
999 (test_break): New parameter "initial_load". Handle it.
1000 (top level): Add initial_load cmdline/file axis.
1002 2014-06-12 Tom Tromey <tromey@redhat.com>
1004 * gdb.base/completion.exp: Don't use directory name in test.
1006 2014-06-09 Gary Benson <gbenson@redhat.com>
1008 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1009 separate the always-available ANSI-standard signals from the
1010 signals that require checking.
1012 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1016 2014-06-07 Keith Seitz <keiths@redhat.com>
1020 * gdb.cp/var-tag.cc: New file.
1021 * gdb.cp/var-tag.exp: New file.
1022 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1023 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1024 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1025 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1027 2014-06-06 Doug Evans <xdje42@gmail.com>
1029 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1031 2014-06-06 Pedro Alves <palves@redhat.com>
1033 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1034 in target debug output instead of looking at RSP packets,
1035 disabling the test on any target that uses hardware stepping.
1038 2014-06-06 Pedro Alves <palves@redhat.com>
1040 * gdb.base/break-unload-file.exp: Fix typo.
1042 2014-06-06 Yao Qi <yao@codesourcery.com>
1044 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1045 from "jit_function" to "^jit_function".
1047 2014-06-06 Yao Qi <yao@codesourcery.com>
1049 * gdb.base/async.c (foo): Add one statement.
1050 * gdb.base/async.exp: Get the next instruction address and
1051 match the output of "nexti" by instruction address. Match
1052 the hex address in the output of "finish".
1054 2014-06-06 Gary Benson <gbenson@redhat.com>
1056 * gdb.base/call-signals.c: Remove preprocessor conditionals
1057 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1058 SIGSEGV and SIGTERM.
1059 * gdb.base/sigall.c: Likewise.
1060 * gdb.base/unwindonsignal.c: Likewise.
1061 * gdb.reverse/sigall-reverse.c: Likewise.
1063 2014-06-06 Yao Qi <yao@codesourcery.com>
1065 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1066 readable, skip the test.
1068 2014-06-06 Yao Qi <yao@codesourcery.com>
1070 * gdb.threads/staticthreads.c (thread_function): Move the line
1071 setting breakpoint on forward.
1072 * gdb.threads/staticthreads.exp: Update comments.
1074 2014-06-05 Ludovic Courtès <ludo@gnu.org>
1076 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1077 "history-append! type error".
1079 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1081 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1082 erroneous dprintf expected input.
1084 2014-06-04 Doug Evans <xdje42@gmail.com>
1086 * gdb.guile/scm-generics.exp: Delete.
1088 2014-06-04 Doug Evans <xdje42@gmail.com>
1090 * gdb.guile/scm-breakpoint.exp: Update.
1091 Add tests for breakpoint registration.
1093 2014-06-04 Tom Tromey <tromey@redhat.com>
1095 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1097 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1098 inner_vla_struct, vla_union types. Initialize objects of those
1099 types and compute their sizes.
1101 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1102 Hui Zhu <hui@codesourcery.com>
1104 * gdb.base/fileio.exp: Add test for shell not available as well as
1106 * gdb.base/fileio.c (test_system): Check for shell twice.
1108 2014-06-04 Yao Qi <yao@codesourcery.com>
1110 * gdb.base/auto-connect-native-target.exp: Remove redundant
1111 space from the regexp pattern.
1113 2014-06-04 Yao Qi <yao@codesourcery.com>
1115 * gdb.base/default.exp: Replace "child" with "native" in
1118 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1120 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1121 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1122 * gdb.python/py-xmethods.py: Python script supporting the
1123 new testcase and tests.
1125 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1126 Pedro Alves <palves@redhat.com>
1128 PR breakpoints/17000
1129 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1130 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1132 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1134 * gdb.base/subst.exp: Add tests to verify partial path matching
1137 2014-06-03 Pedro Alves <palves@redhat.com>
1139 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1140 target that doesn't use software single-stepping.
1142 2014-06-03 Pedro Alves <palves@redhat.com>
1144 PR breakpoints/17000
1145 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1146 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1148 2014-06-02 Doug Evans <xdje42@gmail.com>
1150 * gdb.guile/scm-parameter.exp: New file.
1152 2014-06-02 Doug Evans <xdje42@gmail.com>
1154 * gdb.guile/scm-cmd.c: New file.
1155 * gdb.guile/scm-cmd.exp: New file.
1157 2014-06-02 Doug Evans <xdje42@gmail.com>
1159 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1160 pretty-printer lookup.
1161 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1162 (make-pp_s-printer): Call it.
1163 (make-pretty-printer-from-dict): New function.
1164 (lookup-pretty-printer-maker-from-dict): New function.
1165 (*pretty-printer*): Simplify.
1166 (make-objfile-pp_s-printer): New function.
1167 (install-objfile-pretty-printers!): New function.
1168 (make-progspace-pp_s-printer): New function.
1169 (install-progspace-pretty-printers!): New function.
1170 * gdb.guile/scm-progspace.c: New file.
1171 * gdb.guile/scm-progspace.exp: New file.
1173 2014-06-02 Pedro Alves <palves@redhat.com>
1175 * gdb.base/dprintf-bp-same-addr.c: New file.
1176 * gdb.base/dprintf-bp-same-addr.exp: New file.
1178 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1180 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1181 * gdb.arch/powerpc-power.s: Likewise.
1183 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1185 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1187 2014-06-01 Yao Qi <yao@codesourcery.com>
1189 * gdb.base/watchpoint.exp (test_watch_location): Check null
1190 pointer can be dereferenced. If not, do the test, otherwise
1193 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1195 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1197 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1199 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1201 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1202 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1203 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1204 * gdb.arch/amd64-invalid-stack-top.c: New file.
1205 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1207 2014-05-30 Pedro Alves <palves@redhat.com>
1209 PR breakpoints/17000
1210 * gdb.base/sss-bp-on-user-bp.c: New file.
1211 * gdb.base/sss-bp-on-user-bp.exp: New file.
1213 2014-05-30 David Blaikie <dblaikie@gmail.com>
1215 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1216 gnu_inline semantics via attribute.
1217 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1218 source explicitly specifies the required semantics.
1220 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1222 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1224 2014-05-29 Pedro Alves <palves@redhat.com>
1225 Tom Tromey <tromey@redhat.com>
1227 * gdb.base/async-shell.exp: Don't enable target-async.
1228 * gdb.base/async.exp
1229 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1231 (top level): Don't test with "target-async".
1232 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1233 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1234 * gdb.base/inferior-died.exp: Don't enable target-async.
1235 * gdb.base/interrupt-noterm.exp: Likewise.
1236 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1237 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1238 * gdb.mi/mi-nonstop.exp: Likewise.
1239 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1240 * gdb.mi/mi-nsintrall.exp: Likewise.
1241 * gdb.mi/mi-nsmoribund.exp: Likewise.
1242 * gdb.mi/mi-nsthrexec.exp: Likewise.
1243 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1244 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1245 * gdb.python/py-evsignal.exp: Don't enable target-async.
1246 * gdb.python/py-evthreads.exp: Likewise.
1247 * gdb.python/py-prompt.exp: Likewise.
1248 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1249 * gdb.server/solib-list.exp: Don't enable target-async.
1250 * gdb.threads/thread-specific-bp.exp: Likewise.
1251 * lib/mi-support.exp: Adjust to use mi-async.
1253 2014-05-29 Pedro Alves <palves@redhat.com>
1256 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1257 reason, even in sync mode.
1259 2014-05-29 Pedro Alves <palves@redhat.com>
1260 Hui Zhu <hui@codesourcery.com>
1263 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1264 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1265 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1266 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1268 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1270 * config/monitor.exp (gdb_target_monitor): Replace use of
1271 "set remotebaud" by "set serial baud".
1273 2014-05-26 Andy Wingo <wingo@igalia.com>
1275 * gdb.guile/scm-breakpoint.exp:
1276 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1277 properties instead of gdb-object-properties.
1279 2014-05-26 Yao Qi <yao@codesourcery.com>
1281 * gdb.server/no-thread-db.exp: Specify source file name
1282 explicitly when setting a breakpoint.
1284 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1286 * gdb.btrace/vdso.c: New.
1287 * gdb.btrace/vdso.exp: New.
1289 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1291 * gdb.base/gcore.exp (capture_command_output): Move ...
1292 * lib/gdb.exp (capture_command_output): ... here.
1294 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1296 * gdb.btrace/data.exp: Test memory access during btrace replay.
1298 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1300 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1302 2014-05-21 Pedro Alves <palves@redhat.com>
1305 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1306 (top level): Test that output related to execution commands is
1307 sent to the console with CLI commands, but not with MI commands.
1308 Test that breakpoint events are always mirrored to the console.
1309 Also expect the new source line to be output after a "next" in
1310 async mode too. Make it a pass/fail test.
1311 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1313 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1315 2014-05-21 Pedro Alves <palves@redhat.com>
1317 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1318 Use them to test variations of "list" after reaching a breakpoint.
1319 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1320 Test "list" with listsize 10 after reaching a breakpoint.
1321 * gdb.python/python.exp (decode_line current location line
1322 number): Adjust expected line number.
1324 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1326 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1327 behavior for $args, pass it directly to "run".
1329 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1331 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1334 2014-05-21 Pedro Alves <palves@redhat.com>
1336 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1337 auto-connect-native-target off".
1338 * gdb.base/auto-connect-native-target.c: New file.
1339 * gdb.base/auto-connect-native-target.exp: New file.
1341 2014-05-21 Pedro Alves <palves@redhat.com>
1343 * gdb.base/default.exp: Test "target native" instead of "target
1346 2014-05-21 Mark Wielaard <mjw@redhat.com>
1348 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1350 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1352 Fix TLS access for -static -pthread.
1353 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1354 <HAVE_TLS> (thread_function, main): Initialize it.
1355 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1357 <$have_tls != "">: Check TLSVAR.
1359 2014-05-21 Pedro Alves <palves@redhat.com>
1361 * gdb.base/dcache-line-read-error.c: New.
1362 * gdb.base/dcache-line-read-error.exp: New.
1364 2014-05-20 Pedro Alves <palves@redhat.com>
1366 * gdb.base/compare-sections.c: New file.
1367 * gdb.base/compare-sections.exp: New file.
1369 2014-05-20 Pedro Alves <palves@redhat.com>
1371 * gdb.base/break-idempotent.c: New file.
1372 * gdb.base/break-idempotent.exp: New file.
1374 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1376 * gdb.btrace/nohist.exp: New.
1378 2014-05-20 Yao Qi <yao@codesourcery.com>
1380 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1381 gdb.reverse directory and gdb_reverse_timeout exists in board
1383 * README: Document gdb_reverse_timeout.
1385 2014-05-20 Yao Qi <yao@codesourcery.com>
1387 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1388 'test_file_name'. Treat args as a string instead of a list.
1389 (gdb_init): Rename argument 'args' by 'test_file_name'.
1391 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1393 * gdb.arch/powerpc-power.exp: New file.
1394 * gdb.arch/powerpc-power.s: New file.
1396 2014-05-16 Doug Evans <dje@google.com>
1398 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
1399 * gdb.base/completion.exp: Check that all expected files exist
1400 before doing file completion.
1402 2014-05-16 Doug Evans <dje@google.com>
1404 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1406 (do_syscall_tests_without_xml): Update.
1408 2014-05-16 Pedro Alves <palves@redhat.com>
1410 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1411 instead of "unknown output after running".
1413 2014-05-16 Yao Qi <yao@codesourcery.com>
1415 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1416 file1.txt from host at the end.
1417 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1419 2014-05-15 Doug Evans <dje@google.com>
1421 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1422 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1423 loading file. Add test for TU lookup.
1425 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1427 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1428 calling "-exec-arguments" or "set args" before running the
1431 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1433 * lib/mi-support.exp (mi_expect_stop): Expect message for
1434 inferiors that exit with non-zero exit code.
1436 2014-05-14 Yao Qi <yao@codesourcery.com>
1438 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1439 match absolute path on remote host.
1440 (test_file_list_exec_source_files): Remove "/" from the
1443 2014-05-14 Yao Qi <yao@codesourcery.com>
1445 * boards/local-remote-host-notty.exp (${board}_file): New
1448 2014-05-07 Kyle McMartin <kyle@redhat.com>
1450 Pushed by Joel Brobecker <brobecker@adacore.com>.
1451 * gdb.arch/aarch64-atomic-inst.c: New file.
1452 * gdb.arch/aarch64-atomic-inst.exp: New file.
1454 2014-05-07 Yao Qi <yao@codesourcery.com>
1456 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1457 in current context" too.
1459 2014-05-05 Keith Seitz <keiths@redhat.com>
1461 * gdb.linespec/ls-dollar.exp: Add test for linespec
1462 file:convenience_variable.
1464 2014-05-05 Yao Qi <yao@codesourcery.com>
1466 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
1467 traceframes into tfile and ctf trace files. Read data from
1468 trace file and test collected data.
1469 (gdb_collect_locals_test): Likewise.
1470 (gdb_unavailable_registers_test): Likewise.
1471 (gdb_unavailable_floats): Likewise.
1472 (gdb_collect_globals_test): Likewise.
1473 (top-level): Append "ctf" to trace_file_targets if GDB
1476 2014-05-05 Yao Qi <yao@codesourcery.com>
1478 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
1480 (gdb_collect_args_test_1): ... it. New proc.
1481 (gdb_collect_locals_test): Move some code to ...
1482 (gdb_collect_locals_test_1): ... it. New proc.
1483 (gdb_unavailable_registers_test): Move some code to ...
1484 (gdb_unavailable_registers_test_1): ... it. New proc.
1485 (gdb_unavailable_floats): Move some code to ...
1486 (gdb_unavailable_floats_1): ... it. New proc.
1488 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1490 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
1491 probes to test for bitness recognition.
1492 * gdb.arch/amd64-stap-optional-prefix.exp
1493 (test_probe_value_without_reg): New procedure.
1494 Add code to test for different kinds of bitness.
1496 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1498 PR breakpoints/16889
1499 * gdb.arch/amd64-stap-optional-prefix.S: New file.
1500 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1502 2014-05-01 Pedro Alves <palves@redhat.com>
1504 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
1505 gdb_file_cmd if no file is specified.
1506 * boards/native-extended-gdbserver.exp (gdb_load): Use the
1507 last_loaded_file to set the remote exec-file.
1509 2014-05-01 Pedro Alves <palves@redhat.com>
1511 * boards/local-remote-host.exp: New file.
1513 2014-05-01 Pedro Alves <palves@redhat.com>
1515 * boards/local-remote-host.exp: Rename to ...
1516 * boards/local-remote-host-notty.exp: ... this.
1518 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1520 * gdb.ada/dyn_arrayidx: New testcase.
1522 2014-04-26 Yao Qi <yao@codesourcery.com>
1524 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
1525 and compute the length of function main. Save it in
1527 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
1528 (top-level): Use gdb_compile to compile objects into
1529 executable and restart GDB. Remove invocation to
1530 prepare_for_testing.
1532 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
1533 Pedro Alves <palves@redhat.com>
1536 * gdb.multi/multi-attach.c: New file.
1537 * gdb.multi/multi-attach.exp: New file.
1539 2014-04-25 Pedro Alves <palves@redhat.com>
1541 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
1543 (top level): Test that "set remote conditional-breakpoints-packet
1544 off" works as intended.
1545 * gdb.base/dprintf.exp: Test that "set remote
1546 breakpoint-commands-packet off" works as intended.
1547 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
1549 (top level): Call it.
1550 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
1551 remote fast-tracepoints-packet off" works as intended.
1552 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
1553 * lib/gdb.exp (gdb_is_target_remote): ... here.
1555 2014-04-24 David Blaikie <dblaikie@gmail.com>
1557 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
1558 ensure clang would not discard them.
1559 * gdb.base/gdbvars.c: Ditto.
1560 * gdb.base/memattr.c: Ditto.
1561 * gdb.base/whatis.c: Ditto.
1562 * gdb.python/py-prettyprint.c: Ditto.
1563 * gdb.trace/actions.c: Ditto.
1564 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
1565 ensure clang would not discard it.
1567 2014-04-24 David Blaikie <dblaikie@gmail.com>
1569 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1570 clang to emit the full definition of type required by the test
1571 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1573 2014-04-24 David Blaikie <dblaikie@gmail.com>
1575 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1576 coax Clang into emitting the definition of the type.
1577 * gdb.cp/pr10728-x.h (y): Ditto.
1578 * gdb.cp/pr10728-y.cc (y): Ditto.
1580 2014-04-24 David Blaikie <dblaikie@gmail.com>
1582 * gdb.base/label.exp: XFAIL label related tests under Clang.
1583 * gdb.cp/cplabel.exp: Ditto.
1584 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
1585 under Clang those using labels.
1587 2014-04-25 Yao Qi <yao@codesourcery.com>
1589 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
1591 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
1592 partial_label and double_label.
1594 2014-04-24 David Blaikie <dblaikie@gmail.com>
1596 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
1598 2014-04-24 David Blaikie <dblaikie@gmail.com>
1600 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
1601 of the function to work across GCC and Clang.
1602 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
1603 pointer types (const void ** const V void **).
1605 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
1606 Walfred Tedeschi <walfred.tedeschi@intel.com>
1608 * Makefile.in (EXECUTABLES): Added i386-avx512.
1609 * gdb.arch/i386-avx512.c: New file.
1610 * gdb.arch/i386-avx512.exp: Likewise.
1612 2014-04-23 Keith Seitz <keiths@redhat.com>
1614 * lib/mi-support.exp (mi_list_breakpoints): Delete.
1615 (mi_make_breakpoint_table): New procedure.
1616 (mi_create_breakpoint): Use mi_make_breakpoint
1617 and return the result.
1618 (mi_make_breakpoint): New procedure.
1619 (mi_build_kv_pairs): New procedure.
1621 * gdb.mi/mi-break.exp: Remove unused globals,
1622 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
1623 All callers updated.
1624 * gdb.mi/mi-dprintf.exp: Use variable to track command
1626 Update all callers of mi_create_breakpoint and use
1627 mi_make_breakpoint_table.
1628 Remove any unused global variables.
1629 * gdb.mi/mi-nonstop.exp: Likewise.
1630 * gdb.mi/mi-nsintrall.exp: Likewise.
1631 * gdb.mi/mi-nsmoribund.exp: Likewise.
1632 * gdb.mi/mi-nsthrexec.exp: Likewise.
1633 * gdb.mi/mi-reverse.exp: Likewise.
1634 * gdb.mi/mi-simplerun.exp: Likewise.
1635 * gdb.mi/mi-stepn.exp: Likewise.
1636 * gdb.mi/mi-syn-frame.exp: Likewise.
1637 * gdb.mi/mi-until.exp: Likewise.
1638 * gdb.mi/mi-var-cp.exp: Likewise.
1639 * gdb.mi/mi-var-display.exp: Likewise.
1640 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1641 * gdb.mi/mi2-var-child.exp: Likewise.
1642 * gdb.mi/mi-vla-c99.exp: Likewise.
1643 * lib/mi-support.exp: Likewise.
1645 From Ian Lance Taylor <iant@cygnus.com>:
1646 * lib/gdb.exp (parse_args): New procedure.
1648 2014-04-23 Pedro Alves <palves@redhat.com>
1650 * gdb.base/break-unload-file.c: New file.
1651 * gdb.base/break-unload-file.exp: New file.
1652 * gdb.base/sym-file-lib.c (baz): New function.
1653 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
1655 (load): Store the segment's mapped size.
1656 (unload): New function.
1657 (unload_shlib): New function.
1658 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
1659 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
1660 set a breakpoint at baz, and call it.
1661 * gdb.base/sym-file.exp: New tests for stale breakpoint
1664 2014-04-23 Pedro Alves <palves@redhat.com>
1666 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
1667 * gdb.base/hbreak-in-shr-unsupported.c: New file.
1668 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
1669 * gdb.base/hbreak-unmapped.c: New file.
1670 * gdb.base/hbreak-unmapped.exp: New file.
1671 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
1672 * lib/gdb.exp (gdb_is_target_remote): ... here.
1674 2014-04-22 Pedro Alves <palves@redhat.com>
1676 * gdb.base/consecutive-step-over.c: New file.
1677 * gdb.base/consecutive-step-over.exp: New file.
1679 2014-04-22 Pedro Alves <palves@redhat.com>
1681 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
1682 instead of send_gdb/gdb_expect.
1684 2014-04-22 Yao Qi <yao@codesourcery.com>
1686 * lib/trace-support.exp (generate_tracefile): New procedure.
1687 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
1689 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
1690 if generate_tracefile returns 1.
1692 2014-04-18 Tom Tromey <palves@redhat.com>
1693 Pedro alves <tromey@redhat.com>
1696 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
1697 with a backtrace limit.
1698 * gdb.python/py-frame-inline.exp: Test running to an inline
1699 function with a backtrace limit, and printing the newest frame.
1700 * gdb.python/py-frame-inline.c (main): Call f.
1702 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1704 * gdb.java/jnpe.exp: Drop srcdir from untested path.
1706 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1708 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
1709 Drop prefix from unsupported source file path.
1711 2014-04-17 Yao Qi <yao@codesourcery.com>
1713 * lib/gdb.exp (with_target_charset): New proc.
1714 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
1715 with_target_charset.
1716 (test_print_strings): Likewise.
1717 (test_repeat_bytes): Likewise.
1718 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
1721 2014-04-16 Keith Seitz <keiths@redhat.com>
1724 * gdb.dwarf2/corrupt.c: New file.
1725 * gdb.dwarf2/corrupt.exp: New file.
1727 2014-04-16 Keith Seitz <keiths@redhat.com>
1730 * gdb.cp/namelessclass.cc: New file.
1731 * gdb.cp/namelessclass.exp: New file.
1732 * gdb.cp/namelessclass.S: New file.
1734 2014-04-16 Doug Evans <dje@google.com>
1736 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
1738 (gdbserver_default_get_comm_port): New function.
1739 (gdbserver_start): Check if board file provided
1740 "gdbserver,get_comm_port" and use it if so.
1741 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
1742 (gdb,socketport): Set to "stdio".
1743 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
1744 (stdio_gdbserver_template): Delete.
1745 (${board}_get_remote_address): Update.
1746 (${board}_build_remote_cmd): Delete.
1747 (${board}_get_comm_port): New function.
1748 (${board}_spawn): Update.
1749 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
1751 (${board}_get_remote_address): Update.
1752 (${board}_get_comm_port): New function.
1754 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
1756 * gdb.base/memattr.exp: Improve regexps to handle memory regions
1757 appearing in any order.
1759 2014-04-15 Doug Evans <dje@google.com>
1761 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
1762 uninitialized value of "description".
1764 2014-04-15 Keith Seitz <keiths@redhat.com>
1766 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
1767 Remove unused globals.
1768 (test_running_the_program): Likewise.
1769 (test_controlled_execution): Likewise.
1770 (test_controlling_breakpoints): Likewise.
1771 (test_program_termination): Likewise.
1773 2014-04-15 Keith Seitz <keiths@redhat.com>
1775 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
1777 (test_rbreak_creation_and_listing): Likewise.
1778 (test_ignore_count): Likewise.
1779 (test_error): Likewise.
1781 2014-04-15 Pedro Alves <palves@redhat.com>
1783 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
1784 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
1786 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1787 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1788 to sym-file-loader.c.
1789 (struct library): Forward declare.
1790 (load_shlib, lookup_function): Change prototypes.
1791 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1792 (translate_offset): Remove declarations.
1793 (get_text_addr): New declaration.
1794 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
1795 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
1797 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1798 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1799 here from sym-file-loader.h.
1800 (struct library): New structure.
1801 (load_shlib, lookup_function): Change prototypes and adjust to
1802 work with a struct library.
1803 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1804 (translate_offset): Make static.
1805 (get_text_addr): New function.
1806 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
1808 2014-04-15 Pedro Alves <palves@redhat.com>
1810 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
1812 2014-04-15 Pedro Alves <palves@redhat.com>
1814 * gdb.base/sym-file-loader.c: Include <limits.h>.
1815 (SELF_LINK): New define.
1816 (get_origin): New function.
1817 (load_shlib): Use it.
1818 * gdb.base/sym-file.exp: Don't early return if the target is
1819 remote. Use runto_main, and issue fail is that fails. Use
1821 (shlib_name): Delete.
1822 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
1824 2014-04-15 Pedro Alves <palves@redhat.com>
1826 * gdb.base/sym-file.exp: Remove regex characters from test
1827 message. Don't refer to breakpoint numbers in test messages.
1829 2014-04-14 Keith Seitz <keiths@redhat.com>
1832 * gdb.cp/var-tag.cc: New file.
1833 * gdb.cp/var-tag.exp: New file.
1834 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1835 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1836 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1837 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1839 2014-04-14 Tom Tromey <tromey@redhat.com>
1841 * gdb.cp/classes.exp (test_enums): Handle underlying type.
1842 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
1844 * gdb.cp/enum-class.exp: New file.
1845 * gdb.cp/enum-class.cc: New file.
1847 2014-04-14 Tom Tromey <tromey@redhat.com>
1849 * gdb.dwarf2/enum-type.exp: New file.
1851 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1853 * gdb.mi/mi-vla-c99.exp: New file.
1854 * gdb.mi/vla.c: New file.
1856 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1858 * gdb.base/vla-datatypes.c: New file.
1859 * gdb.base/vla-datatypes.exp: New file.
1861 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1863 * gdb.base/vla-ptr.c: New file.
1864 * gdb.base/vla-ptr.exp: New file.
1866 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1868 * gdb.dwarf2/count.exp: New file.
1870 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1872 * gdb.base/vla-sideeffect.c: New file.
1873 * gdb.base/vla-sideeffect.exp: New file.
1875 2014-04-14 David Blaikie <dblaikie@gmail.com>
1877 * gdb.mi/non-stop.c: Add return value for non-void function return
1879 * gdb.threads/staticthreads.c: Ditto.
1881 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
1882 Doug Evans <xdje42@gmail.com>
1884 * gdb.guile/scm-value.c: Improve test case.
1885 * gdb.guile/scm-value.exp: Add new test.
1887 2014-04-11 David Blaikie <dblaikie@gmail.com>
1889 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
1890 override Clang's default.
1892 2014-04-11 Joel Brobecker <brobecker@adacore.com>
1894 Revert the following changes (regressions):
1896 * gdb.base/vla-sideeffect.c: New file.
1897 * gdb.base/vla-sideeffect.exp: New file.
1899 * gdb.dwarf2/count.exp: New file.
1901 * gdb.base/vla-multi.c: New file.
1902 * gdb.base/vla-multi.exp: New file.
1904 * gdb.base/vla-ptr.c: New file.
1905 * gdb.base/vla-ptr.exp: New file.
1907 * gdb.base/vla-datatypes.c: New file.
1908 * gdb.base/vla-datatypes.exp: New file.
1910 * gdb.mi/mi-vla-c99.exp: New file.
1911 * gdb.mi/vla.c: New file.
1913 2014-04-11 Keith Seitz <keiths@redhat.com>
1916 * gdb.cp/cpsizeof.exp: New file.
1917 * gdb.cp/cpsizeof.cc: New file.
1919 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1921 * gdb.mi/mi-vla-c99.exp: New file.
1922 * gdb.mi/vla.c: New file.
1924 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1926 * gdb.base/vla-datatypes.c: New file.
1927 * gdb.base/vla-datatypes.exp: New file.
1929 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1931 * gdb.base/vla-ptr.c: New file.
1932 * gdb.base/vla-ptr.exp: New file.
1934 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1936 * gdb.base/vla-multi.c: New file.
1937 * gdb.base/vla-multi.exp: New file.
1939 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1941 * gdb.dwarf2/count.exp: New file.
1943 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1945 * gdb.base/vla-sideeffect.c: New file.
1946 * gdb.base/vla-sideeffect.exp: New file.
1948 2014-04-11 Yao Qi <yao@codesourcery.com>
1950 * gdb.base/completion.exp: Check file exists before running tests
1953 2014-04-10 Pedro Alves <palves@redhat.com>
1955 * gdb.base/cond-eval-mode.c: New file.
1956 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
1957 prepare_for_testing to build the new file. Check result of
1959 (test_break, test_watch): New procedures.
1960 (top level): Use them.
1962 2014-04-08 Pierre Muller <muller@sourceware.org>
1964 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
1965 Ctrl-V use for mingw hosts.
1967 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
1969 * gdb.python/py-value.c: Improve test case.
1970 * gdb.python/py-value.exp: Add new test.
1972 2014-04-07 David Blaikie <dblaikie@gmail.com>
1974 * lib/compiler.c: Identify the clang compiler.
1975 * lib/compiler.cc: Ditto.
1977 2014-04-03 Yao Qi <yao@codesourcery.com>
1979 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
1981 2014-04-01 Anton Blanchard <anton@samba.org>
1983 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
1986 2014-04-01 Anton Blanchard <anton@samba.org>
1988 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
1989 prepare_for_testing.
1991 2014-04-01 Anton Blanchard <anton@samba.org>
1993 * gdb.arch/ppc64-atomic-inst.c: Remove.
1994 * gdb.arch/ppc64-atomic-inst.S: New file.
1995 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
1997 2014-03-31 Doug Evans <dje@google.com>
1999 * gdb.base/print-symbol-loading-lib.c: New file.
2000 * gdb.base/print-symbol-loading-main.c: New file.
2001 * gdb.base/print-symbol-loading.exp: New file.
2003 2014-03-31 Yao Qi <yao@codesourcery.com>
2005 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2007 2014-03-28 Joel Brobecker <brobecker@adacore.com>
2009 * gdb.ada/mi_dyn_arr: New testcase.
2011 2014-03-27 Doug Evans <dje@google.com>
2013 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2015 2014-03-27 Yao Qi <yao@codesourcery.com>
2017 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2018 if target is nios2-*-*.
2020 2014-03-26 Yao Qi <yao@codesourcery.com>
2022 * lib/gdb.exp (readline_is_used): New proc.
2023 * gdb.base/completion.exp: Move tests on command complete up.
2024 Skip the rest of tests if readline is not used.
2025 * gdb.ada/complete.exp: Skp the test if readline is not
2027 * gdb.base/filesym.exp: Likewise.
2028 * gdb.base/macscp.exp: Likewise.
2029 * gdb.base/readline-ask.exp: Likewise.
2030 * gdb.base/readline.exp: Likewise.
2031 * gdb.python/py-cmd.exp: Likewise.
2032 * gdb.trace/tfile.exp: Likewise.
2034 2014-03-26 Yao Qi <yao@codesourcery.com>
2036 * gdb.base/macscp.exp: Fix code format issues.
2038 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2040 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2041 * gdb.asm/powerpc64le.inc: New file.
2043 2014-03-25 Pedro Alves <palves@redhat.com>
2044 Doug Evans <dje@google.com>
2046 * gdb.base/source-execution.c: New file.
2047 * gdb.base/source-execution.exp: New file.
2048 * gdb.base/source-execution.gdb: New file.
2050 2014-03-24 Doug Evans <dje@google.com>
2052 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2055 2014-03-24 Hui Zhu <hui@codesourcery.com>
2056 Pedro Alves <palves@redhat.com>
2058 PR breakpoints/16101
2059 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2060 test pass/fail messages. Detect missing support for dprintf when
2061 breakpoints are actually inserted.
2062 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2063 breakpoints are actually inserted.
2064 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2067 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2069 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2071 2014-03-22 Doug Evans <xdje42@gmail.com>
2073 * gdb.python/python.exp (python not supported): Verify multi-line
2074 python command issues an error.
2075 * gdb.guile/guile.exp (guile not supported): Verify multi-line
2076 guile command issues an error.
2078 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2080 * gdb.threads/thread-specific.exp: Handle the lack of usable
2081 $this_breakpoint and $this_thread.
2083 2014-03-21 Hui Zhu <hui@codesourcery.com>
2085 * gdb.base/attach.exp (do_command_attach_tests): New.
2087 2014-03-20 Tom Tromey <tromey@redhat.com>
2088 Pedro Alves <palves@redhat.com>
2091 * gdb.base/condbreak-call-false.c: New file.
2092 * gdb.base/condbreak-call-false.exp: New file.
2094 2014-03-20 Pedro Alves <palves@redhat.com>
2096 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2098 (block_signals, unblock_signals): Delete.
2099 (child_function_2, main): Remove references to deleted variable
2102 2014-03-20 Pedro Alves <palves@redhat.com>
2104 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2105 Use pthread_kill to signal thread 2.
2106 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2107 Adjust to make the test send itself a signal rather than using the
2108 host's "kill" command.
2110 2014-03-20 Pedro Alves <palves@redhat.com>
2112 * gdb.threads/multiple-step-overs.c: New file.
2113 * gdb.threads/multiple-step-overs.exp: New file.
2114 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2115 Adjust expected infrun debug output.
2117 2014-03-20 Pedro Alves <palves@redhat.com>
2119 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2120 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2122 2014-03-20 Pedro Alves <palves@redhat.com>
2125 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2126 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2127 of gdb_test_multiple.
2128 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2129 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2131 2014-03-20 Pedro Alves <palves@redhat.com>
2133 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2134 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2136 2014-03-19 Pedro Alves <palves@redhat.com>
2138 * gdb.base/async.exp: Remove early return.
2140 2014-03-19 Pedro Alves <palves@redhat.com>
2142 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2144 2014-03-19 Pedro Alves <palves@redhat.com>
2146 * gdb.base/async.exp (test_background): Expect \r\n after
2147 "completed." in the fail pattern.
2149 2014-03-19 Pedro Alves <palves@redhat.com>
2151 * gdb.base/async.exp (test_background): New procedure.
2152 Use it for all background execution command tests.
2154 2014-03-19 Pedro Alves <palves@redhat.com>
2156 * gdb.base/async.exp: Use prepare_for_testing.
2158 2014-03-19 Pedro Alves <palves@redhat.com>
2160 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2163 2014-03-19 Pedro Alves <palves@redhat.com>
2165 * gdb.base/async.c (main): Add "jump here" and "until here" line
2167 * gdb.base/async.exp (jump_here): New global.
2168 (jump& test): Use it.
2169 (until_here): New global.
2170 (until& test): Use it.
2172 2014-03-19 Pedro Alves <palves@redhat.com>
2174 * gdb.base/async.exp: Don't frob gdb_protocol.
2176 2014-03-18 Doug Evans <xdje42@gmail.com>
2178 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2179 Fix spelling of exec-done-display.
2181 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2184 * gdb.base/gdb-sigterm.c: New file.
2185 * gdb.base/gdb-sigterm.exp: New file.
2187 2014-03-18 Pedro Alves <palves@redhat.com>
2190 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2191 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2194 2014-03-17 Joel Brobecker <brobecker@adacore.com>
2196 * gdb.ada/pckd_arr_ren: New testcase.
2198 2014-03-13 Doug Evans <xdje42@gmail.com>
2201 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2202 collect after discarding symbols.
2204 2014-03-13 Ludovic Courtès <ludo@gnu.org>
2205 Doug Evans <xdje42@gmail.com>
2207 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2208 to history survives a gc.
2210 2014-03-13 Pedro Alves <palves@redhat.com>
2212 * gdb.base/default.exp: Don't test "target procfs".
2214 2014-03-13 Pedro Alves <palves@redhat.com>
2216 * gdb.base/default.exp: Update "target child" and "target procfs"
2217 tests to not expect "Unix".
2219 2014-03-12 Tom Tromey <tromey@redhat.com>
2221 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2222 New procs. Add target-async tests.
2223 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2224 Add target-async tests.
2226 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2228 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2229 'func_start' and 'func_end' for the beginning and end of the
2230 function code, respectively.
2231 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2232 'func_end' instead of 'func' and 'main'.
2234 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2236 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2237 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2238 generate the debug info assembler source.
2240 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2242 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2243 * gdb.dwarf2/arr-subrange.exp: Likewise.
2244 * gdb.dwarf2/dwz.exp: Likewise.
2245 * gdb.dwarf2/method-ptr.exp: Likewise.
2246 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2247 * gdb.dwarf2/subrange.exp: Likewise.
2248 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2249 * gdb.dwarf2/implptrpiece.exp: Likewise.
2250 * gdb.dwarf2/nostaticblock.exp: Likewise.
2252 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2254 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2255 directory to absolute path name arguments.
2257 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2259 * gdb.ada/tagged_access: New testcase.
2261 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2263 * gdb.btrace/data.exp: Update expected output.
2265 2014-03-06 Yao Qi <yao@codesourcery.com>
2267 * gdb.trace/pr16508.exp: New file.
2269 2014-03-05 Pedro Alves <palves@redhat.com>
2272 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2274 (top level): Adjust to use it. Add tests that exercise breakpoint
2275 interaction with the code-cache.
2277 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2279 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2280 test for 'history-append!'.
2282 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2284 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2285 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2286 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2287 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2288 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2289 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2291 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2293 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2294 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2295 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2297 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2299 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2301 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2303 * gdb.dwarf2/arr-stride.c: New file.
2304 * gdb.dwarf2/arr-stride.exp: New file.
2306 2014-02-26 Pedro Alves <palves@redhat.com>
2308 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2309 that won't ever trigger. Make sure that GDB reports the correct
2310 breakpoint that caused the stop.
2312 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2315 * gdb.base/auto-load-script: New file.
2316 * gdb.base/auto-load.c: New file.
2317 * gdb.base/auto-load.exp: New file.
2320 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2322 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2324 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2325 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2327 2014-02-24 Doug Evans <dje@google.com>
2329 * lib/gdb.exp (run_on_host): Log error output if program fails.
2331 2014-02-21 Pedro Alves <palves@redhat.com>
2333 * gdb.threads/step-after-sr-lock.c: Rename to ...
2334 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2335 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2336 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2339 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2342 * gdb.arch/amd64-stap-special-operands.exp: New file.
2343 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2344 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2345 * gdb.arch/amd64-stap-triplet.S: Likewise.
2346 * gdb.arch/amd64-stap-triplet.c: Likewise.
2348 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2350 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2351 in .section pseudo-op.
2353 2014-02-20 lin zuojian <manjian2006@gmail.com>
2354 Joel Brobecker <brobecker@adacore.com>
2355 Doug Evans <xdje42@gmail.com>
2358 * gdb.dwarf2/dw2-icycle.S: New file.
2359 * gdb.dwarf2/dw2-icycle.c: New file.
2360 * gdb.dwarf2/dw2-icycle.exp: New file.
2362 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2364 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2365 operations on gdb.Value objects.
2366 * gdb.python/py-value-cc.exp: Add new test to test operations on
2369 2014-02-18 Doug Evans <dje@google.com>
2371 * Makefile.in (TESTS): New variable.
2372 (expanded_tests, expanded_tests_or_none): New variables
2373 (check-single): Pass $(expanded_tests_or_none) to runtest.
2374 (check-parallel): Only run tests in $(TESTS) if non-empty.
2375 (check/no-matching-tests-found): New rule.
2376 * README: Document TESTS makefile variable.
2378 2014-02-18 Doug Evans <dje@google.com>
2380 * Makefile.in (check-parallel): rm -rf outputs temp.
2382 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2384 Fix "ERROR: no fileid for" in the testsuite.
2385 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2387 2014-02-12 Doug Evans <dje@google.com>
2389 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2390 (MISCELLANEOUS): New variable.
2391 (clean): rm -rf $(MISCELLANEOUS).
2392 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2393 dwp live in the same directory as symlinks, with each symlink pointed
2394 to a differently named file in a different directory.
2396 2014-02-11 Doug Evans <dje@google.com>
2398 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2399 of Tcl file commands.
2401 2014-02-10 Mark Kettenis <kettenis@gnu.org>
2403 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2406 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2408 * gdb.ada/tick_length_array_enum_idx: New testcase.
2410 2014-02-10 Doug Evans <xdje42@gmail.com>
2412 * configure.ac (AC_OUTPUT): Add gdb.guile.
2413 * configure: Regenerate.
2414 * lib/gdb-guile.exp: New file.
2415 * lib/gdb.exp (get_target_charset): New function.
2416 * gdb.base/help.exp: Update expected output from "apropos apropos".
2417 * gdb.guile/Makefile.in: New file.
2418 * gdb.guile/guile.exp: New file.
2419 * gdb.guile/scm-arch.c: New file.
2420 * gdb.guile/scm-arch.exp: New file.
2421 * gdb.guile/scm-block.c: New file.
2422 * gdb.guile/scm-block.exp: New file.
2423 * gdb.guile/scm-breakpoint.c: New file.
2424 * gdb.guile/scm-breakpoint.exp: New file.
2425 * gdb.guile/scm-disasm.c: New file.
2426 * gdb.guile/scm-disasm.exp: New file.
2427 * gdb.guile/scm-equal.c: New file.
2428 * gdb.guile/scm-equal.exp: New file.
2429 * gdb.guile/scm-error.exp: New file.
2430 * gdb.guile/scm-error.scm: New file.
2431 * gdb.guile/scm-frame-args.c: New file.
2432 * gdb.guile/scm-frame-args.exp: New file.
2433 * gdb.guile/scm-frame-args.scm: New file.
2434 * gdb.guile/scm-frame-inline.c: New file.
2435 * gdb.guile/scm-frame-inline.exp: New file.
2436 * gdb.guile/scm-frame.c: New file.
2437 * gdb.guile/scm-frame.exp: New file.
2438 * gdb.guile/scm-generics.exp: New file.
2439 * gdb.guile/scm-gsmob.exp: New file.
2440 * gdb.guile/scm-iterator.c: New file.
2441 * gdb.guile/scm-iterator.exp: New file.
2442 * gdb.guile/scm-math.c: New file.
2443 * gdb.guile/scm-math.exp: New file.
2444 * gdb.guile/scm-objfile-script-gdb.in: New file.
2445 * gdb.guile/scm-objfile-script.c: New file.
2446 * gdb.guile/scm-objfile-script.exp: New file.
2447 * gdb.guile/scm-objfile.c: New file.
2448 * gdb.guile/scm-objfile.exp: New file.
2449 * gdb.guile/scm-ports.exp: New file.
2450 * gdb.guile/scm-pretty-print.c: New file.
2451 * gdb.guile/scm-pretty-print.exp: New file.
2452 * gdb.guile/scm-pretty-print.scm: New file.
2453 * gdb.guile/scm-section-script.c: New file.
2454 * gdb.guile/scm-section-script.exp: New file.
2455 * gdb.guile/scm-section-script.scm: New file.
2456 * gdb.guile/scm-symbol.c: New file.
2457 * gdb.guile/scm-symbol.exp: New file.
2458 * gdb.guile/scm-symtab-2.c: New file.
2459 * gdb.guile/scm-symtab.c: New file.
2460 * gdb.guile/scm-symtab.exp: New file.
2461 * gdb.guile/scm-type.c: New file.
2462 * gdb.guile/scm-type.exp: New file.
2463 * gdb.guile/scm-value-cc.cc: New file.
2464 * gdb.guile/scm-value-cc.exp: New file.
2465 * gdb.guile/scm-value.c: New file.
2466 * gdb.guile/scm-value.exp: New file.
2467 * gdb.guile/source2.scm: New file.
2468 * gdb.guile/types-module.cc: New file.
2469 * gdb.guile/types-module.exp: New file.
2471 2014-02-10 Yao Qi <yao@codesourcery.com>
2474 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
2475 * configure: Regenerated.
2476 * Makefile.in: New file.
2478 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2480 * gdb.python/py-framefilter.exp: Fix typo.
2482 2014-02-08 Yao Qi <yao@codesourcery.com>
2484 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
2485 that no =breakpoint-modified is emitted when breakpoints are
2486 modified through MI commands.
2488 2014-02-07 Pedro Alves <pedro@codesourcery.com>
2489 Pedro Alves <palves@redhat.com>
2491 * gdb.threads/step-after-sr-lock.c: New file.
2492 * gdb.threads/step-after-sr-lock.exp: New file.
2494 2014-02-07 Pedro Alves <palves@redhat.com>
2496 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
2498 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2500 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
2501 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
2503 2014-02-06 Doug Evans <xdje42@gmail.com>
2505 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
2508 * gdb.gdb/python-interrupts.exp: New file.
2510 2014-02-05 Yao Qi <yao@codesourcery.com>
2512 * gdb.trace/report.exp (use_collected_data): Test the output
2513 of "info threads" and "info inferiors".
2515 2014-02-05 Yao Qi <yao@codesourcery.com>
2519 2013-05-24 Yao Qi <yao@codesourcery.com>
2521 * gdb.trace/tfile.exp: Test inferior and thread.
2523 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2525 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
2527 * gdb.base/step-bt.c: Call hello via function pointer to make
2528 sure its first instruction is executed on powerpc64le-linux.
2530 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2532 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
2534 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2536 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
2537 of the test patterns for use on little-endian systems.
2539 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2541 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
2542 (decimal_vector): Fix for little-endian.
2544 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2546 * gdb.arch/sparc-sysstep.exp: New file.
2547 * gdb.arch/sparc-sysstep.c: Likewise.
2549 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
2551 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2553 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2555 2014-01-23 Tom Tromey <tromey@redhat.com>
2557 * gdb.ada/array_char_idx: New testcase.
2559 2014-01-23 Tom Tromey <tromey@redhat.com>
2562 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
2563 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2566 2014-01-23 Tom Tromey <tromey@redhat.com>
2569 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2570 string from an inferior frame.
2571 * gdb.python/py-framefilter-mi.exp: Update.
2573 2014-01-22 Doug Evans <dje@google.com>
2575 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2577 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2579 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2581 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2583 * gdb.trace/entry-values.exp: Remove excess space character from
2584 regex patterns. Handle s390 call instruction.
2586 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2588 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
2589 define "*_start" label. Make "name" static.
2590 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
2591 ${name} by references to ${name}_start.
2593 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2595 * gdb.base/info-macros.exp: Remove "debug" from the compile
2598 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2600 * gdb.dlang/demangle.exp: New file.
2602 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2604 * gdb.dlang/primitive-types.exp: New file.
2606 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2608 * configure.ac: Create gdb.dlang/Makefile.
2609 * configure: Regenerate.
2610 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
2611 * gdb.dlang/Makefile.in: New file.
2612 * lib/d-support.exp: New file.
2613 * lib/gdb.exp (skip_d_tests): New proc.
2615 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2617 * gdb.btrace/delta.exp: Check reverse stepi.
2618 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
2619 * gdb.btrace/finish.exp: New.
2620 * gdb.btrace/next.exp: New.
2621 * gdb.btrace/nexti.exp: New.
2622 * gdb.btrace/record_goto.c: Add comments.
2623 * gdb.btrace/step.exp: New.
2624 * gdb.btrace/stepi.exp: New.
2625 * gdb.btrace/multi-thread-step.c: New.
2626 * gdb.btrace/multi-thread-step.exp: New.
2627 * gdb.btrace/rn-dl-bind.c: New.
2628 * gdb.btrace/rn-dl-bind.exp: New.
2629 * gdb.btrace/data.c: New.
2630 * gdb.btrace/data.exp: New.
2631 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2633 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2635 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
2636 * gdb.btrace/exception.exp: Update.
2637 * gdb.btrace/instruction_history.exp: Update.
2638 * gdb.btrace/record_goto.exp: Update.
2639 * gdb.btrace/tailcall.exp: Update.
2640 * gdb.btrace/unknown_functions.exp: Update.
2641 * gdb.btrace/delta.exp: New.
2643 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2645 * gdb.btrace/record_goto.exp: Add backtrace test.
2646 * gdb.btrace/tailcall.exp: Add backtrace test.
2648 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2650 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
2651 * gdb.btrace/record_goto.c: New.
2652 * gdb.btrace/record_goto.exp: New.
2653 * gdb.btrace/x86-record_goto.S: New.
2655 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2657 * gdb.btrace/function_call_history.exp: Update tests.
2658 * gdb.btrace/instruction_history.exp: Update tests.
2660 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2662 * gdb.btrace/function_call_history.exp: Fix expected field
2663 order for "record function-call-history".
2664 Add new tests for "record function-call-history /c".
2665 * gdb.btrace/exception.cc: New.
2666 * gdb.btrace/exception.exp: New.
2667 * gdb.btrace/tailcall.exp: New.
2668 * gdb.btrace/x86-tailcall.S: New.
2669 * gdb.btrace/x86-tailcall.c: New.
2670 * gdb.btrace/unknown_functions.c: New.
2671 * gdb.btrace/unknown_functions.exp: New.
2672 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2674 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2676 * gdb.btrace/instruction_history.exp: Update.
2677 * gdb.btrace/function_call_history.exp: Update.
2679 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2681 * gdb.btrace/function_call_history.exp: Fix expected function
2683 * gdb.btrace/instruction_history.exp: Initialize traced.
2684 Remove traced_functions.
2686 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2688 * gdb.btrace/function_call_history.exp: Update
2689 * gdb.btrace/instruction_history.exp: Update.
2691 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2693 * gdb.btrace/enable.exp: Update expected text.
2695 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
2697 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
2700 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
2702 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
2704 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2706 * lib/gdb.exp (supports_process_record): Return true for
2707 arm*-linux*. (supports_reverse): Likewise.
2709 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
2713 * gdb.python/py-type.c: Enhance test case.
2714 * gdb.python/py-value-cc.cc: Likewise
2715 * gdb.python/py-type.exp: Add new tests.
2716 * gdb.python/py-value-cc.exp: Likewise
2718 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2719 Pedro Alves <palves@redhat.com>
2721 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
2723 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
2724 references to ${name}_start by references to ${name}.
2726 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2728 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
2730 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2732 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
2734 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
2735 Pedro Alves <palves@redhat.com>
2737 * gdb.mi/mi-info-os.exp: Connect to the target with
2740 2014-01-08 Pedro Alves <palves@redhat.com>
2742 * gdb.threads/reconnect-signal.c: New file.
2743 * gdb.threads/reconnect-signal.exp: New file.
2745 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2747 * gdb.base/source-dir.exp: New file.
2749 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2751 * gdb.ada/mi_interface: New testcase.
2753 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2755 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
2756 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
2757 gdb.ada/pp-rec-component/pck.ads: New files.
2759 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2761 * gdb.python/py-pp-integral.c: New file.
2762 * gdb.python/py-pp-integral.py: New file.
2763 * gdb.python/py-pp-integral.exp: New file.
2765 For older changes see ChangeLog-1993-2013.
2771 ;; version-control: never
2774 Copyright 2014 Free Software Foundation, Inc.
2775 Copying and distribution of this file, with or without modification,
2776 are permitted provided the copyright notice and this notice are preserved.