1 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
3 * gdb.cp/non-trivial-retval.cc: Add a test case.
4 * gdb.cp/non-trivial-retval.exp: Add a test.
6 2014-10-20 Yao Qi <yao@codesourcery.com>
8 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
9 * gdb.python/py-objfile-script-gdb.py: New file.
10 * gdb.python/py-objfile-script.exp: Update reference to
11 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
12 of remote_download. Remove the dest file.
14 2014-10-20 Yao Qi <yao@codesourcery.com>
16 * gdb.base/checkpoint.exp: Don't remove file copied on host.
17 * gdb.base/step-line.exp: Likewise.
18 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
19 * gdb.dwarf2/dw2-basic.exp: Likewise.
20 * gdb.dwarf2/dw2-compressed.exp: Likewise.
21 * gdb.dwarf2/dw2-filename.exp: Likewise.
22 * gdb.dwarf2/dw2-intercu.exp: Likewise.
23 * gdb.dwarf2/dw2-intermix.exp: Likewise.
24 * gdb.dwarf2/dw2-producer.exp: Likewise.
25 * gdb.dwarf2/mac-fileno.exp: Likewise.
26 * gdb.python/py-frame-args.exp: Likewise.
27 * gdb.python/py-framefilter.exp: Likewise.
28 * gdb.python/py-mi.exp: Likewise.
29 * gdb.python/py-objfile-script.exp: Likewise
30 * gdb.python/py-pp-integral.exp: Likewise.
31 * gdb.python/py-pp-re-notag.exp: Likewise.
32 * gdb.python/py-prettyprint.exp: Likewise.
33 * gdb.python/py-section-script.exp: Likewise.
34 * gdb.python/py-typeprint.exp: Likewise.
35 * gdb.python/py-xmethods.exp: Likewise.
36 * gdb.stabs/weird.exp: Likewise.
37 * gdb.xml/tdesc-regs.exp: Likewise.
39 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
41 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
42 (out_cu): Use addr_len for the size of addresses.
43 (out_line): Likewise. Size DW_LNE_set_address instruction
44 according to addr_len.
45 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
46 (FUNC): Add START_INSNS to definition.
48 2014-10-18 Yao Qi <yao@codesourcery.com>
50 * gdb.base/argv0-symlink.exp: Check argv[0] value if
51 gdb_has_argv0 return true.
52 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
53 check [target_info exists noargs], check [gdb_has_argv0]
55 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
56 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
59 2014-10-17 Doug Evans <dje@google.com>
61 * gdb.python/py-events.exp: Update expected output for clear_objfiles
63 * gdb.python/py-events.py: Add clear_objfiles event.
65 2014-10-17 Doug Evans <dje@google.com>
67 * gdb.python/py-objfile.exp: Test progspace attribute.
69 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
71 * gdb.guile/scm-breakpoint.exp: Do not assume any
72 directory separators when matching source file paths.
73 * gdb.python/py-breakpoint.exp: Likewise.
74 * gdb.reverse/break-precsave.exp: Likewise.
75 * gdb.reverse/break-reverse.exp: Likewise.
76 * gdb.reverse/consecutive-precsave.exp: Likewise.
77 * gdb.reverse/finish-precsave.exp: Likewise.
78 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
79 * gdb.reverse/finish-reverse.exp: Likewise.
80 * gdb.reverse/i386-precsave.exp: Likewise.
81 * gdb.reverse/i387-env-reverse.exp: Likewise.
82 * gdb.reverse/i387-stack-reverse.exp: Likewise.
83 * gdb.reverse/machinestate-precsave.exp: Likewise.
84 * gdb.reverse/machinestate.exp: Likewise.
85 * gdb.reverse/sigall-precsave.exp: Likewise.
86 * gdb.reverse/solib-precsave.exp: Likewise.
87 * gdb.reverse/step-precsave.exp: Likewise.
88 * gdb.reverse/until-precsave.exp: Likewise.
89 * gdb.reverse/watch-precsave.exp: Likewise.
90 * gdb.reverse/watch-reverse.exp: Likewise.
92 2014-10-17 Yao Qi <yao@codesourcery.com>
94 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
95 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
97 2014-10-17 Pedro Alves <palves@redhat.com>
100 * gdb.base/bg-execution-repeat.c: New file.
101 * gdb.base/bg-execution-repeat.exp: New file.
103 2014-10-17 Pedro Alves <palves@redhat.com>
106 * gdb.base/continue-all-already-running.c: New file.
107 * gdb.base/continue-all-already-running.exp: New file.
109 2014-10-17 Pedro Alves <palves@redhat.com>
112 * gdb.base/annota-input-while-running.c: New file.
113 * gdb.base/annota-input-while-running.exp: New file.
115 2014-10-17 Pedro Alves <palves@redhat.com>
117 * gdb.base/callfuncs.exp: emove references to osf.
118 * gdb.base/sigall.exp: Likewise.
119 * gdb.gdb/selftest.exp: Likewise.
120 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
121 * gdb.mi/non-stop.c: Likewise.
122 * gdb.mi/pthreads.c: Likewise.
123 * gdb.reverse/sigall-precsave.exp: Likewise.
124 * gdb.reverse/sigall-reverse.exp: Likewise.
125 * gdb.threads/pthreads.c: Likewise.
126 * gdb.threads/pthreads.exp: Likewise.
128 2014-10-17 Yao Qi <yao@codesourcery.com>
130 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
131 check 'target_info exists noargs'.
132 (test_command_prompt_position): Likewise.
133 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
135 (progvar_simple_while_test): Likewise.
136 (progvar_complex_if_while_test): Likewise.
137 (if_while_breakpoint_command_test): Likewise.
138 (infrun_breakpoint_command_test): Likewise.
139 (breakpoint_command_test): Likewise.
140 (watchpoint_command_test): Likewise.
141 (bp_deleted_in_command_test): Likewise.
142 (temporary_breakpoint_commands): Likewise.
144 2014-10-16 Yao Qi <yao@codesourcery.com>
146 * gdb.base/remotetimeout.exp: Remove noargs checking.
148 2014-10-15 Pedro Alves <palves@redhat.com>
151 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
152 * gdb.base/breakpoint-in-ro-region.exp
153 (probe_target_hardware_step): New procedure.
154 (top level): Probe hardware stepping and hardware breakpoint
155 support. Test stepping through a read-only region, with both
156 "breakpoint auto-hw" on and off and both "always-inserted" on and
159 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
161 * gdb.dlang/demangle.exp: Update for demangling changes.
163 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
165 * gdb.cp/non-trivial-retval.cc: Add new test cases.
166 * gdb.cp/non-trivial-retval.exp: Add new tests.
168 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
172 * gdb.cp/non-trivial-retval.cc: New file.
173 * gdb.cp/non-trivial-retval.exp: New file.
175 2014-10-15 Yao Qi <yao@codesourcery.com>
177 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
180 2014-10-15 Yao Qi <yao@codesourcery.com>
182 * gdb.python/py-symbol.exp: Match file base name if host is
183 remote, otherwise match file name with dir name.
184 * gdb.python/py-symtab.exp: Likewise.
185 * gdb.python/python.exp: Likewise.
187 2014-10-15 Yao Qi <yao@codesourcery.com>
189 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
191 * gdb.python/py-symtab.exp: Likewise.
192 * gdb.python/python.exp: Remove trailing ".*". Fix typo
195 2014-10-14 Joel Brobecker <brobecker@adacore.com>
197 * gdb.ada/addr_arith: New testcase.
199 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
201 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
202 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
203 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
204 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
206 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
208 * gdb.arch/stap-eval-lang-ada.S: Likewise.
209 * gdb.arch/stap-eval-lang-ada.c: Likewise.
210 * gdb.arch/stap-eval-lang-ada.exp: New file.
212 2014-10-14 Yao Qi <yao@codesourcery.com>
214 * gdb.mi/mi-var-child.c (nothing1): New function.
215 (nothing2): New function.
216 (do_children_tests): Set function pointers by nothing1 and
218 * gdb.mi/mi-var-child.exp: Step over new added statements.
219 Update test to match the new output.
220 * gdb.mi/var-cmd.c (nothing1): New function.
221 (nothing2): New function.
222 (do_children_tests): Set function pointers by nothing1 and
224 * gdb.mi/mi-var-display.exp: Update test to match output.
225 Step to the line specified by $line_dct_nothing.
226 Increase the number of lines to step.
228 2014-10-14 Yao Qi <yao@codesourcery.com>
230 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
232 * gdb.mi/mi2-var-child.exp: Likewise.
234 2014-10-13 Doug Evans <dje@google.com>
236 * gdb.python/py-objfile.exp: Change name of file name test.
238 2014-10-13 Doug Evans <dje@google.com>
240 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
241 from the start of the CU.
243 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
244 Yao Qi <yao@codesourcery.com>
246 Fix "save breakpoints" for "catch" command.
247 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
248 Remove -nonewline. Match also the added "main" line.
250 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
252 Fix "save breakpoints" for "disable $bpnum" command.
253 * gdb.base/save-bp.c (main): Add label.
254 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
256 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
258 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
260 2014-10-11 Yao Qi <yao@codesourcery.com>
262 * gdb.server/server-kill.exp: Execute command
263 "set remote trace-status-packet on" before "tstatus".
265 2014-10-11 Yao Qi <yao@codesourcery.com>
267 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
268 (main): Call getppid.
269 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
270 and continue to it. Read variable "server_pid".
272 2014-10-11 Yao Qi <yao@codesourcery.com>
274 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
276 2014-10-11 Yao Qi <yao@codesourcery.com>
278 * gdb.threads/thread-find.exp: Don't execute command
280 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
281 * gdb.threads/linux-dp.exp: Don't check the condition
282 $threads_created equals to zero.
284 2014-10-10 Pedro Alves <palves@redhat.com>
286 * gdb.base/bigcore.exp: Remove references to IRIX.
287 * gdb.base/funcargs.exp: Likewise.
288 * gdb.base/interrupt.exp: Likewise.
289 * gdb.base/mips_pro.exp: Likewise.
290 * gdb.base/nodebug.exp: Likewise.
291 * gdb.base/setvar.exp: Likewise.
292 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
294 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
295 Pedro Alves <palves@redhat.com>
298 * gdb.base/vdso-warning.c: New file.
299 * gdb.base/vdso-warning.exp: New file.
301 2014-10-02 Doug Evans <dje@google.com>
303 * gdb.base/structs.c (main): Don't run forever.
305 2014-10-02 Pedro Alves <palves@redhat.com>
307 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
308 (top level) <stop threads 1, stop threads 2>: Use it.
310 2014-10-02 Pedro Alves <palves@redhat.com>
312 * gdb.threads/break-while-running.exp (test): Add new
313 'update_thread_list' argument. Skip "info threads" if false.
314 (top level): Add new 'update_thread_list' axis.
316 2014-10-02 Pedro Alves <palves@redhat.com>
319 * gdb.base/execl-update-breakpoints.c: New file.
320 * gdb.base/execl-update-breakpoints.exp: New file.
322 2014-10-01 Pedro Alves <palves@redhat.com>
324 * gdb.base/breakpoint-in-ro-region.c: New file.
325 * gdb.base/breakpoint-in-ro-region.exp: New file.
327 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
329 * gdb.mi/mi-exit-code.exp: New file.
330 * gdb.mi/mi-exit-code.c: New file.
332 2014-09-30 Yao Qi <yao@codesourcery.com>
334 * lib/prelink-support.exp (build_executable_own_libs): Error if
335 the target isn't native.
337 2014-09-30 Yao Qi <yao@codesourcery.com>
339 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
342 2014-09-22 Pedro Alves <palves@redhat.com>
344 * gdb.threads/break-while-running.exp: New file.
345 * gdb.threads/break-while-running.c: New file.
347 2014-09-19 Yao Qi <yao@codesourcery.com>
349 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
350 Invoke test. Restart GDB with --readnow and invoke test again.
352 2014-09-19 Yao Qi <yao@codesourcery.com>
354 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
355 proc set_breakpoint_on_gcd_function. Invoke
356 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
357 invoke set_breakpoint_on_gcd_function again.
359 2014-09-18 Doug Evans <dje@google.com>
361 * gdb.dwarf2/symtab-producer.exp: New file.
363 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
365 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
366 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
367 * gdb.base/global-var-nested-by-dso.c: Likewise.
368 * gdb.base/global-var-nested-by-dso.exp: Likewise.
370 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
371 Pedro Alves <palves@redhat.com>
373 * gdb.base/watch-bitfields.exp: Pass string other than test file
374 name to prepare_for_testing.
375 (watch): New procedure.
376 (expect_watchpoint): Use with_test_prefix.
377 (top level): Factor out tests to ...
378 (test_watch_location, test_regular_watch): ... these new
379 procedures, and use with_test_prefix and gdb_continue_to_end.
381 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
384 * gdb.base/watch-bitfields.exp: New file.
385 * gdb.base/watch-bitfields.c: New file.
387 2014-09-16 Pedro Alves <palves@redhat.com>
389 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
390 software and hardware addresses, not software address against
393 2014-09-16 Pedro Alves <palves@redhat.com>
395 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
396 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
398 2014-09-16 Pedro Alves <palves@redhat.com>
400 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
402 * gdb.base/a2-run.exp: Remove all code guarded by istarget
403 "*-*-vxworks*" throughout.
404 * gdb.base/break.exp: Likewise.
405 * gdb.base/default.exp: Likewise.
406 * gdb.base/scope.exp: Likewise.
407 * gdb.base/sepdebug.exp: Likewise.
408 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
410 * gdb.base/run.c: Likewise.
411 * gdb.base/sepdebug.c: Likewise.
412 * gdb.hp/gdb.aCC/run.c: Likewise.
413 * gdb.reverse/until-reverse.c: Likewise.
414 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
416 2014-09-16 Yao Qi <yao@codesourcery.com>
418 * boards/local-remote-host-native.exp: New file.
420 2014-09-14 Doug Evans <xdje42@gmail.com>
422 * gdb.threads/queue-signal.c (thread_count): New variable.
423 (thread_count_mutex, thread_count_condvar): New variables.
424 (incr_thread_count, wait_all_threads_running): New functions.
425 (main): Wait for all threads to be in their thread functions.
427 2014-09-13 Doug Evans <xdje42@gmail.com>
429 * gdb.threads/queue-signal.c: New file.
430 * gdb.threads/queue-signal.exp: New file.
432 2014-09-13 Doug Evans <xdje42@gmail.com>
434 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
435 be consistent with what default_gdb_init uses.
436 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
437 the plain text of the prompt. Add some logging printfs.
438 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
440 2014-09-12 Pedro Alves <palves@redhat.com>
442 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
443 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
444 * gdb.arch/i386-size-overlap.exp: Likewise.
445 * gdb.arch/i386-size.exp: Likewise.
446 * gdb.arch/i386-unwind.exp: Likewise.
447 * gdb.base/a2-run.exp: Likewise.
448 * gdb.base/break.exp: Likewise.
449 * gdb.base/charset.exp: Likewise.
450 * gdb.base/chng-syms.exp: Likewise.
451 * gdb.base/commands.exp: Likewise.
452 * gdb.base/dbx.exp: Likewise.
453 * gdb.base/find.exp: Likewise.
454 * gdb.base/funcargs.exp: Likewise.
455 * gdb.base/jit-simple.exp: Likewise.
456 * gdb.base/reread.exp: Likewise.
457 * gdb.base/sepdebug.exp: Likewise.
458 * gdb.base/step-bt.exp: Likewise.
459 * gdb.cp/mb-inline.exp: Likewise.
460 * gdb.cp/mb-templates.exp: Likewise.
461 * gdb.objc/basicclass.exp: Likewise.
462 * gdb.threads/killed.exp: Likewise.
464 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
467 * gdb.arch/powerpc-stackless.S: New file.
468 * gdb.arch/powerpc-stackless.exp: New file.
470 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
472 * gdb.base/attach.c: Include unistd.h.
473 (main): Call alarm. Add label postloop.
474 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
475 gdb_breakpoint, gdb_continue_to_breakpoint.
476 (test_command_line_attach_run): Kill ${testpid} in one exit path.
478 2014-09-11 Pedro Alves <palves@redhat.com>
481 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
482 * gdb.base/attach.exp (test_command_line_attach_run): New
484 (top level): Call it.
486 2014-09-11 Pedro Alves <palves@redhat.com>
488 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
489 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
490 (do_command_attach_tests): Use spawn_wait_for_attach.
491 * gdb.base/solib-overlap.exp: Likewise.
492 * gdb.multi/multi-attach.exp: Likewise.
493 * gdb.python/py-prompt.exp: Likewise.
494 * gdb.python/py-sync-interp.exp: Likewise.
495 * gdb.server/ext-attach.exp: Likewise.
497 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
499 * gdb.fortran/array-element.exp: Remove unexpected "continue"
500 command in testcase. Simplify testcase.
502 2014-09-10 Joel Brobecker <brobecker@adacore.com>
504 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
506 2014-09-10 Joel Brobecker <brobecker@adacore.com>
508 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
510 2014-09-10 Joel Brobecker <brobecker@adacore.com>
512 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
514 2014-09-10 Joel Brobecker <brobecker@adacore.com>
516 * gdb.dwarf2/dynarr-ptr.c: New file.
517 * gdb.dwarf2/dynarr-ptr.exp: New file.
519 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
521 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
522 of 30 rather than hardcoding 120 for a slow test case. Take the
523 `gdb,timeout' target setting into account for this calculation.
524 Don't extend the timeout for the test cases that don't need it.
526 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
528 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
529 a factor of 2 for a slow test case. Take the `gdb,timeout'
530 target setting into account for this calculation.
531 * gdb.reverse/until-precsave.exp: Increase the timeout by
532 a factor of 15 and 3 respectively rather than adding 120
533 for a pair of slow test cases. Take the `gdb,timeout'
534 target setting into account for this calculation.
536 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
538 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
539 timeout, don't pass one down to gdb_expect.
540 (gdb_expect): Rework timeout selection.
542 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
544 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
545 exception on timeout.
546 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
547 (gdbserver_start_extended): Catch any `gdbserver_start' error
549 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
550 * lib/mi-support.exp (mi_gdb_target_load): Catch any
551 `gdbserver_gdb_load' error exceptions.
553 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
555 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
556 120 on waiting for the TCP socket to open.
558 2014-09-09 Doug Evans <xdje42@gmail.com>
560 * gdb.base/default.exp (show_conv_list): Add _caller_is,
561 _caller_matches, _any_caller_is, _any_caller_matches.
563 2014-09-09 Doug Evans <xdje42@gmail.com>
565 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
567 2014-09-09 Yao Qi <yao@codesourcery.com>
569 * gdb.mi/mi-var-display.exp: Set print symbol off.
571 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
574 * gdb.base/commands.exp: Add tests to verify user-defined
575 commands with empty bodies.
576 * gdb.python/py-cmd.exp: Test that we don't show user-defined
577 python commands in `show user command`.
578 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
579 scheme commands in `show user command`.
581 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
584 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
585 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
586 * gdb.python/py-framefilter-invalidarg.exp: New file.
587 * gdb.python/py-framefilter-invalidarg.py: New file.
589 2014-09-06 Doug Evans <xdje42@gmail.com>
592 * gdb.python/py-caller-is.c: New file.
593 * gdb.python/py-caller-is.exp: New file.
595 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
598 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
599 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
601 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
604 * gdb.fortran/print-formatted.exp: New file.
605 * gdb.fortran/print-formatted.f90: Likewise.
607 2014-09-03 Sasha Smundak <asmundak@google.com>
609 * gdb.python/py-frame.exp: Test Frame.read_register.
611 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
614 * gdb.python/py-completion.exp: New file.
615 * gdb.python/py-completion.py: Likewise.
617 2014-08-28 Doug Evans <dje@google.com>
619 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
620 eax,etc. are live with values set by gdb and thus the compiler can't
622 * gdb.arch/i386-pseudo.c (main): Ditto.
624 2014-08-27 Doug Evans <dje@google.com>
626 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
628 2014-08-25 Doug Evans <dje@google.com>
630 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
633 2014-08-25 Doug Evans <dje@google.com>
635 * gdb.threads/thread-execl.exp: #include <stdio.h>.
637 2014-08-24 Yao Qi <yao@codesourcery.com>
639 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
641 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
643 2014-08-22 Doug Evans <dje@google.com>
646 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
647 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
648 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
650 2014-08-22 Yao Qi <yao@codesourcery.com>
652 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
653 * gdb.python/py-finish-breakpoint2.exp: Likewise.
654 * gdb.python/python.exp: Likewise. Use .py file on the host
655 instead of the build.
657 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
659 * gdb.threads/gcore-stale-thread.c: New file.
660 * gdb.threads/gcore-stale-thread.exp: New file.
662 2014-08-21 Pedro Alves <palves@redhat.com>
664 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
665 * gdb.base/gcore-relro-pie.exp: Likewise.
666 * gdb.base/gcore-relro.exp: Likewise.
667 * gdb.base/gcore.exp: Likewise.
668 * gdb.base/print-symbol-loading.exp: Likewise.
669 * gdb.threads/gcore-thread.exp: Likewise.
670 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
672 2014-08-20 Pedro Alves <palves@redhat.com>
673 Jan Kratochvil <jan.kratochvil@redhat.com>
675 * Makefile.in (EXTRA_RULES, CC): New variables, get from
677 (EXPECT): Handle READ1 being set.
678 (all): Depend on EXTRA_RULES.
679 (check-read1, expect-read1, read1.so, read1): New rules.
680 * README (Testsuite Parameters): Document the READ1 make variable.
681 (Race detection): New section.
682 * configure: Regenerate.
683 * configure.ac: If build==host==target, and running under a
684 GNU/glibc system, add read1 to the extra Makefile rules.
685 (EXTRA_RULES): AC_SUBST it.
686 * lib/read1.c: New file.
688 2014-08-20 Joel Brobecker <brobecker@adacore.com>
690 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
691 the handling of variables declared as a typedef to an array
692 which a DW_AT_data_location attribute.
694 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
695 Pedro Alves <palves@redhat.com>
699 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
702 2014-08-19 Pedro Alves <palves@redhat.com>
704 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
706 2014-08-19 Yao Qi <yao@codesourcery.com>
708 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
711 2014-08-18 David Blaikie <dblaikie@gmail.com>
713 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
715 2014-08-18 Joel Brobecker <brobecker@adacore.com>
717 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
718 attribute in array range.
720 2014-08-18 Joel Brobecker <brobecker@adacore.com>
722 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
724 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
727 * gdb.cp/pr17132.cc: New file.
728 * gdb.cp/pr17132.exp: New file.
730 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
732 * gdb.python/py-xmethods.py (A_getarrayind)
733 (E_method_char_worker.__call__, E_method_int_worker.__call__):
734 Use 'print' with function call syntax.
735 (E_method_matcher.match): Fix tab vs space indentation mixup.
737 2014-08-15 Yao Qi <yao@codesourcery.com>
739 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
742 2014-08-15 Yao Qi <yao@codesourcery.com>
744 * gdb.cp/casts.exp: Set print symbol off.
745 * gdb.cp/class2.exp: Likewise.
746 * gdb.cp/overload.exp: Likewise.
747 * gdb.cp/templates.exp: Likewise.
749 2014-08-11 Doug Evans <dje@google.com>
751 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
752 (test_load_shlib): Update.
754 2014-08-09 Yao Qi <yao@codesourcery.com>
756 * gdb.base/display.exp: Invoke is_address_zero_readable.
757 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
758 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
759 * gdb.base/hbreak-unmapped.exp: Return if
760 is_address_zero_readable returns true.
761 * gdb.base/signest.exp: Likewise.
762 * gdb.base/signull.exp: Likewise.
763 * gdb.base/sigbpt.exp: Likewise.
764 * gdb.guile/scm-disasm.exp: Do the test if
765 is_address_zero_readable returns false.
766 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
767 * gdb.python/py-arch.exp: Likewise.
768 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
769 * lib/gdb.exp (is_address_zero_readable): New proc.
771 2014-08-09 Yao Qi <yao@codesourcery.com>
774 * gdb.mi/mi-var-display.exp: Make test messages unique.
776 2014-08-04 Tom Tromey <tromey@redhat.com>
778 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
781 2014-08-04 Tom Tromey <tromey@redhat.com>
783 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
786 2014-08-01 Joel Brobecker <brobecker@adacore.com>
788 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
789 inner_vla_struct_object_size.
790 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
793 2014-07-30 Pedro Alves <palves@redhat.com>
795 * gdb.threads/signal-command-handle-nopass.exp (test): Add
798 2014-07-29 Yao Qi <yao@codesourcery.com>
801 * gdb.base/until-nodebug.exp: New.
803 2014-07-28 Doug Evans <xdje42@gmail.com>
806 * gdb.guile/scm-parameter.exp: Add tests for trying to create
807 previously existing parameter, and previously ambiguously spelled
810 2014-07-28 Will Newton <will.newton@linaro.org>
812 * gdb.base/varargs.exp: Remove KFAILs for ARM.
814 2014-07-26 Ludovic Courtès <ludo@gnu.org>
815 Doug Evans <xdje42@gmail.com>
818 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
820 2014-07-25 Pedro Alves <palves@redhat.com>
822 * gdb.threads/signal-command-handle-nopass.c: New file.
823 * gdb.threads/signal-command-handle-nopass.exp: New file.
824 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
825 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
826 * gdb.threads/signal-delivered-right-thread.c: New file.
827 * gdb.threads/signal-delivered-right-thread.exp: New file.
829 2014-07-25 Pedro Alves <palves@redhat.com>
831 * gdb.base/double-prompt-target-event-error.exp
832 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
834 (cancel_pagination_in_target_event): Rework double prompt
836 * gdb.base/paginate-after-ctrl-c-running.exp
837 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
839 * gdb.base/paginate-bg-execution.exp
840 (test_bg_execution_pagination_return)
841 (test_bg_execution_pagination_cancel): Remove '-notransfer
843 * gdb.base/paginate-execution-startup.exp
844 (test_fg_execution_pagination_return)
845 (test_fg_execution_pagination_cancel): Remove '-notransfer
847 * gdb.base/paginate-inferior-exit.exp
848 (test_paginate_inferior_exited): Remove '-notransfer <return>'
850 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
851 * lib/gdb.exp (pagination_prompt): Run text through
853 (gdb_test_multiple): Match $pagination_prompt instead of
855 (string_to_regexp): Move to lib/gdb-utils.exp.
857 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
859 * gdb.arch/amd64-entry-value-paramref.S: New file.
860 * gdb.arch/amd64-entry-value-paramref.cc: New file.
861 * gdb.arch/amd64-entry-value-paramref.exp: New file.
862 * gdb.arch/amd64-optimout-repeat.S: New file.
863 * gdb.arch/amd64-optimout-repeat.c: New file.
864 * gdb.arch/amd64-optimout-repeat.exp: New file.
866 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
869 * gdb.base/statistics.exp: New file.
871 2014-07-17 Doug Evans <dje@google.com>
874 * gdb.base/maint.exp: Update testing of per-command stats.
876 2014-07-16 Pedro Alves <palves@redhat.com>
878 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
879 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
880 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
881 (tfile_write_buf): New functions.
882 (add_memory_block): Rewrite using the above.
883 (adjust_function_address): New function.
884 (FUNCTION_ADDRESS): New macro.
885 (write_basic_trace_file): Remove short_x local, and use
886 tfile_write_16. Change type of func_addr local to unsigned long
887 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
888 here. Cast argument of add_memory_block to char pointer.
889 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
890 (main): Remove parameters.
891 * gdb.trace/tfile.exp: Remove nowarnings.
893 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
895 * gdb.base/debug-expr.exp: Test string evaluation with
896 "debug expression" on.
898 2014-07-15 Pedro Alves <palves@redhat.com>
900 * gdb.base/reread.exp: Use clean_restart.
902 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
904 * gdb.arch/avr-flash-qualifer.c: New.
905 * gdb.arch/avr-flash-qualifer.exp: New.
907 2014-07-14 Pedro Alves <palves@redhat.com>
909 * gdb.base/paginate-after-ctrl-c-running.c: New file.
910 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
912 2014-07-14 Pedro Alves <palves@redhat.com>
914 * gdb.base/double-prompt-target-event-error.c: New file.
915 * gdb.base/double-prompt-target-event-error.exp: New file.
917 2014-07-14 Pedro Alves <palves@redhat.com>
920 * gdb.base/paginate-inferior-exit.c: New file.
921 * gdb.base/paginate-inferior-exit.exp: New file.
923 2014-07-14 Pedro Alves <palves@redhat.com>
926 * gdb.base/paginate-bg-execution.c: New file.
927 * gdb.base/paginate-bg-execution.exp: New file.
929 2014-07-14 Pedro Alves <palves@redhat.com>
932 * gdb.base/paginate-execution-startup.c: New file.
933 * gdb.base/paginate-execution-startup.exp: New file.
934 * lib/gdb.exp (pagination_prompt): New global.
935 (default_gdb_spawn): New procedure, factored out from
937 (default_gdb_start): Adjust to call default_gdb_spawn.
938 (gdb_spawn): New procedure.
940 2014-07-14 Pedro Alves <palves@redhat.com>
942 * lib/gdb.exp (gdb_assert): New procedure.
943 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
945 2014-07-14 Pedro Alves <palves@redhat.com>
947 * gdb.base/execution-termios.c: New file.
948 * gdb.base/execution-termios.exp: New file.
950 2014-07-14 Tom Tromey <tromey@redhat.com>
952 * gdb.cp/vla-cxx.cc: New file.
953 * gdb.cp/vla-cxx.exp: New file.
955 2014-07-14 Tom Tromey <tromey@redhat.com>
957 * gdb.reverse/rerun-prec.c: New file.
958 * gdb.reverse/rerun-prec.exp: New file.
960 2014-07-12 Maciej W. Rozycki <macro@mips.com>
961 Maciej W. Rozycki <macro@codesourcery.com>
963 * lib/gdb-utils.exp: New file.
964 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
965 inline `gdb_init_command' processing.
966 (gdb_start_cmd): Likewise.
967 * lib/mi-support.exp (mi_run_cmd): Likewise.
968 * README: Document `gdb_init_command' and `gdb_init_commands'.
970 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
972 Fix false FAIL running under a very long directory name.
973 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
974 and "set print elements 10000". Twice.
976 2014-07-11 Yao Qi <yao@codesourcery.com>
978 * gdb.base/exprs.exp: "set print symbol off".
980 2014-07-11 Pedro Alves <palves@redhat.com>
982 * gdb.threads/kill.c: New file.
983 * gdb.threads/kill.exp: New file.
985 2014-07-10 Yao Qi <yao@codesourcery.com>
987 * gdb.trace/tfile.c (write_basic_trace_file)
988 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
989 address written to trace file.
991 2014-07-09 Pedro Alves <palves@redhat.com>
993 * gdb.base/attach-wait-input.exp: New file.
994 * gdb.base/attach-wait-input.c: New file.
996 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
998 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
999 setting up test structures.
1000 (main): Call new test function.
1001 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1002 test function, continue into test function and walk test
1005 2014-07-02 Yao Qi <yao@codesourcery.com>
1007 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1008 'bar_start' at the beginning of functions 'foo' and 'bar'
1010 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1011 instead of 'foo' and 'bar'.
1013 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1015 * gdb.btrace/segv.exp: New.
1016 * gdb.btrace/segv.c: New.
1018 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
1020 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1023 2014-06-30 Mark Wielaard <mjw@redhat.com>
1025 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1026 vulture, vilify, villar): New volatile array constants.
1027 (vindictive, vegetation): New const volatile array constants.
1028 * gdb.base/volatile.exp: Test volatile and const volatile array
1031 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1033 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1034 target lacks support for awatch, rwatch, or hbreak.
1036 2014-06-27 Yao Qi <yao@codesourcery.com>
1038 * gdb.multi/dummy-frame-restore.exp: New.
1039 * gdb.multi/dummy-frame-restore.c: New.
1041 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1043 * gdb.btrace/gcore.exp: New.
1045 2014-06-23 Pedro Alves <palves@redhat.com>
1047 * gdb.base/watchpoint-reuse-slot.c: New file.
1048 * gdb.base/watchpoint-reuse-slot.exp: New file.
1050 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1052 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1053 progspace's filename in 'info', 'enable' and 'disable' command
1056 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1058 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1059 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1060 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1062 2014-06-20 Gary Benson <gbenson@redhat.com>
1064 * gdb.arch/i386-avx.exp: Fix include file location.
1065 * gdb.arch/i386-sse.exp: Likewise.
1067 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1069 * gdb.dlang/expression.exp: New file.
1071 2014-06-19 Pedro Alves <palves@redhat.com>
1073 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1075 (top level): ... here. Iterate running tests under different
1076 scheduler-locking settings.
1078 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
1080 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1081 to DW_FORM_addr and use non-zero addresses.
1083 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1086 * gdb.python/py-xmethods.cc: Add global function call counters and
1087 increment them in their respective functions. Remove "cout"
1089 * gdb.python/py-xmethods.exp: Make tests check the global function
1090 call counters instead of depending on inferior IO.
1092 2014-06-18 Don Breazeal <donb@codesourcery.com>
1094 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1096 (explicit_fork_parent_follow): Deleted procedure.
1097 (explicit_fork_child_follow): Deleted procedure.
1098 (test_follow_fork): New procedure.
1099 (do_fork_tests): Replace calls to deleted procedures with
1100 calls to test_follow_fork and reset GDB for subsequent
1103 2014-06-17 Yao Qi <yao@codesourcery.com>
1105 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1108 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
1110 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1111 Initialize ptr and S explicitly.
1112 (skip_type_update_when_not_use_rtti_test): Likewise.
1114 2014-06-16 Keith Seitz <keiths@redhat.com>
1117 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1118 the inferior is started.
1120 2014-06-16 Pedro Alves <palves@redhat.com>
1122 * gdb.base/break-main-file-remove-fail.c: New file.
1123 * gdb.base/break-main-file-remove-fail.exp: New file.
1124 * gdb.base/break-unload-file.exp: Use build_executable instead of
1125 prepare_for_testing.
1126 (test_break): New parameter "initial_load". Handle it.
1127 (top level): Add initial_load cmdline/file axis.
1129 2014-06-12 Tom Tromey <tromey@redhat.com>
1131 * gdb.base/completion.exp: Don't use directory name in test.
1133 2014-06-09 Gary Benson <gbenson@redhat.com>
1135 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1136 separate the always-available ANSI-standard signals from the
1137 signals that require checking.
1139 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1143 2014-06-07 Keith Seitz <keiths@redhat.com>
1147 * gdb.cp/var-tag.cc: New file.
1148 * gdb.cp/var-tag.exp: New file.
1149 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1150 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1151 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1152 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1154 2014-06-06 Doug Evans <xdje42@gmail.com>
1156 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1158 2014-06-06 Pedro Alves <palves@redhat.com>
1160 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1161 in target debug output instead of looking at RSP packets,
1162 disabling the test on any target that uses hardware stepping.
1165 2014-06-06 Pedro Alves <palves@redhat.com>
1167 * gdb.base/break-unload-file.exp: Fix typo.
1169 2014-06-06 Yao Qi <yao@codesourcery.com>
1171 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1172 from "jit_function" to "^jit_function".
1174 2014-06-06 Yao Qi <yao@codesourcery.com>
1176 * gdb.base/async.c (foo): Add one statement.
1177 * gdb.base/async.exp: Get the next instruction address and
1178 match the output of "nexti" by instruction address. Match
1179 the hex address in the output of "finish".
1181 2014-06-06 Gary Benson <gbenson@redhat.com>
1183 * gdb.base/call-signals.c: Remove preprocessor conditionals
1184 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1185 SIGSEGV and SIGTERM.
1186 * gdb.base/sigall.c: Likewise.
1187 * gdb.base/unwindonsignal.c: Likewise.
1188 * gdb.reverse/sigall-reverse.c: Likewise.
1190 2014-06-06 Yao Qi <yao@codesourcery.com>
1192 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1193 readable, skip the test.
1195 2014-06-06 Yao Qi <yao@codesourcery.com>
1197 * gdb.threads/staticthreads.c (thread_function): Move the line
1198 setting breakpoint on forward.
1199 * gdb.threads/staticthreads.exp: Update comments.
1201 2014-06-05 Ludovic Courtès <ludo@gnu.org>
1203 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1204 "history-append! type error".
1206 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1208 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1209 erroneous dprintf expected input.
1211 2014-06-04 Doug Evans <xdje42@gmail.com>
1213 * gdb.guile/scm-generics.exp: Delete.
1215 2014-06-04 Doug Evans <xdje42@gmail.com>
1217 * gdb.guile/scm-breakpoint.exp: Update.
1218 Add tests for breakpoint registration.
1220 2014-06-04 Tom Tromey <tromey@redhat.com>
1222 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1224 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1225 inner_vla_struct, vla_union types. Initialize objects of those
1226 types and compute their sizes.
1228 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1229 Hui Zhu <hui@codesourcery.com>
1231 * gdb.base/fileio.exp: Add test for shell not available as well as
1233 * gdb.base/fileio.c (test_system): Check for shell twice.
1235 2014-06-04 Yao Qi <yao@codesourcery.com>
1237 * gdb.base/auto-connect-native-target.exp: Remove redundant
1238 space from the regexp pattern.
1240 2014-06-04 Yao Qi <yao@codesourcery.com>
1242 * gdb.base/default.exp: Replace "child" with "native" in
1245 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1247 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1248 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1249 * gdb.python/py-xmethods.py: Python script supporting the
1250 new testcase and tests.
1252 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1253 Pedro Alves <palves@redhat.com>
1255 PR breakpoints/17000
1256 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1257 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1259 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1261 * gdb.base/subst.exp: Add tests to verify partial path matching
1264 2014-06-03 Pedro Alves <palves@redhat.com>
1266 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1267 target that doesn't use software single-stepping.
1269 2014-06-03 Pedro Alves <palves@redhat.com>
1271 PR breakpoints/17000
1272 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1273 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1275 2014-06-02 Doug Evans <xdje42@gmail.com>
1277 * gdb.guile/scm-parameter.exp: New file.
1279 2014-06-02 Doug Evans <xdje42@gmail.com>
1281 * gdb.guile/scm-cmd.c: New file.
1282 * gdb.guile/scm-cmd.exp: New file.
1284 2014-06-02 Doug Evans <xdje42@gmail.com>
1286 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1287 pretty-printer lookup.
1288 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1289 (make-pp_s-printer): Call it.
1290 (make-pretty-printer-from-dict): New function.
1291 (lookup-pretty-printer-maker-from-dict): New function.
1292 (*pretty-printer*): Simplify.
1293 (make-objfile-pp_s-printer): New function.
1294 (install-objfile-pretty-printers!): New function.
1295 (make-progspace-pp_s-printer): New function.
1296 (install-progspace-pretty-printers!): New function.
1297 * gdb.guile/scm-progspace.c: New file.
1298 * gdb.guile/scm-progspace.exp: New file.
1300 2014-06-02 Pedro Alves <palves@redhat.com>
1302 * gdb.base/dprintf-bp-same-addr.c: New file.
1303 * gdb.base/dprintf-bp-same-addr.exp: New file.
1305 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1307 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1308 * gdb.arch/powerpc-power.s: Likewise.
1310 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1312 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1314 2014-06-01 Yao Qi <yao@codesourcery.com>
1316 * gdb.base/watchpoint.exp (test_watch_location): Check null
1317 pointer can be dereferenced. If not, do the test, otherwise
1320 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1322 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1324 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1326 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1328 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1329 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1330 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1331 * gdb.arch/amd64-invalid-stack-top.c: New file.
1332 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1334 2014-05-30 Pedro Alves <palves@redhat.com>
1336 PR breakpoints/17000
1337 * gdb.base/sss-bp-on-user-bp.c: New file.
1338 * gdb.base/sss-bp-on-user-bp.exp: New file.
1340 2014-05-30 David Blaikie <dblaikie@gmail.com>
1342 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1343 gnu_inline semantics via attribute.
1344 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1345 source explicitly specifies the required semantics.
1347 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1349 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1351 2014-05-29 Pedro Alves <palves@redhat.com>
1352 Tom Tromey <tromey@redhat.com>
1354 * gdb.base/async-shell.exp: Don't enable target-async.
1355 * gdb.base/async.exp
1356 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1358 (top level): Don't test with "target-async".
1359 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1360 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1361 * gdb.base/inferior-died.exp: Don't enable target-async.
1362 * gdb.base/interrupt-noterm.exp: Likewise.
1363 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1364 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1365 * gdb.mi/mi-nonstop.exp: Likewise.
1366 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1367 * gdb.mi/mi-nsintrall.exp: Likewise.
1368 * gdb.mi/mi-nsmoribund.exp: Likewise.
1369 * gdb.mi/mi-nsthrexec.exp: Likewise.
1370 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1371 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1372 * gdb.python/py-evsignal.exp: Don't enable target-async.
1373 * gdb.python/py-evthreads.exp: Likewise.
1374 * gdb.python/py-prompt.exp: Likewise.
1375 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1376 * gdb.server/solib-list.exp: Don't enable target-async.
1377 * gdb.threads/thread-specific-bp.exp: Likewise.
1378 * lib/mi-support.exp: Adjust to use mi-async.
1380 2014-05-29 Pedro Alves <palves@redhat.com>
1383 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1384 reason, even in sync mode.
1386 2014-05-29 Pedro Alves <palves@redhat.com>
1387 Hui Zhu <hui@codesourcery.com>
1390 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1391 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1392 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1393 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1395 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1397 * config/monitor.exp (gdb_target_monitor): Replace use of
1398 "set remotebaud" by "set serial baud".
1400 2014-05-26 Andy Wingo <wingo@igalia.com>
1402 * gdb.guile/scm-breakpoint.exp:
1403 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1404 properties instead of gdb-object-properties.
1406 2014-05-26 Yao Qi <yao@codesourcery.com>
1408 * gdb.server/no-thread-db.exp: Specify source file name
1409 explicitly when setting a breakpoint.
1411 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1413 * gdb.btrace/vdso.c: New.
1414 * gdb.btrace/vdso.exp: New.
1416 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1418 * gdb.base/gcore.exp (capture_command_output): Move ...
1419 * lib/gdb.exp (capture_command_output): ... here.
1421 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1423 * gdb.btrace/data.exp: Test memory access during btrace replay.
1425 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1427 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1429 2014-05-21 Pedro Alves <palves@redhat.com>
1432 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1433 (top level): Test that output related to execution commands is
1434 sent to the console with CLI commands, but not with MI commands.
1435 Test that breakpoint events are always mirrored to the console.
1436 Also expect the new source line to be output after a "next" in
1437 async mode too. Make it a pass/fail test.
1438 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1440 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1442 2014-05-21 Pedro Alves <palves@redhat.com>
1444 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1445 Use them to test variations of "list" after reaching a breakpoint.
1446 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1447 Test "list" with listsize 10 after reaching a breakpoint.
1448 * gdb.python/python.exp (decode_line current location line
1449 number): Adjust expected line number.
1451 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1453 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1454 behavior for $args, pass it directly to "run".
1456 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1458 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1461 2014-05-21 Pedro Alves <palves@redhat.com>
1463 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1464 auto-connect-native-target off".
1465 * gdb.base/auto-connect-native-target.c: New file.
1466 * gdb.base/auto-connect-native-target.exp: New file.
1468 2014-05-21 Pedro Alves <palves@redhat.com>
1470 * gdb.base/default.exp: Test "target native" instead of "target
1473 2014-05-21 Mark Wielaard <mjw@redhat.com>
1475 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1477 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1479 Fix TLS access for -static -pthread.
1480 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1481 <HAVE_TLS> (thread_function, main): Initialize it.
1482 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1484 <$have_tls != "">: Check TLSVAR.
1486 2014-05-21 Pedro Alves <palves@redhat.com>
1488 * gdb.base/dcache-line-read-error.c: New.
1489 * gdb.base/dcache-line-read-error.exp: New.
1491 2014-05-20 Pedro Alves <palves@redhat.com>
1493 * gdb.base/compare-sections.c: New file.
1494 * gdb.base/compare-sections.exp: New file.
1496 2014-05-20 Pedro Alves <palves@redhat.com>
1498 * gdb.base/break-idempotent.c: New file.
1499 * gdb.base/break-idempotent.exp: New file.
1501 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1503 * gdb.btrace/nohist.exp: New.
1505 2014-05-20 Yao Qi <yao@codesourcery.com>
1507 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1508 gdb.reverse directory and gdb_reverse_timeout exists in board
1510 * README: Document gdb_reverse_timeout.
1512 2014-05-20 Yao Qi <yao@codesourcery.com>
1514 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1515 'test_file_name'. Treat args as a string instead of a list.
1516 (gdb_init): Rename argument 'args' by 'test_file_name'.
1518 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1520 * gdb.arch/powerpc-power.exp: New file.
1521 * gdb.arch/powerpc-power.s: New file.
1523 2014-05-16 Doug Evans <dje@google.com>
1525 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
1526 * gdb.base/completion.exp: Check that all expected files exist
1527 before doing file completion.
1529 2014-05-16 Doug Evans <dje@google.com>
1531 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1533 (do_syscall_tests_without_xml): Update.
1535 2014-05-16 Pedro Alves <palves@redhat.com>
1537 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1538 instead of "unknown output after running".
1540 2014-05-16 Yao Qi <yao@codesourcery.com>
1542 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1543 file1.txt from host at the end.
1544 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1546 2014-05-15 Doug Evans <dje@google.com>
1548 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1549 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1550 loading file. Add test for TU lookup.
1552 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1554 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1555 calling "-exec-arguments" or "set args" before running the
1558 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1560 * lib/mi-support.exp (mi_expect_stop): Expect message for
1561 inferiors that exit with non-zero exit code.
1563 2014-05-14 Yao Qi <yao@codesourcery.com>
1565 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1566 match absolute path on remote host.
1567 (test_file_list_exec_source_files): Remove "/" from the
1570 2014-05-14 Yao Qi <yao@codesourcery.com>
1572 * boards/local-remote-host-notty.exp (${board}_file): New
1575 2014-05-07 Kyle McMartin <kyle@redhat.com>
1577 Pushed by Joel Brobecker <brobecker@adacore.com>.
1578 * gdb.arch/aarch64-atomic-inst.c: New file.
1579 * gdb.arch/aarch64-atomic-inst.exp: New file.
1581 2014-05-07 Yao Qi <yao@codesourcery.com>
1583 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1584 in current context" too.
1586 2014-05-05 Keith Seitz <keiths@redhat.com>
1588 * gdb.linespec/ls-dollar.exp: Add test for linespec
1589 file:convenience_variable.
1591 2014-05-05 Yao Qi <yao@codesourcery.com>
1593 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
1594 traceframes into tfile and ctf trace files. Read data from
1595 trace file and test collected data.
1596 (gdb_collect_locals_test): Likewise.
1597 (gdb_unavailable_registers_test): Likewise.
1598 (gdb_unavailable_floats): Likewise.
1599 (gdb_collect_globals_test): Likewise.
1600 (top-level): Append "ctf" to trace_file_targets if GDB
1603 2014-05-05 Yao Qi <yao@codesourcery.com>
1605 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
1607 (gdb_collect_args_test_1): ... it. New proc.
1608 (gdb_collect_locals_test): Move some code to ...
1609 (gdb_collect_locals_test_1): ... it. New proc.
1610 (gdb_unavailable_registers_test): Move some code to ...
1611 (gdb_unavailable_registers_test_1): ... it. New proc.
1612 (gdb_unavailable_floats): Move some code to ...
1613 (gdb_unavailable_floats_1): ... it. New proc.
1615 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1617 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
1618 probes to test for bitness recognition.
1619 * gdb.arch/amd64-stap-optional-prefix.exp
1620 (test_probe_value_without_reg): New procedure.
1621 Add code to test for different kinds of bitness.
1623 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1625 PR breakpoints/16889
1626 * gdb.arch/amd64-stap-optional-prefix.S: New file.
1627 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1629 2014-05-01 Pedro Alves <palves@redhat.com>
1631 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
1632 gdb_file_cmd if no file is specified.
1633 * boards/native-extended-gdbserver.exp (gdb_load): Use the
1634 last_loaded_file to set the remote exec-file.
1636 2014-05-01 Pedro Alves <palves@redhat.com>
1638 * boards/local-remote-host.exp: New file.
1640 2014-05-01 Pedro Alves <palves@redhat.com>
1642 * boards/local-remote-host.exp: Rename to ...
1643 * boards/local-remote-host-notty.exp: ... this.
1645 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1647 * gdb.ada/dyn_arrayidx: New testcase.
1649 2014-04-26 Yao Qi <yao@codesourcery.com>
1651 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
1652 and compute the length of function main. Save it in
1654 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
1655 (top-level): Use gdb_compile to compile objects into
1656 executable and restart GDB. Remove invocation to
1657 prepare_for_testing.
1659 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
1660 Pedro Alves <palves@redhat.com>
1663 * gdb.multi/multi-attach.c: New file.
1664 * gdb.multi/multi-attach.exp: New file.
1666 2014-04-25 Pedro Alves <palves@redhat.com>
1668 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
1670 (top level): Test that "set remote conditional-breakpoints-packet
1671 off" works as intended.
1672 * gdb.base/dprintf.exp: Test that "set remote
1673 breakpoint-commands-packet off" works as intended.
1674 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
1676 (top level): Call it.
1677 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
1678 remote fast-tracepoints-packet off" works as intended.
1679 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
1680 * lib/gdb.exp (gdb_is_target_remote): ... here.
1682 2014-04-24 David Blaikie <dblaikie@gmail.com>
1684 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
1685 ensure clang would not discard them.
1686 * gdb.base/gdbvars.c: Ditto.
1687 * gdb.base/memattr.c: Ditto.
1688 * gdb.base/whatis.c: Ditto.
1689 * gdb.python/py-prettyprint.c: Ditto.
1690 * gdb.trace/actions.c: Ditto.
1691 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
1692 ensure clang would not discard it.
1694 2014-04-24 David Blaikie <dblaikie@gmail.com>
1696 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1697 clang to emit the full definition of type required by the test
1698 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1700 2014-04-24 David Blaikie <dblaikie@gmail.com>
1702 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1703 coax Clang into emitting the definition of the type.
1704 * gdb.cp/pr10728-x.h (y): Ditto.
1705 * gdb.cp/pr10728-y.cc (y): Ditto.
1707 2014-04-24 David Blaikie <dblaikie@gmail.com>
1709 * gdb.base/label.exp: XFAIL label related tests under Clang.
1710 * gdb.cp/cplabel.exp: Ditto.
1711 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
1712 under Clang those using labels.
1714 2014-04-25 Yao Qi <yao@codesourcery.com>
1716 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
1718 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
1719 partial_label and double_label.
1721 2014-04-24 David Blaikie <dblaikie@gmail.com>
1723 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
1725 2014-04-24 David Blaikie <dblaikie@gmail.com>
1727 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
1728 of the function to work across GCC and Clang.
1729 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
1730 pointer types (const void ** const V void **).
1732 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
1733 Walfred Tedeschi <walfred.tedeschi@intel.com>
1735 * Makefile.in (EXECUTABLES): Added i386-avx512.
1736 * gdb.arch/i386-avx512.c: New file.
1737 * gdb.arch/i386-avx512.exp: Likewise.
1739 2014-04-23 Keith Seitz <keiths@redhat.com>
1741 * lib/mi-support.exp (mi_list_breakpoints): Delete.
1742 (mi_make_breakpoint_table): New procedure.
1743 (mi_create_breakpoint): Use mi_make_breakpoint
1744 and return the result.
1745 (mi_make_breakpoint): New procedure.
1746 (mi_build_kv_pairs): New procedure.
1748 * gdb.mi/mi-break.exp: Remove unused globals,
1749 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
1750 All callers updated.
1751 * gdb.mi/mi-dprintf.exp: Use variable to track command
1753 Update all callers of mi_create_breakpoint and use
1754 mi_make_breakpoint_table.
1755 Remove any unused global variables.
1756 * gdb.mi/mi-nonstop.exp: Likewise.
1757 * gdb.mi/mi-nsintrall.exp: Likewise.
1758 * gdb.mi/mi-nsmoribund.exp: Likewise.
1759 * gdb.mi/mi-nsthrexec.exp: Likewise.
1760 * gdb.mi/mi-reverse.exp: Likewise.
1761 * gdb.mi/mi-simplerun.exp: Likewise.
1762 * gdb.mi/mi-stepn.exp: Likewise.
1763 * gdb.mi/mi-syn-frame.exp: Likewise.
1764 * gdb.mi/mi-until.exp: Likewise.
1765 * gdb.mi/mi-var-cp.exp: Likewise.
1766 * gdb.mi/mi-var-display.exp: Likewise.
1767 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1768 * gdb.mi/mi2-var-child.exp: Likewise.
1769 * gdb.mi/mi-vla-c99.exp: Likewise.
1770 * lib/mi-support.exp: Likewise.
1772 From Ian Lance Taylor <iant@cygnus.com>:
1773 * lib/gdb.exp (parse_args): New procedure.
1775 2014-04-23 Pedro Alves <palves@redhat.com>
1777 * gdb.base/break-unload-file.c: New file.
1778 * gdb.base/break-unload-file.exp: New file.
1779 * gdb.base/sym-file-lib.c (baz): New function.
1780 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
1782 (load): Store the segment's mapped size.
1783 (unload): New function.
1784 (unload_shlib): New function.
1785 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
1786 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
1787 set a breakpoint at baz, and call it.
1788 * gdb.base/sym-file.exp: New tests for stale breakpoint
1791 2014-04-23 Pedro Alves <palves@redhat.com>
1793 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
1794 * gdb.base/hbreak-in-shr-unsupported.c: New file.
1795 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
1796 * gdb.base/hbreak-unmapped.c: New file.
1797 * gdb.base/hbreak-unmapped.exp: New file.
1798 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
1799 * lib/gdb.exp (gdb_is_target_remote): ... here.
1801 2014-04-22 Pedro Alves <palves@redhat.com>
1803 * gdb.base/consecutive-step-over.c: New file.
1804 * gdb.base/consecutive-step-over.exp: New file.
1806 2014-04-22 Pedro Alves <palves@redhat.com>
1808 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
1809 instead of send_gdb/gdb_expect.
1811 2014-04-22 Yao Qi <yao@codesourcery.com>
1813 * lib/trace-support.exp (generate_tracefile): New procedure.
1814 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
1816 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
1817 if generate_tracefile returns 1.
1819 2014-04-18 Tom Tromey <palves@redhat.com>
1820 Pedro alves <tromey@redhat.com>
1823 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
1824 with a backtrace limit.
1825 * gdb.python/py-frame-inline.exp: Test running to an inline
1826 function with a backtrace limit, and printing the newest frame.
1827 * gdb.python/py-frame-inline.c (main): Call f.
1829 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1831 * gdb.java/jnpe.exp: Drop srcdir from untested path.
1833 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1835 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
1836 Drop prefix from unsupported source file path.
1838 2014-04-17 Yao Qi <yao@codesourcery.com>
1840 * lib/gdb.exp (with_target_charset): New proc.
1841 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
1842 with_target_charset.
1843 (test_print_strings): Likewise.
1844 (test_repeat_bytes): Likewise.
1845 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
1848 2014-04-16 Keith Seitz <keiths@redhat.com>
1851 * gdb.dwarf2/corrupt.c: New file.
1852 * gdb.dwarf2/corrupt.exp: New file.
1854 2014-04-16 Keith Seitz <keiths@redhat.com>
1857 * gdb.cp/namelessclass.cc: New file.
1858 * gdb.cp/namelessclass.exp: New file.
1859 * gdb.cp/namelessclass.S: New file.
1861 2014-04-16 Doug Evans <dje@google.com>
1863 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
1865 (gdbserver_default_get_comm_port): New function.
1866 (gdbserver_start): Check if board file provided
1867 "gdbserver,get_comm_port" and use it if so.
1868 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
1869 (gdb,socketport): Set to "stdio".
1870 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
1871 (stdio_gdbserver_template): Delete.
1872 (${board}_get_remote_address): Update.
1873 (${board}_build_remote_cmd): Delete.
1874 (${board}_get_comm_port): New function.
1875 (${board}_spawn): Update.
1876 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
1878 (${board}_get_remote_address): Update.
1879 (${board}_get_comm_port): New function.
1881 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
1883 * gdb.base/memattr.exp: Improve regexps to handle memory regions
1884 appearing in any order.
1886 2014-04-15 Doug Evans <dje@google.com>
1888 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
1889 uninitialized value of "description".
1891 2014-04-15 Keith Seitz <keiths@redhat.com>
1893 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
1894 Remove unused globals.
1895 (test_running_the_program): Likewise.
1896 (test_controlled_execution): Likewise.
1897 (test_controlling_breakpoints): Likewise.
1898 (test_program_termination): Likewise.
1900 2014-04-15 Keith Seitz <keiths@redhat.com>
1902 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
1904 (test_rbreak_creation_and_listing): Likewise.
1905 (test_ignore_count): Likewise.
1906 (test_error): Likewise.
1908 2014-04-15 Pedro Alves <palves@redhat.com>
1910 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
1911 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
1913 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1914 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1915 to sym-file-loader.c.
1916 (struct library): Forward declare.
1917 (load_shlib, lookup_function): Change prototypes.
1918 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1919 (translate_offset): Remove declarations.
1920 (get_text_addr): New declaration.
1921 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
1922 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
1924 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1925 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1926 here from sym-file-loader.h.
1927 (struct library): New structure.
1928 (load_shlib, lookup_function): Change prototypes and adjust to
1929 work with a struct library.
1930 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1931 (translate_offset): Make static.
1932 (get_text_addr): New function.
1933 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
1935 2014-04-15 Pedro Alves <palves@redhat.com>
1937 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
1939 2014-04-15 Pedro Alves <palves@redhat.com>
1941 * gdb.base/sym-file-loader.c: Include <limits.h>.
1942 (SELF_LINK): New define.
1943 (get_origin): New function.
1944 (load_shlib): Use it.
1945 * gdb.base/sym-file.exp: Don't early return if the target is
1946 remote. Use runto_main, and issue fail is that fails. Use
1948 (shlib_name): Delete.
1949 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
1951 2014-04-15 Pedro Alves <palves@redhat.com>
1953 * gdb.base/sym-file.exp: Remove regex characters from test
1954 message. Don't refer to breakpoint numbers in test messages.
1956 2014-04-14 Keith Seitz <keiths@redhat.com>
1959 * gdb.cp/var-tag.cc: New file.
1960 * gdb.cp/var-tag.exp: New file.
1961 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1962 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1963 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1964 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1966 2014-04-14 Tom Tromey <tromey@redhat.com>
1968 * gdb.cp/classes.exp (test_enums): Handle underlying type.
1969 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
1971 * gdb.cp/enum-class.exp: New file.
1972 * gdb.cp/enum-class.cc: New file.
1974 2014-04-14 Tom Tromey <tromey@redhat.com>
1976 * gdb.dwarf2/enum-type.exp: New file.
1978 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1980 * gdb.mi/mi-vla-c99.exp: New file.
1981 * gdb.mi/vla.c: New file.
1983 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1985 * gdb.base/vla-datatypes.c: New file.
1986 * gdb.base/vla-datatypes.exp: New file.
1988 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1990 * gdb.base/vla-ptr.c: New file.
1991 * gdb.base/vla-ptr.exp: New file.
1993 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1995 * gdb.dwarf2/count.exp: New file.
1997 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1999 * gdb.base/vla-sideeffect.c: New file.
2000 * gdb.base/vla-sideeffect.exp: New file.
2002 2014-04-14 David Blaikie <dblaikie@gmail.com>
2004 * gdb.mi/non-stop.c: Add return value for non-void function return
2006 * gdb.threads/staticthreads.c: Ditto.
2008 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2009 Doug Evans <xdje42@gmail.com>
2011 * gdb.guile/scm-value.c: Improve test case.
2012 * gdb.guile/scm-value.exp: Add new test.
2014 2014-04-11 David Blaikie <dblaikie@gmail.com>
2016 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2017 override Clang's default.
2019 2014-04-11 Joel Brobecker <brobecker@adacore.com>
2021 Revert the following changes (regressions):
2023 * gdb.base/vla-sideeffect.c: New file.
2024 * gdb.base/vla-sideeffect.exp: New file.
2026 * gdb.dwarf2/count.exp: New file.
2028 * gdb.base/vla-multi.c: New file.
2029 * gdb.base/vla-multi.exp: New file.
2031 * gdb.base/vla-ptr.c: New file.
2032 * gdb.base/vla-ptr.exp: New file.
2034 * gdb.base/vla-datatypes.c: New file.
2035 * gdb.base/vla-datatypes.exp: New file.
2037 * gdb.mi/mi-vla-c99.exp: New file.
2038 * gdb.mi/vla.c: New file.
2040 2014-04-11 Keith Seitz <keiths@redhat.com>
2043 * gdb.cp/cpsizeof.exp: New file.
2044 * gdb.cp/cpsizeof.cc: New file.
2046 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2048 * gdb.mi/mi-vla-c99.exp: New file.
2049 * gdb.mi/vla.c: New file.
2051 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2053 * gdb.base/vla-datatypes.c: New file.
2054 * gdb.base/vla-datatypes.exp: New file.
2056 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2058 * gdb.base/vla-ptr.c: New file.
2059 * gdb.base/vla-ptr.exp: New file.
2061 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2063 * gdb.base/vla-multi.c: New file.
2064 * gdb.base/vla-multi.exp: New file.
2066 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2068 * gdb.dwarf2/count.exp: New file.
2070 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2072 * gdb.base/vla-sideeffect.c: New file.
2073 * gdb.base/vla-sideeffect.exp: New file.
2075 2014-04-11 Yao Qi <yao@codesourcery.com>
2077 * gdb.base/completion.exp: Check file exists before running tests
2080 2014-04-10 Pedro Alves <palves@redhat.com>
2082 * gdb.base/cond-eval-mode.c: New file.
2083 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2084 prepare_for_testing to build the new file. Check result of
2086 (test_break, test_watch): New procedures.
2087 (top level): Use them.
2089 2014-04-08 Pierre Muller <muller@sourceware.org>
2091 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2092 Ctrl-V use for mingw hosts.
2094 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2096 * gdb.python/py-value.c: Improve test case.
2097 * gdb.python/py-value.exp: Add new test.
2099 2014-04-07 David Blaikie <dblaikie@gmail.com>
2101 * lib/compiler.c: Identify the clang compiler.
2102 * lib/compiler.cc: Ditto.
2104 2014-04-03 Yao Qi <yao@codesourcery.com>
2106 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2108 2014-04-01 Anton Blanchard <anton@samba.org>
2110 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2113 2014-04-01 Anton Blanchard <anton@samba.org>
2115 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2116 prepare_for_testing.
2118 2014-04-01 Anton Blanchard <anton@samba.org>
2120 * gdb.arch/ppc64-atomic-inst.c: Remove.
2121 * gdb.arch/ppc64-atomic-inst.S: New file.
2122 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2124 2014-03-31 Doug Evans <dje@google.com>
2126 * gdb.base/print-symbol-loading-lib.c: New file.
2127 * gdb.base/print-symbol-loading-main.c: New file.
2128 * gdb.base/print-symbol-loading.exp: New file.
2130 2014-03-31 Yao Qi <yao@codesourcery.com>
2132 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2134 2014-03-28 Joel Brobecker <brobecker@adacore.com>
2136 * gdb.ada/mi_dyn_arr: New testcase.
2138 2014-03-27 Doug Evans <dje@google.com>
2140 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2142 2014-03-27 Yao Qi <yao@codesourcery.com>
2144 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2145 if target is nios2-*-*.
2147 2014-03-26 Yao Qi <yao@codesourcery.com>
2149 * lib/gdb.exp (readline_is_used): New proc.
2150 * gdb.base/completion.exp: Move tests on command complete up.
2151 Skip the rest of tests if readline is not used.
2152 * gdb.ada/complete.exp: Skp the test if readline is not
2154 * gdb.base/filesym.exp: Likewise.
2155 * gdb.base/macscp.exp: Likewise.
2156 * gdb.base/readline-ask.exp: Likewise.
2157 * gdb.base/readline.exp: Likewise.
2158 * gdb.python/py-cmd.exp: Likewise.
2159 * gdb.trace/tfile.exp: Likewise.
2161 2014-03-26 Yao Qi <yao@codesourcery.com>
2163 * gdb.base/macscp.exp: Fix code format issues.
2165 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2167 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2168 * gdb.asm/powerpc64le.inc: New file.
2170 2014-03-25 Pedro Alves <palves@redhat.com>
2171 Doug Evans <dje@google.com>
2173 * gdb.base/source-execution.c: New file.
2174 * gdb.base/source-execution.exp: New file.
2175 * gdb.base/source-execution.gdb: New file.
2177 2014-03-24 Doug Evans <dje@google.com>
2179 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2182 2014-03-24 Hui Zhu <hui@codesourcery.com>
2183 Pedro Alves <palves@redhat.com>
2185 PR breakpoints/16101
2186 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2187 test pass/fail messages. Detect missing support for dprintf when
2188 breakpoints are actually inserted.
2189 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2190 breakpoints are actually inserted.
2191 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2194 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2196 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2198 2014-03-22 Doug Evans <xdje42@gmail.com>
2200 * gdb.python/python.exp (python not supported): Verify multi-line
2201 python command issues an error.
2202 * gdb.guile/guile.exp (guile not supported): Verify multi-line
2203 guile command issues an error.
2205 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2207 * gdb.threads/thread-specific.exp: Handle the lack of usable
2208 $this_breakpoint and $this_thread.
2210 2014-03-21 Hui Zhu <hui@codesourcery.com>
2212 * gdb.base/attach.exp (do_command_attach_tests): New.
2214 2014-03-20 Tom Tromey <tromey@redhat.com>
2215 Pedro Alves <palves@redhat.com>
2218 * gdb.base/condbreak-call-false.c: New file.
2219 * gdb.base/condbreak-call-false.exp: New file.
2221 2014-03-20 Pedro Alves <palves@redhat.com>
2223 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2225 (block_signals, unblock_signals): Delete.
2226 (child_function_2, main): Remove references to deleted variable
2229 2014-03-20 Pedro Alves <palves@redhat.com>
2231 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2232 Use pthread_kill to signal thread 2.
2233 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2234 Adjust to make the test send itself a signal rather than using the
2235 host's "kill" command.
2237 2014-03-20 Pedro Alves <palves@redhat.com>
2239 * gdb.threads/multiple-step-overs.c: New file.
2240 * gdb.threads/multiple-step-overs.exp: New file.
2241 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2242 Adjust expected infrun debug output.
2244 2014-03-20 Pedro Alves <palves@redhat.com>
2246 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2247 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2249 2014-03-20 Pedro Alves <palves@redhat.com>
2252 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2253 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2254 of gdb_test_multiple.
2255 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2256 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2258 2014-03-20 Pedro Alves <palves@redhat.com>
2260 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2261 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2263 2014-03-19 Pedro Alves <palves@redhat.com>
2265 * gdb.base/async.exp: Remove early return.
2267 2014-03-19 Pedro Alves <palves@redhat.com>
2269 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2271 2014-03-19 Pedro Alves <palves@redhat.com>
2273 * gdb.base/async.exp (test_background): Expect \r\n after
2274 "completed." in the fail pattern.
2276 2014-03-19 Pedro Alves <palves@redhat.com>
2278 * gdb.base/async.exp (test_background): New procedure.
2279 Use it for all background execution command tests.
2281 2014-03-19 Pedro Alves <palves@redhat.com>
2283 * gdb.base/async.exp: Use prepare_for_testing.
2285 2014-03-19 Pedro Alves <palves@redhat.com>
2287 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2290 2014-03-19 Pedro Alves <palves@redhat.com>
2292 * gdb.base/async.c (main): Add "jump here" and "until here" line
2294 * gdb.base/async.exp (jump_here): New global.
2295 (jump& test): Use it.
2296 (until_here): New global.
2297 (until& test): Use it.
2299 2014-03-19 Pedro Alves <palves@redhat.com>
2301 * gdb.base/async.exp: Don't frob gdb_protocol.
2303 2014-03-18 Doug Evans <xdje42@gmail.com>
2305 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2306 Fix spelling of exec-done-display.
2308 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2311 * gdb.base/gdb-sigterm.c: New file.
2312 * gdb.base/gdb-sigterm.exp: New file.
2314 2014-03-18 Pedro Alves <palves@redhat.com>
2317 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2318 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2321 2014-03-17 Joel Brobecker <brobecker@adacore.com>
2323 * gdb.ada/pckd_arr_ren: New testcase.
2325 2014-03-13 Doug Evans <xdje42@gmail.com>
2328 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2329 collect after discarding symbols.
2331 2014-03-13 Ludovic Courtès <ludo@gnu.org>
2332 Doug Evans <xdje42@gmail.com>
2334 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2335 to history survives a gc.
2337 2014-03-13 Pedro Alves <palves@redhat.com>
2339 * gdb.base/default.exp: Don't test "target procfs".
2341 2014-03-13 Pedro Alves <palves@redhat.com>
2343 * gdb.base/default.exp: Update "target child" and "target procfs"
2344 tests to not expect "Unix".
2346 2014-03-12 Tom Tromey <tromey@redhat.com>
2348 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2349 New procs. Add target-async tests.
2350 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2351 Add target-async tests.
2353 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2355 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2356 'func_start' and 'func_end' for the beginning and end of the
2357 function code, respectively.
2358 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2359 'func_end' instead of 'func' and 'main'.
2361 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2363 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2364 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2365 generate the debug info assembler source.
2367 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2369 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2370 * gdb.dwarf2/arr-subrange.exp: Likewise.
2371 * gdb.dwarf2/dwz.exp: Likewise.
2372 * gdb.dwarf2/method-ptr.exp: Likewise.
2373 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2374 * gdb.dwarf2/subrange.exp: Likewise.
2375 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2376 * gdb.dwarf2/implptrpiece.exp: Likewise.
2377 * gdb.dwarf2/nostaticblock.exp: Likewise.
2379 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2381 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2382 directory to absolute path name arguments.
2384 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2386 * gdb.ada/tagged_access: New testcase.
2388 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2390 * gdb.btrace/data.exp: Update expected output.
2392 2014-03-06 Yao Qi <yao@codesourcery.com>
2394 * gdb.trace/pr16508.exp: New file.
2396 2014-03-05 Pedro Alves <palves@redhat.com>
2399 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2401 (top level): Adjust to use it. Add tests that exercise breakpoint
2402 interaction with the code-cache.
2404 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2406 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2407 test for 'history-append!'.
2409 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2411 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2412 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2413 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2414 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2415 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2416 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2418 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2420 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2421 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2422 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2424 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2426 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2428 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2430 * gdb.dwarf2/arr-stride.c: New file.
2431 * gdb.dwarf2/arr-stride.exp: New file.
2433 2014-02-26 Pedro Alves <palves@redhat.com>
2435 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2436 that won't ever trigger. Make sure that GDB reports the correct
2437 breakpoint that caused the stop.
2439 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2442 * gdb.base/auto-load-script: New file.
2443 * gdb.base/auto-load.c: New file.
2444 * gdb.base/auto-load.exp: New file.
2447 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2449 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2451 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2452 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2454 2014-02-24 Doug Evans <dje@google.com>
2456 * lib/gdb.exp (run_on_host): Log error output if program fails.
2458 2014-02-21 Pedro Alves <palves@redhat.com>
2460 * gdb.threads/step-after-sr-lock.c: Rename to ...
2461 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2462 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2463 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2466 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2469 * gdb.arch/amd64-stap-special-operands.exp: New file.
2470 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2471 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2472 * gdb.arch/amd64-stap-triplet.S: Likewise.
2473 * gdb.arch/amd64-stap-triplet.c: Likewise.
2475 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2477 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2478 in .section pseudo-op.
2480 2014-02-20 lin zuojian <manjian2006@gmail.com>
2481 Joel Brobecker <brobecker@adacore.com>
2482 Doug Evans <xdje42@gmail.com>
2485 * gdb.dwarf2/dw2-icycle.S: New file.
2486 * gdb.dwarf2/dw2-icycle.c: New file.
2487 * gdb.dwarf2/dw2-icycle.exp: New file.
2489 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2491 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2492 operations on gdb.Value objects.
2493 * gdb.python/py-value-cc.exp: Add new test to test operations on
2496 2014-02-18 Doug Evans <dje@google.com>
2498 * Makefile.in (TESTS): New variable.
2499 (expanded_tests, expanded_tests_or_none): New variables
2500 (check-single): Pass $(expanded_tests_or_none) to runtest.
2501 (check-parallel): Only run tests in $(TESTS) if non-empty.
2502 (check/no-matching-tests-found): New rule.
2503 * README: Document TESTS makefile variable.
2505 2014-02-18 Doug Evans <dje@google.com>
2507 * Makefile.in (check-parallel): rm -rf outputs temp.
2509 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2511 Fix "ERROR: no fileid for" in the testsuite.
2512 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2514 2014-02-12 Doug Evans <dje@google.com>
2516 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2517 (MISCELLANEOUS): New variable.
2518 (clean): rm -rf $(MISCELLANEOUS).
2519 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2520 dwp live in the same directory as symlinks, with each symlink pointed
2521 to a differently named file in a different directory.
2523 2014-02-11 Doug Evans <dje@google.com>
2525 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2526 of Tcl file commands.
2528 2014-02-10 Mark Kettenis <kettenis@gnu.org>
2530 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2533 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2535 * gdb.ada/tick_length_array_enum_idx: New testcase.
2537 2014-02-10 Doug Evans <xdje42@gmail.com>
2539 * configure.ac (AC_OUTPUT): Add gdb.guile.
2540 * configure: Regenerate.
2541 * lib/gdb-guile.exp: New file.
2542 * lib/gdb.exp (get_target_charset): New function.
2543 * gdb.base/help.exp: Update expected output from "apropos apropos".
2544 * gdb.guile/Makefile.in: New file.
2545 * gdb.guile/guile.exp: New file.
2546 * gdb.guile/scm-arch.c: New file.
2547 * gdb.guile/scm-arch.exp: New file.
2548 * gdb.guile/scm-block.c: New file.
2549 * gdb.guile/scm-block.exp: New file.
2550 * gdb.guile/scm-breakpoint.c: New file.
2551 * gdb.guile/scm-breakpoint.exp: New file.
2552 * gdb.guile/scm-disasm.c: New file.
2553 * gdb.guile/scm-disasm.exp: New file.
2554 * gdb.guile/scm-equal.c: New file.
2555 * gdb.guile/scm-equal.exp: New file.
2556 * gdb.guile/scm-error.exp: New file.
2557 * gdb.guile/scm-error.scm: New file.
2558 * gdb.guile/scm-frame-args.c: New file.
2559 * gdb.guile/scm-frame-args.exp: New file.
2560 * gdb.guile/scm-frame-args.scm: New file.
2561 * gdb.guile/scm-frame-inline.c: New file.
2562 * gdb.guile/scm-frame-inline.exp: New file.
2563 * gdb.guile/scm-frame.c: New file.
2564 * gdb.guile/scm-frame.exp: New file.
2565 * gdb.guile/scm-generics.exp: New file.
2566 * gdb.guile/scm-gsmob.exp: New file.
2567 * gdb.guile/scm-iterator.c: New file.
2568 * gdb.guile/scm-iterator.exp: New file.
2569 * gdb.guile/scm-math.c: New file.
2570 * gdb.guile/scm-math.exp: New file.
2571 * gdb.guile/scm-objfile-script-gdb.in: New file.
2572 * gdb.guile/scm-objfile-script.c: New file.
2573 * gdb.guile/scm-objfile-script.exp: New file.
2574 * gdb.guile/scm-objfile.c: New file.
2575 * gdb.guile/scm-objfile.exp: New file.
2576 * gdb.guile/scm-ports.exp: New file.
2577 * gdb.guile/scm-pretty-print.c: New file.
2578 * gdb.guile/scm-pretty-print.exp: New file.
2579 * gdb.guile/scm-pretty-print.scm: New file.
2580 * gdb.guile/scm-section-script.c: New file.
2581 * gdb.guile/scm-section-script.exp: New file.
2582 * gdb.guile/scm-section-script.scm: New file.
2583 * gdb.guile/scm-symbol.c: New file.
2584 * gdb.guile/scm-symbol.exp: New file.
2585 * gdb.guile/scm-symtab-2.c: New file.
2586 * gdb.guile/scm-symtab.c: New file.
2587 * gdb.guile/scm-symtab.exp: New file.
2588 * gdb.guile/scm-type.c: New file.
2589 * gdb.guile/scm-type.exp: New file.
2590 * gdb.guile/scm-value-cc.cc: New file.
2591 * gdb.guile/scm-value-cc.exp: New file.
2592 * gdb.guile/scm-value.c: New file.
2593 * gdb.guile/scm-value.exp: New file.
2594 * gdb.guile/source2.scm: New file.
2595 * gdb.guile/types-module.cc: New file.
2596 * gdb.guile/types-module.exp: New file.
2598 2014-02-10 Yao Qi <yao@codesourcery.com>
2601 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
2602 * configure: Regenerated.
2603 * Makefile.in: New file.
2605 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2607 * gdb.python/py-framefilter.exp: Fix typo.
2609 2014-02-08 Yao Qi <yao@codesourcery.com>
2611 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
2612 that no =breakpoint-modified is emitted when breakpoints are
2613 modified through MI commands.
2615 2014-02-07 Pedro Alves <pedro@codesourcery.com>
2616 Pedro Alves <palves@redhat.com>
2618 * gdb.threads/step-after-sr-lock.c: New file.
2619 * gdb.threads/step-after-sr-lock.exp: New file.
2621 2014-02-07 Pedro Alves <palves@redhat.com>
2623 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
2625 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2627 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
2628 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
2630 2014-02-06 Doug Evans <xdje42@gmail.com>
2632 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
2635 * gdb.gdb/python-interrupts.exp: New file.
2637 2014-02-05 Yao Qi <yao@codesourcery.com>
2639 * gdb.trace/report.exp (use_collected_data): Test the output
2640 of "info threads" and "info inferiors".
2642 2014-02-05 Yao Qi <yao@codesourcery.com>
2646 2013-05-24 Yao Qi <yao@codesourcery.com>
2648 * gdb.trace/tfile.exp: Test inferior and thread.
2650 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2652 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
2654 * gdb.base/step-bt.c: Call hello via function pointer to make
2655 sure its first instruction is executed on powerpc64le-linux.
2657 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2659 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
2661 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2663 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
2664 of the test patterns for use on little-endian systems.
2666 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2668 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
2669 (decimal_vector): Fix for little-endian.
2671 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2673 * gdb.arch/sparc-sysstep.exp: New file.
2674 * gdb.arch/sparc-sysstep.c: Likewise.
2676 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
2678 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2680 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2682 2014-01-23 Tom Tromey <tromey@redhat.com>
2684 * gdb.ada/array_char_idx: New testcase.
2686 2014-01-23 Tom Tromey <tromey@redhat.com>
2689 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
2690 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2693 2014-01-23 Tom Tromey <tromey@redhat.com>
2696 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2697 string from an inferior frame.
2698 * gdb.python/py-framefilter-mi.exp: Update.
2700 2014-01-22 Doug Evans <dje@google.com>
2702 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2704 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2706 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2708 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2710 * gdb.trace/entry-values.exp: Remove excess space character from
2711 regex patterns. Handle s390 call instruction.
2713 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2715 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
2716 define "*_start" label. Make "name" static.
2717 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
2718 ${name} by references to ${name}_start.
2720 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2722 * gdb.base/info-macros.exp: Remove "debug" from the compile
2725 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2727 * gdb.dlang/demangle.exp: New file.
2729 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2731 * gdb.dlang/primitive-types.exp: New file.
2733 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2735 * configure.ac: Create gdb.dlang/Makefile.
2736 * configure: Regenerate.
2737 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
2738 * gdb.dlang/Makefile.in: New file.
2739 * lib/d-support.exp: New file.
2740 * lib/gdb.exp (skip_d_tests): New proc.
2742 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2744 * gdb.btrace/delta.exp: Check reverse stepi.
2745 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
2746 * gdb.btrace/finish.exp: New.
2747 * gdb.btrace/next.exp: New.
2748 * gdb.btrace/nexti.exp: New.
2749 * gdb.btrace/record_goto.c: Add comments.
2750 * gdb.btrace/step.exp: New.
2751 * gdb.btrace/stepi.exp: New.
2752 * gdb.btrace/multi-thread-step.c: New.
2753 * gdb.btrace/multi-thread-step.exp: New.
2754 * gdb.btrace/rn-dl-bind.c: New.
2755 * gdb.btrace/rn-dl-bind.exp: New.
2756 * gdb.btrace/data.c: New.
2757 * gdb.btrace/data.exp: New.
2758 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2760 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2762 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
2763 * gdb.btrace/exception.exp: Update.
2764 * gdb.btrace/instruction_history.exp: Update.
2765 * gdb.btrace/record_goto.exp: Update.
2766 * gdb.btrace/tailcall.exp: Update.
2767 * gdb.btrace/unknown_functions.exp: Update.
2768 * gdb.btrace/delta.exp: New.
2770 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2772 * gdb.btrace/record_goto.exp: Add backtrace test.
2773 * gdb.btrace/tailcall.exp: Add backtrace test.
2775 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2777 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
2778 * gdb.btrace/record_goto.c: New.
2779 * gdb.btrace/record_goto.exp: New.
2780 * gdb.btrace/x86-record_goto.S: New.
2782 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2784 * gdb.btrace/function_call_history.exp: Update tests.
2785 * gdb.btrace/instruction_history.exp: Update tests.
2787 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2789 * gdb.btrace/function_call_history.exp: Fix expected field
2790 order for "record function-call-history".
2791 Add new tests for "record function-call-history /c".
2792 * gdb.btrace/exception.cc: New.
2793 * gdb.btrace/exception.exp: New.
2794 * gdb.btrace/tailcall.exp: New.
2795 * gdb.btrace/x86-tailcall.S: New.
2796 * gdb.btrace/x86-tailcall.c: New.
2797 * gdb.btrace/unknown_functions.c: New.
2798 * gdb.btrace/unknown_functions.exp: New.
2799 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2801 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2803 * gdb.btrace/instruction_history.exp: Update.
2804 * gdb.btrace/function_call_history.exp: Update.
2806 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2808 * gdb.btrace/function_call_history.exp: Fix expected function
2810 * gdb.btrace/instruction_history.exp: Initialize traced.
2811 Remove traced_functions.
2813 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2815 * gdb.btrace/function_call_history.exp: Update
2816 * gdb.btrace/instruction_history.exp: Update.
2818 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2820 * gdb.btrace/enable.exp: Update expected text.
2822 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
2824 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
2827 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
2829 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
2831 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2833 * lib/gdb.exp (supports_process_record): Return true for
2834 arm*-linux*. (supports_reverse): Likewise.
2836 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
2840 * gdb.python/py-type.c: Enhance test case.
2841 * gdb.python/py-value-cc.cc: Likewise
2842 * gdb.python/py-type.exp: Add new tests.
2843 * gdb.python/py-value-cc.exp: Likewise
2845 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2846 Pedro Alves <palves@redhat.com>
2848 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
2850 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
2851 references to ${name}_start by references to ${name}.
2853 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2855 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
2857 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2859 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
2861 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
2862 Pedro Alves <palves@redhat.com>
2864 * gdb.mi/mi-info-os.exp: Connect to the target with
2867 2014-01-08 Pedro Alves <palves@redhat.com>
2869 * gdb.threads/reconnect-signal.c: New file.
2870 * gdb.threads/reconnect-signal.exp: New file.
2872 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2874 * gdb.base/source-dir.exp: New file.
2876 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2878 * gdb.ada/mi_interface: New testcase.
2880 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2882 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
2883 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
2884 gdb.ada/pp-rec-component/pck.ads: New files.
2886 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2888 * gdb.python/py-pp-integral.c: New file.
2889 * gdb.python/py-pp-integral.py: New file.
2890 * gdb.python/py-pp-integral.exp: New file.
2892 For older changes see ChangeLog-1993-2013.
2898 ;; version-control: never
2901 Copyright 2014 Free Software Foundation, Inc.
2902 Copying and distribution of this file, with or without modification,
2903 are permitted provided the copyright notice and this notice are preserved.