1 2014-10-20 Yao Qi <yao@codesourcery.com>
3 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4 * gdb.python/py-objfile-script-gdb.py: New file.
5 * gdb.python/py-objfile-script.exp: Update reference to
6 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
7 of remote_download. Remove the dest file.
9 2014-10-20 Yao Qi <yao@codesourcery.com>
11 * gdb.base/checkpoint.exp: Don't remove file copied on host.
12 * gdb.base/step-line.exp: Likewise.
13 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
14 * gdb.dwarf2/dw2-basic.exp: Likewise.
15 * gdb.dwarf2/dw2-compressed.exp: Likewise.
16 * gdb.dwarf2/dw2-filename.exp: Likewise.
17 * gdb.dwarf2/dw2-intercu.exp: Likewise.
18 * gdb.dwarf2/dw2-intermix.exp: Likewise.
19 * gdb.dwarf2/dw2-producer.exp: Likewise.
20 * gdb.dwarf2/mac-fileno.exp: Likewise.
21 * gdb.python/py-frame-args.exp: Likewise.
22 * gdb.python/py-framefilter.exp: Likewise.
23 * gdb.python/py-mi.exp: Likewise.
24 * gdb.python/py-objfile-script.exp: Likewise
25 * gdb.python/py-pp-integral.exp: Likewise.
26 * gdb.python/py-pp-re-notag.exp: Likewise.
27 * gdb.python/py-prettyprint.exp: Likewise.
28 * gdb.python/py-section-script.exp: Likewise.
29 * gdb.python/py-typeprint.exp: Likewise.
30 * gdb.python/py-xmethods.exp: Likewise.
31 * gdb.stabs/weird.exp: Likewise.
32 * gdb.xml/tdesc-regs.exp: Likewise.
34 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
36 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
37 (out_cu): Use addr_len for the size of addresses.
38 (out_line): Likewise. Size DW_LNE_set_address instruction
39 according to addr_len.
40 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
41 (FUNC): Add START_INSNS to definition.
43 2014-10-18 Yao Qi <yao@codesourcery.com>
45 * gdb.base/argv0-symlink.exp: Check argv[0] value if
46 gdb_has_argv0 return true.
47 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
48 check [target_info exists noargs], check [gdb_has_argv0]
50 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
51 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
54 2014-10-17 Doug Evans <dje@google.com>
56 * gdb.python/py-events.exp: Update expected output for clear_objfiles
58 * gdb.python/py-events.py: Add clear_objfiles event.
60 2014-10-17 Doug Evans <dje@google.com>
62 * gdb.python/py-objfile.exp: Test progspace attribute.
64 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
66 * gdb.guile/scm-breakpoint.exp: Do not assume any
67 directory separators when matching source file paths.
68 * gdb.python/py-breakpoint.exp: Likewise.
69 * gdb.reverse/break-precsave.exp: Likewise.
70 * gdb.reverse/break-reverse.exp: Likewise.
71 * gdb.reverse/consecutive-precsave.exp: Likewise.
72 * gdb.reverse/finish-precsave.exp: Likewise.
73 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
74 * gdb.reverse/finish-reverse.exp: Likewise.
75 * gdb.reverse/i386-precsave.exp: Likewise.
76 * gdb.reverse/i387-env-reverse.exp: Likewise.
77 * gdb.reverse/i387-stack-reverse.exp: Likewise.
78 * gdb.reverse/machinestate-precsave.exp: Likewise.
79 * gdb.reverse/machinestate.exp: Likewise.
80 * gdb.reverse/sigall-precsave.exp: Likewise.
81 * gdb.reverse/solib-precsave.exp: Likewise.
82 * gdb.reverse/step-precsave.exp: Likewise.
83 * gdb.reverse/until-precsave.exp: Likewise.
84 * gdb.reverse/watch-precsave.exp: Likewise.
85 * gdb.reverse/watch-reverse.exp: Likewise.
87 2014-10-17 Yao Qi <yao@codesourcery.com>
89 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
90 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
92 2014-10-17 Pedro Alves <palves@redhat.com>
95 * gdb.base/bg-execution-repeat.c: New file.
96 * gdb.base/bg-execution-repeat.exp: New file.
98 2014-10-17 Pedro Alves <palves@redhat.com>
101 * gdb.base/continue-all-already-running.c: New file.
102 * gdb.base/continue-all-already-running.exp: New file.
104 2014-10-17 Pedro Alves <palves@redhat.com>
107 * gdb.base/annota-input-while-running.c: New file.
108 * gdb.base/annota-input-while-running.exp: New file.
110 2014-10-17 Pedro Alves <palves@redhat.com>
112 * gdb.base/callfuncs.exp: emove references to osf.
113 * gdb.base/sigall.exp: Likewise.
114 * gdb.gdb/selftest.exp: Likewise.
115 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
116 * gdb.mi/non-stop.c: Likewise.
117 * gdb.mi/pthreads.c: Likewise.
118 * gdb.reverse/sigall-precsave.exp: Likewise.
119 * gdb.reverse/sigall-reverse.exp: Likewise.
120 * gdb.threads/pthreads.c: Likewise.
121 * gdb.threads/pthreads.exp: Likewise.
123 2014-10-17 Yao Qi <yao@codesourcery.com>
125 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
126 check 'target_info exists noargs'.
127 (test_command_prompt_position): Likewise.
128 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
130 (progvar_simple_while_test): Likewise.
131 (progvar_complex_if_while_test): Likewise.
132 (if_while_breakpoint_command_test): Likewise.
133 (infrun_breakpoint_command_test): Likewise.
134 (breakpoint_command_test): Likewise.
135 (watchpoint_command_test): Likewise.
136 (bp_deleted_in_command_test): Likewise.
137 (temporary_breakpoint_commands): Likewise.
139 2014-10-16 Yao Qi <yao@codesourcery.com>
141 * gdb.base/remotetimeout.exp: Remove noargs checking.
143 2014-10-15 Pedro Alves <palves@redhat.com>
146 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
147 * gdb.base/breakpoint-in-ro-region.exp
148 (probe_target_hardware_step): New procedure.
149 (top level): Probe hardware stepping and hardware breakpoint
150 support. Test stepping through a read-only region, with both
151 "breakpoint auto-hw" on and off and both "always-inserted" on and
154 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
156 * gdb.dlang/demangle.exp: Update for demangling changes.
158 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
160 * gdb.cp/non-trivial-retval.cc: Add new test cases.
161 * gdb.cp/non-trivial-retval.exp: Add new tests.
163 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
167 * gdb.cp/non-trivial-retval.cc: New file.
168 * gdb.cp/non-trivial-retval.exp: New file.
170 2014-10-15 Yao Qi <yao@codesourcery.com>
172 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
175 2014-10-15 Yao Qi <yao@codesourcery.com>
177 * gdb.python/py-symbol.exp: Match file base name if host is
178 remote, otherwise match file name with dir name.
179 * gdb.python/py-symtab.exp: Likewise.
180 * gdb.python/python.exp: Likewise.
182 2014-10-15 Yao Qi <yao@codesourcery.com>
184 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
186 * gdb.python/py-symtab.exp: Likewise.
187 * gdb.python/python.exp: Remove trailing ".*". Fix typo
190 2014-10-14 Joel Brobecker <brobecker@adacore.com>
192 * gdb.ada/addr_arith: New testcase.
194 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
196 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
197 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
198 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
199 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
201 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
203 * gdb.arch/stap-eval-lang-ada.S: Likewise.
204 * gdb.arch/stap-eval-lang-ada.c: Likewise.
205 * gdb.arch/stap-eval-lang-ada.exp: New file.
207 2014-10-14 Yao Qi <yao@codesourcery.com>
209 * gdb.mi/mi-var-child.c (nothing1): New function.
210 (nothing2): New function.
211 (do_children_tests): Set function pointers by nothing1 and
213 * gdb.mi/mi-var-child.exp: Step over new added statements.
214 Update test to match the new output.
215 * gdb.mi/var-cmd.c (nothing1): New function.
216 (nothing2): New function.
217 (do_children_tests): Set function pointers by nothing1 and
219 * gdb.mi/mi-var-display.exp: Update test to match output.
220 Step to the line specified by $line_dct_nothing.
221 Increase the number of lines to step.
223 2014-10-14 Yao Qi <yao@codesourcery.com>
225 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
227 * gdb.mi/mi2-var-child.exp: Likewise.
229 2014-10-13 Doug Evans <dje@google.com>
231 * gdb.python/py-objfile.exp: Change name of file name test.
233 2014-10-13 Doug Evans <dje@google.com>
235 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
236 from the start of the CU.
238 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
239 Yao Qi <yao@codesourcery.com>
241 Fix "save breakpoints" for "catch" command.
242 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
243 Remove -nonewline. Match also the added "main" line.
245 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
247 Fix "save breakpoints" for "disable $bpnum" command.
248 * gdb.base/save-bp.c (main): Add label.
249 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
251 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
253 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
255 2014-10-11 Yao Qi <yao@codesourcery.com>
257 * gdb.server/server-kill.exp: Execute command
258 "set remote trace-status-packet on" before "tstatus".
260 2014-10-11 Yao Qi <yao@codesourcery.com>
262 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
263 (main): Call getppid.
264 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
265 and continue to it. Read variable "server_pid".
267 2014-10-11 Yao Qi <yao@codesourcery.com>
269 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
271 2014-10-11 Yao Qi <yao@codesourcery.com>
273 * gdb.threads/thread-find.exp: Don't execute command
275 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
276 * gdb.threads/linux-dp.exp: Don't check the condition
277 $threads_created equals to zero.
279 2014-10-10 Pedro Alves <palves@redhat.com>
281 * gdb.base/bigcore.exp: Remove references to IRIX.
282 * gdb.base/funcargs.exp: Likewise.
283 * gdb.base/interrupt.exp: Likewise.
284 * gdb.base/mips_pro.exp: Likewise.
285 * gdb.base/nodebug.exp: Likewise.
286 * gdb.base/setvar.exp: Likewise.
287 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
289 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
290 Pedro Alves <palves@redhat.com>
293 * gdb.base/vdso-warning.c: New file.
294 * gdb.base/vdso-warning.exp: New file.
296 2014-10-02 Doug Evans <dje@google.com>
298 * gdb.base/structs.c (main): Don't run forever.
300 2014-10-02 Pedro Alves <palves@redhat.com>
302 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
303 (top level) <stop threads 1, stop threads 2>: Use it.
305 2014-10-02 Pedro Alves <palves@redhat.com>
307 * gdb.threads/break-while-running.exp (test): Add new
308 'update_thread_list' argument. Skip "info threads" if false.
309 (top level): Add new 'update_thread_list' axis.
311 2014-10-02 Pedro Alves <palves@redhat.com>
314 * gdb.base/execl-update-breakpoints.c: New file.
315 * gdb.base/execl-update-breakpoints.exp: New file.
317 2014-10-01 Pedro Alves <palves@redhat.com>
319 * gdb.base/breakpoint-in-ro-region.c: New file.
320 * gdb.base/breakpoint-in-ro-region.exp: New file.
322 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
324 * gdb.mi/mi-exit-code.exp: New file.
325 * gdb.mi/mi-exit-code.c: New file.
327 2014-09-30 Yao Qi <yao@codesourcery.com>
329 * lib/prelink-support.exp (build_executable_own_libs): Error if
330 the target isn't native.
332 2014-09-30 Yao Qi <yao@codesourcery.com>
334 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
337 2014-09-22 Pedro Alves <palves@redhat.com>
339 * gdb.threads/break-while-running.exp: New file.
340 * gdb.threads/break-while-running.c: New file.
342 2014-09-19 Yao Qi <yao@codesourcery.com>
344 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
345 Invoke test. Restart GDB with --readnow and invoke test again.
347 2014-09-19 Yao Qi <yao@codesourcery.com>
349 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
350 proc set_breakpoint_on_gcd_function. Invoke
351 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
352 invoke set_breakpoint_on_gcd_function again.
354 2014-09-18 Doug Evans <dje@google.com>
356 * gdb.dwarf2/symtab-producer.exp: New file.
358 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
360 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
361 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
362 * gdb.base/global-var-nested-by-dso.c: Likewise.
363 * gdb.base/global-var-nested-by-dso.exp: Likewise.
365 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
366 Pedro Alves <palves@redhat.com>
368 * gdb.base/watch-bitfields.exp: Pass string other than test file
369 name to prepare_for_testing.
370 (watch): New procedure.
371 (expect_watchpoint): Use with_test_prefix.
372 (top level): Factor out tests to ...
373 (test_watch_location, test_regular_watch): ... these new
374 procedures, and use with_test_prefix and gdb_continue_to_end.
376 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
379 * gdb.base/watch-bitfields.exp: New file.
380 * gdb.base/watch-bitfields.c: New file.
382 2014-09-16 Pedro Alves <palves@redhat.com>
384 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
385 software and hardware addresses, not software address against
388 2014-09-16 Pedro Alves <palves@redhat.com>
390 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
391 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
393 2014-09-16 Pedro Alves <palves@redhat.com>
395 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
397 * gdb.base/a2-run.exp: Remove all code guarded by istarget
398 "*-*-vxworks*" throughout.
399 * gdb.base/break.exp: Likewise.
400 * gdb.base/default.exp: Likewise.
401 * gdb.base/scope.exp: Likewise.
402 * gdb.base/sepdebug.exp: Likewise.
403 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
405 * gdb.base/run.c: Likewise.
406 * gdb.base/sepdebug.c: Likewise.
407 * gdb.hp/gdb.aCC/run.c: Likewise.
408 * gdb.reverse/until-reverse.c: Likewise.
409 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
411 2014-09-16 Yao Qi <yao@codesourcery.com>
413 * boards/local-remote-host-native.exp: New file.
415 2014-09-14 Doug Evans <xdje42@gmail.com>
417 * gdb.threads/queue-signal.c (thread_count): New variable.
418 (thread_count_mutex, thread_count_condvar): New variables.
419 (incr_thread_count, wait_all_threads_running): New functions.
420 (main): Wait for all threads to be in their thread functions.
422 2014-09-13 Doug Evans <xdje42@gmail.com>
424 * gdb.threads/queue-signal.c: New file.
425 * gdb.threads/queue-signal.exp: New file.
427 2014-09-13 Doug Evans <xdje42@gmail.com>
429 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
430 be consistent with what default_gdb_init uses.
431 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
432 the plain text of the prompt. Add some logging printfs.
433 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
435 2014-09-12 Pedro Alves <palves@redhat.com>
437 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
438 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
439 * gdb.arch/i386-size-overlap.exp: Likewise.
440 * gdb.arch/i386-size.exp: Likewise.
441 * gdb.arch/i386-unwind.exp: Likewise.
442 * gdb.base/a2-run.exp: Likewise.
443 * gdb.base/break.exp: Likewise.
444 * gdb.base/charset.exp: Likewise.
445 * gdb.base/chng-syms.exp: Likewise.
446 * gdb.base/commands.exp: Likewise.
447 * gdb.base/dbx.exp: Likewise.
448 * gdb.base/find.exp: Likewise.
449 * gdb.base/funcargs.exp: Likewise.
450 * gdb.base/jit-simple.exp: Likewise.
451 * gdb.base/reread.exp: Likewise.
452 * gdb.base/sepdebug.exp: Likewise.
453 * gdb.base/step-bt.exp: Likewise.
454 * gdb.cp/mb-inline.exp: Likewise.
455 * gdb.cp/mb-templates.exp: Likewise.
456 * gdb.objc/basicclass.exp: Likewise.
457 * gdb.threads/killed.exp: Likewise.
459 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
462 * gdb.arch/powerpc-stackless.S: New file.
463 * gdb.arch/powerpc-stackless.exp: New file.
465 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
467 * gdb.base/attach.c: Include unistd.h.
468 (main): Call alarm. Add label postloop.
469 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
470 gdb_breakpoint, gdb_continue_to_breakpoint.
471 (test_command_line_attach_run): Kill ${testpid} in one exit path.
473 2014-09-11 Pedro Alves <palves@redhat.com>
476 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
477 * gdb.base/attach.exp (test_command_line_attach_run): New
479 (top level): Call it.
481 2014-09-11 Pedro Alves <palves@redhat.com>
483 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
484 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
485 (do_command_attach_tests): Use spawn_wait_for_attach.
486 * gdb.base/solib-overlap.exp: Likewise.
487 * gdb.multi/multi-attach.exp: Likewise.
488 * gdb.python/py-prompt.exp: Likewise.
489 * gdb.python/py-sync-interp.exp: Likewise.
490 * gdb.server/ext-attach.exp: Likewise.
492 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
494 * gdb.fortran/array-element.exp: Remove unexpected "continue"
495 command in testcase. Simplify testcase.
497 2014-09-10 Joel Brobecker <brobecker@adacore.com>
499 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
501 2014-09-10 Joel Brobecker <brobecker@adacore.com>
503 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
505 2014-09-10 Joel Brobecker <brobecker@adacore.com>
507 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
509 2014-09-10 Joel Brobecker <brobecker@adacore.com>
511 * gdb.dwarf2/dynarr-ptr.c: New file.
512 * gdb.dwarf2/dynarr-ptr.exp: New file.
514 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
516 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
517 of 30 rather than hardcoding 120 for a slow test case. Take the
518 `gdb,timeout' target setting into account for this calculation.
519 Don't extend the timeout for the test cases that don't need it.
521 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
523 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
524 a factor of 2 for a slow test case. Take the `gdb,timeout'
525 target setting into account for this calculation.
526 * gdb.reverse/until-precsave.exp: Increase the timeout by
527 a factor of 15 and 3 respectively rather than adding 120
528 for a pair of slow test cases. Take the `gdb,timeout'
529 target setting into account for this calculation.
531 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
533 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
534 timeout, don't pass one down to gdb_expect.
535 (gdb_expect): Rework timeout selection.
537 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
539 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
540 exception on timeout.
541 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
542 (gdbserver_start_extended): Catch any `gdbserver_start' error
544 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
545 * lib/mi-support.exp (mi_gdb_target_load): Catch any
546 `gdbserver_gdb_load' error exceptions.
548 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
550 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
551 120 on waiting for the TCP socket to open.
553 2014-09-09 Doug Evans <xdje42@gmail.com>
555 * gdb.base/default.exp (show_conv_list): Add _caller_is,
556 _caller_matches, _any_caller_is, _any_caller_matches.
558 2014-09-09 Doug Evans <xdje42@gmail.com>
560 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
562 2014-09-09 Yao Qi <yao@codesourcery.com>
564 * gdb.mi/mi-var-display.exp: Set print symbol off.
566 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
569 * gdb.base/commands.exp: Add tests to verify user-defined
570 commands with empty bodies.
571 * gdb.python/py-cmd.exp: Test that we don't show user-defined
572 python commands in `show user command`.
573 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
574 scheme commands in `show user command`.
576 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
579 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
580 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
581 * gdb.python/py-framefilter-invalidarg.exp: New file.
582 * gdb.python/py-framefilter-invalidarg.py: New file.
584 2014-09-06 Doug Evans <xdje42@gmail.com>
587 * gdb.python/py-caller-is.c: New file.
588 * gdb.python/py-caller-is.exp: New file.
590 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
593 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
594 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
596 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
599 * gdb.fortran/print-formatted.exp: New file.
600 * gdb.fortran/print-formatted.f90: Likewise.
602 2014-09-03 Sasha Smundak <asmundak@google.com>
604 * gdb.python/py-frame.exp: Test Frame.read_register.
606 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
609 * gdb.python/py-completion.exp: New file.
610 * gdb.python/py-completion.py: Likewise.
612 2014-08-28 Doug Evans <dje@google.com>
614 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
615 eax,etc. are live with values set by gdb and thus the compiler can't
617 * gdb.arch/i386-pseudo.c (main): Ditto.
619 2014-08-27 Doug Evans <dje@google.com>
621 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
623 2014-08-25 Doug Evans <dje@google.com>
625 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
628 2014-08-25 Doug Evans <dje@google.com>
630 * gdb.threads/thread-execl.exp: #include <stdio.h>.
632 2014-08-24 Yao Qi <yao@codesourcery.com>
634 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
636 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
638 2014-08-22 Doug Evans <dje@google.com>
641 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
642 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
643 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
645 2014-08-22 Yao Qi <yao@codesourcery.com>
647 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
648 * gdb.python/py-finish-breakpoint2.exp: Likewise.
649 * gdb.python/python.exp: Likewise. Use .py file on the host
650 instead of the build.
652 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
654 * gdb.threads/gcore-stale-thread.c: New file.
655 * gdb.threads/gcore-stale-thread.exp: New file.
657 2014-08-21 Pedro Alves <palves@redhat.com>
659 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
660 * gdb.base/gcore-relro-pie.exp: Likewise.
661 * gdb.base/gcore-relro.exp: Likewise.
662 * gdb.base/gcore.exp: Likewise.
663 * gdb.base/print-symbol-loading.exp: Likewise.
664 * gdb.threads/gcore-thread.exp: Likewise.
665 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
667 2014-08-20 Pedro Alves <palves@redhat.com>
668 Jan Kratochvil <jan.kratochvil@redhat.com>
670 * Makefile.in (EXTRA_RULES, CC): New variables, get from
672 (EXPECT): Handle READ1 being set.
673 (all): Depend on EXTRA_RULES.
674 (check-read1, expect-read1, read1.so, read1): New rules.
675 * README (Testsuite Parameters): Document the READ1 make variable.
676 (Race detection): New section.
677 * configure: Regenerate.
678 * configure.ac: If build==host==target, and running under a
679 GNU/glibc system, add read1 to the extra Makefile rules.
680 (EXTRA_RULES): AC_SUBST it.
681 * lib/read1.c: New file.
683 2014-08-20 Joel Brobecker <brobecker@adacore.com>
685 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
686 the handling of variables declared as a typedef to an array
687 which a DW_AT_data_location attribute.
689 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
690 Pedro Alves <palves@redhat.com>
694 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
697 2014-08-19 Pedro Alves <palves@redhat.com>
699 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
701 2014-08-19 Yao Qi <yao@codesourcery.com>
703 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
706 2014-08-18 David Blaikie <dblaikie@gmail.com>
708 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
710 2014-08-18 Joel Brobecker <brobecker@adacore.com>
712 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
713 attribute in array range.
715 2014-08-18 Joel Brobecker <brobecker@adacore.com>
717 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
719 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
722 * gdb.cp/pr17132.cc: New file.
723 * gdb.cp/pr17132.exp: New file.
725 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
727 * gdb.python/py-xmethods.py (A_getarrayind)
728 (E_method_char_worker.__call__, E_method_int_worker.__call__):
729 Use 'print' with function call syntax.
730 (E_method_matcher.match): Fix tab vs space indentation mixup.
732 2014-08-15 Yao Qi <yao@codesourcery.com>
734 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
737 2014-08-15 Yao Qi <yao@codesourcery.com>
739 * gdb.cp/casts.exp: Set print symbol off.
740 * gdb.cp/class2.exp: Likewise.
741 * gdb.cp/overload.exp: Likewise.
742 * gdb.cp/templates.exp: Likewise.
744 2014-08-11 Doug Evans <dje@google.com>
746 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
747 (test_load_shlib): Update.
749 2014-08-09 Yao Qi <yao@codesourcery.com>
751 * gdb.base/display.exp: Invoke is_address_zero_readable.
752 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
753 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
754 * gdb.base/hbreak-unmapped.exp: Return if
755 is_address_zero_readable returns true.
756 * gdb.base/signest.exp: Likewise.
757 * gdb.base/signull.exp: Likewise.
758 * gdb.base/sigbpt.exp: Likewise.
759 * gdb.guile/scm-disasm.exp: Do the test if
760 is_address_zero_readable returns false.
761 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
762 * gdb.python/py-arch.exp: Likewise.
763 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
764 * lib/gdb.exp (is_address_zero_readable): New proc.
766 2014-08-09 Yao Qi <yao@codesourcery.com>
769 * gdb.mi/mi-var-display.exp: Make test messages unique.
771 2014-08-04 Tom Tromey <tromey@redhat.com>
773 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
776 2014-08-04 Tom Tromey <tromey@redhat.com>
778 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
781 2014-08-01 Joel Brobecker <brobecker@adacore.com>
783 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
784 inner_vla_struct_object_size.
785 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
788 2014-07-30 Pedro Alves <palves@redhat.com>
790 * gdb.threads/signal-command-handle-nopass.exp (test): Add
793 2014-07-29 Yao Qi <yao@codesourcery.com>
796 * gdb.base/until-nodebug.exp: New.
798 2014-07-28 Doug Evans <xdje42@gmail.com>
801 * gdb.guile/scm-parameter.exp: Add tests for trying to create
802 previously existing parameter, and previously ambiguously spelled
805 2014-07-28 Will Newton <will.newton@linaro.org>
807 * gdb.base/varargs.exp: Remove KFAILs for ARM.
809 2014-07-26 Ludovic Courtès <ludo@gnu.org>
810 Doug Evans <xdje42@gmail.com>
813 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
815 2014-07-25 Pedro Alves <palves@redhat.com>
817 * gdb.threads/signal-command-handle-nopass.c: New file.
818 * gdb.threads/signal-command-handle-nopass.exp: New file.
819 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
820 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
821 * gdb.threads/signal-delivered-right-thread.c: New file.
822 * gdb.threads/signal-delivered-right-thread.exp: New file.
824 2014-07-25 Pedro Alves <palves@redhat.com>
826 * gdb.base/double-prompt-target-event-error.exp
827 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
829 (cancel_pagination_in_target_event): Rework double prompt
831 * gdb.base/paginate-after-ctrl-c-running.exp
832 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
834 * gdb.base/paginate-bg-execution.exp
835 (test_bg_execution_pagination_return)
836 (test_bg_execution_pagination_cancel): Remove '-notransfer
838 * gdb.base/paginate-execution-startup.exp
839 (test_fg_execution_pagination_return)
840 (test_fg_execution_pagination_cancel): Remove '-notransfer
842 * gdb.base/paginate-inferior-exit.exp
843 (test_paginate_inferior_exited): Remove '-notransfer <return>'
845 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
846 * lib/gdb.exp (pagination_prompt): Run text through
848 (gdb_test_multiple): Match $pagination_prompt instead of
850 (string_to_regexp): Move to lib/gdb-utils.exp.
852 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
854 * gdb.arch/amd64-entry-value-paramref.S: New file.
855 * gdb.arch/amd64-entry-value-paramref.cc: New file.
856 * gdb.arch/amd64-entry-value-paramref.exp: New file.
857 * gdb.arch/amd64-optimout-repeat.S: New file.
858 * gdb.arch/amd64-optimout-repeat.c: New file.
859 * gdb.arch/amd64-optimout-repeat.exp: New file.
861 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
864 * gdb.base/statistics.exp: New file.
866 2014-07-17 Doug Evans <dje@google.com>
869 * gdb.base/maint.exp: Update testing of per-command stats.
871 2014-07-16 Pedro Alves <palves@redhat.com>
873 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
874 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
875 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
876 (tfile_write_buf): New functions.
877 (add_memory_block): Rewrite using the above.
878 (adjust_function_address): New function.
879 (FUNCTION_ADDRESS): New macro.
880 (write_basic_trace_file): Remove short_x local, and use
881 tfile_write_16. Change type of func_addr local to unsigned long
882 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
883 here. Cast argument of add_memory_block to char pointer.
884 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
885 (main): Remove parameters.
886 * gdb.trace/tfile.exp: Remove nowarnings.
888 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
890 * gdb.base/debug-expr.exp: Test string evaluation with
891 "debug expression" on.
893 2014-07-15 Pedro Alves <palves@redhat.com>
895 * gdb.base/reread.exp: Use clean_restart.
897 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
899 * gdb.arch/avr-flash-qualifer.c: New.
900 * gdb.arch/avr-flash-qualifer.exp: New.
902 2014-07-14 Pedro Alves <palves@redhat.com>
904 * gdb.base/paginate-after-ctrl-c-running.c: New file.
905 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
907 2014-07-14 Pedro Alves <palves@redhat.com>
909 * gdb.base/double-prompt-target-event-error.c: New file.
910 * gdb.base/double-prompt-target-event-error.exp: New file.
912 2014-07-14 Pedro Alves <palves@redhat.com>
915 * gdb.base/paginate-inferior-exit.c: New file.
916 * gdb.base/paginate-inferior-exit.exp: New file.
918 2014-07-14 Pedro Alves <palves@redhat.com>
921 * gdb.base/paginate-bg-execution.c: New file.
922 * gdb.base/paginate-bg-execution.exp: New file.
924 2014-07-14 Pedro Alves <palves@redhat.com>
927 * gdb.base/paginate-execution-startup.c: New file.
928 * gdb.base/paginate-execution-startup.exp: New file.
929 * lib/gdb.exp (pagination_prompt): New global.
930 (default_gdb_spawn): New procedure, factored out from
932 (default_gdb_start): Adjust to call default_gdb_spawn.
933 (gdb_spawn): New procedure.
935 2014-07-14 Pedro Alves <palves@redhat.com>
937 * lib/gdb.exp (gdb_assert): New procedure.
938 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
940 2014-07-14 Pedro Alves <palves@redhat.com>
942 * gdb.base/execution-termios.c: New file.
943 * gdb.base/execution-termios.exp: New file.
945 2014-07-14 Tom Tromey <tromey@redhat.com>
947 * gdb.cp/vla-cxx.cc: New file.
948 * gdb.cp/vla-cxx.exp: New file.
950 2014-07-14 Tom Tromey <tromey@redhat.com>
952 * gdb.reverse/rerun-prec.c: New file.
953 * gdb.reverse/rerun-prec.exp: New file.
955 2014-07-12 Maciej W. Rozycki <macro@mips.com>
956 Maciej W. Rozycki <macro@codesourcery.com>
958 * lib/gdb-utils.exp: New file.
959 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
960 inline `gdb_init_command' processing.
961 (gdb_start_cmd): Likewise.
962 * lib/mi-support.exp (mi_run_cmd): Likewise.
963 * README: Document `gdb_init_command' and `gdb_init_commands'.
965 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
967 Fix false FAIL running under a very long directory name.
968 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
969 and "set print elements 10000". Twice.
971 2014-07-11 Yao Qi <yao@codesourcery.com>
973 * gdb.base/exprs.exp: "set print symbol off".
975 2014-07-11 Pedro Alves <palves@redhat.com>
977 * gdb.threads/kill.c: New file.
978 * gdb.threads/kill.exp: New file.
980 2014-07-10 Yao Qi <yao@codesourcery.com>
982 * gdb.trace/tfile.c (write_basic_trace_file)
983 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
984 address written to trace file.
986 2014-07-09 Pedro Alves <palves@redhat.com>
988 * gdb.base/attach-wait-input.exp: New file.
989 * gdb.base/attach-wait-input.c: New file.
991 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
993 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
994 setting up test structures.
995 (main): Call new test function.
996 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
997 test function, continue into test function and walk test
1000 2014-07-02 Yao Qi <yao@codesourcery.com>
1002 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1003 'bar_start' at the beginning of functions 'foo' and 'bar'
1005 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1006 instead of 'foo' and 'bar'.
1008 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1010 * gdb.btrace/segv.exp: New.
1011 * gdb.btrace/segv.c: New.
1013 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
1015 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1018 2014-06-30 Mark Wielaard <mjw@redhat.com>
1020 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1021 vulture, vilify, villar): New volatile array constants.
1022 (vindictive, vegetation): New const volatile array constants.
1023 * gdb.base/volatile.exp: Test volatile and const volatile array
1026 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1028 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1029 target lacks support for awatch, rwatch, or hbreak.
1031 2014-06-27 Yao Qi <yao@codesourcery.com>
1033 * gdb.multi/dummy-frame-restore.exp: New.
1034 * gdb.multi/dummy-frame-restore.c: New.
1036 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1038 * gdb.btrace/gcore.exp: New.
1040 2014-06-23 Pedro Alves <palves@redhat.com>
1042 * gdb.base/watchpoint-reuse-slot.c: New file.
1043 * gdb.base/watchpoint-reuse-slot.exp: New file.
1045 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1047 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1048 progspace's filename in 'info', 'enable' and 'disable' command
1051 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1053 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1054 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1055 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1057 2014-06-20 Gary Benson <gbenson@redhat.com>
1059 * gdb.arch/i386-avx.exp: Fix include file location.
1060 * gdb.arch/i386-sse.exp: Likewise.
1062 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1064 * gdb.dlang/expression.exp: New file.
1066 2014-06-19 Pedro Alves <palves@redhat.com>
1068 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1070 (top level): ... here. Iterate running tests under different
1071 scheduler-locking settings.
1073 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
1075 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1076 to DW_FORM_addr and use non-zero addresses.
1078 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1081 * gdb.python/py-xmethods.cc: Add global function call counters and
1082 increment them in their respective functions. Remove "cout"
1084 * gdb.python/py-xmethods.exp: Make tests check the global function
1085 call counters instead of depending on inferior IO.
1087 2014-06-18 Don Breazeal <donb@codesourcery.com>
1089 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1091 (explicit_fork_parent_follow): Deleted procedure.
1092 (explicit_fork_child_follow): Deleted procedure.
1093 (test_follow_fork): New procedure.
1094 (do_fork_tests): Replace calls to deleted procedures with
1095 calls to test_follow_fork and reset GDB for subsequent
1098 2014-06-17 Yao Qi <yao@codesourcery.com>
1100 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1103 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
1105 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1106 Initialize ptr and S explicitly.
1107 (skip_type_update_when_not_use_rtti_test): Likewise.
1109 2014-06-16 Keith Seitz <keiths@redhat.com>
1112 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1113 the inferior is started.
1115 2014-06-16 Pedro Alves <palves@redhat.com>
1117 * gdb.base/break-main-file-remove-fail.c: New file.
1118 * gdb.base/break-main-file-remove-fail.exp: New file.
1119 * gdb.base/break-unload-file.exp: Use build_executable instead of
1120 prepare_for_testing.
1121 (test_break): New parameter "initial_load". Handle it.
1122 (top level): Add initial_load cmdline/file axis.
1124 2014-06-12 Tom Tromey <tromey@redhat.com>
1126 * gdb.base/completion.exp: Don't use directory name in test.
1128 2014-06-09 Gary Benson <gbenson@redhat.com>
1130 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1131 separate the always-available ANSI-standard signals from the
1132 signals that require checking.
1134 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1138 2014-06-07 Keith Seitz <keiths@redhat.com>
1142 * gdb.cp/var-tag.cc: New file.
1143 * gdb.cp/var-tag.exp: New file.
1144 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1145 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1146 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1147 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1149 2014-06-06 Doug Evans <xdje42@gmail.com>
1151 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1153 2014-06-06 Pedro Alves <palves@redhat.com>
1155 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1156 in target debug output instead of looking at RSP packets,
1157 disabling the test on any target that uses hardware stepping.
1160 2014-06-06 Pedro Alves <palves@redhat.com>
1162 * gdb.base/break-unload-file.exp: Fix typo.
1164 2014-06-06 Yao Qi <yao@codesourcery.com>
1166 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1167 from "jit_function" to "^jit_function".
1169 2014-06-06 Yao Qi <yao@codesourcery.com>
1171 * gdb.base/async.c (foo): Add one statement.
1172 * gdb.base/async.exp: Get the next instruction address and
1173 match the output of "nexti" by instruction address. Match
1174 the hex address in the output of "finish".
1176 2014-06-06 Gary Benson <gbenson@redhat.com>
1178 * gdb.base/call-signals.c: Remove preprocessor conditionals
1179 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1180 SIGSEGV and SIGTERM.
1181 * gdb.base/sigall.c: Likewise.
1182 * gdb.base/unwindonsignal.c: Likewise.
1183 * gdb.reverse/sigall-reverse.c: Likewise.
1185 2014-06-06 Yao Qi <yao@codesourcery.com>
1187 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1188 readable, skip the test.
1190 2014-06-06 Yao Qi <yao@codesourcery.com>
1192 * gdb.threads/staticthreads.c (thread_function): Move the line
1193 setting breakpoint on forward.
1194 * gdb.threads/staticthreads.exp: Update comments.
1196 2014-06-05 Ludovic Courtès <ludo@gnu.org>
1198 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1199 "history-append! type error".
1201 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1203 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1204 erroneous dprintf expected input.
1206 2014-06-04 Doug Evans <xdje42@gmail.com>
1208 * gdb.guile/scm-generics.exp: Delete.
1210 2014-06-04 Doug Evans <xdje42@gmail.com>
1212 * gdb.guile/scm-breakpoint.exp: Update.
1213 Add tests for breakpoint registration.
1215 2014-06-04 Tom Tromey <tromey@redhat.com>
1217 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1219 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1220 inner_vla_struct, vla_union types. Initialize objects of those
1221 types and compute their sizes.
1223 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1224 Hui Zhu <hui@codesourcery.com>
1226 * gdb.base/fileio.exp: Add test for shell not available as well as
1228 * gdb.base/fileio.c (test_system): Check for shell twice.
1230 2014-06-04 Yao Qi <yao@codesourcery.com>
1232 * gdb.base/auto-connect-native-target.exp: Remove redundant
1233 space from the regexp pattern.
1235 2014-06-04 Yao Qi <yao@codesourcery.com>
1237 * gdb.base/default.exp: Replace "child" with "native" in
1240 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1242 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1243 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1244 * gdb.python/py-xmethods.py: Python script supporting the
1245 new testcase and tests.
1247 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1248 Pedro Alves <palves@redhat.com>
1250 PR breakpoints/17000
1251 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1252 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1254 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1256 * gdb.base/subst.exp: Add tests to verify partial path matching
1259 2014-06-03 Pedro Alves <palves@redhat.com>
1261 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1262 target that doesn't use software single-stepping.
1264 2014-06-03 Pedro Alves <palves@redhat.com>
1266 PR breakpoints/17000
1267 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1268 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1270 2014-06-02 Doug Evans <xdje42@gmail.com>
1272 * gdb.guile/scm-parameter.exp: New file.
1274 2014-06-02 Doug Evans <xdje42@gmail.com>
1276 * gdb.guile/scm-cmd.c: New file.
1277 * gdb.guile/scm-cmd.exp: New file.
1279 2014-06-02 Doug Evans <xdje42@gmail.com>
1281 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1282 pretty-printer lookup.
1283 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1284 (make-pp_s-printer): Call it.
1285 (make-pretty-printer-from-dict): New function.
1286 (lookup-pretty-printer-maker-from-dict): New function.
1287 (*pretty-printer*): Simplify.
1288 (make-objfile-pp_s-printer): New function.
1289 (install-objfile-pretty-printers!): New function.
1290 (make-progspace-pp_s-printer): New function.
1291 (install-progspace-pretty-printers!): New function.
1292 * gdb.guile/scm-progspace.c: New file.
1293 * gdb.guile/scm-progspace.exp: New file.
1295 2014-06-02 Pedro Alves <palves@redhat.com>
1297 * gdb.base/dprintf-bp-same-addr.c: New file.
1298 * gdb.base/dprintf-bp-same-addr.exp: New file.
1300 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1302 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1303 * gdb.arch/powerpc-power.s: Likewise.
1305 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1307 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1309 2014-06-01 Yao Qi <yao@codesourcery.com>
1311 * gdb.base/watchpoint.exp (test_watch_location): Check null
1312 pointer can be dereferenced. If not, do the test, otherwise
1315 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1317 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1319 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1321 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1323 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1324 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1325 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1326 * gdb.arch/amd64-invalid-stack-top.c: New file.
1327 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1329 2014-05-30 Pedro Alves <palves@redhat.com>
1331 PR breakpoints/17000
1332 * gdb.base/sss-bp-on-user-bp.c: New file.
1333 * gdb.base/sss-bp-on-user-bp.exp: New file.
1335 2014-05-30 David Blaikie <dblaikie@gmail.com>
1337 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1338 gnu_inline semantics via attribute.
1339 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1340 source explicitly specifies the required semantics.
1342 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1344 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1346 2014-05-29 Pedro Alves <palves@redhat.com>
1347 Tom Tromey <tromey@redhat.com>
1349 * gdb.base/async-shell.exp: Don't enable target-async.
1350 * gdb.base/async.exp
1351 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1353 (top level): Don't test with "target-async".
1354 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1355 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1356 * gdb.base/inferior-died.exp: Don't enable target-async.
1357 * gdb.base/interrupt-noterm.exp: Likewise.
1358 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1359 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1360 * gdb.mi/mi-nonstop.exp: Likewise.
1361 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1362 * gdb.mi/mi-nsintrall.exp: Likewise.
1363 * gdb.mi/mi-nsmoribund.exp: Likewise.
1364 * gdb.mi/mi-nsthrexec.exp: Likewise.
1365 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1366 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1367 * gdb.python/py-evsignal.exp: Don't enable target-async.
1368 * gdb.python/py-evthreads.exp: Likewise.
1369 * gdb.python/py-prompt.exp: Likewise.
1370 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1371 * gdb.server/solib-list.exp: Don't enable target-async.
1372 * gdb.threads/thread-specific-bp.exp: Likewise.
1373 * lib/mi-support.exp: Adjust to use mi-async.
1375 2014-05-29 Pedro Alves <palves@redhat.com>
1378 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1379 reason, even in sync mode.
1381 2014-05-29 Pedro Alves <palves@redhat.com>
1382 Hui Zhu <hui@codesourcery.com>
1385 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1386 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1387 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1388 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1390 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1392 * config/monitor.exp (gdb_target_monitor): Replace use of
1393 "set remotebaud" by "set serial baud".
1395 2014-05-26 Andy Wingo <wingo@igalia.com>
1397 * gdb.guile/scm-breakpoint.exp:
1398 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1399 properties instead of gdb-object-properties.
1401 2014-05-26 Yao Qi <yao@codesourcery.com>
1403 * gdb.server/no-thread-db.exp: Specify source file name
1404 explicitly when setting a breakpoint.
1406 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1408 * gdb.btrace/vdso.c: New.
1409 * gdb.btrace/vdso.exp: New.
1411 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1413 * gdb.base/gcore.exp (capture_command_output): Move ...
1414 * lib/gdb.exp (capture_command_output): ... here.
1416 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1418 * gdb.btrace/data.exp: Test memory access during btrace replay.
1420 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1422 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1424 2014-05-21 Pedro Alves <palves@redhat.com>
1427 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1428 (top level): Test that output related to execution commands is
1429 sent to the console with CLI commands, but not with MI commands.
1430 Test that breakpoint events are always mirrored to the console.
1431 Also expect the new source line to be output after a "next" in
1432 async mode too. Make it a pass/fail test.
1433 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1435 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1437 2014-05-21 Pedro Alves <palves@redhat.com>
1439 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1440 Use them to test variations of "list" after reaching a breakpoint.
1441 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1442 Test "list" with listsize 10 after reaching a breakpoint.
1443 * gdb.python/python.exp (decode_line current location line
1444 number): Adjust expected line number.
1446 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1448 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1449 behavior for $args, pass it directly to "run".
1451 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1453 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1456 2014-05-21 Pedro Alves <palves@redhat.com>
1458 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1459 auto-connect-native-target off".
1460 * gdb.base/auto-connect-native-target.c: New file.
1461 * gdb.base/auto-connect-native-target.exp: New file.
1463 2014-05-21 Pedro Alves <palves@redhat.com>
1465 * gdb.base/default.exp: Test "target native" instead of "target
1468 2014-05-21 Mark Wielaard <mjw@redhat.com>
1470 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1472 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1474 Fix TLS access for -static -pthread.
1475 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1476 <HAVE_TLS> (thread_function, main): Initialize it.
1477 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1479 <$have_tls != "">: Check TLSVAR.
1481 2014-05-21 Pedro Alves <palves@redhat.com>
1483 * gdb.base/dcache-line-read-error.c: New.
1484 * gdb.base/dcache-line-read-error.exp: New.
1486 2014-05-20 Pedro Alves <palves@redhat.com>
1488 * gdb.base/compare-sections.c: New file.
1489 * gdb.base/compare-sections.exp: New file.
1491 2014-05-20 Pedro Alves <palves@redhat.com>
1493 * gdb.base/break-idempotent.c: New file.
1494 * gdb.base/break-idempotent.exp: New file.
1496 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1498 * gdb.btrace/nohist.exp: New.
1500 2014-05-20 Yao Qi <yao@codesourcery.com>
1502 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1503 gdb.reverse directory and gdb_reverse_timeout exists in board
1505 * README: Document gdb_reverse_timeout.
1507 2014-05-20 Yao Qi <yao@codesourcery.com>
1509 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1510 'test_file_name'. Treat args as a string instead of a list.
1511 (gdb_init): Rename argument 'args' by 'test_file_name'.
1513 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1515 * gdb.arch/powerpc-power.exp: New file.
1516 * gdb.arch/powerpc-power.s: New file.
1518 2014-05-16 Doug Evans <dje@google.com>
1520 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
1521 * gdb.base/completion.exp: Check that all expected files exist
1522 before doing file completion.
1524 2014-05-16 Doug Evans <dje@google.com>
1526 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1528 (do_syscall_tests_without_xml): Update.
1530 2014-05-16 Pedro Alves <palves@redhat.com>
1532 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1533 instead of "unknown output after running".
1535 2014-05-16 Yao Qi <yao@codesourcery.com>
1537 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1538 file1.txt from host at the end.
1539 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1541 2014-05-15 Doug Evans <dje@google.com>
1543 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1544 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1545 loading file. Add test for TU lookup.
1547 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1549 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1550 calling "-exec-arguments" or "set args" before running the
1553 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1555 * lib/mi-support.exp (mi_expect_stop): Expect message for
1556 inferiors that exit with non-zero exit code.
1558 2014-05-14 Yao Qi <yao@codesourcery.com>
1560 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1561 match absolute path on remote host.
1562 (test_file_list_exec_source_files): Remove "/" from the
1565 2014-05-14 Yao Qi <yao@codesourcery.com>
1567 * boards/local-remote-host-notty.exp (${board}_file): New
1570 2014-05-07 Kyle McMartin <kyle@redhat.com>
1572 Pushed by Joel Brobecker <brobecker@adacore.com>.
1573 * gdb.arch/aarch64-atomic-inst.c: New file.
1574 * gdb.arch/aarch64-atomic-inst.exp: New file.
1576 2014-05-07 Yao Qi <yao@codesourcery.com>
1578 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1579 in current context" too.
1581 2014-05-05 Keith Seitz <keiths@redhat.com>
1583 * gdb.linespec/ls-dollar.exp: Add test for linespec
1584 file:convenience_variable.
1586 2014-05-05 Yao Qi <yao@codesourcery.com>
1588 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
1589 traceframes into tfile and ctf trace files. Read data from
1590 trace file and test collected data.
1591 (gdb_collect_locals_test): Likewise.
1592 (gdb_unavailable_registers_test): Likewise.
1593 (gdb_unavailable_floats): Likewise.
1594 (gdb_collect_globals_test): Likewise.
1595 (top-level): Append "ctf" to trace_file_targets if GDB
1598 2014-05-05 Yao Qi <yao@codesourcery.com>
1600 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
1602 (gdb_collect_args_test_1): ... it. New proc.
1603 (gdb_collect_locals_test): Move some code to ...
1604 (gdb_collect_locals_test_1): ... it. New proc.
1605 (gdb_unavailable_registers_test): Move some code to ...
1606 (gdb_unavailable_registers_test_1): ... it. New proc.
1607 (gdb_unavailable_floats): Move some code to ...
1608 (gdb_unavailable_floats_1): ... it. New proc.
1610 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1612 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
1613 probes to test for bitness recognition.
1614 * gdb.arch/amd64-stap-optional-prefix.exp
1615 (test_probe_value_without_reg): New procedure.
1616 Add code to test for different kinds of bitness.
1618 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1620 PR breakpoints/16889
1621 * gdb.arch/amd64-stap-optional-prefix.S: New file.
1622 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1624 2014-05-01 Pedro Alves <palves@redhat.com>
1626 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
1627 gdb_file_cmd if no file is specified.
1628 * boards/native-extended-gdbserver.exp (gdb_load): Use the
1629 last_loaded_file to set the remote exec-file.
1631 2014-05-01 Pedro Alves <palves@redhat.com>
1633 * boards/local-remote-host.exp: New file.
1635 2014-05-01 Pedro Alves <palves@redhat.com>
1637 * boards/local-remote-host.exp: Rename to ...
1638 * boards/local-remote-host-notty.exp: ... this.
1640 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1642 * gdb.ada/dyn_arrayidx: New testcase.
1644 2014-04-26 Yao Qi <yao@codesourcery.com>
1646 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
1647 and compute the length of function main. Save it in
1649 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
1650 (top-level): Use gdb_compile to compile objects into
1651 executable and restart GDB. Remove invocation to
1652 prepare_for_testing.
1654 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
1655 Pedro Alves <palves@redhat.com>
1658 * gdb.multi/multi-attach.c: New file.
1659 * gdb.multi/multi-attach.exp: New file.
1661 2014-04-25 Pedro Alves <palves@redhat.com>
1663 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
1665 (top level): Test that "set remote conditional-breakpoints-packet
1666 off" works as intended.
1667 * gdb.base/dprintf.exp: Test that "set remote
1668 breakpoint-commands-packet off" works as intended.
1669 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
1671 (top level): Call it.
1672 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
1673 remote fast-tracepoints-packet off" works as intended.
1674 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
1675 * lib/gdb.exp (gdb_is_target_remote): ... here.
1677 2014-04-24 David Blaikie <dblaikie@gmail.com>
1679 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
1680 ensure clang would not discard them.
1681 * gdb.base/gdbvars.c: Ditto.
1682 * gdb.base/memattr.c: Ditto.
1683 * gdb.base/whatis.c: Ditto.
1684 * gdb.python/py-prettyprint.c: Ditto.
1685 * gdb.trace/actions.c: Ditto.
1686 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
1687 ensure clang would not discard it.
1689 2014-04-24 David Blaikie <dblaikie@gmail.com>
1691 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1692 clang to emit the full definition of type required by the test
1693 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1695 2014-04-24 David Blaikie <dblaikie@gmail.com>
1697 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1698 coax Clang into emitting the definition of the type.
1699 * gdb.cp/pr10728-x.h (y): Ditto.
1700 * gdb.cp/pr10728-y.cc (y): Ditto.
1702 2014-04-24 David Blaikie <dblaikie@gmail.com>
1704 * gdb.base/label.exp: XFAIL label related tests under Clang.
1705 * gdb.cp/cplabel.exp: Ditto.
1706 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
1707 under Clang those using labels.
1709 2014-04-25 Yao Qi <yao@codesourcery.com>
1711 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
1713 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
1714 partial_label and double_label.
1716 2014-04-24 David Blaikie <dblaikie@gmail.com>
1718 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
1720 2014-04-24 David Blaikie <dblaikie@gmail.com>
1722 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
1723 of the function to work across GCC and Clang.
1724 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
1725 pointer types (const void ** const V void **).
1727 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
1728 Walfred Tedeschi <walfred.tedeschi@intel.com>
1730 * Makefile.in (EXECUTABLES): Added i386-avx512.
1731 * gdb.arch/i386-avx512.c: New file.
1732 * gdb.arch/i386-avx512.exp: Likewise.
1734 2014-04-23 Keith Seitz <keiths@redhat.com>
1736 * lib/mi-support.exp (mi_list_breakpoints): Delete.
1737 (mi_make_breakpoint_table): New procedure.
1738 (mi_create_breakpoint): Use mi_make_breakpoint
1739 and return the result.
1740 (mi_make_breakpoint): New procedure.
1741 (mi_build_kv_pairs): New procedure.
1743 * gdb.mi/mi-break.exp: Remove unused globals,
1744 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
1745 All callers updated.
1746 * gdb.mi/mi-dprintf.exp: Use variable to track command
1748 Update all callers of mi_create_breakpoint and use
1749 mi_make_breakpoint_table.
1750 Remove any unused global variables.
1751 * gdb.mi/mi-nonstop.exp: Likewise.
1752 * gdb.mi/mi-nsintrall.exp: Likewise.
1753 * gdb.mi/mi-nsmoribund.exp: Likewise.
1754 * gdb.mi/mi-nsthrexec.exp: Likewise.
1755 * gdb.mi/mi-reverse.exp: Likewise.
1756 * gdb.mi/mi-simplerun.exp: Likewise.
1757 * gdb.mi/mi-stepn.exp: Likewise.
1758 * gdb.mi/mi-syn-frame.exp: Likewise.
1759 * gdb.mi/mi-until.exp: Likewise.
1760 * gdb.mi/mi-var-cp.exp: Likewise.
1761 * gdb.mi/mi-var-display.exp: Likewise.
1762 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1763 * gdb.mi/mi2-var-child.exp: Likewise.
1764 * gdb.mi/mi-vla-c99.exp: Likewise.
1765 * lib/mi-support.exp: Likewise.
1767 From Ian Lance Taylor <iant@cygnus.com>:
1768 * lib/gdb.exp (parse_args): New procedure.
1770 2014-04-23 Pedro Alves <palves@redhat.com>
1772 * gdb.base/break-unload-file.c: New file.
1773 * gdb.base/break-unload-file.exp: New file.
1774 * gdb.base/sym-file-lib.c (baz): New function.
1775 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
1777 (load): Store the segment's mapped size.
1778 (unload): New function.
1779 (unload_shlib): New function.
1780 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
1781 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
1782 set a breakpoint at baz, and call it.
1783 * gdb.base/sym-file.exp: New tests for stale breakpoint
1786 2014-04-23 Pedro Alves <palves@redhat.com>
1788 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
1789 * gdb.base/hbreak-in-shr-unsupported.c: New file.
1790 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
1791 * gdb.base/hbreak-unmapped.c: New file.
1792 * gdb.base/hbreak-unmapped.exp: New file.
1793 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
1794 * lib/gdb.exp (gdb_is_target_remote): ... here.
1796 2014-04-22 Pedro Alves <palves@redhat.com>
1798 * gdb.base/consecutive-step-over.c: New file.
1799 * gdb.base/consecutive-step-over.exp: New file.
1801 2014-04-22 Pedro Alves <palves@redhat.com>
1803 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
1804 instead of send_gdb/gdb_expect.
1806 2014-04-22 Yao Qi <yao@codesourcery.com>
1808 * lib/trace-support.exp (generate_tracefile): New procedure.
1809 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
1811 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
1812 if generate_tracefile returns 1.
1814 2014-04-18 Tom Tromey <palves@redhat.com>
1815 Pedro alves <tromey@redhat.com>
1818 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
1819 with a backtrace limit.
1820 * gdb.python/py-frame-inline.exp: Test running to an inline
1821 function with a backtrace limit, and printing the newest frame.
1822 * gdb.python/py-frame-inline.c (main): Call f.
1824 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1826 * gdb.java/jnpe.exp: Drop srcdir from untested path.
1828 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1830 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
1831 Drop prefix from unsupported source file path.
1833 2014-04-17 Yao Qi <yao@codesourcery.com>
1835 * lib/gdb.exp (with_target_charset): New proc.
1836 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
1837 with_target_charset.
1838 (test_print_strings): Likewise.
1839 (test_repeat_bytes): Likewise.
1840 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
1843 2014-04-16 Keith Seitz <keiths@redhat.com>
1846 * gdb.dwarf2/corrupt.c: New file.
1847 * gdb.dwarf2/corrupt.exp: New file.
1849 2014-04-16 Keith Seitz <keiths@redhat.com>
1852 * gdb.cp/namelessclass.cc: New file.
1853 * gdb.cp/namelessclass.exp: New file.
1854 * gdb.cp/namelessclass.S: New file.
1856 2014-04-16 Doug Evans <dje@google.com>
1858 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
1860 (gdbserver_default_get_comm_port): New function.
1861 (gdbserver_start): Check if board file provided
1862 "gdbserver,get_comm_port" and use it if so.
1863 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
1864 (gdb,socketport): Set to "stdio".
1865 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
1866 (stdio_gdbserver_template): Delete.
1867 (${board}_get_remote_address): Update.
1868 (${board}_build_remote_cmd): Delete.
1869 (${board}_get_comm_port): New function.
1870 (${board}_spawn): Update.
1871 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
1873 (${board}_get_remote_address): Update.
1874 (${board}_get_comm_port): New function.
1876 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
1878 * gdb.base/memattr.exp: Improve regexps to handle memory regions
1879 appearing in any order.
1881 2014-04-15 Doug Evans <dje@google.com>
1883 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
1884 uninitialized value of "description".
1886 2014-04-15 Keith Seitz <keiths@redhat.com>
1888 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
1889 Remove unused globals.
1890 (test_running_the_program): Likewise.
1891 (test_controlled_execution): Likewise.
1892 (test_controlling_breakpoints): Likewise.
1893 (test_program_termination): Likewise.
1895 2014-04-15 Keith Seitz <keiths@redhat.com>
1897 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
1899 (test_rbreak_creation_and_listing): Likewise.
1900 (test_ignore_count): Likewise.
1901 (test_error): Likewise.
1903 2014-04-15 Pedro Alves <palves@redhat.com>
1905 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
1906 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
1908 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1909 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1910 to sym-file-loader.c.
1911 (struct library): Forward declare.
1912 (load_shlib, lookup_function): Change prototypes.
1913 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1914 (translate_offset): Remove declarations.
1915 (get_text_addr): New declaration.
1916 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
1917 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
1919 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1920 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1921 here from sym-file-loader.h.
1922 (struct library): New structure.
1923 (load_shlib, lookup_function): Change prototypes and adjust to
1924 work with a struct library.
1925 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1926 (translate_offset): Make static.
1927 (get_text_addr): New function.
1928 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
1930 2014-04-15 Pedro Alves <palves@redhat.com>
1932 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
1934 2014-04-15 Pedro Alves <palves@redhat.com>
1936 * gdb.base/sym-file-loader.c: Include <limits.h>.
1937 (SELF_LINK): New define.
1938 (get_origin): New function.
1939 (load_shlib): Use it.
1940 * gdb.base/sym-file.exp: Don't early return if the target is
1941 remote. Use runto_main, and issue fail is that fails. Use
1943 (shlib_name): Delete.
1944 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
1946 2014-04-15 Pedro Alves <palves@redhat.com>
1948 * gdb.base/sym-file.exp: Remove regex characters from test
1949 message. Don't refer to breakpoint numbers in test messages.
1951 2014-04-14 Keith Seitz <keiths@redhat.com>
1954 * gdb.cp/var-tag.cc: New file.
1955 * gdb.cp/var-tag.exp: New file.
1956 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1957 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1958 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1959 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1961 2014-04-14 Tom Tromey <tromey@redhat.com>
1963 * gdb.cp/classes.exp (test_enums): Handle underlying type.
1964 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
1966 * gdb.cp/enum-class.exp: New file.
1967 * gdb.cp/enum-class.cc: New file.
1969 2014-04-14 Tom Tromey <tromey@redhat.com>
1971 * gdb.dwarf2/enum-type.exp: New file.
1973 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1975 * gdb.mi/mi-vla-c99.exp: New file.
1976 * gdb.mi/vla.c: New file.
1978 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1980 * gdb.base/vla-datatypes.c: New file.
1981 * gdb.base/vla-datatypes.exp: New file.
1983 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1985 * gdb.base/vla-ptr.c: New file.
1986 * gdb.base/vla-ptr.exp: New file.
1988 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1990 * gdb.dwarf2/count.exp: New file.
1992 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1994 * gdb.base/vla-sideeffect.c: New file.
1995 * gdb.base/vla-sideeffect.exp: New file.
1997 2014-04-14 David Blaikie <dblaikie@gmail.com>
1999 * gdb.mi/non-stop.c: Add return value for non-void function return
2001 * gdb.threads/staticthreads.c: Ditto.
2003 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2004 Doug Evans <xdje42@gmail.com>
2006 * gdb.guile/scm-value.c: Improve test case.
2007 * gdb.guile/scm-value.exp: Add new test.
2009 2014-04-11 David Blaikie <dblaikie@gmail.com>
2011 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2012 override Clang's default.
2014 2014-04-11 Joel Brobecker <brobecker@adacore.com>
2016 Revert the following changes (regressions):
2018 * gdb.base/vla-sideeffect.c: New file.
2019 * gdb.base/vla-sideeffect.exp: New file.
2021 * gdb.dwarf2/count.exp: New file.
2023 * gdb.base/vla-multi.c: New file.
2024 * gdb.base/vla-multi.exp: New file.
2026 * gdb.base/vla-ptr.c: New file.
2027 * gdb.base/vla-ptr.exp: New file.
2029 * gdb.base/vla-datatypes.c: New file.
2030 * gdb.base/vla-datatypes.exp: New file.
2032 * gdb.mi/mi-vla-c99.exp: New file.
2033 * gdb.mi/vla.c: New file.
2035 2014-04-11 Keith Seitz <keiths@redhat.com>
2038 * gdb.cp/cpsizeof.exp: New file.
2039 * gdb.cp/cpsizeof.cc: New file.
2041 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2043 * gdb.mi/mi-vla-c99.exp: New file.
2044 * gdb.mi/vla.c: New file.
2046 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2048 * gdb.base/vla-datatypes.c: New file.
2049 * gdb.base/vla-datatypes.exp: New file.
2051 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2053 * gdb.base/vla-ptr.c: New file.
2054 * gdb.base/vla-ptr.exp: New file.
2056 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2058 * gdb.base/vla-multi.c: New file.
2059 * gdb.base/vla-multi.exp: New file.
2061 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2063 * gdb.dwarf2/count.exp: New file.
2065 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2067 * gdb.base/vla-sideeffect.c: New file.
2068 * gdb.base/vla-sideeffect.exp: New file.
2070 2014-04-11 Yao Qi <yao@codesourcery.com>
2072 * gdb.base/completion.exp: Check file exists before running tests
2075 2014-04-10 Pedro Alves <palves@redhat.com>
2077 * gdb.base/cond-eval-mode.c: New file.
2078 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2079 prepare_for_testing to build the new file. Check result of
2081 (test_break, test_watch): New procedures.
2082 (top level): Use them.
2084 2014-04-08 Pierre Muller <muller@sourceware.org>
2086 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2087 Ctrl-V use for mingw hosts.
2089 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2091 * gdb.python/py-value.c: Improve test case.
2092 * gdb.python/py-value.exp: Add new test.
2094 2014-04-07 David Blaikie <dblaikie@gmail.com>
2096 * lib/compiler.c: Identify the clang compiler.
2097 * lib/compiler.cc: Ditto.
2099 2014-04-03 Yao Qi <yao@codesourcery.com>
2101 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2103 2014-04-01 Anton Blanchard <anton@samba.org>
2105 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2108 2014-04-01 Anton Blanchard <anton@samba.org>
2110 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2111 prepare_for_testing.
2113 2014-04-01 Anton Blanchard <anton@samba.org>
2115 * gdb.arch/ppc64-atomic-inst.c: Remove.
2116 * gdb.arch/ppc64-atomic-inst.S: New file.
2117 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2119 2014-03-31 Doug Evans <dje@google.com>
2121 * gdb.base/print-symbol-loading-lib.c: New file.
2122 * gdb.base/print-symbol-loading-main.c: New file.
2123 * gdb.base/print-symbol-loading.exp: New file.
2125 2014-03-31 Yao Qi <yao@codesourcery.com>
2127 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2129 2014-03-28 Joel Brobecker <brobecker@adacore.com>
2131 * gdb.ada/mi_dyn_arr: New testcase.
2133 2014-03-27 Doug Evans <dje@google.com>
2135 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2137 2014-03-27 Yao Qi <yao@codesourcery.com>
2139 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2140 if target is nios2-*-*.
2142 2014-03-26 Yao Qi <yao@codesourcery.com>
2144 * lib/gdb.exp (readline_is_used): New proc.
2145 * gdb.base/completion.exp: Move tests on command complete up.
2146 Skip the rest of tests if readline is not used.
2147 * gdb.ada/complete.exp: Skp the test if readline is not
2149 * gdb.base/filesym.exp: Likewise.
2150 * gdb.base/macscp.exp: Likewise.
2151 * gdb.base/readline-ask.exp: Likewise.
2152 * gdb.base/readline.exp: Likewise.
2153 * gdb.python/py-cmd.exp: Likewise.
2154 * gdb.trace/tfile.exp: Likewise.
2156 2014-03-26 Yao Qi <yao@codesourcery.com>
2158 * gdb.base/macscp.exp: Fix code format issues.
2160 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2162 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2163 * gdb.asm/powerpc64le.inc: New file.
2165 2014-03-25 Pedro Alves <palves@redhat.com>
2166 Doug Evans <dje@google.com>
2168 * gdb.base/source-execution.c: New file.
2169 * gdb.base/source-execution.exp: New file.
2170 * gdb.base/source-execution.gdb: New file.
2172 2014-03-24 Doug Evans <dje@google.com>
2174 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2177 2014-03-24 Hui Zhu <hui@codesourcery.com>
2178 Pedro Alves <palves@redhat.com>
2180 PR breakpoints/16101
2181 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2182 test pass/fail messages. Detect missing support for dprintf when
2183 breakpoints are actually inserted.
2184 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2185 breakpoints are actually inserted.
2186 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2189 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2191 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2193 2014-03-22 Doug Evans <xdje42@gmail.com>
2195 * gdb.python/python.exp (python not supported): Verify multi-line
2196 python command issues an error.
2197 * gdb.guile/guile.exp (guile not supported): Verify multi-line
2198 guile command issues an error.
2200 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2202 * gdb.threads/thread-specific.exp: Handle the lack of usable
2203 $this_breakpoint and $this_thread.
2205 2014-03-21 Hui Zhu <hui@codesourcery.com>
2207 * gdb.base/attach.exp (do_command_attach_tests): New.
2209 2014-03-20 Tom Tromey <tromey@redhat.com>
2210 Pedro Alves <palves@redhat.com>
2213 * gdb.base/condbreak-call-false.c: New file.
2214 * gdb.base/condbreak-call-false.exp: New file.
2216 2014-03-20 Pedro Alves <palves@redhat.com>
2218 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2220 (block_signals, unblock_signals): Delete.
2221 (child_function_2, main): Remove references to deleted variable
2224 2014-03-20 Pedro Alves <palves@redhat.com>
2226 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2227 Use pthread_kill to signal thread 2.
2228 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2229 Adjust to make the test send itself a signal rather than using the
2230 host's "kill" command.
2232 2014-03-20 Pedro Alves <palves@redhat.com>
2234 * gdb.threads/multiple-step-overs.c: New file.
2235 * gdb.threads/multiple-step-overs.exp: New file.
2236 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2237 Adjust expected infrun debug output.
2239 2014-03-20 Pedro Alves <palves@redhat.com>
2241 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2242 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2244 2014-03-20 Pedro Alves <palves@redhat.com>
2247 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2248 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2249 of gdb_test_multiple.
2250 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2251 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2253 2014-03-20 Pedro Alves <palves@redhat.com>
2255 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2256 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2258 2014-03-19 Pedro Alves <palves@redhat.com>
2260 * gdb.base/async.exp: Remove early return.
2262 2014-03-19 Pedro Alves <palves@redhat.com>
2264 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2266 2014-03-19 Pedro Alves <palves@redhat.com>
2268 * gdb.base/async.exp (test_background): Expect \r\n after
2269 "completed." in the fail pattern.
2271 2014-03-19 Pedro Alves <palves@redhat.com>
2273 * gdb.base/async.exp (test_background): New procedure.
2274 Use it for all background execution command tests.
2276 2014-03-19 Pedro Alves <palves@redhat.com>
2278 * gdb.base/async.exp: Use prepare_for_testing.
2280 2014-03-19 Pedro Alves <palves@redhat.com>
2282 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2285 2014-03-19 Pedro Alves <palves@redhat.com>
2287 * gdb.base/async.c (main): Add "jump here" and "until here" line
2289 * gdb.base/async.exp (jump_here): New global.
2290 (jump& test): Use it.
2291 (until_here): New global.
2292 (until& test): Use it.
2294 2014-03-19 Pedro Alves <palves@redhat.com>
2296 * gdb.base/async.exp: Don't frob gdb_protocol.
2298 2014-03-18 Doug Evans <xdje42@gmail.com>
2300 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2301 Fix spelling of exec-done-display.
2303 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2306 * gdb.base/gdb-sigterm.c: New file.
2307 * gdb.base/gdb-sigterm.exp: New file.
2309 2014-03-18 Pedro Alves <palves@redhat.com>
2312 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2313 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2316 2014-03-17 Joel Brobecker <brobecker@adacore.com>
2318 * gdb.ada/pckd_arr_ren: New testcase.
2320 2014-03-13 Doug Evans <xdje42@gmail.com>
2323 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2324 collect after discarding symbols.
2326 2014-03-13 Ludovic Courtès <ludo@gnu.org>
2327 Doug Evans <xdje42@gmail.com>
2329 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2330 to history survives a gc.
2332 2014-03-13 Pedro Alves <palves@redhat.com>
2334 * gdb.base/default.exp: Don't test "target procfs".
2336 2014-03-13 Pedro Alves <palves@redhat.com>
2338 * gdb.base/default.exp: Update "target child" and "target procfs"
2339 tests to not expect "Unix".
2341 2014-03-12 Tom Tromey <tromey@redhat.com>
2343 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2344 New procs. Add target-async tests.
2345 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2346 Add target-async tests.
2348 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2350 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2351 'func_start' and 'func_end' for the beginning and end of the
2352 function code, respectively.
2353 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2354 'func_end' instead of 'func' and 'main'.
2356 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2358 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2359 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2360 generate the debug info assembler source.
2362 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2364 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2365 * gdb.dwarf2/arr-subrange.exp: Likewise.
2366 * gdb.dwarf2/dwz.exp: Likewise.
2367 * gdb.dwarf2/method-ptr.exp: Likewise.
2368 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2369 * gdb.dwarf2/subrange.exp: Likewise.
2370 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2371 * gdb.dwarf2/implptrpiece.exp: Likewise.
2372 * gdb.dwarf2/nostaticblock.exp: Likewise.
2374 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2376 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2377 directory to absolute path name arguments.
2379 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2381 * gdb.ada/tagged_access: New testcase.
2383 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2385 * gdb.btrace/data.exp: Update expected output.
2387 2014-03-06 Yao Qi <yao@codesourcery.com>
2389 * gdb.trace/pr16508.exp: New file.
2391 2014-03-05 Pedro Alves <palves@redhat.com>
2394 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2396 (top level): Adjust to use it. Add tests that exercise breakpoint
2397 interaction with the code-cache.
2399 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2401 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2402 test for 'history-append!'.
2404 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2406 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2407 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2408 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2409 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2410 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2411 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2413 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2415 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2416 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2417 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2419 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2421 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2423 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2425 * gdb.dwarf2/arr-stride.c: New file.
2426 * gdb.dwarf2/arr-stride.exp: New file.
2428 2014-02-26 Pedro Alves <palves@redhat.com>
2430 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2431 that won't ever trigger. Make sure that GDB reports the correct
2432 breakpoint that caused the stop.
2434 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2437 * gdb.base/auto-load-script: New file.
2438 * gdb.base/auto-load.c: New file.
2439 * gdb.base/auto-load.exp: New file.
2442 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2444 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2446 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2447 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2449 2014-02-24 Doug Evans <dje@google.com>
2451 * lib/gdb.exp (run_on_host): Log error output if program fails.
2453 2014-02-21 Pedro Alves <palves@redhat.com>
2455 * gdb.threads/step-after-sr-lock.c: Rename to ...
2456 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2457 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2458 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2461 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2464 * gdb.arch/amd64-stap-special-operands.exp: New file.
2465 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2466 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2467 * gdb.arch/amd64-stap-triplet.S: Likewise.
2468 * gdb.arch/amd64-stap-triplet.c: Likewise.
2470 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2472 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2473 in .section pseudo-op.
2475 2014-02-20 lin zuojian <manjian2006@gmail.com>
2476 Joel Brobecker <brobecker@adacore.com>
2477 Doug Evans <xdje42@gmail.com>
2480 * gdb.dwarf2/dw2-icycle.S: New file.
2481 * gdb.dwarf2/dw2-icycle.c: New file.
2482 * gdb.dwarf2/dw2-icycle.exp: New file.
2484 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2486 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2487 operations on gdb.Value objects.
2488 * gdb.python/py-value-cc.exp: Add new test to test operations on
2491 2014-02-18 Doug Evans <dje@google.com>
2493 * Makefile.in (TESTS): New variable.
2494 (expanded_tests, expanded_tests_or_none): New variables
2495 (check-single): Pass $(expanded_tests_or_none) to runtest.
2496 (check-parallel): Only run tests in $(TESTS) if non-empty.
2497 (check/no-matching-tests-found): New rule.
2498 * README: Document TESTS makefile variable.
2500 2014-02-18 Doug Evans <dje@google.com>
2502 * Makefile.in (check-parallel): rm -rf outputs temp.
2504 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2506 Fix "ERROR: no fileid for" in the testsuite.
2507 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2509 2014-02-12 Doug Evans <dje@google.com>
2511 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2512 (MISCELLANEOUS): New variable.
2513 (clean): rm -rf $(MISCELLANEOUS).
2514 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2515 dwp live in the same directory as symlinks, with each symlink pointed
2516 to a differently named file in a different directory.
2518 2014-02-11 Doug Evans <dje@google.com>
2520 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2521 of Tcl file commands.
2523 2014-02-10 Mark Kettenis <kettenis@gnu.org>
2525 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2528 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2530 * gdb.ada/tick_length_array_enum_idx: New testcase.
2532 2014-02-10 Doug Evans <xdje42@gmail.com>
2534 * configure.ac (AC_OUTPUT): Add gdb.guile.
2535 * configure: Regenerate.
2536 * lib/gdb-guile.exp: New file.
2537 * lib/gdb.exp (get_target_charset): New function.
2538 * gdb.base/help.exp: Update expected output from "apropos apropos".
2539 * gdb.guile/Makefile.in: New file.
2540 * gdb.guile/guile.exp: New file.
2541 * gdb.guile/scm-arch.c: New file.
2542 * gdb.guile/scm-arch.exp: New file.
2543 * gdb.guile/scm-block.c: New file.
2544 * gdb.guile/scm-block.exp: New file.
2545 * gdb.guile/scm-breakpoint.c: New file.
2546 * gdb.guile/scm-breakpoint.exp: New file.
2547 * gdb.guile/scm-disasm.c: New file.
2548 * gdb.guile/scm-disasm.exp: New file.
2549 * gdb.guile/scm-equal.c: New file.
2550 * gdb.guile/scm-equal.exp: New file.
2551 * gdb.guile/scm-error.exp: New file.
2552 * gdb.guile/scm-error.scm: New file.
2553 * gdb.guile/scm-frame-args.c: New file.
2554 * gdb.guile/scm-frame-args.exp: New file.
2555 * gdb.guile/scm-frame-args.scm: New file.
2556 * gdb.guile/scm-frame-inline.c: New file.
2557 * gdb.guile/scm-frame-inline.exp: New file.
2558 * gdb.guile/scm-frame.c: New file.
2559 * gdb.guile/scm-frame.exp: New file.
2560 * gdb.guile/scm-generics.exp: New file.
2561 * gdb.guile/scm-gsmob.exp: New file.
2562 * gdb.guile/scm-iterator.c: New file.
2563 * gdb.guile/scm-iterator.exp: New file.
2564 * gdb.guile/scm-math.c: New file.
2565 * gdb.guile/scm-math.exp: New file.
2566 * gdb.guile/scm-objfile-script-gdb.in: New file.
2567 * gdb.guile/scm-objfile-script.c: New file.
2568 * gdb.guile/scm-objfile-script.exp: New file.
2569 * gdb.guile/scm-objfile.c: New file.
2570 * gdb.guile/scm-objfile.exp: New file.
2571 * gdb.guile/scm-ports.exp: New file.
2572 * gdb.guile/scm-pretty-print.c: New file.
2573 * gdb.guile/scm-pretty-print.exp: New file.
2574 * gdb.guile/scm-pretty-print.scm: New file.
2575 * gdb.guile/scm-section-script.c: New file.
2576 * gdb.guile/scm-section-script.exp: New file.
2577 * gdb.guile/scm-section-script.scm: New file.
2578 * gdb.guile/scm-symbol.c: New file.
2579 * gdb.guile/scm-symbol.exp: New file.
2580 * gdb.guile/scm-symtab-2.c: New file.
2581 * gdb.guile/scm-symtab.c: New file.
2582 * gdb.guile/scm-symtab.exp: New file.
2583 * gdb.guile/scm-type.c: New file.
2584 * gdb.guile/scm-type.exp: New file.
2585 * gdb.guile/scm-value-cc.cc: New file.
2586 * gdb.guile/scm-value-cc.exp: New file.
2587 * gdb.guile/scm-value.c: New file.
2588 * gdb.guile/scm-value.exp: New file.
2589 * gdb.guile/source2.scm: New file.
2590 * gdb.guile/types-module.cc: New file.
2591 * gdb.guile/types-module.exp: New file.
2593 2014-02-10 Yao Qi <yao@codesourcery.com>
2596 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
2597 * configure: Regenerated.
2598 * Makefile.in: New file.
2600 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2602 * gdb.python/py-framefilter.exp: Fix typo.
2604 2014-02-08 Yao Qi <yao@codesourcery.com>
2606 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
2607 that no =breakpoint-modified is emitted when breakpoints are
2608 modified through MI commands.
2610 2014-02-07 Pedro Alves <pedro@codesourcery.com>
2611 Pedro Alves <palves@redhat.com>
2613 * gdb.threads/step-after-sr-lock.c: New file.
2614 * gdb.threads/step-after-sr-lock.exp: New file.
2616 2014-02-07 Pedro Alves <palves@redhat.com>
2618 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
2620 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2622 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
2623 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
2625 2014-02-06 Doug Evans <xdje42@gmail.com>
2627 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
2630 * gdb.gdb/python-interrupts.exp: New file.
2632 2014-02-05 Yao Qi <yao@codesourcery.com>
2634 * gdb.trace/report.exp (use_collected_data): Test the output
2635 of "info threads" and "info inferiors".
2637 2014-02-05 Yao Qi <yao@codesourcery.com>
2641 2013-05-24 Yao Qi <yao@codesourcery.com>
2643 * gdb.trace/tfile.exp: Test inferior and thread.
2645 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2647 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
2649 * gdb.base/step-bt.c: Call hello via function pointer to make
2650 sure its first instruction is executed on powerpc64le-linux.
2652 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2654 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
2656 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2658 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
2659 of the test patterns for use on little-endian systems.
2661 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2663 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
2664 (decimal_vector): Fix for little-endian.
2666 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2668 * gdb.arch/sparc-sysstep.exp: New file.
2669 * gdb.arch/sparc-sysstep.c: Likewise.
2671 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
2673 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2675 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2677 2014-01-23 Tom Tromey <tromey@redhat.com>
2679 * gdb.ada/array_char_idx: New testcase.
2681 2014-01-23 Tom Tromey <tromey@redhat.com>
2684 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
2685 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2688 2014-01-23 Tom Tromey <tromey@redhat.com>
2691 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2692 string from an inferior frame.
2693 * gdb.python/py-framefilter-mi.exp: Update.
2695 2014-01-22 Doug Evans <dje@google.com>
2697 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2699 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2701 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2703 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2705 * gdb.trace/entry-values.exp: Remove excess space character from
2706 regex patterns. Handle s390 call instruction.
2708 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2710 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
2711 define "*_start" label. Make "name" static.
2712 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
2713 ${name} by references to ${name}_start.
2715 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2717 * gdb.base/info-macros.exp: Remove "debug" from the compile
2720 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2722 * gdb.dlang/demangle.exp: New file.
2724 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2726 * gdb.dlang/primitive-types.exp: New file.
2728 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2730 * configure.ac: Create gdb.dlang/Makefile.
2731 * configure: Regenerate.
2732 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
2733 * gdb.dlang/Makefile.in: New file.
2734 * lib/d-support.exp: New file.
2735 * lib/gdb.exp (skip_d_tests): New proc.
2737 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2739 * gdb.btrace/delta.exp: Check reverse stepi.
2740 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
2741 * gdb.btrace/finish.exp: New.
2742 * gdb.btrace/next.exp: New.
2743 * gdb.btrace/nexti.exp: New.
2744 * gdb.btrace/record_goto.c: Add comments.
2745 * gdb.btrace/step.exp: New.
2746 * gdb.btrace/stepi.exp: New.
2747 * gdb.btrace/multi-thread-step.c: New.
2748 * gdb.btrace/multi-thread-step.exp: New.
2749 * gdb.btrace/rn-dl-bind.c: New.
2750 * gdb.btrace/rn-dl-bind.exp: New.
2751 * gdb.btrace/data.c: New.
2752 * gdb.btrace/data.exp: New.
2753 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2755 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2757 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
2758 * gdb.btrace/exception.exp: Update.
2759 * gdb.btrace/instruction_history.exp: Update.
2760 * gdb.btrace/record_goto.exp: Update.
2761 * gdb.btrace/tailcall.exp: Update.
2762 * gdb.btrace/unknown_functions.exp: Update.
2763 * gdb.btrace/delta.exp: New.
2765 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2767 * gdb.btrace/record_goto.exp: Add backtrace test.
2768 * gdb.btrace/tailcall.exp: Add backtrace test.
2770 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2772 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
2773 * gdb.btrace/record_goto.c: New.
2774 * gdb.btrace/record_goto.exp: New.
2775 * gdb.btrace/x86-record_goto.S: New.
2777 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2779 * gdb.btrace/function_call_history.exp: Update tests.
2780 * gdb.btrace/instruction_history.exp: Update tests.
2782 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2784 * gdb.btrace/function_call_history.exp: Fix expected field
2785 order for "record function-call-history".
2786 Add new tests for "record function-call-history /c".
2787 * gdb.btrace/exception.cc: New.
2788 * gdb.btrace/exception.exp: New.
2789 * gdb.btrace/tailcall.exp: New.
2790 * gdb.btrace/x86-tailcall.S: New.
2791 * gdb.btrace/x86-tailcall.c: New.
2792 * gdb.btrace/unknown_functions.c: New.
2793 * gdb.btrace/unknown_functions.exp: New.
2794 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2796 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2798 * gdb.btrace/instruction_history.exp: Update.
2799 * gdb.btrace/function_call_history.exp: Update.
2801 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2803 * gdb.btrace/function_call_history.exp: Fix expected function
2805 * gdb.btrace/instruction_history.exp: Initialize traced.
2806 Remove traced_functions.
2808 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2810 * gdb.btrace/function_call_history.exp: Update
2811 * gdb.btrace/instruction_history.exp: Update.
2813 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2815 * gdb.btrace/enable.exp: Update expected text.
2817 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
2819 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
2822 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
2824 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
2826 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2828 * lib/gdb.exp (supports_process_record): Return true for
2829 arm*-linux*. (supports_reverse): Likewise.
2831 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
2835 * gdb.python/py-type.c: Enhance test case.
2836 * gdb.python/py-value-cc.cc: Likewise
2837 * gdb.python/py-type.exp: Add new tests.
2838 * gdb.python/py-value-cc.exp: Likewise
2840 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2841 Pedro Alves <palves@redhat.com>
2843 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
2845 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
2846 references to ${name}_start by references to ${name}.
2848 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2850 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
2852 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2854 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
2856 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
2857 Pedro Alves <palves@redhat.com>
2859 * gdb.mi/mi-info-os.exp: Connect to the target with
2862 2014-01-08 Pedro Alves <palves@redhat.com>
2864 * gdb.threads/reconnect-signal.c: New file.
2865 * gdb.threads/reconnect-signal.exp: New file.
2867 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2869 * gdb.base/source-dir.exp: New file.
2871 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2873 * gdb.ada/mi_interface: New testcase.
2875 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2877 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
2878 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
2879 gdb.ada/pp-rec-component/pck.ads: New files.
2881 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2883 * gdb.python/py-pp-integral.c: New file.
2884 * gdb.python/py-pp-integral.py: New file.
2885 * gdb.python/py-pp-integral.exp: New file.
2887 For older changes see ChangeLog-1993-2013.
2893 ;; version-control: never
2896 Copyright 2014 Free Software Foundation, Inc.
2897 Copying and distribution of this file, with or without modification,
2898 are permitted provided the copyright notice and this notice are preserved.