1 2018-10-01 Alan Hayward <alan.hayward@arm.com>
3 * gdb.arch/aarch64-sighandler-regs.c: New test.
4 * gdb.arch/aarch64-sighandler-regs.exp: New file.
5 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
7 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
9 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
12 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
14 * gdb.base/frame-selection.exp: New file.
15 * gdb.base/frame-selection.c: New file.
17 2018-09-27 Alan Hayward <alan.hayward@arm.com>
19 * gdb.threads/check-libthread-db.c (thread_routine): Use a
23 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
25 * gdb.base/large-frame-1.c: New file.
26 * gdb.base/large-frame-2.c: New file.
27 * gdb.base/large-frame.exp: New file.
28 * gdb.base/large-frame.h: New file.
30 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
33 * gdb.base/write_mem.exp: New test.
34 * gdb.base/write_mem.c: Likewise.
36 2018-09-23 Tom Tromey <tom@tromey.com>
39 * gdb.python/py-parameter.exp: Add test for parameter that throws
42 2018-09-23 Tom Tromey <tom@tromey.com>
45 * gdb.python/py-template.exp (test_template_arg): Add test for
46 negative template argument number.
48 2018-09-23 Tom Tromey <tom@tromey.com>
51 * gdb.python/python.exp: Add test for post_event error.
53 2018-09-23 Tom Tromey <tom@tromey.com>
56 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
57 convert pointers to int and long.
59 2018-09-23 Tom Tromey <tom@tromey.com>
62 * gdb.python/py-value.exp (test_value_numeric_ops): Add
63 signed-ness conversion tests.
65 2018-09-23 Tom Tromey <tom@tromey.com>
68 * gdb.python/py-value.exp (test_float_conversion): New proc.
71 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
73 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
75 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
77 * gdb.base/complete-empty.exp: Skip tab-completion tests if
79 * gdb.base/utf8-identifiers.exp: Likewise.
80 * gdb.cp/cpcompletion.exp: Likewise.
81 * gdb.linespec/cpcompletion.exp: Likewise.
82 * gdb.linespec/cpls-abi-tag.exp: Likewise.
83 * gdb.linespec/cpls-ops.exp: Likewise.
85 2018-09-19 Richard Bunt <richard.bunt@arm.com>
86 Chris January <chris.january@arm.com>
88 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
89 * gdb.fortran/short-circuit-argument-list.exp: New file.
90 * gdb.fortran/short-circuit-argument-list.f90: New test.
92 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
94 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
95 "arch=" keyword when executing "-stack-list-frames".
97 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
99 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
100 "arch=" keyword when executing "-stack-list-frames".
102 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
104 * gdb.ada/complete.exp: Expect for "@" when doing "complete
107 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
110 * gdb.python/python.exp: Test gdb.execute("show commands").
112 2018-09-16 Tom Tromey <tom@tromey.com>
114 * gdb.base/new-ui.exp (do_execution_tests): Update.
115 * gdb.base/dbx.exp (test_breakpoints): Update.
117 2018-09-14 Alan Hayward <alan.hayward@arm.com>
119 * lib/gdb.exp (gdb_simple_compile): Add proc.
120 (is_elf_target): Use gdb_simple_compile.
121 (skip_altivec_tests): Likewise.
122 (skip_vsx_tests): Likewise.
123 (skip_tsx_tests): Likewise.
124 (skip_btrace_tests): Likewise.
125 (skip_btrace_pt_tests): Likewise.
126 (gdb_can_simple_compile): Likewise.
127 (gdb_has_argv0): Likewise.
128 (gdb_target_symbol_prefix): Likewise.
129 (target_supports_scheduler_locking): Likewise.
131 2018-09-13 Tom Tromey <tom@tromey.com>
133 * Makefile.in (TAGS): Recognize proc_with_prefix and
136 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
138 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
141 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
143 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
144 and a few other Inferior properties when the Inferior is no
147 2018-09-13 Tom Tromey <tom@tromey.com>
150 * gdb.rust/simple.exp: Add test for enum field access error.
152 2018-09-13 Tom Tromey <tom@tromey.com>
155 * gdb.rust/simple.rs (EmptyEnum): New type.
157 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
159 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
161 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
162 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
163 * gdb.python/py-symtab.exp: Update test printing an objfile.
165 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
167 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
170 2018-09-12 Alan Hayward <alan.hayward@arm.com>
172 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
173 (support_complex_tests): Use gdb_can_simple_compile.
174 (is_ilp32_target): Likewise.
175 (is_lp64_target): Likewise.
176 (is_64_target): Likewise.
177 (is_amd64_regs_target): Likewise.
178 (is_aarch32_target): Likewise.
179 (gdb_int128_helper): Likewise.
181 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
183 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
185 2018-09-10 Jerome Guitton <guitton@adacore.com>
187 * gdb.ada/same_component_name: Add test for case of tagged record
188 with variable-length fields.
190 2018-09-10 Xavier Roirand <roirand@adacore.com>
192 * gdb.ada/access_to_unbounded_array.exp: New testcase.
193 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
194 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
195 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
197 2018-09-10 Xavier Roirand <roirand@adacore.com>
199 * gdb.ada/mi_string_access.exp: New testcase.
200 * gdb.ada/mi_string_access/bar.adb: New file.
201 * gdb.ada/mi_string_access/pck.adb: New file.
202 * gdb.ada/mi_string_access/pck.asd: New file.
204 2018-09-10 Xavier Roirand <roirand@adacore.com>
206 * gdb.ada/mi_var_union.exp: New testcase.
207 * gdb.ada/mi_var_union/bar.adb: New file.
208 * gdb.ada/mi_var_union/pck.adb: New file.
209 * gdb.ada/mi_var_union/pck.asd: New file.
211 2018-09-08 Tom Tromey <tom@tromey.com>
213 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
215 2018-09-08 Tom Tromey <tom@tromey.com>
218 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
219 (register_pretty_printers): Register new printer.
220 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
222 * gdb.python/py-prettyprint.c (int_type3): New typedef.
223 (an_int_type3): New global.
225 2018-09-08 Joel Brobecker <brobecker@adacore.com>
227 * gdb.ada/expr_with_funcall: New testcase.
229 2018-09-08 Joel Brobecker <brobecker@adacore.com>
231 * gdb.ada/packed_array_assign: New testcase.
233 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
235 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
236 names, and add test prefixes to make test names unique.
238 2018-09-05 Tom de Vries <tdevries@suse.de>
240 * gdb.dwarf2/varval.exp: Add test.
242 2018-09-04 Gary Benson <gbenson@redhat.com>
244 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
245 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
247 2018-08-31 Tom Tromey <tom@tromey.com>
249 * gdb.rust/simple.rs: Rename second variable "v".
251 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
253 * gdb.base/funcargs.c (use_a): New function.
254 (recurse): Call use_a.
256 2018-08-29 Keith Seitz <keiths@redhat.com>
258 * gdb.compile/compile-cplus-anonymous.cc: New file.
259 * gdb.compile/compile-cplus-anonymous.exp: New file.
260 * gdb.compile/compile-cplus-array-decay.cc: New file.
261 * gdb.compile/compile-cplus-array-decay.exp: New file.
262 * gdb.compile/compile-cplus-inherit.cc: New file.
263 * gdb.compile/compile-cplus-inherit.exp: New file.
264 * gdb.compile/compile-cplus-member.cc: New file.
265 * gdb.compile/compile-cplus-member.exp: New file.
266 * gdb.compile/compile-cplus-method.cc: New file.
267 * gdb.compile/compile-cplus-method.exp: New file.
268 * gdb.compile/compile-cplus-mod.c: "New" file.
269 * gdb.compile/compile-cplus-namespace.cc: New file.
270 * gdb.compile/compile-cplus-namespace.exp: New file.
271 * gdb.compile/compile-cplus-nested.cc: New file.
272 * gdb.compile/compile-cplus-nested.exp: New file.
273 * gdb.compile/compile-cplus-print.c: "New" file.
274 * gdb.compile/compile-cplus-print.exp: "New" file.
275 * gdb.compile/compile-cplus-virtual.cc: New file.
276 * gdb.compile/compile-cplus-virtual.exp: New file.
277 * gdb.compile/compile-cplus.c: "New" file.
278 * gdb.compile/compile-cplus.exp: "New" file.
279 * lib/compile-support.exp: New file.
281 2018-08-16 Gary Benson <gbenson@redhat.com>
284 * gdb.base/batch-exit-status.exp: New file.
285 * gdb.base/batch-exit-status.good-commands: Likewise.
286 * gdb.base/batch-exit-status.bad-commands: Likewise.
288 2018-08-29 Alan Hayward <alan.hayward@arm.com>
290 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
291 (struct struct02): Likewise.
292 (struct struct03): Likewise.
293 (struct struct04): Likewise.
294 (struct struct_01_01): New struct.
295 (struct struct_01_02): Likewise.
296 (struct struct_01_03): Likewise.
297 (struct struct_01_04): Likewise.
298 (struct struct_02_01): Likewise.
299 (struct struct_02_02): Likewise.
300 (struct struct_02_03): Likewise.
301 (struct struct_02_04): Likewise.
302 (struct struct_04_01): Likewise.
303 (struct struct_04_02): Likewise.
304 (struct struct_04_03): Likewise.
305 (struct struct_04_04): Likewise.
306 (struct struct_05_01): Likewise.
307 (struct struct_05_02): Likewise.
308 (struct struct_05_03): Likewise.
309 (struct struct_05_04): Likewise.
310 (cmp_struct01): Remove function.
311 (cmp_struct02): Likewise.
312 (cmp_struct03): Likewise.
313 (cmp_struct04): Likewise.
314 (cmp_struct_01_01): Add Function.
315 (cmp_struct_01_02): Likewise.
316 (cmp_struct_01_03): Likewise.
317 (cmp_struct_01_04): Likewise.
318 (cmp_struct_02_01): Likewise.
319 (cmp_struct_02_02): Likewise.
320 (cmp_struct_02_03): Likewise.
321 (cmp_struct_02_04): Likewise.
322 (cmp_struct_04_01): Likewise.
323 (cmp_struct_04_02): Likewise.
324 (cmp_struct_04_03): Likewise.
325 (cmp_struct_04_04): Likewise.
326 (cmp_struct_05_01): Likewise.
327 (cmp_struct_05_02): Likewise.
328 (cmp_struct_05_03): Likewise.
329 (cmp_struct_05_04): Likewise.
330 (call_all): Add new structs.
331 * gdb.base/infcall-nested-structs.exp: Likewise.
333 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
335 * gdb.python/py-framefilter-mi.exp: Update regexp to
336 check for "arch" field in frame output.
338 2018-08-23 Kevin Buettner <kevinb@redhat.com>
340 * gdb.dwarf2/dw2-ranges-func.c: New file.
341 * gdb.dwarf2/dw2-ranges-func.exp: New file.
343 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
345 * gdb.base/term.exp: Compare terminal settings with values from
347 * gdb.base/term.c: Get and set terminal settings.
349 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
351 * lib/mi-support.exp (mi_expect_stop): Update regexp to
352 accommodate new "arch" field in frame output.
353 * gdb.mi/mi-return.exp: Likewise.
354 * gdb.mi/mi-stack.exp: Likewise.
355 * gdb.mi/mi-syn-frame.exp: Likewise.
356 * gdb.mi/user-selected-context-sync.exp: Likewise.
358 2018-08-19 Michael Spang <spang@google.com>
361 * gdb.base/gcore-tls-pie.c: New file.
362 * gdb.base/gcore-tls-pie.exp: New file.
364 2018-08-18 Kevin Buettner <kevinb@redhat.com>
366 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
367 * gdb.dwarf2/varval.c: New file.
368 * gdb.dwarf2/varval.exp: New file.
370 2018-08-17 Alan Hayward <alan.hayward@arm.com>
373 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
375 2018-08-16 Keith Seitz <keiths@redhat.com>
377 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
378 tests expected to pass.
380 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
382 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
383 -data-disassemble -a.
384 (test_disassembly_bogus_args): Likewise.
386 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
388 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
390 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
392 * gdb.base/vla-optimized-out.exp: Add new test.
394 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
396 * gdb.base/vla-optimized-out-o3.exp: Delete.
397 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
398 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
401 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
404 * gdb.server/extended-remote-restart.c: New file.
405 * gdb.server/extended-remote-restart.exp: New file.
407 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
409 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
410 "set variable index = 42".
412 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
414 * boards/index-cache-gdb.exp: New file.
415 * gdb.dwarf2/index-cache.exp: New file.
416 * gdb.dwarf2/index-cache.c: New file.
417 * gdb.base/maint.exp: Check if we are using the index cache.
419 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
421 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
424 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
426 * dg-extract-results.sh: Move to toplevel contrib.
427 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
428 * Makefile.in (check-parallel-racy): Likewise.
430 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
432 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
433 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
434 tests if the target supports scheduler locking.
436 2018-08-04 Tom de Vries <tdevries@suse.de>
438 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
440 2018-08-02 Tom Tromey <tom@tromey.com>
443 * gdb.cp/temargs.exp: Test "info address" of a template
446 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
448 * gdb.python/py-mi-var-info-path-expression.c: New file.
449 * gdb.python/py-mi-var-info-path-expression.py: New file.
450 * gdb.python/py-mi-var-info-path-expression.exp: New file.
452 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
454 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
455 error after "cannot resolve name" string.
457 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
459 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
461 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
463 2018-07-28 Tom de Vries <tdevries@suse.de>
465 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
467 2018-07-26 Tom de Vries <tdevries@suse.de>
469 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
471 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
473 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
476 2018-07-26 Tom de Vries <tdevries@suse.de>
479 * gdb.base/catch-follow-exec.c: New test.
480 * gdb.base/catch-follow-exec.exp: New file.
482 2018-07-25 Tom de Vries <tdevries@suse.de>
484 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
487 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
489 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
490 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
492 2018-07-20 Tom de Vries <tdevries@suse.de>
494 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
496 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
498 2018-07-19 Tom de Vries <tdevries@suse.de>
500 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
503 2018-07-18 Tom de Vries <tdevries@suse.de>
505 * gdb.base/vla-optimized-out.c: New test.
506 * gdb.base/vla-optimized-out.exp: New file.
508 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
510 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
511 message "No address associated with hostname" when gdbserver
512 cannot resolve the hostname.
514 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
516 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
517 Add some test prefixes to make tests unique.
519 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
521 * gdb.base/frameapply.c: New file.
522 * gdb.base/frameapply.exp: New file.
524 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
526 * gdb.base/skip.exp: Update expected error message.
528 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
529 Jan Kratochvil <jan.kratochvil@redhat.com>
530 Paul Fertser <fercerpav@gmail.com>
531 Tsutomu Seki <sekiriki@gmail.com>
533 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
535 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
537 * boards/native-gdbserver.exp: Likewise.
538 * gdb.server/run-without-local-binary.exp: Improve regexp used
539 for detecting when a remote debugging connection succeeds.
540 * gdb.server/server-connect.exp: New file.
541 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
542 Do not prefix the port number with ":".
543 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
544 support for detecting and using it. Add '$debughost_gdbserver'
545 to the list of arguments used to start gdbserver. Handle case
546 when gdbserver cannot resolve a network name.
548 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
551 * gdb.base/ptype-offsets.cc (struct static_member): New
553 (main) <stmember>: New variable.
554 * gdb.base/ptype-offsets.exp: Add test for printing a struct
555 with a static member in it.
557 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
559 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
560 watchpoints enabled and disabled.
562 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
564 * gdb.base/examine-backward.exp: Still run tests around address
565 0x0, even if address 0x0 is not readable. Update the pattern for
566 matching address 0x0 in expected output.
568 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
570 * gdb.base/share-env-with-gdbserver.c (main): Add call to
573 2018-07-04 Tom de Vries <tdevries@suse.de>
575 * gdb.dwarf2/dw2-error.exp: Update expected error message.
577 2018-07-02 Maciej W. Rozycki <macro@mips.com>
580 * gdb.arch/mips-disassembler-options.exp: New test.
581 * gdb.arch/mips-disassembler-options.s: New test source.
583 2018-06-29 Pedro Alves <palves@redhat.com>
585 * gdb.threads/names.exp: Adjust expected "info threads" output.
587 2018-06-29 Pedro Alves <palves@redhat.com>
589 * gdb.opt/inline-break.exp (line number, address): Add "info
592 2018-06-29 Pedro Alves <palves@redhat.com>
594 * gdb.opt/inline-break.c (func1): Add "break here" marker.
595 * gdb.opt/inline-break.exp: Test setting breakpoints by line
596 number and address and running to them.
598 2018-06-29 Richard Bunt <richard.bunt@arm.com>
600 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
602 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
604 * lib/compiler.c: Remove executable permission flag.
606 2018-06-28 Richard Bunt <richard.bunt@arm.com>
608 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
610 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
612 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
614 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
616 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
618 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
619 address argument is omitted.
621 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
623 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
625 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
628 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
629 * gdb.base/infoline-reloc-main-from-zero.c: New file.
631 2018-06-26 Tom Tromey <tom@tromey.com>
634 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
635 * gdb.rust/simple.rs (struct SimpleLayout): New.
637 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
639 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
640 "info registers" output.
642 2018-06-21 Richard Bunt <richard.bunt@arm.com>
644 * gdb.base/watchpoint-hw-attach.c: New test.
645 * gdb.base/watchpoint-hw-attach.exp: New file.
647 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
649 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
651 * boards/dwarf4-gdb-index.exp: Likewise.
652 * boards/fission-dwp.exp: Likewise.
654 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
656 * gdb.base/float128.exp: Add comment and improved fail message
657 to the failure case of "print large128" test.
659 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
661 * configure.ac: Remove AC_PREREQ.
662 * configure: Re-generate.
664 2018-06-19 Pedro Alves <palves@redhat.com>
666 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
667 (func_extern_caller): New.
668 (main): Call func_extern_caller.
669 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
672 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
675 * gdb.cp/typedef-base.cc: New file.
676 * gdb.cp/typedef-base.exp: New file.
678 2018-06-18 Tom de Vries <tdevries@suse.de>
680 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
682 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
683 Richard Bunt <Richard.Bunt@arm.com>
685 * gdb.threads/attach-slow-waitpid.c: New file.
686 * gdb.threads/attach-slow-waitpid.exp: New file.
687 * gdb.threads/slow-waitpid.c: New file.
689 2018-06-14 Pedro Alves <palves@redhat.com>
691 * gdb.base/fork-running-state.c: Include <errno.h>.
692 (exit_if_relative_exits): New.
693 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
695 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
698 2018-06-14 Tom de Vries <tdevries@suse.de>
701 * gdb.base/finish-pretty.c: New test.
702 * gdb.base/finish-pretty.exp: New file.
704 2018-06-14 Pedro Alves <palves@redhat.com>
706 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
707 gdb's expected startup output.
709 2018-06-14 Pedro Alves <palves@redhat.com>
711 * lib/selftest-support.exp (selftest_setup): Remove inlined
714 2018-06-14 Tom de Vries <tdevries@suse.de>
716 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
717 matching of breakpoint printing.
719 2018-06-13 Tom de Vries <tdevries@suse.de>
722 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
723 (fork_child): ... here, and ...
724 (fork_parent): ... here.
726 2018-06-12 Tom de Vries <tdevries@suse.de>
728 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
730 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
731 Stephen Roberts <stephen.roberts@arm.com>
733 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
734 rewrite test to describe action performed, rather than possible
737 2018-06-08 Gary Benson <gbenson@redhat.com>
739 * gdb.threads/check-libthread-db.exp: New file.
740 * gdb.threads/check-libthread-db.c: Likewise.
742 2018-06-05 Tom Tromey <tom@tromey.com>
744 * gdb.base/default.exp: Update expected "show version" output.
746 2018-06-05 Tom Tromey <tom@tromey.com>
749 * gdb.cp/static-print-quit.exp: Update.
750 * lib/gdb.exp (pagination_prompt): Update.
751 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
752 * gdb.python/python.exp: Update.
754 2018-06-04 Joel Brobecker <brobecker@adacore.com>
756 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
758 2018-06-01 Joel Brobecker <brobecker@adacore.com>
760 * gdb.ada/bp_fun_addr: New testcase.
762 2018-06-01 Tom Tromey <tom@tromey.com>
764 * gdb.xml/tdesc-regs.exp (load_description): Update expected
766 * gdb.dwarf2/method-ptr.exp: Set language to C++.
767 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
768 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
769 * gdb.base/maint.exp (maint_pass_if): Update.
771 2018-05-31 Maciej W. Rozycki <macro@mips.com>
773 * gdb.base/endian.exp: New test.
774 * gdb.base/endian.c: New test source.
776 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
779 * gdb.base/bt-selected-frame.c: New file.
780 * gdb.base/bt-selected-frame.exp: New file.
781 * lib/gdb.exp (get_current_frame_number): New function.
783 2018-05-24 Maciej W. Rozycki <macro@mips.com>
784 Pedro Alves <palves@redhat.com>
786 * gdb.threads/tls-core.c: Include <stdlib.h>
787 (thread_proc): Call `abort'.
788 * gdb.threads/tls-core.exp: Generate a core with core_find too.
789 (tls_core_test): New procedure, bits factored out from ...
790 (top level): ... here. Test both native cores and gcore cores.
792 2018-05-23 Tom Tromey <tom@tromey.com>
794 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
796 2018-05-23 Tom Tromey <tom@tromey.com>
798 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
800 (test_short_complaints): Likewise.
801 (test_empty_complaints): Likewise.
802 (test_initial_complaints): Update.
804 2018-05-23 Tom Tromey <tom@tromey.com>
806 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
808 2018-05-23 Tom Tromey <tom@tromey.com>
810 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
811 (test_short_complaints): Update.
813 2018-05-22 Pedro Alves <palves@redhat.com>
815 * gdb.base/remote.exp: Only gdb_start after compiling the
816 testcase. Issue "disconnect" before testing "set remote" command
817 defaults. Issue clean_restart before running to main.
819 2018-05-22 Pedro Alves <palves@redhat.com>
821 * gdb.base/remote.exp: Adjust expected output of "show remote
822 memory-write-packet-size". Add tests for "set remote
823 memory-write-packet-size 0" and "set remote
824 memory-write-packet-size fixed/limit".
826 2018-05-22 Pedro Alves <palves@redhat.com>
829 * gdb.base/utf8-identifiers.c: New file.
830 * gdb.base/utf8-identifiers.exp: New file.
832 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
834 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
836 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
838 * gdb.arch/powerpc-vsx-gcore.exp: New file.
840 2018-05-18 Tom Tromey <tom@tromey.com>
842 * gdb.base/ptype-offsets.exp: Update.
844 2018-05-17 Keith Seitz <keiths@redhat.com>
846 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
847 in expected breakpoint stop locations.
848 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
849 move to proper scope to test variable values.
850 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
851 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
853 (main): Call not_inline_func3.
854 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
855 inline_func1, inline_func2, and inline_func3. Test that when each
856 breakpoint is hit, GDB properly reports both the stop location
857 and the backtrace. Repeat tests for temporary breakpoints.
859 2018-05-15 Maciej W. Rozycki <macro@mips.com>
861 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
862 rather then trying to access it in determining whether the PID
863 of `gdbserver' could have been retrieved.
865 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
867 * gdb.arch/amd64-init-x87-values.S: New file.
868 * gdb.arch/amd64-init-x87-values.exp: New file.
870 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
872 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
874 2018-05-04 Tom Tromey <tom@tromey.com>
877 * gdb.python/python.exp: Test multi-line execute.
879 2018-05-04 Tom Tromey <tom@tromey.com>
882 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
884 2018-05-04 Tom Tromey <tom@tromey.com>
887 * gdb.base/define.exp: Test defining a user command inside a user
889 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
891 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
892 Pedro Alves <palves@redhat.com>
894 PR breakpoints/19806 and support for PR external/20207.
895 * gdb.base/watchpoint-unaligned.c: New file.
896 * gdb.base/watchpoint-unaligned.exp: New file.
898 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
900 * gdb.base/maint.exp: Make test names unique, use
901 test_prefix_command_help to test 'help maint info', and remove
902 repeated test of 'help maint'.
904 2018-05-04 Tom Tromey <tom@tromey.com>
907 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
910 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
912 * gdb.base/maint.exp: Process output from 'maint print registers'
915 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
917 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
920 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
922 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
925 2018-05-02 Pedro Alves <palves@redhat.com>
927 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
928 to_log_command renames.
929 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
931 2018-05-02 Tom Tromey <tom@tromey.com>
933 * gdb.python/py-parameter.exp: Set test message.
935 2018-05-02 Tom Tromey <tom@tromey.com>
938 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
939 PARAM_ZUINTEGER_UNLIMITED tests.
941 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
944 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
947 2018-04-30 Tom Tromey <tom@tromey.com>
949 * gdb.python/py-type.exp: Check align attribute.
950 * gdb.python/py-type.c: New "aligncheck" global.
952 2018-04-30 Tom Tromey <tom@tromey.com>
955 * gdb.dwarf2/dw2-align.exp: New file.
956 * gdb.cp/align.exp: New file.
957 * gdb.base/align.exp: New file.
958 * lib/gdb.exp (gdb_int128_helper): New proc.
959 (has_int128_c, has_int128_cxx): New caching procs.
961 2018-04-27 Tom Tromey <tom@tromey.com>
964 * gdb.rust/simple.exp: Add inclusive range tests.
966 2018-04-26 Pedro Alves <palves@redhat.com>
968 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
969 ifunc breakpoint locations correctly of ifunc breakpoints set
970 while the program resolves the ifunc.
972 2018-04-26 Pedro Alves <palves@redhat.com>
974 * gdb.base/gnu-ifunc-final.c: New file.
975 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
976 * gdb.base/gnu-ifunc.exp (executable): Delete.
977 (staticexecutable): Adjust.
978 (lib_opts, exec_opts): Delete.
979 (make_binsuffix, build, set-break): New procedures.
980 (misc_tests): New, with tests factored out from the top level.
981 (top level): Test different combinations of ifunc resolver name,
982 resolver with and with debug info, and ifunc target with and
983 without debug info. Wrap static tests with with_target_prefix.
985 2018-04-26 Pedro Alves <palves@redhat.com>
987 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
988 return type" warnings.
990 2018-04-25 Pedro Alves <palves@redhat.com>
992 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
994 * gdb.base/kill-after-signal.exp: Likewise.
995 * gdb.threads/kill.exp: Likewise.
997 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
998 Sergio Durigan Junior <sergiodj@redhat.com>
999 Pedro Alves <palves@redhat.com>
1001 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
1002 regexps to expect for '[Inferior ... detached]' as well.
1003 * gdb.base/attach.exp: Likewise.
1004 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
1005 "gdb_continue_to_end".
1006 (test_catch_syscall_with_wrong_args): Likewise.
1007 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
1008 ']'. Don't set 'verbose' on.
1009 * gdb.base/foll-vfork.exp: Likewise.
1010 * gdb.base/fork-print-inferior-events.c: New file.
1011 * gdb.base/fork-print-inferior-events.exp: New file.
1012 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
1013 '[Inferior ... has been killed]' message.
1014 * gdb.base/kill-after-signal.exp: Likewise.
1015 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
1017 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
1019 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
1020 regexps to expect for '[Inferior ... detached]' as well.
1021 * gdb.threads/process-dies-while-detaching.exp: Likewise.
1023 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
1026 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
1028 2018-04-19 Richard Bunt <richard.bunt@arm.com>
1030 * gdb.threads/multiple-successive-infcall.c: New test.
1031 * gdb.threads/multiple-successive-infcall.exp: New file.
1033 2018-04-17 Tom Tromey <tom@tromey.com>
1035 * gdb.rust/simple.rs (Union): New type.
1036 (main): New local "u".
1037 * gdb.rust/simple.exp (test_one_slice): Add new test case.
1039 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1041 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
1042 number information in output of "whereis" command.
1043 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
1045 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1047 * gdb.ada/info_types.exp: Adjust expected output to the line
1048 numbers now printed by "info var/func/type".
1049 * gdb.base/completion.exp: Likewise.
1050 * gdb.base/included.exp: Likewise.
1051 * gdb.cp/cp-relocate.exp: Likewise.
1052 * gdb.cp/cplusfuncs.exp: Likewise.
1053 * gdb.cp/namespace.exp: Likewise.
1054 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
1056 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
1058 * gdb.btrace/cpu.exp: New.
1060 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
1062 * gdb.base/step-indirect-call-thunk.exp: New.
1063 * gdb.base/step-indirect-call-thunk.c: New.
1064 * gdb.reverse/step-indirect-call-thunk.exp: New.
1065 * gdb.reverse/step-indirect-call-thunk.c: New.
1067 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
1069 * gdb.base/pie-fork.c: New file.
1070 * gdb.base/pie-fork.exp: New file.
1072 2018-04-11 Tom Tromey <tom@tromey.com>
1074 * gdb.rust/simple.exp: Add test for ".." struct initializer.
1076 2018-04-10 Pedro Alves <palves@redhat.com>
1078 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
1079 exits. Instead loop running forever.
1080 (fork_parent): Run forever too.
1082 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
1084 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
1085 mi_continue_to_line.
1086 * gdb.mi/mi-stack.c (callee4): Add comment.
1088 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
1090 * gdb.mi/mi-stack.exp: Fix indentation.
1092 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
1095 * gdb.arch/amd64-osabi.exp: New file.
1097 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
1100 * gdb.base/osabi.exp: New file.
1102 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
1104 * gdb.cp/static-typedef-print.exp: New file.
1105 * gdb.cp/static-typedef-print.cc: New file.
1107 2018-03-27 Joel Brobecker <brobecker@adacore.com>
1109 * gdb.ada/varsize_limit: New testcase.
1111 2018-03-27 Joel Brobecker <brobecker@adacore.com>
1113 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
1115 * gdb.ada/notcplusplus: New testcase.
1117 * gdb.base/c-linkage-name.c: New file.
1118 * gdb.base/c-linkage-name.exp: New testcase.
1120 2018-03-26 Tom Tromey <tom@tromey.com>
1122 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
1123 * gdb.python/py-framefilter.py (name_error): New global.
1124 (ErrorInName.function): Use name_error.
1126 2018-03-26 Tom Tromey <tom@tromey.com>
1129 * gdb.python/py-framefilter.exp: Add "bt hide" test.
1131 2018-03-23 Keith Seitz <keiths@redhat.com>
1134 * gdb.cp/subtypes.exp: New file.
1135 * gdb.cp/subtypes.h: New file.
1136 * gdb.cp/subtypes.cc: New file.
1137 * gdb.cp/subtypes-2.cc: New file.
1139 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
1141 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
1142 (done): Call '_exit' not 'exit' to avoid atexit handlers.
1143 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
1144 -nostartfiles when compiling the test. Confirm that all registers
1145 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
1147 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
1149 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
1150 option, syntax was wrong anyway.
1151 * gdb.arch/arm-disp-step.exp: Likewise.
1152 * gdb.arch/sparc64-regs.exp: Likewise.
1153 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
1154 option, syntax was wrong anyway, switch to use
1155 prepare_for_testing.
1156 * gdb.arch/i386-disp-step.exp: Likewise.
1158 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
1160 * gdb.ada/exec_changed.exp: Replace "target_info exists
1161 use_gdb_stub" by "use_gdb_stub".
1162 * gdb.ada/start.exp: Likewise.
1163 * gdb.base/async-shell.exp: Likewise.
1164 * gdb.base/attach-pie-misread.exp: Likewise.
1165 * gdb.base/attach-wait-input.exp: Likewise.
1166 * gdb.base/break-entry.exp: Likewise.
1167 * gdb.base/break-interp.exp: Likewise.
1168 * gdb.base/dprintf-detach.exp: Likewise.
1169 * gdb.base/nostdlib.exp: Likewise.
1170 * gdb.base/solib-nodir.exp: Likewise.
1171 * gdb.base/statistics.exp: Likewise.
1172 * gdb.base/testenv.exp: Likewise.
1173 * gdb.mi/mi-exec-run.exp: Likewise.
1174 * gdb.mi/mi-start.exp: Likewise.
1175 * gdb.multi/dummy-frame-restore.exp: Likewise.
1176 * gdb.multi/multi-arch-exec.exp: Likewise.
1177 * gdb.multi/multi-arch.exp: Likewise.
1178 * gdb.multi/tids.exp: Likewise.
1179 * gdb.multi/watchpoint-multi.exp: Likewise.
1180 * gdb.python/py-events.exp: Likewise.
1181 * gdb.threads/attach-into-signal.exp: Likewise.
1182 * gdb.threads/attach-stopped.exp: Likewise.
1183 * gdb.threads/threadapply.exp: Likewise.
1184 * lib/selftest-support.exp: Likewise.
1186 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
1188 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
1190 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
1192 * gdb.perf/template-breakpoints.cc: New file.
1193 * gdb.perf/template-breakpoints.exp: New file.
1194 * gdb.perf/template-breakpoints.py: New file.
1196 2018-03-19 Tom Tromey <tom@tromey.com>
1198 * gdb.rust/simple.rs (main): Add local variables field1, field2,
1200 * gdb.rust/simple.exp: Test bare identifier form of struct
1203 2018-03-19 Tom Tromey <tom@tromey.com>
1205 * gdb.gdb/observer.exp: Remove.
1207 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1209 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
1210 "qualified" option when setting breakpoints.
1211 * gdb.trace/backtrace.exp: Likewise.
1212 * gdb.trace/circ.exp: Likewise.
1213 * gdb.trace/collection.exp: Likewise.
1214 * gdb.trace/disconnected-tracing.exp: Likewise.
1215 * gdb.trace/ftrace-lock.exp: Likewise.
1216 * gdb.trace/ftrace.exp: Likewise.
1217 * gdb.trace/infotrace.exp: Likewise.
1218 * gdb.trace/packetlen.exp: Likewise.
1219 * gdb.trace/passc-dyn.exp: Likewise.
1220 * gdb.trace/qtro.exp: Likewise.
1221 * gdb.trace/read-memory.exp: Likewise.
1222 * gdb.trace/report.exp: Likewise.
1223 * gdb.trace/signal.exp: Likewise.
1224 * gdb.trace/status-stop.exp: Likewise.
1225 * gdb.trace/strace.exp: Likewise.
1226 * gdb.trace/tfind.exp: Likewise.
1227 * gdb.trace/trace-break.exp: Likewise.
1228 * gdb.trace/trace-condition.exp: Likewise.
1229 * gdb.trace/trace-mt.exp: Likewise.
1230 * gdb.trace/tstatus.exp: Likewise.
1231 * gdb.trace/tsv.exp: Likewise.
1232 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
1233 * gdb.trace/unavailable.exp: Likewise.
1234 * gdb.trace/while-dyn.exp: Likewise.
1236 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1238 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
1239 that libinproctrace is copied to the target.
1241 2018-03-14 Tom Tromey <tom@tromey.com>
1244 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
1246 * gdb.base/wchar.exp: Likewise.
1248 2018-03-14 Tom Tromey <tom@tromey.com>
1251 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
1254 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
1257 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
1258 "target" to remote_exec.
1260 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
1263 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
1264 ${board}_upload): Remove.
1266 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1268 * gdb.cp/watch-cp.cc: New test.
1269 * gdb.cp/watch-cp.exp: New file.
1271 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1273 * gdb.base/infcall-nested-structs.exp: New file.
1274 * gdb.base/infcall-nested-structs.c: New file.
1275 * gdb.base/float.exp: Add riscv support.
1277 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
1279 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
1280 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
1282 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
1284 * gdb.server/abspath.exp: New file.
1285 * lib/gdb.exp (with_cwd): New procedure.
1287 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
1289 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
1291 (gdb_is_target_remote_prompt): New proc.
1292 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
1293 (gdb_is_target_native): Pass prompt parameter to
1296 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
1298 * gdb.base/load-command.c: New file.
1299 * gdb.base/load-command.exp: New file.
1300 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
1301 (gdb_is_target_1): ...this, and generalize for other targets
1303 (gdb_is_target_remote): Use gdb_is_target_1.
1304 (gdb_is_target_native): use gdb_is_target_1.
1306 2018-02-26 Tom Tromey <tom@tromey.com>
1309 * gdb.python/py-framefilter.exp: Update test.
1311 2018-02-26 Tom Tromey <tom@tromey.com>
1313 * gdb.dwarf2/variant.c: New file.
1314 * gdb.dwarf2/variant.exp: New file.
1316 2018-02-26 Tom Tromey <tom@tromey.com>
1318 * gdb.rust/simple.exp: Accept more possible results in enum test.
1320 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
1322 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
1325 2018-02-23 Maciej W. Rozycki <macro@mips.com>
1327 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
1328 name of a variable: $actual_linejj -> $actual_line.
1330 2018-02-21 John Baldwin <jhb@FreeBSD.org>
1332 * gdb.arch/amd64-i386-address.exp: Fix a typo.
1334 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
1336 * gdb.btrace/buffer-size.exp: Do not force BTS.
1338 2018-02-14 Pedro Alves <palves@redhat.com>
1340 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
1343 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
1345 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
1348 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
1350 * gdb.cp/m-static.exp: Check type of optimized out static
1353 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
1355 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
1356 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
1358 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
1359 Leszek Swirski <leszeks@google.com>
1361 * gdb.python/py-prettyprint.c
1362 (struct to_string_returns_value_inner,
1363 struct to_string_returns_value_wrapper): New.
1364 (main): Add tsrvw variable.
1365 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
1366 ToStringReturnsValueWrapper): New classes.
1367 (register_pretty_printers): Register new pretty-printers.
1368 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
1369 recursive pretty printer.
1370 * gdb.python/py-mi.exp: Likewise.
1372 2018-02-01 Leszek Swirski <leszeks@google.com>
1374 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
1375 functions with the same name as an include file are parsed
1378 2018-02-01 Yao Qi <yao.qi@linaro.org>
1380 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
1383 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
1385 * gdb.arch/powerpc-prologue-frame.s: New file.
1386 * gdb.arch/powerpc-prologue-frame.c: Likewise.
1387 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
1389 2018-01-31 Joel Brobecker <brobecker@adacore.com>
1391 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
1393 2018-01-30 Pedro Alves <palves@redhat.com>
1396 * gdb.base/interrupt-daemon.c: New.
1397 * gdb.base/interrupt-daemon.exp: New.
1398 * gdb.multi/multi-term-settings.c: New.
1399 * gdb.multi/multi-term-settings.exp: New.
1401 2018-01-30 Joel Brobecker <brobecker@adacore.com>
1403 * gdb.base/break.exp: Save the location where the breakpoint
1404 on break.c:47 was actually inserted when debugging the version
1405 compiled at -O2 and use it in the expected output of the "info
1406 break" test performed soon after.
1408 2018-01-22 Pedro Alves <palves@redhat.com>
1409 Sergio Durigan Junior <sergiodj@redhat.com>
1411 * gdb.base/whatis.exp: Add tests for 'set print object on' +
1412 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
1414 2018-01-22 Joel Brobecker <brobecker@adacore.com>
1416 * gdb.base/break-include.c, gdb.base/break-include.inc,
1417 gdb.base/break-include.exp: New files.
1418 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
1419 line number now being the actual line number where the breakpoint
1421 * gdb.mi/mi-break.exp: Likewise.
1422 * gdb.mi/mi-reverse.exp: Likewise.
1423 * gdb.mi/mi-simplerun.exp: Ditto.
1425 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1427 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
1429 * gdb.mi/mi-var-create-rtti.exp: Likewise.
1431 2018-01-21 Don Breazeal <donb@codesourcery.com>
1432 Andrew Burgess <andrew.burgess@embecosm.com>
1434 * gdb.mi/basics.c: Add new global.
1435 * gdb.mi/mi-frame-regs.exp: New file.
1436 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
1439 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1441 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
1442 non-parameter, and on an unknown symbol.
1444 2018-01-19 Tom Tromey <tom@tromey.com>
1446 * gdb.rust/modules.rs (TWENTY_THREE): New global.
1447 * gdb.rust/modules.exp: Add ::-qualified lookup test.
1449 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1451 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
1452 setrlimit and chdir to int.
1454 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1456 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
1458 (my_tend): Likewise.
1459 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
1460 rationale of avoiding FP- and vector instructions.
1462 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
1464 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
1465 "info reg" with "\[ \t\]*".
1466 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
1468 * gdb.arch/s390-multiarch.exp: Ditto.
1469 * gdb.base/pc-fp.exp: Ditto.
1470 * gdb.reverse/i386-precsave.exp: Ditto.
1471 * gdb.reverse/i386-reverse.exp: Ditto.
1472 * gdb.reverse/i387-env-reverse.exp: Ditto.
1473 * gdb.reverse/i387-stack-reverse.exp: Ditto.
1475 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
1477 * lib/gdb.exp (gdb_compile): Re-enable use of
1478 universal_compile_options for languages other than Rust.
1480 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
1482 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
1484 2018-01-17 Mike Gulick <mgulick@mathworks.com>
1487 * gdb.base/solib-vanish.exp: New.
1488 * gdb.base/solib-vanish-main.c: New.
1489 * gdb.base/solib-vanish-lib1.c: New.
1490 * gdb.base/solib-vanish-lib2.c: New.
1492 2018-01-17 Yao Qi <yao.qi@linaro.org>
1494 * gdb.compile/compile.exp: Match the address printed for
1495 frame in the output of command "bt".
1497 2018-01-15 Tom Tromey <tom@tromey.com>
1499 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
1502 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1504 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
1506 (prepare): Return 0 on error, 1 on success.
1508 2018-01-12 Pedro Alves <palves@redhat.com>
1510 * gdb.base/continue-after-aborted-step-over.c: New.
1511 * gdb.base/continue-after-aborted-step-over.exp: New.
1513 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
1515 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
1516 options when not creating an executable.
1518 2018-01-11 Pedro Alves <palves@redhat.com>
1521 * gdb.server/stop-reply-no-thread.c: New file.
1522 * gdb.server/stop-reply-no-thread.exp: New file.
1524 2018-01-10 Pedro Alves <palves@redhat.com>
1527 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
1528 functions too. Test setting breakpoints and printing C functions
1529 with no debug info too.
1530 * gdb.ada/bp_c_mixed_case/qux.c: New file.
1532 2018-01-10 Pedro Alves <palves@redhat.com>
1535 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
1538 2018-01-10 Pedro Alves <palves@redhat.com>
1541 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
1543 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
1545 * gdb.server/unittest.exp: Match the output in non-development
1548 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
1550 * gdb.gdb/unittest.exp: Match output in non-development mode.
1552 2018-01-08 Joel Brobecker <brobecker@adacore.com>
1554 * gdb.ada/access_tagged_param.exp: Relax expected output
1555 for value of "ObjL" in "continue" to pck.inspect breakpoint
1558 2018-01-08 Joel Brobecker <brobecker@adacore.com>
1560 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
1561 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
1563 2018-01-05 Pedro Alves <palves@redhat.com>
1566 * gdb.base/libsegfault.exp: New.
1568 2018-01-05 Joel Brobecker <brobecker@adacore.com>
1571 * gdb.ada/access_tagged_param.exp: New file.
1572 * gdb.ada/access_tagged_param/foo.adb: New file.
1574 2018-01-05 Pedro Alves <palves@redhat.com>
1577 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
1578 exercise lower case too, and to exercise both full matching and
1581 2018-01-05 Joel Brobecker <brobecker@adacore.com>
1583 * gdb.ada/rename_subscript_param: New testcase.
1585 2018-01-05 Jerome Guitton <guitton@adacore.com>
1587 * gdb.ada/arr_acc_idx_w_gap: New testcase.
1589 2018-01-05 Joel Brobecker <brobecker@adacore.com>
1591 * gdb.ada/convvar_comp: New testcase.
1593 2018-01-05 Xavier Roirand <roirand@adacore.com>
1595 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
1596 (My_Table): New global variable.
1597 * testsuite/gdb.ada/array_char_idx.exp: Add test.
1599 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1602 * gdb.ada/maint_with_ada: New testcase.
1604 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1607 * gdb.ada/bp_c_mixed_case: New testcase.
1609 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1612 * gdb.ada/complete.exp: Add "complete break ada" test.
1614 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1617 * gdb.ada/info_addr_mixed_case: New testcase.
1619 2018-01-03 Xavier Roirand <roirand@adacore.com>
1621 * gdb.ada/excep_handle.exp: New testcase.
1622 * gdb.ada/excep_handle/foo.adb: New file.
1623 * gdb.ada/excep_handle/pck.ads: New file.
1625 2018-01-03 Joel Brobecker <brobecker@adacore.com>
1627 * gdb.base/step-line.c: Add extra empty line in copyright header.
1628 * gdb.base/step-line.inp: Likewise.
1630 2018-01-02 Joel Brobecker <brobecker@adacore.com>
1632 * gdb.ada/dyn_stride.exp: Add slice test.
1634 2018-01-02 Joel Brobecker <brobecker@adacore.com>
1636 * gdb.ada/dyn_stride: New testcase.
1638 2017-12-27 Stafford Horne <shorne@gmail.com>
1640 * gdb.xml/extra-regs.xml: Add example foo reggroup.
1641 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
1643 2017-12-27 Stafford Horne <shorne@gmail.com>
1645 * gdb.base/reggroups.c: New file.
1646 * gdb.base/reggroups.exp: New file.
1648 2017-12-18 Joel Brobecker <brobecker@adacore.com>
1650 * gdb.dwarf2/ada-valprint-error.c: New file.
1651 * gdb.dwarf2/ada-valprint-error.exp: New file.
1653 2017-12-18 Joel Brobecker <brobecker@adacore.com>
1655 * gdb.ada/assign_arr: New testcase.
1657 2017-12-18 Xavier Roirand <roirand@adacore.com>
1659 * gdb.ada/funcall_ptr: New testcase.
1661 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1664 * gdb.base/ptype-offsets.cc: New file.
1665 * gdb.base/ptype-offsets.exp: New file.
1667 2017-12-15 Yao Qi <yao.qi@linaro.org>
1669 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
1672 2017-12-15 Xavier Roirand <roirand@adacore.com>
1674 * gdb.ada/same_component_name: New testcase.
1676 2017-12-14 Joel Brobecker <brobecker@adacore.com>
1678 * gdb.ada/str_binop_equal: New testcase.
1680 2017-12-14 Joel Brobecker <brobecker@adacore.com>
1682 * gdb.ada/task_switch_in_core: New testcase.
1684 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
1686 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
1687 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
1688 call test_bkpt_qualified.
1689 (test_bkpt_qualified): New proc.
1691 2017-12-13 Pedro Alves <palves@redhat.com>
1693 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1694 Tighten regexp by matching with an anchor.
1696 2017-12-13 Pedro Alves <palves@redhat.com>
1698 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
1699 ("expression with namespace"): New set of tests.
1700 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
1701 (Nested::Test_NS::qux): New.
1702 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
1703 defaults to 'start_quote_char' and 'end_quote_char' parameters.
1705 2017-12-13 Joel Brobecker <brobecker@adacore.com>
1707 * gdb.base/server-del-break.c: New file.
1708 * gdb.base/server-del-break.exp: New file.
1710 2017-12-12 Stafford Horne <shorne@gmail.com>
1712 * gdb.xml/tdesc-regs.exp: Add or1k support.
1714 2017-12-12 Stafford Horne <shorne@gmail.com>
1716 * gdb.base/bp-permanent.c: Define nop of or1k.
1718 2017-12-11 Joel Brobecker <brobecker@adacore.com>
1720 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
1721 output with components being reordered.
1723 2017-12-11 Joel Brobecker <brobecker@adacore.com>
1725 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
1726 output with components being reordered.
1728 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1729 Pedro Alves <palves@redhat.com>
1731 * gdb.base/maint.exp (check for .gdb_index): Check also for
1733 * gdb.dlang/watch-loc.c (.debug_aranges): New.
1734 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
1735 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
1736 (.gdb_index used after symbol reloading): Support also .debug_names.
1737 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
1739 2017-12-08 Yao Qi <yao.qi@linaro.org>
1741 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
1742 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
1744 2017-12-08 Yao Qi <yao.qi@linaro.org>
1746 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
1747 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
1749 2017-12-08 Yao Qi <yao.qi@linaro.org>
1751 * gdb.arch/aarch64-tagged-pointer.c: New file.
1752 * gdb.arch/aarch64-tagged-pointer.exp: New file.
1754 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
1756 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
1759 2017-12-07 Keith Seitz <keiths@redhat.com>
1761 PR breakpoints/22569
1762 * gdb.linespec/ls-errs.exp: Change expected result of "break
1763 -source this file has spaces.c -line 3".
1764 Check that an explicit source file followed by whitespace is
1765 identified as an invalid explicit location.
1767 2017-12-07 Keith Seitz <keiths@redhat.com>
1769 * gdb.cp/nested-types.cc: New file.
1770 * gdb.cp/nested-types.exp: New file.
1771 * lib/cp-support.exp: Load data-structures.exp library.
1772 (debug_cp_test_ptype_class): New global.
1773 (cp_ptype_class_verbose, next_line): New procedures.
1774 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
1775 Add and document new return value.
1776 Switch the list of lines to a queue.
1777 Add support for new `type' key for nested type definitions.
1778 Add debugging/troubleshooting messages.
1779 * lib/data-structures.exp: New file.
1781 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
1783 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
1784 with proc_with_prefix, don't use with_test_prefix.
1786 2017-12-07 Tom Tromey <tom@tromey.com>
1788 * gdb.base/break.exp: Add test for empty "commands".
1790 2017-12-07 Yao Qi <yao.qi@linaro.org>
1792 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
1793 malloc and catch syscall.
1795 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
1797 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
1798 tests for explicit locations.
1800 2017-12-06 Pedro Alves <palves@redhat.com>
1802 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
1803 force-disabling XML descriptions.
1805 2017-12-04 Pedro Alves <palves@redhat.com>
1808 * gdb.arch/amd64-disp-step-avx.S: New file.
1809 * gdb.arch/amd64-disp-step-avx.exp: New file.
1811 2017-12-03 Pedro Alves <palves@redhat.com>
1813 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
1815 (parent_function): Print distinct messages when waitpid fails, or
1816 the child exits with a signal, or the child exits for an unhandled
1818 * gdb.threads/process-dies-while-detaching.exp
1819 (detach_and_expect_exit): New 'inf_output_re' parameter and use
1820 it. Wait for both inferior output and GDB's prompt. Use an
1821 indirect spawn id list.
1822 (do_detach): New parameter 'child_exit'. Use it to compute
1823 expected inferior output.
1824 (test_detach, test_detach_watch, test_detach_killed_outside):
1825 Adjust to pass down the expected child exit kind.
1827 2017-12-01 Joel Brobecker <brobecker@adacore.com>
1828 Sergio Durigan Junior <sergiodj@redhat.com>
1829 Pedro Alves <palves@redhat.com>
1831 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
1833 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
1835 * gdb.base/relocate.exp: Add tests to guarantee that arguments
1836 to 'symbol-file' and 'add-symbol-file' can be
1837 position-independent.
1839 2017-12-01 Yao Qi <yao.qi@linaro.org>
1841 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
1842 the URL in copyright header.
1843 * gdb.arch/aarch64-fp.exp: Likewise.
1844 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
1845 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
1846 * gdb.base/expand-psymtabs.exp: Likewise.
1847 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
1848 * gdb.fortran/common-block.exp: Likewise.
1849 * gdb.fortran/common-block.f90: Likewise.
1850 * gdb.fortran/logical.exp: Likewise.
1851 * gdb.fortran/vla-datatypes.f90: Likewise.
1852 * gdb.fortran/vla-sub.f90: Likewise.
1854 2017-11-30 Joel Brobecker <brobecker@adacore.com>
1856 * gdb.ada/repeat_dyn: New testcase.
1858 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1860 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
1861 Update for changed thread numbering.
1862 * gdb.cell/bt.exp: Update for changed GDB output.
1864 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
1866 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
1867 setting isremote by hand.
1868 * boards/dwarf4-gdb-index.exp: Likewise.
1869 * boards/fission.exp: Likewise.
1870 * boards/stabs.exp: Likewise.
1872 2017-11-30 Pedro Alves <palves@redhat.com>
1874 * gdb.linespec/cpls-ops.exp
1875 (check_explicit_skips_function_argument): Extract the underlying
1876 type of size_t instead of hardcoding it.
1878 2017-11-29 Pedro Alves <palves@redhat.com>
1881 * gdb.linespec/cpls-abi-tag.cc: New file.
1882 * gdb.linespec/cpls-abi-tag.exp: New file.
1884 2017-11-29 Pedro Alves <palves@redhat.com>
1886 * gdb.base/langs.exp: Use -qualified.
1887 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
1889 * gdb.cp/namespace.exp: Use -qualified.
1890 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
1891 (overload-3, template-overload, template-ret-type, const-overload)
1892 (const-overload-quoted, anon-ns, ambiguous-prefix): New
1894 (test_driver): Call them.
1895 * gdb.cp/save-bp-qualified.cc: New.
1896 * gdb.cp/save-bp-qualified.exp: New.
1897 * gdb.linespec/explicit.exp: Test -qualified.
1898 * lib/completion-support.exp (completion::explicit_opts_list): Add
1900 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
1902 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
1904 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
1906 2017-11-29 Tom Tromey <tom@tromey.com>
1908 * gdb.base/relocate.exp: Update invalid argument test.
1909 Add new tests for invalid arguments.
1911 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
1913 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
1915 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
1917 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
1919 * gdb.cp/breakpoint.cc (bar): Set return type to void.
1920 * gdb.cp/psymtab-parameter.cc (func): Likewise.
1921 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
1923 * gdb.cp/shadow.cc (B.func): Return 0.
1925 2017-11-27 Joel Brobecker <brobecker@adacore.com>
1927 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
1928 expected output in gdb_expect call to allow the exception
1929 message to be present as well. Fix syntax confusion to avoid
1930 TCL thinking that exception_name is an array.
1932 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
1934 * gdb.arch/spu-info.c: Include <unistd.h>.
1935 (do_signal_test): Fix broken calls to write.
1936 * gdb.arch/spu-info.exp: Use prepare_for_testing.
1937 Fix checks for empty mailboxes. Update signal tests for corrected
1938 do_signal_test routine. Allow nonzero event status.
1939 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
1940 * gdb.cell/arch.exp: Use standard_output_file.
1941 * gdb.cell/break.exp: Likewise.
1942 * gdb.cell/bt.exp: Likewise.
1943 * gdb.cell/core.exp: Likewise.
1944 * gdb.cell/dwarfaddr.exp: Likewise.
1945 * gdb.cell/ea-cache.exp: Likewise.
1946 * gdb.cell/ea-standalone.exp: Likewise.
1947 * gdb.cell/f-regs.exp: Likewise.
1948 * gdb.cell/fork.exp: Likewise.
1949 * gdb.cell/gcore.exp: Likewise.
1950 * gdb.cell/mem-access.exp: Likewise.
1951 * gdb.cell/ptype.exp: Likewise.
1952 * gdb.cell/registers.exp: Likewise.
1953 * gdb.cell/sizeof.exp: Likewise.
1954 * gdb.cell/solib-symbol.exp: Likewise.
1955 * gdb.cell/solib.exp: Likewise.
1957 2017-11-25 Pedro Alves <palves@redhat.com>
1959 * gdb.base/complete-empty.exp: New file.
1960 * gdb.base/completion.exp: Adjust.
1962 2017-11-25 Pedro Alves <palves@redhat.com>
1964 * gdb.linespec/cpls-ops.cc: New file.
1965 * gdb.linespec/cpls-ops.exp: New file.
1966 * lib/completion-support.exp (test_complete_prefix_range_re): New,
1967 factored out from ...
1968 (test_complete_prefix_range): ... this.
1970 2017-11-24 Pedro Alves <palves@redhat.com>
1972 * gdb.linespec/cpcompletion.exp: New file.
1973 * gdb.linespec/cpls-hyphen.cc: New file.
1974 * gdb.linespec/cpls.cc: New file.
1975 * gdb.linespec/cpls2.cc: New file.
1976 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
1977 test to use test_gdb_complete_unique. Add label completion,
1978 keyword completion and explicit location completion tests.
1979 * lib/completion-support.exp: New file.
1981 2017-11-24 Joel Brobecker <brobecker@adacore.com>
1983 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
1984 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
1985 when hitting an exception catchpoint.
1987 2017-11-22 Yao Qi <yao.qi@linaro.org>
1989 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
1991 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
1993 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
1994 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
1995 * gdb.dwarf2/info-locals-optimized-out.c: New file.
1997 2017-11-22 Yao Qi <yao.qi@linaro.org>
1999 * gdb.base/info-os.exp: Pass pthreads.
2000 * gdb.multi/multi-attach.exp: Likewise.
2002 2017-11-22 Yao Qi <yao.qi@linaro.org>
2004 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
2007 2017-11-22 Yao Qi <yao.qi@linaro.org>
2009 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
2010 * gdb.base/break-interp.exp: Likewise.
2011 * gdb.base/jit-attach-pie.exp: Likewise.
2013 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
2015 * gdb.base/float128.c (large128): New variable.
2016 * gdb.base/float128.exp: Add test to print largest __float128 value.
2018 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
2020 * gdb.arch/vsx-regs.exp: Update register content checks.
2022 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
2024 * gdb.arch/ppc-longdouble.exp: New file.
2025 * gdb.arch/ppc-longdouble.c: Likewise.
2027 2017-11-21 Pedro Alves <palves@redhat.com>
2029 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
2031 2017-11-20 Pedro Alves <palves@redhat.com>
2033 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
2034 (long_double_typedef): New typedefs.
2035 Use DEF on double and long double.
2036 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
2038 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
2039 and 'long_double_ptr_same_size' locals. Use them to decide
2040 whether cast from array/function to float is valid/invalid.
2042 2017-11-17 Tom Tromey <tom@tromey.com>
2044 * gdb.rust/traits.rs: New file.
2045 * gdb.rust/traits.exp: New file.
2047 2017-11-17 Joel Brobecker <brobecker@adacore.com>
2049 * gdb.ada/minsyms: New testcase.
2051 2017-11-16 Pedro Alves <palves@redhat.com>
2053 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
2054 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
2056 2017-11-16 Pedro Alves <palves@redhat.com>
2058 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
2059 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
2061 2017-11-16 Pedro Alves <palves@redhat.com>
2063 * gdb.server/reconnect-ctrl-c.c: New file.
2064 * gdb.server/reconnect-ctrl-c.exp: New file.
2066 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
2068 * gdb.python/py-rbreak.exp: New file.
2069 * gdb.python/py-rbreak.c: New file.
2070 * gdb.python/py-rbreak-func2.c: New file.
2072 2017-11-16 Pedro Alves <palves@redhat.com>
2074 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
2076 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
2079 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
2081 * gdb.tui/completionn.exp (test_tab_completion): Add space in
2084 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
2086 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
2089 2017-11-09 Pedro Alves <palves@redhat.com>
2091 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
2092 factored out from ...
2093 (top level): ... here, and adjusted to avoid expecting beyond the
2094 prompt in a single gdb_test_multiple.
2096 2017-11-09 Pedro Alves <palves@redhat.com>
2098 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
2100 * gdb.server/ext-attach.exp ("kill" test): Likewise.
2101 * gdb.server/ext-restart.exp ("kill" test): Likewise.
2102 * gdb.server/ext-run.exp ("kill" test): Likewise.
2103 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
2105 2017-11-09 Pedro Alves <palves@redhat.com>
2107 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
2108 match till end of line.
2110 2017-11-09 Pedro Alves <palves@redhat.com>
2112 * gdb.base/memattr.exp: Tighten regexes to match the end line.
2114 2017-11-09 Pedro Alves <palves@redhat.com>
2116 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
2117 New procedures, factored out from ...
2118 (top level): ... here, and adjusted to avoid expecting beyond the
2121 2017-11-09 Pedro Alves <palves@redhat.com>
2123 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
2124 output. Fix '?' match.
2126 2017-11-08 Joel Brobecker <brobecker@adacore.com>
2128 * gdb.ada/scoped_watch: New testcase.
2129 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
2130 which is actually correct.
2131 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
2132 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
2134 2017-11-08 Pedro Alves <palves@redhat.com>
2136 * gdb.gdb/complaints.exp (test_initial_complaints)
2137 (test_serial_complaints, test_short_complaints): Call
2138 complaint_internal instead of complaint.
2140 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
2142 * gdb.threads/tls-core.c: New file.
2143 * gdb.threads/tls-core.exp: Likewise.
2145 2017-11-08 Pedro Alves <palves@redhat.com>
2147 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
2148 (p Exported_Capitalized): New test.
2149 (p exported_capitalized): New test.
2151 2017-11-07 Pedro Alves <palves@redhat.com>
2153 * gdb.cp/ena-dis-br-range.exp: Add more tests.
2155 2017-11-07 Pedro Alves <palves@redhat.com>
2157 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
2158 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
2159 (disable_invalid, disable_inverted, disable_negative): New
2161 ("bad numbers"): New set of tests.
2163 2017-11-07 Pedro Alves <palves@redhat.com>
2165 * gdb.cp/ena-dis-br-range.exp: Add tests.
2167 2017-11-07 Pedro Alves <palves@redhat.com>
2169 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
2171 2017-11-07 Xavier Roirand <roirand@adacore.com>
2172 Pedro Alves <palves@redhat.com>
2174 * gdb.base/ena-dis-br.exp: Add reference to
2175 gdb.cp/ena-dis-br-range.exp.
2176 * gdb.cp/ena-dis-br-range.exp: New file.
2177 * gdb.cp/ena-dis-br-range.cc: New file.
2179 2017-11-06 Pedro Alves <palves@redhat.com>
2181 * gdb.base/attach-non-pgrp-leader.c: New.
2182 * gdb.base/attach-non-pgrp-leader.exp: New.
2184 2017-11-06 Pedro Alves <palves@redhat.com>
2186 * configure.ac: No longer check for termio.h and sgtty.h.
2187 * configure: Regenerate.
2188 * remote-utils.c: Include termios.h instead of gdb_termios.h.
2189 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
2190 Remove termio and sgtty code.
2192 2017-11-03 Yao Qi <yao.qi@linaro.org>
2194 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
2197 2017-11-03 Yao Qi <yao.qi@linaro.org>
2199 * gdb.python/py-thrhandle.exp: Skip it if python is not
2202 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
2204 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
2205 as a breakpoint command.
2207 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
2210 * gdb.python/py-infthread.exp: Test calling
2211 InferiorThread.inferior () multiple times in a row.
2213 2017-10-27 Keith Seitz <keiths@redhat.com>
2215 * gdb.opt/inline-break.exp (break_info_1): New procedure.
2216 Test "info break" for every inlined function breakpoint.
2218 2017-10-27 Yao Qi <yao.qi@linaro.org>
2220 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
2222 2017-10-26 Patrick Frants <osscontribute@gmail.com>
2224 * gdb.cp/classes.exp (test_static_members): Test printing
2226 * gdb.cp/classes.c (struct Inner, struct Outer): New.
2227 (Inner::instance, Outer::instance): New.
2229 2017-10-24 Pedro Alves <palves@redhat.com>
2231 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
2232 extra console" test in two stages.
2234 2017-10-24 Pedro Alves <palves@redhat.com>
2236 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
2238 2017-10-24 Pedro Alves <palves@redhat.com>
2240 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
2243 2017-10-24 Pedro Alves <palves@redhat.com>
2245 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
2246 $attempt" and "stoppedtry $stoppedtry" test prefixes.
2248 2017-10-24 Pedro Alves <palves@redhat.com>
2250 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
2251 parameter and handle it. Don't output read value in test name.
2253 2017-10-24 Pedro Alves <palves@redhat.com>
2255 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
2258 2017-10-24 Pedro Alves <palves@redhat.com>
2260 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
2261 include the unstable output directory name in the test's name.
2262 (initial_setup_simple) <'set args'>: Use custom test name.
2264 2017-10-24 Pedro Alves <palves@redhat.com>
2266 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
2267 with explicit test name.
2269 2017-10-20 Pedro Alves <palves@redhat.com>
2271 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
2272 'wait -i'. Use gdb_assert and remote_close.
2274 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
2276 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
2277 number from variable rather than hard-coded.
2279 2017-10-19 Pedro Alves <palves@redhat.com>
2281 * gdb.base/long-inferior-output.c: New file.
2282 * gdb.base/long-inferior-output.exp: New file.
2284 2017-11-18 Keith Seitz <keiths@redhat.com>
2286 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
2289 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
2290 Add additional user-defined conversion operator tests.
2292 2017-10-17 Pedro Alves <palves@redhat.com>
2294 * boards/native-stdio-gdbserver.exp: Load "local-board".
2296 2017-10-17 Pedro Alves <palves@redhat.com>
2298 * gdb.base/quit-live.c: New file.
2299 * gdb.base/quit-live.exp: New file.
2301 2017-10-16 Keith Seitz <keiths@redhat.com>
2303 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
2304 (class_with_protected_typedef, class_with_private_typedef)
2305 (struct_with_public_typedef, struct_with_protected_typedef)
2306 (struct_with_private_typedef): New classes/structs.
2307 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
2308 typedefs and access specifiers.
2310 2017-10-16 Pedro Alves <palves@redhat.com>
2311 Simon Marchi <simon.marchi@polymtl.ca>
2313 * README (Local vs Remote vs Native): New section.
2314 * boards/local-board.exp: New file, with bits factored out from
2316 * boards/native-extended-gdbserver.exp: ... here. Load
2318 * boards/native-gdbserver.exp: Load "local-board".
2319 (${board}_spawn, ${board}_exec): Delete.
2320 * boards/native-stdio-gdbserver.exp: Most contents factored out to
2322 * boards/stdio-gdbserver-base.exp: ... this new file.
2323 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
2324 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
2326 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
2327 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
2328 stdio_gdbserver_command.
2329 (${board}_get_remote_address, ${board}_get_comm_port)
2330 (${board}_download, ${board}_upload): Delete.
2331 (get_target_remote_pipe_cmd): New.
2333 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
2335 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
2336 test_bkpt_deletion, test_bkpt_cond_and_cmds,
2337 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
2338 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
2339 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
2340 remove with_test_prefix.
2342 2017-10-13 Pedro Alves <palves@redhat.com>
2344 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
2345 * gdb.base/annota1.exp: Use it instead of is_remote.
2346 * gdb.base/annota3.exp: Use it instead of is_remote.
2347 * gdb.cp/annota2.exp: Use it instead of is_remote.
2348 * gdb.cp/annota3.exp: Use it instead of is_remote.
2349 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
2351 2017-10-13 Pedro Alves <palves@redhat.com>
2353 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
2354 (test_num_test_vars, run_and_count_vars, find_env)
2355 (test_set_unset_env, test_inherit_env_var): New procedures.
2356 (top level): Use them.
2358 2017-10-13 Pedro Alves <palves@redhat.com>
2360 * lib/selftest-support.exp (selftest_setup): Extend comments, and
2361 also skip on stub-like targets.
2363 2017-10-13 Pedro Alves <palves@redhat.com>
2366 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
2367 (top level): Move some tests to ...
2368 (test_not_found): ... this new procedure.
2369 (top level): Call it.
2371 2017-10-13 Pedro Alves <palves@redhat.com>
2373 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
2374 expect different "info terminal" output if testing with a
2377 2017-10-13 Pedro Alves <palves@redhat.com>
2378 Simon Marchi <simon.marchi@polymtl.ca>
2381 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
2383 2017-10-13 Pedro Alves <palves@redhat.com>
2385 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
2388 2017-10-13 Pedro Alves <palves@redhat.com>
2390 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
2393 2017-10-13 Pedro Alves <palves@redhat.com>
2395 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
2398 2017-10-13 Pedro Alves <palves@redhat.com>
2400 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
2402 (corefile_test_attach): Likewise. Check can_spawn_for_attach
2403 instead of is_remote.
2405 2017-10-13 Pedro Alves <palves@redhat.com>
2407 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
2408 (top level): Add comment.
2410 2017-10-13 Pedro Alves <palves@redhat.com>
2412 * gdb.base/remote.exp (top level): Fix comment typo and add
2415 2017-10-13 Pedro Alves <palves@redhat.com>
2416 Simon Marchi <simon.marchi@polymtl.ca>
2418 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
2419 calls and add comments. Skip test if use_gdb_stub is set.
2420 (top level): Use "set cwd" command instead of "cd" command.
2422 2017-10-13 Pedro Alves <palves@redhat.com>
2424 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
2425 is_remote target check.
2427 2017-10-13 Pedro Alves <palves@redhat.com>
2429 * gdb.base/scope.exp: Use build_executable + clean_restart +
2430 gdb_file_cmd instead of prepare_for_testing and no longer skip
2431 "before run" tests on is_remote target boards. Update comments.
2432 * boards/native-extended-gdbserver.exp
2433 (extended_gdbserver_load_last_file): New, factored out from ...
2434 (gdb_load): ... this. Move further below and add comment.
2435 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
2437 2017-10-12 Pedro Alves <palves@redhat.com>
2439 * gdb.base/attach.exp: Remove references to gdb64.
2440 * gdb.base/dbx.exp: Remove references to gdb64.
2442 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
2443 Pedro Alves <palves@redhat.com>
2445 * gdb.base/label.exp: Remove is_remote target check.
2447 2017-10-12 Pedro Alves <palves@redhat.com>
2449 * gdb.base/auvx.exp (coredir): Update comment.
2450 (top level) <core_works>: Use "set cwd" command instead of "cd"
2453 2017-10-12 Pedro Alves <palves@redhat.com>
2454 Simon Marchi <simon.marchi@polymtl.ca>
2456 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
2459 2017-10-12 Pedro Alves <palves@redhat.com>
2460 Simon Marchi <simon.marchi@polymtl.ca>
2462 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
2463 Instead skip if there's any gdb_protocol set.
2465 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
2466 Pedro Alves <palves@redhat.com>
2468 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
2470 2017-10-12 Pedro Alves <palves@redhat.com>
2471 Simon Marchi <simon.marchi@polymtl.ca>
2473 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
2474 instead of on dejagnu remote boards.
2476 2017-10-12 Pedro Alves <palves@redhat.com>
2477 Simon Marchi <simon.marchi@polymtl.ca>
2479 * gdb.base/inferior-died.exp: Remove is_remote and isnative
2480 checks. Use build_executable + clean_restart instead of
2481 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
2482 of enabling non-stop after starting gdb.
2484 2017-10-12 Pedro Alves <palves@redhat.com>
2486 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
2487 * gdb.threads/non-ldr-exc-2.exp: Ditto.
2488 * gdb.threads/non-ldr-exc-3.exp: Ditto.
2489 * gdb.threads/non-ldr-exc-4.exp: Ditto.
2491 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
2493 * gdb.arch/arc-tdesc-cpu.exp: New file.
2494 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
2496 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
2498 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
2500 2017-10-10 Pedro Alves <palves@redhat.com>
2502 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
2505 2017-10-10 Pedro Alves <palves@redhat.com>
2507 * lib/selftest-support.exp (selftest_setup): Update for
2508 captured_command_loop's prototype change.
2510 2017-10-09 Pedro Alves <palves@redhat.com>
2512 Test both arch1=>arch2 and arch2=>arch1.
2514 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
2515 (srcfile2, binfile2, march1, march2): Remove globals. Largely
2517 (append_arch1_options, append_arch2_options, append_arch_options)
2518 (build_executables): New procedures.
2519 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
2521 (top level): Add new 'first_arch' testing axis.
2523 2017-10-09 Pedro Alves <palves@redhat.com>
2525 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
2527 (thread_start, all_started): New functions.
2528 (main): Spawn new thread and wait until it is scheduled.
2529 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
2531 (do_test): Add 'selected_thread' parameter. Run to all_started
2532 instead of main. Explicitly set the breakpoint at main. Switch
2533 to the SELECTED_THREAD thread.
2534 (top level): Test handling the exec event with either the main
2535 thread or the second thread selected.
2537 2017-10-09 Pedro Alves <palves@redhat.com>
2539 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
2540 logic. Move STOP marker after the value checks.
2541 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
2544 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
2546 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
2548 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
2550 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
2551 integer-to-dfp conversion.
2552 * gdb.base/dfp-test.exp: Likewise.
2554 2017-10-04 Pedro Alves <palves@redhat.com>
2556 * gdb.multi/hangout.c: Include <unistd.h>.
2557 (hangout_loop): New function.
2558 (main): Call alarm. Call hangout_loop in a loop.
2559 * gdb.multi/hello.c: Include <unistd.h>.
2560 (hello_loop): New function.
2561 (main): Call alarm. Call hangout_loop in a loop.
2562 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
2563 inferior with the other selected.
2565 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
2567 * gdb.mi/list-thread-groups-available.exp: New file.
2568 * gdb.mi/list-thread-groups-available.c: New file.
2570 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
2572 * gdb.base/set-cwd.exp: Make it available on
2573 native-extended-gdbserver.
2575 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
2577 * gdb.base/set-cwd.c: New file.
2578 * gdb.base/set-cwd.exp: Likewise.
2580 2017-10-02 Tom Tromey <tom@tromey.com>
2583 * gdb.rust/simple.rs (main): New variable "fslice".
2584 * gdb.rust/simple.exp: Add slice tests. Update string tests.
2586 2017-10-02 Tom Tromey <tom@tromey.com>
2588 * gdb.rust/simple.exp: Test ptype of a slice.
2590 2017-10-02 Tom Tromey <tom@tromey.com>
2592 * gdb.rust/simple.exp: Test index of slice.
2594 2017-09-27 Tom Tromey <tom@tromey.com>
2596 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
2598 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
2599 Pedro Alves <palves@redhat.com>
2601 * gdb.base/compare-sections.exp (get value of read-only section): Read
2603 (corrupt read-only section): Likewise and don't set written if patching
2606 2017-09-21 Kevin Buettner <kevinb@redhat.com>
2608 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
2611 2017-09-20 Pedro Alves <palves@redhat.com>
2613 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
2614 symbol names in gdb's output.
2615 * gdb.cp/overload.exp ("list all overloads"): Likewise.
2617 2017-09-20 Pedro Alves <palves@redhat.com>
2619 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
2621 (test_list_ambiguous_symbol): ... this and add a symbol name
2623 (test_list_ambiguous_function): Reimplement on top of
2624 test_list_ambiguous_symbol and also test listing ambiguous
2626 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
2627 (ambiguous_fun): ... this.
2628 (ambiguous_var): New.
2629 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
2630 (ambiguous_fun): ... this.
2631 (ambiguous_var): New.
2633 2017-09-19 John Baldwin <jhb@FreeBSD.org>
2635 * gdb.base/starti.c: New file.
2636 * gdb.base/starti.exp: New file.
2637 * lib/gdb.exp (gdb_starti_cmd): New procedure.
2639 2017-09-14 Pedro Alves <palves@redhat.com>
2641 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
2642 (top level): Use it instead of runto.
2644 2017-09-11 Tom Tromey <tom@tromey.com>
2646 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
2648 2017-09-11 Tom Tromey <tom@tromey.com>
2650 * gdb.python/py-infthread.exp: Add tests for new_thread event.
2651 * gdb.python/py-inferior.exp: Add tests for new inferior events.
2653 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
2655 * gdb.fortran/printing-types.exp: New file.
2656 * gdb.fortran/printing-types.exp: New file.
2658 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
2660 * gdb.fortran/vla-ptype.exp: Fix typos.
2661 * gdb.fortran/vla-value.exp: Same.
2663 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
2665 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
2666 * gdb.mi/mi-var-child-f.exp: Likewise.
2667 * gdb.mi/mi-vla-fortran.exp: Likewise.
2669 2017-09-08 Frank Penczek <frank.penczek@intel.com>
2670 Christoph Weinmann <christoph.t.weinmann@intel.com>
2671 Bernhard Heckel <bernhard.heckel@intel.com>
2673 * gdb.fortran/ptr-indentation.f90: New file.
2674 * gdb.fortran/ptr-indentation.exp: New file.
2676 2017-09-05 Tom Tromey <tom@tromey.com>
2679 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
2681 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
2683 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
2685 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2687 * gdb.threads/tls-nodebug-pie.c: New file.
2688 * gdb.threads/tls-nodebug-pie.exp: New file.
2690 2017-09-05 Tom Tromey <tom@tromey.com>
2692 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
2695 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
2697 * gdb.multi/multi-arch-exec.exp: Test with different
2698 "follow-exec-mode" settings.
2699 (do_test): New procedure.
2701 2017-09-04 Pedro Alves <palves@redhat.com>
2703 * gdb.base/func-static.c (S::method const, S::method volatile)
2704 (S::method volatile const): New methods.
2705 (c_s, v_s, cv_s): New instances.
2706 (main): Call method() on them.
2707 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
2708 (cannot_resolve): New procedure.
2709 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
2710 print-quote-unquoted columns.
2711 (do_test): Test printing each scope too.
2713 2017-09-04 Pedro Alves <palves@redhat.com>
2715 * gdb.base/local-static.exp: Also test with
2716 class::method::variable wholly quoted.
2717 * gdb.cp/m-static.exp (class::method::variable): Remove test.
2719 2017-09-04 Pedro Alves <palves@redhat.com>
2721 * gdb.base/local-static.c: New.
2722 * gdb.base/local-static.cc: New.
2723 * gdb.base/local-static.exp: New.
2725 2017-09-04 Pedro Alves <palves@redhat.com>
2727 * gdb.asm/asm-source.exp: Add casts to int.
2728 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
2729 (dataglobal64_1, dataglobal64_2): New globals.
2730 * gdb.base/nodebug.exp: Test different expressions involving the
2731 new globals, with print, whatis and ptype. Add casts to int.
2732 * gdb.base/solib-display.exp: Add casts to int.
2733 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
2734 * gdb.cp/m-static.exp: Add cast to int.
2735 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
2736 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
2737 tls variable with no debug info without a cast. Test with a cast
2739 * gdb.trace/entry-values.exp: Add casts.
2741 2017-09-04 Pedro Alves <palves@redhat.com>
2743 * gdb.base/nodebug.exp: Test that ptype's error about functions
2744 with unknown return type includes the function name too.
2746 2017-09-04 Pedro Alves <palves@redhat.com>
2748 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
2749 return type of munmap in infcall.
2750 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
2751 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
2752 type of ftell in infcall.
2753 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
2754 type of getpid in infcall.
2755 * gdb.base/infcall-exec.exp: Cast return type of execlp in
2757 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
2758 Bail on failure to extract the pid.
2759 * gdb.base/nodebug.c: #include <stdint.h>.
2760 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
2762 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
2763 Change expected output of print/whatis/ptype with functions with
2764 no debug info. Test all supported languages. Call
2765 test_call_promotion.
2766 * gdb.compile/compile.exp: Adjust expected output to expect
2768 * gdb.threads/siginfo-threads.exp: Likewise.
2770 2017-09-04 Pedro Alves <palves@redhat.com>
2772 * gdb.base/callfuncs.exp (do_function_calls): New parameter
2773 "prototypes". Test calling float functions via prototyped and
2774 unprototyped function pointers.
2775 (perform_all_tests): New parameter "prototypes". Pass it down.
2776 (top level): Pass down "prototypes" parameter to
2779 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2781 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
2782 Test with nested loops.
2784 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2786 * gdb.base/commands.exp: Call the new procedures.
2787 (loop_break_test, loop_continue_test): New procedures.
2789 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2791 * gdb.base/commands.exp: Call new procedure.
2792 (define_if_without_arg_test): New procedure.
2794 2017-09-04 Pedro Alves <palves@redhat.com>
2796 * gdb.base/list-ambiguous.exp: New file.
2797 * gdb.base/list-ambiguous0.c: New file.
2798 * gdb.base/list-ambiguous1.c: New file.
2799 * gdb.base/list.exp (test_list_range): Adjust expected output.
2801 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
2803 * gdb.base/share-env-with-gdbserver.c: New file.
2804 * gdb.base/share-env-with-gdbserver.exp: Likewise.
2806 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
2808 * gdb.base/commands.exp (gdbvar_simple_if_test,
2809 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
2810 progvar_simple_if_test, progvar_simple_while_test,
2811 progvar_complex_if_while_test, user_defined_command_test,
2812 user_defined_command_args_eval,
2813 user_defined_command_args_stack_test,
2814 user_defined_command_manyargs_test, bp_deleted_in_command_test,
2815 temporary_breakpoint_commands,
2816 gdb_test_no_prompt, redefine_hook_test,
2817 redefine_backtrace_test): Remove "global gdb_prompt".
2819 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
2821 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
2822 New proc, call it from toplevel.
2824 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
2827 * gdb.server/normal.c: New file, copied from gdb.base.
2828 * gdb.server/run-without-local-binary.exp: New file.
2830 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
2832 * gdb.arch/sparc64-adi.exp: New file.
2833 * gdb.arch/sparc64-adi.c: New file.
2835 2017-08-22 Pedro Alves <palves@redhat.com>
2837 * gdb.cp/overload.exp (line_range_pattern): New procedure.
2838 (top level): Add "list all overloads" tests.
2840 2017-08-22 Tom Tromey <tom@tromey.com>
2842 * gdb.gdb/xfullpath.exp: Remove.
2844 2017-08-21 Pedro Alves <palves@redhat.com>
2847 * gdb.base/symbol-alias.c: New.
2848 * gdb.base/symbol-alias2.c: New.
2849 * gdb.base/symbol-alias.exp: New.
2851 2017-08-21 Pedro Alves <palves@redhat.com>
2853 * gdb.base/dfp-test.c
2854 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
2855 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
2856 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
2857 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
2858 * gdb.base/whatis-ptype-typedefs.c: New.
2859 * gdb.base/whatis-ptype-typedefs.exp: New.
2860 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
2861 (an_int, an_int_type, an_int_type2): New globals.
2862 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
2863 involving typedefs and cast expressions.
2864 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
2865 (lookup_typedefs_function): New.
2866 (typedefs_pretty_printers_dict): New.
2867 (top level): Register lookup_typedefs_function in
2868 gdb.pretty_printers.
2870 2017-08-18 Yao Qi <yao.qi@linaro.org>
2872 * gdb.server/unittest.exp: New.
2874 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
2877 * gdb.base/environ.exp: Add test to check if 'unset environment'
2880 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2882 * lib/gdb.exp (universal_compile_options): New caching proc.
2883 (gdb_compile): Suppress GCC's coloring of messages.
2885 2017-08-14 Tom Tromey <tom@tromey.com>
2888 * gdb.base/printcmds.exp (test_radices): New function.
2889 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
2890 * gdb.base/sizeof.exp (check_valueof): Use p/d.
2891 * lib/gdb.exp (get_integer_valueof): Use p/d.
2893 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
2895 * lib/gdb.exp (get_valueof): Don't capture end-of-line
2898 2017-08-05 Tom Tromey <tom@tromey.com>
2900 * gdb.rust/simple.exp: Allow String to appear in a different
2903 2017-07-26 Yao Qi <yao.qi@linaro.org>
2905 * gdb.gdb/unittest.exp: Invoke command
2906 "maintenance check xml-descriptions".
2908 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2910 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
2912 (hex128): Drop erroneous calculation of parameters.
2914 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
2916 * gdb.python/py-unwind.exp: Disable stack protection when
2919 2017-07-20 Pedro Alves <palves@redhat.com>
2921 * gdb.base/default.exp (set language): Adjust expected output.
2923 2017-07-20 Pedro Alves <palves@redhat.com>
2925 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
2926 (test_minsym): ... this, and make static.
2927 (get_pck__foo__bar__minsym): Rename to ...
2928 (get_test_minsym): ... this.
2929 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
2930 symbol names and comments.
2931 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
2932 (get_test_minsym): ... this.
2933 (pck__foo__bar__minsym__2): Rename to ...
2934 (test_minsym): ... this.
2937 2017-07-17 Pedro Alves <palves@redhat.com>
2939 * gdb.base/completion.exp: Adjust expected output.
2940 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
2941 the completer works.
2943 2017-07-17 Pedro Alves <palves@redhat.com>
2945 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
2947 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2949 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
2951 2017-07-14 Tom Tromey <tom@tromey.com>
2954 * gdb.rust/simple.exp: Add tests.
2956 2017-07-14 Tom Tromey <tom@tromey.com>
2958 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
2960 2017-07-14 Pedro Alves <palves@redhat.com>
2962 * gdb.linespec/base/one/thefile.cc (z1): New function.
2963 * gdb.linespec/base/two/thefile.cc (z2): New function.
2964 * gdb.linespec/linespec.exp: Add tests.
2966 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
2968 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
2969 to mi_create_breakpoint.
2971 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
2973 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
2974 mi_create_breakpoint.
2976 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
2978 * gdb.dlang/demangle.exp: Update for demangling changes.
2980 2017-07-09 Tom Tromey <tom@tromey.com>
2982 * gdb.dwarf2/shortpiece.exp: New file.
2984 2017-07-06 David Blaikie <dblaikie@gmail.com>
2986 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
2987 built from fissiont-multi-cu{1,2}.c.
2988 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
2989 except putting 'main' and 'func' in separate CUs in the same DWO file.
2990 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
2992 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
2995 2017-07-06 Pedro Alves <palves@redhat.com>
2997 * gdb.python/py-unwind.exp: Test flushregs.
2999 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
3002 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
3003 tests for alias commands and trailing whitespace.
3005 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
3008 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
3011 2017-06-29 Pedro Alves <palves@redhat.com>
3013 * gdb.base/printcmds.exp: Add tests.
3015 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
3018 * gdb.base/reread-readsym.exp: New file.
3019 * gdb.base/reread-readsym.c: New file.
3021 2017-06-21 Kevin Buettner <kevinb@redhat.com>
3023 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
3026 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
3028 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
3030 * gdb.arch/powerpc-power9.s: Likewise.
3032 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
3034 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
3035 on 32-bit x86 targets. Exploit is_*_target macros where
3038 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3040 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
3043 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3045 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
3046 located in one or more DWARF pieces.
3048 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3050 * lib/gdb.exp (get_endianness): New proc.
3051 * gdb.arch/aarch64-fp.exp: Use it.
3052 * gdb.arch/altivec-regs.exp: Likewise.
3053 * gdb.arch/e500-regs.exp: Likewise.
3054 * gdb.arch/vsx-regs.exp: Likewise.
3055 * gdb.base/dump.exp: Likewise.
3056 * gdb.base/funcargs.exp: Likewise.
3057 * gdb.base/gnu_vector.exp: Likewise.
3058 * gdb.dwarf2/formdata16.exp: Likewise.
3059 * gdb.dwarf2/implptrpiece.exp: Likewise.
3060 * gdb.dwarf2/nonvar-access.exp: Likewise.
3061 * gdb.python/py-inferior.exp: Likewise.
3062 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
3064 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3067 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
3068 stack value pieces are taken from the LSB end.
3070 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3072 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
3073 variable at nonzero offset.
3075 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3077 * gdb.dwarf2/var-access.c: New file.
3078 * gdb.dwarf2/var-access.exp: New test.
3079 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
3081 2017-06-12 Tom Tromey <tom@tromey.com>
3083 * gdb.dwarf2/formdata16.exp: Add tests.
3085 2017-06-12 Tom Tromey <tom@tromey.com>
3087 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
3089 2017-06-12 Tom Tromey <tom@tromey.com>
3092 * gdb.reverse/i386-sse-reverse.exp: Update tests.
3093 * gdb.arch/vsx-regs.exp: Update tests.
3094 * gdb.arch/s390-vregs.exp (hex128): New proc.
3096 * gdb.arch/altivec-regs.exp: Update tests.
3098 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
3100 * gdb.base/startup-with-shell.c: New file.
3101 * gdb.base/startup-with-shell.exp: Likewise.
3103 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
3105 * gdb.server/non-existing-program.exp: Update regex in order to
3106 reflect the fact that gdbserver is now using fork_inferior (with a
3107 shell) to startup the inferior.
3109 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
3111 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
3112 support function calls from GDB.
3114 2017-05-21 Tom Tromey <tom@tromey.com>
3117 * gdb.rust/unsized.exp: New file.
3118 * gdb.rust/unsized.rs: New file.
3120 2017-05-19 Tom Tromey <tom@tromey.com>
3123 * gdb.rust/watch.exp: New file.
3124 * gdb.rust/watch.rs: New file.
3126 2017-05-18 Tom Tromey <tom@tromey.com>
3128 * gdb.rust/simple.exp: Allow Box to be qualified.
3130 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
3132 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
3134 2017-05-18 Pedro Alves <palves@redhat.com>
3136 * gdb.base/fileio.c (test_write, test_read, test_close)
3137 (test_fstat): Don't print 'ret' in the fail path.
3139 2017-05-18 Pedro Alves <palves@redhat.com>
3141 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
3142 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
3143 (test_system, test_rename, test_unlink, test_time): Change
3145 * gdb.base/fileio.exp (stop_msg): Adjust.
3147 2017-05-18 Pedro Alves <palves@redhat.com>
3149 * gdb.base/fileio.c (null_str): New global.
3150 (test_stat): Use it.
3151 * gdb.base/fileio.exp: Remove nowarnings.
3153 2017-05-17 Yao Qi <yao.qi@linaro.org>
3155 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
3157 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
3159 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
3161 (top-level): Invoke test_set_inferior_tty.
3163 2017-05-04 Pedro Alves <palves@redhat.com>
3165 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
3166 Add parens to print call for Python 3.
3168 2017-05-03 Keith Seitz <keiths@redhat.com>
3170 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
3173 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3175 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
3178 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3180 * gdb.python/py-record-btrace.exp: Remove test for
3181 gdb.BtraceInstruction.error.
3183 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3185 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
3187 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3189 * gdb.python/py-record-btrace-threads.c: New file.
3190 * gdb.python/py-record-btrace-threads.exp: New file.
3192 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
3195 * gdb.base/environ.exp: Make test available in all architectures.
3196 Move bits related to "info program" testing to
3197 gdb.base/info-program.exp. Rewrite tests to use the two new
3198 procedures mentione below.
3199 (test_set_show_env_var) New procedure.
3200 (test_set_show_env_var_equal): Likewise.
3201 * gdb.base/info-program.exp: New file.
3203 2017-04-27 Keith Seitz <keiths@redhat.com>
3205 * gdb.cp/oranking.cc (test15): New function.
3206 (main): Call test15 and declare additional variables for testing.
3207 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
3208 "p foo101('abc')" tests.
3209 Add tests for cv qualifier overloads.
3210 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
3211 "lvalue reference overload" test.
3212 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
3213 "print value of f1 on Child&& in f2" test.
3215 2017-04-19 Pedro Alves <palves@redhat.com>
3217 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
3219 (top level): Call it.
3220 * lib/gdb.exp (gdb_define_cmd): New procedure.
3222 2017-04-12 Pedro Alves <palves@redhat.com>
3225 * gdb.cp/wide_char_types.c: Include <wchar.h>.
3226 (wchar): New global.
3227 * gdb.cp/wide_char_types.exp (wide_char_types_program)
3228 (do_test_wide_char, wide_char_types_no_program, top level): Add
3231 2017-04-12 Pedro Alves <palves@redhat.com>
3234 * gdb.cp/wide_char_types.c: New file.
3235 * gdb.cp/wide_char_types.exp: New file.
3237 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
3240 * gdb.trace/tsv.exp: Add test for "tsave -r".
3242 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
3244 * gdb.dlang/watch-loc.c: New file.
3245 * gdb.dlang/watch-loc.exp: New file.
3247 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3249 * gdb.python/py-section-script.exp (sepdebug): New testcases.
3251 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
3253 * gdb.arch/arc-analyze-prologue.S: New file.
3254 * gdb.arch/arc-analyze-prologue.exp: Likewise.
3256 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
3258 * gdb.arch/arc-decode-insn.S: New file.
3259 * gdb.arch/arc-decode-insn.exp: Likewise.
3261 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
3264 * gdb.arch/sparc64-regs.exp: New file.
3265 * gdb.arch/sparc64-regs.S: Likewise.
3267 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
3269 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
3270 and memory view on Python 3.
3272 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
3273 Keith Seitz <keiths@redhat.com>
3276 * gdb.cp/demangle.exp: Add rvalue reference tests.
3277 * gdb.cp/rvalue-ref-casts.cc: New file.
3278 * gdb.cp/rvalue-ref-casts.exp: New file.
3279 * gdb.cp/rvalue-ref-overload.cc: New file.
3280 * gdb.cp/rvalue-ref-overload.exp: New file.
3281 * gdb.cp/rvalue-ref-params.cc: New file.
3282 * gdb.cp/rvalue-ref-params.exp: New file.
3283 * gdb.cp/rvalue-ref-sizeof.cc: New file.
3284 * gdb.cp/rvalue-ref-sizeof.exp: New file.
3285 * gdb.cp/rvalue-ref-types.cc: New file.
3286 * gdb.cp/rvalue-ref-types.exp: New file.
3287 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
3288 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
3290 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
3292 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
3295 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
3297 * lib/mi-support.exp (mi_gdb_test): Add additional message
3298 for unexpected output.
3300 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3302 * gdb.base/examine-backward.c (Barrier): New character array
3303 constant, to ensure that TestStrings is preceded by a string
3306 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3308 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
3309 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
3310 and implicit pointer into such a location.
3312 2017-03-16 Doug Evans <dje@google.com>
3314 * gdb.python/py-lazy-string (pointer): Really add new typedef.
3316 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
3318 * gdb.cp/m-static.exp: Fix expectation for prototype of
3319 test5.single_constructor and single_constructor::single_constructor.
3321 2017-03-16 Doug Evans <dje@google.com>
3323 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
3324 * gdb.guile/scm-lazy-string.c: New file.
3325 * gdb.guile/scm-value.exp: Move lazy string tests to ...
3326 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
3327 for pointer, array, typedef lazy strings.
3329 2017-03-16 Doug Evans <dje@google.com>
3331 PR python/17728, python/18439, python/18779
3332 * gdb.python/py-value.c (main) Delete locals sptr, sn.
3333 * gdb.python/py-lazy-string.c (pointer): New typedef.
3334 (main): New locals ptr, array, typedef_ptr.
3335 * gdb.python/py-value.exp: Move lazy string tests to ...
3336 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
3337 array, typedef lazy strings.
3339 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
3341 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
3342 Add optional 'test' parameter.
3344 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
3346 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3347 Skip for versions of DejaGnu < 1.5.
3349 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
3351 * lib/gdb.exp (dejagnu_version): New proc.
3352 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
3353 Use dejagnu_version.
3355 2017-03-10 Keith Seitz <keiths@redhat.com>
3358 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
3359 type from destructor regexps.
3360 Add a branch which actually passes the test.
3361 Adjust "ptype t5i" test names.
3363 2017-03-08 Pedro Alves <palves@redhat.com>
3365 * gdb.base/step-over-exit.exp: Add explicit test message.
3367 2017-03-08 Pedro Alves <palves@redhat.com>
3370 * gdb.threads/interrupt-while-step-over.c: New file.
3371 * gdb.threads/interrupt-while-step-over.exp: New file.
3373 2017-03-08 Pedro Alves <palves@redhat.com>
3375 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
3376 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
3378 2017-03-08 Pedro Alves <palves@redhat.com>
3380 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
3381 PKRU as not supported as a PASS.
3383 2017-03-08 Pedro Alves <palves@redhat.com>
3385 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
3386 prefix instead of $binfile1/$binfile2.
3387 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
3389 * gdb.python/py-completion.exp: Use "load python file" as test
3390 messages instead of unstable path names.
3392 2017-03-08 Pedro Alves <palves@redhat.com>
3393 Jan Kratochvil <jan.kratochvil@redhat.com>
3396 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3398 (top level): Call it.
3400 2017-03-08 Pedro Alves <palves@redhat.com>
3403 * gdb.tui/tui-nl-filtered-output.exp: New file.
3405 2017-03-08 Pedro Alves <palves@redhat.com>
3407 * gdb.base/completion.exp: Move TUI completion tests to ...
3408 * gdb.tui/completion.exp: ... this new file.
3410 2017-03-08 Pedro Alves <palves@redhat.com>
3412 * gdb.base/tui-disasm-long-lines.c,
3413 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
3414 gdb.base/tui-layout.exp: Move to ...
3415 * gdb.tui/: ... this new directory.
3417 2017-03-07 Pedro Alves <palves@redhat.com>
3419 * gdb.base/tui-layout.c: New file.
3420 * gdb.base/tui-layout.exp: New file.
3422 2017-03-07 Pedro Alves <palves@redhat.com>
3424 * gdb.base/tui-layout.c: Rename to ...
3425 * gdb.base/tui-disasm-long-lines.c: ... this.
3426 * gdb.base/tui-layout.exp: Rename to ...
3427 * gdb.base/tui-disasm-long-lines.exp: ... this.
3429 2017-03-07 Pedro Alves <palves@redhat.com>
3431 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
3433 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
3435 * i386-mpx-call.c: New file.
3436 * i386-mpx-call.exp: New file.
3438 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
3440 * gdb.arch/powerpc-power.exp: Delete test.
3441 * gdb.arch/powerpc-power.s: Likewise.
3442 * gdb.disasm/disassembler-options.exp: New test.
3443 * gdb.arch/powerpc-altivec.exp: Likewise.
3444 * gdb.arch/powerpc-altivec.s: Likewise.
3445 * gdb.arch/powerpc-altivec2.exp: Likewise.
3446 * gdb.arch/powerpc-altivec2.s: Likewise.
3447 * gdb.arch/powerpc-altivec3.exp: Likewise.
3448 * gdb.arch/powerpc-altivec3.s: Likewise.
3449 * gdb.arch/powerpc-power7.exp: Likewise.
3450 * gdb.arch/powerpc-power7.s: Likewise.
3451 * gdb.arch/powerpc-power8.exp: Likewise.
3452 * gdb.arch/powerpc-power8.s: Likewise.
3453 * gdb.arch/powerpc-power9.exp: Likewise.
3454 * gdb.arch/powerpc-power9.s: Likewise.
3455 * gdb.arch/powerpc-vsx.exp: Likewise.
3456 * gdb.arch/powerpc-vsx.s: Likewise.
3457 * gdb.arch/powerpc-vsx2.exp: Likewise.
3458 * gdb.arch/powerpc-vsx2.s: Likewise.
3459 * gdb.arch/powerpc-vsx3.exp: Likewise.
3460 * gdb.arch/powerpc-vsx3.s: Likewise.
3461 * gdb.arch/arm-disassembler-options.exp: Likewise.
3462 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
3463 * gdb.arch/s390-disassembler-options.exp: Likewise.
3465 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
3467 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
3468 (check_supported_features): ... this. Changed return type to void.
3469 (supports_rdseed): New static global.
3470 (rdseed): Check supports_rdseed.
3471 (initialize): Call check_supported_features.
3473 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3475 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
3476 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
3478 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
3479 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
3481 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3483 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
3486 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3488 * gdb.dwarf2/formdata16.c: New file.
3489 * gdb.dwarf2/formdata16.exp: New file.
3490 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
3492 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3494 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
3495 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
3496 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
3497 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
3500 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3502 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
3504 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
3507 * gdb.base/maint.exp: Add testcases for when the commands do
3510 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
3512 * gdb.cp/chained-calls.exp: Use p instead of P.
3514 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
3516 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
3517 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
3519 2017-02-14 Tom Tromey <tom@tromey.com>
3522 * gdb.python/py-events.exp: Add before_prompt event tests.
3524 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
3526 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
3528 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
3530 * gdb.linespec/explicit.c (my_unique_function_name): New function.
3531 (main): Call my_unique_function_name.
3532 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
3533 completion of patterns with a single match.
3534 Add missing -re switches to gdb_test_multiple calls.
3536 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
3538 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
3539 return if core file is not recognized.
3541 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
3543 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
3546 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
3548 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
3551 2017-02-10 Tom Tromey <tom@tromey.com>
3553 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
3555 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
3558 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
3560 2017-02-08 Jerome Guitton <guitton@adacore.com>
3562 * gdb.base/define.exp: Add test for command abbreviations
3565 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
3567 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
3568 * gdb.reverse/insn-reverse-x86.c: New file.
3570 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
3573 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
3575 2017-02-03 Tom Tromey <tom@tromey.com>
3578 * gdb.rust/simple.exp: Add new tests.
3580 2017-02-02 Pedro Alves <palves@redhat.com>
3582 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
3585 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3587 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
3588 taking a 2-byte value out of a 4-byte DWARF implicit value on
3590 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
3591 logic. Add test cases for DW_OP_implicit.
3593 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3595 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
3597 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3599 * gdb.btrace/enable.exp: Call gdb_exit before
3600 skip_gdbserver_tests.
3602 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3604 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
3607 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3609 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
3610 the test is skipped.
3611 * gdb.btrace/data.exp: Likewise.
3612 * gdb.btrace/delta.exp: Likewise.
3613 * gdb.btrace/dlopen.exp: Likewise.
3614 * gdb.btrace/enable-running.exp: Likewise.
3615 * gdb.btrace/enable.exp: Likewise.
3616 * gdb.btrace/exception.exp: Likewise.
3617 * gdb.btrace/function_call_history.exp: Likewise.
3618 * gdb.btrace/gcore.exp: Likewise.
3619 * gdb.btrace/instruction_history.exp: Likewise.
3620 * gdb.btrace/multi-thread-step.exp: Likewise.
3621 * gdb.btrace/nohist.exp: Likewise.
3622 * gdb.btrace/non-stop.exp: Likewise.
3623 * gdb.btrace/reconnect.exp: Likewise.
3624 * gdb.btrace/record_goto-step.exp: Likewise.
3625 * gdb.btrace/record_goto.exp: Likewise.
3626 * gdb.btrace/rn-dl-bind.exp: Likewise.
3627 * gdb.btrace/segv.exp: Likewise.
3628 * gdb.btrace/step.exp: Likewise.
3629 * gdb.btrace/stepi.exp: Likewise.
3630 * gdb.btrace/tailcall-only.exp: Likewise.
3631 * gdb.btrace/tailcall.exp: Likewise.
3632 * gdb.btrace/tsx.exp: Likewise.
3633 * gdb.btrace/unknown_functions.exp: Likewise.
3634 * gdb.btrace/vdso.exp: Likewise.
3636 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3638 * gdb.btrace/enable-running.c: New.
3639 * gdb.btrace/enable-running.exp: New.
3641 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
3643 * gdb.arch/amd64-gs_base.c: New file.
3644 * gdb.arch/amd64-gs_base.exp: New file.
3646 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
3648 * lib/memory.exp: Remove spurious empty newlines.
3650 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
3652 * gdb.python/py-bad-printers.exp: Load python file using "source".
3653 * gdb.python/py-events.exp: Likewise.
3654 * gdb.python/py-evsignal.exp: Likewise.
3655 * gdb.python/py-evthreads.exp: Likewise.
3656 * gdb.python/py-frame-args.exp: Likewise.
3657 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
3658 * gdb.python/py-framefilter-mi.exp: Likewise.
3659 * gdb.python/py-framefilter.exp: Likewise.
3660 * gdb.python/py-mi.exp: Likewise.
3661 * gdb.python/py-pp-maint.exp: Likewise.
3662 * gdb.python/py-pp-registration.exp: Likewise.
3663 * gdb.python/py-prettyprint.exp: Likewise.
3664 (run_lang_tests): Likewise.
3665 * gdb.python/py-typeprint.exp: Likewise.
3667 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
3669 * lib/memory.exp: New file.
3670 * lib/gdb.exp: Load memory.exp.
3671 * gdb.base/memattr.exp (delete_memory): Move proc to
3672 lib/memory.exp and rename to delete_memory_regions.
3673 Replace delete_memory with delete_memory_regions.
3674 Cleanup memory regions before tests.
3675 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
3678 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
3680 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
3682 (initialize): New function conditionally defined.
3683 (testcases): Move within conditional block.
3684 (main): Call initialize.
3685 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
3686 of gdb.reverse/insn-reverse.c.
3687 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
3688 gdb.reverse/insn-reverse.c.
3690 2017-01-26 Yao Qi <yao.qi@linaro.org>
3692 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
3693 disassemble on address 0.
3695 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
3696 Yao Qi <yao.qi@linaro.org>
3698 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
3699 * gdb.dwarf2/implptr-64bit.S: Remove.
3700 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
3701 variables in caller's context. Add DW_OP_implicit_value.
3703 2017-01-25 Yao Qi <yao.qi@linaro.org>
3705 * lib/dwarf.exp (Dwarf::_location): Handle
3706 DW_OP_GNU_implicit_pointer with proper size.
3708 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
3710 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
3711 and add untested calls.
3713 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
3715 * gdb.python/python.exp: Check line number against what GDB thinks
3716 the line number is for func1.
3718 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
3720 * gdb.dlang/debug-expr.exp: New file.
3722 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
3724 Fix test names for the following files:
3726 * gdb.ada/exec_changed.exp
3727 * gdb.ada/info_types.exp
3728 * gdb.arch/aarch64-atomic-inst.exp
3729 * gdb.arch/aarch64-fp.exp
3730 * gdb.arch/altivec-abi.exp
3731 * gdb.arch/altivec-regs.exp
3732 * gdb.arch/amd64-byte.exp
3733 * gdb.arch/amd64-disp-step.exp
3734 * gdb.arch/amd64-dword.exp
3735 * gdb.arch/amd64-entry-value-inline.exp
3736 * gdb.arch/amd64-entry-value-param.exp
3737 * gdb.arch/amd64-entry-value-paramref.exp
3738 * gdb.arch/amd64-entry-value.exp
3739 * gdb.arch/amd64-i386-address.exp
3740 * gdb.arch/amd64-invalid-stack-middle.exp
3741 * gdb.arch/amd64-invalid-stack-top.exp
3742 * gdb.arch/amd64-optimout-repeat.exp
3743 * gdb.arch/amd64-prologue-skip.exp
3744 * gdb.arch/amd64-prologue-xmm.exp
3745 * gdb.arch/amd64-stap-special-operands.exp
3746 * gdb.arch/amd64-stap-wrong-subexp.exp
3747 * gdb.arch/amd64-tailcall-cxx.exp
3748 * gdb.arch/amd64-tailcall-noret.exp
3749 * gdb.arch/amd64-tailcall-ret.exp
3750 * gdb.arch/amd64-tailcall-self.exp
3751 * gdb.arch/amd64-word.exp
3752 * gdb.arch/arm-bl-branch-dest.exp
3753 * gdb.arch/arm-disp-step.exp
3754 * gdb.arch/arm-neon.exp
3755 * gdb.arch/arm-single-step-kernel-helper.exp
3756 * gdb.arch/avr-flash-qualifier.exp
3757 * gdb.arch/disp-step-insn-reloc.exp
3758 * gdb.arch/e500-abi.exp
3759 * gdb.arch/e500-regs.exp
3760 * gdb.arch/ftrace-insn-reloc.exp
3761 * gdb.arch/i386-avx512.exp
3762 * gdb.arch/i386-bp_permanent.exp
3763 * gdb.arch/i386-byte.exp
3764 * gdb.arch/i386-cfi-notcurrent.exp
3765 * gdb.arch/i386-disp-step.exp
3766 * gdb.arch/i386-dr3-watch.exp
3767 * gdb.arch/i386-float.exp
3768 * gdb.arch/i386-gnu-cfi.exp
3769 * gdb.arch/i386-mpx-map.exp
3770 * gdb.arch/i386-mpx-sigsegv.exp
3771 * gdb.arch/i386-mpx-simple_segv.exp
3772 * gdb.arch/i386-mpx.exp
3773 * gdb.arch/i386-permbkpt.exp
3774 * gdb.arch/i386-prologue.exp
3775 * gdb.arch/i386-signal.exp
3776 * gdb.arch/i386-size-overlap.exp
3777 * gdb.arch/i386-unwind.exp
3778 * gdb.arch/i386-word.exp
3779 * gdb.arch/mips-fcr.exp
3780 * gdb.arch/powerpc-d128-regs.exp
3781 * gdb.arch/powerpc-stackless.exp
3782 * gdb.arch/ppc64-atomic-inst.exp
3783 * gdb.arch/s390-stackless.exp
3784 * gdb.arch/s390-tdbregs.exp
3785 * gdb.arch/s390-vregs.exp
3786 * gdb.arch/sparc-sysstep.exp
3787 * gdb.arch/thumb-bx-pc.exp
3788 * gdb.arch/thumb-singlestep.exp
3789 * gdb.arch/thumb2-it.exp
3790 * gdb.arch/vsx-regs.exp
3791 * gdb.asm/asm-source.exp
3792 * gdb.base/a2-run.exp
3793 * gdb.base/advance.exp
3794 * gdb.base/all-bin.exp
3797 * gdb.base/arithmet.exp
3798 * gdb.base/async-shell.exp
3799 * gdb.base/async.exp
3800 * gdb.base/attach-pie-noexec.exp
3801 * gdb.base/attach-twice.exp
3802 * gdb.base/auto-load.exp
3804 * gdb.base/bitfields.exp
3805 * gdb.base/break-always.exp
3806 * gdb.base/break-caller-line.exp
3807 * gdb.base/break-entry.exp
3808 * gdb.base/break-inline.exp
3809 * gdb.base/break-on-linker-gcd-function.exp
3810 * gdb.base/break-probes.exp
3811 * gdb.base/break.exp
3812 * gdb.base/breakpoint-shadow.exp
3813 * gdb.base/call-ar-st.exp
3814 * gdb.base/call-sc.exp
3815 * gdb.base/call-signal-resume.exp
3816 * gdb.base/call-strs.exp
3817 * gdb.base/callfuncs.exp
3818 * gdb.base/catch-fork-static.exp
3819 * gdb.base/catch-gdb-caused-signals.exp
3820 * gdb.base/catch-load.exp
3821 * gdb.base/catch-signal-fork.exp
3822 * gdb.base/catch-signal.exp
3823 * gdb.base/catch-syscall.exp
3824 * gdb.base/charset.exp
3825 * gdb.base/checkpoint.exp
3826 * gdb.base/chng-syms.exp
3827 * gdb.base/code-expr.exp
3828 * gdb.base/code_elim.exp
3829 * gdb.base/commands.exp
3830 * gdb.base/completion.exp
3831 * gdb.base/complex.exp
3832 * gdb.base/cond-expr.exp
3833 * gdb.base/condbreak.exp
3834 * gdb.base/consecutive.exp
3835 * gdb.base/continue-all-already-running.exp
3836 * gdb.base/coredump-filter.exp
3837 * gdb.base/corefile.exp
3839 * gdb.base/debug-expr.exp
3840 * gdb.base/define.exp
3842 * gdb.base/disabled-location.exp
3843 * gdb.base/disasm-end-cu.exp
3844 * gdb.base/disasm-optim.exp
3845 * gdb.base/display.exp
3846 * gdb.base/duplicate-bp.exp
3847 * gdb.base/ena-dis-br.exp
3848 * gdb.base/ending-run.exp
3849 * gdb.base/enumval.exp
3850 * gdb.base/environ.exp
3851 * gdb.base/eu-strip-infcall.exp
3852 * gdb.base/eval-avoid-side-effects.exp
3853 * gdb.base/eval-skip.exp
3854 * gdb.base/exitsignal.exp
3855 * gdb.base/expand-psymtabs.exp
3856 * gdb.base/filesym.exp
3857 * gdb.base/find-unmapped.exp
3858 * gdb.base/finish.exp
3859 * gdb.base/float.exp
3860 * gdb.base/foll-exec-mode.exp
3861 * gdb.base/foll-exec.exp
3862 * gdb.base/foll-fork.exp
3863 * gdb.base/fortran-sym-case.exp
3864 * gdb.base/freebpcmd.exp
3865 * gdb.base/func-ptr.exp
3866 * gdb.base/func-ptrs.exp
3867 * gdb.base/funcargs.exp
3868 * gdb.base/gcore-buffer-overflow.exp
3869 * gdb.base/gcore-relro-pie.exp
3870 * gdb.base/gcore-relro.exp
3871 * gdb.base/gcore.exp
3872 * gdb.base/gdb1090.exp
3873 * gdb.base/gdb11530.exp
3874 * gdb.base/gdb11531.exp
3875 * gdb.base/gdb1821.exp
3876 * gdb.base/gdbindex-stabs.exp
3877 * gdb.base/gdbvars.exp
3878 * gdb.base/hbreak.exp
3879 * gdb.base/hbreak2.exp
3880 * gdb.base/included.exp
3881 * gdb.base/infcall-input.exp
3882 * gdb.base/inferior-died.exp
3883 * gdb.base/infnan.exp
3884 * gdb.base/info-macros.exp
3885 * gdb.base/info-os.exp
3886 * gdb.base/info-proc.exp
3887 * gdb.base/info-shared.exp
3888 * gdb.base/info-target.exp
3889 * gdb.base/infoline.exp
3890 * gdb.base/interp.exp
3891 * gdb.base/interrupt.exp
3892 * gdb.base/jit-reader.exp
3893 * gdb.base/jit-simple.exp
3894 * gdb.base/kill-after-signal.exp
3895 * gdb.base/kill-detach-inferiors-cmd.exp
3896 * gdb.base/label.exp
3897 * gdb.base/langs.exp
3898 * gdb.base/ldbl_e308.exp
3899 * gdb.base/line-symtabs.exp
3900 * gdb.base/linespecs.exp
3902 * gdb.base/long_long.exp
3903 * gdb.base/longest-types.exp
3904 * gdb.base/maint.exp
3905 * gdb.base/max-value-size.exp
3906 * gdb.base/memattr.exp
3907 * gdb.base/mips_pro.exp
3908 * gdb.base/morestack.exp
3909 * gdb.base/moribund-step.exp
3910 * gdb.base/multi-forks.exp
3911 * gdb.base/nested-addr.exp
3912 * gdb.base/nextoverexit.exp
3913 * gdb.base/noreturn-finish.exp
3914 * gdb.base/noreturn-return.exp
3915 * gdb.base/nostdlib.exp
3916 * gdb.base/offsets.exp
3917 * gdb.base/opaque.exp
3918 * gdb.base/pc-fp.exp
3919 * gdb.base/permissions.exp
3920 * gdb.base/print-symbol-loading.exp
3921 * gdb.base/prologue-include.exp
3922 * gdb.base/psymtab.exp
3923 * gdb.base/ptype.exp
3924 * gdb.base/random-signal.exp
3925 * gdb.base/randomize.exp
3926 * gdb.base/range-stepping.exp
3927 * gdb.base/readline-ask.exp
3928 * gdb.base/recpar.exp
3929 * gdb.base/recurse.exp
3930 * gdb.base/relational.exp
3931 * gdb.base/restore.exp
3932 * gdb.base/return-nodebug.exp
3933 * gdb.base/return.exp
3934 * gdb.base/run-after-attach.exp
3935 * gdb.base/save-bp.exp
3936 * gdb.base/scope.exp
3937 * gdb.base/sect-cmd.exp
3938 * gdb.base/set-lang-auto.exp
3939 * gdb.base/set-noassign.exp
3940 * gdb.base/setvar.exp
3941 * gdb.base/sigall.exp
3942 * gdb.base/sigbpt.exp
3943 * gdb.base/siginfo-addr.exp
3944 * gdb.base/siginfo-infcall.exp
3945 * gdb.base/siginfo-obj.exp
3946 * gdb.base/siginfo.exp
3947 * gdb.base/signals-state-child.exp
3948 * gdb.base/signest.exp
3949 * gdb.base/sigstep.exp
3950 * gdb.base/sizeof.exp
3952 * gdb.base/solib-corrupted.exp
3953 * gdb.base/solib-nodir.exp
3954 * gdb.base/solib-search.exp
3955 * gdb.base/stack-checking.exp
3956 * gdb.base/stale-infcall.exp
3957 * gdb.base/stap-probe.exp
3958 * gdb.base/start.exp
3959 * gdb.base/step-break.exp
3960 * gdb.base/step-bt.exp
3961 * gdb.base/step-line.exp
3962 * gdb.base/step-over-exit.exp
3963 * gdb.base/step-over-syscall.exp
3964 * gdb.base/step-resume-infcall.exp
3965 * gdb.base/step-test.exp
3966 * gdb.base/store.exp
3967 * gdb.base/structs3.exp
3968 * gdb.base/sym-file.exp
3969 * gdb.base/symbol-without-target_section.exp
3971 * gdb.base/testenv.exp
3972 * gdb.base/ui-redirect.exp
3973 * gdb.base/until.exp
3974 * gdb.base/unwindonsignal.exp
3975 * gdb.base/value-double-free.exp
3976 * gdb.base/vla-datatypes.exp
3977 * gdb.base/vla-ptr.exp
3978 * gdb.base/vla-sideeffect.exp
3979 * gdb.base/volatile.exp
3980 * gdb.base/watch-cond-infcall.exp
3981 * gdb.base/watch-cond.exp
3982 * gdb.base/watch-non-mem.exp
3983 * gdb.base/watch-read.exp
3984 * gdb.base/watch-vfork.exp
3985 * gdb.base/watchpoint-cond-gone.exp
3986 * gdb.base/watchpoint-delete.exp
3987 * gdb.base/watchpoint-hw-hit-once.exp
3988 * gdb.base/watchpoint-hw.exp
3989 * gdb.base/watchpoint-stops-at-right-insn.exp
3990 * gdb.base/watchpoints.exp
3991 * gdb.base/wchar.exp
3992 * gdb.base/whatis-exp.exp
3993 * gdb.btrace/buffer-size.exp
3994 * gdb.btrace/data.exp
3995 * gdb.btrace/delta.exp
3996 * gdb.btrace/dlopen.exp
3997 * gdb.btrace/enable.exp
3998 * gdb.btrace/exception.exp
3999 * gdb.btrace/function_call_history.exp
4000 * gdb.btrace/gcore.exp
4001 * gdb.btrace/instruction_history.exp
4002 * gdb.btrace/nohist.exp
4003 * gdb.btrace/reconnect.exp
4004 * gdb.btrace/record_goto-step.exp
4005 * gdb.btrace/record_goto.exp
4006 * gdb.btrace/rn-dl-bind.exp
4007 * gdb.btrace/segv.exp
4008 * gdb.btrace/step.exp
4009 * gdb.btrace/stepi.exp
4010 * gdb.btrace/tailcall-only.exp
4011 * gdb.btrace/tailcall.exp
4012 * gdb.btrace/tsx.exp
4013 * gdb.btrace/unknown_functions.exp
4014 * gdb.btrace/vdso.exp
4015 * gdb.compile/compile-ifunc.exp
4016 * gdb.compile/compile-ops.exp
4017 * gdb.compile/compile-print.exp
4018 * gdb.compile/compile-setjmp.exp
4019 * gdb.cp/abstract-origin.exp
4020 * gdb.cp/ambiguous.exp
4021 * gdb.cp/annota2.exp
4022 * gdb.cp/annota3.exp
4023 * gdb.cp/anon-ns.exp
4024 * gdb.cp/anon-struct.exp
4025 * gdb.cp/anon-union.exp
4026 * gdb.cp/arg-reference.exp
4027 * gdb.cp/baseenum.exp
4029 * gdb.cp/breakpoint.exp
4030 * gdb.cp/bs15503.exp
4033 * gdb.cp/chained-calls.exp
4035 * gdb.cp/classes.exp
4036 * gdb.cp/cmpd-minsyms.exp
4037 * gdb.cp/converts.exp
4038 * gdb.cp/cp-relocate.exp
4039 * gdb.cp/cpcompletion.exp
4040 * gdb.cp/cpexprs.exp
4041 * gdb.cp/cplabel.exp
4042 * gdb.cp/cplusfuncs.exp
4043 * gdb.cp/cpsizeof.exp
4045 * gdb.cp/derivation.exp
4046 * gdb.cp/destrprint.exp
4047 * gdb.cp/dispcxx.exp
4048 * gdb.cp/enum-class.exp
4049 * gdb.cp/exception.exp
4050 * gdb.cp/exceptprint.exp
4051 * gdb.cp/expand-psymtabs-cxx.exp
4052 * gdb.cp/expand-sals.exp
4053 * gdb.cp/extern-c.exp
4054 * gdb.cp/filename.exp
4055 * gdb.cp/formatted-ref.exp
4056 * gdb.cp/fpointer.exp
4057 * gdb.cp/gdb1355.exp
4058 * gdb.cp/gdb2495.exp
4060 * gdb.cp/impl-this.exp
4061 * gdb.cp/infcall-dlopen.exp
4062 * gdb.cp/inherit.exp
4063 * gdb.cp/iostream.exp
4067 * gdb.cp/m-static.exp
4068 * gdb.cp/mb-ctor.exp
4069 * gdb.cp/mb-inline.exp
4070 * gdb.cp/mb-templates.exp
4071 * gdb.cp/member-name.exp
4072 * gdb.cp/member-ptr.exp
4073 * gdb.cp/meth-typedefs.exp
4075 * gdb.cp/method2.exp
4076 * gdb.cp/minsym-fallback.exp
4078 * gdb.cp/namelessclass.exp
4079 * gdb.cp/namespace-enum.exp
4080 * gdb.cp/namespace-nested-import.exp
4081 * gdb.cp/namespace.exp
4082 * gdb.cp/nextoverthrow.exp
4083 * gdb.cp/no-dmgl-verbose.exp
4084 * gdb.cp/non-trivial-retval.exp
4085 * gdb.cp/noparam.exp
4087 * gdb.cp/nsimport.exp
4088 * gdb.cp/nsnested.exp
4089 * gdb.cp/nsnoimports.exp
4090 * gdb.cp/nsrecurs.exp
4091 * gdb.cp/nsstress.exp
4092 * gdb.cp/nsusing.exp
4093 * gdb.cp/operator.exp
4094 * gdb.cp/oranking.exp
4095 * gdb.cp/overload-const.exp
4096 * gdb.cp/overload.exp
4097 * gdb.cp/ovldbreak.exp
4099 * gdb.cp/paren-type.exp
4100 * gdb.cp/parse-lang.exp
4101 * gdb.cp/pass-by-ref.exp
4102 * gdb.cp/pr-1023.exp
4103 * gdb.cp/pr-1210.exp
4105 * gdb.cp/pr10687.exp
4106 * gdb.cp/pr12028.exp
4107 * gdb.cp/pr17132.exp
4108 * gdb.cp/pr17494.exp
4112 * gdb.cp/printmethod.exp
4114 * gdb.cp/psymtab-parameter.exp
4115 * gdb.cp/ptype-cv-cp.exp
4116 * gdb.cp/ptype-flags.exp
4117 * gdb.cp/re-set-overloaded.exp
4118 * gdb.cp/ref-types.exp
4120 * gdb.cp/scope-err.exp
4123 * gdb.cp/static-method.exp
4124 * gdb.cp/static-print-quit.exp
4125 * gdb.cp/temargs.exp
4126 * gdb.cp/templates.exp
4127 * gdb.cp/try_catch.exp
4128 * gdb.cp/typedef-operator.exp
4130 * gdb.cp/userdef.exp
4131 * gdb.cp/using-crash.exp
4132 * gdb.cp/var-tag.exp
4133 * gdb.cp/virtbase.exp
4134 * gdb.cp/virtfunc.exp
4135 * gdb.cp/virtfunc2.exp
4136 * gdb.cp/vla-cxx.exp
4137 * gdb.disasm/t01_mov.exp
4138 * gdb.disasm/t02_mova.exp
4139 * gdb.disasm/t03_add.exp
4140 * gdb.disasm/t04_sub.exp
4141 * gdb.disasm/t05_cmp.exp
4142 * gdb.disasm/t06_ari2.exp
4143 * gdb.disasm/t07_ari3.exp
4144 * gdb.disasm/t08_or.exp
4145 * gdb.disasm/t09_xor.exp
4146 * gdb.disasm/t10_and.exp
4147 * gdb.disasm/t11_logs.exp
4148 * gdb.disasm/t12_bit.exp
4149 * gdb.disasm/t13_otr.exp
4150 * gdb.dlang/circular.exp
4151 * gdb.dwarf2/arr-stride.exp
4152 * gdb.dwarf2/arr-subrange.exp
4153 * gdb.dwarf2/atomic-type.exp
4154 * gdb.dwarf2/bad-regnum.exp
4155 * gdb.dwarf2/bitfield-parent-optimized-out.exp
4156 * gdb.dwarf2/callframecfa.exp
4157 * gdb.dwarf2/clztest.exp
4158 * gdb.dwarf2/corrupt.exp
4159 * gdb.dwarf2/data-loc.exp
4160 * gdb.dwarf2/dup-psym.exp
4161 * gdb.dwarf2/dw2-anon-mptr.exp
4162 * gdb.dwarf2/dw2-anonymous-func.exp
4163 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
4164 * gdb.dwarf2/dw2-bad-unresolved.exp
4165 * gdb.dwarf2/dw2-basic.exp
4166 * gdb.dwarf2/dw2-canonicalize-type.exp
4167 * gdb.dwarf2/dw2-case-insensitive.exp
4168 * gdb.dwarf2/dw2-common-block.exp
4169 * gdb.dwarf2/dw2-compdir-oldgcc.exp
4170 * gdb.dwarf2/dw2-compressed.exp
4171 * gdb.dwarf2/dw2-const.exp
4172 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
4173 * gdb.dwarf2/dw2-cu-size.exp
4174 * gdb.dwarf2/dw2-dup-frame.exp
4175 * gdb.dwarf2/dw2-entry-value.exp
4176 * gdb.dwarf2/dw2-icycle.exp
4177 * gdb.dwarf2/dw2-ifort-parameter.exp
4178 * gdb.dwarf2/dw2-inline-break.exp
4179 * gdb.dwarf2/dw2-inline-param.exp
4180 * gdb.dwarf2/dw2-intercu.exp
4181 * gdb.dwarf2/dw2-intermix.exp
4182 * gdb.dwarf2/dw2-lexical-block-bare.exp
4183 * gdb.dwarf2/dw2-linkage-name-trust.exp
4184 * gdb.dwarf2/dw2-minsym-in-cu.exp
4185 * gdb.dwarf2/dw2-noloc.exp
4186 * gdb.dwarf2/dw2-op-call.exp
4187 * gdb.dwarf2/dw2-op-out-param.exp
4188 * gdb.dwarf2/dw2-opt-structptr.exp
4189 * gdb.dwarf2/dw2-param-error.exp
4190 * gdb.dwarf2/dw2-producer.exp
4191 * gdb.dwarf2/dw2-ranges-base.exp
4192 * gdb.dwarf2/dw2-ref-missing-frame.exp
4193 * gdb.dwarf2/dw2-reg-undefined.exp
4194 * gdb.dwarf2/dw2-regno-invalid.exp
4195 * gdb.dwarf2/dw2-restore.exp
4196 * gdb.dwarf2/dw2-restrict.exp
4197 * gdb.dwarf2/dw2-single-line-discriminators.exp
4198 * gdb.dwarf2/dw2-strp.exp
4199 * gdb.dwarf2/dw2-undefined-ret-addr.exp
4200 * gdb.dwarf2/dw2-unresolved.exp
4201 * gdb.dwarf2/dw2-var-zero-addr.exp
4202 * gdb.dwarf2/dw4-sig-types.exp
4203 * gdb.dwarf2/dwz.exp
4204 * gdb.dwarf2/dynarr-ptr.exp
4205 * gdb.dwarf2/enum-type.exp
4206 * gdb.dwarf2/gdb-index.exp
4207 * gdb.dwarf2/implptr-64bit.exp
4208 * gdb.dwarf2/implptr-optimized-out.exp
4209 * gdb.dwarf2/implptr.exp
4210 * gdb.dwarf2/implref-array.exp
4211 * gdb.dwarf2/implref-const.exp
4212 * gdb.dwarf2/implref-global.exp
4213 * gdb.dwarf2/implref-struct.exp
4214 * gdb.dwarf2/mac-fileno.exp
4215 * gdb.dwarf2/main-subprogram.exp
4216 * gdb.dwarf2/member-ptr-forwardref.exp
4217 * gdb.dwarf2/method-ptr.exp
4218 * gdb.dwarf2/missing-sig-type.exp
4219 * gdb.dwarf2/nonvar-access.exp
4220 * gdb.dwarf2/opaque-type-lookup.exp
4221 * gdb.dwarf2/pieces-optimized-out.exp
4222 * gdb.dwarf2/pieces.exp
4223 * gdb.dwarf2/pr10770.exp
4224 * gdb.dwarf2/pr13961.exp
4225 * gdb.dwarf2/staticvirtual.exp
4226 * gdb.dwarf2/subrange.exp
4227 * gdb.dwarf2/symtab-producer.exp
4228 * gdb.dwarf2/trace-crash.exp
4229 * gdb.dwarf2/typeddwarf.exp
4230 * gdb.dwarf2/valop.exp
4231 * gdb.dwarf2/watch-notconst.exp
4232 * gdb.fortran/array-element.exp
4233 * gdb.fortran/charset.exp
4234 * gdb.fortran/common-block.exp
4235 * gdb.fortran/complex.exp
4236 * gdb.fortran/derived-type-function.exp
4237 * gdb.fortran/derived-type.exp
4238 * gdb.fortran/logical.exp
4239 * gdb.fortran/module.exp
4240 * gdb.fortran/multi-dim.exp
4241 * gdb.fortran/nested-funcs.exp
4242 * gdb.fortran/print-formatted.exp
4243 * gdb.fortran/subarray.exp
4244 * gdb.fortran/vla-alloc-assoc.exp
4245 * gdb.fortran/vla-datatypes.exp
4246 * gdb.fortran/vla-history.exp
4247 * gdb.fortran/vla-ptr-info.exp
4248 * gdb.fortran/vla-ptype-sub.exp
4249 * gdb.fortran/vla-ptype.exp
4250 * gdb.fortran/vla-sizeof.exp
4251 * gdb.fortran/vla-type.exp
4252 * gdb.fortran/vla-value-sub-arbitrary.exp
4253 * gdb.fortran/vla-value-sub-finish.exp
4254 * gdb.fortran/vla-value-sub.exp
4255 * gdb.fortran/vla-value.exp
4256 * gdb.fortran/whatis_type.exp
4258 * gdb.go/handcall.exp
4260 * gdb.go/integers.exp
4261 * gdb.go/methods.exp
4262 * gdb.go/package.exp
4263 * gdb.go/strings.exp
4266 * gdb.guile/scm-arch.exp
4267 * gdb.guile/scm-block.exp
4268 * gdb.guile/scm-breakpoint.exp
4269 * gdb.guile/scm-cmd.exp
4270 * gdb.guile/scm-disasm.exp
4271 * gdb.guile/scm-equal.exp
4272 * gdb.guile/scm-frame-args.exp
4273 * gdb.guile/scm-frame-inline.exp
4274 * gdb.guile/scm-frame.exp
4275 * gdb.guile/scm-iterator.exp
4276 * gdb.guile/scm-math.exp
4277 * gdb.guile/scm-objfile.exp
4278 * gdb.guile/scm-ports.exp
4279 * gdb.guile/scm-symbol.exp
4280 * gdb.guile/scm-symtab.exp
4281 * gdb.guile/scm-value-cc.exp
4282 * gdb.guile/types-module.exp
4283 * gdb.linespec/break-ask.exp
4284 * gdb.linespec/cpexplicit.exp
4285 * gdb.linespec/explicit.exp
4286 * gdb.linespec/keywords.exp
4287 * gdb.linespec/linespec.exp
4288 * gdb.linespec/ls-dollar.exp
4289 * gdb.linespec/ls-errs.exp
4290 * gdb.linespec/skip-two.exp
4291 * gdb.linespec/thread.exp
4292 * gdb.mi/mi-async.exp
4293 * gdb.mi/mi-basics.exp
4294 * gdb.mi/mi-break.exp
4295 * gdb.mi/mi-catch-load.exp
4297 * gdb.mi/mi-cmd-param-changed.exp
4298 * gdb.mi/mi-console.exp
4299 * gdb.mi/mi-detach.exp
4300 * gdb.mi/mi-disassemble.exp
4301 * gdb.mi/mi-eval.exp
4302 * gdb.mi/mi-file-transfer.exp
4303 * gdb.mi/mi-file.exp
4304 * gdb.mi/mi-fill-memory.exp
4305 * gdb.mi/mi-inheritance-syntax-error.exp
4306 * gdb.mi/mi-linespec-err-cp.exp
4307 * gdb.mi/mi-logging.exp
4308 * gdb.mi/mi-memory-changed.exp
4309 * gdb.mi/mi-read-memory.exp
4310 * gdb.mi/mi-record-changed.exp
4311 * gdb.mi/mi-reg-undefined.exp
4312 * gdb.mi/mi-regs.exp
4313 * gdb.mi/mi-return.exp
4314 * gdb.mi/mi-reverse.exp
4315 * gdb.mi/mi-simplerun.exp
4316 * gdb.mi/mi-solib.exp
4317 * gdb.mi/mi-stack.exp
4318 * gdb.mi/mi-stepi.exp
4319 * gdb.mi/mi-syn-frame.exp
4320 * gdb.mi/mi-until.exp
4321 * gdb.mi/mi-var-block.exp
4322 * gdb.mi/mi-var-child.exp
4323 * gdb.mi/mi-var-cmd.exp
4324 * gdb.mi/mi-var-cp.exp
4325 * gdb.mi/mi-var-display.exp
4326 * gdb.mi/mi-var-invalidate.exp
4327 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
4328 * gdb.mi/mi-vla-fortran.exp
4329 * gdb.mi/mi-watch.exp
4330 * gdb.mi/mi2-var-child.exp
4331 * gdb.mi/user-selected-context-sync.exp
4332 * gdb.modula2/unbounded-array.exp
4333 * gdb.multi/dummy-frame-restore.exp
4334 * gdb.multi/multi-arch-exec.exp
4335 * gdb.multi/multi-arch.exp
4336 * gdb.multi/tids.exp
4337 * gdb.multi/watchpoint-multi.exp
4338 * gdb.opencl/callfuncs.exp
4339 * gdb.opencl/convs_casts.exp
4340 * gdb.opencl/datatypes.exp
4341 * gdb.opencl/operators.exp
4342 * gdb.opencl/vec_comps.exp
4343 * gdb.opt/clobbered-registers-O2.exp
4344 * gdb.opt/inline-break.exp
4345 * gdb.opt/inline-bt.exp
4346 * gdb.opt/inline-cmds.exp
4347 * gdb.opt/inline-locals.exp
4348 * gdb.pascal/case-insensitive-symbols.exp
4349 * gdb.pascal/floats.exp
4350 * gdb.pascal/gdb11492.exp
4351 * gdb.python/lib-types.exp
4352 * gdb.python/py-arch.exp
4353 * gdb.python/py-as-string.exp
4354 * gdb.python/py-bad-printers.exp
4355 * gdb.python/py-block.exp
4356 * gdb.python/py-breakpoint-create-fail.exp
4357 * gdb.python/py-breakpoint.exp
4358 * gdb.python/py-caller-is.exp
4359 * gdb.python/py-cmd.exp
4360 * gdb.python/py-explore-cc.exp
4361 * gdb.python/py-explore.exp
4362 * gdb.python/py-finish-breakpoint.exp
4363 * gdb.python/py-finish-breakpoint2.exp
4364 * gdb.python/py-frame-args.exp
4365 * gdb.python/py-frame-inline.exp
4366 * gdb.python/py-frame.exp
4367 * gdb.python/py-framefilter-mi.exp
4368 * gdb.python/py-infthread.exp
4369 * gdb.python/py-lazy-string.exp
4370 * gdb.python/py-linetable.exp
4371 * gdb.python/py-mi-events.exp
4372 * gdb.python/py-mi-objfile.exp
4373 * gdb.python/py-mi.exp
4374 * gdb.python/py-objfile.exp
4375 * gdb.python/py-pp-integral.exp
4376 * gdb.python/py-pp-maint.exp
4377 * gdb.python/py-pp-re-notag.exp
4378 * gdb.python/py-pp-registration.exp
4379 * gdb.python/py-recurse-unwind.exp
4380 * gdb.python/py-strfns.exp
4381 * gdb.python/py-symbol.exp
4382 * gdb.python/py-symtab.exp
4383 * gdb.python/py-sync-interp.exp
4384 * gdb.python/py-typeprint.exp
4385 * gdb.python/py-unwind-maint.exp
4386 * gdb.python/py-unwind.exp
4387 * gdb.python/py-value-cc.exp
4388 * gdb.python/py-xmethods.exp
4389 * gdb.reverse/amd64-tailcall-reverse.exp
4390 * gdb.reverse/break-precsave.exp
4391 * gdb.reverse/break-reverse.exp
4392 * gdb.reverse/consecutive-precsave.exp
4393 * gdb.reverse/consecutive-reverse.exp
4394 * gdb.reverse/finish-precsave.exp
4395 * gdb.reverse/finish-reverse-bkpt.exp
4396 * gdb.reverse/finish-reverse.exp
4397 * gdb.reverse/fstatat-reverse.exp
4398 * gdb.reverse/getresuid-reverse.exp
4399 * gdb.reverse/i386-precsave.exp
4400 * gdb.reverse/i386-reverse.exp
4401 * gdb.reverse/i386-sse-reverse.exp
4402 * gdb.reverse/i387-env-reverse.exp
4403 * gdb.reverse/i387-stack-reverse.exp
4404 * gdb.reverse/insn-reverse.exp
4405 * gdb.reverse/machinestate-precsave.exp
4406 * gdb.reverse/machinestate.exp
4407 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4408 * gdb.reverse/pipe-reverse.exp
4409 * gdb.reverse/readv-reverse.exp
4410 * gdb.reverse/recvmsg-reverse.exp
4411 * gdb.reverse/rerun-prec.exp
4412 * gdb.reverse/s390-mvcle.exp
4413 * gdb.reverse/step-precsave.exp
4414 * gdb.reverse/step-reverse.exp
4415 * gdb.reverse/time-reverse.exp
4416 * gdb.reverse/until-precsave.exp
4417 * gdb.reverse/until-reverse.exp
4418 * gdb.reverse/waitpid-reverse.exp
4419 * gdb.reverse/watch-precsave.exp
4420 * gdb.reverse/watch-reverse.exp
4421 * gdb.rust/generics.exp
4422 * gdb.rust/methods.exp
4423 * gdb.rust/modules.exp
4424 * gdb.rust/simple.exp
4425 * gdb.server/connect-with-no-symbol-file.exp
4426 * gdb.server/ext-attach.exp
4427 * gdb.server/ext-restart.exp
4428 * gdb.server/ext-wrapper.exp
4429 * gdb.server/file-transfer.exp
4430 * gdb.server/server-exec-info.exp
4431 * gdb.server/server-kill.exp
4432 * gdb.server/server-mon.exp
4433 * gdb.server/wrapper.exp
4434 * gdb.stabs/exclfwd.exp
4435 * gdb.stabs/gdb11479.exp
4436 * gdb.threads/clone-new-thread-event.exp
4437 * gdb.threads/corethreads.exp
4438 * gdb.threads/current-lwp-dead.exp
4439 * gdb.threads/dlopen-libpthread.exp
4440 * gdb.threads/gcore-thread.exp
4441 * gdb.threads/sigstep-threads.exp
4442 * gdb.threads/watchpoint-fork.exp
4443 * gdb.trace/actions-changed.exp
4444 * gdb.trace/backtrace.exp
4445 * gdb.trace/change-loc.exp
4446 * gdb.trace/circ.exp
4447 * gdb.trace/collection.exp
4448 * gdb.trace/disconnected-tracing.exp
4449 * gdb.trace/ftrace.exp
4450 * gdb.trace/mi-trace-frame-collected.exp
4451 * gdb.trace/mi-trace-unavailable.exp
4452 * gdb.trace/mi-traceframe-changed.exp
4453 * gdb.trace/mi-tsv-changed.exp
4454 * gdb.trace/no-attach-trace.exp
4455 * gdb.trace/passc-dyn.exp
4456 * gdb.trace/qtro.exp
4457 * gdb.trace/range-stepping.exp
4458 * gdb.trace/read-memory.exp
4459 * gdb.trace/save-trace.exp
4460 * gdb.trace/signal.exp
4461 * gdb.trace/status-stop.exp
4462 * gdb.trace/tfile.exp
4463 * gdb.trace/trace-break.exp
4464 * gdb.trace/trace-buffer-size.exp
4465 * gdb.trace/trace-condition.exp
4466 * gdb.trace/tracefile-pseudo-reg.exp
4467 * gdb.trace/tstatus.exp
4468 * gdb.trace/unavailable.exp
4469 * gdb.trace/while-dyn.exp
4470 * gdb.trace/while-stepping.exp
4472 2016-12-22 Doug Evans <xdje42@gmail.com>
4474 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
4477 2016-12-19 Yao Qi <yao.qi@linaro.org>
4479 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
4480 (test_with_self): Don't call do_steps_and_nexts, and remove
4481 code about stepping into xmalloc.
4483 2016-12-09 Yao Qi <yao.qi@linaro.org>
4485 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
4487 2016-12-09 Yao Qi <yao.qi@linaro.org>
4489 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
4491 2016-12-09 Pedro Alves <palves@redhat.com>
4493 * gdb.base/all-architectures-0.exp: New file.
4494 * gdb.base/all-architectures-1.exp: New file.
4495 * gdb.base/all-architectures-2.exp: New file.
4496 * gdb.base/all-architectures-3.exp: New file.
4497 * gdb.base/all-architectures-4.exp: New file.
4498 * gdb.base/all-architectures-5.exp: New file.
4499 * gdb.base/all-architectures-6.exp: New file.
4500 * gdb.base/all-architectures-7.exp: New file.
4501 * gdb.base/all-architectures.exp.in: New file.
4503 2016-12-09 Yao Qi <yao.qi@linaro.org>
4505 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
4507 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
4509 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
4511 Remove useless pattern-matching code.
4513 2016-12-02 Pedro Alves <palves@redhat.com>
4515 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
4517 (top level): Call it.
4519 2016-12-02 Pedro Alves <palves@redhat.com>
4521 * gdb.base/commands.exp (user_defined_command_args_stack_test):
4523 (top level): Call it.
4525 2016-12-02 Pedro Alves <palves@redhat.com>
4528 * gdb.base/commands.exp (user_defined_command_args_eval): New
4530 (top level): Call it.
4532 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
4534 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
4537 2016-12-02 Tom Tromey <tom@tromey.com>
4539 * gdb.dwarf2/main-subprogram.c: New file.
4540 * gdb.dwarf2/main-subprogram.exp: New file.
4542 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4544 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
4545 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
4546 gdb_test_no_output for a couple of cases.
4547 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
4549 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4551 Fix test names and standardize compilation error messages throughout
4552 the following files:
4555 * gdb.arch/alpha-step.exp
4556 * gdb.arch/e500-prologue.exp
4557 * gdb.arch/ftrace-insn-reloc.exp
4558 * gdb.arch/gdb1291.exp
4559 * gdb.arch/gdb1431.exp
4560 * gdb.arch/gdb1558.exp
4561 * gdb.arch/i386-dr3-watch.exp
4562 * gdb.arch/i386-sse-stack-align.exp
4563 * gdb.arch/ia64-breakpoint-shadow.exp
4564 * gdb.arch/pa-nullify.exp
4565 * gdb.arch/powerpc-aix-prologue.exp
4566 * gdb.arch/thumb-bx-pc.exp
4567 * gdb.base/annota1.exp
4568 * gdb.base/annota3.exp
4569 * gdb.base/arrayidx.exp
4570 * gdb.base/assign.exp
4571 * gdb.base/attach.exp
4574 * gdb.base/bfp-test.exp
4575 * gdb.base/bigcore.exp
4576 * gdb.base/bitfields2.exp
4577 * gdb.base/break-fun-addr.exp
4578 * gdb.base/break-probes.exp
4579 * gdb.base/call-rt-st.exp
4580 * gdb.base/callexit.exp
4581 * gdb.base/catch-fork-kill.exp
4582 * gdb.base/charset.exp
4583 * gdb.base/checkpoint.exp
4584 * gdb.base/comprdebug.exp
4585 * gdb.base/constvars.exp
4586 * gdb.base/coredump-filter.exp
4587 * gdb.base/cursal.exp
4588 * gdb.base/cvexpr.exp
4589 * gdb.base/detach.exp
4590 * gdb.base/display.exp
4591 * gdb.base/dmsym.exp
4592 * gdb.base/dprintf-pending.exp
4593 * gdb.base/dso2dso.exp
4594 * gdb.base/dtrace-probe.exp
4596 * gdb.base/enum_cond.exp
4597 * gdb.base/exe-lock.exp
4598 * gdb.base/exec-invalid-sysroot.exp
4599 * gdb.base/execl-update-breakpoints.exp
4600 * gdb.base/exprs.exp
4601 * gdb.base/fileio.exp
4603 * gdb.base/finish.exp
4604 * gdb.base/fixsection.exp
4605 * gdb.base/foll-vfork.exp
4606 * gdb.base/frame-args.exp
4607 * gdb.base/gcore.exp
4608 * gdb.base/gdb1250.exp
4609 * gdb.base/global-var-nested-by-dso.exp
4610 * gdb.base/gnu-ifunc.exp
4611 * gdb.base/hashline1.exp
4612 * gdb.base/hashline2.exp
4613 * gdb.base/hashline3.exp
4614 * gdb.base/hbreak-in-shr-unsupported.exp
4616 * gdb.base/infcall-input.exp
4617 * gdb.base/info-fun.exp
4618 * gdb.base/info-shared.exp
4619 * gdb.base/jit-simple.exp
4620 * gdb.base/jit-so.exp
4623 * gdb.base/label.exp
4624 * gdb.base/lineinc.exp
4625 * gdb.base/logical.exp
4626 * gdb.base/longjmp.exp
4627 * gdb.base/macscp.exp
4628 * gdb.base/miscexprs.exp
4629 * gdb.base/new-ui-echo.exp
4630 * gdb.base/new-ui-pending-input.exp
4631 * gdb.base/new-ui.exp
4632 * gdb.base/nodebug.exp
4633 * gdb.base/nofield.exp
4634 * gdb.base/offsets.exp
4635 * gdb.base/overlays.exp
4636 * gdb.base/pending.exp
4637 * gdb.base/pointers.exp
4638 * gdb.base/pr11022.exp
4639 * gdb.base/printcmds.exp
4640 * gdb.base/prologue.exp
4641 * gdb.base/ptr-typedef.exp
4642 * gdb.base/realname-expand.exp
4643 * gdb.base/relativedebug.exp
4644 * gdb.base/relocate.exp
4645 * gdb.base/remote.exp
4646 * gdb.base/reread.exp
4647 * gdb.base/return2.exp
4648 * gdb.base/savedregs.exp
4650 * gdb.base/sepdebug.exp
4651 * gdb.base/sepsymtab.exp
4652 * gdb.base/set-inferior-tty.exp
4653 * gdb.base/setshow.exp
4654 * gdb.base/shlib-call.exp
4655 * gdb.base/sigaltstack.exp
4656 * gdb.base/siginfo-addr.exp
4657 * gdb.base/signals.exp
4658 * gdb.base/signull.exp
4659 * gdb.base/sigrepeat.exp
4660 * gdb.base/so-impl-ld.exp
4661 * gdb.base/solib-display.exp
4662 * gdb.base/solib-overlap.exp
4663 * gdb.base/solib-search.exp
4664 * gdb.base/solib-symbol.exp
4665 * gdb.base/structs.exp
4666 * gdb.base/structs2.exp
4667 * gdb.base/symtab-search-order.exp
4668 * gdb.base/twice.exp
4669 * gdb.base/unload.exp
4670 * gdb.base/varargs.exp
4671 * gdb.base/watchpoint-solib.exp
4672 * gdb.base/watchpoint.exp
4673 * gdb.base/whatis.exp
4674 * gdb.base/wrong_frame_bt_full.exp
4675 * gdb.btrace/dlopen.exp
4676 * gdb.cell/ea-standalone.exp
4677 * gdb.cell/ea-test.exp
4678 * gdb.cp/dispcxx.exp
4679 * gdb.cp/gdb2384.exp
4680 * gdb.cp/method2.exp
4681 * gdb.cp/nextoverthrow.exp
4682 * gdb.cp/pr10728.exp
4683 * gdb.disasm/am33.exp
4684 * gdb.disasm/h8300s.exp
4685 * gdb.disasm/mn10300.exp
4686 * gdb.disasm/sh3.exp
4687 * gdb.dwarf2/dw2-dir-file-name.exp
4688 * gdb.fortran/complex.exp
4689 * gdb.fortran/library-module.exp
4690 * gdb.guile/scm-pretty-print.exp
4691 * gdb.guile/scm-symbol.exp
4692 * gdb.guile/scm-type.exp
4693 * gdb.guile/scm-value.exp
4694 * gdb.linespec/linespec.exp
4697 * gdb.mi/mi-breakpoint-changed.exp
4698 * gdb.mi/mi-dprintf-pending.exp
4699 * gdb.mi/mi-dprintf.exp
4700 * gdb.mi/mi-exit-code.exp
4701 * gdb.mi/mi-pending.exp
4702 * gdb.mi/mi-solib.exp
4703 * gdb.mi/new-ui-mi-sync.exp
4704 * gdb.mi/pr11022.exp
4705 * gdb.mi/user-selected-context-sync.exp
4706 * gdb.opt/solib-intra-step.exp
4707 * gdb.python/py-events.exp
4708 * gdb.python/py-finish-breakpoint.exp
4709 * gdb.python/py-mi.exp
4710 * gdb.python/py-prettyprint.exp
4711 * gdb.python/py-shared.exp
4712 * gdb.python/py-symbol.exp
4713 * gdb.python/py-template.exp
4714 * gdb.python/py-type.exp
4715 * gdb.python/py-value.exp
4716 * gdb.reverse/solib-precsave.exp
4717 * gdb.reverse/solib-reverse.exp
4718 * gdb.server/solib-list.exp
4719 * gdb.stabs/weird.exp
4720 * gdb.threads/reconnect-signal.exp
4721 * gdb.threads/stepi-random-signal.exp
4722 * gdb.trace/actions.exp
4724 * gdb.trace/backtrace.exp
4725 * gdb.trace/change-loc.exp
4726 * gdb.trace/deltrace.exp
4727 * gdb.trace/ftrace-lock.exp
4728 * gdb.trace/ftrace.exp
4729 * gdb.trace/infotrace.exp
4730 * gdb.trace/mi-tracepoint-changed.exp
4731 * gdb.trace/packetlen.exp
4732 * gdb.trace/passcount.exp
4733 * gdb.trace/pending.exp
4734 * gdb.trace/range-stepping.exp
4735 * gdb.trace/report.exp
4736 * gdb.trace/stap-trace.exp
4737 * gdb.trace/tfind.exp
4738 * gdb.trace/trace-break.exp
4739 * gdb.trace/trace-condition.exp
4740 * gdb.trace/trace-enable-disable.exp
4741 * gdb.trace/trace-mt.exp
4742 * gdb.trace/tracecmd.exp
4743 * gdb.trace/tspeed.exp
4747 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4749 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
4750 with gdb_test_no_output.
4751 Use command as test name.
4753 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4755 Fix test names starting with uppercase throughout the files.
4757 * gdb.ada/assign_1.exp
4758 * gdb.ada/boolean_expr.exp
4759 * gdb.base/arrayidx.exp
4761 * gdb.base/gcore-buffer-overflow.exp
4762 * gdb.base/testenv.exp
4763 * gdb.compile/compile.exp
4764 * gdb.python/py-framefilter-invalidarg.exp
4765 * gdb.python/py-framefilter.exp
4767 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4769 Fix test names starting with uppercase throughout the files.
4771 * gdb.ada/array_return.exp
4772 * gdb.ada/expr_delims.exp
4773 * gdb.ada/mi_dyn_arr.exp
4774 * gdb.ada/mi_interface.exp
4775 * gdb.ada/mi_var_array.exp
4776 * gdb.ada/watch_arg.exp
4777 * gdb.arch/alpha-step.exp
4778 * gdb.arch/altivec-regs.exp
4779 * gdb.arch/e500-regs.exp
4780 * gdb.arch/powerpc-d128-regs.exp
4781 * gdb.base/arrayidx.exp
4782 * gdb.base/break.exp
4783 * gdb.base/checkpoint.exp
4784 * gdb.base/debug-expr.exp
4785 * gdb.base/dmsym.exp
4786 * gdb.base/radix.exp
4787 * gdb.base/sepdebug.exp
4788 * gdb.base/testenv.exp
4789 * gdb.base/watch_thread_num.exp
4790 * gdb.base/watchpoint-cond-gone.exp
4791 * gdb.cell/break.exp
4792 * gdb.cell/ea-cache.exp
4793 * gdb.compile/compile.exp
4794 * gdb.cp/gdb2495.exp
4795 * gdb.gdb/selftest.exp
4796 * gdb.gdb/xfullpath.exp
4798 * gdb.go/integers.exp
4799 * gdb.objc/basicclass.exp
4800 * gdb.pascal/hello.exp
4801 * gdb.pascal/integers.exp
4802 * gdb.python/py-breakpoint.exp
4803 * gdb.python/py-cmd.exp
4804 * gdb.python/py-linetable.exp
4805 * gdb.python/py-xmethods.exp
4806 * gdb.python/python.exp
4807 * gdb.reverse/consecutive-precsave.exp
4808 * gdb.reverse/finish-precsave.exp
4809 * gdb.reverse/i386-precsave.exp
4810 * gdb.reverse/machinestate-precsave.exp
4811 * gdb.reverse/sigall-precsave.exp
4812 * gdb.reverse/solib-precsave.exp
4813 * gdb.reverse/step-precsave.exp
4814 * gdb.reverse/until-precsave.exp
4815 * gdb.reverse/watch-precsave.exp
4816 * gdb.threads/leader-exit.exp
4817 * gdb.threads/pthreads.exp
4818 * gdb.threads/wp-replication.exp
4819 * gdb.trace/actions.exp
4820 * gdb.trace/mi-tsv-changed.exp
4823 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4825 Fix test names starting with uppercase throughout the files.
4827 * gdb.arch/i386-bp_permanent.exp
4828 * gdb.arch/i386-gnu-cfi.exp
4829 * gdb.base/disasm-end-cu.exp
4830 * gdb.base/macscp.exp
4831 * gdb.base/pending.exp
4832 * gdb.base/watch_thread_num.exp
4833 * gdb.cp/exception.exp
4834 * gdb.cp/gdb2495.exp
4836 * gdb.python/py-evsignal.exp
4837 * gdb.python/python.exp
4838 * gdb.trace/tracecmd.exp
4840 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4842 Fix test names starting with uppercase throughout the files.
4844 * gdb.base/charset.exp
4846 * gdb.base/multi-forks.exp
4847 * gdb.guile/scm-progspace.exp
4848 * gdb.opencl/datatypes.exp
4849 * gdb.python/py-block.exp
4850 * gdb.python/py-function.exp
4851 * gdb.python/py-symbol.exp
4852 * gdb.python/py-symtab.exp
4853 * gdb.python/py-xmethods.exp
4854 * gdb.reverse/break-precsave.exp
4855 * gdb.reverse/break-reverse.exp
4856 * gdb.reverse/consecutive-precsave.exp
4857 * gdb.reverse/consecutive-reverse.exp
4858 * gdb.reverse/finish-precsave.exp
4859 * gdb.reverse/finish-reverse-bkpt.exp
4860 * gdb.reverse/finish-reverse.exp
4861 * gdb.reverse/fstatat-reverse.exp
4862 * gdb.reverse/getresuid-reverse.exp
4863 * gdb.reverse/i386-precsave.exp
4864 * gdb.reverse/i386-reverse.exp
4865 * gdb.reverse/i386-sse-reverse.exp
4866 * gdb.reverse/i387-stack-reverse.exp
4867 * gdb.reverse/insn-reverse.exp
4868 * gdb.reverse/machinestate-precsave.exp
4869 * gdb.reverse/machinestate.exp
4870 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4871 * gdb.reverse/pipe-reverse.exp
4872 * gdb.reverse/readv-reverse.exp
4873 * gdb.reverse/recvmsg-reverse.exp
4874 * gdb.reverse/rerun-prec.exp
4875 * gdb.reverse/s390-mvcle.exp
4876 * gdb.reverse/sigall-precsave.exp
4877 * gdb.reverse/sigall-reverse.exp
4878 * gdb.reverse/solib-precsave.exp
4879 * gdb.reverse/solib-reverse.exp
4880 * gdb.reverse/step-precsave.exp
4881 * gdb.reverse/step-reverse.exp
4882 * gdb.reverse/time-reverse.exp
4883 * gdb.reverse/until-precsave.exp
4884 * gdb.reverse/until-reverse.exp
4885 * gdb.reverse/waitpid-reverse.exp
4886 * gdb.reverse/watch-precsave.exp
4887 * gdb.reverse/watch-reverse.exp
4889 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4891 Fix test names starting with uppercase throughout the files.
4893 * gdb.arch/i386-mpx-simple_segv.exp
4894 * gdb.arch/i386-mpx.exp
4895 * gdb.arch/i386-permbkpt.exp
4896 * gdb.arch/pa-nullify.exp
4897 * gdb.arch/powerpc-d128-regs.exp
4898 * gdb.arch/vsx-regs.exp
4899 * gdb.base/bfp-test.exp
4900 * gdb.base/break.exp
4901 * gdb.base/breakpoint-shadow.exp
4902 * gdb.base/callfuncs.exp
4903 * gdb.base/charset.exp
4904 * gdb.base/commands.exp
4905 * gdb.base/completion.exp
4906 * gdb.base/dfp-test.exp
4908 * gdb.base/ending-run.exp
4910 * gdb.base/expand-psymtabs.exp
4911 * gdb.base/float128.exp
4912 * gdb.base/floatn.exp
4913 * gdb.base/foll-exec-mode.exp
4914 * gdb.base/gdb1056.exp
4915 * gdb.base/gdb11531.exp
4916 * gdb.base/kill-after-signal.exp
4917 * gdb.base/multi-forks.exp
4918 * gdb.base/overlays.exp
4919 * gdb.base/pending.exp
4920 * gdb.base/sepdebug.exp
4921 * gdb.base/testenv.exp
4922 * gdb.base/valgrind-db-attach.exp
4923 * gdb.base/watch_thread_num.exp
4924 * gdb.base/watchpoint-cond-gone.exp
4925 * gdb.base/watchpoint.exp
4926 * gdb.base/watchpoints.exp
4927 * gdb.cp/arg-reference.exp
4928 * gdb.cp/baseenum.exp
4929 * gdb.cp/operator.exp
4931 * gdb.dwarf2/dw2-op-out-param.exp
4932 * gdb.dwarf2/dw2-reg-undefined.exp
4935 * gdb.go/integers.exp
4936 * gdb.go/methods.exp
4937 * gdb.go/package.exp
4938 * gdb.guile/scm-parameter.exp
4939 * gdb.guile/scm-progspace.exp
4940 * gdb.guile/scm-value.exp
4941 * gdb.mi/mi-pending.exp
4942 * gdb.mi/user-selected-context-sync.exp
4943 * gdb.multi/multi-attach.exp
4944 * gdb.multi/tids.exp
4945 * gdb.opt/clobbered-registers-O2.exp
4946 * gdb.pascal/floats.exp
4947 * gdb.pascal/integers.exp
4948 * gdb.python/py-block.exp
4949 * gdb.python/py-events.exp
4950 * gdb.python/py-parameter.exp
4951 * gdb.python/py-symbol.exp
4952 * gdb.python/py-symtab.exp
4953 * gdb.python/py-type.exp
4954 * gdb.python/py-value.exp
4955 * gdb.python/py-xmethods.exp
4956 * gdb.python/python.exp
4957 * gdb.reverse/break-precsave.exp
4958 * gdb.reverse/consecutive-precsave.exp
4959 * gdb.reverse/finish-precsave.exp
4960 * gdb.reverse/i386-precsave.exp
4961 * gdb.reverse/machinestate-precsave.exp
4962 * gdb.reverse/sigall-precsave.exp
4963 * gdb.reverse/solib-precsave.exp
4964 * gdb.reverse/step-precsave.exp
4965 * gdb.reverse/until-precsave.exp
4966 * gdb.reverse/watch-precsave.exp
4967 * gdb.server/ext-attach.exp
4968 * gdb.server/ext-restart.exp
4969 * gdb.server/ext-run.exp
4970 * gdb.server/ext-wrapper.exp
4971 * gdb.stabs/gdb11479.exp
4972 * gdb.stabs/weird.exp
4973 * gdb.threads/attach-many-short-lived-threads.exp
4974 * gdb.threads/kill.exp
4975 * gdb.threads/watchpoint-fork.exp
4977 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4979 Fix test names starting with uppercase throughout all the files below.
4981 * gdb.ada/array_return.exp
4982 * gdb.ada/catch_ex.exp
4983 * gdb.ada/info_exc.exp
4984 * gdb.ada/mi_catch_ex.exp
4985 * gdb.ada/mi_dyn_arr.exp
4986 * gdb.ada/mi_ex_cond.exp
4987 * gdb.ada/mi_exc_info.exp
4988 * gdb.ada/mi_interface.exp
4989 * gdb.ada/mi_task_arg.exp
4990 * gdb.ada/mi_task_info.exp
4991 * gdb.ada/mi_var_array.exp
4992 * gdb.arch/alpha-step.exp
4993 * gdb.arch/amd64-disp-step.exp
4994 * gdb.arch/arm-disp-step.exp
4995 * gdb.arch/disp-step-insn-reloc.exp
4996 * gdb.arch/e500-prologue.exp
4997 * gdb.arch/ftrace-insn-reloc.exp
4998 * gdb.arch/gdb1558.exp
4999 * gdb.arch/i386-bp_permanent.exp
5000 * gdb.arch/i386-disp-step.exp
5001 * gdb.arch/i386-float.exp
5002 * gdb.arch/i386-gnu-cfi.exp
5003 * gdb.arch/ia64-breakpoint-shadow.exp
5004 * gdb.arch/mips16-thunks.exp
5005 * gdb.arch/pa-nullify.exp
5006 * gdb.arch/powerpc-aix-prologue.exp
5007 * gdb.arch/powerpc-power.exp
5008 * gdb.arch/ppc-dfp.exp
5009 * gdb.arch/s390-tdbregs.exp
5010 * gdb.arch/spu-info.exp
5011 * gdb.arch/spu-ls.exp
5012 * gdb.arch/thumb-bx-pc.exp
5013 * gdb.base/advance.exp
5014 * gdb.base/annota-input-while-running.exp
5015 * gdb.base/arrayidx.exp
5016 * gdb.base/asmlabel.exp
5017 * gdb.base/async.exp
5018 * gdb.base/attach-wait-input.exp
5019 * gdb.base/auto-connect-native-target.exp
5020 * gdb.base/batch-preserve-term-settings.exp
5021 * gdb.base/bfp-test.exp
5022 * gdb.base/bigcore.exp
5023 * gdb.base/bp-permanent.exp
5024 * gdb.base/break-always.exp
5025 * gdb.base/break-fun-addr.exp
5026 * gdb.base/break-idempotent.exp
5027 * gdb.base/break-main-file-remove-fail.exp
5028 * gdb.base/break-probes.exp
5029 * gdb.base/break-unload-file.exp
5030 * gdb.base/break.exp
5031 * gdb.base/call-ar-st.exp
5032 * gdb.base/call-rt-st.exp
5033 * gdb.base/call-sc.exp
5034 * gdb.base/call-signal-resume.exp
5035 * gdb.base/call-strs.exp
5036 * gdb.base/callexit.exp
5037 * gdb.base/callfuncs.exp
5038 * gdb.base/catch-gdb-caused-signals.exp
5039 * gdb.base/catch-signal-siginfo-cond.exp
5040 * gdb.base/catch-syscall.exp
5041 * gdb.base/compare-sections.exp
5042 * gdb.base/cond-eval-mode.exp
5043 * gdb.base/condbreak-call-false.exp
5044 * gdb.base/consecutive-step-over.exp
5045 * gdb.base/cursal.exp
5046 * gdb.base/disabled-location.exp
5047 * gdb.base/disasm-end-cu.exp
5048 * gdb.base/display.exp
5049 * gdb.base/double-prompt-target-event-error.exp
5050 * gdb.base/dprintf-bp-same-addr.exp
5051 * gdb.base/dprintf-detach.exp
5052 * gdb.base/dprintf-next.exp
5053 * gdb.base/dprintf-non-stop.exp
5054 * gdb.base/dprintf-pending.exp
5055 * gdb.base/dso2dso.exp
5056 * gdb.base/ending-run.exp
5057 * gdb.base/enum_cond.exp
5058 * gdb.base/examine-backward.exp
5059 * gdb.base/exe-lock.exp
5060 * gdb.base/exec-invalid-sysroot.exp
5061 * gdb.base/execl-update-breakpoints.exp
5062 * gdb.base/execution-termios.exp
5063 * gdb.base/fileio.exp
5064 * gdb.base/fixsection.exp
5065 * gdb.base/foll-exec-mode.exp
5066 * gdb.base/foll-exec.exp
5067 * gdb.base/fork-running-state.exp
5068 * gdb.base/frame-args.exp
5069 * gdb.base/fullpath-expand.exp
5070 * gdb.base/func-ptr.exp
5071 * gdb.base/gcore-relro-pie.exp
5072 * gdb.base/gdb1090.exp
5073 * gdb.base/gdb1555.exp
5074 * gdb.base/global-var-nested-by-dso.exp
5075 * gdb.base/gnu-ifunc.exp
5076 * gdb.base/hbreak-in-shr-unsupported.exp
5077 * gdb.base/hbreak-unmapped.exp
5078 * gdb.base/hook-stop.exp
5079 * gdb.base/infcall-input.exp
5080 * gdb.base/info-fun.exp
5081 * gdb.base/info-shared.exp
5082 * gdb.base/interrupt-noterm.exp
5083 * gdb.base/jit-so.exp
5085 * gdb.base/line-symtabs.exp
5087 * gdb.base/longjmp.exp
5088 * gdb.base/macscp.exp
5089 * gdb.base/max-value-size.exp
5090 * gdb.base/nodebug.exp
5091 * gdb.base/nofield.exp
5092 * gdb.base/overlays.exp
5093 * gdb.base/paginate-after-ctrl-c-running.exp
5094 * gdb.base/paginate-bg-execution.exp
5095 * gdb.base/paginate-inferior-exit.exp
5096 * gdb.base/pending.exp
5097 * gdb.base/pr11022.exp
5098 * gdb.base/printcmds.exp
5099 * gdb.base/ptr-typedef.exp
5100 * gdb.base/ptype.exp
5101 * gdb.base/randomize.exp
5102 * gdb.base/range-stepping.exp
5103 * gdb.base/realname-expand.exp
5104 * gdb.base/relativedebug.exp
5105 * gdb.base/remote.exp
5106 * gdb.base/savedregs.exp
5107 * gdb.base/sepdebug.exp
5108 * gdb.base/set-noassign.exp
5109 * gdb.base/shlib-call.exp
5110 * gdb.base/shreloc.exp
5111 * gdb.base/sigaltstack.exp
5112 * gdb.base/sigbpt.exp
5113 * gdb.base/siginfo-addr.exp
5114 * gdb.base/siginfo-obj.exp
5115 * gdb.base/siginfo-thread.exp
5116 * gdb.base/signest.exp
5117 * gdb.base/signull.exp
5118 * gdb.base/sigrepeat.exp
5120 * gdb.base/so-impl-ld.exp
5121 * gdb.base/solib-corrupted.exp
5122 * gdb.base/solib-disc.exp
5123 * gdb.base/solib-display.exp
5124 * gdb.base/solib-overlap.exp
5125 * gdb.base/solib-search.exp
5126 * gdb.base/solib-symbol.exp
5127 * gdb.base/source-execution.exp
5128 * gdb.base/sss-bp-on-user-bp-2.exp
5129 * gdb.base/sss-bp-on-user-bp.exp
5130 * gdb.base/stack-checking.exp
5131 * gdb.base/stale-infcall.exp
5132 * gdb.base/step-break.exp
5133 * gdb.base/step-line.exp
5134 * gdb.base/step-over-exit.exp
5135 * gdb.base/step-test.exp
5136 * gdb.base/structs.exp
5137 * gdb.base/sym-file.exp
5138 * gdb.base/symtab-search-order.exp
5140 * gdb.base/type-opaque.exp
5141 * gdb.base/unload.exp
5142 * gdb.base/until-nodebug.exp
5143 * gdb.base/until.exp
5144 * gdb.base/unwindonsignal.exp
5145 * gdb.base/watch-cond.exp
5146 * gdb.base/watch-non-mem.exp
5147 * gdb.base/watch_thread_num.exp
5148 * gdb.base/watchpoint-reuse-slot.exp
5149 * gdb.base/watchpoint-solib.exp
5150 * gdb.base/watchpoint.exp
5151 * gdb.btrace/dlopen.exp
5153 * gdb.cell/break.exp
5157 * gdb.cell/dwarfaddr.exp
5158 * gdb.cell/ea-cache.exp
5159 * gdb.cell/ea-standalone.exp
5160 * gdb.cell/ea-test.exp
5161 * gdb.cell/f-regs.exp
5163 * gdb.cell/gcore.exp
5164 * gdb.cell/mem-access.exp
5165 * gdb.cell/ptype.exp
5166 * gdb.cell/registers.exp
5167 * gdb.cell/sizeof.exp
5168 * gdb.cell/solib-symbol.exp
5169 * gdb.cell/solib.exp
5170 * gdb.compile/compile-tls.exp
5171 * gdb.cp/exception.exp
5172 * gdb.cp/gdb2495.exp
5174 * gdb.cp/mb-inline.exp
5175 * gdb.cp/mb-templates.exp
5176 * gdb.cp/pr10687.exp
5178 * gdb.cp/scope-err.exp
5179 * gdb.cp/templates.exp
5180 * gdb.cp/virtfunc.exp
5181 * gdb.dwarf2/dw2-dir-file-name.exp
5182 * gdb.dwarf2/dw2-single-line-discriminators.exp
5183 * gdb.fortran/complex.exp
5184 * gdb.fortran/library-module.exp
5185 * gdb.guile/guile.exp
5186 * gdb.guile/scm-cmd.exp
5187 * gdb.guile/scm-frame-inline.exp
5188 * gdb.guile/scm-objfile.exp
5189 * gdb.guile/scm-pretty-print.exp
5190 * gdb.guile/scm-symbol.exp
5191 * gdb.guile/scm-type.exp
5192 * gdb.guile/scm-value.exp
5193 * gdb.linespec/keywords.exp
5194 * gdb.linespec/ls-errs.exp
5195 * gdb.linespec/macro-relative.exp
5196 * gdb.linespec/thread.exp
5197 * gdb.mi/mi-breakpoint-changed.exp
5198 * gdb.mi/mi-dprintf-pending.exp
5199 * gdb.mi/mi-fullname-deleted.exp
5200 * gdb.mi/mi-logging.exp
5201 * gdb.mi/mi-pending.exp
5202 * gdb.mi/mi-solib.exp
5203 * gdb.mi/new-ui-mi-sync.exp
5204 * gdb.mi/user-selected-context-sync.exp
5205 * gdb.multi/dummy-frame-restore.exp
5206 * gdb.multi/multi-arch-exec.exp
5207 * gdb.multi/remove-inferiors.exp
5208 * gdb.multi/watchpoint-multi-exit.exp
5209 * gdb.opt/solib-intra-step.exp
5210 * gdb.perf/backtrace.exp
5211 * gdb.perf/single-step.exp
5212 * gdb.perf/skip-command.exp
5213 * gdb.perf/skip-prologue.exp
5214 * gdb.perf/solib.exp
5215 * gdb.python/lib-types.exp
5216 * gdb.python/py-as-string.exp
5217 * gdb.python/py-bad-printers.exp
5218 * gdb.python/py-block.exp
5219 * gdb.python/py-breakpoint.exp
5220 * gdb.python/py-cmd.exp
5221 * gdb.python/py-events.exp
5222 * gdb.python/py-evthreads.exp
5223 * gdb.python/py-finish-breakpoint.exp
5224 * gdb.python/py-finish-breakpoint2.exp
5225 * gdb.python/py-frame-inline.exp
5226 * gdb.python/py-frame.exp
5227 * gdb.python/py-inferior.exp
5228 * gdb.python/py-infthread.exp
5229 * gdb.python/py-mi.exp
5230 * gdb.python/py-objfile.exp
5231 * gdb.python/py-pp-maint.exp
5232 * gdb.python/py-pp-registration.exp
5233 * gdb.python/py-prettyprint.exp
5234 * gdb.python/py-recurse-unwind.exp
5235 * gdb.python/py-shared.exp
5236 * gdb.python/py-symbol.exp
5237 * gdb.python/py-symtab.exp
5238 * gdb.python/py-template.exp
5239 * gdb.python/py-type.exp
5240 * gdb.python/py-unwind-maint.exp
5241 * gdb.python/py-unwind.exp
5242 * gdb.python/py-value.exp
5243 * gdb.python/python.exp
5244 * gdb.reverse/finish-reverse-bkpt.exp
5245 * gdb.reverse/insn-reverse.exp
5246 * gdb.reverse/next-reverse-bkpt-over-sr.exp
5247 * gdb.reverse/solib-precsave.exp
5248 * gdb.reverse/solib-reverse.exp
5249 * gdb.stabs/gdb11479.exp
5250 * gdb.stabs/weird.exp
5251 * gdb.threads/fork-child-threads.exp
5252 * gdb.threads/fork-plus-threads.exp
5253 * gdb.threads/fork-thread-pending.exp
5254 * gdb.threads/forking-threads-plus-breakpoint.exp
5255 * gdb.threads/hand-call-in-threads.exp
5256 * gdb.threads/interrupted-hand-call.exp
5257 * gdb.threads/linux-dp.exp
5258 * gdb.threads/local-watch-wrong-thread.exp
5259 * gdb.threads/next-while-other-thread-longjmps.exp
5260 * gdb.threads/non-ldr-exit.exp
5261 * gdb.threads/pending-step.exp
5262 * gdb.threads/print-threads.exp
5263 * gdb.threads/process-dies-while-detaching.exp
5264 * gdb.threads/process-dies-while-handling-bp.exp
5265 * gdb.threads/pthreads.exp
5266 * gdb.threads/queue-signal.exp
5267 * gdb.threads/reconnect-signal.exp
5268 * gdb.threads/signal-command-handle-nopass.exp
5269 * gdb.threads/signal-command-multiple-signals-pending.exp
5270 * gdb.threads/signal-delivered-right-thread.exp
5271 * gdb.threads/signal-sigtrap.exp
5272 * gdb.threads/sigthread.exp
5273 * gdb.threads/staticthreads.exp
5274 * gdb.threads/stepi-random-signal.exp
5275 * gdb.threads/thread-unwindonsignal.exp
5276 * gdb.threads/thread_check.exp
5277 * gdb.threads/thread_events.exp
5278 * gdb.threads/tid-reuse.exp
5279 * gdb.threads/tls-nodebug.exp
5280 * gdb.threads/tls-shared.exp
5281 * gdb.threads/tls-so_extern.exp
5282 * gdb.threads/tls.exp
5283 * gdb.threads/wp-replication.exp
5284 * gdb.trace/actions-changed.exp
5285 * gdb.trace/actions.exp
5286 * gdb.trace/backtrace.exp
5287 * gdb.trace/change-loc.exp
5288 * gdb.trace/collection.exp
5289 * gdb.trace/deltrace.exp
5290 * gdb.trace/disconnected-tracing.exp
5291 * gdb.trace/entry-values.exp
5292 * gdb.trace/ftrace-lock.exp
5293 * gdb.trace/ftrace.exp
5294 * gdb.trace/infotrace.exp
5295 * gdb.trace/mi-trace-frame-collected.exp
5296 * gdb.trace/mi-trace-unavailable.exp
5297 * gdb.trace/mi-traceframe-changed.exp
5298 * gdb.trace/mi-tracepoint-changed.exp
5299 * gdb.trace/mi-tsv-changed.exp
5300 * gdb.trace/no-attach-trace.exp
5301 * gdb.trace/packetlen.exp
5302 * gdb.trace/passc-dyn.exp
5303 * gdb.trace/passcount.exp
5304 * gdb.trace/pending.exp
5305 * gdb.trace/pr16508.exp
5306 * gdb.trace/qtro.exp
5307 * gdb.trace/range-stepping.exp
5308 * gdb.trace/read-memory.exp
5309 * gdb.trace/report.exp
5310 * gdb.trace/save-trace.exp
5311 * gdb.trace/signal.exp
5312 * gdb.trace/stap-trace.exp
5313 * gdb.trace/status-stop.exp
5314 * gdb.trace/strace.exp
5315 * gdb.trace/tfile.exp
5316 * gdb.trace/tfind.exp
5317 * gdb.trace/trace-break.exp
5318 * gdb.trace/trace-condition.exp
5319 * gdb.trace/trace-enable-disable.exp
5320 * gdb.trace/trace-mt.exp
5321 * gdb.trace/tracecmd.exp
5322 * gdb.trace/tracefile-pseudo-reg.exp
5323 * gdb.trace/tspeed.exp
5324 * gdb.trace/tstatus.exp
5326 * gdb.trace/unavailable.exp
5327 * gdb.trace/while-dyn.exp
5328 * gdb.trace/while-stepping.exp
5331 * lib/mi-support.exp
5334 * lib/prelink-support.exp
5335 * lib/selftest-support.exp
5337 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
5339 * Makefile.in: Include disable-implicit-rules.mk.
5341 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5343 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
5344 non-byte-aligned bit fields.
5346 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5349 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
5350 respects the DW_AT_data_bit_offset attribute.
5352 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
5354 * gdb.base/default.exp: Fix output of "set language".
5356 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
5358 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
5359 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
5361 * configure.ac: Remove checks for the make program.
5362 * configure: Re-generate.
5364 2016-11-16 Kevin Buettner <kevinb@redhat.com>
5366 * gdb.python/py-recurse-unwind.c (main): Add loop.
5367 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
5368 to read_register() and gdb.parse_and_eval(). Make each code
5369 call a separate case that can be individually tested.
5370 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
5371 proc. Call cont_and_backtrace for each of the code paths that
5372 we want to test in the unwinder.
5374 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
5376 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
5377 the definition of struct S.
5379 2016-11-11 Catherine Moore <clm@codesourcery.com>
5381 * gdb.base/dump.exp: Identify verilog format dump tests as such.
5383 2016-11-09 Pedro Alves <palves@redhat.com>
5385 * gdb.base/commands.exp (runto_or_return): New procedure.
5386 (gdbvar_simple_if_test, gdbvar_simple_while_test)
5387 (gdbvar_complex_if_while_test, progvar_simple_if_test)
5388 (progvar_simple_while_test, progvar_complex_if_while_test)
5389 (if_while_breakpoint_command_test)
5390 (infrun_breakpoint_command_test, breakpoint_command_test)
5391 (user_defined_command_test, watchpoint_command_test)
5392 (test_command_prompt_position, redefine_hook_test)
5393 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
5394 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
5395 multi_line_input and multi_line. Remove gdb_expect and
5396 gdb_stop_suppressing_tests uses.
5397 * lib/gdb.exp (valnum_re): New global.
5398 (multi_line_input): New procedure.
5400 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
5402 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
5404 (test_setup): Define with proc_with_prefix.
5405 (test_cli_inferior): Likewise.
5406 (test_cli_thread): Likewise.
5407 (test_cli_frame): Likewise.
5408 (test_cli_select_frame): Likewise.
5409 (test_cli_up_down): Likewise.
5410 (test_mi_thread_select): Likewise.
5411 (test_mi_stack_select_frame): Likewise.
5412 (test_cli_in_mi_inferior): Likewise.
5413 (test_cli_in_mi_thread): Likewise.
5414 (test_cli_in_mi_frame): Likewise.
5415 (top level): Do not use with_test_prefix_procname.
5417 2016-11-09 Pedro Alves <palves@redhat.com>
5419 * gdb.base/commands.exp (gdbvar_simple_if_test)
5420 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
5421 (progvar_simple_if_test, progvar_simple_while_test)
5422 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
5423 (infrun_breakpoint_command_test, breakpoint_command_test)
5424 (user_defined_command_test, watchpoint_command_test)
5425 (test_command_prompt_position, deprecated_command_test)
5426 (bp_deleted_in_command, temporary_breakpoint_commands)
5427 (stray_arg0_test, source_file_with_indented_comment)
5428 (recursive_source_test, if_commands_test)
5429 (error_clears_commands_left, redefine_hook_test)
5430 (redefine_backtrace_test): Use proc_with_prefix.
5431 * lib/gdb.exp (proc_with_prefix): New proc.
5433 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
5435 * gdb.base/tui-layout.c: New file.
5436 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
5437 disassembly window contains very long lines.
5439 2016-11-08 Tom Tromey <tom@tromey.com>
5441 * gdb.python/py-value.exp (test_value_creation): Make "long" test
5444 2016-11-08 Tom Tromey <tom@tromey.com>
5446 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
5449 2016-10-29 Manish Goregaokar <manish@mozilla.com>
5451 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
5453 2016-10-27 Manish Goregaokar <manish@mozilla.com>
5455 * gdb.rust/simple.rs: Add test for univariant enums without
5456 discriminants and for encoded struct-like enums.
5458 2016-10-28 Pedro Alves <palves@redhat.com>
5460 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
5461 gdb_test_multiple, tighten regexps and match symtabs and line
5462 tables incrementally.
5464 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
5466 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
5469 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
5471 * gdb.base/exec-invalid-sysroot.exp: New file.
5473 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5475 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
5477 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5479 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
5481 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
5483 * gdb.base/killed-outside.exp: Remove $options from a call to
5484 `prepare_for_testing'.
5486 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5488 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5489 Change test message.
5491 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5493 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5496 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5498 * gdb.trace/mi-trace-save.exp: New file.
5500 2016-10-13 Yao Qi <yao.qi@linaro.org>
5502 * gdb.base/code_elim.exp (get_var_address): Remove.
5503 * gdb.base/relocate.exp: Likewise.
5504 * gdb.base/shreloc.exp: Likewise.
5505 * lib/gdb.exp (get_var_address): New.
5507 2016-10-13 Yao Qi <yao.qi@linaro.org>
5509 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
5510 floating point tests if $skip_float_test is false.
5512 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
5514 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
5515 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
5517 Add 1 to argc so we guarantee distinct initial/modified argc values.
5519 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5521 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
5523 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5525 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
5526 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
5527 * gdb.arch/vsx-regs.exp: Likewise.
5529 2016-10-07 Yao Qi <yao.qi@linaro.org>
5531 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
5533 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
5535 * gdb.python/python.exp: Test decode_line("*0").
5537 2016-10-06 Doug Evans <dje@google.com>
5539 * gdb.python/py-value.exp (test_value_creation): Add test for large
5540 unsigned 64-bit value.
5542 2016-10-06 Tom Tromey <tom@tromey.com>
5544 * gdb.compile/compile.exp: Change java tests to rust.
5545 * gdb.base/setshow.exp: Change java tests to rust.
5546 * gdb.base/default.exp: Remove java from language list.
5547 * README (Examples): Update language example.
5548 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
5550 * lib/gdb.exp (skip_java_tests): Remove.
5551 * lib/java.exp: Remove.
5554 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
5556 * gdb.arch/mips-fcr.exp: New test.
5557 * gdb.arch/mips-fcr.c: Source for the new test.
5559 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
5561 * gdb.base/solib-disc.exp: Use `standard_output_file'
5564 2016-10-06 Pedro Alves <palves@redhat.com>
5566 * gdb.base/jit-simple-dl.c: New file.
5567 * gdb.base/jit-simple-jit.c: New file, factored out from ...
5568 * gdb.base/jit-simple.c: ... this.
5569 * gdb.base/jit-simple.exp (jit_run): Delete.
5570 (build_jit): New proc.
5571 (jit_test_reread): Recompile either the main program or the shared
5572 library, depending on what is being tested. Skip changing address
5573 if caller wants to. Compare before/after addresses. If testing
5574 standalone, explicitly load the binary. Test "maint info
5576 (top level): Add "standalone vs shared lib" and "change address"
5577 vs "same address" axes.
5579 2016-10-06 Pedro Alves <palves@redhat.com>
5581 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
5584 (jit_test_reread): Use with_test_prefix. Reload the main binary
5585 explicitly. Compare the before/after addresses of the JIT
5588 2016-08-15 Doug Evans <dje@google.com>
5590 * gdb.xml/extra-regs.xml: Update, end field now required, default type
5591 for single bitfields is bool.
5592 * gdb.xml/tdesc-regs.exp: Ditto.
5594 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5596 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
5598 2016-10-05 Yao Qi <yao.qi@linaro.org>
5600 * lib/gdb.exp (support_complex_tests): Return zero if
5601 gdb_skip_float_test return true.
5603 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
5604 Simon Marchi <simon.marchi@ericsson.com>
5607 * gdb.mi/user-selected-context-sync.exp: New file.
5608 * gdb.mi/user-selected-context-sync.c: New file.
5610 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
5611 Simon Marchi <simon.marchi@ericsson.com>
5614 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
5615 =thread-select-event check.
5617 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
5619 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
5620 the compulsory L operand changes.
5621 * gdb.arch/powerpc-power.s: Likewise.
5623 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5625 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
5626 * gdb.base/jit-attach-pie.c: New file.
5627 * gdb.base/jit-attach-pie.exp: New file.
5629 2016-09-28 Pedro Alves <palves@redhat.com>
5631 * gdb.base/infcall-input.c: New file.
5632 * gdb.base/infcall-input.exp: New file.
5634 2016-09-22 Yao Qi <yao.qi@linaro.org>
5636 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
5637 (gdb_exit): Rename it to ...
5638 (gdbserver_gdb_exit): ... Close GDBserver.
5639 (gdb_exit): New proc, call gdbserver_gdb_exit.
5640 (mi_gdb_exit): Likewise.
5642 2016-09-22 Yao Qi <yao.qi@linaro.org>
5644 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
5646 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
5649 2016-09-22 Yao Qi <yao.qi@linaro.org>
5651 * lib/gdbserver-support.exp: Check the existence of
5652 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
5654 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
5656 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
5658 2016-09-21 Tom Tromey <tom@tromey.com>
5661 * gdb.base/quit.exp: New file.
5663 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
5665 * .gitignore: New file.
5667 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
5669 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
5672 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5674 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
5676 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5678 * gdb.cp/casts.cc (decltype): Move it ...
5679 (main): ... with its call to ...
5680 * gdb.cp/casts03.cc: ... a new file.
5681 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
5683 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5685 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
5687 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
5689 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
5690 and sync up the test with tests in gas/testsuite/gas/ppc.
5691 * gdb.arch/powerpc-power.exp: Likewise.
5693 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5695 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
5697 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
5698 Jan Kratochvil <jan.kratochvil@redhat.com>
5700 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
5701 make m1's definition to be different from m2's. Use 'dummy' as an
5702 argument for probe 'two'.
5704 2016-09-10 Jon Beniston <jon@beniston.com>
5706 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
5709 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
5711 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
5712 variable declaration.
5713 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
5714 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
5715 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
5716 received HWCAP as its argument.
5718 2016-09-06 Pedro Alves <palves@redhat.com>
5720 * gdb.base/new-ui-pending-input.c: New file.
5721 * gdb.base/new-ui-pending-input.exp: New file.
5722 * gdb.exp (clear_gdb_spawn_id): New procedure.
5723 (with_spawn_id): Check whether gdb_spawn_id exists before
5724 referencing it. If gdb_spawn_id didn't exist on entry, clear it
5727 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
5729 * gdb.base/float128.c: New file.
5730 * gdb.base/float128.exp: Likewise.
5731 * gdb.base/floatn.c: Likewise.
5732 * gdb.base/floatn.exp: Likewise.
5734 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
5736 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
5738 2016-09-05 Pedro Alves <palves@redhat.com>
5741 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
5742 unwinders are immediately called as side effect of "source" or
5743 "disable unwinder" commands.
5744 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
5746 2016-09-02 Yao Qi <yao.qi@linaro.org>
5748 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
5749 is true and $type is "float" or "double".
5751 2016-09-02 Yao Qi <yao.qi@linaro.org>
5753 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
5755 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
5756 * gdb.base/call-rt-st.exp: Likewise.
5757 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
5758 return value instead of gdb,skip_float_test.
5759 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
5760 (do_function_calls): Use its return value instead of
5761 gdb,skip_float_test.
5762 * gdb.base/finish.exp: Likewise.
5763 * gdb.base/funcargs.exp: Likewise.
5764 * gdb.base/return.exp: Likewise.
5765 * gdb.base/return2.exp: Likewise.
5766 * gdb.base/varargs.exp: Likewise.
5767 * lib/gdb.exp (gdb_skip_float_test): Change it to
5768 gdb_caching_proc. Detect the broken ptrace on arm-linux.
5770 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5772 * gdb.multi/tids.exp: Test "thread apply all".
5774 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5776 * gdb.base/default.exp (tty): Remove.
5778 2016-08-24 Kevin Buettner <kevinb@redhat.com>
5780 * gdb.python/py-recurse-unwind.c: New file.
5781 * gdb.python/py-recurse-unwind.py: New file.
5782 * gdb.python/py-recurse-unwind.exp: New file.
5784 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
5786 * gdb.base/set-inferior-tty.exp: New file.
5787 * gdb.base/set-inferior-tty.c: New file.
5789 2016-08-23 Pedro Alves <palves@redhat.com>
5792 * gdb.base/new-ui-echo.c: New file.
5793 * gdb.base/new-ui-echo.exp: New file.
5795 2016-08-23 Yao Qi <yao.qi@linaro.org>
5797 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
5799 * gdb.server/connect-without-multi-process.exp (do_test):
5802 2016-08-23 Yao Qi <yao.qi@linaro.org>
5804 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
5805 standalone_txt. Delete gdb_txt and standalone_txt on host
5806 and target. Spawn the binary on target. Copy files from
5809 2016-08-22 Pedro Alves <palves@redhat.com>
5812 * gdb.base/vdso-warning.exp: Test core dumps too. Use
5813 with_test_prefix. Factor out bits to ...
5814 (test_no_vdso): ... this new procedure.
5816 2016-08-19 Carl Love <cel@us.ibm.com>
5818 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
5819 maintaining separate logic for constructing the output path.
5820 * gdb.arch/powerpc-d128-regs.exp: Likewise.
5821 * gdb.arch/ppc-dfp.exp: Likewise.
5822 * gdb.arch/ppc-fp.exp: Likewise.
5823 * gdb.arch/vsx-regs.exp: Likewise.
5824 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
5825 binprefix for generating the additional binary files.
5827 2016-08-19 Pedro Alves <palves@redhat.com>
5829 * gdb.trace/mi-trace-frame-collected.exp
5830 (test_trace_frame_collected): On x32, expect two registers.
5832 2016-08-18 Carl Love <cel@us.ibm.com>
5834 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
5835 and sync up the test with tests in gas/testsuite/gas/ppc.
5836 * gdb.arch/powerpc-power.exp: Likewise.
5838 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
5840 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
5841 expected error message.
5843 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
5845 * gdb.multi/remove-inferiors.exp: New file.
5846 * gdb.multi/remove-inferiors.c: New file.
5848 2016-08-12 Yao Qi <yao.qi@linaro.org>
5850 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
5853 2016-08-10 Pedro Alves <palves@redhat.com>
5856 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
5859 2016-08-09 Pedro Alves <palves@redhat.com>
5860 Simon Marchi <simon.marchi@ericsson.com>
5863 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
5864 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
5866 2016-08-09 Pedro Alves <palves@redhat.com>
5869 * gdb.mi/mi-cmd-error.exp: New file.
5871 2016-08-09 Pedro Alves <palves@redhat.com>
5874 * gdb.base/signals-state-child.c: New file.
5875 * gdb.base/signals-state-child.exp: New file.
5876 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
5878 2016-08-09 Pedro Alves <palves@redhat.com>
5880 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
5882 2016-08-03 Tom Tromey <tom@tromey.com>
5885 * gdb.python/py-frame-inline.exp: Add Frame.function test.
5887 2016-08-01 Yao Qi <yao.qi@linaro.org>
5889 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
5890 variable mode to "multi-process" if $multi_process is 1, otherwise
5891 set it to "single-process".
5893 2016-08-01 Yao Qi <yao.qi@linaro.org>
5895 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
5896 * gdb.cp/cpexprs.exp: Likewise.
5897 * gdb.cp/m-static.exp: Likewise.
5899 2016-07-26 Tom Tromey <tom@tromey.com>
5902 * gdb.threads/tls.exp (check_thread_local): Add python symbol
5905 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
5907 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
5908 selecting assembly source files.
5909 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
5910 assembly source files.
5911 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
5912 assembly source files.
5913 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
5914 selecting assembly source files.
5916 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
5918 * gdb.base/new-ui.exp (do_test_invalid_args): New
5921 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
5923 * gdb.btrace/reconnect.c: New file.
5924 * gdb.btrace/reconnect.exp: New file.
5926 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
5928 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
5929 to test_catch_syscall_group.
5930 (test_catch_syscall_group): New.
5932 2016-07-21 Tom Tromey <tom@tromey.com>
5934 * gdb.rust/simple.rs (main): Use empty struct expression.
5935 * gdb.rust/simple.exp: Add tests for empty struct expression.
5937 2016-07-21 Yao Qi <yao.qi@linaro.org>
5939 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
5940 if gdb_skip_xml_test is true on some targets.
5942 2016-07-21 Yao Qi <yao.qi@linaro.org>
5944 * gdb.server/solib-list.exp: Unset last_loaded_file.
5946 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5948 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
5949 "step into captured_main (args)".
5951 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5953 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
5955 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5957 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
5959 2016-07-19 Pedro Alves <palves@redhat.com>
5961 * gdb.opt/inline-break.exp: Remove optimize=-O2.
5962 * gdb.opt/inline-bt.exp: Likewise.
5963 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
5964 additional_flags=-Winline.
5965 * gdb.opt/inline-locals.exp: Likewise.
5966 * gdb.opt/inline-markers.c (ATTR): Define.
5967 (inlined_fn): Use it.
5969 2016-07-19 Yao Qi <yao.qi@linaro.org>
5971 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
5972 (test_with_self): Remove some code. Remove argument executable.
5973 (top-level): Use do_self_tests.
5975 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
5976 Don Breazeal <donb@codesourcery.com>
5978 * gdb.base/maint.exp: Escape paths used in regular expressions.
5979 * gdb.stabs/weird.exp: Likewise.
5981 2016-07-13 Tom Tromey <tom@tromey.com>
5983 PR python/15620, PR python/18620:
5984 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
5985 (test_bkpt_events): New procs.
5987 2016-07-13 Tom Tromey <tom@tromey.com>
5990 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
5992 (test_watchpoints): Likewise.
5993 (test_bkpt_pending): New proc.
5995 2016-07-13 Tom Tromey <tom@tromey.com>
5998 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
6001 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6003 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
6004 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
6005 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
6007 (g): Rename g_end_lbl to g_label.
6008 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
6010 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
6012 2016-07-12 Tom Tromey <tom@tromey.com>
6015 * gdb.python/py-unwind-maint.exp: Update tests.
6017 2016-07-12 Yao Qi <yao.qi@linaro.org>
6019 * lib/selftest-support.exp (selftest_setup): Match the output
6020 when captured_main is inlined.
6022 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
6024 * gdb.fortran/derived-types.exp (result_line, result_line_2):
6026 (print this%a, print this%b, print this): New tests.
6027 * gdb.fortran/derived-types.f90 (this): New object and
6030 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
6032 * gdb.ada/arraydim.exp: Remove extra directory level in build
6035 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
6037 * lib/ada.exp: Remove extra directory level in build directory.
6038 * gdb.ada/cond_lang.exp: Likewise.
6039 * gdb.ada/exec_changed.exp: Likewise.
6040 * gdb.ada/lang_switch.exp: Likewise.
6042 2016-07-06 Manish Goregaokar <manish@mozilla.com>
6044 * simple.rs: Add test for raw pointer subscripting.
6045 * simple.exp: Add test expectations.
6047 2016-07-05 Yao Qi <yao.qi@linaro.org>
6049 * gdb.mi/mi-reverse.exp: Match =record-started output.
6051 2016-07-01 Pedro Alves <palves@redhat.com>
6053 * gdb.base/jit-reader.exp (info_registers_current_frame): New
6055 (jit_reader_test): Test the jit reader's unwinder.
6056 * gdb.base/jithost.c (jit_function_00_code): New global.
6057 (main): Use memcpy to fill in the mmapped code, instead of poking
6058 bytes manually here.
6059 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
6061 (read_debug_info): Save the function's range.
6062 (read_sp): New function.
6063 (unwind_frame): Use it. Also unwind RBP.
6064 (get_frame_id): Use read_sp.
6065 (gdb_init_reader): Use calloc instead of malloc.
6066 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
6067 parameter. Use gdb_test_multiple.
6069 2016-07-01 Pedro Alves <palves@redhat.com>
6070 Antoine Tremblay <antoine.tremblay@ericsson.com>
6072 * gdb.threads/process-dies-while-detaching.c: New file.
6073 * gdb.threads/process-dies-while-detaching.exp: New file.
6075 2016-07-01 Pedro Alves <palves@redhat.com>
6077 * gdb.multi/watchpoint-multi-exit.c: New file.
6078 * gdb.multi/watchpoint-multi-exit.exp: New file.
6080 2016-06-30 Pedro Alves <palves@redhat.com>
6082 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
6083 unset inferior_spawn_id.
6085 2016-06-30 Pedro Alves <palves@redhat.com>
6087 * lib/mi-support.exp (default_mi_gdb_start): Declare global
6088 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
6090 2016-06-29 Yao Qi <yao.qi@linaro.org>
6092 * gdb.base/return.c: Add copyright header.
6094 2016-06-29 Tom Tromey <tom@tromey.com>
6097 * gdb.python/py-framefilter.exp: Add tests for setting priority
6098 and disabling of non-existent frame filter.
6100 2016-06-29 Yao Qi <yao.qi@linaro.org>
6102 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
6105 2016-06-28 Yao Qi <yao.qi@linaro.org>
6107 * gdb.base/catch-syscall.exp: Remove check on isnative and target
6108 triplets. Start gdb, execute catch syscall, and continue. Check
6109 gdb's output to determine catch syscall is supported.
6111 2016-06-27 Manish Goregaokar <manish@mozilla.com>
6113 * gdb.rust/simple.rs: Add test for returning unit in a function.
6114 * gdb.rust/simple.exp: Add expectation for functions returning
6117 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
6119 * gdb.python/py-breakpoint-create-fail.c,
6120 gdb.python/py-breakpoint-create-fail.exp,
6121 gdb.python/py-breakpoint-create-fail.py: New testcase.
6123 2016-06-25 Manish Goregaokar <manish@mozilla.com>
6126 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
6127 * gdb.rust/simple.exp: Add test expectations for new NonZero
6130 2016-06-24 David Taylor <dtaylor@emc.com>
6132 * gdb.base/offsets.exp: New file.
6133 * gdb.base/offsets.c: New file.
6135 2016-06-23 Tom Tromey <tom@tromey.com>
6138 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
6139 before any filters are loaded.
6141 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
6143 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
6144 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
6146 * gdb.fortran/derived-type-function.exp: New file.
6147 * gdb.fortran/derived-type-function.f90: New file.
6150 2016-06-21 Pedro Alves <palves@redhat.com>
6152 * gdb.base/new-ui.exp: New file.
6153 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
6154 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
6155 (with_spawn_id): New procedure.
6157 2016-06-21 Pedro Alves <palves@redhat.com>
6159 * gdb.mi/mi-exec-run.exp: New file.
6161 2016-06-21 Pedro Alves <palves@redhat.com>
6163 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
6164 breakpoint command's output on the main UI.
6165 (test_break): New procedure, factored out from calls in the top
6167 (top level): Use foreach_with_prefix to test MI as main UI and as
6170 2016-06-21 Pedro Alves <palves@redhat.com>
6172 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
6173 (test_awatch_creation_and_listing)
6174 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
6175 Remove 'type' parameter.
6176 (test_watchpoint_all): New parameter mi_mode. Remove
6178 (top level): Use foreach_with_prefix, and add main/separate UI MI
6181 2016-06-21 Pedro Alves <palves@redhat.com>
6183 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
6184 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
6185 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
6186 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
6187 (gdb_main_spawn_id, mi_spawn_id): Declare and
6189 (mi_create_inferior_pty): New procedure,
6190 factored out from default_mi_gdb_start.
6191 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
6193 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
6194 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
6195 Use mi_create_inferior_pty.
6196 (mi_gdb_start): Use eval to pass down args list.
6198 2016-06-21 Pedro Alves <palves@redhat.com>
6200 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
6201 * gdb.opt/inline-cmds.exp: Add MI tests.
6203 2016-06-21 Pedro Alves <palves@redhat.com>
6205 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
6207 2016-06-21 Pedro Alves <palves@redhat.com>
6209 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
6210 (top level): Use it instead of mi_execute_to.
6212 2016-06-21 Pedro Alves <palves@redhat.com>
6214 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
6215 (cont_handler_str): New.
6216 (signal_stop_handler): Set stop_handler_str instead of printing to
6218 (continue_handler): Set cont_handler_str instead of printing to
6220 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
6221 mi_send_resuming_command. Print stop_handler_str and
6222 cont_handler_str instead of expecting the python events print
6225 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
6227 * gdb.base/jit-reader.exp: New file.
6228 * gdb.base/jithost.c: New file.
6229 * gdb.base/jithost.h: New file.
6230 * gdb.base/jitreader.c : New file.
6231 * gdb.base/jit-protocol.h: New file.
6233 2016-06-17 Yao Qi <yao.qi@linaro.org>
6235 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
6236 parameters follow_fork and detach_on_fork. Set follow-fork-mode
6237 and detach-on-fork. Adjust tests.
6238 (top level): Invoke break_cond_on_syscall with combinations of
6239 syscall, follow-fork-mode and detach-on-fork.
6241 2016-06-17 Yao Qi <yao.qi@linaro.org>
6243 * gdb.base/step-over-exit.c: New.
6244 * gdb.base/step-over-exit.exp: New.
6246 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
6248 * gdb.base/float.exp: Add target check for nds32*-*-*.
6249 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
6251 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
6253 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
6254 for unsupported target features.
6255 * gdb.base/call-rt-st.exp: Likewise.
6256 * gdb.base/call-sc.exp: Likewise.
6257 * gdb.base/call-signal-resume.exp: Likewise.
6258 * gdb.base/call-strs.exp: Likewise.
6259 * gdb.base/callexit.exp: Likewise.
6260 * gdb.base/callfuncs.exp: Likewise.
6261 * gdb.base/nodebug.exp: Likewise.
6262 * gdb.base/printcmds.exp: Likewise.
6263 * gdb.base/ptype.exp: Likewise.
6264 * gdb.base/structs.exp: Likewise.
6265 * gdb.base/unwindonsignal.exp: Likewise.
6266 * gdb.cp/gdb2495.exp: Likewise.
6267 * gdb.cp/templates.exp: Likewise.
6268 * gdb.cp/virtfunc.exp: Likewise.
6269 * gdb.threads/hand-call-in-threads.exp: Likewise.
6270 * gdb.threads/interrupted-hand-call.exp: Likewise.
6271 * gdb.threads/thread-unwindonsignal.exp: Likewise.
6273 2016-06-10 Tom Tromey <tom@tromey.com>
6276 * gdb.rust/expr.exp: Add test for integer constant larger than
6279 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
6281 * gdb.fortran/nested-funcs.exp: New.
6282 * gdb.fortran/nested-funcs.f90: New.
6284 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
6286 * gdb.base/examine-backward.c: New file.
6287 * gdb.base/examine-backward.exp: New file.
6289 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
6291 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
6294 2016-06-02 Tom Tromey <tom@tromey.com>
6297 * gdb.python/py-shared.exp: Add solib_name test.
6299 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
6301 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
6303 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
6306 * gdb.dwarf2/implref.exp: Rename to...
6307 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
6308 * gdb.dwarf2/implref-array.c: New file.
6309 * gdb.dwarf2/implref-array.exp: Likewise.
6310 * gdb.dwarf2/implref-global.c: Likewise.
6311 * gdb.dwarf2/implref-global.exp: Likewise.
6312 * gdb.dwarf2/implref-struct.c: Likewise.
6313 * gdb.dwarf2/implref-struct.exp: Likewise.
6315 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6317 * gdb.trace/trace-condition.exp: Add 64bit tests.
6319 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6321 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
6323 (main): Adapt to 8 to 64 bits types.
6324 * gdb.trace/trace-condition.exp: Add new tests.
6326 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6328 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
6330 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6332 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
6333 Move condition tests...
6334 * gdb.trace/trace-condition.exp: Here.
6336 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6338 * gdb.trace/trace-condition.exp: Add counter-case tests.
6340 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6343 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
6344 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
6346 2016-05-27 Pedro Alves <palves@redhat.com>
6348 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6350 (top level): Call it, and bail out of DejaGnu is known to be bad.
6352 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
6354 * gdb.base/whatis.c: Extend the test case.
6355 * gdb.base/whatis.exp: Add additional tests.
6357 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6359 * gdb.fortran/type.f90: Add pointer variable.
6360 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
6362 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6364 * gdb.fortran/vla-type.exp: Fix testcase name.
6366 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6368 * gdb.fortran/vla-type.exp: Access elements in nested structs.
6370 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6372 * gdb.fortran/type.f90: Add nested structures.
6373 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
6374 * gdb.fortran/derived-type.exp: Adapt expected output.
6375 * gdb.fortran/vla-type.exp: Adapt expected output.
6377 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6379 * gdb.fortran/whatis_type.exp: Adapt expected output.
6381 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6383 * gdb.fortran/print_type.exp: Fix expected output.
6384 * gdb.fortran/whatis_type.exp: Fix expected output.
6386 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6388 * gdb.fortran/whatis_type.exp: Use multi_line.
6390 2016-05-24 Tom Tromey <tom@tromey.com>
6393 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
6394 use value as an index.
6396 2016-05-23 Tom Tromey <tom@tromey.com>
6399 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
6402 2016-05-24 Pedro Alves <palves@redhat.com>
6405 * gdb.threads/clone-attach-detach.c: New file.
6406 * gdb.threads/clone-attach-detach.exp: New file.
6408 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
6410 * gdb.base/annota-input-while-running.exp: Fix syntax error.
6412 2016-05-23 Tom Tromey <tom@tromey.com>
6414 PR python/19438, PR python/18393:
6415 * gdb.python/py-progspace.exp: Add "dir" test.
6416 * gdb.python/py-objfile.exp: Add "dir" test.
6418 2016-05-23 Yao Qi <yao.qi@linaro.org>
6420 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
6421 * gdb.arch/thumb2-it.exp: Likewise.
6423 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
6425 * gdb.mi/mi-threads-interrupt.c: New file.
6426 * gdb.mi/mi-threads-interrupt.exp: New file.
6428 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
6431 * gdb.mi/mi-async-run.exp: New file.
6432 * gdb.mi/mi-async-run.c: New file.
6434 2016-05-17 Tom Tromey <tom@tromey.com>
6435 Manish Goregaokar <manishsmail@gmail.com>
6437 * lib/rust-support.exp: New file.
6438 * lib/gdb.exp (skip_rust_tests): New proc.
6439 (build_executable_from_specs): Handle rust.
6440 * lib/future.exp (gdb_find_rustc): New proc.
6441 (gdb_default_target_compile): Handle rust.
6442 * gdb.rust/expr.exp: New file.
6443 * gdb.rust/generics.exp: New file.
6444 * gdb.rust/generics.rs: New file.
6445 * gdb.rust/methods.exp: New file.
6446 * gdb.rust/methods.rs: New file.
6447 * gdb.rust/modules.exp: New file.
6448 * gdb.rust/modules.rs: New file.
6449 * gdb.rust/simple.exp: New file.
6450 * gdb.rust/simple.rs: New file.
6452 2016-05-17 Tom Tromey <tom@tromey.com>
6454 * gdb.base/default.exp (set language): Add rust.
6456 2016-05-17 Tom Tromey <tom@tromey.com>
6458 * gdb.gdb/unittest.exp: New file.
6460 2016-05-16 Yao Qi <yao.qi@linaro.org>
6462 * gdb.base/batch-preserve-term-settings.exp: Remove variable
6463 shell_prompt. Update shell_prompt_re.
6465 2016-05-12 Doug Evans <dje@google.com>
6468 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
6469 $options when building executable.
6470 * gdb.dwarf2/fission-loclists-pie.S: New file.
6471 * gdb.dwarf2/fission-loclists-pie.exp: New file.
6473 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
6475 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
6476 of [is_remote target],
6478 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
6480 * lib/gdb.exp (use_gdb_stub): New procedure.
6482 2016-05-03 Yunlian Jiang <yunlian@google.com>
6483 Doug Evans <dje@google.com>
6486 * gdb.dwarf2/dwp-sepdebug.c: New file.
6487 * gdb.dwarf2/dwp-sepdebug.exp: New file.
6489 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
6491 * gdb.base/detach.exp: Remove is_remote check.
6493 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
6495 * gdb.base/annota-input-while-running.exp: Don't check for
6496 [is_remote target]. Enable annotations after running to main.
6497 Remove unused "set test..." line.
6499 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
6501 * gdb.trace/trace-enable-disable.exp: New file.
6502 * gdb.trace/trace-enable-disable.c: New file.
6504 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
6506 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
6507 use it in info sharedlibrary test.
6508 * gdb.trace/ftrace-lock.exp: Likewise.
6509 * gdb.trace/ftrace.exp: Likewise.
6510 * gdb.trace/range-stepping.exp: Likewise.
6511 * gdb.trace/trace-break.exp: Likewise.
6512 * gdb.trace/trace-condition.exp: Likewise.
6513 * gdb.trace/trace-mt.exp: Likewise.
6515 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
6517 * lib/gdb.exp (gdb_load_shlibs): Rename to...
6518 (gdb_load_shlib): ... this.
6519 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
6521 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
6522 * gdb.base/ctxobj.exp: Likewise.
6523 * gdb.base/dprintf-pending.exp: Likewise.
6524 * gdb.base/dso2dso.exp: Likewise.
6525 * gdb.base/fixsection.exp: Likewise.
6526 * gdb.base/gcore-relro.exp: Likewise.
6527 * gdb.base/gdb1555.exp: Likewise.
6528 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6529 * gdb.base/gnu-ifunc.exp: Likewise.
6530 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
6531 * gdb.base/jit-so.exp (one_jit_test): Likewise.
6532 * gdb.base/pending.exp: Likewise.
6533 * gdb.base/print-file-var.exp: Likewise.
6534 * gdb.base/print-symbol-loading.exp: Likewise.
6535 * gdb.base/shlib-call.exp: Likewise.
6536 * gdb.base/shreloc.exp: Likewise.
6537 * gdb.base/so-impl-ld.exp: Likewise.
6538 * gdb.base/solib-disc.exp: Likewise.
6539 * gdb.base/solib-nodir.exp: Likewise.
6540 * gdb.base/solib-overlap.exp: Likewise.
6541 * gdb.base/solib-symbol.exp: Likewise.
6542 * gdb.base/solib-weak.exp (do_test): Likewise.
6543 * gdb.base/sym-file.exp: Likewise.
6544 * gdb.base/symtab-search-order.exp: Likewise.
6545 * gdb.base/type-opaque.exp: Likewise.
6546 * gdb.base/unload.exp: Likewise.
6547 * gdb.base/watchpoint-solib.exp: Likewise.
6548 * gdb.compile/compile.exp: Likewise.
6549 * gdb.cp/gdb2384.exp: Likewise.
6550 * gdb.cp/infcall-dlopen.exp: Likewise.
6551 * gdb.cp/re-set-overloaded.exp: Likewise.
6552 * gdb.fortran/library-module.exp: Likewise.
6553 * gdb.opt/solib-intra-step.exp: Likewise.
6554 * gdb.python/py-finish-breakpoint.exp: Likewise.
6555 * gdb.python/py-shared.exp: Likewise.
6556 * gdb.reverse/solib-precsave.exp: Likewise.
6557 * gdb.reverse/solib-reverse.exp: Likewise.
6558 * gdb.server/solib-list.exp: Likewise.
6559 * gdb.threads/dlopen-libpthread.exp: Likewise.
6560 * gdb.threads/tls-shared.exp: Likewise.
6561 * gdb.threads/tls-so_extern.exp: Likewise.
6562 * gdb.trace/change-loc.exp: Likewise.
6563 * gdb.trace/ftrace-lock.exp: Likewise.
6564 * gdb.trace/ftrace.exp: Likewise.
6565 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
6566 * gdb.trace/pending.exp: Likewise.
6567 * gdb.trace/range-stepping.exp: Likewise.
6568 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
6569 (strace_info_marker): Likewise.
6570 (strace_probe_marker): Likewise.
6571 (strace_trace_on_same_addr): Likewise.
6572 (strace_trace_on_diff_addr): Likewise.
6573 * gdb.trace/trace-break.exp: Likewise.
6574 * gdb.trace/trace-condition.exp: Likewise.
6575 * gdb.trace/trace-mt.exp: Likewise.
6577 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
6579 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
6580 result of gdb_remote_download.
6581 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
6582 * gdb.base/dso2dso.exp: Likewise.
6583 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6584 * gdb.base/print-file-var.exp: Likewise.
6585 * gdb.base/shlib-call.exp: Likewise.
6586 * gdb.base/shreloc.exp: Likewise.
6587 * gdb.base/solib-overlap.exp: Likewise.
6588 * gdb.base/solib-weak.exp (do_test): Likewise.
6589 * gdb.base/unload.exp: Likewise.
6591 2016-04-27 Yao Qi <yao.qi@linaro.org>
6593 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
6596 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6598 * vla-type.exp: Print structure from toplevel.
6600 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6602 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
6604 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
6607 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6609 * gdb.fortran/vla-type.f90: New file.
6610 * gdb.fortran/vla-type.exp: New file.
6612 2016-04-25 Yao Qi <yao.qi@linaro.org>
6614 * gdb.base/branch-to-self.c: New file.
6615 * gdb.base/branch-to-self.exp: New file.
6617 2016-04-22 Yao Qi <yao.qi@linaro.org>
6619 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
6622 2016-04-22 Yao Qi <yao.qi@linaro.org>
6624 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
6625 * gdb.base/annota3.exp: Likewise.
6627 2016-04-22 Yao Qi <yao.qi@linaro.org>
6629 * gdb.reverse/step-precsave.exp: Do one step and test program
6630 stops in "callee" and do multiple steps until program goes out
6632 * gdb.reverse/step-reverse.exp: Likewise.
6634 2016-04-22 Yao Qi <yao.qi@linaro.org>
6636 * gdb.trace/signal.exp: Also pass if
6637 $tracepoint_hits($i) > $iterations.
6639 2016-04-22 Yao Qi <yao.qi@linaro.org>
6641 * gdb.trace/signal.c: New file.
6642 * gdb.trace/signal.exp: New file.
6644 2016-04-19 Doug Evans <xdje42@gmail.com>
6646 * gdb.base/bad-file.exp: New file.
6648 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
6650 * gdb.dwarf2/implref.exp: New file.
6652 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
6654 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
6655 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
6656 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
6657 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
6658 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
6659 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
6660 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
6661 * lib/fortran.exp (fortran_int4): New procedure.
6662 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
6663 (fortran_logical4): Likewise.
6665 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
6667 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
6669 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
6671 * lib/compiler.c: Add Intel specific preprocessor macros.
6672 * lib/compiler.cc: Likewise.
6674 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
6676 * gdb.server/connect-with-no-symbol-file.c: New file.
6677 * gdb.server/connect-with-no-symbol-file.exp: New file.
6679 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
6681 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
6683 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
6685 * boards/gdbserver-base.exp (${board}_download): Copy source file to
6686 standard output directory.
6688 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
6690 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
6692 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
6694 * gdb.btrace/instruction_history.c (loop): Add declaration.
6696 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
6698 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
6700 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
6702 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
6703 parentheses to print.
6704 (continue_handler): Likewise.
6706 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
6708 * gdb.server/solib-list.exp: Remove is_remote check.
6709 Pass shlib= to gdb_compile. Don't link shared library with
6710 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
6711 Run binary filename through "readlink -f" on the target.
6713 2016-04-08 Pedro Alves <palves@redhat.com>
6715 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
6716 interpreter filename as argument to gdbserver_spawn.
6717 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
6718 Return empty if $last_loaded_file does not exist.
6720 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6722 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
6723 * gdb.base/jit-main.c: Use exit after usage.
6725 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6727 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
6728 GDBHISTSIZE prior to the tests.
6729 * gdb.base/gdbinit-history.exp: Likewise.
6731 2016-04-07 Pedro Alves <palves@redhat.com>
6733 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
6734 instead of build_executable. Use gdb_load_shlibs.
6736 2016-04-07 Yao Qi <yao.qi@linaro.org>
6738 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
6739 Execute "si" command.
6741 2016-04-07 Yao Qi <yao.qi@linaro.org>
6743 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
6744 number instead of the comments on some line.
6746 2016-04-06 Don Breazeal <donb@codesourcery.com>
6748 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
6749 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
6751 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
6753 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
6754 standard_output_file. Remove unused binfile variable.
6756 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
6758 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
6759 * gdb.python/py-mi-objfile.exp: Match "list main" output
6762 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
6764 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
6767 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
6769 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
6771 * gdb.trace/ftrace.exp: Likewise.
6772 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
6774 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
6775 (gdb_load_shlibs): Copy libraries to test directory when testing
6776 natively. Only set solib-search-path if testing remotely.
6777 * lib/mi-support.exp (mi_load_shlibs): Likewise.
6779 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
6781 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
6782 gdb_download. Use it even if the target is not remote.
6783 * gdb.base/jit.exp (compile_jit_test): Likewise.
6784 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
6785 output directory if the destination board is local, otherwise use
6786 the standard remote_download from DejaGnu.
6787 (gdb_download): Remove.
6788 (gdb_load_shlibs): Use gdb_remote_download instead of
6790 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
6791 Use gdb_remote_download instead of gdb_download. Use it even if
6792 the target is not remote.
6793 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
6794 instead of gdb_download.
6796 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
6798 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
6799 (test_insert_delete_modify): Call mi_load_shlibs before trying to
6802 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
6805 * gdb.base/printcmds.exp: Add artificial arrays tests.
6807 2016-03-31 Pedro Alves <palves@redhat.com>
6810 * gdb.base/jit-main.c: Include unistd.h.
6811 (ATTACH): Define to 0 if not already defined.
6812 (wait_for_gdb, mypid): New globals.
6813 (WAIT_FOR_GDB): New macro.
6814 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
6815 some breakpoint locations.
6816 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
6818 (one_jit_test): Add REATTACH parameter, and handle it. Use
6819 continue_to_test_location.
6820 (top level): Test attach, and adjusts calls to one_jit_test.
6822 2016-03-31 Pedro Alves <palves@redhat.com>
6825 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
6826 BINSUFFIX parameter, and handle it.
6827 (top level): Adjust calls compile_jit_test.
6829 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
6832 * gdb.python/py-mi-events-gdb.py: New file.
6833 * gdb.python/py-mi-events.c: New file.
6834 * gdb.python/py-mi-events.exp: New file.
6836 2016-03-30 Yao Qi <yao.qi@linaro.org>
6838 * gdb.reverse/until-precsave.exp: Match function name only.
6839 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
6840 Move malloc to a condition block.
6841 * gdb.reverse/until-reverse.exp: Match function name only.
6843 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
6845 * gdb.trace/ftrace.exp: Set arg0exp for s390.
6846 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
6847 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
6848 variable for GPR 0 instead of assuming it is register 0.
6849 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
6850 * lib/trace-support.exp: Add s390 registers.
6852 2016-03-29 Yao Qi <yao.qi@linaro.org>
6854 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
6856 2016-03-24 Yao Qi <yao.qi@linaro.org>
6858 * gdb.reverse/break-reverse.exp: Add quotation mark in the
6861 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6863 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
6864 maintaining separate logic for constructing the output path.
6866 2016-03-16 Don Breazeal <donb@codesourcery.com>
6868 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
6869 Retry fork and waitpid on interrupted system call errors.
6870 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
6871 Use with_timeout_factor to increase timeout by factor of 10.
6873 2016-03-15 Don Breazeal <donb@codesourcery.com>
6875 * gdb.cp/scope-err.cc: New test program.
6876 * gdb.cp/scope-err.exp: New test script.
6877 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
6878 lines and "set breakpoint here" comment.
6879 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
6880 Fixed some whitespace and format issues.
6881 * gdb.mi/mi-linespec-err-cp.cc: New test program.
6882 * gdb.mi/mi-linespec-err-cp.exp: New test script.
6884 2016-03-15 Doug Evans <dje@google.com>
6886 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
6887 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
6888 All callers updated. Add tests for enums, mixed flags register.
6890 2016-03-15 Doug Evans <dje@google.com>
6892 * gdb.base/skip.c (main): Call test_skip_file_and_function.
6893 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
6895 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
6897 * gdb.base/default.exp: Add $_as_string to the list of expected
6898 convenience functions.
6900 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
6902 * gdb.base/maint.exp: New tests for 'maint info line-table'.
6904 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
6906 * gdb.python/py-as-string.exp: New file.
6907 * gdb.python/py-as-string.c: New file.
6909 2016-03-09 Pedro Alves <palves@redhat.com>
6911 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
6912 signal" -> "Thread NN received signal" output change.
6913 * gdb.threads/ia64-sigill.exp: Likewise.
6914 * gdb.threads/linux-dp.exp: Likewise.
6915 * gdb.threads/manythreads.exp: Likewise.
6916 * gdb.threads/pending-step.exp: Likewise.
6917 * gdb.threads/print-threads.exp: Likewise.
6918 * gdb.threads/sigstep-threads.exp: Likewise.
6919 * gdb.threads/staticthreads.exp: Likewise.
6920 * gdb.threads/tls.exp: Likewise.
6922 2016-03-09 Pedro Alves <palves@redhat.com>
6924 * gdb.base/command-line-input.exp: New file.
6926 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6928 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
6929 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
6930 * gdb.trace/pending.exp: Accept leading dot before function name.
6931 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
6932 * lib/trace-support.exp: Set registers for ppc.
6934 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6936 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
6937 use it for disassembly; accept .main in addition to main in backtrace.
6939 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
6940 Marcin Kościelnicki <koriakin@0x04.net>
6942 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
6943 (gdb_recursion_test_ptr): New global variable.
6944 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
6946 (gdb_c_test): Ditto.
6948 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6950 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
6953 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6955 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
6956 (bar): Add bar_start_lbl label.
6957 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
6958 of foo/bar for emitting DWARF and tracing.
6960 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
6962 * analyze-racy-logs.py: Set executable bit.
6964 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
6966 * Makefile.in (DEFAULT_RACY_ITER): New variable.
6967 (CHECK_TARGET_TMP): Likewise.
6968 (check-single-racy): New rule.
6969 (check-parallel-racy): Likewise.
6970 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
6971 (do-check-parallel-racy): New rule.
6972 (check-racy/%.exp): Likewise.
6973 * README (Racy testcases): New section.
6974 * analyze-racy-logs.py: New file.
6976 2016-03-03 Doug Evans <dje@google.com>
6978 * gdb.base/skip.exp: Use with_test_prefix.
6980 2016-03-03 Yao Qi <yao.qi@linaro.org>
6982 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
6983 Invoke step_over_syscall "clone" and break_cond_on_syscall
6985 * gdb.base/step-over-clone.c: New file.
6987 2016-03-03 Yao Qi <yao.qi@linaro.org>
6989 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
6992 2016-03-03 Yao Qi <yao.qi@linaro.org>
6994 * gdb.base/disp-step-fork.c: Rename to ...
6995 * gdb.base/step-over-fork.c: ... it. New file.
6996 * gdb.base/disp-step-vfork.c: Rename to ...
6997 * gdb.base/step-over-vfork.c: ... it. New file.
6998 * gdb.base/disp-step-syscall.exp: Rename to ...
6999 * gdb.base/step-over-syscall.exp: ... it. New file.
7000 (disp_step_cross_syscall): Rename to ...
7001 (step_over_syscall): ... it.
7003 2016-03-03 Yao Qi <yao.qi@linaro.org>
7005 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
7006 If target supports condition evaluation on target, invoke
7007 break_cond_on_syscall for fork and vfork.
7009 2016-03-03 Yao Qi <yao.qi@linaro.org>
7011 * gdb.base/disp-step-syscall.exp: Don't invoke
7012 support_displaced_stepping.
7013 (disp_step_cross_syscall): Test with displaced stepping off and
7016 2016-03-03 Yao Qi <yao.qi@linaro.org>
7018 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
7021 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
7024 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7026 * gdb.fortran/vla-history.exp: Remove breakpoint.
7028 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7030 * gdb.fortran/vla-history.exp: Lookup array elements and printing
7033 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7035 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
7038 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7040 * gdb.mi/vla.f90: Nullify pointer after declaration.
7042 2016-03-01 Pedro Alves <palves@redhat.com>
7044 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
7046 2016-03-01 Pedro Alves <palves@redhat.com>
7048 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
7049 before anything else.
7050 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
7052 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
7053 before anything else.
7054 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
7056 2016-03-01 Pedro Alves <palves@redhat.com>
7058 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
7060 2016-03-01 Yao Qi <yao.qi@linaro.org>
7062 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
7063 prepare_for_testing.
7065 2016-03-01 Yao Qi <yao.qi@linaro.org>
7067 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
7069 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7071 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
7072 manually constructing the output path.
7074 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7076 * gdb.arch/s390-stackless.S: New.
7077 * gdb.arch/s390-stackless.exp: New.
7079 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
7081 * gdb.dlang/circular.c: New file.
7082 * gdb.dlang/circular.exp: New file.
7084 2016-02-26 Yao Qi <yao.qi@linaro.org>
7086 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
7087 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
7088 (testcases): Update.
7090 2016-02-26 Yao Qi <yao.qi@linaro.org>
7092 * gdb.reverse/aarch64.c: Rename to ...
7093 * gdb.reverse/insn-reverse.c: ... it.
7094 * gdb.reverse/aarch64.exp: Rename to ...
7095 * gdb.reverse/insn-reverse.exp: ... it.
7097 2016-02-26 Yao Qi <yao.qi@linaro.org>
7099 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
7100 (testcase_ftype): New.
7101 (testcases): New array.
7103 (main): Call each element in testcases.
7104 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
7105 (read_testcase): New.
7106 Do the tests in a loop.
7108 2016-02-25 Yao Qi <yao.qi@linaro.org>
7110 * gdb.base/branches.c: Remove.
7112 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
7115 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
7117 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
7119 * gdb.trace/ftrace.exp: Remove unnecessary target check.
7121 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
7123 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
7124 change x86_64 call_insn to 'callq'.
7126 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7128 * gdb.trace/tfile-avx.c: Move to...
7129 * gdb.trace/tracefile-pseudo-reg.c: Here.
7130 * gdb.trace/tfile-avx.exp: Move to...
7131 * gdb.trace/tracefile-pseudo-reg.exp: Here.
7133 2016-02-24 Gary Benson <gbenson@redhat.com>
7135 * gdb.base/attach-pie-noexec.exp: Do not expect an error
7138 2016-02-23 Doug Evans <dje@google.com>
7140 * gdb.base/skip.c (test_skip): New function.
7141 (end_test_skip_file_and_function): New function.
7142 (test_skip_file_and_function): New function.
7143 * gdb.base/skip1.c (test_skip): New function.
7144 (skip1_test_skip_file_and_function): New function.
7145 * gdb.base/skip.exp: Add tests for new skip options.
7146 * gdb.base/skip-solib.exp: Update expected output.
7147 * gdb.perf/skip-command.cc: New file.
7148 * gdb.perf/skip-command.exp: New file.
7149 * gdb.perf/skip-command.py: New file.
7151 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
7153 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
7154 info registers pattern.
7156 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
7158 * lib/future.exp: Add D support.
7159 (gdb_find_gdc): New proc.
7160 (gdb_default_target_compile): Add D support.
7162 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
7164 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
7166 (trace_speed_test): Determine the iteration count for a time
7167 between 15..30 seconds.
7169 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
7171 * gdb.arch/i386-mpx-sigsegv.c: New file.
7172 * gdb.arch/i386-mpx-sigsegv.exp: New file.
7173 * gdb.arch/i386-mpx-simple_segv.c: New file.
7174 * gdb.arch/i386-mpx-simple_segv.exp: New file.
7176 2016-02-18 Yao Qi <yao.qi@linaro.org>
7178 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7179 Don't call setup_kfail.
7181 2016-02-18 Yao Qi <yao.qi@linaro.org>
7183 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7184 Set "set breakpoint condition-evaluation" per $cond_bp_target.
7186 2016-02-16 Doug Evans <dje@google.com>
7188 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
7189 * gdb.base/skip1.c: Ditto.
7190 * gdb.base/skip.exp: Whitespace cleanup.
7192 2016-02-16 Don Breazeal <donb@codesourcery.com>
7195 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7196 Remove kfail for PR remote/19496.
7198 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
7200 * lib/gdb.exp (standard_temp_file): Return a path specific to
7201 the runtest invocation.
7203 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
7205 * gdb.trace/save-trace.exp: Change relative path to be in the
7206 standard output directory.
7208 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7210 * gdb.arch/i386-prologue.c: Add missing prototypes.
7212 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7214 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
7215 * gdb.arch/i386-prologue.exp: Likewise.
7216 * gdb.arch/i386-size.exp: Likewise.
7218 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
7220 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
7221 define object file path.
7222 * gdb.btrace/gcore.exp: Use standard_output_file to define core
7224 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
7225 standard_output_file to define binfile.
7227 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7229 Fix compatibility with recent gfortran-5.3.1.
7230 * gdb.fortran/vla-history.exp (print vla1 allocated)
7231 (print vla2 allocated, print $2, print $3): Remove
7232 (print $4): Rename to ...
7233 (print $2): ... here.
7234 (print $9): Rename to ...
7235 (print $5): ... here.
7236 (print $10): Rename to ...
7237 (print $6): ... here.
7238 * gdb.fortran/vla.f90: Add pvla initialization.
7240 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7242 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
7244 * gdb.fortran/vla-value-sub.exp: Likewise.
7246 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
7248 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
7250 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
7252 * i386-biarch-core.exp: Define corefile using
7253 standard_output_file.
7255 2016-02-12 Yao Qi <yao.qi@linaro.org>
7257 * gdb.arch/arm-single-step-kernel-helper.c: New.
7258 * gdb.arch/arm-single-step-kernel-helper.exp: New.
7260 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
7262 * gdb.btrace/tailcall-only.exp: New.
7263 * gdb.btrace/tailcall-only.c: New.
7264 * gdb.btrace/x86_64-tailcall-only.S: New.
7265 * gdb.btrace/i686-tailcall-only.S: New.
7267 2016-02-11 Pedro Alves <palves@redhat.com>
7269 * README (Parallel testing): Add missing double quotes.
7271 2016-02-11 Pedro Alves <palves@redhat.com>
7273 * README (Parallel testing): New section.
7274 (GDB_PARALLEL): Rewrite.
7275 (FORCE_PARALLEL): Document.
7277 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
7279 * gdb.trace/tfile-avx.c: New test.
7280 * gdb.trace/tfile-avx.exp: New test.
7282 2016-02-09 Keith Seitz <keiths@redhat.com>
7284 PR breakpoints/19546
7285 * gdb.base/infcall-exec.c: New file.
7286 * gdb.base/infcall-exec2.c: New file.
7287 * gdb.base/infcall-exec.exp: New file.
7289 2016-02-09 Keith Seitz <keiths@redhat.com>
7291 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
7292 (toplevel): Call test_bkpt_address.
7294 2016-02-09 Keith Seitz <keiths@redhat.com>
7297 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
7298 (toplevel): Call test_bkpt_address.
7300 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
7302 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
7304 * configure: Regenerate.
7306 2016-02-09 Pedro Alves <palves@redhat.com>
7308 PR breakpoints/19548
7309 * gdb.base/execl-update-breakpoints.c (some_function): New
7312 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
7313 Tighten expected GDB output.
7315 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
7317 * Makefile.in (ALL_SUBDIRS): Remove.
7318 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
7319 (distclean maintainer-clean realclean): Likewise.
7320 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
7321 * configure: Regenerate.
7322 * gdb.ada/Makefile.in: Delete.
7323 * gdb.arch/Makefile.in: Likewise.
7324 * gdb.asm/Makefile.in: Likewise.
7325 * gdb.base/Makefile.in: Likewise.
7326 * gdb.btrace/Makefile.in: Likewise.
7327 * gdb.cell/Makefile.in: Likewise.
7328 * gdb.compile/Makefile.in: Likewise.
7329 * gdb.cp/Makefile.in: Likewise.
7330 * gdb.disasm/Makefile.in: Likewise.
7331 * gdb.dlang/Makefile.in: Likewise.
7332 * gdb.dwarf2/Makefile.in: Likewise.
7333 * gdb.fortran/Makefile.in: Likewise.
7334 * gdb.gdb/Makefile.in: Likewise.
7335 * gdb.go/Makefile.in: Likewise.
7336 * gdb.guile/Makefile.in: Likewise.
7337 * gdb.java/Makefile.in: Likewise.
7338 * gdb.linespec/Makefile.in: Likewise.
7339 * gdb.mi/Makefile.in: Likewise.
7340 * gdb.modula2/Makefile.in: Likewise.
7341 * gdb.multi/Makefile.in: Likewise.
7342 * gdb.objc/Makefile.in: Likewise.
7343 * gdb.opencl/Makefile.in: Likewise.
7344 * gdb.opt/Makefile.in: Likewise.
7345 * gdb.pascal/Makefile.in: Likewise.
7346 * gdb.perf/Makefile.in: Likewise.
7347 * gdb.python/Makefile.in: Likewise.
7348 * gdb.reverse/Makefile.in: Likewise.
7349 * gdb.server/Makefile.in: Likewise.
7350 * gdb.stabs/Makefile.in: Likewise.
7351 * gdb.threads/Makefile.in: Likewise.
7352 * gdb.trace/Makefile.in: Likewise.
7353 * gdb.xml/Makefile.in: Likewise.
7354 * lib/gdb.exp (make_gdb_parallel_path): Add check for
7356 (standard_output_file): Remove check for GDB_PARALLEL, always
7357 return path in outputs/$subdir/$testname.
7359 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
7361 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
7362 (site.exp): Assign abs_srcdir to tcl's srcdir.
7364 2016-02-04 Yao Qi <yao.qi@linaro.org>
7366 * gdb.base/foll-exec-mode.c: Include limits.h.
7367 (main): Add parameters argc and argv. Get directory from
7369 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
7371 * gdb.base/foll-exec.c: Include limits.h.
7372 (main): Add parameters argc and argv.
7373 Get directory from argv[0].
7374 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
7375 Adjust tests on the number of lines as source code changed.
7376 * gdb.base/foll-vfork-exit.c: Include limits.h.
7377 (main): Add one line of statement before vfork.
7378 * gdb.base/foll-vfork.c: Include limits.h and string.h.
7379 (main): Add parameters argc and argv. Get directory from
7381 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
7382 (setup_gdb): Set tbreak to skip some source lines.
7383 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
7384 (main): Add parameters argc and argv. Get directory from
7386 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
7388 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
7389 (main): Add parameters argc and argv. Get directory from
7391 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
7394 2016-02-01 Doug Evans <dje@google.com>
7396 * gdb.base/skip.exp: Clean up multiple references to same test name.
7398 2016-02-01 Pedro Alves <palves@redhat.com>
7401 * gdb.threads/forking-threads-plus-breakpoint.exp
7402 (displaced_stepping_supported): New global.
7403 (probe_displaced_stepping_support): New procedure.
7404 (do_test): Add 'displaced' parameter, and use it.
7405 (top level): Check for displaced stepping support. Add displaced
7406 stepping on/off testing axis.
7408 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
7410 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
7411 pointer. Don't perform further tests on the unassociated pointer
7412 if the first test fails.
7414 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
7416 * gdb.base/max-value-size.c: New file.
7417 * gdb.base/max-value-size.exp: New file.
7418 * gdb.base/huge.exp: Disable max-value-size for this test.
7420 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
7422 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
7424 2016-01-28 Yao Qi <yao.qi@linaro.org>
7426 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
7428 2016-01-25 Pedro Alves <palves@redhat.com>
7431 * gdb.base/fork-running-state.c: New file.
7432 * gdb.base/fork-running-state.exp: New file.
7434 2016-01-25 Pedro Alves <palves@redhat.com>
7437 * gdb.base/catch-fork-kill.c: New file.
7438 * gdb.base/catch-fork-kill.exp: New file.
7440 2016-01-25 Pedro Alves <palves@redhat.com>
7442 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
7443 Delete, moved to lib/gdb.exp.
7444 * gdb.threads/forking-threads-plus-breakpoint.exp
7445 (foreach_with_prefix): Likewise.
7446 * gdb.threads/process-dies-while-handling-bp.exp
7447 (foreach_with_prefix): Likewise.
7448 * lib/gdb.exp (foreach_with_prefix): New procedure.
7450 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
7452 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
7453 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
7455 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
7457 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
7460 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7461 Pedro Alves <palves@redhat.com>
7463 Fix testsuite compatibility with Guile.
7464 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
7467 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7469 Fix testsuite compatibility with Guile.
7470 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
7471 (thread 1): New test for backtrace through signal handler.
7473 2016-01-22 Yao Qi <yao.qi@linaro.org>
7476 * gdb.base/multi-forks.c: Include
7477 ../lib/unbuffer_output.c
7478 (main): Call gdb_unbuffer_output.
7480 2016-01-21 Doug Evans <dje@google.com>
7482 * lib/ada.exp (gdb_compile_ada): Fix typo.
7484 2016-01-21 Joel Brobecker <brobecker@adacore.com>
7486 * gdb.base/break-fun-addr.exp: New file.
7487 * gdb.base/break-fun-addr1.c: New file.
7488 * gdb.base/break-fun-addr2.c: New file.
7490 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
7492 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
7493 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
7496 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7498 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
7499 when GDB can not set the vector return value. Add more comments
7502 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
7504 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
7507 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7509 * Makefile.in (DO_RUNTEST): Add --status and update usages.
7511 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7513 * Makefile.in (check-single): Pass --status to runtest.
7514 (check/%.exp): Likewise.
7516 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7518 * Makefile.in (check-parallel): Propagate return code from make
7521 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
7523 * gdb.trace/ftrace.exp: Fix expected message on continue.
7524 * gdb.trace/pending.exp: Fix expected message on continue.
7525 * gdb.trace/trace-break.exp: Fix expected message on continue.
7527 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
7529 * lib/gdb.exp (gdb_test): Remove unused global references.
7531 2016-01-18 Pedro Alves <palves@redhat.com>
7533 * gdb.base/async-shell.exp: Adjust expected output.
7534 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
7535 * gdb.base/siginfo-thread.exp: Adjust expected output.
7536 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
7537 * gdb.java/jnpe.exp: Adjust expected output.
7538 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
7539 * gdb.threads/continue-pending-status.exp: Adjust expected output.
7540 * gdb.threads/leader-exit.exp: Adjust expected output.
7541 * gdb.threads/manythreads.exp: Adjust expected output.
7542 * gdb.threads/pthreads.exp: Adjust expected output.
7543 * gdb.threads/schedlock.exp: Adjust expected output.
7544 * gdb.threads/siginfo-threads.exp: Adjust expected output.
7545 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
7547 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
7549 * gdb.threads/sigthread.exp: Adjust expected output.
7550 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
7552 2016-01-18 Yao Qi <yao.qi@linaro.org>
7554 * gdb.guile/scm-section-script.c: Replace @progbits with
7556 * gdb.python/py-section-script.c: Likewise.
7558 2016-01-15 Pedro Alves <palves@redhat.com>
7560 * gdb.multi/tids.exp: Test star wildcard ranges.
7562 2016-01-15 Pedro Alves <palves@redhat.com>
7564 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
7565 command from "thread apply" invocation.
7566 (thr_apply_info_thr_invalid): Default the expected output to the
7568 (top level): Add tests that use convenience variables. Add tests
7569 for "thread apply" with a valid TID list, but missing the command.
7571 2016-01-13 Pedro Alves <palves@redhat.com>
7573 * gdb.base/default.exp: Expect $_gthread as well.
7574 * gdb.multi/tids.exp: Test $_gthread.
7575 * gdb.threads/thread-specific.exp: Test $_gthread.
7577 2016-01-13 Pedro Alves <palves@redhat.com>
7579 * gdb.multi/tids.exp: Test "info threads -gid".
7581 2016-01-13 Pedro Alves <palves@redhat.com>
7583 * gdb.multi/tids.exp: Test InferiorThread.global_num and
7585 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
7587 2016-01-07 Pedro Alves <palves@redhat.com>
7589 * gdb.base/break.exp: Adjust to output changes.
7590 * gdb.base/hbreak2.exp: Likewise.
7591 * gdb.base/sepdebug.exp: Likewise.
7592 * gdb.base/watch_thread_num.exp: Likewise.
7593 * gdb.linespec/keywords.exp: Likewise.
7594 * gdb.multi/info-threads.exp: Likewise.
7595 * gdb.threads/thread-find.exp: Likewise.
7596 * gdb.multi/tids.c: New file.
7597 * gdb.multi/tids.exp: New file.
7599 2016-01-13 Pedro Alves <palves@redhat.com>
7601 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
7603 2016-01-13 Pedro Alves <palves@redhat.com>
7605 * gdb.base/default.exp: Expect $_inferior as well.
7606 * gdb.multi/base.exp: Test $_inferior.
7608 2016-01-13 Pedro Alves <palves@redhat.com>
7610 PR breakpoints/19388
7611 * gdb.base/catch-signal-siginfo-cond.c: New file.
7612 * gdb.base/catch-signal-siginfo-cond.exp: New file.
7614 2016-01-12 Josh Stone <jistone@redhat.com>
7615 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7617 * gdb.base/catch-syscall.c (do_execve): New variable.
7618 (main): Conditionally trigger an execve.
7619 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
7620 (test_catch_syscall_execve): New, check entry/return across execve.
7621 (do_syscall_tests): Call test_catch_syscall_execve.
7623 2016-01-12 Pedro Alves <palves@redhat.com>
7625 * gdb.base/random-signal.exp (do_test): New procedure, with body
7626 of testcase moved in.
7628 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7629 Pedro Alves <palves@redhat.com>
7631 * gdb.base/funcargs.exp (finish from indirectly called function):
7632 Reintroduce the case for 'First'.
7634 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7635 Pedro Alves <palves@redhat.com>
7637 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
7638 (tcatch_vfork_then_child_follow_exec)
7639 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
7642 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7644 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
7645 and repeats to unlimited.
7646 * gdb.python/py-value.exp: Likewise.
7647 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
7648 and repeats to unlimited.
7650 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7652 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
7653 and reordering the functions.
7654 * gdb.multi/hangout.c: Likewise.
7655 * gdb.multi/hello.c: Likewise.
7657 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
7659 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
7661 (SingleStatisticTestResult.report): Use dict.keys instead of
7664 2016-01-06 Pedro Alves <palves@redhat.com>
7666 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
7668 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
7670 * gdb.btrace/dlopen.exp: New.
7671 * gdb.btrace/dlopen.c: New.
7672 * gdb.btrace/dlopen-dso.c: New.
7674 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
7676 * lib/gdb.exp (gdb_test): Update comments to clarify that the
7677 PATTERN argument is optional.
7679 2015-12-24 Joel Brobecker <brobecker@adacore.com>
7681 * lib/ada.exp (target_compile_ada_from_dir): New function.
7682 (gdb_compile_ada): Reimplement avoiding the use of project files.
7683 * gdb.ada/gnat_ada.gpr: Delete.
7684 * gdb.ada/cond_lang.exp: Adjust test to make path before
7686 * gdb.ada/small_reg_param.exp: Likewise.
7688 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
7690 * gdb.base/foll-vork.exp: Remove HP-UX special case.
7692 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
7694 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
7697 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
7699 * gdb.base/break.exp: Remove dead code.
7700 * gdb.base/sepdebug.exp: Likewise.
7702 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
7704 * gdb.asm/asm-source.exp: Remove HP-UX references.
7705 * gdb.base/annota1.exp: Likewise.
7706 * gdb.base/annota3.exp: Likewise.
7707 * gdb.base/attach.exp: Likewise.
7708 * gdb.base/bigcore.exp: Likewise.
7709 * gdb.base/break.exp: Likewise.
7710 * gdb.base/call-ar-st.exp: Likewise.
7711 * gdb.base/callfuncs.exp: Likewise.
7712 * gdb.base/catch-fork-static.exp: Likewise.
7713 * gdb.base/display.exp: Likewise.
7714 * gdb.base/foll-exec-mode.exp: Likewise.
7715 * gdb.base/foll-exec.exp: Likewise.
7716 * gdb.base/foll-fork.exp: Likewise.
7717 * gdb.base/foll-vfork.exp: Likewise.
7718 * gdb.base/funcargs.exp: Likewise.
7719 * gdb.base/hbreak2.exp: Likewise.
7720 * gdb.base/inferior-died.exp: Likewise.
7721 * gdb.base/interrupt.exp: Likewise.
7722 * gdb.base/multi-forks.exp: Likewise.
7723 * gdb.base/nodebug.exp: Likewise.
7724 * gdb.base/sepdebug.exp: Likewise.
7725 * gdb.base/solib1.c: Likewise.
7726 * gdb.base/step-test.exp: Likewise.
7727 * gdb.mi/non-stop.c: Likewise.
7728 * gdb.mi/pthreads.c: Likewise.
7729 * gdb.multi/bkpt-multi-exec.ex: Likewise.
7730 * gdb.threads/pthreads.c: Likewise.
7731 * gdb.threads/staticthreads.exp: Likewise.
7732 * lib/future.exp: Likewise.
7733 * lib/gdb.exp: Likewise.
7734 * gdb.base/so-indr-cl.c: Remove.
7735 * gdb.base/so-indr-cl.exp: Likewise.
7736 * gdb.base/solib.c: Likewise.
7737 * gdb.base/solib.exp: Likewise.
7738 * gdb.base/solib2.c: Likewise.
7740 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
7742 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
7743 * gdb.base/call-ar-st.exp: Likewise.
7744 * gdb.base/callfuncs.exp: Likewise.
7745 * gdb.base/condbreak.exp: Likewise.
7746 * gdb.base/constvars.exp: Likewise.
7747 * gdb.base/hbreak2.exp: Likewise.
7748 * gdb.base/langs.exp: Likewise.
7749 * gdb.base/list.exp: Likewise.
7750 * gdb.base/long_long.exp: Likewise.
7751 * gdb.base/ptype.exp: Likewise.
7752 * gdb.base/scope.exp: Likewise.
7753 * gdb.base/signals.exp: Likewise.
7754 * gdb.base/so-impl-ld.exp: Likewise.
7755 * gdb.base/varargs.exp: Likewise.
7756 * gdb.base/volatile.exp: Likewise.
7757 * gdb.base/whatis.exp: Likewise.
7758 * gdb.cp/cplusfuncs.exp: Likewise.
7759 * gdb.cp/inherit.exp: Likewise.
7760 * gdb.cp/local.exp: Likewise.
7761 * gdb.cp/member-ptr.exp: Likewise.
7762 * gdb.cp/method.exp: Likewise.
7763 * gdb.cp/overload.exp: Likewise.
7764 * gdb.cp/templates.exp: Likewise.
7765 * gdb.stabs/weird.exp: Likewise.
7766 * lib/compiler.c: Likewise.
7767 * lib/compiler.cc: Likewise.
7768 * lib/cp-support.exp: Likewise.
7769 * lib/gdb.exp: Likewise.
7771 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
7773 * configure.ac: Remove HP-UX case.
7774 * configure: Regenerate.
7776 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
7778 * lib/gdb.exp (gdb_compile): Add function doc.
7780 2015-12-17 Pedro Alves <palves@redhat.com>
7783 * gdb.multi/info-threads.exp: New file.
7785 2015-12-15 Yao Qi <yao.qi@linaro.org>
7787 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
7790 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7792 * gdb.base/history-duplicates.exp: Skip if no readline support.
7794 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7796 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
7798 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7800 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
7802 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7804 * gdb.base/completion.exp: Skip tests that interrupt GDB with
7805 ctrl-C if nointerrupts target property is set.
7806 * gdb.base/double-prompt-target-event-error.exp: Likewise.
7807 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
7808 * gdb.base/paginate-bg-execution.exp: Likewise.
7809 * gdb.base/paginate-execution-startup.exp: Likewise.
7810 * gdb.base/random-signal.exp: Likewise.
7811 * gdb.base/range-stepping.exp: Likewise.
7812 * gdb.cp/annota2.exp: Likewise.
7813 * gdb.cp/annota3.exp: Likewise.
7814 * gdb.gdb/selftest.exp: Likewise.
7815 * gdb.threads/continue-pending-status.exp: Likewise.
7816 * gdb.threads/leader-exit.exp: Likewise.
7817 * gdb.threads/manythreads.exp: Likewise.
7818 * gdb.threads/pthreads.exp: Likewise.
7819 * gdb.threads/schedlock.exp: Likewise.
7820 * gdb.threads/sigthread.exp: Likewise.
7822 2015-12-11 Don Breazeal <donb@codesourcery.com>
7824 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
7826 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
7827 * gdb.base/foll-exec.exp (main): Enable for target remote.
7828 * gdb.base/foll-fork.exp (main): Likewise.
7829 * gdb.base/foll-vfork.exp (main): Likewise.
7830 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
7831 (proc continue_to_exit_bp_loc): Use clean_restart.
7832 * gdb.base/pie-execl.exp (main): Disable for target remote.
7833 * gdb.base/watch-vfork.exp (main): Enable for target remote.
7834 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
7835 * gdb.threads/execl.exp (main): Likewise.
7836 * gdb.threads/fork-child-threads.exp (main): Likewise.
7837 * gdb.threads/fork-plus-threads.exp (main): Disable for target
7839 * gdb.threads/fork-thread-pending.exp (main): Enable for target
7841 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
7842 pid.tid style ptids, instead of just tid.
7843 * gdb.threads/thread-execl.exp (main): Enable for target remote.
7844 * gdb.threads/watchpoint-fork.exp (main): Likewise.
7845 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
7846 ptids, instead of just tid.
7848 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7850 * gdb.base/list.exp (test_list_forward): Add end of file error
7852 (test_repeat_list_command): Add end of file error test.
7853 (test_list_backwards): Add beginning of file error test.
7855 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7857 * gdb.base/list.exp (test_list_invalid_args): New function,
7858 defined, and called.
7860 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7862 * gdb.base/list.exp (test_list): Make test names unique.
7864 2015-12-11 Yao Qi <yao.qi@linaro.org>
7866 * gdb.base/coremaker2.c: Remove.
7868 2015-12-10 Pedro Alves <palves@redhat.com>
7870 * gdb.multi/base.exp: Remove stale "spaces" references.
7872 2015-12-10 Pedro Alves <palves@redhat.com>
7874 * gdb.multi/base.exp: Don't use nowarnings.
7875 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
7876 * gdb.multi/hangout.c: Include stdio.h.
7877 * gdb.multi/hello.c: Include stdlib.h.
7878 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
7879 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
7880 * gdb.multi/multi-arch.exp: Don't use nowarnings.
7882 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
7884 * gdb.dwarf2/dw2-ranges-base.c: New file.
7885 * gdb.dwarf2/dw2-ranges-base.exp: New file.
7886 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
7887 support additional line table, and debug ranges generation.
7888 (Dwarf::ranges): New function, generate .debug_ranges.
7889 (Dwarf::lines): Support generating simple line table programs.
7890 (Dwarf::assemble): Initialise new namespace variables.
7892 2015-12-09 Kevin Buettner <kevinb@redhat.com>
7894 * gdb.base/async.exp (proc test_background): Add case for
7895 asynchronous execution not supported.
7897 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
7899 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
7900 format and change test names to make them unique.
7902 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
7903 Pedro Alves <pedro@redhat.com>
7906 Add checking of floatformats setup on x86_64 hosts.
7907 * gdb.arch/i386-float.S (main): Load bigval and smallval.
7908 (smallval, bigval): New labels/constants.
7909 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
7910 float" after loading bigval and smallval.
7912 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
7914 * gdb.ada/fun_overload_menu.exp: New testcase.
7915 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
7917 2015-12-04 Josh Stone <jistone@redhat.com>
7919 * gdb.base/catch-fork-static.exp: New.
7921 2015-12-03 Yao Qi <yao.qi@linaro.org>
7923 * gdb.base/sizeof.c: Don't include stdio.h and
7924 ../lib/unbuffer_output.c.
7925 (main): New variable 'size' and 'value'. Remove printf and
7926 gdb_unbuffer_output. Assign return value to size and value.
7927 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
7929 (check_sizeof): Check the result by printing variable 'size'.
7930 (check_valueof): Check the result by printing variable 'value'.
7932 2015-12-01 Yao Qi <yao.qi@linaro.org>
7934 * gdb.base/disp-step-syscall.exp: Define syscall instruction
7935 for aarch64*-*-linux* target.
7937 2015-11-30 Pedro Alves <palves@redhat.com>
7939 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
7941 2015-11-30 Pedro Alves <palves@redhat.com>
7943 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
7944 Handle non-stop mode vCont replies.
7946 2015-11-30 Pedro Alves <palves@redhat.com>
7948 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
7949 prepare_for_testing. Start gdb with "set non-stop on" appended to
7950 GDBFLAGS. Lax expected stop output.
7952 2015-11-27 Yao Qi <yao.qi@linaro.org>
7954 * gdb.arch/arm-neon.exp: New.
7955 * gdb.arch/arm-neon.c: New.
7957 2015-11-27 Yao Qi <yao.qi@linaro.org>
7959 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
7961 2015-11-27 Yao Qi <yao.qi@linaro.org>
7963 * gdb.cp/annota2.exp: Allow multiple occurrences of the
7964 frames-invalid annotation.
7966 2015-11-27 Yao Qi <yao.qi@linaro.org>
7968 * gdb.cp/annota2.exp: Use ${frames_invalid}.
7970 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
7972 * gdb.threads/names.exp: New file.
7973 * gdb.threads/names.c: New file.
7974 * README: Mention gdb,no_thread_names.
7976 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
7979 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
7982 2015-11-24 Pedro Alves <palves@redhat.com>
7985 * gdb.base/display.exp: Expect displays to be sorted in ascending
7986 order. Use multi_line.
7987 * gdb.base/solib-display.exp: Likewise.
7989 2015-11-24 Pedro Alves <palves@redhat.com>
7992 * gdb.base/display.exp: Expect displays to be sorted in ascending
7993 order. Use multi_line.
7994 * gdb.base/solib-display.exp: Likewise.
7996 2015-11-24 Pedro Alves <palves@redhat.com>
7999 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
8000 threads in ascending order.
8001 * gdb.base/foll-fork.exp: Likewise.
8002 * gdb.base/foll-vfork.exp: Likewise.
8003 * gdb.base/multi-forks.exp: Likewise.
8004 * gdb.mi/mi-nonstop.exp: Likewise.
8005 * gdb.mi/mi-nsintrall.exp: Likewise.
8006 * gdb.multi/base.exp: Likewise.
8007 * gdb.multi/multi-arch.exp: Likewise.
8008 * gdb.python/py-inferior.exp: Likewise.
8009 * gdb.threads/break-while-running.exp: Likewise.
8010 * gdb.threads/execl.exp: Likewise.
8011 * gdb.threads/gcore-thread.exp: Likewise.
8012 * gdb.threads/info-threads-cur-sal.exp: Likewise.
8013 * gdb.threads/kill.exp: Likewise.
8014 * gdb.threads/linux-dp.exp: Likewise.
8015 * gdb.threads/multiple-step-overs.exp: Likewise.
8016 * gdb.threads/next-bp-other-thread.exp: Likewise.
8017 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
8018 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
8019 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
8020 * gdb.threads/thread-find.exp: Likewise.
8021 * gdb.threads/tls.exp: Likewise.
8022 * lib/mi-support.exp (mi_reverse_list): Delete.
8023 (mi_check_thread_states): No longer reverse list.
8025 2015-11-24 Pedro Alves <palves@redhat.com>
8027 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
8030 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
8032 * gdb.trace/actions.c: Include trace-common.h.
8033 (main): Add a location for a fast tracepoint.
8034 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
8035 the normal tracepoints.
8036 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
8038 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
8040 * save-trace.exp: Factor out code to these...
8041 (gdb_save_tracepoints): New.
8042 (gdb_load_tracepoints): New.
8043 (do_save_load_test): New.
8045 2015-11-23 Kevin Buettner <kevinb@redhat.com>
8047 * gdb.base/asmlabel.exp: New test.
8048 * gdb.base/asmlabel.c: New test case.
8050 2015-11-23 Joel Brobecker <brobecker@adacore.com>
8052 * gdb.base/wrong_frame_bt_full-main.c: New file.
8053 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
8054 * gdb.base/wrong_frame_bt_full.exp: New file.
8056 2015-11-23 Joel Brobecker <brobecker@adacore.com>
8058 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
8060 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
8062 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
8063 pstate register when comparing registers values in
8064 sparc64-*-linux-gnu targets to avoid spurious differences.
8066 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
8068 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
8070 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
8072 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
8073 as type argument to gdb_compile.
8074 * gdb.base/nested-subp2.exp: Likewise.
8075 * gdb.base/nested-subp3.exp: Likewise.
8077 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
8079 * lib/dwarf.exp (_note): Fix left shift of negative value.
8080 * gdb.trace/trace-condition.exp: Likewise.
8082 2015-11-13 Yao Qi <yao.qi@linaro.org>
8084 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
8085 comments about d10v.
8086 (test_scalar_returns): Likewise.
8087 * gdb.base/d10v.ld: Remove.
8088 * gdb.base/overlays.exp: Remove the target triplet checking for
8090 * gdb.base/structs.exp (test_struct_returns): Remove the
8091 comments about d10v.
8092 (test_struct_calls): Likewise.
8094 2015-11-13 Yao Qi <yao.qi@linaro.org>
8096 * gdb.base/gnu_vector.exp: Check the return value by "p res".
8097 * gdb.base/gnu_vector.c: Don't include stdio.h.
8098 (main): Don't print res and call add_some_intvecs.
8100 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
8102 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
8105 (func4): Use FAST_TRACEPOINT_LABEL.
8106 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
8109 (thread_function): Use FAST_TRACEPOINT_LABEL.
8110 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
8112 (marker): Use FAST_TRACEPOINT_LABEL.
8113 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
8114 (pendfunc1): Remove.
8115 (pendfunc): Use FAST_TRACEPOINT_LABEL.
8116 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
8118 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
8119 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
8122 (marker): Use FAST_TRACEPOINT_LABEL.
8123 * gdb.trace/trace-common.h: New header.
8124 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
8127 (marker): Use FAST_TRACEPOINT_LABEL.
8128 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
8130 (thread_function): Use FAST_TRACEPOINT_LABEL.
8132 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
8134 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
8136 * gdb.trace/change-loc.exp: Use global pcreg definition.
8137 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
8138 * gdb.trace/entry-values.exp: Use global spreg definition, add $
8140 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
8141 * gdb.trace/pending.exp: Likewise.
8142 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
8143 * gdb.trace/trace-break.exp: Likewise.
8144 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
8146 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
8147 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
8149 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
8151 2015-11-09 Joel Brobecker <brobecker@adacore.com>
8153 * gdb.ada/fin_fun_out: New testcase.
8155 2015-11-07 Kevin Buettner <kevinb@redhat.com>
8157 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
8158 value associated with DW_AT_byte_size.
8159 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
8160 constants for DW_AT_byte_size, DW_AT_lower_bound, and
8163 2015-11-07 Kevin Buettner <kevinb@redhat.com>
8165 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
8166 (gdb_target_symbol_prefix_flags): Define in terms of _asm
8168 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
8169 gdb.dwarf2/dw2-canonicalize-type.exp,
8170 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
8171 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
8172 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
8173 provided by gdb_target_symbol_prefix_flags_asm.
8174 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
8175 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
8176 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
8177 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
8178 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
8179 macros where needed). Use this macro for symbols which require
8180 the prefix provided by SYMBOL_PREFIX.
8182 2015-11-05 Kevin Buettner <kevinb@redhat.com>
8184 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
8186 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
8187 representing expressions, of more than one list element.
8188 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
8189 to prepend linker symbol prefix to f.
8190 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
8191 table_1 and table_2.
8192 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
8193 Likewise, for f and g.
8194 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
8196 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
8198 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
8199 table_1_ptr and table_2_ptr.
8201 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8202 Joel Brobecker <brobecker@adacore.com>
8204 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
8206 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
8208 * gdb.reverse/s390-mvcle.c: New test.
8209 * gdb.reverse/s390-mvcle.exp: New file.
8210 * lib/gdb.exp: Enable reverse tests on s390*-linux.
8212 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
8214 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
8216 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
8218 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
8220 * gdb.reverse/getresuid-reverse.exp: Likewise.
8221 * gdb.reverse/pipe-reverse.exp: Likewise.
8222 * gdb.reverse/readv-reverse.exp: Likewise.
8223 * gdb.reverse/recvmsg-reverse.exp: Likewise.
8224 * gdb.reverse/time-reverse.exp: Likewise.
8225 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
8227 2015-10-30 Yao Qi <yao.qi@linaro.org>
8229 * gdb.threads/wp-replication.c (watch_count_done): Remove.
8230 (empty_cycle): Remove.
8231 (main): Don't call empty_cycle. Don't use watch_count_done.
8232 * gdb.threads/wp-replication.exp: Don't set breakpoint on
8233 empty_cycle. Rewrite the code counting HW watchpoints.
8235 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
8237 * gdb.reverse/fstatat-reverse.c: New test.
8238 * gdb.reverse/fstatat-reverse.exp: New file.
8239 * gdb.reverse/getresuid-reverse.c: New test.
8240 * gdb.reverse/getresuid-reverse.exp: New file.
8241 * gdb.reverse/pipe-reverse.c: New test.
8242 * gdb.reverse/pipe-reverse.exp: New file.
8243 * gdb.reverse/readv-reverse.c: New test.
8244 * gdb.reverse/readv-reverse.exp: New file.
8245 * gdb.reverse/recvmsg-reverse.c: New test.
8246 * gdb.reverse/recvmsg-reverse.exp: New file.
8247 * gdb.reverse/time-reverse.c: New test.
8248 * gdb.reverse/time-reverse.exp: New file.
8249 * gdb.reverse/waitpid-reverse.c: New test.
8250 * gdb.reverse/waitpid-reverse.exp: New file.
8252 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8254 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
8256 2015-10-26 Doug Evans <dje@google.com>
8259 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
8260 * gdb.dwarf2/bad-regnum.c: New file.
8261 * gdb.dwarf2/bad-regnum.exp: New file.
8263 2015-10-26 Doug Evans <dje@google.com>
8266 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
8269 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8271 * gdb.compile/compile.exp (compile code globalvar): Update expectation
8272 for a change by "Mention language in compile error message".
8274 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
8277 * gdb.python/py-type.c (C::a_method): New.
8278 (C::a_const_method): New.
8279 (C::a_static_method): New.
8281 * gdb.python/py-type.exp (test_fields): Test getting fields
8282 from function and method.
8284 2015-10-21 Keven Boell <keven.boell@intel.com>
8286 * gdb.fortran/vla-alloc-assoc.exp: New file.
8287 * gdb.fortran/vla-datatypes.exp: New file.
8288 * gdb.fortran/vla-datatypes.f90: New file.
8289 * gdb.fortran/vla-history.exp: New file.
8290 * gdb.fortran/vla-ptype-sub.exp: New file.
8291 * gdb.fortran/vla-ptype.exp: New file.
8292 * gdb.fortran/vla-sizeof.exp: New file.
8293 * gdb.fortran/vla-sub.f90: New file.
8294 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
8295 * gdb.fortran/vla-value-sub-finish.exp: New file.
8296 * gdb.fortran/vla-value-sub.exp: New file.
8297 * gdb.fortran/vla-value.exp: New file.
8298 * gdb.fortran/vla-ptr-info.exp: New file.
8299 * gdb.mi/mi-vla-fortran.exp: New file.
8300 * gdb.mi/vla.f90: New file.
8302 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
8304 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
8305 of hardwired timeout value.
8307 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8308 Pedro Alves <palves@redhat.com>
8310 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
8311 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
8313 2015-10-19 Josh Stone <jistone@redhat.com>
8315 * gdb.base/catch-syscall.c: Include <sched.h>.
8316 (unknown_syscall): New variable.
8317 (main): Trigger a vfork and an unknown syscall.
8318 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
8319 (unknown_syscall_number): Likewise.
8320 (check_call_to_syscall): Accept an optional syscall pattern.
8321 (check_return_from_syscall): Likewise.
8322 (check_continue): Likewise.
8323 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
8324 (test_catch_syscall_skipping_return): New test toggling off 'catch
8325 syscall' to step over the syscall return, then toggling back on.
8326 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
8327 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
8328 (do_syscall_tests): Call test_catch_syscall_without_args and
8329 test_catch_syscall_mid_vfork.
8330 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
8331 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
8333 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
8335 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
8336 print g_vE): Add new pass patterns.
8337 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
8338 print various symbol names for vptr fields.
8340 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
8342 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
8345 2015-10-12 Yao Qi <yao.qi@linaro.org>
8347 * gdb.arch/disp-step-insn-reloc.exp: New test case.
8349 2015-10-12 Yao Qi <yao.qi@linaro.org>
8351 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
8352 is aarch64*-*-linux*.
8354 2015-10-12 Yao Qi <yao.qi@linaro.org>
8356 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
8357 (can_relocate_bcond_true): ... it.
8358 (can_relocate_bcond_false): New function.
8360 (can_relocate_bl): Likewise.
8361 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
8364 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
8366 * gdb.base/nested-addr.c: New file.
8367 * gdb.base/nested-addr.exp: New testcase.
8369 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
8371 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
8372 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
8373 its output. Ignore the output of "record goto begin" and instead
8374 check that GDB is replaying.
8376 2015-10-09 Pedro Alves <palves@redhat.com>
8378 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
8379 (top level): Use it in the run with no args test.
8381 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
8383 * gdb.dlang/properties.exp: New file.
8385 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
8387 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
8388 whether or not address 0x1000 is mapped on the target.
8390 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
8392 * gdb.python/py-type.exp: Do not run tests if binaries fail to
8395 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
8397 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
8398 instruction-history test.
8400 2015-09-28 Doug Evans <dje@google.com>
8402 * gdb.base/gcore.c (array_func): Add reference to static_array.
8404 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
8406 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
8409 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
8411 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
8412 short or char as base type.
8414 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
8416 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
8417 to allow any size enum.
8419 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
8421 * gdb.ada/array_ptr_renaming.exp: New testcase.
8422 * gdb.ada/array_ptr_renaming/foo.adb: New file.
8423 * gdb.ada/array_ptr_renaming/pack.ads: New file.
8425 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8427 * gdb.trace/ftrace-lock.c: New file.
8428 * gdb.trace/ftrace-lock.exp: New file.
8430 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8432 * gdb.arch/insn-reloc.c: New file.
8433 * gdb.arch/ftrace-insn-reloc.exp: New file.
8435 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8437 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
8439 * gdb.trace/pendshr1.c (pendfunc): Likewise.
8440 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
8441 * gdb.trace/range-stepping.c: Likewise.
8442 * gdb.trace/trace-break.c: Likewise.
8443 * gdb.trace/trace-mt.c (thread_function): Likewise.
8444 * gdb.trace/ftrace.c (marker): Likewise.
8445 * gdb.trace/trace-condition.c (marker): Likewise.
8446 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
8447 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
8450 2015-09-18 Doug Evans <xdje42@gmail.com>
8452 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
8453 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
8455 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8457 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
8460 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8462 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
8463 the pending breakpoint. Remove timeout override for "Run till
8464 MI pending breakpoint on pendfunc3 on thread 2" test.
8466 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8468 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
8471 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8473 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
8474 in breakpoint filename pattern.
8476 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8478 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
8480 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8482 * gdb.linespec/explicit.exp: Check for readline support for
8483 tab-completion tests. Fix obvious typo.
8485 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
8487 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
8490 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
8492 * gdb.btrace/non-stop.c: New.
8493 * gdb.btrace/non-stop.exp: New.
8495 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
8496 Yao Qi <yao.qi@linaro.org>
8498 * gdb.trace/trace-condition.c: New file.
8499 * gdb.trace/trace-condition.exp: New file.
8501 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
8503 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
8504 for testing bytecode compilation.
8506 2015-09-16 Pedro Alves <palves@redhat.com>
8507 Sandra Loosemore <sandra@codesourcery.com>
8509 * gdb.threads/non-stop-fair-events.c (timeout): New global.
8510 (SECONDS): Redefine.
8511 (main): Call pthread_kill and alarm early.
8512 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
8514 (test): If the target can't hardware step and doesn't support
8515 displaced stepping, increase the timeout.
8517 2015-09-16 Pedro Alves <palves@redhat.com>
8519 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
8520 (enable_debug): New procedures.
8521 (test): Use them. Bail out if waiting for threads fails.
8522 (top level): Bail out if a test fails.
8524 2015-09-16 Yao Qi <yao.qi@linaro.org>
8526 * gdb.asm/asm-source.exp: Set asm-arch for
8527 aarch64*-*-* target.
8528 * gdb.asm/aarch64.inc: New file.
8530 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
8532 * gdb.ada/array_of_variable_length.exp: New testcase.
8533 * gdb.ada/array_of_variable_length/foo.adb: New file.
8534 * gdb.ada/array_of_variable_length/pck.adb: New file.
8535 * gdb.ada/array_of_variable_length/pck.ads: New file.
8537 2015-09-15 Doug Evans <dje@google.com>
8539 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
8540 of function static local variable.
8542 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8544 * gdb.threads/tls-so_extern.exp: New test file.
8545 * gdb.threads/tls-so_extern.c: New test file.
8546 * gdb.threads/tls-so_extern_main.c: New test file.
8548 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8550 * gdb.opt/solib-intra-step-lib.c: New file.
8551 * gdb.opt/solib-intra-step-main.c: New file.
8552 * gdb.opt/solib-intra-step.exp: New file.
8554 2015-09-15 Pedro Alves <palves@redhat.com>
8556 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
8557 gdb_continue_to_breakpoint instead of gdb_test_multiple.
8559 2015-09-14 Pedro Alves <palves@redhat.com>
8561 * gdb.base/hook-stop-continue.c: Delete.
8562 * gdb.base/hook-stop-continue.exp: Delete.
8563 * gdb.base/hook-stop-frame.c: Delete.
8564 * gdb.base/hook-stop-frame.exp: Delete.
8565 * gdb.base/hook-stop.c: New file.
8566 * gdb.base/hook-stop.exp: New file.
8568 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
8570 * gdb.ada/access_to_packed_array.exp: New testcase.
8571 * gdb.ada/access_to_packed_array/foo.adb: New file.
8572 * gdb.ada/access_to_packed_array/pack.adb: New file.
8573 * gdb.ada/access_to_packed_array/pack.ads: New file.
8575 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
8577 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
8580 2015-09-11 Don Breazeal <donb@codesourcery.com>
8582 * gdb.base/foll-exec.c: Add copyright header. Fix
8584 * gdb.base/foll-exec.exp (zap_session): Delete proc.
8585 (do_exec_tests): Use clean_restart in place of zap_session,
8586 and for test initialization. Fix formatting issues. Use
8587 fail in place of perror.
8588 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
8589 an expect statement to match an expression with output from
8590 the program under debug.
8591 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
8592 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
8593 * gdb.threads/non-ldr-exc-2.exp: Likewise.
8594 * gdb.threads/non-ldr-exc-3.exp: Likewise.
8595 * gdb.threads/non-ldr-exc-4.exp: Likewise.
8597 2015-09-09 Doug Evans <dje@google.com>
8599 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
8601 2015-09-09 Doug Evans <dje@google.com>
8603 * gdb.base/pie-execl.exp: Fix result test of build_executable.
8605 2015-09-09 Doug Evans <dje@google.com>
8607 * gdb.base/savedregs.exp: Fix typo.
8609 2015-09-09 Pedro Alves <palves@redhat.com>
8611 * gdb.mi/mi-cli.exp: Add CLI finish tests.
8613 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
8615 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
8616 command actually switches threads. Give up on remaining
8617 tests if target fails to stop at breakpoint.
8619 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
8621 * gdb.ada/funcall_char.exp: New testcase.
8622 * gdb.ada/funcall_char/foo.adb: New file.
8624 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
8626 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
8627 expected outputs. Add two testcases for completing ambiguous
8629 * gdb.ada/complete/aux_pck.adb: New file.
8630 * gdb.ada/complete/aux_pck.ads: New file.
8631 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
8632 Ambiguous_Func functions.
8633 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
8634 * gdb.ada/complete/pck.adb: Likewise.
8636 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
8638 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
8639 failures to run the test program under GDB.
8641 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
8643 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
8646 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
8648 * gdb.base/run-after-attach.exp: New test file.
8649 * gdb.base/run-after-attach.c: New test file.
8651 2015-08-26 Don Breazeal <donb@codesourcery.com>
8653 * gdb.base/foll-exec-2.c: New test program.
8654 * gdb.base/foll-exec-2.exp: New test.
8656 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
8658 * gdb.base/nested-subp1.exp: New file.
8659 * gdb.base/nested-subp1.c: New file.
8660 * gdb.base/nested-subp2.exp: New file.
8661 * gdb.base/nested-subp2.c: New file.
8662 * gdb.base/nested-subp3.exp: New file.
8663 * gdb.base/nested-subp3.c: New file.
8665 2015-08-24 Pedro Alves <palves@redhat.com>
8667 * gdb.server/connect-without-multi-process.c: New file.
8668 * gdb.server/connect-without-multi-process.exp: New file.
8670 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
8672 * gdb.opt/inline-markers.c: Make z int.
8674 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
8676 * gdb.opt/inline-markers.c: Make z volatile.
8678 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
8680 * gdb.opt/inline-bt.c: New volatile global z.
8681 * gdb.opt/inline-cmds.c: Likewise.
8682 * gdb.opt/inline-locals.c: Likewise.
8683 * gdb.opt/inline-markers.c: New extern global z.
8685 (inline_fn): Likewise.
8687 2015-08-24 Pedro Alves <palves@redhat.com>
8689 * config/m32r-stub.exp: Remove file.
8690 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
8691 * gdb.base/call-rt-st.exp: Likewise.
8692 * gdb.base/call-strs.exp: Likewise.
8693 * gdb.base/default.exp: Remove references to h8300-*-hms and
8695 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
8697 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8699 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
8700 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
8701 and "return" use KFAIL when GDB can not read/write the vector
8704 2015-08-21 Gary Benson <gbenson@redhat.com>
8706 * gdb.trace/pending.exp: Cope with remote transfer warnings.
8708 2015-08-20 Pedro Alves <palves@redhat.com>
8710 * gdb.server/solib-list.exp: No longer expect an interior stop in
8713 2015-08-20 Pedro Alves <palves@redhat.com>
8715 * gdb.server/connect-stopped-target.c: New file.
8716 * gdb.server/connect-stopped-target.exp: New file.
8718 2015-08-20 Pedro Alves <palves@redhat.com>
8720 * gdb.dwarf2/comp-unit-lang.exp: New file.
8721 * gdb.dwarf2/comp-unit-lang.c: New file.
8723 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
8725 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
8726 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
8728 2015-08-19 Kevin Buettner <kevinb@redhat.com>
8730 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
8731 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
8733 2015-08-18 Doug Evans <dje@google.com>
8734 Adrian Sendroiu <adrian.sendroiu@freescale.com>
8736 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
8737 skip_python_tests. New arg prompt_regexp.
8738 (skip_python_tests): New function.
8739 * lib/mi-support.exp (mi_skip_python_tests): New function.
8740 * gdb.python/py-mi-objfile-gdb.py: New file.
8741 * gdb.python/py-mi-objfile.c: New file.
8742 * gdb.python/py-mi-objfile.exp: New file.
8744 2015-08-17 Keith Seitz <keiths@redhat.com>
8746 * gdb.linespec/explicit.exp: Move strace test from here ...
8747 * gdb.trace/strace.exp: ... to here.
8749 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
8751 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
8752 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
8754 2015-08-14 Doug Evans <xdje42@gmail.com>
8756 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
8757 inferior before selecting a new file.
8759 2015-08-14 Doug Evans <xdje42@gmail.com>
8761 * gdb.mi/mi-disassemble.exp: Update.
8762 * gdb.base/disasm-optim.S: New file.
8763 * gdb.base/disasm-optim.c: New file.
8764 * gdb.base/disasm-optim.h: New file.
8765 * gdb.base/disasm-optim.exp: New file.
8767 2015-08-14 Keith Seitz <keiths@redhat.com>
8769 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
8772 2015-08-13 Joel Brobecker <brobecker@adacore.com>
8774 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
8776 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
8778 * gdb.ada/fun_renaming.exp: New testcase.
8779 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
8780 * gdb.ada/fun_renaming/pack.adb: New file.
8781 * gdb.ada/fun_renaming/pack.ads: New file.
8783 2015-08-12 Keith Seitz <keiths@redhat.com>
8785 * gdb.base/dso2dso.exp: Pass basename of source file in call to
8786 gdb_get_line_number.
8788 2015-08-12 Joel Brobecker <brobecker@adacore.com>
8790 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
8791 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
8792 gdb.base/dso2dso.exp: New files.
8794 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
8795 Pedro Alves <palves@redhat.com>
8796 Keith Seitz <keiths@redhat.com>
8798 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
8801 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
8803 * gdb.base/gdbhistsize-history.exp
8804 (test_histsize_history_setting): Use save_vars.
8805 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8807 (test_no_truncation_of_unlimited_history_file): Use save_vars.
8808 * gdb.base/readline.exp: Use save_vars.
8810 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
8812 * lib/gdb.exp (save_vars): New proc.
8814 2015-08-11 Keith Seitz <keiths@redhat.com>
8816 * gdb.base/help.exp: Update help_breakpoint_text.
8818 2015-08-11 Keith Seitz <keiths@redhat.com>
8820 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
8821 (at toplevel): Call test_explicit_breakpoints.
8822 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
8824 * lib/mi-support.exp (mi_make_breakpoint): Add support for
8825 breakpoint conditions, "-cond".
8827 2015-08-11 Keith Seitz <keiths@redhat.com>
8829 * gdb.linespec/3explicit.c: New file.
8830 * gdb.linespec/cpexplicit.cc: New file.
8831 * gdb.linespec/cpexplicit.exp: New file.
8832 * gdb.linespec/explicit.c: New file.
8833 * gdb.linespec/explicit.exp: New file.
8834 * gdb.linespec/explicit2.c: New file.
8835 * gdb.linespec/ls-errs.exp: Add explicit location tests.
8836 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
8837 before using in the matching pattern.
8838 Clarify that `prefix' is a regular expression.
8840 2015-08-11 Keith Seitz <keiths@redhat.com>
8842 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
8844 Add tests for missing ",FMT" and ",".
8846 2015-08-10 Doug Evans <dje@google.com>
8847 Keith Seitz <keiths@redhat.com>
8850 * gdb.base/completion.exp: Add location completer tests.
8852 2015-08-07 Pedro Alves <palves@redhat.com>
8854 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
8856 (top level): Run do_test with and without displaced stepping.
8858 2015-08-07 Pedro Alves <palves@redhat.com>
8860 * gdb.base/valgrind-disp-step.c: New file.
8861 * gdb.base/valgrind-disp-step.exp: New file.
8863 2015-08-07 Pedro Alves <palves@redhat.com>
8865 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
8867 (main): Add alarm. Run an infinite loop instead of calling
8869 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
8871 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
8873 (main): Add alarm. Run an infinite loop instead of calling
8875 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
8878 2015-08-07 Pedro Alves <palves@redhat.com>
8880 * gdb.base/checkpoint-ns.exp: New file.
8881 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
8884 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
8886 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
8887 * gdb.btrace/instruction_history.exp: Update.
8888 * gdb.btrace/tsx.exp: New.
8889 * gdb.btrace/tsx.c: New.
8891 2015-08-06 Pedro Alves <palves@redhat.com>
8893 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
8895 * gdb.reverse/until-precsave.exp: Bump timeouts.
8897 2015-08-06 Pedro Alves <palves@redhat.com>
8899 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
8901 2015-08-06 Pedro Alves <palves@redhat.com>
8904 * gdb.threads/process-dies-while-handling-bp.c: New file.
8905 * gdb.threads/process-dies-while-handling-bp.exp: New file.
8907 2015-08-06 Pedro Alves <palves@redhat.com>
8909 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
8910 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
8912 2015-08-05 Pedro Alves <palves@redhat.com>
8914 * gdb.threads/next-while-other-thread-longjmps.c: New file.
8915 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
8917 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
8919 * gdb.base/bp-permanent.exp: Report test as unsupported if
8920 the target cannot stop at the permanent breakpoint.
8922 2015-08-03 Doug Evans <dje@google.com>
8924 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
8927 2015-08-03 Doug Evans <dje@google.com>
8929 * Makefile.in (workers/%.worker, build-perf): New rule.
8930 (GDB_PERFTEST_MODE): New variable.
8931 (check-perf): Use it.
8932 (clean): Clean up gdb.perf parallel build subdirs.
8933 * lib/build-piece.exp: New file.
8934 * lib/gdb.exp (make_gdb_parallel_path): New function
8935 (standard_output_file, standard_temp_file): Call it.
8936 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
8938 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
8940 2015-08-03 Doug Evans <dje@google.com>
8942 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
8943 (LOG_FILE_NAME): New global.
8944 (TextReporter.__init__): Initialize self.txt_sum.
8945 (TextReporter.report): Add support for multiple data-points.
8946 Move report to perftest.sum, put raw data in perftest.log.
8947 (TextReporter.start): Open sum and log files.
8948 (TextReporter.end): Close sum and log files.
8949 * gdb.perf/lib/perftest/testresult.py
8950 (SingleStatisticTestResult.record): Handle multiple data-points.
8952 2015-07-31 Pedro Alves <palves@redhat.com>
8954 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
8955 Use spawn_id_get_pid. Wait for spawn id after eof. Use
8956 kill_wait_spawned_process instead of explicit "kill -9".
8957 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
8958 returning a spawn id instead of a pid. Use spawn_id_get_pid and
8959 kill_wait_spawned_process.
8960 * gdb.base/attach-twice.exp: Likewise.
8961 * gdb.base/attach.exp: Likewise.
8962 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
8964 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
8965 returning a spawn id instead of a pid. Use spawn_id_get_pid and
8966 kill_wait_spawned_process.
8967 * gdb.base/valgrind-infcall.exp: Likewise.
8968 * gdb.multi/multi-attach.exp: Likewise.
8969 * gdb.python/py-prompt.exp: Likewise.
8970 * gdb.python/py-sync-interp.exp: Likewise.
8971 * gdb.server/ext-attach.exp: Likewise.
8972 * gdb.threads/attach-into-signal.exp (corefunc): Use
8973 spawn_wait_for_attach, spawn_id_get_pid and
8974 kill_wait_spawned_process.
8975 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
8976 spawn_wait_for_attach returning a spawn id instead of a pid. Use
8977 spawn_id_get_pid and kill_wait_spawned_process.
8978 * gdb.threads/attach-stopped.exp (corefunc): Use
8979 spawn_wait_for_attach, spawn_id_get_pid and
8980 kill_wait_spawned_process.
8981 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
8982 Use spawn_id_get_pid. Wait for spawn id after eof. Use
8983 kill_wait_spawned_process instead of explicit "kill -9".
8984 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
8985 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
8986 (spawn_wait_for_attach): Use spawn instead of exec to spawn
8987 processes. Don't map cygwin/windows pids here. Now returns a
8990 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8992 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
8993 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
8996 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8998 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
9000 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
9003 2014-05-21 Mark Wielaard <mjw@redhat.com>
9005 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
9007 2015-07-30 Pedro Alves <palves@redhat.com>
9009 * linux-low.c (handle_extended_wait): Set the child's last
9010 reported status to TARGET_WAITKIND_STOPPED.
9012 2015-07-30 Pedro Alves <palves@redhat.com>
9015 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
9016 only shows inferior 1.
9018 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
9019 Pedro Alves <palves@redhat.com>
9022 * gdb.threads/fork-plus-threads.c: New file.
9023 * gdb.threads/fork-plus-threads.exp: New file.
9025 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9027 * gdb.base/batch-preserve-term-settings.exp
9028 (test_terminal_settings_preserved_after_cli_exit): Use
9031 2015-07-29 Pedro Alves <palves@redhat.com>
9032 Don Breazeal <donb@codesourcery.com>
9034 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
9035 output from both inferior_spawn_id and gdb_spawn_id.
9037 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
9039 * gdb.threads/attach-into-signal.exp (corefunc): Use
9040 with_test_prefix on nested loops, uniquefying the test messages.
9042 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
9044 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
9047 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9049 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
9051 (test_terminal_settings_preserved_after_sigterm): New test.
9053 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9055 * gdb.base/batch-preserve-term-settings.exp
9056 (test_terminal_settings_preserved_after_cli_exit): New test.
9058 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9060 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
9061 manipulation of saved_gdbflags.
9062 (test_terminal_settings_preserved): Remove global declaration of
9063 the unused variable pagination_prompt. Remove manipulation of
9064 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
9067 2015-07-29 Pedro Alves <palves@redhat.com>
9069 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
9071 2015-07-29 Pedro Alves <palves@redhat.com>
9073 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
9076 2015-07-29 Pedro Alves <palves@redhat.com>
9078 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
9079 (main): Call gdb_unbuffer_output.
9080 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
9081 (main): Call gdb_unbuffer_output.
9082 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
9083 (main): Call gdb_unbuffer_output.
9084 * gdb.base/call-strs.exp: Adjust to step over the
9085 gdb_unbuffer_output call.
9086 * gdb.base/catch-gdb-caused-signals.c: Include
9087 "../lib/unbuffer_output.c".
9088 (main): Call gdb_unbuffer_output.
9089 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
9090 (main): Call gdb_unbuffer_output.
9091 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
9092 (main): Call gdb_unbuffer_output.
9093 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
9094 (main): Call gdb_unbuffer_output.
9095 * gdb.base/shlib-call.exp: Adjust to step over the
9096 gdb_unbuffer_output call.
9097 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
9098 (main): Call gdb_unbuffer_output.
9099 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
9100 (main): Call gdb_unbuffer_output.
9101 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
9102 (main): Rename to ...
9104 (main): Reimplement.
9105 * gdb.base/varargs.exp: Run to test instead of to main.
9106 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9107 (main): Call gdb_unbuffer_output.
9109 2015-07-29 Pedro Alves <palves@redhat.com>
9111 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
9112 factore out from mi_continue_dprintf. For call-style dprintfs,
9113 expect dprintf output out of $inferior_spawn_id.
9114 (mi_continue_dprintf): Use mi_expect_dprintf.
9115 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9116 (main): Call gdb_unbuffer_output.
9118 2015-07-29 Pedro Alves <palves@redhat.com>
9120 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
9121 (default_mi_gdb_start): Set inferior_spawn_id instead of
9122 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
9124 (mi_gdb_test): Always expect inferior output from both
9125 $inferior_spawn_id and $gdb_spawn_id.
9127 2015-07-29 Pedro Alves <palves@redhat.com>
9129 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
9130 send_inferior and $inferior_spawn_id.
9132 2015-07-29 Pedro Alves <palves@redhat.com>
9134 * gdb.gdb/complaints.exp (test_initial_complaints)
9135 (test_serial_complaints, test_short_complaints): Use
9137 (test_empty_complaint): Handle $inferior_spawn_id !=
9140 2015-07-29 Pedro Alves <palves@redhat.com>
9142 * gdb.base/varargs.exp: Use gdb_test_stdio.
9144 2015-07-29 Pedro Alves <palves@redhat.com>
9146 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
9148 2015-07-29 Pedro Alves <palves@redhat.com>
9150 * gdb.base/ending-run.exp: Use gdb_test_stdio.
9152 2015-07-29 Pedro Alves <palves@redhat.com>
9154 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
9155 parameter into two new parameters, "inf_result" and "gdb_result".
9156 Expect inferior output and gdb output from $inferior_spawn_id and
9157 $gdb_spawn_id, respectively. Adjust all callers.
9159 2015-07-29 Pedro Alves <palves@redhat.com>
9161 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
9162 of gdb_test_sequence.
9164 2015-07-29 Pedro Alves <palves@redhat.com>
9166 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
9167 (saw_spurious_output): Expect inferior output from
9168 $inferior_spawn_id. Use gdb_test_stdio.
9170 2015-07-29 Pedro Alves <palves@redhat.com>
9172 * gdb.base/dprintf.exp: Use standard_testfile. Change
9173 prepare_for_testing call.
9174 (srcfile): Don't set.
9175 (restart): New procedure.
9176 (test_dprintf): New procecure, use to continue over dprintfs.
9177 (test_call, test_agent): New procedures, tests moved here.
9178 Restart gdb and recreate dprintfs. Adjust expected output.
9180 2015-07-29 Pedro Alves <palves@redhat.com>
9182 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
9184 2015-07-29 Pedro Alves <palves@redhat.com>
9186 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
9188 2015-07-29 Pedro Alves <palves@redhat.com>
9190 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
9193 2015-07-29 Pedro Alves <palves@redhat.com>
9195 * lib/gdb.exp (gdb_test_stdio): New procedure.
9197 2015-07-29 Pedro Alves <palves@redhat.com>
9199 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
9201 2015-07-29 Pedro Alves <palves@redhat.com>
9203 * gdb.base/call-signal-resume.exp: Remove check for
9204 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
9205 * gdb.base/unwindonsignal.exp: Likewise.
9206 * gdb.base/call-signals.c (gen_signal): Remove printf call.
9207 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
9209 2015-07-29 Pedro Alves <palves@redhat.com>
9211 * gdb.base/siginfo-addr.c (pass): New function.
9212 (handler): Call it iff si_addr is correct.
9213 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
9214 Set a breakpoint at "pass" and continue to it.
9216 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
9218 * gdb.python/py-objfile.exp: Make some tests have unique names.
9219 * gdb.python/py-pp-registration.exp: Likewise.
9221 2015-07-28 Pedro Alves <palves@redhat.com>
9223 * gdb.server/server-exec-info.exp: Issue a "disconnect".
9225 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
9227 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
9229 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
9231 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
9233 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
9235 * gdb.base/gdb-sigterm-2.exp: New test.
9237 2015-07-25 Doug Evans <xdje42@gmail.com>
9240 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9241 (workers/%.worker, build-perf): New rule.
9242 (GDB_PERFTEST_MODE): New variable.
9243 (check-perf): Use it.
9244 (clean): Clean up gdb.perf parallel build subdirs.
9245 * lib/build-piece.exp: New file.
9246 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9247 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9249 (standard_temp_file): Ditto.
9250 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9253 2015-07-24 Doug Evans <dje@google.com>
9255 * gdb.perf/lib/perftest/utils.py: New file.
9256 * gdb.perf/gm-hello.cc: New file.
9257 * gdb.perf/gm-pervasive-typedef.cc: New file.
9258 * gdb.perf/gm-pervasive-typedef.h: New file.
9259 * gdb.perf/gm-std.cc: New file.
9260 * gdb.perf/gm-std.h: New file.
9261 * gdb.perf/gm-use-cerr.cc: New file.
9262 * gdb.perf/gm-utils.h: New file.
9263 * gdb.perf/gmonster-null-lookup.py: New file.
9264 * gdb.perf/gmonster-pervasive-typedef.py: New file.
9265 * gdb.perf/gmonster-print-cerr.py: New file.
9266 * gdb.perf/gmonster-ptype-string.py: New file.
9267 * gdb.perf/gmonster-runto-main.py: New file.
9268 * gdb.perf/gmonster-select-file.py: New file.
9269 * gdb.perf/gmonster1-null-lookup.exp: New file.
9270 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
9271 * gdb.perf/gmonster1-print-cerr.exp: New file.
9272 * gdb.perf/gmonster1-ptype-string.exp: New file.
9273 * gdb.perf/gmonster1-runto-main.exp: New file.
9274 * gdb.perf/gmonster1-select-file.exp: New file.
9275 * gdb.perf/gmonster1.cc: New file.
9276 * gdb.perf/gmonster1.exp: New file.
9277 * gdb.perf/gmonster2-null-lookup.exp: New file.
9278 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
9279 * gdb.perf/gmonster2-print-cerr.exp: New file.
9280 * gdb.perf/gmonster2-ptype-string.exp: New file.
9281 * gdb.perf/gmonster2-runto-main.exp: New file.
9282 * gdb.perf/gmonster2-select-file.exp: New file.
9283 * gdb.perf/gmonster2.cc: New file.
9284 * gdb.perf/gmonster2.exp: New file.
9286 2015-07-24 Doug Evans <dje@google.com>
9288 * gdb.perf/README: New file.
9289 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
9290 * lib/gen-perf-test.exp: New file.
9292 2015-07-24 Doug Evans <dje@google.com>
9294 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
9295 (PerfTest::startup): New function.
9296 (PerfTest::run): Return result of calling body.
9297 (PerfTest::assemble): Rewrite.
9298 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
9299 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
9300 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
9301 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
9302 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
9304 2015-07-24 Doug Evans <dje@google.com>
9306 * lib/gdb.exp (clean_restart): Make executable optional.
9308 2015-07-24 Doug Evans <dje@google.com>
9310 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
9311 compiler_info references.
9312 * gdb.cp/temargs.exp: Ditto.
9313 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
9314 (get_compiler_info): Early exit if already computed. Set compiler_info
9315 to "unknown" if there was a problem.
9316 (test_compiler_info): Add function comment. Call get_compiler_info.
9318 2015-07-24 Doug Evans <dje@google.com>
9320 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9321 (workers/%.worker, build-perf): New rule.
9322 (GDB_PERFTEST_MODE): New variable.
9323 (check-perf): Use it.
9324 (clean): Clean up gdb.perf parallel build subdirs.
9325 * lib/build-piece.exp: New file.
9326 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9327 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9329 (standard_temp_file): Ditto.
9330 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9333 2015-07-24 Doug Evans <dje@google.com>
9335 * lib/future.exp (gdb_default_target_compile): New option
9337 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
9340 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
9342 * gdb.base/catch-syscall.exp: Call gdb_exit before
9345 2015-07-24 Pedro Alves <palves@redhat.com>
9347 * gdb.python/py-events.exp: Accept output between the stop event
9349 * gdb.python/py-evsignal.exp: Likewise.
9350 * gdb.python/py-evthreads.exp: Likewise.
9352 2015-07-24 Pedro Alves <palves@redhat.com>
9355 * gdb.threads/non-ldr-exit.c: New file.
9356 * gdb.threads/non-ldr-exit.exp: New file.
9358 2015-07-24 Yao Qi <yao.qi@linaro.org>
9360 * gdb.server/ext-wrapper.exp: Test --wrapper option when
9363 2015-07-24 Yao Qi <yao.qi@linaro.org>
9365 * gdb.server/ext-restart.exp: New file.
9367 2015-07-24 Yao Qi <yao.qi@linaro.org>
9369 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
9371 * gdb.server/ext-wrapper.exp: New file.
9373 2015-07-23 Doug Evans <dje@google.com>
9375 * gdb.dwarf2/dw2-dummy-cu.S: New file.
9376 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
9378 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
9380 * gdb.ada/var_arr_typedef.exp: New testcase.
9381 * gdb.ada/var_arr_typedef/pack.adb: New file.
9382 * gdb.ada/var_arr_typedef/pack.ads: New file.
9383 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
9385 2015-07-20 Joel Brobecker <brobecker@adacore.com>
9387 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
9389 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9391 * gdb.arch/i386-biarch-core.exp: Replace istarget
9392 by "complete set gnutarget". Remove expectation for the "core-file"
9395 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9397 Revert the previous commit:
9398 Tests for validate symbol file using build-id.
9400 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
9402 Tests for validate symbol file using build-id.
9403 * gdb.base/solib-mismatch-lib.c: New file.
9404 * gdb.base/solib-mismatch-libmod.c: New file.
9405 * gdb.base/solib-mismatch.c: New file.
9406 * gdb.base/solib-mismatch.exp: New file.
9408 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
9410 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
9412 * gdb.base/sigbpt.exp (stepi_out): Likewise.
9413 * gdb.base/siginfo.exp: Likewise.
9414 * gdb.base/sigstep.exp (advance, advancei): Likewise.
9416 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
9418 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
9420 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
9422 * gdb.trace/range-stepping.exp: Check that the target supports
9425 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9427 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
9429 2015-07-14 Pedro Alves <palves@redhat.com>
9431 * gdb.base/killed-outside.exp: New file.
9432 * gdb.base/killed-outside.c: New file.
9434 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9436 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
9438 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
9440 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9442 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
9443 infcall tests instead of setting up for KFAIL.
9445 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
9447 * gdb.btrace/record_goto-step.exp: New.
9449 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9452 * gdb.compile/compile.c (struct struct_type): Add volatile to
9454 * gdb.compile/compile.exp
9455 (compile code struct_object.selffield = &struct_object): Skip further
9456 struct_object tests if this one xfails.
9458 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
9461 * gdb.trace/ax.exp: Add test.
9463 2015-07-07 Yao Qi <yao.qi@linaro.org>
9465 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
9466 instead of istarget "aarch64*-*-*".
9467 * gdb.arch/aarch64-fp.exp: Likewise.
9468 * gdb.base/float.exp: Likewise.
9469 * gdb.reverse/aarch64.exp: Likewise.
9470 * lib/gdb.exp (is_aarch64_target): New proc.
9472 2015-07-07 Yao Qi <yao.qi@linaro.org>
9474 * lib/gdb.exp (is_aarch32_target): New proc.
9475 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
9476 instead of "istarget "arm*-*-*"".
9477 * gdb.arch/arm-disp-step.exp: Likewise.
9478 * gdb.arch/thumb-bx-pc.exp: Likewise.
9479 * gdb.arch/thumb-prologue.exp: Likewise.
9480 * gdb.arch/thumb-singlestep.exp: Likewise.
9481 * gdb.base/disp-step-syscall.exp: Likewise.
9482 * gdb.base/float.exp: Likewise.
9484 2015-07-07 Yao Qi <yao.qi@linaro.org>
9486 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
9487 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
9489 2015-07-07 Yao Qi <yao.qi@linaro.org>
9491 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
9492 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
9494 * gdb.multi/multi-arch.exp: Likewise.
9496 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
9498 * gdb.python/py-lazy-string.exp: Add missing parentheses to
9501 2015-07-07 Yao Qi <yao.qi@linaro.org>
9503 * gdb.arch/thumb-singlestep.exp: Do one more single step.
9505 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
9507 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
9508 '[' and ']' characters.
9510 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
9512 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
9514 2015-06-29 Pedro Alves <palves@redhat.com>
9517 * gdb.threads/hand-call-new-thread.c: New file.
9518 * gdb.threads/hand-call-new-thread.c: New file.
9520 2015-06-26 Keith Seitz <keiths@redhat.com>
9521 Doug Evans <dje@google.com>
9524 * gdb.cp/var-tag-2.cc: New file.
9525 * gdb.cp/var-tag-3.cc: New file.
9526 * gdb.cp/var-tag-4.cc: New file.
9527 * gdb.cp/var-tag.cc: New file.
9528 * gdb.cp/var-tag.exp: New file.
9530 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
9532 * gdb.base/history-duplicates.exp: New test.
9534 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
9536 * gdb.base/completion.exp: Test the completion of the "focus"
9539 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9541 * gdb.arch/amd64-prologue-skip.S: New file.
9542 * gdb.arch/amd64-prologue-skip.exp: New file.
9544 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
9546 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
9547 is_address_zero_readable check.
9549 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
9551 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
9552 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
9554 2015-06-24 Yao Qi <yao.qi@linaro.org>
9556 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
9559 2015-06-24 Yao Qi <yao.qi@linaro.org>
9561 * lib/gdb.exp (supports_get_siginfo_type): New proc.
9562 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
9563 * gdb.base/siginfo-thread.exp: Likewise.
9565 2015-06-22 Yao Qi <yao.qi@linaro.org>
9567 * boards/remote-gdbserver-on-localhost.exp: Add comments.
9569 2015-06-22 Yao Qi <yao.qi@linaro.org>
9571 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
9573 (skip_hw_watchpoint_tests): Likewise.
9575 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
9577 * gdb.base/gdbinit-history.exp: Test the interaction between
9578 setting GDBHISTSIZE and setting the history size via .gdbinit.
9580 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9583 * gdb.base/gdbhistsize-history.exp: New test.
9585 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9587 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
9589 * gdb.base/readline.exp: Likewise.
9591 2015-06-17 Yao Qi <yao.qi@linaro.org>
9593 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
9596 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9598 * gdb.base/gdbinit-history.exp: Add test case to check that
9599 an unlimited history file does not get truncated on exit.
9601 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9603 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
9604 (VECTOR): New macro. Use it...
9605 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
9606 ...for these typedefs.
9607 (int8, char1, int1, double1): New typedefs.
9608 (struct just_int2, struct two_int2): New structures.
9609 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
9610 (add_structvecs, add_singlevecs): New functions.
9611 (main): Call add_some_intvecs twice.
9612 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
9613 the compile and exit upon failure. Try compiling for the "native"
9614 architecture. Test inferior function calls with vector arguments
9615 and vector return value handling with "finish" and "return".
9617 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
9619 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
9620 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
9622 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
9624 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9626 PR breakpoints/16465
9627 * gdb.mi/mi-dprintf-pending.c: New file.
9628 * gdb.mi/mi-dprintf-pending.exp: New test.
9629 * gdb.mi/mi-dprintf-pendshr.c: New file.
9631 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9632 Mircea Gherzan <mircea.gherzan@intel.com>
9634 * gdb.arch/i386-mpx-map.c: New file.
9635 * gdb.arch/i386-mpx-map.exp: New File.
9637 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9639 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
9640 * gdb.arch/i386-mpx.exp: Indentation fixed.
9642 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9644 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
9645 function and improved indentation.
9646 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
9647 gdb_test_multiple. Added additional tests to skip the test.
9649 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9651 * gdb.arch/i386-avx512.c: Change path in include file.
9652 * gdb.arch/i386-avx512.exp: Change include dir path
9654 * gdb.arch/i386-mpx.c: Change path in include file.
9655 * gdb.arch/i386-mpx.exp: Change include dir path compilation
9658 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9660 * gdb.compile/compile-print.exp (compile print *vararray@3)
9661 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
9663 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9665 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
9666 (do not keep jit in memory): ... this.
9667 (expect 5): Change it to ...
9668 (expect no 5): ... this.
9670 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
9673 * gdb.mi/mi-detach.exp: New file.
9675 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9678 * gdb.arch/amd64-tailcall-self.S: New file.
9679 * gdb.arch/amd64-tailcall-self.c: New file.
9680 * gdb.arch/amd64-tailcall-self.exp: New file.
9682 2015-05-28 Don Breazeal <donb@codesourcery.com>
9684 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
9685 tests for remote targets by checking is_target_gdbserver.
9687 2015-05-27 Doug Evans <dje@google.com>
9689 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
9690 * gdb.dwarf2/opaque-type-lookup.c: New file.
9691 * gdb.dwarf2/opaque-type-lookup.exp: New file.
9693 2015-05-26 Doug Evans <dje@google.com>
9695 * gdb.cp/iostream.cc: New file.
9696 * gdb.cp/iostream.exp: New file.
9698 2015-05-26 Doug Evans <dje@google.com>
9700 * gdb.dwarf2/dw2-op-call.exp: Update.
9701 * gdb.dwarf2/dw4-sig-types.exp: Update.
9702 * gdb.dwarf2/implptr.exp: Update.
9703 * gdb.mi/mi-cmd-param-changed.exp: Update.
9705 2015-05-26 Doug Evans <dje@google.com>
9707 * gdb.python/py-lazy-string.c: New file.
9708 * gdb.python/py-lazy-string.exp: New file.
9709 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
9710 (main): Update. Add estring3.
9711 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
9712 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
9714 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
9715 Yao Qi <yao.qi@linaro.org>
9717 * gdb.reverse/aarch64.c: New.
9718 * gdb.reverse/aarch64.exp: New.
9720 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
9722 * lib/gdb.exp (supports_process_record): Return true for
9724 (supports_reverse): Likewise.
9726 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
9728 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9729 Use with_test_prefix.
9731 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
9733 * gdb.base/completion.exp: Add test for completion of layout
9736 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
9738 * lib/gdb.exp (skip_tui_tests): New proc.
9739 * gdb.base/tui-layout.exp: Check skip_tui_tests.
9741 2015-05-19 Pedro Alves <palves@redhat.com>
9743 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9744 Save the whole env array instead of just HOME. Unset HISTSIZE in
9745 the environment while testing. Restore whole environment
9748 2015-05-16 Doug Evans <xdje42@gmail.com>
9750 * gdb.guile/scm-ports.c: New file.
9751 * gdb.guile/scm-ports.exp: Add memory port tests.
9753 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9755 * gdb.compile/compile-print.c: New file.
9756 * gdb.compile/compile-print.exp: New file.
9758 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9760 * gdb.compile/compile-ops.exp: Cast param to void.
9761 * gdb.compile/compile.exp: Complete type for _gdb_expr.
9762 (compile code struct_object.selffield = &struct_object): Add xfail.
9764 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9766 * gdb.ada/arr_enum_with_gap: New testcase.
9768 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9770 * gdb.ada/byte_packed_arr: New testcase.
9772 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9774 * gdb.ada/pckd_neg: New testcase.
9776 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
9779 * gdb.base/gdbinit-history.exp: New test.
9780 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
9781 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
9783 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
9785 * gdb.python/py-xmethods.cc: Enhance test case.
9786 * gdb.python/py-xmethods.exp: New tests.
9787 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
9789 (B_indexoper): Likewise.
9790 (global_dm_list) : Add new xmethod worker functions.
9792 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
9794 * gdb.base/coredump-filter.exp: Correctly unset
9795 "coredump_var_addr" array.
9797 2015-05-08 Pedro Alves <palves@redhat.com>
9799 * gdb.server/non-existing-program.exp: Unset spawn_id.
9801 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
9804 * gdb.python/py-xmethods.exp: Add tests.
9806 2015-05-08 Yao Qi <yao.qi@linaro.org>
9809 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
9810 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
9811 function set_coredump_filter, and remove remote_exec call.
9812 Remove argument ipid. Callers update.
9813 (top level): Don't get inferior's PID.
9815 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
9817 * gdb.base/watch_thread_num.exp: Skip test on targets without
9820 2015-05-06 Pedro Alves <palves@redhat.com>
9823 * gdb.server/non-existing-program.exp: New file.
9825 2015-05-05 Joel Brobecker <brobecker@adacore.com>
9827 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
9829 2015-05-05 Joel Brobecker <brobecker@adacore.com>
9831 * gdb.ada/out_of_line_in_inlined: New testcase.
9833 2015-05-05 Joel Brobecker <brobecker@adacore.com>
9835 * gdb.ada/var_rec_arr: New testcase.
9837 2015-04-30 Yao Qi <yao.qi@linaro.org>
9839 * gdb.base/break-idempotent.exp: If
9840 skip_hw_watchpoint_multi_tests returns true, skip the tests
9841 on "rwatch" and "awatch".
9843 2015-04-30 Yao Qi <yao.qi@linaro.org>
9845 * gdb.base/relativedebug.exp: Invoke gdb command
9846 "info sharedlibrary", and if libc.so doesn't have debug info,
9849 2015-04-29 Doug Evans <dje@google.com>
9851 * gdb.python/py-xmethods.exp: Add ptype tests.
9852 * gdb.python/py-xmethods.py (E_method_char_worker): Add
9853 get_result_type method.
9855 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
9857 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
9858 the target does not support hardware watchpoints.
9860 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
9862 * gdb.base/break-always.exp: Abort testing if writing to memory
9865 2015-04-28 Doug Evans <dje@google.com>
9867 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
9868 * gdb.python/py-pp-registration.exp: ... here. New file.
9869 * gdb.python/py-pp-registration.c: New file.
9870 * gdb.python/py-pp-registration.py: New file.
9872 2015-04-28 Doug Evans <dje@google.com>
9874 * gdb.python/py-bad-printers.c: New file.
9875 * gdb.python/py-bad-printers.py: New file.
9876 * gdb.python/py-bad-printers.exp: New file.
9878 2015-04-28 Sasha Smundak <asmundak@google.com>
9880 * gdb.python/py-type.exp: New test.
9882 2015-04-28 Andy Wingo <wingo@igalia.com>
9884 * gdb.python/py-parameter.exp:
9885 * gdb.guile/scm-parameter.exp: Escape the path that we are
9886 matching against, as it might contain characters that are special
9887 to regular expressions.
9889 2015-04-27 Joel Brobecker <brobecker@adacore.com>
9891 * gdb.ada/rec_comp: New testcase.
9893 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
9895 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
9898 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
9900 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
9901 new tests for verilog output.
9903 2015-04-24 Yao Qi <yao.qi@linaro.org>
9905 * boards/remote-gdbserver-on-localhost.exp: New file.
9907 2015-04-23 Pedro Alves <palves@redhat.com>
9909 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
9910 $inferior_spawn_id instead of $inferior_spawn_id directly. On
9911 "end of file", remove $inferior_spawn_id from the indirect list.
9913 2015-04-23 Pedro Alves <palves@redhat.com>
9915 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
9917 2015-04-23 Pedro Alves <palves@redhat.com>
9919 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
9920 on $any_spawn_id instead of only on $gdb_spawn_id.
9922 2015-04-21 Pierre Muller <muller@sourceware.org>
9925 * lib/pascal.exp (gpc_compile): Add new option "class".
9926 (fpc_compile): Likewise.
9927 * gdb.pascal/case-insensitive-symbols.pas: New file.
9928 * gdb.pascal/case-insensitive-symbols.exp: New file.
9930 2015-04-20 Gary Benson <gbenson@redhat.com>
9932 * gdb.base/attach.exp: Fix three extended remote failures.
9934 2015-04-17 Gary Benson <gbenson@redhat.com>
9936 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
9937 the main executable over the remote protocol.
9939 2015-04-16 Pedro Alves <palves@redhat.com>
9941 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
9942 a new gdbserver if gdbserver_reconnect_p is set.
9944 2015-04-16 Pedro Alves <palves@redhat.com>
9946 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
9947 is set, don't exit gdbserver.
9949 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9951 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
9952 appropriate .insn, such that an older assembler can be used.
9953 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
9954 the z/Architecture instruction set on 31-bit targets as well.
9956 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9958 * gdb.go/handcall.exp: Remove all logic related to the first
9959 breakpoint and rely on go_runto_main instead.
9960 * gdb.go/strings.exp: Likewise.
9961 * gdb.go/unsafe.exp: Likewise.
9962 * gdb.go/hello.exp: Likewise. Also rename the remaining
9963 breakpoint marker to "breakpoint 1".
9964 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
9965 * gdb.go/strings.go: Likewise.
9966 * gdb.go/unsafe.go: Likewise.
9967 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
9968 "set breakpoint 2 here" and rename the remaining breakpoint marker
9971 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
9973 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
9974 if itertools.imap is not present.
9975 * gdb.python/py-objfile.exp: Add parentheses.
9976 * gdb.python/py-type.exp: Same.
9977 * gdb.python/py-unwind-maint.py: Same.
9979 2015-04-15 Yao Qi <yao.qi@linaro.org>
9981 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
9982 of ":$ptr_size" and set its form explicitly.
9984 2015-04-15 Pedro Alves <palves@redhat.com>
9985 Yao Qi <yao.qi@linaro.org>
9987 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
9988 timeout by factor of 4.
9989 (test_regular_watch): Likewise.
9990 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
9991 * gdb.reverse/sigall-reverse.exp: Likewise.
9992 * gdb.reverse/until-precsave.exp: Likewise.
9993 * lib/gdb.exp (with_timeout_factor): New proc.
9994 (gdb_expect): Move some code to ...
9995 (get_largest_timeout): ... here. New procedure.
9997 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
9999 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
10001 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
10003 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
10004 to write to the .text section.
10006 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
10008 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
10009 Handle the case of targets that do not provide PID information.
10011 2015-04-13 Yao Qi <yao.qi@linaro.org>
10013 * lib/gdbserver-support.exp (gdb_exit): Catch exception
10014 and use expect instead of gdb_expect.
10016 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
10018 * gdb.base/coredump-filter.exp: Rename variable "addr" to
10019 "coredump_var_addr" to avoid naming conflict with other testcases.
10021 2015-04-10 Pedro Alves <palves@redhat.com>
10023 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
10024 gdb_test_sequence and gdb_assert.
10026 2015-04-10 Pedro Alves <palves@redhat.com>
10028 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
10029 test messages that don't include the breakpoint address.
10031 2015-04-10 Yao Qi <yao.qi@linaro.org>
10033 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
10034 false for some offset and width combinations which aren't
10035 supported by linux kernel.
10037 2015-04-10 Pedro Alves <palves@redhat.com>
10039 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
10040 procedure, factored out from ...
10041 (top level): ... here. Add "set displaced-stepping" testing axis.
10042 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
10043 parameter "displaced". Use it.
10044 (top level): Use foreach and add "set displaced-stepping" testing
10047 2015-04-10 Pedro Alves <palves@redhat.com>
10049 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
10051 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
10052 both the address of the instruction that triggers the watchpoint
10053 and the address of the instruction immediately after, and use
10054 those addresses for the test. Fix comment.
10056 2015-04-10 Pedro Alves <palves@redhat.com>
10058 * gdb.base/sigstep.exp (breakpoint_to_handler)
10059 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
10060 Test "backtrace" in handler.
10061 (breakpoint_over_handler): New parameter 'displaced'. Use it.
10062 (top level): Add new "displaced" test axis to
10063 breakpoint_to_handler, breakpoint_to_handler_entry and
10064 breakpoint_over_handler.
10066 2015-04-10 Pedro Alves <palves@redhat.com>
10069 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
10071 2015-04-10 Yao Qi <yao.qi@linaro.org>
10073 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
10074 (test_add_rn_pc): New function.
10075 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
10076 (top level): Invoke test_add_rn_pc.
10078 2015-04-10 Pedro Alves <palves@redhat.com>
10081 * gdb.base/step-over-no-symbols.exp: New file.
10083 2015-04-09 Andy Wingo <wingo@igalia.com>
10085 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
10086 after the Python tests.
10088 2015-04-08 Keith Seitz <keiths@redhat.com>
10091 * gdb.python/py-completion.exp: New tests for completion.
10092 * gdb.python/py-completion.py (CompleteLimit1): New class.
10093 (CompleteLimit2): Likewise.
10094 (CompleteLimit3): Likewise.
10095 (CompleteLimit4): Likewise.
10096 (CompleteLimit5): Likewise.
10097 (CompleteLimit6): Likewise.
10098 (CompleteLimit7): Likewise.
10100 2015-04-08 Pedro Alves <palves@redhat.com>
10104 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
10106 (main): Install it as SIGUSR1 handler.
10107 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
10108 parameter. Always use "setup" as prefix. Toggle "set
10109 displaced-stepping" off/on depending on global. Don't switch to
10111 (top level): Add displaced stepping "off/on" test axis. Update
10112 "setup" calls. Wrap each subtest with with_test_prefix. Test
10113 continuing with a queued signal in each thread.
10115 2015-04-08 Pedro Alves <palves@redhat.com>
10117 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
10118 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
10119 gdb_breakpoint instead of gdb_test that doesn't expect anything.
10120 Return early if running to main fails.
10121 * gdb.trace/while-stepping.exp: Likewise.
10123 2015-04-07 Pedro Alves <palves@redhat.com>
10125 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
10126 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
10127 interact with inferior program.
10129 2015-04-07 Pedro Alves <palves@redhat.com>
10131 * lib/gdb.exp (inferior_spawn_id): New global.
10132 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
10133 spawn id after processing the user code.
10134 (default_gdb_start): Set inferior_spawn_id.
10135 (send_inferior): New procedure.
10136 * lib/gdbserver-support.exp (gdbserver_start): Set
10138 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
10140 2015-04-07 Pedro Alves <palves@redhat.com>
10142 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
10143 * lib/gdbserver-support.exp (gdbserver_start): Make
10144 $server_spawn_id global.
10145 (gdbserver_start): Don't wait for gdbserver's spawn id with
10147 (close_gdbserver): New procedure.
10148 (gdb_exit): Rename the default version and reimplement.
10150 2015-04-07 Pedro Alves <palves@redhat.com>
10152 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
10153 append the substituted item, not the original item.
10155 2015-04-07 Pedro Alves <palves@redhat.com>
10157 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
10160 2015-04-07 Pedro Alves <palves@redhat.com>
10162 * gdb.base/interrupt.exp: Don't handle the case of the inferior
10163 output appearing once only.
10165 2015-04-07 Pedro Alves <palves@redhat.com>
10167 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
10168 that doesn't expect anything. Return early if running to main
10171 2015-04-07 Yao Qi <yao.qi@linaro.org>
10173 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
10174 (child_function): Call alarm.
10175 (main): Move call to alarm into the loop.
10176 * gdb.threads/non-stop-fair-events.exp: Build program with
10177 -DTIMEOUT=$timeout.
10179 2015-04-06 Doug Evans <xdje42@gmail.com>
10181 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
10182 Fix dest parameter to board_info.
10183 (fpc_compile): Ditto.
10184 (gdb_compile_pascal): Rename dest arg to destfile.
10186 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
10188 * gdb.ada/funcall_ref.exp: New file.
10189 * gdb.ada/funcall_ref/foo.adb: New file.
10191 2015-04-02 Yao Qi <yao.qi@linaro.org>
10193 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
10196 2015-04-02 Gary Benson <gbenson@redhat.com>
10198 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
10200 2015-04-01 Sasha Smundak <asmundak@google.com>
10202 * gdb.python/py-unwind-maint.c: New file.
10203 * gdb.python/py-unwind-maint.exp: New test.
10204 * gdb.python/py-unwind-maint.py: New file.
10205 * gdb.python/py-unwind.c: New file.
10206 * gdb.python/py-unwind.exp: New test.
10207 * gdb.python/py-unwind.py: New test.
10209 2015-04-01 Pedro Alves <palves@redhat.com>
10211 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
10212 to fail instead of non-existent $test.
10214 2015-04-01 Pedro Alves <palves@redhat.com>
10216 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
10217 GDBFLAGS if not empty.
10219 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
10221 * gdb.ada/complete.exp: Remove "multi_line".
10222 * gdb.ada/info_exc.exp: Remove "multi_line".
10223 * gdb.ada/packed_tagged.exp: Remove "multi_line".
10224 * gdb.ada/ptype_field.exp: Remove "multi_line".
10225 * gdb.ada/sym_print_name.exp: Remove "multi_line".
10226 * gdb.ada/tagged.exp: Remove "multi_line".
10227 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
10229 * gdb.btrace/delta.exp: Likewise.
10230 * gdb.btrace/exception.exp: Likewise.
10231 * gdb.btrace/function_call_history.exp: Likewise.
10232 * gdb.btrace/instruction_history.exp: Likewise.
10233 * gdb.btrace/nohist.exp: Likewise.
10234 * gdb.btrace/record_goto.exp: Likewise.
10235 * gdb.btrace/segv.exp: Likewise.
10236 * gdb.btrace/stepi.exp: Likewise.
10237 * gdb.btrace/tailcall.exp: Likewise.
10238 * gdb.btrace/unknown_functions.exp: Likewise.
10239 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
10240 * lib/gdb.exp: Add the "multi_line" helper.
10242 2015-04-01 Pedro Alves <palves@redhat.com>
10244 * gdb.threads/tid-reuse.c: New file.
10245 * gdb.threads/tid-reuse.exp: New file.
10247 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
10250 * gdb.base/coredump-filter.c: New file.
10251 * gdb.base/coredump-filter.exp: Likewise.
10253 2015-03-27 Petr Machata <pmachata@redhat.com>
10255 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
10256 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
10257 (Dwarf::assemble): Initialize them.
10258 (Dwarf::lines): New function.
10260 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
10262 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
10263 SYMBOL_PREFIX for x86_64-*-cygwin.
10265 2015-03-26 Andy Wingo <wingo@igalia.com>
10268 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
10269 const_value but not a location.
10270 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
10271 location defined in non-main CUs are visible.
10273 2015-03-26 Yao Qi <yao.qi@linaro.org>
10276 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
10277 Add a line number entry for the same line.
10278 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
10279 Add a line number entry for the same line.
10281 2015-03-26 Yao Qi <yao.qi@linaro.org>
10283 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
10285 (func): Likewise. Add .Lfunc_1 label.
10286 Use .Lfunc_1 label.
10287 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
10290 Use .Lfunc_1 label.
10292 2015-03-26 Yao Qi <yao.qi@linaro.org>
10294 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
10295 Call gdb_compile instead to compile each .s files without debug
10298 2015-03-26 Yao Qi <yao.qi@linaro.org>
10300 * gdb.base/savedregs.exp (process_saved_regs): Make
10301 "Saved registers:" optional in the pattern.
10303 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
10305 * gdb.btrace/next.exp: Merged into step.exp.
10306 * gdb.btrace/finish.exp: Merged into step.exp.
10307 * gdb.btrace/nexti.exp: Merged into stepi.exp.
10308 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
10309 "record goto" and checking the exact replay position.
10310 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
10311 check for "Recording format" in "info record" output.
10312 * gdb.btrace/record_goto.exp: Choose test file based on target.
10313 * gdb.btrace/x86-record_goto.S: Renamed into ...
10314 * gdb.btrace/x86_64-record_goto.S: ... this.
10315 * gdb.btrace/i686-record_goto.S: New.
10316 * gdb.btrace/x86-tailcall.S: Renamed into ...
10317 * gdb.btrace/x86_64-tailcall.S: ... this.
10318 * gdb.btrace/i686-tailcall.S: New.
10319 * gdb.btrace/x86-tailcall.c: Renamed into ...
10320 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
10321 separate statements. Update test.
10322 * gdb.btrace/delta.exp: Use record_goto.c as test file.
10323 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
10324 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
10325 * gdb.btrace/tailcall.exp: Choose test file based on target.
10326 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
10328 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
10330 * gdb.btrace/exception.exp: Increase BTS buffer size.
10332 2015-03-24 Pedro Alves <palves@redhat.com>
10334 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
10336 2015-03-24 Pedro Alves <palves@redhat.com>
10338 * gdb.threads/schedlock.exp (test_step): No longer expect that
10339 "set scheduler-locking step" with "next" over a function call runs
10342 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10344 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
10346 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10348 PR breakpoints/16466
10349 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
10350 * gdb.mi/mi-pending.c (thread_func): New function.
10351 (int main): Add threading support required.
10352 * gdb.mi/mi-pending.exp: Add tests for this issue.
10353 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
10354 (pendfunc2): Remove stdio dependency.
10355 * gdb.mi/mi-pendshr2.c: New file.
10357 2015-03-23 Keith Seitz <keiths@redhat.com>
10359 * gdb.linespec/keywords.c: New file.
10360 * gdb.linespec/keywords.exp: New file.
10362 2015-03-23 Keith Seitz <keiths@redhat.com>
10365 * gdb.dwarf2/staticvirtual.exp: New test.
10367 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10369 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
10370 * README: Remove HP-UX and gdb.hp.
10372 * configure: Regenerate.
10373 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
10374 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
10375 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
10376 gdb.hp/gdb.defects/Makefile.
10377 * gdb.hp/Makefile.in: File deleted.
10378 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
10379 * gdb.hp/gdb.aCC/optimize.c: File deleted.
10380 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
10381 * gdb.hp/gdb.aCC/run.c: File deleted.
10382 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
10383 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
10384 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
10385 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
10386 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
10387 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
10388 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
10389 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
10390 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
10391 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
10392 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
10393 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
10394 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
10395 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
10396 * gdb.hp/gdb.base-hp/reg.s: File deleted.
10397 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
10398 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
10399 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
10400 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
10401 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
10402 * gdb.hp/gdb.compat/Makefile.in: File deleted.
10403 * gdb.hp/gdb.compat/average.c: File deleted.
10404 * gdb.hp/gdb.compat/sum.c: File deleted.
10405 * gdb.hp/gdb.compat/xdb.c: File deleted.
10406 * gdb.hp/gdb.compat/xdb0.c: File deleted.
10407 * gdb.hp/gdb.compat/xdb0.h: File deleted.
10408 * gdb.hp/gdb.compat/xdb1.c: File deleted.
10409 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
10410 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
10411 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
10412 * gdb.hp/gdb.defects/Makefile.in: File deleted.
10413 * gdb.hp/gdb.defects/bs14602.c: File deleted.
10414 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
10415 * gdb.hp/gdb.defects/solib-d.c: File deleted.
10416 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
10417 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
10418 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
10419 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
10420 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
10421 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
10422 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
10423 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
10424 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
10425 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
10426 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
10427 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
10428 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
10429 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
10430 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
10431 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
10432 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
10433 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
10434 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
10435 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
10436 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
10437 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
10438 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
10439 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
10440 * gdb.hp/tools/odump: File deleted.
10442 2015-03-19 Pedro Alves <palves@redhat.com>
10444 * gdb.threads/continue-pending-status.exp (saw_thread_2)
10445 (saw_thread_3): New globals.
10446 (top level): Increment them when an event for the corresponding
10448 (no thread starvation): New test.
10450 2015-03-19 Pedro Alves <palves@redhat.com>
10452 * gdb.threads/continue-pending-status.c: New file.
10453 * gdb.threads/continue-pending-status.exp: New file.
10455 2015-03-18 Pedro Alves <palves@redhat.com>
10457 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10458 Use gdb_is_target_remote instead of is_remote. Use
10459 gdb_test_multiple instead of gdb_expect. Exit early if
10460 gdb_test_multiple hits its internal matches. Tighten stepi tests
10461 expected output. Fail on exit with any signal, instead of just
10464 2015-03-18 Yao Qi <yao.qi@linaro.org>
10467 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
10469 * gdb.base/catch-syscall.exp: Don't skip it on
10470 aarch64*-*-linux* target. Remove elements in all_syscalls.
10471 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
10473 (setup_all_syscalls): New proc.
10475 2015-03-16 Yao Qi <yao.qi@linaro.org>
10477 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
10478 (top level): Skip tests if valid_addr_p returns false for
10481 2015-03-11 Andy Wingo <wingo@igalia.com>
10483 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
10485 2015-03-11 Yao Qi <yao.qi@linaro.org>
10487 * gdb.base/catch-syscall.exp: Fix typo in comments.
10489 2015-03-11 Yao Qi <yao.qi@linaro.org>
10491 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
10493 2015-03-09 Pedro Alves <palves@redhat.com>
10495 * dg-extract-results.py: Delete.
10497 2015-03-09 Pedro Alves <palves@redhat.com>
10499 Merge dg-extract-results.sh from GCC upstream (r218843).
10501 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
10502 * dg-extract-results.sh: Use --text with grep to avoid issues with
10503 binary files. Fall back to cat -v, if that doesn't work.
10505 2015-03-05 Pedro Alves <palves@redhat.com>
10507 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
10509 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
10511 * lib/mi-support.exp (mi_expect_interrupt): Accept
10512 alternative event for when in all-stop mode.
10514 2015-03-04 Pedro Alves <palves@redhat.com>
10516 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
10518 2015-03-04 Mark Kettenis <kettenis@gnu.org>
10520 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
10522 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
10524 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
10525 regexps for GDB's current line display, accept a hex address
10526 preceding the line number.
10528 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
10530 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
10531 the 'arch1' variable for "s390*-linux*" targets.
10533 2015-03-04 Pedro Alves <palves@redhat.com>
10535 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
10536 (main): Pass missing retval argument to pthread_join call.
10538 2015-03-02 Pedro Alves <palves@redhat.com>
10540 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
10541 (top level): Call do_test with non-stop as well.
10543 2015-03-02 Pedro Alves <palves@redhat.com>
10545 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
10548 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
10550 * gdb.arch/s390-vregs.exp: New test.
10551 * gdb.arch/s390-vregs.S: New file.
10553 2015-02-27 Pedro Alves <palves@redhat.com>
10555 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
10556 call to catch_command_errors.
10557 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
10558 catch_command_errors.
10560 2015-02-27 Pedro Alves <palves@redhat.com>
10562 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
10563 "true" for boolean result.
10564 * gdb.gdb/selftest.exp (test_with_self): Also accept full
10567 2015-02-27 Pedro Alves <palves@redhat.com>
10569 * lib/unbuffer_output.c: New file.
10570 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
10571 (main): Call gdb_unbuffer_output.
10573 2015-02-27 Yao Qi <yao.qi@linaro.org>
10575 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
10578 2015-02-26 Doug Evans <dje@google.com>
10580 * gdb.cp/class2.cc (Dbase, D): New classes.
10581 (main): New local delta.
10582 * gdb.cp/class2.exp: Test printing delta.
10583 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
10584 (dynbar): New global.
10585 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
10587 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10589 * gdb.compile/compile-ifunc.c: New file.
10590 * gdb.compile/compile-ifunc.exp: New file.
10592 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
10594 * gdb.base/structs.exp: Check for correct struct on finish.
10596 2015-02-26 Yao Qi <yao.qi@linaro.org>
10598 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
10601 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10603 * gdb.arch/cordic.ko.bz2: New file.
10604 * gdb.arch/cordic.ko.debug.bz2: New file.
10605 * gdb.arch/ppc64-symtab-cordic.exp: New file.
10607 2015-02-25 Yao Qi <yao.qi@linaro.org>
10609 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
10610 aarch64*-*-* target.
10612 2015-02-23 Pedro Alves <palves@redhat.com>
10614 * lib/gdb.exp (delete_breakpoints): Rewrite using
10617 2015-02-23 Pedro Alves <palves@redhat.com>
10619 * gdb.base/info-os.c: Include stdlib.h.
10621 2015-02-22 Doug Evans <xdje42@gmail.com>
10624 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
10625 is read after symbols have been re-read.
10626 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
10627 * gdb.ada/exec_changed/second.adb (Second): Ditto.
10629 2015-02-21 Doug Evans <dje@google.com>
10631 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
10633 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10636 * gdb.arch/i386-biarch-core.core.bz2: New file.
10637 * gdb.arch/i386-biarch-core.exp: New file.
10639 2015-02-21 Pedro Alves <palves@redhat.com>
10641 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
10644 2015-02-20 Pedro Alves <palves@redhat.com>
10646 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
10649 2015-02-20 Pedro Alves <palves@redhat.com>
10651 * gdb.threads/multi-create-ns-info-thr.exp: New file.
10653 2015-02-20 Pedro Alves <palves@redhat.com>
10655 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
10656 clean_restart before gdb_target_supports_trace.
10658 2015-02-20 Pedro Alves <palves@redhat.com>
10661 * gdb.threads/clone-thread_db.c: New file.
10662 * gdb.threads/clone-thread_db.exp: New file.
10664 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
10666 PR breakpoints/16812
10667 * gdb.base/catch-gdb-caused-signals.c: New file.
10668 * gdb.base/catch-gdb-caused-signals.exp: New file.
10670 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
10672 * configure: Regenerated.
10673 * configure.ac: Use GDB_AC_TRANSFORM.
10674 * aclocal.m4: sinclude ../transform.m4.
10676 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10678 * lib/dtrace.exp: New file.
10679 * gdb.base/dtrace-probe.exp: Likewise.
10680 * gdb.base/dtrace-probe.d: Likewise.
10681 * gdb.base/dtrace-probe.c: Likewise.
10682 * lib/pdtrace.in: Likewise.
10683 * configure.ac: Output variables with the transformed names of
10684 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
10685 * configure: Regenerated.
10687 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10689 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
10690 expected message when trying to access $_probe_* convenience
10691 variables while not on a probe.
10693 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10695 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
10697 2015-02-11 Pedro Alves <pedro@codesourcery.com>
10699 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
10700 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
10702 2015-02-10 Doug Evans <xdje42@gmail.com>
10704 * lib/gdb.exp (gdb_load): Always return a result.
10706 2015-02-10 Pedro Alves <palves@redhat.com>
10708 * gdb.threads/signal-sigtrap.c: New file.
10709 * gdb.threads/signal-sigtrap.exp: New file.
10711 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
10713 * gdb.trace/no-attach-trace.c: New file.
10714 * gdb.trace/no-attach-trace.exp: New file.
10716 2015-02-09 Mark Wielaard <mjw@redhat.com>
10718 * gdb.dwarf2/atomic.c: New file.
10719 * gdb.dwarf2/atomic-type.exp: Likewise.
10721 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10723 * gdb.btrace/buffer-size.exp: Update "info record" output.
10724 * gdb.btrace/delta.exp: Update "info record" output.
10725 * gdb.btrace/enable.exp: Update "info record" output.
10726 * gdb.btrace/finish.exp: Update "info record" output.
10727 * gdb.btrace/instruction_history.exp: Update "info record" output.
10728 * gdb.btrace/next.exp: Update "info record" output.
10729 * gdb.btrace/nexti.exp: Update "info record" output.
10730 * gdb.btrace/step.exp: Update "info record" output.
10731 * gdb.btrace/stepi.exp: Update "info record" output.
10732 * gdb.btrace/nohist.exp: Update "info record" output.
10734 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10736 * gdb.btrace/buffer-size: New.
10738 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10740 * gdb.btrace/delta.exp: Update "info record" output.
10741 * gdb.btrace/enable.exp: Update "info record" output.
10742 * gdb.btrace/finish.exp: Update "info record" output.
10743 * gdb.btrace/instruction_history.exp: Update "info record" output.
10744 * gdb.btrace/next.exp: Update "info record" output.
10745 * gdb.btrace/nexti.exp: Update "info record" output.
10746 * gdb.btrace/step.exp: Update "info record" output.
10747 * gdb.btrace/stepi.exp: Update "info record" output.
10748 * gdb.btrace/nohist.exp: Update "info record" output.
10750 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
10753 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
10755 2015-02-06 Pedro Alves <palves@redhat.com>
10757 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
10759 (seconds_left, again): New globals.
10760 (main): Wait seconds_left in a 1-second sleep loop instead of
10761 sleeping 180 seconds. If 'again' is set, reset the seconds
10763 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
10764 'again' in the inferior before detaching. Print the seconds left.
10765 (options): New global.
10766 (top level): Build program with -DTIMEOUT=$timeout.
10768 2015-02-06 Pedro Alves <palves@redhat.com>
10770 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
10771 determine how many seconds to pass to 'alarm'.
10772 * gdb.base/gdb-sigterm.exp (top level): Build program with
10773 -DTIMEOUT=$timeout.
10774 (do_test): Return success/failure indication. Add more verbose
10775 logging. Don't fail if 200 single steps are seen. Instead, fail
10776 when the test times out.
10777 (passes): New global.
10778 (top level): Break the testing loop if testing fails on any
10779 iteration. Use gdb_assert.
10781 2015-02-04 Don Breazeal <donb@codesourcery.com>
10783 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
10784 and initialize them.
10785 (ipc_cleanup): New function.
10786 (main): Don't declare shmid, semid, and msqid. Add a call to
10787 atexit so that we call ipc_cleanup on exit.
10789 2015-02-04 Pedro Alves <palves@redhat.com>
10791 * boards/native-extended-gdbserver.exp: Remove any target variant
10792 specifications from the board name before clearing the isremote
10793 flag from board_info.
10795 2015-01-31 Doug Evans <xdje42@gmail.com>
10797 * gdb.base/maint.exp <maint print type argc>: Update expected output.
10799 2015-01-31 Gary Benson <gbenson@redhat.com>
10801 * gdb.base/completion.exp: Disable completion limiting for
10802 existing tests. Add new tests to check completion limiting.
10803 * gdb.linespec/ls-errs.exp: Disable completion limiting.
10805 2015-01-31 Doug Evans <xdje42@gmail.com>
10807 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
10809 2015-01-31 Doug Evans <xdje42@gmail.com>
10811 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
10812 entries. Duplicate file section script entries.
10813 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
10814 inlined entries. Add test for safe-path rejection.
10815 * gdb.python/py-section-script.c: Add duplicate inlined section script
10816 entries. Duplicate file section script entries.
10817 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
10818 inlined entries. Add test for safe-path rejection.
10820 2015-01-29 Joel Brobecker <brobecker@adacore.com>
10822 * gdb.ada/disc_arr_bound: New testcase.
10824 2015-01-29 Joel Brobecker <brobecker@adacore.com>
10826 * gdb.ada/mi_var_array: New testcase.
10828 2015-01-27 Doug Evans <dje@google.com>
10830 * gdb.python/py-objfile.exp: Add tests for objfile.username.
10831 Add test for objfile.filename, objfile.username after objfile
10834 2015-01-26 Joel Brobecker <brobecker@adacore.com>
10836 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
10837 the second test to print the name attribute of value
10838 returned by the call to gdb.lookup_type, and adjust
10839 the expected output accordingly.
10841 2015-01-25 Mark Wielaard <mjw@redhat.com>
10843 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
10844 * gdb.base/disp-step-fork.c: Include unistd.h.
10845 * gdb.base/siginfo-obj.c: Include stdio.h.
10846 * gdb.base/siginfo-thread.c: Likewise.
10847 * gdb.mi/non-stop.c: Include unistd.h.
10848 * gdb.mi/nsthrexec.c: Include stdio.h.
10849 * gdb.mi/pthreads.c: Include unistd.h.
10850 * gdb.modula2/unbounded1.c (main): Declare returns int.
10851 * gdb.reverse/consecutive-reverse.c: Likewise.
10852 * gdb.threads/create-fail.c: Include unistd.h.
10853 * gdb.threads/killed.c: Likewise.
10854 * gdb.threads/linux-dp.c: Likewise.
10855 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
10856 * gdb.threads/non-ldr-exc-2.c: Likewise.
10857 * gdb.threads/non-ldr-exc-3.c: Likewise.
10858 * gdb.threads/non-ldr-exc-4.c: Likewise.
10859 * gdb.threads/pthreads.c: Include unistd.h.
10860 (main): Declare returns int.
10861 * gdb.threads/tls-main.c (foo): New declaration.
10862 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
10864 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
10866 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
10867 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
10869 2015-01-15 Mark Wielaard <mjw@redhat.com>
10871 * gdb.base/noreturn-return.c: New file.
10872 * gdb.base/noreturn-return.exp: New file.
10873 * gdb.base/noreturn-finish.c: New file.
10874 * gdb.base/noreturn-finish.exp: New file.
10876 2015-01-23 Pedro Alves <palves@redhat.com>
10878 * gdb.threads/continue-pending-after-query.c: New file.
10879 * gdb.threads/continue-pending-after-query.exp: New file.
10881 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
10882 Simon Marchi <simon.marchi@ericsson.com>
10884 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
10885 * gdb.base/valgrind-db-attach.exp: Same.
10886 * gdb.base/valgrind-infcall.exp: Same.
10887 * lib/mi-support.exp (default_mi_gdb_start): Same.
10888 * lib/prompt.exp (default_prompt_gdb_start): Same.
10889 * lib/gdb.exp (default_gdb_spawn): Same.
10890 (gdb_interact): New.
10893 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10895 * gdb.compile/compile.exp (pointer to jit function): New test.
10897 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
10899 * lib/gdb.exp (supports_process_record): Return true for
10901 (supports_reverse): Likewise.
10903 2015-01-15 Don Breazeal <donb@codesourcery.com>
10905 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
10906 instead of checking whether the target board is remote and
10907 use spawn_wait_for_attach instead of exec/sleep.
10908 * gdb.base/attach-twice.exp: Likewise.
10910 2015-01-15 Joel Brobecker <brobecker@adacore.com>
10912 * gdb.ada/var_arr_attrs: New testcase.
10914 2015-01-14 Pedro Alves <palves@redhat.com>
10915 Joel Brobecker <brobecker@adacore.com>
10918 * gdb.base/bp-cmds-execution-x-script.c: New file.
10919 * gdb.base/bp-cmds-execution-x-script.exp: New file.
10920 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
10922 2015-01-14 Pedro Alves <palves@redhat.com>
10925 * gdb.base/batch-preserve-term-settings.c: New file.
10926 * gdb.base/batch-preserve-term-settings.exp: New file.
10928 2015-01-13 Doug Evans <dje@google.com>
10930 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
10933 2015-01-13 Joel Brobecker <brobecker@adacore.com>
10935 * Makefile.in (clean mostlyclean): Do not delete *.py.
10937 2015-01-13 Joel Brobecker <brobecker@adacore.com>
10939 * gdb.python/py-lookup-type.exp: New file.
10941 2015-01-12 Pedro Alves <palves@redhat.com>
10943 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
10944 restore GDBFLAGS before returning.
10946 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10948 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
10949 is_amd64_regs_target and is_x86_like_target.
10951 2015-01-11 Doug Evans <xdje42@gmail.com>
10953 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
10954 is given without an explicit form.
10955 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
10957 * gdb.dwarf/corrupt.exp: Ditto.
10958 * gdb.dwarf2/enum-type.exp: Ditto.
10959 * gdb.trace/entry-values.exp: Ditto.
10960 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
10962 2015-01-11 Doug Evans <xdje42@gmail.com>
10965 * gdb.base/maint.exp: Remove references to "maint demangle".
10966 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
10967 Add tests for explicitly specifying language to demangle.
10968 * gdb.dlang/demangle.exp: Ditto.
10970 2015-01-09 Pedro Alves <palves@redhat.com>
10972 * gdb.threads/non-stop-fair-events.c: New file.
10973 * gdb.threads/non-stop-fair-events.exp: New file.
10975 2015-01-09 Pedro Alves <palves@redhat.com>
10977 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
10978 the global scope. Set a breakpoint after all threads are started
10979 rather than stepping over two source lines. Expect the prompt.
10980 * gdb.base/watch_thread_num.c (threads_started_barrier): New
10983 (main): Use threads_started_barrier to wait for all threads to
10984 start. Main thread no longer calls thread_function. Exit after
10986 (loop): New function.
10987 (thread_function): Wait on threads_started_barrier barrier. Call
10988 'loop' at each iteration.
10989 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
10990 threads have started, instead of hardcoding number of "next"
10991 steps. Use an access watchpoint instead of a write watchpoint.
10993 2015-01-09 Pedro Alves <palves@redhat.com>
10995 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
10996 (thread_func): Wait on barrier.
10997 (main): Wait for all threads to start before stopping GDB.
10998 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
11000 (thread1_func, thread2_func): Wait on barrier.
11001 (main): Wait for all threads to start before stopping GDB.
11002 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
11004 (thread1_func, thread2_func): Wait on barrier.
11005 (main): Wait for all threads to start before stopping GDB.
11007 2015-01-09 Pedro Alves <palves@redhat.com>
11009 * gdb.threads/attach-many-short-lived-threads.c: New file.
11010 * gdb.threads/attach-many-short-lived-threads.exp: New file.
11012 2014-01-09 Pedro Alves <palves@redhat.com>
11014 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
11015 instead of to thread 2.
11016 * gdb.threads/signal-command-multiple-signals-pending.c (main):
11017 Add barrier around each pthread_create call instead of around all
11019 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
11020 Set a break on thread_function and have the child threads hit it
11023 2015-01-09 Pedro Alves <palves@redhat.com>
11025 * lib/gdb.exp (can_spawn_for_attach): New procedure.
11026 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
11028 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
11029 checking whether the target board is remote.
11030 * gdb.multi/multi-attach.exp: Likewise.
11031 * gdb.python/py-sync-interp.exp: Likewise.
11032 * gdb.server/ext-attach.exp: Likewise.
11033 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
11034 tests that need to attach, instead of checking whether the target
11035 board is remote at the top of the file.
11037 2015-01-08 Yao Qi <yao@codesourcery.com>
11039 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
11041 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11043 Fix testcase compilation.
11044 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
11046 2015-01-06 Joel Brobecker <brobecker@adacore.com>
11048 * gdb.python/py-type.exp: Add a couple test about empty
11049 array creation, and negative-length array creation.
11051 2015-01-02 Doug Evans <xdje42@gmail.com>
11053 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
11055 2015-01-02 Doug Evans <dje@google.com>
11057 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
11059 2014-12-29 Yao Qi <yao@codesourcery.com>
11061 * gdb.trace/entry-values.exp: Update comments. Rename variable
11062 bar_call_foo to returned_from_foo.
11064 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
11067 * gdb.linespec/break-asm-file.c: New file.
11068 * gdb.linespec/break-asm-file.exp: New file.
11069 * gdb.linespec/break-asm-file0.s: New file.
11070 * gdb.linespec/break-asm-file1.s: New file.
11072 2014-12-18 Nigel Stephens <nigel@mips.com>
11073 Maciej W. Rozycki <macro@codesourcery.com>
11075 * gdb.base/float.exp: Handle the new output from "info float" on
11078 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11080 Fix MinGW compilation.
11081 * gdb.compile/compile-ops.exp: Update untested message if
11082 !skip_compile_feature_tests.
11083 * gdb.compile/compile-setjmp.exp: Likewise.
11084 * gdb.compile/compile-tls.exp: Likewise.
11085 * gdb.compile/compile.exp: Likewise.
11086 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
11087 supported on this host".
11089 2014-12-16 Doug Evans <xdje42@gmail.com>
11091 * boards/stabs.exp: New file.
11093 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
11095 * gdb.base/completion.exp: Adjust to format changes of "maint
11096 print user-registers".
11098 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
11101 * gdb.arch/aarch64-fp.c: New file.
11102 * gdb.arch/aarch64-fp.exp: New file.
11104 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
11106 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
11107 r210637, r210913, r211666, r215400, r215817).
11109 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
11110 * dg-extract-results.py: New file.
11111 * dg-extract-results.sh: Use it if the environment seems
11114 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
11116 * dg-extract-results.py (parse_run): Handle warnings that
11117 are printed before a test harness is run.
11119 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
11121 * dg-extract-results.py (Named): Remove __cmp__ method.
11122 (output_variation): Use a key to sort variation.harnesses.
11124 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
11126 * dg-extract-results.py: For Python 3, force sys.stdout to
11127 handle surrogate escape sequences.
11128 (safe_open): New function.
11129 (output_segment, main): Use it.
11131 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
11133 * dg-extract-results.py (Prog.result_re): Include options
11136 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
11138 * dg-extract-results.py (output_variation): Always sort if
11141 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
11143 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
11144 as long as we get pagination notifications.
11146 2014-12-15 Jason Merrill <jason@redhat.com>
11148 * Makefile.in (check-gdb.%): Restore.
11149 * README: Mention it.
11151 2014-12-13 Joel Brobecker <brobecker@adacore.com>
11153 * gdb.ada/str_uninit: New testcase.
11155 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11158 * gdb.base/vla-stub-define.c: New file.
11159 * gdb.base/vla-stub.c: New file.
11160 * gdb.base/vla-stub.exp: New file.
11162 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
11163 Jan Kratochvil <jan.kratochvil@redhat.com>
11164 Tom Tromey <tromey@redhat.com>
11166 * configure.ac: Add gdb.compile/.
11167 * configure: Regenerate.
11168 * gdb.compile/Makefile.in: New file.
11169 * gdb.compile/compile-ops.exp: New file.
11170 * gdb.compile/compile-ops.c: New file.
11171 * gdb.compile/compile-tls.c: New file.
11172 * gdb.compile/compile-tls.exp: New file.
11173 * gdb.compile/compile-constvar.S: New file.
11174 * gdb.compile/compile-constvar.c: New file.
11175 * gdb.compile/compile-mod.c: New file.
11176 * gdb.compile/compile-nodebug.c: New file.
11177 * gdb.compile/compile-setjmp-mod.c: New file.
11178 * gdb.compile/compile-setjmp.c: New file.
11179 * gdb.compile/compile-setjmp.exp: New file.
11180 * gdb.compile/compile-shlib.c: New file.
11181 * gdb.compile/compile.c: New file.
11182 * gdb.compile/compile.exp: New file.
11183 * lib/gdb.exp (skip_compile_feature_tests): New proc.
11185 2014-12-12 Tom Tromey <tromey@redhat.com>
11187 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
11188 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
11190 2014-12-12 Doug Evans <dje@google.com>
11192 * lib/gdb-python.exp (get_python_valueof): New function.
11193 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
11195 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11197 * gdb.base/completion.exp: Add test for completion of "info
11200 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
11202 * gdb.base/func-ptrs.c: New file.
11203 * gdb.base/func-ptrs.exp: New file.
11205 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
11207 PR breakpoints/17012
11208 * gdb.base/dprintf-detach.c: New file.
11209 * gdb.base/dprintf-detach.exp: New file.
11211 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
11213 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
11214 * lib/gdb.exp (target_is_gdbserver): New procedure.
11216 2014-12-08 Doug Evans <dje@google.com>
11218 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
11220 2014-12-05 Yao Qi <yao@codesourcery.com>
11222 * gdb.guile/scm-error.exp: Remove the third argument to
11223 gdb_remote_download.
11224 * gdb.guile/scm-frame-args.exp: Likewise.
11225 * gdb.guile/scm-section-script.exp: Likewise.
11227 2014-12-05 Yao Qi <yao@codesourcery.com>
11229 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
11231 2014-12-04 Doug Evans <dje@google.com>
11233 * gdb.python/py-objfile.exp: Add tests for
11234 objfile.add_separate_debug_file.
11236 2014-12-04 Doug Evans <dje@google.com>
11238 * lib/gdb.exp (get_build_id): New function.
11239 (build_id_debug_filename_get): Rewrite to use it.
11240 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
11242 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
11244 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
11245 `method(long)', not just 0x0.
11246 * gdb.cp/nsalias.exp: Align code labels to 4.
11247 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
11248 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
11249 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
11250 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
11251 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
11252 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
11254 2014-12-02 Doug Evans <dje@google.com>
11257 * gdb.cp/anon-ns.cc: Move guts of this file to ...
11258 * gdb.cp/anon-ns2.cc: ... here. New file.
11259 * gdb.cp/anon-ns.exp: Update.
11261 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
11263 * gdb.python/py-events.py (inferior_call_handler): New.
11264 (register_changed_handler, memory_changed_handler): New.
11265 (test_events.invoke): Register new handlers.
11266 * gdb.python/py-events.exp: Add tests for inferior call,
11267 memory_changed and register_changed events.
11269 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
11271 * gdb.base/execl-update-breakpoints.exp: Specify the link address
11272 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
11273 if the linker doesn't understand this.
11275 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
11277 * gdb.python/python.exp: Change expected reply to help().
11279 2014-12-01 Yao Qi <yao@codesourcery.com>
11281 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
11282 AC_CONFIG_SUBDIRS(gdb.gdbtk).
11283 * configure: Re-generated.
11285 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
11287 * gdb.cp/chained-calls.cc: New file.
11288 * gdb.cp/chained-calls.exp: New file.
11289 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
11291 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
11293 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
11294 * gdb.dwarf2/symtab-producer.exp: Same.
11295 * gdb.gdb/python-interrupts.exp: Same.
11296 * gdb.gdb/python-selftest.exp: Same.
11297 * gdb.python/py-linetable.exp: Same.
11298 * gdb.python/py-type.exp: Same.
11299 * gdb.python/py-value-cc.exp: Same.
11300 * gdb.python/py-value.exp: Same.
11302 2014-11-28 Yao Qi <yao@codesourcery.com>
11304 * gdb.base/break-probes.exp: Match library name prefixed with
11307 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
11309 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
11310 test expected output. Add parentheses for the call to print.
11311 Remove L suffix from integers.
11313 2014-11-26 Doug Evans <dje@google.com>
11315 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
11317 2014-11-22 Yao Qi <yao@codesourcery.com>
11319 * gdb.trace/entry-values.c: Remove asms.
11320 (foo): Add foo_label.
11321 (bar): Add bar_label.
11322 * gdb.trace/entry-values.exp: Remove code computing foo's
11323 length and bar's length.
11324 (Dwarf::assemble): Invoke function_range for bar and use
11325 MACRO_AT_func for foo.
11327 2014-11-22 Yao Qi <yao@codesourcery.com>
11329 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
11330 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
11331 Use .Lgcc43_procstart instead of gcc43.
11333 2014-11-21 Joel Brobecker <brobecker@adacore.com>
11335 * gdb.ada/n_arr_bound: New testcase.
11337 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
11339 PR breakpoints/10737
11340 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
11341 test_catch_syscall_multi_arch.
11342 (test_catch_syscall_multi_arch): New function.
11344 2014-11-20 Doug Evans <xdje42@gmail.com>
11346 * gdb.base/maint.exp: Update expected output.
11348 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11350 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
11351 4-byte instruction on S390.
11353 2014-11-19 Joel Brobecker <brobecker@adacore.com>
11355 * gdb.ada/arr_arr: New testcase.
11357 2014-11-19 Joel Brobecker <brobecker@adacore.com>
11359 * gdb.ada/pkd_arr_elem: New Testcase.
11361 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
11363 * gdb.reverse/break-precsave: Expect completion message for
11365 * gdb.reverse/consecutive-precsave.exp: Likewise.
11366 * gdb.reverse/finish-precsave.exp: Likewise.
11367 * gdb.reverse/i386-precsave.exp: Likewise.
11368 * gdb.reverse/machinestate-precsave.exp: Likewise.
11369 * gdb.reverse/sigall-precsave.exp: Likewise.
11370 * gdb.reverse/solib-precsave.exp: Likewise.
11371 * gdb.reverse/step-precsave.exp: Likewise.
11372 * gdb.reverse/until-precsave.exp: Likewise.
11373 * gdb.reverse/watch-precsave.exp: Likewise.
11375 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11377 * gdb.base/bp-permanent.c: Include unistd.h.
11378 * gdb.python/py-framefilter-mi.c (main): Add return type.
11379 * gdb.python/py-framefilter.c (main): Likewise.
11380 * gdb.trace/actions-changed.c (main): Likewise.
11382 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11384 * gdb.mi/until.c: Add eye-catchers.
11385 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
11388 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11390 * gdb.base/condbreak.exp: Drop references to removed non-prototype
11391 function header variants in break1.c.
11392 * gdb.base/ena-dis-br.exp: Likewise.
11393 * gdb.base/hbreak2.exp: Likewise.
11394 * gdb.reverse/until-precsave.exp: Drop references to removed
11395 non-prototype function header variants in ur1.c.
11396 * gdb.reverse/until-reverse.exp: Likewise.
11398 2014-11-17 Petr Machata <pmachata@redhat.com>
11400 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
11401 ${_cu_offset_size} bytes abbrev offset.
11403 2014-11-15 Doug Evans <xdje42@gmail.com>
11406 * gdb.base/line-symtabs.exp: New file.
11407 * gdb.base/line-symtabs.c: New file.
11408 * gdb.base/line-symtabs.h: New file.
11410 2014-11-14 Yao Qi <yao@codesourcery.com>
11412 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
11413 (func): Add label func_label.
11414 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
11415 Replace low_pc and high_pc with MACRO_AT_range.
11416 Replace name, low_pc and high_pc with MACRO_AT_func.
11418 2014-11-14 Yao Qi <yao@codesourcery.com>
11420 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
11421 Replace name, low_pc and high_pc with MACRO_AT_func.
11423 2014-11-14 Yao Qi <yao@codesourcery.com>
11425 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
11426 produce debug information.
11427 * gdb.dwarf2/implptr-optimized-out.S: Removed.
11429 2014-11-14 Yao Qi <yao@codesourcery.com>
11431 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
11432 object and get function length.
11433 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
11434 with MACRO_AT_func.
11435 (top-level): Replace gdb_compile and clean_restart with
11436 prepare_for_testing.
11437 * gdb.dwarf2/main.c (main): Add label main_label.
11439 2014-11-14 Yao Qi <yao@codesourcery.com>
11441 * lib/dwarf.exp (function_range): New procedure.
11442 (Dwarf::_handle_macro_at_func): New procedure.
11443 (Dwarf::_handle_macro_at_range): New procedure.
11444 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
11446 2014-11-14 Yao Qi <yao@codesourcery.com>
11448 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
11449 (_handle_attribute): New procedure.
11451 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11453 * gdb.ada/cond_lang/foo.c (callme): Add return type.
11454 * gdb.base/call-sc.c (zed): Likewise.
11455 * gdb.base/checkpoint.c (main): Likewise.
11456 * gdb.base/dump.c (main): Likewise.
11457 * gdb.base/gcore.c (main): Likewise.
11458 * gdb.base/huge.c (main): Likewise.
11459 * gdb.base/multi-forks.c (main): Likewise.
11460 * gdb.base/pr10179-a.c (main): Likewise.
11461 * gdb.base/savedregs.c (main): Likewise.
11462 * gdb.base/sigaltstack.c (main): Likewise.
11463 * gdb.base/siginfo.c (main): Likewise.
11464 * gdb.base/structs.c (zed): Likewise.
11465 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
11466 * gdb.mi/mi-syn-frame.c (main): Likewise.
11467 * gdb.mi/until.c (foo, main): Likewise.
11468 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
11469 * gdb.base/solib-weak.c (foo): Declare.
11470 * gdb.base/attach-twice.c: Include stdio.h.
11471 * gdb.base/weaklib1.c: Likewise.
11472 * gdb.base/weaklib2.c: Likewise.
11473 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
11474 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
11476 * gdb.base/attach-pie-misread.c: Include stdlib.h.
11477 * gdb.mi/mi-exit-code.c: Likewise.
11478 * gdb.base/break-interp-lib.c: Include string.h.
11479 * gdb.base/coremaker.c: Likewise.
11480 * gdb.base/testenv.c: Likewise.
11481 * gdb.python/py-finish-breakpoint.c: Likewise.
11482 * gdb.base/inferior-died.c: Include sys/wait.h.
11483 * gdb.base/fileio.c: Include time.h.
11484 * gdb.base/async-shell.c: Include unistd.h.
11485 * gdb.base/dprintf-non-stop.c: Likewise.
11486 * gdb.base/info-os.c: Likewise.
11487 * gdb.mi/mi-console.c: Likewise.
11488 * gdb.mi/watch-nonstop.c: Likewise.
11489 * gdb.python/py-events.c: Likewise.
11490 * gdb.base/async.c (baz): Move up before its invocation.
11491 * gdb.base/code_elim2.c (my_global_func): Likewise.
11492 * gdb.base/skip-solib-lib.c (multiply): Likewise.
11493 * gdb.base/advance.c (func2): Likewise.
11495 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11497 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
11499 * gdb.base/annota3.c: Likewise.
11500 * gdb.base/async.c: Likewise.
11501 * gdb.base/average.c: Likewise.
11502 * gdb.base/call-ar-st.c: Likewise.
11503 * gdb.base/call-rt-st.c: Likewise.
11504 * gdb.base/call-sc.c: Likewise.
11505 * gdb.base/call-strs.c: Likewise.
11506 * gdb.base/ending-run.c: Likewise.
11507 * gdb.base/execd-prog.c: Likewise.
11508 * gdb.base/exprs.c: Likewise.
11509 * gdb.base/foll-exec.c: Likewise.
11510 * gdb.base/foll-fork.c: Likewise.
11511 * gdb.base/foll-vfork.c: Likewise.
11512 * gdb.base/funcargs.c: Likewise.
11513 * gdb.base/gcore.c: Likewise.
11514 * gdb.base/jump.c: Likewise.
11515 * gdb.base/langs0.c: Likewise.
11516 * gdb.base/langs1.c: Likewise.
11517 * gdb.base/langs2.c: Likewise.
11518 * gdb.base/mips_pro.c: Likewise.
11519 * gdb.base/nodebug.c: Likewise.
11520 * gdb.base/opaque0.c: Likewise.
11521 * gdb.base/opaque1.c: Likewise.
11522 * gdb.base/recurse.c: Likewise.
11523 * gdb.base/run.c: Likewise.
11524 * gdb.base/scope0.c: Likewise.
11525 * gdb.base/scope1.c: Likewise.
11526 * gdb.base/setshow.c: Likewise.
11527 * gdb.base/setvar.c: Likewise.
11528 * gdb.base/shmain.c: Likewise.
11529 * gdb.base/shr1.c: Likewise.
11530 * gdb.base/shr2.c: Likewise.
11531 * gdb.base/sigall.c: Likewise.
11532 * gdb.base/signals.c: Likewise.
11533 * gdb.base/so-indr-cl.c: Likewise.
11534 * gdb.base/solib2.c: Likewise.
11535 * gdb.base/structs.c: Likewise.
11536 * gdb.base/sum.c: Likewise.
11537 * gdb.base/vforked-prog.c: Likewise.
11538 * gdb.base/watchpoint.c: Likewise.
11539 * gdb.reverse/shr2.c: Likewise.
11540 * gdb.reverse/until-reverse.c: Likewise.
11541 * gdb.reverse/ur1.c: Likewise.
11542 * gdb.reverse/watch-reverse.c: Likewise.
11544 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11546 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
11548 * gdb.base/sepdebug.exp: Drop references to removed code.
11550 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11552 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
11553 variant. Preserve original line numbering.
11554 * gdb.base/list1.c: Likewise.
11556 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11558 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
11560 * gdb.base/break1.c: Likewise.
11561 * gdb.base/break.exp: Drop references to removed code.
11563 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11565 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
11568 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11570 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
11572 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11574 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
11575 logic into perform_all_tests() and invoke it with and without
11576 function header prototypes.
11577 (do_function_calls): Remove conditional XFAIL for PR 5318.
11578 (rerun_and_prepare): Remove duplicate code.
11579 (perform_all_tests): New. Main logic moved here.
11581 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11583 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
11584 code guarded by #ifdef NO_PROTOTYPES.
11585 (t_double_many_args): Likewise.
11586 (DEF_FUNC_MANY_ARGS_1): Likewise.
11587 (DEF_FUNC_VALUES_1): Likewise.
11588 (t_structs_ldc): Renamed from t_structs_fc in conditional code
11589 guarded by #ifdef PROTOTYPES.
11591 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11593 * gdb.mi/mi-console.c: Add eye-catcher.
11594 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
11595 instead of literal line number.
11597 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11599 * gdb.base/shr2.c: Add eye-catcher.
11600 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
11603 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11605 * gdb.base/jump.c: Add eye-catchers.
11606 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
11609 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11611 * gdb.base/execd-prog.c: Add eye-catchers.
11612 * gdb.base/foll-exec.c: Likewise.
11613 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
11616 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11618 * gdb.base/ending-run.c: Add eye-catchers.
11619 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
11620 literal line numbers.
11622 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11624 * gdb.base/call-rt-st.c: Add eye-catchers.
11625 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
11626 literal line numbers.
11628 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11630 * gdb.base/call-ar-st.c: Add eye-catchers.
11631 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
11632 literal line numbers.
11634 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11636 * gdb.base/average.c: Add eye-catchers.
11637 * gdb.base/sum.c: Likewise.
11638 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
11639 regexps dynamically.
11641 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11643 * gdb.base/solib1.c: Add eye-catchers.
11644 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
11645 literal line numbers.
11647 2014-11-12 Pedro Alves <palves@redhat.com>
11649 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
11652 2014-11-12 Pedro Alves <palves@redhat.com>
11654 * gdb.arch/i386-bp_permanent.c: New file.
11655 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
11656 (srcfile): Set to i386-bp_permanent.c.
11657 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
11658 that stepi does not execute the 'leave' instruction, instead of
11659 testing it does execute.
11660 * gdb.base/bp-permanent.c: New file.
11661 * gdb.base/bp-permanent.exp: New file.
11663 2014-11-10 Doug Evans <xdje42@gmail.com>
11666 * gdb.base/symtab-search-order.exp: New file.
11667 * gdb.base/symtab-search-order.c: New file.
11668 * gdb.base/symtab-search-order-1.c: New file.
11669 * gdb.base/symtab-search-order-shlib-1.c: New file.
11671 2014-11-07 Pedro Alves <palves@redhat.com>
11674 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
11677 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
11680 * gdb.cp/pr17494.cc: New file.
11681 * gdb.cp/pr17494.exp: New file.
11683 2014-11-02 Yao Qi <yao@codesourcery.com>
11685 * gdb.python/python.exp: Get working directory and match the
11686 output of "set extended-prompt \\w " with it.
11688 2014-10-30 Doug Evans <dje@google.com>
11690 * gdb.python/py-objfile.exp: Add tests for setting random attributes
11692 * gdb.python/py-progspace.exp: Add tests for setting random attributes
11695 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
11697 * gdb.base/fullpath-expand.exp: Skip for a remote host.
11698 * gdb.base/realname-expand.exp: Likewise.
11699 * gdb.linespec/macro-relative.exp: Likewise.
11701 2014-10-29 Pedro Alves <palves@redhat.com>
11704 * gdb.threads/schedlock.c (some_function): New function.
11705 (call_function): New global.
11706 (MAYBE_CALL_SOME_FUNCTION): New macro.
11707 (thread_function): Call it.
11708 * gdb.threads/schedlock.exp (get_args): Add description parameter,
11709 and use it instead of a global counter. Adjust all callers.
11710 (get_current_thread): Use "find current thread" for test message
11711 here rather than having all callers pass down the same string.
11712 (goto_loop): New procedure, factored out from ...
11713 (my_continue): ... this.
11714 (step_ten_loops): Change parameter from test message to command to
11716 (list_count): Delete global.
11717 (check_result): New procedure, factored out from duplicate top
11719 (continue tests): Wrap in with_test_prefix.
11720 (test_step): New procedure, factored out from duplicate top level
11722 (top level): Test "step" in combination with all scheduler-locking
11723 modes. Test "next" in combination with all scheduler-locking
11724 modes, and in combination with stepping over a function call or
11726 * gdb.threads/next-bp-other-thread.c: New file.
11727 * gdb.threads/next-bp-other-thread.exp: New file.
11729 2014-10-29 Pedro Alves <palves@redhat.com>
11732 * gdb.python/python.exp: Test a multi-line command that spawns
11733 interactive Python.
11734 * gdb.base/multi-line-starts-subshell.exp: New file.
11736 2014-10-29 Yao Qi <yao@codesourcery.com>
11738 * gdb.base/fileio.exp: Make directories on host.
11740 2014-10-29 Yao Qi <yao@codesourcery.com>
11742 * gdb.base/fileio.c (test_write): Close the file.
11744 2014-10-28 Pedro Alves <palves@redhat.com>
11747 * gdb.base/sigstep.c (no_handler): New global.
11748 (main): If 'no_handler is true, set the signal handlers to
11750 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
11751 with_sw_watch and no_handler parameters. Handle them.
11752 (top level) <stepping over handler when stopped at a breakpoint
11753 test>: Add a test axis for testing with a software watchpoint, and
11754 another for testing with the signal handler set to SIG_IGN.
11755 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
11756 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
11758 2014-10-28 Pedro Alves <palves@redhat.com>
11761 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
11762 * gdb.base/sigstep.exp (other_handler_location): New global.
11763 (advance): Support stepping into the signal handler, and running
11764 commands while in the handler.
11765 (in_handler_map): New global.
11766 (top level): In the advance test, add combinations for getting
11767 into the handler with stepping commands, and for running commands
11768 in the handler. Add comment descripting the advancei tests.
11770 2014-10-28 Pedro Alves <palves@redhat.com>
11772 * gdb.base/sigstep.exp: Use build_executable instead of
11773 prepare_for_testing.
11774 (top level): Move code that starts GDB, runs to main and creates a
11776 (restart): ... this new procedure.
11777 (top level): Move backtrace from signal handler test to ...
11778 (validate_backtrace): ... this new procedure.
11779 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
11780 with_test_prefix. Always restart GDB.
11781 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
11782 with_test_prefix. Always restart GDB. No need to delete
11783 breakpoints after the test.
11784 (test_skip_handler): Remove prefix parameter.
11785 (skip_over_handler, breakpoint_to_handler)
11786 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
11787 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
11788 restart GDB. No need to delete breakpoints after the test.
11789 (top level): Use foreach to call the test procedures with
11790 different commands.
11792 2014-10-28 Pedro Alves <palves@redhat.com>
11794 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
11795 instead of GNATS numbers.
11796 * gdb.base/sigbpt.exp: Likewise.
11797 * gdb.base/siginfo.exp: Likewise.
11798 * gdb.base/sigstep.exp: Likewise.
11800 2014-10-27 Pedro Alves <palves@redhat.com>
11802 * gdb.base/sigstep.c (dummy): New global.
11803 (main): Issue a couple writes to the new global.
11804 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
11806 (skip_over_handler): Use test_skip_handler.
11807 (top level): Call skip_over_handler for stepi and nexti too.
11808 (breakpoint_over_handler): Use test_skip_handler.
11809 (top level): Call breakpoint_over_handler for stepi and nexti too.
11811 2014-10-27 Yao Qi <yao@codesourcery.com>
11813 * gdb.trace/tfile.c (adjust_function_address)
11814 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
11815 function descriptor.
11817 2014-10-24 Don Breazeal <donb@codesourcery.com>
11819 * gdb.base/foll-fork.exp (test_follow_fork,
11820 catch_fork_child_follow): Check for updated fork messages emitted
11822 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
11823 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
11824 vfork_and_exec_child_follow_through_step): Check for updated vfork
11825 messages emitted from infrun.c.
11827 2014-10-24 Pedro Alves <palves@redhat.com>
11829 * gdb.base/corefile.exp: Remove references to ultrix.
11830 * gdb.base/interrupt.exp: Likewise.
11831 * gdb.base/whatis.exp: Likewise.
11832 * gdb.gdb/selftest.exp: Likewise.
11833 * gdb.threads/manythreads.exp: Likewise.
11834 * gdb.threads/print-threads.exp: Likewise.
11835 * gdb.threads/pthreads.exp:: Likewise.
11836 * gdb.threads/schedlock.exp: Likewise.
11838 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
11840 * gdb.cp/non-trivial-retval.cc: Add a test case.
11841 * gdb.cp/non-trivial-retval.exp: Add a test.
11843 2014-10-20 Yao Qi <yao@codesourcery.com>
11845 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
11846 * gdb.python/py-objfile-script-gdb.py: New file.
11847 * gdb.python/py-objfile-script.exp: Update reference to
11848 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
11849 of remote_download. Remove the dest file.
11851 2014-10-20 Yao Qi <yao@codesourcery.com>
11853 * gdb.base/checkpoint.exp: Don't remove file copied on host.
11854 * gdb.base/step-line.exp: Likewise.
11855 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
11856 * gdb.dwarf2/dw2-basic.exp: Likewise.
11857 * gdb.dwarf2/dw2-compressed.exp: Likewise.
11858 * gdb.dwarf2/dw2-filename.exp: Likewise.
11859 * gdb.dwarf2/dw2-intercu.exp: Likewise.
11860 * gdb.dwarf2/dw2-intermix.exp: Likewise.
11861 * gdb.dwarf2/dw2-producer.exp: Likewise.
11862 * gdb.dwarf2/mac-fileno.exp: Likewise.
11863 * gdb.python/py-frame-args.exp: Likewise.
11864 * gdb.python/py-framefilter.exp: Likewise.
11865 * gdb.python/py-mi.exp: Likewise.
11866 * gdb.python/py-objfile-script.exp: Likewise
11867 * gdb.python/py-pp-integral.exp: Likewise.
11868 * gdb.python/py-pp-re-notag.exp: Likewise.
11869 * gdb.python/py-prettyprint.exp: Likewise.
11870 * gdb.python/py-section-script.exp: Likewise.
11871 * gdb.python/py-typeprint.exp: Likewise.
11872 * gdb.python/py-xmethods.exp: Likewise.
11873 * gdb.stabs/weird.exp: Likewise.
11874 * gdb.xml/tdesc-regs.exp: Likewise.
11876 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
11878 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
11879 (out_cu): Use addr_len for the size of addresses.
11880 (out_line): Likewise. Size DW_LNE_set_address instruction
11881 according to addr_len.
11882 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
11883 (FUNC): Add START_INSNS to definition.
11885 2014-10-18 Yao Qi <yao@codesourcery.com>
11887 * gdb.base/argv0-symlink.exp: Check argv[0] value if
11888 gdb_has_argv0 return true.
11889 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
11890 check [target_info exists noargs], check [gdb_has_argv0]
11892 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
11893 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
11896 2014-10-17 Doug Evans <dje@google.com>
11898 * gdb.python/py-events.exp: Update expected output for clear_objfiles
11900 * gdb.python/py-events.py: Add clear_objfiles event.
11902 2014-10-17 Doug Evans <dje@google.com>
11904 * gdb.python/py-objfile.exp: Test progspace attribute.
11906 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
11908 * gdb.guile/scm-breakpoint.exp: Do not assume any
11909 directory separators when matching source file paths.
11910 * gdb.python/py-breakpoint.exp: Likewise.
11911 * gdb.reverse/break-precsave.exp: Likewise.
11912 * gdb.reverse/break-reverse.exp: Likewise.
11913 * gdb.reverse/consecutive-precsave.exp: Likewise.
11914 * gdb.reverse/finish-precsave.exp: Likewise.
11915 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
11916 * gdb.reverse/finish-reverse.exp: Likewise.
11917 * gdb.reverse/i386-precsave.exp: Likewise.
11918 * gdb.reverse/i387-env-reverse.exp: Likewise.
11919 * gdb.reverse/i387-stack-reverse.exp: Likewise.
11920 * gdb.reverse/machinestate-precsave.exp: Likewise.
11921 * gdb.reverse/machinestate.exp: Likewise.
11922 * gdb.reverse/sigall-precsave.exp: Likewise.
11923 * gdb.reverse/solib-precsave.exp: Likewise.
11924 * gdb.reverse/step-precsave.exp: Likewise.
11925 * gdb.reverse/until-precsave.exp: Likewise.
11926 * gdb.reverse/watch-precsave.exp: Likewise.
11927 * gdb.reverse/watch-reverse.exp: Likewise.
11929 2014-10-17 Yao Qi <yao@codesourcery.com>
11931 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
11932 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
11934 2014-10-17 Pedro Alves <palves@redhat.com>
11937 * gdb.base/bg-execution-repeat.c: New file.
11938 * gdb.base/bg-execution-repeat.exp: New file.
11940 2014-10-17 Pedro Alves <palves@redhat.com>
11943 * gdb.base/continue-all-already-running.c: New file.
11944 * gdb.base/continue-all-already-running.exp: New file.
11946 2014-10-17 Pedro Alves <palves@redhat.com>
11949 * gdb.base/annota-input-while-running.c: New file.
11950 * gdb.base/annota-input-while-running.exp: New file.
11952 2014-10-17 Pedro Alves <palves@redhat.com>
11954 * gdb.base/callfuncs.exp: emove references to osf.
11955 * gdb.base/sigall.exp: Likewise.
11956 * gdb.gdb/selftest.exp: Likewise.
11957 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
11958 * gdb.mi/non-stop.c: Likewise.
11959 * gdb.mi/pthreads.c: Likewise.
11960 * gdb.reverse/sigall-precsave.exp: Likewise.
11961 * gdb.reverse/sigall-reverse.exp: Likewise.
11962 * gdb.threads/pthreads.c: Likewise.
11963 * gdb.threads/pthreads.exp: Likewise.
11965 2014-10-17 Yao Qi <yao@codesourcery.com>
11967 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
11968 check 'target_info exists noargs'.
11969 (test_command_prompt_position): Likewise.
11970 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
11972 (progvar_simple_while_test): Likewise.
11973 (progvar_complex_if_while_test): Likewise.
11974 (if_while_breakpoint_command_test): Likewise.
11975 (infrun_breakpoint_command_test): Likewise.
11976 (breakpoint_command_test): Likewise.
11977 (watchpoint_command_test): Likewise.
11978 (bp_deleted_in_command_test): Likewise.
11979 (temporary_breakpoint_commands): Likewise.
11981 2014-10-16 Yao Qi <yao@codesourcery.com>
11983 * gdb.base/remotetimeout.exp: Remove noargs checking.
11985 2014-10-15 Pedro Alves <palves@redhat.com>
11987 PR breakpoints/9649
11988 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
11989 * gdb.base/breakpoint-in-ro-region.exp
11990 (probe_target_hardware_step): New procedure.
11991 (top level): Probe hardware stepping and hardware breakpoint
11992 support. Test stepping through a read-only region, with both
11993 "breakpoint auto-hw" on and off and both "always-inserted" on and
11996 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
11998 * gdb.dlang/demangle.exp: Update for demangling changes.
12000 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
12002 * gdb.cp/non-trivial-retval.cc: Add new test cases.
12003 * gdb.cp/non-trivial-retval.exp: Add new tests.
12005 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
12009 * gdb.cp/non-trivial-retval.cc: New file.
12010 * gdb.cp/non-trivial-retval.exp: New file.
12012 2014-10-15 Yao Qi <yao@codesourcery.com>
12014 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
12017 2014-10-15 Yao Qi <yao@codesourcery.com>
12019 * gdb.python/py-symbol.exp: Match file base name if host is
12020 remote, otherwise match file name with dir name.
12021 * gdb.python/py-symtab.exp: Likewise.
12022 * gdb.python/python.exp: Likewise.
12024 2014-10-15 Yao Qi <yao@codesourcery.com>
12026 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
12028 * gdb.python/py-symtab.exp: Likewise.
12029 * gdb.python/python.exp: Remove trailing ".*". Fix typo
12032 2014-10-14 Joel Brobecker <brobecker@adacore.com>
12034 * gdb.ada/addr_arith: New testcase.
12036 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
12038 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
12039 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
12040 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
12041 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
12043 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
12045 * gdb.arch/stap-eval-lang-ada.S: Likewise.
12046 * gdb.arch/stap-eval-lang-ada.c: Likewise.
12047 * gdb.arch/stap-eval-lang-ada.exp: New file.
12049 2014-10-14 Yao Qi <yao@codesourcery.com>
12051 * gdb.mi/mi-var-child.c (nothing1): New function.
12052 (nothing2): New function.
12053 (do_children_tests): Set function pointers by nothing1 and
12055 * gdb.mi/mi-var-child.exp: Step over new added statements.
12056 Update test to match the new output.
12057 * gdb.mi/var-cmd.c (nothing1): New function.
12058 (nothing2): New function.
12059 (do_children_tests): Set function pointers by nothing1 and
12061 * gdb.mi/mi-var-display.exp: Update test to match output.
12062 Step to the line specified by $line_dct_nothing.
12063 Increase the number of lines to step.
12065 2014-10-14 Yao Qi <yao@codesourcery.com>
12067 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
12069 * gdb.mi/mi2-var-child.exp: Likewise.
12071 2014-10-13 Doug Evans <dje@google.com>
12073 * gdb.python/py-objfile.exp: Change name of file name test.
12075 2014-10-13 Doug Evans <dje@google.com>
12077 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
12078 from the start of the CU.
12080 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12081 Yao Qi <yao@codesourcery.com>
12083 Fix "save breakpoints" for "catch" command.
12084 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
12085 Remove -nonewline. Match also the added "main" line.
12087 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12089 Fix "save breakpoints" for "disable $bpnum" command.
12090 * gdb.base/save-bp.c (main): Add label.
12091 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
12093 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12095 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
12097 2014-10-11 Yao Qi <yao@codesourcery.com>
12099 * gdb.server/server-kill.exp: Execute command
12100 "set remote trace-status-packet on" before "tstatus".
12102 2014-10-11 Yao Qi <yao@codesourcery.com>
12104 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
12105 (main): Call getppid.
12106 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
12107 and continue to it. Read variable "server_pid".
12109 2014-10-11 Yao Qi <yao@codesourcery.com>
12111 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
12113 2014-10-11 Yao Qi <yao@codesourcery.com>
12115 * gdb.threads/thread-find.exp: Don't execute command
12117 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
12118 * gdb.threads/linux-dp.exp: Don't check the condition
12119 $threads_created equals to zero.
12121 2014-10-10 Pedro Alves <palves@redhat.com>
12123 * gdb.base/bigcore.exp: Remove references to IRIX.
12124 * gdb.base/funcargs.exp: Likewise.
12125 * gdb.base/interrupt.exp: Likewise.
12126 * gdb.base/mips_pro.exp: Likewise.
12127 * gdb.base/nodebug.exp: Likewise.
12128 * gdb.base/setvar.exp: Likewise.
12129 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
12131 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12132 Pedro Alves <palves@redhat.com>
12135 * gdb.base/vdso-warning.c: New file.
12136 * gdb.base/vdso-warning.exp: New file.
12138 2014-10-02 Doug Evans <dje@google.com>
12140 * gdb.base/structs.c (main): Don't run forever.
12142 2014-10-02 Pedro Alves <palves@redhat.com>
12144 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
12145 (top level) <stop threads 1, stop threads 2>: Use it.
12147 2014-10-02 Pedro Alves <palves@redhat.com>
12149 * gdb.threads/break-while-running.exp (test): Add new
12150 'update_thread_list' argument. Skip "info threads" if false.
12151 (top level): Add new 'update_thread_list' axis.
12153 2014-10-02 Pedro Alves <palves@redhat.com>
12155 PR breakpoints/17431
12156 * gdb.base/execl-update-breakpoints.c: New file.
12157 * gdb.base/execl-update-breakpoints.exp: New file.
12159 2014-10-01 Pedro Alves <palves@redhat.com>
12161 * gdb.base/breakpoint-in-ro-region.c: New file.
12162 * gdb.base/breakpoint-in-ro-region.exp: New file.
12164 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
12166 * gdb.mi/mi-exit-code.exp: New file.
12167 * gdb.mi/mi-exit-code.c: New file.
12169 2014-09-30 Yao Qi <yao@codesourcery.com>
12171 * lib/prelink-support.exp (build_executable_own_libs): Error if
12172 the target isn't native.
12174 2014-09-30 Yao Qi <yao@codesourcery.com>
12176 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
12179 2014-09-22 Pedro Alves <palves@redhat.com>
12181 * gdb.threads/break-while-running.exp: New file.
12182 * gdb.threads/break-while-running.c: New file.
12184 2014-09-19 Yao Qi <yao@codesourcery.com>
12186 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
12187 Invoke test. Restart GDB with --readnow and invoke test again.
12189 2014-09-19 Yao Qi <yao@codesourcery.com>
12191 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
12192 proc set_breakpoint_on_gcd_function. Invoke
12193 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
12194 invoke set_breakpoint_on_gcd_function again.
12196 2014-09-18 Doug Evans <dje@google.com>
12198 * gdb.dwarf2/symtab-producer.exp: New file.
12200 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
12202 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
12203 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
12204 * gdb.base/global-var-nested-by-dso.c: Likewise.
12205 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12207 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
12208 Pedro Alves <palves@redhat.com>
12210 * gdb.base/watch-bitfields.exp: Pass string other than test file
12211 name to prepare_for_testing.
12212 (watch): New procedure.
12213 (expect_watchpoint): Use with_test_prefix.
12214 (top level): Factor out tests to ...
12215 (test_watch_location, test_regular_watch): ... these new
12216 procedures, and use with_test_prefix and gdb_continue_to_end.
12218 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
12220 PR breakpoints/12526
12221 * gdb.base/watch-bitfields.exp: New file.
12222 * gdb.base/watch-bitfields.c: New file.
12224 2014-09-16 Pedro Alves <palves@redhat.com>
12226 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
12227 software and hardware addresses, not software address against
12230 2014-09-16 Pedro Alves <palves@redhat.com>
12232 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
12233 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
12235 2014-09-16 Pedro Alves <palves@redhat.com>
12237 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
12239 * gdb.base/a2-run.exp: Remove all code guarded by istarget
12240 "*-*-vxworks*" throughout.
12241 * gdb.base/break.exp: Likewise.
12242 * gdb.base/default.exp: Likewise.
12243 * gdb.base/scope.exp: Likewise.
12244 * gdb.base/sepdebug.exp: Likewise.
12245 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
12247 * gdb.base/run.c: Likewise.
12248 * gdb.base/sepdebug.c: Likewise.
12249 * gdb.hp/gdb.aCC/run.c: Likewise.
12250 * gdb.reverse/until-reverse.c: Likewise.
12251 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
12253 2014-09-16 Yao Qi <yao@codesourcery.com>
12255 * boards/local-remote-host-native.exp: New file.
12257 2014-09-14 Doug Evans <xdje42@gmail.com>
12259 * gdb.threads/queue-signal.c (thread_count): New variable.
12260 (thread_count_mutex, thread_count_condvar): New variables.
12261 (incr_thread_count, wait_all_threads_running): New functions.
12262 (main): Wait for all threads to be in their thread functions.
12264 2014-09-13 Doug Evans <xdje42@gmail.com>
12266 * gdb.threads/queue-signal.c: New file.
12267 * gdb.threads/queue-signal.exp: New file.
12269 2014-09-13 Doug Evans <xdje42@gmail.com>
12271 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
12272 be consistent with what default_gdb_init uses.
12273 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
12274 the plain text of the prompt. Add some logging printfs.
12275 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
12277 2014-09-12 Pedro Alves <palves@redhat.com>
12279 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
12280 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
12281 * gdb.arch/i386-size-overlap.exp: Likewise.
12282 * gdb.arch/i386-size.exp: Likewise.
12283 * gdb.arch/i386-unwind.exp: Likewise.
12284 * gdb.base/a2-run.exp: Likewise.
12285 * gdb.base/break.exp: Likewise.
12286 * gdb.base/charset.exp: Likewise.
12287 * gdb.base/chng-syms.exp: Likewise.
12288 * gdb.base/commands.exp: Likewise.
12289 * gdb.base/dbx.exp: Likewise.
12290 * gdb.base/find.exp: Likewise.
12291 * gdb.base/funcargs.exp: Likewise.
12292 * gdb.base/jit-simple.exp: Likewise.
12293 * gdb.base/reread.exp: Likewise.
12294 * gdb.base/sepdebug.exp: Likewise.
12295 * gdb.base/step-bt.exp: Likewise.
12296 * gdb.cp/mb-inline.exp: Likewise.
12297 * gdb.cp/mb-templates.exp: Likewise.
12298 * gdb.objc/basicclass.exp: Likewise.
12299 * gdb.threads/killed.exp: Likewise.
12301 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12304 * gdb.arch/powerpc-stackless.S: New file.
12305 * gdb.arch/powerpc-stackless.exp: New file.
12307 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12309 * gdb.base/attach.c: Include unistd.h.
12310 (main): Call alarm. Add label postloop.
12311 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
12312 gdb_breakpoint, gdb_continue_to_breakpoint.
12313 (test_command_line_attach_run): Kill ${testpid} in one exit path.
12315 2014-09-11 Pedro Alves <palves@redhat.com>
12318 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
12319 * gdb.base/attach.exp (test_command_line_attach_run): New
12321 (top level): Call it.
12323 2014-09-11 Pedro Alves <palves@redhat.com>
12325 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
12326 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
12327 (do_command_attach_tests): Use spawn_wait_for_attach.
12328 * gdb.base/solib-overlap.exp: Likewise.
12329 * gdb.multi/multi-attach.exp: Likewise.
12330 * gdb.python/py-prompt.exp: Likewise.
12331 * gdb.python/py-sync-interp.exp: Likewise.
12332 * gdb.server/ext-attach.exp: Likewise.
12334 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
12336 * gdb.fortran/array-element.exp: Remove unexpected "continue"
12337 command in testcase. Simplify testcase.
12339 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12341 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
12343 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12345 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
12347 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12349 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
12351 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12353 * gdb.dwarf2/dynarr-ptr.c: New file.
12354 * gdb.dwarf2/dynarr-ptr.exp: New file.
12356 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12358 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
12359 of 30 rather than hardcoding 120 for a slow test case. Take the
12360 `gdb,timeout' target setting into account for this calculation.
12361 Don't extend the timeout for the test cases that don't need it.
12363 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12365 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
12366 a factor of 2 for a slow test case. Take the `gdb,timeout'
12367 target setting into account for this calculation.
12368 * gdb.reverse/until-precsave.exp: Increase the timeout by
12369 a factor of 15 and 3 respectively rather than adding 120
12370 for a pair of slow test cases. Take the `gdb,timeout'
12371 target setting into account for this calculation.
12373 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12375 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
12376 timeout, don't pass one down to gdb_expect.
12377 (gdb_expect): Rework timeout selection.
12379 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12381 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
12382 exception on timeout.
12383 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
12384 (gdbserver_start_extended): Catch any `gdbserver_start' error
12386 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
12387 * lib/mi-support.exp (mi_gdb_target_load): Catch any
12388 `gdbserver_gdb_load' error exceptions.
12390 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12392 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
12393 120 on waiting for the TCP socket to open.
12395 2014-09-09 Doug Evans <xdje42@gmail.com>
12397 * gdb.base/default.exp (show_conv_list): Add _caller_is,
12398 _caller_matches, _any_caller_is, _any_caller_matches.
12400 2014-09-09 Doug Evans <xdje42@gmail.com>
12402 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
12404 2014-09-09 Yao Qi <yao@codesourcery.com>
12406 * gdb.mi/mi-var-display.exp: Set print symbol off.
12408 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
12411 * gdb.base/commands.exp: Add tests to verify user-defined
12412 commands with empty bodies.
12413 * gdb.python/py-cmd.exp: Test that we don't show user-defined
12414 python commands in `show user command`.
12415 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
12416 scheme commands in `show user command`.
12418 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12421 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
12422 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
12423 * gdb.python/py-framefilter-invalidarg.exp: New file.
12424 * gdb.python/py-framefilter-invalidarg.py: New file.
12426 2014-09-06 Doug Evans <xdje42@gmail.com>
12429 * gdb.python/py-caller-is.c: New file.
12430 * gdb.python/py-caller-is.exp: New file.
12432 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
12435 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
12436 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
12438 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
12441 * gdb.fortran/print-formatted.exp: New file.
12442 * gdb.fortran/print-formatted.f90: Likewise.
12444 2014-09-03 Sasha Smundak <asmundak@google.com>
12446 * gdb.python/py-frame.exp: Test Frame.read_register.
12448 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
12451 * gdb.python/py-completion.exp: New file.
12452 * gdb.python/py-completion.py: Likewise.
12454 2014-08-28 Doug Evans <dje@google.com>
12456 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
12457 eax,etc. are live with values set by gdb and thus the compiler can't
12459 * gdb.arch/i386-pseudo.c (main): Ditto.
12461 2014-08-27 Doug Evans <dje@google.com>
12463 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
12465 2014-08-25 Doug Evans <dje@google.com>
12467 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
12470 2014-08-25 Doug Evans <dje@google.com>
12472 * gdb.threads/thread-execl.exp: #include <stdio.h>.
12474 2014-08-24 Yao Qi <yao@codesourcery.com>
12476 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
12478 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
12480 2014-08-22 Doug Evans <dje@google.com>
12483 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
12484 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
12485 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
12487 2014-08-22 Yao Qi <yao@codesourcery.com>
12489 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
12490 * gdb.python/py-finish-breakpoint2.exp: Likewise.
12491 * gdb.python/python.exp: Likewise. Use .py file on the host
12492 instead of the build.
12494 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12496 * gdb.threads/gcore-stale-thread.c: New file.
12497 * gdb.threads/gcore-stale-thread.exp: New file.
12499 2014-08-21 Pedro Alves <palves@redhat.com>
12501 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
12502 * gdb.base/gcore-relro-pie.exp: Likewise.
12503 * gdb.base/gcore-relro.exp: Likewise.
12504 * gdb.base/gcore.exp: Likewise.
12505 * gdb.base/print-symbol-loading.exp: Likewise.
12506 * gdb.threads/gcore-thread.exp: Likewise.
12507 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
12509 2014-08-20 Pedro Alves <palves@redhat.com>
12510 Jan Kratochvil <jan.kratochvil@redhat.com>
12512 * Makefile.in (EXTRA_RULES, CC): New variables, get from
12514 (EXPECT): Handle READ1 being set.
12515 (all): Depend on EXTRA_RULES.
12516 (check-read1, expect-read1, read1.so, read1): New rules.
12517 * README (Testsuite Parameters): Document the READ1 make variable.
12518 (Race detection): New section.
12519 * configure: Regenerate.
12520 * configure.ac: If build==host==target, and running under a
12521 GNU/glibc system, add read1 to the extra Makefile rules.
12522 (EXTRA_RULES): AC_SUBST it.
12523 * lib/read1.c: New file.
12525 2014-08-20 Joel Brobecker <brobecker@adacore.com>
12527 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
12528 the handling of variables declared as a typedef to an array
12529 which a DW_AT_data_location attribute.
12531 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
12532 Pedro Alves <palves@redhat.com>
12536 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
12539 2014-08-19 Pedro Alves <palves@redhat.com>
12541 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
12543 2014-08-19 Yao Qi <yao@codesourcery.com>
12545 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
12548 2014-08-18 David Blaikie <dblaikie@gmail.com>
12550 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
12552 2014-08-18 Joel Brobecker <brobecker@adacore.com>
12554 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
12555 attribute in array range.
12557 2014-08-18 Joel Brobecker <brobecker@adacore.com>
12559 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
12561 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
12564 * gdb.cp/pr17132.cc: New file.
12565 * gdb.cp/pr17132.exp: New file.
12567 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
12569 * gdb.python/py-xmethods.py (A_getarrayind)
12570 (E_method_char_worker.__call__, E_method_int_worker.__call__):
12571 Use 'print' with function call syntax.
12572 (E_method_matcher.match): Fix tab vs space indentation mixup.
12574 2014-08-15 Yao Qi <yao@codesourcery.com>
12576 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
12579 2014-08-15 Yao Qi <yao@codesourcery.com>
12581 * gdb.cp/casts.exp: Set print symbol off.
12582 * gdb.cp/class2.exp: Likewise.
12583 * gdb.cp/overload.exp: Likewise.
12584 * gdb.cp/templates.exp: Likewise.
12586 2014-08-11 Doug Evans <dje@google.com>
12588 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
12589 (test_load_shlib): Update.
12591 2014-08-09 Yao Qi <yao@codesourcery.com>
12593 * gdb.base/display.exp: Invoke is_address_zero_readable.
12594 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
12595 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12596 * gdb.base/hbreak-unmapped.exp: Return if
12597 is_address_zero_readable returns true.
12598 * gdb.base/signest.exp: Likewise.
12599 * gdb.base/signull.exp: Likewise.
12600 * gdb.base/sigbpt.exp: Likewise.
12601 * gdb.guile/scm-disasm.exp: Do the test if
12602 is_address_zero_readable returns false.
12603 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
12604 * gdb.python/py-arch.exp: Likewise.
12605 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
12606 * lib/gdb.exp (is_address_zero_readable): New proc.
12608 2014-08-09 Yao Qi <yao@codesourcery.com>
12611 * gdb.mi/mi-var-display.exp: Make test messages unique.
12613 2014-08-04 Tom Tromey <tromey@redhat.com>
12615 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
12618 2014-08-04 Tom Tromey <tromey@redhat.com>
12620 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
12623 2014-08-01 Joel Brobecker <brobecker@adacore.com>
12625 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
12626 inner_vla_struct_object_size.
12627 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
12630 2014-07-30 Pedro Alves <palves@redhat.com>
12632 * gdb.threads/signal-command-handle-nopass.exp (test): Add
12635 2014-07-29 Yao Qi <yao@codesourcery.com>
12638 * gdb.base/until-nodebug.exp: New.
12640 2014-07-28 Doug Evans <xdje42@gmail.com>
12643 * gdb.guile/scm-parameter.exp: Add tests for trying to create
12644 previously existing parameter, and previously ambiguously spelled
12647 2014-07-28 Will Newton <will.newton@linaro.org>
12649 * gdb.base/varargs.exp: Remove KFAILs for ARM.
12651 2014-07-26 Ludovic Courtès <ludo@gnu.org>
12652 Doug Evans <xdje42@gmail.com>
12655 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
12657 2014-07-25 Pedro Alves <palves@redhat.com>
12659 * gdb.threads/signal-command-handle-nopass.c: New file.
12660 * gdb.threads/signal-command-handle-nopass.exp: New file.
12661 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
12662 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
12663 * gdb.threads/signal-delivered-right-thread.c: New file.
12664 * gdb.threads/signal-delivered-right-thread.exp: New file.
12666 2014-07-25 Pedro Alves <palves@redhat.com>
12668 * gdb.base/double-prompt-target-event-error.exp
12669 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
12671 (cancel_pagination_in_target_event): Rework double prompt
12673 * gdb.base/paginate-after-ctrl-c-running.exp
12674 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
12676 * gdb.base/paginate-bg-execution.exp
12677 (test_bg_execution_pagination_return)
12678 (test_bg_execution_pagination_cancel): Remove '-notransfer
12680 * gdb.base/paginate-execution-startup.exp
12681 (test_fg_execution_pagination_return)
12682 (test_fg_execution_pagination_cancel): Remove '-notransfer
12684 * gdb.base/paginate-inferior-exit.exp
12685 (test_paginate_inferior_exited): Remove '-notransfer <return>'
12687 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
12688 * lib/gdb.exp (pagination_prompt): Run text through
12690 (gdb_test_multiple): Match $pagination_prompt instead of
12692 (string_to_regexp): Move to lib/gdb-utils.exp.
12694 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12696 * gdb.arch/amd64-entry-value-paramref.S: New file.
12697 * gdb.arch/amd64-entry-value-paramref.cc: New file.
12698 * gdb.arch/amd64-entry-value-paramref.exp: New file.
12699 * gdb.arch/amd64-optimout-repeat.S: New file.
12700 * gdb.arch/amd64-optimout-repeat.c: New file.
12701 * gdb.arch/amd64-optimout-repeat.exp: New file.
12703 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
12706 * gdb.base/statistics.exp: New file.
12708 2014-07-17 Doug Evans <dje@google.com>
12711 * gdb.base/maint.exp: Update testing of per-command stats.
12713 2014-07-16 Pedro Alves <palves@redhat.com>
12715 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
12716 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
12717 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
12718 (tfile_write_buf): New functions.
12719 (add_memory_block): Rewrite using the above.
12720 (adjust_function_address): New function.
12721 (FUNCTION_ADDRESS): New macro.
12722 (write_basic_trace_file): Remove short_x local, and use
12723 tfile_write_16. Change type of func_addr local to unsigned long
12724 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
12725 here. Cast argument of add_memory_block to char pointer.
12726 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
12727 (main): Remove parameters.
12728 * gdb.trace/tfile.exp: Remove nowarnings.
12730 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
12732 * gdb.base/debug-expr.exp: Test string evaluation with
12733 "debug expression" on.
12735 2014-07-15 Pedro Alves <palves@redhat.com>
12737 * gdb.base/reread.exp: Use clean_restart.
12739 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
12741 * gdb.arch/avr-flash-qualifer.c: New.
12742 * gdb.arch/avr-flash-qualifer.exp: New.
12744 2014-07-14 Pedro Alves <palves@redhat.com>
12746 * gdb.base/paginate-after-ctrl-c-running.c: New file.
12747 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
12749 2014-07-14 Pedro Alves <palves@redhat.com>
12751 * gdb.base/double-prompt-target-event-error.c: New file.
12752 * gdb.base/double-prompt-target-event-error.exp: New file.
12754 2014-07-14 Pedro Alves <palves@redhat.com>
12757 * gdb.base/paginate-inferior-exit.c: New file.
12758 * gdb.base/paginate-inferior-exit.exp: New file.
12760 2014-07-14 Pedro Alves <palves@redhat.com>
12763 * gdb.base/paginate-bg-execution.c: New file.
12764 * gdb.base/paginate-bg-execution.exp: New file.
12766 2014-07-14 Pedro Alves <palves@redhat.com>
12769 * gdb.base/paginate-execution-startup.c: New file.
12770 * gdb.base/paginate-execution-startup.exp: New file.
12771 * lib/gdb.exp (pagination_prompt): New global.
12772 (default_gdb_spawn): New procedure, factored out from
12774 (default_gdb_start): Adjust to call default_gdb_spawn.
12775 (gdb_spawn): New procedure.
12777 2014-07-14 Pedro Alves <palves@redhat.com>
12779 * lib/gdb.exp (gdb_assert): New procedure.
12780 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
12782 2014-07-14 Pedro Alves <palves@redhat.com>
12784 * gdb.base/execution-termios.c: New file.
12785 * gdb.base/execution-termios.exp: New file.
12787 2014-07-14 Tom Tromey <tromey@redhat.com>
12789 * gdb.cp/vla-cxx.cc: New file.
12790 * gdb.cp/vla-cxx.exp: New file.
12792 2014-07-14 Tom Tromey <tromey@redhat.com>
12794 * gdb.reverse/rerun-prec.c: New file.
12795 * gdb.reverse/rerun-prec.exp: New file.
12797 2014-07-12 Maciej W. Rozycki <macro@mips.com>
12798 Maciej W. Rozycki <macro@codesourcery.com>
12800 * lib/gdb-utils.exp: New file.
12801 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
12802 inline `gdb_init_command' processing.
12803 (gdb_start_cmd): Likewise.
12804 * lib/mi-support.exp (mi_run_cmd): Likewise.
12805 * README: Document `gdb_init_command' and `gdb_init_commands'.
12807 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12809 Fix false FAIL running under a very long directory name.
12810 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
12811 and "set print elements 10000". Twice.
12813 2014-07-11 Yao Qi <yao@codesourcery.com>
12815 * gdb.base/exprs.exp: "set print symbol off".
12817 2014-07-11 Pedro Alves <palves@redhat.com>
12819 * gdb.threads/kill.c: New file.
12820 * gdb.threads/kill.exp: New file.
12822 2014-07-10 Yao Qi <yao@codesourcery.com>
12824 * gdb.trace/tfile.c (write_basic_trace_file)
12825 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
12826 address written to trace file.
12828 2014-07-09 Pedro Alves <palves@redhat.com>
12830 * gdb.base/attach-wait-input.exp: New file.
12831 * gdb.base/attach-wait-input.c: New file.
12833 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
12835 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
12836 setting up test structures.
12837 (main): Call new test function.
12838 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
12839 test function, continue into test function and walk test
12842 2014-07-02 Yao Qi <yao@codesourcery.com>
12844 * gdb.trace/entry-values.c: Define labels 'foo_start' and
12845 'bar_start' at the beginning of functions 'foo' and 'bar'
12847 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
12848 instead of 'foo' and 'bar'.
12850 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
12852 * gdb.btrace/segv.exp: New.
12853 * gdb.btrace/segv.c: New.
12855 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
12857 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
12860 2014-06-30 Mark Wielaard <mjw@redhat.com>
12862 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
12863 vulture, vilify, villar): New volatile array constants.
12864 (vindictive, vegetation): New const volatile array constants.
12865 * gdb.base/volatile.exp: Test volatile and const volatile array
12868 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
12870 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
12871 target lacks support for awatch, rwatch, or hbreak.
12873 2014-06-27 Yao Qi <yao@codesourcery.com>
12875 * gdb.multi/dummy-frame-restore.exp: New.
12876 * gdb.multi/dummy-frame-restore.c: New.
12878 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
12880 * gdb.btrace/gcore.exp: New.
12882 2014-06-23 Pedro Alves <palves@redhat.com>
12884 * gdb.base/watchpoint-reuse-slot.c: New file.
12885 * gdb.base/watchpoint-reuse-slot.exp: New file.
12887 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
12889 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
12890 progspace's filename in 'info', 'enable' and 'disable' command
12893 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12895 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
12896 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
12897 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
12899 2014-06-20 Gary Benson <gbenson@redhat.com>
12901 * gdb.arch/i386-avx.exp: Fix include file location.
12902 * gdb.arch/i386-sse.exp: Likewise.
12904 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
12906 * gdb.dlang/expression.exp: New file.
12908 2014-06-19 Pedro Alves <palves@redhat.com>
12910 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
12912 (top level): ... here. Iterate running tests under different
12913 scheduler-locking settings.
12915 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
12917 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
12918 to DW_FORM_addr and use non-zero addresses.
12920 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
12923 * gdb.python/py-xmethods.cc: Add global function call counters and
12924 increment them in their respective functions. Remove "cout"
12926 * gdb.python/py-xmethods.exp: Make tests check the global function
12927 call counters instead of depending on inferior IO.
12929 2014-06-18 Don Breazeal <donb@codesourcery.com>
12931 * gdb.base/foll-fork.exp (default_fork_parent_follow):
12933 (explicit_fork_parent_follow): Deleted procedure.
12934 (explicit_fork_child_follow): Deleted procedure.
12935 (test_follow_fork): New procedure.
12936 (do_fork_tests): Replace calls to deleted procedures with
12937 calls to test_follow_fork and reset GDB for subsequent
12940 2014-06-17 Yao Qi <yao@codesourcery.com>
12942 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
12945 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
12947 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
12948 Initialize ptr and S explicitly.
12949 (skip_type_update_when_not_use_rtti_test): Likewise.
12951 2014-06-16 Keith Seitz <keiths@redhat.com>
12954 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
12955 the inferior is started.
12957 2014-06-16 Pedro Alves <palves@redhat.com>
12959 * gdb.base/break-main-file-remove-fail.c: New file.
12960 * gdb.base/break-main-file-remove-fail.exp: New file.
12961 * gdb.base/break-unload-file.exp: Use build_executable instead of
12962 prepare_for_testing.
12963 (test_break): New parameter "initial_load". Handle it.
12964 (top level): Add initial_load cmdline/file axis.
12966 2014-06-12 Tom Tromey <tromey@redhat.com>
12968 * gdb.base/completion.exp: Don't use directory name in test.
12970 2014-06-09 Gary Benson <gbenson@redhat.com>
12972 * gdb.base/sigall.c [Functions to send signals]: Reorder to
12973 separate the always-available ANSI-standard signals from the
12974 signals that require checking.
12976 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
12980 2014-06-07 Keith Seitz <keiths@redhat.com>
12984 * gdb.cp/var-tag.cc: New file.
12985 * gdb.cp/var-tag.exp: New file.
12986 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
12987 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
12988 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
12989 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
12991 2014-06-06 Doug Evans <xdje42@gmail.com>
12993 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
12995 2014-06-06 Pedro Alves <palves@redhat.com>
12997 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
12998 in target debug output instead of looking at RSP packets,
12999 disabling the test on any target that uses hardware stepping.
13002 2014-06-06 Pedro Alves <palves@redhat.com>
13004 * gdb.base/break-unload-file.exp: Fix typo.
13006 2014-06-06 Yao Qi <yao@codesourcery.com>
13008 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
13009 from "jit_function" to "^jit_function".
13011 2014-06-06 Yao Qi <yao@codesourcery.com>
13013 * gdb.base/async.c (foo): Add one statement.
13014 * gdb.base/async.exp: Get the next instruction address and
13015 match the output of "nexti" by instruction address. Match
13016 the hex address in the output of "finish".
13018 2014-06-06 Gary Benson <gbenson@redhat.com>
13020 * gdb.base/call-signals.c: Remove preprocessor conditionals
13021 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
13022 SIGSEGV and SIGTERM.
13023 * gdb.base/sigall.c: Likewise.
13024 * gdb.base/unwindonsignal.c: Likewise.
13025 * gdb.reverse/sigall-reverse.c: Likewise.
13027 2014-06-06 Yao Qi <yao@codesourcery.com>
13029 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
13030 readable, skip the test.
13032 2014-06-06 Yao Qi <yao@codesourcery.com>
13034 * gdb.threads/staticthreads.c (thread_function): Move the line
13035 setting breakpoint on forward.
13036 * gdb.threads/staticthreads.exp: Update comments.
13038 2014-06-05 Ludovic Courtès <ludo@gnu.org>
13040 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
13041 "history-append! type error".
13043 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
13045 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
13046 erroneous dprintf expected input.
13048 2014-06-04 Doug Evans <xdje42@gmail.com>
13050 * gdb.guile/scm-generics.exp: Delete.
13052 2014-06-04 Doug Evans <xdje42@gmail.com>
13054 * gdb.guile/scm-breakpoint.exp: Update.
13055 Add tests for breakpoint registration.
13057 2014-06-04 Tom Tromey <tromey@redhat.com>
13059 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
13061 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
13062 inner_vla_struct, vla_union types. Initialize objects of those
13063 types and compute their sizes.
13065 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
13066 Hui Zhu <hui@codesourcery.com>
13068 * gdb.base/fileio.exp: Add test for shell not available as well as
13070 * gdb.base/fileio.c (test_system): Check for shell twice.
13072 2014-06-04 Yao Qi <yao@codesourcery.com>
13074 * gdb.base/auto-connect-native-target.exp: Remove redundant
13075 space from the regexp pattern.
13077 2014-06-04 Yao Qi <yao@codesourcery.com>
13079 * gdb.base/default.exp: Replace "child" with "native" in
13082 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
13084 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
13085 * gdb.python/py-xmethods.exp: New tests to test xmethods.
13086 * gdb.python/py-xmethods.py: Python script supporting the
13087 new testcase and tests.
13089 2014-06-03 Joel Brobecker <brobecker@adacore.com>
13090 Pedro Alves <palves@redhat.com>
13092 PR breakpoints/17000
13093 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
13094 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
13096 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
13098 * gdb.base/subst.exp: Add tests to verify partial path matching
13101 2014-06-03 Pedro Alves <palves@redhat.com>
13103 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
13104 target that doesn't use software single-stepping.
13106 2014-06-03 Pedro Alves <palves@redhat.com>
13108 PR breakpoints/17000
13109 * gdb.base/sss-bp-on-user-bp-2.c: New file.
13110 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
13112 2014-06-02 Doug Evans <xdje42@gmail.com>
13114 * gdb.guile/scm-parameter.exp: New file.
13116 2014-06-02 Doug Evans <xdje42@gmail.com>
13118 * gdb.guile/scm-cmd.c: New file.
13119 * gdb.guile/scm-cmd.exp: New file.
13121 2014-06-02 Doug Evans <xdje42@gmail.com>
13123 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
13124 pretty-printer lookup.
13125 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
13126 (make-pp_s-printer): Call it.
13127 (make-pretty-printer-from-dict): New function.
13128 (lookup-pretty-printer-maker-from-dict): New function.
13129 (*pretty-printer*): Simplify.
13130 (make-objfile-pp_s-printer): New function.
13131 (install-objfile-pretty-printers!): New function.
13132 (make-progspace-pp_s-printer): New function.
13133 (install-progspace-pretty-printers!): New function.
13134 * gdb.guile/scm-progspace.c: New file.
13135 * gdb.guile/scm-progspace.exp: New file.
13137 2014-06-02 Pedro Alves <palves@redhat.com>
13139 * gdb.base/dprintf-bp-same-addr.c: New file.
13140 * gdb.base/dprintf-bp-same-addr.exp: New file.
13142 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13144 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
13145 * gdb.arch/powerpc-power.s: Likewise.
13147 2014-06-02 Joel Brobecker <brobecker@adacore.com>
13149 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
13151 2014-06-01 Yao Qi <yao@codesourcery.com>
13153 * gdb.base/watchpoint.exp (test_watch_location): Check null
13154 pointer can be dereferenced. If not, do the test, otherwise
13157 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
13159 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
13161 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
13163 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
13165 * gdb.arch/amd64-invalid-stack-middle.S: New file.
13166 * gdb.arch/amd64-invalid-stack-middle.c: New file.
13167 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
13168 * gdb.arch/amd64-invalid-stack-top.c: New file.
13169 * gdb.arch/amd64-invalid-stack-top.exp: New file.
13171 2014-05-30 Pedro Alves <palves@redhat.com>
13173 PR breakpoints/17000
13174 * gdb.base/sss-bp-on-user-bp.c: New file.
13175 * gdb.base/sss-bp-on-user-bp.exp: New file.
13177 2014-05-30 David Blaikie <dblaikie@gmail.com>
13179 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
13180 gnu_inline semantics via attribute.
13181 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
13182 source explicitly specifies the required semantics.
13184 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
13186 * gdb.reverse/sigall-reverse.exp: Fix a typo.
13188 2014-05-29 Pedro Alves <palves@redhat.com>
13189 Tom Tromey <tromey@redhat.com>
13191 * gdb.base/async-shell.exp: Don't enable target-async.
13192 * gdb.base/async.exp
13193 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
13195 (top level): Don't test with "target-async".
13196 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
13197 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
13198 * gdb.base/inferior-died.exp: Don't enable target-async.
13199 * gdb.base/interrupt-noterm.exp: Likewise.
13200 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
13201 * gdb.mi/mi-nonstop-exit.exp: Likewise.
13202 * gdb.mi/mi-nonstop.exp: Likewise.
13203 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
13204 * gdb.mi/mi-nsintrall.exp: Likewise.
13205 * gdb.mi/mi-nsmoribund.exp: Likewise.
13206 * gdb.mi/mi-nsthrexec.exp: Likewise.
13207 * gdb.mi/mi-watch-nonstop.exp: Likewise.
13208 * gdb.multi/watchpoint-multi.exp: Adjust comment.
13209 * gdb.python/py-evsignal.exp: Don't enable target-async.
13210 * gdb.python/py-evthreads.exp: Likewise.
13211 * gdb.python/py-prompt.exp: Likewise.
13212 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
13213 * gdb.server/solib-list.exp: Don't enable target-async.
13214 * gdb.threads/thread-specific-bp.exp: Likewise.
13215 * lib/mi-support.exp: Adjust to use mi-async.
13217 2014-05-29 Pedro Alves <palves@redhat.com>
13220 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
13221 reason, even in sync mode.
13223 2014-05-29 Pedro Alves <palves@redhat.com>
13224 Hui Zhu <hui@codesourcery.com>
13227 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
13228 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
13229 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
13230 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
13232 2014-05-28 Joel Brobecker <brobecker@adacore.com>
13234 * config/monitor.exp (gdb_target_monitor): Replace use of
13235 "set remotebaud" by "set serial baud".
13237 2014-05-26 Andy Wingo <wingo@igalia.com>
13239 * gdb.guile/scm-breakpoint.exp:
13240 * gdb.guile/scm-gsmob.exp: Update to use plain old object
13241 properties instead of gdb-object-properties.
13243 2014-05-26 Yao Qi <yao@codesourcery.com>
13245 * gdb.server/no-thread-db.exp: Specify source file name
13246 explicitly when setting a breakpoint.
13248 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13250 * gdb.btrace/vdso.c: New.
13251 * gdb.btrace/vdso.exp: New.
13253 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13255 * gdb.base/gcore.exp (capture_command_output): Move ...
13256 * lib/gdb.exp (capture_command_output): ... here.
13258 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13260 * gdb.btrace/data.exp: Test memory access during btrace replay.
13262 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
13264 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
13266 2014-05-21 Pedro Alves <palves@redhat.com>
13269 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
13270 (top level): Test that output related to execution commands is
13271 sent to the console with CLI commands, but not with MI commands.
13272 Test that breakpoint events are always mirrored to the console.
13273 Also expect the new source line to be output after a "next" in
13274 async mode too. Make it a pass/fail test.
13275 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
13277 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
13279 2014-05-21 Pedro Alves <palves@redhat.com>
13281 * gdb.base/list.exp (build_pattern, test_list): New procedures.
13282 Use them to test variations of "list" after reaching a breakpoint.
13283 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
13284 Test "list" with listsize 10 after reaching a breakpoint.
13285 * gdb.python/python.exp (decode_line current location line
13286 number): Adjust expected line number.
13288 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
13290 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
13291 behavior for $args, pass it directly to "run".
13293 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
13295 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
13298 2014-05-21 Pedro Alves <palves@redhat.com>
13300 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
13301 auto-connect-native-target off".
13302 * gdb.base/auto-connect-native-target.c: New file.
13303 * gdb.base/auto-connect-native-target.exp: New file.
13305 2014-05-21 Pedro Alves <palves@redhat.com>
13307 * gdb.base/default.exp: Test "target native" instead of "target
13310 2014-05-21 Mark Wielaard <mjw@redhat.com>
13312 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13314 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13316 Fix TLS access for -static -pthread.
13317 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
13318 <HAVE_TLS> (thread_function, main): Initialize it.
13319 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
13321 <$have_tls != "">: Check TLSVAR.
13323 2014-05-21 Pedro Alves <palves@redhat.com>
13325 * gdb.base/dcache-line-read-error.c: New.
13326 * gdb.base/dcache-line-read-error.exp: New.
13328 2014-05-20 Pedro Alves <palves@redhat.com>
13330 * gdb.base/compare-sections.c: New file.
13331 * gdb.base/compare-sections.exp: New file.
13333 2014-05-20 Pedro Alves <palves@redhat.com>
13335 * gdb.base/break-idempotent.c: New file.
13336 * gdb.base/break-idempotent.exp: New file.
13338 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
13340 * gdb.btrace/nohist.exp: New.
13342 2014-05-20 Yao Qi <yao@codesourcery.com>
13344 * lib/gdb.exp (gdb_init): Set timeout if test file is under
13345 gdb.reverse directory and gdb_reverse_timeout exists in board
13347 * README: Document gdb_reverse_timeout.
13349 2014-05-20 Yao Qi <yao@codesourcery.com>
13351 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
13352 'test_file_name'. Treat args as a string instead of a list.
13353 (gdb_init): Rename argument 'args' by 'test_file_name'.
13355 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13357 * gdb.arch/powerpc-power.exp: New file.
13358 * gdb.arch/powerpc-power.s: New file.
13360 2014-05-16 Doug Evans <dje@google.com>
13362 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
13363 * gdb.base/completion.exp: Check that all expected files exist
13364 before doing file completion.
13366 2014-05-16 Doug Evans <dje@google.com>
13368 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
13370 (do_syscall_tests_without_xml): Update.
13372 2014-05-16 Pedro Alves <palves@redhat.com>
13374 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
13375 instead of "unknown output after running".
13377 2014-05-16 Yao Qi <yao@codesourcery.com>
13379 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
13380 file1.txt from host at the end.
13381 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
13383 2014-05-15 Doug Evans <dje@google.com>
13385 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
13386 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
13387 loading file. Add test for TU lookup.
13389 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
13391 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
13392 calling "-exec-arguments" or "set args" before running the
13395 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
13397 * lib/mi-support.exp (mi_expect_stop): Expect message for
13398 inferiors that exit with non-zero exit code.
13400 2014-05-14 Yao Qi <yao@codesourcery.com>
13402 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
13403 match absolute path on remote host.
13404 (test_file_list_exec_source_files): Remove "/" from the
13407 2014-05-14 Yao Qi <yao@codesourcery.com>
13409 * boards/local-remote-host-notty.exp (${board}_file): New
13412 2014-05-07 Kyle McMartin <kyle@redhat.com>
13414 Pushed by Joel Brobecker <brobecker@adacore.com>.
13415 * gdb.arch/aarch64-atomic-inst.c: New file.
13416 * gdb.arch/aarch64-atomic-inst.exp: New file.
13418 2014-05-07 Yao Qi <yao@codesourcery.com>
13420 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
13421 in current context" too.
13423 2014-05-05 Keith Seitz <keiths@redhat.com>
13425 * gdb.linespec/ls-dollar.exp: Add test for linespec
13426 file:convenience_variable.
13428 2014-05-05 Yao Qi <yao@codesourcery.com>
13430 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
13431 traceframes into tfile and ctf trace files. Read data from
13432 trace file and test collected data.
13433 (gdb_collect_locals_test): Likewise.
13434 (gdb_unavailable_registers_test): Likewise.
13435 (gdb_unavailable_floats): Likewise.
13436 (gdb_collect_globals_test): Likewise.
13437 (top-level): Append "ctf" to trace_file_targets if GDB
13440 2014-05-05 Yao Qi <yao@codesourcery.com>
13442 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
13444 (gdb_collect_args_test_1): ... it. New proc.
13445 (gdb_collect_locals_test): Move some code to ...
13446 (gdb_collect_locals_test_1): ... it. New proc.
13447 (gdb_unavailable_registers_test): Move some code to ...
13448 (gdb_unavailable_registers_test_1): ... it. New proc.
13449 (gdb_unavailable_floats): Move some code to ...
13450 (gdb_unavailable_floats_1): ... it. New proc.
13452 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
13454 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
13455 probes to test for bitness recognition.
13456 * gdb.arch/amd64-stap-optional-prefix.exp
13457 (test_probe_value_without_reg): New procedure.
13458 Add code to test for different kinds of bitness.
13460 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
13462 PR breakpoints/16889
13463 * gdb.arch/amd64-stap-optional-prefix.S: New file.
13464 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13466 2014-05-01 Pedro Alves <palves@redhat.com>
13468 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
13469 gdb_file_cmd if no file is specified.
13470 * boards/native-extended-gdbserver.exp (gdb_load): Use the
13471 last_loaded_file to set the remote exec-file.
13473 2014-05-01 Pedro Alves <palves@redhat.com>
13475 * boards/local-remote-host.exp: New file.
13477 2014-05-01 Pedro Alves <palves@redhat.com>
13479 * boards/local-remote-host.exp: Rename to ...
13480 * boards/local-remote-host-notty.exp: ... this.
13482 2014-04-28 Joel Brobecker <brobecker@adacore.com>
13484 * gdb.ada/dyn_arrayidx: New testcase.
13486 2014-04-26 Yao Qi <yao@codesourcery.com>
13488 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
13489 and compute the length of function main. Save it in
13491 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
13492 (top-level): Use gdb_compile to compile objects into
13493 executable and restart GDB. Remove invocation to
13494 prepare_for_testing.
13496 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
13497 Pedro Alves <palves@redhat.com>
13500 * gdb.multi/multi-attach.c: New file.
13501 * gdb.multi/multi-attach.exp: New file.
13503 2014-04-25 Pedro Alves <palves@redhat.com>
13505 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
13507 (top level): Test that "set remote conditional-breakpoints-packet
13508 off" works as intended.
13509 * gdb.base/dprintf.exp: Test that "set remote
13510 breakpoint-commands-packet off" works as intended.
13511 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
13513 (top level): Call it.
13514 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
13515 remote fast-tracepoints-packet off" works as intended.
13516 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
13517 * lib/gdb.exp (gdb_is_target_remote): ... here.
13519 2014-04-24 David Blaikie <dblaikie@gmail.com>
13521 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
13522 ensure clang would not discard them.
13523 * gdb.base/gdbvars.c: Ditto.
13524 * gdb.base/memattr.c: Ditto.
13525 * gdb.base/whatis.c: Ditto.
13526 * gdb.python/py-prettyprint.c: Ditto.
13527 * gdb.trace/actions.c: Ditto.
13528 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
13529 ensure clang would not discard it.
13531 2014-04-24 David Blaikie <dblaikie@gmail.com>
13533 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
13534 clang to emit the full definition of type required by the test
13535 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
13537 2014-04-24 David Blaikie <dblaikie@gmail.com>
13539 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
13540 coax Clang into emitting the definition of the type.
13541 * gdb.cp/pr10728-x.h (y): Ditto.
13542 * gdb.cp/pr10728-y.cc (y): Ditto.
13544 2014-04-24 David Blaikie <dblaikie@gmail.com>
13546 * gdb.base/label.exp: XFAIL label related tests under Clang.
13547 * gdb.cp/cplabel.exp: Ditto.
13548 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
13549 under Clang those using labels.
13551 2014-04-25 Yao Qi <yao@codesourcery.com>
13553 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
13555 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
13556 partial_label and double_label.
13558 2014-04-24 David Blaikie <dblaikie@gmail.com>
13560 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
13562 2014-04-24 David Blaikie <dblaikie@gmail.com>
13564 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
13565 of the function to work across GCC and Clang.
13566 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
13567 pointer types (const void ** const V void **).
13569 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
13570 Walfred Tedeschi <walfred.tedeschi@intel.com>
13572 * Makefile.in (EXECUTABLES): Added i386-avx512.
13573 * gdb.arch/i386-avx512.c: New file.
13574 * gdb.arch/i386-avx512.exp: Likewise.
13576 2014-04-23 Keith Seitz <keiths@redhat.com>
13578 * lib/mi-support.exp (mi_list_breakpoints): Delete.
13579 (mi_make_breakpoint_table): New procedure.
13580 (mi_create_breakpoint): Use mi_make_breakpoint
13581 and return the result.
13582 (mi_make_breakpoint): New procedure.
13583 (mi_build_kv_pairs): New procedure.
13585 * gdb.mi/mi-break.exp: Remove unused globals,
13586 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
13587 All callers updated.
13588 * gdb.mi/mi-dprintf.exp: Use variable to track command
13590 Update all callers of mi_create_breakpoint and use
13591 mi_make_breakpoint_table.
13592 Remove any unused global variables.
13593 * gdb.mi/mi-nonstop.exp: Likewise.
13594 * gdb.mi/mi-nsintrall.exp: Likewise.
13595 * gdb.mi/mi-nsmoribund.exp: Likewise.
13596 * gdb.mi/mi-nsthrexec.exp: Likewise.
13597 * gdb.mi/mi-reverse.exp: Likewise.
13598 * gdb.mi/mi-simplerun.exp: Likewise.
13599 * gdb.mi/mi-stepn.exp: Likewise.
13600 * gdb.mi/mi-syn-frame.exp: Likewise.
13601 * gdb.mi/mi-until.exp: Likewise.
13602 * gdb.mi/mi-var-cp.exp: Likewise.
13603 * gdb.mi/mi-var-display.exp: Likewise.
13604 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
13605 * gdb.mi/mi2-var-child.exp: Likewise.
13606 * gdb.mi/mi-vla-c99.exp: Likewise.
13607 * lib/mi-support.exp: Likewise.
13609 From Ian Lance Taylor <iant@cygnus.com>:
13610 * lib/gdb.exp (parse_args): New procedure.
13612 2014-04-23 Pedro Alves <palves@redhat.com>
13614 * gdb.base/break-unload-file.c: New file.
13615 * gdb.base/break-unload-file.exp: New file.
13616 * gdb.base/sym-file-lib.c (baz): New function.
13617 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
13619 (load): Store the segment's mapped size.
13620 (unload): New function.
13621 (unload_shlib): New function.
13622 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
13623 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
13624 set a breakpoint at baz, and call it.
13625 * gdb.base/sym-file.exp: New tests for stale breakpoint
13628 2014-04-23 Pedro Alves <palves@redhat.com>
13630 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
13631 * gdb.base/hbreak-in-shr-unsupported.c: New file.
13632 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
13633 * gdb.base/hbreak-unmapped.c: New file.
13634 * gdb.base/hbreak-unmapped.exp: New file.
13635 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
13636 * lib/gdb.exp (gdb_is_target_remote): ... here.
13638 2014-04-22 Pedro Alves <palves@redhat.com>
13640 * gdb.base/consecutive-step-over.c: New file.
13641 * gdb.base/consecutive-step-over.exp: New file.
13643 2014-04-22 Pedro Alves <palves@redhat.com>
13645 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
13646 instead of send_gdb/gdb_expect.
13648 2014-04-22 Yao Qi <yao@codesourcery.com>
13650 * lib/trace-support.exp (generate_tracefile): New procedure.
13651 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
13653 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
13654 if generate_tracefile returns 1.
13656 2014-04-18 Tom Tromey <palves@redhat.com>
13657 Pedro alves <tromey@redhat.com>
13660 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
13661 with a backtrace limit.
13662 * gdb.python/py-frame-inline.exp: Test running to an inline
13663 function with a backtrace limit, and printing the newest frame.
13664 * gdb.python/py-frame-inline.c (main): Call f.
13666 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
13668 * gdb.java/jnpe.exp: Drop srcdir from untested path.
13670 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
13672 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
13673 Drop prefix from unsupported source file path.
13675 2014-04-17 Yao Qi <yao@codesourcery.com>
13677 * lib/gdb.exp (with_target_charset): New proc.
13678 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
13679 with_target_charset.
13680 (test_print_strings): Likewise.
13681 (test_repeat_bytes): Likewise.
13682 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
13685 2014-04-16 Keith Seitz <keiths@redhat.com>
13688 * gdb.dwarf2/corrupt.c: New file.
13689 * gdb.dwarf2/corrupt.exp: New file.
13691 2014-04-16 Keith Seitz <keiths@redhat.com>
13694 * gdb.cp/namelessclass.cc: New file.
13695 * gdb.cp/namelessclass.exp: New file.
13696 * gdb.cp/namelessclass.S: New file.
13698 2014-04-16 Doug Evans <dje@google.com>
13700 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
13702 (gdbserver_default_get_comm_port): New function.
13703 (gdbserver_start): Check if board file provided
13704 "gdbserver,get_comm_port" and use it if so.
13705 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
13706 (gdb,socketport): Set to "stdio".
13707 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
13708 (stdio_gdbserver_template): Delete.
13709 (${board}_get_remote_address): Update.
13710 (${board}_build_remote_cmd): Delete.
13711 (${board}_get_comm_port): New function.
13712 (${board}_spawn): Update.
13713 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
13715 (${board}_get_remote_address): Update.
13716 (${board}_get_comm_port): New function.
13718 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
13720 * gdb.base/memattr.exp: Improve regexps to handle memory regions
13721 appearing in any order.
13723 2014-04-15 Doug Evans <dje@google.com>
13725 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
13726 uninitialized value of "description".
13728 2014-04-15 Keith Seitz <keiths@redhat.com>
13730 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
13731 Remove unused globals.
13732 (test_running_the_program): Likewise.
13733 (test_controlled_execution): Likewise.
13734 (test_controlling_breakpoints): Likewise.
13735 (test_program_termination): Likewise.
13737 2014-04-15 Keith Seitz <keiths@redhat.com>
13739 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
13741 (test_rbreak_creation_and_listing): Likewise.
13742 (test_ignore_count): Likewise.
13743 (test_error): Likewise.
13745 2014-04-15 Pedro Alves <palves@redhat.com>
13747 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
13748 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
13750 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
13751 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
13752 to sym-file-loader.c.
13753 (struct library): Forward declare.
13754 (load_shlib, lookup_function): Change prototypes.
13755 (find_shstrtab, find_strtab, find_shdr, find_symtab)
13756 (translate_offset): Remove declarations.
13757 (get_text_addr): New declaration.
13758 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
13759 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
13761 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
13762 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
13763 here from sym-file-loader.h.
13764 (struct library): New structure.
13765 (load_shlib, lookup_function): Change prototypes and adjust to
13766 work with a struct library.
13767 (find_shstrtab, find_strtab, find_shdr, find_symtab)
13768 (translate_offset): Make static.
13769 (get_text_addr): New function.
13770 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
13772 2014-04-15 Pedro Alves <palves@redhat.com>
13774 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
13776 2014-04-15 Pedro Alves <palves@redhat.com>
13778 * gdb.base/sym-file-loader.c: Include <limits.h>.
13779 (SELF_LINK): New define.
13780 (get_origin): New function.
13781 (load_shlib): Use it.
13782 * gdb.base/sym-file.exp: Don't early return if the target is
13783 remote. Use runto_main, and issue fail is that fails. Use
13785 (shlib_name): Delete.
13786 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
13788 2014-04-15 Pedro Alves <palves@redhat.com>
13790 * gdb.base/sym-file.exp: Remove regex characters from test
13791 message. Don't refer to breakpoint numbers in test messages.
13793 2014-04-14 Keith Seitz <keiths@redhat.com>
13796 * gdb.cp/var-tag.cc: New file.
13797 * gdb.cp/var-tag.exp: New file.
13798 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
13799 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
13800 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
13801 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
13803 2014-04-14 Tom Tromey <tromey@redhat.com>
13805 * gdb.cp/classes.exp (test_enums): Handle underlying type.
13806 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
13808 * gdb.cp/enum-class.exp: New file.
13809 * gdb.cp/enum-class.cc: New file.
13811 2014-04-14 Tom Tromey <tromey@redhat.com>
13813 * gdb.dwarf2/enum-type.exp: New file.
13815 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13817 * gdb.mi/mi-vla-c99.exp: New file.
13818 * gdb.mi/vla.c: New file.
13820 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13822 * gdb.base/vla-datatypes.c: New file.
13823 * gdb.base/vla-datatypes.exp: New file.
13825 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13827 * gdb.base/vla-ptr.c: New file.
13828 * gdb.base/vla-ptr.exp: New file.
13830 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13832 * gdb.dwarf2/count.exp: New file.
13834 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13836 * gdb.base/vla-sideeffect.c: New file.
13837 * gdb.base/vla-sideeffect.exp: New file.
13839 2014-04-14 David Blaikie <dblaikie@gmail.com>
13841 * gdb.mi/non-stop.c: Add return value for non-void function return
13843 * gdb.threads/staticthreads.c: Ditto.
13845 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
13846 Doug Evans <xdje42@gmail.com>
13848 * gdb.guile/scm-value.c: Improve test case.
13849 * gdb.guile/scm-value.exp: Add new test.
13851 2014-04-11 David Blaikie <dblaikie@gmail.com>
13853 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
13854 override Clang's default.
13856 2014-04-11 Joel Brobecker <brobecker@adacore.com>
13858 Revert the following changes (regressions):
13860 * gdb.base/vla-sideeffect.c: New file.
13861 * gdb.base/vla-sideeffect.exp: New file.
13863 * gdb.dwarf2/count.exp: New file.
13865 * gdb.base/vla-multi.c: New file.
13866 * gdb.base/vla-multi.exp: New file.
13868 * gdb.base/vla-ptr.c: New file.
13869 * gdb.base/vla-ptr.exp: New file.
13871 * gdb.base/vla-datatypes.c: New file.
13872 * gdb.base/vla-datatypes.exp: New file.
13874 * gdb.mi/mi-vla-c99.exp: New file.
13875 * gdb.mi/vla.c: New file.
13877 2014-04-11 Keith Seitz <keiths@redhat.com>
13880 * gdb.cp/cpsizeof.exp: New file.
13881 * gdb.cp/cpsizeof.cc: New file.
13883 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13885 * gdb.mi/mi-vla-c99.exp: New file.
13886 * gdb.mi/vla.c: New file.
13888 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13890 * gdb.base/vla-datatypes.c: New file.
13891 * gdb.base/vla-datatypes.exp: New file.
13893 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13895 * gdb.base/vla-ptr.c: New file.
13896 * gdb.base/vla-ptr.exp: New file.
13898 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13900 * gdb.base/vla-multi.c: New file.
13901 * gdb.base/vla-multi.exp: New file.
13903 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13905 * gdb.dwarf2/count.exp: New file.
13907 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13909 * gdb.base/vla-sideeffect.c: New file.
13910 * gdb.base/vla-sideeffect.exp: New file.
13912 2014-04-11 Yao Qi <yao@codesourcery.com>
13914 * gdb.base/completion.exp: Check file exists before running tests
13915 on file completion.
13917 2014-04-10 Pedro Alves <palves@redhat.com>
13919 * gdb.base/cond-eval-mode.c: New file.
13920 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
13921 prepare_for_testing to build the new file. Check result of
13923 (test_break, test_watch): New procedures.
13924 (top level): Use them.
13926 2014-04-08 Pierre Muller <muller@sourceware.org>
13928 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
13929 Ctrl-V use for mingw hosts.
13931 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
13933 * gdb.python/py-value.c: Improve test case.
13934 * gdb.python/py-value.exp: Add new test.
13936 2014-04-07 David Blaikie <dblaikie@gmail.com>
13938 * lib/compiler.c: Identify the clang compiler.
13939 * lib/compiler.cc: Ditto.
13941 2014-04-03 Yao Qi <yao@codesourcery.com>
13943 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
13945 2014-04-01 Anton Blanchard <anton@samba.org>
13947 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
13950 2014-04-01 Anton Blanchard <anton@samba.org>
13952 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
13953 prepare_for_testing.
13955 2014-04-01 Anton Blanchard <anton@samba.org>
13957 * gdb.arch/ppc64-atomic-inst.c: Remove.
13958 * gdb.arch/ppc64-atomic-inst.S: New file.
13959 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
13961 2014-03-31 Doug Evans <dje@google.com>
13963 * gdb.base/print-symbol-loading-lib.c: New file.
13964 * gdb.base/print-symbol-loading-main.c: New file.
13965 * gdb.base/print-symbol-loading.exp: New file.
13967 2014-03-31 Yao Qi <yao@codesourcery.com>
13969 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
13971 2014-03-28 Joel Brobecker <brobecker@adacore.com>
13973 * gdb.ada/mi_dyn_arr: New testcase.
13975 2014-03-27 Doug Evans <dje@google.com>
13977 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
13979 2014-03-27 Yao Qi <yao@codesourcery.com>
13981 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
13982 if target is nios2-*-*.
13984 2014-03-26 Yao Qi <yao@codesourcery.com>
13986 * lib/gdb.exp (readline_is_used): New proc.
13987 * gdb.base/completion.exp: Move tests on command complete up.
13988 Skip the rest of tests if readline is not used.
13989 * gdb.ada/complete.exp: Skp the test if readline is not
13991 * gdb.base/filesym.exp: Likewise.
13992 * gdb.base/macscp.exp: Likewise.
13993 * gdb.base/readline-ask.exp: Likewise.
13994 * gdb.base/readline.exp: Likewise.
13995 * gdb.python/py-cmd.exp: Likewise.
13996 * gdb.trace/tfile.exp: Likewise.
13998 2014-03-26 Yao Qi <yao@codesourcery.com>
14000 * gdb.base/macscp.exp: Fix code format issues.
14002 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
14004 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
14005 * gdb.asm/powerpc64le.inc: New file.
14007 2014-03-25 Pedro Alves <palves@redhat.com>
14008 Doug Evans <dje@google.com>
14010 * gdb.base/source-execution.c: New file.
14011 * gdb.base/source-execution.exp: New file.
14012 * gdb.base/source-execution.gdb: New file.
14014 2014-03-24 Doug Evans <dje@google.com>
14016 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
14019 2014-03-24 Hui Zhu <hui@codesourcery.com>
14020 Pedro Alves <palves@redhat.com>
14022 PR breakpoints/16101
14023 * gdb.base/dprintf.exp: Use unsupported rather than changing the
14024 test pass/fail messages. Detect missing support for dprintf when
14025 breakpoints are actually inserted.
14026 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
14027 breakpoints are actually inserted.
14028 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
14031 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14033 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
14035 2014-03-22 Doug Evans <xdje42@gmail.com>
14037 * gdb.python/python.exp (python not supported): Verify multi-line
14038 python command issues an error.
14039 * gdb.guile/guile.exp (guile not supported): Verify multi-line
14040 guile command issues an error.
14042 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
14044 * gdb.threads/thread-specific.exp: Handle the lack of usable
14045 $this_breakpoint and $this_thread.
14047 2014-03-21 Hui Zhu <hui@codesourcery.com>
14049 * gdb.base/attach.exp (do_command_attach_tests): New.
14051 2014-03-20 Tom Tromey <tromey@redhat.com>
14052 Pedro Alves <palves@redhat.com>
14055 * gdb.base/condbreak-call-false.c: New file.
14056 * gdb.base/condbreak-call-false.exp: New file.
14058 2014-03-20 Pedro Alves <palves@redhat.com>
14060 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
14062 (block_signals, unblock_signals): Delete.
14063 (child_function_2, main): Remove references to deleted variable
14066 2014-03-20 Pedro Alves <palves@redhat.com>
14068 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
14069 Use pthread_kill to signal thread 2.
14070 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14071 Adjust to make the test send itself a signal rather than using the
14072 host's "kill" command.
14074 2014-03-20 Pedro Alves <palves@redhat.com>
14076 * gdb.threads/multiple-step-overs.c: New file.
14077 * gdb.threads/multiple-step-overs.exp: New file.
14078 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14079 Adjust expected infrun debug output.
14081 2014-03-20 Pedro Alves <palves@redhat.com>
14083 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
14084 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
14086 2014-03-20 Pedro Alves <palves@redhat.com>
14088 PR breakpoints/7143
14089 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
14090 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
14091 of gdb_test_multiple.
14092 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
14093 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
14095 2014-03-20 Pedro Alves <palves@redhat.com>
14097 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
14098 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
14100 2014-03-19 Pedro Alves <palves@redhat.com>
14102 * gdb.base/async.exp: Remove early return.
14104 2014-03-19 Pedro Alves <palves@redhat.com>
14106 * gdb.base/async.exp (step& tests): Pass explicit test messages.
14108 2014-03-19 Pedro Alves <palves@redhat.com>
14110 * gdb.base/async.exp (test_background): Expect \r\n after
14111 "completed." in the fail pattern.
14113 2014-03-19 Pedro Alves <palves@redhat.com>
14115 * gdb.base/async.exp (test_background): New procedure.
14116 Use it for all background execution command tests.
14118 2014-03-19 Pedro Alves <palves@redhat.com>
14120 * gdb.base/async.exp: Use prepare_for_testing.
14122 2014-03-19 Pedro Alves <palves@redhat.com>
14124 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
14127 2014-03-19 Pedro Alves <palves@redhat.com>
14129 * gdb.base/async.c (main): Add "jump here" and "until here" line
14131 * gdb.base/async.exp (jump_here): New global.
14132 (jump& test): Use it.
14133 (until_here): New global.
14134 (until& test): Use it.
14136 2014-03-19 Pedro Alves <palves@redhat.com>
14138 * gdb.base/async.exp: Don't frob gdb_protocol.
14140 2014-03-18 Doug Evans <xdje42@gmail.com>
14142 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
14143 Fix spelling of exec-done-display.
14145 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
14148 * gdb.base/gdb-sigterm.c: New file.
14149 * gdb.base/gdb-sigterm.exp: New file.
14151 2014-03-18 Pedro Alves <palves@redhat.com>
14154 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
14155 * lib/mi-support.exp (mi_expect_stop): Add special handling for
14158 2014-03-17 Joel Brobecker <brobecker@adacore.com>
14160 * gdb.ada/pckd_arr_ren: New testcase.
14162 2014-03-13 Doug Evans <xdje42@gmail.com>
14165 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
14166 collect after discarding symbols.
14168 2014-03-13 Ludovic Courtès <ludo@gnu.org>
14169 Doug Evans <xdje42@gmail.com>
14171 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
14172 to history survives a gc.
14174 2014-03-13 Pedro Alves <palves@redhat.com>
14176 * gdb.base/default.exp: Don't test "target procfs".
14178 2014-03-13 Pedro Alves <palves@redhat.com>
14180 * gdb.base/default.exp: Update "target child" and "target procfs"
14181 tests to not expect "Unix".
14183 2014-03-12 Tom Tromey <tromey@redhat.com>
14185 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
14186 New procs. Add target-async tests.
14187 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
14188 Add target-async tests.
14190 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14192 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
14193 'func_start' and 'func_end' for the beginning and end of the
14194 function code, respectively.
14195 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
14196 'func_end' instead of 'func' and 'main'.
14198 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14200 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
14201 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
14202 generate the debug info assembler source.
14204 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14206 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
14207 * gdb.dwarf2/arr-subrange.exp: Likewise.
14208 * gdb.dwarf2/dwz.exp: Likewise.
14209 * gdb.dwarf2/method-ptr.exp: Likewise.
14210 * gdb.dwarf2/missing-sig-type.exp: Likewise.
14211 * gdb.dwarf2/subrange.exp: Likewise.
14212 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
14213 * gdb.dwarf2/implptrpiece.exp: Likewise.
14214 * gdb.dwarf2/nostaticblock.exp: Likewise.
14216 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14218 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
14219 directory to absolute path name arguments.
14221 2014-03-10 Joel Brobecker <brobecker@adacore.com>
14223 * gdb.ada/tagged_access: New testcase.
14225 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
14227 * gdb.btrace/data.exp: Update expected output.
14229 2014-03-06 Yao Qi <yao@codesourcery.com>
14231 * gdb.trace/pr16508.exp: New file.
14233 2014-03-05 Pedro Alves <palves@redhat.com>
14236 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
14238 (top level): Adjust to use it. Add tests that exercise breakpoint
14239 interaction with the code-cache.
14241 2014-02-26 Ludovic Courtès <ludo@gnu.org>
14243 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
14244 test for 'history-append!'.
14246 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14248 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
14249 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
14250 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
14251 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
14252 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
14253 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
14255 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14257 * testsuite/gdb.python/py-pp-re-notag.c: New file.
14258 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
14259 * testsuite/gdb.python/py-pp-re-notag.p: New file.
14261 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14263 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
14265 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14267 * gdb.dwarf2/arr-stride.c: New file.
14268 * gdb.dwarf2/arr-stride.exp: New file.
14270 2014-02-26 Pedro Alves <palves@redhat.com>
14272 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
14273 that won't ever trigger. Make sure that GDB reports the correct
14274 breakpoint that caused the stop.
14276 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14279 * gdb.base/auto-load-script: New file.
14280 * gdb.base/auto-load.c: New file.
14281 * gdb.base/auto-load.exp: New file.
14284 * gdb.base/auto-load.exp: Fix out-of-srctree run.
14286 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14288 Fix dw2-icycle.exp -fsanitize=address GDB crash.
14289 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
14291 2014-02-24 Doug Evans <dje@google.com>
14293 * lib/gdb.exp (run_on_host): Log error output if program fails.
14295 2014-02-21 Pedro Alves <palves@redhat.com>
14297 * gdb.threads/step-after-sr-lock.c: Rename to ...
14298 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
14299 * gdb.threads/step-after-sr-lock.exp: Rename to ...
14300 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14303 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
14306 * gdb.arch/amd64-stap-special-operands.exp: New file.
14307 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
14308 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
14309 * gdb.arch/amd64-stap-triplet.S: Likewise.
14310 * gdb.arch/amd64-stap-triplet.c: Likewise.
14312 2014-02-20 Joel Brobecker <brobecker@adacore.com>
14314 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
14315 in .section pseudo-op.
14317 2014-02-20 lin zuojian <manjian2006@gmail.com>
14318 Joel Brobecker <brobecker@adacore.com>
14319 Doug Evans <xdje42@gmail.com>
14322 * gdb.dwarf2/dw2-icycle.S: New file.
14323 * gdb.dwarf2/dw2-icycle.c: New file.
14324 * gdb.dwarf2/dw2-icycle.exp: New file.
14326 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
14328 * gdb.python/py-value-cc.cc: Improve test case to enable testing
14329 operations on gdb.Value objects.
14330 * gdb.python/py-value-cc.exp: Add new test to test operations on
14333 2014-02-18 Doug Evans <dje@google.com>
14335 * Makefile.in (TESTS): New variable.
14336 (expanded_tests, expanded_tests_or_none): New variables
14337 (check-single): Pass $(expanded_tests_or_none) to runtest.
14338 (check-parallel): Only run tests in $(TESTS) if non-empty.
14339 (check/no-matching-tests-found): New rule.
14340 * README: Document TESTS makefile variable.
14342 2014-02-18 Doug Evans <dje@google.com>
14344 * Makefile.in (check-parallel): rm -rf outputs temp.
14346 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14348 Fix "ERROR: no fileid for" in the testsuite.
14349 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
14351 2014-02-12 Doug Evans <dje@google.com>
14353 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
14354 (MISCELLANEOUS): New variable.
14355 (clean): rm -rf $(MISCELLANEOUS).
14356 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
14357 dwp live in the same directory as symlinks, with each symlink pointed
14358 to a differently named file in a different directory.
14360 2014-02-11 Doug Evans <dje@google.com>
14362 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
14363 of Tcl file commands.
14365 2014-02-10 Mark Kettenis <kettenis@gnu.org>
14367 * gdb.threads/step-after-sr-lock.exp: Avoid executing
14368 "kill -SIGUSR1 -1".
14370 2014-02-10 Joel Brobecker <brobecker@adacore.com>
14372 * gdb.ada/tick_length_array_enum_idx: New testcase.
14374 2014-02-10 Doug Evans <xdje42@gmail.com>
14376 * configure.ac (AC_OUTPUT): Add gdb.guile.
14377 * configure: Regenerate.
14378 * lib/gdb-guile.exp: New file.
14379 * lib/gdb.exp (get_target_charset): New function.
14380 * gdb.base/help.exp: Update expected output from "apropos apropos".
14381 * gdb.guile/Makefile.in: New file.
14382 * gdb.guile/guile.exp: New file.
14383 * gdb.guile/scm-arch.c: New file.
14384 * gdb.guile/scm-arch.exp: New file.
14385 * gdb.guile/scm-block.c: New file.
14386 * gdb.guile/scm-block.exp: New file.
14387 * gdb.guile/scm-breakpoint.c: New file.
14388 * gdb.guile/scm-breakpoint.exp: New file.
14389 * gdb.guile/scm-disasm.c: New file.
14390 * gdb.guile/scm-disasm.exp: New file.
14391 * gdb.guile/scm-equal.c: New file.
14392 * gdb.guile/scm-equal.exp: New file.
14393 * gdb.guile/scm-error.exp: New file.
14394 * gdb.guile/scm-error.scm: New file.
14395 * gdb.guile/scm-frame-args.c: New file.
14396 * gdb.guile/scm-frame-args.exp: New file.
14397 * gdb.guile/scm-frame-args.scm: New file.
14398 * gdb.guile/scm-frame-inline.c: New file.
14399 * gdb.guile/scm-frame-inline.exp: New file.
14400 * gdb.guile/scm-frame.c: New file.
14401 * gdb.guile/scm-frame.exp: New file.
14402 * gdb.guile/scm-generics.exp: New file.
14403 * gdb.guile/scm-gsmob.exp: New file.
14404 * gdb.guile/scm-iterator.c: New file.
14405 * gdb.guile/scm-iterator.exp: New file.
14406 * gdb.guile/scm-math.c: New file.
14407 * gdb.guile/scm-math.exp: New file.
14408 * gdb.guile/scm-objfile-script-gdb.in: New file.
14409 * gdb.guile/scm-objfile-script.c: New file.
14410 * gdb.guile/scm-objfile-script.exp: New file.
14411 * gdb.guile/scm-objfile.c: New file.
14412 * gdb.guile/scm-objfile.exp: New file.
14413 * gdb.guile/scm-ports.exp: New file.
14414 * gdb.guile/scm-pretty-print.c: New file.
14415 * gdb.guile/scm-pretty-print.exp: New file.
14416 * gdb.guile/scm-pretty-print.scm: New file.
14417 * gdb.guile/scm-section-script.c: New file.
14418 * gdb.guile/scm-section-script.exp: New file.
14419 * gdb.guile/scm-section-script.scm: New file.
14420 * gdb.guile/scm-symbol.c: New file.
14421 * gdb.guile/scm-symbol.exp: New file.
14422 * gdb.guile/scm-symtab-2.c: New file.
14423 * gdb.guile/scm-symtab.c: New file.
14424 * gdb.guile/scm-symtab.exp: New file.
14425 * gdb.guile/scm-type.c: New file.
14426 * gdb.guile/scm-type.exp: New file.
14427 * gdb.guile/scm-value-cc.cc: New file.
14428 * gdb.guile/scm-value-cc.exp: New file.
14429 * gdb.guile/scm-value.c: New file.
14430 * gdb.guile/scm-value.exp: New file.
14431 * gdb.guile/source2.scm: New file.
14432 * gdb.guile/types-module.cc: New file.
14433 * gdb.guile/types-module.exp: New file.
14435 2014-02-10 Yao Qi <yao@codesourcery.com>
14438 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
14439 * configure: Regenerated.
14440 * Makefile.in: New file.
14442 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
14444 * gdb.python/py-framefilter.exp: Fix typo.
14446 2014-02-08 Yao Qi <yao@codesourcery.com>
14448 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
14449 that no =breakpoint-modified is emitted when breakpoints are
14450 modified through MI commands.
14452 2014-02-07 Pedro Alves <pedro@codesourcery.com>
14453 Pedro Alves <palves@redhat.com>
14455 * gdb.threads/step-after-sr-lock.c: New file.
14456 * gdb.threads/step-after-sr-lock.exp: New file.
14458 2014-02-07 Pedro Alves <palves@redhat.com>
14460 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
14462 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
14464 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
14465 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
14467 2014-02-06 Doug Evans <xdje42@gmail.com>
14469 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
14472 * gdb.gdb/python-interrupts.exp: New file.
14474 2014-02-05 Yao Qi <yao@codesourcery.com>
14476 * gdb.trace/report.exp (use_collected_data): Test the output
14477 of "info threads" and "info inferiors".
14479 2014-02-05 Yao Qi <yao@codesourcery.com>
14483 2013-05-24 Yao Qi <yao@codesourcery.com>
14485 * gdb.trace/tfile.exp: Test inferior and thread.
14487 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14489 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
14491 * gdb.base/step-bt.c: Call hello via function pointer to make
14492 sure its first instruction is executed on powerpc64le-linux.
14494 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14496 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
14498 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14500 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
14501 of the test patterns for use on little-endian systems.
14503 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14505 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
14506 (decimal_vector): Fix for little-endian.
14508 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
14510 * gdb.arch/sparc-sysstep.exp: New file.
14511 * gdb.arch/sparc-sysstep.c: Likewise.
14513 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
14515 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14517 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
14519 2014-01-23 Tom Tromey <tromey@redhat.com>
14521 * gdb.ada/array_char_idx: New testcase.
14523 2014-01-23 Tom Tromey <tromey@redhat.com>
14526 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
14527 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
14530 2014-01-23 Tom Tromey <tromey@redhat.com>
14533 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
14534 string from an inferior frame.
14535 * gdb.python/py-framefilter-mi.exp: Update.
14537 2014-01-22 Doug Evans <dje@google.com>
14539 * gdb.server/server-mon.exp: Add tests for "set debug-format".
14541 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14543 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
14545 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14547 * gdb.trace/entry-values.exp: Remove excess space character from
14548 regex patterns. Handle s390 call instruction.
14550 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14552 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
14553 define "*_start" label. Make "name" static.
14554 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
14555 ${name} by references to ${name}_start.
14557 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14559 * gdb.base/info-macros.exp: Remove "debug" from the compile
14562 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14564 * gdb.dlang/demangle.exp: New file.
14566 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14568 * gdb.dlang/primitive-types.exp: New file.
14570 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14572 * configure.ac: Create gdb.dlang/Makefile.
14573 * configure: Regenerate.
14574 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
14575 * gdb.dlang/Makefile.in: New file.
14576 * lib/d-support.exp: New file.
14577 * lib/gdb.exp (skip_d_tests): New proc.
14579 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14581 * gdb.btrace/delta.exp: Check reverse stepi.
14582 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
14583 * gdb.btrace/finish.exp: New.
14584 * gdb.btrace/next.exp: New.
14585 * gdb.btrace/nexti.exp: New.
14586 * gdb.btrace/record_goto.c: Add comments.
14587 * gdb.btrace/step.exp: New.
14588 * gdb.btrace/stepi.exp: New.
14589 * gdb.btrace/multi-thread-step.c: New.
14590 * gdb.btrace/multi-thread-step.exp: New.
14591 * gdb.btrace/rn-dl-bind.c: New.
14592 * gdb.btrace/rn-dl-bind.exp: New.
14593 * gdb.btrace/data.c: New.
14594 * gdb.btrace/data.exp: New.
14595 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
14597 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14599 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
14600 * gdb.btrace/exception.exp: Update.
14601 * gdb.btrace/instruction_history.exp: Update.
14602 * gdb.btrace/record_goto.exp: Update.
14603 * gdb.btrace/tailcall.exp: Update.
14604 * gdb.btrace/unknown_functions.exp: Update.
14605 * gdb.btrace/delta.exp: New.
14607 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14609 * gdb.btrace/record_goto.exp: Add backtrace test.
14610 * gdb.btrace/tailcall.exp: Add backtrace test.
14612 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14614 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
14615 * gdb.btrace/record_goto.c: New.
14616 * gdb.btrace/record_goto.exp: New.
14617 * gdb.btrace/x86-record_goto.S: New.
14619 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14621 * gdb.btrace/function_call_history.exp: Update tests.
14622 * gdb.btrace/instruction_history.exp: Update tests.
14624 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14626 * gdb.btrace/function_call_history.exp: Fix expected field
14627 order for "record function-call-history".
14628 Add new tests for "record function-call-history /c".
14629 * gdb.btrace/exception.cc: New.
14630 * gdb.btrace/exception.exp: New.
14631 * gdb.btrace/tailcall.exp: New.
14632 * gdb.btrace/x86-tailcall.S: New.
14633 * gdb.btrace/x86-tailcall.c: New.
14634 * gdb.btrace/unknown_functions.c: New.
14635 * gdb.btrace/unknown_functions.exp: New.
14636 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
14638 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14640 * gdb.btrace/instruction_history.exp: Update.
14641 * gdb.btrace/function_call_history.exp: Update.
14643 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14645 * gdb.btrace/function_call_history.exp: Fix expected function
14647 * gdb.btrace/instruction_history.exp: Initialize traced.
14648 Remove traced_functions.
14650 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14652 * gdb.btrace/function_call_history.exp: Update
14653 * gdb.btrace/instruction_history.exp: Update.
14655 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14657 * gdb.btrace/enable.exp: Update expected text.
14659 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
14661 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
14664 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
14666 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
14668 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
14670 * lib/gdb.exp (supports_process_record): Return true for
14671 arm*-linux*. (supports_reverse): Likewise.
14673 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
14677 * gdb.python/py-type.c: Enhance test case.
14678 * gdb.python/py-value-cc.cc: Likewise
14679 * gdb.python/py-type.exp: Add new tests.
14680 * gdb.python/py-value-cc.exp: Likewise
14682 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
14683 Pedro Alves <palves@redhat.com>
14685 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
14686 Make "name" extern.
14687 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
14688 references to ${name}_start by references to ${name}.
14690 2014-01-10 Joel Brobecker <brobecker@adacore.com>
14692 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
14694 2014-01-10 Joel Brobecker <brobecker@adacore.com>
14696 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
14698 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
14699 Pedro Alves <palves@redhat.com>
14701 * gdb.mi/mi-info-os.exp: Connect to the target with
14702 mi_gdb_target_load.
14704 2014-01-08 Pedro Alves <palves@redhat.com>
14706 * gdb.threads/reconnect-signal.c: New file.
14707 * gdb.threads/reconnect-signal.exp: New file.
14709 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14711 * gdb.base/source-dir.exp: New file.
14713 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14715 * gdb.ada/mi_interface: New testcase.
14717 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14719 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
14720 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
14721 gdb.ada/pp-rec-component/pck.ads: New files.
14723 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14725 * gdb.python/py-pp-integral.c: New file.
14726 * gdb.python/py-pp-integral.py: New file.
14727 * gdb.python/py-pp-integral.exp: New file.
14729 For older changes see ChangeLog-1993-2013.
14731 ;; Local Variables:
14732 ;; mode: change-log
14735 ;; version-control: never
14738 Copyright 2014-2018 Free Software Foundation, Inc.
14739 Copying and distribution of this file, with or without modification,
14740 are permitted provided the copyright notice and this notice are preserved.