1 2014-10-24 Don Breazeal <donb@codesourcery.com>
3 * gdb.base/foll-fork.exp (test_follow_fork,
4 catch_fork_child_follow): Check for updated fork messages emitted
6 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
7 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
8 vfork_and_exec_child_follow_through_step): Check for updated vfork
9 messages emitted from infrun.c.
11 2014-10-24 Pedro Alves <palves@redhat.com>
13 * gdb.base/corefile.exp: Remove references to ultrix.
14 * gdb.base/interrupt.exp: Likewise.
15 * gdb.base/whatis.exp: Likewise.
16 * gdb.gdb/selftest.exp: Likewise.
17 * gdb.threads/manythreads.exp: Likewise.
18 * gdb.threads/print-threads.exp: Likewise.
19 * gdb.threads/pthreads.exp:: Likewise.
20 * gdb.threads/schedlock.exp: Likewise.
22 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
24 * gdb.cp/non-trivial-retval.cc: Add a test case.
25 * gdb.cp/non-trivial-retval.exp: Add a test.
27 2014-10-20 Yao Qi <yao@codesourcery.com>
29 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
30 * gdb.python/py-objfile-script-gdb.py: New file.
31 * gdb.python/py-objfile-script.exp: Update reference to
32 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
33 of remote_download. Remove the dest file.
35 2014-10-20 Yao Qi <yao@codesourcery.com>
37 * gdb.base/checkpoint.exp: Don't remove file copied on host.
38 * gdb.base/step-line.exp: Likewise.
39 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
40 * gdb.dwarf2/dw2-basic.exp: Likewise.
41 * gdb.dwarf2/dw2-compressed.exp: Likewise.
42 * gdb.dwarf2/dw2-filename.exp: Likewise.
43 * gdb.dwarf2/dw2-intercu.exp: Likewise.
44 * gdb.dwarf2/dw2-intermix.exp: Likewise.
45 * gdb.dwarf2/dw2-producer.exp: Likewise.
46 * gdb.dwarf2/mac-fileno.exp: Likewise.
47 * gdb.python/py-frame-args.exp: Likewise.
48 * gdb.python/py-framefilter.exp: Likewise.
49 * gdb.python/py-mi.exp: Likewise.
50 * gdb.python/py-objfile-script.exp: Likewise
51 * gdb.python/py-pp-integral.exp: Likewise.
52 * gdb.python/py-pp-re-notag.exp: Likewise.
53 * gdb.python/py-prettyprint.exp: Likewise.
54 * gdb.python/py-section-script.exp: Likewise.
55 * gdb.python/py-typeprint.exp: Likewise.
56 * gdb.python/py-xmethods.exp: Likewise.
57 * gdb.stabs/weird.exp: Likewise.
58 * gdb.xml/tdesc-regs.exp: Likewise.
60 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
62 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
63 (out_cu): Use addr_len for the size of addresses.
64 (out_line): Likewise. Size DW_LNE_set_address instruction
65 according to addr_len.
66 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
67 (FUNC): Add START_INSNS to definition.
69 2014-10-18 Yao Qi <yao@codesourcery.com>
71 * gdb.base/argv0-symlink.exp: Check argv[0] value if
72 gdb_has_argv0 return true.
73 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
74 check [target_info exists noargs], check [gdb_has_argv0]
76 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
77 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
80 2014-10-17 Doug Evans <dje@google.com>
82 * gdb.python/py-events.exp: Update expected output for clear_objfiles
84 * gdb.python/py-events.py: Add clear_objfiles event.
86 2014-10-17 Doug Evans <dje@google.com>
88 * gdb.python/py-objfile.exp: Test progspace attribute.
90 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
92 * gdb.guile/scm-breakpoint.exp: Do not assume any
93 directory separators when matching source file paths.
94 * gdb.python/py-breakpoint.exp: Likewise.
95 * gdb.reverse/break-precsave.exp: Likewise.
96 * gdb.reverse/break-reverse.exp: Likewise.
97 * gdb.reverse/consecutive-precsave.exp: Likewise.
98 * gdb.reverse/finish-precsave.exp: Likewise.
99 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
100 * gdb.reverse/finish-reverse.exp: Likewise.
101 * gdb.reverse/i386-precsave.exp: Likewise.
102 * gdb.reverse/i387-env-reverse.exp: Likewise.
103 * gdb.reverse/i387-stack-reverse.exp: Likewise.
104 * gdb.reverse/machinestate-precsave.exp: Likewise.
105 * gdb.reverse/machinestate.exp: Likewise.
106 * gdb.reverse/sigall-precsave.exp: Likewise.
107 * gdb.reverse/solib-precsave.exp: Likewise.
108 * gdb.reverse/step-precsave.exp: Likewise.
109 * gdb.reverse/until-precsave.exp: Likewise.
110 * gdb.reverse/watch-precsave.exp: Likewise.
111 * gdb.reverse/watch-reverse.exp: Likewise.
113 2014-10-17 Yao Qi <yao@codesourcery.com>
115 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
116 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
118 2014-10-17 Pedro Alves <palves@redhat.com>
121 * gdb.base/bg-execution-repeat.c: New file.
122 * gdb.base/bg-execution-repeat.exp: New file.
124 2014-10-17 Pedro Alves <palves@redhat.com>
127 * gdb.base/continue-all-already-running.c: New file.
128 * gdb.base/continue-all-already-running.exp: New file.
130 2014-10-17 Pedro Alves <palves@redhat.com>
133 * gdb.base/annota-input-while-running.c: New file.
134 * gdb.base/annota-input-while-running.exp: New file.
136 2014-10-17 Pedro Alves <palves@redhat.com>
138 * gdb.base/callfuncs.exp: emove references to osf.
139 * gdb.base/sigall.exp: Likewise.
140 * gdb.gdb/selftest.exp: Likewise.
141 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
142 * gdb.mi/non-stop.c: Likewise.
143 * gdb.mi/pthreads.c: Likewise.
144 * gdb.reverse/sigall-precsave.exp: Likewise.
145 * gdb.reverse/sigall-reverse.exp: Likewise.
146 * gdb.threads/pthreads.c: Likewise.
147 * gdb.threads/pthreads.exp: Likewise.
149 2014-10-17 Yao Qi <yao@codesourcery.com>
151 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
152 check 'target_info exists noargs'.
153 (test_command_prompt_position): Likewise.
154 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
156 (progvar_simple_while_test): Likewise.
157 (progvar_complex_if_while_test): Likewise.
158 (if_while_breakpoint_command_test): Likewise.
159 (infrun_breakpoint_command_test): Likewise.
160 (breakpoint_command_test): Likewise.
161 (watchpoint_command_test): Likewise.
162 (bp_deleted_in_command_test): Likewise.
163 (temporary_breakpoint_commands): Likewise.
165 2014-10-16 Yao Qi <yao@codesourcery.com>
167 * gdb.base/remotetimeout.exp: Remove noargs checking.
169 2014-10-15 Pedro Alves <palves@redhat.com>
172 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
173 * gdb.base/breakpoint-in-ro-region.exp
174 (probe_target_hardware_step): New procedure.
175 (top level): Probe hardware stepping and hardware breakpoint
176 support. Test stepping through a read-only region, with both
177 "breakpoint auto-hw" on and off and both "always-inserted" on and
180 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
182 * gdb.dlang/demangle.exp: Update for demangling changes.
184 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
186 * gdb.cp/non-trivial-retval.cc: Add new test cases.
187 * gdb.cp/non-trivial-retval.exp: Add new tests.
189 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
193 * gdb.cp/non-trivial-retval.cc: New file.
194 * gdb.cp/non-trivial-retval.exp: New file.
196 2014-10-15 Yao Qi <yao@codesourcery.com>
198 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
201 2014-10-15 Yao Qi <yao@codesourcery.com>
203 * gdb.python/py-symbol.exp: Match file base name if host is
204 remote, otherwise match file name with dir name.
205 * gdb.python/py-symtab.exp: Likewise.
206 * gdb.python/python.exp: Likewise.
208 2014-10-15 Yao Qi <yao@codesourcery.com>
210 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
212 * gdb.python/py-symtab.exp: Likewise.
213 * gdb.python/python.exp: Remove trailing ".*". Fix typo
216 2014-10-14 Joel Brobecker <brobecker@adacore.com>
218 * gdb.ada/addr_arith: New testcase.
220 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
222 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
223 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
224 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
225 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
227 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
229 * gdb.arch/stap-eval-lang-ada.S: Likewise.
230 * gdb.arch/stap-eval-lang-ada.c: Likewise.
231 * gdb.arch/stap-eval-lang-ada.exp: New file.
233 2014-10-14 Yao Qi <yao@codesourcery.com>
235 * gdb.mi/mi-var-child.c (nothing1): New function.
236 (nothing2): New function.
237 (do_children_tests): Set function pointers by nothing1 and
239 * gdb.mi/mi-var-child.exp: Step over new added statements.
240 Update test to match the new output.
241 * gdb.mi/var-cmd.c (nothing1): New function.
242 (nothing2): New function.
243 (do_children_tests): Set function pointers by nothing1 and
245 * gdb.mi/mi-var-display.exp: Update test to match output.
246 Step to the line specified by $line_dct_nothing.
247 Increase the number of lines to step.
249 2014-10-14 Yao Qi <yao@codesourcery.com>
251 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
253 * gdb.mi/mi2-var-child.exp: Likewise.
255 2014-10-13 Doug Evans <dje@google.com>
257 * gdb.python/py-objfile.exp: Change name of file name test.
259 2014-10-13 Doug Evans <dje@google.com>
261 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
262 from the start of the CU.
264 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
265 Yao Qi <yao@codesourcery.com>
267 Fix "save breakpoints" for "catch" command.
268 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
269 Remove -nonewline. Match also the added "main" line.
271 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
273 Fix "save breakpoints" for "disable $bpnum" command.
274 * gdb.base/save-bp.c (main): Add label.
275 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
277 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
279 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
281 2014-10-11 Yao Qi <yao@codesourcery.com>
283 * gdb.server/server-kill.exp: Execute command
284 "set remote trace-status-packet on" before "tstatus".
286 2014-10-11 Yao Qi <yao@codesourcery.com>
288 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
289 (main): Call getppid.
290 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
291 and continue to it. Read variable "server_pid".
293 2014-10-11 Yao Qi <yao@codesourcery.com>
295 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
297 2014-10-11 Yao Qi <yao@codesourcery.com>
299 * gdb.threads/thread-find.exp: Don't execute command
301 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
302 * gdb.threads/linux-dp.exp: Don't check the condition
303 $threads_created equals to zero.
305 2014-10-10 Pedro Alves <palves@redhat.com>
307 * gdb.base/bigcore.exp: Remove references to IRIX.
308 * gdb.base/funcargs.exp: Likewise.
309 * gdb.base/interrupt.exp: Likewise.
310 * gdb.base/mips_pro.exp: Likewise.
311 * gdb.base/nodebug.exp: Likewise.
312 * gdb.base/setvar.exp: Likewise.
313 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
315 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
316 Pedro Alves <palves@redhat.com>
319 * gdb.base/vdso-warning.c: New file.
320 * gdb.base/vdso-warning.exp: New file.
322 2014-10-02 Doug Evans <dje@google.com>
324 * gdb.base/structs.c (main): Don't run forever.
326 2014-10-02 Pedro Alves <palves@redhat.com>
328 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
329 (top level) <stop threads 1, stop threads 2>: Use it.
331 2014-10-02 Pedro Alves <palves@redhat.com>
333 * gdb.threads/break-while-running.exp (test): Add new
334 'update_thread_list' argument. Skip "info threads" if false.
335 (top level): Add new 'update_thread_list' axis.
337 2014-10-02 Pedro Alves <palves@redhat.com>
340 * gdb.base/execl-update-breakpoints.c: New file.
341 * gdb.base/execl-update-breakpoints.exp: New file.
343 2014-10-01 Pedro Alves <palves@redhat.com>
345 * gdb.base/breakpoint-in-ro-region.c: New file.
346 * gdb.base/breakpoint-in-ro-region.exp: New file.
348 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
350 * gdb.mi/mi-exit-code.exp: New file.
351 * gdb.mi/mi-exit-code.c: New file.
353 2014-09-30 Yao Qi <yao@codesourcery.com>
355 * lib/prelink-support.exp (build_executable_own_libs): Error if
356 the target isn't native.
358 2014-09-30 Yao Qi <yao@codesourcery.com>
360 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
363 2014-09-22 Pedro Alves <palves@redhat.com>
365 * gdb.threads/break-while-running.exp: New file.
366 * gdb.threads/break-while-running.c: New file.
368 2014-09-19 Yao Qi <yao@codesourcery.com>
370 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
371 Invoke test. Restart GDB with --readnow and invoke test again.
373 2014-09-19 Yao Qi <yao@codesourcery.com>
375 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
376 proc set_breakpoint_on_gcd_function. Invoke
377 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
378 invoke set_breakpoint_on_gcd_function again.
380 2014-09-18 Doug Evans <dje@google.com>
382 * gdb.dwarf2/symtab-producer.exp: New file.
384 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
386 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
387 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
388 * gdb.base/global-var-nested-by-dso.c: Likewise.
389 * gdb.base/global-var-nested-by-dso.exp: Likewise.
391 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
392 Pedro Alves <palves@redhat.com>
394 * gdb.base/watch-bitfields.exp: Pass string other than test file
395 name to prepare_for_testing.
396 (watch): New procedure.
397 (expect_watchpoint): Use with_test_prefix.
398 (top level): Factor out tests to ...
399 (test_watch_location, test_regular_watch): ... these new
400 procedures, and use with_test_prefix and gdb_continue_to_end.
402 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
405 * gdb.base/watch-bitfields.exp: New file.
406 * gdb.base/watch-bitfields.c: New file.
408 2014-09-16 Pedro Alves <palves@redhat.com>
410 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
411 software and hardware addresses, not software address against
414 2014-09-16 Pedro Alves <palves@redhat.com>
416 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
417 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
419 2014-09-16 Pedro Alves <palves@redhat.com>
421 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
423 * gdb.base/a2-run.exp: Remove all code guarded by istarget
424 "*-*-vxworks*" throughout.
425 * gdb.base/break.exp: Likewise.
426 * gdb.base/default.exp: Likewise.
427 * gdb.base/scope.exp: Likewise.
428 * gdb.base/sepdebug.exp: Likewise.
429 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
431 * gdb.base/run.c: Likewise.
432 * gdb.base/sepdebug.c: Likewise.
433 * gdb.hp/gdb.aCC/run.c: Likewise.
434 * gdb.reverse/until-reverse.c: Likewise.
435 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
437 2014-09-16 Yao Qi <yao@codesourcery.com>
439 * boards/local-remote-host-native.exp: New file.
441 2014-09-14 Doug Evans <xdje42@gmail.com>
443 * gdb.threads/queue-signal.c (thread_count): New variable.
444 (thread_count_mutex, thread_count_condvar): New variables.
445 (incr_thread_count, wait_all_threads_running): New functions.
446 (main): Wait for all threads to be in their thread functions.
448 2014-09-13 Doug Evans <xdje42@gmail.com>
450 * gdb.threads/queue-signal.c: New file.
451 * gdb.threads/queue-signal.exp: New file.
453 2014-09-13 Doug Evans <xdje42@gmail.com>
455 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
456 be consistent with what default_gdb_init uses.
457 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
458 the plain text of the prompt. Add some logging printfs.
459 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
461 2014-09-12 Pedro Alves <palves@redhat.com>
463 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
464 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
465 * gdb.arch/i386-size-overlap.exp: Likewise.
466 * gdb.arch/i386-size.exp: Likewise.
467 * gdb.arch/i386-unwind.exp: Likewise.
468 * gdb.base/a2-run.exp: Likewise.
469 * gdb.base/break.exp: Likewise.
470 * gdb.base/charset.exp: Likewise.
471 * gdb.base/chng-syms.exp: Likewise.
472 * gdb.base/commands.exp: Likewise.
473 * gdb.base/dbx.exp: Likewise.
474 * gdb.base/find.exp: Likewise.
475 * gdb.base/funcargs.exp: Likewise.
476 * gdb.base/jit-simple.exp: Likewise.
477 * gdb.base/reread.exp: Likewise.
478 * gdb.base/sepdebug.exp: Likewise.
479 * gdb.base/step-bt.exp: Likewise.
480 * gdb.cp/mb-inline.exp: Likewise.
481 * gdb.cp/mb-templates.exp: Likewise.
482 * gdb.objc/basicclass.exp: Likewise.
483 * gdb.threads/killed.exp: Likewise.
485 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
488 * gdb.arch/powerpc-stackless.S: New file.
489 * gdb.arch/powerpc-stackless.exp: New file.
491 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
493 * gdb.base/attach.c: Include unistd.h.
494 (main): Call alarm. Add label postloop.
495 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
496 gdb_breakpoint, gdb_continue_to_breakpoint.
497 (test_command_line_attach_run): Kill ${testpid} in one exit path.
499 2014-09-11 Pedro Alves <palves@redhat.com>
502 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
503 * gdb.base/attach.exp (test_command_line_attach_run): New
505 (top level): Call it.
507 2014-09-11 Pedro Alves <palves@redhat.com>
509 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
510 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
511 (do_command_attach_tests): Use spawn_wait_for_attach.
512 * gdb.base/solib-overlap.exp: Likewise.
513 * gdb.multi/multi-attach.exp: Likewise.
514 * gdb.python/py-prompt.exp: Likewise.
515 * gdb.python/py-sync-interp.exp: Likewise.
516 * gdb.server/ext-attach.exp: Likewise.
518 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
520 * gdb.fortran/array-element.exp: Remove unexpected "continue"
521 command in testcase. Simplify testcase.
523 2014-09-10 Joel Brobecker <brobecker@adacore.com>
525 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
527 2014-09-10 Joel Brobecker <brobecker@adacore.com>
529 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
531 2014-09-10 Joel Brobecker <brobecker@adacore.com>
533 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
535 2014-09-10 Joel Brobecker <brobecker@adacore.com>
537 * gdb.dwarf2/dynarr-ptr.c: New file.
538 * gdb.dwarf2/dynarr-ptr.exp: New file.
540 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
542 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
543 of 30 rather than hardcoding 120 for a slow test case. Take the
544 `gdb,timeout' target setting into account for this calculation.
545 Don't extend the timeout for the test cases that don't need it.
547 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
549 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
550 a factor of 2 for a slow test case. Take the `gdb,timeout'
551 target setting into account for this calculation.
552 * gdb.reverse/until-precsave.exp: Increase the timeout by
553 a factor of 15 and 3 respectively rather than adding 120
554 for a pair of slow test cases. Take the `gdb,timeout'
555 target setting into account for this calculation.
557 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
559 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
560 timeout, don't pass one down to gdb_expect.
561 (gdb_expect): Rework timeout selection.
563 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
565 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
566 exception on timeout.
567 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
568 (gdbserver_start_extended): Catch any `gdbserver_start' error
570 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
571 * lib/mi-support.exp (mi_gdb_target_load): Catch any
572 `gdbserver_gdb_load' error exceptions.
574 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
576 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
577 120 on waiting for the TCP socket to open.
579 2014-09-09 Doug Evans <xdje42@gmail.com>
581 * gdb.base/default.exp (show_conv_list): Add _caller_is,
582 _caller_matches, _any_caller_is, _any_caller_matches.
584 2014-09-09 Doug Evans <xdje42@gmail.com>
586 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
588 2014-09-09 Yao Qi <yao@codesourcery.com>
590 * gdb.mi/mi-var-display.exp: Set print symbol off.
592 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
595 * gdb.base/commands.exp: Add tests to verify user-defined
596 commands with empty bodies.
597 * gdb.python/py-cmd.exp: Test that we don't show user-defined
598 python commands in `show user command`.
599 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
600 scheme commands in `show user command`.
602 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
605 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
606 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
607 * gdb.python/py-framefilter-invalidarg.exp: New file.
608 * gdb.python/py-framefilter-invalidarg.py: New file.
610 2014-09-06 Doug Evans <xdje42@gmail.com>
613 * gdb.python/py-caller-is.c: New file.
614 * gdb.python/py-caller-is.exp: New file.
616 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
619 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
620 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
622 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
625 * gdb.fortran/print-formatted.exp: New file.
626 * gdb.fortran/print-formatted.f90: Likewise.
628 2014-09-03 Sasha Smundak <asmundak@google.com>
630 * gdb.python/py-frame.exp: Test Frame.read_register.
632 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
635 * gdb.python/py-completion.exp: New file.
636 * gdb.python/py-completion.py: Likewise.
638 2014-08-28 Doug Evans <dje@google.com>
640 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
641 eax,etc. are live with values set by gdb and thus the compiler can't
643 * gdb.arch/i386-pseudo.c (main): Ditto.
645 2014-08-27 Doug Evans <dje@google.com>
647 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
649 2014-08-25 Doug Evans <dje@google.com>
651 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
654 2014-08-25 Doug Evans <dje@google.com>
656 * gdb.threads/thread-execl.exp: #include <stdio.h>.
658 2014-08-24 Yao Qi <yao@codesourcery.com>
660 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
662 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
664 2014-08-22 Doug Evans <dje@google.com>
667 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
668 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
669 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
671 2014-08-22 Yao Qi <yao@codesourcery.com>
673 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
674 * gdb.python/py-finish-breakpoint2.exp: Likewise.
675 * gdb.python/python.exp: Likewise. Use .py file on the host
676 instead of the build.
678 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
680 * gdb.threads/gcore-stale-thread.c: New file.
681 * gdb.threads/gcore-stale-thread.exp: New file.
683 2014-08-21 Pedro Alves <palves@redhat.com>
685 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
686 * gdb.base/gcore-relro-pie.exp: Likewise.
687 * gdb.base/gcore-relro.exp: Likewise.
688 * gdb.base/gcore.exp: Likewise.
689 * gdb.base/print-symbol-loading.exp: Likewise.
690 * gdb.threads/gcore-thread.exp: Likewise.
691 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
693 2014-08-20 Pedro Alves <palves@redhat.com>
694 Jan Kratochvil <jan.kratochvil@redhat.com>
696 * Makefile.in (EXTRA_RULES, CC): New variables, get from
698 (EXPECT): Handle READ1 being set.
699 (all): Depend on EXTRA_RULES.
700 (check-read1, expect-read1, read1.so, read1): New rules.
701 * README (Testsuite Parameters): Document the READ1 make variable.
702 (Race detection): New section.
703 * configure: Regenerate.
704 * configure.ac: If build==host==target, and running under a
705 GNU/glibc system, add read1 to the extra Makefile rules.
706 (EXTRA_RULES): AC_SUBST it.
707 * lib/read1.c: New file.
709 2014-08-20 Joel Brobecker <brobecker@adacore.com>
711 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
712 the handling of variables declared as a typedef to an array
713 which a DW_AT_data_location attribute.
715 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
716 Pedro Alves <palves@redhat.com>
720 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
723 2014-08-19 Pedro Alves <palves@redhat.com>
725 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
727 2014-08-19 Yao Qi <yao@codesourcery.com>
729 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
732 2014-08-18 David Blaikie <dblaikie@gmail.com>
734 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
736 2014-08-18 Joel Brobecker <brobecker@adacore.com>
738 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
739 attribute in array range.
741 2014-08-18 Joel Brobecker <brobecker@adacore.com>
743 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
745 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
748 * gdb.cp/pr17132.cc: New file.
749 * gdb.cp/pr17132.exp: New file.
751 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
753 * gdb.python/py-xmethods.py (A_getarrayind)
754 (E_method_char_worker.__call__, E_method_int_worker.__call__):
755 Use 'print' with function call syntax.
756 (E_method_matcher.match): Fix tab vs space indentation mixup.
758 2014-08-15 Yao Qi <yao@codesourcery.com>
760 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
763 2014-08-15 Yao Qi <yao@codesourcery.com>
765 * gdb.cp/casts.exp: Set print symbol off.
766 * gdb.cp/class2.exp: Likewise.
767 * gdb.cp/overload.exp: Likewise.
768 * gdb.cp/templates.exp: Likewise.
770 2014-08-11 Doug Evans <dje@google.com>
772 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
773 (test_load_shlib): Update.
775 2014-08-09 Yao Qi <yao@codesourcery.com>
777 * gdb.base/display.exp: Invoke is_address_zero_readable.
778 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
779 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
780 * gdb.base/hbreak-unmapped.exp: Return if
781 is_address_zero_readable returns true.
782 * gdb.base/signest.exp: Likewise.
783 * gdb.base/signull.exp: Likewise.
784 * gdb.base/sigbpt.exp: Likewise.
785 * gdb.guile/scm-disasm.exp: Do the test if
786 is_address_zero_readable returns false.
787 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
788 * gdb.python/py-arch.exp: Likewise.
789 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
790 * lib/gdb.exp (is_address_zero_readable): New proc.
792 2014-08-09 Yao Qi <yao@codesourcery.com>
795 * gdb.mi/mi-var-display.exp: Make test messages unique.
797 2014-08-04 Tom Tromey <tromey@redhat.com>
799 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
802 2014-08-04 Tom Tromey <tromey@redhat.com>
804 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
807 2014-08-01 Joel Brobecker <brobecker@adacore.com>
809 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
810 inner_vla_struct_object_size.
811 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
814 2014-07-30 Pedro Alves <palves@redhat.com>
816 * gdb.threads/signal-command-handle-nopass.exp (test): Add
819 2014-07-29 Yao Qi <yao@codesourcery.com>
822 * gdb.base/until-nodebug.exp: New.
824 2014-07-28 Doug Evans <xdje42@gmail.com>
827 * gdb.guile/scm-parameter.exp: Add tests for trying to create
828 previously existing parameter, and previously ambiguously spelled
831 2014-07-28 Will Newton <will.newton@linaro.org>
833 * gdb.base/varargs.exp: Remove KFAILs for ARM.
835 2014-07-26 Ludovic Courtès <ludo@gnu.org>
836 Doug Evans <xdje42@gmail.com>
839 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
841 2014-07-25 Pedro Alves <palves@redhat.com>
843 * gdb.threads/signal-command-handle-nopass.c: New file.
844 * gdb.threads/signal-command-handle-nopass.exp: New file.
845 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
846 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
847 * gdb.threads/signal-delivered-right-thread.c: New file.
848 * gdb.threads/signal-delivered-right-thread.exp: New file.
850 2014-07-25 Pedro Alves <palves@redhat.com>
852 * gdb.base/double-prompt-target-event-error.exp
853 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
855 (cancel_pagination_in_target_event): Rework double prompt
857 * gdb.base/paginate-after-ctrl-c-running.exp
858 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
860 * gdb.base/paginate-bg-execution.exp
861 (test_bg_execution_pagination_return)
862 (test_bg_execution_pagination_cancel): Remove '-notransfer
864 * gdb.base/paginate-execution-startup.exp
865 (test_fg_execution_pagination_return)
866 (test_fg_execution_pagination_cancel): Remove '-notransfer
868 * gdb.base/paginate-inferior-exit.exp
869 (test_paginate_inferior_exited): Remove '-notransfer <return>'
871 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
872 * lib/gdb.exp (pagination_prompt): Run text through
874 (gdb_test_multiple): Match $pagination_prompt instead of
876 (string_to_regexp): Move to lib/gdb-utils.exp.
878 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
880 * gdb.arch/amd64-entry-value-paramref.S: New file.
881 * gdb.arch/amd64-entry-value-paramref.cc: New file.
882 * gdb.arch/amd64-entry-value-paramref.exp: New file.
883 * gdb.arch/amd64-optimout-repeat.S: New file.
884 * gdb.arch/amd64-optimout-repeat.c: New file.
885 * gdb.arch/amd64-optimout-repeat.exp: New file.
887 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
890 * gdb.base/statistics.exp: New file.
892 2014-07-17 Doug Evans <dje@google.com>
895 * gdb.base/maint.exp: Update testing of per-command stats.
897 2014-07-16 Pedro Alves <palves@redhat.com>
899 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
900 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
901 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
902 (tfile_write_buf): New functions.
903 (add_memory_block): Rewrite using the above.
904 (adjust_function_address): New function.
905 (FUNCTION_ADDRESS): New macro.
906 (write_basic_trace_file): Remove short_x local, and use
907 tfile_write_16. Change type of func_addr local to unsigned long
908 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
909 here. Cast argument of add_memory_block to char pointer.
910 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
911 (main): Remove parameters.
912 * gdb.trace/tfile.exp: Remove nowarnings.
914 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
916 * gdb.base/debug-expr.exp: Test string evaluation with
917 "debug expression" on.
919 2014-07-15 Pedro Alves <palves@redhat.com>
921 * gdb.base/reread.exp: Use clean_restart.
923 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
925 * gdb.arch/avr-flash-qualifer.c: New.
926 * gdb.arch/avr-flash-qualifer.exp: New.
928 2014-07-14 Pedro Alves <palves@redhat.com>
930 * gdb.base/paginate-after-ctrl-c-running.c: New file.
931 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
933 2014-07-14 Pedro Alves <palves@redhat.com>
935 * gdb.base/double-prompt-target-event-error.c: New file.
936 * gdb.base/double-prompt-target-event-error.exp: New file.
938 2014-07-14 Pedro Alves <palves@redhat.com>
941 * gdb.base/paginate-inferior-exit.c: New file.
942 * gdb.base/paginate-inferior-exit.exp: New file.
944 2014-07-14 Pedro Alves <palves@redhat.com>
947 * gdb.base/paginate-bg-execution.c: New file.
948 * gdb.base/paginate-bg-execution.exp: New file.
950 2014-07-14 Pedro Alves <palves@redhat.com>
953 * gdb.base/paginate-execution-startup.c: New file.
954 * gdb.base/paginate-execution-startup.exp: New file.
955 * lib/gdb.exp (pagination_prompt): New global.
956 (default_gdb_spawn): New procedure, factored out from
958 (default_gdb_start): Adjust to call default_gdb_spawn.
959 (gdb_spawn): New procedure.
961 2014-07-14 Pedro Alves <palves@redhat.com>
963 * lib/gdb.exp (gdb_assert): New procedure.
964 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
966 2014-07-14 Pedro Alves <palves@redhat.com>
968 * gdb.base/execution-termios.c: New file.
969 * gdb.base/execution-termios.exp: New file.
971 2014-07-14 Tom Tromey <tromey@redhat.com>
973 * gdb.cp/vla-cxx.cc: New file.
974 * gdb.cp/vla-cxx.exp: New file.
976 2014-07-14 Tom Tromey <tromey@redhat.com>
978 * gdb.reverse/rerun-prec.c: New file.
979 * gdb.reverse/rerun-prec.exp: New file.
981 2014-07-12 Maciej W. Rozycki <macro@mips.com>
982 Maciej W. Rozycki <macro@codesourcery.com>
984 * lib/gdb-utils.exp: New file.
985 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
986 inline `gdb_init_command' processing.
987 (gdb_start_cmd): Likewise.
988 * lib/mi-support.exp (mi_run_cmd): Likewise.
989 * README: Document `gdb_init_command' and `gdb_init_commands'.
991 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
993 Fix false FAIL running under a very long directory name.
994 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
995 and "set print elements 10000". Twice.
997 2014-07-11 Yao Qi <yao@codesourcery.com>
999 * gdb.base/exprs.exp: "set print symbol off".
1001 2014-07-11 Pedro Alves <palves@redhat.com>
1003 * gdb.threads/kill.c: New file.
1004 * gdb.threads/kill.exp: New file.
1006 2014-07-10 Yao Qi <yao@codesourcery.com>
1008 * gdb.trace/tfile.c (write_basic_trace_file)
1009 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1010 address written to trace file.
1012 2014-07-09 Pedro Alves <palves@redhat.com>
1014 * gdb.base/attach-wait-input.exp: New file.
1015 * gdb.base/attach-wait-input.c: New file.
1017 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1019 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1020 setting up test structures.
1021 (main): Call new test function.
1022 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1023 test function, continue into test function and walk test
1026 2014-07-02 Yao Qi <yao@codesourcery.com>
1028 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1029 'bar_start' at the beginning of functions 'foo' and 'bar'
1031 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1032 instead of 'foo' and 'bar'.
1034 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1036 * gdb.btrace/segv.exp: New.
1037 * gdb.btrace/segv.c: New.
1039 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
1041 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1044 2014-06-30 Mark Wielaard <mjw@redhat.com>
1046 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1047 vulture, vilify, villar): New volatile array constants.
1048 (vindictive, vegetation): New const volatile array constants.
1049 * gdb.base/volatile.exp: Test volatile and const volatile array
1052 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1054 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1055 target lacks support for awatch, rwatch, or hbreak.
1057 2014-06-27 Yao Qi <yao@codesourcery.com>
1059 * gdb.multi/dummy-frame-restore.exp: New.
1060 * gdb.multi/dummy-frame-restore.c: New.
1062 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1064 * gdb.btrace/gcore.exp: New.
1066 2014-06-23 Pedro Alves <palves@redhat.com>
1068 * gdb.base/watchpoint-reuse-slot.c: New file.
1069 * gdb.base/watchpoint-reuse-slot.exp: New file.
1071 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1073 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1074 progspace's filename in 'info', 'enable' and 'disable' command
1077 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1079 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1080 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1081 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1083 2014-06-20 Gary Benson <gbenson@redhat.com>
1085 * gdb.arch/i386-avx.exp: Fix include file location.
1086 * gdb.arch/i386-sse.exp: Likewise.
1088 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1090 * gdb.dlang/expression.exp: New file.
1092 2014-06-19 Pedro Alves <palves@redhat.com>
1094 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1096 (top level): ... here. Iterate running tests under different
1097 scheduler-locking settings.
1099 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
1101 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1102 to DW_FORM_addr and use non-zero addresses.
1104 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1107 * gdb.python/py-xmethods.cc: Add global function call counters and
1108 increment them in their respective functions. Remove "cout"
1110 * gdb.python/py-xmethods.exp: Make tests check the global function
1111 call counters instead of depending on inferior IO.
1113 2014-06-18 Don Breazeal <donb@codesourcery.com>
1115 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1117 (explicit_fork_parent_follow): Deleted procedure.
1118 (explicit_fork_child_follow): Deleted procedure.
1119 (test_follow_fork): New procedure.
1120 (do_fork_tests): Replace calls to deleted procedures with
1121 calls to test_follow_fork and reset GDB for subsequent
1124 2014-06-17 Yao Qi <yao@codesourcery.com>
1126 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1129 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
1131 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1132 Initialize ptr and S explicitly.
1133 (skip_type_update_when_not_use_rtti_test): Likewise.
1135 2014-06-16 Keith Seitz <keiths@redhat.com>
1138 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1139 the inferior is started.
1141 2014-06-16 Pedro Alves <palves@redhat.com>
1143 * gdb.base/break-main-file-remove-fail.c: New file.
1144 * gdb.base/break-main-file-remove-fail.exp: New file.
1145 * gdb.base/break-unload-file.exp: Use build_executable instead of
1146 prepare_for_testing.
1147 (test_break): New parameter "initial_load". Handle it.
1148 (top level): Add initial_load cmdline/file axis.
1150 2014-06-12 Tom Tromey <tromey@redhat.com>
1152 * gdb.base/completion.exp: Don't use directory name in test.
1154 2014-06-09 Gary Benson <gbenson@redhat.com>
1156 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1157 separate the always-available ANSI-standard signals from the
1158 signals that require checking.
1160 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1164 2014-06-07 Keith Seitz <keiths@redhat.com>
1168 * gdb.cp/var-tag.cc: New file.
1169 * gdb.cp/var-tag.exp: New file.
1170 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1171 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1172 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1173 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1175 2014-06-06 Doug Evans <xdje42@gmail.com>
1177 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1179 2014-06-06 Pedro Alves <palves@redhat.com>
1181 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1182 in target debug output instead of looking at RSP packets,
1183 disabling the test on any target that uses hardware stepping.
1186 2014-06-06 Pedro Alves <palves@redhat.com>
1188 * gdb.base/break-unload-file.exp: Fix typo.
1190 2014-06-06 Yao Qi <yao@codesourcery.com>
1192 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1193 from "jit_function" to "^jit_function".
1195 2014-06-06 Yao Qi <yao@codesourcery.com>
1197 * gdb.base/async.c (foo): Add one statement.
1198 * gdb.base/async.exp: Get the next instruction address and
1199 match the output of "nexti" by instruction address. Match
1200 the hex address in the output of "finish".
1202 2014-06-06 Gary Benson <gbenson@redhat.com>
1204 * gdb.base/call-signals.c: Remove preprocessor conditionals
1205 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1206 SIGSEGV and SIGTERM.
1207 * gdb.base/sigall.c: Likewise.
1208 * gdb.base/unwindonsignal.c: Likewise.
1209 * gdb.reverse/sigall-reverse.c: Likewise.
1211 2014-06-06 Yao Qi <yao@codesourcery.com>
1213 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1214 readable, skip the test.
1216 2014-06-06 Yao Qi <yao@codesourcery.com>
1218 * gdb.threads/staticthreads.c (thread_function): Move the line
1219 setting breakpoint on forward.
1220 * gdb.threads/staticthreads.exp: Update comments.
1222 2014-06-05 Ludovic Courtès <ludo@gnu.org>
1224 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1225 "history-append! type error".
1227 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1229 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1230 erroneous dprintf expected input.
1232 2014-06-04 Doug Evans <xdje42@gmail.com>
1234 * gdb.guile/scm-generics.exp: Delete.
1236 2014-06-04 Doug Evans <xdje42@gmail.com>
1238 * gdb.guile/scm-breakpoint.exp: Update.
1239 Add tests for breakpoint registration.
1241 2014-06-04 Tom Tromey <tromey@redhat.com>
1243 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1245 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1246 inner_vla_struct, vla_union types. Initialize objects of those
1247 types and compute their sizes.
1249 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1250 Hui Zhu <hui@codesourcery.com>
1252 * gdb.base/fileio.exp: Add test for shell not available as well as
1254 * gdb.base/fileio.c (test_system): Check for shell twice.
1256 2014-06-04 Yao Qi <yao@codesourcery.com>
1258 * gdb.base/auto-connect-native-target.exp: Remove redundant
1259 space from the regexp pattern.
1261 2014-06-04 Yao Qi <yao@codesourcery.com>
1263 * gdb.base/default.exp: Replace "child" with "native" in
1266 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1268 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1269 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1270 * gdb.python/py-xmethods.py: Python script supporting the
1271 new testcase and tests.
1273 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1274 Pedro Alves <palves@redhat.com>
1276 PR breakpoints/17000
1277 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1278 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1280 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1282 * gdb.base/subst.exp: Add tests to verify partial path matching
1285 2014-06-03 Pedro Alves <palves@redhat.com>
1287 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1288 target that doesn't use software single-stepping.
1290 2014-06-03 Pedro Alves <palves@redhat.com>
1292 PR breakpoints/17000
1293 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1294 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1296 2014-06-02 Doug Evans <xdje42@gmail.com>
1298 * gdb.guile/scm-parameter.exp: New file.
1300 2014-06-02 Doug Evans <xdje42@gmail.com>
1302 * gdb.guile/scm-cmd.c: New file.
1303 * gdb.guile/scm-cmd.exp: New file.
1305 2014-06-02 Doug Evans <xdje42@gmail.com>
1307 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1308 pretty-printer lookup.
1309 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1310 (make-pp_s-printer): Call it.
1311 (make-pretty-printer-from-dict): New function.
1312 (lookup-pretty-printer-maker-from-dict): New function.
1313 (*pretty-printer*): Simplify.
1314 (make-objfile-pp_s-printer): New function.
1315 (install-objfile-pretty-printers!): New function.
1316 (make-progspace-pp_s-printer): New function.
1317 (install-progspace-pretty-printers!): New function.
1318 * gdb.guile/scm-progspace.c: New file.
1319 * gdb.guile/scm-progspace.exp: New file.
1321 2014-06-02 Pedro Alves <palves@redhat.com>
1323 * gdb.base/dprintf-bp-same-addr.c: New file.
1324 * gdb.base/dprintf-bp-same-addr.exp: New file.
1326 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1328 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1329 * gdb.arch/powerpc-power.s: Likewise.
1331 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1333 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1335 2014-06-01 Yao Qi <yao@codesourcery.com>
1337 * gdb.base/watchpoint.exp (test_watch_location): Check null
1338 pointer can be dereferenced. If not, do the test, otherwise
1341 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1343 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1345 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1347 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1349 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1350 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1351 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1352 * gdb.arch/amd64-invalid-stack-top.c: New file.
1353 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1355 2014-05-30 Pedro Alves <palves@redhat.com>
1357 PR breakpoints/17000
1358 * gdb.base/sss-bp-on-user-bp.c: New file.
1359 * gdb.base/sss-bp-on-user-bp.exp: New file.
1361 2014-05-30 David Blaikie <dblaikie@gmail.com>
1363 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1364 gnu_inline semantics via attribute.
1365 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1366 source explicitly specifies the required semantics.
1368 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1370 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1372 2014-05-29 Pedro Alves <palves@redhat.com>
1373 Tom Tromey <tromey@redhat.com>
1375 * gdb.base/async-shell.exp: Don't enable target-async.
1376 * gdb.base/async.exp
1377 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1379 (top level): Don't test with "target-async".
1380 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1381 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1382 * gdb.base/inferior-died.exp: Don't enable target-async.
1383 * gdb.base/interrupt-noterm.exp: Likewise.
1384 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1385 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1386 * gdb.mi/mi-nonstop.exp: Likewise.
1387 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1388 * gdb.mi/mi-nsintrall.exp: Likewise.
1389 * gdb.mi/mi-nsmoribund.exp: Likewise.
1390 * gdb.mi/mi-nsthrexec.exp: Likewise.
1391 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1392 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1393 * gdb.python/py-evsignal.exp: Don't enable target-async.
1394 * gdb.python/py-evthreads.exp: Likewise.
1395 * gdb.python/py-prompt.exp: Likewise.
1396 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1397 * gdb.server/solib-list.exp: Don't enable target-async.
1398 * gdb.threads/thread-specific-bp.exp: Likewise.
1399 * lib/mi-support.exp: Adjust to use mi-async.
1401 2014-05-29 Pedro Alves <palves@redhat.com>
1404 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1405 reason, even in sync mode.
1407 2014-05-29 Pedro Alves <palves@redhat.com>
1408 Hui Zhu <hui@codesourcery.com>
1411 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1412 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1413 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1414 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1416 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1418 * config/monitor.exp (gdb_target_monitor): Replace use of
1419 "set remotebaud" by "set serial baud".
1421 2014-05-26 Andy Wingo <wingo@igalia.com>
1423 * gdb.guile/scm-breakpoint.exp:
1424 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1425 properties instead of gdb-object-properties.
1427 2014-05-26 Yao Qi <yao@codesourcery.com>
1429 * gdb.server/no-thread-db.exp: Specify source file name
1430 explicitly when setting a breakpoint.
1432 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1434 * gdb.btrace/vdso.c: New.
1435 * gdb.btrace/vdso.exp: New.
1437 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1439 * gdb.base/gcore.exp (capture_command_output): Move ...
1440 * lib/gdb.exp (capture_command_output): ... here.
1442 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1444 * gdb.btrace/data.exp: Test memory access during btrace replay.
1446 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1448 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1450 2014-05-21 Pedro Alves <palves@redhat.com>
1453 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1454 (top level): Test that output related to execution commands is
1455 sent to the console with CLI commands, but not with MI commands.
1456 Test that breakpoint events are always mirrored to the console.
1457 Also expect the new source line to be output after a "next" in
1458 async mode too. Make it a pass/fail test.
1459 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1461 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1463 2014-05-21 Pedro Alves <palves@redhat.com>
1465 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1466 Use them to test variations of "list" after reaching a breakpoint.
1467 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1468 Test "list" with listsize 10 after reaching a breakpoint.
1469 * gdb.python/python.exp (decode_line current location line
1470 number): Adjust expected line number.
1472 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1474 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1475 behavior for $args, pass it directly to "run".
1477 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1479 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1482 2014-05-21 Pedro Alves <palves@redhat.com>
1484 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1485 auto-connect-native-target off".
1486 * gdb.base/auto-connect-native-target.c: New file.
1487 * gdb.base/auto-connect-native-target.exp: New file.
1489 2014-05-21 Pedro Alves <palves@redhat.com>
1491 * gdb.base/default.exp: Test "target native" instead of "target
1494 2014-05-21 Mark Wielaard <mjw@redhat.com>
1496 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1498 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1500 Fix TLS access for -static -pthread.
1501 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1502 <HAVE_TLS> (thread_function, main): Initialize it.
1503 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1505 <$have_tls != "">: Check TLSVAR.
1507 2014-05-21 Pedro Alves <palves@redhat.com>
1509 * gdb.base/dcache-line-read-error.c: New.
1510 * gdb.base/dcache-line-read-error.exp: New.
1512 2014-05-20 Pedro Alves <palves@redhat.com>
1514 * gdb.base/compare-sections.c: New file.
1515 * gdb.base/compare-sections.exp: New file.
1517 2014-05-20 Pedro Alves <palves@redhat.com>
1519 * gdb.base/break-idempotent.c: New file.
1520 * gdb.base/break-idempotent.exp: New file.
1522 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1524 * gdb.btrace/nohist.exp: New.
1526 2014-05-20 Yao Qi <yao@codesourcery.com>
1528 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1529 gdb.reverse directory and gdb_reverse_timeout exists in board
1531 * README: Document gdb_reverse_timeout.
1533 2014-05-20 Yao Qi <yao@codesourcery.com>
1535 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1536 'test_file_name'. Treat args as a string instead of a list.
1537 (gdb_init): Rename argument 'args' by 'test_file_name'.
1539 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1541 * gdb.arch/powerpc-power.exp: New file.
1542 * gdb.arch/powerpc-power.s: New file.
1544 2014-05-16 Doug Evans <dje@google.com>
1546 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
1547 * gdb.base/completion.exp: Check that all expected files exist
1548 before doing file completion.
1550 2014-05-16 Doug Evans <dje@google.com>
1552 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1554 (do_syscall_tests_without_xml): Update.
1556 2014-05-16 Pedro Alves <palves@redhat.com>
1558 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1559 instead of "unknown output after running".
1561 2014-05-16 Yao Qi <yao@codesourcery.com>
1563 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1564 file1.txt from host at the end.
1565 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1567 2014-05-15 Doug Evans <dje@google.com>
1569 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1570 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1571 loading file. Add test for TU lookup.
1573 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1575 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1576 calling "-exec-arguments" or "set args" before running the
1579 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1581 * lib/mi-support.exp (mi_expect_stop): Expect message for
1582 inferiors that exit with non-zero exit code.
1584 2014-05-14 Yao Qi <yao@codesourcery.com>
1586 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1587 match absolute path on remote host.
1588 (test_file_list_exec_source_files): Remove "/" from the
1591 2014-05-14 Yao Qi <yao@codesourcery.com>
1593 * boards/local-remote-host-notty.exp (${board}_file): New
1596 2014-05-07 Kyle McMartin <kyle@redhat.com>
1598 Pushed by Joel Brobecker <brobecker@adacore.com>.
1599 * gdb.arch/aarch64-atomic-inst.c: New file.
1600 * gdb.arch/aarch64-atomic-inst.exp: New file.
1602 2014-05-07 Yao Qi <yao@codesourcery.com>
1604 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1605 in current context" too.
1607 2014-05-05 Keith Seitz <keiths@redhat.com>
1609 * gdb.linespec/ls-dollar.exp: Add test for linespec
1610 file:convenience_variable.
1612 2014-05-05 Yao Qi <yao@codesourcery.com>
1614 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
1615 traceframes into tfile and ctf trace files. Read data from
1616 trace file and test collected data.
1617 (gdb_collect_locals_test): Likewise.
1618 (gdb_unavailable_registers_test): Likewise.
1619 (gdb_unavailable_floats): Likewise.
1620 (gdb_collect_globals_test): Likewise.
1621 (top-level): Append "ctf" to trace_file_targets if GDB
1624 2014-05-05 Yao Qi <yao@codesourcery.com>
1626 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
1628 (gdb_collect_args_test_1): ... it. New proc.
1629 (gdb_collect_locals_test): Move some code to ...
1630 (gdb_collect_locals_test_1): ... it. New proc.
1631 (gdb_unavailable_registers_test): Move some code to ...
1632 (gdb_unavailable_registers_test_1): ... it. New proc.
1633 (gdb_unavailable_floats): Move some code to ...
1634 (gdb_unavailable_floats_1): ... it. New proc.
1636 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1638 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
1639 probes to test for bitness recognition.
1640 * gdb.arch/amd64-stap-optional-prefix.exp
1641 (test_probe_value_without_reg): New procedure.
1642 Add code to test for different kinds of bitness.
1644 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1646 PR breakpoints/16889
1647 * gdb.arch/amd64-stap-optional-prefix.S: New file.
1648 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1650 2014-05-01 Pedro Alves <palves@redhat.com>
1652 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
1653 gdb_file_cmd if no file is specified.
1654 * boards/native-extended-gdbserver.exp (gdb_load): Use the
1655 last_loaded_file to set the remote exec-file.
1657 2014-05-01 Pedro Alves <palves@redhat.com>
1659 * boards/local-remote-host.exp: New file.
1661 2014-05-01 Pedro Alves <palves@redhat.com>
1663 * boards/local-remote-host.exp: Rename to ...
1664 * boards/local-remote-host-notty.exp: ... this.
1666 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1668 * gdb.ada/dyn_arrayidx: New testcase.
1670 2014-04-26 Yao Qi <yao@codesourcery.com>
1672 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
1673 and compute the length of function main. Save it in
1675 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
1676 (top-level): Use gdb_compile to compile objects into
1677 executable and restart GDB. Remove invocation to
1678 prepare_for_testing.
1680 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
1681 Pedro Alves <palves@redhat.com>
1684 * gdb.multi/multi-attach.c: New file.
1685 * gdb.multi/multi-attach.exp: New file.
1687 2014-04-25 Pedro Alves <palves@redhat.com>
1689 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
1691 (top level): Test that "set remote conditional-breakpoints-packet
1692 off" works as intended.
1693 * gdb.base/dprintf.exp: Test that "set remote
1694 breakpoint-commands-packet off" works as intended.
1695 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
1697 (top level): Call it.
1698 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
1699 remote fast-tracepoints-packet off" works as intended.
1700 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
1701 * lib/gdb.exp (gdb_is_target_remote): ... here.
1703 2014-04-24 David Blaikie <dblaikie@gmail.com>
1705 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
1706 ensure clang would not discard them.
1707 * gdb.base/gdbvars.c: Ditto.
1708 * gdb.base/memattr.c: Ditto.
1709 * gdb.base/whatis.c: Ditto.
1710 * gdb.python/py-prettyprint.c: Ditto.
1711 * gdb.trace/actions.c: Ditto.
1712 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
1713 ensure clang would not discard it.
1715 2014-04-24 David Blaikie <dblaikie@gmail.com>
1717 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1718 clang to emit the full definition of type required by the test
1719 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1721 2014-04-24 David Blaikie <dblaikie@gmail.com>
1723 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1724 coax Clang into emitting the definition of the type.
1725 * gdb.cp/pr10728-x.h (y): Ditto.
1726 * gdb.cp/pr10728-y.cc (y): Ditto.
1728 2014-04-24 David Blaikie <dblaikie@gmail.com>
1730 * gdb.base/label.exp: XFAIL label related tests under Clang.
1731 * gdb.cp/cplabel.exp: Ditto.
1732 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
1733 under Clang those using labels.
1735 2014-04-25 Yao Qi <yao@codesourcery.com>
1737 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
1739 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
1740 partial_label and double_label.
1742 2014-04-24 David Blaikie <dblaikie@gmail.com>
1744 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
1746 2014-04-24 David Blaikie <dblaikie@gmail.com>
1748 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
1749 of the function to work across GCC and Clang.
1750 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
1751 pointer types (const void ** const V void **).
1753 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
1754 Walfred Tedeschi <walfred.tedeschi@intel.com>
1756 * Makefile.in (EXECUTABLES): Added i386-avx512.
1757 * gdb.arch/i386-avx512.c: New file.
1758 * gdb.arch/i386-avx512.exp: Likewise.
1760 2014-04-23 Keith Seitz <keiths@redhat.com>
1762 * lib/mi-support.exp (mi_list_breakpoints): Delete.
1763 (mi_make_breakpoint_table): New procedure.
1764 (mi_create_breakpoint): Use mi_make_breakpoint
1765 and return the result.
1766 (mi_make_breakpoint): New procedure.
1767 (mi_build_kv_pairs): New procedure.
1769 * gdb.mi/mi-break.exp: Remove unused globals,
1770 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
1771 All callers updated.
1772 * gdb.mi/mi-dprintf.exp: Use variable to track command
1774 Update all callers of mi_create_breakpoint and use
1775 mi_make_breakpoint_table.
1776 Remove any unused global variables.
1777 * gdb.mi/mi-nonstop.exp: Likewise.
1778 * gdb.mi/mi-nsintrall.exp: Likewise.
1779 * gdb.mi/mi-nsmoribund.exp: Likewise.
1780 * gdb.mi/mi-nsthrexec.exp: Likewise.
1781 * gdb.mi/mi-reverse.exp: Likewise.
1782 * gdb.mi/mi-simplerun.exp: Likewise.
1783 * gdb.mi/mi-stepn.exp: Likewise.
1784 * gdb.mi/mi-syn-frame.exp: Likewise.
1785 * gdb.mi/mi-until.exp: Likewise.
1786 * gdb.mi/mi-var-cp.exp: Likewise.
1787 * gdb.mi/mi-var-display.exp: Likewise.
1788 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1789 * gdb.mi/mi2-var-child.exp: Likewise.
1790 * gdb.mi/mi-vla-c99.exp: Likewise.
1791 * lib/mi-support.exp: Likewise.
1793 From Ian Lance Taylor <iant@cygnus.com>:
1794 * lib/gdb.exp (parse_args): New procedure.
1796 2014-04-23 Pedro Alves <palves@redhat.com>
1798 * gdb.base/break-unload-file.c: New file.
1799 * gdb.base/break-unload-file.exp: New file.
1800 * gdb.base/sym-file-lib.c (baz): New function.
1801 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
1803 (load): Store the segment's mapped size.
1804 (unload): New function.
1805 (unload_shlib): New function.
1806 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
1807 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
1808 set a breakpoint at baz, and call it.
1809 * gdb.base/sym-file.exp: New tests for stale breakpoint
1812 2014-04-23 Pedro Alves <palves@redhat.com>
1814 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
1815 * gdb.base/hbreak-in-shr-unsupported.c: New file.
1816 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
1817 * gdb.base/hbreak-unmapped.c: New file.
1818 * gdb.base/hbreak-unmapped.exp: New file.
1819 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
1820 * lib/gdb.exp (gdb_is_target_remote): ... here.
1822 2014-04-22 Pedro Alves <palves@redhat.com>
1824 * gdb.base/consecutive-step-over.c: New file.
1825 * gdb.base/consecutive-step-over.exp: New file.
1827 2014-04-22 Pedro Alves <palves@redhat.com>
1829 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
1830 instead of send_gdb/gdb_expect.
1832 2014-04-22 Yao Qi <yao@codesourcery.com>
1834 * lib/trace-support.exp (generate_tracefile): New procedure.
1835 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
1837 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
1838 if generate_tracefile returns 1.
1840 2014-04-18 Tom Tromey <palves@redhat.com>
1841 Pedro alves <tromey@redhat.com>
1844 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
1845 with a backtrace limit.
1846 * gdb.python/py-frame-inline.exp: Test running to an inline
1847 function with a backtrace limit, and printing the newest frame.
1848 * gdb.python/py-frame-inline.c (main): Call f.
1850 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1852 * gdb.java/jnpe.exp: Drop srcdir from untested path.
1854 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1856 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
1857 Drop prefix from unsupported source file path.
1859 2014-04-17 Yao Qi <yao@codesourcery.com>
1861 * lib/gdb.exp (with_target_charset): New proc.
1862 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
1863 with_target_charset.
1864 (test_print_strings): Likewise.
1865 (test_repeat_bytes): Likewise.
1866 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
1869 2014-04-16 Keith Seitz <keiths@redhat.com>
1872 * gdb.dwarf2/corrupt.c: New file.
1873 * gdb.dwarf2/corrupt.exp: New file.
1875 2014-04-16 Keith Seitz <keiths@redhat.com>
1878 * gdb.cp/namelessclass.cc: New file.
1879 * gdb.cp/namelessclass.exp: New file.
1880 * gdb.cp/namelessclass.S: New file.
1882 2014-04-16 Doug Evans <dje@google.com>
1884 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
1886 (gdbserver_default_get_comm_port): New function.
1887 (gdbserver_start): Check if board file provided
1888 "gdbserver,get_comm_port" and use it if so.
1889 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
1890 (gdb,socketport): Set to "stdio".
1891 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
1892 (stdio_gdbserver_template): Delete.
1893 (${board}_get_remote_address): Update.
1894 (${board}_build_remote_cmd): Delete.
1895 (${board}_get_comm_port): New function.
1896 (${board}_spawn): Update.
1897 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
1899 (${board}_get_remote_address): Update.
1900 (${board}_get_comm_port): New function.
1902 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
1904 * gdb.base/memattr.exp: Improve regexps to handle memory regions
1905 appearing in any order.
1907 2014-04-15 Doug Evans <dje@google.com>
1909 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
1910 uninitialized value of "description".
1912 2014-04-15 Keith Seitz <keiths@redhat.com>
1914 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
1915 Remove unused globals.
1916 (test_running_the_program): Likewise.
1917 (test_controlled_execution): Likewise.
1918 (test_controlling_breakpoints): Likewise.
1919 (test_program_termination): Likewise.
1921 2014-04-15 Keith Seitz <keiths@redhat.com>
1923 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
1925 (test_rbreak_creation_and_listing): Likewise.
1926 (test_ignore_count): Likewise.
1927 (test_error): Likewise.
1929 2014-04-15 Pedro Alves <palves@redhat.com>
1931 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
1932 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
1934 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1935 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1936 to sym-file-loader.c.
1937 (struct library): Forward declare.
1938 (load_shlib, lookup_function): Change prototypes.
1939 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1940 (translate_offset): Remove declarations.
1941 (get_text_addr): New declaration.
1942 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
1943 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
1945 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1946 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1947 here from sym-file-loader.h.
1948 (struct library): New structure.
1949 (load_shlib, lookup_function): Change prototypes and adjust to
1950 work with a struct library.
1951 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1952 (translate_offset): Make static.
1953 (get_text_addr): New function.
1954 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
1956 2014-04-15 Pedro Alves <palves@redhat.com>
1958 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
1960 2014-04-15 Pedro Alves <palves@redhat.com>
1962 * gdb.base/sym-file-loader.c: Include <limits.h>.
1963 (SELF_LINK): New define.
1964 (get_origin): New function.
1965 (load_shlib): Use it.
1966 * gdb.base/sym-file.exp: Don't early return if the target is
1967 remote. Use runto_main, and issue fail is that fails. Use
1969 (shlib_name): Delete.
1970 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
1972 2014-04-15 Pedro Alves <palves@redhat.com>
1974 * gdb.base/sym-file.exp: Remove regex characters from test
1975 message. Don't refer to breakpoint numbers in test messages.
1977 2014-04-14 Keith Seitz <keiths@redhat.com>
1980 * gdb.cp/var-tag.cc: New file.
1981 * gdb.cp/var-tag.exp: New file.
1982 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1983 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1984 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1985 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1987 2014-04-14 Tom Tromey <tromey@redhat.com>
1989 * gdb.cp/classes.exp (test_enums): Handle underlying type.
1990 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
1992 * gdb.cp/enum-class.exp: New file.
1993 * gdb.cp/enum-class.cc: New file.
1995 2014-04-14 Tom Tromey <tromey@redhat.com>
1997 * gdb.dwarf2/enum-type.exp: New file.
1999 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2001 * gdb.mi/mi-vla-c99.exp: New file.
2002 * gdb.mi/vla.c: New file.
2004 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2006 * gdb.base/vla-datatypes.c: New file.
2007 * gdb.base/vla-datatypes.exp: New file.
2009 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2011 * gdb.base/vla-ptr.c: New file.
2012 * gdb.base/vla-ptr.exp: New file.
2014 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2016 * gdb.dwarf2/count.exp: New file.
2018 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2020 * gdb.base/vla-sideeffect.c: New file.
2021 * gdb.base/vla-sideeffect.exp: New file.
2023 2014-04-14 David Blaikie <dblaikie@gmail.com>
2025 * gdb.mi/non-stop.c: Add return value for non-void function return
2027 * gdb.threads/staticthreads.c: Ditto.
2029 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2030 Doug Evans <xdje42@gmail.com>
2032 * gdb.guile/scm-value.c: Improve test case.
2033 * gdb.guile/scm-value.exp: Add new test.
2035 2014-04-11 David Blaikie <dblaikie@gmail.com>
2037 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2038 override Clang's default.
2040 2014-04-11 Joel Brobecker <brobecker@adacore.com>
2042 Revert the following changes (regressions):
2044 * gdb.base/vla-sideeffect.c: New file.
2045 * gdb.base/vla-sideeffect.exp: New file.
2047 * gdb.dwarf2/count.exp: New file.
2049 * gdb.base/vla-multi.c: New file.
2050 * gdb.base/vla-multi.exp: New file.
2052 * gdb.base/vla-ptr.c: New file.
2053 * gdb.base/vla-ptr.exp: New file.
2055 * gdb.base/vla-datatypes.c: New file.
2056 * gdb.base/vla-datatypes.exp: New file.
2058 * gdb.mi/mi-vla-c99.exp: New file.
2059 * gdb.mi/vla.c: New file.
2061 2014-04-11 Keith Seitz <keiths@redhat.com>
2064 * gdb.cp/cpsizeof.exp: New file.
2065 * gdb.cp/cpsizeof.cc: New file.
2067 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2069 * gdb.mi/mi-vla-c99.exp: New file.
2070 * gdb.mi/vla.c: New file.
2072 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2074 * gdb.base/vla-datatypes.c: New file.
2075 * gdb.base/vla-datatypes.exp: New file.
2077 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2079 * gdb.base/vla-ptr.c: New file.
2080 * gdb.base/vla-ptr.exp: New file.
2082 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2084 * gdb.base/vla-multi.c: New file.
2085 * gdb.base/vla-multi.exp: New file.
2087 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2089 * gdb.dwarf2/count.exp: New file.
2091 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2093 * gdb.base/vla-sideeffect.c: New file.
2094 * gdb.base/vla-sideeffect.exp: New file.
2096 2014-04-11 Yao Qi <yao@codesourcery.com>
2098 * gdb.base/completion.exp: Check file exists before running tests
2101 2014-04-10 Pedro Alves <palves@redhat.com>
2103 * gdb.base/cond-eval-mode.c: New file.
2104 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2105 prepare_for_testing to build the new file. Check result of
2107 (test_break, test_watch): New procedures.
2108 (top level): Use them.
2110 2014-04-08 Pierre Muller <muller@sourceware.org>
2112 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2113 Ctrl-V use for mingw hosts.
2115 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2117 * gdb.python/py-value.c: Improve test case.
2118 * gdb.python/py-value.exp: Add new test.
2120 2014-04-07 David Blaikie <dblaikie@gmail.com>
2122 * lib/compiler.c: Identify the clang compiler.
2123 * lib/compiler.cc: Ditto.
2125 2014-04-03 Yao Qi <yao@codesourcery.com>
2127 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2129 2014-04-01 Anton Blanchard <anton@samba.org>
2131 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2134 2014-04-01 Anton Blanchard <anton@samba.org>
2136 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2137 prepare_for_testing.
2139 2014-04-01 Anton Blanchard <anton@samba.org>
2141 * gdb.arch/ppc64-atomic-inst.c: Remove.
2142 * gdb.arch/ppc64-atomic-inst.S: New file.
2143 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2145 2014-03-31 Doug Evans <dje@google.com>
2147 * gdb.base/print-symbol-loading-lib.c: New file.
2148 * gdb.base/print-symbol-loading-main.c: New file.
2149 * gdb.base/print-symbol-loading.exp: New file.
2151 2014-03-31 Yao Qi <yao@codesourcery.com>
2153 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2155 2014-03-28 Joel Brobecker <brobecker@adacore.com>
2157 * gdb.ada/mi_dyn_arr: New testcase.
2159 2014-03-27 Doug Evans <dje@google.com>
2161 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2163 2014-03-27 Yao Qi <yao@codesourcery.com>
2165 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2166 if target is nios2-*-*.
2168 2014-03-26 Yao Qi <yao@codesourcery.com>
2170 * lib/gdb.exp (readline_is_used): New proc.
2171 * gdb.base/completion.exp: Move tests on command complete up.
2172 Skip the rest of tests if readline is not used.
2173 * gdb.ada/complete.exp: Skp the test if readline is not
2175 * gdb.base/filesym.exp: Likewise.
2176 * gdb.base/macscp.exp: Likewise.
2177 * gdb.base/readline-ask.exp: Likewise.
2178 * gdb.base/readline.exp: Likewise.
2179 * gdb.python/py-cmd.exp: Likewise.
2180 * gdb.trace/tfile.exp: Likewise.
2182 2014-03-26 Yao Qi <yao@codesourcery.com>
2184 * gdb.base/macscp.exp: Fix code format issues.
2186 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2188 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2189 * gdb.asm/powerpc64le.inc: New file.
2191 2014-03-25 Pedro Alves <palves@redhat.com>
2192 Doug Evans <dje@google.com>
2194 * gdb.base/source-execution.c: New file.
2195 * gdb.base/source-execution.exp: New file.
2196 * gdb.base/source-execution.gdb: New file.
2198 2014-03-24 Doug Evans <dje@google.com>
2200 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2203 2014-03-24 Hui Zhu <hui@codesourcery.com>
2204 Pedro Alves <palves@redhat.com>
2206 PR breakpoints/16101
2207 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2208 test pass/fail messages. Detect missing support for dprintf when
2209 breakpoints are actually inserted.
2210 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2211 breakpoints are actually inserted.
2212 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2215 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2217 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2219 2014-03-22 Doug Evans <xdje42@gmail.com>
2221 * gdb.python/python.exp (python not supported): Verify multi-line
2222 python command issues an error.
2223 * gdb.guile/guile.exp (guile not supported): Verify multi-line
2224 guile command issues an error.
2226 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2228 * gdb.threads/thread-specific.exp: Handle the lack of usable
2229 $this_breakpoint and $this_thread.
2231 2014-03-21 Hui Zhu <hui@codesourcery.com>
2233 * gdb.base/attach.exp (do_command_attach_tests): New.
2235 2014-03-20 Tom Tromey <tromey@redhat.com>
2236 Pedro Alves <palves@redhat.com>
2239 * gdb.base/condbreak-call-false.c: New file.
2240 * gdb.base/condbreak-call-false.exp: New file.
2242 2014-03-20 Pedro Alves <palves@redhat.com>
2244 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2246 (block_signals, unblock_signals): Delete.
2247 (child_function_2, main): Remove references to deleted variable
2250 2014-03-20 Pedro Alves <palves@redhat.com>
2252 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2253 Use pthread_kill to signal thread 2.
2254 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2255 Adjust to make the test send itself a signal rather than using the
2256 host's "kill" command.
2258 2014-03-20 Pedro Alves <palves@redhat.com>
2260 * gdb.threads/multiple-step-overs.c: New file.
2261 * gdb.threads/multiple-step-overs.exp: New file.
2262 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2263 Adjust expected infrun debug output.
2265 2014-03-20 Pedro Alves <palves@redhat.com>
2267 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2268 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2270 2014-03-20 Pedro Alves <palves@redhat.com>
2273 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2274 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2275 of gdb_test_multiple.
2276 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2277 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2279 2014-03-20 Pedro Alves <palves@redhat.com>
2281 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2282 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2284 2014-03-19 Pedro Alves <palves@redhat.com>
2286 * gdb.base/async.exp: Remove early return.
2288 2014-03-19 Pedro Alves <palves@redhat.com>
2290 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2292 2014-03-19 Pedro Alves <palves@redhat.com>
2294 * gdb.base/async.exp (test_background): Expect \r\n after
2295 "completed." in the fail pattern.
2297 2014-03-19 Pedro Alves <palves@redhat.com>
2299 * gdb.base/async.exp (test_background): New procedure.
2300 Use it for all background execution command tests.
2302 2014-03-19 Pedro Alves <palves@redhat.com>
2304 * gdb.base/async.exp: Use prepare_for_testing.
2306 2014-03-19 Pedro Alves <palves@redhat.com>
2308 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2311 2014-03-19 Pedro Alves <palves@redhat.com>
2313 * gdb.base/async.c (main): Add "jump here" and "until here" line
2315 * gdb.base/async.exp (jump_here): New global.
2316 (jump& test): Use it.
2317 (until_here): New global.
2318 (until& test): Use it.
2320 2014-03-19 Pedro Alves <palves@redhat.com>
2322 * gdb.base/async.exp: Don't frob gdb_protocol.
2324 2014-03-18 Doug Evans <xdje42@gmail.com>
2326 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2327 Fix spelling of exec-done-display.
2329 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2332 * gdb.base/gdb-sigterm.c: New file.
2333 * gdb.base/gdb-sigterm.exp: New file.
2335 2014-03-18 Pedro Alves <palves@redhat.com>
2338 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2339 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2342 2014-03-17 Joel Brobecker <brobecker@adacore.com>
2344 * gdb.ada/pckd_arr_ren: New testcase.
2346 2014-03-13 Doug Evans <xdje42@gmail.com>
2349 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2350 collect after discarding symbols.
2352 2014-03-13 Ludovic Courtès <ludo@gnu.org>
2353 Doug Evans <xdje42@gmail.com>
2355 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2356 to history survives a gc.
2358 2014-03-13 Pedro Alves <palves@redhat.com>
2360 * gdb.base/default.exp: Don't test "target procfs".
2362 2014-03-13 Pedro Alves <palves@redhat.com>
2364 * gdb.base/default.exp: Update "target child" and "target procfs"
2365 tests to not expect "Unix".
2367 2014-03-12 Tom Tromey <tromey@redhat.com>
2369 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2370 New procs. Add target-async tests.
2371 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2372 Add target-async tests.
2374 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2376 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2377 'func_start' and 'func_end' for the beginning and end of the
2378 function code, respectively.
2379 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2380 'func_end' instead of 'func' and 'main'.
2382 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2384 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2385 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2386 generate the debug info assembler source.
2388 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2390 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2391 * gdb.dwarf2/arr-subrange.exp: Likewise.
2392 * gdb.dwarf2/dwz.exp: Likewise.
2393 * gdb.dwarf2/method-ptr.exp: Likewise.
2394 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2395 * gdb.dwarf2/subrange.exp: Likewise.
2396 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2397 * gdb.dwarf2/implptrpiece.exp: Likewise.
2398 * gdb.dwarf2/nostaticblock.exp: Likewise.
2400 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2402 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2403 directory to absolute path name arguments.
2405 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2407 * gdb.ada/tagged_access: New testcase.
2409 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2411 * gdb.btrace/data.exp: Update expected output.
2413 2014-03-06 Yao Qi <yao@codesourcery.com>
2415 * gdb.trace/pr16508.exp: New file.
2417 2014-03-05 Pedro Alves <palves@redhat.com>
2420 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2422 (top level): Adjust to use it. Add tests that exercise breakpoint
2423 interaction with the code-cache.
2425 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2427 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2428 test for 'history-append!'.
2430 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2432 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2433 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2434 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2435 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2436 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2437 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2439 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2441 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2442 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2443 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2445 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2447 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2449 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2451 * gdb.dwarf2/arr-stride.c: New file.
2452 * gdb.dwarf2/arr-stride.exp: New file.
2454 2014-02-26 Pedro Alves <palves@redhat.com>
2456 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2457 that won't ever trigger. Make sure that GDB reports the correct
2458 breakpoint that caused the stop.
2460 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2463 * gdb.base/auto-load-script: New file.
2464 * gdb.base/auto-load.c: New file.
2465 * gdb.base/auto-load.exp: New file.
2468 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2470 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2472 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2473 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2475 2014-02-24 Doug Evans <dje@google.com>
2477 * lib/gdb.exp (run_on_host): Log error output if program fails.
2479 2014-02-21 Pedro Alves <palves@redhat.com>
2481 * gdb.threads/step-after-sr-lock.c: Rename to ...
2482 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2483 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2484 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2487 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2490 * gdb.arch/amd64-stap-special-operands.exp: New file.
2491 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2492 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2493 * gdb.arch/amd64-stap-triplet.S: Likewise.
2494 * gdb.arch/amd64-stap-triplet.c: Likewise.
2496 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2498 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2499 in .section pseudo-op.
2501 2014-02-20 lin zuojian <manjian2006@gmail.com>
2502 Joel Brobecker <brobecker@adacore.com>
2503 Doug Evans <xdje42@gmail.com>
2506 * gdb.dwarf2/dw2-icycle.S: New file.
2507 * gdb.dwarf2/dw2-icycle.c: New file.
2508 * gdb.dwarf2/dw2-icycle.exp: New file.
2510 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2512 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2513 operations on gdb.Value objects.
2514 * gdb.python/py-value-cc.exp: Add new test to test operations on
2517 2014-02-18 Doug Evans <dje@google.com>
2519 * Makefile.in (TESTS): New variable.
2520 (expanded_tests, expanded_tests_or_none): New variables
2521 (check-single): Pass $(expanded_tests_or_none) to runtest.
2522 (check-parallel): Only run tests in $(TESTS) if non-empty.
2523 (check/no-matching-tests-found): New rule.
2524 * README: Document TESTS makefile variable.
2526 2014-02-18 Doug Evans <dje@google.com>
2528 * Makefile.in (check-parallel): rm -rf outputs temp.
2530 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2532 Fix "ERROR: no fileid for" in the testsuite.
2533 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2535 2014-02-12 Doug Evans <dje@google.com>
2537 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2538 (MISCELLANEOUS): New variable.
2539 (clean): rm -rf $(MISCELLANEOUS).
2540 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2541 dwp live in the same directory as symlinks, with each symlink pointed
2542 to a differently named file in a different directory.
2544 2014-02-11 Doug Evans <dje@google.com>
2546 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2547 of Tcl file commands.
2549 2014-02-10 Mark Kettenis <kettenis@gnu.org>
2551 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2554 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2556 * gdb.ada/tick_length_array_enum_idx: New testcase.
2558 2014-02-10 Doug Evans <xdje42@gmail.com>
2560 * configure.ac (AC_OUTPUT): Add gdb.guile.
2561 * configure: Regenerate.
2562 * lib/gdb-guile.exp: New file.
2563 * lib/gdb.exp (get_target_charset): New function.
2564 * gdb.base/help.exp: Update expected output from "apropos apropos".
2565 * gdb.guile/Makefile.in: New file.
2566 * gdb.guile/guile.exp: New file.
2567 * gdb.guile/scm-arch.c: New file.
2568 * gdb.guile/scm-arch.exp: New file.
2569 * gdb.guile/scm-block.c: New file.
2570 * gdb.guile/scm-block.exp: New file.
2571 * gdb.guile/scm-breakpoint.c: New file.
2572 * gdb.guile/scm-breakpoint.exp: New file.
2573 * gdb.guile/scm-disasm.c: New file.
2574 * gdb.guile/scm-disasm.exp: New file.
2575 * gdb.guile/scm-equal.c: New file.
2576 * gdb.guile/scm-equal.exp: New file.
2577 * gdb.guile/scm-error.exp: New file.
2578 * gdb.guile/scm-error.scm: New file.
2579 * gdb.guile/scm-frame-args.c: New file.
2580 * gdb.guile/scm-frame-args.exp: New file.
2581 * gdb.guile/scm-frame-args.scm: New file.
2582 * gdb.guile/scm-frame-inline.c: New file.
2583 * gdb.guile/scm-frame-inline.exp: New file.
2584 * gdb.guile/scm-frame.c: New file.
2585 * gdb.guile/scm-frame.exp: New file.
2586 * gdb.guile/scm-generics.exp: New file.
2587 * gdb.guile/scm-gsmob.exp: New file.
2588 * gdb.guile/scm-iterator.c: New file.
2589 * gdb.guile/scm-iterator.exp: New file.
2590 * gdb.guile/scm-math.c: New file.
2591 * gdb.guile/scm-math.exp: New file.
2592 * gdb.guile/scm-objfile-script-gdb.in: New file.
2593 * gdb.guile/scm-objfile-script.c: New file.
2594 * gdb.guile/scm-objfile-script.exp: New file.
2595 * gdb.guile/scm-objfile.c: New file.
2596 * gdb.guile/scm-objfile.exp: New file.
2597 * gdb.guile/scm-ports.exp: New file.
2598 * gdb.guile/scm-pretty-print.c: New file.
2599 * gdb.guile/scm-pretty-print.exp: New file.
2600 * gdb.guile/scm-pretty-print.scm: New file.
2601 * gdb.guile/scm-section-script.c: New file.
2602 * gdb.guile/scm-section-script.exp: New file.
2603 * gdb.guile/scm-section-script.scm: New file.
2604 * gdb.guile/scm-symbol.c: New file.
2605 * gdb.guile/scm-symbol.exp: New file.
2606 * gdb.guile/scm-symtab-2.c: New file.
2607 * gdb.guile/scm-symtab.c: New file.
2608 * gdb.guile/scm-symtab.exp: New file.
2609 * gdb.guile/scm-type.c: New file.
2610 * gdb.guile/scm-type.exp: New file.
2611 * gdb.guile/scm-value-cc.cc: New file.
2612 * gdb.guile/scm-value-cc.exp: New file.
2613 * gdb.guile/scm-value.c: New file.
2614 * gdb.guile/scm-value.exp: New file.
2615 * gdb.guile/source2.scm: New file.
2616 * gdb.guile/types-module.cc: New file.
2617 * gdb.guile/types-module.exp: New file.
2619 2014-02-10 Yao Qi <yao@codesourcery.com>
2622 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
2623 * configure: Regenerated.
2624 * Makefile.in: New file.
2626 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2628 * gdb.python/py-framefilter.exp: Fix typo.
2630 2014-02-08 Yao Qi <yao@codesourcery.com>
2632 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
2633 that no =breakpoint-modified is emitted when breakpoints are
2634 modified through MI commands.
2636 2014-02-07 Pedro Alves <pedro@codesourcery.com>
2637 Pedro Alves <palves@redhat.com>
2639 * gdb.threads/step-after-sr-lock.c: New file.
2640 * gdb.threads/step-after-sr-lock.exp: New file.
2642 2014-02-07 Pedro Alves <palves@redhat.com>
2644 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
2646 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2648 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
2649 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
2651 2014-02-06 Doug Evans <xdje42@gmail.com>
2653 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
2656 * gdb.gdb/python-interrupts.exp: New file.
2658 2014-02-05 Yao Qi <yao@codesourcery.com>
2660 * gdb.trace/report.exp (use_collected_data): Test the output
2661 of "info threads" and "info inferiors".
2663 2014-02-05 Yao Qi <yao@codesourcery.com>
2667 2013-05-24 Yao Qi <yao@codesourcery.com>
2669 * gdb.trace/tfile.exp: Test inferior and thread.
2671 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2673 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
2675 * gdb.base/step-bt.c: Call hello via function pointer to make
2676 sure its first instruction is executed on powerpc64le-linux.
2678 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2680 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
2682 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2684 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
2685 of the test patterns for use on little-endian systems.
2687 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2689 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
2690 (decimal_vector): Fix for little-endian.
2692 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2694 * gdb.arch/sparc-sysstep.exp: New file.
2695 * gdb.arch/sparc-sysstep.c: Likewise.
2697 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
2699 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2701 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2703 2014-01-23 Tom Tromey <tromey@redhat.com>
2705 * gdb.ada/array_char_idx: New testcase.
2707 2014-01-23 Tom Tromey <tromey@redhat.com>
2710 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
2711 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2714 2014-01-23 Tom Tromey <tromey@redhat.com>
2717 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2718 string from an inferior frame.
2719 * gdb.python/py-framefilter-mi.exp: Update.
2721 2014-01-22 Doug Evans <dje@google.com>
2723 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2725 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2727 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2729 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2731 * gdb.trace/entry-values.exp: Remove excess space character from
2732 regex patterns. Handle s390 call instruction.
2734 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2736 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
2737 define "*_start" label. Make "name" static.
2738 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
2739 ${name} by references to ${name}_start.
2741 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2743 * gdb.base/info-macros.exp: Remove "debug" from the compile
2746 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2748 * gdb.dlang/demangle.exp: New file.
2750 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2752 * gdb.dlang/primitive-types.exp: New file.
2754 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2756 * configure.ac: Create gdb.dlang/Makefile.
2757 * configure: Regenerate.
2758 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
2759 * gdb.dlang/Makefile.in: New file.
2760 * lib/d-support.exp: New file.
2761 * lib/gdb.exp (skip_d_tests): New proc.
2763 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2765 * gdb.btrace/delta.exp: Check reverse stepi.
2766 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
2767 * gdb.btrace/finish.exp: New.
2768 * gdb.btrace/next.exp: New.
2769 * gdb.btrace/nexti.exp: New.
2770 * gdb.btrace/record_goto.c: Add comments.
2771 * gdb.btrace/step.exp: New.
2772 * gdb.btrace/stepi.exp: New.
2773 * gdb.btrace/multi-thread-step.c: New.
2774 * gdb.btrace/multi-thread-step.exp: New.
2775 * gdb.btrace/rn-dl-bind.c: New.
2776 * gdb.btrace/rn-dl-bind.exp: New.
2777 * gdb.btrace/data.c: New.
2778 * gdb.btrace/data.exp: New.
2779 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2781 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2783 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
2784 * gdb.btrace/exception.exp: Update.
2785 * gdb.btrace/instruction_history.exp: Update.
2786 * gdb.btrace/record_goto.exp: Update.
2787 * gdb.btrace/tailcall.exp: Update.
2788 * gdb.btrace/unknown_functions.exp: Update.
2789 * gdb.btrace/delta.exp: New.
2791 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2793 * gdb.btrace/record_goto.exp: Add backtrace test.
2794 * gdb.btrace/tailcall.exp: Add backtrace test.
2796 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2798 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
2799 * gdb.btrace/record_goto.c: New.
2800 * gdb.btrace/record_goto.exp: New.
2801 * gdb.btrace/x86-record_goto.S: New.
2803 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2805 * gdb.btrace/function_call_history.exp: Update tests.
2806 * gdb.btrace/instruction_history.exp: Update tests.
2808 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2810 * gdb.btrace/function_call_history.exp: Fix expected field
2811 order for "record function-call-history".
2812 Add new tests for "record function-call-history /c".
2813 * gdb.btrace/exception.cc: New.
2814 * gdb.btrace/exception.exp: New.
2815 * gdb.btrace/tailcall.exp: New.
2816 * gdb.btrace/x86-tailcall.S: New.
2817 * gdb.btrace/x86-tailcall.c: New.
2818 * gdb.btrace/unknown_functions.c: New.
2819 * gdb.btrace/unknown_functions.exp: New.
2820 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2822 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2824 * gdb.btrace/instruction_history.exp: Update.
2825 * gdb.btrace/function_call_history.exp: Update.
2827 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2829 * gdb.btrace/function_call_history.exp: Fix expected function
2831 * gdb.btrace/instruction_history.exp: Initialize traced.
2832 Remove traced_functions.
2834 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2836 * gdb.btrace/function_call_history.exp: Update
2837 * gdb.btrace/instruction_history.exp: Update.
2839 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2841 * gdb.btrace/enable.exp: Update expected text.
2843 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
2845 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
2848 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
2850 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
2852 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2854 * lib/gdb.exp (supports_process_record): Return true for
2855 arm*-linux*. (supports_reverse): Likewise.
2857 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
2861 * gdb.python/py-type.c: Enhance test case.
2862 * gdb.python/py-value-cc.cc: Likewise
2863 * gdb.python/py-type.exp: Add new tests.
2864 * gdb.python/py-value-cc.exp: Likewise
2866 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2867 Pedro Alves <palves@redhat.com>
2869 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
2871 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
2872 references to ${name}_start by references to ${name}.
2874 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2876 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
2878 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2880 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
2882 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
2883 Pedro Alves <palves@redhat.com>
2885 * gdb.mi/mi-info-os.exp: Connect to the target with
2888 2014-01-08 Pedro Alves <palves@redhat.com>
2890 * gdb.threads/reconnect-signal.c: New file.
2891 * gdb.threads/reconnect-signal.exp: New file.
2893 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2895 * gdb.base/source-dir.exp: New file.
2897 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2899 * gdb.ada/mi_interface: New testcase.
2901 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2903 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
2904 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
2905 gdb.ada/pp-rec-component/pck.ads: New files.
2907 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2909 * gdb.python/py-pp-integral.c: New file.
2910 * gdb.python/py-pp-integral.py: New file.
2911 * gdb.python/py-pp-integral.exp: New file.
2913 For older changes see ChangeLog-1993-2013.
2919 ;; version-control: never
2922 Copyright 2014 Free Software Foundation, Inc.
2923 Copying and distribution of this file, with or without modification,
2924 are permitted provided the copyright notice and this notice are preserved.