1 2014-10-27 Yao Qi <yao@codesourcery.com>
3 * gdb.trace/tfile.c (adjust_function_address)
4 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
7 2014-10-24 Don Breazeal <donb@codesourcery.com>
9 * gdb.base/foll-fork.exp (test_follow_fork,
10 catch_fork_child_follow): Check for updated fork messages emitted
12 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
13 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
14 vfork_and_exec_child_follow_through_step): Check for updated vfork
15 messages emitted from infrun.c.
17 2014-10-24 Pedro Alves <palves@redhat.com>
19 * gdb.base/corefile.exp: Remove references to ultrix.
20 * gdb.base/interrupt.exp: Likewise.
21 * gdb.base/whatis.exp: Likewise.
22 * gdb.gdb/selftest.exp: Likewise.
23 * gdb.threads/manythreads.exp: Likewise.
24 * gdb.threads/print-threads.exp: Likewise.
25 * gdb.threads/pthreads.exp:: Likewise.
26 * gdb.threads/schedlock.exp: Likewise.
28 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
30 * gdb.cp/non-trivial-retval.cc: Add a test case.
31 * gdb.cp/non-trivial-retval.exp: Add a test.
33 2014-10-20 Yao Qi <yao@codesourcery.com>
35 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
36 * gdb.python/py-objfile-script-gdb.py: New file.
37 * gdb.python/py-objfile-script.exp: Update reference to
38 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
39 of remote_download. Remove the dest file.
41 2014-10-20 Yao Qi <yao@codesourcery.com>
43 * gdb.base/checkpoint.exp: Don't remove file copied on host.
44 * gdb.base/step-line.exp: Likewise.
45 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
46 * gdb.dwarf2/dw2-basic.exp: Likewise.
47 * gdb.dwarf2/dw2-compressed.exp: Likewise.
48 * gdb.dwarf2/dw2-filename.exp: Likewise.
49 * gdb.dwarf2/dw2-intercu.exp: Likewise.
50 * gdb.dwarf2/dw2-intermix.exp: Likewise.
51 * gdb.dwarf2/dw2-producer.exp: Likewise.
52 * gdb.dwarf2/mac-fileno.exp: Likewise.
53 * gdb.python/py-frame-args.exp: Likewise.
54 * gdb.python/py-framefilter.exp: Likewise.
55 * gdb.python/py-mi.exp: Likewise.
56 * gdb.python/py-objfile-script.exp: Likewise
57 * gdb.python/py-pp-integral.exp: Likewise.
58 * gdb.python/py-pp-re-notag.exp: Likewise.
59 * gdb.python/py-prettyprint.exp: Likewise.
60 * gdb.python/py-section-script.exp: Likewise.
61 * gdb.python/py-typeprint.exp: Likewise.
62 * gdb.python/py-xmethods.exp: Likewise.
63 * gdb.stabs/weird.exp: Likewise.
64 * gdb.xml/tdesc-regs.exp: Likewise.
66 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
68 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
69 (out_cu): Use addr_len for the size of addresses.
70 (out_line): Likewise. Size DW_LNE_set_address instruction
71 according to addr_len.
72 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
73 (FUNC): Add START_INSNS to definition.
75 2014-10-18 Yao Qi <yao@codesourcery.com>
77 * gdb.base/argv0-symlink.exp: Check argv[0] value if
78 gdb_has_argv0 return true.
79 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
80 check [target_info exists noargs], check [gdb_has_argv0]
82 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
83 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
86 2014-10-17 Doug Evans <dje@google.com>
88 * gdb.python/py-events.exp: Update expected output for clear_objfiles
90 * gdb.python/py-events.py: Add clear_objfiles event.
92 2014-10-17 Doug Evans <dje@google.com>
94 * gdb.python/py-objfile.exp: Test progspace attribute.
96 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
98 * gdb.guile/scm-breakpoint.exp: Do not assume any
99 directory separators when matching source file paths.
100 * gdb.python/py-breakpoint.exp: Likewise.
101 * gdb.reverse/break-precsave.exp: Likewise.
102 * gdb.reverse/break-reverse.exp: Likewise.
103 * gdb.reverse/consecutive-precsave.exp: Likewise.
104 * gdb.reverse/finish-precsave.exp: Likewise.
105 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
106 * gdb.reverse/finish-reverse.exp: Likewise.
107 * gdb.reverse/i386-precsave.exp: Likewise.
108 * gdb.reverse/i387-env-reverse.exp: Likewise.
109 * gdb.reverse/i387-stack-reverse.exp: Likewise.
110 * gdb.reverse/machinestate-precsave.exp: Likewise.
111 * gdb.reverse/machinestate.exp: Likewise.
112 * gdb.reverse/sigall-precsave.exp: Likewise.
113 * gdb.reverse/solib-precsave.exp: Likewise.
114 * gdb.reverse/step-precsave.exp: Likewise.
115 * gdb.reverse/until-precsave.exp: Likewise.
116 * gdb.reverse/watch-precsave.exp: Likewise.
117 * gdb.reverse/watch-reverse.exp: Likewise.
119 2014-10-17 Yao Qi <yao@codesourcery.com>
121 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
122 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
124 2014-10-17 Pedro Alves <palves@redhat.com>
127 * gdb.base/bg-execution-repeat.c: New file.
128 * gdb.base/bg-execution-repeat.exp: New file.
130 2014-10-17 Pedro Alves <palves@redhat.com>
133 * gdb.base/continue-all-already-running.c: New file.
134 * gdb.base/continue-all-already-running.exp: New file.
136 2014-10-17 Pedro Alves <palves@redhat.com>
139 * gdb.base/annota-input-while-running.c: New file.
140 * gdb.base/annota-input-while-running.exp: New file.
142 2014-10-17 Pedro Alves <palves@redhat.com>
144 * gdb.base/callfuncs.exp: emove references to osf.
145 * gdb.base/sigall.exp: Likewise.
146 * gdb.gdb/selftest.exp: Likewise.
147 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
148 * gdb.mi/non-stop.c: Likewise.
149 * gdb.mi/pthreads.c: Likewise.
150 * gdb.reverse/sigall-precsave.exp: Likewise.
151 * gdb.reverse/sigall-reverse.exp: Likewise.
152 * gdb.threads/pthreads.c: Likewise.
153 * gdb.threads/pthreads.exp: Likewise.
155 2014-10-17 Yao Qi <yao@codesourcery.com>
157 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
158 check 'target_info exists noargs'.
159 (test_command_prompt_position): Likewise.
160 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
162 (progvar_simple_while_test): Likewise.
163 (progvar_complex_if_while_test): Likewise.
164 (if_while_breakpoint_command_test): Likewise.
165 (infrun_breakpoint_command_test): Likewise.
166 (breakpoint_command_test): Likewise.
167 (watchpoint_command_test): Likewise.
168 (bp_deleted_in_command_test): Likewise.
169 (temporary_breakpoint_commands): Likewise.
171 2014-10-16 Yao Qi <yao@codesourcery.com>
173 * gdb.base/remotetimeout.exp: Remove noargs checking.
175 2014-10-15 Pedro Alves <palves@redhat.com>
178 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
179 * gdb.base/breakpoint-in-ro-region.exp
180 (probe_target_hardware_step): New procedure.
181 (top level): Probe hardware stepping and hardware breakpoint
182 support. Test stepping through a read-only region, with both
183 "breakpoint auto-hw" on and off and both "always-inserted" on and
186 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
188 * gdb.dlang/demangle.exp: Update for demangling changes.
190 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
192 * gdb.cp/non-trivial-retval.cc: Add new test cases.
193 * gdb.cp/non-trivial-retval.exp: Add new tests.
195 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
199 * gdb.cp/non-trivial-retval.cc: New file.
200 * gdb.cp/non-trivial-retval.exp: New file.
202 2014-10-15 Yao Qi <yao@codesourcery.com>
204 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
207 2014-10-15 Yao Qi <yao@codesourcery.com>
209 * gdb.python/py-symbol.exp: Match file base name if host is
210 remote, otherwise match file name with dir name.
211 * gdb.python/py-symtab.exp: Likewise.
212 * gdb.python/python.exp: Likewise.
214 2014-10-15 Yao Qi <yao@codesourcery.com>
216 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
218 * gdb.python/py-symtab.exp: Likewise.
219 * gdb.python/python.exp: Remove trailing ".*". Fix typo
222 2014-10-14 Joel Brobecker <brobecker@adacore.com>
224 * gdb.ada/addr_arith: New testcase.
226 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
228 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
229 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
230 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
231 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
233 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
235 * gdb.arch/stap-eval-lang-ada.S: Likewise.
236 * gdb.arch/stap-eval-lang-ada.c: Likewise.
237 * gdb.arch/stap-eval-lang-ada.exp: New file.
239 2014-10-14 Yao Qi <yao@codesourcery.com>
241 * gdb.mi/mi-var-child.c (nothing1): New function.
242 (nothing2): New function.
243 (do_children_tests): Set function pointers by nothing1 and
245 * gdb.mi/mi-var-child.exp: Step over new added statements.
246 Update test to match the new output.
247 * gdb.mi/var-cmd.c (nothing1): New function.
248 (nothing2): New function.
249 (do_children_tests): Set function pointers by nothing1 and
251 * gdb.mi/mi-var-display.exp: Update test to match output.
252 Step to the line specified by $line_dct_nothing.
253 Increase the number of lines to step.
255 2014-10-14 Yao Qi <yao@codesourcery.com>
257 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
259 * gdb.mi/mi2-var-child.exp: Likewise.
261 2014-10-13 Doug Evans <dje@google.com>
263 * gdb.python/py-objfile.exp: Change name of file name test.
265 2014-10-13 Doug Evans <dje@google.com>
267 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
268 from the start of the CU.
270 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
271 Yao Qi <yao@codesourcery.com>
273 Fix "save breakpoints" for "catch" command.
274 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
275 Remove -nonewline. Match also the added "main" line.
277 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
279 Fix "save breakpoints" for "disable $bpnum" command.
280 * gdb.base/save-bp.c (main): Add label.
281 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
283 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
285 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
287 2014-10-11 Yao Qi <yao@codesourcery.com>
289 * gdb.server/server-kill.exp: Execute command
290 "set remote trace-status-packet on" before "tstatus".
292 2014-10-11 Yao Qi <yao@codesourcery.com>
294 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
295 (main): Call getppid.
296 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
297 and continue to it. Read variable "server_pid".
299 2014-10-11 Yao Qi <yao@codesourcery.com>
301 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
303 2014-10-11 Yao Qi <yao@codesourcery.com>
305 * gdb.threads/thread-find.exp: Don't execute command
307 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
308 * gdb.threads/linux-dp.exp: Don't check the condition
309 $threads_created equals to zero.
311 2014-10-10 Pedro Alves <palves@redhat.com>
313 * gdb.base/bigcore.exp: Remove references to IRIX.
314 * gdb.base/funcargs.exp: Likewise.
315 * gdb.base/interrupt.exp: Likewise.
316 * gdb.base/mips_pro.exp: Likewise.
317 * gdb.base/nodebug.exp: Likewise.
318 * gdb.base/setvar.exp: Likewise.
319 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
321 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
322 Pedro Alves <palves@redhat.com>
325 * gdb.base/vdso-warning.c: New file.
326 * gdb.base/vdso-warning.exp: New file.
328 2014-10-02 Doug Evans <dje@google.com>
330 * gdb.base/structs.c (main): Don't run forever.
332 2014-10-02 Pedro Alves <palves@redhat.com>
334 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
335 (top level) <stop threads 1, stop threads 2>: Use it.
337 2014-10-02 Pedro Alves <palves@redhat.com>
339 * gdb.threads/break-while-running.exp (test): Add new
340 'update_thread_list' argument. Skip "info threads" if false.
341 (top level): Add new 'update_thread_list' axis.
343 2014-10-02 Pedro Alves <palves@redhat.com>
346 * gdb.base/execl-update-breakpoints.c: New file.
347 * gdb.base/execl-update-breakpoints.exp: New file.
349 2014-10-01 Pedro Alves <palves@redhat.com>
351 * gdb.base/breakpoint-in-ro-region.c: New file.
352 * gdb.base/breakpoint-in-ro-region.exp: New file.
354 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
356 * gdb.mi/mi-exit-code.exp: New file.
357 * gdb.mi/mi-exit-code.c: New file.
359 2014-09-30 Yao Qi <yao@codesourcery.com>
361 * lib/prelink-support.exp (build_executable_own_libs): Error if
362 the target isn't native.
364 2014-09-30 Yao Qi <yao@codesourcery.com>
366 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
369 2014-09-22 Pedro Alves <palves@redhat.com>
371 * gdb.threads/break-while-running.exp: New file.
372 * gdb.threads/break-while-running.c: New file.
374 2014-09-19 Yao Qi <yao@codesourcery.com>
376 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
377 Invoke test. Restart GDB with --readnow and invoke test again.
379 2014-09-19 Yao Qi <yao@codesourcery.com>
381 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
382 proc set_breakpoint_on_gcd_function. Invoke
383 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
384 invoke set_breakpoint_on_gcd_function again.
386 2014-09-18 Doug Evans <dje@google.com>
388 * gdb.dwarf2/symtab-producer.exp: New file.
390 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
392 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
393 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
394 * gdb.base/global-var-nested-by-dso.c: Likewise.
395 * gdb.base/global-var-nested-by-dso.exp: Likewise.
397 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
398 Pedro Alves <palves@redhat.com>
400 * gdb.base/watch-bitfields.exp: Pass string other than test file
401 name to prepare_for_testing.
402 (watch): New procedure.
403 (expect_watchpoint): Use with_test_prefix.
404 (top level): Factor out tests to ...
405 (test_watch_location, test_regular_watch): ... these new
406 procedures, and use with_test_prefix and gdb_continue_to_end.
408 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
411 * gdb.base/watch-bitfields.exp: New file.
412 * gdb.base/watch-bitfields.c: New file.
414 2014-09-16 Pedro Alves <palves@redhat.com>
416 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
417 software and hardware addresses, not software address against
420 2014-09-16 Pedro Alves <palves@redhat.com>
422 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
423 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
425 2014-09-16 Pedro Alves <palves@redhat.com>
427 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
429 * gdb.base/a2-run.exp: Remove all code guarded by istarget
430 "*-*-vxworks*" throughout.
431 * gdb.base/break.exp: Likewise.
432 * gdb.base/default.exp: Likewise.
433 * gdb.base/scope.exp: Likewise.
434 * gdb.base/sepdebug.exp: Likewise.
435 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
437 * gdb.base/run.c: Likewise.
438 * gdb.base/sepdebug.c: Likewise.
439 * gdb.hp/gdb.aCC/run.c: Likewise.
440 * gdb.reverse/until-reverse.c: Likewise.
441 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
443 2014-09-16 Yao Qi <yao@codesourcery.com>
445 * boards/local-remote-host-native.exp: New file.
447 2014-09-14 Doug Evans <xdje42@gmail.com>
449 * gdb.threads/queue-signal.c (thread_count): New variable.
450 (thread_count_mutex, thread_count_condvar): New variables.
451 (incr_thread_count, wait_all_threads_running): New functions.
452 (main): Wait for all threads to be in their thread functions.
454 2014-09-13 Doug Evans <xdje42@gmail.com>
456 * gdb.threads/queue-signal.c: New file.
457 * gdb.threads/queue-signal.exp: New file.
459 2014-09-13 Doug Evans <xdje42@gmail.com>
461 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
462 be consistent with what default_gdb_init uses.
463 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
464 the plain text of the prompt. Add some logging printfs.
465 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
467 2014-09-12 Pedro Alves <palves@redhat.com>
469 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
470 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
471 * gdb.arch/i386-size-overlap.exp: Likewise.
472 * gdb.arch/i386-size.exp: Likewise.
473 * gdb.arch/i386-unwind.exp: Likewise.
474 * gdb.base/a2-run.exp: Likewise.
475 * gdb.base/break.exp: Likewise.
476 * gdb.base/charset.exp: Likewise.
477 * gdb.base/chng-syms.exp: Likewise.
478 * gdb.base/commands.exp: Likewise.
479 * gdb.base/dbx.exp: Likewise.
480 * gdb.base/find.exp: Likewise.
481 * gdb.base/funcargs.exp: Likewise.
482 * gdb.base/jit-simple.exp: Likewise.
483 * gdb.base/reread.exp: Likewise.
484 * gdb.base/sepdebug.exp: Likewise.
485 * gdb.base/step-bt.exp: Likewise.
486 * gdb.cp/mb-inline.exp: Likewise.
487 * gdb.cp/mb-templates.exp: Likewise.
488 * gdb.objc/basicclass.exp: Likewise.
489 * gdb.threads/killed.exp: Likewise.
491 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
494 * gdb.arch/powerpc-stackless.S: New file.
495 * gdb.arch/powerpc-stackless.exp: New file.
497 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
499 * gdb.base/attach.c: Include unistd.h.
500 (main): Call alarm. Add label postloop.
501 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
502 gdb_breakpoint, gdb_continue_to_breakpoint.
503 (test_command_line_attach_run): Kill ${testpid} in one exit path.
505 2014-09-11 Pedro Alves <palves@redhat.com>
508 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
509 * gdb.base/attach.exp (test_command_line_attach_run): New
511 (top level): Call it.
513 2014-09-11 Pedro Alves <palves@redhat.com>
515 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
516 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
517 (do_command_attach_tests): Use spawn_wait_for_attach.
518 * gdb.base/solib-overlap.exp: Likewise.
519 * gdb.multi/multi-attach.exp: Likewise.
520 * gdb.python/py-prompt.exp: Likewise.
521 * gdb.python/py-sync-interp.exp: Likewise.
522 * gdb.server/ext-attach.exp: Likewise.
524 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
526 * gdb.fortran/array-element.exp: Remove unexpected "continue"
527 command in testcase. Simplify testcase.
529 2014-09-10 Joel Brobecker <brobecker@adacore.com>
531 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
533 2014-09-10 Joel Brobecker <brobecker@adacore.com>
535 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
537 2014-09-10 Joel Brobecker <brobecker@adacore.com>
539 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
541 2014-09-10 Joel Brobecker <brobecker@adacore.com>
543 * gdb.dwarf2/dynarr-ptr.c: New file.
544 * gdb.dwarf2/dynarr-ptr.exp: New file.
546 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
548 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
549 of 30 rather than hardcoding 120 for a slow test case. Take the
550 `gdb,timeout' target setting into account for this calculation.
551 Don't extend the timeout for the test cases that don't need it.
553 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
555 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
556 a factor of 2 for a slow test case. Take the `gdb,timeout'
557 target setting into account for this calculation.
558 * gdb.reverse/until-precsave.exp: Increase the timeout by
559 a factor of 15 and 3 respectively rather than adding 120
560 for a pair of slow test cases. Take the `gdb,timeout'
561 target setting into account for this calculation.
563 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
565 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
566 timeout, don't pass one down to gdb_expect.
567 (gdb_expect): Rework timeout selection.
569 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
571 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
572 exception on timeout.
573 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
574 (gdbserver_start_extended): Catch any `gdbserver_start' error
576 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
577 * lib/mi-support.exp (mi_gdb_target_load): Catch any
578 `gdbserver_gdb_load' error exceptions.
580 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
582 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
583 120 on waiting for the TCP socket to open.
585 2014-09-09 Doug Evans <xdje42@gmail.com>
587 * gdb.base/default.exp (show_conv_list): Add _caller_is,
588 _caller_matches, _any_caller_is, _any_caller_matches.
590 2014-09-09 Doug Evans <xdje42@gmail.com>
592 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
594 2014-09-09 Yao Qi <yao@codesourcery.com>
596 * gdb.mi/mi-var-display.exp: Set print symbol off.
598 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
601 * gdb.base/commands.exp: Add tests to verify user-defined
602 commands with empty bodies.
603 * gdb.python/py-cmd.exp: Test that we don't show user-defined
604 python commands in `show user command`.
605 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
606 scheme commands in `show user command`.
608 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
611 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
612 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
613 * gdb.python/py-framefilter-invalidarg.exp: New file.
614 * gdb.python/py-framefilter-invalidarg.py: New file.
616 2014-09-06 Doug Evans <xdje42@gmail.com>
619 * gdb.python/py-caller-is.c: New file.
620 * gdb.python/py-caller-is.exp: New file.
622 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
625 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
626 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
628 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
631 * gdb.fortran/print-formatted.exp: New file.
632 * gdb.fortran/print-formatted.f90: Likewise.
634 2014-09-03 Sasha Smundak <asmundak@google.com>
636 * gdb.python/py-frame.exp: Test Frame.read_register.
638 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
641 * gdb.python/py-completion.exp: New file.
642 * gdb.python/py-completion.py: Likewise.
644 2014-08-28 Doug Evans <dje@google.com>
646 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
647 eax,etc. are live with values set by gdb and thus the compiler can't
649 * gdb.arch/i386-pseudo.c (main): Ditto.
651 2014-08-27 Doug Evans <dje@google.com>
653 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
655 2014-08-25 Doug Evans <dje@google.com>
657 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
660 2014-08-25 Doug Evans <dje@google.com>
662 * gdb.threads/thread-execl.exp: #include <stdio.h>.
664 2014-08-24 Yao Qi <yao@codesourcery.com>
666 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
668 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
670 2014-08-22 Doug Evans <dje@google.com>
673 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
674 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
675 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
677 2014-08-22 Yao Qi <yao@codesourcery.com>
679 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
680 * gdb.python/py-finish-breakpoint2.exp: Likewise.
681 * gdb.python/python.exp: Likewise. Use .py file on the host
682 instead of the build.
684 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
686 * gdb.threads/gcore-stale-thread.c: New file.
687 * gdb.threads/gcore-stale-thread.exp: New file.
689 2014-08-21 Pedro Alves <palves@redhat.com>
691 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
692 * gdb.base/gcore-relro-pie.exp: Likewise.
693 * gdb.base/gcore-relro.exp: Likewise.
694 * gdb.base/gcore.exp: Likewise.
695 * gdb.base/print-symbol-loading.exp: Likewise.
696 * gdb.threads/gcore-thread.exp: Likewise.
697 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
699 2014-08-20 Pedro Alves <palves@redhat.com>
700 Jan Kratochvil <jan.kratochvil@redhat.com>
702 * Makefile.in (EXTRA_RULES, CC): New variables, get from
704 (EXPECT): Handle READ1 being set.
705 (all): Depend on EXTRA_RULES.
706 (check-read1, expect-read1, read1.so, read1): New rules.
707 * README (Testsuite Parameters): Document the READ1 make variable.
708 (Race detection): New section.
709 * configure: Regenerate.
710 * configure.ac: If build==host==target, and running under a
711 GNU/glibc system, add read1 to the extra Makefile rules.
712 (EXTRA_RULES): AC_SUBST it.
713 * lib/read1.c: New file.
715 2014-08-20 Joel Brobecker <brobecker@adacore.com>
717 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
718 the handling of variables declared as a typedef to an array
719 which a DW_AT_data_location attribute.
721 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
722 Pedro Alves <palves@redhat.com>
726 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
729 2014-08-19 Pedro Alves <palves@redhat.com>
731 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
733 2014-08-19 Yao Qi <yao@codesourcery.com>
735 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
738 2014-08-18 David Blaikie <dblaikie@gmail.com>
740 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
742 2014-08-18 Joel Brobecker <brobecker@adacore.com>
744 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
745 attribute in array range.
747 2014-08-18 Joel Brobecker <brobecker@adacore.com>
749 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
751 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
754 * gdb.cp/pr17132.cc: New file.
755 * gdb.cp/pr17132.exp: New file.
757 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
759 * gdb.python/py-xmethods.py (A_getarrayind)
760 (E_method_char_worker.__call__, E_method_int_worker.__call__):
761 Use 'print' with function call syntax.
762 (E_method_matcher.match): Fix tab vs space indentation mixup.
764 2014-08-15 Yao Qi <yao@codesourcery.com>
766 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
769 2014-08-15 Yao Qi <yao@codesourcery.com>
771 * gdb.cp/casts.exp: Set print symbol off.
772 * gdb.cp/class2.exp: Likewise.
773 * gdb.cp/overload.exp: Likewise.
774 * gdb.cp/templates.exp: Likewise.
776 2014-08-11 Doug Evans <dje@google.com>
778 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
779 (test_load_shlib): Update.
781 2014-08-09 Yao Qi <yao@codesourcery.com>
783 * gdb.base/display.exp: Invoke is_address_zero_readable.
784 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
785 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
786 * gdb.base/hbreak-unmapped.exp: Return if
787 is_address_zero_readable returns true.
788 * gdb.base/signest.exp: Likewise.
789 * gdb.base/signull.exp: Likewise.
790 * gdb.base/sigbpt.exp: Likewise.
791 * gdb.guile/scm-disasm.exp: Do the test if
792 is_address_zero_readable returns false.
793 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
794 * gdb.python/py-arch.exp: Likewise.
795 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
796 * lib/gdb.exp (is_address_zero_readable): New proc.
798 2014-08-09 Yao Qi <yao@codesourcery.com>
801 * gdb.mi/mi-var-display.exp: Make test messages unique.
803 2014-08-04 Tom Tromey <tromey@redhat.com>
805 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
808 2014-08-04 Tom Tromey <tromey@redhat.com>
810 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
813 2014-08-01 Joel Brobecker <brobecker@adacore.com>
815 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
816 inner_vla_struct_object_size.
817 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
820 2014-07-30 Pedro Alves <palves@redhat.com>
822 * gdb.threads/signal-command-handle-nopass.exp (test): Add
825 2014-07-29 Yao Qi <yao@codesourcery.com>
828 * gdb.base/until-nodebug.exp: New.
830 2014-07-28 Doug Evans <xdje42@gmail.com>
833 * gdb.guile/scm-parameter.exp: Add tests for trying to create
834 previously existing parameter, and previously ambiguously spelled
837 2014-07-28 Will Newton <will.newton@linaro.org>
839 * gdb.base/varargs.exp: Remove KFAILs for ARM.
841 2014-07-26 Ludovic Courtès <ludo@gnu.org>
842 Doug Evans <xdje42@gmail.com>
845 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
847 2014-07-25 Pedro Alves <palves@redhat.com>
849 * gdb.threads/signal-command-handle-nopass.c: New file.
850 * gdb.threads/signal-command-handle-nopass.exp: New file.
851 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
852 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
853 * gdb.threads/signal-delivered-right-thread.c: New file.
854 * gdb.threads/signal-delivered-right-thread.exp: New file.
856 2014-07-25 Pedro Alves <palves@redhat.com>
858 * gdb.base/double-prompt-target-event-error.exp
859 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
861 (cancel_pagination_in_target_event): Rework double prompt
863 * gdb.base/paginate-after-ctrl-c-running.exp
864 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
866 * gdb.base/paginate-bg-execution.exp
867 (test_bg_execution_pagination_return)
868 (test_bg_execution_pagination_cancel): Remove '-notransfer
870 * gdb.base/paginate-execution-startup.exp
871 (test_fg_execution_pagination_return)
872 (test_fg_execution_pagination_cancel): Remove '-notransfer
874 * gdb.base/paginate-inferior-exit.exp
875 (test_paginate_inferior_exited): Remove '-notransfer <return>'
877 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
878 * lib/gdb.exp (pagination_prompt): Run text through
880 (gdb_test_multiple): Match $pagination_prompt instead of
882 (string_to_regexp): Move to lib/gdb-utils.exp.
884 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
886 * gdb.arch/amd64-entry-value-paramref.S: New file.
887 * gdb.arch/amd64-entry-value-paramref.cc: New file.
888 * gdb.arch/amd64-entry-value-paramref.exp: New file.
889 * gdb.arch/amd64-optimout-repeat.S: New file.
890 * gdb.arch/amd64-optimout-repeat.c: New file.
891 * gdb.arch/amd64-optimout-repeat.exp: New file.
893 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
896 * gdb.base/statistics.exp: New file.
898 2014-07-17 Doug Evans <dje@google.com>
901 * gdb.base/maint.exp: Update testing of per-command stats.
903 2014-07-16 Pedro Alves <palves@redhat.com>
905 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
906 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
907 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
908 (tfile_write_buf): New functions.
909 (add_memory_block): Rewrite using the above.
910 (adjust_function_address): New function.
911 (FUNCTION_ADDRESS): New macro.
912 (write_basic_trace_file): Remove short_x local, and use
913 tfile_write_16. Change type of func_addr local to unsigned long
914 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
915 here. Cast argument of add_memory_block to char pointer.
916 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
917 (main): Remove parameters.
918 * gdb.trace/tfile.exp: Remove nowarnings.
920 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
922 * gdb.base/debug-expr.exp: Test string evaluation with
923 "debug expression" on.
925 2014-07-15 Pedro Alves <palves@redhat.com>
927 * gdb.base/reread.exp: Use clean_restart.
929 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
931 * gdb.arch/avr-flash-qualifer.c: New.
932 * gdb.arch/avr-flash-qualifer.exp: New.
934 2014-07-14 Pedro Alves <palves@redhat.com>
936 * gdb.base/paginate-after-ctrl-c-running.c: New file.
937 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
939 2014-07-14 Pedro Alves <palves@redhat.com>
941 * gdb.base/double-prompt-target-event-error.c: New file.
942 * gdb.base/double-prompt-target-event-error.exp: New file.
944 2014-07-14 Pedro Alves <palves@redhat.com>
947 * gdb.base/paginate-inferior-exit.c: New file.
948 * gdb.base/paginate-inferior-exit.exp: New file.
950 2014-07-14 Pedro Alves <palves@redhat.com>
953 * gdb.base/paginate-bg-execution.c: New file.
954 * gdb.base/paginate-bg-execution.exp: New file.
956 2014-07-14 Pedro Alves <palves@redhat.com>
959 * gdb.base/paginate-execution-startup.c: New file.
960 * gdb.base/paginate-execution-startup.exp: New file.
961 * lib/gdb.exp (pagination_prompt): New global.
962 (default_gdb_spawn): New procedure, factored out from
964 (default_gdb_start): Adjust to call default_gdb_spawn.
965 (gdb_spawn): New procedure.
967 2014-07-14 Pedro Alves <palves@redhat.com>
969 * lib/gdb.exp (gdb_assert): New procedure.
970 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
972 2014-07-14 Pedro Alves <palves@redhat.com>
974 * gdb.base/execution-termios.c: New file.
975 * gdb.base/execution-termios.exp: New file.
977 2014-07-14 Tom Tromey <tromey@redhat.com>
979 * gdb.cp/vla-cxx.cc: New file.
980 * gdb.cp/vla-cxx.exp: New file.
982 2014-07-14 Tom Tromey <tromey@redhat.com>
984 * gdb.reverse/rerun-prec.c: New file.
985 * gdb.reverse/rerun-prec.exp: New file.
987 2014-07-12 Maciej W. Rozycki <macro@mips.com>
988 Maciej W. Rozycki <macro@codesourcery.com>
990 * lib/gdb-utils.exp: New file.
991 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
992 inline `gdb_init_command' processing.
993 (gdb_start_cmd): Likewise.
994 * lib/mi-support.exp (mi_run_cmd): Likewise.
995 * README: Document `gdb_init_command' and `gdb_init_commands'.
997 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
999 Fix false FAIL running under a very long directory name.
1000 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1001 and "set print elements 10000". Twice.
1003 2014-07-11 Yao Qi <yao@codesourcery.com>
1005 * gdb.base/exprs.exp: "set print symbol off".
1007 2014-07-11 Pedro Alves <palves@redhat.com>
1009 * gdb.threads/kill.c: New file.
1010 * gdb.threads/kill.exp: New file.
1012 2014-07-10 Yao Qi <yao@codesourcery.com>
1014 * gdb.trace/tfile.c (write_basic_trace_file)
1015 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1016 address written to trace file.
1018 2014-07-09 Pedro Alves <palves@redhat.com>
1020 * gdb.base/attach-wait-input.exp: New file.
1021 * gdb.base/attach-wait-input.c: New file.
1023 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1025 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1026 setting up test structures.
1027 (main): Call new test function.
1028 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1029 test function, continue into test function and walk test
1032 2014-07-02 Yao Qi <yao@codesourcery.com>
1034 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1035 'bar_start' at the beginning of functions 'foo' and 'bar'
1037 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1038 instead of 'foo' and 'bar'.
1040 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1042 * gdb.btrace/segv.exp: New.
1043 * gdb.btrace/segv.c: New.
1045 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
1047 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1050 2014-06-30 Mark Wielaard <mjw@redhat.com>
1052 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1053 vulture, vilify, villar): New volatile array constants.
1054 (vindictive, vegetation): New const volatile array constants.
1055 * gdb.base/volatile.exp: Test volatile and const volatile array
1058 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1060 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1061 target lacks support for awatch, rwatch, or hbreak.
1063 2014-06-27 Yao Qi <yao@codesourcery.com>
1065 * gdb.multi/dummy-frame-restore.exp: New.
1066 * gdb.multi/dummy-frame-restore.c: New.
1068 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1070 * gdb.btrace/gcore.exp: New.
1072 2014-06-23 Pedro Alves <palves@redhat.com>
1074 * gdb.base/watchpoint-reuse-slot.c: New file.
1075 * gdb.base/watchpoint-reuse-slot.exp: New file.
1077 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1079 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1080 progspace's filename in 'info', 'enable' and 'disable' command
1083 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1085 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1086 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1087 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1089 2014-06-20 Gary Benson <gbenson@redhat.com>
1091 * gdb.arch/i386-avx.exp: Fix include file location.
1092 * gdb.arch/i386-sse.exp: Likewise.
1094 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1096 * gdb.dlang/expression.exp: New file.
1098 2014-06-19 Pedro Alves <palves@redhat.com>
1100 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1102 (top level): ... here. Iterate running tests under different
1103 scheduler-locking settings.
1105 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
1107 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1108 to DW_FORM_addr and use non-zero addresses.
1110 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1113 * gdb.python/py-xmethods.cc: Add global function call counters and
1114 increment them in their respective functions. Remove "cout"
1116 * gdb.python/py-xmethods.exp: Make tests check the global function
1117 call counters instead of depending on inferior IO.
1119 2014-06-18 Don Breazeal <donb@codesourcery.com>
1121 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1123 (explicit_fork_parent_follow): Deleted procedure.
1124 (explicit_fork_child_follow): Deleted procedure.
1125 (test_follow_fork): New procedure.
1126 (do_fork_tests): Replace calls to deleted procedures with
1127 calls to test_follow_fork and reset GDB for subsequent
1130 2014-06-17 Yao Qi <yao@codesourcery.com>
1132 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1135 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
1137 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1138 Initialize ptr and S explicitly.
1139 (skip_type_update_when_not_use_rtti_test): Likewise.
1141 2014-06-16 Keith Seitz <keiths@redhat.com>
1144 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1145 the inferior is started.
1147 2014-06-16 Pedro Alves <palves@redhat.com>
1149 * gdb.base/break-main-file-remove-fail.c: New file.
1150 * gdb.base/break-main-file-remove-fail.exp: New file.
1151 * gdb.base/break-unload-file.exp: Use build_executable instead of
1152 prepare_for_testing.
1153 (test_break): New parameter "initial_load". Handle it.
1154 (top level): Add initial_load cmdline/file axis.
1156 2014-06-12 Tom Tromey <tromey@redhat.com>
1158 * gdb.base/completion.exp: Don't use directory name in test.
1160 2014-06-09 Gary Benson <gbenson@redhat.com>
1162 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1163 separate the always-available ANSI-standard signals from the
1164 signals that require checking.
1166 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1170 2014-06-07 Keith Seitz <keiths@redhat.com>
1174 * gdb.cp/var-tag.cc: New file.
1175 * gdb.cp/var-tag.exp: New file.
1176 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1177 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1178 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1179 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1181 2014-06-06 Doug Evans <xdje42@gmail.com>
1183 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1185 2014-06-06 Pedro Alves <palves@redhat.com>
1187 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1188 in target debug output instead of looking at RSP packets,
1189 disabling the test on any target that uses hardware stepping.
1192 2014-06-06 Pedro Alves <palves@redhat.com>
1194 * gdb.base/break-unload-file.exp: Fix typo.
1196 2014-06-06 Yao Qi <yao@codesourcery.com>
1198 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1199 from "jit_function" to "^jit_function".
1201 2014-06-06 Yao Qi <yao@codesourcery.com>
1203 * gdb.base/async.c (foo): Add one statement.
1204 * gdb.base/async.exp: Get the next instruction address and
1205 match the output of "nexti" by instruction address. Match
1206 the hex address in the output of "finish".
1208 2014-06-06 Gary Benson <gbenson@redhat.com>
1210 * gdb.base/call-signals.c: Remove preprocessor conditionals
1211 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1212 SIGSEGV and SIGTERM.
1213 * gdb.base/sigall.c: Likewise.
1214 * gdb.base/unwindonsignal.c: Likewise.
1215 * gdb.reverse/sigall-reverse.c: Likewise.
1217 2014-06-06 Yao Qi <yao@codesourcery.com>
1219 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1220 readable, skip the test.
1222 2014-06-06 Yao Qi <yao@codesourcery.com>
1224 * gdb.threads/staticthreads.c (thread_function): Move the line
1225 setting breakpoint on forward.
1226 * gdb.threads/staticthreads.exp: Update comments.
1228 2014-06-05 Ludovic Courtès <ludo@gnu.org>
1230 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1231 "history-append! type error".
1233 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1235 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1236 erroneous dprintf expected input.
1238 2014-06-04 Doug Evans <xdje42@gmail.com>
1240 * gdb.guile/scm-generics.exp: Delete.
1242 2014-06-04 Doug Evans <xdje42@gmail.com>
1244 * gdb.guile/scm-breakpoint.exp: Update.
1245 Add tests for breakpoint registration.
1247 2014-06-04 Tom Tromey <tromey@redhat.com>
1249 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1251 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1252 inner_vla_struct, vla_union types. Initialize objects of those
1253 types and compute their sizes.
1255 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1256 Hui Zhu <hui@codesourcery.com>
1258 * gdb.base/fileio.exp: Add test for shell not available as well as
1260 * gdb.base/fileio.c (test_system): Check for shell twice.
1262 2014-06-04 Yao Qi <yao@codesourcery.com>
1264 * gdb.base/auto-connect-native-target.exp: Remove redundant
1265 space from the regexp pattern.
1267 2014-06-04 Yao Qi <yao@codesourcery.com>
1269 * gdb.base/default.exp: Replace "child" with "native" in
1272 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1274 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1275 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1276 * gdb.python/py-xmethods.py: Python script supporting the
1277 new testcase and tests.
1279 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1280 Pedro Alves <palves@redhat.com>
1282 PR breakpoints/17000
1283 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1284 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1286 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1288 * gdb.base/subst.exp: Add tests to verify partial path matching
1291 2014-06-03 Pedro Alves <palves@redhat.com>
1293 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1294 target that doesn't use software single-stepping.
1296 2014-06-03 Pedro Alves <palves@redhat.com>
1298 PR breakpoints/17000
1299 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1300 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1302 2014-06-02 Doug Evans <xdje42@gmail.com>
1304 * gdb.guile/scm-parameter.exp: New file.
1306 2014-06-02 Doug Evans <xdje42@gmail.com>
1308 * gdb.guile/scm-cmd.c: New file.
1309 * gdb.guile/scm-cmd.exp: New file.
1311 2014-06-02 Doug Evans <xdje42@gmail.com>
1313 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1314 pretty-printer lookup.
1315 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1316 (make-pp_s-printer): Call it.
1317 (make-pretty-printer-from-dict): New function.
1318 (lookup-pretty-printer-maker-from-dict): New function.
1319 (*pretty-printer*): Simplify.
1320 (make-objfile-pp_s-printer): New function.
1321 (install-objfile-pretty-printers!): New function.
1322 (make-progspace-pp_s-printer): New function.
1323 (install-progspace-pretty-printers!): New function.
1324 * gdb.guile/scm-progspace.c: New file.
1325 * gdb.guile/scm-progspace.exp: New file.
1327 2014-06-02 Pedro Alves <palves@redhat.com>
1329 * gdb.base/dprintf-bp-same-addr.c: New file.
1330 * gdb.base/dprintf-bp-same-addr.exp: New file.
1332 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1334 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1335 * gdb.arch/powerpc-power.s: Likewise.
1337 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1339 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1341 2014-06-01 Yao Qi <yao@codesourcery.com>
1343 * gdb.base/watchpoint.exp (test_watch_location): Check null
1344 pointer can be dereferenced. If not, do the test, otherwise
1347 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1349 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1351 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1353 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1355 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1356 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1357 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1358 * gdb.arch/amd64-invalid-stack-top.c: New file.
1359 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1361 2014-05-30 Pedro Alves <palves@redhat.com>
1363 PR breakpoints/17000
1364 * gdb.base/sss-bp-on-user-bp.c: New file.
1365 * gdb.base/sss-bp-on-user-bp.exp: New file.
1367 2014-05-30 David Blaikie <dblaikie@gmail.com>
1369 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1370 gnu_inline semantics via attribute.
1371 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1372 source explicitly specifies the required semantics.
1374 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1376 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1378 2014-05-29 Pedro Alves <palves@redhat.com>
1379 Tom Tromey <tromey@redhat.com>
1381 * gdb.base/async-shell.exp: Don't enable target-async.
1382 * gdb.base/async.exp
1383 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1385 (top level): Don't test with "target-async".
1386 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1387 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1388 * gdb.base/inferior-died.exp: Don't enable target-async.
1389 * gdb.base/interrupt-noterm.exp: Likewise.
1390 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1391 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1392 * gdb.mi/mi-nonstop.exp: Likewise.
1393 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1394 * gdb.mi/mi-nsintrall.exp: Likewise.
1395 * gdb.mi/mi-nsmoribund.exp: Likewise.
1396 * gdb.mi/mi-nsthrexec.exp: Likewise.
1397 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1398 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1399 * gdb.python/py-evsignal.exp: Don't enable target-async.
1400 * gdb.python/py-evthreads.exp: Likewise.
1401 * gdb.python/py-prompt.exp: Likewise.
1402 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1403 * gdb.server/solib-list.exp: Don't enable target-async.
1404 * gdb.threads/thread-specific-bp.exp: Likewise.
1405 * lib/mi-support.exp: Adjust to use mi-async.
1407 2014-05-29 Pedro Alves <palves@redhat.com>
1410 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1411 reason, even in sync mode.
1413 2014-05-29 Pedro Alves <palves@redhat.com>
1414 Hui Zhu <hui@codesourcery.com>
1417 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1418 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1419 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1420 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1422 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1424 * config/monitor.exp (gdb_target_monitor): Replace use of
1425 "set remotebaud" by "set serial baud".
1427 2014-05-26 Andy Wingo <wingo@igalia.com>
1429 * gdb.guile/scm-breakpoint.exp:
1430 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1431 properties instead of gdb-object-properties.
1433 2014-05-26 Yao Qi <yao@codesourcery.com>
1435 * gdb.server/no-thread-db.exp: Specify source file name
1436 explicitly when setting a breakpoint.
1438 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1440 * gdb.btrace/vdso.c: New.
1441 * gdb.btrace/vdso.exp: New.
1443 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1445 * gdb.base/gcore.exp (capture_command_output): Move ...
1446 * lib/gdb.exp (capture_command_output): ... here.
1448 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1450 * gdb.btrace/data.exp: Test memory access during btrace replay.
1452 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1454 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1456 2014-05-21 Pedro Alves <palves@redhat.com>
1459 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1460 (top level): Test that output related to execution commands is
1461 sent to the console with CLI commands, but not with MI commands.
1462 Test that breakpoint events are always mirrored to the console.
1463 Also expect the new source line to be output after a "next" in
1464 async mode too. Make it a pass/fail test.
1465 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1467 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1469 2014-05-21 Pedro Alves <palves@redhat.com>
1471 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1472 Use them to test variations of "list" after reaching a breakpoint.
1473 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1474 Test "list" with listsize 10 after reaching a breakpoint.
1475 * gdb.python/python.exp (decode_line current location line
1476 number): Adjust expected line number.
1478 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1480 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1481 behavior for $args, pass it directly to "run".
1483 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1485 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1488 2014-05-21 Pedro Alves <palves@redhat.com>
1490 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1491 auto-connect-native-target off".
1492 * gdb.base/auto-connect-native-target.c: New file.
1493 * gdb.base/auto-connect-native-target.exp: New file.
1495 2014-05-21 Pedro Alves <palves@redhat.com>
1497 * gdb.base/default.exp: Test "target native" instead of "target
1500 2014-05-21 Mark Wielaard <mjw@redhat.com>
1502 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1504 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1506 Fix TLS access for -static -pthread.
1507 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1508 <HAVE_TLS> (thread_function, main): Initialize it.
1509 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1511 <$have_tls != "">: Check TLSVAR.
1513 2014-05-21 Pedro Alves <palves@redhat.com>
1515 * gdb.base/dcache-line-read-error.c: New.
1516 * gdb.base/dcache-line-read-error.exp: New.
1518 2014-05-20 Pedro Alves <palves@redhat.com>
1520 * gdb.base/compare-sections.c: New file.
1521 * gdb.base/compare-sections.exp: New file.
1523 2014-05-20 Pedro Alves <palves@redhat.com>
1525 * gdb.base/break-idempotent.c: New file.
1526 * gdb.base/break-idempotent.exp: New file.
1528 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1530 * gdb.btrace/nohist.exp: New.
1532 2014-05-20 Yao Qi <yao@codesourcery.com>
1534 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1535 gdb.reverse directory and gdb_reverse_timeout exists in board
1537 * README: Document gdb_reverse_timeout.
1539 2014-05-20 Yao Qi <yao@codesourcery.com>
1541 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1542 'test_file_name'. Treat args as a string instead of a list.
1543 (gdb_init): Rename argument 'args' by 'test_file_name'.
1545 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1547 * gdb.arch/powerpc-power.exp: New file.
1548 * gdb.arch/powerpc-power.s: New file.
1550 2014-05-16 Doug Evans <dje@google.com>
1552 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
1553 * gdb.base/completion.exp: Check that all expected files exist
1554 before doing file completion.
1556 2014-05-16 Doug Evans <dje@google.com>
1558 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1560 (do_syscall_tests_without_xml): Update.
1562 2014-05-16 Pedro Alves <palves@redhat.com>
1564 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1565 instead of "unknown output after running".
1567 2014-05-16 Yao Qi <yao@codesourcery.com>
1569 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1570 file1.txt from host at the end.
1571 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1573 2014-05-15 Doug Evans <dje@google.com>
1575 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1576 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1577 loading file. Add test for TU lookup.
1579 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1581 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1582 calling "-exec-arguments" or "set args" before running the
1585 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1587 * lib/mi-support.exp (mi_expect_stop): Expect message for
1588 inferiors that exit with non-zero exit code.
1590 2014-05-14 Yao Qi <yao@codesourcery.com>
1592 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1593 match absolute path on remote host.
1594 (test_file_list_exec_source_files): Remove "/" from the
1597 2014-05-14 Yao Qi <yao@codesourcery.com>
1599 * boards/local-remote-host-notty.exp (${board}_file): New
1602 2014-05-07 Kyle McMartin <kyle@redhat.com>
1604 Pushed by Joel Brobecker <brobecker@adacore.com>.
1605 * gdb.arch/aarch64-atomic-inst.c: New file.
1606 * gdb.arch/aarch64-atomic-inst.exp: New file.
1608 2014-05-07 Yao Qi <yao@codesourcery.com>
1610 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1611 in current context" too.
1613 2014-05-05 Keith Seitz <keiths@redhat.com>
1615 * gdb.linespec/ls-dollar.exp: Add test for linespec
1616 file:convenience_variable.
1618 2014-05-05 Yao Qi <yao@codesourcery.com>
1620 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
1621 traceframes into tfile and ctf trace files. Read data from
1622 trace file and test collected data.
1623 (gdb_collect_locals_test): Likewise.
1624 (gdb_unavailable_registers_test): Likewise.
1625 (gdb_unavailable_floats): Likewise.
1626 (gdb_collect_globals_test): Likewise.
1627 (top-level): Append "ctf" to trace_file_targets if GDB
1630 2014-05-05 Yao Qi <yao@codesourcery.com>
1632 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
1634 (gdb_collect_args_test_1): ... it. New proc.
1635 (gdb_collect_locals_test): Move some code to ...
1636 (gdb_collect_locals_test_1): ... it. New proc.
1637 (gdb_unavailable_registers_test): Move some code to ...
1638 (gdb_unavailable_registers_test_1): ... it. New proc.
1639 (gdb_unavailable_floats): Move some code to ...
1640 (gdb_unavailable_floats_1): ... it. New proc.
1642 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1644 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
1645 probes to test for bitness recognition.
1646 * gdb.arch/amd64-stap-optional-prefix.exp
1647 (test_probe_value_without_reg): New procedure.
1648 Add code to test for different kinds of bitness.
1650 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1652 PR breakpoints/16889
1653 * gdb.arch/amd64-stap-optional-prefix.S: New file.
1654 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1656 2014-05-01 Pedro Alves <palves@redhat.com>
1658 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
1659 gdb_file_cmd if no file is specified.
1660 * boards/native-extended-gdbserver.exp (gdb_load): Use the
1661 last_loaded_file to set the remote exec-file.
1663 2014-05-01 Pedro Alves <palves@redhat.com>
1665 * boards/local-remote-host.exp: New file.
1667 2014-05-01 Pedro Alves <palves@redhat.com>
1669 * boards/local-remote-host.exp: Rename to ...
1670 * boards/local-remote-host-notty.exp: ... this.
1672 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1674 * gdb.ada/dyn_arrayidx: New testcase.
1676 2014-04-26 Yao Qi <yao@codesourcery.com>
1678 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
1679 and compute the length of function main. Save it in
1681 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
1682 (top-level): Use gdb_compile to compile objects into
1683 executable and restart GDB. Remove invocation to
1684 prepare_for_testing.
1686 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
1687 Pedro Alves <palves@redhat.com>
1690 * gdb.multi/multi-attach.c: New file.
1691 * gdb.multi/multi-attach.exp: New file.
1693 2014-04-25 Pedro Alves <palves@redhat.com>
1695 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
1697 (top level): Test that "set remote conditional-breakpoints-packet
1698 off" works as intended.
1699 * gdb.base/dprintf.exp: Test that "set remote
1700 breakpoint-commands-packet off" works as intended.
1701 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
1703 (top level): Call it.
1704 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
1705 remote fast-tracepoints-packet off" works as intended.
1706 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
1707 * lib/gdb.exp (gdb_is_target_remote): ... here.
1709 2014-04-24 David Blaikie <dblaikie@gmail.com>
1711 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
1712 ensure clang would not discard them.
1713 * gdb.base/gdbvars.c: Ditto.
1714 * gdb.base/memattr.c: Ditto.
1715 * gdb.base/whatis.c: Ditto.
1716 * gdb.python/py-prettyprint.c: Ditto.
1717 * gdb.trace/actions.c: Ditto.
1718 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
1719 ensure clang would not discard it.
1721 2014-04-24 David Blaikie <dblaikie@gmail.com>
1723 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1724 clang to emit the full definition of type required by the test
1725 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1727 2014-04-24 David Blaikie <dblaikie@gmail.com>
1729 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1730 coax Clang into emitting the definition of the type.
1731 * gdb.cp/pr10728-x.h (y): Ditto.
1732 * gdb.cp/pr10728-y.cc (y): Ditto.
1734 2014-04-24 David Blaikie <dblaikie@gmail.com>
1736 * gdb.base/label.exp: XFAIL label related tests under Clang.
1737 * gdb.cp/cplabel.exp: Ditto.
1738 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
1739 under Clang those using labels.
1741 2014-04-25 Yao Qi <yao@codesourcery.com>
1743 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
1745 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
1746 partial_label and double_label.
1748 2014-04-24 David Blaikie <dblaikie@gmail.com>
1750 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
1752 2014-04-24 David Blaikie <dblaikie@gmail.com>
1754 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
1755 of the function to work across GCC and Clang.
1756 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
1757 pointer types (const void ** const V void **).
1759 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
1760 Walfred Tedeschi <walfred.tedeschi@intel.com>
1762 * Makefile.in (EXECUTABLES): Added i386-avx512.
1763 * gdb.arch/i386-avx512.c: New file.
1764 * gdb.arch/i386-avx512.exp: Likewise.
1766 2014-04-23 Keith Seitz <keiths@redhat.com>
1768 * lib/mi-support.exp (mi_list_breakpoints): Delete.
1769 (mi_make_breakpoint_table): New procedure.
1770 (mi_create_breakpoint): Use mi_make_breakpoint
1771 and return the result.
1772 (mi_make_breakpoint): New procedure.
1773 (mi_build_kv_pairs): New procedure.
1775 * gdb.mi/mi-break.exp: Remove unused globals,
1776 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
1777 All callers updated.
1778 * gdb.mi/mi-dprintf.exp: Use variable to track command
1780 Update all callers of mi_create_breakpoint and use
1781 mi_make_breakpoint_table.
1782 Remove any unused global variables.
1783 * gdb.mi/mi-nonstop.exp: Likewise.
1784 * gdb.mi/mi-nsintrall.exp: Likewise.
1785 * gdb.mi/mi-nsmoribund.exp: Likewise.
1786 * gdb.mi/mi-nsthrexec.exp: Likewise.
1787 * gdb.mi/mi-reverse.exp: Likewise.
1788 * gdb.mi/mi-simplerun.exp: Likewise.
1789 * gdb.mi/mi-stepn.exp: Likewise.
1790 * gdb.mi/mi-syn-frame.exp: Likewise.
1791 * gdb.mi/mi-until.exp: Likewise.
1792 * gdb.mi/mi-var-cp.exp: Likewise.
1793 * gdb.mi/mi-var-display.exp: Likewise.
1794 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1795 * gdb.mi/mi2-var-child.exp: Likewise.
1796 * gdb.mi/mi-vla-c99.exp: Likewise.
1797 * lib/mi-support.exp: Likewise.
1799 From Ian Lance Taylor <iant@cygnus.com>:
1800 * lib/gdb.exp (parse_args): New procedure.
1802 2014-04-23 Pedro Alves <palves@redhat.com>
1804 * gdb.base/break-unload-file.c: New file.
1805 * gdb.base/break-unload-file.exp: New file.
1806 * gdb.base/sym-file-lib.c (baz): New function.
1807 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
1809 (load): Store the segment's mapped size.
1810 (unload): New function.
1811 (unload_shlib): New function.
1812 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
1813 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
1814 set a breakpoint at baz, and call it.
1815 * gdb.base/sym-file.exp: New tests for stale breakpoint
1818 2014-04-23 Pedro Alves <palves@redhat.com>
1820 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
1821 * gdb.base/hbreak-in-shr-unsupported.c: New file.
1822 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
1823 * gdb.base/hbreak-unmapped.c: New file.
1824 * gdb.base/hbreak-unmapped.exp: New file.
1825 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
1826 * lib/gdb.exp (gdb_is_target_remote): ... here.
1828 2014-04-22 Pedro Alves <palves@redhat.com>
1830 * gdb.base/consecutive-step-over.c: New file.
1831 * gdb.base/consecutive-step-over.exp: New file.
1833 2014-04-22 Pedro Alves <palves@redhat.com>
1835 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
1836 instead of send_gdb/gdb_expect.
1838 2014-04-22 Yao Qi <yao@codesourcery.com>
1840 * lib/trace-support.exp (generate_tracefile): New procedure.
1841 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
1843 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
1844 if generate_tracefile returns 1.
1846 2014-04-18 Tom Tromey <palves@redhat.com>
1847 Pedro alves <tromey@redhat.com>
1850 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
1851 with a backtrace limit.
1852 * gdb.python/py-frame-inline.exp: Test running to an inline
1853 function with a backtrace limit, and printing the newest frame.
1854 * gdb.python/py-frame-inline.c (main): Call f.
1856 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1858 * gdb.java/jnpe.exp: Drop srcdir from untested path.
1860 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1862 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
1863 Drop prefix from unsupported source file path.
1865 2014-04-17 Yao Qi <yao@codesourcery.com>
1867 * lib/gdb.exp (with_target_charset): New proc.
1868 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
1869 with_target_charset.
1870 (test_print_strings): Likewise.
1871 (test_repeat_bytes): Likewise.
1872 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
1875 2014-04-16 Keith Seitz <keiths@redhat.com>
1878 * gdb.dwarf2/corrupt.c: New file.
1879 * gdb.dwarf2/corrupt.exp: New file.
1881 2014-04-16 Keith Seitz <keiths@redhat.com>
1884 * gdb.cp/namelessclass.cc: New file.
1885 * gdb.cp/namelessclass.exp: New file.
1886 * gdb.cp/namelessclass.S: New file.
1888 2014-04-16 Doug Evans <dje@google.com>
1890 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
1892 (gdbserver_default_get_comm_port): New function.
1893 (gdbserver_start): Check if board file provided
1894 "gdbserver,get_comm_port" and use it if so.
1895 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
1896 (gdb,socketport): Set to "stdio".
1897 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
1898 (stdio_gdbserver_template): Delete.
1899 (${board}_get_remote_address): Update.
1900 (${board}_build_remote_cmd): Delete.
1901 (${board}_get_comm_port): New function.
1902 (${board}_spawn): Update.
1903 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
1905 (${board}_get_remote_address): Update.
1906 (${board}_get_comm_port): New function.
1908 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
1910 * gdb.base/memattr.exp: Improve regexps to handle memory regions
1911 appearing in any order.
1913 2014-04-15 Doug Evans <dje@google.com>
1915 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
1916 uninitialized value of "description".
1918 2014-04-15 Keith Seitz <keiths@redhat.com>
1920 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
1921 Remove unused globals.
1922 (test_running_the_program): Likewise.
1923 (test_controlled_execution): Likewise.
1924 (test_controlling_breakpoints): Likewise.
1925 (test_program_termination): Likewise.
1927 2014-04-15 Keith Seitz <keiths@redhat.com>
1929 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
1931 (test_rbreak_creation_and_listing): Likewise.
1932 (test_ignore_count): Likewise.
1933 (test_error): Likewise.
1935 2014-04-15 Pedro Alves <palves@redhat.com>
1937 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
1938 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
1940 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1941 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1942 to sym-file-loader.c.
1943 (struct library): Forward declare.
1944 (load_shlib, lookup_function): Change prototypes.
1945 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1946 (translate_offset): Remove declarations.
1947 (get_text_addr): New declaration.
1948 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
1949 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
1951 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1952 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1953 here from sym-file-loader.h.
1954 (struct library): New structure.
1955 (load_shlib, lookup_function): Change prototypes and adjust to
1956 work with a struct library.
1957 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1958 (translate_offset): Make static.
1959 (get_text_addr): New function.
1960 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
1962 2014-04-15 Pedro Alves <palves@redhat.com>
1964 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
1966 2014-04-15 Pedro Alves <palves@redhat.com>
1968 * gdb.base/sym-file-loader.c: Include <limits.h>.
1969 (SELF_LINK): New define.
1970 (get_origin): New function.
1971 (load_shlib): Use it.
1972 * gdb.base/sym-file.exp: Don't early return if the target is
1973 remote. Use runto_main, and issue fail is that fails. Use
1975 (shlib_name): Delete.
1976 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
1978 2014-04-15 Pedro Alves <palves@redhat.com>
1980 * gdb.base/sym-file.exp: Remove regex characters from test
1981 message. Don't refer to breakpoint numbers in test messages.
1983 2014-04-14 Keith Seitz <keiths@redhat.com>
1986 * gdb.cp/var-tag.cc: New file.
1987 * gdb.cp/var-tag.exp: New file.
1988 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1989 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1990 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1991 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1993 2014-04-14 Tom Tromey <tromey@redhat.com>
1995 * gdb.cp/classes.exp (test_enums): Handle underlying type.
1996 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
1998 * gdb.cp/enum-class.exp: New file.
1999 * gdb.cp/enum-class.cc: New file.
2001 2014-04-14 Tom Tromey <tromey@redhat.com>
2003 * gdb.dwarf2/enum-type.exp: New file.
2005 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2007 * gdb.mi/mi-vla-c99.exp: New file.
2008 * gdb.mi/vla.c: New file.
2010 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2012 * gdb.base/vla-datatypes.c: New file.
2013 * gdb.base/vla-datatypes.exp: New file.
2015 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2017 * gdb.base/vla-ptr.c: New file.
2018 * gdb.base/vla-ptr.exp: New file.
2020 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2022 * gdb.dwarf2/count.exp: New file.
2024 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2026 * gdb.base/vla-sideeffect.c: New file.
2027 * gdb.base/vla-sideeffect.exp: New file.
2029 2014-04-14 David Blaikie <dblaikie@gmail.com>
2031 * gdb.mi/non-stop.c: Add return value for non-void function return
2033 * gdb.threads/staticthreads.c: Ditto.
2035 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2036 Doug Evans <xdje42@gmail.com>
2038 * gdb.guile/scm-value.c: Improve test case.
2039 * gdb.guile/scm-value.exp: Add new test.
2041 2014-04-11 David Blaikie <dblaikie@gmail.com>
2043 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2044 override Clang's default.
2046 2014-04-11 Joel Brobecker <brobecker@adacore.com>
2048 Revert the following changes (regressions):
2050 * gdb.base/vla-sideeffect.c: New file.
2051 * gdb.base/vla-sideeffect.exp: New file.
2053 * gdb.dwarf2/count.exp: New file.
2055 * gdb.base/vla-multi.c: New file.
2056 * gdb.base/vla-multi.exp: New file.
2058 * gdb.base/vla-ptr.c: New file.
2059 * gdb.base/vla-ptr.exp: New file.
2061 * gdb.base/vla-datatypes.c: New file.
2062 * gdb.base/vla-datatypes.exp: New file.
2064 * gdb.mi/mi-vla-c99.exp: New file.
2065 * gdb.mi/vla.c: New file.
2067 2014-04-11 Keith Seitz <keiths@redhat.com>
2070 * gdb.cp/cpsizeof.exp: New file.
2071 * gdb.cp/cpsizeof.cc: New file.
2073 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2075 * gdb.mi/mi-vla-c99.exp: New file.
2076 * gdb.mi/vla.c: New file.
2078 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2080 * gdb.base/vla-datatypes.c: New file.
2081 * gdb.base/vla-datatypes.exp: New file.
2083 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2085 * gdb.base/vla-ptr.c: New file.
2086 * gdb.base/vla-ptr.exp: New file.
2088 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2090 * gdb.base/vla-multi.c: New file.
2091 * gdb.base/vla-multi.exp: New file.
2093 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2095 * gdb.dwarf2/count.exp: New file.
2097 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2099 * gdb.base/vla-sideeffect.c: New file.
2100 * gdb.base/vla-sideeffect.exp: New file.
2102 2014-04-11 Yao Qi <yao@codesourcery.com>
2104 * gdb.base/completion.exp: Check file exists before running tests
2107 2014-04-10 Pedro Alves <palves@redhat.com>
2109 * gdb.base/cond-eval-mode.c: New file.
2110 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2111 prepare_for_testing to build the new file. Check result of
2113 (test_break, test_watch): New procedures.
2114 (top level): Use them.
2116 2014-04-08 Pierre Muller <muller@sourceware.org>
2118 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2119 Ctrl-V use for mingw hosts.
2121 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2123 * gdb.python/py-value.c: Improve test case.
2124 * gdb.python/py-value.exp: Add new test.
2126 2014-04-07 David Blaikie <dblaikie@gmail.com>
2128 * lib/compiler.c: Identify the clang compiler.
2129 * lib/compiler.cc: Ditto.
2131 2014-04-03 Yao Qi <yao@codesourcery.com>
2133 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2135 2014-04-01 Anton Blanchard <anton@samba.org>
2137 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2140 2014-04-01 Anton Blanchard <anton@samba.org>
2142 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2143 prepare_for_testing.
2145 2014-04-01 Anton Blanchard <anton@samba.org>
2147 * gdb.arch/ppc64-atomic-inst.c: Remove.
2148 * gdb.arch/ppc64-atomic-inst.S: New file.
2149 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2151 2014-03-31 Doug Evans <dje@google.com>
2153 * gdb.base/print-symbol-loading-lib.c: New file.
2154 * gdb.base/print-symbol-loading-main.c: New file.
2155 * gdb.base/print-symbol-loading.exp: New file.
2157 2014-03-31 Yao Qi <yao@codesourcery.com>
2159 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2161 2014-03-28 Joel Brobecker <brobecker@adacore.com>
2163 * gdb.ada/mi_dyn_arr: New testcase.
2165 2014-03-27 Doug Evans <dje@google.com>
2167 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2169 2014-03-27 Yao Qi <yao@codesourcery.com>
2171 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2172 if target is nios2-*-*.
2174 2014-03-26 Yao Qi <yao@codesourcery.com>
2176 * lib/gdb.exp (readline_is_used): New proc.
2177 * gdb.base/completion.exp: Move tests on command complete up.
2178 Skip the rest of tests if readline is not used.
2179 * gdb.ada/complete.exp: Skp the test if readline is not
2181 * gdb.base/filesym.exp: Likewise.
2182 * gdb.base/macscp.exp: Likewise.
2183 * gdb.base/readline-ask.exp: Likewise.
2184 * gdb.base/readline.exp: Likewise.
2185 * gdb.python/py-cmd.exp: Likewise.
2186 * gdb.trace/tfile.exp: Likewise.
2188 2014-03-26 Yao Qi <yao@codesourcery.com>
2190 * gdb.base/macscp.exp: Fix code format issues.
2192 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2194 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2195 * gdb.asm/powerpc64le.inc: New file.
2197 2014-03-25 Pedro Alves <palves@redhat.com>
2198 Doug Evans <dje@google.com>
2200 * gdb.base/source-execution.c: New file.
2201 * gdb.base/source-execution.exp: New file.
2202 * gdb.base/source-execution.gdb: New file.
2204 2014-03-24 Doug Evans <dje@google.com>
2206 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2209 2014-03-24 Hui Zhu <hui@codesourcery.com>
2210 Pedro Alves <palves@redhat.com>
2212 PR breakpoints/16101
2213 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2214 test pass/fail messages. Detect missing support for dprintf when
2215 breakpoints are actually inserted.
2216 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2217 breakpoints are actually inserted.
2218 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2221 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2223 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2225 2014-03-22 Doug Evans <xdje42@gmail.com>
2227 * gdb.python/python.exp (python not supported): Verify multi-line
2228 python command issues an error.
2229 * gdb.guile/guile.exp (guile not supported): Verify multi-line
2230 guile command issues an error.
2232 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2234 * gdb.threads/thread-specific.exp: Handle the lack of usable
2235 $this_breakpoint and $this_thread.
2237 2014-03-21 Hui Zhu <hui@codesourcery.com>
2239 * gdb.base/attach.exp (do_command_attach_tests): New.
2241 2014-03-20 Tom Tromey <tromey@redhat.com>
2242 Pedro Alves <palves@redhat.com>
2245 * gdb.base/condbreak-call-false.c: New file.
2246 * gdb.base/condbreak-call-false.exp: New file.
2248 2014-03-20 Pedro Alves <palves@redhat.com>
2250 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2252 (block_signals, unblock_signals): Delete.
2253 (child_function_2, main): Remove references to deleted variable
2256 2014-03-20 Pedro Alves <palves@redhat.com>
2258 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2259 Use pthread_kill to signal thread 2.
2260 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2261 Adjust to make the test send itself a signal rather than using the
2262 host's "kill" command.
2264 2014-03-20 Pedro Alves <palves@redhat.com>
2266 * gdb.threads/multiple-step-overs.c: New file.
2267 * gdb.threads/multiple-step-overs.exp: New file.
2268 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2269 Adjust expected infrun debug output.
2271 2014-03-20 Pedro Alves <palves@redhat.com>
2273 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2274 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2276 2014-03-20 Pedro Alves <palves@redhat.com>
2279 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2280 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2281 of gdb_test_multiple.
2282 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2283 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2285 2014-03-20 Pedro Alves <palves@redhat.com>
2287 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2288 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2290 2014-03-19 Pedro Alves <palves@redhat.com>
2292 * gdb.base/async.exp: Remove early return.
2294 2014-03-19 Pedro Alves <palves@redhat.com>
2296 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2298 2014-03-19 Pedro Alves <palves@redhat.com>
2300 * gdb.base/async.exp (test_background): Expect \r\n after
2301 "completed." in the fail pattern.
2303 2014-03-19 Pedro Alves <palves@redhat.com>
2305 * gdb.base/async.exp (test_background): New procedure.
2306 Use it for all background execution command tests.
2308 2014-03-19 Pedro Alves <palves@redhat.com>
2310 * gdb.base/async.exp: Use prepare_for_testing.
2312 2014-03-19 Pedro Alves <palves@redhat.com>
2314 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2317 2014-03-19 Pedro Alves <palves@redhat.com>
2319 * gdb.base/async.c (main): Add "jump here" and "until here" line
2321 * gdb.base/async.exp (jump_here): New global.
2322 (jump& test): Use it.
2323 (until_here): New global.
2324 (until& test): Use it.
2326 2014-03-19 Pedro Alves <palves@redhat.com>
2328 * gdb.base/async.exp: Don't frob gdb_protocol.
2330 2014-03-18 Doug Evans <xdje42@gmail.com>
2332 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2333 Fix spelling of exec-done-display.
2335 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2338 * gdb.base/gdb-sigterm.c: New file.
2339 * gdb.base/gdb-sigterm.exp: New file.
2341 2014-03-18 Pedro Alves <palves@redhat.com>
2344 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2345 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2348 2014-03-17 Joel Brobecker <brobecker@adacore.com>
2350 * gdb.ada/pckd_arr_ren: New testcase.
2352 2014-03-13 Doug Evans <xdje42@gmail.com>
2355 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2356 collect after discarding symbols.
2358 2014-03-13 Ludovic Courtès <ludo@gnu.org>
2359 Doug Evans <xdje42@gmail.com>
2361 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2362 to history survives a gc.
2364 2014-03-13 Pedro Alves <palves@redhat.com>
2366 * gdb.base/default.exp: Don't test "target procfs".
2368 2014-03-13 Pedro Alves <palves@redhat.com>
2370 * gdb.base/default.exp: Update "target child" and "target procfs"
2371 tests to not expect "Unix".
2373 2014-03-12 Tom Tromey <tromey@redhat.com>
2375 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2376 New procs. Add target-async tests.
2377 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2378 Add target-async tests.
2380 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2382 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2383 'func_start' and 'func_end' for the beginning and end of the
2384 function code, respectively.
2385 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2386 'func_end' instead of 'func' and 'main'.
2388 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2390 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2391 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2392 generate the debug info assembler source.
2394 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2396 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2397 * gdb.dwarf2/arr-subrange.exp: Likewise.
2398 * gdb.dwarf2/dwz.exp: Likewise.
2399 * gdb.dwarf2/method-ptr.exp: Likewise.
2400 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2401 * gdb.dwarf2/subrange.exp: Likewise.
2402 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2403 * gdb.dwarf2/implptrpiece.exp: Likewise.
2404 * gdb.dwarf2/nostaticblock.exp: Likewise.
2406 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2408 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2409 directory to absolute path name arguments.
2411 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2413 * gdb.ada/tagged_access: New testcase.
2415 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2417 * gdb.btrace/data.exp: Update expected output.
2419 2014-03-06 Yao Qi <yao@codesourcery.com>
2421 * gdb.trace/pr16508.exp: New file.
2423 2014-03-05 Pedro Alves <palves@redhat.com>
2426 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2428 (top level): Adjust to use it. Add tests that exercise breakpoint
2429 interaction with the code-cache.
2431 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2433 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2434 test for 'history-append!'.
2436 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2438 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2439 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2440 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2441 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2442 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2443 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2445 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2447 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2448 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2449 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2451 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2453 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2455 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2457 * gdb.dwarf2/arr-stride.c: New file.
2458 * gdb.dwarf2/arr-stride.exp: New file.
2460 2014-02-26 Pedro Alves <palves@redhat.com>
2462 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2463 that won't ever trigger. Make sure that GDB reports the correct
2464 breakpoint that caused the stop.
2466 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2469 * gdb.base/auto-load-script: New file.
2470 * gdb.base/auto-load.c: New file.
2471 * gdb.base/auto-load.exp: New file.
2474 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2476 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2478 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2479 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2481 2014-02-24 Doug Evans <dje@google.com>
2483 * lib/gdb.exp (run_on_host): Log error output if program fails.
2485 2014-02-21 Pedro Alves <palves@redhat.com>
2487 * gdb.threads/step-after-sr-lock.c: Rename to ...
2488 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2489 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2490 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2493 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2496 * gdb.arch/amd64-stap-special-operands.exp: New file.
2497 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2498 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2499 * gdb.arch/amd64-stap-triplet.S: Likewise.
2500 * gdb.arch/amd64-stap-triplet.c: Likewise.
2502 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2504 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2505 in .section pseudo-op.
2507 2014-02-20 lin zuojian <manjian2006@gmail.com>
2508 Joel Brobecker <brobecker@adacore.com>
2509 Doug Evans <xdje42@gmail.com>
2512 * gdb.dwarf2/dw2-icycle.S: New file.
2513 * gdb.dwarf2/dw2-icycle.c: New file.
2514 * gdb.dwarf2/dw2-icycle.exp: New file.
2516 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2518 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2519 operations on gdb.Value objects.
2520 * gdb.python/py-value-cc.exp: Add new test to test operations on
2523 2014-02-18 Doug Evans <dje@google.com>
2525 * Makefile.in (TESTS): New variable.
2526 (expanded_tests, expanded_tests_or_none): New variables
2527 (check-single): Pass $(expanded_tests_or_none) to runtest.
2528 (check-parallel): Only run tests in $(TESTS) if non-empty.
2529 (check/no-matching-tests-found): New rule.
2530 * README: Document TESTS makefile variable.
2532 2014-02-18 Doug Evans <dje@google.com>
2534 * Makefile.in (check-parallel): rm -rf outputs temp.
2536 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2538 Fix "ERROR: no fileid for" in the testsuite.
2539 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2541 2014-02-12 Doug Evans <dje@google.com>
2543 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2544 (MISCELLANEOUS): New variable.
2545 (clean): rm -rf $(MISCELLANEOUS).
2546 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2547 dwp live in the same directory as symlinks, with each symlink pointed
2548 to a differently named file in a different directory.
2550 2014-02-11 Doug Evans <dje@google.com>
2552 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2553 of Tcl file commands.
2555 2014-02-10 Mark Kettenis <kettenis@gnu.org>
2557 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2560 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2562 * gdb.ada/tick_length_array_enum_idx: New testcase.
2564 2014-02-10 Doug Evans <xdje42@gmail.com>
2566 * configure.ac (AC_OUTPUT): Add gdb.guile.
2567 * configure: Regenerate.
2568 * lib/gdb-guile.exp: New file.
2569 * lib/gdb.exp (get_target_charset): New function.
2570 * gdb.base/help.exp: Update expected output from "apropos apropos".
2571 * gdb.guile/Makefile.in: New file.
2572 * gdb.guile/guile.exp: New file.
2573 * gdb.guile/scm-arch.c: New file.
2574 * gdb.guile/scm-arch.exp: New file.
2575 * gdb.guile/scm-block.c: New file.
2576 * gdb.guile/scm-block.exp: New file.
2577 * gdb.guile/scm-breakpoint.c: New file.
2578 * gdb.guile/scm-breakpoint.exp: New file.
2579 * gdb.guile/scm-disasm.c: New file.
2580 * gdb.guile/scm-disasm.exp: New file.
2581 * gdb.guile/scm-equal.c: New file.
2582 * gdb.guile/scm-equal.exp: New file.
2583 * gdb.guile/scm-error.exp: New file.
2584 * gdb.guile/scm-error.scm: New file.
2585 * gdb.guile/scm-frame-args.c: New file.
2586 * gdb.guile/scm-frame-args.exp: New file.
2587 * gdb.guile/scm-frame-args.scm: New file.
2588 * gdb.guile/scm-frame-inline.c: New file.
2589 * gdb.guile/scm-frame-inline.exp: New file.
2590 * gdb.guile/scm-frame.c: New file.
2591 * gdb.guile/scm-frame.exp: New file.
2592 * gdb.guile/scm-generics.exp: New file.
2593 * gdb.guile/scm-gsmob.exp: New file.
2594 * gdb.guile/scm-iterator.c: New file.
2595 * gdb.guile/scm-iterator.exp: New file.
2596 * gdb.guile/scm-math.c: New file.
2597 * gdb.guile/scm-math.exp: New file.
2598 * gdb.guile/scm-objfile-script-gdb.in: New file.
2599 * gdb.guile/scm-objfile-script.c: New file.
2600 * gdb.guile/scm-objfile-script.exp: New file.
2601 * gdb.guile/scm-objfile.c: New file.
2602 * gdb.guile/scm-objfile.exp: New file.
2603 * gdb.guile/scm-ports.exp: New file.
2604 * gdb.guile/scm-pretty-print.c: New file.
2605 * gdb.guile/scm-pretty-print.exp: New file.
2606 * gdb.guile/scm-pretty-print.scm: New file.
2607 * gdb.guile/scm-section-script.c: New file.
2608 * gdb.guile/scm-section-script.exp: New file.
2609 * gdb.guile/scm-section-script.scm: New file.
2610 * gdb.guile/scm-symbol.c: New file.
2611 * gdb.guile/scm-symbol.exp: New file.
2612 * gdb.guile/scm-symtab-2.c: New file.
2613 * gdb.guile/scm-symtab.c: New file.
2614 * gdb.guile/scm-symtab.exp: New file.
2615 * gdb.guile/scm-type.c: New file.
2616 * gdb.guile/scm-type.exp: New file.
2617 * gdb.guile/scm-value-cc.cc: New file.
2618 * gdb.guile/scm-value-cc.exp: New file.
2619 * gdb.guile/scm-value.c: New file.
2620 * gdb.guile/scm-value.exp: New file.
2621 * gdb.guile/source2.scm: New file.
2622 * gdb.guile/types-module.cc: New file.
2623 * gdb.guile/types-module.exp: New file.
2625 2014-02-10 Yao Qi <yao@codesourcery.com>
2628 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
2629 * configure: Regenerated.
2630 * Makefile.in: New file.
2632 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2634 * gdb.python/py-framefilter.exp: Fix typo.
2636 2014-02-08 Yao Qi <yao@codesourcery.com>
2638 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
2639 that no =breakpoint-modified is emitted when breakpoints are
2640 modified through MI commands.
2642 2014-02-07 Pedro Alves <pedro@codesourcery.com>
2643 Pedro Alves <palves@redhat.com>
2645 * gdb.threads/step-after-sr-lock.c: New file.
2646 * gdb.threads/step-after-sr-lock.exp: New file.
2648 2014-02-07 Pedro Alves <palves@redhat.com>
2650 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
2652 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2654 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
2655 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
2657 2014-02-06 Doug Evans <xdje42@gmail.com>
2659 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
2662 * gdb.gdb/python-interrupts.exp: New file.
2664 2014-02-05 Yao Qi <yao@codesourcery.com>
2666 * gdb.trace/report.exp (use_collected_data): Test the output
2667 of "info threads" and "info inferiors".
2669 2014-02-05 Yao Qi <yao@codesourcery.com>
2673 2013-05-24 Yao Qi <yao@codesourcery.com>
2675 * gdb.trace/tfile.exp: Test inferior and thread.
2677 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2679 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
2681 * gdb.base/step-bt.c: Call hello via function pointer to make
2682 sure its first instruction is executed on powerpc64le-linux.
2684 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2686 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
2688 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2690 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
2691 of the test patterns for use on little-endian systems.
2693 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2695 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
2696 (decimal_vector): Fix for little-endian.
2698 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2700 * gdb.arch/sparc-sysstep.exp: New file.
2701 * gdb.arch/sparc-sysstep.c: Likewise.
2703 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
2705 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2707 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2709 2014-01-23 Tom Tromey <tromey@redhat.com>
2711 * gdb.ada/array_char_idx: New testcase.
2713 2014-01-23 Tom Tromey <tromey@redhat.com>
2716 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
2717 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2720 2014-01-23 Tom Tromey <tromey@redhat.com>
2723 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2724 string from an inferior frame.
2725 * gdb.python/py-framefilter-mi.exp: Update.
2727 2014-01-22 Doug Evans <dje@google.com>
2729 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2731 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2733 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2735 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2737 * gdb.trace/entry-values.exp: Remove excess space character from
2738 regex patterns. Handle s390 call instruction.
2740 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2742 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
2743 define "*_start" label. Make "name" static.
2744 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
2745 ${name} by references to ${name}_start.
2747 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2749 * gdb.base/info-macros.exp: Remove "debug" from the compile
2752 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2754 * gdb.dlang/demangle.exp: New file.
2756 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2758 * gdb.dlang/primitive-types.exp: New file.
2760 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2762 * configure.ac: Create gdb.dlang/Makefile.
2763 * configure: Regenerate.
2764 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
2765 * gdb.dlang/Makefile.in: New file.
2766 * lib/d-support.exp: New file.
2767 * lib/gdb.exp (skip_d_tests): New proc.
2769 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2771 * gdb.btrace/delta.exp: Check reverse stepi.
2772 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
2773 * gdb.btrace/finish.exp: New.
2774 * gdb.btrace/next.exp: New.
2775 * gdb.btrace/nexti.exp: New.
2776 * gdb.btrace/record_goto.c: Add comments.
2777 * gdb.btrace/step.exp: New.
2778 * gdb.btrace/stepi.exp: New.
2779 * gdb.btrace/multi-thread-step.c: New.
2780 * gdb.btrace/multi-thread-step.exp: New.
2781 * gdb.btrace/rn-dl-bind.c: New.
2782 * gdb.btrace/rn-dl-bind.exp: New.
2783 * gdb.btrace/data.c: New.
2784 * gdb.btrace/data.exp: New.
2785 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2787 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2789 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
2790 * gdb.btrace/exception.exp: Update.
2791 * gdb.btrace/instruction_history.exp: Update.
2792 * gdb.btrace/record_goto.exp: Update.
2793 * gdb.btrace/tailcall.exp: Update.
2794 * gdb.btrace/unknown_functions.exp: Update.
2795 * gdb.btrace/delta.exp: New.
2797 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2799 * gdb.btrace/record_goto.exp: Add backtrace test.
2800 * gdb.btrace/tailcall.exp: Add backtrace test.
2802 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2804 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
2805 * gdb.btrace/record_goto.c: New.
2806 * gdb.btrace/record_goto.exp: New.
2807 * gdb.btrace/x86-record_goto.S: New.
2809 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2811 * gdb.btrace/function_call_history.exp: Update tests.
2812 * gdb.btrace/instruction_history.exp: Update tests.
2814 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2816 * gdb.btrace/function_call_history.exp: Fix expected field
2817 order for "record function-call-history".
2818 Add new tests for "record function-call-history /c".
2819 * gdb.btrace/exception.cc: New.
2820 * gdb.btrace/exception.exp: New.
2821 * gdb.btrace/tailcall.exp: New.
2822 * gdb.btrace/x86-tailcall.S: New.
2823 * gdb.btrace/x86-tailcall.c: New.
2824 * gdb.btrace/unknown_functions.c: New.
2825 * gdb.btrace/unknown_functions.exp: New.
2826 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2828 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2830 * gdb.btrace/instruction_history.exp: Update.
2831 * gdb.btrace/function_call_history.exp: Update.
2833 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2835 * gdb.btrace/function_call_history.exp: Fix expected function
2837 * gdb.btrace/instruction_history.exp: Initialize traced.
2838 Remove traced_functions.
2840 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2842 * gdb.btrace/function_call_history.exp: Update
2843 * gdb.btrace/instruction_history.exp: Update.
2845 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2847 * gdb.btrace/enable.exp: Update expected text.
2849 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
2851 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
2854 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
2856 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
2858 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2860 * lib/gdb.exp (supports_process_record): Return true for
2861 arm*-linux*. (supports_reverse): Likewise.
2863 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
2867 * gdb.python/py-type.c: Enhance test case.
2868 * gdb.python/py-value-cc.cc: Likewise
2869 * gdb.python/py-type.exp: Add new tests.
2870 * gdb.python/py-value-cc.exp: Likewise
2872 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2873 Pedro Alves <palves@redhat.com>
2875 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
2877 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
2878 references to ${name}_start by references to ${name}.
2880 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2882 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
2884 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2886 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
2888 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
2889 Pedro Alves <palves@redhat.com>
2891 * gdb.mi/mi-info-os.exp: Connect to the target with
2894 2014-01-08 Pedro Alves <palves@redhat.com>
2896 * gdb.threads/reconnect-signal.c: New file.
2897 * gdb.threads/reconnect-signal.exp: New file.
2899 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2901 * gdb.base/source-dir.exp: New file.
2903 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2905 * gdb.ada/mi_interface: New testcase.
2907 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2909 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
2910 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
2911 gdb.ada/pp-rec-component/pck.ads: New files.
2913 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2915 * gdb.python/py-pp-integral.c: New file.
2916 * gdb.python/py-pp-integral.py: New file.
2917 * gdb.python/py-pp-integral.exp: New file.
2919 For older changes see ChangeLog-1993-2013.
2925 ;; version-control: never
2928 Copyright 2014 Free Software Foundation, Inc.
2929 Copying and distribution of this file, with or without modification,
2930 are permitted provided the copyright notice and this notice are preserved.