1 2018-10-04 Tom Tromey <tom@tromey.com>
3 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
4 set width and height to 0.
5 (test_command_line_attach_run): Use -quiet.
7 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
9 * lib/gdb.exp (skip_ifunc_tests): New.
10 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
11 other compile failures.
12 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
14 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
16 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
19 2018-10-01 Alan Hayward <alan.hayward@arm.com>
21 * gdb.arch/aarch64-sighandler-regs.c: New test.
22 * gdb.arch/aarch64-sighandler-regs.exp: New file.
23 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
25 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
27 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
30 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
32 * gdb.base/frame-selection.exp: New file.
33 * gdb.base/frame-selection.c: New file.
35 2018-09-27 Alan Hayward <alan.hayward@arm.com>
37 * gdb.threads/check-libthread-db.c (thread_routine): Use a
41 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
43 * gdb.base/large-frame-1.c: New file.
44 * gdb.base/large-frame-2.c: New file.
45 * gdb.base/large-frame.exp: New file.
46 * gdb.base/large-frame.h: New file.
48 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
51 * gdb.base/write_mem.exp: New test.
52 * gdb.base/write_mem.c: Likewise.
54 2018-09-23 Tom Tromey <tom@tromey.com>
57 * gdb.python/py-parameter.exp: Add test for parameter that throws
60 2018-09-23 Tom Tromey <tom@tromey.com>
63 * gdb.python/py-template.exp (test_template_arg): Add test for
64 negative template argument number.
66 2018-09-23 Tom Tromey <tom@tromey.com>
69 * gdb.python/python.exp: Add test for post_event error.
71 2018-09-23 Tom Tromey <tom@tromey.com>
74 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
75 convert pointers to int and long.
77 2018-09-23 Tom Tromey <tom@tromey.com>
80 * gdb.python/py-value.exp (test_value_numeric_ops): Add
81 signed-ness conversion tests.
83 2018-09-23 Tom Tromey <tom@tromey.com>
86 * gdb.python/py-value.exp (test_float_conversion): New proc.
89 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
91 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
93 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
95 * gdb.base/complete-empty.exp: Skip tab-completion tests if
97 * gdb.base/utf8-identifiers.exp: Likewise.
98 * gdb.cp/cpcompletion.exp: Likewise.
99 * gdb.linespec/cpcompletion.exp: Likewise.
100 * gdb.linespec/cpls-abi-tag.exp: Likewise.
101 * gdb.linespec/cpls-ops.exp: Likewise.
103 2018-09-19 Richard Bunt <richard.bunt@arm.com>
104 Chris January <chris.january@arm.com>
106 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
107 * gdb.fortran/short-circuit-argument-list.exp: New file.
108 * gdb.fortran/short-circuit-argument-list.f90: New test.
110 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
112 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
113 "arch=" keyword when executing "-stack-list-frames".
115 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
117 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
118 "arch=" keyword when executing "-stack-list-frames".
120 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
122 * gdb.ada/complete.exp: Expect for "@" when doing "complete
125 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
128 * gdb.python/python.exp: Test gdb.execute("show commands").
130 2018-09-16 Tom Tromey <tom@tromey.com>
132 * gdb.base/new-ui.exp (do_execution_tests): Update.
133 * gdb.base/dbx.exp (test_breakpoints): Update.
135 2018-09-14 Alan Hayward <alan.hayward@arm.com>
137 * lib/gdb.exp (gdb_simple_compile): Add proc.
138 (is_elf_target): Use gdb_simple_compile.
139 (skip_altivec_tests): Likewise.
140 (skip_vsx_tests): Likewise.
141 (skip_tsx_tests): Likewise.
142 (skip_btrace_tests): Likewise.
143 (skip_btrace_pt_tests): Likewise.
144 (gdb_can_simple_compile): Likewise.
145 (gdb_has_argv0): Likewise.
146 (gdb_target_symbol_prefix): Likewise.
147 (target_supports_scheduler_locking): Likewise.
149 2018-09-13 Tom Tromey <tom@tromey.com>
151 * Makefile.in (TAGS): Recognize proc_with_prefix and
154 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
156 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
159 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
161 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
162 and a few other Inferior properties when the Inferior is no
165 2018-09-13 Tom Tromey <tom@tromey.com>
168 * gdb.rust/simple.exp: Add test for enum field access error.
170 2018-09-13 Tom Tromey <tom@tromey.com>
173 * gdb.rust/simple.rs (EmptyEnum): New type.
175 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
177 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
179 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
180 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
181 * gdb.python/py-symtab.exp: Update test printing an objfile.
183 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
185 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
188 2018-09-12 Alan Hayward <alan.hayward@arm.com>
190 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
191 (support_complex_tests): Use gdb_can_simple_compile.
192 (is_ilp32_target): Likewise.
193 (is_lp64_target): Likewise.
194 (is_64_target): Likewise.
195 (is_amd64_regs_target): Likewise.
196 (is_aarch32_target): Likewise.
197 (gdb_int128_helper): Likewise.
199 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
201 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
203 2018-09-10 Jerome Guitton <guitton@adacore.com>
205 * gdb.ada/same_component_name: Add test for case of tagged record
206 with variable-length fields.
208 2018-09-10 Xavier Roirand <roirand@adacore.com>
210 * gdb.ada/access_to_unbounded_array.exp: New testcase.
211 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
212 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
213 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
215 2018-09-10 Xavier Roirand <roirand@adacore.com>
217 * gdb.ada/mi_string_access.exp: New testcase.
218 * gdb.ada/mi_string_access/bar.adb: New file.
219 * gdb.ada/mi_string_access/pck.adb: New file.
220 * gdb.ada/mi_string_access/pck.asd: New file.
222 2018-09-10 Xavier Roirand <roirand@adacore.com>
224 * gdb.ada/mi_var_union.exp: New testcase.
225 * gdb.ada/mi_var_union/bar.adb: New file.
226 * gdb.ada/mi_var_union/pck.adb: New file.
227 * gdb.ada/mi_var_union/pck.asd: New file.
229 2018-09-08 Tom Tromey <tom@tromey.com>
231 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
233 2018-09-08 Tom Tromey <tom@tromey.com>
236 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
237 (register_pretty_printers): Register new printer.
238 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
240 * gdb.python/py-prettyprint.c (int_type3): New typedef.
241 (an_int_type3): New global.
243 2018-09-08 Joel Brobecker <brobecker@adacore.com>
245 * gdb.ada/expr_with_funcall: New testcase.
247 2018-09-08 Joel Brobecker <brobecker@adacore.com>
249 * gdb.ada/packed_array_assign: New testcase.
251 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
253 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
254 names, and add test prefixes to make test names unique.
256 2018-09-05 Tom de Vries <tdevries@suse.de>
258 * gdb.dwarf2/varval.exp: Add test.
260 2018-09-04 Gary Benson <gbenson@redhat.com>
262 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
263 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
265 2018-08-31 Tom Tromey <tom@tromey.com>
267 * gdb.rust/simple.rs: Rename second variable "v".
269 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
271 * gdb.base/funcargs.c (use_a): New function.
272 (recurse): Call use_a.
274 2018-08-29 Keith Seitz <keiths@redhat.com>
276 * gdb.compile/compile-cplus-anonymous.cc: New file.
277 * gdb.compile/compile-cplus-anonymous.exp: New file.
278 * gdb.compile/compile-cplus-array-decay.cc: New file.
279 * gdb.compile/compile-cplus-array-decay.exp: New file.
280 * gdb.compile/compile-cplus-inherit.cc: New file.
281 * gdb.compile/compile-cplus-inherit.exp: New file.
282 * gdb.compile/compile-cplus-member.cc: New file.
283 * gdb.compile/compile-cplus-member.exp: New file.
284 * gdb.compile/compile-cplus-method.cc: New file.
285 * gdb.compile/compile-cplus-method.exp: New file.
286 * gdb.compile/compile-cplus-mod.c: "New" file.
287 * gdb.compile/compile-cplus-namespace.cc: New file.
288 * gdb.compile/compile-cplus-namespace.exp: New file.
289 * gdb.compile/compile-cplus-nested.cc: New file.
290 * gdb.compile/compile-cplus-nested.exp: New file.
291 * gdb.compile/compile-cplus-print.c: "New" file.
292 * gdb.compile/compile-cplus-print.exp: "New" file.
293 * gdb.compile/compile-cplus-virtual.cc: New file.
294 * gdb.compile/compile-cplus-virtual.exp: New file.
295 * gdb.compile/compile-cplus.c: "New" file.
296 * gdb.compile/compile-cplus.exp: "New" file.
297 * lib/compile-support.exp: New file.
299 2018-08-16 Gary Benson <gbenson@redhat.com>
302 * gdb.base/batch-exit-status.exp: New file.
303 * gdb.base/batch-exit-status.good-commands: Likewise.
304 * gdb.base/batch-exit-status.bad-commands: Likewise.
306 2018-08-29 Alan Hayward <alan.hayward@arm.com>
308 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
309 (struct struct02): Likewise.
310 (struct struct03): Likewise.
311 (struct struct04): Likewise.
312 (struct struct_01_01): New struct.
313 (struct struct_01_02): Likewise.
314 (struct struct_01_03): Likewise.
315 (struct struct_01_04): Likewise.
316 (struct struct_02_01): Likewise.
317 (struct struct_02_02): Likewise.
318 (struct struct_02_03): Likewise.
319 (struct struct_02_04): Likewise.
320 (struct struct_04_01): Likewise.
321 (struct struct_04_02): Likewise.
322 (struct struct_04_03): Likewise.
323 (struct struct_04_04): Likewise.
324 (struct struct_05_01): Likewise.
325 (struct struct_05_02): Likewise.
326 (struct struct_05_03): Likewise.
327 (struct struct_05_04): Likewise.
328 (cmp_struct01): Remove function.
329 (cmp_struct02): Likewise.
330 (cmp_struct03): Likewise.
331 (cmp_struct04): Likewise.
332 (cmp_struct_01_01): Add Function.
333 (cmp_struct_01_02): Likewise.
334 (cmp_struct_01_03): Likewise.
335 (cmp_struct_01_04): Likewise.
336 (cmp_struct_02_01): Likewise.
337 (cmp_struct_02_02): Likewise.
338 (cmp_struct_02_03): Likewise.
339 (cmp_struct_02_04): Likewise.
340 (cmp_struct_04_01): Likewise.
341 (cmp_struct_04_02): Likewise.
342 (cmp_struct_04_03): Likewise.
343 (cmp_struct_04_04): Likewise.
344 (cmp_struct_05_01): Likewise.
345 (cmp_struct_05_02): Likewise.
346 (cmp_struct_05_03): Likewise.
347 (cmp_struct_05_04): Likewise.
348 (call_all): Add new structs.
349 * gdb.base/infcall-nested-structs.exp: Likewise.
351 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
353 * gdb.python/py-framefilter-mi.exp: Update regexp to
354 check for "arch" field in frame output.
356 2018-08-23 Kevin Buettner <kevinb@redhat.com>
358 * gdb.dwarf2/dw2-ranges-func.c: New file.
359 * gdb.dwarf2/dw2-ranges-func.exp: New file.
361 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
363 * gdb.base/term.exp: Compare terminal settings with values from
365 * gdb.base/term.c: Get and set terminal settings.
367 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
369 * lib/mi-support.exp (mi_expect_stop): Update regexp to
370 accommodate new "arch" field in frame output.
371 * gdb.mi/mi-return.exp: Likewise.
372 * gdb.mi/mi-stack.exp: Likewise.
373 * gdb.mi/mi-syn-frame.exp: Likewise.
374 * gdb.mi/user-selected-context-sync.exp: Likewise.
376 2018-08-19 Michael Spang <spang@google.com>
379 * gdb.base/gcore-tls-pie.c: New file.
380 * gdb.base/gcore-tls-pie.exp: New file.
382 2018-08-18 Kevin Buettner <kevinb@redhat.com>
384 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
385 * gdb.dwarf2/varval.c: New file.
386 * gdb.dwarf2/varval.exp: New file.
388 2018-08-17 Alan Hayward <alan.hayward@arm.com>
391 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
393 2018-08-16 Keith Seitz <keiths@redhat.com>
395 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
396 tests expected to pass.
398 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
400 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
401 -data-disassemble -a.
402 (test_disassembly_bogus_args): Likewise.
404 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
406 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
408 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
410 * gdb.base/vla-optimized-out.exp: Add new test.
412 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
414 * gdb.base/vla-optimized-out-o3.exp: Delete.
415 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
416 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
419 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
422 * gdb.server/extended-remote-restart.c: New file.
423 * gdb.server/extended-remote-restart.exp: New file.
425 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
427 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
428 "set variable index = 42".
430 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
432 * boards/index-cache-gdb.exp: New file.
433 * gdb.dwarf2/index-cache.exp: New file.
434 * gdb.dwarf2/index-cache.c: New file.
435 * gdb.base/maint.exp: Check if we are using the index cache.
437 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
439 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
442 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
444 * dg-extract-results.sh: Move to toplevel contrib.
445 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
446 * Makefile.in (check-parallel-racy): Likewise.
448 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
450 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
451 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
452 tests if the target supports scheduler locking.
454 2018-08-04 Tom de Vries <tdevries@suse.de>
456 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
458 2018-08-02 Tom Tromey <tom@tromey.com>
461 * gdb.cp/temargs.exp: Test "info address" of a template
464 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
466 * gdb.python/py-mi-var-info-path-expression.c: New file.
467 * gdb.python/py-mi-var-info-path-expression.py: New file.
468 * gdb.python/py-mi-var-info-path-expression.exp: New file.
470 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
472 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
473 error after "cannot resolve name" string.
475 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
477 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
479 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
481 2018-07-28 Tom de Vries <tdevries@suse.de>
483 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
485 2018-07-26 Tom de Vries <tdevries@suse.de>
487 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
489 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
491 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
494 2018-07-26 Tom de Vries <tdevries@suse.de>
497 * gdb.base/catch-follow-exec.c: New test.
498 * gdb.base/catch-follow-exec.exp: New file.
500 2018-07-25 Tom de Vries <tdevries@suse.de>
502 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
505 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
507 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
508 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
510 2018-07-20 Tom de Vries <tdevries@suse.de>
512 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
514 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
516 2018-07-19 Tom de Vries <tdevries@suse.de>
518 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
521 2018-07-18 Tom de Vries <tdevries@suse.de>
523 * gdb.base/vla-optimized-out.c: New test.
524 * gdb.base/vla-optimized-out.exp: New file.
526 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
528 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
529 message "No address associated with hostname" when gdbserver
530 cannot resolve the hostname.
532 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
534 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
535 Add some test prefixes to make tests unique.
537 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
539 * gdb.base/frameapply.c: New file.
540 * gdb.base/frameapply.exp: New file.
542 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
544 * gdb.base/skip.exp: Update expected error message.
546 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
547 Jan Kratochvil <jan.kratochvil@redhat.com>
548 Paul Fertser <fercerpav@gmail.com>
549 Tsutomu Seki <sekiriki@gmail.com>
551 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
553 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
555 * boards/native-gdbserver.exp: Likewise.
556 * gdb.server/run-without-local-binary.exp: Improve regexp used
557 for detecting when a remote debugging connection succeeds.
558 * gdb.server/server-connect.exp: New file.
559 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
560 Do not prefix the port number with ":".
561 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
562 support for detecting and using it. Add '$debughost_gdbserver'
563 to the list of arguments used to start gdbserver. Handle case
564 when gdbserver cannot resolve a network name.
566 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
569 * gdb.base/ptype-offsets.cc (struct static_member): New
571 (main) <stmember>: New variable.
572 * gdb.base/ptype-offsets.exp: Add test for printing a struct
573 with a static member in it.
575 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
577 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
578 watchpoints enabled and disabled.
580 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
582 * gdb.base/examine-backward.exp: Still run tests around address
583 0x0, even if address 0x0 is not readable. Update the pattern for
584 matching address 0x0 in expected output.
586 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
588 * gdb.base/share-env-with-gdbserver.c (main): Add call to
591 2018-07-04 Tom de Vries <tdevries@suse.de>
593 * gdb.dwarf2/dw2-error.exp: Update expected error message.
595 2018-07-02 Maciej W. Rozycki <macro@mips.com>
598 * gdb.arch/mips-disassembler-options.exp: New test.
599 * gdb.arch/mips-disassembler-options.s: New test source.
601 2018-06-29 Pedro Alves <palves@redhat.com>
603 * gdb.threads/names.exp: Adjust expected "info threads" output.
605 2018-06-29 Pedro Alves <palves@redhat.com>
607 * gdb.opt/inline-break.exp (line number, address): Add "info
610 2018-06-29 Pedro Alves <palves@redhat.com>
612 * gdb.opt/inline-break.c (func1): Add "break here" marker.
613 * gdb.opt/inline-break.exp: Test setting breakpoints by line
614 number and address and running to them.
616 2018-06-29 Richard Bunt <richard.bunt@arm.com>
618 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
620 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
622 * lib/compiler.c: Remove executable permission flag.
624 2018-06-28 Richard Bunt <richard.bunt@arm.com>
626 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
628 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
630 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
632 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
634 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
636 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
637 address argument is omitted.
639 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
641 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
643 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
646 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
647 * gdb.base/infoline-reloc-main-from-zero.c: New file.
649 2018-06-26 Tom Tromey <tom@tromey.com>
652 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
653 * gdb.rust/simple.rs (struct SimpleLayout): New.
655 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
657 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
658 "info registers" output.
660 2018-06-21 Richard Bunt <richard.bunt@arm.com>
662 * gdb.base/watchpoint-hw-attach.c: New test.
663 * gdb.base/watchpoint-hw-attach.exp: New file.
665 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
667 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
669 * boards/dwarf4-gdb-index.exp: Likewise.
670 * boards/fission-dwp.exp: Likewise.
672 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
674 * gdb.base/float128.exp: Add comment and improved fail message
675 to the failure case of "print large128" test.
677 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
679 * configure.ac: Remove AC_PREREQ.
680 * configure: Re-generate.
682 2018-06-19 Pedro Alves <palves@redhat.com>
684 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
685 (func_extern_caller): New.
686 (main): Call func_extern_caller.
687 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
690 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
693 * gdb.cp/typedef-base.cc: New file.
694 * gdb.cp/typedef-base.exp: New file.
696 2018-06-18 Tom de Vries <tdevries@suse.de>
698 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
700 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
701 Richard Bunt <Richard.Bunt@arm.com>
703 * gdb.threads/attach-slow-waitpid.c: New file.
704 * gdb.threads/attach-slow-waitpid.exp: New file.
705 * gdb.threads/slow-waitpid.c: New file.
707 2018-06-14 Pedro Alves <palves@redhat.com>
709 * gdb.base/fork-running-state.c: Include <errno.h>.
710 (exit_if_relative_exits): New.
711 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
713 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
716 2018-06-14 Tom de Vries <tdevries@suse.de>
719 * gdb.base/finish-pretty.c: New test.
720 * gdb.base/finish-pretty.exp: New file.
722 2018-06-14 Pedro Alves <palves@redhat.com>
724 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
725 gdb's expected startup output.
727 2018-06-14 Pedro Alves <palves@redhat.com>
729 * lib/selftest-support.exp (selftest_setup): Remove inlined
732 2018-06-14 Tom de Vries <tdevries@suse.de>
734 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
735 matching of breakpoint printing.
737 2018-06-13 Tom de Vries <tdevries@suse.de>
740 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
741 (fork_child): ... here, and ...
742 (fork_parent): ... here.
744 2018-06-12 Tom de Vries <tdevries@suse.de>
746 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
748 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
749 Stephen Roberts <stephen.roberts@arm.com>
751 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
752 rewrite test to describe action performed, rather than possible
755 2018-06-08 Gary Benson <gbenson@redhat.com>
757 * gdb.threads/check-libthread-db.exp: New file.
758 * gdb.threads/check-libthread-db.c: Likewise.
760 2018-06-05 Tom Tromey <tom@tromey.com>
762 * gdb.base/default.exp: Update expected "show version" output.
764 2018-06-05 Tom Tromey <tom@tromey.com>
767 * gdb.cp/static-print-quit.exp: Update.
768 * lib/gdb.exp (pagination_prompt): Update.
769 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
770 * gdb.python/python.exp: Update.
772 2018-06-04 Joel Brobecker <brobecker@adacore.com>
774 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
776 2018-06-01 Joel Brobecker <brobecker@adacore.com>
778 * gdb.ada/bp_fun_addr: New testcase.
780 2018-06-01 Tom Tromey <tom@tromey.com>
782 * gdb.xml/tdesc-regs.exp (load_description): Update expected
784 * gdb.dwarf2/method-ptr.exp: Set language to C++.
785 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
786 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
787 * gdb.base/maint.exp (maint_pass_if): Update.
789 2018-05-31 Maciej W. Rozycki <macro@mips.com>
791 * gdb.base/endian.exp: New test.
792 * gdb.base/endian.c: New test source.
794 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
797 * gdb.base/bt-selected-frame.c: New file.
798 * gdb.base/bt-selected-frame.exp: New file.
799 * lib/gdb.exp (get_current_frame_number): New function.
801 2018-05-24 Maciej W. Rozycki <macro@mips.com>
802 Pedro Alves <palves@redhat.com>
804 * gdb.threads/tls-core.c: Include <stdlib.h>
805 (thread_proc): Call `abort'.
806 * gdb.threads/tls-core.exp: Generate a core with core_find too.
807 (tls_core_test): New procedure, bits factored out from ...
808 (top level): ... here. Test both native cores and gcore cores.
810 2018-05-23 Tom Tromey <tom@tromey.com>
812 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
814 2018-05-23 Tom Tromey <tom@tromey.com>
816 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
818 (test_short_complaints): Likewise.
819 (test_empty_complaints): Likewise.
820 (test_initial_complaints): Update.
822 2018-05-23 Tom Tromey <tom@tromey.com>
824 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
826 2018-05-23 Tom Tromey <tom@tromey.com>
828 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
829 (test_short_complaints): Update.
831 2018-05-22 Pedro Alves <palves@redhat.com>
833 * gdb.base/remote.exp: Only gdb_start after compiling the
834 testcase. Issue "disconnect" before testing "set remote" command
835 defaults. Issue clean_restart before running to main.
837 2018-05-22 Pedro Alves <palves@redhat.com>
839 * gdb.base/remote.exp: Adjust expected output of "show remote
840 memory-write-packet-size". Add tests for "set remote
841 memory-write-packet-size 0" and "set remote
842 memory-write-packet-size fixed/limit".
844 2018-05-22 Pedro Alves <palves@redhat.com>
847 * gdb.base/utf8-identifiers.c: New file.
848 * gdb.base/utf8-identifiers.exp: New file.
850 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
852 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
854 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
856 * gdb.arch/powerpc-vsx-gcore.exp: New file.
858 2018-05-18 Tom Tromey <tom@tromey.com>
860 * gdb.base/ptype-offsets.exp: Update.
862 2018-05-17 Keith Seitz <keiths@redhat.com>
864 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
865 in expected breakpoint stop locations.
866 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
867 move to proper scope to test variable values.
868 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
869 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
871 (main): Call not_inline_func3.
872 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
873 inline_func1, inline_func2, and inline_func3. Test that when each
874 breakpoint is hit, GDB properly reports both the stop location
875 and the backtrace. Repeat tests for temporary breakpoints.
877 2018-05-15 Maciej W. Rozycki <macro@mips.com>
879 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
880 rather then trying to access it in determining whether the PID
881 of `gdbserver' could have been retrieved.
883 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
885 * gdb.arch/amd64-init-x87-values.S: New file.
886 * gdb.arch/amd64-init-x87-values.exp: New file.
888 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
890 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
892 2018-05-04 Tom Tromey <tom@tromey.com>
895 * gdb.python/python.exp: Test multi-line execute.
897 2018-05-04 Tom Tromey <tom@tromey.com>
900 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
902 2018-05-04 Tom Tromey <tom@tromey.com>
905 * gdb.base/define.exp: Test defining a user command inside a user
907 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
909 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
910 Pedro Alves <palves@redhat.com>
912 PR breakpoints/19806 and support for PR external/20207.
913 * gdb.base/watchpoint-unaligned.c: New file.
914 * gdb.base/watchpoint-unaligned.exp: New file.
916 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
918 * gdb.base/maint.exp: Make test names unique, use
919 test_prefix_command_help to test 'help maint info', and remove
920 repeated test of 'help maint'.
922 2018-05-04 Tom Tromey <tom@tromey.com>
925 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
928 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
930 * gdb.base/maint.exp: Process output from 'maint print registers'
933 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
935 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
938 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
940 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
943 2018-05-02 Pedro Alves <palves@redhat.com>
945 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
946 to_log_command renames.
947 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
949 2018-05-02 Tom Tromey <tom@tromey.com>
951 * gdb.python/py-parameter.exp: Set test message.
953 2018-05-02 Tom Tromey <tom@tromey.com>
956 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
957 PARAM_ZUINTEGER_UNLIMITED tests.
959 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
962 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
965 2018-04-30 Tom Tromey <tom@tromey.com>
967 * gdb.python/py-type.exp: Check align attribute.
968 * gdb.python/py-type.c: New "aligncheck" global.
970 2018-04-30 Tom Tromey <tom@tromey.com>
973 * gdb.dwarf2/dw2-align.exp: New file.
974 * gdb.cp/align.exp: New file.
975 * gdb.base/align.exp: New file.
976 * lib/gdb.exp (gdb_int128_helper): New proc.
977 (has_int128_c, has_int128_cxx): New caching procs.
979 2018-04-27 Tom Tromey <tom@tromey.com>
982 * gdb.rust/simple.exp: Add inclusive range tests.
984 2018-04-26 Pedro Alves <palves@redhat.com>
986 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
987 ifunc breakpoint locations correctly of ifunc breakpoints set
988 while the program resolves the ifunc.
990 2018-04-26 Pedro Alves <palves@redhat.com>
992 * gdb.base/gnu-ifunc-final.c: New file.
993 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
994 * gdb.base/gnu-ifunc.exp (executable): Delete.
995 (staticexecutable): Adjust.
996 (lib_opts, exec_opts): Delete.
997 (make_binsuffix, build, set-break): New procedures.
998 (misc_tests): New, with tests factored out from the top level.
999 (top level): Test different combinations of ifunc resolver name,
1000 resolver with and with debug info, and ifunc target with and
1001 without debug info. Wrap static tests with with_target_prefix.
1003 2018-04-26 Pedro Alves <palves@redhat.com>
1005 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
1006 return type" warnings.
1008 2018-04-25 Pedro Alves <palves@redhat.com>
1010 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
1012 * gdb.base/kill-after-signal.exp: Likewise.
1013 * gdb.threads/kill.exp: Likewise.
1015 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1016 Sergio Durigan Junior <sergiodj@redhat.com>
1017 Pedro Alves <palves@redhat.com>
1019 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
1020 regexps to expect for '[Inferior ... detached]' as well.
1021 * gdb.base/attach.exp: Likewise.
1022 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
1023 "gdb_continue_to_end".
1024 (test_catch_syscall_with_wrong_args): Likewise.
1025 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
1026 ']'. Don't set 'verbose' on.
1027 * gdb.base/foll-vfork.exp: Likewise.
1028 * gdb.base/fork-print-inferior-events.c: New file.
1029 * gdb.base/fork-print-inferior-events.exp: New file.
1030 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
1031 '[Inferior ... has been killed]' message.
1032 * gdb.base/kill-after-signal.exp: Likewise.
1033 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
1035 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
1037 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
1038 regexps to expect for '[Inferior ... detached]' as well.
1039 * gdb.threads/process-dies-while-detaching.exp: Likewise.
1041 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
1044 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
1046 2018-04-19 Richard Bunt <richard.bunt@arm.com>
1048 * gdb.threads/multiple-successive-infcall.c: New test.
1049 * gdb.threads/multiple-successive-infcall.exp: New file.
1051 2018-04-17 Tom Tromey <tom@tromey.com>
1053 * gdb.rust/simple.rs (Union): New type.
1054 (main): New local "u".
1055 * gdb.rust/simple.exp (test_one_slice): Add new test case.
1057 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1059 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
1060 number information in output of "whereis" command.
1061 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
1063 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1065 * gdb.ada/info_types.exp: Adjust expected output to the line
1066 numbers now printed by "info var/func/type".
1067 * gdb.base/completion.exp: Likewise.
1068 * gdb.base/included.exp: Likewise.
1069 * gdb.cp/cp-relocate.exp: Likewise.
1070 * gdb.cp/cplusfuncs.exp: Likewise.
1071 * gdb.cp/namespace.exp: Likewise.
1072 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
1074 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
1076 * gdb.btrace/cpu.exp: New.
1078 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
1080 * gdb.base/step-indirect-call-thunk.exp: New.
1081 * gdb.base/step-indirect-call-thunk.c: New.
1082 * gdb.reverse/step-indirect-call-thunk.exp: New.
1083 * gdb.reverse/step-indirect-call-thunk.c: New.
1085 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
1087 * gdb.base/pie-fork.c: New file.
1088 * gdb.base/pie-fork.exp: New file.
1090 2018-04-11 Tom Tromey <tom@tromey.com>
1092 * gdb.rust/simple.exp: Add test for ".." struct initializer.
1094 2018-04-10 Pedro Alves <palves@redhat.com>
1096 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
1097 exits. Instead loop running forever.
1098 (fork_parent): Run forever too.
1100 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
1102 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
1103 mi_continue_to_line.
1104 * gdb.mi/mi-stack.c (callee4): Add comment.
1106 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
1108 * gdb.mi/mi-stack.exp: Fix indentation.
1110 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
1113 * gdb.arch/amd64-osabi.exp: New file.
1115 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
1118 * gdb.base/osabi.exp: New file.
1120 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
1122 * gdb.cp/static-typedef-print.exp: New file.
1123 * gdb.cp/static-typedef-print.cc: New file.
1125 2018-03-27 Joel Brobecker <brobecker@adacore.com>
1127 * gdb.ada/varsize_limit: New testcase.
1129 2018-03-27 Joel Brobecker <brobecker@adacore.com>
1131 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
1133 * gdb.ada/notcplusplus: New testcase.
1135 * gdb.base/c-linkage-name.c: New file.
1136 * gdb.base/c-linkage-name.exp: New testcase.
1138 2018-03-26 Tom Tromey <tom@tromey.com>
1140 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
1141 * gdb.python/py-framefilter.py (name_error): New global.
1142 (ErrorInName.function): Use name_error.
1144 2018-03-26 Tom Tromey <tom@tromey.com>
1147 * gdb.python/py-framefilter.exp: Add "bt hide" test.
1149 2018-03-23 Keith Seitz <keiths@redhat.com>
1152 * gdb.cp/subtypes.exp: New file.
1153 * gdb.cp/subtypes.h: New file.
1154 * gdb.cp/subtypes.cc: New file.
1155 * gdb.cp/subtypes-2.cc: New file.
1157 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
1159 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
1160 (done): Call '_exit' not 'exit' to avoid atexit handlers.
1161 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
1162 -nostartfiles when compiling the test. Confirm that all registers
1163 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
1165 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
1167 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
1168 option, syntax was wrong anyway.
1169 * gdb.arch/arm-disp-step.exp: Likewise.
1170 * gdb.arch/sparc64-regs.exp: Likewise.
1171 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
1172 option, syntax was wrong anyway, switch to use
1173 prepare_for_testing.
1174 * gdb.arch/i386-disp-step.exp: Likewise.
1176 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
1178 * gdb.ada/exec_changed.exp: Replace "target_info exists
1179 use_gdb_stub" by "use_gdb_stub".
1180 * gdb.ada/start.exp: Likewise.
1181 * gdb.base/async-shell.exp: Likewise.
1182 * gdb.base/attach-pie-misread.exp: Likewise.
1183 * gdb.base/attach-wait-input.exp: Likewise.
1184 * gdb.base/break-entry.exp: Likewise.
1185 * gdb.base/break-interp.exp: Likewise.
1186 * gdb.base/dprintf-detach.exp: Likewise.
1187 * gdb.base/nostdlib.exp: Likewise.
1188 * gdb.base/solib-nodir.exp: Likewise.
1189 * gdb.base/statistics.exp: Likewise.
1190 * gdb.base/testenv.exp: Likewise.
1191 * gdb.mi/mi-exec-run.exp: Likewise.
1192 * gdb.mi/mi-start.exp: Likewise.
1193 * gdb.multi/dummy-frame-restore.exp: Likewise.
1194 * gdb.multi/multi-arch-exec.exp: Likewise.
1195 * gdb.multi/multi-arch.exp: Likewise.
1196 * gdb.multi/tids.exp: Likewise.
1197 * gdb.multi/watchpoint-multi.exp: Likewise.
1198 * gdb.python/py-events.exp: Likewise.
1199 * gdb.threads/attach-into-signal.exp: Likewise.
1200 * gdb.threads/attach-stopped.exp: Likewise.
1201 * gdb.threads/threadapply.exp: Likewise.
1202 * lib/selftest-support.exp: Likewise.
1204 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
1206 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
1208 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
1210 * gdb.perf/template-breakpoints.cc: New file.
1211 * gdb.perf/template-breakpoints.exp: New file.
1212 * gdb.perf/template-breakpoints.py: New file.
1214 2018-03-19 Tom Tromey <tom@tromey.com>
1216 * gdb.rust/simple.rs (main): Add local variables field1, field2,
1218 * gdb.rust/simple.exp: Test bare identifier form of struct
1221 2018-03-19 Tom Tromey <tom@tromey.com>
1223 * gdb.gdb/observer.exp: Remove.
1225 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1227 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
1228 "qualified" option when setting breakpoints.
1229 * gdb.trace/backtrace.exp: Likewise.
1230 * gdb.trace/circ.exp: Likewise.
1231 * gdb.trace/collection.exp: Likewise.
1232 * gdb.trace/disconnected-tracing.exp: Likewise.
1233 * gdb.trace/ftrace-lock.exp: Likewise.
1234 * gdb.trace/ftrace.exp: Likewise.
1235 * gdb.trace/infotrace.exp: Likewise.
1236 * gdb.trace/packetlen.exp: Likewise.
1237 * gdb.trace/passc-dyn.exp: Likewise.
1238 * gdb.trace/qtro.exp: Likewise.
1239 * gdb.trace/read-memory.exp: Likewise.
1240 * gdb.trace/report.exp: Likewise.
1241 * gdb.trace/signal.exp: Likewise.
1242 * gdb.trace/status-stop.exp: Likewise.
1243 * gdb.trace/strace.exp: Likewise.
1244 * gdb.trace/tfind.exp: Likewise.
1245 * gdb.trace/trace-break.exp: Likewise.
1246 * gdb.trace/trace-condition.exp: Likewise.
1247 * gdb.trace/trace-mt.exp: Likewise.
1248 * gdb.trace/tstatus.exp: Likewise.
1249 * gdb.trace/tsv.exp: Likewise.
1250 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
1251 * gdb.trace/unavailable.exp: Likewise.
1252 * gdb.trace/while-dyn.exp: Likewise.
1254 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1256 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
1257 that libinproctrace is copied to the target.
1259 2018-03-14 Tom Tromey <tom@tromey.com>
1262 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
1264 * gdb.base/wchar.exp: Likewise.
1266 2018-03-14 Tom Tromey <tom@tromey.com>
1269 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
1272 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
1275 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
1276 "target" to remote_exec.
1278 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
1281 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
1282 ${board}_upload): Remove.
1284 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1286 * gdb.cp/watch-cp.cc: New test.
1287 * gdb.cp/watch-cp.exp: New file.
1289 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1291 * gdb.base/infcall-nested-structs.exp: New file.
1292 * gdb.base/infcall-nested-structs.c: New file.
1293 * gdb.base/float.exp: Add riscv support.
1295 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
1297 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
1298 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
1300 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
1302 * gdb.server/abspath.exp: New file.
1303 * lib/gdb.exp (with_cwd): New procedure.
1305 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
1307 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
1309 (gdb_is_target_remote_prompt): New proc.
1310 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
1311 (gdb_is_target_native): Pass prompt parameter to
1314 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
1316 * gdb.base/load-command.c: New file.
1317 * gdb.base/load-command.exp: New file.
1318 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
1319 (gdb_is_target_1): ...this, and generalize for other targets
1321 (gdb_is_target_remote): Use gdb_is_target_1.
1322 (gdb_is_target_native): use gdb_is_target_1.
1324 2018-02-26 Tom Tromey <tom@tromey.com>
1327 * gdb.python/py-framefilter.exp: Update test.
1329 2018-02-26 Tom Tromey <tom@tromey.com>
1331 * gdb.dwarf2/variant.c: New file.
1332 * gdb.dwarf2/variant.exp: New file.
1334 2018-02-26 Tom Tromey <tom@tromey.com>
1336 * gdb.rust/simple.exp: Accept more possible results in enum test.
1338 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
1340 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
1343 2018-02-23 Maciej W. Rozycki <macro@mips.com>
1345 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
1346 name of a variable: $actual_linejj -> $actual_line.
1348 2018-02-21 John Baldwin <jhb@FreeBSD.org>
1350 * gdb.arch/amd64-i386-address.exp: Fix a typo.
1352 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
1354 * gdb.btrace/buffer-size.exp: Do not force BTS.
1356 2018-02-14 Pedro Alves <palves@redhat.com>
1358 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
1361 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
1363 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
1366 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
1368 * gdb.cp/m-static.exp: Check type of optimized out static
1371 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
1373 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
1374 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
1376 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
1377 Leszek Swirski <leszeks@google.com>
1379 * gdb.python/py-prettyprint.c
1380 (struct to_string_returns_value_inner,
1381 struct to_string_returns_value_wrapper): New.
1382 (main): Add tsrvw variable.
1383 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
1384 ToStringReturnsValueWrapper): New classes.
1385 (register_pretty_printers): Register new pretty-printers.
1386 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
1387 recursive pretty printer.
1388 * gdb.python/py-mi.exp: Likewise.
1390 2018-02-01 Leszek Swirski <leszeks@google.com>
1392 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
1393 functions with the same name as an include file are parsed
1396 2018-02-01 Yao Qi <yao.qi@linaro.org>
1398 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
1401 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
1403 * gdb.arch/powerpc-prologue-frame.s: New file.
1404 * gdb.arch/powerpc-prologue-frame.c: Likewise.
1405 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
1407 2018-01-31 Joel Brobecker <brobecker@adacore.com>
1409 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
1411 2018-01-30 Pedro Alves <palves@redhat.com>
1414 * gdb.base/interrupt-daemon.c: New.
1415 * gdb.base/interrupt-daemon.exp: New.
1416 * gdb.multi/multi-term-settings.c: New.
1417 * gdb.multi/multi-term-settings.exp: New.
1419 2018-01-30 Joel Brobecker <brobecker@adacore.com>
1421 * gdb.base/break.exp: Save the location where the breakpoint
1422 on break.c:47 was actually inserted when debugging the version
1423 compiled at -O2 and use it in the expected output of the "info
1424 break" test performed soon after.
1426 2018-01-22 Pedro Alves <palves@redhat.com>
1427 Sergio Durigan Junior <sergiodj@redhat.com>
1429 * gdb.base/whatis.exp: Add tests for 'set print object on' +
1430 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
1432 2018-01-22 Joel Brobecker <brobecker@adacore.com>
1434 * gdb.base/break-include.c, gdb.base/break-include.inc,
1435 gdb.base/break-include.exp: New files.
1436 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
1437 line number now being the actual line number where the breakpoint
1439 * gdb.mi/mi-break.exp: Likewise.
1440 * gdb.mi/mi-reverse.exp: Likewise.
1441 * gdb.mi/mi-simplerun.exp: Ditto.
1443 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1445 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
1447 * gdb.mi/mi-var-create-rtti.exp: Likewise.
1449 2018-01-21 Don Breazeal <donb@codesourcery.com>
1450 Andrew Burgess <andrew.burgess@embecosm.com>
1452 * gdb.mi/basics.c: Add new global.
1453 * gdb.mi/mi-frame-regs.exp: New file.
1454 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
1457 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1459 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
1460 non-parameter, and on an unknown symbol.
1462 2018-01-19 Tom Tromey <tom@tromey.com>
1464 * gdb.rust/modules.rs (TWENTY_THREE): New global.
1465 * gdb.rust/modules.exp: Add ::-qualified lookup test.
1467 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1469 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
1470 setrlimit and chdir to int.
1472 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1474 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
1476 (my_tend): Likewise.
1477 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
1478 rationale of avoiding FP- and vector instructions.
1480 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
1482 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
1483 "info reg" with "\[ \t\]*".
1484 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
1486 * gdb.arch/s390-multiarch.exp: Ditto.
1487 * gdb.base/pc-fp.exp: Ditto.
1488 * gdb.reverse/i386-precsave.exp: Ditto.
1489 * gdb.reverse/i386-reverse.exp: Ditto.
1490 * gdb.reverse/i387-env-reverse.exp: Ditto.
1491 * gdb.reverse/i387-stack-reverse.exp: Ditto.
1493 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
1495 * lib/gdb.exp (gdb_compile): Re-enable use of
1496 universal_compile_options for languages other than Rust.
1498 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
1500 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
1502 2018-01-17 Mike Gulick <mgulick@mathworks.com>
1505 * gdb.base/solib-vanish.exp: New.
1506 * gdb.base/solib-vanish-main.c: New.
1507 * gdb.base/solib-vanish-lib1.c: New.
1508 * gdb.base/solib-vanish-lib2.c: New.
1510 2018-01-17 Yao Qi <yao.qi@linaro.org>
1512 * gdb.compile/compile.exp: Match the address printed for
1513 frame in the output of command "bt".
1515 2018-01-15 Tom Tromey <tom@tromey.com>
1517 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
1520 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1522 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
1524 (prepare): Return 0 on error, 1 on success.
1526 2018-01-12 Pedro Alves <palves@redhat.com>
1528 * gdb.base/continue-after-aborted-step-over.c: New.
1529 * gdb.base/continue-after-aborted-step-over.exp: New.
1531 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
1533 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
1534 options when not creating an executable.
1536 2018-01-11 Pedro Alves <palves@redhat.com>
1539 * gdb.server/stop-reply-no-thread.c: New file.
1540 * gdb.server/stop-reply-no-thread.exp: New file.
1542 2018-01-10 Pedro Alves <palves@redhat.com>
1545 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
1546 functions too. Test setting breakpoints and printing C functions
1547 with no debug info too.
1548 * gdb.ada/bp_c_mixed_case/qux.c: New file.
1550 2018-01-10 Pedro Alves <palves@redhat.com>
1553 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
1556 2018-01-10 Pedro Alves <palves@redhat.com>
1559 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
1561 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
1563 * gdb.server/unittest.exp: Match the output in non-development
1566 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
1568 * gdb.gdb/unittest.exp: Match output in non-development mode.
1570 2018-01-08 Joel Brobecker <brobecker@adacore.com>
1572 * gdb.ada/access_tagged_param.exp: Relax expected output
1573 for value of "ObjL" in "continue" to pck.inspect breakpoint
1576 2018-01-08 Joel Brobecker <brobecker@adacore.com>
1578 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
1579 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
1581 2018-01-05 Pedro Alves <palves@redhat.com>
1584 * gdb.base/libsegfault.exp: New.
1586 2018-01-05 Joel Brobecker <brobecker@adacore.com>
1589 * gdb.ada/access_tagged_param.exp: New file.
1590 * gdb.ada/access_tagged_param/foo.adb: New file.
1592 2018-01-05 Pedro Alves <palves@redhat.com>
1595 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
1596 exercise lower case too, and to exercise both full matching and
1599 2018-01-05 Joel Brobecker <brobecker@adacore.com>
1601 * gdb.ada/rename_subscript_param: New testcase.
1603 2018-01-05 Jerome Guitton <guitton@adacore.com>
1605 * gdb.ada/arr_acc_idx_w_gap: New testcase.
1607 2018-01-05 Joel Brobecker <brobecker@adacore.com>
1609 * gdb.ada/convvar_comp: New testcase.
1611 2018-01-05 Xavier Roirand <roirand@adacore.com>
1613 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
1614 (My_Table): New global variable.
1615 * testsuite/gdb.ada/array_char_idx.exp: Add test.
1617 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1620 * gdb.ada/maint_with_ada: New testcase.
1622 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1625 * gdb.ada/bp_c_mixed_case: New testcase.
1627 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1630 * gdb.ada/complete.exp: Add "complete break ada" test.
1632 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1635 * gdb.ada/info_addr_mixed_case: New testcase.
1637 2018-01-03 Xavier Roirand <roirand@adacore.com>
1639 * gdb.ada/excep_handle.exp: New testcase.
1640 * gdb.ada/excep_handle/foo.adb: New file.
1641 * gdb.ada/excep_handle/pck.ads: New file.
1643 2018-01-03 Joel Brobecker <brobecker@adacore.com>
1645 * gdb.base/step-line.c: Add extra empty line in copyright header.
1646 * gdb.base/step-line.inp: Likewise.
1648 2018-01-02 Joel Brobecker <brobecker@adacore.com>
1650 * gdb.ada/dyn_stride.exp: Add slice test.
1652 2018-01-02 Joel Brobecker <brobecker@adacore.com>
1654 * gdb.ada/dyn_stride: New testcase.
1656 2017-12-27 Stafford Horne <shorne@gmail.com>
1658 * gdb.xml/extra-regs.xml: Add example foo reggroup.
1659 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
1661 2017-12-27 Stafford Horne <shorne@gmail.com>
1663 * gdb.base/reggroups.c: New file.
1664 * gdb.base/reggroups.exp: New file.
1666 2017-12-18 Joel Brobecker <brobecker@adacore.com>
1668 * gdb.dwarf2/ada-valprint-error.c: New file.
1669 * gdb.dwarf2/ada-valprint-error.exp: New file.
1671 2017-12-18 Joel Brobecker <brobecker@adacore.com>
1673 * gdb.ada/assign_arr: New testcase.
1675 2017-12-18 Xavier Roirand <roirand@adacore.com>
1677 * gdb.ada/funcall_ptr: New testcase.
1679 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1682 * gdb.base/ptype-offsets.cc: New file.
1683 * gdb.base/ptype-offsets.exp: New file.
1685 2017-12-15 Yao Qi <yao.qi@linaro.org>
1687 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
1690 2017-12-15 Xavier Roirand <roirand@adacore.com>
1692 * gdb.ada/same_component_name: New testcase.
1694 2017-12-14 Joel Brobecker <brobecker@adacore.com>
1696 * gdb.ada/str_binop_equal: New testcase.
1698 2017-12-14 Joel Brobecker <brobecker@adacore.com>
1700 * gdb.ada/task_switch_in_core: New testcase.
1702 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
1704 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
1705 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
1706 call test_bkpt_qualified.
1707 (test_bkpt_qualified): New proc.
1709 2017-12-13 Pedro Alves <palves@redhat.com>
1711 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1712 Tighten regexp by matching with an anchor.
1714 2017-12-13 Pedro Alves <palves@redhat.com>
1716 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
1717 ("expression with namespace"): New set of tests.
1718 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
1719 (Nested::Test_NS::qux): New.
1720 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
1721 defaults to 'start_quote_char' and 'end_quote_char' parameters.
1723 2017-12-13 Joel Brobecker <brobecker@adacore.com>
1725 * gdb.base/server-del-break.c: New file.
1726 * gdb.base/server-del-break.exp: New file.
1728 2017-12-12 Stafford Horne <shorne@gmail.com>
1730 * gdb.xml/tdesc-regs.exp: Add or1k support.
1732 2017-12-12 Stafford Horne <shorne@gmail.com>
1734 * gdb.base/bp-permanent.c: Define nop of or1k.
1736 2017-12-11 Joel Brobecker <brobecker@adacore.com>
1738 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
1739 output with components being reordered.
1741 2017-12-11 Joel Brobecker <brobecker@adacore.com>
1743 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
1744 output with components being reordered.
1746 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1747 Pedro Alves <palves@redhat.com>
1749 * gdb.base/maint.exp (check for .gdb_index): Check also for
1751 * gdb.dlang/watch-loc.c (.debug_aranges): New.
1752 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
1753 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
1754 (.gdb_index used after symbol reloading): Support also .debug_names.
1755 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
1757 2017-12-08 Yao Qi <yao.qi@linaro.org>
1759 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
1760 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
1762 2017-12-08 Yao Qi <yao.qi@linaro.org>
1764 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
1765 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
1767 2017-12-08 Yao Qi <yao.qi@linaro.org>
1769 * gdb.arch/aarch64-tagged-pointer.c: New file.
1770 * gdb.arch/aarch64-tagged-pointer.exp: New file.
1772 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
1774 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
1777 2017-12-07 Keith Seitz <keiths@redhat.com>
1779 PR breakpoints/22569
1780 * gdb.linespec/ls-errs.exp: Change expected result of "break
1781 -source this file has spaces.c -line 3".
1782 Check that an explicit source file followed by whitespace is
1783 identified as an invalid explicit location.
1785 2017-12-07 Keith Seitz <keiths@redhat.com>
1787 * gdb.cp/nested-types.cc: New file.
1788 * gdb.cp/nested-types.exp: New file.
1789 * lib/cp-support.exp: Load data-structures.exp library.
1790 (debug_cp_test_ptype_class): New global.
1791 (cp_ptype_class_verbose, next_line): New procedures.
1792 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
1793 Add and document new return value.
1794 Switch the list of lines to a queue.
1795 Add support for new `type' key for nested type definitions.
1796 Add debugging/troubleshooting messages.
1797 * lib/data-structures.exp: New file.
1799 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
1801 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
1802 with proc_with_prefix, don't use with_test_prefix.
1804 2017-12-07 Tom Tromey <tom@tromey.com>
1806 * gdb.base/break.exp: Add test for empty "commands".
1808 2017-12-07 Yao Qi <yao.qi@linaro.org>
1810 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
1811 malloc and catch syscall.
1813 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
1815 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
1816 tests for explicit locations.
1818 2017-12-06 Pedro Alves <palves@redhat.com>
1820 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
1821 force-disabling XML descriptions.
1823 2017-12-04 Pedro Alves <palves@redhat.com>
1826 * gdb.arch/amd64-disp-step-avx.S: New file.
1827 * gdb.arch/amd64-disp-step-avx.exp: New file.
1829 2017-12-03 Pedro Alves <palves@redhat.com>
1831 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
1833 (parent_function): Print distinct messages when waitpid fails, or
1834 the child exits with a signal, or the child exits for an unhandled
1836 * gdb.threads/process-dies-while-detaching.exp
1837 (detach_and_expect_exit): New 'inf_output_re' parameter and use
1838 it. Wait for both inferior output and GDB's prompt. Use an
1839 indirect spawn id list.
1840 (do_detach): New parameter 'child_exit'. Use it to compute
1841 expected inferior output.
1842 (test_detach, test_detach_watch, test_detach_killed_outside):
1843 Adjust to pass down the expected child exit kind.
1845 2017-12-01 Joel Brobecker <brobecker@adacore.com>
1846 Sergio Durigan Junior <sergiodj@redhat.com>
1847 Pedro Alves <palves@redhat.com>
1849 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
1851 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
1853 * gdb.base/relocate.exp: Add tests to guarantee that arguments
1854 to 'symbol-file' and 'add-symbol-file' can be
1855 position-independent.
1857 2017-12-01 Yao Qi <yao.qi@linaro.org>
1859 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
1860 the URL in copyright header.
1861 * gdb.arch/aarch64-fp.exp: Likewise.
1862 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
1863 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
1864 * gdb.base/expand-psymtabs.exp: Likewise.
1865 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
1866 * gdb.fortran/common-block.exp: Likewise.
1867 * gdb.fortran/common-block.f90: Likewise.
1868 * gdb.fortran/logical.exp: Likewise.
1869 * gdb.fortran/vla-datatypes.f90: Likewise.
1870 * gdb.fortran/vla-sub.f90: Likewise.
1872 2017-11-30 Joel Brobecker <brobecker@adacore.com>
1874 * gdb.ada/repeat_dyn: New testcase.
1876 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1878 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
1879 Update for changed thread numbering.
1880 * gdb.cell/bt.exp: Update for changed GDB output.
1882 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
1884 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
1885 setting isremote by hand.
1886 * boards/dwarf4-gdb-index.exp: Likewise.
1887 * boards/fission.exp: Likewise.
1888 * boards/stabs.exp: Likewise.
1890 2017-11-30 Pedro Alves <palves@redhat.com>
1892 * gdb.linespec/cpls-ops.exp
1893 (check_explicit_skips_function_argument): Extract the underlying
1894 type of size_t instead of hardcoding it.
1896 2017-11-29 Pedro Alves <palves@redhat.com>
1899 * gdb.linespec/cpls-abi-tag.cc: New file.
1900 * gdb.linespec/cpls-abi-tag.exp: New file.
1902 2017-11-29 Pedro Alves <palves@redhat.com>
1904 * gdb.base/langs.exp: Use -qualified.
1905 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
1907 * gdb.cp/namespace.exp: Use -qualified.
1908 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
1909 (overload-3, template-overload, template-ret-type, const-overload)
1910 (const-overload-quoted, anon-ns, ambiguous-prefix): New
1912 (test_driver): Call them.
1913 * gdb.cp/save-bp-qualified.cc: New.
1914 * gdb.cp/save-bp-qualified.exp: New.
1915 * gdb.linespec/explicit.exp: Test -qualified.
1916 * lib/completion-support.exp (completion::explicit_opts_list): Add
1918 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
1920 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
1922 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
1924 2017-11-29 Tom Tromey <tom@tromey.com>
1926 * gdb.base/relocate.exp: Update invalid argument test.
1927 Add new tests for invalid arguments.
1929 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
1931 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
1933 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
1935 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
1937 * gdb.cp/breakpoint.cc (bar): Set return type to void.
1938 * gdb.cp/psymtab-parameter.cc (func): Likewise.
1939 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
1941 * gdb.cp/shadow.cc (B.func): Return 0.
1943 2017-11-27 Joel Brobecker <brobecker@adacore.com>
1945 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
1946 expected output in gdb_expect call to allow the exception
1947 message to be present as well. Fix syntax confusion to avoid
1948 TCL thinking that exception_name is an array.
1950 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
1952 * gdb.arch/spu-info.c: Include <unistd.h>.
1953 (do_signal_test): Fix broken calls to write.
1954 * gdb.arch/spu-info.exp: Use prepare_for_testing.
1955 Fix checks for empty mailboxes. Update signal tests for corrected
1956 do_signal_test routine. Allow nonzero event status.
1957 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
1958 * gdb.cell/arch.exp: Use standard_output_file.
1959 * gdb.cell/break.exp: Likewise.
1960 * gdb.cell/bt.exp: Likewise.
1961 * gdb.cell/core.exp: Likewise.
1962 * gdb.cell/dwarfaddr.exp: Likewise.
1963 * gdb.cell/ea-cache.exp: Likewise.
1964 * gdb.cell/ea-standalone.exp: Likewise.
1965 * gdb.cell/f-regs.exp: Likewise.
1966 * gdb.cell/fork.exp: Likewise.
1967 * gdb.cell/gcore.exp: Likewise.
1968 * gdb.cell/mem-access.exp: Likewise.
1969 * gdb.cell/ptype.exp: Likewise.
1970 * gdb.cell/registers.exp: Likewise.
1971 * gdb.cell/sizeof.exp: Likewise.
1972 * gdb.cell/solib-symbol.exp: Likewise.
1973 * gdb.cell/solib.exp: Likewise.
1975 2017-11-25 Pedro Alves <palves@redhat.com>
1977 * gdb.base/complete-empty.exp: New file.
1978 * gdb.base/completion.exp: Adjust.
1980 2017-11-25 Pedro Alves <palves@redhat.com>
1982 * gdb.linespec/cpls-ops.cc: New file.
1983 * gdb.linespec/cpls-ops.exp: New file.
1984 * lib/completion-support.exp (test_complete_prefix_range_re): New,
1985 factored out from ...
1986 (test_complete_prefix_range): ... this.
1988 2017-11-24 Pedro Alves <palves@redhat.com>
1990 * gdb.linespec/cpcompletion.exp: New file.
1991 * gdb.linespec/cpls-hyphen.cc: New file.
1992 * gdb.linespec/cpls.cc: New file.
1993 * gdb.linespec/cpls2.cc: New file.
1994 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
1995 test to use test_gdb_complete_unique. Add label completion,
1996 keyword completion and explicit location completion tests.
1997 * lib/completion-support.exp: New file.
1999 2017-11-24 Joel Brobecker <brobecker@adacore.com>
2001 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
2002 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
2003 when hitting an exception catchpoint.
2005 2017-11-22 Yao Qi <yao.qi@linaro.org>
2007 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
2009 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
2011 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
2012 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
2013 * gdb.dwarf2/info-locals-optimized-out.c: New file.
2015 2017-11-22 Yao Qi <yao.qi@linaro.org>
2017 * gdb.base/info-os.exp: Pass pthreads.
2018 * gdb.multi/multi-attach.exp: Likewise.
2020 2017-11-22 Yao Qi <yao.qi@linaro.org>
2022 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
2025 2017-11-22 Yao Qi <yao.qi@linaro.org>
2027 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
2028 * gdb.base/break-interp.exp: Likewise.
2029 * gdb.base/jit-attach-pie.exp: Likewise.
2031 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
2033 * gdb.base/float128.c (large128): New variable.
2034 * gdb.base/float128.exp: Add test to print largest __float128 value.
2036 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
2038 * gdb.arch/vsx-regs.exp: Update register content checks.
2040 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
2042 * gdb.arch/ppc-longdouble.exp: New file.
2043 * gdb.arch/ppc-longdouble.c: Likewise.
2045 2017-11-21 Pedro Alves <palves@redhat.com>
2047 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
2049 2017-11-20 Pedro Alves <palves@redhat.com>
2051 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
2052 (long_double_typedef): New typedefs.
2053 Use DEF on double and long double.
2054 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
2056 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
2057 and 'long_double_ptr_same_size' locals. Use them to decide
2058 whether cast from array/function to float is valid/invalid.
2060 2017-11-17 Tom Tromey <tom@tromey.com>
2062 * gdb.rust/traits.rs: New file.
2063 * gdb.rust/traits.exp: New file.
2065 2017-11-17 Joel Brobecker <brobecker@adacore.com>
2067 * gdb.ada/minsyms: New testcase.
2069 2017-11-16 Pedro Alves <palves@redhat.com>
2071 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
2072 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
2074 2017-11-16 Pedro Alves <palves@redhat.com>
2076 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
2077 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
2079 2017-11-16 Pedro Alves <palves@redhat.com>
2081 * gdb.server/reconnect-ctrl-c.c: New file.
2082 * gdb.server/reconnect-ctrl-c.exp: New file.
2084 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
2086 * gdb.python/py-rbreak.exp: New file.
2087 * gdb.python/py-rbreak.c: New file.
2088 * gdb.python/py-rbreak-func2.c: New file.
2090 2017-11-16 Pedro Alves <palves@redhat.com>
2092 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
2094 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
2097 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
2099 * gdb.tui/completionn.exp (test_tab_completion): Add space in
2102 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
2104 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
2107 2017-11-09 Pedro Alves <palves@redhat.com>
2109 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
2110 factored out from ...
2111 (top level): ... here, and adjusted to avoid expecting beyond the
2112 prompt in a single gdb_test_multiple.
2114 2017-11-09 Pedro Alves <palves@redhat.com>
2116 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
2118 * gdb.server/ext-attach.exp ("kill" test): Likewise.
2119 * gdb.server/ext-restart.exp ("kill" test): Likewise.
2120 * gdb.server/ext-run.exp ("kill" test): Likewise.
2121 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
2123 2017-11-09 Pedro Alves <palves@redhat.com>
2125 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
2126 match till end of line.
2128 2017-11-09 Pedro Alves <palves@redhat.com>
2130 * gdb.base/memattr.exp: Tighten regexes to match the end line.
2132 2017-11-09 Pedro Alves <palves@redhat.com>
2134 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
2135 New procedures, factored out from ...
2136 (top level): ... here, and adjusted to avoid expecting beyond the
2139 2017-11-09 Pedro Alves <palves@redhat.com>
2141 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
2142 output. Fix '?' match.
2144 2017-11-08 Joel Brobecker <brobecker@adacore.com>
2146 * gdb.ada/scoped_watch: New testcase.
2147 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
2148 which is actually correct.
2149 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
2150 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
2152 2017-11-08 Pedro Alves <palves@redhat.com>
2154 * gdb.gdb/complaints.exp (test_initial_complaints)
2155 (test_serial_complaints, test_short_complaints): Call
2156 complaint_internal instead of complaint.
2158 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
2160 * gdb.threads/tls-core.c: New file.
2161 * gdb.threads/tls-core.exp: Likewise.
2163 2017-11-08 Pedro Alves <palves@redhat.com>
2165 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
2166 (p Exported_Capitalized): New test.
2167 (p exported_capitalized): New test.
2169 2017-11-07 Pedro Alves <palves@redhat.com>
2171 * gdb.cp/ena-dis-br-range.exp: Add more tests.
2173 2017-11-07 Pedro Alves <palves@redhat.com>
2175 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
2176 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
2177 (disable_invalid, disable_inverted, disable_negative): New
2179 ("bad numbers"): New set of tests.
2181 2017-11-07 Pedro Alves <palves@redhat.com>
2183 * gdb.cp/ena-dis-br-range.exp: Add tests.
2185 2017-11-07 Pedro Alves <palves@redhat.com>
2187 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
2189 2017-11-07 Xavier Roirand <roirand@adacore.com>
2190 Pedro Alves <palves@redhat.com>
2192 * gdb.base/ena-dis-br.exp: Add reference to
2193 gdb.cp/ena-dis-br-range.exp.
2194 * gdb.cp/ena-dis-br-range.exp: New file.
2195 * gdb.cp/ena-dis-br-range.cc: New file.
2197 2017-11-06 Pedro Alves <palves@redhat.com>
2199 * gdb.base/attach-non-pgrp-leader.c: New.
2200 * gdb.base/attach-non-pgrp-leader.exp: New.
2202 2017-11-06 Pedro Alves <palves@redhat.com>
2204 * configure.ac: No longer check for termio.h and sgtty.h.
2205 * configure: Regenerate.
2206 * remote-utils.c: Include termios.h instead of gdb_termios.h.
2207 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
2208 Remove termio and sgtty code.
2210 2017-11-03 Yao Qi <yao.qi@linaro.org>
2212 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
2215 2017-11-03 Yao Qi <yao.qi@linaro.org>
2217 * gdb.python/py-thrhandle.exp: Skip it if python is not
2220 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
2222 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
2223 as a breakpoint command.
2225 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
2228 * gdb.python/py-infthread.exp: Test calling
2229 InferiorThread.inferior () multiple times in a row.
2231 2017-10-27 Keith Seitz <keiths@redhat.com>
2233 * gdb.opt/inline-break.exp (break_info_1): New procedure.
2234 Test "info break" for every inlined function breakpoint.
2236 2017-10-27 Yao Qi <yao.qi@linaro.org>
2238 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
2240 2017-10-26 Patrick Frants <osscontribute@gmail.com>
2242 * gdb.cp/classes.exp (test_static_members): Test printing
2244 * gdb.cp/classes.c (struct Inner, struct Outer): New.
2245 (Inner::instance, Outer::instance): New.
2247 2017-10-24 Pedro Alves <palves@redhat.com>
2249 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
2250 extra console" test in two stages.
2252 2017-10-24 Pedro Alves <palves@redhat.com>
2254 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
2256 2017-10-24 Pedro Alves <palves@redhat.com>
2258 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
2261 2017-10-24 Pedro Alves <palves@redhat.com>
2263 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
2264 $attempt" and "stoppedtry $stoppedtry" test prefixes.
2266 2017-10-24 Pedro Alves <palves@redhat.com>
2268 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
2269 parameter and handle it. Don't output read value in test name.
2271 2017-10-24 Pedro Alves <palves@redhat.com>
2273 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
2276 2017-10-24 Pedro Alves <palves@redhat.com>
2278 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
2279 include the unstable output directory name in the test's name.
2280 (initial_setup_simple) <'set args'>: Use custom test name.
2282 2017-10-24 Pedro Alves <palves@redhat.com>
2284 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
2285 with explicit test name.
2287 2017-10-20 Pedro Alves <palves@redhat.com>
2289 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
2290 'wait -i'. Use gdb_assert and remote_close.
2292 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
2294 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
2295 number from variable rather than hard-coded.
2297 2017-10-19 Pedro Alves <palves@redhat.com>
2299 * gdb.base/long-inferior-output.c: New file.
2300 * gdb.base/long-inferior-output.exp: New file.
2302 2017-11-18 Keith Seitz <keiths@redhat.com>
2304 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
2307 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
2308 Add additional user-defined conversion operator tests.
2310 2017-10-17 Pedro Alves <palves@redhat.com>
2312 * boards/native-stdio-gdbserver.exp: Load "local-board".
2314 2017-10-17 Pedro Alves <palves@redhat.com>
2316 * gdb.base/quit-live.c: New file.
2317 * gdb.base/quit-live.exp: New file.
2319 2017-10-16 Keith Seitz <keiths@redhat.com>
2321 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
2322 (class_with_protected_typedef, class_with_private_typedef)
2323 (struct_with_public_typedef, struct_with_protected_typedef)
2324 (struct_with_private_typedef): New classes/structs.
2325 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
2326 typedefs and access specifiers.
2328 2017-10-16 Pedro Alves <palves@redhat.com>
2329 Simon Marchi <simon.marchi@polymtl.ca>
2331 * README (Local vs Remote vs Native): New section.
2332 * boards/local-board.exp: New file, with bits factored out from
2334 * boards/native-extended-gdbserver.exp: ... here. Load
2336 * boards/native-gdbserver.exp: Load "local-board".
2337 (${board}_spawn, ${board}_exec): Delete.
2338 * boards/native-stdio-gdbserver.exp: Most contents factored out to
2340 * boards/stdio-gdbserver-base.exp: ... this new file.
2341 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
2342 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
2344 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
2345 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
2346 stdio_gdbserver_command.
2347 (${board}_get_remote_address, ${board}_get_comm_port)
2348 (${board}_download, ${board}_upload): Delete.
2349 (get_target_remote_pipe_cmd): New.
2351 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
2353 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
2354 test_bkpt_deletion, test_bkpt_cond_and_cmds,
2355 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
2356 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
2357 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
2358 remove with_test_prefix.
2360 2017-10-13 Pedro Alves <palves@redhat.com>
2362 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
2363 * gdb.base/annota1.exp: Use it instead of is_remote.
2364 * gdb.base/annota3.exp: Use it instead of is_remote.
2365 * gdb.cp/annota2.exp: Use it instead of is_remote.
2366 * gdb.cp/annota3.exp: Use it instead of is_remote.
2367 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
2369 2017-10-13 Pedro Alves <palves@redhat.com>
2371 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
2372 (test_num_test_vars, run_and_count_vars, find_env)
2373 (test_set_unset_env, test_inherit_env_var): New procedures.
2374 (top level): Use them.
2376 2017-10-13 Pedro Alves <palves@redhat.com>
2378 * lib/selftest-support.exp (selftest_setup): Extend comments, and
2379 also skip on stub-like targets.
2381 2017-10-13 Pedro Alves <palves@redhat.com>
2384 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
2385 (top level): Move some tests to ...
2386 (test_not_found): ... this new procedure.
2387 (top level): Call it.
2389 2017-10-13 Pedro Alves <palves@redhat.com>
2391 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
2392 expect different "info terminal" output if testing with a
2395 2017-10-13 Pedro Alves <palves@redhat.com>
2396 Simon Marchi <simon.marchi@polymtl.ca>
2399 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
2401 2017-10-13 Pedro Alves <palves@redhat.com>
2403 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
2406 2017-10-13 Pedro Alves <palves@redhat.com>
2408 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
2411 2017-10-13 Pedro Alves <palves@redhat.com>
2413 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
2416 2017-10-13 Pedro Alves <palves@redhat.com>
2418 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
2420 (corefile_test_attach): Likewise. Check can_spawn_for_attach
2421 instead of is_remote.
2423 2017-10-13 Pedro Alves <palves@redhat.com>
2425 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
2426 (top level): Add comment.
2428 2017-10-13 Pedro Alves <palves@redhat.com>
2430 * gdb.base/remote.exp (top level): Fix comment typo and add
2433 2017-10-13 Pedro Alves <palves@redhat.com>
2434 Simon Marchi <simon.marchi@polymtl.ca>
2436 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
2437 calls and add comments. Skip test if use_gdb_stub is set.
2438 (top level): Use "set cwd" command instead of "cd" command.
2440 2017-10-13 Pedro Alves <palves@redhat.com>
2442 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
2443 is_remote target check.
2445 2017-10-13 Pedro Alves <palves@redhat.com>
2447 * gdb.base/scope.exp: Use build_executable + clean_restart +
2448 gdb_file_cmd instead of prepare_for_testing and no longer skip
2449 "before run" tests on is_remote target boards. Update comments.
2450 * boards/native-extended-gdbserver.exp
2451 (extended_gdbserver_load_last_file): New, factored out from ...
2452 (gdb_load): ... this. Move further below and add comment.
2453 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
2455 2017-10-12 Pedro Alves <palves@redhat.com>
2457 * gdb.base/attach.exp: Remove references to gdb64.
2458 * gdb.base/dbx.exp: Remove references to gdb64.
2460 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
2461 Pedro Alves <palves@redhat.com>
2463 * gdb.base/label.exp: Remove is_remote target check.
2465 2017-10-12 Pedro Alves <palves@redhat.com>
2467 * gdb.base/auvx.exp (coredir): Update comment.
2468 (top level) <core_works>: Use "set cwd" command instead of "cd"
2471 2017-10-12 Pedro Alves <palves@redhat.com>
2472 Simon Marchi <simon.marchi@polymtl.ca>
2474 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
2477 2017-10-12 Pedro Alves <palves@redhat.com>
2478 Simon Marchi <simon.marchi@polymtl.ca>
2480 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
2481 Instead skip if there's any gdb_protocol set.
2483 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
2484 Pedro Alves <palves@redhat.com>
2486 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
2488 2017-10-12 Pedro Alves <palves@redhat.com>
2489 Simon Marchi <simon.marchi@polymtl.ca>
2491 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
2492 instead of on dejagnu remote boards.
2494 2017-10-12 Pedro Alves <palves@redhat.com>
2495 Simon Marchi <simon.marchi@polymtl.ca>
2497 * gdb.base/inferior-died.exp: Remove is_remote and isnative
2498 checks. Use build_executable + clean_restart instead of
2499 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
2500 of enabling non-stop after starting gdb.
2502 2017-10-12 Pedro Alves <palves@redhat.com>
2504 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
2505 * gdb.threads/non-ldr-exc-2.exp: Ditto.
2506 * gdb.threads/non-ldr-exc-3.exp: Ditto.
2507 * gdb.threads/non-ldr-exc-4.exp: Ditto.
2509 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
2511 * gdb.arch/arc-tdesc-cpu.exp: New file.
2512 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
2514 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
2516 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
2518 2017-10-10 Pedro Alves <palves@redhat.com>
2520 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
2523 2017-10-10 Pedro Alves <palves@redhat.com>
2525 * lib/selftest-support.exp (selftest_setup): Update for
2526 captured_command_loop's prototype change.
2528 2017-10-09 Pedro Alves <palves@redhat.com>
2530 Test both arch1=>arch2 and arch2=>arch1.
2532 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
2533 (srcfile2, binfile2, march1, march2): Remove globals. Largely
2535 (append_arch1_options, append_arch2_options, append_arch_options)
2536 (build_executables): New procedures.
2537 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
2539 (top level): Add new 'first_arch' testing axis.
2541 2017-10-09 Pedro Alves <palves@redhat.com>
2543 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
2545 (thread_start, all_started): New functions.
2546 (main): Spawn new thread and wait until it is scheduled.
2547 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
2549 (do_test): Add 'selected_thread' parameter. Run to all_started
2550 instead of main. Explicitly set the breakpoint at main. Switch
2551 to the SELECTED_THREAD thread.
2552 (top level): Test handling the exec event with either the main
2553 thread or the second thread selected.
2555 2017-10-09 Pedro Alves <palves@redhat.com>
2557 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
2558 logic. Move STOP marker after the value checks.
2559 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
2562 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
2564 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
2566 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
2568 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
2569 integer-to-dfp conversion.
2570 * gdb.base/dfp-test.exp: Likewise.
2572 2017-10-04 Pedro Alves <palves@redhat.com>
2574 * gdb.multi/hangout.c: Include <unistd.h>.
2575 (hangout_loop): New function.
2576 (main): Call alarm. Call hangout_loop in a loop.
2577 * gdb.multi/hello.c: Include <unistd.h>.
2578 (hello_loop): New function.
2579 (main): Call alarm. Call hangout_loop in a loop.
2580 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
2581 inferior with the other selected.
2583 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
2585 * gdb.mi/list-thread-groups-available.exp: New file.
2586 * gdb.mi/list-thread-groups-available.c: New file.
2588 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
2590 * gdb.base/set-cwd.exp: Make it available on
2591 native-extended-gdbserver.
2593 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
2595 * gdb.base/set-cwd.c: New file.
2596 * gdb.base/set-cwd.exp: Likewise.
2598 2017-10-02 Tom Tromey <tom@tromey.com>
2601 * gdb.rust/simple.rs (main): New variable "fslice".
2602 * gdb.rust/simple.exp: Add slice tests. Update string tests.
2604 2017-10-02 Tom Tromey <tom@tromey.com>
2606 * gdb.rust/simple.exp: Test ptype of a slice.
2608 2017-10-02 Tom Tromey <tom@tromey.com>
2610 * gdb.rust/simple.exp: Test index of slice.
2612 2017-09-27 Tom Tromey <tom@tromey.com>
2614 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
2616 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
2617 Pedro Alves <palves@redhat.com>
2619 * gdb.base/compare-sections.exp (get value of read-only section): Read
2621 (corrupt read-only section): Likewise and don't set written if patching
2624 2017-09-21 Kevin Buettner <kevinb@redhat.com>
2626 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
2629 2017-09-20 Pedro Alves <palves@redhat.com>
2631 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
2632 symbol names in gdb's output.
2633 * gdb.cp/overload.exp ("list all overloads"): Likewise.
2635 2017-09-20 Pedro Alves <palves@redhat.com>
2637 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
2639 (test_list_ambiguous_symbol): ... this and add a symbol name
2641 (test_list_ambiguous_function): Reimplement on top of
2642 test_list_ambiguous_symbol and also test listing ambiguous
2644 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
2645 (ambiguous_fun): ... this.
2646 (ambiguous_var): New.
2647 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
2648 (ambiguous_fun): ... this.
2649 (ambiguous_var): New.
2651 2017-09-19 John Baldwin <jhb@FreeBSD.org>
2653 * gdb.base/starti.c: New file.
2654 * gdb.base/starti.exp: New file.
2655 * lib/gdb.exp (gdb_starti_cmd): New procedure.
2657 2017-09-14 Pedro Alves <palves@redhat.com>
2659 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
2660 (top level): Use it instead of runto.
2662 2017-09-11 Tom Tromey <tom@tromey.com>
2664 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
2666 2017-09-11 Tom Tromey <tom@tromey.com>
2668 * gdb.python/py-infthread.exp: Add tests for new_thread event.
2669 * gdb.python/py-inferior.exp: Add tests for new inferior events.
2671 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
2673 * gdb.fortran/printing-types.exp: New file.
2674 * gdb.fortran/printing-types.exp: New file.
2676 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
2678 * gdb.fortran/vla-ptype.exp: Fix typos.
2679 * gdb.fortran/vla-value.exp: Same.
2681 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
2683 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
2684 * gdb.mi/mi-var-child-f.exp: Likewise.
2685 * gdb.mi/mi-vla-fortran.exp: Likewise.
2687 2017-09-08 Frank Penczek <frank.penczek@intel.com>
2688 Christoph Weinmann <christoph.t.weinmann@intel.com>
2689 Bernhard Heckel <bernhard.heckel@intel.com>
2691 * gdb.fortran/ptr-indentation.f90: New file.
2692 * gdb.fortran/ptr-indentation.exp: New file.
2694 2017-09-05 Tom Tromey <tom@tromey.com>
2697 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
2699 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
2701 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
2703 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2705 * gdb.threads/tls-nodebug-pie.c: New file.
2706 * gdb.threads/tls-nodebug-pie.exp: New file.
2708 2017-09-05 Tom Tromey <tom@tromey.com>
2710 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
2713 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
2715 * gdb.multi/multi-arch-exec.exp: Test with different
2716 "follow-exec-mode" settings.
2717 (do_test): New procedure.
2719 2017-09-04 Pedro Alves <palves@redhat.com>
2721 * gdb.base/func-static.c (S::method const, S::method volatile)
2722 (S::method volatile const): New methods.
2723 (c_s, v_s, cv_s): New instances.
2724 (main): Call method() on them.
2725 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
2726 (cannot_resolve): New procedure.
2727 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
2728 print-quote-unquoted columns.
2729 (do_test): Test printing each scope too.
2731 2017-09-04 Pedro Alves <palves@redhat.com>
2733 * gdb.base/local-static.exp: Also test with
2734 class::method::variable wholly quoted.
2735 * gdb.cp/m-static.exp (class::method::variable): Remove test.
2737 2017-09-04 Pedro Alves <palves@redhat.com>
2739 * gdb.base/local-static.c: New.
2740 * gdb.base/local-static.cc: New.
2741 * gdb.base/local-static.exp: New.
2743 2017-09-04 Pedro Alves <palves@redhat.com>
2745 * gdb.asm/asm-source.exp: Add casts to int.
2746 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
2747 (dataglobal64_1, dataglobal64_2): New globals.
2748 * gdb.base/nodebug.exp: Test different expressions involving the
2749 new globals, with print, whatis and ptype. Add casts to int.
2750 * gdb.base/solib-display.exp: Add casts to int.
2751 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
2752 * gdb.cp/m-static.exp: Add cast to int.
2753 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
2754 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
2755 tls variable with no debug info without a cast. Test with a cast
2757 * gdb.trace/entry-values.exp: Add casts.
2759 2017-09-04 Pedro Alves <palves@redhat.com>
2761 * gdb.base/nodebug.exp: Test that ptype's error about functions
2762 with unknown return type includes the function name too.
2764 2017-09-04 Pedro Alves <palves@redhat.com>
2766 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
2767 return type of munmap in infcall.
2768 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
2769 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
2770 type of ftell in infcall.
2771 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
2772 type of getpid in infcall.
2773 * gdb.base/infcall-exec.exp: Cast return type of execlp in
2775 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
2776 Bail on failure to extract the pid.
2777 * gdb.base/nodebug.c: #include <stdint.h>.
2778 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
2780 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
2781 Change expected output of print/whatis/ptype with functions with
2782 no debug info. Test all supported languages. Call
2783 test_call_promotion.
2784 * gdb.compile/compile.exp: Adjust expected output to expect
2786 * gdb.threads/siginfo-threads.exp: Likewise.
2788 2017-09-04 Pedro Alves <palves@redhat.com>
2790 * gdb.base/callfuncs.exp (do_function_calls): New parameter
2791 "prototypes". Test calling float functions via prototyped and
2792 unprototyped function pointers.
2793 (perform_all_tests): New parameter "prototypes". Pass it down.
2794 (top level): Pass down "prototypes" parameter to
2797 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2799 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
2800 Test with nested loops.
2802 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2804 * gdb.base/commands.exp: Call the new procedures.
2805 (loop_break_test, loop_continue_test): New procedures.
2807 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2809 * gdb.base/commands.exp: Call new procedure.
2810 (define_if_without_arg_test): New procedure.
2812 2017-09-04 Pedro Alves <palves@redhat.com>
2814 * gdb.base/list-ambiguous.exp: New file.
2815 * gdb.base/list-ambiguous0.c: New file.
2816 * gdb.base/list-ambiguous1.c: New file.
2817 * gdb.base/list.exp (test_list_range): Adjust expected output.
2819 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
2821 * gdb.base/share-env-with-gdbserver.c: New file.
2822 * gdb.base/share-env-with-gdbserver.exp: Likewise.
2824 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
2826 * gdb.base/commands.exp (gdbvar_simple_if_test,
2827 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
2828 progvar_simple_if_test, progvar_simple_while_test,
2829 progvar_complex_if_while_test, user_defined_command_test,
2830 user_defined_command_args_eval,
2831 user_defined_command_args_stack_test,
2832 user_defined_command_manyargs_test, bp_deleted_in_command_test,
2833 temporary_breakpoint_commands,
2834 gdb_test_no_prompt, redefine_hook_test,
2835 redefine_backtrace_test): Remove "global gdb_prompt".
2837 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
2839 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
2840 New proc, call it from toplevel.
2842 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
2845 * gdb.server/normal.c: New file, copied from gdb.base.
2846 * gdb.server/run-without-local-binary.exp: New file.
2848 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
2850 * gdb.arch/sparc64-adi.exp: New file.
2851 * gdb.arch/sparc64-adi.c: New file.
2853 2017-08-22 Pedro Alves <palves@redhat.com>
2855 * gdb.cp/overload.exp (line_range_pattern): New procedure.
2856 (top level): Add "list all overloads" tests.
2858 2017-08-22 Tom Tromey <tom@tromey.com>
2860 * gdb.gdb/xfullpath.exp: Remove.
2862 2017-08-21 Pedro Alves <palves@redhat.com>
2865 * gdb.base/symbol-alias.c: New.
2866 * gdb.base/symbol-alias2.c: New.
2867 * gdb.base/symbol-alias.exp: New.
2869 2017-08-21 Pedro Alves <palves@redhat.com>
2871 * gdb.base/dfp-test.c
2872 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
2873 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
2874 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
2875 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
2876 * gdb.base/whatis-ptype-typedefs.c: New.
2877 * gdb.base/whatis-ptype-typedefs.exp: New.
2878 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
2879 (an_int, an_int_type, an_int_type2): New globals.
2880 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
2881 involving typedefs and cast expressions.
2882 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
2883 (lookup_typedefs_function): New.
2884 (typedefs_pretty_printers_dict): New.
2885 (top level): Register lookup_typedefs_function in
2886 gdb.pretty_printers.
2888 2017-08-18 Yao Qi <yao.qi@linaro.org>
2890 * gdb.server/unittest.exp: New.
2892 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
2895 * gdb.base/environ.exp: Add test to check if 'unset environment'
2898 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2900 * lib/gdb.exp (universal_compile_options): New caching proc.
2901 (gdb_compile): Suppress GCC's coloring of messages.
2903 2017-08-14 Tom Tromey <tom@tromey.com>
2906 * gdb.base/printcmds.exp (test_radices): New function.
2907 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
2908 * gdb.base/sizeof.exp (check_valueof): Use p/d.
2909 * lib/gdb.exp (get_integer_valueof): Use p/d.
2911 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
2913 * lib/gdb.exp (get_valueof): Don't capture end-of-line
2916 2017-08-05 Tom Tromey <tom@tromey.com>
2918 * gdb.rust/simple.exp: Allow String to appear in a different
2921 2017-07-26 Yao Qi <yao.qi@linaro.org>
2923 * gdb.gdb/unittest.exp: Invoke command
2924 "maintenance check xml-descriptions".
2926 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2928 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
2930 (hex128): Drop erroneous calculation of parameters.
2932 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
2934 * gdb.python/py-unwind.exp: Disable stack protection when
2937 2017-07-20 Pedro Alves <palves@redhat.com>
2939 * gdb.base/default.exp (set language): Adjust expected output.
2941 2017-07-20 Pedro Alves <palves@redhat.com>
2943 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
2944 (test_minsym): ... this, and make static.
2945 (get_pck__foo__bar__minsym): Rename to ...
2946 (get_test_minsym): ... this.
2947 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
2948 symbol names and comments.
2949 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
2950 (get_test_minsym): ... this.
2951 (pck__foo__bar__minsym__2): Rename to ...
2952 (test_minsym): ... this.
2955 2017-07-17 Pedro Alves <palves@redhat.com>
2957 * gdb.base/completion.exp: Adjust expected output.
2958 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
2959 the completer works.
2961 2017-07-17 Pedro Alves <palves@redhat.com>
2963 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
2965 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2967 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
2969 2017-07-14 Tom Tromey <tom@tromey.com>
2972 * gdb.rust/simple.exp: Add tests.
2974 2017-07-14 Tom Tromey <tom@tromey.com>
2976 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
2978 2017-07-14 Pedro Alves <palves@redhat.com>
2980 * gdb.linespec/base/one/thefile.cc (z1): New function.
2981 * gdb.linespec/base/two/thefile.cc (z2): New function.
2982 * gdb.linespec/linespec.exp: Add tests.
2984 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
2986 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
2987 to mi_create_breakpoint.
2989 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
2991 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
2992 mi_create_breakpoint.
2994 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
2996 * gdb.dlang/demangle.exp: Update for demangling changes.
2998 2017-07-09 Tom Tromey <tom@tromey.com>
3000 * gdb.dwarf2/shortpiece.exp: New file.
3002 2017-07-06 David Blaikie <dblaikie@gmail.com>
3004 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
3005 built from fissiont-multi-cu{1,2}.c.
3006 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
3007 except putting 'main' and 'func' in separate CUs in the same DWO file.
3008 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
3010 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
3013 2017-07-06 Pedro Alves <palves@redhat.com>
3015 * gdb.python/py-unwind.exp: Test flushregs.
3017 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
3020 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
3021 tests for alias commands and trailing whitespace.
3023 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
3026 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
3029 2017-06-29 Pedro Alves <palves@redhat.com>
3031 * gdb.base/printcmds.exp: Add tests.
3033 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
3036 * gdb.base/reread-readsym.exp: New file.
3037 * gdb.base/reread-readsym.c: New file.
3039 2017-06-21 Kevin Buettner <kevinb@redhat.com>
3041 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
3044 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
3046 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
3048 * gdb.arch/powerpc-power9.s: Likewise.
3050 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
3052 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
3053 on 32-bit x86 targets. Exploit is_*_target macros where
3056 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3058 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
3061 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3063 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
3064 located in one or more DWARF pieces.
3066 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3068 * lib/gdb.exp (get_endianness): New proc.
3069 * gdb.arch/aarch64-fp.exp: Use it.
3070 * gdb.arch/altivec-regs.exp: Likewise.
3071 * gdb.arch/e500-regs.exp: Likewise.
3072 * gdb.arch/vsx-regs.exp: Likewise.
3073 * gdb.base/dump.exp: Likewise.
3074 * gdb.base/funcargs.exp: Likewise.
3075 * gdb.base/gnu_vector.exp: Likewise.
3076 * gdb.dwarf2/formdata16.exp: Likewise.
3077 * gdb.dwarf2/implptrpiece.exp: Likewise.
3078 * gdb.dwarf2/nonvar-access.exp: Likewise.
3079 * gdb.python/py-inferior.exp: Likewise.
3080 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
3082 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3085 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
3086 stack value pieces are taken from the LSB end.
3088 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3090 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
3091 variable at nonzero offset.
3093 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3095 * gdb.dwarf2/var-access.c: New file.
3096 * gdb.dwarf2/var-access.exp: New test.
3097 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
3099 2017-06-12 Tom Tromey <tom@tromey.com>
3101 * gdb.dwarf2/formdata16.exp: Add tests.
3103 2017-06-12 Tom Tromey <tom@tromey.com>
3105 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
3107 2017-06-12 Tom Tromey <tom@tromey.com>
3110 * gdb.reverse/i386-sse-reverse.exp: Update tests.
3111 * gdb.arch/vsx-regs.exp: Update tests.
3112 * gdb.arch/s390-vregs.exp (hex128): New proc.
3114 * gdb.arch/altivec-regs.exp: Update tests.
3116 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
3118 * gdb.base/startup-with-shell.c: New file.
3119 * gdb.base/startup-with-shell.exp: Likewise.
3121 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
3123 * gdb.server/non-existing-program.exp: Update regex in order to
3124 reflect the fact that gdbserver is now using fork_inferior (with a
3125 shell) to startup the inferior.
3127 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
3129 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
3130 support function calls from GDB.
3132 2017-05-21 Tom Tromey <tom@tromey.com>
3135 * gdb.rust/unsized.exp: New file.
3136 * gdb.rust/unsized.rs: New file.
3138 2017-05-19 Tom Tromey <tom@tromey.com>
3141 * gdb.rust/watch.exp: New file.
3142 * gdb.rust/watch.rs: New file.
3144 2017-05-18 Tom Tromey <tom@tromey.com>
3146 * gdb.rust/simple.exp: Allow Box to be qualified.
3148 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
3150 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
3152 2017-05-18 Pedro Alves <palves@redhat.com>
3154 * gdb.base/fileio.c (test_write, test_read, test_close)
3155 (test_fstat): Don't print 'ret' in the fail path.
3157 2017-05-18 Pedro Alves <palves@redhat.com>
3159 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
3160 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
3161 (test_system, test_rename, test_unlink, test_time): Change
3163 * gdb.base/fileio.exp (stop_msg): Adjust.
3165 2017-05-18 Pedro Alves <palves@redhat.com>
3167 * gdb.base/fileio.c (null_str): New global.
3168 (test_stat): Use it.
3169 * gdb.base/fileio.exp: Remove nowarnings.
3171 2017-05-17 Yao Qi <yao.qi@linaro.org>
3173 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
3175 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
3177 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
3179 (top-level): Invoke test_set_inferior_tty.
3181 2017-05-04 Pedro Alves <palves@redhat.com>
3183 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
3184 Add parens to print call for Python 3.
3186 2017-05-03 Keith Seitz <keiths@redhat.com>
3188 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
3191 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3193 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
3196 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3198 * gdb.python/py-record-btrace.exp: Remove test for
3199 gdb.BtraceInstruction.error.
3201 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3203 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
3205 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3207 * gdb.python/py-record-btrace-threads.c: New file.
3208 * gdb.python/py-record-btrace-threads.exp: New file.
3210 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
3213 * gdb.base/environ.exp: Make test available in all architectures.
3214 Move bits related to "info program" testing to
3215 gdb.base/info-program.exp. Rewrite tests to use the two new
3216 procedures mentione below.
3217 (test_set_show_env_var) New procedure.
3218 (test_set_show_env_var_equal): Likewise.
3219 * gdb.base/info-program.exp: New file.
3221 2017-04-27 Keith Seitz <keiths@redhat.com>
3223 * gdb.cp/oranking.cc (test15): New function.
3224 (main): Call test15 and declare additional variables for testing.
3225 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
3226 "p foo101('abc')" tests.
3227 Add tests for cv qualifier overloads.
3228 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
3229 "lvalue reference overload" test.
3230 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
3231 "print value of f1 on Child&& in f2" test.
3233 2017-04-19 Pedro Alves <palves@redhat.com>
3235 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
3237 (top level): Call it.
3238 * lib/gdb.exp (gdb_define_cmd): New procedure.
3240 2017-04-12 Pedro Alves <palves@redhat.com>
3243 * gdb.cp/wide_char_types.c: Include <wchar.h>.
3244 (wchar): New global.
3245 * gdb.cp/wide_char_types.exp (wide_char_types_program)
3246 (do_test_wide_char, wide_char_types_no_program, top level): Add
3249 2017-04-12 Pedro Alves <palves@redhat.com>
3252 * gdb.cp/wide_char_types.c: New file.
3253 * gdb.cp/wide_char_types.exp: New file.
3255 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
3258 * gdb.trace/tsv.exp: Add test for "tsave -r".
3260 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
3262 * gdb.dlang/watch-loc.c: New file.
3263 * gdb.dlang/watch-loc.exp: New file.
3265 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3267 * gdb.python/py-section-script.exp (sepdebug): New testcases.
3269 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
3271 * gdb.arch/arc-analyze-prologue.S: New file.
3272 * gdb.arch/arc-analyze-prologue.exp: Likewise.
3274 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
3276 * gdb.arch/arc-decode-insn.S: New file.
3277 * gdb.arch/arc-decode-insn.exp: Likewise.
3279 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
3282 * gdb.arch/sparc64-regs.exp: New file.
3283 * gdb.arch/sparc64-regs.S: Likewise.
3285 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
3287 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
3288 and memory view on Python 3.
3290 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
3291 Keith Seitz <keiths@redhat.com>
3294 * gdb.cp/demangle.exp: Add rvalue reference tests.
3295 * gdb.cp/rvalue-ref-casts.cc: New file.
3296 * gdb.cp/rvalue-ref-casts.exp: New file.
3297 * gdb.cp/rvalue-ref-overload.cc: New file.
3298 * gdb.cp/rvalue-ref-overload.exp: New file.
3299 * gdb.cp/rvalue-ref-params.cc: New file.
3300 * gdb.cp/rvalue-ref-params.exp: New file.
3301 * gdb.cp/rvalue-ref-sizeof.cc: New file.
3302 * gdb.cp/rvalue-ref-sizeof.exp: New file.
3303 * gdb.cp/rvalue-ref-types.cc: New file.
3304 * gdb.cp/rvalue-ref-types.exp: New file.
3305 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
3306 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
3308 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
3310 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
3313 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
3315 * lib/mi-support.exp (mi_gdb_test): Add additional message
3316 for unexpected output.
3318 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3320 * gdb.base/examine-backward.c (Barrier): New character array
3321 constant, to ensure that TestStrings is preceded by a string
3324 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3326 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
3327 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
3328 and implicit pointer into such a location.
3330 2017-03-16 Doug Evans <dje@google.com>
3332 * gdb.python/py-lazy-string (pointer): Really add new typedef.
3334 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
3336 * gdb.cp/m-static.exp: Fix expectation for prototype of
3337 test5.single_constructor and single_constructor::single_constructor.
3339 2017-03-16 Doug Evans <dje@google.com>
3341 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
3342 * gdb.guile/scm-lazy-string.c: New file.
3343 * gdb.guile/scm-value.exp: Move lazy string tests to ...
3344 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
3345 for pointer, array, typedef lazy strings.
3347 2017-03-16 Doug Evans <dje@google.com>
3349 PR python/17728, python/18439, python/18779
3350 * gdb.python/py-value.c (main) Delete locals sptr, sn.
3351 * gdb.python/py-lazy-string.c (pointer): New typedef.
3352 (main): New locals ptr, array, typedef_ptr.
3353 * gdb.python/py-value.exp: Move lazy string tests to ...
3354 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
3355 array, typedef lazy strings.
3357 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
3359 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
3360 Add optional 'test' parameter.
3362 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
3364 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3365 Skip for versions of DejaGnu < 1.5.
3367 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
3369 * lib/gdb.exp (dejagnu_version): New proc.
3370 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
3371 Use dejagnu_version.
3373 2017-03-10 Keith Seitz <keiths@redhat.com>
3376 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
3377 type from destructor regexps.
3378 Add a branch which actually passes the test.
3379 Adjust "ptype t5i" test names.
3381 2017-03-08 Pedro Alves <palves@redhat.com>
3383 * gdb.base/step-over-exit.exp: Add explicit test message.
3385 2017-03-08 Pedro Alves <palves@redhat.com>
3388 * gdb.threads/interrupt-while-step-over.c: New file.
3389 * gdb.threads/interrupt-while-step-over.exp: New file.
3391 2017-03-08 Pedro Alves <palves@redhat.com>
3393 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
3394 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
3396 2017-03-08 Pedro Alves <palves@redhat.com>
3398 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
3399 PKRU as not supported as a PASS.
3401 2017-03-08 Pedro Alves <palves@redhat.com>
3403 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
3404 prefix instead of $binfile1/$binfile2.
3405 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
3407 * gdb.python/py-completion.exp: Use "load python file" as test
3408 messages instead of unstable path names.
3410 2017-03-08 Pedro Alves <palves@redhat.com>
3411 Jan Kratochvil <jan.kratochvil@redhat.com>
3414 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3416 (top level): Call it.
3418 2017-03-08 Pedro Alves <palves@redhat.com>
3421 * gdb.tui/tui-nl-filtered-output.exp: New file.
3423 2017-03-08 Pedro Alves <palves@redhat.com>
3425 * gdb.base/completion.exp: Move TUI completion tests to ...
3426 * gdb.tui/completion.exp: ... this new file.
3428 2017-03-08 Pedro Alves <palves@redhat.com>
3430 * gdb.base/tui-disasm-long-lines.c,
3431 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
3432 gdb.base/tui-layout.exp: Move to ...
3433 * gdb.tui/: ... this new directory.
3435 2017-03-07 Pedro Alves <palves@redhat.com>
3437 * gdb.base/tui-layout.c: New file.
3438 * gdb.base/tui-layout.exp: New file.
3440 2017-03-07 Pedro Alves <palves@redhat.com>
3442 * gdb.base/tui-layout.c: Rename to ...
3443 * gdb.base/tui-disasm-long-lines.c: ... this.
3444 * gdb.base/tui-layout.exp: Rename to ...
3445 * gdb.base/tui-disasm-long-lines.exp: ... this.
3447 2017-03-07 Pedro Alves <palves@redhat.com>
3449 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
3451 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
3453 * i386-mpx-call.c: New file.
3454 * i386-mpx-call.exp: New file.
3456 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
3458 * gdb.arch/powerpc-power.exp: Delete test.
3459 * gdb.arch/powerpc-power.s: Likewise.
3460 * gdb.disasm/disassembler-options.exp: New test.
3461 * gdb.arch/powerpc-altivec.exp: Likewise.
3462 * gdb.arch/powerpc-altivec.s: Likewise.
3463 * gdb.arch/powerpc-altivec2.exp: Likewise.
3464 * gdb.arch/powerpc-altivec2.s: Likewise.
3465 * gdb.arch/powerpc-altivec3.exp: Likewise.
3466 * gdb.arch/powerpc-altivec3.s: Likewise.
3467 * gdb.arch/powerpc-power7.exp: Likewise.
3468 * gdb.arch/powerpc-power7.s: Likewise.
3469 * gdb.arch/powerpc-power8.exp: Likewise.
3470 * gdb.arch/powerpc-power8.s: Likewise.
3471 * gdb.arch/powerpc-power9.exp: Likewise.
3472 * gdb.arch/powerpc-power9.s: Likewise.
3473 * gdb.arch/powerpc-vsx.exp: Likewise.
3474 * gdb.arch/powerpc-vsx.s: Likewise.
3475 * gdb.arch/powerpc-vsx2.exp: Likewise.
3476 * gdb.arch/powerpc-vsx2.s: Likewise.
3477 * gdb.arch/powerpc-vsx3.exp: Likewise.
3478 * gdb.arch/powerpc-vsx3.s: Likewise.
3479 * gdb.arch/arm-disassembler-options.exp: Likewise.
3480 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
3481 * gdb.arch/s390-disassembler-options.exp: Likewise.
3483 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
3485 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
3486 (check_supported_features): ... this. Changed return type to void.
3487 (supports_rdseed): New static global.
3488 (rdseed): Check supports_rdseed.
3489 (initialize): Call check_supported_features.
3491 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3493 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
3494 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
3496 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
3497 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
3499 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3501 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
3504 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3506 * gdb.dwarf2/formdata16.c: New file.
3507 * gdb.dwarf2/formdata16.exp: New file.
3508 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
3510 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3512 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
3513 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
3514 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
3515 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
3518 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3520 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
3522 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
3525 * gdb.base/maint.exp: Add testcases for when the commands do
3528 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
3530 * gdb.cp/chained-calls.exp: Use p instead of P.
3532 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
3534 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
3535 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
3537 2017-02-14 Tom Tromey <tom@tromey.com>
3540 * gdb.python/py-events.exp: Add before_prompt event tests.
3542 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
3544 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
3546 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
3548 * gdb.linespec/explicit.c (my_unique_function_name): New function.
3549 (main): Call my_unique_function_name.
3550 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
3551 completion of patterns with a single match.
3552 Add missing -re switches to gdb_test_multiple calls.
3554 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
3556 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
3557 return if core file is not recognized.
3559 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
3561 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
3564 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
3566 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
3569 2017-02-10 Tom Tromey <tom@tromey.com>
3571 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
3573 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
3576 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
3578 2017-02-08 Jerome Guitton <guitton@adacore.com>
3580 * gdb.base/define.exp: Add test for command abbreviations
3583 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
3585 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
3586 * gdb.reverse/insn-reverse-x86.c: New file.
3588 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
3591 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
3593 2017-02-03 Tom Tromey <tom@tromey.com>
3596 * gdb.rust/simple.exp: Add new tests.
3598 2017-02-02 Pedro Alves <palves@redhat.com>
3600 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
3603 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3605 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
3606 taking a 2-byte value out of a 4-byte DWARF implicit value on
3608 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
3609 logic. Add test cases for DW_OP_implicit.
3611 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3613 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
3615 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3617 * gdb.btrace/enable.exp: Call gdb_exit before
3618 skip_gdbserver_tests.
3620 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3622 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
3625 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3627 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
3628 the test is skipped.
3629 * gdb.btrace/data.exp: Likewise.
3630 * gdb.btrace/delta.exp: Likewise.
3631 * gdb.btrace/dlopen.exp: Likewise.
3632 * gdb.btrace/enable-running.exp: Likewise.
3633 * gdb.btrace/enable.exp: Likewise.
3634 * gdb.btrace/exception.exp: Likewise.
3635 * gdb.btrace/function_call_history.exp: Likewise.
3636 * gdb.btrace/gcore.exp: Likewise.
3637 * gdb.btrace/instruction_history.exp: Likewise.
3638 * gdb.btrace/multi-thread-step.exp: Likewise.
3639 * gdb.btrace/nohist.exp: Likewise.
3640 * gdb.btrace/non-stop.exp: Likewise.
3641 * gdb.btrace/reconnect.exp: Likewise.
3642 * gdb.btrace/record_goto-step.exp: Likewise.
3643 * gdb.btrace/record_goto.exp: Likewise.
3644 * gdb.btrace/rn-dl-bind.exp: Likewise.
3645 * gdb.btrace/segv.exp: Likewise.
3646 * gdb.btrace/step.exp: Likewise.
3647 * gdb.btrace/stepi.exp: Likewise.
3648 * gdb.btrace/tailcall-only.exp: Likewise.
3649 * gdb.btrace/tailcall.exp: Likewise.
3650 * gdb.btrace/tsx.exp: Likewise.
3651 * gdb.btrace/unknown_functions.exp: Likewise.
3652 * gdb.btrace/vdso.exp: Likewise.
3654 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3656 * gdb.btrace/enable-running.c: New.
3657 * gdb.btrace/enable-running.exp: New.
3659 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
3661 * gdb.arch/amd64-gs_base.c: New file.
3662 * gdb.arch/amd64-gs_base.exp: New file.
3664 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
3666 * lib/memory.exp: Remove spurious empty newlines.
3668 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
3670 * gdb.python/py-bad-printers.exp: Load python file using "source".
3671 * gdb.python/py-events.exp: Likewise.
3672 * gdb.python/py-evsignal.exp: Likewise.
3673 * gdb.python/py-evthreads.exp: Likewise.
3674 * gdb.python/py-frame-args.exp: Likewise.
3675 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
3676 * gdb.python/py-framefilter-mi.exp: Likewise.
3677 * gdb.python/py-framefilter.exp: Likewise.
3678 * gdb.python/py-mi.exp: Likewise.
3679 * gdb.python/py-pp-maint.exp: Likewise.
3680 * gdb.python/py-pp-registration.exp: Likewise.
3681 * gdb.python/py-prettyprint.exp: Likewise.
3682 (run_lang_tests): Likewise.
3683 * gdb.python/py-typeprint.exp: Likewise.
3685 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
3687 * lib/memory.exp: New file.
3688 * lib/gdb.exp: Load memory.exp.
3689 * gdb.base/memattr.exp (delete_memory): Move proc to
3690 lib/memory.exp and rename to delete_memory_regions.
3691 Replace delete_memory with delete_memory_regions.
3692 Cleanup memory regions before tests.
3693 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
3696 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
3698 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
3700 (initialize): New function conditionally defined.
3701 (testcases): Move within conditional block.
3702 (main): Call initialize.
3703 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
3704 of gdb.reverse/insn-reverse.c.
3705 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
3706 gdb.reverse/insn-reverse.c.
3708 2017-01-26 Yao Qi <yao.qi@linaro.org>
3710 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
3711 disassemble on address 0.
3713 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
3714 Yao Qi <yao.qi@linaro.org>
3716 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
3717 * gdb.dwarf2/implptr-64bit.S: Remove.
3718 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
3719 variables in caller's context. Add DW_OP_implicit_value.
3721 2017-01-25 Yao Qi <yao.qi@linaro.org>
3723 * lib/dwarf.exp (Dwarf::_location): Handle
3724 DW_OP_GNU_implicit_pointer with proper size.
3726 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
3728 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
3729 and add untested calls.
3731 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
3733 * gdb.python/python.exp: Check line number against what GDB thinks
3734 the line number is for func1.
3736 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
3738 * gdb.dlang/debug-expr.exp: New file.
3740 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
3742 Fix test names for the following files:
3744 * gdb.ada/exec_changed.exp
3745 * gdb.ada/info_types.exp
3746 * gdb.arch/aarch64-atomic-inst.exp
3747 * gdb.arch/aarch64-fp.exp
3748 * gdb.arch/altivec-abi.exp
3749 * gdb.arch/altivec-regs.exp
3750 * gdb.arch/amd64-byte.exp
3751 * gdb.arch/amd64-disp-step.exp
3752 * gdb.arch/amd64-dword.exp
3753 * gdb.arch/amd64-entry-value-inline.exp
3754 * gdb.arch/amd64-entry-value-param.exp
3755 * gdb.arch/amd64-entry-value-paramref.exp
3756 * gdb.arch/amd64-entry-value.exp
3757 * gdb.arch/amd64-i386-address.exp
3758 * gdb.arch/amd64-invalid-stack-middle.exp
3759 * gdb.arch/amd64-invalid-stack-top.exp
3760 * gdb.arch/amd64-optimout-repeat.exp
3761 * gdb.arch/amd64-prologue-skip.exp
3762 * gdb.arch/amd64-prologue-xmm.exp
3763 * gdb.arch/amd64-stap-special-operands.exp
3764 * gdb.arch/amd64-stap-wrong-subexp.exp
3765 * gdb.arch/amd64-tailcall-cxx.exp
3766 * gdb.arch/amd64-tailcall-noret.exp
3767 * gdb.arch/amd64-tailcall-ret.exp
3768 * gdb.arch/amd64-tailcall-self.exp
3769 * gdb.arch/amd64-word.exp
3770 * gdb.arch/arm-bl-branch-dest.exp
3771 * gdb.arch/arm-disp-step.exp
3772 * gdb.arch/arm-neon.exp
3773 * gdb.arch/arm-single-step-kernel-helper.exp
3774 * gdb.arch/avr-flash-qualifier.exp
3775 * gdb.arch/disp-step-insn-reloc.exp
3776 * gdb.arch/e500-abi.exp
3777 * gdb.arch/e500-regs.exp
3778 * gdb.arch/ftrace-insn-reloc.exp
3779 * gdb.arch/i386-avx512.exp
3780 * gdb.arch/i386-bp_permanent.exp
3781 * gdb.arch/i386-byte.exp
3782 * gdb.arch/i386-cfi-notcurrent.exp
3783 * gdb.arch/i386-disp-step.exp
3784 * gdb.arch/i386-dr3-watch.exp
3785 * gdb.arch/i386-float.exp
3786 * gdb.arch/i386-gnu-cfi.exp
3787 * gdb.arch/i386-mpx-map.exp
3788 * gdb.arch/i386-mpx-sigsegv.exp
3789 * gdb.arch/i386-mpx-simple_segv.exp
3790 * gdb.arch/i386-mpx.exp
3791 * gdb.arch/i386-permbkpt.exp
3792 * gdb.arch/i386-prologue.exp
3793 * gdb.arch/i386-signal.exp
3794 * gdb.arch/i386-size-overlap.exp
3795 * gdb.arch/i386-unwind.exp
3796 * gdb.arch/i386-word.exp
3797 * gdb.arch/mips-fcr.exp
3798 * gdb.arch/powerpc-d128-regs.exp
3799 * gdb.arch/powerpc-stackless.exp
3800 * gdb.arch/ppc64-atomic-inst.exp
3801 * gdb.arch/s390-stackless.exp
3802 * gdb.arch/s390-tdbregs.exp
3803 * gdb.arch/s390-vregs.exp
3804 * gdb.arch/sparc-sysstep.exp
3805 * gdb.arch/thumb-bx-pc.exp
3806 * gdb.arch/thumb-singlestep.exp
3807 * gdb.arch/thumb2-it.exp
3808 * gdb.arch/vsx-regs.exp
3809 * gdb.asm/asm-source.exp
3810 * gdb.base/a2-run.exp
3811 * gdb.base/advance.exp
3812 * gdb.base/all-bin.exp
3815 * gdb.base/arithmet.exp
3816 * gdb.base/async-shell.exp
3817 * gdb.base/async.exp
3818 * gdb.base/attach-pie-noexec.exp
3819 * gdb.base/attach-twice.exp
3820 * gdb.base/auto-load.exp
3822 * gdb.base/bitfields.exp
3823 * gdb.base/break-always.exp
3824 * gdb.base/break-caller-line.exp
3825 * gdb.base/break-entry.exp
3826 * gdb.base/break-inline.exp
3827 * gdb.base/break-on-linker-gcd-function.exp
3828 * gdb.base/break-probes.exp
3829 * gdb.base/break.exp
3830 * gdb.base/breakpoint-shadow.exp
3831 * gdb.base/call-ar-st.exp
3832 * gdb.base/call-sc.exp
3833 * gdb.base/call-signal-resume.exp
3834 * gdb.base/call-strs.exp
3835 * gdb.base/callfuncs.exp
3836 * gdb.base/catch-fork-static.exp
3837 * gdb.base/catch-gdb-caused-signals.exp
3838 * gdb.base/catch-load.exp
3839 * gdb.base/catch-signal-fork.exp
3840 * gdb.base/catch-signal.exp
3841 * gdb.base/catch-syscall.exp
3842 * gdb.base/charset.exp
3843 * gdb.base/checkpoint.exp
3844 * gdb.base/chng-syms.exp
3845 * gdb.base/code-expr.exp
3846 * gdb.base/code_elim.exp
3847 * gdb.base/commands.exp
3848 * gdb.base/completion.exp
3849 * gdb.base/complex.exp
3850 * gdb.base/cond-expr.exp
3851 * gdb.base/condbreak.exp
3852 * gdb.base/consecutive.exp
3853 * gdb.base/continue-all-already-running.exp
3854 * gdb.base/coredump-filter.exp
3855 * gdb.base/corefile.exp
3857 * gdb.base/debug-expr.exp
3858 * gdb.base/define.exp
3860 * gdb.base/disabled-location.exp
3861 * gdb.base/disasm-end-cu.exp
3862 * gdb.base/disasm-optim.exp
3863 * gdb.base/display.exp
3864 * gdb.base/duplicate-bp.exp
3865 * gdb.base/ena-dis-br.exp
3866 * gdb.base/ending-run.exp
3867 * gdb.base/enumval.exp
3868 * gdb.base/environ.exp
3869 * gdb.base/eu-strip-infcall.exp
3870 * gdb.base/eval-avoid-side-effects.exp
3871 * gdb.base/eval-skip.exp
3872 * gdb.base/exitsignal.exp
3873 * gdb.base/expand-psymtabs.exp
3874 * gdb.base/filesym.exp
3875 * gdb.base/find-unmapped.exp
3876 * gdb.base/finish.exp
3877 * gdb.base/float.exp
3878 * gdb.base/foll-exec-mode.exp
3879 * gdb.base/foll-exec.exp
3880 * gdb.base/foll-fork.exp
3881 * gdb.base/fortran-sym-case.exp
3882 * gdb.base/freebpcmd.exp
3883 * gdb.base/func-ptr.exp
3884 * gdb.base/func-ptrs.exp
3885 * gdb.base/funcargs.exp
3886 * gdb.base/gcore-buffer-overflow.exp
3887 * gdb.base/gcore-relro-pie.exp
3888 * gdb.base/gcore-relro.exp
3889 * gdb.base/gcore.exp
3890 * gdb.base/gdb1090.exp
3891 * gdb.base/gdb11530.exp
3892 * gdb.base/gdb11531.exp
3893 * gdb.base/gdb1821.exp
3894 * gdb.base/gdbindex-stabs.exp
3895 * gdb.base/gdbvars.exp
3896 * gdb.base/hbreak.exp
3897 * gdb.base/hbreak2.exp
3898 * gdb.base/included.exp
3899 * gdb.base/infcall-input.exp
3900 * gdb.base/inferior-died.exp
3901 * gdb.base/infnan.exp
3902 * gdb.base/info-macros.exp
3903 * gdb.base/info-os.exp
3904 * gdb.base/info-proc.exp
3905 * gdb.base/info-shared.exp
3906 * gdb.base/info-target.exp
3907 * gdb.base/infoline.exp
3908 * gdb.base/interp.exp
3909 * gdb.base/interrupt.exp
3910 * gdb.base/jit-reader.exp
3911 * gdb.base/jit-simple.exp
3912 * gdb.base/kill-after-signal.exp
3913 * gdb.base/kill-detach-inferiors-cmd.exp
3914 * gdb.base/label.exp
3915 * gdb.base/langs.exp
3916 * gdb.base/ldbl_e308.exp
3917 * gdb.base/line-symtabs.exp
3918 * gdb.base/linespecs.exp
3920 * gdb.base/long_long.exp
3921 * gdb.base/longest-types.exp
3922 * gdb.base/maint.exp
3923 * gdb.base/max-value-size.exp
3924 * gdb.base/memattr.exp
3925 * gdb.base/mips_pro.exp
3926 * gdb.base/morestack.exp
3927 * gdb.base/moribund-step.exp
3928 * gdb.base/multi-forks.exp
3929 * gdb.base/nested-addr.exp
3930 * gdb.base/nextoverexit.exp
3931 * gdb.base/noreturn-finish.exp
3932 * gdb.base/noreturn-return.exp
3933 * gdb.base/nostdlib.exp
3934 * gdb.base/offsets.exp
3935 * gdb.base/opaque.exp
3936 * gdb.base/pc-fp.exp
3937 * gdb.base/permissions.exp
3938 * gdb.base/print-symbol-loading.exp
3939 * gdb.base/prologue-include.exp
3940 * gdb.base/psymtab.exp
3941 * gdb.base/ptype.exp
3942 * gdb.base/random-signal.exp
3943 * gdb.base/randomize.exp
3944 * gdb.base/range-stepping.exp
3945 * gdb.base/readline-ask.exp
3946 * gdb.base/recpar.exp
3947 * gdb.base/recurse.exp
3948 * gdb.base/relational.exp
3949 * gdb.base/restore.exp
3950 * gdb.base/return-nodebug.exp
3951 * gdb.base/return.exp
3952 * gdb.base/run-after-attach.exp
3953 * gdb.base/save-bp.exp
3954 * gdb.base/scope.exp
3955 * gdb.base/sect-cmd.exp
3956 * gdb.base/set-lang-auto.exp
3957 * gdb.base/set-noassign.exp
3958 * gdb.base/setvar.exp
3959 * gdb.base/sigall.exp
3960 * gdb.base/sigbpt.exp
3961 * gdb.base/siginfo-addr.exp
3962 * gdb.base/siginfo-infcall.exp
3963 * gdb.base/siginfo-obj.exp
3964 * gdb.base/siginfo.exp
3965 * gdb.base/signals-state-child.exp
3966 * gdb.base/signest.exp
3967 * gdb.base/sigstep.exp
3968 * gdb.base/sizeof.exp
3970 * gdb.base/solib-corrupted.exp
3971 * gdb.base/solib-nodir.exp
3972 * gdb.base/solib-search.exp
3973 * gdb.base/stack-checking.exp
3974 * gdb.base/stale-infcall.exp
3975 * gdb.base/stap-probe.exp
3976 * gdb.base/start.exp
3977 * gdb.base/step-break.exp
3978 * gdb.base/step-bt.exp
3979 * gdb.base/step-line.exp
3980 * gdb.base/step-over-exit.exp
3981 * gdb.base/step-over-syscall.exp
3982 * gdb.base/step-resume-infcall.exp
3983 * gdb.base/step-test.exp
3984 * gdb.base/store.exp
3985 * gdb.base/structs3.exp
3986 * gdb.base/sym-file.exp
3987 * gdb.base/symbol-without-target_section.exp
3989 * gdb.base/testenv.exp
3990 * gdb.base/ui-redirect.exp
3991 * gdb.base/until.exp
3992 * gdb.base/unwindonsignal.exp
3993 * gdb.base/value-double-free.exp
3994 * gdb.base/vla-datatypes.exp
3995 * gdb.base/vla-ptr.exp
3996 * gdb.base/vla-sideeffect.exp
3997 * gdb.base/volatile.exp
3998 * gdb.base/watch-cond-infcall.exp
3999 * gdb.base/watch-cond.exp
4000 * gdb.base/watch-non-mem.exp
4001 * gdb.base/watch-read.exp
4002 * gdb.base/watch-vfork.exp
4003 * gdb.base/watchpoint-cond-gone.exp
4004 * gdb.base/watchpoint-delete.exp
4005 * gdb.base/watchpoint-hw-hit-once.exp
4006 * gdb.base/watchpoint-hw.exp
4007 * gdb.base/watchpoint-stops-at-right-insn.exp
4008 * gdb.base/watchpoints.exp
4009 * gdb.base/wchar.exp
4010 * gdb.base/whatis-exp.exp
4011 * gdb.btrace/buffer-size.exp
4012 * gdb.btrace/data.exp
4013 * gdb.btrace/delta.exp
4014 * gdb.btrace/dlopen.exp
4015 * gdb.btrace/enable.exp
4016 * gdb.btrace/exception.exp
4017 * gdb.btrace/function_call_history.exp
4018 * gdb.btrace/gcore.exp
4019 * gdb.btrace/instruction_history.exp
4020 * gdb.btrace/nohist.exp
4021 * gdb.btrace/reconnect.exp
4022 * gdb.btrace/record_goto-step.exp
4023 * gdb.btrace/record_goto.exp
4024 * gdb.btrace/rn-dl-bind.exp
4025 * gdb.btrace/segv.exp
4026 * gdb.btrace/step.exp
4027 * gdb.btrace/stepi.exp
4028 * gdb.btrace/tailcall-only.exp
4029 * gdb.btrace/tailcall.exp
4030 * gdb.btrace/tsx.exp
4031 * gdb.btrace/unknown_functions.exp
4032 * gdb.btrace/vdso.exp
4033 * gdb.compile/compile-ifunc.exp
4034 * gdb.compile/compile-ops.exp
4035 * gdb.compile/compile-print.exp
4036 * gdb.compile/compile-setjmp.exp
4037 * gdb.cp/abstract-origin.exp
4038 * gdb.cp/ambiguous.exp
4039 * gdb.cp/annota2.exp
4040 * gdb.cp/annota3.exp
4041 * gdb.cp/anon-ns.exp
4042 * gdb.cp/anon-struct.exp
4043 * gdb.cp/anon-union.exp
4044 * gdb.cp/arg-reference.exp
4045 * gdb.cp/baseenum.exp
4047 * gdb.cp/breakpoint.exp
4048 * gdb.cp/bs15503.exp
4051 * gdb.cp/chained-calls.exp
4053 * gdb.cp/classes.exp
4054 * gdb.cp/cmpd-minsyms.exp
4055 * gdb.cp/converts.exp
4056 * gdb.cp/cp-relocate.exp
4057 * gdb.cp/cpcompletion.exp
4058 * gdb.cp/cpexprs.exp
4059 * gdb.cp/cplabel.exp
4060 * gdb.cp/cplusfuncs.exp
4061 * gdb.cp/cpsizeof.exp
4063 * gdb.cp/derivation.exp
4064 * gdb.cp/destrprint.exp
4065 * gdb.cp/dispcxx.exp
4066 * gdb.cp/enum-class.exp
4067 * gdb.cp/exception.exp
4068 * gdb.cp/exceptprint.exp
4069 * gdb.cp/expand-psymtabs-cxx.exp
4070 * gdb.cp/expand-sals.exp
4071 * gdb.cp/extern-c.exp
4072 * gdb.cp/filename.exp
4073 * gdb.cp/formatted-ref.exp
4074 * gdb.cp/fpointer.exp
4075 * gdb.cp/gdb1355.exp
4076 * gdb.cp/gdb2495.exp
4078 * gdb.cp/impl-this.exp
4079 * gdb.cp/infcall-dlopen.exp
4080 * gdb.cp/inherit.exp
4081 * gdb.cp/iostream.exp
4085 * gdb.cp/m-static.exp
4086 * gdb.cp/mb-ctor.exp
4087 * gdb.cp/mb-inline.exp
4088 * gdb.cp/mb-templates.exp
4089 * gdb.cp/member-name.exp
4090 * gdb.cp/member-ptr.exp
4091 * gdb.cp/meth-typedefs.exp
4093 * gdb.cp/method2.exp
4094 * gdb.cp/minsym-fallback.exp
4096 * gdb.cp/namelessclass.exp
4097 * gdb.cp/namespace-enum.exp
4098 * gdb.cp/namespace-nested-import.exp
4099 * gdb.cp/namespace.exp
4100 * gdb.cp/nextoverthrow.exp
4101 * gdb.cp/no-dmgl-verbose.exp
4102 * gdb.cp/non-trivial-retval.exp
4103 * gdb.cp/noparam.exp
4105 * gdb.cp/nsimport.exp
4106 * gdb.cp/nsnested.exp
4107 * gdb.cp/nsnoimports.exp
4108 * gdb.cp/nsrecurs.exp
4109 * gdb.cp/nsstress.exp
4110 * gdb.cp/nsusing.exp
4111 * gdb.cp/operator.exp
4112 * gdb.cp/oranking.exp
4113 * gdb.cp/overload-const.exp
4114 * gdb.cp/overload.exp
4115 * gdb.cp/ovldbreak.exp
4117 * gdb.cp/paren-type.exp
4118 * gdb.cp/parse-lang.exp
4119 * gdb.cp/pass-by-ref.exp
4120 * gdb.cp/pr-1023.exp
4121 * gdb.cp/pr-1210.exp
4123 * gdb.cp/pr10687.exp
4124 * gdb.cp/pr12028.exp
4125 * gdb.cp/pr17132.exp
4126 * gdb.cp/pr17494.exp
4130 * gdb.cp/printmethod.exp
4132 * gdb.cp/psymtab-parameter.exp
4133 * gdb.cp/ptype-cv-cp.exp
4134 * gdb.cp/ptype-flags.exp
4135 * gdb.cp/re-set-overloaded.exp
4136 * gdb.cp/ref-types.exp
4138 * gdb.cp/scope-err.exp
4141 * gdb.cp/static-method.exp
4142 * gdb.cp/static-print-quit.exp
4143 * gdb.cp/temargs.exp
4144 * gdb.cp/templates.exp
4145 * gdb.cp/try_catch.exp
4146 * gdb.cp/typedef-operator.exp
4148 * gdb.cp/userdef.exp
4149 * gdb.cp/using-crash.exp
4150 * gdb.cp/var-tag.exp
4151 * gdb.cp/virtbase.exp
4152 * gdb.cp/virtfunc.exp
4153 * gdb.cp/virtfunc2.exp
4154 * gdb.cp/vla-cxx.exp
4155 * gdb.disasm/t01_mov.exp
4156 * gdb.disasm/t02_mova.exp
4157 * gdb.disasm/t03_add.exp
4158 * gdb.disasm/t04_sub.exp
4159 * gdb.disasm/t05_cmp.exp
4160 * gdb.disasm/t06_ari2.exp
4161 * gdb.disasm/t07_ari3.exp
4162 * gdb.disasm/t08_or.exp
4163 * gdb.disasm/t09_xor.exp
4164 * gdb.disasm/t10_and.exp
4165 * gdb.disasm/t11_logs.exp
4166 * gdb.disasm/t12_bit.exp
4167 * gdb.disasm/t13_otr.exp
4168 * gdb.dlang/circular.exp
4169 * gdb.dwarf2/arr-stride.exp
4170 * gdb.dwarf2/arr-subrange.exp
4171 * gdb.dwarf2/atomic-type.exp
4172 * gdb.dwarf2/bad-regnum.exp
4173 * gdb.dwarf2/bitfield-parent-optimized-out.exp
4174 * gdb.dwarf2/callframecfa.exp
4175 * gdb.dwarf2/clztest.exp
4176 * gdb.dwarf2/corrupt.exp
4177 * gdb.dwarf2/data-loc.exp
4178 * gdb.dwarf2/dup-psym.exp
4179 * gdb.dwarf2/dw2-anon-mptr.exp
4180 * gdb.dwarf2/dw2-anonymous-func.exp
4181 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
4182 * gdb.dwarf2/dw2-bad-unresolved.exp
4183 * gdb.dwarf2/dw2-basic.exp
4184 * gdb.dwarf2/dw2-canonicalize-type.exp
4185 * gdb.dwarf2/dw2-case-insensitive.exp
4186 * gdb.dwarf2/dw2-common-block.exp
4187 * gdb.dwarf2/dw2-compdir-oldgcc.exp
4188 * gdb.dwarf2/dw2-compressed.exp
4189 * gdb.dwarf2/dw2-const.exp
4190 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
4191 * gdb.dwarf2/dw2-cu-size.exp
4192 * gdb.dwarf2/dw2-dup-frame.exp
4193 * gdb.dwarf2/dw2-entry-value.exp
4194 * gdb.dwarf2/dw2-icycle.exp
4195 * gdb.dwarf2/dw2-ifort-parameter.exp
4196 * gdb.dwarf2/dw2-inline-break.exp
4197 * gdb.dwarf2/dw2-inline-param.exp
4198 * gdb.dwarf2/dw2-intercu.exp
4199 * gdb.dwarf2/dw2-intermix.exp
4200 * gdb.dwarf2/dw2-lexical-block-bare.exp
4201 * gdb.dwarf2/dw2-linkage-name-trust.exp
4202 * gdb.dwarf2/dw2-minsym-in-cu.exp
4203 * gdb.dwarf2/dw2-noloc.exp
4204 * gdb.dwarf2/dw2-op-call.exp
4205 * gdb.dwarf2/dw2-op-out-param.exp
4206 * gdb.dwarf2/dw2-opt-structptr.exp
4207 * gdb.dwarf2/dw2-param-error.exp
4208 * gdb.dwarf2/dw2-producer.exp
4209 * gdb.dwarf2/dw2-ranges-base.exp
4210 * gdb.dwarf2/dw2-ref-missing-frame.exp
4211 * gdb.dwarf2/dw2-reg-undefined.exp
4212 * gdb.dwarf2/dw2-regno-invalid.exp
4213 * gdb.dwarf2/dw2-restore.exp
4214 * gdb.dwarf2/dw2-restrict.exp
4215 * gdb.dwarf2/dw2-single-line-discriminators.exp
4216 * gdb.dwarf2/dw2-strp.exp
4217 * gdb.dwarf2/dw2-undefined-ret-addr.exp
4218 * gdb.dwarf2/dw2-unresolved.exp
4219 * gdb.dwarf2/dw2-var-zero-addr.exp
4220 * gdb.dwarf2/dw4-sig-types.exp
4221 * gdb.dwarf2/dwz.exp
4222 * gdb.dwarf2/dynarr-ptr.exp
4223 * gdb.dwarf2/enum-type.exp
4224 * gdb.dwarf2/gdb-index.exp
4225 * gdb.dwarf2/implptr-64bit.exp
4226 * gdb.dwarf2/implptr-optimized-out.exp
4227 * gdb.dwarf2/implptr.exp
4228 * gdb.dwarf2/implref-array.exp
4229 * gdb.dwarf2/implref-const.exp
4230 * gdb.dwarf2/implref-global.exp
4231 * gdb.dwarf2/implref-struct.exp
4232 * gdb.dwarf2/mac-fileno.exp
4233 * gdb.dwarf2/main-subprogram.exp
4234 * gdb.dwarf2/member-ptr-forwardref.exp
4235 * gdb.dwarf2/method-ptr.exp
4236 * gdb.dwarf2/missing-sig-type.exp
4237 * gdb.dwarf2/nonvar-access.exp
4238 * gdb.dwarf2/opaque-type-lookup.exp
4239 * gdb.dwarf2/pieces-optimized-out.exp
4240 * gdb.dwarf2/pieces.exp
4241 * gdb.dwarf2/pr10770.exp
4242 * gdb.dwarf2/pr13961.exp
4243 * gdb.dwarf2/staticvirtual.exp
4244 * gdb.dwarf2/subrange.exp
4245 * gdb.dwarf2/symtab-producer.exp
4246 * gdb.dwarf2/trace-crash.exp
4247 * gdb.dwarf2/typeddwarf.exp
4248 * gdb.dwarf2/valop.exp
4249 * gdb.dwarf2/watch-notconst.exp
4250 * gdb.fortran/array-element.exp
4251 * gdb.fortran/charset.exp
4252 * gdb.fortran/common-block.exp
4253 * gdb.fortran/complex.exp
4254 * gdb.fortran/derived-type-function.exp
4255 * gdb.fortran/derived-type.exp
4256 * gdb.fortran/logical.exp
4257 * gdb.fortran/module.exp
4258 * gdb.fortran/multi-dim.exp
4259 * gdb.fortran/nested-funcs.exp
4260 * gdb.fortran/print-formatted.exp
4261 * gdb.fortran/subarray.exp
4262 * gdb.fortran/vla-alloc-assoc.exp
4263 * gdb.fortran/vla-datatypes.exp
4264 * gdb.fortran/vla-history.exp
4265 * gdb.fortran/vla-ptr-info.exp
4266 * gdb.fortran/vla-ptype-sub.exp
4267 * gdb.fortran/vla-ptype.exp
4268 * gdb.fortran/vla-sizeof.exp
4269 * gdb.fortran/vla-type.exp
4270 * gdb.fortran/vla-value-sub-arbitrary.exp
4271 * gdb.fortran/vla-value-sub-finish.exp
4272 * gdb.fortran/vla-value-sub.exp
4273 * gdb.fortran/vla-value.exp
4274 * gdb.fortran/whatis_type.exp
4276 * gdb.go/handcall.exp
4278 * gdb.go/integers.exp
4279 * gdb.go/methods.exp
4280 * gdb.go/package.exp
4281 * gdb.go/strings.exp
4284 * gdb.guile/scm-arch.exp
4285 * gdb.guile/scm-block.exp
4286 * gdb.guile/scm-breakpoint.exp
4287 * gdb.guile/scm-cmd.exp
4288 * gdb.guile/scm-disasm.exp
4289 * gdb.guile/scm-equal.exp
4290 * gdb.guile/scm-frame-args.exp
4291 * gdb.guile/scm-frame-inline.exp
4292 * gdb.guile/scm-frame.exp
4293 * gdb.guile/scm-iterator.exp
4294 * gdb.guile/scm-math.exp
4295 * gdb.guile/scm-objfile.exp
4296 * gdb.guile/scm-ports.exp
4297 * gdb.guile/scm-symbol.exp
4298 * gdb.guile/scm-symtab.exp
4299 * gdb.guile/scm-value-cc.exp
4300 * gdb.guile/types-module.exp
4301 * gdb.linespec/break-ask.exp
4302 * gdb.linespec/cpexplicit.exp
4303 * gdb.linespec/explicit.exp
4304 * gdb.linespec/keywords.exp
4305 * gdb.linespec/linespec.exp
4306 * gdb.linespec/ls-dollar.exp
4307 * gdb.linespec/ls-errs.exp
4308 * gdb.linespec/skip-two.exp
4309 * gdb.linespec/thread.exp
4310 * gdb.mi/mi-async.exp
4311 * gdb.mi/mi-basics.exp
4312 * gdb.mi/mi-break.exp
4313 * gdb.mi/mi-catch-load.exp
4315 * gdb.mi/mi-cmd-param-changed.exp
4316 * gdb.mi/mi-console.exp
4317 * gdb.mi/mi-detach.exp
4318 * gdb.mi/mi-disassemble.exp
4319 * gdb.mi/mi-eval.exp
4320 * gdb.mi/mi-file-transfer.exp
4321 * gdb.mi/mi-file.exp
4322 * gdb.mi/mi-fill-memory.exp
4323 * gdb.mi/mi-inheritance-syntax-error.exp
4324 * gdb.mi/mi-linespec-err-cp.exp
4325 * gdb.mi/mi-logging.exp
4326 * gdb.mi/mi-memory-changed.exp
4327 * gdb.mi/mi-read-memory.exp
4328 * gdb.mi/mi-record-changed.exp
4329 * gdb.mi/mi-reg-undefined.exp
4330 * gdb.mi/mi-regs.exp
4331 * gdb.mi/mi-return.exp
4332 * gdb.mi/mi-reverse.exp
4333 * gdb.mi/mi-simplerun.exp
4334 * gdb.mi/mi-solib.exp
4335 * gdb.mi/mi-stack.exp
4336 * gdb.mi/mi-stepi.exp
4337 * gdb.mi/mi-syn-frame.exp
4338 * gdb.mi/mi-until.exp
4339 * gdb.mi/mi-var-block.exp
4340 * gdb.mi/mi-var-child.exp
4341 * gdb.mi/mi-var-cmd.exp
4342 * gdb.mi/mi-var-cp.exp
4343 * gdb.mi/mi-var-display.exp
4344 * gdb.mi/mi-var-invalidate.exp
4345 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
4346 * gdb.mi/mi-vla-fortran.exp
4347 * gdb.mi/mi-watch.exp
4348 * gdb.mi/mi2-var-child.exp
4349 * gdb.mi/user-selected-context-sync.exp
4350 * gdb.modula2/unbounded-array.exp
4351 * gdb.multi/dummy-frame-restore.exp
4352 * gdb.multi/multi-arch-exec.exp
4353 * gdb.multi/multi-arch.exp
4354 * gdb.multi/tids.exp
4355 * gdb.multi/watchpoint-multi.exp
4356 * gdb.opencl/callfuncs.exp
4357 * gdb.opencl/convs_casts.exp
4358 * gdb.opencl/datatypes.exp
4359 * gdb.opencl/operators.exp
4360 * gdb.opencl/vec_comps.exp
4361 * gdb.opt/clobbered-registers-O2.exp
4362 * gdb.opt/inline-break.exp
4363 * gdb.opt/inline-bt.exp
4364 * gdb.opt/inline-cmds.exp
4365 * gdb.opt/inline-locals.exp
4366 * gdb.pascal/case-insensitive-symbols.exp
4367 * gdb.pascal/floats.exp
4368 * gdb.pascal/gdb11492.exp
4369 * gdb.python/lib-types.exp
4370 * gdb.python/py-arch.exp
4371 * gdb.python/py-as-string.exp
4372 * gdb.python/py-bad-printers.exp
4373 * gdb.python/py-block.exp
4374 * gdb.python/py-breakpoint-create-fail.exp
4375 * gdb.python/py-breakpoint.exp
4376 * gdb.python/py-caller-is.exp
4377 * gdb.python/py-cmd.exp
4378 * gdb.python/py-explore-cc.exp
4379 * gdb.python/py-explore.exp
4380 * gdb.python/py-finish-breakpoint.exp
4381 * gdb.python/py-finish-breakpoint2.exp
4382 * gdb.python/py-frame-args.exp
4383 * gdb.python/py-frame-inline.exp
4384 * gdb.python/py-frame.exp
4385 * gdb.python/py-framefilter-mi.exp
4386 * gdb.python/py-infthread.exp
4387 * gdb.python/py-lazy-string.exp
4388 * gdb.python/py-linetable.exp
4389 * gdb.python/py-mi-events.exp
4390 * gdb.python/py-mi-objfile.exp
4391 * gdb.python/py-mi.exp
4392 * gdb.python/py-objfile.exp
4393 * gdb.python/py-pp-integral.exp
4394 * gdb.python/py-pp-maint.exp
4395 * gdb.python/py-pp-re-notag.exp
4396 * gdb.python/py-pp-registration.exp
4397 * gdb.python/py-recurse-unwind.exp
4398 * gdb.python/py-strfns.exp
4399 * gdb.python/py-symbol.exp
4400 * gdb.python/py-symtab.exp
4401 * gdb.python/py-sync-interp.exp
4402 * gdb.python/py-typeprint.exp
4403 * gdb.python/py-unwind-maint.exp
4404 * gdb.python/py-unwind.exp
4405 * gdb.python/py-value-cc.exp
4406 * gdb.python/py-xmethods.exp
4407 * gdb.reverse/amd64-tailcall-reverse.exp
4408 * gdb.reverse/break-precsave.exp
4409 * gdb.reverse/break-reverse.exp
4410 * gdb.reverse/consecutive-precsave.exp
4411 * gdb.reverse/consecutive-reverse.exp
4412 * gdb.reverse/finish-precsave.exp
4413 * gdb.reverse/finish-reverse-bkpt.exp
4414 * gdb.reverse/finish-reverse.exp
4415 * gdb.reverse/fstatat-reverse.exp
4416 * gdb.reverse/getresuid-reverse.exp
4417 * gdb.reverse/i386-precsave.exp
4418 * gdb.reverse/i386-reverse.exp
4419 * gdb.reverse/i386-sse-reverse.exp
4420 * gdb.reverse/i387-env-reverse.exp
4421 * gdb.reverse/i387-stack-reverse.exp
4422 * gdb.reverse/insn-reverse.exp
4423 * gdb.reverse/machinestate-precsave.exp
4424 * gdb.reverse/machinestate.exp
4425 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4426 * gdb.reverse/pipe-reverse.exp
4427 * gdb.reverse/readv-reverse.exp
4428 * gdb.reverse/recvmsg-reverse.exp
4429 * gdb.reverse/rerun-prec.exp
4430 * gdb.reverse/s390-mvcle.exp
4431 * gdb.reverse/step-precsave.exp
4432 * gdb.reverse/step-reverse.exp
4433 * gdb.reverse/time-reverse.exp
4434 * gdb.reverse/until-precsave.exp
4435 * gdb.reverse/until-reverse.exp
4436 * gdb.reverse/waitpid-reverse.exp
4437 * gdb.reverse/watch-precsave.exp
4438 * gdb.reverse/watch-reverse.exp
4439 * gdb.rust/generics.exp
4440 * gdb.rust/methods.exp
4441 * gdb.rust/modules.exp
4442 * gdb.rust/simple.exp
4443 * gdb.server/connect-with-no-symbol-file.exp
4444 * gdb.server/ext-attach.exp
4445 * gdb.server/ext-restart.exp
4446 * gdb.server/ext-wrapper.exp
4447 * gdb.server/file-transfer.exp
4448 * gdb.server/server-exec-info.exp
4449 * gdb.server/server-kill.exp
4450 * gdb.server/server-mon.exp
4451 * gdb.server/wrapper.exp
4452 * gdb.stabs/exclfwd.exp
4453 * gdb.stabs/gdb11479.exp
4454 * gdb.threads/clone-new-thread-event.exp
4455 * gdb.threads/corethreads.exp
4456 * gdb.threads/current-lwp-dead.exp
4457 * gdb.threads/dlopen-libpthread.exp
4458 * gdb.threads/gcore-thread.exp
4459 * gdb.threads/sigstep-threads.exp
4460 * gdb.threads/watchpoint-fork.exp
4461 * gdb.trace/actions-changed.exp
4462 * gdb.trace/backtrace.exp
4463 * gdb.trace/change-loc.exp
4464 * gdb.trace/circ.exp
4465 * gdb.trace/collection.exp
4466 * gdb.trace/disconnected-tracing.exp
4467 * gdb.trace/ftrace.exp
4468 * gdb.trace/mi-trace-frame-collected.exp
4469 * gdb.trace/mi-trace-unavailable.exp
4470 * gdb.trace/mi-traceframe-changed.exp
4471 * gdb.trace/mi-tsv-changed.exp
4472 * gdb.trace/no-attach-trace.exp
4473 * gdb.trace/passc-dyn.exp
4474 * gdb.trace/qtro.exp
4475 * gdb.trace/range-stepping.exp
4476 * gdb.trace/read-memory.exp
4477 * gdb.trace/save-trace.exp
4478 * gdb.trace/signal.exp
4479 * gdb.trace/status-stop.exp
4480 * gdb.trace/tfile.exp
4481 * gdb.trace/trace-break.exp
4482 * gdb.trace/trace-buffer-size.exp
4483 * gdb.trace/trace-condition.exp
4484 * gdb.trace/tracefile-pseudo-reg.exp
4485 * gdb.trace/tstatus.exp
4486 * gdb.trace/unavailable.exp
4487 * gdb.trace/while-dyn.exp
4488 * gdb.trace/while-stepping.exp
4490 2016-12-22 Doug Evans <xdje42@gmail.com>
4492 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
4495 2016-12-19 Yao Qi <yao.qi@linaro.org>
4497 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
4498 (test_with_self): Don't call do_steps_and_nexts, and remove
4499 code about stepping into xmalloc.
4501 2016-12-09 Yao Qi <yao.qi@linaro.org>
4503 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
4505 2016-12-09 Yao Qi <yao.qi@linaro.org>
4507 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
4509 2016-12-09 Pedro Alves <palves@redhat.com>
4511 * gdb.base/all-architectures-0.exp: New file.
4512 * gdb.base/all-architectures-1.exp: New file.
4513 * gdb.base/all-architectures-2.exp: New file.
4514 * gdb.base/all-architectures-3.exp: New file.
4515 * gdb.base/all-architectures-4.exp: New file.
4516 * gdb.base/all-architectures-5.exp: New file.
4517 * gdb.base/all-architectures-6.exp: New file.
4518 * gdb.base/all-architectures-7.exp: New file.
4519 * gdb.base/all-architectures.exp.in: New file.
4521 2016-12-09 Yao Qi <yao.qi@linaro.org>
4523 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
4525 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
4527 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
4529 Remove useless pattern-matching code.
4531 2016-12-02 Pedro Alves <palves@redhat.com>
4533 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
4535 (top level): Call it.
4537 2016-12-02 Pedro Alves <palves@redhat.com>
4539 * gdb.base/commands.exp (user_defined_command_args_stack_test):
4541 (top level): Call it.
4543 2016-12-02 Pedro Alves <palves@redhat.com>
4546 * gdb.base/commands.exp (user_defined_command_args_eval): New
4548 (top level): Call it.
4550 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
4552 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
4555 2016-12-02 Tom Tromey <tom@tromey.com>
4557 * gdb.dwarf2/main-subprogram.c: New file.
4558 * gdb.dwarf2/main-subprogram.exp: New file.
4560 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4562 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
4563 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
4564 gdb_test_no_output for a couple of cases.
4565 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
4567 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4569 Fix test names and standardize compilation error messages throughout
4570 the following files:
4573 * gdb.arch/alpha-step.exp
4574 * gdb.arch/e500-prologue.exp
4575 * gdb.arch/ftrace-insn-reloc.exp
4576 * gdb.arch/gdb1291.exp
4577 * gdb.arch/gdb1431.exp
4578 * gdb.arch/gdb1558.exp
4579 * gdb.arch/i386-dr3-watch.exp
4580 * gdb.arch/i386-sse-stack-align.exp
4581 * gdb.arch/ia64-breakpoint-shadow.exp
4582 * gdb.arch/pa-nullify.exp
4583 * gdb.arch/powerpc-aix-prologue.exp
4584 * gdb.arch/thumb-bx-pc.exp
4585 * gdb.base/annota1.exp
4586 * gdb.base/annota3.exp
4587 * gdb.base/arrayidx.exp
4588 * gdb.base/assign.exp
4589 * gdb.base/attach.exp
4592 * gdb.base/bfp-test.exp
4593 * gdb.base/bigcore.exp
4594 * gdb.base/bitfields2.exp
4595 * gdb.base/break-fun-addr.exp
4596 * gdb.base/break-probes.exp
4597 * gdb.base/call-rt-st.exp
4598 * gdb.base/callexit.exp
4599 * gdb.base/catch-fork-kill.exp
4600 * gdb.base/charset.exp
4601 * gdb.base/checkpoint.exp
4602 * gdb.base/comprdebug.exp
4603 * gdb.base/constvars.exp
4604 * gdb.base/coredump-filter.exp
4605 * gdb.base/cursal.exp
4606 * gdb.base/cvexpr.exp
4607 * gdb.base/detach.exp
4608 * gdb.base/display.exp
4609 * gdb.base/dmsym.exp
4610 * gdb.base/dprintf-pending.exp
4611 * gdb.base/dso2dso.exp
4612 * gdb.base/dtrace-probe.exp
4614 * gdb.base/enum_cond.exp
4615 * gdb.base/exe-lock.exp
4616 * gdb.base/exec-invalid-sysroot.exp
4617 * gdb.base/execl-update-breakpoints.exp
4618 * gdb.base/exprs.exp
4619 * gdb.base/fileio.exp
4621 * gdb.base/finish.exp
4622 * gdb.base/fixsection.exp
4623 * gdb.base/foll-vfork.exp
4624 * gdb.base/frame-args.exp
4625 * gdb.base/gcore.exp
4626 * gdb.base/gdb1250.exp
4627 * gdb.base/global-var-nested-by-dso.exp
4628 * gdb.base/gnu-ifunc.exp
4629 * gdb.base/hashline1.exp
4630 * gdb.base/hashline2.exp
4631 * gdb.base/hashline3.exp
4632 * gdb.base/hbreak-in-shr-unsupported.exp
4634 * gdb.base/infcall-input.exp
4635 * gdb.base/info-fun.exp
4636 * gdb.base/info-shared.exp
4637 * gdb.base/jit-simple.exp
4638 * gdb.base/jit-so.exp
4641 * gdb.base/label.exp
4642 * gdb.base/lineinc.exp
4643 * gdb.base/logical.exp
4644 * gdb.base/longjmp.exp
4645 * gdb.base/macscp.exp
4646 * gdb.base/miscexprs.exp
4647 * gdb.base/new-ui-echo.exp
4648 * gdb.base/new-ui-pending-input.exp
4649 * gdb.base/new-ui.exp
4650 * gdb.base/nodebug.exp
4651 * gdb.base/nofield.exp
4652 * gdb.base/offsets.exp
4653 * gdb.base/overlays.exp
4654 * gdb.base/pending.exp
4655 * gdb.base/pointers.exp
4656 * gdb.base/pr11022.exp
4657 * gdb.base/printcmds.exp
4658 * gdb.base/prologue.exp
4659 * gdb.base/ptr-typedef.exp
4660 * gdb.base/realname-expand.exp
4661 * gdb.base/relativedebug.exp
4662 * gdb.base/relocate.exp
4663 * gdb.base/remote.exp
4664 * gdb.base/reread.exp
4665 * gdb.base/return2.exp
4666 * gdb.base/savedregs.exp
4668 * gdb.base/sepdebug.exp
4669 * gdb.base/sepsymtab.exp
4670 * gdb.base/set-inferior-tty.exp
4671 * gdb.base/setshow.exp
4672 * gdb.base/shlib-call.exp
4673 * gdb.base/sigaltstack.exp
4674 * gdb.base/siginfo-addr.exp
4675 * gdb.base/signals.exp
4676 * gdb.base/signull.exp
4677 * gdb.base/sigrepeat.exp
4678 * gdb.base/so-impl-ld.exp
4679 * gdb.base/solib-display.exp
4680 * gdb.base/solib-overlap.exp
4681 * gdb.base/solib-search.exp
4682 * gdb.base/solib-symbol.exp
4683 * gdb.base/structs.exp
4684 * gdb.base/structs2.exp
4685 * gdb.base/symtab-search-order.exp
4686 * gdb.base/twice.exp
4687 * gdb.base/unload.exp
4688 * gdb.base/varargs.exp
4689 * gdb.base/watchpoint-solib.exp
4690 * gdb.base/watchpoint.exp
4691 * gdb.base/whatis.exp
4692 * gdb.base/wrong_frame_bt_full.exp
4693 * gdb.btrace/dlopen.exp
4694 * gdb.cell/ea-standalone.exp
4695 * gdb.cell/ea-test.exp
4696 * gdb.cp/dispcxx.exp
4697 * gdb.cp/gdb2384.exp
4698 * gdb.cp/method2.exp
4699 * gdb.cp/nextoverthrow.exp
4700 * gdb.cp/pr10728.exp
4701 * gdb.disasm/am33.exp
4702 * gdb.disasm/h8300s.exp
4703 * gdb.disasm/mn10300.exp
4704 * gdb.disasm/sh3.exp
4705 * gdb.dwarf2/dw2-dir-file-name.exp
4706 * gdb.fortran/complex.exp
4707 * gdb.fortran/library-module.exp
4708 * gdb.guile/scm-pretty-print.exp
4709 * gdb.guile/scm-symbol.exp
4710 * gdb.guile/scm-type.exp
4711 * gdb.guile/scm-value.exp
4712 * gdb.linespec/linespec.exp
4715 * gdb.mi/mi-breakpoint-changed.exp
4716 * gdb.mi/mi-dprintf-pending.exp
4717 * gdb.mi/mi-dprintf.exp
4718 * gdb.mi/mi-exit-code.exp
4719 * gdb.mi/mi-pending.exp
4720 * gdb.mi/mi-solib.exp
4721 * gdb.mi/new-ui-mi-sync.exp
4722 * gdb.mi/pr11022.exp
4723 * gdb.mi/user-selected-context-sync.exp
4724 * gdb.opt/solib-intra-step.exp
4725 * gdb.python/py-events.exp
4726 * gdb.python/py-finish-breakpoint.exp
4727 * gdb.python/py-mi.exp
4728 * gdb.python/py-prettyprint.exp
4729 * gdb.python/py-shared.exp
4730 * gdb.python/py-symbol.exp
4731 * gdb.python/py-template.exp
4732 * gdb.python/py-type.exp
4733 * gdb.python/py-value.exp
4734 * gdb.reverse/solib-precsave.exp
4735 * gdb.reverse/solib-reverse.exp
4736 * gdb.server/solib-list.exp
4737 * gdb.stabs/weird.exp
4738 * gdb.threads/reconnect-signal.exp
4739 * gdb.threads/stepi-random-signal.exp
4740 * gdb.trace/actions.exp
4742 * gdb.trace/backtrace.exp
4743 * gdb.trace/change-loc.exp
4744 * gdb.trace/deltrace.exp
4745 * gdb.trace/ftrace-lock.exp
4746 * gdb.trace/ftrace.exp
4747 * gdb.trace/infotrace.exp
4748 * gdb.trace/mi-tracepoint-changed.exp
4749 * gdb.trace/packetlen.exp
4750 * gdb.trace/passcount.exp
4751 * gdb.trace/pending.exp
4752 * gdb.trace/range-stepping.exp
4753 * gdb.trace/report.exp
4754 * gdb.trace/stap-trace.exp
4755 * gdb.trace/tfind.exp
4756 * gdb.trace/trace-break.exp
4757 * gdb.trace/trace-condition.exp
4758 * gdb.trace/trace-enable-disable.exp
4759 * gdb.trace/trace-mt.exp
4760 * gdb.trace/tracecmd.exp
4761 * gdb.trace/tspeed.exp
4765 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4767 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
4768 with gdb_test_no_output.
4769 Use command as test name.
4771 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4773 Fix test names starting with uppercase throughout the files.
4775 * gdb.ada/assign_1.exp
4776 * gdb.ada/boolean_expr.exp
4777 * gdb.base/arrayidx.exp
4779 * gdb.base/gcore-buffer-overflow.exp
4780 * gdb.base/testenv.exp
4781 * gdb.compile/compile.exp
4782 * gdb.python/py-framefilter-invalidarg.exp
4783 * gdb.python/py-framefilter.exp
4785 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4787 Fix test names starting with uppercase throughout the files.
4789 * gdb.ada/array_return.exp
4790 * gdb.ada/expr_delims.exp
4791 * gdb.ada/mi_dyn_arr.exp
4792 * gdb.ada/mi_interface.exp
4793 * gdb.ada/mi_var_array.exp
4794 * gdb.ada/watch_arg.exp
4795 * gdb.arch/alpha-step.exp
4796 * gdb.arch/altivec-regs.exp
4797 * gdb.arch/e500-regs.exp
4798 * gdb.arch/powerpc-d128-regs.exp
4799 * gdb.base/arrayidx.exp
4800 * gdb.base/break.exp
4801 * gdb.base/checkpoint.exp
4802 * gdb.base/debug-expr.exp
4803 * gdb.base/dmsym.exp
4804 * gdb.base/radix.exp
4805 * gdb.base/sepdebug.exp
4806 * gdb.base/testenv.exp
4807 * gdb.base/watch_thread_num.exp
4808 * gdb.base/watchpoint-cond-gone.exp
4809 * gdb.cell/break.exp
4810 * gdb.cell/ea-cache.exp
4811 * gdb.compile/compile.exp
4812 * gdb.cp/gdb2495.exp
4813 * gdb.gdb/selftest.exp
4814 * gdb.gdb/xfullpath.exp
4816 * gdb.go/integers.exp
4817 * gdb.objc/basicclass.exp
4818 * gdb.pascal/hello.exp
4819 * gdb.pascal/integers.exp
4820 * gdb.python/py-breakpoint.exp
4821 * gdb.python/py-cmd.exp
4822 * gdb.python/py-linetable.exp
4823 * gdb.python/py-xmethods.exp
4824 * gdb.python/python.exp
4825 * gdb.reverse/consecutive-precsave.exp
4826 * gdb.reverse/finish-precsave.exp
4827 * gdb.reverse/i386-precsave.exp
4828 * gdb.reverse/machinestate-precsave.exp
4829 * gdb.reverse/sigall-precsave.exp
4830 * gdb.reverse/solib-precsave.exp
4831 * gdb.reverse/step-precsave.exp
4832 * gdb.reverse/until-precsave.exp
4833 * gdb.reverse/watch-precsave.exp
4834 * gdb.threads/leader-exit.exp
4835 * gdb.threads/pthreads.exp
4836 * gdb.threads/wp-replication.exp
4837 * gdb.trace/actions.exp
4838 * gdb.trace/mi-tsv-changed.exp
4841 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4843 Fix test names starting with uppercase throughout the files.
4845 * gdb.arch/i386-bp_permanent.exp
4846 * gdb.arch/i386-gnu-cfi.exp
4847 * gdb.base/disasm-end-cu.exp
4848 * gdb.base/macscp.exp
4849 * gdb.base/pending.exp
4850 * gdb.base/watch_thread_num.exp
4851 * gdb.cp/exception.exp
4852 * gdb.cp/gdb2495.exp
4854 * gdb.python/py-evsignal.exp
4855 * gdb.python/python.exp
4856 * gdb.trace/tracecmd.exp
4858 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4860 Fix test names starting with uppercase throughout the files.
4862 * gdb.base/charset.exp
4864 * gdb.base/multi-forks.exp
4865 * gdb.guile/scm-progspace.exp
4866 * gdb.opencl/datatypes.exp
4867 * gdb.python/py-block.exp
4868 * gdb.python/py-function.exp
4869 * gdb.python/py-symbol.exp
4870 * gdb.python/py-symtab.exp
4871 * gdb.python/py-xmethods.exp
4872 * gdb.reverse/break-precsave.exp
4873 * gdb.reverse/break-reverse.exp
4874 * gdb.reverse/consecutive-precsave.exp
4875 * gdb.reverse/consecutive-reverse.exp
4876 * gdb.reverse/finish-precsave.exp
4877 * gdb.reverse/finish-reverse-bkpt.exp
4878 * gdb.reverse/finish-reverse.exp
4879 * gdb.reverse/fstatat-reverse.exp
4880 * gdb.reverse/getresuid-reverse.exp
4881 * gdb.reverse/i386-precsave.exp
4882 * gdb.reverse/i386-reverse.exp
4883 * gdb.reverse/i386-sse-reverse.exp
4884 * gdb.reverse/i387-stack-reverse.exp
4885 * gdb.reverse/insn-reverse.exp
4886 * gdb.reverse/machinestate-precsave.exp
4887 * gdb.reverse/machinestate.exp
4888 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4889 * gdb.reverse/pipe-reverse.exp
4890 * gdb.reverse/readv-reverse.exp
4891 * gdb.reverse/recvmsg-reverse.exp
4892 * gdb.reverse/rerun-prec.exp
4893 * gdb.reverse/s390-mvcle.exp
4894 * gdb.reverse/sigall-precsave.exp
4895 * gdb.reverse/sigall-reverse.exp
4896 * gdb.reverse/solib-precsave.exp
4897 * gdb.reverse/solib-reverse.exp
4898 * gdb.reverse/step-precsave.exp
4899 * gdb.reverse/step-reverse.exp
4900 * gdb.reverse/time-reverse.exp
4901 * gdb.reverse/until-precsave.exp
4902 * gdb.reverse/until-reverse.exp
4903 * gdb.reverse/waitpid-reverse.exp
4904 * gdb.reverse/watch-precsave.exp
4905 * gdb.reverse/watch-reverse.exp
4907 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4909 Fix test names starting with uppercase throughout the files.
4911 * gdb.arch/i386-mpx-simple_segv.exp
4912 * gdb.arch/i386-mpx.exp
4913 * gdb.arch/i386-permbkpt.exp
4914 * gdb.arch/pa-nullify.exp
4915 * gdb.arch/powerpc-d128-regs.exp
4916 * gdb.arch/vsx-regs.exp
4917 * gdb.base/bfp-test.exp
4918 * gdb.base/break.exp
4919 * gdb.base/breakpoint-shadow.exp
4920 * gdb.base/callfuncs.exp
4921 * gdb.base/charset.exp
4922 * gdb.base/commands.exp
4923 * gdb.base/completion.exp
4924 * gdb.base/dfp-test.exp
4926 * gdb.base/ending-run.exp
4928 * gdb.base/expand-psymtabs.exp
4929 * gdb.base/float128.exp
4930 * gdb.base/floatn.exp
4931 * gdb.base/foll-exec-mode.exp
4932 * gdb.base/gdb1056.exp
4933 * gdb.base/gdb11531.exp
4934 * gdb.base/kill-after-signal.exp
4935 * gdb.base/multi-forks.exp
4936 * gdb.base/overlays.exp
4937 * gdb.base/pending.exp
4938 * gdb.base/sepdebug.exp
4939 * gdb.base/testenv.exp
4940 * gdb.base/valgrind-db-attach.exp
4941 * gdb.base/watch_thread_num.exp
4942 * gdb.base/watchpoint-cond-gone.exp
4943 * gdb.base/watchpoint.exp
4944 * gdb.base/watchpoints.exp
4945 * gdb.cp/arg-reference.exp
4946 * gdb.cp/baseenum.exp
4947 * gdb.cp/operator.exp
4949 * gdb.dwarf2/dw2-op-out-param.exp
4950 * gdb.dwarf2/dw2-reg-undefined.exp
4953 * gdb.go/integers.exp
4954 * gdb.go/methods.exp
4955 * gdb.go/package.exp
4956 * gdb.guile/scm-parameter.exp
4957 * gdb.guile/scm-progspace.exp
4958 * gdb.guile/scm-value.exp
4959 * gdb.mi/mi-pending.exp
4960 * gdb.mi/user-selected-context-sync.exp
4961 * gdb.multi/multi-attach.exp
4962 * gdb.multi/tids.exp
4963 * gdb.opt/clobbered-registers-O2.exp
4964 * gdb.pascal/floats.exp
4965 * gdb.pascal/integers.exp
4966 * gdb.python/py-block.exp
4967 * gdb.python/py-events.exp
4968 * gdb.python/py-parameter.exp
4969 * gdb.python/py-symbol.exp
4970 * gdb.python/py-symtab.exp
4971 * gdb.python/py-type.exp
4972 * gdb.python/py-value.exp
4973 * gdb.python/py-xmethods.exp
4974 * gdb.python/python.exp
4975 * gdb.reverse/break-precsave.exp
4976 * gdb.reverse/consecutive-precsave.exp
4977 * gdb.reverse/finish-precsave.exp
4978 * gdb.reverse/i386-precsave.exp
4979 * gdb.reverse/machinestate-precsave.exp
4980 * gdb.reverse/sigall-precsave.exp
4981 * gdb.reverse/solib-precsave.exp
4982 * gdb.reverse/step-precsave.exp
4983 * gdb.reverse/until-precsave.exp
4984 * gdb.reverse/watch-precsave.exp
4985 * gdb.server/ext-attach.exp
4986 * gdb.server/ext-restart.exp
4987 * gdb.server/ext-run.exp
4988 * gdb.server/ext-wrapper.exp
4989 * gdb.stabs/gdb11479.exp
4990 * gdb.stabs/weird.exp
4991 * gdb.threads/attach-many-short-lived-threads.exp
4992 * gdb.threads/kill.exp
4993 * gdb.threads/watchpoint-fork.exp
4995 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4997 Fix test names starting with uppercase throughout all the files below.
4999 * gdb.ada/array_return.exp
5000 * gdb.ada/catch_ex.exp
5001 * gdb.ada/info_exc.exp
5002 * gdb.ada/mi_catch_ex.exp
5003 * gdb.ada/mi_dyn_arr.exp
5004 * gdb.ada/mi_ex_cond.exp
5005 * gdb.ada/mi_exc_info.exp
5006 * gdb.ada/mi_interface.exp
5007 * gdb.ada/mi_task_arg.exp
5008 * gdb.ada/mi_task_info.exp
5009 * gdb.ada/mi_var_array.exp
5010 * gdb.arch/alpha-step.exp
5011 * gdb.arch/amd64-disp-step.exp
5012 * gdb.arch/arm-disp-step.exp
5013 * gdb.arch/disp-step-insn-reloc.exp
5014 * gdb.arch/e500-prologue.exp
5015 * gdb.arch/ftrace-insn-reloc.exp
5016 * gdb.arch/gdb1558.exp
5017 * gdb.arch/i386-bp_permanent.exp
5018 * gdb.arch/i386-disp-step.exp
5019 * gdb.arch/i386-float.exp
5020 * gdb.arch/i386-gnu-cfi.exp
5021 * gdb.arch/ia64-breakpoint-shadow.exp
5022 * gdb.arch/mips16-thunks.exp
5023 * gdb.arch/pa-nullify.exp
5024 * gdb.arch/powerpc-aix-prologue.exp
5025 * gdb.arch/powerpc-power.exp
5026 * gdb.arch/ppc-dfp.exp
5027 * gdb.arch/s390-tdbregs.exp
5028 * gdb.arch/spu-info.exp
5029 * gdb.arch/spu-ls.exp
5030 * gdb.arch/thumb-bx-pc.exp
5031 * gdb.base/advance.exp
5032 * gdb.base/annota-input-while-running.exp
5033 * gdb.base/arrayidx.exp
5034 * gdb.base/asmlabel.exp
5035 * gdb.base/async.exp
5036 * gdb.base/attach-wait-input.exp
5037 * gdb.base/auto-connect-native-target.exp
5038 * gdb.base/batch-preserve-term-settings.exp
5039 * gdb.base/bfp-test.exp
5040 * gdb.base/bigcore.exp
5041 * gdb.base/bp-permanent.exp
5042 * gdb.base/break-always.exp
5043 * gdb.base/break-fun-addr.exp
5044 * gdb.base/break-idempotent.exp
5045 * gdb.base/break-main-file-remove-fail.exp
5046 * gdb.base/break-probes.exp
5047 * gdb.base/break-unload-file.exp
5048 * gdb.base/break.exp
5049 * gdb.base/call-ar-st.exp
5050 * gdb.base/call-rt-st.exp
5051 * gdb.base/call-sc.exp
5052 * gdb.base/call-signal-resume.exp
5053 * gdb.base/call-strs.exp
5054 * gdb.base/callexit.exp
5055 * gdb.base/callfuncs.exp
5056 * gdb.base/catch-gdb-caused-signals.exp
5057 * gdb.base/catch-signal-siginfo-cond.exp
5058 * gdb.base/catch-syscall.exp
5059 * gdb.base/compare-sections.exp
5060 * gdb.base/cond-eval-mode.exp
5061 * gdb.base/condbreak-call-false.exp
5062 * gdb.base/consecutive-step-over.exp
5063 * gdb.base/cursal.exp
5064 * gdb.base/disabled-location.exp
5065 * gdb.base/disasm-end-cu.exp
5066 * gdb.base/display.exp
5067 * gdb.base/double-prompt-target-event-error.exp
5068 * gdb.base/dprintf-bp-same-addr.exp
5069 * gdb.base/dprintf-detach.exp
5070 * gdb.base/dprintf-next.exp
5071 * gdb.base/dprintf-non-stop.exp
5072 * gdb.base/dprintf-pending.exp
5073 * gdb.base/dso2dso.exp
5074 * gdb.base/ending-run.exp
5075 * gdb.base/enum_cond.exp
5076 * gdb.base/examine-backward.exp
5077 * gdb.base/exe-lock.exp
5078 * gdb.base/exec-invalid-sysroot.exp
5079 * gdb.base/execl-update-breakpoints.exp
5080 * gdb.base/execution-termios.exp
5081 * gdb.base/fileio.exp
5082 * gdb.base/fixsection.exp
5083 * gdb.base/foll-exec-mode.exp
5084 * gdb.base/foll-exec.exp
5085 * gdb.base/fork-running-state.exp
5086 * gdb.base/frame-args.exp
5087 * gdb.base/fullpath-expand.exp
5088 * gdb.base/func-ptr.exp
5089 * gdb.base/gcore-relro-pie.exp
5090 * gdb.base/gdb1090.exp
5091 * gdb.base/gdb1555.exp
5092 * gdb.base/global-var-nested-by-dso.exp
5093 * gdb.base/gnu-ifunc.exp
5094 * gdb.base/hbreak-in-shr-unsupported.exp
5095 * gdb.base/hbreak-unmapped.exp
5096 * gdb.base/hook-stop.exp
5097 * gdb.base/infcall-input.exp
5098 * gdb.base/info-fun.exp
5099 * gdb.base/info-shared.exp
5100 * gdb.base/interrupt-noterm.exp
5101 * gdb.base/jit-so.exp
5103 * gdb.base/line-symtabs.exp
5105 * gdb.base/longjmp.exp
5106 * gdb.base/macscp.exp
5107 * gdb.base/max-value-size.exp
5108 * gdb.base/nodebug.exp
5109 * gdb.base/nofield.exp
5110 * gdb.base/overlays.exp
5111 * gdb.base/paginate-after-ctrl-c-running.exp
5112 * gdb.base/paginate-bg-execution.exp
5113 * gdb.base/paginate-inferior-exit.exp
5114 * gdb.base/pending.exp
5115 * gdb.base/pr11022.exp
5116 * gdb.base/printcmds.exp
5117 * gdb.base/ptr-typedef.exp
5118 * gdb.base/ptype.exp
5119 * gdb.base/randomize.exp
5120 * gdb.base/range-stepping.exp
5121 * gdb.base/realname-expand.exp
5122 * gdb.base/relativedebug.exp
5123 * gdb.base/remote.exp
5124 * gdb.base/savedregs.exp
5125 * gdb.base/sepdebug.exp
5126 * gdb.base/set-noassign.exp
5127 * gdb.base/shlib-call.exp
5128 * gdb.base/shreloc.exp
5129 * gdb.base/sigaltstack.exp
5130 * gdb.base/sigbpt.exp
5131 * gdb.base/siginfo-addr.exp
5132 * gdb.base/siginfo-obj.exp
5133 * gdb.base/siginfo-thread.exp
5134 * gdb.base/signest.exp
5135 * gdb.base/signull.exp
5136 * gdb.base/sigrepeat.exp
5138 * gdb.base/so-impl-ld.exp
5139 * gdb.base/solib-corrupted.exp
5140 * gdb.base/solib-disc.exp
5141 * gdb.base/solib-display.exp
5142 * gdb.base/solib-overlap.exp
5143 * gdb.base/solib-search.exp
5144 * gdb.base/solib-symbol.exp
5145 * gdb.base/source-execution.exp
5146 * gdb.base/sss-bp-on-user-bp-2.exp
5147 * gdb.base/sss-bp-on-user-bp.exp
5148 * gdb.base/stack-checking.exp
5149 * gdb.base/stale-infcall.exp
5150 * gdb.base/step-break.exp
5151 * gdb.base/step-line.exp
5152 * gdb.base/step-over-exit.exp
5153 * gdb.base/step-test.exp
5154 * gdb.base/structs.exp
5155 * gdb.base/sym-file.exp
5156 * gdb.base/symtab-search-order.exp
5158 * gdb.base/type-opaque.exp
5159 * gdb.base/unload.exp
5160 * gdb.base/until-nodebug.exp
5161 * gdb.base/until.exp
5162 * gdb.base/unwindonsignal.exp
5163 * gdb.base/watch-cond.exp
5164 * gdb.base/watch-non-mem.exp
5165 * gdb.base/watch_thread_num.exp
5166 * gdb.base/watchpoint-reuse-slot.exp
5167 * gdb.base/watchpoint-solib.exp
5168 * gdb.base/watchpoint.exp
5169 * gdb.btrace/dlopen.exp
5171 * gdb.cell/break.exp
5175 * gdb.cell/dwarfaddr.exp
5176 * gdb.cell/ea-cache.exp
5177 * gdb.cell/ea-standalone.exp
5178 * gdb.cell/ea-test.exp
5179 * gdb.cell/f-regs.exp
5181 * gdb.cell/gcore.exp
5182 * gdb.cell/mem-access.exp
5183 * gdb.cell/ptype.exp
5184 * gdb.cell/registers.exp
5185 * gdb.cell/sizeof.exp
5186 * gdb.cell/solib-symbol.exp
5187 * gdb.cell/solib.exp
5188 * gdb.compile/compile-tls.exp
5189 * gdb.cp/exception.exp
5190 * gdb.cp/gdb2495.exp
5192 * gdb.cp/mb-inline.exp
5193 * gdb.cp/mb-templates.exp
5194 * gdb.cp/pr10687.exp
5196 * gdb.cp/scope-err.exp
5197 * gdb.cp/templates.exp
5198 * gdb.cp/virtfunc.exp
5199 * gdb.dwarf2/dw2-dir-file-name.exp
5200 * gdb.dwarf2/dw2-single-line-discriminators.exp
5201 * gdb.fortran/complex.exp
5202 * gdb.fortran/library-module.exp
5203 * gdb.guile/guile.exp
5204 * gdb.guile/scm-cmd.exp
5205 * gdb.guile/scm-frame-inline.exp
5206 * gdb.guile/scm-objfile.exp
5207 * gdb.guile/scm-pretty-print.exp
5208 * gdb.guile/scm-symbol.exp
5209 * gdb.guile/scm-type.exp
5210 * gdb.guile/scm-value.exp
5211 * gdb.linespec/keywords.exp
5212 * gdb.linespec/ls-errs.exp
5213 * gdb.linespec/macro-relative.exp
5214 * gdb.linespec/thread.exp
5215 * gdb.mi/mi-breakpoint-changed.exp
5216 * gdb.mi/mi-dprintf-pending.exp
5217 * gdb.mi/mi-fullname-deleted.exp
5218 * gdb.mi/mi-logging.exp
5219 * gdb.mi/mi-pending.exp
5220 * gdb.mi/mi-solib.exp
5221 * gdb.mi/new-ui-mi-sync.exp
5222 * gdb.mi/user-selected-context-sync.exp
5223 * gdb.multi/dummy-frame-restore.exp
5224 * gdb.multi/multi-arch-exec.exp
5225 * gdb.multi/remove-inferiors.exp
5226 * gdb.multi/watchpoint-multi-exit.exp
5227 * gdb.opt/solib-intra-step.exp
5228 * gdb.perf/backtrace.exp
5229 * gdb.perf/single-step.exp
5230 * gdb.perf/skip-command.exp
5231 * gdb.perf/skip-prologue.exp
5232 * gdb.perf/solib.exp
5233 * gdb.python/lib-types.exp
5234 * gdb.python/py-as-string.exp
5235 * gdb.python/py-bad-printers.exp
5236 * gdb.python/py-block.exp
5237 * gdb.python/py-breakpoint.exp
5238 * gdb.python/py-cmd.exp
5239 * gdb.python/py-events.exp
5240 * gdb.python/py-evthreads.exp
5241 * gdb.python/py-finish-breakpoint.exp
5242 * gdb.python/py-finish-breakpoint2.exp
5243 * gdb.python/py-frame-inline.exp
5244 * gdb.python/py-frame.exp
5245 * gdb.python/py-inferior.exp
5246 * gdb.python/py-infthread.exp
5247 * gdb.python/py-mi.exp
5248 * gdb.python/py-objfile.exp
5249 * gdb.python/py-pp-maint.exp
5250 * gdb.python/py-pp-registration.exp
5251 * gdb.python/py-prettyprint.exp
5252 * gdb.python/py-recurse-unwind.exp
5253 * gdb.python/py-shared.exp
5254 * gdb.python/py-symbol.exp
5255 * gdb.python/py-symtab.exp
5256 * gdb.python/py-template.exp
5257 * gdb.python/py-type.exp
5258 * gdb.python/py-unwind-maint.exp
5259 * gdb.python/py-unwind.exp
5260 * gdb.python/py-value.exp
5261 * gdb.python/python.exp
5262 * gdb.reverse/finish-reverse-bkpt.exp
5263 * gdb.reverse/insn-reverse.exp
5264 * gdb.reverse/next-reverse-bkpt-over-sr.exp
5265 * gdb.reverse/solib-precsave.exp
5266 * gdb.reverse/solib-reverse.exp
5267 * gdb.stabs/gdb11479.exp
5268 * gdb.stabs/weird.exp
5269 * gdb.threads/fork-child-threads.exp
5270 * gdb.threads/fork-plus-threads.exp
5271 * gdb.threads/fork-thread-pending.exp
5272 * gdb.threads/forking-threads-plus-breakpoint.exp
5273 * gdb.threads/hand-call-in-threads.exp
5274 * gdb.threads/interrupted-hand-call.exp
5275 * gdb.threads/linux-dp.exp
5276 * gdb.threads/local-watch-wrong-thread.exp
5277 * gdb.threads/next-while-other-thread-longjmps.exp
5278 * gdb.threads/non-ldr-exit.exp
5279 * gdb.threads/pending-step.exp
5280 * gdb.threads/print-threads.exp
5281 * gdb.threads/process-dies-while-detaching.exp
5282 * gdb.threads/process-dies-while-handling-bp.exp
5283 * gdb.threads/pthreads.exp
5284 * gdb.threads/queue-signal.exp
5285 * gdb.threads/reconnect-signal.exp
5286 * gdb.threads/signal-command-handle-nopass.exp
5287 * gdb.threads/signal-command-multiple-signals-pending.exp
5288 * gdb.threads/signal-delivered-right-thread.exp
5289 * gdb.threads/signal-sigtrap.exp
5290 * gdb.threads/sigthread.exp
5291 * gdb.threads/staticthreads.exp
5292 * gdb.threads/stepi-random-signal.exp
5293 * gdb.threads/thread-unwindonsignal.exp
5294 * gdb.threads/thread_check.exp
5295 * gdb.threads/thread_events.exp
5296 * gdb.threads/tid-reuse.exp
5297 * gdb.threads/tls-nodebug.exp
5298 * gdb.threads/tls-shared.exp
5299 * gdb.threads/tls-so_extern.exp
5300 * gdb.threads/tls.exp
5301 * gdb.threads/wp-replication.exp
5302 * gdb.trace/actions-changed.exp
5303 * gdb.trace/actions.exp
5304 * gdb.trace/backtrace.exp
5305 * gdb.trace/change-loc.exp
5306 * gdb.trace/collection.exp
5307 * gdb.trace/deltrace.exp
5308 * gdb.trace/disconnected-tracing.exp
5309 * gdb.trace/entry-values.exp
5310 * gdb.trace/ftrace-lock.exp
5311 * gdb.trace/ftrace.exp
5312 * gdb.trace/infotrace.exp
5313 * gdb.trace/mi-trace-frame-collected.exp
5314 * gdb.trace/mi-trace-unavailable.exp
5315 * gdb.trace/mi-traceframe-changed.exp
5316 * gdb.trace/mi-tracepoint-changed.exp
5317 * gdb.trace/mi-tsv-changed.exp
5318 * gdb.trace/no-attach-trace.exp
5319 * gdb.trace/packetlen.exp
5320 * gdb.trace/passc-dyn.exp
5321 * gdb.trace/passcount.exp
5322 * gdb.trace/pending.exp
5323 * gdb.trace/pr16508.exp
5324 * gdb.trace/qtro.exp
5325 * gdb.trace/range-stepping.exp
5326 * gdb.trace/read-memory.exp
5327 * gdb.trace/report.exp
5328 * gdb.trace/save-trace.exp
5329 * gdb.trace/signal.exp
5330 * gdb.trace/stap-trace.exp
5331 * gdb.trace/status-stop.exp
5332 * gdb.trace/strace.exp
5333 * gdb.trace/tfile.exp
5334 * gdb.trace/tfind.exp
5335 * gdb.trace/trace-break.exp
5336 * gdb.trace/trace-condition.exp
5337 * gdb.trace/trace-enable-disable.exp
5338 * gdb.trace/trace-mt.exp
5339 * gdb.trace/tracecmd.exp
5340 * gdb.trace/tracefile-pseudo-reg.exp
5341 * gdb.trace/tspeed.exp
5342 * gdb.trace/tstatus.exp
5344 * gdb.trace/unavailable.exp
5345 * gdb.trace/while-dyn.exp
5346 * gdb.trace/while-stepping.exp
5349 * lib/mi-support.exp
5352 * lib/prelink-support.exp
5353 * lib/selftest-support.exp
5355 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
5357 * Makefile.in: Include disable-implicit-rules.mk.
5359 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5361 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
5362 non-byte-aligned bit fields.
5364 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5367 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
5368 respects the DW_AT_data_bit_offset attribute.
5370 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
5372 * gdb.base/default.exp: Fix output of "set language".
5374 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
5376 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
5377 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
5379 * configure.ac: Remove checks for the make program.
5380 * configure: Re-generate.
5382 2016-11-16 Kevin Buettner <kevinb@redhat.com>
5384 * gdb.python/py-recurse-unwind.c (main): Add loop.
5385 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
5386 to read_register() and gdb.parse_and_eval(). Make each code
5387 call a separate case that can be individually tested.
5388 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
5389 proc. Call cont_and_backtrace for each of the code paths that
5390 we want to test in the unwinder.
5392 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
5394 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
5395 the definition of struct S.
5397 2016-11-11 Catherine Moore <clm@codesourcery.com>
5399 * gdb.base/dump.exp: Identify verilog format dump tests as such.
5401 2016-11-09 Pedro Alves <palves@redhat.com>
5403 * gdb.base/commands.exp (runto_or_return): New procedure.
5404 (gdbvar_simple_if_test, gdbvar_simple_while_test)
5405 (gdbvar_complex_if_while_test, progvar_simple_if_test)
5406 (progvar_simple_while_test, progvar_complex_if_while_test)
5407 (if_while_breakpoint_command_test)
5408 (infrun_breakpoint_command_test, breakpoint_command_test)
5409 (user_defined_command_test, watchpoint_command_test)
5410 (test_command_prompt_position, redefine_hook_test)
5411 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
5412 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
5413 multi_line_input and multi_line. Remove gdb_expect and
5414 gdb_stop_suppressing_tests uses.
5415 * lib/gdb.exp (valnum_re): New global.
5416 (multi_line_input): New procedure.
5418 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
5420 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
5422 (test_setup): Define with proc_with_prefix.
5423 (test_cli_inferior): Likewise.
5424 (test_cli_thread): Likewise.
5425 (test_cli_frame): Likewise.
5426 (test_cli_select_frame): Likewise.
5427 (test_cli_up_down): Likewise.
5428 (test_mi_thread_select): Likewise.
5429 (test_mi_stack_select_frame): Likewise.
5430 (test_cli_in_mi_inferior): Likewise.
5431 (test_cli_in_mi_thread): Likewise.
5432 (test_cli_in_mi_frame): Likewise.
5433 (top level): Do not use with_test_prefix_procname.
5435 2016-11-09 Pedro Alves <palves@redhat.com>
5437 * gdb.base/commands.exp (gdbvar_simple_if_test)
5438 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
5439 (progvar_simple_if_test, progvar_simple_while_test)
5440 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
5441 (infrun_breakpoint_command_test, breakpoint_command_test)
5442 (user_defined_command_test, watchpoint_command_test)
5443 (test_command_prompt_position, deprecated_command_test)
5444 (bp_deleted_in_command, temporary_breakpoint_commands)
5445 (stray_arg0_test, source_file_with_indented_comment)
5446 (recursive_source_test, if_commands_test)
5447 (error_clears_commands_left, redefine_hook_test)
5448 (redefine_backtrace_test): Use proc_with_prefix.
5449 * lib/gdb.exp (proc_with_prefix): New proc.
5451 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
5453 * gdb.base/tui-layout.c: New file.
5454 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
5455 disassembly window contains very long lines.
5457 2016-11-08 Tom Tromey <tom@tromey.com>
5459 * gdb.python/py-value.exp (test_value_creation): Make "long" test
5462 2016-11-08 Tom Tromey <tom@tromey.com>
5464 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
5467 2016-10-29 Manish Goregaokar <manish@mozilla.com>
5469 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
5471 2016-10-27 Manish Goregaokar <manish@mozilla.com>
5473 * gdb.rust/simple.rs: Add test for univariant enums without
5474 discriminants and for encoded struct-like enums.
5476 2016-10-28 Pedro Alves <palves@redhat.com>
5478 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
5479 gdb_test_multiple, tighten regexps and match symtabs and line
5480 tables incrementally.
5482 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
5484 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
5487 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
5489 * gdb.base/exec-invalid-sysroot.exp: New file.
5491 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5493 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
5495 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5497 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
5499 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
5501 * gdb.base/killed-outside.exp: Remove $options from a call to
5502 `prepare_for_testing'.
5504 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5506 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5507 Change test message.
5509 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5511 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5514 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5516 * gdb.trace/mi-trace-save.exp: New file.
5518 2016-10-13 Yao Qi <yao.qi@linaro.org>
5520 * gdb.base/code_elim.exp (get_var_address): Remove.
5521 * gdb.base/relocate.exp: Likewise.
5522 * gdb.base/shreloc.exp: Likewise.
5523 * lib/gdb.exp (get_var_address): New.
5525 2016-10-13 Yao Qi <yao.qi@linaro.org>
5527 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
5528 floating point tests if $skip_float_test is false.
5530 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
5532 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
5533 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
5535 Add 1 to argc so we guarantee distinct initial/modified argc values.
5537 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5539 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
5541 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5543 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
5544 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
5545 * gdb.arch/vsx-regs.exp: Likewise.
5547 2016-10-07 Yao Qi <yao.qi@linaro.org>
5549 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
5551 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
5553 * gdb.python/python.exp: Test decode_line("*0").
5555 2016-10-06 Doug Evans <dje@google.com>
5557 * gdb.python/py-value.exp (test_value_creation): Add test for large
5558 unsigned 64-bit value.
5560 2016-10-06 Tom Tromey <tom@tromey.com>
5562 * gdb.compile/compile.exp: Change java tests to rust.
5563 * gdb.base/setshow.exp: Change java tests to rust.
5564 * gdb.base/default.exp: Remove java from language list.
5565 * README (Examples): Update language example.
5566 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
5568 * lib/gdb.exp (skip_java_tests): Remove.
5569 * lib/java.exp: Remove.
5572 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
5574 * gdb.arch/mips-fcr.exp: New test.
5575 * gdb.arch/mips-fcr.c: Source for the new test.
5577 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
5579 * gdb.base/solib-disc.exp: Use `standard_output_file'
5582 2016-10-06 Pedro Alves <palves@redhat.com>
5584 * gdb.base/jit-simple-dl.c: New file.
5585 * gdb.base/jit-simple-jit.c: New file, factored out from ...
5586 * gdb.base/jit-simple.c: ... this.
5587 * gdb.base/jit-simple.exp (jit_run): Delete.
5588 (build_jit): New proc.
5589 (jit_test_reread): Recompile either the main program or the shared
5590 library, depending on what is being tested. Skip changing address
5591 if caller wants to. Compare before/after addresses. If testing
5592 standalone, explicitly load the binary. Test "maint info
5594 (top level): Add "standalone vs shared lib" and "change address"
5595 vs "same address" axes.
5597 2016-10-06 Pedro Alves <palves@redhat.com>
5599 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
5602 (jit_test_reread): Use with_test_prefix. Reload the main binary
5603 explicitly. Compare the before/after addresses of the JIT
5606 2016-08-15 Doug Evans <dje@google.com>
5608 * gdb.xml/extra-regs.xml: Update, end field now required, default type
5609 for single bitfields is bool.
5610 * gdb.xml/tdesc-regs.exp: Ditto.
5612 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5614 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
5616 2016-10-05 Yao Qi <yao.qi@linaro.org>
5618 * lib/gdb.exp (support_complex_tests): Return zero if
5619 gdb_skip_float_test return true.
5621 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
5622 Simon Marchi <simon.marchi@ericsson.com>
5625 * gdb.mi/user-selected-context-sync.exp: New file.
5626 * gdb.mi/user-selected-context-sync.c: New file.
5628 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
5629 Simon Marchi <simon.marchi@ericsson.com>
5632 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
5633 =thread-select-event check.
5635 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
5637 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
5638 the compulsory L operand changes.
5639 * gdb.arch/powerpc-power.s: Likewise.
5641 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5643 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
5644 * gdb.base/jit-attach-pie.c: New file.
5645 * gdb.base/jit-attach-pie.exp: New file.
5647 2016-09-28 Pedro Alves <palves@redhat.com>
5649 * gdb.base/infcall-input.c: New file.
5650 * gdb.base/infcall-input.exp: New file.
5652 2016-09-22 Yao Qi <yao.qi@linaro.org>
5654 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
5655 (gdb_exit): Rename it to ...
5656 (gdbserver_gdb_exit): ... Close GDBserver.
5657 (gdb_exit): New proc, call gdbserver_gdb_exit.
5658 (mi_gdb_exit): Likewise.
5660 2016-09-22 Yao Qi <yao.qi@linaro.org>
5662 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
5664 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
5667 2016-09-22 Yao Qi <yao.qi@linaro.org>
5669 * lib/gdbserver-support.exp: Check the existence of
5670 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
5672 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
5674 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
5676 2016-09-21 Tom Tromey <tom@tromey.com>
5679 * gdb.base/quit.exp: New file.
5681 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
5683 * .gitignore: New file.
5685 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
5687 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
5690 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5692 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
5694 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5696 * gdb.cp/casts.cc (decltype): Move it ...
5697 (main): ... with its call to ...
5698 * gdb.cp/casts03.cc: ... a new file.
5699 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
5701 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5703 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
5705 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
5707 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
5708 and sync up the test with tests in gas/testsuite/gas/ppc.
5709 * gdb.arch/powerpc-power.exp: Likewise.
5711 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5713 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
5715 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
5716 Jan Kratochvil <jan.kratochvil@redhat.com>
5718 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
5719 make m1's definition to be different from m2's. Use 'dummy' as an
5720 argument for probe 'two'.
5722 2016-09-10 Jon Beniston <jon@beniston.com>
5724 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
5727 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
5729 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
5730 variable declaration.
5731 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
5732 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
5733 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
5734 received HWCAP as its argument.
5736 2016-09-06 Pedro Alves <palves@redhat.com>
5738 * gdb.base/new-ui-pending-input.c: New file.
5739 * gdb.base/new-ui-pending-input.exp: New file.
5740 * gdb.exp (clear_gdb_spawn_id): New procedure.
5741 (with_spawn_id): Check whether gdb_spawn_id exists before
5742 referencing it. If gdb_spawn_id didn't exist on entry, clear it
5745 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
5747 * gdb.base/float128.c: New file.
5748 * gdb.base/float128.exp: Likewise.
5749 * gdb.base/floatn.c: Likewise.
5750 * gdb.base/floatn.exp: Likewise.
5752 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
5754 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
5756 2016-09-05 Pedro Alves <palves@redhat.com>
5759 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
5760 unwinders are immediately called as side effect of "source" or
5761 "disable unwinder" commands.
5762 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
5764 2016-09-02 Yao Qi <yao.qi@linaro.org>
5766 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
5767 is true and $type is "float" or "double".
5769 2016-09-02 Yao Qi <yao.qi@linaro.org>
5771 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
5773 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
5774 * gdb.base/call-rt-st.exp: Likewise.
5775 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
5776 return value instead of gdb,skip_float_test.
5777 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
5778 (do_function_calls): Use its return value instead of
5779 gdb,skip_float_test.
5780 * gdb.base/finish.exp: Likewise.
5781 * gdb.base/funcargs.exp: Likewise.
5782 * gdb.base/return.exp: Likewise.
5783 * gdb.base/return2.exp: Likewise.
5784 * gdb.base/varargs.exp: Likewise.
5785 * lib/gdb.exp (gdb_skip_float_test): Change it to
5786 gdb_caching_proc. Detect the broken ptrace on arm-linux.
5788 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5790 * gdb.multi/tids.exp: Test "thread apply all".
5792 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5794 * gdb.base/default.exp (tty): Remove.
5796 2016-08-24 Kevin Buettner <kevinb@redhat.com>
5798 * gdb.python/py-recurse-unwind.c: New file.
5799 * gdb.python/py-recurse-unwind.py: New file.
5800 * gdb.python/py-recurse-unwind.exp: New file.
5802 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
5804 * gdb.base/set-inferior-tty.exp: New file.
5805 * gdb.base/set-inferior-tty.c: New file.
5807 2016-08-23 Pedro Alves <palves@redhat.com>
5810 * gdb.base/new-ui-echo.c: New file.
5811 * gdb.base/new-ui-echo.exp: New file.
5813 2016-08-23 Yao Qi <yao.qi@linaro.org>
5815 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
5817 * gdb.server/connect-without-multi-process.exp (do_test):
5820 2016-08-23 Yao Qi <yao.qi@linaro.org>
5822 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
5823 standalone_txt. Delete gdb_txt and standalone_txt on host
5824 and target. Spawn the binary on target. Copy files from
5827 2016-08-22 Pedro Alves <palves@redhat.com>
5830 * gdb.base/vdso-warning.exp: Test core dumps too. Use
5831 with_test_prefix. Factor out bits to ...
5832 (test_no_vdso): ... this new procedure.
5834 2016-08-19 Carl Love <cel@us.ibm.com>
5836 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
5837 maintaining separate logic for constructing the output path.
5838 * gdb.arch/powerpc-d128-regs.exp: Likewise.
5839 * gdb.arch/ppc-dfp.exp: Likewise.
5840 * gdb.arch/ppc-fp.exp: Likewise.
5841 * gdb.arch/vsx-regs.exp: Likewise.
5842 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
5843 binprefix for generating the additional binary files.
5845 2016-08-19 Pedro Alves <palves@redhat.com>
5847 * gdb.trace/mi-trace-frame-collected.exp
5848 (test_trace_frame_collected): On x32, expect two registers.
5850 2016-08-18 Carl Love <cel@us.ibm.com>
5852 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
5853 and sync up the test with tests in gas/testsuite/gas/ppc.
5854 * gdb.arch/powerpc-power.exp: Likewise.
5856 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
5858 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
5859 expected error message.
5861 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
5863 * gdb.multi/remove-inferiors.exp: New file.
5864 * gdb.multi/remove-inferiors.c: New file.
5866 2016-08-12 Yao Qi <yao.qi@linaro.org>
5868 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
5871 2016-08-10 Pedro Alves <palves@redhat.com>
5874 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
5877 2016-08-09 Pedro Alves <palves@redhat.com>
5878 Simon Marchi <simon.marchi@ericsson.com>
5881 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
5882 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
5884 2016-08-09 Pedro Alves <palves@redhat.com>
5887 * gdb.mi/mi-cmd-error.exp: New file.
5889 2016-08-09 Pedro Alves <palves@redhat.com>
5892 * gdb.base/signals-state-child.c: New file.
5893 * gdb.base/signals-state-child.exp: New file.
5894 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
5896 2016-08-09 Pedro Alves <palves@redhat.com>
5898 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
5900 2016-08-03 Tom Tromey <tom@tromey.com>
5903 * gdb.python/py-frame-inline.exp: Add Frame.function test.
5905 2016-08-01 Yao Qi <yao.qi@linaro.org>
5907 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
5908 variable mode to "multi-process" if $multi_process is 1, otherwise
5909 set it to "single-process".
5911 2016-08-01 Yao Qi <yao.qi@linaro.org>
5913 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
5914 * gdb.cp/cpexprs.exp: Likewise.
5915 * gdb.cp/m-static.exp: Likewise.
5917 2016-07-26 Tom Tromey <tom@tromey.com>
5920 * gdb.threads/tls.exp (check_thread_local): Add python symbol
5923 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
5925 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
5926 selecting assembly source files.
5927 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
5928 assembly source files.
5929 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
5930 assembly source files.
5931 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
5932 selecting assembly source files.
5934 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
5936 * gdb.base/new-ui.exp (do_test_invalid_args): New
5939 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
5941 * gdb.btrace/reconnect.c: New file.
5942 * gdb.btrace/reconnect.exp: New file.
5944 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
5946 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
5947 to test_catch_syscall_group.
5948 (test_catch_syscall_group): New.
5950 2016-07-21 Tom Tromey <tom@tromey.com>
5952 * gdb.rust/simple.rs (main): Use empty struct expression.
5953 * gdb.rust/simple.exp: Add tests for empty struct expression.
5955 2016-07-21 Yao Qi <yao.qi@linaro.org>
5957 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
5958 if gdb_skip_xml_test is true on some targets.
5960 2016-07-21 Yao Qi <yao.qi@linaro.org>
5962 * gdb.server/solib-list.exp: Unset last_loaded_file.
5964 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5966 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
5967 "step into captured_main (args)".
5969 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5971 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
5973 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5975 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
5977 2016-07-19 Pedro Alves <palves@redhat.com>
5979 * gdb.opt/inline-break.exp: Remove optimize=-O2.
5980 * gdb.opt/inline-bt.exp: Likewise.
5981 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
5982 additional_flags=-Winline.
5983 * gdb.opt/inline-locals.exp: Likewise.
5984 * gdb.opt/inline-markers.c (ATTR): Define.
5985 (inlined_fn): Use it.
5987 2016-07-19 Yao Qi <yao.qi@linaro.org>
5989 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
5990 (test_with_self): Remove some code. Remove argument executable.
5991 (top-level): Use do_self_tests.
5993 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
5994 Don Breazeal <donb@codesourcery.com>
5996 * gdb.base/maint.exp: Escape paths used in regular expressions.
5997 * gdb.stabs/weird.exp: Likewise.
5999 2016-07-13 Tom Tromey <tom@tromey.com>
6001 PR python/15620, PR python/18620:
6002 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
6003 (test_bkpt_events): New procs.
6005 2016-07-13 Tom Tromey <tom@tromey.com>
6008 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
6010 (test_watchpoints): Likewise.
6011 (test_bkpt_pending): New proc.
6013 2016-07-13 Tom Tromey <tom@tromey.com>
6016 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
6019 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6021 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
6022 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
6023 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
6025 (g): Rename g_end_lbl to g_label.
6026 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
6028 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
6030 2016-07-12 Tom Tromey <tom@tromey.com>
6033 * gdb.python/py-unwind-maint.exp: Update tests.
6035 2016-07-12 Yao Qi <yao.qi@linaro.org>
6037 * lib/selftest-support.exp (selftest_setup): Match the output
6038 when captured_main is inlined.
6040 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
6042 * gdb.fortran/derived-types.exp (result_line, result_line_2):
6044 (print this%a, print this%b, print this): New tests.
6045 * gdb.fortran/derived-types.f90 (this): New object and
6048 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
6050 * gdb.ada/arraydim.exp: Remove extra directory level in build
6053 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
6055 * lib/ada.exp: Remove extra directory level in build directory.
6056 * gdb.ada/cond_lang.exp: Likewise.
6057 * gdb.ada/exec_changed.exp: Likewise.
6058 * gdb.ada/lang_switch.exp: Likewise.
6060 2016-07-06 Manish Goregaokar <manish@mozilla.com>
6062 * simple.rs: Add test for raw pointer subscripting.
6063 * simple.exp: Add test expectations.
6065 2016-07-05 Yao Qi <yao.qi@linaro.org>
6067 * gdb.mi/mi-reverse.exp: Match =record-started output.
6069 2016-07-01 Pedro Alves <palves@redhat.com>
6071 * gdb.base/jit-reader.exp (info_registers_current_frame): New
6073 (jit_reader_test): Test the jit reader's unwinder.
6074 * gdb.base/jithost.c (jit_function_00_code): New global.
6075 (main): Use memcpy to fill in the mmapped code, instead of poking
6076 bytes manually here.
6077 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
6079 (read_debug_info): Save the function's range.
6080 (read_sp): New function.
6081 (unwind_frame): Use it. Also unwind RBP.
6082 (get_frame_id): Use read_sp.
6083 (gdb_init_reader): Use calloc instead of malloc.
6084 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
6085 parameter. Use gdb_test_multiple.
6087 2016-07-01 Pedro Alves <palves@redhat.com>
6088 Antoine Tremblay <antoine.tremblay@ericsson.com>
6090 * gdb.threads/process-dies-while-detaching.c: New file.
6091 * gdb.threads/process-dies-while-detaching.exp: New file.
6093 2016-07-01 Pedro Alves <palves@redhat.com>
6095 * gdb.multi/watchpoint-multi-exit.c: New file.
6096 * gdb.multi/watchpoint-multi-exit.exp: New file.
6098 2016-06-30 Pedro Alves <palves@redhat.com>
6100 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
6101 unset inferior_spawn_id.
6103 2016-06-30 Pedro Alves <palves@redhat.com>
6105 * lib/mi-support.exp (default_mi_gdb_start): Declare global
6106 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
6108 2016-06-29 Yao Qi <yao.qi@linaro.org>
6110 * gdb.base/return.c: Add copyright header.
6112 2016-06-29 Tom Tromey <tom@tromey.com>
6115 * gdb.python/py-framefilter.exp: Add tests for setting priority
6116 and disabling of non-existent frame filter.
6118 2016-06-29 Yao Qi <yao.qi@linaro.org>
6120 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
6123 2016-06-28 Yao Qi <yao.qi@linaro.org>
6125 * gdb.base/catch-syscall.exp: Remove check on isnative and target
6126 triplets. Start gdb, execute catch syscall, and continue. Check
6127 gdb's output to determine catch syscall is supported.
6129 2016-06-27 Manish Goregaokar <manish@mozilla.com>
6131 * gdb.rust/simple.rs: Add test for returning unit in a function.
6132 * gdb.rust/simple.exp: Add expectation for functions returning
6135 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
6137 * gdb.python/py-breakpoint-create-fail.c,
6138 gdb.python/py-breakpoint-create-fail.exp,
6139 gdb.python/py-breakpoint-create-fail.py: New testcase.
6141 2016-06-25 Manish Goregaokar <manish@mozilla.com>
6144 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
6145 * gdb.rust/simple.exp: Add test expectations for new NonZero
6148 2016-06-24 David Taylor <dtaylor@emc.com>
6150 * gdb.base/offsets.exp: New file.
6151 * gdb.base/offsets.c: New file.
6153 2016-06-23 Tom Tromey <tom@tromey.com>
6156 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
6157 before any filters are loaded.
6159 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
6161 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
6162 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
6164 * gdb.fortran/derived-type-function.exp: New file.
6165 * gdb.fortran/derived-type-function.f90: New file.
6168 2016-06-21 Pedro Alves <palves@redhat.com>
6170 * gdb.base/new-ui.exp: New file.
6171 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
6172 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
6173 (with_spawn_id): New procedure.
6175 2016-06-21 Pedro Alves <palves@redhat.com>
6177 * gdb.mi/mi-exec-run.exp: New file.
6179 2016-06-21 Pedro Alves <palves@redhat.com>
6181 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
6182 breakpoint command's output on the main UI.
6183 (test_break): New procedure, factored out from calls in the top
6185 (top level): Use foreach_with_prefix to test MI as main UI and as
6188 2016-06-21 Pedro Alves <palves@redhat.com>
6190 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
6191 (test_awatch_creation_and_listing)
6192 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
6193 Remove 'type' parameter.
6194 (test_watchpoint_all): New parameter mi_mode. Remove
6196 (top level): Use foreach_with_prefix, and add main/separate UI MI
6199 2016-06-21 Pedro Alves <palves@redhat.com>
6201 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
6202 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
6203 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
6204 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
6205 (gdb_main_spawn_id, mi_spawn_id): Declare and
6207 (mi_create_inferior_pty): New procedure,
6208 factored out from default_mi_gdb_start.
6209 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
6211 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
6212 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
6213 Use mi_create_inferior_pty.
6214 (mi_gdb_start): Use eval to pass down args list.
6216 2016-06-21 Pedro Alves <palves@redhat.com>
6218 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
6219 * gdb.opt/inline-cmds.exp: Add MI tests.
6221 2016-06-21 Pedro Alves <palves@redhat.com>
6223 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
6225 2016-06-21 Pedro Alves <palves@redhat.com>
6227 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
6228 (top level): Use it instead of mi_execute_to.
6230 2016-06-21 Pedro Alves <palves@redhat.com>
6232 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
6233 (cont_handler_str): New.
6234 (signal_stop_handler): Set stop_handler_str instead of printing to
6236 (continue_handler): Set cont_handler_str instead of printing to
6238 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
6239 mi_send_resuming_command. Print stop_handler_str and
6240 cont_handler_str instead of expecting the python events print
6243 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
6245 * gdb.base/jit-reader.exp: New file.
6246 * gdb.base/jithost.c: New file.
6247 * gdb.base/jithost.h: New file.
6248 * gdb.base/jitreader.c : New file.
6249 * gdb.base/jit-protocol.h: New file.
6251 2016-06-17 Yao Qi <yao.qi@linaro.org>
6253 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
6254 parameters follow_fork and detach_on_fork. Set follow-fork-mode
6255 and detach-on-fork. Adjust tests.
6256 (top level): Invoke break_cond_on_syscall with combinations of
6257 syscall, follow-fork-mode and detach-on-fork.
6259 2016-06-17 Yao Qi <yao.qi@linaro.org>
6261 * gdb.base/step-over-exit.c: New.
6262 * gdb.base/step-over-exit.exp: New.
6264 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
6266 * gdb.base/float.exp: Add target check for nds32*-*-*.
6267 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
6269 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
6271 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
6272 for unsupported target features.
6273 * gdb.base/call-rt-st.exp: Likewise.
6274 * gdb.base/call-sc.exp: Likewise.
6275 * gdb.base/call-signal-resume.exp: Likewise.
6276 * gdb.base/call-strs.exp: Likewise.
6277 * gdb.base/callexit.exp: Likewise.
6278 * gdb.base/callfuncs.exp: Likewise.
6279 * gdb.base/nodebug.exp: Likewise.
6280 * gdb.base/printcmds.exp: Likewise.
6281 * gdb.base/ptype.exp: Likewise.
6282 * gdb.base/structs.exp: Likewise.
6283 * gdb.base/unwindonsignal.exp: Likewise.
6284 * gdb.cp/gdb2495.exp: Likewise.
6285 * gdb.cp/templates.exp: Likewise.
6286 * gdb.cp/virtfunc.exp: Likewise.
6287 * gdb.threads/hand-call-in-threads.exp: Likewise.
6288 * gdb.threads/interrupted-hand-call.exp: Likewise.
6289 * gdb.threads/thread-unwindonsignal.exp: Likewise.
6291 2016-06-10 Tom Tromey <tom@tromey.com>
6294 * gdb.rust/expr.exp: Add test for integer constant larger than
6297 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
6299 * gdb.fortran/nested-funcs.exp: New.
6300 * gdb.fortran/nested-funcs.f90: New.
6302 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
6304 * gdb.base/examine-backward.c: New file.
6305 * gdb.base/examine-backward.exp: New file.
6307 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
6309 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
6312 2016-06-02 Tom Tromey <tom@tromey.com>
6315 * gdb.python/py-shared.exp: Add solib_name test.
6317 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
6319 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
6321 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
6324 * gdb.dwarf2/implref.exp: Rename to...
6325 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
6326 * gdb.dwarf2/implref-array.c: New file.
6327 * gdb.dwarf2/implref-array.exp: Likewise.
6328 * gdb.dwarf2/implref-global.c: Likewise.
6329 * gdb.dwarf2/implref-global.exp: Likewise.
6330 * gdb.dwarf2/implref-struct.c: Likewise.
6331 * gdb.dwarf2/implref-struct.exp: Likewise.
6333 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6335 * gdb.trace/trace-condition.exp: Add 64bit tests.
6337 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6339 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
6341 (main): Adapt to 8 to 64 bits types.
6342 * gdb.trace/trace-condition.exp: Add new tests.
6344 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6346 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
6348 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6350 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
6351 Move condition tests...
6352 * gdb.trace/trace-condition.exp: Here.
6354 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6356 * gdb.trace/trace-condition.exp: Add counter-case tests.
6358 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6361 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
6362 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
6364 2016-05-27 Pedro Alves <palves@redhat.com>
6366 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6368 (top level): Call it, and bail out of DejaGnu is known to be bad.
6370 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
6372 * gdb.base/whatis.c: Extend the test case.
6373 * gdb.base/whatis.exp: Add additional tests.
6375 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6377 * gdb.fortran/type.f90: Add pointer variable.
6378 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
6380 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6382 * gdb.fortran/vla-type.exp: Fix testcase name.
6384 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6386 * gdb.fortran/vla-type.exp: Access elements in nested structs.
6388 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6390 * gdb.fortran/type.f90: Add nested structures.
6391 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
6392 * gdb.fortran/derived-type.exp: Adapt expected output.
6393 * gdb.fortran/vla-type.exp: Adapt expected output.
6395 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6397 * gdb.fortran/whatis_type.exp: Adapt expected output.
6399 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6401 * gdb.fortran/print_type.exp: Fix expected output.
6402 * gdb.fortran/whatis_type.exp: Fix expected output.
6404 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6406 * gdb.fortran/whatis_type.exp: Use multi_line.
6408 2016-05-24 Tom Tromey <tom@tromey.com>
6411 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
6412 use value as an index.
6414 2016-05-23 Tom Tromey <tom@tromey.com>
6417 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
6420 2016-05-24 Pedro Alves <palves@redhat.com>
6423 * gdb.threads/clone-attach-detach.c: New file.
6424 * gdb.threads/clone-attach-detach.exp: New file.
6426 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
6428 * gdb.base/annota-input-while-running.exp: Fix syntax error.
6430 2016-05-23 Tom Tromey <tom@tromey.com>
6432 PR python/19438, PR python/18393:
6433 * gdb.python/py-progspace.exp: Add "dir" test.
6434 * gdb.python/py-objfile.exp: Add "dir" test.
6436 2016-05-23 Yao Qi <yao.qi@linaro.org>
6438 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
6439 * gdb.arch/thumb2-it.exp: Likewise.
6441 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
6443 * gdb.mi/mi-threads-interrupt.c: New file.
6444 * gdb.mi/mi-threads-interrupt.exp: New file.
6446 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
6449 * gdb.mi/mi-async-run.exp: New file.
6450 * gdb.mi/mi-async-run.c: New file.
6452 2016-05-17 Tom Tromey <tom@tromey.com>
6453 Manish Goregaokar <manishsmail@gmail.com>
6455 * lib/rust-support.exp: New file.
6456 * lib/gdb.exp (skip_rust_tests): New proc.
6457 (build_executable_from_specs): Handle rust.
6458 * lib/future.exp (gdb_find_rustc): New proc.
6459 (gdb_default_target_compile): Handle rust.
6460 * gdb.rust/expr.exp: New file.
6461 * gdb.rust/generics.exp: New file.
6462 * gdb.rust/generics.rs: New file.
6463 * gdb.rust/methods.exp: New file.
6464 * gdb.rust/methods.rs: New file.
6465 * gdb.rust/modules.exp: New file.
6466 * gdb.rust/modules.rs: New file.
6467 * gdb.rust/simple.exp: New file.
6468 * gdb.rust/simple.rs: New file.
6470 2016-05-17 Tom Tromey <tom@tromey.com>
6472 * gdb.base/default.exp (set language): Add rust.
6474 2016-05-17 Tom Tromey <tom@tromey.com>
6476 * gdb.gdb/unittest.exp: New file.
6478 2016-05-16 Yao Qi <yao.qi@linaro.org>
6480 * gdb.base/batch-preserve-term-settings.exp: Remove variable
6481 shell_prompt. Update shell_prompt_re.
6483 2016-05-12 Doug Evans <dje@google.com>
6486 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
6487 $options when building executable.
6488 * gdb.dwarf2/fission-loclists-pie.S: New file.
6489 * gdb.dwarf2/fission-loclists-pie.exp: New file.
6491 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
6493 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
6494 of [is_remote target],
6496 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
6498 * lib/gdb.exp (use_gdb_stub): New procedure.
6500 2016-05-03 Yunlian Jiang <yunlian@google.com>
6501 Doug Evans <dje@google.com>
6504 * gdb.dwarf2/dwp-sepdebug.c: New file.
6505 * gdb.dwarf2/dwp-sepdebug.exp: New file.
6507 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
6509 * gdb.base/detach.exp: Remove is_remote check.
6511 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
6513 * gdb.base/annota-input-while-running.exp: Don't check for
6514 [is_remote target]. Enable annotations after running to main.
6515 Remove unused "set test..." line.
6517 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
6519 * gdb.trace/trace-enable-disable.exp: New file.
6520 * gdb.trace/trace-enable-disable.c: New file.
6522 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
6524 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
6525 use it in info sharedlibrary test.
6526 * gdb.trace/ftrace-lock.exp: Likewise.
6527 * gdb.trace/ftrace.exp: Likewise.
6528 * gdb.trace/range-stepping.exp: Likewise.
6529 * gdb.trace/trace-break.exp: Likewise.
6530 * gdb.trace/trace-condition.exp: Likewise.
6531 * gdb.trace/trace-mt.exp: Likewise.
6533 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
6535 * lib/gdb.exp (gdb_load_shlibs): Rename to...
6536 (gdb_load_shlib): ... this.
6537 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
6539 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
6540 * gdb.base/ctxobj.exp: Likewise.
6541 * gdb.base/dprintf-pending.exp: Likewise.
6542 * gdb.base/dso2dso.exp: Likewise.
6543 * gdb.base/fixsection.exp: Likewise.
6544 * gdb.base/gcore-relro.exp: Likewise.
6545 * gdb.base/gdb1555.exp: Likewise.
6546 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6547 * gdb.base/gnu-ifunc.exp: Likewise.
6548 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
6549 * gdb.base/jit-so.exp (one_jit_test): Likewise.
6550 * gdb.base/pending.exp: Likewise.
6551 * gdb.base/print-file-var.exp: Likewise.
6552 * gdb.base/print-symbol-loading.exp: Likewise.
6553 * gdb.base/shlib-call.exp: Likewise.
6554 * gdb.base/shreloc.exp: Likewise.
6555 * gdb.base/so-impl-ld.exp: Likewise.
6556 * gdb.base/solib-disc.exp: Likewise.
6557 * gdb.base/solib-nodir.exp: Likewise.
6558 * gdb.base/solib-overlap.exp: Likewise.
6559 * gdb.base/solib-symbol.exp: Likewise.
6560 * gdb.base/solib-weak.exp (do_test): Likewise.
6561 * gdb.base/sym-file.exp: Likewise.
6562 * gdb.base/symtab-search-order.exp: Likewise.
6563 * gdb.base/type-opaque.exp: Likewise.
6564 * gdb.base/unload.exp: Likewise.
6565 * gdb.base/watchpoint-solib.exp: Likewise.
6566 * gdb.compile/compile.exp: Likewise.
6567 * gdb.cp/gdb2384.exp: Likewise.
6568 * gdb.cp/infcall-dlopen.exp: Likewise.
6569 * gdb.cp/re-set-overloaded.exp: Likewise.
6570 * gdb.fortran/library-module.exp: Likewise.
6571 * gdb.opt/solib-intra-step.exp: Likewise.
6572 * gdb.python/py-finish-breakpoint.exp: Likewise.
6573 * gdb.python/py-shared.exp: Likewise.
6574 * gdb.reverse/solib-precsave.exp: Likewise.
6575 * gdb.reverse/solib-reverse.exp: Likewise.
6576 * gdb.server/solib-list.exp: Likewise.
6577 * gdb.threads/dlopen-libpthread.exp: Likewise.
6578 * gdb.threads/tls-shared.exp: Likewise.
6579 * gdb.threads/tls-so_extern.exp: Likewise.
6580 * gdb.trace/change-loc.exp: Likewise.
6581 * gdb.trace/ftrace-lock.exp: Likewise.
6582 * gdb.trace/ftrace.exp: Likewise.
6583 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
6584 * gdb.trace/pending.exp: Likewise.
6585 * gdb.trace/range-stepping.exp: Likewise.
6586 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
6587 (strace_info_marker): Likewise.
6588 (strace_probe_marker): Likewise.
6589 (strace_trace_on_same_addr): Likewise.
6590 (strace_trace_on_diff_addr): Likewise.
6591 * gdb.trace/trace-break.exp: Likewise.
6592 * gdb.trace/trace-condition.exp: Likewise.
6593 * gdb.trace/trace-mt.exp: Likewise.
6595 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
6597 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
6598 result of gdb_remote_download.
6599 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
6600 * gdb.base/dso2dso.exp: Likewise.
6601 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6602 * gdb.base/print-file-var.exp: Likewise.
6603 * gdb.base/shlib-call.exp: Likewise.
6604 * gdb.base/shreloc.exp: Likewise.
6605 * gdb.base/solib-overlap.exp: Likewise.
6606 * gdb.base/solib-weak.exp (do_test): Likewise.
6607 * gdb.base/unload.exp: Likewise.
6609 2016-04-27 Yao Qi <yao.qi@linaro.org>
6611 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
6614 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6616 * vla-type.exp: Print structure from toplevel.
6618 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6620 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
6622 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
6625 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6627 * gdb.fortran/vla-type.f90: New file.
6628 * gdb.fortran/vla-type.exp: New file.
6630 2016-04-25 Yao Qi <yao.qi@linaro.org>
6632 * gdb.base/branch-to-self.c: New file.
6633 * gdb.base/branch-to-self.exp: New file.
6635 2016-04-22 Yao Qi <yao.qi@linaro.org>
6637 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
6640 2016-04-22 Yao Qi <yao.qi@linaro.org>
6642 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
6643 * gdb.base/annota3.exp: Likewise.
6645 2016-04-22 Yao Qi <yao.qi@linaro.org>
6647 * gdb.reverse/step-precsave.exp: Do one step and test program
6648 stops in "callee" and do multiple steps until program goes out
6650 * gdb.reverse/step-reverse.exp: Likewise.
6652 2016-04-22 Yao Qi <yao.qi@linaro.org>
6654 * gdb.trace/signal.exp: Also pass if
6655 $tracepoint_hits($i) > $iterations.
6657 2016-04-22 Yao Qi <yao.qi@linaro.org>
6659 * gdb.trace/signal.c: New file.
6660 * gdb.trace/signal.exp: New file.
6662 2016-04-19 Doug Evans <xdje42@gmail.com>
6664 * gdb.base/bad-file.exp: New file.
6666 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
6668 * gdb.dwarf2/implref.exp: New file.
6670 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
6672 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
6673 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
6674 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
6675 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
6676 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
6677 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
6678 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
6679 * lib/fortran.exp (fortran_int4): New procedure.
6680 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
6681 (fortran_logical4): Likewise.
6683 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
6685 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
6687 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
6689 * lib/compiler.c: Add Intel specific preprocessor macros.
6690 * lib/compiler.cc: Likewise.
6692 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
6694 * gdb.server/connect-with-no-symbol-file.c: New file.
6695 * gdb.server/connect-with-no-symbol-file.exp: New file.
6697 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
6699 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
6701 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
6703 * boards/gdbserver-base.exp (${board}_download): Copy source file to
6704 standard output directory.
6706 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
6708 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
6710 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
6712 * gdb.btrace/instruction_history.c (loop): Add declaration.
6714 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
6716 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
6718 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
6720 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
6721 parentheses to print.
6722 (continue_handler): Likewise.
6724 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
6726 * gdb.server/solib-list.exp: Remove is_remote check.
6727 Pass shlib= to gdb_compile. Don't link shared library with
6728 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
6729 Run binary filename through "readlink -f" on the target.
6731 2016-04-08 Pedro Alves <palves@redhat.com>
6733 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
6734 interpreter filename as argument to gdbserver_spawn.
6735 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
6736 Return empty if $last_loaded_file does not exist.
6738 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6740 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
6741 * gdb.base/jit-main.c: Use exit after usage.
6743 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6745 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
6746 GDBHISTSIZE prior to the tests.
6747 * gdb.base/gdbinit-history.exp: Likewise.
6749 2016-04-07 Pedro Alves <palves@redhat.com>
6751 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
6752 instead of build_executable. Use gdb_load_shlibs.
6754 2016-04-07 Yao Qi <yao.qi@linaro.org>
6756 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
6757 Execute "si" command.
6759 2016-04-07 Yao Qi <yao.qi@linaro.org>
6761 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
6762 number instead of the comments on some line.
6764 2016-04-06 Don Breazeal <donb@codesourcery.com>
6766 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
6767 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
6769 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
6771 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
6772 standard_output_file. Remove unused binfile variable.
6774 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
6776 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
6777 * gdb.python/py-mi-objfile.exp: Match "list main" output
6780 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
6782 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
6785 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
6787 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
6789 * gdb.trace/ftrace.exp: Likewise.
6790 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
6792 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
6793 (gdb_load_shlibs): Copy libraries to test directory when testing
6794 natively. Only set solib-search-path if testing remotely.
6795 * lib/mi-support.exp (mi_load_shlibs): Likewise.
6797 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
6799 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
6800 gdb_download. Use it even if the target is not remote.
6801 * gdb.base/jit.exp (compile_jit_test): Likewise.
6802 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
6803 output directory if the destination board is local, otherwise use
6804 the standard remote_download from DejaGnu.
6805 (gdb_download): Remove.
6806 (gdb_load_shlibs): Use gdb_remote_download instead of
6808 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
6809 Use gdb_remote_download instead of gdb_download. Use it even if
6810 the target is not remote.
6811 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
6812 instead of gdb_download.
6814 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
6816 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
6817 (test_insert_delete_modify): Call mi_load_shlibs before trying to
6820 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
6823 * gdb.base/printcmds.exp: Add artificial arrays tests.
6825 2016-03-31 Pedro Alves <palves@redhat.com>
6828 * gdb.base/jit-main.c: Include unistd.h.
6829 (ATTACH): Define to 0 if not already defined.
6830 (wait_for_gdb, mypid): New globals.
6831 (WAIT_FOR_GDB): New macro.
6832 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
6833 some breakpoint locations.
6834 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
6836 (one_jit_test): Add REATTACH parameter, and handle it. Use
6837 continue_to_test_location.
6838 (top level): Test attach, and adjusts calls to one_jit_test.
6840 2016-03-31 Pedro Alves <palves@redhat.com>
6843 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
6844 BINSUFFIX parameter, and handle it.
6845 (top level): Adjust calls compile_jit_test.
6847 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
6850 * gdb.python/py-mi-events-gdb.py: New file.
6851 * gdb.python/py-mi-events.c: New file.
6852 * gdb.python/py-mi-events.exp: New file.
6854 2016-03-30 Yao Qi <yao.qi@linaro.org>
6856 * gdb.reverse/until-precsave.exp: Match function name only.
6857 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
6858 Move malloc to a condition block.
6859 * gdb.reverse/until-reverse.exp: Match function name only.
6861 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
6863 * gdb.trace/ftrace.exp: Set arg0exp for s390.
6864 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
6865 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
6866 variable for GPR 0 instead of assuming it is register 0.
6867 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
6868 * lib/trace-support.exp: Add s390 registers.
6870 2016-03-29 Yao Qi <yao.qi@linaro.org>
6872 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
6874 2016-03-24 Yao Qi <yao.qi@linaro.org>
6876 * gdb.reverse/break-reverse.exp: Add quotation mark in the
6879 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6881 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
6882 maintaining separate logic for constructing the output path.
6884 2016-03-16 Don Breazeal <donb@codesourcery.com>
6886 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
6887 Retry fork and waitpid on interrupted system call errors.
6888 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
6889 Use with_timeout_factor to increase timeout by factor of 10.
6891 2016-03-15 Don Breazeal <donb@codesourcery.com>
6893 * gdb.cp/scope-err.cc: New test program.
6894 * gdb.cp/scope-err.exp: New test script.
6895 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
6896 lines and "set breakpoint here" comment.
6897 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
6898 Fixed some whitespace and format issues.
6899 * gdb.mi/mi-linespec-err-cp.cc: New test program.
6900 * gdb.mi/mi-linespec-err-cp.exp: New test script.
6902 2016-03-15 Doug Evans <dje@google.com>
6904 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
6905 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
6906 All callers updated. Add tests for enums, mixed flags register.
6908 2016-03-15 Doug Evans <dje@google.com>
6910 * gdb.base/skip.c (main): Call test_skip_file_and_function.
6911 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
6913 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
6915 * gdb.base/default.exp: Add $_as_string to the list of expected
6916 convenience functions.
6918 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
6920 * gdb.base/maint.exp: New tests for 'maint info line-table'.
6922 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
6924 * gdb.python/py-as-string.exp: New file.
6925 * gdb.python/py-as-string.c: New file.
6927 2016-03-09 Pedro Alves <palves@redhat.com>
6929 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
6930 signal" -> "Thread NN received signal" output change.
6931 * gdb.threads/ia64-sigill.exp: Likewise.
6932 * gdb.threads/linux-dp.exp: Likewise.
6933 * gdb.threads/manythreads.exp: Likewise.
6934 * gdb.threads/pending-step.exp: Likewise.
6935 * gdb.threads/print-threads.exp: Likewise.
6936 * gdb.threads/sigstep-threads.exp: Likewise.
6937 * gdb.threads/staticthreads.exp: Likewise.
6938 * gdb.threads/tls.exp: Likewise.
6940 2016-03-09 Pedro Alves <palves@redhat.com>
6942 * gdb.base/command-line-input.exp: New file.
6944 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6946 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
6947 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
6948 * gdb.trace/pending.exp: Accept leading dot before function name.
6949 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
6950 * lib/trace-support.exp: Set registers for ppc.
6952 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6954 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
6955 use it for disassembly; accept .main in addition to main in backtrace.
6957 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
6958 Marcin Kościelnicki <koriakin@0x04.net>
6960 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
6961 (gdb_recursion_test_ptr): New global variable.
6962 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
6964 (gdb_c_test): Ditto.
6966 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6968 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
6971 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6973 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
6974 (bar): Add bar_start_lbl label.
6975 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
6976 of foo/bar for emitting DWARF and tracing.
6978 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
6980 * analyze-racy-logs.py: Set executable bit.
6982 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
6984 * Makefile.in (DEFAULT_RACY_ITER): New variable.
6985 (CHECK_TARGET_TMP): Likewise.
6986 (check-single-racy): New rule.
6987 (check-parallel-racy): Likewise.
6988 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
6989 (do-check-parallel-racy): New rule.
6990 (check-racy/%.exp): Likewise.
6991 * README (Racy testcases): New section.
6992 * analyze-racy-logs.py: New file.
6994 2016-03-03 Doug Evans <dje@google.com>
6996 * gdb.base/skip.exp: Use with_test_prefix.
6998 2016-03-03 Yao Qi <yao.qi@linaro.org>
7000 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
7001 Invoke step_over_syscall "clone" and break_cond_on_syscall
7003 * gdb.base/step-over-clone.c: New file.
7005 2016-03-03 Yao Qi <yao.qi@linaro.org>
7007 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
7010 2016-03-03 Yao Qi <yao.qi@linaro.org>
7012 * gdb.base/disp-step-fork.c: Rename to ...
7013 * gdb.base/step-over-fork.c: ... it. New file.
7014 * gdb.base/disp-step-vfork.c: Rename to ...
7015 * gdb.base/step-over-vfork.c: ... it. New file.
7016 * gdb.base/disp-step-syscall.exp: Rename to ...
7017 * gdb.base/step-over-syscall.exp: ... it. New file.
7018 (disp_step_cross_syscall): Rename to ...
7019 (step_over_syscall): ... it.
7021 2016-03-03 Yao Qi <yao.qi@linaro.org>
7023 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
7024 If target supports condition evaluation on target, invoke
7025 break_cond_on_syscall for fork and vfork.
7027 2016-03-03 Yao Qi <yao.qi@linaro.org>
7029 * gdb.base/disp-step-syscall.exp: Don't invoke
7030 support_displaced_stepping.
7031 (disp_step_cross_syscall): Test with displaced stepping off and
7034 2016-03-03 Yao Qi <yao.qi@linaro.org>
7036 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
7039 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
7042 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7044 * gdb.fortran/vla-history.exp: Remove breakpoint.
7046 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7048 * gdb.fortran/vla-history.exp: Lookup array elements and printing
7051 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7053 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
7056 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7058 * gdb.mi/vla.f90: Nullify pointer after declaration.
7060 2016-03-01 Pedro Alves <palves@redhat.com>
7062 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
7064 2016-03-01 Pedro Alves <palves@redhat.com>
7066 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
7067 before anything else.
7068 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
7070 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
7071 before anything else.
7072 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
7074 2016-03-01 Pedro Alves <palves@redhat.com>
7076 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
7078 2016-03-01 Yao Qi <yao.qi@linaro.org>
7080 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
7081 prepare_for_testing.
7083 2016-03-01 Yao Qi <yao.qi@linaro.org>
7085 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
7087 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7089 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
7090 manually constructing the output path.
7092 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7094 * gdb.arch/s390-stackless.S: New.
7095 * gdb.arch/s390-stackless.exp: New.
7097 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
7099 * gdb.dlang/circular.c: New file.
7100 * gdb.dlang/circular.exp: New file.
7102 2016-02-26 Yao Qi <yao.qi@linaro.org>
7104 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
7105 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
7106 (testcases): Update.
7108 2016-02-26 Yao Qi <yao.qi@linaro.org>
7110 * gdb.reverse/aarch64.c: Rename to ...
7111 * gdb.reverse/insn-reverse.c: ... it.
7112 * gdb.reverse/aarch64.exp: Rename to ...
7113 * gdb.reverse/insn-reverse.exp: ... it.
7115 2016-02-26 Yao Qi <yao.qi@linaro.org>
7117 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
7118 (testcase_ftype): New.
7119 (testcases): New array.
7121 (main): Call each element in testcases.
7122 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
7123 (read_testcase): New.
7124 Do the tests in a loop.
7126 2016-02-25 Yao Qi <yao.qi@linaro.org>
7128 * gdb.base/branches.c: Remove.
7130 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
7133 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
7135 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
7137 * gdb.trace/ftrace.exp: Remove unnecessary target check.
7139 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
7141 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
7142 change x86_64 call_insn to 'callq'.
7144 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7146 * gdb.trace/tfile-avx.c: Move to...
7147 * gdb.trace/tracefile-pseudo-reg.c: Here.
7148 * gdb.trace/tfile-avx.exp: Move to...
7149 * gdb.trace/tracefile-pseudo-reg.exp: Here.
7151 2016-02-24 Gary Benson <gbenson@redhat.com>
7153 * gdb.base/attach-pie-noexec.exp: Do not expect an error
7156 2016-02-23 Doug Evans <dje@google.com>
7158 * gdb.base/skip.c (test_skip): New function.
7159 (end_test_skip_file_and_function): New function.
7160 (test_skip_file_and_function): New function.
7161 * gdb.base/skip1.c (test_skip): New function.
7162 (skip1_test_skip_file_and_function): New function.
7163 * gdb.base/skip.exp: Add tests for new skip options.
7164 * gdb.base/skip-solib.exp: Update expected output.
7165 * gdb.perf/skip-command.cc: New file.
7166 * gdb.perf/skip-command.exp: New file.
7167 * gdb.perf/skip-command.py: New file.
7169 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
7171 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
7172 info registers pattern.
7174 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
7176 * lib/future.exp: Add D support.
7177 (gdb_find_gdc): New proc.
7178 (gdb_default_target_compile): Add D support.
7180 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
7182 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
7184 (trace_speed_test): Determine the iteration count for a time
7185 between 15..30 seconds.
7187 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
7189 * gdb.arch/i386-mpx-sigsegv.c: New file.
7190 * gdb.arch/i386-mpx-sigsegv.exp: New file.
7191 * gdb.arch/i386-mpx-simple_segv.c: New file.
7192 * gdb.arch/i386-mpx-simple_segv.exp: New file.
7194 2016-02-18 Yao Qi <yao.qi@linaro.org>
7196 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7197 Don't call setup_kfail.
7199 2016-02-18 Yao Qi <yao.qi@linaro.org>
7201 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7202 Set "set breakpoint condition-evaluation" per $cond_bp_target.
7204 2016-02-16 Doug Evans <dje@google.com>
7206 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
7207 * gdb.base/skip1.c: Ditto.
7208 * gdb.base/skip.exp: Whitespace cleanup.
7210 2016-02-16 Don Breazeal <donb@codesourcery.com>
7213 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7214 Remove kfail for PR remote/19496.
7216 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
7218 * lib/gdb.exp (standard_temp_file): Return a path specific to
7219 the runtest invocation.
7221 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
7223 * gdb.trace/save-trace.exp: Change relative path to be in the
7224 standard output directory.
7226 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7228 * gdb.arch/i386-prologue.c: Add missing prototypes.
7230 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7232 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
7233 * gdb.arch/i386-prologue.exp: Likewise.
7234 * gdb.arch/i386-size.exp: Likewise.
7236 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
7238 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
7239 define object file path.
7240 * gdb.btrace/gcore.exp: Use standard_output_file to define core
7242 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
7243 standard_output_file to define binfile.
7245 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7247 Fix compatibility with recent gfortran-5.3.1.
7248 * gdb.fortran/vla-history.exp (print vla1 allocated)
7249 (print vla2 allocated, print $2, print $3): Remove
7250 (print $4): Rename to ...
7251 (print $2): ... here.
7252 (print $9): Rename to ...
7253 (print $5): ... here.
7254 (print $10): Rename to ...
7255 (print $6): ... here.
7256 * gdb.fortran/vla.f90: Add pvla initialization.
7258 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7260 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
7262 * gdb.fortran/vla-value-sub.exp: Likewise.
7264 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
7266 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
7268 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
7270 * i386-biarch-core.exp: Define corefile using
7271 standard_output_file.
7273 2016-02-12 Yao Qi <yao.qi@linaro.org>
7275 * gdb.arch/arm-single-step-kernel-helper.c: New.
7276 * gdb.arch/arm-single-step-kernel-helper.exp: New.
7278 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
7280 * gdb.btrace/tailcall-only.exp: New.
7281 * gdb.btrace/tailcall-only.c: New.
7282 * gdb.btrace/x86_64-tailcall-only.S: New.
7283 * gdb.btrace/i686-tailcall-only.S: New.
7285 2016-02-11 Pedro Alves <palves@redhat.com>
7287 * README (Parallel testing): Add missing double quotes.
7289 2016-02-11 Pedro Alves <palves@redhat.com>
7291 * README (Parallel testing): New section.
7292 (GDB_PARALLEL): Rewrite.
7293 (FORCE_PARALLEL): Document.
7295 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
7297 * gdb.trace/tfile-avx.c: New test.
7298 * gdb.trace/tfile-avx.exp: New test.
7300 2016-02-09 Keith Seitz <keiths@redhat.com>
7302 PR breakpoints/19546
7303 * gdb.base/infcall-exec.c: New file.
7304 * gdb.base/infcall-exec2.c: New file.
7305 * gdb.base/infcall-exec.exp: New file.
7307 2016-02-09 Keith Seitz <keiths@redhat.com>
7309 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
7310 (toplevel): Call test_bkpt_address.
7312 2016-02-09 Keith Seitz <keiths@redhat.com>
7315 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
7316 (toplevel): Call test_bkpt_address.
7318 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
7320 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
7322 * configure: Regenerate.
7324 2016-02-09 Pedro Alves <palves@redhat.com>
7326 PR breakpoints/19548
7327 * gdb.base/execl-update-breakpoints.c (some_function): New
7330 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
7331 Tighten expected GDB output.
7333 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
7335 * Makefile.in (ALL_SUBDIRS): Remove.
7336 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
7337 (distclean maintainer-clean realclean): Likewise.
7338 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
7339 * configure: Regenerate.
7340 * gdb.ada/Makefile.in: Delete.
7341 * gdb.arch/Makefile.in: Likewise.
7342 * gdb.asm/Makefile.in: Likewise.
7343 * gdb.base/Makefile.in: Likewise.
7344 * gdb.btrace/Makefile.in: Likewise.
7345 * gdb.cell/Makefile.in: Likewise.
7346 * gdb.compile/Makefile.in: Likewise.
7347 * gdb.cp/Makefile.in: Likewise.
7348 * gdb.disasm/Makefile.in: Likewise.
7349 * gdb.dlang/Makefile.in: Likewise.
7350 * gdb.dwarf2/Makefile.in: Likewise.
7351 * gdb.fortran/Makefile.in: Likewise.
7352 * gdb.gdb/Makefile.in: Likewise.
7353 * gdb.go/Makefile.in: Likewise.
7354 * gdb.guile/Makefile.in: Likewise.
7355 * gdb.java/Makefile.in: Likewise.
7356 * gdb.linespec/Makefile.in: Likewise.
7357 * gdb.mi/Makefile.in: Likewise.
7358 * gdb.modula2/Makefile.in: Likewise.
7359 * gdb.multi/Makefile.in: Likewise.
7360 * gdb.objc/Makefile.in: Likewise.
7361 * gdb.opencl/Makefile.in: Likewise.
7362 * gdb.opt/Makefile.in: Likewise.
7363 * gdb.pascal/Makefile.in: Likewise.
7364 * gdb.perf/Makefile.in: Likewise.
7365 * gdb.python/Makefile.in: Likewise.
7366 * gdb.reverse/Makefile.in: Likewise.
7367 * gdb.server/Makefile.in: Likewise.
7368 * gdb.stabs/Makefile.in: Likewise.
7369 * gdb.threads/Makefile.in: Likewise.
7370 * gdb.trace/Makefile.in: Likewise.
7371 * gdb.xml/Makefile.in: Likewise.
7372 * lib/gdb.exp (make_gdb_parallel_path): Add check for
7374 (standard_output_file): Remove check for GDB_PARALLEL, always
7375 return path in outputs/$subdir/$testname.
7377 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
7379 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
7380 (site.exp): Assign abs_srcdir to tcl's srcdir.
7382 2016-02-04 Yao Qi <yao.qi@linaro.org>
7384 * gdb.base/foll-exec-mode.c: Include limits.h.
7385 (main): Add parameters argc and argv. Get directory from
7387 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
7389 * gdb.base/foll-exec.c: Include limits.h.
7390 (main): Add parameters argc and argv.
7391 Get directory from argv[0].
7392 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
7393 Adjust tests on the number of lines as source code changed.
7394 * gdb.base/foll-vfork-exit.c: Include limits.h.
7395 (main): Add one line of statement before vfork.
7396 * gdb.base/foll-vfork.c: Include limits.h and string.h.
7397 (main): Add parameters argc and argv. Get directory from
7399 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
7400 (setup_gdb): Set tbreak to skip some source lines.
7401 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
7402 (main): Add parameters argc and argv. Get directory from
7404 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
7406 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
7407 (main): Add parameters argc and argv. Get directory from
7409 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
7412 2016-02-01 Doug Evans <dje@google.com>
7414 * gdb.base/skip.exp: Clean up multiple references to same test name.
7416 2016-02-01 Pedro Alves <palves@redhat.com>
7419 * gdb.threads/forking-threads-plus-breakpoint.exp
7420 (displaced_stepping_supported): New global.
7421 (probe_displaced_stepping_support): New procedure.
7422 (do_test): Add 'displaced' parameter, and use it.
7423 (top level): Check for displaced stepping support. Add displaced
7424 stepping on/off testing axis.
7426 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
7428 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
7429 pointer. Don't perform further tests on the unassociated pointer
7430 if the first test fails.
7432 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
7434 * gdb.base/max-value-size.c: New file.
7435 * gdb.base/max-value-size.exp: New file.
7436 * gdb.base/huge.exp: Disable max-value-size for this test.
7438 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
7440 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
7442 2016-01-28 Yao Qi <yao.qi@linaro.org>
7444 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
7446 2016-01-25 Pedro Alves <palves@redhat.com>
7449 * gdb.base/fork-running-state.c: New file.
7450 * gdb.base/fork-running-state.exp: New file.
7452 2016-01-25 Pedro Alves <palves@redhat.com>
7455 * gdb.base/catch-fork-kill.c: New file.
7456 * gdb.base/catch-fork-kill.exp: New file.
7458 2016-01-25 Pedro Alves <palves@redhat.com>
7460 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
7461 Delete, moved to lib/gdb.exp.
7462 * gdb.threads/forking-threads-plus-breakpoint.exp
7463 (foreach_with_prefix): Likewise.
7464 * gdb.threads/process-dies-while-handling-bp.exp
7465 (foreach_with_prefix): Likewise.
7466 * lib/gdb.exp (foreach_with_prefix): New procedure.
7468 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
7470 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
7471 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
7473 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
7475 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
7478 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7479 Pedro Alves <palves@redhat.com>
7481 Fix testsuite compatibility with Guile.
7482 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
7485 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7487 Fix testsuite compatibility with Guile.
7488 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
7489 (thread 1): New test for backtrace through signal handler.
7491 2016-01-22 Yao Qi <yao.qi@linaro.org>
7494 * gdb.base/multi-forks.c: Include
7495 ../lib/unbuffer_output.c
7496 (main): Call gdb_unbuffer_output.
7498 2016-01-21 Doug Evans <dje@google.com>
7500 * lib/ada.exp (gdb_compile_ada): Fix typo.
7502 2016-01-21 Joel Brobecker <brobecker@adacore.com>
7504 * gdb.base/break-fun-addr.exp: New file.
7505 * gdb.base/break-fun-addr1.c: New file.
7506 * gdb.base/break-fun-addr2.c: New file.
7508 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
7510 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
7511 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
7514 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7516 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
7517 when GDB can not set the vector return value. Add more comments
7520 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
7522 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
7525 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7527 * Makefile.in (DO_RUNTEST): Add --status and update usages.
7529 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7531 * Makefile.in (check-single): Pass --status to runtest.
7532 (check/%.exp): Likewise.
7534 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7536 * Makefile.in (check-parallel): Propagate return code from make
7539 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
7541 * gdb.trace/ftrace.exp: Fix expected message on continue.
7542 * gdb.trace/pending.exp: Fix expected message on continue.
7543 * gdb.trace/trace-break.exp: Fix expected message on continue.
7545 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
7547 * lib/gdb.exp (gdb_test): Remove unused global references.
7549 2016-01-18 Pedro Alves <palves@redhat.com>
7551 * gdb.base/async-shell.exp: Adjust expected output.
7552 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
7553 * gdb.base/siginfo-thread.exp: Adjust expected output.
7554 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
7555 * gdb.java/jnpe.exp: Adjust expected output.
7556 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
7557 * gdb.threads/continue-pending-status.exp: Adjust expected output.
7558 * gdb.threads/leader-exit.exp: Adjust expected output.
7559 * gdb.threads/manythreads.exp: Adjust expected output.
7560 * gdb.threads/pthreads.exp: Adjust expected output.
7561 * gdb.threads/schedlock.exp: Adjust expected output.
7562 * gdb.threads/siginfo-threads.exp: Adjust expected output.
7563 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
7565 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
7567 * gdb.threads/sigthread.exp: Adjust expected output.
7568 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
7570 2016-01-18 Yao Qi <yao.qi@linaro.org>
7572 * gdb.guile/scm-section-script.c: Replace @progbits with
7574 * gdb.python/py-section-script.c: Likewise.
7576 2016-01-15 Pedro Alves <palves@redhat.com>
7578 * gdb.multi/tids.exp: Test star wildcard ranges.
7580 2016-01-15 Pedro Alves <palves@redhat.com>
7582 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
7583 command from "thread apply" invocation.
7584 (thr_apply_info_thr_invalid): Default the expected output to the
7586 (top level): Add tests that use convenience variables. Add tests
7587 for "thread apply" with a valid TID list, but missing the command.
7589 2016-01-13 Pedro Alves <palves@redhat.com>
7591 * gdb.base/default.exp: Expect $_gthread as well.
7592 * gdb.multi/tids.exp: Test $_gthread.
7593 * gdb.threads/thread-specific.exp: Test $_gthread.
7595 2016-01-13 Pedro Alves <palves@redhat.com>
7597 * gdb.multi/tids.exp: Test "info threads -gid".
7599 2016-01-13 Pedro Alves <palves@redhat.com>
7601 * gdb.multi/tids.exp: Test InferiorThread.global_num and
7603 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
7605 2016-01-07 Pedro Alves <palves@redhat.com>
7607 * gdb.base/break.exp: Adjust to output changes.
7608 * gdb.base/hbreak2.exp: Likewise.
7609 * gdb.base/sepdebug.exp: Likewise.
7610 * gdb.base/watch_thread_num.exp: Likewise.
7611 * gdb.linespec/keywords.exp: Likewise.
7612 * gdb.multi/info-threads.exp: Likewise.
7613 * gdb.threads/thread-find.exp: Likewise.
7614 * gdb.multi/tids.c: New file.
7615 * gdb.multi/tids.exp: New file.
7617 2016-01-13 Pedro Alves <palves@redhat.com>
7619 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
7621 2016-01-13 Pedro Alves <palves@redhat.com>
7623 * gdb.base/default.exp: Expect $_inferior as well.
7624 * gdb.multi/base.exp: Test $_inferior.
7626 2016-01-13 Pedro Alves <palves@redhat.com>
7628 PR breakpoints/19388
7629 * gdb.base/catch-signal-siginfo-cond.c: New file.
7630 * gdb.base/catch-signal-siginfo-cond.exp: New file.
7632 2016-01-12 Josh Stone <jistone@redhat.com>
7633 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7635 * gdb.base/catch-syscall.c (do_execve): New variable.
7636 (main): Conditionally trigger an execve.
7637 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
7638 (test_catch_syscall_execve): New, check entry/return across execve.
7639 (do_syscall_tests): Call test_catch_syscall_execve.
7641 2016-01-12 Pedro Alves <palves@redhat.com>
7643 * gdb.base/random-signal.exp (do_test): New procedure, with body
7644 of testcase moved in.
7646 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7647 Pedro Alves <palves@redhat.com>
7649 * gdb.base/funcargs.exp (finish from indirectly called function):
7650 Reintroduce the case for 'First'.
7652 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7653 Pedro Alves <palves@redhat.com>
7655 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
7656 (tcatch_vfork_then_child_follow_exec)
7657 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
7660 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7662 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
7663 and repeats to unlimited.
7664 * gdb.python/py-value.exp: Likewise.
7665 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
7666 and repeats to unlimited.
7668 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7670 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
7671 and reordering the functions.
7672 * gdb.multi/hangout.c: Likewise.
7673 * gdb.multi/hello.c: Likewise.
7675 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
7677 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
7679 (SingleStatisticTestResult.report): Use dict.keys instead of
7682 2016-01-06 Pedro Alves <palves@redhat.com>
7684 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
7686 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
7688 * gdb.btrace/dlopen.exp: New.
7689 * gdb.btrace/dlopen.c: New.
7690 * gdb.btrace/dlopen-dso.c: New.
7692 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
7694 * lib/gdb.exp (gdb_test): Update comments to clarify that the
7695 PATTERN argument is optional.
7697 2015-12-24 Joel Brobecker <brobecker@adacore.com>
7699 * lib/ada.exp (target_compile_ada_from_dir): New function.
7700 (gdb_compile_ada): Reimplement avoiding the use of project files.
7701 * gdb.ada/gnat_ada.gpr: Delete.
7702 * gdb.ada/cond_lang.exp: Adjust test to make path before
7704 * gdb.ada/small_reg_param.exp: Likewise.
7706 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
7708 * gdb.base/foll-vork.exp: Remove HP-UX special case.
7710 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
7712 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
7715 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
7717 * gdb.base/break.exp: Remove dead code.
7718 * gdb.base/sepdebug.exp: Likewise.
7720 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
7722 * gdb.asm/asm-source.exp: Remove HP-UX references.
7723 * gdb.base/annota1.exp: Likewise.
7724 * gdb.base/annota3.exp: Likewise.
7725 * gdb.base/attach.exp: Likewise.
7726 * gdb.base/bigcore.exp: Likewise.
7727 * gdb.base/break.exp: Likewise.
7728 * gdb.base/call-ar-st.exp: Likewise.
7729 * gdb.base/callfuncs.exp: Likewise.
7730 * gdb.base/catch-fork-static.exp: Likewise.
7731 * gdb.base/display.exp: Likewise.
7732 * gdb.base/foll-exec-mode.exp: Likewise.
7733 * gdb.base/foll-exec.exp: Likewise.
7734 * gdb.base/foll-fork.exp: Likewise.
7735 * gdb.base/foll-vfork.exp: Likewise.
7736 * gdb.base/funcargs.exp: Likewise.
7737 * gdb.base/hbreak2.exp: Likewise.
7738 * gdb.base/inferior-died.exp: Likewise.
7739 * gdb.base/interrupt.exp: Likewise.
7740 * gdb.base/multi-forks.exp: Likewise.
7741 * gdb.base/nodebug.exp: Likewise.
7742 * gdb.base/sepdebug.exp: Likewise.
7743 * gdb.base/solib1.c: Likewise.
7744 * gdb.base/step-test.exp: Likewise.
7745 * gdb.mi/non-stop.c: Likewise.
7746 * gdb.mi/pthreads.c: Likewise.
7747 * gdb.multi/bkpt-multi-exec.ex: Likewise.
7748 * gdb.threads/pthreads.c: Likewise.
7749 * gdb.threads/staticthreads.exp: Likewise.
7750 * lib/future.exp: Likewise.
7751 * lib/gdb.exp: Likewise.
7752 * gdb.base/so-indr-cl.c: Remove.
7753 * gdb.base/so-indr-cl.exp: Likewise.
7754 * gdb.base/solib.c: Likewise.
7755 * gdb.base/solib.exp: Likewise.
7756 * gdb.base/solib2.c: Likewise.
7758 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
7760 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
7761 * gdb.base/call-ar-st.exp: Likewise.
7762 * gdb.base/callfuncs.exp: Likewise.
7763 * gdb.base/condbreak.exp: Likewise.
7764 * gdb.base/constvars.exp: Likewise.
7765 * gdb.base/hbreak2.exp: Likewise.
7766 * gdb.base/langs.exp: Likewise.
7767 * gdb.base/list.exp: Likewise.
7768 * gdb.base/long_long.exp: Likewise.
7769 * gdb.base/ptype.exp: Likewise.
7770 * gdb.base/scope.exp: Likewise.
7771 * gdb.base/signals.exp: Likewise.
7772 * gdb.base/so-impl-ld.exp: Likewise.
7773 * gdb.base/varargs.exp: Likewise.
7774 * gdb.base/volatile.exp: Likewise.
7775 * gdb.base/whatis.exp: Likewise.
7776 * gdb.cp/cplusfuncs.exp: Likewise.
7777 * gdb.cp/inherit.exp: Likewise.
7778 * gdb.cp/local.exp: Likewise.
7779 * gdb.cp/member-ptr.exp: Likewise.
7780 * gdb.cp/method.exp: Likewise.
7781 * gdb.cp/overload.exp: Likewise.
7782 * gdb.cp/templates.exp: Likewise.
7783 * gdb.stabs/weird.exp: Likewise.
7784 * lib/compiler.c: Likewise.
7785 * lib/compiler.cc: Likewise.
7786 * lib/cp-support.exp: Likewise.
7787 * lib/gdb.exp: Likewise.
7789 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
7791 * configure.ac: Remove HP-UX case.
7792 * configure: Regenerate.
7794 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
7796 * lib/gdb.exp (gdb_compile): Add function doc.
7798 2015-12-17 Pedro Alves <palves@redhat.com>
7801 * gdb.multi/info-threads.exp: New file.
7803 2015-12-15 Yao Qi <yao.qi@linaro.org>
7805 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
7808 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7810 * gdb.base/history-duplicates.exp: Skip if no readline support.
7812 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7814 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
7816 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7818 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
7820 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7822 * gdb.base/completion.exp: Skip tests that interrupt GDB with
7823 ctrl-C if nointerrupts target property is set.
7824 * gdb.base/double-prompt-target-event-error.exp: Likewise.
7825 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
7826 * gdb.base/paginate-bg-execution.exp: Likewise.
7827 * gdb.base/paginate-execution-startup.exp: Likewise.
7828 * gdb.base/random-signal.exp: Likewise.
7829 * gdb.base/range-stepping.exp: Likewise.
7830 * gdb.cp/annota2.exp: Likewise.
7831 * gdb.cp/annota3.exp: Likewise.
7832 * gdb.gdb/selftest.exp: Likewise.
7833 * gdb.threads/continue-pending-status.exp: Likewise.
7834 * gdb.threads/leader-exit.exp: Likewise.
7835 * gdb.threads/manythreads.exp: Likewise.
7836 * gdb.threads/pthreads.exp: Likewise.
7837 * gdb.threads/schedlock.exp: Likewise.
7838 * gdb.threads/sigthread.exp: Likewise.
7840 2015-12-11 Don Breazeal <donb@codesourcery.com>
7842 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
7844 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
7845 * gdb.base/foll-exec.exp (main): Enable for target remote.
7846 * gdb.base/foll-fork.exp (main): Likewise.
7847 * gdb.base/foll-vfork.exp (main): Likewise.
7848 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
7849 (proc continue_to_exit_bp_loc): Use clean_restart.
7850 * gdb.base/pie-execl.exp (main): Disable for target remote.
7851 * gdb.base/watch-vfork.exp (main): Enable for target remote.
7852 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
7853 * gdb.threads/execl.exp (main): Likewise.
7854 * gdb.threads/fork-child-threads.exp (main): Likewise.
7855 * gdb.threads/fork-plus-threads.exp (main): Disable for target
7857 * gdb.threads/fork-thread-pending.exp (main): Enable for target
7859 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
7860 pid.tid style ptids, instead of just tid.
7861 * gdb.threads/thread-execl.exp (main): Enable for target remote.
7862 * gdb.threads/watchpoint-fork.exp (main): Likewise.
7863 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
7864 ptids, instead of just tid.
7866 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7868 * gdb.base/list.exp (test_list_forward): Add end of file error
7870 (test_repeat_list_command): Add end of file error test.
7871 (test_list_backwards): Add beginning of file error test.
7873 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7875 * gdb.base/list.exp (test_list_invalid_args): New function,
7876 defined, and called.
7878 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7880 * gdb.base/list.exp (test_list): Make test names unique.
7882 2015-12-11 Yao Qi <yao.qi@linaro.org>
7884 * gdb.base/coremaker2.c: Remove.
7886 2015-12-10 Pedro Alves <palves@redhat.com>
7888 * gdb.multi/base.exp: Remove stale "spaces" references.
7890 2015-12-10 Pedro Alves <palves@redhat.com>
7892 * gdb.multi/base.exp: Don't use nowarnings.
7893 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
7894 * gdb.multi/hangout.c: Include stdio.h.
7895 * gdb.multi/hello.c: Include stdlib.h.
7896 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
7897 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
7898 * gdb.multi/multi-arch.exp: Don't use nowarnings.
7900 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
7902 * gdb.dwarf2/dw2-ranges-base.c: New file.
7903 * gdb.dwarf2/dw2-ranges-base.exp: New file.
7904 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
7905 support additional line table, and debug ranges generation.
7906 (Dwarf::ranges): New function, generate .debug_ranges.
7907 (Dwarf::lines): Support generating simple line table programs.
7908 (Dwarf::assemble): Initialise new namespace variables.
7910 2015-12-09 Kevin Buettner <kevinb@redhat.com>
7912 * gdb.base/async.exp (proc test_background): Add case for
7913 asynchronous execution not supported.
7915 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
7917 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
7918 format and change test names to make them unique.
7920 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
7921 Pedro Alves <pedro@redhat.com>
7924 Add checking of floatformats setup on x86_64 hosts.
7925 * gdb.arch/i386-float.S (main): Load bigval and smallval.
7926 (smallval, bigval): New labels/constants.
7927 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
7928 float" after loading bigval and smallval.
7930 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
7932 * gdb.ada/fun_overload_menu.exp: New testcase.
7933 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
7935 2015-12-04 Josh Stone <jistone@redhat.com>
7937 * gdb.base/catch-fork-static.exp: New.
7939 2015-12-03 Yao Qi <yao.qi@linaro.org>
7941 * gdb.base/sizeof.c: Don't include stdio.h and
7942 ../lib/unbuffer_output.c.
7943 (main): New variable 'size' and 'value'. Remove printf and
7944 gdb_unbuffer_output. Assign return value to size and value.
7945 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
7947 (check_sizeof): Check the result by printing variable 'size'.
7948 (check_valueof): Check the result by printing variable 'value'.
7950 2015-12-01 Yao Qi <yao.qi@linaro.org>
7952 * gdb.base/disp-step-syscall.exp: Define syscall instruction
7953 for aarch64*-*-linux* target.
7955 2015-11-30 Pedro Alves <palves@redhat.com>
7957 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
7959 2015-11-30 Pedro Alves <palves@redhat.com>
7961 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
7962 Handle non-stop mode vCont replies.
7964 2015-11-30 Pedro Alves <palves@redhat.com>
7966 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
7967 prepare_for_testing. Start gdb with "set non-stop on" appended to
7968 GDBFLAGS. Lax expected stop output.
7970 2015-11-27 Yao Qi <yao.qi@linaro.org>
7972 * gdb.arch/arm-neon.exp: New.
7973 * gdb.arch/arm-neon.c: New.
7975 2015-11-27 Yao Qi <yao.qi@linaro.org>
7977 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
7979 2015-11-27 Yao Qi <yao.qi@linaro.org>
7981 * gdb.cp/annota2.exp: Allow multiple occurrences of the
7982 frames-invalid annotation.
7984 2015-11-27 Yao Qi <yao.qi@linaro.org>
7986 * gdb.cp/annota2.exp: Use ${frames_invalid}.
7988 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
7990 * gdb.threads/names.exp: New file.
7991 * gdb.threads/names.c: New file.
7992 * README: Mention gdb,no_thread_names.
7994 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
7997 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
8000 2015-11-24 Pedro Alves <palves@redhat.com>
8003 * gdb.base/display.exp: Expect displays to be sorted in ascending
8004 order. Use multi_line.
8005 * gdb.base/solib-display.exp: Likewise.
8007 2015-11-24 Pedro Alves <palves@redhat.com>
8010 * gdb.base/display.exp: Expect displays to be sorted in ascending
8011 order. Use multi_line.
8012 * gdb.base/solib-display.exp: Likewise.
8014 2015-11-24 Pedro Alves <palves@redhat.com>
8017 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
8018 threads in ascending order.
8019 * gdb.base/foll-fork.exp: Likewise.
8020 * gdb.base/foll-vfork.exp: Likewise.
8021 * gdb.base/multi-forks.exp: Likewise.
8022 * gdb.mi/mi-nonstop.exp: Likewise.
8023 * gdb.mi/mi-nsintrall.exp: Likewise.
8024 * gdb.multi/base.exp: Likewise.
8025 * gdb.multi/multi-arch.exp: Likewise.
8026 * gdb.python/py-inferior.exp: Likewise.
8027 * gdb.threads/break-while-running.exp: Likewise.
8028 * gdb.threads/execl.exp: Likewise.
8029 * gdb.threads/gcore-thread.exp: Likewise.
8030 * gdb.threads/info-threads-cur-sal.exp: Likewise.
8031 * gdb.threads/kill.exp: Likewise.
8032 * gdb.threads/linux-dp.exp: Likewise.
8033 * gdb.threads/multiple-step-overs.exp: Likewise.
8034 * gdb.threads/next-bp-other-thread.exp: Likewise.
8035 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
8036 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
8037 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
8038 * gdb.threads/thread-find.exp: Likewise.
8039 * gdb.threads/tls.exp: Likewise.
8040 * lib/mi-support.exp (mi_reverse_list): Delete.
8041 (mi_check_thread_states): No longer reverse list.
8043 2015-11-24 Pedro Alves <palves@redhat.com>
8045 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
8048 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
8050 * gdb.trace/actions.c: Include trace-common.h.
8051 (main): Add a location for a fast tracepoint.
8052 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
8053 the normal tracepoints.
8054 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
8056 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
8058 * save-trace.exp: Factor out code to these...
8059 (gdb_save_tracepoints): New.
8060 (gdb_load_tracepoints): New.
8061 (do_save_load_test): New.
8063 2015-11-23 Kevin Buettner <kevinb@redhat.com>
8065 * gdb.base/asmlabel.exp: New test.
8066 * gdb.base/asmlabel.c: New test case.
8068 2015-11-23 Joel Brobecker <brobecker@adacore.com>
8070 * gdb.base/wrong_frame_bt_full-main.c: New file.
8071 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
8072 * gdb.base/wrong_frame_bt_full.exp: New file.
8074 2015-11-23 Joel Brobecker <brobecker@adacore.com>
8076 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
8078 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
8080 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
8081 pstate register when comparing registers values in
8082 sparc64-*-linux-gnu targets to avoid spurious differences.
8084 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
8086 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
8088 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
8090 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
8091 as type argument to gdb_compile.
8092 * gdb.base/nested-subp2.exp: Likewise.
8093 * gdb.base/nested-subp3.exp: Likewise.
8095 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
8097 * lib/dwarf.exp (_note): Fix left shift of negative value.
8098 * gdb.trace/trace-condition.exp: Likewise.
8100 2015-11-13 Yao Qi <yao.qi@linaro.org>
8102 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
8103 comments about d10v.
8104 (test_scalar_returns): Likewise.
8105 * gdb.base/d10v.ld: Remove.
8106 * gdb.base/overlays.exp: Remove the target triplet checking for
8108 * gdb.base/structs.exp (test_struct_returns): Remove the
8109 comments about d10v.
8110 (test_struct_calls): Likewise.
8112 2015-11-13 Yao Qi <yao.qi@linaro.org>
8114 * gdb.base/gnu_vector.exp: Check the return value by "p res".
8115 * gdb.base/gnu_vector.c: Don't include stdio.h.
8116 (main): Don't print res and call add_some_intvecs.
8118 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
8120 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
8123 (func4): Use FAST_TRACEPOINT_LABEL.
8124 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
8127 (thread_function): Use FAST_TRACEPOINT_LABEL.
8128 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
8130 (marker): Use FAST_TRACEPOINT_LABEL.
8131 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
8132 (pendfunc1): Remove.
8133 (pendfunc): Use FAST_TRACEPOINT_LABEL.
8134 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
8136 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
8137 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
8140 (marker): Use FAST_TRACEPOINT_LABEL.
8141 * gdb.trace/trace-common.h: New header.
8142 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
8145 (marker): Use FAST_TRACEPOINT_LABEL.
8146 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
8148 (thread_function): Use FAST_TRACEPOINT_LABEL.
8150 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
8152 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
8154 * gdb.trace/change-loc.exp: Use global pcreg definition.
8155 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
8156 * gdb.trace/entry-values.exp: Use global spreg definition, add $
8158 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
8159 * gdb.trace/pending.exp: Likewise.
8160 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
8161 * gdb.trace/trace-break.exp: Likewise.
8162 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
8164 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
8165 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
8167 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
8169 2015-11-09 Joel Brobecker <brobecker@adacore.com>
8171 * gdb.ada/fin_fun_out: New testcase.
8173 2015-11-07 Kevin Buettner <kevinb@redhat.com>
8175 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
8176 value associated with DW_AT_byte_size.
8177 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
8178 constants for DW_AT_byte_size, DW_AT_lower_bound, and
8181 2015-11-07 Kevin Buettner <kevinb@redhat.com>
8183 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
8184 (gdb_target_symbol_prefix_flags): Define in terms of _asm
8186 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
8187 gdb.dwarf2/dw2-canonicalize-type.exp,
8188 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
8189 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
8190 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
8191 provided by gdb_target_symbol_prefix_flags_asm.
8192 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
8193 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
8194 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
8195 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
8196 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
8197 macros where needed). Use this macro for symbols which require
8198 the prefix provided by SYMBOL_PREFIX.
8200 2015-11-05 Kevin Buettner <kevinb@redhat.com>
8202 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
8204 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
8205 representing expressions, of more than one list element.
8206 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
8207 to prepend linker symbol prefix to f.
8208 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
8209 table_1 and table_2.
8210 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
8211 Likewise, for f and g.
8212 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
8214 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
8216 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
8217 table_1_ptr and table_2_ptr.
8219 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8220 Joel Brobecker <brobecker@adacore.com>
8222 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
8224 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
8226 * gdb.reverse/s390-mvcle.c: New test.
8227 * gdb.reverse/s390-mvcle.exp: New file.
8228 * lib/gdb.exp: Enable reverse tests on s390*-linux.
8230 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
8232 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
8234 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
8236 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
8238 * gdb.reverse/getresuid-reverse.exp: Likewise.
8239 * gdb.reverse/pipe-reverse.exp: Likewise.
8240 * gdb.reverse/readv-reverse.exp: Likewise.
8241 * gdb.reverse/recvmsg-reverse.exp: Likewise.
8242 * gdb.reverse/time-reverse.exp: Likewise.
8243 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
8245 2015-10-30 Yao Qi <yao.qi@linaro.org>
8247 * gdb.threads/wp-replication.c (watch_count_done): Remove.
8248 (empty_cycle): Remove.
8249 (main): Don't call empty_cycle. Don't use watch_count_done.
8250 * gdb.threads/wp-replication.exp: Don't set breakpoint on
8251 empty_cycle. Rewrite the code counting HW watchpoints.
8253 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
8255 * gdb.reverse/fstatat-reverse.c: New test.
8256 * gdb.reverse/fstatat-reverse.exp: New file.
8257 * gdb.reverse/getresuid-reverse.c: New test.
8258 * gdb.reverse/getresuid-reverse.exp: New file.
8259 * gdb.reverse/pipe-reverse.c: New test.
8260 * gdb.reverse/pipe-reverse.exp: New file.
8261 * gdb.reverse/readv-reverse.c: New test.
8262 * gdb.reverse/readv-reverse.exp: New file.
8263 * gdb.reverse/recvmsg-reverse.c: New test.
8264 * gdb.reverse/recvmsg-reverse.exp: New file.
8265 * gdb.reverse/time-reverse.c: New test.
8266 * gdb.reverse/time-reverse.exp: New file.
8267 * gdb.reverse/waitpid-reverse.c: New test.
8268 * gdb.reverse/waitpid-reverse.exp: New file.
8270 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8272 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
8274 2015-10-26 Doug Evans <dje@google.com>
8277 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
8278 * gdb.dwarf2/bad-regnum.c: New file.
8279 * gdb.dwarf2/bad-regnum.exp: New file.
8281 2015-10-26 Doug Evans <dje@google.com>
8284 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
8287 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8289 * gdb.compile/compile.exp (compile code globalvar): Update expectation
8290 for a change by "Mention language in compile error message".
8292 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
8295 * gdb.python/py-type.c (C::a_method): New.
8296 (C::a_const_method): New.
8297 (C::a_static_method): New.
8299 * gdb.python/py-type.exp (test_fields): Test getting fields
8300 from function and method.
8302 2015-10-21 Keven Boell <keven.boell@intel.com>
8304 * gdb.fortran/vla-alloc-assoc.exp: New file.
8305 * gdb.fortran/vla-datatypes.exp: New file.
8306 * gdb.fortran/vla-datatypes.f90: New file.
8307 * gdb.fortran/vla-history.exp: New file.
8308 * gdb.fortran/vla-ptype-sub.exp: New file.
8309 * gdb.fortran/vla-ptype.exp: New file.
8310 * gdb.fortran/vla-sizeof.exp: New file.
8311 * gdb.fortran/vla-sub.f90: New file.
8312 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
8313 * gdb.fortran/vla-value-sub-finish.exp: New file.
8314 * gdb.fortran/vla-value-sub.exp: New file.
8315 * gdb.fortran/vla-value.exp: New file.
8316 * gdb.fortran/vla-ptr-info.exp: New file.
8317 * gdb.mi/mi-vla-fortran.exp: New file.
8318 * gdb.mi/vla.f90: New file.
8320 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
8322 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
8323 of hardwired timeout value.
8325 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8326 Pedro Alves <palves@redhat.com>
8328 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
8329 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
8331 2015-10-19 Josh Stone <jistone@redhat.com>
8333 * gdb.base/catch-syscall.c: Include <sched.h>.
8334 (unknown_syscall): New variable.
8335 (main): Trigger a vfork and an unknown syscall.
8336 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
8337 (unknown_syscall_number): Likewise.
8338 (check_call_to_syscall): Accept an optional syscall pattern.
8339 (check_return_from_syscall): Likewise.
8340 (check_continue): Likewise.
8341 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
8342 (test_catch_syscall_skipping_return): New test toggling off 'catch
8343 syscall' to step over the syscall return, then toggling back on.
8344 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
8345 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
8346 (do_syscall_tests): Call test_catch_syscall_without_args and
8347 test_catch_syscall_mid_vfork.
8348 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
8349 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
8351 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
8353 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
8354 print g_vE): Add new pass patterns.
8355 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
8356 print various symbol names for vptr fields.
8358 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
8360 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
8363 2015-10-12 Yao Qi <yao.qi@linaro.org>
8365 * gdb.arch/disp-step-insn-reloc.exp: New test case.
8367 2015-10-12 Yao Qi <yao.qi@linaro.org>
8369 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
8370 is aarch64*-*-linux*.
8372 2015-10-12 Yao Qi <yao.qi@linaro.org>
8374 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
8375 (can_relocate_bcond_true): ... it.
8376 (can_relocate_bcond_false): New function.
8378 (can_relocate_bl): Likewise.
8379 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
8382 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
8384 * gdb.base/nested-addr.c: New file.
8385 * gdb.base/nested-addr.exp: New testcase.
8387 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
8389 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
8390 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
8391 its output. Ignore the output of "record goto begin" and instead
8392 check that GDB is replaying.
8394 2015-10-09 Pedro Alves <palves@redhat.com>
8396 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
8397 (top level): Use it in the run with no args test.
8399 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
8401 * gdb.dlang/properties.exp: New file.
8403 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
8405 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
8406 whether or not address 0x1000 is mapped on the target.
8408 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
8410 * gdb.python/py-type.exp: Do not run tests if binaries fail to
8413 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
8415 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
8416 instruction-history test.
8418 2015-09-28 Doug Evans <dje@google.com>
8420 * gdb.base/gcore.c (array_func): Add reference to static_array.
8422 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
8424 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
8427 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
8429 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
8430 short or char as base type.
8432 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
8434 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
8435 to allow any size enum.
8437 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
8439 * gdb.ada/array_ptr_renaming.exp: New testcase.
8440 * gdb.ada/array_ptr_renaming/foo.adb: New file.
8441 * gdb.ada/array_ptr_renaming/pack.ads: New file.
8443 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8445 * gdb.trace/ftrace-lock.c: New file.
8446 * gdb.trace/ftrace-lock.exp: New file.
8448 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8450 * gdb.arch/insn-reloc.c: New file.
8451 * gdb.arch/ftrace-insn-reloc.exp: New file.
8453 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8455 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
8457 * gdb.trace/pendshr1.c (pendfunc): Likewise.
8458 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
8459 * gdb.trace/range-stepping.c: Likewise.
8460 * gdb.trace/trace-break.c: Likewise.
8461 * gdb.trace/trace-mt.c (thread_function): Likewise.
8462 * gdb.trace/ftrace.c (marker): Likewise.
8463 * gdb.trace/trace-condition.c (marker): Likewise.
8464 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
8465 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
8468 2015-09-18 Doug Evans <xdje42@gmail.com>
8470 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
8471 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
8473 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8475 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
8478 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8480 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
8481 the pending breakpoint. Remove timeout override for "Run till
8482 MI pending breakpoint on pendfunc3 on thread 2" test.
8484 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8486 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
8489 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8491 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
8492 in breakpoint filename pattern.
8494 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8496 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
8498 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8500 * gdb.linespec/explicit.exp: Check for readline support for
8501 tab-completion tests. Fix obvious typo.
8503 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
8505 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
8508 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
8510 * gdb.btrace/non-stop.c: New.
8511 * gdb.btrace/non-stop.exp: New.
8513 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
8514 Yao Qi <yao.qi@linaro.org>
8516 * gdb.trace/trace-condition.c: New file.
8517 * gdb.trace/trace-condition.exp: New file.
8519 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
8521 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
8522 for testing bytecode compilation.
8524 2015-09-16 Pedro Alves <palves@redhat.com>
8525 Sandra Loosemore <sandra@codesourcery.com>
8527 * gdb.threads/non-stop-fair-events.c (timeout): New global.
8528 (SECONDS): Redefine.
8529 (main): Call pthread_kill and alarm early.
8530 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
8532 (test): If the target can't hardware step and doesn't support
8533 displaced stepping, increase the timeout.
8535 2015-09-16 Pedro Alves <palves@redhat.com>
8537 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
8538 (enable_debug): New procedures.
8539 (test): Use them. Bail out if waiting for threads fails.
8540 (top level): Bail out if a test fails.
8542 2015-09-16 Yao Qi <yao.qi@linaro.org>
8544 * gdb.asm/asm-source.exp: Set asm-arch for
8545 aarch64*-*-* target.
8546 * gdb.asm/aarch64.inc: New file.
8548 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
8550 * gdb.ada/array_of_variable_length.exp: New testcase.
8551 * gdb.ada/array_of_variable_length/foo.adb: New file.
8552 * gdb.ada/array_of_variable_length/pck.adb: New file.
8553 * gdb.ada/array_of_variable_length/pck.ads: New file.
8555 2015-09-15 Doug Evans <dje@google.com>
8557 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
8558 of function static local variable.
8560 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8562 * gdb.threads/tls-so_extern.exp: New test file.
8563 * gdb.threads/tls-so_extern.c: New test file.
8564 * gdb.threads/tls-so_extern_main.c: New test file.
8566 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8568 * gdb.opt/solib-intra-step-lib.c: New file.
8569 * gdb.opt/solib-intra-step-main.c: New file.
8570 * gdb.opt/solib-intra-step.exp: New file.
8572 2015-09-15 Pedro Alves <palves@redhat.com>
8574 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
8575 gdb_continue_to_breakpoint instead of gdb_test_multiple.
8577 2015-09-14 Pedro Alves <palves@redhat.com>
8579 * gdb.base/hook-stop-continue.c: Delete.
8580 * gdb.base/hook-stop-continue.exp: Delete.
8581 * gdb.base/hook-stop-frame.c: Delete.
8582 * gdb.base/hook-stop-frame.exp: Delete.
8583 * gdb.base/hook-stop.c: New file.
8584 * gdb.base/hook-stop.exp: New file.
8586 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
8588 * gdb.ada/access_to_packed_array.exp: New testcase.
8589 * gdb.ada/access_to_packed_array/foo.adb: New file.
8590 * gdb.ada/access_to_packed_array/pack.adb: New file.
8591 * gdb.ada/access_to_packed_array/pack.ads: New file.
8593 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
8595 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
8598 2015-09-11 Don Breazeal <donb@codesourcery.com>
8600 * gdb.base/foll-exec.c: Add copyright header. Fix
8602 * gdb.base/foll-exec.exp (zap_session): Delete proc.
8603 (do_exec_tests): Use clean_restart in place of zap_session,
8604 and for test initialization. Fix formatting issues. Use
8605 fail in place of perror.
8606 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
8607 an expect statement to match an expression with output from
8608 the program under debug.
8609 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
8610 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
8611 * gdb.threads/non-ldr-exc-2.exp: Likewise.
8612 * gdb.threads/non-ldr-exc-3.exp: Likewise.
8613 * gdb.threads/non-ldr-exc-4.exp: Likewise.
8615 2015-09-09 Doug Evans <dje@google.com>
8617 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
8619 2015-09-09 Doug Evans <dje@google.com>
8621 * gdb.base/pie-execl.exp: Fix result test of build_executable.
8623 2015-09-09 Doug Evans <dje@google.com>
8625 * gdb.base/savedregs.exp: Fix typo.
8627 2015-09-09 Pedro Alves <palves@redhat.com>
8629 * gdb.mi/mi-cli.exp: Add CLI finish tests.
8631 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
8633 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
8634 command actually switches threads. Give up on remaining
8635 tests if target fails to stop at breakpoint.
8637 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
8639 * gdb.ada/funcall_char.exp: New testcase.
8640 * gdb.ada/funcall_char/foo.adb: New file.
8642 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
8644 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
8645 expected outputs. Add two testcases for completing ambiguous
8647 * gdb.ada/complete/aux_pck.adb: New file.
8648 * gdb.ada/complete/aux_pck.ads: New file.
8649 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
8650 Ambiguous_Func functions.
8651 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
8652 * gdb.ada/complete/pck.adb: Likewise.
8654 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
8656 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
8657 failures to run the test program under GDB.
8659 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
8661 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
8664 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
8666 * gdb.base/run-after-attach.exp: New test file.
8667 * gdb.base/run-after-attach.c: New test file.
8669 2015-08-26 Don Breazeal <donb@codesourcery.com>
8671 * gdb.base/foll-exec-2.c: New test program.
8672 * gdb.base/foll-exec-2.exp: New test.
8674 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
8676 * gdb.base/nested-subp1.exp: New file.
8677 * gdb.base/nested-subp1.c: New file.
8678 * gdb.base/nested-subp2.exp: New file.
8679 * gdb.base/nested-subp2.c: New file.
8680 * gdb.base/nested-subp3.exp: New file.
8681 * gdb.base/nested-subp3.c: New file.
8683 2015-08-24 Pedro Alves <palves@redhat.com>
8685 * gdb.server/connect-without-multi-process.c: New file.
8686 * gdb.server/connect-without-multi-process.exp: New file.
8688 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
8690 * gdb.opt/inline-markers.c: Make z int.
8692 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
8694 * gdb.opt/inline-markers.c: Make z volatile.
8696 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
8698 * gdb.opt/inline-bt.c: New volatile global z.
8699 * gdb.opt/inline-cmds.c: Likewise.
8700 * gdb.opt/inline-locals.c: Likewise.
8701 * gdb.opt/inline-markers.c: New extern global z.
8703 (inline_fn): Likewise.
8705 2015-08-24 Pedro Alves <palves@redhat.com>
8707 * config/m32r-stub.exp: Remove file.
8708 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
8709 * gdb.base/call-rt-st.exp: Likewise.
8710 * gdb.base/call-strs.exp: Likewise.
8711 * gdb.base/default.exp: Remove references to h8300-*-hms and
8713 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
8715 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8717 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
8718 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
8719 and "return" use KFAIL when GDB can not read/write the vector
8722 2015-08-21 Gary Benson <gbenson@redhat.com>
8724 * gdb.trace/pending.exp: Cope with remote transfer warnings.
8726 2015-08-20 Pedro Alves <palves@redhat.com>
8728 * gdb.server/solib-list.exp: No longer expect an interior stop in
8731 2015-08-20 Pedro Alves <palves@redhat.com>
8733 * gdb.server/connect-stopped-target.c: New file.
8734 * gdb.server/connect-stopped-target.exp: New file.
8736 2015-08-20 Pedro Alves <palves@redhat.com>
8738 * gdb.dwarf2/comp-unit-lang.exp: New file.
8739 * gdb.dwarf2/comp-unit-lang.c: New file.
8741 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
8743 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
8744 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
8746 2015-08-19 Kevin Buettner <kevinb@redhat.com>
8748 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
8749 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
8751 2015-08-18 Doug Evans <dje@google.com>
8752 Adrian Sendroiu <adrian.sendroiu@freescale.com>
8754 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
8755 skip_python_tests. New arg prompt_regexp.
8756 (skip_python_tests): New function.
8757 * lib/mi-support.exp (mi_skip_python_tests): New function.
8758 * gdb.python/py-mi-objfile-gdb.py: New file.
8759 * gdb.python/py-mi-objfile.c: New file.
8760 * gdb.python/py-mi-objfile.exp: New file.
8762 2015-08-17 Keith Seitz <keiths@redhat.com>
8764 * gdb.linespec/explicit.exp: Move strace test from here ...
8765 * gdb.trace/strace.exp: ... to here.
8767 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
8769 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
8770 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
8772 2015-08-14 Doug Evans <xdje42@gmail.com>
8774 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
8775 inferior before selecting a new file.
8777 2015-08-14 Doug Evans <xdje42@gmail.com>
8779 * gdb.mi/mi-disassemble.exp: Update.
8780 * gdb.base/disasm-optim.S: New file.
8781 * gdb.base/disasm-optim.c: New file.
8782 * gdb.base/disasm-optim.h: New file.
8783 * gdb.base/disasm-optim.exp: New file.
8785 2015-08-14 Keith Seitz <keiths@redhat.com>
8787 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
8790 2015-08-13 Joel Brobecker <brobecker@adacore.com>
8792 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
8794 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
8796 * gdb.ada/fun_renaming.exp: New testcase.
8797 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
8798 * gdb.ada/fun_renaming/pack.adb: New file.
8799 * gdb.ada/fun_renaming/pack.ads: New file.
8801 2015-08-12 Keith Seitz <keiths@redhat.com>
8803 * gdb.base/dso2dso.exp: Pass basename of source file in call to
8804 gdb_get_line_number.
8806 2015-08-12 Joel Brobecker <brobecker@adacore.com>
8808 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
8809 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
8810 gdb.base/dso2dso.exp: New files.
8812 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
8813 Pedro Alves <palves@redhat.com>
8814 Keith Seitz <keiths@redhat.com>
8816 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
8819 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
8821 * gdb.base/gdbhistsize-history.exp
8822 (test_histsize_history_setting): Use save_vars.
8823 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8825 (test_no_truncation_of_unlimited_history_file): Use save_vars.
8826 * gdb.base/readline.exp: Use save_vars.
8828 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
8830 * lib/gdb.exp (save_vars): New proc.
8832 2015-08-11 Keith Seitz <keiths@redhat.com>
8834 * gdb.base/help.exp: Update help_breakpoint_text.
8836 2015-08-11 Keith Seitz <keiths@redhat.com>
8838 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
8839 (at toplevel): Call test_explicit_breakpoints.
8840 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
8842 * lib/mi-support.exp (mi_make_breakpoint): Add support for
8843 breakpoint conditions, "-cond".
8845 2015-08-11 Keith Seitz <keiths@redhat.com>
8847 * gdb.linespec/3explicit.c: New file.
8848 * gdb.linespec/cpexplicit.cc: New file.
8849 * gdb.linespec/cpexplicit.exp: New file.
8850 * gdb.linespec/explicit.c: New file.
8851 * gdb.linespec/explicit.exp: New file.
8852 * gdb.linespec/explicit2.c: New file.
8853 * gdb.linespec/ls-errs.exp: Add explicit location tests.
8854 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
8855 before using in the matching pattern.
8856 Clarify that `prefix' is a regular expression.
8858 2015-08-11 Keith Seitz <keiths@redhat.com>
8860 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
8862 Add tests for missing ",FMT" and ",".
8864 2015-08-10 Doug Evans <dje@google.com>
8865 Keith Seitz <keiths@redhat.com>
8868 * gdb.base/completion.exp: Add location completer tests.
8870 2015-08-07 Pedro Alves <palves@redhat.com>
8872 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
8874 (top level): Run do_test with and without displaced stepping.
8876 2015-08-07 Pedro Alves <palves@redhat.com>
8878 * gdb.base/valgrind-disp-step.c: New file.
8879 * gdb.base/valgrind-disp-step.exp: New file.
8881 2015-08-07 Pedro Alves <palves@redhat.com>
8883 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
8885 (main): Add alarm. Run an infinite loop instead of calling
8887 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
8889 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
8891 (main): Add alarm. Run an infinite loop instead of calling
8893 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
8896 2015-08-07 Pedro Alves <palves@redhat.com>
8898 * gdb.base/checkpoint-ns.exp: New file.
8899 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
8902 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
8904 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
8905 * gdb.btrace/instruction_history.exp: Update.
8906 * gdb.btrace/tsx.exp: New.
8907 * gdb.btrace/tsx.c: New.
8909 2015-08-06 Pedro Alves <palves@redhat.com>
8911 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
8913 * gdb.reverse/until-precsave.exp: Bump timeouts.
8915 2015-08-06 Pedro Alves <palves@redhat.com>
8917 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
8919 2015-08-06 Pedro Alves <palves@redhat.com>
8922 * gdb.threads/process-dies-while-handling-bp.c: New file.
8923 * gdb.threads/process-dies-while-handling-bp.exp: New file.
8925 2015-08-06 Pedro Alves <palves@redhat.com>
8927 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
8928 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
8930 2015-08-05 Pedro Alves <palves@redhat.com>
8932 * gdb.threads/next-while-other-thread-longjmps.c: New file.
8933 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
8935 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
8937 * gdb.base/bp-permanent.exp: Report test as unsupported if
8938 the target cannot stop at the permanent breakpoint.
8940 2015-08-03 Doug Evans <dje@google.com>
8942 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
8945 2015-08-03 Doug Evans <dje@google.com>
8947 * Makefile.in (workers/%.worker, build-perf): New rule.
8948 (GDB_PERFTEST_MODE): New variable.
8949 (check-perf): Use it.
8950 (clean): Clean up gdb.perf parallel build subdirs.
8951 * lib/build-piece.exp: New file.
8952 * lib/gdb.exp (make_gdb_parallel_path): New function
8953 (standard_output_file, standard_temp_file): Call it.
8954 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
8956 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
8958 2015-08-03 Doug Evans <dje@google.com>
8960 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
8961 (LOG_FILE_NAME): New global.
8962 (TextReporter.__init__): Initialize self.txt_sum.
8963 (TextReporter.report): Add support for multiple data-points.
8964 Move report to perftest.sum, put raw data in perftest.log.
8965 (TextReporter.start): Open sum and log files.
8966 (TextReporter.end): Close sum and log files.
8967 * gdb.perf/lib/perftest/testresult.py
8968 (SingleStatisticTestResult.record): Handle multiple data-points.
8970 2015-07-31 Pedro Alves <palves@redhat.com>
8972 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
8973 Use spawn_id_get_pid. Wait for spawn id after eof. Use
8974 kill_wait_spawned_process instead of explicit "kill -9".
8975 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
8976 returning a spawn id instead of a pid. Use spawn_id_get_pid and
8977 kill_wait_spawned_process.
8978 * gdb.base/attach-twice.exp: Likewise.
8979 * gdb.base/attach.exp: Likewise.
8980 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
8982 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
8983 returning a spawn id instead of a pid. Use spawn_id_get_pid and
8984 kill_wait_spawned_process.
8985 * gdb.base/valgrind-infcall.exp: Likewise.
8986 * gdb.multi/multi-attach.exp: Likewise.
8987 * gdb.python/py-prompt.exp: Likewise.
8988 * gdb.python/py-sync-interp.exp: Likewise.
8989 * gdb.server/ext-attach.exp: Likewise.
8990 * gdb.threads/attach-into-signal.exp (corefunc): Use
8991 spawn_wait_for_attach, spawn_id_get_pid and
8992 kill_wait_spawned_process.
8993 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
8994 spawn_wait_for_attach returning a spawn id instead of a pid. Use
8995 spawn_id_get_pid and kill_wait_spawned_process.
8996 * gdb.threads/attach-stopped.exp (corefunc): Use
8997 spawn_wait_for_attach, spawn_id_get_pid and
8998 kill_wait_spawned_process.
8999 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
9000 Use spawn_id_get_pid. Wait for spawn id after eof. Use
9001 kill_wait_spawned_process instead of explicit "kill -9".
9002 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
9003 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
9004 (spawn_wait_for_attach): Use spawn instead of exec to spawn
9005 processes. Don't map cygwin/windows pids here. Now returns a
9008 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
9010 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
9011 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
9014 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
9016 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
9018 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
9021 2014-05-21 Mark Wielaard <mjw@redhat.com>
9023 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
9025 2015-07-30 Pedro Alves <palves@redhat.com>
9027 * linux-low.c (handle_extended_wait): Set the child's last
9028 reported status to TARGET_WAITKIND_STOPPED.
9030 2015-07-30 Pedro Alves <palves@redhat.com>
9033 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
9034 only shows inferior 1.
9036 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
9037 Pedro Alves <palves@redhat.com>
9040 * gdb.threads/fork-plus-threads.c: New file.
9041 * gdb.threads/fork-plus-threads.exp: New file.
9043 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9045 * gdb.base/batch-preserve-term-settings.exp
9046 (test_terminal_settings_preserved_after_cli_exit): Use
9049 2015-07-29 Pedro Alves <palves@redhat.com>
9050 Don Breazeal <donb@codesourcery.com>
9052 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
9053 output from both inferior_spawn_id and gdb_spawn_id.
9055 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
9057 * gdb.threads/attach-into-signal.exp (corefunc): Use
9058 with_test_prefix on nested loops, uniquefying the test messages.
9060 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
9062 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
9065 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9067 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
9069 (test_terminal_settings_preserved_after_sigterm): New test.
9071 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9073 * gdb.base/batch-preserve-term-settings.exp
9074 (test_terminal_settings_preserved_after_cli_exit): New test.
9076 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9078 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
9079 manipulation of saved_gdbflags.
9080 (test_terminal_settings_preserved): Remove global declaration of
9081 the unused variable pagination_prompt. Remove manipulation of
9082 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
9085 2015-07-29 Pedro Alves <palves@redhat.com>
9087 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
9089 2015-07-29 Pedro Alves <palves@redhat.com>
9091 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
9094 2015-07-29 Pedro Alves <palves@redhat.com>
9096 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
9097 (main): Call gdb_unbuffer_output.
9098 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
9099 (main): Call gdb_unbuffer_output.
9100 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
9101 (main): Call gdb_unbuffer_output.
9102 * gdb.base/call-strs.exp: Adjust to step over the
9103 gdb_unbuffer_output call.
9104 * gdb.base/catch-gdb-caused-signals.c: Include
9105 "../lib/unbuffer_output.c".
9106 (main): Call gdb_unbuffer_output.
9107 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
9108 (main): Call gdb_unbuffer_output.
9109 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
9110 (main): Call gdb_unbuffer_output.
9111 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
9112 (main): Call gdb_unbuffer_output.
9113 * gdb.base/shlib-call.exp: Adjust to step over the
9114 gdb_unbuffer_output call.
9115 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
9116 (main): Call gdb_unbuffer_output.
9117 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
9118 (main): Call gdb_unbuffer_output.
9119 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
9120 (main): Rename to ...
9122 (main): Reimplement.
9123 * gdb.base/varargs.exp: Run to test instead of to main.
9124 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9125 (main): Call gdb_unbuffer_output.
9127 2015-07-29 Pedro Alves <palves@redhat.com>
9129 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
9130 factore out from mi_continue_dprintf. For call-style dprintfs,
9131 expect dprintf output out of $inferior_spawn_id.
9132 (mi_continue_dprintf): Use mi_expect_dprintf.
9133 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9134 (main): Call gdb_unbuffer_output.
9136 2015-07-29 Pedro Alves <palves@redhat.com>
9138 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
9139 (default_mi_gdb_start): Set inferior_spawn_id instead of
9140 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
9142 (mi_gdb_test): Always expect inferior output from both
9143 $inferior_spawn_id and $gdb_spawn_id.
9145 2015-07-29 Pedro Alves <palves@redhat.com>
9147 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
9148 send_inferior and $inferior_spawn_id.
9150 2015-07-29 Pedro Alves <palves@redhat.com>
9152 * gdb.gdb/complaints.exp (test_initial_complaints)
9153 (test_serial_complaints, test_short_complaints): Use
9155 (test_empty_complaint): Handle $inferior_spawn_id !=
9158 2015-07-29 Pedro Alves <palves@redhat.com>
9160 * gdb.base/varargs.exp: Use gdb_test_stdio.
9162 2015-07-29 Pedro Alves <palves@redhat.com>
9164 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
9166 2015-07-29 Pedro Alves <palves@redhat.com>
9168 * gdb.base/ending-run.exp: Use gdb_test_stdio.
9170 2015-07-29 Pedro Alves <palves@redhat.com>
9172 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
9173 parameter into two new parameters, "inf_result" and "gdb_result".
9174 Expect inferior output and gdb output from $inferior_spawn_id and
9175 $gdb_spawn_id, respectively. Adjust all callers.
9177 2015-07-29 Pedro Alves <palves@redhat.com>
9179 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
9180 of gdb_test_sequence.
9182 2015-07-29 Pedro Alves <palves@redhat.com>
9184 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
9185 (saw_spurious_output): Expect inferior output from
9186 $inferior_spawn_id. Use gdb_test_stdio.
9188 2015-07-29 Pedro Alves <palves@redhat.com>
9190 * gdb.base/dprintf.exp: Use standard_testfile. Change
9191 prepare_for_testing call.
9192 (srcfile): Don't set.
9193 (restart): New procedure.
9194 (test_dprintf): New procecure, use to continue over dprintfs.
9195 (test_call, test_agent): New procedures, tests moved here.
9196 Restart gdb and recreate dprintfs. Adjust expected output.
9198 2015-07-29 Pedro Alves <palves@redhat.com>
9200 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
9202 2015-07-29 Pedro Alves <palves@redhat.com>
9204 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
9206 2015-07-29 Pedro Alves <palves@redhat.com>
9208 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
9211 2015-07-29 Pedro Alves <palves@redhat.com>
9213 * lib/gdb.exp (gdb_test_stdio): New procedure.
9215 2015-07-29 Pedro Alves <palves@redhat.com>
9217 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
9219 2015-07-29 Pedro Alves <palves@redhat.com>
9221 * gdb.base/call-signal-resume.exp: Remove check for
9222 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
9223 * gdb.base/unwindonsignal.exp: Likewise.
9224 * gdb.base/call-signals.c (gen_signal): Remove printf call.
9225 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
9227 2015-07-29 Pedro Alves <palves@redhat.com>
9229 * gdb.base/siginfo-addr.c (pass): New function.
9230 (handler): Call it iff si_addr is correct.
9231 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
9232 Set a breakpoint at "pass" and continue to it.
9234 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
9236 * gdb.python/py-objfile.exp: Make some tests have unique names.
9237 * gdb.python/py-pp-registration.exp: Likewise.
9239 2015-07-28 Pedro Alves <palves@redhat.com>
9241 * gdb.server/server-exec-info.exp: Issue a "disconnect".
9243 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
9245 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
9247 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
9249 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
9251 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
9253 * gdb.base/gdb-sigterm-2.exp: New test.
9255 2015-07-25 Doug Evans <xdje42@gmail.com>
9258 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9259 (workers/%.worker, build-perf): New rule.
9260 (GDB_PERFTEST_MODE): New variable.
9261 (check-perf): Use it.
9262 (clean): Clean up gdb.perf parallel build subdirs.
9263 * lib/build-piece.exp: New file.
9264 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9265 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9267 (standard_temp_file): Ditto.
9268 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9271 2015-07-24 Doug Evans <dje@google.com>
9273 * gdb.perf/lib/perftest/utils.py: New file.
9274 * gdb.perf/gm-hello.cc: New file.
9275 * gdb.perf/gm-pervasive-typedef.cc: New file.
9276 * gdb.perf/gm-pervasive-typedef.h: New file.
9277 * gdb.perf/gm-std.cc: New file.
9278 * gdb.perf/gm-std.h: New file.
9279 * gdb.perf/gm-use-cerr.cc: New file.
9280 * gdb.perf/gm-utils.h: New file.
9281 * gdb.perf/gmonster-null-lookup.py: New file.
9282 * gdb.perf/gmonster-pervasive-typedef.py: New file.
9283 * gdb.perf/gmonster-print-cerr.py: New file.
9284 * gdb.perf/gmonster-ptype-string.py: New file.
9285 * gdb.perf/gmonster-runto-main.py: New file.
9286 * gdb.perf/gmonster-select-file.py: New file.
9287 * gdb.perf/gmonster1-null-lookup.exp: New file.
9288 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
9289 * gdb.perf/gmonster1-print-cerr.exp: New file.
9290 * gdb.perf/gmonster1-ptype-string.exp: New file.
9291 * gdb.perf/gmonster1-runto-main.exp: New file.
9292 * gdb.perf/gmonster1-select-file.exp: New file.
9293 * gdb.perf/gmonster1.cc: New file.
9294 * gdb.perf/gmonster1.exp: New file.
9295 * gdb.perf/gmonster2-null-lookup.exp: New file.
9296 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
9297 * gdb.perf/gmonster2-print-cerr.exp: New file.
9298 * gdb.perf/gmonster2-ptype-string.exp: New file.
9299 * gdb.perf/gmonster2-runto-main.exp: New file.
9300 * gdb.perf/gmonster2-select-file.exp: New file.
9301 * gdb.perf/gmonster2.cc: New file.
9302 * gdb.perf/gmonster2.exp: New file.
9304 2015-07-24 Doug Evans <dje@google.com>
9306 * gdb.perf/README: New file.
9307 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
9308 * lib/gen-perf-test.exp: New file.
9310 2015-07-24 Doug Evans <dje@google.com>
9312 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
9313 (PerfTest::startup): New function.
9314 (PerfTest::run): Return result of calling body.
9315 (PerfTest::assemble): Rewrite.
9316 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
9317 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
9318 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
9319 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
9320 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
9322 2015-07-24 Doug Evans <dje@google.com>
9324 * lib/gdb.exp (clean_restart): Make executable optional.
9326 2015-07-24 Doug Evans <dje@google.com>
9328 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
9329 compiler_info references.
9330 * gdb.cp/temargs.exp: Ditto.
9331 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
9332 (get_compiler_info): Early exit if already computed. Set compiler_info
9333 to "unknown" if there was a problem.
9334 (test_compiler_info): Add function comment. Call get_compiler_info.
9336 2015-07-24 Doug Evans <dje@google.com>
9338 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9339 (workers/%.worker, build-perf): New rule.
9340 (GDB_PERFTEST_MODE): New variable.
9341 (check-perf): Use it.
9342 (clean): Clean up gdb.perf parallel build subdirs.
9343 * lib/build-piece.exp: New file.
9344 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9345 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9347 (standard_temp_file): Ditto.
9348 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9351 2015-07-24 Doug Evans <dje@google.com>
9353 * lib/future.exp (gdb_default_target_compile): New option
9355 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
9358 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
9360 * gdb.base/catch-syscall.exp: Call gdb_exit before
9363 2015-07-24 Pedro Alves <palves@redhat.com>
9365 * gdb.python/py-events.exp: Accept output between the stop event
9367 * gdb.python/py-evsignal.exp: Likewise.
9368 * gdb.python/py-evthreads.exp: Likewise.
9370 2015-07-24 Pedro Alves <palves@redhat.com>
9373 * gdb.threads/non-ldr-exit.c: New file.
9374 * gdb.threads/non-ldr-exit.exp: New file.
9376 2015-07-24 Yao Qi <yao.qi@linaro.org>
9378 * gdb.server/ext-wrapper.exp: Test --wrapper option when
9381 2015-07-24 Yao Qi <yao.qi@linaro.org>
9383 * gdb.server/ext-restart.exp: New file.
9385 2015-07-24 Yao Qi <yao.qi@linaro.org>
9387 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
9389 * gdb.server/ext-wrapper.exp: New file.
9391 2015-07-23 Doug Evans <dje@google.com>
9393 * gdb.dwarf2/dw2-dummy-cu.S: New file.
9394 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
9396 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
9398 * gdb.ada/var_arr_typedef.exp: New testcase.
9399 * gdb.ada/var_arr_typedef/pack.adb: New file.
9400 * gdb.ada/var_arr_typedef/pack.ads: New file.
9401 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
9403 2015-07-20 Joel Brobecker <brobecker@adacore.com>
9405 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
9407 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9409 * gdb.arch/i386-biarch-core.exp: Replace istarget
9410 by "complete set gnutarget". Remove expectation for the "core-file"
9413 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9415 Revert the previous commit:
9416 Tests for validate symbol file using build-id.
9418 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
9420 Tests for validate symbol file using build-id.
9421 * gdb.base/solib-mismatch-lib.c: New file.
9422 * gdb.base/solib-mismatch-libmod.c: New file.
9423 * gdb.base/solib-mismatch.c: New file.
9424 * gdb.base/solib-mismatch.exp: New file.
9426 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
9428 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
9430 * gdb.base/sigbpt.exp (stepi_out): Likewise.
9431 * gdb.base/siginfo.exp: Likewise.
9432 * gdb.base/sigstep.exp (advance, advancei): Likewise.
9434 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
9436 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
9438 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
9440 * gdb.trace/range-stepping.exp: Check that the target supports
9443 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9445 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
9447 2015-07-14 Pedro Alves <palves@redhat.com>
9449 * gdb.base/killed-outside.exp: New file.
9450 * gdb.base/killed-outside.c: New file.
9452 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9454 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
9456 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
9458 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9460 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
9461 infcall tests instead of setting up for KFAIL.
9463 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
9465 * gdb.btrace/record_goto-step.exp: New.
9467 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9470 * gdb.compile/compile.c (struct struct_type): Add volatile to
9472 * gdb.compile/compile.exp
9473 (compile code struct_object.selffield = &struct_object): Skip further
9474 struct_object tests if this one xfails.
9476 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
9479 * gdb.trace/ax.exp: Add test.
9481 2015-07-07 Yao Qi <yao.qi@linaro.org>
9483 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
9484 instead of istarget "aarch64*-*-*".
9485 * gdb.arch/aarch64-fp.exp: Likewise.
9486 * gdb.base/float.exp: Likewise.
9487 * gdb.reverse/aarch64.exp: Likewise.
9488 * lib/gdb.exp (is_aarch64_target): New proc.
9490 2015-07-07 Yao Qi <yao.qi@linaro.org>
9492 * lib/gdb.exp (is_aarch32_target): New proc.
9493 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
9494 instead of "istarget "arm*-*-*"".
9495 * gdb.arch/arm-disp-step.exp: Likewise.
9496 * gdb.arch/thumb-bx-pc.exp: Likewise.
9497 * gdb.arch/thumb-prologue.exp: Likewise.
9498 * gdb.arch/thumb-singlestep.exp: Likewise.
9499 * gdb.base/disp-step-syscall.exp: Likewise.
9500 * gdb.base/float.exp: Likewise.
9502 2015-07-07 Yao Qi <yao.qi@linaro.org>
9504 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
9505 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
9507 2015-07-07 Yao Qi <yao.qi@linaro.org>
9509 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
9510 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
9512 * gdb.multi/multi-arch.exp: Likewise.
9514 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
9516 * gdb.python/py-lazy-string.exp: Add missing parentheses to
9519 2015-07-07 Yao Qi <yao.qi@linaro.org>
9521 * gdb.arch/thumb-singlestep.exp: Do one more single step.
9523 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
9525 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
9526 '[' and ']' characters.
9528 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
9530 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
9532 2015-06-29 Pedro Alves <palves@redhat.com>
9535 * gdb.threads/hand-call-new-thread.c: New file.
9536 * gdb.threads/hand-call-new-thread.c: New file.
9538 2015-06-26 Keith Seitz <keiths@redhat.com>
9539 Doug Evans <dje@google.com>
9542 * gdb.cp/var-tag-2.cc: New file.
9543 * gdb.cp/var-tag-3.cc: New file.
9544 * gdb.cp/var-tag-4.cc: New file.
9545 * gdb.cp/var-tag.cc: New file.
9546 * gdb.cp/var-tag.exp: New file.
9548 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
9550 * gdb.base/history-duplicates.exp: New test.
9552 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
9554 * gdb.base/completion.exp: Test the completion of the "focus"
9557 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9559 * gdb.arch/amd64-prologue-skip.S: New file.
9560 * gdb.arch/amd64-prologue-skip.exp: New file.
9562 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
9564 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
9565 is_address_zero_readable check.
9567 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
9569 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
9570 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
9572 2015-06-24 Yao Qi <yao.qi@linaro.org>
9574 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
9577 2015-06-24 Yao Qi <yao.qi@linaro.org>
9579 * lib/gdb.exp (supports_get_siginfo_type): New proc.
9580 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
9581 * gdb.base/siginfo-thread.exp: Likewise.
9583 2015-06-22 Yao Qi <yao.qi@linaro.org>
9585 * boards/remote-gdbserver-on-localhost.exp: Add comments.
9587 2015-06-22 Yao Qi <yao.qi@linaro.org>
9589 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
9591 (skip_hw_watchpoint_tests): Likewise.
9593 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
9595 * gdb.base/gdbinit-history.exp: Test the interaction between
9596 setting GDBHISTSIZE and setting the history size via .gdbinit.
9598 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9601 * gdb.base/gdbhistsize-history.exp: New test.
9603 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9605 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
9607 * gdb.base/readline.exp: Likewise.
9609 2015-06-17 Yao Qi <yao.qi@linaro.org>
9611 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
9614 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9616 * gdb.base/gdbinit-history.exp: Add test case to check that
9617 an unlimited history file does not get truncated on exit.
9619 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9621 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
9622 (VECTOR): New macro. Use it...
9623 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
9624 ...for these typedefs.
9625 (int8, char1, int1, double1): New typedefs.
9626 (struct just_int2, struct two_int2): New structures.
9627 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
9628 (add_structvecs, add_singlevecs): New functions.
9629 (main): Call add_some_intvecs twice.
9630 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
9631 the compile and exit upon failure. Try compiling for the "native"
9632 architecture. Test inferior function calls with vector arguments
9633 and vector return value handling with "finish" and "return".
9635 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
9637 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
9638 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
9640 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
9642 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9644 PR breakpoints/16465
9645 * gdb.mi/mi-dprintf-pending.c: New file.
9646 * gdb.mi/mi-dprintf-pending.exp: New test.
9647 * gdb.mi/mi-dprintf-pendshr.c: New file.
9649 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9650 Mircea Gherzan <mircea.gherzan@intel.com>
9652 * gdb.arch/i386-mpx-map.c: New file.
9653 * gdb.arch/i386-mpx-map.exp: New File.
9655 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9657 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
9658 * gdb.arch/i386-mpx.exp: Indentation fixed.
9660 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9662 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
9663 function and improved indentation.
9664 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
9665 gdb_test_multiple. Added additional tests to skip the test.
9667 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9669 * gdb.arch/i386-avx512.c: Change path in include file.
9670 * gdb.arch/i386-avx512.exp: Change include dir path
9672 * gdb.arch/i386-mpx.c: Change path in include file.
9673 * gdb.arch/i386-mpx.exp: Change include dir path compilation
9676 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9678 * gdb.compile/compile-print.exp (compile print *vararray@3)
9679 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
9681 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9683 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
9684 (do not keep jit in memory): ... this.
9685 (expect 5): Change it to ...
9686 (expect no 5): ... this.
9688 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
9691 * gdb.mi/mi-detach.exp: New file.
9693 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9696 * gdb.arch/amd64-tailcall-self.S: New file.
9697 * gdb.arch/amd64-tailcall-self.c: New file.
9698 * gdb.arch/amd64-tailcall-self.exp: New file.
9700 2015-05-28 Don Breazeal <donb@codesourcery.com>
9702 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
9703 tests for remote targets by checking is_target_gdbserver.
9705 2015-05-27 Doug Evans <dje@google.com>
9707 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
9708 * gdb.dwarf2/opaque-type-lookup.c: New file.
9709 * gdb.dwarf2/opaque-type-lookup.exp: New file.
9711 2015-05-26 Doug Evans <dje@google.com>
9713 * gdb.cp/iostream.cc: New file.
9714 * gdb.cp/iostream.exp: New file.
9716 2015-05-26 Doug Evans <dje@google.com>
9718 * gdb.dwarf2/dw2-op-call.exp: Update.
9719 * gdb.dwarf2/dw4-sig-types.exp: Update.
9720 * gdb.dwarf2/implptr.exp: Update.
9721 * gdb.mi/mi-cmd-param-changed.exp: Update.
9723 2015-05-26 Doug Evans <dje@google.com>
9725 * gdb.python/py-lazy-string.c: New file.
9726 * gdb.python/py-lazy-string.exp: New file.
9727 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
9728 (main): Update. Add estring3.
9729 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
9730 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
9732 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
9733 Yao Qi <yao.qi@linaro.org>
9735 * gdb.reverse/aarch64.c: New.
9736 * gdb.reverse/aarch64.exp: New.
9738 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
9740 * lib/gdb.exp (supports_process_record): Return true for
9742 (supports_reverse): Likewise.
9744 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
9746 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9747 Use with_test_prefix.
9749 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
9751 * gdb.base/completion.exp: Add test for completion of layout
9754 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
9756 * lib/gdb.exp (skip_tui_tests): New proc.
9757 * gdb.base/tui-layout.exp: Check skip_tui_tests.
9759 2015-05-19 Pedro Alves <palves@redhat.com>
9761 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9762 Save the whole env array instead of just HOME. Unset HISTSIZE in
9763 the environment while testing. Restore whole environment
9766 2015-05-16 Doug Evans <xdje42@gmail.com>
9768 * gdb.guile/scm-ports.c: New file.
9769 * gdb.guile/scm-ports.exp: Add memory port tests.
9771 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9773 * gdb.compile/compile-print.c: New file.
9774 * gdb.compile/compile-print.exp: New file.
9776 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9778 * gdb.compile/compile-ops.exp: Cast param to void.
9779 * gdb.compile/compile.exp: Complete type for _gdb_expr.
9780 (compile code struct_object.selffield = &struct_object): Add xfail.
9782 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9784 * gdb.ada/arr_enum_with_gap: New testcase.
9786 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9788 * gdb.ada/byte_packed_arr: New testcase.
9790 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9792 * gdb.ada/pckd_neg: New testcase.
9794 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
9797 * gdb.base/gdbinit-history.exp: New test.
9798 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
9799 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
9801 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
9803 * gdb.python/py-xmethods.cc: Enhance test case.
9804 * gdb.python/py-xmethods.exp: New tests.
9805 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
9807 (B_indexoper): Likewise.
9808 (global_dm_list) : Add new xmethod worker functions.
9810 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
9812 * gdb.base/coredump-filter.exp: Correctly unset
9813 "coredump_var_addr" array.
9815 2015-05-08 Pedro Alves <palves@redhat.com>
9817 * gdb.server/non-existing-program.exp: Unset spawn_id.
9819 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
9822 * gdb.python/py-xmethods.exp: Add tests.
9824 2015-05-08 Yao Qi <yao.qi@linaro.org>
9827 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
9828 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
9829 function set_coredump_filter, and remove remote_exec call.
9830 Remove argument ipid. Callers update.
9831 (top level): Don't get inferior's PID.
9833 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
9835 * gdb.base/watch_thread_num.exp: Skip test on targets without
9838 2015-05-06 Pedro Alves <palves@redhat.com>
9841 * gdb.server/non-existing-program.exp: New file.
9843 2015-05-05 Joel Brobecker <brobecker@adacore.com>
9845 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
9847 2015-05-05 Joel Brobecker <brobecker@adacore.com>
9849 * gdb.ada/out_of_line_in_inlined: New testcase.
9851 2015-05-05 Joel Brobecker <brobecker@adacore.com>
9853 * gdb.ada/var_rec_arr: New testcase.
9855 2015-04-30 Yao Qi <yao.qi@linaro.org>
9857 * gdb.base/break-idempotent.exp: If
9858 skip_hw_watchpoint_multi_tests returns true, skip the tests
9859 on "rwatch" and "awatch".
9861 2015-04-30 Yao Qi <yao.qi@linaro.org>
9863 * gdb.base/relativedebug.exp: Invoke gdb command
9864 "info sharedlibrary", and if libc.so doesn't have debug info,
9867 2015-04-29 Doug Evans <dje@google.com>
9869 * gdb.python/py-xmethods.exp: Add ptype tests.
9870 * gdb.python/py-xmethods.py (E_method_char_worker): Add
9871 get_result_type method.
9873 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
9875 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
9876 the target does not support hardware watchpoints.
9878 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
9880 * gdb.base/break-always.exp: Abort testing if writing to memory
9883 2015-04-28 Doug Evans <dje@google.com>
9885 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
9886 * gdb.python/py-pp-registration.exp: ... here. New file.
9887 * gdb.python/py-pp-registration.c: New file.
9888 * gdb.python/py-pp-registration.py: New file.
9890 2015-04-28 Doug Evans <dje@google.com>
9892 * gdb.python/py-bad-printers.c: New file.
9893 * gdb.python/py-bad-printers.py: New file.
9894 * gdb.python/py-bad-printers.exp: New file.
9896 2015-04-28 Sasha Smundak <asmundak@google.com>
9898 * gdb.python/py-type.exp: New test.
9900 2015-04-28 Andy Wingo <wingo@igalia.com>
9902 * gdb.python/py-parameter.exp:
9903 * gdb.guile/scm-parameter.exp: Escape the path that we are
9904 matching against, as it might contain characters that are special
9905 to regular expressions.
9907 2015-04-27 Joel Brobecker <brobecker@adacore.com>
9909 * gdb.ada/rec_comp: New testcase.
9911 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
9913 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
9916 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
9918 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
9919 new tests for verilog output.
9921 2015-04-24 Yao Qi <yao.qi@linaro.org>
9923 * boards/remote-gdbserver-on-localhost.exp: New file.
9925 2015-04-23 Pedro Alves <palves@redhat.com>
9927 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
9928 $inferior_spawn_id instead of $inferior_spawn_id directly. On
9929 "end of file", remove $inferior_spawn_id from the indirect list.
9931 2015-04-23 Pedro Alves <palves@redhat.com>
9933 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
9935 2015-04-23 Pedro Alves <palves@redhat.com>
9937 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
9938 on $any_spawn_id instead of only on $gdb_spawn_id.
9940 2015-04-21 Pierre Muller <muller@sourceware.org>
9943 * lib/pascal.exp (gpc_compile): Add new option "class".
9944 (fpc_compile): Likewise.
9945 * gdb.pascal/case-insensitive-symbols.pas: New file.
9946 * gdb.pascal/case-insensitive-symbols.exp: New file.
9948 2015-04-20 Gary Benson <gbenson@redhat.com>
9950 * gdb.base/attach.exp: Fix three extended remote failures.
9952 2015-04-17 Gary Benson <gbenson@redhat.com>
9954 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
9955 the main executable over the remote protocol.
9957 2015-04-16 Pedro Alves <palves@redhat.com>
9959 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
9960 a new gdbserver if gdbserver_reconnect_p is set.
9962 2015-04-16 Pedro Alves <palves@redhat.com>
9964 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
9965 is set, don't exit gdbserver.
9967 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9969 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
9970 appropriate .insn, such that an older assembler can be used.
9971 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
9972 the z/Architecture instruction set on 31-bit targets as well.
9974 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9976 * gdb.go/handcall.exp: Remove all logic related to the first
9977 breakpoint and rely on go_runto_main instead.
9978 * gdb.go/strings.exp: Likewise.
9979 * gdb.go/unsafe.exp: Likewise.
9980 * gdb.go/hello.exp: Likewise. Also rename the remaining
9981 breakpoint marker to "breakpoint 1".
9982 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
9983 * gdb.go/strings.go: Likewise.
9984 * gdb.go/unsafe.go: Likewise.
9985 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
9986 "set breakpoint 2 here" and rename the remaining breakpoint marker
9989 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
9991 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
9992 if itertools.imap is not present.
9993 * gdb.python/py-objfile.exp: Add parentheses.
9994 * gdb.python/py-type.exp: Same.
9995 * gdb.python/py-unwind-maint.py: Same.
9997 2015-04-15 Yao Qi <yao.qi@linaro.org>
9999 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
10000 of ":$ptr_size" and set its form explicitly.
10002 2015-04-15 Pedro Alves <palves@redhat.com>
10003 Yao Qi <yao.qi@linaro.org>
10005 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
10006 timeout by factor of 4.
10007 (test_regular_watch): Likewise.
10008 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
10009 * gdb.reverse/sigall-reverse.exp: Likewise.
10010 * gdb.reverse/until-precsave.exp: Likewise.
10011 * lib/gdb.exp (with_timeout_factor): New proc.
10012 (gdb_expect): Move some code to ...
10013 (get_largest_timeout): ... here. New procedure.
10015 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
10017 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
10019 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
10021 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
10022 to write to the .text section.
10024 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
10026 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
10027 Handle the case of targets that do not provide PID information.
10029 2015-04-13 Yao Qi <yao.qi@linaro.org>
10031 * lib/gdbserver-support.exp (gdb_exit): Catch exception
10032 and use expect instead of gdb_expect.
10034 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
10036 * gdb.base/coredump-filter.exp: Rename variable "addr" to
10037 "coredump_var_addr" to avoid naming conflict with other testcases.
10039 2015-04-10 Pedro Alves <palves@redhat.com>
10041 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
10042 gdb_test_sequence and gdb_assert.
10044 2015-04-10 Pedro Alves <palves@redhat.com>
10046 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
10047 test messages that don't include the breakpoint address.
10049 2015-04-10 Yao Qi <yao.qi@linaro.org>
10051 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
10052 false for some offset and width combinations which aren't
10053 supported by linux kernel.
10055 2015-04-10 Pedro Alves <palves@redhat.com>
10057 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
10058 procedure, factored out from ...
10059 (top level): ... here. Add "set displaced-stepping" testing axis.
10060 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
10061 parameter "displaced". Use it.
10062 (top level): Use foreach and add "set displaced-stepping" testing
10065 2015-04-10 Pedro Alves <palves@redhat.com>
10067 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
10069 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
10070 both the address of the instruction that triggers the watchpoint
10071 and the address of the instruction immediately after, and use
10072 those addresses for the test. Fix comment.
10074 2015-04-10 Pedro Alves <palves@redhat.com>
10076 * gdb.base/sigstep.exp (breakpoint_to_handler)
10077 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
10078 Test "backtrace" in handler.
10079 (breakpoint_over_handler): New parameter 'displaced'. Use it.
10080 (top level): Add new "displaced" test axis to
10081 breakpoint_to_handler, breakpoint_to_handler_entry and
10082 breakpoint_over_handler.
10084 2015-04-10 Pedro Alves <palves@redhat.com>
10087 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
10089 2015-04-10 Yao Qi <yao.qi@linaro.org>
10091 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
10092 (test_add_rn_pc): New function.
10093 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
10094 (top level): Invoke test_add_rn_pc.
10096 2015-04-10 Pedro Alves <palves@redhat.com>
10099 * gdb.base/step-over-no-symbols.exp: New file.
10101 2015-04-09 Andy Wingo <wingo@igalia.com>
10103 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
10104 after the Python tests.
10106 2015-04-08 Keith Seitz <keiths@redhat.com>
10109 * gdb.python/py-completion.exp: New tests for completion.
10110 * gdb.python/py-completion.py (CompleteLimit1): New class.
10111 (CompleteLimit2): Likewise.
10112 (CompleteLimit3): Likewise.
10113 (CompleteLimit4): Likewise.
10114 (CompleteLimit5): Likewise.
10115 (CompleteLimit6): Likewise.
10116 (CompleteLimit7): Likewise.
10118 2015-04-08 Pedro Alves <palves@redhat.com>
10122 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
10124 (main): Install it as SIGUSR1 handler.
10125 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
10126 parameter. Always use "setup" as prefix. Toggle "set
10127 displaced-stepping" off/on depending on global. Don't switch to
10129 (top level): Add displaced stepping "off/on" test axis. Update
10130 "setup" calls. Wrap each subtest with with_test_prefix. Test
10131 continuing with a queued signal in each thread.
10133 2015-04-08 Pedro Alves <palves@redhat.com>
10135 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
10136 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
10137 gdb_breakpoint instead of gdb_test that doesn't expect anything.
10138 Return early if running to main fails.
10139 * gdb.trace/while-stepping.exp: Likewise.
10141 2015-04-07 Pedro Alves <palves@redhat.com>
10143 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
10144 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
10145 interact with inferior program.
10147 2015-04-07 Pedro Alves <palves@redhat.com>
10149 * lib/gdb.exp (inferior_spawn_id): New global.
10150 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
10151 spawn id after processing the user code.
10152 (default_gdb_start): Set inferior_spawn_id.
10153 (send_inferior): New procedure.
10154 * lib/gdbserver-support.exp (gdbserver_start): Set
10156 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
10158 2015-04-07 Pedro Alves <palves@redhat.com>
10160 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
10161 * lib/gdbserver-support.exp (gdbserver_start): Make
10162 $server_spawn_id global.
10163 (gdbserver_start): Don't wait for gdbserver's spawn id with
10165 (close_gdbserver): New procedure.
10166 (gdb_exit): Rename the default version and reimplement.
10168 2015-04-07 Pedro Alves <palves@redhat.com>
10170 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
10171 append the substituted item, not the original item.
10173 2015-04-07 Pedro Alves <palves@redhat.com>
10175 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
10178 2015-04-07 Pedro Alves <palves@redhat.com>
10180 * gdb.base/interrupt.exp: Don't handle the case of the inferior
10181 output appearing once only.
10183 2015-04-07 Pedro Alves <palves@redhat.com>
10185 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
10186 that doesn't expect anything. Return early if running to main
10189 2015-04-07 Yao Qi <yao.qi@linaro.org>
10191 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
10192 (child_function): Call alarm.
10193 (main): Move call to alarm into the loop.
10194 * gdb.threads/non-stop-fair-events.exp: Build program with
10195 -DTIMEOUT=$timeout.
10197 2015-04-06 Doug Evans <xdje42@gmail.com>
10199 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
10200 Fix dest parameter to board_info.
10201 (fpc_compile): Ditto.
10202 (gdb_compile_pascal): Rename dest arg to destfile.
10204 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
10206 * gdb.ada/funcall_ref.exp: New file.
10207 * gdb.ada/funcall_ref/foo.adb: New file.
10209 2015-04-02 Yao Qi <yao.qi@linaro.org>
10211 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
10214 2015-04-02 Gary Benson <gbenson@redhat.com>
10216 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
10218 2015-04-01 Sasha Smundak <asmundak@google.com>
10220 * gdb.python/py-unwind-maint.c: New file.
10221 * gdb.python/py-unwind-maint.exp: New test.
10222 * gdb.python/py-unwind-maint.py: New file.
10223 * gdb.python/py-unwind.c: New file.
10224 * gdb.python/py-unwind.exp: New test.
10225 * gdb.python/py-unwind.py: New test.
10227 2015-04-01 Pedro Alves <palves@redhat.com>
10229 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
10230 to fail instead of non-existent $test.
10232 2015-04-01 Pedro Alves <palves@redhat.com>
10234 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
10235 GDBFLAGS if not empty.
10237 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
10239 * gdb.ada/complete.exp: Remove "multi_line".
10240 * gdb.ada/info_exc.exp: Remove "multi_line".
10241 * gdb.ada/packed_tagged.exp: Remove "multi_line".
10242 * gdb.ada/ptype_field.exp: Remove "multi_line".
10243 * gdb.ada/sym_print_name.exp: Remove "multi_line".
10244 * gdb.ada/tagged.exp: Remove "multi_line".
10245 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
10247 * gdb.btrace/delta.exp: Likewise.
10248 * gdb.btrace/exception.exp: Likewise.
10249 * gdb.btrace/function_call_history.exp: Likewise.
10250 * gdb.btrace/instruction_history.exp: Likewise.
10251 * gdb.btrace/nohist.exp: Likewise.
10252 * gdb.btrace/record_goto.exp: Likewise.
10253 * gdb.btrace/segv.exp: Likewise.
10254 * gdb.btrace/stepi.exp: Likewise.
10255 * gdb.btrace/tailcall.exp: Likewise.
10256 * gdb.btrace/unknown_functions.exp: Likewise.
10257 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
10258 * lib/gdb.exp: Add the "multi_line" helper.
10260 2015-04-01 Pedro Alves <palves@redhat.com>
10262 * gdb.threads/tid-reuse.c: New file.
10263 * gdb.threads/tid-reuse.exp: New file.
10265 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
10268 * gdb.base/coredump-filter.c: New file.
10269 * gdb.base/coredump-filter.exp: Likewise.
10271 2015-03-27 Petr Machata <pmachata@redhat.com>
10273 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
10274 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
10275 (Dwarf::assemble): Initialize them.
10276 (Dwarf::lines): New function.
10278 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
10280 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
10281 SYMBOL_PREFIX for x86_64-*-cygwin.
10283 2015-03-26 Andy Wingo <wingo@igalia.com>
10286 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
10287 const_value but not a location.
10288 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
10289 location defined in non-main CUs are visible.
10291 2015-03-26 Yao Qi <yao.qi@linaro.org>
10294 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
10295 Add a line number entry for the same line.
10296 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
10297 Add a line number entry for the same line.
10299 2015-03-26 Yao Qi <yao.qi@linaro.org>
10301 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
10303 (func): Likewise. Add .Lfunc_1 label.
10304 Use .Lfunc_1 label.
10305 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
10308 Use .Lfunc_1 label.
10310 2015-03-26 Yao Qi <yao.qi@linaro.org>
10312 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
10313 Call gdb_compile instead to compile each .s files without debug
10316 2015-03-26 Yao Qi <yao.qi@linaro.org>
10318 * gdb.base/savedregs.exp (process_saved_regs): Make
10319 "Saved registers:" optional in the pattern.
10321 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
10323 * gdb.btrace/next.exp: Merged into step.exp.
10324 * gdb.btrace/finish.exp: Merged into step.exp.
10325 * gdb.btrace/nexti.exp: Merged into stepi.exp.
10326 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
10327 "record goto" and checking the exact replay position.
10328 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
10329 check for "Recording format" in "info record" output.
10330 * gdb.btrace/record_goto.exp: Choose test file based on target.
10331 * gdb.btrace/x86-record_goto.S: Renamed into ...
10332 * gdb.btrace/x86_64-record_goto.S: ... this.
10333 * gdb.btrace/i686-record_goto.S: New.
10334 * gdb.btrace/x86-tailcall.S: Renamed into ...
10335 * gdb.btrace/x86_64-tailcall.S: ... this.
10336 * gdb.btrace/i686-tailcall.S: New.
10337 * gdb.btrace/x86-tailcall.c: Renamed into ...
10338 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
10339 separate statements. Update test.
10340 * gdb.btrace/delta.exp: Use record_goto.c as test file.
10341 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
10342 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
10343 * gdb.btrace/tailcall.exp: Choose test file based on target.
10344 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
10346 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
10348 * gdb.btrace/exception.exp: Increase BTS buffer size.
10350 2015-03-24 Pedro Alves <palves@redhat.com>
10352 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
10354 2015-03-24 Pedro Alves <palves@redhat.com>
10356 * gdb.threads/schedlock.exp (test_step): No longer expect that
10357 "set scheduler-locking step" with "next" over a function call runs
10360 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10362 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
10364 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10366 PR breakpoints/16466
10367 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
10368 * gdb.mi/mi-pending.c (thread_func): New function.
10369 (int main): Add threading support required.
10370 * gdb.mi/mi-pending.exp: Add tests for this issue.
10371 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
10372 (pendfunc2): Remove stdio dependency.
10373 * gdb.mi/mi-pendshr2.c: New file.
10375 2015-03-23 Keith Seitz <keiths@redhat.com>
10377 * gdb.linespec/keywords.c: New file.
10378 * gdb.linespec/keywords.exp: New file.
10380 2015-03-23 Keith Seitz <keiths@redhat.com>
10383 * gdb.dwarf2/staticvirtual.exp: New test.
10385 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10387 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
10388 * README: Remove HP-UX and gdb.hp.
10390 * configure: Regenerate.
10391 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
10392 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
10393 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
10394 gdb.hp/gdb.defects/Makefile.
10395 * gdb.hp/Makefile.in: File deleted.
10396 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
10397 * gdb.hp/gdb.aCC/optimize.c: File deleted.
10398 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
10399 * gdb.hp/gdb.aCC/run.c: File deleted.
10400 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
10401 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
10402 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
10403 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
10404 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
10405 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
10406 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
10407 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
10408 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
10409 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
10410 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
10411 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
10412 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
10413 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
10414 * gdb.hp/gdb.base-hp/reg.s: File deleted.
10415 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
10416 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
10417 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
10418 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
10419 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
10420 * gdb.hp/gdb.compat/Makefile.in: File deleted.
10421 * gdb.hp/gdb.compat/average.c: File deleted.
10422 * gdb.hp/gdb.compat/sum.c: File deleted.
10423 * gdb.hp/gdb.compat/xdb.c: File deleted.
10424 * gdb.hp/gdb.compat/xdb0.c: File deleted.
10425 * gdb.hp/gdb.compat/xdb0.h: File deleted.
10426 * gdb.hp/gdb.compat/xdb1.c: File deleted.
10427 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
10428 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
10429 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
10430 * gdb.hp/gdb.defects/Makefile.in: File deleted.
10431 * gdb.hp/gdb.defects/bs14602.c: File deleted.
10432 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
10433 * gdb.hp/gdb.defects/solib-d.c: File deleted.
10434 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
10435 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
10436 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
10437 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
10438 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
10439 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
10440 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
10441 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
10442 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
10443 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
10444 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
10445 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
10446 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
10447 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
10448 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
10449 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
10450 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
10451 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
10452 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
10453 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
10454 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
10455 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
10456 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
10457 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
10458 * gdb.hp/tools/odump: File deleted.
10460 2015-03-19 Pedro Alves <palves@redhat.com>
10462 * gdb.threads/continue-pending-status.exp (saw_thread_2)
10463 (saw_thread_3): New globals.
10464 (top level): Increment them when an event for the corresponding
10466 (no thread starvation): New test.
10468 2015-03-19 Pedro Alves <palves@redhat.com>
10470 * gdb.threads/continue-pending-status.c: New file.
10471 * gdb.threads/continue-pending-status.exp: New file.
10473 2015-03-18 Pedro Alves <palves@redhat.com>
10475 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10476 Use gdb_is_target_remote instead of is_remote. Use
10477 gdb_test_multiple instead of gdb_expect. Exit early if
10478 gdb_test_multiple hits its internal matches. Tighten stepi tests
10479 expected output. Fail on exit with any signal, instead of just
10482 2015-03-18 Yao Qi <yao.qi@linaro.org>
10485 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
10487 * gdb.base/catch-syscall.exp: Don't skip it on
10488 aarch64*-*-linux* target. Remove elements in all_syscalls.
10489 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
10491 (setup_all_syscalls): New proc.
10493 2015-03-16 Yao Qi <yao.qi@linaro.org>
10495 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
10496 (top level): Skip tests if valid_addr_p returns false for
10499 2015-03-11 Andy Wingo <wingo@igalia.com>
10501 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
10503 2015-03-11 Yao Qi <yao.qi@linaro.org>
10505 * gdb.base/catch-syscall.exp: Fix typo in comments.
10507 2015-03-11 Yao Qi <yao.qi@linaro.org>
10509 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
10511 2015-03-09 Pedro Alves <palves@redhat.com>
10513 * dg-extract-results.py: Delete.
10515 2015-03-09 Pedro Alves <palves@redhat.com>
10517 Merge dg-extract-results.sh from GCC upstream (r218843).
10519 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
10520 * dg-extract-results.sh: Use --text with grep to avoid issues with
10521 binary files. Fall back to cat -v, if that doesn't work.
10523 2015-03-05 Pedro Alves <palves@redhat.com>
10525 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
10527 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
10529 * lib/mi-support.exp (mi_expect_interrupt): Accept
10530 alternative event for when in all-stop mode.
10532 2015-03-04 Pedro Alves <palves@redhat.com>
10534 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
10536 2015-03-04 Mark Kettenis <kettenis@gnu.org>
10538 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
10540 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
10542 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
10543 regexps for GDB's current line display, accept a hex address
10544 preceding the line number.
10546 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
10548 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
10549 the 'arch1' variable for "s390*-linux*" targets.
10551 2015-03-04 Pedro Alves <palves@redhat.com>
10553 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
10554 (main): Pass missing retval argument to pthread_join call.
10556 2015-03-02 Pedro Alves <palves@redhat.com>
10558 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
10559 (top level): Call do_test with non-stop as well.
10561 2015-03-02 Pedro Alves <palves@redhat.com>
10563 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
10566 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
10568 * gdb.arch/s390-vregs.exp: New test.
10569 * gdb.arch/s390-vregs.S: New file.
10571 2015-02-27 Pedro Alves <palves@redhat.com>
10573 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
10574 call to catch_command_errors.
10575 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
10576 catch_command_errors.
10578 2015-02-27 Pedro Alves <palves@redhat.com>
10580 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
10581 "true" for boolean result.
10582 * gdb.gdb/selftest.exp (test_with_self): Also accept full
10585 2015-02-27 Pedro Alves <palves@redhat.com>
10587 * lib/unbuffer_output.c: New file.
10588 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
10589 (main): Call gdb_unbuffer_output.
10591 2015-02-27 Yao Qi <yao.qi@linaro.org>
10593 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
10596 2015-02-26 Doug Evans <dje@google.com>
10598 * gdb.cp/class2.cc (Dbase, D): New classes.
10599 (main): New local delta.
10600 * gdb.cp/class2.exp: Test printing delta.
10601 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
10602 (dynbar): New global.
10603 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
10605 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10607 * gdb.compile/compile-ifunc.c: New file.
10608 * gdb.compile/compile-ifunc.exp: New file.
10610 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
10612 * gdb.base/structs.exp: Check for correct struct on finish.
10614 2015-02-26 Yao Qi <yao.qi@linaro.org>
10616 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
10619 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10621 * gdb.arch/cordic.ko.bz2: New file.
10622 * gdb.arch/cordic.ko.debug.bz2: New file.
10623 * gdb.arch/ppc64-symtab-cordic.exp: New file.
10625 2015-02-25 Yao Qi <yao.qi@linaro.org>
10627 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
10628 aarch64*-*-* target.
10630 2015-02-23 Pedro Alves <palves@redhat.com>
10632 * lib/gdb.exp (delete_breakpoints): Rewrite using
10635 2015-02-23 Pedro Alves <palves@redhat.com>
10637 * gdb.base/info-os.c: Include stdlib.h.
10639 2015-02-22 Doug Evans <xdje42@gmail.com>
10642 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
10643 is read after symbols have been re-read.
10644 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
10645 * gdb.ada/exec_changed/second.adb (Second): Ditto.
10647 2015-02-21 Doug Evans <dje@google.com>
10649 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
10651 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10654 * gdb.arch/i386-biarch-core.core.bz2: New file.
10655 * gdb.arch/i386-biarch-core.exp: New file.
10657 2015-02-21 Pedro Alves <palves@redhat.com>
10659 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
10662 2015-02-20 Pedro Alves <palves@redhat.com>
10664 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
10667 2015-02-20 Pedro Alves <palves@redhat.com>
10669 * gdb.threads/multi-create-ns-info-thr.exp: New file.
10671 2015-02-20 Pedro Alves <palves@redhat.com>
10673 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
10674 clean_restart before gdb_target_supports_trace.
10676 2015-02-20 Pedro Alves <palves@redhat.com>
10679 * gdb.threads/clone-thread_db.c: New file.
10680 * gdb.threads/clone-thread_db.exp: New file.
10682 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
10684 PR breakpoints/16812
10685 * gdb.base/catch-gdb-caused-signals.c: New file.
10686 * gdb.base/catch-gdb-caused-signals.exp: New file.
10688 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
10690 * configure: Regenerated.
10691 * configure.ac: Use GDB_AC_TRANSFORM.
10692 * aclocal.m4: sinclude ../transform.m4.
10694 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10696 * lib/dtrace.exp: New file.
10697 * gdb.base/dtrace-probe.exp: Likewise.
10698 * gdb.base/dtrace-probe.d: Likewise.
10699 * gdb.base/dtrace-probe.c: Likewise.
10700 * lib/pdtrace.in: Likewise.
10701 * configure.ac: Output variables with the transformed names of
10702 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
10703 * configure: Regenerated.
10705 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10707 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
10708 expected message when trying to access $_probe_* convenience
10709 variables while not on a probe.
10711 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10713 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
10715 2015-02-11 Pedro Alves <pedro@codesourcery.com>
10717 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
10718 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
10720 2015-02-10 Doug Evans <xdje42@gmail.com>
10722 * lib/gdb.exp (gdb_load): Always return a result.
10724 2015-02-10 Pedro Alves <palves@redhat.com>
10726 * gdb.threads/signal-sigtrap.c: New file.
10727 * gdb.threads/signal-sigtrap.exp: New file.
10729 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
10731 * gdb.trace/no-attach-trace.c: New file.
10732 * gdb.trace/no-attach-trace.exp: New file.
10734 2015-02-09 Mark Wielaard <mjw@redhat.com>
10736 * gdb.dwarf2/atomic.c: New file.
10737 * gdb.dwarf2/atomic-type.exp: Likewise.
10739 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10741 * gdb.btrace/buffer-size.exp: Update "info record" output.
10742 * gdb.btrace/delta.exp: Update "info record" output.
10743 * gdb.btrace/enable.exp: Update "info record" output.
10744 * gdb.btrace/finish.exp: Update "info record" output.
10745 * gdb.btrace/instruction_history.exp: Update "info record" output.
10746 * gdb.btrace/next.exp: Update "info record" output.
10747 * gdb.btrace/nexti.exp: Update "info record" output.
10748 * gdb.btrace/step.exp: Update "info record" output.
10749 * gdb.btrace/stepi.exp: Update "info record" output.
10750 * gdb.btrace/nohist.exp: Update "info record" output.
10752 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10754 * gdb.btrace/buffer-size: New.
10756 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10758 * gdb.btrace/delta.exp: Update "info record" output.
10759 * gdb.btrace/enable.exp: Update "info record" output.
10760 * gdb.btrace/finish.exp: Update "info record" output.
10761 * gdb.btrace/instruction_history.exp: Update "info record" output.
10762 * gdb.btrace/next.exp: Update "info record" output.
10763 * gdb.btrace/nexti.exp: Update "info record" output.
10764 * gdb.btrace/step.exp: Update "info record" output.
10765 * gdb.btrace/stepi.exp: Update "info record" output.
10766 * gdb.btrace/nohist.exp: Update "info record" output.
10768 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
10771 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
10773 2015-02-06 Pedro Alves <palves@redhat.com>
10775 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
10777 (seconds_left, again): New globals.
10778 (main): Wait seconds_left in a 1-second sleep loop instead of
10779 sleeping 180 seconds. If 'again' is set, reset the seconds
10781 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
10782 'again' in the inferior before detaching. Print the seconds left.
10783 (options): New global.
10784 (top level): Build program with -DTIMEOUT=$timeout.
10786 2015-02-06 Pedro Alves <palves@redhat.com>
10788 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
10789 determine how many seconds to pass to 'alarm'.
10790 * gdb.base/gdb-sigterm.exp (top level): Build program with
10791 -DTIMEOUT=$timeout.
10792 (do_test): Return success/failure indication. Add more verbose
10793 logging. Don't fail if 200 single steps are seen. Instead, fail
10794 when the test times out.
10795 (passes): New global.
10796 (top level): Break the testing loop if testing fails on any
10797 iteration. Use gdb_assert.
10799 2015-02-04 Don Breazeal <donb@codesourcery.com>
10801 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
10802 and initialize them.
10803 (ipc_cleanup): New function.
10804 (main): Don't declare shmid, semid, and msqid. Add a call to
10805 atexit so that we call ipc_cleanup on exit.
10807 2015-02-04 Pedro Alves <palves@redhat.com>
10809 * boards/native-extended-gdbserver.exp: Remove any target variant
10810 specifications from the board name before clearing the isremote
10811 flag from board_info.
10813 2015-01-31 Doug Evans <xdje42@gmail.com>
10815 * gdb.base/maint.exp <maint print type argc>: Update expected output.
10817 2015-01-31 Gary Benson <gbenson@redhat.com>
10819 * gdb.base/completion.exp: Disable completion limiting for
10820 existing tests. Add new tests to check completion limiting.
10821 * gdb.linespec/ls-errs.exp: Disable completion limiting.
10823 2015-01-31 Doug Evans <xdje42@gmail.com>
10825 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
10827 2015-01-31 Doug Evans <xdje42@gmail.com>
10829 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
10830 entries. Duplicate file section script entries.
10831 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
10832 inlined entries. Add test for safe-path rejection.
10833 * gdb.python/py-section-script.c: Add duplicate inlined section script
10834 entries. Duplicate file section script entries.
10835 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
10836 inlined entries. Add test for safe-path rejection.
10838 2015-01-29 Joel Brobecker <brobecker@adacore.com>
10840 * gdb.ada/disc_arr_bound: New testcase.
10842 2015-01-29 Joel Brobecker <brobecker@adacore.com>
10844 * gdb.ada/mi_var_array: New testcase.
10846 2015-01-27 Doug Evans <dje@google.com>
10848 * gdb.python/py-objfile.exp: Add tests for objfile.username.
10849 Add test for objfile.filename, objfile.username after objfile
10852 2015-01-26 Joel Brobecker <brobecker@adacore.com>
10854 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
10855 the second test to print the name attribute of value
10856 returned by the call to gdb.lookup_type, and adjust
10857 the expected output accordingly.
10859 2015-01-25 Mark Wielaard <mjw@redhat.com>
10861 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
10862 * gdb.base/disp-step-fork.c: Include unistd.h.
10863 * gdb.base/siginfo-obj.c: Include stdio.h.
10864 * gdb.base/siginfo-thread.c: Likewise.
10865 * gdb.mi/non-stop.c: Include unistd.h.
10866 * gdb.mi/nsthrexec.c: Include stdio.h.
10867 * gdb.mi/pthreads.c: Include unistd.h.
10868 * gdb.modula2/unbounded1.c (main): Declare returns int.
10869 * gdb.reverse/consecutive-reverse.c: Likewise.
10870 * gdb.threads/create-fail.c: Include unistd.h.
10871 * gdb.threads/killed.c: Likewise.
10872 * gdb.threads/linux-dp.c: Likewise.
10873 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
10874 * gdb.threads/non-ldr-exc-2.c: Likewise.
10875 * gdb.threads/non-ldr-exc-3.c: Likewise.
10876 * gdb.threads/non-ldr-exc-4.c: Likewise.
10877 * gdb.threads/pthreads.c: Include unistd.h.
10878 (main): Declare returns int.
10879 * gdb.threads/tls-main.c (foo): New declaration.
10880 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
10882 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
10884 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
10885 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
10887 2015-01-15 Mark Wielaard <mjw@redhat.com>
10889 * gdb.base/noreturn-return.c: New file.
10890 * gdb.base/noreturn-return.exp: New file.
10891 * gdb.base/noreturn-finish.c: New file.
10892 * gdb.base/noreturn-finish.exp: New file.
10894 2015-01-23 Pedro Alves <palves@redhat.com>
10896 * gdb.threads/continue-pending-after-query.c: New file.
10897 * gdb.threads/continue-pending-after-query.exp: New file.
10899 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
10900 Simon Marchi <simon.marchi@ericsson.com>
10902 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
10903 * gdb.base/valgrind-db-attach.exp: Same.
10904 * gdb.base/valgrind-infcall.exp: Same.
10905 * lib/mi-support.exp (default_mi_gdb_start): Same.
10906 * lib/prompt.exp (default_prompt_gdb_start): Same.
10907 * lib/gdb.exp (default_gdb_spawn): Same.
10908 (gdb_interact): New.
10911 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10913 * gdb.compile/compile.exp (pointer to jit function): New test.
10915 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
10917 * lib/gdb.exp (supports_process_record): Return true for
10919 (supports_reverse): Likewise.
10921 2015-01-15 Don Breazeal <donb@codesourcery.com>
10923 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
10924 instead of checking whether the target board is remote and
10925 use spawn_wait_for_attach instead of exec/sleep.
10926 * gdb.base/attach-twice.exp: Likewise.
10928 2015-01-15 Joel Brobecker <brobecker@adacore.com>
10930 * gdb.ada/var_arr_attrs: New testcase.
10932 2015-01-14 Pedro Alves <palves@redhat.com>
10933 Joel Brobecker <brobecker@adacore.com>
10936 * gdb.base/bp-cmds-execution-x-script.c: New file.
10937 * gdb.base/bp-cmds-execution-x-script.exp: New file.
10938 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
10940 2015-01-14 Pedro Alves <palves@redhat.com>
10943 * gdb.base/batch-preserve-term-settings.c: New file.
10944 * gdb.base/batch-preserve-term-settings.exp: New file.
10946 2015-01-13 Doug Evans <dje@google.com>
10948 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
10951 2015-01-13 Joel Brobecker <brobecker@adacore.com>
10953 * Makefile.in (clean mostlyclean): Do not delete *.py.
10955 2015-01-13 Joel Brobecker <brobecker@adacore.com>
10957 * gdb.python/py-lookup-type.exp: New file.
10959 2015-01-12 Pedro Alves <palves@redhat.com>
10961 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
10962 restore GDBFLAGS before returning.
10964 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10966 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
10967 is_amd64_regs_target and is_x86_like_target.
10969 2015-01-11 Doug Evans <xdje42@gmail.com>
10971 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
10972 is given without an explicit form.
10973 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
10975 * gdb.dwarf/corrupt.exp: Ditto.
10976 * gdb.dwarf2/enum-type.exp: Ditto.
10977 * gdb.trace/entry-values.exp: Ditto.
10978 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
10980 2015-01-11 Doug Evans <xdje42@gmail.com>
10983 * gdb.base/maint.exp: Remove references to "maint demangle".
10984 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
10985 Add tests for explicitly specifying language to demangle.
10986 * gdb.dlang/demangle.exp: Ditto.
10988 2015-01-09 Pedro Alves <palves@redhat.com>
10990 * gdb.threads/non-stop-fair-events.c: New file.
10991 * gdb.threads/non-stop-fair-events.exp: New file.
10993 2015-01-09 Pedro Alves <palves@redhat.com>
10995 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
10996 the global scope. Set a breakpoint after all threads are started
10997 rather than stepping over two source lines. Expect the prompt.
10998 * gdb.base/watch_thread_num.c (threads_started_barrier): New
11001 (main): Use threads_started_barrier to wait for all threads to
11002 start. Main thread no longer calls thread_function. Exit after
11004 (loop): New function.
11005 (thread_function): Wait on threads_started_barrier barrier. Call
11006 'loop' at each iteration.
11007 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
11008 threads have started, instead of hardcoding number of "next"
11009 steps. Use an access watchpoint instead of a write watchpoint.
11011 2015-01-09 Pedro Alves <palves@redhat.com>
11013 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
11014 (thread_func): Wait on barrier.
11015 (main): Wait for all threads to start before stopping GDB.
11016 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
11018 (thread1_func, thread2_func): Wait on barrier.
11019 (main): Wait for all threads to start before stopping GDB.
11020 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
11022 (thread1_func, thread2_func): Wait on barrier.
11023 (main): Wait for all threads to start before stopping GDB.
11025 2015-01-09 Pedro Alves <palves@redhat.com>
11027 * gdb.threads/attach-many-short-lived-threads.c: New file.
11028 * gdb.threads/attach-many-short-lived-threads.exp: New file.
11030 2014-01-09 Pedro Alves <palves@redhat.com>
11032 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
11033 instead of to thread 2.
11034 * gdb.threads/signal-command-multiple-signals-pending.c (main):
11035 Add barrier around each pthread_create call instead of around all
11037 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
11038 Set a break on thread_function and have the child threads hit it
11041 2015-01-09 Pedro Alves <palves@redhat.com>
11043 * lib/gdb.exp (can_spawn_for_attach): New procedure.
11044 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
11046 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
11047 checking whether the target board is remote.
11048 * gdb.multi/multi-attach.exp: Likewise.
11049 * gdb.python/py-sync-interp.exp: Likewise.
11050 * gdb.server/ext-attach.exp: Likewise.
11051 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
11052 tests that need to attach, instead of checking whether the target
11053 board is remote at the top of the file.
11055 2015-01-08 Yao Qi <yao@codesourcery.com>
11057 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
11059 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11061 Fix testcase compilation.
11062 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
11064 2015-01-06 Joel Brobecker <brobecker@adacore.com>
11066 * gdb.python/py-type.exp: Add a couple test about empty
11067 array creation, and negative-length array creation.
11069 2015-01-02 Doug Evans <xdje42@gmail.com>
11071 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
11073 2015-01-02 Doug Evans <dje@google.com>
11075 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
11077 2014-12-29 Yao Qi <yao@codesourcery.com>
11079 * gdb.trace/entry-values.exp: Update comments. Rename variable
11080 bar_call_foo to returned_from_foo.
11082 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
11085 * gdb.linespec/break-asm-file.c: New file.
11086 * gdb.linespec/break-asm-file.exp: New file.
11087 * gdb.linespec/break-asm-file0.s: New file.
11088 * gdb.linespec/break-asm-file1.s: New file.
11090 2014-12-18 Nigel Stephens <nigel@mips.com>
11091 Maciej W. Rozycki <macro@codesourcery.com>
11093 * gdb.base/float.exp: Handle the new output from "info float" on
11096 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11098 Fix MinGW compilation.
11099 * gdb.compile/compile-ops.exp: Update untested message if
11100 !skip_compile_feature_tests.
11101 * gdb.compile/compile-setjmp.exp: Likewise.
11102 * gdb.compile/compile-tls.exp: Likewise.
11103 * gdb.compile/compile.exp: Likewise.
11104 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
11105 supported on this host".
11107 2014-12-16 Doug Evans <xdje42@gmail.com>
11109 * boards/stabs.exp: New file.
11111 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
11113 * gdb.base/completion.exp: Adjust to format changes of "maint
11114 print user-registers".
11116 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
11119 * gdb.arch/aarch64-fp.c: New file.
11120 * gdb.arch/aarch64-fp.exp: New file.
11122 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
11124 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
11125 r210637, r210913, r211666, r215400, r215817).
11127 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
11128 * dg-extract-results.py: New file.
11129 * dg-extract-results.sh: Use it if the environment seems
11132 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
11134 * dg-extract-results.py (parse_run): Handle warnings that
11135 are printed before a test harness is run.
11137 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
11139 * dg-extract-results.py (Named): Remove __cmp__ method.
11140 (output_variation): Use a key to sort variation.harnesses.
11142 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
11144 * dg-extract-results.py: For Python 3, force sys.stdout to
11145 handle surrogate escape sequences.
11146 (safe_open): New function.
11147 (output_segment, main): Use it.
11149 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
11151 * dg-extract-results.py (Prog.result_re): Include options
11154 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
11156 * dg-extract-results.py (output_variation): Always sort if
11159 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
11161 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
11162 as long as we get pagination notifications.
11164 2014-12-15 Jason Merrill <jason@redhat.com>
11166 * Makefile.in (check-gdb.%): Restore.
11167 * README: Mention it.
11169 2014-12-13 Joel Brobecker <brobecker@adacore.com>
11171 * gdb.ada/str_uninit: New testcase.
11173 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11176 * gdb.base/vla-stub-define.c: New file.
11177 * gdb.base/vla-stub.c: New file.
11178 * gdb.base/vla-stub.exp: New file.
11180 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
11181 Jan Kratochvil <jan.kratochvil@redhat.com>
11182 Tom Tromey <tromey@redhat.com>
11184 * configure.ac: Add gdb.compile/.
11185 * configure: Regenerate.
11186 * gdb.compile/Makefile.in: New file.
11187 * gdb.compile/compile-ops.exp: New file.
11188 * gdb.compile/compile-ops.c: New file.
11189 * gdb.compile/compile-tls.c: New file.
11190 * gdb.compile/compile-tls.exp: New file.
11191 * gdb.compile/compile-constvar.S: New file.
11192 * gdb.compile/compile-constvar.c: New file.
11193 * gdb.compile/compile-mod.c: New file.
11194 * gdb.compile/compile-nodebug.c: New file.
11195 * gdb.compile/compile-setjmp-mod.c: New file.
11196 * gdb.compile/compile-setjmp.c: New file.
11197 * gdb.compile/compile-setjmp.exp: New file.
11198 * gdb.compile/compile-shlib.c: New file.
11199 * gdb.compile/compile.c: New file.
11200 * gdb.compile/compile.exp: New file.
11201 * lib/gdb.exp (skip_compile_feature_tests): New proc.
11203 2014-12-12 Tom Tromey <tromey@redhat.com>
11205 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
11206 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
11208 2014-12-12 Doug Evans <dje@google.com>
11210 * lib/gdb-python.exp (get_python_valueof): New function.
11211 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
11213 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11215 * gdb.base/completion.exp: Add test for completion of "info
11218 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
11220 * gdb.base/func-ptrs.c: New file.
11221 * gdb.base/func-ptrs.exp: New file.
11223 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
11225 PR breakpoints/17012
11226 * gdb.base/dprintf-detach.c: New file.
11227 * gdb.base/dprintf-detach.exp: New file.
11229 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
11231 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
11232 * lib/gdb.exp (target_is_gdbserver): New procedure.
11234 2014-12-08 Doug Evans <dje@google.com>
11236 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
11238 2014-12-05 Yao Qi <yao@codesourcery.com>
11240 * gdb.guile/scm-error.exp: Remove the third argument to
11241 gdb_remote_download.
11242 * gdb.guile/scm-frame-args.exp: Likewise.
11243 * gdb.guile/scm-section-script.exp: Likewise.
11245 2014-12-05 Yao Qi <yao@codesourcery.com>
11247 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
11249 2014-12-04 Doug Evans <dje@google.com>
11251 * gdb.python/py-objfile.exp: Add tests for
11252 objfile.add_separate_debug_file.
11254 2014-12-04 Doug Evans <dje@google.com>
11256 * lib/gdb.exp (get_build_id): New function.
11257 (build_id_debug_filename_get): Rewrite to use it.
11258 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
11260 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
11262 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
11263 `method(long)', not just 0x0.
11264 * gdb.cp/nsalias.exp: Align code labels to 4.
11265 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
11266 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
11267 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
11268 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
11269 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
11270 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
11272 2014-12-02 Doug Evans <dje@google.com>
11275 * gdb.cp/anon-ns.cc: Move guts of this file to ...
11276 * gdb.cp/anon-ns2.cc: ... here. New file.
11277 * gdb.cp/anon-ns.exp: Update.
11279 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
11281 * gdb.python/py-events.py (inferior_call_handler): New.
11282 (register_changed_handler, memory_changed_handler): New.
11283 (test_events.invoke): Register new handlers.
11284 * gdb.python/py-events.exp: Add tests for inferior call,
11285 memory_changed and register_changed events.
11287 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
11289 * gdb.base/execl-update-breakpoints.exp: Specify the link address
11290 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
11291 if the linker doesn't understand this.
11293 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
11295 * gdb.python/python.exp: Change expected reply to help().
11297 2014-12-01 Yao Qi <yao@codesourcery.com>
11299 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
11300 AC_CONFIG_SUBDIRS(gdb.gdbtk).
11301 * configure: Re-generated.
11303 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
11305 * gdb.cp/chained-calls.cc: New file.
11306 * gdb.cp/chained-calls.exp: New file.
11307 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
11309 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
11311 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
11312 * gdb.dwarf2/symtab-producer.exp: Same.
11313 * gdb.gdb/python-interrupts.exp: Same.
11314 * gdb.gdb/python-selftest.exp: Same.
11315 * gdb.python/py-linetable.exp: Same.
11316 * gdb.python/py-type.exp: Same.
11317 * gdb.python/py-value-cc.exp: Same.
11318 * gdb.python/py-value.exp: Same.
11320 2014-11-28 Yao Qi <yao@codesourcery.com>
11322 * gdb.base/break-probes.exp: Match library name prefixed with
11325 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
11327 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
11328 test expected output. Add parentheses for the call to print.
11329 Remove L suffix from integers.
11331 2014-11-26 Doug Evans <dje@google.com>
11333 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
11335 2014-11-22 Yao Qi <yao@codesourcery.com>
11337 * gdb.trace/entry-values.c: Remove asms.
11338 (foo): Add foo_label.
11339 (bar): Add bar_label.
11340 * gdb.trace/entry-values.exp: Remove code computing foo's
11341 length and bar's length.
11342 (Dwarf::assemble): Invoke function_range for bar and use
11343 MACRO_AT_func for foo.
11345 2014-11-22 Yao Qi <yao@codesourcery.com>
11347 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
11348 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
11349 Use .Lgcc43_procstart instead of gcc43.
11351 2014-11-21 Joel Brobecker <brobecker@adacore.com>
11353 * gdb.ada/n_arr_bound: New testcase.
11355 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
11357 PR breakpoints/10737
11358 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
11359 test_catch_syscall_multi_arch.
11360 (test_catch_syscall_multi_arch): New function.
11362 2014-11-20 Doug Evans <xdje42@gmail.com>
11364 * gdb.base/maint.exp: Update expected output.
11366 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11368 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
11369 4-byte instruction on S390.
11371 2014-11-19 Joel Brobecker <brobecker@adacore.com>
11373 * gdb.ada/arr_arr: New testcase.
11375 2014-11-19 Joel Brobecker <brobecker@adacore.com>
11377 * gdb.ada/pkd_arr_elem: New Testcase.
11379 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
11381 * gdb.reverse/break-precsave: Expect completion message for
11383 * gdb.reverse/consecutive-precsave.exp: Likewise.
11384 * gdb.reverse/finish-precsave.exp: Likewise.
11385 * gdb.reverse/i386-precsave.exp: Likewise.
11386 * gdb.reverse/machinestate-precsave.exp: Likewise.
11387 * gdb.reverse/sigall-precsave.exp: Likewise.
11388 * gdb.reverse/solib-precsave.exp: Likewise.
11389 * gdb.reverse/step-precsave.exp: Likewise.
11390 * gdb.reverse/until-precsave.exp: Likewise.
11391 * gdb.reverse/watch-precsave.exp: Likewise.
11393 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11395 * gdb.base/bp-permanent.c: Include unistd.h.
11396 * gdb.python/py-framefilter-mi.c (main): Add return type.
11397 * gdb.python/py-framefilter.c (main): Likewise.
11398 * gdb.trace/actions-changed.c (main): Likewise.
11400 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11402 * gdb.mi/until.c: Add eye-catchers.
11403 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
11406 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11408 * gdb.base/condbreak.exp: Drop references to removed non-prototype
11409 function header variants in break1.c.
11410 * gdb.base/ena-dis-br.exp: Likewise.
11411 * gdb.base/hbreak2.exp: Likewise.
11412 * gdb.reverse/until-precsave.exp: Drop references to removed
11413 non-prototype function header variants in ur1.c.
11414 * gdb.reverse/until-reverse.exp: Likewise.
11416 2014-11-17 Petr Machata <pmachata@redhat.com>
11418 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
11419 ${_cu_offset_size} bytes abbrev offset.
11421 2014-11-15 Doug Evans <xdje42@gmail.com>
11424 * gdb.base/line-symtabs.exp: New file.
11425 * gdb.base/line-symtabs.c: New file.
11426 * gdb.base/line-symtabs.h: New file.
11428 2014-11-14 Yao Qi <yao@codesourcery.com>
11430 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
11431 (func): Add label func_label.
11432 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
11433 Replace low_pc and high_pc with MACRO_AT_range.
11434 Replace name, low_pc and high_pc with MACRO_AT_func.
11436 2014-11-14 Yao Qi <yao@codesourcery.com>
11438 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
11439 Replace name, low_pc and high_pc with MACRO_AT_func.
11441 2014-11-14 Yao Qi <yao@codesourcery.com>
11443 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
11444 produce debug information.
11445 * gdb.dwarf2/implptr-optimized-out.S: Removed.
11447 2014-11-14 Yao Qi <yao@codesourcery.com>
11449 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
11450 object and get function length.
11451 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
11452 with MACRO_AT_func.
11453 (top-level): Replace gdb_compile and clean_restart with
11454 prepare_for_testing.
11455 * gdb.dwarf2/main.c (main): Add label main_label.
11457 2014-11-14 Yao Qi <yao@codesourcery.com>
11459 * lib/dwarf.exp (function_range): New procedure.
11460 (Dwarf::_handle_macro_at_func): New procedure.
11461 (Dwarf::_handle_macro_at_range): New procedure.
11462 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
11464 2014-11-14 Yao Qi <yao@codesourcery.com>
11466 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
11467 (_handle_attribute): New procedure.
11469 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11471 * gdb.ada/cond_lang/foo.c (callme): Add return type.
11472 * gdb.base/call-sc.c (zed): Likewise.
11473 * gdb.base/checkpoint.c (main): Likewise.
11474 * gdb.base/dump.c (main): Likewise.
11475 * gdb.base/gcore.c (main): Likewise.
11476 * gdb.base/huge.c (main): Likewise.
11477 * gdb.base/multi-forks.c (main): Likewise.
11478 * gdb.base/pr10179-a.c (main): Likewise.
11479 * gdb.base/savedregs.c (main): Likewise.
11480 * gdb.base/sigaltstack.c (main): Likewise.
11481 * gdb.base/siginfo.c (main): Likewise.
11482 * gdb.base/structs.c (zed): Likewise.
11483 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
11484 * gdb.mi/mi-syn-frame.c (main): Likewise.
11485 * gdb.mi/until.c (foo, main): Likewise.
11486 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
11487 * gdb.base/solib-weak.c (foo): Declare.
11488 * gdb.base/attach-twice.c: Include stdio.h.
11489 * gdb.base/weaklib1.c: Likewise.
11490 * gdb.base/weaklib2.c: Likewise.
11491 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
11492 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
11494 * gdb.base/attach-pie-misread.c: Include stdlib.h.
11495 * gdb.mi/mi-exit-code.c: Likewise.
11496 * gdb.base/break-interp-lib.c: Include string.h.
11497 * gdb.base/coremaker.c: Likewise.
11498 * gdb.base/testenv.c: Likewise.
11499 * gdb.python/py-finish-breakpoint.c: Likewise.
11500 * gdb.base/inferior-died.c: Include sys/wait.h.
11501 * gdb.base/fileio.c: Include time.h.
11502 * gdb.base/async-shell.c: Include unistd.h.
11503 * gdb.base/dprintf-non-stop.c: Likewise.
11504 * gdb.base/info-os.c: Likewise.
11505 * gdb.mi/mi-console.c: Likewise.
11506 * gdb.mi/watch-nonstop.c: Likewise.
11507 * gdb.python/py-events.c: Likewise.
11508 * gdb.base/async.c (baz): Move up before its invocation.
11509 * gdb.base/code_elim2.c (my_global_func): Likewise.
11510 * gdb.base/skip-solib-lib.c (multiply): Likewise.
11511 * gdb.base/advance.c (func2): Likewise.
11513 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11515 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
11517 * gdb.base/annota3.c: Likewise.
11518 * gdb.base/async.c: Likewise.
11519 * gdb.base/average.c: Likewise.
11520 * gdb.base/call-ar-st.c: Likewise.
11521 * gdb.base/call-rt-st.c: Likewise.
11522 * gdb.base/call-sc.c: Likewise.
11523 * gdb.base/call-strs.c: Likewise.
11524 * gdb.base/ending-run.c: Likewise.
11525 * gdb.base/execd-prog.c: Likewise.
11526 * gdb.base/exprs.c: Likewise.
11527 * gdb.base/foll-exec.c: Likewise.
11528 * gdb.base/foll-fork.c: Likewise.
11529 * gdb.base/foll-vfork.c: Likewise.
11530 * gdb.base/funcargs.c: Likewise.
11531 * gdb.base/gcore.c: Likewise.
11532 * gdb.base/jump.c: Likewise.
11533 * gdb.base/langs0.c: Likewise.
11534 * gdb.base/langs1.c: Likewise.
11535 * gdb.base/langs2.c: Likewise.
11536 * gdb.base/mips_pro.c: Likewise.
11537 * gdb.base/nodebug.c: Likewise.
11538 * gdb.base/opaque0.c: Likewise.
11539 * gdb.base/opaque1.c: Likewise.
11540 * gdb.base/recurse.c: Likewise.
11541 * gdb.base/run.c: Likewise.
11542 * gdb.base/scope0.c: Likewise.
11543 * gdb.base/scope1.c: Likewise.
11544 * gdb.base/setshow.c: Likewise.
11545 * gdb.base/setvar.c: Likewise.
11546 * gdb.base/shmain.c: Likewise.
11547 * gdb.base/shr1.c: Likewise.
11548 * gdb.base/shr2.c: Likewise.
11549 * gdb.base/sigall.c: Likewise.
11550 * gdb.base/signals.c: Likewise.
11551 * gdb.base/so-indr-cl.c: Likewise.
11552 * gdb.base/solib2.c: Likewise.
11553 * gdb.base/structs.c: Likewise.
11554 * gdb.base/sum.c: Likewise.
11555 * gdb.base/vforked-prog.c: Likewise.
11556 * gdb.base/watchpoint.c: Likewise.
11557 * gdb.reverse/shr2.c: Likewise.
11558 * gdb.reverse/until-reverse.c: Likewise.
11559 * gdb.reverse/ur1.c: Likewise.
11560 * gdb.reverse/watch-reverse.c: Likewise.
11562 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11564 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
11566 * gdb.base/sepdebug.exp: Drop references to removed code.
11568 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11570 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
11571 variant. Preserve original line numbering.
11572 * gdb.base/list1.c: Likewise.
11574 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11576 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
11578 * gdb.base/break1.c: Likewise.
11579 * gdb.base/break.exp: Drop references to removed code.
11581 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11583 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
11586 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11588 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
11590 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11592 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
11593 logic into perform_all_tests() and invoke it with and without
11594 function header prototypes.
11595 (do_function_calls): Remove conditional XFAIL for PR 5318.
11596 (rerun_and_prepare): Remove duplicate code.
11597 (perform_all_tests): New. Main logic moved here.
11599 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11601 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
11602 code guarded by #ifdef NO_PROTOTYPES.
11603 (t_double_many_args): Likewise.
11604 (DEF_FUNC_MANY_ARGS_1): Likewise.
11605 (DEF_FUNC_VALUES_1): Likewise.
11606 (t_structs_ldc): Renamed from t_structs_fc in conditional code
11607 guarded by #ifdef PROTOTYPES.
11609 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11611 * gdb.mi/mi-console.c: Add eye-catcher.
11612 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
11613 instead of literal line number.
11615 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11617 * gdb.base/shr2.c: Add eye-catcher.
11618 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
11621 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11623 * gdb.base/jump.c: Add eye-catchers.
11624 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
11627 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11629 * gdb.base/execd-prog.c: Add eye-catchers.
11630 * gdb.base/foll-exec.c: Likewise.
11631 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
11634 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11636 * gdb.base/ending-run.c: Add eye-catchers.
11637 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
11638 literal line numbers.
11640 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11642 * gdb.base/call-rt-st.c: Add eye-catchers.
11643 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
11644 literal line numbers.
11646 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11648 * gdb.base/call-ar-st.c: Add eye-catchers.
11649 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
11650 literal line numbers.
11652 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11654 * gdb.base/average.c: Add eye-catchers.
11655 * gdb.base/sum.c: Likewise.
11656 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
11657 regexps dynamically.
11659 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11661 * gdb.base/solib1.c: Add eye-catchers.
11662 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
11663 literal line numbers.
11665 2014-11-12 Pedro Alves <palves@redhat.com>
11667 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
11670 2014-11-12 Pedro Alves <palves@redhat.com>
11672 * gdb.arch/i386-bp_permanent.c: New file.
11673 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
11674 (srcfile): Set to i386-bp_permanent.c.
11675 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
11676 that stepi does not execute the 'leave' instruction, instead of
11677 testing it does execute.
11678 * gdb.base/bp-permanent.c: New file.
11679 * gdb.base/bp-permanent.exp: New file.
11681 2014-11-10 Doug Evans <xdje42@gmail.com>
11684 * gdb.base/symtab-search-order.exp: New file.
11685 * gdb.base/symtab-search-order.c: New file.
11686 * gdb.base/symtab-search-order-1.c: New file.
11687 * gdb.base/symtab-search-order-shlib-1.c: New file.
11689 2014-11-07 Pedro Alves <palves@redhat.com>
11692 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
11695 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
11698 * gdb.cp/pr17494.cc: New file.
11699 * gdb.cp/pr17494.exp: New file.
11701 2014-11-02 Yao Qi <yao@codesourcery.com>
11703 * gdb.python/python.exp: Get working directory and match the
11704 output of "set extended-prompt \\w " with it.
11706 2014-10-30 Doug Evans <dje@google.com>
11708 * gdb.python/py-objfile.exp: Add tests for setting random attributes
11710 * gdb.python/py-progspace.exp: Add tests for setting random attributes
11713 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
11715 * gdb.base/fullpath-expand.exp: Skip for a remote host.
11716 * gdb.base/realname-expand.exp: Likewise.
11717 * gdb.linespec/macro-relative.exp: Likewise.
11719 2014-10-29 Pedro Alves <palves@redhat.com>
11722 * gdb.threads/schedlock.c (some_function): New function.
11723 (call_function): New global.
11724 (MAYBE_CALL_SOME_FUNCTION): New macro.
11725 (thread_function): Call it.
11726 * gdb.threads/schedlock.exp (get_args): Add description parameter,
11727 and use it instead of a global counter. Adjust all callers.
11728 (get_current_thread): Use "find current thread" for test message
11729 here rather than having all callers pass down the same string.
11730 (goto_loop): New procedure, factored out from ...
11731 (my_continue): ... this.
11732 (step_ten_loops): Change parameter from test message to command to
11734 (list_count): Delete global.
11735 (check_result): New procedure, factored out from duplicate top
11737 (continue tests): Wrap in with_test_prefix.
11738 (test_step): New procedure, factored out from duplicate top level
11740 (top level): Test "step" in combination with all scheduler-locking
11741 modes. Test "next" in combination with all scheduler-locking
11742 modes, and in combination with stepping over a function call or
11744 * gdb.threads/next-bp-other-thread.c: New file.
11745 * gdb.threads/next-bp-other-thread.exp: New file.
11747 2014-10-29 Pedro Alves <palves@redhat.com>
11750 * gdb.python/python.exp: Test a multi-line command that spawns
11751 interactive Python.
11752 * gdb.base/multi-line-starts-subshell.exp: New file.
11754 2014-10-29 Yao Qi <yao@codesourcery.com>
11756 * gdb.base/fileio.exp: Make directories on host.
11758 2014-10-29 Yao Qi <yao@codesourcery.com>
11760 * gdb.base/fileio.c (test_write): Close the file.
11762 2014-10-28 Pedro Alves <palves@redhat.com>
11765 * gdb.base/sigstep.c (no_handler): New global.
11766 (main): If 'no_handler is true, set the signal handlers to
11768 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
11769 with_sw_watch and no_handler parameters. Handle them.
11770 (top level) <stepping over handler when stopped at a breakpoint
11771 test>: Add a test axis for testing with a software watchpoint, and
11772 another for testing with the signal handler set to SIG_IGN.
11773 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
11774 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
11776 2014-10-28 Pedro Alves <palves@redhat.com>
11779 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
11780 * gdb.base/sigstep.exp (other_handler_location): New global.
11781 (advance): Support stepping into the signal handler, and running
11782 commands while in the handler.
11783 (in_handler_map): New global.
11784 (top level): In the advance test, add combinations for getting
11785 into the handler with stepping commands, and for running commands
11786 in the handler. Add comment descripting the advancei tests.
11788 2014-10-28 Pedro Alves <palves@redhat.com>
11790 * gdb.base/sigstep.exp: Use build_executable instead of
11791 prepare_for_testing.
11792 (top level): Move code that starts GDB, runs to main and creates a
11794 (restart): ... this new procedure.
11795 (top level): Move backtrace from signal handler test to ...
11796 (validate_backtrace): ... this new procedure.
11797 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
11798 with_test_prefix. Always restart GDB.
11799 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
11800 with_test_prefix. Always restart GDB. No need to delete
11801 breakpoints after the test.
11802 (test_skip_handler): Remove prefix parameter.
11803 (skip_over_handler, breakpoint_to_handler)
11804 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
11805 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
11806 restart GDB. No need to delete breakpoints after the test.
11807 (top level): Use foreach to call the test procedures with
11808 different commands.
11810 2014-10-28 Pedro Alves <palves@redhat.com>
11812 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
11813 instead of GNATS numbers.
11814 * gdb.base/sigbpt.exp: Likewise.
11815 * gdb.base/siginfo.exp: Likewise.
11816 * gdb.base/sigstep.exp: Likewise.
11818 2014-10-27 Pedro Alves <palves@redhat.com>
11820 * gdb.base/sigstep.c (dummy): New global.
11821 (main): Issue a couple writes to the new global.
11822 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
11824 (skip_over_handler): Use test_skip_handler.
11825 (top level): Call skip_over_handler for stepi and nexti too.
11826 (breakpoint_over_handler): Use test_skip_handler.
11827 (top level): Call breakpoint_over_handler for stepi and nexti too.
11829 2014-10-27 Yao Qi <yao@codesourcery.com>
11831 * gdb.trace/tfile.c (adjust_function_address)
11832 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
11833 function descriptor.
11835 2014-10-24 Don Breazeal <donb@codesourcery.com>
11837 * gdb.base/foll-fork.exp (test_follow_fork,
11838 catch_fork_child_follow): Check for updated fork messages emitted
11840 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
11841 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
11842 vfork_and_exec_child_follow_through_step): Check for updated vfork
11843 messages emitted from infrun.c.
11845 2014-10-24 Pedro Alves <palves@redhat.com>
11847 * gdb.base/corefile.exp: Remove references to ultrix.
11848 * gdb.base/interrupt.exp: Likewise.
11849 * gdb.base/whatis.exp: Likewise.
11850 * gdb.gdb/selftest.exp: Likewise.
11851 * gdb.threads/manythreads.exp: Likewise.
11852 * gdb.threads/print-threads.exp: Likewise.
11853 * gdb.threads/pthreads.exp:: Likewise.
11854 * gdb.threads/schedlock.exp: Likewise.
11856 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
11858 * gdb.cp/non-trivial-retval.cc: Add a test case.
11859 * gdb.cp/non-trivial-retval.exp: Add a test.
11861 2014-10-20 Yao Qi <yao@codesourcery.com>
11863 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
11864 * gdb.python/py-objfile-script-gdb.py: New file.
11865 * gdb.python/py-objfile-script.exp: Update reference to
11866 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
11867 of remote_download. Remove the dest file.
11869 2014-10-20 Yao Qi <yao@codesourcery.com>
11871 * gdb.base/checkpoint.exp: Don't remove file copied on host.
11872 * gdb.base/step-line.exp: Likewise.
11873 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
11874 * gdb.dwarf2/dw2-basic.exp: Likewise.
11875 * gdb.dwarf2/dw2-compressed.exp: Likewise.
11876 * gdb.dwarf2/dw2-filename.exp: Likewise.
11877 * gdb.dwarf2/dw2-intercu.exp: Likewise.
11878 * gdb.dwarf2/dw2-intermix.exp: Likewise.
11879 * gdb.dwarf2/dw2-producer.exp: Likewise.
11880 * gdb.dwarf2/mac-fileno.exp: Likewise.
11881 * gdb.python/py-frame-args.exp: Likewise.
11882 * gdb.python/py-framefilter.exp: Likewise.
11883 * gdb.python/py-mi.exp: Likewise.
11884 * gdb.python/py-objfile-script.exp: Likewise
11885 * gdb.python/py-pp-integral.exp: Likewise.
11886 * gdb.python/py-pp-re-notag.exp: Likewise.
11887 * gdb.python/py-prettyprint.exp: Likewise.
11888 * gdb.python/py-section-script.exp: Likewise.
11889 * gdb.python/py-typeprint.exp: Likewise.
11890 * gdb.python/py-xmethods.exp: Likewise.
11891 * gdb.stabs/weird.exp: Likewise.
11892 * gdb.xml/tdesc-regs.exp: Likewise.
11894 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
11896 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
11897 (out_cu): Use addr_len for the size of addresses.
11898 (out_line): Likewise. Size DW_LNE_set_address instruction
11899 according to addr_len.
11900 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
11901 (FUNC): Add START_INSNS to definition.
11903 2014-10-18 Yao Qi <yao@codesourcery.com>
11905 * gdb.base/argv0-symlink.exp: Check argv[0] value if
11906 gdb_has_argv0 return true.
11907 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
11908 check [target_info exists noargs], check [gdb_has_argv0]
11910 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
11911 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
11914 2014-10-17 Doug Evans <dje@google.com>
11916 * gdb.python/py-events.exp: Update expected output for clear_objfiles
11918 * gdb.python/py-events.py: Add clear_objfiles event.
11920 2014-10-17 Doug Evans <dje@google.com>
11922 * gdb.python/py-objfile.exp: Test progspace attribute.
11924 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
11926 * gdb.guile/scm-breakpoint.exp: Do not assume any
11927 directory separators when matching source file paths.
11928 * gdb.python/py-breakpoint.exp: Likewise.
11929 * gdb.reverse/break-precsave.exp: Likewise.
11930 * gdb.reverse/break-reverse.exp: Likewise.
11931 * gdb.reverse/consecutive-precsave.exp: Likewise.
11932 * gdb.reverse/finish-precsave.exp: Likewise.
11933 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
11934 * gdb.reverse/finish-reverse.exp: Likewise.
11935 * gdb.reverse/i386-precsave.exp: Likewise.
11936 * gdb.reverse/i387-env-reverse.exp: Likewise.
11937 * gdb.reverse/i387-stack-reverse.exp: Likewise.
11938 * gdb.reverse/machinestate-precsave.exp: Likewise.
11939 * gdb.reverse/machinestate.exp: Likewise.
11940 * gdb.reverse/sigall-precsave.exp: Likewise.
11941 * gdb.reverse/solib-precsave.exp: Likewise.
11942 * gdb.reverse/step-precsave.exp: Likewise.
11943 * gdb.reverse/until-precsave.exp: Likewise.
11944 * gdb.reverse/watch-precsave.exp: Likewise.
11945 * gdb.reverse/watch-reverse.exp: Likewise.
11947 2014-10-17 Yao Qi <yao@codesourcery.com>
11949 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
11950 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
11952 2014-10-17 Pedro Alves <palves@redhat.com>
11955 * gdb.base/bg-execution-repeat.c: New file.
11956 * gdb.base/bg-execution-repeat.exp: New file.
11958 2014-10-17 Pedro Alves <palves@redhat.com>
11961 * gdb.base/continue-all-already-running.c: New file.
11962 * gdb.base/continue-all-already-running.exp: New file.
11964 2014-10-17 Pedro Alves <palves@redhat.com>
11967 * gdb.base/annota-input-while-running.c: New file.
11968 * gdb.base/annota-input-while-running.exp: New file.
11970 2014-10-17 Pedro Alves <palves@redhat.com>
11972 * gdb.base/callfuncs.exp: emove references to osf.
11973 * gdb.base/sigall.exp: Likewise.
11974 * gdb.gdb/selftest.exp: Likewise.
11975 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
11976 * gdb.mi/non-stop.c: Likewise.
11977 * gdb.mi/pthreads.c: Likewise.
11978 * gdb.reverse/sigall-precsave.exp: Likewise.
11979 * gdb.reverse/sigall-reverse.exp: Likewise.
11980 * gdb.threads/pthreads.c: Likewise.
11981 * gdb.threads/pthreads.exp: Likewise.
11983 2014-10-17 Yao Qi <yao@codesourcery.com>
11985 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
11986 check 'target_info exists noargs'.
11987 (test_command_prompt_position): Likewise.
11988 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
11990 (progvar_simple_while_test): Likewise.
11991 (progvar_complex_if_while_test): Likewise.
11992 (if_while_breakpoint_command_test): Likewise.
11993 (infrun_breakpoint_command_test): Likewise.
11994 (breakpoint_command_test): Likewise.
11995 (watchpoint_command_test): Likewise.
11996 (bp_deleted_in_command_test): Likewise.
11997 (temporary_breakpoint_commands): Likewise.
11999 2014-10-16 Yao Qi <yao@codesourcery.com>
12001 * gdb.base/remotetimeout.exp: Remove noargs checking.
12003 2014-10-15 Pedro Alves <palves@redhat.com>
12005 PR breakpoints/9649
12006 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
12007 * gdb.base/breakpoint-in-ro-region.exp
12008 (probe_target_hardware_step): New procedure.
12009 (top level): Probe hardware stepping and hardware breakpoint
12010 support. Test stepping through a read-only region, with both
12011 "breakpoint auto-hw" on and off and both "always-inserted" on and
12014 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
12016 * gdb.dlang/demangle.exp: Update for demangling changes.
12018 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
12020 * gdb.cp/non-trivial-retval.cc: Add new test cases.
12021 * gdb.cp/non-trivial-retval.exp: Add new tests.
12023 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
12027 * gdb.cp/non-trivial-retval.cc: New file.
12028 * gdb.cp/non-trivial-retval.exp: New file.
12030 2014-10-15 Yao Qi <yao@codesourcery.com>
12032 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
12035 2014-10-15 Yao Qi <yao@codesourcery.com>
12037 * gdb.python/py-symbol.exp: Match file base name if host is
12038 remote, otherwise match file name with dir name.
12039 * gdb.python/py-symtab.exp: Likewise.
12040 * gdb.python/python.exp: Likewise.
12042 2014-10-15 Yao Qi <yao@codesourcery.com>
12044 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
12046 * gdb.python/py-symtab.exp: Likewise.
12047 * gdb.python/python.exp: Remove trailing ".*". Fix typo
12050 2014-10-14 Joel Brobecker <brobecker@adacore.com>
12052 * gdb.ada/addr_arith: New testcase.
12054 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
12056 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
12057 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
12058 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
12059 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
12061 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
12063 * gdb.arch/stap-eval-lang-ada.S: Likewise.
12064 * gdb.arch/stap-eval-lang-ada.c: Likewise.
12065 * gdb.arch/stap-eval-lang-ada.exp: New file.
12067 2014-10-14 Yao Qi <yao@codesourcery.com>
12069 * gdb.mi/mi-var-child.c (nothing1): New function.
12070 (nothing2): New function.
12071 (do_children_tests): Set function pointers by nothing1 and
12073 * gdb.mi/mi-var-child.exp: Step over new added statements.
12074 Update test to match the new output.
12075 * gdb.mi/var-cmd.c (nothing1): New function.
12076 (nothing2): New function.
12077 (do_children_tests): Set function pointers by nothing1 and
12079 * gdb.mi/mi-var-display.exp: Update test to match output.
12080 Step to the line specified by $line_dct_nothing.
12081 Increase the number of lines to step.
12083 2014-10-14 Yao Qi <yao@codesourcery.com>
12085 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
12087 * gdb.mi/mi2-var-child.exp: Likewise.
12089 2014-10-13 Doug Evans <dje@google.com>
12091 * gdb.python/py-objfile.exp: Change name of file name test.
12093 2014-10-13 Doug Evans <dje@google.com>
12095 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
12096 from the start of the CU.
12098 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12099 Yao Qi <yao@codesourcery.com>
12101 Fix "save breakpoints" for "catch" command.
12102 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
12103 Remove -nonewline. Match also the added "main" line.
12105 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12107 Fix "save breakpoints" for "disable $bpnum" command.
12108 * gdb.base/save-bp.c (main): Add label.
12109 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
12111 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12113 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
12115 2014-10-11 Yao Qi <yao@codesourcery.com>
12117 * gdb.server/server-kill.exp: Execute command
12118 "set remote trace-status-packet on" before "tstatus".
12120 2014-10-11 Yao Qi <yao@codesourcery.com>
12122 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
12123 (main): Call getppid.
12124 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
12125 and continue to it. Read variable "server_pid".
12127 2014-10-11 Yao Qi <yao@codesourcery.com>
12129 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
12131 2014-10-11 Yao Qi <yao@codesourcery.com>
12133 * gdb.threads/thread-find.exp: Don't execute command
12135 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
12136 * gdb.threads/linux-dp.exp: Don't check the condition
12137 $threads_created equals to zero.
12139 2014-10-10 Pedro Alves <palves@redhat.com>
12141 * gdb.base/bigcore.exp: Remove references to IRIX.
12142 * gdb.base/funcargs.exp: Likewise.
12143 * gdb.base/interrupt.exp: Likewise.
12144 * gdb.base/mips_pro.exp: Likewise.
12145 * gdb.base/nodebug.exp: Likewise.
12146 * gdb.base/setvar.exp: Likewise.
12147 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
12149 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12150 Pedro Alves <palves@redhat.com>
12153 * gdb.base/vdso-warning.c: New file.
12154 * gdb.base/vdso-warning.exp: New file.
12156 2014-10-02 Doug Evans <dje@google.com>
12158 * gdb.base/structs.c (main): Don't run forever.
12160 2014-10-02 Pedro Alves <palves@redhat.com>
12162 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
12163 (top level) <stop threads 1, stop threads 2>: Use it.
12165 2014-10-02 Pedro Alves <palves@redhat.com>
12167 * gdb.threads/break-while-running.exp (test): Add new
12168 'update_thread_list' argument. Skip "info threads" if false.
12169 (top level): Add new 'update_thread_list' axis.
12171 2014-10-02 Pedro Alves <palves@redhat.com>
12173 PR breakpoints/17431
12174 * gdb.base/execl-update-breakpoints.c: New file.
12175 * gdb.base/execl-update-breakpoints.exp: New file.
12177 2014-10-01 Pedro Alves <palves@redhat.com>
12179 * gdb.base/breakpoint-in-ro-region.c: New file.
12180 * gdb.base/breakpoint-in-ro-region.exp: New file.
12182 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
12184 * gdb.mi/mi-exit-code.exp: New file.
12185 * gdb.mi/mi-exit-code.c: New file.
12187 2014-09-30 Yao Qi <yao@codesourcery.com>
12189 * lib/prelink-support.exp (build_executable_own_libs): Error if
12190 the target isn't native.
12192 2014-09-30 Yao Qi <yao@codesourcery.com>
12194 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
12197 2014-09-22 Pedro Alves <palves@redhat.com>
12199 * gdb.threads/break-while-running.exp: New file.
12200 * gdb.threads/break-while-running.c: New file.
12202 2014-09-19 Yao Qi <yao@codesourcery.com>
12204 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
12205 Invoke test. Restart GDB with --readnow and invoke test again.
12207 2014-09-19 Yao Qi <yao@codesourcery.com>
12209 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
12210 proc set_breakpoint_on_gcd_function. Invoke
12211 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
12212 invoke set_breakpoint_on_gcd_function again.
12214 2014-09-18 Doug Evans <dje@google.com>
12216 * gdb.dwarf2/symtab-producer.exp: New file.
12218 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
12220 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
12221 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
12222 * gdb.base/global-var-nested-by-dso.c: Likewise.
12223 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12225 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
12226 Pedro Alves <palves@redhat.com>
12228 * gdb.base/watch-bitfields.exp: Pass string other than test file
12229 name to prepare_for_testing.
12230 (watch): New procedure.
12231 (expect_watchpoint): Use with_test_prefix.
12232 (top level): Factor out tests to ...
12233 (test_watch_location, test_regular_watch): ... these new
12234 procedures, and use with_test_prefix and gdb_continue_to_end.
12236 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
12238 PR breakpoints/12526
12239 * gdb.base/watch-bitfields.exp: New file.
12240 * gdb.base/watch-bitfields.c: New file.
12242 2014-09-16 Pedro Alves <palves@redhat.com>
12244 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
12245 software and hardware addresses, not software address against
12248 2014-09-16 Pedro Alves <palves@redhat.com>
12250 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
12251 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
12253 2014-09-16 Pedro Alves <palves@redhat.com>
12255 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
12257 * gdb.base/a2-run.exp: Remove all code guarded by istarget
12258 "*-*-vxworks*" throughout.
12259 * gdb.base/break.exp: Likewise.
12260 * gdb.base/default.exp: Likewise.
12261 * gdb.base/scope.exp: Likewise.
12262 * gdb.base/sepdebug.exp: Likewise.
12263 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
12265 * gdb.base/run.c: Likewise.
12266 * gdb.base/sepdebug.c: Likewise.
12267 * gdb.hp/gdb.aCC/run.c: Likewise.
12268 * gdb.reverse/until-reverse.c: Likewise.
12269 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
12271 2014-09-16 Yao Qi <yao@codesourcery.com>
12273 * boards/local-remote-host-native.exp: New file.
12275 2014-09-14 Doug Evans <xdje42@gmail.com>
12277 * gdb.threads/queue-signal.c (thread_count): New variable.
12278 (thread_count_mutex, thread_count_condvar): New variables.
12279 (incr_thread_count, wait_all_threads_running): New functions.
12280 (main): Wait for all threads to be in their thread functions.
12282 2014-09-13 Doug Evans <xdje42@gmail.com>
12284 * gdb.threads/queue-signal.c: New file.
12285 * gdb.threads/queue-signal.exp: New file.
12287 2014-09-13 Doug Evans <xdje42@gmail.com>
12289 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
12290 be consistent with what default_gdb_init uses.
12291 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
12292 the plain text of the prompt. Add some logging printfs.
12293 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
12295 2014-09-12 Pedro Alves <palves@redhat.com>
12297 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
12298 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
12299 * gdb.arch/i386-size-overlap.exp: Likewise.
12300 * gdb.arch/i386-size.exp: Likewise.
12301 * gdb.arch/i386-unwind.exp: Likewise.
12302 * gdb.base/a2-run.exp: Likewise.
12303 * gdb.base/break.exp: Likewise.
12304 * gdb.base/charset.exp: Likewise.
12305 * gdb.base/chng-syms.exp: Likewise.
12306 * gdb.base/commands.exp: Likewise.
12307 * gdb.base/dbx.exp: Likewise.
12308 * gdb.base/find.exp: Likewise.
12309 * gdb.base/funcargs.exp: Likewise.
12310 * gdb.base/jit-simple.exp: Likewise.
12311 * gdb.base/reread.exp: Likewise.
12312 * gdb.base/sepdebug.exp: Likewise.
12313 * gdb.base/step-bt.exp: Likewise.
12314 * gdb.cp/mb-inline.exp: Likewise.
12315 * gdb.cp/mb-templates.exp: Likewise.
12316 * gdb.objc/basicclass.exp: Likewise.
12317 * gdb.threads/killed.exp: Likewise.
12319 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12322 * gdb.arch/powerpc-stackless.S: New file.
12323 * gdb.arch/powerpc-stackless.exp: New file.
12325 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12327 * gdb.base/attach.c: Include unistd.h.
12328 (main): Call alarm. Add label postloop.
12329 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
12330 gdb_breakpoint, gdb_continue_to_breakpoint.
12331 (test_command_line_attach_run): Kill ${testpid} in one exit path.
12333 2014-09-11 Pedro Alves <palves@redhat.com>
12336 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
12337 * gdb.base/attach.exp (test_command_line_attach_run): New
12339 (top level): Call it.
12341 2014-09-11 Pedro Alves <palves@redhat.com>
12343 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
12344 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
12345 (do_command_attach_tests): Use spawn_wait_for_attach.
12346 * gdb.base/solib-overlap.exp: Likewise.
12347 * gdb.multi/multi-attach.exp: Likewise.
12348 * gdb.python/py-prompt.exp: Likewise.
12349 * gdb.python/py-sync-interp.exp: Likewise.
12350 * gdb.server/ext-attach.exp: Likewise.
12352 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
12354 * gdb.fortran/array-element.exp: Remove unexpected "continue"
12355 command in testcase. Simplify testcase.
12357 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12359 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
12361 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12363 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
12365 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12367 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
12369 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12371 * gdb.dwarf2/dynarr-ptr.c: New file.
12372 * gdb.dwarf2/dynarr-ptr.exp: New file.
12374 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12376 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
12377 of 30 rather than hardcoding 120 for a slow test case. Take the
12378 `gdb,timeout' target setting into account for this calculation.
12379 Don't extend the timeout for the test cases that don't need it.
12381 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12383 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
12384 a factor of 2 for a slow test case. Take the `gdb,timeout'
12385 target setting into account for this calculation.
12386 * gdb.reverse/until-precsave.exp: Increase the timeout by
12387 a factor of 15 and 3 respectively rather than adding 120
12388 for a pair of slow test cases. Take the `gdb,timeout'
12389 target setting into account for this calculation.
12391 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12393 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
12394 timeout, don't pass one down to gdb_expect.
12395 (gdb_expect): Rework timeout selection.
12397 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12399 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
12400 exception on timeout.
12401 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
12402 (gdbserver_start_extended): Catch any `gdbserver_start' error
12404 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
12405 * lib/mi-support.exp (mi_gdb_target_load): Catch any
12406 `gdbserver_gdb_load' error exceptions.
12408 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12410 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
12411 120 on waiting for the TCP socket to open.
12413 2014-09-09 Doug Evans <xdje42@gmail.com>
12415 * gdb.base/default.exp (show_conv_list): Add _caller_is,
12416 _caller_matches, _any_caller_is, _any_caller_matches.
12418 2014-09-09 Doug Evans <xdje42@gmail.com>
12420 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
12422 2014-09-09 Yao Qi <yao@codesourcery.com>
12424 * gdb.mi/mi-var-display.exp: Set print symbol off.
12426 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
12429 * gdb.base/commands.exp: Add tests to verify user-defined
12430 commands with empty bodies.
12431 * gdb.python/py-cmd.exp: Test that we don't show user-defined
12432 python commands in `show user command`.
12433 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
12434 scheme commands in `show user command`.
12436 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12439 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
12440 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
12441 * gdb.python/py-framefilter-invalidarg.exp: New file.
12442 * gdb.python/py-framefilter-invalidarg.py: New file.
12444 2014-09-06 Doug Evans <xdje42@gmail.com>
12447 * gdb.python/py-caller-is.c: New file.
12448 * gdb.python/py-caller-is.exp: New file.
12450 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
12453 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
12454 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
12456 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
12459 * gdb.fortran/print-formatted.exp: New file.
12460 * gdb.fortran/print-formatted.f90: Likewise.
12462 2014-09-03 Sasha Smundak <asmundak@google.com>
12464 * gdb.python/py-frame.exp: Test Frame.read_register.
12466 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
12469 * gdb.python/py-completion.exp: New file.
12470 * gdb.python/py-completion.py: Likewise.
12472 2014-08-28 Doug Evans <dje@google.com>
12474 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
12475 eax,etc. are live with values set by gdb and thus the compiler can't
12477 * gdb.arch/i386-pseudo.c (main): Ditto.
12479 2014-08-27 Doug Evans <dje@google.com>
12481 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
12483 2014-08-25 Doug Evans <dje@google.com>
12485 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
12488 2014-08-25 Doug Evans <dje@google.com>
12490 * gdb.threads/thread-execl.exp: #include <stdio.h>.
12492 2014-08-24 Yao Qi <yao@codesourcery.com>
12494 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
12496 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
12498 2014-08-22 Doug Evans <dje@google.com>
12501 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
12502 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
12503 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
12505 2014-08-22 Yao Qi <yao@codesourcery.com>
12507 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
12508 * gdb.python/py-finish-breakpoint2.exp: Likewise.
12509 * gdb.python/python.exp: Likewise. Use .py file on the host
12510 instead of the build.
12512 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12514 * gdb.threads/gcore-stale-thread.c: New file.
12515 * gdb.threads/gcore-stale-thread.exp: New file.
12517 2014-08-21 Pedro Alves <palves@redhat.com>
12519 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
12520 * gdb.base/gcore-relro-pie.exp: Likewise.
12521 * gdb.base/gcore-relro.exp: Likewise.
12522 * gdb.base/gcore.exp: Likewise.
12523 * gdb.base/print-symbol-loading.exp: Likewise.
12524 * gdb.threads/gcore-thread.exp: Likewise.
12525 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
12527 2014-08-20 Pedro Alves <palves@redhat.com>
12528 Jan Kratochvil <jan.kratochvil@redhat.com>
12530 * Makefile.in (EXTRA_RULES, CC): New variables, get from
12532 (EXPECT): Handle READ1 being set.
12533 (all): Depend on EXTRA_RULES.
12534 (check-read1, expect-read1, read1.so, read1): New rules.
12535 * README (Testsuite Parameters): Document the READ1 make variable.
12536 (Race detection): New section.
12537 * configure: Regenerate.
12538 * configure.ac: If build==host==target, and running under a
12539 GNU/glibc system, add read1 to the extra Makefile rules.
12540 (EXTRA_RULES): AC_SUBST it.
12541 * lib/read1.c: New file.
12543 2014-08-20 Joel Brobecker <brobecker@adacore.com>
12545 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
12546 the handling of variables declared as a typedef to an array
12547 which a DW_AT_data_location attribute.
12549 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
12550 Pedro Alves <palves@redhat.com>
12554 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
12557 2014-08-19 Pedro Alves <palves@redhat.com>
12559 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
12561 2014-08-19 Yao Qi <yao@codesourcery.com>
12563 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
12566 2014-08-18 David Blaikie <dblaikie@gmail.com>
12568 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
12570 2014-08-18 Joel Brobecker <brobecker@adacore.com>
12572 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
12573 attribute in array range.
12575 2014-08-18 Joel Brobecker <brobecker@adacore.com>
12577 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
12579 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
12582 * gdb.cp/pr17132.cc: New file.
12583 * gdb.cp/pr17132.exp: New file.
12585 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
12587 * gdb.python/py-xmethods.py (A_getarrayind)
12588 (E_method_char_worker.__call__, E_method_int_worker.__call__):
12589 Use 'print' with function call syntax.
12590 (E_method_matcher.match): Fix tab vs space indentation mixup.
12592 2014-08-15 Yao Qi <yao@codesourcery.com>
12594 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
12597 2014-08-15 Yao Qi <yao@codesourcery.com>
12599 * gdb.cp/casts.exp: Set print symbol off.
12600 * gdb.cp/class2.exp: Likewise.
12601 * gdb.cp/overload.exp: Likewise.
12602 * gdb.cp/templates.exp: Likewise.
12604 2014-08-11 Doug Evans <dje@google.com>
12606 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
12607 (test_load_shlib): Update.
12609 2014-08-09 Yao Qi <yao@codesourcery.com>
12611 * gdb.base/display.exp: Invoke is_address_zero_readable.
12612 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
12613 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12614 * gdb.base/hbreak-unmapped.exp: Return if
12615 is_address_zero_readable returns true.
12616 * gdb.base/signest.exp: Likewise.
12617 * gdb.base/signull.exp: Likewise.
12618 * gdb.base/sigbpt.exp: Likewise.
12619 * gdb.guile/scm-disasm.exp: Do the test if
12620 is_address_zero_readable returns false.
12621 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
12622 * gdb.python/py-arch.exp: Likewise.
12623 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
12624 * lib/gdb.exp (is_address_zero_readable): New proc.
12626 2014-08-09 Yao Qi <yao@codesourcery.com>
12629 * gdb.mi/mi-var-display.exp: Make test messages unique.
12631 2014-08-04 Tom Tromey <tromey@redhat.com>
12633 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
12636 2014-08-04 Tom Tromey <tromey@redhat.com>
12638 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
12641 2014-08-01 Joel Brobecker <brobecker@adacore.com>
12643 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
12644 inner_vla_struct_object_size.
12645 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
12648 2014-07-30 Pedro Alves <palves@redhat.com>
12650 * gdb.threads/signal-command-handle-nopass.exp (test): Add
12653 2014-07-29 Yao Qi <yao@codesourcery.com>
12656 * gdb.base/until-nodebug.exp: New.
12658 2014-07-28 Doug Evans <xdje42@gmail.com>
12661 * gdb.guile/scm-parameter.exp: Add tests for trying to create
12662 previously existing parameter, and previously ambiguously spelled
12665 2014-07-28 Will Newton <will.newton@linaro.org>
12667 * gdb.base/varargs.exp: Remove KFAILs for ARM.
12669 2014-07-26 Ludovic Courtès <ludo@gnu.org>
12670 Doug Evans <xdje42@gmail.com>
12673 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
12675 2014-07-25 Pedro Alves <palves@redhat.com>
12677 * gdb.threads/signal-command-handle-nopass.c: New file.
12678 * gdb.threads/signal-command-handle-nopass.exp: New file.
12679 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
12680 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
12681 * gdb.threads/signal-delivered-right-thread.c: New file.
12682 * gdb.threads/signal-delivered-right-thread.exp: New file.
12684 2014-07-25 Pedro Alves <palves@redhat.com>
12686 * gdb.base/double-prompt-target-event-error.exp
12687 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
12689 (cancel_pagination_in_target_event): Rework double prompt
12691 * gdb.base/paginate-after-ctrl-c-running.exp
12692 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
12694 * gdb.base/paginate-bg-execution.exp
12695 (test_bg_execution_pagination_return)
12696 (test_bg_execution_pagination_cancel): Remove '-notransfer
12698 * gdb.base/paginate-execution-startup.exp
12699 (test_fg_execution_pagination_return)
12700 (test_fg_execution_pagination_cancel): Remove '-notransfer
12702 * gdb.base/paginate-inferior-exit.exp
12703 (test_paginate_inferior_exited): Remove '-notransfer <return>'
12705 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
12706 * lib/gdb.exp (pagination_prompt): Run text through
12708 (gdb_test_multiple): Match $pagination_prompt instead of
12710 (string_to_regexp): Move to lib/gdb-utils.exp.
12712 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12714 * gdb.arch/amd64-entry-value-paramref.S: New file.
12715 * gdb.arch/amd64-entry-value-paramref.cc: New file.
12716 * gdb.arch/amd64-entry-value-paramref.exp: New file.
12717 * gdb.arch/amd64-optimout-repeat.S: New file.
12718 * gdb.arch/amd64-optimout-repeat.c: New file.
12719 * gdb.arch/amd64-optimout-repeat.exp: New file.
12721 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
12724 * gdb.base/statistics.exp: New file.
12726 2014-07-17 Doug Evans <dje@google.com>
12729 * gdb.base/maint.exp: Update testing of per-command stats.
12731 2014-07-16 Pedro Alves <palves@redhat.com>
12733 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
12734 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
12735 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
12736 (tfile_write_buf): New functions.
12737 (add_memory_block): Rewrite using the above.
12738 (adjust_function_address): New function.
12739 (FUNCTION_ADDRESS): New macro.
12740 (write_basic_trace_file): Remove short_x local, and use
12741 tfile_write_16. Change type of func_addr local to unsigned long
12742 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
12743 here. Cast argument of add_memory_block to char pointer.
12744 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
12745 (main): Remove parameters.
12746 * gdb.trace/tfile.exp: Remove nowarnings.
12748 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
12750 * gdb.base/debug-expr.exp: Test string evaluation with
12751 "debug expression" on.
12753 2014-07-15 Pedro Alves <palves@redhat.com>
12755 * gdb.base/reread.exp: Use clean_restart.
12757 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
12759 * gdb.arch/avr-flash-qualifer.c: New.
12760 * gdb.arch/avr-flash-qualifer.exp: New.
12762 2014-07-14 Pedro Alves <palves@redhat.com>
12764 * gdb.base/paginate-after-ctrl-c-running.c: New file.
12765 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
12767 2014-07-14 Pedro Alves <palves@redhat.com>
12769 * gdb.base/double-prompt-target-event-error.c: New file.
12770 * gdb.base/double-prompt-target-event-error.exp: New file.
12772 2014-07-14 Pedro Alves <palves@redhat.com>
12775 * gdb.base/paginate-inferior-exit.c: New file.
12776 * gdb.base/paginate-inferior-exit.exp: New file.
12778 2014-07-14 Pedro Alves <palves@redhat.com>
12781 * gdb.base/paginate-bg-execution.c: New file.
12782 * gdb.base/paginate-bg-execution.exp: New file.
12784 2014-07-14 Pedro Alves <palves@redhat.com>
12787 * gdb.base/paginate-execution-startup.c: New file.
12788 * gdb.base/paginate-execution-startup.exp: New file.
12789 * lib/gdb.exp (pagination_prompt): New global.
12790 (default_gdb_spawn): New procedure, factored out from
12792 (default_gdb_start): Adjust to call default_gdb_spawn.
12793 (gdb_spawn): New procedure.
12795 2014-07-14 Pedro Alves <palves@redhat.com>
12797 * lib/gdb.exp (gdb_assert): New procedure.
12798 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
12800 2014-07-14 Pedro Alves <palves@redhat.com>
12802 * gdb.base/execution-termios.c: New file.
12803 * gdb.base/execution-termios.exp: New file.
12805 2014-07-14 Tom Tromey <tromey@redhat.com>
12807 * gdb.cp/vla-cxx.cc: New file.
12808 * gdb.cp/vla-cxx.exp: New file.
12810 2014-07-14 Tom Tromey <tromey@redhat.com>
12812 * gdb.reverse/rerun-prec.c: New file.
12813 * gdb.reverse/rerun-prec.exp: New file.
12815 2014-07-12 Maciej W. Rozycki <macro@mips.com>
12816 Maciej W. Rozycki <macro@codesourcery.com>
12818 * lib/gdb-utils.exp: New file.
12819 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
12820 inline `gdb_init_command' processing.
12821 (gdb_start_cmd): Likewise.
12822 * lib/mi-support.exp (mi_run_cmd): Likewise.
12823 * README: Document `gdb_init_command' and `gdb_init_commands'.
12825 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12827 Fix false FAIL running under a very long directory name.
12828 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
12829 and "set print elements 10000". Twice.
12831 2014-07-11 Yao Qi <yao@codesourcery.com>
12833 * gdb.base/exprs.exp: "set print symbol off".
12835 2014-07-11 Pedro Alves <palves@redhat.com>
12837 * gdb.threads/kill.c: New file.
12838 * gdb.threads/kill.exp: New file.
12840 2014-07-10 Yao Qi <yao@codesourcery.com>
12842 * gdb.trace/tfile.c (write_basic_trace_file)
12843 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
12844 address written to trace file.
12846 2014-07-09 Pedro Alves <palves@redhat.com>
12848 * gdb.base/attach-wait-input.exp: New file.
12849 * gdb.base/attach-wait-input.c: New file.
12851 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
12853 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
12854 setting up test structures.
12855 (main): Call new test function.
12856 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
12857 test function, continue into test function and walk test
12860 2014-07-02 Yao Qi <yao@codesourcery.com>
12862 * gdb.trace/entry-values.c: Define labels 'foo_start' and
12863 'bar_start' at the beginning of functions 'foo' and 'bar'
12865 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
12866 instead of 'foo' and 'bar'.
12868 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
12870 * gdb.btrace/segv.exp: New.
12871 * gdb.btrace/segv.c: New.
12873 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
12875 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
12878 2014-06-30 Mark Wielaard <mjw@redhat.com>
12880 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
12881 vulture, vilify, villar): New volatile array constants.
12882 (vindictive, vegetation): New const volatile array constants.
12883 * gdb.base/volatile.exp: Test volatile and const volatile array
12886 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
12888 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
12889 target lacks support for awatch, rwatch, or hbreak.
12891 2014-06-27 Yao Qi <yao@codesourcery.com>
12893 * gdb.multi/dummy-frame-restore.exp: New.
12894 * gdb.multi/dummy-frame-restore.c: New.
12896 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
12898 * gdb.btrace/gcore.exp: New.
12900 2014-06-23 Pedro Alves <palves@redhat.com>
12902 * gdb.base/watchpoint-reuse-slot.c: New file.
12903 * gdb.base/watchpoint-reuse-slot.exp: New file.
12905 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
12907 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
12908 progspace's filename in 'info', 'enable' and 'disable' command
12911 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12913 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
12914 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
12915 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
12917 2014-06-20 Gary Benson <gbenson@redhat.com>
12919 * gdb.arch/i386-avx.exp: Fix include file location.
12920 * gdb.arch/i386-sse.exp: Likewise.
12922 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
12924 * gdb.dlang/expression.exp: New file.
12926 2014-06-19 Pedro Alves <palves@redhat.com>
12928 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
12930 (top level): ... here. Iterate running tests under different
12931 scheduler-locking settings.
12933 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
12935 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
12936 to DW_FORM_addr and use non-zero addresses.
12938 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
12941 * gdb.python/py-xmethods.cc: Add global function call counters and
12942 increment them in their respective functions. Remove "cout"
12944 * gdb.python/py-xmethods.exp: Make tests check the global function
12945 call counters instead of depending on inferior IO.
12947 2014-06-18 Don Breazeal <donb@codesourcery.com>
12949 * gdb.base/foll-fork.exp (default_fork_parent_follow):
12951 (explicit_fork_parent_follow): Deleted procedure.
12952 (explicit_fork_child_follow): Deleted procedure.
12953 (test_follow_fork): New procedure.
12954 (do_fork_tests): Replace calls to deleted procedures with
12955 calls to test_follow_fork and reset GDB for subsequent
12958 2014-06-17 Yao Qi <yao@codesourcery.com>
12960 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
12963 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
12965 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
12966 Initialize ptr and S explicitly.
12967 (skip_type_update_when_not_use_rtti_test): Likewise.
12969 2014-06-16 Keith Seitz <keiths@redhat.com>
12972 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
12973 the inferior is started.
12975 2014-06-16 Pedro Alves <palves@redhat.com>
12977 * gdb.base/break-main-file-remove-fail.c: New file.
12978 * gdb.base/break-main-file-remove-fail.exp: New file.
12979 * gdb.base/break-unload-file.exp: Use build_executable instead of
12980 prepare_for_testing.
12981 (test_break): New parameter "initial_load". Handle it.
12982 (top level): Add initial_load cmdline/file axis.
12984 2014-06-12 Tom Tromey <tromey@redhat.com>
12986 * gdb.base/completion.exp: Don't use directory name in test.
12988 2014-06-09 Gary Benson <gbenson@redhat.com>
12990 * gdb.base/sigall.c [Functions to send signals]: Reorder to
12991 separate the always-available ANSI-standard signals from the
12992 signals that require checking.
12994 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
12998 2014-06-07 Keith Seitz <keiths@redhat.com>
13002 * gdb.cp/var-tag.cc: New file.
13003 * gdb.cp/var-tag.exp: New file.
13004 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
13005 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
13006 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
13007 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
13009 2014-06-06 Doug Evans <xdje42@gmail.com>
13011 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
13013 2014-06-06 Pedro Alves <palves@redhat.com>
13015 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
13016 in target debug output instead of looking at RSP packets,
13017 disabling the test on any target that uses hardware stepping.
13020 2014-06-06 Pedro Alves <palves@redhat.com>
13022 * gdb.base/break-unload-file.exp: Fix typo.
13024 2014-06-06 Yao Qi <yao@codesourcery.com>
13026 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
13027 from "jit_function" to "^jit_function".
13029 2014-06-06 Yao Qi <yao@codesourcery.com>
13031 * gdb.base/async.c (foo): Add one statement.
13032 * gdb.base/async.exp: Get the next instruction address and
13033 match the output of "nexti" by instruction address. Match
13034 the hex address in the output of "finish".
13036 2014-06-06 Gary Benson <gbenson@redhat.com>
13038 * gdb.base/call-signals.c: Remove preprocessor conditionals
13039 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
13040 SIGSEGV and SIGTERM.
13041 * gdb.base/sigall.c: Likewise.
13042 * gdb.base/unwindonsignal.c: Likewise.
13043 * gdb.reverse/sigall-reverse.c: Likewise.
13045 2014-06-06 Yao Qi <yao@codesourcery.com>
13047 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
13048 readable, skip the test.
13050 2014-06-06 Yao Qi <yao@codesourcery.com>
13052 * gdb.threads/staticthreads.c (thread_function): Move the line
13053 setting breakpoint on forward.
13054 * gdb.threads/staticthreads.exp: Update comments.
13056 2014-06-05 Ludovic Courtès <ludo@gnu.org>
13058 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
13059 "history-append! type error".
13061 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
13063 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
13064 erroneous dprintf expected input.
13066 2014-06-04 Doug Evans <xdje42@gmail.com>
13068 * gdb.guile/scm-generics.exp: Delete.
13070 2014-06-04 Doug Evans <xdje42@gmail.com>
13072 * gdb.guile/scm-breakpoint.exp: Update.
13073 Add tests for breakpoint registration.
13075 2014-06-04 Tom Tromey <tromey@redhat.com>
13077 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
13079 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
13080 inner_vla_struct, vla_union types. Initialize objects of those
13081 types and compute their sizes.
13083 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
13084 Hui Zhu <hui@codesourcery.com>
13086 * gdb.base/fileio.exp: Add test for shell not available as well as
13088 * gdb.base/fileio.c (test_system): Check for shell twice.
13090 2014-06-04 Yao Qi <yao@codesourcery.com>
13092 * gdb.base/auto-connect-native-target.exp: Remove redundant
13093 space from the regexp pattern.
13095 2014-06-04 Yao Qi <yao@codesourcery.com>
13097 * gdb.base/default.exp: Replace "child" with "native" in
13100 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
13102 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
13103 * gdb.python/py-xmethods.exp: New tests to test xmethods.
13104 * gdb.python/py-xmethods.py: Python script supporting the
13105 new testcase and tests.
13107 2014-06-03 Joel Brobecker <brobecker@adacore.com>
13108 Pedro Alves <palves@redhat.com>
13110 PR breakpoints/17000
13111 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
13112 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
13114 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
13116 * gdb.base/subst.exp: Add tests to verify partial path matching
13119 2014-06-03 Pedro Alves <palves@redhat.com>
13121 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
13122 target that doesn't use software single-stepping.
13124 2014-06-03 Pedro Alves <palves@redhat.com>
13126 PR breakpoints/17000
13127 * gdb.base/sss-bp-on-user-bp-2.c: New file.
13128 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
13130 2014-06-02 Doug Evans <xdje42@gmail.com>
13132 * gdb.guile/scm-parameter.exp: New file.
13134 2014-06-02 Doug Evans <xdje42@gmail.com>
13136 * gdb.guile/scm-cmd.c: New file.
13137 * gdb.guile/scm-cmd.exp: New file.
13139 2014-06-02 Doug Evans <xdje42@gmail.com>
13141 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
13142 pretty-printer lookup.
13143 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
13144 (make-pp_s-printer): Call it.
13145 (make-pretty-printer-from-dict): New function.
13146 (lookup-pretty-printer-maker-from-dict): New function.
13147 (*pretty-printer*): Simplify.
13148 (make-objfile-pp_s-printer): New function.
13149 (install-objfile-pretty-printers!): New function.
13150 (make-progspace-pp_s-printer): New function.
13151 (install-progspace-pretty-printers!): New function.
13152 * gdb.guile/scm-progspace.c: New file.
13153 * gdb.guile/scm-progspace.exp: New file.
13155 2014-06-02 Pedro Alves <palves@redhat.com>
13157 * gdb.base/dprintf-bp-same-addr.c: New file.
13158 * gdb.base/dprintf-bp-same-addr.exp: New file.
13160 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13162 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
13163 * gdb.arch/powerpc-power.s: Likewise.
13165 2014-06-02 Joel Brobecker <brobecker@adacore.com>
13167 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
13169 2014-06-01 Yao Qi <yao@codesourcery.com>
13171 * gdb.base/watchpoint.exp (test_watch_location): Check null
13172 pointer can be dereferenced. If not, do the test, otherwise
13175 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
13177 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
13179 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
13181 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
13183 * gdb.arch/amd64-invalid-stack-middle.S: New file.
13184 * gdb.arch/amd64-invalid-stack-middle.c: New file.
13185 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
13186 * gdb.arch/amd64-invalid-stack-top.c: New file.
13187 * gdb.arch/amd64-invalid-stack-top.exp: New file.
13189 2014-05-30 Pedro Alves <palves@redhat.com>
13191 PR breakpoints/17000
13192 * gdb.base/sss-bp-on-user-bp.c: New file.
13193 * gdb.base/sss-bp-on-user-bp.exp: New file.
13195 2014-05-30 David Blaikie <dblaikie@gmail.com>
13197 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
13198 gnu_inline semantics via attribute.
13199 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
13200 source explicitly specifies the required semantics.
13202 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
13204 * gdb.reverse/sigall-reverse.exp: Fix a typo.
13206 2014-05-29 Pedro Alves <palves@redhat.com>
13207 Tom Tromey <tromey@redhat.com>
13209 * gdb.base/async-shell.exp: Don't enable target-async.
13210 * gdb.base/async.exp
13211 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
13213 (top level): Don't test with "target-async".
13214 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
13215 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
13216 * gdb.base/inferior-died.exp: Don't enable target-async.
13217 * gdb.base/interrupt-noterm.exp: Likewise.
13218 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
13219 * gdb.mi/mi-nonstop-exit.exp: Likewise.
13220 * gdb.mi/mi-nonstop.exp: Likewise.
13221 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
13222 * gdb.mi/mi-nsintrall.exp: Likewise.
13223 * gdb.mi/mi-nsmoribund.exp: Likewise.
13224 * gdb.mi/mi-nsthrexec.exp: Likewise.
13225 * gdb.mi/mi-watch-nonstop.exp: Likewise.
13226 * gdb.multi/watchpoint-multi.exp: Adjust comment.
13227 * gdb.python/py-evsignal.exp: Don't enable target-async.
13228 * gdb.python/py-evthreads.exp: Likewise.
13229 * gdb.python/py-prompt.exp: Likewise.
13230 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
13231 * gdb.server/solib-list.exp: Don't enable target-async.
13232 * gdb.threads/thread-specific-bp.exp: Likewise.
13233 * lib/mi-support.exp: Adjust to use mi-async.
13235 2014-05-29 Pedro Alves <palves@redhat.com>
13238 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
13239 reason, even in sync mode.
13241 2014-05-29 Pedro Alves <palves@redhat.com>
13242 Hui Zhu <hui@codesourcery.com>
13245 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
13246 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
13247 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
13248 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
13250 2014-05-28 Joel Brobecker <brobecker@adacore.com>
13252 * config/monitor.exp (gdb_target_monitor): Replace use of
13253 "set remotebaud" by "set serial baud".
13255 2014-05-26 Andy Wingo <wingo@igalia.com>
13257 * gdb.guile/scm-breakpoint.exp:
13258 * gdb.guile/scm-gsmob.exp: Update to use plain old object
13259 properties instead of gdb-object-properties.
13261 2014-05-26 Yao Qi <yao@codesourcery.com>
13263 * gdb.server/no-thread-db.exp: Specify source file name
13264 explicitly when setting a breakpoint.
13266 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13268 * gdb.btrace/vdso.c: New.
13269 * gdb.btrace/vdso.exp: New.
13271 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13273 * gdb.base/gcore.exp (capture_command_output): Move ...
13274 * lib/gdb.exp (capture_command_output): ... here.
13276 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13278 * gdb.btrace/data.exp: Test memory access during btrace replay.
13280 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
13282 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
13284 2014-05-21 Pedro Alves <palves@redhat.com>
13287 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
13288 (top level): Test that output related to execution commands is
13289 sent to the console with CLI commands, but not with MI commands.
13290 Test that breakpoint events are always mirrored to the console.
13291 Also expect the new source line to be output after a "next" in
13292 async mode too. Make it a pass/fail test.
13293 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
13295 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
13297 2014-05-21 Pedro Alves <palves@redhat.com>
13299 * gdb.base/list.exp (build_pattern, test_list): New procedures.
13300 Use them to test variations of "list" after reaching a breakpoint.
13301 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
13302 Test "list" with listsize 10 after reaching a breakpoint.
13303 * gdb.python/python.exp (decode_line current location line
13304 number): Adjust expected line number.
13306 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
13308 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
13309 behavior for $args, pass it directly to "run".
13311 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
13313 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
13316 2014-05-21 Pedro Alves <palves@redhat.com>
13318 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
13319 auto-connect-native-target off".
13320 * gdb.base/auto-connect-native-target.c: New file.
13321 * gdb.base/auto-connect-native-target.exp: New file.
13323 2014-05-21 Pedro Alves <palves@redhat.com>
13325 * gdb.base/default.exp: Test "target native" instead of "target
13328 2014-05-21 Mark Wielaard <mjw@redhat.com>
13330 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13332 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13334 Fix TLS access for -static -pthread.
13335 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
13336 <HAVE_TLS> (thread_function, main): Initialize it.
13337 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
13339 <$have_tls != "">: Check TLSVAR.
13341 2014-05-21 Pedro Alves <palves@redhat.com>
13343 * gdb.base/dcache-line-read-error.c: New.
13344 * gdb.base/dcache-line-read-error.exp: New.
13346 2014-05-20 Pedro Alves <palves@redhat.com>
13348 * gdb.base/compare-sections.c: New file.
13349 * gdb.base/compare-sections.exp: New file.
13351 2014-05-20 Pedro Alves <palves@redhat.com>
13353 * gdb.base/break-idempotent.c: New file.
13354 * gdb.base/break-idempotent.exp: New file.
13356 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
13358 * gdb.btrace/nohist.exp: New.
13360 2014-05-20 Yao Qi <yao@codesourcery.com>
13362 * lib/gdb.exp (gdb_init): Set timeout if test file is under
13363 gdb.reverse directory and gdb_reverse_timeout exists in board
13365 * README: Document gdb_reverse_timeout.
13367 2014-05-20 Yao Qi <yao@codesourcery.com>
13369 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
13370 'test_file_name'. Treat args as a string instead of a list.
13371 (gdb_init): Rename argument 'args' by 'test_file_name'.
13373 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13375 * gdb.arch/powerpc-power.exp: New file.
13376 * gdb.arch/powerpc-power.s: New file.
13378 2014-05-16 Doug Evans <dje@google.com>
13380 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
13381 * gdb.base/completion.exp: Check that all expected files exist
13382 before doing file completion.
13384 2014-05-16 Doug Evans <dje@google.com>
13386 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
13388 (do_syscall_tests_without_xml): Update.
13390 2014-05-16 Pedro Alves <palves@redhat.com>
13392 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
13393 instead of "unknown output after running".
13395 2014-05-16 Yao Qi <yao@codesourcery.com>
13397 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
13398 file1.txt from host at the end.
13399 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
13401 2014-05-15 Doug Evans <dje@google.com>
13403 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
13404 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
13405 loading file. Add test for TU lookup.
13407 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
13409 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
13410 calling "-exec-arguments" or "set args" before running the
13413 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
13415 * lib/mi-support.exp (mi_expect_stop): Expect message for
13416 inferiors that exit with non-zero exit code.
13418 2014-05-14 Yao Qi <yao@codesourcery.com>
13420 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
13421 match absolute path on remote host.
13422 (test_file_list_exec_source_files): Remove "/" from the
13425 2014-05-14 Yao Qi <yao@codesourcery.com>
13427 * boards/local-remote-host-notty.exp (${board}_file): New
13430 2014-05-07 Kyle McMartin <kyle@redhat.com>
13432 Pushed by Joel Brobecker <brobecker@adacore.com>.
13433 * gdb.arch/aarch64-atomic-inst.c: New file.
13434 * gdb.arch/aarch64-atomic-inst.exp: New file.
13436 2014-05-07 Yao Qi <yao@codesourcery.com>
13438 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
13439 in current context" too.
13441 2014-05-05 Keith Seitz <keiths@redhat.com>
13443 * gdb.linespec/ls-dollar.exp: Add test for linespec
13444 file:convenience_variable.
13446 2014-05-05 Yao Qi <yao@codesourcery.com>
13448 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
13449 traceframes into tfile and ctf trace files. Read data from
13450 trace file and test collected data.
13451 (gdb_collect_locals_test): Likewise.
13452 (gdb_unavailable_registers_test): Likewise.
13453 (gdb_unavailable_floats): Likewise.
13454 (gdb_collect_globals_test): Likewise.
13455 (top-level): Append "ctf" to trace_file_targets if GDB
13458 2014-05-05 Yao Qi <yao@codesourcery.com>
13460 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
13462 (gdb_collect_args_test_1): ... it. New proc.
13463 (gdb_collect_locals_test): Move some code to ...
13464 (gdb_collect_locals_test_1): ... it. New proc.
13465 (gdb_unavailable_registers_test): Move some code to ...
13466 (gdb_unavailable_registers_test_1): ... it. New proc.
13467 (gdb_unavailable_floats): Move some code to ...
13468 (gdb_unavailable_floats_1): ... it. New proc.
13470 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
13472 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
13473 probes to test for bitness recognition.
13474 * gdb.arch/amd64-stap-optional-prefix.exp
13475 (test_probe_value_without_reg): New procedure.
13476 Add code to test for different kinds of bitness.
13478 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
13480 PR breakpoints/16889
13481 * gdb.arch/amd64-stap-optional-prefix.S: New file.
13482 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13484 2014-05-01 Pedro Alves <palves@redhat.com>
13486 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
13487 gdb_file_cmd if no file is specified.
13488 * boards/native-extended-gdbserver.exp (gdb_load): Use the
13489 last_loaded_file to set the remote exec-file.
13491 2014-05-01 Pedro Alves <palves@redhat.com>
13493 * boards/local-remote-host.exp: New file.
13495 2014-05-01 Pedro Alves <palves@redhat.com>
13497 * boards/local-remote-host.exp: Rename to ...
13498 * boards/local-remote-host-notty.exp: ... this.
13500 2014-04-28 Joel Brobecker <brobecker@adacore.com>
13502 * gdb.ada/dyn_arrayidx: New testcase.
13504 2014-04-26 Yao Qi <yao@codesourcery.com>
13506 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
13507 and compute the length of function main. Save it in
13509 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
13510 (top-level): Use gdb_compile to compile objects into
13511 executable and restart GDB. Remove invocation to
13512 prepare_for_testing.
13514 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
13515 Pedro Alves <palves@redhat.com>
13518 * gdb.multi/multi-attach.c: New file.
13519 * gdb.multi/multi-attach.exp: New file.
13521 2014-04-25 Pedro Alves <palves@redhat.com>
13523 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
13525 (top level): Test that "set remote conditional-breakpoints-packet
13526 off" works as intended.
13527 * gdb.base/dprintf.exp: Test that "set remote
13528 breakpoint-commands-packet off" works as intended.
13529 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
13531 (top level): Call it.
13532 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
13533 remote fast-tracepoints-packet off" works as intended.
13534 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
13535 * lib/gdb.exp (gdb_is_target_remote): ... here.
13537 2014-04-24 David Blaikie <dblaikie@gmail.com>
13539 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
13540 ensure clang would not discard them.
13541 * gdb.base/gdbvars.c: Ditto.
13542 * gdb.base/memattr.c: Ditto.
13543 * gdb.base/whatis.c: Ditto.
13544 * gdb.python/py-prettyprint.c: Ditto.
13545 * gdb.trace/actions.c: Ditto.
13546 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
13547 ensure clang would not discard it.
13549 2014-04-24 David Blaikie <dblaikie@gmail.com>
13551 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
13552 clang to emit the full definition of type required by the test
13553 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
13555 2014-04-24 David Blaikie <dblaikie@gmail.com>
13557 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
13558 coax Clang into emitting the definition of the type.
13559 * gdb.cp/pr10728-x.h (y): Ditto.
13560 * gdb.cp/pr10728-y.cc (y): Ditto.
13562 2014-04-24 David Blaikie <dblaikie@gmail.com>
13564 * gdb.base/label.exp: XFAIL label related tests under Clang.
13565 * gdb.cp/cplabel.exp: Ditto.
13566 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
13567 under Clang those using labels.
13569 2014-04-25 Yao Qi <yao@codesourcery.com>
13571 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
13573 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
13574 partial_label and double_label.
13576 2014-04-24 David Blaikie <dblaikie@gmail.com>
13578 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
13580 2014-04-24 David Blaikie <dblaikie@gmail.com>
13582 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
13583 of the function to work across GCC and Clang.
13584 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
13585 pointer types (const void ** const V void **).
13587 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
13588 Walfred Tedeschi <walfred.tedeschi@intel.com>
13590 * Makefile.in (EXECUTABLES): Added i386-avx512.
13591 * gdb.arch/i386-avx512.c: New file.
13592 * gdb.arch/i386-avx512.exp: Likewise.
13594 2014-04-23 Keith Seitz <keiths@redhat.com>
13596 * lib/mi-support.exp (mi_list_breakpoints): Delete.
13597 (mi_make_breakpoint_table): New procedure.
13598 (mi_create_breakpoint): Use mi_make_breakpoint
13599 and return the result.
13600 (mi_make_breakpoint): New procedure.
13601 (mi_build_kv_pairs): New procedure.
13603 * gdb.mi/mi-break.exp: Remove unused globals,
13604 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
13605 All callers updated.
13606 * gdb.mi/mi-dprintf.exp: Use variable to track command
13608 Update all callers of mi_create_breakpoint and use
13609 mi_make_breakpoint_table.
13610 Remove any unused global variables.
13611 * gdb.mi/mi-nonstop.exp: Likewise.
13612 * gdb.mi/mi-nsintrall.exp: Likewise.
13613 * gdb.mi/mi-nsmoribund.exp: Likewise.
13614 * gdb.mi/mi-nsthrexec.exp: Likewise.
13615 * gdb.mi/mi-reverse.exp: Likewise.
13616 * gdb.mi/mi-simplerun.exp: Likewise.
13617 * gdb.mi/mi-stepn.exp: Likewise.
13618 * gdb.mi/mi-syn-frame.exp: Likewise.
13619 * gdb.mi/mi-until.exp: Likewise.
13620 * gdb.mi/mi-var-cp.exp: Likewise.
13621 * gdb.mi/mi-var-display.exp: Likewise.
13622 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
13623 * gdb.mi/mi2-var-child.exp: Likewise.
13624 * gdb.mi/mi-vla-c99.exp: Likewise.
13625 * lib/mi-support.exp: Likewise.
13627 From Ian Lance Taylor <iant@cygnus.com>:
13628 * lib/gdb.exp (parse_args): New procedure.
13630 2014-04-23 Pedro Alves <palves@redhat.com>
13632 * gdb.base/break-unload-file.c: New file.
13633 * gdb.base/break-unload-file.exp: New file.
13634 * gdb.base/sym-file-lib.c (baz): New function.
13635 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
13637 (load): Store the segment's mapped size.
13638 (unload): New function.
13639 (unload_shlib): New function.
13640 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
13641 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
13642 set a breakpoint at baz, and call it.
13643 * gdb.base/sym-file.exp: New tests for stale breakpoint
13646 2014-04-23 Pedro Alves <palves@redhat.com>
13648 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
13649 * gdb.base/hbreak-in-shr-unsupported.c: New file.
13650 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
13651 * gdb.base/hbreak-unmapped.c: New file.
13652 * gdb.base/hbreak-unmapped.exp: New file.
13653 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
13654 * lib/gdb.exp (gdb_is_target_remote): ... here.
13656 2014-04-22 Pedro Alves <palves@redhat.com>
13658 * gdb.base/consecutive-step-over.c: New file.
13659 * gdb.base/consecutive-step-over.exp: New file.
13661 2014-04-22 Pedro Alves <palves@redhat.com>
13663 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
13664 instead of send_gdb/gdb_expect.
13666 2014-04-22 Yao Qi <yao@codesourcery.com>
13668 * lib/trace-support.exp (generate_tracefile): New procedure.
13669 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
13671 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
13672 if generate_tracefile returns 1.
13674 2014-04-18 Tom Tromey <palves@redhat.com>
13675 Pedro alves <tromey@redhat.com>
13678 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
13679 with a backtrace limit.
13680 * gdb.python/py-frame-inline.exp: Test running to an inline
13681 function with a backtrace limit, and printing the newest frame.
13682 * gdb.python/py-frame-inline.c (main): Call f.
13684 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
13686 * gdb.java/jnpe.exp: Drop srcdir from untested path.
13688 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
13690 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
13691 Drop prefix from unsupported source file path.
13693 2014-04-17 Yao Qi <yao@codesourcery.com>
13695 * lib/gdb.exp (with_target_charset): New proc.
13696 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
13697 with_target_charset.
13698 (test_print_strings): Likewise.
13699 (test_repeat_bytes): Likewise.
13700 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
13703 2014-04-16 Keith Seitz <keiths@redhat.com>
13706 * gdb.dwarf2/corrupt.c: New file.
13707 * gdb.dwarf2/corrupt.exp: New file.
13709 2014-04-16 Keith Seitz <keiths@redhat.com>
13712 * gdb.cp/namelessclass.cc: New file.
13713 * gdb.cp/namelessclass.exp: New file.
13714 * gdb.cp/namelessclass.S: New file.
13716 2014-04-16 Doug Evans <dje@google.com>
13718 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
13720 (gdbserver_default_get_comm_port): New function.
13721 (gdbserver_start): Check if board file provided
13722 "gdbserver,get_comm_port" and use it if so.
13723 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
13724 (gdb,socketport): Set to "stdio".
13725 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
13726 (stdio_gdbserver_template): Delete.
13727 (${board}_get_remote_address): Update.
13728 (${board}_build_remote_cmd): Delete.
13729 (${board}_get_comm_port): New function.
13730 (${board}_spawn): Update.
13731 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
13733 (${board}_get_remote_address): Update.
13734 (${board}_get_comm_port): New function.
13736 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
13738 * gdb.base/memattr.exp: Improve regexps to handle memory regions
13739 appearing in any order.
13741 2014-04-15 Doug Evans <dje@google.com>
13743 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
13744 uninitialized value of "description".
13746 2014-04-15 Keith Seitz <keiths@redhat.com>
13748 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
13749 Remove unused globals.
13750 (test_running_the_program): Likewise.
13751 (test_controlled_execution): Likewise.
13752 (test_controlling_breakpoints): Likewise.
13753 (test_program_termination): Likewise.
13755 2014-04-15 Keith Seitz <keiths@redhat.com>
13757 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
13759 (test_rbreak_creation_and_listing): Likewise.
13760 (test_ignore_count): Likewise.
13761 (test_error): Likewise.
13763 2014-04-15 Pedro Alves <palves@redhat.com>
13765 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
13766 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
13768 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
13769 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
13770 to sym-file-loader.c.
13771 (struct library): Forward declare.
13772 (load_shlib, lookup_function): Change prototypes.
13773 (find_shstrtab, find_strtab, find_shdr, find_symtab)
13774 (translate_offset): Remove declarations.
13775 (get_text_addr): New declaration.
13776 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
13777 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
13779 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
13780 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
13781 here from sym-file-loader.h.
13782 (struct library): New structure.
13783 (load_shlib, lookup_function): Change prototypes and adjust to
13784 work with a struct library.
13785 (find_shstrtab, find_strtab, find_shdr, find_symtab)
13786 (translate_offset): Make static.
13787 (get_text_addr): New function.
13788 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
13790 2014-04-15 Pedro Alves <palves@redhat.com>
13792 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
13794 2014-04-15 Pedro Alves <palves@redhat.com>
13796 * gdb.base/sym-file-loader.c: Include <limits.h>.
13797 (SELF_LINK): New define.
13798 (get_origin): New function.
13799 (load_shlib): Use it.
13800 * gdb.base/sym-file.exp: Don't early return if the target is
13801 remote. Use runto_main, and issue fail is that fails. Use
13803 (shlib_name): Delete.
13804 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
13806 2014-04-15 Pedro Alves <palves@redhat.com>
13808 * gdb.base/sym-file.exp: Remove regex characters from test
13809 message. Don't refer to breakpoint numbers in test messages.
13811 2014-04-14 Keith Seitz <keiths@redhat.com>
13814 * gdb.cp/var-tag.cc: New file.
13815 * gdb.cp/var-tag.exp: New file.
13816 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
13817 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
13818 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
13819 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
13821 2014-04-14 Tom Tromey <tromey@redhat.com>
13823 * gdb.cp/classes.exp (test_enums): Handle underlying type.
13824 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
13826 * gdb.cp/enum-class.exp: New file.
13827 * gdb.cp/enum-class.cc: New file.
13829 2014-04-14 Tom Tromey <tromey@redhat.com>
13831 * gdb.dwarf2/enum-type.exp: New file.
13833 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13835 * gdb.mi/mi-vla-c99.exp: New file.
13836 * gdb.mi/vla.c: New file.
13838 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13840 * gdb.base/vla-datatypes.c: New file.
13841 * gdb.base/vla-datatypes.exp: New file.
13843 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13845 * gdb.base/vla-ptr.c: New file.
13846 * gdb.base/vla-ptr.exp: New file.
13848 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13850 * gdb.dwarf2/count.exp: New file.
13852 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13854 * gdb.base/vla-sideeffect.c: New file.
13855 * gdb.base/vla-sideeffect.exp: New file.
13857 2014-04-14 David Blaikie <dblaikie@gmail.com>
13859 * gdb.mi/non-stop.c: Add return value for non-void function return
13861 * gdb.threads/staticthreads.c: Ditto.
13863 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
13864 Doug Evans <xdje42@gmail.com>
13866 * gdb.guile/scm-value.c: Improve test case.
13867 * gdb.guile/scm-value.exp: Add new test.
13869 2014-04-11 David Blaikie <dblaikie@gmail.com>
13871 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
13872 override Clang's default.
13874 2014-04-11 Joel Brobecker <brobecker@adacore.com>
13876 Revert the following changes (regressions):
13878 * gdb.base/vla-sideeffect.c: New file.
13879 * gdb.base/vla-sideeffect.exp: New file.
13881 * gdb.dwarf2/count.exp: New file.
13883 * gdb.base/vla-multi.c: New file.
13884 * gdb.base/vla-multi.exp: New file.
13886 * gdb.base/vla-ptr.c: New file.
13887 * gdb.base/vla-ptr.exp: New file.
13889 * gdb.base/vla-datatypes.c: New file.
13890 * gdb.base/vla-datatypes.exp: New file.
13892 * gdb.mi/mi-vla-c99.exp: New file.
13893 * gdb.mi/vla.c: New file.
13895 2014-04-11 Keith Seitz <keiths@redhat.com>
13898 * gdb.cp/cpsizeof.exp: New file.
13899 * gdb.cp/cpsizeof.cc: New file.
13901 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13903 * gdb.mi/mi-vla-c99.exp: New file.
13904 * gdb.mi/vla.c: New file.
13906 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13908 * gdb.base/vla-datatypes.c: New file.
13909 * gdb.base/vla-datatypes.exp: New file.
13911 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13913 * gdb.base/vla-ptr.c: New file.
13914 * gdb.base/vla-ptr.exp: New file.
13916 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13918 * gdb.base/vla-multi.c: New file.
13919 * gdb.base/vla-multi.exp: New file.
13921 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13923 * gdb.dwarf2/count.exp: New file.
13925 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13927 * gdb.base/vla-sideeffect.c: New file.
13928 * gdb.base/vla-sideeffect.exp: New file.
13930 2014-04-11 Yao Qi <yao@codesourcery.com>
13932 * gdb.base/completion.exp: Check file exists before running tests
13933 on file completion.
13935 2014-04-10 Pedro Alves <palves@redhat.com>
13937 * gdb.base/cond-eval-mode.c: New file.
13938 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
13939 prepare_for_testing to build the new file. Check result of
13941 (test_break, test_watch): New procedures.
13942 (top level): Use them.
13944 2014-04-08 Pierre Muller <muller@sourceware.org>
13946 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
13947 Ctrl-V use for mingw hosts.
13949 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
13951 * gdb.python/py-value.c: Improve test case.
13952 * gdb.python/py-value.exp: Add new test.
13954 2014-04-07 David Blaikie <dblaikie@gmail.com>
13956 * lib/compiler.c: Identify the clang compiler.
13957 * lib/compiler.cc: Ditto.
13959 2014-04-03 Yao Qi <yao@codesourcery.com>
13961 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
13963 2014-04-01 Anton Blanchard <anton@samba.org>
13965 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
13968 2014-04-01 Anton Blanchard <anton@samba.org>
13970 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
13971 prepare_for_testing.
13973 2014-04-01 Anton Blanchard <anton@samba.org>
13975 * gdb.arch/ppc64-atomic-inst.c: Remove.
13976 * gdb.arch/ppc64-atomic-inst.S: New file.
13977 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
13979 2014-03-31 Doug Evans <dje@google.com>
13981 * gdb.base/print-symbol-loading-lib.c: New file.
13982 * gdb.base/print-symbol-loading-main.c: New file.
13983 * gdb.base/print-symbol-loading.exp: New file.
13985 2014-03-31 Yao Qi <yao@codesourcery.com>
13987 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
13989 2014-03-28 Joel Brobecker <brobecker@adacore.com>
13991 * gdb.ada/mi_dyn_arr: New testcase.
13993 2014-03-27 Doug Evans <dje@google.com>
13995 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
13997 2014-03-27 Yao Qi <yao@codesourcery.com>
13999 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
14000 if target is nios2-*-*.
14002 2014-03-26 Yao Qi <yao@codesourcery.com>
14004 * lib/gdb.exp (readline_is_used): New proc.
14005 * gdb.base/completion.exp: Move tests on command complete up.
14006 Skip the rest of tests if readline is not used.
14007 * gdb.ada/complete.exp: Skp the test if readline is not
14009 * gdb.base/filesym.exp: Likewise.
14010 * gdb.base/macscp.exp: Likewise.
14011 * gdb.base/readline-ask.exp: Likewise.
14012 * gdb.base/readline.exp: Likewise.
14013 * gdb.python/py-cmd.exp: Likewise.
14014 * gdb.trace/tfile.exp: Likewise.
14016 2014-03-26 Yao Qi <yao@codesourcery.com>
14018 * gdb.base/macscp.exp: Fix code format issues.
14020 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
14022 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
14023 * gdb.asm/powerpc64le.inc: New file.
14025 2014-03-25 Pedro Alves <palves@redhat.com>
14026 Doug Evans <dje@google.com>
14028 * gdb.base/source-execution.c: New file.
14029 * gdb.base/source-execution.exp: New file.
14030 * gdb.base/source-execution.gdb: New file.
14032 2014-03-24 Doug Evans <dje@google.com>
14034 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
14037 2014-03-24 Hui Zhu <hui@codesourcery.com>
14038 Pedro Alves <palves@redhat.com>
14040 PR breakpoints/16101
14041 * gdb.base/dprintf.exp: Use unsupported rather than changing the
14042 test pass/fail messages. Detect missing support for dprintf when
14043 breakpoints are actually inserted.
14044 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
14045 breakpoints are actually inserted.
14046 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
14049 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14051 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
14053 2014-03-22 Doug Evans <xdje42@gmail.com>
14055 * gdb.python/python.exp (python not supported): Verify multi-line
14056 python command issues an error.
14057 * gdb.guile/guile.exp (guile not supported): Verify multi-line
14058 guile command issues an error.
14060 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
14062 * gdb.threads/thread-specific.exp: Handle the lack of usable
14063 $this_breakpoint and $this_thread.
14065 2014-03-21 Hui Zhu <hui@codesourcery.com>
14067 * gdb.base/attach.exp (do_command_attach_tests): New.
14069 2014-03-20 Tom Tromey <tromey@redhat.com>
14070 Pedro Alves <palves@redhat.com>
14073 * gdb.base/condbreak-call-false.c: New file.
14074 * gdb.base/condbreak-call-false.exp: New file.
14076 2014-03-20 Pedro Alves <palves@redhat.com>
14078 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
14080 (block_signals, unblock_signals): Delete.
14081 (child_function_2, main): Remove references to deleted variable
14084 2014-03-20 Pedro Alves <palves@redhat.com>
14086 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
14087 Use pthread_kill to signal thread 2.
14088 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14089 Adjust to make the test send itself a signal rather than using the
14090 host's "kill" command.
14092 2014-03-20 Pedro Alves <palves@redhat.com>
14094 * gdb.threads/multiple-step-overs.c: New file.
14095 * gdb.threads/multiple-step-overs.exp: New file.
14096 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14097 Adjust expected infrun debug output.
14099 2014-03-20 Pedro Alves <palves@redhat.com>
14101 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
14102 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
14104 2014-03-20 Pedro Alves <palves@redhat.com>
14106 PR breakpoints/7143
14107 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
14108 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
14109 of gdb_test_multiple.
14110 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
14111 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
14113 2014-03-20 Pedro Alves <palves@redhat.com>
14115 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
14116 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
14118 2014-03-19 Pedro Alves <palves@redhat.com>
14120 * gdb.base/async.exp: Remove early return.
14122 2014-03-19 Pedro Alves <palves@redhat.com>
14124 * gdb.base/async.exp (step& tests): Pass explicit test messages.
14126 2014-03-19 Pedro Alves <palves@redhat.com>
14128 * gdb.base/async.exp (test_background): Expect \r\n after
14129 "completed." in the fail pattern.
14131 2014-03-19 Pedro Alves <palves@redhat.com>
14133 * gdb.base/async.exp (test_background): New procedure.
14134 Use it for all background execution command tests.
14136 2014-03-19 Pedro Alves <palves@redhat.com>
14138 * gdb.base/async.exp: Use prepare_for_testing.
14140 2014-03-19 Pedro Alves <palves@redhat.com>
14142 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
14145 2014-03-19 Pedro Alves <palves@redhat.com>
14147 * gdb.base/async.c (main): Add "jump here" and "until here" line
14149 * gdb.base/async.exp (jump_here): New global.
14150 (jump& test): Use it.
14151 (until_here): New global.
14152 (until& test): Use it.
14154 2014-03-19 Pedro Alves <palves@redhat.com>
14156 * gdb.base/async.exp: Don't frob gdb_protocol.
14158 2014-03-18 Doug Evans <xdje42@gmail.com>
14160 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
14161 Fix spelling of exec-done-display.
14163 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
14166 * gdb.base/gdb-sigterm.c: New file.
14167 * gdb.base/gdb-sigterm.exp: New file.
14169 2014-03-18 Pedro Alves <palves@redhat.com>
14172 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
14173 * lib/mi-support.exp (mi_expect_stop): Add special handling for
14176 2014-03-17 Joel Brobecker <brobecker@adacore.com>
14178 * gdb.ada/pckd_arr_ren: New testcase.
14180 2014-03-13 Doug Evans <xdje42@gmail.com>
14183 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
14184 collect after discarding symbols.
14186 2014-03-13 Ludovic Courtès <ludo@gnu.org>
14187 Doug Evans <xdje42@gmail.com>
14189 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
14190 to history survives a gc.
14192 2014-03-13 Pedro Alves <palves@redhat.com>
14194 * gdb.base/default.exp: Don't test "target procfs".
14196 2014-03-13 Pedro Alves <palves@redhat.com>
14198 * gdb.base/default.exp: Update "target child" and "target procfs"
14199 tests to not expect "Unix".
14201 2014-03-12 Tom Tromey <tromey@redhat.com>
14203 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
14204 New procs. Add target-async tests.
14205 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
14206 Add target-async tests.
14208 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14210 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
14211 'func_start' and 'func_end' for the beginning and end of the
14212 function code, respectively.
14213 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
14214 'func_end' instead of 'func' and 'main'.
14216 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14218 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
14219 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
14220 generate the debug info assembler source.
14222 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14224 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
14225 * gdb.dwarf2/arr-subrange.exp: Likewise.
14226 * gdb.dwarf2/dwz.exp: Likewise.
14227 * gdb.dwarf2/method-ptr.exp: Likewise.
14228 * gdb.dwarf2/missing-sig-type.exp: Likewise.
14229 * gdb.dwarf2/subrange.exp: Likewise.
14230 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
14231 * gdb.dwarf2/implptrpiece.exp: Likewise.
14232 * gdb.dwarf2/nostaticblock.exp: Likewise.
14234 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14236 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
14237 directory to absolute path name arguments.
14239 2014-03-10 Joel Brobecker <brobecker@adacore.com>
14241 * gdb.ada/tagged_access: New testcase.
14243 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
14245 * gdb.btrace/data.exp: Update expected output.
14247 2014-03-06 Yao Qi <yao@codesourcery.com>
14249 * gdb.trace/pr16508.exp: New file.
14251 2014-03-05 Pedro Alves <palves@redhat.com>
14254 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
14256 (top level): Adjust to use it. Add tests that exercise breakpoint
14257 interaction with the code-cache.
14259 2014-02-26 Ludovic Courtès <ludo@gnu.org>
14261 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
14262 test for 'history-append!'.
14264 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14266 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
14267 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
14268 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
14269 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
14270 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
14271 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
14273 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14275 * testsuite/gdb.python/py-pp-re-notag.c: New file.
14276 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
14277 * testsuite/gdb.python/py-pp-re-notag.p: New file.
14279 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14281 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
14283 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14285 * gdb.dwarf2/arr-stride.c: New file.
14286 * gdb.dwarf2/arr-stride.exp: New file.
14288 2014-02-26 Pedro Alves <palves@redhat.com>
14290 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
14291 that won't ever trigger. Make sure that GDB reports the correct
14292 breakpoint that caused the stop.
14294 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14297 * gdb.base/auto-load-script: New file.
14298 * gdb.base/auto-load.c: New file.
14299 * gdb.base/auto-load.exp: New file.
14302 * gdb.base/auto-load.exp: Fix out-of-srctree run.
14304 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14306 Fix dw2-icycle.exp -fsanitize=address GDB crash.
14307 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
14309 2014-02-24 Doug Evans <dje@google.com>
14311 * lib/gdb.exp (run_on_host): Log error output if program fails.
14313 2014-02-21 Pedro Alves <palves@redhat.com>
14315 * gdb.threads/step-after-sr-lock.c: Rename to ...
14316 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
14317 * gdb.threads/step-after-sr-lock.exp: Rename to ...
14318 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14321 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
14324 * gdb.arch/amd64-stap-special-operands.exp: New file.
14325 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
14326 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
14327 * gdb.arch/amd64-stap-triplet.S: Likewise.
14328 * gdb.arch/amd64-stap-triplet.c: Likewise.
14330 2014-02-20 Joel Brobecker <brobecker@adacore.com>
14332 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
14333 in .section pseudo-op.
14335 2014-02-20 lin zuojian <manjian2006@gmail.com>
14336 Joel Brobecker <brobecker@adacore.com>
14337 Doug Evans <xdje42@gmail.com>
14340 * gdb.dwarf2/dw2-icycle.S: New file.
14341 * gdb.dwarf2/dw2-icycle.c: New file.
14342 * gdb.dwarf2/dw2-icycle.exp: New file.
14344 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
14346 * gdb.python/py-value-cc.cc: Improve test case to enable testing
14347 operations on gdb.Value objects.
14348 * gdb.python/py-value-cc.exp: Add new test to test operations on
14351 2014-02-18 Doug Evans <dje@google.com>
14353 * Makefile.in (TESTS): New variable.
14354 (expanded_tests, expanded_tests_or_none): New variables
14355 (check-single): Pass $(expanded_tests_or_none) to runtest.
14356 (check-parallel): Only run tests in $(TESTS) if non-empty.
14357 (check/no-matching-tests-found): New rule.
14358 * README: Document TESTS makefile variable.
14360 2014-02-18 Doug Evans <dje@google.com>
14362 * Makefile.in (check-parallel): rm -rf outputs temp.
14364 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14366 Fix "ERROR: no fileid for" in the testsuite.
14367 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
14369 2014-02-12 Doug Evans <dje@google.com>
14371 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
14372 (MISCELLANEOUS): New variable.
14373 (clean): rm -rf $(MISCELLANEOUS).
14374 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
14375 dwp live in the same directory as symlinks, with each symlink pointed
14376 to a differently named file in a different directory.
14378 2014-02-11 Doug Evans <dje@google.com>
14380 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
14381 of Tcl file commands.
14383 2014-02-10 Mark Kettenis <kettenis@gnu.org>
14385 * gdb.threads/step-after-sr-lock.exp: Avoid executing
14386 "kill -SIGUSR1 -1".
14388 2014-02-10 Joel Brobecker <brobecker@adacore.com>
14390 * gdb.ada/tick_length_array_enum_idx: New testcase.
14392 2014-02-10 Doug Evans <xdje42@gmail.com>
14394 * configure.ac (AC_OUTPUT): Add gdb.guile.
14395 * configure: Regenerate.
14396 * lib/gdb-guile.exp: New file.
14397 * lib/gdb.exp (get_target_charset): New function.
14398 * gdb.base/help.exp: Update expected output from "apropos apropos".
14399 * gdb.guile/Makefile.in: New file.
14400 * gdb.guile/guile.exp: New file.
14401 * gdb.guile/scm-arch.c: New file.
14402 * gdb.guile/scm-arch.exp: New file.
14403 * gdb.guile/scm-block.c: New file.
14404 * gdb.guile/scm-block.exp: New file.
14405 * gdb.guile/scm-breakpoint.c: New file.
14406 * gdb.guile/scm-breakpoint.exp: New file.
14407 * gdb.guile/scm-disasm.c: New file.
14408 * gdb.guile/scm-disasm.exp: New file.
14409 * gdb.guile/scm-equal.c: New file.
14410 * gdb.guile/scm-equal.exp: New file.
14411 * gdb.guile/scm-error.exp: New file.
14412 * gdb.guile/scm-error.scm: New file.
14413 * gdb.guile/scm-frame-args.c: New file.
14414 * gdb.guile/scm-frame-args.exp: New file.
14415 * gdb.guile/scm-frame-args.scm: New file.
14416 * gdb.guile/scm-frame-inline.c: New file.
14417 * gdb.guile/scm-frame-inline.exp: New file.
14418 * gdb.guile/scm-frame.c: New file.
14419 * gdb.guile/scm-frame.exp: New file.
14420 * gdb.guile/scm-generics.exp: New file.
14421 * gdb.guile/scm-gsmob.exp: New file.
14422 * gdb.guile/scm-iterator.c: New file.
14423 * gdb.guile/scm-iterator.exp: New file.
14424 * gdb.guile/scm-math.c: New file.
14425 * gdb.guile/scm-math.exp: New file.
14426 * gdb.guile/scm-objfile-script-gdb.in: New file.
14427 * gdb.guile/scm-objfile-script.c: New file.
14428 * gdb.guile/scm-objfile-script.exp: New file.
14429 * gdb.guile/scm-objfile.c: New file.
14430 * gdb.guile/scm-objfile.exp: New file.
14431 * gdb.guile/scm-ports.exp: New file.
14432 * gdb.guile/scm-pretty-print.c: New file.
14433 * gdb.guile/scm-pretty-print.exp: New file.
14434 * gdb.guile/scm-pretty-print.scm: New file.
14435 * gdb.guile/scm-section-script.c: New file.
14436 * gdb.guile/scm-section-script.exp: New file.
14437 * gdb.guile/scm-section-script.scm: New file.
14438 * gdb.guile/scm-symbol.c: New file.
14439 * gdb.guile/scm-symbol.exp: New file.
14440 * gdb.guile/scm-symtab-2.c: New file.
14441 * gdb.guile/scm-symtab.c: New file.
14442 * gdb.guile/scm-symtab.exp: New file.
14443 * gdb.guile/scm-type.c: New file.
14444 * gdb.guile/scm-type.exp: New file.
14445 * gdb.guile/scm-value-cc.cc: New file.
14446 * gdb.guile/scm-value-cc.exp: New file.
14447 * gdb.guile/scm-value.c: New file.
14448 * gdb.guile/scm-value.exp: New file.
14449 * gdb.guile/source2.scm: New file.
14450 * gdb.guile/types-module.cc: New file.
14451 * gdb.guile/types-module.exp: New file.
14453 2014-02-10 Yao Qi <yao@codesourcery.com>
14456 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
14457 * configure: Regenerated.
14458 * Makefile.in: New file.
14460 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
14462 * gdb.python/py-framefilter.exp: Fix typo.
14464 2014-02-08 Yao Qi <yao@codesourcery.com>
14466 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
14467 that no =breakpoint-modified is emitted when breakpoints are
14468 modified through MI commands.
14470 2014-02-07 Pedro Alves <pedro@codesourcery.com>
14471 Pedro Alves <palves@redhat.com>
14473 * gdb.threads/step-after-sr-lock.c: New file.
14474 * gdb.threads/step-after-sr-lock.exp: New file.
14476 2014-02-07 Pedro Alves <palves@redhat.com>
14478 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
14480 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
14482 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
14483 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
14485 2014-02-06 Doug Evans <xdje42@gmail.com>
14487 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
14490 * gdb.gdb/python-interrupts.exp: New file.
14492 2014-02-05 Yao Qi <yao@codesourcery.com>
14494 * gdb.trace/report.exp (use_collected_data): Test the output
14495 of "info threads" and "info inferiors".
14497 2014-02-05 Yao Qi <yao@codesourcery.com>
14501 2013-05-24 Yao Qi <yao@codesourcery.com>
14503 * gdb.trace/tfile.exp: Test inferior and thread.
14505 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14507 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
14509 * gdb.base/step-bt.c: Call hello via function pointer to make
14510 sure its first instruction is executed on powerpc64le-linux.
14512 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14514 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
14516 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14518 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
14519 of the test patterns for use on little-endian systems.
14521 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14523 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
14524 (decimal_vector): Fix for little-endian.
14526 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
14528 * gdb.arch/sparc-sysstep.exp: New file.
14529 * gdb.arch/sparc-sysstep.c: Likewise.
14531 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
14533 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14535 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
14537 2014-01-23 Tom Tromey <tromey@redhat.com>
14539 * gdb.ada/array_char_idx: New testcase.
14541 2014-01-23 Tom Tromey <tromey@redhat.com>
14544 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
14545 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
14548 2014-01-23 Tom Tromey <tromey@redhat.com>
14551 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
14552 string from an inferior frame.
14553 * gdb.python/py-framefilter-mi.exp: Update.
14555 2014-01-22 Doug Evans <dje@google.com>
14557 * gdb.server/server-mon.exp: Add tests for "set debug-format".
14559 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14561 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
14563 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14565 * gdb.trace/entry-values.exp: Remove excess space character from
14566 regex patterns. Handle s390 call instruction.
14568 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14570 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
14571 define "*_start" label. Make "name" static.
14572 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
14573 ${name} by references to ${name}_start.
14575 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14577 * gdb.base/info-macros.exp: Remove "debug" from the compile
14580 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14582 * gdb.dlang/demangle.exp: New file.
14584 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14586 * gdb.dlang/primitive-types.exp: New file.
14588 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14590 * configure.ac: Create gdb.dlang/Makefile.
14591 * configure: Regenerate.
14592 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
14593 * gdb.dlang/Makefile.in: New file.
14594 * lib/d-support.exp: New file.
14595 * lib/gdb.exp (skip_d_tests): New proc.
14597 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14599 * gdb.btrace/delta.exp: Check reverse stepi.
14600 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
14601 * gdb.btrace/finish.exp: New.
14602 * gdb.btrace/next.exp: New.
14603 * gdb.btrace/nexti.exp: New.
14604 * gdb.btrace/record_goto.c: Add comments.
14605 * gdb.btrace/step.exp: New.
14606 * gdb.btrace/stepi.exp: New.
14607 * gdb.btrace/multi-thread-step.c: New.
14608 * gdb.btrace/multi-thread-step.exp: New.
14609 * gdb.btrace/rn-dl-bind.c: New.
14610 * gdb.btrace/rn-dl-bind.exp: New.
14611 * gdb.btrace/data.c: New.
14612 * gdb.btrace/data.exp: New.
14613 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
14615 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14617 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
14618 * gdb.btrace/exception.exp: Update.
14619 * gdb.btrace/instruction_history.exp: Update.
14620 * gdb.btrace/record_goto.exp: Update.
14621 * gdb.btrace/tailcall.exp: Update.
14622 * gdb.btrace/unknown_functions.exp: Update.
14623 * gdb.btrace/delta.exp: New.
14625 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14627 * gdb.btrace/record_goto.exp: Add backtrace test.
14628 * gdb.btrace/tailcall.exp: Add backtrace test.
14630 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14632 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
14633 * gdb.btrace/record_goto.c: New.
14634 * gdb.btrace/record_goto.exp: New.
14635 * gdb.btrace/x86-record_goto.S: New.
14637 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14639 * gdb.btrace/function_call_history.exp: Update tests.
14640 * gdb.btrace/instruction_history.exp: Update tests.
14642 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14644 * gdb.btrace/function_call_history.exp: Fix expected field
14645 order for "record function-call-history".
14646 Add new tests for "record function-call-history /c".
14647 * gdb.btrace/exception.cc: New.
14648 * gdb.btrace/exception.exp: New.
14649 * gdb.btrace/tailcall.exp: New.
14650 * gdb.btrace/x86-tailcall.S: New.
14651 * gdb.btrace/x86-tailcall.c: New.
14652 * gdb.btrace/unknown_functions.c: New.
14653 * gdb.btrace/unknown_functions.exp: New.
14654 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
14656 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14658 * gdb.btrace/instruction_history.exp: Update.
14659 * gdb.btrace/function_call_history.exp: Update.
14661 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14663 * gdb.btrace/function_call_history.exp: Fix expected function
14665 * gdb.btrace/instruction_history.exp: Initialize traced.
14666 Remove traced_functions.
14668 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14670 * gdb.btrace/function_call_history.exp: Update
14671 * gdb.btrace/instruction_history.exp: Update.
14673 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14675 * gdb.btrace/enable.exp: Update expected text.
14677 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
14679 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
14682 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
14684 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
14686 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
14688 * lib/gdb.exp (supports_process_record): Return true for
14689 arm*-linux*. (supports_reverse): Likewise.
14691 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
14695 * gdb.python/py-type.c: Enhance test case.
14696 * gdb.python/py-value-cc.cc: Likewise
14697 * gdb.python/py-type.exp: Add new tests.
14698 * gdb.python/py-value-cc.exp: Likewise
14700 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
14701 Pedro Alves <palves@redhat.com>
14703 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
14704 Make "name" extern.
14705 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
14706 references to ${name}_start by references to ${name}.
14708 2014-01-10 Joel Brobecker <brobecker@adacore.com>
14710 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
14712 2014-01-10 Joel Brobecker <brobecker@adacore.com>
14714 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
14716 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
14717 Pedro Alves <palves@redhat.com>
14719 * gdb.mi/mi-info-os.exp: Connect to the target with
14720 mi_gdb_target_load.
14722 2014-01-08 Pedro Alves <palves@redhat.com>
14724 * gdb.threads/reconnect-signal.c: New file.
14725 * gdb.threads/reconnect-signal.exp: New file.
14727 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14729 * gdb.base/source-dir.exp: New file.
14731 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14733 * gdb.ada/mi_interface: New testcase.
14735 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14737 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
14738 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
14739 gdb.ada/pp-rec-component/pck.ads: New files.
14741 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14743 * gdb.python/py-pp-integral.c: New file.
14744 * gdb.python/py-pp-integral.py: New file.
14745 * gdb.python/py-pp-integral.exp: New file.
14747 For older changes see ChangeLog-1993-2013.
14749 ;; Local Variables:
14750 ;; mode: change-log
14753 ;; version-control: never
14756 Copyright 2014-2018 Free Software Foundation, Inc.
14757 Copying and distribution of this file, with or without modification,
14758 are permitted provided the copyright notice and this notice are preserved.