1 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
3 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
4 (out_cu): Use addr_len for the size of addresses.
5 (out_line): Likewise. Size DW_LNE_set_address instruction
7 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
8 (FUNC): Add START_INSNS to definition.
10 2014-10-18 Yao Qi <yao@codesourcery.com>
12 * gdb.base/argv0-symlink.exp: Check argv[0] value if
13 gdb_has_argv0 return true.
14 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
15 check [target_info exists noargs], check [gdb_has_argv0]
17 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
18 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
21 2014-10-17 Doug Evans <dje@google.com>
23 * gdb.python/py-events.exp: Update expected output for clear_objfiles
25 * gdb.python/py-events.py: Add clear_objfiles event.
27 2014-10-17 Doug Evans <dje@google.com>
29 * gdb.python/py-objfile.exp: Test progspace attribute.
31 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
33 * gdb.guile/scm-breakpoint.exp: Do not assume any
34 directory separators when matching source file paths.
35 * gdb.python/py-breakpoint.exp: Likewise.
36 * gdb.reverse/break-precsave.exp: Likewise.
37 * gdb.reverse/break-reverse.exp: Likewise.
38 * gdb.reverse/consecutive-precsave.exp: Likewise.
39 * gdb.reverse/finish-precsave.exp: Likewise.
40 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
41 * gdb.reverse/finish-reverse.exp: Likewise.
42 * gdb.reverse/i386-precsave.exp: Likewise.
43 * gdb.reverse/i387-env-reverse.exp: Likewise.
44 * gdb.reverse/i387-stack-reverse.exp: Likewise.
45 * gdb.reverse/machinestate-precsave.exp: Likewise.
46 * gdb.reverse/machinestate.exp: Likewise.
47 * gdb.reverse/sigall-precsave.exp: Likewise.
48 * gdb.reverse/solib-precsave.exp: Likewise.
49 * gdb.reverse/step-precsave.exp: Likewise.
50 * gdb.reverse/until-precsave.exp: Likewise.
51 * gdb.reverse/watch-precsave.exp: Likewise.
52 * gdb.reverse/watch-reverse.exp: Likewise.
54 2014-10-17 Yao Qi <yao@codesourcery.com>
56 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
57 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
59 2014-10-17 Pedro Alves <palves@redhat.com>
62 * gdb.base/bg-execution-repeat.c: New file.
63 * gdb.base/bg-execution-repeat.exp: New file.
65 2014-10-17 Pedro Alves <palves@redhat.com>
68 * gdb.base/continue-all-already-running.c: New file.
69 * gdb.base/continue-all-already-running.exp: New file.
71 2014-10-17 Pedro Alves <palves@redhat.com>
74 * gdb.base/annota-input-while-running.c: New file.
75 * gdb.base/annota-input-while-running.exp: New file.
77 2014-10-17 Pedro Alves <palves@redhat.com>
79 * gdb.base/callfuncs.exp: emove references to osf.
80 * gdb.base/sigall.exp: Likewise.
81 * gdb.gdb/selftest.exp: Likewise.
82 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
83 * gdb.mi/non-stop.c: Likewise.
84 * gdb.mi/pthreads.c: Likewise.
85 * gdb.reverse/sigall-precsave.exp: Likewise.
86 * gdb.reverse/sigall-reverse.exp: Likewise.
87 * gdb.threads/pthreads.c: Likewise.
88 * gdb.threads/pthreads.exp: Likewise.
90 2014-10-17 Yao Qi <yao@codesourcery.com>
92 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
93 check 'target_info exists noargs'.
94 (test_command_prompt_position): Likewise.
95 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
97 (progvar_simple_while_test): Likewise.
98 (progvar_complex_if_while_test): Likewise.
99 (if_while_breakpoint_command_test): Likewise.
100 (infrun_breakpoint_command_test): Likewise.
101 (breakpoint_command_test): Likewise.
102 (watchpoint_command_test): Likewise.
103 (bp_deleted_in_command_test): Likewise.
104 (temporary_breakpoint_commands): Likewise.
106 2014-10-16 Yao Qi <yao@codesourcery.com>
108 * gdb.base/remotetimeout.exp: Remove noargs checking.
110 2014-10-15 Pedro Alves <palves@redhat.com>
113 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
114 * gdb.base/breakpoint-in-ro-region.exp
115 (probe_target_hardware_step): New procedure.
116 (top level): Probe hardware stepping and hardware breakpoint
117 support. Test stepping through a read-only region, with both
118 "breakpoint auto-hw" on and off and both "always-inserted" on and
121 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
123 * gdb.dlang/demangle.exp: Update for demangling changes.
125 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
127 * gdb.cp/non-trivial-retval.cc: Add new test cases.
128 * gdb.cp/non-trivial-retval.exp: Add new tests.
130 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
134 * gdb.cp/non-trivial-retval.cc: New file.
135 * gdb.cp/non-trivial-retval.exp: New file.
137 2014-10-15 Yao Qi <yao@codesourcery.com>
139 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
142 2014-10-15 Yao Qi <yao@codesourcery.com>
144 * gdb.python/py-symbol.exp: Match file base name if host is
145 remote, otherwise match file name with dir name.
146 * gdb.python/py-symtab.exp: Likewise.
147 * gdb.python/python.exp: Likewise.
149 2014-10-15 Yao Qi <yao@codesourcery.com>
151 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
153 * gdb.python/py-symtab.exp: Likewise.
154 * gdb.python/python.exp: Remove trailing ".*". Fix typo
157 2014-10-14 Joel Brobecker <brobecker@adacore.com>
159 * gdb.ada/addr_arith: New testcase.
161 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
163 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
164 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
165 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
166 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
168 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
170 * gdb.arch/stap-eval-lang-ada.S: Likewise.
171 * gdb.arch/stap-eval-lang-ada.c: Likewise.
172 * gdb.arch/stap-eval-lang-ada.exp: New file.
174 2014-10-14 Yao Qi <yao@codesourcery.com>
176 * gdb.mi/mi-var-child.c (nothing1): New function.
177 (nothing2): New function.
178 (do_children_tests): Set function pointers by nothing1 and
180 * gdb.mi/mi-var-child.exp: Step over new added statements.
181 Update test to match the new output.
182 * gdb.mi/var-cmd.c (nothing1): New function.
183 (nothing2): New function.
184 (do_children_tests): Set function pointers by nothing1 and
186 * gdb.mi/mi-var-display.exp: Update test to match output.
187 Step to the line specified by $line_dct_nothing.
188 Increase the number of lines to step.
190 2014-10-14 Yao Qi <yao@codesourcery.com>
192 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
194 * gdb.mi/mi2-var-child.exp: Likewise.
196 2014-10-13 Doug Evans <dje@google.com>
198 * gdb.python/py-objfile.exp: Change name of file name test.
200 2014-10-13 Doug Evans <dje@google.com>
202 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
203 from the start of the CU.
205 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
206 Yao Qi <yao@codesourcery.com>
208 Fix "save breakpoints" for "catch" command.
209 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
210 Remove -nonewline. Match also the added "main" line.
212 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
214 Fix "save breakpoints" for "disable $bpnum" command.
215 * gdb.base/save-bp.c (main): Add label.
216 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
218 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
220 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
222 2014-10-11 Yao Qi <yao@codesourcery.com>
224 * gdb.server/server-kill.exp: Execute command
225 "set remote trace-status-packet on" before "tstatus".
227 2014-10-11 Yao Qi <yao@codesourcery.com>
229 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
230 (main): Call getppid.
231 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
232 and continue to it. Read variable "server_pid".
234 2014-10-11 Yao Qi <yao@codesourcery.com>
236 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
238 2014-10-11 Yao Qi <yao@codesourcery.com>
240 * gdb.threads/thread-find.exp: Don't execute command
242 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
243 * gdb.threads/linux-dp.exp: Don't check the condition
244 $threads_created equals to zero.
246 2014-10-10 Pedro Alves <palves@redhat.com>
248 * gdb.base/bigcore.exp: Remove references to IRIX.
249 * gdb.base/funcargs.exp: Likewise.
250 * gdb.base/interrupt.exp: Likewise.
251 * gdb.base/mips_pro.exp: Likewise.
252 * gdb.base/nodebug.exp: Likewise.
253 * gdb.base/setvar.exp: Likewise.
254 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
256 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
257 Pedro Alves <palves@redhat.com>
260 * gdb.base/vdso-warning.c: New file.
261 * gdb.base/vdso-warning.exp: New file.
263 2014-10-02 Doug Evans <dje@google.com>
265 * gdb.base/structs.c (main): Don't run forever.
267 2014-10-02 Pedro Alves <palves@redhat.com>
269 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
270 (top level) <stop threads 1, stop threads 2>: Use it.
272 2014-10-02 Pedro Alves <palves@redhat.com>
274 * gdb.threads/break-while-running.exp (test): Add new
275 'update_thread_list' argument. Skip "info threads" if false.
276 (top level): Add new 'update_thread_list' axis.
278 2014-10-02 Pedro Alves <palves@redhat.com>
281 * gdb.base/execl-update-breakpoints.c: New file.
282 * gdb.base/execl-update-breakpoints.exp: New file.
284 2014-10-01 Pedro Alves <palves@redhat.com>
286 * gdb.base/breakpoint-in-ro-region.c: New file.
287 * gdb.base/breakpoint-in-ro-region.exp: New file.
289 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
291 * gdb.mi/mi-exit-code.exp: New file.
292 * gdb.mi/mi-exit-code.c: New file.
294 2014-09-30 Yao Qi <yao@codesourcery.com>
296 * lib/prelink-support.exp (build_executable_own_libs): Error if
297 the target isn't native.
299 2014-09-30 Yao Qi <yao@codesourcery.com>
301 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
304 2014-09-22 Pedro Alves <palves@redhat.com>
306 * gdb.threads/break-while-running.exp: New file.
307 * gdb.threads/break-while-running.c: New file.
309 2014-09-19 Yao Qi <yao@codesourcery.com>
311 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
312 Invoke test. Restart GDB with --readnow and invoke test again.
314 2014-09-19 Yao Qi <yao@codesourcery.com>
316 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
317 proc set_breakpoint_on_gcd_function. Invoke
318 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
319 invoke set_breakpoint_on_gcd_function again.
321 2014-09-18 Doug Evans <dje@google.com>
323 * gdb.dwarf2/symtab-producer.exp: New file.
325 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
327 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
328 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
329 * gdb.base/global-var-nested-by-dso.c: Likewise.
330 * gdb.base/global-var-nested-by-dso.exp: Likewise.
332 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
333 Pedro Alves <palves@redhat.com>
335 * gdb.base/watch-bitfields.exp: Pass string other than test file
336 name to prepare_for_testing.
337 (watch): New procedure.
338 (expect_watchpoint): Use with_test_prefix.
339 (top level): Factor out tests to ...
340 (test_watch_location, test_regular_watch): ... these new
341 procedures, and use with_test_prefix and gdb_continue_to_end.
343 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
346 * gdb.base/watch-bitfields.exp: New file.
347 * gdb.base/watch-bitfields.c: New file.
349 2014-09-16 Pedro Alves <palves@redhat.com>
351 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
352 software and hardware addresses, not software address against
355 2014-09-16 Pedro Alves <palves@redhat.com>
357 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
358 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
360 2014-09-16 Pedro Alves <palves@redhat.com>
362 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
364 * gdb.base/a2-run.exp: Remove all code guarded by istarget
365 "*-*-vxworks*" throughout.
366 * gdb.base/break.exp: Likewise.
367 * gdb.base/default.exp: Likewise.
368 * gdb.base/scope.exp: Likewise.
369 * gdb.base/sepdebug.exp: Likewise.
370 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
372 * gdb.base/run.c: Likewise.
373 * gdb.base/sepdebug.c: Likewise.
374 * gdb.hp/gdb.aCC/run.c: Likewise.
375 * gdb.reverse/until-reverse.c: Likewise.
376 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
378 2014-09-16 Yao Qi <yao@codesourcery.com>
380 * boards/local-remote-host-native.exp: New file.
382 2014-09-14 Doug Evans <xdje42@gmail.com>
384 * gdb.threads/queue-signal.c (thread_count): New variable.
385 (thread_count_mutex, thread_count_condvar): New variables.
386 (incr_thread_count, wait_all_threads_running): New functions.
387 (main): Wait for all threads to be in their thread functions.
389 2014-09-13 Doug Evans <xdje42@gmail.com>
391 * gdb.threads/queue-signal.c: New file.
392 * gdb.threads/queue-signal.exp: New file.
394 2014-09-13 Doug Evans <xdje42@gmail.com>
396 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
397 be consistent with what default_gdb_init uses.
398 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
399 the plain text of the prompt. Add some logging printfs.
400 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
402 2014-09-12 Pedro Alves <palves@redhat.com>
404 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
405 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
406 * gdb.arch/i386-size-overlap.exp: Likewise.
407 * gdb.arch/i386-size.exp: Likewise.
408 * gdb.arch/i386-unwind.exp: Likewise.
409 * gdb.base/a2-run.exp: Likewise.
410 * gdb.base/break.exp: Likewise.
411 * gdb.base/charset.exp: Likewise.
412 * gdb.base/chng-syms.exp: Likewise.
413 * gdb.base/commands.exp: Likewise.
414 * gdb.base/dbx.exp: Likewise.
415 * gdb.base/find.exp: Likewise.
416 * gdb.base/funcargs.exp: Likewise.
417 * gdb.base/jit-simple.exp: Likewise.
418 * gdb.base/reread.exp: Likewise.
419 * gdb.base/sepdebug.exp: Likewise.
420 * gdb.base/step-bt.exp: Likewise.
421 * gdb.cp/mb-inline.exp: Likewise.
422 * gdb.cp/mb-templates.exp: Likewise.
423 * gdb.objc/basicclass.exp: Likewise.
424 * gdb.threads/killed.exp: Likewise.
426 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
429 * gdb.arch/powerpc-stackless.S: New file.
430 * gdb.arch/powerpc-stackless.exp: New file.
432 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
434 * gdb.base/attach.c: Include unistd.h.
435 (main): Call alarm. Add label postloop.
436 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
437 gdb_breakpoint, gdb_continue_to_breakpoint.
438 (test_command_line_attach_run): Kill ${testpid} in one exit path.
440 2014-09-11 Pedro Alves <palves@redhat.com>
443 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
444 * gdb.base/attach.exp (test_command_line_attach_run): New
446 (top level): Call it.
448 2014-09-11 Pedro Alves <palves@redhat.com>
450 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
451 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
452 (do_command_attach_tests): Use spawn_wait_for_attach.
453 * gdb.base/solib-overlap.exp: Likewise.
454 * gdb.multi/multi-attach.exp: Likewise.
455 * gdb.python/py-prompt.exp: Likewise.
456 * gdb.python/py-sync-interp.exp: Likewise.
457 * gdb.server/ext-attach.exp: Likewise.
459 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
461 * gdb.fortran/array-element.exp: Remove unexpected "continue"
462 command in testcase. Simplify testcase.
464 2014-09-10 Joel Brobecker <brobecker@adacore.com>
466 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
468 2014-09-10 Joel Brobecker <brobecker@adacore.com>
470 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
472 2014-09-10 Joel Brobecker <brobecker@adacore.com>
474 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
476 2014-09-10 Joel Brobecker <brobecker@adacore.com>
478 * gdb.dwarf2/dynarr-ptr.c: New file.
479 * gdb.dwarf2/dynarr-ptr.exp: New file.
481 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
483 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
484 of 30 rather than hardcoding 120 for a slow test case. Take the
485 `gdb,timeout' target setting into account for this calculation.
486 Don't extend the timeout for the test cases that don't need it.
488 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
490 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
491 a factor of 2 for a slow test case. Take the `gdb,timeout'
492 target setting into account for this calculation.
493 * gdb.reverse/until-precsave.exp: Increase the timeout by
494 a factor of 15 and 3 respectively rather than adding 120
495 for a pair of slow test cases. Take the `gdb,timeout'
496 target setting into account for this calculation.
498 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
500 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
501 timeout, don't pass one down to gdb_expect.
502 (gdb_expect): Rework timeout selection.
504 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
506 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
507 exception on timeout.
508 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
509 (gdbserver_start_extended): Catch any `gdbserver_start' error
511 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
512 * lib/mi-support.exp (mi_gdb_target_load): Catch any
513 `gdbserver_gdb_load' error exceptions.
515 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
517 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
518 120 on waiting for the TCP socket to open.
520 2014-09-09 Doug Evans <xdje42@gmail.com>
522 * gdb.base/default.exp (show_conv_list): Add _caller_is,
523 _caller_matches, _any_caller_is, _any_caller_matches.
525 2014-09-09 Doug Evans <xdje42@gmail.com>
527 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
529 2014-09-09 Yao Qi <yao@codesourcery.com>
531 * gdb.mi/mi-var-display.exp: Set print symbol off.
533 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
536 * gdb.base/commands.exp: Add tests to verify user-defined
537 commands with empty bodies.
538 * gdb.python/py-cmd.exp: Test that we don't show user-defined
539 python commands in `show user command`.
540 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
541 scheme commands in `show user command`.
543 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
546 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
547 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
548 * gdb.python/py-framefilter-invalidarg.exp: New file.
549 * gdb.python/py-framefilter-invalidarg.py: New file.
551 2014-09-06 Doug Evans <xdje42@gmail.com>
554 * gdb.python/py-caller-is.c: New file.
555 * gdb.python/py-caller-is.exp: New file.
557 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
560 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
561 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
563 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
566 * gdb.fortran/print-formatted.exp: New file.
567 * gdb.fortran/print-formatted.f90: Likewise.
569 2014-09-03 Sasha Smundak <asmundak@google.com>
571 * gdb.python/py-frame.exp: Test Frame.read_register.
573 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
576 * gdb.python/py-completion.exp: New file.
577 * gdb.python/py-completion.py: Likewise.
579 2014-08-28 Doug Evans <dje@google.com>
581 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
582 eax,etc. are live with values set by gdb and thus the compiler can't
584 * gdb.arch/i386-pseudo.c (main): Ditto.
586 2014-08-27 Doug Evans <dje@google.com>
588 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
590 2014-08-25 Doug Evans <dje@google.com>
592 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
595 2014-08-25 Doug Evans <dje@google.com>
597 * gdb.threads/thread-execl.exp: #include <stdio.h>.
599 2014-08-24 Yao Qi <yao@codesourcery.com>
601 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
603 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
605 2014-08-22 Doug Evans <dje@google.com>
608 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
609 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
610 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
612 2014-08-22 Yao Qi <yao@codesourcery.com>
614 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
615 * gdb.python/py-finish-breakpoint2.exp: Likewise.
616 * gdb.python/python.exp: Likewise. Use .py file on the host
617 instead of the build.
619 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
621 * gdb.threads/gcore-stale-thread.c: New file.
622 * gdb.threads/gcore-stale-thread.exp: New file.
624 2014-08-21 Pedro Alves <palves@redhat.com>
626 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
627 * gdb.base/gcore-relro-pie.exp: Likewise.
628 * gdb.base/gcore-relro.exp: Likewise.
629 * gdb.base/gcore.exp: Likewise.
630 * gdb.base/print-symbol-loading.exp: Likewise.
631 * gdb.threads/gcore-thread.exp: Likewise.
632 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
634 2014-08-20 Pedro Alves <palves@redhat.com>
635 Jan Kratochvil <jan.kratochvil@redhat.com>
637 * Makefile.in (EXTRA_RULES, CC): New variables, get from
639 (EXPECT): Handle READ1 being set.
640 (all): Depend on EXTRA_RULES.
641 (check-read1, expect-read1, read1.so, read1): New rules.
642 * README (Testsuite Parameters): Document the READ1 make variable.
643 (Race detection): New section.
644 * configure: Regenerate.
645 * configure.ac: If build==host==target, and running under a
646 GNU/glibc system, add read1 to the extra Makefile rules.
647 (EXTRA_RULES): AC_SUBST it.
648 * lib/read1.c: New file.
650 2014-08-20 Joel Brobecker <brobecker@adacore.com>
652 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
653 the handling of variables declared as a typedef to an array
654 which a DW_AT_data_location attribute.
656 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
657 Pedro Alves <palves@redhat.com>
661 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
664 2014-08-19 Pedro Alves <palves@redhat.com>
666 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
668 2014-08-19 Yao Qi <yao@codesourcery.com>
670 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
673 2014-08-18 David Blaikie <dblaikie@gmail.com>
675 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
677 2014-08-18 Joel Brobecker <brobecker@adacore.com>
679 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
680 attribute in array range.
682 2014-08-18 Joel Brobecker <brobecker@adacore.com>
684 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
686 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
689 * gdb.cp/pr17132.cc: New file.
690 * gdb.cp/pr17132.exp: New file.
692 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
694 * gdb.python/py-xmethods.py (A_getarrayind)
695 (E_method_char_worker.__call__, E_method_int_worker.__call__):
696 Use 'print' with function call syntax.
697 (E_method_matcher.match): Fix tab vs space indentation mixup.
699 2014-08-15 Yao Qi <yao@codesourcery.com>
701 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
704 2014-08-15 Yao Qi <yao@codesourcery.com>
706 * gdb.cp/casts.exp: Set print symbol off.
707 * gdb.cp/class2.exp: Likewise.
708 * gdb.cp/overload.exp: Likewise.
709 * gdb.cp/templates.exp: Likewise.
711 2014-08-11 Doug Evans <dje@google.com>
713 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
714 (test_load_shlib): Update.
716 2014-08-09 Yao Qi <yao@codesourcery.com>
718 * gdb.base/display.exp: Invoke is_address_zero_readable.
719 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
720 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
721 * gdb.base/hbreak-unmapped.exp: Return if
722 is_address_zero_readable returns true.
723 * gdb.base/signest.exp: Likewise.
724 * gdb.base/signull.exp: Likewise.
725 * gdb.base/sigbpt.exp: Likewise.
726 * gdb.guile/scm-disasm.exp: Do the test if
727 is_address_zero_readable returns false.
728 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
729 * gdb.python/py-arch.exp: Likewise.
730 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
731 * lib/gdb.exp (is_address_zero_readable): New proc.
733 2014-08-09 Yao Qi <yao@codesourcery.com>
736 * gdb.mi/mi-var-display.exp: Make test messages unique.
738 2014-08-04 Tom Tromey <tromey@redhat.com>
740 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
743 2014-08-04 Tom Tromey <tromey@redhat.com>
745 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
748 2014-08-01 Joel Brobecker <brobecker@adacore.com>
750 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
751 inner_vla_struct_object_size.
752 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
755 2014-07-30 Pedro Alves <palves@redhat.com>
757 * gdb.threads/signal-command-handle-nopass.exp (test): Add
760 2014-07-29 Yao Qi <yao@codesourcery.com>
763 * gdb.base/until-nodebug.exp: New.
765 2014-07-28 Doug Evans <xdje42@gmail.com>
768 * gdb.guile/scm-parameter.exp: Add tests for trying to create
769 previously existing parameter, and previously ambiguously spelled
772 2014-07-28 Will Newton <will.newton@linaro.org>
774 * gdb.base/varargs.exp: Remove KFAILs for ARM.
776 2014-07-26 Ludovic Courtès <ludo@gnu.org>
777 Doug Evans <xdje42@gmail.com>
780 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
782 2014-07-25 Pedro Alves <palves@redhat.com>
784 * gdb.threads/signal-command-handle-nopass.c: New file.
785 * gdb.threads/signal-command-handle-nopass.exp: New file.
786 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
787 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
788 * gdb.threads/signal-delivered-right-thread.c: New file.
789 * gdb.threads/signal-delivered-right-thread.exp: New file.
791 2014-07-25 Pedro Alves <palves@redhat.com>
793 * gdb.base/double-prompt-target-event-error.exp
794 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
796 (cancel_pagination_in_target_event): Rework double prompt
798 * gdb.base/paginate-after-ctrl-c-running.exp
799 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
801 * gdb.base/paginate-bg-execution.exp
802 (test_bg_execution_pagination_return)
803 (test_bg_execution_pagination_cancel): Remove '-notransfer
805 * gdb.base/paginate-execution-startup.exp
806 (test_fg_execution_pagination_return)
807 (test_fg_execution_pagination_cancel): Remove '-notransfer
809 * gdb.base/paginate-inferior-exit.exp
810 (test_paginate_inferior_exited): Remove '-notransfer <return>'
812 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
813 * lib/gdb.exp (pagination_prompt): Run text through
815 (gdb_test_multiple): Match $pagination_prompt instead of
817 (string_to_regexp): Move to lib/gdb-utils.exp.
819 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
821 * gdb.arch/amd64-entry-value-paramref.S: New file.
822 * gdb.arch/amd64-entry-value-paramref.cc: New file.
823 * gdb.arch/amd64-entry-value-paramref.exp: New file.
824 * gdb.arch/amd64-optimout-repeat.S: New file.
825 * gdb.arch/amd64-optimout-repeat.c: New file.
826 * gdb.arch/amd64-optimout-repeat.exp: New file.
828 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
831 * gdb.base/statistics.exp: New file.
833 2014-07-17 Doug Evans <dje@google.com>
836 * gdb.base/maint.exp: Update testing of per-command stats.
838 2014-07-16 Pedro Alves <palves@redhat.com>
840 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
841 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
842 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
843 (tfile_write_buf): New functions.
844 (add_memory_block): Rewrite using the above.
845 (adjust_function_address): New function.
846 (FUNCTION_ADDRESS): New macro.
847 (write_basic_trace_file): Remove short_x local, and use
848 tfile_write_16. Change type of func_addr local to unsigned long
849 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
850 here. Cast argument of add_memory_block to char pointer.
851 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
852 (main): Remove parameters.
853 * gdb.trace/tfile.exp: Remove nowarnings.
855 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
857 * gdb.base/debug-expr.exp: Test string evaluation with
858 "debug expression" on.
860 2014-07-15 Pedro Alves <palves@redhat.com>
862 * gdb.base/reread.exp: Use clean_restart.
864 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
866 * gdb.arch/avr-flash-qualifer.c: New.
867 * gdb.arch/avr-flash-qualifer.exp: New.
869 2014-07-14 Pedro Alves <palves@redhat.com>
871 * gdb.base/paginate-after-ctrl-c-running.c: New file.
872 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
874 2014-07-14 Pedro Alves <palves@redhat.com>
876 * gdb.base/double-prompt-target-event-error.c: New file.
877 * gdb.base/double-prompt-target-event-error.exp: New file.
879 2014-07-14 Pedro Alves <palves@redhat.com>
882 * gdb.base/paginate-inferior-exit.c: New file.
883 * gdb.base/paginate-inferior-exit.exp: New file.
885 2014-07-14 Pedro Alves <palves@redhat.com>
888 * gdb.base/paginate-bg-execution.c: New file.
889 * gdb.base/paginate-bg-execution.exp: New file.
891 2014-07-14 Pedro Alves <palves@redhat.com>
894 * gdb.base/paginate-execution-startup.c: New file.
895 * gdb.base/paginate-execution-startup.exp: New file.
896 * lib/gdb.exp (pagination_prompt): New global.
897 (default_gdb_spawn): New procedure, factored out from
899 (default_gdb_start): Adjust to call default_gdb_spawn.
900 (gdb_spawn): New procedure.
902 2014-07-14 Pedro Alves <palves@redhat.com>
904 * lib/gdb.exp (gdb_assert): New procedure.
905 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
907 2014-07-14 Pedro Alves <palves@redhat.com>
909 * gdb.base/execution-termios.c: New file.
910 * gdb.base/execution-termios.exp: New file.
912 2014-07-14 Tom Tromey <tromey@redhat.com>
914 * gdb.cp/vla-cxx.cc: New file.
915 * gdb.cp/vla-cxx.exp: New file.
917 2014-07-14 Tom Tromey <tromey@redhat.com>
919 * gdb.reverse/rerun-prec.c: New file.
920 * gdb.reverse/rerun-prec.exp: New file.
922 2014-07-12 Maciej W. Rozycki <macro@mips.com>
923 Maciej W. Rozycki <macro@codesourcery.com>
925 * lib/gdb-utils.exp: New file.
926 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
927 inline `gdb_init_command' processing.
928 (gdb_start_cmd): Likewise.
929 * lib/mi-support.exp (mi_run_cmd): Likewise.
930 * README: Document `gdb_init_command' and `gdb_init_commands'.
932 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
934 Fix false FAIL running under a very long directory name.
935 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
936 and "set print elements 10000". Twice.
938 2014-07-11 Yao Qi <yao@codesourcery.com>
940 * gdb.base/exprs.exp: "set print symbol off".
942 2014-07-11 Pedro Alves <palves@redhat.com>
944 * gdb.threads/kill.c: New file.
945 * gdb.threads/kill.exp: New file.
947 2014-07-10 Yao Qi <yao@codesourcery.com>
949 * gdb.trace/tfile.c (write_basic_trace_file)
950 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
951 address written to trace file.
953 2014-07-09 Pedro Alves <palves@redhat.com>
955 * gdb.base/attach-wait-input.exp: New file.
956 * gdb.base/attach-wait-input.c: New file.
958 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
960 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
961 setting up test structures.
962 (main): Call new test function.
963 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
964 test function, continue into test function and walk test
967 2014-07-02 Yao Qi <yao@codesourcery.com>
969 * gdb.trace/entry-values.c: Define labels 'foo_start' and
970 'bar_start' at the beginning of functions 'foo' and 'bar'
972 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
973 instead of 'foo' and 'bar'.
975 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
977 * gdb.btrace/segv.exp: New.
978 * gdb.btrace/segv.c: New.
980 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
982 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
985 2014-06-30 Mark Wielaard <mjw@redhat.com>
987 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
988 vulture, vilify, villar): New volatile array constants.
989 (vindictive, vegetation): New const volatile array constants.
990 * gdb.base/volatile.exp: Test volatile and const volatile array
993 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
995 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
996 target lacks support for awatch, rwatch, or hbreak.
998 2014-06-27 Yao Qi <yao@codesourcery.com>
1000 * gdb.multi/dummy-frame-restore.exp: New.
1001 * gdb.multi/dummy-frame-restore.c: New.
1003 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1005 * gdb.btrace/gcore.exp: New.
1007 2014-06-23 Pedro Alves <palves@redhat.com>
1009 * gdb.base/watchpoint-reuse-slot.c: New file.
1010 * gdb.base/watchpoint-reuse-slot.exp: New file.
1012 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1014 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1015 progspace's filename in 'info', 'enable' and 'disable' command
1018 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1020 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1021 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1022 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1024 2014-06-20 Gary Benson <gbenson@redhat.com>
1026 * gdb.arch/i386-avx.exp: Fix include file location.
1027 * gdb.arch/i386-sse.exp: Likewise.
1029 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1031 * gdb.dlang/expression.exp: New file.
1033 2014-06-19 Pedro Alves <palves@redhat.com>
1035 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1037 (top level): ... here. Iterate running tests under different
1038 scheduler-locking settings.
1040 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
1042 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1043 to DW_FORM_addr and use non-zero addresses.
1045 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1048 * gdb.python/py-xmethods.cc: Add global function call counters and
1049 increment them in their respective functions. Remove "cout"
1051 * gdb.python/py-xmethods.exp: Make tests check the global function
1052 call counters instead of depending on inferior IO.
1054 2014-06-18 Don Breazeal <donb@codesourcery.com>
1056 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1058 (explicit_fork_parent_follow): Deleted procedure.
1059 (explicit_fork_child_follow): Deleted procedure.
1060 (test_follow_fork): New procedure.
1061 (do_fork_tests): Replace calls to deleted procedures with
1062 calls to test_follow_fork and reset GDB for subsequent
1065 2014-06-17 Yao Qi <yao@codesourcery.com>
1067 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1070 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
1072 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1073 Initialize ptr and S explicitly.
1074 (skip_type_update_when_not_use_rtti_test): Likewise.
1076 2014-06-16 Keith Seitz <keiths@redhat.com>
1079 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1080 the inferior is started.
1082 2014-06-16 Pedro Alves <palves@redhat.com>
1084 * gdb.base/break-main-file-remove-fail.c: New file.
1085 * gdb.base/break-main-file-remove-fail.exp: New file.
1086 * gdb.base/break-unload-file.exp: Use build_executable instead of
1087 prepare_for_testing.
1088 (test_break): New parameter "initial_load". Handle it.
1089 (top level): Add initial_load cmdline/file axis.
1091 2014-06-12 Tom Tromey <tromey@redhat.com>
1093 * gdb.base/completion.exp: Don't use directory name in test.
1095 2014-06-09 Gary Benson <gbenson@redhat.com>
1097 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1098 separate the always-available ANSI-standard signals from the
1099 signals that require checking.
1101 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1105 2014-06-07 Keith Seitz <keiths@redhat.com>
1109 * gdb.cp/var-tag.cc: New file.
1110 * gdb.cp/var-tag.exp: New file.
1111 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1112 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1113 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1114 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1116 2014-06-06 Doug Evans <xdje42@gmail.com>
1118 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1120 2014-06-06 Pedro Alves <palves@redhat.com>
1122 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1123 in target debug output instead of looking at RSP packets,
1124 disabling the test on any target that uses hardware stepping.
1127 2014-06-06 Pedro Alves <palves@redhat.com>
1129 * gdb.base/break-unload-file.exp: Fix typo.
1131 2014-06-06 Yao Qi <yao@codesourcery.com>
1133 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1134 from "jit_function" to "^jit_function".
1136 2014-06-06 Yao Qi <yao@codesourcery.com>
1138 * gdb.base/async.c (foo): Add one statement.
1139 * gdb.base/async.exp: Get the next instruction address and
1140 match the output of "nexti" by instruction address. Match
1141 the hex address in the output of "finish".
1143 2014-06-06 Gary Benson <gbenson@redhat.com>
1145 * gdb.base/call-signals.c: Remove preprocessor conditionals
1146 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1147 SIGSEGV and SIGTERM.
1148 * gdb.base/sigall.c: Likewise.
1149 * gdb.base/unwindonsignal.c: Likewise.
1150 * gdb.reverse/sigall-reverse.c: Likewise.
1152 2014-06-06 Yao Qi <yao@codesourcery.com>
1154 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1155 readable, skip the test.
1157 2014-06-06 Yao Qi <yao@codesourcery.com>
1159 * gdb.threads/staticthreads.c (thread_function): Move the line
1160 setting breakpoint on forward.
1161 * gdb.threads/staticthreads.exp: Update comments.
1163 2014-06-05 Ludovic Courtès <ludo@gnu.org>
1165 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1166 "history-append! type error".
1168 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1170 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1171 erroneous dprintf expected input.
1173 2014-06-04 Doug Evans <xdje42@gmail.com>
1175 * gdb.guile/scm-generics.exp: Delete.
1177 2014-06-04 Doug Evans <xdje42@gmail.com>
1179 * gdb.guile/scm-breakpoint.exp: Update.
1180 Add tests for breakpoint registration.
1182 2014-06-04 Tom Tromey <tromey@redhat.com>
1184 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1186 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1187 inner_vla_struct, vla_union types. Initialize objects of those
1188 types and compute their sizes.
1190 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1191 Hui Zhu <hui@codesourcery.com>
1193 * gdb.base/fileio.exp: Add test for shell not available as well as
1195 * gdb.base/fileio.c (test_system): Check for shell twice.
1197 2014-06-04 Yao Qi <yao@codesourcery.com>
1199 * gdb.base/auto-connect-native-target.exp: Remove redundant
1200 space from the regexp pattern.
1202 2014-06-04 Yao Qi <yao@codesourcery.com>
1204 * gdb.base/default.exp: Replace "child" with "native" in
1207 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1209 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1210 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1211 * gdb.python/py-xmethods.py: Python script supporting the
1212 new testcase and tests.
1214 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1215 Pedro Alves <palves@redhat.com>
1217 PR breakpoints/17000
1218 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1219 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1221 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1223 * gdb.base/subst.exp: Add tests to verify partial path matching
1226 2014-06-03 Pedro Alves <palves@redhat.com>
1228 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1229 target that doesn't use software single-stepping.
1231 2014-06-03 Pedro Alves <palves@redhat.com>
1233 PR breakpoints/17000
1234 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1235 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1237 2014-06-02 Doug Evans <xdje42@gmail.com>
1239 * gdb.guile/scm-parameter.exp: New file.
1241 2014-06-02 Doug Evans <xdje42@gmail.com>
1243 * gdb.guile/scm-cmd.c: New file.
1244 * gdb.guile/scm-cmd.exp: New file.
1246 2014-06-02 Doug Evans <xdje42@gmail.com>
1248 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1249 pretty-printer lookup.
1250 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1251 (make-pp_s-printer): Call it.
1252 (make-pretty-printer-from-dict): New function.
1253 (lookup-pretty-printer-maker-from-dict): New function.
1254 (*pretty-printer*): Simplify.
1255 (make-objfile-pp_s-printer): New function.
1256 (install-objfile-pretty-printers!): New function.
1257 (make-progspace-pp_s-printer): New function.
1258 (install-progspace-pretty-printers!): New function.
1259 * gdb.guile/scm-progspace.c: New file.
1260 * gdb.guile/scm-progspace.exp: New file.
1262 2014-06-02 Pedro Alves <palves@redhat.com>
1264 * gdb.base/dprintf-bp-same-addr.c: New file.
1265 * gdb.base/dprintf-bp-same-addr.exp: New file.
1267 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1269 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1270 * gdb.arch/powerpc-power.s: Likewise.
1272 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1274 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1276 2014-06-01 Yao Qi <yao@codesourcery.com>
1278 * gdb.base/watchpoint.exp (test_watch_location): Check null
1279 pointer can be dereferenced. If not, do the test, otherwise
1282 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1284 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1286 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1288 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1290 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1291 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1292 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1293 * gdb.arch/amd64-invalid-stack-top.c: New file.
1294 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1296 2014-05-30 Pedro Alves <palves@redhat.com>
1298 PR breakpoints/17000
1299 * gdb.base/sss-bp-on-user-bp.c: New file.
1300 * gdb.base/sss-bp-on-user-bp.exp: New file.
1302 2014-05-30 David Blaikie <dblaikie@gmail.com>
1304 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1305 gnu_inline semantics via attribute.
1306 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1307 source explicitly specifies the required semantics.
1309 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1311 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1313 2014-05-29 Pedro Alves <palves@redhat.com>
1314 Tom Tromey <tromey@redhat.com>
1316 * gdb.base/async-shell.exp: Don't enable target-async.
1317 * gdb.base/async.exp
1318 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1320 (top level): Don't test with "target-async".
1321 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1322 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1323 * gdb.base/inferior-died.exp: Don't enable target-async.
1324 * gdb.base/interrupt-noterm.exp: Likewise.
1325 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1326 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1327 * gdb.mi/mi-nonstop.exp: Likewise.
1328 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1329 * gdb.mi/mi-nsintrall.exp: Likewise.
1330 * gdb.mi/mi-nsmoribund.exp: Likewise.
1331 * gdb.mi/mi-nsthrexec.exp: Likewise.
1332 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1333 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1334 * gdb.python/py-evsignal.exp: Don't enable target-async.
1335 * gdb.python/py-evthreads.exp: Likewise.
1336 * gdb.python/py-prompt.exp: Likewise.
1337 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1338 * gdb.server/solib-list.exp: Don't enable target-async.
1339 * gdb.threads/thread-specific-bp.exp: Likewise.
1340 * lib/mi-support.exp: Adjust to use mi-async.
1342 2014-05-29 Pedro Alves <palves@redhat.com>
1345 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1346 reason, even in sync mode.
1348 2014-05-29 Pedro Alves <palves@redhat.com>
1349 Hui Zhu <hui@codesourcery.com>
1352 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1353 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1354 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1355 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1357 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1359 * config/monitor.exp (gdb_target_monitor): Replace use of
1360 "set remotebaud" by "set serial baud".
1362 2014-05-26 Andy Wingo <wingo@igalia.com>
1364 * gdb.guile/scm-breakpoint.exp:
1365 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1366 properties instead of gdb-object-properties.
1368 2014-05-26 Yao Qi <yao@codesourcery.com>
1370 * gdb.server/no-thread-db.exp: Specify source file name
1371 explicitly when setting a breakpoint.
1373 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1375 * gdb.btrace/vdso.c: New.
1376 * gdb.btrace/vdso.exp: New.
1378 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1380 * gdb.base/gcore.exp (capture_command_output): Move ...
1381 * lib/gdb.exp (capture_command_output): ... here.
1383 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1385 * gdb.btrace/data.exp: Test memory access during btrace replay.
1387 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1389 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1391 2014-05-21 Pedro Alves <palves@redhat.com>
1394 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1395 (top level): Test that output related to execution commands is
1396 sent to the console with CLI commands, but not with MI commands.
1397 Test that breakpoint events are always mirrored to the console.
1398 Also expect the new source line to be output after a "next" in
1399 async mode too. Make it a pass/fail test.
1400 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1402 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1404 2014-05-21 Pedro Alves <palves@redhat.com>
1406 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1407 Use them to test variations of "list" after reaching a breakpoint.
1408 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1409 Test "list" with listsize 10 after reaching a breakpoint.
1410 * gdb.python/python.exp (decode_line current location line
1411 number): Adjust expected line number.
1413 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1415 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1416 behavior for $args, pass it directly to "run".
1418 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1420 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1423 2014-05-21 Pedro Alves <palves@redhat.com>
1425 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1426 auto-connect-native-target off".
1427 * gdb.base/auto-connect-native-target.c: New file.
1428 * gdb.base/auto-connect-native-target.exp: New file.
1430 2014-05-21 Pedro Alves <palves@redhat.com>
1432 * gdb.base/default.exp: Test "target native" instead of "target
1435 2014-05-21 Mark Wielaard <mjw@redhat.com>
1437 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1439 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1441 Fix TLS access for -static -pthread.
1442 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1443 <HAVE_TLS> (thread_function, main): Initialize it.
1444 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1446 <$have_tls != "">: Check TLSVAR.
1448 2014-05-21 Pedro Alves <palves@redhat.com>
1450 * gdb.base/dcache-line-read-error.c: New.
1451 * gdb.base/dcache-line-read-error.exp: New.
1453 2014-05-20 Pedro Alves <palves@redhat.com>
1455 * gdb.base/compare-sections.c: New file.
1456 * gdb.base/compare-sections.exp: New file.
1458 2014-05-20 Pedro Alves <palves@redhat.com>
1460 * gdb.base/break-idempotent.c: New file.
1461 * gdb.base/break-idempotent.exp: New file.
1463 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1465 * gdb.btrace/nohist.exp: New.
1467 2014-05-20 Yao Qi <yao@codesourcery.com>
1469 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1470 gdb.reverse directory and gdb_reverse_timeout exists in board
1472 * README: Document gdb_reverse_timeout.
1474 2014-05-20 Yao Qi <yao@codesourcery.com>
1476 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1477 'test_file_name'. Treat args as a string instead of a list.
1478 (gdb_init): Rename argument 'args' by 'test_file_name'.
1480 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1482 * gdb.arch/powerpc-power.exp: New file.
1483 * gdb.arch/powerpc-power.s: New file.
1485 2014-05-16 Doug Evans <dje@google.com>
1487 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
1488 * gdb.base/completion.exp: Check that all expected files exist
1489 before doing file completion.
1491 2014-05-16 Doug Evans <dje@google.com>
1493 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1495 (do_syscall_tests_without_xml): Update.
1497 2014-05-16 Pedro Alves <palves@redhat.com>
1499 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1500 instead of "unknown output after running".
1502 2014-05-16 Yao Qi <yao@codesourcery.com>
1504 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1505 file1.txt from host at the end.
1506 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1508 2014-05-15 Doug Evans <dje@google.com>
1510 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1511 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1512 loading file. Add test for TU lookup.
1514 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1516 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1517 calling "-exec-arguments" or "set args" before running the
1520 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1522 * lib/mi-support.exp (mi_expect_stop): Expect message for
1523 inferiors that exit with non-zero exit code.
1525 2014-05-14 Yao Qi <yao@codesourcery.com>
1527 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1528 match absolute path on remote host.
1529 (test_file_list_exec_source_files): Remove "/" from the
1532 2014-05-14 Yao Qi <yao@codesourcery.com>
1534 * boards/local-remote-host-notty.exp (${board}_file): New
1537 2014-05-07 Kyle McMartin <kyle@redhat.com>
1539 Pushed by Joel Brobecker <brobecker@adacore.com>.
1540 * gdb.arch/aarch64-atomic-inst.c: New file.
1541 * gdb.arch/aarch64-atomic-inst.exp: New file.
1543 2014-05-07 Yao Qi <yao@codesourcery.com>
1545 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1546 in current context" too.
1548 2014-05-05 Keith Seitz <keiths@redhat.com>
1550 * gdb.linespec/ls-dollar.exp: Add test for linespec
1551 file:convenience_variable.
1553 2014-05-05 Yao Qi <yao@codesourcery.com>
1555 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
1556 traceframes into tfile and ctf trace files. Read data from
1557 trace file and test collected data.
1558 (gdb_collect_locals_test): Likewise.
1559 (gdb_unavailable_registers_test): Likewise.
1560 (gdb_unavailable_floats): Likewise.
1561 (gdb_collect_globals_test): Likewise.
1562 (top-level): Append "ctf" to trace_file_targets if GDB
1565 2014-05-05 Yao Qi <yao@codesourcery.com>
1567 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
1569 (gdb_collect_args_test_1): ... it. New proc.
1570 (gdb_collect_locals_test): Move some code to ...
1571 (gdb_collect_locals_test_1): ... it. New proc.
1572 (gdb_unavailable_registers_test): Move some code to ...
1573 (gdb_unavailable_registers_test_1): ... it. New proc.
1574 (gdb_unavailable_floats): Move some code to ...
1575 (gdb_unavailable_floats_1): ... it. New proc.
1577 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1579 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
1580 probes to test for bitness recognition.
1581 * gdb.arch/amd64-stap-optional-prefix.exp
1582 (test_probe_value_without_reg): New procedure.
1583 Add code to test for different kinds of bitness.
1585 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1587 PR breakpoints/16889
1588 * gdb.arch/amd64-stap-optional-prefix.S: New file.
1589 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1591 2014-05-01 Pedro Alves <palves@redhat.com>
1593 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
1594 gdb_file_cmd if no file is specified.
1595 * boards/native-extended-gdbserver.exp (gdb_load): Use the
1596 last_loaded_file to set the remote exec-file.
1598 2014-05-01 Pedro Alves <palves@redhat.com>
1600 * boards/local-remote-host.exp: New file.
1602 2014-05-01 Pedro Alves <palves@redhat.com>
1604 * boards/local-remote-host.exp: Rename to ...
1605 * boards/local-remote-host-notty.exp: ... this.
1607 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1609 * gdb.ada/dyn_arrayidx: New testcase.
1611 2014-04-26 Yao Qi <yao@codesourcery.com>
1613 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
1614 and compute the length of function main. Save it in
1616 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
1617 (top-level): Use gdb_compile to compile objects into
1618 executable and restart GDB. Remove invocation to
1619 prepare_for_testing.
1621 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
1622 Pedro Alves <palves@redhat.com>
1625 * gdb.multi/multi-attach.c: New file.
1626 * gdb.multi/multi-attach.exp: New file.
1628 2014-04-25 Pedro Alves <palves@redhat.com>
1630 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
1632 (top level): Test that "set remote conditional-breakpoints-packet
1633 off" works as intended.
1634 * gdb.base/dprintf.exp: Test that "set remote
1635 breakpoint-commands-packet off" works as intended.
1636 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
1638 (top level): Call it.
1639 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
1640 remote fast-tracepoints-packet off" works as intended.
1641 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
1642 * lib/gdb.exp (gdb_is_target_remote): ... here.
1644 2014-04-24 David Blaikie <dblaikie@gmail.com>
1646 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
1647 ensure clang would not discard them.
1648 * gdb.base/gdbvars.c: Ditto.
1649 * gdb.base/memattr.c: Ditto.
1650 * gdb.base/whatis.c: Ditto.
1651 * gdb.python/py-prettyprint.c: Ditto.
1652 * gdb.trace/actions.c: Ditto.
1653 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
1654 ensure clang would not discard it.
1656 2014-04-24 David Blaikie <dblaikie@gmail.com>
1658 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1659 clang to emit the full definition of type required by the test
1660 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1662 2014-04-24 David Blaikie <dblaikie@gmail.com>
1664 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1665 coax Clang into emitting the definition of the type.
1666 * gdb.cp/pr10728-x.h (y): Ditto.
1667 * gdb.cp/pr10728-y.cc (y): Ditto.
1669 2014-04-24 David Blaikie <dblaikie@gmail.com>
1671 * gdb.base/label.exp: XFAIL label related tests under Clang.
1672 * gdb.cp/cplabel.exp: Ditto.
1673 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
1674 under Clang those using labels.
1676 2014-04-25 Yao Qi <yao@codesourcery.com>
1678 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
1680 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
1681 partial_label and double_label.
1683 2014-04-24 David Blaikie <dblaikie@gmail.com>
1685 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
1687 2014-04-24 David Blaikie <dblaikie@gmail.com>
1689 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
1690 of the function to work across GCC and Clang.
1691 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
1692 pointer types (const void ** const V void **).
1694 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
1695 Walfred Tedeschi <walfred.tedeschi@intel.com>
1697 * Makefile.in (EXECUTABLES): Added i386-avx512.
1698 * gdb.arch/i386-avx512.c: New file.
1699 * gdb.arch/i386-avx512.exp: Likewise.
1701 2014-04-23 Keith Seitz <keiths@redhat.com>
1703 * lib/mi-support.exp (mi_list_breakpoints): Delete.
1704 (mi_make_breakpoint_table): New procedure.
1705 (mi_create_breakpoint): Use mi_make_breakpoint
1706 and return the result.
1707 (mi_make_breakpoint): New procedure.
1708 (mi_build_kv_pairs): New procedure.
1710 * gdb.mi/mi-break.exp: Remove unused globals,
1711 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
1712 All callers updated.
1713 * gdb.mi/mi-dprintf.exp: Use variable to track command
1715 Update all callers of mi_create_breakpoint and use
1716 mi_make_breakpoint_table.
1717 Remove any unused global variables.
1718 * gdb.mi/mi-nonstop.exp: Likewise.
1719 * gdb.mi/mi-nsintrall.exp: Likewise.
1720 * gdb.mi/mi-nsmoribund.exp: Likewise.
1721 * gdb.mi/mi-nsthrexec.exp: Likewise.
1722 * gdb.mi/mi-reverse.exp: Likewise.
1723 * gdb.mi/mi-simplerun.exp: Likewise.
1724 * gdb.mi/mi-stepn.exp: Likewise.
1725 * gdb.mi/mi-syn-frame.exp: Likewise.
1726 * gdb.mi/mi-until.exp: Likewise.
1727 * gdb.mi/mi-var-cp.exp: Likewise.
1728 * gdb.mi/mi-var-display.exp: Likewise.
1729 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1730 * gdb.mi/mi2-var-child.exp: Likewise.
1731 * gdb.mi/mi-vla-c99.exp: Likewise.
1732 * lib/mi-support.exp: Likewise.
1734 From Ian Lance Taylor <iant@cygnus.com>:
1735 * lib/gdb.exp (parse_args): New procedure.
1737 2014-04-23 Pedro Alves <palves@redhat.com>
1739 * gdb.base/break-unload-file.c: New file.
1740 * gdb.base/break-unload-file.exp: New file.
1741 * gdb.base/sym-file-lib.c (baz): New function.
1742 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
1744 (load): Store the segment's mapped size.
1745 (unload): New function.
1746 (unload_shlib): New function.
1747 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
1748 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
1749 set a breakpoint at baz, and call it.
1750 * gdb.base/sym-file.exp: New tests for stale breakpoint
1753 2014-04-23 Pedro Alves <palves@redhat.com>
1755 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
1756 * gdb.base/hbreak-in-shr-unsupported.c: New file.
1757 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
1758 * gdb.base/hbreak-unmapped.c: New file.
1759 * gdb.base/hbreak-unmapped.exp: New file.
1760 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
1761 * lib/gdb.exp (gdb_is_target_remote): ... here.
1763 2014-04-22 Pedro Alves <palves@redhat.com>
1765 * gdb.base/consecutive-step-over.c: New file.
1766 * gdb.base/consecutive-step-over.exp: New file.
1768 2014-04-22 Pedro Alves <palves@redhat.com>
1770 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
1771 instead of send_gdb/gdb_expect.
1773 2014-04-22 Yao Qi <yao@codesourcery.com>
1775 * lib/trace-support.exp (generate_tracefile): New procedure.
1776 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
1778 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
1779 if generate_tracefile returns 1.
1781 2014-04-18 Tom Tromey <palves@redhat.com>
1782 Pedro alves <tromey@redhat.com>
1785 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
1786 with a backtrace limit.
1787 * gdb.python/py-frame-inline.exp: Test running to an inline
1788 function with a backtrace limit, and printing the newest frame.
1789 * gdb.python/py-frame-inline.c (main): Call f.
1791 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1793 * gdb.java/jnpe.exp: Drop srcdir from untested path.
1795 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1797 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
1798 Drop prefix from unsupported source file path.
1800 2014-04-17 Yao Qi <yao@codesourcery.com>
1802 * lib/gdb.exp (with_target_charset): New proc.
1803 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
1804 with_target_charset.
1805 (test_print_strings): Likewise.
1806 (test_repeat_bytes): Likewise.
1807 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
1810 2014-04-16 Keith Seitz <keiths@redhat.com>
1813 * gdb.dwarf2/corrupt.c: New file.
1814 * gdb.dwarf2/corrupt.exp: New file.
1816 2014-04-16 Keith Seitz <keiths@redhat.com>
1819 * gdb.cp/namelessclass.cc: New file.
1820 * gdb.cp/namelessclass.exp: New file.
1821 * gdb.cp/namelessclass.S: New file.
1823 2014-04-16 Doug Evans <dje@google.com>
1825 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
1827 (gdbserver_default_get_comm_port): New function.
1828 (gdbserver_start): Check if board file provided
1829 "gdbserver,get_comm_port" and use it if so.
1830 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
1831 (gdb,socketport): Set to "stdio".
1832 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
1833 (stdio_gdbserver_template): Delete.
1834 (${board}_get_remote_address): Update.
1835 (${board}_build_remote_cmd): Delete.
1836 (${board}_get_comm_port): New function.
1837 (${board}_spawn): Update.
1838 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
1840 (${board}_get_remote_address): Update.
1841 (${board}_get_comm_port): New function.
1843 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
1845 * gdb.base/memattr.exp: Improve regexps to handle memory regions
1846 appearing in any order.
1848 2014-04-15 Doug Evans <dje@google.com>
1850 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
1851 uninitialized value of "description".
1853 2014-04-15 Keith Seitz <keiths@redhat.com>
1855 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
1856 Remove unused globals.
1857 (test_running_the_program): Likewise.
1858 (test_controlled_execution): Likewise.
1859 (test_controlling_breakpoints): Likewise.
1860 (test_program_termination): Likewise.
1862 2014-04-15 Keith Seitz <keiths@redhat.com>
1864 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
1866 (test_rbreak_creation_and_listing): Likewise.
1867 (test_ignore_count): Likewise.
1868 (test_error): Likewise.
1870 2014-04-15 Pedro Alves <palves@redhat.com>
1872 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
1873 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
1875 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1876 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1877 to sym-file-loader.c.
1878 (struct library): Forward declare.
1879 (load_shlib, lookup_function): Change prototypes.
1880 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1881 (translate_offset): Remove declarations.
1882 (get_text_addr): New declaration.
1883 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
1884 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
1886 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1887 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1888 here from sym-file-loader.h.
1889 (struct library): New structure.
1890 (load_shlib, lookup_function): Change prototypes and adjust to
1891 work with a struct library.
1892 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1893 (translate_offset): Make static.
1894 (get_text_addr): New function.
1895 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
1897 2014-04-15 Pedro Alves <palves@redhat.com>
1899 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
1901 2014-04-15 Pedro Alves <palves@redhat.com>
1903 * gdb.base/sym-file-loader.c: Include <limits.h>.
1904 (SELF_LINK): New define.
1905 (get_origin): New function.
1906 (load_shlib): Use it.
1907 * gdb.base/sym-file.exp: Don't early return if the target is
1908 remote. Use runto_main, and issue fail is that fails. Use
1910 (shlib_name): Delete.
1911 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
1913 2014-04-15 Pedro Alves <palves@redhat.com>
1915 * gdb.base/sym-file.exp: Remove regex characters from test
1916 message. Don't refer to breakpoint numbers in test messages.
1918 2014-04-14 Keith Seitz <keiths@redhat.com>
1921 * gdb.cp/var-tag.cc: New file.
1922 * gdb.cp/var-tag.exp: New file.
1923 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1924 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1925 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1926 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1928 2014-04-14 Tom Tromey <tromey@redhat.com>
1930 * gdb.cp/classes.exp (test_enums): Handle underlying type.
1931 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
1933 * gdb.cp/enum-class.exp: New file.
1934 * gdb.cp/enum-class.cc: New file.
1936 2014-04-14 Tom Tromey <tromey@redhat.com>
1938 * gdb.dwarf2/enum-type.exp: New file.
1940 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1942 * gdb.mi/mi-vla-c99.exp: New file.
1943 * gdb.mi/vla.c: New file.
1945 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1947 * gdb.base/vla-datatypes.c: New file.
1948 * gdb.base/vla-datatypes.exp: New file.
1950 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1952 * gdb.base/vla-ptr.c: New file.
1953 * gdb.base/vla-ptr.exp: New file.
1955 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1957 * gdb.dwarf2/count.exp: New file.
1959 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1961 * gdb.base/vla-sideeffect.c: New file.
1962 * gdb.base/vla-sideeffect.exp: New file.
1964 2014-04-14 David Blaikie <dblaikie@gmail.com>
1966 * gdb.mi/non-stop.c: Add return value for non-void function return
1968 * gdb.threads/staticthreads.c: Ditto.
1970 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
1971 Doug Evans <xdje42@gmail.com>
1973 * gdb.guile/scm-value.c: Improve test case.
1974 * gdb.guile/scm-value.exp: Add new test.
1976 2014-04-11 David Blaikie <dblaikie@gmail.com>
1978 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
1979 override Clang's default.
1981 2014-04-11 Joel Brobecker <brobecker@adacore.com>
1983 Revert the following changes (regressions):
1985 * gdb.base/vla-sideeffect.c: New file.
1986 * gdb.base/vla-sideeffect.exp: New file.
1988 * gdb.dwarf2/count.exp: New file.
1990 * gdb.base/vla-multi.c: New file.
1991 * gdb.base/vla-multi.exp: New file.
1993 * gdb.base/vla-ptr.c: New file.
1994 * gdb.base/vla-ptr.exp: New file.
1996 * gdb.base/vla-datatypes.c: New file.
1997 * gdb.base/vla-datatypes.exp: New file.
1999 * gdb.mi/mi-vla-c99.exp: New file.
2000 * gdb.mi/vla.c: New file.
2002 2014-04-11 Keith Seitz <keiths@redhat.com>
2005 * gdb.cp/cpsizeof.exp: New file.
2006 * gdb.cp/cpsizeof.cc: New file.
2008 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2010 * gdb.mi/mi-vla-c99.exp: New file.
2011 * gdb.mi/vla.c: New file.
2013 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2015 * gdb.base/vla-datatypes.c: New file.
2016 * gdb.base/vla-datatypes.exp: New file.
2018 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2020 * gdb.base/vla-ptr.c: New file.
2021 * gdb.base/vla-ptr.exp: New file.
2023 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2025 * gdb.base/vla-multi.c: New file.
2026 * gdb.base/vla-multi.exp: New file.
2028 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2030 * gdb.dwarf2/count.exp: New file.
2032 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2034 * gdb.base/vla-sideeffect.c: New file.
2035 * gdb.base/vla-sideeffect.exp: New file.
2037 2014-04-11 Yao Qi <yao@codesourcery.com>
2039 * gdb.base/completion.exp: Check file exists before running tests
2042 2014-04-10 Pedro Alves <palves@redhat.com>
2044 * gdb.base/cond-eval-mode.c: New file.
2045 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2046 prepare_for_testing to build the new file. Check result of
2048 (test_break, test_watch): New procedures.
2049 (top level): Use them.
2051 2014-04-08 Pierre Muller <muller@sourceware.org>
2053 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2054 Ctrl-V use for mingw hosts.
2056 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2058 * gdb.python/py-value.c: Improve test case.
2059 * gdb.python/py-value.exp: Add new test.
2061 2014-04-07 David Blaikie <dblaikie@gmail.com>
2063 * lib/compiler.c: Identify the clang compiler.
2064 * lib/compiler.cc: Ditto.
2066 2014-04-03 Yao Qi <yao@codesourcery.com>
2068 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2070 2014-04-01 Anton Blanchard <anton@samba.org>
2072 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2075 2014-04-01 Anton Blanchard <anton@samba.org>
2077 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2078 prepare_for_testing.
2080 2014-04-01 Anton Blanchard <anton@samba.org>
2082 * gdb.arch/ppc64-atomic-inst.c: Remove.
2083 * gdb.arch/ppc64-atomic-inst.S: New file.
2084 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2086 2014-03-31 Doug Evans <dje@google.com>
2088 * gdb.base/print-symbol-loading-lib.c: New file.
2089 * gdb.base/print-symbol-loading-main.c: New file.
2090 * gdb.base/print-symbol-loading.exp: New file.
2092 2014-03-31 Yao Qi <yao@codesourcery.com>
2094 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2096 2014-03-28 Joel Brobecker <brobecker@adacore.com>
2098 * gdb.ada/mi_dyn_arr: New testcase.
2100 2014-03-27 Doug Evans <dje@google.com>
2102 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2104 2014-03-27 Yao Qi <yao@codesourcery.com>
2106 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2107 if target is nios2-*-*.
2109 2014-03-26 Yao Qi <yao@codesourcery.com>
2111 * lib/gdb.exp (readline_is_used): New proc.
2112 * gdb.base/completion.exp: Move tests on command complete up.
2113 Skip the rest of tests if readline is not used.
2114 * gdb.ada/complete.exp: Skp the test if readline is not
2116 * gdb.base/filesym.exp: Likewise.
2117 * gdb.base/macscp.exp: Likewise.
2118 * gdb.base/readline-ask.exp: Likewise.
2119 * gdb.base/readline.exp: Likewise.
2120 * gdb.python/py-cmd.exp: Likewise.
2121 * gdb.trace/tfile.exp: Likewise.
2123 2014-03-26 Yao Qi <yao@codesourcery.com>
2125 * gdb.base/macscp.exp: Fix code format issues.
2127 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2129 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2130 * gdb.asm/powerpc64le.inc: New file.
2132 2014-03-25 Pedro Alves <palves@redhat.com>
2133 Doug Evans <dje@google.com>
2135 * gdb.base/source-execution.c: New file.
2136 * gdb.base/source-execution.exp: New file.
2137 * gdb.base/source-execution.gdb: New file.
2139 2014-03-24 Doug Evans <dje@google.com>
2141 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2144 2014-03-24 Hui Zhu <hui@codesourcery.com>
2145 Pedro Alves <palves@redhat.com>
2147 PR breakpoints/16101
2148 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2149 test pass/fail messages. Detect missing support for dprintf when
2150 breakpoints are actually inserted.
2151 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2152 breakpoints are actually inserted.
2153 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2156 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2158 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2160 2014-03-22 Doug Evans <xdje42@gmail.com>
2162 * gdb.python/python.exp (python not supported): Verify multi-line
2163 python command issues an error.
2164 * gdb.guile/guile.exp (guile not supported): Verify multi-line
2165 guile command issues an error.
2167 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2169 * gdb.threads/thread-specific.exp: Handle the lack of usable
2170 $this_breakpoint and $this_thread.
2172 2014-03-21 Hui Zhu <hui@codesourcery.com>
2174 * gdb.base/attach.exp (do_command_attach_tests): New.
2176 2014-03-20 Tom Tromey <tromey@redhat.com>
2177 Pedro Alves <palves@redhat.com>
2180 * gdb.base/condbreak-call-false.c: New file.
2181 * gdb.base/condbreak-call-false.exp: New file.
2183 2014-03-20 Pedro Alves <palves@redhat.com>
2185 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2187 (block_signals, unblock_signals): Delete.
2188 (child_function_2, main): Remove references to deleted variable
2191 2014-03-20 Pedro Alves <palves@redhat.com>
2193 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2194 Use pthread_kill to signal thread 2.
2195 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2196 Adjust to make the test send itself a signal rather than using the
2197 host's "kill" command.
2199 2014-03-20 Pedro Alves <palves@redhat.com>
2201 * gdb.threads/multiple-step-overs.c: New file.
2202 * gdb.threads/multiple-step-overs.exp: New file.
2203 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2204 Adjust expected infrun debug output.
2206 2014-03-20 Pedro Alves <palves@redhat.com>
2208 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2209 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2211 2014-03-20 Pedro Alves <palves@redhat.com>
2214 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2215 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2216 of gdb_test_multiple.
2217 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2218 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2220 2014-03-20 Pedro Alves <palves@redhat.com>
2222 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2223 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2225 2014-03-19 Pedro Alves <palves@redhat.com>
2227 * gdb.base/async.exp: Remove early return.
2229 2014-03-19 Pedro Alves <palves@redhat.com>
2231 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2233 2014-03-19 Pedro Alves <palves@redhat.com>
2235 * gdb.base/async.exp (test_background): Expect \r\n after
2236 "completed." in the fail pattern.
2238 2014-03-19 Pedro Alves <palves@redhat.com>
2240 * gdb.base/async.exp (test_background): New procedure.
2241 Use it for all background execution command tests.
2243 2014-03-19 Pedro Alves <palves@redhat.com>
2245 * gdb.base/async.exp: Use prepare_for_testing.
2247 2014-03-19 Pedro Alves <palves@redhat.com>
2249 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2252 2014-03-19 Pedro Alves <palves@redhat.com>
2254 * gdb.base/async.c (main): Add "jump here" and "until here" line
2256 * gdb.base/async.exp (jump_here): New global.
2257 (jump& test): Use it.
2258 (until_here): New global.
2259 (until& test): Use it.
2261 2014-03-19 Pedro Alves <palves@redhat.com>
2263 * gdb.base/async.exp: Don't frob gdb_protocol.
2265 2014-03-18 Doug Evans <xdje42@gmail.com>
2267 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2268 Fix spelling of exec-done-display.
2270 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2273 * gdb.base/gdb-sigterm.c: New file.
2274 * gdb.base/gdb-sigterm.exp: New file.
2276 2014-03-18 Pedro Alves <palves@redhat.com>
2279 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2280 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2283 2014-03-17 Joel Brobecker <brobecker@adacore.com>
2285 * gdb.ada/pckd_arr_ren: New testcase.
2287 2014-03-13 Doug Evans <xdje42@gmail.com>
2290 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2291 collect after discarding symbols.
2293 2014-03-13 Ludovic Courtès <ludo@gnu.org>
2294 Doug Evans <xdje42@gmail.com>
2296 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2297 to history survives a gc.
2299 2014-03-13 Pedro Alves <palves@redhat.com>
2301 * gdb.base/default.exp: Don't test "target procfs".
2303 2014-03-13 Pedro Alves <palves@redhat.com>
2305 * gdb.base/default.exp: Update "target child" and "target procfs"
2306 tests to not expect "Unix".
2308 2014-03-12 Tom Tromey <tromey@redhat.com>
2310 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2311 New procs. Add target-async tests.
2312 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2313 Add target-async tests.
2315 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2317 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2318 'func_start' and 'func_end' for the beginning and end of the
2319 function code, respectively.
2320 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2321 'func_end' instead of 'func' and 'main'.
2323 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2325 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2326 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2327 generate the debug info assembler source.
2329 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2331 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2332 * gdb.dwarf2/arr-subrange.exp: Likewise.
2333 * gdb.dwarf2/dwz.exp: Likewise.
2334 * gdb.dwarf2/method-ptr.exp: Likewise.
2335 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2336 * gdb.dwarf2/subrange.exp: Likewise.
2337 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2338 * gdb.dwarf2/implptrpiece.exp: Likewise.
2339 * gdb.dwarf2/nostaticblock.exp: Likewise.
2341 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2343 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2344 directory to absolute path name arguments.
2346 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2348 * gdb.ada/tagged_access: New testcase.
2350 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2352 * gdb.btrace/data.exp: Update expected output.
2354 2014-03-06 Yao Qi <yao@codesourcery.com>
2356 * gdb.trace/pr16508.exp: New file.
2358 2014-03-05 Pedro Alves <palves@redhat.com>
2361 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2363 (top level): Adjust to use it. Add tests that exercise breakpoint
2364 interaction with the code-cache.
2366 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2368 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2369 test for 'history-append!'.
2371 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2373 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2374 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2375 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2376 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2377 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2378 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2380 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2382 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2383 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2384 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2386 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2388 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2390 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2392 * gdb.dwarf2/arr-stride.c: New file.
2393 * gdb.dwarf2/arr-stride.exp: New file.
2395 2014-02-26 Pedro Alves <palves@redhat.com>
2397 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2398 that won't ever trigger. Make sure that GDB reports the correct
2399 breakpoint that caused the stop.
2401 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2404 * gdb.base/auto-load-script: New file.
2405 * gdb.base/auto-load.c: New file.
2406 * gdb.base/auto-load.exp: New file.
2409 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2411 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2413 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2414 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2416 2014-02-24 Doug Evans <dje@google.com>
2418 * lib/gdb.exp (run_on_host): Log error output if program fails.
2420 2014-02-21 Pedro Alves <palves@redhat.com>
2422 * gdb.threads/step-after-sr-lock.c: Rename to ...
2423 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2424 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2425 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2428 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2431 * gdb.arch/amd64-stap-special-operands.exp: New file.
2432 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2433 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2434 * gdb.arch/amd64-stap-triplet.S: Likewise.
2435 * gdb.arch/amd64-stap-triplet.c: Likewise.
2437 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2439 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2440 in .section pseudo-op.
2442 2014-02-20 lin zuojian <manjian2006@gmail.com>
2443 Joel Brobecker <brobecker@adacore.com>
2444 Doug Evans <xdje42@gmail.com>
2447 * gdb.dwarf2/dw2-icycle.S: New file.
2448 * gdb.dwarf2/dw2-icycle.c: New file.
2449 * gdb.dwarf2/dw2-icycle.exp: New file.
2451 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2453 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2454 operations on gdb.Value objects.
2455 * gdb.python/py-value-cc.exp: Add new test to test operations on
2458 2014-02-18 Doug Evans <dje@google.com>
2460 * Makefile.in (TESTS): New variable.
2461 (expanded_tests, expanded_tests_or_none): New variables
2462 (check-single): Pass $(expanded_tests_or_none) to runtest.
2463 (check-parallel): Only run tests in $(TESTS) if non-empty.
2464 (check/no-matching-tests-found): New rule.
2465 * README: Document TESTS makefile variable.
2467 2014-02-18 Doug Evans <dje@google.com>
2469 * Makefile.in (check-parallel): rm -rf outputs temp.
2471 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2473 Fix "ERROR: no fileid for" in the testsuite.
2474 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2476 2014-02-12 Doug Evans <dje@google.com>
2478 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2479 (MISCELLANEOUS): New variable.
2480 (clean): rm -rf $(MISCELLANEOUS).
2481 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2482 dwp live in the same directory as symlinks, with each symlink pointed
2483 to a differently named file in a different directory.
2485 2014-02-11 Doug Evans <dje@google.com>
2487 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2488 of Tcl file commands.
2490 2014-02-10 Mark Kettenis <kettenis@gnu.org>
2492 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2495 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2497 * gdb.ada/tick_length_array_enum_idx: New testcase.
2499 2014-02-10 Doug Evans <xdje42@gmail.com>
2501 * configure.ac (AC_OUTPUT): Add gdb.guile.
2502 * configure: Regenerate.
2503 * lib/gdb-guile.exp: New file.
2504 * lib/gdb.exp (get_target_charset): New function.
2505 * gdb.base/help.exp: Update expected output from "apropos apropos".
2506 * gdb.guile/Makefile.in: New file.
2507 * gdb.guile/guile.exp: New file.
2508 * gdb.guile/scm-arch.c: New file.
2509 * gdb.guile/scm-arch.exp: New file.
2510 * gdb.guile/scm-block.c: New file.
2511 * gdb.guile/scm-block.exp: New file.
2512 * gdb.guile/scm-breakpoint.c: New file.
2513 * gdb.guile/scm-breakpoint.exp: New file.
2514 * gdb.guile/scm-disasm.c: New file.
2515 * gdb.guile/scm-disasm.exp: New file.
2516 * gdb.guile/scm-equal.c: New file.
2517 * gdb.guile/scm-equal.exp: New file.
2518 * gdb.guile/scm-error.exp: New file.
2519 * gdb.guile/scm-error.scm: New file.
2520 * gdb.guile/scm-frame-args.c: New file.
2521 * gdb.guile/scm-frame-args.exp: New file.
2522 * gdb.guile/scm-frame-args.scm: New file.
2523 * gdb.guile/scm-frame-inline.c: New file.
2524 * gdb.guile/scm-frame-inline.exp: New file.
2525 * gdb.guile/scm-frame.c: New file.
2526 * gdb.guile/scm-frame.exp: New file.
2527 * gdb.guile/scm-generics.exp: New file.
2528 * gdb.guile/scm-gsmob.exp: New file.
2529 * gdb.guile/scm-iterator.c: New file.
2530 * gdb.guile/scm-iterator.exp: New file.
2531 * gdb.guile/scm-math.c: New file.
2532 * gdb.guile/scm-math.exp: New file.
2533 * gdb.guile/scm-objfile-script-gdb.in: New file.
2534 * gdb.guile/scm-objfile-script.c: New file.
2535 * gdb.guile/scm-objfile-script.exp: New file.
2536 * gdb.guile/scm-objfile.c: New file.
2537 * gdb.guile/scm-objfile.exp: New file.
2538 * gdb.guile/scm-ports.exp: New file.
2539 * gdb.guile/scm-pretty-print.c: New file.
2540 * gdb.guile/scm-pretty-print.exp: New file.
2541 * gdb.guile/scm-pretty-print.scm: New file.
2542 * gdb.guile/scm-section-script.c: New file.
2543 * gdb.guile/scm-section-script.exp: New file.
2544 * gdb.guile/scm-section-script.scm: New file.
2545 * gdb.guile/scm-symbol.c: New file.
2546 * gdb.guile/scm-symbol.exp: New file.
2547 * gdb.guile/scm-symtab-2.c: New file.
2548 * gdb.guile/scm-symtab.c: New file.
2549 * gdb.guile/scm-symtab.exp: New file.
2550 * gdb.guile/scm-type.c: New file.
2551 * gdb.guile/scm-type.exp: New file.
2552 * gdb.guile/scm-value-cc.cc: New file.
2553 * gdb.guile/scm-value-cc.exp: New file.
2554 * gdb.guile/scm-value.c: New file.
2555 * gdb.guile/scm-value.exp: New file.
2556 * gdb.guile/source2.scm: New file.
2557 * gdb.guile/types-module.cc: New file.
2558 * gdb.guile/types-module.exp: New file.
2560 2014-02-10 Yao Qi <yao@codesourcery.com>
2563 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
2564 * configure: Regenerated.
2565 * Makefile.in: New file.
2567 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2569 * gdb.python/py-framefilter.exp: Fix typo.
2571 2014-02-08 Yao Qi <yao@codesourcery.com>
2573 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
2574 that no =breakpoint-modified is emitted when breakpoints are
2575 modified through MI commands.
2577 2014-02-07 Pedro Alves <pedro@codesourcery.com>
2578 Pedro Alves <palves@redhat.com>
2580 * gdb.threads/step-after-sr-lock.c: New file.
2581 * gdb.threads/step-after-sr-lock.exp: New file.
2583 2014-02-07 Pedro Alves <palves@redhat.com>
2585 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
2587 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2589 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
2590 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
2592 2014-02-06 Doug Evans <xdje42@gmail.com>
2594 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
2597 * gdb.gdb/python-interrupts.exp: New file.
2599 2014-02-05 Yao Qi <yao@codesourcery.com>
2601 * gdb.trace/report.exp (use_collected_data): Test the output
2602 of "info threads" and "info inferiors".
2604 2014-02-05 Yao Qi <yao@codesourcery.com>
2608 2013-05-24 Yao Qi <yao@codesourcery.com>
2610 * gdb.trace/tfile.exp: Test inferior and thread.
2612 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2614 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
2616 * gdb.base/step-bt.c: Call hello via function pointer to make
2617 sure its first instruction is executed on powerpc64le-linux.
2619 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2621 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
2623 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2625 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
2626 of the test patterns for use on little-endian systems.
2628 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2630 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
2631 (decimal_vector): Fix for little-endian.
2633 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2635 * gdb.arch/sparc-sysstep.exp: New file.
2636 * gdb.arch/sparc-sysstep.c: Likewise.
2638 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
2640 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2642 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2644 2014-01-23 Tom Tromey <tromey@redhat.com>
2646 * gdb.ada/array_char_idx: New testcase.
2648 2014-01-23 Tom Tromey <tromey@redhat.com>
2651 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
2652 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2655 2014-01-23 Tom Tromey <tromey@redhat.com>
2658 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2659 string from an inferior frame.
2660 * gdb.python/py-framefilter-mi.exp: Update.
2662 2014-01-22 Doug Evans <dje@google.com>
2664 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2666 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2668 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2670 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2672 * gdb.trace/entry-values.exp: Remove excess space character from
2673 regex patterns. Handle s390 call instruction.
2675 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2677 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
2678 define "*_start" label. Make "name" static.
2679 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
2680 ${name} by references to ${name}_start.
2682 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2684 * gdb.base/info-macros.exp: Remove "debug" from the compile
2687 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2689 * gdb.dlang/demangle.exp: New file.
2691 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2693 * gdb.dlang/primitive-types.exp: New file.
2695 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2697 * configure.ac: Create gdb.dlang/Makefile.
2698 * configure: Regenerate.
2699 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
2700 * gdb.dlang/Makefile.in: New file.
2701 * lib/d-support.exp: New file.
2702 * lib/gdb.exp (skip_d_tests): New proc.
2704 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2706 * gdb.btrace/delta.exp: Check reverse stepi.
2707 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
2708 * gdb.btrace/finish.exp: New.
2709 * gdb.btrace/next.exp: New.
2710 * gdb.btrace/nexti.exp: New.
2711 * gdb.btrace/record_goto.c: Add comments.
2712 * gdb.btrace/step.exp: New.
2713 * gdb.btrace/stepi.exp: New.
2714 * gdb.btrace/multi-thread-step.c: New.
2715 * gdb.btrace/multi-thread-step.exp: New.
2716 * gdb.btrace/rn-dl-bind.c: New.
2717 * gdb.btrace/rn-dl-bind.exp: New.
2718 * gdb.btrace/data.c: New.
2719 * gdb.btrace/data.exp: New.
2720 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2722 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2724 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
2725 * gdb.btrace/exception.exp: Update.
2726 * gdb.btrace/instruction_history.exp: Update.
2727 * gdb.btrace/record_goto.exp: Update.
2728 * gdb.btrace/tailcall.exp: Update.
2729 * gdb.btrace/unknown_functions.exp: Update.
2730 * gdb.btrace/delta.exp: New.
2732 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2734 * gdb.btrace/record_goto.exp: Add backtrace test.
2735 * gdb.btrace/tailcall.exp: Add backtrace test.
2737 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2739 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
2740 * gdb.btrace/record_goto.c: New.
2741 * gdb.btrace/record_goto.exp: New.
2742 * gdb.btrace/x86-record_goto.S: New.
2744 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2746 * gdb.btrace/function_call_history.exp: Update tests.
2747 * gdb.btrace/instruction_history.exp: Update tests.
2749 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2751 * gdb.btrace/function_call_history.exp: Fix expected field
2752 order for "record function-call-history".
2753 Add new tests for "record function-call-history /c".
2754 * gdb.btrace/exception.cc: New.
2755 * gdb.btrace/exception.exp: New.
2756 * gdb.btrace/tailcall.exp: New.
2757 * gdb.btrace/x86-tailcall.S: New.
2758 * gdb.btrace/x86-tailcall.c: New.
2759 * gdb.btrace/unknown_functions.c: New.
2760 * gdb.btrace/unknown_functions.exp: New.
2761 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2763 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2765 * gdb.btrace/instruction_history.exp: Update.
2766 * gdb.btrace/function_call_history.exp: Update.
2768 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2770 * gdb.btrace/function_call_history.exp: Fix expected function
2772 * gdb.btrace/instruction_history.exp: Initialize traced.
2773 Remove traced_functions.
2775 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2777 * gdb.btrace/function_call_history.exp: Update
2778 * gdb.btrace/instruction_history.exp: Update.
2780 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2782 * gdb.btrace/enable.exp: Update expected text.
2784 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
2786 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
2789 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
2791 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
2793 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2795 * lib/gdb.exp (supports_process_record): Return true for
2796 arm*-linux*. (supports_reverse): Likewise.
2798 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
2802 * gdb.python/py-type.c: Enhance test case.
2803 * gdb.python/py-value-cc.cc: Likewise
2804 * gdb.python/py-type.exp: Add new tests.
2805 * gdb.python/py-value-cc.exp: Likewise
2807 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2808 Pedro Alves <palves@redhat.com>
2810 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
2812 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
2813 references to ${name}_start by references to ${name}.
2815 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2817 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
2819 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2821 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
2823 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
2824 Pedro Alves <palves@redhat.com>
2826 * gdb.mi/mi-info-os.exp: Connect to the target with
2829 2014-01-08 Pedro Alves <palves@redhat.com>
2831 * gdb.threads/reconnect-signal.c: New file.
2832 * gdb.threads/reconnect-signal.exp: New file.
2834 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2836 * gdb.base/source-dir.exp: New file.
2838 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2840 * gdb.ada/mi_interface: New testcase.
2842 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2844 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
2845 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
2846 gdb.ada/pp-rec-component/pck.ads: New files.
2848 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2850 * gdb.python/py-pp-integral.c: New file.
2851 * gdb.python/py-pp-integral.py: New file.
2852 * gdb.python/py-pp-integral.exp: New file.
2854 For older changes see ChangeLog-1993-2013.
2860 ;; version-control: never
2863 Copyright 2014 Free Software Foundation, Inc.
2864 Copying and distribution of this file, with or without modification,
2865 are permitted provided the copyright notice and this notice are preserved.