1 2014-10-24 Pedro Alves <palves@redhat.com>
3 * gdb.base/corefile.exp: Remove references to ultrix.
4 * gdb.base/interrupt.exp: Likewise.
5 * gdb.base/whatis.exp: Likewise.
6 * gdb.gdb/selftest.exp: Likewise.
7 * gdb.threads/manythreads.exp: Likewise.
8 * gdb.threads/print-threads.exp: Likewise.
9 * gdb.threads/pthreads.exp:: Likewise.
10 * gdb.threads/schedlock.exp: Likewise.
12 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
14 * gdb.cp/non-trivial-retval.cc: Add a test case.
15 * gdb.cp/non-trivial-retval.exp: Add a test.
17 2014-10-20 Yao Qi <yao@codesourcery.com>
19 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
20 * gdb.python/py-objfile-script-gdb.py: New file.
21 * gdb.python/py-objfile-script.exp: Update reference to
22 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
23 of remote_download. Remove the dest file.
25 2014-10-20 Yao Qi <yao@codesourcery.com>
27 * gdb.base/checkpoint.exp: Don't remove file copied on host.
28 * gdb.base/step-line.exp: Likewise.
29 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
30 * gdb.dwarf2/dw2-basic.exp: Likewise.
31 * gdb.dwarf2/dw2-compressed.exp: Likewise.
32 * gdb.dwarf2/dw2-filename.exp: Likewise.
33 * gdb.dwarf2/dw2-intercu.exp: Likewise.
34 * gdb.dwarf2/dw2-intermix.exp: Likewise.
35 * gdb.dwarf2/dw2-producer.exp: Likewise.
36 * gdb.dwarf2/mac-fileno.exp: Likewise.
37 * gdb.python/py-frame-args.exp: Likewise.
38 * gdb.python/py-framefilter.exp: Likewise.
39 * gdb.python/py-mi.exp: Likewise.
40 * gdb.python/py-objfile-script.exp: Likewise
41 * gdb.python/py-pp-integral.exp: Likewise.
42 * gdb.python/py-pp-re-notag.exp: Likewise.
43 * gdb.python/py-prettyprint.exp: Likewise.
44 * gdb.python/py-section-script.exp: Likewise.
45 * gdb.python/py-typeprint.exp: Likewise.
46 * gdb.python/py-xmethods.exp: Likewise.
47 * gdb.stabs/weird.exp: Likewise.
48 * gdb.xml/tdesc-regs.exp: Likewise.
50 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
52 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
53 (out_cu): Use addr_len for the size of addresses.
54 (out_line): Likewise. Size DW_LNE_set_address instruction
55 according to addr_len.
56 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
57 (FUNC): Add START_INSNS to definition.
59 2014-10-18 Yao Qi <yao@codesourcery.com>
61 * gdb.base/argv0-symlink.exp: Check argv[0] value if
62 gdb_has_argv0 return true.
63 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
64 check [target_info exists noargs], check [gdb_has_argv0]
66 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
67 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
70 2014-10-17 Doug Evans <dje@google.com>
72 * gdb.python/py-events.exp: Update expected output for clear_objfiles
74 * gdb.python/py-events.py: Add clear_objfiles event.
76 2014-10-17 Doug Evans <dje@google.com>
78 * gdb.python/py-objfile.exp: Test progspace attribute.
80 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
82 * gdb.guile/scm-breakpoint.exp: Do not assume any
83 directory separators when matching source file paths.
84 * gdb.python/py-breakpoint.exp: Likewise.
85 * gdb.reverse/break-precsave.exp: Likewise.
86 * gdb.reverse/break-reverse.exp: Likewise.
87 * gdb.reverse/consecutive-precsave.exp: Likewise.
88 * gdb.reverse/finish-precsave.exp: Likewise.
89 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
90 * gdb.reverse/finish-reverse.exp: Likewise.
91 * gdb.reverse/i386-precsave.exp: Likewise.
92 * gdb.reverse/i387-env-reverse.exp: Likewise.
93 * gdb.reverse/i387-stack-reverse.exp: Likewise.
94 * gdb.reverse/machinestate-precsave.exp: Likewise.
95 * gdb.reverse/machinestate.exp: Likewise.
96 * gdb.reverse/sigall-precsave.exp: Likewise.
97 * gdb.reverse/solib-precsave.exp: Likewise.
98 * gdb.reverse/step-precsave.exp: Likewise.
99 * gdb.reverse/until-precsave.exp: Likewise.
100 * gdb.reverse/watch-precsave.exp: Likewise.
101 * gdb.reverse/watch-reverse.exp: Likewise.
103 2014-10-17 Yao Qi <yao@codesourcery.com>
105 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
106 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
108 2014-10-17 Pedro Alves <palves@redhat.com>
111 * gdb.base/bg-execution-repeat.c: New file.
112 * gdb.base/bg-execution-repeat.exp: New file.
114 2014-10-17 Pedro Alves <palves@redhat.com>
117 * gdb.base/continue-all-already-running.c: New file.
118 * gdb.base/continue-all-already-running.exp: New file.
120 2014-10-17 Pedro Alves <palves@redhat.com>
123 * gdb.base/annota-input-while-running.c: New file.
124 * gdb.base/annota-input-while-running.exp: New file.
126 2014-10-17 Pedro Alves <palves@redhat.com>
128 * gdb.base/callfuncs.exp: emove references to osf.
129 * gdb.base/sigall.exp: Likewise.
130 * gdb.gdb/selftest.exp: Likewise.
131 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
132 * gdb.mi/non-stop.c: Likewise.
133 * gdb.mi/pthreads.c: Likewise.
134 * gdb.reverse/sigall-precsave.exp: Likewise.
135 * gdb.reverse/sigall-reverse.exp: Likewise.
136 * gdb.threads/pthreads.c: Likewise.
137 * gdb.threads/pthreads.exp: Likewise.
139 2014-10-17 Yao Qi <yao@codesourcery.com>
141 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
142 check 'target_info exists noargs'.
143 (test_command_prompt_position): Likewise.
144 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
146 (progvar_simple_while_test): Likewise.
147 (progvar_complex_if_while_test): Likewise.
148 (if_while_breakpoint_command_test): Likewise.
149 (infrun_breakpoint_command_test): Likewise.
150 (breakpoint_command_test): Likewise.
151 (watchpoint_command_test): Likewise.
152 (bp_deleted_in_command_test): Likewise.
153 (temporary_breakpoint_commands): Likewise.
155 2014-10-16 Yao Qi <yao@codesourcery.com>
157 * gdb.base/remotetimeout.exp: Remove noargs checking.
159 2014-10-15 Pedro Alves <palves@redhat.com>
162 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
163 * gdb.base/breakpoint-in-ro-region.exp
164 (probe_target_hardware_step): New procedure.
165 (top level): Probe hardware stepping and hardware breakpoint
166 support. Test stepping through a read-only region, with both
167 "breakpoint auto-hw" on and off and both "always-inserted" on and
170 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
172 * gdb.dlang/demangle.exp: Update for demangling changes.
174 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
176 * gdb.cp/non-trivial-retval.cc: Add new test cases.
177 * gdb.cp/non-trivial-retval.exp: Add new tests.
179 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
183 * gdb.cp/non-trivial-retval.cc: New file.
184 * gdb.cp/non-trivial-retval.exp: New file.
186 2014-10-15 Yao Qi <yao@codesourcery.com>
188 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
191 2014-10-15 Yao Qi <yao@codesourcery.com>
193 * gdb.python/py-symbol.exp: Match file base name if host is
194 remote, otherwise match file name with dir name.
195 * gdb.python/py-symtab.exp: Likewise.
196 * gdb.python/python.exp: Likewise.
198 2014-10-15 Yao Qi <yao@codesourcery.com>
200 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
202 * gdb.python/py-symtab.exp: Likewise.
203 * gdb.python/python.exp: Remove trailing ".*". Fix typo
206 2014-10-14 Joel Brobecker <brobecker@adacore.com>
208 * gdb.ada/addr_arith: New testcase.
210 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
212 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
213 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
214 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
215 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
217 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
219 * gdb.arch/stap-eval-lang-ada.S: Likewise.
220 * gdb.arch/stap-eval-lang-ada.c: Likewise.
221 * gdb.arch/stap-eval-lang-ada.exp: New file.
223 2014-10-14 Yao Qi <yao@codesourcery.com>
225 * gdb.mi/mi-var-child.c (nothing1): New function.
226 (nothing2): New function.
227 (do_children_tests): Set function pointers by nothing1 and
229 * gdb.mi/mi-var-child.exp: Step over new added statements.
230 Update test to match the new output.
231 * gdb.mi/var-cmd.c (nothing1): New function.
232 (nothing2): New function.
233 (do_children_tests): Set function pointers by nothing1 and
235 * gdb.mi/mi-var-display.exp: Update test to match output.
236 Step to the line specified by $line_dct_nothing.
237 Increase the number of lines to step.
239 2014-10-14 Yao Qi <yao@codesourcery.com>
241 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
243 * gdb.mi/mi2-var-child.exp: Likewise.
245 2014-10-13 Doug Evans <dje@google.com>
247 * gdb.python/py-objfile.exp: Change name of file name test.
249 2014-10-13 Doug Evans <dje@google.com>
251 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
252 from the start of the CU.
254 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
255 Yao Qi <yao@codesourcery.com>
257 Fix "save breakpoints" for "catch" command.
258 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
259 Remove -nonewline. Match also the added "main" line.
261 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
263 Fix "save breakpoints" for "disable $bpnum" command.
264 * gdb.base/save-bp.c (main): Add label.
265 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
267 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
269 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
271 2014-10-11 Yao Qi <yao@codesourcery.com>
273 * gdb.server/server-kill.exp: Execute command
274 "set remote trace-status-packet on" before "tstatus".
276 2014-10-11 Yao Qi <yao@codesourcery.com>
278 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
279 (main): Call getppid.
280 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
281 and continue to it. Read variable "server_pid".
283 2014-10-11 Yao Qi <yao@codesourcery.com>
285 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
287 2014-10-11 Yao Qi <yao@codesourcery.com>
289 * gdb.threads/thread-find.exp: Don't execute command
291 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
292 * gdb.threads/linux-dp.exp: Don't check the condition
293 $threads_created equals to zero.
295 2014-10-10 Pedro Alves <palves@redhat.com>
297 * gdb.base/bigcore.exp: Remove references to IRIX.
298 * gdb.base/funcargs.exp: Likewise.
299 * gdb.base/interrupt.exp: Likewise.
300 * gdb.base/mips_pro.exp: Likewise.
301 * gdb.base/nodebug.exp: Likewise.
302 * gdb.base/setvar.exp: Likewise.
303 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
305 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
306 Pedro Alves <palves@redhat.com>
309 * gdb.base/vdso-warning.c: New file.
310 * gdb.base/vdso-warning.exp: New file.
312 2014-10-02 Doug Evans <dje@google.com>
314 * gdb.base/structs.c (main): Don't run forever.
316 2014-10-02 Pedro Alves <palves@redhat.com>
318 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
319 (top level) <stop threads 1, stop threads 2>: Use it.
321 2014-10-02 Pedro Alves <palves@redhat.com>
323 * gdb.threads/break-while-running.exp (test): Add new
324 'update_thread_list' argument. Skip "info threads" if false.
325 (top level): Add new 'update_thread_list' axis.
327 2014-10-02 Pedro Alves <palves@redhat.com>
330 * gdb.base/execl-update-breakpoints.c: New file.
331 * gdb.base/execl-update-breakpoints.exp: New file.
333 2014-10-01 Pedro Alves <palves@redhat.com>
335 * gdb.base/breakpoint-in-ro-region.c: New file.
336 * gdb.base/breakpoint-in-ro-region.exp: New file.
338 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
340 * gdb.mi/mi-exit-code.exp: New file.
341 * gdb.mi/mi-exit-code.c: New file.
343 2014-09-30 Yao Qi <yao@codesourcery.com>
345 * lib/prelink-support.exp (build_executable_own_libs): Error if
346 the target isn't native.
348 2014-09-30 Yao Qi <yao@codesourcery.com>
350 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
353 2014-09-22 Pedro Alves <palves@redhat.com>
355 * gdb.threads/break-while-running.exp: New file.
356 * gdb.threads/break-while-running.c: New file.
358 2014-09-19 Yao Qi <yao@codesourcery.com>
360 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
361 Invoke test. Restart GDB with --readnow and invoke test again.
363 2014-09-19 Yao Qi <yao@codesourcery.com>
365 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
366 proc set_breakpoint_on_gcd_function. Invoke
367 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
368 invoke set_breakpoint_on_gcd_function again.
370 2014-09-18 Doug Evans <dje@google.com>
372 * gdb.dwarf2/symtab-producer.exp: New file.
374 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
376 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
377 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
378 * gdb.base/global-var-nested-by-dso.c: Likewise.
379 * gdb.base/global-var-nested-by-dso.exp: Likewise.
381 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
382 Pedro Alves <palves@redhat.com>
384 * gdb.base/watch-bitfields.exp: Pass string other than test file
385 name to prepare_for_testing.
386 (watch): New procedure.
387 (expect_watchpoint): Use with_test_prefix.
388 (top level): Factor out tests to ...
389 (test_watch_location, test_regular_watch): ... these new
390 procedures, and use with_test_prefix and gdb_continue_to_end.
392 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
395 * gdb.base/watch-bitfields.exp: New file.
396 * gdb.base/watch-bitfields.c: New file.
398 2014-09-16 Pedro Alves <palves@redhat.com>
400 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
401 software and hardware addresses, not software address against
404 2014-09-16 Pedro Alves <palves@redhat.com>
406 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
407 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
409 2014-09-16 Pedro Alves <palves@redhat.com>
411 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
413 * gdb.base/a2-run.exp: Remove all code guarded by istarget
414 "*-*-vxworks*" throughout.
415 * gdb.base/break.exp: Likewise.
416 * gdb.base/default.exp: Likewise.
417 * gdb.base/scope.exp: Likewise.
418 * gdb.base/sepdebug.exp: Likewise.
419 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
421 * gdb.base/run.c: Likewise.
422 * gdb.base/sepdebug.c: Likewise.
423 * gdb.hp/gdb.aCC/run.c: Likewise.
424 * gdb.reverse/until-reverse.c: Likewise.
425 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
427 2014-09-16 Yao Qi <yao@codesourcery.com>
429 * boards/local-remote-host-native.exp: New file.
431 2014-09-14 Doug Evans <xdje42@gmail.com>
433 * gdb.threads/queue-signal.c (thread_count): New variable.
434 (thread_count_mutex, thread_count_condvar): New variables.
435 (incr_thread_count, wait_all_threads_running): New functions.
436 (main): Wait for all threads to be in their thread functions.
438 2014-09-13 Doug Evans <xdje42@gmail.com>
440 * gdb.threads/queue-signal.c: New file.
441 * gdb.threads/queue-signal.exp: New file.
443 2014-09-13 Doug Evans <xdje42@gmail.com>
445 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
446 be consistent with what default_gdb_init uses.
447 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
448 the plain text of the prompt. Add some logging printfs.
449 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
451 2014-09-12 Pedro Alves <palves@redhat.com>
453 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
454 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
455 * gdb.arch/i386-size-overlap.exp: Likewise.
456 * gdb.arch/i386-size.exp: Likewise.
457 * gdb.arch/i386-unwind.exp: Likewise.
458 * gdb.base/a2-run.exp: Likewise.
459 * gdb.base/break.exp: Likewise.
460 * gdb.base/charset.exp: Likewise.
461 * gdb.base/chng-syms.exp: Likewise.
462 * gdb.base/commands.exp: Likewise.
463 * gdb.base/dbx.exp: Likewise.
464 * gdb.base/find.exp: Likewise.
465 * gdb.base/funcargs.exp: Likewise.
466 * gdb.base/jit-simple.exp: Likewise.
467 * gdb.base/reread.exp: Likewise.
468 * gdb.base/sepdebug.exp: Likewise.
469 * gdb.base/step-bt.exp: Likewise.
470 * gdb.cp/mb-inline.exp: Likewise.
471 * gdb.cp/mb-templates.exp: Likewise.
472 * gdb.objc/basicclass.exp: Likewise.
473 * gdb.threads/killed.exp: Likewise.
475 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
478 * gdb.arch/powerpc-stackless.S: New file.
479 * gdb.arch/powerpc-stackless.exp: New file.
481 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
483 * gdb.base/attach.c: Include unistd.h.
484 (main): Call alarm. Add label postloop.
485 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
486 gdb_breakpoint, gdb_continue_to_breakpoint.
487 (test_command_line_attach_run): Kill ${testpid} in one exit path.
489 2014-09-11 Pedro Alves <palves@redhat.com>
492 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
493 * gdb.base/attach.exp (test_command_line_attach_run): New
495 (top level): Call it.
497 2014-09-11 Pedro Alves <palves@redhat.com>
499 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
500 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
501 (do_command_attach_tests): Use spawn_wait_for_attach.
502 * gdb.base/solib-overlap.exp: Likewise.
503 * gdb.multi/multi-attach.exp: Likewise.
504 * gdb.python/py-prompt.exp: Likewise.
505 * gdb.python/py-sync-interp.exp: Likewise.
506 * gdb.server/ext-attach.exp: Likewise.
508 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
510 * gdb.fortran/array-element.exp: Remove unexpected "continue"
511 command in testcase. Simplify testcase.
513 2014-09-10 Joel Brobecker <brobecker@adacore.com>
515 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
517 2014-09-10 Joel Brobecker <brobecker@adacore.com>
519 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
521 2014-09-10 Joel Brobecker <brobecker@adacore.com>
523 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
525 2014-09-10 Joel Brobecker <brobecker@adacore.com>
527 * gdb.dwarf2/dynarr-ptr.c: New file.
528 * gdb.dwarf2/dynarr-ptr.exp: New file.
530 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
532 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
533 of 30 rather than hardcoding 120 for a slow test case. Take the
534 `gdb,timeout' target setting into account for this calculation.
535 Don't extend the timeout for the test cases that don't need it.
537 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
539 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
540 a factor of 2 for a slow test case. Take the `gdb,timeout'
541 target setting into account for this calculation.
542 * gdb.reverse/until-precsave.exp: Increase the timeout by
543 a factor of 15 and 3 respectively rather than adding 120
544 for a pair of slow test cases. Take the `gdb,timeout'
545 target setting into account for this calculation.
547 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
549 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
550 timeout, don't pass one down to gdb_expect.
551 (gdb_expect): Rework timeout selection.
553 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
555 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
556 exception on timeout.
557 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
558 (gdbserver_start_extended): Catch any `gdbserver_start' error
560 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
561 * lib/mi-support.exp (mi_gdb_target_load): Catch any
562 `gdbserver_gdb_load' error exceptions.
564 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
566 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
567 120 on waiting for the TCP socket to open.
569 2014-09-09 Doug Evans <xdje42@gmail.com>
571 * gdb.base/default.exp (show_conv_list): Add _caller_is,
572 _caller_matches, _any_caller_is, _any_caller_matches.
574 2014-09-09 Doug Evans <xdje42@gmail.com>
576 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
578 2014-09-09 Yao Qi <yao@codesourcery.com>
580 * gdb.mi/mi-var-display.exp: Set print symbol off.
582 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
585 * gdb.base/commands.exp: Add tests to verify user-defined
586 commands with empty bodies.
587 * gdb.python/py-cmd.exp: Test that we don't show user-defined
588 python commands in `show user command`.
589 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
590 scheme commands in `show user command`.
592 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
595 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
596 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
597 * gdb.python/py-framefilter-invalidarg.exp: New file.
598 * gdb.python/py-framefilter-invalidarg.py: New file.
600 2014-09-06 Doug Evans <xdje42@gmail.com>
603 * gdb.python/py-caller-is.c: New file.
604 * gdb.python/py-caller-is.exp: New file.
606 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
609 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
610 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
612 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
615 * gdb.fortran/print-formatted.exp: New file.
616 * gdb.fortran/print-formatted.f90: Likewise.
618 2014-09-03 Sasha Smundak <asmundak@google.com>
620 * gdb.python/py-frame.exp: Test Frame.read_register.
622 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
625 * gdb.python/py-completion.exp: New file.
626 * gdb.python/py-completion.py: Likewise.
628 2014-08-28 Doug Evans <dje@google.com>
630 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
631 eax,etc. are live with values set by gdb and thus the compiler can't
633 * gdb.arch/i386-pseudo.c (main): Ditto.
635 2014-08-27 Doug Evans <dje@google.com>
637 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
639 2014-08-25 Doug Evans <dje@google.com>
641 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
644 2014-08-25 Doug Evans <dje@google.com>
646 * gdb.threads/thread-execl.exp: #include <stdio.h>.
648 2014-08-24 Yao Qi <yao@codesourcery.com>
650 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
652 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
654 2014-08-22 Doug Evans <dje@google.com>
657 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
658 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
659 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
661 2014-08-22 Yao Qi <yao@codesourcery.com>
663 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
664 * gdb.python/py-finish-breakpoint2.exp: Likewise.
665 * gdb.python/python.exp: Likewise. Use .py file on the host
666 instead of the build.
668 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
670 * gdb.threads/gcore-stale-thread.c: New file.
671 * gdb.threads/gcore-stale-thread.exp: New file.
673 2014-08-21 Pedro Alves <palves@redhat.com>
675 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
676 * gdb.base/gcore-relro-pie.exp: Likewise.
677 * gdb.base/gcore-relro.exp: Likewise.
678 * gdb.base/gcore.exp: Likewise.
679 * gdb.base/print-symbol-loading.exp: Likewise.
680 * gdb.threads/gcore-thread.exp: Likewise.
681 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
683 2014-08-20 Pedro Alves <palves@redhat.com>
684 Jan Kratochvil <jan.kratochvil@redhat.com>
686 * Makefile.in (EXTRA_RULES, CC): New variables, get from
688 (EXPECT): Handle READ1 being set.
689 (all): Depend on EXTRA_RULES.
690 (check-read1, expect-read1, read1.so, read1): New rules.
691 * README (Testsuite Parameters): Document the READ1 make variable.
692 (Race detection): New section.
693 * configure: Regenerate.
694 * configure.ac: If build==host==target, and running under a
695 GNU/glibc system, add read1 to the extra Makefile rules.
696 (EXTRA_RULES): AC_SUBST it.
697 * lib/read1.c: New file.
699 2014-08-20 Joel Brobecker <brobecker@adacore.com>
701 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
702 the handling of variables declared as a typedef to an array
703 which a DW_AT_data_location attribute.
705 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
706 Pedro Alves <palves@redhat.com>
710 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
713 2014-08-19 Pedro Alves <palves@redhat.com>
715 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
717 2014-08-19 Yao Qi <yao@codesourcery.com>
719 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
722 2014-08-18 David Blaikie <dblaikie@gmail.com>
724 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
726 2014-08-18 Joel Brobecker <brobecker@adacore.com>
728 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
729 attribute in array range.
731 2014-08-18 Joel Brobecker <brobecker@adacore.com>
733 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
735 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
738 * gdb.cp/pr17132.cc: New file.
739 * gdb.cp/pr17132.exp: New file.
741 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
743 * gdb.python/py-xmethods.py (A_getarrayind)
744 (E_method_char_worker.__call__, E_method_int_worker.__call__):
745 Use 'print' with function call syntax.
746 (E_method_matcher.match): Fix tab vs space indentation mixup.
748 2014-08-15 Yao Qi <yao@codesourcery.com>
750 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
753 2014-08-15 Yao Qi <yao@codesourcery.com>
755 * gdb.cp/casts.exp: Set print symbol off.
756 * gdb.cp/class2.exp: Likewise.
757 * gdb.cp/overload.exp: Likewise.
758 * gdb.cp/templates.exp: Likewise.
760 2014-08-11 Doug Evans <dje@google.com>
762 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
763 (test_load_shlib): Update.
765 2014-08-09 Yao Qi <yao@codesourcery.com>
767 * gdb.base/display.exp: Invoke is_address_zero_readable.
768 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
769 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
770 * gdb.base/hbreak-unmapped.exp: Return if
771 is_address_zero_readable returns true.
772 * gdb.base/signest.exp: Likewise.
773 * gdb.base/signull.exp: Likewise.
774 * gdb.base/sigbpt.exp: Likewise.
775 * gdb.guile/scm-disasm.exp: Do the test if
776 is_address_zero_readable returns false.
777 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
778 * gdb.python/py-arch.exp: Likewise.
779 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
780 * lib/gdb.exp (is_address_zero_readable): New proc.
782 2014-08-09 Yao Qi <yao@codesourcery.com>
785 * gdb.mi/mi-var-display.exp: Make test messages unique.
787 2014-08-04 Tom Tromey <tromey@redhat.com>
789 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
792 2014-08-04 Tom Tromey <tromey@redhat.com>
794 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
797 2014-08-01 Joel Brobecker <brobecker@adacore.com>
799 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
800 inner_vla_struct_object_size.
801 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
804 2014-07-30 Pedro Alves <palves@redhat.com>
806 * gdb.threads/signal-command-handle-nopass.exp (test): Add
809 2014-07-29 Yao Qi <yao@codesourcery.com>
812 * gdb.base/until-nodebug.exp: New.
814 2014-07-28 Doug Evans <xdje42@gmail.com>
817 * gdb.guile/scm-parameter.exp: Add tests for trying to create
818 previously existing parameter, and previously ambiguously spelled
821 2014-07-28 Will Newton <will.newton@linaro.org>
823 * gdb.base/varargs.exp: Remove KFAILs for ARM.
825 2014-07-26 Ludovic Courtès <ludo@gnu.org>
826 Doug Evans <xdje42@gmail.com>
829 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
831 2014-07-25 Pedro Alves <palves@redhat.com>
833 * gdb.threads/signal-command-handle-nopass.c: New file.
834 * gdb.threads/signal-command-handle-nopass.exp: New file.
835 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
836 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
837 * gdb.threads/signal-delivered-right-thread.c: New file.
838 * gdb.threads/signal-delivered-right-thread.exp: New file.
840 2014-07-25 Pedro Alves <palves@redhat.com>
842 * gdb.base/double-prompt-target-event-error.exp
843 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
845 (cancel_pagination_in_target_event): Rework double prompt
847 * gdb.base/paginate-after-ctrl-c-running.exp
848 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
850 * gdb.base/paginate-bg-execution.exp
851 (test_bg_execution_pagination_return)
852 (test_bg_execution_pagination_cancel): Remove '-notransfer
854 * gdb.base/paginate-execution-startup.exp
855 (test_fg_execution_pagination_return)
856 (test_fg_execution_pagination_cancel): Remove '-notransfer
858 * gdb.base/paginate-inferior-exit.exp
859 (test_paginate_inferior_exited): Remove '-notransfer <return>'
861 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
862 * lib/gdb.exp (pagination_prompt): Run text through
864 (gdb_test_multiple): Match $pagination_prompt instead of
866 (string_to_regexp): Move to lib/gdb-utils.exp.
868 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
870 * gdb.arch/amd64-entry-value-paramref.S: New file.
871 * gdb.arch/amd64-entry-value-paramref.cc: New file.
872 * gdb.arch/amd64-entry-value-paramref.exp: New file.
873 * gdb.arch/amd64-optimout-repeat.S: New file.
874 * gdb.arch/amd64-optimout-repeat.c: New file.
875 * gdb.arch/amd64-optimout-repeat.exp: New file.
877 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
880 * gdb.base/statistics.exp: New file.
882 2014-07-17 Doug Evans <dje@google.com>
885 * gdb.base/maint.exp: Update testing of per-command stats.
887 2014-07-16 Pedro Alves <palves@redhat.com>
889 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
890 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
891 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
892 (tfile_write_buf): New functions.
893 (add_memory_block): Rewrite using the above.
894 (adjust_function_address): New function.
895 (FUNCTION_ADDRESS): New macro.
896 (write_basic_trace_file): Remove short_x local, and use
897 tfile_write_16. Change type of func_addr local to unsigned long
898 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
899 here. Cast argument of add_memory_block to char pointer.
900 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
901 (main): Remove parameters.
902 * gdb.trace/tfile.exp: Remove nowarnings.
904 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
906 * gdb.base/debug-expr.exp: Test string evaluation with
907 "debug expression" on.
909 2014-07-15 Pedro Alves <palves@redhat.com>
911 * gdb.base/reread.exp: Use clean_restart.
913 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
915 * gdb.arch/avr-flash-qualifer.c: New.
916 * gdb.arch/avr-flash-qualifer.exp: New.
918 2014-07-14 Pedro Alves <palves@redhat.com>
920 * gdb.base/paginate-after-ctrl-c-running.c: New file.
921 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
923 2014-07-14 Pedro Alves <palves@redhat.com>
925 * gdb.base/double-prompt-target-event-error.c: New file.
926 * gdb.base/double-prompt-target-event-error.exp: New file.
928 2014-07-14 Pedro Alves <palves@redhat.com>
931 * gdb.base/paginate-inferior-exit.c: New file.
932 * gdb.base/paginate-inferior-exit.exp: New file.
934 2014-07-14 Pedro Alves <palves@redhat.com>
937 * gdb.base/paginate-bg-execution.c: New file.
938 * gdb.base/paginate-bg-execution.exp: New file.
940 2014-07-14 Pedro Alves <palves@redhat.com>
943 * gdb.base/paginate-execution-startup.c: New file.
944 * gdb.base/paginate-execution-startup.exp: New file.
945 * lib/gdb.exp (pagination_prompt): New global.
946 (default_gdb_spawn): New procedure, factored out from
948 (default_gdb_start): Adjust to call default_gdb_spawn.
949 (gdb_spawn): New procedure.
951 2014-07-14 Pedro Alves <palves@redhat.com>
953 * lib/gdb.exp (gdb_assert): New procedure.
954 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
956 2014-07-14 Pedro Alves <palves@redhat.com>
958 * gdb.base/execution-termios.c: New file.
959 * gdb.base/execution-termios.exp: New file.
961 2014-07-14 Tom Tromey <tromey@redhat.com>
963 * gdb.cp/vla-cxx.cc: New file.
964 * gdb.cp/vla-cxx.exp: New file.
966 2014-07-14 Tom Tromey <tromey@redhat.com>
968 * gdb.reverse/rerun-prec.c: New file.
969 * gdb.reverse/rerun-prec.exp: New file.
971 2014-07-12 Maciej W. Rozycki <macro@mips.com>
972 Maciej W. Rozycki <macro@codesourcery.com>
974 * lib/gdb-utils.exp: New file.
975 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
976 inline `gdb_init_command' processing.
977 (gdb_start_cmd): Likewise.
978 * lib/mi-support.exp (mi_run_cmd): Likewise.
979 * README: Document `gdb_init_command' and `gdb_init_commands'.
981 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
983 Fix false FAIL running under a very long directory name.
984 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
985 and "set print elements 10000". Twice.
987 2014-07-11 Yao Qi <yao@codesourcery.com>
989 * gdb.base/exprs.exp: "set print symbol off".
991 2014-07-11 Pedro Alves <palves@redhat.com>
993 * gdb.threads/kill.c: New file.
994 * gdb.threads/kill.exp: New file.
996 2014-07-10 Yao Qi <yao@codesourcery.com>
998 * gdb.trace/tfile.c (write_basic_trace_file)
999 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1000 address written to trace file.
1002 2014-07-09 Pedro Alves <palves@redhat.com>
1004 * gdb.base/attach-wait-input.exp: New file.
1005 * gdb.base/attach-wait-input.c: New file.
1007 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1009 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1010 setting up test structures.
1011 (main): Call new test function.
1012 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1013 test function, continue into test function and walk test
1016 2014-07-02 Yao Qi <yao@codesourcery.com>
1018 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1019 'bar_start' at the beginning of functions 'foo' and 'bar'
1021 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1022 instead of 'foo' and 'bar'.
1024 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1026 * gdb.btrace/segv.exp: New.
1027 * gdb.btrace/segv.c: New.
1029 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
1031 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1034 2014-06-30 Mark Wielaard <mjw@redhat.com>
1036 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1037 vulture, vilify, villar): New volatile array constants.
1038 (vindictive, vegetation): New const volatile array constants.
1039 * gdb.base/volatile.exp: Test volatile and const volatile array
1042 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1044 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1045 target lacks support for awatch, rwatch, or hbreak.
1047 2014-06-27 Yao Qi <yao@codesourcery.com>
1049 * gdb.multi/dummy-frame-restore.exp: New.
1050 * gdb.multi/dummy-frame-restore.c: New.
1052 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1054 * gdb.btrace/gcore.exp: New.
1056 2014-06-23 Pedro Alves <palves@redhat.com>
1058 * gdb.base/watchpoint-reuse-slot.c: New file.
1059 * gdb.base/watchpoint-reuse-slot.exp: New file.
1061 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1063 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1064 progspace's filename in 'info', 'enable' and 'disable' command
1067 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1069 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1070 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1071 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1073 2014-06-20 Gary Benson <gbenson@redhat.com>
1075 * gdb.arch/i386-avx.exp: Fix include file location.
1076 * gdb.arch/i386-sse.exp: Likewise.
1078 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1080 * gdb.dlang/expression.exp: New file.
1082 2014-06-19 Pedro Alves <palves@redhat.com>
1084 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1086 (top level): ... here. Iterate running tests under different
1087 scheduler-locking settings.
1089 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
1091 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1092 to DW_FORM_addr and use non-zero addresses.
1094 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1097 * gdb.python/py-xmethods.cc: Add global function call counters and
1098 increment them in their respective functions. Remove "cout"
1100 * gdb.python/py-xmethods.exp: Make tests check the global function
1101 call counters instead of depending on inferior IO.
1103 2014-06-18 Don Breazeal <donb@codesourcery.com>
1105 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1107 (explicit_fork_parent_follow): Deleted procedure.
1108 (explicit_fork_child_follow): Deleted procedure.
1109 (test_follow_fork): New procedure.
1110 (do_fork_tests): Replace calls to deleted procedures with
1111 calls to test_follow_fork and reset GDB for subsequent
1114 2014-06-17 Yao Qi <yao@codesourcery.com>
1116 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1119 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
1121 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1122 Initialize ptr and S explicitly.
1123 (skip_type_update_when_not_use_rtti_test): Likewise.
1125 2014-06-16 Keith Seitz <keiths@redhat.com>
1128 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1129 the inferior is started.
1131 2014-06-16 Pedro Alves <palves@redhat.com>
1133 * gdb.base/break-main-file-remove-fail.c: New file.
1134 * gdb.base/break-main-file-remove-fail.exp: New file.
1135 * gdb.base/break-unload-file.exp: Use build_executable instead of
1136 prepare_for_testing.
1137 (test_break): New parameter "initial_load". Handle it.
1138 (top level): Add initial_load cmdline/file axis.
1140 2014-06-12 Tom Tromey <tromey@redhat.com>
1142 * gdb.base/completion.exp: Don't use directory name in test.
1144 2014-06-09 Gary Benson <gbenson@redhat.com>
1146 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1147 separate the always-available ANSI-standard signals from the
1148 signals that require checking.
1150 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1154 2014-06-07 Keith Seitz <keiths@redhat.com>
1158 * gdb.cp/var-tag.cc: New file.
1159 * gdb.cp/var-tag.exp: New file.
1160 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1161 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1162 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1163 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1165 2014-06-06 Doug Evans <xdje42@gmail.com>
1167 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1169 2014-06-06 Pedro Alves <palves@redhat.com>
1171 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1172 in target debug output instead of looking at RSP packets,
1173 disabling the test on any target that uses hardware stepping.
1176 2014-06-06 Pedro Alves <palves@redhat.com>
1178 * gdb.base/break-unload-file.exp: Fix typo.
1180 2014-06-06 Yao Qi <yao@codesourcery.com>
1182 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1183 from "jit_function" to "^jit_function".
1185 2014-06-06 Yao Qi <yao@codesourcery.com>
1187 * gdb.base/async.c (foo): Add one statement.
1188 * gdb.base/async.exp: Get the next instruction address and
1189 match the output of "nexti" by instruction address. Match
1190 the hex address in the output of "finish".
1192 2014-06-06 Gary Benson <gbenson@redhat.com>
1194 * gdb.base/call-signals.c: Remove preprocessor conditionals
1195 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1196 SIGSEGV and SIGTERM.
1197 * gdb.base/sigall.c: Likewise.
1198 * gdb.base/unwindonsignal.c: Likewise.
1199 * gdb.reverse/sigall-reverse.c: Likewise.
1201 2014-06-06 Yao Qi <yao@codesourcery.com>
1203 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1204 readable, skip the test.
1206 2014-06-06 Yao Qi <yao@codesourcery.com>
1208 * gdb.threads/staticthreads.c (thread_function): Move the line
1209 setting breakpoint on forward.
1210 * gdb.threads/staticthreads.exp: Update comments.
1212 2014-06-05 Ludovic Courtès <ludo@gnu.org>
1214 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1215 "history-append! type error".
1217 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1219 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1220 erroneous dprintf expected input.
1222 2014-06-04 Doug Evans <xdje42@gmail.com>
1224 * gdb.guile/scm-generics.exp: Delete.
1226 2014-06-04 Doug Evans <xdje42@gmail.com>
1228 * gdb.guile/scm-breakpoint.exp: Update.
1229 Add tests for breakpoint registration.
1231 2014-06-04 Tom Tromey <tromey@redhat.com>
1233 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1235 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1236 inner_vla_struct, vla_union types. Initialize objects of those
1237 types and compute their sizes.
1239 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1240 Hui Zhu <hui@codesourcery.com>
1242 * gdb.base/fileio.exp: Add test for shell not available as well as
1244 * gdb.base/fileio.c (test_system): Check for shell twice.
1246 2014-06-04 Yao Qi <yao@codesourcery.com>
1248 * gdb.base/auto-connect-native-target.exp: Remove redundant
1249 space from the regexp pattern.
1251 2014-06-04 Yao Qi <yao@codesourcery.com>
1253 * gdb.base/default.exp: Replace "child" with "native" in
1256 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1258 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1259 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1260 * gdb.python/py-xmethods.py: Python script supporting the
1261 new testcase and tests.
1263 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1264 Pedro Alves <palves@redhat.com>
1266 PR breakpoints/17000
1267 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1268 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1270 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1272 * gdb.base/subst.exp: Add tests to verify partial path matching
1275 2014-06-03 Pedro Alves <palves@redhat.com>
1277 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1278 target that doesn't use software single-stepping.
1280 2014-06-03 Pedro Alves <palves@redhat.com>
1282 PR breakpoints/17000
1283 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1284 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1286 2014-06-02 Doug Evans <xdje42@gmail.com>
1288 * gdb.guile/scm-parameter.exp: New file.
1290 2014-06-02 Doug Evans <xdje42@gmail.com>
1292 * gdb.guile/scm-cmd.c: New file.
1293 * gdb.guile/scm-cmd.exp: New file.
1295 2014-06-02 Doug Evans <xdje42@gmail.com>
1297 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1298 pretty-printer lookup.
1299 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1300 (make-pp_s-printer): Call it.
1301 (make-pretty-printer-from-dict): New function.
1302 (lookup-pretty-printer-maker-from-dict): New function.
1303 (*pretty-printer*): Simplify.
1304 (make-objfile-pp_s-printer): New function.
1305 (install-objfile-pretty-printers!): New function.
1306 (make-progspace-pp_s-printer): New function.
1307 (install-progspace-pretty-printers!): New function.
1308 * gdb.guile/scm-progspace.c: New file.
1309 * gdb.guile/scm-progspace.exp: New file.
1311 2014-06-02 Pedro Alves <palves@redhat.com>
1313 * gdb.base/dprintf-bp-same-addr.c: New file.
1314 * gdb.base/dprintf-bp-same-addr.exp: New file.
1316 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1318 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1319 * gdb.arch/powerpc-power.s: Likewise.
1321 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1323 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1325 2014-06-01 Yao Qi <yao@codesourcery.com>
1327 * gdb.base/watchpoint.exp (test_watch_location): Check null
1328 pointer can be dereferenced. If not, do the test, otherwise
1331 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1333 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1335 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1337 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1339 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1340 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1341 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1342 * gdb.arch/amd64-invalid-stack-top.c: New file.
1343 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1345 2014-05-30 Pedro Alves <palves@redhat.com>
1347 PR breakpoints/17000
1348 * gdb.base/sss-bp-on-user-bp.c: New file.
1349 * gdb.base/sss-bp-on-user-bp.exp: New file.
1351 2014-05-30 David Blaikie <dblaikie@gmail.com>
1353 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1354 gnu_inline semantics via attribute.
1355 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1356 source explicitly specifies the required semantics.
1358 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1360 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1362 2014-05-29 Pedro Alves <palves@redhat.com>
1363 Tom Tromey <tromey@redhat.com>
1365 * gdb.base/async-shell.exp: Don't enable target-async.
1366 * gdb.base/async.exp
1367 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1369 (top level): Don't test with "target-async".
1370 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1371 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1372 * gdb.base/inferior-died.exp: Don't enable target-async.
1373 * gdb.base/interrupt-noterm.exp: Likewise.
1374 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1375 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1376 * gdb.mi/mi-nonstop.exp: Likewise.
1377 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1378 * gdb.mi/mi-nsintrall.exp: Likewise.
1379 * gdb.mi/mi-nsmoribund.exp: Likewise.
1380 * gdb.mi/mi-nsthrexec.exp: Likewise.
1381 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1382 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1383 * gdb.python/py-evsignal.exp: Don't enable target-async.
1384 * gdb.python/py-evthreads.exp: Likewise.
1385 * gdb.python/py-prompt.exp: Likewise.
1386 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1387 * gdb.server/solib-list.exp: Don't enable target-async.
1388 * gdb.threads/thread-specific-bp.exp: Likewise.
1389 * lib/mi-support.exp: Adjust to use mi-async.
1391 2014-05-29 Pedro Alves <palves@redhat.com>
1394 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1395 reason, even in sync mode.
1397 2014-05-29 Pedro Alves <palves@redhat.com>
1398 Hui Zhu <hui@codesourcery.com>
1401 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1402 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1403 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1404 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1406 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1408 * config/monitor.exp (gdb_target_monitor): Replace use of
1409 "set remotebaud" by "set serial baud".
1411 2014-05-26 Andy Wingo <wingo@igalia.com>
1413 * gdb.guile/scm-breakpoint.exp:
1414 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1415 properties instead of gdb-object-properties.
1417 2014-05-26 Yao Qi <yao@codesourcery.com>
1419 * gdb.server/no-thread-db.exp: Specify source file name
1420 explicitly when setting a breakpoint.
1422 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1424 * gdb.btrace/vdso.c: New.
1425 * gdb.btrace/vdso.exp: New.
1427 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1429 * gdb.base/gcore.exp (capture_command_output): Move ...
1430 * lib/gdb.exp (capture_command_output): ... here.
1432 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1434 * gdb.btrace/data.exp: Test memory access during btrace replay.
1436 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1438 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1440 2014-05-21 Pedro Alves <palves@redhat.com>
1443 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1444 (top level): Test that output related to execution commands is
1445 sent to the console with CLI commands, but not with MI commands.
1446 Test that breakpoint events are always mirrored to the console.
1447 Also expect the new source line to be output after a "next" in
1448 async mode too. Make it a pass/fail test.
1449 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1451 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1453 2014-05-21 Pedro Alves <palves@redhat.com>
1455 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1456 Use them to test variations of "list" after reaching a breakpoint.
1457 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1458 Test "list" with listsize 10 after reaching a breakpoint.
1459 * gdb.python/python.exp (decode_line current location line
1460 number): Adjust expected line number.
1462 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1464 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1465 behavior for $args, pass it directly to "run".
1467 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1469 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1472 2014-05-21 Pedro Alves <palves@redhat.com>
1474 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1475 auto-connect-native-target off".
1476 * gdb.base/auto-connect-native-target.c: New file.
1477 * gdb.base/auto-connect-native-target.exp: New file.
1479 2014-05-21 Pedro Alves <palves@redhat.com>
1481 * gdb.base/default.exp: Test "target native" instead of "target
1484 2014-05-21 Mark Wielaard <mjw@redhat.com>
1486 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1488 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1490 Fix TLS access for -static -pthread.
1491 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1492 <HAVE_TLS> (thread_function, main): Initialize it.
1493 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1495 <$have_tls != "">: Check TLSVAR.
1497 2014-05-21 Pedro Alves <palves@redhat.com>
1499 * gdb.base/dcache-line-read-error.c: New.
1500 * gdb.base/dcache-line-read-error.exp: New.
1502 2014-05-20 Pedro Alves <palves@redhat.com>
1504 * gdb.base/compare-sections.c: New file.
1505 * gdb.base/compare-sections.exp: New file.
1507 2014-05-20 Pedro Alves <palves@redhat.com>
1509 * gdb.base/break-idempotent.c: New file.
1510 * gdb.base/break-idempotent.exp: New file.
1512 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1514 * gdb.btrace/nohist.exp: New.
1516 2014-05-20 Yao Qi <yao@codesourcery.com>
1518 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1519 gdb.reverse directory and gdb_reverse_timeout exists in board
1521 * README: Document gdb_reverse_timeout.
1523 2014-05-20 Yao Qi <yao@codesourcery.com>
1525 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1526 'test_file_name'. Treat args as a string instead of a list.
1527 (gdb_init): Rename argument 'args' by 'test_file_name'.
1529 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1531 * gdb.arch/powerpc-power.exp: New file.
1532 * gdb.arch/powerpc-power.s: New file.
1534 2014-05-16 Doug Evans <dje@google.com>
1536 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
1537 * gdb.base/completion.exp: Check that all expected files exist
1538 before doing file completion.
1540 2014-05-16 Doug Evans <dje@google.com>
1542 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1544 (do_syscall_tests_without_xml): Update.
1546 2014-05-16 Pedro Alves <palves@redhat.com>
1548 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1549 instead of "unknown output after running".
1551 2014-05-16 Yao Qi <yao@codesourcery.com>
1553 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1554 file1.txt from host at the end.
1555 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1557 2014-05-15 Doug Evans <dje@google.com>
1559 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1560 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1561 loading file. Add test for TU lookup.
1563 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1565 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1566 calling "-exec-arguments" or "set args" before running the
1569 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1571 * lib/mi-support.exp (mi_expect_stop): Expect message for
1572 inferiors that exit with non-zero exit code.
1574 2014-05-14 Yao Qi <yao@codesourcery.com>
1576 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1577 match absolute path on remote host.
1578 (test_file_list_exec_source_files): Remove "/" from the
1581 2014-05-14 Yao Qi <yao@codesourcery.com>
1583 * boards/local-remote-host-notty.exp (${board}_file): New
1586 2014-05-07 Kyle McMartin <kyle@redhat.com>
1588 Pushed by Joel Brobecker <brobecker@adacore.com>.
1589 * gdb.arch/aarch64-atomic-inst.c: New file.
1590 * gdb.arch/aarch64-atomic-inst.exp: New file.
1592 2014-05-07 Yao Qi <yao@codesourcery.com>
1594 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1595 in current context" too.
1597 2014-05-05 Keith Seitz <keiths@redhat.com>
1599 * gdb.linespec/ls-dollar.exp: Add test for linespec
1600 file:convenience_variable.
1602 2014-05-05 Yao Qi <yao@codesourcery.com>
1604 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
1605 traceframes into tfile and ctf trace files. Read data from
1606 trace file and test collected data.
1607 (gdb_collect_locals_test): Likewise.
1608 (gdb_unavailable_registers_test): Likewise.
1609 (gdb_unavailable_floats): Likewise.
1610 (gdb_collect_globals_test): Likewise.
1611 (top-level): Append "ctf" to trace_file_targets if GDB
1614 2014-05-05 Yao Qi <yao@codesourcery.com>
1616 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
1618 (gdb_collect_args_test_1): ... it. New proc.
1619 (gdb_collect_locals_test): Move some code to ...
1620 (gdb_collect_locals_test_1): ... it. New proc.
1621 (gdb_unavailable_registers_test): Move some code to ...
1622 (gdb_unavailable_registers_test_1): ... it. New proc.
1623 (gdb_unavailable_floats): Move some code to ...
1624 (gdb_unavailable_floats_1): ... it. New proc.
1626 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1628 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
1629 probes to test for bitness recognition.
1630 * gdb.arch/amd64-stap-optional-prefix.exp
1631 (test_probe_value_without_reg): New procedure.
1632 Add code to test for different kinds of bitness.
1634 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1636 PR breakpoints/16889
1637 * gdb.arch/amd64-stap-optional-prefix.S: New file.
1638 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1640 2014-05-01 Pedro Alves <palves@redhat.com>
1642 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
1643 gdb_file_cmd if no file is specified.
1644 * boards/native-extended-gdbserver.exp (gdb_load): Use the
1645 last_loaded_file to set the remote exec-file.
1647 2014-05-01 Pedro Alves <palves@redhat.com>
1649 * boards/local-remote-host.exp: New file.
1651 2014-05-01 Pedro Alves <palves@redhat.com>
1653 * boards/local-remote-host.exp: Rename to ...
1654 * boards/local-remote-host-notty.exp: ... this.
1656 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1658 * gdb.ada/dyn_arrayidx: New testcase.
1660 2014-04-26 Yao Qi <yao@codesourcery.com>
1662 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
1663 and compute the length of function main. Save it in
1665 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
1666 (top-level): Use gdb_compile to compile objects into
1667 executable and restart GDB. Remove invocation to
1668 prepare_for_testing.
1670 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
1671 Pedro Alves <palves@redhat.com>
1674 * gdb.multi/multi-attach.c: New file.
1675 * gdb.multi/multi-attach.exp: New file.
1677 2014-04-25 Pedro Alves <palves@redhat.com>
1679 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
1681 (top level): Test that "set remote conditional-breakpoints-packet
1682 off" works as intended.
1683 * gdb.base/dprintf.exp: Test that "set remote
1684 breakpoint-commands-packet off" works as intended.
1685 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
1687 (top level): Call it.
1688 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
1689 remote fast-tracepoints-packet off" works as intended.
1690 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
1691 * lib/gdb.exp (gdb_is_target_remote): ... here.
1693 2014-04-24 David Blaikie <dblaikie@gmail.com>
1695 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
1696 ensure clang would not discard them.
1697 * gdb.base/gdbvars.c: Ditto.
1698 * gdb.base/memattr.c: Ditto.
1699 * gdb.base/whatis.c: Ditto.
1700 * gdb.python/py-prettyprint.c: Ditto.
1701 * gdb.trace/actions.c: Ditto.
1702 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
1703 ensure clang would not discard it.
1705 2014-04-24 David Blaikie <dblaikie@gmail.com>
1707 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1708 clang to emit the full definition of type required by the test
1709 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1711 2014-04-24 David Blaikie <dblaikie@gmail.com>
1713 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1714 coax Clang into emitting the definition of the type.
1715 * gdb.cp/pr10728-x.h (y): Ditto.
1716 * gdb.cp/pr10728-y.cc (y): Ditto.
1718 2014-04-24 David Blaikie <dblaikie@gmail.com>
1720 * gdb.base/label.exp: XFAIL label related tests under Clang.
1721 * gdb.cp/cplabel.exp: Ditto.
1722 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
1723 under Clang those using labels.
1725 2014-04-25 Yao Qi <yao@codesourcery.com>
1727 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
1729 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
1730 partial_label and double_label.
1732 2014-04-24 David Blaikie <dblaikie@gmail.com>
1734 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
1736 2014-04-24 David Blaikie <dblaikie@gmail.com>
1738 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
1739 of the function to work across GCC and Clang.
1740 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
1741 pointer types (const void ** const V void **).
1743 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
1744 Walfred Tedeschi <walfred.tedeschi@intel.com>
1746 * Makefile.in (EXECUTABLES): Added i386-avx512.
1747 * gdb.arch/i386-avx512.c: New file.
1748 * gdb.arch/i386-avx512.exp: Likewise.
1750 2014-04-23 Keith Seitz <keiths@redhat.com>
1752 * lib/mi-support.exp (mi_list_breakpoints): Delete.
1753 (mi_make_breakpoint_table): New procedure.
1754 (mi_create_breakpoint): Use mi_make_breakpoint
1755 and return the result.
1756 (mi_make_breakpoint): New procedure.
1757 (mi_build_kv_pairs): New procedure.
1759 * gdb.mi/mi-break.exp: Remove unused globals,
1760 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
1761 All callers updated.
1762 * gdb.mi/mi-dprintf.exp: Use variable to track command
1764 Update all callers of mi_create_breakpoint and use
1765 mi_make_breakpoint_table.
1766 Remove any unused global variables.
1767 * gdb.mi/mi-nonstop.exp: Likewise.
1768 * gdb.mi/mi-nsintrall.exp: Likewise.
1769 * gdb.mi/mi-nsmoribund.exp: Likewise.
1770 * gdb.mi/mi-nsthrexec.exp: Likewise.
1771 * gdb.mi/mi-reverse.exp: Likewise.
1772 * gdb.mi/mi-simplerun.exp: Likewise.
1773 * gdb.mi/mi-stepn.exp: Likewise.
1774 * gdb.mi/mi-syn-frame.exp: Likewise.
1775 * gdb.mi/mi-until.exp: Likewise.
1776 * gdb.mi/mi-var-cp.exp: Likewise.
1777 * gdb.mi/mi-var-display.exp: Likewise.
1778 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1779 * gdb.mi/mi2-var-child.exp: Likewise.
1780 * gdb.mi/mi-vla-c99.exp: Likewise.
1781 * lib/mi-support.exp: Likewise.
1783 From Ian Lance Taylor <iant@cygnus.com>:
1784 * lib/gdb.exp (parse_args): New procedure.
1786 2014-04-23 Pedro Alves <palves@redhat.com>
1788 * gdb.base/break-unload-file.c: New file.
1789 * gdb.base/break-unload-file.exp: New file.
1790 * gdb.base/sym-file-lib.c (baz): New function.
1791 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
1793 (load): Store the segment's mapped size.
1794 (unload): New function.
1795 (unload_shlib): New function.
1796 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
1797 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
1798 set a breakpoint at baz, and call it.
1799 * gdb.base/sym-file.exp: New tests for stale breakpoint
1802 2014-04-23 Pedro Alves <palves@redhat.com>
1804 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
1805 * gdb.base/hbreak-in-shr-unsupported.c: New file.
1806 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
1807 * gdb.base/hbreak-unmapped.c: New file.
1808 * gdb.base/hbreak-unmapped.exp: New file.
1809 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
1810 * lib/gdb.exp (gdb_is_target_remote): ... here.
1812 2014-04-22 Pedro Alves <palves@redhat.com>
1814 * gdb.base/consecutive-step-over.c: New file.
1815 * gdb.base/consecutive-step-over.exp: New file.
1817 2014-04-22 Pedro Alves <palves@redhat.com>
1819 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
1820 instead of send_gdb/gdb_expect.
1822 2014-04-22 Yao Qi <yao@codesourcery.com>
1824 * lib/trace-support.exp (generate_tracefile): New procedure.
1825 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
1827 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
1828 if generate_tracefile returns 1.
1830 2014-04-18 Tom Tromey <palves@redhat.com>
1831 Pedro alves <tromey@redhat.com>
1834 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
1835 with a backtrace limit.
1836 * gdb.python/py-frame-inline.exp: Test running to an inline
1837 function with a backtrace limit, and printing the newest frame.
1838 * gdb.python/py-frame-inline.c (main): Call f.
1840 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1842 * gdb.java/jnpe.exp: Drop srcdir from untested path.
1844 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1846 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
1847 Drop prefix from unsupported source file path.
1849 2014-04-17 Yao Qi <yao@codesourcery.com>
1851 * lib/gdb.exp (with_target_charset): New proc.
1852 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
1853 with_target_charset.
1854 (test_print_strings): Likewise.
1855 (test_repeat_bytes): Likewise.
1856 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
1859 2014-04-16 Keith Seitz <keiths@redhat.com>
1862 * gdb.dwarf2/corrupt.c: New file.
1863 * gdb.dwarf2/corrupt.exp: New file.
1865 2014-04-16 Keith Seitz <keiths@redhat.com>
1868 * gdb.cp/namelessclass.cc: New file.
1869 * gdb.cp/namelessclass.exp: New file.
1870 * gdb.cp/namelessclass.S: New file.
1872 2014-04-16 Doug Evans <dje@google.com>
1874 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
1876 (gdbserver_default_get_comm_port): New function.
1877 (gdbserver_start): Check if board file provided
1878 "gdbserver,get_comm_port" and use it if so.
1879 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
1880 (gdb,socketport): Set to "stdio".
1881 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
1882 (stdio_gdbserver_template): Delete.
1883 (${board}_get_remote_address): Update.
1884 (${board}_build_remote_cmd): Delete.
1885 (${board}_get_comm_port): New function.
1886 (${board}_spawn): Update.
1887 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
1889 (${board}_get_remote_address): Update.
1890 (${board}_get_comm_port): New function.
1892 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
1894 * gdb.base/memattr.exp: Improve regexps to handle memory regions
1895 appearing in any order.
1897 2014-04-15 Doug Evans <dje@google.com>
1899 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
1900 uninitialized value of "description".
1902 2014-04-15 Keith Seitz <keiths@redhat.com>
1904 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
1905 Remove unused globals.
1906 (test_running_the_program): Likewise.
1907 (test_controlled_execution): Likewise.
1908 (test_controlling_breakpoints): Likewise.
1909 (test_program_termination): Likewise.
1911 2014-04-15 Keith Seitz <keiths@redhat.com>
1913 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
1915 (test_rbreak_creation_and_listing): Likewise.
1916 (test_ignore_count): Likewise.
1917 (test_error): Likewise.
1919 2014-04-15 Pedro Alves <palves@redhat.com>
1921 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
1922 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
1924 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1925 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1926 to sym-file-loader.c.
1927 (struct library): Forward declare.
1928 (load_shlib, lookup_function): Change prototypes.
1929 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1930 (translate_offset): Remove declarations.
1931 (get_text_addr): New declaration.
1932 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
1933 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
1935 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1936 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1937 here from sym-file-loader.h.
1938 (struct library): New structure.
1939 (load_shlib, lookup_function): Change prototypes and adjust to
1940 work with a struct library.
1941 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1942 (translate_offset): Make static.
1943 (get_text_addr): New function.
1944 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
1946 2014-04-15 Pedro Alves <palves@redhat.com>
1948 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
1950 2014-04-15 Pedro Alves <palves@redhat.com>
1952 * gdb.base/sym-file-loader.c: Include <limits.h>.
1953 (SELF_LINK): New define.
1954 (get_origin): New function.
1955 (load_shlib): Use it.
1956 * gdb.base/sym-file.exp: Don't early return if the target is
1957 remote. Use runto_main, and issue fail is that fails. Use
1959 (shlib_name): Delete.
1960 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
1962 2014-04-15 Pedro Alves <palves@redhat.com>
1964 * gdb.base/sym-file.exp: Remove regex characters from test
1965 message. Don't refer to breakpoint numbers in test messages.
1967 2014-04-14 Keith Seitz <keiths@redhat.com>
1970 * gdb.cp/var-tag.cc: New file.
1971 * gdb.cp/var-tag.exp: New file.
1972 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1973 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1974 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1975 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1977 2014-04-14 Tom Tromey <tromey@redhat.com>
1979 * gdb.cp/classes.exp (test_enums): Handle underlying type.
1980 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
1982 * gdb.cp/enum-class.exp: New file.
1983 * gdb.cp/enum-class.cc: New file.
1985 2014-04-14 Tom Tromey <tromey@redhat.com>
1987 * gdb.dwarf2/enum-type.exp: New file.
1989 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1991 * gdb.mi/mi-vla-c99.exp: New file.
1992 * gdb.mi/vla.c: New file.
1994 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1996 * gdb.base/vla-datatypes.c: New file.
1997 * gdb.base/vla-datatypes.exp: New file.
1999 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2001 * gdb.base/vla-ptr.c: New file.
2002 * gdb.base/vla-ptr.exp: New file.
2004 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2006 * gdb.dwarf2/count.exp: New file.
2008 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2010 * gdb.base/vla-sideeffect.c: New file.
2011 * gdb.base/vla-sideeffect.exp: New file.
2013 2014-04-14 David Blaikie <dblaikie@gmail.com>
2015 * gdb.mi/non-stop.c: Add return value for non-void function return
2017 * gdb.threads/staticthreads.c: Ditto.
2019 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2020 Doug Evans <xdje42@gmail.com>
2022 * gdb.guile/scm-value.c: Improve test case.
2023 * gdb.guile/scm-value.exp: Add new test.
2025 2014-04-11 David Blaikie <dblaikie@gmail.com>
2027 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2028 override Clang's default.
2030 2014-04-11 Joel Brobecker <brobecker@adacore.com>
2032 Revert the following changes (regressions):
2034 * gdb.base/vla-sideeffect.c: New file.
2035 * gdb.base/vla-sideeffect.exp: New file.
2037 * gdb.dwarf2/count.exp: New file.
2039 * gdb.base/vla-multi.c: New file.
2040 * gdb.base/vla-multi.exp: New file.
2042 * gdb.base/vla-ptr.c: New file.
2043 * gdb.base/vla-ptr.exp: New file.
2045 * gdb.base/vla-datatypes.c: New file.
2046 * gdb.base/vla-datatypes.exp: New file.
2048 * gdb.mi/mi-vla-c99.exp: New file.
2049 * gdb.mi/vla.c: New file.
2051 2014-04-11 Keith Seitz <keiths@redhat.com>
2054 * gdb.cp/cpsizeof.exp: New file.
2055 * gdb.cp/cpsizeof.cc: New file.
2057 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2059 * gdb.mi/mi-vla-c99.exp: New file.
2060 * gdb.mi/vla.c: New file.
2062 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2064 * gdb.base/vla-datatypes.c: New file.
2065 * gdb.base/vla-datatypes.exp: New file.
2067 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2069 * gdb.base/vla-ptr.c: New file.
2070 * gdb.base/vla-ptr.exp: New file.
2072 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2074 * gdb.base/vla-multi.c: New file.
2075 * gdb.base/vla-multi.exp: New file.
2077 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2079 * gdb.dwarf2/count.exp: New file.
2081 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2083 * gdb.base/vla-sideeffect.c: New file.
2084 * gdb.base/vla-sideeffect.exp: New file.
2086 2014-04-11 Yao Qi <yao@codesourcery.com>
2088 * gdb.base/completion.exp: Check file exists before running tests
2091 2014-04-10 Pedro Alves <palves@redhat.com>
2093 * gdb.base/cond-eval-mode.c: New file.
2094 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2095 prepare_for_testing to build the new file. Check result of
2097 (test_break, test_watch): New procedures.
2098 (top level): Use them.
2100 2014-04-08 Pierre Muller <muller@sourceware.org>
2102 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2103 Ctrl-V use for mingw hosts.
2105 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2107 * gdb.python/py-value.c: Improve test case.
2108 * gdb.python/py-value.exp: Add new test.
2110 2014-04-07 David Blaikie <dblaikie@gmail.com>
2112 * lib/compiler.c: Identify the clang compiler.
2113 * lib/compiler.cc: Ditto.
2115 2014-04-03 Yao Qi <yao@codesourcery.com>
2117 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2119 2014-04-01 Anton Blanchard <anton@samba.org>
2121 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2124 2014-04-01 Anton Blanchard <anton@samba.org>
2126 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2127 prepare_for_testing.
2129 2014-04-01 Anton Blanchard <anton@samba.org>
2131 * gdb.arch/ppc64-atomic-inst.c: Remove.
2132 * gdb.arch/ppc64-atomic-inst.S: New file.
2133 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2135 2014-03-31 Doug Evans <dje@google.com>
2137 * gdb.base/print-symbol-loading-lib.c: New file.
2138 * gdb.base/print-symbol-loading-main.c: New file.
2139 * gdb.base/print-symbol-loading.exp: New file.
2141 2014-03-31 Yao Qi <yao@codesourcery.com>
2143 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2145 2014-03-28 Joel Brobecker <brobecker@adacore.com>
2147 * gdb.ada/mi_dyn_arr: New testcase.
2149 2014-03-27 Doug Evans <dje@google.com>
2151 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2153 2014-03-27 Yao Qi <yao@codesourcery.com>
2155 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2156 if target is nios2-*-*.
2158 2014-03-26 Yao Qi <yao@codesourcery.com>
2160 * lib/gdb.exp (readline_is_used): New proc.
2161 * gdb.base/completion.exp: Move tests on command complete up.
2162 Skip the rest of tests if readline is not used.
2163 * gdb.ada/complete.exp: Skp the test if readline is not
2165 * gdb.base/filesym.exp: Likewise.
2166 * gdb.base/macscp.exp: Likewise.
2167 * gdb.base/readline-ask.exp: Likewise.
2168 * gdb.base/readline.exp: Likewise.
2169 * gdb.python/py-cmd.exp: Likewise.
2170 * gdb.trace/tfile.exp: Likewise.
2172 2014-03-26 Yao Qi <yao@codesourcery.com>
2174 * gdb.base/macscp.exp: Fix code format issues.
2176 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2178 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2179 * gdb.asm/powerpc64le.inc: New file.
2181 2014-03-25 Pedro Alves <palves@redhat.com>
2182 Doug Evans <dje@google.com>
2184 * gdb.base/source-execution.c: New file.
2185 * gdb.base/source-execution.exp: New file.
2186 * gdb.base/source-execution.gdb: New file.
2188 2014-03-24 Doug Evans <dje@google.com>
2190 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2193 2014-03-24 Hui Zhu <hui@codesourcery.com>
2194 Pedro Alves <palves@redhat.com>
2196 PR breakpoints/16101
2197 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2198 test pass/fail messages. Detect missing support for dprintf when
2199 breakpoints are actually inserted.
2200 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2201 breakpoints are actually inserted.
2202 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2205 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2207 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2209 2014-03-22 Doug Evans <xdje42@gmail.com>
2211 * gdb.python/python.exp (python not supported): Verify multi-line
2212 python command issues an error.
2213 * gdb.guile/guile.exp (guile not supported): Verify multi-line
2214 guile command issues an error.
2216 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2218 * gdb.threads/thread-specific.exp: Handle the lack of usable
2219 $this_breakpoint and $this_thread.
2221 2014-03-21 Hui Zhu <hui@codesourcery.com>
2223 * gdb.base/attach.exp (do_command_attach_tests): New.
2225 2014-03-20 Tom Tromey <tromey@redhat.com>
2226 Pedro Alves <palves@redhat.com>
2229 * gdb.base/condbreak-call-false.c: New file.
2230 * gdb.base/condbreak-call-false.exp: New file.
2232 2014-03-20 Pedro Alves <palves@redhat.com>
2234 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2236 (block_signals, unblock_signals): Delete.
2237 (child_function_2, main): Remove references to deleted variable
2240 2014-03-20 Pedro Alves <palves@redhat.com>
2242 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2243 Use pthread_kill to signal thread 2.
2244 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2245 Adjust to make the test send itself a signal rather than using the
2246 host's "kill" command.
2248 2014-03-20 Pedro Alves <palves@redhat.com>
2250 * gdb.threads/multiple-step-overs.c: New file.
2251 * gdb.threads/multiple-step-overs.exp: New file.
2252 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2253 Adjust expected infrun debug output.
2255 2014-03-20 Pedro Alves <palves@redhat.com>
2257 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2258 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2260 2014-03-20 Pedro Alves <palves@redhat.com>
2263 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2264 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2265 of gdb_test_multiple.
2266 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2267 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2269 2014-03-20 Pedro Alves <palves@redhat.com>
2271 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2272 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2274 2014-03-19 Pedro Alves <palves@redhat.com>
2276 * gdb.base/async.exp: Remove early return.
2278 2014-03-19 Pedro Alves <palves@redhat.com>
2280 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2282 2014-03-19 Pedro Alves <palves@redhat.com>
2284 * gdb.base/async.exp (test_background): Expect \r\n after
2285 "completed." in the fail pattern.
2287 2014-03-19 Pedro Alves <palves@redhat.com>
2289 * gdb.base/async.exp (test_background): New procedure.
2290 Use it for all background execution command tests.
2292 2014-03-19 Pedro Alves <palves@redhat.com>
2294 * gdb.base/async.exp: Use prepare_for_testing.
2296 2014-03-19 Pedro Alves <palves@redhat.com>
2298 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2301 2014-03-19 Pedro Alves <palves@redhat.com>
2303 * gdb.base/async.c (main): Add "jump here" and "until here" line
2305 * gdb.base/async.exp (jump_here): New global.
2306 (jump& test): Use it.
2307 (until_here): New global.
2308 (until& test): Use it.
2310 2014-03-19 Pedro Alves <palves@redhat.com>
2312 * gdb.base/async.exp: Don't frob gdb_protocol.
2314 2014-03-18 Doug Evans <xdje42@gmail.com>
2316 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2317 Fix spelling of exec-done-display.
2319 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2322 * gdb.base/gdb-sigterm.c: New file.
2323 * gdb.base/gdb-sigterm.exp: New file.
2325 2014-03-18 Pedro Alves <palves@redhat.com>
2328 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2329 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2332 2014-03-17 Joel Brobecker <brobecker@adacore.com>
2334 * gdb.ada/pckd_arr_ren: New testcase.
2336 2014-03-13 Doug Evans <xdje42@gmail.com>
2339 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2340 collect after discarding symbols.
2342 2014-03-13 Ludovic Courtès <ludo@gnu.org>
2343 Doug Evans <xdje42@gmail.com>
2345 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2346 to history survives a gc.
2348 2014-03-13 Pedro Alves <palves@redhat.com>
2350 * gdb.base/default.exp: Don't test "target procfs".
2352 2014-03-13 Pedro Alves <palves@redhat.com>
2354 * gdb.base/default.exp: Update "target child" and "target procfs"
2355 tests to not expect "Unix".
2357 2014-03-12 Tom Tromey <tromey@redhat.com>
2359 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2360 New procs. Add target-async tests.
2361 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2362 Add target-async tests.
2364 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2366 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2367 'func_start' and 'func_end' for the beginning and end of the
2368 function code, respectively.
2369 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2370 'func_end' instead of 'func' and 'main'.
2372 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2374 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2375 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2376 generate the debug info assembler source.
2378 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2380 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2381 * gdb.dwarf2/arr-subrange.exp: Likewise.
2382 * gdb.dwarf2/dwz.exp: Likewise.
2383 * gdb.dwarf2/method-ptr.exp: Likewise.
2384 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2385 * gdb.dwarf2/subrange.exp: Likewise.
2386 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2387 * gdb.dwarf2/implptrpiece.exp: Likewise.
2388 * gdb.dwarf2/nostaticblock.exp: Likewise.
2390 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2392 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2393 directory to absolute path name arguments.
2395 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2397 * gdb.ada/tagged_access: New testcase.
2399 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2401 * gdb.btrace/data.exp: Update expected output.
2403 2014-03-06 Yao Qi <yao@codesourcery.com>
2405 * gdb.trace/pr16508.exp: New file.
2407 2014-03-05 Pedro Alves <palves@redhat.com>
2410 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2412 (top level): Adjust to use it. Add tests that exercise breakpoint
2413 interaction with the code-cache.
2415 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2417 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2418 test for 'history-append!'.
2420 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2422 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2423 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2424 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2425 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2426 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2427 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2429 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2431 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2432 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2433 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2435 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2437 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2439 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2441 * gdb.dwarf2/arr-stride.c: New file.
2442 * gdb.dwarf2/arr-stride.exp: New file.
2444 2014-02-26 Pedro Alves <palves@redhat.com>
2446 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2447 that won't ever trigger. Make sure that GDB reports the correct
2448 breakpoint that caused the stop.
2450 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2453 * gdb.base/auto-load-script: New file.
2454 * gdb.base/auto-load.c: New file.
2455 * gdb.base/auto-load.exp: New file.
2458 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2460 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2462 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2463 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2465 2014-02-24 Doug Evans <dje@google.com>
2467 * lib/gdb.exp (run_on_host): Log error output if program fails.
2469 2014-02-21 Pedro Alves <palves@redhat.com>
2471 * gdb.threads/step-after-sr-lock.c: Rename to ...
2472 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2473 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2474 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2477 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2480 * gdb.arch/amd64-stap-special-operands.exp: New file.
2481 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2482 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2483 * gdb.arch/amd64-stap-triplet.S: Likewise.
2484 * gdb.arch/amd64-stap-triplet.c: Likewise.
2486 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2488 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2489 in .section pseudo-op.
2491 2014-02-20 lin zuojian <manjian2006@gmail.com>
2492 Joel Brobecker <brobecker@adacore.com>
2493 Doug Evans <xdje42@gmail.com>
2496 * gdb.dwarf2/dw2-icycle.S: New file.
2497 * gdb.dwarf2/dw2-icycle.c: New file.
2498 * gdb.dwarf2/dw2-icycle.exp: New file.
2500 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2502 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2503 operations on gdb.Value objects.
2504 * gdb.python/py-value-cc.exp: Add new test to test operations on
2507 2014-02-18 Doug Evans <dje@google.com>
2509 * Makefile.in (TESTS): New variable.
2510 (expanded_tests, expanded_tests_or_none): New variables
2511 (check-single): Pass $(expanded_tests_or_none) to runtest.
2512 (check-parallel): Only run tests in $(TESTS) if non-empty.
2513 (check/no-matching-tests-found): New rule.
2514 * README: Document TESTS makefile variable.
2516 2014-02-18 Doug Evans <dje@google.com>
2518 * Makefile.in (check-parallel): rm -rf outputs temp.
2520 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2522 Fix "ERROR: no fileid for" in the testsuite.
2523 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2525 2014-02-12 Doug Evans <dje@google.com>
2527 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2528 (MISCELLANEOUS): New variable.
2529 (clean): rm -rf $(MISCELLANEOUS).
2530 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2531 dwp live in the same directory as symlinks, with each symlink pointed
2532 to a differently named file in a different directory.
2534 2014-02-11 Doug Evans <dje@google.com>
2536 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2537 of Tcl file commands.
2539 2014-02-10 Mark Kettenis <kettenis@gnu.org>
2541 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2544 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2546 * gdb.ada/tick_length_array_enum_idx: New testcase.
2548 2014-02-10 Doug Evans <xdje42@gmail.com>
2550 * configure.ac (AC_OUTPUT): Add gdb.guile.
2551 * configure: Regenerate.
2552 * lib/gdb-guile.exp: New file.
2553 * lib/gdb.exp (get_target_charset): New function.
2554 * gdb.base/help.exp: Update expected output from "apropos apropos".
2555 * gdb.guile/Makefile.in: New file.
2556 * gdb.guile/guile.exp: New file.
2557 * gdb.guile/scm-arch.c: New file.
2558 * gdb.guile/scm-arch.exp: New file.
2559 * gdb.guile/scm-block.c: New file.
2560 * gdb.guile/scm-block.exp: New file.
2561 * gdb.guile/scm-breakpoint.c: New file.
2562 * gdb.guile/scm-breakpoint.exp: New file.
2563 * gdb.guile/scm-disasm.c: New file.
2564 * gdb.guile/scm-disasm.exp: New file.
2565 * gdb.guile/scm-equal.c: New file.
2566 * gdb.guile/scm-equal.exp: New file.
2567 * gdb.guile/scm-error.exp: New file.
2568 * gdb.guile/scm-error.scm: New file.
2569 * gdb.guile/scm-frame-args.c: New file.
2570 * gdb.guile/scm-frame-args.exp: New file.
2571 * gdb.guile/scm-frame-args.scm: New file.
2572 * gdb.guile/scm-frame-inline.c: New file.
2573 * gdb.guile/scm-frame-inline.exp: New file.
2574 * gdb.guile/scm-frame.c: New file.
2575 * gdb.guile/scm-frame.exp: New file.
2576 * gdb.guile/scm-generics.exp: New file.
2577 * gdb.guile/scm-gsmob.exp: New file.
2578 * gdb.guile/scm-iterator.c: New file.
2579 * gdb.guile/scm-iterator.exp: New file.
2580 * gdb.guile/scm-math.c: New file.
2581 * gdb.guile/scm-math.exp: New file.
2582 * gdb.guile/scm-objfile-script-gdb.in: New file.
2583 * gdb.guile/scm-objfile-script.c: New file.
2584 * gdb.guile/scm-objfile-script.exp: New file.
2585 * gdb.guile/scm-objfile.c: New file.
2586 * gdb.guile/scm-objfile.exp: New file.
2587 * gdb.guile/scm-ports.exp: New file.
2588 * gdb.guile/scm-pretty-print.c: New file.
2589 * gdb.guile/scm-pretty-print.exp: New file.
2590 * gdb.guile/scm-pretty-print.scm: New file.
2591 * gdb.guile/scm-section-script.c: New file.
2592 * gdb.guile/scm-section-script.exp: New file.
2593 * gdb.guile/scm-section-script.scm: New file.
2594 * gdb.guile/scm-symbol.c: New file.
2595 * gdb.guile/scm-symbol.exp: New file.
2596 * gdb.guile/scm-symtab-2.c: New file.
2597 * gdb.guile/scm-symtab.c: New file.
2598 * gdb.guile/scm-symtab.exp: New file.
2599 * gdb.guile/scm-type.c: New file.
2600 * gdb.guile/scm-type.exp: New file.
2601 * gdb.guile/scm-value-cc.cc: New file.
2602 * gdb.guile/scm-value-cc.exp: New file.
2603 * gdb.guile/scm-value.c: New file.
2604 * gdb.guile/scm-value.exp: New file.
2605 * gdb.guile/source2.scm: New file.
2606 * gdb.guile/types-module.cc: New file.
2607 * gdb.guile/types-module.exp: New file.
2609 2014-02-10 Yao Qi <yao@codesourcery.com>
2612 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
2613 * configure: Regenerated.
2614 * Makefile.in: New file.
2616 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2618 * gdb.python/py-framefilter.exp: Fix typo.
2620 2014-02-08 Yao Qi <yao@codesourcery.com>
2622 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
2623 that no =breakpoint-modified is emitted when breakpoints are
2624 modified through MI commands.
2626 2014-02-07 Pedro Alves <pedro@codesourcery.com>
2627 Pedro Alves <palves@redhat.com>
2629 * gdb.threads/step-after-sr-lock.c: New file.
2630 * gdb.threads/step-after-sr-lock.exp: New file.
2632 2014-02-07 Pedro Alves <palves@redhat.com>
2634 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
2636 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2638 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
2639 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
2641 2014-02-06 Doug Evans <xdje42@gmail.com>
2643 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
2646 * gdb.gdb/python-interrupts.exp: New file.
2648 2014-02-05 Yao Qi <yao@codesourcery.com>
2650 * gdb.trace/report.exp (use_collected_data): Test the output
2651 of "info threads" and "info inferiors".
2653 2014-02-05 Yao Qi <yao@codesourcery.com>
2657 2013-05-24 Yao Qi <yao@codesourcery.com>
2659 * gdb.trace/tfile.exp: Test inferior and thread.
2661 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2663 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
2665 * gdb.base/step-bt.c: Call hello via function pointer to make
2666 sure its first instruction is executed on powerpc64le-linux.
2668 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2670 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
2672 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2674 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
2675 of the test patterns for use on little-endian systems.
2677 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2679 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
2680 (decimal_vector): Fix for little-endian.
2682 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2684 * gdb.arch/sparc-sysstep.exp: New file.
2685 * gdb.arch/sparc-sysstep.c: Likewise.
2687 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
2689 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2691 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2693 2014-01-23 Tom Tromey <tromey@redhat.com>
2695 * gdb.ada/array_char_idx: New testcase.
2697 2014-01-23 Tom Tromey <tromey@redhat.com>
2700 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
2701 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2704 2014-01-23 Tom Tromey <tromey@redhat.com>
2707 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2708 string from an inferior frame.
2709 * gdb.python/py-framefilter-mi.exp: Update.
2711 2014-01-22 Doug Evans <dje@google.com>
2713 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2715 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2717 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2719 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2721 * gdb.trace/entry-values.exp: Remove excess space character from
2722 regex patterns. Handle s390 call instruction.
2724 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2726 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
2727 define "*_start" label. Make "name" static.
2728 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
2729 ${name} by references to ${name}_start.
2731 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2733 * gdb.base/info-macros.exp: Remove "debug" from the compile
2736 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2738 * gdb.dlang/demangle.exp: New file.
2740 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2742 * gdb.dlang/primitive-types.exp: New file.
2744 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2746 * configure.ac: Create gdb.dlang/Makefile.
2747 * configure: Regenerate.
2748 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
2749 * gdb.dlang/Makefile.in: New file.
2750 * lib/d-support.exp: New file.
2751 * lib/gdb.exp (skip_d_tests): New proc.
2753 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2755 * gdb.btrace/delta.exp: Check reverse stepi.
2756 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
2757 * gdb.btrace/finish.exp: New.
2758 * gdb.btrace/next.exp: New.
2759 * gdb.btrace/nexti.exp: New.
2760 * gdb.btrace/record_goto.c: Add comments.
2761 * gdb.btrace/step.exp: New.
2762 * gdb.btrace/stepi.exp: New.
2763 * gdb.btrace/multi-thread-step.c: New.
2764 * gdb.btrace/multi-thread-step.exp: New.
2765 * gdb.btrace/rn-dl-bind.c: New.
2766 * gdb.btrace/rn-dl-bind.exp: New.
2767 * gdb.btrace/data.c: New.
2768 * gdb.btrace/data.exp: New.
2769 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2771 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2773 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
2774 * gdb.btrace/exception.exp: Update.
2775 * gdb.btrace/instruction_history.exp: Update.
2776 * gdb.btrace/record_goto.exp: Update.
2777 * gdb.btrace/tailcall.exp: Update.
2778 * gdb.btrace/unknown_functions.exp: Update.
2779 * gdb.btrace/delta.exp: New.
2781 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2783 * gdb.btrace/record_goto.exp: Add backtrace test.
2784 * gdb.btrace/tailcall.exp: Add backtrace test.
2786 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2788 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
2789 * gdb.btrace/record_goto.c: New.
2790 * gdb.btrace/record_goto.exp: New.
2791 * gdb.btrace/x86-record_goto.S: New.
2793 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2795 * gdb.btrace/function_call_history.exp: Update tests.
2796 * gdb.btrace/instruction_history.exp: Update tests.
2798 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2800 * gdb.btrace/function_call_history.exp: Fix expected field
2801 order for "record function-call-history".
2802 Add new tests for "record function-call-history /c".
2803 * gdb.btrace/exception.cc: New.
2804 * gdb.btrace/exception.exp: New.
2805 * gdb.btrace/tailcall.exp: New.
2806 * gdb.btrace/x86-tailcall.S: New.
2807 * gdb.btrace/x86-tailcall.c: New.
2808 * gdb.btrace/unknown_functions.c: New.
2809 * gdb.btrace/unknown_functions.exp: New.
2810 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2812 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2814 * gdb.btrace/instruction_history.exp: Update.
2815 * gdb.btrace/function_call_history.exp: Update.
2817 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2819 * gdb.btrace/function_call_history.exp: Fix expected function
2821 * gdb.btrace/instruction_history.exp: Initialize traced.
2822 Remove traced_functions.
2824 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2826 * gdb.btrace/function_call_history.exp: Update
2827 * gdb.btrace/instruction_history.exp: Update.
2829 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2831 * gdb.btrace/enable.exp: Update expected text.
2833 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
2835 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
2838 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
2840 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
2842 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2844 * lib/gdb.exp (supports_process_record): Return true for
2845 arm*-linux*. (supports_reverse): Likewise.
2847 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
2851 * gdb.python/py-type.c: Enhance test case.
2852 * gdb.python/py-value-cc.cc: Likewise
2853 * gdb.python/py-type.exp: Add new tests.
2854 * gdb.python/py-value-cc.exp: Likewise
2856 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2857 Pedro Alves <palves@redhat.com>
2859 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
2861 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
2862 references to ${name}_start by references to ${name}.
2864 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2866 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
2868 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2870 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
2872 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
2873 Pedro Alves <palves@redhat.com>
2875 * gdb.mi/mi-info-os.exp: Connect to the target with
2878 2014-01-08 Pedro Alves <palves@redhat.com>
2880 * gdb.threads/reconnect-signal.c: New file.
2881 * gdb.threads/reconnect-signal.exp: New file.
2883 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2885 * gdb.base/source-dir.exp: New file.
2887 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2889 * gdb.ada/mi_interface: New testcase.
2891 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2893 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
2894 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
2895 gdb.ada/pp-rec-component/pck.ads: New files.
2897 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2899 * gdb.python/py-pp-integral.c: New file.
2900 * gdb.python/py-pp-integral.py: New file.
2901 * gdb.python/py-pp-integral.exp: New file.
2903 For older changes see ChangeLog-1993-2013.
2909 ;; version-control: never
2912 Copyright 2014 Free Software Foundation, Inc.
2913 Copying and distribution of this file, with or without modification,
2914 are permitted provided the copyright notice and this notice are preserved.